@zeniai/web-cockpit-ui 1.13.85-qa → 1.13.86-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-CRqyoYEz-BOyw7D7v.js → ACHDetailsPage-DGGeHZnW-CRRXdkuL.js} +3 -3
- package/dist/assets/{AIPerformancePage-DAkvkXSA-DR1Rn68p.js → AIPerformancePage-BnFh61HC-DG1jrKEt.js} +24 -24
- package/dist/assets/AccountInfoPage-BoCzcaQW-DXC6zcEv.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BWZbyIYz-BwEofkT3.js → AccountInfoPageContent-C4VpFgc_-DvP6xZz-.js} +20 -20
- package/dist/assets/{AccountReconDetailsDrawerPage-DLd_igXD-D-07Ys_g.js → AccountReconDetailsDrawerPage-DJmFBJve-DvtbeSb_.js} +18 -18
- package/dist/assets/AccountRow-vtPa0PJn-DyxPucxT.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-DIly1lFF-C63cClOI.js → AccountsPromoCardStack-D5elLwcD-DFP5ej-L.js} +22 -22
- package/dist/assets/{AddAddressForCardDrawer-C90j4Cwr-BT9i1kr2.js → AddAddressForCardDrawer-D9uW1sU2-CyIurqG5.js} +1 -1
- package/dist/assets/{AddToWalletPage-Bo2KesYz-B6pn-wDw.js → AddToWalletPage-D3yOWwc3-Dt5WZtr8.js} +30 -30
- package/dist/assets/{AgingReportsPage-DuoKsSkU-D2pt3N1l.js → AgingReportsPage-DlB02nzb-DT1hA1_s.js} +4 -4
- package/dist/assets/{AllUserItems-C0U1Brjm-DLoP83Sx.js → AllUserItems-Bwbb5_fm-BcHqhbO0.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-dNwAZULr-Dh1nmwAG.js → ApAgingDetailPage-Bhf_ygxm-DDVphjYY.js} +3 -3
- package/dist/assets/{AppBasePage-CfkaWEbJ-Bv3CGV1I.js → AppBasePage-DyGLpjZ0-DttRVXyT.js} +4 -4
- package/dist/assets/{AppDrawerContent-DlHQEgOZ-CDNjVPxb.js → AppDrawerContent-D_dlUPFp-BL5bhrHC.js} +2 -2
- package/dist/assets/{ApprovalRulesSettingsPage-Pl7HoLmk-O1hX1O5a.js → ApprovalRulesSettingsPage-DLvGE0ND-DjcwfHKU.js} +6 -6
- package/dist/assets/{ArAgingChart-xI9TRvfS-CYApUAH7.js → ArAgingChart-CR7dx7XY-Cx6fMjBH.js} +5 -5
- package/dist/assets/{ArAgingDetailPage-BMGCnP5d-DgYDd0kk.js → ArAgingDetailPage-kU_SEimL-B5vhsKkP.js} +2 -2
- package/dist/assets/{AttachmentView-C8AgUAnY-D38bw4nL.js → AttachmentView-ClQPirg--D1d3_Uda.js} +8 -8
- package/dist/assets/{BankAccountSection-DB4PEf_X--XKoeQkb.js → BankAccountSection-DLB1oftk-DEn9rP2e.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-BNO8Gl59-C7lGSojx.js → BankAccountWarningSection-ClrNHLqo-NpMhaSfC.js} +5 -5
- package/dist/assets/{BankConnectionsSettingsPage-BOreBo5b-5l_djXua.js → BankConnectionsSettingsPage-D1w10U35-B0hA0qGz.js} +22 -22
- package/dist/assets/{BillDetailPage-Bv86SywV-jkHBDmPc.js → BillDetailPage-Bfrn4oa6-D2E_Tt5J.js} +5 -5
- package/dist/assets/{BillPayApprovalRuleDetailPage-CDXxmD-3-tKogNh_O.js → BillPayApprovalRuleDetailPage-DIzv3Xu9-yMWl3cpx.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-Ci5Ok7Zj-BRD-ODg8.js → BillPayApprovalRulesPage-CPBknTMQ-BwSnwQg8.js} +3 -3
- package/dist/assets/{BillPayPromoPage-Co2j2krO-B-Hi3v0R.js → BillPayPromoPage-CKETeVet-WnOIT8cc.js} +2 -2
- package/dist/assets/{BillPaySetUpPage-DjpCUZaT-BImJiA0N.js → BillPaySetUpPage-DIz-RZih-CC05m-y7.js} +2 -2
- package/dist/assets/BillingSettingsPage-Bm-IF_p7-8u0bw5ku.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-CVAG78EK-BwPRAmgg.js +1 -0
- package/dist/assets/{BoxItem-BqLhtWoJ-dHjwNV6l.js → BoxItem-B8KF3Skh-TmzJmYZc.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CZGOzc9Z-BxBWKK3p.js → BusinessVerificationPage-Ctqy7ZwA-J8d6V6lT.js} +8 -8
- package/dist/assets/{CardNumberSubText-23sLjCVt-p-FcxRyz.js → CardNumberSubText-CNiPWVeO-OlxmvVJt.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DY0n94jz-B2flhYaR.js → CashbackDetailPage-BNWBGKHa-bIlWYuwv.js} +21 -21
- package/dist/assets/{ChargeCardDetailPage-NWTPnGtM-GzsfA6im.js → ChargeCardDetailPage-BuCwlpLH-7rCG_cYb.js} +58 -58
- package/dist/assets/{ChargeCardListPage-D42dfnET-Dw_Gnic_.js → ChargeCardListPage-CXbTalVQ-D381djUW.js} +35 -35
- package/dist/assets/{ChargeCardListTable-B7uRDVzb-PjQ3L9G6.js → ChargeCardListTable-D4-Br785-DpvUrE9e.js} +25 -25
- package/dist/assets/ChargeCardPromoPage-BTfg7L28-D2O1yFJS.js +175 -0
- package/dist/assets/{ChargeCardSetupPage-Ccc8PoCm-DGeNkrzB.js → ChargeCardSetupPage-fy0EpA-m-DvURpcVh.js} +2 -2
- package/dist/assets/{ChargeCardStatementsPage-JEslDm3r-DZPmPw5i.js → ChargeCardStatementsPage-B_rdiq_Y-BAKafx8N.js} +4 -4
- package/dist/assets/{ChargeCardUtils-B3JEziD7-Dyg77jk5.js → ChargeCardUtils-CtoTn6DQ-C3z4uZjJ.js} +1 -1
- package/dist/assets/{ChaseOverlay-KLet3F9X-D9O--vXG.js → ChaseOverlay-DfjQ73Ie-BOsM74a7.js} +8 -8
- package/dist/assets/CheckDepositDrawerPage-yUzhTMSu-DalHOQf6.js +206 -0
- package/dist/assets/{CollapsableReportTable-DshWn4Fc-CJTqtHsL.js → CollapsableReportTable-CHsJ-93l-CZG5w07A.js} +29 -29
- package/dist/assets/{CompanyOfficerDetailsSection-DWqEolPc-CtOYg9is.js → CompanyOfficerDetailsSection-BlUCDRW6-r-0kIc8i.js} +26 -26
- package/dist/assets/{CompanyPassportCard-fyolEQTs-HThTUw8Q.js → CompanyPassportCard-DSRRu6RZ-D8WUh8RF.js} +2 -2
- package/dist/assets/{CompanyPassportPage-CrgsRRVr-D-W-kZ0u.js → CompanyPassportPage-DpeoVbLk-CGE5gjRB.js} +140 -140
- package/dist/assets/{CompleteProfile-D_zq0Bxi-DzmMJrCa.js → CompleteProfile-BaTEooSW-C9pQ1jcL.js} +10 -10
- package/dist/assets/ConfettiBurst-C2engbkN-OYjDPreK.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-Ct4Kfowi-EJwIqng4.js → CreateOrEditVendorPage-CaIc3Tib-CiLHzKjL.js} +15 -15
- package/dist/assets/{CreditCardPaymentDrawerPage-Cpu-7pGN-CFUmfUnI.js → CreditCardPaymentDrawerPage-DEFrzmkG-BYyXj2cB.js} +16 -16
- package/dist/assets/{CreditCardPaymentPlgSection-DoMaCnIZ-DEDF2Bw6.js → CreditCardPaymentPlgSection-IeRxDnG7-iIog9fs2.js} +10 -10
- package/dist/assets/{CurrencySelectField-CCOtXLC7-WWI_x70H.js → CurrencySelectField-DDiCwLn7-OV5xt8fQ.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-Cgzif1ji-KDPEI4Nw.js → CustomerOnboardingActivationPage-976y8y35-B5nrrrGQ.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-DzzvTpfs-BL-GBLoz.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BOMwRZEO-DhpvGzW9.js → CustomerOnboardingDetailPageSkeleton-DYfidx87-rFt8SrGg.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-DDloVGvk-DfWdnJkn.js → CustomerOnboardingNoStepsPage-DrLZ3k77-DwEaFPCU.js} +8 -8
- package/dist/assets/CustomerOnboardingPage-BiUXryld-DwfZXjsS.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-BA3GAX42-CH_YxX7C.js → CustomerOnboardingProductSuitePage-CmHltdpN-Cb45Wbg-.js} +4 -4
- package/dist/assets/Dashboard-B1UeMAoF-D-P-pMiu.js +778 -0
- package/dist/assets/{DashboardReportPage-paPVk_v2-rdCWEh1c.js → DashboardReportPage-DULpVd6J-B_d0ak7a.js} +67 -67
- package/dist/assets/{DepositAccTransactionItem-BXRfgUfE-Bi5kB8pj.js → DepositAccTransactionItem-BEs_Al_8-DryszVsJ.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage--7TRlqKj-CGLWI77-.js → DepositAccTransactionListPage-CL8Rr3I4-3mitujdt.js} +8 -8
- package/dist/assets/{DocumentSecurityBanner-B0Qt1FLC-BPGORTR1.js → DocumentSecurityBanner-BgKXBGg3-gTBQRSLd.js} +1 -1
- package/dist/assets/DomesticWireDetailsPage-CVKheLW6-Cp0cNoH9.js +21 -0
- package/dist/assets/{DownloadOverlay-Cl_EXjiu-ayFegofe.js → DownloadOverlay-cne9_fIV-BGdaHI5P.js} +20 -20
- package/dist/assets/{DrawerPage-wXwAaYEB-ckpkQyBr.js → DrawerPage-B0mgBHB5-CQtDXw_Q.js} +8 -8
- package/dist/assets/EditPeoplePage-DgVDgYlm-Cq7SpjxR.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-BUpJPJNu-CuY2Ig7F.js → EditReimbursementDetailPage-DWhSkrJ7-DXfnlGXX.js} +74 -74
- package/dist/assets/{EntityDetailPage-BNXqSwVL-2_wdQBQJ.js → EntityDetailPage-wnOA1SH7-aYV-tRku.js} +2 -2
- package/dist/assets/{EntitySummarySection-MZ57i-bY-wyCkXFzg.js → EntitySummarySection-Q_UUVBaU-B-zx_bhC.js} +11 -11
- package/dist/assets/{ExpenseAutomationOverviewPage-Y3IHs4dG-b03QKzrb.js → ExpenseAutomationOverviewPage-BumrdlGf-BlGx5F5V.js} +17 -17
- package/dist/assets/{ExpenseAutomationPage-C0hvPLo7-DWrp_4v0.js → ExpenseAutomationPage-DKjInf-x-DBua7HMI.js} +84 -84
- package/dist/assets/{ExpressPayPage-Bncb54-Q-SeUIlqfm.js → ExpressPayPage-wwfao-Tr-Cll3aRZR.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-BnGBEF9H-BZb3CLM5.js → FeaturePreviewPage-DriDr9id-IfgJ91nt.js} +2 -2
- package/dist/assets/{FollowStepsSection-laCvnETV-BQUar6s-.js → FollowStepsSection-5025urr9-BhQV5Gxg.js} +7 -7
- package/dist/assets/{GlobalReviewListPage-CskEuHc5-Cjbio4XA.js → GlobalReviewListPage-BFjOsp4u-dTOZQfQK.js} +10 -10
- package/dist/assets/HelpButton-CzonsAOi-CLT44ucP.js +28 -0
- package/dist/assets/{InformationCardStack-BFJqdH9n-DFvbLLLn.js → InformationCardStack-DrD-sWV8-D-viV3aR.js} +5 -5
- package/dist/assets/{InsightsCardStack-CcoMWMiA-Cc7jKdY5.js → InsightsCardStack-CFqfiCOY-DSgzQkhY.js} +9 -9
- package/dist/assets/{InsightsSection-D9PiJagu-SWEZg4pL.js → InsightsSection-CN1BVvSr-DiHzw0Zr.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-CVmDobJ8-DDDi0Jh4.js → IntegrationsSettingsPage-BBlKuJxA-Ax55qhbj.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-DqW88v9N-BZw_syi-.js → InternationalWireSwiftDetailsPage-f4DZUYIx-CPv4IcAC.js} +11 -11
- package/dist/assets/{InternationalWireVerificationPage-X90z_30k-dNJC2sY7.js → InternationalWireVerificationPage-5WpkXxPC-B_ootlBy.js} +17 -17
- package/dist/assets/{InviteFormPage-BK-PRmeH-C_kHyZpq.js → InviteFormPage-Bw2ykerx-B8sj-JFN.js} +23 -23
- package/dist/assets/{InvitePageListView-6-iCc4BK-Clzv1DBo.js → InvitePageListView-BHp1m02Z-DMdwrgsX.js} +31 -31
- package/dist/assets/InvitePeoplePage-BnlUrpPG-D5Pb0NSX.js +12 -0
- package/dist/assets/{InvoiceUploadSection-D5aF4auL-B3QucxAN.js → InvoiceUploadSection-B8Xsz6dM-CaDnzQOR.js} +7 -7
- package/dist/assets/{IssueChargeCardPage-C_xt7hKZ-BRUTBeLa.js → IssueChargeCardPage-DYrMWSZg-BXFdUqlA.js} +22 -22
- package/dist/assets/{LabeledAddressValue-DpSK0MqC-DVc8X4Rj.js → LabeledAddressValue-kKgzA0is-V3nWJqwH.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-_LY7c-ZC-5iSo6J-J.js → LabeledAddressValueField-Bey_bvyv-WhcVyZpQ.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-FB40Z8J7-BETZbc8X.js → LabeledControlledCheckBoxField-CKrD5nfN-BLAx8CgU.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-paSeI8_R-CAnP3CMF.js → LabeledCreatableSingleSelectField-B3x1MZJr-CT42c88y.js} +7 -7
- package/dist/assets/LabeledDocumentField-BKPP0tRe-BoY3MkE4.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-NsCaPjuf-BLoARtnk.js +59 -0
- package/dist/assets/{LabeledText-CyXj8QWV-5OBSwFKi.js → LabeledText-BUZXeSSr-BNwrdOLI.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CUT00Vix-Dv7itvOd.js → LabeledUserSingleSelectWithSubtitlesField--jmAGQy--CMARKL0a.js} +7 -7
- package/dist/assets/{LabeledZeniRolesDropDownField-D0cQlbhO-CKi5TGdS.js → LabeledZeniRolesDropDownField-Dt5MOz8L-BzDt2F5s.js} +26 -26
- package/dist/assets/{LinkJETransactionPage-DaXjiQRp-BRavGLje.js → LinkJETransactionPage-DZZORFZw-hfr5eK-6.js} +8 -8
- package/dist/assets/{LowBalancePopup-CdftTvLb-B5AXSsr_.js → LowBalancePopup-BQYkTR6v-Dpy5Y7Om.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-C25i1T4c-cz3f0GSS.js → MagicLinkACHDetailsPage-B2TCqv5k-BD7w19c6.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-B0r3WStl-CqjJtubA.js → MagicLinkDomesticWireDetailsPage-D0Fcshtr-WPQ-07p1.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-C-ev-6xJ-AHa24jnu.js → MagicLinkInternationalWireDetailsPage-BfschSvJ-Dd4Vn3ER.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-7JG3V4Qt-DW5o0jbT.js → MagicLinkSuccessPage-CLkxou_Q-BueLZWGy.js} +5 -5
- package/dist/assets/{MagicLinkTitleSection-DEe0hhml-B9tHITem.js → MagicLinkTitleSection-BcnZtmCV-D3vo1-CC.js} +3 -3
- package/dist/assets/{MailingDetailsSection-Qc65E0w3-Cq67NP7Z.js → MailingDetailsSection-B5PAttoo-Ia41UfJq.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-Dh8meV6d-CsUXa-J0.js → MeetingCalenderPopup-DM1wkT0M-XWyjGw5S.js} +1 -1
- package/dist/assets/{Menu-DyfXBl_1-CnbVh3BI.js → Menu-teOpHszN-B4_aUeNn.js} +3 -3
- package/dist/assets/{MyBankConnectionsSettingsPage-CCFcVgyX-DYBcczrm.js → MyBankConnectionsSettingsPage-M74Mv2-V-BHyX40MK.js} +13 -13
- package/dist/assets/{MyPendingActivationChargeCardListPage-DS966wTB-BSQg2TFQ.js → MyPendingActivationChargeCardListPage-jv9dbM48-BfFprZCr.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BRRzMoQL-C-gTgbbX.js → MyProfileSettingsPage-CrhE1vfc-DJYn2Oif.js} +8 -8
- package/dist/assets/{NavBarWithPicker-BvWih0k0-C-lpuG0Q.js → NavBarWithPicker-w36OQzVq-8jrXgC9i.js} +2 -2
- package/dist/assets/{NavigationArrow-DYSL2aDL-Dac2EKy8.js → NavigationArrow-CUVjQXS6-1gU6OEpd.js} +6 -9
- package/dist/assets/{NavigationDots-DyyCcIih-CqG31XCf.js → NavigationDots-Dt6TkUQ7-IyWw7xzb.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DjEvzM4M-BNSK64RX.js → NewGlobalMerchantPage-BAq_UQw1-op2GScme.js} +33 -33
- package/dist/assets/NoDataChart-CydgbaO2-w_aLFoRL.js +26 -0
- package/dist/assets/{NoDataTable-CXNsBBVP-D2Te1bWz.js → NoDataTable-Akc9VjuK-D6ZoPHVC.js} +1 -1
- package/dist/assets/{NotFoundPage-CuuO2Mia-C8-O26Vv.js → NotFoundPage-3pCYWZU4-D50jnl0_.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-C7ilxUAV-DnV_ELoj.js → NotificationSettingsPage-BX5y9Bhs-COL29uYH.js} +16 -16
- package/dist/assets/NotificationsListConfig-BrTtuTMy-BDNvMhiy.js +1 -0
- package/dist/assets/{NotificationsPage-BjaKD99B-CUvKfjPk.js → NotificationsPage-tre5LIJg-BF-9mVwv.js} +32 -32
- package/dist/assets/{OpExByVendorPage-IuDiHnIW-BlDS0zS0.js → OpExByVendorPage-Dagfjaza-DDld7cbG.js} +5 -5
- package/dist/assets/{OverlayContainerPage-C0rUb6-5-FBay7pFs.js → OverlayContainerPage-nhe7xtoR-DaSs4sBz.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DLvgYpF8-DxqLd7A_.js → PandLWithForecastPage-B6BwG3ZF-_AvyqFlZ.js} +7 -7
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CZ8ZY08D-DGZrFamS.js → PaymentAccountSetupBillingAddressSection-w6QwL-c4-K3uFRIlc.js} +8 -8
- package/dist/assets/{PeoplePage-DyqY-rIV-BF8pm7Ll.js → PeoplePage-EFDCrYUk-T7-wlZTX.js} +19 -19
- package/dist/assets/{PortfolioAllocationFormPage-DTuKtkwr-BG4VtYhF.js → PortfolioAllocationFormPage-DbGLXM2D-BjP-OUR_.js} +3 -3
- package/dist/assets/{PortfolioDetails-DJFeMG4U-DRLekQB_.js → PortfolioDetails-D2RWl4uo-6RAVkUY_.js} +11 -11
- package/dist/assets/{ProductsCarousel-CS4_yc80-CBit-Mko.js → ProductsCarousel-o-YsHwnV-CGoV5eH1.js} +7 -7
- package/dist/assets/{PromoBaseCards-BZ2m6LfO-Devee57m.js → PromoBaseCards-D21UZaz1-BXsaJgOl.js} +25 -25
- package/dist/assets/{QBOConnectionDialog-2vJQuslh-CZnp93ZN.js → QBOConnectionDialog-DOpuFcsk-C6MlbM5w.js} +6 -6
- package/dist/assets/{QBOSetupSection-Yv3Xw-yn-BJZtDk-1.js → QBOSetupSection-Dcf_Afvz-DJunnSBU.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-tvJ2APRB-CUV7Xc-G.js → ReimbursementApprovalRuleDetailPage-DcDdM_Ss-CbDe9uVe.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-_nXCDa2A-C9-pEbKH.js → ReimbursementApprovalRulesPage-BhdyXjR--DBfuKFGn.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-CtEAsq7u-C73aER4h.js → ReimbursementDetailPage-BSWNsboq-4J24vWsJ.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-BaEX5Ej4-ZDR3rm2j.js → ReimbursementPromoPage-DJTuXxOX-CzJgodWR.js} +16 -16
- package/dist/assets/{ReimbursementSetUpPage-DXOqEJL4-giukqjO0.js → ReimbursementSetUpPage-DaIc03J9-CjkHrlyV.js} +12 -12
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-HQg1y1K--D5iUnsw9.js → ReimbursementsBulkReviewDrawerPage-BW6yGqNG-BnVlwyav.js} +1 -1
- package/dist/assets/{ReloadCard-stfG9ekP-tZWYlf-X.js → ReloadCard-D3-WJk3W-D2s29SSN.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-_RTCd2td-CH9Qen2G.js → ReportTableViewSelector-ZI_K0-D2-By-m2UD1.js} +7 -7
- package/dist/assets/{ReportsPage-BIzz5Dt_-D1Q_FIJG.js → ReportsPage-DsILNosH-D0tYLjKu.js} +9 -9
- package/dist/assets/{RevenueChart-DeDVVUge-B-qX3axP.js → RevenueChart-CKKeqpBi-UyvcWDiv.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-DZqPpiln-Dx1cGbrV.js → ReviewDetailsPage-BTag8Rn9-DTmho_bj.js} +19 -19
- package/dist/assets/{ReviewOverlay-DcBe94Sd-Dvf9-bRZ.js → ReviewOverlay-CmbxFXT5-Bn6N1v3T.js} +14 -14
- package/dist/assets/{RoleWithToolTip-DZO2tooH--n3Ca0Pd.js → RoleWithToolTip-D25NUL6y-DukVAPbK.js} +6 -6
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cl8iBII0--TTuFPFw.js → ScheduleDetailsFixedAssetsPage-svqtgWEw-BvVYPrVO.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-D6ZxZ2uU-CW4c5WjB.js → ScheduleDetailsPage-ClifB2yP-CiC5Yaiv.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-eRImHbZn-CPGQ3vC3.js → ScheduleSequenceTable-Bzz4WFsb-D7hD25Ij.js} +50 -50
- package/dist/assets/{ScreenRoutes-BOMAdjV3.js → ScreenRoutes-BxQ22zq-.js} +1 -1
- package/dist/assets/{SetUpAccountSection-BBZNI1Xl-eWhde88L.js → SetUpAccountSection-DHHAhE7n-C6ADn3Xk.js} +103 -103
- package/dist/assets/{SetUpDefaultSection--9Qh-utY-BI5o5mIW.js → SetUpDefaultSection-DkoRgSyp-BG63EHcf.js} +16 -16
- package/dist/assets/{SignIn-CI0Ik2va-BODAZJP8.js → SignIn-DSJylxLB-TGzVh-Ox.js} +19 -19
- package/dist/assets/{SignInScreen-DiCimdAv.js → SignInScreen-2ETG_qty.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-NWkSnIdD-nax5e-Qq.js → SpendManagementListViewPage-NfjbjBOy-CNnp9KH1.js} +13 -13
- package/dist/assets/{SpendManagementPerTabPage-CdWwn_b8-DGTjz-D8.js → SpendManagementPerTabPage-CJqqj2pl-vgdrFHgv.js} +47 -47
- package/dist/assets/{SpendManagementSection-DGhD95sz-D9wtCyoV.js → SpendManagementSection-C8jUu71n-DVI61rJT.js} +9 -9
- package/dist/assets/{SpendMgmtSetupAccountSection-DG4ozkeT-C_tGQMWD.js → SpendMgmtSetupAccountSection-CNcWLqIc-Bk6Q5WZ8.js} +14 -14
- package/dist/assets/{StatementItem-BlfBohft-CacjOgZD.js → StatementItem-CV3b0pVj-CWdkAyq6.js} +8 -8
- package/dist/assets/StatementsPage-ly5aBK2M-CeJNv0Uj.js +58 -0
- package/dist/assets/{StatusSwitcher-C6703BAG-DiX_YNpB.js → StatusSwitcher-CxzYEzIO-Dl4oZKu3.js} +4 -4
- package/dist/assets/{SubTabSwitcher-lf9S7Ubj-BbNRnQm4.js → SubTabSwitcher-_XBeoyd8-ky9GU4WA.js} +1 -1
- package/dist/assets/{SummaryCard-yghz4PLR-BaTl5JZP.js → SummaryCard-egXz66_a-CFL2HKlw.js} +1 -1
- package/dist/assets/TaskManagementPage-CQL5Q6wr-B8c2_TIF.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-BoPrOhKX-C7fzpFUc.js → TimeRangeSwitcher-DETvaZov-Jche-37U.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-DufweySH-BPYQJKjS.js → TimeframeSwitcher-DRQZAZ8X-B_V6wn8a.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-CuU7mRU9-lO7EaRwM.js +31 -0
- package/dist/assets/{TopExCard-DrOjlLiv-BFqCltN9.js → TopExCard-CtEulaIf-Brs7tS7N.js} +6 -6
- package/dist/assets/{TopExDetailPage-Ds4zlxKD-D3rgX0xF.js → TopExDetailPage-O4MMssGR-CSX4CqC4.js} +11 -11
- package/dist/assets/{TransactionDetailPage-Csl-Qjxp-ecrNVJsv.js → TransactionDetailPage-CfY8i6QF-Bt2lSSKs.js} +47 -47
- package/dist/assets/{TransactionList-2HeLZVn9-CruTSDil.js → TransactionList-BABUQprb-zMQcRTpf.js} +13 -13
- package/dist/assets/{TransactionListBig-p6iVof9y--08fAwJF.js → TransactionListBig-qJc1PM0U-P62ir1cv.js} +18 -18
- package/dist/assets/{TransactionListPage-tnL66tOu-BU3FmX6i.js → TransactionListPage-DuAk6fJT-Bu8_Pd-_.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-DzkUYyCr-Ce0yEwZl.js → TransactionVendorDetailPage-nHnLQdj7-C3egMB1p.js} +6 -6
- package/dist/assets/{TransferDrawerPage-B9MGSdS9-CiTYk0vi.js → TransferDrawerPage-CkbHu9oQ-Bxv-yJF0.js} +28 -28
- package/dist/assets/{TreasuryOverviewPage-BEzBuOWn-520FWVXK.js → TreasuryOverviewPage-D9qxqZOy-ZtRAjO03.js} +31 -31
- package/dist/assets/{TreasuryPromoPage-C8X4X7iN-B9Joxl5R.js → TreasuryPromoPage-Bn_4ae7Q-q8C2bbYn.js} +15 -15
- package/dist/assets/{TreasurySetupPage-Cb_GW75l-BLuBh2kN.js → TreasurySetupPage-CpZDjXwu-BUhJXpTK.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-sOiD2QYm-YS7ms5lR.js → TreasuryStatementsPage-BXDwbrcC-37YEWdU6.js} +7 -7
- package/dist/assets/{TreasuryTaxLetterPage-DYzqfHym-B5Ykio8i.js → TreasuryTaxLetterPage-Cwf-e3Jz-BL-Rfzdl.js} +7 -7
- package/dist/assets/{TreasuryTransferOrReviewPage-CesaUuNp-D5h1-bi7.js → TreasuryTransferOrReviewPage-BSiDVjnO-CB9llwyL.js} +20 -20
- package/dist/assets/{TrendChart-kwGU0d90-DJx5YTVj.js → TrendChart-Dp3QrDED-8QXEOf_A.js} +3 -3
- package/dist/assets/{TrendWithTransactions-CUlTYGIm-DTg4Mp-P.js → TrendWithTransactions-D8xzYG_f-De6kCbSg.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-D76VPNEd-CU_WfE2_.js → UncategorizedAccountsMappingPage-CteEKVJk-pzEnrChq.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-BsZCe-lq-DjFjTx_N.js → UnitIntegrationPage-BBAq4_81-C7oc8SpE.js} +4 -4
- package/dist/assets/{UploadAdditionalDocumentOverlay-B3tUNhKj-D8M4A5h0.js → UploadAdditionalDocumentOverlay-Drs2Czkg-B7FMUcdL.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-Bk-WKgMh-BXO2PrEq.js → Vendor2FAPopup-DKe-eMoF-BYQMXttT.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-u8a3XF33-Dgqikeaw.js → VendorACHDetailsPage-CTeRlLgu-O3tAwPNR.js} +1 -1
- package/dist/assets/{VendorDetailPage-B-RdB79n-3BQeJtFl.js → VendorDetailPage-Cw7Qe1rv-DwV1uxYo.js} +15 -15
- package/dist/assets/{VendorDomesticWireDetailsPage-Bhb1Dmge-Boz6LLe-.js → VendorDomesticWireDetailsPage-CYkst1D5-CxFVsRJR.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-DHRivhBg-w7XOZ0uI.js → VendorFiling1099EditablePage-CXQx0jJQ-Dym5ZEfd.js} +10 -10
- package/dist/assets/{VendorFirstReviewPage-Cn2GBsyl--vpeGBWE.js → VendorFirstReviewPage-C1yTYtW6-D8Hy4Plk.js} +29 -29
- package/dist/assets/{VendorInternationalWireDetailsPage-Cjx1hvUL-CmrfzDq8.js → VendorInternationalWireDetailsPage-CfbGRN9B-DYM9JMPH.js} +7 -7
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BszRCCDh-BPJeVwlb.js → VendorInternationalWireSwiftDetailsPage-DTxy0byj-B-9bRZPN.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-D6VSJUo1-CA-pEbLq.js → VendorsAccountsSection-B_nDMJSn-DKF52Cpa.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-DReVGPEj-BAxdAGxT.js → WarningsDrawerPage-Dz3EM7AW-K261X__w.js} +4 -4
- package/dist/assets/{ZeniAccountDetailPage-CFTB_WYX-TYUlxYM2.js → ZeniAccountDetailPage-C01gqJIN-5uHVG2CB.js} +28 -28
- package/dist/assets/{ZeniAccountListViewPage-BmYgbIuC-D6Hh2q8q.js → ZeniAccountListViewPage-3DEdKuaM-BOxFOXWV.js} +18 -18
- package/dist/assets/ZeniAccountNavBarPieces-bthmMpbV-dLoPCb9S.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-AfRVTc8V-Bir6gIQQ.js → ZeniAccountPromoPage-ClgIxS0H-CzsHHXnv.js} +10 -10
- package/dist/assets/{ZeniAccountSetupPage-YXJmpz_d-D9Ab9IdN.js → ZeniAccountSetupPage-C-vwyHUJ-Dtwoz0CP.js} +1 -1
- package/dist/assets/{ZeniCopyright-CqpcrgAZ-I-SkGlS5.js → ZeniCopyright-CqFabZnN-CJTGK5CO.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DGkzRyMW-C75Na6ou.js → ZeniTransferAmountSlider-BwHzq-qG-BAnmmq0F.js} +1 -1
- package/dist/assets/analytics-BSSiLa6f.js +7 -0
- package/dist/assets/{analyticsHelper-BQq2FFmn.js → analyticsHelper-CA1CL3Na.js} +1 -1
- package/dist/assets/{analyticsHelper-sgo3pabT-BgFfQOSf.js → analyticsHelper-CvW7m-EV-BpaeVAL0.js} +1 -1
- package/dist/assets/{chartTypes-Dj-_K0Gi-mEh3KBw2.js → chartTypes-0tTBFzPe-DXv2oVtL.js} +1 -1
- package/dist/assets/{commonDimensions-CKgBEMhT-A8tfCxCO.js → commonDimensions-B68wSFi9-M2W23m0D.js} +1 -1
- package/dist/assets/{detailCommon-vtB2ffbe-CA5QwE7k.js → detailCommon-D2RAJL6g-DxVTL_IM.js} +6 -6
- package/dist/assets/{downloadPdf-CiC0AXNH-C1RfGDdO.js → downloadPdf-IPGZ8YB9-DocjrP8U.js} +1 -1
- package/dist/assets/{index-BJ9YQ2PG.js → index-GMJ2nuUF.js} +3324 -3364
- package/dist/assets/{liveblocks-sSQ9JElv.js → liveblocks-BUGn2yQ6.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-0MIZwF_y-B8QHYU1y.js → mapLoadingInProgressToTreeNode-DhjVTksX-B_UltjeI.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CWaIGa37-JiNMuYJO.js → mapSectionWithAcOnlyToTreeNode-DtR1UNND-CApTkkfy.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-1Bdqp9WS-xNXAZC8a.js → mapSpacerToTreeNode-oskKbJKo-DLY0eOf4.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-MPZhFWqo-DU6r59rW.js → mapTimeframeBalancesToTreeNode-BkUJJy_y-CDFowGsv.js} +1 -1
- package/dist/assets/mui-BgvZYSo0.js +22 -0
- package/dist/assets/{play-icon-CF-Mkuir-98sXfI_P.js → play-icon-C_pnFd6Q-CegFata8.js} +1 -1
- package/dist/assets/{redux-ByjIRbhZ.js → redux-DmDqXYej.js} +1 -1
- package/dist/assets/{routing-Cpaypegg.js → routing-BNz5gZgX.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-D1BwrImS-DjsYQqtW.js → toCOABalancesWithID-e2ImXwdp-1SnM9fzu.js} +1 -1
- package/dist/assets/{toChartData-DVTo0PPD-F-3VWOVb.js → toChartData-Dh91kb97-BMfM5MG4.js} +1 -1
- package/dist/assets/{treasuryColorHelper-QzSX5YTe-Cuy1aR8q.js → treasuryColorHelper-D9SYrM7P-BaWaAPGH.js} +1 -1
- package/dist/assets/{uploadAttachment-BxwOR3I5-C41XXv1y.js → uploadAttachment-BZTALP74-ypSfSLhV.js} +29 -29
- package/dist/assets/{uploadReceipts-Buvz7DfG-BARgbESN.js → uploadReceipts-BH9fi3Vt-D-CW0ltI.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +5 -5
- package/dist/assets/AccountInfoPage-6EVpo7mW-ElHlRk7W.js +0 -18
- package/dist/assets/AccountRow-D4iz2vCr-D4oo3rJs.js +0 -298
- package/dist/assets/BillingSettingsPage-CAs7DZQz-DXA3xiXV.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-DjunAUW0-_aeqHHW3.js +0 -1
- package/dist/assets/ChargeCardPromoPage-CXiXee-8-CGyqb2Oz.js +0 -190
- package/dist/assets/CheckDepositDrawerPage-JYHyo9Hw-DRy8aFIM.js +0 -206
- package/dist/assets/ConfettiBurst-CZuMHGP8-ZppyCJ6x.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-ByWeMmBf-CUgi5vEF.js +0 -1
- package/dist/assets/CustomerOnboardingPage-DHji4ZmF-GtaXVNpu.js +0 -107
- package/dist/assets/Dashboard-Cr5ugENA-CyGF57xT.js +0 -1251
- package/dist/assets/DomesticWireDetailsPage-RoRpMC50-DJdEDgfd.js +0 -21
- package/dist/assets/EditPeoplePage-xDL6VA_r-OmIXflPf.js +0 -55
- package/dist/assets/HelpButton-D5ZYyQMh-BseLBuet.js +0 -28
- package/dist/assets/InvitePeoplePage-C9AwNqIx-B6fBsOYg.js +0 -12
- package/dist/assets/LabeledDocumentField-DiMgPKtR-ebLHKkFT.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-DsjpTL6X-DASClPUP.js +0 -59
- package/dist/assets/NoDataChart-DE6NV823-DEswUAk2.js +0 -26
- package/dist/assets/NotificationsListConfig-TBQMobJ5-qBR1Ircr.js +0 -1
- package/dist/assets/StatementsPage-CUpjL5u7-IsFwOPwt.js +0 -58
- package/dist/assets/TaskManagementPage-Cf523C5f-CbUDqHnB.js +0 -508
- package/dist/assets/TimeframeSwitcherWithToggle-BKwe3K9l-DKc91Lnx.js +0 -31
- package/dist/assets/ZeniAccountNavBarPieces-gzy5T7nu-CI0fy98a.js +0 -14
- package/dist/assets/analytics-DThoELaW.js +0 -7
- package/dist/assets/mui-C5LQ0bMa.js +0 -25
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as z,u as _,M as L,j as o,
|
|
1
|
+
import{X as z,u as _,M as L,j as o,bL as H,o as r,gn as ie,p as B,K as ce,q as Q,b2 as Z,C as ee,go as de,gp as pe,cq as te,b3 as A,av as ue,v as oe,gq as he,b0 as re,w as ge,gr as me,gs as xe,s as N,as as fe,l as M,gt as ye,z as Ce,gu as be,gv as ve,g as we,cn as $e,bg as Se,fv as je,d as ke,h as V,a6 as Le,fw as Oe,a9 as Ee}from"./index-GMJ2nuUF.js";import{b as a,n as l,k as Ie}from"./vendor-CnQcJ2Lu.js";const Me=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
align-items: center;
|
|
@@ -6,7 +6,7 @@ import{X as z,u as _,M as L,j as o,bK as H,o as r,gk as ie,p as R,K as ce,v as Q
|
|
|
6
6
|
color: ${e=>e.theme.colors.primary};
|
|
7
7
|
width: ${r.sp3};
|
|
8
8
|
height: ${r.sp3};
|
|
9
|
-
`,W=({value:e,defaultMenuIsOpen:t=!1,options:n,placeHolder:i,onChange:p,getOptionLabel:s})=>{const C=_(),y=a.useRef(null),h=
|
|
9
|
+
`,W=({value:e,defaultMenuIsOpen:t=!1,options:n,placeHolder:i,onChange:p,getOptionLabel:s})=>{const C=_(),y=a.useRef(null),h=Re(C),b=n.find(x=>x.value===e);return a.useEffect(()=>{const x=setTimeout(()=>{y.current!=null&&t&&y.current.focus()},300);return()=>{clearTimeout(x)}},[t]),o.jsx(Z,{ref:y,isMulti:!1,value:b,onChange:x=>{p(x)},placeholder:i,options:n,styles:h,openMenuOnFocus:!0,components:{Option:x=>Fe(x,s),SingleValue:x=>Te(x,s)}})},Te=(e,t)=>{const n=t?.(e.data.value)??e.data.label;return o.jsx(A.SingleValue,{...e,children:o.jsx(ue,{children:n})})},Fe=(e,t)=>{const{isSelected:n}=e,i=t?.(e.data.value)??e.data.label;return o.jsx(A.Option,{...e,children:o.jsxs(Me,{children:[o.jsx(oe,{children:i}),n?o.jsx(Ae,{}):null]})})},Re=e=>({placeholder:t=>({...t,color:e.colors.grey1,...Q.standardRegular.cssObject}),input:t=>({...t,color:e.colors.primary,margin:0,padding:0}),control:t=>({...t,backgroundColor:e.colors.background,border:"none",boxShadow:"none",height:r.sp6,cursor:"pointer"}),valueContainer:t=>({...t,height:"100%",padding:`${r.sp2} ${r.sp3}`}),indicatorSeparator:t=>({...t,display:"none"}),indicatorsContainer:t=>({...t,display:"none"}),option:(t,n)=>({...t,padding:`${r.sp2} ${r.sp3}`,cursor:"pointer",color:n.isSelected||n.isFocused?e.colors.primary:e.colors.hero,background:n.isSelected||n.isFocused?e.colors.background:e.colors.grey5,":hover":{color:e.colors.primary,backgroundColor:e.colors.background}}),singleValue:t=>({...t,color:e.colors.primary,margin:0}),menuList:t=>({...t,backgroundColor:e.colors.grey5,maxHeight:"320px"}),menu:t=>({...t,boxShadow:`${r.sp0} 2px ${r.sp2} ${e.colors.dropShadowHover}`})}),Be="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.8999%205.04416L9.65575%2017.6653C9.48897%2017.8247%209.29152%2017.9484%209.07541%2018.0291C8.85929%2018.1097%208.62902%2018.1456%208.39862%2018.1345C8.17133%2018.1236%207.94853%2018.0673%207.7434%2017.9689C7.53827%2017.8704%207.35499%2017.7318%207.20439%2017.5612L1.17558%2010.7125'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",ze=l.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
align-items: flex-start;
|
|
12
12
|
padding: ${r.sp2} ${r.sp3};
|
|
@@ -49,23 +49,23 @@ import{X as z,u as _,M as L,j as o,bK as H,o as r,gk as ie,p as R,K as ce,v as Q
|
|
|
49
49
|
color: ${e=>e.theme.colors.primary};
|
|
50
50
|
height: 10px;
|
|
51
51
|
width: 10px;
|
|
52
|
-
`,
|
|
52
|
+
`,qe=l(Ee)`
|
|
53
53
|
overflow: hidden;
|
|
54
54
|
text-overflow: ellipsis;
|
|
55
|
-
`,
|
|
55
|
+
`,Ke=({options:e,value:t,placeHolder:n,filterCategoryType:i,searchAutoCompleteData:p,searchAutoCompleteActions:s,onChange:C})=>{const y=_(),h=ve(y),[b,x]=a.useState(e);a.useEffect(()=>{i==="searchAutocomplete"&&p?.entityAutoCompleteView.fetchState==="Completed"&&x(d=>ye([...d,...p?.entityAutoCompleteView!=null?Ye(p?.entityAutoCompleteView):[]],"value"))},[p?.entityAutoCompleteView.fetchState]);const S=i==="searchAutocomplete"?t.map(d=>({label:d,value:d})):t.map(d=>b.find(f=>f.value===d)),v=a.useRef(Ce(d=>s?.onAutoCompleteInputChange?.(d),500,{trailing:!0})).current,j=p?.entityAutoCompleteView.fetchState,O={options:e,filterCategoryType:i,searchAutoCompleteStatus:j},$=L.getLocalizedStrings().common.filters;return o.jsx(ze,{children:i==="dateRange"?o.jsx(be,{onDateRangeChange:d=>{C([{label:$.startDate,value:d.startDate??""},{label:$.endDate,value:d.endDate??""}])},selectedDates:t}):o.jsxs(_e,{children:[S.length===0&&i==="user"&&o.jsx(Ve,{}),o.jsx(Z,{...O,isMulti:!0,hideSelectedOptions:!1,value:S,onInputChange:d=>{i==="searchAutocomplete"&&v(d)},onChange:d=>{C(d)},placeholder:n,options:b,styles:h,menuPosition:"fixed",components:{Option:Xe,MultiValueLabel:Ge,MultiValueRemove:Je},filterOption:(d,f)=>Ze(d,f,i),noOptionsMessage:()=>Qe(i,j)})]})})},Ye=e=>(e?.vendor.map(t=>({label:t.name,value:t.name}))??[]).sort((t,n)=>(t.label??"").localeCompare(n.label??"")),Ge=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(qe,{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,{})]})})},Je=e=>o.jsx(A.MultiValueRemove,{...e,children:o.jsx(Ue,{})}),Qe=(e,t)=>{const n=L.getLocalizedStrings().common.filters;if(e==="searchAutocomplete"){if(t==="In-Progress")return o.jsx(ke,{size:"Small-Compact",start:!0});if(t==="Not-Started")return null;if(t==="Completed")return o.jsx(V,{children:n.noMatchesFound})}return o.jsx(V,{children:n.noOptions})},ne=(e,t,n,i,p)=>p!=="user"?null:e==null?o.jsx(Oe,{firstName:t,lastName:n,size:`${r.sp3}`,index:i,fontSize:"9px"}):o.jsx(Ne,{src:e.href,alt:L.getLocalizedStrings().common.filters.userProfileAltText,onError:({currentTarget:s})=>{s.onerror=null,s.src=Be},loading:"lazy"}),Ze=(e,t,n)=>n==="user"&&e.data.email!=null?e.data.label.toLowerCase().includes(t.toLowerCase())||e.data.email.toLowerCase().includes(t.toLowerCase()):e.data.label.toLowerCase().includes(t.toLowerCase()),T={categoryCombinationOperator:"AND",categories:[]},le={valuesCombinationOperator:"ANY",values:[],matchingOperator:"equal"},F=(e,t)=>{switch(e){case"bill_pay":return M.BILL_PAY_FILTER_CATEGORIES;case"reimbursement":return M.hideCreatedByFilter(t)?M.REIMBURSEMENT_FILTER_CATEGORIES_RESTRICTED:M.REIMBURSEMENT_FILTER_CATEGORIES;case"task_management":return M.TASK_LIST_FILTER_CATEGORIES}},R=(e,t)=>{if(e==="bill_pay"){const n=t;return L.getLocalizedStrings().spendManagement.filters.filterCategories.bills[n]}if(e==="reimbursement"){const n=t;return L.getLocalizedStrings().spendManagement.filters.filterCategories.reimbursements[n]}if(e==="task_management"){const n=t;return L.getLocalizedStrings().spendManagement.filters.filterCategories.taskManagement[n]}return""},et=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?{categoryCombinationOperator:"AND",categories:[{...le,field:t.value}]}:{...e,categories:e.categories.map((i,p)=>p!==n?i:{...i,field:t.value,values:[]})},tt=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((i,p)=>p!==n?i:{...i,matchingOperator:t.value})},ot=({currentFilters:e,selectedOptions:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((i,p)=>p!==n?i:{...i,values:t.map(s=>s.value)})},rt={width:new ee(215,315)},U=l.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
row-gap: ${r.sp4};
|
|
59
|
-
`,
|
|
59
|
+
`,q=l.div`
|
|
60
60
|
display: flex;
|
|
61
61
|
column-gap: ${r.sp3};
|
|
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
|
+
`,K=l.div`
|
|
66
66
|
width: 90px;
|
|
67
67
|
color: ${e=>e.theme.colors.primary};
|
|
68
|
-
`,
|
|
68
|
+
`,Y=l.div`
|
|
69
69
|
width: 194px;
|
|
70
70
|
`,G=l.button`
|
|
71
71
|
display: flex;
|
|
@@ -139,7 +139,7 @@ import{X as z,u as _,M as L,j as o,bK as H,o as r,gk as ie,p as R,K as ce,v as Q
|
|
|
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(
|
|
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(G,{onClick:j,children:[o.jsx(nt,{}),o.jsx(N,{children:d.addFilterBtnText})]}),o.jsxs(G,{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(q,{children:o.jsxs(J,{children:[o.jsx(K,{children:o.jsx(X,{children:d.filterByLabel})}),o.jsx(Y,{children:o.jsx(W,{defaultMenuIsOpen:!0,onChange:b,placeHolder:d.categoryPlaceholder,getOptionLabel:c=>R(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?R(n,g?.value):"";return o.jsxs(q,{windowSize:h,children:[o.jsxs(J,{children:[o.jsxs(K,{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(Y,{children:o.jsx(W,{value:c.field,placeHolder:d.categoryPlaceholder,onChange:w=>b(w,u),getOptionLabel:w=>R(n,w),options:F(n,y.loggedInUserRole??[])})})]}),c.field?o.jsxs(ht,{children:[o.jsx(at,{children:o.jsx(xe,{categoryIndex:u,value:c.matchingOperator,onChange:x})}),o.jsxs(dt,{children:[o.jsx(pt,{windowSize:h,children:o.jsx(Ke,{options:t[c.field]!=null?t[c.field]:[],placeHolder:k==="searchAutocomplete"?d.searchPlaceholder:`${d.select} ${m}`,value:c.values,filterCategoryType:k??"dropdown",onChange:w=>$(w,u),valuesCombinationOperator:c.valuesCombinationOperator,searchAutoCompleteData:i,searchAutoCompleteActions:p})}),o.jsx(it,{onClick:()=>v(u),windowSize:h,children:o.jsx(ct,{})})]})]}):null]},c.field?c.field+u:u)})});return o.jsxs(U,{ref:C,children:[E(),f()]})});ae.displayName="FiltersSelection";const gt=l.div`
|
|
143
143
|
padding-top: ${r.sp4};
|
|
144
144
|
padding-bottom: ${r.sp4};
|
|
145
145
|
box-sizing: border-box;
|
|
@@ -157,7 +157,7 @@ import{X as z,u as _,M as L,j as o,bK as H,o as r,gk as ie,p as R,K as ce,v as Q
|
|
|
157
157
|
`,xt=l.div`
|
|
158
158
|
padding-left: ${r.sp4};
|
|
159
159
|
padding-right: ${r.sp4};
|
|
160
|
-
`,ft=({entity:e,filters:t,vendorSearchAutoCompleteData:n,vendorSearchAutoCompleteActions:i,disableFilters:p=!1,transactionsLoaded:s=!0,createdByUserListLoaded:C=!0,analytics:y,groupByFiltersComponent:h,onFiltersChange:b,getCategoryWiseOptions:x})=>{const S=a.useRef(null),[v,j]=a.useState(!1),O=a.useRef(!1),[$,d]=a.useState({bill_pay:{},reimbursement:{},task_management:{}}),[f,E]=a.useState("auto"),c=a.useRef(null),u=z(),g=a.useCallback(()=>{j(!1)},[]),k=L.getLocalizedStrings().common.strings.empty,m=a.useCallback(()=>{e!=="task_management"&&y?.trackSpendManagmentFilterClick(e),p===!1&&j(!0)},[p,y,e]);a.useEffect(()=>{x&&Object.keys($[e]).length===0&&C&&s&&d(I=>({...I,[e]:x()}))},[e,$,s,C]);const w=a.useCallback(()=>{if(t?.categories==null||t.categories.length===0)return h!=null?88+h.height:88;const I=c.current,D=I!=null?I.clientHeight:0;return u==="small"?"auto":
|
|
160
|
+
`,ft=({entity:e,filters:t,vendorSearchAutoCompleteData:n,vendorSearchAutoCompleteActions:i,disableFilters:p=!1,transactionsLoaded:s=!0,createdByUserListLoaded:C=!0,analytics:y,groupByFiltersComponent:h,onFiltersChange:b,getCategoryWiseOptions:x})=>{const S=a.useRef(null),[v,j]=a.useState(!1),O=a.useRef(!1),[$,d]=a.useState({bill_pay:{},reimbursement:{},task_management:{}}),[f,E]=a.useState("auto"),c=a.useRef(null),u=z(),g=a.useCallback(()=>{j(!1)},[]),k=L.getLocalizedStrings().common.strings.empty,m=a.useCallback(()=>{e!=="task_management"&&y?.trackSpendManagmentFilterClick(e),p===!1&&j(!0)},[p,y,e]);a.useEffect(()=>{x&&Object.keys($[e]).length===0&&C&&s&&d(I=>({...I,[e]:x()}))},[e,$,s,C]);const w=a.useCallback(()=>{if(t?.categories==null||t.categories.length===0)return h!=null?88+h.height:88;const I=c.current,D=I!=null?I.clientHeight:0;return u==="small"?"auto":B[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:B[0]}),valueContainer:()=>({display:"flex","#react-select-2-placeholder":{marginRight:B[0],marginLeft:-1}})},onOptionSelection:m=>{m==="settings"?e.onClickSetupIcon?.():m==="statements"?e.onClickStatementsIcon?.():m==="payEarly"&&e.onClickPayEarlyIcon?.()},downloadProps:(t==="bill_pay"||t==="reimbursement")&&y!=null?{entity:t,isDisabled:p,filter:{filters:s,searchText:C},downloadParams:y,downloadState:h,updateDownloadStateHandler:$}:void 0}):o.jsx(Ot,{onClick:e.onClickSetupIcon})}):null,e.showNewButtonOnNavbar===!0?o.jsx(o.Fragment,{children:f==="small"?o.jsx(Lt,{onClick:e.onNewButtonClick,children:o.jsx(Et,{})}):o.jsx(ce,{variant:"primary",onClick:e.onNewButtonClick,label:e.newButtonLabel??"",size:"small",style:{height:"29px",paddingLeft:"12px",paddingRight:"12px",...Q.extraSmallRegular.cssObject,whiteSpace:"nowrap",display:"flex",alignItems:"center"}})}):null]}),f==="small"&&!e.hideSearchBtn?o.jsx(H,{style:{position:"absolute",left:"5px",right:f!=="small"?"120px":"unset",top:r.sp6,width:"98%"},placeholder:e.searchPlaceHolder,searchText:e.searchText,onSearchTextChanged:m=>{e.onSearchTextChanged?.(m)},onSearchOpen:e.onSearchOpen,keepSearchBoxOpen:!0,inputWrapperStyle:e.entity==="charge_cards"?{width:270}:{}}):null]})}const vt=l(yt)`
|
|
161
161
|
height: ${r.sp4};
|
|
162
162
|
width: ${r.sp4};
|
|
163
163
|
`,wt=l.div`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{X as Te,
|
|
1
|
+
import{X as Te,cg as Ge,u as qe,M as Q,co as Je,a5 as se,e_ as Ye,l as K,ab as re,j as t,aQ as Ze,C as d,f6 as Ke,f7 as Qe,f8 as Xe,bD as et,p as o,_ as tt,e$ as ye,f0 as ve,o as i,Y as V,f9 as Le,d as pe,g as C,f1 as it,Q as _e,fa as nt,f2 as at,v as ot,bu as $e,cz as lt,aa as st,fb as rt,f as ze,ak as Ae,fc as ct,cl as dt}from"./index-GMJ2nuUF.js";import{b as f,n}from"./vendor-CnQcJ2Lu.js";import{r as ut}from"./mui-BgvZYSo0.js";import{v as pt}from"./ChargeCardUtils-CtoTn6DQ-C3z4uZjJ.js";import{Z as ht}from"./CreditCardPaymentPlgSection-IeRxDnG7-iIog9fs2.js";import{M as gt}from"./ChaseOverlay-DfjQ73Ie-BOsM74a7.js";import{J as mt}from"./SetUpDefaultSection-DkoRgSyp-BG63EHcf.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 _e("standardMedium","largeMedium")};function xt({plaidConnectionDetails:e,header:p,isAccountsEnabled:j=!0,analytics:x,pageName:b,accountsPromoConfig:v,style:A,onConnectClick:D,onSignUpClick:I}){const u=Te(),{setUp:c}=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":V("default-account-section",b),children:[t.jsx(wt,{children:t.jsx(bt,{windowSize:u,children:p})}),t.jsxs(yt,{windowSize:u,width:A?.width,children:[t.jsx(Le,{heading:c.accountsPlg.heading,buttonText:c.accountsPlg.signUpButtonText,onSignUpClick:I,isAccountsEnabled:j,pageName:b,analytics:x,style:{borderTopLeftRadius:i.sp2,borderTopRightRadius:i.sp2},accountsPromoConfig:v}),t.jsxs($t,{windowSize:u,children:[t.jsxs(kt,{onClick:D,children:[t.jsx(Ct,{isLoading:P,children:c.connectExternalAccount}),P?null:t.jsx(jt,{className:"right-arrow"})]}),P?t.jsx(vt,{children:t.jsx(pe,{size:"ExtraSmall",start:!0,style:{display:"flex"}})}):null]})]})]})}const St=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
|
-
row-gap: ${e=>
|
|
4
|
+
row-gap: ${e=>X.rowGap.valuePx(e.windowSize)};
|
|
5
5
|
`,wt=n.div`
|
|
6
6
|
display: flex;
|
|
7
7
|
align-items: center;
|
|
@@ -11,7 +11,7 @@ import{X as Te,cf as Ge,u as Ye,M as X,cn as qe,a1 as se,eX as Ke,l as J,a7 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};
|
|
@@ -29,8 +29,8 @@ import{X as Te,cf as Ge,u as Ye,M as X,cn as qe,a1 as se,eX as Ke,l as J,a7 as r
|
|
|
29
29
|
align-items: center;
|
|
30
30
|
padding-top: ${i.sp1};
|
|
31
31
|
padding-bottom: ${i.sp1};
|
|
32
|
-
padding-left: ${e=>
|
|
33
|
-
padding-right: ${e=>
|
|
32
|
+
padding-left: ${e=>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};
|
|
@@ -52,7 +52,7 @@ import{X as Te,cf as Ge,u as Ye,M as X,cn as qe,a1 as se,eX as Ke,l as J,a7 as r
|
|
|
52
52
|
height: 12px;
|
|
53
53
|
cursor: pointer;
|
|
54
54
|
color: ${e=>e.theme.colors.hero};
|
|
55
|
-
`,r={labelWidth:new d(120,190,190),sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(o[6],o[7]),iconPadding:new d(10,12),rowGap:new d(o[2],o[3]),elementsMarginLeftRight:new d(o[3],o[4]),labeledFieldPaddingLeft:new d(o[3],o[0]),labeledFieldPaddingRight:new d(o[3],o[2]),labeledFieldPaddingTop:new d(o[3],o[3]),labeledFieldPaddingBottom:new d(o[3],o[2]),labeleMarginLeft:new d(o[0],o[4]),labeleMarginBottom:new d(o[2],o[0]),infoLabelPaddingRight:new d(o[0],o[3]),infoLabelMarginTop:new d(o[1],o[0]),iconWidthHeight:new d(20,o[4])},Pt={title:new _e("standardSemiBold","largeSemiBold")};function si({primaryFundingAccount:e,allFundingAccounts:p,allBankAccounts:j,plaidConnectionDetails:x,sectionId:b,isDisabled:v,icon:A,sectionTitle:M,style:I,analytics:u,productType:c,referrer:m,accountSelectContainerStyle:P,connectedAccountProvider:te,isCompleted:N=!1,showCompletedIcon:H=!1,showZeniAccountSection:ie=!0,isAccountsEnabled:$,accountsPromoConfig:T,pageName:G,onFetchLinkTokenClick:L,onEstablishConnectionClick:Y,onUpdatePaymentAccountStatus:E,onEstablishConnectionSuccess:U,onSignUpClick:ne,bottomComponent:Ie}){const a=Te(),{trigger:Ee,formState:{errors:Re}}=Ge(),D=f.useRef(null),R=Ye(),{setUp:h}=X.getLocalizedStrings().commonSetUp,q=X.getLocalizedStrings().spendManagement.chargeCard.payEarly;let y,he,l,S=!1;e!=null&&e.accType==="paymentAccount"&&(y=e.providerVerificationStatus,he=e?.institutionDetails,l=y?.code,S=e?.isLoginRequired??!1);const ae=ke(b,"account"),Be=qe(Re,ae),[_,K]=f.useState(void 0),g=x.link_account,z=x.update_account,w=_==="update_account"?z:g,[B,ge]=f.useState(w.linkToken??null),[O,Z]=f.useState(!1),[Me,me]=f.useState(!1),fe=se(g.updateStatus.fetchState),oe=se(z.updateStatus.fetchState),Ue=se(z.fetchStatus.fetchState),De=f.useCallback((s,k)=>{u.trackConnectBankSuccess(c,m);const be=k.accounts.find(He=>He.id===e?.providerAccountId)??k.accounts[0];e?.id!=null&&_==="update_account"&&be?.verification_status!=null&&!S?E(be?.verification_status,e.id,"update_account"):Y(s,_),K(void 0),Z(!1)},[u,m,c,e?.id,e?.providerAccountId,_,S,E,Y]),Oe=f.useCallback((s,k)=>{s!=null&&(u.trackConnectBankFailure(c,s.error_code+" "+s.error_message,m),s.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e?.id!=null&&E("verification_failed",e.id,"update_account"),console.log("Plaid Connection Error",s,k)),K(void 0),Z(!1)},[u,c,m,e?.id,E]),{open:F,ready:xe}=Ke({token:B,onSuccess:De,onExit:Oe});f.useEffect(()=>{(fe==="In-Progress"&&g.updateStatus.fetchState==="Completed"||oe==="In-Progress"&&z.updateStatus.fetchState==="Completed")&&l!=="verified"&&l!=="manually_verified"&&l!=="automatically_verified"&&l!=="database_matched"&&(L("link_account"),U())},[g.updateStatus.fetchState,U,L,e?.providerVerificationStatus?.code,e?.id,fe,oe,z.updateStatus.fetchState,l]),f.useEffect(()=>{(J.isVerifiedStatusCode(l??"")||l==="verification_failed")&&!O&&_!=null&&w.linkToken===B&&w.fetchStatus.fetchState==="Completed"&&xe&&Z(!0)},[xe,B,w.fetchStatus.fetchState,w.linkToken,l,_,O]),f.useEffect(()=>{w.fetchStatus.fetchState==="Completed"&&w.linkToken!=null&&w.linkToken!==B&&ge(w.linkToken)},[w.fetchStatus.fetchState,w.linkToken,B]),f.useEffect(()=>{O&&F()},[O,F]),f.useEffect(()=>{!e?.zeniAccountId&&!Be&&Ee(ae)},[e?.id]),f.useEffect(()=>{(l==null||l==="verification_failed"||l==="verification_expired"||J.isVerifiedStatusCode(l))&&(J.zeniDate(new Date().toISOString()).isAfter(g.expiration)||g.linkToken==null)&&L("link_account")},[]);const Fe=()=>{u.trackConnectBankGetBalance(c,m),K("update_account"),L("update_account",e?.id)},Se=`${e?.accountSubType?.name!=null?e?.accountSubType?.name.substring(0,1).toUpperCase().concat(e?.accountSubType?.name.substring(1)):""} ${e?.maskedAccountNumber??""}`.trim(),le=g.fetchStatus.fetchState==="In-Progress"||g.updateStatus.fetchState==="In-Progress",We=p.findIndex(s=>s.id===e?.id),Ve=()=>{me(!0)},Ne=R.mode==="light"?new re(R.colors.brandColorJadeLight):new re(R.colors.brandColorJadeDark);if(e==null&&p.length===0)return c==="zeni_accounts"?t.jsx(mt,{onClick:()=>{(l==null||l==="verification_failed"||l==="verification_expired")&&(u.trackConnectBank(c,m),F())},title:h.achTitle,subTitle:h.achSubTitle,header:h.paymentSource,isCompleted:N,showCompletedIcon:H,icon:{element:t.jsx(Ze,{width:r.iconWidthHeight.valuePx(a),height:r.iconWidthHeight.valuePx(a)}),color:new re(Ne)},isLoading:le,status:y}):t.jsx(Ce,{windowSize:a,style:I,children:t.jsx(xt,{header:h.paymentSource,plaidConnectionDetails:x,onConnectClick:()=>{(l==null||l==="verification_failed"||l==="verification_expired")&&(u.trackConnectBank(c,m),F())},onSignUpClick:ne,isAccountsEnabled:!1,analytics:u,pageName:G,accountsPromoConfig:T})});const we=he?.zeniInstitutionId.toLowerCase()==="chase";return t.jsxs(Ce,{windowSize:a,style:I,children:[Me===!0?ut.createPortal(t.jsx(gt,{connectedAccountProvider:te,action:{onBackClick:()=>me(!1)}}),document.body):null,t.jsxs(Wt,{children:[H===!0?t.jsx(Nt,{children:N?t.jsx(Ht,{}):t.jsx(Gt,{})}):null,t.jsx(Vt,{windowSize:a,children:M??h.paymentSource})]}),t.jsxs(Ft,{windowSize:a,isDisabled:S,children:[t.jsxs(At,{windowSize:a,children:[t.jsxs(Bt,{children:[e!=null?t.jsx(Rt,{isDisabled:S,children:Tt(A,a,R.mode==="dark",e,We)}):null,t.jsxs(Jt,{children:[t.jsxs(Yt,{children:[t.jsx(Je,{ref:D,style:{display:a==="small"?"block":"inherit",width:"-webkit-fill-available"},customStyleConfig:{menu:()=>({width:a==="small"?"100%":"510px"})},controlProperty:{controlHeight:o[4],fontWeight:et.medium,highlightOnHover:!1,leftRightMargin:!1,fieldWidth:a==="small"?240:300},customPlaceholder:{color:R.colors.hero,weight:500},name:ke(b,"fundingAccount"),placeholder:h.selectAccountPlaceholder,capitalizeOptions:!0,appendSublabel:!1,showLogoInSingleValue:!1,isClearable:!1,maxMenuHeight:220,valueToLogo:(s,k)=>Qe(p,s,k),valueToSubLabels:(s,k)=>Xe(p,s,k,!1),defaultValue:{selectedOption:e?.id,allOptions:p.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},textAlignment:"left",showDownChevronIcon:!0,showTickIcon:!1,isOptionRemovable:!1,registerOptions:{required:!1},showCreateOption:!0,isDisabled:le?"disabled":void 0,showLoadingIcon:le,onClickCreateOption:()=>{u.trackConnectBank(c,m),K("link_account"),g.linkToken==null||J.zeniDate(new Date().toISOString()).isAfter(g.expiration)?L("link_account"):B!==g.linkToken?ge(g.linkToken):O?F():Z(!0)}}),t.jsxs(Ut,{isDisabled:S,children:[Se?t.jsxs(t.Fragment,{children:[t.jsx(ee,{children:Se}),a!=="small"&&(l!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification"||S||we||e?.accountBalance?.available)?t.jsx(Kt,{}):null]}):null,l!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification"||S||we?t.jsx(Lt,{isUpdateLinkClicked:_==="update_account",isLoginRequired:S,isPendingVerification:l!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification",productType:c,fetchAndUpdateStatues:{fetchStatus:z.fetchStatus,updateStatus:z.updateStatus,linkFetchStatus:g.fetchStatus,linkUpdateStatus:g.updateStatus,prevFetchState:Ue,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(Mt,{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(qt,{})]}):null})]}),ie?t.jsxs(It,{style:P,windowSize:a,isDisabled:S,onClick:s=>s.stopPropagation(),"data-testid":V("account-select-container",c),children:[t.jsx(Et,{isDisabled:S?"disabled":v,label:{label:h.zeniCashAccountLabel,width:a==="small"?void 0:r.labelWidth.value(a),style:{marginLeft:r.labeleMarginLeft.valuePx(a),marginBottom:r.labeleMarginBottom.valuePx(a)}},style:{paddingTop:r.labeledFieldPaddingTop.valuePx(a),paddingBottom:r.labeledFieldPaddingBottom.valuePx(a),paddingLeft:r.labeledFieldPaddingLeft.valuePx(a),paddingRight:r.labeledFieldPaddingRight.valuePx(a),borderRadius:i.sp2,border:`1px solid ${R.colors.grey3}`,width:"-webkit-fill-available",display:a==="small"?"block":"inherit"},infoLabelStyle:{textAlign:a==="small"?"left":"right",paddingRight:r.infoLabelPaddingRight.valuePx(a),marginTop:r.infoLabelMarginTop.valuePx(a)},singleSelectPickerField:{name:ae,placeholder:h.zeniCashAccountPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e?.zeniAccountId??"",allOptions:j.map(s=>({label:s.accountName,value:s.accountId}))},isOptionRemovable:!1,withBorder:a==="small",textAlignment:a==="small"?"left":"right",registerOptions:{required:!1}},valueToAdditionalLabel:()=>h.zeniCashAcoountInfo}),Ie]}):null,e?.accType==="paymentAccount"?c==="charge_cards"?t.jsx(ht,{style:{borderRadius:`${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2}`},maxInsuredAmount:T.maxInsuredAmount,heading:t.jsxs(_t,{windowSize:a,children:[q.earn,t.jsx(zt,{children:q.percentageCashback.replace("__percentage__",pt)}),q.whenYouPayViaZeniChecking]}),buttonText:$===!1?h.accountsPlg.signUpButtonText:h.accountsPlg.switchButtonText,isAccountsEnabled:$,pageName:q.creditCardPayment,onSignUpClick:ne,onSwitchClick:()=>{D.current!=null&&D.current.focus()}}):c!=="zeni_accounts"?t.jsx(Le,{heading:h.accountsPlg.heading,style:{borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},isAccountsEnabled:$,buttonText:$===!1?h.accountsPlg.signUpButtonText:h.accountsPlg.switchButtonText,analytics:u,pageName:G,onSignUpClick:ne,onSwitchClick:()=>{D.current!=null&&D.current.focus()},accountsPromoConfig:T}):null:null]})]})}const Tt=(e,p,j,x,b,v)=>x?.accType==="depositAccount"?t.jsx(Xt,{isOptionSelected:!0,children:t.jsx(Qt,{color:nt(b??0)})}):x?.institutionDetails?.logo?.base64!=null?t.jsx(Zt,{windowSize:p,src:`${at}${x?.institutionDetails.logo?.base64.toString()}`,alt:x?.institutionDetails.institutionName,loading:"lazy"}):v===!0?e.element:t.jsx(Ot,{iconColor:e.color,windowSize:p,isDarkMode:j,children:e.element}),Lt=({productType:e,isLoginRequired:p,isUpdateLinkClicked:j,isPendingVerification:x,fetchAndUpdateStatues:b,onUpdateLinkTokenClick:v,onChaseInfoClick:A})=>{const{commonSetUp:M}=X.getLocalizedStrings(),{setUp:I}=M,{verifyAccount:u,verifyingAccount:c,verifyAccountError:m,reLogging:P,reLoginLabel:te,reLoginError:N,reLoginMessage:H,chaseLabel:ie}=I,{fetchStatus:$,updateStatus:T,linkFetchStatus:G,linkUpdateStatus:L,prevFetchState:Y,prevUpdateState:E}=b,U=j&&Y==="In-Progress"&&$?.fetchState==="Error"||E==="In-Progress"&&T?.fetchState==="Error";return p?$?.fetchState==="In-Progress"||T?.fetchState==="In-Progress"||G?.fetchState==="In-Progress"||L?.fetchState==="In-Progress"?t.jsxs(W,{style:{color:C.important},children:[t.jsx(ee,{children:P}),t.jsx(Pe,{children:t.jsx(pe,{size:"Small",start:!0,style:{display:"flex",color:C.important}})})]}):t.jsx(W,{style:{cursor:"pointer"},onClick:v,"data-testid":V("re-login-label-clicked"),children:t.jsx($e,{style:{padding:`12px ${i.sp3}`},title:H,placement:"bottom",maxWidth:"264px",children:t.jsxs(Dt,{children:[t.jsx(je,{style:{marginLeft:i.sp0,marginRight:i.sp1}}),t.jsx(ce,{isError:!0,style:{color:C.important},children:U?N:te}),t.jsx(de,{children:t.jsx(ue,{style:{color:C.important}})})]})})}):$?.fetchState==="In-Progress"||T?.fetchState==="In-Progress"?t.jsxs(W,{children:[t.jsx(ee,{children:c}),t.jsx(Pe,{children:t.jsx(pe,{size:"Small",start:!0,style:{display:"flex"}})})]}):x?t.jsxs(W,{onClick:v,"data-testid":V("verify-account-label-clicked",e),children:[t.jsx(ce,{isError:!1,children:u}),t.jsx(de,{children:t.jsx(ue,{})}),U?t.jsx($e,{maxWidth:"280px",style:{padding:`12px ${i.sp3}`,color:C.important},title:m,placement:"bottom",children:t.jsx(je,{})}):null]}):t.jsxs(W,{onClick:A,"data-testid":V("chase-info-label-clicked"),children:[t.jsx(ce,{isError:!1,children:ie}),t.jsx(de,{children:t.jsx(ue,{})})]})},ke=(e,p)=>`${e}.${p}`,_t=n(st)`
|
|
55
|
+
`,r={labelWidth:new d(120,190,190),sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(o[6],o[7]),iconPadding:new d(10,12),rowGap:new d(o[2],o[3]),elementsMarginLeftRight:new d(o[3],o[4]),labeledFieldPaddingLeft:new d(o[3],o[0]),labeledFieldPaddingRight:new d(o[3],o[2]),labeledFieldPaddingTop:new d(o[3],o[3]),labeledFieldPaddingBottom:new d(o[3],o[2]),labeleMarginLeft:new d(o[0],o[4]),labeleMarginBottom:new d(o[2],o[0]),infoLabelPaddingRight:new d(o[0],o[3]),infoLabelMarginTop:new d(o[1],o[0]),iconWidthHeight:new d(20,o[4])},Pt={title:new _e("standardSemiBold","largeSemiBold")};function si({primaryFundingAccount:e,allFundingAccounts:p,allBankAccounts:j,plaidConnectionDetails:x,sectionId:b,isDisabled:v,icon:A,sectionTitle:D,style:I,analytics:u,productType:c,referrer:m,accountSelectContainerStyle:P,connectedAccountProvider:te,isCompleted:N=!1,showCompletedIcon:H=!1,showZeniAccountSection:ie=!0,isAccountsEnabled:$,accountsPromoConfig:T,pageName:G,onFetchLinkTokenClick:L,onEstablishConnectionClick:q,onUpdatePaymentAccountStatus:E,onEstablishConnectionSuccess:M,onSignUpClick:ne,bottomComponent:Ie}){const a=Te(),{trigger:Ee,formState:{errors:Re}}=Ge(),U=f.useRef(null),R=qe(),{setUp:h}=Q.getLocalizedStrings().commonSetUp,J=Q.getLocalizedStrings().spendManagement.chargeCard.payEarly;let y,he,l,S=!1;e!=null&&e.accType==="paymentAccount"&&(y=e.providerVerificationStatus,he=e?.institutionDetails,l=y?.code,S=e?.isLoginRequired??!1);const ae=ke(b,"account"),Be=Je(Re,ae),[_,Y]=f.useState(void 0),g=x.link_account,z=x.update_account,w=_==="update_account"?z:g,[B,ge]=f.useState(w.linkToken??null),[O,Z]=f.useState(!1),[De,me]=f.useState(!1),fe=se(g.updateStatus.fetchState),oe=se(z.updateStatus.fetchState),Me=se(z.fetchStatus.fetchState),Ue=f.useCallback((s,k)=>{u.trackConnectBankSuccess(c,m);const be=k.accounts.find(He=>He.id===e?.providerAccountId)??k.accounts[0];e?.id!=null&&_==="update_account"&&be?.verification_status!=null&&!S?E(be?.verification_status,e.id,"update_account"):q(s,_),Y(void 0),Z(!1)},[u,m,c,e?.id,e?.providerAccountId,_,S,E,q]),Oe=f.useCallback((s,k)=>{s!=null&&(u.trackConnectBankFailure(c,s.error_code+" "+s.error_message,m),s.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e?.id!=null&&E("verification_failed",e.id,"update_account"),console.log("Plaid Connection Error",s,k)),Y(void 0),Z(!1)},[u,c,m,e?.id,E]),{open:F,ready:xe}=Ye({token:B,onSuccess:Ue,onExit:Oe});f.useEffect(()=>{(fe==="In-Progress"&&g.updateStatus.fetchState==="Completed"||oe==="In-Progress"&&z.updateStatus.fetchState==="Completed")&&l!=="verified"&&l!=="manually_verified"&&l!=="automatically_verified"&&l!=="database_matched"&&(L("link_account"),M())},[g.updateStatus.fetchState,M,L,e?.providerVerificationStatus?.code,e?.id,fe,oe,z.updateStatus.fetchState,l]),f.useEffect(()=>{(K.isVerifiedStatusCode(l??"")||l==="verification_failed")&&!O&&_!=null&&w.linkToken===B&&w.fetchStatus.fetchState==="Completed"&&xe&&Z(!0)},[xe,B,w.fetchStatus.fetchState,w.linkToken,l,_,O]),f.useEffect(()=>{w.fetchStatus.fetchState==="Completed"&&w.linkToken!=null&&w.linkToken!==B&&ge(w.linkToken)},[w.fetchStatus.fetchState,w.linkToken,B]),f.useEffect(()=>{O&&F()},[O,F]),f.useEffect(()=>{!e?.zeniAccountId&&!Be&&Ee(ae)},[e?.id]),f.useEffect(()=>{(l==null||l==="verification_failed"||l==="verification_expired"||K.isVerifiedStatusCode(l))&&(K.zeniDate(new Date().toISOString()).isAfter(g.expiration)||g.linkToken==null)&&L("link_account")},[]);const Fe=()=>{u.trackConnectBankGetBalance(c,m),Y("update_account"),L("update_account",e?.id)},Se=`${e?.accountSubType?.name!=null?e?.accountSubType?.name.substring(0,1).toUpperCase().concat(e?.accountSubType?.name.substring(1)):""} ${e?.maskedAccountNumber??""}`.trim(),le=g.fetchStatus.fetchState==="In-Progress"||g.updateStatus.fetchState==="In-Progress",We=p.findIndex(s=>s.id===e?.id),Ve=()=>{me(!0)},Ne=R.mode==="light"?new re(R.colors.brandColorJadeLight):new re(R.colors.brandColorJadeDark);if(e==null&&p.length===0)return c==="zeni_accounts"?t.jsx(mt,{onClick:()=>{(l==null||l==="verification_failed"||l==="verification_expired")&&(u.trackConnectBank(c,m),F())},title:h.achTitle,subTitle:h.achSubTitle,header:h.paymentSource,isCompleted:N,showCompletedIcon:H,icon:{element:t.jsx(Ze,{width:r.iconWidthHeight.valuePx(a),height:r.iconWidthHeight.valuePx(a)}),color:new re(Ne)},isLoading:le,status:y}):t.jsx(Ce,{windowSize:a,style:I,children:t.jsx(xt,{header:h.paymentSource,plaidConnectionDetails:x,onConnectClick:()=>{(l==null||l==="verification_failed"||l==="verification_expired")&&(u.trackConnectBank(c,m),F())},onSignUpClick:ne,isAccountsEnabled:!1,analytics:u,pageName:G,accountsPromoConfig:T})});const we=he?.zeniInstitutionId.toLowerCase()==="chase";return t.jsxs(Ce,{windowSize:a,style:I,children:[De===!0?ut.createPortal(t.jsx(gt,{connectedAccountProvider:te,action:{onBackClick:()=>me(!1)}}),document.body):null,t.jsxs(Wt,{children:[H===!0?t.jsx(Nt,{children:N?t.jsx(Ht,{}):t.jsx(Gt,{})}):null,t.jsx(Vt,{windowSize:a,children:D??h.paymentSource})]}),t.jsxs(Ft,{windowSize:a,isDisabled:S,children:[t.jsxs(At,{windowSize:a,children:[t.jsxs(Bt,{children:[e!=null?t.jsx(Rt,{isDisabled:S,children:Tt(A,a,R.mode==="dark",e,We)}):null,t.jsxs(Kt,{children:[t.jsxs(qt,{children:[t.jsx(Ke,{ref:U,style:{display:a==="small"?"block":"inherit",width:"-webkit-fill-available"},customStyleConfig:{menu:()=>({width:a==="small"?"100%":"510px"})},controlProperty:{controlHeight:o[4],fontWeight:et.medium,highlightOnHover:!1,leftRightMargin:!1,fieldWidth:a==="small"?240:300},customPlaceholder:{color:R.colors.hero,weight:500},name:ke(b,"fundingAccount"),placeholder:h.selectAccountPlaceholder,capitalizeOptions:!0,appendSublabel:!1,showLogoInSingleValue:!1,isClearable:!1,maxMenuHeight:220,valueToLogo:(s,k)=>Xe(p,s,k),valueToSubLabels:(s,k)=>Qe(p,s,k,!1),defaultValue:{selectedOption:e?.id,allOptions:p.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},textAlignment:"left",showDownChevronIcon:!0,showTickIcon:!1,isOptionRemovable:!1,registerOptions:{required:!1},showCreateOption:!0,isDisabled:le?"disabled":void 0,showLoadingIcon:le,onClickCreateOption:()=>{u.trackConnectBank(c,m),Y("link_account"),g.linkToken==null||K.zeniDate(new Date().toISOString()).isAfter(g.expiration)?L("link_account"):B!==g.linkToken?ge(g.linkToken):O?F():Z(!0)}}),t.jsxs(Mt,{isDisabled:S,children:[Se?t.jsxs(t.Fragment,{children:[t.jsx(ee,{children:Se}),a!=="small"&&(l!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification"||S||we||e?.accountBalance?.available)?t.jsx(Yt,{}):null]}):null,l!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification"||S||we?t.jsx(Lt,{isUpdateLinkClicked:_==="update_account",isLoginRequired:S,isPendingVerification:l!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification",productType:c,fetchAndUpdateStatues:{fetchStatus:z.fetchStatus,updateStatus:z.updateStatus,linkFetchStatus:g.fetchStatus,linkUpdateStatus:g.updateStatus,prevFetchState:Me,prevUpdateState:oe},onUpdateLinkTokenClick:Fe,onChaseInfoClick:Ve}):e?.accountBalance?.available?t.jsx(ee,{children:tt("0,0[.]00",e?.accountBalance?.available)}):null]})]}),y!=null&&a==="small"?t.jsx(ye,{style:{width:"max-content",padding:0,marginTop:i.sp2},tagTitle:y.name,textColor:ve(y.code)}):null]})]}),t.jsx(Dt,{children:y!=null&&a!=="small"?t.jsxs(t.Fragment,{children:[t.jsx(ye,{style:{width:"max-content"},tagTitle:y.name,textColor:ve(y.code)}),t.jsx(Jt,{})]}):null})]}),ie?t.jsxs(It,{style:P,windowSize:a,isDisabled:S,onClick:s=>s.stopPropagation(),"data-testid":V("account-select-container",c),children:[t.jsx(Et,{isDisabled:S?"disabled":v,label:{label:h.zeniCashAccountLabel,width:a==="small"?void 0:r.labelWidth.value(a),style:{marginLeft:r.labeleMarginLeft.valuePx(a),marginBottom:r.labeleMarginBottom.valuePx(a)}},style:{paddingTop:r.labeledFieldPaddingTop.valuePx(a),paddingBottom:r.labeledFieldPaddingBottom.valuePx(a),paddingLeft:r.labeledFieldPaddingLeft.valuePx(a),paddingRight:r.labeledFieldPaddingRight.valuePx(a),borderRadius:i.sp2,border:`1px solid ${R.colors.grey3}`,width:"-webkit-fill-available",display:a==="small"?"block":"inherit"},infoLabelStyle:{textAlign:a==="small"?"left":"right",paddingRight:r.infoLabelPaddingRight.valuePx(a),marginTop:r.infoLabelMarginTop.valuePx(a)},singleSelectPickerField:{name:ae,placeholder:h.zeniCashAccountPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e?.zeniAccountId??"",allOptions:j.map(s=>({label:s.accountName,value:s.accountId}))},isOptionRemovable:!1,withBorder:a==="small",textAlignment:a==="small"?"left":"right",registerOptions:{required:!1}},valueToAdditionalLabel:()=>h.zeniCashAcoountInfo}),Ie]}):null,e?.accType==="paymentAccount"?c==="charge_cards"?t.jsx(ht,{style:{borderRadius:`${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2}`},maxInsuredAmount:T.maxInsuredAmount,heading:t.jsxs(_t,{windowSize:a,children:[J.earn,t.jsx(zt,{children:J.percentageCashback.replace("__percentage__",pt)}),J.whenYouPayViaZeniChecking]}),buttonText:$===!1?h.accountsPlg.signUpButtonText:h.accountsPlg.switchButtonText,isAccountsEnabled:$,pageName:J.creditCardPayment,onSignUpClick:ne,onSwitchClick:()=>{U.current!=null&&U.current.focus()}}):c!=="zeni_accounts"?t.jsx(Le,{heading:h.accountsPlg.heading,style:{borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},isAccountsEnabled:$,buttonText:$===!1?h.accountsPlg.signUpButtonText:h.accountsPlg.switchButtonText,analytics:u,pageName:G,onSignUpClick:ne,onSwitchClick:()=>{U.current!=null&&U.current.focus()},accountsPromoConfig:T}):null:null]})]})}const Tt=(e,p,j,x,b,v)=>x?.accType==="depositAccount"?t.jsx(Qt,{isOptionSelected:!0,children:t.jsx(Xt,{color:nt(b??0)})}):x?.institutionDetails?.logo?.base64!=null?t.jsx(Zt,{windowSize:p,src:`${at}${x?.institutionDetails.logo?.base64.toString()}`,alt:x?.institutionDetails.institutionName,loading:"lazy"}):v===!0?e.element:t.jsx(Ot,{iconColor:e.color,windowSize:p,isDarkMode:j,children:e.element}),Lt=({productType:e,isLoginRequired:p,isUpdateLinkClicked:j,isPendingVerification:x,fetchAndUpdateStatues:b,onUpdateLinkTokenClick:v,onChaseInfoClick:A})=>{const{commonSetUp:D}=Q.getLocalizedStrings(),{setUp:I}=D,{verifyAccount:u,verifyingAccount:c,verifyAccountError:m,reLogging:P,reLoginLabel:te,reLoginError:N,reLoginMessage:H,chaseLabel:ie}=I,{fetchStatus:$,updateStatus:T,linkFetchStatus:G,linkUpdateStatus:L,prevFetchState:q,prevUpdateState:E}=b,M=j&&q==="In-Progress"&&$?.fetchState==="Error"||E==="In-Progress"&&T?.fetchState==="Error";return p?$?.fetchState==="In-Progress"||T?.fetchState==="In-Progress"||G?.fetchState==="In-Progress"||L?.fetchState==="In-Progress"?t.jsxs(W,{style:{color:C.important},children:[t.jsx(ee,{children:P}),t.jsx(Pe,{children:t.jsx(pe,{size:"Small",start:!0,style:{display:"flex",color:C.important}})})]}):t.jsx(W,{style:{cursor:"pointer"},onClick:v,"data-testid":V("re-login-label-clicked"),children:t.jsx($e,{style:{padding:`12px ${i.sp3}`},title:H,placement:"bottom",maxWidth:"264px",children:t.jsxs(Ut,{children:[t.jsx(je,{style:{marginLeft:i.sp0,marginRight:i.sp1}}),t.jsx(ce,{isError:!0,style:{color:C.important},children:M?N:te}),t.jsx(de,{children:t.jsx(ue,{style:{color:C.important}})})]})})}):$?.fetchState==="In-Progress"||T?.fetchState==="In-Progress"?t.jsxs(W,{children:[t.jsx(ee,{children:c}),t.jsx(Pe,{children:t.jsx(pe,{size:"Small",start:!0,style:{display:"flex"}})})]}):x?t.jsxs(W,{onClick:v,"data-testid":V("verify-account-label-clicked",e),children:[t.jsx(ce,{isError:!1,children:u}),t.jsx(de,{children:t.jsx(ue,{})}),M?t.jsx($e,{maxWidth:"280px",style:{padding:`12px ${i.sp3}`,color:C.important},title:m,placement:"bottom",children:t.jsx(je,{})}):null]}):t.jsxs(W,{onClick:A,"data-testid":V("chase-info-label-clicked"),children:[t.jsx(ce,{isError:!1,children:ie}),t.jsx(de,{children:t.jsx(ue,{})})]})},ke=(e,p)=>`${e}.${p}`,_t=n(st)`
|
|
56
56
|
color: ${e=>e.theme.colors.primary};
|
|
57
57
|
width: ${e=>e.windowSize==="small"?"80%":"100%"};
|
|
58
58
|
`,zt=n(rt)`
|
|
@@ -89,9 +89,9 @@ import{X as Te,cf as Ge,u as Ye,M as X,cn as qe,a1 as se,eX as Ke,l as J,a7 as r
|
|
|
89
89
|
`,Bt=n.div`
|
|
90
90
|
display: flex;
|
|
91
91
|
align-items: flex-start;
|
|
92
|
-
`,
|
|
92
|
+
`,Dt=n.div`
|
|
93
93
|
display: flex;
|
|
94
|
-
`,
|
|
94
|
+
`,Mt=n(ot)`
|
|
95
95
|
display: flex;
|
|
96
96
|
align-items: center;
|
|
97
97
|
color: ${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.hero};
|
|
@@ -106,7 +106,7 @@ import{X as Te,cf as Ge,u as Ye,M as X,cn as qe,a1 as se,eX as Ke,l as J,a7 as r
|
|
|
106
106
|
`,W=n(ze)`
|
|
107
107
|
display: flex;
|
|
108
108
|
align-items: center;
|
|
109
|
-
`,
|
|
109
|
+
`,Ut=n.div`
|
|
110
110
|
display: flex;
|
|
111
111
|
align-items: center;
|
|
112
112
|
justify-content: center;
|
|
@@ -157,11 +157,11 @@ import{X as Te,cf as Ge,u as Ye,M as X,cn as qe,a1 as se,eX as Ke,l as J,a7 as r
|
|
|
157
157
|
width: 14px;
|
|
158
158
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
159
159
|
border-radius: 50%;
|
|
160
|
-
`,
|
|
160
|
+
`,qt=n.div``,Jt=n.div`
|
|
161
161
|
width: ${i.sp4};
|
|
162
162
|
height: ${i.sp4};
|
|
163
163
|
margin-left: ${i.sp4};
|
|
164
|
-
`,
|
|
164
|
+
`,Yt=n.div`
|
|
165
165
|
display: inline-block;
|
|
166
166
|
border-radius: ${i.sp2};
|
|
167
167
|
margin: ${i.sp0} 12px;
|
|
@@ -174,7 +174,7 @@ import{X as Te,cf as Ge,u as Ye,M as X,cn as qe,a1 as se,eX as Ke,l as J,a7 as r
|
|
|
174
174
|
height: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
175
175
|
border-radius: ${i.sp11};
|
|
176
176
|
margin-right: ${i.sp2};
|
|
177
|
-
`,
|
|
177
|
+
`,Kt=n.div`
|
|
178
178
|
display: flex;
|
|
179
179
|
flex-direction: column;
|
|
180
180
|
`,de=n.div`
|
|
@@ -195,11 +195,11 @@ import{X as Te,cf as Ge,u as Ye,M as X,cn as qe,a1 as se,eX as Ke,l as J,a7 as r
|
|
|
195
195
|
align-items: center;
|
|
196
196
|
justify-content: center;
|
|
197
197
|
margin-left: ${i.sp2};
|
|
198
|
-
`,
|
|
198
|
+
`,Qt=n.div`
|
|
199
199
|
min-width: ${e=>e.isOptionSelected?i.sp4:i.sp5};
|
|
200
200
|
width: ${e=>e.isOptionSelected?i.sp7:i.sp5};
|
|
201
201
|
height: ${e=>e.isOptionSelected?i.sp7:i.sp5};
|
|
202
|
-
`,
|
|
202
|
+
`,Xt=n(ct)`
|
|
203
203
|
margin-right: ${i.sp2};
|
|
204
204
|
min-width: inherit;
|
|
205
205
|
width: inherit;
|
package/dist/assets/{StatementItem-BlfBohft-CacjOgZD.js → StatementItem-CV3b0pVj-CWdkAyq6.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{X as y,M as S,
|
|
1
|
+
import{X as y,M as S,h2 as b,j as o,d as g,o as n,s as j,C as v,br as z,p as k}from"./index-GMJ2nuUF.js";import{b as P,n as i}from"./vendor-CnQcJ2Lu.js";import{g as C}from"./BoxItem-B8KF3Skh-TmzJmYZc.js";import{w as L}from"./downloadPdf-IPGZ8YB9-DocjrP8U.js";const d=S.getLocalizedStrings().months,a={downloadButtonSize:new v(k[4],20)},B=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
|
`,T=i.div`
|
|
@@ -8,19 +8,19 @@ import{X as y,M as S,g$ as b,j as o,d as g,o as r,q as j,C as v,bp as z,p as k}f
|
|
|
8
8
|
justify-content: space-between;
|
|
9
9
|
align-items: center;
|
|
10
10
|
width: 100%;
|
|
11
|
-
`,
|
|
11
|
+
`,E=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
|
+
`,N=i.div`
|
|
22
22
|
cursor: pointer;
|
|
23
|
-
`,
|
|
23
|
+
`,R=i(z)`
|
|
24
24
|
width: ${t=>a.downloadButtonSize.valuePx(t.windowSize)};
|
|
25
25
|
height: ${t=>a.downloadButtonSize.valuePx(t.windowSize)};
|
|
26
26
|
min-height: ${t=>a.downloadButtonSize.valuePx(t.windowSize)};
|
|
@@ -28,4 +28,4 @@ import{X as y,M as S,g$ as b,j as o,d as g,o as r,q as j,C as v,bp as z,p as k}f
|
|
|
28
28
|
&:hover {
|
|
29
29
|
color: ${t=>t.theme.colors.primary};
|
|
30
30
|
}
|
|
31
|
-
`;function J({accountLast4:t,currentTenantCompanyName:s,data:e,authParams:m,downloadEndPoint:l,documentType:
|
|
31
|
+
`;function J({accountLast4:t,currentTenantCompanyName:s,data:e,authParams:m,downloadEndPoint:l,documentType:r="statement",boxType:p}){const[c,w]=P.useState(!1),x=y(),h=r==="taxLetter"?`${e.title.year}`:`${d[e.title.month-1]} ${e.title.year}`,$=r==="taxLetter"?`${s}-treasury-tax-letter-${e.title.year}.pdf`:`${s}-${t}-monthly-statement-${d[e.title.month-1]}-${e.title.year}.pdf`,u={period:`${e.title.year}-${b(e.title.month)}`,format:"pdf"},f=o.jsx(B,{children:o.jsxs(T,{children:[o.jsx(E,{children:h}),o.jsx(N,{onClick:()=>L(r==="treasuryStatement"||r==="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(R,{windowSize:x})})]})});return o.jsx(C,{content:f,boxType:p,isDisabled:!1,isNotClickable:!0})}export{J as O};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import{u as v,X as z,j as t,aW as C,M as P,ao as I,o as r,g as m,bS as L,C as M,p as h,s as O}from"./index-GMJ2nuUF.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as B}from"./BoxItem-B8KF3Skh-TmzJmYZc.js";import{o as E}from"./commonDimensions-B68wSFi9-M2W23m0D.js";import{O as R}from"./StatementItem-CV3b0pVj-CWdkAyq6.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-IPGZ8YB9-DocjrP8U.js";const x=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,b={listItemMargin:new M(h[3],h[8])},et=({currentTenantCompanyName:e,authParams:g,downloadEndPoint:w,statementListView:i,accountLast4:f,onBackClick:y})=>{const k=v(),l=z(),$=p.createRef(),c=p.useRef(null),d=i.statements.length===0,j=()=>d===!1?E.transactionItemHeight:24,S=({index:a,style:n})=>{const s=i.statements[a];return d===!1?t.jsx(u,{windowSize:l,style:{...n,width:`calc(100% - 2*${b.listItemMargin.valuePx(l)})`},children:t.jsx(R,{currentTenantCompanyName:e,accountLast4:f,data:s,authParams:g,downloadEndPoint:w,boxType:B(a,i.statements.length)},s.id)}):t.jsx(T,{style:{...n},children:t.jsx(N,{children:t.jsx(u,{windowSize:l,children:t.jsx(H,{children:x.noStatements})})})})};return t.jsxs(A,{children:[t.jsx(C,{title:x.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(K,{children:t.jsx(I,{children:({height:a,width:n})=>t.jsx(V,{ref:$,height:a,width:n,outerRef:c,itemKey:s=>s,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:S})})})]})},T=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
|
+
`,N=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(O)`
|
|
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(L)`
|
|
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-C6703BAG-DiX_YNpB.js → StatusSwitcher-CxzYEzIO-Dl4oZKu3.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import{X as y,j as d,aV as T,M as v,C as f,o as s,p as c,
|
|
1
|
+
import{X as y,j as d,aV as T,M as v,C as f,o as s,p as c,v as z}from"./index-GMJ2nuUF.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%;
|
|
5
5
|
border-bottom: ${e=>e.hasSubTabs===!0?"none":`1px solid ${e.theme.colors.grey3}`};
|
|
6
6
|
justify-content: ${e=>e.isSwitcherLeftAlign===!0?"left":"center"};
|
|
7
|
-
margin-right: ${e=>e.hasSubTabs===!0?"auto":
|
|
8
|
-
margin-left: ${e=>e.hasSubTabs===!0?"auto":
|
|
7
|
+
margin-right: ${e=>e.hasSubTabs===!0?"auto":w.containerMarginRight.valuePx(e.windowSize)};
|
|
8
|
+
margin-left: ${e=>e.hasSubTabs===!0?"auto":w.containerMarginLeft.valuePx(e.windowSize)};
|
|
9
9
|
`,k=u.div`
|
|
10
10
|
position: relative;
|
|
11
11
|
display: flex;
|
|
@@ -15,7 +15,7 @@ import{X as y,j as d,aV as T,M as v,C as f,o as s,p as c,w as z}from"./index-BJ9
|
|
|
15
15
|
margin-left: ${e=>e.hasSubTabs===!0?"initial":"auto"};
|
|
16
16
|
column-gap: ${e=>e.hasSubTabs!==!0?e.windowSize==="small"?s.sp3:s.sp6:s.sp4};
|
|
17
17
|
|
|
18
|
-
margin-left: ${e=>e.hasSubTabs===!0?
|
|
18
|
+
margin-left: ${e=>e.hasSubTabs===!0?w.segmentContainerMarginLeft.valuePx(e.windowSize):"0"};
|
|
19
19
|
`,B=u(z)`
|
|
20
20
|
display: flex;
|
|
21
21
|
padding: ${e=>e.isMainTab?"12px":"6px 12px"};
|
package/dist/assets/{SubTabSwitcher-lf9S7Ubj-BbNRnQm4.js → SubTabSwitcher-_XBeoyd8-ky9GU4WA.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as r,d as u,o as s,
|
|
1
|
+
import{j as r,d as u,o as s,v as g,aj as m}from"./index-GMJ2nuUF.js";import{n as i,j as a}from"./vendor-CnQcJ2Lu.js";function S({allTabs:e,selectedTab:c,containerStyle:d,rightComponent:o,onTabChange:p}){const h=o!=null;return r.jsxs(x,{style:d,hasRightComponent:h,children:[r.jsx($,{children:e.map(t=>{const n=t.id===c,l=t.isDisabled!=null;return r.jsxs(b,{onClick:()=>{n===!1&&!l&&p(t)},isSelected:n,isDisabled:l,children:[r.jsx(y,{children:t.label}),t.countDetails?.count!=null?r.jsx(j,{children:r.jsx(f,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:r.jsx(D,{children:t.countDetails.isFetching?r.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),o]})}const x=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
justify-content: ${e=>e.hasRightComponent?"space-between":"flex-start"};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as d}from"./index-
|
|
1
|
+
import{j as d}from"./index-GMJ2nuUF.js";import{E as n,T as t}from"./ReloadCard-D3-WJk3W-D2s29SSN.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};
|