@zeniai/web-cockpit-ui 1.14.1-pune → 1.14.2-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-DIIEbfXH.js → ACHDetailsPage-CfXmiXOX-Bw6PIXTR.js} +3 -3
- package/dist/assets/{AIPerformancePage-DAkvkXSA-DCPKp1TL.js → AIPerformancePage-BTkeAbzQ-BrardM2A.js} +48 -38
- package/dist/assets/{AccountInfoPage-6EVpo7mW-_VH4qo0L.js → AccountInfoPage-Cw14e1jO-BsUim3eq.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-BWZbyIYz-DsBeIJ7e.js → AccountInfoPageContent-cvYWnpel-CJmb2W-r.js} +15 -15
- package/dist/assets/{AccountReconDetailsDrawerPage-DLd_igXD-BDzMROTl.js → AccountReconDetailsDrawerPage-DOKqIknC-DSx-KpKz.js} +12 -12
- package/dist/assets/{AccountRow-D4iz2vCr-CUjY-as_.js → AccountRow-Ca-OS9TF-boQKAn9P.js} +20 -20
- package/dist/assets/{AccountsPromoCardStack-DIly1lFF-CoHITgz2.js → AccountsPromoCardStack-CwEVkbGD-GfsHQDZG.js} +19 -19
- package/dist/assets/{AddAddressForCardDrawer-C90j4Cwr-BuafF6k2.js → AddAddressForCardDrawer-B1zyrJMb-gDNlBeVv.js} +2 -2
- package/dist/assets/{AddToWalletPage-Bo2KesYz-CXFPlcd_.js → AddToWalletPage-s7c161JX-Bbl7vvY4.js} +37 -37
- package/dist/assets/{AgingReportsPage-DuoKsSkU-BM--piTX.js → AgingReportsPage-Be-2Z_KS-Cp8WnRhH.js} +4 -4
- package/dist/assets/{AllUserItems-C0U1Brjm-1EugRjNx.js → AllUserItems-B4Iah9-Z-B79SOI6_.js} +6 -6
- package/dist/assets/{ApAgingDetailPage-dNwAZULr-CSLYB9s5.js → ApAgingDetailPage-D_KV9urv-CMDNQ6iG.js} +4 -4
- package/dist/assets/{AppBasePage-CfkaWEbJ-DSSQmZ3n.js → AppBasePage-GbE58C1g-BcYXZw8U.js} +4 -4
- package/dist/assets/{AppDrawerContent-DlHQEgOZ-Bu6aM3IO.js → AppDrawerContent-YTvkEPk_-6eMbUyIc.js} +57 -31
- package/dist/assets/{ApprovalRulesSettingsPage-Pl7HoLmk-0ndkNfLh.js → ApprovalRulesSettingsPage-Cct7Nzfb-BnkTkJjh.js} +6 -6
- package/dist/assets/{ArAgingChart-xI9TRvfS-BJS1mtHm.js → ArAgingChart-BeVadylU-XR25EAL6.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-BMGCnP5d-CqfkCp13.js → ArAgingDetailPage-CWUA4S2q-Ww5hXmPO.js} +2 -2
- package/dist/assets/{AttachmentView-C8AgUAnY-CDH1Mcyw.js → AttachmentView-DGsub__A-BBxOr8Ij.js} +5 -5
- package/dist/assets/{BankAccountSection-DB4PEf_X-DiW8OD4p.js → BankAccountSection-CtTkNBok-D2ekA6eB.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-BNO8Gl59-DLhau1xe.js → BankAccountWarningSection-dVdrPYm5-CnmYzGhr.js} +8 -8
- package/dist/assets/BankConnectionsSettingsPage-_e4jMGI2-DH8UTyN3.js +425 -0
- package/dist/assets/{BillDetailPage-Bv86SywV-6njFGhnW.js → BillDetailPage-Dz4_gdDb-ycU3JEwF.js} +7 -7
- package/dist/assets/{BillPayApprovalRuleDetailPage-CDXxmD-3-GLg1j3lZ.js → BillPayApprovalRuleDetailPage-DcNLlDh2-B0LeGU7-.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-Ci5Ok7Zj-BsfoZbfz.js → BillPayApprovalRulesPage-C_NDjp6G-D74xT3Vs.js} +8 -8
- package/dist/assets/{BillPayPromoPage-Co2j2krO-D4iqOCut.js → BillPayPromoPage-TkLMkxeC-CRgciQY3.js} +5 -5
- package/dist/assets/BillPaySetUpPage-DTGSGVO0-BjFYWMnM.js +42 -0
- package/dist/assets/{BillingSettingsPage-CAs7DZQz-De2Ozj6L.js → BillingSettingsPage-0RLFEj6x-1Rx-lW-z.js} +5 -5
- package/dist/assets/BillsBulkReviewDrawerPage-rkkXgsz4-DCe7oECG.js +1 -0
- package/dist/assets/{BoxItem-BqLhtWoJ-DTGdC4UO.js → BoxItem-CIBzy4ZV-BGT6YXil.js} +1 -1
- package/dist/assets/BusinessVerificationPage-T63_ft8O-BLj5IAMR.js +140 -0
- package/dist/assets/{CardNumberSubText-23sLjCVt-q9DlwjXk.js → CardNumberSubText-FOFiHz-M-BomqpZHj.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DY0n94jz-DZrOsGII.js → CashbackDetailPage-C1rbQ71n-BwGr1RFv.js} +19 -19
- package/dist/assets/ChargeCardDetailPage-OgsnesGD-BZdk7_5L.js +1447 -0
- package/dist/assets/ChargeCardListPage-CLHFYydY-CXTzCBUe.js +355 -0
- package/dist/assets/{ChargeCardListTable-B7uRDVzb-nPrrXfLF.js → ChargeCardListTable-ePSGyBtc-B6G4rFZ9.js} +17 -17
- package/dist/assets/ChargeCardPromoPage-Bi9cAv-f-5sPJiGwd.js +219 -0
- package/dist/assets/ChargeCardSetupPage-DvlKbA_C-AlRyM6Q7.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-JEslDm3r-Dz93LMxW.js → ChargeCardStatementsPage-CXhcA95f-C45_cho2.js} +3 -3
- package/dist/assets/{ChargeCardUtils-B3JEziD7-BDgvm4V8.js → ChargeCardUtils--ltNyvP2-TY5I7nE-.js} +1 -1
- package/dist/assets/{ChaseOverlay-KLet3F9X-CdWRAKXV.js → ChaseOverlay-CxEiwxZq-CYOJ8ZhP.js} +6 -6
- package/dist/assets/{CheckDepositDrawerPage-JYHyo9Hw-CPcUjCHP.js → CheckDepositDrawerPage-CmZbDsc3-C6Gzx2Ad.js} +16 -16
- package/dist/assets/CollapsableReportTable-CyQ4sWuS-DlLXYbkM.js +2932 -0
- package/dist/assets/{CompanyOfficerDetailsSection-DWqEolPc-hNs6b-3g.js → CompanyOfficerDetailsSection-DPufRe0m-C6FmxOML.js} +27 -27
- package/dist/assets/{CompanyPassportCard-fyolEQTs-BM4j1zkv.js → CompanyPassportCard-JgslGZ14-CZLKyeTG.js} +4 -4
- package/dist/assets/{CompanyPassportPage-CrgsRRVr-_nJlM00G.js → CompanyPassportPage-B89YFcPT-CNi42FVb.js} +144 -144
- package/dist/assets/CompleteProfile-D0RvVu97-BvDLvwiX.js +36 -0
- package/dist/assets/{ConfettiBurst-CZuMHGP8-b0M1vB-_.js → ConfettiBurst-D3BYCsW2-CicOQOeb.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-Ct4Kfowi-Dl-XZ9XF.js → CreateOrEditVendorPage-C6Ddagzy-CrkxkCuT.js} +13 -13
- package/dist/assets/{CreditCardPaymentDrawerPage-Cpu-7pGN-Cu9Xh0nq.js → CreditCardPaymentDrawerPage-C3mZhiZb-D2CoSxGr.js} +6 -6
- package/dist/assets/{CreditCardPaymentPlgSection-DoMaCnIZ-CNIK2scQ.js → CreditCardPaymentPlgSection-D9oAn9qk-hoy3ieFS.js} +8 -8
- package/dist/assets/{CurrencySelectField-CCOtXLC7-QnPV5zn9.js → CurrencySelectField-BBgpim44-D9iz41su.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-Cgzif1ji-DNCyl5ny.js → CustomerOnboardingActivationPage-iG0RHsLk-C1JrpXcK.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-Dh5KIySS-CJFQyXj_.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BOMwRZEO-D2W7lEqa.js → CustomerOnboardingDetailPageSkeleton-tTcayyvt-DVLGbpG0.js} +8 -8
- package/dist/assets/{CustomerOnboardingNoStepsPage-DDloVGvk-BQPG4WD2.js → CustomerOnboardingNoStepsPage-CIranNRI-DmxCUvPO.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-DHji4ZmF-D4jjwuH5.js → CustomerOnboardingPage-aq8E7XsP-D1AWzLDa.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-BA3GAX42-CxgqSMiN.js → CustomerOnboardingProductSuitePage-DRnOKNVC-BW6Dqkww.js} +3 -3
- package/dist/assets/{Dashboard-Cr5ugENA-CPUy4XRU.js → Dashboard-DyvhSbme-CqiNyEeS.js} +241 -238
- package/dist/assets/DashboardReportPage-Cy_f84RN-BBIf3h8d.js +370 -0
- package/dist/assets/{DepositAccTransactionItem-BXRfgUfE-D4R7G7HE.js → DepositAccTransactionItem-DK15lI5V-XJtPziNz.js} +4 -4
- package/dist/assets/{DepositAccTransactionListPage--7TRlqKj-BQ7qJsKp.js → DepositAccTransactionListPage-CRBhV8W1-B1ipg9Mm.js} +5 -5
- package/dist/assets/{DocumentSecurityBanner-B0Qt1FLC-B14Aeb97.js → DocumentSecurityBanner-C0bght0k-vffkcqMR.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-RoRpMC50-CSWDfu4W.js → DomesticWireDetailsPage-BX8glsOH-C_hYfUMN.js} +1 -1
- package/dist/assets/{DownloadOverlay-Cl_EXjiu-Bty6MX5F.js → DownloadOverlay-C5kTy4dA-91imq83n.js} +18 -18
- package/dist/assets/{DrawerPage-wXwAaYEB-CO0tKzRK.js → DrawerPage-Bwgpjwed-Dbn0o-MI.js} +6 -6
- package/dist/assets/{EditPeoplePage-xDL6VA_r-CcyNCb0B.js → EditPeoplePage-W-SFOxhC-DmK3cjsW.js} +10 -10
- package/dist/assets/{EditReimbursementDetailPage-BUpJPJNu-DrlJ3-JK.js → EditReimbursementDetailPage-D1Iduokd-BJNaLsWB.js} +78 -78
- package/dist/assets/{EntityDetailPage-BNXqSwVL-BmsjQ-yP.js → EntityDetailPage-BkRcX4SZ-D3jHuVtH.js} +1 -1
- package/dist/assets/{EntitySummarySection-MZ57i-bY-CkJQLOms.js → EntitySummarySection-BlJR-qOB-BGQRVSO6.js} +13 -13
- package/dist/assets/{ExpenseAutomationOverviewPage-Y3IHs4dG-C3j4Kf98.js → ExpenseAutomationOverviewPage-qT0g5t_P-9L0vQmNh.js} +20 -20
- package/dist/assets/{ExpenseAutomationPage-C0hvPLo7-6SC0Lnzr.js → ExpenseAutomationPage-CMKwWy2d-BxRd7q46.js} +3 -3
- package/dist/assets/{ExpressPayPage-Bncb54-Q-DvnTKzCq.js → ExpressPayPage-DXfqMxkG-esMjhJU_.js} +9 -9
- package/dist/assets/{FeaturePreviewPage-BnGBEF9H-qbgUmwmT.js → FeaturePreviewPage-CjZuOo_K-BURLQGI3.js} +2 -2
- package/dist/assets/{FollowStepsSection-laCvnETV-Bd5BOauY.js → FollowStepsSection-CO5MsYe6-DJwkRNbY.js} +6 -6
- package/dist/assets/{GlobalReviewListPage-CskEuHc5-Dmr2MpXl.js → GlobalReviewListPage-BIMdWu5P-DVJexznn.js} +11 -11
- package/dist/assets/{HelpButton-D5ZYyQMh-CbYd0zN7.js → HelpButton-BGHsn-1b-Cb4db_8O.js} +2 -2
- package/dist/assets/{InformationCardStack-BFJqdH9n-bSWTqBDS.js → InformationCardStack-B8rD8LSH-yY61wi0E.js} +5 -5
- package/dist/assets/{InsightsCardStack-CcoMWMiA-DoomT7wI.js → InsightsCardStack-AwXZ6ysD-CAyDZRBh.js} +7 -7
- package/dist/assets/{InsightsSection-D9PiJagu-BAVC-lZw.js → InsightsSection-BZS-MEy4-D-RgHCTj.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-CVmDobJ8-DUTif9-q.js → IntegrationsSettingsPage-D2tfKsbR-3hbSPzUb.js} +11 -11
- package/dist/assets/{InternationalWireSwiftDetailsPage-DqW88v9N-Ckhip8a0.js → InternationalWireSwiftDetailsPage-5NmSFI7x-CMxHmzOl.js} +12 -12
- package/dist/assets/{InternationalWireVerificationPage-X90z_30k-BipvB1gK.js → InternationalWireVerificationPage-C8WA6jI_-CkLLJOPd.js} +7 -7
- package/dist/assets/{InviteFormPage-BK-PRmeH-BScQiDBC.js → InviteFormPage-DC2ewDUN-BAnhpAwr.js} +23 -23
- package/dist/assets/{InvitePageListView-6-iCc4BK-BqA8heOE.js → InvitePageListView-DaShj4IM-BOaRvdOZ.js} +35 -35
- package/dist/assets/InvitePeoplePage-BbY4ZpGl-DYibhSDJ.js +12 -0
- package/dist/assets/{InvoiceUploadSection-D5aF4auL-BeD6SrG2.js → InvoiceUploadSection-DZJTULDZ-CCiLRTJv.js} +4 -4
- package/dist/assets/{IssueChargeCardPage-C_xt7hKZ-DIZL4bBR.js → IssueChargeCardPage-C1zB2vrB-BGIJGo3C.js} +25 -25
- package/dist/assets/{LabeledAddressValue-DpSK0MqC-Cj7E_lje.js → LabeledAddressValue-BDA7y5Fq-D9zYp9L5.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-_LY7c-ZC-Dc-9_BK1.js → LabeledAddressValueField-fj8E8gFz-pB5NcQXj.js} +4 -4
- package/dist/assets/{LabeledControlledCheckBoxField-FB40Z8J7-BP3P2Wmj.js → LabeledControlledCheckBoxField-aLuztBgv-CQQDZTL8.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-paSeI8_R-DbZOk4k7.js → LabeledCreatableSingleSelectField-zhHbiOVO-Du1erYiL.js} +7 -7
- package/dist/assets/{LabeledDocumentField-DiMgPKtR-CSKmqw6B.js → LabeledDocumentField-BTgmGAGq-ye6jxVF6.js} +6 -6
- package/dist/assets/{LabeledDropDownFormattedTextField-DsjpTL6X-j5IQGEbH.js → LabeledDropDownFormattedTextField-BdAKZt7q-DJYe0D29.js} +5 -5
- package/dist/assets/{LabeledText-CyXj8QWV-Bl6WT0AA.js → LabeledText-CMrFKM7D-U8mavECd.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CUT00Vix-QHUo9PdC.js → LabeledUserSingleSelectWithSubtitlesField-C8A0HrPt-Dt-qPiqg.js} +15 -15
- package/dist/assets/{LabeledZeniRolesDropDownField-D0cQlbhO-Dakmm_pD.js → LabeledZeniRolesDropDownField-BaiPRGJf-ThyMB5yW.js} +18 -18
- package/dist/assets/{LinkJETransactionPage-DaXjiQRp-CeG2b6Yz.js → LinkJETransactionPage-CWc1e0RL-uXbP7Kvy.js} +4 -4
- package/dist/assets/{LowBalancePopup-CdftTvLb-DHrY0Q9F.js → LowBalancePopup-COu8cuzS-D_SGW7IW.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-C25i1T4c-D1WMteCs.js → MagicLinkACHDetailsPage-h0Srx7SO-dPgjPO_-.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-B0r3WStl-Be739DkS.js → MagicLinkDomesticWireDetailsPage-BIZqOfHW-tQ-JKEYq.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-C-ev-6xJ-DjZv-CZx.js → MagicLinkInternationalWireDetailsPage-MSHTQMXn-BVkJt1cv.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-7JG3V4Qt-aQjB1Hdx.js → MagicLinkSuccessPage-BjWw4cqt-AmPRrK11.js} +3 -3
- package/dist/assets/{MagicLinkTitleSection-DEe0hhml-OAdcgqT_.js → MagicLinkTitleSection-Cll6JJDZ-CoLcdtN3.js} +4 -4
- package/dist/assets/{MailingDetailsSection-Qc65E0w3-DAFQ-tkz.js → MailingDetailsSection-DWSj0MOB-BPZUzJp9.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-Dh8meV6d-Bpx3vewx.js → MeetingCalenderPopup-CTuOhFQC-C5al8-0n.js} +3 -3
- package/dist/assets/{Menu-DyfXBl_1-ub7G94mj.js → Menu-DlBP5CCV-y1Vf24E1.js} +3 -3
- package/dist/assets/{MyBankConnectionsSettingsPage-CCFcVgyX-BtQSGmwE.js → MyBankConnectionsSettingsPage-BYqoUq4q-Da0QKGU9.js} +15 -15
- package/dist/assets/{MyPendingActivationChargeCardListPage-DS966wTB-DpfpopfQ.js → MyPendingActivationChargeCardListPage-BABBa4je-B1cN2Q5f.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BRRzMoQL-D5eo9Sqc.js → MyProfileSettingsPage-Dk_jK8-R-BnmR2m7z.js} +5 -5
- package/dist/assets/{NavBarWithPicker-BvWih0k0-Dufdt2Ka.js → NavBarWithPicker-BC2xbV2b-BcYENhJM.js} +3 -3
- package/dist/assets/{NavigationArrow-DYSL2aDL-WkPryo2E.js → NavigationArrow-BovrdeuJ-BGk3-i0K.js} +5 -5
- package/dist/assets/{NavigationDots-DyyCcIih-Dej6_J6K.js → NavigationDots-yYTGREt4-DTRiZdAJ.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DjEvzM4M-BHj9e2zb.js → NewGlobalMerchantPage-BKlPnipd-BUgMD2pk.js} +32 -32
- package/dist/assets/NoDataChart-Dhg-k7iX-B526qZJD.js +26 -0
- package/dist/assets/{NoDataTable-CXNsBBVP-DB2tU5FS.js → NoDataTable-jpCLeiDv-DPfhsNYe.js} +1 -1
- package/dist/assets/{NotFoundPage-CuuO2Mia-DK_un8VO.js → NotFoundPage-DrKqVOry-CJmDZfXH.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-C7ilxUAV-DNcmVmd9.js → NotificationSettingsPage-lojoBPQ8-BBTvd9G7.js} +5 -5
- package/dist/assets/NotificationsListConfig-jbIMYvrE-DMMvGaQE.js +1 -0
- package/dist/assets/{NotificationsPage-BjaKD99B-ChKA1ZUW.js → NotificationsPage-DJNUS9wc-8qosqB88.js} +22 -22
- package/dist/assets/{OpExByVendorPage-IuDiHnIW-D8WE3sE0.js → OpExByVendorPage-xMyUkO51-DLNCDIdB.js} +7 -7
- package/dist/assets/{OverlayContainerPage-C0rUb6-5-D4ozS3gq.js → OverlayContainerPage-GWXnlbZH-DExKUjLx.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DLvgYpF8-DAoSI7if.js → PandLWithForecastPage-BHtPelIT-DOZ7XwiG.js} +9 -9
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CZ8ZY08D-DK5OgBuH.js → PaymentAccountSetupBillingAddressSection-B2ZBSiCT-BcCn0Sg1.js} +8 -8
- package/dist/assets/{PeoplePage-DyqY-rIV-BP1By1O6.js → PeoplePage-CzQXmGVU-3wd2TE5z.js} +31 -31
- package/dist/assets/{PortfolioAllocationFormPage-DTuKtkwr-9rUcLC7b.js → PortfolioAllocationFormPage-B1Xa0wKV-C9f5vgAD.js} +4 -4
- package/dist/assets/PortfolioDetails-BY-IK4yO-BaoJWjzR.js +218 -0
- package/dist/assets/{ProductsCarousel-CS4_yc80-PtugE9vt.js → ProductsCarousel-B7h_gH-R-XoeszqUs.js} +8 -8
- package/dist/assets/{PromoBaseCards-BZ2m6LfO-Cud5t_Fi.js → PromoBaseCards-CuJXuijt-Cwtg1Msq.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-2vJQuslh-BI_9YQGE.js → QBOConnectionDialog-DsNkkj_j-C8IchF8A.js} +4 -4
- package/dist/assets/{QBOSetupSection-Yv3Xw-yn-CG5PgwyR.js → QBOSetupSection-DkoopYHr-B4YL_CMi.js} +7 -7
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-tvJ2APRB-D4mUNHAO.js → ReimbursementApprovalRuleDetailPage-BAapaJEJ-DsiatGsD.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-_nXCDa2A-sj6jFbs4.js → ReimbursementApprovalRulesPage-BkiZVc7S-CGfJ2oyo.js} +19 -19
- package/dist/assets/ReimbursementDetailPage-S9j_KDZJ-B4Ft6bVK.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-BaEX5Ej4-EKPuTP60.js → ReimbursementPromoPage-BJJruudV-4Q4ZYCZV.js} +7 -7
- package/dist/assets/ReimbursementSetUpPage-CQdxq5lk-MGbpCaqc.js +140 -0
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-HQg1y1K--BJEZ2gJz.js → ReimbursementsBulkReviewDrawerPage-5LGKVY6X-ClMjr5Ld.js} +1 -1
- package/dist/assets/{ReloadCard-stfG9ekP-CAtXGPKA.js → ReloadCard-DBRY9FdH-DLbqkxuz.js} +6 -6
- package/dist/assets/ReportTableViewSelector-DOxnK0VV-Civ7jc9s.js +150 -0
- package/dist/assets/ReportsPage-r_MRjkkb-B5PSr911.js +121 -0
- package/dist/assets/{RevenueChart-DeDVVUge-DswYpzgj.js → RevenueChart-DhCkb0c6-CpmVmIv5.js} +25 -25
- package/dist/assets/{ReviewDetailsPage-DZqPpiln-BD-TTPjy.js → ReviewDetailsPage-DWtgiOYE-C2elGQRI.js} +12 -12
- package/dist/assets/{ReviewOverlay-DcBe94Sd-BykmGHu4.js → ReviewOverlay-CjWEPPvw-B5TX8ZjT.js} +13 -13
- package/dist/assets/RoleWithToolTip-4WCTaiOg-BCe2sjxQ.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cl8iBII0-DMtW2KW5.js → ScheduleDetailsFixedAssetsPage-CSxG7vXq-DCXxKyPi.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-D6ZxZ2uU-C3_NmU11.js → ScheduleDetailsPage-BqaZqCZJ-pwjFyU_u.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-eRImHbZn-D8TBysPL.js → ScheduleSequenceTable-H_kZuoon-C9WFZ9rS.js} +15 -15
- package/dist/assets/{ScreenRoutes-miCOug2f.js → ScreenRoutes-Ck2JOiJO.js} +35 -35
- package/dist/assets/{SetUpAccountSection-BBZNI1Xl-DXELzEMu.js → SetUpAccountSection-B9L-2aHz-CS276oDL.js} +41 -41
- package/dist/assets/{SetUpDefaultSection--9Qh-utY-c-mUbFLs.js → SetUpDefaultSection-DO9aLike-BNjhrnJW.js} +11 -11
- package/dist/assets/{SignIn-CI0Ik2va-B1YM8rEU.js → SignIn-DOSDfnki-ZWJtrmyd.js} +18 -18
- package/dist/assets/{SignInScreen-DVUMKIBQ.js → SignInScreen-B66laInZ.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-NWkSnIdD-DEongjR9.js → SpendManagementListViewPage-D6ysU0TE-fs0LZdDD.js} +14 -14
- package/dist/assets/{SpendManagementPerTabPage-CdWwn_b8-DnGEGhos.js → SpendManagementPerTabPage-CHvroeCa-SUCxwVKR.js} +38 -38
- package/dist/assets/{SpendManagementSection-DGhD95sz-VmruoRWg.js → SpendManagementSection-BaEgJPY4-DbFNSMHd.js} +11 -11
- package/dist/assets/SpendMgmtSetupAccountSection-CVaXDNNK-CaCI906W.js +206 -0
- package/dist/assets/{StatementItem-BlfBohft-U3FqyIo0.js → StatementItem-CYPCJ0XS-Bebbfivn.js} +5 -5
- package/dist/assets/StatementsPage-Cyqg2jd1-CS8CbIkz.js +58 -0
- package/dist/assets/{StatusSwitcher-C6703BAG-eDDkVLmz.js → StatusSwitcher-C5UGqQw8-L5IIUMyD.js} +4 -4
- package/dist/assets/{SubTabSwitcher-lf9S7Ubj-CmXqrtys.js → SubTabSwitcher-B3rFIZQy-fhfcG8ZL.js} +1 -1
- package/dist/assets/{SummaryCard-yghz4PLR-CvQEKxF5.js → SummaryCard-CNADDyPG-AHW1-mz3.js} +1 -1
- package/dist/assets/{TaskManagementPage-Cf523C5f-BE6A19pl.js → TaskManagementPage-CtUQXjo2-CpaAFAcY.js} +29 -29
- package/dist/assets/{TimeRangeSwitcher-BoPrOhKX-CRKXdJOA.js → TimeRangeSwitcher-BXXqX3m6-DBFCX_F3.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-DufweySH-jTXdFynw.js → TimeframeSwitcher-Bk9rjDg4-BqMFgpEZ.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-RH8QHQFd-tstiafTX.js +31 -0
- package/dist/assets/{TopExCard-DrOjlLiv-D1xK4ZLl.js → TopExCard-xJbS_mNo-B0v7lag7.js} +4 -4
- package/dist/assets/{TopExDetailPage-Ds4zlxKD-B50iPc07.js → TopExDetailPage-BDUuqAEK-Bo-vZtIP.js} +10 -10
- package/dist/assets/{TransactionDetailPage-Csl-Qjxp-DV-6_vXT.js → TransactionDetailPage-CtzLtYa8-J7xBsyNJ.js} +30 -30
- package/dist/assets/TransactionList-DS-_gBrf-B6pRX61G.js +147 -0
- package/dist/assets/{TransactionListBig-p6iVof9y-DpVKiek7.js → TransactionListBig-D9ebH5C0-D4IFnh5K.js} +10 -10
- package/dist/assets/TransactionListPage-CPjayOv5-C1z1kCC6.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-DzkUYyCr-DI4vuyOD.js → TransactionVendorDetailPage-DMYoBJ23-BkgKiHHa.js} +5 -5
- package/dist/assets/{TransferDrawerPage-B9MGSdS9-AoRYBOP9.js → TransferDrawerPage-BAghLjPn-DV8a9ZRS.js} +30 -30
- package/dist/assets/{TreasuryOverviewPage-BEzBuOWn-C_ij1-dD.js → TreasuryOverviewPage-B7EFea4a-zZd4C5QF.js} +46 -46
- package/dist/assets/{TreasuryPromoPage-C8X4X7iN-C2DHRZVT.js → TreasuryPromoPage-D7Y8yGpx-5DMBtH8J.js} +27 -27
- package/dist/assets/{TreasurySetupPage-Cb_GW75l-DHI8fRrl.js → TreasurySetupPage-B1SZd_a5-DTKitX5z.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-sOiD2QYm-BjV9xUSX.js → TreasuryStatementsPage-uakhQGBW-DM3cx3mz.js} +7 -7
- package/dist/assets/{TreasuryTaxLetterPage-DYzqfHym-C8i4pNnG.js → TreasuryTaxLetterPage-BHvr72P1-ZqD52w0m.js} +7 -7
- package/dist/assets/{TreasuryTransferOrReviewPage-CesaUuNp-BlrFvGYE.js → TreasuryTransferOrReviewPage-BBPDHav1-FgeqnaCs.js} +78 -78
- package/dist/assets/TrendChart-ChiKhGtw-BlRFpdWI.js +16 -0
- package/dist/assets/{TrendWithTransactions-CUlTYGIm-DvdNaPh-.js → TrendWithTransactions-DEMNHbbz-DBOPdxuf.js} +7 -7
- package/dist/assets/{UncategorizedAccountsMappingPage-D76VPNEd-D4SPdVXr.js → UncategorizedAccountsMappingPage-BDNznj4Y-DBTlThuY.js} +17 -17
- package/dist/assets/{UnitIntegrationPage-BsZCe-lq-DrfCSWxr.js → UnitIntegrationPage-Bgu5xfcn-CtKgXROf.js} +3 -3
- package/dist/assets/{UploadAdditionalDocumentOverlay-B3tUNhKj-DN4WILBU.js → UploadAdditionalDocumentOverlay-DW6WCx4i-CGbCT0bE.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-Bk-WKgMh-DrsH2xrD.js → Vendor2FAPopup-D34glhep-Bcy6uzR5.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-u8a3XF33-CrKMxXqd.js → VendorACHDetailsPage-CSqpbr2r-BGpdO99p.js} +1 -1
- package/dist/assets/{VendorDetailPage-B-RdB79n-CDKqGTzV.js → VendorDetailPage-CJw1v9tJ-BWewlDVL.js} +18 -18
- package/dist/assets/{VendorDomesticWireDetailsPage-Bhb1Dmge-BeNq1bzX.js → VendorDomesticWireDetailsPage-BY8F5AWO-DX4fuW2L.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-DHRivhBg-ERVyS3P2.js → VendorFiling1099EditablePage-COYZCnYS-BBPw3drw.js} +15 -15
- package/dist/assets/VendorFirstReviewPage-BqnXdq6Q-CL1x86cX.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-Cjx1hvUL-CEdr_PZS.js → VendorInternationalWireDetailsPage-K9botaZv-yQ73nWrj.js} +11 -11
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BszRCCDh-B4pRgjkw.js → VendorInternationalWireSwiftDetailsPage-DQ_akVN_-s-XTKsWI.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-D6VSJUo1-Glx5yRhz.js → VendorsAccountsSection-D5d42xeO-CJcEHkCK.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-DReVGPEj-CIQlt88e.js → WarningsDrawerPage-DiA5MRFe-Bc00wID9.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-CFTB_WYX-CRRVNfVo.js → ZeniAccountDetailPage-DSCbx6BB-DGWgYb7a.js} +23 -23
- package/dist/assets/{ZeniAccountListViewPage-BmYgbIuC-DNXzp5P9.js → ZeniAccountListViewPage-7zssUaoL-DvaV5FVV.js} +21 -21
- package/dist/assets/{ZeniAccountNavBarPieces-gzy5T7nu-ZPpRmm1I.js → ZeniAccountNavBarPieces-By4S70vz-DdkCg5aL.js} +2 -2
- package/dist/assets/{ZeniAccountPromoPage-AfRVTc8V-r71cWD_l.js → ZeniAccountPromoPage-Bvr4t7zq-DL50qAxB.js} +21 -21
- package/dist/assets/{ZeniAccountSetupPage-YXJmpz_d-3FWCeT2b.js → ZeniAccountSetupPage-DtDN9JWk-D8j-79L6.js} +4 -4
- package/dist/assets/{ZeniCopyright-CqpcrgAZ-CH2r91yw.js → ZeniCopyright-CxC3wvp1-gbMTqRLu.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DGkzRyMW-M3i8bnVC.js → ZeniTransferAmountSlider-CcbG1sHp-Dm5uqXid.js} +1 -1
- package/dist/assets/analytics-CBL_L82S.js +7 -0
- package/dist/assets/{analyticsHelper-sgo3pabT-BeTMdSYn.js → analyticsHelper-3y6VD3VH-4b12iNu9.js} +1 -1
- package/dist/assets/{analyticsHelper-BKEOwNtm.js → analyticsHelper-D4WZaKOr.js} +1 -1
- package/dist/assets/{chartTypes-Dj-_K0Gi-EQP1Ce02.js → chartTypes-mKuCmPTG-BM7hqR_d.js} +1 -1
- package/dist/assets/{commonDimensions-CKgBEMhT-JcVoNYFG.js → commonDimensions-BHBDbLXD-D2tFRShv.js} +1 -1
- package/dist/assets/{detailCommon-vtB2ffbe-CVFboB64.js → detailCommon-1QwSQL9C-CMTdKXNR.js} +10 -10
- package/dist/assets/{downloadPdf-CiC0AXNH-CeD8Q-Pl.js → downloadPdf-DjM3Z_88-B-Yuc7DP.js} +1 -1
- package/dist/assets/{index-D3N9MvRr.js → index-CWmqNC4C.js} +3532 -3549
- package/dist/assets/mapLoadingInProgressToTreeNode-CKZd1bh4-H6b75J9k.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CWaIGa37-l4B2WAau.js → mapSectionWithAcOnlyToTreeNode-CO6ix8Ks-D7LvCMfp.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-CzcEW1Rc-DpU4PyGc.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CEDhLCxY-D-EnNeIG.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-y3lzh3vX-QR9PSTFA.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Bf3d9TrW-Cgl9vOT0.js +1 -0
- package/dist/assets/{play-icon-CF-Mkuir-D0VaB-h5.js → play-icon-DfMYCOJa-CBLpaBHA.js} +3 -3
- package/dist/assets/{toCOABalancesWithID-D1BwrImS-CU7gHn7p.js → toCOABalancesWithID-CEvuOTjK-TT4jMA7r.js} +1 -1
- package/dist/assets/{toChartData-DVTo0PPD-Xv5HtUSQ.js → toChartData-D2kGY49E-CsLrqkFw.js} +1 -1
- package/dist/assets/{treasuryColorHelper-QzSX5YTe-DRvV2CE6.js → treasuryColorHelper-k2phUKLw-Bv7jwBAj.js} +1 -1
- package/dist/assets/{uploadAttachment-BxwOR3I5-D86nKqy9.js → uploadAttachment-kyOdZMbL-CJNFoqRM.js} +7 -7
- package/dist/assets/{uploadReceipts-Buvz7DfG-CwTcUaXM.js → uploadReceipts-D80JLNY4-Cic2YR7g.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/BankConnectionsSettingsPage-BOreBo5b-D37lKtbY.js +0 -379
- package/dist/assets/BillPaySetUpPage-DjpCUZaT-Ddup2DO2.js +0 -42
- package/dist/assets/BillsBulkReviewDrawerPage-DjunAUW0-B6U5Is6f.js +0 -1
- package/dist/assets/BusinessVerificationPage-CZGOzc9Z-D6-Ww27c.js +0 -140
- package/dist/assets/ChargeCardDetailPage-NWTPnGtM-DFqwW_o-.js +0 -1447
- package/dist/assets/ChargeCardListPage-D42dfnET-BwGRx6DO.js +0 -355
- package/dist/assets/ChargeCardPromoPage-CXiXee-8-rWS9j7At.js +0 -190
- package/dist/assets/ChargeCardSetupPage-Ccc8PoCm-DOz93R9J.js +0 -36
- package/dist/assets/CollapsableReportTable-DshWn4Fc-CB5euwH7.js +0 -2860
- package/dist/assets/CompleteProfile-D_zq0Bxi-4-J8J591.js +0 -36
- package/dist/assets/CustomerOnboardingContainerPage-ByWeMmBf-4mOzqlwZ.js +0 -1
- package/dist/assets/DashboardReportPage-paPVk_v2-Dvs7jyc3.js +0 -349
- package/dist/assets/InvitePeoplePage-C9AwNqIx-ByE99RmM.js +0 -12
- package/dist/assets/NoDataChart-DE6NV823-DgTs2vbZ.js +0 -26
- package/dist/assets/NotificationsListConfig-TBQMobJ5-DLtoRFYq.js +0 -1
- package/dist/assets/PortfolioDetails-DJFeMG4U-DswuDgPe.js +0 -218
- package/dist/assets/ReimbursementDetailPage-CtEAsq7u-CdLZ67Bg.js +0 -314
- package/dist/assets/ReimbursementSetUpPage-DXOqEJL4-DeydDpr0.js +0 -140
- package/dist/assets/ReportTableViewSelector-_RTCd2td-J4MgIxi7.js +0 -133
- package/dist/assets/ReportsPage-BIzz5Dt_-BPRCOVMf.js +0 -120
- package/dist/assets/RoleWithToolTip-DZO2tooH-6nbnfSfh.js +0 -22
- package/dist/assets/SpendMgmtSetupAccountSection-DG4ozkeT-CetbNb1Y.js +0 -207
- package/dist/assets/StatementsPage-CUpjL5u7-BWH36hJA.js +0 -58
- package/dist/assets/TimeframeSwitcherWithToggle-BKwe3K9l-CC0-bOos.js +0 -31
- package/dist/assets/TransactionList-2HeLZVn9-D_XSB9a8.js +0 -147
- package/dist/assets/TransactionListPage-tnL66tOu-DKTJncjo.js +0 -35
- package/dist/assets/TrendChart-kwGU0d90-D9vTA2Kh.js +0 -16
- package/dist/assets/VendorFirstReviewPage-Cn2GBsyl-cg4le0C7.js +0 -730
- package/dist/assets/analytics-DThoELaW.js +0 -7
- package/dist/assets/mapLoadingInProgressToTreeNode-0MIZwF_y-BJQcaPEZ.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-1Bdqp9WS-Bf4vh4uO.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-MPZhFWqo-DqH1QGXc.js +0 -1
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
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 re,j as t,aQ as Ze,C as d,f3 as Je,f4 as Xe,f5 as Qe,bB as et,p as o,_ as tt,eY as ye,eZ as ve,o as i,Y as V,f6 as Le,d as pe,g as C,e_ as it,Q as _e,f7 as nt,e$ as at,w as ot,bs as $e,cy as lt,a6 as st,f8 as rt,f as ze,ae as Ae,f9 as ct,ck as dt}from"./index-D3N9MvRr.js";import{b as f,n}from"./vendor-CnQcJ2Lu.js";import{r as ut}from"./mui-C5LQ0bMa.js";import{S as pt}from"./ChargeCardUtils-B3JEziD7-BDgvm4V8.js";import{X as ht}from"./CreditCardPaymentPlgSection-DoMaCnIZ-CNIK2scQ.js";import{M as gt}from"./ChaseOverlay-KLet3F9X-CdWRAKXV.js";import{K as mt}from"./SetUpDefaultSection--9Qh-utY-c-mUbFLs.js";const Q={sectionWidth:new d(343,580,726),rowGap:new d(o[2],o[3]),footerPaddingLeftRight:new d(o[3],o[4])},ft={title:new _e("standardMedium","largeMedium")};function xt({plaidConnectionDetails:e,header:p,isAccountsEnabled:j=!0,analytics:x,pageName:b,accountsPromoConfig:v,style:A,onConnectClick:M,onSignUpClick:I}){const u=Te(),{setUp:c}=X.getLocalizedStrings().commonSetUp,m=e.link_account,P=m.fetchStatus.fetchState==="In-Progress"||m.updateStatus.fetchState==="In-Progress";return t.jsxs(St,{windowSize:u,style:A,"data-testid":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:M,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
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
row-gap: ${e=>Q.rowGap.valuePx(e.windowSize)};
|
|
5
|
-
`,wt=n.div`
|
|
6
|
-
display: flex;
|
|
7
|
-
align-items: center;
|
|
8
|
-
`,bt=n.div`
|
|
9
|
-
display: flex;
|
|
10
|
-
align-items: center;
|
|
11
|
-
color: ${e=>e.theme.colors.primary};
|
|
12
|
-
${e=>`${ft.title.style(e.windowSize)}`};
|
|
13
|
-
`,yt=n.div`
|
|
14
|
-
width: ${e=>e.width!=null?e.width:Q.sectionWidth.valuePx(e.windowSize)};
|
|
15
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
16
|
-
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
17
|
-
border-radius: ${i.sp2};
|
|
18
|
-
&:hover {
|
|
19
|
-
border: ${e=>`1px solid ${e.theme.colors.primary}`};
|
|
20
|
-
color: ${e=>e.theme.colors.primary};
|
|
21
|
-
}
|
|
22
|
-
`,vt=n.div`
|
|
23
|
-
display: flex;
|
|
24
|
-
align-items: center;
|
|
25
|
-
justify-content: center;
|
|
26
|
-
margin-left: ${i.sp2};
|
|
27
|
-
`,$t=n(ze)`
|
|
28
|
-
display: flex;
|
|
29
|
-
align-items: center;
|
|
30
|
-
padding-top: ${i.sp1};
|
|
31
|
-
padding-bottom: ${i.sp1};
|
|
32
|
-
padding-left: ${e=>Q.footerPaddingLeftRight.valuePx(e.windowSize)};
|
|
33
|
-
padding-right: ${e=>Q.footerPaddingLeftRight.valuePx(e.windowSize)};
|
|
34
|
-
background: ${e=>e.theme.colors.grey4};
|
|
35
|
-
border-radius: ${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2};
|
|
36
|
-
color: ${e=>e.theme.colors.hero};
|
|
37
|
-
`,kt=n.div`
|
|
38
|
-
display: flex;
|
|
39
|
-
align-items: center;
|
|
40
|
-
:hover {
|
|
41
|
-
cursor: pointer;
|
|
42
|
-
color: ${e=>e.theme.colors.primary};
|
|
43
|
-
.right-arrow {
|
|
44
|
-
color: ${e=>e.theme.colors.primary};
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
`,Ct=n.span`
|
|
48
|
-
pointer-events: ${e=>e.isLoading===!0?"none":"initial"};
|
|
49
|
-
`,jt=n(Ae)`
|
|
50
|
-
margin-left: ${i.sp1};
|
|
51
|
-
width: 12px;
|
|
52
|
-
height: 12px;
|
|
53
|
-
cursor: pointer;
|
|
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)`
|
|
56
|
-
color: ${e=>e.theme.colors.primary};
|
|
57
|
-
width: ${e=>e.windowSize==="small"?"80%":"100%"};
|
|
58
|
-
`,zt=n(rt)`
|
|
59
|
-
color: ${e=>e.theme.colors.primary};
|
|
60
|
-
`,Ce=n.div`
|
|
61
|
-
display: flex;
|
|
62
|
-
flex-direction: column;
|
|
63
|
-
row-gap: ${e=>r.rowGap.valuePx(e.windowSize)};
|
|
64
|
-
`,At=n.div`
|
|
65
|
-
display: flex;
|
|
66
|
-
align-items: center;
|
|
67
|
-
flex-direction: row;
|
|
68
|
-
justify-content: space-between;
|
|
69
|
-
margin-left: ${e=>r.elementsMarginLeftRight.valuePx(e.windowSize)};
|
|
70
|
-
margin-right: ${e=>r.elementsMarginLeftRight.valuePx(e.windowSize)};
|
|
71
|
-
margin-top: ${i.sp4};
|
|
72
|
-
margin-bottom: ${i.sp0};
|
|
73
|
-
`,It=n.div`
|
|
74
|
-
display: flex;
|
|
75
|
-
flex-direction: column;
|
|
76
|
-
align-items: flex-end;
|
|
77
|
-
margin-left: ${e=>r.elementsMarginLeftRight.valuePx(e.windowSize)};
|
|
78
|
-
margin-right: ${e=>r.elementsMarginLeftRight.valuePx(e.windowSize)};
|
|
79
|
-
margin-top: ${i.sp3};
|
|
80
|
-
margin-bottom: ${i.sp4};
|
|
81
|
-
opacity: ${e=>e.isDisabled?.4:1};
|
|
82
|
-
`,Et=n(lt)`
|
|
83
|
-
border-radius: ${i.sp2};
|
|
84
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
85
|
-
`,Rt=n.div`
|
|
86
|
-
display: flex;
|
|
87
|
-
opacity: ${e=>e.isDisabled?.8:1};
|
|
88
|
-
margin-right: ${i.sp2};
|
|
89
|
-
`,Bt=n.div`
|
|
90
|
-
display: flex;
|
|
91
|
-
align-items: flex-start;
|
|
92
|
-
`,Mt=n.div`
|
|
93
|
-
display: flex;
|
|
94
|
-
`,Ut=n(ot)`
|
|
95
|
-
display: flex;
|
|
96
|
-
align-items: center;
|
|
97
|
-
color: ${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.hero};
|
|
98
|
-
flex-wrap: wrap;
|
|
99
|
-
`,ee=n.div`
|
|
100
|
-
display: flex;
|
|
101
|
-
`,ce=n.div`
|
|
102
|
-
:hover {
|
|
103
|
-
cursor: pointer;
|
|
104
|
-
color: ${e=>e.isError?e.theme.colors.important:e.theme.colors.primary};
|
|
105
|
-
}
|
|
106
|
-
`,W=n(ze)`
|
|
107
|
-
display: flex;
|
|
108
|
-
align-items: center;
|
|
109
|
-
`,Dt=n.div`
|
|
110
|
-
display: flex;
|
|
111
|
-
align-items: center;
|
|
112
|
-
justify-content: center;
|
|
113
|
-
`,Ot=n.div`
|
|
114
|
-
display: flex;
|
|
115
|
-
flex-direction: row;
|
|
116
|
-
align-items: center;
|
|
117
|
-
padding: ${e=>r.iconPadding.valuePx(e.windowSize)};
|
|
118
|
-
background: ${e=>e.iconColor.toString()};
|
|
119
|
-
border-radius: ${i.sp11};
|
|
120
|
-
width: fit-content;
|
|
121
|
-
height: fit-content;
|
|
122
|
-
color: ${e=>e.isDarkMode?C.neutralGrey5Light:e.theme.colors.brandColorOnyx}; // As per design
|
|
123
|
-
max-width: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
124
|
-
max-height: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
125
|
-
margin-right: ${i.sp2};
|
|
126
|
-
`,Ft=n.div`
|
|
127
|
-
display: flex;
|
|
128
|
-
flex-direction: column;
|
|
129
|
-
width: ${e=>r.sectionWidth.valuePx(e.windowSize)};
|
|
130
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
131
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
132
|
-
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
133
|
-
border-radius: ${i.sp2};
|
|
134
|
-
color: ${e=>e.theme.colors.grey1};
|
|
135
|
-
justify-content: space-between;
|
|
136
|
-
box-sizing: border-box;
|
|
137
|
-
${e=>e.isDisabled===!1&&`
|
|
138
|
-
&:hover {
|
|
139
|
-
border: 1px solid ${e.theme.colors.primary};
|
|
140
|
-
color: ${e.theme.colors.primary};
|
|
141
|
-
}
|
|
142
|
-
`}
|
|
143
|
-
`,Wt=n.div`
|
|
144
|
-
display: flex;
|
|
145
|
-
align-items: center;
|
|
146
|
-
`,Vt=n.div`
|
|
147
|
-
color: ${e=>e.theme.colors.primary};
|
|
148
|
-
${e=>`${Pt.title.style(e.windowSize)}`};
|
|
149
|
-
`,Nt=n.div`
|
|
150
|
-
margin-right: ${i.sp2};
|
|
151
|
-
`,Ht=n(it)`
|
|
152
|
-
width: ${i.sp3};
|
|
153
|
-
height: ${i.sp3};
|
|
154
|
-
color: ${C.success};
|
|
155
|
-
`,Gt=n.div`
|
|
156
|
-
height: 14px;
|
|
157
|
-
width: 14px;
|
|
158
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
159
|
-
border-radius: 50%;
|
|
160
|
-
`,Yt=n.div``,qt=n.div`
|
|
161
|
-
width: ${i.sp4};
|
|
162
|
-
height: ${i.sp4};
|
|
163
|
-
margin-left: ${i.sp4};
|
|
164
|
-
`,Kt=n.div`
|
|
165
|
-
display: inline-block;
|
|
166
|
-
border-radius: ${i.sp2};
|
|
167
|
-
margin: ${i.sp0} 12px;
|
|
168
|
-
width: ${i.sp1};
|
|
169
|
-
height: ${i.sp1};
|
|
170
|
-
cursor: inherit;
|
|
171
|
-
background-color: ${e=>e.theme.colors.grey1};
|
|
172
|
-
`,Zt=n.img`
|
|
173
|
-
width: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
174
|
-
height: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
|
|
175
|
-
border-radius: ${i.sp11};
|
|
176
|
-
margin-right: ${i.sp2};
|
|
177
|
-
`,Jt=n.div`
|
|
178
|
-
display: flex;
|
|
179
|
-
flex-direction: column;
|
|
180
|
-
`,de=n.div`
|
|
181
|
-
display: flex;
|
|
182
|
-
color: inherit;
|
|
183
|
-
margin-left: ${i.sp1};
|
|
184
|
-
`,ue=n(Ae)`
|
|
185
|
-
width: 12px;
|
|
186
|
-
height: 12px;
|
|
187
|
-
`,je=n(dt)`
|
|
188
|
-
display: flex;
|
|
189
|
-
margin-left: 12px;
|
|
190
|
-
width: ${i.sp3};
|
|
191
|
-
height: ${i.sp3};
|
|
192
|
-
color: ${C.important};
|
|
193
|
-
`,Pe=n.div`
|
|
194
|
-
display: flex;
|
|
195
|
-
align-items: center;
|
|
196
|
-
justify-content: center;
|
|
197
|
-
margin-left: ${i.sp2};
|
|
198
|
-
`,Xt=n.div`
|
|
199
|
-
min-width: ${e=>e.isOptionSelected?i.sp4:i.sp5};
|
|
200
|
-
width: ${e=>e.isOptionSelected?i.sp7:i.sp5};
|
|
201
|
-
height: ${e=>e.isOptionSelected?i.sp7:i.sp5};
|
|
202
|
-
`,Qt=n(ct)`
|
|
203
|
-
margin-right: ${i.sp2};
|
|
204
|
-
min-width: inherit;
|
|
205
|
-
width: inherit;
|
|
206
|
-
height: inherit;
|
|
207
|
-
`;export{Tt as R,si as p,ke as y,Lt as z};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import{u as v,X as z,j as t,aW as C,M,ai as P,o as r,g as m,bR as I,C as L,p as h,q as R}from"./index-D3N9MvRr.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as B}from"./BoxItem-BqLhtWoJ-DTGdC4UO.js";import{o as E}from"./commonDimensions-CKgBEMhT-JcVoNYFG.js";import{M as T}from"./StatementItem-BlfBohft-U3FqyIo0.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-CiC0AXNH-CeD8Q-Pl.js";const x=M.getLocalizedStrings().spendManagement.zeniAccounts.statements,b={listItemMargin:new L(h[3],h[8])},et=({currentTenantCompanyName:e,authParams:g,downloadEndPoint:w,statementListView:i,accountLast4:f,onBackClick:y})=>{const k=v(),l=z(),$=p.createRef(),c=p.useRef(null),d=i.statements.length===0,j=()=>d===!1?E.transactionItemHeight:24,S=({index:a,style:n})=>{const s=i.statements[a];return d===!1?t.jsx(u,{windowSize:l,style:{...n,width:`calc(100% - 2*${b.listItemMargin.valuePx(l)})`},children:t.jsx(T,{currentTenantCompanyName:e,accountLast4:f,data:s,authParams:g,downloadEndPoint:w,boxType:B(a,i.statements.length)},s.id)}):t.jsx(N,{style:{...n},children:t.jsx(O,{children:t.jsx(u,{windowSize:l,children:t.jsx(H,{children:x.noStatements})})})})};return t.jsxs(A,{children:[t.jsx(C,{title:x.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(K,{children:t.jsx(P,{children:({height:a,width:n})=>t.jsx(V,{ref:$,height:a,width:n,outerRef:c,itemKey:s=>s,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:S})})})]})},N=o.div``,u=o.div`
|
|
2
|
-
margin: ${e=>`${r.sp0} ${b.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
|
-
&:hover {
|
|
4
|
-
position: relative;
|
|
5
|
-
z-index: 2;
|
|
6
|
-
}
|
|
7
|
-
`,O=o.div`
|
|
8
|
-
display: flex;
|
|
9
|
-
height: 100%;
|
|
10
|
-
flex: 1 1 auto;
|
|
11
|
-
flex-direction: row;
|
|
12
|
-
justify-content: center;
|
|
13
|
-
align-items: flex-end;
|
|
14
|
-
`,A=o.div`
|
|
15
|
-
display: flex;
|
|
16
|
-
height: 100%;
|
|
17
|
-
flex-direction: column;
|
|
18
|
-
width: 100%;
|
|
19
|
-
padding-bottom: ${r.sp7};
|
|
20
|
-
`,H=o(R)`
|
|
21
|
-
display: flex;
|
|
22
|
-
color: ${e=>e.theme.colors.grey2};
|
|
23
|
-
`,K=o.div`
|
|
24
|
-
display: flex;
|
|
25
|
-
flex-direction: column;
|
|
26
|
-
width: 100%;
|
|
27
|
-
height: 100%;
|
|
28
|
-
margin-top: ${r.sp6};
|
|
29
|
-
`,V=o(I)`
|
|
30
|
-
scrollbar-width: thin;
|
|
31
|
-
scrollbar-color: transparent transparent;
|
|
32
|
-
&::-webkit-scrollbar {
|
|
33
|
-
width: ${r.sp2};
|
|
34
|
-
height: ${r.sp0};
|
|
35
|
-
background-color: transparent;
|
|
36
|
-
}
|
|
37
|
-
&::-webkit-scrollbar-track {
|
|
38
|
-
box-shadow: inset 0 0 2px ${m.scrollbarBoxShadow};
|
|
39
|
-
-webkit-box-shadow: inset 0 0 2px ${m.scrollbarBoxShadow};
|
|
40
|
-
background-color: transparent;
|
|
41
|
-
}
|
|
42
|
-
&::-webkit-scrollbar-thumb {
|
|
43
|
-
background-color: transparent;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&:hover {
|
|
47
|
-
scrollbar-color: ${e=>e.theme.colors.grey1} transparent;
|
|
48
|
-
&::-webkit-scrollbar {
|
|
49
|
-
width: ${r.sp2};
|
|
50
|
-
height: ${r.sp0};
|
|
51
|
-
background-color: transparent;
|
|
52
|
-
}
|
|
53
|
-
&::-webkit-scrollbar-thumb {
|
|
54
|
-
background-color: ${e=>e.theme.colors.grey1};
|
|
55
|
-
border-radius: 2px;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
`;export{et as default};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import{X as c,j as t,C as n,w,b3 as x}from"./index-D3N9MvRr.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{b as l}from"./TimeframeSwitcher-DufweySH-jTXdFynw.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(x,{...o,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
width: 100%;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
`,y=r.div`
|
|
6
|
-
display: flex;
|
|
7
|
-
width: 100%;
|
|
8
|
-
flex-direction: row;
|
|
9
|
-
`,m=r.div`
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-direction: row;
|
|
12
|
-
flex: 1 1 auto;
|
|
13
|
-
justify-content: center;
|
|
14
|
-
padding-left: ${e=>d.timeframePaddingLeft.valuePx(e.windowSize)};
|
|
15
|
-
padding-bottom: ${e=>d.timeframePaddingBottom.valuePx(e.windowSize)};
|
|
16
|
-
`,k=r.div`
|
|
17
|
-
display: flex;
|
|
18
|
-
width: 100%;
|
|
19
|
-
flex-direction: row;
|
|
20
|
-
align-items: center;
|
|
21
|
-
justify-content: center;
|
|
22
|
-
`,j=r.div`
|
|
23
|
-
display: flex;
|
|
24
|
-
width: 125px;
|
|
25
|
-
flex-direction: row;
|
|
26
|
-
align-items: center;
|
|
27
|
-
justify-content: flex-end;
|
|
28
|
-
`,C=r(w)`
|
|
29
|
-
color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
|
|
30
|
-
opacity: ${e=>e.isDisabled?.5:1};
|
|
31
|
-
`,h=({label:e,isOn:o,isToggleDisabled:s,onValueChanged:g})=>t.jsxs(t.Fragment,{children:[t.jsx(C,{isOn:o,isDisabled:s===!0,children:e}),t.jsx(b,{checked:o,edge:"end",disabled:s===!0,disableRipple:s===!0,onChange:f=>{g(f.target.checked)}})]}),B=e=>{const o=c();return t.jsxs($,{children:[t.jsx(m,{windowSize:o,children:t.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),t.jsx(k,{children:t.jsx(h,{...e.toggle})})]})},S=e=>{const o=c();return t.jsxs(y,{children:[t.jsx(m,{windowSize:o,children:t.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),t.jsx(j,{children:t.jsx(h,{...e.toggle})})]})};function L(e){const o=c();return o==="small"||o==="medium-compact"?t.jsx(B,{...e}):t.jsx(S,{...e})}export{L as M};
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
import{X as O,j as e,ai as tt,Y as u,da as et,M as y,db as it,d5 as at,dc as ot,o as i,g as A,bR as rt,C as q,l as m,d as nt,q as v,p as g,w as st,dd as Q,cr as V,_ as W,f as lt}from"./index-D3N9MvRr.js";import{b as L,n,f as dt}from"./vendor-CnQcJ2Lu.js";import{g as U}from"./BoxItem-BqLhtWoJ-DTGdC4UO.js";import{o as N}from"./commonDimensions-CKgBEMhT-JcVoNYFG.js";const D=t=>t?24:125,ct={containerPaddingBottom:new q(g[9],g[8])},E=n.div`
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex: 1 1 auto;
|
|
5
|
-
flex-direction: row;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
align-items: flex-end;
|
|
8
|
-
height: ${t=>D(t.isLoadNextItem)}px;
|
|
9
|
-
color: ${t=>t.theme.colors.grey1};
|
|
10
|
-
&:hover {
|
|
11
|
-
color: ${t=>t.theme.colors.champion};
|
|
12
|
-
}
|
|
13
|
-
padding-top: ${t=>t.isLoadNextItem?0:45}px;
|
|
14
|
-
padding-bottom: ${t=>ct.containerPaddingBottom.valuePx(t.windowSize)};
|
|
15
|
-
`,mt=n(v)`
|
|
16
|
-
display: flex;
|
|
17
|
-
cursor: pointer;
|
|
18
|
-
`;function C({firstMonthOfFY:t,isLoadNextItem:o,isLoading:l,timePeriod:a,fixedTimePeriod:r,timeframe:s,doLoadMoreTransactions:f}){let x=a;if(o)if(r!=null){const h=m.addPeriod(a.endDate.startOf("month"),t,r.numberOfPeriods,r.timeframe);x={startDate:x.endDate.add(1,"day"),endDate:h}}else{const h=m.addPeriod(a.endDate.startOf("month"),t,1,s),{startOfTimeframeFY:b,endOfTimeframeFY:j}=m.getStartOfAndEndOfTimeframeForFY(h,t,s);x={startDate:b,endDate:j}}else if(r!=null)x={startDate:m.subtractPeriod(a.startDate.startOf("month"),t,r.numberOfPeriods,r.timeframe),endDate:a.startDate.subtract(1,"day")};else{const h=m.subtractPeriod(a.startDate.startOf("month"),t,1,s),{startOfTimeframeFY:b,endOfTimeframeFY:j}=m.getStartOfAndEndOfTimeframeForFY(h,t,s);x={startDate:b,endDate:j}}const c=y.getLocalizedStrings();let p="";r==null?s==="month"?p=`${o===!0?c.transactionList.loadNextMonthPrefix:c.transactionList.loadPreviousMonthPrefix} (${m.formatZeniDate(x.startDate,c.dateFormat.visual.MMMYYYYFormat,t)})`:s==="quarter"?p=`${o===!0?c.transactionList.loadNextQuarterPrefix:c.transactionList.loadPreviousQuarterPrefix} (${c.transactionList.quarterPrefix}${m.formatZeniDate(x.startDate,c.dateFormat.visual.QYYYYformat,t)})`:p=`${o===!0?c.transactionList.loadNextYearPrefix:c.transactionList.loadPreviousYearPrefix} (${m.formatZeniDate(x.startDate,c.dateFormat.visual.YYYYformat,t)})`:p=`${o===!0?c.transactionList.loadNextMonthPrefix:c.transactionList.loadPreviousPrefix} ${r.numberOfPeriods} ${c.transactionList.monthsSuffix} - (${m.formatZeniDate(x.startDate,c.dateFormat.visual.MMMYYYYFormat,t)} - ${m.formatZeniDate(x.endDate,c.dateFormat.visual.MMMYYYYFormat,t)})`;const M=O();return l===!0?e.jsx(E,{windowSize:M,isLoadNextItem:o,children:e.jsx(nt,{size:"Small",start:!0})}):e.jsx(E,{windowSize:M,isLoadNextItem:o,children:e.jsx(mt,{"data-testid":u("load-more-transactions",p),onClick:()=>{f?.(x,s)},children:p})})}C.displayName="LoadMoreTransactions";const{common:{strings:{empty:H}}}=y.getLocalizedStrings(),ft=n(lt)`
|
|
19
|
-
display: -webkit-box;
|
|
20
|
-
-webkit-box-orient: vertical;
|
|
21
|
-
-webkit-line-clamp: 1;
|
|
22
|
-
margin-left: ${i.sp3};
|
|
23
|
-
padding: 1px 6px;
|
|
24
|
-
border: 1px solid ${t=>t.theme.colors.grey2};
|
|
25
|
-
border-radius: ${i.sp1};
|
|
26
|
-
color: ${t=>t.theme.colors.grey1};
|
|
27
|
-
min-width: max-content;
|
|
28
|
-
`,xt=n.div`
|
|
29
|
-
display: flex;
|
|
30
|
-
padding: ${i.sp3} ${i.sp4};
|
|
31
|
-
flex-direction: row;
|
|
32
|
-
width: 100%;
|
|
33
|
-
`,ht=n.div`
|
|
34
|
-
display: flex;
|
|
35
|
-
justify-content: space-between;
|
|
36
|
-
align-items: center;
|
|
37
|
-
width: 100%;
|
|
38
|
-
`,ut=n(v)`
|
|
39
|
-
display: -webkit-box;
|
|
40
|
-
-webkit-box-orient: vertical;
|
|
41
|
-
-webkit-line-clamp: 1;
|
|
42
|
-
margin-left: ${i.sp3};
|
|
43
|
-
max-height: ${i.sp11};
|
|
44
|
-
text-overflow: ellipsis;
|
|
45
|
-
word-break: break-word;
|
|
46
|
-
text-align: left;
|
|
47
|
-
overflow: hidden;
|
|
48
|
-
`,pt=n(v)`
|
|
49
|
-
display: -webkit-box;
|
|
50
|
-
-webkit-box-orient: vertical;
|
|
51
|
-
-webkit-line-clamp: 1;
|
|
52
|
-
margin-left: ${i.sp3};
|
|
53
|
-
text-align: right;
|
|
54
|
-
width: ${t=>N.amountWidth.valuePx(t.windowSize)};
|
|
55
|
-
`,gt=n.div`
|
|
56
|
-
display: flex;
|
|
57
|
-
`;function bt({transaction:t,onItemClick:o}){const{description:l,typeName:a,amount:r,logo:s,vendorId:f}=t,x=m.isVendorTransaction(t)&&f==null;return e.jsxs(xt,{onClick:()=>o?.(t),"data-testid":u("transaction-item-medium",t.id),children:[e.jsx(Q,{photoUrl:x===!1?s?.toString()??H:H,styles:{width:i.sp4,height:i.sp4,borderRadius:i.sp0},placeholder:{width:g[4],height:g[4]},fallbackAvatar:e.jsx(gt,{children:e.jsx(V,{name:l,size:i.sp4})})}),e.jsxs(ht,{children:[e.jsx(ut,{children:l}),a!=null?e.jsx(ft,{className:"tag",children:a}):null]}),e.jsx(pt,{children:W("0,0.00",r)})]})}function wt({data:t,boxType:o,onItemClick:l}){const a=m.toTransactionTypeStrict(t.type)==null,r=e.jsx(bt,{transaction:t,onItemClick:a?void 0:l});return e.jsx(U,{content:r,boxType:o,isDisabled:a})}const{common:{strings:{empty:Z}}}=y.getLocalizedStrings(),$t=n.div`
|
|
58
|
-
display: flex;
|
|
59
|
-
padding: ${i.sp3} ${i.sp4};
|
|
60
|
-
flex-direction: row;
|
|
61
|
-
width: 100%;
|
|
62
|
-
`,yt=n.div`
|
|
63
|
-
width: 100%;
|
|
64
|
-
`,vt=n(v)`
|
|
65
|
-
display: -webkit-box;
|
|
66
|
-
-webkit-box-orient: vertical;
|
|
67
|
-
-webkit-line-clamp: 1;
|
|
68
|
-
margin-left: ${i.sp3};
|
|
69
|
-
max-height: ${i.sp11};
|
|
70
|
-
text-overflow: ellipsis;
|
|
71
|
-
word-break: break-word;
|
|
72
|
-
text-align: left;
|
|
73
|
-
overflow: hidden;
|
|
74
|
-
`,jt=n(v)`
|
|
75
|
-
display: -webkit-box;
|
|
76
|
-
-webkit-box-orient: vertical;
|
|
77
|
-
-webkit-line-clamp: 1;
|
|
78
|
-
margin-left: ${i.sp3};
|
|
79
|
-
text-align: right;
|
|
80
|
-
width: ${t=>N.amountWidth.valuePx(t.windowSize)};
|
|
81
|
-
`,kt=n.div`
|
|
82
|
-
display: flex;
|
|
83
|
-
`;function Yt({transaction:t,onItemClick:o}){const{description:l,amount:a,logo:r,vendorId:s}=t,f=m.isVendorTransaction(t)&&s==null;return e.jsxs($t,{onClick:()=>o?.(t),"data-testid":u("transaction-item-small",t.id),children:[e.jsx(Q,{photoUrl:f===!1?r?.toString()??Z:Z,styles:{width:i.sp4,height:i.sp4,borderRadius:i.sp0},placeholder:{width:g[4],height:g[4]},fallbackAvatar:e.jsx(kt,{children:e.jsx(V,{name:l,size:i.sp4})})}),e.jsx(yt,{children:e.jsx(vt,{children:l})}),e.jsx(jt,{children:W("0,0.00",a)})]})}function Lt({data:t,boxType:o,onItemClick:l}){const a=m.toTransactionTypeStrict(t.type)==null,r=e.jsx(Yt,{transaction:t,onItemClick:a?void 0:l});return e.jsx(U,{content:r,boxType:o,isDisabled:a})}function Mt(t){return O()==="small"?e.jsx(Lt,{...t}):e.jsx(wt,{...t})}const Pt=n.div`
|
|
84
|
-
display: flex;
|
|
85
|
-
flex: 1 1 auto;
|
|
86
|
-
flex-direction: column;
|
|
87
|
-
box-shadow: ${t=>`${i.sp0} 2px ${i.sp1} ${t.theme.colors.dropShadowNormal}`};
|
|
88
|
-
border-radius: ${i.sp2};
|
|
89
|
-
background-color: ${t=>t.theme.colors.grey5};
|
|
90
|
-
`,St=n(st)`
|
|
91
|
-
display: flex;
|
|
92
|
-
height: 21px;
|
|
93
|
-
margin-bottom: ${i.sp2};
|
|
94
|
-
margin-top: ${i.sp3};
|
|
95
|
-
color: ${t=>t.theme.colors.grey1};
|
|
96
|
-
`,Dt=n.div`
|
|
97
|
-
display: flex;
|
|
98
|
-
flex-direction: column;
|
|
99
|
-
width: 100%;
|
|
100
|
-
`,Ft=(t,o)=>o.length===1?"roundedBox":t===0?"topRoundedBox":t===o.length-1?"bottomRoundedBox":"box",Tt=t=>t*N.transactionItemHeight+45;function It({date:t,transactions:o,onItemClick:l}){const{dateFormat:a}=y.getLocalizedStrings();return e.jsxs(Dt,{"data-testid":u("transactions-group"),children:[e.jsx(St,{children:m.dateNow().year()===t.year()?t.format(a.visual.MMMDFormat):t.format(a.visual.MMMDCommaYYYYformat)}),e.jsx(Pt,{children:o.map((r,s)=>e.jsx(Mt,{data:r,boxType:Ft(s,o),onItemClick:f=>{l?.(f)},"data-testid":u("transaction-item",r.id)},s))})]})}const zt=dt.memo(It),{dateFormat:Ct}=y.getLocalizedStrings();function Ot(t){const o=et(t,a=>a.date.format(Ct.visual.MMMDCommaYYYYformat)),l=it(o,a=>a.length>0);return at(l,a=>({date:a[0].date,transactions:ot(a,r=>r.updateTime,"desc")}))}const $=y.getLocalizedStrings(),Nt={listItemMargin:new q(g[3],g[8])},Rt=n.div`
|
|
101
|
-
display: flex;
|
|
102
|
-
flex: 1 1 auto;
|
|
103
|
-
width: 99.9%;
|
|
104
|
-
`,S=n.div`
|
|
105
|
-
margin: ${t=>`${i.sp0} ${Nt.listItemMargin.valuePx(t.windowSize)}`};
|
|
106
|
-
`,Bt=n.div`
|
|
107
|
-
min-height: ${i.sp8};
|
|
108
|
-
`,At=n.div`
|
|
109
|
-
display: flex;
|
|
110
|
-
height: 100%;
|
|
111
|
-
flex: 1 1 auto;
|
|
112
|
-
flex-direction: row;
|
|
113
|
-
justify-content: center;
|
|
114
|
-
align-items: flex-end;
|
|
115
|
-
`,Et=n(v)`
|
|
116
|
-
display: flex;
|
|
117
|
-
color: ${t=>t.theme.colors.grey2};
|
|
118
|
-
`,Ht=n(rt)`
|
|
119
|
-
scrollbar-width: thin;
|
|
120
|
-
scrollbar-color: transparent transparent;
|
|
121
|
-
&::-webkit-scrollbar {
|
|
122
|
-
width: ${i.sp2};
|
|
123
|
-
height: ${i.sp0};
|
|
124
|
-
background-color: transparent;
|
|
125
|
-
}
|
|
126
|
-
&::-webkit-scrollbar-track {
|
|
127
|
-
box-shadow: inset 0 0 2px ${A.scrollbarBoxShadow};
|
|
128
|
-
-webkit-box-shadow: inset 0 0 2px ${A.scrollbarBoxShadow};
|
|
129
|
-
background-color: transparent;
|
|
130
|
-
}
|
|
131
|
-
&::-webkit-scrollbar-thumb {
|
|
132
|
-
background-color: transparent;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
&:hover {
|
|
136
|
-
scrollbar-color: ${t=>t.theme.colors.grey1} transparent;
|
|
137
|
-
&::-webkit-scrollbar {
|
|
138
|
-
width: ${i.sp2};
|
|
139
|
-
height: ${i.sp0};
|
|
140
|
-
background-color: transparent;
|
|
141
|
-
}
|
|
142
|
-
&::-webkit-scrollbar-thumb {
|
|
143
|
-
background-color: ${t=>t.theme.colors.grey1};
|
|
144
|
-
border-radius: 2px;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
`,Ut=L.forwardRef(function({firstMonthOfFY:t,timeframe:o,timePeriod:l,transactions:a,currentScrollYOffset:r,showLoadNext:s,showLoadPrevious:f,onTransactionItemClick:x,onTransactionListScroll:c,onListInnerElementHeightChanged:p},M){const h=Ot(a),b=L.createRef();L.useEffect(()=>{b.current?.resetAfterIndex(0)},[a,b]);const j=M,k=L.useRef(null),[X,G]=L.useState(void 0),J=()=>{if(k!=null&&typeof k=="object"&&k.current){const d=k.current;d!=null&&d.clientHeight>0&&d.clientHeight!=X&&(G(d.clientHeight),p?.(d.clientHeight))}},F=h.length===0,R=f!=null,T=s!=null,I=h.length+(s!=null?1:0)+(f!=null?1:0)+(F===!0?1:0),B=d=>T===!0?d-1:d,P=O(),K=({index:d,style:w})=>T===!0&&d===0?e.jsx("div",{style:{...w},children:e.jsx(S,{windowSize:P,"data-testid":u("transaction-list","list-item-load-more"),children:e.jsx(C,{firstMonthOfFY:t,isLoadNextItem:!0,isLoading:s?.isLoading==!0,timePeriod:l,timeframe:o,fixedTimePeriod:s?.fixedTimePeriod,doLoadMoreTransactions:(Y,z)=>{s?.onLoadNextClick?.(Y,z)}})})}):R===!0&&d===I-1?e.jsx("div",{style:{...w},children:e.jsx(S,{windowSize:P,"data-testid":u("transaction-list","list-item-load-previous"),children:e.jsx(C,{firstMonthOfFY:t,isLoadNextItem:!1,isLoading:f?.isLoading==!0,timePeriod:l,fixedTimePeriod:f?.fixedTimePeriod,timeframe:o,doLoadMoreTransactions:(Y,z)=>{f?.onLoadPreviousClick?.(Y,z)}})})}):F===!1?e.jsx("div",{style:{...w},children:e.jsxs(S,{windowSize:P,children:[e.jsx(zt,{...h[B(d)],onItemClick:x}),f==null?e.jsx(Bt,{}):null]})}):e.jsx("div",{style:{...w},children:e.jsx(At,{children:e.jsx(S,{windowSize:P,"data-testid":u("transaction-list","transactions-list-empty"),children:e.jsx(Et,{children:Zt(l,s?.isLoading==!0||f?.isLoading==!0)})})})}),_=d=>T===!0&&d===0?D(!0):R===!0&&d===I-1?D(!1):F===!1?Tt(h[B(d)].transactions.length):D(!1);return e.jsx(Rt,{children:e.jsx(tt,{children:({height:d,width:w})=>e.jsx(Ht,{"data-testid":u("transaction-list"),ref:b,height:d,width:w,innerRef:k,outerRef:j,onItemsRendered:J,itemCount:I,itemSize:_,onScroll:({scrollOffset:Y})=>{c?.(Y)},initialScrollOffset:r??0,children:K})})})}),Zt=(t,o)=>o===!0?$.transactionList.fetching:t.startDate.isSame(t.endDate,"month")?`${$.transactionList.noTransactionsFoundForPrefix} (${t.startDate.format($.dateFormat.visual.MMMYYFormat)})`:`${$.transactionList.noTransactionsFoundForPeriodPrefix} (${t.startDate.format($.dateFormat.visual.MMMYYFormat)} - ${t.endDate.format($.dateFormat.visual.MMMYYFormat)})`;export{Ut as l};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import{u as q,aT as z,aU as A,aV as M,j as o,Y as h,aW as K,d as U,aX as V,o as n,q as W}from"./index-D3N9MvRr.js";import{b as r,n as l}from"./vendor-CnQcJ2Lu.js";import{l as X}from"./TransactionList-2HeLZVn9-D_XSB9a8.js";import{t as _}from"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-BqLhtWoJ-DTGdC4UO.js";import"./commonDimensions-CKgBEMhT-JcVoNYFG.js";const G=l.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex: 1 1 auto;
|
|
4
|
-
height: 100vh;
|
|
5
|
-
width: 100%;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
background-color: ${t=>t.theme.colors.grey4};
|
|
8
|
-
box-shadow: ${t=>`${n.sp0} 2px ${n.sp1} ${t.theme.colors.dropShadowNormal}`};
|
|
9
|
-
`,H=l.div`
|
|
10
|
-
display: flex;
|
|
11
|
-
flex: 1 1 auto;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
justify-content: center;
|
|
14
|
-
align-items: center;
|
|
15
|
-
margin: ${n.sp0};
|
|
16
|
-
`,J=l.div`
|
|
17
|
-
display: flex;
|
|
18
|
-
flex: 1 1 auto;
|
|
19
|
-
height: 100%;
|
|
20
|
-
width: 100%;
|
|
21
|
-
flex-direction: row;
|
|
22
|
-
justify-content: center;
|
|
23
|
-
align-items: center;
|
|
24
|
-
`,Q=l(W)`
|
|
25
|
-
color: ${t=>t.theme.colors.hero};
|
|
26
|
-
text-align: center;
|
|
27
|
-
`,Z=l(_)`
|
|
28
|
-
height: ${n.sp4};
|
|
29
|
-
width: ${n.sp4};
|
|
30
|
-
color: ${t=>t.theme.colors.hero};
|
|
31
|
-
cursor: pointer;
|
|
32
|
-
&:hover {
|
|
33
|
-
color: ${t=>t.theme.colors.primary};
|
|
34
|
-
}
|
|
35
|
-
`;function ht({title:t,subTitle:T,firstMonthOfFY:y,timeframe:c,timePeriod:s,useFixedPeriod:u,dataAvailableForPeriod:p,report:e,currentScrollYOffset:C,showStatementPageIcon:L=!1,onTimePeriodChange:x,onTransactionItemClick:w,onTransactionListScroll:b,onBackClick:I,onStatementPageIconClick:N,referrerType:B}){const[g,S]=r.useState(!0),[d,P]=r.useState(!1),[f,$]=r.useState(!1),E=q();r.useEffect(()=>{e.transactions.length>0?S(!1):S(d===!1&&f===!1?e.fetchState==="In-Progress"||e.fetchState==="Not-Started":!1)},[e,g,d,f]);const F=z(),k=A(B),v=`${k===""?F:k}.transactions.list`;M({componentName:v});const O=s.startDate.isAfter(p.startDate,c)?{isLoading:d&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"),fixedTimePeriod:u,onLoadPreviousClick:(a,i)=>{$(!1),P(!0),x?.(a,s,i)}}:void 0,Y=s.endDate.isBefore(p.endDate,c)?{isLoading:f&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"),fixedTimePeriod:u,onLoadNextClick:(a,i)=>{P(!1),$(!0),x?.(a,s,i)}}:void 0;let j=null;L&&(j=o.jsx(Z,{onClick:N}));const m=r.useRef(null);function D(a,i,R){V({category:`${v}.transaction-list.react.profiler`,message:`${a} (${i}) took ${R}ms`,level:"info"})}return o.jsx(r.Profiler,{id:"TransactionListPage",onRender:D,children:o.jsxs(G,{"data-testid":h("transaction-list-page",t),children:[o.jsx(K,{source:"TransactionListPage","data-testid":h("transaction-list-page-nav-bar"),title:t,onBackClick:I,backgroundColor:E.colors.grey4,rightSideComponent:j,scrollableContent:m.current!=null?m:void 0}),o.jsxs(H,{"data-testid":h("transaction-list",t),children:[o.jsx(Q,{children:T}),g===!1?o.jsx(X,{ref:m,firstMonthOfFY:y,timeframe:c,timePeriod:s,transactions:e.transactions,currentScrollYOffset:C,onTransactionItemClick:w,onTransactionListScroll:b,showLoadPrevious:O,showLoadNext:Y}):o.jsx(J,{children:o.jsx(U,{size:"ExtraLarge",start:!0})})]})]})})}export{ht as default};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import{M as j,j as s,l as u,u as Z,Y,ai as z,b5 as B,b6 as F,au as P,v as w,at as R,aa as q,b7 as O,av as K,b9 as _,o as L,g as G,q as N}from"./index-D3N9MvRr.js";import{b as v,f as V,n as $}from"./vendor-CnQcJ2Lu.js";import{d as W,g as M,p as k,u as Q}from"./chartTypes-Dj-_K0Gi-EQP1Ce02.js";import{o as X}from"./toCOABalancesWithID-D1BwrImS-CU7gHn7p.js";import{V as H}from"./toChartData-DVTo0PPD-Xv5HtUSQ.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const I=$.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
`,J=$.div`
|
|
4
|
-
flex: display;
|
|
5
|
-
opacity: 0.85;
|
|
6
|
-
border-radius: ${L.sp1};
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
padding: ${L.sp3};
|
|
9
|
-
background-color: ${e=>e.theme.colors.black};
|
|
10
|
-
`,U=$(N)`
|
|
11
|
-
color: ${e=>e.color??G.neutralGrey2Light};
|
|
12
|
-
text-align: left;
|
|
13
|
-
display: flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
justify-content: space-between;
|
|
16
|
-
`,ee=({active:e,payload:t,trendType:a})=>{const r=[];return t?.forEach(i=>{const l=i.name;if(i&&e&&i.value!==0){const c=i.payload,g=i.color,d=l!=null&&c.record[l]!=null?c.record[l].amount:void 0;r.push({barName:a,value:d,color:g})}}),r},te=e=>{const t=ee(e);return t.length?s.jsx(I,{children:s.jsx(J,{children:t.map((a,r)=>s.jsx(U,{color:a.color,children:`${a.barName}: ${Q(a.value)}`},a.barName+r))})}):null},ae=V.memo(te),re=(e,t,a,r)=>{let i=[];if(r!=null){const l=oe(r,a);l!=null&&l.length>0&&(i=X("trend","actual",l))}if(i.length>0){const l=k("trend","actual"),c={};return c[l]=i,H(e,t,l,c)}else return},oe=(e,t)=>{if(e!=null)switch(t){case"month":return e.monthly;case"quarter":return e.quarterly;case"year":return e.yearly;case"free_range":throw new Error("free_range dates are not supported!")}},T=[k("trend","actual")];function xe({firstMonthOfFY:e,trendReport:t,timeframe:a,selectedTimePeriod:r,graphColor:i,width:l,height:c,onTimeframeSelectionChanged:g}){const d=v.useRef(!1),b=r!=null?se(e,r,a):void 0,y=j.getLocalizedStrings().reports.trend[t?.balancesKind];v.useEffect(()=>{d.current=!0},[]);const x=re(e,T,a,t),D=p=>{const h=[];return T.forEach(o=>{h.push(s.jsx(_,{name:o,isAnimationActive:d.current,dataKey:m=>{const n=m.record;return(n[o]!=null&&n[o].amount!=null?n[o].amount:void 0)?.amount??0},maxBarSize:36,fill:p.toString(),"data-testid":Y(o,"bar")},o))}),h};return x==null?null:s.jsx(le,{chartData:x,timeframe:a,selectedLabel:b,barElements:D(i),customToolTipContent:({active:p,payload:h})=>s.jsx(ae,{active:p,payload:h,trendType:y}),width:l,height:c,onTimeframeSelectionChanged:g})}const le=({chartData:e,timeframe:t,selectedLabel:a,barElements:r,customToolTipContent:i,width:l,height:c,onTimeframeSelectionChanged:g})=>{const d=Z(),[b,y]=v.useState([void 0,void 0]),x=e.timeseries,D=W(e),p=x.map(o=>o.label);v.useEffect(()=>{if(a!=null){const o=M(a.label,p,1);y(o)}else y([void 0,void 0])},[t,a]);const h=o=>{if(o?.activePayload==null||o.activePayload.length===0)return;const m=o.activePayload[0],n=m.payload.record[k("trend","actual")].amount;if(n!=null&&n.amount===0)return;const E=m.payload.timeLabel.label,S=m.payload.timeLabel.startDate,C=m.payload.timeLabel.endDate,A=M(E,p,1);y(A),g?.(t,{startDate:S,endDate:C})};return s.jsx("div",{style:{width:l,height:c},"data-testid":Y("simple-bar-chart"),children:s.jsx(z,{children:({height:o,width:m})=>s.jsxs(B,{"data-testid":Y("bar-chart"),width:m,height:o,data:e.recordByTimeseries,barCategoryGap:"30%",margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto",cursor:"pointer"},onClick:h,children:[s.jsx(F,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:d.colors.grey3}),s.jsx(P,{dataKey:n=>n.timeLabel.label,type:"category",axisLine:{stroke:d.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:d.colors.hero,...w.extraSmallRegular.cssObject}}),s.jsx(R,{type:"number",axisLine:!1,tickLine:!1,tick:{color:d.colors.hero,...w.extraSmallRegular.cssObject},tickFormatter:n=>q("0,0.[00]a",n,D)}),s.jsx(O,{cursor:!1,content:i,allowEscapeViewBox:{x:!1,y:!0}}),a!=null&&s.jsx(K,{x1:b[0],x2:b[1],opacity:.3,fillOpacity:.3,stopOpacity:.1}),r]})})})},{dateFormat:f}=j.getLocalizedStrings(),se=(e,t,a)=>{let r="";switch(a){case"week":t.startDate.month()!==t.endDate.month()?r=`${u.formatZeniDate(t.startDate,f.visual.MMMYYFormat,e)} - ${u.formatZeniDate(t.endDate,f.visual.MMMYYFormat,e)}`:r=`${u.formatZeniDate(t.startDate,f.visual.Dformat,e)} - ${u.formatZeniDate(t.endDate,f.visual.MMMDCommaYYYYformat,e)}`;break;case"month":r=`${u.formatZeniDate(t.startDate,f.visual.MMMYYFormat,e)}`;break;case"quarter":r=`${j.getLocalizedStrings().quarterPrefix}${u.formatZeniDate(t.startDate,f.visual.QYYformat,e)}`;break;case"year":r=`${u.formatZeniDate(t.startDate,f.visual.YYYYformat,e)}`;break;case"free_range":throw new Error("free_range dates are not supported!")}return{label:r,startDate:t.startDate,endDate:t.endDate}};export{xe as default};
|