@zeniai/web-cockpit-ui 1.15.68-prod → 2.0.0-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/Preview-C3kztGrG.js +1 -0
- package/dist/assets/ScreenRoutes-5hC3wQD-.js +179 -0
- package/dist/assets/SignInScreen-Bw3kDJOY.js +1 -0
- package/dist/assets/{analytics-D0xbCiOA.js → analytics-Ci62SVC6.js} +15 -15
- package/dist/assets/analyticsHelper-DvZ4fRLz.js +1 -0
- package/dist/assets/{core-VVne9A9m.js → core-CrJ0HRkP.js} +2 -2
- package/dist/assets/{dash.all.min-CZdKQs3q.js → dash.all.min-BC3O3eK3.js} +1 -1
- package/dist/assets/{empty-BxIsRmiL.js → empty-DCdjTxMk.js} +1 -1
- package/dist/assets/{index-CW-pqTwR.js → empty-DewRN75u.js} +1 -1
- package/dist/assets/epic-ButtTfPO.js +2 -0
- package/dist/assets/{index-D0xGm0tM.js → index-BHVDlT_9.js} +1 -1
- package/dist/assets/{index-0sfOIAIW.js → index-BIzFhK6B.js} +1 -1
- package/dist/assets/index-BnSSVzJm.js +1 -0
- package/dist/assets/index-C1011MmK.js +2 -0
- package/dist/assets/index-CS2xkLsB.js +1 -0
- package/dist/assets/index-DrEiJ4Wx.js +1 -0
- package/dist/assets/index-Obh2uEoj.js +75311 -0
- package/dist/assets/{lexical-0vG0lfLn.js → lexical-Y1MbDrft.js} +1 -1
- package/dist/assets/{liveblocks-abv8TgYe.js → liveblocks-CH5Ytl_r.js} +1 -1
- package/dist/assets/{lottie-DehW2chz.js → lottie-jJKhsKLZ.js} +2 -2
- package/dist/assets/{mui-DOS4CfBc.js → mui-DzLLS9Rs.js} +2 -2
- package/dist/assets/{react-C3bwNlEv.js → react-9Kj1B1wt.js} +2 -2
- package/dist/assets/{react-0muarBdd.js → react-BLe964tg.js} +3 -3
- package/dist/assets/{react-DGIuy5RW.js → react-CNU9DWBw.js} +1 -1
- package/dist/assets/{react-DGupjeTm.js → react-C_qk_SxL.js} +2 -2
- package/dist/assets/{react-BX1V71Rc.js → react-CdND5srH.js} +2 -2
- package/dist/assets/{react-BKlbvdVi.js → react-D1VJKwtS.js} +2 -2
- package/dist/assets/{react-BQ6Phht1.js → react-D1lzTawy.js} +2 -2
- package/dist/assets/{react-Bf7WBvpI.js → react-DRO7qhGA.js} +4 -4
- package/dist/assets/{recharts-BBlqu8Rz.js → recharts-DE-kxplH.js} +25 -25
- package/dist/assets/{sentry-DBhcw6Be.js → sentry-SNkBC2Al.js} +2 -2
- package/dist/assets/{url-CSfgHOtI.js → url-C9VCVVAZ.js} +1 -1
- package/dist/assets/url-h1qG-NI4.js +1 -0
- package/dist/assets/{utils-DT6Wq-eT.js → utils-CpsqBQqv.js} +1 -1
- package/dist/assets/zeni-epic-state-B7yJI5lR.js +14 -0
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-B5qIuZya-DM7YY1FB.js +0 -21
- package/dist/assets/AIPerformancePage-BHB45mP--CWndWSdC.js +0 -539
- package/dist/assets/AccountInfoPage-Cd5xYT1g-BbefpV-7.js +0 -18
- package/dist/assets/AccountInfoPageContent-CJ7ycVIK-5M9LxJhG.js +0 -149
- package/dist/assets/AccountLockedInfoModal-Dox7IuAX-BMD0s6gP.js +0 -59
- package/dist/assets/AccountReconDetailsDrawerPage-Bqty08m0-B-ibKIL7.js +0 -239
- package/dist/assets/AccountRow-D1cjRJJD-brXv0bxV.js +0 -298
- package/dist/assets/AccountsPromoCardStack-Bs3naJHM-CnqFEGey.js +0 -207
- package/dist/assets/AddAddressForCardDrawer-DZkBMJfp-C4r6mehv.js +0 -6
- package/dist/assets/AddToWalletPage-CyRfqVDB-BdTdHS85.js +0 -344
- package/dist/assets/AgingReportsPage-xBFff3BM-ky-EAGcf.js +0 -79
- package/dist/assets/AllUserItems-BJf6WPDo-Deh60Xs6.js +0 -192
- package/dist/assets/ApAgingDetailPage-CjBrPyi8-Drme0iaF.js +0 -46
- package/dist/assets/AppBasePage-CqDm-hnV-gy7t8mSc.js +0 -71
- package/dist/assets/AppDrawerContent-CVVWj66i-CgQm4R5E.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-Cckd2uVA-CdSeUeuR.js +0 -47
- package/dist/assets/ArAgingChart-CBsqOd-4-CM7YnEql.js +0 -24
- package/dist/assets/ArAgingDetailPage-i7JObt60-DiaDa_kU.js +0 -46
- package/dist/assets/AttachmentView-CzC4skJ3-DSp7S_ow.js +0 -101
- package/dist/assets/BalancesInsightWithToolTip-B6umvmgL-B0jviFnz.js +0 -38
- package/dist/assets/BankAccountSection-Di4sF52j-CjUG2k4c.js +0 -79
- package/dist/assets/BankAccountWarningSection-Cled-2cR-DDIv4R5M.js +0 -51
- package/dist/assets/BankConnectionsSettingsPage-Ccnzq7st-BhXmaxPm.js +0 -425
- package/dist/assets/BillDetailPage-XXOwBfO1-DxWLoxsB.js +0 -266
- package/dist/assets/BillPayApprovalRuleDetailPage-DFZ0csaT-D62XtRWM.js +0 -27
- package/dist/assets/BillPayApprovalRulesPage-COCypDcS-CxH1-1ro.js +0 -241
- package/dist/assets/BillPayPromoPage-DOE2YIqC-BRNhZmcV.js +0 -84
- package/dist/assets/BillPaySetUpPage-BCJbZDsV-EdWAn7sO.js +0 -42
- package/dist/assets/BillingSettingsPage-iImtlEmO-oLToelCa.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-B11GWM_0-BmGfxE4w.js +0 -1
- package/dist/assets/BoxItem-Bxa1M4QU-CY-vorJI.js +0 -53
- package/dist/assets/BusinessVerificationPage-DSuJFoW1-Xi-gZLue.js +0 -138
- package/dist/assets/CardNumberSubText-_ZZbaz_k-BDqMr1hm.js +0 -21
- package/dist/assets/CashbackDetailPage-DAZXitLt-kEgVWuyi.js +0 -285
- package/dist/assets/ChargeCardDetailPage-B1VIpASk-BGlRije7.js +0 -1467
- package/dist/assets/ChargeCardListPage-BOBepN-x-DtybfgKA.js +0 -412
- package/dist/assets/ChargeCardListTable-YznzSsJo-DoULf2wO.js +0 -711
- package/dist/assets/ChargeCardPaymentHistoryPage--jOwsMla-Bzj0wTwy.js +0 -565
- package/dist/assets/ChargeCardPromoPage-DIfakIOK-BNvT1cxv.js +0 -222
- package/dist/assets/ChargeCardSetupPage-0bpVkeJs-Bkuwwfuy.js +0 -36
- package/dist/assets/ChargeCardStatementsPage-ChWyQlw6-CbdQ3AHt.js +0 -60
- package/dist/assets/CheckDepositDrawerPage-BS7hnyZn-kNVwtOWy.js +0 -206
- package/dist/assets/CollapsableReportTable-DNfFkAts-cgYLh83Q.js +0 -2982
- package/dist/assets/CompanyOfficerDetailsSection-CrOIN4IW-B9X3JGYF.js +0 -331
- package/dist/assets/CompanyPassportCard-CkzYFTrp-BcZUZqNN.js +0 -42
- package/dist/assets/CompanyPassportPage-FE6yli6h-DWhiSjrR.js +0 -417
- package/dist/assets/CompleteProfile-Cb8i1XgZ-BP6okX49.js +0 -52
- package/dist/assets/ConfettiBurst-BZCXEGYA-ho8ERS31.js +0 -1
- package/dist/assets/ConstrainedInnerElement-CgdnMeoA-Cv85URYx.js +0 -5
- package/dist/assets/CreateOrEditVendorPage-CzpSgxbO-2ilw068v.js +0 -281
- package/dist/assets/CreditCardPaymentDrawerPage-c_q0MsSO-CoTzu5XT.js +0 -227
- package/dist/assets/CurrencySelectField-BAh7SHrG-CBSRpu74.js +0 -139
- package/dist/assets/CustomerOnboardingActivationPage-f3Aa6E5r-DcPBpEPv.js +0 -88
- package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-DAhlgLSo.js +0 -1
- package/dist/assets/CustomerOnboardingDetailPageSkeleton-DYuiWn8s-DBRyrBpA.js +0 -162
- package/dist/assets/CustomerOnboardingNoStepsPage-Bh_F0-oC-ui07nfsA.js +0 -66
- package/dist/assets/CustomerOnboardingPage-B9hSO88_-BFSPGucc.js +0 -107
- package/dist/assets/CustomerOnboardingProductSuitePage-CG0HKCpQ-CTl3yjRz.js +0 -202
- package/dist/assets/Dashboard-BJ_oIHab-nrsDE6qS.js +0 -1611
- package/dist/assets/DashboardReportPage-BemzMw2e-D89HJr4G.js +0 -371
- package/dist/assets/DashboardSidebarBackgroundAnimation-BtA5oEGG-Dlhefpu7.js +0 -12
- package/dist/assets/DepositAccTransactionItem-CyFi1P_L-BDRqwizb.js +0 -76
- package/dist/assets/DepositAccTransactionListPage-DvBRRUdZ-DIdaGFeH.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-DCDo3aHI-kEBCfOTM.js +0 -21
- package/dist/assets/DownloadOverlay-D_lL1sPW-xWfuT0Vo.js +0 -439
- package/dist/assets/DrawerPage-DesxXhZk-CRre4dYu.js +0 -118
- package/dist/assets/EditPeoplePage-QvPy_Six-DH4hfGb_.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-C0ZDkboO-DXyrjaYc.js +0 -865
- package/dist/assets/EntityDetailPage-l7nXIsyF-5oCAhXWK.js +0 -18
- package/dist/assets/EntitySummarySection-BwX0a4JL-zcla-D8w.js +0 -151
- package/dist/assets/ExpenseAutomationOverviewPage-EdyHjbff-MnqvBISM.js +0 -281
- package/dist/assets/ExpenseAutomationPage-DA22Qofw-D083tvHO.js +0 -3001
- package/dist/assets/ExpressPayPage-EMP6inpX-3XG4gLSI.js +0 -168
- package/dist/assets/FeaturePreviewPage-SYJm-3aR-DqyedTbe.js +0 -11
- package/dist/assets/FollowStepsSection-BxESVqJD-Cg2jHWRs.js +0 -390
- package/dist/assets/GlobalReviewListPage-D5_ACa-q-D3OrFPtp.js +0 -291
- package/dist/assets/InformationCardStack-B_qQUEYD-DttLY3HS.js +0 -31
- package/dist/assets/InsightsCardStack-BsQzoVzj-Dk9dJ9p5.js +0 -79
- package/dist/assets/InsightsSection-B6CNlTNH-BdZRn5zX.js +0 -27
- package/dist/assets/IntegrationsSettingsPage-DP6fAccq-LBB3bZYV.js +0 -57
- package/dist/assets/InternationalWireSwiftDetailsPage-VdG7bDZi-CfZjD-fy.js +0 -171
- package/dist/assets/InternationalWireVerificationPage-COC6lZml-DC50drx7.js +0 -65
- package/dist/assets/InviteFormPage-DN02jRy5-Buy4T1zp.js +0 -312
- package/dist/assets/InvitePageListView-CP4K9tJi-CHkbuC7f.js +0 -739
- package/dist/assets/InvitePeoplePage-VTM6kM1u-CU4p_G8a.js +0 -12
- package/dist/assets/InvoiceUploadSection-it-ZYl1N-XsZhHn3v.js +0 -140
- package/dist/assets/IssueChargeCardPage-CVfuvGey-C6KQpSo7.js +0 -532
- package/dist/assets/LabeledAddressValue-DDrQcHIE-hP7vwQBZ.js +0 -49
- package/dist/assets/LabeledAddressValueField-BgWwd5Gw-DFe8vIUL.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CcPO1k23-CU-iLMSG.js +0 -16
- package/dist/assets/LabeledCountryMultiSelectField-BYYjzwUG-DXWiTuV-.js +0 -237
- package/dist/assets/LabeledCreatableSingleSelectField-CISYMojq-DqRsgtUm.js +0 -208
- package/dist/assets/LabeledDocumentField-C_bcFxdY-DJ7-SOXf.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-ScGGCap8-mVsgmCkO.js +0 -59
- package/dist/assets/LabeledText-C8Y7EOsX-DEEaYkeb.js +0 -42
- package/dist/assets/LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-D4KRCLOC.js +0 -229
- package/dist/assets/LabeledZeniRolesDropDownField-BZtreVpj-D7w5kOCp.js +0 -297
- package/dist/assets/LinkJETransactionPage-CKq4oiX9-ltE4XV_6.js +0 -98
- package/dist/assets/LockCardPage-CZENNby7-BsVSJBxy.js +0 -623
- package/dist/assets/LowBalancePopup-1727S1ri-Ch0sQQf3.js +0 -34
- package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu--EXqRjnH.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-DyDKS580.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-BwOG2bc6.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-QMkZgQLG-BLATYjDj.js +0 -31
- package/dist/assets/MagicLinkTitleSection-CARU1oLQ-B0cyw7Mk.js +0 -17
- package/dist/assets/MailingDetailsSection-ByOPaJ05-DHEttRbi.js +0 -21
- package/dist/assets/MyBankConnectionsSettingsPage-BdgIIhL1-Dxh6kCPM.js +0 -110
- package/dist/assets/MyPendingActivationChargeCardListPage-CX38bDdq-ClsHkhfI.js +0 -6
- package/dist/assets/MyProfileSettingsPage-DYu0Fx6I-CkZmnWdK.js +0 -85
- package/dist/assets/NavBarWithPicker-CGGEvLwe-DZ7VBJBK.js +0 -30
- package/dist/assets/NavigationArrow-CTNkKUtV-DwVtEjKU.js +0 -47
- package/dist/assets/NavigationDots-Dvce3gHt-BhNbY-Jn.js +0 -15
- package/dist/assets/NewGlobalMerchantPage-D_f7z47T-CFtXtRiH.js +0 -160
- package/dist/assets/NoDataChart-CrKeqWSr-DnRwd0s-.js +0 -26
- package/dist/assets/NoDataTable-4vPXmPYF-0AXx0isj.js +0 -8
- package/dist/assets/NotFoundPage-BLWPU1wU-DmwpjiFz.js +0 -46
- package/dist/assets/NotificationSettingsPage-CDiDLX3A-9UeXvRF4.js +0 -163
- package/dist/assets/NotificationsListConfig-B5pDa4cJ-CViBSk1u.js +0 -1
- package/dist/assets/NotificationsPage-Ccl7Dny1-DO1DVf8y.js +0 -685
- package/dist/assets/OpExByVendorPage-spd-nKV4-BYZguWNQ.js +0 -100
- package/dist/assets/OverlayContainerPage-BG9y5C0t-XSUpPkb1.js +0 -11
- package/dist/assets/PandLWithForecastPage-TSoe4Z7F-DADbKlaU.js +0 -123
- package/dist/assets/PaymentAccountSetupBillingAddressSection-9ma8SpIa-DnLcaoHi.js +0 -107
- package/dist/assets/PeoplePage-b5_I0qOw-DREebsk9.js +0 -727
- package/dist/assets/Preview-DkS-Ppwi.js +0 -1
- package/dist/assets/ProductsCarousel-C3M0ocdF-CqKUYrUp.js +0 -142
- package/dist/assets/PromoBaseCards-BOGJI2ws-HYGeFCqU.js +0 -218
- package/dist/assets/QBOConnectionDialog-CmpnnuzP-5mKGNZm7.js +0 -51
- package/dist/assets/QBOSetupSection-DjnN9dgv-D9sOi7j3.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-D5NXjrO9-CSFmXSBt.js +0 -32
- package/dist/assets/ReimbursementApprovalRulesPage-BsCTIqUJ-BciPnq07.js +0 -243
- package/dist/assets/ReimbursementDetailPage-BbyxE2uL-CCn1M_IM.js +0 -314
- package/dist/assets/ReimbursementPromoPage-CyEgwqcf-QZKK6RXF.js +0 -84
- package/dist/assets/ReimbursementSetUpPage-RETPkEQd-7RlERPSK.js +0 -140
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DnmYl0FM-B6Bppczb.js +0 -1
- package/dist/assets/ReloadCard-Bdoo0XiI-BkT_TrPt.js +0 -26
- package/dist/assets/ReportTableViewSelector-Bc1K7mU_-BcXnhDrl.js +0 -151
- package/dist/assets/ReportsPage-BOTHMLWh-C7yXcceR.js +0 -269
- package/dist/assets/RevenueChart-DvyZ3aO7-ln4Xbq3A.js +0 -280
- package/dist/assets/ReviewDetailsPage-BIMg1n2e-DlA-53yQ.js +0 -290
- package/dist/assets/ReviewOverlay-CxwoiOLC-DmcvjVCl.js +0 -152
- package/dist/assets/RoleWithToolTip-Ct3_VuDM-BKP6CsTd.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-DiL5Dozk-DCavU86U.js +0 -37
- package/dist/assets/ScheduleDetailsPage-5FWpLRtd-CO7mo75a.js +0 -37
- package/dist/assets/ScheduleSequenceTable-R3-PsXES-i-4DMkvc.js +0 -326
- package/dist/assets/ScreenRoutes-D-ddKpF8.js +0 -179
- package/dist/assets/SetUpAccountSection-CctbMmoK-ZyErAiPF.js +0 -378
- package/dist/assets/SignIn-CmgmnRm4-DBoFBrvr.js +0 -491
- package/dist/assets/SignInScreen-DCSGviBr.js +0 -1
- package/dist/assets/SpendManagementListViewPage-CFUxCqkU-dAFL_Ppz.js +0 -134
- package/dist/assets/SpendManagementPerTabPage-C-kqNTci-Udt5CTX9.js +0 -754
- package/dist/assets/SpendManagementSection-CIz4nE_w-0q2VpGOz.js +0 -246
- package/dist/assets/StatementItem-vVtoBN2w-CiKnbbLX.js +0 -31
- package/dist/assets/StatementsPage-As5WOnMR-D0_TDe23.js +0 -58
- package/dist/assets/StatusSwitcher-Bv-ozN6U-Uu-9K_ZT.js +0 -120
- package/dist/assets/SubTabSwitcher-D7QeM6nb-Cvhnug-S.js +0 -58
- package/dist/assets/SummaryCard-C2qoTsAY-AZ17zAeW.js +0 -1
- package/dist/assets/TaskManagementPage-BJwp32Ph-DTb1_fWh.js +0 -508
- package/dist/assets/TimeRangeSwitcher-D00bDDhP-DMLJ4CgT.js +0 -64
- package/dist/assets/TimeframeSwitcher-DA99HdHt-B7dPmR3A.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-DyggDIQj-BDMDYsLj.js +0 -53
- package/dist/assets/TopExCard-Z1WabZ8c-D9ahLOhN.js +0 -38
- package/dist/assets/TopExDetailPage-CzHG4f9E-DSsiHUw6.js +0 -132
- package/dist/assets/TransactionActivityLogPage-CGKnjNfU-DFi44yxk.js +0 -195
- package/dist/assets/TransactionDetailPage-1-mLOWSz-NZ0pEK8W.js +0 -903
- package/dist/assets/TransactionList-BB-xoIGm-CmL2sv-k.js +0 -153
- package/dist/assets/TransactionListBig-C5Sf5Xh--DUDOs_q9.js +0 -284
- package/dist/assets/TransactionListPage-Cj7h1Ros-BpKazEVH.js +0 -35
- package/dist/assets/TransactionVendorDetailPage-SsrSOk3O-BLmQC0O2.js +0 -80
- package/dist/assets/TransferDrawerPage-BvKZ7vHF-BDZmQek2.js +0 -362
- package/dist/assets/TreasuryOverviewPage-DwvjMR4_-BGYjEWMJ.js +0 -725
- package/dist/assets/TreasuryPromoPage-CtTFvSQW-B3Bvdh6x.js +0 -505
- package/dist/assets/TreasuryStatementsPage-Catz8shX-X_IYs6qa.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-D8hzCL5o-Da9lGvIi.js +0 -58
- package/dist/assets/TrendChart-Bnp4Pcdf-CJF7dKdP.js +0 -16
- package/dist/assets/TrendWithTransactions-3D1FvM8G-TXKeFcvZ.js +0 -116
- package/dist/assets/UncategorizedAccountsMappingPage-DbyY-dYB-D1dmyVJ4.js +0 -244
- package/dist/assets/UnitIntegrationPage-CTzme1te-CbgSnbxZ.js +0 -67
- package/dist/assets/UploadAdditionalDocumentOverlay-Wl4Spdpn-PlCykjL7.js +0 -38
- package/dist/assets/Vendor2FAPopup-D0zYKkIv-aIJ1NUXW.js +0 -1
- package/dist/assets/VendorACHDetailsPage-YYX9aQdw-D-OOHJou.js +0 -1
- package/dist/assets/VendorDetailPage-Br9wIOnI-De2XcUb6.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-BdL3didN.js +0 -1
- package/dist/assets/VendorFiling1099EditablePage-himC7iD3-C2XAIK9H.js +0 -175
- package/dist/assets/VendorFirstReviewPage-BbknTCBD-DDAQwDZy.js +0 -730
- package/dist/assets/VendorInternationalWireDetailsPage-CS595Xgc-C3mHhbHk.js +0 -152
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-C2v0qs8u.js +0 -1
- package/dist/assets/VendorsAccountsSection-CgSJu8wq-Ctj2nPMI.js +0 -68
- package/dist/assets/VerifyDevice-Dvf0JsNN-PRfKusRx.js +0 -112
- package/dist/assets/VideoPlayer-VAzOGCDL-6U91k2_g.js +0 -78
- package/dist/assets/VideoPopup-BqvZ-XIh-nZFpm96A.js +0 -31
- package/dist/assets/WarningsDrawerPage-DeNonoNp-Cer8JJKy.js +0 -92
- package/dist/assets/ZeniAccountDetailPage-GcwTJdB8-BghGtTMM.js +0 -300
- package/dist/assets/ZeniAccountListViewPage-CdwO0Duy-D-GLBesW.js +0 -443
- package/dist/assets/ZeniAccountNavBarPieces-BrSIfL36-2vSHgl5n.js +0 -33
- package/dist/assets/ZeniAccountPromoPage-JrcedQYB-DxQZiNCa.js +0 -184
- package/dist/assets/ZeniAccountSetupPage-TKBfbgzJ-CCXkWEma.js +0 -36
- package/dist/assets/ZeniCopyright-DglqrTpl-B_6mXo3q.js +0 -1
- package/dist/assets/ZeniTransferAmountSlider-BcaZZuAw-Dri2Vqf1.js +0 -63
- package/dist/assets/add-to-wallet-DgdBD8_G-2lJ5O5xD.js +0 -1
- package/dist/assets/agingReportHelper-ovKP-qSS-Cx4Hdid-.js +0 -1
- package/dist/assets/analyticsHelper-B3H0U8CW.js +0 -1
- package/dist/assets/analyticsHelper-CAYdbjhS-Bgy1SJeR.js +0 -1
- package/dist/assets/arrow-south-east-round-PEovUgvH-CH2rCMd8.js +0 -1
- package/dist/assets/auto-transfer-rule-mbafm5D3-Bwf-jWRn.js +0 -1
- package/dist/assets/chartTypes-CD3vrBsI-CxjFANZl.js +0 -1
- package/dist/assets/commonDimensions-Oz1tdAcx-C8J13a8y.js +0 -1
- package/dist/assets/commonTypes-5tEXwrX4-DThfJWJu.js +0 -1
- package/dist/assets/constants-B4Nwm03n.js +0 -1
- package/dist/assets/downloadPdf-Dsuxeias-IRIi2izs.js +0 -1
- package/dist/assets/empty-B6p9RErG.js +0 -1
- package/dist/assets/epic-CPlQ2CFE.js +0 -2
- package/dist/assets/getReferrerType-DjPOy76W-DRP5VHem.js +0 -1
- package/dist/assets/gift-box-Cmt9OgIZ-CmAMj3r2.js +0 -1
- package/dist/assets/graphic-no-data-l-DU4J8fDt-Db5RbWJE.js +0 -1
- package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-BEpZ9Tqr.js +0 -1
- package/dist/assets/handshake-BPg58FML-6UbFX0a-.js +0 -1
- package/dist/assets/helper-Ckm10Uko-DCD3fpXN.js +0 -223
- package/dist/assets/index-BYqTlB4Y.js +0 -39
- package/dist/assets/index-BZNcKYJW.js +0 -1
- package/dist/assets/index-C8o-xzAN.js +0 -29875
- package/dist/assets/index-D-Jb9hdv.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-Cl8KOFjG.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-Cgyt68f3-CDBFUVvY.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-B7yPJt54.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Bre8FfBF-C3mdnabF.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-DJ5f-tsr.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-Ca3eEPkJ.js +0 -1
- package/dist/assets/page-detail-CWX5S47F-Db9HhKdl.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-BEaTutPV.js +0 -3
- package/dist/assets/radio-default-CiSgisfh-bKgsz1mh.js +0 -1
- package/dist/assets/shield-DOlUxcFf-CuhCM_gA.js +0 -1
- package/dist/assets/toCOABalancesWithID-aLNB35t7-BtYnBfqr.js +0 -1
- package/dist/assets/toChartData-DUL6vnzJ-Bu4Ds4yf.js +0 -1
- package/dist/assets/types-DyvtCprH-NFPm5TaG.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-_YW_CWHL.js +0 -1
- package/dist/assets/uploadAttachment-Ck4wivBR-Cl_dwAB6.js +0 -286
- package/dist/assets/uploadReceipts-CIgkuVpu-DNtrxUdf.js +0 -1
- package/dist/assets/url-CRv0BSFG.js +0 -1
- package/dist/assets/useLongPress-GCK2COYQ-Bd_7uKXZ.js +0 -1
- package/dist/assets/usp-line-BBd1wKwW-rq31vkuF.js +0 -1
- package/dist/assets/zeni-epic-state-DMWYYyyR.js +0 -14
|
@@ -1,281 +0,0 @@
|
|
|
1
|
-
import{g as He,e as v,aG as q,cT as qe,V as t,bE as Ye,ac as $,L as Je,cy as ie,cz as se,cA as le,dd as Ge,aT as Ke,x as Y,O as x,cc as Qe,o,de as Ze,c1 as S,cq as de,u as w,b9 as ce,ak as pe,an as G,bv as Xe,da as me,df as et,d as z,dg as ue,d9 as he}from"./index-C8o-xzAN.js";import{a as g}from"./sentry-DBhcw6Be.js";import{n as r}from"./mui-DOS4CfBc.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./zeni-epic-state-DMWYYyyR.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="73a31fbf-c45c-4630-826b-98f569824ac1",e._sentryDebugIdIdentifier="sentry-dbid-73a31fbf-c45c-4630-826b-98f569824ac1")}catch{}})();const tt=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:s,accountType:l,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const b=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,C=t.jsxs(ot,{children:[t.jsxs(I,{children:[t.jsx(N,{children:j}),t.jsx(T,{children:p})]}),t.jsxs(I,{children:[t.jsx(N,{children:h.achDetails.bankName}),t.jsx(T,{children:m})]}),t.jsxs(I,{children:[t.jsx(N,{children:n}),t.jsx(T,{children:e})]}),t.jsxs(I,{children:[t.jsx(N,{children:s}),t.jsx(T,{children:typeof l=="string"&&l!==""?et(l.toLowerCase()):l??""})]})]});return t.jsxs(it,{size:b,children:[t.jsxs(nt,{children:[t.jsxs(G,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(S,{title:C,placement:"top",children:t.jsx(lt,{children:t.jsx(dt,{})})})]}),t.jsx(rt,{children:f??h.emptyPlaceholderString})]}),t.jsx(at,{children:t.jsx(S,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(st,{onClick:k=>{k.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(ct,{})})})})]})},ot=r.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-wrap: wrap;
|
|
4
|
-
gap: ${o.sp1};
|
|
5
|
-
`,I=r.div`
|
|
6
|
-
display: flex;
|
|
7
|
-
justify-content: space-between;
|
|
8
|
-
width: 100%;
|
|
9
|
-
`,N=r.div`
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
text-align: left;
|
|
12
|
-
flex: 1 0 50%;
|
|
13
|
-
color: ${z.heroDark};
|
|
14
|
-
`,T=r.div`
|
|
15
|
-
box-sizing: border-box;
|
|
16
|
-
text-align: right;
|
|
17
|
-
word-break: break-word;
|
|
18
|
-
color: ${e=>e.theme.colors.brandColorPearl};
|
|
19
|
-
`,rt=r(pe)`
|
|
20
|
-
color: ${e=>e.theme.colors.grey1};
|
|
21
|
-
`,nt=r.div`
|
|
22
|
-
display: flex;
|
|
23
|
-
flex-direction: column;
|
|
24
|
-
`,at=r.div`
|
|
25
|
-
margin-top: ${o.sp0};
|
|
26
|
-
display: flex;
|
|
27
|
-
flex-direction: row;
|
|
28
|
-
gap: ${o.sp5};
|
|
29
|
-
`,it=r.div`
|
|
30
|
-
display: flex;
|
|
31
|
-
flex-direction: row;
|
|
32
|
-
align-items: flex-start;
|
|
33
|
-
justify-content: space-between;
|
|
34
|
-
margin-top: ${o.sp2};
|
|
35
|
-
margin-bottom: ${o.sp2};
|
|
36
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
37
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
38
|
-
&:hover {
|
|
39
|
-
cursor: pointer;
|
|
40
|
-
z-index: 1;
|
|
41
|
-
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
42
|
-
svg {
|
|
43
|
-
display: block;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
border-radius: ${o.sp2};
|
|
47
|
-
padding: ${o.sp3} ${o.sp4};
|
|
48
|
-
color: ${e=>e.theme.colors.primary};
|
|
49
|
-
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
50
|
-
`,st=r.div`
|
|
51
|
-
width: ${o.sp3};
|
|
52
|
-
`,lt=r.div`
|
|
53
|
-
display: flex;
|
|
54
|
-
width: ${o.sp3};
|
|
55
|
-
transform: translate(${o.sp2}, 2px);
|
|
56
|
-
height: ${o.sp3};
|
|
57
|
-
`,dt=r(ue)`
|
|
58
|
-
cursor: pointer;
|
|
59
|
-
height: ${o.sp3};
|
|
60
|
-
width: ${o.sp3};
|
|
61
|
-
color: ${e=>e.theme.colors.hero};
|
|
62
|
-
&:hover {
|
|
63
|
-
color: ${e=>e.theme.colors.primary};
|
|
64
|
-
}
|
|
65
|
-
`,ct=r(he)`
|
|
66
|
-
width: ${o.sp3};
|
|
67
|
-
height: ${o.sp3};
|
|
68
|
-
cursor: pointer;
|
|
69
|
-
color: ${e=>e.theme.colors.hero};
|
|
70
|
-
&:hover {
|
|
71
|
-
color: ${z.important};
|
|
72
|
-
}
|
|
73
|
-
`,pt=({paymentInstrument:e,onDeleteClick:n})=>{const s=v(),l=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,m=t.jsx(mt,{children:e.piLabels.map(p=>t.jsxs(ut,{children:[t.jsxs(ht,{children:[p.name,l.colon]}),t.jsx(xt,{children:p.value})]},p.name))});return t.jsxs(yt,{size:s,children:[t.jsx(gt,{children:t.jsxs(G,{children:[e.displayText,t.jsx(S,{title:m,placement:"top",children:t.jsx(ft,{children:t.jsx(wt,{})})})]})}),t.jsx(bt,{children:t.jsx(S,{enterDelay:600,display:"flex",title:l.deleteAccountTooltip,placement:"top",children:t.jsx($t,{onClick:p=>{p.stopPropagation(),n()},"data-testid":$("delete-vendor-international-account-section",e.paymentInstrumentId),children:t.jsx(vt,{})})})})]})},mt=r.div`
|
|
74
|
-
display: flex;
|
|
75
|
-
flex-wrap: wrap;
|
|
76
|
-
gap: ${o.sp1};
|
|
77
|
-
`,ut=r.div`
|
|
78
|
-
display: flex;
|
|
79
|
-
justify-content: space-between;
|
|
80
|
-
width: 100%;
|
|
81
|
-
`,ht=r.div`
|
|
82
|
-
box-sizing: border-box;
|
|
83
|
-
text-align: left;
|
|
84
|
-
flex: 1 0 50%;
|
|
85
|
-
color: ${z.heroDark};
|
|
86
|
-
`,xt=r.div`
|
|
87
|
-
box-sizing: border-box;
|
|
88
|
-
text-align: right;
|
|
89
|
-
word-break: break-word;
|
|
90
|
-
color: ${e=>e.theme.colors.brandColorPearl};
|
|
91
|
-
`,gt=r.div`
|
|
92
|
-
display: flex;
|
|
93
|
-
flex-direction: column;
|
|
94
|
-
`,bt=r.div`
|
|
95
|
-
margin-top: ${o.sp0};
|
|
96
|
-
display: flex;
|
|
97
|
-
flex-direction: row;
|
|
98
|
-
gap: ${o.sp5};
|
|
99
|
-
`,yt=r.div`
|
|
100
|
-
display: flex;
|
|
101
|
-
flex-direction: row;
|
|
102
|
-
align-items: flex-start;
|
|
103
|
-
justify-content: space-between;
|
|
104
|
-
margin-top: ${o.sp2};
|
|
105
|
-
margin-bottom: ${o.sp2};
|
|
106
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
107
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
108
|
-
&:hover {
|
|
109
|
-
cursor: pointer;
|
|
110
|
-
z-index: 1;
|
|
111
|
-
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
112
|
-
svg {
|
|
113
|
-
display: block;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
border-radius: ${o.sp2};
|
|
117
|
-
padding: ${o.sp3} ${o.sp4};
|
|
118
|
-
color: ${e=>e.theme.colors.primary};
|
|
119
|
-
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
120
|
-
`,$t=r.div`
|
|
121
|
-
width: ${o.sp3};
|
|
122
|
-
`,ft=r.div`
|
|
123
|
-
display: flex;
|
|
124
|
-
width: ${o.sp3};
|
|
125
|
-
transform: translate(${o.sp2}, 2px);
|
|
126
|
-
height: ${o.sp3};
|
|
127
|
-
`,wt=r(ue)`
|
|
128
|
-
cursor: pointer;
|
|
129
|
-
height: ${o.sp3};
|
|
130
|
-
width: ${o.sp3};
|
|
131
|
-
color: ${e=>e.theme.colors.hero};
|
|
132
|
-
&:hover {
|
|
133
|
-
color: ${e=>e.theme.colors.primary};
|
|
134
|
-
}
|
|
135
|
-
`,vt=r(he)`
|
|
136
|
-
width: ${o.sp3};
|
|
137
|
-
height: ${o.sp3};
|
|
138
|
-
cursor: pointer;
|
|
139
|
-
color: ${e=>e.theme.colors.hero};
|
|
140
|
-
&:hover {
|
|
141
|
-
color: ${z.important};
|
|
142
|
-
}
|
|
143
|
-
`,xe=(e,n)=>{const s=x.getLocalizedStrings().spendManagement.billPay.vendorCreation;switch(e){case"ach":return s.achDetails.ach;case"wire":switch(n){case"us-domestic":return s.wireDetails.domestic.domestic;case"international":return s.wireDetails.international.international;default:return""}default:return""}},J=({type:e,subType:n,vendorAccountDetails:s,vendorAccountDetailsInternational:l,onRemoveBankAccount:m,onAddNewAccountDetailClick:p})=>{const f=v(),[j,u]=g.useState(!1),[b,h]=g.useState(""),[C,k]=g.useState(!1),c=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,A=i=>{h(i),u(!0)},B={onOkClick:()=>{u(!1),m(b,C)},onCancelClick:()=>{u(!1),h("")}},V=i=>e==="ach"||e==="wire"&&n==="us-domestic"?i.bankAccountNumber:e==="wire"&&n==="international"?i.bankAccountIban??"":"",E=i=>e==="ach"?i.bankRoutingNumberAch:e==="wire"&&n==="us-domestic"?i.bankRoutingNumberWireTransfer:e==="wire"&&n==="international"?i.bankSwiftCode??"":"",F=()=>e==="ach"?c.achDetails.bankRoutingNumber:e==="wire"&&n==="us-domestic"?c.wireDetails.bankRoutingNumber:e==="wire"&&n==="international"?c.wireDetails.international.swiftCode:"",O=()=>e==="ach"?c.achDetails.bankAccountNumber:e==="wire"&&n==="us-domestic"?c.wireDetails.accountNumber:e==="wire"&&n==="international"?c.wireDetails.international.iban:"",R=()=>e==="ach"||e==="wire"&&n==="us-domestic"?c.achDetails.accountTypeLabel:"";return t.jsxs(St,{children:[j===!0?t.jsx(ie,{titleComponent:t.jsx(le,{children:c.areYOuSure}),descriptionComponent:t.jsx(se,{children:c.ifYouSubmit}),primaryButtonText:c.delete,secondaryButtonText:c.cancel,action:B,isEditPopup:!0,proceedButtonVariant:"danger"}):null,t.jsx(Dt,{windowSize:f,children:`${xe(e,n)} ${c.accountsLabel}`}),s?.map(i=>t.jsx(oe,{children:t.jsx(tt,{bankName:i.bankName,accountType:i.bankAccountType??"",bankAccountNumberOrIban:V(i),routingNumberOrSwiftCode:E(i),routingNumberOrSwiftCodeLabel:F(),accountNumberOrIbanLabel:O(),accountTypeLabel:R(),accountName:i.bankAccountName,onDeleteClick:()=>A(i.bankAccountId)})},i.bankAccountId)),l?.map(i=>t.jsx(oe,{children:t.jsx(pt,{paymentInstrument:i,onDeleteClick:()=>{k(!0),A(i.paymentInstrumentId)}})},i.paymentInstrumentId)),t.jsx(jt,{onAddAccountDetailsSection:p,type:e,subType:n})]})},jt=({onAddAccountDetailsSection:e,type:n,subType:s})=>{const l=v(),m=x.getLocalizedStrings().spendManagement.billPay;return t.jsx(t.Fragment,{children:t.jsxs(kt,{windowSize:l,onClick:e,"data-testid":$("add-vendor-account",n),children:[t.jsx(Ct,{}),t.jsx(de,{children:`${m.vendorCreation.addPrefix} ${xe(n,s)}`})]})})},Ct=r(me)`
|
|
144
|
-
margin-right: ${o.sp2};
|
|
145
|
-
width: ${o.sp3};
|
|
146
|
-
height: ${o.sp3};
|
|
147
|
-
`,kt=r.div`
|
|
148
|
-
padding: ${o.sp3};
|
|
149
|
-
display: flex;
|
|
150
|
-
align-items: center;
|
|
151
|
-
justify-content: center;
|
|
152
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
153
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
154
|
-
border-radius: ${o.sp2};
|
|
155
|
-
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
156
|
-
color: ${e=>e.theme.colors.hero};
|
|
157
|
-
cursor: pointer;
|
|
158
|
-
margin-top: ${o.sp2};
|
|
159
|
-
&:hover {
|
|
160
|
-
color: ${e=>e.theme.colors.primary};
|
|
161
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
162
|
-
}
|
|
163
|
-
`,Dt=r(ce)`
|
|
164
|
-
color: ${e=>e.theme.colors.primary};
|
|
165
|
-
margin-bottom: ${o.sp2};
|
|
166
|
-
`,oe=r.div``,St=r.div`
|
|
167
|
-
display: flex;
|
|
168
|
-
flex-direction: column;
|
|
169
|
-
padding-top: ${o.sp2};
|
|
170
|
-
padding-bottom: ${o.sp2};
|
|
171
|
-
margin-top: ${o.sp3};
|
|
172
|
-
margin-bottom: ${o.sp3};
|
|
173
|
-
`,At=({addressState:e,onUpdateMailingAddress:n})=>{const s=v(),l=x.getLocalizedStrings().spendManagement.billPay.vendorCreation;return t.jsxs(Et,{children:[t.jsxs(Vt,{windowSize:s,children:[`${l.mailingAddressLabel}`,t.jsx(Bt,{children:`${l.mailingAddressPlaceholder}`})]}),e!=null?t.jsxs(zt,{children:[Lt(e),t.jsx(S,{enterDelay:600,display:"flex",title:l.editMailingAddressTooltip,placement:"top",children:t.jsx(It,{"data-testid":$("edit-vendor-mailing-address"),onClick:()=>n("vendor_address"),children:t.jsx(Nt,{})})})]}):t.jsx(t.Fragment,{children:t.jsxs(Pt,{windowSize:s,"data-testid":$("add-vendor-mailing-address"),onClick:()=>n("vendor_address"),children:[t.jsx(Tt,{}),t.jsx(de,{children:l.addMailingAddress})]})})]})},Lt=e=>[e.street[2],e.street[0],e.street[1],e.city,`${e.state} ${e.postalCode}`.trim(),e.countryCode??e.country].filter(Boolean).join(", "),It=r.div`
|
|
174
|
-
width: ${o.sp3};
|
|
175
|
-
svg {
|
|
176
|
-
display: none;
|
|
177
|
-
}
|
|
178
|
-
`,Nt=r(Xe)`
|
|
179
|
-
width: ${o.sp3};
|
|
180
|
-
height: ${o.sp3};
|
|
181
|
-
cursor: pointer;
|
|
182
|
-
color: ${e=>e.theme.colors.hero};
|
|
183
|
-
&:hover {
|
|
184
|
-
color: ${e=>e.theme.colors.primary};
|
|
185
|
-
}
|
|
186
|
-
`,Tt=r(me)`
|
|
187
|
-
margin-right: ${o.sp2};
|
|
188
|
-
width: ${o.sp3};
|
|
189
|
-
height: ${o.sp3};
|
|
190
|
-
`,Pt=r.div`
|
|
191
|
-
padding: ${o.sp3};
|
|
192
|
-
display: flex;
|
|
193
|
-
align-items: center;
|
|
194
|
-
justify-content: center;
|
|
195
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
196
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
197
|
-
border-radius: ${o.sp2};
|
|
198
|
-
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
199
|
-
color: ${e=>e.theme.colors.hero};
|
|
200
|
-
cursor: pointer;
|
|
201
|
-
margin-top: ${o.sp2};
|
|
202
|
-
&:hover {
|
|
203
|
-
color: ${e=>e.theme.colors.primary};
|
|
204
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
205
|
-
}
|
|
206
|
-
`,zt=r(G)`
|
|
207
|
-
margin-top: ${o.sp2};
|
|
208
|
-
padding: ${o.sp3} ${o.sp4};
|
|
209
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
210
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
211
|
-
border-radius: ${o.sp2};
|
|
212
|
-
display: flex;
|
|
213
|
-
flex-direction: row;
|
|
214
|
-
justify-content: space-between;
|
|
215
|
-
align-items: center;
|
|
216
|
-
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
217
|
-
color: ${e=>e.theme.colors.hero};
|
|
218
|
-
cursor: pointer;
|
|
219
|
-
&:hover {
|
|
220
|
-
color: ${e=>e.theme.colors.primary};
|
|
221
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
222
|
-
svg {
|
|
223
|
-
display: block;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
`,Bt=r(pe)`
|
|
227
|
-
color: ${e=>e.theme.colors.grey1};
|
|
228
|
-
transform: translateY(${o.sp1});
|
|
229
|
-
`,Vt=r(ce)`
|
|
230
|
-
color: ${e=>e.theme.colors.primary};
|
|
231
|
-
margin-bottom: ${o.sp2};
|
|
232
|
-
display: flex;
|
|
233
|
-
flex-direction: row;
|
|
234
|
-
justify-content: flex-start;
|
|
235
|
-
gap: ${o.sp3};
|
|
236
|
-
`,Et=r.div`
|
|
237
|
-
display: flex;
|
|
238
|
-
flex-direction: column;
|
|
239
|
-
padding-top: ${o.sp2};
|
|
240
|
-
padding-bottom: ${o.sp2};
|
|
241
|
-
margin-top: ${o.sp3};
|
|
242
|
-
margin-bottom: ${o.sp3};
|
|
243
|
-
`,re="createVendorPage",ne=e=>`${e}_form`,P={containerPaddingLeft:new Y(w[3],w[6],w[6]),containerPaddingRight:new Y(w[3],w[6],w[8]),buttonWidth:new Y(125,125)},Ft=r.div`
|
|
244
|
-
display: flex;
|
|
245
|
-
flex-direction: column;
|
|
246
|
-
overflow: auto;
|
|
247
|
-
width: 100%;
|
|
248
|
-
`,Ot=r.div`
|
|
249
|
-
display: flex;
|
|
250
|
-
flex-direction: column;
|
|
251
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
252
|
-
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
253
|
-
padding-left: ${e=>`${P.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
254
|
-
padding-right: ${e=>`${P.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
255
|
-
overflow: auto;
|
|
256
|
-
`,Rt=r.div`
|
|
257
|
-
display: flex;
|
|
258
|
-
flex: 1 1 auto;
|
|
259
|
-
height: 100vh;
|
|
260
|
-
width: 100%;
|
|
261
|
-
flex-direction: row;
|
|
262
|
-
justify-content: center;
|
|
263
|
-
align-items: center;
|
|
264
|
-
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
265
|
-
`,Mt=r(Ze)`
|
|
266
|
-
color: ${e=>e.theme.colors.primary};
|
|
267
|
-
margin-bottom: ${o.sp3};
|
|
268
|
-
margin-top: ${o.sp3};
|
|
269
|
-
`,Ut=r(Qe)`
|
|
270
|
-
cursor: pointer;
|
|
271
|
-
color: ${e=>e.theme.colors.hero};
|
|
272
|
-
width: 20px;
|
|
273
|
-
height: 20px;
|
|
274
|
-
&:hover {
|
|
275
|
-
color: ${e=>e.theme.colors.primary};
|
|
276
|
-
}
|
|
277
|
-
`,Wt=r.div`
|
|
278
|
-
display: flex;
|
|
279
|
-
flex-direction: column;
|
|
280
|
-
padding-top: ${o.sp11};
|
|
281
|
-
`,y=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,_t=x.getLocalizedStrings().common.footer,ae=x.getLocalizedStrings().common.currency,oo=({vendorViewDetails:e,vendorId:n,screenType:s,analytics:l,filesEndPoint:m,authParams:p,vendorSearchAutoCompleteData:f,vendorSearchAutoCompleteActions:j,isLocalCurrencyEnabled:u,onBackClick:b,onVendorSelected:h,navigateToBankDetailPage:C,updateSelectedVendorForCreate:k,onRemoveBankAccount:c,updateSaveFetchState:A,onSaveVendor:B,navigateToMailingAddressPage:V,saveVendorDetailLocalData:E,resetVendorDetailLocalData:F,saveContactsInVendorDetailLocalData:O,updateFilesEntity:R,onEditFileName:i,onFetchAndUpdateVendorRecommendations:ge})=>{const{accountList:{accounts:be},classList:{classes:ye},vendorTypeList:$e,ownerList:fe,editVendorState:K,newVendorState:Q,fetchState:we,hasWireTransfer:Z,hasInternationalWireTransfer:M,deleteFileStatusById:ve,updateFileStatusById:je,accountsHierarchyList:Ce,classHierarchyList:ke}=e,L=n!=null?K?.vendorDetailLocalData:Q?.vendorDetailLocalData,d=Object.assign({},K??Q),De=He(),D=v(),[Se,U]=g.useState(!1),[Ae,W]=g.useState(!1),X=s==="create"?y.newVendorTitle:y.editVendor,Le=(d.bankAccountsUpdated??[]).map(a=>a.bankAccountId).sort(),Ie=(d.vendorBasic?.bankAccounts??[]).map(a=>a.bankAccountId).sort(),Ne=!q(Le,Ie),Te=(d.paymentInstrumentsUpdated??[]).map(a=>a.paymentInstrumentId).sort(),Pe=(d.vendorBasic?.paymentInstruments??[]).map(a=>a.paymentInstrumentId).sort(),ze=!q(Te,Pe),Be=(L?.contacts??[]).filter(a=>a.email!==""||a.fullName!==""||a.phone!=="").map(a=>qe(a,"contactInfoType")),Ve=d.vendorBasic?.contacts??[],Ee=!q(Be,Ve),Fe=d.bankAccountsUpdated.filter(a=>!!a.bankRoutingNumberAch),Oe=d.bankAccountsUpdated.filter(a=>!!a.bankRoutingNumberWireTransfer),Re=d.paymentInstrumentsUpdated.filter(a=>!!a.piNumber),ee=()=>{W(!0)},Me=a=>{U(a)},Ue={onOkClick:()=>{W(!1),U(!1),F?.(),b()},onCancelClick:()=>{W(!1),U(!1)}},_=g.useRef(null),We=a=>{_.current?.syncFormData(),V(a)},H=(a,_e)=>{_.current?.syncFormData(),C(a,_e)};g.useEffect(()=>{d?.saveStatus?.fetchState==="Completed"&&(A(),b())},[d]);const te=g.useRef(null);return t.jsxs(Ft,{windowSize:D,children:[t.jsx(Ye,{"data-testid":$("vendor-detail-container-nav-bar"),title:X,backgroundColor:De.colors.grey4,leftSideComponent:t.jsx(Ut,{onClick:ee,"data-testid":$("create-edit-vendor-nav-bar-back")}),enableTitleOnScroll:!0,scrollableContent:te,source:"CreateOrEditVendorPage"}),t.jsxs(Ot,{windowSize:D,ref:te,children:[we==="In-Progress"?t.jsx(Rt,{children:t.jsx(Je,{size:"ExtraLarge",start:!0})}):t.jsxs(t.Fragment,{children:[Se===!0?t.jsx(ie,{titleComponent:t.jsx(le,{children:y.discardTitle}),descriptionComponent:t.jsx(se,{children:y.discardDescription}),primaryButtonText:y.discard,secondaryButtonText:y.cancel,action:Ue}):null,D!=="small"?t.jsx(Mt,{children:X}):null,t.jsx(Ge,{ref:_,id:ne(re),allAccounts:be,allClasses:ye,accountsHierarchyList:Ce,classHierarchyList:ke,vendorTypeList:$e,allOwners:fe,vendorSearchAutoCompleteData:f,vendorSearchAutoCompleteActions:j,onVendorSelected:h,screenType:s,hasInternationalWireTransfer:M,selectedVendor:d,formLocalData:L,isBankAccountChanged:Ne,isContactListChanged:Ee,isPaymentInstrumentChanged:ze,analytics:l,pageBackBtnClicked:Ae,onBackClick:b,onSaveVendor:B,saveContactsInVendorDetailLocalData:O,updateSelectedVendorForCreate:k,saveVendorDetailLocalData:E,updateFilesEntity:R,toggleConfirmationPopup:Me,filesEndPoint:m,authParams:p,onEditFileName:i,deleteFileStatusById:ve,updateFileStatusById:je,onFetchAndUpdateVendorRecommendations:ge,isLocalCurrencyEnabled:u}),Z||M?t.jsx(At,{addressState:d.vendorNewAddressStatus?.addressToCreate,onUpdateMailingAddress:We}):null,d.vendorDetailLocalData?.currencyCode==null||d.vendorDetailLocalData?.currencyCode===ae.currencyCode?t.jsx(J,{type:"ach",vendorAccountDetails:Fe,onAddNewAccountDetailClick:()=>H("ach","standard"),onRemoveBankAccount:c}):null,Z&&(d.vendorDetailLocalData?.currencyCode==null||d.vendorDetailLocalData?.currencyCode===ae.currencyCode)?t.jsx(J,{type:"wire",subType:"us-domestic",vendorAccountDetails:Oe,onAddNewAccountDetailClick:()=>H("wire","us-domestic"),onRemoveBankAccount:c}):null,M&&(L?.countryCode!=null&&L.countryCode!=="US"||u)?t.jsx(J,{type:"wire",subType:"international",vendorAccountDetailsInternational:Re,isLocalCurrencyEnabled:u,onAddNewAccountDetailClick:()=>H("wire","international"),onRemoveBankAccount:c}):null]}),t.jsx(Wt,{})]}),t.jsx(Ke,{formId:ne(re),primaryBtn:{label:y.saveDetails,isLoading:d.saveStatus?.fetchState==="In-Progress",style:{width:P.buttonWidth.value(D)},isDisabled:!1},cancelBtn:{label:_t.cancel,style:{width:P.buttonWidth.value(D)},shouldResetOnCancel:!1,onClick:ee}})]})};export{oo as default,ne as formUniqueName};
|
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
import{V as t,e as he,a9 as ge,ac as ae,hJ as ea,aQ as aa,a as ta,L as na,aT as ze,o as a,O as K,x as m,b as Me,n as oa,aj as ia,g as Be,c1 as ra,fx as _e,N as H,d as J,gC as ce,w as la,as as Oe,c as ca,aS as we,aa as sa,fO as da,cQ as ma,ae as pa,fg as ua,fS as ha,cX as ga,hX as De,hY as ya,gq as fa,u as r,cc as Ca,bb as ba,fC as xa,cq as wa,an as Ne,h9 as Da,ca as Sa,aW as $a,hZ as ka,da as Aa,ha as La,g2 as va,f_ as Ia}from"./index-C8o-xzAN.js";import{n as i}from"./mui-DOS4CfBc.js";import{a as p}from"./sentry-DBhcw6Be.js";import{bL as pe,bZ as Fa,bh as Se,bJ as Ra,bK as $e,bI as Ta}from"./zeni-epic-state-DMWYYyyR.js";import{x as Pa}from"./LabeledControlledCheckBoxField-CcPO1k23-CU-iLMSG.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="650264bb-2716-4e8b-992d-a3e8f3e8bc89",e._sentryDebugIdIdentifier="sentry-dbid-650264bb-2716-4e8b-992d-a3e8f3e8bc89")}catch{}})();const te={largeLabelWidth:new m(120,120,160),navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(r[3],r[6],r[8]),containerPaddingRight:new m(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new m(r[5],r[8])},ue={pageTitle:new H("h6Regular","h5Regular"),integerAmountInput:new H("h5Regular","largeMedium"),decimalAmountInput:new H("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:ke}},common:{edit:ja,labels:se,navBar:{back:Ea},to:za,zeniInc:Ma},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ba}},chargeCard:{payEarly:z}}}=K.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:c,cashbackInformation:g,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:y,setShowReviewContent:x,onTransferClick:b})=>{const d=he(),S=Be(),v=ge().analytics,[B,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const F=te.largeLabelWidth.value(d),R=e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount",T=R?1:3,P=pe(Fa(Se().toDate(),[0,6],T).toDateString()).format(ke),_=R?z.timeline01BusinessDay:z.timeline23BusinessDays,O=R?z.estimatedPaymentCompleteWithoutTimeline.replace("__date__",P):z.estimatedPaymentCompleteWithTimeline.replace("__date__",P).replace("__timeline__",_);return t.jsxs(t.Fragment,{children:[t.jsxs(Ga,{windowSize:d,children:[t.jsx(tt,{windowSize:d,children:t.jsx(ra,{title:Ea,enterTouchDelay:600,placement:"bottom",display:"flex",children:t.jsx(at,{"data-testid":ae("nav-bar-back-credit-card-payment-review"),onClick:()=>{o&&h&&n&&g!=null&&v.trackCardsPayEarlyFormClick(f,c,g,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,y),x(!1)}})})}),t.jsx(nt,{windowSize:d,children:Ba.reviewAndConfirm}),t.jsxs(Na,{children:[z.pay," ",t.jsx(Ae,{children:t.jsx(_e,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:ue.integerAmountInput.styleObject(d),decimalStyles:ue.decimalAmountInput.styleObject(d),style:{display:"inline-flex"}})})," ",za," ",t.jsx(Ae,{children:Ma})]}),B?t.jsx(Xa,{children:t.jsxs(Ya,{children:[t.jsxs(Ha,{children:[t.jsx(Ja,{}),t.jsxs(Va,{children:[t.jsx(Za,{children:e.error?.title}),t.jsx(qa,{children:e.error?.message})]})]}),t.jsx(Ka,{children:t.jsx(Qa,{"data-testid":ae("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(et,{windowSize:d,children:t.jsxs(Ua,{children:[t.jsx(ce,{label:{label:se.paymentMethod,width:F},text:t.jsx(de,{windowSize:d,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"?z.bookPayment:z.sameDayACH}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.sourceAccount,width:F},text:t.jsxs(de,{windowSize:d,children:[We(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),t.jsxs(Wa,{windowSize:d,children:[e.chargeCardRepaymentDetailLocalData.transferFrom?.label,e.chargeCardRepaymentDetailLocalData.transferFrom?.maskedAccountNumber!=null?` ${e.chargeCardRepaymentDetailLocalData.transferFrom.maskedAccountNumber}`:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4!=null?` •••• ${e.chargeCardRepaymentDetailLocalData.transferFrom.accountLast4}`:null]})]}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.paymentDate,width:F},showAdditionalInfoLabel:!0,additionalInfoLabel:O,additionalInfoLabelStyles:{color:S.colors.hero,...la.smallRegular.cssObject},text:t.jsx(de,{windowSize:d,children:Se().format(ke)}),style:{width:"auto"}})]})})]}),t.jsx(ze,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp0},helperText:z.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${a.sp0} ${a.sp0} ${a.sp3} ${a.sp0}`},cancelBtn:{label:ja,onClick:()=>{o&&h&&n&&g!=null&&v.trackCardsPayEarlyFormClick(f,c,g,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,y),x(!1)},style:{minWidth:94}},primaryBtn:{label:z.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},We=(e,o,h)=>{if(o==="")return t.jsx(st,{});const n=e.find(c=>c.id===o),f=e.findIndex(c=>c.id===o);if(n!=null){if(n.accType==="depositAccount")return t.jsx(lt,{isOptionSelected:h,children:t.jsx(ct,{color:Da(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?t.jsx(ot,{src:Oa(n.logo),isOptionSelected:h,loading:"lazy"}):t.jsx(it,{isOptionSelected:h,children:t.jsx(rt,{})})}return null},Oa=e=>e.base64!==void 0?`${va}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Na=i(ba)`
|
|
2
|
-
color: ${e=>e.theme.colors.hero};
|
|
3
|
-
padding-top: ${a.sp3};
|
|
4
|
-
white-space: nowrap;
|
|
5
|
-
`,Ae=i.span`
|
|
6
|
-
color: ${e=>e.theme.colors.primary};
|
|
7
|
-
`,Wa=i.div`
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
10
|
-
`,de=i(Ne)`
|
|
11
|
-
display: flex;
|
|
12
|
-
align-items: ${e=>e.windowSize==="small"?"start":"center"};
|
|
13
|
-
`,Ua=i.div`
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: column;
|
|
16
|
-
width: 100%;
|
|
17
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
18
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
19
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
20
|
-
border-radius: ${a.sp2};
|
|
21
|
-
`,Ya=i.div`
|
|
22
|
-
display: flex;
|
|
23
|
-
width: 100%;
|
|
24
|
-
justify-content: space-between;
|
|
25
|
-
padding: ${a.sp3} ${a.sp4};
|
|
26
|
-
background-color: ${J.importantLight};
|
|
27
|
-
border-radius: ${a.sp2};
|
|
28
|
-
`,Va=i.div`
|
|
29
|
-
display: flex;
|
|
30
|
-
flex-direction: column;
|
|
31
|
-
margin-left: ${a.sp2};
|
|
32
|
-
`,Za=i(wa)`
|
|
33
|
-
color: ${J.important};
|
|
34
|
-
`,qa=i(Ne)`
|
|
35
|
-
color: ${J.important};
|
|
36
|
-
`,Xa=i.div`
|
|
37
|
-
margin-top: ${a.sp3};
|
|
38
|
-
display: flex;
|
|
39
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
40
|
-
justify-content: space-between;
|
|
41
|
-
padding: ${a.sp3} ${a.sp4};
|
|
42
|
-
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
43
|
-
border-radius: ${a.sp2};
|
|
44
|
-
box-shadow: ${e=>`${a.sp0} 2px 2px ${e.theme.colors.dropShadowNormal}`};
|
|
45
|
-
`,Ga=i.div`
|
|
46
|
-
height: auto;
|
|
47
|
-
padding-left: ${e=>`${te.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
48
|
-
padding-right: ${e=>`${te.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
49
|
-
margin-bottom: auto;
|
|
50
|
-
`,Ha=i.div`
|
|
51
|
-
display: flex;
|
|
52
|
-
align-items: flex-start;
|
|
53
|
-
`,Ka=i.div``,Ja=i(xa)`
|
|
54
|
-
width: ${a.sp4};
|
|
55
|
-
height: ${a.sp4};
|
|
56
|
-
color: ${J.important};
|
|
57
|
-
`,Qa=i(Me)`
|
|
58
|
-
cursor: pointer;
|
|
59
|
-
color: ${e=>e.theme.colors.hero};
|
|
60
|
-
width: ${a.sp4};
|
|
61
|
-
height: ${a.sp4};
|
|
62
|
-
min-height: ${a.sp4};
|
|
63
|
-
&:hover {
|
|
64
|
-
color: ${e=>e.theme.colors.primary};
|
|
65
|
-
}
|
|
66
|
-
`,Le=i.div`
|
|
67
|
-
display: flex;
|
|
68
|
-
flex: 1;
|
|
69
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
70
|
-
min-height: 1px;
|
|
71
|
-
max-height: 1px;
|
|
72
|
-
`,et=i.div`
|
|
73
|
-
display: flex;
|
|
74
|
-
flex-direction: column;
|
|
75
|
-
padding-top: ${a.sp3};
|
|
76
|
-
padding-bottom: ${e=>`${te.reviewContentWrapperPaddingBottom.valuePx(e.windowSize)}`};
|
|
77
|
-
`,at=i(Ca)`
|
|
78
|
-
cursor: pointer;
|
|
79
|
-
color: ${e=>e.theme.colors.hero};
|
|
80
|
-
width: ${a.sp4};
|
|
81
|
-
height: ${a.sp4};
|
|
82
|
-
min-height: ${a.sp4};
|
|
83
|
-
&:hover {
|
|
84
|
-
color: ${e=>e.theme.colors.primary};
|
|
85
|
-
}
|
|
86
|
-
`,tt=i.div`
|
|
87
|
-
display: flex;
|
|
88
|
-
flex-direction: row;
|
|
89
|
-
justify-content: flex-start;
|
|
90
|
-
align-items: center;
|
|
91
|
-
width: 100%;
|
|
92
|
-
top: ${a.sp0};
|
|
93
|
-
padding: ${e=>`${te.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${a.sp0}`};
|
|
94
|
-
z-index: 2;
|
|
95
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
96
|
-
`,nt=i(Oe)`
|
|
97
|
-
${e=>`${ue.pageTitle.style(e.windowSize)}`};
|
|
98
|
-
color: ${e=>e.theme.colors.primary};
|
|
99
|
-
padding: ${a.sp3} ${a.sp0} ${a.sp3} ${a.sp0};
|
|
100
|
-
`,ot=i.img`
|
|
101
|
-
display: flex;
|
|
102
|
-
width: ${e=>e.isOptionSelected?a.sp4:a.sp5};
|
|
103
|
-
height: ${e=>e.isOptionSelected?a.sp4:a.sp5};
|
|
104
|
-
min-width: ${e=>e.isOptionSelected?a.sp4:a.sp5};
|
|
105
|
-
margin-right: ${a.sp2};
|
|
106
|
-
`,it=i.div`
|
|
107
|
-
min-width: ${e=>e.isOptionSelected?a.sp4:a.sp5};
|
|
108
|
-
width: ${e=>e.isOptionSelected?a.sp4:a.sp5};
|
|
109
|
-
height: ${e=>e.isOptionSelected?a.sp4:a.sp5};
|
|
110
|
-
`,rt=i(Ia)`
|
|
111
|
-
min-width: inherit;
|
|
112
|
-
width: inherit;
|
|
113
|
-
height: inherit;
|
|
114
|
-
margin-right: ${a.sp2};
|
|
115
|
-
`,lt=i.div`
|
|
116
|
-
min-width: ${e=>e.isOptionSelected?a.sp4:a.sp5};
|
|
117
|
-
width: ${e=>e.isOptionSelected?a.sp4:a.sp5};
|
|
118
|
-
height: ${e=>e.isOptionSelected?a.sp4:a.sp5};
|
|
119
|
-
margin-right: ${a.sp2};
|
|
120
|
-
`,ct=i(La)`
|
|
121
|
-
min-width: inherit;
|
|
122
|
-
width: inherit;
|
|
123
|
-
height: inherit;
|
|
124
|
-
margin-right: ${a.sp2};
|
|
125
|
-
`,st=i(Aa)`
|
|
126
|
-
min-width: ${a.sp4};
|
|
127
|
-
width: ${a.sp4};
|
|
128
|
-
height: ${a.sp4};
|
|
129
|
-
margin-right: 12px;
|
|
130
|
-
margin-left: ${a.sp1};
|
|
131
|
-
color: ${e=>e.theme.colors.hero};
|
|
132
|
-
`,{common:me,spendManagement:{zeniAccounts:{zeniAccountList:dt},billPay:{insufficientFunds:mt},chargeCard:{payEarly:G}},commonSetUp:{setUp:{accountsPlg:ie}}}=K.getLocalizedStrings(),Ue="amount",pt="withdrawFrom",Y="paymentDetails",Ye="creditCardPaymentPage",re=(e,o)=>`${e}.${o}`,Ve=e=>`${e}_form`,D={largeLabelWidth:new m(120,120,160),labelMarginLeftPicker:new m(r[3],r[4]),labelMarginRightPicker:new m(r[3],r[4]),labelMarginTopPicker:new m(r[2],r[2]),labeledFieldPaddingLeft:new m(r[2],r[0]),labeledFieldPaddingRight:new m(r[2],r[2]),labeledFieldPaddingTop:new m(r[2],r[2]),labeledFieldPaddingBottom:new m(r[2],r[2]),infoLabelPaddingRight:new m(r[0],r[3]),infoLabelMarginTop:new m(r[1],r[0]),checkBoxTop:new m(r[1],r[0])},ve={integerAmountInput:new H("h5Regular","h2Regular"),decimalAmountInput:new H("largeSemiBold","h5Medium")};function ut({autoPayThreshold:e,plaidConnectionDetails:o,maxInsuredAmount:h,paymentDetails:n,lowBalanceAdditionalInfo:f,paymentAccount:c,isAccountsEnabled:g,onSaveChangesToLocalStore:L,onUpdatePaymentAccountStatus:C,onEstablishConnectionClick:y,onEstablishConnectionSuccess:x,onFetchLinkTokenClick:b,setShowReviewLoading:d,onSignUpAccountClick:S,onMoveMoneyClick:v,isCashbackInfoFetchStateCompleted:B,isCreditCardInfoFetchStateCompleted:I,isDebitCardInfoFetchStateCompleted:F,controllerEmails:R,productInformation:T,cashbackInformation:P,paymentSourceInformation:_,creditAccountInformation:O,debitAccountInformation:Q}){const s=he(),ee=Be(),oe=D.largeLabelWidth.value(s),$=ge().analytics,N=p.useRef(null),[W,U]=p.useState(!1),[A,V]=p.useState(void 0),w=o.link_account,Z=o.update_account,k=A==="update_account"?Z:w,[q,ye]=p.useState(k.linkToken??null),fe=we(w.updateStatus.fetchState),X=sa({mode:"all",reValidateMode:"onBlur",defaultValues:p.useMemo(()=>Ie(n),[n]),values:p.useMemo(()=>Ie(n),[n])}),Ce=c?.isLoginRequired??!1,j=c?.providerVerificationStatus?.code,be=we(Z.updateStatus.fetchState),Ze=p.useCallback((l,u)=>{const E=u.accounts.find(Qe=>Qe.id===c?.providerAccountId)??u.accounts[0];c?.paymentAccountId!=null&&A==="update_account"&&E?.verification_status!=null&&!Ce?C(E?.verification_status,c.paymentAccountId,"update_account"):y?.(l,A),V(void 0),U(!1)},[c?.paymentAccountId,c?.providerAccountId,A,Ce,C,y]),qe=p.useCallback((l,u)=>{l!=null&&(l.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&c?.paymentAccountId!=null&&C("verification_failed",c.paymentAccountId,"update_account"),console.log("Plaid Connection Error",l,u)),V(void 0),U(!1)},[c?.paymentAccountId,C]),{open:le,ready:xe}=da({token:q,onSuccess:Ze,onExit:qe});p.useEffect(()=>{(fe==="In-Progress"&&w.updateStatus.fetchState==="Completed"||be==="In-Progress"&&Z.updateStatus.fetchState==="Completed")&&(Ra(j??"")||(b?.("link_account"),x()))},[w.updateStatus.fetchState,x,b,fe,be,Z.updateStatus.fetchState,j]),p.useEffect(()=>{($e(j??"")||j==="verification_failed")&&!W&&A!=null&&k.linkToken===q&&k.fetchStatus.fetchState==="Completed"&&xe&&U(!0)},[xe,q,k.fetchStatus.fetchState,k.linkToken,j,A,W]),p.useEffect(()=>{k.fetchStatus.fetchState==="Completed"&&k.linkToken!=null&&k.linkToken!==q&&ye(k.linkToken)},[k.fetchStatus.fetchState,k.linkToken,q]),p.useEffect(()=>{W&&le()},[W,le]),p.useEffect(()=>{(j==null||j==="verification_failed"||j==="verification_expired"||$e(j))&&(pe(new Date().toISOString()).isAfter(w.expiration)||w.linkToken==null)&&b?.("link_account")},[]);const{isValid:Xe}=X.formState,Ge=async(l,u)=>{if(l!=null){if(l.includes("amount"))return;const E=Fe(u,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(E)}},He=l=>{if(f!=null)return f;const u=n.transferFromAccounts.find(E=>E.id===l);return u?.accountBalance?.available!=null&&Ta(n.chargeCardRepaymentDetailLocalData.amount,u?.accountBalance?.available)?mt.addMoney:""};p.useEffect(()=>{const l=X.watch((u,{name:E})=>{E!=null&&u!=null&&ma(()=>Ge(E,u))});return()=>{l.unsubscribe()}});const Ke=X.watch("paymentDetails.amount"),Je=X.handleSubmit(()=>{if(Xe){const l=X.getValues(),u=Fe(l,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(u),d(!0),B&&I&&F&&P!=null&&$.trackCardsPayEarlyFormClick(R,T,P,"Review",n.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:n.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:n.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:n.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:n.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},_,O,Q)}});return t.jsxs(t.Fragment,{children:[t.jsx(Ct,{children:t.jsx(_e,{amount:{amount:Ke??0,currencyCode:n.chargeCardRepaymentDetailLocalData.amount.currencyCode,currencySymbol:n.chargeCardRepaymentDetailLocalData.amount.currencySymbol},integerStyles:ve.integerAmountInput.styleObject(s),decimalStyles:ve.decimalAmountInput.styleObject(s)})}),t.jsx(pa,{...X,children:t.jsx(ft,{id:Ve(Ye),onSubmit:Je,children:t.jsxs(bt,{children:[t.jsx(ua,{selectRef:N,label:{label:me.labels.transferFrom,width:oe,style:{marginLeft:D.labelMarginLeftPicker.valuePx(s),marginTop:D.labelMarginTopPicker.valuePx(s),marginRight:D.labelMarginRightPicker.valuePx(s),width:D.largeLabelWidth.value(s)}},style:{paddingTop:D.labeledFieldPaddingTop.valuePx(s),paddingBottom:D.labeledFieldPaddingBottom.valuePx(s),paddingLeft:D.labeledFieldPaddingLeft.valuePx(s),paddingRight:D.labeledFieldPaddingRight.valuePx(s),border:"none",width:"auto",display:"flex"},infoLabelStyle:{textAlign:"right",paddingRight:D.infoLabelPaddingRight.valuePx(s),marginTop:D.infoLabelMarginTop.valuePx(s),color:J.brandColorGoldDark},bottomComponent:t.jsx(Pa,{label:{label:G.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{textAlign:s==="small"?"end":"center",color:ee.colors.primary}},style:{width:"unset",marginRight:a.sp3,alignItems:s==="small"?"flex-start":"center"},checkBoxField:{name:re(Y,"enableAutoPay"),checkBoxValue:re(Y,"enableAutoPay"),defaultChecked:n.chargeCardRepaymentDetailLocalData.isAutoRepayment,style:{top:D.checkBoxTop.valuePx(s)}}}),singleSelectPickerField:{name:re(Y,pt),placeholder:ga(me.labels.transferFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(l,u)=>We(n.transferFromAccounts,l,u),valueToSubLabels:(l,u)=>ha(n.transferFromAccounts,l,u,!0),defaultValue:{selectedOption:n.chargeCardRepaymentDetailLocalData.transferFrom?.id,allOptions:n.transferFromAccounts.map(l=>({label:l.label,value:l.id,isRecommended:l.accType==="depositAccount"}))},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption},showCreateOption:!0,onClickCreateOption:()=>{V("link_account"),w.linkToken==null||pe(new Date().toISOString()).isAfter(w.expiration)?b?.("link_account"):q!==w.linkToken?ye(w.linkToken):W?le():U(!0)}},valueToAdditionalLabel:He}),n?.chargeCardRepaymentDetailLocalData.transferFrom==null||n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="paymentAccount"?t.jsx(De,{maxInsuredAmount:h,heading:t.jsxs(ht,{windowSize:s,children:[G.earn,t.jsx(gt,{children:G.percentageCashback.replace("__percentage__",ya)}),G.whenYouPayViaZeniChecking]}),buttonText:g?ie.switchButtonText:ie.signUpButtonText,isAccountsEnabled:g,pageName:G.creditCardPayment,onSignUpClick:S,onSwitchClick:()=>{N.current!=null&&N.current.focus()}}):n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"&&n?.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available.amount<n.chargeCardRepaymentDetailLocalData.amount.amount?t.jsx(De,{maxInsuredAmount:h,heading:ie.moveMoneyHeading,buttonText:ie.moveMoneyButtonText,isAccountsEnabled:g,pageName:G.creditCardPayment,onMoveMoneyClick:v}):t.jsx(yt,{}),t.jsx(fa,{showAdditionalInfoLabel:!1,label:{label:me.labels.amount,width:oe},formattedTextField:{type:"number",name:re(Y,Ue),defaultValue:n.chargeCardRepaymentDetailLocalData.amount.amount===0?void 0:n.chargeCardRepaymentDetailLocalData.amount.amount,placeholder:dt.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto",paddingLeft:D.labeledFieldPaddingLeft.valuePx(s)}})]})})})]})}const ht=i($a)`
|
|
133
|
-
color: ${e=>e.theme.colors.primary};
|
|
134
|
-
width: ${e=>e.windowSize==="small"?"80%":"100%"};
|
|
135
|
-
`,gt=i(ka)`
|
|
136
|
-
color: ${e=>e.theme.colors.primary};
|
|
137
|
-
`,yt=i.div`
|
|
138
|
-
display: flex;
|
|
139
|
-
flex: 1;
|
|
140
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
141
|
-
min-height: 1px;
|
|
142
|
-
max-height: 1px;
|
|
143
|
-
`,Ie=e=>({paymentDetails:{[Ue]:e.chargeCardRepaymentDetailLocalData.amount.amount,withdrawFrom:{allOptions:e.transferFromAccounts.map(o=>({label:o.label,value:o.id})),selectedOption:e.chargeCardRepaymentDetailLocalData.transferFrom?.id},enableAutoPay:e.chargeCardRepaymentDetailLocalData.isAutoRepayment}}),ft=i.form`
|
|
144
|
-
display: flex;
|
|
145
|
-
flex-direction: column;
|
|
146
|
-
justify-content: center;
|
|
147
|
-
align-items: center;
|
|
148
|
-
margin-bottom: ${a.sp6};
|
|
149
|
-
`,Ct=i(Sa)`
|
|
150
|
-
color: ${e=>e.theme.colors.primary};
|
|
151
|
-
margin: ${a.sp5} ${a.sp0} ${a.sp3} ${a.sp0};
|
|
152
|
-
`,bt=i.div`
|
|
153
|
-
display: flex;
|
|
154
|
-
flex-direction: column;
|
|
155
|
-
width: 100%;
|
|
156
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
157
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
158
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
159
|
-
border-radius: ${a.sp2};
|
|
160
|
-
`,Fe=(e,o,h)=>({amount:{amount:e[Y].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:o.find(n=>n.id===e[Y].withdrawFrom.selectedOption),isAutoRepayment:e[Y].enableAutoPay,idempotencyKey:h}),ne={navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(16,40,56),containerPaddingRight:new m(16,40,56),successContentMargin:new m(r[3],r[12]),buttonTrayGap:new m(r[4],r[5])},xt={sectionTitle:new H("h6Regular","h5Regular")},Re=K.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,M=K.getLocalizedStrings().spendManagement.chargeCard.payEarly,{dateFormat:Te}=K.getLocalizedStrings(),wt=({autoPayThreshold:e,paymentDetails:o,maxInsuredAmount:h,isAccountsEnabled:n,productInformation:f,controllerEmails:c,creditAccountInformation:g,creditAccountSpentAmount:L,debitAccountInformation:C,cashbackInformation:y,paymentSourceInformation:x,isCashbackInfoFetchStateCompleted:b,isCreditCardInfoFetchStateCompleted:d,isDebitCardInfoFetchStateCompleted:S,paymentInitiatedDate:v,onSaveChangesToLocalStore:B,onTransferClick:I,sourcePage:F,onBackNavigation:R,onDismissClick:T,onEstablishConnectionClick:P,onFetchLinkTokenClick:_,plaidConnectionDetails:O,onSignUpAccountClick:Q,onMoveMoneyClick:s,onUpdatePaymentAccountStatus:ee,onEstablishConnectionSuccess:oe})=>{const $=he(),N=ge().analytics,[W,U]=p.useState(!1),[A,V]=p.useState(!1);p.useEffect(()=>{A&&setTimeout(()=>{V(!1),U(!0)},1e3)},[A]);const w=o.chargeCardRepaymentDetailLocalData.amount.amount===L,Z=o.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount";return t.jsx(Dt,{windowSize:$,children:o.updateStatus==="Completed"?t.jsxs(Pe,{windowSize:$,isTransferCompleted:!0,children:[t.jsx(je,{windowSize:$,children:t.jsx(Ee,{"data-testid":ae("cross-credit-card-payment-success-close-button"),onClick:()=>{b&&d&&S&&y!=null&&N.trackCardsPayEarlyFormClick(c,f,y,"Cross Icon",o.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:o.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:o.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:o.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:o.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,g,C),T?.()}})}),t.jsxs(At,{windowSize:$,children:[t.jsx(ea,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),t.jsx(St,{children:t.jsxs(t.Fragment,{children:[M.youvePaid,t.jsx($t,{children:aa("0,0.[00]",o.chargeCardRepaymentDetailLocalData.amount)}),Re.transferDrawer.internal.transferSuccessMsgMidfix,`"${o.chargeCardRepaymentDetailLocalData.transferFrom?.label}".`,Z?w?M.theCreditLimitWillResetWithin1BusinessDay:M.theCreditLimitWillUpdateWithin1BusinessDay:w?M.theCreditLimitWillResetWithin23BusinessDays:M.theCreditLimitWillUpdateWithin23BusinessDays]})}),t.jsx(kt,{windowSize:$,children:t.jsx(ta,{variant:"primary",label:F==="cardPaymentHistory"?M.goToPaymentHistory:M.goToCards,"data-testid":ae("back-to-cards-button"),onClick:R})})]})]}):W?t.jsx(_a,{paymentDetails:o,setShowReviewContent:U,onTransferClick:I,isCashbackInfoFetchStateCompleted:b,isCreditCardInfoFetchStateCompleted:d,isDebitCardInfoFetchStateCompleted:S,controllerEmails:c,productInformation:f,cashbackInformation:y,paymentSourceInformation:x,creditAccountInformation:g,debitAccountInformation:C}):t.jsxs(t.Fragment,{children:[t.jsxs(Pe,{windowSize:$,isTransferCompleted:!1,children:[t.jsx(je,{windowSize:$,children:t.jsx(Ee,{"data-testid":ae("cross-amount-details-close-button"),onClick:()=>{b&&d&&S&&y!=null&&N.trackCardsPayEarlyFormClick(c,f,y,"Cross Icon",o.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:o.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:o.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:o.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:o.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:v?.add(3,"day").format(Te.visual.MMMDCommaYYYYformat),paymentInitiatedDate:v?.format(Te.visual.MMMDCommaYYYYformat)},x,g,C),T?.()}})}),$==="small"?t.jsx(Lt,{windowSize:$,children:M.payCreditCardBalance}):t.jsx(vt,{children:M.payCreditCardBalance}),o.fetchState==="Completed"?t.jsx(ut,{autoPayThreshold:e,maxInsuredAmount:h,onSaveChangesToLocalStore:B,plaidConnectionDetails:O,paymentDetails:o,setShowReviewLoading:V,onEstablishConnectionSuccess:oe,isAccountsEnabled:n,onFetchLinkTokenClick:_,onUpdatePaymentAccountStatus:ee,onEstablishConnectionClick:P,onSignUpAccountClick:Q,onMoveMoneyClick:s,isCashbackInfoFetchStateCompleted:b,isCreditCardInfoFetchStateCompleted:d,isDebitCardInfoFetchStateCompleted:S,controllerEmails:c,productInformation:f,cashbackInformation:y,paymentSourceInformation:x,creditAccountInformation:g,debitAccountInformation:C}):t.jsx(na,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),t.jsx(ze,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:Ve(Ye),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:K.getLocalizedStrings().common.review,isLoading:A},cancelBtn:{label:Re.transferDrawer.cancelBtn,onClick:()=>{b&&d&&S&&y!=null&&N.trackCardsPayEarlyFormClick(c,f,y,"Cancel",o.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:o.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:o.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:o.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:o.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,g,C),T?.()}}})]})})},Dt=i.div`
|
|
161
|
-
display: flex;
|
|
162
|
-
flex-direction: column;
|
|
163
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
164
|
-
overflow-x: hidden;
|
|
165
|
-
height: 100vh;
|
|
166
|
-
width: 100%;
|
|
167
|
-
`,St=i(oa)`
|
|
168
|
-
color: ${e=>e.theme.colors.primary};
|
|
169
|
-
text-align: center;
|
|
170
|
-
white-space: pre-line;
|
|
171
|
-
`,$t=i(ia)`
|
|
172
|
-
display: inline;
|
|
173
|
-
`,Pe=i.div`
|
|
174
|
-
height: ${e=>e.isTransferCompleted?"100%":"auto"};
|
|
175
|
-
padding-left: ${e=>`${ne.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
176
|
-
padding-right: ${e=>`${ne.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
177
|
-
margin-bottom: auto;
|
|
178
|
-
`,kt=i.div`
|
|
179
|
-
display: flex;
|
|
180
|
-
justify-content: center;
|
|
181
|
-
flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
|
|
182
|
-
margin-top: ${a.sp6};
|
|
183
|
-
gap: ${e=>`${ne.buttonTrayGap.valuePx(e.windowSize)}`};
|
|
184
|
-
`,At=i.div`
|
|
185
|
-
height: 80%;
|
|
186
|
-
display: flex;
|
|
187
|
-
flex-direction: column;
|
|
188
|
-
justify-content: center;
|
|
189
|
-
margin: ${e=>`${a.sp0} ${ne.successContentMargin.valuePx(e.windowSize)}`};
|
|
190
|
-
align-items: center;
|
|
191
|
-
`,je=i.div`
|
|
192
|
-
display: flex;
|
|
193
|
-
flex-direction: row-reverse;
|
|
194
|
-
justify-content: space-between;
|
|
195
|
-
align-items: center;
|
|
196
|
-
width: 100%;
|
|
197
|
-
top: ${a.sp0};
|
|
198
|
-
padding: ${e=>`${ne.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${a.sp0}`};
|
|
199
|
-
z-index: 2;
|
|
200
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
201
|
-
`,Ee=i(Me)`
|
|
202
|
-
cursor: pointer;
|
|
203
|
-
color: ${e=>e.theme.colors.hero};
|
|
204
|
-
width: ${a.sp4};
|
|
205
|
-
height: ${a.sp4};
|
|
206
|
-
min-height: ${a.sp4};
|
|
207
|
-
&:hover {
|
|
208
|
-
color: ${e=>e.theme.colors.primary};
|
|
209
|
-
}
|
|
210
|
-
`,Lt=i(Oe)`
|
|
211
|
-
${e=>`${xt.sectionTitle.style(e.windowSize)}`};
|
|
212
|
-
color: ${e=>e.theme.colors.primary};
|
|
213
|
-
margin-top: ${a.sp3};
|
|
214
|
-
margin-bottom: ${a.sp0};
|
|
215
|
-
margin-right: ${a.sp3};
|
|
216
|
-
`,vt=i(ca)`
|
|
217
|
-
color: ${e=>e.theme.colors.primary};
|
|
218
|
-
margin-top: ${a.sp3};
|
|
219
|
-
margin-bottom: ${a.sp2};
|
|
220
|
-
`,Wt=({autoPayThreshold:e,paymentDetails:o,isZeniAccountSetupEnabled:h,maxInsuredAmount:n,onUpdatePaymentAccountStatus:f,onSaveChangesToLocalStore:c,creditAccountSpentAmount:g,onTransferClick:L,controllerEmails:C,productInformation:y,creditAccountInformation:x,debitAccountInformation:b,cashbackInformation:d,paymentSourceInformation:S,isCashbackInfoFetchStateCompleted:v,isCreditCardInfoFetchStateCompleted:B,isDebitCardInfoFetchStateCompleted:I,sourcePage:F,onBackNavigation:R,onDismissClick:T,onEstablishConnectionClick:P,onEstablishConnectionSuccess:_,onFetchLinkTokenClick:O,plaidConnectionDetails:Q,onSignUpAccountClick:s,onMoveMoneyClick:ee})=>t.jsx(It,{children:t.jsx(wt,{autoPayThreshold:e,paymentDetails:o,maxInsuredAmount:n,productInformation:y,controllerEmails:C,creditAccountInformation:x,debitAccountInformation:b,cashbackInformation:d,paymentSourceInformation:S,isCashbackInfoFetchStateCompleted:v,isCreditCardInfoFetchStateCompleted:B,isDebitCardInfoFetchStateCompleted:I,creditAccountSpentAmount:g,onSaveChangesToLocalStore:c,onTransferClick:L,sourcePage:F,onBackNavigation:R,onDismissClick:T,plaidConnectionDetails:Q,isAccountsEnabled:h,onEstablishConnectionClick:P,onFetchLinkTokenClick:O,onUpdatePaymentAccountStatus:f,onEstablishConnectionSuccess:_,onSignUpAccountClick:s,onMoveMoneyClick:ee})}),It=i.div`
|
|
221
|
-
display: flex;
|
|
222
|
-
flex-direction: column;
|
|
223
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
224
|
-
overflow-x: hidden;
|
|
225
|
-
height: 100%;
|
|
226
|
-
width: 100%;
|
|
227
|
-
`;export{Wt as default};
|