@zeniai/web-cockpit-ui 1.15.2-qa → 1.15.3-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-DQqbcrtQ-BceInK0m.js → ACHDetailsPage-BTeL5y4g-DmxfsRQJ.js} +1 -1
- package/dist/assets/{AIPerformancePage-C-s0Z84w-3PXgpvHb.js → AIPerformancePage-DbUM6qs6-D5l8F8OE.js} +103 -103
- package/dist/assets/AccountInfoPage-C-UvpjYp-BfDokQ_n.js +18 -0
- package/dist/assets/{AccountInfoPageContent-DRhE__FT-KzUKcM2H.js → AccountInfoPageContent-BwD3P36S-cR_aO4lg.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-Ck5k4sN0-DSyEwad6.js → AccountLockedInfoModal-CLssvxib-S2XQajFi.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-CinniH8P-DDcmxM-h.js → AccountReconDetailsDrawerPage-BB1W1GCn-JBvb4AkG.js} +1 -1
- package/dist/assets/{AccountRow-DqfBv7EN-Dy-rchmJ.js → AccountRow-Dqp3eLws-CZ01ryFZ.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-ClhDPo8Z-DDs6B-nd.js → AccountsPromoCardStack-NTUKe73a-CsNkhdvj.js} +3 -3
- package/dist/assets/{AddAddressForCardDrawer-Bp7X9u3M-B5hO5FfW.js → AddAddressForCardDrawer-BRWhfaUV-Ba-99nxY.js} +1 -1
- package/dist/assets/{AddToWalletPage-BUltXgk9-BZGXT5N6.js → AddToWalletPage-eU9RlrX2-FgU8i9Mj.js} +1 -1
- package/dist/assets/{AgingReportsPage-C1CpbCow-Cg_hYp17.js → AgingReportsPage-Dbj75D7L-xth3ocr5.js} +3 -3
- package/dist/assets/{AllUserItems-CpiUni9v-NwadE0GF.js → AllUserItems-C8o0ftGM-CFaZIEbK.js} +3 -3
- package/dist/assets/{ApAgingDetailPage-ByNn2ALz-CIz7029-.js → ApAgingDetailPage-oU_NMgYv-CGquB6FE.js} +4 -4
- package/dist/assets/{AppBasePage-DmW3KQcg-DVbb4W3-.js → AppBasePage-Bb2EfHmS-CLmciAgt.js} +1 -1
- package/dist/assets/{AppDrawerContent-B1y_D31O-BDrQCVrR.js → AppDrawerContent-UxABc1Xq-D4RK1ZMx.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-GxAZWP7M-CutyUVLp.js → ApprovalRulesSettingsPage-ITDu42uI-DNwfvvz-.js} +1 -1
- package/dist/assets/{ArAgingChart-BNoQoaPh-gzDY1cQt.js → ArAgingChart-BxAOsEvx-CZANIJr6.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-CMcAarbW-zwt2Nhzu.js → ArAgingDetailPage-DhHW1GHw-D9pgqngA.js} +5 -5
- package/dist/assets/{AttachmentView-BixDE2EA-Bs70yGve.js → AttachmentView-BnFvMAGW--ld7Hx8c.js} +1 -1
- package/dist/assets/{BankAccountSection-D85EMzvD-HrqyY0It.js → BankAccountSection-C0ZBcrDN-Bfiopxim.js} +1 -1
- package/dist/assets/{BankAccountWarningSection--CI3tctJ-CYG5cSNG.js → BankAccountWarningSection-BAMjtbnn-BO47Vh4w.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BAPo9xu--CxHqT21k.js → BankConnectionsSettingsPage-Ckpo_VYA-DevmalQL.js} +1 -1
- package/dist/assets/{BillDetailPage-DdJoziKf-CvFdSJ6W.js → BillDetailPage-D3lgSK4F-CqZ5opRC.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-CdoDPSYo-BaHBDQjq.js → BillPayApprovalRuleDetailPage--UxMsaII-9Mon0_XY.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-Cfo4L2hk-CU6thHOO.js → BillPayApprovalRulesPage-BgokSweY-Baf5ik-5.js} +1 -1
- package/dist/assets/{BillPayPromoPage-cK5O7lqH-C_cF1dKs.js → BillPayPromoPage-Cmfp8aZE-BV2y4Y7C.js} +10 -10
- package/dist/assets/{BillPaySetUpPage-BuF8vy9q-CBwr4MR4.js → BillPaySetUpPage-BmtV-Zr2-665ldgAn.js} +3 -3
- package/dist/assets/{BillingSettingsPage-B_l_z9VO-BYxqO3au.js → BillingSettingsPage-BRJELj5Y-DfZDJ2vZ.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-CoKwrfed-rLcvfNw4.js → BillsBulkReviewDrawerPage-D0HYL5UR-CgxN2BYX.js} +1 -1
- package/dist/assets/{BoxItem-CWj-NRo_-DWNFZax7.js → BoxItem-BO8CYlnI-cifRan7C.js} +3 -3
- package/dist/assets/{BusinessVerificationPage-Jl0yhiLd-CEZvo1tc.js → BusinessVerificationPage-DNOBs_OD-DQqvz7MY.js} +1 -1
- package/dist/assets/{CardNumberSubText-CYyCmwah-AWPRnfjW.js → CardNumberSubText-BgxVtjBP-C0H_h-nK.js} +1 -1
- package/dist/assets/{CashbackDetailPage-VVXYftFo-CjpUhsDp.js → CashbackDetailPage-uVqHfc3a-BNj1YqmX.js} +8 -8
- package/dist/assets/{ChargeCardDetailPage-C-KKQCQP-cOJPZp6D.js → ChargeCardDetailPage-urxX5Ksv-CZSy2_VU.js} +1 -1
- package/dist/assets/{ChargeCardListPage--SIQ7a3u-CLwGCZ9R.js → ChargeCardListPage-uyLpvqZN-4MDug-O6.js} +1 -1
- package/dist/assets/{ChargeCardListTable-ddk5IppO-C1I7XqSv.js → ChargeCardListTable-CWBqYx4D-DrYCM4wp.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-mA_IVVFy-CnJTJ2bL.js → ChargeCardPaymentHistoryPage-CrJRk1Yl-BocNQqlU.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-BCb2xl-m-URSvyXBK.js → ChargeCardPromoPage-8p2rEuSL-n08-aUHH.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-DAVM2czH-BJ4_Ml64.js → ChargeCardSetupPage-Dk3kFOe8-wkX2oTY9.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-Cgl7DfV2-DAWVYpyn.js → ChargeCardStatementsPage-BgVV9glv-DMljO5w-.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-DIDXNWS--B7Dt5KOJ.js → CheckDepositDrawerPage-D-yLGTdP-EWK8cQRH.js} +1 -1
- package/dist/assets/{CollapsableReportTable-BnxJMwQF-DuWr3Db3.js → CollapsableReportTable-9GyG9N_I-1n67583b.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-CtFvma7e-B1IgOxq6.js → CompanyOfficerDetailsSection-CTO9aR2f-zjfI2eeq.js} +1 -1
- package/dist/assets/{CompanyPassportCard-If9-KFRF-DutvC1bz.js → CompanyPassportCard-DRMGgEym-D6sxAXgE.js} +3 -3
- package/dist/assets/{CompanyPassportPage-ByLL4IdN-BQY5NUJ_.js → CompanyPassportPage-CgEtnvFs-DChKfhd7.js} +1 -1
- package/dist/assets/{CompleteProfile-D39MG_aE-DHyfpB3v.js → CompleteProfile-B8B0WHlc-DH-VSsuX.js} +1 -1
- package/dist/assets/{ConfettiBurst-CqS9iRS--Dg4P_jDv.js → ConfettiBurst-Cf9tVPaI-BM2huSXV.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C0lTJ9RB-Co0oKcS6.js → CreateOrEditVendorPage-BRoA1J_e-CzBBu5Bw.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-BMlE0JgE-B2DMztpW.js → CreditCardPaymentDrawerPage-DfLgUaL5-DfR_IJlY.js} +1 -1
- package/dist/assets/{CurrencySelectField-Cqh1PAAW-BcH4fr8j.js → CurrencySelectField-P0hAgQCu-CY3e6U6t.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-CExJcqXe-CDeJe6J6.js → CustomerOnboardingActivationPage-B8Q88AWZ-CPF7lzvF.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-YGCksJfr-DfNXfn85.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-zHDAnR9J-t8JNIGKJ.js → CustomerOnboardingDetailPageSkeleton-CHfRyWDx-D-MRkSd0.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CgblGoOL-BngCKi-7.js → CustomerOnboardingNoStepsPage-AHaRcpU7-BdpSp0P9.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-DSGfwtw5-DxfHFQnL.js → CustomerOnboardingPage-M-yohbX--BjV2j59I.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-C2YlsXt9-6v4g3AhK.js → CustomerOnboardingProductSuitePage-DqQ7Lcwq-Bc6ND6Bx.js} +1 -1
- package/dist/assets/{Dashboard-C52yIGy8-BoN0k4X3.js → Dashboard-BG4b-9G4-sAqrpBJG.js} +1 -1
- package/dist/assets/{DashboardReportPage-iZVhpQQc-CcPBUN-H.js → DashboardReportPage-BzRypSME-jjHWrXwM.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-mksYvmzi-DmPII4gR.js → DashboardSidebarBackgroundAnimation-iToqk56B-BtLraFPT.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-Ct9UKq01-KfqUVHGW.js → DepositAccTransactionItem-LqdXkh9A-hSRnCvZB.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-Q-rYYEAZ-B7qpq664.js → DepositAccTransactionListPage-CdvLbfLi-Cn9opxkq.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-D8MlbitH-CpgkLhUH.js → DomesticWireDetailsPage-B42h6sda-DX1LXutY.js} +1 -1
- package/dist/assets/{DownloadOverlay-DooSRB2s-BDZizc5u.js → DownloadOverlay-BaDe2oAY-D9mRkHN7.js} +1 -1
- package/dist/assets/{DrawerPage-COB3hDS_-DWpCMisF.js → DrawerPage-CstJJdfo-VidMxfx9.js} +1 -1
- package/dist/assets/{EditPeoplePage-BLRAgjPa-CSn-X59E.js → EditPeoplePage-DnOwrdDz-BaklMVpc.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-D1d8qzXB-BJ3qOrfM.js → EditReimbursementDetailPage-CibEtPqY-CoDSnx1m.js} +1 -1
- package/dist/assets/{EntityDetailPage-BDqbedFw-CrqQKhvQ.js → EntityDetailPage-DkdoV8Td-C0bI9nzr.js} +2 -2
- package/dist/assets/{EntitySummarySection-DOkXIw-J-YrYQvUzF.js → EntitySummarySection-mA5rFNgr-DuPTnXno.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-BSXCkfKT-BHy1rnp1.js → ExpenseAutomationOverviewPage-Cdb_ye_U-j_owJ_aN.js} +9 -9
- package/dist/assets/{ExpenseAutomationPage-Di3n8DMk-knhM7N0J.js → ExpenseAutomationPage-C8BdII8_-DimJYcUA.js} +1 -1
- package/dist/assets/{ExpressPayPage-B-SwvM4I-KnNmfiFe.js → ExpressPayPage-D-q6m2Sl-DvfkMqPz.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-Dz42ojYl-BUBblQiA.js → FeaturePreviewPage-Brmih5xQ-TclSPSN_.js} +1 -1
- package/dist/assets/{FollowStepsSection-BS4M36H4-DweBAQN-.js → FollowStepsSection-C0R9691z-CJI6UuPB.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-C1Tn5Cwx-8jGYa8fw.js → GlobalReviewListPage-wZ4Kv7Km-DjGHeOHK.js} +1 -1
- package/dist/assets/{InformationCardStack-DTWUPxhs-B_TIXy6r.js → InformationCardStack-C_Vo9lw4-BJdE4aZQ.js} +2 -2
- package/dist/assets/{InsightsCardStack-CklTB6N7-DOiVRzSP.js → InsightsCardStack-B18tApRg-CDcqQ9iZ.js} +2 -2
- package/dist/assets/{InsightsSection-g58q0fm4-DkCevAxb.js → InsightsSection-BT1h9fEy-BRfU7zNX.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-Bs3ZvOVJ-DtVZEZX0.js → IntegrationsSettingsPage-BXihQUgf-Ca4kyKn3.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-CC0aZ_Ht-CNmkWnPm.js → InternationalWireSwiftDetailsPage-s2KDdELd-DCL_N0b1.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-Bb8q9_XZ-BOjXzHYU.js → InternationalWireVerificationPage-seQdCIHj-B9N63yTL.js} +3 -3
- package/dist/assets/{InviteFormPage-Bh9zpIMu-BqkN5H0w.js → InviteFormPage-DORYlkDF-C-UyiOzw.js} +1 -1
- package/dist/assets/{InvitePageListView-Da5n8FWG-CJ4sxDqQ.js → InvitePageListView-__0_bfoj-C56A_BTa.js} +1 -1
- package/dist/assets/{InvitePeoplePage-B1jmVXj9-0w2ut6PV.js → InvitePeoplePage-BPU0cUoJ-C_9RmlUy.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-DN31nPpE-B08ouk04.js → InvoiceUploadSection-Cf_VG6ou-BXiqeaLr.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-Ev17uGYx-RDlP5XK0.js → IssueChargeCardPage-Ak_ZYHLC-Brr4uJLW.js} +1 -1
- package/dist/assets/{LabeledAddressValue-CZvcCn7x-C2YPhtG-.js → LabeledAddressValue-Dv_iNmJ1-CSsnKiIv.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-CJel6ymq-DlRjiJDP.js → LabeledAddressValueField-BOu3phtO-DUC2jENU.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-COHS18nA-M0z1SR3X.js → LabeledControlledCheckBoxField-CPIKQ-CK-jxS0CHZ_.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-CcJheGwX-bTK1z2AQ.js → LabeledCountryMultiSelectField-BfXHGTpW-vM7yZBRT.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-C9p8xRkh-BRLu155H.js → LabeledCreatableSingleSelectField-xk2HC5O8-CvpcCD48.js} +1 -1
- package/dist/assets/{LabeledDocumentField-DC4TbHE8-xwpXHrHZ.js → LabeledDocumentField-D8RhxYIe-DAnLkE2V.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BcSAJy2I-AsHrrwxJ.js → LabeledDropDownFormattedTextField-ClNFgUx5-Bx0rybn1.js} +1 -1
- package/dist/assets/{LabeledMultiSelectField-D-N343dq-D2DEvEkZ.js → LabeledMultiSelectField-BpLilatj-DTbTUWW6.js} +1 -1
- package/dist/assets/{LabeledText-DHLOUxK_-DY_o66vu.js → LabeledText-Xnlcoee7-DQVISFOu.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BOM4OGJn-CiMxsaSL.js → LabeledUserSingleSelectWithSubtitlesField-DSu4gVyZ-CJXT3-Sj.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-CqZGfBlk-B3HrSnOW.js → LabeledZeniRolesDropDownField-Dm6FC_X5-CKRgwBOq.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-BLleyJg_-DVPTngtQ.js → LinkJETransactionPage-D0tsT5TK-D-eEZv6m.js} +2 -2
- package/dist/assets/{LockCardPage-dHmjahEB-VEMnxu8q.js → LockCardPage-DYNFfr7G-CPZbfc9t.js} +1 -1
- package/dist/assets/{LowBalancePopup-D5xx56fY-D7_-0vO3.js → LowBalancePopup-BHUFtl2y-rf0GZ141.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-D1Yrf6I3-xn828nNY.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DF4qlmsy-DJfJXSHY.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BNeI6INt-yjK2JJED.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-De4m7E-W-UsaJzLSb.js → MagicLinkSuccessPage-B-8mtcQ5-C3o9YJHE.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-Bka3Yd1_-BwBsOEsK.js → MagicLinkTitleSection-DHU7VtF2-Bedubn59.js} +1 -1
- package/dist/assets/{MailingDetailsSection-BbWfR6ob-DYz93UuA.js → MailingDetailsSection-B-bODwAg-DzrWy-jk.js} +1 -1
- package/dist/assets/{Menu-CCfXjS2S-1RArYqQn.js → Menu-BumlrBWb-DpVhZSGr.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-NwFd4S7O-CyIFu_2U.js → MyBankConnectionsSettingsPage-BP8ahgjX-5saVRqtp.js} +5 -5
- package/dist/assets/{MyPendingActivationChargeCardListPage-B2fGNuM2-BQyHvho7.js → MyPendingActivationChargeCardListPage-DL6ZI6yW-BoGJ1TyM.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-C2xgzfZf-CYCKbQPa.js → MyProfileSettingsPage-D0t4K8ns-Bm-ItkSW.js} +2 -2
- package/dist/assets/{NavBarWithPicker-DUqVkR_y-Cc67420v.js → NavBarWithPicker-BtWbUncS-DB3n1R3v.js} +1 -1
- package/dist/assets/{NavigationArrow-Ctt_H8KP-D_sllx4X.js → NavigationArrow-CxgIRSy6-CugP8MA7.js} +1 -1
- package/dist/assets/{NavigationDots-Dgudddqx-DxbccKlU.js → NavigationDots-B3pcllxp-BTtZpldx.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-D1hNFzTS-RGh9Dcqm.js → NewGlobalMerchantPage-cvM5npvx-Cu4rYaF2.js} +1 -1
- package/dist/assets/{NoDataChart-DbLSGWgH-Bw8cZ2QP.js → NoDataChart-CkbRqqmB-BdaQaq20.js} +1 -1
- package/dist/assets/{NoDataTable-BYLV7sLq-CvfV7kU_.js → NoDataTable-D5uU7rww-DMI3TCce.js} +1 -1
- package/dist/assets/{NotFoundPage-CIeF09o9-CRmOMMtv.js → NotFoundPage-CQ43hKOe-Cdrz4d6W.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-CEhFnaxj-QWM7FHVc.js → NotificationSettingsPage-B1Lup2VT-Mysd9rJj.js} +3 -3
- package/dist/assets/{NotificationsListConfig-PHESCv2f-DqY6h_GC.js → NotificationsListConfig-DbMLqAOq-BbLTIknO.js} +1 -1
- package/dist/assets/{NotificationsPage-hIohQ7En-L39MceW6.js → NotificationsPage-AB3KsQi7-CsoOAVaW.js} +18 -18
- package/dist/assets/{OpExByVendorPage-C1RcJ4Q3-Bghb472L.js → OpExByVendorPage-SzuZwalp-E6WJ2wnK.js} +1 -1
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-Ce9XQici.js → OverlayContainerPage-Daz3A7cI-Dgh3TUuK.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-B-uQyVwQ-CTbNhl2d.js → PandLWithForecastPage-SYjTIobN-BFTSUg2z.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CGqYs83b-DI0L9dEH.js → PaymentAccountSetupBillingAddressSection-Bsx0mGaZ-E4w6U3C0.js} +7 -7
- package/dist/assets/{PeoplePage-Db0MhBko-Dd3wesnw.js → PeoplePage-B5JrcDNI-oFYxDkBG.js} +1 -1
- package/dist/assets/{Preview-CQZQI_1I.js → Preview-DA-xbr8A.js} +1 -1
- package/dist/assets/{ProductsCarousel-CYwIm8nQ-erJGn1S8.js → ProductsCarousel-CVoL_xl4-DEZsKrdB.js} +1 -1
- package/dist/assets/{PromoBaseCards-B2ZC8OUT-BMetCd_O.js → PromoBaseCards-C8qSUCzq-dm6HKZ5W.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-B0E1xE9I-NKr6dtgs.js → QBOConnectionDialog-QFZbkFOA-CuMPgrHC.js} +1 -1
- package/dist/assets/{QBOSetupSection-IGV1sm9x-CB8rJ0Z4.js → QBOSetupSection-B2qiAlYU-CibzVKaP.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CwJkaZqa-Du5sbBTU.js → ReimbursementApprovalRuleDetailPage-iqzN8yeY-ChbC4qky.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-C0D2DYVf-wbs0wTEc.js → ReimbursementApprovalRulesPage-BWFxJ80S-PIGBQETH.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-DV7eDd9t-COok9-b0.js → ReimbursementDetailPage-Cb9BOq4R-Dl--S5zY.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-DNM2mNbV-_u46y6aB.js → ReimbursementPromoPage-D-NSe4nk-Ceb4vSNq.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-CVuQyfku-DBGYB_tY.js → ReimbursementSetUpPage-zUHUxId8-C_2E6m1y.js} +5 -5
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DAvUmNKc-_Z3zOXFg.js → ReimbursementsBulkReviewDrawerPage-CMupP_NB-lhVpZhwT.js} +1 -1
- package/dist/assets/{ReloadCard-BsOjPgsc-CAD15QTk.js → ReloadCard-Dh0SYKvO-BfN50eLc.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-BJNFsOJq-zdpZcqAu.js → ReportTableViewSelector-0H1aO3_G-By7dUXRW.js} +1 -1
- package/dist/assets/{ReportsPage-GYEaSw4z-q5Lw0nqX.js → ReportsPage-DsFJrJ9D-DvSCX2Ph.js} +5 -5
- package/dist/assets/{RevenueChart-DXgZ34NU-C5hSCgUX.js → RevenueChart-BlQnByKx-DXS5eLR_.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-VBCKACNQ-BQx4ucDU.js → ReviewDetailsPage-CV-J7_FZ-DEsUSLNK.js} +2 -2
- package/dist/assets/{ReviewOverlay-D1dHNrqu-UIWqxa8-.js → ReviewOverlay-CwyShttD-COz1RonR.js} +1 -1
- package/dist/assets/{RoleWithToolTip-BE5aZQ2g-C_SHBvMI.js → RoleWithToolTip-CeOpT_6v-DAXLsTDF.js} +5 -5
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-p2jwjhfb-CW6tR3_X.js → ScheduleDetailsFixedAssetsPage-G0FPNF5V-CzalI8zM.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-CuGgAAlk-BMliGwf3.js → ScheduleDetailsPage-D3WXeMzk-putFQ_Xj.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-DS5xyWPM-Ls-W6Ufy.js → ScheduleSequenceTable-DdrN0kHc-HFF16mEy.js} +1 -1
- package/dist/assets/{ScreenRoutes-f-Hn3Wxc.js → ScreenRoutes-B3_PwFlc.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CgV-DpbH-BbCmRjRD.js → SetUpAccountSection-DjGIyGqz-2NoSMGYE.js} +1 -1
- package/dist/assets/SignIn-KN2wUeWN-DjuNGmXD.js +448 -0
- package/dist/assets/{SignInScreen-2cLKaxK-.js → SignInScreen-DPHbD9R0.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-7hmUDsTR-Cye_UrIe.js → SpendManagementListViewPage-DA0yJkNS-i-QGqalr.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-r4Ivr4ml-0-sos-q8.js → SpendManagementPerTabPage-CIiwcTHn-k-WByauQ.js} +1 -1
- package/dist/assets/{SpendManagementSection-4bPNXnAu-k196nQxr.js → SpendManagementSection-BLZOU6Ll--jqjSwJn.js} +7 -7
- package/dist/assets/{StatementItem-D7MXVGEy-DK46zkKz.js → StatementItem-DfbvINGt-gujVkFyU.js} +5 -5
- package/dist/assets/{StatementsPage-mK9b-oez-fjepCGbt.js → StatementsPage-DCjD7tSA-C1eD0_4q.js} +1 -1
- package/dist/assets/{StatusSwitcher-VeYkrDM7-B5jC4gB-.js → StatusSwitcher-CiOSpmnA-COfWLIsO.js} +1 -1
- package/dist/assets/{SubTabSwitcher-j2oEcPev-CiZv0NyB.js → SubTabSwitcher-CfxBS2oi-DCjTTD4N.js} +4 -4
- package/dist/assets/SummaryCard-YakCHMD--BAgjII8U.js +1 -0
- package/dist/assets/{TaskManagementPage-Cmx-Dg-h-B_0DxukR.js → TaskManagementPage-q5-Uh7TS-DB2W1_cZ.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-DIM1SPbu-DIbCUyUu.js → TimeRangeSwitcher-B7_2Hok--aUvRF5BX.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-DKqN8iPa-DJZMkq6C.js → TimeframeSwitcher-nC3rnif3-C0iP6Cu3.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-DkOcWDwA-C8Z8JOD-.js +31 -0
- package/dist/assets/{TopExCard-Bng5AuNw-zDP3btfU.js → TopExCard-aqOoqjT0-BhL7e5nv.js} +10 -10
- package/dist/assets/{TopExDetailPage-C1UAPRay-wN-7vP_0.js → TopExDetailPage-DIzdQ0cx-BfhcN7Ik.js} +6 -6
- package/dist/assets/{TransactionDetailPage-Ds7V1qr_-DxEMNAe7.js → TransactionDetailPage-B_hEEP8t-BqDk_xjH.js} +1 -1
- package/dist/assets/{TransactionList-Dq2orY9N-CN4n8ohS.js → TransactionList-UYBDB4bd-k1_T5uTi.js} +1 -1
- package/dist/assets/{TransactionListBig-BrDxcbHJ-CJuNP3Fx.js → TransactionListBig-OdFVjIup-CPvP7HbH.js} +5 -5
- package/dist/assets/{TransactionListPage-D5v8TxYx-DLU7-CdH.js → TransactionListPage-BXYB5l79-SOItiSWS.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DnZGwCbw-TYZXiI0W.js → TransactionVendorDetailPage-kDn1yhpe-C9RYtS0M.js} +1 -1
- package/dist/assets/{TransferDrawerPage-DUdjOy9R-jvkTeK_B.js → TransferDrawerPage-CtSQvv-q-CE0jnW7Y.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-XYkCDBio-Bsvf3EEW.js → TreasuryOverviewPage-Dwp-RAwa-C3dvsu51.js} +9 -9
- package/dist/assets/{TreasuryPromoPage-CWtp3S9L-BELzC4c3.js → TreasuryPromoPage-CqiGJJb1-BglMmMxR.js} +1 -1
- package/dist/assets/TreasuryStatementsPage-BvjfEhwz-D396YqJA.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-CNogHL4A-CtF5hw9T.js → TreasuryTaxLetterPage-C3B6iff1-D2ZzHU1R.js} +2 -2
- package/dist/assets/{TrendChart-DBRT1lZ3-CYf8sTuG.js → TrendChart-DwPnEwyO-DPu-_Br2.js} +1 -1
- package/dist/assets/{TrendWithTransactions-CcjPNeY8-DaDwen-_.js → TrendWithTransactions-B3oV0JPi-BgM9tzOd.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-BuMm5-pm-ChAZZ7vB.js → UncategorizedAccountsMappingPage-bGvTx0Pv-0iP9QJ85.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-Dxb00NtN-BiQRiRP2.js → UnitIntegrationPage-CGqGix7l-ZI3ie0F3.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-H6nIiMo6-Du7bYhVy.js → UploadAdditionalDocumentOverlay-DYbC57rE-BoJPSMM7.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-Opk2NgSs-DTpKiPjY.js → Vendor2FAPopup-CF5GvGtl-Ged496hn.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-CKmq7yOU-BUMI9M8T.js +1 -0
- package/dist/assets/{VendorDetailPage-YUk-g7t--DwMLTFm5.js → VendorDetailPage-LmgMG0tb-CmIxBGR9.js} +86 -86
- package/dist/assets/VendorDomesticWireDetailsPage-CBYW97OY-YsMZuav5.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Ctx-C6OL-BekJJH9s.js → VendorFiling1099EditablePage-DZYtpPRR-C1LB-Vko.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-Biy4xcIs-BM9CsBzB.js → VendorFirstReviewPage-DDj-Rw2b-Ce9lcxSE.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-B-ZKvwGN-3aI_K6MI.js → VendorInternationalWireDetailsPage-VBJ-6ETL-DZn4-Y6u.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-dc3xswld-nEGzd21C.js +1 -0
- package/dist/assets/{VendorsAccountsSection-DztKh7dz-DrpStfK7.js → VendorsAccountsSection-CAygTvfU-jdUssBVa.js} +3 -3
- package/dist/assets/{VerifyDevice-fvWfQQnC-m5p-PnVc.js → VerifyDevice-CxLFy5GU-DSfbtygH.js} +7 -7
- package/dist/assets/{VideoPlayer-CfLdj-r8-CiBmPhyY.js → VideoPlayer-DKj4Ii21-D-xRLeKX.js} +2 -2
- package/dist/assets/{VideoPopup-B-N0Wv9f-DG9icEt1.js → VideoPopup-CFvt5o_3-4FAYuh93.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-UpSDjRDQ-CleOUSKi.js → WarningsDrawerPage-BiBeB75Y-9pKl7aHf.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-Bd_RNPxh-Dm8jMX8j.js → ZeniAccountDetailPage-CTrz5iPv-Cs9Kmo8Y.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-CE5BfFah-BPTMh48A.js → ZeniAccountListViewPage-DUfa9C7y-C3uPLkwI.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-C0ydgImW-C7tKVTZ1.js → ZeniAccountNavBarPieces-knHeWdLO-hJFDQ77K.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-EX9sTaQM-BlLRwhaV.js → ZeniAccountPromoPage-BnGvEYqf-CP4Dtvvd.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-DX2DvcQa-cpw8iO9a.js → ZeniAccountSetupPage-JnPZalVG-Q5c0Jn7k.js} +1 -1
- package/dist/assets/{ZeniCopyright-8vmkzP8u-CDu3ZgP2.js → ZeniCopyright-B4Tk2oOq-ZFjf_F4z.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BgIOeOee-C3yOH1u5.js → ZeniTransferAmountSlider-bXoRbaVx-CfzHPGE8.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-B3991omJ.js → add-to-wallet-DgdBD8_G-CDAinlR9.js} +1 -1
- package/dist/assets/{analytics-D6qC7tjp.js → analytics-ko5civJt.js} +1 -1
- package/dist/assets/{analyticsHelper-BvynP4td.js → analyticsHelper-BaDAJS_h.js} +1 -1
- package/dist/assets/{analyticsHelper-DePSHzJ2-Dx861MUN.js → analyticsHelper-Bow8lzQJ-BWC8GDGb.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-SNkVhc-2.js → arrow-south-east-round-PEovUgvH-8jzV931-.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-WH86DElh.js → auto-transfer-rule-mbafm5D3-CWH5b5CM.js} +1 -1
- package/dist/assets/{chartTypes-9YOqgm9X-BzK6vElQ.js → chartTypes-C6j6oBoS-9mwDDGJP.js} +1 -1
- package/dist/assets/{commonDimensions-DMXq3s0u-WKzxF-EK.js → commonDimensions-Dw7YNTQN-P35Kp_kM.js} +1 -1
- package/dist/assets/{commonTypes-BquPusaw-BrTF3raT.js → commonTypes-Bq0C5-39-CLeN3lEf.js} +1 -1
- package/dist/assets/{constants-1SHTEF4R.js → constants-DMtNz7l9.js} +1 -1
- package/dist/assets/{core-B9aIJwLb.js → core-BkA0GZqz.js} +1 -1
- package/dist/assets/{dash.all.min-DIKHgncX.js → dash.all.min-BK4XJrTW.js} +1 -1
- package/dist/assets/{detailCommon-OHV8uIJY-BwOnWYKs.js → detailCommon-DaTlK7zO-DaqNQHzz.js} +5 -5
- package/dist/assets/{downloadPdf-AQqdv24M-1VsrzDkM.js → downloadPdf-CF50NGDy-B6sZII-t.js} +1 -1
- package/dist/assets/{empty-DHWxg4o1.js → empty-CId982SJ.js} +1 -1
- package/dist/assets/{empty-NNRR-wIi.js → empty-D2MN7f91.js} +1 -1
- package/dist/assets/{epic-DB8S32Bl.js → epic-CaoEyh-G.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-DFpuqq3v.js → gift-box-Cmt9OgIZ-PYBKomZ_.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-jx6QAItQ.js → graphic-no-data-l-DU4J8fDt-UswSWtT8.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CRZGkuoU.js → graphic-no-data-net-burn-l-CzmycA0m-CaXeE4do.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BX-jxYMr.js → handshake-BPg58FML-07xDz1It.js} +1 -1
- package/dist/assets/{index-DDGNyocL.js → index-BBDWUZKM.js} +1 -1
- package/dist/assets/{index-DTSfqhsC.js → index-BMluH1lc.js} +1 -1
- package/dist/assets/{index-Bs0xnjOA.js → index-BN936vRr.js} +9 -9
- package/dist/assets/{index-CviixD1o.js → index-BqsvcEQ2.js} +1 -1
- package/dist/assets/{index-BUcDSyoy.js → index-DHmXVUBw.js} +1 -1
- package/dist/assets/{index-yP2KhS9a.js → index-D_oDAIsa.js} +1 -1
- package/dist/assets/{index-BSXDztvj.js → index-bGtXIeZp.js} +1 -1
- package/dist/assets/{lexical-DvRGq3TL.js → lexical-NKD2Ns4v.js} +1 -1
- package/dist/assets/{liveblocks-BSSpLsrd.js → liveblocks-CUzvdZes.js} +1 -1
- package/dist/assets/{lottie-4PkwM5xd.js → lottie-BXNphAUg.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-bnjefl-h-D4gU2j9b.js → mapLoadingInProgressToTreeNode-BogZGPG9-BAboISSk.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DlHnT2so-DdZsatyv.js → mapSectionWithAcOnlyToTreeNode-DioWEF-R-B1XLCEKS.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-pvGPhRLA-C7p9AjQP.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Z_evAkYB-Dfvxlfal.js → mapTimeframeBalancesToTreeNode-BNu8T9PW-DDSfuQEg.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CiB5iztB-CYCRkQV8.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CKpBoKTl-evx8tO9z.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DwGOxYFm-o3iB9CR0.js} +1 -1
- package/dist/assets/{mui-Dd0hZELu.js → mui-DQOtlcvt.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BrmuJvXc.js → page-detail-CWX5S47F-TWXd7PAw.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-Dj5vV73i.js → radio-default-CiSgisfh-ZZNrqHqY.js} +1 -1
- package/dist/assets/{react-P5wxRPjR.js → react-B0_FOKjj.js} +1 -1
- package/dist/assets/{react-mpWMl_k0.js → react-CbZrw9iN.js} +1 -1
- package/dist/assets/{react-D9T6h5Mn.js → react-D6ScaBnu.js} +1 -1
- package/dist/assets/{react-COlYPDFL.js → react-DjFHDY9f.js} +1 -1
- package/dist/assets/{react-DvcW8zlG.js → react-GFMAp5sF.js} +1 -1
- package/dist/assets/{react-lOW8ywtd.js → react-cPDaL2yO.js} +2 -2
- package/dist/assets/{react-xGbEg71_.js → react-etsPKK59.js} +1 -1
- package/dist/assets/{react-D7NnWxPf.js → react-w6MNCIg-.js} +1 -1
- package/dist/assets/{recharts-kzcNfSsN.js → recharts-DEFzfhhe.js} +1 -1
- package/dist/assets/{sentry-CY8CLgEo.js → sentry-BCzFscbx.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-CyW4l8Tq.js → shield-DOlUxcFf-BS_yEuW2.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BxzNBK9u-CqDKc9Mj.js +1 -0
- package/dist/assets/{toChartData-BtwV0Kpo-D7dX0bRl.js → toChartData-CnjrCi9i-CYxTVX3t.js} +1 -1
- package/dist/assets/{uploadAttachment-C69IP2HG-CEFspIdo.js → uploadAttachment-Ce0sdSDo-C1OEaf5S.js} +1 -1
- package/dist/assets/{uploadReceipts-CPw64UYa-C8OTl36L.js → uploadReceipts-CPw64UYa-BgLSr3Wu.js} +1 -1
- package/dist/assets/{url-CHMLLgW-.js → url-A8j0yL_0.js} +1 -1
- package/dist/assets/{url-CKN9i9ik.js → url-DyyJ-K5V.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-CnOVzu31.js → useLongPress-GCK2COYQ-DdGlrNjq.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-CVqmxogk.js → usp-line-BBd1wKwW-DeyJTd7u.js} +1 -1
- package/dist/assets/{utils-gIo9xQSa.js → utils-CGlY-GM2.js} +1 -1
- package/dist/assets/{zeni-epic-state-DmnvD14d.js → zeni-epic-state-DIO-8j7m.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountInfoPage-EW5OCEW3-a_FH-oR2.js +0 -18
- package/dist/assets/CustomerOnboardingContainerPage-E5XX6tJL-BVe3BDKV.js +0 -1
- package/dist/assets/MagicLinkACHDetailsPage-DHIsrr2U-DweCRxG4.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B1ehlPCP-ClGVlD_Y.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-C-Tv413E-D1BUR3cw.js +0 -1
- package/dist/assets/SignIn-BVICuIxS-Rh5XU6Dv.js +0 -491
- package/dist/assets/SummaryCard-Bn8n64F6-DC2XsS3R.js +0 -1
- package/dist/assets/TimeframeSwitcherWithToggle-DcrnzLoy-DjkQ1wBx.js +0 -31
- package/dist/assets/TreasuryStatementsPage-C1-iJ5X--CLhJX-fD.js +0 -58
- package/dist/assets/VendorACHDetailsPage-C-uyGtu7-C0AIIPbC.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-D0Vd0jjO-DkqZOlxx.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bg26p8FH-s7OSdG_q.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-UVFWXY4N-Ch-D4yUd.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BQXXyttX-Ey-5DJJ0.js +0 -1
- package/dist/assets/toCOABalancesWithID-DcgESHck-CCPYLC78.js +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import{q as B,d as D,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as he,b as oe,bF as re,F as j,y as ne,g$ as ge,c1 as me,h0 as fe,cX as le,bG as M,b9 as ye,
|
|
1
|
+
import{q as B,d as D,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as he,b as oe,bF as re,F as j,y as ne,g$ as ge,c1 as me,h0 as fe,cX as le,bG as M,b9 as ye,ah as ae,h1 as xe,bE as se,aw as be,h2 as Ce,h3 as we,al as V,b8 as ve,h4 as $e,ay as je,h5 as Se,p as ke,cW as Oe,bM as Le,fY as Ie,h6 as Ee,M as W,L as _e,fZ as Me,aR as Ae}from"./index-BN936vRr.js";import{a}from"./sentry-BCzFscbx.js";import{n as l,k as Fe}from"./mui-DQOtlcvt.js";import{FO as Te,FP as Re,FL as Be,FM as De,FN as ze,FK as Pe}from"./zeni-epic-state-DIO-8j7m.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="30aab865-0f41-4fae-92ee-c4b3559a2e8f",e._sentryDebugIdIdentifier="sentry-dbid-30aab865-0f41-4fae-92ee-c4b3559a2e8f")}catch{}})();const He=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
align-items: center;
|
|
5
|
-
`,Ne=l(
|
|
5
|
+
`,Ne=l(se)`
|
|
6
6
|
color: ${e=>e.theme.colors.primary};
|
|
7
7
|
width: ${r.sp3};
|
|
8
8
|
height: ${r.sp3};
|
|
9
|
-
`,U=({value:e,defaultMenuIsOpen:t=!1,options:n,placeHolder:
|
|
9
|
+
`,U=({value:e,defaultMenuIsOpen:t=!1,options:n,placeHolder:s,onChange:p,getOptionLabel:c})=>{const y=D(),f=a.useRef(null),g=Ue(y),w=n.find(m=>m.value===e);return a.useEffect(()=>{const m=setTimeout(()=>{f.current!=null&&t&&f.current.focus()},300);return()=>{clearTimeout(m)}},[t]),o.jsx(re,{ref:f,isMulti:!1,value:w,onChange:m=>{p(m)},placeholder:s,options:n,styles:g,openMenuOnFocus:!0,components:{Option:m=>We(m,c),SingleValue:m=>Ve(m,c)}})},Ve=(e,t)=>{const n=t?.(e.data.value)??e.data.label;return o.jsx(M.SingleValue,{...e,children:o.jsx(ye,{children:n})})},We=(e,t)=>{const{isSelected:n}=e,s=t?.(e.data.value)??e.data.label;return o.jsx(M.Option,{...e,children:o.jsxs(He,{children:[o.jsx(ae,{children:s}),n?o.jsx(Ne,{}):null]})})},Ue=e=>({placeholder:t=>({...t,color:e.colors.grey1,...oe.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}`})}),G="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",Ge=l.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
align-items: flex-start;
|
|
12
12
|
padding: ${r.sp2} ${r.sp3};
|
|
@@ -41,7 +41,7 @@ import{q as B,d as D,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as
|
|
|
41
41
|
color: ${e=>e.theme.colors.hero};
|
|
42
42
|
height: ${r.sp4};
|
|
43
43
|
width: ${r.sp4};
|
|
44
|
-
`,Qe=l(
|
|
44
|
+
`,Qe=l(se)`
|
|
45
45
|
color: ${e=>e.theme.colors.primary};
|
|
46
46
|
height: ${r.sp3};
|
|
47
47
|
min-width: ${r.sp3};
|
|
@@ -52,7 +52,7 @@ import{q as B,d as D,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as
|
|
|
52
52
|
`,et=l(Ae)`
|
|
53
53
|
overflow: hidden;
|
|
54
54
|
text-overflow: ellipsis;
|
|
55
|
-
`,tt=({options:e,value:t,placeHolder:n,filterCategoryType:
|
|
55
|
+
`,tt=({options:e,value:t,placeHolder:n,filterCategoryType:s,searchAutoCompleteData:p,searchAutoCompleteActions:c,onChange:y,renderOptionIcon:f})=>{const g=D(),w=Ee(g),[m,E]=a.useState(e);a.useEffect(()=>{s==="searchAutocomplete"&&p?.entityAutoCompleteView.fetchState==="Completed"&&E(u=>$e([...u,...p?.entityAutoCompleteView!=null?ot(p?.entityAutoCompleteView):[]],"value"))},[p?.entityAutoCompleteView.fetchState]);const S=s==="searchAutocomplete"?t.map(u=>({label:u,value:u})):t.map(u=>m.find($=>$.value===u)),v=a.useRef(je(u=>c?.onAutoCompleteInputChange?.(u),500,{trailing:!0})).current,k=p?.entityAutoCompleteView.fetchState,L={options:e,filterCategoryType:s,searchAutoCompleteStatus:k,renderOptionIcon:f},I=j.getLocalizedStrings().common.filters;return o.jsx(Ge,{children:s==="dateRange"?o.jsx(Se,{onDateRangeChange:u=>{y([{label:I.startDate,value:u.startDate??""},{label:I.endDate,value:u.endDate??""}])},selectedDates:t}):o.jsxs(Ye,{children:[S.length===0&&s==="user"&&o.jsx(Ke,{}),o.jsx(re,{...L,isMulti:!0,hideSelectedOptions:!1,value:S,onInputChange:u=>{s==="searchAutocomplete"&&v(u)},onChange:u=>{y(u)},placeholder:n,options:m,styles:w,menuPosition:"fixed",components:{Option:nt,MultiValueLabel:rt,MultiValueRemove:lt},filterOption:(u,$)=>st(u,$,s),noOptionsMessage:()=>at(s,k)})]})})},ot=e=>(e?.vendor.map(t=>({label:t.name,value:t.name}))??[]).sort((t,n)=>(t.label??"").localeCompare(n.label??"")),rt=e=>{const{selectProps:t}=e,{options:n,filterCategoryType:s,renderOptionIcon:p}=t,c=n.findIndex(y=>y.value===e.data.value);return o.jsx(M.MultiValueLabel,{...e,children:o.jsxs(Xe,{children:[ie(e.data,c,s,p),o.jsx(et,{children:e.children})]})})},nt=e=>{const{onMouseMove:t,onMouseOver:n,isSelected:s,...p}=e.innerProps,{options:c,filterCategoryType:y,renderOptionIcon:f}=e.selectProps,g=c.findIndex(m=>m.value===e.data.value),w={...e,innerProps:p};return o.jsx(M.Option,{...w,children:o.jsxs(qe,{children:[o.jsxs(Ze,{children:[ie(e.data,g,y,f),o.jsx(ae,{children:e.label})]}),e.isSelected&&o.jsx(Qe,{})]})})},lt=e=>o.jsx(M.MultiValueRemove,{...e,children:o.jsx(Je,{})}),at=(e,t)=>{const n=j.getLocalizedStrings().common.filters;if(e==="searchAutocomplete"){if(t==="In-Progress")return o.jsx(te,{size:"Small-Compact",start:!0});if(t==="Not-Started")return null;if(t==="Completed")return o.jsx(W,{children:n.noMatchesFound})}return o.jsx(W,{children:n.noOptions})},ie=(e,t,n,s)=>{if(n==="dropdown")return(s!=null?s(e):null)??(e.photo!=null?o.jsx(Y,{src:e.photo.href,alt:"",onError:({currentTarget:g})=>{g.onerror=null,g.src=G},loading:"lazy"}):null);if(n!=="user")return null;const p=(e.label??"").split(" "),c=p[0]??"",y=p[1]??"";return e.photo==null?o.jsx(Me,{firstName:c,lastName:y,size:`${r.sp3}`,index:t,fontSize:"9px"}):o.jsx(Y,{src:e.photo.href,alt:j.getLocalizedStrings().common.filters.userProfileAltText,onError:({currentTarget:f})=>{f.onerror=null,f.src=G},loading:"lazy"})},st=(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()),A={categoryCombinationOperator:"AND",categories:[]},ce={valuesCombinationOperator:"ANY",values:[],matchingOperator:"equal"},F=(e,t)=>{switch(e){case"bill_pay":return Pe;case"reimbursement":return ze(t)?Be:De;case"task_management":return Re;case"charge_card_payment_history":return Te}},T=(e,t)=>{if(e==="bill_pay"){const n=t;return j.getLocalizedStrings().spendManagement.filters.filterCategories.bills[n]}if(e==="reimbursement"){const n=t;return j.getLocalizedStrings().spendManagement.filters.filterCategories.reimbursements[n]}if(e==="task_management"){const n=t;return j.getLocalizedStrings().spendManagement.filters.filterCategories.taskManagement[n]}if(e==="charge_card_payment_history"){const n=t;return j.getLocalizedStrings().spendManagement.filters.filterCategories.chargeCardPaymentHistory[n]}return""},it=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?{categoryCombinationOperator:"AND",categories:[{...ce,field:t.value}]}:{...e,categories:e.categories.map((s,p)=>p!==n?s:{...s,field:t.value,values:[]})},ct=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((s,p)=>p!==n?s:{...s,matchingOperator:t.value})},dt=({currentFilters:e,selectedOptions:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((s,p)=>p!==n?s:{...s,values:t.map(c=>c.value)})},pt={width:new ne(215,315)},X=l.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
row-gap: ${r.sp4};
|
|
@@ -139,7 +139,7 @@ import{q as B,d as D,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as
|
|
|
139
139
|
align-items: flex-start;
|
|
140
140
|
column-gap: ${r.sp3};
|
|
141
141
|
animation: ${Ct} 0.4s;
|
|
142
|
-
`,de=
|
|
142
|
+
`,de=a.forwardRef(({filters:e,filterValues:t,selectedEntity:n,vendorSearchAutoCompleteData:s,vendorSearchAutoCompleteActions:p,onFiltersChange:c,renderDropdownOptionIcon:y},f)=>{const g=be(),w=B(),m=a.useCallback((d,h)=>{const C=it({currentFilters:e,selectedOption:d,categoryIndex:h});c(C)},[e,c]),E=a.useCallback((d,h)=>{const C=ct({currentFilters:e,selectedOption:d,categoryIndex:h});c(C)},[e,c]),S=a.useCallback(d=>{if(e!=null){const h={...e,categoryCombinationOperator:d};c(h)}},[e,c]),v=a.useCallback(d=>{if(d===0&&e.categories!=null&&e.categories.length===1){c(A);return}if(e.categories!=null&&e.categories.length!==0){if([...e.categories.slice(0,d),...e.categories.slice(d+1)].filter(h=>h.field!=null).length){const h={...e,categories:[...e.categories.slice(0,d),...e.categories.slice(d+1)]};c(h);return}c(A)}},[c,e]),k=()=>{e.categories!=null&&e.categories.length&&c({...e,categories:[...e.categories,{...ce}]})},L=()=>{c(A)},I=a.useCallback((d,h)=>{const C=dt({currentFilters:e,selectedOptions:d,categoryIndex:h});c(C)},[e,c]),u=j.getLocalizedStrings().spendManagement.filters,$=()=>e.categories!=null&&e.categories.length!==0?o.jsxs(mt,{children:[o.jsxs(Q,{onClick:k,children:[o.jsx(ut,{}),o.jsx(V,{children:u.addFilterBtnText})]}),o.jsxs(Q,{onClick:L,children:[o.jsx(ht,{}),o.jsx(V,{children:u.clearAllBtnText})]})]}):null,b=()=>e.categories==null||e.categories.length===0?o.jsx(X,{children:o.jsx(Z,{children:o.jsxs(ee,{children:[o.jsx(q,{children:o.jsx(J,{children:u.filterByLabel})}),o.jsx(K,{children:o.jsx(U,{defaultMenuIsOpen:!0,onChange:m,placeHolder:u.categoryPlaceholder,getOptionLabel:d=>T(n,d),options:F(n,g.loggedInUserRole)})})]})})}):o.jsx(a.Fragment,{children:e.categories.map((d,h)=>{const C=F(n,g.loggedInUserRole??[]).find(i=>i.value===d.field),x=C?.type,_=C!=null?T(n,C?.value):"";return o.jsxs(Z,{windowSize:w,children:[o.jsxs(ee,{children:[o.jsxs(q,{children:[h===0&&o.jsx(J,{children:u.filterByLabel}),h!==0?o.jsx(Ce,{categoryCombinationOperator:e.categoryCombinationOperator,onChange:S,buttonsDisabled:h>1}):null]}),o.jsx(K,{children:o.jsx(U,{value:d.field,placeHolder:u.categoryPlaceholder,onChange:i=>m(i,h),getOptionLabel:i=>T(n,i),options:F(n,g.loggedInUserRole??[])})})]}),d.field?o.jsxs(wt,{children:[o.jsx(gt,{children:o.jsx(we,{categoryIndex:h,value:d.matchingOperator,onChange:E})}),o.jsxs(xt,{children:[o.jsx(bt,{windowSize:w,children:o.jsx(tt,{options:t[d.field]!=null?t[d.field]:[],placeHolder:x==="searchAutocomplete"?u.searchPlaceholder:`${u.select} ${_}`,value:d.values,filterCategoryType:x??"dropdown",onChange:i=>I(i,h),valuesCombinationOperator:d.valuesCombinationOperator,searchAutoCompleteData:s,searchAutoCompleteActions:p,renderOptionIcon:y})}),o.jsx(ft,{onClick:()=>v(h),windowSize:w,children:o.jsx(yt,{})})]})]}):null]},d.field?d.field+h:h)})});return o.jsxs(X,{ref:f,children:[b(),$()]})});de.displayName="FiltersSelection";const vt=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{q as B,d as D,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as
|
|
|
157
157
|
`,jt=l.div`
|
|
158
158
|
padding-left: ${r.sp4};
|
|
159
159
|
padding-right: ${r.sp4};
|
|
160
|
-
`,St=({entity:e,filters:t,vendorSearchAutoCompleteData:n,vendorSearchAutoCompleteActions:
|
|
160
|
+
`,St=({entity:e,filters:t,vendorSearchAutoCompleteData:n,vendorSearchAutoCompleteActions:s,disableFilters:p=!1,transactionsLoaded:c=!0,createdByUserListLoaded:y=!0,analytics:f,groupByFiltersComponent:g,onFiltersChange:w,getCategoryWiseOptions:m,renderDropdownOptionIcon:E})=>{const S=a.useRef(null),[v,k]=a.useState(!1),L=a.useRef(!1),[I,u]=a.useState({bill_pay:{},reimbursement:{},task_management:{},charge_card_payment_history:{}}),[$,b]=a.useState("auto"),d=a.useRef(null),h=B(),C=a.useCallback(()=>{k(!1)},[]),x=j.getLocalizedStrings().common.strings.empty,_=a.useCallback(()=>{e!=="task_management"&&e!=="charge_card_payment_history"&&f?.trackSpendManagmentFilterClick(e),p===!1&&k(!0)},[p,f,e]);a.useEffect(()=>{m&&y&&c&&u(O=>Object.keys(O[e]??{}).length===0?{...O,[e]:m()}:O)},[e,c,y]);const i=a.useCallback(()=>{if(t?.categories==null||t.categories.length===0)return g!=null?88+g.height:88;const O=d.current,P=O!=null?O.clientHeight:0;return h==="small"?"auto":R[7]+(P>0?P:88)+(g!=null?g.height:0)},[t,h,g]);a.useEffect(()=>{if(v!==L.current){b("auto");return}b(i())},[i,v]),a.useEffect(()=>{L.current=v},[v]),a.useEffect(()=>{$==="auto"&&b(i())},[$,i]);const pe=()=>o.jsx(xe,{anchorEl:S.current,open:v,onClose:C,paperStyle:{overflow:"visible"},children:o.jsxs(vt,{height:$,windowSize:h,children:[g!=null?o.jsx($t,{children:g?.component}):null,o.jsx(jt,{children:o.jsx(de,{filters:t,onFiltersChange:w,filterValues:I[e],selectedEntity:e,ref:d,vendorSearchAutoCompleteActions:s,vendorSearchAutoCompleteData:n,renderDropdownOptionIcon:E})})]})},t?.categories==null||t.categories.length===0?"smallBox":"largeBox"),z=t?.categories==null||t?.categories.length===0?0:t.categories.filter(O=>O.field!=null&&O.values.length>0).length;return o.jsxs(a.Fragment,{children:[o.jsx(ge,{searchPlaceholder:x,isFilterBtnActive:v||z>0,ref:S,isFilterDisabled:p,onFilterButtonClick:_,filtersCount:z,includeSearch:!1,filterText:x}),p!=!0&&pe()]})},kt=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:Ot}=j.getLocalizedStrings(),Lt={filterIconContainerPaddingRight:new ne(18,10)};function Wt({spendManagementSectionProps:e}){const{entity:t,moreIconContainerStyle:n,searchTextBoxStyle:s,disableDownloadButton:p,filters:c,searchText:y,downloadParams:f,downloadState:g,showSettingsIcon:w=!0,showSettingsIconOnNavbar:m,showDownloadButtonOnNavbar:E,showStatementButtonOnNavbar:S,showPayEarlyButtonOnNavbar:v,showPaymentHistoryButtonOnNavbar:k,groupByFiltersComponent:L,updateDownloadStateHandler:I,onMenuOpen:u,filterIconContainerStyle:$}=e,b=B(),d=D(),[h,C]=a.useState(void 0);a.useEffect(()=>{g!=="Error"&&C(!1)},[g]);let x=Ot.moreMenuOptions;m||(x=x.filter(i=>i.value!=="settings")),S||(x=x.filter(i=>i.value!=="statements")),v||(x=x.filter(i=>i.value!=="payEarly")),k||(x=x.filter(i=>i.value!=="paymentHistory")),E||(x=x.filter(i=>i.value!=="download"));const _={};return e.entity==="charge_cards"?_.width="275px":e.entity==="reimbursement"&&(_.width="208px"),o.jsxs(At,{children:[o.jsxs(Mt,{isSearchOpen:e.isSearchOpen&&b==="small",windowsize:b,children:[b!=="small"&&!e.hideSearchBtn?o.jsx(H,{"data-testid":N("list-page-search-input-box"),style:{position:"absolute",left:"unset",...s},placeholder:e.searchPlaceHolder,searchText:e.searchText,disabled:e.disableSearch,onSearchTextChanged:i=>{e.onSearchTextChanged?.(i)},onSearchOpen:e.onSearchOpen,inputWrapperStyle:_,searchIconMarginRight:e.entity==="charge_cards"?r.sp4:"10px"}):null,(e.entity==="bill_pay"||e.entity==="reimbursement"||e.entity==="task_management"||e.entity==="charge_card_payment_history")&&e.onFiltersChange!=null?o.jsx(Rt,{size:b,style:$,children:o.jsx(St,{entity:e.entity,groupByFiltersComponent:L,onFiltersChange:e.onFiltersChange,filters:e.filters,disableFilters:e.disableFilters,getCategoryWiseOptions:e.getFilterOptions,vendorSearchAutoCompleteData:e.vendorSearchAutoCompleteData,vendorSearchAutoCompleteActions:e.vendorSearchAutoCompleteActions,createdByUserListLoaded:e.createdByUserListLoaded,analytics:e.analytics,renderDropdownOptionIcon:e.renderDropdownOptionIcon})}):null,e.showDownloadIcon===!0&&e.onDownloadClick!=null?o.jsx(_t,{onClick:e.onDownloadClick,disabled:p,children:g==="In-Progress"?o.jsx(te,{size:"Standard",start:!0}):o.jsx(Et,{"data-testid":N("spend-management-download-icon"),disabled:p})}):null,e.showEntityEmailInfoIconOnNavbar===!0?o.jsx(Tt,{onClick:e.onClickEmailInfoIcon,children:o.jsx(It,{})}):null,w?o.jsx(Ft,{onClick:()=>C(void 0),style:n,children:t==="bill_pay"||t==="reimbursement"||t==="charge_cards"?o.jsx(ue,{entity:t,isMoreOption:!0,closeMenuOnSelect:!1,isMenuOpen:b!=="small"?h:void 0,options:x,onMenuOpen:u,customStyleConfig:{control:()=>({backgroundColor:"inherit",cursor:"pointer",border:"none",":hover":{backgroundColor:"inherit"}}),menu:i=>({...i,left:"23px",top:"29px",transform:"translateX(-100%)",width:"auto",backgroundColor:d.colors.grey5,borderRadius:r.sp1,boxShadow:`${r.sp0} 2px ${r.sp2} ${d.colors.dropShadowHover}`,whiteSpace:"nowrap"}),container:()=>({marginLeft:R[0]}),valueContainer:()=>({display:"flex","#react-select-2-placeholder":{marginRight:R[0],marginLeft:-1}})},onOptionSelection:i=>{i==="settings"?e.onClickSetupIcon?.():i==="statements"?e.onClickStatementsIcon?.():i==="payEarly"?e.onClickPayEarlyIcon?.():i==="paymentHistory"&&e.onClickPaymentHistoryIcon?.()},downloadProps:(t==="bill_pay"||t==="reimbursement")&&f!=null?{entity:t,isDisabled:p,filter:{filters:c,searchText:y},downloadParams:f,downloadState:g,updateDownloadStateHandler:I}:void 0}):o.jsx(Dt,{onClick:e.onClickSetupIcon})}):null,e.showNewButtonOnNavbar===!0?o.jsx(o.Fragment,{children:b==="small"?o.jsx(Bt,{onClick:e.onNewButtonClick,children:o.jsx(zt,{})}):o.jsx(he,{variant:"primary",onClick:e.onNewButtonClick,label:e.newButtonLabel??"",size:"small",style:{height:"29px",paddingLeft:"12px",paddingRight:"12px",...oe.extraSmallRegular.cssObject,whiteSpace:"nowrap",display:"flex",alignItems:"center"}})}):null]}),b==="small"&&!e.hideSearchBtn?o.jsx(H,{style:{position:"absolute",left:"5px",right:b!=="small"?"120px":"unset",top:r.sp6,width:"98%"},placeholder:e.searchPlaceHolder,searchText:e.searchText,disabled:e.disableSearch,onSearchTextChanged:i=>{e.onSearchTextChanged?.(i)},onSearchOpen:e.onSearchOpen,keepSearchBoxOpen:!0,inputWrapperStyle:e.entity==="charge_cards"?{width:270}:{}}):null]})}const It=l(kt)`
|
|
161
161
|
height: ${r.sp4};
|
|
162
162
|
width: ${r.sp4};
|
|
163
163
|
`,Et=l(me)`
|
package/dist/assets/{StatementItem-D7MXVGEy-DK46zkKz.js → StatementItem-DfbvINGt-gujVkFyU.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{q as
|
|
1
|
+
import{q as $,hH as b,V as o,F as g,k as S,o as a,al as v,y as z,c1 as j,c as k}from"./index-BN936vRr.js";import{a as I}from"./sentry-BCzFscbx.js";import{n}from"./mui-DQOtlcvt.js";import{g as D}from"./BoxItem-BO8CYlnI-cifRan7C.js";import{w as P}from"./downloadPdf-CF50NGDy-B6sZII-t.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="6fd665dc-e9fb-457e-a84f-2975ff04d683",e._sentryDebugIdIdentifier="sentry-dbid-6fd665dc-e9fb-457e-a84f-2975ff04d683")}catch{}})();const l=g.getLocalizedStrings().months,d={downloadButtonSize:new z(k[4],20)},T=n.div`
|
|
2
2
|
display: flex;
|
|
3
|
-
padding: ${
|
|
3
|
+
padding: ${a.sp3} ${a.sp4};
|
|
4
4
|
flex-direction: row;
|
|
5
5
|
width: 100%;
|
|
6
6
|
`,L=n.div`
|
|
@@ -12,8 +12,8 @@ import{q as x,hH as $,V as o,F as g,k as S,o as r,al as v,y as z,c1 as j,c as k}
|
|
|
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: ${a.sp2};
|
|
16
|
+
max-height: ${a.sp11};
|
|
17
17
|
text-overflow: ellipsis;
|
|
18
18
|
word-break: break-word;
|
|
19
19
|
text-align: left;
|
|
@@ -28,4 +28,4 @@ import{q as x,hH as $,V as o,F as g,k as S,o as r,al as v,y as z,c1 as j,c as k}
|
|
|
28
28
|
&:hover {
|
|
29
29
|
color: ${e=>e.theme.colors.primary};
|
|
30
30
|
}
|
|
31
|
-
`;function U({accountLast4:e,currentTenantCompanyName:i,data:t,authParams:f,downloadEndPoint:s,documentType:
|
|
31
|
+
`;function U({accountLast4:e,currentTenantCompanyName:i,data:t,authParams:f,downloadEndPoint:s,documentType:r="statement",boxType:c}){const[m,p]=I.useState(!1),w=$(),u=r==="taxLetter"?`${t.title.year}`:`${l[t.title.month-1]} ${t.title.year}`,y=r==="taxLetter"?`${i}-treasury-tax-letter-${t.title.year}.pdf`:`${i}-${e}-monthly-statement-${l[t.title.month-1]}-${t.title.year}.pdf`,h={period:`${t.title.year}-${b(t.title.month)}`,format:"pdf"},x=o.jsx(T,{children:o.jsxs(L,{children:[o.jsx(q,{children:u}),o.jsx(B,{onClick:()=>P(r==="treasuryStatement"||r==="taxLetter"?`${s}/statements/${t.id}`:`${s}/statements?query=${encodeURIComponent(JSON.stringify(h))}`,y,f,p),children:m?o.jsx(S,{size:"Small",start:!0}):o.jsx(C,{windowSize:w})})]})});return o.jsx(D,{content:x,boxType:c,isDisabled:!1,isNotClickable:!0})}export{U as O};
|
package/dist/assets/{StatementsPage-mK9b-oez-fjepCGbt.js → StatementsPage-DCjD7tSA-C1eD0_4q.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as S,q as I,V as t,bA as z,b2 as C,o as r,F as P,p,cr as D,y as E,c as
|
|
1
|
+
import{d as S,q as I,V as t,bA as z,b2 as C,o as r,F as P,p,cr as D,y as E,c as b,al as T}from"./index-BN936vRr.js";import{a as u}from"./sentry-BCzFscbx.js";import{n as o}from"./mui-DQOtlcvt.js";import{$ as B}from"./BoxItem-BO8CYlnI-cifRan7C.js";import{o as L}from"./commonDimensions-Dw7YNTQN-P35Kp_kM.js";import{O as M}from"./StatementItem-DfbvINGt-gujVkFyU.js";import"./liveblocks-CUzvdZes.js";import"./core-BkA0GZqz.js";import"./recharts-DEFzfhhe.js";import"./zeni-epic-state-DIO-8j7m.js";import"./lottie-BXNphAUg.js";import"./analytics-ko5civJt.js";import"./lexical-NKD2Ns4v.js";import"./utils-CGlY-GM2.js";import"./downloadPdf-CF50NGDy-B6sZII-t.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0131f45f-5721-4961-b6b8-e0a415b01ce5",e._sentryDebugIdIdentifier="sentry-dbid-0131f45f-5721-4961-b6b8-e0a415b01ce5")}catch{}})();const f=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,w={listItemMargin:new E(b[3],b[8])},oe=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:m,statementListView:i,accountLast4:x,onBackClick:y})=>{const k=S(),d=I(),$=u.createRef(),c=u.useRef(null),h=i.statements.length===0,j=()=>h===!1?L.transactionItemHeight:24,v=({index:a,style:s})=>{const l=i.statements[a];return h===!1?t.jsx(g,{windowSize:d,style:{...s,width:`calc(100% - 2*${w.listItemMargin.valuePx(d)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:x,data:l,authParams:n,downloadEndPoint:m,boxType:B(a,i.statements.length)},l.id)}):t.jsx(O,{style:{...s},children:t.jsx(_,{children:t.jsx(g,{windowSize:d,children:t.jsx(R,{children:f.noStatements})})})})};return t.jsxs(N,{children:[t.jsx(z,{title:f.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(V,{children:t.jsx(C,{children:({height:a,width:s})=>t.jsx(A,{ref:$,height:a,width:s,outerRef:c,itemKey:l=>l,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},O=o.div``,g=o.div`
|
|
2
2
|
margin: ${e=>`${r.sp0} ${w.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
3
|
&:hover {
|
|
4
4
|
position: relative;
|
package/dist/assets/{StatusSwitcher-VeYkrDM7-B5jC4gB-.js → StatusSwitcher-CiOSpmnA-COfWLIsO.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as $,cb as T,V as p,F as v,y as h,o as s,c,
|
|
1
|
+
import{q as $,cb as T,V as p,F as v,y as h,o as s,c,ah as _}from"./index-BN936vRr.js";import{n as u,c as m}from"./mui-DQOtlcvt.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a8046ded-c943-4cd9-8159-6b09fbd89f28",e._sentryDebugIdIdentifier="sentry-dbid-a8046ded-c943-4cd9-8159-6b09fbd89f28")}catch{}})();function g(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,t){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:g(t)}return g(t)}function d(e,t,r){const n=e[t];return n!=null?A(n,r):null}const L=(e,t)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),a=String(e);if(t)switch(t){case"bill_pay":{const i=d(r,a,a);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=d(n,a,a);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=d(l,a,a);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(d(r,a,a)??d(n,a,a)??d(l,a,a)??g(a)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:y}},reimbursement:{reimbursementByTabs:{tabsById:x}},zeniAccounts:{zeniAccountList:{tabsById:D}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new h(c[4],c[8]),containerMarginRight:new h(c[4],c[8]),segmentContainerMarginLeft:new h(c[4],c[8])},M=u.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
width: 100%;
|
package/dist/assets/{SubTabSwitcher-j2oEcPev-CiZv0NyB.js → SubTabSwitcher-CfxBS2oi-DCjTTD4N.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import{V as i,k as u,o as s,
|
|
1
|
+
import{V as i,k as u,o as s,ah as f,aY as g}from"./index-BN936vRr.js";import{n as r,c}from"./mui-DQOtlcvt.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="87ef16f7-db11-4c92-9cd2-92d2ff45b8c0",e._sentryDebugIdIdentifier="sentry-dbid-87ef16f7-db11-4c92-9cd2-92d2ff45b8c0")}catch{}})();function C({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return i.jsxs(b,{style:o,hasRightComponent:h,children:[i.jsx(y,{children:e.map(t=>{const d=t.id===n,a=t.isDisabled!=null;return i.jsxs($,{onClick:()=>{d===!1&&!a&&p(t)},isSelected:d,isDisabled:a,children:[i.jsx(m,{children:t.label}),t.countDetails?.count!=null?i.jsx(D,{children:i.jsx(x,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:i.jsx(j,{children:t.countDetails.isFetching?i.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),l]})}const b=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
justify-content: ${e=>e.hasRightComponent?"space-between":"flex-start"};
|
|
5
5
|
align-items: center;
|
|
6
6
|
padding: ${s.sp3} ${s.sp0};
|
|
7
7
|
gap: ${s.sp3};
|
|
8
|
-
`,
|
|
8
|
+
`,y=r.div`
|
|
9
9
|
display: flex;
|
|
10
10
|
position: relative;
|
|
11
11
|
gap: ${s.sp3};
|
|
12
12
|
overflow: auto;
|
|
13
|
-
`,m=r.div``,$=r(
|
|
13
|
+
`,m=r.div``,$=r(f)`
|
|
14
14
|
height: ${s.sp5};
|
|
15
15
|
padding: ${s.sp0} 12px;
|
|
16
16
|
color: ${e=>e.isDisabled?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.grey1};
|
|
@@ -48,7 +48,7 @@ import{V as i,k as u,o as s,ai as g,aY as f}from"./index-Bs0xnjOA.js";import{n a
|
|
|
48
48
|
border-color: inherit;
|
|
49
49
|
border-radius: ${s.sp12};
|
|
50
50
|
padding: 2px;
|
|
51
|
-
`,j=r(
|
|
51
|
+
`,j=r(g)`
|
|
52
52
|
height: 100%;
|
|
53
53
|
width: 100%;
|
|
54
54
|
display: flex;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{V as n}from"./index-BN936vRr.js";import{E as r,A as t}from"./ReloadCard-Dh0SYKvO-BfN50eLc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="ff764414-3d10-4ab3-a6fa-504a58c430c7",e._sentryDebugIdIdentifier="sentry-dbid-ff764414-3d10-4ab3-a6fa-504a58c430c7")}catch{}})();const c=e=>{function d(){return e.card.fetchState==="In-Progress"||e.card.fetchState==="Not-Started"?n.jsx(r,{dimension:e.card.dimension,animated:!e.card.disableAnimations}):e.card.fetchState==="Error"?n.jsx(t,{dimension:e.card.dimension,cardType:e.card.cardType,cardIndex:e.card.cardIndex,onReloadData:e.actions.onReloadData}):n.jsx("div",{children:e.children})}return n.jsx("div",{children:d()})};export{c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aw as gt,d as qe,V as t,js as Y,bA as kt,aa as _,cn as xt,al as K,aq as wt,F as se,o as s,eL as Ze,cg as Ie,ck as ft,g2 as Ct,b8 as Tt,bM as Xe,aR as $t,q as ie,a9 as yt,y as Je,cC as jt,ac as bt,b2 as vt,cr as St,iO as Gt,iP as Lt,jt as De,aP as It,n as Me,bR as Ee,eH as Qe,ju as Et,cX as et,jv as ce,jw as ke,jx as xe,jy as tt,jz as Nt,jA as st,jB as ot,jC as nt,jD as at,jE as rt,jF as V,c as ge,jG as ae,
|
|
1
|
+
import{aw as gt,d as qe,V as t,js as Y,bA as kt,aa as _,cn as xt,al as K,aq as wt,F as se,o as s,eL as Ze,cg as Ie,ck as ft,g2 as Ct,b8 as Tt,bM as Xe,aR as $t,q as ie,a9 as yt,y as Je,cC as jt,ac as bt,b2 as vt,cr as St,iO as Gt,iP as Lt,jt as De,aP as It,n as Me,bR as Ee,eH as Qe,ju as Et,cX as et,jv as ce,jw as ke,jx as xe,jy as tt,jz as Nt,jA as st,jB as ot,jC as nt,jD as at,jE as rt,jF as V,c as ge,jG as ae,ah as re,jH as Mt,jI as Dt,L as zt,an as Bt,jJ as At,d6 as Rt,jK as Wt,cP as it,ej as Ot,b as Ft,jL as Pt,jM as Ht,g3 as _t,eK as Ut,jN as Vt,jO as X,jP as ze,ct as Kt,jQ as Yt,jR as qt,jS as Zt,jT as Be,p as Ae,gt as Xt,am as Jt}from"./index-BN936vRr.js";import{a as n}from"./sentry-BCzFscbx.js";import{n as o,c as we}from"./mui-DQOtlcvt.js";import{G6 as Qt,G7 as Re,cd as lt,ce as dt,cf as es}from"./zeni-epic-state-DIO-8j7m.js";import{X as ts,t as ss}from"./SpendManagementSection-BLZOU6Ll--jqjSwJn.js";import{A as os,t as ns,a as as,E as rs}from"./NotificationsListConfig-DbMLqAOq-BbLTIknO.js";import{a as is}from"./SpendManagementListViewPage-DA0yJkNS-i-QGqalr.js";import"./liveblocks-CUzvdZes.js";import"./core-BkA0GZqz.js";import"./recharts-DEFzfhhe.js";import"./lottie-BXNphAUg.js";import"./analytics-ko5civJt.js";import"./lexical-NKD2Ns4v.js";import"./utils-CGlY-GM2.js";import"./StatusSwitcher-CiOSpmnA-COfWLIsO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="0e95b62d-b862-4739-9f5e-c1d595932393",e._sentryDebugIdIdentifier="sentry-dbid-0e95b62d-b862-4739-9f5e-c1d595932393")}catch{}})();const ls=100,ds=100,cs=3,ps=.7,us=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ls,scrollSpeed:h=ds,minScrollAmount:m=cs,scrollCurveExponent:u=ps})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},v=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},N=x=>v(x),M=x=>{const S=Math.max(x,0)/c,y=Math.pow(S,u)*h;return Math.max(m,y)},k=(x,S,y)=>{const L=y==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,y=p;if(y<c&&y>0){const L=c-y,g=M(L);k(x,g,"up")}else if(y>S-c){const L=y-(S-c),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{N(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(p=x.clientY)},$=x=>{B(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",D),document.addEventListener("dragend",z),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",D),document.removeEventListener("dragend",z),document.removeEventListener("dragover",$),C()}},[r,d,m,e,u,h])},ve=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(hs,{isCircular:e<10,children:t.jsx(ms,{children:e>ve.common.numbers.maximumCount?`${ve.common.numbers.maximumCount}${ve.common.strings.plus}`:e})}),hs=o.div`
|
|
2
2
|
${e=>e.isCircular?we`
|
|
3
3
|
height: 18px;
|
|
4
4
|
width: 18px;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,b2 as Y,aB as S,df as _,bq as H,o as d,
|
|
1
|
+
import{V as t,b2 as Y,aB as S,df as _,bq as H,o as d,ah as q}from"./index-BN936vRr.js";import{a as n}from"./sentry-BCzFscbx.js";import{n as g}from"./mui-DQOtlcvt.js";import{Y as L}from"./core-BkA0GZqz.js";import{V as U}from"./CollapsableReportTable-9GyG9N_I-1n67583b.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="0d63b0b3-0751-4ec6-b764-5673e7f9cb5c",e._sentryDebugIdIdentifier="sentry-dbid-0d63b0b3-0751-4ec6-b764-5673e7f9cb5c")}catch{}})();const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
justify-content: flex-start;
|
|
@@ -61,4 +61,4 @@ import{V as t,b2 as Y,aB as S,df as _,bq as H,o as d,ai as q}from"./index-Bs0xnj
|
|
|
61
61
|
cursor: pointer;
|
|
62
62
|
pointer-events: all;
|
|
63
63
|
color: ${e=>e.theme.colors.grey5};
|
|
64
|
-
`;function j({iconPosition:e}){switch(e){case"left":return t.jsx(W,{className:"slider-icon",fill:"currentColor"});case"right":return t.jsx(X,{className:"slider-icon",fill:"currentColor"});default:throw Error("Invalid iconPosition")}}function te(e){return L.createPortal(e.children,e.parentNode)}function re({enabled:e,firstMonthOfFY:s,timeframe:
|
|
64
|
+
`;function j({iconPosition:e}){switch(e){case"left":return t.jsx(W,{className:"slider-icon",fill:"currentColor"});case"right":return t.jsx(X,{className:"slider-icon",fill:"currentColor"});default:throw Error("Invalid iconPosition")}}function te(e){return L.createPortal(e.children,e.parentNode)}function re({enabled:e,firstMonthOfFY:s,timeframe:l,tick:r,tickIndex:u,isSelected:c,onClick:f}){return t.jsx(A,{isEnabled:e,isSelected:c,onClick:()=>{f(r,u,l)},children:t.jsx(J,{children:U(s,r,l)})})}function ne(e,s,l,r,u){const c=s-e,f=Math.floor(e/h)+Math.round(c/h),w=f+l.length-r.length,x=f+l.length,b=u-x;return{selectedTicks:{fromStart:{startIndex:f,length:l.length},fromEnd:{offsetFromEnd:b,length:l.length}},highlightedOfSelectedTicks:{startIndex:w,length:r.length}}}function oe(e){return e.startIndex!=null}function I(e,s){let l={startIndex:0,length:0};if(oe(e))l=e;else{const r=e.length;l={startIndex:s.length-e.offsetFromEnd-r+1,length:e.length}}return l}function le({width:e,firstMonthOfFY:s,timeframe:l,timeframeTicks:r,isEnabled:u,selection:c,onClick:f,onSelectionChanged:w}){const x=n.createRef(),b=n.useRef(null),[z,M]=n.useState(!1),[i,T]=n.useState(I(c.selectedTicks,r)),$=n.useRef(i.startIndex);n.useEffect(()=>{$.current=i.startIndex});const[y,C]=n.useState(c.highlightedOfSelectedTicks),O=(i.startIndex+i.length>r.length?Math.max(r.length-i.length,0):i.startIndex)*h,[E,F]=n.useState({x:O,y:0});n.useEffect(()=>{M(!0)},[]),n.useEffect(()=>{const o=I(c.selectedTicks,r);if(!S(i,o)){T(o);const a=o.startIndex*h;F({x:a,y:0})}S(y,c.highlightedOfSelectedTicks)||C(c.highlightedOfSelectedTicks)},[i,y,c,r]),n.useLayoutEffect(()=>{const{startIndex:o,length:a}=i;x.current?.scrollToItem($.current<=o?o+a-1:o)},[x,i]);const N=u!==!1,P=(o,a,m)=>{f?.(m,o)},V=(o,a)=>{const m=ne(E.x,a.x,i,y,r.length);w?.(m.selectedTicks,m.highlightedOfSelectedTicks,l,r)},B=({index:o,style:a})=>{const m=r[o],{startIndex:v,length:D}=y,R=o>=v&&o<v+D;return t.jsx("div",{style:{...a},children:t.jsx(re,{enabled:N,firstMonthOfFY:s,timeframe:l,tick:m,tickIndex:o,isSelected:R,onClick:P},o)})},k=document.getElementsByClassName("date-range-list")[0];return t.jsxs(t.Fragment,{children:[t.jsx(G,{ref:x,height:p,width:e,itemCount:r.length,itemSize:h,layout:"horizontal",className:"date-range-list",style:{overflowY:"hidden"},children:B}),z===!0&&k!=null?t.jsx(te,{parentNode:k,children:t.jsx(_,{axis:"x",defaultPosition:{x:0,y:0},position:E,bounds:{left:0,right:(r.length-i.length)*h},grid:[1,0],scale:1,onStop:V,nodeRef:b,children:t.jsxs(K,{numberOfTicksSelected:i.length,ref:b,children:[t.jsx(Q,{children:t.jsx(j,{iconPosition:"left"})}),t.jsx(ee,{children:t.jsx(j,{iconPosition:"right"})})]})})}):null]})}function he(e){return t.jsx(Z,{children:t.jsx(Y,{children:({width:s})=>t.jsx(le,{...e,width:s})})})}export{p as a,he as p};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as s,o,
|
|
1
|
+
import{V as s,o,ah as f,F as p}from"./index-BN936vRr.js";import{n}from"./mui-DQOtlcvt.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="36f8e0e3-31dd-4d2a-8f6b-0a90f31d512d",e._sentryDebugIdIdentifier="sentry-dbid-36f8e0e3-31dd-4d2a-8f6b-0a90f31d512d")}catch{}})();const u=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: center;
|
|
@@ -9,7 +9,7 @@ import{V as s,o,ai as f,F as p}from"./index-Bs0xnjOA.js";import{n}from"./mui-Dd0
|
|
|
9
9
|
overflow-x: auto;
|
|
10
10
|
overflow-y: hidden;
|
|
11
11
|
white-space: nowrap;
|
|
12
|
-
`,
|
|
12
|
+
`,g=n.div`
|
|
13
13
|
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.hero};
|
|
14
14
|
&:hover {
|
|
15
15
|
color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.champion};
|
|
@@ -18,9 +18,9 @@ import{V as s,o,ai as f,F as p}from"./index-Bs0xnjOA.js";import{n}from"./mui-Dd0
|
|
|
18
18
|
border-radius: ${o.sp2};
|
|
19
19
|
background-color: ${e=>e.isSelected?e.theme.colors.grey5:e.theme.colors.background};
|
|
20
20
|
box-shadow: ${e=>e.isSelected?`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`:null};
|
|
21
|
-
`,
|
|
21
|
+
`,_=n(f)`
|
|
22
22
|
padding: ${o.sp2} ${o.sp3} ${o.sp2} ${o.sp3};
|
|
23
|
-
`,
|
|
23
|
+
`,b=n.div`
|
|
24
24
|
width: 1px;
|
|
25
25
|
height: ${o.sp3};
|
|
26
26
|
background-color: ${e=>e.isSelected?e.theme.colors.background:e.theme.colors.grey2};
|
|
@@ -28,4 +28,4 @@ import{V as s,o,ai as f,F as p}from"./index-Bs0xnjOA.js";import{n}from"./mui-Dd0
|
|
|
28
28
|
display: flex;
|
|
29
29
|
flex-direction: row;
|
|
30
30
|
align-items: center;
|
|
31
|
-
`;function y({timeframe:e,isSelected:t,onClick:a}){const
|
|
31
|
+
`;function y({timeframe:e,isSelected:t,onClick:a}){const c=r=>{switch(r){case"month":case"quarter":case"year":case"this_week_to_date":case"last_week":case"this_month_to_date":case"last_month":case"last_3_months":case"last_6_months":case"last_12_months":case"this_year_to_date":case"last_year":return p.getLocalizedStrings().timeframeSwitcherLabels[r];default:return console.warn("Unsupported timeframe"),""}};return s.jsx(g,{onClick:()=>{t===!1&&a(e)},isSelected:t,children:s.jsx(_,{children:c(e)})})}function S({timeframes:e,selectedTimeframe:t,onTimeframeSelectionChanged:a}){const c=d=>{a?.(d)},r=e.findIndex(d=>d===t);return s.jsx(u,{children:e.map((d,i)=>{const h=e.length>1&&i<e.length-1,l=i===r,m=i===r-1;return s.jsxs(w,{children:[s.jsx(y,{timeframe:d,isSelected:l,onClick:c},i),h?s.jsx(b,{isSelected:l||m}):null]},i)})})}export{S as b};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import{q as d,V as i,y as n,ah as u,bH as w}from"./index-BN936vRr.js";import{n as r}from"./mui-DQOtlcvt.js";import{b as l}from"./TimeframeSwitcher-nC3rnif3-C0iP6Cu3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="911d63d3-3c9e-4da7-825b-431eeedf35e6",e._sentryDebugIdIdentifier="sentry-dbid-911d63d3-3c9e-4da7-825b-431eeedf35e6")}catch{}})();const s="ZeniSwitch",t={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},b=({className:e,...o})=>i.jsx(w,{...o,className:e,classes:{...t}}),x=r(b)(({theme:e})=>({[`& .${t.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${t.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${t.root}.${t.switchBase}.Mui-checked + .${t.track}`]:{backgroundColor:e.colors.grey1},[`&.${t.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${t.switchBase}.Mui-checked .${t.thumb}`]:{backgroundColor:e.colors.primary},[`& .${t.switchBase}.Mui-checked .${t.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>')`},[`& .${t.switchBase}.Mui-checked + .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${t.switchBase}.Mui-disabled + .${t.track}`]:{opacity:.7},[`& .${t.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"}},[`& .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),p=e=>i.jsx(x,{...e}),c={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},y=r.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
width: 100%;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
`,$=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=>c.timeframePaddingLeft.valuePx(e.windowSize)};
|
|
15
|
+
padding-bottom: ${e=>c.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(u)`
|
|
29
|
+
color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
|
|
30
|
+
opacity: ${e=>e.isDisabled?.5:1};
|
|
31
|
+
`,f=({label:e,isOn:o,isToggleDisabled:a,onValueChanged:h})=>i.jsxs(i.Fragment,{children:[i.jsx(C,{isOn:o,isDisabled:a===!0,children:e}),i.jsx(p,{checked:o,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:g=>{h(g.target.checked)}})]}),T=e=>{const o=d();return i.jsxs(y,{children:[i.jsx(m,{windowSize:o,children:i.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),i.jsx(k,{children:i.jsx(f,{...e.toggle})})]})},v=e=>{const o=d();return i.jsxs($,{children:[i.jsx(m,{windowSize:o,children:i.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),i.jsx(j,{children:i.jsx(f,{...e.toggle})})]})};function L(e){const o=d();return o==="small"||o==="medium-compact"?i.jsx(T,{...e}):i.jsx(v,{...e})}export{L as M};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import{aB as V,q as M,V as t,d as x,c as
|
|
1
|
+
import{aB as V,q as M,V as t,d as x,c as p,b as T,aW as R,aL as q,aJ as H,o as f,ah as C,b8 as F,al as G,F as S,aK as Q,aQ as E,b1 as X,b2 as J,aN as N,aR as Y,bP as U}from"./index-BN936vRr.js";import{S as w,a as W}from"./sentry-BCzFscbx.js";import{F3 as Z}from"./zeni-epic-state-DIO-8j7m.js";import{n as g}from"./mui-DQOtlcvt.js";import{z as ee,A as te}from"./ReloadCard-Dh0SYKvO-BfN50eLc.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-UswSWtT8.js";import{H as k,X as L,Y as $,K as O,O as A,Q as ne,S as oe}from"./recharts-DEFzfhhe.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="49dc0116-946f-4150-aa35-fa824968f3ee",e._sentryDebugIdIdentifier="sentry-dbid-49dc0116-946f-4150-aa35-fa824968f3ee")}catch{}})();const ie=g(E)`
|
|
2
2
|
justify-content: space-between;
|
|
3
3
|
margin: 0;
|
|
4
4
|
height: ${e=>e.height!=null?e.height+"px":"auto"};
|
|
5
5
|
width: ${e=>e.width!=null?e.width+"px":"auto"};
|
|
6
6
|
`,se=g.div``,le=g(C)`
|
|
7
7
|
color: ${e=>e.theme.colors.hero};
|
|
8
|
-
margin: ${
|
|
9
|
-
`,ce=({width:e,height:n,label:r})=>{const l=x();return t.jsxs(ie,{height:n,width:e,children:[t.jsx(se,{}),l.mode==="light"?t.jsx(ae,{style:{marginBottom:
|
|
8
|
+
margin: ${f.sp2} ${f.sp0} ${f.sp2} ${f.sp0};
|
|
9
|
+
`,ce=({width:e,height:n,label:r})=>{const l=x();return t.jsxs(ie,{height:n,width:e,children:[t.jsx(se,{}),l.mode==="light"?t.jsx(ae,{style:{marginBottom:f.sp4}}):t.jsx(re,{style:{marginBottom:f.sp4}}),t.jsx(le,{children:r})]})},de=g.div``;function he({allowedValues:e,timeframeSelected:n,onTimeframeChanged:r,textStyle:l}){const i=o=>S.getLocalizedStrings().timeframe[o];return t.jsx(de,{onClick:o=>o.stopPropagation(),children:t.jsx(U,{pickerValues:e,valueToLabel:i,selectedValue:n,onPickerSelectionChanged:r,optionTextStyle:l})})}const me=g(Y)`
|
|
10
10
|
color: ${e=>e.theme.colors.champion};
|
|
11
11
|
`,D=g.div`
|
|
12
12
|
display: flex;
|
|
13
13
|
flex: 0 1 auto;
|
|
14
14
|
flex-direction: row;
|
|
15
15
|
align-items: center;
|
|
16
|
-
`;function ue({dimension:e,reportTitle:n,cardType:r,cardIndex:l,onCardClick:i,timeframe:o,allowedValues:d,chartElement:s,onTimeframeChange:h}){const c=d.length>0?" - ":"";return t.jsx(Q,{"data-testid":N("dashboard",`${r}-timeframe-${o}`),style:{cursor:"pointer"},dimension:e,onClick:()=>i(l,r),children:t.jsxs(E,{children:[t.jsxs(D,{style:{marginBottom:
|
|
16
|
+
`;function ue({dimension:e,reportTitle:n,cardType:r,cardIndex:l,onCardClick:i,timeframe:o,allowedValues:d,chartElement:s,onTimeframeChange:h}){const c=d.length>0?" - ":"";return t.jsx(Q,{"data-testid":N("dashboard",`${r}-timeframe-${o}`),style:{cursor:"pointer"},dimension:e,onClick:()=>i(l,r),children:t.jsxs(E,{children:[t.jsxs(D,{style:{marginBottom:p[3]},children:[t.jsx(me,{children:n!=null?n+c:X(r)+c})," ",d.length>0?t.jsx(he,{timeframeSelected:o,onTimeframeChanged:a=>h?.(a??"month"),allowedValues:d}):null]}),t.jsx(D,{style:{width:"100%",height:"100%",cursor:"pointer"},children:t.jsx("div",{style:{width:"100%",height:"100%"},children:t.jsx(J,{children:({height:a,width:m})=>s(m,a)})})})]})})}function B({card:e,reportTitle:n,actions:r,timeframe:l,allowedValues:i,chartElement:o,onTimeframeChange:d}){return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?t.jsx(ee,{dimension:e.dimension,animated:!e.disableAnimations}):e.fetchState==="Error"?t.jsx(te,{dimension:e.dimension,cardType:e.cardType,cardIndex:e.cardIndex,onReloadData:r.onReloadData,reportTitle:n}):t.jsx(ue,{dimension:e.dimension,reportTitle:n,cardType:e.cardType,cardIndex:e.cardIndex,onCardClick:r.onCardClick,timeframe:l,allowedValues:i??["month","quarter","year"],chartElement:o,onTimeframeChange:s=>{r.onTimeframeChange?.(e.cardType,s),d?.(e.cardType,s)}})}w.memo(B);const K=(e,n,r)=>{const l=n.map(a=>({label:a.timePeriod,startDate:a.startDate,endDate:a.endDate})),i=r.total,o=r.accountsOrdered.map(a=>({accountId:a.accountId,accountDescription:a.accountDescription,balance:a.balance,logo:a.logo}))??[],d=Math.min(e,o.length),s=o.length?e-o.length:0,h=i?.amount;if(o.length>0&&s>0&&h!=null&&h!==0){const a=o[d-1].balance,m=a?.available?.amount!=null?Math.min(30,a?.available?.amount/h*100):30;for(let u=0;u<s;u+=1){const y=m*(s-u)/(s+1);o.push({accountId:u.toString(),accountDescription:"",balance:{available:{amount:h*y/100,currencySymbol:a.available.currencySymbol,currencyCode:a.available.currencyCode}}})}}const c=o.map(a=>{const m="top_expenses",u={accountId:a.accountId,accountDescription:a.accountDescription,total:i??void 0,logo:a.logo??"",barKey:m};return u[m]=a.balance.available,u});return{timeframeLabelsInOrder:l,chartItems:c}},b=37,j=2,ge=g.div`
|
|
17
17
|
display: flex;
|
|
18
18
|
flex-direction: row;
|
|
19
19
|
flex: 1 1 auto;
|
|
@@ -21,18 +21,18 @@ import{aB as V,q as M,V as t,d as x,c as f,b as T,aW as R,aL as q,aJ as H,o as p
|
|
|
21
21
|
align-items: center;
|
|
22
22
|
height: 100%;
|
|
23
23
|
color: ${e=>e.theme.colors.hero};
|
|
24
|
-
`,
|
|
24
|
+
`,fe=g.div`
|
|
25
25
|
display: flex;
|
|
26
26
|
align-items: center;
|
|
27
27
|
flex: 4 1 0;
|
|
28
|
-
`,
|
|
29
|
-
height: ${
|
|
28
|
+
`,pe=g.img`
|
|
29
|
+
height: ${f.sp4};
|
|
30
30
|
`,xe=g(C)`
|
|
31
|
-
margin-left: ${
|
|
31
|
+
margin-left: ${f.sp2};
|
|
32
32
|
`,ye=g(F)`
|
|
33
33
|
flex: 1 1 0;
|
|
34
34
|
color: ${e=>e.theme.colors.primary};
|
|
35
35
|
`,be=g(G)`
|
|
36
36
|
flex: 1 1 0;
|
|
37
|
-
margin-right: ${
|
|
38
|
-
`;function je({report:e,width:n,height:r,showBarHoverBackground:l}){const i=x(),o=K(e.topExpenses.accountsOrdered.length,e.allTimePeriods,e.topExpenses),d=(s,h)=>t.jsx(O,{dataKey:c=>{const a=c[h]!=null?c[h]:void 0;return a!=null&&a.amount>0?a.amount:0},isAnimationActive:!0,animationDuration:800,background:{fill:i.colors.background},children:s.map(c=>t.jsx(A,{fill:i.colors.topExCustomColor},h))},Math.random());return o.chartItems.length===0?null:t.jsx(De,{chartItemArray:o.chartItems,showBarHoverBackground:l,barElement:d(o.chartItems,o.chartItems[0].barKey),width:n,height:r})}const we=e=>{const{barKey:n,payload:r,chartItems:l,width:i,y:o}=e,d=r.value,s=l.find(h=>h.accountId==d);return s==null||s.accountDescription==null?null:t.jsx("foreignObject",{y:o-r.offset+j,width:i,height:b,children:t.jsxs(ge,{children:[t.jsxs(
|
|
37
|
+
margin-right: ${f.sp2};
|
|
38
|
+
`;function je({report:e,width:n,height:r,showBarHoverBackground:l}){const i=x(),o=K(e.topExpenses.accountsOrdered.length,e.allTimePeriods,e.topExpenses),d=(s,h)=>t.jsx(O,{dataKey:c=>{const a=c[h]!=null?c[h]:void 0;return a!=null&&a.amount>0?a.amount:0},isAnimationActive:!0,animationDuration:800,background:{fill:i.colors.background},children:s.map(c=>t.jsx(A,{fill:i.colors.topExCustomColor},h))},Math.random());return o.chartItems.length===0?null:t.jsx(De,{chartItemArray:o.chartItems,showBarHoverBackground:l,barElement:d(o.chartItems,o.chartItems[0].barKey),width:n,height:r})}const we=e=>{const{barKey:n,payload:r,chartItems:l,width:i,y:o}=e,d=r.value,s=l.find(h=>h.accountId==d);return s==null||s.accountDescription==null?null:t.jsx("foreignObject",{y:o-r.offset+j,width:i,height:b,children:t.jsxs(ge,{children:[t.jsxs(fe,{children:[t.jsx(pe,{src:s.logo,alt:s.accountDescription,loading:"lazy"}),t.jsx(xe,{children:s.accountDescription})]}),t.jsx(ye,{children:"⟶"}),t.jsx(be,{children:q("0,0",s[n])})]})})},De=({chartItemArray:e,barElement:n,width:r,height:l})=>{const i=e[0],o=i.total,d=i.barKey;return t.jsxs(k,{data:e,layout:"vertical",width:r,barCategoryGap:j,height:e.length?(b+2*j)*e.length:l,barSize:b,margin:{top:0,right:0,left:0,bottom:0},style:{display:"flex",flex:"1 1 auto",cursor:"default"},children:[t.jsx(L,{hide:!0,axisLine:!1,type:"number",domain:[s=>Math.min(0,s),o?.amount??0]}),t.jsx($,{orientation:"left",yAxisId:0,dataKey:s=>s.accountId,type:"category",axisLine:!1,tickLine:!1,width:r/2,mirror:!1,tick:t.jsx(we,{width:r/2,chartItems:e,barKey:d})}),n]})},I=41,v=4;function Ie({report:e,width:n,height:r,showBarHoverBackground:l,isDetailPage:i}){const o=x(),d=K(i===!0?e.topExpenses.accountsOrdered.length:6,e.allTimePeriods,e.topExpenses),s=(h,c,a)=>t.jsxs(O,{dataKey:m=>{const u=m[c]!=null?m[c]:void 0;return u!=null&&u.amount>0?u.amount:0},isAnimationActive:!0,animationDuration:i===!0?800:void 0,background:void 0,children:[t.jsx(ne,{dataKey:"accountDescription",position:"insideLeft",offset:8,content:m=>{const{x:u,y,value:P,height:_,offset:z}=m;return t.jsx(oe,{x:u+z,y:y+_/2,fill:o.colors.hero,fontSize:T.smallRegular.fontSize,verticalAnchor:"middle",width:a-110,maxLines:1,children:P})}}),h.map(m=>t.jsx(A,{fill:m.accountDescription!==""?o.colors.graphColor29:o.colors.grey3,fillOpacity:m.accountDescription!==""?.32:1},c))]},Math.random());return d.chartItems.length===0?null:t.jsx(ve,{chartItemArray:d.chartItems,showBarHoverBackground:l,barElement:s(d.chartItems,d.chartItems[0].barKey,n),width:n,height:r,isDetailPage:i===!0})}const ve=({chartItemArray:e,barElement:n,width:r,height:l,isDetailPage:i})=>{const o=x(),d=e[0],s=d.total,h=d.barKey,c=s?.currencySymbol??"";return t.jsxs(k,{data:e,layout:"vertical",width:r,barCategoryGap:i?v:2,height:i?e.length?(I+2*v)*e.length:l:l+5,barSize:i?I:38,margin:{top:0,right:i?p[0]:p[3],left:i?p[0]:p[3],bottom:0},style:{display:"flex",flex:"1 1 auto",cursor:i?"default":"pointer"},children:[t.jsx(L,{hide:!0,axisLine:!1,type:"number",domain:[a=>Math.min(0,a),s?.amount??0]}),t.jsx($,{orientation:"right",yAxisId:0,dataKey:a=>{const m=a[h]!=null?a[h]:void 0,{accountDescription:u}=a;return u!==""&&m!=null?m.amount:0},type:"category",axisLine:!1,tickLine:!1,width:r,mirror:!0,tick:{fill:o.colors.hero,...T.smallRegular.cssObject},tickFormatter:a=>a!==0?R("0,0.[00]a",a,c):""}),n]})};function Te(e){const n=M();return n!=="small"&&n!=="medium-compact"&&e.isDetailPage===!0?t.jsx(je,{...e}):t.jsx(Ie,{...e})}const Ce=w.memo(Te,V);function Se(e){if(e==null||e.length===0)return!0;let n=!0;for(const r of e)if(r.balance.available.amount!==0){n=!1;break}return n}function Ee({card:e,actions:n,data:r,dndProps:l}){const[i,o]=W.useState(r?.topExTimePeriod??"last_month"),d=[...Z],s=e.fetchState==="Completed"?Se(r?.topExpenses.accountsOrdered):!1,h=(c,a)=>s===!1?t.jsx(Ce,{report:r,width:c,height:a,timeframe:i}):t.jsx(ce,{width:c,height:a,label:S.getLocalizedStrings().chartCard.no_data.top_expenses[i]});return t.jsx(H,{isDragging:l?.draggedCardType!=null,isDragOver:l?.dragOverCard===e.cardType,draggable:!0,onDragStart:c=>l?.onDragStart(e.cardType,c),onDragOver:c=>l?.onDragOver(c,e.cardType),onDragLeave:c=>l?.onDragLeave(c),onDrop:c=>l?.onDrop(c,e.cardType),dimension:e.dimension,children:t.jsx(B,{card:e,actions:n,timeframe:i,chartElement:h,allowedValues:d,onTimeframeChange:(c,a)=>o(a)})},e.cardIndex)}w.memo(Ee);export{Se as E,Ce as I,Ee as L,B as O,ce as c};
|
package/dist/assets/{TopExDetailPage-C1UAPRay-wN-7vP_0.js → TopExDetailPage-DIzdQ0cx-BfhcN7Ik.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as
|
|
1
|
+
import{d as v,q as S,V as t,bA as A,F as f,aL as j,b2 as B,H,o as i,y as b,bO as P,br as V,c,p as z,al as $,aN as F,a_ as T}from"./index-BN936vRr.js";import{n}from"./mui-DQOtlcvt.js";import{F3 as D}from"./zeni-epic-state-DIO-8j7m.js";import{E as _,I}from"./TopExCard-aqOoqjT0-BhL7e5nv.js";import{b as M}from"./TimeframeSwitcher-nC3rnif3-C0iP6Cu3.js";import{d as L}from"./NoDataTable-D5uU7rww-DMI3TCce.js";import{S as Z,a as o}from"./sentry-BCzFscbx.js";import"./liveblocks-CUzvdZes.js";import"./core-BkA0GZqz.js";import"./recharts-DEFzfhhe.js";import"./lottie-BXNphAUg.js";import"./analytics-ko5civJt.js";import"./lexical-NKD2Ns4v.js";import"./utils-CGlY-GM2.js";import"./ReloadCard-Dh0SYKvO-BfN50eLc.js";import"./graphic-no-data-l-DU4J8fDt-UswSWtT8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="8377bc75-2008-4c35-b2f6-b69ac4ab0ee3",e._sentryDebugIdIdentifier="sentry-dbid-8377bc75-2008-4c35-b2f6-b69ac4ab0ee3")}catch{}})();const E="141px",O=i.sp4,N="123px",q=n(T)`
|
|
2
2
|
color: inherit;
|
|
3
3
|
width: ${i.sp3};
|
|
4
4
|
height: ${i.sp3};
|
|
@@ -26,8 +26,8 @@ import{d as j,q as S,V as t,bA as A,F as f,aL as b,b2 as B,H,o as i,y as E,bO as
|
|
|
26
26
|
justify-content: flex-end;
|
|
27
27
|
`,W=n($)`
|
|
28
28
|
user-select: none;
|
|
29
|
-
width: ${
|
|
30
|
-
min-width: ${
|
|
29
|
+
width: ${E};
|
|
30
|
+
min-width: ${E};
|
|
31
31
|
text-align: right;
|
|
32
32
|
margin-left: ${O};
|
|
33
33
|
`,X=n.div`
|
|
@@ -42,7 +42,7 @@ import{d as j,q as S,V as t,bA as A,F as f,aL as b,b2 as B,H,o as i,y as E,bO as
|
|
|
42
42
|
min-width: ${N};
|
|
43
43
|
text-align: left;
|
|
44
44
|
margin-left: ${i.sp4};
|
|
45
|
-
`;function J({leftChevron:e,account:l,onAccountBalanceClick:a}){const s=l!=null&&l.balance!=null,r=e==="hidden",g=s?"pointer":"default",d=r===!1&&s,w=d?"pointer":"default",h=r?c[6]:c[4],m=q,{common:{strings:{empty:y}}}=f.getLocalizedStrings(),C=l?.accountDescription?l.accountDescription:y,x=l?.accountName?l.accountName:C;return t.jsxs(R,{isClickable:d,children:[t.jsxs(X,{style:{cursor:w},isClickable:d,children:[r===!1?t.jsx(m,{style:{minWidth:c[3],minHeight:c[3]}}):null,t.jsx(G,{"data-testid":F("top-ex-account-name",x),style:{marginLeft:h},title:x,onClick:()=>{d&&l!=null&&l.balance!=null&&a?.(l)},children:x})]}),t.jsx(K,{style:{cursor:g},children:t.jsx(W,{isClickable:s,onClick:()=>{l?.balance!=null&&a?.(l)},children:
|
|
45
|
+
`;function J({leftChevron:e,account:l,onAccountBalanceClick:a}){const s=l!=null&&l.balance!=null,r=e==="hidden",g=s?"pointer":"default",d=r===!1&&s,w=d?"pointer":"default",h=r?c[6]:c[4],m=q,{common:{strings:{empty:y}}}=f.getLocalizedStrings(),C=l?.accountDescription?l.accountDescription:y,x=l?.accountName?l.accountName:C;return t.jsxs(R,{isClickable:d,children:[t.jsxs(X,{style:{cursor:w},isClickable:d,children:[r===!1?t.jsx(m,{style:{minWidth:c[3],minHeight:c[3]}}):null,t.jsx(G,{"data-testid":F("top-ex-account-name",x),style:{marginLeft:h},title:x,onClick:()=>{d&&l!=null&&l.balance!=null&&a?.(l)},children:x})]}),t.jsx(K,{style:{cursor:g},children:t.jsx(W,{isClickable:s,onClick:()=>{l?.balance!=null&&a?.(l)},children:j("0,0",l?.balance.available)})})]})}const Q=n.div`
|
|
46
46
|
display: flex;
|
|
47
47
|
width: 100%;
|
|
48
48
|
flex-direction: column;
|
|
@@ -84,7 +84,7 @@ import{d as j,q as S,V as t,bA as A,F as f,aL as b,b2 as B,H,o as i,y as E,bO as
|
|
|
84
84
|
`,ce=n($)`
|
|
85
85
|
color: ${z.alert};
|
|
86
86
|
margin: ${i.sp3} ${i.sp0} ${i.sp5} ${i.sp0};
|
|
87
|
-
`;function de(){switch(
|
|
87
|
+
`;function de(){switch(v().mode){case"light":return t.jsx(oe,{width:"100%",preserveAspectRatio:"none"});case"dark":default:return t.jsx(le,{width:"100%",preserveAspectRatio:"none"})}}function pe({title:e}){return t.jsxs(re,{children:[e!=null?t.jsx(ce,{children:e}):null,t.jsx(ae,{children:t.jsx(se,{children:t.jsx(de,{})})})]})}const u={wrapperPadding:new b(c[3],c[3],c[8]),chartContainerMinHeight:new b(c[12],c[11])},he=n.div`
|
|
88
88
|
display: flex;
|
|
89
89
|
flex: 1 1 auto;
|
|
90
90
|
min-height: 100%;
|
|
@@ -129,4 +129,4 @@ import{d as j,q as S,V as t,bA as A,F as f,aL as b,b2 as B,H,o as i,y as E,bO as
|
|
|
129
129
|
margin-bottom: ${i.sp5};
|
|
130
130
|
`,$e=n.div`
|
|
131
131
|
display: flex;
|
|
132
|
-
`;function Ie(e){const l=
|
|
132
|
+
`;function Ie(e){const l=v(),{report:a,onTimeframeSelectionChanged:s,onAccountBalanceClick:r,onBackClick:g}=e,d=S(),w=[...D],h=_(a.topExpenses.accountsOrdered),{topExTimePeriod:m,topExpenses:y}=a,C=y.total,x=p=>{e.autoCompleteData.autoCompleteText!=null&&e.analytics?.trackSearch(H.Event.search,"Top Expenses",p.type,p.name,e.autoCompleteData.autoCompleteText),e.autoCompleteActions.onAutoCompleteEntity?.(p)};return t.jsxs(he,{children:[t.jsx(A,{source:"TopExDetailPage",title:f.getLocalizedStrings().reportTitleById.top_expenses,backgroundColor:l.colors.grey5,onBackClick:g,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:x}}}),t.jsxs(me,{windowSize:d,children:[t.jsx(fe,{children:t.jsx(xe,{children:t.jsx(M,{timeframes:w,selectedTimeframe:m,onTimeframeSelectionChanged:p=>{s?.(p)}})})}),h?null:t.jsxs(ge,{children:[t.jsx(we,{children:j("0,0",C)}),t.jsx(ye,{children:f.getLocalizedStrings().reports.detail.topEx.insightLabel})]}),h?t.jsx($e,{children:t.jsx(pe,{title:`${f.getLocalizedStrings().chartCard.no_data_available_for} ${f.getLocalizedStrings().timeframe[m]}`})}):t.jsx(Ce,{windowSize:d,children:t.jsx(B,{style:{height:"fit-content"},children:({height:p,width:k})=>t.jsx(I,{report:a,timeframe:m,showBarHoverBackground:!1,width:k,height:p,isDetailPage:!0})})})]}),t.jsx(ue,{windowSize:d,children:h?t.jsx(L,{}):t.jsx(ne,{report:a,onAccountBalanceClick:r})})]})}export{Ie as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{N as qn,w as Fn,d as Pt,a9 as Wn,q as ae,F as q,aO as Jt,dM as Hn,dN as Gn,cC as Yn,aB as Zn,dO as nn,dP as Jn,V as i,ac as Qn,bA as Xn,dQ as Kn,dR as ea,k as oi,dS as zi,aP as ta,y as N,aN as F,dT as an,dU as Te,dV as Oe,dW as Pe,dX as Ke,dY as et,dZ as St,d_ as kt,d$ as tt,e0 as gt,e1 as zt,e2 as At,e3 as Qt,e4 as ee,e5 as ia,e6 as ei,e7 as ue,e8 as on,e9 as pe,ea as sn,aH as na,eb as Dt,ec as Ai,ed as aa,n as oa,cn as sa,o as a,cb as la,ee as ra,c as O,H as wi,p as le,aq as Di,b9 as si,u as ca,ef as da,ci as ua,cg as li,cP as st,eg as pa,eh as Ht,aS as ln,cU as ma,ei as ha,ce as ga,cf as fa,aL as Le,al as fe,a_ as ya,ej as ba,ek as rn,el as Xt,em as Kt,en as mi,db as xa,b2 as wa,cr as va,eo as Ti,a8 as cn,ep as ti,eq as ii,er as dn,cV as un,bR as Oi,es as hi,dg as gi,et as Ca,br as Ia,eu as Ri,ev as $a,ew as Da,ay as Ta,ex as Oa,ey as La,R as pn,ez as mn,bI as ja,eA as Vi,eB as hn,eC as gn,eD as fn,bG as lt,au as Sa,at as ka,dp as za,b as yn,eE as Aa,bE as Ra,L as Va,am as Ea,s as Pa,aU as vi}from"./index-
|
|
1
|
+
import{N as qn,w as Fn,d as Pt,a9 as Wn,q as ae,F as q,aO as Jt,dM as Hn,dN as Gn,cC as Yn,aB as Zn,dO as nn,dP as Jn,V as i,ac as Qn,bA as Xn,dQ as Kn,dR as ea,k as oi,dS as zi,aP as ta,y as N,aN as F,dT as an,dU as Te,dV as Oe,dW as Pe,dX as Ke,dY as et,dZ as St,d_ as kt,d$ as tt,e0 as gt,e1 as zt,e2 as At,e3 as Qt,e4 as ee,e5 as ia,e6 as ei,e7 as ue,e8 as on,e9 as pe,ea as sn,aH as na,eb as Dt,ec as Ai,ed as aa,n as oa,cn as sa,o as a,cb as la,ee as ra,c as O,H as wi,p as le,aq as Di,b9 as si,u as ca,ef as da,ci as ua,cg as li,cP as st,eg as pa,eh as Ht,aS as ln,cU as ma,ei as ha,ce as ga,cf as fa,aL as Le,al as fe,a_ as ya,ej as ba,ek as rn,el as Xt,em as Kt,en as mi,db as xa,b2 as wa,cr as va,eo as Ti,a8 as cn,ep as ti,eq as ii,er as dn,cV as un,bR as Oi,es as hi,dg as gi,et as Ca,br as Ia,eu as Ri,ev as $a,ew as Da,ay as Ta,ex as Oa,ey as La,R as pn,ez as mn,bI as ja,eA as Vi,eB as hn,eC as gn,eD as fn,bG as lt,au as Sa,at as ka,dp as za,b as yn,eE as Aa,bE as Ra,L as Va,am as Ea,s as Pa,aU as vi}from"./index-BN936vRr.js";import{a as v,S as Tt}from"./sentry-BCzFscbx.js";import{n as l}from"./mui-DQOtlcvt.js";import{Fu as _a,uu as Na,bE as Vt,bD as Et,bF as Ua,c3 as Ma,l8 as Ba,bh as qa}from"./zeni-epic-state-DIO-8j7m.js";import{x as Ei}from"./LabeledControlledCheckBoxField-CPIKQ-CK-jxS0CHZ_.js";import{R as Fa}from"./TrendWithTransactions-B3oV0JPi-BgM9tzOd.js";import{u as Wa,c as Ha,d as Ga,m as Ya}from"./uploadAttachment-Ce0sdSDo-C1OEaf5S.js";import{o as Za}from"./radio-default-CiSgisfh-ZZNrqHqY.js";import"./liveblocks-CUzvdZes.js";import"./core-BkA0GZqz.js";import"./recharts-DEFzfhhe.js";import"./lottie-BXNphAUg.js";import"./analytics-ko5civJt.js";import"./lexical-NKD2Ns4v.js";import"./utils-CGlY-GM2.js";import"./TrendChart-DwPnEwyO-DPu-_Br2.js";import"./chartTypes-C6j6oBoS-9mwDDGJP.js";import"./toCOABalancesWithID-BxzNBK9u-CqDKc9Mj.js";import"./toChartData-CnjrCi9i-CYxTVX3t.js";import"./NoDataChart-CkbRqqmB-BdaQaq20.js";import"./InsightsSection-BT1h9fEy-BRfU7zNX.js";import"./NavigationDots-B3pcllxp-BTtZpldx.js";import"./TransactionList-UYBDB4bd-k1_T5uTi.js";import"./BoxItem-BO8CYlnI-cifRan7C.js";import"./commonDimensions-Dw7YNTQN-P35Kp_kM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1c8e5354-878b-4cd5-bc3e-79c2e882c128",e._sentryDebugIdIdentifier="sentry-dbid-1c8e5354-878b-4cd5-bc3e-79c2e882c128")}catch{}})();const Ja={headerMarginTop:new N(O[7],O[8])},Qa=l(fe)`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
`,Xa=l(fe)`
|
|
4
4
|
margin-right: ${a.sp1};
|
package/dist/assets/{TransactionList-Dq2orY9N-CN4n8ohS.js → TransactionList-UYBDB4bd-k1_T5uTi.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{cb as ct,q as R,V as e,b2 as mt,aN as x,db as ft,dc as xt,d6 as ut,dd as ht,o,p as q,cr as pt,F as y,y as K,k as gt,al as v,c as g,
|
|
1
|
+
import{cb as ct,q as R,V as e,b2 as mt,aN as x,db as ft,dc as xt,d6 as ut,dd as ht,o,p as q,cr as pt,F as y,y as K,k as gt,al as v,c as g,ah as bt,de as X,cZ as G,aL as J,am as wt}from"./index-BN936vRr.js";import{a as p,S as $t}from"./sentry-BCzFscbx.js";import{n}from"./mui-DQOtlcvt.js";import{F4 as A,F5 as V,F6 as Q,F7 as L,bh as yt,Fj as tt,bE as et}from"./zeni-epic-state-DIO-8j7m.js";import{g as it}from"./BoxItem-BO8CYlnI-cifRan7C.js";import{o as B}from"./commonDimensions-Dw7YNTQN-P35Kp_kM.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="8fde6d4c-fe32-4099-9ac0-597fd64fd397",t._sentryDebugIdIdentifier="sentry-dbid-8fde6d4c-fe32-4099-9ac0-597fd64fd397")}catch{}})();const D=t=>t?24:125,vt={containerPaddingBottom:new K(g[9],g[8])},U=n.div`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex: 1 1 auto;
|