@zeniai/web-cockpit-ui 1.14.17-qa → 1.14.18-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/ACHDetailsPage-DDccOBrQ-xtRCcN-J.js +21 -0
- package/dist/assets/{AIPerformancePage-4oC8MJWN-3x4rvqkH.js → AIPerformancePage-u3qF__mF-Cwmno93h.js} +42 -42
- package/dist/assets/{AccountInfoPage-mOPytffA-BHPN2sFX.js → AccountInfoPage-vDWC6AMf-DzR0-3Io.js} +2 -2
- package/dist/assets/{AccountInfoPageContent-VULusDEd-Bbj6r5XK.js → AccountInfoPageContent-0PqU7bCV-D6wFAbY2.js} +13 -13
- package/dist/assets/{AccountReconDetailsDrawerPage-89APlrhb-OpGiG4Fe.js → AccountReconDetailsDrawerPage-DEqtU-rh-Deoo-ctA.js} +19 -19
- package/dist/assets/{AccountRow-DJd-IAIl-C8ES_stT.js → AccountRow-DTQ6Qoyr-_b2APADd.js} +25 -25
- package/dist/assets/{AccountsPromoCardStack-DE39TpIu-D-Yop5mF.js → AccountsPromoCardStack-DkYqKp1i-mDnDl8sy.js} +33 -33
- package/dist/assets/{AddAddressForCardDrawer-CKdcU_pi-CwaicPlo.js → AddAddressForCardDrawer-DB3HtvgV-DDm-Yx81.js} +2 -2
- package/dist/assets/{AddToWalletPage-DPXW2fbY-CtMlIrQx.js → AddToWalletPage-DvgM0-kj-TsEzz5fI.js} +22 -22
- package/dist/assets/{AgingReportsPage--CLUwcIa-BsmrKMJu.js → AgingReportsPage-BP6-oG6W-DRhLxK4p.js} +16 -16
- package/dist/assets/{AllUserItems-CC9l-O5G-B5y_zhUe.js → AllUserItems-w6M8k5yU-DRpE6VjZ.js} +9 -9
- package/dist/assets/ApAgingDetailPage-BZuNGMx_-DRH7p0_b.js +46 -0
- package/dist/assets/{AppBasePage-CgHKYFmd-DpxCZRxE.js → AppBasePage-l_TUUps8-K0ozDeR0.js} +10 -10
- package/dist/assets/{AppDrawerContent-Cofo0-5p-Bon4ebWD.js → AppDrawerContent-_gInVeZf-CqHabOEw.js} +19 -19
- package/dist/assets/{ApprovalRulesSettingsPage-DsshEbzW-bVy7ndBX.js → ApprovalRulesSettingsPage-CKRde9he-CmSQRugq.js} +7 -7
- package/dist/assets/{ArAgingChart-K2LSe8mo-8wVTOMUv.js → ArAgingChart-Dg0oBo5K-CF9AvFJC.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-DCFL9YAy-C_v7XA9q.js → ArAgingDetailPage-CNizMSbt-CgouefYI.js} +4 -4
- package/dist/assets/{AttachmentView-Cn3VnVyO-2AecVG_r.js → AttachmentView-B8hloBca-DRZOHo7x.js} +7 -7
- package/dist/assets/{BankAccountSection-Au9_D0Ji-CWUpdxVP.js → BankAccountSection-4HNC0ypd-BpuQrkpU.js} +8 -8
- package/dist/assets/{BankAccountWarningSection-927iR_QB-DZ1ZjG-a.js → BankAccountWarningSection-BqgTMjDy-DwldrkYy.js} +7 -7
- package/dist/assets/{BankConnectionsSettingsPage-CXab8fzD-DrAzYcY3.js → BankConnectionsSettingsPage-BBQh1oT8-CYERxE0e.js} +26 -26
- package/dist/assets/{BillDetailPage-yIdrE7YG-MPJpbHEH.js → BillDetailPage-R4oRrdsm-Bhl-v3vo.js} +20 -20
- package/dist/assets/{BillPayApprovalRuleDetailPage-BJl_-eJN-DfaKZiCw.js → BillPayApprovalRuleDetailPage-d_A1-Gv_-D0vt2nJT.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-rXaFCSLp-B4hJZE4K.js → BillPayApprovalRulesPage-5q5b2drs-DNrIHclU.js} +8 -8
- package/dist/assets/{BillPayPromoPage-BLi_wIbj-CSiPqqF2.js → BillPayPromoPage-Dz_R3Vd_-D4VHTD7W.js} +10 -10
- package/dist/assets/{BillPaySetUpPage-BFmpWT_x-BdnlBxHY.js → BillPaySetUpPage-CwTRrElO-Dy2xJbwX.js} +2 -2
- package/dist/assets/{BillingSettingsPage-Da01aYql-CO5KbCIq.js → BillingSettingsPage-_XJCl2yq-D0rAMBJt.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-J2kO9_8C-DvF5RYPT.js → BillsBulkReviewDrawerPage-B_S35aKX-pMNSaHSP.js} +1 -1
- package/dist/assets/{BoxItem-CQlEDklH-CpOQze_E.js → BoxItem-9JmA6QqI-D4hhkbCR.js} +4 -4
- package/dist/assets/{BusinessVerificationPage-DWhXCuG5-CLLfRzHs.js → BusinessVerificationPage-DJKOIC1M-BEeGVZ1S.js} +11 -11
- package/dist/assets/{CardNumberSubText-BTjxrF3b-Dd1chwrY.js → CardNumberSubText-CewmMWju-DJiRPNiZ.js} +1 -1
- package/dist/assets/{CashbackDetailPage-qcMtGUQ0-CNgA1vkF.js → CashbackDetailPage-HtjAmPa8-DEVbhkAr.js} +26 -26
- package/dist/assets/{ChargeCardDetailPage-BurpUHl9-CHOF0hOK.js → ChargeCardDetailPage-D_5vb_92-DYjdXqRv.js} +27 -27
- package/dist/assets/{ChargeCardListPage-CBIYOllB-C5IIqKJ8.js → ChargeCardListPage-BT-8bueF-C8QRxzgr.js} +23 -23
- package/dist/assets/{ChargeCardListTable-BTZu7ldI-HV9pRu0d.js → ChargeCardListTable-oJTQcOkc-HAou4pja.js} +104 -104
- package/dist/assets/ChargeCardPromoPage-Dp01F4cn-Br2kcjZo.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-QOdjFcsr-DPZS2Ku4.js → ChargeCardSetupPage-cqydgFPZ-KP5FKJ0i.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-C1UmjyIW-D6OuW8Qw.js → ChargeCardStatementsPage-URwhXATj-BVz6_ztr.js} +8 -8
- package/dist/assets/{ChargeCardUtils-C3fhOMpV-Bs2JPnXP.js → ChargeCardUtils-DBEgXAMc-DYsQMmpv.js} +1 -1
- package/dist/assets/{ChaseOverlay-RPex2o5e-DW09zrbw.js → ChaseOverlay-HTpWDuLt-D0qtM7hD.js} +10 -10
- package/dist/assets/CheckDepositDrawerPage-DLc3qfVH-Dq_DIMy3.js +206 -0
- package/dist/assets/{CollapsableReportTable-Ds0h8x1N-Cp0fRlE2.js → CollapsableReportTable-PpQgBBRC-BpxIl-X-.js} +93 -93
- package/dist/assets/{CompanyOfficerDetailsSection-B8yGAFVj-DKWPUUTw.js → CompanyOfficerDetailsSection-C1aPsDga-DX0GYxxu.js} +35 -35
- package/dist/assets/{CompanyPassportCard-BDei9Pfp-D0uwhtPQ.js → CompanyPassportCard-DMKqBgwh-20YLIkOw.js} +6 -6
- package/dist/assets/{CompanyPassportPage-DFA733vS-BIvmx8nC.js → CompanyPassportPage-CHHPIqN_-CQsnT2Hp.js} +37 -37
- package/dist/assets/CompleteProfile-D6jHfaC2-Cwowcy8N.js +36 -0
- package/dist/assets/{ConfettiBurst-97CCPVCH-DogXPRqs.js → ConfettiBurst-14a5kaEE-D-oFz-sG.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BSi6pOXN-60R3TaVL.js → CreateOrEditVendorPage-K5rhe_y3-6e_B7drg.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-ZletyeGG-ChI8BG09.js → CreditCardPaymentDrawerPage-LQ--HUI9-Ct-Z_PH4.js} +20 -20
- package/dist/assets/{CreditCardPaymentPlgSection-BE982atG-ChH0EM9O.js → CreditCardPaymentPlgSection-BM05WC-i-Bk08bY1j.js} +12 -12
- package/dist/assets/{CurrencySelectField-cnP09xH2-CzK_uHkh.js → CurrencySelectField-bhkJTNUW-TAA9r3NA.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-DhcKiTJ_-BwUbkzAO.js → CustomerOnboardingActivationPage-BHD1irjF-BuHM5vzQ.js} +9 -9
- package/dist/assets/CustomerOnboardingContainerPage-BhS5NmVt-CloO5_fX.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-jguCmaVx-df6TlzkN.js → CustomerOnboardingDetailPageSkeleton-B--kAA3i-BtWP8-CX.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-xakP7IDr-C-0r2BD6.js → CustomerOnboardingNoStepsPage-sHKAos8m-1qMzs8BU.js} +5 -5
- package/dist/assets/{CustomerOnboardingPage-Ct5YbyHs-CAyxa338.js → CustomerOnboardingPage-B_S5G-6o-Cv0ITZ4_.js} +10 -10
- package/dist/assets/{CustomerOnboardingProductSuitePage-CugfvMkw-CslbljsJ.js → CustomerOnboardingProductSuitePage-CVi8WuQY-DZMQtVHo.js} +12 -12
- package/dist/assets/{Dashboard-XbVGCnvI-_hcViTk2.js → Dashboard-CIMiF6eU-SPzOaUuR.js} +1 -1
- package/dist/assets/{DashboardReportPage-OeEPg2kx-C3vOR__5.js → DashboardReportPage-6z6qBQSB-C79wD_Nr.js} +21 -21
- package/dist/assets/{DepositAccTransactionItem-Dy6qzuSL-CpAkao08.js → DepositAccTransactionItem-BQYFrzDW-VNbpp2iU.js} +10 -10
- package/dist/assets/DepositAccTransactionListPage-xSNsUwS4-DJcgYerm.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-B0tbjNLO-CzO-wZCX.js → DomesticWireDetailsPage-b1iB1HBM-CrTulX9A.js} +1 -1
- package/dist/assets/{DownloadOverlay-BKKO1nm1-C2Pb_CvM.js → DownloadOverlay-C3oy6eq7-CCVozCSE.js} +12 -12
- package/dist/assets/{DrawerPage-osM8gPVn-DjFhvXE_.js → DrawerPage-DLVTld-y-Cb3VyNgX.js} +12 -12
- package/dist/assets/EditPeoplePage-DKJNf1oJ-6CdgkITi.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-DvLeCixY-DsVIw_1c.js → EditReimbursementDetailPage-zgUt303N-BpiV7KXr.js} +80 -80
- package/dist/assets/{EntityDetailPage-BzJbAOSj--n76aj0W.js → EntityDetailPage-DY4i6GZK-DN-UWde9.js} +3 -3
- package/dist/assets/{EntitySummarySection-Drj07P9h-B2lq71iV.js → EntitySummarySection-BbxeYdm8-Bf_NXajy.js} +13 -13
- package/dist/assets/{ExpenseAutomationOverviewPage-BQ9dwGkq-CJ6yhltW.js → ExpenseAutomationOverviewPage-D3x3XpmU-fjM7OZCO.js} +31 -30
- package/dist/assets/{ExpenseAutomationPage-DLld6Lux-0w2CvM4U.js → ExpenseAutomationPage-BTAjM6yZ-yDXqzAOJ.js} +56 -56
- package/dist/assets/{ExpressPayPage-QBNV0dC8-ZmY9Sslu.js → ExpressPayPage-C30-lVTo-C8uKTmQz.js} +11 -11
- package/dist/assets/FeaturePreviewPage-BRqSxk9H-D2VfZkvq.js +11 -0
- package/dist/assets/{FollowStepsSection-1RCO2W7K-8GLsxGi6.js → FollowStepsSection-B171fPtM-D2ueI9DZ.js} +28 -28
- package/dist/assets/{GlobalReviewListPage-ByMZFe7Y-DU4g2-mq.js → GlobalReviewListPage-BaZx32sB-CsLBtCph.js} +14 -14
- package/dist/assets/HelpButton-ewiNuwlj-a7BLQVoR.js +28 -0
- package/dist/assets/{InformationCardStack-C0AmMOu2-CsXKnz33.js → InformationCardStack-BtxneVKK-CvEQzEwX.js} +6 -6
- package/dist/assets/{InsightsCardStack-BiIDBYY8-BDWjMJ74.js → InsightsCardStack-CCee6pLA-D-hqWx-q.js} +7 -7
- package/dist/assets/InsightsSection-BZNwdoG4-BHWxrsk5.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-7wAnV8kG-a8zGkb-o.js → IntegrationsSettingsPage-CsY38-LI-tUcaBNIE.js} +9 -9
- package/dist/assets/{InternationalWireSwiftDetailsPage-C7D15jtK-CNlL_DBa.js → InternationalWireSwiftDetailsPage-sSSgjYdh-CECQrN0I.js} +17 -17
- package/dist/assets/{InternationalWireVerificationPage-GDKPXtU--DouJAx7L.js → InternationalWireVerificationPage-zv0FIhUz-BUPdBF6w.js} +14 -14
- package/dist/assets/{InviteFormPage-CKGJHYWa-ThYyvIC6.js → InviteFormPage-DxszbbOJ-CJWqS0tA.js} +19 -19
- package/dist/assets/{InvitePageListView-CWXyDZU2-B1FV1J7C.js → InvitePageListView-BYVWTwTc-Dq61wzB9.js} +46 -46
- package/dist/assets/InvitePeoplePage-CJ4KyyxI-Ci7vEwdq.js +12 -0
- package/dist/assets/InvoiceUploadSection-Dy_H9a8Y-CvpINn7W.js +140 -0
- package/dist/assets/{IssueChargeCardPage-DLX44XaR-DJEU4BAz.js → IssueChargeCardPage-CPmj_trJ-CTV2OfvE.js} +19 -19
- package/dist/assets/LabeledAddressValue-BVpwGdA2-5vfMRzOg.js +49 -0
- package/dist/assets/LabeledAddressValueField-Eka4fXzu-BSJMd52k.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-B6cLYSmS-HQU25j6e.js → LabeledControlledCheckBoxField-BnfJ3gKr-7p5KdXvW.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CV4GQQ7F-DB0whr2c.js → LabeledCreatableSingleSelectField-CJT-CuQl-C0rlBcX2.js} +4 -4
- package/dist/assets/{LabeledDocumentField-BFhyNqP8-BF1FtSO9.js → LabeledDocumentField-BoraKtTI-BRERXK8W.js} +6 -6
- package/dist/assets/{LabeledDropDownFormattedTextField-gE3aWP_T-D1puR-he.js → LabeledDropDownFormattedTextField-elNvxcOB-BPm7rTz8.js} +7 -7
- package/dist/assets/{LabeledText-0pRIcJw5-DnreSqVg.js → LabeledText-DhZgeQqu-Dz4gRnMS.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C-32ySGI-Ckf3XRJ6.js → LabeledUserSingleSelectWithSubtitlesField-D63Z4SE5-Hunv1W3n.js} +16 -16
- package/dist/assets/{LabeledZeniRolesDropDownField--l6D29VX-2y_t8N2x.js → LabeledZeniRolesDropDownField-MwrQ9tKT-DwAqMpNU.js} +11 -11
- package/dist/assets/{LinkJETransactionPage-DLcpx9ns-B4OQKP_z.js → LinkJETransactionPage-BpQXs8JH-CczVuOJd.js} +6 -6
- package/dist/assets/{LowBalancePopup-BuelKDeS-DmsngLwA.js → LowBalancePopup-DPbr0gUO-BMtDcyj7.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-NIkquHvv-DhLEEbR7.js → MagicLinkACHDetailsPage-D11FRh9u-CA4ESgf_.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CdaNz396-CGsvsJCT.js → MagicLinkDomesticWireDetailsPage-CG7yqz6X-CxkGJZaJ.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-CnEhS5PP-BfdXlGYo.js → MagicLinkInternationalWireDetailsPage-PkDENzkO-BALvlHZZ.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-D_VJZV0O-DKgCh3Z1.js → MagicLinkSuccessPage-BS9ddhQA-DfzVlezu.js} +2 -2
- package/dist/assets/MagicLinkTitleSection-CBYkZ8RD-DOnIUCAU.js +17 -0
- package/dist/assets/{MailingDetailsSection-CTrx1xoB-DJHX02qB.js → MailingDetailsSection-Cx1s77og-DXexyF-i.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-DWvpTRQJ-B65gs1hH.js → MeetingCalenderPopup-DNthMj1J-DCVu9x9-.js} +1 -1
- package/dist/assets/{Menu-CbQ6Zkdp-D6lRjeT8.js → Menu-CIjXHu3p-BVUzW_3W.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-9dQLb8iw-h322l6cg.js → MyBankConnectionsSettingsPage-D77Axpyj-Dsr9teql.js} +15 -15
- package/dist/assets/{MyPendingActivationChargeCardListPage-B2-YthuF-CH0O9Vq4.js → MyPendingActivationChargeCardListPage-CnZZJsMY-KyflajTT.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-CfmYPv4_-m8ou3iA-.js → MyProfileSettingsPage-iXkYV9nQ-C8PmA-Fq.js} +6 -6
- package/dist/assets/NavBarWithPicker-D8Mx-0SS-CQTf4kGi.js +30 -0
- package/dist/assets/{NavigationArrow-9pvhzLz8-Cjtb_5vy.js → NavigationArrow-DOvptaEZ-B1BrtWg6.js} +2 -2
- package/dist/assets/{NavigationDots-CXPwKFh1-D0BlOlke.js → NavigationDots-HukimDRY-BSdcE3Mo.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-D6ZpP6J1-BvWRpxN8.js → NewGlobalMerchantPage-BlOMnHda-Cw8vvr0B.js} +12 -12
- package/dist/assets/{NoDataChart-BUR7CF8w-D1wb8NU8.js → NoDataChart-DyGfwFNo-Bpe0xKgS.js} +1 -1
- package/dist/assets/{NoDataTable-3L4pbKR0-DADiNiUz.js → NoDataTable-CJseWuln-x_ccMVrT.js} +1 -1
- package/dist/assets/{NotFoundPage-CgZfmKbj-zfL-Bldu.js → NotFoundPage-UG00-OBF-BoQnjyIO.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-BwYT3Tdc-NOzItap9.js → NotificationSettingsPage-COyRIY7z-B69eM29f.js} +17 -17
- package/dist/assets/NotificationsListConfig-BR7QDiGp-CoZ9cxNa.js +1 -0
- package/dist/assets/{NotificationsPage-6qNQYQK4-BVdwZRiv.js → NotificationsPage-DNSiZHw_-DhSCbYyU.js} +38 -38
- package/dist/assets/{OpExByVendorPage-C28MBvmW-DRKZbvH2.js → OpExByVendorPage-DmSYppgo-B8QxoNs0.js} +7 -7
- package/dist/assets/{OverlayContainerPage-9K5jaX8Z-Co7rIc3P.js → OverlayContainerPage-DB42kFLd-BB8Mm-uG.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-onJJ3Fh4-VHgA6a_C.js → PandLWithForecastPage-Cvpj3Rx7-BBqZBlne.js} +12 -12
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-nGuJ5fbq-Bl9Hzudf.js → PaymentAccountSetupBillingAddressSection-CsldB-k7-VgWcdB9R.js} +9 -9
- package/dist/assets/{PeoplePage-CKzezKqB-C-ecacKb.js → PeoplePage-CZhJF86l-BUJerLay.js} +33 -33
- package/dist/assets/PortfolioAllocationFormPage-9GM9dOrM-B8ssUltJ.js +207 -0
- package/dist/assets/{PortfolioDetails-CIv1yXo2-Cn8bwh7v.js → PortfolioDetails-BmAHjCVw-CsG6lf5x.js} +42 -42
- package/dist/assets/{ProductsCarousel-CSUQ6rVw-Bd7wsnlW.js → ProductsCarousel-DnbMUIHf-CibvwP8L.js} +7 -7
- package/dist/assets/{PromoBaseCards-2L1JfY-v-2Z0dVig4.js → PromoBaseCards-BC5rOok_-CbjLwgXv.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-DNP_b7aK-Bxywaa9r.js → QBOConnectionDialog-Ci5zNza5-6_E7GkKa.js} +4 -4
- package/dist/assets/{QBOSetupSection-CGrGCC2j-ZviOH5QS.js → QBOSetupSection-BTOCiyES-BQ9iHLEQ.js} +12 -12
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DqxyCfuQ-TKf1S-sK.js → ReimbursementApprovalRuleDetailPage-BfU-6jeB-4BEDb2U8.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-D_RMSSoW-Bf_KsPWO.js → ReimbursementApprovalRulesPage-M8JZSUOE-C8eBggiH.js} +32 -32
- package/dist/assets/{ReimbursementDetailPage-BkT7zJoE-DxIxRel2.js → ReimbursementDetailPage-D54RyrP4-DTi4hKLb.js} +23 -23
- package/dist/assets/ReimbursementPromoPage-B2uVT4md-CMAH_EoV.js +112 -0
- package/dist/assets/{ReimbursementSetUpPage-lH4Z7Lqi-BjSmn0a4.js → ReimbursementSetUpPage-DgZLqhEv-7jHyoRwK.js} +13 -13
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Bvh4mRws-H31l-TPn.js → ReimbursementsBulkReviewDrawerPage-DdaqWcd4-DhSMDa4E.js} +1 -1
- package/dist/assets/{ReloadCard-BQKVLlzZ-kVLw1q8k.js → ReloadCard-Brl4XdzV-avg2x7k6.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-Cvk4LxRf-EyWXn90g.js → ReportTableViewSelector-BUwsckE_-Cr50tsiY.js} +9 -9
- package/dist/assets/{ReportsPage-C2cIfu51-5H5N0irE.js → ReportsPage-B_p1fu0v-DX66zZ_7.js} +4 -4
- package/dist/assets/{RevenueChart-ByCekdyG-CbrdKEhj.js → RevenueChart-Wm8uOprY-DjqKlnHO.js} +17 -17
- package/dist/assets/{ReviewDetailsPage-DGyfz9q5-JDs12zdM.js → ReviewDetailsPage-KBHsF8bJ-BZe7KZL0.js} +26 -26
- package/dist/assets/{ReviewOverlay-Dp5yLAdR-D5ldovaw.js → ReviewOverlay-Dw0qj7TA-qOb8xPV_.js} +21 -21
- package/dist/assets/{RoleWithToolTip-B7xRZ-3a-C1CQ4C1p.js → RoleWithToolTip-XfK92pcD-DtUyDW-U.js} +4 -4
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BvJX-G-F-DjgDOThV.js → ScheduleDetailsFixedAssetsPage-BWlIEli5-C8Xnu1wF.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-CNpkuW7O-8EQwuxLj.js → ScheduleDetailsPage-C1xCJX3o-Cpr_7FVH.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-B_90qPjE-D3mQ-hUZ.js → ScheduleSequenceTable-BprYPV37-CbJbmsNz.js} +48 -48
- package/dist/assets/{ScreenRoutes-Df1GkgZA.js → ScreenRoutes--7yT1DKW.js} +62 -62
- package/dist/assets/{SetUpAccountSection-D5x8PZG1-BA29puUF.js → SetUpAccountSection-Dr1TfnG_-Cel5DtZp.js} +24 -24
- package/dist/assets/{SetUpDefaultSection-BsOdnADR-fIw9FyAe.js → SetUpDefaultSection-Be5NU_Em-BdXA12e3.js} +9 -9
- package/dist/assets/{SignIn-Bt7hCYjV-CwfH0JLW.js → SignIn-CE6RYJOs-ty2bYK-D.js} +20 -20
- package/dist/assets/{SignInScreen-CWUZN0CQ.js → SignInScreen-B_Dlksbi.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-C5cJKuRq-C1_jwmdt.js → SpendManagementListViewPage-BESddx6p-DEy09jpS.js} +11 -11
- package/dist/assets/{SpendManagementPerTabPage-IBAw8wc4-Bn0g9_Tf.js → SpendManagementPerTabPage-BzOooEMS-CS5nadJ3.js} +56 -56
- package/dist/assets/{SpendManagementSection-yNP3swb6-BIaTdSBC.js → SpendManagementSection-CczioNZH-D_OdnYKx.js} +12 -12
- package/dist/assets/{SpendMgmtSetupAccountSection-CYxt9dN8-BxpldXSf.js → SpendMgmtSetupAccountSection-CVFRXVhZ-KbAbVozh.js} +22 -22
- package/dist/assets/{StatementItem-q9U89Htr-DJqALh3W.js → StatementItem-Cptht91w-CXR-Xt2m.js} +8 -8
- package/dist/assets/StatementsPage-Bk_DWBsO-D9kCpcdC.js +58 -0
- package/dist/assets/{StatusSwitcher-CtuL5COG-Bd0whTb6.js → StatusSwitcher-B3gZD4Xk-Bh4cnysY.js} +4 -4
- package/dist/assets/{SubTabSwitcher-DHiC-mOv-B69z0IV-.js → SubTabSwitcher-ymwMdmPQ-Bui2S7lB.js} +3 -3
- package/dist/assets/{SummaryCard-D4Me-qWU-Cw61JFxF.js → SummaryCard-CVO_hW5i-BNIAsEAp.js} +1 -1
- package/dist/assets/{TaskManagementPage-D-F7ufTD-E-k_0ZqR.js → TaskManagementPage-C8FiHas2-CSgpx3sK.js} +38 -38
- package/dist/assets/{TimeRangeSwitcher-CGN9Hq2L-DPvzjSG7.js → TimeRangeSwitcher-CPklgWMn-CIOi92rx.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-BN4-ACoQ-DRoCnrrw.js → TimeframeSwitcher-Do-13K0C-DY9TYA6Y.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-BkzCFclG-CATb3Hw3.js → TimeframeSwitcherWithToggle-CtVJiYRA-BFfeCNSf.js} +2 -2
- package/dist/assets/{TopExCard-Wuzj4gLV-C7hKo1xh.js → TopExCard-CAbVMarX-DzMoRGlM.js} +5 -5
- package/dist/assets/{TopExDetailPage-DMYNc-gj-BOIId_ra.js → TopExDetailPage-CN49s925-BpBrFgHR.js} +10 -10
- package/dist/assets/{TransactionDetailPage-CcryBjJ4-BBoQstAc.js → TransactionDetailPage-Q9XC1VgP-B1t0fuZa.js} +35 -35
- package/dist/assets/{TransactionList-BrOpzi25-BpXcE9sq.js → TransactionList-Pn-voMDJ-cxv4xlA8.js} +12 -12
- package/dist/assets/{TransactionListBig-D6QMNaV6-dxXwqgSe.js → TransactionListBig-D4U1VfMP-q6KLDBuW.js} +25 -25
- package/dist/assets/{TransactionListPage-BB_LkPKR-D44T4dDk.js → TransactionListPage-Dcr5n_hs-BCiA3wu6.js} +4 -4
- package/dist/assets/TransactionVendorDetailPage-DxDXndQ6-Cuilftgh.js +80 -0
- package/dist/assets/TransferDrawerPage-CuQct69A-B079B2IU.js +362 -0
- package/dist/assets/{TreasuryOverviewPage-EDaXKMNQ-D8fnAwU_.js → TreasuryOverviewPage-BDYqKBrS-CScokRvu.js} +56 -56
- package/dist/assets/{TreasuryPromoPage-Brja4nGR-4ejoYZft.js → TreasuryPromoPage-CTkEFZ57-BEp9DAWk.js} +22 -23
- package/dist/assets/{TreasurySetupPage-8ZXXBvyU-CSrGG7JX.js → TreasurySetupPage-KI_5DQnD-D9S_zLnk.js} +3 -3
- package/dist/assets/{TreasuryStatementsPage-BjT1FVfa-CDFhhK60.js → TreasuryStatementsPage-DB1KkguP-BSv5nFQ9.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-Cxk8TjrI-BYzTKoII.js → TreasuryTaxLetterPage-DbHBl6-e-B10fxK69.js} +5 -5
- package/dist/assets/TreasuryTransferOrReviewPage-CLJ2x2M1-Q00AAxLj.js +506 -0
- package/dist/assets/{TrendChart-D2B0mwGW-CDLMKcy5.js → TrendChart-Ck4SVLtn-DxCRoE-5.js} +5 -5
- package/dist/assets/{TrendWithTransactions-Ch8smOOz-dEqRqTOG.js → TrendWithTransactions-BiWHzfIf-CM8I_QYq.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-CCIn9g7v-q0ijIBJ8.js → UncategorizedAccountsMappingPage-BEbiQMPB-P5OqOc0G.js} +8 -8
- package/dist/assets/{UnitIntegrationPage-SY0L_D7Z-CKGuE_M5.js → UnitIntegrationPage-DghvgER8-G5psF27e.js} +5 -5
- package/dist/assets/{UploadAdditionalDocumentOverlay-BowxerPw-BznAQGh0.js → UploadAdditionalDocumentOverlay-BasudeQ3-BthiTAoM.js} +2 -2
- package/dist/assets/Vendor2FAPopup-BVYQk2Yt-C9WsXmh_.js +1 -0
- package/dist/assets/{VendorACHDetailsPage-Ba1oMHkp-YzZn8D1q.js → VendorACHDetailsPage-DYwQERlH-B1gQMIfP.js} +1 -1
- package/dist/assets/{VendorDetailPage-CjBeVAkw-D_BTgh0F.js → VendorDetailPage-D-Mcnqod-jIU9WO5F.js} +13 -13
- package/dist/assets/{VendorDomesticWireDetailsPage-DJcyNUun-XfBIF9jc.js → VendorDomesticWireDetailsPage-sx958z_p-CRI6ZI2U.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-CUWkLY0f-CuezbVxz.js → VendorFiling1099EditablePage-D0AAdqa3-D6a_Y5gP.js} +11 -11
- package/dist/assets/{VendorFirstReviewPage-XUgEai-M-D0i_iEBg.js → VendorFirstReviewPage-DS7Qb6O_-DE9J3Hnv.js} +30 -30
- package/dist/assets/{VendorInternationalWireDetailsPage-BgHCBv0S-D_ke2Imn.js → VendorInternationalWireDetailsPage-CUw0lbm5-B48sIzNH.js} +13 -13
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-axseacZL-DrQ20j5u.js → VendorInternationalWireSwiftDetailsPage-2BGGr3aV-bgtv6P0O.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-oYghWvs6-CBTS5C2m.js → VendorsAccountsSection-D5-r6xWp-BXiiVWTo.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-B1his2AN-DWCRBrQ3.js → WarningsDrawerPage-BEuiclea-2arBaAmM.js} +9 -9
- package/dist/assets/{ZeniAccountDetailPage-B21kawRR-DGJGfsGD.js → ZeniAccountDetailPage-DvUTbTBC-BePzTP3_.js} +31 -31
- package/dist/assets/{ZeniAccountListViewPage-D9lefqbT-aMx9U6Vt.js → ZeniAccountListViewPage-BpAa6XZc-xCgx2LuK.js} +22 -22
- package/dist/assets/ZeniAccountNavBarPieces-CBRZuAIU-D4DE3sLv.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-B8aWqCOQ-C46UIAAl.js → ZeniAccountPromoPage-BDzkOGum-ucUtzXa7.js} +22 -22
- package/dist/assets/{ZeniAccountSetupPage-BmFF5yvk-ncauPk_L.js → ZeniAccountSetupPage-B6ExD1mo-DRJ8Xy53.js} +1 -1
- package/dist/assets/{ZeniCopyright-eQoaUH08-BAcaltmK.js → ZeniCopyright-BcpJPWHG-DnS0u_xy.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-B6ftMZ_m-CBjZaRui.js → ZeniTransferAmountSlider-BQDqgNKJ-Buxspfp3.js} +2 -2
- package/dist/assets/{analyticsHelper-Bns4muDg-CNix0JAa.js → analyticsHelper-BP6myd2z-CsiFRwZa.js} +1 -1
- package/dist/assets/{analyticsHelper-DIkeHXkP.js → analyticsHelper-CL3ebWyT.js} +1 -1
- package/dist/assets/{chartTypes-ZJYcsh-k-QASYidAg.js → chartTypes-BU-pRq_m-4W1rDqui.js} +1 -1
- package/dist/assets/{commonDimensions-NUQEpowf-IZPez2Zj.js → commonDimensions-BpaqG_u8-Hm0X7sCE.js} +1 -1
- package/dist/assets/{detailCommon-DMKakaa6-Bgcgnt6c.js → detailCommon-dG26UIR2-hMVwnMUq.js} +6 -6
- package/dist/assets/{downloadPdf-CNrmv_yZ-CxSqkh2v.js → downloadPdf-B5Tb5dp_-Ct6A3VYi.js} +1 -1
- package/dist/assets/{index-D3AeqRGt.js → index-C5chxI3W.js} +4203 -4371
- package/dist/assets/{mapLoadingInProgressToTreeNode-CwLhcXcQ-DE5uV0w5.js → mapLoadingInProgressToTreeNode-DOBKyY4b-Cji_pzGZ.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D8iLkGEE-DaBUvlwh.js → mapSectionWithAcOnlyToTreeNode-Bja0zC1h-BgIeww8r.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CF_gEYDy-omwVP5Kf.js → mapSpacerToTreeNode-BnX1Qa3P-BdNPRcx1.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Dp2QmYvb-FnBEwh3Z.js → mapTimeframeBalancesToTreeNode-BTMBlZfj-BF58Lu6L.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-B672MK55-1iS28pBs.js → mapTimeframeBalancesToTreeNode-DRU0rg28-CA6THCw5.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BaEMd-vj-y-nXGJ6b.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CafUd-oV-Xm435fDX.js} +1 -1
- package/dist/assets/{play-icon-CgWP2Myd-CjzXITiB.js → play-icon-CwzVvYsB-Do7CqLGc.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DJNZCEmi-D9lE8sxN.js → toCOABalancesWithID-CTIZoP69-DeVrMVx4.js} +1 -1
- package/dist/assets/{toChartData-HYsxUPzh-CN6TOhlP.js → toChartData-yWFIkpKX-RS3uH3U9.js} +1 -1
- package/dist/assets/{treasuryColorHelper-BgV2H9Kv-BBaiHC7Z.js → treasuryColorHelper-I90KNlm_-BYEIYIdA.js} +1 -1
- package/dist/assets/{uploadAttachment-BgjFjkkw-CHJQ_-jA.js → uploadAttachment-BIyTb3QF-DLfW32Gd.js} +35 -35
- package/dist/assets/{uploadReceipts-CwjPukNh-CnV2uz7X.js → uploadReceipts-CB79ouJi-D3aL_mpJ.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-BwrF_fEr-Bl6tw_2_.js +0 -21
- package/dist/assets/ApAgingDetailPage-CsQ3DujX-DlJxm9wv.js +0 -46
- package/dist/assets/ChargeCardPromoPage-us_v89rV-BWpqYDUH.js +0 -222
- package/dist/assets/CheckDepositDrawerPage-XZJ1F0aC-DZabwxX9.js +0 -206
- package/dist/assets/CompleteProfile-BpX6H4vJ-CZDJQ04r.js +0 -52
- package/dist/assets/CustomerOnboardingContainerPage-C1higvpq-tWYvfVXz.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-BisaE6sH-CNi5QHjT.js +0 -66
- package/dist/assets/EditPeoplePage-ixJkT03_-BL4teQzP.js +0 -55
- package/dist/assets/FeaturePreviewPage-CpBX-Xic-CzzPQxyN.js +0 -11
- package/dist/assets/HelpButton-CzTfBZQj-CySfZ02w.js +0 -28
- package/dist/assets/InsightsSection-C-kpIvRH-BPjMKWaa.js +0 -27
- package/dist/assets/InvitePeoplePage-CPBMZNa--CIaNjMb9.js +0 -12
- package/dist/assets/InvoiceUploadSection-C0WzT0uv-BIhpe2Cm.js +0 -140
- package/dist/assets/LabeledAddressValue-B8awEVKI-D-PU1InD.js +0 -49
- package/dist/assets/LabeledAddressValueField-Dl5yKg2N-CEGK2Y9X.js +0 -45
- package/dist/assets/MagicLinkTitleSection-tHh2d5Ld-CTdvPKXv.js +0 -17
- package/dist/assets/NavBarWithPicker-Bzkl4W0x-CfzrLfDY.js +0 -30
- package/dist/assets/NotificationsListConfig-CeeJpJ2p-9azM46PI.js +0 -1
- package/dist/assets/PortfolioAllocationFormPage-28Rg5Um0-DY6maLGs.js +0 -207
- package/dist/assets/ReimbursementPromoPage-DQsLI50f-DvOFKYbI.js +0 -112
- package/dist/assets/StatementsPage-BM5Glizw-KJqDC7mS.js +0 -58
- package/dist/assets/TransactionVendorDetailPage-RajWBB1I-n3kajgLY.js +0 -80
- package/dist/assets/TransferDrawerPage-D-KFK0BM-BSonC9br.js +0 -362
- package/dist/assets/TreasuryTransferOrReviewPage-DrNld8H2-pA_lhDcW.js +0 -506
- package/dist/assets/Vendor2FAPopup-DvWVDx58-BBDrtmPb.js +0 -1
- package/dist/assets/VerifyDevice-XUExnmR9-BVFZuTkv.js +0 -67
- package/dist/assets/ZeniAccountNavBarPieces-5yZFq-zt-CS3RCOOK.js +0 -14
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{X as z,u as _,M as L,j as o,bN as H,o as r,gl as ie,q as R,K as ce,f as J,b2 as Q,C as ee,gm as de,gn as pe,cr as te,b3 as A,ap as ue,v as oe,go as he,b0 as re,w as ge,gp as me,gq as xe,e as N,ao as fe,l as M,gr as ye,z as Ce,gs as be,gt as ve,g as we,co as $e,bf as Se,ft as je,c as ke,h as V,a3 as Le,fu as Oe,a6 as Ee}from"./index-C5chxI3W.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;
|
|
5
|
-
`,
|
|
5
|
+
`,Ae=l(re)`
|
|
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(Q,{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,...J.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};
|
|
@@ -52,7 +52,7 @@ import{e as z,u as _,M as L,j as o,bQ as H,o as r,go as ie,q as B,J as ce,v as X
|
|
|
52
52
|
`,Ye=l(Ee)`
|
|
53
53
|
overflow: hidden;
|
|
54
54
|
text-overflow: ellipsis;
|
|
55
|
-
`,
|
|
55
|
+
`,qe=({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?Ge(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(Q,{...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:Xe,MultiValueLabel:Ke,MultiValueRemove:Ze},filterOption:(d,f)=>Qe(d,f,i),noOptionsMessage:()=>Je(i,j)})]})})},Ge=e=>(e?.vendor.map(t=>({label:t.name,value:t.name}))??[]).sort((t,n)=>(t.label??"").localeCompare(n.label??"")),Ke=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})]})})},Xe=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,{})]})})},Ze=e=>o.jsx(A.MultiValueRemove,{...e,children:o.jsx(Ue,{})}),Je=(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"}),Qe=(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};
|
|
@@ -62,12 +62,12 @@ import{e as z,u as _,M as L,j as o,bQ as H,o as r,go as ie,q as B,J as ce,v as X
|
|
|
62
62
|
align-items: flex-start;
|
|
63
63
|
flex-wrap: ${e=>e.windowSize==="small"?"wrap":"nowrap"};
|
|
64
64
|
row-gap: ${e=>e.windowSize==="small"?r.sp3:r.sp0};
|
|
65
|
-
`,
|
|
65
|
+
`,q=l.div`
|
|
66
66
|
width: 90px;
|
|
67
67
|
color: ${e=>e.theme.colors.primary};
|
|
68
|
-
`,
|
|
68
|
+
`,G=l.div`
|
|
69
69
|
width: 194px;
|
|
70
|
-
`,
|
|
70
|
+
`,K=l.button`
|
|
71
71
|
display: flex;
|
|
72
72
|
align-items: center;
|
|
73
73
|
column-gap: ${r.sp1};
|
|
@@ -98,7 +98,7 @@ import{e as z,u as _,M as L,j as o,bQ as H,o as r,go as ie,q as B,J as ce,v as X
|
|
|
98
98
|
display: flex;
|
|
99
99
|
justify-content: space-between;
|
|
100
100
|
align-items: center;
|
|
101
|
-
`,
|
|
101
|
+
`,X=l(fe)`
|
|
102
102
|
color: ${e=>e.theme.colors.primary};
|
|
103
103
|
`,it=l.button`
|
|
104
104
|
display: ${e=>e.windowSize==="small"?"none":"block"};
|
|
@@ -123,7 +123,7 @@ import{e as z,u as _,M as L,j as o,bQ as H,o as r,go as ie,q as B,J as ce,v as X
|
|
|
123
123
|
width: ${e=>rt.width.valuePx(e.windowSize)};
|
|
124
124
|
background: ${e=>e.theme.colors.background};
|
|
125
125
|
border-radius: ${r.sp1};
|
|
126
|
-
`,
|
|
126
|
+
`,Z=l.div`
|
|
127
127
|
display: flex;
|
|
128
128
|
align-items: center;
|
|
129
129
|
column-gap: ${r.sp3};
|
|
@@ -139,7 +139,7 @@ import{e as z,u as _,M as L,j as o,bQ as H,o as r,go as ie,q as B,J as ce,v as X
|
|
|
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(K,{onClick:j,children:[o.jsx(nt,{}),o.jsx(N,{children:d.addFilterBtnText})]}),o.jsxs(K,{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(Z,{children:[o.jsx(q,{children:o.jsx(X,{children:d.filterByLabel})}),o.jsx(G,{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(Z,{children:[o.jsxs(q,{children:[u===0&&o.jsx(X,{children:d.filterByLabel}),u!==0?o.jsx(me,{categoryCombinationOperator:e.categoryCombinationOperator,onChange:S,buttonsDisabled:u>1}):null]}),o.jsx(G,{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(qe,{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{e as z,u as _,M as L,j as o,bQ as H,o as r,go as ie,q as B,J as ce,v as X
|
|
|
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",...J.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`
|
|
@@ -227,4 +227,4 @@ import{e as z,u as _,M as L,j as o,bQ as H,o as r,go as ie,q as B,J as ce,v as X
|
|
|
227
227
|
height: ${r.sp4};
|
|
228
228
|
width: ${r.sp4};
|
|
229
229
|
color: ${e=>e.theme.colors.hero};
|
|
230
|
-
`;export{W as K,
|
|
230
|
+
`;export{W as K,At as Y};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{X as Te,ch as qe,u as Ge,M as Q,cp as Ze,a2 as se,eY as Ke,l as W,a8 as re,j as t,aS as Ye,C as d,f4 as Je,f5 as Qe,f6 as Xe,bC as et,q as o,a0 as tt,eZ as ye,e_ as ve,o as i,_ as N,f7 as Le,c as pe,g as j,e$ as it,Q as ze,f8 as nt,f0 as at,v as ot,bt as ke,cA as lt,a7 as st,f9 as rt,m as _e,af as Ae,fa as ct,cm as dt}from"./index-C5chxI3W.js";import{b as f,n}from"./vendor-CnQcJ2Lu.js";import{r as ut}from"./mui-Bi8r7UDG.js";import{S as pt}from"./ChargeCardUtils-DBEgXAMc-DYsQMmpv.js";import{Z as ht}from"./CreditCardPaymentPlgSection-BM05WC-i-Bk08bY1j.js";import{M as gt}from"./ChaseOverlay-HTpWDuLt-D0qtM7hD.js";import{K as mt}from"./SetUpDefaultSection-Be5NU_Em-BdXA12e3.js";const X={sectionWidth:new d(343,580,726),rowGap:new d(o[2],o[3]),footerPaddingLeftRight:new d(o[3],o[4])},ft={title:new ze("standardMedium","largeMedium")};function xt({plaidConnectionDetails:e,header:p,isAccountsEnabled:v=!0,analytics:x,pageName:b,accountsPromoConfig:k,style:A,onConnectClick:B,onSignUpClick:I}){const u=Te(),{setUp:r}=Q.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:r.accountsPlg.heading,buttonText:r.accountsPlg.signUpButtonText,onSignUpClick:I,isAccountsEnabled:v,pageName:b,analytics:x,style:{borderTopLeftRadius:i.sp2,borderTopRightRadius:i.sp2},accountsPromoConfig:k}),t.jsxs(kt,{windowSize:u,children:[t.jsxs($t,{onClick:B,children:[t.jsx(Ct,{isLoading:P,children:r.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=>X.rowGap.valuePx(e.windowSize)};
|
|
5
5
|
`,wt=n.div`
|
|
6
6
|
display: flex;
|
|
7
7
|
align-items: center;
|
|
@@ -11,7 +11,7 @@ import{e as Te,ck as qe,u as Ge,M as K,cs as Je,a2 as se,e_ as Ze,l as W,a8 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:X.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};
|
|
@@ -24,17 +24,17 @@ import{e as Te,ck as qe,u as Ge,M as K,cs as Je,a2 as se,e_ as Ze,l as W,a8 as r
|
|
|
24
24
|
align-items: center;
|
|
25
25
|
justify-content: center;
|
|
26
26
|
margin-left: ${i.sp2};
|
|
27
|
-
|
|
27
|
+
`,kt=n(_e)`
|
|
28
28
|
display: flex;
|
|
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=>X.footerPaddingLeftRight.valuePx(e.windowSize)};
|
|
33
|
+
padding-right: ${e=>X.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};
|
|
37
|
-
|
|
37
|
+
`,$t=n.div`
|
|
38
38
|
display: flex;
|
|
39
39
|
align-items: center;
|
|
40
40
|
:hover {
|
|
@@ -52,7 +52,7 @@ import{e as Te,ck as qe,u as Ge,M as K,cs as Je,a2 as se,e_ as Ze,l as W,a8 as r
|
|
|
52
52
|
height: 12px;
|
|
53
53
|
cursor: pointer;
|
|
54
54
|
color: ${e=>e.theme.colors.hero};
|
|
55
|
-
`,s={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 ze("standardSemiBold","largeSemiBold")};function si({primaryFundingAccount:e,allFundingAccounts:p,allBankAccounts:v,plaidConnectionDetails:x,sectionId:b,isDisabled:$,icon:A,sectionTitle:D,style:I,analytics:u,productType:r,referrer:m,accountSelectContainerStyle:P,connectedAccountProvider:te,isCompleted:N=!1,showCompletedIcon:q=!1,showZeniAccountSection:ie=!0,isAccountsEnabled:k,accountsPromoConfig:T,pageName:G,onFetchLinkTokenClick:L,onEstablishConnectionClick:J,onUpdatePaymentAccountStatus:E,onEstablishConnectionSuccess:M,onSignUpClick:ne,bottomComponent:Ie}){const a=Te(),{trigger:Ee,formState:{errors:Re}}=qe(),U=f.useRef(null),R=Ge(),{setUp:h}=K.getLocalizedStrings().commonSetUp,Z=K.getLocalizedStrings().spendManagement.chargeCard.payEarly;let y,he,c,S=!1;e!=null&&e.accType==="paymentAccount"&&(y=e.providerVerificationStatus,he=e?.institutionDetails,c=y?.code,S=e?.isLoginRequired??!1);const ae=ke(b,"account"),Be=Je(Re,ae),[z,X]=f.useState(void 0),g=x.link_account,_=x.update_account,w=z==="update_account"?_:g,[B,ge]=f.useState(w.linkToken??null),[F,Y]=f.useState(!1),[De,me]=f.useState(!1),fe=se(g.updateStatus.fetchState),oe=se(_.updateStatus.fetchState),Me=se(_.fetchStatus.fetchState),Ue=f.useCallback((l,C)=>{u.trackConnectBankSuccess(r,m);const be=C.accounts.find(Ne=>Ne.id===e?.providerAccountId)??C.accounts[0];e?.id!=null&&z==="update_account"&&be?.verification_status!=null&&!S?E(be?.verification_status,e.id,"update_account"):J(l,z),X(void 0),Y(!1)},[u,m,r,e?.id,e?.providerAccountId,z,S,E,J]),Fe=f.useCallback((l,C)=>{l!=null&&(u.trackConnectBankFailure(r,l.error_code+" "+l.error_message,m),l.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e?.id!=null&&E("verification_failed",e.id,"update_account"),console.log("Plaid Connection Error",l,C)),X(void 0),Y(!1)},[u,r,m,e?.id,E]),{open:O,ready:xe}=Ze({token:B,onSuccess:Ue,onExit:Fe});f.useEffect(()=>{(fe==="In-Progress"&&g.updateStatus.fetchState==="Completed"||oe==="In-Progress"&&_.updateStatus.fetchState==="Completed")&&(W.isVerifiedPaymentAccountProviderStatusCode(c??"")||(L("link_account"),M()))},[g.updateStatus.fetchState,M,L,e?.providerVerificationStatus?.code,e?.id,fe,oe,_.updateStatus.fetchState,c]),f.useEffect(()=>{(W.isVerifiedStatusCode(c??"")||c==="verification_failed")&&!F&&z!=null&&w.linkToken===B&&w.fetchStatus.fetchState==="Completed"&&xe&&Y(!0)},[xe,B,w.fetchStatus.fetchState,w.linkToken,c,z,F]),f.useEffect(()=>{w.fetchStatus.fetchState==="Completed"&&w.linkToken!=null&&w.linkToken!==B&&ge(w.linkToken)},[w.fetchStatus.fetchState,w.linkToken,B]),f.useEffect(()=>{F&&O()},[F,O]),f.useEffect(()=>{!e?.zeniAccountId&&!Be&&Ee(ae)},[e?.id]),f.useEffect(()=>{(c==null||c==="verification_failed"||c==="verification_expired"||W.isVerifiedStatusCode(c))&&(W.zeniDate(new Date().toISOString()).isAfter(g.expiration)||g.linkToken==null)&&L("link_account")},[]);const Oe=()=>{u.trackConnectBankGetBalance(r,m),X("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(l=>l.id===e?.id),Ve=()=>{me(!0)},He=R.mode==="light"?new re(R.colors.brandColorJadeLight):new re(R.colors.brandColorJadeDark);if(e==null&&p.length===0)return r==="zeni_accounts"?t.jsx(mt,{onClick:()=>{(c==null||c==="verification_failed"||c==="verification_expired")&&(u.trackConnectBank(r,m),O())},title:h.achTitle,subTitle:h.achSubTitle,header:h.paymentSource,isCompleted:N,showCompletedIcon:q,icon:{element:t.jsx(Xe,{width:s.iconWidthHeight.valuePx(a),height:s.iconWidthHeight.valuePx(a)}),color:new re(He)},isLoading:le,status:y}):t.jsx(Ce,{windowSize:a,style:I,children:t.jsx(xt,{header:h.paymentSource,plaidConnectionDetails:x,onConnectClick:()=>{(c==null||c==="verification_failed"||c==="verification_expired")&&(u.trackConnectBank(r,m),O())},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:[q===!0?t.jsx(Ht,{children:N?t.jsx(Nt,{}):t.jsx(qt,{})}):null,t.jsx(Vt,{windowSize:a,children:D??h.paymentSource})]}),t.jsxs(Ot,{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(Yt,{children:[t.jsxs(Gt,{children:[t.jsx(Ye,{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:(l,C)=>Qe(p,l,C),valueToSubLabels:(l,C)=>Ke(p,l,C,!1),defaultValue:{selectedOption:e?.id,allOptions:p.map(l=>({label:l.label,value:l.id,isRecommended:l.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(r,m),X("link_account"),g.linkToken==null||W.zeniDate(new Date().toISOString()).isAfter(g.expiration)?L("link_account"):B!==g.linkToken?ge(g.linkToken):F?O():Y(!0)}}),t.jsxs(Mt,{isDisabled:S,children:[Se?t.jsxs(t.Fragment,{children:[t.jsx(ee,{children:Se}),a!=="small"&&(c!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification"||S||we||e?.accountBalance?.available)?t.jsx(Zt,{}):null]}):null,c!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification"||S||we?t.jsx(Lt,{isUpdateLinkClicked:z==="update_account",isLoginRequired:S,isPendingVerification:c!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification",productType:r,fetchAndUpdateStatues:{fetchStatus:_.fetchStatus,updateStatus:_.updateStatus,linkFetchStatus:g.fetchStatus,linkUpdateStatus:g.updateStatus,prevFetchState:Me,prevUpdateState:oe},onUpdateLinkTokenClick:Oe,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:l=>l.stopPropagation(),"data-testid":H("account-select-container",r),children:[t.jsx(Et,{isDisabled:S?"disabled":$,label:{label:h.zeniCashAccountLabel,width:a==="small"?void 0:s.labelWidth.value(a),style:{marginLeft:s.labeleMarginLeft.valuePx(a),marginBottom:s.labeleMarginBottom.valuePx(a)}},style:{paddingTop:s.labeledFieldPaddingTop.valuePx(a),paddingBottom:s.labeledFieldPaddingBottom.valuePx(a),paddingLeft:s.labeledFieldPaddingLeft.valuePx(a),paddingRight:s.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:s.infoLabelPaddingRight.valuePx(a),marginTop:s.infoLabelMarginTop.valuePx(a)},singleSelectPickerField:{name:ae,placeholder:h.zeniCashAccountPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e?.zeniAccountId??"",allOptions:v.map(l=>({label:l.accountName,value:l.accountId}))},isOptionRemovable:!1,withBorder:a==="small",textAlignment:a==="small"?"left":"right",registerOptions:{required:!1}},valueToAdditionalLabel:()=>h.zeniCashAcoountInfo}),Ie]}):null,e?.accType==="paymentAccount"?r==="charge_cards"?t.jsx(ht,{style:{borderRadius:`${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2}`},maxInsuredAmount:T.maxInsuredAmount,heading:t.jsxs(zt,{windowSize:a,children:[Z.earn,t.jsx(_t,{children:Z.percentageCashback.replace("__percentage__",pt)}),Z.whenYouPayViaZeniChecking]}),buttonText:k===!1?h.accountsPlg.signUpButtonText:h.accountsPlg.switchButtonText,isAccountsEnabled:k,pageName:Z.creditCardPayment,onSignUpClick:ne,onSwitchClick:()=>{U.current!=null&&U.current.focus()}}):r!=="zeni_accounts"?t.jsx(Le,{heading:h.accountsPlg.heading,style:{borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},isAccountsEnabled:k,buttonText:k===!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,v,x,b,$)=>x?.accType==="depositAccount"?t.jsx(Kt,{isOptionSelected:!0,children:t.jsx(Qt,{color:nt(b??0)})}):x?.institutionDetails?.logo?.base64!=null?t.jsx(Xt,{windowSize:p,src:`${at}${x?.institutionDetails.logo?.base64.toString()}`,alt:x?.institutionDetails.institutionName,loading:"lazy"}):$===!0?e.element:t.jsx(Ft,{iconColor:e.color,windowSize:p,isDarkMode:v,children:e.element}),Lt=({productType:e,isLoginRequired:p,isUpdateLinkClicked:v,isPendingVerification:x,fetchAndUpdateStatues:b,onUpdateLinkTokenClick:$,onChaseInfoClick:A})=>{const{commonSetUp:D}=K.getLocalizedStrings(),{setUp:I}=D,{verifyAccount:u,verifyingAccount:r,verifyAccountError:m,reLogging:P,reLoginLabel:te,reLoginError:N,reLoginMessage:q,chaseLabel:ie}=I,{fetchStatus:k,updateStatus:T,linkFetchStatus:G,linkUpdateStatus:L,prevFetchState:J,prevUpdateState:E}=b,M=v&&J==="In-Progress"&&k?.fetchState==="Error"||E==="In-Progress"&&T?.fetchState==="Error";return p?v&&(k?.fetchState==="In-Progress"||T?.fetchState==="In-Progress"||G?.fetchState==="In-Progress"||L?.fetchState==="In-Progress")?t.jsxs(V,{style:{color:j.important},children:[t.jsx(ee,{children:P}),t.jsx(Pe,{children:t.jsx(pe,{size:"Small",start:!0,style:{display:"flex",color:j.important}})})]}):t.jsx(V,{style:{cursor:"pointer"},onClick:$,"data-testid":H("re-login-label-clicked"),children:t.jsx($e,{style:{padding:`12px ${i.sp3}`},title:q,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:j.important},children:M?N:te}),t.jsx(de,{children:t.jsx(ue,{style:{color:j.important}})})]})})}):k?.fetchState==="In-Progress"||T?.fetchState==="In-Progress"?t.jsxs(V,{children:[t.jsx(ee,{children:r}),t.jsx(Pe,{children:t.jsx(pe,{size:"Small",start:!0,style:{display:"flex"}})})]}):x?t.jsxs(V,{onClick:$,"data-testid":H("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:j.important},title:m,placement:"bottom",children:t.jsx(je,{})}):null]}):t.jsxs(V,{onClick:A,"data-testid":H("chase-info-label-clicked"),children:[t.jsx(ce,{isError:!1,children:ie}),t.jsx(de,{children:t.jsx(ue,{})})]})},ke=(e,p)=>`${e}.${p}`,zt=n(st)`
|
|
55
|
+
`,s={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 ze("standardSemiBold","largeSemiBold")};function si({primaryFundingAccount:e,allFundingAccounts:p,allBankAccounts:v,plaidConnectionDetails:x,sectionId:b,isDisabled:k,icon:A,sectionTitle:B,style:I,analytics:u,productType:r,referrer:m,accountSelectContainerStyle:P,connectedAccountProvider:te,isCompleted:H=!1,showCompletedIcon:q=!1,showZeniAccountSection:ie=!0,isAccountsEnabled:$,accountsPromoConfig:T,pageName:G,onFetchLinkTokenClick:L,onEstablishConnectionClick:Z,onUpdatePaymentAccountStatus:E,onEstablishConnectionSuccess:M,onSignUpClick:ne,bottomComponent:Ie}){const a=Te(),{trigger:Ee,formState:{errors:Re}}=qe(),D=f.useRef(null),R=Ge(),{setUp:h}=Q.getLocalizedStrings().commonSetUp,K=Q.getLocalizedStrings().spendManagement.chargeCard.payEarly;let y,he,c,S=!1;e!=null&&e.accType==="paymentAccount"&&(y=e.providerVerificationStatus,he=e?.institutionDetails,c=y?.code,S=e?.isLoginRequired??!1);const ae=$e(b,"account"),Ue=Ze(Re,ae),[z,Y]=f.useState(void 0),g=x.link_account,_=x.update_account,w=z==="update_account"?_:g,[U,ge]=f.useState(w.linkToken??null),[O,J]=f.useState(!1),[Be,me]=f.useState(!1),fe=se(g.updateStatus.fetchState),oe=se(_.updateStatus.fetchState),Me=se(_.fetchStatus.fetchState),De=f.useCallback((l,C)=>{u.trackConnectBankSuccess(r,m);const be=C.accounts.find(He=>He.id===e?.providerAccountId)??C.accounts[0];e?.id!=null&&z==="update_account"&&be?.verification_status!=null&&!S?E(be?.verification_status,e.id,"update_account"):Z(l,z),Y(void 0),J(!1)},[u,m,r,e?.id,e?.providerAccountId,z,S,E,Z]),Oe=f.useCallback((l,C)=>{l!=null&&(u.trackConnectBankFailure(r,l.error_code+" "+l.error_message,m),l.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e?.id!=null&&E("verification_failed",e.id,"update_account"),console.log("Plaid Connection Error",l,C)),Y(void 0),J(!1)},[u,r,m,e?.id,E]),{open:F,ready:xe}=Ke({token:U,onSuccess:De,onExit:Oe});f.useEffect(()=>{(fe==="In-Progress"&&g.updateStatus.fetchState==="Completed"||oe==="In-Progress"&&_.updateStatus.fetchState==="Completed")&&(W.isVerifiedPaymentAccountProviderStatusCode(c??"")||(L("link_account"),M()))},[g.updateStatus.fetchState,M,L,e?.providerVerificationStatus?.code,e?.id,fe,oe,_.updateStatus.fetchState,c]),f.useEffect(()=>{(W.isVerifiedStatusCode(c??"")||c==="verification_failed")&&!O&&z!=null&&w.linkToken===U&&w.fetchStatus.fetchState==="Completed"&&xe&&J(!0)},[xe,U,w.fetchStatus.fetchState,w.linkToken,c,z,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(()=>{(c==null||c==="verification_failed"||c==="verification_expired"||W.isVerifiedStatusCode(c))&&(W.zeniDate(new Date().toISOString()).isAfter(g.expiration)||g.linkToken==null)&&L("link_account")},[]);const Fe=()=>{u.trackConnectBankGetBalance(r,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(l=>l.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 r==="zeni_accounts"?t.jsx(mt,{onClick:()=>{(c==null||c==="verification_failed"||c==="verification_expired")&&(u.trackConnectBank(r,m),F())},title:h.achTitle,subTitle:h.achSubTitle,header:h.paymentSource,isCompleted:H,showCompletedIcon:q,icon:{element:t.jsx(Ye,{width:s.iconWidthHeight.valuePx(a),height:s.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:()=>{(c==null||c==="verification_failed"||c==="verification_expired")&&(u.trackConnectBank(r,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:[q===!0?t.jsx(Nt,{children:H?t.jsx(Ht,{}):t.jsx(qt,{})}):null,t.jsx(Vt,{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(Gt,{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:$e(b,"fundingAccount"),placeholder:h.selectAccountPlaceholder,capitalizeOptions:!0,appendSublabel:!1,showLogoInSingleValue:!1,isClearable:!1,maxMenuHeight:220,valueToLogo:(l,C)=>Xe(p,l,C),valueToSubLabels:(l,C)=>Qe(p,l,C,!1),defaultValue:{selectedOption:e?.id,allOptions:p.map(l=>({label:l.label,value:l.id,isRecommended:l.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(r,m),Y("link_account"),g.linkToken==null||W.zeniDate(new Date().toISOString()).isAfter(g.expiration)?L("link_account"):U!==g.linkToken?ge(g.linkToken):O?F():J(!0)}}),t.jsxs(Mt,{isDisabled:S,children:[Se?t.jsxs(t.Fragment,{children:[t.jsx(ee,{children:Se}),a!=="small"&&(c!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification"||S||we||e?.accountBalance?.available)?t.jsx(Kt,{}):null]}):null,c!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification"||S||we?t.jsx(Lt,{isUpdateLinkClicked:z==="update_account",isLoginRequired:S,isPendingVerification:c!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification",productType:r,fetchAndUpdateStatues:{fetchStatus:_.fetchStatus,updateStatus:_.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(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(Zt,{})]}):null})]}),ie?t.jsxs(It,{style:P,windowSize:a,isDisabled:S,onClick:l=>l.stopPropagation(),"data-testid":N("account-select-container",r),children:[t.jsx(Et,{isDisabled:S?"disabled":k,label:{label:h.zeniCashAccountLabel,width:a==="small"?void 0:s.labelWidth.value(a),style:{marginLeft:s.labeleMarginLeft.valuePx(a),marginBottom:s.labeleMarginBottom.valuePx(a)}},style:{paddingTop:s.labeledFieldPaddingTop.valuePx(a),paddingBottom:s.labeledFieldPaddingBottom.valuePx(a),paddingLeft:s.labeledFieldPaddingLeft.valuePx(a),paddingRight:s.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:s.infoLabelPaddingRight.valuePx(a),marginTop:s.infoLabelMarginTop.valuePx(a)},singleSelectPickerField:{name:ae,placeholder:h.zeniCashAccountPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e?.zeniAccountId??"",allOptions:v.map(l=>({label:l.accountName,value:l.accountId}))},isOptionRemovable:!1,withBorder:a==="small",textAlignment:a==="small"?"left":"right",registerOptions:{required:!1}},valueToAdditionalLabel:()=>h.zeniCashAcoountInfo}),Ie]}):null,e?.accType==="paymentAccount"?r==="charge_cards"?t.jsx(ht,{style:{borderRadius:`${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2}`},maxInsuredAmount:T.maxInsuredAmount,heading:t.jsxs(zt,{windowSize:a,children:[K.earn,t.jsx(_t,{children:K.percentageCashback.replace("__percentage__",pt)}),K.whenYouPayViaZeniChecking]}),buttonText:$===!1?h.accountsPlg.signUpButtonText:h.accountsPlg.switchButtonText,isAccountsEnabled:$,pageName:K.creditCardPayment,onSignUpClick:ne,onSwitchClick:()=>{D.current!=null&&D.current.focus()}}):r!=="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,v,x,b,k)=>x?.accType==="depositAccount"?t.jsx(Qt,{isOptionSelected:!0,children:t.jsx(Xt,{color:nt(b??0)})}):x?.institutionDetails?.logo?.base64!=null?t.jsx(Yt,{windowSize:p,src:`${at}${x?.institutionDetails.logo?.base64.toString()}`,alt:x?.institutionDetails.institutionName,loading:"lazy"}):k===!0?e.element:t.jsx(Ot,{iconColor:e.color,windowSize:p,isDarkMode:v,children:e.element}),Lt=({productType:e,isLoginRequired:p,isUpdateLinkClicked:v,isPendingVerification:x,fetchAndUpdateStatues:b,onUpdateLinkTokenClick:k,onChaseInfoClick:A})=>{const{commonSetUp:B}=Q.getLocalizedStrings(),{setUp:I}=B,{verifyAccount:u,verifyingAccount:r,verifyAccountError:m,reLogging:P,reLoginLabel:te,reLoginError:H,reLoginMessage:q,chaseLabel:ie}=I,{fetchStatus:$,updateStatus:T,linkFetchStatus:G,linkUpdateStatus:L,prevFetchState:Z,prevUpdateState:E}=b,M=v&&Z==="In-Progress"&&$?.fetchState==="Error"||E==="In-Progress"&&T?.fetchState==="Error";return p?v&&($?.fetchState==="In-Progress"||T?.fetchState==="In-Progress"||G?.fetchState==="In-Progress"||L?.fetchState==="In-Progress")?t.jsxs(V,{style:{color:j.important},children:[t.jsx(ee,{children:P}),t.jsx(Pe,{children:t.jsx(pe,{size:"Small",start:!0,style:{display:"flex",color:j.important}})})]}):t.jsx(V,{style:{cursor:"pointer"},onClick:k,"data-testid":N("re-login-label-clicked"),children:t.jsx(ke,{style:{padding:`12px ${i.sp3}`},title:q,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:j.important},children:M?H:te}),t.jsx(de,{children:t.jsx(ue,{style:{color:j.important}})})]})})}):$?.fetchState==="In-Progress"||T?.fetchState==="In-Progress"?t.jsxs(V,{children:[t.jsx(ee,{children:r}),t.jsx(Pe,{children:t.jsx(pe,{size:"Small",start:!0,style:{display:"flex"}})})]}):x?t.jsxs(V,{onClick:k,"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(ke,{maxWidth:"280px",style:{padding:`12px ${i.sp3}`,color:j.important},title:m,placement:"bottom",children:t.jsx(je,{})}):null]}):t.jsxs(V,{onClick:A,"data-testid":N("chase-info-label-clicked"),children:[t.jsx(ce,{isError:!1,children:ie}),t.jsx(de,{children:t.jsx(ue,{})})]})},$e=(e,p)=>`${e}.${p}`,zt=n(st)`
|
|
56
56
|
color: ${e=>e.theme.colors.primary};
|
|
57
57
|
width: ${e=>e.windowSize==="small"?"80%":"100%"};
|
|
58
58
|
`,_t=n(rt)`
|
|
@@ -85,10 +85,10 @@ import{e as Te,ck as qe,u as Ge,M as K,cs as Je,a2 as se,e_ as Ze,l as W,a8 as r
|
|
|
85
85
|
`,Rt=n.div`
|
|
86
86
|
display: flex;
|
|
87
87
|
opacity: ${e=>e.isDisabled?.8:1};
|
|
88
|
-
`,
|
|
88
|
+
`,Ut=n.div`
|
|
89
89
|
display: flex;
|
|
90
90
|
align-items: flex-start;
|
|
91
|
-
`,
|
|
91
|
+
`,Bt=n.div`
|
|
92
92
|
display: flex;
|
|
93
93
|
`,Mt=n(ot)`
|
|
94
94
|
display: flex;
|
|
@@ -105,11 +105,11 @@ import{e as Te,ck as qe,u as Ge,M as K,cs as Je,a2 as se,e_ as Ze,l as W,a8 as r
|
|
|
105
105
|
`,V=n(_e)`
|
|
106
106
|
display: flex;
|
|
107
107
|
align-items: center;
|
|
108
|
-
`,
|
|
108
|
+
`,Dt=n.div`
|
|
109
109
|
display: flex;
|
|
110
110
|
align-items: center;
|
|
111
111
|
justify-content: center;
|
|
112
|
-
`,
|
|
112
|
+
`,Ot=n.div`
|
|
113
113
|
display: flex;
|
|
114
114
|
flex-direction: row;
|
|
115
115
|
align-items: center;
|
|
@@ -122,7 +122,7 @@ import{e as Te,ck as qe,u as Ge,M as K,cs as Je,a2 as se,e_ as Ze,l as W,a8 as r
|
|
|
122
122
|
max-width: ${e=>s.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
123
123
|
max-height: ${e=>s.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
124
124
|
margin-right: ${i.sp2};
|
|
125
|
-
`,
|
|
125
|
+
`,Ft=n.div`
|
|
126
126
|
display: flex;
|
|
127
127
|
flex-direction: column;
|
|
128
128
|
width: ${e=>s.sectionWidth.valuePx(e.windowSize)};
|
|
@@ -145,9 +145,9 @@ import{e as Te,ck as qe,u as Ge,M as K,cs as Je,a2 as se,e_ as Ze,l as W,a8 as r
|
|
|
145
145
|
`,Vt=n.div`
|
|
146
146
|
color: ${e=>e.theme.colors.primary};
|
|
147
147
|
${e=>`${Pt.title.style(e.windowSize)}`};
|
|
148
|
-
`,
|
|
148
|
+
`,Nt=n.div`
|
|
149
149
|
margin-right: ${i.sp2};
|
|
150
|
-
`,
|
|
150
|
+
`,Ht=n(it)`
|
|
151
151
|
width: ${i.sp3};
|
|
152
152
|
height: ${i.sp3};
|
|
153
153
|
color: ${j.success};
|
|
@@ -156,11 +156,11 @@ import{e as Te,ck as qe,u as Ge,M as K,cs as Je,a2 as se,e_ as Ze,l as W,a8 as r
|
|
|
156
156
|
width: 14px;
|
|
157
157
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
158
158
|
border-radius: 50%;
|
|
159
|
-
`,Gt=n.div``,
|
|
159
|
+
`,Gt=n.div``,Zt=n.div`
|
|
160
160
|
width: ${i.sp4};
|
|
161
161
|
height: ${i.sp4};
|
|
162
162
|
margin-left: ${i.sp4};
|
|
163
|
-
`,
|
|
163
|
+
`,Kt=n.div`
|
|
164
164
|
display: inline-block;
|
|
165
165
|
border-radius: ${i.sp2};
|
|
166
166
|
margin: ${i.sp0} 12px;
|
|
@@ -168,12 +168,12 @@ import{e as Te,ck as qe,u as Ge,M as K,cs as Je,a2 as se,e_ as Ze,l as W,a8 as r
|
|
|
168
168
|
height: ${i.sp1};
|
|
169
169
|
cursor: inherit;
|
|
170
170
|
background-color: ${e=>e.theme.colors.grey1};
|
|
171
|
-
`,
|
|
171
|
+
`,Yt=n.img`
|
|
172
172
|
width: ${e=>s.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
173
173
|
height: ${e=>s.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
174
174
|
border-radius: ${i.sp11};
|
|
175
175
|
margin-right: ${i.sp2};
|
|
176
|
-
`,
|
|
176
|
+
`,Jt=n.div`
|
|
177
177
|
display: flex;
|
|
178
178
|
flex-direction: column;
|
|
179
179
|
`,de=n.div`
|
|
@@ -194,13 +194,13 @@ import{e as Te,ck as qe,u as Ge,M as K,cs as Je,a2 as se,e_ as Ze,l as W,a8 as r
|
|
|
194
194
|
align-items: center;
|
|
195
195
|
justify-content: center;
|
|
196
196
|
margin-left: ${i.sp2};
|
|
197
|
-
`,
|
|
197
|
+
`,Qt=n.div`
|
|
198
198
|
min-width: ${e=>e.isOptionSelected?i.sp4:i.sp5};
|
|
199
199
|
width: ${e=>e.isOptionSelected?i.sp7:i.sp5};
|
|
200
200
|
height: ${e=>e.isOptionSelected?i.sp7:i.sp5};
|
|
201
201
|
margin-right: ${i.sp2};
|
|
202
|
-
`,
|
|
202
|
+
`,Xt=n(ct)`
|
|
203
203
|
min-width: inherit;
|
|
204
204
|
width: inherit;
|
|
205
205
|
height: inherit;
|
|
206
|
-
`;export{Lt as B,si as f
|
|
206
|
+
`;export{Lt as B,si as f,$e as y,Tt as z};
|
package/dist/assets/{StatementItem-q9U89Htr-DJqALh3W.js → StatementItem-Cptht91w-CXR-Xt2m.js}
RENAMED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{X as y,M as S,h0 as b,j as o,c as g,o as n,e as j,C as v,bq as z,q as k}from"./index-C5chxI3W.js";import{b as P,n as i}from"./vendor-CnQcJ2Lu.js";import{g as C}from"./BoxItem-9JmA6QqI-D4hhkbCR.js";import{w as L}from"./downloadPdf-B5Tb5dp_-Ct6A3VYi.js";const d=S.getLocalizedStrings().months,r={downloadButtonSize:new v(k[4],20)},q=i.div`
|
|
2
2
|
display: flex;
|
|
3
|
-
padding: ${
|
|
3
|
+
padding: ${n.sp3} ${n.sp4};
|
|
4
4
|
flex-direction: row;
|
|
5
5
|
width: 100%;
|
|
6
|
-
`,
|
|
6
|
+
`,B=i.div`
|
|
7
7
|
display: flex;
|
|
8
8
|
justify-content: space-between;
|
|
9
9
|
align-items: center;
|
|
10
10
|
width: 100%;
|
|
11
|
-
`,
|
|
11
|
+
`,T=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: ${n.sp2};
|
|
16
|
+
max-height: ${n.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=>r.downloadButtonSize.valuePx(t.windowSize)};
|
|
25
25
|
height: ${t=>r.downloadButtonSize.valuePx(t.windowSize)};
|
|
26
26
|
min-height: ${t=>r.downloadButtonSize.valuePx(t.windowSize)};
|
|
@@ -28,4 +28,4 @@ import{e as y,M as S,h3 as b,j as o,m as g,o as a,n as j,C as v,bu as z,q as k}f
|
|
|
28
28
|
&:hover {
|
|
29
29
|
color: ${t=>t.theme.colors.primary};
|
|
30
30
|
}
|
|
31
|
-
`;function
|
|
31
|
+
`;function J({accountLast4:t,currentTenantCompanyName:s,data:e,authParams:m,downloadEndPoint:l,documentType:a="statement",boxType:p}){const[c,w]=P.useState(!1),x=y(),h=a==="taxLetter"?`${e.title.year}`:`${d[e.title.month-1]} ${e.title.year}`,$=a==="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(q,{children:o.jsxs(B,{children:[o.jsx(T,{children:h}),o.jsx(E,{onClick:()=>L(a==="treasuryStatement"||a==="taxLetter"?`${l}/statements/${e.id}`:`${l}/statements?query=${encodeURIComponent(JSON.stringify(u))}`,$,m,w),children:c?o.jsx(g,{size:"Small",start:!0}):o.jsx(M,{windowSize:x})})]})});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,aj as P,o as r,g as m,bU as I,C as L,q as h,e as B}from"./index-C5chxI3W.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as E}from"./BoxItem-9JmA6QqI-D4hhkbCR.js";import{o as R}from"./commonDimensions-BpaqG_u8-Hm0X7sCE.js";import{M as T}from"./StatementItem-Cptht91w-CXR-Xt2m.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-B5Tb5dp_-Ct6A3VYi.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 $=v(),l=z(),k=p.createRef(),c=p.useRef(null),d=i.statements.length===0,j=()=>d===!1?R.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:E(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:$.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:k,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(B)`
|
|
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-CtuL5COG-Bd0whTb6.js → StatusSwitcher-B3gZD4Xk-Bh4cnysY.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{X as y,j as d,bD as T,M as v,C as f,o as s,q as c,v as z}from"./index-C5chxI3W.js";import{n as u,j as g}from"./vendor-CnQcJ2Lu.js";function m(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 _=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(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:m(a)}return m(a)}function p(e,a,r){const n=e[a];return n!=null?A(n,r):null}const L=(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)??m(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:x}},reimbursement:{reimbursementByTabs:{tabsById:$}},zeniAccounts:{zeniAccountList:{tabsById:M}}}}=v.getLocalizedStrings(),w={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%;
|
|
@@ -16,7 +16,7 @@ import{e as y,j as d,bG as T,M as v,C as f,o as s,q as c,d as z}from"./index-D3A
|
|
|
16
16
|
column-gap: ${e=>e.hasSubTabs!==!0?e.windowSize==="small"?s.sp3:s.sp6:s.sp4};
|
|
17
17
|
|
|
18
18
|
margin-left: ${e=>e.hasSubTabs===!0?w.segmentContainerMarginLeft.valuePx(e.windowSize):"0"};
|
|
19
|
-
`,
|
|
19
|
+
`,D=u(z)`
|
|
20
20
|
display: flex;
|
|
21
21
|
padding: ${e=>e.isMainTab?"12px":"6px 12px"};
|
|
22
22
|
white-space: nowrap;
|
|
@@ -33,7 +33,7 @@ import{e as y,j as d,bG as T,M as v,C as f,o as s,q as c,d as z}from"./index-D3A
|
|
|
33
33
|
}
|
|
34
34
|
background-color: ${e=>e.isSelected&&!e.isMainTab?e.theme.colors.grey3:""};
|
|
35
35
|
border-radius: ${e=>e.isSelected&&!e.isMainTab?s.sp1:s.sp0};
|
|
36
|
-
`,
|
|
36
|
+
`,B=u.div`
|
|
37
37
|
display: flex;
|
|
38
38
|
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.hero};
|
|
39
39
|
border: ${e=>`1px solid ${e.isSelected?e.theme.colors.primary:e.theme.colors.grey1}`};
|
|
@@ -117,4 +117,4 @@ import{e as y,j as d,bG as T,M as v,C as f,o as s,q as c,d as z}from"./index-D3A
|
|
|
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(
|
|
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(D,{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(B,{isSelected:a,children:r}):null]})}function q({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:`${_(r).toLowerCase()}.${L(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{q as E};
|
package/dist/assets/{SubTabSwitcher-DHiC-mOv-B69z0IV-.js → SubTabSwitcher-ymwMdmPQ-Bui2S7lB.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as r,
|
|
1
|
+
import{j as r,c as u,o as s,v as g,ae as m}from"./index-C5chxI3W.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"};
|
|
@@ -10,7 +10,7 @@ import{j as r,m as u,o as s,d as g,ae as m}from"./index-D3AeqRGt.js";import{n as
|
|
|
10
10
|
position: relative;
|
|
11
11
|
gap: ${s.sp3};
|
|
12
12
|
overflow: auto;
|
|
13
|
-
`,
|
|
13
|
+
`,y=i.div``,b=i(g)`
|
|
14
14
|
height: ${s.sp5};
|
|
15
15
|
padding: ${s.sp0} 12px;
|
|
16
16
|
color: ${e=>e.isDisabled?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.grey1};
|
|
@@ -55,4 +55,4 @@ import{j as r,m as u,o as s,d as g,ae as m}from"./index-D3AeqRGt.js";import{n as
|
|
|
55
55
|
align-items: center;
|
|
56
56
|
justify-content: center;
|
|
57
57
|
color: inherit;
|
|
58
|
-
`;export{
|
|
58
|
+
`;export{S as k};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as d}from"./index-
|
|
1
|
+
import{j as d}from"./index-C5chxI3W.js";import{E as n,T as t}from"./ReloadCard-Brl4XdzV-avg2x7k6.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};
|