@zeniai/web-cockpit-ui 1.15.33-qa → 1.15.34-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-tTJc_EMP-caRMekFL.js → ACHDetailsPage-DSufuSEI-BugcK5ko.js} +3 -3
- package/dist/assets/{AIPerformancePage-ByUb4gCe-DnyMWJRD.js → AIPerformancePage-Df0tJkyd-C5l4T96t.js} +104 -104
- package/dist/assets/AccountInfoPage-CwOgUpjY-CG0ESFTT.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BHD9tOzB-Uj2_GKGo.js → AccountInfoPageContent-C7Xs6ju3-CvFu_KWB.js} +23 -23
- package/dist/assets/AccountLockedInfoModal-D5rAyYPe-cRoXMFrB.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-BEfA1bsG-C2Js1Jvp.js → AccountReconDetailsDrawerPage-BvnBJmol-BxGJXQpl.js} +19 -19
- package/dist/assets/AccountRow-DtE1mQFq-sRlcgWT1.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-CaTnaSn3-DsNszPEx.js → AccountsPromoCardStack-D14FDzTY-CAlFlxNB.js} +26 -26
- package/dist/assets/AddAddressForCardDrawer-C9_gjvsQ-xMzrtCOD.js +6 -0
- package/dist/assets/{AddToWalletPage-BSzuByT6-CYM78gIb.js → AddToWalletPage-B_7pqvLH-CAYlL9WC.js} +18 -18
- package/dist/assets/{AgingReportsPage-D2gPAJKw-Dy3mQZBS.js → AgingReportsPage-CRFlM3H1-DhYuRisV.js} +15 -15
- package/dist/assets/{AllUserItems-BIf1v0a5-Bm00AqDS.js → AllUserItems-LlhM8bBU-N-OwUUn2.js} +10 -10
- package/dist/assets/ApAgingDetailPage-CTxNOPhD-DrGk4MjA.js +46 -0
- package/dist/assets/{AppBasePage-BGPY0zrb-DlmkLc3V.js → AppBasePage-DRQ76rXe-BbmVnMJF.js} +4 -4
- package/dist/assets/{AppDrawerContent-6AX5Y5tK-Cu3-m-Sw.js → AppDrawerContent-CIXhnJBJ-DkcT-gQA.js} +4 -4
- package/dist/assets/ApprovalRulesSettingsPage-DYrcZm5--Di4DgXFx.js +47 -0
- package/dist/assets/{ArAgingChart-Dx8jVL0O-Cgykn0Lt.js → ArAgingChart-BwEspm7G-DNjHaENA.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-BcrHD5zT-jubV7JhU.js → ArAgingDetailPage-Dy9woFr0-Dwalts78.js} +6 -6
- package/dist/assets/{AttachmentView-CdIA5zLk-DSnv4ijm.js → AttachmentView-CF6Tiq1u-ScD4RZ91.js} +5 -5
- package/dist/assets/{BankAccountSection-Qe9eRUmE-Bn_DzMKl.js → BankAccountSection-DyPS4RZK-Bc2VKdEG.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-BfN1KiTF-EK89qrtq.js → BankAccountWarningSection-Dr8XVfsN-Bh1VpxWI.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-Dmub7xxp-CxXqCMiF.js → BankConnectionsSettingsPage-h7ZnZhy5-EKV1mb1Z.js} +12 -12
- package/dist/assets/{BillDetailPage-DHCP-PUd-DOIZox9o.js → BillDetailPage-KSkeLjtu-DDizjGfx.js} +2 -2
- package/dist/assets/BillPayApprovalRuleDetailPage-C3VQacD2-ndVmYW9Y.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-Cc3wkV9k-D4lNrc1G.js → BillPayApprovalRulesPage-DMmnARE3-BHk6XaxH.js} +11 -11
- package/dist/assets/{BillPayPromoPage-DslCxm8f-BojuKuTk.js → BillPayPromoPage-CZ34fQRr-h45OCD6V.js} +7 -7
- package/dist/assets/{BillPaySetUpPage-DnabCnSI-B95-H6hC.js → BillPaySetUpPage-DF-cMiJC-Ccb6fwyP.js} +2 -2
- package/dist/assets/BillingSettingsPage-DNmOo0mj-BgBv8nRa.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-BOulFH2M-BrY_zcFs.js → BillsBulkReviewDrawerPage-CM1RYrRS-7XSi35in.js} +1 -1
- package/dist/assets/{BoxItem-Dhk2kQlB-DGHihy-b.js → BoxItem-Dy41mKN9-CZiGGLPk.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BU2b5oF1-DDgS913g.js → BusinessVerificationPage-BSL5f5yW-Ccd_M7Ux.js} +2 -2
- package/dist/assets/{CardNumberSubText-CRjU8jZf-DScDbHaS.js → CardNumberSubText--wffxyL2-Dzc9wag1.js} +8 -8
- package/dist/assets/{CashbackDetailPage-GNwtsA01-CtZrxwJV.js → CashbackDetailPage-BuywSIvA-Dj0FTjqV.js} +15 -15
- package/dist/assets/{ChargeCardDetailPage-DspeEPRm-BfTzI1rp.js → ChargeCardDetailPage-Fx1upN8E-BfETR_eB.js} +36 -36
- package/dist/assets/{ChargeCardListPage-C4N76196-B9kR7T8Y.js → ChargeCardListPage-CkqWU4gN-CkHuHVFN.js} +23 -23
- package/dist/assets/{ChargeCardListTable-ObawcMuP-BOdm2f4H.js → ChargeCardListTable-lwxY_gLZ-DZ2VoxeT.js} +46 -46
- package/dist/assets/{ChargeCardPaymentHistoryPage-NBxH70YE-CMrKxZA5.js → ChargeCardPaymentHistoryPage-CvTW120H-ByJ1xGtA.js} +34 -34
- package/dist/assets/ChargeCardPromoPage-CSx0tLTh-BsQndE31.js +222 -0
- package/dist/assets/ChargeCardSetupPage-D_LWSQOa-BwUtTkP2.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-DSUakLyb-BH8qt4Dj.js → ChargeCardStatementsPage-B7qX0zl3-C66Fu0LS.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-BK6iLLEA-DIHMuA3p.js → CheckDepositDrawerPage-oWf5X7rL-5KpdpyEY.js} +17 -17
- package/dist/assets/{CollapsableReportTable-vwzu1AgW-DuMTLVG4.js → CollapsableReportTable-Cfh-EfEQ-CKv-H0OC.js} +93 -93
- package/dist/assets/{CompanyOfficerDetailsSection-CtptCfIN-E-ghNZwQ.js → CompanyOfficerDetailsSection-CFg0p5uA-CJ156x7J.js} +12 -12
- package/dist/assets/{CompanyPassportCard-DyasR99R-Bjmhc2hR.js → CompanyPassportCard-C5j_KoZL-CPJCD4ZW.js} +2 -2
- package/dist/assets/{CompanyPassportPage-Xp8Bn6ev-AJr1CYjl.js → CompanyPassportPage-DtEQ7a68-BZL6spEi.js} +34 -34
- package/dist/assets/{CompleteProfile-CyoPiiWR-Byv8MIAx.js → CompleteProfile-DLNtc5N7-B7HW7ybq.js} +1 -1
- package/dist/assets/ConfettiBurst-B4gz9uC9-BhJEyb5s.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-CQqzwvu_.js → ConstrainedInnerElement-BeIpAPjB-C3jCz_Fx.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CecROHGm-BZLYQbR8.js → CreateOrEditVendorPage-Bd61yH0G-DpW83MJ2.js} +8 -8
- package/dist/assets/{CreditCardPaymentDrawerPage-C6Tx5HFf-BMs8YRTm.js → CreditCardPaymentDrawerPage-NtnEWUdG-DLELauiu.js} +15 -15
- package/dist/assets/CurrencySelectField-CaQgbP8P-Cqqb_KBc.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-CsBXicnS-D_30tSZo.js → CustomerOnboardingActivationPage-BnBFEWaX-Dn3wQumA.js} +8 -8
- package/dist/assets/CustomerOnboardingContainerPage-BRmWV-NF-CTVp5vU-.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BrWGFePj-D9A4KVB4.js → CustomerOnboardingDetailPageSkeleton-Deaz4PM6-BDZvJWDz.js} +10 -10
- package/dist/assets/{CustomerOnboardingNoStepsPage-EIhXr3Tb-ht8ezlDG.js → CustomerOnboardingNoStepsPage-C8cmsaOC-BJyq1bJL.js} +5 -5
- package/dist/assets/{CustomerOnboardingPage-DXoS8Lvh-BvBWTMTM.js → CustomerOnboardingPage-CSSgj26J-N4cabpr0.js} +9 -9
- package/dist/assets/{CustomerOnboardingProductSuitePage-BRXSZWKm-CVZJxXfP.js → CustomerOnboardingProductSuitePage-DU7qzP1f-2w9ZQcUU.js} +6 -6
- package/dist/assets/{Dashboard-Bd774Cwk-CPneZsx_.js → Dashboard-DPXzM2TM-6t8lQHvd.js} +66 -66
- package/dist/assets/{DashboardReportPage-CdyFzIwd-CCBZJf2V.js → DashboardReportPage-CWgH0Bn9-BvMXyb8g.js} +13 -13
- package/dist/assets/DashboardSidebarBackgroundAnimation-DL2Awq0k-CURcbn_K.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-DZk4h7x--XEEIsEL6.js → DepositAccTransactionItem-CuWxNHSp-Da2H1v88.js} +5 -5
- package/dist/assets/{DepositAccTransactionListPage-CKgbbZOW-BAUa4FHC.js → DepositAccTransactionListPage-BHs8-LpV-C7V5-8Rf.js} +7 -7
- package/dist/assets/{DomesticWireDetailsPage-CY2Pv6jd-DtTjZ_4V.js → DomesticWireDetailsPage-CRfm0oqJ-C4r-lW_y.js} +2 -2
- package/dist/assets/{DownloadOverlay-BflHtA84-BO7fMgnW.js → DownloadOverlay--ICWviQz-Q6tZiS37.js} +24 -24
- package/dist/assets/{DrawerPage-5Q_xvjmz-BOmiDfaX.js → DrawerPage-DoJkjp69-BGpDDN7R.js} +10 -10
- package/dist/assets/EditPeoplePage-B-zEdQqt-BrFyNgmY.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-CYnqM-2--_UDSzYfF.js → EditReimbursementDetailPage-BdfJj8-u-BwPuRwof.js} +72 -72
- package/dist/assets/EntityDetailPage-C6UdR7oJ-COx1heor.js +18 -0
- package/dist/assets/{EntitySummarySection-BUjGJmFT-Dha8JbEH.js → EntitySummarySection-BYP9LNlh-CHZV8J2r.js} +19 -19
- package/dist/assets/{ExpenseAutomationOverviewPage-D7_-NOLq-C2FHNQ42.js → ExpenseAutomationOverviewPage-UKPGezFZ-ynbYpvOr.js} +60 -60
- package/dist/assets/ExpenseAutomationPage-5qqhqwjY-BNjM9KYY.js +1803 -0
- package/dist/assets/{ExpressPayPage-gyFQBzLO-DD1bcU9s.js → ExpressPayPage-BaLCnmxC-DyZ_NbAE.js} +15 -15
- package/dist/assets/{FeaturePreviewPage-BT-WJozX-BmNFqaDN.js → FeaturePreviewPage-DJvcim4v-B-0y2hox.js} +2 -2
- package/dist/assets/{FollowStepsSection-Du2gzmC6-ITy1BuM4.js → FollowStepsSection-DiAM2oU9-DVhX1hhq.js} +42 -42
- package/dist/assets/{GlobalReviewListPage-B0MxdV0g-ByEyisM3.js → GlobalReviewListPage-DFhcVK4y-DV_nZHys.js} +14 -14
- package/dist/assets/{InformationCardStack-rAU0N5_N-18U34zdq.js → InformationCardStack-bDJV8MEl-DKR8Zvn9.js} +7 -7
- package/dist/assets/{InsightsCardStack-CEkmuCB6-CogwYtZb.js → InsightsCardStack-Ba7C5_Ql-1E6nbw33.js} +7 -7
- package/dist/assets/InsightsSection-BFviX80K-CRFJKeH_.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-Do41V6J0-drB79PfG.js → IntegrationsSettingsPage--kXCS3f1-HcQyCW82.js} +6 -6
- package/dist/assets/{InternationalWireSwiftDetailsPage-BnsnrM3q-BIaoCuMc.js → InternationalWireSwiftDetailsPage-DfKrYbaB-DwvyB1Uq.js} +28 -28
- package/dist/assets/InternationalWireVerificationPage-DU6447M_-YLqWsFbY.js +65 -0
- package/dist/assets/{InviteFormPage-x40AE2Pw-DB6GwgFB.js → InviteFormPage-D3FNgm9B-BwvxtcvY.js} +1 -1
- package/dist/assets/{InvitePageListView-CiVNaN8z-VSoPDSqk.js → InvitePageListView-D4wRSwJW-DPbFsvfR.js} +35 -35
- package/dist/assets/InvitePeoplePage-DSFk8lEF-DpuHc0lh.js +12 -0
- package/dist/assets/InvoiceUploadSection-DaS4D1em-CK_Ayuq4.js +140 -0
- package/dist/assets/{IssueChargeCardPage-BVmxvrlx-CM3PsR0k.js → IssueChargeCardPage-CrbIqdSx-Bp9X1BXe.js} +20 -20
- package/dist/assets/{LabeledAddressValue-aejn380k-9KAs-vw8.js → LabeledAddressValue-CUr2BnHq-DfiyDPyB.js} +2 -2
- package/dist/assets/LabeledAddressValueField-DL3wJoZC-CMggf1RU.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-DQUXZSFS-CPn0l33X.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-D1bMiaZj-ColeHqz7.js → LabeledCountryMultiSelectField-C6IWrKo4-CcQcxFW7.js} +3 -3
- package/dist/assets/{LabeledCreatableSingleSelectField-amXDv508-6VO0EsbY.js → LabeledCreatableSingleSelectField-m_D3aJpG-DPOvsRA4.js} +6 -6
- package/dist/assets/{LabeledDocumentField-2_VcrmJN-BD9gdLcR.js → LabeledDocumentField-B19zNNVZ-Du4OcR6Y.js} +2 -2
- package/dist/assets/{LabeledDropDownFormattedTextField-C6sW-5j7-DoZ1Clel.js → LabeledDropDownFormattedTextField-D4cHrsba-DGjSp6HD.js} +5 -5
- package/dist/assets/{LabeledText-CrAhx4_P-mWwgzY-e.js → LabeledText-H1pSTEtd-BHLnDTFr.js} +5 -5
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BVZg_rlX-DQAVipT_.js → LabeledUserSingleSelectWithSubtitlesField-C0bJoy6U-CBE1zspu.js} +12 -12
- package/dist/assets/{LabeledZeniRolesDropDownField-DS1icRVA-DRmTnd0N.js → LabeledZeniRolesDropDownField-D0KIAWFW-CQ1uXRKO.js} +23 -23
- package/dist/assets/{LinkJETransactionPage-VdBxLFQc-DSmzcgL3.js → LinkJETransactionPage-LfkM9DYO-CSpsV_Z3.js} +9 -9
- package/dist/assets/{LockCardPage-Bs8xkpNa-BH5dabGf.js → LockCardPage-lTzQY_pw-BYsKWV6j.js} +34 -34
- package/dist/assets/{LowBalancePopup-B0-WExEI-BnZMJ9oZ.js → LowBalancePopup-DXPPHYS1-CB0hADnS.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-DhFoinUr-BKHQrprB.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BUX5Ve2X-CKqNdN5U.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BmtqDOUO-CMDMqnYA.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-DRcOlHnh-PPiAarWW.js → MagicLinkSuccessPage-BrQk5kYZ-Dws1_rIA.js} +5 -5
- package/dist/assets/{MagicLinkTitleSection-vMBVJSVF-BDFTafOR.js → MagicLinkTitleSection-vHYX92L1-B1QKRjFr.js} +4 -4
- package/dist/assets/MailingDetailsSection-vydT4UOr-DSxQiRSi.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-D6Gjqgv2-tzV_zUUq.js → MyBankConnectionsSettingsPage-BtT9OQ_b-D1PjSf7q.js} +6 -6
- package/dist/assets/{MyPendingActivationChargeCardListPage-y9U4DJm9-kjsb7Oyt.js → MyPendingActivationChargeCardListPage-5E28yAfQ-DZoHwB3h.js} +2 -2
- package/dist/assets/MyProfileSettingsPage-DQBSh-S5-C_KLZ_rh.js +85 -0
- package/dist/assets/NavBarWithPicker-1UPJ_fiE-iY8P9Wot.js +30 -0
- package/dist/assets/{NavigationArrow-suk7KbA1-Bl28QDCF.js → NavigationArrow-CeYvXgly-CXWFEDMQ.js} +1 -1
- package/dist/assets/{NavigationDots-Dqcv5rrC-wx3TUAOM.js → NavigationDots-CXAszOHQ-HtQg6iz5.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-CRg1E4PG-BbGF32Sj.js → NewGlobalMerchantPage-DXSlGPbc-DidlOClT.js} +33 -33
- package/dist/assets/NoDataChart-BQdJyfHh-BLmune73.js +26 -0
- package/dist/assets/{NoDataTable-B2CS7NPq-DRIt6CHH.js → NoDataTable-B__TVPte-CetA5lza.js} +1 -1
- package/dist/assets/{NotFoundPage-DGMaZUli-B_ZJJm7V.js → NotFoundPage-Cs25xsWz-DnZv-DIM.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-CMkB3Lv2-C-VPd7Lp.js → NotificationSettingsPage-Dm3zOscr-DKDyywX2.js} +19 -19
- package/dist/assets/NotificationsListConfig-D0knaijJ-NyDzwfbC.js +1 -0
- package/dist/assets/{NotificationsPage-D7bHfgsd-HWWWcHyi.js → NotificationsPage-czQmfW2r-DksNFGUv.js} +31 -31
- package/dist/assets/{OpExByVendorPage-PfMkiQRt-D6dvXvh-.js → OpExByVendorPage-D1ehVVFD-Dc7GFqIq.js} +20 -20
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-2A5VsoQR.js → OverlayContainerPage-D4QU0p4o-li8hzYjf.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CtFnhBki-8h68Lmy6.js → PandLWithForecastPage-B7cwWwMK-BW6yjf-v.js} +9 -9
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-gaNLv-zU-C5-av3XE.js → PaymentAccountSetupBillingAddressSection-CkYtTRY5-DMMQt9qf.js} +13 -13
- package/dist/assets/PeoplePage-DNTbzljs-Bfp0W5JF.js +727 -0
- package/dist/assets/{Preview-DnmPaacA.js → Preview-BsIYoVSv.js} +1 -1
- package/dist/assets/{ProductsCarousel-BPUh4FO7-C-quXntD.js → ProductsCarousel-CTiD9zA7-D7cEl2bl.js} +3 -3
- package/dist/assets/{PromoBaseCards-Dmg5PtKw-Cdh1PPvI.js → PromoBaseCards-BmtlcPBm-DdDmICph.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-CLBqmpI8-DKi8GIOA.js → QBOConnectionDialog-B1y3hDGT-B8UGOz7A.js} +4 -4
- package/dist/assets/QBOSetupSection-DevcmmCv-C2NxYIUb.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BrfP2xcW-CD61A2zN.js → ReimbursementApprovalRuleDetailPage-BRUlJa_D-yH6i72Z5.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-BmVVfYZD-DSikDWDV.js → ReimbursementApprovalRulesPage-CvFHaDmE-Bk4uKO7k.js} +5 -5
- package/dist/assets/{ReimbursementDetailPage-j-kNxeWY-DMAXhIU9.js → ReimbursementDetailPage-CMplGhml--7oTvGch.js} +8 -8
- package/dist/assets/{ReimbursementPromoPage-D2kh5AHM-DnfYr255.js → ReimbursementPromoPage-0d-lo-ve-BFl3c8SE.js} +20 -20
- package/dist/assets/{ReimbursementSetUpPage-D2890NEZ-C42V01mT.js → ReimbursementSetUpPage-T3ErpIj4-BkNsUy2n.js} +15 -15
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-qXtPaXjg-BcU2vD5u.js → ReimbursementsBulkReviewDrawerPage-CnyiYR81-D8NoJfkg.js} +1 -1
- package/dist/assets/{ReloadCard-IEyjck4Y-Bx172wbs.js → ReloadCard-CI-iJa1w-CU7osnQb.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-CQjyJkzR-BMiZfuRK.js → ReportTableViewSelector-CM11mXKF-DKJl505X.js} +31 -31
- package/dist/assets/{ReportsPage-Bzz6If8N-CRC9kTRL.js → ReportsPage-DzuQNoMA-ORn4o7l_.js} +5 -5
- package/dist/assets/{RevenueChart-B00OufPH-BQ-fm7T5.js → RevenueChart-iDdrXSzX-BD1q5u9E.js} +22 -22
- package/dist/assets/{ReviewDetailsPage-NnD1LDcO-oQteze57.js → ReviewDetailsPage-DdS8Ssmq-CpId9CQp.js} +52 -52
- package/dist/assets/{ReviewOverlay-CFouRoKn-Bx0_gW0Y.js → ReviewOverlay-D39FMx3p-DPQk54i4.js} +24 -24
- package/dist/assets/RoleWithToolTip-BMEgXHWf-CYv1exk7.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-B5gQXUI9-D6BCK7Im.js → ScheduleDetailsFixedAssetsPage-YdBRhUc0-1nXwHDMr.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-B1Kb9usK-B8mUNpar.js → ScheduleDetailsPage-OCqSWMz4-Dg0s24kG.js} +3 -3
- package/dist/assets/ScheduleSequenceTable-OEJBqdqG-CB3cYmnz.js +324 -0
- package/dist/assets/{ScreenRoutes-DKxBGhTW.js → ScreenRoutes-Bkl-MWfY.js} +1 -1
- package/dist/assets/{SetUpAccountSection-D6dn2jSD-30yvmE7W.js → SetUpAccountSection-o86ErvD_-Celwp-jA.js} +5 -5
- package/dist/assets/SignIn-BEJNYyp4-O46sF-k3.js +491 -0
- package/dist/assets/SignInScreen-Dm8Ez_qK.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-DOkp7pHa-CRzzuy9l.js → SpendManagementListViewPage-BTQU2jwO-CQyGDfX4.js} +10 -10
- package/dist/assets/{SpendManagementPerTabPage-D_LO55uU-BNZNJM2O.js → SpendManagementPerTabPage-BtUS4aqA-vNlgv2e5.js} +25 -25
- package/dist/assets/{SpendManagementSection-CEMNFPRO-CJtpae8W.js → SpendManagementSection-DiQ2QBwA-CGsThSZ0.js} +11 -11
- package/dist/assets/StatementItem-DGRjrvUi-C8hx1_Sf.js +31 -0
- package/dist/assets/{StatementsPage-CgbyzDo5-BBvhOOcU.js → StatementsPage-QqtqM0qv-BBLWtN99.js} +6 -6
- package/dist/assets/{StatusSwitcher-BjvUftXD-DSbt2dze.js → StatusSwitcher-CfZOeqZf-Bq7fUYSl.js} +4 -4
- package/dist/assets/{SubTabSwitcher-CqTYhJ6K-Cc8NgEnD.js → SubTabSwitcher-Be1lLunR-CsxeYIuC.js} +4 -4
- package/dist/assets/SummaryCard-DgBWIctW-CRmTCkt0.js +1 -0
- package/dist/assets/TaskManagementPage-CpjN2Ver-BJrGG5WR.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-BR-bT1hY-CwHrTBmo.js → TimeRangeSwitcher-B7KdhPH9-Djft8PYe.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-B7EXKmdi-B7wC4ZTm.js → TimeframeSwitcher-C26tc1sm-Eg22Wb7g.js} +6 -6
- package/dist/assets/TimeframeSwitcherWithToggle-DEjdiR9x-CpK-qiop.js +31 -0
- package/dist/assets/{TopExCard-l-xo9Vzj-CzV3ots3.js → TopExCard-Do6O7snc-DLvwuAod.js} +6 -6
- package/dist/assets/{TopExDetailPage-DJlHcjKS-B7xZPI_B.js → TopExDetailPage-DFil6Qwx-BWbjM88A.js} +13 -13
- package/dist/assets/{TransactionActivityLogPage-HLwrGJCG-jOI5M6vb.js → TransactionActivityLogPage-C49lAwDF-BGLm3dPj.js} +14 -14
- package/dist/assets/TransactionDetailPage-CyTyj91G-B7vb07HE.js +903 -0
- package/dist/assets/{TransactionList-BFD8ZfJ--B_2P6NgX.js → TransactionList-BFDau1I7-BXGXYBFK.js} +15 -15
- package/dist/assets/{TransactionListBig-Cd05cE1H-DHIWBrzi.js → TransactionListBig-CVBiekZl-DrGGpH9X.js} +13 -13
- package/dist/assets/TransactionListPage-LGgMtr7O-CsGWQiN-.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-D93V6PtT-ASEgt-oH.js → TransactionVendorDetailPage-3p4MoiV3-DA73bE6t.js} +16 -16
- package/dist/assets/{TransferDrawerPage-B_Hy3gOY-CZNjh4dq.js → TransferDrawerPage-BCr2Qlvp-BIuuD9Kn.js} +26 -26
- package/dist/assets/{TreasuryOverviewPage-CJrfTwBd-DGoUzRq5.js → TreasuryOverviewPage-CEnHQlwT-Cp9jfBpw.js} +9 -9
- package/dist/assets/{TreasuryPromoPage-BRwTbEqr-DD0NB9Np.js → TreasuryPromoPage-oQKxGxSx-CJpdFyVJ.js} +12 -12
- package/dist/assets/{TreasuryStatementsPage-CpVaxZhO-D8_pdQ6V.js → TreasuryStatementsPage-DKCFzvzb-D5fkSJdQ.js} +1 -1
- package/dist/assets/TreasuryTaxLetterPage-D3pc6Eyc-DWhE-bsu.js +58 -0
- package/dist/assets/{TrendChart-DLex57el-D9IGJHV4.js → TrendChart-JHlBVwXJ-p0u3PrEr.js} +3 -3
- package/dist/assets/{TrendWithTransactions-CwB4wDSN-Ci246WOZ.js → TrendWithTransactions-Bh619hxZ-B7JEOzSv.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-CO7p4-Kx-CKzXNOia.js → UncategorizedAccountsMappingPage-BuM9GG4e-DMx8_LFD.js} +10 -10
- package/dist/assets/{UnitIntegrationPage-BDUTrQY0-BeNpWs1d.js → UnitIntegrationPage-D4BoW10T-IfJ4B9AI.js} +10 -10
- package/dist/assets/UploadAdditionalDocumentOverlay-CMqblFXF-CGuab5Cf.js +38 -0
- package/dist/assets/Vendor2FAPopup-ANEIs-J6-BItEW5IN.js +1 -0
- package/dist/assets/VendorACHDetailsPage-BNcSYRzd-Kp1xh3I0.js +1 -0
- package/dist/assets/{VendorDetailPage-DRgwiRee-F7uBXNWL.js → VendorDetailPage-BLZ1wOuB-t2P37a0b.js} +28 -28
- package/dist/assets/VendorDomesticWireDetailsPage-KZSt69vF-CigCqUX0.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CtReDQX3-ZEq2UHS3.js → VendorFiling1099EditablePage-BtU7EZH1-Cdwalb8n.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-BGVFKcId-HzfS-8-K.js → VendorFirstReviewPage-DJap4HA2-DP0KML1b.js} +8 -8
- package/dist/assets/{VendorInternationalWireDetailsPage-DtFlzIWc-BSJvfDFE.js → VendorInternationalWireDetailsPage-BbCN0JV0-Wsg-mPRx.js} +14 -14
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CDShInCp-CKPYmRJ2.js +1 -0
- package/dist/assets/{VendorsAccountsSection-DlCCF8w7-B2R9WWyu.js → VendorsAccountsSection-lmuNbtLw-BehIg0cT.js} +3 -3
- package/dist/assets/{VerifyDevice-CDChzTa5-Dn7AcZPE.js → VerifyDevice-vhZNITmO-B_CyFx_O.js} +3 -3
- package/dist/assets/{VideoPlayer-D6snpLby-DtDMVXQN.js → VideoPlayer-DIXs3y0r-C0i3s9oa.js} +2 -2
- package/dist/assets/{VideoPopup-SylQ4T6l-CTWGJick.js → VideoPopup-CYL6r3Cb-B0pmnpWo.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-D67GprmZ-IPWpf2-0.js → WarningsDrawerPage-CJ9a931n-DAFMV5EF.js} +6 -6
- package/dist/assets/{ZeniAccountDetailPage-BfYIZPob-6XUVvcAt.js → ZeniAccountDetailPage-P86nU628-RfL02yuR.js} +14 -14
- package/dist/assets/{ZeniAccountListViewPage-B5luRVEl-CVXVmDiV.js → ZeniAccountListViewPage-GYsnktmQ-DlegmFE9.js} +23 -23
- package/dist/assets/ZeniAccountNavBarPieces-Cz7DjDo7-avwd16fX.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-CHCmIfff-DyZFPn28.js → ZeniAccountPromoPage-iCmw1i20-lqXeJDxF.js} +12 -12
- package/dist/assets/{ZeniAccountSetupPage-BzCqTug2-b7-ybj6-.js → ZeniAccountSetupPage-B42Dq1gO-oMRu-INk.js} +3 -3
- package/dist/assets/{ZeniCopyright-CiZTMpf7-BZTmiNMr.js → ZeniCopyright-Baiyxesc-CHFltgTl.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-C--qNr-a-B80xXrhL.js → ZeniTransferAmountSlider-9-2DcdrJ-q0SmjKL2.js} +11 -11
- package/dist/assets/{add-to-wallet-DgdBD8_G-D09GVq9M.js → add-to-wallet-DgdBD8_G-DdT9Rn3y.js} +1 -1
- package/dist/assets/{analytics-Df2mJ1lX.js → analytics-Dm6Rdmk5.js} +1 -1
- package/dist/assets/{analyticsHelper-DEOt00qX-DLlhyFKe.js → analyticsHelper-B32z3Cdy-Dk9sCdyO.js} +1 -1
- package/dist/assets/analyticsHelper-DPMmqDhf.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DzQV9eJa.js → arrow-south-east-round-PEovUgvH-Cy4oQH64.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-D4yr6H5z.js → auto-transfer-rule-mbafm5D3-B6gY8maM.js} +1 -1
- package/dist/assets/{chartTypes-BqKhmkSG-CgQV-TUL.js → chartTypes-DL1AC5R1-CSQ4LZOa.js} +1 -1
- package/dist/assets/commonDimensions-BNYeCJ44-DwWQhbOM.js +1 -0
- package/dist/assets/{commonTypes-TAIHQ3fk-DQoSEEvg.js → commonTypes-DwuUdRAc-CVoF2D5n.js} +1 -1
- package/dist/assets/{constants-DG7AuAVl.js → constants-MHF6sRcJ.js} +1 -1
- package/dist/assets/{core-BE_Z31V1.js → core-XAP_yXKl.js} +1 -1
- package/dist/assets/{dash.all.min-DDJXzvDP.js → dash.all.min-DatMhMWc.js} +1 -1
- package/dist/assets/{detailCommon-BEEE23XQ-BD_Mk7je.js → detailCommon-CzjlHNNr-OLPVPNMD.js} +7 -7
- package/dist/assets/downloadPdf-CPfBtFli-C5o4QyFD.js +1 -0
- package/dist/assets/{empty-M69JX_rT.js → empty-Cs2gdmIo.js} +1 -1
- package/dist/assets/{empty-CRPcZP1j.js → empty-vcyFM9nz.js} +1 -1
- package/dist/assets/epic-B8nKq-i6.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-Deoc5oar.js → gift-box-Cmt9OgIZ-RzjSa1iy.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DdDmkNr4.js → graphic-no-data-l-DU4J8fDt-CQ6Ol9_s.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-fmWTttVF.js → graphic-no-data-net-burn-l-CzmycA0m-CI6u9HfU.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-B0P5ObqQ.js → handshake-BPg58FML-FDeEnKd2.js} +1 -1
- package/dist/assets/{helper-Cl1NuKS2-GEpi-XmM.js → helper-T710NLca-BU35xGXS.js} +2 -2
- package/dist/assets/{index-DQj8IFZB.js → index-C9hDAJ7o.js} +4039 -4061
- package/dist/assets/{index-Qi-3x-ZJ.js → index-CrlTOcjY.js} +1 -1
- package/dist/assets/{index-B1UWDNYH.js → index-D9vmx-FC.js} +1 -1
- package/dist/assets/{index-CtuKpkPR.js → index-DIT7C2zP.js} +1 -1
- package/dist/assets/{index-CuuLV5Ja.js → index-DSJ6HKL8.js} +1 -1
- package/dist/assets/{index-5swzSU-P.js → index-LuFlN8FP.js} +1 -1
- package/dist/assets/{index-DV0An2Zv.js → index-t-uTuAYw.js} +1 -1
- package/dist/assets/{lexical-aqmLQuMS.js → lexical-CgNStNGD.js} +1 -1
- package/dist/assets/{liveblocks-C1mHPmJS.js → liveblocks-NP7ye8lf.js} +1 -1
- package/dist/assets/{lottie-DyTfNQDx.js → lottie-DhXcx4Hv.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-CBq8hzRN-fxI2JqXr.js → mapLoadingInProgressToTreeNode-DWJx3AOd-DyMnZ_nG.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DtYXgw-F-oAphex73.js → mapSectionWithAcOnlyToTreeNode-Co9d6d-V-n_IPqL-W.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-CKbbOrFj-B8jOHJ4H.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BpaMuUED-DrbIaTMF.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-jq979PpH-D251JRiH.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-6A-QxQzl-WsH6ynl8.js +1 -0
- package/dist/assets/{mui-BU7efdfo.js → mui-BQR0Ruo4.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CtnTIFRc.js → page-detail-CWX5S47F-BBbQvoIw.js} +1 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-V1yMMv-q.js +3 -0
- package/dist/assets/{radio-default-CiSgisfh-4z6Camq9.js → radio-default-CiSgisfh-OYLDx768.js} +1 -1
- package/dist/assets/{react-3qpqyaOU.js → react-72w_Kluy.js} +1 -1
- package/dist/assets/{react-CWsZgXSV.js → react-BL2s-aF_.js} +1 -1
- package/dist/assets/{react-BemuwBnj.js → react-CUdUBRF6.js} +1 -1
- package/dist/assets/{react-Bom9bczX.js → react-CX9OzKa9.js} +1 -1
- package/dist/assets/{react-B4itwZHV.js → react-Cp-6oWln.js} +1 -1
- package/dist/assets/{react-CN_MK9F3.js → react-CvT9aEmE.js} +1 -1
- package/dist/assets/{react-ctGSvN4G.js → react-DcMbwERn.js} +2 -2
- package/dist/assets/{react-BFU7EV8v.js → react-Du36QLI3.js} +1 -1
- package/dist/assets/{recharts-wrfDO0AQ.js → recharts-DkFolWRg.js} +1 -1
- package/dist/assets/{sentry-CmSZxGiC.js → sentry-Ckvw8Zf1.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DkXtzp4a.js → shield-DOlUxcFf-rM_NpNHL.js} +1 -1
- package/dist/assets/toCOABalancesWithID-CxmuqRLi-BeWRvmKl.js +1 -0
- package/dist/assets/toChartData-8r0AvOIP-Dhy8B0ZL.js +1 -0
- package/dist/assets/{uploadAttachment-CLjjVoJ0-G44pYEnV.js → uploadAttachment-CTXeI85v-BVATkq8k.js} +25 -25
- package/dist/assets/uploadReceipts-Dge0cNF1-nRZK_a0M.js +1 -0
- package/dist/assets/{url-Dh6RHozD.js → url-D8pFj_Ts.js} +1 -1
- package/dist/assets/{url-Y0e70W7v.js → url-DCwOBFCk.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-CTF1V7Dp.js → useLongPress-GCK2COYQ-BkrNXw3e.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-CAUsjG1o.js → usp-line-BBd1wKwW-54Q8nh58.js} +1 -1
- package/dist/assets/{utils-4HiCQfG5.js → utils-B4eJ0QQL.js} +1 -1
- package/dist/assets/{zeni-epic-state-4hreDbys.js → zeni-epic-state-BnsQ52n7.js} +4 -4
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-VLhd4vnL-I5Lr2n0M.js +0 -18
- package/dist/assets/AccountLockedInfoModal-DNjLeZYt-LNUXwZM-.js +0 -59
- package/dist/assets/AccountRow-CK5HLVrf-DXJZ_sEO.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-DmajBqRK-nxIYPo1E.js +0 -6
- package/dist/assets/ApAgingDetailPage-pfP6vTc2-BpIJBEds.js +0 -46
- package/dist/assets/ApprovalRulesSettingsPage-BurRfT7n-DRTxj05J.js +0 -47
- package/dist/assets/BillPayApprovalRuleDetailPage-DS31MPI0-4xXvJcm0.js +0 -27
- package/dist/assets/BillingSettingsPage-B91NuvxJ-D_FEm3L1.js +0 -44
- package/dist/assets/ChargeCardPromoPage-CN9d98ht-CvggjDIQ.js +0 -222
- package/dist/assets/ChargeCardSetupPage-Cie4HjPR-DCzfspb8.js +0 -36
- package/dist/assets/ConfettiBurst-BWYsiO3O-4BlId3h5.js +0 -1
- package/dist/assets/CurrencySelectField-DAmYUy85-DMDmUadH.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-CNJZIVlJ-BJUaNX44.js +0 -1
- package/dist/assets/DashboardSidebarBackgroundAnimation-NYtLjb5A-C_ZMV7U-.js +0 -12
- package/dist/assets/EditPeoplePage-Dq02jvsi-1vFBiR26.js +0 -55
- package/dist/assets/EntityDetailPage-s91tl4Wk-D9-Khkld.js +0 -18
- package/dist/assets/ExpenseAutomationPage-CFxbvTbd-BAfLqXb6.js +0 -1700
- package/dist/assets/InsightsSection-CK6L0ggh-CEIo4wru.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-C3EEqPT--C-SNZ09B.js +0 -65
- package/dist/assets/InvitePeoplePage-DGTYEet3-ww7dc8Ap.js +0 -12
- package/dist/assets/InvoiceUploadSection-C4K602QO-DQ0TMvgE.js +0 -140
- package/dist/assets/LabeledAddressValueField-DSU3b6xx-Do3zHmCW.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CKE6Nln6-D3D8TfOs.js +0 -16
- package/dist/assets/MagicLinkACHDetailsPage-BitHcc3I-DPdZjBrF.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BFfxbnHp-DgnH4Uml.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BncWaxsb-D5zfuNtc.js +0 -1
- package/dist/assets/MailingDetailsSection-CKtLfBik-B4Pa39ev.js +0 -21
- package/dist/assets/MyProfileSettingsPage-D7btjvQI-D2DR3yb7.js +0 -85
- package/dist/assets/NavBarWithPicker-B_vr1zc6-CdH-de-A.js +0 -30
- package/dist/assets/NoDataChart-CGab-TiT-BBfAYwSH.js +0 -26
- package/dist/assets/NotificationsListConfig-8zpkH26L-DDuzcyo-.js +0 -1
- package/dist/assets/PeoplePage-3Fux2UtP-DZR4BINj.js +0 -675
- package/dist/assets/QBOSetupSection-DwqXfi9i-Dmc0UPaw.js +0 -79
- package/dist/assets/RoleWithToolTip-BBbrv_x_-B3Cv90ZD.js +0 -22
- package/dist/assets/ScheduleSequenceTable-B973PTTc-DWRrpKit.js +0 -324
- package/dist/assets/SignIn-CUOfBh48-wGxg0FBZ.js +0 -491
- package/dist/assets/SignInScreen-Cwd6Qtqw.js +0 -1
- package/dist/assets/StatementItem-BDCdJuBz-C-uwkj2X.js +0 -31
- package/dist/assets/SummaryCard-BrsOKcrF-DrLZV6Qo.js +0 -1
- package/dist/assets/TaskManagementPage-C5vXcK0R-CZ850Y5X.js +0 -508
- package/dist/assets/TimeframeSwitcherWithToggle-D265f15Y-_axA0W9R.js +0 -31
- package/dist/assets/TransactionDetailPage-63dqDjgt-D8KEE6zE.js +0 -903
- package/dist/assets/TransactionListPage-klQ0oBzv-e1BZ0UAD.js +0 -35
- package/dist/assets/TreasuryTaxLetterPage-CUHNWUy--DhNnA2rA.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-DID6dcux-D1ONPT0t.js +0 -38
- package/dist/assets/Vendor2FAPopup-DySyuG4R-BF3S6gEn.js +0 -1
- package/dist/assets/VendorACHDetailsPage-CS0fu-kk-Cuvu_0OU.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-B3mJqOdK-BNC9Fid9.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CfWP7ILx-BiRtjzPd.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-BQXOnqhc-6j8hLlJi.js +0 -14
- package/dist/assets/analyticsHelper-Dri1zWcx.js +0 -1
- package/dist/assets/commonDimensions-DbvjFx29-D9IHQgGS.js +0 -1
- package/dist/assets/downloadPdf-CDTl_Ev--DcUV3a6w.js +0 -1
- package/dist/assets/epic-DitwVTZc.js +0 -2
- package/dist/assets/mapSpacerToTreeNode-ycecmJKa-DGUz2Bon.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-ByLaAQOt-DvcBmYb-.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-C8E1dOPs-CX71VW8Z.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-v8qXI-n8-DBxf8ZEY.js +0 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-DuSq5GIk.js +0 -4
- package/dist/assets/toCOABalancesWithID-DKhXdLyk-DNK_OJ2b.js +0 -1
- package/dist/assets/toChartData-B3G_wqcy-WplUF94r.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-OrsZovci.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{y as Z,J as v,a9 as Kt,cH as Qt,V as t,bD as Xt,ad as Zt,aS as ei,o as i,aa as ye,F as P,h7 as ti,x as R,i9 as ii,w as Ne,k as oi,az as tt,cn as it,b4 as ot,dq as st,cv as at,k6 as rt,u as w,i as si,k7 as ai,dn as he,a_ as ri,H as ni,a as nt,p as S,aj as li,bQ as _,cL as ue,gb as pe,k8 as fe,ax as lt,a8 as dt,dw as U,fw as ct,gl as di,am as ee,ip as ci,an as H,fK as hi,aW as $e,bb as me,k9 as ui,bN as ht,ka as Re,bw as pi}from"./index-C9hDAJ7o.js";import{a as g}from"./sentry-Ckvw8Zf1.js";import{n as r,c as O}from"./mui-BQR0Ruo4.js";import{Gn as fi,Go as mi,bL as X,bh as $,Ed as ut}from"./zeni-epic-state-BnsQ52n7.js";import{k as gi}from"./SubTabSwitcher-Be1lLunR-CsxeYIuC.js";import{d as pt}from"./useLongPress-GCK2COYQ-BkrNXw3e.js";import{A as ft,t as mt,a as gt,E as xt,L as bt,I as wt}from"./NotificationsListConfig-D0knaijJ-NyDzwfbC.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="8969308a-3a20-4880-87d0-b6a8ee9229b9",e._sentryDebugIdIdentifier="sentry-dbid-8969308a-3a20-4880-87d0-b6a8ee9229b9")}catch{}})();function xi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:h}){const u=v(),p=Z(),m=g.useCallback(x=>{d(x.id)},[d]),f=g.useCallback(x=>{h(x.id)},[h]);return e.length===0?null:t.jsxs(bi,{windowSize:u,children:[t.jsx(ii,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(gi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:f})]})}const bi=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
5
|
-
`,{common:{timeStrings:yt,strings:wi},dateFormat:Ie,timeFormat:yi}=P.getLocalizedStrings(),$t=["today","yesterday","last_7_days_this_month","earlier_this_month","earlier_that_month"],le=e=>e.type.concat(wi.underscore).concat(e.start.format(Ie.visual.DdashMMdashYYYYFormat)),ge=e=>{switch(e.type){case"today":case"yesterday":case"earlier_this_month":case"last_7_days_this_month":return yt[e.type];case"earlier_that_month":return e.start.format(Ie.visual.MMMYYYYFormat)}},jt=e=>{const o=X(e.toUTCString()),s=$(),a=s.diff(o,"minutes"),n=s.diff(o,"seconds"),l=60,c=24*60;return n<=l?yt.justNow:a<c&&ui(o,0)?o.format(yi.hhmmAFormat):o.format(Ie.visual.MMMDFormat)},_e=e=>{switch(e.code){case"todo":return S.important;case"in_progress":return S.info;case"on_hold":return S.alert;case"done":return S.championLight;case"resolved":return S.successDark;default:return S.neutralGrey2Light}},{commentsAndNotifications:{notifications:{actionStrings:{comments:$i}}}}=P.getLocalizedStrings(),kt=e=>{e.sort((n,l)=>X(n.inboxNotification.notifiedAt.toUTCString()).isAfter(X(l.inboxNotification.notifiedAt.toUTCString()))===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of $t){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),u=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),h=$().subtract(2,"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),h=$().subtract(9,"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=$().subtract(u,"month").startOf("M").startOf("d"),m=$().subtract(u,"month").endOf("M").endOf("d");u++,a=oe(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},oe=(e,o,s)=>{const a=[],n=e.map(l=>rt(o,s,X(l.inboxNotification.notifiedAt.toUTCString()))?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>X(l.inboxNotification.notifiedAt.toUTCString()).isAfter(X(c.inboxNotification.notifiedAt.toUTCString()))===!0?-1:1),{singleGroup:a,remainingData:n}},ji=e=>{const{thread:o}=e,{newRepliesAdded:s,newCommentAdded:a}=$i;return o.comments.length===1?a:s},St=new R(3,2,1,1,1),vt=new R(w[8],w[6],35,35,w[6]),de={lineClamp:St,sectionWidth:vt},{common:{texts:ze,timeStrings:ki,strings:te},commentsAndNotifications:{notifications:{strings:{newMessage:Si},actionStrings:{comments:{newCommentAdded:vi}}}}}=P.getLocalizedStrings(),Ci=({notificationData:e,users:o,isHighlighted:s=!1,style:a,onNotificationTileClick:n})=>{const l=lt(),c=dt().analytics,{inboxNotification:{id:d,readAt:h,notifiedAt:u},thread:p}=e,{setRequestToOpenThread:m}=g.useContext(di),f=h!=null?"read":"unread",{metadata:{url:x,companyId:k,entityType:B},id:z}=p;return t.jsxs(zi,{readStatus:f,isClickable:!!x,isHighlighted:s,style:a,onClick:()=>{x&&(n(d,ut(x),f),(p.metadata.tab==="bill"||p.metadata.tab==="reimbursement")&&m({threadId:z,companyId:k,entityType:B})),p.metadata.application!=="cockpit"&&c.trackCommentActivity("notification","clicked",p.metadata.companyName,l.controllersList.controllers.map(N=>
|
|
5
|
+
`,{common:{timeStrings:yt,strings:wi},dateFormat:Ie,timeFormat:yi}=P.getLocalizedStrings(),$t=["today","yesterday","last_7_days_this_month","earlier_this_month","earlier_that_month"],le=e=>e.type.concat(wi.underscore).concat(e.start.format(Ie.visual.DdashMMdashYYYYFormat)),ge=e=>{switch(e.type){case"today":case"yesterday":case"earlier_this_month":case"last_7_days_this_month":return yt[e.type];case"earlier_that_month":return e.start.format(Ie.visual.MMMYYYYFormat)}},jt=e=>{const o=X(e.toUTCString()),s=$(),a=s.diff(o,"minutes"),n=s.diff(o,"seconds"),l=60,c=24*60;return n<=l?yt.justNow:a<c&&ui(o,0)?o.format(yi.hhmmAFormat):o.format(Ie.visual.MMMDFormat)},_e=e=>{switch(e.code){case"todo":return S.important;case"in_progress":return S.info;case"on_hold":return S.alert;case"done":return S.championLight;case"resolved":return S.successDark;default:return S.neutralGrey2Light}},{commentsAndNotifications:{notifications:{actionStrings:{comments:$i}}}}=P.getLocalizedStrings(),kt=e=>{e.sort((n,l)=>X(n.inboxNotification.notifiedAt.toUTCString()).isAfter(X(l.inboxNotification.notifiedAt.toUTCString()))===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of $t){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),u=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),h=$().subtract(2,"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),h=$().subtract(9,"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=$().subtract(u,"month").startOf("M").startOf("d"),m=$().subtract(u,"month").endOf("M").endOf("d");u++,a=oe(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},oe=(e,o,s)=>{const a=[],n=e.map(l=>rt(o,s,X(l.inboxNotification.notifiedAt.toUTCString()))?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>X(l.inboxNotification.notifiedAt.toUTCString()).isAfter(X(c.inboxNotification.notifiedAt.toUTCString()))===!0?-1:1),{singleGroup:a,remainingData:n}},ji=e=>{const{thread:o}=e,{newRepliesAdded:s,newCommentAdded:a}=$i;return o.comments.length===1?a:s},St=new R(3,2,1,1,1),vt=new R(w[8],w[6],35,35,w[6]),de={lineClamp:St,sectionWidth:vt},{common:{texts:ze,timeStrings:ki,strings:te},commentsAndNotifications:{notifications:{strings:{newMessage:Si},actionStrings:{comments:{newCommentAdded:vi}}}}}=P.getLocalizedStrings(),Ci=({notificationData:e,users:o,isHighlighted:s=!1,style:a,onNotificationTileClick:n})=>{const l=lt(),c=dt().analytics,{inboxNotification:{id:d,readAt:h,notifiedAt:u},thread:p}=e,{setRequestToOpenThread:m}=g.useContext(di),f=h!=null?"read":"unread",{metadata:{url:x,companyId:k,entityType:B},id:z}=p;return t.jsxs(zi,{readStatus:f,isClickable:!!x,isHighlighted:s,style:a,onClick:()=>{x&&(n(d,ut(x),f),(p.metadata.tab==="bill"||p.metadata.tab==="reimbursement")&&m({threadId:z,companyId:k,entityType:B})),p.metadata.application!=="cockpit"&&c.trackCommentActivity("notification","clicked",p.metadata.companyName,l.controllersList.controllers.map(N=>U(N)),p.resolved?"resolved":"open",{name:ct(l.loggedInUser),email:l.loggedInUser?.userEmail??""},"db notification")},children:[t.jsx(Ti,{notificationData:e,users:o}),t.jsx(Ii,{...e}),t.jsx(Li,{timestamp:u,readStatus:f})]})},Ct=({notificationData:e,users:o})=>{const{thread:s}=e,{comments:a}=s,n=a[0];return a.length===0||n.body==null?t.jsx(je,{children:Si}):t.jsx(je,{children:n.body.content.map(l=>{switch(l.type){case"paragraph":return l.children.map((c,d)=>{if(Ri(c)){const u=o.find(p=>p.userId===c.id);return c.id?t.jsx(Ni,{notificationData:e,user:u},`${c.id}${te.underscore}${d}`):null}if(_i(c)){const u=ci(c.url)??c.url;return t.jsx(Gi,{href:u,target:"_blank",rel:"noopener noreferrer nofollow",children:c.text??c.url},d)}let h=c.text;return c.bold===!0&&(h=t.jsx(Ai,{children:h},d)),c.italic===!0&&(h=t.jsx(Pi,{children:h},d)),c.strikethrough===!0&&(h=t.jsx(Bi,{children:h},d)),c.code===!0&&(h=t.jsx(Oi,{children:h},d)),t.jsx(Fi,{children:h},d)});default:return t.jsx(je,{children:vi})}})})},Ti=({notificationData:e,users:o})=>{const s=v();return t.jsx(Ei,{windowSize:s,children:t.jsx(Ct,{notificationData:e,users:o})})},Ni=({notificationData:e,user:o})=>{const{inboxNotification:{readAt:s}}=e,a=s!=null?"read":"unread";let n=t.jsxs(De,{className:"userText",readStatus:a,children:[te.atTheRate,ze.zeniAI,te.space]});if(o!=null){const l=U(o,!1);n=t.jsx(t.Fragment,{children:t.jsxs(De,{className:"userText",readStatus:a,children:[te.atTheRate,l||ze.zeniAI,te.space]})})}return n},Tt=e=>{const o=ji(e);return t.jsx(t.Fragment,{children:o})},Ii=e=>{const o=v();return t.jsx(Mi,{windowSize:o,children:t.jsx(Tt,{...e})})},Nt=e=>{const{timestamp:o,readStatus:s}=e,a=jt(o);return t.jsxs(t.Fragment,{children:[t.jsx(Ui,{isNewNotification:a===ki.justNow,children:a}),t.jsx(Hi,{readStatus:s})]})},Li=e=>{const o=v();return t.jsx(Di,{windowSize:o,children:t.jsx(Nt,{...e})})};function Ri(e){return"type"in e&&e.type==="mention"}function _i(e){return"type"in e&&e.type==="link"}const zi=r.div`
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: row;
|
|
8
8
|
align-items: center;
|
|
@@ -68,7 +68,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
|
|
|
68
68
|
-webkit-line-clamp: ${e=>de.lineClamp.value(e.windowSize)};
|
|
69
69
|
-webkit-box-orient: vertical;
|
|
70
70
|
width: ${e=>de.sectionWidth.valuePercentage(e.windowSize)};
|
|
71
|
-
`,Ai=r.strong``,Oi=r.code``,Pi=r.em``,Bi=r.s``,
|
|
71
|
+
`,Ai=r.strong``,Oi=r.code``,Pi=r.em``,Bi=r.s``,Fi=r.span``,Gi=r.a``,Ei=r(ee)`
|
|
72
72
|
color: inherit;
|
|
73
73
|
display: -webkit-box;
|
|
74
74
|
overflow: hidden;
|
|
@@ -79,7 +79,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
|
|
|
79
79
|
color: ${e=>e.readStatus==="read"?e.theme.colors.grey1:S.brandColorJade};
|
|
80
80
|
`,je=r(me)`
|
|
81
81
|
color: inherit;
|
|
82
|
-
`,
|
|
82
|
+
`,Ui=r(ht)`
|
|
83
83
|
flex-shrink: 0;
|
|
84
84
|
color: ${e=>e.isNewNotification?e.theme.colors.primary:"inherit"};
|
|
85
85
|
`,Hi=r.div`
|
|
@@ -120,7 +120,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
|
|
|
120
120
|
flex: 1 1 auto;
|
|
121
121
|
justify-content: ${e=>e.isLastItem?"flex-end":"start"};
|
|
122
122
|
width: ${e=>e.isLastItem?"10%":vt.valuePercentage(e.windowSize)};
|
|
123
|
-
`,Yi=()=>{const e=v();return t.jsxs(Ji,{windowSize:e,children:[t.jsxs(
|
|
123
|
+
`,Yi=()=>{const e=v();return t.jsxs(Ji,{windowSize:e,children:[t.jsxs(qi,{children:[t.jsx(_,{width:180,height:w[4]}),t.jsx(_,{width:180,height:w[4]})]}),t.jsx(Ki,{children:t.jsx(_,{width:60,height:18})})]})},Ji=r.div`
|
|
124
124
|
display: flex;
|
|
125
125
|
align-items: baseline;
|
|
126
126
|
justify-content: space-between;
|
|
@@ -146,19 +146,19 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
|
|
|
146
146
|
border-bottom-left-radius: ${i.sp2};
|
|
147
147
|
border-bottom-right-radius: ${i.sp2};
|
|
148
148
|
}
|
|
149
|
-
`,
|
|
149
|
+
`,qi=r.div`
|
|
150
150
|
display: flex;
|
|
151
151
|
align-items: start;
|
|
152
152
|
flex-direction: column;
|
|
153
153
|
gap: ${i.sp2};
|
|
154
154
|
flex: 1 1 auto;
|
|
155
155
|
justify-content: start;
|
|
156
|
-
`,
|
|
156
|
+
`,Ki=r.div`
|
|
157
157
|
display: flex;
|
|
158
158
|
align-items: baseline;
|
|
159
159
|
flex-direction: row;
|
|
160
160
|
justify-content: end;
|
|
161
|
-
`,
|
|
161
|
+
`,Qi=()=>v()==="small"?t.jsx(Yi,{}):t.jsx(Vi,{}),Xi={marginLeft:new R(w[2],w[5],w[7])},Zi=()=>t.jsxs(eo,{children:[t.jsx(ve,{numberOfRows:5}),t.jsx(ve,{numberOfRows:3})]}),ve=({numberOfRows:e})=>{const o=v();return t.jsxs(to,{windowSize:o,children:[t.jsx(oo,{children:t.jsx(_,{width:w[12],height:Ne.standardRegular.lineHeightValue})}),t.jsx(io,{children:[...Array(e)].map(s=>t.jsx(Qi,{},he()))})]})},eo=r.div`
|
|
162
162
|
display: block;
|
|
163
163
|
min-height: 100%;
|
|
164
164
|
flex-direction: column;
|
|
@@ -175,7 +175,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
|
|
|
175
175
|
`,oo=r.div`
|
|
176
176
|
display: flex;
|
|
177
177
|
padding: ${i.sp3} ${i.sp0};
|
|
178
|
-
`,so=({notificationData:e,users:o,isSelectionMode:s=!1,isHighlighted:a=!1,style:n,onNotificationTileClick:l,onNotificationTileLongPress:c})=>{const d=lt(),h=dt().analytics,{inboxNotification:{id:u,readAt:p,notifiedAt:m},thread:f}=e,x=p!=null?"read":"unread",k=f.metadata.url,B=g.useCallback(()=>{c?.()},[c]),z=g.useCallback(b=>{b.stopPropagation(),b.cancelable&&b.preventDefault(),s?c?.():k!=null&&(l(u,ut(f.metadata.url),x),f.metadata.application!=="cockpit"&&h.trackCommentActivity("notification","clicked",f.metadata.companyName,d.controllersList.controllers.map(I=>
|
|
178
|
+
`,so=({notificationData:e,users:o,isSelectionMode:s=!1,isHighlighted:a=!1,style:n,onNotificationTileClick:l,onNotificationTileLongPress:c})=>{const d=lt(),h=dt().analytics,{inboxNotification:{id:u,readAt:p,notifiedAt:m},thread:f}=e,x=p!=null?"read":"unread",k=f.metadata.url,B=g.useCallback(()=>{c?.()},[c]),z=g.useCallback(b=>{b.stopPropagation(),b.cancelable&&b.preventDefault(),s?c?.():k!=null&&(l(u,ut(f.metadata.url),x),f.metadata.application!=="cockpit"&&h.trackCommentActivity("notification","clicked",f.metadata.companyName,d.controllersList.controllers.map(I=>U(I)),f.resolved?"resolved":"open",{name:ct(d.loggedInUser),email:d.loggedInUser?.userEmail??""},"db notification"))},[s,k,c,l,u,f.metadata.url,f.metadata.application,x,d.controllersList,d.loggedInUser,h,f.metadata.companyName,f.resolved]),N=pt({onLongPress:B},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(lo,{readStatus:x,isClickable:k!=null,isHighlighted:a,style:n,...N,onClick:z,children:[t.jsxs(ho,{children:[t.jsx(ao,{notificationData:e,users:o}),t.jsx(ro,{...e})]}),t.jsx(no,{timestamp:m,readStatus:x})]})},ao=({notificationData:e,users:o})=>t.jsx(It,{children:t.jsx(Ct,{notificationData:e,users:o})}),ro=e=>t.jsx(It,{children:t.jsx(Tt,{...e})}),no=e=>t.jsx(co,{children:t.jsx(Nt,{...e})}),lo=r.div`
|
|
179
179
|
display: flex;
|
|
180
180
|
flex-direction: row;
|
|
181
181
|
align-items: baseline;
|
|
@@ -262,7 +262,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
|
|
|
262
262
|
align-items: flex-start;
|
|
263
263
|
width: 100%;
|
|
264
264
|
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
265
|
-
`,xo=r(Lt)``,bo=e=>v()==="small"?t.jsx(mo,{...e}):t.jsx(uo,{...e}),{commentsAndNotifications:{notifications:{message:wo}}}=P.getLocalizedStrings(),Pe={rowGap:new R(w[0],w[5],w[5])},yo=({notificationGroups:e,users:o,isFetching:s,hasMore:a,sectionId:n,checkBoxMode:l,scrollYOffset:c,currentSubTab:d,isDisabled:h,onUpdateScrollYOffset:u,onFetchNotificationGroups:p,onNotificationClick:m})=>{const f=v(),x=g.useRef(null),k=g.useRef({});g.useEffect(()=>{x.current?.resetAfterIndex(0,!0)},[f,x,e]),g.useEffect(()=>{x.current?.scrollTo(c)},[d]);const B=g.useCallback(C=>{if(k.current?.[C]!=null){const
|
|
265
|
+
`,xo=r(Lt)``,bo=e=>v()==="small"?t.jsx(mo,{...e}):t.jsx(uo,{...e}),{commentsAndNotifications:{notifications:{message:wo}}}=P.getLocalizedStrings(),Pe={rowGap:new R(w[0],w[5],w[5])},yo=({notificationGroups:e,users:o,isFetching:s,hasMore:a,sectionId:n,checkBoxMode:l,scrollYOffset:c,currentSubTab:d,isDisabled:h,onUpdateScrollYOffset:u,onFetchNotificationGroups:p,onNotificationClick:m})=>{const f=v(),x=g.useRef(null),k=g.useRef({});g.useEffect(()=>{x.current?.resetAfterIndex(0,!0)},[f,x,e]),g.useEffect(()=>{x.current?.scrollTo(c)},[d]);const B=g.useCallback(C=>{if(k.current?.[C]!=null){const G=f==="small"&&a===!1&&C===e.length-1?Pe.rowGap.value("medium-regular"):Pe.rowGap.value(f);return k.current[C]+G}return(ft*St.value(f)+mt)*3+gt+xt},[f,k,e]),z=g.useCallback((C,G)=>{k.current={...k.current,[C]:G},x.current?.resetAfterIndex(0,!0)},[f,x,e]),N=g.useCallback(()=>{p()},[p]),b=g.useCallback(()=>{},[]),I=tt(C=>u(C),1e3,{trailing:!0}),j=C=>!a||C<e.length,V=g.useCallback(()=>a&&!s?N():b(),[a,s,N,b]),L=a?e.length+1:e.length;return t.jsx(jo,{children:t.jsx(ko,{windowSize:f,children:s&&e.length===0?t.jsx(Zi,{}):s===!1&&e.length===0?t.jsx(it,{message:wo.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(So,{windowSize:f,children:t.jsx(ot,{children:({height:C,width:G})=>t.jsx(st,{isItemLoaded:j,itemCount:bt,loadMoreItems:V,children:({onItemsRendered:W,ref:E})=>t.jsx(at,{ref:Y=>{E(Y),x.current=Y},height:C,itemCount:L,itemData:{notificationGroups:e,users:o,sectionId:n,checkBoxMode:l,isDisabled:h,isItemLoaded:j,setRowHeight:z,onNotificationClick:m},onItemsRendered:W,itemSize:B,width:G,style:{willChange:"auto"},overscanCount:wt,onScroll:({scrollOffset:Y})=>{I(Y)},initialScrollOffset:c,children:$o})})})})})})},$o=({index:e,style:o,data:s})=>{const{notificationGroups:a,users:n,sectionId:l,checkBoxMode:c,isItemLoaded:d,isDisabled:h,setRowHeight:u,onNotificationClick:p}=s,m=g.useRef(null),f=v();if(g.useEffect(()=>{m.current?.firstElementChild!=null&&u(e,m.current.firstElementChild.clientHeight)},[e,m,f,a[e]?.notifications]),d(e)===!0){const x=a[e],k=le(x);return t.jsx(Be,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:m,children:t.jsx(bo,{notificationGroup:x,sectionId:`${l}.${k}`,checkBoxMode:c,isDisabled:h,users:n,onNotificationTileClick:p})},k)}return t.jsx(Be,{ref:m,style:{...o,paddingBottom:i.sp0},children:t.jsx(ve,{numberOfRows:3})},he())},jo=r.div`
|
|
266
266
|
display: block;
|
|
267
267
|
background-color: ${e=>e.theme.colors.grey4};
|
|
268
268
|
height: 100%;
|
|
@@ -279,7 +279,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
|
|
|
279
279
|
top: ${i.sp0};
|
|
280
280
|
left: ${i.sp0};
|
|
281
281
|
box-sizing: border-box;
|
|
282
|
-
`,{common:{in:vo,strings:Rt},dateFormat:Co,commentsAndNotifications:{notifications:{actionStrings:{notifications:A}}}}=P.getLocalizedStrings(),_t=e=>{e.sort((n,l)=>n.createTime.isAfter(l.createTime)===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of $t){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),u=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),h=$().subtract(2,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),h=$().subtract(9,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=$().subtract(u,"month").startOf("M").startOf("d"),m=$().subtract(u,"month").endOf("M").endOf("d");u++,a=se(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},se=(e,o,s)=>{const a=[],n=e.map(l=>rt(o,s,l.createTime)?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>l.createTime.isAfter(c.createTime)===!0?-1:1),{singleGroup:a,remainingData:n}},To=e=>{let o=A.newActivity;return e.code==="in_progress"?o=A.due.replace("__task_status__",Re(e.name.toLocaleLowerCase())):o=A.due.replace("__task_status__",vo.toLocaleLowerCase().concat(Rt.space,Re(e.name.toLocaleLowerCase()))),o},No=e=>{const{eventData:{activities:o}}=e;let s=A.newActivity;if(o.length>0){const a=o[0].activityType,n=o[0].metadata.eventStatus;switch(a){case"task_archived":s=A.archive;break;case"task_deleted":s=A.delete;break;case"task_activities":s=A.activities;break;case"task_assigned":s=A.assign;break;case"task_created":s=A.create;break;case"task_due":s=n!=null?To(n):A.dueTomorrow;break;case"task_overdue":s=A.overdue.replace("__date__",o[0].metadata.additionalInfo?.dueDate.format(Co.visual.MMMDFormat)??Rt.empty);break;case"task_status_updated":s=A.statusUpdate;break}}return s},zt=new R(3,2,1,1,1),Dt=new R(w[8],33,33,33,35),ce={lineClamp:zt,sectionWidth:Dt},{common:{and:
|
|
282
|
+
`,{common:{in:vo,strings:Rt},dateFormat:Co,commentsAndNotifications:{notifications:{actionStrings:{notifications:A}}}}=P.getLocalizedStrings(),_t=e=>{e.sort((n,l)=>n.createTime.isAfter(l.createTime)===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of $t){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),u=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),h=$().subtract(2,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),h=$().subtract(9,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=$().subtract(u,"month").startOf("M").startOf("d"),m=$().subtract(u,"month").endOf("M").endOf("d");u++,a=se(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},se=(e,o,s)=>{const a=[],n=e.map(l=>rt(o,s,l.createTime)?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>l.createTime.isAfter(c.createTime)===!0?-1:1),{singleGroup:a,remainingData:n}},To=e=>{let o=A.newActivity;return e.code==="in_progress"?o=A.due.replace("__task_status__",Re(e.name.toLocaleLowerCase())):o=A.due.replace("__task_status__",vo.toLocaleLowerCase().concat(Rt.space,Re(e.name.toLocaleLowerCase()))),o},No=e=>{const{eventData:{activities:o}}=e;let s=A.newActivity;if(o.length>0){const a=o[0].activityType,n=o[0].metadata.eventStatus;switch(a){case"task_archived":s=A.archive;break;case"task_deleted":s=A.delete;break;case"task_activities":s=A.activities;break;case"task_assigned":s=A.assign;break;case"task_created":s=A.create;break;case"task_due":s=n!=null?To(n):A.dueTomorrow;break;case"task_overdue":s=A.overdue.replace("__date__",o[0].metadata.additionalInfo?.dueDate.format(Co.visual.MMMDFormat)??Rt.empty);break;case"task_status_updated":s=A.statusUpdate;break}}return s},zt=new R(3,2,1,1,1),Dt=new R(w[8],33,33,33,35),ce={lineClamp:zt,sectionWidth:Dt},{common:{and:Fe,other:Io,others:Lo,texts:Ro,timeStrings:_o,strings:M,tags:zo}}=P.getLocalizedStrings(),Do=({notificationData:e,isHighlighted:o=!1,style:s,onNotificationTileClick:a})=>{const{status:n,notificationId:l,eventData:{entitiyId:c,activities:d},createTime:h}=e;return t.jsxs(Go,{notificationStatus:n,isHighlighted:o,style:s,onClick:()=>{a(l,c,n,d.length>0?d[0].activityType:void 0)},children:[t.jsx(Mo,{...e}),t.jsx(Po,{...e}),t.jsx(Fo,{...e}),t.jsx(Bo,{createTime:h,notificationStatus:n})]})},Mt=e=>{const{status:o,eventData:{title:s}}=e;return t.jsx(Wo,{notificationStatus:o,children:s||M.hyphen})},Mo=e=>{const o=v();return t.jsx(Vo,{windowSize:o,children:t.jsx(Mt,{...e})})},Ao=e=>{const{eventData:{activities:o}}=e;if(o.length>0&&o[0].activityType==="task_status_updated"){const s=o[0].metadata.updates.find(a=>a.type==="code_name_pair"&&a.field==="status");if(s?.oldValue.codeNamePair!=null&&s.newValue.codeNamePair!=null)return t.jsxs(Jo,{children:[t.jsx(Ge,{backgroundColor:_e(s.oldValue.codeNamePair),children:s.oldValue.codeNamePair.name}),t.jsx(qo,{}),t.jsx(Ge,{backgroundColor:_e(s.newValue.codeNamePair),children:s.newValue.codeNamePair.name})]})}return null},Oo=e=>{const{status:o,eventData:{authors:s,activities:a}}=e,n=s.length;if(a[0].activityType==="task_due"||a[0].activityType==="task_overdue"||a[0].activityType==="task_status_updated")return null;let l=t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,Ro.zeniAI,M.space]});return n>0&&(n>2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]}),Fe,t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.space,n-1,M.space,Lo,M.space]})]}):n===2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]}),Fe,t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.space,s.length===2?M.atTheRate+U(s[1],!1):Io,M.space]})]}):l=t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]})),l},At=e=>t.jsxs(t.Fragment,{children:[t.jsx(Oo,{...e}),No(e),t.jsx(Ao,{...e})]}),Po=e=>{const o=v(),{eventData:{activities:s}}=e;return t.jsx(Ho,{windowSize:o,statusUpdate:s.length>0&&s[0].activityType==="task_status_updated"&&s[0].metadata.updates.find(a=>a.field==="status")!=null,children:t.jsx(At,{...e})})},Ot=e=>{const{createTime:o,notificationStatus:s}=e,a=jt(o.toDate());return t.jsxs(t.Fragment,{children:[t.jsx(Yo,{isNewNotification:a===_o.justNow,children:a}),t.jsx(Qo,{notificationStatus:s})]})},Bo=e=>{const o=v();return t.jsx(Eo,{windowSize:o,children:t.jsx(Ot,{...e})})},Pt=e=>{const{eventData:{activities:o}}=e;return o[0].activityType==="task_overdue"?t.jsx(hi,{tagTitle:zo.overdue,textColor:{color:new $e(S.alert),backgroundColor:new $e("transparent"),borderColor:new $e(S.alert)},showLoader:!1}):t.jsx(Ko,{})},Fo=e=>{const o=v();return t.jsx(Uo,{windowSize:o,children:t.jsx(Pt,{...e})})},Go=r.div`
|
|
283
283
|
display: flex;
|
|
284
284
|
flex-direction: row;
|
|
285
285
|
align-items: center;
|
|
@@ -329,14 +329,14 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
|
|
|
329
329
|
color: ${S.brandColorJade};
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
|
-
`,
|
|
332
|
+
`,Eo=r(H)`
|
|
333
333
|
width: ${e=>e.windowSize==="small"?"unset":"10%"};
|
|
334
334
|
gap: ${i.sp2};
|
|
335
335
|
display: flex;
|
|
336
336
|
align-items: center;
|
|
337
337
|
flex-shrink: 0;
|
|
338
338
|
justify-content: end;
|
|
339
|
-
`,
|
|
339
|
+
`,Uo=r(H)`
|
|
340
340
|
width: ${e=>e.windowSize==="small"?"unset":"10%"};
|
|
341
341
|
display: flex;
|
|
342
342
|
align-items: center;
|
|
@@ -364,7 +364,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
|
|
|
364
364
|
-webkit-line-clamp: ${e=>ce.lineClamp.value(e.windowSize)};
|
|
365
365
|
-webkit-box-orient: vertical;
|
|
366
366
|
width: ${e=>ce.sectionWidth.valuePercentage(e.windowSize)};
|
|
367
|
-
`,
|
|
367
|
+
`,q=r(me)`
|
|
368
368
|
color: ${e=>e.notificationStatus==="read"?e.theme.colors.grey1:S.brandColorJade};
|
|
369
369
|
`,Wo=r(me)`
|
|
370
370
|
color: inherit;
|
|
@@ -377,20 +377,20 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
|
|
|
377
377
|
flex-direction: row;
|
|
378
378
|
gap: ${i.sp2};
|
|
379
379
|
flex-wrap: wrap;
|
|
380
|
-
`,
|
|
380
|
+
`,Ge=r(H)`
|
|
381
381
|
color: ${S.neutralGrey5Light};
|
|
382
382
|
background: ${e=>e.backgroundColor};
|
|
383
383
|
border: 1px solid ${e=>e.backgroundColor};
|
|
384
384
|
padding: ${i.sp0} 6px;
|
|
385
385
|
border-radius: ${i.sp1};
|
|
386
|
-
`,
|
|
386
|
+
`,qo=r(pi)`
|
|
387
387
|
width: ${i.sp3};
|
|
388
388
|
height: ${i.sp3};
|
|
389
389
|
color: ${e=>e.theme.colors.hero};
|
|
390
|
-
`,
|
|
390
|
+
`,Ko=r.div`
|
|
391
391
|
display: flex;
|
|
392
392
|
flex: 1 1 auto;
|
|
393
|
-
`,
|
|
393
|
+
`,Qo=r.div`
|
|
394
394
|
display: flex;
|
|
395
395
|
height: ${i.sp2};
|
|
396
396
|
width: ${i.sp2};
|
|
@@ -428,7 +428,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
|
|
|
428
428
|
flex: 1 1 auto;
|
|
429
429
|
justify-content: ${e=>e.isLastItem?"flex-end":"start"};
|
|
430
430
|
width: ${e=>e.isLastItem?"10%":Dt.valuePercentage(e.windowSize)};
|
|
431
|
-
`,es=()=>{const e=v();return t.jsxs(ts,{windowSize:e,children:[t.jsxs(
|
|
431
|
+
`,es=()=>{const e=v();return t.jsxs(ts,{windowSize:e,children:[t.jsxs(Ee,{children:[t.jsx(_,{width:180,height:w[4]}),t.jsx(_,{width:60,height:18})]}),t.jsxs(Ee,{children:[t.jsx(_,{width:180,height:w[4]}),t.jsx(_,{width:60,height:18})]})]})},ts=r.div`
|
|
432
432
|
display: flex;
|
|
433
433
|
flex-direction: column;
|
|
434
434
|
align-items: baseline;
|
|
@@ -454,7 +454,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
|
|
|
454
454
|
border-bottom-left-radius: ${i.sp2};
|
|
455
455
|
border-bottom-right-radius: ${i.sp2};
|
|
456
456
|
}
|
|
457
|
-
`,
|
|
457
|
+
`,Ee=r.div`
|
|
458
458
|
display: flex;
|
|
459
459
|
flex-direction: row;
|
|
460
460
|
align-items: start;
|
|
@@ -479,7 +479,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
|
|
|
479
479
|
`,ls=r.div`
|
|
480
480
|
display: flex;
|
|
481
481
|
padding: ${i.sp3} ${i.sp0};
|
|
482
|
-
`,ds=({notificationData:e,isSelectionMode:o=!1,isHighlighted:s=!1,style:a,onNotificationTileClick:n,onNotificationTileLongPress:l})=>{const{status:c,createTime:d,eventData:{entitiyId:h,activities:u},notificationId:p}=e,m=g.useCallback(()=>{l?.()},[l]),f=g.useCallback(k=>{k.stopPropagation(),k.cancelable&&k.preventDefault(),o?l?.():n(p,h,c,u.length>0?u[0].activityType:void 0)},[p,h,c,u,o,l,n]),x=pt({onLongPress:m},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(fs,{notificationStatus:c,isHighlighted:s,style:a,...x,onClick:f,children:[t.jsxs(
|
|
482
|
+
`,ds=({notificationData:e,isSelectionMode:o=!1,isHighlighted:s=!1,style:a,onNotificationTileClick:n,onNotificationTileLongPress:l})=>{const{status:c,createTime:d,eventData:{entitiyId:h,activities:u},notificationId:p}=e,m=g.useCallback(()=>{l?.()},[l]),f=g.useCallback(k=>{k.stopPropagation(),k.cancelable&&k.preventDefault(),o?l?.():n(p,h,c,u.length>0?u[0].activityType:void 0)},[p,h,c,u,o,l,n]),x=pt({onLongPress:m},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(fs,{notificationStatus:c,isHighlighted:s,style:a,...x,onClick:f,children:[t.jsxs(Ue,{children:[t.jsx(cs,{...e}),t.jsx(us,{createTime:d,notificationStatus:c})]}),t.jsxs(Ue,{children:[t.jsx(hs,{...e}),u.length>0&&u[0].activityType==="task_status_updated"?null:t.jsx(ps,{...e})]})]})},cs=e=>t.jsx(Bt,{statusUpdate:!1,children:t.jsx(Mt,{...e})}),hs=e=>{const{eventData:{activities:o}}=e;return t.jsx(Bt,{statusUpdate:o.length>0&&o[0].activityType==="task_status_updated"&&o[0].metadata.updates.find(s=>s.field==="status")!=null,children:t.jsx(At,{...e})})},us=e=>t.jsx(ms,{children:t.jsx(Ot,{...e})}),ps=e=>t.jsx(gs,{children:t.jsx(Pt,{...e})}),fs=r.div`
|
|
483
483
|
display: flex;
|
|
484
484
|
flex-direction: column;
|
|
485
485
|
align-items: baseline;
|
|
@@ -543,7 +543,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
|
|
|
543
543
|
align-items: center;
|
|
544
544
|
flex-shrink: 0;
|
|
545
545
|
justify-content: end;
|
|
546
|
-
`,
|
|
546
|
+
`,Ue=r.div`
|
|
547
547
|
display: flex;
|
|
548
548
|
flex-direction: row;
|
|
549
549
|
gap: ${i.sp3};
|
|
@@ -561,7 +561,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
|
|
|
561
561
|
-webkit-box-orient: horizontal;
|
|
562
562
|
gap: ${i.sp1};
|
|
563
563
|
`};
|
|
564
|
-
`,
|
|
564
|
+
`,Ft=e=>v()==="small"?t.jsx(ds,{...e}):t.jsx(Do,{...e}),{common:{all:He}}=P.getLocalizedStrings(),xs=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=Z(),{getValues:d}=ue(),h=d(o);return t.jsx(bs,{style:a,children:t.jsx(pe,{mode:s,checkBoxes:[{label:t.jsx(ws,{htmlFor:`${o}.${He.toLocaleLowerCase()}`,style:{color:c.colors.primary},children:ge(e)}),value:He.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((u,p)=>{const m=p===0,f=e.notifications.length-1===p;return{label:t.jsx(Ft,{notificationData:u,style:{borderTopLeftRadius:m?i.sp2:void 0,borderTopRightRadius:m?i.sp2:void 0,borderBottomLeftRadius:f?i.sp2:void 0,borderBottomRightRadius:f?i.sp2:void 0},isHighlighted:h?.includes(u.notificationId)===!0,onNotificationTileClick:l}),value:u.notificationId,defaultChecked:!1,groupLabel:!1}})],name:o,isDisabled:n,style:{width:"100%"},checkBoxStyle:{padding:i.sp3},labelCheckBoxStyle:{padding:i.sp3}})})},bs=r.div`
|
|
565
565
|
display: flex;
|
|
566
566
|
align-items: center;
|
|
567
567
|
width: 100%;
|
|
@@ -579,7 +579,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
|
|
|
579
579
|
align-items: flex-start;
|
|
580
580
|
width: 100%;
|
|
581
581
|
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
582
|
-
`,js=r(
|
|
582
|
+
`,js=r(Ft)``,ks=e=>v()==="small"?t.jsx(ys,{...e}):t.jsx(xs,{...e}),{commentsAndNotifications:{notifications:{message:Ss}}}=P.getLocalizedStrings(),Ye={rowGap:new R(w[0],w[5],w[5])},vs=({notificationGroups:e,isFetching:o,hasMore:s,sectionId:a,checkBoxMode:n,scrollYOffset:l,currentSubTab:c,isDisabled:d,onUpdateScrollYOffset:h,onFetchNotificationGroups:u,onNotificationClick:p})=>{const m=v(),f=g.useRef(null),x=g.useRef({});g.useEffect(()=>{f.current?.resetAfterIndex(0,!0)},[m,f,e]),g.useEffect(()=>{f.current?.scrollTo(l)},[c]);const k=g.useCallback(L=>{if(x.current?.[L]!=null){const C=m==="small"&&s===!1&&L===e.length-1?Ye.rowGap.value("medium-regular"):Ye.rowGap.value(m);return x.current[L]+C}return(ft*zt.value(m)+mt)*3+gt+xt},[m,x,e]),B=g.useCallback((L,C)=>{x.current={...x.current,[L]:C},f.current?.resetAfterIndex(0,!0)},[m,f,e]),z=g.useCallback(()=>{u()},[u]),N=g.useCallback(()=>{},[]),b=tt(L=>h(L),1e3,{trailing:!0}),I=L=>!s||L<e.length,j=g.useCallback(()=>s&&!o?z():N(),[s,o,z,N]),V=s?e.length+1:e.length;return t.jsx(Ts,{children:t.jsx(Ns,{windowSize:m,children:o&&e.length===0?t.jsx(ss,{}):o===!1&&e.length===0?t.jsx(it,{message:Ss.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(Is,{windowSize:m,children:t.jsx(ot,{children:({height:L,width:C})=>t.jsx(st,{isItemLoaded:I,itemCount:bt,loadMoreItems:j,children:({onItemsRendered:G,ref:W})=>t.jsx(at,{ref:E=>{W(E),f.current=E},height:L,itemCount:V,itemData:{notificationGroups:e,sectionId:a,checkBoxMode:n,isDisabled:d,isItemLoaded:I,setRowHeight:B,onNotificationClick:p},onItemsRendered:G,itemSize:k,width:C,style:{willChange:"auto"},overscanCount:wt,onScroll:({scrollOffset:E})=>{b(E)},initialScrollOffset:l,children:Cs})})})})})})},Cs=({index:e,style:o,data:s})=>{const{notificationGroups:a,sectionId:n,checkBoxMode:l,isItemLoaded:c,isDisabled:d,setRowHeight:h,onNotificationClick:u}=s,p=g.useRef(null),m=v();if(g.useEffect(()=>{p.current?.firstElementChild!=null&&h(e,p.current.firstElementChild.clientHeight)},[e,p,m,a[e]?.notifications]),c(e)===!0){const f=a[e],x=le(f);return t.jsx(Je,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:p,children:t.jsx(ks,{notificationGroup:f,sectionId:`${n}.${x}`,checkBoxMode:l,isDisabled:d,onNotificationTileClick:u})},x)}return t.jsx(Je,{ref:p,style:{...o,paddingBottom:i.sp0},children:t.jsx(Ce,{numberOfRows:3})},he())},Ts=r.div`
|
|
583
583
|
display: block;
|
|
584
584
|
background-color: ${e=>e.theme.colors.grey4};
|
|
585
585
|
height: 100%;
|
|
@@ -596,7 +596,7 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
|
|
|
596
596
|
top: ${i.sp0};
|
|
597
597
|
left: ${i.sp0};
|
|
598
598
|
box-sizing: border-box;
|
|
599
|
-
`,{common:{all:Te,texts:ne,footer:Ls,strings:{plus:Rs},numbers:{maximumCount:
|
|
599
|
+
`,{common:{all:Te,texts:ne,footer:Ls,strings:{plus:Rs},numbers:{maximumCount:qe}},commentsAndNotifications:{notifications:{title:_s,texts:Gt,strings:Ke}}}=P.getLocalizedStrings(),ie={tableContainerLeftPadding:new R(w[2],w[2],w[2]),tableContainerRightPadding:new R(w[3],w[6],w[8]),tabsContainerLeftRightPadding:new R(w[3],w[6],w[8]),selectedNotificationsTextMarginLeft:new R(w[0],w[6],w[6])},zs={selectedNotificationsText:new ni("smallRegular","standardRegular")},Qe="notificationsPage",K="commentsNotificationsTable",Q="notificationsTable",Et=20,ha=({notificationView:e,users:o,isNotificationSettingsVisible:s,isDisabled:a,onNotificationClick:n,onCommentNotificationClick:l,onUpdateNotificationViewUIState:c,onUpdateNotificationTabState:d,onUpdateNotificationViewCurrentTabAndSubTab:h,onUpdateNotificationViewSubTab:u,onFetchMoreNotifications:p,onUpdateNotificationStatus:m,onSettingsClick:f,onBackClick:x,onMarkAllNotificationsAsRead:k})=>{const B=Z(),z=v(),N=Kt({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>et(e),[e]),values:g.useMemo(()=>et(e),[e])}),{currentTab:b,currentSubTab:I,notificationDetailsByTab:j,allSubTabs:V,allNotifications:L,allExternalNotifications:C,notificationsForCurrentTabAndSubTab:G,externalNotificationsForCurrentTabAndSubTab:W}=e,E=g.useMemo(()=>Object.keys(j).map(y=>({label:ne[y],id:ne[y].toLocaleLowerCase(),countDetails:{count:j[y].uiState.unreadCount,isFetching:j[y].fetchCountState.fetchState==="In-Progress"}})),[j]),Y=g.useMemo(()=>V.map(y=>({label:y==="all"?Te:ne[y],id:y})),[V]),Ut=g.useMemo(()=>kt(W).filter(y=>y.notifications.length>0),[W]),Ht=g.useMemo(()=>_t(G).filter(y=>y.notifications.length>0),[G]),Vt=async(y,T)=>{const F=y.split(".")[0],J=[];F!=null&&(F===K||F===Q)&&(Object.values(T[F]).forEach(D=>{J.push(...D.filter(qt=>qt.includes(Te.toLowerCase())===!1))}),d({selectedNotificationIds:J},b))};g.useEffect(()=>{const y=N.watch((T,{name:F})=>{F!=null&&T!=null&&Qt(()=>Vt(F,T))});return()=>{y.unsubscribe()}});const xe=g.useCallback(()=>{const y=[],T=j[b].selectedNotificationIdsForSubTab,F="read";if(b==="comments"){const J=C.filter(D=>D.inboxNotification.readAt==null).map(D=>D.inboxNotification.id);T.forEach(D=>{J.includes(D)&&y.push(D)})}else{const J=L.filter(D=>D.status!==F).map(D=>D.notificationId);T.forEach(D=>{J.includes(D)&&y.push(D)})}return y},[C,L,b,j]),Wt=xe().length>Et?"disabled":a,be=N.watch(K),we=N.watch(Q),Le=g.useCallback(()=>{p(b,I)},[p,b,I]),Yt=g.useCallback(()=>{if(b==="comments"){const y={};Object.keys(be).forEach(T=>{y[T]=[]}),N.reset({[K]:y,[Q]:we},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}else{const y={};Object.keys(we).forEach(T=>{y[T]=[]}),N.reset({[Q]:y,[K]:be},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}d({selectedNotificationIds:[]},b)},[we,be]),Jt=g.useCallback(()=>{const y=j[b].selectedNotificationIdsForSubTab,T="read",F=xe();m(b,y,T,F)},[b,j,xe,m]);return t.jsxs(Ms,{children:[t.jsx(Xt,{source:"NotificationsPage",title:_s.notifications,backgroundColor:B.colors.grey4,onBackClick:x,rightSideComponent:s===!0?t.jsx(Ks,{onClick:f}):t.jsx(qs,{})}),t.jsx(Ps,{}),t.jsx(Os,{windowSize:z,children:t.jsx(xi,{tabs:E,selectedTab:b,onTabChange:y=>{const T=mi(y);T!=null&&h(T)},subTabs:Y,selectedSubTab:I,onSubTabChange:y=>{const T=fi(y);T!=null&&u(T)},subTabRightComponent:t.jsx(Ds,{notificationCount:j[b].uiState.unreadCount,markAsAllReadUpdateState:j[b].markAsAllReadState.fetchState,markAsReadUpdateState:j[b].markAsReadState.fetchState,onMarkAsAllReadClick:()=>{k(b)}})})}),t.jsx(As,{windowSize:z,children:t.jsx(Zt,{...N,children:t.jsx("form",{id:Ze(Qe),onSubmit:N.handleSubmit(Jt),style:{width:"100%"},children:b==="comments"?t.jsx(yo,{users:o,hasMore:j[b].uiState.hasMore,isFetching:j[b].fetchState==="In-Progress",scrollYOffset:j[b].uiState.scrollYOffset[I],currentSubTab:I,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Ut,sectionId:K,onFetchNotificationGroups:Le,onUpdateScrollYOffset:y=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[I]:y}},b),onNotificationClick:l}):t.jsx(vs,{hasMore:j[b].uiState.hasMore,isFetching:j[b].fetchState==="In-Progress",scrollYOffset:j[b].uiState.scrollYOffset[I],currentSubTab:I,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Ht,sectionId:Q,onFetchNotificationGroups:Le,onUpdateScrollYOffset:y=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[I]:y}},b),onNotificationClick:n})})})}),j[b].selectedNotificationIdsForSubTab.length?t.jsx(ei,{formId:Ze(Qe),primaryBtn:{label:Gt.markAsRead,isLoading:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},isDisabled:Wt!=null},cancelBtn:{label:Ls.cancel,isDisabled:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},onClick:Yt},helperContainerStyle:z==="small"?{width:"100%"}:{rowGap:i.sp0},footerContentStyle:{gap:i.sp2},leftSideComponent:t.jsx(ye,{controller:z!=="small",children:t.jsx(Xe,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),topComponent:t.jsx(ye,{controller:z==="small",children:t.jsx(Xe,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),rightSideComponent:t.jsx(ye,{controller:z!=="small",children:t.jsx(Gs,{})})}):null]})},Ds=({markAsAllReadUpdateState:e,markAsReadUpdateState:o,notificationCount:s,onMarkAsAllReadClick:a})=>{const n=s===0,l=g.useCallback(()=>{e!=="In-Progress"&&o!=="In-Progress"&&!n&&a()},[e,o,n,a]);return t.jsx(Bs,{variant:"tertiary",size:"small",label:Gt.markAllAsRead,onClick:l,prefixIcon:e==="In-Progress"?t.jsx(oi,{size:"Small",start:!0}):t.jsx(Fs,{className:"mark-as-read"}),disabled:n,textStyle:{fontWeight:Ne.smallRegular.fontWeight},style:{borderRadius:i.sp1,border:"none",backgroundColor:"transparent",flexShrink:0,padding:i.sp0,cursor:o==="In-Progress"||e==="In-Progress"||n?"default":"pointer"}})},Xe=({selectedNotificationsCount:e})=>{const o=v();return t.jsxs(Es,{windowSize:o,children:[t.jsx(Hs,{children:t.jsx(Us,{isCircular:e<10,children:t.jsx(Vs,{children:e>qe?`${qe}${Rs}`:e})})}),t.jsxs(Js,{windowSize:o,children:[t.jsx(Ws,{children:e>1?Ke.notificationsSelected:Ke.notificationSelected}),e>Et?t.jsx(Ys,{children:ne.maxLimit}):null]})]})},Ms=r.div`
|
|
600
600
|
display: flex;
|
|
601
601
|
height: 100vh;
|
|
602
602
|
width: 100%;
|
|
@@ -627,16 +627,16 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
|
|
|
627
627
|
color: ${e=>e.disabled===!0?e.theme.colors.grey2:e.theme.colors.primary};
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
|
-
`,
|
|
630
|
+
`,Fs=r(ai)`
|
|
631
631
|
width: ${i.sp3};
|
|
632
632
|
height: ${i.sp3};
|
|
633
|
-
`,
|
|
633
|
+
`,Gs=r.div``,Es=r.div`
|
|
634
634
|
display: flex;
|
|
635
635
|
align-items: center;
|
|
636
636
|
flex-direction: row;
|
|
637
637
|
gap: ${i.sp2};
|
|
638
638
|
margin-left: ${e=>ie.selectedNotificationsTextMarginLeft.valuePx(e.windowSize)};
|
|
639
|
-
`,
|
|
639
|
+
`,Us=r.div`
|
|
640
640
|
${e=>e.isCircular?O`
|
|
641
641
|
height: ${i.sp3};
|
|
642
642
|
width: ${i.sp3};
|
|
@@ -671,10 +671,10 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
|
|
|
671
671
|
display: flex;
|
|
672
672
|
align-items: center;
|
|
673
673
|
flex-wrap: wrap;
|
|
674
|
-
`,
|
|
674
|
+
`,qs=r.div`
|
|
675
675
|
width: ${i.sp4};
|
|
676
676
|
height: ${i.sp4};
|
|
677
|
-
`,
|
|
677
|
+
`,Ks=r(ti)`
|
|
678
678
|
color: ${e=>e.theme.colors.hero};
|
|
679
679
|
width: ${i.sp4};
|
|
680
680
|
height: ${i.sp4};
|
|
@@ -682,4 +682,4 @@ import{d as Z,J as v,a9 as Qt,cG as qt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,
|
|
|
682
682
|
&:hover {
|
|
683
683
|
color: ${e=>e.theme.colors.primary};
|
|
684
684
|
}
|
|
685
|
-
`,Ze=e=>`${e}_form`,et=e=>{const{allNotifications:o,allExternalNotifications:s,notificationDetailsByTab:{tasks:{selectedNotificationIds:a},comments:{selectedNotificationIds:n}}}=e,l={};_t(o).filter(d=>d.notifications.length>0).forEach(d=>{const h=d.notifications.map(u=>u.notificationId);l[le(d)]=a.filter(u=>h.includes(u))});const c={};return kt(s).filter(d=>d.notifications.length>0).forEach(d=>{const h=d.notifications.map(u=>u.inboxNotification.id);c[le(d)]=n.filter(u=>h.includes(u))}),{[
|
|
685
|
+
`,Ze=e=>`${e}_form`,et=e=>{const{allNotifications:o,allExternalNotifications:s,notificationDetailsByTab:{tasks:{selectedNotificationIds:a},comments:{selectedNotificationIds:n}}}=e,l={};_t(o).filter(d=>d.notifications.length>0).forEach(d=>{const h=d.notifications.map(u=>u.notificationId);l[le(d)]=a.filter(u=>h.includes(u))});const c={};return kt(s).filter(d=>d.notifications.length>0).forEach(d=>{const h=d.notifications.map(u=>u.inboxNotification.id);c[le(d)]=n.filter(u=>h.includes(u))}),{[K]:c,[Q]:l}},ua=(e,o)=>{const s=[];return Object.values(e).forEach(a=>{a.forEach(n=>{n.includes(Te.toLocaleLowerCase())===!1&&o.includes(n)&&s.push(n)})}),s};export{ha as default,ua as getSelectedNotificationIds,Ze as uniqueFormName};
|
package/dist/assets/{OpExByVendorPage-PfMkiQRt-D6dvXvh-.js → OpExByVendorPage-D1ehVVFD-Dc7GFqIq.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{J as H,i8 as Ce,F as B,
|
|
1
|
+
import{J as H,i8 as Ce,F as B,y as J,ce as _e,az as xe,V as t,bP as Se,ab as we,i7 as ke,bE as ve,bD as Be,i9 as Pe,ia as Oe,o as u,aU as Te,k as je,x as F,b4 as ie,aF as le,aW as $e,u as P,cg as De,ch as Ie,ci as Ne,bM as Ee,p as a,am as ce,w as Q,aZ as Me}from"./index-C9hDAJ7o.js";import{a as C,P as Ae}from"./sentry-Ckvw8Zf1.js";import{n as h}from"./mui-BQR0Ruo4.js";import{G7 as Le}from"./zeni-epic-state-BnsQ52n7.js";import{p as Fe,d as Ve,y as G,b as de,u as ee}from"./chartTypes-DL1AC5R1-CSQ4LZOa.js";import{V as ze}from"./toChartData-8r0AvOIP-Dhy8B0ZL.js";import{m as V}from"./analyticsHelper-B32z3Cdy-Dk9sCdyO.js";import{p as Re}from"./TimeRangeSwitcher-B7KdhPH9-Djft8PYe.js";import{M as We}from"./TimeframeSwitcherWithToggle-DEjdiR9x-CpK-qiop.js";import{C as Ke}from"./NoDataChart-BQdJyfHh-BLmune73.js";import{d as Ye}from"./NoDataTable-B__TVPte-CetA5lza.js";import{H as Ge,k as oe}from"./detailCommon-CzjlHNNr-OLPVPNMD.js";import{n as z}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{I as He,R as U}from"./CollapsableReportTable-Cfh-EfEQ-CKv-H0OC.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-jq979PpH-D251JRiH.js";import{d as re}from"./mapLoadingInProgressToTreeNode-DWJx3AOd-DyMnZ_nG.js";import{l as Je}from"./mapSpacerToTreeNode-CKbbOrFj-B8jOHJ4H.js";import{N as Ue,I as qe,X as Xe,Y as Ze,J as Qe,K as eo}from"./recharts-DkFolWRg.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";import"./TimeframeSwitcher-C26tc1sm-Eg22Wb7g.js";import"./graphic-no-data-l-DU4J8fDt-CQ6Ol9_s.js";import"./AccountRow-DtE1mQFq-sRlcgWT1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="e97072eb-2696-4582-8fc2-4c9563b15ef5",e._sentryDebugIdIdentifier="sentry-dbid-e97072eb-2696-4582-8fc2-4c9563b15ef5")}catch{}})();const oo=h.div`
|
|
2
2
|
display: flex;
|
|
3
|
-
`,ro=
|
|
3
|
+
`,ro=h.div`
|
|
4
4
|
flex: display;
|
|
5
5
|
opacity: 0.85;
|
|
6
6
|
width: 320px;
|
|
@@ -8,24 +8,24 @@ import{J as H,i8 as Ce,F as B,d as J,ce as _e,ay as xe,V as t,bP as Se,aQ as ke,
|
|
|
8
8
|
flex-direction: column;
|
|
9
9
|
padding: ${u.sp3};
|
|
10
10
|
background-color: ${e=>e.theme.colors.black};
|
|
11
|
-
`,ae=
|
|
11
|
+
`,ae=h.div`
|
|
12
12
|
display: flex;
|
|
13
13
|
justify-content: space-between;
|
|
14
|
-
`,te=
|
|
14
|
+
`,te=h(ce)`
|
|
15
15
|
color: ${e=>e.color??a.neutralGrey2Light};
|
|
16
16
|
text-align: left;
|
|
17
|
-
`,ne=
|
|
17
|
+
`,ne=h(ce)`
|
|
18
18
|
color: ${e=>e.color??a.neutralGrey2Light};
|
|
19
19
|
text-align: right;
|
|
20
|
-
`,ao=
|
|
20
|
+
`,ao=h.div`
|
|
21
21
|
margin: ${u.sp2} ${u.sp0} ${u.sp2} ${u.sp0};
|
|
22
22
|
width: 100%;
|
|
23
23
|
height: 1px;
|
|
24
24
|
background-color: ${a.neutralGrey3Dark};
|
|
25
|
-
`,to=({active:e,payload:r,barName:o})=>{const s=[];if(r!==void 0&&e===!0){const i=r.filter(y=>y.name==o)[0],l=i.payload,
|
|
25
|
+
`,to=({active:e,payload:r,barName:o})=>{const s=[];if(r!==void 0&&e===!0){const i=r.filter(y=>y.name==o)[0],l=i.payload,m=i.color,n={amount:l.record[o].amount?.amount??0,currencyCode:l.record[o].amount?.currencyCode??"",currencySymbol:l.record[o].amount?.currencySymbol??""},p={amount:0,currencyCode:"",currencySymbol:""};let g=0,c;for(c in l.record)c.endsWith("_actual")&&(g+=l.record[c].amount?.amount??0);p.amount=g,p.currencyCode=n.currencyCode,p.currencySymbol=n.currencySymbol,s.push({barName:de(o),actual:n,color:m,total:p,timeframeTick:l.timeLabel})}return s},no=({barLabelsWithValues:e,getVendorName:r})=>t.jsx(oo,{children:t.jsxs(ro,{children:[t.jsxs(ae,{children:[t.jsx(te,{color:e[0].color,children:`${r(e[0].timeframeTick,e[0].barName)}`}),t.jsx(ne,{color:e[0].color,children:`${ee(e[0].actual)}`})]}),t.jsx(ao,{}),t.jsxs(ae,{children:[t.jsx(te,{color:a.primaryDark,children:`${B.getLocalizedStrings().chartCard.total}`}),t.jsx(ne,{children:`${ee(e[0].total)}`})]})]})}),so=e=>{const r=to({...e});return r.length===0?null:t.jsx(no,{barLabelsWithValues:r,getVendorName:e.getVendorName})},io=Ae.memo(so),se=[a.graphColor34,a.graphColor05,a.graphColor08,a.graphColor11,a.graphColor13,a.graphColor19,a.graphColor29,a.graphColor28,a.graphColor20,a.graphColor21,a.graphColor22,a.graphColor14,a.graphColor35,a.graphColor31,a.graphColor33,a.graphColor32,a.graphColor36,a.graphColor02,a.graphColor06,a.graphColor04,a.graphColor10,a.graphColor12,a.graphColor15,a.graphColor18,a.graphColor17,a.graphColor07,a.graphColor34Dark,a.graphColor05Dark,a.graphColor08Dark,a.graphColor11Dark,a.graphColor13Dark,a.graphColor19Dark,a.graphColor29Dark,a.graphColor28Dark,a.graphColor20Dark,a.graphColor21Dark,a.graphColor22Dark,a.graphColor14Dark,a.graphColor35Dark,a.graphColor31Dark,a.graphColor33Dark,a.graphColor32Dark,a.graphColor36Dark,a.graphColor02Dark,a.graphColor06Dark,a.graphColor04Dark,a.graphColor10Dark,a.graphColor12Dark,a.graphColor15Dark,a.graphColor18Dark,a.graphColor17Dark,a.graphColor07Dark];class I{_barColors;_barColorsKeyWise;_defaultColor;constructor(){this._defaultColor=a.graphColor34,this._barColors=se.slice(),this._barColorsKeyWise=new Map}static#e=new I;getBarColor(r){const o=I.instance();return o._barColorsKeyWise.has(r)||(o._barColors.length===0&&(o._barColors=se.slice()),o._barColorsKeyWise.set(r,o._barColors.shift()??o._defaultColor)),o._barColorsKeyWise.get(r)}shouldUpdate(r){const o=I.instance(),s=Array.from(o._barColorsKeyWise.keys()).sort();return!le(s,r)}static init(){return this.#e=new I,this.#e}static instance(){return this.#e}}const lo=I.instance(),co=(e,r)=>{const o=new Set,s={};let i;const l=r.top4VendorsAndOthers;return Object.keys(l).length>0&&Object.keys(l).forEach(m=>{l[m].forEach((n,p)=>{const g=`vendor_${p}`,c=Fe(g,"actual");o.add(c),i==null&&n.balance!=null&&(i=c),s[c]!=null?s[c].push({key:c,balance:n.balance}):s[c]=[{key:c,balance:n.balance}]})}),i!=null?ze(e,[...o],i,s):void 0},po=h.div`
|
|
26
26
|
width: ${e=>e.width}px;
|
|
27
27
|
height: ${e=>e.height}px;
|
|
28
|
-
`;function
|
|
28
|
+
`;function mo({selectedRangeReport:e,width:r,height:o,showBarHoverBackground:s=!1,isDetailPage:i=!1}){const l=C.useRef(!1),m=lo,[n,p]=C.useState(void 0);C.useEffect(()=>{l.current=!0},[]);const g=co(e.firstMonthOfFY,e),c=()=>{const d=[];return g?.orderedKeys.forEach(_=>{const S=i===!0&&!l.current;d.push(y(_,S))}),d},y=(d,_)=>t.jsx(eo,{name:d,animationDuration:_?500:void 0,style:{cursor:"pointer"},dataKey:S=>{const v=S.record;return(v[d]?.amount!=null?v[d].amount:void 0)?.amount??0},stackId:"chartByTimeSeries",fill:m.getBarColor(de(d)),onMouseEnter:()=>{n!==d&&p(d)},onMouseLeave:()=>{n!=null&&p(void 0)}},d),x=({active:d,payload:_})=>_?.find(S=>S.name===n)!=null&&n!=null&&d===!0?t.jsx(io,{active:d,payload:_,barName:n,getVendorName:f}):null,f=(d,_)=>{const S=Le(d);try{const v=_.split("_")[1];return e.top4VendorsAndOthers[S][parseInt(v)].vendor.name}catch(v){return console.warn("Was not able to parse vendor index for tooltip ",v),""}};return g==null?null:t.jsx(ho,{chartData:g,showBarHoverBackground:s,barElements:c(),customToolTipContent:t.jsx(x,{}),width:r,height:o,isDetailPage:i===!0})}const ho=({chartData:e,barElements:r,customToolTipContent:o,width:s,height:i,showBarHoverBackground:l=!1,isDetailPage:m})=>{const n=J(),p=Ve(e),g=l!==!1,c=m?(s-60)/G.operating_expenses_by_vendor*(G.operating_expenses_by_vendor-e.timeseries.length):20;return t.jsx(po,{width:s,height:i,children:t.jsx(ie,{children:({height:y,width:x})=>t.jsxs(Ue,{width:x,height:y,stackOffset:"sign",data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:m?P[5]:30,margin:{top:5,right:c,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[t.jsx(qe,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:n.colors.grey3}),t.jsx(Xe,{dataKey:f=>f.timeLabel.label,type:"category",axisLine:{stroke:n.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:n.colors.hero,...Q.extraSmallRegular.cssObject}}),t.jsx(Ze,{type:"number",axisLine:!1,tickLine:!1,tick:{color:n.colors.hero,...Q.extraSmallRegular.cssObject},tickFormatter:f=>Me("0,0.[00]a",f,p)}),t.jsx(Qe,{wrapperStyle:{zIndex:2},cursor:g?{stroke:n.colors.background,strokeWidth:(x-120)/G.operating_expenses_by_vendor,fill:n.colors.background}:!1,content:o,allowEscapeViewBox:{x:!1,y:!0}}),r]})})})};function go(e){return{locale_id:e.localeId,show_negative_amount_in_parenthesis:e.showNegativeAmountInParenthesis,filter_accounts_with_nil_balances:e.filterAccountsWithNilBalances,filter_account_groups_with_nil_balances:e.filterAccountGroupsWithNilBalances,company_name:e.companyName,statement_file_type:e.statementFileType,timeframe:e.timeframe,timezone:e.timezone,additional_balances:e.additionalBalances,format:e.format,sort_key:e.sortKey,sort_order:e.sortOrder,is_compare_mode_on:e.isCompareModeOn,search_string:e.searchString}}function uo(e){const{isCompareModeOn:r,report:o,currentTenantCompanyName:s}=e,i=[];if(r&&(i.push("this_period_vs_last_period_percent"),i.push("this_period_vs_last_period")),o.dataAvailable!=null)return{localeId:B.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",companyName:s,statementFileType:"excel",timeframe:e.timeframe,timezone:e.timezone,additionalBalances:i,format:e.reportType,sortKey:e.sortKey,sortOrder:e.sortOrder,isCompareModeOn:e.isCompareModeOn,searchString:e.searchString}}function fo(e){const r=uo(e);if(r!=null)return yo(e.statementEndPoint,e.authParams,r)}async function yo(e,r,o){const s=B.getLocalizedStrings().downloadReport,i=`${e}?query=${encodeURIComponent(JSON.stringify(go(o)))}`;try{const l=await De({urlEndPoint:i,authParams:r,fileType:o.statementFileType});if(l.ok){const m=Ie(l.headers,s.defaultFileName),n=await l.arrayBuffer();Ne(n,m)}else console.error(`${s.reportErrorMessage} ${l.statusText}`)}catch(l){console.error(`${s.reportErrorMessage} ${JSON.stringify(l)}`)}}function bo({title:e,balances:r,config:o,nodeId:s}){return{children:[],id:s??U("title_string_only",[]),isLastNode:!1,reportElementData:{element:{kind:"title_string_only",title:e,data:r,numOfBalances:r.length},config:o}}}function Co({opExByVendor:e,numOfBalances:r,title:o,isLastNode:s,config:i}){const l=e.account?.accountName??"-",m=e.classBase?.className??"-",n=U("vendor_row",[],o+l+m);return{children:[],id:n,isLastNode:s,reportElementData:{element:{kind:"vendor_row",title:o,data:e,numOfBalances:r},config:i}}}function _o({title:e,balances:r,config:o,numOfBalances:s,nodeId:i}){return{children:[],id:i??U("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:r,numOfBalances:s},config:o}}}const xo=(e,r,o,s=!0)=>{const i=o.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+1:e.filter.balancesRange.numberOfPeriods,l=e.totalBalances!=null?[...e.totalBalances.balances,...e.totalBalances.additionalBalances]:[];e.totalBalances?.totalBalance!=null&&l.push(e.totalBalances.totalBalance);const m=pe({balances:l,config:o}),n=[];n.push(m);const p=B.getLocalizedStrings().vendors.opExByVendor,g=o.opexByVendorConfig?.sortOrSearchInProgress??!1,c=o.opexByVendorConfig?.pageFetchInProgress??!1;if(g===!0)[...Array(10)].forEach((y,x)=>{n.push(re({title:`${x}+${p.loading}`,balances:l,config:o}))});else if(e.opexBalances.length>0){if(!r.searchString){const f=_o({title:B.getLocalizedStrings().chartCard.total,balances:e.totalBalances,config:o,numOfBalances:i});n.push(f)}const y=r.pageToken[r.timeframe],x=e.opexBalances.map((f,d)=>Co({opExByVendor:f,title:f.vendor.name,numOfBalances:i,isLastNode:d===e.opexBalances.length-1&&y==null,config:o}));n.push(...x),c===!0&&[...Array(1)].forEach((f,d)=>{n.push(re({title:`${d}+${p.loading}`,balances:l,config:o}))}),[...Array(1)].forEach((f,d)=>{n.push(Je({title:`${d}+${p.loading}`,balances:[],config:o}))})}return e.opexBalances.length===0&&g!==!0&&n.push(bo({title:B.getLocalizedStrings().vendors.opExByVendor.noResultsFound,balances:l,config:o})),{config:o,headerNodes:s?[m]:[],contentNodes:n}};function So(e,r,o,s=!0){Object.assign(e.config,r);const i=wo(o),l=pe({balances:i,config:r});return{config:r,headerNodes:s?[l]:[],contentNodes:[l,...e.contentNodes.slice(1)]}}const wo=e=>e.totalBalances!=null?[...e.totalBalances.balances,...e.totalBalances.additionalBalances]:[],N={chartHeight:new F(288,360),wrapperPadding:new F(P[3],P[3],P[8]),contentPaddingLeft:new F(P[0],P[0],P[0]),contentPaddingRight:new F(P[3],P[3],P[8])},ko=h.div`
|
|
29
29
|
display: flex;
|
|
30
30
|
flex: 1 1 auto;
|
|
31
31
|
min-height: 100%;
|
|
@@ -34,13 +34,13 @@ import{J as H,i8 as Ce,F as B,d as J,ce as _e,ay as xe,V as t,bP as Se,aQ as ke,
|
|
|
34
34
|
background-color: ${e=>e.theme.colors.grey5};
|
|
35
35
|
padding: ${u.sp0};
|
|
36
36
|
gap: 2px;
|
|
37
|
-
`,vo=
|
|
37
|
+
`,vo=h.div`
|
|
38
38
|
position: relative;
|
|
39
39
|
box-shadow: ${e=>`2px 2px ${u.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
40
40
|
background-color: ${e=>e.theme.colors.grey5};
|
|
41
41
|
padding-left: ${e=>N.wrapperPadding.valuePx(e.windowSize)};
|
|
42
42
|
padding-right: ${e=>N.wrapperPadding.valuePx(e.windowSize)};
|
|
43
|
-
`,Bo=
|
|
43
|
+
`,Bo=h.div`
|
|
44
44
|
display: flex;
|
|
45
45
|
width: 100%;
|
|
46
46
|
height: 100vh;
|
|
@@ -48,14 +48,14 @@ import{J as H,i8 as Ce,F as B,d as J,ce as _e,ay as xe,V as t,bP as Se,aQ as ke,
|
|
|
48
48
|
justify-content: center;
|
|
49
49
|
align-items: center;
|
|
50
50
|
background-color: ${e=>e.theme.colors.grey5};
|
|
51
|
-
`,Po=
|
|
51
|
+
`,Po=h.div`
|
|
52
52
|
display: flex;
|
|
53
53
|
width: 100%;
|
|
54
54
|
height: 100vh;
|
|
55
55
|
flex-direction: column;
|
|
56
56
|
justify-content: center;
|
|
57
57
|
align-items: center;
|
|
58
|
-
`,Oo=
|
|
58
|
+
`,Oo=h.div`
|
|
59
59
|
height: 96px;
|
|
60
60
|
width: 96px;
|
|
61
61
|
background: ${e=>e.theme.colors.background};
|
|
@@ -70,31 +70,31 @@ import{J as H,i8 as Ce,F as B,d as J,ce as _e,ay as xe,V as t,bP as Se,aQ as ke,
|
|
|
70
70
|
color: ${e=>e.theme.colors.primary};
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
`,To=
|
|
73
|
+
`,To=h(Te)`
|
|
74
74
|
margin-top: ${u.sp3};
|
|
75
75
|
color: ${e=>e.theme.colors.hero};
|
|
76
|
-
|
|
76
|
+
`,jo=h.div`
|
|
77
77
|
display: flex;
|
|
78
78
|
padding: ${u.sp2} ${u.sp0} ${u.sp4} ${u.sp0};
|
|
79
|
-
|
|
79
|
+
`,$o=h.div``,Do=h.div``,Io=h.div`
|
|
80
80
|
display: flex;
|
|
81
81
|
flex: 1 1 auto;
|
|
82
82
|
flex-direction: column;
|
|
83
83
|
height: ${e=>N.chartHeight.valuePx(e.windowSize)};
|
|
84
84
|
padding-bottom: ${u.sp6};
|
|
85
|
-
`,No=
|
|
85
|
+
`,No=h.div`
|
|
86
86
|
display: flex;
|
|
87
|
-
`,Eo=
|
|
87
|
+
`,Eo=h.div`
|
|
88
88
|
margin-top: ${u.sp5};
|
|
89
89
|
margin-bottom: ${u.sp6};
|
|
90
|
-
`,
|
|
90
|
+
`,Mo=h.div`
|
|
91
91
|
display: flex;
|
|
92
92
|
position: sticky;
|
|
93
93
|
justify-content: center;
|
|
94
94
|
padding-top: ${u.sp8};
|
|
95
95
|
padding-left: ${e=>N.wrapperPadding.valuePx(e.windowSize)};
|
|
96
96
|
background-color: ${e=>e.theme.colors.grey4};
|
|
97
|
-
`,
|
|
97
|
+
`,Ao=h.div`
|
|
98
98
|
width: 100%;
|
|
99
99
|
height: calc(100vh - ${u.sp11});
|
|
100
|
-
`,Lo=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?t.jsx(Bo,{children:t.jsx(
|
|
100
|
+
`,Lo=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?t.jsx(Bo,{children:t.jsx(je,{size:"ExtraLarge",start:!0})}):null,fr=({report:e,vendorTabsToShow:r,uiState:o,downloadParams:s,onVendorTabSelectionChanged:i,onReloadReport:l,onBackClick:m,onFetchOpExByVendors:n,onAdditionalBalanceSelectionChanged:p,onTimeframeSelectionChanged:g,onSortOrderChanged:c,onSortOrSearchStarted:y,onVendorNameAndBalanceClicked:x,onPageFetchStarted:f,previousTabPosition:d,setPreviousTabPosition:_,updateDownloadStateHandler:S,onClearSearch:v,analytics:O,onClickMenuIcon:R})=>{const[j,E]=C.useState(o.searchString[o.timeframe]),[M,A]=C.useState(!1),w=H(),$=C.useRef(null),W=Ce(r),me=W.length>1,he=B.getLocalizedStrings().reports.common,q=B.getLocalizedStrings().vendors,X=J(),ge=["month","quarter"],ue=e.availableNumberOfPeriods!=null&&e.availableNumberOfPeriods<2,L=o.mode==="compare_mode"&&!ue,K=e.allTimeframeTicks.length===0,{timeframe:T}=o,D=o.searchString[T];_e({componentName:"vendors.opex_by_vendor.list"});const fe=C.useCallback(k=>{n(T,D,k)},[T,D,n]),ye=C.useCallback((k,b)=>{window.scrollTo({top:$.current?.offsetTop,behavior:"smooth"}),k.length>0?(y(!0),n(b,k,!1)):(y(!1),v(b))},[v,n,y]),Z=C.useRef(xe((k,b)=>ye(k,b),500,{trailing:!0})).current,be=(k,b)=>{c(k,b,T),y(!0),n(T,D,!1)};if(C.useEffect(()=>{async function k(){await fo({report:e,isCompareModeOn:L,downloadState:o.downloadState,reportType:"more_detailed",timeframe:o.timeframe,sortKey:o.sortKey[o.timeframe],sortOrder:o.sortOrder[o.timeframe],searchString:o.searchString[T],...s}),O?.trackDownload(z("operating_expenses_by_vendor"),V(o.timeframe),"excel",L),S("Completed")}M&&o.downloadState!=="In-Progress"&&(A(!1),S("In-Progress"),k())},[e,o,L,s,o.downloadState,M]),C.useEffect(()=>{E(D)},[D]),e.fetchState==="Error")return t.jsxs(Po,{children:[t.jsx(Oo,{"data-testid":we("op-ex-by-vendor-reload-page"),onClick:l,children:t.jsx(Se,{})}),t.jsx(To,{children:he.failed})]});const Y=e.totalBalances?.totalBalance;if(o.sortOrSearchInProgress===!1&&o.pageFetchInProgress===!1&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"))return t.jsx(Lo,{fetchState:e.fetchState});if((e.fetchState==="Completed"||o.sortOrSearchInProgress===!0||o.pageFetchInProgress===!0)&&e.isReportGenerated===!0){const k=t.jsxs(t.Fragment,{children:[t.jsx(ke,{isSearchOpen:(D?.length??0)>0,searchPlaceHolder:q.common.searchPlaceholder,searchText:j??"",onSearchTextChanged:b=>{E(b),b.trim().length>=2?Z(b,T):b.trim().length==0&&Z("",T)},downloadPresent:!0}),t.jsx(ve,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:K,isDownloading:o.downloadState==="In-Progress"}],onDownloadClick:async b=>{if(b==="excel")if(o.downloadState==="In-Progress"){console.log("Download is already in progress!");return}else A(!0)}}}})]});return t.jsxs(ko,{windowSize:w,children:[t.jsx(Be,{title:q.common.navBarTitle,subTitle:e.lastRefreshSuccessTime!=null?e.lastRefreshSuccessTime.utc(!0).fromNow():"",backgroundColor:X.colors.grey5,onBackClick:m,rightSideComponent:k,showMenuIcon:w==="medium-compact"||w==="small",downloadPresent:!0,onClickMenuIcon:R,source:"OpExByVendorPage"}),t.jsxs(vo,{windowSize:w,children:[me?t.jsx(Pe,{allTabs:W,selectedTab:W[1].id,containerStyle:{borderBottom:`2px solid ${X.colors.grey3}`},onTabChange:b=>i(Oe(b.id)),previousTabPosition:d,setPreviousTabPosition:_}):null,t.jsx(Fo,{timeframes:ge,isCompareModeOn:L,firstMonthOfFY:e.firstMonthOfFY,allTimeframeTicks:e.allTimeframeTicks,selectedTimeframe:o.timeframe,selectedCOABalancesRange:e.filter.balancesRange,onAdditionalBalanceSelectionChanged:p,onTimeframeSelectionChanged:g,mode:o.mode,analytics:O}),Y!=null?t.jsx(Eo,{children:t.jsx(Ge,{balance:Y,dateText:Ro(Y)})}):null,t.jsx(Vo,{report:e,isEmptyPeriod:K})]}),t.jsx(zo,{reference:$,report:e,uiState:o,isEmptyPeriod:K,onAdditionalBalanceSelectionChanged:p,onVendorNameAndBalanceClicked:x,onSortOrderChanged:be,handleFetchOpExByVendor:fe,onPageFetchStarted:f,analytics:O})]})}return t.jsx(t.Fragment,{})},Fo=({timeframes:e,firstMonthOfFY:r,allTimeframeTicks:o,selectedCOABalancesRange:s,selectedTimeframe:i,onTimeframeSelectionChanged:l,onAdditionalBalanceSelectionChanged:m,mode:n,isCompareModeOn:p,analytics:g})=>t.jsx(Do,{children:t.jsxs($o,{children:[t.jsx(jo,{children:t.jsx(We,{timeframe:{allowedTimeframes:e,selectedTimeframe:i,onTimeframeSelectionChanged:c=>{g?.trackTimeframeSwitch(V(c),z("operating_expenses_by_vendor")),(c==="month"||c==="quarter")&&l(c),n==="compare_mode"&&!p&&m(p,p?["this_period_vs_last_period_percent"]:[])}},toggle:{label:B.getLocalizedStrings().compareSwitchLabel,isOn:p,isToggleDisabled:!1,onValueChanged:c=>{g?.trackCompareMode(c,z("operating_expenses_by_vendor"),V(i)),m(c,c?["this_period_vs_last_period_percent"]:[])}}})}),t.jsx(Re,{firstMonthOfFY:r,timeframe:i,timeframeTicks:o,selection:{selectedTicks:oe(o,s),highlightedOfSelectedTicks:oe(o,s)}})]})}),Vo=({isEmptyPeriod:e,report:r})=>{const o=H();return e?t.jsx(No,{children:t.jsx(Ke,{title:B.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(Io,{windowSize:o,children:t.jsx(ie,{children:({height:s,width:i})=>t.jsx(mo,{selectedRangeReport:r,width:i,height:s,isDetailPage:!0,showBarHoverBackground:!1})})})},zo=({report:e,uiState:r,isEmptyPeriod:o,reference:s,onAdditionalBalanceSelectionChanged:i,onTableScroll:l,onSortOrderChanged:m,onVendorNameAndBalanceClicked:n,handleFetchOpExByVendor:p,onPageFetchStarted:g,analytics:c})=>{const y=r.mode==="compare_mode",x=w=>{c?.trackCompareFilterChange(w==="compare_mode_percent"?"percentage":"amount",z("operating_expenses_by_vendor"),V(r.timeframe),"dropdown"),i(y,[w==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period"])},f=r.selectedAdditionalBalances.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",[d,_]=C.useState(void 0),[S,v]=C.useState(void 0),O=H(),R=J(),j=!(O==="small"||O==="medium-compact");C.useEffect(()=>{const w={reportId:e.reportId,mode:r.mode==="compare_mode"?"this_period_vs_period_before":"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",showNegativeAmountInParenthesis:Ee(),dataAvailable:e.dataAvailable,opexByVendorConfig:{sortKey:r.sortKey[r.timeframe],sortOrder:r.sortOrder[r.timeframe],isCompareModeOn:r.mode==="compare_mode",isAccountColumnShown:!0,isClassColumnShown:!0,onSortOrderChanged:m,sortOrSearchInProgress:r.sortOrSearchInProgress,pageFetchInProgress:r.pageFetchInProgress,onVendorNameAndBalanceClicked:n}};if(d==null||!le(S,e)){const $=xo(e,r,w,j);v(e),_($)}else{const $=So(d,w,e,j);_($)}},[r.mode,e]);const E=w=>w<e.opexBalances.length,M=()=>{r.pageToken[r.timeframe]!=null&&e.fetchState==="Completed"&&(g(),p(!0))},A=e.opexBalances.length;return t.jsx(Mo,{windowSize:O,ref:s,children:o?t.jsx(Ye,{}):d!=null?t.jsx(Ao,{children:t.jsx(He,{backgroundColor:new $e(R.colors.grey4),rootNodes:d,type:"name+balances_actual",compareMode:f,isSticky:{isStickyHeader:j,isStickyName:j},treeNodePadding:{left:N.contentPaddingLeft.value(O),right:N.contentPaddingRight.value(O)},nodeOpenStatus:{},scrollPosition:r.scrollPosition,onCompareModeChanged:x,onScroll:l,infiniteLoadingProps:{isItemLoaded:E,itemCount:A,loadMoreItems:M}})}):null})},Ro=e=>{const r=e.startDate,o=e.endDate,{vendors:s,dateFormat:i}=B.getLocalizedStrings();return`${s.opExByVendor.in} ${r.format(i.visual.MMMYYFormat)} - ${o.format(i.visual.MMMYYFormat)}`};export{fr as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{y as i,V as n}from"./index-C9hDAJ7o.js";import{n as r}from"./mui-BQR0Ruo4.js";import"./sentry-Ckvw8Zf1.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./zeni-epic-state-BnsQ52n7.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="03bb0ffd-0bcb-4ee9-b17f-a16356e3bb01",e._sentryDebugIdIdentifier="sentry-dbid-03bb0ffd-0bcb-4ee9-b17f-a16356e3bb01")}catch{}})();const d=r.div`
|
|
2
2
|
display: ${({isOpen:e})=>e?"block":"none"};
|
|
3
3
|
position: fixed;
|
|
4
4
|
top: 0;
|