@zeniai/web-cockpit-ui 1.14.17-qa → 1.14.18-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-DDccOBrQ-xtRCcN-J.js +21 -0
- package/dist/assets/{AIPerformancePage-4oC8MJWN-3x4rvqkH.js → AIPerformancePage-u3qF__mF-Cwmno93h.js} +42 -42
- package/dist/assets/{AccountInfoPage-mOPytffA-BHPN2sFX.js → AccountInfoPage-vDWC6AMf-DzR0-3Io.js} +2 -2
- package/dist/assets/{AccountInfoPageContent-VULusDEd-Bbj6r5XK.js → AccountInfoPageContent-0PqU7bCV-D6wFAbY2.js} +13 -13
- package/dist/assets/{AccountReconDetailsDrawerPage-89APlrhb-OpGiG4Fe.js → AccountReconDetailsDrawerPage-DEqtU-rh-Deoo-ctA.js} +19 -19
- package/dist/assets/{AccountRow-DJd-IAIl-C8ES_stT.js → AccountRow-DTQ6Qoyr-_b2APADd.js} +25 -25
- package/dist/assets/{AccountsPromoCardStack-DE39TpIu-D-Yop5mF.js → AccountsPromoCardStack-DkYqKp1i-mDnDl8sy.js} +33 -33
- package/dist/assets/{AddAddressForCardDrawer-CKdcU_pi-CwaicPlo.js → AddAddressForCardDrawer-DB3HtvgV-DDm-Yx81.js} +2 -2
- package/dist/assets/{AddToWalletPage-DPXW2fbY-CtMlIrQx.js → AddToWalletPage-DvgM0-kj-TsEzz5fI.js} +22 -22
- package/dist/assets/{AgingReportsPage--CLUwcIa-BsmrKMJu.js → AgingReportsPage-BP6-oG6W-DRhLxK4p.js} +16 -16
- package/dist/assets/{AllUserItems-CC9l-O5G-B5y_zhUe.js → AllUserItems-w6M8k5yU-DRpE6VjZ.js} +9 -9
- package/dist/assets/ApAgingDetailPage-BZuNGMx_-DRH7p0_b.js +46 -0
- package/dist/assets/{AppBasePage-CgHKYFmd-DpxCZRxE.js → AppBasePage-l_TUUps8-K0ozDeR0.js} +10 -10
- package/dist/assets/{AppDrawerContent-Cofo0-5p-Bon4ebWD.js → AppDrawerContent-_gInVeZf-CqHabOEw.js} +19 -19
- package/dist/assets/{ApprovalRulesSettingsPage-DsshEbzW-bVy7ndBX.js → ApprovalRulesSettingsPage-CKRde9he-CmSQRugq.js} +7 -7
- package/dist/assets/{ArAgingChart-K2LSe8mo-8wVTOMUv.js → ArAgingChart-Dg0oBo5K-CF9AvFJC.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-DCFL9YAy-C_v7XA9q.js → ArAgingDetailPage-CNizMSbt-CgouefYI.js} +4 -4
- package/dist/assets/{AttachmentView-Cn3VnVyO-2AecVG_r.js → AttachmentView-B8hloBca-DRZOHo7x.js} +7 -7
- package/dist/assets/{BankAccountSection-Au9_D0Ji-CWUpdxVP.js → BankAccountSection-4HNC0ypd-BpuQrkpU.js} +8 -8
- package/dist/assets/{BankAccountWarningSection-927iR_QB-DZ1ZjG-a.js → BankAccountWarningSection-BqgTMjDy-DwldrkYy.js} +7 -7
- package/dist/assets/{BankConnectionsSettingsPage-CXab8fzD-DrAzYcY3.js → BankConnectionsSettingsPage-BBQh1oT8-CYERxE0e.js} +26 -26
- package/dist/assets/{BillDetailPage-yIdrE7YG-MPJpbHEH.js → BillDetailPage-R4oRrdsm-Bhl-v3vo.js} +20 -20
- package/dist/assets/{BillPayApprovalRuleDetailPage-BJl_-eJN-DfaKZiCw.js → BillPayApprovalRuleDetailPage-d_A1-Gv_-D0vt2nJT.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-rXaFCSLp-B4hJZE4K.js → BillPayApprovalRulesPage-5q5b2drs-DNrIHclU.js} +8 -8
- package/dist/assets/{BillPayPromoPage-BLi_wIbj-CSiPqqF2.js → BillPayPromoPage-Dz_R3Vd_-D4VHTD7W.js} +10 -10
- package/dist/assets/{BillPaySetUpPage-BFmpWT_x-BdnlBxHY.js → BillPaySetUpPage-CwTRrElO-Dy2xJbwX.js} +2 -2
- package/dist/assets/{BillingSettingsPage-Da01aYql-CO5KbCIq.js → BillingSettingsPage-_XJCl2yq-D0rAMBJt.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-J2kO9_8C-DvF5RYPT.js → BillsBulkReviewDrawerPage-B_S35aKX-pMNSaHSP.js} +1 -1
- package/dist/assets/{BoxItem-CQlEDklH-CpOQze_E.js → BoxItem-9JmA6QqI-D4hhkbCR.js} +4 -4
- package/dist/assets/{BusinessVerificationPage-DWhXCuG5-CLLfRzHs.js → BusinessVerificationPage-DJKOIC1M-BEeGVZ1S.js} +11 -11
- package/dist/assets/{CardNumberSubText-BTjxrF3b-Dd1chwrY.js → CardNumberSubText-CewmMWju-DJiRPNiZ.js} +1 -1
- package/dist/assets/{CashbackDetailPage-qcMtGUQ0-CNgA1vkF.js → CashbackDetailPage-HtjAmPa8-DEVbhkAr.js} +26 -26
- package/dist/assets/{ChargeCardDetailPage-BurpUHl9-CHOF0hOK.js → ChargeCardDetailPage-D_5vb_92-DYjdXqRv.js} +27 -27
- package/dist/assets/{ChargeCardListPage-CBIYOllB-C5IIqKJ8.js → ChargeCardListPage-BT-8bueF-C8QRxzgr.js} +23 -23
- package/dist/assets/{ChargeCardListTable-BTZu7ldI-HV9pRu0d.js → ChargeCardListTable-oJTQcOkc-HAou4pja.js} +104 -104
- package/dist/assets/ChargeCardPromoPage-Dp01F4cn-Br2kcjZo.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-QOdjFcsr-DPZS2Ku4.js → ChargeCardSetupPage-cqydgFPZ-KP5FKJ0i.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-C1UmjyIW-D6OuW8Qw.js → ChargeCardStatementsPage-URwhXATj-BVz6_ztr.js} +8 -8
- package/dist/assets/{ChargeCardUtils-C3fhOMpV-Bs2JPnXP.js → ChargeCardUtils-DBEgXAMc-DYsQMmpv.js} +1 -1
- package/dist/assets/{ChaseOverlay-RPex2o5e-DW09zrbw.js → ChaseOverlay-HTpWDuLt-D0qtM7hD.js} +10 -10
- package/dist/assets/CheckDepositDrawerPage-DLc3qfVH-Dq_DIMy3.js +206 -0
- package/dist/assets/{CollapsableReportTable-Ds0h8x1N-Cp0fRlE2.js → CollapsableReportTable-PpQgBBRC-BpxIl-X-.js} +93 -93
- package/dist/assets/{CompanyOfficerDetailsSection-B8yGAFVj-DKWPUUTw.js → CompanyOfficerDetailsSection-C1aPsDga-DX0GYxxu.js} +35 -35
- package/dist/assets/{CompanyPassportCard-BDei9Pfp-D0uwhtPQ.js → CompanyPassportCard-DMKqBgwh-20YLIkOw.js} +6 -6
- package/dist/assets/{CompanyPassportPage-DFA733vS-BIvmx8nC.js → CompanyPassportPage-CHHPIqN_-CQsnT2Hp.js} +37 -37
- package/dist/assets/CompleteProfile-D6jHfaC2-Cwowcy8N.js +36 -0
- package/dist/assets/{ConfettiBurst-97CCPVCH-DogXPRqs.js → ConfettiBurst-14a5kaEE-D-oFz-sG.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BSi6pOXN-60R3TaVL.js → CreateOrEditVendorPage-K5rhe_y3-6e_B7drg.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-ZletyeGG-ChI8BG09.js → CreditCardPaymentDrawerPage-LQ--HUI9-Ct-Z_PH4.js} +20 -20
- package/dist/assets/{CreditCardPaymentPlgSection-BE982atG-ChH0EM9O.js → CreditCardPaymentPlgSection-BM05WC-i-Bk08bY1j.js} +12 -12
- package/dist/assets/{CurrencySelectField-cnP09xH2-CzK_uHkh.js → CurrencySelectField-bhkJTNUW-TAA9r3NA.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-DhcKiTJ_-BwUbkzAO.js → CustomerOnboardingActivationPage-BHD1irjF-BuHM5vzQ.js} +9 -9
- package/dist/assets/CustomerOnboardingContainerPage-BhS5NmVt-CloO5_fX.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-jguCmaVx-df6TlzkN.js → CustomerOnboardingDetailPageSkeleton-B--kAA3i-BtWP8-CX.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-xakP7IDr-C-0r2BD6.js → CustomerOnboardingNoStepsPage-sHKAos8m-1qMzs8BU.js} +5 -5
- package/dist/assets/{CustomerOnboardingPage-Ct5YbyHs-CAyxa338.js → CustomerOnboardingPage-B_S5G-6o-Cv0ITZ4_.js} +10 -10
- package/dist/assets/{CustomerOnboardingProductSuitePage-CugfvMkw-CslbljsJ.js → CustomerOnboardingProductSuitePage-CVi8WuQY-DZMQtVHo.js} +12 -12
- package/dist/assets/{Dashboard-XbVGCnvI-_hcViTk2.js → Dashboard-CIMiF6eU-SPzOaUuR.js} +1 -1
- package/dist/assets/{DashboardReportPage-OeEPg2kx-C3vOR__5.js → DashboardReportPage-6z6qBQSB-C79wD_Nr.js} +21 -21
- package/dist/assets/{DepositAccTransactionItem-Dy6qzuSL-CpAkao08.js → DepositAccTransactionItem-BQYFrzDW-VNbpp2iU.js} +10 -10
- package/dist/assets/DepositAccTransactionListPage-xSNsUwS4-DJcgYerm.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-B0tbjNLO-CzO-wZCX.js → DomesticWireDetailsPage-b1iB1HBM-CrTulX9A.js} +1 -1
- package/dist/assets/{DownloadOverlay-BKKO1nm1-C2Pb_CvM.js → DownloadOverlay-C3oy6eq7-CCVozCSE.js} +12 -12
- package/dist/assets/{DrawerPage-osM8gPVn-DjFhvXE_.js → DrawerPage-DLVTld-y-Cb3VyNgX.js} +12 -12
- package/dist/assets/EditPeoplePage-DKJNf1oJ-6CdgkITi.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-DvLeCixY-DsVIw_1c.js → EditReimbursementDetailPage-zgUt303N-BpiV7KXr.js} +80 -80
- package/dist/assets/{EntityDetailPage-BzJbAOSj--n76aj0W.js → EntityDetailPage-DY4i6GZK-DN-UWde9.js} +3 -3
- package/dist/assets/{EntitySummarySection-Drj07P9h-B2lq71iV.js → EntitySummarySection-BbxeYdm8-Bf_NXajy.js} +13 -13
- package/dist/assets/{ExpenseAutomationOverviewPage-BQ9dwGkq-CJ6yhltW.js → ExpenseAutomationOverviewPage-D3x3XpmU-fjM7OZCO.js} +31 -30
- package/dist/assets/{ExpenseAutomationPage-DLld6Lux-0w2CvM4U.js → ExpenseAutomationPage-BTAjM6yZ-yDXqzAOJ.js} +56 -56
- package/dist/assets/{ExpressPayPage-QBNV0dC8-ZmY9Sslu.js → ExpressPayPage-C30-lVTo-C8uKTmQz.js} +11 -11
- package/dist/assets/FeaturePreviewPage-BRqSxk9H-D2VfZkvq.js +11 -0
- package/dist/assets/{FollowStepsSection-1RCO2W7K-8GLsxGi6.js → FollowStepsSection-B171fPtM-D2ueI9DZ.js} +28 -28
- package/dist/assets/{GlobalReviewListPage-ByMZFe7Y-DU4g2-mq.js → GlobalReviewListPage-BaZx32sB-CsLBtCph.js} +14 -14
- package/dist/assets/HelpButton-ewiNuwlj-a7BLQVoR.js +28 -0
- package/dist/assets/{InformationCardStack-C0AmMOu2-CsXKnz33.js → InformationCardStack-BtxneVKK-CvEQzEwX.js} +6 -6
- package/dist/assets/{InsightsCardStack-BiIDBYY8-BDWjMJ74.js → InsightsCardStack-CCee6pLA-D-hqWx-q.js} +7 -7
- package/dist/assets/InsightsSection-BZNwdoG4-BHWxrsk5.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-7wAnV8kG-a8zGkb-o.js → IntegrationsSettingsPage-CsY38-LI-tUcaBNIE.js} +9 -9
- package/dist/assets/{InternationalWireSwiftDetailsPage-C7D15jtK-CNlL_DBa.js → InternationalWireSwiftDetailsPage-sSSgjYdh-CECQrN0I.js} +17 -17
- package/dist/assets/{InternationalWireVerificationPage-GDKPXtU--DouJAx7L.js → InternationalWireVerificationPage-zv0FIhUz-BUPdBF6w.js} +14 -14
- package/dist/assets/{InviteFormPage-CKGJHYWa-ThYyvIC6.js → InviteFormPage-DxszbbOJ-CJWqS0tA.js} +19 -19
- package/dist/assets/{InvitePageListView-CWXyDZU2-B1FV1J7C.js → InvitePageListView-BYVWTwTc-Dq61wzB9.js} +46 -46
- package/dist/assets/InvitePeoplePage-CJ4KyyxI-Ci7vEwdq.js +12 -0
- package/dist/assets/InvoiceUploadSection-Dy_H9a8Y-CvpINn7W.js +140 -0
- package/dist/assets/{IssueChargeCardPage-DLX44XaR-DJEU4BAz.js → IssueChargeCardPage-CPmj_trJ-CTV2OfvE.js} +19 -19
- package/dist/assets/LabeledAddressValue-BVpwGdA2-5vfMRzOg.js +49 -0
- package/dist/assets/LabeledAddressValueField-Eka4fXzu-BSJMd52k.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-B6cLYSmS-HQU25j6e.js → LabeledControlledCheckBoxField-BnfJ3gKr-7p5KdXvW.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CV4GQQ7F-DB0whr2c.js → LabeledCreatableSingleSelectField-CJT-CuQl-C0rlBcX2.js} +4 -4
- package/dist/assets/{LabeledDocumentField-BFhyNqP8-BF1FtSO9.js → LabeledDocumentField-BoraKtTI-BRERXK8W.js} +6 -6
- package/dist/assets/{LabeledDropDownFormattedTextField-gE3aWP_T-D1puR-he.js → LabeledDropDownFormattedTextField-elNvxcOB-BPm7rTz8.js} +7 -7
- package/dist/assets/{LabeledText-0pRIcJw5-DnreSqVg.js → LabeledText-DhZgeQqu-Dz4gRnMS.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C-32ySGI-Ckf3XRJ6.js → LabeledUserSingleSelectWithSubtitlesField-D63Z4SE5-Hunv1W3n.js} +16 -16
- package/dist/assets/{LabeledZeniRolesDropDownField--l6D29VX-2y_t8N2x.js → LabeledZeniRolesDropDownField-MwrQ9tKT-DwAqMpNU.js} +11 -11
- package/dist/assets/{LinkJETransactionPage-DLcpx9ns-B4OQKP_z.js → LinkJETransactionPage-BpQXs8JH-CczVuOJd.js} +6 -6
- package/dist/assets/{LowBalancePopup-BuelKDeS-DmsngLwA.js → LowBalancePopup-DPbr0gUO-BMtDcyj7.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-NIkquHvv-DhLEEbR7.js → MagicLinkACHDetailsPage-D11FRh9u-CA4ESgf_.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CdaNz396-CGsvsJCT.js → MagicLinkDomesticWireDetailsPage-CG7yqz6X-CxkGJZaJ.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-CnEhS5PP-BfdXlGYo.js → MagicLinkInternationalWireDetailsPage-PkDENzkO-BALvlHZZ.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-D_VJZV0O-DKgCh3Z1.js → MagicLinkSuccessPage-BS9ddhQA-DfzVlezu.js} +2 -2
- package/dist/assets/MagicLinkTitleSection-CBYkZ8RD-DOnIUCAU.js +17 -0
- package/dist/assets/{MailingDetailsSection-CTrx1xoB-DJHX02qB.js → MailingDetailsSection-Cx1s77og-DXexyF-i.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-DWvpTRQJ-B65gs1hH.js → MeetingCalenderPopup-DNthMj1J-DCVu9x9-.js} +1 -1
- package/dist/assets/{Menu-CbQ6Zkdp-D6lRjeT8.js → Menu-CIjXHu3p-BVUzW_3W.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-9dQLb8iw-h322l6cg.js → MyBankConnectionsSettingsPage-D77Axpyj-Dsr9teql.js} +15 -15
- package/dist/assets/{MyPendingActivationChargeCardListPage-B2-YthuF-CH0O9Vq4.js → MyPendingActivationChargeCardListPage-CnZZJsMY-KyflajTT.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-CfmYPv4_-m8ou3iA-.js → MyProfileSettingsPage-iXkYV9nQ-C8PmA-Fq.js} +6 -6
- package/dist/assets/NavBarWithPicker-D8Mx-0SS-CQTf4kGi.js +30 -0
- package/dist/assets/{NavigationArrow-9pvhzLz8-Cjtb_5vy.js → NavigationArrow-DOvptaEZ-B1BrtWg6.js} +2 -2
- package/dist/assets/{NavigationDots-CXPwKFh1-D0BlOlke.js → NavigationDots-HukimDRY-BSdcE3Mo.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-D6ZpP6J1-BvWRpxN8.js → NewGlobalMerchantPage-BlOMnHda-Cw8vvr0B.js} +12 -12
- package/dist/assets/{NoDataChart-BUR7CF8w-D1wb8NU8.js → NoDataChart-DyGfwFNo-Bpe0xKgS.js} +1 -1
- package/dist/assets/{NoDataTable-3L4pbKR0-DADiNiUz.js → NoDataTable-CJseWuln-x_ccMVrT.js} +1 -1
- package/dist/assets/{NotFoundPage-CgZfmKbj-zfL-Bldu.js → NotFoundPage-UG00-OBF-BoQnjyIO.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-BwYT3Tdc-NOzItap9.js → NotificationSettingsPage-COyRIY7z-B69eM29f.js} +17 -17
- package/dist/assets/NotificationsListConfig-BR7QDiGp-CoZ9cxNa.js +1 -0
- package/dist/assets/{NotificationsPage-6qNQYQK4-BVdwZRiv.js → NotificationsPage-DNSiZHw_-DhSCbYyU.js} +38 -38
- package/dist/assets/{OpExByVendorPage-C28MBvmW-DRKZbvH2.js → OpExByVendorPage-DmSYppgo-B8QxoNs0.js} +7 -7
- package/dist/assets/{OverlayContainerPage-9K5jaX8Z-Co7rIc3P.js → OverlayContainerPage-DB42kFLd-BB8Mm-uG.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-onJJ3Fh4-VHgA6a_C.js → PandLWithForecastPage-Cvpj3Rx7-BBqZBlne.js} +12 -12
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-nGuJ5fbq-Bl9Hzudf.js → PaymentAccountSetupBillingAddressSection-CsldB-k7-VgWcdB9R.js} +9 -9
- package/dist/assets/{PeoplePage-CKzezKqB-C-ecacKb.js → PeoplePage-CZhJF86l-BUJerLay.js} +33 -33
- package/dist/assets/PortfolioAllocationFormPage-9GM9dOrM-B8ssUltJ.js +207 -0
- package/dist/assets/{PortfolioDetails-CIv1yXo2-Cn8bwh7v.js → PortfolioDetails-BmAHjCVw-CsG6lf5x.js} +42 -42
- package/dist/assets/{ProductsCarousel-CSUQ6rVw-Bd7wsnlW.js → ProductsCarousel-DnbMUIHf-CibvwP8L.js} +7 -7
- package/dist/assets/{PromoBaseCards-2L1JfY-v-2Z0dVig4.js → PromoBaseCards-BC5rOok_-CbjLwgXv.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-DNP_b7aK-Bxywaa9r.js → QBOConnectionDialog-Ci5zNza5-6_E7GkKa.js} +4 -4
- package/dist/assets/{QBOSetupSection-CGrGCC2j-ZviOH5QS.js → QBOSetupSection-BTOCiyES-BQ9iHLEQ.js} +12 -12
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DqxyCfuQ-TKf1S-sK.js → ReimbursementApprovalRuleDetailPage-BfU-6jeB-4BEDb2U8.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-D_RMSSoW-Bf_KsPWO.js → ReimbursementApprovalRulesPage-M8JZSUOE-C8eBggiH.js} +32 -32
- package/dist/assets/{ReimbursementDetailPage-BkT7zJoE-DxIxRel2.js → ReimbursementDetailPage-D54RyrP4-DTi4hKLb.js} +23 -23
- package/dist/assets/ReimbursementPromoPage-B2uVT4md-CMAH_EoV.js +112 -0
- package/dist/assets/{ReimbursementSetUpPage-lH4Z7Lqi-BjSmn0a4.js → ReimbursementSetUpPage-DgZLqhEv-7jHyoRwK.js} +13 -13
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Bvh4mRws-H31l-TPn.js → ReimbursementsBulkReviewDrawerPage-DdaqWcd4-DhSMDa4E.js} +1 -1
- package/dist/assets/{ReloadCard-BQKVLlzZ-kVLw1q8k.js → ReloadCard-Brl4XdzV-avg2x7k6.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-Cvk4LxRf-EyWXn90g.js → ReportTableViewSelector-BUwsckE_-Cr50tsiY.js} +9 -9
- package/dist/assets/{ReportsPage-C2cIfu51-5H5N0irE.js → ReportsPage-B_p1fu0v-DX66zZ_7.js} +4 -4
- package/dist/assets/{RevenueChart-ByCekdyG-CbrdKEhj.js → RevenueChart-Wm8uOprY-DjqKlnHO.js} +17 -17
- package/dist/assets/{ReviewDetailsPage-DGyfz9q5-JDs12zdM.js → ReviewDetailsPage-KBHsF8bJ-BZe7KZL0.js} +26 -26
- package/dist/assets/{ReviewOverlay-Dp5yLAdR-D5ldovaw.js → ReviewOverlay-Dw0qj7TA-qOb8xPV_.js} +21 -21
- package/dist/assets/{RoleWithToolTip-B7xRZ-3a-C1CQ4C1p.js → RoleWithToolTip-XfK92pcD-DtUyDW-U.js} +4 -4
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BvJX-G-F-DjgDOThV.js → ScheduleDetailsFixedAssetsPage-BWlIEli5-C8Xnu1wF.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-CNpkuW7O-8EQwuxLj.js → ScheduleDetailsPage-C1xCJX3o-Cpr_7FVH.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-B_90qPjE-D3mQ-hUZ.js → ScheduleSequenceTable-BprYPV37-CbJbmsNz.js} +48 -48
- package/dist/assets/{ScreenRoutes-Df1GkgZA.js → ScreenRoutes--7yT1DKW.js} +62 -62
- package/dist/assets/{SetUpAccountSection-D5x8PZG1-BA29puUF.js → SetUpAccountSection-Dr1TfnG_-Cel5DtZp.js} +24 -24
- package/dist/assets/{SetUpDefaultSection-BsOdnADR-fIw9FyAe.js → SetUpDefaultSection-Be5NU_Em-BdXA12e3.js} +9 -9
- package/dist/assets/{SignIn-Bt7hCYjV-CwfH0JLW.js → SignIn-CE6RYJOs-ty2bYK-D.js} +20 -20
- package/dist/assets/{SignInScreen-CWUZN0CQ.js → SignInScreen-B_Dlksbi.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-C5cJKuRq-C1_jwmdt.js → SpendManagementListViewPage-BESddx6p-DEy09jpS.js} +11 -11
- package/dist/assets/{SpendManagementPerTabPage-IBAw8wc4-Bn0g9_Tf.js → SpendManagementPerTabPage-BzOooEMS-CS5nadJ3.js} +56 -56
- package/dist/assets/{SpendManagementSection-yNP3swb6-BIaTdSBC.js → SpendManagementSection-CczioNZH-D_OdnYKx.js} +12 -12
- package/dist/assets/{SpendMgmtSetupAccountSection-CYxt9dN8-BxpldXSf.js → SpendMgmtSetupAccountSection-CVFRXVhZ-KbAbVozh.js} +22 -22
- package/dist/assets/{StatementItem-q9U89Htr-DJqALh3W.js → StatementItem-Cptht91w-CXR-Xt2m.js} +8 -8
- package/dist/assets/StatementsPage-Bk_DWBsO-D9kCpcdC.js +58 -0
- package/dist/assets/{StatusSwitcher-CtuL5COG-Bd0whTb6.js → StatusSwitcher-B3gZD4Xk-Bh4cnysY.js} +4 -4
- package/dist/assets/{SubTabSwitcher-DHiC-mOv-B69z0IV-.js → SubTabSwitcher-ymwMdmPQ-Bui2S7lB.js} +3 -3
- package/dist/assets/{SummaryCard-D4Me-qWU-Cw61JFxF.js → SummaryCard-CVO_hW5i-BNIAsEAp.js} +1 -1
- package/dist/assets/{TaskManagementPage-D-F7ufTD-E-k_0ZqR.js → TaskManagementPage-C8FiHas2-CSgpx3sK.js} +38 -38
- package/dist/assets/{TimeRangeSwitcher-CGN9Hq2L-DPvzjSG7.js → TimeRangeSwitcher-CPklgWMn-CIOi92rx.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-BN4-ACoQ-DRoCnrrw.js → TimeframeSwitcher-Do-13K0C-DY9TYA6Y.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-BkzCFclG-CATb3Hw3.js → TimeframeSwitcherWithToggle-CtVJiYRA-BFfeCNSf.js} +2 -2
- package/dist/assets/{TopExCard-Wuzj4gLV-C7hKo1xh.js → TopExCard-CAbVMarX-DzMoRGlM.js} +5 -5
- package/dist/assets/{TopExDetailPage-DMYNc-gj-BOIId_ra.js → TopExDetailPage-CN49s925-BpBrFgHR.js} +10 -10
- package/dist/assets/{TransactionDetailPage-CcryBjJ4-BBoQstAc.js → TransactionDetailPage-Q9XC1VgP-B1t0fuZa.js} +35 -35
- package/dist/assets/{TransactionList-BrOpzi25-BpXcE9sq.js → TransactionList-Pn-voMDJ-cxv4xlA8.js} +12 -12
- package/dist/assets/{TransactionListBig-D6QMNaV6-dxXwqgSe.js → TransactionListBig-D4U1VfMP-q6KLDBuW.js} +25 -25
- package/dist/assets/{TransactionListPage-BB_LkPKR-D44T4dDk.js → TransactionListPage-Dcr5n_hs-BCiA3wu6.js} +4 -4
- package/dist/assets/TransactionVendorDetailPage-DxDXndQ6-Cuilftgh.js +80 -0
- package/dist/assets/TransferDrawerPage-CuQct69A-B079B2IU.js +362 -0
- package/dist/assets/{TreasuryOverviewPage-EDaXKMNQ-D8fnAwU_.js → TreasuryOverviewPage-BDYqKBrS-CScokRvu.js} +56 -56
- package/dist/assets/{TreasuryPromoPage-Brja4nGR-4ejoYZft.js → TreasuryPromoPage-CTkEFZ57-BEp9DAWk.js} +22 -23
- package/dist/assets/{TreasurySetupPage-8ZXXBvyU-CSrGG7JX.js → TreasurySetupPage-KI_5DQnD-D9S_zLnk.js} +3 -3
- package/dist/assets/{TreasuryStatementsPage-BjT1FVfa-CDFhhK60.js → TreasuryStatementsPage-DB1KkguP-BSv5nFQ9.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-Cxk8TjrI-BYzTKoII.js → TreasuryTaxLetterPage-DbHBl6-e-B10fxK69.js} +5 -5
- package/dist/assets/TreasuryTransferOrReviewPage-CLJ2x2M1-Q00AAxLj.js +506 -0
- package/dist/assets/{TrendChart-D2B0mwGW-CDLMKcy5.js → TrendChart-Ck4SVLtn-DxCRoE-5.js} +5 -5
- package/dist/assets/{TrendWithTransactions-Ch8smOOz-dEqRqTOG.js → TrendWithTransactions-BiWHzfIf-CM8I_QYq.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-CCIn9g7v-q0ijIBJ8.js → UncategorizedAccountsMappingPage-BEbiQMPB-P5OqOc0G.js} +8 -8
- package/dist/assets/{UnitIntegrationPage-SY0L_D7Z-CKGuE_M5.js → UnitIntegrationPage-DghvgER8-G5psF27e.js} +5 -5
- package/dist/assets/{UploadAdditionalDocumentOverlay-BowxerPw-BznAQGh0.js → UploadAdditionalDocumentOverlay-BasudeQ3-BthiTAoM.js} +2 -2
- package/dist/assets/Vendor2FAPopup-BVYQk2Yt-C9WsXmh_.js +1 -0
- package/dist/assets/{VendorACHDetailsPage-Ba1oMHkp-YzZn8D1q.js → VendorACHDetailsPage-DYwQERlH-B1gQMIfP.js} +1 -1
- package/dist/assets/{VendorDetailPage-CjBeVAkw-D_BTgh0F.js → VendorDetailPage-D-Mcnqod-jIU9WO5F.js} +13 -13
- package/dist/assets/{VendorDomesticWireDetailsPage-DJcyNUun-XfBIF9jc.js → VendorDomesticWireDetailsPage-sx958z_p-CRI6ZI2U.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-CUWkLY0f-CuezbVxz.js → VendorFiling1099EditablePage-D0AAdqa3-D6a_Y5gP.js} +11 -11
- package/dist/assets/{VendorFirstReviewPage-XUgEai-M-D0i_iEBg.js → VendorFirstReviewPage-DS7Qb6O_-DE9J3Hnv.js} +30 -30
- package/dist/assets/{VendorInternationalWireDetailsPage-BgHCBv0S-D_ke2Imn.js → VendorInternationalWireDetailsPage-CUw0lbm5-B48sIzNH.js} +13 -13
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-axseacZL-DrQ20j5u.js → VendorInternationalWireSwiftDetailsPage-2BGGr3aV-bgtv6P0O.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-oYghWvs6-CBTS5C2m.js → VendorsAccountsSection-D5-r6xWp-BXiiVWTo.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-B1his2AN-DWCRBrQ3.js → WarningsDrawerPage-BEuiclea-2arBaAmM.js} +9 -9
- package/dist/assets/{ZeniAccountDetailPage-B21kawRR-DGJGfsGD.js → ZeniAccountDetailPage-DvUTbTBC-BePzTP3_.js} +31 -31
- package/dist/assets/{ZeniAccountListViewPage-D9lefqbT-aMx9U6Vt.js → ZeniAccountListViewPage-BpAa6XZc-xCgx2LuK.js} +22 -22
- package/dist/assets/ZeniAccountNavBarPieces-CBRZuAIU-D4DE3sLv.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-B8aWqCOQ-C46UIAAl.js → ZeniAccountPromoPage-BDzkOGum-ucUtzXa7.js} +22 -22
- package/dist/assets/{ZeniAccountSetupPage-BmFF5yvk-ncauPk_L.js → ZeniAccountSetupPage-B6ExD1mo-DRJ8Xy53.js} +1 -1
- package/dist/assets/{ZeniCopyright-eQoaUH08-BAcaltmK.js → ZeniCopyright-BcpJPWHG-DnS0u_xy.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-B6ftMZ_m-CBjZaRui.js → ZeniTransferAmountSlider-BQDqgNKJ-Buxspfp3.js} +2 -2
- package/dist/assets/{analyticsHelper-Bns4muDg-CNix0JAa.js → analyticsHelper-BP6myd2z-CsiFRwZa.js} +1 -1
- package/dist/assets/{analyticsHelper-DIkeHXkP.js → analyticsHelper-CL3ebWyT.js} +1 -1
- package/dist/assets/{chartTypes-ZJYcsh-k-QASYidAg.js → chartTypes-BU-pRq_m-4W1rDqui.js} +1 -1
- package/dist/assets/{commonDimensions-NUQEpowf-IZPez2Zj.js → commonDimensions-BpaqG_u8-Hm0X7sCE.js} +1 -1
- package/dist/assets/{detailCommon-DMKakaa6-Bgcgnt6c.js → detailCommon-dG26UIR2-hMVwnMUq.js} +6 -6
- package/dist/assets/{downloadPdf-CNrmv_yZ-CxSqkh2v.js → downloadPdf-B5Tb5dp_-Ct6A3VYi.js} +1 -1
- package/dist/assets/{index-D3AeqRGt.js → index-C5chxI3W.js} +4203 -4371
- package/dist/assets/{mapLoadingInProgressToTreeNode-CwLhcXcQ-DE5uV0w5.js → mapLoadingInProgressToTreeNode-DOBKyY4b-Cji_pzGZ.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D8iLkGEE-DaBUvlwh.js → mapSectionWithAcOnlyToTreeNode-Bja0zC1h-BgIeww8r.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CF_gEYDy-omwVP5Kf.js → mapSpacerToTreeNode-BnX1Qa3P-BdNPRcx1.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Dp2QmYvb-FnBEwh3Z.js → mapTimeframeBalancesToTreeNode-BTMBlZfj-BF58Lu6L.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-B672MK55-1iS28pBs.js → mapTimeframeBalancesToTreeNode-DRU0rg28-CA6THCw5.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BaEMd-vj-y-nXGJ6b.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CafUd-oV-Xm435fDX.js} +1 -1
- package/dist/assets/{play-icon-CgWP2Myd-CjzXITiB.js → play-icon-CwzVvYsB-Do7CqLGc.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DJNZCEmi-D9lE8sxN.js → toCOABalancesWithID-CTIZoP69-DeVrMVx4.js} +1 -1
- package/dist/assets/{toChartData-HYsxUPzh-CN6TOhlP.js → toChartData-yWFIkpKX-RS3uH3U9.js} +1 -1
- package/dist/assets/{treasuryColorHelper-BgV2H9Kv-BBaiHC7Z.js → treasuryColorHelper-I90KNlm_-BYEIYIdA.js} +1 -1
- package/dist/assets/{uploadAttachment-BgjFjkkw-CHJQ_-jA.js → uploadAttachment-BIyTb3QF-DLfW32Gd.js} +35 -35
- package/dist/assets/{uploadReceipts-CwjPukNh-CnV2uz7X.js → uploadReceipts-CB79ouJi-D3aL_mpJ.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-BwrF_fEr-Bl6tw_2_.js +0 -21
- package/dist/assets/ApAgingDetailPage-CsQ3DujX-DlJxm9wv.js +0 -46
- package/dist/assets/ChargeCardPromoPage-us_v89rV-BWpqYDUH.js +0 -222
- package/dist/assets/CheckDepositDrawerPage-XZJ1F0aC-DZabwxX9.js +0 -206
- package/dist/assets/CompleteProfile-BpX6H4vJ-CZDJQ04r.js +0 -52
- package/dist/assets/CustomerOnboardingContainerPage-C1higvpq-tWYvfVXz.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-BisaE6sH-CNi5QHjT.js +0 -66
- package/dist/assets/EditPeoplePage-ixJkT03_-BL4teQzP.js +0 -55
- package/dist/assets/FeaturePreviewPage-CpBX-Xic-CzzPQxyN.js +0 -11
- package/dist/assets/HelpButton-CzTfBZQj-CySfZ02w.js +0 -28
- package/dist/assets/InsightsSection-C-kpIvRH-BPjMKWaa.js +0 -27
- package/dist/assets/InvitePeoplePage-CPBMZNa--CIaNjMb9.js +0 -12
- package/dist/assets/InvoiceUploadSection-C0WzT0uv-BIhpe2Cm.js +0 -140
- package/dist/assets/LabeledAddressValue-B8awEVKI-D-PU1InD.js +0 -49
- package/dist/assets/LabeledAddressValueField-Dl5yKg2N-CEGK2Y9X.js +0 -45
- package/dist/assets/MagicLinkTitleSection-tHh2d5Ld-CTdvPKXv.js +0 -17
- package/dist/assets/NavBarWithPicker-Bzkl4W0x-CfzrLfDY.js +0 -30
- package/dist/assets/NotificationsListConfig-CeeJpJ2p-9azM46PI.js +0 -1
- package/dist/assets/PortfolioAllocationFormPage-28Rg5Um0-DY6maLGs.js +0 -207
- package/dist/assets/ReimbursementPromoPage-DQsLI50f-DvOFKYbI.js +0 -112
- package/dist/assets/StatementsPage-BM5Glizw-KJqDC7mS.js +0 -58
- package/dist/assets/TransactionVendorDetailPage-RajWBB1I-n3kajgLY.js +0 -80
- package/dist/assets/TransferDrawerPage-D-KFK0BM-BSonC9br.js +0 -362
- package/dist/assets/TreasuryTransferOrReviewPage-DrNld8H2-pA_lhDcW.js +0 -506
- package/dist/assets/Vendor2FAPopup-DvWVDx58-BBDrtmPb.js +0 -1
- package/dist/assets/VerifyDevice-XUExnmR9-BVFZuTkv.js +0 -67
- package/dist/assets/ZeniAccountNavBarPieces-5yZFq-zt-CS3RCOOK.js +0 -14
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{j as a,
|
|
1
|
+
import{j as a,X as me,d3 as pe,_ as te,gO as Je,M as W,a0 as Pe,K as He,c as et,a4 as Te,o as t,C as d,a3 as je,k as tt,O as at,u as Ee,bt as nt,cP as ze,Q as V,g as Z,fR as Ce,f as ot,l as P,Z as Me,c1 as it,a2 as be,a as rt,eY as lt,c4 as ct,F as st,cA as dt,f5 as mt,c9 as pt,fE as ut,q as r,bp as ht,bn as Be,cX as gt,bI as yt,e as Oe,f8 as ft,f0 as Ct,a7 as bt,f9 as xt,cr as St,fa as wt,fj as Dt}from"./index-C5chxI3W.js";import{n as o,b as p}from"./vendor-CnQcJ2Lu.js";import{x as $t}from"./LabeledControlledCheckBoxField-BnfJ3gKr-7p5KdXvW.js";import{S as kt}from"./ChargeCardUtils-DBEgXAMc-DYsQMmpv.js";import{Z as xe}from"./CreditCardPaymentPlgSection-BM05WC-i-Bk08bY1j.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.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(),T=Ee(),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(Xt,{windowSize:m,children:a.jsx(nt,{title:Lt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Kt,{"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(Pt,{children:a.jsx(ze,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:de.integerAmountInput.styleObject(m),decimalStyles:de.decimalAmountInput.styleObject(m)})}),M?a.jsx(Ot,{children:a.jsxs(Et,{children:[a.jsxs(Nt,{children:[a.jsx(Yt,{}),a.jsxs(zt,{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:Z.heroLight}})})]})}):null,a.jsx(Zt,{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(Tt,{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} ${P.zeniDate(P.getNextNthWorkingDay(P.dateNow().toDate(),[0,6],3).toDateString()).format(At)} ${ee.business23Days}`,additionalInfoLabelStyles:{color:T.colors.hero,...ot.smallRegular.cssObject},text:a.jsx(De,{windowSize:m,children:Pe("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:we.currencyCode,currencySymbol:we.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(Te,{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(Gt,{src:Rt(n.logo),isOptionSelected:h,loading:"lazy"}):a.jsx(Qt,{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():"",Pt=o(Be)`
|
|
2
2
|
color: ${e=>e.theme.colors.primary};
|
|
3
3
|
padding-top: ${t.sp3};
|
|
4
|
-
`,
|
|
4
|
+
`,Tt=o.div`
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
7
7
|
`,De=o(Oe)`
|
|
@@ -15,21 +15,21 @@ import{j as a,e as me,d6 as pe,$ as te,gR as He,M as Y,a0 as Te,J as Qe,m as et,
|
|
|
15
15
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
16
16
|
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
17
17
|
border-radius: ${t.sp2};
|
|
18
|
-
`,
|
|
18
|
+
`,Et=o.div`
|
|
19
19
|
display: flex;
|
|
20
20
|
width: 100%;
|
|
21
21
|
justify-content: space-between;
|
|
22
22
|
padding: ${t.sp3} ${t.sp4};
|
|
23
|
-
background-color: ${
|
|
23
|
+
background-color: ${Z.importantLight};
|
|
24
24
|
border-radius: ${t.sp2};
|
|
25
|
-
`,
|
|
25
|
+
`,zt=o.div`
|
|
26
26
|
display: flex;
|
|
27
27
|
flex-direction: column;
|
|
28
28
|
margin-left: ${t.sp2};
|
|
29
29
|
`,Mt=o(yt)`
|
|
30
|
-
color: ${
|
|
30
|
+
color: ${Z.important};
|
|
31
31
|
`,Bt=o(Oe)`
|
|
32
|
-
color: ${
|
|
32
|
+
color: ${Z.important};
|
|
33
33
|
`,Ot=o.div`
|
|
34
34
|
margin-top: ${t.sp3};
|
|
35
35
|
display: flex;
|
|
@@ -47,10 +47,10 @@ import{j as a,e as me,d6 as pe,$ as te,gR as He,M as Y,a0 as Te,J as Qe,m as et,
|
|
|
47
47
|
`,Nt=o.div`
|
|
48
48
|
display: flex;
|
|
49
49
|
align-items: flex-start;
|
|
50
|
-
`,Ut=o.div``,
|
|
50
|
+
`,Ut=o.div``,Yt=o(gt)`
|
|
51
51
|
width: ${t.sp4};
|
|
52
52
|
height: ${t.sp4};
|
|
53
|
-
color: ${
|
|
53
|
+
color: ${Z.important};
|
|
54
54
|
`,Vt=o(je)`
|
|
55
55
|
cursor: pointer;
|
|
56
56
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -60,18 +60,18 @@ import{j as a,e as me,d6 as pe,$ as te,gR as He,M as Y,a0 as Te,J as Qe,m as et,
|
|
|
60
60
|
&:hover {
|
|
61
61
|
color: ${e=>e.theme.colors.primary};
|
|
62
62
|
}
|
|
63
|
-
`,
|
|
63
|
+
`,Wt=o.div`
|
|
64
64
|
display: flex;
|
|
65
65
|
flex: 1;
|
|
66
66
|
background-color: ${e=>e.theme.colors.grey3};
|
|
67
67
|
min-height: 1px;
|
|
68
68
|
max-height: 1px;
|
|
69
|
-
`,
|
|
69
|
+
`,Zt=o.div`
|
|
70
70
|
display: flex;
|
|
71
71
|
flex-direction: column;
|
|
72
72
|
padding-top: ${t.sp3};
|
|
73
73
|
padding-bottom: ${e=>`${ae.reviewContentWrapperPaddingBottom.valuePx(e.windowSize)}`};
|
|
74
|
-
`,
|
|
74
|
+
`,Kt=o(ht)`
|
|
75
75
|
cursor: pointer;
|
|
76
76
|
color: ${e=>e.theme.colors.hero};
|
|
77
77
|
width: ${t.sp4};
|
|
@@ -80,7 +80,7 @@ import{j as a,e as me,d6 as pe,$ as te,gR as He,M as Y,a0 as Te,J as Qe,m as et,
|
|
|
80
80
|
&:hover {
|
|
81
81
|
color: ${e=>e.theme.colors.primary};
|
|
82
82
|
}
|
|
83
|
-
`,
|
|
83
|
+
`,Xt=o.div`
|
|
84
84
|
display: flex;
|
|
85
85
|
flex-direction: row;
|
|
86
86
|
justify-content: flex-start;
|
|
@@ -90,7 +90,7 @@ import{j as a,e as me,d6 as pe,$ as te,gR as He,M as Y,a0 as Te,J as Qe,m as et,
|
|
|
90
90
|
padding: ${e=>`${ae.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
|
|
91
91
|
z-index: 2;
|
|
92
92
|
background-color: ${e=>e.theme.colors.grey4};
|
|
93
|
-
`,
|
|
93
|
+
`,qt=o(Me)`
|
|
94
94
|
${e=>`${de.pageTitle.style(e.windowSize)}`};
|
|
95
95
|
color: ${e=>e.theme.colors.primary};
|
|
96
96
|
padding: ${t.sp3} ${t.sp0} ${t.sp3} ${t.sp0};
|
|
@@ -100,16 +100,16 @@ import{j as a,e as me,d6 as pe,$ as te,gR as He,M as Y,a0 as Te,J as Qe,m as et,
|
|
|
100
100
|
height: ${e=>e.isOptionSelected?t.sp4:t.sp5};
|
|
101
101
|
min-width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
|
|
102
102
|
margin-right: ${t.sp2};
|
|
103
|
-
`,
|
|
103
|
+
`,Qt=o.div`
|
|
104
104
|
min-width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
|
|
105
105
|
width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
|
|
106
106
|
height: ${e=>e.isOptionSelected?t.sp4:t.sp5};
|
|
107
|
-
`,
|
|
107
|
+
`,Jt=o(Dt)`
|
|
108
108
|
min-width: inherit;
|
|
109
109
|
width: inherit;
|
|
110
110
|
height: inherit;
|
|
111
111
|
margin-right: ${t.sp2};
|
|
112
|
-
`,
|
|
112
|
+
`,Ht=o.div`
|
|
113
113
|
min-width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
|
|
114
114
|
width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
|
|
115
115
|
height: ${e=>e.isOptionSelected?t.sp4:t.sp5};
|
|
@@ -126,7 +126,7 @@ import{j as a,e as me,d6 as pe,$ as te,gR as He,M as Y,a0 as Te,J as Qe,m as et,
|
|
|
126
126
|
margin-right: 12px;
|
|
127
127
|
margin-left: ${t.sp1};
|
|
128
128
|
color: ${e=>e.theme.colors.hero};
|
|
129
|
-
`,{common:se,spendManagement:{zeniAccounts:{zeniAccountList:aa},billPay:{insufficientFunds:na},chargeCard:{payEarly:U}},commonSetUp:{setUp:{accountsPlg:ie}}}=
|
|
129
|
+
`,{common:se,spendManagement:{zeniAccounts:{zeniAccountList:aa},billPay:{insufficientFunds:na},chargeCard:{payEarly:U}},commonSetUp:{setUp:{accountsPlg:ie}}}=W.getLocalizedStrings(),Ne="amount",oa="withdrawFrom",B="paymentDetails",Ue="creditCardPaymentPage",re=(e,i)=>`${e}.${i}`,Ye=e=>`${e}_form`,S={largeLabelWidth:new d(120,120,160),labelMarginLeftPicker:new d(r[3],r[4]),labelMarginRightPicker:new d(r[3],r[4]),labelMarginTopPicker:new d(r[2],r[2]),labeledFieldPaddingLeft:new d(r[2],r[0]),labeledFieldPaddingRight:new d(r[2],r[2]),labeledFieldPaddingTop:new d(r[2],r[2]),labeledFieldPaddingBottom:new d(r[2],r[2]),infoLabelPaddingRight:new d(r[0],r[3]),infoLabelMarginTop:new d(r[1],r[0]),checkBoxTop:new d(r[1],r[0])},$e={integerAmountInput:new V("h5Regular","h2Regular"),decimalAmountInput:new V("largeSemiBold","h5Medium")};function ia({autoPayThreshold:e,plaidConnectionDetails:i,maxInsuredAmount:h,paymentDetails:n,lowBalanceAdditionalInfo:g,paymentAccount:c,isAccountsEnabled:f,onSaveChangesToLocalStore:v,onUpdatePaymentAccountStatus:y,onEstablishConnectionClick:b,onEstablishConnectionSuccess:x,onFetchLinkTokenClick:C,setShowReviewLoading:D,onSignUpAccountClick:m,onMoveMoneyClick:T,isCashbackInfoFetchStateCompleted:j,isCreditCardInfoFetchStateCompleted:M,isDebitCardInfoFetchStateCompleted:L,controllerEmails:k,productInformation:K,cashbackInformation:X,paymentSourceInformation:q,creditAccountInformation:G,debitAccountInformation:Q}){const s=me(),le=Ee(),w=S.largeLabelWidth.value(s),J=pe().analytics,H=p.useRef(null),[E,z]=p.useState(!1),[I,O]=p.useState(void 0),A=i.link_account,oe=i.update_account,$=I==="update_account"?oe:A,[_,ue]=p.useState($.linkToken??null),he=be(A.updateStatus.fetchState),N=rt({mode:"all",reValidateMode:"onBlur",defaultValues:p.useMemo(()=>ke(n),[n]),values:p.useMemo(()=>ke(n),[n])}),ge=c?.isLoginRequired??!1,F=c?.providerVerificationStatus?.code,ye=be(oe.updateStatus.fetchState),Ve=p.useCallback((l,u)=>{const R=u.accounts.find(Qe=>Qe.id===c?.providerAccountId)??u.accounts[0];c?.paymentAccountId!=null&&I==="update_account"&&R?.verification_status!=null&&!ge?y(R?.verification_status,c.paymentAccountId,"update_account"):b?.(l,I),O(void 0),z(!1)},[c?.paymentAccountId,c?.providerAccountId,I,ge,y,b]),We=p.useCallback((l,u)=>{l!=null&&(l.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&c?.paymentAccountId!=null&&y("verification_failed",c.paymentAccountId,"update_account"),console.log("Plaid Connection Error",l,u)),O(void 0),z(!1)},[c?.paymentAccountId,y]),{open:ce,ready:fe}=lt({token:_,onSuccess:Ve,onExit:We});p.useEffect(()=>{(he==="In-Progress"&&A.updateStatus.fetchState==="Completed"||ye==="In-Progress"&&oe.updateStatus.fetchState==="Completed")&&(P.isVerifiedPaymentAccountProviderStatusCode(F??"")||(C?.("link_account"),x()))},[A.updateStatus.fetchState,x,C,he,ye,oe.updateStatus.fetchState,F]),p.useEffect(()=>{(P.isVerifiedStatusCode(F??"")||F==="verification_failed")&&!E&&I!=null&&$.linkToken===_&&$.fetchStatus.fetchState==="Completed"&&fe&&z(!0)},[fe,_,$.fetchStatus.fetchState,$.linkToken,F,I,E]),p.useEffect(()=>{$.fetchStatus.fetchState==="Completed"&&$.linkToken!=null&&$.linkToken!==_&&ue($.linkToken)},[$.fetchStatus.fetchState,$.linkToken,_]),p.useEffect(()=>{E&&ce()},[E,ce]),p.useEffect(()=>{(F==null||F==="verification_failed"||F==="verification_expired"||P.isVerifiedStatusCode(F))&&(P.zeniDate(new Date().toISOString()).isAfter(A.expiration)||A.linkToken==null)&&C?.("link_account")},[]);const{isValid:Ze}=N.formState,Ke=async(l,u)=>{if(l!=null){if(l.includes("amount"))return;const R=Ae(u,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);v(R)}},Xe=l=>{if(g!=null)return g;const u=n.transferFromAccounts.find(R=>R.id===l);return u?.accountBalance?.available!=null&&P.checkIfLowBalance(n.chargeCardRepaymentDetailLocalData.amount,u?.accountBalance?.available)?na.addMoney:""};p.useEffect(()=>{const l=N.watch((u,{name:R})=>{R!=null&&u!=null&&ct(()=>Ke(R,u))});return()=>{l.unsubscribe()}});const qe=N.watch("paymentDetails.amount"),Ge=N.handleSubmit(()=>{if(Ze){const l=N.getValues(),u=Ae(l,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);v(u),D(!0),j&&M&&L&&J.trackCardsPayEarlyFormClick(k,K,X,"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},q,G,Q)}});return a.jsxs(a.Fragment,{children:[a.jsx(da,{children:a.jsx(ze,{amount:{amount:qe??0,currencyCode:n.chargeCardRepaymentDetailLocalData.amount.currencyCode,currencySymbol:n.chargeCardRepaymentDetailLocalData.amount.currencySymbol},integerStyles:$e.integerAmountInput.styleObject(s),decimalStyles:$e.decimalAmountInput.styleObject(s)})}),a.jsx(st,{...N,children:a.jsx(sa,{id:Ye(Ue),onSubmit:Ge,children:a.jsxs(ma,{children:[a.jsx(dt,{selectRef:H,label:{label:se.labels.transferFrom,width:w,style:{marginLeft:S.labelMarginLeftPicker.valuePx(s),marginTop:S.labelMarginTopPicker.valuePx(s),marginRight:S.labelMarginRightPicker.valuePx(s),width:S.largeLabelWidth.value(s)}},style:{paddingTop:S.labeledFieldPaddingTop.valuePx(s),paddingBottom:S.labeledFieldPaddingBottom.valuePx(s),paddingLeft:S.labeledFieldPaddingLeft.valuePx(s),paddingRight:S.labeledFieldPaddingRight.valuePx(s),border:"none",width:"auto",display:"flex"},infoLabelStyle:{textAlign:"right",paddingRight:S.infoLabelPaddingRight.valuePx(s),marginTop:S.infoLabelMarginTop.valuePx(s),color:Z.brandColorGoldDark},bottomComponent:a.jsx($t,{label:{label:U.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{textAlign:s==="small"?"end":"center",color:le.colors.primary}},style:{width:"unset",marginRight:t.sp3,alignItems:s==="small"?"flex-start":"center"},checkBoxField:{name:re(B,"enableAutoPay"),checkBoxValue:re(B,"enableAutoPay"),defaultChecked:n.chargeCardRepaymentDetailLocalData.isAutoRepayment,style:{top:S.checkBoxTop.valuePx(s)}}}),singleSelectPickerField:{name:re(B,oa),placeholder:pt(se.labels.transferFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(l,u)=>_e(n.transferFromAccounts,l,u),valueToSubLabels:(l,u)=>mt(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:()=>{O("link_account"),A.linkToken==null||P.zeniDate(new Date().toISOString()).isAfter(A.expiration)?C?.("link_account"):_!==A.linkToken?ue(A.linkToken):E?ce():z(!0)}},valueToAdditionalLabel:Xe}),n?.chargeCardRepaymentDetailLocalData.transferFrom==null||n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="paymentAccount"?a.jsx(xe,{maxInsuredAmount:h,heading:a.jsxs(ra,{windowSize:s,children:[U.earn,a.jsx(la,{children:U.percentageCashback.replace("__percentage__",kt)}),U.whenYouPayViaZeniChecking]}),buttonText:f?ie.switchButtonText:ie.signUpButtonText,isAccountsEnabled:f,pageName:U.creditCardPayment,onSignUpClick:m,onSwitchClick:()=>{H.current!=null&&H.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?a.jsx(xe,{maxInsuredAmount:h,heading:ie.moveMoneyHeading,buttonText:ie.moveMoneyButtonText,isAccountsEnabled:f,pageName:U.creditCardPayment,onMoveMoneyClick:T}):a.jsx(ca,{}),a.jsx(ut,{showAdditionalInfoLabel:!1,label:{label:se.labels.amount,width:w},formattedTextField:{type:"number",name:re(B,Ne),defaultValue:n.chargeCardRepaymentDetailLocalData.amount.amount===0?void 0:n.chargeCardRepaymentDetailLocalData.amount.amount,placeholder:aa.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:S.labeledFieldPaddingLeft.valuePx(s)}})]})})})]})}const ra=o(bt)`
|
|
130
130
|
color: ${e=>e.theme.colors.primary};
|
|
131
131
|
width: ${e=>e.windowSize==="small"?"80%":"100%"};
|
|
132
132
|
`,la=o(xt)`
|
|
@@ -154,7 +154,7 @@ import{j as a,e as me,d6 as pe,$ as te,gR as He,M as Y,a0 as Te,J as Qe,m as et,
|
|
|
154
154
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
155
155
|
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
156
156
|
border-radius: ${t.sp2};
|
|
157
|
-
`,Ae=(e,i,h)=>({amount:{amount:e[B].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:i.find(n=>n.id===e[B].withdrawFrom.selectedOption),isAutoRepayment:e[B].enableAutoPay,idempotencyKey:h}),ne={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),successContentMargin:new d(r[3],r[12]),buttonTrayGap:new d(r[4],r[5])},pa={sectionTitle:new V("h6Regular","h5Regular")},
|
|
157
|
+
`,Ae=(e,i,h)=>({amount:{amount:e[B].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:i.find(n=>n.id===e[B].withdrawFrom.selectedOption),isAutoRepayment:e[B].enableAutoPay,idempotencyKey:h}),ne={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),successContentMargin:new d(r[3],r[12]),buttonTrayGap:new d(r[4],r[5])},pa={sectionTitle:new V("h6Regular","h5Regular")},ve=W.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,Y=W.getLocalizedStrings().spendManagement.chargeCard.payEarly,{dateFormat:Le}=W.getLocalizedStrings(),ua=({autoPayThreshold:e,paymentDetails:i,maxInsuredAmount:h,isAccountsEnabled:n,productInformation:g,controllerEmails:c,creditAccountInformation:f,creditAccountSpentAmount:v,debitAccountInformation:y,cashbackInformation:b,paymentSourceInformation:x,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,isDebitCardInfoFetchStateCompleted:m,paymentInitiatedDate:T,onSaveChangesToLocalStore:j,onTransferClick:M,goToCards:L,onDismissClick:k,onEstablishConnectionClick:K,onFetchLinkTokenClick:X,plaidConnectionDetails:q,onSignUpAccountClick:G,onMoveMoneyClick:Q,onUpdatePaymentAccountStatus:s,onEstablishConnectionSuccess:le})=>{const w=me(),J=pe().analytics,[H,E]=p.useState(!1),[z,I]=p.useState(!1);p.useEffect(()=>{z&&setTimeout(()=>{I(!1),E(!0)},1e3)},[z]);const O=i.chargeCardRepaymentDetailLocalData.amount.amount===v;return a.jsx(ha,{windowSize:w,children:i.updateStatus==="Completed"?a.jsxs(Ie,{windowSize:w,isTransferCompleted:!0,children:[a.jsx(Fe,{windowSize:w,children:a.jsx(Re,{"data-testid":te("cross-credit-card-payment-success-close-button"),onClick:()=>{C&&D&&m&&J.trackCardsPayEarlyFormClick(c,g,b,"Cross Icon",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,f,y),k?.()}})}),a.jsxs(Ca,{windowSize:w,children:[a.jsx(Je,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),a.jsx(ga,{children:a.jsxs(a.Fragment,{children:[Y.youvePaid,a.jsx(ya,{children:Pe("0,0.[00]",i.chargeCardRepaymentDetailLocalData.amount)}),ve.transferDrawer.internal.transferSuccessMsgMidfix,`"${i.chargeCardRepaymentDetailLocalData.transferFrom?.label}".`,O?Y.theCreditLimitWillResetWithin23BusinessDays:Y.theCreditLimitWillUpdateWithin23BusinessDays]})}),a.jsx(fa,{windowSize:w,children:a.jsx(He,{variant:"primary",label:Y.goToCards,"data-testid":te("back-to-cards-button"),onClick:L})})]})]}):H?a.jsx(Ft,{paymentDetails:i,setShowReviewContent:E,onTransferClick:M,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,isDebitCardInfoFetchStateCompleted:m,controllerEmails:c,productInformation:g,cashbackInformation:b,paymentSourceInformation:x,creditAccountInformation:f,debitAccountInformation:y,isCompleteOutstandingBalanceBeingPaid:O}):a.jsxs(a.Fragment,{children:[a.jsxs(Ie,{windowSize:w,isTransferCompleted:!1,children:[a.jsx(Fe,{windowSize:w,children:a.jsx(Re,{"data-testid":te("cross-amount-details-close-button"),onClick:()=>{C&&D&&m&&J.trackCardsPayEarlyFormClick(c,g,b,"Cross Icon",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:T?.add(3,"day").format(Le.visual.MMMDCommaYYYYformat),paymentInitiatedDate:T?.format(Le.visual.MMMDCommaYYYYformat)},x,f,y),k?.()}})}),w==="small"?a.jsx(ba,{windowSize:w,children:Y.payCreditCardBalance}):a.jsx(xa,{children:Y.payCreditCardBalance}),i.fetchState==="Completed"?a.jsx(ia,{autoPayThreshold:e,maxInsuredAmount:h,onSaveChangesToLocalStore:j,plaidConnectionDetails:q,paymentDetails:i,setShowReviewLoading:I,onEstablishConnectionSuccess:le,isAccountsEnabled:n,onFetchLinkTokenClick:X,onUpdatePaymentAccountStatus:s,onEstablishConnectionClick:K,onSignUpAccountClick:G,onMoveMoneyClick:Q,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,isDebitCardInfoFetchStateCompleted:m,controllerEmails:c,productInformation:g,cashbackInformation:b,paymentSourceInformation:x,creditAccountInformation:f,debitAccountInformation:y}):a.jsx(et,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),a.jsx(Te,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp3},formId:Ye(Ue),helperStyle:{paddingTop:t.sp0,paddingBottom:t.sp0},primaryBtn:{label:W.getLocalizedStrings().common.review,isLoading:z},cancelBtn:{label:ve.transferDrawer.cancelBtn,onClick:()=>{C&&D&&m&&J.trackCardsPayEarlyFormClick(c,g,b,"Cancel",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,f,y),k?.()}}})]})})},ha=o.div`
|
|
158
158
|
display: flex;
|
|
159
159
|
flex-direction: column;
|
|
160
160
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -214,7 +214,7 @@ import{j as a,e as me,d6 as pe,$ as te,gR as He,M as Y,a0 as Te,J as Qe,m as et,
|
|
|
214
214
|
color: ${e=>e.theme.colors.primary};
|
|
215
215
|
margin-top: ${t.sp3};
|
|
216
216
|
margin-bottom: ${t.sp2};
|
|
217
|
-
`,ja=({autoPayThreshold:e,paymentDetails:i,isZeniAccountSetupEnabled:h,maxInsuredAmount:n,onUpdatePaymentAccountStatus:g,onSaveChangesToLocalStore:c,creditAccountSpentAmount:f,onTransferClick:
|
|
217
|
+
`,ja=({autoPayThreshold:e,paymentDetails:i,isZeniAccountSetupEnabled:h,maxInsuredAmount:n,onUpdatePaymentAccountStatus:g,onSaveChangesToLocalStore:c,creditAccountSpentAmount:f,onTransferClick:v,controllerEmails:y,productInformation:b,creditAccountInformation:x,debitAccountInformation:C,cashbackInformation:D,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:T,isCreditCardInfoFetchStateCompleted:j,isDebitCardInfoFetchStateCompleted:M,goToCards:L,onDismissClick:k,onEstablishConnectionClick:K,onEstablishConnectionSuccess:X,onFetchLinkTokenClick:q,plaidConnectionDetails:G,onSignUpAccountClick:Q,onMoveMoneyClick:s})=>a.jsx(Sa,{children:a.jsx(ua,{autoPayThreshold:e,paymentDetails:i,maxInsuredAmount:n,productInformation:b,controllerEmails:y,creditAccountInformation:x,debitAccountInformation:C,cashbackInformation:D,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:T,isCreditCardInfoFetchStateCompleted:j,isDebitCardInfoFetchStateCompleted:M,creditAccountSpentAmount:f,onSaveChangesToLocalStore:c,onTransferClick:v,goToCards:L,onDismissClick:k,plaidConnectionDetails:G,isAccountsEnabled:h,onEstablishConnectionClick:K,onFetchLinkTokenClick:q,onUpdatePaymentAccountStatus:g,onEstablishConnectionSuccess:X,onSignUpAccountClick:Q,onMoveMoneyClick:s})}),Sa=o.div`
|
|
218
218
|
display: flex;
|
|
219
219
|
flex-direction: column;
|
|
220
220
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{X as j,u as M,M as L,ab as T,a1 as U,j as i,_ as b,K as W,bC as G,o as l,g as n,C as a,aS as H,bI as R,az as _,v as B,q as o}from"./index-C5chxI3W.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]),bulletContainerGap:new a(12,o[3])};function Z({heading:e,buttonText:c,analytics:g,maxInsuredAmount:m,pageName:h,style:x,onSignUpClick:S,onSwitchClick:y,onMoveMoneyClick:f}){const d=j(),$=M(),{common:v,commonSetUp:C}=L.getLocalizedStrings(),s=C.setUp.accountsPlg,P=()=>{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"),f?.()}},z=T(U(m),m,v.currency.currencySymbol).toUpperCase();return i.jsxs(A,{windowSize:d,width:x?.width,style:x,"data-testid":b("credit-card-payment-plg-section"),children:[i.jsxs(D,{children:[i.jsx(q,{windowSize:d,isDarkMode:$.mode==="dark",children:i.jsx(I,{windowSize:d,children:i.jsx(O,{})})}),i.jsx(E,{children:i.jsxs(F,{children:[i.jsx(J,{windowSize:d,children:e}),i.jsxs(N,{windowSize:d,children:[i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(u,{children:s.bulletPoints.two.replace("__amount__",z)})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(u,{children:s.bulletPoints.three})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(u,{children:s.bulletPoints.four})]})]})]})})]}),i.jsx(K,{windowSize:d,children:i.jsx(W,{label:c,"data-testid":b("accounts-plg-button",c),onClick:k=>{k.stopPropagation(),P()},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:G.regular}})})]})}const D=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
|
-
`,
|
|
4
|
+
`,J=t(R)`
|
|
5
5
|
color: ${e=>e.theme.colors.primary};
|
|
6
6
|
width: 100%;
|
|
7
|
-
`,
|
|
7
|
+
`,K=t.div`
|
|
8
8
|
display: flex;
|
|
9
9
|
color: inherit;
|
|
10
10
|
margin-bottom: auto;
|
|
11
11
|
margin-left: ${e=>r.buttonLeftMargin.valuePx(e.windowSize)};
|
|
12
12
|
margin-top: ${e=>r.buttonTopMargin.valuePx(e.windowSize)};
|
|
13
|
-
`,
|
|
13
|
+
`,I=t.div`
|
|
14
14
|
width: ${e=>r.iconWidthHeight.valuePx(e.windowSize)};
|
|
15
15
|
height: ${e=>r.iconWidthHeight.valuePx(e.windowSize)};
|
|
16
|
-
`,
|
|
16
|
+
`,O=t(H)`
|
|
17
17
|
color: ${e=>e.theme.colors.primary};
|
|
18
18
|
width: inherit;
|
|
19
19
|
height: inherit;
|
|
20
|
-
`,
|
|
20
|
+
`,q=t.div`
|
|
21
21
|
display: flex;
|
|
22
22
|
margin-bottom: auto;
|
|
23
23
|
flex-direction: row;
|
|
@@ -31,7 +31,7 @@ import{e as j,u as M,M as L,ab as T,a1 as H,j as i,$ as b,J as U,bF as W,o as l,
|
|
|
31
31
|
max-width: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
32
32
|
max-height: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
33
33
|
margin-right: ${e=>r.iconContainerMarginRight.valuePx(e.windowSize)};
|
|
34
|
-
`,
|
|
34
|
+
`,A=t.div`
|
|
35
35
|
display: flex;
|
|
36
36
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
37
37
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
@@ -53,10 +53,10 @@ import{e as j,u as M,M as L,ab as T,a1 as H,j as i,$ as b,J as U,bF as W,o as l,
|
|
|
53
53
|
100% 100%,
|
|
54
54
|
0% 0%;
|
|
55
55
|
background-repeat: no-repeat;
|
|
56
|
-
`,
|
|
56
|
+
`,E=t.div`
|
|
57
57
|
display: flex;
|
|
58
58
|
flex-direction: column;
|
|
59
|
-
`,
|
|
59
|
+
`,F=t.div``,N=t.div`
|
|
60
60
|
display: flex;
|
|
61
61
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
62
62
|
gap: ${e=>r.bulletContainerGap.valuePx(e.windowSize)};
|
|
@@ -66,13 +66,13 @@ import{e as j,u as M,M as L,ab as T,a1 as H,j as i,$ as b,J as U,bF as W,o as l,
|
|
|
66
66
|
`,p=t.div`
|
|
67
67
|
display: flex;
|
|
68
68
|
align-items: center;
|
|
69
|
-
`,w=t(
|
|
69
|
+
`,w=t(_)`
|
|
70
70
|
width: ${l.sp3};
|
|
71
71
|
height: ${l.sp3};
|
|
72
72
|
vertical-align: middle;
|
|
73
73
|
margin-right: ${l.sp1};
|
|
74
74
|
color: ${n.success};
|
|
75
|
-
`,
|
|
75
|
+
`,u=t(B)`
|
|
76
76
|
color: ${e=>e.theme.colors.primary};
|
|
77
77
|
white-space: nowrap;
|
|
78
|
-
`;export{
|
|
78
|
+
`;export{Z};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ch as M,u as N,cp as P,M as H,j as l,cq as L,_ as x,b2 as _,o,dh as z,bU as U,b3 as g,e as B,f as S,eU as q,eV as A,eW as K,v as T,b0 as W,a3 as X,g as m}from"./index-C5chxI3W.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(_,{...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:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Y,Option:Z,Input:Q,SingleValue:ee,ValueContainer:J,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:G},hideSelectedOptions:!1,styles:I,isDisabled:a!=null})}})},Y=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})})},Z=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]})})})},G=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(U,{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]})})},J=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),Q=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
|
-
`,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&
|
|
3
|
+
`,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&q(e)===!1)return l.jsx(l.Fragment,{});{const r=A[`${K(e??"")}`];return l.jsx(ie,{children:l.jsx(r,{width:o.sp4,height:o.sp3})})}},te=n.span`
|
|
4
4
|
width: 100%;
|
|
5
5
|
background-color: ${e=>e.hasError?m.importantLight:e.menuIsOpen?e.theme.colors.background:e.controlStyle?.backgroundColor!=null?e.controlStyle?.backgroundColor:e.theme.colors.grey5};
|
|
6
6
|
border-radius: ${o.sp1};
|
|
@@ -126,13 +126,13 @@ import{ck as M,u as P,cs as N,M as H,j as l,ct as L,$ as x,b2 as z,o,dk as _,bX
|
|
|
126
126
|
}
|
|
127
127
|
`,de=n.div`
|
|
128
128
|
display: flex;
|
|
129
|
-
`,ue=n(
|
|
129
|
+
`,ue=n(W)`
|
|
130
130
|
width: 12px;
|
|
131
131
|
height: 12px;
|
|
132
132
|
margin-right: 2px;
|
|
133
133
|
margin-left: ${o.sp1};
|
|
134
134
|
color: ${e=>e.theme.colors.primary};
|
|
135
|
-
`,pe=n(
|
|
135
|
+
`,pe=n(X)`
|
|
136
136
|
width: ${o.sp3};
|
|
137
137
|
height: ${o.sp3};
|
|
138
138
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,
|
|
1
|
+
import{j as t,X as b,M as d,a2 as l,_ as p,c as x,o as i,$ as g,c1 as h,k as m}from"./index-C5chxI3W.js";import{b as u,n as o}from"./vendor-CnQcJ2Lu.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const $=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -20,7 +20,7 @@ import{j as t,e as b,M as d,a2 as l,$ as p,m as x,o as i,D as g,c4 as h,L as m}f
|
|
|
20
20
|
width: 102px;
|
|
21
21
|
color: ${e=>e.theme.colors.primary};
|
|
22
22
|
cursor: pointer;
|
|
23
|
-
`,
|
|
23
|
+
`,k=o.div`
|
|
24
24
|
display: flex;
|
|
25
25
|
flex: 1 1 auto;
|
|
26
26
|
flex-direction: column;
|
|
@@ -38,13 +38,13 @@ import{j as t,e as b,M as d,a2 as l,$ as p,m as x,o as i,D as g,c4 as h,L as m}f
|
|
|
38
38
|
margin-bottom: ${i.sp1};
|
|
39
39
|
padding: ${i.sp0} ${i.sp3};
|
|
40
40
|
text-align: center;
|
|
41
|
-
`,
|
|
41
|
+
`,y=o(m)`
|
|
42
42
|
color: ${e=>e.theme.colors.hero};
|
|
43
43
|
padding: ${i.sp0} ${i.sp3};
|
|
44
44
|
text-align: center;
|
|
45
45
|
`,w=o.div`
|
|
46
46
|
margin-top: ${i.sp3};
|
|
47
|
-
`,z=({dashboardFetchState:e,onZeniLogoClick:n,onDashboardFetchDone:r})=>{const{title:a,subTitle:c}=d.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return u.useEffect(()=>{s==="In-Progress"&&e!=="In-Progress"&&r()},[e,s,r]),t.jsxs($,{children:[t.jsx(f,{children:t.jsx(j,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:n})}),t.jsxs(
|
|
47
|
+
`,z=({dashboardFetchState:e,onZeniLogoClick:n,onDashboardFetchDone:r})=>{const{title:a,subTitle:c}=d.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return u.useEffect(()=>{s==="In-Progress"&&e!=="In-Progress"&&r()},[e,s,r]),t.jsxs($,{children:[t.jsx(f,{children:t.jsx(j,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:n})}),t.jsxs(k,{children:[t.jsx(v,{children:a}),t.jsx(y,{children:c}),t.jsx(w,{children:t.jsx(x,{size:"Large",start:!0})})]})]})},L=o.div`
|
|
48
48
|
display: flex;
|
|
49
49
|
flex-direction: column;
|
|
50
50
|
height: 100vh;
|
|
@@ -52,7 +52,7 @@ import{j as t,e as b,M as d,a2 as l,$ as p,m as x,o as i,D as g,c4 as h,L as m}f
|
|
|
52
52
|
`,P=o.div`
|
|
53
53
|
width: 100%;
|
|
54
54
|
position: absolute;
|
|
55
|
-
`,
|
|
55
|
+
`,S=o.div`
|
|
56
56
|
position: relative;
|
|
57
57
|
display: flex;
|
|
58
58
|
-webkit-box-align: center;
|
|
@@ -60,12 +60,12 @@ import{j as t,e as b,M as d,a2 as l,$ as p,m as x,o as i,D as g,c4 as h,L as m}f
|
|
|
60
60
|
justify-content: center;
|
|
61
61
|
padding: ${i.sp0} ${i.sp3};
|
|
62
62
|
min-height: ${i.sp8};
|
|
63
|
-
`,
|
|
63
|
+
`,C=o(g)`
|
|
64
64
|
height: ${i.sp4};
|
|
65
65
|
width: 102px;
|
|
66
66
|
color: ${e=>e.theme.colors.primary};
|
|
67
67
|
cursor: pointer;
|
|
68
|
-
`,
|
|
68
|
+
`,I=o.div`
|
|
69
69
|
display: flex;
|
|
70
70
|
flex: 1 1 auto;
|
|
71
71
|
flex-direction: column;
|
|
@@ -74,7 +74,7 @@ import{j as t,e as b,M as d,a2 as l,$ as p,m as x,o as i,D as g,c4 as h,L as m}f
|
|
|
74
74
|
justify-content: center;
|
|
75
75
|
background: ${e=>e.theme.colors.background};
|
|
76
76
|
padding: ${i.sp0} ${i.sp3};
|
|
77
|
-
`,
|
|
77
|
+
`,D=o(h)`
|
|
78
78
|
color: ${e=>e.theme.colors.primary};
|
|
79
79
|
margin-bottom: ${i.sp1};
|
|
80
80
|
text-align: center;
|
|
@@ -85,4 +85,4 @@ import{j as t,e as b,M as d,a2 as l,$ as p,m as x,o as i,D as g,c4 as h,L as m}f
|
|
|
85
85
|
width: 100%;
|
|
86
86
|
`,F=o.div`
|
|
87
87
|
margin-top: ${i.sp3};
|
|
88
|
-
`,M=({dashboardFetchState:e,onZeniLogoClick:n,onDashboardFetchDone:r})=>{const{title:a,subTitle:c}=d.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return u.useEffect(()=>{s==="In-Progress"&&e!=="In-Progress"&&r()},[e,s,r]),t.jsxs(L,{children:[t.jsx(P,{children:t.jsx(
|
|
88
|
+
`,M=({dashboardFetchState:e,onZeniLogoClick:n,onDashboardFetchDone:r})=>{const{title:a,subTitle:c}=d.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return u.useEffect(()=>{s==="In-Progress"&&e!=="In-Progress"&&r()},[e,s,r]),t.jsxs(L,{children:[t.jsx(P,{children:t.jsx(S,{children:t.jsx(C,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:n})})}),t.jsxs(I,{children:[t.jsx(D,{children:a}),t.jsx(E,{children:c}),t.jsx(F,{children:t.jsx(x,{size:"Large",start:!0})})]})]})},q=e=>b()==="small"?t.jsx(M,{...e}):t.jsx(z,{...e});export{q as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as r}from"./index-C5chxI3W.js";import o from"./CustomerOnboardingNoStepsPage-sHKAos8m-1qMzs8BU.js";import i from"./CustomerOnboardingPage-B_S5G-6o-Cv0ITZ4_.js";import"./mui-Bi8r7UDG.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./HelpButton-ewiNuwlj-a7BLQVoR.js";import"./MeetingCalenderPopup-DNthMj1J-DCVu9x9-.js";import"./PaymentAccountSetupBillingAddressSection-CsldB-k7-VgWcdB9R.js";import"./SetUpAccountSection-Dr1TfnG_-Cel5DtZp.js";import"./SetUpDefaultSection-Be5NU_Em-BdXA12e3.js";import"./ChaseOverlay-HTpWDuLt-D0qtM7hD.js";import"./CustomerOnboardingDetailPageSkeleton-B--kAA3i-BtWP8-CX.js";import"./CompanyOfficerDetailsSection-C1aPsDga-DX0GYxxu.js";import"./LabeledAddressValueField-Eka4fXzu-BSJMd52k.js";import"./LabeledCreatableSingleSelectField-CJT-CuQl-C0rlBcX2.js";import"./LabeledDocumentField-BoraKtTI-BRERXK8W.js";import"./QBOSetupSection-BTOCiyES-BQ9iHLEQ.js";import"./QBOConnectionDialog-Ci5zNza5-6_E7GkKa.js";const v=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?r.jsx(o,{...t}):r.jsx(i,{...t});export{v as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{j as s
|
|
1
|
+
import{j as s,_ as y,aJ as E,u as f,X as T,bg as x,o as t,q as R,C as $,$ as I,M as N,g as u,eR as U,h3 as P,e$ as L,aD as W,m as M,h4 as O}from"./index-C5chxI3W.js";import{n as r,f as S}from"./vendor-CnQcJ2Lu.js";const J=r(O)`
|
|
2
2
|
/* Size is controlled by styles.root prop */
|
|
3
|
-
`,
|
|
3
|
+
`,X=r.div`
|
|
4
4
|
position: relative;
|
|
5
5
|
width: ${t.sp3};
|
|
6
6
|
height: ${t.sp3};
|
|
@@ -22,7 +22,7 @@ import{j as s,$ as y,aJ as E,u as f,e as T,bg as x,o as t,q as R,C as $,D as I,M
|
|
|
22
22
|
pointer-events: none;
|
|
23
23
|
z-index: 1;
|
|
24
24
|
}
|
|
25
|
-
`,
|
|
25
|
+
`,Y=({valueEnd:e,valueStart:i,children:o})=>{const[l,d]=S.useState(i);return S.useEffect(()=>{const a=setTimeout(()=>{d(e)},100);return()=>clearTimeout(a)},[e]),s.jsx(s.Fragment,{children:o(l)})},q=({valueEnd:e=50})=>{const i=f();return s.jsx(Y,{valueStart:0,valueEnd:e,children:o=>s.jsx(X,{theme:i,children:s.jsx(J,{value:o,strokeWidth:50,circleRatio:1,styles:{...P({pathColor:u.success,trailColor:"transparent",pathTransitionDuration:1.5,rotation:1,strokeLinecap:"butt"}),root:{width:t.sp3,height:t.sp3,position:"relative",zIndex:2,display:"flex",alignItems:"center",justifyContent:"center"}}})})})},j=({isActive:e,isCompleted:i,isDisabled:o,isError:l,isHalfCompleted:d,theme:a})=>e||i||d||l?l?u.runwayRed:a.colors.primary:o?a.colors.grey1:a.colors.hero,w=({isActive:e,isCompleted:i,isDisabled:o,isHalfCompleted:l,theme:d})=>e||i||l?d.colors.primary:o?d.colors.grey1:d.colors.hero,F=r.div`
|
|
26
26
|
width: 100%;
|
|
27
27
|
display: flex;
|
|
28
28
|
background: ${e=>e.isActive?e.theme.colors.grey5:null};
|
|
@@ -41,31 +41,31 @@ import{j as s,$ as y,aJ as E,u as f,e as T,bg as x,o as t,q as R,C as $,D as I,M
|
|
|
41
41
|
color: ${e=>w({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.isDisabled,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
`,
|
|
44
|
+
`,K=r.div`
|
|
45
45
|
margin-right: ${t.sp2};
|
|
46
46
|
margin-top: 2px;
|
|
47
|
-
`,
|
|
47
|
+
`,V=r(L)`
|
|
48
48
|
width: ${t.sp3};
|
|
49
49
|
height: ${t.sp3};
|
|
50
50
|
color: ${u.success};
|
|
51
|
-
`,
|
|
51
|
+
`,Z=r(U)`
|
|
52
52
|
width: ${t.sp3};
|
|
53
53
|
height: ${t.sp3};
|
|
54
54
|
color: ${u.runwayRed};
|
|
55
|
-
`,
|
|
55
|
+
`,_=r.div`
|
|
56
56
|
height: ${t.sp3};
|
|
57
57
|
width: ${t.sp3};
|
|
58
58
|
border: 1px solid
|
|
59
59
|
${e=>e.isActive?e.theme.colors.primary:e.disabledStep?e.theme.colors.grey2:e.theme.colors.hero};
|
|
60
60
|
border-radius: 50%;
|
|
61
|
-
`,
|
|
61
|
+
`,B=r.div`
|
|
62
62
|
display: flex;
|
|
63
63
|
flex-direction: column;
|
|
64
|
-
`,
|
|
64
|
+
`,G=r(W)`
|
|
65
65
|
color: ${e=>j({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.disabledStep,isError:e.isError,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
|
|
66
|
-
`,
|
|
66
|
+
`,Q=r(M)`
|
|
67
67
|
color: ${e=>w({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.disabledStep,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
|
|
68
|
-
`;function ee({onboardingStep:e,isActive:i,isCompleted:o,isHalfCompleted:l,isDisabled:d,isError:a,stepText:h,stepSubText:m,onUpdateStep:g,setIsStepClicked:p,disabledSteps:n}){const c=d||n.includes(e)&&i===!1;return s.jsxs(
|
|
68
|
+
`;function ee({onboardingStep:e,isActive:i,isCompleted:o,isHalfCompleted:l,isDisabled:d,isError:a,stepText:h,stepSubText:m,onUpdateStep:g,setIsStepClicked:p,disabledSteps:n}){const c=d||n.includes(e)&&i===!1;return s.jsxs(F,{isActive:i,isDisabled:c,isCompleted:o,isHalfCompleted:l,isError:a,onClick:d===!1?()=>{n.includes(e)&&i===!1||(p(!0),g(e))}:void 0,"data-testid":y("step-box",e),children:[s.jsx(K,{children:a?s.jsx(Z,{}):l?s.jsx(q,{}):o?s.jsx(V,{}):s.jsx(_,{isActive:i,disabledStep:c})}),s.jsxs(B,{children:[s.jsx(G,{className:"step-content-title",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,isError:a,children:h}),s.jsx(Q,{className:"step-content-subtitle",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,children:m})]})]})}const te=r.div`
|
|
69
69
|
display: flex;
|
|
70
70
|
flex: 1 1 auto;
|
|
71
71
|
margin-top: 84px;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d3 as se,j as o,X as Ce,u as Pe,a as we,h1 as be,M as xe,a2 as ke,c4 as Ie,aW as $e,o as i,_ as Ae,F as ve,a4 as Oe,aJ as je,cx as Ve,cy as oe,$ as Te,C as J,e as Le,q as $}from"./index-C5chxI3W.js";import{n as c,b as A}from"./vendor-CnQcJ2Lu.js";import{D as Ue}from"./HelpButton-ewiNuwlj-a7BLQVoR.js";import{s as ze,o as Ee}from"./PaymentAccountSetupBillingAddressSection-CsldB-k7-VgWcdB9R.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-B--kAA3i-BtWP8-CX.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-DNthMj1J-DCVu9x9-.js";import"./SetUpAccountSection-Dr1TfnG_-Cel5DtZp.js";import"./SetUpDefaultSection-Be5NU_Em-BdXA12e3.js";import"./ChaseOverlay-HTpWDuLt-D0qtM7hD.js";const q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J($[3],$[3]),subTitlePaddingBottom:new J($[3],$[3])},_e=e=>`${e}_form`,Fe=xe.getLocalizedStrings(),De=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:O,googleAPIKey:j,signedInUser:P,currentTenant:V,onUpdateStep:T,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:w,handleAddCardPaymentSource:z,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:b,onUpdateCustomerView:_,...F})=>{const u=Ce(),D=se(),{analytics:h}=D,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:W,onAddressEditHandler:x}=F,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:p,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:m}=e,{customerOnboardingPage:ce,common:g}=Fe,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=ke(p.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,f=Ve(l?.country);d={street:a[n].street??g.strings.empty,city:l?.locality??g.strings.empty,state:l?.administrativeAreaLevel1??g.strings.empty,country:f,countryCode:l?.countryCode??g.strings.empty,postalCode:l?.postalCode??g.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==f.selectedOption&&(d={...d,country:f})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};A.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&Ie(()=>ge(s,a))});return()=>{t.unsubscribe()}}),A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,p.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??g.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=y.cardsList.length>0,d=y.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function he(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=m?.street.join("").trim(),s=m?.city,d=m?.state,l=m?.country,f=m?.postalCode!=null&&m.postalCode||t.postalCode||g.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!f}const Se=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),T("link_payment_account"),_(me,!1,!0))};A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),b())},[r,e,I,p.fetchState,Y,b]);const[ae,fe]=A.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:u,children:[o.jsx($e,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:u!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx(ve,{...r,children:o.jsx(Ne,{id:_e(ie),children:o.jsxs(Re,{children:[o.jsx(He,{windowSize:u,children:ee.sectionSubTitle}),o.jsx(ze,{connectedAccountProvider:C,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:E,cardSetupInProgress:ae,googleAPIKey:j,subscriptionBillingAddress:m})]},"link_payment_account")})}),o.jsx(Oe,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:u,children:o.jsx(je,{signedInUser:P,currentTenant:V,onLogOutClick:G})}),style:{width:u==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:Se,label:H.submit,isLoading:p.fetchState==="In-Progress",isDisabled:p.fetchState==="In-Progress"||!(he()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(Ee,{handleConfirmCardSetupIntent:U,updateCardPaymentModalState:w,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:z,cardPaymentView:y,stripeKey:O,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},Ke=c.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -53,12 +53,12 @@ import{d6 as se,j as o,e as Ce,u as Pe,a as we,h4 as be,M as xe,a2 as ke,c7 as I
|
|
|
53
53
|
color: ${e=>e.theme.colors.hero};
|
|
54
54
|
display: flex;
|
|
55
55
|
justify-content: center;
|
|
56
|
-
width: ${e=>
|
|
57
|
-
padding-top: ${e=>
|
|
58
|
-
padding-bottom: ${e=>
|
|
56
|
+
width: ${e=>Q.titleWidth.valuePx(e.windowSize)};
|
|
57
|
+
padding-top: ${e=>Q.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
58
|
+
padding-bottom: ${e=>Q.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
59
59
|
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
60
60
|
width: 100%;
|
|
61
|
-
`,
|
|
61
|
+
`,v=e=>({[q]:{account:{allOptions:[],selectedOption:void 0}},[n]:be(n,e?.subscriptionBillingAddress)[n]}),pt=e=>{const{onboardingCustomerView:C,cardPaymentView:y,signedInUser:O,currentTenant:j,isOnAddressPage:P,stripeKey:V,googleAPIKey:T,meetingUrl:L,onUpdateStep:U,onZeniLogoClick:w,handleLogOutClick:z,handleCockpitClick:E,handleCreateCardSetupIntent:B,handleConfirmCardSetupIntent:b,handleFetchPaymentSources:_,updateCardPaymentModalState:F,resetCardPaymentViewState:u,handleResetCardPaymentErrorStatuses:D,redirectToProductSuitePage:h,...K}=e,{allSteps:M,currentStep:R,fetchStatus:S}=C,N=se(),{analytics:G}=N,W={allSteps:M,isOnAddressPage:P,currentStep:R,fetchStatus:S,signedInUser:O,currentTenant:j,onUpdateStep:Z=>{U(Z)},onZeniLogoClick:w,handleLogOutClick:z,handleCockpitClick:E,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(Je,{isOnAddressPage:P,children:[x?o.jsx(Be,{isNoStepsPage:!0}):o.jsx(De,{...W,onboardingCustomerView:C,handleCreateCardSetupIntent:B,handleConfirmCardSetupIntent:b,updateCardPaymentModalState:F,handleFetchPaymentSources:_,cardPaymentView:y,resetCardPaymentViewState:u,stripeKey:V,googleAPIKey:T,handleResetCardPaymentErrorStatuses:D,redirectToProductSuitePage:h,...K}),x?null:o.jsx(Ue,{isFooterRendered:!0,meetingUrl:L,analytics:G,productType:"onboarding"})]})},Je=c.div`
|
|
62
62
|
display: flex;
|
|
63
63
|
flex-direction: column;
|
|
64
64
|
width: ${e=>e.isOnAddressPage?"fit-content":"100%"};
|