@zeniai/web-cockpit-ui 1.15.16-dev → 1.15.17-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-BOZmOJHO-CwAQrPpG.js → ACHDetailsPage-cAgIhKJs-bGTsqigs.js} +1 -1
- package/dist/assets/{AIPerformancePage-ZVCJizP9-BEYLvxG6.js → AIPerformancePage-BPwI4kZG-BTP4khzH.js} +12 -12
- package/dist/assets/AccountInfoPage-jlXCF7Gn-p294yilG.js +18 -0
- package/dist/assets/{AccountInfoPageContent-D0wuuzMd-fpNJ2YsG.js → AccountInfoPageContent-CIjrqt8Z-xcHih_xf.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-Cfx-lPAZ-BkStU3hi.js → AccountLockedInfoModal-b0SYt4cr-DyDb_wyO.js} +2 -2
- package/dist/assets/{AccountReconDetailsDrawerPage-DbHX6rPG-DTTeCxce.js → AccountReconDetailsDrawerPage-CEjWEa01-aoYQi4ku.js} +5 -5
- package/dist/assets/{AccountRow-Bk_25FCy-BSk-hvqy.js → AccountRow-C9lnDVNf-86hTjbuw.js} +8 -8
- package/dist/assets/{AccountsPromoCardStack-DAXRwY1f-BvuQll0f.js → AccountsPromoCardStack-hzApdgeN-DUJB0-p0.js} +1 -1
- package/dist/assets/AddAddressForCardDrawer-BIjROWAw-BSYp9XYN.js +6 -0
- package/dist/assets/{AddToWalletPage-CzziHgi7-BQwLxI1X.js → AddToWalletPage-CgCHdO6c-CiVYqd0C.js} +5 -5
- package/dist/assets/{AgingReportsPage-Bdi3krKK-CTkT1Zm8.js → AgingReportsPage-B0NKfFq5-Bk4x7HpE.js} +4 -4
- package/dist/assets/{AllUserItems-XWDuiug6-DLAl8Xcx.js → AllUserItems-D6uMCcjF-CS_wO3mh.js} +4 -4
- package/dist/assets/{ApAgingDetailPage-CaM_AzrU-DPf2WuMd.js → ApAgingDetailPage-CxS9o2Dj-B1fPZ2rF.js} +2 -2
- package/dist/assets/{AppBasePage-B7_L4R6d-BHqVR5DP.js → AppBasePage-BnfCjFJA-CQeMBbMI.js} +1 -1
- package/dist/assets/{AppDrawerContent-DSX1364T-pcNTv-EE.js → AppDrawerContent-CwBFjBnr-CKjzuecx.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-DrjPOeyp-C5ILQVYd.js → ApprovalRulesSettingsPage-91Tg_EpH-BzKB_HwN.js} +2 -2
- package/dist/assets/{ArAgingChart-M7KUNA4G-DBWSBarK.js → ArAgingChart-6qcRcKoz-MYhKnyKG.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-7lby5mXn-G9J2gxqo.js → ArAgingDetailPage-DmUWtQsX-KXzejd7L.js} +2 -2
- package/dist/assets/{AttachmentView-Bsa0u92o-CQtMxB6c.js → AttachmentView-B0oZITps-CNLEqH0L.js} +2 -2
- package/dist/assets/{BankAccountSection-BkOlwayA-gKroDONq.js → BankAccountSection-C8G2PrLh-OgTv2VaB.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-uMOXLH0B-Dmm_2ZeO.js → BankAccountWarningSection--DkXEMWU-jfcY3ZKV.js} +8 -8
- package/dist/assets/{BankConnectionsSettingsPage-C_YytTke-BLDqC2se.js → BankConnectionsSettingsPage-DmzolLyN-BNSTT_VR.js} +1 -1
- package/dist/assets/{BillDetailPage-DvU5_Rsp-QONja72z.js → BillDetailPage-BuCOe4eB-DBZDvMBw.js} +4 -4
- package/dist/assets/BillPayApprovalRuleDetailPage-y3qBdiwE-CP9uLqPK.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-CA9eufjt-DhCNQwaz.js → BillPayApprovalRulesPage-DpN3O_Q1-ILVegrck.js} +9 -9
- package/dist/assets/{BillPayPromoPage-DsXPWKAf-CH-kAnh9.js → BillPayPromoPage-Dcly8epm-DNaDxuq-.js} +3 -3
- package/dist/assets/{BillPaySetUpPage-CeMhzZ_3-BAILYdpq.js → BillPaySetUpPage-zxd0WLUm-CL6S_QEz.js} +2 -2
- package/dist/assets/{BillingSettingsPage-BygJjDSp-ZMuXzR1y.js → BillingSettingsPage-Djx3EUQO-2EyCLMZp.js} +11 -11
- package/dist/assets/{BillsBulkReviewDrawerPage-WrR46NRa-Cq3ZfsO5.js → BillsBulkReviewDrawerPage-gK7xRoiE-B9WwX7Kq.js} +1 -1
- package/dist/assets/{BoxItem-C0M4PSXY-Dz-uzrl9.js → BoxItem-ClRdlCWM-B_aqSV-L.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-C63pUk4d-CY7SQzHf.js → BusinessVerificationPage-Dzp7gFwH-iwUmX4wV.js} +2 -2
- package/dist/assets/{CardNumberSubText-B4dAoYDE-S0p2Dvhi.js → CardNumberSubText-CHr49_cJ-9Ya6XjXp.js} +2 -2
- package/dist/assets/{CashbackDetailPage-B6xvn-y3-C2QB22yP.js → CashbackDetailPage-BNHzTYwa-BdAtNCNi.js} +16 -16
- package/dist/assets/{ChargeCardDetailPage-eJJ4MEE6-Cbmrl3gL.js → ChargeCardDetailPage-DWyRrPSy-BvyyNVxe.js} +34 -34
- package/dist/assets/{ChargeCardListPage-BYI2HIjA-DQe2h7t9.js → ChargeCardListPage-D3nBV6Fu-DfN7aWAo.js} +1 -1
- package/dist/assets/{ChargeCardListTable-DAVYmKCK-CXpYrtrT.js → ChargeCardListTable-DBYEXr_N-7b006WJ7.js} +28 -28
- package/dist/assets/{ChargeCardPaymentHistoryPage-BX5HtOxd-CtFjNufh.js → ChargeCardPaymentHistoryPage-BEvuS2te-BxwCFTIZ.js} +18 -18
- package/dist/assets/ChargeCardPromoPage-DxNPvbeh-CTzLEbbH.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-DG1eKhYR-DW3nMBQs.js → ChargeCardSetupPage-BgBF1U8E-DnPnCE_j.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-CvtZtuVC-D3csdiBJ.js → ChargeCardStatementsPage-UttZjyIb-CinG3Yr4.js} +6 -6
- package/dist/assets/{CheckDepositDrawerPage-BdacGDpy-B_co6EhK.js → CheckDepositDrawerPage-sXY6MJoX-BBStJHqh.js} +9 -9
- package/dist/assets/{CollapsableReportTable-UADp1m_8-CTcsoqje.js → CollapsableReportTable-3luMEAJg-BroWF-FL.js} +60 -60
- package/dist/assets/{CompanyOfficerDetailsSection-CaAR0Wvk-CBJ-_ogf.js → CompanyOfficerDetailsSection-wa4YnlL--Bvat7gA-.js} +1 -1
- package/dist/assets/{CompanyPassportCard-BJN2GEVm-gEElvrvK.js → CompanyPassportCard-FgYHweiL-B5gr1lJ_.js} +6 -6
- package/dist/assets/{CompanyPassportPage-D2ALJDF_-B6f-pO9X.js → CompanyPassportPage-B8LoE1o9-B6zE-V-E.js} +1 -1
- package/dist/assets/{CompleteProfile-C8X8Z3C2-1FrtaPxU.js → CompleteProfile-6pDQ6JjU-C7odNMQ5.js} +2 -2
- package/dist/assets/{ConfettiBurst-DxHzdDPp-Be75-rA7.js → ConfettiBurst-BAIozwVU-BMA4g7cW.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-DePlTE9o.js → ConstrainedInnerElement-BeIpAPjB-CbQ77GJr.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-y-COpdhs-Cw0_CLuv.js → CreateOrEditVendorPage-DMWtQ3qU-Bg7OoiTt.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-CntYJJ8v-CprMPTAM.js → CreditCardPaymentDrawerPage-OzD38_F8-B8JNfyMQ.js} +5 -5
- package/dist/assets/{CurrencySelectField-Dn-hE2az-XRHzVtOt.js → CurrencySelectField-DL4q5vKR-DqpW0Wz5.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-B9MZHJVc-CzGOfqlu.js → CustomerOnboardingActivationPage-C8mciX-r-B9Cshw5r.js} +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-Btl2A6Cw-CdJnPywR.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BCe8BvQF-BsLS_Cn1.js → CustomerOnboardingDetailPageSkeleton-Nl6SOtES-B3qnBN4d.js} +4 -4
- package/dist/assets/{CustomerOnboardingNoStepsPage-BHk7rDAg-C5ajOfPI.js → CustomerOnboardingNoStepsPage-CQN8EEU--ChBu6uTX.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-1LvpVpHC-BrVAkLSK.js → CustomerOnboardingPage-B77cjZbE-Do4tQjfo.js} +7 -7
- package/dist/assets/CustomerOnboardingProductSuitePage-BYC_Sp__-B35TL-cQ.js +202 -0
- package/dist/assets/{Dashboard-CCV0_aCP-BXhr1WNF.js → Dashboard-DAP7UzjW-DBsJoK5k.js} +1 -1
- package/dist/assets/{DashboardReportPage-CmoH9Vrc-DJMMkkGF.js → DashboardReportPage-iAA_QiN2-BfmuWrMe.js} +10 -10
- package/dist/assets/{DashboardSidebarBackgroundAnimation-hw3einS7-BAKkeTFg.js → DashboardSidebarBackgroundAnimation-CIKwGufL-B4WWY8cX.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DgdkYGjP-cYRUSlBG.js → DepositAccTransactionItem-D3x1jhKt-DssCTMB7.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-CF0WJn9M-C_3AVCeF.js → DepositAccTransactionListPage-W9xt6kxv-BUhaUskS.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-B12tNa6e-uEIGVaj9.js → DomesticWireDetailsPage-DHUzdqCs-CeJMtDxo.js} +1 -1
- package/dist/assets/{DownloadOverlay-Dt9yt4Fz-BLty8T-n.js → DownloadOverlay-C8byijvE-DCI_09Q4.js} +1 -1
- package/dist/assets/{DrawerPage-Clki97FA-BA9PorYC.js → DrawerPage-DMQ5MoIw-BlXGV-xV.js} +12 -12
- package/dist/assets/{EditPeoplePage-CKS_aEZm-D119ukKN.js → EditPeoplePage-D7TQFFBG-Djz1uJLh.js} +3 -3
- package/dist/assets/{EditReimbursementDetailPage-CXy2ZWfZ-DpLpJWez.js → EditReimbursementDetailPage-STVvYnku-Dyx2Oikb.js} +1 -1
- package/dist/assets/EntityDetailPage-20BKV_TK-B5sqJOYK.js +18 -0
- package/dist/assets/{EntitySummarySection-D_YLsP_P-t3_MJbgk.js → EntitySummarySection-6JSSyIPA-K01fPehF.js} +24 -24
- package/dist/assets/{ExpenseAutomationOverviewPage-4z3yzHEA-CJviw0EF.js → ExpenseAutomationOverviewPage-DpoYnwJh-DSAhakn4.js} +8 -8
- package/dist/assets/{ExpenseAutomationPage-BJ4H_c2z-DDA_nGZx.js → ExpenseAutomationPage--kONBcsX-DlY4RThk.js} +1 -1
- package/dist/assets/{ExpressPayPage-CTBD4y1v-BPs_d41G.js → ExpressPayPage-a31-5Bgz-B-4aw0li.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-CYuTQWpP-BflQGHBv.js → FeaturePreviewPage-z8BJQeL--ChibcOOA.js} +2 -2
- package/dist/assets/{FollowStepsSection-BrpI2HyW-CiBKuMZv.js → FollowStepsSection-Bl933px0-DXKlKasr.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-BcvxLqIL-2_WHm0aW.js → GlobalReviewListPage-BLPF3T4t-0m0mv8R4.js} +7 -7
- package/dist/assets/{InformationCardStack-CU4Moqky--vtJfmXM.js → InformationCardStack-BTWe4X6t-DdN7cWvp.js} +2 -2
- package/dist/assets/{InsightsCardStack-D8UQiuXZ--_fLkoGW.js → InsightsCardStack-CoSz_FKI-xRb_a3yi.js} +8 -8
- package/dist/assets/{InsightsSection-C3X6ZNEt-NjJemZo-.js → InsightsSection-DEnkGYD8-BV7sZQsr.js} +4 -4
- package/dist/assets/{IntegrationsSettingsPage-CsLv00HW-BeC7UsBa.js → IntegrationsSettingsPage-CEaBjt99-Do0dnq5V.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-DgrN5Xg7-C4XmzhP5.js → InternationalWireSwiftDetailsPage-C1i-ujyZ-DIPsBga8.js} +6 -6
- package/dist/assets/{InternationalWireVerificationPage-CvysJNBQ-Ca744cyt.js → InternationalWireVerificationPage-CWBpTNA9-9aWL0J3i.js} +2 -2
- package/dist/assets/{InviteFormPage-B3KmRWXd-C2ITeVTl.js → InviteFormPage-B2Rl23Qb-D49rnAc4.js} +17 -17
- package/dist/assets/{InvitePageListView-DfpJBZru-tcIB_WKy.js → InvitePageListView-E_2j_tF7-BsS6FATD.js} +1 -1
- package/dist/assets/{InvitePeoplePage-C5Qgk24s-WY8vJMhk.js → InvitePeoplePage-CljSsdaM-DHNLTMCH.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-BO1i-e_D-BEHL-1J7.js → InvoiceUploadSection-drGgAU5w-CP2A3IhR.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-mPsxt52d-x--Yc1yG.js → IssueChargeCardPage-Cj6pmQbt-DDVdjZ4v.js} +17 -17
- package/dist/assets/{LabeledAddressValue-C4fnQSyi-C-QRaLS5.js → LabeledAddressValue-BjCojNni-CsHQb5xA.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-D6dEaI69-Chc-QlAF.js → LabeledAddressValueField-DyHTdGlm-CErilABA.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-B1QdZmvd-IUa4evUP.js → LabeledControlledCheckBoxField-B5Csu2og-C5h8CQSb.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-XeBih_-f-DKxnjH2w.js → LabeledCountryMultiSelectField-Ds0vvyNd-ypZKY9co.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-BPX2Nrlf-ZlY5YONf.js → LabeledCreatableSingleSelectField-C-dLOvWU-28KwULO3.js} +5 -5
- package/dist/assets/LabeledDocumentField-b5xujqjK-HTjOeiZT.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-A-rgip1E-B17ex07S.js → LabeledDropDownFormattedTextField-DHx90GON-Rl0wOSQX.js} +2 -2
- package/dist/assets/{LabeledMultiSelectField-Di9Wnifv-ByxiVL3j.js → LabeledMultiSelectField-CEoszkBN-B4_Me-4T.js} +1 -1
- package/dist/assets/{LabeledText-38fqkkE--Cee_T29J.js → LabeledText-CRJr2zA8-DRZ423PA.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BbF25dUP-BHp0iG9D.js → LabeledUserSingleSelectWithSubtitlesField-CM0HeG1R-pTmkakCa.js} +7 -7
- package/dist/assets/{LabeledZeniRolesDropDownField-Dg9_Ww-A-Dic3e3FJ.js → LabeledZeniRolesDropDownField-CR8M-X5s-DPGEl74a.js} +7 -7
- package/dist/assets/{LinkJETransactionPage-66mQ4nrK-Bsoo2mEs.js → LinkJETransactionPage-DfY5sKBg-BKNhXIRx.js} +1 -1
- package/dist/assets/{LockCardPage-BCqN4K17-Cjzeji2k.js → LockCardPage-CgCv-EKl-CipF6lcu.js} +9 -9
- package/dist/assets/{LowBalancePopup-BPk1-eAb-DFTxz9st.js → LowBalancePopup-OUWtUPdo-DRkjFCjE.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-DJEu5rMd-BJeKMJK9.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage--0yYTzva-BnphHyQr.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-B9u7g87s-YokU7IH5.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-BwN3dPJM-CQeiTIkx.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-77rxhjLm-BjRMFjlF.js → MagicLinkTitleSection-C_Xng7ad-D4iutPsA.js} +1 -1
- package/dist/assets/MailingDetailsSection-Dmq45H_s-CjyySHTi.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-z0tHaSl1-CfQVHlUR.js → MyBankConnectionsSettingsPage-CNUaVzw3-CZkaA3pm.js} +5 -5
- package/dist/assets/{MyPendingActivationChargeCardListPage-CwGYwufd-CT3LLyZc.js → MyPendingActivationChargeCardListPage-Dz1U6l9--DwLxZlPN.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-8yBXAre6-DacQsI6-.js → MyProfileSettingsPage-DdlCBRiN-BYlOj9no.js} +4 -4
- package/dist/assets/{NavBarWithPicker-C3LVyiC9-etzEx9wd.js → NavBarWithPicker-Cx9v8jpk-DJ52ZXJM.js} +4 -4
- package/dist/assets/{NavigationArrow-NuJEpE7O-D8kY8llG.js → NavigationArrow-CNO4O4XS-DUm9WGAp.js} +1 -1
- package/dist/assets/{NavigationDots-C7Na64B9-CVWaz9qo.js → NavigationDots-BX9DbCj7-RHGokei7.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-Cus6zYV_-FAQYGhqe.js → NewGlobalMerchantPage-Bo_ZeDQH-CgpotWIt.js} +29 -29
- package/dist/assets/NoDataChart-JfED3unL-jJumSwoX.js +26 -0
- package/dist/assets/NoDataTable-BFpO3ZtS-ubjUd8M_.js +8 -0
- package/dist/assets/{NotFoundPage-RjXioqc8-DtIGcQuh.js → NotFoundPage-D_HhIdYv-DyNtigHQ.js} +6 -6
- package/dist/assets/{NotificationSettingsPage-DrDW_LU_-CrTfhQjB.js → NotificationSettingsPage-B2d-vPIZ-WS4EaJDB.js} +4 -4
- package/dist/assets/{NotificationsListConfig-C6_ap0JT-D8w6YoUC.js → NotificationsListConfig-C4LF_8h1-ojY4Mfu-.js} +1 -1
- package/dist/assets/{NotificationsPage-DOM-Gf5P-DnumyiFl.js → NotificationsPage-7HqRmokr-0AvCCTrK.js} +1 -1
- package/dist/assets/{OpExByVendorPage-CTuBB827-C0LLpOUj.js → OpExByVendorPage-CwD1U9q_-idpf-eH0.js} +1 -1
- package/dist/assets/OverlayContainerPage-D4QU0p4o-D2c2jURk.js +11 -0
- package/dist/assets/{PandLWithForecastPage-BXaENYdR-D65iSrrB.js → PandLWithForecastPage-CRkDr0QK-D1powlVT.js} +4 -4
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DSnQX90O-DFq5LHyH.js → PaymentAccountSetupBillingAddressSection-B6nTWyOD-gY1zpkFD.js} +6 -6
- package/dist/assets/{PeoplePage-BlyVVthI-D_1cj1g5.js → PeoplePage-D5eQETB2-DZx25X-Y.js} +1 -1
- package/dist/assets/{Preview-DYusR3hO.js → Preview-Bfns_dDG.js} +1 -1
- package/dist/assets/{ProductsCarousel-CAcPH--E-Bb_qjCmp.js → ProductsCarousel-BXPXaIWg-Av-oVPlG.js} +1 -1
- package/dist/assets/{PromoBaseCards-BVwZMVeE-B84_P5r4.js → PromoBaseCards-C-S0ckZq-DcP7gArA.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-C3OYyhYO-CMjuhlXs.js → QBOConnectionDialog-qqbamtpL-BeJJQ440.js} +1 -1
- package/dist/assets/{QBOSetupSection-DQjol-D0-eqxvZA5D.js → QBOSetupSection-CZu_mtMP-CZBINdYC.js} +4 -4
- package/dist/assets/ReimbursementApprovalRuleDetailPage-BE-QC1b0-CvaYArLZ.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-Cx0gs7sS-CYC590wb.js → ReimbursementApprovalRulesPage-CXbYB3Y5-Cbew60RV.js} +4 -4
- package/dist/assets/{ReimbursementDetailPage-Cs_rmkS8-wwjwvRb9.js → ReimbursementDetailPage-DXMDyCop-DlZGIADX.js} +4 -4
- package/dist/assets/{ReimbursementPromoPage-CCFl0kQK-LLEMYe4d.js → ReimbursementPromoPage-DGXHkiBN-DLifue2f.js} +7 -7
- package/dist/assets/{ReimbursementSetUpPage-lf3xTVFh-DDKfdVM2.js → ReimbursementSetUpPage-Dd1iGv5X-C_E7fz-A.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-C5MTFJLG-CF6p2IJ7.js → ReimbursementsBulkReviewDrawerPage-D46qP31Q-DT9YskKf.js} +1 -1
- package/dist/assets/{ReloadCard-V_tv6YLR-B4Af3G_4.js → ReloadCard-BJke_yPt-D_L8D7X-.js} +6 -6
- package/dist/assets/{ReportTableViewSelector-CWEvGn8L-Dlv8mUdn.js → ReportTableViewSelector-DiYnlME4-BJ1-sTjo.js} +3 -3
- package/dist/assets/{ReportsPage-BJOH1wgv-CO7zRrKg.js → ReportsPage-bmKftmYF-NgXuxPpu.js} +1 -1
- package/dist/assets/{RevenueChart-C_tSBw_N-BD0DJwPU.js → RevenueChart-DjTdsbym-CUUEbo6t.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-CScPf4w3-ByB3b1ie.js → ReviewDetailsPage-NFOdusAU-CVH2L4to.js} +6 -6
- package/dist/assets/{ReviewOverlay-BQVwPzKa-ddzk5bgf.js → ReviewOverlay-Q8tlLMbm-BLu76gBy.js} +20 -20
- package/dist/assets/{RoleWithToolTip-GCV_l8Ly-C2pYTZmo.js → RoleWithToolTip-BWdD1HmA-BCpJ5d2U.js} +3 -3
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cgqgn7nk-O0hb5LF0.js → ScheduleDetailsFixedAssetsPage-CpjdnINH-Dzwzq8FX.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-D1EJbzxN-DOCtWqTf.js → ScheduleDetailsPage-DVnetdnH-DhMiGzx8.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-DDhoyPGX-zvxwe9e1.js → ScheduleSequenceTable-rJ0jC94w-DDWgbE_4.js} +14 -14
- package/dist/assets/{ScreenRoutes-YzeouUfS.js → ScreenRoutes-0NyWgCAY.js} +1 -1
- package/dist/assets/{SetUpAccountSection-AVL_16HQ-j-o6nNSY.js → SetUpAccountSection-BCoHzvyG-CzNKWW7X.js} +1 -1
- package/dist/assets/{SignIn-BLUwTp1l-BTGTjmO9.js → SignIn-k3DDmpFU-BAnREigf.js} +14 -14
- package/dist/assets/SignInScreen-BOrZAIYm.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-DJbNFHvP-QKyzE-ot.js → SpendManagementListViewPage-DCfMKXfi-BWeN8ijV.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-J5pIRm-Q-CND_3E3i.js → SpendManagementPerTabPage-Hv3QMqv0-CTD5vH6J.js} +16 -16
- package/dist/assets/{SpendManagementSection-DZaP5ai6-C9tEMxFA.js → SpendManagementSection-BRp2eDfv-DVKGvM7g.js} +8 -8
- package/dist/assets/{StatementItem-D2Fx65LN-CJdCyRP1.js → StatementItem-9DHoMBjx-DlzvIjc2.js} +2 -2
- package/dist/assets/StatementsPage-CdOlg2R0-CFHx0zSi.js +58 -0
- package/dist/assets/{StatusSwitcher-C5ZrzI8Y-Dj5TyEni.js → StatusSwitcher-B5nSXHv6-DTMRsMtw.js} +1 -1
- package/dist/assets/{SubTabSwitcher-BXZxKeq9-B2Zwj5g3.js → SubTabSwitcher-BPSCR7GS-CQQ30d6t.js} +3 -3
- package/dist/assets/{SummaryCard-194UToy6-UI_LM1oG.js → SummaryCard-DdYMAiws-C4w7QxN_.js} +1 -1
- package/dist/assets/{TaskManagementPage-zcxDUo0t-Do3_cxqD.js → TaskManagementPage-9OEooDk9-BnhlYqUu.js} +21 -21
- package/dist/assets/{TimeRangeSwitcher-Bsv7zQmN-uGCucrEy.js → TimeRangeSwitcher-BG9h3Mws-BXPl7KzE.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-DtxsNy1Z-Dby2t82a.js → TimeframeSwitcher-BlkN2ln5-CbPVM8iC.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-B5bFhbvL-Ba9NENkn.js → TimeframeSwitcherWithToggle-r8YzbhCn-DALUFB9M.js} +2 -2
- package/dist/assets/{TopExCard-CBua66Cj-iZDx6oGD.js → TopExCard-CDAkgH2B-DQW-zWxw.js} +4 -4
- package/dist/assets/{TopExDetailPage-DtMA-XMp-BkiYCTbM.js → TopExDetailPage-BN9IdTkO-DE8PmHT3.js} +11 -11
- package/dist/assets/{TransactionActivityLogPage-C3BPL8hi-B6EDUUtr.js → TransactionActivityLogPage-CTl6Lo3h-Dr0PqgiK.js} +5 -5
- package/dist/assets/{TransactionDetailPage-CeKaduBe-w8WXAz1Q.js → TransactionDetailPage-DSR3itvE-B47s770o.js} +1 -1
- package/dist/assets/{TransactionList-CSx8ZCZ--fRx-iJTn.js → TransactionList-wLBz-A1j-R5pqCBUj.js} +7 -7
- package/dist/assets/{TransactionListBig-B4cNQY2d-jRs-SXs3.js → TransactionListBig-BA00B8Vn-B52eXfHk.js} +4 -4
- package/dist/assets/{TransactionListPage-DHr64V-b-Bgsdc044.js → TransactionListPage-Dyi4SMpD-Bm97EAJv.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-DsxI8U5b-fUCL3Z3e.js → TransactionVendorDetailPage-6HbXn17w-COo-5ffY.js} +3 -3
- package/dist/assets/{TransferDrawerPage-C91TQwZi-CLRJKfIG.js → TransferDrawerPage-GnqDJJ7x-u45NHhBy.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-BoBn_gtF-BBlPDTVn.js → TreasuryOverviewPage-7s3XhxYc-CoT8RYIQ.js} +14 -14
- package/dist/assets/{TreasuryPromoPage-CQ-VYEQC-DJZXY5PM.js → TreasuryPromoPage-DFnHMTJ--CP3RuQCD.js} +9 -9
- package/dist/assets/{TreasuryStatementsPage-taTRE54D-BRQPl-FH.js → TreasuryStatementsPage-BdUYirAC-Duwk2wsH.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-Cxhr51TD-BVmTKq55.js → TreasuryTaxLetterPage-fX08Nflm-B-GslDLQ.js} +2 -2
- package/dist/assets/{TrendChart-DATgAEKG-D5uXuHxg.js → TrendChart-mamZxFEf-DPlJCKYL.js} +2 -2
- package/dist/assets/{TrendWithTransactions-DqPFuOvC-4qpshT4h.js → TrendWithTransactions-fGuXIDf7-HyuIbA66.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-BQjXazj4-B0137uG5.js → UncategorizedAccountsMappingPage-FPf4YpN2-Cp3ASbXZ.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-BiRGRtpI-Da_V8y5a.js → UnitIntegrationPage-BcIYQ6E_-B6tBJIS1.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-DCldWCol-DXBSIbWE.js → UploadAdditionalDocumentOverlay-CFiPe--u-DrxhGkyT.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BpkAiYTA-52BaGnWz.js → Vendor2FAPopup-BreN6fS3-FjXbhU9D.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-CP2mHGE7-CG1YPLHx.js +1 -0
- package/dist/assets/{VendorDetailPage-DY4iaLtz-BtWSn42W.js → VendorDetailPage-DXKn3qSR-Di8ThCGh.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-B5Nym5J9-BePP9h_p.js → VendorDomesticWireDetailsPage-7m-21BIT-BVTn5C6b.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-Dep7O8Uz-BwVZUQk9.js → VendorFiling1099EditablePage-D5jPoLoj-DhLrefqh.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-CJQIZn8g-Bbp8yC5s.js → VendorFirstReviewPage-Bxj_Far6-DOA9lu2j.js} +21 -21
- package/dist/assets/{VendorInternationalWireDetailsPage-CJG5RIa2-CRCBgtxB.js → VendorInternationalWireDetailsPage-DCdiiuBR-D9OAEuuJ.js} +4 -4
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-JzRuqiHJ-DYQH4bJe.js +1 -0
- package/dist/assets/{VendorsAccountsSection-D65ewlO6-C249PD4b.js → VendorsAccountsSection-BYkKSsB8-BmGLfX_G.js} +3 -3
- package/dist/assets/{VerifyDevice-B1_jgwgY-CLr_hT2k.js → VerifyDevice-DxoL8hYf-Cowpahhc.js} +1 -1
- package/dist/assets/{VideoPlayer-vWSXteQ6-fekEOFO-.js → VideoPlayer-ByXKIag5-BZsoWnFe.js} +2 -2
- package/dist/assets/{VideoPopup-CdsmU6H4-BPO5jUC8.js → VideoPopup-DybLGmZL-CNsVI5bc.js} +3 -3
- package/dist/assets/{WarningsDrawerPage-CjgOsD00-De28p6M4.js → WarningsDrawerPage-Ddp3wpvG-CdbbY6NF.js} +3 -3
- package/dist/assets/{ZeniAccountDetailPage-DiLnoonB-COe08RHM.js → ZeniAccountDetailPage-C-B9h3wI-CKYwhajY.js} +17 -17
- package/dist/assets/{ZeniAccountListViewPage-YfPsO8ls-Ds9pwvuL.js → ZeniAccountListViewPage-CWvKejM--BPGukJA_.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-CHStBvRa-BqDqY_na.js → ZeniAccountNavBarPieces-xyI5r3gJ-CbIslzwK.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-cEfW88p8-BhWQ-XmY.js → ZeniAccountPromoPage-ClU5aJ3_-4ixwSQil.js} +5 -5
- package/dist/assets/{ZeniAccountSetupPage-B20DHYex-D-hB-cgI.js → ZeniAccountSetupPage-BF6_J9le-DCR58vNJ.js} +1 -1
- package/dist/assets/{ZeniCopyright-BROHmszx-BFJ7fRMA.js → ZeniCopyright-CyBZnbZa-D5SmAZYL.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DZZrrFXf-Cq4B23lv.js → ZeniTransferAmountSlider-QODQj6J3-nB7ivh3S.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-AfkxTSja.js → add-to-wallet-DgdBD8_G-l6e6C-pa.js} +1 -1
- package/dist/assets/{analytics-Dz3HJTKp.js → analytics-DGcxWyl6.js} +1 -1
- package/dist/assets/analyticsHelper-BcBQi1qY.js +1 -0
- package/dist/assets/{analyticsHelper-FJ-cS8qS-D_9plNYH.js → analyticsHelper-HEUQhbuJ-Cq2Mtjgc.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DDEpjXQ7.js → arrow-south-east-round-PEovUgvH-C0A9x354.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-CB2yKaeg.js → auto-transfer-rule-mbafm5D3-CC0rbz99.js} +1 -1
- package/dist/assets/chartTypes-CnipzTeX-DGSU_TZ0.js +1 -0
- package/dist/assets/{commonDimensions-BpYNnQtf-GFURsh40.js → commonDimensions-DmFc7WqO-CxyyXmLy.js} +1 -1
- package/dist/assets/{commonTypes-BVbA7QjV-C2OAdMb3.js → commonTypes-CU0qY6Px-ZdnVolMx.js} +1 -1
- package/dist/assets/{constants-D8qNj5Es.js → constants-jbgzJYdx.js} +1 -1
- package/dist/assets/{core-xud19niX.js → core-BMaLzXUJ.js} +1 -1
- package/dist/assets/{dash.all.min-Dmsiq7DL.js → dash.all.min-DmpFQIVa.js} +1 -1
- package/dist/assets/{detailCommon-BRja9H93-CS4qaApq.js → detailCommon-x-UFksNz-DKaz3zHe.js} +1 -1
- package/dist/assets/{downloadPdf-WDHjFv79-CGfEvBvA.js → downloadPdf-D1grj9oX-Bei5Wpqc.js} +1 -1
- package/dist/assets/{empty-BU3-uTyA.js → empty-CxyNypVD.js} +1 -1
- package/dist/assets/{empty-ClP26WFk.js → empty-DJguQx7A.js} +1 -1
- package/dist/assets/{epic-ff9tSPeN.js → epic-DJmh-RNR.js} +2 -2
- package/dist/assets/{gift-box-Cmt9OgIZ-Ba1CSAo6.js → gift-box-Cmt9OgIZ-ZuOwWA2g.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CATaPbQ1.js → graphic-no-data-l-DU4J8fDt-CR5EZc8Z.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-B_yV26zM.js → graphic-no-data-net-burn-l-CzmycA0m-BhBXhGOx.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-CxOrxIUO.js → handshake-BPg58FML-DiPOUMao.js} +1 -1
- package/dist/assets/{index-CT3iqTha.js → index-C3zM8gb6.js} +1 -1
- package/dist/assets/{index-2wNtQNIE.js → index-CQmr12-Z.js} +1 -1
- package/dist/assets/{index-_dimXoCh.js → index-DKka6liW.js} +1 -1
- package/dist/assets/{index-DJjwW14X.js → index-DPwk4vO3.js} +1 -1
- package/dist/assets/{index-D6iLD7c3.js → index-Dw_2FdYw.js} +1 -1
- package/dist/assets/{index-6sX8sCRU.js → index-rJQoaAfw.js} +669 -669
- package/dist/assets/{index-ovnKg3OB.js → index-tuFs6sMC.js} +1 -1
- package/dist/assets/{lexical-CFjIG720.js → lexical-CyZM9SwL.js} +1 -1
- package/dist/assets/{liveblocks-BAOmiMpj.js → liveblocks-CohL7dW6.js} +1 -1
- package/dist/assets/{lottie-cQKxXDSP.js → lottie-XKgYVRq1.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-C_5Bb47i-DD_ATbZD.js → mapLoadingInProgressToTreeNode-gyu3qs1Z-SebMrCb0.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BlrJTKah-hwelD0Z1.js → mapSectionWithAcOnlyToTreeNode-SPabSQrM-Cf3ilJGA.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-DvdWKHfX-BsRKsR7W.js → mapSpacerToTreeNode-D_rRYkys-BvhCp_uR.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-8JwIYBnd-DXtmYfY7.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BwS2KbWd-CAuCdcVv.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CCAWuSrJ-B5KhCzdx.js +1 -0
- package/dist/assets/{mui-BKJrVh4W.js → mui-KNfEk2A1.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-D1XFg97i.js → page-detail-CWX5S47F-BLbwsJjf.js} +1 -1
- package/dist/assets/{panelSelectedMixin-CzfD5-Zs-BLfsH1I8.js → panelSelectedMixin-CzfD5-Zs-PdsDXPWw.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-CU3HgAhI.js → radio-default-CiSgisfh-_DAtDxCX.js} +1 -1
- package/dist/assets/{react-CN5Npsqf.js → react-CPz-xjGo.js} +2 -2
- package/dist/assets/{react-CrEDpago.js → react-CX71OnYA.js} +1 -1
- package/dist/assets/{react-DsYqgnFz.js → react-Cbh1mkS2.js} +1 -1
- package/dist/assets/{react-B_dpn2x_.js → react-CfuDRhRn.js} +1 -1
- package/dist/assets/{react-CPPpMWlr.js → react-DOhUJ6O2.js} +1 -1
- package/dist/assets/{react-CLJLIrqx.js → react-H0CMmi2N.js} +1 -1
- package/dist/assets/{react-B_IkKKOF.js → react-KKmCM6TX.js} +1 -1
- package/dist/assets/{react-4VjXw9yg.js → react-wx6Np1L0.js} +1 -1
- package/dist/assets/{recharts-07URl5uF.js → recharts-D8Mh9GJw.js} +1 -1
- package/dist/assets/{sentry-BsWDfhY_.js → sentry-CGE1ab0x.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DW8TK-Jl.js → shield-DOlUxcFf-BeHXxYmi.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BcVCEfwr-D-kim1rY.js +1 -0
- package/dist/assets/{toChartData-B3ouXKAd-DqPDcbms.js → toChartData-VTidOIL7-CTZNeqK0.js} +1 -1
- package/dist/assets/{uploadAttachment-DNNG-CMy-C0-pn6r-.js → uploadAttachment-CwSRD9la-Dwn2_OC8.js} +1 -1
- package/dist/assets/{uploadReceipts-Dge0cNF1-DDO6BRYH.js → uploadReceipts-Dge0cNF1-COPT6pnG.js} +1 -1
- package/dist/assets/{url-B-qq-bwJ.js → url-CxS4k21H.js} +1 -1
- package/dist/assets/{url-CPnr4zl0.js → url-D3fzoRiq.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DDMxNeC6.js → useLongPress-GCK2COYQ-YmFx62lI.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-CIbBacHX.js → usp-line-BBd1wKwW-lvUUHuIi.js} +1 -1
- package/dist/assets/{utils-lvnYc7Lx.js → utils-Co3Y654K.js} +1 -1
- package/dist/assets/{zeni-epic-state-DEUUJaZy.js → zeni-epic-state-CiJSQQSe.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AccountInfoPage-DF6IU0EG-CpTk1WUV.js +0 -18
- package/dist/assets/AddAddressForCardDrawer-DNGQGGYg-Bf67FiSu.js +0 -6
- package/dist/assets/BillPayApprovalRuleDetailPage-UeVxIxfF-dC_CchwE.js +0 -27
- package/dist/assets/ChargeCardPromoPage-DuQe7BpX-C5KRheHX.js +0 -222
- package/dist/assets/CustomerOnboardingContainerPage-eR0yY2uX-BoA9sGdB.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-DMYHMJXg-BO7BCZyk.js +0 -202
- package/dist/assets/EntityDetailPage-B3TQ5hCP-uPk3J70w.js +0 -18
- package/dist/assets/LabeledDocumentField-Bjg8sNsg-Da4_7xZ7.js +0 -41
- package/dist/assets/MagicLinkACHDetailsPage-DM7EUUU7-8dRO9py4.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DKrGgFTu-86-Eks-y.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-B3OpSWB3-B8JXsL7N.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-CphaJa4k-D3EkcDWm.js +0 -31
- package/dist/assets/MailingDetailsSection-BJfZvT0b-Dh4yo_Lj.js +0 -21
- package/dist/assets/NoDataChart-B3s_7m2n-CAPJcqJ5.js +0 -26
- package/dist/assets/NoDataTable-CMpypnTw-DT8ESeaQ.js +0 -8
- package/dist/assets/OverlayContainerPage-D4QU0p4o-bJWKRuRf.js +0 -11
- package/dist/assets/ReimbursementApprovalRuleDetailPage-llw4ONPo-DU98N3RU.js +0 -32
- package/dist/assets/SignInScreen-DEP1cN19.js +0 -1
- package/dist/assets/StatementsPage-BCh51lDW-CdawgjO3.js +0 -58
- package/dist/assets/VendorACHDetailsPage-tUuZzJnN-BytxtWo8.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DZabfieM-CGwU72CX.js +0 -1
- package/dist/assets/analyticsHelper-C5JtTAtK.js +0 -1
- package/dist/assets/chartTypes-DJdbX13L-CYrZAg19.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-88qIN3FA-DT4qEBfo.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-AkxvYRty-Btx7Wg6i.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B5MDTbLz-KZ9-cjv6.js +0 -1
- package/dist/assets/toCOABalancesWithID-Bq4Xe7az-C9YUCLvJ.js +0 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import{e as x,F as w,aV as v,V as o,bB as D,ax as I,o as i,D as l}from"./index-rJQoaAfw.js";import{n as a}from"./mui-KNfEk2A1.js";import{R as k}from"./TrendWithTransactions-fGuXIDf7-HyuIbA66.js";import"./sentry-CGE1ab0x.js";import"./liveblocks-CohL7dW6.js";import"./core-BMaLzXUJ.js";import"./recharts-D8Mh9GJw.js";import"./zeni-epic-state-CiJSQQSe.js";import"./lottie-XKgYVRq1.js";import"./analytics-DGcxWyl6.js";import"./lexical-CyZM9SwL.js";import"./utils-Co3Y654K.js";import"./TrendChart-mamZxFEf-DPlJCKYL.js";import"./chartTypes-CnipzTeX-DGSU_TZ0.js";import"./toCOABalancesWithID-BcVCEfwr-D-kim1rY.js";import"./toChartData-VTidOIL7-CTZNeqK0.js";import"./NoDataChart-JfED3unL-jJumSwoX.js";import"./InsightsSection-DEnkGYD8-BV7sZQsr.js";import"./NavigationDots-BX9DbCj7-RHGokei7.js";import"./TransactionList-wLBz-A1j-R5pqCBUj.js";import"./ConstrainedInnerElement-BeIpAPjB-CbQ77GJr.js";import"./BoxItem-ClRdlCWM-B_aqSV-L.js";import"./commonDimensions-DmFc7WqO-CxyyXmLy.js";import"./panelSelectedMixin-CzfD5-Zs-PdsDXPWw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2b41a799-cf89-48e2-8315-c4e13f20ee63",e._sentryDebugIdIdentifier="sentry-dbid-2b41a799-cf89-48e2-8315-c4e13f20ee63")}catch{}})();const F=a.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
margin: ${i.sp0} ${i.sp0} ${i.sp0} ${i.sp0};
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 100%;
|
|
7
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
8
|
+
`,P=a.div`
|
|
9
|
+
padding-left: ${i.sp0};
|
|
10
|
+
position: fixed;
|
|
11
|
+
width: 100%;
|
|
12
|
+
z-index: 20;
|
|
13
|
+
position: -webkit-sticky;
|
|
14
|
+
position: sticky;
|
|
15
|
+
top: ${i.sp0};
|
|
16
|
+
`,$=a.div`
|
|
17
|
+
flex: 1 1 auto;
|
|
18
|
+
`;function ee({firstMonthOfFY:e,selectedEntity:t,trendWithTransactionsReport:n,autoCompleteData:p,autoCompleteActions:c,analytics:s,onTransactionItemClick:m,onTrendSelectedPeriodChange:f,panelContent:u,sidePanelIsFullView:y,sidePanelIsOpen:h}){const g=x(),{dateFormat:{analytics:C}}=w.getLocalizedStrings(),b=new v(g.colors.graphColor12),T=(d,r)=>{d==="Chart"&&r!=null&&s?.trackSpendIncomeTrend(t.type==="vendor"?l.Event.spendTrend:l.Event.incomeTrend,"Search",t.type,t.name,r?.addTimePeriod.startDate.format(C.MMMYYFormat)),d==="TransactionListLoadMore"&&s?.trackTransactionList(void 0,void 0,"Search",void 0,void 0,!0),f?.(r)};return o.jsx(D,{isOpen:h??!1,isFullView:y??!1,panelContent:u,headerContent:o.jsx(P,{children:o.jsx(I,{viewType:"entity_search",searchAutoComplete:{autoCompleteData:p,autoCompleteActions:c},source:"EntityDetailPage"})}),listContent:o.jsx(F,{children:t!=null&&n!=null?o.jsx($,{children:o.jsx(k,{firstMonthOfFY:e,trendWithTransactionsReport:n,isDetailPage:!1,graphColor:b,page:"EntityDetailPage",onTransactionItemClick:m,onTimePeriodChange:T})}):null})})}export{ee as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{J as C,y as
|
|
2
|
-
top: ${
|
|
3
|
-
left: ${
|
|
1
|
+
import{J as C,y as s,V as i,b3 as R,ct as F,F as k,ds as K,d1 as N,o as d,aa as S,aN as z,i7 as D,u as a,R as E,am as B,al as Y,b9 as U,ai as V,cz as G,p as M,cC as J}from"./index-rJQoaAfw.js";import{a as m}from"./sentry-CGE1ab0x.js";import{n}from"./mui-KNfEk2A1.js";import{l as X}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="caa4060a-b55a-4496-8b83-af1b7893e33e",e._sentryDebugIdIdentifier="sentry-dbid-caa4060a-b55a-4496-8b83-af1b7893e33e")}catch{}})();const y=k.getLocalizedStrings().reports.aging.agingDetail.header,g=[{key:"date",value:y.date,sortOrder:"ascending",width:new s(212,212),compressedWidth:new s(300,300)},{key:"invoiceNumber",value:y.invoiceNumber,sortOrder:"ascending",width:new s(188,188)},{key:"dueDate",value:y.dueDate,sortOrder:"ascending",width:new s(188,188)},{key:"daysPastDue",value:y.daysPastDue,sortOrder:"ascending",width:new s(188,188)},{key:"amount",value:y.amount,sortOrder:"ascending",width:new s(188,188),compressedWidth:new s(100,100)},{key:"balance",value:y.balance,sortOrder:"ascending",width:new s(120,120)}],T={headerHeight:new s(45,58)},q=n.div`
|
|
2
|
+
top: ${d.sp0};
|
|
3
|
+
left: ${d.sp0};
|
|
4
4
|
min-height: ${e=>T.headerHeight.valuePx(e.windowSize)};
|
|
5
5
|
max-height: ${e=>T.headerHeight.valuePx(e.windowSize)};
|
|
6
6
|
width: fit-content;
|
|
@@ -17,16 +17,16 @@ import{J as C,y as d,V as i,b3 as R,ct as F,F as k,ds as K,d1 as N,o as s,aa as
|
|
|
17
17
|
|
|
18
18
|
width: ${e=>e.windowSize!=="extra-large"?e.wrapperWidth.valuePx(e.windowSize):e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
19
19
|
max-width: ${e=>e.windowSize!=="extra-large"?e.wrapperWidth.valuePx(e.windowSize):e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
20
|
-
padding-left: ${
|
|
20
|
+
padding-left: ${d.sp0};
|
|
21
21
|
display: flex;
|
|
22
22
|
align-items: center;
|
|
23
23
|
gap: 6px;
|
|
24
|
-
left: ${
|
|
24
|
+
left: ${d.sp0};
|
|
25
25
|
justify-content: flex-start;
|
|
26
26
|
position: static;
|
|
27
27
|
z-index: 0;
|
|
28
28
|
box-sizing: border-box;
|
|
29
|
-
`,Z=n(
|
|
29
|
+
`,Z=n(J)`
|
|
30
30
|
width: 12px;
|
|
31
31
|
height: 12px;
|
|
32
32
|
`,ee=n.div`
|
|
@@ -49,10 +49,10 @@ import{J as C,y as d,V as i,b3 as R,ct as F,F as k,ds as K,d1 as N,o as s,aa as
|
|
|
49
49
|
&:hover {
|
|
50
50
|
color: ${e=>e.theme.colors.primary};
|
|
51
51
|
}
|
|
52
|
-
`;function ne({sortConfig:e,onColumnSortConfigChanged:l}){const c=C(),o=D(),h=m.useMemo(()=>o?g.filter(t=>t.compressedWidth!=null).map(t=>({...t,width:t.compressedWidth})):g,[o]),r=m.useCallback((t,u)=>{let p=u;e.sortKey===t&&(p=e.sortOrder==="ascending"?"descending":"ascending"),l(t,p)},[l,e]);return i.jsx(q,{windowSize:c,children:h.map(t=>i.jsxs(Q,{sortDataValue:e.sortKey,actualDataValue:t.key,wrapperWidth:t.width,windowSize:c,children:[i.jsxs(te,{onClick:()=>r(t.key,t.sortOrder),children:[i.jsx(V,{children:t.value}),i.jsx(ee,{sortConfig:e,children:i.jsx(G,{width:12,height:12})})]}),i.jsx(ie,{isVisible:e.sortKey===t.key&&e.sortKey!=="date",children:i.jsx(Z,{onClick:()=>l("date","ascending")})})]},t.key))})}const j={containerPaddingTop:new
|
|
52
|
+
`;function ne({sortConfig:e,onColumnSortConfigChanged:l}){const c=C(),o=D(),h=m.useMemo(()=>o?g.filter(t=>t.compressedWidth!=null).map(t=>({...t,width:t.compressedWidth})):g,[o]),r=m.useCallback((t,u)=>{let p=u;e.sortKey===t&&(p=e.sortOrder==="ascending"?"descending":"ascending"),l(t,p)},[l,e]);return i.jsx(q,{windowSize:c,children:h.map(t=>i.jsxs(Q,{sortDataValue:e.sortKey,actualDataValue:t.key,wrapperWidth:t.width,windowSize:c,children:[i.jsxs(te,{onClick:()=>r(t.key,t.sortOrder),children:[i.jsx(V,{children:t.value}),i.jsx(ee,{sortConfig:e,children:i.jsx(G,{width:12,height:12})})]}),i.jsx(ie,{isVisible:e.sortKey===t.key&&e.sortKey!=="date",children:i.jsx(Z,{onClick:()=>l("date","ascending")})})]},t.key))})}const j={containerPaddingTop:new s(a[3],a[3]),containerPaddingBottom:new s(a[3],a[3]),nameLogoWidth:new s(a[4],a[4]),nameLogoHeight:new s(a[4],a[4]),nameWidth:new s(150,150)},oe=n.div`
|
|
53
53
|
display: flex;
|
|
54
54
|
flex-direction: column;
|
|
55
|
-
row-gap: ${
|
|
55
|
+
row-gap: ${d.sp2};
|
|
56
56
|
`,re=n.div`
|
|
57
57
|
display: flex;
|
|
58
58
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -61,8 +61,8 @@ import{J as C,y as d,V as i,b3 as R,ct as F,F as k,ds as K,d1 as N,o as s,aa as
|
|
|
61
61
|
padding-top: ${e=>j.containerPaddingTop.valuePx(e.windowSize)};
|
|
62
62
|
padding-bottom: ${e=>j.containerPaddingBottom.valuePx(e.windowSize)};
|
|
63
63
|
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
64
|
-
box-shadow: ${e=>e.theme.mode==="dark"?`${M.dropShadowNormalDark} ${
|
|
65
|
-
border-radius: ${
|
|
64
|
+
box-shadow: ${e=>e.theme.mode==="dark"?`${M.dropShadowNormalDark} ${d.sp0} 2px ${d.sp1}`:`${d.sp0} 2px ${d.sp1} ${M.dropShadowNormalLight}`};
|
|
65
|
+
border-radius: ${d.sp2};
|
|
66
66
|
cursor: pointer;
|
|
67
67
|
&:hover {
|
|
68
68
|
border-color: ${e=>e.theme.colors.primary};
|
|
@@ -84,43 +84,43 @@ import{J as C,y as d,V as i,b3 as R,ct as F,F as k,ds as K,d1 as N,o as s,aa as
|
|
|
84
84
|
color: ${e=>e.theme.colors.grey1};
|
|
85
85
|
`,b=n(Y)`
|
|
86
86
|
color: ${e=>e.theme.colors.hero};
|
|
87
|
-
`,
|
|
87
|
+
`,se=n(Y)`
|
|
88
88
|
color: ${e=>e.theme.colors.hero};
|
|
89
89
|
white-space: nowrap;
|
|
90
90
|
overflow: hidden;
|
|
91
91
|
text-overflow: ellipsis;
|
|
92
92
|
max-width: ${e=>j.nameWidth.valuePx(e.windowSize)};
|
|
93
|
-
`,
|
|
93
|
+
`,de=n.div`
|
|
94
94
|
display: flex;
|
|
95
|
-
padding-left: ${
|
|
95
|
+
padding-left: ${d.sp3};
|
|
96
96
|
align-items: center;
|
|
97
97
|
justify-content: center;
|
|
98
|
-
column-gap: ${
|
|
99
|
-
`;function le({invoice:e,entityLogo:l,onTransactionClick:c}){const o=C(),h=D(),{common:r,dateFormat:t}=k.getLocalizedStrings();return i.jsxs(oe,{windowSize:o,children:[i.jsx(ae,{children:e.date.format(t.visual.MMMDCommaYYYYformat)}),i.jsxs(re,{onClick:()=>{c(e)},windowSize:o,children:[i.jsx(f,{windowSize:o,itemWidth:h&&g[0].compressedWidth!=null?g[0].compressedWidth:g[0].width,children:i.jsxs(
|
|
98
|
+
column-gap: ${d.sp2};
|
|
99
|
+
`;function le({invoice:e,entityLogo:l,onTransactionClick:c}){const o=C(),h=D(),{common:r,dateFormat:t}=k.getLocalizedStrings();return i.jsxs(oe,{windowSize:o,children:[i.jsx(ae,{children:e.date.format(t.visual.MMMDCommaYYYYformat)}),i.jsxs(re,{onClick:()=>{c(e)},windowSize:o,children:[i.jsx(f,{windowSize:o,itemWidth:h&&g[0].compressedWidth!=null?g[0].compressedWidth:g[0].width,children:i.jsxs(de,{children:[l!=null?i.jsx(K,{photoUrl:l.toString(),styles:{width:j.nameLogoWidth.valuePx(o),height:j.nameLogoHeight.valuePx(o)}}):i.jsx(N,{name:e.entity.name,size:d.sp4}),i.jsx(se,{windowSize:o,title:e.entity.name,children:e.entity.name})]})}),!h&&i.jsxs(i.Fragment,{children:[i.jsx(f,{windowSize:o,itemWidth:g[1].width,children:i.jsx(b,{children:e.invoiceNumber??r.strings.hyphen})}),i.jsx(f,{windowSize:o,itemWidth:g[2].width,children:i.jsx(b,{children:e.dueDate!=null?e.dueDate.format(t.visual.MMMDCommaYYYYformat):r.strings.hyphen})}),i.jsx(f,{windowSize:o,itemWidth:g[3].width,children:i.jsx(b,{children:e.daysPastDue??r.strings.hyphen})})]}),i.jsx(f,{windowSize:o,itemWidth:h&&g[4].compressedWidth!=null?g[4].compressedWidth:g[4].width,children:i.jsx(b,{children:z("0,0",e.amount)})}),!h&&i.jsx(f,{windowSize:o,itemWidth:g[5].width,children:i.jsx(b,{children:z("0,0",e.balance)})})]})]})}const ce={itemHeight:new s(103,103)},he=n.div`
|
|
100
100
|
position: relative;
|
|
101
101
|
width: auto;
|
|
102
102
|
height: 100%;
|
|
103
103
|
`,ge=n.div`
|
|
104
|
-
top: ${
|
|
105
|
-
left: ${
|
|
106
|
-
padding-bottom: ${
|
|
107
|
-
padding-right: ${({isCompressed:e})=>e?
|
|
104
|
+
top: ${d.sp0};
|
|
105
|
+
left: ${d.sp0};
|
|
106
|
+
padding-bottom: ${d.sp3};
|
|
107
|
+
padding-right: ${({isCompressed:e})=>e?d.sp8:"0px"};
|
|
108
108
|
box-sizing: border-box;
|
|
109
|
-
`,pe=n.div``,I=m.forwardRef((e,l)=>{const{children:c,style:o,sortConfig:h,onColumnSortConfigChanged:r,onUpdateCurrentYTDSelection:t,selectedYTDSpendOption:u,fetchState:p,...v}=e;return i.jsxs(pe,{ref:l,style:{...o,width:"auto",maxWidth:"var(--side-panel-list-width, 100%)"},...v,children:[i.jsx(ne,{onColumnSortConfigChanged:r,sortConfig:h}),i.jsx(he,{children:c})]})});I.displayName="Aging invoices list view inner element type";const me=({index:e,style:l,invoices:c,entityLogo:o,onTransactionClick:h})=>{const r=D(),t=c[e];return e<c.length?i.jsx(ge,{isCompressed:r,style:{...l,width:"fit-content",minWidth:"100%"},children:i.jsx(le,{onTransactionClick:h,invoice:t,entityLogo:o})}):null};function ze({uiState:e,invoices:l,entityLogo:c,onColumnSortConfigChanged:o,onTransactionClick:h}){const r=m.useRef(null),t=C(),u=m.useCallback(()=>ce.itemHeight.value(t),[t]),p=m.useRef(h);p.current=h;const v=m.useCallback($=>{p.current($)},[]);return i.jsx(R,{children:({height:$,width:W})=>i.jsx(F,{height:$,width:W,ref:r,overscanCount:1,itemCount:l.length,innerElementType:x=>i.jsx(I,{...x,onColumnSortConfigChanged:o,sortConfig:{sortKey:e.sortKey,sortOrder:e.sortOrder}}),itemSize:u,style:{willChange:"auto"},children:x=>i.jsx(me,{...x,invoices:l,entityLogo:c,onTransactionClick:v})})})}const w={containerHorizontalPadding:new
|
|
109
|
+
`,pe=n.div``,I=m.forwardRef((e,l)=>{const{children:c,style:o,sortConfig:h,onColumnSortConfigChanged:r,onUpdateCurrentYTDSelection:t,selectedYTDSpendOption:u,fetchState:p,...v}=e;return i.jsxs(pe,{ref:l,style:{...o,width:"auto",maxWidth:"var(--side-panel-list-width, 100%)"},...v,children:[i.jsx(ne,{onColumnSortConfigChanged:r,sortConfig:h}),i.jsx(he,{children:c})]})});I.displayName="Aging invoices list view inner element type";const me=({index:e,style:l,invoices:c,entityLogo:o,onTransactionClick:h})=>{const r=D(),t=c[e];return e<c.length?i.jsx(ge,{isCompressed:r,style:{...l,width:"fit-content",minWidth:"100%"},children:i.jsx(le,{onTransactionClick:h,invoice:t,entityLogo:o})}):null};function ze({uiState:e,invoices:l,entityLogo:c,onColumnSortConfigChanged:o,onTransactionClick:h}){const r=m.useRef(null),t=C(),u=m.useCallback(()=>ce.itemHeight.value(t),[t]),p=m.useRef(h);p.current=h;const v=m.useCallback($=>{p.current($)},[]);return i.jsx(R,{children:({height:$,width:W})=>i.jsx(F,{height:$,width:W,ref:r,overscanCount:1,itemCount:l.length,innerElementType:x=>i.jsx(I,{...x,onColumnSortConfigChanged:o,sortConfig:{sortKey:e.sortKey,sortOrder:e.sortOrder}}),itemSize:u,style:{willChange:"auto"},children:x=>i.jsx(me,{...x,invoices:l,entityLogo:c,onTransactionClick:v})})})}const w={containerHorizontalPadding:new s(a[2],a[8]),nameLogoWidth:new s(a[5],a[5]),nameLogoHeight:new s(a[5],a[5]),nameLogoMarginTop:new s(a[1],a[1]),entityContainerWidth:new s(300,350,350,350,400),summaryColumnGap:new s(a[2],a[1],a[1],a[2],a[6])},we=n.div`
|
|
110
110
|
background: ${e=>e.theme.colors.grey5};
|
|
111
111
|
padding-left: ${e=>w.containerHorizontalPadding.valuePx(e.windowSize)};
|
|
112
112
|
padding-right: ${e=>w.containerHorizontalPadding.valuePx(e.windowSize)};
|
|
113
|
-
padding-bottom: ${
|
|
113
|
+
padding-bottom: ${d.sp4};
|
|
114
114
|
display: flex;
|
|
115
115
|
justify-content: space-between;
|
|
116
116
|
align-items: ${e=>e.isLargeScreen===!0?"center":"flex-start"};
|
|
117
117
|
flex-direction: ${e=>e.isLargeScreen===!0?"row":"column"};
|
|
118
118
|
border-bottom: 1px solid ${e=>e.theme.colors.grey3};
|
|
119
|
-
row-gap: ${
|
|
119
|
+
row-gap: ${d.sp3};
|
|
120
120
|
`,ue=n.div`
|
|
121
121
|
display: flex;
|
|
122
122
|
align-items: flex-start;
|
|
123
|
-
column-gap: ${
|
|
123
|
+
column-gap: ${d.sp3};
|
|
124
124
|
max-width: ${e=>w.entityContainerWidth.valuePx(e.windowSize)};
|
|
125
125
|
`,xe=n.div`
|
|
126
126
|
display: flex;
|
|
@@ -148,4 +148,4 @@ import{J as C,y as d,V as i,b3 as R,ct as F,F as k,ds as K,d1 as N,o as s,aa as
|
|
|
148
148
|
width: fit-content;
|
|
149
149
|
`,ve=n(E)`
|
|
150
150
|
color: ${e=>e.theme.colors.primary};
|
|
151
|
-
`;function Ce({totalBalances:e,entityName:l,reportId:c,reportDate:o,entityLogo:h}){const r=C(),t=r==="large"||r==="extra-large",{reports:{aging:{duration:u,apAgingDetail:p,arAgingDetail:v,apAging:$,arAging:W}},dateFormat:x}=k.getLocalizedStrings(),A=m.useMemo(()=>
|
|
151
|
+
`;function Ce({totalBalances:e,entityName:l,reportId:c,reportDate:o,entityLogo:h}){const r=C(),t=r==="large"||r==="extra-large",{reports:{aging:{duration:u,apAgingDetail:p,arAgingDetail:v,apAging:$,arAging:W}},dateFormat:x}=k.getLocalizedStrings(),A=m.useMemo(()=>X(e),[e]);return i.jsxs(we,{isLargeScreen:t,windowSize:r,children:[i.jsxs(ue,{windowSize:r,children:[h!=null?i.jsx(K,{photoUrl:h.toString(),styles:{width:w.nameLogoWidth.valuePx(r),height:w.nameLogoHeight.valuePx(r),marginTop:w.nameLogoMarginTop.valuePx(r)}}):i.jsx(fe,{windowSize:r,children:i.jsx(N,{name:l,size:d.sp5})}),i.jsxs(ye,{children:[i.jsx(ve,{children:l}),i.jsx(S,{controller:c==="accounts_payable_aging",children:i.jsx(O,{children:`${p.dateLabel} ${o.format(x.visual.MMMDCommaYYYYformat)}`})}),i.jsx(S,{controller:c==="accounts_receivable_aging",children:i.jsx(O,{children:`${v.dateLabel} ${o.format(x.visual.MMMDCommaYYYYformat)}`})})]})]}),i.jsxs(xe,{isLargeScreen:t,windowSize:r,children:[e.map(L=>i.jsxs(H,{children:[i.jsx(P,{children:u[L.period]}),i.jsx(_,{children:z("0,0",L?.balance)})]},L.period)),i.jsxs(H,{children:[i.jsx(S,{controller:c==="accounts_payable_aging",children:i.jsx(P,{children:$.totalPayable})}),i.jsx(S,{controller:c==="accounts_receivable_aging",children:i.jsx(P,{children:W.totalReceivable})}),i.jsx(_,{children:z("0,0",A?.balance)})]})]})]})}export{Ce as D,ze as L};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{e as q,J as le,cd as de,V as t,g8 as Q,aP as $,bO as ce,p as a,bT as z,o as r,bC as he,ke as pe,b as d,hR as R,hQ as _,r as me,bw as ue,ag as ge,kf as Ce,kg as ke,F as k,ck as xe,R as fe,bK as je,ai as h,au as U,al as ye,d as $e,b7 as ve,a$ as be,b9 as ee}from"./index-rJQoaAfw.js";import{a as n}from"./sentry-CGE1ab0x.js";import{n as o,c as te,k as we}from"./mui-KNfEk2A1.js";import{bh as re,bL as Le}from"./zeni-epic-state-CiJSQQSe.js";import{U as Ee,F as Me,X as We,Y as Se,J as De,G as Ve}from"./recharts-D8Mh9GJw.js";import"./liveblocks-CohL7dW6.js";import"./core-BMaLzXUJ.js";import"./lottie-XKgYVRq1.js";import"./analytics-DGcxWyl6.js";import"./lexical-CyZM9SwL.js";import"./utils-Co3Y654K.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]="a9ad09ad-cca9-46fa-a689-8faf23918492",e._sentryDebugIdIdentifier="sentry-dbid-a9ad09ad-cca9-46fa-a689-8faf23918492")}catch{}})();const Pe=k.getLocalizedStrings().expenseAutomation,He=k.getLocalizedStrings().dateFormat.visual,{common:{strings:{percentage:Fe},texts:{score:ze}}}=k.getLocalizedStrings(),Re=({active:e,payload:s})=>{if(e===!1||e===void 0||!s||s.length===0)return null;const c=s[0]?.value;return c==null?null:t.jsxs(Ie,{children:[t.jsx(Ze,{children:ze}),t.jsxs(Be,{children:[c,Fe]})]})};function _e({data:e,height:s}){const c=q(),w=e.map(x=>({month:Le(`${x.period.year}-${String(x.period.month).padStart(2,"0")}-01`).format(He.MMMYYFormat),count:Math.round(x.auditScore)}));return t.jsxs(Ye,{children:[t.jsx(Te,{children:Pe.overview.monthEndCloseTrend}),t.jsx(Ee,{height:s,width:"100%",children:t.jsxs(Me,{data:w,children:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:"scoreGradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx("stop",{offset:"0%",stopColor:a.brandColorJade,stopOpacity:.8}),t.jsx("stop",{offset:"100%",stopColor:a.brandColorJade,stopOpacity:.1})]})}),t.jsx(We,{dataKey:"month",axisLine:{stroke:c.colors.grey3},tickLine:!1,interval:"preserveStartEnd",label:{color:c.colors.hero,fontSize:d.smallRegular.fontSize,fontWeight:d.smallRegular.fontWeight,fontFamily:d.smallRegular.fontFamily}}),t.jsx(Se,{hide:!0}),t.jsx(De,{content:Re,cursor:{stroke:c.colors.primary,strokeDasharray:"3 3",strokeWidth:1},allowEscapeViewBox:{x:!1,y:!0}}),t.jsx(Ve,{type:"monotone",dataKey:"count",stroke:a.brandColorJade,strokeWidth:2,fill:"url(#scoreGradient)",dot:!1,activeDot:{r:5,fill:a.neutralGrey4Light,stroke:a.brandColorJade,strokeWidth:2}})]})})]})}const Te=o(h)`
|
|
2
2
|
color: ${e=>e.theme.colors.champion};
|
|
3
3
|
`,Ye=o.div`
|
|
4
4
|
display: flex;
|
|
@@ -19,7 +19,7 @@ import{d as q,J as le,cd as de,V as t,g8 as Q,aP as $,bO as ce,p as a,bT as z,o
|
|
|
19
19
|
color: ${e=>e.theme.colors.brandColorJade};
|
|
20
20
|
`,Be=o(h)`
|
|
21
21
|
color: ${e=>e.theme.colors.brandColorPearl};
|
|
22
|
-
`,
|
|
22
|
+
`,E=k.getLocalizedStrings().expenseAutomation,Je=k.getLocalizedStrings().dateFormat.visual;function Ne(){const e=Array.from({length:6},(s,c)=>re().subtract(5-c,"month").format(Je.MMMYYFormat));return t.jsxs(Oe,{children:[t.jsx(Ae,{children:E.overview.monthEndCloseTrend}),t.jsxs(Ge,{children:[t.jsx(Ke,{children:t.jsxs(Xe,{children:[E.overview.monthEndCloseTrendNoData,t.jsx("br",{}),E.overview.monthEndCloseTrendNoDataDescription]})}),t.jsxs(qe,{children:[t.jsx(Qe,{}),t.jsx(Ue,{children:e.map(s=>t.jsx(et,{children:s},s))})]})]})]})}const Ae=o(h)`
|
|
23
23
|
color: ${e=>e.theme.colors.champion};
|
|
24
24
|
`,Oe=o.div`
|
|
25
25
|
display: flex;
|
|
@@ -58,7 +58,7 @@ import{d as q,J as le,cd as de,V as t,g8 as Q,aP as $,bO as ce,p as a,bT as z,o
|
|
|
58
58
|
width: 100%;
|
|
59
59
|
`,et=o(h)`
|
|
60
60
|
color: ${e=>e.theme.colors.hero};
|
|
61
|
-
`;function tt({monthClosePerformanceTrendFetchStatus:e,monthClosePerformanceTrend:s}){return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?t.jsx(Q,{styles:{margin:r.sp0},size:"Small",fetchState:"In-Progress"}):s.length===0?t.jsx(Ne,{}):t.jsx(_e,{data:s.slice(-6),height:160})}const rt=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M4.96875 19.5C4.96875 19.3757 4.91936 19.2565 4.83146 19.1685C4.74355 19.0806 4.62432 19.0312 4.5 19.0312H2.625C2.50068 19.0312 2.38145 19.0806 2.29354 19.1685C2.20564 19.2565 2.15625 19.3757 2.15625 19.5V22.7812H4.96875V19.5Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.5938 14.8125C10.5938 14.6882 10.5444 14.569 10.4565 14.481C10.3685 14.3931 10.2493 14.3438 10.125 14.3438H8.25C8.12568 14.3438 8.00645 14.3931 7.91854 14.481C7.83064 14.569 7.78125 14.6882 7.78125 14.8125V22.7812H10.5938V14.8125Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M16.2188 17.625C16.2188 17.5007 16.1694 17.3815 16.0815 17.2935C15.9935 17.2056 15.8743 17.1562 15.75 17.1562H13.875C13.7507 17.1562 13.6315 17.2056 13.5435 17.2935C13.4556 17.3815 13.4062 17.5007 13.4062 17.625V22.7812H16.2188V17.625Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M21.8438 10.125C21.8438 10.0007 21.7944 9.88145 21.7065 9.79354C21.6185 9.70564 21.4993 9.65625 21.375 9.65625H19.5C19.3757 9.65625 19.2565 9.70564 19.1685 9.79354C19.0806 9.88145 19.0312 10.0007 19.0312 10.125V22.7812H21.8438V10.125Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M1.2225 22.7812H22.785",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M4.42285 8.79992L6.92785 6.29492",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M9.87402 5.91406L12.259 7.30531",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.3535 7.0907L18.9666 4.25195",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5664 3.09375C18.5664 3.59103 18.764 4.06794 19.1156 4.41958C19.4672 4.77121 19.9441 4.96875 20.4414 4.96875C20.9387 4.96875 21.4156 4.77121 21.7672 4.41958C22.1189 4.06794 22.3164 3.59103 22.3164 3.09375C22.3164 2.59647 22.1189 2.11956 21.7672 1.76792C21.4156 1.41629 20.9387 1.21875 20.4414 1.21875C19.9441 1.21875 19.4672 1.41629 19.1156 1.76792C18.764 2.11956 18.5664 2.59647 18.5664 3.09375Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.0039 8.25C12.0039 8.74728 12.2015 9.22419 12.5531 9.57583C12.9047 9.92746 13.3816 10.125 13.8789 10.125C14.3762 10.125 14.8531 9.92746 15.2047 9.57583C15.5564 9.22419 15.7539 8.74728 15.7539 8.25C15.7539 7.75272 15.5564 7.27581 15.2047 6.92417C14.8531 6.57254 14.3762 6.375 13.8789 6.375C13.3816 6.375 12.9047 6.57254 12.5531 6.92417C12.2015 7.27581 12.0039 7.75272 12.0039 8.25Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M6.37891 4.96875C6.37891 5.46603 6.57645 5.94294 6.92808 6.29458C7.27971 6.64621 7.75663 6.84375 8.25391 6.84375C8.75119 6.84375 9.2281 6.64621 9.57973 6.29458C9.93136 5.94294 10.1289 5.46603 10.1289 4.96875C10.1289 4.72252 10.0804 4.4787 9.98618 4.25122C9.89195 4.02373 9.75384 3.81703 9.57973 3.64292C9.40562 3.46881 9.19892 3.3307 8.97144 3.23648C8.74395 3.14225 8.50013 3.09375 8.25391 3.09375C8.00768 3.09375 7.76386 3.14225 7.53638 3.23648C7.30889 3.3307 7.10219 3.46881 6.92808 3.64292C6.75397 3.81703 6.61586 4.02373 6.52163 4.25122C6.4274 4.4787 6.37891 4.72252 6.37891 4.96875Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M1.22266 10.125C1.22266 10.6223 1.4202 11.0992 1.77183 11.4508C2.12346 11.8025 2.60038 12 3.09766 12C3.59494 12 4.07185 11.8025 4.42348 11.4508C4.77511 11.0992 4.97266 10.6223 4.97266 10.125C4.97266 9.62772 4.77511 9.15081 4.42348 8.79917C4.07185 8.44754 3.59494 8.25 3.09766 8.25C2.60038 8.25 2.12346 8.44754 1.77183 8.79917C1.4202 9.15081 1.22266 9.62772 1.22266 10.125Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ot=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M22.5604 11.0002V5.32031C22.5604 4.21574 21.665 3.32031 20.5604 3.32031H3.40039C2.29582 3.32031 1.40039 4.21574 1.40039 5.32031V16.5002C1.40039 17.6048 2.2964 18.5002 3.40097 18.5002C5.79811 18.5002 6.65584 18.5002 10.0005 18.5002",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round"}),n.createElement("path",{d:"M7 1.40039L7 5.25039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round"}),n.createElement("path",{d:"M17 1.40039L17 5.25039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round"}),n.createElement("path",{d:"M1.41138 7.78125H22.1144",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.9167 18.8398H13V21.7565",stroke:"currentColor",strokeWidth:1.33333,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M22.5142 19.8662C22.1722 20.8688 21.4977 21.7244 20.6026 22.2909C19.7075 22.8574 18.6456 23.1008 17.5931 22.9807C16.5406 22.8606 15.5609 22.3843 14.8163 21.6308C14.0718 20.8772 13.6074 19.8917 13.5 18.8379",stroke:"currentColor",strokeWidth:1.33333,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M20.083 17.1725H22.9997V14.2559",stroke:"currentColor",strokeWidth:1.33333,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.4854 16.1448C13.8272 15.1422 14.5015 14.2867 15.3965 13.7201C16.2915 13.1535 17.3532 12.91 18.4057 13.0298C19.4581 13.1497 20.4379 13.6258 21.1826 14.3791C21.9272 15.1324 22.3919 16.1177 22.4995 17.1715",stroke:"currentColor",strokeWidth:1.33333,strokeLinecap:"round",strokeLinejoin:"round"})),nt=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M8.60956 10.3995L13.5175 15.3075",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M6.69507 20.8607C5.11904 22.4368 2.0939 21.9185 2.0939 21.9185C2.0939 21.9185 1.5333 18.8933 3.15164 17.3173C3.3661 17.0602 3.63638 16.8555 3.94192 16.7187C4.24746 16.5819 4.58018 16.5166 4.91476 16.5278C5.24934 16.5391 5.57695 16.6265 5.87263 16.7835C6.16831 16.9404 6.42428 17.1628 6.62103 17.4337C6.87992 17.6354 7.09064 17.8923 7.23789 18.1856C7.38513 18.479 7.4652 18.8014 7.47229 19.1296C7.47938 19.4578 7.41331 19.7834 7.27887 20.0828C7.14444 20.3822 6.94501 20.648 6.69507 20.8607Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M21.8313 2.08577C12.8617 1.18669 10.1962 7.52255 7.02295 13.2978L10.6087 16.8836C16.3945 13.6998 22.7304 11.0554 21.8313 2.08577Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M8.9692 9.77558L7.58356 9.31018C7.11291 9.18266 6.61676 9.18307 6.14632 9.31138C5.67589 9.43968 5.24822 9.69121 4.90748 10.04L3.41606 11.5314C3.33077 11.6175 3.2686 11.7237 3.23532 11.8402C3.20203 11.9567 3.19871 12.0797 3.22567 12.1978C3.25893 12.3079 3.32198 12.4067 3.40784 12.4832C3.4937 12.5597 3.59904 12.6111 3.71223 12.6315L7.03354 13.2979",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M14.1733 14.9373L14.607 16.3335C14.7345 16.8041 14.7341 17.3003 14.6058 17.7707C14.4775 18.2411 14.226 18.6688 13.8771 19.0096L12.3963 20.501C12.3137 20.588 12.2094 20.6515 12.0942 20.6849C11.9789 20.7184 11.8569 20.7206 11.7405 20.6914C11.6279 20.6609 11.5262 20.599 11.4475 20.5128C11.3688 20.4266 11.3164 20.3198 11.2963 20.2048L10.6299 16.8835",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M16.4475 9.37366C17.499 9.37366 18.3514 8.52124 18.3514 7.46973C18.3514 6.41822 17.499 5.5658 16.4475 5.5658C15.3959 5.5658 14.5435 6.41822 14.5435 7.46973C14.5435 8.52124 15.3959 9.37366 16.4475 9.37366Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),st=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M5.14285 7.34697C5.00759 7.34697 4.89795 7.23733 4.89795 7.10208C4.89795 6.96682 5.00759 6.85718 5.14285 6.85718",stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{d:"M5.14288 7.34697C5.27814 7.34697 5.38778 7.23733 5.38778 7.10208C5.38778 6.96682 5.27814 6.85718 5.14288 6.85718",stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{d:"M5.14285 10.7754C5.00759 10.7754 4.89795 10.6658 4.89795 10.5305C4.89795 10.3953 5.00759 10.2856 5.14285 10.2856",stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{d:"M5.14288 10.7754C5.27814 10.7754 5.38778 10.6658 5.38778 10.5305C5.38778 10.3953 5.27814 10.2856 5.14288 10.2856",stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{d:"M5.14285 14.2042C5.00759 14.2042 4.89795 14.0945 4.89795 13.9593C4.89795 13.824 5.00759 13.7144 5.14285 13.7144",stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{d:"M5.14288 14.2042C5.27814 14.2042 5.38778 14.0945 5.38778 13.9593C5.38778 13.824 5.27814 13.7144 5.14288 13.7144",stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{d:"M9.06124 10.7754C8.92599 10.7754 8.81635 10.6658 8.81635 10.5305C8.81635 10.3953 8.92599 10.2856 9.06124 10.2856",stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{d:"M9.06122 10.7754C9.19647 10.7754 9.30612 10.6658 9.30612 10.5305C9.30612 10.3953 9.19647 10.2856 9.06122 10.2856",stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{d:"M9.06124 7.34697C8.92599 7.34697 8.81635 7.23733 8.81635 7.10208C8.81635 6.96682 8.92599 6.85718 9.06124 6.85718",stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{d:"M9.06122 7.34697C9.19647 7.34697 9.30612 7.23733 9.30612 7.10208C9.30612 6.96682 9.19647 6.85718 9.06122 6.85718",stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{d:"M12.9796 7.34697C12.8443 7.34697 12.7347 7.23733 12.7347 7.10208C12.7347 6.96682 12.8443 6.85718 12.9796 6.85718",stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{d:"M12.9796 7.34697C13.1149 7.34697 13.2245 7.23733 13.2245 7.10208C13.2245 6.96682 13.1149 6.85718 12.9796 6.85718",stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{d:"M8.32655 17.1429H2.449C2.0593 17.1429 1.68555 16.9881 1.40999 16.7125C1.13442 16.437 0.979614 16.0631 0.979614 15.6735V3.91836C0.979614 3.52866 1.13442 3.15491 1.40999 2.87935C1.68555 2.60379 2.0593 2.44897 2.449 2.44897H15.6735C16.0632 2.44897 16.437 2.60379 16.7125 2.87935C16.9881 3.15491 17.1429 3.52866 17.1429 3.91836V8.32653",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M5.38776 3.91827V0.979492",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.7347 3.91827V0.979492",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M17.1429 23.0205C20.3889 23.0205 23.0204 20.389 23.0204 17.1429C23.0204 13.8969 20.3889 11.2654 17.1429 11.2654C13.8968 11.2654 11.2653 13.8969 11.2653 17.1429C11.2653 20.389 13.8968 23.0205 17.1429 23.0205Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M19.7408 17.1428H17.1429V14.5459",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),T={transaction_categorization:ke,missing_receipts:Ce,flux_analysis:rt,je_schedules:ot,month_end_insights:ge,reconciliation:ue},it=e=>e.filter(s=>s.id!=="month_end_insights"),at=e=>e.filter(s=>s.id==="month_end_insights"),lt=({string:e,count:s})=>t.jsxs(Ft,{children:[s,t.jsx(h,{children:e})]}),{expenseAutomation:p,common:m,dateFormat:Y}=k.getLocalizedStrings();function Ot({monthEndCloseChecksView:e,isRealtimeInsightsFeatureEnabled:s,onMonthEndCheckClick:c,onBackClick:w,handleReviewButtonClick:x,onPeriodChange:oe,onReload:D}){const u=q(),ne=le();de({componentName:"expense_automation.overview"});const se=n.useMemo(()=>{if(e.monthEndCloseChecks?.targetCloseDate==null)return m.strings.hyphen;const i=e.monthEndCloseChecks.targetCloseDate.startOf("day"),j=re().startOf("day"),l=i.diff(j,"days");return Math.max(l,0)},[e.monthEndCloseChecks?.targetCloseDate]);if(e.monthEndCloseChecks==null||["Not-Started","In-Progress"].includes(e.fetchState))return t.jsx(K,{"data-testid":$("expense-automation-overview-page-activity-indicator"),children:t.jsx(Q,{fetchState:"In-Progress"})});if(e.monthEndCloseChecks==null||e.fetchState==="Error")return t.jsx(K,{children:t.jsx(vt,{"data-testid":$("expense-automation-overview-page-reload-page"),onClick:D,children:t.jsx(ce,{})})});const{monthEndCloseChecks:{auditSummary:g,monthEndCloseCheckList:P,reportEmailSentDate:V},refreshStatus:ie}=e;let v,f;g.auditScorePercentage<=50?(v=a.important,f=a.importantLight):g.auditScorePercentage<=75?(v=a.alert,f=a.alertLight):(v=a.success,f=a.successLight);const ae=t.jsx(jt,{"data-testid":$("expense-automation-overview-page-refresh-icon"),onClick:D,children:t.jsx(z,{style:{marginTop:r.sp1},placement:"bottom",title:m.texts.refresh,enterDelay:600,children:t.jsx(wt,{$spinning:ie.fetchState==="In-Progress"})})}),H=it(P),F=at(P);return t.jsxs(dt,{children:[t.jsx(he,{title:t.jsx(pe,{pickerLabelStyle:{...d.largeSemiBold.cssObject},onPeriodChange:oe,monthEndCloseChecksView:e}),showBackButton:!0,onBackClick:w,source:"ExpenseAutomationOverviewPage",rightSideComponent:ae}),t.jsxs(Ct,{children:[t.jsx(ct,{children:t.jsx(ht,{windowSize:ne,children:t.jsxs(pt,{children:[t.jsxs(ut,{children:[t.jsx(ft,{children:t.jsx(R,{background:!0,value:Math.floor(g.auditScorePercentage),text:`${Math.floor(g.auditScorePercentage)}${m.strings.percentage}`,strokeWidth:10,styles:{..._({strokeLinecap:"butt",pathColor:v,textColor:u.colors.primary,trailColor:u.colors.grey2,backgroundColor:f}),root:{width:"96px",height:"96px",backgroundColor:f,borderRadius:"50%"},text:{fontSize:d.h6Medium.fontSize,fontFamily:d.h6Medium.fontFamily,lineHeight:d.h6Medium.lineHeight,fontWeight:d.h6Medium.fontWeight,letterSpacing:d.h6Medium.letterSpacing,fill:a.primaryLight}}})}),t.jsx(Wt,{children:t.jsxs(gt,{children:[t.jsxs(St,{children:[t.jsxs(yt,{children:[t.jsx(mt,{children:p.overview.confidenceScoreTitle}),t.jsx(z,{display:"block",placement:"top",position:"relative",title:p.overview.confidenceScoreTooltip,style:{top:"-2px"},enterDelay:600,children:t.jsx(Ht,{})}),g.auditReportLastGeneratedDate!=null?t.jsx($t,{children:g.auditReportLastGeneratedDate.utc(!0).fromNow()}):null]}),t.jsx(E,{children:p.overview.auditScoreDescription})]}),t.jsxs(Vt,{children:[t.jsxs(X,{children:[t.jsx(Dt,{}),t.jsx(E,{children:p.overview.targetClose}),e.monthEndCloseChecks.targetCloseDate!=null?t.jsx(S,{children:e.monthEndCloseChecks.targetCloseDate.format(Y.visual.MMMDCommaYYYYformat)}):t.jsx(S,{children:m.strings.hyphen})]}),t.jsxs(X,{children:[t.jsx(Pt,{}),t.jsx(E,{children:p.overview.daysToClose}),t.jsx(S,{children:se})]})]}),t.jsx(me,{style:{alignSelf:"flex-start"},variant:"primary",label:m.texts.review,onClick:x})]})})]}),t.jsx(tt,{monthClosePerformanceTrend:e.monthClosePerformanceTrend,monthClosePerformanceTrendFetchStatus:e.monthClosePerformanceTrendFetchStatus})]})})}),t.jsxs(kt,{children:[t.jsxs(I,{children:[t.jsx(b,{cardDisabled:!1,children:p.overview.checklist}),t.jsx(Z,{children:H.map((i,j)=>{const l=i.isDisabled;let C,y;return i.progress<=50?(C=a.important,y=a.importantLight):i.progress<=75?(C=a.alert,y=a.alertLight):(C=a.success,y=a.successLight),t.jsxs(B,{index:j,totalCards:H.length,"data-testid":$("expense-automation-overview-page-month-end-close-check-card",i.id),cardDisabled:l,onClick:()=>{l===!1&&c(i.id)},children:[t.jsxs(G,{children:[t.jsx(O,{cardDisabled:l,isDarkMode:u.mode==="dark",children:t.jsx(A,{as:T[i.id]??null})}),t.jsxs(W,{children:[t.jsx(b,{cardDisabled:l,children:i.title}),t.jsx(J,{className:"card-description",cardDisabled:l,children:i.description})]})]}),i.metrics.map(L=>t.jsx(lt,{string:L.label,count:L.value},L.columnIndex)),t.jsx(R,{background:!0,value:Math.floor(i.progress),text:`${Math.floor(i.progress)}${m.strings.percentage}`,strokeWidth:10,styles:{..._({strokeLinecap:"butt",pathColor:C,textColor:u.colors.primary,trailColor:u.colors.grey2,backgroundColor:y}),root:{width:r.sp7,height:r.sp7,backgroundColor:y,borderRadius:"50%"},text:{fontSize:d.h6Medium.fontSize,fontFamily:d.h6Medium.fontFamily,lineHeight:d.h6Medium.lineHeight,fontWeight:d.h6Medium.fontWeight,letterSpacing:d.h6Medium.letterSpacing,fill:a.primaryLight}}}),t.jsx(N,{className:"card-right-chevron",disabled:l})]},i.id)})})]}),t.jsxs(I,{children:[t.jsx(b,{cardDisabled:!1,children:p.overview.checklistReport}),t.jsx(Z,{children:F.map((i,j)=>{const l=!s,C=l===!0||i.id==="month_end_insights"&&e.monthEndCloseChecks?.reportEmailSentDate!=null;return t.jsxs(B,{index:j,totalCards:F.length,"data-testid":$("expense-automation-overview-page-month-end-close-check-card",i.id),cardDisabled:l,onClick:()=>{C===!1&&c(i.id)},children:[t.jsxs(G,{children:[t.jsx(O,{cardDisabled:l,isDarkMode:u.mode==="dark",children:t.jsx(A,{as:T[i.id]??null})}),t.jsxs(W,{children:[t.jsx(b,{cardDisabled:l,children:i.title}),t.jsx(J,{className:"card-description",cardDisabled:l,children:i.description})]})]}),t.jsxs(xt,{children:[i.id==="month_end_insights"&&V!=null?t.jsxs(Et,{children:[t.jsx(Lt,{children:m.texts.closed}),t.jsx(Mt,{children:V.format(Y.visual.MMMDCommaYYYYformat)})]}):null,t.jsx(W,{children:t.jsx(N,{className:"card-right-chevron",disabled:l})})]})]},i.id)})})]})]})]})]})}const dt=o.div`
|
|
61
|
+
`;function tt({monthClosePerformanceTrendFetchStatus:e,monthClosePerformanceTrend:s}){return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?t.jsx(Q,{styles:{margin:r.sp0},size:"Small",fetchState:"In-Progress"}):s.length===0?t.jsx(Ne,{}):t.jsx(_e,{data:s.slice(-6),height:160})}const rt=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M4.96875 19.5C4.96875 19.3757 4.91936 19.2565 4.83146 19.1685C4.74355 19.0806 4.62432 19.0312 4.5 19.0312H2.625C2.50068 19.0312 2.38145 19.0806 2.29354 19.1685C2.20564 19.2565 2.15625 19.3757 2.15625 19.5V22.7812H4.96875V19.5Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.5938 14.8125C10.5938 14.6882 10.5444 14.569 10.4565 14.481C10.3685 14.3931 10.2493 14.3438 10.125 14.3438H8.25C8.12568 14.3438 8.00645 14.3931 7.91854 14.481C7.83064 14.569 7.78125 14.6882 7.78125 14.8125V22.7812H10.5938V14.8125Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M16.2188 17.625C16.2188 17.5007 16.1694 17.3815 16.0815 17.2935C15.9935 17.2056 15.8743 17.1562 15.75 17.1562H13.875C13.7507 17.1562 13.6315 17.2056 13.5435 17.2935C13.4556 17.3815 13.4062 17.5007 13.4062 17.625V22.7812H16.2188V17.625Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M21.8438 10.125C21.8438 10.0007 21.7944 9.88145 21.7065 9.79354C21.6185 9.70564 21.4993 9.65625 21.375 9.65625H19.5C19.3757 9.65625 19.2565 9.70564 19.1685 9.79354C19.0806 9.88145 19.0312 10.0007 19.0312 10.125V22.7812H21.8438V10.125Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M1.2225 22.7812H22.785",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M4.42285 8.79992L6.92785 6.29492",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M9.87402 5.91406L12.259 7.30531",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.3535 7.0907L18.9666 4.25195",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5664 3.09375C18.5664 3.59103 18.764 4.06794 19.1156 4.41958C19.4672 4.77121 19.9441 4.96875 20.4414 4.96875C20.9387 4.96875 21.4156 4.77121 21.7672 4.41958C22.1189 4.06794 22.3164 3.59103 22.3164 3.09375C22.3164 2.59647 22.1189 2.11956 21.7672 1.76792C21.4156 1.41629 20.9387 1.21875 20.4414 1.21875C19.9441 1.21875 19.4672 1.41629 19.1156 1.76792C18.764 2.11956 18.5664 2.59647 18.5664 3.09375Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.0039 8.25C12.0039 8.74728 12.2015 9.22419 12.5531 9.57583C12.9047 9.92746 13.3816 10.125 13.8789 10.125C14.3762 10.125 14.8531 9.92746 15.2047 9.57583C15.5564 9.22419 15.7539 8.74728 15.7539 8.25C15.7539 7.75272 15.5564 7.27581 15.2047 6.92417C14.8531 6.57254 14.3762 6.375 13.8789 6.375C13.3816 6.375 12.9047 6.57254 12.5531 6.92417C12.2015 7.27581 12.0039 7.75272 12.0039 8.25Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M6.37891 4.96875C6.37891 5.46603 6.57645 5.94294 6.92808 6.29458C7.27971 6.64621 7.75663 6.84375 8.25391 6.84375C8.75119 6.84375 9.2281 6.64621 9.57973 6.29458C9.93136 5.94294 10.1289 5.46603 10.1289 4.96875C10.1289 4.72252 10.0804 4.4787 9.98618 4.25122C9.89195 4.02373 9.75384 3.81703 9.57973 3.64292C9.40562 3.46881 9.19892 3.3307 8.97144 3.23648C8.74395 3.14225 8.50013 3.09375 8.25391 3.09375C8.00768 3.09375 7.76386 3.14225 7.53638 3.23648C7.30889 3.3307 7.10219 3.46881 6.92808 3.64292C6.75397 3.81703 6.61586 4.02373 6.52163 4.25122C6.4274 4.4787 6.37891 4.72252 6.37891 4.96875Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M1.22266 10.125C1.22266 10.6223 1.4202 11.0992 1.77183 11.4508C2.12346 11.8025 2.60038 12 3.09766 12C3.59494 12 4.07185 11.8025 4.42348 11.4508C4.77511 11.0992 4.97266 10.6223 4.97266 10.125C4.97266 9.62772 4.77511 9.15081 4.42348 8.79917C4.07185 8.44754 3.59494 8.25 3.09766 8.25C2.60038 8.25 2.12346 8.44754 1.77183 8.79917C1.4202 9.15081 1.22266 9.62772 1.22266 10.125Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ot=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M22.5604 11.0002V5.32031C22.5604 4.21574 21.665 3.32031 20.5604 3.32031H3.40039C2.29582 3.32031 1.40039 4.21574 1.40039 5.32031V16.5002C1.40039 17.6048 2.2964 18.5002 3.40097 18.5002C5.79811 18.5002 6.65584 18.5002 10.0005 18.5002",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round"}),n.createElement("path",{d:"M7 1.40039L7 5.25039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round"}),n.createElement("path",{d:"M17 1.40039L17 5.25039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round"}),n.createElement("path",{d:"M1.41138 7.78125H22.1144",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.9167 18.8398H13V21.7565",stroke:"currentColor",strokeWidth:1.33333,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M22.5142 19.8662C22.1722 20.8688 21.4977 21.7244 20.6026 22.2909C19.7075 22.8574 18.6456 23.1008 17.5931 22.9807C16.5406 22.8606 15.5609 22.3843 14.8163 21.6308C14.0718 20.8772 13.6074 19.8917 13.5 18.8379",stroke:"currentColor",strokeWidth:1.33333,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M20.083 17.1725H22.9997V14.2559",stroke:"currentColor",strokeWidth:1.33333,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.4854 16.1448C13.8272 15.1422 14.5015 14.2867 15.3965 13.7201C16.2915 13.1535 17.3532 12.91 18.4057 13.0298C19.4581 13.1497 20.4379 13.6258 21.1826 14.3791C21.9272 15.1324 22.3919 16.1177 22.4995 17.1715",stroke:"currentColor",strokeWidth:1.33333,strokeLinecap:"round",strokeLinejoin:"round"})),nt=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M8.60956 10.3995L13.5175 15.3075",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M6.69507 20.8607C5.11904 22.4368 2.0939 21.9185 2.0939 21.9185C2.0939 21.9185 1.5333 18.8933 3.15164 17.3173C3.3661 17.0602 3.63638 16.8555 3.94192 16.7187C4.24746 16.5819 4.58018 16.5166 4.91476 16.5278C5.24934 16.5391 5.57695 16.6265 5.87263 16.7835C6.16831 16.9404 6.42428 17.1628 6.62103 17.4337C6.87992 17.6354 7.09064 17.8923 7.23789 18.1856C7.38513 18.479 7.4652 18.8014 7.47229 19.1296C7.47938 19.4578 7.41331 19.7834 7.27887 20.0828C7.14444 20.3822 6.94501 20.648 6.69507 20.8607Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M21.8313 2.08577C12.8617 1.18669 10.1962 7.52255 7.02295 13.2978L10.6087 16.8836C16.3945 13.6998 22.7304 11.0554 21.8313 2.08577Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M8.9692 9.77558L7.58356 9.31018C7.11291 9.18266 6.61676 9.18307 6.14632 9.31138C5.67589 9.43968 5.24822 9.69121 4.90748 10.04L3.41606 11.5314C3.33077 11.6175 3.2686 11.7237 3.23532 11.8402C3.20203 11.9567 3.19871 12.0797 3.22567 12.1978C3.25893 12.3079 3.32198 12.4067 3.40784 12.4832C3.4937 12.5597 3.59904 12.6111 3.71223 12.6315L7.03354 13.2979",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M14.1733 14.9373L14.607 16.3335C14.7345 16.8041 14.7341 17.3003 14.6058 17.7707C14.4775 18.2411 14.226 18.6688 13.8771 19.0096L12.3963 20.501C12.3137 20.588 12.2094 20.6515 12.0942 20.6849C11.9789 20.7184 11.8569 20.7206 11.7405 20.6914C11.6279 20.6609 11.5262 20.599 11.4475 20.5128C11.3688 20.4266 11.3164 20.3198 11.2963 20.2048L10.6299 16.8835",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M16.4475 9.37366C17.499 9.37366 18.3514 8.52124 18.3514 7.46973C18.3514 6.41822 17.499 5.5658 16.4475 5.5658C15.3959 5.5658 14.5435 6.41822 14.5435 7.46973C14.5435 8.52124 15.3959 9.37366 16.4475 9.37366Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),st=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M5.14285 7.34697C5.00759 7.34697 4.89795 7.23733 4.89795 7.10208C4.89795 6.96682 5.00759 6.85718 5.14285 6.85718",stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{d:"M5.14288 7.34697C5.27814 7.34697 5.38778 7.23733 5.38778 7.10208C5.38778 6.96682 5.27814 6.85718 5.14288 6.85718",stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{d:"M5.14285 10.7754C5.00759 10.7754 4.89795 10.6658 4.89795 10.5305C4.89795 10.3953 5.00759 10.2856 5.14285 10.2856",stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{d:"M5.14288 10.7754C5.27814 10.7754 5.38778 10.6658 5.38778 10.5305C5.38778 10.3953 5.27814 10.2856 5.14288 10.2856",stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{d:"M5.14285 14.2042C5.00759 14.2042 4.89795 14.0945 4.89795 13.9593C4.89795 13.824 5.00759 13.7144 5.14285 13.7144",stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{d:"M5.14288 14.2042C5.27814 14.2042 5.38778 14.0945 5.38778 13.9593C5.38778 13.824 5.27814 13.7144 5.14288 13.7144",stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{d:"M9.06124 10.7754C8.92599 10.7754 8.81635 10.6658 8.81635 10.5305C8.81635 10.3953 8.92599 10.2856 9.06124 10.2856",stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{d:"M9.06122 10.7754C9.19647 10.7754 9.30612 10.6658 9.30612 10.5305C9.30612 10.3953 9.19647 10.2856 9.06122 10.2856",stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{d:"M9.06124 7.34697C8.92599 7.34697 8.81635 7.23733 8.81635 7.10208C8.81635 6.96682 8.92599 6.85718 9.06124 6.85718",stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{d:"M9.06122 7.34697C9.19647 7.34697 9.30612 7.23733 9.30612 7.10208C9.30612 6.96682 9.19647 6.85718 9.06122 6.85718",stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{d:"M12.9796 7.34697C12.8443 7.34697 12.7347 7.23733 12.7347 7.10208C12.7347 6.96682 12.8443 6.85718 12.9796 6.85718",stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{d:"M12.9796 7.34697C13.1149 7.34697 13.2245 7.23733 13.2245 7.10208C13.2245 6.96682 13.1149 6.85718 12.9796 6.85718",stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{d:"M8.32655 17.1429H2.449C2.0593 17.1429 1.68555 16.9881 1.40999 16.7125C1.13442 16.437 0.979614 16.0631 0.979614 15.6735V3.91836C0.979614 3.52866 1.13442 3.15491 1.40999 2.87935C1.68555 2.60379 2.0593 2.44897 2.449 2.44897H15.6735C16.0632 2.44897 16.437 2.60379 16.7125 2.87935C16.9881 3.15491 17.1429 3.52866 17.1429 3.91836V8.32653",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M5.38776 3.91827V0.979492",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.7347 3.91827V0.979492",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M17.1429 23.0205C20.3889 23.0205 23.0204 20.389 23.0204 17.1429C23.0204 13.8969 20.3889 11.2654 17.1429 11.2654C13.8968 11.2654 11.2653 13.8969 11.2653 17.1429C11.2653 20.389 13.8968 23.0205 17.1429 23.0205Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M19.7408 17.1428H17.1429V14.5459",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),T={transaction_categorization:ke,missing_receipts:Ce,flux_analysis:rt,je_schedules:ot,month_end_insights:ge,reconciliation:ue},it=e=>e.filter(s=>s.id!=="month_end_insights"),at=e=>e.filter(s=>s.id==="month_end_insights"),lt=({string:e,count:s})=>t.jsxs(Ft,{children:[s,t.jsx(h,{children:e})]}),{expenseAutomation:p,common:m,dateFormat:Y}=k.getLocalizedStrings();function Ot({monthEndCloseChecksView:e,isRealtimeInsightsFeatureEnabled:s,onMonthEndCheckClick:c,onBackClick:w,handleReviewButtonClick:x,onPeriodChange:oe,onReload:D}){const u=q(),ne=le();de({componentName:"expense_automation.overview"});const se=n.useMemo(()=>{if(e.monthEndCloseChecks?.targetCloseDate==null)return m.strings.hyphen;const i=e.monthEndCloseChecks.targetCloseDate.startOf("day"),j=re().startOf("day"),l=i.diff(j,"days");return Math.max(l,0)},[e.monthEndCloseChecks?.targetCloseDate]);if(e.monthEndCloseChecks==null||["Not-Started","In-Progress"].includes(e.fetchState))return t.jsx(K,{"data-testid":$("expense-automation-overview-page-activity-indicator"),children:t.jsx(Q,{fetchState:"In-Progress"})});if(e.monthEndCloseChecks==null||e.fetchState==="Error")return t.jsx(K,{children:t.jsx(vt,{"data-testid":$("expense-automation-overview-page-reload-page"),onClick:D,children:t.jsx(ce,{})})});const{monthEndCloseChecks:{auditSummary:g,monthEndCloseCheckList:V,reportEmailSentDate:P},refreshStatus:ie}=e;let v,f;g.auditScorePercentage<=50?(v=a.important,f=a.importantLight):g.auditScorePercentage<=75?(v=a.alert,f=a.alertLight):(v=a.success,f=a.successLight);const ae=t.jsx(jt,{"data-testid":$("expense-automation-overview-page-refresh-icon"),onClick:D,children:t.jsx(z,{style:{marginTop:r.sp1},placement:"bottom",title:m.texts.refresh,enterDelay:600,children:t.jsx(wt,{$spinning:ie.fetchState==="In-Progress"})})}),H=it(V),F=at(V);return t.jsxs(dt,{children:[t.jsx(he,{title:t.jsx(pe,{pickerLabelStyle:{...d.largeSemiBold.cssObject},onPeriodChange:oe,monthEndCloseChecksView:e}),showBackButton:!0,onBackClick:w,source:"ExpenseAutomationOverviewPage",rightSideComponent:ae}),t.jsxs(Ct,{children:[t.jsx(ct,{children:t.jsx(ht,{windowSize:ne,children:t.jsxs(pt,{children:[t.jsxs(ut,{children:[t.jsx(ft,{children:t.jsx(R,{background:!0,value:Math.floor(g.auditScorePercentage),text:`${Math.floor(g.auditScorePercentage)}${m.strings.percentage}`,strokeWidth:10,styles:{..._({strokeLinecap:"butt",pathColor:v,textColor:u.colors.primary,trailColor:u.colors.grey2,backgroundColor:f}),root:{width:"96px",height:"96px",backgroundColor:f,borderRadius:"50%"},text:{fontSize:d.h6Medium.fontSize,fontFamily:d.h6Medium.fontFamily,lineHeight:d.h6Medium.lineHeight,fontWeight:d.h6Medium.fontWeight,letterSpacing:d.h6Medium.letterSpacing,fill:a.primaryLight}}})}),t.jsx(Wt,{children:t.jsxs(gt,{children:[t.jsxs(St,{children:[t.jsxs(yt,{children:[t.jsx(mt,{children:p.overview.confidenceScoreTitle}),t.jsx(z,{display:"block",placement:"top",position:"relative",title:p.overview.confidenceScoreTooltip,style:{top:"-2px"},enterDelay:600,children:t.jsx(Ht,{})}),g.auditReportLastGeneratedDate!=null?t.jsx($t,{children:g.auditReportLastGeneratedDate.utc(!0).fromNow()}):null]}),t.jsx(M,{children:p.overview.auditScoreDescription})]}),t.jsxs(Pt,{children:[t.jsxs(X,{children:[t.jsx(Dt,{}),t.jsx(M,{children:p.overview.targetClose}),e.monthEndCloseChecks.targetCloseDate!=null?t.jsx(S,{children:e.monthEndCloseChecks.targetCloseDate.format(Y.visual.MMMDCommaYYYYformat)}):t.jsx(S,{children:m.strings.hyphen})]}),t.jsxs(X,{children:[t.jsx(Vt,{}),t.jsx(M,{children:p.overview.daysToClose}),t.jsx(S,{children:se})]})]}),t.jsx(me,{style:{alignSelf:"flex-start"},variant:"primary",label:m.texts.review,onClick:x})]})})]}),t.jsx(tt,{monthClosePerformanceTrend:e.monthClosePerformanceTrend,monthClosePerformanceTrendFetchStatus:e.monthClosePerformanceTrendFetchStatus})]})})}),t.jsxs(kt,{children:[t.jsxs(I,{children:[t.jsx(b,{cardDisabled:!1,children:p.overview.checklist}),t.jsx(Z,{children:H.map((i,j)=>{const l=i.isDisabled;let C,y;return i.progress<=50?(C=a.important,y=a.importantLight):i.progress<=75?(C=a.alert,y=a.alertLight):(C=a.success,y=a.successLight),t.jsxs(B,{index:j,totalCards:H.length,"data-testid":$("expense-automation-overview-page-month-end-close-check-card",i.id),cardDisabled:l,onClick:()=>{l===!1&&c(i.id)},children:[t.jsxs(G,{children:[t.jsx(O,{cardDisabled:l,isDarkMode:u.mode==="dark",children:t.jsx(A,{as:T[i.id]??null})}),t.jsxs(W,{children:[t.jsx(b,{cardDisabled:l,children:i.title}),t.jsx(J,{className:"card-description",cardDisabled:l,children:i.description})]})]}),i.metrics.map(L=>t.jsx(lt,{string:L.label,count:L.value},L.columnIndex)),t.jsx(R,{background:!0,value:Math.floor(i.progress),text:`${Math.floor(i.progress)}${m.strings.percentage}`,strokeWidth:10,styles:{..._({strokeLinecap:"butt",pathColor:C,textColor:u.colors.primary,trailColor:u.colors.grey2,backgroundColor:y}),root:{width:r.sp7,height:r.sp7,backgroundColor:y,borderRadius:"50%"},text:{fontSize:d.h6Medium.fontSize,fontFamily:d.h6Medium.fontFamily,lineHeight:d.h6Medium.lineHeight,fontWeight:d.h6Medium.fontWeight,letterSpacing:d.h6Medium.letterSpacing,fill:a.primaryLight}}}),t.jsx(N,{className:"card-right-chevron",disabled:l})]},i.id)})})]}),t.jsxs(I,{children:[t.jsx(b,{cardDisabled:!1,children:p.overview.checklistReport}),t.jsx(Z,{children:F.map((i,j)=>{const l=!s,C=l===!0||i.id==="month_end_insights"&&e.monthEndCloseChecks?.reportEmailSentDate!=null;return t.jsxs(B,{index:j,totalCards:F.length,"data-testid":$("expense-automation-overview-page-month-end-close-check-card",i.id),cardDisabled:l,onClick:()=>{C===!1&&c(i.id)},children:[t.jsxs(G,{children:[t.jsx(O,{cardDisabled:l,isDarkMode:u.mode==="dark",children:t.jsx(A,{as:T[i.id]??null})}),t.jsxs(W,{children:[t.jsx(b,{cardDisabled:l,children:i.title}),t.jsx(J,{className:"card-description",cardDisabled:l,children:i.description})]})]}),t.jsxs(xt,{children:[i.id==="month_end_insights"&&P!=null?t.jsxs(Mt,{children:[t.jsx(Lt,{children:m.texts.closed}),t.jsx(Et,{children:P.format(Y.visual.MMMDCommaYYYYformat)})]}):null,t.jsx(W,{children:t.jsx(N,{className:"card-right-chevron",disabled:l})})]})]},i.id)})})]})]})]})]})}const dt=o.div`
|
|
62
62
|
display: flex;
|
|
63
63
|
flex-direction: column;
|
|
64
64
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -83,7 +83,7 @@ import{d as q,J as le,cd as de,V as t,g8 as Q,aP as $,bO as ce,p as a,bT as z,o
|
|
|
83
83
|
height: 100%;
|
|
84
84
|
`,mt=o(fe)`
|
|
85
85
|
color: ${e=>e.theme.colors.primary};
|
|
86
|
-
`,
|
|
86
|
+
`,M=o(ye)`
|
|
87
87
|
color: ${e=>e.theme.colors.hero};
|
|
88
88
|
font-family: ${U.Roboto};
|
|
89
89
|
`,ut=o.div`
|
|
@@ -231,9 +231,9 @@ import{d as q,J as le,cd as de,V as t,g8 as Q,aP as $,bO as ce,p as a,bT as z,o
|
|
|
231
231
|
}
|
|
232
232
|
`,Lt=o(ee)`
|
|
233
233
|
color: ${e=>e.theme.colors.success};
|
|
234
|
-
`,
|
|
234
|
+
`,Et=o(h)`
|
|
235
235
|
color: ${e=>e.theme.colors.success};
|
|
236
|
-
`,
|
|
236
|
+
`,Mt=o.div`
|
|
237
237
|
width: 82px;
|
|
238
238
|
text-align: center;
|
|
239
239
|
`,Wt=o.div`
|
|
@@ -255,11 +255,11 @@ import{d as q,J as le,cd as de,V as t,g8 as Q,aP as $,bO as ce,p as a,bT as z,o
|
|
|
255
255
|
width: ${r.sp4};
|
|
256
256
|
height: ${r.sp4};
|
|
257
257
|
color: ${e=>e.theme.colors.hero};
|
|
258
|
-
`,
|
|
258
|
+
`,Vt=o(st)`
|
|
259
259
|
width: ${r.sp4};
|
|
260
260
|
height: ${r.sp4};
|
|
261
261
|
color: ${e=>e.theme.colors.hero};
|
|
262
|
-
`,
|
|
262
|
+
`,Pt=o.div`
|
|
263
263
|
display: flex;
|
|
264
264
|
align-items: flex-start;
|
|
265
265
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{o,bV as ja,J as ke,gk as rs,gl as ls,V as t,cp as ka,bB as Ia,aa as We,aR as cs,u as x,F as Ie,cq as $a,y as Z,
|
|
1
|
+
import{o,bV as ja,J as ke,gk as rs,gl as ls,V as t,cp as ka,bB as Ia,aa as We,aR as cs,u as x,F as Ie,cq as $a,y as Z,e as kt,bC as Ta,i9 as La,aN as Je,bT as we,bv as Aa,g8 as Ea,aP as z,i6 as Ra,al as Be,h0 as Da,gU as ds,bw as Oa,bP as Mt,b7 as us,ai as It,bK as hs,p as Qe,km as Ma,am as gt,a9 as Jt,bO as Lo,ac as Gt,kn as Fa,ko as za,kp as _a,kq as un,kr as ps,ks as ms,kt as Ba,ku as Jo,kv as Pa,gn as gs,dl as xs,kw as Na,kx as Va,ky as Wa,kz as Ha,kA as Ua,kB as qa,kC as Ka,kD as Ja,kE as Ga,kF as Za,kG as fs,kH as Ya,kI as Xa,kJ as Qa,kK as er,gC as ys,b3 as Pn,ct as Nn,T as Cs,q as ws,P as bs,cF as Cn,dU as Ao,x as tr,gm as nr,bo as or,ck as ir,c2 as sr,eG as wn,b$ as Eo,aq as ar,d as rr,fC as lr,cd as cr,aD as vs,kL as dr,aV as Ro,aQ as Go,gW as Ss,kM as ur,kN as hr,kO as pr,bF as js,aT as mr,i7 as Ft,di as Do,gK as Ot,hY as Un,eD as Mn,cJ as Oo,ay as gr,eE as ks,dn as xr,gx as fr,fR as yr,h3 as Cr,iV as wr,dt as Mo,cz as Vn,cC as Wn,iC as it,b as Dt,hL as br,gD as qn,jk as Zo,dj as Is,d1 as xn,kP as vr,aZ as Sr,ds as $s,r as fn,it as Ts,iD as bo,kQ as on,ef as Ls,eh as As,iY as Es,iZ as Rs,kR as jr,c$ as Hn,iu as Ds,fq as Os,eu as Kn,aJ as vo,kS as kr,cO as Ir,aY as Ms,iK as $r,dS as Tr,ao as bt,kT as Lr,kU as Ar,b1 as Jn,eq as Er,a8 as Rr,er as Dr,es as Or,et as Mr,ew as Yo,ex as Xo,ey as Fr,kV as zr,a$ as _r,eI as Br,eJ as Pr,eK as Nr}from"./index-rJQoaAfw.js";import{a as s,P as Vr}from"./sentry-CGE1ab0x.js";import{n as a,c as De,k as Fo}from"./mui-KNfEk2A1.js";import{bh as Gn,Gm as Qo,Gn as yn,Go as Wr,Gp as Hr,cx as Ur,bL as So,cy as qr,ER as ei,cz as Kr,cA as Jr,l8 as hn,bE as Wt,Gq as ti,c4 as Fs,Gr,bY as Zr,bo as Ht,Gs as Yr,Gt as zs,Gu as _s,Gv as Bs,Gw as Ps,Gx as Ns,Gy as zo,kU as Xr}from"./zeni-epic-state-CiJSQQSe.js";import{l as _o}from"./panelSelectedMixin-CzfD5-Zs-PdsDXPWw.js";import{r as Vs,I as Ws,n as sn,R as mt}from"./CollapsableReportTable-3luMEAJg-BroWF-FL.js";import{N as Zn}from"./AccountRow-C9lnDVNf-86hTjbuw.js";import{o as Hs}from"./mapTimeframeBalancesToTreeNode-8JwIYBnd-DXtmYfY7.js";import{d as ni}from"./mapLoadingInProgressToTreeNode-gyu3qs1Z-SebMrCb0.js";import{h as Qr}from"./VendorsAccountsSection-BYkKSsB8-BmGLfX_G.js";import{u as el,c as oi,d as tl,m as nl}from"./uploadAttachment-CwSRD9la-Dwn2_OC8.js";import"./liveblocks-CohL7dW6.js";import"./core-BMaLzXUJ.js";import"./recharts-D8Mh9GJw.js";import"./lottie-XKgYVRq1.js";import"./analytics-DGcxWyl6.js";import"./lexical-CyZM9SwL.js";import"./utils-Co3Y654K.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]="2e5fa7d6-3a46-4f86-855f-e1482940aa19",e._sentryDebugIdIdentifier="sentry-dbid-2e5fa7d6-3a46-4f86-855f-e1482940aa19")}catch{}})();const{common:{navBar:{back:ol},texts:{refresh:il,close:sl,copy:al,copied:rl,open:ll}},expenseAutomation:{common:{numbers:{maximumCount:cl}}}}=Ie.getLocalizedStrings(),dl=a(fr)`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: ${o.sp4};
|
|
4
4
|
height: ${o.sp4};
|
package/dist/assets/{ExpressPayPage-CTBD4y1v-BPs_d41G.js → ExpressPayPage-a31-5Bgz-B-4aw0li.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{e as Ve,J as G,F as _,a9 as et,aQ as Fe,cF as tt,V as t,bC as it,ac as at,aR as nt,y as f,o as n,kW as lt,kX as ot,kY as rt,cN as Re,cK as dt,f2 as st,fG as ct,fH as pt,cM as ke,ge as mt,kZ as ut,cR as ht,cS as yt,f9 as ze,fa as Ae,fj as Oe,b as ge,u,fl as gt,ba as ft,b7 as be,p as Ee,am as xt,ar as We}from"./index-rJQoaAfw.js";import{a as U}from"./sentry-CGE1ab0x.js";import{n as d}from"./mui-KNfEk2A1.js";import{bL as _e,bh as le,bP as He,bH as bt,bo as wt}from"./zeni-epic-state-CiJSQQSe.js";import{Y as vt}from"./LabeledDocumentField-b5xujqjK-HTjOeiZT.js";import{S as te}from"./LabeledText-CRJr2zA8-DRZ423PA.js";import"./liveblocks-CohL7dW6.js";import"./core-BMaLzXUJ.js";import"./recharts-D8Mh9GJw.js";import"./lottie-XKgYVRq1.js";import"./analytics-DGcxWyl6.js";import"./lexical-CyZM9SwL.js";import"./utils-Co3Y654K.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]="35da3b42-a158-41d7-acad-d51f4de46883",e._sentryDebugIdIdentifier="sentry-dbid-35da3b42-a158-41d7-acad-d51f4de46883")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=G(),a=Ve(),s=_.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs($t,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Tt,{children:h.map((p,l)=>t.jsx(Dt,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(It,{children:h.map((p,l)=>t.jsx(Pt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
margin-top: ${n.sp3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{e as _,J as w,F as y,aV as n,p as r,V as i,cp as v,y as p,cq as k,cr as x,u as g}from"./index-rJQoaAfw.js";import{n as d}from"./mui-KNfEk2A1.js";import"./sentry-CGE1ab0x.js";import"./liveblocks-CohL7dW6.js";import"./core-BMaLzXUJ.js";import"./recharts-D8Mh9GJw.js";import"./zeni-epic-state-CiJSQQSe.js";import"./lottie-XKgYVRq1.js";import"./analytics-DGcxWyl6.js";import"./lexical-CyZM9SwL.js";import"./utils-Co3Y654K.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]="0bea24aa-9ab8-49a7-9c2d-32f906421d93",e._sentryDebugIdIdentifier="sentry-dbid-0bea24aa-9ab8-49a7-9c2d-32f906421d93")}catch{}})();const t={popupWidth:new p(200,468,468,468),buttonWidth:new p(140,160,160,160),popupContainerLeft:new p(g[0],g[0],255),popupContainerWidth:new p(100,100,85)},z=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -8,4 +8,4 @@ import{d as _,J as w,F as y,aV as n,p as r,V as i,cp as v,y as p,cq as k,cr as x
|
|
|
8
8
|
`,C=d.img`
|
|
9
9
|
width: 100%;
|
|
10
10
|
height: 100%;
|
|
11
|
-
`,W={mobile:{home:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dashboard-view-mobile",reports:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reports-view-mobile",forecast:"https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-view-mobile",bills:"https://storage.googleapis.com/zeni-apis.appspot.com/images/bills-view-mobile",reimbursements:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-view-mobile",vendors:"https://storage.googleapis.com/zeni-apis.appspot.com/images/vendors-view-mobile",users_and_roles:"",rewards:"",cards:"",checking:"https://storage.googleapis.com/zeni-apis.appspot.com/images/accounts-view-mobile",treasury:"",accounting:"",approval_rules:"",bank_connections:"",business_verification:"",company_settings:"",company_details:"",integrations:"",my_profile:"",my_bank_connections:"",notifications:"",billing:"",performance:"",ai_cfo:"",command_center:"",task_checklist:"",transaction_categorization:"",je_schedules:"",missing_receipts:"",flux_analysis:"",reconciliation:""},normal:{home:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dashboard-view-normal",reports:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reports-view-normal",forecast:"https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-view-normal",bills:"https://storage.googleapis.com/zeni-apis.appspot.com/images/bills-view-normal",reimbursements:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-view-normal",vendors:"https://storage.googleapis.com/zeni-apis.appspot.com/images/vendors-view-normal",users_and_roles:"",rewards:"",cards:"",checking:"https://storage.googleapis.com/zeni-apis.appspot.com/images/accounts-view-normal",treasury:"",accounting:"",approval_rules:"",bank_connections:"",business_verification:"",company_settings:"",company_details:"",integrations:"",my_profile:"",my_bank_connections:"",notifications:"",billing:"",performance:"",ai_cfo:"",command_center:"",task_checklist:"",transaction_categorization:"",je_schedules:"",missing_receipts:"",flux_analysis:"",reconciliation:""}};function F({menuItem:e,onDemoClick:
|
|
11
|
+
`,W={mobile:{home:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dashboard-view-mobile",reports:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reports-view-mobile",forecast:"https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-view-mobile",bills:"https://storage.googleapis.com/zeni-apis.appspot.com/images/bills-view-mobile",reimbursements:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-view-mobile",vendors:"https://storage.googleapis.com/zeni-apis.appspot.com/images/vendors-view-mobile",users_and_roles:"",rewards:"",cards:"",checking:"https://storage.googleapis.com/zeni-apis.appspot.com/images/accounts-view-mobile",treasury:"",accounting:"",approval_rules:"",bank_connections:"",business_verification:"",company_settings:"",company_details:"",integrations:"",my_profile:"",my_bank_connections:"",notifications:"",billing:"",performance:"",ai_cfo:"",command_center:"",task_checklist:"",transaction_categorization:"",je_schedules:"",missing_receipts:"",flux_analysis:"",reconciliation:""},normal:{home:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dashboard-view-normal",reports:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reports-view-normal",forecast:"https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-view-normal",bills:"https://storage.googleapis.com/zeni-apis.appspot.com/images/bills-view-normal",reimbursements:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-view-normal",vendors:"https://storage.googleapis.com/zeni-apis.appspot.com/images/vendors-view-normal",users_and_roles:"",rewards:"",cards:"",checking:"https://storage.googleapis.com/zeni-apis.appspot.com/images/accounts-view-normal",treasury:"",accounting:"",approval_rules:"",bank_connections:"",business_verification:"",company_settings:"",company_details:"",integrations:"",my_profile:"",my_bank_connections:"",notifications:"",billing:"",performance:"",ai_cfo:"",command_center:"",task_checklist:"",transaction_categorization:"",je_schedules:"",missing_receipts:"",flux_analysis:"",reconciliation:""}};function F({menuItem:e,onDemoClick:a,onGoBack:m}){const s=_(),o=w(),u=`${W[o==="small"?"mobile":"normal"][e]}-${s.mode}.png`,{featurePreview:c}=y.getLocalizedStrings(),l=c.popups[e],b=s.mode==="light"?new n(r.backgroundGradient1Light):new n(r.backgroundGradient1Dark),h=s.mode==="light"?new n(r.backgroundGradient2Light):new n(r.backgroundGradient2Dark),f={onOkClick:()=>{a()},onCancelClick:()=>{m()}};return i.jsxs(z,{children:[i.jsx(C,{src:u,alt:"feature-preview",loading:"lazy"}),i.jsx(v,{titleComponent:i.jsx(x,{children:l.title}),descriptionComponent:i.jsx(k,{children:l.text}),primaryButtonText:c.scheduleDemo,secondaryButtonText:c.goBack,action:f,primaryButtonWidth:t.buttonWidth.value(o),secondaryButtonWidth:t.buttonWidth.value(o),style:{background:`radial-gradient(50% 50% at 50% 50%, ${b} 0%, ${h} 100%)`,backdropFilter:"blur(2px)",width:t.popupContainerWidth.valuePercentage(o),left:t.popupContainerLeft.value(o)},containerStyle:{border:`1px solid ${s.colors.grey1}`,minWidth:t.popupWidth.valuePx(o)}})]})}export{F as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as H,V as l,F as Y,cJ as _,ev as G,
|
|
1
|
+
import{J as H,V as l,F as Y,cJ as _,ev as G,e as ee,cO as Q,y as L,gj as Z,o as i,aP as M,en as ce,aD as le,ga as pe,gb as ue,r as he,p as u,u as g,gH as ge,c_ as be,eE as ye,ao as ve,bH as we,b as W,dl as $e,bI as fe,bG as ke}from"./index-rJQoaAfw.js";import{n as d}from"./mui-KNfEk2A1.js";import{a as V}from"./sentry-CGE1ab0x.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]="53ee4993-5053-4d5f-a008-be437e8db464",e._sentryDebugIdIdentifier="sentry-dbid-53ee4993-5053-4d5f-a008-be437e8db464")}catch{}})();const v={width:new L(343,580,726),height:new L(g[6],g[6]),controlHeight:new L(g[6],g[6]),paddingLeftRight:new L(g[3],g[4]),paddingTop:new L(g[3],g[3]),paddingBottom:new L(g[3],g[2]),labelMarginRight:new L(g[3],g[4])};function je({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=H(),{formState:{errors:j}}=_(),m=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,"data-testid":M("labeled-multi-text-field",t.name),children:[l.jsx(Q,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:r.colors.champion}}),l.jsxs(Oe,{labelWidth:s.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||m&&t.additionalErrorLabel?l.jsx(oe,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Ie,{children:[l.jsx(se,{}),l.jsx(Le,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{e as Ke,J,a9 as Ee,ay as _e,cF as Je,V as t,bC as Ye,ac as Xe,cn as Ce,o,r as ye,F as ue,bO as Qe,aP as P,cm as Ze,b3 as et,dn as tt,ct as lt,aa as ot,T as nt,c$ as it,bF as We,aT as at,y as N,bP as se,u as $,dt as ke,ai as we,cz as rt,cC as st,cJ as dt,dj as je,d1 as me,bT as E,ez as Ie,ao as ct,io as ht,al as mt,bh as gt,ik as pt,ip as Oe,ci as ut,bt as wt,p as De,iq as bt}from"./index-rJQoaAfw.js";import{a as C}from"./sentry-CGE1ab0x.js";import{n as i,c as Se}from"./mui-KNfEk2A1.js";import{c4 as xt,G1 as vt}from"./zeni-epic-state-CiJSQQSe.js";import"./liveblocks-CohL7dW6.js";import"./core-BMaLzXUJ.js";import"./recharts-D8Mh9GJw.js";import"./lottie-XKgYVRq1.js";import"./analytics-DGcxWyl6.js";import"./lexical-CyZM9SwL.js";import"./utils-Co3Y654K.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="510a6b9c-a774-4933-aeb5-6a523adcc979",e._sentryDebugIdIdentifier="sentry-dbid-510a6b9c-a774-4933-aeb5-6a523adcc979")}catch{}})();const Re="recommendedFirst",Ne="recommendedSecond",H="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,a)=>a!=null?`${e}.${l}.${a}`:`${e}.${l}`;function ft(e){const l=J(),{button:{label:a,onClick:n},search:{isOpen:g,placeHolder:m,searchText:w,onTextChange:y}}=e;return t.jsxs(yt,{children:[t.jsx(jt,{isSearchOpen:g&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ce,{style:{position:"absolute",left:"unset",right:o.sp0},placeholder:m,searchText:w,onSearchTextChanged:y}):null}),l==="small"?t.jsx(Ce,{style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},placeholder:m,searchText:w,onSearchTextChanged:y,keepSearchBoxOpen:!0}):null,l==="small"?t.jsx(St,{style:{marginLeft:o.sp5}}):t.jsx(ye,{variant:"primary",onClick:n,label:a,size:"small",style:{marginLeft:o.sp3}})]})}const yt=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
padding-right: ${o.sp0};
|
|
@@ -75,7 +75,7 @@ import{d as Ke,J,a9 as _e,ay as Ee,cF as Je,V as t,bC as Ye,ac as Xe,cn as Ce,o,
|
|
|
75
75
|
}
|
|
76
76
|
`,Ht=i(we)`
|
|
77
77
|
display: flex;
|
|
78
|
-
`,{common:f,vendorReview:{globalReview:{globalMerchantList:qt}}}=ue.getLocalizedStrings(),s={containerPaddingLeftRight:new N($[3],$[4]),containerPaddingTopBottom:new N($[2],$[3]),logoHeightAndWidth:new N($[3],$[4]),vendorNameLogoHeightAndWidth:new N($[4],$[6]),logoToValueGap:new N($[2],$[2]),smallLogoToValueGap:new N($[1],$[1])},Ut=({vendorGlobalReviewData:e,allGlobalMerchants:l,globalMerchantAutoCompleteView:a,sectionId:n,isDisabled:g,analytics:m,onLoadGlobalMerchants:w,onCreateGlobalMerchant:y,onApproveGlobalReview:c,onRejectGlobalReview:h,onClearGlobalMerchantAutoCompleteResults:j})=>{const d=J(),{resetField:q,formState:U}=dt(),[G,k]=C.useState(!1),[L,W]=n.split("."),O=parseInt(W),D=U.dirtyFields[L]?.[O]?.originalVendor===!0&&e.selectedMerchantId!==e.merchant.tenantMerchantId,Y=e.currentSelection!=null,{merchant:p,recommendations:B}=e,{fetchState:K}=a,oe=u=>{let S=u.websiteUrl?.toString();if(S){if(S=Oe(S)??S,e.selectedMerchantId!=null){const r=u.globalMerchantName??null;m.trackVendorReviewWebsiteOpened({reviewSource:"global_review",vendorName:e.merchant.tenantMerchantName,wasRecommendationAvailable:!!r,recommendedVendorName:r,recommendedVendorReason:u.reason??null,vendorWebsite:S})}window.open(S,"_blank")}},x=[];B.forEach((u,S)=>{const r=`recommended${pt(S)}`;x.push({label:{label:t.jsx(t.Fragment,{children:u.logo!=null?t.jsxs(ze,{children:[t.jsx(je,{photoUrl:u.logo.toString(),styles:{width:s.logoHeightAndWidth.valuePx(d),height:s.logoHeightAndWidth.valuePx(d)},placeholder:{width:s.logoHeightAndWidth.value(d),height:s.logoHeightAndWidth.value(d)},fallbackAvatar:t.jsx(pe,{children:t.jsx(me,{name:u.globalMerchantName,size:s.logoHeightAndWidth.valuePx(d)})})}),t.jsx(M,{className:"global-review-row-item",windowSize:d,isLastItem:!1,children:t.jsx(Z,{children:u.globalMerchantName})})]}):t.jsx(M,{className:"global-review-row-item",windowSize:d,isLastItem:!1,children:t.jsx(Z,{children:u.globalMerchantName})})}),style:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},checkBoxField:{name:ce(n,H,r),checkBoxValue:ce(n,H,r),defaultChecked:e.currentSelection===r},tooltipProps:{text:t.jsx(Xt,{recommendation:u,onRedirectionToRecommendedMerchantWebsiteUrl:()=>oe(u)}),maxWidth:"360px"},fieldName:r})});const v=p!=null?{label:{label:t.jsx(t.Fragment,{children:p.logo!=null?t.jsxs(ze,{children:[t.jsx(je,{photoUrl:p.logo.toString(),styles:{width:s.logoHeightAndWidth.valuePx(d),height:s.logoHeightAndWidth.valuePx(d)},placeholder:{width:s.logoHeightAndWidth.value(d),height:s.logoHeightAndWidth.value(d)},fallbackAvatar:t.jsx(pe,{children:t.jsx(me,{name:p.tenantMerchantName,size:s.logoHeightAndWidth.valuePx(d)})})}),t.jsx(M,{className:"global-review-row-item",windowSize:d,isLastItem:!1,children:t.jsx(Z,{children:p.tenantMerchantName})})]}):t.jsx(M,{className:"global-review-row-item",windowSize:d,isLastItem:!1,children:t.jsx(Z,{children:p.tenantMerchantName})})}),style:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},checkBoxField:{name:ce(n,H,ge),checkBoxValue:ce(n,H,ge),defaultChecked:e.currentSelection==="requested"},tooltipProps:{text:t.jsx(Qt,{merchant:p}),maxWidth:"360px"}}:void 0;let F=p.oldMerchantName;e.currentSelection==="originalVendor"&&e.selectedMerchantId!=null&&(F=e.selectedMerchantId);const I=C.useMemo(()=>Be(F,e.merchant,l),[e,l]),ae=()=>{k(!1),j()},xe=()=>{q(n)};return t.jsx(qe,{windowSize:d,isActiveField:D,children:V.map((u,S)=>{switch(u.key){case"originalVendor":return t.jsx(T,{windowSize:d,wrapperWidth:u.width,children:G===!0?t.jsx(ct,{onClickAway:ae,children:t.jsx(
|
|
78
|
+
`,{common:f,vendorReview:{globalReview:{globalMerchantList:qt}}}=ue.getLocalizedStrings(),s={containerPaddingLeftRight:new N($[3],$[4]),containerPaddingTopBottom:new N($[2],$[3]),logoHeightAndWidth:new N($[3],$[4]),vendorNameLogoHeightAndWidth:new N($[4],$[6]),logoToValueGap:new N($[2],$[2]),smallLogoToValueGap:new N($[1],$[1])},Ut=({vendorGlobalReviewData:e,allGlobalMerchants:l,globalMerchantAutoCompleteView:a,sectionId:n,isDisabled:g,analytics:m,onLoadGlobalMerchants:w,onCreateGlobalMerchant:y,onApproveGlobalReview:c,onRejectGlobalReview:h,onClearGlobalMerchantAutoCompleteResults:j})=>{const d=J(),{resetField:q,formState:U}=dt(),[G,k]=C.useState(!1),[L,W]=n.split("."),O=parseInt(W),D=U.dirtyFields[L]?.[O]?.originalVendor===!0&&e.selectedMerchantId!==e.merchant.tenantMerchantId,Y=e.currentSelection!=null,{merchant:p,recommendations:B}=e,{fetchState:K}=a,oe=u=>{let S=u.websiteUrl?.toString();if(S){if(S=Oe(S)??S,e.selectedMerchantId!=null){const r=u.globalMerchantName??null;m.trackVendorReviewWebsiteOpened({reviewSource:"global_review",vendorName:e.merchant.tenantMerchantName,wasRecommendationAvailable:!!r,recommendedVendorName:r,recommendedVendorReason:u.reason??null,vendorWebsite:S})}window.open(S,"_blank")}},x=[];B.forEach((u,S)=>{const r=`recommended${pt(S)}`;x.push({label:{label:t.jsx(t.Fragment,{children:u.logo!=null?t.jsxs(ze,{children:[t.jsx(je,{photoUrl:u.logo.toString(),styles:{width:s.logoHeightAndWidth.valuePx(d),height:s.logoHeightAndWidth.valuePx(d)},placeholder:{width:s.logoHeightAndWidth.value(d),height:s.logoHeightAndWidth.value(d)},fallbackAvatar:t.jsx(pe,{children:t.jsx(me,{name:u.globalMerchantName,size:s.logoHeightAndWidth.valuePx(d)})})}),t.jsx(M,{className:"global-review-row-item",windowSize:d,isLastItem:!1,children:t.jsx(Z,{children:u.globalMerchantName})})]}):t.jsx(M,{className:"global-review-row-item",windowSize:d,isLastItem:!1,children:t.jsx(Z,{children:u.globalMerchantName})})}),style:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},checkBoxField:{name:ce(n,H,r),checkBoxValue:ce(n,H,r),defaultChecked:e.currentSelection===r},tooltipProps:{text:t.jsx(Xt,{recommendation:u,onRedirectionToRecommendedMerchantWebsiteUrl:()=>oe(u)}),maxWidth:"360px"},fieldName:r})});const v=p!=null?{label:{label:t.jsx(t.Fragment,{children:p.logo!=null?t.jsxs(ze,{children:[t.jsx(je,{photoUrl:p.logo.toString(),styles:{width:s.logoHeightAndWidth.valuePx(d),height:s.logoHeightAndWidth.valuePx(d)},placeholder:{width:s.logoHeightAndWidth.value(d),height:s.logoHeightAndWidth.value(d)},fallbackAvatar:t.jsx(pe,{children:t.jsx(me,{name:p.tenantMerchantName,size:s.logoHeightAndWidth.valuePx(d)})})}),t.jsx(M,{className:"global-review-row-item",windowSize:d,isLastItem:!1,children:t.jsx(Z,{children:p.tenantMerchantName})})]}):t.jsx(M,{className:"global-review-row-item",windowSize:d,isLastItem:!1,children:t.jsx(Z,{children:p.tenantMerchantName})})}),style:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},checkBoxField:{name:ce(n,H,ge),checkBoxValue:ce(n,H,ge),defaultChecked:e.currentSelection==="requested"},tooltipProps:{text:t.jsx(Qt,{merchant:p}),maxWidth:"360px"}}:void 0;let F=p.oldMerchantName;e.currentSelection==="originalVendor"&&e.selectedMerchantId!=null&&(F=e.selectedMerchantId);const I=C.useMemo(()=>Be(F,e.merchant,l),[e,l]),ae=()=>{k(!1),j()},xe=()=>{q(n)};return t.jsx(qe,{windowSize:d,isActiveField:D,children:V.map((u,S)=>{switch(u.key){case"originalVendor":return t.jsx(T,{windowSize:d,wrapperWidth:u.width,children:G===!0?t.jsx(ct,{onClickAway:ae,children:t.jsx(_t,{children:t.jsx(ht,{name:de(n,"originalVendor"),defaultValue:I,isOptionsLoading:K==="In-Progress",addIconInCreateLabel:!0,autoFocus:!0,isDisabled:g,style:{marginRight:o.sp4},menuIsOpen:G,loadOptions:w,customStyleConfig:{valueContainer:(r,b)=>({justifyContent:"flex-start",margin:`${o.sp0} ${b.selectProps.menuIsOpen===!1?o.sp0:o.sp3}`}),menu:()=>({width:"150%"}),singleValue:()=>({display:"flex",alignItems:"center",color:"inherit"})},onCreateOptionClick:r=>{y(p.tenantMerchantId,r,p.websiteUrl)},onMenuClose:ae})})}):I.selectedOption!=null?Yt(I.selectedOption,p,l,d,S,D,k,xe):t.jsxs(M,{className:"global-review-row-item",windowSize:d,isLastItem:S===V.length-1,children:[qt.selectPlaceholder,t.jsx(E,{display:"block",placement:"bottom",title:t.jsx(_,{children:f.tooltips.editName}),enterDelay:600,children:t.jsx($e,{onClick:()=>k(!0),"data-testid":P("global-review-list-row-edit-icon")})})]})},de(n,"originalVendor"));case"recommended":return t.jsx(t.Fragment,{children:t.jsx(T,{windowSize:d,wrapperWidth:u.width,gap:s.logoToValueGap,children:x.map((r,b)=>t.jsxs(t.Fragment,{children:[t.jsx(M,{windowSize:d,className:"vendor-global-review-row-item",isLastItem:!1,children:t.jsx(Ie,{isHighlighted:!0,label:r.label,checkBoxField:r.checkBoxField,tooltipProps:r.tooltipProps,defaultChecked:e.currentSelection===r.fieldName})},b),b<x.length-1?t.jsxs(Kt,{children:[" ",f.texts.or]}):null]}))})});case"action":return t.jsx(T,{windowSize:d,wrapperWidth:u.width,gap:s.smallLogoToValueGap,children:t.jsxs(M,{className:"global-review-row-button",windowSize:d,isLastItem:S===V.length-1,children:[t.jsx(ye,{variant:"light_transparent",label:f.footer.reject,onClick:()=>h(p.tenantMerchantId),loading:e.rejectStatus.fetchState==="In-Progress",size:"small",style:{height:"100%"}}),t.jsx(Jt,{space:o.sp0,style:{display:"flex",alignItems:"center",height:o.sp4,width:o.sp3}}),t.jsx(ye,{label:f.footer.approve,onClick:()=>c(p.tenantMerchantId),disabled:!Y,loading:e.approveStatus.fetchState==="In-Progress",size:"small",variant:"primary"})]})},`${n}.${u.key}`);case"requestedVendor":return t.jsx(T,{windowSize:d,wrapperWidth:u.width,gap:s.smallLogoToValueGap,children:p.tenantMerchantName&&v!=null?t.jsx(M,{windowSize:d,className:"vendor-global-review-row-item",isLastItem:!1,children:t.jsx(Ie,{isHighlighted:!0,label:v.label,checkBoxField:v.checkBoxField,tooltipProps:v.tooltipProps,defaultChecked:e.currentSelection==="requested"})}):t.jsx(M,{className:"vendor-global-review-row-item",windowSize:d,isLastItem:!1,children:f.strings.hyphen})},de(n,"merchantId"));case"tenants":default:return t.jsx(T,{windowSize:d,wrapperWidth:u.width,children:t.jsx(Et,{className:"global-review-row-item",windowSize:d,isLastItem:S===V.length-1,children:t.jsx(E,{display:"block",placement:"bottom-start",title:t.jsx(_,{children:p.tenantName}),children:t.jsx(Z,{children:p.tenantName})})})},de(n,"tenantId"))}})})},Bt=()=>{const e=J();return t.jsx(qe,{windowSize:e,isActiveField:!1,children:V.map((l,a)=>{switch(l.key){case"originalVendor":case"recommended":return t.jsxs(T,{windowSize:e,wrapperWidth:l.width,gap:s.smallLogoToValueGap,children:[t.jsx(ke,{width:s.logoHeightAndWidth.value(e),height:s.logoHeightAndWidth.value(e)}),t.jsx(M,{windowSize:e,isLastItem:a===V.length-1,children:t.jsx(se,{width:120,height:s.logoHeightAndWidth.value(e),style:{display:"flex",alignItems:"center"}})})]},l.key);case"requestedVendor":return t.jsxs(T,{windowSize:e,wrapperWidth:l.width,gap:s.logoToValueGap,children:[t.jsx(ke,{width:s.vendorNameLogoHeightAndWidth.value(e),height:s.vendorNameLogoHeightAndWidth.value(e)}),t.jsx(M,{windowSize:e,isLastItem:a===V.length-1,children:t.jsx(se,{width:120,height:s.vendorNameLogoHeightAndWidth.value(e),style:{display:"flex",alignItems:"center"}})})]},l.key);case"tenants":return t.jsx(T,{windowSize:e,wrapperWidth:l.width,children:t.jsx(M,{windowSize:e,isLastItem:a===V.length-1,children:t.jsx(se,{width:100,height:$[4],style:{display:"flex",alignItems:"center"}})})},l.key);case"action":default:return t.jsx(T,{windowSize:e,wrapperWidth:l.width,children:t.jsx(M,{windowSize:e,isLastItem:a===V.length-1,children:t.jsx(se,{width:$[11],height:$[5],style:{display:"flex",alignItems:"center"}})})},l.key)}})})},qe=i.div`
|
|
79
79
|
display: flex;
|
|
80
80
|
margin-bottom: ${o.sp3};
|
|
81
81
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -149,11 +149,11 @@ import{d as Ke,J,a9 as _e,ay as Ee,cF as Je,V as t,bC as Ye,ac as Xe,cn as Ce,o,
|
|
|
149
149
|
${Me};
|
|
150
150
|
justify-content: ${e=>e.isLastItem?"flex-end":"unset"};
|
|
151
151
|
display: ${e=>e.isLastItem?"flex":"inline-block"};
|
|
152
|
-
`,
|
|
152
|
+
`,Et=i(ut)`
|
|
153
153
|
${Me};
|
|
154
154
|
justify-content: ${e=>e.isLastItem?"flex-end":"unset"};
|
|
155
155
|
display: ${e=>e.isLastItem?"flex":"inline-block"};
|
|
156
|
-
`,
|
|
156
|
+
`,_=i(we)`
|
|
157
157
|
padding: 2px ${o.sp2};
|
|
158
158
|
color: ${e=>e.theme.colors.hero};
|
|
159
159
|
background: ${e=>e.theme.colors.overlayColor};
|
|
@@ -184,7 +184,7 @@ import{d as Ke,J,a9 as _e,ay as Ee,cF as Je,V as t,bC as Ye,ac as Xe,cn as Ce,o,
|
|
|
184
184
|
text-align: center;
|
|
185
185
|
align-items: center;
|
|
186
186
|
overflow: hidden;
|
|
187
|
-
`,
|
|
187
|
+
`,_t=i.div`
|
|
188
188
|
display: flex;
|
|
189
189
|
width: 100%;
|
|
190
190
|
`,Ue=i.div`
|
|
@@ -215,7 +215,7 @@ import{d as Ke,J,a9 as _e,ay as Ee,cF as Je,V as t,bC as Ye,ac as Xe,cn as Ce,o,
|
|
|
215
215
|
`,ze=i.div`
|
|
216
216
|
display: flex;
|
|
217
217
|
gap: ${o.sp2};
|
|
218
|
-
`,Be=(e,l,a)=>{const n=a.find(m=>m.globalMerchantId===e),g=l.tenantMerchantId===e?{label:l.tenantMerchantName,value:l.tenantMerchantId}:n!=null?{label:n.globalMerchantName,value:n.globalMerchantId}:void 0;return g!=null?{defaultOptions:[g],selectedOption:e}:{defaultOptions:[],selectedOption:e}},Yt=(e,l,a,n,g,m,w,y)=>{const c=a.find(j=>j.globalMerchantId===e),h=l.tenantMerchantId===e?{logo:l.logo,name:l.tenantMerchantName}:c!=null?{logo:c.logo,name:c.globalMerchantName}:e.length>0?{logo:void 0,name:e}:void 0;return h==null?t.jsxs(t.Fragment,{children:[t.jsx(M,{className:"vendor-global-review-row-item",windowSize:n,isLastItem:!1,children:f.strings.hyphen}),t.jsxs(Le,{children:[t.jsx(
|
|
218
|
+
`,Be=(e,l,a)=>{const n=a.find(m=>m.globalMerchantId===e),g=l.tenantMerchantId===e?{label:l.tenantMerchantName,value:l.tenantMerchantId}:n!=null?{label:n.globalMerchantName,value:n.globalMerchantId}:void 0;return g!=null?{defaultOptions:[g],selectedOption:e}:{defaultOptions:[],selectedOption:e}},Yt=(e,l,a,n,g,m,w,y)=>{const c=a.find(j=>j.globalMerchantId===e),h=l.tenantMerchantId===e?{logo:l.logo,name:l.tenantMerchantName}:c!=null?{logo:c.logo,name:c.globalMerchantName}:e.length>0?{logo:void 0,name:e}:void 0;return h==null?t.jsxs(t.Fragment,{children:[t.jsx(M,{className:"vendor-global-review-row-item",windowSize:n,isLastItem:!1,children:f.strings.hyphen}),t.jsxs(Le,{children:[t.jsx(E,{display:"block",placement:"bottom",title:t.jsx(_,{children:f.tooltips.editName}),enterDelay:600,children:t.jsx($e,{className:"edit-icon",onClick:()=>w(!0),"data-testid":P("global-review-list-row-edit-icon")})}),m?t.jsx(E,{display:"block",placement:"bottom",title:t.jsx(_,{children:f.tooltips.reset}),enterDelay:600,children:t.jsx(Ge,{className:"reset-icon",onClick:y,"data-testid":P("global-review-list-row-undo-icon")})}):null]})]}):t.jsxs(t.Fragment,{children:[h.logo!=null?t.jsx(je,{photoUrl:h.logo.toString(),styles:{width:s.vendorNameLogoHeightAndWidth.valuePx(n),height:s.vendorNameLogoHeightAndWidth.valuePx(n),marginRight:s.logoToValueGap.valuePx(n)},placeholder:{width:s.vendorNameLogoHeightAndWidth.value(n),height:s.vendorNameLogoHeightAndWidth.value(n),style:{marginRight:s.logoToValueGap.valuePx(n)}},fallbackAvatar:t.jsx(pe,{style:{marginRight:s.logoToValueGap.valuePx(n)},children:t.jsx(me,{name:h.name,size:s.vendorNameLogoHeightAndWidth.valuePx(n)})})}):t.jsx(pe,{style:{marginRight:s.logoToValueGap.valuePx(n)},children:t.jsx(me,{name:h.name,size:s.vendorNameLogoHeightAndWidth.valuePx(n)})}),t.jsxs(Le,{children:[t.jsx(M,{className:"global-review-row-item",windowSize:n,isLastItem:g===V.length-1,children:t.jsx(E,{display:"block",placement:"bottom-start",title:t.jsx(_,{children:h.name}),children:t.jsx(Z,{children:h.name})})}),t.jsx(E,{display:"block",placement:"bottom",title:t.jsx(_,{children:f.tooltips.editName}),enterDelay:600,children:t.jsx($e,{className:"edit-icon",onClick:()=>w(!0),"data-testid":P("global-review-list-row-edit-icon-tooltip")})}),m?t.jsx(E,{display:"block",placement:"bottom",title:t.jsx(_,{children:f.tooltips.reset}),enterDelay:600,children:t.jsx(Ge,{className:"reset-icon",onClick:y})}):null]})]})},Xt=({recommendation:e,onRedirectionToRecommendedMerchantWebsiteUrl:l})=>t.jsxs(Ue,{setMaxHeight:!0,children:[t.jsxs(ee,{children:[t.jsx(le,{children:f.labels.vendor}),t.jsx(te,{children:e.globalMerchantName})]}),e.websiteUrl?t.jsxs(ee,{children:[t.jsx(le,{children:f.labels.websiteURL}),t.jsx(te,{className:"websiteUrlTooltipText",onClick:()=>l(e),"data-testid":P("global-review-list-row-website-url-tooltip-website-url"),children:e.websiteUrl?.toString()})]}):null]}),Qt=({merchant:e})=>{let l=e.websiteUrl?.toString()??f.strings.empty;return t.jsxs(Ue,{children:[t.jsxs(ee,{children:[t.jsx(le,{children:f.labels.name}),t.jsx(te,{children:e.tenantMerchantName})]}),e.accountName.length?t.jsxs(ee,{children:[t.jsx(le,{children:f.labels.category}),t.jsx(te,{children:e.accountName})]}):null,e.accountName.length?t.jsxs(ee,{children:[t.jsx(le,{children:f.labels.class}),t.jsx(te,{children:e.className})]}):null,l?t.jsxs(ee,{children:[t.jsx(le,{children:f.labels.websiteURL}),t.jsx(te,{className:"websiteUrlTooltipText",onClick:()=>{l&&(l=Oe(l)??l,window.open(l,"_blank"))},"data-testid":P("global-review-list-row-website-url-tooltip"),children:l})]}):null]})},Zt=({sortConfig:e,fetchState:l,isDisabled:a,onColumnSortConfigChanged:n})=>{const g=J();return t.jsxs(el,{windowSize:g,children:[t.jsx(He,{sortConfig:e,isDisabled:l==="In-Progress"?"readonly":a,onColumnSortConfigChanged:n}),t.jsx(tl,{windowSize:g,children:[...Array(7)].map((m,w)=>t.jsx(Bt,{},w))})]})},el=i.div`
|
|
219
219
|
display: block;
|
|
220
220
|
min-height: 100%;
|
|
221
221
|
flex-direction: column;
|
|
@@ -280,7 +280,7 @@ import{d as Ke,J,a9 as _e,ay as Ee,cF as Je,V as t,bC as Ye,ac as Xe,cn as Ce,o,
|
|
|
280
280
|
align-items: center;
|
|
281
281
|
margin-top: ${o.sp3};
|
|
282
282
|
margin-bottom: ${o.sp3};
|
|
283
|
-
`,{common:{sectionTitles:ul},vendorReview:{globalReview:{globalMerchantList:Te}}}=ue.getLocalizedStrings(),wl="globalReviewListPage",he="globalReviewListTable",Gl=({vendorGlobalReviewView:e,globalMerchantAutoCompleteView:l,analytics:a,isDisabled:n,onUpdateSelectedGlobalMerchant:g,onApproveGlobalReview:m,onRejectGlobalReview:w,onCreateGlobalMerchant:y,onFetchGlobalMerchantAutoCompleteResults:c,onUpdateGlobalReviewUIState:h,onFetchGlobalReviewList:j,onClearGlobalMerchantAutoCompleteResults:d,onBackClick:q,onClickMenuIcon:U})=>{const G=Ke(),k=J(),{vendorGlobalReviewData:L,allGlobalMerchants:W,uiState:O,fetchState:D}=e,{globalMerchants:Y,fetchState:p}=l,B=
|
|
283
|
+
`,{common:{sectionTitles:ul},vendorReview:{globalReview:{globalMerchantList:Te}}}=ue.getLocalizedStrings(),wl="globalReviewListPage",he="globalReviewListTable",Gl=({vendorGlobalReviewView:e,globalMerchantAutoCompleteView:l,analytics:a,isDisabled:n,onUpdateSelectedGlobalMerchant:g,onApproveGlobalReview:m,onRejectGlobalReview:w,onCreateGlobalMerchant:y,onFetchGlobalMerchantAutoCompleteResults:c,onUpdateGlobalReviewUIState:h,onFetchGlobalReviewList:j,onClearGlobalMerchantAutoCompleteResults:d,onBackClick:q,onClickMenuIcon:U})=>{const G=Ke(),k=J(),{vendorGlobalReviewData:L,allGlobalMerchants:W,uiState:O,fetchState:D}=e,{globalMerchants:Y,fetchState:p}=l,B=Ee({mode:"all",reValidateMode:"onChange",defaultValues:Pe(L,W),values:Pe(L,W),resetOptions:{keepDirtyValues:!0}}),[K,oe]=C.useState(O.searchText),x=C.useRef(),v=r=>{j(r,!1,null)},F=r=>{const b=L.find(z=>z.merchant.tenantMerchantId===r);if(b!=null){const z=W.find(Q=>Q.globalMerchantId===b.selectedMerchantId),X=b.recommendations,{tenantName:re,oldMerchantName:ne,tenantMerchantName:ie}=b.merchant,R=z?.globalMerchantName??ie,A=X[0];a.trackVendorReviewApproveRequested({reviewSource:"global_review",tenantName:re,requestedVendorName:ie,originalVendorName:ne,approveVendorName:R,isGlobalVendorRequested:z!=null,isNewCreatedVendorRequested:!1,isVendorNameRecommendationSelected:b.currentSelection==="recommendedFirst"||b.currentSelection==="recommendedSecond",isVendorNameChangedAndSelected:R!==ie,wasRecommendationAvailable:!!A?.globalMerchantName,approveVendorReason:z?.reason??null,approveVendorNameSelectionSource:R===A?.globalMerchantName?"recommendation":"text_edit",recommendedVendorName:A?.globalMerchantName??null,recommendedVendorReason:A?.reason??null})}m(r)},I=C.useRef(_e(r=>v(r),500,{trailing:!0})).current;C.useEffect(()=>{D==="Completed"&&a.trackVendorReviewPage("global_review",O.totalCount)},[D]),C.useEffect(()=>{p==="Completed"&&x.current?.(fl(Y))},[p]);const ae=(r,b)=>{c(r),x.current=b},xe=()=>{},u=async(r,b,z)=>{const{globalReviewListTable:X}=b,re=parseInt(r.split(".")[1]),ne=X[re].merchantId;if(z==null){g(ne,{recommendedFirst:!1,recommendedSecond:!1,originalVendor:!1,requested:!1},ne);return}if(r.includes(he)){const ie=parseInt(r.split(".")[1]),R={...b[he][ie]};let A=R[H],Q;R.merchantId!=null&&(r.includes(Re)?(A={recommendedFirst:R[H].recommendedFirst,recommendedSecond:!1,originalVendor:!1,requested:!1},Q=R[Re]?.globalMerchantId):r.includes(Ne)?(A={recommendedFirst:!1,recommendedSecond:R[H].recommendedSecond,originalVendor:!1,requested:!1},Q=R[Ne]?.globalMerchantId):r.includes(ge)?(A={recommendedFirst:!1,recommendedSecond:!1,originalVendor:!1,requested:R[H].requested},Q=R[ge]):r.includes(ve)&&(A={recommendedFirst:!1,recommendedSecond:!1,originalVendor:!0,requested:!1})),g(ne,A,r.includes(ve)?X[re][ve].selectedOption:Q)}};C.useEffect(()=>{const r=B.watch((b,{name:z,type:X})=>{z!=null&&b!=null&&Je(()=>u(z,b,X))});return()=>{r.unsubscribe()}});const S=t.jsx(ft,{button:{label:ul.newVendor,onClick:()=>y()},search:{searchText:K,hide:!1,isOpen:K.length>0,placeHolder:Te.searchPlaceholder,onTextChange:r=>{oe(r),r.trim().length>=2?I(r):r.trim().length==0&&I("")}}});return t.jsxs(bl,{children:[t.jsx(Ye,{title:Te.navBarTitle,backgroundColor:G.colors.grey4,onBackClick:q,rightSideComponent:S,showMenuIcon:k==="medium-compact"||k==="small",onClickMenuIcon:U,source:"GlobalReviewListPage"}),t.jsx(xl,{children:t.jsx(Xe,{...B,children:t.jsx("form",{id:vl(wl),onSubmit:B.handleSubmit(xe),style:{width:"100%"},children:t.jsx(ol,{vendorGlobalReviewList:L,allGlobalMerchants:W,globalMerchantAutoCompleteView:l,uiState:{...O,searchText:K},isDisabled:n,listFetchState:D,sectionId:he,onLoadGlobalMerchants:ae,onUpdateGlobalReviewUIState:h,onFetchGlobalReviewList:j,onCreateGlobalMerchant:y,onApproveGlobalMerchantReview:F,onRejectGlobalMerchantReview:w,onClearGlobalMerchantAutoCompleteResults:d,analytics:a})})})})]})},bl=i.div`
|
|
284
284
|
display: flex;
|
|
285
285
|
min-height: 100%;
|
|
286
286
|
width: 100%;
|