@zeniai/web-cockpit-ui 1.15.21-qa → 1.15.22-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-D-0onfNp-E7lR7f-M.js → ACHDetailsPage-CZfTXGMr-CI17UjpU.js} +1 -1
- package/dist/assets/{AIPerformancePage-BtDm0Ze4-DI8MiByN.js → AIPerformancePage-CpfWdGaC-ATsa9xZL.js} +12 -12
- package/dist/assets/AccountInfoPage-BUVWxmzs-DGCzo4Ay.js +18 -0
- package/dist/assets/{AccountInfoPageContent-DO-wTXIZ-DQS9MELG.js → AccountInfoPageContent-CYZIBmtA-BtadN1-Z.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-BQyFAsoa-pQ3h0lXW.js → AccountLockedInfoModal-BFBjEOzC-D3uFLbPe.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-DQ9qT2fa-C1bnZFHI.js → AccountReconDetailsDrawerPage-DSFCBgAM-DDHgP1in.js} +1 -1
- package/dist/assets/{AccountRow-CGDnBStW-B42Txz2t.js → AccountRow-Gn7g3D_F-BNs1BGkk.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-D8FXXEQ--rM_RHfIq.js → AccountsPromoCardStack-DOMli4-L-Bxo_NE7N.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-CaymaAix-u96N6Qzo.js → AddAddressForCardDrawer-DlGL-3yf-IaM3cMnx.js} +1 -1
- package/dist/assets/{AddToWalletPage-CcHrKp-a-CBnjHYA6.js → AddToWalletPage-D-Z-ZVZn-CiDbNS_k.js} +1 -1
- package/dist/assets/{AgingReportsPage-Dxl6B22u-C2TlOeT0.js → AgingReportsPage-CdqPmA60-Cyut0UFq.js} +3 -3
- package/dist/assets/{AllUserItems-CCPAoEp2-BwqbSPl8.js → AllUserItems-DWLkEF2p-CkywmjZG.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-CdSbgXOq-D-U_GVCX.js → ApAgingDetailPage-CdtqprUm-6vrQOn-k.js} +2 -2
- package/dist/assets/{AppBasePage-B9nTsGKZ-CrNS-zmq.js → AppBasePage-CPdKfb57-DawJWk5R.js} +1 -1
- package/dist/assets/{AppDrawerContent-BgfMutin-DfAGwR7f.js → AppDrawerContent-DCMK2lRO-Df7Fnkyq.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-BDXTo6IN-CRoruZi4.js → ApprovalRulesSettingsPage-C8P04Y3s-D25-twBi.js} +1 -1
- package/dist/assets/{ArAgingChart-Rzj2ENYe-CLA_ht_2.js → ArAgingChart-DOYvVptv-BswXO8kR.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-qk_f2Lby-BpK_Gv9z.js → ArAgingDetailPage-BCaRO749-DbTi7cK7.js} +1 -1
- package/dist/assets/{AttachmentView-NA4ajEO5-DR9_uEKC.js → AttachmentView-CnfHYBMC-DIj7ahn3.js} +1 -1
- package/dist/assets/{BankAccountSection-BBDMIckQ-VD7MNHHN.js → BankAccountSection-P9w-MOrg-BTlhn7ds.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-BkcjTRzD-DIfRT-Zr.js → BankAccountWarningSection-BDEZ6LKQ-11XJ9ttg.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-SAXICBPz-CTcrBBh3.js → BankConnectionsSettingsPage-dE7WxsGo-D0HTjyVI.js} +1 -1
- package/dist/assets/{BillDetailPage-DwmlUFiU-DTaT5FvO.js → BillDetailPage-CAbohg1r-CBI7qhIO.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-CQwCAZ6I-B-iJVX52.js → BillPayApprovalRuleDetailPage-CKr-k2kC-DyOtlRI5.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-D-LIGLjH-ColnAiYN.js → BillPayApprovalRulesPage-wy4fIDHo-MumDIXCw.js} +1 -1
- package/dist/assets/{BillPayPromoPage-DI-WqAOW-BHwkD-r9.js → BillPayPromoPage-CbXq0YNV-rXFaEpJE.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-Boyxam-q-Bmy-MqMk.js → BillPaySetUpPage-CwP6Aw2I-D-V51AjE.js} +6 -6
- package/dist/assets/{BillingSettingsPage-toTRmFUP-C1oUXIlM.js → BillingSettingsPage-Bqj_AXGq-1_mFR23j.js} +2 -2
- package/dist/assets/{BillsBulkReviewDrawerPage-BD-XMVaP-BF31YK-4.js → BillsBulkReviewDrawerPage-QsGKIhW0-BUE3drgk.js} +1 -1
- package/dist/assets/{BoxItem-DptPNfuL-Bp-R8iE1.js → BoxItem-CgrlwejJ-DRtcS1-S.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Bw7LFK-C-CatwF8k7.js → BusinessVerificationPage-G8uzN4Ws-BKiOttKK.js} +1 -1
- package/dist/assets/{CardNumberSubText-DBFaTSBz-DdN0VEfE.js → CardNumberSubText-DPlqciQh-CtVSDBTQ.js} +1 -1
- package/dist/assets/{CashbackDetailPage-jyi25yaY-wBe9KKSY.js → CashbackDetailPage-DvxlixOz-BI7zB5eW.js} +8 -8
- package/dist/assets/{ChargeCardDetailPage-Be6-Tdta-DbmxNVaK.js → ChargeCardDetailPage-BwsPpOzj-DPbKM4bn.js} +1 -1
- package/dist/assets/{ChargeCardListPage-DKA4Mryr-Tv6Oh9JD.js → ChargeCardListPage-BKu9-MWp-COSqzM0c.js} +1 -1
- package/dist/assets/{ChargeCardListTable-BmnTn4MG-Dav0vid1.js → ChargeCardListTable-BkAggUNy-BT3mst3U.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-DVRPShso-B2hTKQlQ.js → ChargeCardPaymentHistoryPage-BddAvqUm-DbucxoY-.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-ZCAv99Ei-SzC7HmHH.js → ChargeCardPromoPage-B4yj7KP9-DKwL8yRO.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-BwXrEbVo-D0-PM_4r.js → ChargeCardSetupPage-B3vasCMt-Dv7zO5cm.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-BK-hozIV-Di1HiZJS.js → ChargeCardStatementsPage-BOscGNXN-Mh_DnEuP.js} +4 -4
- package/dist/assets/{CheckDepositDrawerPage-CYkFe1ox-BBkmTZH1.js → CheckDepositDrawerPage-BEEyhU4L-JcTBCzRd.js} +1 -1
- package/dist/assets/{CollapsableReportTable-DlC0m5Gq-CeTT9Oev.js → CollapsableReportTable-BpZbn8JV-DFNPaWFK.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-DzPudfa8-DqN4Vwn3.js → CompanyOfficerDetailsSection-1BDesjjs-BJgYaGxB.js} +1 -1
- package/dist/assets/{CompanyPassportCard-B5jodI1Z-D2ZoNhMd.js → CompanyPassportCard-DnpS3cSu-DXhbgL7c.js} +2 -2
- package/dist/assets/{CompanyPassportPage-DJOJ3jDw-DK6xYjDB.js → CompanyPassportPage-DPNROicI-D1huJKnB.js} +15 -15
- package/dist/assets/{CompleteProfile-CfNuOYX6-Cnkx2a1E.js → CompleteProfile-E7yJ6AqT-DXZcKzk-.js} +2 -2
- package/dist/assets/{ConfettiBurst-BYI1XUQL-y1mB27QR.js → ConfettiBurst-BUf7AIFk-Da6kYSI2.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-CkDCKkyG.js → ConstrainedInnerElement-BeIpAPjB-CyBR7YJz.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-DuoU2sV0-BYrMQo-X.js → CreateOrEditVendorPage-CqGWKAVs-g2Tpgbp0.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-Bea09r9U-BXHxog5h.js → CreditCardPaymentDrawerPage-CO7njZlm-DopqGCxN.js} +1 -1
- package/dist/assets/{CurrencySelectField-DSayEoor-D5Zrqkfd.js → CurrencySelectField-DxdAWtY0-B1TsXU1Q.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-DkXMThN5-BWHIsEbH.js → CustomerOnboardingActivationPage-CEaKVaVS-D9RnWmBa.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-ihPd9hEn-ClNt0TP3.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-C6CxRdPR-JZSfJi0e.js → CustomerOnboardingDetailPageSkeleton-Bk-UD_xZ-B_1TcJUF.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CXdw95hv-B9QWcDaR.js → CustomerOnboardingNoStepsPage-zMwJiFSO-_zZf3e5X.js} +2 -2
- package/dist/assets/{CustomerOnboardingPage-BfktNnfn-CICJ7qAu.js → CustomerOnboardingPage-D2g6ose5-qapuEieN.js} +1 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-BowJfyTX-CRJdoG-k.js +202 -0
- package/dist/assets/{Dashboard-DsmygPse-4AvmKTAA.js → Dashboard-46VwWQSI-DH2n0aDR.js} +1 -1
- package/dist/assets/{DashboardReportPage-CO50XhSN-RbrjTqPn.js → DashboardReportPage-BA6k3bPl-B1EwtUKw.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CgZd_J4a-18QmqdyA.js → DashboardSidebarBackgroundAnimation-Dh7RFAmH-0PN4dTJQ.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-CURckRWv-5cwb8lsm.js → DepositAccTransactionItem-Dql1IjYZ-DFOMn-wO.js} +1 -1
- package/dist/assets/DepositAccTransactionListPage-BjKtMY47-eMYJ1LE-.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-BOb4FGaY-DZtWI0el.js → DomesticWireDetailsPage-DeXdHoem-CGnMYsda.js} +1 -1
- package/dist/assets/{DownloadOverlay-DyTWX48F-D68jKMMy.js → DownloadOverlay-C9lm7jRS-Bq6Od7GL.js} +1 -1
- package/dist/assets/{DrawerPage-AI0YTdml-NepA-uxH.js → DrawerPage-DwjcM3hz-B-KESp3F.js} +1 -1
- package/dist/assets/{EditPeoplePage-Cid-kBGF-CpKiwXqn.js → EditPeoplePage-D-vaUQbG-DQbsI6rR.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-U-qCHgNL-D5fAJB1O.js → EditReimbursementDetailPage-BerHadSD-DaUKmLjy.js} +1 -1
- package/dist/assets/EntityDetailPage-B2Tmq0cV-uO9x-oKB.js +18 -0
- package/dist/assets/{EntitySummarySection-JKTCWCM--Fo1QOnQl.js → EntitySummarySection-BvXgw7DC-Bef0TZtp.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-CtzbDY1R-CvZoQj_h.js → ExpenseAutomationOverviewPage-ySXotmyY-CeFn1UnP.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-Dbl9svfW-BZfPW3Kh.js → ExpenseAutomationPage-CieCVy8t-BHePblcM.js} +146 -146
- package/dist/assets/{ExpressPayPage-SuuEp7gX-yOs90MaD.js → ExpressPayPage-BnUc-3ye-BHMM4ytE.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-BiTQ7ApT-C35Vrbsi.js → FeaturePreviewPage-rGKH26mO-Ak70PMDX.js} +1 -1
- package/dist/assets/{FollowStepsSection-DMG7Wn5E-CixCy-vJ.js → FollowStepsSection-Cul0Cxvm-BEhGMlUy.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-DgUd_tpR-DMgKrm59.js → GlobalReviewListPage-CC2ACTah-CxJ-n6WW.js} +1 -1
- package/dist/assets/{InformationCardStack-BBDImI5u-B_L0_IXg.js → InformationCardStack-geyzh82K-BsfqU0FK.js} +3 -3
- package/dist/assets/{InsightsCardStack-BXSLSXMd-CPaCCiOq.js → InsightsCardStack-DmEWXOXG-D8zQOXPe.js} +6 -6
- package/dist/assets/{InsightsSection-DtP4W8UU-ChHNdzk5.js → InsightsSection-Ldcdpf_t-BR1EacmB.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-BY1xz3JF-DAHsRrIc.js → IntegrationsSettingsPage-D8DA20vr-Dzz_dqHF.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-DyVP5Ofl-BzAe45Ug.js → InternationalWireSwiftDetailsPage-C0p3_QQy-C5e9qnYF.js} +4 -4
- package/dist/assets/{InternationalWireVerificationPage-Qlo7yzVk-B7n-K8yE.js → InternationalWireVerificationPage-mHew9ruS-BrqHukVH.js} +1 -1
- package/dist/assets/{InviteFormPage-C84N6Lc2-Crkyt_be.js → InviteFormPage-CH4FYGl4-C1vX7pcw.js} +1 -1
- package/dist/assets/{InvitePageListView-CMhXy-j--BSnEbl6q.js → InvitePageListView-C-RG9OiM-w5eanIdw.js} +1 -1
- package/dist/assets/{InvitePeoplePage-qpkCHm6B-BVfeEtTB.js → InvitePeoplePage-y0gl_wqg-CSxYUXEb.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-DkOhI_Bg-BK1kHmCF.js → InvoiceUploadSection-YQHXVR_6-Bb0-RXQg.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-BqzqCwAC-AtpStA7o.js → IssueChargeCardPage-CKhRoUiP-CTYHfQCp.js} +1 -1
- package/dist/assets/{LabeledAddressValue-DgMH266J-BOyhiAJ7.js → LabeledAddressValue-D_-0VDjZ-4h12iTBN.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BNDFFbl6-Bnl_fTov.js → LabeledAddressValueField-BNPvRvHU-EK3HrcNO.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-DqGuuG0x-C7gcXrVo.js → LabeledControlledCheckBoxField-CkG-jIW7-C2Hnry7S.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-Dd0jXJEG-DqCUD3tM.js → LabeledCreatableSingleSelectField-C1dHZ9ym-iC8YKpuW.js} +1 -1
- package/dist/assets/{LabeledDocumentField-soYO3Vkb-D4rfj9r9.js → LabeledDocumentField-ffpHZV4a-BUHqIKgG.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BXhlcMj3-DMyG_l10.js → LabeledDropDownFormattedTextField-QdvkGLEh-BRZgDq4Q.js} +1 -1
- package/dist/assets/{LabeledText-sPkKF2Ke-C6ruJ-3L.js → LabeledText-CQiPSE0v-By2EfM5F.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-oGpbhfZl-DLZXxYbx.js → LabeledUserSingleSelectWithSubtitlesField-CcmaUIGJ-pvqY6PVS.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-WBaP6NAK-DzjNxVxd.js → LabeledZeniRolesDropDownField-k0YihYN--DD97S2fG.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-DWe4hvFk-D8Dzt1mD.js → LinkJETransactionPage-DUaT91O5-Gq8lPCYr.js} +1 -1
- package/dist/assets/{LockCardPage-BFpvk55j-yA-a8X9D.js → LockCardPage-DYD2_HzF-Dog57kHB.js} +6 -6
- package/dist/assets/{LowBalancePopup-BhSsmmin-CBPk1LsR.js → LowBalancePopup-DiycrXpa-BGxqOGSj.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-DIpNQrGA-BmzNcyxo.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B9wywDCI-B71xVz_F.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-eZNTvlJK-BWmKcmTA.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-BYNIGXoS-OKsyLGOy.js → MagicLinkSuccessPage-RQtS7ohy-CE9hMVm-.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DAywgMEo-BtiZq0cx.js → MagicLinkTitleSection-D6bdQGfS-4Cui-zz1.js} +1 -1
- package/dist/assets/{MailingDetailsSection-DRQnwOna-B3_bDX5k.js → MailingDetailsSection-Db8X4a09-CGdNacsa.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-CcGxX2ZR-B5mJauBe.js → MyBankConnectionsSettingsPage-C9rAs8AC-CELzps57.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-MbUzd562-C6S6_bfY.js → MyPendingActivationChargeCardListPage-Dhz5e_Uu-CGb9qdbR.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-C5yCIdIL-B0YtQKYL.js → MyProfileSettingsPage-CxZER675-2UOccUna.js} +2 -2
- package/dist/assets/{NavBarWithPicker-C_IBxMUA-B0EPHxlT.js → NavBarWithPicker-BSVBMx7T-0Dqo2fgB.js} +1 -1
- package/dist/assets/{NavigationArrow-I1l5PEMd-BZkmNvxb.js → NavigationArrow-Ca-B5zfh-DRNdaY_I.js} +1 -1
- package/dist/assets/{NavigationDots-DbtOiTYP-BWzsBzui.js → NavigationDots-CjxNj1Qo-DN4lM7to.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DuU_ab63-DiZGG9pS.js → NewGlobalMerchantPage-LykCdab5-DEBbT1GR.js} +1 -1
- package/dist/assets/{NoDataChart-CLVyYBfd-CsBoNKkR.js → NoDataChart-Dm8c31gV-Dj8UiPhG.js} +1 -1
- package/dist/assets/{NoDataTable-CP5vFrN--C8hPBHtr.js → NoDataTable-BLcYAK9T-3nfxy3Nd.js} +1 -1
- package/dist/assets/{NotFoundPage-N4-ds_TK-BKsaq5wx.js → NotFoundPage-C4BU4sH8-sZxfS_K4.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-DxL5oOKA-BCxjFu4y.js → NotificationSettingsPage-BcZEeTzA-Gt8bGOQC.js} +1 -1
- package/dist/assets/{NotificationsListConfig-BUEMj_nN-_3oErotq.js → NotificationsListConfig-CYqB9pO5-Q7jWyd5C.js} +1 -1
- package/dist/assets/{NotificationsPage-CPwLrdcO-D7eMWwRS.js → NotificationsPage-BpE7xDxK-DEeyLrys.js} +1 -1
- package/dist/assets/{OpExByVendorPage-CEexczJv-J21B8XPv.js → OpExByVendorPage-CzAB4zqP-D8KXk_hr.js} +1 -1
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-BLZDtu1k.js → OverlayContainerPage-D4QU0p4o-BjtR95tx.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-Dp6MnTZ_-BK2fiEz9.js → PandLWithForecastPage-CDkHjqzy-EOvrd7Tw.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DbnK54BN-Du2iRLpi.js → PaymentAccountSetupBillingAddressSection-ChGcOYcG-D0OWrwVX.js} +1 -1
- package/dist/assets/{PeoplePage-rlyomO8Q-D10TbBHE.js → PeoplePage-C_FZL-mx-B0oFZuXo.js} +1 -1
- package/dist/assets/{Preview-CmsmcMye.js → Preview-Dit3IBZc.js} +1 -1
- package/dist/assets/{ProductsCarousel-CxhAwG_I-BIa-LA8F.js → ProductsCarousel-lJBWrgjU-BK8yascI.js} +1 -1
- package/dist/assets/{PromoBaseCards-_Ujfaxp0-B5F6NP5z.js → PromoBaseCards-BHeLFDFF-CUDBGebi.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-CYWm2ryd-AwpZpI98.js → QBOConnectionDialog-BfBk1GDG-CNBPmIt1.js} +1 -1
- package/dist/assets/{QBOSetupSection-C7X1UDAC-Dt9Gk2yj.js → QBOSetupSection-BO8FYRd_-BNdNnkk3.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CRa-PKxm-AG6-Qyhk.js → ReimbursementApprovalRuleDetailPage-BScdJYcI-BcwDGLiX.js} +3 -3
- package/dist/assets/{ReimbursementApprovalRulesPage-DPT__VQD-Fopcb6zr.js → ReimbursementApprovalRulesPage-2-dvUngC-9CdneR5P.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-DMKlEFLs-Be0yezXb.js → ReimbursementDetailPage-CCBrKxup-3_3O6q1i.js} +3 -3
- package/dist/assets/{ReimbursementPromoPage-C9YXyEBI-B4mzU33h.js → ReimbursementPromoPage-C1DzNWh1-B5DdwXjx.js} +8 -8
- package/dist/assets/{ReimbursementSetUpPage-CBBl7gS1-CNTRcHmw.js → ReimbursementSetUpPage-Bs1pChM5-DTukW1Jt.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-e-uHzgDg-CYMUoN9n.js → ReimbursementsBulkReviewDrawerPage-BY1ivHX0-CAH_UqYX.js} +1 -1
- package/dist/assets/{ReloadCard-C9idTWk--B_s6zG8-.js → ReloadCard-Ci1JfueA-BSqwcsh4.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-BROhyU1t-Clp4JfcG.js → ReportTableViewSelector-FSUjS0tA-BBV47JJP.js} +1 -1
- package/dist/assets/{ReportsPage-CA3EmmZB-6ufisFrM.js → ReportsPage-2XGgGATP-cuHT_XJ3.js} +5 -5
- package/dist/assets/{RevenueChart-AnQ7FJT4-CPOuzQU-.js → RevenueChart-DhiHl3J4-DLO9Tjun.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-BG4fsNht-jt9xahjR.js → ReviewDetailsPage-JfBmJL7T-C_j08e24.js} +7 -7
- package/dist/assets/{ReviewOverlay-BpwCrUbt-TDEW6qB3.js → ReviewOverlay-B8Quli7Z-C6JgrDgC.js} +1 -1
- package/dist/assets/{RoleWithToolTip-DlIcPRiy-DyibMc5_.js → RoleWithToolTip-DL78JlR8-C9xZrPOP.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Mp6f4ulg-Bk5UVNC6.js → ScheduleDetailsFixedAssetsPage-B-mkt12S-Dy27kfKS.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-Cb4aPlCE-CV9nppRa.js → ScheduleDetailsPage-BUZcySac-HBwTYcGC.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-B5UzjfQJ-03N0ITmH.js → ScheduleSequenceTable-CdKMmZqy-KLYGBtjp.js} +1 -1
- package/dist/assets/{ScreenRoutes-DZqozhB9.js → ScreenRoutes-xr8emYTZ.js} +1 -1
- package/dist/assets/{SetUpAccountSection-C2S4lXbj-CAP0LfIN.js → SetUpAccountSection-D1MXUm9M-aQqZDAJc.js} +1 -1
- package/dist/assets/{SignIn-oNZZn9gU-jOSvaxYl.js → SignIn-CPWFfFe2--e4scVLJ.js} +3 -3
- package/dist/assets/{SignInScreen-Bp6ZXaVa.js → SignInScreen-6Xirnvhp.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DFBE2GEM-DW-9EzEA.js → SpendManagementListViewPage--cVcOp1f-CoMTuOeL.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-CIu5TvHQ-D4k40EFM.js → SpendManagementPerTabPage-DPxjzKS8-DIiRlr2F.js} +1 -1
- package/dist/assets/{SpendManagementSection-CSAz_hUa-4308_UQx.js → SpendManagementSection-CA8SwNCI-C0bFCdBj.js} +1 -1
- package/dist/assets/StatementItem-UzV0xHzG-B2brulIy.js +31 -0
- package/dist/assets/{StatementsPage-DFebgwXz-BVi_L_en.js → StatementsPage-CksjCH5w-C3ioIgFA.js} +1 -1
- package/dist/assets/{StatusSwitcher-gbjjpKf_-blwYKndx.js → StatusSwitcher-BDDVmn-K-CKBwQQDa.js} +1 -1
- package/dist/assets/{SubTabSwitcher-BD8D4sY1-fpqHhuwu.js → SubTabSwitcher-CMsdXoCD-3-Y_8O6e.js} +1 -1
- package/dist/assets/{SummaryCard-Bq19bNV9-DKYjSomU.js → SummaryCard-B4km1rL_-DaunAw95.js} +1 -1
- package/dist/assets/{TaskManagementPage-ClNSi-hI-BjdLwuiV.js → TaskManagementPage-CDi3YMVo-CDvB9Max.js} +13 -13
- package/dist/assets/{TimeRangeSwitcher-XsW1b5lq-BUwlOylv.js → TimeRangeSwitcher-D1boW3u5-IM63QogJ.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-DlG05Fns-DW5oy61t.js → TimeframeSwitcher-NWdUWC8r-DZUeY14S.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-Cw2jBfJA-C5LicgQR.js → TimeframeSwitcherWithToggle-BCRqmVAB-m9vI8Gjx.js} +1 -1
- package/dist/assets/{TopExCard-Cotaxo42-C6OYhY2j.js → TopExCard-B7nDaKGC-VBOxt-wD.js} +1 -1
- package/dist/assets/{TopExDetailPage-Ck80cdUY-BNScQ0tX.js → TopExDetailPage-CFC5Kzob-Dt6PLbBa.js} +8 -8
- package/dist/assets/{TransactionActivityLogPage-Bon4QVXv-CPYHpodJ.js → TransactionActivityLogPage-dLfey-Pj-BNo7Uj_A.js} +1 -1
- package/dist/assets/{TransactionDetailPage-BKA0c1Hd-5r82PbUD.js → TransactionDetailPage-DUFj8B1S-CqpGWjre.js} +1 -1
- package/dist/assets/{TransactionList-C9w_immd-BFAqJMaG.js → TransactionList-BDaoHCk7-CZl9zU4i.js} +1 -1
- package/dist/assets/{TransactionListBig-mbfs4KoW-DqJSotdD.js → TransactionListBig-DxOGEDcA-M4zryrQh.js} +1 -1
- package/dist/assets/{TransactionListPage-CDVN8trz-D3p-SyTW.js → TransactionListPage-4nFAQM97-jwJBji-c.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-D-bYPAE2-DiXU5QmX.js → TransactionVendorDetailPage-CliQXg5L-DI9_qo0u.js} +1 -1
- package/dist/assets/{TransferDrawerPage-Cb8Cno-i-BV59_FYU.js → TransferDrawerPage-kbzn1dkx-Bopm8vbU.js} +12 -12
- package/dist/assets/{TreasuryOverviewPage-r5eF6ebA-B8UmS0v_.js → TreasuryOverviewPage-j8Dtk2Q8-C0BtbFG5.js} +1 -1
- package/dist/assets/{TreasuryPromoPage--nM87_OU-DJkqTPsx.js → TreasuryPromoPage-BlgxNE0U-Cc6ztZJc.js} +1 -1
- package/dist/assets/TreasuryStatementsPage-Bd70Y2Yv-CYfFBpB9.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-Crb8ZsUA-CESDg07X.js → TreasuryTaxLetterPage-DL4GDdXJ-xlICR3P4.js} +1 -1
- package/dist/assets/{TrendChart-DBg9hdMq-BJpEmGdE.js → TrendChart-BS6VOoj_-CKe3PY8I.js} +1 -1
- package/dist/assets/{TrendWithTransactions-CDquHlvk-CpyVD4zc.js → TrendWithTransactions-DMAMnr7F-DxwunSwM.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-Cc2EZVpr-DEwnfnNT.js → UncategorizedAccountsMappingPage-stLOvAUg-CCLPL_ED.js} +2 -2
- package/dist/assets/{UnitIntegrationPage-GCYR9P3Y-DHB4YTTk.js → UnitIntegrationPage-D39cXlRw-oxayfQbY.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-CIJFtDiF-DsNArDE8.js → UploadAdditionalDocumentOverlay-BmiNa89K-BeqcSbMb.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BZ6s889G-DRTQiJJz.js → Vendor2FAPopup-Cn7Bst-t-DCAkAnX8.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-yJs4pSeb-B9thwaoC.js +1 -0
- package/dist/assets/{VendorDetailPage-DvxkejeN-W7dvlk80.js → VendorDetailPage-Ck26EgtS-BHR4p4Il.js} +6 -6
- package/dist/assets/{VendorDomesticWireDetailsPage-C4SquKOu-fjlVrlLV.js → VendorDomesticWireDetailsPage-BZatg69M-B9cR7gr6.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-BJAlB2r3-GMTfNd1_.js → VendorFiling1099EditablePage-PYVQaWMk-G5giJg88.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-DHT9QMul-v-700rhU.js → VendorFirstReviewPage-hKEEnsZq-9lysxVz-.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-Cum0w1AM-CVUa5t1j.js → VendorInternationalWireDetailsPage-qv2qL6Xn-Bc91C8bc.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Co_Kax4L-bZKJbQeC.js +1 -0
- package/dist/assets/{VendorsAccountsSection-D135oEuw-BqGQrMXE.js → VendorsAccountsSection-BeiK6LWK-WA9vgeiE.js} +1 -1
- package/dist/assets/{VerifyDevice-BCCgiusC-CzG5KeEc.js → VerifyDevice-BVtSQLC2-otqudy2C.js} +1 -1
- package/dist/assets/{VideoPlayer-DVwDdeFR-t68lwaBp.js → VideoPlayer-DcPwSvda-DzC2R71-.js} +2 -2
- package/dist/assets/{VideoPopup-CrXLFmDO-BE_rpYv5.js → VideoPopup-CSSLhfoi-CGw_VFjN.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-V2zIdzFs-Dmn7maPE.js → WarningsDrawerPage-y9CUfPu5-MeHZsL1e.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-D5YNNS56-DAEAhMh6.js → ZeniAccountDetailPage-CeL_e1NL-CQdk1jRa.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-RiEBDKgR-BmwI4Z_B.js → ZeniAccountListViewPage-C-rGqw9i-D_x6eTsv.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-CoQENU6J-BeLx8CHm.js → ZeniAccountNavBarPieces-CSy5vlQ--2YMNZ3_9.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-CTXqeuyX-BBu-V92K.js → ZeniAccountPromoPage-ByNyhhoa-DV36qC0Z.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-thNujG4V-CERx-ItC.js → ZeniAccountSetupPage-YbvbQFzj-Byax4mz5.js} +1 -1
- package/dist/assets/{ZeniCopyright-ClH_jKKR-Cnv_kEw_.js → ZeniCopyright-D5ywJMrC-ViPTJSJz.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-D3vJ1eI8-Bb2OuJt7.js → ZeniTransferAmountSlider-CKFCKGRC-BbttVAel.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-BLYF7nQu.js → add-to-wallet-DgdBD8_G-tmzUrH5h.js} +1 -1
- package/dist/assets/{analytics-BYwa85mC.js → analytics-BHfEcMs7.js} +1 -1
- package/dist/assets/{analyticsHelper-BZR67Etu.js → analyticsHelper-DMvP-IUc.js} +1 -1
- package/dist/assets/{analyticsHelper-V4TPBdDw-Bb6O6ByH.js → analyticsHelper-nJyKiOwQ-BPlvzeT_.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-BmBVkHzO.js → arrow-south-east-round-PEovUgvH-DopNMSVs.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-Bracjtzh.js → auto-transfer-rule-mbafm5D3-5qZZD7bQ.js} +1 -1
- package/dist/assets/{chartTypes-iDEZ4YBi-DN0XMgOK.js → chartTypes-BKexR59e-C3ztmi9f.js} +1 -1
- package/dist/assets/{commonDimensions-Bu6zjJKF-Cmgw7sLn.js → commonDimensions-Upfg-PB1-DEuX-eDL.js} +1 -1
- package/dist/assets/{constants-8rWTGONW.js → constants-CHbK5IhN.js} +1 -1
- package/dist/assets/{core-CfLdY-k_.js → core-BZCxWmUX.js} +1 -1
- package/dist/assets/{dash.all.min-ys86X-gR.js → dash.all.min-DcxeahhE.js} +1 -1
- package/dist/assets/{detailCommon-BWEpXOUF-Ba4eHIVL.js → detailCommon-_wEL82NI-n1evVXdx.js} +5 -5
- package/dist/assets/{downloadPdf-DJF-2ZO0-DSsBKjnk.js → downloadPdf-CMFOff-_-mnN6dDox.js} +1 -1
- package/dist/assets/{empty-CciSeb90.js → empty-D_f2XL7V.js} +1 -1
- package/dist/assets/{empty-fpeXeVte.js → empty-DcJQLvC7.js} +1 -1
- package/dist/assets/{epic-CW7So-k4.js → epic-NTdWJzAE.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-CwAkBnJ5.js → gift-box-Cmt9OgIZ-wauDJyqU.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-Dz4YrOvs.js → graphic-no-data-l-DU4J8fDt-Co-mMaRI.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-C-C13G7Y.js → graphic-no-data-net-burn-l-CzmycA0m-_WUrjzng.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Cv-IXUBG.js → handshake-BPg58FML-Bh6G4KIp.js} +1 -1
- package/dist/assets/{index-GTrrlN3l.js → index-B7HaXBI4.js} +1 -1
- package/dist/assets/{index-iEQQZg-l.js → index-BCLGLn5P.js} +1 -1
- package/dist/assets/{index-COvv8Pxo.js → index-BTb8ckWv.js} +1 -1
- package/dist/assets/{index-DbTr8RS2.js → index-C9eCTMJr.js} +1 -1
- package/dist/assets/{index-G4udIFQJ.js → index-CRjLU1CH.js} +7 -7
- package/dist/assets/{index-BOJ4i6pP.js → index-DC2hxKgC.js} +1 -1
- package/dist/assets/{index-Dx0tKDNt.js → index-Dkkbximi.js} +1 -1
- package/dist/assets/{lexical-C2hQPjBk.js → lexical-D8AhEV3-.js} +1 -1
- package/dist/assets/{liveblocks-CV4wYZBt.js → liveblocks-B2F837W5.js} +1 -1
- package/dist/assets/{lottie-Dw1I6Lqb.js → lottie-CgAPdzgC.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-ll9NZ-I4-DPPDlmzF.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-DcevOSiz-8lx_NTel.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-6Qxn340N-B6QTlyVL.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BlKa4mAP-BPPLb2wN.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-tYVPqkGh-BzVS1eS7.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-C92aroSy-BbZlxdu4.js +1 -0
- package/dist/assets/{mui-BDpZEDd-.js → mui-G_qoHHKo.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CTwIKCV4.js → page-detail-CWX5S47F-x7w6wNJZ.js} +1 -1
- package/dist/assets/{panelSelectedMixin-CzfD5-Zs-Q8m7K4oN.js → panelSelectedMixin-CzfD5-Zs-BuQ6-IQv.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-qVtSp8qo.js → radio-default-CiSgisfh-Bpmj0_HZ.js} +1 -1
- package/dist/assets/{react-DK7JNpa7.js → react-BVN7d4k7.js} +1 -1
- package/dist/assets/{react-BNl8kpdF.js → react-Bz8KihG8.js} +2 -2
- package/dist/assets/{react-CkHlLfE6.js → react-C-Nzpwqb.js} +1 -1
- package/dist/assets/{react-yJFMdFvX.js → react-CQCeOVHy.js} +1 -1
- package/dist/assets/{react-DJZvoDtL.js → react-CgU7dLsF.js} +1 -1
- package/dist/assets/{react-MOWQVBSu.js → react-D3qPI2I1.js} +1 -1
- package/dist/assets/{react-E_zI_4NR.js → react-DY87wnXm.js} +1 -1
- package/dist/assets/{react-De2kZE9C.js → react-Hh8LA1NH.js} +1 -1
- package/dist/assets/{recharts-B3SHU5RU.js → recharts-CCryt90F.js} +1 -1
- package/dist/assets/{sentry-CTrMrBL8.js → sentry-DZdy1Eny.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-Clyc-usU.js → shield-DOlUxcFf-DEYalkml.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DtqUradx-lEoCPU_e.js +1 -0
- package/dist/assets/{toChartData-DyjTCJsY-BV_CW89N.js → toChartData-BpfWXnJ--DBwlURkd.js} +1 -1
- package/dist/assets/{uploadAttachment-BJcS1oZv-BlzuzU5y.js → uploadAttachment-ukKU1LbX-DZ3cul8l.js} +1 -1
- package/dist/assets/{uploadReceipts-Dge0cNF1-DwGGi1Mb.js → uploadReceipts-Dge0cNF1-9xq6mF3E.js} +1 -1
- package/dist/assets/{url-BvOH_ymq.js → url-D90t3YD5.js} +1 -1
- package/dist/assets/{url-DzlbkY_h.js → url-T01FJj_Y.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-ClJp7PXk.js → useLongPress-GCK2COYQ-gOO9DxKL.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-Cmb4LI5b.js → usp-line-BBd1wKwW-gP2BLOgz.js} +1 -1
- package/dist/assets/{utils-yHZwLkmM.js → utils-D8ZC_tPv.js} +1 -1
- package/dist/assets/{zeni-epic-state-B_64dD7k.js → zeni-epic-state-BlmgKn3B.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountInfoPage-CoX9n6HX-p3uYXGev.js +0 -18
- package/dist/assets/CustomerOnboardingContainerPage-CbrKONhr-DigJVWOp.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-Cp5U5QLX-CDEs2CEb.js +0 -202
- package/dist/assets/DepositAccTransactionListPage-K0UYTv8s-C0ae1fDB.js +0 -66
- package/dist/assets/EntityDetailPage-DJ-NoWZp-DgLIseeW.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-JBFVxuf2-41i2YISt.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-C5tXo9Yb-CbIfw0V1.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-C_NjCMJZ-CLmGKxgW.js +0 -1
- package/dist/assets/StatementItem-DYoVBRQy-u4Af9dX-.js +0 -31
- package/dist/assets/TreasuryStatementsPage-Bw9Kj_ei-RQA3kjvP.js +0 -58
- package/dist/assets/VendorACHDetailsPage-Cc6vosJI-BD02tozk.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DvbkBLLf-HNLqOeTe.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DvNHg91V-BJg2RI-I.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-CWsheP6j-CsU13hiG.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-BZH4EyFQ-whX8MxcC.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BFTqwysj-BjpsD5BT.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CHzQagq--CVUzW0Vh.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BEUrDFPW-hJlLof7c.js +0 -1
- package/dist/assets/toCOABalancesWithID-BaWPQdax-C8KA3Ete.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as Z,V as t,aP as $,hI as pe,aN as M,r as X,o,aR as he,y as n,C as ee,d as ue,F as oe,b9 as me,c as te,ai as ge,al as F,aQ as fe,a9 as xe,cF as ke,p as b,ac as De,gc as $e,cI as be,eU as Y,cP as G,u as s,fo as we,ci as ye,c0 as je,f0 as Pe,gX as Se,am as q,gY as Le}from"./index-
|
|
1
|
+
import{Q as Z,V as t,aP as $,hI as pe,aN as M,r as X,o,aR as he,y as n,C as ee,d as ue,F as oe,b9 as me,c as te,ai as ge,al as F,aQ as fe,a9 as xe,cF as ke,p as b,ac as De,gc as $e,cI as be,eU as Y,cP as G,u as s,fo as we,ci as ye,c0 as je,f0 as Pe,gX as Se,am as q,gY as Le}from"./index-CRjLU1CH.js";import{a as k}from"./sentry-DZdy1Eny.js";import{n as a}from"./mui-G_qoHHKo.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./zeni-epic-state-BlmgKn3B.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="490255c5-e5f6-482b-b366-68ebd9344b45",e._sentryDebugIdIdentifier="sentry-dbid-490255c5-e5f6-482b-b366-68ebd9344b45")}catch{}})();const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",R="selectDocument",E=e=>{const l=[];return e.checkFront!=null&&l.push(e.checkFront.fileId),e.checkBack!=null&&l.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(f=>({label:f.accountName,value:f.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:l,[R]:{front:e.checkFront,back:e.checkBack}}}},D=(e,l)=>`${e}.${l}`,ze=e=>`${e}_form`,u={largeLabelWidth:new n(160,160,160),rowContentPaddingLeft:new n(s[3],s[4]),checkPicRowContentPaddingXAxis:new n(s[3],s[4]),labeleMarginLeft:new n(s[0],s[0]),labeleMarginBottom:new n(s[2],s[0]),labelMarginRight:new n(s[3],s[3]),labeledFieldPaddingLeft:new n(s[3],s[0]),labeledFieldPaddingRight:new n(s[3],s[2]),labeledFieldPaddingTop:new n(s[3],s[3]),labeledFieldPaddingBottom:new n(s[3],s[2]),infoLabelPaddingRight:new n(s[0],s[3]),infoLabelMarginTop:new n(s[1],s[0])},{spendManagement:Be,common:V}=oe.getLocalizedStrings(),c=Be.zeniAccounts.zeniAccountList,Ae=V.documents;function Ie({checkDeposit:e,analytics:l,filesEndPoint:f,openPopup:w,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T}){const r=Z(),d=e.fetchState,L=fe(d),[v,_]=k.useState(!1),[se,z]=k.useState(!1),B=u.largeLabelWidth.value(r),x=xe({mode:"all",reValidateMode:"onBlur",defaultValues:E(e),values:E(e)}),{isValid:re}=x.formState,Q=i=>{const p={amount:{amount:i[g].amount??0,currencyCode:V.currency.currencyCode,currencySymbol:V.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(p)},le=async(i,p)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},p);Q(h)}};k.useEffect(()=>{const i=x.watch((p,{name:h})=>{h!=null&&p!=null&&ke(()=>le(h,p))});return()=>{i.unsubscribe()}}),k.useEffect(()=>{L==="Completed"&&d==="Not-Started"&&x.reset(E(e))},[L,d,x,e]),k.useEffect(()=>{e.error!=null?z(!0):z(!1)},[e.error]);const ce=x.handleSubmit(()=>{if(re){l.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=x.getValues();Q(i),T?.()}}),ne=(i,p)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(I=>I.id===i),A=e.depositAccounts.depositAccounts.findIndex(I=>I.id===i);return h?t.jsx(Ve,{color:Se(A),isSelectedValue:p}):null},de=(i,p)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?p===!0?t.jsx(Re,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(W,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(W,{children:M("0,0[.]00",h?.accountBalance?.available)})]}):null};return t.jsxs(t.Fragment,{children:[se?t.jsx(Oe,{children:t.jsxs(qe,{children:[t.jsxs(_e,{children:[t.jsx(Xe,{}),t.jsxs(Ye,{children:[t.jsx(Ge,{children:e.error?.title}),t.jsx(We,{children:e.error?.message})]})]}),t.jsx(Qe,{children:t.jsx(ro,{"data-testid":$("check-deposit-form-close"),onClick:()=>{l.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),z(!1)},style:{width:o.sp3,height:o.sp3,color:b.heroLight}})})]})}):null,t.jsx(Je,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...x,children:t.jsx("form",{id:ze(ve),onSubmit:ce,children:t.jsxs(He,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:c.checkDepositDrawer.amountLabel,width:B},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:c.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(N,{}),t.jsx(be,{label:{label:c.checkDepositDrawer.sourceLabel,width:B},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:c.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:i=>i!=null}}}),t.jsx(N,{}),t.jsx(ae,{size:r,children:t.jsx(eo,{size:r,children:t.jsx(Ue,{label:{label:c.checkDepositDrawer.depositToLabel,width:B,style:{marginLeft:u.labeleMarginLeft.valuePx(r),marginBottom:u.labeleMarginBottom.valuePx(r),marginRight:u.labelMarginRight.valuePx(r)}},style:{paddingTop:u.labeledFieldPaddingTop.valuePx(r),paddingBottom:u.labeledFieldPaddingBottom.valuePx(r),paddingLeft:u.labeledFieldPaddingLeft.valuePx(r),paddingRight:u.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(r),marginTop:u.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(i,p)=>ne(i,p),valueToSubLabels:(i,p)=>de(i,p),name:D(g,"depositTo"),placeholder:c.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(Ke,{size:r,children:[t.jsxs(Ze,{size:r,children:[t.jsx(Ee,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(J,{isLast:!1,children:c.checkDepositDrawer.frontSide}),t.jsx(Y,{name:`${D(g,R)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:f,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:G,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:S,openPopup:w,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(J,{isLast:!0,children:c.checkDepositDrawer.backSide}),t.jsx(Y,{name:`${D(g,R)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:f,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:G,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:S,openPopup:w,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:c.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const Ee=a(F)`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
`,Ne=a(F)`
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,b3 as vo,aP as m,bN as pe,aN as U,dm as $o,o as s,p as X,aQ as bn,Q as O,aD as kn,ay as Lo,dn as jn,dp as Ao,F as B,u as w,dq as Jn,dr as Nt,ds as It,cb as Pt,dt as Ft,y as V,d2 as zt,aw as Qn,aa as Xe,du as Me,bP as H,T as Bo,e as ce,aV as $,a$ as Zn,dv as Xn,an as Le,dw as Wo,dx as le,ca as Tt,b$ as Sn,ai as Oo,am as we,dy as et,dz as Ae,dA as nt,al as _,ci as ne,dB as Mo,b as Vt,dC as Ee,dD as Cn,dE as _n,dF as No,dG as Io,b9 as ei,aW as T,b6 as Po,cz as Dt,cy as Rt,dH as Fo,b7 as ti,cC as ni,bR as zo,dI as To,dJ as vn,dK as $n,dL as Vo,dM as Do,bT as Ro,bK as Eo,dN as Go}from"./index-
|
|
1
|
+
import{V as t,b3 as vo,aP as m,bN as pe,aN as U,dm as $o,o as s,p as X,aQ as bn,Q as O,aD as kn,ay as Lo,dn as jn,dp as Ao,F as B,u as w,dq as Jn,dr as Nt,ds as It,cb as Pt,dt as Ft,y as V,d2 as zt,aw as Qn,aa as Xe,du as Me,bP as H,T as Bo,e as ce,aV as $,a$ as Zn,dv as Xn,an as Le,dw as Wo,dx as le,ca as Tt,b$ as Sn,ai as Oo,am as we,dy as et,dz as Ae,dA as nt,al as _,ci as ne,dB as Mo,b as Vt,dC as Ee,dD as Cn,dE as _n,dF as No,dG as Io,b9 as ei,aW as T,b6 as Po,cz as Dt,cy as Rt,dH as Fo,b7 as ti,cC as ni,bR as zo,dI as To,dJ as vn,dK as $n,dL as Vo,dM as Do,bT as Ro,bK as Eo,dN as Go}from"./index-CRjLU1CH.js";import{n as a,c as P}from"./mui-G_qoHHKo.js";import{a as N,P as Ho}from"./sentry-DZdy1Eny.js";import{E_ as Et,Fo as Gt,Fp as Ne,Fq as Ht,Fr as Kt,Fs as Yt,Ft as Ut,Fu as ii,Fv as Ko,Fb as xt,E$ as Ie,bm as Ln,bg as oi,Fw as ri,Fx as Yo,bo as Uo,Fc as ai}from"./zeni-epic-state-BlmgKn3B.js";import{N as it,D as qo,R as Jo,E as ye,u as v}from"./AccountRow-Gn7g3D_F-BNs1BGkk.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]="6e1fe05a-7f4d-4336-9a65-7f008b7d7a04",e._sentryDebugIdIdentifier="sentry-dbid-6e1fe05a-7f4d-4336-9a65-7f008b7d7a04")}catch{}})();function q(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return U("0,0",e?.balance)}function Q(e){return U("0,0",e?.forecast)}function li(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.totalPercentValue)}return U("0,0",e?.totalBalance)}function jt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.forecastPercentValue)}return U("0,0",e?.totalForecast)}function se(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return pe("0.00%",Math.floor(n*100)/100)}else return pe("0.00%",void 0)}function de(e){if(e!=null&&e.forecast!=null){const n=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return U("0,0",Object.assign({},e.forecast,{amount:n}))}else return U("0,0",null)}function ci(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return pe("0.00%",Math.floor(n*100)/100)}else return pe("0.00%",void 0)}function si(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return U("0,0",Object.assign({},e.totalForecast,{amount:n}))}else return U("0,0",null)}const Pe=(e,n,i)=>{const{startDate:o,balanceType:r}=n,{dateFormat:{visual:l}}=B.getLocalizedStrings();switch(i){case"month":return r==="default"||r==="default_with_percent"?`${xt(o,l.MMMYYYYFormat,e)}`:mt(r,i);case"quarter":return r==="default"||r==="default_with_percent"?`${B.getLocalizedStrings().reports.quarterPrefix}${xt(o,l.QYYYYformat,e)}`:mt(r,i);case"year":return r==="default"||r==="default_with_percent"?`${xt(o,l.YYYYformat,e)}`:mt(r,i);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function mt(e,n){return B.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const wp=(e,n,i)=>{const o=n.length==0?e:`${e}_${n.join("_")}`;return i!=null&&i.trim().length>0?`${o}_${i}`:`${o}_${$o(10)}`},Qo=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as Oe,e as Re,cS as wl,F as ae,y as O,aQ as jl,V as l,bT as We,fH as Me,ap as Le,g1 as _e,o as a,gb as $l,cR as qe,cI as ee,cK as ce,cO as He,e$ as vl,eZ as Sl,cM as Ue,cL as Se,gc as Ne,gd as Il,fz as Cl,cP as Ie,fy as Ve,cQ as Ol,p as Ee,fP as Ge,R as ge,bK as Qe,fG as Ye,al as Pe,g0 as Ke,b as ye,ao as Ll,bH as _l,u as N,dm as El,av as Pl,ge as Dl,am as Fl,gf as Nl,bI as xe,b5 as Vl,a as Ze,ai as kl,d0 as Tl,at as zl,bG as Bl}from"./index-
|
|
1
|
+
import{Q as Oe,e as Re,cS as wl,F as ae,y as O,aQ as jl,V as l,bT as We,fH as Me,ap as Le,g1 as _e,o as a,gb as $l,cR as qe,cI as ee,cK as ce,cO as He,e$ as vl,eZ as Sl,cM as Ue,cL as Se,gc as Ne,gd as Il,fz as Cl,cP as Ie,fy as Ve,cQ as Ol,p as Ee,fP as Ge,R as ge,bK as Qe,fG as Ye,al as Pe,g0 as Ke,b as ye,ao as Ll,bH as _l,u as N,dm as El,av as Pl,ge as Dl,am as Fl,gf as Nl,bI as xe,b5 as Vl,a as Ze,ai as kl,d0 as Tl,at as zl,bG as Bl}from"./index-CRjLU1CH.js";import{a as c}from"./sentry-DZdy1Eny.js";import{n as t}from"./mui-G_qoHHKo.js";import{bh as Je,bL as Al}from"./zeni-epic-state-BlmgKn3B.js";import{C as Ce}from"./LabeledAddressValueField-BNPvRvHU-EK3HrcNO.js";import{I as Rl}from"./LabeledCreatableSingleSelectField-C1dHZ9ym-iC8YKpuW.js";import{Y as ke}from"./LabeledDocumentField-ffpHZV4a-BUHqIKgG.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="3e303ef0-8bf4-49cd-aeda-d9cd460c98a4",e._sentryDebugIdIdentifier="sentry-dbid-3e303ef0-8bf4-49cd-aeda-d9cd460c98a4")}catch{}})();const Wl=e=>c.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),c.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("g",{clipPath:"url(#clip0_1350_23850)"},c.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),c.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),c.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),c.createElement("g",{clipPath:"url(#clip1_1350_23850)"},c.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),c.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),c.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),c.createElement("g",{clipPath:"url(#clip2_1350_23850)"},c.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),c.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),c.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),c.createElement("g",{clipPath:"url(#clip3_1350_23850)"},c.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),c.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),c.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),c.createElement("defs",null,c.createElement("clipPath",{id:"clip0_1350_23850"},c.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),c.createElement("clipPath",{id:"clip1_1350_23850"},c.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),c.createElement("clipPath",{id:"clip2_1350_23850"},c.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),c.createElement("clipPath",{id:"clip3_1350_23850"},c.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:Ml}=ae.getLocalizedStrings(),{businessVerification:Te}=Ml,ue={iconSize:new O(N[6],N[10]),gap:new O(N[2],N[3])},Xe={title:new ge("smallSemiBold","standardSemiBold"),description:new ge("smallRegular","standardRegular")},el=()=>{const[e]=Pl("Secure"),d=Oe();return l.jsxs(ql,{windowSize:d,children:[e!=null?l.jsx(Hl,{windowSize:d,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx(Ul,{windowSize:d}),l.jsxs(Gl,{children:[l.jsx(Ql,{windowSize:d,children:Te.securityMessageTitle}),l.jsx(Yl,{windowSize:d,children:Te.securityMessageDescription})]})]})},ql=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
4
4
|
gap: ${e=>ue.gap.valuePx(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as r,aL as E,aM as x,F as p,o as l,aP as M,aS as w,ai as y,aT as H}from"./index-
|
|
1
|
+
import{V as r,aL as E,aM as x,F as p,o as l,aP as M,aS as w,ai as y,aT as H}from"./index-CRjLU1CH.js";import{n as o}from"./mui-G_qoHHKo.js";import{c as j}from"./SummaryCard-B4km1rL_-DaunAw95.js";import{a as t}from"./sentry-DZdy1Eny.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./zeni-epic-state-BlmgKn3B.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.js";import"./ReloadCard-Ci1JfueA-BSqwcsh4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="a2ee0dac-5735-4920-aaec-0ee2cb7cce12",e._sentryDebugIdIdentifier="sentry-dbid-a2ee0dac-5735-4920-aaec-0ee2cb7cce12")}catch{}})();const D=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),B=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),v=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),g=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:B},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:v},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:D}],L=o(w)`
|
|
2
2
|
margin: ${l.sp5};
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
`,b=o.div`
|
|
@@ -39,4 +39,4 @@ import{V as r,aL as E,aM as x,F as p,o as l,aP as M,aS as w,ai as y,aT as H}from
|
|
|
39
39
|
width: 100%;
|
|
40
40
|
height: 1px;
|
|
41
41
|
background-color: ${e=>e.theme.colors.grey3};
|
|
42
|
-
`;function X({card:e,actions:s,data:
|
|
42
|
+
`;function X({card:e,actions:s,data:c,dndProps:n}){return r.jsx(E,{isDragging:n?.draggedCardType!=null,isDragOver:n?.dragOverCard===e.cardType,draggable:!0,onDragStart:i=>n?.onDragStart(e.cardType,i),onDragOver:i=>n?.onDragOver(i,e.cardType),onDragLeave:i=>n?.onDragLeave(i),onDrop:i=>n?.onDrop(i,e.cardType),dimension:e.dimension,children:r.jsx(j,{card:e,actions:s,children:r.jsx(x,{dimension:e.dimension,style:{cursor:"pointer"},onClick:()=>s.onCardClick(e.cardIndex,e.cardType),"data-testid":M("dashboard",e.cardType),children:r.jsxs(L,{children:[r.jsx(b,{children:r.jsx(W,{children:p.getLocalizedStrings().companyPassportCard.title})}),g.map((i,d)=>{const{title:m,key:a,Icon:h}=i;return r.jsxs(I,{children:[r.jsxs(V,{children:[r.jsx($,{children:r.jsx(h,{height:l.sp5,width:l.sp5})}),r.jsxs(_,{children:[r.jsx(N,{children:m}),r.jsx(S,{data:c?.companyView,itemKey:a})]})]}),d!==g.length-1?r.jsx(A,{}):null]},i.key)})]})})})},e.cardIndex)}const S=({itemKey:e,data:s})=>{const c=s?.companyOfficers,n=s?.company,i=n?.company.companyInfo,d=n?.company.incInfo,m=()=>r.jsx(T,{children:"—"});switch(e){case"company_legal_name":return i?.companyLegalName==null||i.companyLegalName===""?r.jsx(m,{}):r.jsx(k,{children:i?.companyLegalName});case"company_officer":{if(c==null||c?.length===0)return r.jsx(m,{});const a=c.slice(0,10).sort((u,f)=>u.user.createTime?.isAfter(f.user.createTime)===!0?1:-1),h=[a[0].user.firstName,a[0].user.lastName].join("").trim();return r.jsxs(k,{children:[a[0].user.firstName!=null&&a[0].user.firstName!==""?r.jsxs(C,{children:[a[0].user.firstName," "]}):null,r.jsx(C,{children:a[0].user.lastName}),a[0].user.email!=null?r.jsx(C,{children:`${h.length>0?", ":""}${a[0].user.email}`}):null]})}case"company_inc":return d?.companyIncType==null||d.companyIncType===""?r.jsx(m,{}):r.jsx(k,{children:d?.companyIncType});default:return null}};export{X as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as N,e as Ae,aQ as da,a9 as pa,cF as ma,F as k,V as a,bC as ua,ac as ha,cG as fa,aR as
|
|
1
|
+
import{Q as N,e as Ae,aQ as da,a9 as pa,cF as ma,F as k,V as a,bC as ua,ac as ha,cG as fa,aR as xa,y as m,cH as ya,C as Ce,o as t,al as ee,cI as z,cJ as ze,cK as L,cL as ba,cM as Ue,cN as ga,cO as $a,cP as qe,aw as wa,cQ as Ia,cR as He,cS as Ge,cT as ja,cU as va,cV as Da,p as P,cW as Sa,cX as Oa,bs as Ca,aT as Fa,b9 as U,cY as Fe,u as p,ai as Ze,r as Me,cZ as ka,aD as Ta,c_ as Pa,c$ as Na,bH as La,d0 as za,ci as Ma,d1 as Ea,am as Va,bI as W,d2 as Ba,b as ce,bG as _a}from"./index-CRjLU1CH.js";import{a as _,P as Wa}from"./sentry-DZdy1Eny.js";import{n as s,k as Ra}from"./mui-G_qoHHKo.js";import{Fk as Ya,bj as Qe,bL as Aa,bh as be,bC as Ua,Fl as qa}from"./zeni-epic-state-BlmgKn3B.js";import{I as Xe}from"./LabeledCreatableSingleSelectField-C1dHZ9ym-iC8YKpuW.js";import{Y as Je}from"./LabeledDocumentField-ffpHZV4a-BUHqIKgG.js";import{$ as Ke}from"./LabeledAddressValue-D_-0VDjZ-4h12iTBN.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.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]="9765e8bf-0306-4883-9454-d6b4a3d82f08",e._sentryDebugIdIdentifier="sentry-dbid-9765e8bf-0306-4883-9454-d6b4a3d82f08")}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{Q as N,e as Ae,aQ as da,a9 as pa,cF as ma,F as k,V as a,bC 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(Qa,{}),a.jsxs(Ka,{windowSize:o,children:[a.jsx(et,{isSuccess:c,children:c?n.success:n.error}),a.jsx(Xa,{children:a.jsx(Ja,{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(Qa,{}),a.jsxs(Ka,{windowSize:o,children:[a.jsx(et,{isSuccess:c,children:c?n.success:n.error}),a.jsx(Xa,{children:a.jsx(Ja,{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(Q=>Q.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(Xe,{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(Je,{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:Q=>i(Q)}),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{Q as N,e as Ae,aQ as da,a9 as pa,cF as ma,F as k,V as a,bC 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(Xe,{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{Q as N,e as Ae,aQ as da,a9 as pa,cF as ma,F as k,V as a,bC 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};
|
|
@@ -203,13 +203,13 @@ import{Q as N,e as Ae,aQ as da,a9 as pa,cF as ma,F as k,V as a,bC as ua,ac as ha
|
|
|
203
203
|
display: flex;
|
|
204
204
|
`,Lt=s(ee)`
|
|
205
205
|
color: ${e=>e.theme.colors.hero};
|
|
206
|
-
`,
|
|
206
|
+
`,xe=s.div`
|
|
207
207
|
display: flex;
|
|
208
208
|
flex: 1;
|
|
209
209
|
background-color: ${e=>e.theme.colors.grey3};
|
|
210
210
|
min-height: 1px;
|
|
211
211
|
max-height: 1px;
|
|
212
|
-
`,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(Qt,{children:a.jsx(Zt,{isSelected:o,isDisabled:l,children:e.label})}),o?a.jsxs(Xt,{children:[a.jsx(Jt,{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{Q as N,e as Ae,aQ as da,a9 as pa,cF as ma,F as k,V as a,bC 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:Qe().map(x=>x.toString())}}}),a.jsx(K,{}),a.jsx(Je,{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};
|
|
@@ -484,7 +484,7 @@ import{Q as N,e as Ae,aQ as da,a9 as pa,cF as ma,F as k,V as a,bC as ua,ac as ha
|
|
|
484
484
|
background-color: ${e=>e.theme.colors.grey3};
|
|
485
485
|
min-height: 1px;
|
|
486
486
|
max-height: 1px;
|
|
487
|
-
`,
|
|
487
|
+
`,xo=s.div`
|
|
488
488
|
display: flex;
|
|
489
489
|
flex-direction: row;
|
|
490
490
|
justify-content: flex-end;
|
|
@@ -492,13 +492,13 @@ import{Q as N,e as Ae,aQ as da,a9 as pa,cF as ma,F as k,V as a,bC 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{Q as N,e as Ae,aQ as da,a9 as pa,cF as ma,F as k,V as a,bC 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(
|
|
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{Q as N,e as Ae,aQ as da,a9 as pa,cF as ma,F as k,V as a,bC 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{Q as N,e as Ae,aQ as da,a9 as pa,cF as ma,F as k,V as a,bC 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:Q}=e,{companyView:X,localData:q,deleteFileStatusById:ke,updateFileStatusById:Te}=i,{companyFiles:ae}=q,Pe={authParams:f,filesEndPoint:c,onEditFileName:x,onDeleteFile:pe,updateFilesEntity:V},[J,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)),J!==R.fetchState&&te(R.fetchState))},[J,B,Ne,R,q,X,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=>{J!=null&&te(void 0),S()}),{companyPassport:ie,common:{settings:ra}}=k.getLocalizedStrings();if(X==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:Q}),J!=null?a.jsx(ot,{fetchState:J,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:X,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:X,companyInfo:oe?.companyInfo,isDisabled:r,isZeniUser:n,sectionId:Oe,onScheduleClick:b})]})})]}),fa(B.formState.dirtyFields)||Ya(q,X,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:Qe().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-CfNuOYX6-Cnkx2a1E.js → CompleteProfile-E7yJ6AqT-DXZcKzk-.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a9 as V,gS as v,F as S,V as g,gT as J,aa as l,al as $,ac as q,cI as _,cR as W,cO as T,o as E,gU as Z,cM as z,aR as X,c as AA,c2 as gA,gV as BA}from"./index-G4udIFQJ.js";import{a as B,P as c}from"./sentry-CTrMrBL8.js";import{n as o}from"./mui-BDpZEDd-.js";import{bh as eA}from"./zeni-epic-state-B_64dD7k.js";import{$ as EA}from"./LabeledAddressValue-DgMH266J-BOyhiAJ7.js";import"./liveblocks-CV4wYZBt.js";import"./core-CfLdY-k_.js";import"./recharts-B3SHU5RU.js";import"./lottie-Dw1I6Lqb.js";import"./analytics-BYwa85mC.js";import"./lexical-C2hQPjBk.js";import"./utils-yHZwLkmM.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]="ef16d53a-669a-42d4-82b6-66dd17417fa6",A._sentryDebugIdIdentifier="sentry-dbid-ef16d53a-669a-42d4-82b6-66dd17417fa6")}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/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIED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EBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),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}`,fA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:f,onResendOtp:y})=>{const[I,a]=B.useState(!1),[k,Y]=B.useState(!1),t=V({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=v({control:t.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=t.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=(C,d)=>{f(C,d)},R=C=>{C!=null&&C.trim().length>0&&y(C)},U=()=>{a(!0)},K=()=>{a(!1)},b=()=>{const C=t.getValues(`${m}`);if(C!=null){const d=BA(C);t.setValue(`${Q}.address`,d)}a(!1)},P=t.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(IA,{children:[g.jsxs(tA,{children:[I&&g.jsx(iA,{onClick:K}),e.completeProfile.title]}),g.jsx(q,{...t,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:I===!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:I===!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:t.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:I?void 0:`${p}_form`,primaryBtn:{label:I?e.companyPassport.address.saveAddress:e.common.footer.save,type:I?"button":"submit",onClick:I?b:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
|
|
1
|
+
import{a9 as V,gS as v,F as S,V as g,gT as J,aa as l,al as $,ac as q,cI as _,cR as W,cO as T,o as E,gU as Z,cM as z,aR as X,c as AA,c2 as gA,gV as BA}from"./index-CRjLU1CH.js";import{a as B,P as c}from"./sentry-DZdy1Eny.js";import{n as o}from"./mui-G_qoHHKo.js";import{bh as eA}from"./zeni-epic-state-BlmgKn3B.js";import{$ as EA}from"./LabeledAddressValue-D_-0VDjZ-4h12iTBN.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.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]="f5c58906-5477-4753-afaf-1a34c07ae72b",A._sentryDebugIdIdentifier="sentry-dbid-f5c58906-5477-4753-afaf-1a34c07ae72b")}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/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIEC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BAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),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[I,a]=B.useState(!1),[k,Y]=B.useState(!1),t=V({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=v({control:t.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=t.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=t.getValues(`${m}`);if(C!=null){const d=BA(C);t.setValue(`${Q}.address`,d)}a(!1)},P=t.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(IA,{children:[g.jsxs(tA,{children:[I&&g.jsx(iA,{onClick:K}),e.completeProfile.title]}),g.jsx(q,{...t,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:I===!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:I===!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:t.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:I?void 0:`${p}_form`,primaryBtn:{label:I?e.companyPassport.address.saveAddress:e.common.footer.save,type:I?"button":"submit",onClick:I?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;
|
|
@@ -49,4 +49,4 @@ import{a9 as V,gS as v,F as S,V as g,gT as J,aa as l,al as $,ac as q,cI as _,cR
|
|
|
49
49
|
width: ${E.sp3};
|
|
50
50
|
height: ${E.sp3};
|
|
51
51
|
color: ${A=>A.theme.colors.success};
|
|
52
|
-
`;export{
|
|
52
|
+
`;export{MA as default};
|
package/dist/assets/{ConfettiBurst-BYI1XUQL-y1mB27QR.js → ConfettiBurst-BUf7AIFk-Da6kYSI2.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d7 as p,av as l,V as r,b5 as d,o as f}from"./index-
|
|
1
|
+
import{d7 as p,av as l,V as r,b5 as d,o as f}from"./index-CRjLU1CH.js";import{a as n}from"./sentry-DZdy1Eny.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./zeni-epic-state-BlmgKn3B.js";import"./mui-G_qoHHKo.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.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]="4040e8ea-8f44-4977-95cf-cc349ff431b1",e._sentryDebugIdIdentifier="sentry-dbid-4040e8ea-8f44-4977-95cf-cc349ff431b1")}catch{}})();const c="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",v=({showConfetti:e})=>{const[t,o]=n.useState(e),[s,i]=p(c,e),[a]=l("ConfettiSuccess");return n.useEffect(()=>{e&&o(!0)},[e]),n.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),r.jsx(r.Fragment,{children:t&&s&&a!=null?r.jsx(d,{style:{position:"absolute",width:"100%",height:"100vh",top:f.sp0,left:f.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:a,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-CRjLU1CH.js";import{a as r}from"./sentry-DZdy1Eny.js";import{n as s}from"./mui-G_qoHHKo.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 _e,Q as v,aD as q,cH as qe,V as t,bC as Ye,aP as $,T as Ge,cp as ie,cq as se,cr as le,d3 as Ke,aR as Qe,y as Y,F as x,c2 as Ze,o,d4 as Je,bT as S,ci as de,u as w,b7 as ce,ai as pe,al as K,bt as Xe,d0 as me,d5 as et,p as z,d6 as ue,cZ as he}from"./index-
|
|
1
|
+
import{e as _e,Q as v,aD as q,cH as qe,V as t,bC as Ye,aP as $,T as Ge,cp as ie,cq as se,cr as le,d3 as Ke,aR as Qe,y as Y,F as x,c2 as Ze,o,d4 as Je,bT as S,ci as de,u as w,b7 as ce,ai as pe,al as K,bt as Xe,d0 as me,d5 as et,p as z,d6 as ue,cZ as he}from"./index-CRjLU1CH.js";import{a as g}from"./sentry-DZdy1Eny.js";import{n as r}from"./mui-G_qoHHKo.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./zeni-epic-state-BlmgKn3B.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.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]="fa22e766-82b6-4aaa-a17e-4be1d17f7118",e._sentryDebugIdIdentifier="sentry-dbid-fa22e766-82b6-4aaa-a17e-4be1d17f7118")}catch{}})();const tt=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:s,accountType:l,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const b=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:b,children:[t.jsxs(nt,{children:[t.jsxs(K,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(S,{title:C,placement:"top",children:t.jsx(lt,{children:t.jsx(dt,{})})})]}),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(ct,{})})})})]})},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,Q as he,a8 as ye,aP as ae,hu as ea,aN as aa,r as ta,T as na,aR as Ee,o as a,F as Z,y as m,C as Me,d as oa,ah as ia,e as Be,bT as ra,fh as _e,R as X,p as Q,gp as ce,b as la,aq as Oe,c as ca,aQ as we,a9 as sa,fA as da,cF as ma,ac as pa,f0 as ua,fE as ha,cK as ya,hF as xe,hG as ga,gc as fa,u as r,c2 as Ca,b9 as ba,fo as Da,ci as wa,al as Ne,gX as xa,c0 as Sa,aU as $a,hH as ka,d0 as Aa,gY as La,fQ as va,fM as Ia}from"./index-
|
|
1
|
+
import{V as t,Q as he,a8 as ye,aP as ae,hu as ea,aN as aa,r as ta,T as na,aR as Ee,o as a,F as Z,y as m,C as Me,d as oa,ah as ia,e as Be,bT as ra,fh as _e,R as X,p as Q,gp as ce,b as la,aq as Oe,c as ca,aQ as we,a9 as sa,fA as da,cF as ma,ac as pa,f0 as ua,fE as ha,cK as ya,hF as xe,hG as ga,gc as fa,u as r,c2 as Ca,b9 as ba,fo as Da,ci as wa,al as Ne,gX as xa,c0 as Sa,aU as $a,hH as ka,d0 as Aa,gY as La,fQ as va,fM as Ia}from"./index-CRjLU1CH.js";import{n as i}from"./mui-G_qoHHKo.js";import{a as p}from"./sentry-DZdy1Eny.js";import{bL as pe,bP as Fa,bh as Se,bJ as Ra,bK as $e,bI as Ta}from"./zeni-epic-state-BlmgKn3B.js";import{u as Pa}from"./LabeledControlledCheckBoxField-CkG-jIW7-C2Hnry7S.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.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]="df39a08d-ecd3-4233-9ab3-50ecf317f12a",e._sentryDebugIdIdentifier="sentry-dbid-df39a08d-ecd3-4233-9ab3-50ecf317f12a")}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 X("h6Regular","h5Regular"),integerAmountInput:new X("h5Regular","largeMedium"),decimalAmountInput:new X("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:ke}},common:{edit:ja,labels:se,navBar:{back:za},to:Ea,zeniInc:Ma},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ba}},chargeCard:{payEarly:E}}}=Z.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=Be(),v=ye().analytics,[B,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(ke),_=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:Ba.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:Ma})]}),B?t.jsx(qa,{children:t.jsxs(Va,{children:[t.jsxs(Xa,{children:[t.jsx(Qa,{}),t.jsxs(Ya,{children:[t.jsx(Ga,{children:e.error?.title}),t.jsx(Ka,{children:e.error?.message})]})]}),t.jsx(Za,{children:t.jsx(Ja,{"data-testid":ae("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:a.sp3,height:a.sp3,color:Q.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(ke)}),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;
|