@zeniai/web-cockpit-ui 1.14.72-dev → 1.14.72-dev-betaSK01
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-BZFkcCOG-Bm0yzLzS.js → ACHDetailsPage-BZFkcCOG-WfBPHoUX.js} +2 -2
- package/dist/assets/{AIPerformancePage-DtNLjoUW-C8WssBlV.js → AIPerformancePage-DtNLjoUW-CinUSJg2.js} +124 -124
- package/dist/assets/{AccountInfoPage-D-E_-WpE-D3xkesKo.js → AccountInfoPage-D-E_-WpE-DJyb7x4k.js} +2 -2
- package/dist/assets/{AccountInfoPageContent-B8GKrtCm-Bl_GPEk1.js → AccountInfoPageContent-B8GKrtCm-10kK72ec.js} +13 -13
- package/dist/assets/AccountLockedInfoModal-BD7Nb81U-ZCs8qzoa.js +59 -0
- package/dist/assets/AccountReconDetailsDrawerPage-D-_ME0pV-BuvZZBZ-.js +239 -0
- package/dist/assets/{AccountRow-Be3LIHO--AtWCxnkE.js → AccountRow-Be3LIHO--BjLJB43L.js} +32 -32
- package/dist/assets/AccountsPromoCardStack-CdBwPVgI-CkQ7kJh8.js +207 -0
- package/dist/assets/{AddAddressForCardDrawer-Lm7cn4kq-BwSuj-eK.js → AddAddressForCardDrawer-Lm7cn4kq-DzFp-OyN.js} +2 -2
- package/dist/assets/{AddToWalletPage-nSq-9dQy-DNXeo8yV.js → AddToWalletPage-nSq-9dQy-D56Hf4hb.js} +13 -13
- package/dist/assets/AgingReportsPage-L0zQxwCf-D3sUJmot.js +79 -0
- package/dist/assets/AllUserItems-CvwaOEhu-DISgj-9d.js +192 -0
- package/dist/assets/ApAgingDetailPage-B_78aSEv-DLL7XkHo.js +46 -0
- package/dist/assets/{AppBasePage-Br0WbQRY-C5P2SI_a.js → AppBasePage-Br0WbQRY-BAK8zLlg.js} +5 -5
- package/dist/assets/{AppDrawerContent-BZODvVvi-DO9-i0u3.js → AppDrawerContent-BZODvVvi-DQ-V9QL0.js} +7 -7
- package/dist/assets/ApprovalRulesSettingsPage-Dxd7A3hZ-CRTSWRxG.js +47 -0
- package/dist/assets/ArAgingChart-BezVy1Sm-ClcQ64wd.js +24 -0
- package/dist/assets/{ArAgingDetailPage-BlV3iJeW-DvSoM4Rd.js → ArAgingDetailPage-BlV3iJeW-D0lCDh_0.js} +3 -3
- package/dist/assets/{AttachmentView-DhluaeAV-DnrJUkr5.js → AttachmentView-DhluaeAV-DsM43aN0.js} +9 -9
- package/dist/assets/{BankAccountSection-GDEQdiGL-CuwfGvXF.js → BankAccountSection-GDEQdiGL-CmBLlIS1.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-Di_BsiJC-Cp36wJhl.js → BankAccountWarningSection-Di_BsiJC-_Ul1tNJQ.js} +9 -9
- package/dist/assets/BankConnectionsSettingsPage-D5hI4xtm-ik9FJnty.js +425 -0
- package/dist/assets/BillDetailPage-CDAh8Jtl-wk3WJY1W.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-BzyTn4mC-DYCBn6RW.js → BillPayApprovalRuleDetailPage-BzyTn4mC-DxDRXjZW.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-DDJ-LxQz-D20J03DB.js → BillPayApprovalRulesPage-DDJ-LxQz-B-4hhNoy.js} +7 -7
- package/dist/assets/BillPayPromoPage-B2YcxWc9-ChjVVUdj.js +84 -0
- package/dist/assets/BillPaySetUpPage-oJvoWpFu-ZQ44J65y.js +42 -0
- package/dist/assets/BillingSettingsPage-BRsKYzT5-C1YZEc97.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-B7tORIok-09a60H-u.js +1 -0
- package/dist/assets/{BoxItem-COIjjFrn-DqU4ZyNU.js → BoxItem-COIjjFrn-CYZK_lth.js} +4 -4
- package/dist/assets/BusinessVerificationPage-Nw_fedst-Ce7UF4J6.js +138 -0
- package/dist/assets/{CardNumberSubText-CmhH95Ff-CLBGKyAX.js → CardNumberSubText-CmhH95Ff-D70_vfvB.js} +2 -2
- package/dist/assets/{CashbackDetailPage-BPLjvuA3-362WFi2j.js → CashbackDetailPage-BPLjvuA3-D2AlurqK.js} +56 -56
- package/dist/assets/{ChargeCardDetailPage-qOu4cPGd-BUoeKuHJ.js → ChargeCardDetailPage-qOu4cPGd-CMQ9x73T.js} +215 -215
- package/dist/assets/ChargeCardListPage-v5hH98Wi-BhiUhdgm.js +406 -0
- package/dist/assets/{ChargeCardListTable-BGWV4zJl-fPTlw7hA.js → ChargeCardListTable-BGWV4zJl-CcT6S7FA.js} +51 -51
- package/dist/assets/ChargeCardPromoPage-CPEaGOL3-CiA1pNTj.js +222 -0
- package/dist/assets/ChargeCardSetupPage-G5Rn0o6y-Bqw8Kqbv.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-CJgUrcLz-BpTcE_Fq.js → ChargeCardStatementsPage-CJgUrcLz-BY-SWhAj.js} +3 -3
- package/dist/assets/ChargeCardUtils-BRgkrCTs-Bo37IpfS.js +1 -0
- package/dist/assets/{ChaseOverlay-BC_4vwtb-ZJ37WP7g.js → ChaseOverlay-BC_4vwtb-BQqHx8M-.js} +4 -4
- package/dist/assets/{CheckDepositDrawerPage-CDo5E13X-BcLnzbHC.js → CheckDepositDrawerPage-CDo5E13X-CKNKZDF1.js} +21 -21
- package/dist/assets/CollapsableReportTable-7iAngywY-BhPujiYA.js +2932 -0
- package/dist/assets/CompanyOfficerDetailsSection-CJKyxEnf-B2MTqDnr.js +260 -0
- package/dist/assets/{CompanyPassportCard-D3F01eJL-CYg3XwZh.js → CompanyPassportCard-D3F01eJL-BhEJq4YF.js} +1 -1
- package/dist/assets/CompanyPassportPage-BQoEcPJr-CLTXsXdq.js +574 -0
- package/dist/assets/CompleteProfile-D5e9TQgy-B3NCfzYL.js +52 -0
- package/dist/assets/{ConfettiBurst--HIHB7Os-CFkZhGnX.js → ConfettiBurst--HIHB7Os-S4QyIwiq.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D9jmSrKr-BqbzMjKm.js → CreateOrEditVendorPage-D9jmSrKr-DpdjBsSE.js} +11 -11
- package/dist/assets/CreditCardPaymentDrawerPage-DXeq4z9l-C-tETdxW.js +224 -0
- package/dist/assets/{CreditCardPaymentPlgSection-8ZShMO31-D_nbIzHo.js → CreditCardPaymentPlgSection-8ZShMO31-COciJwfu.js} +10 -10
- package/dist/assets/{CurrencySelectField-nhg_dhDw-Ct_sJsLw.js → CurrencySelectField-nhg_dhDw-nZHVWMo0.js} +6 -6
- package/dist/assets/{CustomerOnboardingActivationPage-CoGvz7Kd-2HboMU2B.js → CustomerOnboardingActivationPage-CoGvz7Kd-1Tt5lNh3.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-CZRkKPDD-CdqN8qku.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DUGRKWtN-Bm0dGA9J.js → CustomerOnboardingDetailPageSkeleton-DUGRKWtN-ClKlbRH6.js} +13 -13
- package/dist/assets/{CustomerOnboardingNoStepsPage-Cc5frP29-BNFSu_0c.js → CustomerOnboardingNoStepsPage-Cc5frP29-Pt9D5fwX.js} +6 -6
- package/dist/assets/CustomerOnboardingPage-zBqp9QN6-BMM-roBm.js +107 -0
- package/dist/assets/CustomerOnboardingProductSuitePage-BbJ4oiCI-DgRG1l8f.js +202 -0
- package/dist/assets/{Dashboard-D6Ba5oj0-DGZ5Ekyf.js → Dashboard-D6Ba5oj0-C5iZr7Dc.js} +262 -262
- package/dist/assets/DashboardReportPage-DTMbYOWH-B0H-UpGg.js +371 -0
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Locz2zHR-BPk9MxB4.js → DashboardSidebarBackgroundAnimation-Locz2zHR-Bhgpjfq-.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-B0BGwVqF-CxL2uxQm.js → DepositAccTransactionItem-B0BGwVqF-Cwta5ei3.js} +5 -5
- package/dist/assets/DepositAccTransactionListPage-CcO673ZL-D1h5XemH.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-D5hbPNCt-Bhq4tM9b.js +21 -0
- package/dist/assets/DownloadOverlay-DRcasKoB-BTfb8tZj.js +439 -0
- package/dist/assets/{DrawerPage-BRD6cE6J-CdG9rNJx.js → DrawerPage-BRD6cE6J-1UMYAHb7.js} +13 -13
- package/dist/assets/EditPeoplePage-Zzo62if7-Clw_H_tG.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-D59OJdZ1-DgdwTZwz.js +865 -0
- package/dist/assets/EntityDetailPage-CzlzOW8n-CjIrlTQm.js +18 -0
- package/dist/assets/{EntitySummarySection-BRt1kPDf-BrvMzC_z.js → EntitySummarySection-BRt1kPDf-DQbEIQFx.js} +28 -28
- package/dist/assets/{ExpenseAutomationOverviewPage-vUkGameq-D28DcERt.js → ExpenseAutomationOverviewPage-vUkGameq-CHnaqssF.js} +50 -50
- package/dist/assets/ExpenseAutomationPage-Cm_IiRlb-DxIRsn8B.js +1650 -0
- package/dist/assets/ExpressPayPage-DdQiFzDu-CXe6diRB.js +168 -0
- package/dist/assets/{FeaturePreviewPage-CQN2xThT-D8GcVVCI.js → FeaturePreviewPage-CQN2xThT-DJXN60Ac.js} +3 -3
- package/dist/assets/{FollowStepsSection-DdwEVWhG-XjqeMDlz.js → FollowStepsSection-DdwEVWhG-yjJ5FRCa.js} +21 -21
- package/dist/assets/GlobalReviewListPage-DHn2Uk8R-Dz5cpAt1.js +291 -0
- package/dist/assets/HelpButton-BNMy-6ce-CVlMGZqS.js +28 -0
- package/dist/assets/{InformationCardStack-Cw7c9Pnd-JKEjusS_.js → InformationCardStack-Cw7c9Pnd-BX2LTL8l.js} +2 -2
- package/dist/assets/InsightsCardStack-CaMZiCnn-DLt2ZmbV.js +79 -0
- package/dist/assets/{InsightsSection-JIKb9lz3-CSUvMdaP.js → InsightsSection-JIKb9lz3-Hi0aN8hq.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-h4pel2yK-CfkisAjm.js → IntegrationsSettingsPage-h4pel2yK-CxqwarZy.js} +4 -4
- package/dist/assets/{InternationalWireSwiftDetailsPage-C2SnHEV1-D4h6wt17.js → InternationalWireSwiftDetailsPage-C2SnHEV1-CzlIxaS1.js} +16 -16
- package/dist/assets/{InternationalWireVerificationPage-Dk11ztF7-CGQwkBKG.js → InternationalWireVerificationPage-Dk11ztF7-BCCRbUea.js} +28 -28
- package/dist/assets/{InviteFormPage-CrtH0cSG-lBcBfRNC.js → InviteFormPage-CrtH0cSG-eVIYbN0r.js} +16 -16
- package/dist/assets/{InvitePageListView-DUoopPip-D3WES4Ay.js → InvitePageListView-DUoopPip-D5qrm4ww.js} +164 -164
- package/dist/assets/InvitePeoplePage-C3ecL8XJ-olYxQVFB.js +12 -0
- package/dist/assets/InvoiceUploadSection-DoR834b4-CjFOCIIZ.js +140 -0
- package/dist/assets/{IssueChargeCardPage-D6DCohbK-CY0NLJ-D.js → IssueChargeCardPage-D6DCohbK-BMG4Ljit.js} +10 -10
- package/dist/assets/{LabeledAddressValue-C3R0DSjj-DSFQoK0_.js → LabeledAddressValue-C3R0DSjj-CpxXKm9c.js} +1 -1
- package/dist/assets/LabeledAddressValueField-YP7bXlgZ-D9-PqJNp.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-zwoLFM1n-WAKwiqVu.js → LabeledControlledCheckBoxField-zwoLFM1n-B44wDW2V.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-BhaeopJt-r1U--LmU.js → LabeledCreatableSingleSelectField-BhaeopJt-tsmH64cn.js} +7 -7
- package/dist/assets/LabeledDocumentField-ED03S2kQ-BGespvxP.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-brzU_fnp-DR9C1PhE.js → LabeledDropDownFormattedTextField-brzU_fnp-hUkbh0bF.js} +5 -5
- package/dist/assets/{LabeledText-BESSkt5Z-DvRhicFs.js → LabeledText-BESSkt5Z-CPDVK04g.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-vEIvvd-n-BRFp4N3Z.js → LabeledUserSingleSelectWithSubtitlesField-vEIvvd-n-DaWgPr9f.js} +18 -18
- package/dist/assets/{LabeledZeniRolesDropDownField-BXTCN4j2-C9dcF_vL.js → LabeledZeniRolesDropDownField-BXTCN4j2-CLEMt0Ht.js} +33 -33
- package/dist/assets/LinkJETransactionPage-_ROjxBMO-C6IEO3Ec.js +98 -0
- package/dist/assets/{LockCardPage-DYfgK11k-CA2sqFlt.js → LockCardPage-DYfgK11k-BFAZ4k7o.js} +71 -71
- package/dist/assets/LowBalancePopup-CZDcHxyW-BSR036zV.js +34 -0
- package/dist/assets/{MagicLinkACHDetailsPage-CLXcRbZ--CVcTUs2d.js → MagicLinkACHDetailsPage-CLXcRbZ--B-X6oebP.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CZlZr96w-BPglJFOV.js → MagicLinkDomesticWireDetailsPage-CZlZr96w-DllJxuHV.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-DhPjvv0o-DFwZaRYm.js → MagicLinkInternationalWireDetailsPage-DhPjvv0o-BIaiGIsd.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Bh2nlLPN-Ddx1hbRe.js → MagicLinkSuccessPage-Bh2nlLPN-6rfZopUb.js} +3 -3
- package/dist/assets/MagicLinkTitleSection-Cn1v72Rs-Dx0fyRw5.js +17 -0
- package/dist/assets/{MailingDetailsSection-9RwlQxVG-C09sdGhg.js → MailingDetailsSection-9RwlQxVG-_UrE81Sw.js} +2 -2
- package/dist/assets/{MeetingCalenderPopup-BxV_UIXP-B9VDTxkT.js → MeetingCalenderPopup-BxV_UIXP-BXGtVHle.js} +4 -4
- package/dist/assets/Menu-B6iTf2H7-Cu2Vb11u.js +17 -0
- package/dist/assets/MyBankConnectionsSettingsPage-IPPiH6jv-uU5Nku5W.js +110 -0
- package/dist/assets/MyPendingActivationChargeCardListPage-BTGb1yIE-yyVAdXqO.js +6 -0
- package/dist/assets/MyProfileSettingsPage-BRK5nWg2-BCkp79gR.js +85 -0
- package/dist/assets/{NavBarWithPicker-CKh_HMfV-U1f60LTo.js → NavBarWithPicker-CKh_HMfV-i4ObGPrS.js} +4 -4
- package/dist/assets/{NavigationArrow-XZmJpDrE-BSGdgz-m.js → NavigationArrow-XZmJpDrE-DolsLofY.js} +2 -2
- package/dist/assets/{NavigationDots-BxPgEW_p-CnLRJgGA.js → NavigationDots-BxPgEW_p-Cjr25BX_.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-CQzrDe0S-CFbklyjG.js → NewGlobalMerchantPage-CQzrDe0S-K2NUXsKS.js} +35 -35
- package/dist/assets/{NoDataChart-5E72SElf-Bfyft1Tp.js → NoDataChart-5E72SElf-3CnLxisw.js} +4 -4
- package/dist/assets/{NoDataTable-BwHbkm3l-C4AJlFQY.js → NoDataTable-BwHbkm3l-VTHrTfOq.js} +2 -2
- package/dist/assets/{NotFoundPage-6udaksBZ-Bdrzyyzv.js → NotFoundPage-6udaksBZ-DUgTbMe0.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-DkYmxMgg-B7fNoy2R.js → NotificationSettingsPage-DkYmxMgg-BVRECpS0.js} +32 -32
- package/dist/assets/{NotificationsListConfig-FGxLgO1o-Bjqs17aQ.js → NotificationsListConfig-FGxLgO1o-C0kfEx8A.js} +1 -1
- package/dist/assets/NotificationsPage-C7lSAnUb-CEUwTZM_.js +685 -0
- package/dist/assets/{OpExByVendorPage-CM0RluUk-BgpW2giu.js → OpExByVendorPage-CM0RluUk-PZB-G7xm.js} +4 -4
- package/dist/assets/{OverlayContainerPage-BKHs_4eI-mLdiagVZ.js → OverlayContainerPage-BKHs_4eI-CSsJiY_P.js} +2 -2
- package/dist/assets/PandLWithForecastPage-W4jlNjml-8wxKAhbo.js +107 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DQ82eP9Q-ChYOGpfy.js → PaymentAccountSetupBillingAddressSection-DQ82eP9Q-Cwm2aoR2.js} +9 -9
- package/dist/assets/{PeoplePage-CB3T3u_F-DC1PdCPq.js → PeoplePage-CB3T3u_F-BR69e4ui.js} +96 -96
- package/dist/assets/{PortfolioAllocationFormPage-CZkJD6tu-CmTdPnvM.js → PortfolioAllocationFormPage-CZkJD6tu-1mutznS7.js} +13 -13
- package/dist/assets/{PortfolioDetails-D4yT8r35-DSk0Sc23.js → PortfolioDetails-D4yT8r35-BZAutCbg.js} +34 -34
- package/dist/assets/{ProductsCarousel-CR7_rk0K-DQWJaP-C.js → ProductsCarousel-CR7_rk0K-CKMGS-I4.js} +7 -7
- package/dist/assets/{PromoBaseCards-BAPolzxE-DLtmx-3v.js → PromoBaseCards-BAPolzxE-DjUVr5kX.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-D3eazhj7-fJDNmSLU.js → QBOConnectionDialog-D3eazhj7-DCdAj667.js} +7 -7
- package/dist/assets/{QBOSetupSection-Cjjhm_Ee-CrlXRkit.js → QBOSetupSection-Cjjhm_Ee-CX61tnWs.js} +12 -12
- package/dist/assets/ReimbursementApprovalRuleDetailPage-eidNY097-DDLdjGbX.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-GSzJGSuy-H2GhhV11.js → ReimbursementApprovalRulesPage-GSzJGSuy-DOLnlfRe.js} +12 -12
- package/dist/assets/ReimbursementDetailPage-AvqEBxbz-ByJDRCe5.js +314 -0
- package/dist/assets/ReimbursementPromoPage-PshodHUZ-CEBQKb7P.js +84 -0
- package/dist/assets/ReimbursementSetUpPage-6P4FT-UC-BMbaH1eU.js +140 -0
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-Cas6GzVp-CEJlVV08.js +1 -0
- package/dist/assets/{ReloadCard-Dpoxd9nE-B9DlyhD4.js → ReloadCard-Dpoxd9nE-_RGkkZLm.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-Ci-WKrCO-DAZRgQwg.js → ReportTableViewSelector-Ci-WKrCO-D0sA8766.js} +30 -30
- package/dist/assets/ReportsPage-C7zirS74-oNrbhh6a.js +121 -0
- package/dist/assets/{RevenueChart-CXMBT3cr-DnDEiqPG.js → RevenueChart-CXMBT3cr-BigDcfmP.js} +29 -29
- package/dist/assets/ReviewDetailsPage-ClsyL5-w-rKSUEvaS.js +290 -0
- package/dist/assets/{ReviewOverlay-C6Kx7Hfm-IahzUsv3.js → ReviewOverlay-C6Kx7Hfm-Aab2M4el.js} +12 -12
- package/dist/assets/{RoleWithToolTip-BqI6M0x_-CwUqJeb5.js → RoleWithToolTip-BqI6M0x_-3Pz3ZAbU.js} +2 -2
- package/dist/assets/ScheduleDetailsFixedAssetsPage-zFyJPVpN-Dm8QVj-0.js +37 -0
- package/dist/assets/ScheduleDetailsPage-BftjSvA7-D97uCI5t.js +37 -0
- package/dist/assets/{ScheduleSequenceTable-lTN7r0p4-BFWt_8N-.js → ScheduleSequenceTable-lTN7r0p4-BmAjQVGV.js} +42 -42
- package/dist/assets/ScreenRoutes-Du6t5Ig_.js +206 -0
- package/dist/assets/SetUpAccountSection-Bnbi8X23-7-Jadv9H.js +378 -0
- package/dist/assets/{SetUpDefaultSection-Bm1eZSgT-BcxYXAIw.js → SetUpDefaultSection-Bm1eZSgT-9DFPAVat.js} +13 -13
- package/dist/assets/{SignIn-BlISBvt5-C9HXqHPg.js → SignIn-BlISBvt5-BSeULTEW.js} +28 -28
- package/dist/assets/SignInScreen-BN2xWnU-.js +1 -0
- package/dist/assets/SpendManagementListViewPage-ChNp8dgm-ByNxcaX6.js +123 -0
- package/dist/assets/SpendManagementPerTabPage-D-bOr2-6-C5z49u7s.js +754 -0
- package/dist/assets/SpendManagementSection-kucZgC-H-Cqflt6S1.js +230 -0
- package/dist/assets/SpendMgmtSetupAccountSection-de7hEmtE-9bAK-YlL.js +206 -0
- package/dist/assets/{StatementItem-BVIVLdDn-BLcyHqWZ.js → StatementItem-BVIVLdDn-DWQxeT2X.js} +2 -2
- package/dist/assets/StatementsPage-KnLUSJbm-DVR36Ge4.js +58 -0
- package/dist/assets/{StatusSwitcher-aAizq1mr-D4E7X1zy.js → StatusSwitcher-aAizq1mr-c-jcIGD9.js} +2 -2
- package/dist/assets/{SubTabSwitcher-COrYJ6CW-B2hsvJe_.js → SubTabSwitcher-COrYJ6CW-BIZF-iNv.js} +1 -1
- package/dist/assets/{SummaryCard-Dv0dWKBw-BnK7xgrF.js → SummaryCard-Dv0dWKBw-CGu-GHYa.js} +1 -1
- package/dist/assets/TaskManagementPage-CPLyyK1Y-BZe-OFxL.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-ifkHfqEg-CGFdCObN.js → TimeRangeSwitcher-ifkHfqEg-VY1vzvIS.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-BP-PxO5g-DG6ysLlp.js → TimeframeSwitcher-BP-PxO5g-DxTIS9PI.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DH-PfsTQ-Dd12kokF.js → TimeframeSwitcherWithToggle-DH-PfsTQ-D7U0L-cV.js} +1 -1
- package/dist/assets/{TopExCard-Bam-Q4MV-GCmLzO6i.js → TopExCard-Bam-Q4MV-BsP_HKjG.js} +6 -6
- package/dist/assets/{TopExDetailPage-P0Twt5zZ-BElfoauE.js → TopExDetailPage-P0Twt5zZ-CoHp8hDQ.js} +12 -12
- package/dist/assets/TransactionDetailPage-D1Z1f-DD-BPMl_wDr.js +912 -0
- package/dist/assets/TransactionList-BzJEbOV9-0ST5sY1-.js +147 -0
- package/dist/assets/{TransactionListBig-u4SJBZTE-BZvqZwTB.js → TransactionListBig-u4SJBZTE-BlGBIBoN.js} +44 -44
- package/dist/assets/{TransactionListPage-D4GJ6i3l-BXLL3BhX.js → TransactionListPage-D4GJ6i3l-yaso0Nlb.js} +3 -3
- package/dist/assets/{TransactionVendorDetailPage-CuFHbm8c-Cl9iluIt.js → TransactionVendorDetailPage-CuFHbm8c-kFca8x3E.js} +5 -5
- package/dist/assets/{TransferDrawerPage-GD2I8ptj-B7cXbGdy.js → TransferDrawerPage-GD2I8ptj-CANT8JC_.js} +27 -27
- package/dist/assets/TreasuryOverviewPage-DySunaqy-Du5jK6WV.js +708 -0
- package/dist/assets/{TreasuryPromoPage-DW1f8_q1-CZjoBD0v.js → TreasuryPromoPage-DW1f8_q1-CkWefV3r.js} +6 -6
- package/dist/assets/{TreasurySetupPage-53k6ARHC-8YVNt5Wt.js → TreasurySetupPage-53k6ARHC-DuoYqIOy.js} +3 -3
- package/dist/assets/{TreasuryStatementsPage-pIshKNaR-Dtfk2lx_.js → TreasuryStatementsPage-pIshKNaR--8vN-IgR.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-B3PkB1al-CKVKJh1V.js → TreasuryTaxLetterPage-B3PkB1al-CkqZdxpj.js} +5 -5
- package/dist/assets/TreasuryTransferOrReviewPage-Dzq-FxSM-DKViGoiZ.js +576 -0
- package/dist/assets/TrendChart-B_5D-Zud-Cw_zgD-R.js +16 -0
- package/dist/assets/{TrendWithTransactions-mI_El5D1-SbfSjDf-.js → TrendWithTransactions-mI_El5D1-DUVZm_U-.js} +4 -4
- package/dist/assets/{UncategorizedAccountsMappingPage-LQeq8Gdv-BxpsIXJf.js → UncategorizedAccountsMappingPage-LQeq8Gdv-BNgZRg4x.js} +47 -47
- package/dist/assets/{UnitIntegrationPage-XOWqGHla-DR8O2yO4.js → UnitIntegrationPage-XOWqGHla-BIoTpmZ_.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-DhXRLBEg-BNMbNbJQ.js +38 -0
- package/dist/assets/{Vendor2FAPopup-BfqIHZBb-CksyyTez.js → Vendor2FAPopup-BfqIHZBb-DUpQFrOM.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-CswCvAFH-CdUK-HJH.js → VendorACHDetailsPage-CswCvAFH-DqnJleBx.js} +1 -1
- package/dist/assets/VendorDetailPage-CEX7xMIN-D29fVYfj.js +257 -0
- package/dist/assets/{VendorDomesticWireDetailsPage-DxrSjlTR-B4ZHtbXA.js → VendorDomesticWireDetailsPage-DxrSjlTR-GbXdyYXP.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-q1gQ8keD-BmDatzoV.js → VendorFiling1099EditablePage-q1gQ8keD-GKQT7vTw.js} +32 -32
- package/dist/assets/VendorFirstReviewPage-D9ogNmAK-DwoL9x7s.js +730 -0
- package/dist/assets/VendorInternationalWireDetailsPage-Ct689KuY-N7HCxAFy.js +152 -0
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-W0s1zQNC-ZgE8KOcO.js → VendorInternationalWireSwiftDetailsPage-W0s1zQNC-eVlfJ9f_.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-C13Z2HN9-C2XOcHy1.js → VendorsAccountsSection-C13Z2HN9-DvGRJwYY.js} +4 -4
- package/dist/assets/VerifyDevice-C27gEWkZ-BrEq9dHz.js +112 -0
- package/dist/assets/{VideoPlayer-ByyqUuhG-DTMNeCaX.js → VideoPlayer-ByyqUuhG-CcmvFcG0.js} +1 -1
- package/dist/assets/{VideoPopup-DJrQQTPq-DoXO-Vwb.js → VideoPopup-DJrQQTPq-BZRShVLd.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-B3Ht3VnM-DBDTIhyB.js → WarningsDrawerPage-B3Ht3VnM-C_aFzWZK.js} +5 -5
- package/dist/assets/ZeniAccountDetailPage-egmysAfI-CX7srLCt.js +300 -0
- package/dist/assets/{ZeniAccountListViewPage-q_v2FogF-B-baYGeD.js → ZeniAccountListViewPage-q_v2FogF-wW_PUJNB.js} +12 -12
- package/dist/assets/ZeniAccountNavBarPieces-HNIht0FM-azEwN9c2.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-CzncR6vK-DAONZr9A.js → ZeniAccountPromoPage-CzncR6vK-CoCFGvia.js} +21 -21
- package/dist/assets/{ZeniAccountSetupPage-TcdzEL_V-CApQPT0B.js → ZeniAccountSetupPage-TcdzEL_V-CPTq7KjK.js} +1 -1
- package/dist/assets/{ZeniCopyright-B7Q6IUGC-Ca3UXoxG.js → ZeniCopyright-B7Q6IUGC-DjtbTVnp.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Dmf5xxv4-D_ugGHJW.js → ZeniTransferAmountSlider-Dmf5xxv4-D-BoRJmd.js} +3 -3
- package/dist/assets/addSubtractPeriod-CFvkmqm8.js +1 -0
- package/dist/assets/analyticsHelper-L-FpsGLH.js +1 -0
- package/dist/assets/analyticsHelper-or1KkBWk-CU2Z2CeD.js +1 -0
- package/dist/assets/{chartTypes-DCvOVjlS-BdPIN5WI.js → chartTypes-DCvOVjlS-CF3jsUNb.js} +1 -1
- package/dist/assets/{commonDimensions-C32v1F7H-CiAEfJl2.js → commonDimensions-C32v1F7H-C9uaBJ8J.js} +1 -1
- package/dist/assets/{detailCommon-CRAGrqoO-Cq9phP1q.js → detailCommon-CRAGrqoO-5xMc7u9M.js} +8 -8
- package/dist/assets/downloadPdf-D7p3yKmg-DrJJdcEl.js +1 -0
- package/dist/assets/{index-sAOH0Fje.js → index-kF4u7Flm.js} +511 -704
- package/dist/assets/{mapLoadingInProgressToTreeNode-CRwG2DSD-B4LnWZMC.js → mapLoadingInProgressToTreeNode-CRwG2DSD-CLLcsBiK.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C9O-C2dp-BYZLhSZo.js → mapSectionWithAcOnlyToTreeNode-C9O-C2dp-4sjxXlit.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-5aJk-sLn-DpF_Q8pH.js → mapSpacerToTreeNode-5aJk-sLn-CeZutbYy.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CnviLujI-Do2_oG27.js → mapTimeframeBalancesToTreeNode-CnviLujI-rcfKFEh1.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Cv4d4PqE-C559SZVp.js → mapTimeframeBalancesToTreeNode-Cv4d4PqE-BmreU2CJ.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BaGM4krW-yJCRTG35.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BaGM4krW-CkRgUU-m.js} +1 -1
- package/dist/assets/redux-D-TY61DZ.js +12 -0
- package/dist/assets/{toCOABalancesWithID-B3yVGPrV-B_BzNOYP.js → toCOABalancesWithID-B3yVGPrV-Dj01dEre.js} +1 -1
- package/dist/assets/toChartData-DEW0iT7T-DaQT4Adc.js +1 -0
- package/dist/assets/{treasuryColorHelper-13LJ_xhk-LqN_6Xl4.js → treasuryColorHelper-13LJ_xhk-5-aGYtqD.js} +1 -1
- package/dist/assets/{uploadAttachment-DVy2pZeJ-X-xSyfvF.js → uploadAttachment-DVy2pZeJ-DL6B1oGY.js} +25 -25
- package/dist/assets/{uploadReceipts-Dp1dvCjf-Bw0_dVvQ.js → uploadReceipts-Dp1dvCjf-BQPyxtgi.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountLockedInfoModal-BD7Nb81U-CexK1k9m.js +0 -59
- package/dist/assets/AccountReconDetailsDrawerPage-D-_ME0pV-s74oVSdU.js +0 -239
- package/dist/assets/AccountsPromoCardStack-CdBwPVgI-0eZTGbZE.js +0 -207
- package/dist/assets/AgingReportsPage-L0zQxwCf-BGxthXxn.js +0 -79
- package/dist/assets/AllUserItems-CvwaOEhu-4FgiUHmj.js +0 -192
- package/dist/assets/ApAgingDetailPage-B_78aSEv-BIkW3as9.js +0 -46
- package/dist/assets/ApprovalRulesSettingsPage-Dxd7A3hZ-B57JU70m.js +0 -47
- package/dist/assets/ArAgingChart-BezVy1Sm-UplSlTlX.js +0 -24
- package/dist/assets/BankConnectionsSettingsPage-D5hI4xtm-CIHmOttI.js +0 -425
- package/dist/assets/BillDetailPage-CDAh8Jtl-0qBbZ__0.js +0 -266
- package/dist/assets/BillPayPromoPage-B2YcxWc9-CwLnyiow.js +0 -84
- package/dist/assets/BillPaySetUpPage-oJvoWpFu-CYkgRBSH.js +0 -42
- package/dist/assets/BillingSettingsPage-BRsKYzT5-gKM6YCmc.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-B7tORIok-Cjhni78W.js +0 -1
- package/dist/assets/BusinessVerificationPage-Nw_fedst-D0V3bhmc.js +0 -138
- package/dist/assets/ChargeCardListPage-v5hH98Wi-D_Ffaz0x.js +0 -406
- package/dist/assets/ChargeCardPromoPage-CPEaGOL3-BJBmWN7Q.js +0 -222
- package/dist/assets/ChargeCardSetupPage-G5Rn0o6y-DXJQIwPQ.js +0 -36
- package/dist/assets/ChargeCardUtils-BRgkrCTs-DoVoCmwL.js +0 -1
- package/dist/assets/CollapsableReportTable-7iAngywY-CxWB4sRz.js +0 -2932
- package/dist/assets/CompanyOfficerDetailsSection-CJKyxEnf-BshC7d2B.js +0 -260
- package/dist/assets/CompanyPassportPage-BQoEcPJr-DzLqV-NZ.js +0 -574
- package/dist/assets/CompleteProfile-D5e9TQgy-ppOK1lFi.js +0 -52
- package/dist/assets/CreditCardPaymentDrawerPage-DXeq4z9l-Dr585X5v.js +0 -224
- package/dist/assets/CustomerOnboardingContainerPage-CZRkKPDD-4OaWohod.js +0 -1
- package/dist/assets/CustomerOnboardingPage-zBqp9QN6-D_UHEoUt.js +0 -107
- package/dist/assets/CustomerOnboardingProductSuitePage-BbJ4oiCI-C_0KKlnp.js +0 -202
- package/dist/assets/DashboardReportPage-DTMbYOWH-CSMllwg6.js +0 -371
- package/dist/assets/DepositAccTransactionListPage-CcO673ZL-CiLAoQqZ.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-D5hbPNCt-Bj16Fg_f.js +0 -21
- package/dist/assets/DownloadOverlay-DRcasKoB-BDQCkt6Q.js +0 -439
- package/dist/assets/EditPeoplePage-Zzo62if7-CQfgpQsa.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-D59OJdZ1-7T5j9Uz8.js +0 -865
- package/dist/assets/EntityDetailPage-CzlzOW8n-DjZ6eItY.js +0 -18
- package/dist/assets/ExpenseAutomationPage-Cm_IiRlb-Ch0agMlw.js +0 -1650
- package/dist/assets/ExpressPayPage-DdQiFzDu-ykW984zo.js +0 -168
- package/dist/assets/GlobalReviewListPage-DHn2Uk8R-Cd3V8M7p.js +0 -291
- package/dist/assets/HelpButton-BNMy-6ce-WFq-iELy.js +0 -28
- package/dist/assets/InsightsCardStack-CaMZiCnn-D5ut2TNQ.js +0 -79
- package/dist/assets/InvitePeoplePage-C3ecL8XJ-D06hBumB.js +0 -12
- package/dist/assets/InvoiceUploadSection-DoR834b4-BezkawDL.js +0 -140
- package/dist/assets/LabeledAddressValueField-YP7bXlgZ-8CibrbWw.js +0 -45
- package/dist/assets/LabeledDocumentField-ED03S2kQ-wbMhlpMQ.js +0 -41
- package/dist/assets/LinkJETransactionPage-_ROjxBMO-DP6JabBY.js +0 -98
- package/dist/assets/LowBalancePopup-CZDcHxyW-BHOAXZjC.js +0 -34
- package/dist/assets/MagicLinkTitleSection-Cn1v72Rs-BaSRKY-c.js +0 -17
- package/dist/assets/Menu-B6iTf2H7-Cqx4dVPp.js +0 -17
- package/dist/assets/MyBankConnectionsSettingsPage-IPPiH6jv-CVF8iXYJ.js +0 -110
- package/dist/assets/MyPendingActivationChargeCardListPage-BTGb1yIE-BD419NGA.js +0 -6
- package/dist/assets/MyProfileSettingsPage-BRK5nWg2--GwgfIws.js +0 -85
- package/dist/assets/NotificationsPage-C7lSAnUb-wDRHsOkp.js +0 -685
- package/dist/assets/PandLWithForecastPage-W4jlNjml-Bcn3UKYp.js +0 -107
- package/dist/assets/ReimbursementApprovalRuleDetailPage-eidNY097-DmIjK42h.js +0 -26
- package/dist/assets/ReimbursementDetailPage-AvqEBxbz-fUbgpa2M.js +0 -314
- package/dist/assets/ReimbursementPromoPage-PshodHUZ-B_XNUegE.js +0 -84
- package/dist/assets/ReimbursementSetUpPage-6P4FT-UC-Bw__edeG.js +0 -140
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-Cas6GzVp-BQcspCuT.js +0 -1
- package/dist/assets/ReportsPage-C7zirS74-CyyHiNy4.js +0 -121
- package/dist/assets/ReviewDetailsPage-ClsyL5-w-_y4o463o.js +0 -290
- package/dist/assets/ScheduleDetailsFixedAssetsPage-zFyJPVpN-BSd6OZtz.js +0 -37
- package/dist/assets/ScheduleDetailsPage-BftjSvA7-Jy_FtZQR.js +0 -37
- package/dist/assets/ScreenRoutes-en4svsq9.js +0 -206
- package/dist/assets/SetUpAccountSection-Bnbi8X23-DL-18RCf.js +0 -378
- package/dist/assets/SignInScreen-Ba17TSWH.js +0 -1
- package/dist/assets/SpendManagementListViewPage-ChNp8dgm-BhMjXPdH.js +0 -123
- package/dist/assets/SpendManagementPerTabPage-D-bOr2-6-GaRieOUe.js +0 -754
- package/dist/assets/SpendManagementSection-kucZgC-H-DLgSRXEX.js +0 -230
- package/dist/assets/SpendMgmtSetupAccountSection-de7hEmtE-CX-1PNOC.js +0 -206
- package/dist/assets/StatementsPage-KnLUSJbm-DvU_Y3UP.js +0 -58
- package/dist/assets/TaskManagementPage-CPLyyK1Y-ena6uodh.js +0 -508
- package/dist/assets/TransactionDetailPage-D1Z1f-DD-DTPxqy3v.js +0 -912
- package/dist/assets/TransactionList-BzJEbOV9-BQZ8x4Oq.js +0 -147
- package/dist/assets/TreasuryOverviewPage-DySunaqy-CWB-hp0S.js +0 -708
- package/dist/assets/TreasuryTransferOrReviewPage-Dzq-FxSM-CX84O_mN.js +0 -576
- package/dist/assets/TrendChart-B_5D-Zud-BUU2-6nI.js +0 -16
- package/dist/assets/UploadAdditionalDocumentOverlay-DhXRLBEg-DvVrgitE.js +0 -38
- package/dist/assets/VendorDetailPage-CEX7xMIN-Djo4PloX.js +0 -257
- package/dist/assets/VendorFirstReviewPage-D9ogNmAK-PlB10gEr.js +0 -730
- package/dist/assets/VendorInternationalWireDetailsPage-Ct689KuY-DAoPjpj5.js +0 -152
- package/dist/assets/VerifyDevice-C27gEWkZ-C7pLL5Wm.js +0 -112
- package/dist/assets/ZeniAccountDetailPage-egmysAfI-DFbZv9KZ.js +0 -300
- package/dist/assets/ZeniAccountNavBarPieces-HNIht0FM-aSJ3m6rj.js +0 -14
- package/dist/assets/analyticsHelper-CVWZE356.js +0 -1
- package/dist/assets/analyticsHelper-or1KkBWk-Plh_6I_p.js +0 -1
- package/dist/assets/downloadPdf-D7p3yKmg-CYmmjPHt.js +0 -1
- package/dist/assets/redux-CEhZD0hA.js +0 -12
- package/dist/assets/toChartData-DEW0iT7T-DrkbvIyQ.js +0 -1
|
@@ -1,425 +0,0 @@
|
|
|
1
|
-
import{d as ve,q as je,aa as Xe,cS as Ye,j as t,bF as Qe,O as re,o as i,P as se,cA as Ze,ad as et,c5 as tt,y as I,an as nt,am as N,b8 as it,C as Ne,c as ot,a9 as ze,d3 as at,aP as J,aU as fe,fG as Te,l as G,db as ct,bA as We,fO as qe,fP as lt,fQ as st,cd as Oe,u as k,fH as ge,fI as we,aN as Se,cs as xe,aM as rt,bP as dt,e3 as He,h as ie,ai as B,fN as ut,f$ as pt,g0 as ht,bm as mt,g1 as ft}from"./index-sAOH0Fje.js";import{b as r,n}from"./vendor-Bs1fkIUX.js";import{r as _e}from"./mui-Ty75qFQF.js";import{A as Pe}from"./ChaseOverlay-BC_4vwtb-ZJ37WP7g.js";import{a as gt}from"./SetUpAccountSection-Bnbi8X23-DL-18RCf.js";import{z as wt,B as Ie}from"./SpendMgmtSetupAccountSection-de7hEmtE-CX-1PNOC.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./SetUpDefaultSection-Bm1eZSgT-BcxYXAIw.js";import"./ChargeCardUtils-BRgkrCTs-DoVoCmwL.js";import"./CreditCardPaymentPlgSection-8ZShMO31-D_nbIzHo.js";const{settings:{bankConnectionHeader:de}}=re.getLocalizedStrings().common,St={value:de.productType,width:new I(100,19)},xt={value:de.primaryAccount,width:new I(100,36)},yt={value:de.linkAccount,width:new I(100,22)},vt={value:de.status,width:new I(12,12)},kt={value:de.balance,width:new I(12,13)},W=[St,xt,yt,vt,kt],{common:{settings:Ee,strings:{hyphen:ke}},commonSetUp:{setUp:Fe}}=re.getLocalizedStrings(),T={containerPadding:new I(k[3],k[4]),containerRightPadding:new I(k[3],k[8]),iconContainerMaxWidthHeight:new I(k[6],k[7]),iconWidthHeight:new I(20,k[4]),iconPadding:new I(k[1],12),productTypeContainerMarginBottom:new I(k[3],k[0]),linkAccountContainerMarginTop:new I(k[3],k[0]),productTypeIconSize:new I(k[3],k[4])},bt="bankConnectionsSettingsPage",$t=({productType:e,windowSize:h})=>{switch(e){case"bill_pay":return t.jsx(Nt,{windowSize:h,children:t.jsx(mt,{})});case"reimbursement":return t.jsx(Wt,{windowSize:h,children:t.jsx(ht,{})});case"zeni_accounts":return t.jsx(qt,{windowSize:h,children:t.jsx(We,{})});case"zeni_treasury":return t.jsx(Gt,{windowSize:h,children:t.jsx(pt,{})});case"charge_cards":default:return t.jsx(Ht,{windowSize:h,children:t.jsx(ut,{})})}},Ct=({allBankAccounts:e,setupView:h,connectedAccountProvider:q,onFetchLinkTokenClick:V,onUpdatePaymentAccountStatus:_,onEstablishConnectionClick:P,onEstablishConnectionSuccess:R})=>{const C=ve(),c=je(),f=ze().analytics,{trigger:w,formState:{errors:M}}=at(),{plaidConnectionDetails:U,allFundingAccounts:a,primaryFundingAccount:o,productType:l}=h,m=U.link_account,b=U.update_account,[u,A]=r.useState(void 0),[H,v]=r.useState(!1),D=()=>{v(!0)},d=u==="update_account"?b:m,[S,L]=r.useState(d.linkToken??null),[$,z]=r.useState(!1),g=m.fetchStatus.fetchState==="In-Progress"||m.updateStatus.fetchState==="In-Progress";let p,O,s,j=!1;o!=null&&(o.accType==="depositAccount"?p={code:"verified",name:"Verified"}:(p=o.providerVerificationStatus,O=o?.institutionDetails,s=p?.code,j=o?.isLoginRequired??!1));const Y=J(m.updateStatus.fetchState),Q=J(b.updateStatus.fetchState),ee=J(b.fetchStatus.fetchState),E=C.mode==="light"?new fe(C.colors.brandColorJadeLight):new fe(C.colors.brandColorJadeDark),K=r.useCallback((x,X)=>{f.trackConnectBankSuccess(l,"Settings");const Le=X.accounts.find(Ke=>Ke.id===o?.providerAccountId)??X.accounts[0];o?.id!=null&&u==="update_account"&&Le?.verification_status!=null&&!j?_(Le?.verification_status,o.id,"update_account",y(l),l):P(x,y(l),l),A(void 0),z(!1)},[f,l,o?.id,o?.providerAccountId,u,j,_,P]),te=r.useCallback((x,X)=>{x!=null&&(f.trackConnectBankFailure(l,x.error_code+" "+x.error_message,"Settings"),x.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&o?.id!=null&&_("verification_failed",o.id,"update_account",y(l),l),console.log("Plaid Connection Error",x,X)),A(void 0),z(!1)},[f,l,o?.id,_]),{open:Z,ready:ue}=Te({token:S,onSuccess:K,onExit:te});r.useEffect(()=>{(Y==="In-Progress"&&m.updateStatus.fetchState==="Completed"||Q==="In-Progress"&&b.updateStatus.fetchState==="Completed")&&(G.isVerifiedPaymentAccountProviderStatusCode(s??"")||(V("link_account",y(l)),R(y(l),l)))},[m.updateStatus.fetchState,R,V,o?.providerVerificationStatus?.code,o?.id,Y,Q,b.updateStatus.fetchState,s,l]),r.useEffect(()=>{(G.isVerifiedStatusCode(s??"")||s==="verification_failed")&&!$&&u!=null&&d.linkToken===S&&d.fetchStatus.fetchState==="Completed"&&ue&&z(!0)},[ue,S,d.fetchStatus.fetchState,d.linkToken,s,u,$]);const oe=$e(bt,"primaryAccountSection"),F=ct(M,oe);r.useEffect(()=>{d.fetchStatus.fetchState==="Completed"&&d.linkToken!=null&&d.linkToken!==S&&L(d.linkToken)},[d.fetchStatus.fetchState,d.linkToken,S]),r.useEffect(()=>{$&&Z()},[$,Z]),r.useEffect(()=>{!o?.zeniAccountId&&!F&&w(oe)},[o?.id]),r.useEffect(()=>{(s==null||s==="verification_failed"||s==="verification_expired"||G.isVerifiedStatusCode(s))&&(G.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&V("link_account",y(l))},[]);const ne=()=>{f.trackConnectBankGetBalance(l,"Settings"),A("update_account"),V("update_account",y(l),o?.id)},ae=`${o?.accountSubType?.name!=null?o?.accountSubType?.name.substring(0,1).toUpperCase().concat(o?.accountSubType?.name.substring(1)):""} ${o?.maskedAccountNumber??""}`.trim(),pe=O?.zeniInstitutionId.toLowerCase()==="chase",Ge=a.findIndex(x=>x.id===o?.id),Je={element:t.jsx(We,{width:T.iconWidthHeight.valuePx(c)}),color:E};return t.jsxs(At,{windowSize:c,children:[H===!0?_e.createPortal(t.jsx(Pe,{connectedAccountProvider:q,action:{onBackClick:()=>v(!1)}}),document.body):null,t.jsxs(jt,{windowSize:c,wrapperWidth:W[0].width,children:[t.jsx(Tt,{windowSize:c,isDarkMode:C.mode==="dark",children:t.jsx($t,{productType:l,windowSize:c})}),t.jsx(zt,{children:Ee.productNameByType[l]})]}),t.jsx(_t,{windowSize:c,wrapperWidth:W[1].width,children:t.jsxs(Ft,{windowSize:c,children:[o!=null&&c!=="small"?t.jsx(Et,{isDisabled:j,children:wt(Je,c,C.mode==="dark",o,Ge,!1)}):null,t.jsxs(Bt,{windowSize:c,className:"fundingAccount",children:[t.jsx(qe,{style:{display:c==="small"?"block":"inherit",width:"-webkit-fill-available",color:C.colors.hero},customStyleConfig:{menu:()=>({width:c==="small"?"auto":510})},controlProperty:{controlHeight:k[4],fontWeight:Oe.medium,highlightOnHover:!1,leftRightMargin:!1,fieldWidth:c==="small"?240:300},customPlaceholder:{color:C.colors.hero,weight:Oe.medium},name:$e(l,"primaryAccountSection"),placeholder:Fe.selectAccountPlaceholder,capitalizeOptions:!0,appendSublabel:!1,showLogoInSingleValue:!1,isClearable:!1,maxMenuHeight:220,valueToLogo:(x,X)=>st(a,x,X),valueToSubLabels:(x,X)=>lt(a,x,X,!1),defaultValue:{selectedOption:o?.id,allOptions:a.map(x=>({label:x.label,value:x.id,isRecommended:x.accType==="depositAccount"}))},textAlignment:"left",showDownChevronIcon:!0,showTickIcon:!1,isOptionRemovable:!1,registerOptions:{required:!1},showCreateOption:!0,showEmptyState:!1,isDisabled:g?"disabled":void 0,showLoadingIcon:g,onClickCreateOption:()=>{f.trackConnectBank(l,"Settings"),A("link_account"),m.linkToken==null||G.zeniDate(new Date().toISOString()).isAfter(m.expiration)?V("link_account",y(l)):S!==m.linkToken?L(m.linkToken):$?Z():z(!0)}}),t.jsxs(Pt,{isDisabled:j,children:[ae?t.jsxs(t.Fragment,{children:[t.jsx(It,{children:ae}),c!=="small"&&(s!=="verification_failed"&&o?.providerVerificationStatus?.code==="pending_manual_verification"||j||pe)?t.jsx(Ot,{}):null]}):null,c==="small"&&p!=null?t.jsx(ge,{style:{width:"max-content",padding:i.sp0,marginLeft:i.sp2},tagTitle:p.name,textColor:we(p.code)}):null,s!=="verification_failed"&&o?.providerVerificationStatus?.code==="pending_manual_verification"||j||pe?t.jsx(Ie,{productType:l,isUpdateLinkClicked:u==="update_account",isLoginRequired:j,isPendingVerification:s!=="verification_failed"&&o?.providerVerificationStatus?.code==="pending_manual_verification",fetchAndUpdateStatues:{fetchStatus:b.fetchStatus,updateStatus:b.updateStatus,linkFetchStatus:m.fetchStatus,linkUpdateStatus:m.updateStatus,prevFetchState:ee,prevUpdateState:Q},onUpdateLinkTokenClick:ne,onChaseInfoClick:D}):null]})]}),c==="small"?t.jsxs(Rt,{children:[o?.accountBalance?.available?t.jsx(Be,{className:"balanceLabel",children:Se("0,0[.]00",o?.accountBalance?.available)}):t.jsx(be,{children:ke}),o?.accountBalance?.lastRefreshTime?t.jsx(Ve,{className:"balanceLabel",children:xe(o?.accountBalance?.lastRefreshTime)}):o?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null]}):null]})}),t.jsxs(Ut,{windowSize:c,isDisabled:j,wrapperWidth:W[2].width,onClick:x=>x.stopPropagation(),"data-testid":rt("bank-account-section",l),className:"qboLinkAcc",children:[c==="small"?t.jsx(Lt,{children:Ee.bankConnectionHeader.linkAccount}):null,t.jsx(Dt,{isDisabled:j?"disabled":void 0,name:$e(l,"bankAccountSection"),placeholder:Fe.zeniCashAccountPlaceholder,defaultValue:{selectedOption:o?.zeniAccountId??"",allOptions:e.map(x=>({label:x.accountName,value:x.accountId}))},controlProperty:{highlightOnHover:!0},isOptionRemovable:!1,textAlignment:"left",registerOptions:{required:!1},style:{width:c==="small"?"calc(100% - 135px)":"100%",marginLeft:c==="small"?i.sp0:`-${i.sp3}`}})]}),c!=="small"?t.jsx(Mt,{windowSize:c,wrapperWidth:W[3].width,children:p!=null?t.jsx(ge,{style:{width:"max-content",padding:0},tagTitle:p.name,textColor:we(p.code)}):t.jsx(be,{children:ke})}):null,c!=="small"?t.jsxs(Vt,{windowSize:c,wrapperWidth:W[4].width,children:[o?.accountBalance?.available?t.jsx(Be,{className:"balanceLabel",children:Se("0,0[.]00",o?.accountBalance?.available)}):t.jsx(be,{children:ke}),o?.accountBalance?.lastRefreshTime?t.jsx(Ve,{className:"balanceLabel",children:xe(o?.accountBalance?.lastRefreshTime)}):o?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null]}):null]})},At=n.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
4
|
-
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
5
|
-
padding: ${e=>T.containerPadding.valuePx(e.windowSize)};
|
|
6
|
-
padding-right: ${e=>T.containerRightPadding.valuePx(e.windowSize)};
|
|
7
|
-
`,be=n.div`
|
|
8
|
-
color: ${e=>e.theme.colors.hero};
|
|
9
|
-
display: flex;
|
|
10
|
-
align-items: flex-end;
|
|
11
|
-
justify-content: flex-end;
|
|
12
|
-
`,jt=n.div`
|
|
13
|
-
display: flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
16
|
-
margin-bottom: ${e=>T.productTypeContainerMarginBottom.valuePx(e.windowSize)};
|
|
17
|
-
padding-right: ${i.sp3};
|
|
18
|
-
`,zt=n(N)`
|
|
19
|
-
white-space: nowrap;
|
|
20
|
-
overflow: hidden;
|
|
21
|
-
text-overflow: ellipsis;
|
|
22
|
-
`,Tt=n.div`
|
|
23
|
-
display: flex;
|
|
24
|
-
flex-direction: row;
|
|
25
|
-
justify-content: center;
|
|
26
|
-
align-items: center;
|
|
27
|
-
align-self: ${e=>e.windowSize==="small"?"flex-start":"unset"};
|
|
28
|
-
padding: ${e=>T.iconPadding.valuePx(e.windowSize)};
|
|
29
|
-
background: ${e=>e.windowSize==="small"?e.isDarkMode?e.theme.colors.brandColorJadeLight:e.theme.colors.brandColorJadeDark:e.isDarkMode?e.theme.colors.brandColorJadeDark:e.theme.colors.brandColorJadeLight};
|
|
30
|
-
border-radius: ${i.sp11};
|
|
31
|
-
width: fit-content;
|
|
32
|
-
height: fit-content;
|
|
33
|
-
color: ${e=>e.windowSize==="small"?e.isDarkMode?e.theme.colors.brandColorOnyx:ie.neutralGrey5Light:e.isDarkMode?ie.neutralGrey5Light:e.theme.colors.brandColorOnyx};
|
|
34
|
-
max-width: ${e=>T.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
35
|
-
max-height: ${e=>T.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
36
|
-
margin-right: ${i.sp2};
|
|
37
|
-
`,_t=n.div`
|
|
38
|
-
display: flex;
|
|
39
|
-
flex-direction: column;
|
|
40
|
-
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
41
|
-
`,Pt=n(B)`
|
|
42
|
-
display: flex;
|
|
43
|
-
align-items: center;
|
|
44
|
-
color: ${e=>e.isDisabled?e.theme.colors.grey1:"inherit"};
|
|
45
|
-
flex-wrap: wrap;
|
|
46
|
-
`,It=n.div`
|
|
47
|
-
display: flex;
|
|
48
|
-
`,Be=n(N)`
|
|
49
|
-
display: flex;
|
|
50
|
-
justify-content: flex-end;
|
|
51
|
-
`,Ve=n(B)`
|
|
52
|
-
color: ${e=>e.theme.colors.hero};
|
|
53
|
-
`,Lt=n(B)`
|
|
54
|
-
color: ${e=>e.theme.colors.grey1};
|
|
55
|
-
width: 135px;
|
|
56
|
-
`,Ot=n.div`
|
|
57
|
-
display: inline-block;
|
|
58
|
-
border-radius: ${i.sp2};
|
|
59
|
-
margin: ${i.sp0} ${i.sp2};
|
|
60
|
-
width: ${i.sp1};
|
|
61
|
-
height: ${i.sp1};
|
|
62
|
-
cursor: inherit;
|
|
63
|
-
background-color: ${e=>e.theme.colors.grey1};
|
|
64
|
-
`,Et=n.div`
|
|
65
|
-
display: flex;
|
|
66
|
-
opacity: ${e=>e.isDisabled?.8:1};
|
|
67
|
-
`,Ft=n.div`
|
|
68
|
-
display: flex;
|
|
69
|
-
justify-content: flex-start;
|
|
70
|
-
`,Bt=n.div`
|
|
71
|
-
display: flex;
|
|
72
|
-
flex-direction: column;
|
|
73
|
-
width: ${e=>e.windowSize==="small"?"64%":"100%"};
|
|
74
|
-
`,Vt=n.div`
|
|
75
|
-
display: flex;
|
|
76
|
-
flex-direction: column;
|
|
77
|
-
justify-content: center;
|
|
78
|
-
align-items: flex-end;
|
|
79
|
-
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
80
|
-
`,Rt=n.div`
|
|
81
|
-
display: flex;
|
|
82
|
-
flex-direction: column;
|
|
83
|
-
align-items: flex-end;
|
|
84
|
-
justify-content: center;
|
|
85
|
-
width: 36%;
|
|
86
|
-
`,Mt=n.div`
|
|
87
|
-
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
88
|
-
`,Ut=n.div`
|
|
89
|
-
display: flex;
|
|
90
|
-
align-items: center;
|
|
91
|
-
opacity: ${e=>e.isDisabled?.4:1};
|
|
92
|
-
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
93
|
-
margin-top: ${e=>T.linkAccountContainerMarginTop.valuePx(e.windowSize)};
|
|
94
|
-
`,Dt=n(qe)`
|
|
95
|
-
border-radius: ${i.sp2};
|
|
96
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
97
|
-
color: ${e=>e.theme.colors.hero};
|
|
98
|
-
${Ne.smallRegular.css};
|
|
99
|
-
`,Nt=n.div`
|
|
100
|
-
width: ${e=>T.productTypeIconSize.valuePx(e.windowSize)};
|
|
101
|
-
height: ${e=>T.productTypeIconSize.valuePx(e.windowSize)};
|
|
102
|
-
display: flex;
|
|
103
|
-
align-items: center;
|
|
104
|
-
justify-content: center;
|
|
105
|
-
svg {
|
|
106
|
-
width: 100%;
|
|
107
|
-
height: 100%;
|
|
108
|
-
}
|
|
109
|
-
`,Wt=n.div`
|
|
110
|
-
width: ${e=>T.productTypeIconSize.valuePx(e.windowSize)};
|
|
111
|
-
height: ${e=>T.productTypeIconSize.valuePx(e.windowSize)};
|
|
112
|
-
display: flex;
|
|
113
|
-
align-items: center;
|
|
114
|
-
justify-content: center;
|
|
115
|
-
svg {
|
|
116
|
-
width: 100%;
|
|
117
|
-
height: 100%;
|
|
118
|
-
}
|
|
119
|
-
`,qt=n.div`
|
|
120
|
-
width: ${e=>T.productTypeIconSize.valuePx(e.windowSize)};
|
|
121
|
-
height: ${e=>T.productTypeIconSize.valuePx(e.windowSize)};
|
|
122
|
-
display: flex;
|
|
123
|
-
align-items: center;
|
|
124
|
-
justify-content: center;
|
|
125
|
-
svg {
|
|
126
|
-
width: 100%;
|
|
127
|
-
height: 100%;
|
|
128
|
-
}
|
|
129
|
-
`,Ht=n.div`
|
|
130
|
-
width: ${e=>T.productTypeIconSize.valuePx(e.windowSize)};
|
|
131
|
-
height: ${e=>T.productTypeIconSize.valuePx(e.windowSize)};
|
|
132
|
-
display: flex;
|
|
133
|
-
align-items: center;
|
|
134
|
-
justify-content: center;
|
|
135
|
-
svg {
|
|
136
|
-
width: 100%;
|
|
137
|
-
height: 100%;
|
|
138
|
-
}
|
|
139
|
-
`,Gt=n.div`
|
|
140
|
-
width: ${e=>T.productTypeIconSize.valuePx(e.windowSize)};
|
|
141
|
-
height: ${e=>T.productTypeIconSize.valuePx(e.windowSize)};
|
|
142
|
-
display: flex;
|
|
143
|
-
align-items: center;
|
|
144
|
-
justify-content: center;
|
|
145
|
-
svg {
|
|
146
|
-
width: 100%;
|
|
147
|
-
height: 100%;
|
|
148
|
-
}
|
|
149
|
-
`,$e=(e,h)=>`${e}.${h}`,y=e=>{switch(e){case"zeni_accounts":return"account_setup";case"bill_pay":return"bill_pay_setup";case"charge_cards":return"charge_card_setup";case"reimbursement":return"reimbursement_setup";case"zeni_treasury":return"treasury_setup";case"other_connection":return"other_connection_setup"}},{common:{settings:Ce,strings:{empty:Jt,hyphen:Kt}}}=re.getLocalizedStrings(),he={paymentAccountIconSize:new I(k[6],k[7])},Xt=()=>null,Yt=({paymentAccount:e,bankAccountList:h,balanceFetchStatus:q,connectedAccountProvider:V,onRemoveConnection:_,onFetchLinkTokenClick:P,onEstablishConnectionClick:R,onEstablishConnectionSuccess:C,onUpdatePaymentAccountStatus:c})=>{const f=ve(),w=je(),M=ze().analytics,[U,a]=r.useState(!1),[o,l]=r.useState(!1),m=()=>{l(!0)},b=e.plaidConnectionDetails.link_account,u=e.plaidConnectionDetails.update_account,[A,H]=r.useState(void 0),v=A==="update_account"?u:b,[D,d]=r.useState(v.linkToken??null),[S,L]=r.useState(!1),$=J(b.updateStatus.fetchState),z=J(u.updateStatus.fetchState),g=J(u.fetchStatus.fetchState),p=e?.providerVerificationStatus,O=e?.isLoginRequired??!1,s="other_connection",j=p?.code,Y=r.useCallback((F,ne)=>{M.trackConnectBankSuccess(s,"Settings");const ae=ne.accounts.find(pe=>pe.id===e.providerAccountId)??ne.accounts[0];e.paymentAccountId!=null&&A==="update_account"&&ae?.verification_status!=null&&!O?c(ae?.verification_status,e.paymentAccountId,"update_account",y(s),s):R(F,y(s),s),H(void 0),L(!1)},[M,s,e.paymentAccountId,e.providerAccountId,A,O,c,R]),Q=r.useCallback((F,ne)=>{F!=null&&(M.trackConnectBankFailure(s,F.error_code+" "+F.error_message,"Settings"),F.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e.paymentAccountId!=null&&c("verification_failed",e.paymentAccountId,"update_account",y(s),s),console.log("Plaid Connection Error",F,ne)),H(void 0),L(!1)},[M,s,e.paymentAccountId,c]),{open:ee,ready:E}=Te({token:D,onSuccess:Y,onExit:Q});r.useEffect(()=>{v.fetchStatus.fetchState==="Completed"&&v.linkToken!=null&&v.linkToken!==D&&d(v.linkToken)},[v.fetchStatus.fetchState,v.linkToken,D]),r.useEffect(()=>{S&&ee()},[S,ee]),r.useEffect(()=>{($==="In-Progress"&&b.updateStatus.fetchState==="Completed"||z==="In-Progress"&&u.updateStatus.fetchState==="Completed")&&(G.isVerifiedStatusCode(j??"")||(P("link_account",y(s)),C(y(s),s)))},[b.updateStatus.fetchState,C,P,e?.providerVerificationStatus?.code,e?.paymentAccountId,$,z,u.updateStatus.fetchState,j,s]),r.useEffect(()=>{(G.isVerifiedStatusCode(j??"")||j==="verification_failed")&&!S&&A!=null&&v.linkToken===D&&v.fetchStatus.fetchState==="Completed"&&E&&L(!0)},[E,D,v.fetchStatus.fetchState,v.linkToken,j,A,S]);const K=()=>{M.trackConnectBankGetBalance(s,"Settings"),H("update_account"),P("update_account",y(s),e.paymentAccountId)},te=f.mode==="light"?new fe(f.colors.brandColorJadeLight):new fe(f.colors.brandColorJadeDark),Z={element:t.jsx(dn,{windowSize:w,children:t.jsx(ft,{})}),color:te},ue=h.find(F=>F.accountId===e.zeniAccountId),oe=()=>{a(F=>!F)};return t.jsxs(Qt,{onMouseEnter:oe,onMouseLeave:oe,children:[o===!0?_e.createPortal(t.jsx(Pe,{connectedAccountProvider:V,action:{onBackClick:()=>l(!1)}}),document.body):null,t.jsxs(Zt,{windowSize:w,wrapperWidth:W[0].width,children:[t.jsx(en,{children:Ce.otherAccount.title}),t.jsx(tn,{children:Ce.otherAccount.subTitle})]}),t.jsxs(nn,{windowSize:w,wrapperWidth:W[1].width,children:[gt(Z,w,f.mode==="dark",e,!0),t.jsxs(un,{children:[t.jsx(pn,{children:t.jsx(gn,{windowSize:w,children:e.institutionDetails.institutionName})}),t.jsxs(hn,{windowSize:w,children:[t.jsxs(wn,{children:[t.jsx(mn,{children:e.accountSubType?.name}),t.jsx(fn,{children:e.maskedAccountNumber}),O&&t.jsx(Sn,{})]}),O&&t.jsx(Ie,{productType:"other_connection",isUpdateLinkClicked:A==="update_account",isLoginRequired:O,isPendingVerification:!1,fetchAndUpdateStatues:{fetchStatus:u.fetchStatus,updateStatus:u.updateStatus,linkFetchStatus:b.fetchStatus,linkUpdateStatus:b.updateStatus,prevFetchState:g,prevUpdateState:z},onUpdateLinkTokenClick:K,onChaseInfoClick:m})]})]})]}),t.jsx(on,{windowSize:w,wrapperWidth:W[2].width,children:ue?.accountName??Jt}),t.jsx(an,{windowSize:w,wrapperWidth:W[3].width,children:p!=null?t.jsx(ge,{style:{width:"max-content",padding:0,marginTop:i.sp2},tagTitle:p.name,textColor:we(p.code)}):Kt}),t.jsxs(cn,{windowSize:w,wrapperWidth:W[4].width,children:[t.jsx(ln,{className:"balanceLabel",isRemoveHovered:U,children:Se("0,0.[00]",e.balances?.available)}),e.balances?.lastRefreshTime?t.jsx(sn,{className:"balanceLabel",isRemoveHovered:U,children:xe(e.balances?.lastRefreshTime)}):q?.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null,U&&t.jsx(rn,{children:t.jsx(He,{moreIconType:"plain",options:[{label:Ce.otherAccount.remove,value:"remove"}],customStyleConfig:{valueContainer:()=>({height:i.sp3,".more-icon":{width:i.sp3,height:i.sp3,color:f.colors.primary}}),container:()=>({marginLeft:i.sp0,position:"relative"}),control:()=>({background:"transparent"}),menu:()=>({position:"absolute",right:0,borderRadius:i.sp1,marginTop:i.sp2,background:f.colors.grey5,width:"162px",border:`1px solid ${f.colors.grey3}`,boxShadow:`${i.sp0} 1px 2px ${i.sp0} ${ie.boxShadowElevation}`}),option:()=>({height:i.sp6,paddingLeft:i.sp3,paddingRight:i.sp3,display:"flex",alignItems:"center",color:ie.important,":hover":{color:ie.important,backgroundColor:f.colors.background}})},menuPlacement:"bottom",onOptionSelection:F=>{F==="remove"&&_(e.paymentAccountId)},valueToIcon:Xt})})]})]})},Qt=n.div`
|
|
150
|
-
display: flex;
|
|
151
|
-
padding: ${i.sp4};
|
|
152
|
-
padding-right: ${i.sp8};
|
|
153
|
-
position: relative;
|
|
154
|
-
`,Zt=n.div`
|
|
155
|
-
display: flex;
|
|
156
|
-
align-items: center;
|
|
157
|
-
flex-direction: column;
|
|
158
|
-
align-items: flex-start;
|
|
159
|
-
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
160
|
-
`,en=n(N)`
|
|
161
|
-
color: ${e=>e.theme.colors.grey1};
|
|
162
|
-
display: flex;
|
|
163
|
-
align-items: center;
|
|
164
|
-
`,tn=n(B)`
|
|
165
|
-
color: ${e=>e.theme.colors.grey1};
|
|
166
|
-
display: flex;
|
|
167
|
-
align-items: center;
|
|
168
|
-
`,nn=n.div`
|
|
169
|
-
display: flex;
|
|
170
|
-
align-items: center;
|
|
171
|
-
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
172
|
-
`,on=n(N)`
|
|
173
|
-
display: flex;
|
|
174
|
-
align-items: center;
|
|
175
|
-
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
176
|
-
`,an=n(N)`
|
|
177
|
-
display: flex;
|
|
178
|
-
align-items: center;
|
|
179
|
-
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
180
|
-
`,cn=n.div`
|
|
181
|
-
display: flex;
|
|
182
|
-
flex-direction: column;
|
|
183
|
-
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
184
|
-
justify-content: flex-end;
|
|
185
|
-
align-items: flex-end;
|
|
186
|
-
`,ln=n(N)`
|
|
187
|
-
color: ${e=>e.theme.colors.hero};
|
|
188
|
-
`,sn=n(B)`
|
|
189
|
-
color: ${e=>e.theme.colors.hero};
|
|
190
|
-
`,rn=n.div`
|
|
191
|
-
position: absolute;
|
|
192
|
-
right: ${i.sp4};
|
|
193
|
-
`,dn=n.div`
|
|
194
|
-
margin-right: ${i.sp2};
|
|
195
|
-
width: ${e=>he.paymentAccountIconSize.valuePx(e.windowSize)};
|
|
196
|
-
height: ${e=>he.paymentAccountIconSize.valuePx(e.windowSize)};
|
|
197
|
-
min-width: ${e=>he.paymentAccountIconSize.valuePx(e.windowSize)};
|
|
198
|
-
min-height: ${e=>he.paymentAccountIconSize.valuePx(e.windowSize)};
|
|
199
|
-
`,un=n.div`
|
|
200
|
-
white-space: nowrap;
|
|
201
|
-
overflow: hidden;
|
|
202
|
-
width: 100%;
|
|
203
|
-
`,pn=n.div`
|
|
204
|
-
display: flex;
|
|
205
|
-
gap: ${i.sp2};
|
|
206
|
-
align-items: center;
|
|
207
|
-
white-space: nowrap;
|
|
208
|
-
overflow: hidden;
|
|
209
|
-
`,hn=n.div`
|
|
210
|
-
display: flex;
|
|
211
|
-
flex-direction: ${e=>e.windowSize==="large"||e.windowSize==="extra-large"?"row":"column"};
|
|
212
|
-
align-items: ${e=>e.windowSize==="large"||e.windowSize==="extra-large"?"center":"start"};
|
|
213
|
-
`,mn=n(B)`
|
|
214
|
-
text-transform: capitalize;
|
|
215
|
-
color: inherit;
|
|
216
|
-
`,fn=n(B)`
|
|
217
|
-
margin-left: ${i.sp1};
|
|
218
|
-
`,gn=n(N)`
|
|
219
|
-
max-width: ${`calc(100% - ${i.sp3})`};
|
|
220
|
-
text-transform: capitalize;
|
|
221
|
-
overflow: hidden;
|
|
222
|
-
`,wn=n.div`
|
|
223
|
-
display: flex;
|
|
224
|
-
align-items: center;
|
|
225
|
-
`,Sn=n.div`
|
|
226
|
-
display: inline-block;
|
|
227
|
-
border-radius: ${i.sp2};
|
|
228
|
-
margin: ${i.sp0} ${i.sp2};
|
|
229
|
-
width: ${i.sp1};
|
|
230
|
-
height: ${i.sp1};
|
|
231
|
-
cursor: inherit;
|
|
232
|
-
background-color: ${e=>e.theme.colors.grey1};
|
|
233
|
-
`,{common:{settings:me,strings:{empty:xn}}}=re.getLocalizedStrings(),yn=()=>null,vn=({paymentAccount:e,bankAccountList:h,balanceFetchStatus:q,connectedAccountProvider:V,onRemoveConnection:_,onFetchLinkTokenClick:P,onEstablishConnectionClick:R,onEstablishConnectionSuccess:C,onUpdatePaymentAccountStatus:c})=>{const f=ve(),w=ze().analytics,[M,U]=r.useState(!1),a=()=>{U(!0)},o=e.plaidConnectionDetails.link_account,l=e.plaidConnectionDetails.update_account,[m,b]=r.useState(void 0),u=m==="update_account"?l:o,[A,H]=r.useState(u.linkToken??null),[v,D]=r.useState(!1),d=J(o.updateStatus.fetchState),S=J(l.updateStatus.fetchState),L=J(l.fetchStatus.fetchState),$=e?.providerVerificationStatus,z=e?.isLoginRequired??!1,g="other_connection",p=$?.code,O=r.useCallback((E,K)=>{w.trackConnectBankSuccess(g,"Settings");const te=K.accounts.find(Z=>Z.id===e.providerAccountId)??K.accounts[0];e.paymentAccountId!=null&&m==="update_account"&&te?.verification_status!=null&&!z?c(te?.verification_status,e.paymentAccountId,"update_account",y(g),g):R(E,y(g),g),b(void 0),D(!1)},[w,g,e.paymentAccountId,e.providerAccountId,m,z,c,R]),s=r.useCallback((E,K)=>{E!=null&&(w.trackConnectBankFailure(g,E.error_code+" "+E.error_message,"Settings"),E.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e.paymentAccountId!=null&&c("verification_failed",e.paymentAccountId,"update_account",y(g),g),console.log("Plaid Connection Error",E,K)),b(void 0),D(!1)},[w,g,e.paymentAccountId,c]),{open:j,ready:Y}=Te({token:A,onSuccess:O,onExit:s});r.useEffect(()=>{u.fetchStatus.fetchState==="Completed"&&u.linkToken!=null&&u.linkToken!==A&&H(u.linkToken)},[u.fetchStatus.fetchState,u.linkToken,A]),r.useEffect(()=>{v&&j()},[v,j]),r.useEffect(()=>{(d==="In-Progress"&&o.updateStatus.fetchState==="Completed"||S==="In-Progress"&&l.updateStatus.fetchState==="Completed")&&(G.isVerifiedStatusCode(p??"")||(P("link_account",y(g)),C(y(g),g)))},[o.updateStatus.fetchState,C,P,e?.providerVerificationStatus?.code,e?.paymentAccountId,d,S,l.updateStatus.fetchState,p,g]),r.useEffect(()=>{(G.isVerifiedStatusCode(p??"")||p==="verification_failed")&&!v&&m!=null&&u.linkToken===A&&u.fetchStatus.fetchState==="Completed"&&Y&&D(!0)},[Y,A,u.fetchStatus.fetchState,u.linkToken,p,m,v]);const Q=()=>{w.trackConnectBankGetBalance(g,"Settings"),b("update_account"),P("update_account",y(g),e.paymentAccountId)},ee=h.find(E=>E.accountId===e.zeniAccountId);return t.jsxs(kn,{children:[M===!0?_e.createPortal(t.jsx(Pe,{connectedAccountProvider:V,action:{onBackClick:()=>U(!1)}}),document.body):null,t.jsxs(bn,{children:[t.jsx($n,{children:`${me.otherAccount.title} ${me.otherAccount.subTitleSmall}`}),t.jsx(He,{moreIconType:"plain",options:[{label:me.otherAccount.remove,value:"remove"}],customStyleConfig:{valueContainer:()=>({height:i.sp3,".more-icon":{width:i.sp3,height:i.sp3,color:f.colors.primary}}),container:()=>({marginLeft:i.sp0,position:"relative"}),control:()=>({background:"transparent"}),menu:()=>({position:"absolute",right:0,width:"158px",border:`1px solid ${f.colors.grey3}`,boxShadow:`${i.sp0} 1px 2px ${i.sp0} ${ie.boxShadowElevation}`}),option:()=>({color:f.colors.important,":hover":{color:f.colors.important,backgroundColor:f.colors.background}})},menuPlacement:"bottom",onOptionSelection:E=>{E==="remove"&&_(e.paymentAccountId)},valueToIcon:yn})]}),t.jsxs(Cn,{children:[t.jsxs(Ln,{children:[t.jsx(On,{children:t.jsx(Bn,{children:e.institutionDetails.institutionName})}),t.jsxs(Vn,{children:[t.jsx(En,{children:e.accountSubType?.name}),t.jsx(Fn,{children:e.maskedAccountNumber}),t.jsx(Tn,{children:$!=null?t.jsx(ge,{style:{width:"max-content",padding:0},tagTitle:$.name,textColor:we($.code)}):null}),z&&t.jsx(Ie,{productType:"other_connection",isUpdateLinkClicked:m==="update_account",isLoginRequired:z,isPendingVerification:!1,fetchAndUpdateStatues:{fetchStatus:l.fetchStatus,updateStatus:l.updateStatus,linkFetchStatus:o.fetchStatus,linkUpdateStatus:o.updateStatus,prevFetchState:L,prevUpdateState:S},onUpdateLinkTokenClick:Q,onChaseInfoClick:a})]})]}),t.jsxs(_n,{children:[t.jsx(Pn,{className:"balanceLabel",children:Se("0,0.[00]",e.balances?.available)}),e.balances?.lastRefreshTime?t.jsx(In,{className:"balanceLabel",children:xe(e.balances?.lastRefreshTime)}):q?.fetchState==="In-Progress"?t.jsx(se,{size:"ExtraSmall",start:!0}):null]})]}),t.jsxs(An,{children:[t.jsx(jn,{children:me.bankConnectionHeader.linkAccount}),t.jsx(zn,{children:ee?.accountName??xn})]})]})},kn=n.div`
|
|
234
|
-
display: flex;
|
|
235
|
-
flex-direction: column;
|
|
236
|
-
padding: ${i.sp3};
|
|
237
|
-
`,bn=n.div`
|
|
238
|
-
display: flex;
|
|
239
|
-
align-items: center;
|
|
240
|
-
flex-direction: row;
|
|
241
|
-
align-items: flex-start;
|
|
242
|
-
width: 100%;
|
|
243
|
-
margin-bottom: ${i.sp3};
|
|
244
|
-
justify-content: space-between;
|
|
245
|
-
`,$n=n(N)`
|
|
246
|
-
color: ${e=>e.theme.colors.grey1};
|
|
247
|
-
display: flex;
|
|
248
|
-
align-items: center;
|
|
249
|
-
`,Cn=n.div`
|
|
250
|
-
display: flex;
|
|
251
|
-
align-items: center;
|
|
252
|
-
justify-content: space-between;
|
|
253
|
-
margin-bottom: ${i.sp3};
|
|
254
|
-
`,An=n.div`
|
|
255
|
-
display: flex;
|
|
256
|
-
align-items: center;
|
|
257
|
-
`,jn=n(B)`
|
|
258
|
-
color: ${e=>e.theme.colors.grey1};
|
|
259
|
-
margin-right: ${i.sp2};
|
|
260
|
-
`,zn=n(B)`
|
|
261
|
-
color: ${e=>e.theme.colors.hero};
|
|
262
|
-
`,Tn=n(N)`
|
|
263
|
-
display: flex;
|
|
264
|
-
align-items: center;
|
|
265
|
-
margin-left: ${i.sp2};
|
|
266
|
-
`,_n=n.div`
|
|
267
|
-
display: flex;
|
|
268
|
-
align-items: flex-end;
|
|
269
|
-
flex-direction: column;
|
|
270
|
-
`,Pn=n(N)`
|
|
271
|
-
color: ${e=>e.theme.colors.hero};
|
|
272
|
-
`,In=n(B)`
|
|
273
|
-
color: ${e=>e.theme.colors.hero};
|
|
274
|
-
`,Ln=n.div``,On=n.div`
|
|
275
|
-
display: flex;
|
|
276
|
-
gap: ${i.sp2};
|
|
277
|
-
align-items: center;
|
|
278
|
-
white-space: nowrap;
|
|
279
|
-
overflow: hidden;
|
|
280
|
-
`,En=n(B)`
|
|
281
|
-
text-transform: capitalize;
|
|
282
|
-
`,Fn=n(B)`
|
|
283
|
-
margin-left: ${i.sp1};
|
|
284
|
-
`,Bn=n(N)`
|
|
285
|
-
max-width: ${`calc(100% - ${i.sp3})`};
|
|
286
|
-
text-transform: capitalize;
|
|
287
|
-
overflow: hidden;
|
|
288
|
-
`,Vn=n.div`
|
|
289
|
-
color: ${e=>e.theme.colors.hero};
|
|
290
|
-
display: flex;
|
|
291
|
-
align-items: center;
|
|
292
|
-
flex-wrap: wrap;
|
|
293
|
-
gap: ${i.sp2};
|
|
294
|
-
`,{settings:{bankConnectionListHeader:Ae,title:Rn,infoText:Mn}}=re.getLocalizedStrings().common,ye={pageContentPadding:new I(k[4],k[8]),subtitleSectionWidth:new I(343,580,1200),subTitleBottomMargin:new I(k[0],k[5])},Un={qboLinkAcc:new ot("smallRegular","standardRegular")},Dn="bankConnectionsSettingsPage",ce="bankAccountSection",le="primaryAccountSection",Nn="bill_pay",Wn="reimbursement",qn="zeni_accounts",Hn="charge_cards",Gn="zeni_treasury",Re=e=>t.jsx(Xn,{children:W.map(h=>t.jsx(Yn,{actualDataValue:h.value,wrapperWidth:h.width,windowSize:e,children:t.jsx(Qn,{children:h.value})},h.value))}),bi=({bankSetupView:e,connectedAccountProvider:h,onBackClick:q,onUpdateAccountClick:V,onFetchLinkTokenClick:_,onUpdatePaymentAccountStatus:P,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:C,onEstablishConnectionSuccess:c,onClickMenuIcon:f,onUpdatePrimaryFundingAccount:w,onRemoveConnection:M})=>{const U=ve(),a=je(),{allFundingAccounts:o,primaryConnection:l}=e,m=Xe({mode:"all",reValidateMode:"onChange",defaultValues:De(e),values:De(e)}),b=m.handleSubmit(d=>{}),u=async(d,S)=>{const L=d.split("."),$=L[0],z=L[1],g=l.find(p=>p.productType===$);if($!=null&&z!=null){const p=S[$][z];if(z==="primaryAccountSection"){const O=o.find(s=>s.id===p.selectedOption)?.accType;p.selectedOption!=null&&O!=null&&w(p.selectedOption,y($),O)}else if(z==="bankAccountSection"&&g!=null&&g.primaryFundingAccount!=null&&p.selectedOption!=null){const O=g.primaryFundingAccount?.id,s=g.primaryFundingAccount?.accType;O!=null&&s!=null&&V(p.selectedOption,O,$,y($),s)}}};r.useEffect(()=>{const d=m.watch((S,{name:L})=>{L!=null&&S!=null&&Ye(()=>u(L,S))});return()=>{d.unsubscribe()}});const A=e.fetchState==="In-Progress"||e.fetchState==="Not-Started",H=e.fetchState==="Completed"&&e.allFundingAccounts.length===0,v=a==="small"?vn:Yt,D=()=>A?t.jsx(ti,{children:t.jsx(se,{size:"ExtraLarge",start:!0})}):H?t.jsx(Ze,{message:"No bank connections added."}):t.jsxs(Jn,{windowSize:a,children:[t.jsx(Ue,{children:Ae.primary}),a!=="small"?Re(a):null,t.jsx(et,{...m,children:t.jsx("form",{id:li(Dn),onSubmit:b,children:t.jsx(ni,{windowSize:a,children:e.primaryConnection.map(d=>d!=null?t.jsx(Me,{windowSize:a,children:t.jsx(Ct,{allBankAccounts:e.allBankAccounts,setupView:d,connectedAccountProvider:h,onFetchLinkTokenClick:_,onUpdatePaymentAccountStatus:P,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:C,onEstablishConnectionSuccess:c})},d.productType):null)})})}),e.otherPaymentAccounts.length>0?t.jsxs(Zn,{children:[t.jsx(Ue,{children:Ae.other}),t.jsx(ai,{children:t.jsx(tt,{display:"flex",placement:"right",maxWidth:"340px",title:Ae.otherToolTip,style:{padding:`12px ${i.sp3}`},children:t.jsx(ci,{})})})]}):null,a!=="small"&&e.otherPaymentAccounts.length>0?Re(a):null,e.otherPaymentAccounts.map(d=>{const S=o.find(L=>L.id===d.paymentAccountId)?.balanceFetchStatus;return t.jsx(Me,{windowSize:a,children:t.jsx(v,{paymentAccount:d,bankAccountList:e.allBankAccounts,balanceFetchStatus:S,connectedAccountProvider:h,onRemoveConnection:M,onFetchLinkTokenClick:_,onEstablishConnectionClick:C,onUpdatePaymentAccountStatus:P,onEstablishConnectionSuccess:c})},d.paymentAccountId)})]});return t.jsxs(Kn,{children:[t.jsx(Qe,{source:"BankConnectionsSettingsPage",title:Rn.bankConnections,backgroundColor:U.colors.grey4,style:{zIndex:3},onBackClick:q,showBackButton:!1,showMenuIcon:a==="medium-compact"||a==="small",onClickMenuIcon:f}),t.jsxs(ei,{windowSize:a,children:[t.jsx(ii,{windowSize:a,children:t.jsx(oi,{windowSize:a,children:Mn.bankConnections})}),D()]})]})},Jn=n.div`
|
|
295
|
-
display: flex;
|
|
296
|
-
flex-direction: column;
|
|
297
|
-
width: 100%;
|
|
298
|
-
padding-left: ${e=>ye.pageContentPadding.valuePx(e.windowSize)};
|
|
299
|
-
padding-right: ${e=>ye.pageContentPadding.valuePx(e.windowSize)};
|
|
300
|
-
`,Kn=n.div`
|
|
301
|
-
display: flex;
|
|
302
|
-
min-height: 100%;
|
|
303
|
-
flex-direction: column;
|
|
304
|
-
row-gap: ${i.sp3};
|
|
305
|
-
width: 100%;
|
|
306
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
307
|
-
`,Xn=n(B)`
|
|
308
|
-
top: ${i.sp0};
|
|
309
|
-
left: ${i.sp0};
|
|
310
|
-
min-height: ${i.sp8};
|
|
311
|
-
width: auto;
|
|
312
|
-
z-index: 1;
|
|
313
|
-
display: flex;
|
|
314
|
-
align-items: center;
|
|
315
|
-
box-sizing: border-box;
|
|
316
|
-
padding: ${i.sp3} ${i.sp8} ${i.sp3} ${i.sp4};
|
|
317
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
318
|
-
justify-content: space-between;
|
|
319
|
-
position: sticky;
|
|
320
|
-
`,Yn=n.div`
|
|
321
|
-
color: ${e=>e.theme.colors.grey1};
|
|
322
|
-
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
323
|
-
max-width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
324
|
-
display: flex;
|
|
325
|
-
align-items: center;
|
|
326
|
-
gap: ${i.sp1};
|
|
327
|
-
left: ${i.sp0};
|
|
328
|
-
justify-content: ${e=>e.actualDataValue==="Balance"?"flex-end":"flex-start"};
|
|
329
|
-
position: static;
|
|
330
|
-
z-index: 0;
|
|
331
|
-
padding-left: ${i.sp0};
|
|
332
|
-
box-sizing: border-box;
|
|
333
|
-
overflow: hidden;
|
|
334
|
-
`,Qn=n(B)`
|
|
335
|
-
display: flex;
|
|
336
|
-
gap: 5px;
|
|
337
|
-
`,Zn=n.div`
|
|
338
|
-
display: flex;
|
|
339
|
-
align-items: center;
|
|
340
|
-
`,Me=n.div`
|
|
341
|
-
display: flex;
|
|
342
|
-
min-height: 96px;
|
|
343
|
-
justify-content: center;
|
|
344
|
-
flex-direction: column;
|
|
345
|
-
width: 100%;
|
|
346
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
347
|
-
border-radius: ${i.sp2};
|
|
348
|
-
box-sizing: border-box;
|
|
349
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
350
|
-
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
351
|
-
border-radius: ${i.sp2};
|
|
352
|
-
margin-bottom: ${i.sp5};
|
|
353
|
-
color: ${e=>e.theme.colors.hero};
|
|
354
|
-
.fundingAccount
|
|
355
|
-
.single-select-field__control
|
|
356
|
-
.select-value-container
|
|
357
|
-
.single-select-field__single-value {
|
|
358
|
-
color: ${e=>e.theme.colors.hero};
|
|
359
|
-
${Ne.standardRegular.css};
|
|
360
|
-
}
|
|
361
|
-
.qboLinkAcc
|
|
362
|
-
.single-select-field__control
|
|
363
|
-
.select-value-container
|
|
364
|
-
.single-select-field__single-value {
|
|
365
|
-
color: ${e=>e.theme.colors.hero};
|
|
366
|
-
${e=>`${Un.qboLinkAcc.style(e.windowSize)}`};
|
|
367
|
-
}
|
|
368
|
-
&:hover {
|
|
369
|
-
border: ${e=>`1px solid ${e.theme.colors.primary}`};
|
|
370
|
-
color: ${e=>e.theme.colors.primary};
|
|
371
|
-
.balanceLabel {
|
|
372
|
-
color: ${e=>e.theme.colors.primary};
|
|
373
|
-
}
|
|
374
|
-
.single-select-field__control
|
|
375
|
-
.select-value-container
|
|
376
|
-
.single-select-field__single-value {
|
|
377
|
-
color: ${e=>e.theme.colors.primary};
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
`,ei=n.div`
|
|
381
|
-
display: flex;
|
|
382
|
-
justify-content: flex-start;
|
|
383
|
-
height: 100%;
|
|
384
|
-
overflow-y: auto;
|
|
385
|
-
flex-direction: column;
|
|
386
|
-
align-items: center;
|
|
387
|
-
`,ti=n.div`
|
|
388
|
-
display: flex;
|
|
389
|
-
width: 100%;
|
|
390
|
-
height: calc(100vh - 110px);
|
|
391
|
-
flex-direction: row;
|
|
392
|
-
justify-content: center;
|
|
393
|
-
align-items: center;
|
|
394
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
395
|
-
`,ni=n.div`
|
|
396
|
-
display: flex;
|
|
397
|
-
flex-direction: column;
|
|
398
|
-
`,Ue=n(it)`
|
|
399
|
-
color: ${e=>e.theme.colors.primary};
|
|
400
|
-
margin-right: ${i.sp1};
|
|
401
|
-
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp2};
|
|
402
|
-
`,ii=n(nt)`
|
|
403
|
-
display: flex;
|
|
404
|
-
justify-content: center;
|
|
405
|
-
align-items: center;
|
|
406
|
-
width: ${e=>ye.subtitleSectionWidth.valuePx(e.windowSize)};
|
|
407
|
-
margin-bottom: ${e=>ye.subTitleBottomMargin.valuePx(e.windowSize)};
|
|
408
|
-
`,oi=n(N)`
|
|
409
|
-
display: flex;
|
|
410
|
-
align-items: center;
|
|
411
|
-
color: ${e=>e.theme.colors.hero};
|
|
412
|
-
`,ai=n.div`
|
|
413
|
-
display: flex;
|
|
414
|
-
color: ${e=>e.theme.colors.hero};
|
|
415
|
-
&:hover {
|
|
416
|
-
color: ${e=>e.theme.colors.primary};
|
|
417
|
-
svg {
|
|
418
|
-
color: ${e=>e.theme.colors.primary};
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
`,ci=n(dt)`
|
|
422
|
-
width: ${i.sp3};
|
|
423
|
-
height: ${i.sp3};
|
|
424
|
-
color: ${e=>e.theme.colors.hero};
|
|
425
|
-
`,De=e=>{const{primaryConnection:h,allBankAccounts:q,allFundingAccounts:V}=e,_=q.map(a=>({label:a.accountName,value:a.accountId})),P=V.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="depositAccount"})),R=h.find(a=>a.productType==="bill_pay"),C=h.find(a=>a.productType==="reimbursement"),c=h.find(a=>a.productType==="zeni_accounts"),f=h.find(a=>a.productType==="charge_cards"),w=h.find(a=>a.productType==="zeni_treasury"),M=c?.allFundingAccounts.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="depositAccount"}))??[],U=w?.allFundingAccounts.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="paymentAccount"}))??[];return{[Nn]:{[ce]:{selectedOption:R?.primaryFundingAccount?.zeniAccountId,allOptions:_},[le]:{selectedOption:R?.primaryFundingAccount?.id,allOptions:P}},[Wn]:{[ce]:{selectedOption:C?.primaryFundingAccount?.zeniAccountId,allOptions:_},[le]:{selectedOption:C?.primaryFundingAccount?.id,allOptions:P}},[qn]:{[ce]:{selectedOption:c?.primaryFundingAccount?.zeniAccountId,allOptions:_},[le]:{selectedOption:c?.primaryFundingAccount?.id,allOptions:M}},[Gn]:{[ce]:{selectedOption:w?.primaryFundingAccount?.zeniAccountId,allOptions:_},[le]:{selectedOption:w?.primaryFundingAccount?.id,allOptions:U}},[Hn]:{[ce]:{selectedOption:f?.primaryFundingAccount?.zeniAccountId,allOptions:_},[le]:{selectedOption:f?.primaryFundingAccount?.id,allOptions:P}}}},li=e=>`${e}_form`;export{bi as default,li as formUniqueName};
|