@zeniai/web-cockpit-ui 1.13.86-qa → 1.13.87-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-DGGeHZnW-OUx0JlaE.js → ACHDetailsPage-CW8vDdF5-BjcStneE.js} +3 -3
- package/dist/assets/{AIPerformancePage-BnFh61HC-D-vuF-aa.js → AIPerformancePage-tSqRY12b-CS74oHek.js} +29 -29
- package/dist/assets/AccountInfoPage-C9rcnhgb-CRWEZYsW.js +18 -0
- package/dist/assets/{AccountInfoPageContent-C4VpFgc_-JSl2YV-p.js → AccountInfoPageContent-DftJxUep-Cw9zyQ_s.js} +20 -20
- package/dist/assets/{AccountReconDetailsDrawerPage-DJmFBJve-BEXiHF92.js → AccountReconDetailsDrawerPage-CBpvkm_m-BXrukYLg.js} +16 -16
- package/dist/assets/AccountRow-cQU8OX0K-yHyqR7LP.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-D5elLwcD-DCBWNnh_.js → AccountsPromoCardStack-DuBj_EHe-B3WzwbTq.js} +23 -23
- package/dist/assets/{AddAddressForCardDrawer-D9uW1sU2-HmHZpd50.js → AddAddressForCardDrawer-D4edy26A-B1-8tiAZ.js} +2 -2
- package/dist/assets/{AddToWalletPage-D3yOWwc3-DOZUi61e.js → AddToWalletPage-Lkfz2CzH--lPqUVOg.js} +35 -35
- package/dist/assets/{AgingReportsPage-DlB02nzb-Bs2EnYRJ.js → AgingReportsPage-DtW2tU4n-DVEUTxX1.js} +4 -4
- package/dist/assets/{AllUserItems-Bwbb5_fm-foSEEGxU.js → AllUserItems-DcuO9Oho-D7VaO8Uf.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-Bhf_ygxm-DyhmSfMs.js → ApAgingDetailPage-D2UVTYqP-9KAbUMxy.js} +3 -3
- package/dist/assets/{AppBasePage-DyGLpjZ0-BqxctD7f.js → AppBasePage-iuomCofd-D1M4Ldw8.js} +4 -4
- package/dist/assets/{AppDrawerContent-D_dlUPFp-DUip7d_J.js → AppDrawerContent-BfpdXsfY-BoqfQVbX.js} +8 -8
- package/dist/assets/{ApprovalRulesSettingsPage-DLvGE0ND-C2H7LBu1.js → ApprovalRulesSettingsPage-BKAWfUl9-BUmVoC9W.js} +6 -6
- package/dist/assets/{ArAgingChart-CR7dx7XY-D864nxpa.js → ArAgingChart--GzyqIlN-wEZY3asj.js} +5 -5
- package/dist/assets/{ArAgingDetailPage-kU_SEimL-B-N2mSJB.js → ArAgingDetailPage-A0zmG_tR--cuXu7ko.js} +2 -2
- package/dist/assets/{AttachmentView-ClQPirg--DH6lVfEf.js → AttachmentView-D203zhS3-Blc80O1o.js} +8 -8
- package/dist/assets/{BankAccountSection-DLB1oftk-ZIGZnPUm.js → BankAccountSection-iz2k4H5K-CWZXnWVk.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-ClrNHLqo-DiHKiUok.js → BankAccountWarningSection-CSJXyjMA-BgaGb4P-.js} +5 -5
- package/dist/assets/{BankConnectionsSettingsPage-D1w10U35-XvquRT1t.js → BankConnectionsSettingsPage-Co5pwxWT-C5lfXSpY.js} +15 -15
- package/dist/assets/{BillDetailPage-Bfrn4oa6-Bnr67OuG.js → BillDetailPage-BJbdAC5y-CMbCAQ4h.js} +5 -5
- package/dist/assets/{BillPayApprovalRuleDetailPage-DIzv3Xu9-D179TcD8.js → BillPayApprovalRuleDetailPage-D4-goF6x-C23aUqzX.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-CPBknTMQ-qfQIhuGY.js → BillPayApprovalRulesPage-CpAFdET_-DdMQ64US.js} +3 -3
- package/dist/assets/{BillPayPromoPage-CKETeVet-BziOeokR.js → BillPayPromoPage-DZn9Wdsi-COOh5nks.js} +2 -2
- package/dist/assets/{BillPaySetUpPage-DIz-RZih-Rtu6FSq3.js → BillPaySetUpPage-BGxI3SGy--373OJdf.js} +2 -2
- package/dist/assets/BillingSettingsPage-B3h6dTYD-CiH5BD6s.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-Ck830aIk-BaNyoEgy.js +1 -0
- package/dist/assets/{BoxItem-B8KF3Skh-BfuEFlCw.js → BoxItem-C-RN4c2j-F6XwRGQ-.js} +1 -1
- package/dist/assets/BusinessVerificationPage-BEK8kZil-Di05q2Gg.js +140 -0
- package/dist/assets/{CardNumberSubText-CNiPWVeO-CAc-nd6v.js → CardNumberSubText-Bvs0Rr9x-DPY11oi8.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BNWBGKHa-CwbY9Mrf.js → CashbackDetailPage-9aAW-23b-6kdPvDSO.js} +24 -24
- package/dist/assets/{ChargeCardDetailPage-BuCwlpLH-BkJDZe-M.js → ChargeCardDetailPage-DHjtLrCu-8rSs9AMN.js} +58 -58
- package/dist/assets/ChargeCardListPage-DzmHmoAp-BfBb-N8b.js +355 -0
- package/dist/assets/{ChargeCardListTable-D4-Br785-BEWwSLsM.js → ChargeCardListTable-jGT-e74M-5-uAUG8Z.js} +18 -18
- package/dist/assets/ChargeCardPromoPage-C2wn8FfE-Qh6s_V9A.js +219 -0
- package/dist/assets/{ChargeCardSetupPage-fy0EpA-m-choA3AmF.js → ChargeCardSetupPage-CN5Nbcsp-Bu6r203Z.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-B_rdiq_Y-Mj5VqZ8D.js → ChargeCardStatementsPage-Bu_rIDAD-BeeV8bqA.js} +4 -4
- package/dist/assets/{ChargeCardUtils-CtoTn6DQ-B1uvEbfZ.js → ChargeCardUtils-C-37hd5J-B8Ue09Ej.js} +1 -1
- package/dist/assets/{ChaseOverlay-DfjQ73Ie-B1a_VHty.js → ChaseOverlay-BG833ttH-_qJdBH9y.js} +8 -8
- package/dist/assets/CheckDepositDrawerPage-B4F_yGVS-pfAuDSEr.js +206 -0
- package/dist/assets/{CollapsableReportTable-CHsJ-93l-_tp8mBam.js → CollapsableReportTable-CtS-s84B-BR4en1d9.js} +2 -2
- package/dist/assets/{CompanyOfficerDetailsSection-BlUCDRW6-nX8ZqVcI.js → CompanyOfficerDetailsSection-Bor8xmLS-OgNQHHeC.js} +29 -29
- package/dist/assets/{CompanyPassportCard-DSRRu6RZ-Bh15KNQH.js → CompanyPassportCard-n-awcw82-DRSohnEc.js} +4 -4
- package/dist/assets/{CompanyPassportPage-DpeoVbLk-LzD8NVJu.js → CompanyPassportPage-WfbfWOs1-COSgoQMl.js} +139 -139
- package/dist/assets/{CompleteProfile-BaTEooSW-CqOmhDzj.js → CompleteProfile-D80JYwPP-BRDUY6r-.js} +10 -10
- package/dist/assets/ConfettiBurst-UJtKVS38-DdsiBpUw.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-CaIc3Tib-CG1q00M6.js → CreateOrEditVendorPage-BMLSs7Yo-DmUQ86jB.js} +15 -15
- package/dist/assets/{CreditCardPaymentDrawerPage-DEFrzmkG-BxfCKM_T.js → CreditCardPaymentDrawerPage-8zmbMj3u-ZPA-ktu-.js} +16 -16
- package/dist/assets/{CreditCardPaymentPlgSection-IeRxDnG7-CjAsn7C3.js → CreditCardPaymentPlgSection-DD7kSp5v-BuL73gip.js} +10 -10
- package/dist/assets/{CurrencySelectField-DDiCwLn7-YYqTYrI9.js → CurrencySelectField-DGID-Pjb-B38xYqrH.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-976y8y35-scZKYnaP.js → CustomerOnboardingActivationPage-pdEVqtkO-B5fJSkdd.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-ChQOOhF_-C8keGYSw.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYfidx87-wSUqD-QE.js → CustomerOnboardingDetailPageSkeleton-1d9j5dWO-dyqi73hm.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-DrLZ3k77-CapA6PF7.js → CustomerOnboardingNoStepsPage-BqrKQCFg-1lfgph7E.js} +8 -8
- package/dist/assets/CustomerOnboardingPage-DVVWivk2-WMhFdF9M.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-CmHltdpN-CG4NNyMb.js → CustomerOnboardingProductSuitePage-D_WVGW91-B4zQnbeq.js} +4 -4
- package/dist/assets/Dashboard-B-fLAQ8T-DoAtb0kg.js +1253 -0
- package/dist/assets/{DashboardReportPage-DULpVd6J-75Z0L48f.js → DashboardReportPage--SAxmUu_-Dq18S8YZ.js} +67 -67
- package/dist/assets/{DepositAccTransactionItem-BEs_Al_8-CuMFfqIl.js → DepositAccTransactionItem--OdW7LRx-zcdQHy5Q.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-CL8Rr3I4-33C_Xyfq.js → DepositAccTransactionListPage-BGapI5f0-BXH4xxAt.js} +8 -8
- package/dist/assets/{DocumentSecurityBanner-BgKXBGg3-BFG8spIP.js → DocumentSecurityBanner-Ctdvj5Tn-CM5WmW33.js} +1 -1
- package/dist/assets/DomesticWireDetailsPage-BGP2DLHb-CLZOaehZ.js +21 -0
- package/dist/assets/{DownloadOverlay-cne9_fIV-B70vx7oL.js → DownloadOverlay-VDEpvzHH-C6KDM3Im.js} +17 -17
- package/dist/assets/{DrawerPage-B0mgBHB5-ChiJCORg.js → DrawerPage-BauCSJ4q-DA93KkS0.js} +8 -8
- package/dist/assets/EditPeoplePage-mz7FTion-DdIStM8G.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-DWhSkrJ7-1GfIFWJd.js → EditReimbursementDetailPage-Bi_rdyjb-DXvJQD3u.js} +69 -69
- package/dist/assets/{EntityDetailPage-wnOA1SH7-tJdurFyO.js → EntityDetailPage-Bc2AVCEp-DOVttkwP.js} +2 -2
- package/dist/assets/{EntitySummarySection-Q_UUVBaU-CID1Yc5G.js → EntitySummarySection-CDO6K9RG-CZ1I06e-.js} +11 -11
- package/dist/assets/{ExpenseAutomationOverviewPage-BumrdlGf-DX7NOJQ2.js → ExpenseAutomationOverviewPage-C7SAclix-Ch7r281h.js} +20 -20
- package/dist/assets/{ExpenseAutomationPage-DKjInf-x-BCsOx_7m.js → ExpenseAutomationPage-A03nzEV--i6evGevK.js} +84 -84
- package/dist/assets/{ExpressPayPage-wwfao-Tr-CSsYXi5m.js → ExpressPayPage-B5QCvPtb-mYcSl8Ub.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-DriDr9id-ROApNhqW.js → FeaturePreviewPage-Czr4aIad-Bq5X23tc.js} +2 -2
- package/dist/assets/{FollowStepsSection-5025urr9-Ck_w_QTD.js → FollowStepsSection-Cf1g5oOj-5G8g4W7R.js} +9 -9
- package/dist/assets/{GlobalReviewListPage-BFjOsp4u-9IO5GFZn.js → GlobalReviewListPage-BI8uyXfO-DlP3gmGv.js} +11 -11
- package/dist/assets/HelpButton-CWPUP9Y_-RpIu9G0D.js +28 -0
- package/dist/assets/{InformationCardStack-DrD-sWV8-CLKN9UMO.js → InformationCardStack-WnJWUp5O-BeMJUt9i.js} +5 -5
- package/dist/assets/{InsightsCardStack-CFqfiCOY-0kHG30ML.js → InsightsCardStack-CRA0RPsW-D6ISd9AF.js} +8 -8
- package/dist/assets/{InsightsSection-CN1BVvSr-C28_ugbT.js → InsightsSection-DvcmBPbo-Kmp0eo1Q.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-BBlKuJxA-DdBiffjL.js → IntegrationsSettingsPage-D41_8UnK-CBjS_ZvM.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-f4DZUYIx-DoMtuYGP.js → InternationalWireSwiftDetailsPage-BFN-eaZB-DkA8hvOx.js} +11 -11
- package/dist/assets/{InternationalWireVerificationPage-5WpkXxPC-3ODzEjsY.js → InternationalWireVerificationPage-xmoJO63s-D_kiU9kB.js} +17 -17
- package/dist/assets/{InviteFormPage-Bw2ykerx-yr8DXAFN.js → InviteFormPage-Zy3qQng6-WUFAPnrT.js} +14 -14
- package/dist/assets/{InvitePageListView-BHp1m02Z-DotOTYQz.js → InvitePageListView-gATEAhxa-BJvv1nxH.js} +40 -40
- package/dist/assets/InvitePeoplePage-DkRbCpN7-4Qef88o5.js +12 -0
- package/dist/assets/{InvoiceUploadSection-B8Xsz6dM-CEaP18Oj.js → InvoiceUploadSection-CTbnx9F4-DxOvNNGL.js} +5 -5
- package/dist/assets/{IssueChargeCardPage-DYrMWSZg-ykKhm8SA.js → IssueChargeCardPage-BwBDVxeq-QT3JqZbp.js} +25 -25
- package/dist/assets/{LabeledAddressValue-kKgzA0is-AH8Iao2Q.js → LabeledAddressValue-C5YXOhcz-DcQYX30H.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-Bey_bvyv-B3Pa1cso.js → LabeledAddressValueField-CMIVYcKX-IiR7eG-s.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-CKrD5nfN-BpCb0QIx.js → LabeledControlledCheckBoxField-Dr8ND8SA-C9Qzlvtb.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-B3x1MZJr-DVXxS64O.js → LabeledCreatableSingleSelectField-CrDFWvwI-C1AD80Rw.js} +7 -7
- package/dist/assets/LabeledDocumentField-BG6Pu34Y-Dl5pM6Dq.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-cv7zClcb-f3M9bbM_.js +59 -0
- package/dist/assets/{LabeledText-BUZXeSSr-B6pPUri4.js → LabeledText-DaM1ChQF-BwcpwF0f.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField--jmAGQy--BwlgKrum.js → LabeledUserSingleSelectWithSubtitlesField-ClM9Uj1y-6k_crmLc.js} +6 -6
- package/dist/assets/{LabeledZeniRolesDropDownField-Dt5MOz8L-Bqi7WOPw.js → LabeledZeniRolesDropDownField-DfAO3Vyq-C62yt72O.js} +21 -21
- package/dist/assets/{LinkJETransactionPage-DZZORFZw-D9YZWkov.js → LinkJETransactionPage-CSlZZ9r4-ChRBBG28.js} +7 -7
- package/dist/assets/{LowBalancePopup-BQYkTR6v-CoYeOAci.js → LowBalancePopup-ZfmTgr7J-C3y63M8c.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-B2TCqv5k-xt9jOfyd.js → MagicLinkACHDetailsPage-Ad9q16ze-Cc4KtwXI.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-D0Fcshtr-CZ7SVepC.js → MagicLinkDomesticWireDetailsPage-TudYpGU_-cwp5jFX6.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-BfschSvJ-C5kNVjnK.js → MagicLinkInternationalWireDetailsPage-DfZQur8x-MDCFOTKW.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-CLkxou_Q-D2rGGQFx.js → MagicLinkSuccessPage-G9P6M-7E-bWNtOw6X.js} +5 -5
- package/dist/assets/{MagicLinkTitleSection-BcnZtmCV-D01ipFwy.js → MagicLinkTitleSection-BnKDwhBK-wh8Yf-S0.js} +3 -3
- package/dist/assets/{MailingDetailsSection-B5PAttoo-BraCcOIq.js → MailingDetailsSection-BV_-2RQM-CCg3F_6v.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-DM1wkT0M-o6W0kz73.js → MeetingCalenderPopup-C6y2cRLo-BgxsFwD_.js} +1 -1
- package/dist/assets/{Menu-teOpHszN-0mIgFEc4.js → Menu-Dhi3mAAc-CTdMUIt5.js} +3 -3
- package/dist/assets/{MyBankConnectionsSettingsPage-M74Mv2-V-BlzrdZrc.js → MyBankConnectionsSettingsPage-D1DMNxbh-ChPr7QXP.js} +13 -13
- package/dist/assets/{MyPendingActivationChargeCardListPage-jv9dbM48-C2rob0-n.js → MyPendingActivationChargeCardListPage-CtxNt4Km-OhPuLid4.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-CrhE1vfc-C3UPxGz1.js → MyProfileSettingsPage-ehPTh7cb-C19JE_a0.js} +8 -8
- package/dist/assets/{NavBarWithPicker-w36OQzVq-BiHkunmC.js → NavBarWithPicker-BF7k45-H-CqiTH9vF.js} +3 -3
- package/dist/assets/{NavigationArrow-CUVjQXS6-DZiLvLAX.js → NavigationArrow-DKuw9kCL-2Rze1y5j.js} +9 -6
- package/dist/assets/{NavigationDots-Dt6TkUQ7-BdJrqnLv.js → NavigationDots-DfJQIsra-CF_rwB9h.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BAq_UQw1-DNne0cwf.js → NewGlobalMerchantPage-CWyjN00H-0DvMrAS7.js} +9 -9
- package/dist/assets/NoDataChart-BHIoW_SW-DoqAVhyM.js +26 -0
- package/dist/assets/{NoDataTable-Akc9VjuK-DJ2LZ4YZ.js → NoDataTable-Txtz3a1x-CVIPKw2H.js} +1 -1
- package/dist/assets/{NotFoundPage-3pCYWZU4-y2wxuZwk.js → NotFoundPage-DewJikvf-DquNlF_a.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-BX5y9Bhs-Da5sQUSW.js → NotificationSettingsPage-CAFlFJ9J-DNtSJXlE.js} +17 -17
- package/dist/assets/NotificationsListConfig-B6PteXf7-BPHFWRyo.js +1 -0
- package/dist/assets/{NotificationsPage-tre5LIJg-CJyFFs31.js → NotificationsPage-CqmgbRYI-B1REvxM0.js} +32 -32
- package/dist/assets/{OpExByVendorPage-Dagfjaza-DO2J5Ea2.js → OpExByVendorPage-CYAYFvCM-CDkrX969.js} +5 -5
- package/dist/assets/{OverlayContainerPage-nhe7xtoR-Bp0KrttL.js → OverlayContainerPage-C0rUb6-5-W0ax80yE.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-B6BwG3ZF-DE8LaM6w.js → PandLWithForecastPage-v5t7YeHA-c32BpF_9.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-w6QwL-c4-Puxe83hy.js → PaymentAccountSetupBillingAddressSection-CnCCn9XQ-CNY3y6cT.js} +9 -9
- package/dist/assets/{PeoplePage-EFDCrYUk-qPy4q-1k.js → PeoplePage-D89yZGJn-CFNcLLmk.js} +21 -21
- package/dist/assets/{PortfolioAllocationFormPage-DbGLXM2D-D5lk0F-T.js → PortfolioAllocationFormPage-Cit7ssiw-CpmTmt3z.js} +3 -3
- package/dist/assets/{PortfolioDetails-D2RWl4uo-C7LqS3f9.js → PortfolioDetails-B1HXVeH2-D3KDftxW.js} +12 -12
- package/dist/assets/{ProductsCarousel-o-YsHwnV-C26rbjwc.js → ProductsCarousel-BeOYePu1-BPS8weXu.js} +7 -7
- package/dist/assets/{PromoBaseCards-D21UZaz1-C-zYZYy9.js → PromoBaseCards-D1DDp9C1-BMl9m8-G.js} +25 -25
- package/dist/assets/{QBOConnectionDialog-DOpuFcsk-CB64j051.js → QBOConnectionDialog-nb_5mvqp-CNrftMhR.js} +8 -8
- package/dist/assets/{QBOSetupSection-Dcf_Afvz-CkQkqSr4.js → QBOSetupSection-b-OrlvdU-D5Bh2qoF.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DcDdM_Ss-JUdN2kuA.js → ReimbursementApprovalRuleDetailPage-vg7A7Fqa-DKxcfaTy.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BhdyXjR--cRcR6ce_.js → ReimbursementApprovalRulesPage-FYfZ8-hX-DxG5e0_0.js} +8 -8
- package/dist/assets/ReimbursementDetailPage-DHsqq__V-BbntdEZI.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-DJTuXxOX-CDgDHw1K.js → ReimbursementPromoPage-D-wmyfH--DT237a-Y.js} +16 -16
- package/dist/assets/{ReimbursementSetUpPage-DaIc03J9-Db01NTj9.js → ReimbursementSetUpPage-Cneg3RyB-nHTacFs2.js} +12 -12
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BW6yGqNG-DPO4z6gc.js → ReimbursementsBulkReviewDrawerPage-OTHapAJy-B07Bk0eB.js} +1 -1
- package/dist/assets/{ReloadCard-D3-WJk3W-i05V9wY9.js → ReloadCard-D72dkm5s-DHOqIhPE.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-ZI_K0-D2-C-Je6jSA.js → ReportTableViewSelector-DfZ5geuW-DyPrCXZD.js} +7 -7
- package/dist/assets/{ReportsPage-DsILNosH-CtokfcbN.js → ReportsPage-7E3Q5HHF-DXypTMXr.js} +9 -9
- package/dist/assets/{RevenueChart-CKKeqpBi-vHD_4d7Q.js → RevenueChart-G7w1_QXE-CK6mJH77.js} +15 -15
- package/dist/assets/{ReviewDetailsPage-BTag8Rn9-WW8k6K1-.js → ReviewDetailsPage-i6ZXMuAf-CAvd4g6H.js} +19 -19
- package/dist/assets/{ReviewOverlay-CmbxFXT5-BHsJIc-S.js → ReviewOverlay-D0tbkcpk-u3R_yBnI.js} +15 -15
- package/dist/assets/{RoleWithToolTip-D25NUL6y-CFObKMM2.js → RoleWithToolTip-w2s9tX9j-CThc8drW.js} +6 -6
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-svqtgWEw-ygtH9owB.js → ScheduleDetailsFixedAssetsPage-5uPqQbhv-c_seLLEr.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-ClifB2yP-C6NISszX.js → ScheduleDetailsPage-n2Mhm3VT-Qa9fyFQC.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-Bzz4WFsb-CrTV1T6R.js → ScheduleSequenceTable-BbLZtq_G-B-PxnDpg.js} +50 -50
- package/dist/assets/{ScreenRoutes-CXS6WPUL.js → ScreenRoutes-1MbaXcJV.js} +35 -35
- package/dist/assets/{SetUpAccountSection-DHHAhE7n-D0tMCLTp.js → SetUpAccountSection-CuOJZCNp-D6aQorsQ.js} +103 -103
- package/dist/assets/{SetUpDefaultSection-DkoRgSyp-BjWpEfaH.js → SetUpDefaultSection-D0d0yzu8-BDWGdtc-.js} +16 -16
- package/dist/assets/{SignIn-DSJylxLB-BcnrJPMA.js → SignIn-CtZ8rTB_-wQdGuYtt.js} +16 -16
- package/dist/assets/{SignInScreen-DhOS546Y.js → SignInScreen-BSTxrh_N.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-NfjbjBOy-B7fXD1XN.js → SpendManagementListViewPage-ymHs-MwL-BFF1eR3M.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-CJqqj2pl-C2XF7ddx.js → SpendManagementPerTabPage-DwRwO5jR-DYEyp8w8.js} +52 -52
- package/dist/assets/{SpendManagementSection-C8jUu71n-RqE2Hvi4.js → SpendManagementSection-B1F6rl-n-Bxu1kHsM.js} +10 -10
- package/dist/assets/{SpendMgmtSetupAccountSection-CNcWLqIc-C_JO-a5E.js → SpendMgmtSetupAccountSection-o-48qyw7-BwGu-MNC.js} +17 -17
- package/dist/assets/{StatementItem-CV3b0pVj-DMjnLG0c.js → StatementItem-CK2sUgkE-C5tUfOGU.js} +8 -8
- package/dist/assets/StatementsPage-D25LsJRp-EGUjR_Fx.js +58 -0
- package/dist/assets/{StatusSwitcher-CxzYEzIO-C4cI6WWu.js → StatusSwitcher-BppDI7-7-CaTqg34_.js} +5 -5
- package/dist/assets/{SubTabSwitcher-_XBeoyd8-B38GS5BN.js → SubTabSwitcher-DTe2L8JC-D4RBO14j.js} +1 -1
- package/dist/assets/{SummaryCard-egXz66_a-CJJYuszp.js → SummaryCard-B-_3DnqQ-C4MQdd4u.js} +1 -1
- package/dist/assets/TaskManagementPage-NFVqhs6K-Bu_ZJ76r.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-DETvaZov-CRwR3tWK.js → TimeRangeSwitcher-D5pSi1fB-XM_OXE-C.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-DRQZAZ8X-U14hDJJR.js → TimeframeSwitcher-CQ37qP58-CJPthL9i.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-DDX_BvPF-1t-6tvHL.js +31 -0
- package/dist/assets/{TopExCard-CtEulaIf-B39iETZ-.js → TopExCard-CU-kbyDP-BkqVk6Yr.js} +6 -6
- package/dist/assets/{TopExDetailPage-O4MMssGR-DRu6XkOo.js → TopExDetailPage-COxNovqU-TyxPPRK9.js} +11 -11
- package/dist/assets/{TransactionDetailPage-CfY8i6QF-wB9aSjgj.js → TransactionDetailPage-k06RliU--jpVAAS-E.js} +40 -40
- package/dist/assets/{TransactionList-BABUQprb-n0ypY9aq.js → TransactionList-CuRdM1xm-CGrWmUwi.js} +13 -13
- package/dist/assets/{TransactionListBig-qJc1PM0U-CGUJw2Cg.js → TransactionListBig-ByLaQQUK-DVTWGGO_.js} +18 -18
- package/dist/assets/TransactionListPage-ioT-Jexm-z12q095m.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-nHnLQdj7-mH5Erw2L.js → TransactionVendorDetailPage-Dyg9upjC-FtRQ9fft.js} +6 -6
- package/dist/assets/{TransferDrawerPage-CkbHu9oQ-Cht2cdiM.js → TransferDrawerPage-B6zOVR7E-PtwoiwD5.js} +33 -33
- package/dist/assets/{TreasuryOverviewPage-D9qxqZOy-XRtfcOY8.js → TreasuryOverviewPage-Cae5Kj1r-CipOXBTi.js} +29 -29
- package/dist/assets/{TreasuryPromoPage-Bn_4ae7Q-BpmP0o4b.js → TreasuryPromoPage-iNiwYAiH-bWL0zXEM.js} +15 -15
- package/dist/assets/{TreasurySetupPage-CpZDjXwu-kc5DQ0PA.js → TreasurySetupPage-Bdl5g5Ct-DGTj2ns3.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-BXDwbrcC-BqAqQWpR.js → TreasuryStatementsPage-CLy-YBGI-_kq4Lb1i.js} +7 -7
- package/dist/assets/{TreasuryTaxLetterPage-Cwf-e3Jz-CzvMXupo.js → TreasuryTaxLetterPage-lRsyHBLO-DlgswuUG.js} +7 -7
- package/dist/assets/{TreasuryTransferOrReviewPage-BSiDVjnO-CsMt7v5I.js → TreasuryTransferOrReviewPage-Cbfh-a6j-DM2Y9vYh.js} +10 -10
- package/dist/assets/TrendChart-BXOatw0x-CophMwJ6.js +16 -0
- package/dist/assets/{TrendWithTransactions-D8xzYG_f-BMQmvsaC.js → TrendWithTransactions-BxoyLfjd-_bPvq9jR.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-CteEKVJk-Ci_j0lqd.js → UncategorizedAccountsMappingPage-BA4o7PWu-CMrlTXMW.js} +13 -13
- package/dist/assets/{UnitIntegrationPage-BBAq4_81-BLK9_YdQ.js → UnitIntegrationPage-Clt-99RU-BrzMoE2E.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-Drs2Czkg-Dp6pG15g.js → UploadAdditionalDocumentOverlay-LxTjdCJQ-COub0S1H.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DKe-eMoF-BtVMQGFU.js → Vendor2FAPopup-DjHQdB-O-CGPHoNJv.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-CTeRlLgu-_IWON3uB.js → VendorACHDetailsPage-TaEzA3ib-BtSubgL_.js} +1 -1
- package/dist/assets/{VendorDetailPage-Cw7Qe1rv-BrCL8pDb.js → VendorDetailPage-BeADTlAW-BEAFQ3r2.js} +13 -13
- package/dist/assets/{VendorDomesticWireDetailsPage-CYkst1D5-CjY_uYmK.js → VendorDomesticWireDetailsPage-EpIw_vNR-C7RuY-PA.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-CXQx0jJQ-DjRQOzEC.js → VendorFiling1099EditablePage-B-jTzcx7-CbBKMdpG.js} +8 -8
- package/dist/assets/{VendorFirstReviewPage-C1yTYtW6-BIpRORst.js → VendorFirstReviewPage-BrlyeQoC-BZiG_JRb.js} +29 -29
- package/dist/assets/{VendorInternationalWireDetailsPage-CfbGRN9B-DKxuI1Xz.js → VendorInternationalWireDetailsPage-B22crnTD-tpyu7OIk.js} +7 -7
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DTxy0byj-UjdvT_22.js → VendorInternationalWireSwiftDetailsPage-BpXZD_Eh-CX1DO0ul.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-B_nDMJSn-w43NKAfh.js → VendorsAccountsSection-CLrfBouK-CqWzAgHB.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-Dz3EM7AW-Cn_EE1t3.js → WarningsDrawerPage-CBZRy4Sm-DJIt8rHu.js} +4 -4
- package/dist/assets/{ZeniAccountDetailPage-C01gqJIN-DYpwX1S6.js → ZeniAccountDetailPage-Bfvuuiyl-Dadw6og4.js} +26 -26
- package/dist/assets/{ZeniAccountListViewPage-3DEdKuaM-Bzlfz6G1.js → ZeniAccountListViewPage-CTqmq_Vp-3SYD23NH.js} +18 -18
- package/dist/assets/ZeniAccountNavBarPieces-iNAQFffX-jEy_vHEe.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-ClgIxS0H-DaUdOq6A.js → ZeniAccountPromoPage-XHKL_dgv-zxVudUmY.js} +12 -12
- package/dist/assets/{ZeniAccountSetupPage-C-vwyHUJ-AqBG_3fj.js → ZeniAccountSetupPage-BHMr828J-Cb9LGjcX.js} +1 -1
- package/dist/assets/{ZeniCopyright-CqFabZnN-Xvd0tk8E.js → ZeniCopyright-B_2DB9mm-Do8EbmHN.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BwHzq-qG-BuMliL8i.js → ZeniTransferAmountSlider-BnjyU6o3-D4fZwoL6.js} +1 -1
- package/dist/assets/analytics-DThoELaW.js +7 -0
- package/dist/assets/{analyticsHelper-CvW7m-EV-bCnsFGUq.js → analyticsHelper-Bh8Vo_J_-DdkQ2A3j.js} +1 -1
- package/dist/assets/{analyticsHelper-NhdO2Lvv.js → analyticsHelper-COZBEzRa.js} +1 -1
- package/dist/assets/{chartTypes-0tTBFzPe-DcEHcgPx.js → chartTypes-DpnOYtNo-C1MRDQOQ.js} +1 -1
- package/dist/assets/{commonDimensions-B68wSFi9-B058siE1.js → commonDimensions-D2zuat_O-BjWWOnE2.js} +1 -1
- package/dist/assets/{detailCommon-D2RAJL6g-CsZhexSz.js → detailCommon-CloEmsTm-FeTpoyrx.js} +10 -10
- package/dist/assets/{downloadPdf-IPGZ8YB9-Buj6oTQw.js → downloadPdf-OWaFOL1J-_yuPyAAc.js} +1 -1
- package/dist/assets/{index-DzXOvNDr.js → index-LFy5NlUr.js} +3519 -3479
- package/dist/assets/{liveblocks-BUGn2yQ6.js → liveblocks-sSQ9JElv.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-DhjVTksX-Dlh5NKjO.js → mapLoadingInProgressToTreeNode-Df6n7jwq-DhIXCvCe.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DtR1UNND-BtcLH27o.js → mapSectionWithAcOnlyToTreeNode-BvlNBFiJ-CBY5TVGr.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-oskKbJKo-D68Hhque.js → mapSpacerToTreeNode-BM8XMc8I-DixdkzZo.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BkUJJy_y-fXIicGvN.js → mapTimeframeBalancesToTreeNode-B3bP14C6-CT5Uu0sF.js} +1 -1
- package/dist/assets/mui-C5LQ0bMa.js +25 -0
- package/dist/assets/{play-icon-C_pnFd6Q-lN2lvjYa.js → play-icon-NE4JTPpx-CK0WoxqT.js} +1 -1
- package/dist/assets/{redux-DmDqXYej.js → redux-ByjIRbhZ.js} +1 -1
- package/dist/assets/{routing-BNz5gZgX.js → routing-Cpaypegg.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-e2ImXwdp-6i6DtULu.js → toCOABalancesWithID-DN21aiLH-Bx86HqeI.js} +1 -1
- package/dist/assets/{toChartData-Dh91kb97-CsIbB0iq.js → toChartData-CG9GudeA-Bcz5dDyw.js} +1 -1
- package/dist/assets/{treasuryColorHelper-D9SYrM7P-BSV-pyTr.js → treasuryColorHelper-CNX5IuXX-6ZEgxHO3.js} +1 -1
- package/dist/assets/{uploadAttachment-BZTALP74-CMQrMwY6.js → uploadAttachment-D42oX05_-CRxK5DEq.js} +29 -29
- package/dist/assets/{uploadReceipts-BH9fi3Vt-BX0VLBie.js → uploadReceipts-Buvz7DfG-DslgfUmv.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +5 -5
- package/dist/assets/AccountInfoPage-BoCzcaQW-DxViWInp.js +0 -18
- package/dist/assets/AccountRow-vtPa0PJn-7t40o2xY.js +0 -298
- package/dist/assets/BillingSettingsPage-Bm-IF_p7-B2nr2Ym9.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-CVAG78EK-BtgBzs2i.js +0 -1
- package/dist/assets/BusinessVerificationPage-Ctqy7ZwA-B19QLCB_.js +0 -140
- package/dist/assets/ChargeCardListPage-CXbTalVQ-BLS6RI4m.js +0 -355
- package/dist/assets/ChargeCardPromoPage-BTfg7L28-C7ss_wBa.js +0 -175
- package/dist/assets/CheckDepositDrawerPage-yUzhTMSu-yF_A9nEJ.js +0 -206
- package/dist/assets/ConfettiBurst-C2engbkN-CwjTl8ph.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-DzzvTpfs-CZltUaaq.js +0 -1
- package/dist/assets/CustomerOnboardingPage-BiUXryld-C60LhynS.js +0 -107
- package/dist/assets/Dashboard-B1UeMAoF-DFffWJks.js +0 -778
- package/dist/assets/DomesticWireDetailsPage-CVKheLW6-BB1dLHxc.js +0 -21
- package/dist/assets/EditPeoplePage-DgVDgYlm-BOZM-HHs.js +0 -55
- package/dist/assets/HelpButton-CzonsAOi-CpJGWOZd.js +0 -28
- package/dist/assets/InvitePeoplePage-BnlUrpPG-CtGFkSs6.js +0 -12
- package/dist/assets/LabeledDocumentField-BKPP0tRe-uJ2UBUcm.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-NsCaPjuf-C6RA1FA0.js +0 -59
- package/dist/assets/NoDataChart-CydgbaO2-DdRkmdPL.js +0 -26
- package/dist/assets/NotificationsListConfig-BrTtuTMy-BLAPlV59.js +0 -1
- package/dist/assets/ReimbursementDetailPage-BSWNsboq-BCQrIgF4.js +0 -314
- package/dist/assets/StatementsPage-ly5aBK2M-BYfgG9ys.js +0 -58
- package/dist/assets/TaskManagementPage-CQL5Q6wr-BoN297Gh.js +0 -508
- package/dist/assets/TimeframeSwitcherWithToggle-CuU7mRU9-BVXkT6kO.js +0 -31
- package/dist/assets/TransactionListPage-DuAk6fJT-YMk07RwL.js +0 -35
- package/dist/assets/TrendChart-Dp3QrDED-Dtv6XBVa.js +0 -16
- package/dist/assets/ZeniAccountNavBarPieces-bthmMpbV-Dx0UH75I.js +0 -14
- package/dist/assets/analytics-BSSiLa6f.js +0 -7
- package/dist/assets/mui-BgvZYSo0.js +0 -22
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as z,u as _,M as L,j as o,
|
|
1
|
+
import{X as z,u as _,M as L,j as o,bK as H,o as r,gk as ie,p as R,K as ce,v as Q,b1 as Z,C as ee,gl as de,gm as pe,cp as te,b2 as A,ao as ue,w as oe,gn as he,a$ as re,t as ge,go as me,gp as xe,q as N,an as fe,l as M,gq as ye,z as Ce,gr as be,gs as ve,g as we,cm as $e,be as Se,fs as je,d as ke,h as V,a2 as Le,ft as Oe,a5 as Ee}from"./index-LFy5NlUr.js";import{b as a,n as l,k as Ie}from"./vendor-CnQcJ2Lu.js";const Me=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
align-items: center;
|
|
@@ -6,7 +6,7 @@ import{X as z,u as _,M as L,j as o,bL as H,o as r,gn as ie,p as B,K as ce,q as Q
|
|
|
6
6
|
color: ${e=>e.theme.colors.primary};
|
|
7
7
|
width: ${r.sp3};
|
|
8
8
|
height: ${r.sp3};
|
|
9
|
-
`,W=({value:e,defaultMenuIsOpen:t=!1,options:n,placeHolder:i,onChange:p,getOptionLabel:s})=>{const C=_(),y=a.useRef(null),h=
|
|
9
|
+
`,W=({value:e,defaultMenuIsOpen:t=!1,options:n,placeHolder:i,onChange:p,getOptionLabel:s})=>{const C=_(),y=a.useRef(null),h=Be(C),b=n.find(x=>x.value===e);return a.useEffect(()=>{const x=setTimeout(()=>{y.current!=null&&t&&y.current.focus()},300);return()=>{clearTimeout(x)}},[t]),o.jsx(Z,{ref:y,isMulti:!1,value:b,onChange:x=>{p(x)},placeholder:i,options:n,styles:h,openMenuOnFocus:!0,components:{Option:x=>Fe(x,s),SingleValue:x=>Te(x,s)}})},Te=(e,t)=>{const n=t?.(e.data.value)??e.data.label;return o.jsx(A.SingleValue,{...e,children:o.jsx(ue,{children:n})})},Fe=(e,t)=>{const{isSelected:n}=e,i=t?.(e.data.value)??e.data.label;return o.jsx(A.Option,{...e,children:o.jsxs(Me,{children:[o.jsx(oe,{children:i}),n?o.jsx(Ae,{}):null]})})},Be=e=>({placeholder:t=>({...t,color:e.colors.grey1,...Q.standardRegular.cssObject}),input:t=>({...t,color:e.colors.primary,margin:0,padding:0}),control:t=>({...t,backgroundColor:e.colors.background,border:"none",boxShadow:"none",height:r.sp6,cursor:"pointer"}),valueContainer:t=>({...t,height:"100%",padding:`${r.sp2} ${r.sp3}`}),indicatorSeparator:t=>({...t,display:"none"}),indicatorsContainer:t=>({...t,display:"none"}),option:(t,n)=>({...t,padding:`${r.sp2} ${r.sp3}`,cursor:"pointer",color:n.isSelected||n.isFocused?e.colors.primary:e.colors.hero,background:n.isSelected||n.isFocused?e.colors.background:e.colors.grey5,":hover":{color:e.colors.primary,backgroundColor:e.colors.background}}),singleValue:t=>({...t,color:e.colors.primary,margin:0}),menuList:t=>({...t,backgroundColor:e.colors.grey5,maxHeight:"320px"}),menu:t=>({...t,boxShadow:`${r.sp0} 2px ${r.sp2} ${e.colors.dropShadowHover}`})}),Re="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.8999%205.04416L9.65575%2017.6653C9.48897%2017.8247%209.29152%2017.9484%209.07541%2018.0291C8.85929%2018.1097%208.62902%2018.1456%208.39862%2018.1345C8.17133%2018.1236%207.94853%2018.0673%207.7434%2017.9689C7.53827%2017.8704%207.35499%2017.7318%207.20439%2017.5612L1.17558%2010.7125'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",ze=l.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
align-items: flex-start;
|
|
12
12
|
padding: ${r.sp2} ${r.sp3};
|
|
@@ -49,14 +49,14 @@ import{X as z,u as _,M as L,j as o,bL as H,o as r,gn as ie,p as B,K as ce,q as Q
|
|
|
49
49
|
color: ${e=>e.theme.colors.primary};
|
|
50
50
|
height: 10px;
|
|
51
51
|
width: 10px;
|
|
52
|
-
`,
|
|
52
|
+
`,Ye=l(Ee)`
|
|
53
53
|
overflow: hidden;
|
|
54
54
|
text-overflow: ellipsis;
|
|
55
|
-
`,Ke=({options:e,value:t,placeHolder:n,filterCategoryType:i,searchAutoCompleteData:p,searchAutoCompleteActions:s,onChange:C})=>{const y=_(),h=ve(y),[b,x]=a.useState(e);a.useEffect(()=>{i==="searchAutocomplete"&&p?.entityAutoCompleteView.fetchState==="Completed"&&x(d=>ye([...d,...p?.entityAutoCompleteView!=null?
|
|
55
|
+
`,Ke=({options:e,value:t,placeHolder:n,filterCategoryType:i,searchAutoCompleteData:p,searchAutoCompleteActions:s,onChange:C})=>{const y=_(),h=ve(y),[b,x]=a.useState(e);a.useEffect(()=>{i==="searchAutocomplete"&&p?.entityAutoCompleteView.fetchState==="Completed"&&x(d=>ye([...d,...p?.entityAutoCompleteView!=null?Xe(p?.entityAutoCompleteView):[]],"value"))},[p?.entityAutoCompleteView.fetchState]);const S=i==="searchAutocomplete"?t.map(d=>({label:d,value:d})):t.map(d=>b.find(f=>f.value===d)),v=a.useRef(Ce(d=>s?.onAutoCompleteInputChange?.(d),500,{trailing:!0})).current,j=p?.entityAutoCompleteView.fetchState,O={options:e,filterCategoryType:i,searchAutoCompleteStatus:j},$=L.getLocalizedStrings().common.filters;return o.jsx(ze,{children:i==="dateRange"?o.jsx(be,{onDateRangeChange:d=>{C([{label:$.startDate,value:d.startDate??""},{label:$.endDate,value:d.endDate??""}])},selectedDates:t}):o.jsxs(_e,{children:[S.length===0&&i==="user"&&o.jsx(Ve,{}),o.jsx(Z,{...O,isMulti:!0,hideSelectedOptions:!1,value:S,onInputChange:d=>{i==="searchAutocomplete"&&v(d)},onChange:d=>{C(d)},placeholder:n,options:b,styles:h,menuPosition:"fixed",components:{Option:Ge,MultiValueLabel:qe,MultiValueRemove:Je},filterOption:(d,f)=>Ze(d,f,i),noOptionsMessage:()=>Qe(i,j)})]})})},Xe=e=>(e?.vendor.map(t=>({label:t.name,value:t.name}))??[]).sort((t,n)=>(t.label??"").localeCompare(n.label??"")),qe=e=>{const{selectProps:t}=e,{options:n,filterCategoryType:i}=t,p=n.findIndex(s=>s.value===e.data.value);return o.jsx(A.MultiValueLabel,{...e,children:o.jsxs(Pe,{children:[ne(e.data.photo,e.data.label.split(" ")[0],e.data.label.split(" ")[1]!=null?e.data.label.split(" ")[1]:"",p,i),o.jsx(Ye,{children:e.children})]})})},Ge=e=>{const{onMouseMove:t,onMouseOver:n,isSelected:i,...p}=e.innerProps,{options:s,filterCategoryType:C}=e.selectProps,y=s.findIndex(b=>b.value===e.data.value),h={...e,innerProps:p};return o.jsx(A.Option,{...h,children:o.jsxs(He,{children:[o.jsxs(De,{children:[ne(e.data.photo,e.data.label.split(" ")[0],e.data.label.split(" ")[1]!=null?e.data.label.split(" ")[1]:"",y,C),o.jsx(oe,{children:e.label})]}),e.isSelected&&o.jsx(We,{})]})})},Je=e=>o.jsx(A.MultiValueRemove,{...e,children:o.jsx(Ue,{})}),Qe=(e,t)=>{const n=L.getLocalizedStrings().common.filters;if(e==="searchAutocomplete"){if(t==="In-Progress")return o.jsx(ke,{size:"Small-Compact",start:!0});if(t==="Not-Started")return null;if(t==="Completed")return o.jsx(V,{children:n.noMatchesFound})}return o.jsx(V,{children:n.noOptions})},ne=(e,t,n,i,p)=>p!=="user"?null:e==null?o.jsx(Oe,{firstName:t,lastName:n,size:`${r.sp3}`,index:i,fontSize:"9px"}):o.jsx(Ne,{src:e.href,alt:L.getLocalizedStrings().common.filters.userProfileAltText,onError:({currentTarget:s})=>{s.onerror=null,s.src=Re},loading:"lazy"}),Ze=(e,t,n)=>n==="user"&&e.data.email!=null?e.data.label.toLowerCase().includes(t.toLowerCase())||e.data.email.toLowerCase().includes(t.toLowerCase()):e.data.label.toLowerCase().includes(t.toLowerCase()),T={categoryCombinationOperator:"AND",categories:[]},le={valuesCombinationOperator:"ANY",values:[],matchingOperator:"equal"},F=(e,t)=>{switch(e){case"bill_pay":return M.BILL_PAY_FILTER_CATEGORIES;case"reimbursement":return M.hideCreatedByFilter(t)?M.REIMBURSEMENT_FILTER_CATEGORIES_RESTRICTED:M.REIMBURSEMENT_FILTER_CATEGORIES;case"task_management":return M.TASK_LIST_FILTER_CATEGORIES}},B=(e,t)=>{if(e==="bill_pay"){const n=t;return L.getLocalizedStrings().spendManagement.filters.filterCategories.bills[n]}if(e==="reimbursement"){const n=t;return L.getLocalizedStrings().spendManagement.filters.filterCategories.reimbursements[n]}if(e==="task_management"){const n=t;return L.getLocalizedStrings().spendManagement.filters.filterCategories.taskManagement[n]}return""},et=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?{categoryCombinationOperator:"AND",categories:[{...le,field:t.value}]}:{...e,categories:e.categories.map((i,p)=>p!==n?i:{...i,field:t.value,values:[]})},tt=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((i,p)=>p!==n?i:{...i,matchingOperator:t.value})},ot=({currentFilters:e,selectedOptions:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((i,p)=>p!==n?i:{...i,values:t.map(s=>s.value)})},rt={width:new ee(215,315)},U=l.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
row-gap: ${r.sp4};
|
|
59
|
-
`,
|
|
59
|
+
`,Y=l.div`
|
|
60
60
|
display: flex;
|
|
61
61
|
column-gap: ${r.sp3};
|
|
62
62
|
align-items: flex-start;
|
|
@@ -65,9 +65,9 @@ import{X as z,u as _,M as L,j as o,bL as H,o as r,gn as ie,p as B,K as ce,q as Q
|
|
|
65
65
|
`,K=l.div`
|
|
66
66
|
width: 90px;
|
|
67
67
|
color: ${e=>e.theme.colors.primary};
|
|
68
|
-
`,
|
|
68
|
+
`,X=l.div`
|
|
69
69
|
width: 194px;
|
|
70
|
-
`,
|
|
70
|
+
`,q=l.button`
|
|
71
71
|
display: flex;
|
|
72
72
|
align-items: center;
|
|
73
73
|
column-gap: ${r.sp1};
|
|
@@ -98,7 +98,7 @@ import{X as z,u as _,M as L,j as o,bL as H,o as r,gn as ie,p as B,K as ce,q as Q
|
|
|
98
98
|
display: flex;
|
|
99
99
|
justify-content: space-between;
|
|
100
100
|
align-items: center;
|
|
101
|
-
`,
|
|
101
|
+
`,G=l(fe)`
|
|
102
102
|
color: ${e=>e.theme.colors.primary};
|
|
103
103
|
`,it=l.button`
|
|
104
104
|
display: ${e=>e.windowSize==="small"?"none":"block"};
|
|
@@ -139,7 +139,7 @@ import{X as z,u as _,M as L,j as o,bL as H,o as r,gn as ie,p as B,K as ce,q as Q
|
|
|
139
139
|
align-items: flex-start;
|
|
140
140
|
column-gap: ${r.sp3};
|
|
141
141
|
animation: ${ut} 0.4s;
|
|
142
|
-
`,ae=a.forwardRef(({filters:e,filterValues:t,selectedEntity:n,vendorSearchAutoCompleteData:i,vendorSearchAutoCompleteActions:p,onFiltersChange:s},C)=>{const y=ge(),h=z(),b=a.useCallback((c,u)=>{const g=et({currentFilters:e,selectedOption:c,categoryIndex:u});s(g)},[e,s]),x=a.useCallback((c,u)=>{const g=tt({currentFilters:e,selectedOption:c,categoryIndex:u});s(g)},[e,s]),S=a.useCallback(c=>{if(e!=null){const u={...e,categoryCombinationOperator:c};s(u)}},[e,s]),v=a.useCallback(c=>{if(c===0&&e.categories!=null&&e.categories.length===1){s(T);return}if(e.categories!=null&&e.categories.length!==0){if([...e.categories.slice(0,c),...e.categories.slice(c+1)].filter(u=>u.field!=null).length){const u={...e,categories:[...e.categories.slice(0,c),...e.categories.slice(c+1)]};s(u);return}s(T)}},[s,e]),j=()=>{e.categories!=null&&e.categories.length&&s({...e,categories:[...e.categories,{...le}]})},O=()=>{s(T)},$=a.useCallback((c,u)=>{const g=ot({currentFilters:e,selectedOptions:c,categoryIndex:u});s(g)},[e,s]),d=L.getLocalizedStrings().spendManagement.filters,f=()=>e.categories!=null&&e.categories.length!==0?o.jsxs(st,{children:[o.jsxs(
|
|
142
|
+
`,ae=a.forwardRef(({filters:e,filterValues:t,selectedEntity:n,vendorSearchAutoCompleteData:i,vendorSearchAutoCompleteActions:p,onFiltersChange:s},C)=>{const y=ge(),h=z(),b=a.useCallback((c,u)=>{const g=et({currentFilters:e,selectedOption:c,categoryIndex:u});s(g)},[e,s]),x=a.useCallback((c,u)=>{const g=tt({currentFilters:e,selectedOption:c,categoryIndex:u});s(g)},[e,s]),S=a.useCallback(c=>{if(e!=null){const u={...e,categoryCombinationOperator:c};s(u)}},[e,s]),v=a.useCallback(c=>{if(c===0&&e.categories!=null&&e.categories.length===1){s(T);return}if(e.categories!=null&&e.categories.length!==0){if([...e.categories.slice(0,c),...e.categories.slice(c+1)].filter(u=>u.field!=null).length){const u={...e,categories:[...e.categories.slice(0,c),...e.categories.slice(c+1)]};s(u);return}s(T)}},[s,e]),j=()=>{e.categories!=null&&e.categories.length&&s({...e,categories:[...e.categories,{...le}]})},O=()=>{s(T)},$=a.useCallback((c,u)=>{const g=ot({currentFilters:e,selectedOptions:c,categoryIndex:u});s(g)},[e,s]),d=L.getLocalizedStrings().spendManagement.filters,f=()=>e.categories!=null&&e.categories.length!==0?o.jsxs(st,{children:[o.jsxs(q,{onClick:j,children:[o.jsx(nt,{}),o.jsx(N,{children:d.addFilterBtnText})]}),o.jsxs(q,{onClick:O,children:[o.jsx(lt,{}),o.jsx(N,{children:d.clearAllBtnText})]})]}):null,E=()=>e.categories==null||e.categories.length===0?o.jsx(U,{children:o.jsx(Y,{children:o.jsxs(J,{children:[o.jsx(K,{children:o.jsx(G,{children:d.filterByLabel})}),o.jsx(X,{children:o.jsx(W,{defaultMenuIsOpen:!0,onChange:b,placeHolder:d.categoryPlaceholder,getOptionLabel:c=>B(n,c),options:F(n,y.loggedInUserRole)})})]})})}):o.jsx(a.Fragment,{children:e.categories.map((c,u)=>{const g=F(n,y.loggedInUserRole??[]).find(w=>w.value===c.field),k=g?.type,m=g!=null?B(n,g?.value):"";return o.jsxs(Y,{windowSize:h,children:[o.jsxs(J,{children:[o.jsxs(K,{children:[u===0&&o.jsx(G,{children:d.filterByLabel}),u!==0?o.jsx(me,{categoryCombinationOperator:e.categoryCombinationOperator,onChange:S,buttonsDisabled:u>1}):null]}),o.jsx(X,{children:o.jsx(W,{value:c.field,placeHolder:d.categoryPlaceholder,onChange:w=>b(w,u),getOptionLabel:w=>B(n,w),options:F(n,y.loggedInUserRole??[])})})]}),c.field?o.jsxs(ht,{children:[o.jsx(at,{children:o.jsx(xe,{categoryIndex:u,value:c.matchingOperator,onChange:x})}),o.jsxs(dt,{children:[o.jsx(pt,{windowSize:h,children:o.jsx(Ke,{options:t[c.field]!=null?t[c.field]:[],placeHolder:k==="searchAutocomplete"?d.searchPlaceholder:`${d.select} ${m}`,value:c.values,filterCategoryType:k??"dropdown",onChange:w=>$(w,u),valuesCombinationOperator:c.valuesCombinationOperator,searchAutoCompleteData:i,searchAutoCompleteActions:p})}),o.jsx(it,{onClick:()=>v(u),windowSize:h,children:o.jsx(ct,{})})]})]}):null]},c.field?c.field+u:u)})});return o.jsxs(U,{ref:C,children:[E(),f()]})});ae.displayName="FiltersSelection";const gt=l.div`
|
|
143
143
|
padding-top: ${r.sp4};
|
|
144
144
|
padding-bottom: ${r.sp4};
|
|
145
145
|
box-sizing: border-box;
|
|
@@ -157,7 +157,7 @@ import{X as z,u as _,M as L,j as o,bL as H,o as r,gn as ie,p as B,K as ce,q as Q
|
|
|
157
157
|
`,xt=l.div`
|
|
158
158
|
padding-left: ${r.sp4};
|
|
159
159
|
padding-right: ${r.sp4};
|
|
160
|
-
`,ft=({entity:e,filters:t,vendorSearchAutoCompleteData:n,vendorSearchAutoCompleteActions:i,disableFilters:p=!1,transactionsLoaded:s=!0,createdByUserListLoaded:C=!0,analytics:y,groupByFiltersComponent:h,onFiltersChange:b,getCategoryWiseOptions:x})=>{const S=a.useRef(null),[v,j]=a.useState(!1),O=a.useRef(!1),[$,d]=a.useState({bill_pay:{},reimbursement:{},task_management:{}}),[f,E]=a.useState("auto"),c=a.useRef(null),u=z(),g=a.useCallback(()=>{j(!1)},[]),k=L.getLocalizedStrings().common.strings.empty,m=a.useCallback(()=>{e!=="task_management"&&y?.trackSpendManagmentFilterClick(e),p===!1&&j(!0)},[p,y,e]);a.useEffect(()=>{x&&Object.keys($[e]).length===0&&C&&s&&d(I=>({...I,[e]:x()}))},[e,$,s,C]);const w=a.useCallback(()=>{if(t?.categories==null||t.categories.length===0)return h!=null?88+h.height:88;const I=c.current,D=I!=null?I.clientHeight:0;return u==="small"?"auto":
|
|
160
|
+
`,ft=({entity:e,filters:t,vendorSearchAutoCompleteData:n,vendorSearchAutoCompleteActions:i,disableFilters:p=!1,transactionsLoaded:s=!0,createdByUserListLoaded:C=!0,analytics:y,groupByFiltersComponent:h,onFiltersChange:b,getCategoryWiseOptions:x})=>{const S=a.useRef(null),[v,j]=a.useState(!1),O=a.useRef(!1),[$,d]=a.useState({bill_pay:{},reimbursement:{},task_management:{}}),[f,E]=a.useState("auto"),c=a.useRef(null),u=z(),g=a.useCallback(()=>{j(!1)},[]),k=L.getLocalizedStrings().common.strings.empty,m=a.useCallback(()=>{e!=="task_management"&&y?.trackSpendManagmentFilterClick(e),p===!1&&j(!0)},[p,y,e]);a.useEffect(()=>{x&&Object.keys($[e]).length===0&&C&&s&&d(I=>({...I,[e]:x()}))},[e,$,s,C]);const w=a.useCallback(()=>{if(t?.categories==null||t.categories.length===0)return h!=null?88+h.height:88;const I=c.current,D=I!=null?I.clientHeight:0;return u==="small"?"auto":R[7]+(D>0?D:88)+(h!=null?h.height:0)},[t,u,h]);a.useEffect(()=>{if(v!==O.current){E("auto");return}E(w())},[w,v]),a.useEffect(()=>{O.current=v},[v]),a.useEffect(()=>{f==="auto"&&E(w())},[f,w]);const se=()=>o.jsx(he,{anchorEl:S.current,open:v,onClose:g,paperStyle:{overflow:"visible"},children:o.jsxs(gt,{height:f,windowSize:u,children:[h!=null?o.jsx(mt,{children:h?.component}):null,o.jsx(xt,{children:o.jsx(ae,{filters:t,onFiltersChange:b,filterValues:$[e],selectedEntity:e,ref:c,vendorSearchAutoCompleteActions:i,vendorSearchAutoCompleteData:n})})]})},t?.categories==null||t.categories.length===0?"smallBox":"largeBox"),P=t?.categories==null||t?.categories.length===0?0:t.categories.filter(I=>I.field!=null&&I.values.length>0).length;return o.jsxs(a.Fragment,{children:[o.jsx(de,{searchPlaceholder:k,isFilterBtnActive:v||P>0,ref:S,isFilterDisabled:p,onFilterButtonClick:m,filtersCount:P,includeSearch:!1,filterText:k}),p!=!0&&se()]})},yt=e=>a.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M18.8447 9.03137L22.4962 11.5418V21.127C22.4962 21.4902 22.3519 21.8385 22.0951 22.0953C21.8383 22.3521 21.4901 22.4963 21.1269 22.4963H2.86932C2.50615 22.4963 2.15786 22.3521 1.90106 22.0953C1.64427 21.8385 1.5 21.4902 1.5 21.127V11.5418L5.15151 9.03137",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M4.24207 19.7577L8.80646 16.1062H15.1966L19.761 19.7577",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M22.5 11.5416L17.0227 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M1.50378 11.5416L6.98105 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M18.8446 13.9754V2.41288C18.8446 2.17077 18.7484 1.93857 18.5772 1.76738C18.406 1.59618 18.1738 1.5 17.9317 1.5H6.06431C5.8222 1.5 5.59 1.59618 5.4188 1.76738C5.24761 1.93857 5.15143 2.17077 5.15143 2.41288V13.9754",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M9.23108 5.55005H14.7654",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M9.23108 8.83069H13.3818",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M9.23108 12.0398H10.9606",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:Ct}=L.getLocalizedStrings(),bt={filterIconContainerPaddingRight:new ee(18,10)};function At({spendManagementSectionProps:e}){const{entity:t,moreIconContainerStyle:n,searchTextBoxStyle:i,disableDownloadButton:p,filters:s,searchText:C,downloadParams:y,downloadState:h,showSettingsIcon:b=!0,showSettingsIconOnNavbar:x,showDownloadButtonOnNavbar:S,showStatementButtonOnNavbar:v,showPayEarlyButtonOnNavbar:j,groupByFiltersComponent:O,updateDownloadStateHandler:$,onMenuOpen:d}=e,f=z(),E=_(),[c,u]=a.useState(void 0);a.useEffect(()=>{h!=="Error"&&u(!1)},[h]);let g=Ct.moreMenuOptions;x||(g=g.filter(m=>m.value!=="settings")),v||(g=g.filter(m=>m.value!=="statements")),j||(g=g.filter(m=>m.value!=="payEarly")),S||(g=g.filter(m=>m.value!=="download"));const k={};return e.entity==="charge_cards"?k.width="275px":e.entity==="reimbursement"&&(k.width="208px"),o.jsxs($t,{children:[o.jsxs(wt,{isSearchOpen:e.isSearchOpen&&f==="small",windowsize:f,children:[f!=="small"&&!e.hideSearchBtn?o.jsx(H,{style:{position:"absolute",left:"unset",...i},placeholder:e.searchPlaceHolder,searchText:e.searchText,onSearchTextChanged:m=>{e.onSearchTextChanged?.(m)},onSearchOpen:e.onSearchOpen,inputWrapperStyle:k,searchIconMarginRight:e.entity==="charge_cards"?r.sp4:"10px"}):null,(e.entity==="bill_pay"||e.entity==="reimbursement"||e.entity==="task_management")&&e.onFiltersChange!=null?o.jsx(kt,{size:f,children:o.jsx(ft,{entity:e.entity,groupByFiltersComponent:O,onFiltersChange:e.onFiltersChange,filters:e.filters,getCategoryWiseOptions:e.getFilterOptions,vendorSearchAutoCompleteData:e.vendorSearchAutoCompleteData,vendorSearchAutoCompleteActions:e.vendorSearchAutoCompleteActions,createdByUserListLoaded:e.createdByUserListLoaded,analytics:e.analytics})}):null,e.showEntityEmailInfoIconOnNavbar===!0?o.jsx(jt,{onClick:e.onClickEmailInfoIcon,children:o.jsx(vt,{})}):null,b?o.jsx(St,{onClick:()=>u(void 0),style:n,children:t==="bill_pay"||t==="reimbursement"||t==="charge_cards"?o.jsx(ie,{entity:t,isMoreOption:!0,closeMenuOnSelect:!1,isMenuOpen:f!=="small"?c:void 0,options:g,onMenuOpen:d,customStyleConfig:{control:()=>({backgroundColor:"inherit",cursor:"pointer",border:"none",":hover":{backgroundColor:"inherit"}}),menu:m=>({...m,left:"23px",top:"29px",transform:"translateX(-100%)",width:"auto",backgroundColor:E.colors.grey5,borderRadius:r.sp1,boxShadow:`${r.sp0} 2px ${r.sp2} ${E.colors.dropShadowHover}`,whiteSpace:"nowrap"}),container:()=>({marginLeft:R[0]}),valueContainer:()=>({display:"flex","#react-select-2-placeholder":{marginRight:R[0],marginLeft:-1}})},onOptionSelection:m=>{m==="settings"?e.onClickSetupIcon?.():m==="statements"?e.onClickStatementsIcon?.():m==="payEarly"&&e.onClickPayEarlyIcon?.()},downloadProps:(t==="bill_pay"||t==="reimbursement")&&y!=null?{entity:t,isDisabled:p,filter:{filters:s,searchText:C},downloadParams:y,downloadState:h,updateDownloadStateHandler:$}:void 0}):o.jsx(Ot,{onClick:e.onClickSetupIcon})}):null,e.showNewButtonOnNavbar===!0?o.jsx(o.Fragment,{children:f==="small"?o.jsx(Lt,{onClick:e.onNewButtonClick,children:o.jsx(Et,{})}):o.jsx(ce,{variant:"primary",onClick:e.onNewButtonClick,label:e.newButtonLabel??"",size:"small",style:{height:"29px",paddingLeft:"12px",paddingRight:"12px",...Q.extraSmallRegular.cssObject,whiteSpace:"nowrap",display:"flex",alignItems:"center"}})}):null]}),f==="small"&&!e.hideSearchBtn?o.jsx(H,{style:{position:"absolute",left:"5px",right:f!=="small"?"120px":"unset",top:r.sp6,width:"98%"},placeholder:e.searchPlaceHolder,searchText:e.searchText,onSearchTextChanged:m=>{e.onSearchTextChanged?.(m)},onSearchOpen:e.onSearchOpen,keepSearchBoxOpen:!0,inputWrapperStyle:e.entity==="charge_cards"?{width:270}:{}}):null]})}const vt=l(yt)`
|
|
161
161
|
height: ${r.sp4};
|
|
162
162
|
width: ${r.sp4};
|
|
163
163
|
`,wt=l.div`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{X as Te,
|
|
1
|
+
import{X as Te,cf as Ge,u as qe,M as X,cn as Ye,a1 as se,eX as Ze,l as J,a7 as re,j as t,aQ as Ke,C as d,f3 as Je,f4 as Xe,f5 as Qe,bB as et,p as o,_ as tt,eY as ye,eZ as ve,o as i,Y as N,f6 as Le,d as pe,g as C,e_ as it,Q as _e,f7 as nt,e$ as at,w as ot,bs as $e,cy as lt,a6 as st,f8 as rt,f as ze,ae as Ae,f9 as ct,ck as dt}from"./index-LFy5NlUr.js";import{b as f,n}from"./vendor-CnQcJ2Lu.js";import{r as ut}from"./mui-C5LQ0bMa.js";import{S as pt}from"./ChargeCardUtils-C-37hd5J-B8Ue09Ej.js";import{X as ht}from"./CreditCardPaymentPlgSection-DD7kSp5v-BuL73gip.js";import{M as gt}from"./ChaseOverlay-BG833ttH-_qJdBH9y.js";import{K as mt}from"./SetUpDefaultSection-D0d0yzu8-BDWGdtc-.js";const Q={sectionWidth:new d(343,580,726),rowGap:new d(o[2],o[3]),footerPaddingLeftRight:new d(o[3],o[4])},ft={title:new _e("standardMedium","largeMedium")};function xt({plaidConnectionDetails:e,header:p,isAccountsEnabled:j=!0,analytics:x,pageName:b,accountsPromoConfig:v,style:A,onConnectClick:B,onSignUpClick:I}){const u=Te(),{setUp:c}=X.getLocalizedStrings().commonSetUp,m=e.link_account,P=m.fetchStatus.fetchState==="In-Progress"||m.updateStatus.fetchState==="In-Progress";return t.jsxs(St,{windowSize:u,style:A,"data-testid":N("default-account-section",b),children:[t.jsx(wt,{children:t.jsx(bt,{windowSize:u,children:p})}),t.jsxs(yt,{windowSize:u,width:A?.width,children:[t.jsx(Le,{heading:c.accountsPlg.heading,buttonText:c.accountsPlg.signUpButtonText,onSignUpClick:I,isAccountsEnabled:j,pageName:b,analytics:x,style:{borderTopLeftRadius:i.sp2,borderTopRightRadius:i.sp2},accountsPromoConfig:v}),t.jsxs($t,{windowSize:u,children:[t.jsxs(kt,{onClick:B,children:[t.jsx(Ct,{isLoading:P,children:c.connectExternalAccount}),P?null:t.jsx(jt,{className:"right-arrow"})]}),P?t.jsx(vt,{children:t.jsx(pe,{size:"ExtraSmall",start:!0,style:{display:"flex"}})}):null]})]})]})}const St=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
|
-
row-gap: ${e=>
|
|
4
|
+
row-gap: ${e=>Q.rowGap.valuePx(e.windowSize)};
|
|
5
5
|
`,wt=n.div`
|
|
6
6
|
display: flex;
|
|
7
7
|
align-items: center;
|
|
@@ -11,7 +11,7 @@ import{X as Te,cg as Ge,u as qe,M as Q,co as Je,a5 as se,e_ as Ye,l as K,ab as r
|
|
|
11
11
|
color: ${e=>e.theme.colors.primary};
|
|
12
12
|
${e=>`${ft.title.style(e.windowSize)}`};
|
|
13
13
|
`,yt=n.div`
|
|
14
|
-
width: ${e=>e.width!=null?e.width:
|
|
14
|
+
width: ${e=>e.width!=null?e.width:Q.sectionWidth.valuePx(e.windowSize)};
|
|
15
15
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
16
16
|
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
17
17
|
border-radius: ${i.sp2};
|
|
@@ -29,8 +29,8 @@ import{X as Te,cg as Ge,u as qe,M as Q,co as Je,a5 as se,e_ as Ye,l as K,ab as r
|
|
|
29
29
|
align-items: center;
|
|
30
30
|
padding-top: ${i.sp1};
|
|
31
31
|
padding-bottom: ${i.sp1};
|
|
32
|
-
padding-left: ${e=>
|
|
33
|
-
padding-right: ${e=>
|
|
32
|
+
padding-left: ${e=>Q.footerPaddingLeftRight.valuePx(e.windowSize)};
|
|
33
|
+
padding-right: ${e=>Q.footerPaddingLeftRight.valuePx(e.windowSize)};
|
|
34
34
|
background: ${e=>e.theme.colors.grey4};
|
|
35
35
|
border-radius: ${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2};
|
|
36
36
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -52,7 +52,7 @@ import{X as Te,cg as Ge,u as qe,M as Q,co as Je,a5 as se,e_ as Ye,l as K,ab as r
|
|
|
52
52
|
height: 12px;
|
|
53
53
|
cursor: pointer;
|
|
54
54
|
color: ${e=>e.theme.colors.hero};
|
|
55
|
-
`,r={labelWidth:new d(120,190,190),sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(o[6],o[7]),iconPadding:new d(10,12),rowGap:new d(o[2],o[3]),elementsMarginLeftRight:new d(o[3],o[4]),labeledFieldPaddingLeft:new d(o[3],o[0]),labeledFieldPaddingRight:new d(o[3],o[2]),labeledFieldPaddingTop:new d(o[3],o[3]),labeledFieldPaddingBottom:new d(o[3],o[2]),labeleMarginLeft:new d(o[0],o[4]),labeleMarginBottom:new d(o[2],o[0]),infoLabelPaddingRight:new d(o[0],o[3]),infoLabelMarginTop:new d(o[1],o[0]),iconWidthHeight:new d(20,o[4])},Pt={title:new _e("standardSemiBold","largeSemiBold")};function si({primaryFundingAccount:e,allFundingAccounts:p,allBankAccounts:j,plaidConnectionDetails:x,sectionId:b,isDisabled:v,icon:A,sectionTitle:D,style:I,analytics:u,productType:c,referrer:m,accountSelectContainerStyle:P,connectedAccountProvider:te,isCompleted:N=!1,showCompletedIcon:H=!1,showZeniAccountSection:ie=!0,isAccountsEnabled:$,accountsPromoConfig:T,pageName:G,onFetchLinkTokenClick:L,onEstablishConnectionClick:q,onUpdatePaymentAccountStatus:E,onEstablishConnectionSuccess:M,onSignUpClick:ne,bottomComponent:Ie}){const a=Te(),{trigger:Ee,formState:{errors:Re}}=Ge(),U=f.useRef(null),R=qe(),{setUp:h}=Q.getLocalizedStrings().commonSetUp,J=Q.getLocalizedStrings().spendManagement.chargeCard.payEarly;let y,he,l,S=!1;e!=null&&e.accType==="paymentAccount"&&(y=e.providerVerificationStatus,he=e?.institutionDetails,l=y?.code,S=e?.isLoginRequired??!1);const ae=ke(b,"account"),Be=Je(Re,ae),[_,Y]=f.useState(void 0),g=x.link_account,z=x.update_account,w=_==="update_account"?z:g,[B,ge]=f.useState(w.linkToken??null),[O,Z]=f.useState(!1),[De,me]=f.useState(!1),fe=se(g.updateStatus.fetchState),oe=se(z.updateStatus.fetchState),Me=se(z.fetchStatus.fetchState),Ue=f.useCallback((s,k)=>{u.trackConnectBankSuccess(c,m);const be=k.accounts.find(He=>He.id===e?.providerAccountId)??k.accounts[0];e?.id!=null&&_==="update_account"&&be?.verification_status!=null&&!S?E(be?.verification_status,e.id,"update_account"):q(s,_),Y(void 0),Z(!1)},[u,m,c,e?.id,e?.providerAccountId,_,S,E,q]),Oe=f.useCallback((s,k)=>{s!=null&&(u.trackConnectBankFailure(c,s.error_code+" "+s.error_message,m),s.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e?.id!=null&&E("verification_failed",e.id,"update_account"),console.log("Plaid Connection Error",s,k)),Y(void 0),Z(!1)},[u,c,m,e?.id,E]),{open:F,ready:xe}=Ye({token:B,onSuccess:Ue,onExit:Oe});f.useEffect(()=>{(fe==="In-Progress"&&g.updateStatus.fetchState==="Completed"||oe==="In-Progress"&&z.updateStatus.fetchState==="Completed")&&l!=="verified"&&l!=="manually_verified"&&l!=="automatically_verified"&&l!=="database_matched"&&(L("link_account"),M())},[g.updateStatus.fetchState,M,L,e?.providerVerificationStatus?.code,e?.id,fe,oe,z.updateStatus.fetchState,l]),f.useEffect(()=>{(K.isVerifiedStatusCode(l??"")||l==="verification_failed")&&!O&&_!=null&&w.linkToken===B&&w.fetchStatus.fetchState==="Completed"&&xe&&Z(!0)},[xe,B,w.fetchStatus.fetchState,w.linkToken,l,_,O]),f.useEffect(()=>{w.fetchStatus.fetchState==="Completed"&&w.linkToken!=null&&w.linkToken!==B&&ge(w.linkToken)},[w.fetchStatus.fetchState,w.linkToken,B]),f.useEffect(()=>{O&&F()},[O,F]),f.useEffect(()=>{!e?.zeniAccountId&&!Be&&Ee(ae)},[e?.id]),f.useEffect(()=>{(l==null||l==="verification_failed"||l==="verification_expired"||K.isVerifiedStatusCode(l))&&(K.zeniDate(new Date().toISOString()).isAfter(g.expiration)||g.linkToken==null)&&L("link_account")},[]);const Fe=()=>{u.trackConnectBankGetBalance(c,m),Y("update_account"),L("update_account",e?.id)},Se=`${e?.accountSubType?.name!=null?e?.accountSubType?.name.substring(0,1).toUpperCase().concat(e?.accountSubType?.name.substring(1)):""} ${e?.maskedAccountNumber??""}`.trim(),le=g.fetchStatus.fetchState==="In-Progress"||g.updateStatus.fetchState==="In-Progress",We=p.findIndex(s=>s.id===e?.id),Ve=()=>{me(!0)},Ne=R.mode==="light"?new re(R.colors.brandColorJadeLight):new re(R.colors.brandColorJadeDark);if(e==null&&p.length===0)return c==="zeni_accounts"?t.jsx(mt,{onClick:()=>{(l==null||l==="verification_failed"||l==="verification_expired")&&(u.trackConnectBank(c,m),F())},title:h.achTitle,subTitle:h.achSubTitle,header:h.paymentSource,isCompleted:N,showCompletedIcon:H,icon:{element:t.jsx(Ze,{width:r.iconWidthHeight.valuePx(a),height:r.iconWidthHeight.valuePx(a)}),color:new re(Ne)},isLoading:le,status:y}):t.jsx(Ce,{windowSize:a,style:I,children:t.jsx(xt,{header:h.paymentSource,plaidConnectionDetails:x,onConnectClick:()=>{(l==null||l==="verification_failed"||l==="verification_expired")&&(u.trackConnectBank(c,m),F())},onSignUpClick:ne,isAccountsEnabled:!1,analytics:u,pageName:G,accountsPromoConfig:T})});const we=he?.zeniInstitutionId.toLowerCase()==="chase";return t.jsxs(Ce,{windowSize:a,style:I,children:[De===!0?ut.createPortal(t.jsx(gt,{connectedAccountProvider:te,action:{onBackClick:()=>me(!1)}}),document.body):null,t.jsxs(Wt,{children:[H===!0?t.jsx(Nt,{children:N?t.jsx(Ht,{}):t.jsx(Gt,{})}):null,t.jsx(Vt,{windowSize:a,children:D??h.paymentSource})]}),t.jsxs(Ft,{windowSize:a,isDisabled:S,children:[t.jsxs(At,{windowSize:a,children:[t.jsxs(Bt,{children:[e!=null?t.jsx(Rt,{isDisabled:S,children:Tt(A,a,R.mode==="dark",e,We)}):null,t.jsxs(Kt,{children:[t.jsxs(qt,{children:[t.jsx(Ke,{ref:U,style:{display:a==="small"?"block":"inherit",width:"-webkit-fill-available"},customStyleConfig:{menu:()=>({width:a==="small"?"100%":"510px"})},controlProperty:{controlHeight:o[4],fontWeight:et.medium,highlightOnHover:!1,leftRightMargin:!1,fieldWidth:a==="small"?240:300},customPlaceholder:{color:R.colors.hero,weight:500},name:ke(b,"fundingAccount"),placeholder:h.selectAccountPlaceholder,capitalizeOptions:!0,appendSublabel:!1,showLogoInSingleValue:!1,isClearable:!1,maxMenuHeight:220,valueToLogo:(s,k)=>Xe(p,s,k),valueToSubLabels:(s,k)=>Qe(p,s,k,!1),defaultValue:{selectedOption:e?.id,allOptions:p.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},textAlignment:"left",showDownChevronIcon:!0,showTickIcon:!1,isOptionRemovable:!1,registerOptions:{required:!1},showCreateOption:!0,isDisabled:le?"disabled":void 0,showLoadingIcon:le,onClickCreateOption:()=>{u.trackConnectBank(c,m),Y("link_account"),g.linkToken==null||K.zeniDate(new Date().toISOString()).isAfter(g.expiration)?L("link_account"):B!==g.linkToken?ge(g.linkToken):O?F():Z(!0)}}),t.jsxs(Mt,{isDisabled:S,children:[Se?t.jsxs(t.Fragment,{children:[t.jsx(ee,{children:Se}),a!=="small"&&(l!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification"||S||we||e?.accountBalance?.available)?t.jsx(Yt,{}):null]}):null,l!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification"||S||we?t.jsx(Lt,{isUpdateLinkClicked:_==="update_account",isLoginRequired:S,isPendingVerification:l!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification",productType:c,fetchAndUpdateStatues:{fetchStatus:z.fetchStatus,updateStatus:z.updateStatus,linkFetchStatus:g.fetchStatus,linkUpdateStatus:g.updateStatus,prevFetchState:Me,prevUpdateState:oe},onUpdateLinkTokenClick:Fe,onChaseInfoClick:Ve}):e?.accountBalance?.available?t.jsx(ee,{children:tt("0,0[.]00",e?.accountBalance?.available)}):null]})]}),y!=null&&a==="small"?t.jsx(ye,{style:{width:"max-content",padding:0,marginTop:i.sp2},tagTitle:y.name,textColor:ve(y.code)}):null]})]}),t.jsx(Dt,{children:y!=null&&a!=="small"?t.jsxs(t.Fragment,{children:[t.jsx(ye,{style:{width:"max-content"},tagTitle:y.name,textColor:ve(y.code)}),t.jsx(Jt,{})]}):null})]}),ie?t.jsxs(It,{style:P,windowSize:a,isDisabled:S,onClick:s=>s.stopPropagation(),"data-testid":V("account-select-container",c),children:[t.jsx(Et,{isDisabled:S?"disabled":v,label:{label:h.zeniCashAccountLabel,width:a==="small"?void 0:r.labelWidth.value(a),style:{marginLeft:r.labeleMarginLeft.valuePx(a),marginBottom:r.labeleMarginBottom.valuePx(a)}},style:{paddingTop:r.labeledFieldPaddingTop.valuePx(a),paddingBottom:r.labeledFieldPaddingBottom.valuePx(a),paddingLeft:r.labeledFieldPaddingLeft.valuePx(a),paddingRight:r.labeledFieldPaddingRight.valuePx(a),borderRadius:i.sp2,border:`1px solid ${R.colors.grey3}`,width:"-webkit-fill-available",display:a==="small"?"block":"inherit"},infoLabelStyle:{textAlign:a==="small"?"left":"right",paddingRight:r.infoLabelPaddingRight.valuePx(a),marginTop:r.infoLabelMarginTop.valuePx(a)},singleSelectPickerField:{name:ae,placeholder:h.zeniCashAccountPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e?.zeniAccountId??"",allOptions:j.map(s=>({label:s.accountName,value:s.accountId}))},isOptionRemovable:!1,withBorder:a==="small",textAlignment:a==="small"?"left":"right",registerOptions:{required:!1}},valueToAdditionalLabel:()=>h.zeniCashAcoountInfo}),Ie]}):null,e?.accType==="paymentAccount"?c==="charge_cards"?t.jsx(ht,{style:{borderRadius:`${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2}`},maxInsuredAmount:T.maxInsuredAmount,heading:t.jsxs(_t,{windowSize:a,children:[J.earn,t.jsx(zt,{children:J.percentageCashback.replace("__percentage__",pt)}),J.whenYouPayViaZeniChecking]}),buttonText:$===!1?h.accountsPlg.signUpButtonText:h.accountsPlg.switchButtonText,isAccountsEnabled:$,pageName:J.creditCardPayment,onSignUpClick:ne,onSwitchClick:()=>{U.current!=null&&U.current.focus()}}):c!=="zeni_accounts"?t.jsx(Le,{heading:h.accountsPlg.heading,style:{borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},isAccountsEnabled:$,buttonText:$===!1?h.accountsPlg.signUpButtonText:h.accountsPlg.switchButtonText,analytics:u,pageName:G,onSignUpClick:ne,onSwitchClick:()=>{U.current!=null&&U.current.focus()},accountsPromoConfig:T}):null:null]})]})}const Tt=(e,p,j,x,b,v)=>x?.accType==="depositAccount"?t.jsx(Qt,{isOptionSelected:!0,children:t.jsx(Xt,{color:nt(b??0)})}):x?.institutionDetails?.logo?.base64!=null?t.jsx(Zt,{windowSize:p,src:`${at}${x?.institutionDetails.logo?.base64.toString()}`,alt:x?.institutionDetails.institutionName,loading:"lazy"}):v===!0?e.element:t.jsx(Ot,{iconColor:e.color,windowSize:p,isDarkMode:j,children:e.element}),Lt=({productType:e,isLoginRequired:p,isUpdateLinkClicked:j,isPendingVerification:x,fetchAndUpdateStatues:b,onUpdateLinkTokenClick:v,onChaseInfoClick:A})=>{const{commonSetUp:D}=Q.getLocalizedStrings(),{setUp:I}=D,{verifyAccount:u,verifyingAccount:c,verifyAccountError:m,reLogging:P,reLoginLabel:te,reLoginError:N,reLoginMessage:H,chaseLabel:ie}=I,{fetchStatus:$,updateStatus:T,linkFetchStatus:G,linkUpdateStatus:L,prevFetchState:q,prevUpdateState:E}=b,M=j&&q==="In-Progress"&&$?.fetchState==="Error"||E==="In-Progress"&&T?.fetchState==="Error";return p?$?.fetchState==="In-Progress"||T?.fetchState==="In-Progress"||G?.fetchState==="In-Progress"||L?.fetchState==="In-Progress"?t.jsxs(W,{style:{color:C.important},children:[t.jsx(ee,{children:P}),t.jsx(Pe,{children:t.jsx(pe,{size:"Small",start:!0,style:{display:"flex",color:C.important}})})]}):t.jsx(W,{style:{cursor:"pointer"},onClick:v,"data-testid":V("re-login-label-clicked"),children:t.jsx($e,{style:{padding:`12px ${i.sp3}`},title:H,placement:"bottom",maxWidth:"264px",children:t.jsxs(Ut,{children:[t.jsx(je,{style:{marginLeft:i.sp0,marginRight:i.sp1}}),t.jsx(ce,{isError:!0,style:{color:C.important},children:M?N:te}),t.jsx(de,{children:t.jsx(ue,{style:{color:C.important}})})]})})}):$?.fetchState==="In-Progress"||T?.fetchState==="In-Progress"?t.jsxs(W,{children:[t.jsx(ee,{children:c}),t.jsx(Pe,{children:t.jsx(pe,{size:"Small",start:!0,style:{display:"flex"}})})]}):x?t.jsxs(W,{onClick:v,"data-testid":V("verify-account-label-clicked",e),children:[t.jsx(ce,{isError:!1,children:u}),t.jsx(de,{children:t.jsx(ue,{})}),M?t.jsx($e,{maxWidth:"280px",style:{padding:`12px ${i.sp3}`,color:C.important},title:m,placement:"bottom",children:t.jsx(je,{})}):null]}):t.jsxs(W,{onClick:A,"data-testid":V("chase-info-label-clicked"),children:[t.jsx(ce,{isError:!1,children:ie}),t.jsx(de,{children:t.jsx(ue,{})})]})},ke=(e,p)=>`${e}.${p}`,_t=n(st)`
|
|
55
|
+
`,r={labelWidth:new d(120,190,190),sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(o[6],o[7]),iconPadding:new d(10,12),rowGap:new d(o[2],o[3]),elementsMarginLeftRight:new d(o[3],o[4]),labeledFieldPaddingLeft:new d(o[3],o[0]),labeledFieldPaddingRight:new d(o[3],o[2]),labeledFieldPaddingTop:new d(o[3],o[3]),labeledFieldPaddingBottom:new d(o[3],o[2]),labeleMarginLeft:new d(o[0],o[4]),labeleMarginBottom:new d(o[2],o[0]),infoLabelPaddingRight:new d(o[0],o[3]),infoLabelMarginTop:new d(o[1],o[0]),iconWidthHeight:new d(20,o[4])},Pt={title:new _e("standardSemiBold","largeSemiBold")};function si({primaryFundingAccount:e,allFundingAccounts:p,allBankAccounts:j,plaidConnectionDetails:x,sectionId:b,isDisabled:v,icon:A,sectionTitle:B,style:I,analytics:u,productType:c,referrer:m,accountSelectContainerStyle:P,connectedAccountProvider:te,isCompleted:V=!1,showCompletedIcon:H=!1,showZeniAccountSection:ie=!0,isAccountsEnabled:$,accountsPromoConfig:T,pageName:G,onFetchLinkTokenClick:L,onEstablishConnectionClick:q,onUpdatePaymentAccountStatus:E,onEstablishConnectionSuccess:M,onSignUpClick:ne,bottomComponent:Ie}){const a=Te(),{trigger:Ee,formState:{errors:Re}}=Ge(),D=f.useRef(null),R=qe(),{setUp:h}=X.getLocalizedStrings().commonSetUp,Y=X.getLocalizedStrings().spendManagement.chargeCard.payEarly;let y,he,l,S=!1;e!=null&&e.accType==="paymentAccount"&&(y=e.providerVerificationStatus,he=e?.institutionDetails,l=y?.code,S=e?.isLoginRequired??!1);const ae=ke(b,"account"),Ue=Ye(Re,ae),[_,Z]=f.useState(void 0),g=x.link_account,z=x.update_account,w=_==="update_account"?z:g,[U,ge]=f.useState(w.linkToken??null),[O,K]=f.useState(!1),[Be,me]=f.useState(!1),fe=se(g.updateStatus.fetchState),oe=se(z.updateStatus.fetchState),Me=se(z.fetchStatus.fetchState),De=f.useCallback((s,k)=>{u.trackConnectBankSuccess(c,m);const be=k.accounts.find(He=>He.id===e?.providerAccountId)??k.accounts[0];e?.id!=null&&_==="update_account"&&be?.verification_status!=null&&!S?E(be?.verification_status,e.id,"update_account"):q(s,_),Z(void 0),K(!1)},[u,m,c,e?.id,e?.providerAccountId,_,S,E,q]),Oe=f.useCallback((s,k)=>{s!=null&&(u.trackConnectBankFailure(c,s.error_code+" "+s.error_message,m),s.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e?.id!=null&&E("verification_failed",e.id,"update_account"),console.log("Plaid Connection Error",s,k)),Z(void 0),K(!1)},[u,c,m,e?.id,E]),{open:F,ready:xe}=Ze({token:U,onSuccess:De,onExit:Oe});f.useEffect(()=>{(fe==="In-Progress"&&g.updateStatus.fetchState==="Completed"||oe==="In-Progress"&&z.updateStatus.fetchState==="Completed")&&l!=="verified"&&l!=="manually_verified"&&l!=="automatically_verified"&&l!=="database_matched"&&(L("link_account"),M())},[g.updateStatus.fetchState,M,L,e?.providerVerificationStatus?.code,e?.id,fe,oe,z.updateStatus.fetchState,l]),f.useEffect(()=>{(J.isVerifiedStatusCode(l??"")||l==="verification_failed")&&!O&&_!=null&&w.linkToken===U&&w.fetchStatus.fetchState==="Completed"&&xe&&K(!0)},[xe,U,w.fetchStatus.fetchState,w.linkToken,l,_,O]),f.useEffect(()=>{w.fetchStatus.fetchState==="Completed"&&w.linkToken!=null&&w.linkToken!==U&&ge(w.linkToken)},[w.fetchStatus.fetchState,w.linkToken,U]),f.useEffect(()=>{O&&F()},[O,F]),f.useEffect(()=>{!e?.zeniAccountId&&!Ue&&Ee(ae)},[e?.id]),f.useEffect(()=>{(l==null||l==="verification_failed"||l==="verification_expired"||J.isVerifiedStatusCode(l))&&(J.zeniDate(new Date().toISOString()).isAfter(g.expiration)||g.linkToken==null)&&L("link_account")},[]);const Fe=()=>{u.trackConnectBankGetBalance(c,m),Z("update_account"),L("update_account",e?.id)},Se=`${e?.accountSubType?.name!=null?e?.accountSubType?.name.substring(0,1).toUpperCase().concat(e?.accountSubType?.name.substring(1)):""} ${e?.maskedAccountNumber??""}`.trim(),le=g.fetchStatus.fetchState==="In-Progress"||g.updateStatus.fetchState==="In-Progress",We=p.findIndex(s=>s.id===e?.id),Ne=()=>{me(!0)},Ve=R.mode==="light"?new re(R.colors.brandColorJadeLight):new re(R.colors.brandColorJadeDark);if(e==null&&p.length===0)return c==="zeni_accounts"?t.jsx(mt,{onClick:()=>{(l==null||l==="verification_failed"||l==="verification_expired")&&(u.trackConnectBank(c,m),F())},title:h.achTitle,subTitle:h.achSubTitle,header:h.paymentSource,isCompleted:V,showCompletedIcon:H,icon:{element:t.jsx(Ke,{width:r.iconWidthHeight.valuePx(a),height:r.iconWidthHeight.valuePx(a)}),color:new re(Ve)},isLoading:le,status:y}):t.jsx(Ce,{windowSize:a,style:I,children:t.jsx(xt,{header:h.paymentSource,plaidConnectionDetails:x,onConnectClick:()=>{(l==null||l==="verification_failed"||l==="verification_expired")&&(u.trackConnectBank(c,m),F())},onSignUpClick:ne,isAccountsEnabled:!1,analytics:u,pageName:G,accountsPromoConfig:T})});const we=he?.zeniInstitutionId.toLowerCase()==="chase";return t.jsxs(Ce,{windowSize:a,style:I,children:[Be===!0?ut.createPortal(t.jsx(gt,{connectedAccountProvider:te,action:{onBackClick:()=>me(!1)}}),document.body):null,t.jsxs(Wt,{children:[H===!0?t.jsx(Vt,{children:V?t.jsx(Ht,{}):t.jsx(Gt,{})}):null,t.jsx(Nt,{windowSize:a,children:B??h.paymentSource})]}),t.jsxs(Ft,{windowSize:a,isDisabled:S,children:[t.jsxs(At,{windowSize:a,children:[t.jsxs(Ut,{children:[e!=null?t.jsx(Rt,{isDisabled:S,children:Tt(A,a,R.mode==="dark",e,We)}):null,t.jsxs(Jt,{children:[t.jsxs(qt,{children:[t.jsx(Je,{ref:D,style:{display:a==="small"?"block":"inherit",width:"-webkit-fill-available"},customStyleConfig:{menu:()=>({width:a==="small"?"100%":"510px"})},controlProperty:{controlHeight:o[4],fontWeight:et.medium,highlightOnHover:!1,leftRightMargin:!1,fieldWidth:a==="small"?240:300},customPlaceholder:{color:R.colors.hero,weight:500},name:ke(b,"fundingAccount"),placeholder:h.selectAccountPlaceholder,capitalizeOptions:!0,appendSublabel:!1,showLogoInSingleValue:!1,isClearable:!1,maxMenuHeight:220,valueToLogo:(s,k)=>Qe(p,s,k),valueToSubLabels:(s,k)=>Xe(p,s,k,!1),defaultValue:{selectedOption:e?.id,allOptions:p.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},textAlignment:"left",showDownChevronIcon:!0,showTickIcon:!1,isOptionRemovable:!1,registerOptions:{required:!1},showCreateOption:!0,isDisabled:le?"disabled":void 0,showLoadingIcon:le,onClickCreateOption:()=>{u.trackConnectBank(c,m),Z("link_account"),g.linkToken==null||J.zeniDate(new Date().toISOString()).isAfter(g.expiration)?L("link_account"):U!==g.linkToken?ge(g.linkToken):O?F():K(!0)}}),t.jsxs(Mt,{isDisabled:S,children:[Se?t.jsxs(t.Fragment,{children:[t.jsx(ee,{children:Se}),a!=="small"&&(l!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification"||S||we||e?.accountBalance?.available)?t.jsx(Zt,{}):null]}):null,l!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification"||S||we?t.jsx(Lt,{isUpdateLinkClicked:_==="update_account",isLoginRequired:S,isPendingVerification:l!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification",productType:c,fetchAndUpdateStatues:{fetchStatus:z.fetchStatus,updateStatus:z.updateStatus,linkFetchStatus:g.fetchStatus,linkUpdateStatus:g.updateStatus,prevFetchState:Me,prevUpdateState:oe},onUpdateLinkTokenClick:Fe,onChaseInfoClick:Ne}):e?.accountBalance?.available?t.jsx(ee,{children:tt("0,0[.]00",e?.accountBalance?.available)}):null]})]}),y!=null&&a==="small"?t.jsx(ye,{style:{width:"max-content",padding:0,marginTop:i.sp2},tagTitle:y.name,textColor:ve(y.code)}):null]})]}),t.jsx(Bt,{children:y!=null&&a!=="small"?t.jsxs(t.Fragment,{children:[t.jsx(ye,{style:{width:"max-content"},tagTitle:y.name,textColor:ve(y.code)}),t.jsx(Yt,{})]}):null})]}),ie?t.jsxs(It,{style:P,windowSize:a,isDisabled:S,onClick:s=>s.stopPropagation(),"data-testid":N("account-select-container",c),children:[t.jsx(Et,{isDisabled:S?"disabled":v,label:{label:h.zeniCashAccountLabel,width:a==="small"?void 0:r.labelWidth.value(a),style:{marginLeft:r.labeleMarginLeft.valuePx(a),marginBottom:r.labeleMarginBottom.valuePx(a)}},style:{paddingTop:r.labeledFieldPaddingTop.valuePx(a),paddingBottom:r.labeledFieldPaddingBottom.valuePx(a),paddingLeft:r.labeledFieldPaddingLeft.valuePx(a),paddingRight:r.labeledFieldPaddingRight.valuePx(a),borderRadius:i.sp2,border:`1px solid ${R.colors.grey3}`,width:"-webkit-fill-available",display:a==="small"?"block":"inherit"},infoLabelStyle:{textAlign:a==="small"?"left":"right",paddingRight:r.infoLabelPaddingRight.valuePx(a),marginTop:r.infoLabelMarginTop.valuePx(a)},singleSelectPickerField:{name:ae,placeholder:h.zeniCashAccountPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e?.zeniAccountId??"",allOptions:j.map(s=>({label:s.accountName,value:s.accountId}))},isOptionRemovable:!1,withBorder:a==="small",textAlignment:a==="small"?"left":"right",registerOptions:{required:!1}},valueToAdditionalLabel:()=>h.zeniCashAcoountInfo}),Ie]}):null,e?.accType==="paymentAccount"?c==="charge_cards"?t.jsx(ht,{style:{borderRadius:`${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2}`},maxInsuredAmount:T.maxInsuredAmount,heading:t.jsxs(_t,{windowSize:a,children:[Y.earn,t.jsx(zt,{children:Y.percentageCashback.replace("__percentage__",pt)}),Y.whenYouPayViaZeniChecking]}),buttonText:$===!1?h.accountsPlg.signUpButtonText:h.accountsPlg.switchButtonText,isAccountsEnabled:$,pageName:Y.creditCardPayment,onSignUpClick:ne,onSwitchClick:()=>{D.current!=null&&D.current.focus()}}):c!=="zeni_accounts"?t.jsx(Le,{heading:h.accountsPlg.heading,style:{borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},isAccountsEnabled:$,buttonText:$===!1?h.accountsPlg.signUpButtonText:h.accountsPlg.switchButtonText,analytics:u,pageName:G,onSignUpClick:ne,onSwitchClick:()=>{D.current!=null&&D.current.focus()},accountsPromoConfig:T}):null:null]})]})}const Tt=(e,p,j,x,b,v)=>x?.accType==="depositAccount"?t.jsx(Xt,{isOptionSelected:!0,children:t.jsx(Qt,{color:nt(b??0)})}):x?.institutionDetails?.logo?.base64!=null?t.jsx(Kt,{windowSize:p,src:`${at}${x?.institutionDetails.logo?.base64.toString()}`,alt:x?.institutionDetails.institutionName,loading:"lazy"}):v===!0?e.element:t.jsx(Ot,{iconColor:e.color,windowSize:p,isDarkMode:j,children:e.element}),Lt=({productType:e,isLoginRequired:p,isUpdateLinkClicked:j,isPendingVerification:x,fetchAndUpdateStatues:b,onUpdateLinkTokenClick:v,onChaseInfoClick:A})=>{const{commonSetUp:B}=X.getLocalizedStrings(),{setUp:I}=B,{verifyAccount:u,verifyingAccount:c,verifyAccountError:m,reLogging:P,reLoginLabel:te,reLoginError:V,reLoginMessage:H,chaseLabel:ie}=I,{fetchStatus:$,updateStatus:T,linkFetchStatus:G,linkUpdateStatus:L,prevFetchState:q,prevUpdateState:E}=b,M=j&&q==="In-Progress"&&$?.fetchState==="Error"||E==="In-Progress"&&T?.fetchState==="Error";return p?$?.fetchState==="In-Progress"||T?.fetchState==="In-Progress"||G?.fetchState==="In-Progress"||L?.fetchState==="In-Progress"?t.jsxs(W,{style:{color:C.important},children:[t.jsx(ee,{children:P}),t.jsx(Pe,{children:t.jsx(pe,{size:"Small",start:!0,style:{display:"flex",color:C.important}})})]}):t.jsx(W,{style:{cursor:"pointer"},onClick:v,"data-testid":N("re-login-label-clicked"),children:t.jsx($e,{style:{padding:`12px ${i.sp3}`},title:H,placement:"bottom",maxWidth:"264px",children:t.jsxs(Dt,{children:[t.jsx(je,{style:{marginLeft:i.sp0,marginRight:i.sp1}}),t.jsx(ce,{isError:!0,style:{color:C.important},children:M?V:te}),t.jsx(de,{children:t.jsx(ue,{style:{color:C.important}})})]})})}):$?.fetchState==="In-Progress"||T?.fetchState==="In-Progress"?t.jsxs(W,{children:[t.jsx(ee,{children:c}),t.jsx(Pe,{children:t.jsx(pe,{size:"Small",start:!0,style:{display:"flex"}})})]}):x?t.jsxs(W,{onClick:v,"data-testid":N("verify-account-label-clicked",e),children:[t.jsx(ce,{isError:!1,children:u}),t.jsx(de,{children:t.jsx(ue,{})}),M?t.jsx($e,{maxWidth:"280px",style:{padding:`12px ${i.sp3}`,color:C.important},title:m,placement:"bottom",children:t.jsx(je,{})}):null]}):t.jsxs(W,{onClick:A,"data-testid":N("chase-info-label-clicked"),children:[t.jsx(ce,{isError:!1,children:ie}),t.jsx(de,{children:t.jsx(ue,{})})]})},ke=(e,p)=>`${e}.${p}`,_t=n(st)`
|
|
56
56
|
color: ${e=>e.theme.colors.primary};
|
|
57
57
|
width: ${e=>e.windowSize==="small"?"80%":"100%"};
|
|
58
58
|
`,zt=n(rt)`
|
|
@@ -86,10 +86,10 @@ import{X as Te,cg as Ge,u as qe,M as Q,co as Je,a5 as se,e_ as Ye,l as K,ab as r
|
|
|
86
86
|
display: flex;
|
|
87
87
|
opacity: ${e=>e.isDisabled?.8:1};
|
|
88
88
|
margin-right: ${i.sp2};
|
|
89
|
-
`,
|
|
89
|
+
`,Ut=n.div`
|
|
90
90
|
display: flex;
|
|
91
91
|
align-items: flex-start;
|
|
92
|
-
`,
|
|
92
|
+
`,Bt=n.div`
|
|
93
93
|
display: flex;
|
|
94
94
|
`,Mt=n(ot)`
|
|
95
95
|
display: flex;
|
|
@@ -106,7 +106,7 @@ import{X as Te,cg as Ge,u as qe,M as Q,co as Je,a5 as se,e_ as Ye,l as K,ab as r
|
|
|
106
106
|
`,W=n(ze)`
|
|
107
107
|
display: flex;
|
|
108
108
|
align-items: center;
|
|
109
|
-
`,
|
|
109
|
+
`,Dt=n.div`
|
|
110
110
|
display: flex;
|
|
111
111
|
align-items: center;
|
|
112
112
|
justify-content: center;
|
|
@@ -143,10 +143,10 @@ import{X as Te,cg as Ge,u as qe,M as Q,co as Je,a5 as se,e_ as Ye,l as K,ab as r
|
|
|
143
143
|
`,Wt=n.div`
|
|
144
144
|
display: flex;
|
|
145
145
|
align-items: center;
|
|
146
|
-
`,
|
|
146
|
+
`,Nt=n.div`
|
|
147
147
|
color: ${e=>e.theme.colors.primary};
|
|
148
148
|
${e=>`${Pt.title.style(e.windowSize)}`};
|
|
149
|
-
`,
|
|
149
|
+
`,Vt=n.div`
|
|
150
150
|
margin-right: ${i.sp2};
|
|
151
151
|
`,Ht=n(it)`
|
|
152
152
|
width: ${i.sp3};
|
|
@@ -157,11 +157,11 @@ import{X as Te,cg as Ge,u as qe,M as Q,co as Je,a5 as se,e_ as Ye,l as K,ab as r
|
|
|
157
157
|
width: 14px;
|
|
158
158
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
159
159
|
border-radius: 50%;
|
|
160
|
-
`,qt=n.div``,
|
|
160
|
+
`,qt=n.div``,Yt=n.div`
|
|
161
161
|
width: ${i.sp4};
|
|
162
162
|
height: ${i.sp4};
|
|
163
163
|
margin-left: ${i.sp4};
|
|
164
|
-
`,
|
|
164
|
+
`,Zt=n.div`
|
|
165
165
|
display: inline-block;
|
|
166
166
|
border-radius: ${i.sp2};
|
|
167
167
|
margin: ${i.sp0} 12px;
|
|
@@ -169,12 +169,12 @@ import{X as Te,cg as Ge,u as qe,M as Q,co as Je,a5 as se,e_ as Ye,l as K,ab as r
|
|
|
169
169
|
height: ${i.sp1};
|
|
170
170
|
cursor: inherit;
|
|
171
171
|
background-color: ${e=>e.theme.colors.grey1};
|
|
172
|
-
`,
|
|
172
|
+
`,Kt=n.img`
|
|
173
173
|
width: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
174
174
|
height: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
175
175
|
border-radius: ${i.sp11};
|
|
176
176
|
margin-right: ${i.sp2};
|
|
177
|
-
`,
|
|
177
|
+
`,Jt=n.div`
|
|
178
178
|
display: flex;
|
|
179
179
|
flex-direction: column;
|
|
180
180
|
`,de=n.div`
|
|
@@ -195,11 +195,11 @@ import{X as Te,cg as Ge,u as qe,M as Q,co as Je,a5 as se,e_ as Ye,l as K,ab as r
|
|
|
195
195
|
align-items: center;
|
|
196
196
|
justify-content: center;
|
|
197
197
|
margin-left: ${i.sp2};
|
|
198
|
-
`,
|
|
198
|
+
`,Xt=n.div`
|
|
199
199
|
min-width: ${e=>e.isOptionSelected?i.sp4:i.sp5};
|
|
200
200
|
width: ${e=>e.isOptionSelected?i.sp7:i.sp5};
|
|
201
201
|
height: ${e=>e.isOptionSelected?i.sp7:i.sp5};
|
|
202
|
-
`,
|
|
202
|
+
`,Qt=n(ct)`
|
|
203
203
|
margin-right: ${i.sp2};
|
|
204
204
|
min-width: inherit;
|
|
205
205
|
width: inherit;
|
package/dist/assets/{StatementItem-CV3b0pVj-DMjnLG0c.js → StatementItem-CK2sUgkE-C5tUfOGU.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{X as y,M as S,
|
|
1
|
+
import{X as y,M as S,g$ as b,j as o,d as g,o as r,q as j,C as v,bp as z,p as k}from"./index-LFy5NlUr.js";import{b as P,n as i}from"./vendor-CnQcJ2Lu.js";import{g as C}from"./BoxItem-C-RN4c2j-F6XwRGQ-.js";import{w as L}from"./downloadPdf-OWaFOL1J-_yuPyAAc.js";const d=S.getLocalizedStrings().months,a={downloadButtonSize:new v(k[4],20)},B=i.div`
|
|
2
2
|
display: flex;
|
|
3
|
-
padding: ${
|
|
3
|
+
padding: ${r.sp3} ${r.sp4};
|
|
4
4
|
flex-direction: row;
|
|
5
5
|
width: 100%;
|
|
6
6
|
`,T=i.div`
|
|
@@ -8,19 +8,19 @@ import{X as y,M as S,h2 as b,j as o,d as g,o as n,s as j,C as v,br as z,p as k}f
|
|
|
8
8
|
justify-content: space-between;
|
|
9
9
|
align-items: center;
|
|
10
10
|
width: 100%;
|
|
11
|
-
`,
|
|
11
|
+
`,q=i(j)`
|
|
12
12
|
display: -webkit-box;
|
|
13
13
|
-webkit-box-orient: vertical;
|
|
14
14
|
-webkit-line-clamp: 1;
|
|
15
|
-
margin-left: ${
|
|
16
|
-
max-height: ${
|
|
15
|
+
margin-left: ${r.sp2};
|
|
16
|
+
max-height: ${r.sp11};
|
|
17
17
|
text-overflow: ellipsis;
|
|
18
18
|
word-break: break-word;
|
|
19
19
|
text-align: left;
|
|
20
20
|
overflow: hidden;
|
|
21
|
-
`,
|
|
21
|
+
`,E=i.div`
|
|
22
22
|
cursor: pointer;
|
|
23
|
-
`,
|
|
23
|
+
`,M=i(z)`
|
|
24
24
|
width: ${t=>a.downloadButtonSize.valuePx(t.windowSize)};
|
|
25
25
|
height: ${t=>a.downloadButtonSize.valuePx(t.windowSize)};
|
|
26
26
|
min-height: ${t=>a.downloadButtonSize.valuePx(t.windowSize)};
|
|
@@ -28,4 +28,4 @@ import{X as y,M as S,h2 as b,j as o,d as g,o as n,s as j,C as v,br as z,p as k}f
|
|
|
28
28
|
&:hover {
|
|
29
29
|
color: ${t=>t.theme.colors.primary};
|
|
30
30
|
}
|
|
31
|
-
`;function J({accountLast4:t,currentTenantCompanyName:s,data:e,authParams:m,downloadEndPoint:l,documentType:
|
|
31
|
+
`;function J({accountLast4:t,currentTenantCompanyName:s,data:e,authParams:m,downloadEndPoint:l,documentType:n="statement",boxType:p}){const[w,x]=P.useState(!1),c=y(),$=n==="taxLetter"?`${e.title.year}`:`${d[e.title.month-1]} ${e.title.year}`,h=n==="taxLetter"?`${s}-treasury-tax-letter-${e.title.year}.pdf`:`${s}-${t}-monthly-statement-${d[e.title.month-1]}-${e.title.year}.pdf`,u={period:`${e.title.year}-${b(e.title.month)}`,format:"pdf"},f=o.jsx(B,{children:o.jsxs(T,{children:[o.jsx(q,{children:$}),o.jsx(E,{onClick:()=>L(n==="treasuryStatement"||n==="taxLetter"?`${l}/statements/${e.id}`:`${l}/statements?query=${encodeURIComponent(JSON.stringify(u))}`,h,m,x),children:w?o.jsx(g,{size:"Small",start:!0}):o.jsx(M,{windowSize:c})})]})});return o.jsx(C,{content:f,boxType:p,isDisabled:!1,isNotClickable:!0})}export{J as M};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import{u as v,X as z,j as t,aW as C,M,ai as P,o as r,g as m,bR as I,C as L,p as h,q as R}from"./index-LFy5NlUr.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as B}from"./BoxItem-C-RN4c2j-F6XwRGQ-.js";import{o as E}from"./commonDimensions-D2zuat_O-BjWWOnE2.js";import{M as T}from"./StatementItem-CK2sUgkE-C5tUfOGU.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-OWaFOL1J-_yuPyAAc.js";const x=M.getLocalizedStrings().spendManagement.zeniAccounts.statements,b={listItemMargin:new L(h[3],h[8])},et=({currentTenantCompanyName:e,authParams:g,downloadEndPoint:w,statementListView:i,accountLast4:f,onBackClick:y})=>{const k=v(),l=z(),$=p.createRef(),c=p.useRef(null),d=i.statements.length===0,j=()=>d===!1?E.transactionItemHeight:24,S=({index:a,style:n})=>{const s=i.statements[a];return d===!1?t.jsx(u,{windowSize:l,style:{...n,width:`calc(100% - 2*${b.listItemMargin.valuePx(l)})`},children:t.jsx(T,{currentTenantCompanyName:e,accountLast4:f,data:s,authParams:g,downloadEndPoint:w,boxType:B(a,i.statements.length)},s.id)}):t.jsx(N,{style:{...n},children:t.jsx(O,{children:t.jsx(u,{windowSize:l,children:t.jsx(H,{children:x.noStatements})})})})};return t.jsxs(A,{children:[t.jsx(C,{title:x.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(K,{children:t.jsx(P,{children:({height:a,width:n})=>t.jsx(V,{ref:$,height:a,width:n,outerRef:c,itemKey:s=>s,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:S})})})]})},N=o.div``,u=o.div`
|
|
2
|
+
margin: ${e=>`${r.sp0} ${b.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
|
+
&:hover {
|
|
4
|
+
position: relative;
|
|
5
|
+
z-index: 2;
|
|
6
|
+
}
|
|
7
|
+
`,O=o.div`
|
|
8
|
+
display: flex;
|
|
9
|
+
height: 100%;
|
|
10
|
+
flex: 1 1 auto;
|
|
11
|
+
flex-direction: row;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
align-items: flex-end;
|
|
14
|
+
`,A=o.div`
|
|
15
|
+
display: flex;
|
|
16
|
+
height: 100%;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
width: 100%;
|
|
19
|
+
padding-bottom: ${r.sp7};
|
|
20
|
+
`,H=o(R)`
|
|
21
|
+
display: flex;
|
|
22
|
+
color: ${e=>e.theme.colors.grey2};
|
|
23
|
+
`,K=o.div`
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
width: 100%;
|
|
27
|
+
height: 100%;
|
|
28
|
+
margin-top: ${r.sp6};
|
|
29
|
+
`,V=o(I)`
|
|
30
|
+
scrollbar-width: thin;
|
|
31
|
+
scrollbar-color: transparent transparent;
|
|
32
|
+
&::-webkit-scrollbar {
|
|
33
|
+
width: ${r.sp2};
|
|
34
|
+
height: ${r.sp0};
|
|
35
|
+
background-color: transparent;
|
|
36
|
+
}
|
|
37
|
+
&::-webkit-scrollbar-track {
|
|
38
|
+
box-shadow: inset 0 0 2px ${m.scrollbarBoxShadow};
|
|
39
|
+
-webkit-box-shadow: inset 0 0 2px ${m.scrollbarBoxShadow};
|
|
40
|
+
background-color: transparent;
|
|
41
|
+
}
|
|
42
|
+
&::-webkit-scrollbar-thumb {
|
|
43
|
+
background-color: transparent;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:hover {
|
|
47
|
+
scrollbar-color: ${e=>e.theme.colors.grey1} transparent;
|
|
48
|
+
&::-webkit-scrollbar {
|
|
49
|
+
width: ${r.sp2};
|
|
50
|
+
height: ${r.sp0};
|
|
51
|
+
background-color: transparent;
|
|
52
|
+
}
|
|
53
|
+
&::-webkit-scrollbar-thumb {
|
|
54
|
+
background-color: ${e=>e.theme.colors.grey1};
|
|
55
|
+
border-radius: 2px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
`;export{et as default};
|
package/dist/assets/{StatusSwitcher-CxzYEzIO-C4cI6WWu.js → StatusSwitcher-BppDI7-7-CaTqg34_.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import{X as y,j as d,aV as T,M as v,C as f,o as s,p as c,
|
|
1
|
+
import{X as y,j as d,aV as T,M as v,C as f,o as s,p as c,w as z}from"./index-LFy5NlUr.js";import{n as u,j as g}from"./vendor-CnQcJ2Lu.js";function w(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const L=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function _(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:w(a)}return w(a)}function p(e,a,r){const n=e[a];return n!=null?_(n,r):null}const A=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??w(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:x}},reimbursement:{reimbursementByTabs:{tabsById:$}},zeniAccounts:{zeniAccountList:{tabsById:M}}}}=v.getLocalizedStrings(),m={containerMarginLeft:new f(c[4],c[8]),containerMarginRight:new f(c[4],c[8]),segmentContainerMarginLeft:new f(c[4],c[8])},j=u.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
width: 100%;
|
|
5
5
|
border-bottom: ${e=>e.hasSubTabs===!0?"none":`1px solid ${e.theme.colors.grey3}`};
|
|
6
6
|
justify-content: ${e=>e.isSwitcherLeftAlign===!0?"left":"center"};
|
|
7
|
-
margin-right: ${e=>e.hasSubTabs===!0?"auto":
|
|
8
|
-
margin-left: ${e=>e.hasSubTabs===!0?"auto":
|
|
7
|
+
margin-right: ${e=>e.hasSubTabs===!0?"auto":m.containerMarginRight.valuePx(e.windowSize)};
|
|
8
|
+
margin-left: ${e=>e.hasSubTabs===!0?"auto":m.containerMarginLeft.valuePx(e.windowSize)};
|
|
9
9
|
`,k=u.div`
|
|
10
10
|
position: relative;
|
|
11
11
|
display: flex;
|
|
@@ -15,7 +15,7 @@ import{X as y,j as d,aV as T,M as v,C as f,o as s,p as c,v as z}from"./index-DzX
|
|
|
15
15
|
margin-left: ${e=>e.hasSubTabs===!0?"initial":"auto"};
|
|
16
16
|
column-gap: ${e=>e.hasSubTabs!==!0?e.windowSize==="small"?s.sp3:s.sp6:s.sp4};
|
|
17
17
|
|
|
18
|
-
margin-left: ${e=>e.hasSubTabs===!0?
|
|
18
|
+
margin-left: ${e=>e.hasSubTabs===!0?m.segmentContainerMarginLeft.valuePx(e.windowSize):"0"};
|
|
19
19
|
`,B=u(z)`
|
|
20
20
|
display: flex;
|
|
21
21
|
padding: ${e=>e.isMainTab?"12px":"6px 12px"};
|
|
@@ -117,4 +117,4 @@ import{X as y,j as d,aV as T,M as v,C as f,o as s,p as c,v as z}from"./index-DzX
|
|
|
117
117
|
left: 60%;
|
|
118
118
|
}
|
|
119
119
|
`}
|
|
120
|
-
`;function P({tabId:e,isSelected:a,approvalCount:r,entity:n,onClick:l}){const t=o=>{switch(o){case"draft":case"pending_approval":case"scheduled":case"paid":case"all":case"failed":case"overdue":case"cancelled":case"rejected":case"awaitingAllApproval":case"ach":case"wire":case"deleted":return n==="bill_pay"?x[o]:$[o];case"offline":case"awaiting_approval":case"awaiting_my_approval":return x[o];case"awaitingApproval":case"awaitingMyApproval":case"myDrafts":return $[o];case"wireDetails":case"achDetails":return M[o];default:return""}},i=y();return d.jsxs(B,{onClick:()=>{a===!1&&l(e)},isClickDisabled:!1,isSelected:a,isMainTab:R(e)===!0,windowSize:i,children:[t(e),e==="pending_approval"&&r!==0?d.jsx(D,{isSelected:a,children:r}):null]})}function K({tabIds:e,selectedTab:a,entity:r,isSwitcherLeftAlign:n=!1,approvalCount:l,hasSubTabs:t=!1,enablePerformanceTracking:i=!0,onTabSelectedChange:o}){const h=y(),S=b=>{o(b)};return T({componentName:`${
|
|
120
|
+
`;function P({tabId:e,isSelected:a,approvalCount:r,entity:n,onClick:l}){const t=o=>{switch(o){case"draft":case"pending_approval":case"scheduled":case"paid":case"all":case"failed":case"overdue":case"cancelled":case"rejected":case"awaitingAllApproval":case"ach":case"wire":case"deleted":return n==="bill_pay"?x[o]:$[o];case"offline":case"awaiting_approval":case"awaiting_my_approval":return x[o];case"awaitingApproval":case"awaitingMyApproval":case"myDrafts":return $[o];case"wireDetails":case"achDetails":return M[o];default:return""}},i=y();return d.jsxs(B,{onClick:()=>{a===!1&&l(e)},isClickDisabled:!1,isSelected:a,isMainTab:R(e)===!0,windowSize:i,children:[t(e),e==="pending_approval"&&r!==0?d.jsx(D,{isSelected:a,children:r}):null]})}function K({tabIds:e,selectedTab:a,entity:r,isSwitcherLeftAlign:n=!1,approvalCount:l,hasSubTabs:t=!1,enablePerformanceTracking:i=!0,onTabSelectedChange:o}){const h=y(),S=b=>{o(b)};return T({componentName:`${L(r).toLowerCase()}.${A(a,r).toLowerCase()}`,enabled:i}),d.jsx(j,{windowSize:h,hasSubTabs:t,isSwitcherLeftAlign:n,children:d.jsxs(k,{windowSize:h,hasSubTabs:t,children:[e.map((b,C)=>d.jsx(P,{tabId:b,approvalCount:l,isSelected:a===b,entity:r,onClick:S},C)),d.jsx(I,{className:`Slider ${a}`,windowSize:h,approvalCount:l})]})})}const R=e=>e==="draft"||e==="pending_approval"||e==="scheduled"||e==="paid"||e==="achDetails"||e==="wireDetails";export{K};
|
package/dist/assets/{SubTabSwitcher-_XBeoyd8-B38GS5BN.js → SubTabSwitcher-DTe2L8JC-D4RBO14j.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as r,d as u,o as s,
|
|
1
|
+
import{j as r,d as u,o as s,w as g,ad as m}from"./index-LFy5NlUr.js";import{n as i,j as a}from"./vendor-CnQcJ2Lu.js";function S({allTabs:e,selectedTab:c,containerStyle:d,rightComponent:o,onTabChange:p}){const h=o!=null;return r.jsxs(x,{style:d,hasRightComponent:h,children:[r.jsx($,{children:e.map(t=>{const n=t.id===c,l=t.isDisabled!=null;return r.jsxs(b,{onClick:()=>{n===!1&&!l&&p(t)},isSelected:n,isDisabled:l,children:[r.jsx(y,{children:t.label}),t.countDetails?.count!=null?r.jsx(j,{children:r.jsx(f,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:r.jsx(D,{children:t.countDetails.isFetching?r.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),o]})}const x=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
justify-content: ${e=>e.hasRightComponent?"space-between":"flex-start"};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as d}from"./index-
|
|
1
|
+
import{j as d}from"./index-LFy5NlUr.js";import{E as n,T as t}from"./ReloadCard-D72dkm5s-DHOqIhPE.js";const o=r=>{function e(){return r.card.fetchState==="In-Progress"||r.card.fetchState==="Not-Started"?d.jsx(n,{dimension:r.card.dimension,animated:!r.card.disableAnimations}):r.card.fetchState==="Error"?d.jsx(t,{dimension:r.card.dimension,cardType:r.card.cardType,cardIndex:r.card.cardIndex,onReloadData:r.actions.onReloadData}):d.jsx("div",{children:r.children})}return d.jsx("div",{children:e()})};export{o as c};
|