@zeniai/web-cockpit-ui 1.14.2-prod → 1.14.3-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-CfXmiXOX-HdsO1rRF.js → ACHDetailsPage-IlicpbsX-BV1MtBsX.js} +1 -1
- package/dist/assets/{AIPerformancePage-BTkeAbzQ-C6YdlEt7.js → AIPerformancePage-Cg8pnJ1F-WBDBeKMs.js} +1 -1
- package/dist/assets/{AccountInfoPage-Cw14e1jO-BWgINxV3.js → AccountInfoPage-Bo4f6WXu-ClVtqJpJ.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-cvYWnpel-BVzoeYEu.js → AccountInfoPageContent-CgyoqeY7-CvYbpldf.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-DOKqIknC-DGERRzSX.js → AccountReconDetailsDrawerPage-X4XAlKXA-hRtWyDj0.js} +1 -1
- package/dist/assets/{AccountRow-Ca-OS9TF-ycPNtEUp.js → AccountRow-CmtPvQJV-CYdLibRB.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-CwEVkbGD-CXEYnGnV.js → AccountsPromoCardStack-DSiki31T-CnwSZqb8.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-B1zyrJMb-BA5dYJl_.js → AddAddressForCardDrawer-BPlI1vyY-CUbpi7Yr.js} +1 -1
- package/dist/assets/{AddToWalletPage-s7c161JX-VYoX5eek.js → AddToWalletPage-D33swzes-C-rT9lMA.js} +1 -1
- package/dist/assets/{AgingReportsPage-Be-2Z_KS-mLxAPaw0.js → AgingReportsPage-fmZS9DwN-dwewtKzh.js} +1 -1
- package/dist/assets/{AllUserItems-B4Iah9-Z-CVa0uBPV.js → AllUserItems-Ah7nd-Zu-CuUaLUDf.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-D_KV9urv-BYm1EBk3.js → ApAgingDetailPage-BXFmj8CM-Cnb7ZrLg.js} +1 -1
- package/dist/assets/{AppBasePage-GbE58C1g-CXHBLMeO.js → AppBasePage-A25scWRX-BYUaLZrY.js} +1 -1
- package/dist/assets/{AppDrawerContent-YTvkEPk_-DkagbJKU.js → AppDrawerContent-DDwmivCK-LG7yyT2a.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-Cct7Nzfb-BbrjCulE.js → ApprovalRulesSettingsPage-CKtm-n4R-Chgg5hdr.js} +1 -1
- package/dist/assets/{ArAgingChart-BeVadylU-CkGtqhiN.js → ArAgingChart-0NSve898-C9cJIr6q.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-CWUA4S2q-C_HKbTR-.js → ArAgingDetailPage-2P188mhw-05og7FSZ.js} +1 -1
- package/dist/assets/{AttachmentView-DGsub__A-CDgjxv9J.js → AttachmentView-C4mcX4Zi-C-ivJPKr.js} +1 -1
- package/dist/assets/{BankAccountSection-CtTkNBok-Di1zJvEi.js → BankAccountSection-3-6tRy48-CEpsaXXh.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-dVdrPYm5-C4NCfBHS.js → BankAccountWarningSection-DiVd7shS-C8IRSlRD.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-_e4jMGI2-y8w9fVXC.js → BankConnectionsSettingsPage-DORa-BJl-DY2e9VEh.js} +1 -1
- package/dist/assets/{BillDetailPage-Dz4_gdDb-DYGLfYon.js → BillDetailPage-CntHvNW--CVlZQhzx.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-DcNLlDh2-B66-bL3L.js → BillPayApprovalRuleDetailPage-B2xSwMW8-CGcp-80j.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-C_NDjp6G-CH0vIAK0.js → BillPayApprovalRulesPage-D3zs2AXf-Dm-IcneT.js} +1 -1
- package/dist/assets/{BillPayPromoPage-TkLMkxeC-Bx8vs8_V.js → BillPayPromoPage-CuRyMElO-DjxmscmV.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-DTGSGVO0-CfpK0vhG.js → BillPaySetUpPage-l5cRtorO-BnjCpjxh.js} +1 -1
- package/dist/assets/{BillingSettingsPage-0RLFEj6x-DUh1MB-G.js → BillingSettingsPage-CX5yCTyc-C7JOHITa.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-rkkXgsz4-CtN824dI.js → BillsBulkReviewDrawerPage-hbvOVMQk-DoOQi4Oi.js} +1 -1
- package/dist/assets/{BoxItem-CIBzy4ZV-jO3rPdOl.js → BoxItem-D3QYSB_0-DLYI4sQa.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-T63_ft8O-4Bjd4ls9.js → BusinessVerificationPage-BqA2qWYz-BqATSy5M.js} +1 -1
- package/dist/assets/{CardNumberSubText-FOFiHz-M-DTaKK6Zb.js → CardNumberSubText-DbBXFWnu-nkQkeoUG.js} +1 -1
- package/dist/assets/{CashbackDetailPage-C1rbQ71n-Bj2QfueI.js → CashbackDetailPage-DmWiLgGr-B0mF5ZxP.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-OgsnesGD-B2Vx3ceC.js → ChargeCardDetailPage-CWsbYZI_-B3EskDDe.js} +1 -1
- package/dist/assets/{ChargeCardListPage-CLHFYydY-BSHVqSZ2.js → ChargeCardListPage-7OVFjrMz-DCHmq173.js} +1 -1
- package/dist/assets/{ChargeCardListTable-ePSGyBtc-6wgmHj_L.js → ChargeCardListTable-BHhRhMRt-B5Q416pX.js} +1 -1
- package/dist/assets/ChargeCardPromoPage-Bz3R_LIK-DxeGE2pZ.js +219 -0
- package/dist/assets/{ChargeCardSetupPage-DvlKbA_C-eiEvsQ3E.js → ChargeCardSetupPage-Cd8IdYSm-MogJfGap.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-CXhcA95f-Cxpo9PKe.js → ChargeCardStatementsPage-64aocTjB-nEAYdmuW.js} +1 -1
- package/dist/assets/{ChargeCardUtils--ltNyvP2-oGKoglJX.js → ChargeCardUtils-C9viDXeo-ChGOccjp.js} +1 -1
- package/dist/assets/{ChaseOverlay-CxEiwxZq-BNrOmLh2.js → ChaseOverlay-CIiRuAKM-CHTItafP.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-CmZbDsc3-sHDBmEVK.js → CheckDepositDrawerPage-DjKaXOhO-CiU-l9dD.js} +1 -1
- package/dist/assets/{CollapsableReportTable-CyQ4sWuS-DPNB06Xt.js → CollapsableReportTable-NkWEC75c-Deu0twiI.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-DPufRe0m-DIQ9FRcz.js → CompanyOfficerDetailsSection-ELXdYttn-C2ULDuzE.js} +1 -1
- package/dist/assets/{CompanyPassportCard-JgslGZ14-4Pd2Gw2j.js → CompanyPassportCard-C9oh6f6c-BmMtAkXd.js} +1 -1
- package/dist/assets/{CompanyPassportPage-B89YFcPT-BzCcLPfs.js → CompanyPassportPage-DqwIHSwq-BqcHbYKK.js} +1 -1
- package/dist/assets/{CompleteProfile-D0RvVu97-DfJAkC3O.js → CompleteProfile-BIlg3hln-nXJkeG-_.js} +1 -1
- package/dist/assets/{ConfettiBurst-D3BYCsW2-t8iMENB5.js → ConfettiBurst-DTCsF6tY-DUUt7nWP.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C6Ddagzy-DJnANmcR.js → CreateOrEditVendorPage-eK7muw60-Cl0Ovttp.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-C3mZhiZb-vvZLv9Dn.js → CreditCardPaymentDrawerPage-C5y6Qeh2-DA6G1AnC.js} +1 -1
- package/dist/assets/{CreditCardPaymentPlgSection-D9oAn9qk-ghS92Ufl.js → CreditCardPaymentPlgSection-BfHK2O6G-BIIMVTiG.js} +1 -1
- package/dist/assets/{CurrencySelectField-BBgpim44-DXUyrSgt.js → CurrencySelectField-Cq-8I5M7-B4VyHQP2.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-iG0RHsLk-DyXs2YqE.js → CustomerOnboardingActivationPage-C9-hMQWD-CcL9FOm7.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-BVOEIC7A-pQu2vkC8.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-tTcayyvt-BO55NyM3.js → CustomerOnboardingDetailPageSkeleton-CTWkmWXm-pLg_xRl2.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CIranNRI-D8r3Yarq.js → CustomerOnboardingNoStepsPage-CMsvHUPO-DxVhq6DJ.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-aq8E7XsP-DRn0yoSf.js → CustomerOnboardingPage-CUUtm6Cl-CcOROhvt.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-DRnOKNVC-D57c6w5c.js → CustomerOnboardingProductSuitePage-pN8y9rAE-Dm_9mU8D.js} +1 -1
- package/dist/assets/{Dashboard-DyvhSbme-BD6lbffi.js → Dashboard-xlal4qqq-BhfJA9fU.js} +1 -1
- package/dist/assets/{DashboardReportPage-Cy_f84RN-C9STDAW3.js → DashboardReportPage-CBhxD-B4-B1gJcJpL.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DK15lI5V-DAbJ9KrC.js → DepositAccTransactionItem-B2nnVYf9-rW4LVabI.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-CRBhV8W1-CUv0ECJV.js → DepositAccTransactionListPage-C8rgdc0N-BbR2acc-.js} +1 -1
- package/dist/assets/{DocumentSecurityBanner-C0bght0k-BhqJLdrA.js → DocumentSecurityBanner-D-c2msUb-CaQCac0Q.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-BX8glsOH-DhS6bWwa.js → DomesticWireDetailsPage-racBIxWu-CwdqjfvP.js} +1 -1
- package/dist/assets/{DownloadOverlay-C5kTy4dA-BGRhh_Xe.js → DownloadOverlay-Cvo4oa42-DDw7tM5d.js} +1 -1
- package/dist/assets/{DrawerPage-Bwgpjwed-CZvLNZBl.js → DrawerPage-ChV5Xh-2-BECBl1xE.js} +1 -1
- package/dist/assets/{EditPeoplePage-W-SFOxhC-C1tPniVF.js → EditPeoplePage-CMtniu66-CbNczsx5.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-D1Iduokd-Dd_BAG6z.js → EditReimbursementDetailPage-Bx4frTSg-u3z1HUwv.js} +1 -1
- package/dist/assets/{EntityDetailPage-BkRcX4SZ-DXItGxap.js → EntityDetailPage-CZSlVlVM-fWfezg2_.js} +1 -1
- package/dist/assets/{EntitySummarySection-BlJR-qOB-C9Vg7Vk3.js → EntitySummarySection-BVcKIen2-D-hDoU5O.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-qT0g5t_P-1wxnpZ3u.js → ExpenseAutomationOverviewPage-BWGtpYKA-CYMVEYAp.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-CMKwWy2d-DDtpb5oo.js → ExpenseAutomationPage-PAOsfgJ8-CPl3uYta.js} +1 -1
- package/dist/assets/{ExpressPayPage-DXfqMxkG-rH7gRIQL.js → ExpressPayPage-CwQ5ge-1-DmBTsUV7.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-CjZuOo_K-CQMOuCHs.js → FeaturePreviewPage-BFHtMaGo-CEUrU8f1.js} +1 -1
- package/dist/assets/{FollowStepsSection-CO5MsYe6-OK1Lvo2N.js → FollowStepsSection-d9o0CLQV-Cz3LnKWr.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-BIMdWu5P-E4MAcsAR.js → GlobalReviewListPage-DDVOPoeM-BndlcNlU.js} +1 -1
- package/dist/assets/{HelpButton-BGHsn-1b-ViYjgrQ_.js → HelpButton-Cms9G_Fp-BBuusntx.js} +1 -1
- package/dist/assets/{InformationCardStack-B8rD8LSH-C9kpSFRZ.js → InformationCardStack--nHJ7Vje-DTxYdwn7.js} +1 -1
- package/dist/assets/{InsightsCardStack-AwXZ6ysD-DPj3GBdR.js → InsightsCardStack-DogY3RH--JX-OLq6I.js} +1 -1
- package/dist/assets/{InsightsSection-BZS-MEy4-CqXkHRdk.js → InsightsSection-BFSU6XTB-CqZsOa8Z.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-D2tfKsbR-B788tHcC.js → IntegrationsSettingsPage-CH8yZ1rE-FCBOnRZG.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-5NmSFI7x-I9-QPouI.js → InternationalWireSwiftDetailsPage-5xZXSwfn-BNBBpaju.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-C8WA6jI_-DFv48Jfi.js → InternationalWireVerificationPage-CYE3BuMX-ljIf1S9O.js} +1 -1
- package/dist/assets/{InviteFormPage-DC2ewDUN-Byg2DKs_.js → InviteFormPage-CpSZgL3C-BAwlXQdu.js} +1 -1
- package/dist/assets/{InvitePageListView-DaShj4IM-CPDBMTJg.js → InvitePageListView-CxWgQb_H-lGpxzN76.js} +1 -1
- package/dist/assets/{InvitePeoplePage-BbY4ZpGl-CgNP2Buy.js → InvitePeoplePage-D2dxkMSc-D6ezskAA.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-DZJTULDZ-CMYzPvzW.js → InvoiceUploadSection-CesF-8aw-VCRMmqB2.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-C1zB2vrB-ymYgphiN.js → IssueChargeCardPage-BHoqeA-T-QRHX7oQN.js} +1 -1
- package/dist/assets/{LabeledAddressValue-BDA7y5Fq-DMISN_gT.js → LabeledAddressValue-BzK11ds6-CRaU9zWw.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-fj8E8gFz-BlHTUrH6.js → LabeledAddressValueField-DCYUeYio-CbmzwkEi.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-aLuztBgv-Dw-0UvqI.js → LabeledControlledCheckBoxField-uBDSnSo1-DkIHLNe5.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-zhHbiOVO-BdRX76cP.js → LabeledCreatableSingleSelectField-DCazn6yx-BaRWYFjn.js} +1 -1
- package/dist/assets/{LabeledDocumentField-BTgmGAGq-Dbgxql9e.js → LabeledDocumentField-Cip0e83a-AMdSbb7b.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BdAKZt7q-CTGpgo5H.js → LabeledDropDownFormattedTextField-BEG28_NH-DyHEcTe0.js} +1 -1
- package/dist/assets/{LabeledText-CMrFKM7D-DP5kPmPZ.js → LabeledText-CuwxNLlP-BYhz7pRD.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C8A0HrPt-CU_fXue0.js → LabeledUserSingleSelectWithSubtitlesField-BST69Rvq-BOe36urj.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-BaiPRGJf-B9XDPZWe.js → LabeledZeniRolesDropDownField-CsBQ5HAf-C2yM2C0-.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-CWc1e0RL-Dtgktwm8.js → LinkJETransactionPage-Dqx2CF7d-CMpJ_yKN.js} +1 -1
- package/dist/assets/{LowBalancePopup-COu8cuzS-CORrHX5b.js → LowBalancePopup-B7YSf5nh-BG3RrNxr.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-h0Srx7SO-DKKD93KP.js → MagicLinkACHDetailsPage-Onv3TsOp-C9JNg-YN.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-BIZqOfHW-b5WqRupm.js → MagicLinkDomesticWireDetailsPage-DyQ47uYn-D104KD58.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-MSHTQMXn-DxY0IBla.js → MagicLinkInternationalWireDetailsPage-C-AvrrYI-DhJE7w2X.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-BjWw4cqt-BrxgMfBD.js → MagicLinkSuccessPage-BSHuvzHb-Mm1ZHACD.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-Cll6JJDZ-tDIaTLob.js → MagicLinkTitleSection-C7oqHWqv-CkKgTikM.js} +1 -1
- package/dist/assets/{MailingDetailsSection-DWSj0MOB-k0vuo5eB.js → MailingDetailsSection-Cl8HeSLQ-uuzcsCOp.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-CTuOhFQC-aD1zm7T2.js → MeetingCalenderPopup-Crufcivq-DYL_5ev9.js} +1 -1
- package/dist/assets/{Menu-DlBP5CCV-CgTw2T2t.js → Menu-Bxgksma7-CwtXkA2y.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-BYqoUq4q-DCwRIFIr.js → MyBankConnectionsSettingsPage-CP2msF1X-D4XZ8GKL.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-BABBa4je-DD33NyVP.js → MyPendingActivationChargeCardListPage-BycRkfNQ-gnjx5ns4.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-Dk_jK8-R-C9chJR72.js → MyProfileSettingsPage-RuUJD6J4-L9fgB6K2.js} +1 -1
- package/dist/assets/{NavBarWithPicker-BC2xbV2b-QJP3orFD.js → NavBarWithPicker-JELo6Q4S-Cn6VM2o-.js} +1 -1
- package/dist/assets/{NavigationArrow-BovrdeuJ-Bm16YkBq.js → NavigationArrow-CFSP9IjV-BU2CiUJ5.js} +1 -1
- package/dist/assets/{NavigationDots-yYTGREt4-o-dFWYFn.js → NavigationDots-GHAOWiXe-DijU92FW.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BKlPnipd-qGgEnrrS.js → NewGlobalMerchantPage-DwEjytGo-BuMba8Am.js} +1 -1
- package/dist/assets/{NoDataChart-Dhg-k7iX-CnTRioZP.js → NoDataChart-CwAwvz9y-tnXSTZKG.js} +1 -1
- package/dist/assets/{NoDataTable-jpCLeiDv-aqVf5lYA.js → NoDataTable-BAMPdDP7-4lsrb7c4.js} +1 -1
- package/dist/assets/{NotFoundPage-DrKqVOry-kmB0S_63.js → NotFoundPage-CaEcM3_c-CH_uBfaJ.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-lojoBPQ8-B-SmhUX8.js → NotificationSettingsPage-Bam34Xpg-_SWjmK6y.js} +1 -1
- package/dist/assets/{NotificationsListConfig-jbIMYvrE-DMp-I6Rl.js → NotificationsListConfig-B68mFIbn-DRANFTIn.js} +1 -1
- package/dist/assets/{NotificationsPage-DJNUS9wc-BdubPX30.js → NotificationsPage-C5ordrdT-eTh3hvRm.js} +1 -1
- package/dist/assets/{OpExByVendorPage-xMyUkO51-C7SP8XvL.js → OpExByVendorPage-DY3NOyYr-BRCFdRPW.js} +1 -1
- package/dist/assets/{OverlayContainerPage-GWXnlbZH-CtP7BBah.js → OverlayContainerPage-GWXnlbZH-lmI6l66W.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-BHtPelIT-C4DZKyNx.js → PandLWithForecastPage-BX6aj5Y6-BUH43uoJ.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-B2ZBSiCT-DvK7Atxu.js → PaymentAccountSetupBillingAddressSection-f5qsN-3Y-COAiLT15.js} +1 -1
- package/dist/assets/{PeoplePage-CzQXmGVU-Dz5etXHM.js → PeoplePage-BkXdO_eN-xwRWTCEx.js} +1 -1
- package/dist/assets/{PortfolioAllocationFormPage-B1Xa0wKV-BOqkC6Et.js → PortfolioAllocationFormPage-C_lmPeC9-C18wgQ96.js} +1 -1
- package/dist/assets/{PortfolioDetails-BY-IK4yO-DLwKeFjR.js → PortfolioDetails-BvN3T8NL-DoMnVuUh.js} +1 -1
- package/dist/assets/{ProductsCarousel-B7h_gH-R-DSfL7anL.js → ProductsCarousel-BP9cI12D-BNZhjwFx.js} +1 -1
- package/dist/assets/{PromoBaseCards-CuJXuijt-DIxXjtFZ.js → PromoBaseCards-6W04d7zP-W30n2OVX.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-DsNkkj_j-sRwiQAGM.js → QBOConnectionDialog-DjT-h910-BrRnOxYD.js} +1 -1
- package/dist/assets/{QBOSetupSection-DkoopYHr-DYYrUbDL.js → QBOSetupSection-DXfY8nFt-HGFNBREA.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BAapaJEJ-BngiNQ3j.js → ReimbursementApprovalRuleDetailPage-I93XcmAv-DMBKbjre.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BkiZVc7S-CwWu9Unn.js → ReimbursementApprovalRulesPage-D8mME0QI-Dr7WnKRv.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-S9j_KDZJ-DUHfBGEV.js → ReimbursementDetailPage-CsqyYapD-CKKB2z3g.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-BJJruudV-I313yocB.js → ReimbursementPromoPage-CjjAZH_R-Dt1GOOz2.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-CQdxq5lk-BJ00ZSjH.js → ReimbursementSetUpPage-CmENGPDd-BRi24MH9.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-5LGKVY6X-BOMONwjy.js → ReimbursementsBulkReviewDrawerPage-DodlV376-D5cajYMF.js} +1 -1
- package/dist/assets/{ReloadCard-DBRY9FdH-45JShMDn.js → ReloadCard-DCswXdRU-BPS0YQ7v.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-DOxnK0VV-BRFaXHqE.js → ReportTableViewSelector-CuJjacY9-Ca0_9any.js} +1 -1
- package/dist/assets/{ReportsPage-r_MRjkkb-C89tTwuB.js → ReportsPage-BS1znKom-DkBiyG8B.js} +1 -1
- package/dist/assets/{RevenueChart-DhCkb0c6-DkjXniSo.js → RevenueChart-QYZoX_2o-MAXFDj15.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-DWtgiOYE-BiYpxYZJ.js → ReviewDetailsPage-DlcjxoKl-zHEBuEqI.js} +1 -1
- package/dist/assets/{ReviewOverlay-CjWEPPvw-DinxzDQY.js → ReviewOverlay-qo1v9-E4--nEQ0-B2.js} +1 -1
- package/dist/assets/{RoleWithToolTip-4WCTaiOg-DCBdF7b4.js → RoleWithToolTip-7IBT7PpV-Bt6xYXjy.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CSxG7vXq-Bp848nAx.js → ScheduleDetailsFixedAssetsPage-kz4Xwcye-Cfkf5x2O.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-BqaZqCZJ-DDhVs96p.js → ScheduleDetailsPage-guEjspG5-CZ7XeIIh.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-H_kZuoon-wR07cEVi.js → ScheduleSequenceTable-4Yc3ZRdp-BAXIPK8E.js} +1 -1
- package/dist/assets/{ScreenRoutes-DWEs2Foz.js → ScreenRoutes-BjyF1noT.js} +1 -1
- package/dist/assets/{SetUpAccountSection-B9L-2aHz-P8fUN_yN.js → SetUpAccountSection-BlokopoC-B8jxPtba.js} +1 -1
- package/dist/assets/{SetUpDefaultSection-DO9aLike-Cgjhnla4.js → SetUpDefaultSection-CjXLrIH0-Clr5GDIw.js} +1 -1
- package/dist/assets/{SignIn-DOSDfnki-DxBeTX1e.js → SignIn-B4sJUaDd-DT69iJIX.js} +1 -1
- package/dist/assets/{SignInScreen-B0t8ks40.js → SignInScreen-0Ar5-HKl.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-D6ysU0TE-BVguj5Qe.js → SpendManagementListViewPage-LA2GQyOi-SuHOoTma.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-CHvroeCa-MQxblRYw.js → SpendManagementPerTabPage-BSV94PVx-BHG5M2dn.js} +1 -1
- package/dist/assets/{SpendManagementSection-BaEgJPY4-cHzOCBfZ.js → SpendManagementSection-D5lkkIVU-DvhlO9ad.js} +1 -1
- package/dist/assets/{SpendMgmtSetupAccountSection-CVaXDNNK-CuVVeVb9.js → SpendMgmtSetupAccountSection-B2F0oKk_-DdOYa9CD.js} +1 -1
- package/dist/assets/{StatementItem-CYPCJ0XS-OmKQoe2Q.js → StatementItem-CfkMZIbO-BcziylIY.js} +1 -1
- package/dist/assets/{StatementsPage-Cyqg2jd1-CEr4UA2t.js → StatementsPage-DmbLst4p-B0-XPxGT.js} +1 -1
- package/dist/assets/{StatusSwitcher-C5UGqQw8-7DeBP8jr.js → StatusSwitcher-BQK9o7R4-ClI6HZ7l.js} +1 -1
- package/dist/assets/{SubTabSwitcher-B3rFIZQy-U6xcEL8y.js → SubTabSwitcher-DWeDSFKx-DFdhIaTt.js} +1 -1
- package/dist/assets/{SummaryCard-CNADDyPG-Bx2os7fX.js → SummaryCard-egnXlcLU-CJYKpqj3.js} +1 -1
- package/dist/assets/{TaskManagementPage-CtUQXjo2-DSvUimvL.js → TaskManagementPage-CMRKQ-Ko-D3OWgs44.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-BXXqX3m6-B-wqnEzL.js → TimeRangeSwitcher-OxjJ576j-axxrAdNq.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-Bk9rjDg4-D_j--sl6.js → TimeframeSwitcher-DrC9bvMo-Cf9PWe5k.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-RH8QHQFd-DfjScyp3.js → TimeframeSwitcherWithToggle-C7fCh8tl-Cz8vBFWH.js} +1 -1
- package/dist/assets/{TopExCard-xJbS_mNo-BWLPZpoi.js → TopExCard-wnzLjnaP-Bb8wcxT5.js} +1 -1
- package/dist/assets/{TopExDetailPage-BDUuqAEK-hDNPSPP6.js → TopExDetailPage-BbKGbGU5-DGAHsC7l.js} +1 -1
- package/dist/assets/{TransactionDetailPage-CtzLtYa8-CuuXMQUt.js → TransactionDetailPage-DztoB9X4-w333wj7f.js} +1 -1
- package/dist/assets/{TransactionList-DS-_gBrf-LBDImcGb.js → TransactionList-DmEyc2C4-C4T7m47j.js} +1 -1
- package/dist/assets/{TransactionListBig-D9ebH5C0-DoVWUOCd.js → TransactionListBig-BK_J4i4g-R4YdcNj6.js} +1 -1
- package/dist/assets/{TransactionListPage-CPjayOv5-Dv48zFdM.js → TransactionListPage-Ca55hjDg-DTmTZymQ.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DMYoBJ23-CenbqTKW.js → TransactionVendorDetailPage-7_O3STPw-C52mxcJH.js} +1 -1
- package/dist/assets/{TransferDrawerPage-BAghLjPn-CTuBMnf9.js → TransferDrawerPage-CvCsaIq--UQ_zMmo8.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-B7EFea4a-C1vXBGmp.js → TreasuryOverviewPage-DIKQKR_u-BBi0rQ-7.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-D7Y8yGpx-CWCeTsIp.js → TreasuryPromoPage-BpgRih0--CinnLSlr.js} +1 -1
- package/dist/assets/{TreasurySetupPage-B1SZd_a5-PcvcSmLw.js → TreasurySetupPage-CZ1BTHXX-D9c-uj1m.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-uakhQGBW-DKZ6_LpJ.js → TreasuryStatementsPage-DgoatXf4-D5W_4zm0.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-BHvr72P1-uW39N5VP.js → TreasuryTaxLetterPage-DZsnsmnk-rLI976GY.js} +1 -1
- package/dist/assets/{TreasuryTransferOrReviewPage-BBPDHav1-C80-X1yr.js → TreasuryTransferOrReviewPage-BFRIDROn-C9IFf4oB.js} +1 -1
- package/dist/assets/{TrendChart-ChiKhGtw-DK2QGClp.js → TrendChart-BfsNpqPF-Cxaiidf-.js} +1 -1
- package/dist/assets/{TrendWithTransactions-DEMNHbbz-BlBi98-D.js → TrendWithTransactions-CcmSvqVJ-DNFGC0yy.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-BDNznj4Y-CoElCbxG.js → UncategorizedAccountsMappingPage-LqkF-E1i-CYAoE57_.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-Bgu5xfcn-eSzkEWdZ.js → UnitIntegrationPage-uA8jq1yR-cSFrtlP0.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-DW6WCx4i-KZOV7W5B.js → UploadAdditionalDocumentOverlay-N0bSxafO-DgWhDXaG.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-D34glhep-Dw0mEuJb.js → Vendor2FAPopup-e-xRW6rn-CbpC-XOE.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-CSqpbr2r-CUJQPEjl.js → VendorACHDetailsPage-Cca7Gf4u-BCUQDRT7.js} +1 -1
- package/dist/assets/{VendorDetailPage-CJw1v9tJ-CUUIYAEK.js → VendorDetailPage-Bk_NbpIs-BLsXLqEF.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-BY8F5AWO-CXMEUggT.js → VendorDomesticWireDetailsPage-BI35k3uH-C2-ad_pK.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-COYZCnYS-D57svQrA.js → VendorFiling1099EditablePage-Cr3OoQa1-DV2Qpx84.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-BqnXdq6Q-To1ZaEWe.js → VendorFirstReviewPage-O82qXI11-Wuqi3MWC.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-K9botaZv-o2BfpQn1.js → VendorInternationalWireDetailsPage-a5jqRn0i-CNAfxXBb.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DQ_akVN_-1srIc6Yx.js → VendorInternationalWireSwiftDetailsPage-CR3nUSIG-F9MKJx_S.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-D5d42xeO-CIQE1MWV.js → VendorsAccountsSection-DUUy43AG-BNdHvB_A.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-DiA5MRFe-Q2mkU1UR.js → WarningsDrawerPage-ANVg-uR9-D7FCptP9.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-DSCbx6BB-BkU2ffLb.js → ZeniAccountDetailPage-DuaoV3nD-BKNysVpy.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-7zssUaoL-BOWORU-Z.js → ZeniAccountListViewPage-DJoQlRuS-CT2VvjKF.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-By4S70vz-BTXBz4ms.js → ZeniAccountNavBarPieces-DciiSI3f-BrOLrsYt.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-Bvr4t7zq-C-cRSOal.js → ZeniAccountPromoPage-C4TGOls6-4ZEM9j7C.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-DtDN9JWk-4i4-P84B.js → ZeniAccountSetupPage-CvIAyaFj-BtJrDz6t.js} +1 -1
- package/dist/assets/{ZeniCopyright-CxC3wvp1-Dju5F_wF.js → ZeniCopyright-9rssOaZJ-ByYr9Bd3.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CcbG1sHp-CxXdFVV9.js → ZeniTransferAmountSlider-0yTtw1XU-DummaIPJ.js} +1 -1
- package/dist/assets/{analyticsHelper-3y6VD3VH-CalsXH6c.js → analyticsHelper-BLAu2yM--BtlUQ17P.js} +1 -1
- package/dist/assets/{analyticsHelper-BFuf-C5Z.js → analyticsHelper-BvCId75V.js} +1 -1
- package/dist/assets/{chartTypes-mKuCmPTG-DULOOFQ3.js → chartTypes-Br4XSz7W-oIvhtG3a.js} +1 -1
- package/dist/assets/{commonDimensions-BHBDbLXD-mpSlbOYx.js → commonDimensions-DYyjzo8L-DgdXOvG4.js} +1 -1
- package/dist/assets/{detailCommon-1QwSQL9C-DupJZm2g.js → detailCommon-CXtdUvH5-KT3peqoB.js} +1 -1
- package/dist/assets/{downloadPdf-DjM3Z_88-DG6Whfx0.js → downloadPdf-Ceik9x1F-CBmYmy4S.js} +1 -1
- package/dist/assets/{index-CUNAkabD.js → index-s8qDJKCo.js} +5 -5
- package/dist/assets/{mapLoadingInProgressToTreeNode-CKZd1bh4-CmCQ6-U_.js → mapLoadingInProgressToTreeNode-CTk8G3Gw-DzBo3k79.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CO6ix8Ks-DR8pQf5S.js → mapSectionWithAcOnlyToTreeNode-DSfitd4--B4ZZl_RV.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CzcEW1Rc-h9Rs4eBe.js → mapSpacerToTreeNode-NDmnO3-w-D-H_dtde.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CEDhLCxY-Csy202kf.js → mapTimeframeBalancesToTreeNode-CCDxZE7U-CgasGiHN.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-y3lzh3vX-Do81koIQ.js → mapTimeframeBalancesToTreeNode-DxbCC6c3-Ds5uSc5-.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Bf3d9TrW-CfRUgsIF.js → mapTimeframeHeaderLoadingInProgressToTreeNode-nb9z_DUI-kxLgoPLv.js} +1 -1
- package/dist/assets/{play-icon-DfMYCOJa-rmnBsOYL.js → play-icon-CUEtOPwa-CoomuQ4g.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-CEvuOTjK-B9h_Nwsy.js → toCOABalancesWithID-BuGHg1ur-DMCVRPFW.js} +1 -1
- package/dist/assets/{toChartData-D2kGY49E-CxMwnWkk.js → toChartData-C5QlPh1F-BE1Imfno.js} +1 -1
- package/dist/assets/{treasuryColorHelper-k2phUKLw-BDQCpXPj.js → treasuryColorHelper-D1HNtoAk-DoXq99rd.js} +1 -1
- package/dist/assets/{uploadAttachment-kyOdZMbL-DGJ2kaOr.js → uploadAttachment-zGYCP5sV-DwhW2FOQ.js} +1 -1
- package/dist/assets/{uploadReceipts-D80JLNY4-BWEWA22u.js → uploadReceipts-D80JLNY4-MsCjmjS2.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/ChargeCardPromoPage-Bi9cAv-f-Bftqk6h9.js +0 -219
- package/dist/assets/CustomerOnboardingContainerPage-Dh5KIySS-BqPHhLuX.js +0 -1
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
import{X as b,M as oe,j as r,u as H,w as $e,d2 as ye,a1 as be,_ as je,l as Se,fk as Te,aV as ve,K as Y,Y as q,o as t,c0 as ze,k as O,c1 as Pe,Z as ke,C as g,bP as Be,bs as Ae,i5 as Ie,v as Me,m,Q as j,g as $,ao as Re,a6 as Le,i6 as _e}from"./index-s8qDJKCo.js";import{b as S,n as a,j as Ee,k as De}from"./vendor-CnQcJ2Lu.js";import{x as Fe}from"./MeetingCalenderPopup-Crufcivq-DYL_5ev9.js";import{f as Ue}from"./NavigationDots-GHAOWiXe-DijU92FW.js";import{J as N,N as G}from"./PromoBaseCards-6W04d7zP-W30n2OVX.js";import{M as R}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const x={containerPaddingTopBottom:new g(m[0],m[0]),uspContainerMarginX:new g(m[6],m[0]),midContainerGap:new g(m[4],84),iconContainerMinHeight:new g(236,396),emptySectionHeight:new g(m[6],43),navigationBottom:new g(m[4],94),navigationLeft:new g(192,244),carouselHeight:new g(268,396),carouselMarginTop:new g(54,m[4]),carouselMarginLeft:new g(120,m[12]),buttonTrayGap:new g(m[3],m[5]),termsOfAgreementMarginTop:new g(m[5],m[10]),contactAdminContainerMarginTop:new g(m[0],m[10]),contactAdminContainerMarginBottom:new g(m[4],m[0]),contactAdminContainerMarginLeftRight:new g(m[3],m[0])},T={promoBadgeText:new j("standardRegular","largeRegular"),promoBadgeTextBold:new j("standardBold","largeBold"),cardsContent:new j("extraSmallRegular","smallRegular"),contactAdmin:new j("extraSmallRegular","largeRegular"),uspText:new j("smallRegular","standardRegular"),uspBoldText:new j("smallMedium","standardMedium")},{common:ee,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),Mr=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:i,showEnableCardButton:n,controllerEmails:p,isCreditCardProductVisible:h,isDebitCardFeatureEnabled:c,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:f,admins:z,cashbackRate:P,cardPromoType:u="credit",onSetupButtonClick:l,onBackClick:d,onClickMenuIcon:pe,onSetupChargeCardSuccess:V,onExpressInterestClick:me})=>{const he=H(),Z=$e(),v=b(),J=ye().analytics,{chargeCardTermsDetails:L,companyChargeCardInfo:C,companyLocaleInfo:_}=i,K=be(L?.fetchStatus.fetchState),[xe,Q]=S.useState(!1),ge=()=>{J.trackCardsPromoPageClicked("schedule demo"),J.trackCardsScheduleDemoClick(p,{isCreditCardOffered:h,isDebitCardOffered:c,isDebitCardEnabled:w,isCreditCardEnabled:f},"Cards Promo"),Q(!0)},ue=C!=null&&_!=null?je("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:_.currencyCode,currencySymbol:_.currencySymbol}):void 0;S.useEffect(()=>{K==="In-Progress"&&L?.fetchStatus.fetchState==="Completed"&&V()},[K,V,L?.fetchStatus]);const W=Se.hasChargeCardAdminLevelAccess(Z.loggedInUserRoleMap),we=Te(Z),E=u==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=u==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=u==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,fe=u==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:Ce}=i,X=E?o.getPreApprovedNow:n?o.enableCardsButton:o.setupCardsButton;return r.jsxs(Ze,{children:[r.jsx(ve,{title:o.title[u],backgroundColor:he.colors.grey4,onBackClick:d,showBackButton:!0,showMenuIcon:v==="medium-compact"||v==="small",onClickMenuIcon:pe,style:{zIndex:9},source:"ChargeCardPromoPage"}),xe===!0?r.jsx(Fe,{onCancelClick:()=>{Q(!1)},meetingUrl:e}):null,r.jsx(We,{windowSize:v,children:W===!0?r.jsxs(Qe,{children:[r.jsxs(Ke,{children:[r.jsx(Ge,{isApproved:fe,creditAmount:ue,cardPromoType:u,isUnderReview:F,isRejected:D,showExpressInterest:E}),r.jsx(ne,{cardPromoType:u,cashbackRate:P})]}),r.jsx(ae,{showEnableCardButton:n,cardPromoType:u,isUnderReview:F,isRejected:D,showExpressInterest:E})]}):r.jsx(He,{companyLegalName:s,cards:[],admins:z,cashbackRate:P,hasZeniFinopsRoles:we,cardPromoType:u})}),W&&!(F||D)?r.jsxs(ir,{windowSize:v,children:[r.jsx(Y,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:ge,"data-testid":q("schedule-demo-button")}),r.jsx(Je,{windowSize:v,children:o.orText}),r.jsx(Y,{variant:"primary",label:X,style:{minWidth:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||Ce==="In-Progress",onClick:X===o.getPreApprovedNow?me:()=>l(u),"data-testid":q("enable-card-button")})]}):null]})},Ne=({admins:e})=>{const s=e.flatMap(n=>n.user?.firstName+" "+n.user?.lastName).join(", "),i=b();return r.jsxs(pr,{windowSize:i,children:[r.jsx(U,{underline:!1,windowSize:i,children:o.noCardAssigned.pre}),r.jsx(Ae,{title:s,placement:"top-start",style:{padding:`2px ${t.sp2}`},children:r.jsx(U,{underline:!0,windowSize:i,children:o.noCardAssigned.tooltip})}),r.jsx(U,{underline:!1,windowSize:i,children:o.noCardAssigned.post})]})},ae=({cardPromoType:e,showEnableCardButton:s,isUnderReview:i,isRejected:n,showExpressInterest:p,isCardUser:h=!1})=>{const c=b();return r.jsx(tr,{windowSize:c,children:r.jsx(Ie,{topTermLabel:e==="credit"||e==="debit_and_credit"?o.terms.checkingAccountTerm:void 0,buttonTermLabel:i===!0||n===!0||h===!0?void 0:p===!0?o.terms.approvalTerm:s?o.terms.alternateTerm1:o.terms.terms1,showEndIcon:!1,showTerms:n===!1||h===!1,style:{marginTop:x.termsOfAgreementMarginTop.valuePx(c)}})})},Ge=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:n,isRejected:p,showExpressInterest:h})=>{const c=b(),w=s==="debit_and_credit"?o.promoTextDebitCreditCard:s==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,f=e?r.jsxs(r.Fragment,{children:[o.promoBadgeText.approved,r.jsx(te,{children:i}),o.creditLimit,ee.strings.space]}):h?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(er,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,o.promoBadgeText.nonPreApproved.higherLimits]}):n?o.promoBadgeText.underReview:p?o.promoBadgeText.rejected:r.jsxs(r.Fragment,{children:[o.promoBadgeText.preApproved,r.jsx(te,{children:i}),o.creditLimit,ee.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:c==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]})}),r.jsxs(Ye,{cardPromoType:s,hideBadge:i==null||s==="debit",windowSize:c,children:[n||p?null:r.jsx(Cr,{}),r.jsx(qe,{windowSize:c,children:f})]})]})},He=({companyLegalName:e,cards:s,admins:i,cashbackRate:n,hasZeniFinopsRoles:p,cardPromoType:h="credit"})=>{const c=b(),w=h==="debit_and_credit"?o.promoTextDebitCreditCard:h==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[c==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]}),s.length===0?r.jsx(cr,{windowSize:c}):r.jsx(Oe,{cards:s,companyLegalName:e}),r.jsx(ne,{cardPromoType:h,cashbackRate:n}),p?null:r.jsx(Ne,{admins:i}),r.jsx(ae,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:h})]})},Oe=({cards:e,companyLegalName:s})=>{const i=H(),n=b();let p="",h;if(e.length===1){h=e[0].cardCreatedByUser.photo;const c=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;p=o.cardAssigned.singleCreditCard.replace("__issuing-user__",c).replace("__company-name__",s)}else p=o.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(hr,{children:[h!=null?r.jsx(Xe,{width:t.sp5,height:t.sp5,style:{paddingTop:n==="small"?t.sp1:t.sp0},src:h.href,alt:oe.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:c})=>{c.onerror=null,c.src=Be},loading:"lazy"}):null,r.jsx(mr,{windowSize:n,mode:i.mode,children:r.jsx(xr,{windowSize:n,children:p})})]})},re=({windowSize:e,cardPromoType:s})=>{let i=o.businessText;return s==="debit"&&(i=`${i} ${o.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(Ve,{}):r.jsxs(ar,{windowSize:e,children:[r.jsx(N,{cardPromoType:s,cardText:i,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(G,{cardPromoType:s,cardText:i,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ne=({cardPromoType:e,cashbackRate:s})=>{const i=b(),n=o.benefits;return r.jsxs(rr,{windowSize:i,children:[i==="small"?r.jsx(re,{windowSize:i,cardPromoType:e}):null,r.jsxs(or,{windowSize:i,children:[r.jsxs(B,{windowSize:i,children:[r.jsx(I,{children:r.jsx(dr,{})}),r.jsxs(M,{children:[r.jsx(y,{windowSize:i,children:n.item1.pre}),r.jsx(A,{windowSize:i,children:n.item1.bold.replace("__cashback__",(s*100).toFixed(2))}),r.jsx(y,{windowSize:i,children:`${e==="credit"||e==="debit_and_credit"?n.singleStarred:""}${n.item1.post}`})]})]}),r.jsxs(B,{windowSize:i,children:[r.jsx(I,{children:r.jsx(nr,{})}),r.jsxs(M,{children:[r.jsx(y,{windowSize:i,children:n.item2.pre}),r.jsx(A,{windowSize:i,children:n.item2.bold}),r.jsx(y,{windowSize:i,children:n.item2.post})]})]}),r.jsxs(B,{windowSize:i,children:[r.jsx(I,{children:r.jsx(lr,{})}),r.jsxs(M,{children:[r.jsx(y,{windowSize:i,children:n.item3.pre}),r.jsx(A,{windowSize:i,children:n.item3.bold}),r.jsx(y,{windowSize:i,children:n.item3.post})]})]}),r.jsxs(B,{windowSize:i,children:[r.jsx(I,{children:r.jsx(sr,{})}),r.jsxs(M,{children:[r.jsx(y,{windowSize:i,children:n.item4.pre}),r.jsx(A,{windowSize:i,children:n.item4.bold}),r.jsx(y,{windowSize:i,children:n.item4.post})]})]})]}),i==="small"?null:r.jsx(re,{windowSize:i,cardPromoType:e})]})};let k;const Ve=()=>{const e=b(),s=H(),[i,n]=S.useState(0),[p,h]=S.useState(!1),c=o.businessText,w=`${c} ${o.debit}`,f=[{id:1,cardType:"debit",cardText:w},{id:2,cardType:"debit",cardText:w},{id:3,cardType:"credit",cardText:c},{id:4,cardType:"credit",cardText:c}];S.useEffect(()=>(p||(k=setInterval(()=>{n(l=>{const d=l+1;return d===f.length?(h(!0),0):d})},2e3)),()=>clearInterval(k)),[p,f.length]),S.useEffect(()=>{p&&k!=null&&clearInterval(k)},[p]);const z=(l,d)=>{switch((l-i+f.length)%f.length){case 0:return{transform:`translate(0,${d?"100%":0}) scale(1)`,zIndex:d?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${d?"80%":"5%"}) scale(0.75)`,zIndex:d?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};default:return}},P=l=>{const d=z(l,!0);return{...d,transform:`${d?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}},u=l=>{p||h(!0),n(l)};return r.jsxs(gr,{windowSize:e,children:[r.jsx(ur,{windowSize:e,children:f.map((l,d)=>r.jsxs(wr,{children:[r.jsx(ie,{isReflection:!1,style:{...z(d,!1)},onClick:()=>u(d),children:d===0||d===2?r.jsx(N,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}}):r.jsx(G,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},l.id),r.jsx(ie,{isReflection:!0,style:{...P(d)},children:d===0||d===2?r.jsx(N,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,forDashboard:!1,showChip:!0,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent 90%)",WebkitMaskImage:"linear-gradient(to top, black, transparent 90%)"}}):r.jsx(G,{cardPromoType:l.cardType,cardText:l.cardText,showChip:!0,shouldAnimate:!1,forDashboard:!1,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent)",WebkitMaskImage:"linear-gradient(to top, black, transparent)"}})},`reflection-${l.id}`)]},l.id))}),p&&r.jsx(Ue,{numberOfDots:f.length,activeIndex:i,handleClick:n,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:t.sp2,height:t.sp2},style:{cursor:"default",position:"absolute",bottom:x.navigationBottom.valuePx(e),left:x.navigationLeft.valuePx(e),zIndex:7}})]})},Ze=a.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex: 1 1 auto;
|
|
4
|
+
min-height: 100%;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
7
|
+
`,Je=a(Me)`
|
|
8
|
+
color: ${e=>e.theme.colors.hero};
|
|
9
|
+
`,Ke=a.div`
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
align-items: center;
|
|
13
|
+
`,Qe=a.div`
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
justify-content: space-between;
|
|
17
|
+
flex: 1;
|
|
18
|
+
width: 100%;
|
|
19
|
+
`,We=a.div`
|
|
20
|
+
padding-top: ${e=>x.containerPaddingTopBottom.valuePx(e.windowSize)};
|
|
21
|
+
padding-bottom: ${e=>x.containerPaddingTopBottom.valuePx(e.windowSize)};
|
|
22
|
+
text-align: center;
|
|
23
|
+
flex: 1;
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
overflow-x: hidden;
|
|
27
|
+
`,se=a(Pe)`
|
|
28
|
+
max-width: 927px;
|
|
29
|
+
margin: auto;
|
|
30
|
+
display: flex;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
flex-wrap: wrap;
|
|
33
|
+
padding: ${t.sp7} ${t.sp0} ${t.sp0} ${t.sp0};
|
|
34
|
+
color: ${e=>e.theme.colors.primary};
|
|
35
|
+
`,de=a(ke)`
|
|
36
|
+
color: ${e=>e.theme.colors.primary};
|
|
37
|
+
margin: auto;
|
|
38
|
+
margin-top: ${t.sp2};
|
|
39
|
+
`,le=a(ze)`
|
|
40
|
+
margin: auto;
|
|
41
|
+
max-width: 343px;
|
|
42
|
+
display: flex;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
text-align: center;
|
|
45
|
+
flex-wrap: wrap;
|
|
46
|
+
padding: ${t.sp5} ${t.sp0} ${t.sp0} ${t.sp0};
|
|
47
|
+
color: ${e=>e.theme.colors.primary};
|
|
48
|
+
`,ce=a(O)`
|
|
49
|
+
max-width: 314px;
|
|
50
|
+
margin: auto;
|
|
51
|
+
color: ${e=>e.theme.colors.primary};
|
|
52
|
+
padding: 6px ${t.sp3} ${t.sp0} ${t.sp3};
|
|
53
|
+
text-align: center;
|
|
54
|
+
margin-top: 6px;
|
|
55
|
+
`,Xe=a.img`
|
|
56
|
+
border-radius: 50%;
|
|
57
|
+
justify-content: center;
|
|
58
|
+
color: ${e=>e.theme.colors.hero};
|
|
59
|
+
`,Ye=a.div`
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: row;
|
|
62
|
+
align-items: center;
|
|
63
|
+
justify-content: center;
|
|
64
|
+
position: relative;
|
|
65
|
+
overflow: hidden;
|
|
66
|
+
padding: ${t.sp2} ${t.sp3};
|
|
67
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
68
|
+
border-radius: 96px;
|
|
69
|
+
margin-top: ${t.sp4};
|
|
70
|
+
margin-left: ${e=>e.windowSize==="small"?t.sp3:"auto"};
|
|
71
|
+
margin-right: ${e=>e.windowSize==="small"?t.sp3:"auto"};
|
|
72
|
+
margin-bottom: ${e=>e.cardPromoType==="debit_and_credit"&&e.windowSize==="small"?t.sp0:t.sp6};
|
|
73
|
+
width: fit-content;
|
|
74
|
+
gap: ${t.sp1};
|
|
75
|
+
${e=>e.hideBadge&&`
|
|
76
|
+
visibility: hidden;
|
|
77
|
+
`}
|
|
78
|
+
`,qe=a(O)`
|
|
79
|
+
color: ${e=>e.theme.mode==="dark"?$.brandColorJade:$.brandColorSapphire};
|
|
80
|
+
text-align: ${e=>e.windowSize==="small"?"left":"center"};
|
|
81
|
+
${e=>`${T.promoBadgeText.style(e.windowSize)}`};
|
|
82
|
+
span {
|
|
83
|
+
${e=>`${T.promoBadgeTextBold.style(e.windowSize)}`};
|
|
84
|
+
}
|
|
85
|
+
`,er=a.span``,te=a.span`
|
|
86
|
+
color: ${$.success};
|
|
87
|
+
`,rr=a.div`
|
|
88
|
+
display: flex;
|
|
89
|
+
gap: ${e=>x.midContainerGap.valuePx(e.windowSize)};
|
|
90
|
+
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
91
|
+
align-items: center;
|
|
92
|
+
justify-content: center;
|
|
93
|
+
`,tr=a.div`
|
|
94
|
+
display: flex;
|
|
95
|
+
flex-direction: column;
|
|
96
|
+
`,ir=a.div`
|
|
97
|
+
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
98
|
+
padding: ${t.sp2} ${t.sp3};
|
|
99
|
+
position: sticky;
|
|
100
|
+
bottom: 0;
|
|
101
|
+
left: 0;
|
|
102
|
+
right: 0;
|
|
103
|
+
z-index: 8;
|
|
104
|
+
display: flex;
|
|
105
|
+
justify-content: center;
|
|
106
|
+
align-items: center;
|
|
107
|
+
flex-direction: row;
|
|
108
|
+
row-gap: ${t.sp2};
|
|
109
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
110
|
+
gap: ${e=>x.buttonTrayGap.valuePx(e.windowSize)};
|
|
111
|
+
`,or=a.div`
|
|
112
|
+
width: ${e=>e.windowSize==="small"?"auto":"288px"};
|
|
113
|
+
display: flex;
|
|
114
|
+
flex-direction: column;
|
|
115
|
+
margin-left: ${e=>x.uspContainerMarginX.valuePx(e.windowSize)};
|
|
116
|
+
margin-right: ${e=>x.uspContainerMarginX.valuePx(e.windowSize)};
|
|
117
|
+
z-index: 8;
|
|
118
|
+
`,ar=a.div`
|
|
119
|
+
display: flex;
|
|
120
|
+
justify-content: ${e=>e.windowSize==="small"?"center":"flex-start"};
|
|
121
|
+
min-height: ${e=>x.iconContainerMinHeight.valuePx(e.windowSize)};
|
|
122
|
+
align-items: center;
|
|
123
|
+
min-width: 480px;
|
|
124
|
+
`,B=a.div`
|
|
125
|
+
border-radius: ${t.sp12};
|
|
126
|
+
border: ${e=>`1px solid ${e.theme.colors.grey2}`};
|
|
127
|
+
padding: ${e=>e.windowSize==="small"?`${t.sp2} ${t.sp4} ${t.sp2} ${t.sp0}`:`${t.sp3} ${t.sp5} ${t.sp3} ${t.sp0}`};
|
|
128
|
+
background: ${e=>e.theme.colors.grey5};
|
|
129
|
+
position: relative;
|
|
130
|
+
margin-bottom: ${t.sp3};
|
|
131
|
+
display: flex;
|
|
132
|
+
align-items: center;
|
|
133
|
+
text-align: start;
|
|
134
|
+
width: ${e=>e.windowSize==="small"?"288px":"100%"};
|
|
135
|
+
min-height: ${e=>e.windowSize!=="small"?"83px":"44px"};
|
|
136
|
+
box-sizing: ${e=>e.windowSize==="small"?"unset":"border-box"};
|
|
137
|
+
`,y=a(Re)`
|
|
138
|
+
color: ${e=>e.theme.colors.champion};
|
|
139
|
+
${e=>`${T.uspText.style(e.windowSize)}`};
|
|
140
|
+
`,A=a(Le)`
|
|
141
|
+
color: ${e=>e.theme.colors.champion};
|
|
142
|
+
${e=>`${T.uspBoldText.style(e.windowSize)}`};
|
|
143
|
+
`,I=a.div``,M=a.div`
|
|
144
|
+
padding-left: ${t.sp3};
|
|
145
|
+
`,nr=a(R)`
|
|
146
|
+
color: ${$.graphColor16Dark};
|
|
147
|
+
`,sr=a(R)`
|
|
148
|
+
color: ${$.alert};
|
|
149
|
+
`,dr=a(R)`
|
|
150
|
+
color: ${$.graphColor11};
|
|
151
|
+
`,lr=a(R)`
|
|
152
|
+
color: ${$.success};
|
|
153
|
+
`,cr=a.div`
|
|
154
|
+
height: ${e=>x.emptySectionHeight.valuePx(e.windowSize)};
|
|
155
|
+
${e=>e.windowSize==="small"?null:Ee`
|
|
156
|
+
margin-top: ${t.sp4};
|
|
157
|
+
margin-bottom: ${t.sp6};
|
|
158
|
+
`}
|
|
159
|
+
`,pr=a(O)`
|
|
160
|
+
color: ${e=>e.theme.colors.hero};
|
|
161
|
+
margin-top: ${e=>x.contactAdminContainerMarginTop.valuePx(e.windowSize)};
|
|
162
|
+
margin-bottom: ${e=>x.contactAdminContainerMarginBottom.valuePx(e.windowSize)};
|
|
163
|
+
margin-left: ${e=>x.contactAdminContainerMarginLeftRight.valuePx(e.windowSize)};
|
|
164
|
+
margin-right: ${e=>x.contactAdminContainerMarginLeftRight.valuePx(e.windowSize)};
|
|
165
|
+
text-align: center;
|
|
166
|
+
`,U=a(_e)`
|
|
167
|
+
${e=>`${T.contactAdmin.style(e.windowSize)}`};
|
|
168
|
+
text-decoration: ${e=>e.underline?"underline":"none"};
|
|
169
|
+
cursor: ${e=>e.underline?"default":null};
|
|
170
|
+
`,mr=a.div`
|
|
171
|
+
color: ${e=>e.mode==="dark"?e.theme.colors.brandColorJade:e.theme.colors.brandColorSapphire};
|
|
172
|
+
`,hr=a.div`
|
|
173
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
174
|
+
padding: ${t.sp2} ${t.sp3};
|
|
175
|
+
display: flex;
|
|
176
|
+
gap: ${t.sp2};
|
|
177
|
+
margin: auto;
|
|
178
|
+
max-width: fit-content;
|
|
179
|
+
border-radius: 96px;
|
|
180
|
+
margin-top: ${t.sp4};
|
|
181
|
+
margin-bottom: ${t.sp6};
|
|
182
|
+
`,xr=a.span`
|
|
183
|
+
${e=>`${T.cardsContent.style(e.windowSize)}`};
|
|
184
|
+
`,gr=a.div`
|
|
185
|
+
display: flex;
|
|
186
|
+
flex-direction: column;
|
|
187
|
+
min-height: ${e=>x.carouselHeight.valuePx(e.windowSize)};
|
|
188
|
+
min-width: 480px;
|
|
189
|
+
position: relative;
|
|
190
|
+
`,ur=a.div`
|
|
191
|
+
position: relative;
|
|
192
|
+
margin-top: ${e=>x.carouselMarginTop.valuePx(e.windowSize)};
|
|
193
|
+
margin-left: ${e=>x.carouselMarginLeft.valuePx(e.windowSize)};
|
|
194
|
+
`,wr=a.div`
|
|
195
|
+
position: relative;
|
|
196
|
+
overflow: visible;
|
|
197
|
+
`,ie=a.div`
|
|
198
|
+
position: absolute;
|
|
199
|
+
${e=>e.isReflection&&`
|
|
200
|
+
background-color: ${e.theme.colors.grey4};
|
|
201
|
+
clip-path: inset(16% 0 0 0);
|
|
202
|
+
`}
|
|
203
|
+
`,fr=De`
|
|
204
|
+
0% {
|
|
205
|
+
left: -${t.sp6};
|
|
206
|
+
}
|
|
207
|
+
100% {
|
|
208
|
+
left: calc(100% + ${t.sp6});
|
|
209
|
+
}
|
|
210
|
+
`,Cr=a.div`
|
|
211
|
+
position: absolute;
|
|
212
|
+
background:
|
|
213
|
+
${$.promoCardGradient1Strong}, ${$.promoCardGradient2Strong};
|
|
214
|
+
width: ${t.sp10};
|
|
215
|
+
z-index: 3;
|
|
216
|
+
height: 100%;
|
|
217
|
+
transform: skew(15deg);
|
|
218
|
+
animation: ${fr} 3s linear infinite;
|
|
219
|
+
`;export{He as ChargeCardPromoUserContent,Mr as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as Ve,X as Ie,d2 as De,a1 as M,a as Oe,c3 as Be,l as Ue,M as _e,a7 as N,j as t,cI as ze,g as $e,C as r,aV as Re,c as Le,F as We,c_ as Me,o as B,p as Ne,aQ as qe,a3 as He,m as a,s as Ge}from"./index-
|
|
1
|
+
import{u as Ve,X as Ie,d2 as De,a1 as M,a as Oe,c3 as Be,l as Ue,M as _e,a7 as N,j as t,cI as ze,g as $e,C as r,aV as Re,c as Le,F as We,c_ as Me,o as B,p as Ne,aQ as qe,a3 as He,m as a,s as Ge}from"./index-s8qDJKCo.js";import{b as p,n as S}from"./vendor-CnQcJ2Lu.js";import{F as Je}from"./HelpButton-Cms9G_Fp-BBuusntx.js";import{K as Ke}from"./SetUpDefaultSection-CjXLrIH0-Clr5GDIw.js";import{f as Qe,y as q}from"./SpendMgmtSetupAccountSection-B2F0oKk_-DdOYa9CD.js";import{x as Xe}from"./LabeledControlledCheckBoxField-uBDSnSo1-DkIHLNe5.js";import{g as Ye}from"./UploadAdditionalDocumentOverlay-N0bSxafO-DgWhDXaG.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-Crufcivq-DYL_5ev9.js";import"./ChargeCardUtils-C9viDXeo-ChGOccjp.js";import"./CreditCardPaymentPlgSection-BfHK2O6G-BIIMVTiG.js";import"./ChaseOverlay-CIiRuAKM-CHTItafP.js";const c={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,a[5],a[5]),sectionRowGap:new r(a[5],a[9],a[9]),iconWidthHeight:new r(20,a[4]),subTitlePaddingTop:new r(12,a[3]),subTitlePaddingBottom:new r(a[3],a[3]),overlayWidth:new r(100,100,59),checkBoxTop:new r(a[1],a[0])},H="chargeCardSetUpPage",h="payAccount",{commonSetUp:Ze,spendManagement:et}=_e.getLocalizedStrings(),{chargeCard:K}=et,{chargeCardSetUp:m}=K,{setUp:U}=Ze,At=({autoPayThreshold:e,isDisabled:x,meetingUrl:v,isEarlyPayEnabled:f,chargeCardSetUpView:o,connectedAccountProvider:Q,filesEndPoint:X,authParams:Y,isAccountsEnabled:Z,isDebitCardOnlyEnabled:E,isCreditCardOnlyEnabled:ee,accountsPromoConfig:te,onFetchLinkTokenClick:ne,onBackClick:ie,onEnableChargeCardClick:oe,onUpdateChargeCardClick:ae,onBusinessVerificationSectionClick:ce,onUpdatePaymentAccountStatus:se,onUpdatePaymentAccountLoginStatus:le,onUpdatePrimaryFundingAccount:re,onUpdateAutoPayClick:de,onEstablishConnectionClick:ue,onEstablishConnectionSuccess:pe,onClickMenuIcon:me,onEnableChargeCardSuccess:P,onEditFileName:he,onDeleteFile:fe,updateFilesEntity:ge,onCompanyOfficerUpdated:ye,onSendForVerificationClick:Ce,onSignUpClick:be})=>{const g=Ve(),i=Ie(),T=De().analytics,[w,y]=p.useState(!1),{fetchState:C,companyBillPayInfo:_,isRefreshingViewInBackground:Se,updateStatus:d,accountUpdateStatus:xe,plaidConnectionDetails:Pe,allBankAccounts:we,companyChargeCardInfo:z,companyDebitCardInfo:Ae,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:$}=o,R=M(C),A=M(d.fetchState),F=Oe({mode:"all",reValidateMode:"onChange",defaultValues:p.useMemo(()=>G(o),[o]),values:G(o)}),ke=F.handleSubmit(oe),ve=async(b,k)=>{const n=k[h];if(b.includes(h))if(b.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const u=$.find(O=>O.id===n.fundingAccount.selectedOption);u!=null&&re(n.fundingAccount.selectedOption,u.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const u=n.account.allOptions.find(O=>O.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&T.trackConnectBankLink(u.value,u.label,"charge_cards"),ae(n.account.selectedOption,l.id,l.accType)}else b.includes("enableAutoPay")&&n.enableAutoPay!=null&&de(n.enableAutoPay)};p.useEffect(()=>{const b=F.watch((k,{name:n})=>{n!=null&&k!=null&&Be(()=>ve(n,k))});return()=>{b.unsubscribe()}}),p.useEffect(()=>{!w&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&y(!0),w&&R==="In-Progress"&&C==="Completed"&&y(!1)},[s,C,R]),p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const j=z?.isChargeCardEnabled===!0,V=Ae?.isDebitCardEnabled===!0,L=_?.isBusinessVerified===!0,Ee=l?.accType==="depositAccount"||Ue.isVerifiedPaymentAccountProviderStatusCode(l?.providerVerificationStatus?.code??""),I=E?L:L&&Ee,Te=C==="In-Progress"||C==="Not-Started";p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const D=E?I&&!V:ee?I&&!j:I&&!(j&&V),Fe=D?m.setupSubTitleNotEnabled:m.setupSubTitle,W=g.mode==="light"?new N(g.colors.brandColorJadeLight):new N(g.colors.brandColorJadeDark),je=()=>{!w&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?y(!0):ce?.()};return t.jsxs(nt,{children:[t.jsx(ze,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:w,onClose:()=>y(!1),style:{backgroundColor:$e.drawerBackground},transitionDuration:250,children:t.jsx(Ye,{authParams:Y,filesEndPoint:X,updateStatus:d,onEditFileName:he,onDeleteFile:fe,updateFilesEntity:ge,companyOfficer:s,onClose:()=>y(!1),onCompanyOfficerUpdated:ye,onSendForVerificationClick:Ce})}),t.jsx(Re,{title:m.setupTitle,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:ie,showMenuIcon:!j&&!V&&(i==="medium-compact"||i==="small"),onClickMenuIcon:me,source:"ChargeCardSetupPage"}),t.jsxs(tt,{windowSize:i,children:[t.jsx(it,{windowSize:i,children:Fe}),Te?t.jsx(ot,{children:t.jsx(Le,{size:"ExtraLarge",start:!0})}):t.jsx(We,{...F,children:t.jsx("form",{id:J(H),onSubmit:ke,children:t.jsxs(at,{windowSize:i,children:[t.jsx(Ke,{onClick:je,title:U.businessVerificationTitle,subTitle:U.businessVerificationSubTitle,header:U.businessVerificationHeader,icon:{element:t.jsx(Me,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:W},status:_?.businessVerificationStatus,isLoading:Se,isActiveWhileLoading:!0}),E?null:t.jsx(Qe,{connectedAccountProvider:Q,primaryFundingAccount:l,allFundingAccounts:$,plaidConnectionDetails:Pe,allBankAccounts:we,sectionId:h,isDisabled:x,onFetchLinkTokenClick:ne,onEstablishConnectionClick:ue,onUpdatePaymentAccountStatus:se,onUpdatePaymentAccountLoginStatus:le,sectionTitle:m.setupAccountSectionTitle,onEstablishConnectionSuccess:pe,icon:{element:t.jsx(qe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:W},analytics:T,productType:"charge_cards",isAccountsEnabled:Z,onSignUpClick:be,pageName:m.pageName,accountsPromoConfig:te,accountSelectContainerStyle:f?{marginBottom:"20px"}:{},bottomComponent:f&&t.jsx(Xe,{label:{label:K.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:g.colors.primary,...Ne.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:q(h,"enableAutoPay"),checkBoxValue:q(h,"enableAutoPay"),defaultChecked:z?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),D?t.jsx(He,{formId:J(H),primaryBtn:{label:m.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:d.fetchState==="In-Progress"||xe.fetchState==="In-Progress",isDisabled:x!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Je,{isFooterRendered:D,meetingUrl:v,analytics:T,productType:"charge_cards"})]})},G=e=>{const{allBankAccounts:x,allFundingAccounts:v,primaryFundingAccount:f}=e;return{[h]:{fundingAccount:{selectedOption:f?.id,allOptions:v.map(o=>({label:o.label,value:o.id,isRecommended:o.accType==="depositAccount"}))},account:{selectedOption:f?.zeniAccountId,allOptions:x.map(o=>({label:o.accountName,value:o.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},J=e=>`${e}_form`,tt=S.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: flex-start;
|
|
4
4
|
height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as F,X as T,j as t,aV as W,M as R,o as h,C as g,s as B,an as O,d2 as V,g$ as J,Y as q,c as K,m as s,bp as U}from"./index-
|
|
1
|
+
import{u as F,X as T,j as t,aV as W,M as R,o as h,C as g,s as B,an as O,d2 as V,g$ as J,Y as q,c as K,m as s,bp as U}from"./index-s8qDJKCo.js";import{n as i,b as X}from"./vendor-CnQcJ2Lu.js";import{$ as _,g as G}from"./BoxItem-D3QYSB_0-DLYI4sQa.js";import{w as H}from"./downloadPdf-Ceik9x1F-CBmYmy4S.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./commonDimensions-DYyjzo8L-DgdXOvG4.js";const z=R.getLocalizedStrings().months,A={downloadButtonSize:new g(s[4],20)},Q=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
padding: ${h.sp3} ${h.sp4};
|
|
4
4
|
flex-direction: row;
|
package/dist/assets/{ChargeCardUtils--ltNyvP2-oGKoglJX.js → ChargeCardUtils-C9viDXeo-ChGOccjp.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ff as D,M as S,dq as c,l as B}from"./index-
|
|
1
|
+
import{ff as D,M as S,dq as c,l as B}from"./index-s8qDJKCo.js";function U(e){const a=e.match(/\d+/g);if(!a||a.length!==3)return null;const r=parseInt(a[0]),d=parseInt(a[1]),t=parseInt(a[2]);return"#"+(1<<24|r<<16|d<<8|t).toString(16).slice(1)}const A=({signedInUserToken:e,showSecretInfo:a,setShowPhoneNumberPopup:r,onFireOnClickAnalytics:d,setShowSecretInfo:t})=>{(e==null||e.expiry.isBefore(B.dateNow()))&&a===!1?(r(!0),d("verify card details")):e?.token!=null&&a===!1?t(!0):e?.token!=null&&a===!0&&t(!1)},F=e=>e.includes("credit")?"credit":"debit",{dateFormat:s}=S.getLocalizedStrings(),L=({chargeCardDetailView:e,classListFetchState:a,analytics:r,isChargeCardFeatureEnabled:d,creditAccount:t,pageName:o,addToWalletType:i,creditAccountRepayment:l,isDebitCard:n,isChargeCardAdmin:m,cardIssuedByRoles:u,cardIssuedByDepartmentName:h,cardHolderRoles:C,cardHolderDepartmentName:g,controllerEmails:p,productInformation:y,creditAccountInformation:f,debitAccountInformation:I})=>{e.chargeCard!=null&&a==="Completed"&&(!d||t.fetchState==="Completed"&&l.fetchState==="Completed")&&(!(n&&m)||e.depositAccountLimitFetchState.fetchState==="Completed")&&r.trackCardsAddToWalletClick(p,y,{cardId:e.chargeCard.id,cardName:e.chargeCard.cardName,cardType:F(e.chargeCard.type.code),cardCategory:e.chargeCard.type.code.includes("physical")?"physical":"virtual",cardLimit:D(e.chargeCard.limit.amount),cardLastFourDigits:e.chargeCard.accountLast4,cardStatus:e.chargeCard.status.code,cardAssignedDate:e.chargeCard.createTime?.format(s.analytics.MMMDashDDDashYYYYFormat),cardIssuedDate:e.chargeCard.providerCardCreateTime?.format(s.analytics.MMMDashDDDashYYYYFormat),cardLimitFrequency:e.chargeCard.creditLimitFrequency.name},{cardIssuedByName:c(e.chargeCard.cardCreatedByUser,!1),cardIssuedByEmail:e.chargeCard.cardCreatedByUser?.email,cardIssuedByUserId:e.chargeCard.cardCreatedByUser?.userId,cardIssuedByRole:u,cardIssuedByDepartment:h},{cardholderName:c(e.chargeCard.cardHolderUser,!1),cardholderEmail:e.chargeCard.cardHolderUser?.email,cardholderRole:C,cardholderUserId:e.chargeCard.cardHolderUser?.userId,cardholderDepartment:g},o,i,f,I)},N=(e,a)=>{if(e<=0)return 0;const r=e-a;return Math.round(r/e*100)},Y=e=>e.limit.amount-e.available.amount,b="1.75";export{F,L as H,U as L,N as M,A as U,Y as _,b as v};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as H,fc as X,fd as Q,M as W,j as t,g as x,f as ee,K as N,Y as c,o as s,C as m,Z as te,s as ie,an as se,bB as oe,c$ as re,m as l,ao as A,ax as R,a6 as ne,fe as le,v as ae,cq as de,aP as ce}from"./index-
|
|
1
|
+
import{X as H,fc as X,fd as Q,M as W,j as t,g as x,f as ee,K as N,Y as c,o as s,C as m,Z as te,s as ie,an as se,bB as oe,c$ as re,m as l,ao as A,ax as R,a6 as ne,fe as le,v as ae,cq as de,aP as ce}from"./index-s8qDJKCo.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";const u={width:new m(350,624,624),height:new m(600,730,730),paddingLeft:new m(l[4],l[8],l[8]),paddingRight:new m(l[4],l[7],l[7])};function De(e){const d=H(),[,_]=X(),{isMobileOrTabletScreen:g}=Q(),[j,k]=p.useState(!0),[y,S]=p.useState(!0),[z,C]=p.useState(!1),[T,M]=p.useState(!1),r=W.getLocalizedStrings().commonSetUp.chaseOverlay,K=r.title,V=r.description,Y=()=>{window.open(r.chaseVideoUrl,"_blank")},L=[0,1,2,3],P=i=>i<L.length-1,B=(i,n)=>{_(i??""),n?k(!1):S(!1)},D=i=>{i?C(!0):M(!0)},U=i=>{i?C(!1):M(!1)};p.useEffect(()=>{j===!1&&setTimeout(()=>{k(!0)},2e3),y===!1&&setTimeout(()=>{S(!0)},2e3)},[j,y]);const q=()=>{const i=r.step1;return t.jsxs($,{children:[t.jsx(Ce,{"data-testid":c("chase-overlay-signin-link"),href:r.chaseSigninUrl,target:"_blank",rel:"noreferrer noopener",children:i.text1}),i.text2,t.jsxs(a,{children:[" ",i.text3]}),i.text4,t.jsxs(a,{children:[" ",i.text5]}),i.text6]})},J=()=>{const i=r.step2;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",t.jsx(be,{}),i.text2]}),t.jsx(ke,{}),i.text3]})},Z=()=>{const i=r.step3,n=e.connectedAccountProvider==="stripe"?i.payeeIdStripe:i.payeeIdUnit;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",i.text2]}),i.text3,t.jsxs(Te,{children:[t.jsxs(f,{onClick:()=>B(n,!0),onMouseOver:()=>D(!0),onMouseLeave:()=>U(!0),"data-testid":c("copy-payee-id",n),children:[t.jsx(v,{}),i.payeeIdTitle,t.jsx(b,{children:n}),j?t.jsxs(h,{children:[t.jsx(I,{showCopyText:z&&!g,windowSize:d,children:t.jsx(O,{})}),t.jsx(w,{shouldDisplay:z&&!g,children:i.copy})]}):t.jsxs(h,{children:[t.jsx(E,{}),t.jsx(w,{children:i.copied})]})]}),t.jsxs(f,{onClick:()=>B(i.payeeName,!1),onMouseOver:()=>D(!1),onMouseLeave:()=>U(!1),"data-testid":c("copy-payee-name",i.payeeName),children:[t.jsx(v,{}),i.payeeNameTitle,t.jsx(b,{children:i.payeeName}),y?t.jsxs(h,{children:[t.jsx(I,{showCopyText:T&&!g,windowSize:d,children:t.jsx(O,{})}),t.jsx(w,{shouldDisplay:T&&!g,children:i.copy})]}):t.jsxs(h,{children:[t.jsx(E,{}),t.jsx(w,{children:i.copied})]})]}),t.jsxs(f,{children:[t.jsx(h,{children:t.jsx(v,{})}),t.jsxs(Me,{children:[i.amountLimitTitle,i.text4,t.jsx(b,{children:i.amountLimit}),i.text5]})]})]})]})},F=()=>{const i=r.step4;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",i.text2]}),i.text3,t.jsxs(a,{children:[" ",i.text4]})]})},G=i=>{switch(i){case 0:return t.jsx(q,{});case 1:return t.jsx(J,{});case 2:return t.jsx(Z,{});default:return t.jsx(F,{})}};return t.jsx(pe,{windowSize:d,role:"presentation",style:{background:x.overlayDark,...e.style},children:t.jsx(ee,{onClickAway:()=>e.action.onBackClick?.(),children:t.jsxs(he,{windowSize:d,isEditPopup:!1,children:[t.jsxs(Le,{children:[t.jsx(xe,{children:K}),t.jsx(ge,{children:V}),t.jsx(je,{children:r.stepsTitle}),t.jsx(ue,{windowSize:d,children:L.map((i,n)=>t.jsxs(me,{children:[t.jsx(fe,{children:P(n)?n+1:t.jsx(Se,{})}),t.jsx(ve,{children:G(n)}),P(n)&&t.jsx(ye,{})]},`step_${n}`))})]}),t.jsx($e,{}),t.jsxs(we,{children:[t.jsx(N,{variant:"secondary",label:r.primaryButtonText,onClick:Y,style:{width:134,whiteSpace:"nowrap"},"data-testid":c("chase-overlay-watch-video-button")}),t.jsx(ze,{}),t.jsx(N,{variant:e.proceedButtonVariant??"primary",label:r.secondaryButtonText,onClick:e.action.onBackClick,style:{width:134,whiteSpace:"nowrap"},"data-testid":c("chase-overlay-proceed-button")})]})]})})})}const pe=o.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
top: 0;
|
|
4
4
|
left: 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as Q,j as t,Y as $,gZ as pe,M as ee,_ as M,K as Y,o,a3 as he,C as l,a2 as oe,k as ue,an as me,c0 as te,v as ge,s as F,a1 as xe,a as ke,c3 as fe,g as w,F as De,fD as $e,c6 as we,eN as G,cd as J,m as s,cW as be,bH as ye,bm as je,cz as Pe,f7 as Se,e as q,f9 as Le}from"./index-
|
|
1
|
+
import{X as Q,j as t,Y as $,gZ as pe,M as ee,_ as M,K as Y,o,a3 as he,C as l,a2 as oe,k as ue,an as me,c0 as te,v as ge,s as F,a1 as xe,a as ke,c3 as fe,g as w,F as De,fD as $e,c6 as we,eN as G,cd as J,m as s,cW as be,bH as ye,bm as je,cz as Pe,f7 as Se,e as q,f9 as Le}from"./index-s8qDJKCo.js";import{b as f,n as a}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",R="selectDocument",E=e=>{const p=[];return e.checkFront!=null&&p.push(e.checkFront.fileId),e.checkBack!=null&&p.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(x=>({label:x.accountName,value:x.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:p,[R]:{front:e.checkFront,back:e.checkBack}}}},D=(e,p)=>`${e}.${p}`,ze=e=>`${e}_form`,u={largeLabelWidth:new l(160,160,160),rowContentPaddingLeft:new l(s[3],s[4]),checkPicRowContentPaddingXAxis:new l(s[3],s[4]),labeleMarginLeft:new l(s[0],s[0]),labeleMarginBottom:new l(s[2],s[0]),labelMarginRight:new l(s[3],s[3]),labeledFieldPaddingLeft:new l(s[3],s[0]),labeledFieldPaddingRight:new l(s[3],s[2]),labeledFieldPaddingTop:new l(s[3],s[3]),labeledFieldPaddingBottom:new l(s[3],s[2]),infoLabelPaddingRight:new l(s[0],s[3]),infoLabelMarginTop:new l(s[1],s[0])},{spendManagement:Be,common:V}=ee.getLocalizedStrings(),c=Be.zeniAccounts.zeniAccountList,Ae=V.documents;function Ie({checkDeposit:e,analytics:p,filesEndPoint:x,openPopup:b,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T}){const r=Q(),n=e.fetchState,L=xe(n),[v,X]=f.useState(!1),[se,z]=f.useState(!1),B=u.largeLabelWidth.value(r),k=ke({mode:"all",reValidateMode:"onBlur",defaultValues:E(e),values:E(e)}),{isValid:re}=k.formState,K=i=>{const d={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(d)},ce=async(i,d)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},d);K(h)}};f.useEffect(()=>{const i=k.watch((d,{name:h})=>{h!=null&&d!=null&&fe(()=>ce(h,d))});return()=>{i.unsubscribe()}}),f.useEffect(()=>{L==="Completed"&&n==="Not-Started"&&k.reset(E(e))},[L,n,k,e]),f.useEffect(()=>{e.error!=null?z(!0):z(!1)},[e.error]);const le=k.handleSubmit(()=>{if(re){p.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=k.getValues();K(i),T?.()}}),ne=(i,d)=>{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:d}):null},de=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?d===!0?t.jsx(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(Xe,{children:[t.jsx(Ye,{}),t.jsxs(Ge,{children:[t.jsx(Je,{children:e.error?.title}),t.jsx(We,{children:e.error?.message})]})]}),t.jsx(Ke,{children:t.jsx(ro,{"data-testid":$("check-deposit-form-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),z(!1)},style:{width:o.sp3,height:o.sp3,color:w.heroLight}})})]})}):null,t.jsx(Ze,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...k,children:t.jsx("form",{id:ze(ve),onSubmit:le,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(we,{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(_e,{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,d)=>ne(i,d),valueToSubLabels:(i,d)=>de(i,d),name:D(g,"depositTo"),placeholder:c.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(Ue,{size:r,children:[t.jsxs(Qe,{size:r,children:[t.jsx(Ee,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(Z,{isLast:!1,children:c.checkDepositDrawer.frontSide}),t.jsx(G,{name:`${D(g,R)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>X(i),onEditFileName:S,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(Z,{isLast:!0,children:c.checkDepositDrawer.backSide}),t.jsx(G,{name:`${D(g,R)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>X(i),onEditFileName:S,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:c.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const 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{j as t,ai as po,Y as m,bd as fe,_ as Z,dg as go,o as c,g as ee,a1 as hi,X as M,H as ui,z as fo,dh as pi,di as xo,l as A,M as W,m as w,dj as Vi,dk as Ot,a7 as _,dl as Mt,by as Nt,dm as It,C as D,cs as Pt,w as Di,T as Je,dn as Ne,bf as K,c as mo,u as ce,ae as Ri,dp as Ei,a8 as V,n as Ae,dq as wo,dr as se,bx as zt,bB as gi,v as yo,e as ye,ds as Xe,dt as Be,du as tt,s as C,bH as ne,dv as bo,p as Ft,dw as Re,dx as fi,dy as xi,dz as ko,dA as jo,an as Gi,ak as So,bY as Tt,bX as Vt,c$ as Co,al as Hi,b$ as Ki,bl as vo,dB as $o,dC as mi,dD as wi,dE as _o,dF as Lo,bs as Ao,b4 as Bo,dG as Wo}from"./index-
|
|
1
|
+
import{j as t,ai as po,Y as m,bd as fe,_ as Z,dg as go,o as c,g as ee,a1 as hi,X as M,H as ui,z as fo,dh as pi,di as xo,l as A,M as W,m as w,dj as Vi,dk as Ot,a7 as _,dl as Mt,by as Nt,dm as It,C as D,cs as Pt,w as Di,T as Je,dn as Ne,bf as K,c as mo,u as ce,ae as Ri,dp as Ei,a8 as V,n as Ae,dq as wo,dr as se,bx as zt,bB as gi,v as yo,e as ye,ds as Xe,dt as Be,du as tt,s as C,bH as ne,dv as bo,p as Ft,dw as Re,dx as fi,dy as xi,dz as ko,dA as jo,an as Gi,ak as So,bY as Tt,bX as Vt,c$ as Co,al as Hi,b$ as Ki,bl as vo,dB as $o,dC as mi,dD as wi,dE as _o,dF as Lo,bs as Ao,b4 as Bo,dG as Wo}from"./index-s8qDJKCo.js";import{n as a,b as I,f as Oo,j as P}from"./vendor-CnQcJ2Lu.js";import{L as it,N as Mo,D as No,B as be,u as $}from"./AccountRow-CmtPvQJV-CYdLibRB.js";function q(e,i){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return Z("0,0",e?.balance)}function J(e){return Z("0,0",e?.forecast)}function Yi(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.totalPercentValue)}return Z("0,0",e?.totalBalance)}function bt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.forecastPercentValue)}return Z("0,0",e?.totalForecast)}function de(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const i=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return fe("0.00%",Math.floor(i*100)/100)}else return fe("0.00%",void 0)}function he(e){if(e!=null&&e.forecast!=null){const i=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return Z("0,0",Object.assign({},e.forecast,{amount:i}))}else return Z("0,0",null)}function Ui(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const i=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return fe("0.00%",Math.floor(i*100)/100)}else return fe("0.00%",void 0)}function Zi(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const i=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return Z("0,0",Object.assign({},e.totalForecast,{amount:i}))}else return Z("0,0",null)}const Ie=(e,i,n)=>{const{startDate:o,balanceType:r}=i,{dateFormat:{visual:l}}=W.getLocalizedStrings();switch(n){case"month":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(o,l.MMMYYYYFormat,e)}`:ft(r,n);case"quarter":return r==="default"||r==="default_with_percent"?`${W.getLocalizedStrings().reports.quarterPrefix}${A.formatZeniDate(o,l.QYYYYformat,e)}`:ft(r,n);case"year":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(o,l.YYYYformat,e)}`:ft(r,n);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function ft(e,i){return W.getLocalizedStrings().downloadReport.additionalColumns.labels[i][e]}const eg=(e,i,n)=>{const o=i.length==0?e:`${e}_${i.join("_")}`;return n!=null&&n.trim().length>0?`${o}_${n}`:`${o}_${go(10)}`},Io=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as ze,u as Re,cg as yl,M as ue,C,a1 as gl,j as l,bs as Be,eZ as We,bP as _e,ft as Ce,o as a,fC as bl,cf as qe,c6 as ee,c8 as ce,cc as Me,l as Le,cy as xl,cw as wl,ca as Ue,c9 as De,fD as Te,fE as jl,fb as vl,fa as ke,cd as ge,ce as $l,g as Ne,e_ as He,Q as Ge,b4 as Ye,eY as Ze,s as Pe,fs as Qe,p as ye,f as Il,b1 as Sl,m as ae,dg as Ol,fF as Ll,e as Dl,fG as Fl,b2 as be,v as _l,cq as Cl,b0 as Nl,a$ as Pl}from"./index-
|
|
1
|
+
import{X as ze,u as Re,cg as yl,M as ue,C,a1 as gl,j as l,bs as Be,eZ as We,bP as _e,ft as Ce,o as a,fC as bl,cf as qe,c6 as ee,c8 as ce,cc as Me,l as Le,cy as xl,cw as wl,ca as Ue,c9 as De,fD as Te,fE as jl,fb as vl,fa as ke,cd as ge,ce as $l,g as Ne,e_ as He,Q as Ge,b4 as Ye,eY as Ze,s as Pe,fs as Qe,p as ye,f as Il,b1 as Sl,m as ae,dg as Ol,fF as Ll,e as Dl,fG as Fl,b2 as be,v as _l,cq as Cl,b0 as Nl,a$ as Pl}from"./index-s8qDJKCo.js";import{b as M,n as t}from"./vendor-CnQcJ2Lu.js";import{W as Fe}from"./LabeledAddressValueField-DCYUeYio-CbmzwkEi.js";import{D as El}from"./LabeledCreatableSingleSelectField-DCazn6yx-BaRWYFjn.js";import{Y as Ie}from"./LabeledDocumentField-Cip0e83a-AMdSbb7b.js";import{P as Xe}from"./DocumentSecurityBanner-D-c2msUb-CaQCac0Q.js";const Je=({text:e})=>l.jsx(Tl,{children:l.jsx(Vl,{children:e})}),Vl=t(Fl)`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as r,U as x,W as M,Y as f,M as p,o as s,a4 as w,v as g,a5 as j}from"./index-
|
|
1
|
+
import{j as r,U as x,W as M,Y as f,M as p,o as s,a4 as w,v as g,a5 as j}from"./index-s8qDJKCo.js";import{b as t,n as o}from"./vendor-CnQcJ2Lu.js";import{c as H}from"./SummaryCard-egnXlcLU-CJYKpqj3.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./ReloadCard-DCswXdRU-BPS0YQ7v.js";const 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:"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})),L=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),y=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:B},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:L},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:v}],D=o(w)`
|
|
2
2
|
margin: ${s.sp5};
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
`,W=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c4 as ha,l as V,a3 as fa,C as m,c5 as xa,a2 as Ce,o as t,s as ae,c6 as z,c7 as ze,c8 as L,c9 as ya,ca as Ue,cb as ga,cc as ba,cd as qe,w as $a,ce as wa,cf as He,cg as Ze,ch as Ia,ci as ja,cj as va,g as N,ck as Da,cl as Sa,aM as Oa,a5 as Ca,an as q,cm as Fe,m as p,v as Ge,K as Me,cn as Fa,H as ka,co as Ta,cp as Na,b1 as Pa,cq as La,bH as za,cr as Ma,e as Ea,b2 as R,cs as Va,p as de,a$ as Ba}from"./index-
|
|
1
|
+
import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c4 as ha,l as V,a3 as fa,C as m,c5 as xa,a2 as Ce,o as t,s as ae,c6 as z,c7 as ze,c8 as L,c9 as ya,ca as Ue,cb as ga,cc as ba,cd as qe,w as $a,ce as wa,cf as He,cg as Ze,ch as Ia,ci as ja,cj as va,g as N,ck as Da,cl as Sa,aM as Oa,a5 as Ca,an as q,cm as Fe,m as p,v as Ge,K as Me,cn as Fa,H as ka,co as Ta,cp as Na,b1 as Pa,cq as La,bH as za,cr as Ma,e as Ea,b2 as R,cs as Va,p as de,a$ as Ba}from"./index-s8qDJKCo.js";import{b as _,n as s,f as Wa,k as _a}from"./vendor-CnQcJ2Lu.js";import{D as Xe}from"./LabeledCreatableSingleSelectField-DCazn6yx-BaRWYFjn.js";import{Y as Ke}from"./LabeledDocumentField-Cip0e83a-AMdSbb7b.js";import{$ as Je}from"./LabeledAddressValue-BzK11ds6-CRaU9zWw.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const Qe={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},Ra=_a`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateX(100%)
|
|
4
4
|
}
|
package/dist/assets/{CompleteProfile-D0RvVu97-DfJAkC3O.js → CompleteProfile-BIlg3hln-nXJkeG-_.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as R,ge as M,M as $,j as e,F as T,T as f,c6 as q,cf as z,cc as G,l as K,o as a,ca as _,gf as H,a3 as W,c0 as Y,bo as Z,gg as J}from"./index-
|
|
1
|
+
import{a as R,ge as M,M as $,j as e,F as T,T as f,c6 as q,cf as z,cc as G,l as K,o as a,ca as _,gf as H,a3 as W,c0 as Y,bo as Z,gg as J}from"./index-s8qDJKCo.js";import{b as g,f as b,n}from"./vendor-CnQcJ2Lu.js";import{$ as Q}from"./LabeledAddressValue-BzK11ds6-CRaU9zWw.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const t=$.getLocalizedStrings(),x="completeProfilePage",r="basicDetailsSection",y="addressSection",d=(o,m)=>`${o}.${m}`,he=({userEmail:o,googleAPIKey:m,otpChallenge:j,sendOtpStatus:v,verifyOtpStatus:h,saveStatus:w,onSave:u,onGetOtp:P,onVerifyOtp:S,onResendOtp:O})=>{const[s,c]=g.useState(!1),[V,C]=g.useState(!1),i=R({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:o,dateOfBirth:void 0,phone:"",address:void 0}}}),F=M({control:i.control,name:`${r}.address`}),{dateFormat:I}=$.getLocalizedStrings(),N=i.handleSubmit(l=>{u&&u(l)}),L=()=>{const l=i.getValues(`${r}.phone`);l!=null&&l.trim().length>0&&P(l)},k=(l,p)=>{S(l,p)},D=l=>{l!=null&&l.trim().length>0&&O(l)},B=()=>{c(!0)},E=()=>{c(!1)},A=()=>{const l=i.getValues(`${y}`);if(l!=null){const p=J(l);i.setValue(`${r}.address`,p)}c(!1)};return e.jsxs(U,{children:[e.jsxs(X,{children:[e.jsxs(ee,{children:[s&&e.jsx(oe,{onClick:E}),t.completeProfile.title]}),e.jsx(te,{children:e.jsx(T,{...i,children:e.jsxs("form",{id:`${x}_form`,onSubmit:N,children:[e.jsx(f,{controller:s===!1,children:e.jsxs(b.Fragment,{children:[e.jsx(q,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:t.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:d(r,"email")}}),e.jsx(z,{isDisabled:void 0,label:{label:t.common.labels.name,width:168},style:{width:"100%"},nameField:{name:d(r,"name"),placeHolder:{firstName:t.common.placeholder.firstNamePlaceholder,lastName:t.common.placeholder.lastNamePlaceholder,name:t.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),e.jsx(G,{isOptional:!0,label:{label:t.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:d(r,"dateOfBirth"),placeholder:t.common.placeholder.dobPlaceholder,dateFormat:I.visual.defaultInput,autoComplete:"off",maxDate:K.dateNow().subtract(18,"year")}}),e.jsx(Q,{isOptional:!0,label:{label:t.common.labels.address,width:168},addressValue:{placeholder:t.common.placeholder.addressPlaceholder,address:F,onClick:B},style:{width:"100%",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`}}),e.jsx(_,{isOptional:!0,label:{label:t.common.labels.phone,width:168},style:{width:"100%"},text:{name:d(r,"phone"),placeholder:t.common.placeholder.phonePlaceholder,defaultValue:"",autoComplete:"new-password"},errorInfoLabel:"",verificationErrorInfoLabel:t.common.errorMessage.invalidPhoneNumber,isPopupOpen:V,phoneVerifyButtonProps:{otpChallenge:j,showOtpButton:!0,onGetOtp:L,onVerifyOtp:k,onResendOtp:D,isPhoneVerified:h.fetchState==="Completed",phoneVerificationStatus:h,getOtpStatus:v,openPopup:()=>{C(!0)},focusNotRequired:!0}})]})}),e.jsx(f,{controller:s===!0,children:e.jsx(b.Fragment,{children:e.jsx(H,{sectionId:y,googleAPIKey:m,isSubPage:!0})})})]})})})]}),e.jsx(W,{formId:s?void 0:`${x}_form`,primaryBtn:{label:s?t.companyPassport.address.saveAddress:t.common.footer.save,type:s?"button":"submit",onClick:s?A:void 0,isLoading:w.fetchState==="In-Progress"},showCancel:!1})]})},U=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
min-height: 100vh;
|
package/dist/assets/{ConfettiBurst-D3BYCsW2-t8iMENB5.js → ConfettiBurst-DTCsF6tY-DUUt7nWP.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d1 as m,ab as l,j as a,aj as f,o as n}from"./index-
|
|
1
|
+
import{d1 as m,ab as l,j as a,aj as f,o as n}from"./index-s8qDJKCo.js";import{b as i}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const c="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",C=({showConfetti:t})=>{const[e,p]=i.useState(t),[o,s]=m(c),[r]=l("ConfettiSuccess");return i.useEffect(()=>{t&&p(!0)},[t]),i.useEffect(()=>{e&&o===!1&&s(!0)},[e,o,s]),a.jsx(a.Fragment,{children:e&&o&&r!=null?a.jsx(f,{style:{position:"absolute",width:"100%",height:"100vh",top:n.sp0,left:n.sp0,zIndex:5},onComplete:()=>{s(!1),p(!1)},animationData:r,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{C as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as qe,X as v,M as h,H as U,c5 as Ye,j as t,aV as _e,Y as b,c as Qe,bO as ae,bQ as ie,bR as se,ct as Ge,a3 as Ke,C as W,bo as Xe,o,cu as Ze,bs as k,bH as le,m as f,al as de,v as ce,s as Q,aN as Je,cq as pe,g as L,cv as me,cn as ue}from"./index-
|
|
1
|
+
import{u as qe,X as v,M as h,H as U,c5 as Ye,j as t,aV as _e,Y as b,c as Qe,bO as ae,bQ as ie,bR as se,ct as Ge,a3 as Ke,C as W,bo as Xe,o,cu as Ze,bs as k,bH as le,m as f,al as de,v as ce,s as Q,aN as Je,cq as pe,g as L,cv as me,cn as ue}from"./index-s8qDJKCo.js";import{b as x,n as r}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const et=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:a,bankName:s,routingNumberOrSwiftCode:d,accountName:u,routingNumberOrSwiftCodeLabel:m,onDeleteClick:w})=>{const j=v(),p=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,g=t.jsxs(tt,{children:[t.jsxs(H,{children:[t.jsx(q,{children:m}),t.jsx(Y,{children:d})]}),t.jsxs(H,{children:[t.jsx(q,{children:p.achDetails.bankName}),t.jsx(Y,{children:s})]}),t.jsxs(H,{children:[t.jsx(q,{children:a}),t.jsx(Y,{children:e})]})]});return t.jsxs(at,{size:j,children:[t.jsxs(rt,{children:[t.jsxs(Q,{children:[`${s} ${p.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(k,{title:g,placement:"top",children:t.jsx(st,{children:t.jsx(lt,{})})})]}),t.jsx(ot,{children:u??p.emptyPlaceholderString})]}),t.jsx(nt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:p.deleteAccountTooltip,placement:"top",children:t.jsx(it,{onClick:y=>{y.stopPropagation(),w()},"data-testid":b("delete-vendor-account-section",u),children:t.jsx(dt,{})})})})]})},tt=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-wrap: wrap;
|
|
4
4
|
gap: ${o.sp1};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as a,X as me,d2 as pe,Y as te,gN as Je,M as W,_ as Te,K as He,c as et,a3 as Pe,o as t,C as d,a2 as je,k as tt,O as at,u as ze,bs as nt,cO as Ee,Q as V,g as X,fQ as Ce,p as ot,l as T,Z as Me,c0 as it,a1 as be,a as rt,eX as lt,c3 as ct,F as st,cz as dt,f4 as mt,c8 as pt,fD as ut,m as r,bo as ht,bm as Be,cW as gt,bH as yt,s as Oe,f7 as ft,e$ as Ct,a6 as bt,f8 as xt,cq as St,f9 as wt,fi as Dt}from"./index-
|
|
1
|
+
import{j as a,X as me,d2 as pe,Y as te,gN as Je,M as W,_ as Te,K as He,c as et,a3 as Pe,o as t,C as d,a2 as je,k as tt,O as at,u as ze,bs as nt,cO as Ee,Q as V,g as X,fQ as Ce,p as ot,l as T,Z as Me,c0 as it,a1 as be,a as rt,eX as lt,c3 as ct,F as st,cz as dt,f4 as mt,c8 as pt,fD as ut,m as r,bo as ht,bm as Be,cW as gt,bH as yt,s as Oe,f7 as ft,e$ as Ct,a6 as bt,f8 as xt,cq as St,f9 as wt,fi as Dt}from"./index-s8qDJKCo.js";import{n as o,b as p}from"./vendor-CnQcJ2Lu.js";import{x as $t}from"./LabeledControlledCheckBoxField-uBDSnSo1-DkIHLNe5.js";import{v as kt}from"./ChargeCardUtils-C9viDXeo-ChGOccjp.js";import{X as xe}from"./CreditCardPaymentPlgSection-BfHK2O6G-BIIMVTiG.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ae={largeLabelWidth:new d(120,120,160),navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(r[3],r[6],r[8]),containerPaddingRight:new d(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new d(r[5],r[8])},de={pageTitle:new V("h6Regular","h5Regular"),integerAmountInput:new V("h5Regular","h2Regular"),decimalAmountInput:new V("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:At}},common:{edit:vt,labels:Se,currency:we,navBar:{back:Lt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:It}},chargeCard:{payEarly:ee}}}=W.getLocalizedStrings(),Ft=({paymentDetails:e,isCashbackInfoFetchStateCompleted:i,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:g,productInformation:c,cashbackInformation:f,paymentSourceInformation:v,creditAccountInformation:y,debitAccountInformation:b,setShowReviewContent:x,onTransferClick:C,isCompleteOutstandingBalanceBeingPaid:D})=>{const m=me(),P=ze(),j=pe().analytics,[M,L]=p.useState(!1);p.useEffect(()=>{e.error!=null?L(!0):L(!1)},[e.error]);const k=ae.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(_t,{windowSize:m,children:[a.jsx(Kt,{windowSize:m,children:a.jsx(nt,{title:Lt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Zt,{"data-testid":te("nav-bar-back-credit-card-payment-review"),onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"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},v,y,b),x(!1)}})})}),a.jsx(Qt,{windowSize:m,children:It.reviewAndConfirm}),a.jsx(Tt,{children:a.jsx(Ee,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:de.integerAmountInput.styleObject(m),decimalStyles:de.decimalAmountInput.styleObject(m)})}),M?a.jsx(Ot,{children:a.jsxs(zt,{children:[a.jsxs(Nt,{children:[a.jsx(Yt,{}),a.jsxs(Et,{children:[a.jsx(Mt,{children:e.error?.title}),a.jsx(Bt,{children:e.error?.message})]})]}),a.jsx(Ut,{children:a.jsx(Vt,{"data-testid":te("close-error-credit-card-payment-review"),onClick:()=>{L(!1)},style:{width:t.sp3,height:t.sp3,color:X.heroLight}})})]})}):null,a.jsx(Xt,{windowSize:m,children:a.jsxs(jt,{children:[a.jsx(Ce,{label:{label:Se.transferFrom,width:k},text:a.jsxs(De,{windowSize:m,children:[_e(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),a.jsx(Pt,{windowSize:m,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.label})]}),style:{width:"auto"}}),a.jsx(Wt,{}),a.jsx(Ce,{label:{label:Se.amount,width:k},showAdditionalInfoLabel:!0,additionalInfoLabel:`${D?ee.creditLimitReset:ee.creditLimitUpdate} ${T.zeniDate(T.getNextNthWorkingDay(T.dateNow().toDate(),[0,6],3).toDateString()).format(At)} ${ee.business23Days}`,additionalInfoLabelStyles:{color:P.colors.hero,...ot.smallRegular.cssObject},text:a.jsx(De,{windowSize:m,children:Te("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:we.currencyCode,currencySymbol:we.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:ee.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:vt,onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"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},v,y,b),x(!1)},style:{minWidth:94}},primaryBtn:{label:ee.payNow,onClick:C,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},_e=(e,i,h)=>{if(i==="")return a.jsx(ta,{});const n=e.find(c=>c.id===i),g=e.findIndex(c=>c.id===i);if(n!=null){if(n.accType==="depositAccount")return a.jsx(Ht,{isOptionSelected:h,children:a.jsx(ea,{color:ft(g)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?a.jsx(qt,{src:Rt(n.logo),isOptionSelected:h,loading:"lazy"}):a.jsx(Gt,{isOptionSelected:h,children:a.jsx(Jt,{})})}return null},Rt=e=>e.base64!==void 0?`${Ct}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Tt=o(Be)`
|
|
2
2
|
color: ${e=>e.theme.colors.primary};
|
|
3
3
|
padding-top: ${t.sp3};
|
|
4
4
|
`,Pt=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as j,u as M,M as L,aa as R,a0 as T,j as i,Y as b,K as H,bB as U,o as l,g as n,C as a,aQ as W,bH as B,ax as G,v as _,m as o}from"./index-
|
|
1
|
+
import{X as j,u as M,M as L,aa as R,a0 as T,j as i,Y as b,K as H,bB as U,o as l,g as n,C as a,aQ as W,bH as B,ax as G,v as _,m as o}from"./index-s8qDJKCo.js";import{n as t}from"./vendor-CnQcJ2Lu.js";const r={iconContainerMaxWidthHeight:new a(o[6],o[7]),iconContainerMarginRight:new a(o[3],o[3]),iconWidthHeight:new a(20,o[4]),iconPadding:new a(10,12),containerPaddingTopBottom:new a(o[4],o[4]),containerPaddingLeftRight:new a(o[3],o[4]),buttonLeftMargin:new a(o[8],o[0]),buttonTopMargin:new a(o[4],o[2]),buttonRightMargin:new a(o[0],20)};function Q({heading:e,buttonText:c,analytics:g,maxInsuredAmount:u,pageName:h,style:x,onSignUpClick:S,onSwitchClick:y,onMoveMoneyClick:$}){const d=j(),f=M(),{common:v,commonSetUp:P}=L.getLocalizedStrings(),s=P.setUp.accountsPlg,z=()=>{switch(c){case s.signUpButtonText:g?.trackPlgPromoClicked(h,"Sign Up for Free"),S?.();break;case s.switchButtonText:g?.trackPlgPromoClicked(h,"Switch Now"),y?.();break;default:g?.trackPlgPromoClicked(h,"Move Money"),$?.()}},k=R(T(u),u,v.currency.currencySymbol).toUpperCase();return i.jsxs(E,{windowSize:d,width:x?.width,style:x,"data-testid":b("credit-card-payment-plg-section"),children:[i.jsxs(D,{children:[i.jsx(A,{windowSize:d,isDarkMode:f.mode==="dark",children:i.jsx(O,{windowSize:d,children:i.jsx(X,{})})}),i.jsx(F,{children:i.jsxs(I,{children:[i.jsx(J,{windowSize:d,children:e}),i.jsxs(N,{windowSize:d,children:[i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.two.replace("__amount__",k)})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.three})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.four})]})]})]})})]}),i.jsx(K,{windowSize:d,children:i.jsx(H,{label:c,"data-testid":b("accounts-plg-button",c),onClick:C=>{C.stopPropagation(),z()},buttonColors:{borderColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},backgroundColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},textColor:{default:n.neutralGrey5Light,hover:n.neutralGrey5Light,disabled:n.neutralGrey5Light}},size:"small",style:{padding:`6px ${l.sp3}`,borderRadius:"6px"},textStyle:{fontWeight:U.regular}})})]})}const D=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
`,J=t(B)`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{cg as M,u as N,co as P,M as H,j as l,cp as L,Y as x,b1 as z,o,dg as _,bT as T,b2 as g,s as B,p as S,eT as U,eU as Y,eV as A,v as K,a$ as X,a2 as Z,g as m}from"./index-
|
|
1
|
+
import{cg as M,u as N,co as P,M as H,j as l,cp as L,Y as x,b1 as z,o,dg as _,bT as T,b2 as g,s as B,p as S,eT as U,eU as Y,eV as A,v as K,a$ as X,a2 as Z,g as m}from"./index-s8qDJKCo.js";import{b as w,n}from"./vendor-CnQcJ2Lu.js";const fe=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:y,formState:{errors:f}}=M(),b=N(),[j,C]=w.useState(!1),k=P(f,e??""),V=H.getLocalizedStrings().common.currency,D=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??V.countryCode}},I={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(L,{name:e,control:y,defaultValue:t,rules:r,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return w.createElement(z,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(v.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>C(!1),key:_(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:q,Option:G,Input:W,SingleValue:ee,ValueContainer:Q,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:J},hideSelectedOptions:!1,styles:I,isDisabled:a!=null})}})},q=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},G=e=>{const{data:r,isSelected:t,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=r.countryCode,p=typeof r.label=="string"?r.label:r.value;return l.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(g.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:t,children:l.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},J=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return l.jsx(T,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:y,style:f})=>l.jsx(ce,{style:f,children:t[y]})})},Q=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),W=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(O,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(O,{children:r.label})})},O=n(B)`
|
|
2
2
|
color: ${e=>e.theme.colors.primary};
|
|
3
3
|
`,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&U(e)===!1)return l.jsx(l.Fragment,{});{const r=Y[`${A(e??"")}`];return l.jsx(ie,{children:l.jsx(r,{width:o.sp4,height:o.sp3})})}},te=n.span`
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,X as b,M as d,a1 as l,Y as p,c as x,o as i,$ as g,c0 as h,k as m}from"./index-
|
|
1
|
+
import{j as t,X as b,M as d,a1 as l,Y as p,c as x,o as i,$ as g,c0 as h,k as m}from"./index-s8qDJKCo.js";import{b as u,n as o}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const f=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as r}from"./index-s8qDJKCo.js";import o from"./CustomerOnboardingNoStepsPage-CMsvHUPO-DxVhq6DJ.js";import i from"./CustomerOnboardingPage-CUUtm6Cl-CcOROhvt.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./HelpButton-Cms9G_Fp-BBuusntx.js";import"./MeetingCalenderPopup-Crufcivq-DYL_5ev9.js";import"./PaymentAccountSetupBillingAddressSection-f5qsN-3Y-COAiLT15.js";import"./SetUpAccountSection-BlokopoC-B8jxPtba.js";import"./SetUpDefaultSection-CjXLrIH0-Clr5GDIw.js";import"./ChaseOverlay-CIiRuAKM-CHTItafP.js";import"./CustomerOnboardingDetailPageSkeleton-CTWkmWXm-pLg_xRl2.js";import"./CompanyOfficerDetailsSection-ELXdYttn-C2ULDuzE.js";import"./LabeledAddressValueField-DCYUeYio-CbmzwkEi.js";import"./LabeledCreatableSingleSelectField-DCazn6yx-BaRWYFjn.js";import"./LabeledDocumentField-Cip0e83a-AMdSbb7b.js";import"./DocumentSecurityBanner-D-c2msUb-CaQCac0Q.js";import"./QBOSetupSection-DXfY8nFt-HGFNBREA.js";import"./QBOConnectionDialog-DjT-h910-BrRnOxYD.js";const w=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?r.jsx(o,{...t}):r.jsx(i,{...t});export{w as default};
|