@zeniai/web-cockpit-ui 1.15.60-qa → 1.15.61-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-BO7lxW8c-DZ0wFbc2.js → ACHDetailsPage-DKTSwNyl-Bf0EVFFQ.js} +1 -1
- package/dist/assets/{AIPerformancePage-SF-quMkk-CcqTJhaF.js → AIPerformancePage-BzTlSxeg-BqzPWf2m.js} +12 -12
- package/dist/assets/AccountInfoPage-CrEEthms-CUTx8UxM.js +18 -0
- package/dist/assets/{AccountInfoPageContent-DIWh6VaI-DAgaMEg1.js → AccountInfoPageContent-B0ZnsyrQ-jDUts22l.js} +7 -7
- package/dist/assets/{AccountLockedInfoModal-DloPB9vd-CExsut6c.js → AccountLockedInfoModal-B6A-nGIq-D0T3CP49.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-BAgQsFiF-Cu7g0CmQ.js → AccountReconDetailsDrawerPage-BTmjrd8b-CSoge4Da.js} +12 -12
- package/dist/assets/{AccountRow-Dczx5rSu-DltlBwNg.js → AccountRow-C-Iunc36-BeM9tlra.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-Ywhto4lV-QBu4XKWM.js → AccountsPromoCardStack-D6xN5A4_-Cy6munB_.js} +8 -8
- package/dist/assets/{AddAddressForCardDrawer-B8srmVT6-BiqcZTxd.js → AddAddressForCardDrawer-B6tLAOA_-CkfZCyL8.js} +1 -1
- package/dist/assets/{AddToWalletPage-k__RW699-BsmhpZfp.js → AddToWalletPage-Bw1oz9Y2-B0P_ZSD_.js} +1 -1
- package/dist/assets/{AgingReportsPage-BuIXjljE-DadwbuHz.js → AgingReportsPage-BK3PXwnr-h5e1bL4s.js} +1 -1
- package/dist/assets/{AllUserItems-BdgTe4WF-CwSoTdSL.js → AllUserItems-B42zEFpe-8Ump3qD6.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-6F47t31h-CfaMNLB-.js → ApAgingDetailPage-vzW4qF2Y-3SXDFjM4.js} +5 -5
- package/dist/assets/{AppBasePage-DaTueT-x-Dj4u2iwj.js → AppBasePage-yAU5vW5D-Bmf252uP.js} +1 -1
- package/dist/assets/{AppDrawerContent-CtCI6jpp-CCLBA3SA.js → AppDrawerContent-nnh5cFf7-DsaU7kao.js} +22 -22
- package/dist/assets/{ApprovalRulesSettingsPage-BVxu4soW-DFgwfNvk.js → ApprovalRulesSettingsPage-B-Y2YjpT-ClmsJh_t.js} +1 -1
- package/dist/assets/{ArAgingChart-BK-JyW2V-F2aGjQF8.js → ArAgingChart-CCc6eh55-DMlM6kQT.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-CvqLu3q8-DoMxj0Ou.js → ArAgingDetailPage-CYXVPEzK-sVCao0_v.js} +5 -5
- package/dist/assets/{AttachmentView-DQdb3v_e-DtvcJTgJ.js → AttachmentView-DqrQDEWc-C1OUb07R.js} +1 -1
- package/dist/assets/BalancesInsightWithToolTip-D1_dZg5k-ZJNQeui5.js +38 -0
- package/dist/assets/{BankAccountSection-DgbfU8F--DLuUJ_fz.js → BankAccountSection-4vXBKCFA-Bkhrv3Xb.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-litL0o_Z-PCwPOfmE.js → BankAccountWarningSection-Dhmxhwx--DcK6WJ_q.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-bAj9uB9k-DPOpMQrs.js → BankConnectionsSettingsPage-z52fh-wH-Be1jZpC2.js} +1 -1
- package/dist/assets/{BillDetailPage-CiHal44n-C0A_2Drd.js → BillDetailPage-DRpctLxu-DsP4Hhqd.js} +6 -6
- package/dist/assets/{BillPayApprovalRuleDetailPage-CRBli7lk--92lyqaa.js → BillPayApprovalRuleDetailPage-CJtb4oOG-CxRPKQU-.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BTOmSLcs-BTDa-wl2.js → BillPayApprovalRulesPage-HG32jtX9-BR5g1ug_.js} +1 -1
- package/dist/assets/{BillPayPromoPage-B5gkQjT2-BBqFQihg.js → BillPayPromoPage-DwxNDF0k-Dp0C7zM9.js} +6 -6
- package/dist/assets/{BillPaySetUpPage-DM3r09by-WcYYo1qX.js → BillPaySetUpPage-B-kmDrpB-B9j0mWSg.js} +1 -1
- package/dist/assets/{BillingSettingsPage-CiTKyJeG-Dzma-WHw.js → BillingSettingsPage-CNZyUOpM-CptpCO9D.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-B6ofRDkg-BGsp2hGB.js → BillsBulkReviewDrawerPage-DbIDTE51-Jg4C8lOt.js} +1 -1
- package/dist/assets/{BoxItem-C39hQSVg-BPqWHCnN.js → BoxItem-CIyMdw2s-Cw7g8XZi.js} +3 -3
- package/dist/assets/{BusinessVerificationPage-BiWEnJET-DtWCCY_2.js → BusinessVerificationPage-DQ34qLUA-BBPUHLBj.js} +1 -1
- package/dist/assets/{CardNumberSubText-FNfrozX6-CM70VMV8.js → CardNumberSubText-CN1RN7Tf-vqSRDVxl.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DaLICa_v-D8TLA3f4.js → CashbackDetailPage-CyYkVa0H-DVFJtXQN.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-B0Aq7zO5-Byaww-oA.js → ChargeCardDetailPage-DFUAF2OM-Bc-RJNZR.js} +1 -1
- package/dist/assets/{ChargeCardListPage-CfRto2rQ-BgiTMTy8.js → ChargeCardListPage-BTHDGtJ6-4bkaiVfc.js} +1 -1
- package/dist/assets/{ChargeCardListTable-DMdC4lxo-9GZKxQ_h.js → ChargeCardListTable-BiKjkqVs-DKEOjcVA.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-BYTmtF_y-GTNBkLSz.js → ChargeCardPaymentHistoryPage-sPGU7qmY-Bf1pzzzM.js} +1 -1
- package/dist/assets/ChargeCardPromoPage-6JwKgWli-CPUVoMgw.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-BjhqdubL-C1LUGkpQ.js → ChargeCardSetupPage-DmhPAnYT-DR2CC5kC.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-DCM92s6v-BMiUoAii.js → ChargeCardStatementsPage-DUXupPSN-DxA_R6gT.js} +4 -4
- package/dist/assets/{CheckDepositDrawerPage-CkIxEqHU-BxCATOdR.js → CheckDepositDrawerPage-C8nbDVSz-Dr-uGxlF.js} +1 -1
- package/dist/assets/{CollapsableReportTable-ClHwXtCj-C8DNdq66.js → CollapsableReportTable-C_bWRP7w-DpVgt9Wv.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BY8hFQnp-BohttHRK.js → CompanyOfficerDetailsSection-6LXCxWYP-BOArKbIF.js} +1 -1
- package/dist/assets/{CompanyPassportCard-B3rZE3pg-ClhjwsUC.js → CompanyPassportCard-DVJS9xE7-RKaTgfHf.js} +3 -3
- package/dist/assets/{CompanyPassportPage-4FXVf3EP-RXu-qNXi.js → CompanyPassportPage-FJ30paB0-hXvLvBpx.js} +1 -1
- package/dist/assets/{CompleteProfile-B1BoilWd-B4soku6Y.js → CompleteProfile-D3Im5rsm-BnRXF-gQ.js} +1 -1
- package/dist/assets/{ConfettiBurst-CsbAGF65-C7g6Dt4f.js → ConfettiBurst-BJrOe5Fg-CMTy2As9.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-AYJ8EVpU.js → ConstrainedInnerElement-CgdnMeoA-DnLTiNpq.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C50eYOFo-BIcUso-S.js → CreateOrEditVendorPage-C8dK3_XQ-Bic3OW2f.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-Dxz_SY7N-CDn1fxAv.js → CreditCardPaymentDrawerPage-Dp5mS2Hc-CNo8ul3B.js} +1 -1
- package/dist/assets/{CurrencySelectField-D2Ogwvbr-A2_hbI1k.js → CurrencySelectField-BAQ5aoHk-CIVnJjI7.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-5Sh7hmI9-CuUCdnw6.js → CustomerOnboardingActivationPage-D8T1akbN-CZfzYc2x.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-CGFQ4G4y-TNmUNU-a.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CL-mOSUp-DmhOg-F3.js → CustomerOnboardingDetailPageSkeleton-DSvvHqR_-IY_FusMe.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CyL1AK78-CfPXSjNQ.js → CustomerOnboardingNoStepsPage-CSLO3M7E-D03EPy58.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-C8nxJPwo-TAsdAlKU.js → CustomerOnboardingPage-weza3x24-BKfpb49c.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-C7FbnHpU-D1EjCUk9.js → CustomerOnboardingProductSuitePage-3YH4y1e1-C4fThtYl.js} +1 -1
- package/dist/assets/{Dashboard-Bpu-6Sm5-D2yGD8P1.js → Dashboard-Bpuy-Pez-CR2f1Xc4.js} +1 -1
- package/dist/assets/{DashboardReportPage-B1aAikQG-RPqnpn1O.js → DashboardReportPage-1p79NBF9-Ejc5G7GX.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-C6xm-p2j-hUZq2Yb4.js → DashboardSidebarBackgroundAnimation-CBg2tWHO-DrupZvi1.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DEU0DgtI-Cp9J-sfr.js → DepositAccTransactionItem-DlztlGZL-CjKPqIal.js} +3 -3
- package/dist/assets/{DepositAccTransactionListPage-Bh0dIkE9-BxoCgq_O.js → DepositAccTransactionListPage-BO43c3Uz-Y0zyGDSq.js} +2 -2
- package/dist/assets/{DomesticWireDetailsPage-2WyD73c9-CyjvuAT5.js → DomesticWireDetailsPage-SEql3I0P-DpvC9OuP.js} +1 -1
- package/dist/assets/{DownloadOverlay-B7M2VI7K-ChYSPm6V.js → DownloadOverlay-PhrwF2iZ-G_QfNT0c.js} +14 -14
- package/dist/assets/{DrawerPage-DsQTxXa8-GhqpcpJT.js → DrawerPage-Bf3AP3Lj-C2aL1lL-.js} +1 -1
- package/dist/assets/{EditPeoplePage-fY0HXvVS-IKVHo5pQ.js → EditPeoplePage-B-rBzonN-cdib7JGr.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-D7RUWSTZ-D9zyDd97.js → EditReimbursementDetailPage-CUiIHNgT-BTQPJNYl.js} +1 -1
- package/dist/assets/EntityDetailPage-CvLzsrUE-_DJAK5Es.js +18 -0
- package/dist/assets/{EntitySummarySection-0rRkC5V6-DgNukT-6.js → EntitySummarySection-mXeSjiuZ-B56KNF4B.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-DOGAdZXV-BHVEw7VI.js → ExpenseAutomationOverviewPage-DQCoy1O9-C1FpJZeC.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-DOsIzX0P-DVSyx24Z.js → ExpenseAutomationPage-BeAzQ7Qx-BPetUJ5r.js} +1 -1
- package/dist/assets/{ExpressPayPage-CIi6jM8Y-B4r7TpgP.js → ExpressPayPage-C-isOU1b-B49W8jPx.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-BVn6ZUOB-BfyNnAHr.js → FeaturePreviewPage-Cyre9YzV-CwQn5DPV.js} +1 -1
- package/dist/assets/{FollowStepsSection-CvWPHXDW-BuPqjalf.js → FollowStepsSection-DZNWzSvo-DqG7TBKi.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-CS_11bx0-BfjmEjn2.js → GlobalReviewListPage-Dp--ugNc-hKQ7lwu4.js} +1 -1
- package/dist/assets/{InformationCardStack-B9g7W7Xx-C184qvoG.js → InformationCardStack-D7naFDX0-BPPp5phV.js} +2 -2
- package/dist/assets/{InsightsCardStack-mvzIc2uY-LrgsXSL_.js → InsightsCardStack-DexUl4h--Do_u9eZ8.js} +1 -1
- package/dist/assets/{InsightsSection-rGyA4lY9-B8Nofado.js → InsightsSection-D9PJ55E6-BjmAQtAO.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-Dwz4ukHF-Biik3Y6O.js → IntegrationsSettingsPage-hFTe3wiP-DUILwrnV.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-Cm0H9oyf-CINgCY6y.js → InternationalWireSwiftDetailsPage-DLkE5bXp-Cs50Z-pA.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-woIoME3I-Cg-fN9g5.js → InternationalWireVerificationPage-DYGjEqNz-DmQNQWb-.js} +1 -1
- package/dist/assets/{InviteFormPage-DaZ-sJYV-Hcgc4ocl.js → InviteFormPage-CGAsWQn7-CfpaP_Ay.js} +1 -1
- package/dist/assets/{InvitePageListView-Do7EVQrj-C_KWC4lo.js → InvitePageListView-BSPE9f03-KWAhDnk6.js} +1 -1
- package/dist/assets/{InvitePeoplePage-CpD7YoC2-Duzoo4B2.js → InvitePeoplePage-ANvLB-mB-CYTcoBVF.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-DOuTQPee-lXTxUj-Z.js → InvoiceUploadSection-OGMswY7c-wUJD4gzt.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-ClMhr27d-CnsSx-gw.js → IssueChargeCardPage-sLInqAsW-CegsdyWc.js} +1 -1
- package/dist/assets/{LabeledAddressValue-B6_PZDTO-D-Q_O_HY.js → LabeledAddressValue-DBJ236tZ-BW18Brhh.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-Cz6tRMoW-DbcbPzP_.js → LabeledAddressValueField-CAr-IiTa-D1mstd2j.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-BEpAlnvo-CcZhEUBr.js → LabeledControlledCheckBoxField-BdWZgcQc-DXkTpNG_.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-1kTcZMQW-Dlcc8TAS.js → LabeledCountryMultiSelectField-C6z1v9S1-DPwnmiSc.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-PiLB1S77-DNp7Z1Qc.js → LabeledCreatableSingleSelectField-Dhi0n2ky-YUVM0TAv.js} +1 -1
- package/dist/assets/{LabeledDocumentField-Cicw8ABs-oj7tT2jS.js → LabeledDocumentField-B3QSq1eM-CJX89Dc7.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BEVVgIGK-CsGW8WxC.js → LabeledDropDownFormattedTextField-B39DlufR-99Ko4ZBM.js} +1 -1
- package/dist/assets/{LabeledText-C56xvYuX-DsL0u5P_.js → LabeledText-GEbY3-bB-nJj4qLSj.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CF4oVI17-DaLD_hgt.js → LabeledUserSingleSelectWithSubtitlesField-Do8fziYM-BJ5D4E5b.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-B5rxYfam-ZMqVzCNV.js → LabeledZeniRolesDropDownField-DJfE1qQb-Spa8qs2t.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-DbnaYlRA-CEO2bcxB.js → LinkJETransactionPage-B2ROo3VS-CwW6ZK79.js} +9 -9
- package/dist/assets/{LockCardPage-XHbTmzq8-DhTfJc_N.js → LockCardPage-D2dUPnNL-wmb_MErE.js} +6 -6
- package/dist/assets/{LowBalancePopup-IF7NG9aL-CinbCyiV.js → LowBalancePopup-DTtl3SIc-DM2vuSAI.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-BC6_cyO0-BQ2-FDmO.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CdG5oCPl-CR_WGypZ.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-C046BNUz-DFXEpmkx.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-Cyr3p_8a-BektQhq7.js → MagicLinkSuccessPage-Ctt1pLiv-DJ-u9j7D.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-A4zyF5bg-CmK90nGC.js → MagicLinkTitleSection-CtsQ_c44-BXFSLBPx.js} +1 -1
- package/dist/assets/MailingDetailsSection-DiZwQ9QV-DqXiN9BV.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-DtTjhna--CT7GWyne.js → MyBankConnectionsSettingsPage-6ltpx62E-CrO2Nk06.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-CKSWf7I4-CedxaTQk.js → MyPendingActivationChargeCardListPage-CwDedcXl-BOyq4bBQ.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-WF1pNlyU-DMWg77Ot.js → MyProfileSettingsPage-Bmhu2lrK-ws6T5ne-.js} +1 -1
- package/dist/assets/{NavBarWithPicker-DiCaJ8Qy-BxvF0zAP.js → NavBarWithPicker-jqJCHGvR-CA5PLw9P.js} +1 -1
- package/dist/assets/{NavigationArrow-f4Z3TuXg-B6rijk7N.js → NavigationArrow-DY_BhITD-Vzfi3uWl.js} +1 -1
- package/dist/assets/{NavigationDots-WiVjbUsC-BJPcKweh.js → NavigationDots-Kh5ODrCQ-HRI-lcK7.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-kvjjwV8d-CH4EMEVL.js → NewGlobalMerchantPage-BYTROFvX-B7MLJszZ.js} +1 -1
- package/dist/assets/{NoDataChart-DlSLTzZl-CIN7s_PN.js → NoDataChart-CuiKDcAB-CtvPBERj.js} +1 -1
- package/dist/assets/{NoDataTable-9vLoRpsR-CVCpwwfP.js → NoDataTable-BpH8puX--D7GPm4ZB.js} +1 -1
- package/dist/assets/{NotFoundPage-CFlNCHFs-CioL0LYB.js → NotFoundPage-BKvCYyvc-CTJ6GFz6.js} +5 -5
- package/dist/assets/{NotificationSettingsPage-KJzE9v4p-BmDPaYYb.js → NotificationSettingsPage-F2xXUCSE-DgOJ4JTH.js} +1 -1
- package/dist/assets/{NotificationsListConfig-6sXXtF_E-1h8udZXO.js → NotificationsListConfig-C9r-O2kH-C-lqN35x.js} +1 -1
- package/dist/assets/{NotificationsPage-D4AmPdo9-CW_dux68.js → NotificationsPage-CZZ9GTVy-TcR5jcnr.js} +1 -1
- package/dist/assets/{OpExByVendorPage-B5Wtu3ww-CRfex2T_.js → OpExByVendorPage-Crvcsx0U-BrZOBs9i.js} +1 -1
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-D44auW3J.js → OverlayContainerPage-BG9y5C0t-FwwF51rG.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CjkaxTx7-C6MEpq3s.js → PandLWithForecastPage-CkDCt5NK-OeI3LZQ4.js} +26 -26
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-eeLSg7xb-Dqmhwg_2.js → PaymentAccountSetupBillingAddressSection-D1ZDh1GY-n_87Pisd.js} +1 -1
- package/dist/assets/{PeoplePage-CQREy6SW-CbGkKVE_.js → PeoplePage-D2CtRlrd-_Fl5ZVO_.js} +1 -1
- package/dist/assets/{Preview-CZH7Vvu6.js → Preview-CcM5xd29.js} +1 -1
- package/dist/assets/{ProductsCarousel-COZZMTcH-ZuodLSHT.js → ProductsCarousel-sNagRI0c-DUD3i-ok.js} +1 -1
- package/dist/assets/{PromoBaseCards-Bmn6TN2k-Ct-ISdkn.js → PromoBaseCards-BUk-u73S-RrpdyoYd.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-DYxoiSkA-sKx87rCc.js → QBOConnectionDialog-C1rEAxUE-BTg5P-0s.js} +1 -1
- package/dist/assets/{QBOSetupSection-Cdz2PDxV-m21V-84t.js → QBOSetupSection-iQJCHR-K-laiJIXnO.js} +9 -9
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-C-QEoqCw-DmLqQrHw.js → ReimbursementApprovalRuleDetailPage-BPIKZ9v1-DjyckHg2.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-Ch2sxTFV-DTKL4QiN.js → ReimbursementApprovalRulesPage-AE810nQZ-BJY-tIxb.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-DSF6SfKn-DiLLrGZj.js → ReimbursementDetailPage-CYuZJL_J-DhILehDE.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-F1ROFd63-CPWXAODT.js → ReimbursementPromoPage-CaxjSwrz-NQ5_y0d5.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-l2mhLFuo-B0YyTVJh.js → ReimbursementSetUpPage-Bw77MBHF-BVLsQv_F.js} +5 -5
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DyPxPnlu-DLeQ0zma.js → ReimbursementsBulkReviewDrawerPage-B-svIloS-lAbBYvXL.js} +1 -1
- package/dist/assets/{ReloadCard-CDcJMl9F-GNMvLISk.js → ReloadCard-D5kxTfzJ-BlQuIN3b.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-DvCk55Hn-DCcuXTG_.js → ReportTableViewSelector-BZU8yltx-DPOyBIgl.js} +3 -3
- package/dist/assets/{ReportsPage-DfqqKSt3-BQoKmGT6.js → ReportsPage-CdN9MEVy-D4wm1xim.js} +1 -1
- package/dist/assets/{RevenueChart-BONT9upM-AwoVaQmi.js → RevenueChart-B_RMeweH-Be8mnN5x.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-857bVurA-BnvJYsAZ.js → ReviewDetailsPage-a73YIZSO-BnoBJdi7.js} +1 -1
- package/dist/assets/{ReviewOverlay-ClQg7d2j-v7nL9_jQ.js → ReviewOverlay-Ubmz06uP-Cm36Xckx.js} +1 -1
- package/dist/assets/{RoleWithToolTip-C0G1Hgp_-DgLDHedD.js → RoleWithToolTip-BYO1YG6N-CsuUGffE.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CJ_JBtxS-ds_tcGHg.js → ScheduleDetailsFixedAssetsPage-vgqilDC8-6un1JhGQ.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-B1aEwPL--DKZ6ckfZ.js → ScheduleDetailsPage-DdEeFryA-Bq9g-UVH.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-DhU7PI91-Drw07NVk.js → ScheduleSequenceTable-poNEzbqS-BRLARTM1.js} +1 -1
- package/dist/assets/{ScreenRoutes-NoYDM6g5.js → ScreenRoutes-p9gAwqEY.js} +1 -1
- package/dist/assets/{SetUpAccountSection-C8dulq9s-igv87Kpb.js → SetUpAccountSection-BSOGwHCj-KS8UdoT_.js} +1 -1
- package/dist/assets/{SignIn-wDe7lbGR-Bs2G2XPX.js → SignIn-q4J9wRx8-Bk2dYQIf.js} +9 -9
- package/dist/assets/{SignInScreen-CRSTFj8o.js → SignInScreen-vTgQXYqI.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BdddUHrW-DZL3NU-v.js → SpendManagementListViewPage-DKRkSADM-Cuwj5Vw-.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-BBJm3884-Dz5taYo8.js → SpendManagementPerTabPage-Cd30NnXU-2P1mmwpY.js} +1 -1
- package/dist/assets/{SpendManagementSection-6R5y0Hy4-DpP4sVHm.js → SpendManagementSection-CPBOh_J5-DltaK90h.js} +1 -1
- package/dist/assets/{StatementItem-qsoXKx_p-pNr1IluZ.js → StatementItem-NyOORj5f-D-DvPPZf.js} +5 -5
- package/dist/assets/StatementsPage-Cp77wyFS-BIeZB6RT.js +58 -0
- package/dist/assets/{StatusSwitcher-D3qCg5J1-BkY5Cp0Q.js → StatusSwitcher-DN-yYdli-CgJu7kXT.js} +1 -1
- package/dist/assets/{SubTabSwitcher-BXajy75j-7lFvlNwq.js → SubTabSwitcher-D1LNrhUn-_eTvOj2H.js} +1 -1
- package/dist/assets/{SummaryCard-B1d4_5lE-CNsr_2fP.js → SummaryCard-DgIPSt4y-Bv9vNB1A.js} +1 -1
- package/dist/assets/{TaskManagementPage-h3Rb49Jj-CNmsH8Bn.js → TaskManagementPage-BaLJR4-7-Dp7S7sHv.js} +7 -7
- package/dist/assets/{TimeRangeSwitcher-DpUOmqiR-BkgSCdDu.js → TimeRangeSwitcher-CkgGEwEw-DLFFATZh.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-BKEtsv_r-DofGHtuy.js → TimeframeSwitcher-B8fpnYS8-DoyazB8M.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DECnQIMT-DklwR3Oh.js → TimeframeSwitcherWithToggle-DwFo6jY4-DjWF1_Ms.js} +10 -10
- package/dist/assets/{TopExCard-leQR29Sq-DbBKY2kF.js → TopExCard-PayAZZY--DDfpjs7Q.js} +1 -1
- package/dist/assets/{TopExDetailPage-Dgg7Do6D-CLQp45K6.js → TopExDetailPage-Mp2KcYf6-CqGI0h1f.js} +5 -5
- package/dist/assets/{TransactionActivityLogPage-CU2pUJQL-CjnUTi2x.js → TransactionActivityLogPage-CnmL_hUz-ykqDkIx9.js} +1 -1
- package/dist/assets/{TransactionDetailPage-FT2IPLH7-DNrep9w3.js → TransactionDetailPage-Bqlnmn8Y-qYNavetm.js} +17 -17
- package/dist/assets/{TransactionList-C2MGkQYM-CThHqUau.js → TransactionList-BOmlsfpv-BXIrXT71.js} +1 -1
- package/dist/assets/{TransactionListBig-CZ3jIxzR-DdzitxeV.js → TransactionListBig-CaMT-rq_-ZmvtnqQx.js} +4 -4
- package/dist/assets/{TransactionListPage-PCa4exLO-C_Mi9GFP.js → TransactionListPage-D_dgwnFp-BoAbu83a.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-BgcqndCu-DohEqgFa.js → TransactionVendorDetailPage-DlXuiPC5-BlOz-SLk.js} +1 -1
- package/dist/assets/{TransferDrawerPage-SirvPH4z-Dhx92Eak.js → TransferDrawerPage-C2VcssbM-g-4oubp2.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-B_WK1aOv-CKMHMhfX.js → TreasuryOverviewPage-DyyoGY23-SGYhYArr.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-B_D63Dr2-BtZgUmxD.js → TreasuryPromoPage-B9Hf7oxZ-WQLHnPdk.js} +1 -1
- package/dist/assets/TreasuryStatementsPage-DOzJzfTG-X055ycRR.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-9gNdkQZp-BZSymf9G.js → TreasuryTaxLetterPage-BcTBr9x9-r-5UDcMp.js} +1 -1
- package/dist/assets/{TrendChart-COItOWPp-DdlLT0RF.js → TrendChart-BvXDrgUJ-TSD2TQxY.js} +1 -1
- package/dist/assets/{TrendWithTransactions-DgAw_8CI-D3ylDlH1.js → TrendWithTransactions-RCpzdPf3-Bdp6gyRQ.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-B9EziB6Q-CYFawV2c.js → UncategorizedAccountsMappingPage-B1m3iXh5-CwBQoLRz.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-DGWNyWV1-DjLDlFXV.js → UnitIntegrationPage-lVg_8mQ4-B4J9SS29.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-DWmMz_8y-Dz32FFZZ.js → UploadAdditionalDocumentOverlay-DrAWxBXn-BJ5UA_LJ.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-dh2g8kqu-DwjVFUY9.js → Vendor2FAPopup-C8m_OJEH-BQPav_Ax.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-JhO6KtMC-Dqi6iZLe.js +1 -0
- package/dist/assets/{VendorDetailPage-CGqoIODq-BDYAlJyl.js → VendorDetailPage-Y9_hsgjs-COSKYEB6.js} +1 -1
- package/dist/assets/VendorDomesticWireDetailsPage-D0RsDHxf-B0u1aa5Q.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CsnlHrCl-DgNAgTDa.js → VendorFiling1099EditablePage-CPevpiim-eRvxUTfJ.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-DC1j2sO_-cpxY9ygL.js → VendorFirstReviewPage-CXftFNl_-DnL32muY.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-Drr00a6C-Yba9NQtd.js → VendorInternationalWireDetailsPage-88NtGE3e-B2yz8nAf.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BTh-VP1b-CiJGtG3T.js +1 -0
- package/dist/assets/{VendorsAccountsSection-BtdwR8u4-DsGQkmuk.js → VendorsAccountsSection-DorsKXyL-CrlagDeB.js} +1 -1
- package/dist/assets/{VerifyDevice-Bhr_yHpE-jUN37hWe.js → VerifyDevice-DAym8rUN-dIhJH8cf.js} +1 -1
- package/dist/assets/{VideoPlayer-wlJX6lEq-BFMZsmlG.js → VideoPlayer-53OvOC7l-CYCjx0EY.js} +2 -2
- package/dist/assets/{VideoPopup-BPptwR51-Cm_fePoy.js → VideoPopup-v9quqdro-2Fz0-BWi.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-CHDMmfGz-D_ymBpUW.js → WarningsDrawerPage-B-1cevae-BN2Brh3F.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-CSsu44ls-DyRikcBD.js → ZeniAccountDetailPage-CFEGqW5l-OJ7KEJXi.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-BZwGCrzx-CRCjv0Br.js → ZeniAccountListViewPage-j85TO5tM-BA4hUweX.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-CrNjnkNS-DFkeu8bt.js → ZeniAccountNavBarPieces-Bv34Vsqj-CXo0mnB4.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-CahV-Rmf-Dc7RG49a.js → ZeniAccountPromoPage-DeHmh4My-DTptNNqM.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-DSNDNKZr-C8d2__PZ.js → ZeniAccountSetupPage-ofkQR72l-HeZCtum9.js} +1 -1
- package/dist/assets/{ZeniCopyright-BNGdkMOa-BB4Hy1A5.js → ZeniCopyright-CmCqmJmV-Bs4eGeTl.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DuD1JtSv-6-ePg5hP.js → ZeniTransferAmountSlider-BpfqM032-D_645Bm1.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-OZ5gpoAM.js → add-to-wallet-DgdBD8_G-HaPXUI9c.js} +1 -1
- package/dist/assets/{analytics-TwdLweES.js → analytics-CivFEuof.js} +1 -1
- package/dist/assets/{analyticsHelper-Cah6MQ3x.js → analyticsHelper-B1rdy3gN.js} +1 -1
- package/dist/assets/{analyticsHelper-DjQYjslY-BwgxrHpW.js → analyticsHelper-qtejXlXH-DOVP9Wm4.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-q2OU5IkV.js → arrow-south-east-round-PEovUgvH-Cl5-B9FN.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-BEBK8d08.js → auto-transfer-rule-mbafm5D3-B2DzCTcV.js} +1 -1
- package/dist/assets/{chartTypes-BGl-YMiu-wkO2seRK.js → chartTypes-BqRsL6eJ-CBZrRJTS.js} +1 -1
- package/dist/assets/{commonDimensions-CuKo3wam-Ch7sJXeF.js → commonDimensions-CzWWgDTA-CZ5JdBHB.js} +1 -1
- package/dist/assets/{commonTypes-CfAg6Jvv-DG06gejU.js → commonTypes-CF6UyWSv-tnGFHb_I.js} +1 -1
- package/dist/assets/{constants-BRyQqmbK.js → constants-BHpV7qJs.js} +1 -1
- package/dist/assets/{core-C_RwbDgZ.js → core-UsQu6ilI.js} +1 -1
- package/dist/assets/{dash.all.min-BXIjGNzm.js → dash.all.min-MHg1V8MT.js} +1 -1
- package/dist/assets/{downloadPdf-Dcd8BY_9-DP56vTAt.js → downloadPdf-BFFM3Hea-Bqbwez12.js} +1 -1
- package/dist/assets/{empty-D7p7xixl.js → empty-BYBjLuG8.js} +1 -1
- package/dist/assets/{empty-CN54c-dU.js → empty-DDB_VyWo.js} +1 -1
- package/dist/assets/{epic-CThn8LAI.js → epic-oPbd4wIJ.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-oia6LvJT.js → gift-box-Cmt9OgIZ-DXUXfbtG.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DCjrEnAk.js → graphic-no-data-l-DU4J8fDt-mfpUahAn.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Db_-34x6.js → graphic-no-data-net-burn-l-CzmycA0m-D5jfTblV.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Dcowt3IG.js → handshake-BPg58FML-BrMpfcGt.js} +1 -1
- package/dist/assets/{helper-DkzA3y2L-BlJrvZUd.js → helper-COxPEvgL-D-otlmR3.js} +1 -1
- package/dist/assets/{index-DvYI3iXJ.js → index-B6p1WCWC.js} +1 -1
- package/dist/assets/{index-B-ek68tb.js → index-BaCjyCwK.js} +1 -1
- package/dist/assets/{index-B0kAPzkH.js → index-BeBXELGm.js} +8 -8
- package/dist/assets/{index-hPlkpvne.js → index-CS2gc3-y.js} +1 -1
- package/dist/assets/{index-CJXgYa1j.js → index-CpxsGNeN.js} +1 -1
- package/dist/assets/{index-C7AzBAhT.js → index-_mV-XqCg.js} +1 -1
- package/dist/assets/{index-BC4cjDzB.js → index-lZR4zL6Z.js} +1 -1
- package/dist/assets/{lexical-DZ4skawM.js → lexical-BKjLQtIV.js} +1 -1
- package/dist/assets/{liveblocks-CN5hALk7.js → liveblocks-Ckf7CW56.js} +1 -1
- package/dist/assets/{lottie-B-zs781A.js → lottie-70oTIUav.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-COOJxneh-Cdiir751.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-CcuLqf_I-D6sga1Fl.js +1 -0
- package/dist/assets/{mapSpacerToTreeNode-BDjo5N-i-Ba6y7Xdd.js → mapSpacerToTreeNode-Ci5bdH6P-C_ZtKNt5.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CCZ9A7A6-B60wCl1o.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cql9mEn3-DEsG-mWU.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CIXgJHQz-hJRxpP0f.js +1 -0
- package/dist/assets/{mui-B_fu8zAT.js → mui-DyrXxcaY.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CvAL0hAO.js → page-detail-CWX5S47F-DjzP0i2w.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-DRHuamSe.js → panelSelectedMixin-Cddsb26L-BRQKaHpg.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-BgsJfXrp.js → radio-default-CiSgisfh-Dpj35KsG.js} +1 -1
- package/dist/assets/{react-uUMjmJkq.js → react-BNjqfbZg.js} +1 -1
- package/dist/assets/{react-B3oFwy7V.js → react-BZuFWm8r.js} +2 -2
- package/dist/assets/{react-DJ0zzqQv.js → react-BfhE1tLW.js} +1 -1
- package/dist/assets/{react-BG0GUKse.js → react-C-Qv5HU8.js} +1 -1
- package/dist/assets/{react-Bcm_MkQe.js → react-CAY4npt2.js} +1 -1
- package/dist/assets/{react-CWuBuyxj.js → react-CgMYr4yt.js} +1 -1
- package/dist/assets/{react-PE1K_DTb.js → react-DL3mzyRY.js} +1 -1
- package/dist/assets/{react-rwxEP-9P.js → react-DzT0txyu.js} +1 -1
- package/dist/assets/{recharts-BkmpOx_p.js → recharts-ChhaK6iT.js} +1 -1
- package/dist/assets/{sentry-xNvKSthz.js → sentry-C-_CW7F_.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BV2AyAgf.js → shield-DOlUxcFf-_vFr_JxE.js} +1 -1
- package/dist/assets/toCOABalancesWithID-B70YK7cw-BpvjorH5.js +1 -0
- package/dist/assets/{toChartData-B4ligi4c-DrdkiVwu.js → toChartData-CWgd8E5c-CaPmCYYw.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-Deu8S236.js → upload-reimbursement-receipt-O2N8vcO7-GwRYaLJH.js} +1 -1
- package/dist/assets/{uploadAttachment-DgPDimcm-Da5VAf0_.js → uploadAttachment-D1ybl0Fy-DKj_kIvj.js} +1 -1
- package/dist/assets/{uploadReceipts-CIgkuVpu-C2QISLpf.js → uploadReceipts-CIgkuVpu-CHotvSvq.js} +1 -1
- package/dist/assets/{url-CPrPdBBS.js → url-DhRhN23J.js} +1 -1
- package/dist/assets/{url-DN9fcrN3.js → url-DnRijP4K.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DMOFKAWg.js → useLongPress-GCK2COYQ-CjewB8QL.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-Bx4ltDgD.js → usp-line-BBd1wKwW-CUJOAj_B.js} +1 -1
- package/dist/assets/{utils-4bW-VyLb.js → utils-CdVNjKQw.js} +1 -1
- package/dist/assets/{zeni-epic-state-SAYXyeZn.js → zeni-epic-state-CQ4Yidqa.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-v8-NT3FJ-BLnDlpmT.js +0 -18
- package/dist/assets/BalancesInsightWithToolTip-D4q45w1q-Sr3IiaKA.js +0 -38
- package/dist/assets/ChargeCardPromoPage-AI5bladj-CsH8Ww1U.js +0 -222
- package/dist/assets/CustomerOnboardingContainerPage-B5kVGk_V-DaS2tj3d.js +0 -1
- package/dist/assets/EntityDetailPage-BDyO7iLI-pszb-aYq.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-DbhqYo7W-CYawNShs.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D0JDLfbz-DlXa2hzV.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DChqrJN7--07rCj7l.js +0 -1
- package/dist/assets/MailingDetailsSection-DqSOlu2t-CrZfw4DZ.js +0 -21
- package/dist/assets/StatementsPage-Cn7WG5-S-Dtuy_acT.js +0 -58
- package/dist/assets/TreasuryStatementsPage-BGe0fhBe-JspAuqOT.js +0 -58
- package/dist/assets/VendorACHDetailsPage-C0vIRpRW-BySjhNag.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BVXSOMiH-BC29xKDB.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CZ5N8G2o-BIVj-ZnL.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-lABm-2N9-CQKoretJ.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-COcUb2pF-DrWbifzP.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CvVUjW74-BCLjt2k3.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CwHF76sn-CklAjOvj.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B7LYTZXQ-Chbc9s9v.js +0 -1
- package/dist/assets/toCOABalancesWithID-CGYYTIjt-a4fWXB1c.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as k,e as f,V as t,bE as te,fx as L,w as u,b5 as Q,c9 as ie,o as i,O as w,d as B,x as h,an as v,dt as oe,u as l,a_ as re,aQ as O,b$ as ae,ak as $,ac as z,jy as X,jz as q,je as se,cI as ne,cL as de,ao as T,jf as le,jg as ce}from"./index-
|
|
1
|
+
import{g as k,e as f,V as t,bE as te,fx as L,w as u,b5 as Q,c9 as ie,o as i,O as w,d as B,x as h,an as v,dt as oe,u as l,a_ as re,aQ as O,b$ as ae,ak as $,ac as z,jy as X,jz as q,je as se,cI as ne,cL as de,ao as T,jf as le,jg as ce}from"./index-BeBXELGm.js";import{n as o}from"./mui-DyrXxcaY.js";import{H0 as b,bh as he}from"./zeni-epic-state-CQ4Yidqa.js";import{P as R,a as K}from"./sentry-C-_CW7F_.js";import{F as pe}from"./InsightsSection-D9PJ55E6-BjmAQtAO.js";import{H as ge,I as me,X as xe,Y as we,J as ue,K as ye,V as fe}from"./recharts-ChhaK6iT.js";import"./liveblocks-Ckf7CW56.js";import"./core-UsQu6ilI.js";import"./lottie-70oTIUav.js";import"./analytics-CivFEuof.js";import"./lexical-BKjLQtIV.js";import"./utils-CdVNjKQw.js";import"./NavigationDots-Kh5ODrCQ-HRI-lcK7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="e66cdc11-9835-42bd-8c6b-dacd9900c17a",e._sentryDebugIdIdentifier="sentry-dbid-e66cdc11-9835-42bd-8c6b-dacd9900c17a")}catch{}})();const be=({x:e,y:a,width:n,height:s,payload:r})=>{const c=k();return t.jsx(fe,{fill:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",stroke:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",x:e,y:a,width:n,height:s})},E=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,$e=w.getLocalizedStrings().dateFormat.visual.MMMMFormat,ve=({active:e,payload:a,label:n})=>e===!0&&(a?.[0].payload).showTooltip===!0?t.jsx(je,{children:t.jsx(ke,{children:t.jsxs("div",{children:[t.jsxs(W,{children:[t.jsx(G,{children:E.month})," ",t.jsx(H,{children:b(n).format($e)})]}),t.jsxs(W,{children:[t.jsx(G,{children:E.cashback}),t.jsx(H,{children:O("0,0.[00]",{amount:a?.[0].value??0,currencyCode:(a?.[0].payload).currencyCode,currencySymbol:(a?.[0].payload).currencySymbol})})]})]})})}):null,W=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: ${i.sp1};
|
|
4
4
|
`,je=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as at,e as Ie,ay as Lt,a9 as Dt,hb as br,hU as Ti,aX as et,hc as $r,aS as tt,V as t,hg as Ai,bE as Ei,u as h,g7 as vr,aQ as qe,ac as Q,bD as Ri,c1 as ta,d as c,o as a,O as ke,jk as kr,w as _,cy as Fi,jl as Pi,fr as zi,h1 as Mi,jm as Vi,bH as Oi,bT as jr,aV as aa,x as T,b9 as ra,bM as Ir,ak as Ce,eU as Hi,bc as ia,j8 as Ni,aW as Lr,y as ft,hf as Dr,cl as Bi,L as Ct,b5 as Wi,dz as _i,cC as Ui,jn as Zi,jo as Tr,jp as dt,p as Gi,b1 as qi,jq as Yi,jr as Ji,cz as Ki,dg as Xi,hR as Qi,an as ze,c3 as eo,ax as Ut,js as Ma,jt as to,du as ao,N as Va,M as Ar,bb as ro,aE as io,j2 as mt,jd as oo,ji as no,jj as so,dE as Oa,f9 as co,a as Er,cI as Rr,jb as lo,c6 as ho,n as Fr,ju as po,aw as kt,c9 as Ha,bz as uo,dq as mo,as as go,ao as lt,ha as Co,b as fo,bI as wo,jv as Tt,fC as xo,jw as Pr,gK as zr,jx as It,iy as Mr,e2 as Vr,b$ as yo,ex as Or,je as So,cL as bo,e1 as $o,da as vo,jf as ko,jg as jo,eD as Io,co as Lo,cp as Do}from"./index-
|
|
1
|
+
import{g as at,e as Ie,ay as Lt,a9 as Dt,hb as br,hU as Ti,aX as et,hc as $r,aS as tt,V as t,hg as Ai,bE as Ei,u as h,g7 as vr,aQ as qe,ac as Q,bD as Ri,c1 as ta,d as c,o as a,O as ke,jk as kr,w as _,cy as Fi,jl as Pi,fr as zi,h1 as Mi,jm as Vi,bH as Oi,bT as jr,aV as aa,x as T,b9 as ra,bM as Ir,ak as Ce,eU as Hi,bc as ia,j8 as Ni,aW as Lr,y as ft,hf as Dr,cl as Bi,L as Ct,b5 as Wi,dz as _i,cC as Ui,jn as Zi,jo as Tr,jp as dt,p as Gi,b1 as qi,jq as Yi,jr as Ji,cz as Ki,dg as Xi,hR as Qi,an as ze,c3 as eo,ax as Ut,js as Ma,jt as to,du as ao,N as Va,M as Ar,bb as ro,aE as io,j2 as mt,jd as oo,ji as no,jj as so,dE as Oa,f9 as co,a as Er,cI as Rr,jb as lo,c6 as ho,n as Fr,ju as po,aw as kt,c9 as Ha,bz as uo,dq as mo,as as go,ao as lt,ha as Co,b as fo,bI as wo,jv as Tt,fC as xo,jw as Pr,gK as zr,jx as It,iy as Mr,e2 as Vr,b$ as yo,ex as Or,je as So,cL as bo,e1 as $o,da as vo,jf as ko,jg as jo,eD as Io,co as Lo,cp as Do}from"./index-BeBXELGm.js";import{a as o,P as To}from"./sentry-C-_CW7F_.js";import{n as r,c as we,k as Hr}from"./mui-DyrXxcaY.js";import{FB as At,bh as Ao,bf as Eo,G$ as Ro}from"./zeni-epic-state-CQ4Yidqa.js";import{x as Fo}from"./NavigationDots-Kh5ODrCQ-HRI-lcK7.js";import{A as Po,i as zo,a as Mo,l as Vo,r as Oo,t as Ho,n as No}from"./add-to-wallet-DgdBD8_G-HaPXUI9c.js";import{L as Zt}from"./lottie-70oTIUav.js";import{j as Bo}from"./CardNumberSubText-CN1RN7Tf-vqSRDVxl.js";import{t as Wo}from"./panelSelectedMixin-Cddsb26L-BRQKaHpg.js";import{r as Nr}from"./core-UsQu6ilI.js";import{l as Br}from"./uploadReceipts-CIgkuVpu-CHotvSvq.js";import{L as _o,z as Uo,k as Zo,P as Go}from"./LockCardPage-D2dUPnNL-wmb_MErE.js";import"./liveblocks-Ckf7CW56.js";import"./recharts-ChhaK6iT.js";import"./analytics-CivFEuof.js";import"./lexical-BKjLQtIV.js";import"./utils-CdVNjKQw.js";import"./RoleWithToolTip-BYO1YG6N-CsuUGffE.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]="4d074331-a777-424f-91af-3690faa750b6",e._sentryDebugIdIdentifier="sentry-dbid-4d074331-a777-424f-91af-3690faa750b6")}catch{}})();const Wr=ke.getLocalizedStrings().spendManagement.chargeCard,qo=({controllerEmails:e,classListFetchState:i,isChargeCardFeatureEnabled:s,isDebitCardFeatureEnabled:m,isDebitCardSetupEnabled:p,isChargeCardSetupEnabled:w,chargeCardDetailView:l,productInformation:C,creditAccountInformation:g,debitAccountInformation:x,creditAccount:S,creditAccountRepayment:n,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,appleWalletLink:j,googleWalletLink:D,style:u,showDrawerAnimation:A,setWalletType:b,setIsAddToWalletDrawerOpen:z,isDebitCard:M})=>{const y=Dt().analytics,{isIPadScreen:Z}=Yi(),{isAndroidScreen:Y}=Ji(),J=Lt(),E=At(J.loggedInUserRoleMap);return t.jsx(Yo,{style:u,children:Z===!0?t.jsx(ea,{onClick:()=>{dt({chargeCardDetailView:l,classListFetchState:i,analytics:y,isDebitCard:M,isChargeCardAdmin:E,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",productInformation:C,creditAccountInformation:g,debitAccountInformation:x,isChargeCardFeatureEnabled:s,creditAccount:S,creditAccountRepayment:n}),window.open(j,"_blank")}}):Y===!0?t.jsx(Qt,{onClick:()=>{dt({chargeCardDetailView:l,classListFetchState:i,analytics:y,isDebitCard:M,isChargeCardAdmin:E,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",productInformation:C,creditAccountInformation:g,debitAccountInformation:x,isChargeCardFeatureEnabled:s,creditAccount:S,creditAccountRepayment:n}),window.open(D,"_blank")}}):t.jsxs(t.Fragment,{children:[t.jsx(ea,{onClick:()=>{b("apple"),A.current="slide-in-right-to-left-add-to-wallet",dt({chargeCardDetailView:l,classListFetchState:i,analytics:y,isDebitCard:M,isChargeCardAdmin:E,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",isChargeCardFeatureEnabled:s,productInformation:C,creditAccountInformation:g,debitAccountInformation:x,creditAccount:S,creditAccountRepayment:n}),z(!0)}}),t.jsx(Qt,{onClick:()=>{b("google"),A.current="slide-in-right-to-left-add-to-wallet",dt({chargeCardDetailView:l,classListFetchState:i,analytics:y,isDebitCard:M,isChargeCardAdmin:E,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",isChargeCardFeatureEnabled:s,productInformation:C,creditAccountInformation:g,debitAccountInformation:x,creditAccount:S,creditAccountRepayment:n}),z(!0)}})]})})},Qt=({onClick:e})=>{const i=at();return t.jsx(Er,{prefixIcon:t.jsx(Jo,{}),label:Wr.cardDetails.addToGoogleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":Q("add-to-google-wallet-button")})},ea=({onClick:e})=>{const i=at();return t.jsx(Er,{prefixIcon:t.jsx(Ko,{}),label:Wr.cardDetails.addToAppleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":Q("add-to-apple-wallet-button")})},Yo=r.div`
|
|
2
2
|
margin-top: ${a.sp4};
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a9 as Xa,aS as z,ay as er,g6 as tr,j2 as W,e as Pe,o as a,g as ta,V as t,bE as ar,gk as rr,fx as ie,w as D,c1 as nt,d as p,aQ as me,ac as V,a_ as st,O as Fe,x as H,ak as K,N as ir,M as or,d8 as nr,au as aa,bM as sr,b1 as ct,aV as dr,ao as lt,aa as cr,h4 as lr,eJ as ur,aq as hr,ae as mr,gq as pr,a as Nt,u as _,di as ra,as as Cr,an as gr,c as br,d7 as fr,bx as xr,c3 as yr}from"./index-
|
|
1
|
+
import{a9 as Xa,aS as z,ay as er,g6 as tr,j2 as W,e as Pe,o as a,g as ta,V as t,bE as ar,gk as rr,fx as ie,w as D,c1 as nt,d as p,aQ as me,ac as V,a_ as st,O as Fe,x as H,ak as K,N as ir,M as or,d8 as nr,au as aa,bM as sr,b1 as ct,aV as dr,ao as lt,aa as cr,h4 as lr,eJ as ur,aq as hr,ae as mr,gq as pr,a as Nt,u as _,di as ra,as as Cr,an as gr,c as br,d7 as fr,bx as xr,c3 as yr}from"./index-BeBXELGm.js";import{a as l}from"./sentry-C-_CW7F_.js";import{n as r,c as ut,k as Sr}from"./mui-DyrXxcaY.js";import{FB as wr,G_ as kr,bh as zt,bL as $r,bZ as Ir}from"./zeni-epic-state-CQ4Yidqa.js";import{t as vr}from"./SpendManagementSection-CPBOh_J5-DltaK90h.js";import{D as oe,r as jr,i as Lr}from"./ChargeCardListTable-BiKjkqVs-DKEOjcVA.js";import{ChargeCardPromoUserContent as Ar}from"./ChargeCardPromoPage-6JwKgWli-CPUVoMgw.js";import{N as Er,J as Pr}from"./PromoBaseCards-BUk-u73S-RrpdyoYd.js";import{z as Ot,L as _t,k as Fr,P as Tr}from"./LockCardPage-D2dUPnNL-wmb_MErE.js";import{r as Mr,i as Dr}from"./graphic-no-data-net-burn-l-CzmycA0m-D5jfTblV.js";import{t as Rr,o as Br}from"./arrow-south-east-round-PEovUgvH-Cl5-B9FN.js";import"./liveblocks-Ckf7CW56.js";import"./core-UsQu6ilI.js";import"./recharts-ChhaK6iT.js";import"./lottie-70oTIUav.js";import"./analytics-CivFEuof.js";import"./lexical-BKjLQtIV.js";import"./utils-CdVNjKQw.js";import"./RoleWithToolTip-BYO1YG6N-CsuUGffE.js";import"./CardNumberSubText-CN1RN7Tf-vqSRDVxl.js";import"./NavigationDots-Kh5ODrCQ-HRI-lcK7.js";import"./usp-line-BBd1wKwW-CUJOAj_B.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="d4b2d1ec-81a8-4a38-8f78-7ba495981abc",e._sentryDebugIdIdentifier="sentry-dbid-d4b2d1ec-81a8-4a38-8f78-7ba495981abc")}catch{}})();const ht={infoSubheadingTextMarginTop:new H(_[0],_[0]),cardsMinWidth:new H(343,353)},Ee=Fe.getLocalizedStrings().spendManagement.chargeCard.chargeCardsPromo.listPage,Ut=({cardPromoType:e,cardText:c,header:u,title:d,subTitle:n,slidingTextList:m,onClick:F,status:$,statusMessage:U})=>{const B=Pe(),A=$!==void 0,G=$==="rejected"?Ee.status.requestRejected:$==="under_review"?Ee.status.requestUnderReview:"";return t.jsxs(zr,{windowSize:B,cardPromoType:e,"data-testid":V("list-page-promo-card",e),onClick:()=>F(e),children:[t.jsxs(ia,{isStatusMode:A,children:[t.jsxs(na,{children:[A?t.jsx(Ur,{children:G}):t.jsx(oa,{children:u}),t.jsx(Wr,{children:d}),A?null:t.jsx(qr,{children:n})]}),!A&&t.jsxs(Kr,{children:[t.jsx(Jr,{}),m.length>0&&t.jsx(dt,{slideUpCount:m.length,children:m.map((ne,se)=>t.jsx(sa,{children:ne},`card-promo-${se.toString()}`))}),t.jsx(Yr,{})]}),U!=null&&A?t.jsx(Vr,{status:$,children:U}):null]}),t.jsx(Qr,{isStatusMode:A,children:t.jsx(Er,{cardPromoType:e,cardText:c,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})}),t.jsx(Zr,{isStatusMode:A,children:t.jsx(Pr,{cardPromoType:e,cardText:c,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})})]})},Vt=({cardType:e,header:c,title:u,creditLimit:d,onCreateNowClick:n})=>{const m=Pe();return t.jsx(Or,{windowSize:m,cardType:e,children:t.jsxs(_r,{children:[t.jsxs(na,{children:[t.jsx(oa,{children:c}),t.jsx(Gr,{children:t.jsx(Hr,{children:u})}),t.jsx(Xr,{windowSize:m,children:t.jsxs(ei,{windowSize:m,onClick:()=>n(e),"data-testid":V("total-cashback-info"),children:[t.jsx(sa,{children:Ee.createNow}),t.jsx(ti,{})]})})]}),e==="creditCard"?t.jsxs(ai,{children:[t.jsx(ri,{children:Ee.creditLimit}),t.jsx(ii,{children:d})]}):null]})})},Nr=e=>{const c=e-1;let u=`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateY(0);
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{cl as ni,V as t,aa as li,ae as di,O as le,e as ie,ay as Se,a9 as ci,g as ze,hb as hi,j3 as pi,j4 as ui,j5 as mi,aT as gi,o as i,ac as G,cu as xi,w as Re,d as I,b5 as wi,cC as Ci,j6 as fi,j7 as yi,c1 as ye,cF as Oe,bT as Si,aV as ki,x as C,eU as vi,bc as ji,j8 as $i,aW as bi,y as Ii,ak as ee,hf as Li,ao as Y,an as J,u as p,cU as zi,eS as Fi,j9 as Ai,ja as Pi,N as ft,c6 as yt,jb as St,jc as Bi,b$ as Ri,cI as Ye,jd as kt,dE as Di,dF as q,aQ as ce,cE as vt,L as jt,je as _i,cL as Ei,iX as Je,bM as $t,bO as bt,jf as Ti,jg as Oi,aX as je,bv as Vi,c7 as Ui,c8 as Ni,jh as Mi}from"./index-B0kAPzkH.js";import{P as pe,a as f}from"./sentry-xNvKSthz.js";import{n as o,c as Xe}from"./mui-B_fu8zAT.js";import{T as It}from"./RoleWithToolTip-C0G1Hgp_-DgLDHedD.js";import{j as Ve}from"./CardNumberSubText-FNfrozX6-CM70VMV8.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]="fa4b5466-d345-41a6-a4b0-31e49be8f9e9",e._sentryDebugIdIdentifier="sentry-dbid-fa4b5466-d345-41a6-a4b0-31e49be8f9e9")}catch{}})();const ge=le.getLocalizedStrings().spendManagement.chargeCard.cardList.header,Wi=le.getLocalizedStrings().common.strings.empty,Qe={key:"owner",value:ge.owner,sortOrder:"ascending",width:new C(120,120,160,200,200)},Ze={key:"cardName",value:ge.cardName,sortOrder:"ascending",width:new C(120,120,160,171,171)},et={key:"cardType",value:ge.cardType,sortOrder:"ascending",width:new C(120,120,130,170,170)},tt={key:"status",value:ge.status,sortOrder:"ascending",width:new C(115,115,125,132,132)},it={key:"utilisation",value:ge.utilisation,sortOrder:"ascending",width:new C(p[11],p[11],p[11],p[12],120)},ot={key:"limit",value:ge.limit,sortOrder:"ascending",width:new C(68,68,68,120,120)},Lt=e=>e===!0?[{...Qe,width:new C(0,0),value:Wi},Ze,et,tt,it,ot]:[Qe,Ze,et,tt,it,ot],{common:Ce,spendManagement:{billPay:{paymentDetails:{feePercent:Hi}},chargeCard:j}}=le.getLocalizedStrings(),re={containerPaddingLeft:new C(p[3],p[2]),containerPaddingRight:new C(p[2],p[3]),containerPaddingTop:new C(p[2],p[3]),containerPaddingBottom:new C(p[2],p[3]),containerMarginLeft:new C(p[4],p[0]),containerMarginRight:new C(p[4],p[0]),webkitLineClamp:new C(2,1,1,1,1)};var Ki=(e=>(e.CLOSE="close",e.LOCK="lock",e.UNLOCK="unlock",e.RENAME="rename",e.UPDATE_SPEND_LIMIT="update_spend_limit",e.REVOKE_INVITE="revoke_invite",e))(Ki||{});const qi={moreItemFont:new ft("extraSmallRegular","smallRegular")},Gi=({setCardIdForRowAction:e,setActionTypeForRowAction:s,rowActionView:r,revokeChargeCardsInviteFetchState:d,unlockChargeCardsFetchState:c,cardsSelectedForBulkAction:l,cardDetail:a,isCardControlsEnabled:n,showViewForCardUser:x,signedInUser:w,resendInviteId:g,index:S,onChargeCardRowClick:$,onChargeCardResendInviteClick:k})=>{const[h,m]=f.useState(!1),[y,B]=f.useState(!1);f.useEffect(()=>{h||B(!1)},[h]),f.useEffect(()=>{l.length>0&&h&&(m(!1),B(!1))},[l.length,h]);const R=r.cardId===a.id,D=l.includes(a.id),z=R&&r.unlockChargeCardsFetchState.fetchState==="In-Progress"||D&&c==="In-Progress",N=R&&r.revokeChargeCardFetchState.fetchState==="In-Progress"||D&&d==="In-Progress",u=z||N,v=ie(),E=!!Se().loggedInUserRole.includes("charge_card_user")||x,M=f.useCallback(()=>{$(a.id,S)},[a.id]),O=kt(a)/a.limit.amount*100,W=a?.cardHolderUserId===w.userId,A=a.status.code!=="closed"&&a.status.code!=="closed_by_customer",V=Di(a.cardHolderUser,!1),H=a.balance,F=Lt(E),te=t.jsxs(t.Fragment,{children:[t.jsx(q,{isLoading:u,customStyle:{width:i.sp9,height:"20px",borderRadius:i.sp1},children:t.jsx(uo,{title:ce("0,0.[00]",H),className:"amountToUtilize",children:ce("0,0.[00]",H)})}),O!==0?t.jsx(q,{isLoading:u,customStyle:{width:i.sp11,height:i.sp3,borderRadius:i.sp1},children:t.jsx(mo,{className:"amountToUtilize",children:`${Math.round(O)}${Hi}`})}):null]}),X=a.type.code,_=j.cardList.tooltip[X],de=_!=null?W?_.self:`${V} ${_.cardUser}`:Ce.strings.empty;return t.jsx(Ji,{windowSize:v,children:t.jsx(Xi,{onClick:M,"data-testid":G("card-row",a.id),children:t.jsxs(Zi,{children:[E?null:t.jsx(ue,{children:t.jsxs(eo,{windowSize:v,responsiveWidth:F[0].width,children:[t.jsx(q,{isLoading:u,flex:"0 0",customStyle:{width:i.sp6,height:i.sp6,borderRadius:"50%"},children:t.jsx(vt,{personBasic:a.cardHolderUser,styles:{height:i.sp6,width:i.sp6,minWidth:i.sp6}})}),t.jsxs(io,{isLoading:u,children:[t.jsx(to,{isLoading:u,children:t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(oo,{windowSize:v,title:V,className:"cardHolderName",children:V===Ce.strings.empty?Ce.strings.hyphen:V})})}),t.jsx(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:t.jsx(nt,{className:"additionalInfoContainer",children:a.cardHolderRoles?.userRoles!=null&&t.jsx(It,{roles:a.cardHolderRoles?.userRoles})})})]})]})}),t.jsx(ue,{children:t.jsxs(no,{isLoading:u,windowSize:v,responsiveWidth:F[1].width,children:[t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(lo,{title:a.cardName,className:"cardName",children:a.cardName})}),t.jsxs(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:[" ",t.jsx(yo,{windowSize:v,className:"cardNameSubText",children:a.status.code==="request_on_hold"?Ce.strings.hyphen:j.cardDetails.expiryHideOut+Ce.strings.space+a.accountLast4})]})]})}),t.jsx(ue,{children:t.jsx(co,{windowSize:v,responsiveWidth:F[2].width,children:t.jsx(ho,{className:"card-type",children:t.jsx(q,{isLoading:u,customStyle:{width:"144px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(Ve,{cardDetail:a,forDetailPage:!1})})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:F[3].width,children:t.jsx(q,{isLoading:u,customStyle:{width:"112px",height:i.sp4,borderRadius:i.sp1},children:g===a.id?t.jsx(jt,{size:"Small",start:!0}):t.jsxs(po,{children:[t.jsx(wo,{children:a.status.code==="request_on_hold"?t.jsxs(ye,{display:"flex",title:de,placement:"top",style:{padding:`${i.sp2} ${i.sp3}`},children:[t.jsx(Le,{status:a.status.code,style:{cursor:"pointer"}}),t.jsx(go,{style:{marginLeft:i.sp1},className:"infoIconTooltip"})]}):t.jsx(Le,{status:a.status.code})}),a.status.code==="request_on_hold"&&!W?t.jsx(xo,{onClick:K=>{K.stopPropagation(),k(a.id)},"data-testid":G("send-reminder",a.id),children:j.cardList.sendReminder}):null]})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:F[4].width,children:te})}),t.jsx(ue,{children:t.jsxs(so,{windowSize:v,responsiveWidth:F[5].width,children:[t.jsxs(ro,{windowSize:v,isLoading:u,children:[t.jsx(q,{isLoading:u,customStyle:{width:"68px",height:"20px",borderRadius:i.sp1},children:t.jsx(ao,{className:"limitAmount",windowSize:v,title:ce("0,0.[00]",a.limit),children:ce("0,0.[00]",a.limit)})}),t.jsx(nt,{className:"additionalInfoContainer",children:t.jsx(q,{isLoading:u,customStyle:{width:i.sp8,height:i.sp3,borderRadius:i.sp1},children:a.creditLimitFrequency.name})})]}),t.jsx(Co,{className:"menu-icon",onMouseEnter:()=>{!h&&A&&B(!0)},onMouseLeave:()=>{A&&B(!1)},children:(()=>{const K=a.status.code==="locked",oe=a.status.code==="closed"||a.status.code==="closed_by_customer",xe=E?n&&!u&&!oe&&!(K&&a.isLockedByAdmin):n?!u&&A:a.status.code==="request_on_hold",b=l.length>0;return xe&&t.jsx(ye,{open:y&&!h&&!b,variant:"standard",title:j.cardList.moreActionsTooltip,placement:"bottom-end",children:t.jsx(Oe,{isMenuVisible:!0,menuItems:t.jsx(fo,{children:t.jsx(zt,{cardDetail:a,isCardControlsEnabled:n,isChargeCardUser:E,setIsMenuOpen:m,setCardIdForRowAction:e,setActionTypeForRowAction:s})}),setIsMenuOpen:Fe=>{b||m(Fe)},isMenuOpen:h&&!b,menuIconStyles:{height:"auto",cursor:b?"not-allowed":"pointer",opacity:b?.5:1,pointerEvents:b?"none":"auto"},styles:{transform:`translate(${i.sp3},${i.sp2})`}})})})()})]})})]})})})},zt=({cardDetail:e,isCardControlsEnabled:s,isChargeCardUser:r,setIsMenuOpen:d,setCardIdForRowAction:c,setActionTypeForRowAction:l})=>{const a=ie();return s?e.status.code==="request_on_hold"?r?t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:[t.jsx(Qi,{}),t.jsx(fe,{children:j.cardDetails.revokeInvite})]})]}):e.status.code==="inactive"?r?t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Be,{}),t.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):e.status.code==="locked"?r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(at,{}),t.jsx(T,{children:j.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(at,{}),t.jsx(T,{children:j.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:j.cardDetails.moreOptions.updateSpendLimit})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Be,{}),t.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:j.cardDetails.moreOptions.lock})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:j.cardDetails.moreOptions.updateSpendLimit})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:j.cardDetails.moreOptions.lock})]}),t.jsx($e,{}),t.jsxs(L,{windowSize:a,hoverImportant:!0,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Be,{}),t.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):e.status.code==="request_on_hold"?t.jsx(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:t.jsx(fe,{children:j.cardDetails.revokeInvite})}):null},Le=({status:e,style:s})=>{const r=ze(),d=Yi(e,r),c=le.getLocalizedStrings().spendManagement.chargeCard.cardList.status;return ie()==="small"?t.jsx(Je,{textColor:d,text:c[e],tagStyles:{maxWidth:i.sp10,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",padding:"1px 6px",...s}}):t.jsx(Je,{textColor:d,text:c[e],styles:s,tagStyles:{padding:"1px 6px"}})},Yi=(e,s)=>{switch(e){case"active":return new je(I.success);case"request_on_hold":return new je(I.graphColor36);case"inactive":return new je(I.alert);default:return new je(s.colors.grey1)}},T=o(J)`
|
|
1
|
+
import{cl as ni,V as t,aa as li,ae as di,O as le,e as ie,ay as Se,a9 as ci,g as ze,hb as hi,j3 as pi,j4 as ui,j5 as mi,aT as gi,o as i,ac as G,cu as xi,w as Re,d as I,b5 as wi,cC as Ci,j6 as fi,j7 as yi,c1 as ye,cF as Oe,bT as Si,aV as ki,x as C,eU as vi,bc as ji,j8 as $i,aW as bi,y as Ii,ak as ee,hf as Li,ao as Y,an as J,u as p,cU as zi,eS as Fi,j9 as Ai,ja as Pi,N as ft,c6 as yt,jb as St,jc as Bi,b$ as Ri,cI as Ye,jd as kt,dE as Di,dF as q,aQ as ce,cE as vt,L as jt,je as _i,cL as Ei,iX as Je,bM as $t,bO as bt,jf as Ti,jg as Oi,aX as je,bv as Vi,c7 as Ui,c8 as Ni,jh as Mi}from"./index-BeBXELGm.js";import{P as pe,a as f}from"./sentry-C-_CW7F_.js";import{n as o,c as Xe}from"./mui-DyrXxcaY.js";import{T as It}from"./RoleWithToolTip-BYO1YG6N-CsuUGffE.js";import{j as Ve}from"./CardNumberSubText-CN1RN7Tf-vqSRDVxl.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]="2f2de961-7ada-4a61-a416-7673922e32c9",e._sentryDebugIdIdentifier="sentry-dbid-2f2de961-7ada-4a61-a416-7673922e32c9")}catch{}})();const ge=le.getLocalizedStrings().spendManagement.chargeCard.cardList.header,Wi=le.getLocalizedStrings().common.strings.empty,Qe={key:"owner",value:ge.owner,sortOrder:"ascending",width:new C(120,120,160,200,200)},Ze={key:"cardName",value:ge.cardName,sortOrder:"ascending",width:new C(120,120,160,171,171)},et={key:"cardType",value:ge.cardType,sortOrder:"ascending",width:new C(120,120,130,170,170)},tt={key:"status",value:ge.status,sortOrder:"ascending",width:new C(115,115,125,132,132)},it={key:"utilisation",value:ge.utilisation,sortOrder:"ascending",width:new C(p[11],p[11],p[11],p[12],120)},ot={key:"limit",value:ge.limit,sortOrder:"ascending",width:new C(68,68,68,120,120)},Lt=e=>e===!0?[{...Qe,width:new C(0,0),value:Wi},Ze,et,tt,it,ot]:[Qe,Ze,et,tt,it,ot],{common:Ce,spendManagement:{billPay:{paymentDetails:{feePercent:Hi}},chargeCard:j}}=le.getLocalizedStrings(),re={containerPaddingLeft:new C(p[3],p[2]),containerPaddingRight:new C(p[2],p[3]),containerPaddingTop:new C(p[2],p[3]),containerPaddingBottom:new C(p[2],p[3]),containerMarginLeft:new C(p[4],p[0]),containerMarginRight:new C(p[4],p[0]),webkitLineClamp:new C(2,1,1,1,1)};var Ki=(e=>(e.CLOSE="close",e.LOCK="lock",e.UNLOCK="unlock",e.RENAME="rename",e.UPDATE_SPEND_LIMIT="update_spend_limit",e.REVOKE_INVITE="revoke_invite",e))(Ki||{});const qi={moreItemFont:new ft("extraSmallRegular","smallRegular")},Gi=({setCardIdForRowAction:e,setActionTypeForRowAction:s,rowActionView:r,revokeChargeCardsInviteFetchState:d,unlockChargeCardsFetchState:c,cardsSelectedForBulkAction:l,cardDetail:a,isCardControlsEnabled:n,showViewForCardUser:x,signedInUser:w,resendInviteId:g,index:S,onChargeCardRowClick:$,onChargeCardResendInviteClick:k})=>{const[h,m]=f.useState(!1),[y,B]=f.useState(!1);f.useEffect(()=>{h||B(!1)},[h]),f.useEffect(()=>{l.length>0&&h&&(m(!1),B(!1))},[l.length,h]);const R=r.cardId===a.id,D=l.includes(a.id),z=R&&r.unlockChargeCardsFetchState.fetchState==="In-Progress"||D&&c==="In-Progress",N=R&&r.revokeChargeCardFetchState.fetchState==="In-Progress"||D&&d==="In-Progress",u=z||N,v=ie(),E=!!Se().loggedInUserRole.includes("charge_card_user")||x,M=f.useCallback(()=>{$(a.id,S)},[a.id]),O=kt(a)/a.limit.amount*100,W=a?.cardHolderUserId===w.userId,A=a.status.code!=="closed"&&a.status.code!=="closed_by_customer",V=Di(a.cardHolderUser,!1),H=a.balance,F=Lt(E),te=t.jsxs(t.Fragment,{children:[t.jsx(q,{isLoading:u,customStyle:{width:i.sp9,height:"20px",borderRadius:i.sp1},children:t.jsx(uo,{title:ce("0,0.[00]",H),className:"amountToUtilize",children:ce("0,0.[00]",H)})}),O!==0?t.jsx(q,{isLoading:u,customStyle:{width:i.sp11,height:i.sp3,borderRadius:i.sp1},children:t.jsx(mo,{className:"amountToUtilize",children:`${Math.round(O)}${Hi}`})}):null]}),X=a.type.code,_=j.cardList.tooltip[X],de=_!=null?W?_.self:`${V} ${_.cardUser}`:Ce.strings.empty;return t.jsx(Ji,{windowSize:v,children:t.jsx(Xi,{onClick:M,"data-testid":G("card-row",a.id),children:t.jsxs(Zi,{children:[E?null:t.jsx(ue,{children:t.jsxs(eo,{windowSize:v,responsiveWidth:F[0].width,children:[t.jsx(q,{isLoading:u,flex:"0 0",customStyle:{width:i.sp6,height:i.sp6,borderRadius:"50%"},children:t.jsx(vt,{personBasic:a.cardHolderUser,styles:{height:i.sp6,width:i.sp6,minWidth:i.sp6}})}),t.jsxs(io,{isLoading:u,children:[t.jsx(to,{isLoading:u,children:t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(oo,{windowSize:v,title:V,className:"cardHolderName",children:V===Ce.strings.empty?Ce.strings.hyphen:V})})}),t.jsx(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:t.jsx(nt,{className:"additionalInfoContainer",children:a.cardHolderRoles?.userRoles!=null&&t.jsx(It,{roles:a.cardHolderRoles?.userRoles})})})]})]})}),t.jsx(ue,{children:t.jsxs(no,{isLoading:u,windowSize:v,responsiveWidth:F[1].width,children:[t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(lo,{title:a.cardName,className:"cardName",children:a.cardName})}),t.jsxs(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:[" ",t.jsx(yo,{windowSize:v,className:"cardNameSubText",children:a.status.code==="request_on_hold"?Ce.strings.hyphen:j.cardDetails.expiryHideOut+Ce.strings.space+a.accountLast4})]})]})}),t.jsx(ue,{children:t.jsx(co,{windowSize:v,responsiveWidth:F[2].width,children:t.jsx(ho,{className:"card-type",children:t.jsx(q,{isLoading:u,customStyle:{width:"144px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(Ve,{cardDetail:a,forDetailPage:!1})})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:F[3].width,children:t.jsx(q,{isLoading:u,customStyle:{width:"112px",height:i.sp4,borderRadius:i.sp1},children:g===a.id?t.jsx(jt,{size:"Small",start:!0}):t.jsxs(po,{children:[t.jsx(wo,{children:a.status.code==="request_on_hold"?t.jsxs(ye,{display:"flex",title:de,placement:"top",style:{padding:`${i.sp2} ${i.sp3}`},children:[t.jsx(Le,{status:a.status.code,style:{cursor:"pointer"}}),t.jsx(go,{style:{marginLeft:i.sp1},className:"infoIconTooltip"})]}):t.jsx(Le,{status:a.status.code})}),a.status.code==="request_on_hold"&&!W?t.jsx(xo,{onClick:K=>{K.stopPropagation(),k(a.id)},"data-testid":G("send-reminder",a.id),children:j.cardList.sendReminder}):null]})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:F[4].width,children:te})}),t.jsx(ue,{children:t.jsxs(so,{windowSize:v,responsiveWidth:F[5].width,children:[t.jsxs(ro,{windowSize:v,isLoading:u,children:[t.jsx(q,{isLoading:u,customStyle:{width:"68px",height:"20px",borderRadius:i.sp1},children:t.jsx(ao,{className:"limitAmount",windowSize:v,title:ce("0,0.[00]",a.limit),children:ce("0,0.[00]",a.limit)})}),t.jsx(nt,{className:"additionalInfoContainer",children:t.jsx(q,{isLoading:u,customStyle:{width:i.sp8,height:i.sp3,borderRadius:i.sp1},children:a.creditLimitFrequency.name})})]}),t.jsx(Co,{className:"menu-icon",onMouseEnter:()=>{!h&&A&&B(!0)},onMouseLeave:()=>{A&&B(!1)},children:(()=>{const K=a.status.code==="locked",oe=a.status.code==="closed"||a.status.code==="closed_by_customer",xe=E?n&&!u&&!oe&&!(K&&a.isLockedByAdmin):n?!u&&A:a.status.code==="request_on_hold",b=l.length>0;return xe&&t.jsx(ye,{open:y&&!h&&!b,variant:"standard",title:j.cardList.moreActionsTooltip,placement:"bottom-end",children:t.jsx(Oe,{isMenuVisible:!0,menuItems:t.jsx(fo,{children:t.jsx(zt,{cardDetail:a,isCardControlsEnabled:n,isChargeCardUser:E,setIsMenuOpen:m,setCardIdForRowAction:e,setActionTypeForRowAction:s})}),setIsMenuOpen:Fe=>{b||m(Fe)},isMenuOpen:h&&!b,menuIconStyles:{height:"auto",cursor:b?"not-allowed":"pointer",opacity:b?.5:1,pointerEvents:b?"none":"auto"},styles:{transform:`translate(${i.sp3},${i.sp2})`}})})})()})]})})]})})})},zt=({cardDetail:e,isCardControlsEnabled:s,isChargeCardUser:r,setIsMenuOpen:d,setCardIdForRowAction:c,setActionTypeForRowAction:l})=>{const a=ie();return s?e.status.code==="request_on_hold"?r?t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:[t.jsx(Qi,{}),t.jsx(fe,{children:j.cardDetails.revokeInvite})]})]}):e.status.code==="inactive"?r?t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Be,{}),t.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):e.status.code==="locked"?r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(at,{}),t.jsx(T,{children:j.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(at,{}),t.jsx(T,{children:j.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:j.cardDetails.moreOptions.updateSpendLimit})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Be,{}),t.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:j.cardDetails.moreOptions.lock})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:j.cardDetails.moreOptions.updateSpendLimit})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:j.cardDetails.moreOptions.lock})]}),t.jsx($e,{}),t.jsxs(L,{windowSize:a,hoverImportant:!0,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Be,{}),t.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):e.status.code==="request_on_hold"?t.jsx(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:t.jsx(fe,{children:j.cardDetails.revokeInvite})}):null},Le=({status:e,style:s})=>{const r=ze(),d=Yi(e,r),c=le.getLocalizedStrings().spendManagement.chargeCard.cardList.status;return ie()==="small"?t.jsx(Je,{textColor:d,text:c[e],tagStyles:{maxWidth:i.sp10,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",padding:"1px 6px",...s}}):t.jsx(Je,{textColor:d,text:c[e],styles:s,tagStyles:{padding:"1px 6px"}})},Yi=(e,s)=>{switch(e){case"active":return new je(I.success);case"request_on_hold":return new je(I.graphColor36);case"inactive":return new je(I.alert);default:return new je(s.colors.grey1)}},T=o(J)`
|
|
2
2
|
color: inherit;
|
|
3
3
|
`,fe=o(J)`
|
|
4
4
|
color: ${I.important};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a9 as ze,ay as Re,e as N,g as K,V as t,bE as Ie,w as I,gk as Te,O as T,u as l,o as i,x,jA as De,cl as Be,jB as G,ac as O,b5 as Oe,cC as Ae,j6 as Me,bT as He,aV as Ne,an as W,dF as j,h9 as U,aQ as _,c1 as We,cE as Ee,b$ as Ve,ao as H,cI as Q,d as $,ha as pe,g2 as me,f_ as ge,cq as _e,ak as F,iX as ue,bO as Ke,jC as Fe,je as Ye,cL as Ze,aX as z,jf as Ue,jg as Xe}from"./index-
|
|
1
|
+
import{a9 as ze,ay as Re,e as N,g as K,V as t,bE as Ie,w as I,gk as Te,O as T,u as l,o as i,x,jA as De,cl as Be,jB as G,ac as O,b5 as Oe,cC as Ae,j6 as Me,bT as He,aV as Ne,an as W,dF as j,h9 as U,aQ as _,c1 as We,cE as Ee,b$ as Ve,ao as H,cI as Q,d as $,ha as pe,g2 as me,f_ as ge,cq as _e,ak as F,iX as ue,bO as Ke,jC as Fe,je as Ye,cL as Ze,aX as z,jf as Ue,jg as Xe}from"./index-BeBXELGm.js";import{a as S,P as X}from"./sentry-C-_CW7F_.js";import{n,c as J}from"./mui-DyrXxcaY.js";import{t as qe}from"./SpendManagementSection-CPBOh_J5-DltaK90h.js";import{r as Ge,a as Qe,i as ye,g as Je}from"./SpendManagementListViewPage-DKRkSADM-Cuwj5Vw-.js";import{cl as xe,H1 as fe}from"./zeni-epic-state-CQ4Yidqa.js";import{r as et}from"./auto-transfer-rule-mbafm5D3-B2DzCTcV.js";import"./liveblocks-Ckf7CW56.js";import"./core-UsQu6ilI.js";import"./recharts-ChhaK6iT.js";import"./lottie-70oTIUav.js";import"./analytics-CivFEuof.js";import"./lexical-BKjLQtIV.js";import"./utils-CdVNjKQw.js";import"./StatusSwitcher-DN-yYdli-CgJu7kXT.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]="68f71405-1a2e-46f8-810f-56ccb303d12b",e._sentryDebugIdIdentifier="sentry-dbid-68f71405-1a2e-46f8-810f-56ccb303d12b")}catch{}})();const E=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory.header,tt={key:"paymentDate",value:E.paymentDate,sortOrder:"ascending",width:new x(18,18,18,18,18)},it={key:"sourceAccount",value:E.sourceAccount,sortOrder:"ascending",width:new x(30,30,30,30,30)},nt={key:"paymentStatus",value:E.paymentStatus,sortOrder:"ascending",width:new x(22,22,22,22,22)},ot={key:"initiatedBy",value:E.initiatedBy,sortOrder:"ascending",width:new x(18,18,18,18,18)},at={key:"amount",value:E.amount,sortOrder:"ascending",width:new x(12,12,12,12,12)},we=()=>[tt,it,nt,ot,at],P={containerPaddingLeft:i.sp2,containerPaddingRight:i.sp3,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new x(l[0],l[4]),headerLastColumnRightPadding:new x(l[3],l[11]),headerLastColumnBottomPadding:new x(l[0],l[4]),headerLastColumnLeftPadding:new x(l[0],l[11]),headerHeight:new x(Ue,Xe)};function st({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=K(),r=N(),[d,g]=S.useState(we());S.useEffect(()=>{const s=[...d];for(const m of s)m.key===o.sortKey?m.sortOrder=o.sortOrder:m.sortOrder="ascending";g(s)},[o.sortKey,o.sortOrder]);const y=(s,m)=>{let C=m;o.sortKey===s&&(C=m==="ascending"?"descending":"ascending"),c(s,C)},h=d.find(s=>s.key===o.sortKey)??d[0],p=s=>d.find(m=>m.key===s)?.value??"",u=d.map(s=>s.key),b=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory;return r==="small"?t.jsxs(ct,{windowSize:r,children:[t.jsxs(mt,{children:[t.jsx(ut,{children:t.jsx(gt,{})}),t.jsx(Ve,{title:b.header.paymentDate,placeholder:b.header.paymentDate,pickerValues:u,valueToLabel:p,selectedValue:o.sortKey,onPickerSelectionChanged:s=>{y(s,"ascending")},optionTextStyle:I.extraSmallRegular,titleTextStyle:I.extraSmallRegular,titleColor:a.colors.primary,selectedOptionColor:a.colors.hero,optionBackgroundColor:a.colors.grey5,downChevronVisible:!1,backgroundColor:a.colors.grey4})]}),t.jsxs(ft,{onClick:()=>y(h.key,h.sortOrder),"data-testid":O("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(H,{children:h.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:h,children:t.jsx(te,{windowSize:r,children:t.jsx(Q,{})})})]})]}):t.jsx(dt,{windowSize:r,children:t.jsx(lt,{children:d.map(s=>s.width.value(r)!==0&&t.jsxs(ht,{companyNameSticky:e,sortDataValue:o.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:r,children:[t.jsxs(xt,{onClick:()=>y(s.key,s.sortOrder),"data-testid":O("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(H,{children:s.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:s,children:t.jsx(te,{windowSize:r,children:t.jsx(Q,{})})})]}),t.jsx(yt,{sortDataValue:o.sortKey,windowSize:r,isVisible:o.sortKey===s.key&&!(o.sortKey==="paymentDate"&&o.sortOrder==="ascending"),children:t.jsx(pt,{onClick:()=>y("paymentDate","ascending"),"data-testid":O("payment-history-list-sort-cancel",o.sortKey)})})]},s.key))})})}const rt=X.memo(st),dt=n.div`
|
|
2
2
|
top: ${i.sp0};
|
|
3
3
|
left: ${i.sp0};
|
|
4
4
|
z-index: 2;
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
import{e as b,V as r,g as G,ay as $e,a9 as be,aS as je,aQ as Se,g6 as Te,bE as ve,fH as ze,a as Y,ac as ee,O as oe,o as t,c as Pe,n as V,cM as ke,as as Ae,x,ar as Be,c1 as Ie,i$ as Le,ak as _e,u as p,N as S,d as y,bc as Re,aW as Ee,j0 as Me}from"./index-BeBXELGm.js";import{a as T}from"./sentry-C-_CW7F_.js";import{n,c as De,k as Fe}from"./mui-DyrXxcaY.js";import{FB as Ue}from"./zeni-epic-state-CQ4Yidqa.js";import{x as Ne}from"./NavigationDots-Kh5ODrCQ-HRI-lcK7.js";import{J as H,N as O}from"./PromoBaseCards-BUk-u73S-RrpdyoYd.js";import{M as _}from"./usp-line-BBd1wKwW-CUJOAj_B.js";import"./liveblocks-Ckf7CW56.js";import"./core-UsQu6ilI.js";import"./recharts-ChhaK6iT.js";import"./lottie-70oTIUav.js";import"./analytics-CivFEuof.js";import"./lexical-BKjLQtIV.js";import"./utils-CdVNjKQw.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]="0236f6f5-64f7-443f-903d-f291c8d7efd7",e._sentryDebugIdIdentifier="sentry-dbid-0236f6f5-64f7-443f-903d-f291c8d7efd7")}catch{}})();const g={containerPaddingTopBottom:new x(p[0],p[0]),uspContainerMarginX:new x(p[6],p[0]),midContainerGap:new x(p[4],84),iconContainerMinHeight:new x(236,396),emptySectionHeight:new x(p[6],43),navigationBottom:new x(p[4],94),navigationLeft:new x(192,244),carouselHeight:new x(268,396),carouselMarginTop:new x(54,p[4]),carouselMarginLeft:new x(120,p[12]),buttonTrayGap:new x(p[3],p[5]),termsOfAgreementMarginTop:new x(p[5],p[10]),contactAdminContainerMarginTop:new x(p[0],p[10]),contactAdminContainerMarginBottom:new x(p[4],p[0]),contactAdminContainerMarginLeftRight:new x(p[3],p[0])},v={promoBadgeText:new S("standardRegular","largeRegular"),promoBadgeTextBold:new S("standardBold","largeBold"),cardsContent:new S("extraSmallRegular","smallRegular"),contactAdmin:new S("extraSmallRegular","largeRegular"),uspText:new S("smallRegular","standardRegular"),uspBoldText:new S("smallMedium","standardMedium")},{common:U,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),Rr=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:i,showEnableCardButton:a,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:u,isChargeCardSetupEnabled:w,admins:j,cashbackRate:P,cardPromoType:f="credit",isCheckingEnabled:l,onSetupButtonClick:d,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:W,onExpressInterestClick:ge})=>{const he=G(),J=$e(),z=b(),X=be().analytics,{chargeCardTermsDetails:R,companyChargeCardInfo:C,companyLocaleInfo:E}=i,Z=je(R?.fetchStatus.fetchState),[xe,K]=T.useState(!1),ue=()=>{X.trackCardsPromoPageClicked("schedule demo"),X.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:u,isCreditCardEnabled:w},"Cards Promo"),K(!0)},we=C!=null&&E!=null?Se("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:E.currencyCode,currencySymbol:E.currencySymbol}):void 0;T.useEffect(()=>{Z==="In-Progress"&&R?.fetchStatus.fetchState==="Completed"&&W()},[Z,W,R?.fetchStatus]);const Q=Ue(J.loggedInUserRoleMap),fe=Te(J),M=f==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,Ce=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:ye}=i,q=M?o.getPreApprovedNow:a?o.enableCardsButton:o.setupCardsButton;return r.jsxs(Je,{children:[r.jsx(ve,{title:o.title[f],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:z==="medium-compact"||z==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),xe===!0?r.jsx(ze,{onCancelClick:()=>{K(!1)},meetingUrl:e}):null,r.jsx(Qe,{windowSize:z,children:Q===!0?r.jsxs(Ke,{children:[r.jsxs(Ze,{children:[r.jsx(Oe,{isApproved:Ce,creditAmount:we,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:M,creditLimit:C?.chargeCardsCreditAccountLimit}),r.jsx(ae,{cardPromoType:f,cashbackRate:P})]}),r.jsx(ne,{showEnableCardButton:a,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:M,isCheckingEnabled:l})]}):r.jsx(Ge,{companyLegalName:s,cards:[],admins:j,cashbackRate:P,hasZeniFinopsRoles:fe,cardPromoType:f,isCheckingEnabled:l})}),Q&&!(F||D)?r.jsxs(or,{windowSize:z,children:[r.jsx(Y,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:ue,"data-testid":ee("schedule-demo-button")}),r.jsx(Xe,{windowSize:z,children:o.orText}),r.jsx(Y,{variant:"primary",label:q,style:{minWidth:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||ye==="In-Progress",onClick:q===o.getPreApprovedNow?ge:()=>d(f),"data-testid":ee("enable-card-button")})]}):null]})},He=({admins:e})=>{const s=e.flatMap(a=>a.user?.firstName+" "+a.user?.lastName).join(", "),i=b();return r.jsxs(mr,{windowSize:i,children:[r.jsx(N,{underline:!1,windowSize:i,children:o.noCardAssigned.pre}),r.jsx(Ie,{title:s,placement:"top-start",style:{padding:`2px ${t.sp2}`},children:r.jsx(N,{underline:!0,windowSize:i,children:o.noCardAssigned.tooltip})}),r.jsx(N,{underline:!1,windowSize:i,children:o.noCardAssigned.post})]})},ne=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:i,isUnderReview:a,isRejected:c,showExpressInterest:m,isCardUser:h=!1})=>{const u=b();return r.jsx(ir,{windowSize:u,children:r.jsx(Le,{topTermLabel:o.terms.checkingAccountTerm,buttonTermLabel:a===!0||c===!0||h===!0?void 0:m===!0?o.terms.getPreApprovedNowTerm:s?o.terms.alternateTerm1:o.terms.terms1,showEndIcon:!1,showTerms:c===!1&&h===!1&&a===!1,style:{marginTop:g.termsOfAgreementMarginTop.valuePx(u)},cardPromoType:e,isCheckingEnabled:i})})},Oe=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:a,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const u=b(),w=s==="debit_and_credit"?o.promoTextDebitCreditCard:s==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,j=e?r.jsxs(r.Fragment,{children:[o.promoBadgeText.approved,r.jsx(te,{children:i}),o.creditLimit,U.strings.space]}):m?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(rr,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,U.strings.space,o.promoBadgeText.nonPreApproved.higherLimits]}):a?o.promoBadgeText.underReview:c?o.promoBadgeText.rejected:s==="debit_and_credit"&&h===0?null:r.jsxs(r.Fragment,{children:[o.promoBadgeText.preApproved,r.jsx(te,{children:i}),o.creditLimit,U.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:u==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]})}),r.jsxs(Ye,{cardPromoType:s,hasContent:j!=null,hideBadge:i==null||s==="debit",windowSize:u,children:[a||c||m?null:r.jsx(yr,{}),r.jsx(er,{windowSize:u,children:j})]})]})},Ge=({companyLegalName:e,cards:s,admins:i,cashbackRate:a,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const u=b(),w=m==="debit_and_credit"?o.promoTextDebitCreditCard:m==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[u==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]}),s.length===0?r.jsx(pr,{windowSize:u}):r.jsx(Ve,{cards:s,companyLegalName:e}),r.jsx(ae,{cardPromoType:m,cashbackRate:a}),c?null:r.jsx(He,{admins:i}),r.jsx(ne,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Ve=({cards:e,companyLegalName:s})=>{const i=G(),a=b();let c="",m;if(e.length===1){m=e[0].cardCreatedByUser.photo;const h=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;c=o.cardAssigned.singleCreditCard.replace("__issuing-user__",h).replace("__company-name__",s)}else c=o.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(hr,{children:[m!=null?r.jsx(qe,{width:t.sp5,height:t.sp5,style:{paddingTop:a==="small"?t.sp1:t.sp0},src:m.href,alt:oe.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:h})=>{h.onerror=null,h.src=Be},loading:"lazy"}):null,r.jsx(gr,{windowSize:a,mode:i.mode,children:r.jsx(xr,{windowSize:a,children:c})})]})},re=({windowSize:e,cardPromoType:s})=>{let i=o.businessText;return s==="debit"&&(i=`${i} ${o.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(We,{}):r.jsxs(ar,{windowSize:e,children:[r.jsx(H,{cardPromoType:s,cardText:i,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(O,{cardPromoType:s,cardText:i,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ae=({cardPromoType:e,cashbackRate:s})=>{const i=b(),a=o.benefits;return r.jsxs(tr,{windowSize:i,children:[i==="small"?r.jsx(re,{windowSize:i,cardPromoType:e}):null,r.jsxs(nr,{windowSize:i,children:[r.jsxs(A,{windowSize:i,children:[r.jsx(I,{children:r.jsx(lr,{})}),r.jsxs(L,{children:[r.jsx($,{windowSize:i,children:a.item1.pre}),r.jsx(B,{windowSize:i,children:a.item1.bold.replace("__cashback__",(s*100).toFixed(2))}),r.jsx($,{windowSize:i,children:`${e==="credit"||e==="debit_and_credit"?a.singleStarred:""}${a.item1.post}`})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(I,{children:r.jsx(sr,{})}),r.jsxs(L,{children:[r.jsx($,{windowSize:i,children:a.item2.pre}),r.jsx(B,{windowSize:i,children:a.item2.bold}),r.jsx($,{windowSize:i,children:a.item2.post})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(I,{children:r.jsx(cr,{})}),r.jsxs(L,{children:[r.jsx($,{windowSize:i,children:a.item3.pre}),r.jsx(B,{windowSize:i,children:a.item3.bold}),r.jsx($,{windowSize:i,children:a.item3.post})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(I,{children:r.jsx(dr,{})}),r.jsxs(L,{children:[r.jsx($,{windowSize:i,children:a.item4.pre}),r.jsx(B,{windowSize:i,children:a.item4.bold}),r.jsx($,{windowSize:i,children:a.item4.post})]})]})]}),i==="small"?null:r.jsx(re,{windowSize:i,cardPromoType:e})]})};let k;const We=()=>{const e=b(),s=G(),[i,a]=T.useState(0),[c,m]=T.useState(!1),h=o.businessText,u=`${h} ${o.debit}`,w=[{id:1,cardType:"debit",cardText:u},{id:2,cardType:"debit",cardText:u},{id:3,cardType:"credit",cardText:h},{id:4,cardType:"credit",cardText:h}];T.useEffect(()=>(c||(k=setInterval(()=>{a(l=>{const d=l+1;return d===w.length?(m(!0),0):d})},2e3)),()=>clearInterval(k)),[c,w.length]),T.useEffect(()=>{c&&k!=null&&clearInterval(k)},[c]);const j=(l,d)=>{switch((l-i+w.length)%w.length){case 0:return{transform:`translate(0,${d?"100%":0}) scale(1)`,zIndex:d?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${d?"80%":"5%"}) scale(0.75)`,zIndex:d?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};default:return}},P=l=>{const d=j(l,!0);return{...d,transform:`${d?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}},f=l=>{c||m(!0),a(l)};return r.jsxs(ur,{windowSize:e,children:[r.jsx(wr,{windowSize:e,children:w.map((l,d)=>r.jsxs(fr,{children:[r.jsx(ie,{isReflection:!1,style:{...j(d,!1)},onClick:()=>f(d),children:d===0||d===2?r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}}):r.jsx(O,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},l.id),r.jsx(ie,{isReflection:!0,style:{...P(d)},children:d===0||d===2?r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,forDashboard:!1,showChip:!0,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent 90%)",WebkitMaskImage:"linear-gradient(to top, black, transparent 90%)"}}):r.jsx(O,{cardPromoType:l.cardType,cardText:l.cardText,showChip:!0,shouldAnimate:!1,forDashboard:!1,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent)",WebkitMaskImage:"linear-gradient(to top, black, transparent)"}})},`reflection-${l.id}`)]},l.id))}),c&&r.jsx(Ne,{numberOfDots:w.length,activeIndex:i,handleClick:a,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:t.sp2,height:t.sp2},style:{cursor:"default",position:"absolute",bottom:g.navigationBottom.valuePx(e),left:g.navigationLeft.valuePx(e),zIndex:7}})]})},Je=n.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex: 1 1 auto;
|
|
4
|
+
min-height: 100%;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
7
|
+
`,Xe=n(_e)`
|
|
8
|
+
color: ${e=>e.theme.colors.hero};
|
|
9
|
+
`,Ze=n.div`
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
align-items: center;
|
|
13
|
+
`,Ke=n.div`
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
justify-content: space-between;
|
|
17
|
+
flex: 1;
|
|
18
|
+
width: 100%;
|
|
19
|
+
`,Qe=n.div`
|
|
20
|
+
padding-top: ${e=>g.containerPaddingTopBottom.valuePx(e.windowSize)};
|
|
21
|
+
padding-bottom: ${e=>g.containerPaddingTopBottom.valuePx(e.windowSize)};
|
|
22
|
+
text-align: center;
|
|
23
|
+
flex: 1;
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
overflow-x: hidden;
|
|
27
|
+
`,se=n(ke)`
|
|
28
|
+
max-width: 927px;
|
|
29
|
+
margin: auto;
|
|
30
|
+
display: flex;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
flex-wrap: wrap;
|
|
33
|
+
padding: ${t.sp7} ${t.sp0} ${t.sp0} ${t.sp0};
|
|
34
|
+
color: ${e=>e.theme.colors.primary};
|
|
35
|
+
`,de=n(Ae)`
|
|
36
|
+
color: ${e=>e.theme.colors.primary};
|
|
37
|
+
margin: auto;
|
|
38
|
+
margin-top: ${t.sp2};
|
|
39
|
+
`,le=n(Pe)`
|
|
40
|
+
margin: auto;
|
|
41
|
+
max-width: 343px;
|
|
42
|
+
display: flex;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
text-align: center;
|
|
45
|
+
flex-wrap: wrap;
|
|
46
|
+
padding: ${t.sp5} ${t.sp0} ${t.sp0} ${t.sp0};
|
|
47
|
+
color: ${e=>e.theme.colors.primary};
|
|
48
|
+
`,ce=n(V)`
|
|
49
|
+
max-width: 314px;
|
|
50
|
+
margin: auto;
|
|
51
|
+
color: ${e=>e.theme.colors.primary};
|
|
52
|
+
padding: 6px ${t.sp3} ${t.sp0} ${t.sp3};
|
|
53
|
+
text-align: center;
|
|
54
|
+
margin-top: 6px;
|
|
55
|
+
`,qe=n.img`
|
|
56
|
+
border-radius: 50%;
|
|
57
|
+
justify-content: center;
|
|
58
|
+
color: ${e=>e.theme.colors.hero};
|
|
59
|
+
`,Ye=n.div`
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: row;
|
|
62
|
+
align-items: center;
|
|
63
|
+
justify-content: center;
|
|
64
|
+
position: relative;
|
|
65
|
+
overflow: hidden;
|
|
66
|
+
padding: ${e=>e.hasContent?`${t.sp2} ${t.sp3}`:t.sp0};
|
|
67
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
68
|
+
border-radius: 96px;
|
|
69
|
+
margin-top: ${t.sp4};
|
|
70
|
+
margin-left: ${e=>e.windowSize==="small"?t.sp3:"auto"};
|
|
71
|
+
margin-right: ${e=>e.windowSize==="small"?t.sp3:"auto"};
|
|
72
|
+
margin-bottom: ${e=>e.cardPromoType==="debit_and_credit"&&e.windowSize==="small"?t.sp0:t.sp6};
|
|
73
|
+
width: fit-content;
|
|
74
|
+
gap: ${t.sp1};
|
|
75
|
+
${e=>e.hideBadge&&`
|
|
76
|
+
visibility: hidden;
|
|
77
|
+
`}
|
|
78
|
+
`,er=n(V)`
|
|
79
|
+
color: ${e=>e.theme.mode==="dark"?y.brandColorJade:y.brandColorSapphire};
|
|
80
|
+
text-align: ${e=>e.windowSize==="small"?"left":"center"};
|
|
81
|
+
${e=>`${v.promoBadgeText.style(e.windowSize)}`};
|
|
82
|
+
span {
|
|
83
|
+
${e=>`${v.promoBadgeTextBold.style(e.windowSize)}`};
|
|
84
|
+
}
|
|
85
|
+
`,rr=n.span``,te=n.span`
|
|
86
|
+
color: ${y.success};
|
|
87
|
+
`,tr=n.div`
|
|
88
|
+
display: flex;
|
|
89
|
+
gap: ${e=>g.midContainerGap.valuePx(e.windowSize)};
|
|
90
|
+
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
91
|
+
align-items: center;
|
|
92
|
+
justify-content: center;
|
|
93
|
+
`,ir=n.div`
|
|
94
|
+
display: flex;
|
|
95
|
+
flex-direction: column;
|
|
96
|
+
`,or=n.div`
|
|
97
|
+
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
98
|
+
padding: ${t.sp2} ${t.sp3};
|
|
99
|
+
position: sticky;
|
|
100
|
+
bottom: 0;
|
|
101
|
+
left: 0;
|
|
102
|
+
right: 0;
|
|
103
|
+
z-index: 8;
|
|
104
|
+
display: flex;
|
|
105
|
+
justify-content: center;
|
|
106
|
+
align-items: center;
|
|
107
|
+
flex-direction: row;
|
|
108
|
+
row-gap: ${t.sp2};
|
|
109
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
110
|
+
gap: ${e=>g.buttonTrayGap.valuePx(e.windowSize)};
|
|
111
|
+
`,nr=n.div`
|
|
112
|
+
width: ${e=>e.windowSize==="small"?"auto":"288px"};
|
|
113
|
+
display: flex;
|
|
114
|
+
flex-direction: column;
|
|
115
|
+
margin-left: ${e=>g.uspContainerMarginX.valuePx(e.windowSize)};
|
|
116
|
+
margin-right: ${e=>g.uspContainerMarginX.valuePx(e.windowSize)};
|
|
117
|
+
z-index: 8;
|
|
118
|
+
`,ar=n.div`
|
|
119
|
+
display: flex;
|
|
120
|
+
justify-content: ${e=>e.windowSize==="small"?"center":"flex-start"};
|
|
121
|
+
min-height: ${e=>g.iconContainerMinHeight.valuePx(e.windowSize)};
|
|
122
|
+
align-items: center;
|
|
123
|
+
min-width: 480px;
|
|
124
|
+
`,A=n.div`
|
|
125
|
+
border-radius: ${t.sp12};
|
|
126
|
+
border: ${e=>`1px solid ${e.theme.colors.grey2}`};
|
|
127
|
+
padding: ${e=>e.windowSize==="small"?`${t.sp2} ${t.sp4} ${t.sp2} ${t.sp0}`:`${t.sp3} ${t.sp5} ${t.sp3} ${t.sp0}`};
|
|
128
|
+
background: ${e=>e.theme.colors.grey5};
|
|
129
|
+
position: relative;
|
|
130
|
+
margin-bottom: ${t.sp3};
|
|
131
|
+
display: flex;
|
|
132
|
+
align-items: center;
|
|
133
|
+
text-align: start;
|
|
134
|
+
width: ${e=>e.windowSize==="small"?"288px":"100%"};
|
|
135
|
+
min-height: ${e=>e.windowSize!=="small"?"83px":"44px"};
|
|
136
|
+
box-sizing: ${e=>e.windowSize==="small"?"unset":"border-box"};
|
|
137
|
+
`,$=n(Re)`
|
|
138
|
+
color: ${e=>e.theme.colors.champion};
|
|
139
|
+
${e=>`${v.uspText.style(e.windowSize)}`};
|
|
140
|
+
`,B=n(Ee)`
|
|
141
|
+
color: ${e=>e.theme.colors.champion};
|
|
142
|
+
${e=>`${v.uspBoldText.style(e.windowSize)}`};
|
|
143
|
+
`,I=n.div``,L=n.div`
|
|
144
|
+
padding-left: ${t.sp3};
|
|
145
|
+
`,sr=n(_)`
|
|
146
|
+
color: ${y.graphColor16Dark};
|
|
147
|
+
`,dr=n(_)`
|
|
148
|
+
color: ${y.alert};
|
|
149
|
+
`,lr=n(_)`
|
|
150
|
+
color: ${y.graphColor11};
|
|
151
|
+
`,cr=n(_)`
|
|
152
|
+
color: ${y.success};
|
|
153
|
+
`,pr=n.div`
|
|
154
|
+
height: ${e=>g.emptySectionHeight.valuePx(e.windowSize)};
|
|
155
|
+
${e=>e.windowSize==="small"?null:De`
|
|
156
|
+
margin-top: ${t.sp4};
|
|
157
|
+
margin-bottom: ${t.sp6};
|
|
158
|
+
`}
|
|
159
|
+
`,mr=n(V)`
|
|
160
|
+
color: ${e=>e.theme.colors.hero};
|
|
161
|
+
margin-top: ${e=>g.contactAdminContainerMarginTop.valuePx(e.windowSize)};
|
|
162
|
+
margin-bottom: ${e=>g.contactAdminContainerMarginBottom.valuePx(e.windowSize)};
|
|
163
|
+
margin-left: ${e=>g.contactAdminContainerMarginLeftRight.valuePx(e.windowSize)};
|
|
164
|
+
margin-right: ${e=>g.contactAdminContainerMarginLeftRight.valuePx(e.windowSize)};
|
|
165
|
+
text-align: center;
|
|
166
|
+
`,N=n(Me)`
|
|
167
|
+
${e=>`${v.contactAdmin.style(e.windowSize)}`};
|
|
168
|
+
text-decoration: ${e=>e.underline?"underline":"none"};
|
|
169
|
+
cursor: ${e=>e.underline?"default":null};
|
|
170
|
+
`,gr=n.div`
|
|
171
|
+
color: ${e=>e.mode==="dark"?e.theme.colors.brandColorJade:e.theme.colors.brandColorSapphire};
|
|
172
|
+
`,hr=n.div`
|
|
173
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
174
|
+
padding: ${t.sp2} ${t.sp3};
|
|
175
|
+
display: flex;
|
|
176
|
+
gap: ${t.sp2};
|
|
177
|
+
margin: auto;
|
|
178
|
+
max-width: fit-content;
|
|
179
|
+
border-radius: 96px;
|
|
180
|
+
margin-top: ${t.sp4};
|
|
181
|
+
margin-bottom: ${t.sp6};
|
|
182
|
+
`,xr=n.span`
|
|
183
|
+
${e=>`${v.cardsContent.style(e.windowSize)}`};
|
|
184
|
+
`,ur=n.div`
|
|
185
|
+
display: flex;
|
|
186
|
+
flex-direction: column;
|
|
187
|
+
min-height: ${e=>g.carouselHeight.valuePx(e.windowSize)};
|
|
188
|
+
min-width: 480px;
|
|
189
|
+
position: relative;
|
|
190
|
+
`,wr=n.div`
|
|
191
|
+
position: relative;
|
|
192
|
+
margin-top: ${e=>g.carouselMarginTop.valuePx(e.windowSize)};
|
|
193
|
+
margin-left: ${e=>g.carouselMarginLeft.valuePx(e.windowSize)};
|
|
194
|
+
`,fr=n.div`
|
|
195
|
+
position: relative;
|
|
196
|
+
overflow: visible;
|
|
197
|
+
`,ie=n.div`
|
|
198
|
+
position: absolute;
|
|
199
|
+
${e=>e.isReflection&&`
|
|
200
|
+
background-color: ${e.theme.colors.grey4};
|
|
201
|
+
clip-path: inset(16% 0 0 0);
|
|
202
|
+
`}
|
|
203
|
+
`,Cr=Fe`
|
|
204
|
+
0% {
|
|
205
|
+
left: -${t.sp6};
|
|
206
|
+
}
|
|
207
|
+
50% {
|
|
208
|
+
left: calc(100% + ${t.sp6});
|
|
209
|
+
}
|
|
210
|
+
100% {
|
|
211
|
+
left: calc(100% + ${t.sp6});
|
|
212
|
+
}
|
|
213
|
+
`,yr=n.div`
|
|
214
|
+
position: absolute;
|
|
215
|
+
background:
|
|
216
|
+
${y.promoCardGradient1Strong}, ${y.promoCardGradient2Strong};
|
|
217
|
+
width: ${t.sp10};
|
|
218
|
+
z-index: 3;
|
|
219
|
+
height: 100%;
|
|
220
|
+
transform: skew(15deg);
|
|
221
|
+
animation: ${Cr} 4s linear infinite;
|
|
222
|
+
`;export{Ge as ChargeCardPromoUserContent,Rr as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as je,e as Oe,a9 as Ue,aS as M,aa as Be,cQ as _e,aX as G,V as t,fr as $e,d as Le,x as
|
|
1
|
+
import{g as je,e as Oe,a9 as Ue,aS as M,aa as Be,cQ as _e,aX as G,V as t,fr as $e,d as Le,x as d,bE as ze,L as Re,ae as We,fI as Ne,e1 as qe,fJ as He,o as B,w as Me,j1 as J,by as Ge,aT as Je,fL as Qe,O as Xe,u as o,an as Ze}from"./index-BeBXELGm.js";import{a as f}from"./sentry-C-_CW7F_.js";import{n as w}from"./mui-DyrXxcaY.js";import{bJ as Ke}from"./zeni-epic-state-CQ4Yidqa.js";import{x as Ye}from"./LabeledControlledCheckBoxField-BdWZgcQc-DXkTpNG_.js";import{g as et}from"./UploadAdditionalDocumentOverlay-DrAWxBXn-BJ5UA_LJ.js";import"./liveblocks-Ckf7CW56.js";import"./core-UsQu6ilI.js";import"./recharts-ChhaK6iT.js";import"./lottie-70oTIUav.js";import"./analytics-CivFEuof.js";import"./lexical-BKjLQtIV.js";import"./utils-CdVNjKQw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="046aaa38-21b4-4594-9d03-f12cad6fe99f",e._sentryDebugIdIdentifier="sentry-dbid-046aaa38-21b4-4594-9d03-f12cad6fe99f")}catch{}})();const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,o[5],o[5]),sectionRowGap:new d(o[5],o[9],o[9]),iconWidthHeight:new d(20,o[4]),subTitlePaddingTop:new d(12,o[3]),subTitlePaddingBottom:new d(o[3],o[3]),overlayWidth:new d(100,100,59),checkBoxTop:new d(o[1],o[0])},Q="chargeCardSetUpPage",m="payAccount",{commonSetUp:tt,spendManagement:nt}=Xe.getLocalizedStrings(),{chargeCard:K}=nt,{chargeCardSetUp:g}=K,{setUp:_}=tt,wt=({autoPayThreshold:e,isDisabled:r,meetingUrl:x,isEarlyPayEnabled:h,chargeCardSetUpView:a,connectedAccountProvider:Y,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:ae,onFetchLinkTokenClick:oe,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:de,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:fe,onEstablishConnectionClick:ge,onEstablishConnectionSuccess:me,onClickMenuIcon:he,onEnableChargeCardSuccess:P,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:we,onSignUpClick:xe})=>{const y=je(),i=Oe(),E=Ue().analytics,[A,b]=f.useState(!1),{fetchState:C,companyBillPayInfo:$,isRefreshingViewInBackground:Pe,updateStatus:u,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:I,companyDebitCardInfo:L,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:z}=a,R=M(C),k=M(u.fetchState),D=Be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>X(a),[a]),values:X(a)}),ve=D.handleSubmit(se),Ee=async(S,T)=>{const n=T[m];if(S.includes(m))if(S.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const p=z.find(U=>U.id===n.fundingAccount.selectedOption);p!=null&&pe(n.fundingAccount.selectedOption,p.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const p=n.account.allOptions.find(U=>U.value===n.account.selectedOption);p!=null&&typeof p.label=="string"&&E.trackConnectBankLink(p.value,p.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else S.includes("enableAutoPay")&&n.enableAutoPay!=null&&fe(n.enableAutoPay)};f.useEffect(()=>{const S=D.watch((T,{name:n})=>{n!=null&&T!=null&&_e(()=>Ee(n,T))});return()=>{S.unsubscribe()}}),f.useEffect(()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&b(!0),A&&R==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,R]),f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const V=I?.isChargeCardEnabled===!0,F=L?.isDebitCardEnabled===!0,W=L?.isDebitCardTOSAccepted===!0,N=I?.isChargeCardTOSAccepted===!0,q=$?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Ke(l?.providerVerificationStatus?.code??""),j=v?q:q&&Ie,De=C==="In-Progress"||C==="Not-Started";f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const O=v?j&&!F&&W:ie?j&&!V&&N:j&&!(V&&F)&&N&&W,Ve=O?g.setupSubTitleNotEnabled:g.setupSubTitle,H=y.mode==="light"?new G(y.colors.brandColorJadeLight):new G(y.colors.brandColorJadeDark),Fe=()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?b(!0):de?.()};return t.jsxs(at,{children:[t.jsx($e,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>b(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,children:t.jsx(et,{authParams:te,filesEndPoint:ee,updateStatus:u,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,companyOfficer:s,onClose:()=>b(!1),onCompanyOfficerUpdated:Se,onSendForVerificationClick:we})}),t.jsx(ze,{title:g.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!V&&!F&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(ot,{windowSize:i,children:Ve}),De?t.jsx(ct,{children:t.jsx(Re,{size:"ExtraLarge",start:!0})}):t.jsx(We,{...D,children:t.jsx("form",{id:Z(Q),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(Ne,{onClick:Fe,title:_.businessVerificationTitle,subTitle:_.businessVerificationSubTitle,header:_.businessVerificationHeader,icon:{element:t.jsx(qe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:$?.businessVerificationStatus,isLoading:Pe,isActiveWhileLoading:!0}),v?null:t.jsx(He,{connectedAccountProvider:Y,primaryFundingAccount:l,allFundingAccounts:z,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:m,isDisabled:r,onFetchLinkTokenClick:oe,onEstablishConnectionClick:ge,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:g.setupAccountSectionTitle,onEstablishConnectionSuccess:me,icon:{element:t.jsx(Ge,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:E,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:xe,pageName:g.pageName,accountsPromoConfig:ae,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(Ye,{label:{label:K.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:J(m,"enableAutoPay"),checkBoxValue:J(m,"enableAutoPay"),defaultChecked:I?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),O?t.jsx(Je,{formId:Z(Q),primaryBtn:{label:g.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:r!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Qe,{isFooterRendered:O,meetingUrl:x,analytics:E,productType:"charge_cards"})]})},X=e=>{const{allBankAccounts:r,allFundingAccounts:x,primaryFundingAccount:h}=e;return{[m]:{fundingAccount:{selectedOption:h?.id,allOptions:x.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:r.map(a=>({label:a.accountName,value:a.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},Z=e=>`${e}_form`,it=w.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: flex-start;
|
|
4
4
|
height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as W,e as N,V as t,bE as F,o as h,O as R,x as g,an as B,bb as O,a9 as V,i0 as _,L as J,ac as q,u as s,cd as G}from"./index-
|
|
1
|
+
import{g as W,e as N,V as t,bE as F,o as h,O as R,x as g,an as B,bb as O,a9 as V,i0 as _,L as J,ac as q,u as s,cd as G}from"./index-BeBXELGm.js";import{n as r}from"./mui-DyrXxcaY.js";import{$ as U,g as X}from"./BoxItem-CIyMdw2s-Cw7g8XZi.js";import{a as H}from"./sentry-C-_CW7F_.js";import{w as K}from"./downloadPdf-BFFM3Hea-Bqbwez12.js";import"./liveblocks-Ckf7CW56.js";import"./core-UsQu6ilI.js";import"./recharts-ChhaK6iT.js";import"./zeni-epic-state-CQ4Yidqa.js";import"./lottie-70oTIUav.js";import"./analytics-CivFEuof.js";import"./lexical-BKjLQtIV.js";import"./utils-CdVNjKQw.js";import"./commonDimensions-CzWWgDTA-CZ5JdBHB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="64fd2885-0664-4ccb-8603-0f38e59208d1",e._sentryDebugIdIdentifier="sentry-dbid-64fd2885-0664-4ccb-8603-0f38e59208d1")}catch{}})();const D=R.getLocalizedStrings().months,Y={downloadButtonSize:new g(s[4],20)},Q=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
padding: ${h.sp3} ${h.sp4};
|
|
4
4
|
flex-direction: row;
|
|
@@ -19,7 +19,7 @@ import{g as W,e as N,V as t,bE as F,o as h,O as R,x as g,an as B,bb as O,a9 as V
|
|
|
19
19
|
overflow: hidden;
|
|
20
20
|
`,te=r.div`
|
|
21
21
|
cursor: pointer;
|
|
22
|
-
`,
|
|
22
|
+
`,ie=r(G)`
|
|
23
23
|
width: ${e=>Y.downloadButtonSize.valuePx(e.windowSize)};
|
|
24
24
|
height: ${e=>Y.downloadButtonSize.valuePx(e.windowSize)};
|
|
25
25
|
min-height: ${e=>Y.downloadButtonSize.valuePx(e.windowSize)};
|
|
@@ -27,7 +27,7 @@ import{g as W,e as N,V as t,bE as F,o as h,O as R,x as g,an as B,bb as O,a9 as V
|
|
|
27
27
|
&:hover {
|
|
28
28
|
color: ${e=>e.theme.colors.primary};
|
|
29
29
|
}
|
|
30
|
-
`;function
|
|
30
|
+
`;function ae({currentTenantCompanyName:e,data:a,index:n,controllerEmails:l,isDebitCardFeatureEnabled:i,isDebitCardSetupEnabled:o,chargeCardCashbackDetailState:d,depositAccountListWithDebitCardIssued:y,debitCardSummary:x,productInformation:C,creditAccountInformation:S,debitAccountInformation:$,cashbackInformation:f,creditAccountRepayment:I,authParams:P,downloadEndPoint:k,boxType:j}){const b=V().analytics,[v,E]=H.useState(!1),c=N(),z=D[a.monthYearPeriod.month-1],u=`${e}-Credit-Card-Monthly-Statement-${D[a.monthYearPeriod.month-1]}-${a.monthYearPeriod.year}.pdf`,m={period:`${a.monthYearPeriod.year}-${_(a.monthYearPeriod.month)}`,format:"pdf"},p=t.jsx(Q,{children:t.jsxs(Z,{children:[t.jsx(ee,{children:z}),t.jsx(te,{"data-testid":q("download-card-statement"),onClick:()=>{d.fetchState==="Completed"&&I.fetchState==="Completed"&&(!(i&&o)||y.fetchState==="Completed"&&x?.fetchState==="Completed")&&f!=null&&b.trackCardsDownloadClick(l,C,f,{fileCategory:"Credit Card Statement",fileType:"pdf",fileName:u,fileMonthYear:`${D[a.monthYearPeriod.month-1]} ${a.monthYearPeriod.year}`},"Credit Card Statements",n+1,S,$),K(`${k}/statements?query=${encodeURIComponent(JSON.stringify(m))}`,u,P,E)},children:v?t.jsx(J,{size:"Small",start:!0}):t.jsx(ie,{windowSize:c})})]})});return t.jsx(X,{content:p,boxType:j,isDisabled:!1,isNotClickable:!0})}const L=R.getLocalizedStrings().spendManagement.chargeCard.statements,w={listItemMarginLeftRight:new g(s[3],s[8]),containerMarginTop:new g(s[0],s[2]),titleMarginLeftRight:new g(s[3],s[8])},ke=({currentTenantCompanyName:e,authParams:a,controllerEmails:n,productInformation:l,cashbackInformation:i,creditAccountInformation:o,debitAccountInformation:d,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:C,isChargeCardSetupEnabled:S,chargeCardCashbackDetailState:$,depositAccountListWithDebitCardIssued:f,creditAccountRepayment:I,debitCardSummary:P,creditAccount:k,downloadEndPoint:j,statementListView:b,onBackClick:v})=>{const E=W(),c=N(),{sortedYear:z,monthsByYearWithSortedMonth:u}=me(b.statements);return t.jsxs(se,{children:[t.jsx(F,{title:L.title,backgroundColor:E.colors.grey4,style:{zIndex:3},onBackClick:v,source:"ChargeCardStatementsPage"}),t.jsx(ce,{windowSize:c,children:b.statements.length===0?t.jsx(M,{children:t.jsx(de,{children:t.jsx(T,{windowSize:c,children:t.jsx(le,{children:L.noStatements})})})}):t.jsx(re,{children:z.map(m=>t.jsxs(ne,{children:[t.jsx(oe,{windowSize:c,children:m}),t.jsx(M,{children:u[m].map((p,A)=>t.jsx(T,{windowSize:c,children:t.jsx(ae,{productInformation:l,creditAccountInformation:o,debitAccountInformation:d,cashbackInformation:i,creditAccountRepayment:I,depositAccountListWithDebitCardIssued:f,debitCardSummary:P,controllerEmails:n,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:C,isChargeCardSetupEnabled:S,chargeCardCashbackDetailState:$,creditAccount:k,currentTenantCompanyName:e,index:A,data:p,authParams:a,downloadEndPoint:j,boxType:U(A,u[m].length)},p.id)},p.id))})]},m))})})]})},re=r.div``,ne=r.div`
|
|
31
31
|
margin-bottom: ${h.sp6};
|
|
32
32
|
`,M=r.div``,oe=r(O)`
|
|
33
33
|
margin-left: ${e=>w.titleMarginLeftRight.valuePx(e.windowSize)};
|
|
@@ -57,4 +57,4 @@ import{g as W,e as N,V as t,bE as F,o as h,O as R,x as g,an as B,bb as O,a9 as V
|
|
|
57
57
|
width: 100%;
|
|
58
58
|
height: 100%;
|
|
59
59
|
margin-top: ${e=>w.containerMarginTop.valuePx(e.windowSize)};
|
|
60
|
-
`,me=e=>{const
|
|
60
|
+
`,me=e=>{const a=e.map(i=>{const[o,d]=i.period.split("-");return{id:i.id,monthYearPeriod:{year:parseInt(o),month:parseInt(d)}}}),n={};a.forEach(i=>{n[i.monthYearPeriod.year]!=null?n[i.monthYearPeriod.year].push(i):n[i.monthYearPeriod.year]=[i]});const l={};return Object.keys(n).forEach(i=>{l[Number(i)]=n[Number(i)].sort((o,d)=>d.monthYearPeriod.month-o.monthYearPeriod.month)}),{sortedYear:Object.keys(n).sort((i,o)=>Number(o)-Number(i)).map(i=>Number(i)),monthsByYearWithSortedMonth:l}};export{ke as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as K,V as t,ac as b,h_ as pe,aQ as M,a as Q,o,aT as he,x as n,b as ee,n as ue,O as oe,bb as me,c as te,ak as ge,an as F,aS as fe,aa as xe,cQ as ke,d as $,ae as De,gq as be,cV as $e,f7 as W,d1 as X,u as s,fC as we,cq as ye,ca as je,fg as Pe,h9 as Se,ao as q,ha as Le}from"./index-
|
|
1
|
+
import{e as K,V as t,ac as b,h_ as pe,aQ as M,a as Q,o,aT as he,x as n,b as ee,n as ue,O as oe,bb as me,c as te,ak as ge,an as F,aS as fe,aa as xe,cQ as ke,d as $,ae as De,gq as be,cV as $e,f7 as W,d1 as X,u as s,fC as we,cq as ye,ca as je,fg as Pe,h9 as Se,ao as q,ha as Le}from"./index-BeBXELGm.js";import{a as k}from"./sentry-C-_CW7F_.js";import{n as a}from"./mui-DyrXxcaY.js";import"./liveblocks-Ckf7CW56.js";import"./core-UsQu6ilI.js";import"./recharts-ChhaK6iT.js";import"./zeni-epic-state-CQ4Yidqa.js";import"./lottie-70oTIUav.js";import"./analytics-CivFEuof.js";import"./lexical-BKjLQtIV.js";import"./utils-CdVNjKQw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="6db4ceb4-c6c3-4630-9cd0-be7f73724701",e._sentryDebugIdIdentifier="sentry-dbid-6db4ceb4-c6c3-4630-9cd0-be7f73724701")}catch{}})();const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",V="selectDocument",E=e=>{const c=[];return e.checkFront!=null&&c.push(e.checkFront.fileId),e.checkBack!=null&&c.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(f=>({label:f.accountName,value:f.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:c,[V]:{front:e.checkFront,back:e.checkBack}}}},D=(e,c)=>`${e}.${c}`,Be=e=>`${e}_form`,u={largeLabelWidth:new n(160,160,160),rowContentPaddingLeft:new n(s[3],s[4]),checkPicRowContentPaddingXAxis:new n(s[3],s[4]),labeleMarginLeft:new n(s[0],s[0]),labeleMarginBottom:new n(s[2],s[0]),labelMarginRight:new n(s[3],s[3]),labeledFieldPaddingLeft:new n(s[3],s[0]),labeledFieldPaddingRight:new n(s[3],s[2]),labeledFieldPaddingTop:new n(s[3],s[3]),labeledFieldPaddingBottom:new n(s[3],s[2]),infoLabelPaddingRight:new n(s[0],s[3]),infoLabelMarginTop:new n(s[1],s[0])},{spendManagement:ze,common:O}=oe.getLocalizedStrings(),l=ze.zeniAccounts.zeniAccountList,Ae=O.documents;function Ie({checkDeposit:e,analytics:c,filesEndPoint:f,openPopup:w,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T}){const r=K(),d=e.fetchState,L=fe(d),[v,_]=k.useState(!1),[se,B]=k.useState(!1),z=u.largeLabelWidth.value(r),x=xe({mode:"all",reValidateMode:"onBlur",defaultValues:E(e),values:E(e)}),{isValid:re}=x.formState,Y=i=>{const p={amount:{amount:i[g].amount??0,currencyCode:O.currency.currencyCode,currencySymbol:O.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(p)},ce=async(i,p)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},p);Y(h)}};k.useEffect(()=>{const i=x.watch((p,{name:h})=>{h!=null&&p!=null&&ke(()=>ce(h,p))});return()=>{i.unsubscribe()}}),k.useEffect(()=>{L==="Completed"&&d==="Not-Started"&&x.reset(E(e))},[L,d,x,e]),k.useEffect(()=>{e.error!=null?B(!0):B(!1)},[e.error]);const le=x.handleSubmit(()=>{if(re){c.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=x.getValues();Y(i),T?.()}}),ne=(i,p)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(I=>I.id===i),A=e.depositAccounts.depositAccounts.findIndex(I=>I.id===i);return h?t.jsx(Oe,{color:Se(A),isSelectedValue:p}):null},de=(i,p)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?p===!0?t.jsx(Ve,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(G,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(G,{children:M("0,0[.]00",h?.accountBalance?.available)})]}):null};return t.jsxs(t.Fragment,{children:[se?t.jsx(Re,{children:t.jsxs(qe,{children:[t.jsxs(_e,{children:[t.jsx(Qe,{}),t.jsxs(We,{children:[t.jsx(Xe,{children:e.error?.title}),t.jsx(Ge,{children:e.error?.message})]})]}),t.jsx(Ye,{children:t.jsx(ro,{"data-testid":b("check-deposit-form-close"),onClick:()=>{c.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),B(!1)},style:{width:o.sp3,height:o.sp3,color:$.heroLight}})})]})}):null,t.jsx(He,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...x,children:t.jsx("form",{id:Be(ve),onSubmit:le,children:t.jsxs(Ze,{children:[t.jsx(be,{showAdditionalInfoLabel:!1,label:{label:l.checkDepositDrawer.amountLabel,width:z},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:l.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(N,{}),t.jsx($e,{label:{label:l.checkDepositDrawer.sourceLabel,width:z},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:l.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:i=>i!=null}}}),t.jsx(N,{}),t.jsx(ae,{size:r,children:t.jsx(eo,{size:r,children:t.jsx(Ue,{label:{label:l.checkDepositDrawer.depositToLabel,width:z,style:{marginLeft:u.labeleMarginLeft.valuePx(r),marginBottom:u.labeleMarginBottom.valuePx(r),marginRight:u.labelMarginRight.valuePx(r)}},style:{paddingTop:u.labeledFieldPaddingTop.valuePx(r),paddingBottom:u.labeledFieldPaddingBottom.valuePx(r),paddingLeft:u.labeledFieldPaddingLeft.valuePx(r),paddingRight:u.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(r),marginTop:u.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(i,p)=>ne(i,p),valueToSubLabels:(i,p)=>de(i,p),name:D(g,"depositTo"),placeholder:l.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(Je,{size:r,children:[t.jsxs(Ke,{size:r,children:[t.jsx(Ee,{children:l.checkDepositDrawer.checkPicLabel}),t.jsx(H,{isLast:!1,children:l.checkDepositDrawer.frontSide}),t.jsx(W,{name:`${D(g,V)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:f,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:X,placeholderText:r==="small"?l.checkDepositDrawer.uploadDocument:l.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:S,openPopup:w,showPhotoPicker:!0,errorInfoLabel:l.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(H,{isLast:!0,children:l.checkDepositDrawer.backSide}),t.jsx(W,{name:`${D(g,V)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:f,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:X,placeholderText:r==="small"?l.checkDepositDrawer.uploadDocument:l.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:S,openPopup:w,showPhotoPicker:!0,errorInfoLabel:l.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:l.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const Ee=a(F)`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
`,Ne=a(F)`
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn,e as W,aG as $n,aA as Io,dy as vn,dz as Wo,O as I,u as w,dA as ti,dB as Vt,dC as Dt,ck as Rt,dD as Gt,x as D,dc as Et,ay as Ht,ab as rt,cv as De,bW as K,L as Oo,v as Mo,H as No,g as ce,aX as B,b1 as ni,bZ as ii,ap as Ne,dE as Po,dF as se,cj as Kt,c9 as _n,ak as zo,ao as Ce,dG as at,dH as Pe,dI as st,an as S,cq as ie,dJ as Fo,w as Yt,dK as Ze,dL as Ln,dM as To,dN as Vo,dO as An,dP as Do,dQ as Ro,dR as Go,bb as oi,aY as V,b8 as Eo,cI as Ut,cH as Zt,dS as Ho,b9 as ri,cL as ai,b$ as Ko,dT as Yo,dU as Uo,dV as Bn,dW as In,dX as Zo,dY as qo,c1 as Xo,bM as Qo,dZ as Jo}from"./index-
|
|
1
|
+
import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn,e as W,aG as $n,aA as Io,dy as vn,dz as Wo,O as I,u as w,dA as ti,dB as Vt,dC as Dt,ck as Rt,dD as Gt,x as D,dc as Et,ay as Ht,ab as rt,cv as De,bW as K,L as Oo,v as Mo,H as No,g as ce,aX as B,b1 as ni,bZ as ii,ap as Ne,dE as Po,dF as se,cj as Kt,c9 as _n,ak as zo,ao as Ce,dG as at,dH as Pe,dI as st,an as S,cq as ie,dJ as Fo,w as Yt,dK as Ze,dL as Ln,dM as To,dN as Vo,dO as An,dP as Do,dQ as Ro,dR as Go,bb as oi,aY as V,b8 as Eo,cI as Ut,cH as Zt,dS as Ho,b9 as ri,cL as ai,b$ as Ko,dT as Yo,dU as Uo,dV as Bn,dW as In,dX as Zo,dY as qo,c1 as Xo,bM as Qo,dZ as Jo}from"./index-BeBXELGm.js";import{n as a,c as N}from"./mui-DyrXxcaY.js";import{a as z,P as er}from"./sentry-C-_CW7F_.js";import{F$ as jt,FM as qt,Gh as Xt,Gi as Re,Gj as Qt,Gk as Jt,Gl as en,Gm as tn,Gn as li,Go as tr,FO as Ge,bm as Wn,bg as si,Gp as ci,cc as nr,bo as ir,G0 as di}from"./zeni-epic-state-CQ4Yidqa.js";import{N as ct,D as or,R as rr,B as Se,u as _}from"./AccountRow-C-Iunc36-BeM9tlra.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]="2f9ca24d-fbc3-4141-900f-33d082abafb6",e._sentryDebugIdIdentifier="sentry-dbid-2f9ca24d-fbc3-4141-900f-33d082abafb6")}catch{}})();function Z(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return xe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return U("0,0",e?.balance)}function Q(e){return U("0,0",e?.forecast)}function hi(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return xe("0.00%",e.totalPercentValue)}return U("0,0",e?.totalBalance)}function Lt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return xe("0.00%",e.forecastPercentValue)}return U("0,0",e?.totalForecast)}function he(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return xe("0.00%",Math.floor(n*100)/100)}else return xe("0.00%",void 0)}function ue(e){if(e!=null&&e.forecast!=null){const n=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return U("0,0",Object.assign({},e.forecast,{amount:n}))}else return U("0,0",null)}function ui(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return xe("0.00%",Math.floor(n*100)/100)}else return xe("0.00%",void 0)}function pi(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return U("0,0",Object.assign({},e.totalForecast,{amount:n}))}else return U("0,0",null)}const Ee=(e,n,i)=>{const{startDate:o,balanceType:r}=n,{dateFormat:{visual:l}}=I.getLocalizedStrings();switch(i){case"month":return r==="default"||r==="default_with_percent"?`${jt(o,l.MMMYYYYFormat,e)}`:Ct(r,i);case"quarter":return r==="default"||r==="default_with_percent"?`${I.getLocalizedStrings().reports.quarterPrefix}${jt(o,l.QYYYYformat,e)}`:Ct(r,i);case"year":return r==="default"||r==="default_with_percent"?`${jt(o,l.YYYYformat,e)}`:Ct(r,i);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function Ct(e,n){return I.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const Rg=(e,n,i)=>{const o=n.length==0?e:`${e}_${n.join("_")}`;return i!=null&&i.trim().length>0?`${o}_${i}`:`${o}_${Bo(10)}`},ar=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
width: 100%;
|