@zeniai/web-cockpit-ui 1.14.11-qa → 1.14.12-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-BQBpkHfF-5WBNzAYc.js +21 -0
- package/dist/assets/{AIPerformancePage-pQP8EI_S-BmqjuJLP.js → AIPerformancePage-C459GJxs-fTjD1LWj.js} +49 -49
- package/dist/assets/{AccountInfoPage-DxAa9GD7-D7apIJBS.js → AccountInfoPage-DWqJj9l6-B6y2ESMc.js} +5 -5
- package/dist/assets/{AccountInfoPageContent-tNTpX5pA-Dq_hVydq.js → AccountInfoPageContent-Ca328DM4-QVdlDPGz.js} +17 -17
- package/dist/assets/{AccountReconDetailsDrawerPage-CbZaDfU0-DaawWCL4.js → AccountReconDetailsDrawerPage-BqIo4mya-DvoWQJ-A.js} +13 -13
- package/dist/assets/{AccountRow-BpBK8mVs-CWKKWdc9.js → AccountRow-Bk3xWobY-C3BJwyhC.js} +33 -33
- package/dist/assets/{AccountsPromoCardStack-DBCYok4Z-A49ZhRDR.js → AccountsPromoCardStack-Co90dxxm-D8gTFju4.js} +35 -35
- package/dist/assets/{AddAddressForCardDrawer-BP8sDedz-DSB40bVC.js → AddAddressForCardDrawer-XNGsKMvs-D3xdyQox.js} +2 -2
- package/dist/assets/{AddToWalletPage-Dsw1GIbh-BSm9RiLd.js → AddToWalletPage-BiQWQXvz-Db3v8rAa.js} +26 -26
- package/dist/assets/{AgingReportsPage-COC3iACh-C5F0xJIX.js → AgingReportsPage-ClR6ctjm-BIaxAdn5.js} +8 -8
- package/dist/assets/{AllUserItems-DKoDASKq-DdNtnSb4.js → AllUserItems-RFWkNfw--KR4FkXJv.js} +10 -10
- package/dist/assets/{ApAgingDetailPage-BKAJMyRm-BNLhw8rC.js → ApAgingDetailPage-F-pd4-We-CpSc-V5Y.js} +2 -2
- package/dist/assets/{AppBasePage-6fgXwSBv-D_v1hA25.js → AppBasePage-B9-FGKn--2PuIe5q1.js} +6 -6
- package/dist/assets/{AppDrawerContent-DnYw60Xv-B7MgYjtO.js → AppDrawerContent-C6P8rk3y-D4vfBiW2.js} +19 -19
- package/dist/assets/{ApprovalRulesSettingsPage-X4EYoBfl-KdnTY675.js → ApprovalRulesSettingsPage-CPNEEGTF-D1-OmKoO.js} +5 -5
- package/dist/assets/{ArAgingChart-CNghm3pm-BgpJccmt.js → ArAgingChart-D9qmMVoC-xX4UMVP_.js} +6 -6
- package/dist/assets/ArAgingDetailPage-DMuZM6P_-BndjVsLP.js +46 -0
- package/dist/assets/{AttachmentView-Bp678glv-q5i7KaEA.js → AttachmentView-B2ZOED0q-BJNMGobn.js} +7 -7
- package/dist/assets/{BankAccountSection-DCHOrv1O-5bvqtg8o.js → BankAccountSection-C8G4yj75-DuLz4nvb.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-Bof6a4Ai-D_X_UYgf.js → BankAccountWarningSection-CWXa-X6f-DfZDDQCz.js} +11 -11
- package/dist/assets/{BankConnectionsSettingsPage-KWPfd_oN-Bz0yQRf6.js → BankConnectionsSettingsPage-B5IQ5w6f-iwQpc5z9.js} +11 -11
- package/dist/assets/{BillDetailPage-D5FyJKQZ-BDKG0T5L.js → BillDetailPage-B-PMkZ44-BthpQ-iy.js} +8 -8
- package/dist/assets/{BillPayApprovalRuleDetailPage-C17DUKc8-uDIFTPco.js → BillPayApprovalRuleDetailPage-CdLKENJ--UWgYicIp.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-C6b0Dx9D-DhxHdUJx.js → BillPayApprovalRulesPage-BueljBn0-Bfh6hqvA.js} +10 -10
- package/dist/assets/{BillPayPromoPage-BhbcKNjD-CvojuwFp.js → BillPayPromoPage-WXntEliq-BogAEb_N.js} +8 -8
- package/dist/assets/{BillPaySetUpPage-DFkYsW2C-BYQSIQ2q.js → BillPaySetUpPage-By7rYetf-BUuU8LQN.js} +2 -2
- package/dist/assets/{BillingSettingsPage-DQ-GDRoK-DXTBvn4K.js → BillingSettingsPage-D-XtlyVU-DEnOD97y.js} +8 -8
- package/dist/assets/{BillsBulkReviewDrawerPage-DzTwDeIy-DqYYhO09.js → BillsBulkReviewDrawerPage-P8siJ8lO-Bp2c_793.js} +1 -1
- package/dist/assets/{BoxItem-a04JWA45-C1LNy4lJ.js → BoxItem-Bcy7IYuZ-DautVok3.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BCr_ObVJ-B8FzYlfZ.js → BusinessVerificationPage-BoSLJbyU-BkzAyvoH.js} +12 -12
- package/dist/assets/{CardNumberSubText-B5ejHnml-C3WWdznE.js → CardNumberSubText-VsMOF0Xv-C9_EOnyV.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DX_XsNhS-BZkWZvJX.js → CashbackDetailPage-DNbRs50r--xwa0kLc.js} +25 -25
- package/dist/assets/{ChargeCardDetailPage-Ckbi7U9j-DV5ro9Lj.js → ChargeCardDetailPage-BSDS8Kqb-CvvgjUiJ.js} +57 -57
- package/dist/assets/{ChargeCardListPage-CglfbPqr-DkdBMcPW.js → ChargeCardListPage-Bzr8qMC0-COqTxfBS.js} +20 -20
- package/dist/assets/{ChargeCardListTable-BxAeA97m-DhK6iFhq.js → ChargeCardListTable-CTp6TFBR-DoKiJmmd.js} +41 -41
- package/dist/assets/{ChargeCardPromoPage-BfsQUUYb-Dgj-8gSG.js → ChargeCardPromoPage-dIg8OIlx-XWvzHV4l.js} +31 -31
- package/dist/assets/{ChargeCardSetupPage-Bq953HsV-J6EdPALC.js → ChargeCardSetupPage-B1wzJjgH-CBaIBhaa.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-B_5uvkaq-GOsKFOMZ.js → ChargeCardStatementsPage-CePfbLPp-w444eaXi.js} +10 -10
- package/dist/assets/ChargeCardUtils-DC2v2EHU-BFBTkwUP.js +1 -0
- package/dist/assets/{ChaseOverlay-LcVAgdoT-9JR0Zv57.js → ChaseOverlay-B-Sx71yo-C-AskbE-.js} +7 -7
- package/dist/assets/CheckDepositDrawerPage-uABg3PMN-BZAFC99F.js +206 -0
- package/dist/assets/{CollapsableReportTable-CKmPwC_x-QhRCql-r.js → CollapsableReportTable-mEqm05fp-D6CvF14n.js} +57 -57
- package/dist/assets/{CompanyOfficerDetailsSection-BlLsNJaD-DFeWFucX.js → CompanyOfficerDetailsSection-BzYsDrr2-CsOvplVx.js} +28 -28
- package/dist/assets/{CompanyPassportCard-ElwK6uOD-F6JuKciR.js → CompanyPassportCard-Ct6tCZqT-Ck2ikxpq.js} +8 -8
- package/dist/assets/{CompanyPassportPage-B6mGjsJZ-D4tm48-a.js → CompanyPassportPage-D9NQ4bXl-sWP3h2Qt.js} +7 -7
- package/dist/assets/CompleteProfile-CN_hAW-2-Cag0kPdJ.js +36 -0
- package/dist/assets/{ConfettiBurst-CjhkW_Be-BI15fZq4.js → ConfettiBurst-DqSwVGBC-DTqMp1Lq.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-DHvmRSee-CxkBhh6M.js → CreateOrEditVendorPage-D27A1926-Dhm0ZELF.js} +15 -15
- package/dist/assets/{CreditCardPaymentDrawerPage-BIaTYAUf-B7y-9nys.js → CreditCardPaymentDrawerPage-BI37dSwx-62q04GEy.js} +11 -11
- package/dist/assets/{CreditCardPaymentPlgSection-mUqReF9z-BfHxZrsE.js → CreditCardPaymentPlgSection-CAsn4Ae6-BjGYp9i3.js} +12 -12
- package/dist/assets/CurrencySelectField-5uG4FfJ9-BDdfhX8u.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-CIOyRd8r-FLMbZZc8.js → CustomerOnboardingActivationPage-Be-GrAiK-C2g5Nk62.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-B9qcJNx5-DvSZ9aFU.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-A_l9Qen8-C1oSOHVg.js → CustomerOnboardingDetailPageSkeleton-DhGp71bj-DHW9XHps.js} +13 -13
- package/dist/assets/{CustomerOnboardingNoStepsPage-D5BcbVEK-pj30prKU.js → CustomerOnboardingNoStepsPage-CdOGTNXC-k7L31nJ8.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-N-8Zd7M_-DNIqvHf3.js → CustomerOnboardingPage-ClPsywa3-CFzRDdjv.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-DZwacur5-hGJUPhue.js → CustomerOnboardingProductSuitePage-pnHglqXq-BoMrKg2u.js} +8 -8
- package/dist/assets/{Dashboard-CQoNm84Z-Cs2ZdkxJ.js → Dashboard-avtbjFLf-DvcVqu7f.js} +1 -1
- package/dist/assets/{DashboardReportPage-D4BoWobJ-yZjHxD4A.js → DashboardReportPage-CqJAu5WP-DxhW1pos.js} +13 -13
- package/dist/assets/{DepositAccTransactionItem-C6_OrohL-BGfaLs6w.js → DepositAccTransactionItem-Da0GWYei-DZh1aBKG.js} +6 -6
- package/dist/assets/DepositAccTransactionListPage-Db90ITIq-B9ylpAgD.js +66 -0
- package/dist/assets/{DocumentSecurityBanner-Bo9Hgo-I-rtEtCt6Y.js → DocumentSecurityBanner-Bxg3ctYZ-hOyP50NE.js} +2 -2
- package/dist/assets/DomesticWireDetailsPage-DGcVKriv-H9iyT4_J.js +21 -0
- package/dist/assets/{DownloadOverlay-BoIyiJ9R-DsBfFiz4.js → DownloadOverlay-BdGiqnp7-B--FKXJU.js} +25 -25
- package/dist/assets/{DrawerPage-C_kxrXIc-DVV_RfYu.js → DrawerPage-DCfm1BVs-BnE3GKCd.js} +5 -5
- package/dist/assets/EditPeoplePage-CBPmCcoG-Dv-eYAXF.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-C-Lj-_YG-CD5iBKwa.js → EditReimbursementDetailPage-C-nYgUua-657t3H5o.js} +68 -68
- package/dist/assets/{EntityDetailPage-Cqkhzu9O-D4nSYNpc.js → EntityDetailPage-4HX_rHUf-CQIILZS8.js} +3 -3
- package/dist/assets/{EntitySummarySection-Dqgxknt6-BJXynL5O.js → EntitySummarySection-C9VeOBpT-CyjmmYl7.js} +3 -3
- package/dist/assets/{ExpenseAutomationOverviewPage-CEsyeJ9u-BgjJamdE.js → ExpenseAutomationOverviewPage-8jTkscWa-CSL-Ff0N.js} +22 -22
- package/dist/assets/{ExpenseAutomationPage-DxpK2JR5-Bno6HNVc.js → ExpenseAutomationPage-D1wcc9GW-BnW2S6f_.js} +84 -84
- package/dist/assets/{ExpressPayPage-DBWJERD9-C99_7DYc.js → ExpressPayPage-Cj6cvMwQ-B3xsIydY.js} +12 -12
- package/dist/assets/FeaturePreviewPage-BBkfKvIu-BO0Ix0ac.js +11 -0
- package/dist/assets/{FollowStepsSection-BrJecw-e-DxiUX8Lf.js → FollowStepsSection-DjfnVH8N-DC94T1ld.js} +13 -13
- package/dist/assets/{GlobalReviewListPage-Duoi9mD_-xu3W8826.js → GlobalReviewListPage-CEOzc0We-Dzo-H4fB.js} +8 -8
- package/dist/assets/{HelpButton-C1djo0zO-CxYW3QWQ.js → HelpButton-BdhMFvtG-BQoUMZgM.js} +5 -5
- package/dist/assets/{InformationCardStack-BE5eaq-x-jnl5_r_P.js → InformationCardStack-DFOumIBr-DYp-Y1-6.js} +5 -5
- package/dist/assets/InsightsCardStack-rByhzgji-C_39DSFU.js +79 -0
- package/dist/assets/{InsightsSection-nzKuS0T9-DxBuHfNE.js → InsightsSection-jnWJ877y-B7dup9Hm.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-45ETlpC6-Ceg3xdUn.js → IntegrationsSettingsPage-DF-jcHzr-CezJdw9j.js} +7 -7
- package/dist/assets/{InternationalWireSwiftDetailsPage-B21X5YFS-DUJjwzMe.js → InternationalWireSwiftDetailsPage-BFMqW1oQ-DTpqOglD.js} +15 -15
- package/dist/assets/{InternationalWireVerificationPage-BzagdPaG-ETH-TFJ4.js → InternationalWireVerificationPage-Cq7swzrt-CjhvwwKs.js} +17 -17
- package/dist/assets/{InviteFormPage-BNdBP-Mm-DdF7yrct.js → InviteFormPage-DXl2sEn9-BCdDtuKU.js} +25 -25
- package/dist/assets/{InvitePageListView-ChzmK7Rt-CsxcBmQK.js → InvitePageListView-B5fRPcOg-CSGuFFZf.js} +51 -51
- package/dist/assets/InvitePeoplePage-DvGON1va-CZwxU8KK.js +12 -0
- package/dist/assets/{InvoiceUploadSection-B8o-l15n-DT5xRRC2.js → InvoiceUploadSection-opkVsXZH-CITMTH3B.js} +41 -41
- package/dist/assets/{IssueChargeCardPage-BW0cXQqh-Am6endI_.js → IssueChargeCardPage-CZU1qbHO-Bk0rsSk1.js} +27 -27
- package/dist/assets/{LabeledAddressValue-BioQUVCV-BQVyTN5W.js → LabeledAddressValue-CCd3y8zQ-iyUnGXzQ.js} +1 -1
- package/dist/assets/LabeledAddressValueField-XuFlx-oK-BwOm2urL.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-CGT7KsYZ-8Yk74ikH.js → LabeledControlledCheckBoxField-CCQn4-_S-DGlsZAic.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-nys9pbO0-Cdtj6tvs.js → LabeledCreatableSingleSelectField-uQKngCdt-D9uymIz_.js} +3 -3
- package/dist/assets/LabeledDocumentField-TFmz23mS-VXex-CEg.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-DWP9oUzM-Bq2gS2Tu.js → LabeledDropDownFormattedTextField-BrUNxsKy-CYES9RG5.js} +7 -7
- package/dist/assets/{LabeledText-QrjXGWwJ-CNRYgiQJ.js → LabeledText-ByqI7uq0-D8BGktgf.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BK9XCXKo-piBn824J.js → LabeledUserSingleSelectWithSubtitlesField-Dg1Lpwl0--1MhGerh.js} +17 -17
- package/dist/assets/{LabeledZeniRolesDropDownField-C2PAZOPW-BazOR2LB.js → LabeledZeniRolesDropDownField-DZL4GZtE-BNEsxcqO.js} +11 -11
- package/dist/assets/{LinkJETransactionPage-BF6-BdWE-DwavLRyr.js → LinkJETransactionPage-CJlBllrr-ETCcWTop.js} +8 -8
- package/dist/assets/{LowBalancePopup-ZZ8Ap8Ls-8KOv0WBL.js → LowBalancePopup-BEvuAR0Z-Kia1x8I_.js} +5 -5
- package/dist/assets/{MagicLinkACHDetailsPage-BDXiOwx_-CO5NrWbz.js → MagicLinkACHDetailsPage-DloX1GWg-CtJ6plz2.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-B1-CK91r-CLFCWolP.js → MagicLinkDomesticWireDetailsPage-DewjvM4v-DF6PmcFA.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-D2rnWzME-CH-1IkqQ.js → MagicLinkInternationalWireDetailsPage-CVhazlxQ-B8pL68gZ.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-dxBSlbub-ClJhOXum.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-CmTUPCA1-CdDbl1jW.js → MagicLinkTitleSection-d1edBt3w-BD8o8cwj.js} +4 -4
- package/dist/assets/MailingDetailsSection-CsK09X11-D22aceHc.js +21 -0
- package/dist/assets/{MeetingCalenderPopup-COpKcBhx-DUhr4aqa.js → MeetingCalenderPopup-MtSyJ1AS-Dyh9nazJ.js} +1 -1
- package/dist/assets/{Menu-frAXxk4e-CEl4TWuB.js → Menu-BV79l8xf-CtLHaQYM.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-BtC6C9fL-Du0eSPRF.js → MyBankConnectionsSettingsPage-D-xDtURG-CDD3juRJ.js} +13 -13
- package/dist/assets/{MyPendingActivationChargeCardListPage-tXIpyxdq-Be08cRIN.js → MyPendingActivationChargeCardListPage-VEhml0PW-BbFLOnd_.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BmMskLyK-BhR2LYzK.js → MyProfileSettingsPage-DPJ0fJdQ-HGd1_8K1.js} +8 -8
- package/dist/assets/{NavBarWithPicker-ByLynfu6-BwveajND.js → NavBarWithPicker-CuJe05iJ-CEMXAgd3.js} +6 -6
- package/dist/assets/{NavigationArrow-D5-YpdfE-BwY9x4L-.js → NavigationArrow-BwXNdvOg-DB9DQksO.js} +5 -5
- package/dist/assets/{NavigationDots-MA8SVlUT-xHbUxadi.js → NavigationDots-BQfoX9p0-BJMutEpY.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DtTW2Du8-DMQT2zFb.js → NewGlobalMerchantPage-IeE86L-X-BtZvif-9.js} +21 -21
- package/dist/assets/{NoDataChart-BdzVnx59-oKIht6u7.js → NoDataChart-C9yfE8vY-CyPn8PGK.js} +1 -1
- package/dist/assets/{NoDataTable-B4J5Ou18-Cw0Ivws_.js → NoDataTable-DF9QNT4a-B8P0Ebsk.js} +1 -1
- package/dist/assets/{NotFoundPage-BeAXQOme-CuhCQaCm.js → NotFoundPage-DSaizJve-BYRmXif6.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-CRZRet42-ChT5Efdt.js → NotificationSettingsPage-DeAeFHmj-AgKU0y_T.js} +13 -13
- package/dist/assets/{NotificationsListConfig-CkSDaMij-BWI9bnS_.js → NotificationsListConfig-DuzDckh--DIE08d6S.js} +1 -1
- package/dist/assets/{NotificationsPage-Dqe96fU8-B4GRmHU9.js → NotificationsPage-B7ZC7ezP-CzbzVwOm.js} +32 -32
- package/dist/assets/{OpExByVendorPage-CXtkN87m-9RF5RbBE.js → OpExByVendorPage-DzODetHf-C_mWOIaM.js} +7 -7
- package/dist/assets/{OverlayContainerPage-Cy_Jxf8N-Bv7YPFQu.js → OverlayContainerPage-GWXnlbZH-Bzp-AyLZ.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DTOqkynU-DcIpR3TG.js → PandLWithForecastPage-FEi5USqF-Dh26joVS.js} +8 -8
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-C6WFeB3A-JhDc6t0k.js → PaymentAccountSetupBillingAddressSection-BbL4x5pQ-D9T2pc9O.js} +11 -11
- package/dist/assets/{PeoplePage-D-j114xg-BxamB_kT.js → PeoplePage-B35T31YZ-DeAagHOG.js} +1 -1
- package/dist/assets/PortfolioAllocationFormPage-D3FP_MRr-DXcXxyUV.js +207 -0
- package/dist/assets/{PortfolioDetails-Bbfo0XDo-CpIyByD0.js → PortfolioDetails-Dtz3YEPu-CLhPVP_M.js} +29 -29
- package/dist/assets/{ProductsCarousel-COUx0Xdj-C589g0zM.js → ProductsCarousel-DIlEuuqg-DDOJtugP.js} +6 -6
- package/dist/assets/{PromoBaseCards-DG1CAZvU-DDe9HUmw.js → PromoBaseCards-DTsaas8S-vBFc1f2h.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-DLVcifji-0Jo7Zt8G.js → QBOConnectionDialog-Cvt38cmU-D0iq5FNX.js} +10 -10
- package/dist/assets/QBOSetupSection-Dijb03ZX-1HKzJLXv.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-bkJIpwyU-pBLvNKjP.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-CTk2aZMz-P7YlSIWb.js → ReimbursementApprovalRulesPage-BG8uMxNw-Cf6pCIHH.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-BofsP0W--3SXuCoLt.js → ReimbursementDetailPage-Cs7XeZrC-D-NQ4ltb.js} +17 -17
- package/dist/assets/ReimbursementPromoPage-CKITZNUc-2-Ea8pDZ.js +112 -0
- package/dist/assets/{ReimbursementSetUpPage-Em6S1wkj-DUaBVZlT.js → ReimbursementSetUpPage-DD5P181p-C0K4OEHu.js} +8 -8
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DpWChhvB-Bbi3QmlG.js → ReimbursementsBulkReviewDrawerPage-C0eORL7o-B8b5o1o8.js} +1 -1
- package/dist/assets/{ReloadCard-CZ1Ix5em-ntwCW2pN.js → ReloadCard-CZ4IXHy1-BJxA7jIu.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-BRA3CT_O-5B_3yPmG.js → ReportTableViewSelector-Do0yQJxY-CNf50Tz7.js} +28 -28
- package/dist/assets/{ReportsPage-CauV3wnZ-JaeNla79.js → ReportsPage-BUi475EG-yOqvkhUn.js} +5 -5
- package/dist/assets/{RevenueChart-BeM_1hYw-BC40z0R8.js → RevenueChart-DPNqxQ4n-BN71k4Px.js} +12 -12
- package/dist/assets/{ReviewDetailsPage-C5xC8Cf1-BAevb1zN.js → ReviewDetailsPage-DTCC2C0D-CbWjRazt.js} +16 -16
- package/dist/assets/{ReviewOverlay-DdWa7GLG-BGKsJw6X.js → ReviewOverlay-CPN-RHG--Bk6qHS4b.js} +15 -15
- package/dist/assets/RoleWithToolTip-Bst2IdUy-DGhNj3An.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BlhhW9A6-ttxCT2nP.js → ScheduleDetailsFixedAssetsPage-BSz5BdJ4-CLAcrRlD.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-BKWKZuAL-Dj0cWygj.js → ScheduleDetailsPage-DKVlaW9e-SKWttzgw.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-BzWPTqDM-6FAFWl-T.js → ScheduleSequenceTable-BhpHoReF-CFX3LJjF.js} +50 -50
- package/dist/assets/{ScreenRoutes-DjRy_uCy.js → ScreenRoutes-B4X7AN4H.js} +62 -62
- package/dist/assets/{SetUpAccountSection-Trj1x2HL-BZyG0FUR.js → SetUpAccountSection-Blh-Vipv-948X1LRE.js} +23 -23
- package/dist/assets/{SetUpDefaultSection-BQzNGjO7-C6ny-1cl.js → SetUpDefaultSection-DsyZbNsv-D0zBNq1O.js} +8 -8
- package/dist/assets/{SignIn-Duk9PNwU-XgHu7-OU.js → SignIn-DehOoUba-DOHewgw9.js} +19 -19
- package/dist/assets/{SignInScreen-BZwFN3GK.js → SignInScreen-CkgAQ_YN.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-CREdM633-X97fArWe.js → SpendManagementListViewPage-C23fDDXZ-BPWPXBga.js} +6 -6
- package/dist/assets/{SpendManagementPerTabPage-BZ6ISWXe--gdxlwsD.js → SpendManagementPerTabPage-Cx0sB3qO-wloMSaZU.js} +28 -28
- package/dist/assets/{SpendManagementSection-bMsztUap-ChI9xiC5.js → SpendManagementSection-DbZYpbtO-DS4pqXC3.js} +13 -13
- package/dist/assets/{SpendMgmtSetupAccountSection-Btdtp-ry-25hbeX41.js → SpendMgmtSetupAccountSection-BkUIdz9m-BSOUg3BU.js} +18 -18
- package/dist/assets/{StatementItem-XLqlrHIu-VUIrNJz9.js → StatementItem-BF8L0fc_-C244j_B_.js} +5 -5
- package/dist/assets/{StatementsPage-DWiXiOFU-DpX-5t-Y.js → StatementsPage-96e3ZbSU-D7usTGed.js} +4 -4
- package/dist/assets/{StatusSwitcher-D1XZ-pbx-cB_dyto4.js → StatusSwitcher-jwpQ49F7-D9kXIopT.js} +4 -4
- package/dist/assets/{SubTabSwitcher-Bt3F7ANv-HbYWozk_.js → SubTabSwitcher-B8H6McwL-DbChhvTl.js} +7 -7
- package/dist/assets/{SummaryCard-edbbHOmb-BEN1lpgF.js → SummaryCard-Bv4ja9yJ-CEGyY5M9.js} +1 -1
- package/dist/assets/{TaskManagementPage-BhtJBdco-BwmkQiB4.js → TaskManagementPage-D7tD4WRl-CyzvnBh9.js} +26 -26
- package/dist/assets/{TimeRangeSwitcher-D9KzhRYO-CGt3UmvC.js → TimeRangeSwitcher-Cr-ObvZ9-_GLiJwhW.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-CbEHKZvd-BCN5TvqV.js → TimeframeSwitcher-YkFxZedG-D2Jl4z2_.js} +4 -4
- package/dist/assets/{TimeframeSwitcherWithToggle-Cb91RXpD-DUY2ERxI.js → TimeframeSwitcherWithToggle-4h9WX4z9-DcT4eGJv.js} +2 -2
- package/dist/assets/{TopExCard-DD9Rf9T6-CUD3JVc3.js → TopExCard-DtrsuLFD-CD31vD_h.js} +5 -5
- package/dist/assets/{TopExDetailPage-DaDuwFrj-ClnsDrKm.js → TopExDetailPage-HMRdJt_a-CqlXXHAH.js} +16 -16
- package/dist/assets/{TransactionDetailPage-0fIW4o-6-BtL9d2ga.js → TransactionDetailPage-CkWEdpTW-DkF9a8kj.js} +34 -34
- package/dist/assets/{TransactionList-CLjBadiP-DaI1JPM6.js → TransactionList-8rOZr8BD-BFZ_UeU1.js} +8 -8
- package/dist/assets/{TransactionListBig-CwBxP1xB-Clk1cQcr.js → TransactionListBig-DGx1qy2c-Cj8rID58.js} +24 -24
- package/dist/assets/{TransactionListPage-S1nTM7Yy-BXDsYhyh.js → TransactionListPage-CnbufCaM-BnCVec09.js} +3 -3
- package/dist/assets/TransactionVendorDetailPage-UpZX_EgR-BhFMpvuw.js +80 -0
- package/dist/assets/{TransferDrawerPage-BJDNWagE-ClPD7-YE.js → TransferDrawerPage-cUyg27nq-BRj8U3av.js} +26 -26
- package/dist/assets/{TreasuryOverviewPage-DB-ZH19K-DqpiFB-5.js → TreasuryOverviewPage-DoPe6v4O-CCqccW1l.js} +31 -31
- package/dist/assets/{TreasuryPromoPage-3MwRPpCt-BfvkdVaO.js → TreasuryPromoPage-Db20FO_G-sfhrpc5P.js} +21 -21
- package/dist/assets/{TreasurySetupPage--G4JCzdh-DA6_HWAL.js → TreasurySetupPage-BoVhd65r-CwafywLn.js} +10 -10
- package/dist/assets/TreasuryStatementsPage-BONCF7O1-B0fw544j.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-NCZ0Y4yr-1T7-yG_S.js +58 -0
- package/dist/assets/{TreasuryTransferOrReviewPage-ByM1UIiU-Bl3BH8HM.js → TreasuryTransferOrReviewPage-DAmZboLO-20agXPX1.js} +44 -44
- package/dist/assets/{TrendChart-B0CS3MXT-D4ZaQVdh.js → TrendChart-DQXhBbqy-BDomlWCz.js} +3 -3
- package/dist/assets/{TrendWithTransactions-D4OAA6yK-CZGys78m.js → TrendWithTransactions-Du-a-c_9-BQa8Yj73.js} +9 -9
- package/dist/assets/{UncategorizedAccountsMappingPage-C6jaWqrE-C-92ar8F.js → UncategorizedAccountsMappingPage-mSPC4LpU-BFboIJY0.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-5LOvIFvr-BluS5BB9.js → UnitIntegrationPage-B5O9G4QH-D5ADrdli.js} +5 -5
- package/dist/assets/{UploadAdditionalDocumentOverlay-CLQLrn0v-DY-77k9g.js → UploadAdditionalDocumentOverlay-CnjzAGYo-LBzsfon2.js} +2 -2
- package/dist/assets/{Vendor2FAPopup-BOl520xa-Dt6F8E1q.js → Vendor2FAPopup-CYcCB8tr-CXCRP0gB.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-B5jKUOjo-B4yUV9Ye.js → VendorACHDetailsPage-C6EuQBcH-TUoKo8Rz.js} +1 -1
- package/dist/assets/{VendorDetailPage-B0GRXPKg-CA80qYWU.js → VendorDetailPage-CnSXWVCg-1hnRc8cc.js} +15 -15
- package/dist/assets/{VendorDomesticWireDetailsPage-CeI3QihK-B8yONSic.js → VendorDomesticWireDetailsPage-CVTkzHFB-BV1I21DW.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-aNGSdZBf-CyZQ-IxR.js → VendorFiling1099EditablePage-TJb9mpk0-CoXUKsdg.js} +11 -11
- package/dist/assets/{VendorFirstReviewPage-CjwnZLcm-Cs4x3rcX.js → VendorFirstReviewPage-gBLVMddY-CjxHy67B.js} +40 -40
- package/dist/assets/{VendorInternationalWireDetailsPage-w-46Xxg--Cvm17HTp.js → VendorInternationalWireDetailsPage-Bhm7j6HC-DsFGzuk8.js} +15 -15
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C5dogij9-Dga7zQTh.js → VendorInternationalWireSwiftDetailsPage-MgN7VFET-DYSQMIco.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-DBYoP6us-DpK6bEzn.js → VendorsAccountsSection-Cn-8Yemv-Ba4x1KCB.js} +8 -8
- package/dist/assets/{WarningsDrawerPage-CZcR7kH4-CIXMQAfX.js → WarningsDrawerPage-Cc_Rty0A-C8AX9SCt.js} +22 -22
- package/dist/assets/{ZeniAccountDetailPage-C-NQEE2--BEYCTo6P.js → ZeniAccountDetailPage-BU2TTiDP-g3X34Mnd.js} +28 -28
- package/dist/assets/{ZeniAccountListViewPage-Cb8Ptf-w-pA8-UWgA.js → ZeniAccountListViewPage-DbcnkYvX-BflkDx8D.js} +20 -20
- package/dist/assets/ZeniAccountNavBarPieces-CeJHAl4O-DAWPUiSq.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-D5ihjbrM-CXHTXM3S.js → ZeniAccountPromoPage-D-5ArrRO-D5w2UaAO.js} +29 -29
- package/dist/assets/{ZeniAccountSetupPage-BRxz_tnh-CYEsC3w5.js → ZeniAccountSetupPage-DXYR0Ipo-B3amHFDO.js} +5 -5
- package/dist/assets/{ZeniCopyright-Bi82glrb-BRrA0AqO.js → ZeniCopyright-DPd1ifIT-DgcZx02q.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-di46G5TN-DYM1NSO4.js +63 -0
- package/dist/assets/{analyticsHelper-pUiXW9f6.js → analyticsHelper-3e_AZjy7.js} +1 -1
- package/dist/assets/{analyticsHelper-D3DK7bgU-D0sMi45U.js → analyticsHelper-DrNmU0vn-Br27aA8M.js} +1 -1
- package/dist/assets/{chartTypes-DJY-6KK0-SGOoEyJZ.js → chartTypes-YTQv3tre-G_MCNcTV.js} +1 -1
- package/dist/assets/{commonDimensions-DRK1vfDX-BlL6juoL.js → commonDimensions-BtmBVXgZ-C8cgTp9k.js} +1 -1
- package/dist/assets/{detailCommon-6K-6m9pv-1H1N15Tv.js → detailCommon-hHyz3hj3-Ch-6FqzV.js} +9 -9
- package/dist/assets/{downloadPdf-DAA4T-qo-DGFaMd6S.js → downloadPdf-CDvgLzWC-CPQqckVY.js} +1 -1
- package/dist/assets/{index-CiKxqrxk.js → index-Dhj1_7g2.js} +4147 -4247
- package/dist/assets/{mapLoadingInProgressToTreeNode-BAlOrI07-Bu5AjmSW.js → mapLoadingInProgressToTreeNode-BfoqmoAq-CfCX7DmO.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Bk-EXs-E-CmXnWtv4.js → mapSectionWithAcOnlyToTreeNode-BjtxR9iQ-iXp5bvzM.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-Cxd9BEJr-Bo_chRJz.js → mapSpacerToTreeNode-D8o529OP-D7qZ7B73.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Cf8fsAZJ-BkPpGHJf.js → mapTimeframeBalancesToTreeNode-BirMnIzY-BLeanjGG.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BzFUtqqU-BVi3Z0h1.js → mapTimeframeBalancesToTreeNode-NA69l84M-B1SJFT_Z.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CZMzZg1q-DwuR5tyN.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BCqRt8GN-DK4OBREu.js} +1 -1
- package/dist/assets/{play-icon-DY_hSiAf-56dnsDLb.js → play-icon-DyIc5aGx-BmGFKkF-.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-BaqBVqJ_-CGRkqNDS.js → toCOABalancesWithID-2jQJLb8S-BXYka2hz.js} +1 -1
- package/dist/assets/{toChartData-7MYPev1U-_Gg3mLDi.js → toChartData-Dsjd8dGe-Igu99-cv.js} +1 -1
- package/dist/assets/{treasuryColorHelper-CDhLDRLr-COVWjAtV.js → treasuryColorHelper-EG8VpBia-BOX0NA6c.js} +1 -1
- package/dist/assets/{uploadAttachment-DqCoxBNU-m18_9GhV.js → uploadAttachment-CVUM4FN--B82Va_J6.js} +24 -24
- package/dist/assets/{uploadReceipts-CU1mDxNv-D_CYTfGX.js → uploadReceipts-D80JLNY4-Cvp7FmYB.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-D6-Uk4xr-jFv1GnoI.js +0 -21
- package/dist/assets/ArAgingDetailPage-DD4M5tUJ-BlYSsYlo.js +0 -46
- package/dist/assets/ChargeCardUtils-Bivw83fy-DoKh_ipP.js +0 -1
- package/dist/assets/CheckDepositDrawerPage-SpI62oU7-ay-ttmIe.js +0 -206
- package/dist/assets/CompleteProfile-C1PIn6EM-Ir6BV2zK.js +0 -52
- package/dist/assets/CurrencySelectField-DS-pGcuE-BGqiVYG1.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-Lh0xH_Pl-BrVAUFsT.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-Cxvs7tMg-CZX95_vZ.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-DzKlJFvy-C-BExS4G.js +0 -21
- package/dist/assets/EditPeoplePage-auUWC3gB-eVdswl0e.js +0 -55
- package/dist/assets/FeaturePreviewPage-CwGJVCMk-C88NXisE.js +0 -11
- package/dist/assets/InsightsCardStack-EzAsNm_U-DOxieK32.js +0 -79
- package/dist/assets/InvitePeoplePage-DgqE2Y-0-CrbUVUxy.js +0 -12
- package/dist/assets/LabeledAddressValueField-Cw-p18du-ncMTWBsz.js +0 -45
- package/dist/assets/LabeledDocumentField-Y6TKpyZ8-CxE5GTn1.js +0 -41
- package/dist/assets/MagicLinkSuccessPage-IHajRicG-BibYk803.js +0 -31
- package/dist/assets/MailingDetailsSection-AiehjqI1-DltTuNAp.js +0 -21
- package/dist/assets/PortfolioAllocationFormPage-C4XzSjzr-Ckb17xct.js +0 -207
- package/dist/assets/QBOSetupSection-BeRZZ-Q_-sC98B-t_.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-CrbiufS3-CDL6aFMg.js +0 -26
- package/dist/assets/ReimbursementPromoPage-CA2cUBsx-DTv3uM9b.js +0 -112
- package/dist/assets/RoleWithToolTip-BP8MTZdU-DnEd53cN.js +0 -22
- package/dist/assets/TransactionVendorDetailPage-CTTTAais-D9_4MDSM.js +0 -80
- package/dist/assets/TreasuryStatementsPage-DBykLGfz-C9eS4qdh.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-DgbrzE9u-BEbCeRNe.js +0 -58
- package/dist/assets/VerifyDevice-C-ZVbaIJ-BKz0GUVP.js +0 -67
- package/dist/assets/ZeniAccountNavBarPieces-DX2iXF2E-BAAXHmSZ.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-B4d4bp7D-Bp4AH9yD.js +0 -63
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,
|
|
1
|
+
import{j as t,fy as ne,o as i,be as se,M as I,a6 as re,u as W,X,a as le,c3 as ae,l as P,aV as ce,F as de,T as w,a4 as pe,C as T,f3 as me,fz as ue,eB as he,fA as fe,fB as ge,af as xe,q as S,ao as J,v as K,e as Q,m as $e}from"./index-Dhj1_7g2.js";import{n as o,b as E}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const{common:ye}=I.getLocalizedStrings(),U={notePadding:new T(S[3],S[4]),noteGap:new T(S[0],6)},M=(e,n)=>`${e}.${n}`,be=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
row-gap: ${i.sp3};
|
|
@@ -6,7 +6,7 @@ import{j as t,fA as ne,o as i,be as se,B as I,a6 as re,u as W,X,a as le,c6 as ae
|
|
|
6
6
|
display: flex;
|
|
7
7
|
justify-content: space-between;
|
|
8
8
|
align-items: center;
|
|
9
|
-
`,we=o(
|
|
9
|
+
`,we=o(J)`
|
|
10
10
|
color: ${e=>e.theme.colors.primary};
|
|
11
11
|
`,Se=o.div`
|
|
12
12
|
border-radius: ${i.sp2};
|
|
@@ -57,7 +57,7 @@ import{j as t,fA as ne,o as i,be as se,B as I,a6 as re,u as W,X,a as le,c6 as ae
|
|
|
57
57
|
}
|
|
58
58
|
`,A=o.div`
|
|
59
59
|
flex: 1;
|
|
60
|
-
`,
|
|
60
|
+
`,q=o(Q)`
|
|
61
61
|
color: ${e=>e.theme.colors.hero};
|
|
62
62
|
`,Ee=o(K)`
|
|
63
63
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -74,7 +74,7 @@ import{j as t,fA as ne,o as i,be as se,B as I,a6 as re,u as W,X,a as le,c6 as ae
|
|
|
74
74
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
75
75
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
76
76
|
gap: ${e=>U.noteGap.valuePx(e.windowSize)};
|
|
77
|
-
`,Ce=o.div``,Pe=o.span``;function Oe({sectionId:e,monthEndInsightsNotificationLocalData:n,monthEndInsightsNotificationSettings:s,managersList:a,allUsers:f,classList:m,controllersList:x}){const u=W(),c=X(),{sectionTitle:$,monthEndInsights:l,mode:y}=ye.settings.notifications,h=x[0],O=x.slice(1).reduce((d,r)=>d.concat(`${r.email},`),"");return t.jsxs(be,{children:[t.jsxs(je,{children:[t.jsx(we,{children:$.monthEndInsights}),t.jsx(Ce,{children:t.jsx(Ee,{children:y.email})})]}),t.jsxs(Se,{children:[t.jsxs(ve,{disabled:s.enabled==null,children:[t.jsx(
|
|
77
|
+
`,Ce=o.div``,Pe=o.span``;function Oe({sectionId:e,monthEndInsightsNotificationLocalData:n,monthEndInsightsNotificationSettings:s,managersList:a,allUsers:f,classList:m,controllersList:x}){const u=W(),c=X(),{sectionTitle:$,monthEndInsights:l,mode:y}=ye.settings.notifications,h=x[0],O=x.slice(1).reduce((d,r)=>d.concat(`${r.email},`),"");return t.jsxs(be,{children:[t.jsxs(je,{children:[t.jsx(we,{children:$.monthEndInsights}),t.jsx(Ce,{children:t.jsx(Ee,{children:y.email})})]}),t.jsxs(Se,{children:[t.jsxs(ve,{disabled:s.enabled==null,children:[t.jsx(q,{children:l.labels.notifyMe}),t.jsx(he,{defaultChecked:n.notify,checkBoxValue:M(e,"notify"),name:M(e,"notify"),checkedIconColor:s.enabled==null?u.colors.grey2:void 0})]}),t.jsx(w,{controller:s.enabled!=null,children:t.jsxs(Ie,{children:[t.jsx(A,{children:t.jsx(q,{children:l.labels.notifyOthers})}),t.jsx(A,{children:t.jsx(fe,{hideEmailTooltip:!1,showBackgroundColorIfHasAnySelectedOption:!1,shouldHaveBackgroundColor:!1,value:{allUsers:f,selectedUsers:f.filter(d=>n.recipientEmailIds.includes(d.email)),allNonUsers:[],selectedNonUsers:[]},hideMultiValueOnBlur:!1,valueToSubtitle:d=>{const r=a.findIndex(p=>p.userId===d),b=[];if(r!==-1){const p=a[r],j=ge(p.userRole.userRoles);j.length>0&&b.push(j);const N=m.find(L=>L.classId===p.userRole.accountingClassIDs[0]);return N!=null&&b.push(N.className),b}else return[]},name:M(e,"recipientEmailIds"),placeholderLabel:l.userFieldPlaceholder,customStyleConfig:{valueContainer:(d,{selectProps:r})=>({justifyContent:r.menuIsOpen===!1?"flex-end":"flex-start"}),input:(d,{selectProps:r})=>({display:r.menuIsOpen===!1?"none":"inline-grid"}),control:(d,{selectProps:r})=>({backgroundColor:r.menuIsOpen===!0?u.colors.background:"unset"}),container:(d,{selectProps:r})=>({backgroundColor:r.menuIsOpen===!0?u.colors.background:"unset"}),multiValue:(d,{selectProps:r})=>({outline:r.menuIsOpen===!1?"unset":`1px solid ${u.colors.primary}`})}})})]})}),t.jsx(w,{controller:s.enabled==null,children:t.jsxs(ke,{windowSize:c,children:[l.stopReceivingEmailsText,h?t.jsxs(Ne,{href:`mailto:${h.email}?cc=${O}&subject=${encodeURIComponent(l.stopReceivingMonthEndInsightsSubject)}`,children:[t.jsx(Pe,{children:`${h.firstName} ${h.lastName}`}),t.jsx(xe,{className:"arrowIcon"})]}):null]})})]})]})}const D=(e,n,s)=>`${e}.${n}.${s}`,Le=o.div`
|
|
78
78
|
display: flex;
|
|
79
79
|
flex-direction: column;
|
|
80
80
|
row-gap: ${i.sp3};
|
|
@@ -82,7 +82,7 @@ import{j as t,fA as ne,o as i,be as se,B as I,a6 as re,u as W,X,a as le,c6 as ae
|
|
|
82
82
|
display: flex;
|
|
83
83
|
justify-content: space-between;
|
|
84
84
|
align-items: center;
|
|
85
|
-
`,Me=o(
|
|
85
|
+
`,Me=o(J)`
|
|
86
86
|
color: ${e=>e.theme.colors.primary};
|
|
87
87
|
`,F=o.div`
|
|
88
88
|
display: flex;
|
|
@@ -91,10 +91,10 @@ import{j as t,fA as ne,o as i,be as se,B as I,a6 as re,u as W,X,a as le,c6 as ae
|
|
|
91
91
|
flex: 1;
|
|
92
92
|
width: 120px;
|
|
93
93
|
text-align: center;
|
|
94
|
-
`,
|
|
94
|
+
`,ze=o.div`
|
|
95
95
|
width: 120px;
|
|
96
96
|
display: flex;
|
|
97
|
-
`,
|
|
97
|
+
`,Te=o.div`
|
|
98
98
|
width: 120px;
|
|
99
99
|
display: flex;
|
|
100
100
|
padding-right: 12px;
|
|
@@ -118,7 +118,7 @@ import{j as t,fA as ne,o as i,be as se,B as I,a6 as re,u as W,X,a as le,c6 as ae
|
|
|
118
118
|
border-bottom-left-radius: ${e=>e.lastElement===!0?i.sp2:i.sp0};
|
|
119
119
|
border-bottom-right-radius: ${e=>e.lastElement===!0?i.sp2:i.sp0};
|
|
120
120
|
}
|
|
121
|
-
`;function
|
|
121
|
+
`;function qe({sectionId:e,remindersLocalData:n,reminderNotificationSettings:s}){const{texts:a,settings:f}=I.getLocalizedStrings().common,{notifications:m}=f,x=P.NOTIFICATION_MODES.slice(0,1),u=P.REMINDER_NOTIFICATION_TYPES.filter(c=>s[c]!=null);return t.jsxs(Le,{children:[t.jsxs(Re,{children:[t.jsx(Me,{children:m.sectionTitle.reminders}),t.jsxs(F,{children:[t.jsx(V,{children:a.frequency}),t.jsx(V,{children:m.mode.email})]})]}),t.jsx(Ue,{children:u.map((c,$)=>t.jsxs(Ae,{firstElement:$===0,lastElement:$===u.length-1,children:[t.jsx(Be,{children:m.reminders[c]}),t.jsxs(F,{children:[t.jsx(Te,{children:t.jsx(me,{defaultValue:{allOptions:m.reminderFrequencyOptions,selectedOption:n[c].frequency},name:D(e,c,"frequency")})}),t.jsx(ze,{children:t.jsx(ue,{mode:"always_on",checkBoxes:x.map(l=>({label:"",value:l,defaultChecked:n[c].preferredMode.includes(l),groupLabel:!1})),name:D(e,c,"preferredMode"),style:{flexDirection:"row"},checkBoxContainerStyle:{justifyContent:"center"}})})]})]},c))})]})}const z={contentPadding:new T(S[3],S[8])},g="reminders",v="monthEndInsights",_="notificationSettingsPage",G=e=>`${e}_form`,{settings:Z,reloadPage:De}=I.getLocalizedStrings().common,Fe=e=>{const n=W(),s=X(),{notificationSettingsView:a,signedInUser:f,onFormDataChange:m,resetUpdateStatus:x,onSave:u,onCancel:c,onClickMenuIcon:$}=e,{notificationSettingsLocalData:l,allUsers:y,notificationSettings:h,classList:O,managersList:d,updateStatus:r,controllersList:b}=a,p=le({defaultValues:Y(l,y)}),j=E.useCallback(R=>{m(We(R))},[m]),N=p.handleSubmit(()=>{u()}),L=E.useCallback(()=>{p.reset(),c()},[c]);E.useEffect(()=>{a.updateStatus.fetchState==="Completed"&&(p.reset(Y(l,y)),x())},[l,a.updateStatus.fetchState,y]),E.useEffect(()=>{const R=p.watch((B,{name:oe})=>{oe!=null&&B!=null&&ae(()=>j(B))});return()=>{R.unsubscribe()}},[p,j]);const ee=Object.keys(p.formState.dirtyFields).length>0,te=f.userEmail!=null?P.isMonthEndNotificationsSectionVisibleOnSettingsPage(h.monthEndInsightsNotificationSettings,f.userEmail):!1,ie=P.isRemindersSectionVisibleOnSettingsPage(h.reminderNotificationSettings);return t.jsxs(t.Fragment,{children:[t.jsxs(Ve,{children:[t.jsx(ce,{source:"NotificationSettingsPage",title:Z.title.notifications,backgroundColor:n.colors.grey4,showBackButton:!1,showMenuIcon:s==="medium-compact"||s==="small",onClickMenuIcon:$}),t.jsx(_e,{windowSize:s,children:t.jsx(de,{...p,children:t.jsx("form",{id:G(_),onSubmit:N,children:t.jsxs(Ge,{children:[t.jsx(w,{controller:ie,children:t.jsx(qe,{reminderNotificationSettings:h.reminderNotificationSettings,remindersLocalData:l.reminders,sectionId:g})}),t.jsx(w,{controller:te,children:t.jsx(Oe,{monthEndInsightsNotificationLocalData:l.monthEndInsights,monthEndInsightsNotificationSettings:h.monthEndInsightsNotificationSettings,sectionId:v,allUsers:y,classList:O,managersList:d,controllersList:b})})]})})})})]}),t.jsx(w,{controller:ee,children:t.jsx(pe,{style:{width:"100%"},formId:G(_),primaryBtn:{label:I.getLocalizedStrings().common.footer.save,isLoading:r.fetchState==="In-Progress",style:{width:"82px"}},cancelBtn:{label:I.getLocalizedStrings().common.footer.cancel,onClick:L,style:{width:"82px"}}})})]})};function nt(e){const{notificationSettingsView:n,onRefresh:s}=e,{fetchState:a}=n;return a==="Not-Started"||a==="In-Progress"?t.jsx(H,{children:t.jsx(ne,{fetchState:a,styles:{margin:i.sp0}})}):a==="Error"?t.jsxs(H,{children:[t.jsx(He,{onClick:s,children:t.jsx(se,{})}),t.jsx(Ye,{children:De.label})]}):t.jsx(Fe,{...e})}const Ve=o.div`
|
|
122
122
|
display: flex;
|
|
123
123
|
width: 100%;
|
|
124
124
|
min-height: 100vh;
|
|
@@ -135,9 +135,9 @@ import{j as t,fA as ne,o as i,be as se,B as I,a6 as re,u as W,X,a as le,c6 as ae
|
|
|
135
135
|
row-gap: ${i.sp3};
|
|
136
136
|
background-color: ${e=>e.theme.colors.grey4};
|
|
137
137
|
`,_e=o.div`
|
|
138
|
-
padding-left: ${e=>
|
|
139
|
-
padding-right: ${e=>
|
|
140
|
-
padding-bottom: ${e=>
|
|
138
|
+
padding-left: ${e=>z.contentPadding.valuePx(e.windowSize)};
|
|
139
|
+
padding-right: ${e=>z.contentPadding.valuePx(e.windowSize)};
|
|
140
|
+
padding-bottom: ${e=>z.contentPadding.valuePx(e.windowSize)};
|
|
141
141
|
`,Ge=o.div`
|
|
142
142
|
display: flex;
|
|
143
143
|
flex-direction: column;
|
|
@@ -157,7 +157,7 @@ import{j as t,fA as ne,o as i,be as se,B as I,a6 as re,u as W,X,a as le,c6 as ae
|
|
|
157
157
|
color: ${e=>e.theme.colors.primary};
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
`,
|
|
160
|
+
`,Ye=o(re)`
|
|
161
161
|
margin-top: ${i.sp3};
|
|
162
162
|
color: ${e=>e.theme.colors.hero};
|
|
163
|
-
`;function k(e){const n=Z.notifications.reminderFrequencyOptions;return{preferredMode:e.preferredMode,frequency:{selectedOption:e.frequency,allOptions:n}}}function
|
|
163
|
+
`;function k(e){const n=Z.notifications.reminderFrequencyOptions;return{preferredMode:e.preferredMode,frequency:{selectedOption:e.frequency,allOptions:n}}}function Y(e,n){return{[g]:{missingReceiptNotification:k(e.reminders.missingReceiptNotification),uncategorizedTransactionNotification:k(e.reminders.uncategorizedTransactionNotification),pendingBillApprovalNotification:k(e.reminders.pendingBillApprovalNotification),pendingReimbursementApprovalNotification:k(e.reminders.pendingReimbursementApprovalNotification)},[v]:{notify:e.monthEndInsights.notify,recipientEmailIds:{allNonUsers:[],selectedNonUsers:[],allUsers:n,selectedUsers:n.filter(s=>e.monthEndInsights.recipientEmailIds.includes(s.email))}}}}function C(e){return{preferredMode:e.preferredMode,frequency:e.frequency.selectedOption}}function We(e){return{[g]:{missingReceiptNotification:C(e[g].missingReceiptNotification),uncategorizedTransactionNotification:C(e[g].uncategorizedTransactionNotification),pendingBillApprovalNotification:C(e[g].pendingBillApprovalNotification),pendingReimbursementApprovalNotification:C(e[g].pendingReimbursementApprovalNotification)},[v]:{...e[v],recipientEmailIds:e[v].recipientEmailIds.selectedUsers.map(n=>n.email)}}}export{nt as default,G as uniqueName};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{f as e,q as a}from"./index-Dhj1_7g2.js";const r=a[5],o=59,s=a[5],i=e.standardRegular.lineHeightValue,l=1,n=1e3;export{i as A,s as E,l as I,n as L,o as a,r as t};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{u as K,X as v,a as Zt,
|
|
1
|
+
import{u as K,X as v,a as Zt,M as P,c3 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 as ei,o as i,T as we,gm as ti,C as R,hu as ii,f as Ne,c as oi,z as et,bL as tt,aj as it,di as ot,bT as st,jd as at,q as w,K as si,je as ai,dg as ce,ae as ri,Q as ni,h as rt,g as S,v as li,bf as z,cg as ue,fz as he,jf as pe,w as nt,d2 as lt,dq as V,cZ as dt,fI as di,e as X,hI as ci,m as H,eY as ui,a8 as ye,ap as fe,jg as hi,bc as ct,jh as Ie,aQ as pi}from"./index-Dhj1_7g2.js";import{b as x,n as r,j as O}from"./vendor-CnQcJ2Lu.js";import{k as fi}from"./SubTabSwitcher-B8H6McwL-DbChhvTl.js";import{d as ut}from"./useLongPress-GCK2COYQ-gxLtL5O4.js";import{A as ht,t as pt,a as ft,E as mt,L as gt,I as xt}from"./NotificationsListConfig-DuzDckh--DIE08d6S.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";function mi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:u}){const h=v(),f=K(),m=x.useCallback(b=>{d(b.id)},[d]),p=x.useCallback(b=>{u(b.id)},[u]);return e.length===0?null:t.jsxs(gi,{windowSize:h,children:[t.jsx(ii,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${f.colors.grey3}`},onTabChange:m}),t.jsx(fi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:p})]})}const gi=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
5
|
-
`,{common:{timeStrings:bt,strings:xi},dateFormat:Te,timeFormat:bi}=
|
|
5
|
+
`,{common:{timeStrings:bt,strings:xi},dateFormat:Te,timeFormat:bi}=P.getLocalizedStrings(),wt=["today","yesterday","last_7_days_this_month","earlier_this_month","earlier_that_month"],ne=e=>e.type.concat(xi.underscore).concat(e.start.format(Te.visual.DdashMMdashYYYYFormat)),me=e=>{switch(e.type){case"today":case"yesterday":case"earlier_this_month":case"last_7_days_this_month":return bt[e.type];case"earlier_that_month":return e.start.format(Te.visual.MMMYYYYFormat)}},yt=e=>{const o=g.zeniDate(e.toUTCString()),s=g.dateNow(),a=s.diff(o,"minutes"),n=s.diff(o,"seconds"),l=60,c=24*60;return n<=l?bt.justNow:a<c&&hi(o,0)?o.format(bi.hhmmAFormat):o.format(Te.visual.MMMDFormat)},Re=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:wi}}}}=P.getLocalizedStrings(),$t=e=>{e.sort((n,l)=>g.zeniDate(n.inboxNotification.notifiedAt.toUTCString()).isAfter(g.zeniDate(l.inboxNotification.notifiedAt.toUTCString()))===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of wt){let l=0,c=0,d=g.dateNow().subtract(Math.min(g.dateNow().date(),l),"d").startOf("d"),u=g.dateNow().subtract(Math.min(g.dateNow().date(),c),"d").endOf("d"),h=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=g.dateNow().subtract(Math.min(g.dateNow().date(),l),"d").startOf("d"),u=g.dateNow().subtract(Math.min(g.dateNow().date(),c),"d").endOf("d"),a=ie(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&g.dateNow().date()>2&&(d=g.dateNow().subtract(Math.min(g.dateNow().date()-1,8),"d").startOf("d"),u=g.dateNow().subtract(2,"d").endOf("d"),a=ie(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&g.dateNow().date()>9&&(d=g.dateNow().startOf("M").startOf("d"),u=g.dateNow().subtract(9,"d").endOf("d"),a=ie(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const f=g.dateNow().subtract(h,"month").startOf("M").startOf("d"),m=g.dateNow().subtract(h,"month").endOf("M").endOf("d");h++,a=ie(o,f,m),o=a.remainingData,s.push({start:f,end:m,type:n,notifications:a.singleGroup})}break}}return s},ie=(e,o,s)=>{const a=[],n=e.map(l=>at(o,s,g.zeniDate(l.inboxNotification.notifiedAt.toUTCString()))?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>g.zeniDate(l.inboxNotification.notifiedAt.toUTCString()).isAfter(g.zeniDate(c.inboxNotification.notifiedAt.toUTCString()))===!0?-1:1),{singleGroup:a,remainingData:n}},yi=e=>{const{thread:o}=e,{newRepliesAdded:s,newCommentAdded:a}=wi;return o.comments.length===1?a:s},jt=new R(3,2,1,1,1),kt=new R(w[8],w[6],35,35,w[6]),le={lineClamp:jt,sectionWidth:kt},{common:{texts:ze,timeStrings:$i,strings:ee},commentsAndNotifications:{notifications:{strings:{newMessage:ji},actionStrings:{comments:{newCommentAdded:ki}}}}}=P.getLocalizedStrings(),Si=({notificationData:e,users:o,isHighlighted:s=!1,style:a,onNotificationTileClick:n})=>{const l=nt(),c=lt().analytics,{inboxNotification:{id:d,readAt:u,notifiedAt:h},thread:f}=e,{setRequestToOpenThread:m}=x.useContext(di),p=u!=null?"read":"unread",{metadata:{url:b,companyId:k,entityType:B},id:G}=f;return t.jsxs(Ri,{readStatus:p,isClickable:!!b,isHighlighted:s,style:a,onClick:()=>{b&&(n(d,g.toZeniUrl(b),p),(f.metadata.tab==="bill"||f.metadata.tab==="reimbursement")&&m({threadId:G,companyId:k,entityType:B})),f.metadata.application!=="cockpit"&&c.trackCommentActivity("notification","clicked",f.metadata.companyName,l.controllersList.controllers.map(T=>V(T)),f.resolved?"resolved":"open",{name:dt(l.loggedInUser),email:l.loggedInUser?.userEmail??""},"db notification")},children:[t.jsx(vi,{notificationData:e,users:o}),t.jsx(Ni,{...e}),t.jsx(Ti,{timestamp:h,readStatus:p})]})},St=({notificationData:e,users:o})=>{const{thread:s}=e,{comments:a}=s,n=a[0];return a.length===0||n.body==null?t.jsx($e,{children:ji}):t.jsx($e,{children:n.body.content.map(l=>{switch(l.type){case"paragraph":return l.children.map((c,d)=>{if(Li(c)){const h=o.find(f=>f.userId===c.id);return c.id?t.jsx(Ci,{notificationData:e,user:h},`${c.id}${ee.underscore}${d}`):null}if(Ii(c)){const h=ci(c.url)??c.url;return t.jsx(Bi,{href:h,target:"_blank",rel:"noopener noreferrer nofollow",children:c.text??c.url},d)}let u=c.text;return c.bold===!0&&(u=t.jsx(Di,{children:u},d)),c.italic===!0&&(u=t.jsx(Ai,{children:u},d)),c.strikethrough===!0&&(u=t.jsx(Oi,{children:u},d)),c.code===!0&&(u=t.jsx(Mi,{children:u},d)),t.jsx(Pi,{children:u},d)});default:return t.jsx($e,{children:ki})}})})},vi=({notificationData:e,users:o})=>{const s=v();return t.jsx(Fi,{windowSize:s,children:t.jsx(St,{notificationData:e,users:o})})},Ci=({notificationData:e,user:o})=>{const{inboxNotification:{readAt:s}}=e,a=s!=null?"read":"unread";let n=t.jsxs(_e,{className:"userText",readStatus:a,children:[ee.atTheRate,ze.user,ee.space]});if(o!=null){const l=V(o,!1);n=t.jsx(t.Fragment,{children:t.jsxs(_e,{className:"userText",readStatus:a,children:[ee.atTheRate,l||ze.user,ee.space]})})}return n},vt=e=>{const o=yi(e);return t.jsx(t.Fragment,{children:o})},Ni=e=>{const o=v();return t.jsx(_i,{windowSize:o,children:t.jsx(vt,{...e})})},Ct=e=>{const{timestamp:o,readStatus:s}=e,a=yt(o);return t.jsxs(t.Fragment,{children:[t.jsx(Gi,{isNewNotification:a===$i.justNow,children:a}),t.jsx(Ui,{readStatus:s})]})},Ti=e=>{const o=v();return t.jsx(zi,{windowSize:o,children:t.jsx(Ct,{...e})})};function Li(e){return"type"in e&&e.type==="mention"}function Ii(e){return"type"in e&&e.type==="link"}const Ri=r.div`
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: row;
|
|
8
8
|
align-items: center;
|
|
@@ -33,7 +33,7 @@ import{u as K,X as v,a as Zt,B,c6 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 as ei,
|
|
|
33
33
|
border-bottom-right-radius: inherit;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
${e=>e.isHighlighted?
|
|
36
|
+
${e=>e.isHighlighted?O`
|
|
37
37
|
z-index: 1;
|
|
38
38
|
color: ${e.theme.colors.primary};
|
|
39
39
|
border: 1px solid ${e.theme.colors.primary};
|
|
@@ -43,7 +43,7 @@ import{u as K,X as v,a as Zt,B,c6 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 as ei,
|
|
|
43
43
|
}
|
|
44
44
|
`:null};
|
|
45
45
|
|
|
46
|
-
${e=>e.isClickable?
|
|
46
|
+
${e=>e.isClickable?O`
|
|
47
47
|
&:hover {
|
|
48
48
|
z-index: 1;
|
|
49
49
|
color: ${e.theme.colors.primary};
|
|
@@ -68,7 +68,7 @@ import{u as K,X as v,a as Zt,B,c6 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 as ei,
|
|
|
68
68
|
-webkit-line-clamp: ${e=>le.lineClamp.value(e.windowSize)};
|
|
69
69
|
-webkit-box-orient: vertical;
|
|
70
70
|
width: ${e=>le.sectionWidth.valuePercentage(e.windowSize)};
|
|
71
|
-
`,Di=r.strong``,Mi=r.code``,
|
|
71
|
+
`,Di=r.strong``,Mi=r.code``,Ai=r.em``,Oi=r.s``,Pi=r.span``,Bi=r.a``,Fi=r(X)`
|
|
72
72
|
color: inherit;
|
|
73
73
|
display: -webkit-box;
|
|
74
74
|
overflow: hidden;
|
|
@@ -175,7 +175,7 @@ import{u as K,X as v,a as Zt,B,c6 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 as ei,
|
|
|
175
175
|
`,to=r.div`
|
|
176
176
|
display: flex;
|
|
177
177
|
padding: ${i.sp3} ${i.sp0};
|
|
178
|
-
`,io=({notificationData:e,users:o,isSelectionMode:s=!1,isHighlighted:a=!1,style:n,onNotificationTileClick:l,onNotificationTileLongPress:c})=>{const d=nt(),u=lt().analytics,{inboxNotification:{id:h,readAt:f,notifiedAt:m},thread:p}=e,b=f!=null?"read":"unread",k=p.metadata.url,
|
|
178
|
+
`,io=({notificationData:e,users:o,isSelectionMode:s=!1,isHighlighted:a=!1,style:n,onNotificationTileClick:l,onNotificationTileLongPress:c})=>{const d=nt(),u=lt().analytics,{inboxNotification:{id:h,readAt:f,notifiedAt:m},thread:p}=e,b=f!=null?"read":"unread",k=p.metadata.url,B=x.useCallback(()=>{c?.()},[c]),G=x.useCallback(L=>{L.stopPropagation(),L.cancelable&&L.preventDefault(),s?c?.():k!=null&&(l(h,g.toZeniUrl(p.metadata.url),b),p.metadata.application!=="cockpit"&&u.trackCommentActivity("notification","clicked",p.metadata.companyName,d.controllersList.controllers.map(y=>V(y)),p.resolved?"resolved":"open",{name:dt(d.loggedInUser),email:d.loggedInUser?.userEmail??""},"db notification"))},[s,k,c,l,h,p.metadata.url,p.metadata.application,b,d.controllersList,d.loggedInUser,u,p.metadata.companyName,p.resolved]),T=ut({onLongPress:B},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(ro,{readStatus:b,isClickable:k!=null,isHighlighted:a,style:n,...T,onClick:G,children:[t.jsxs(lo,{children:[t.jsx(oo,{notificationData:e,users:o}),t.jsx(so,{...e})]}),t.jsx(ao,{timestamp:m,readStatus:b})]})},oo=({notificationData:e,users:o})=>t.jsx(Nt,{children:t.jsx(St,{notificationData:e,users:o})}),so=e=>t.jsx(Nt,{children:t.jsx(vt,{...e})}),ao=e=>t.jsx(no,{children:t.jsx(Ct,{...e})}),ro=r.div`
|
|
179
179
|
display: flex;
|
|
180
180
|
flex-direction: row;
|
|
181
181
|
align-items: baseline;
|
|
@@ -207,7 +207,7 @@ import{u as K,X as v,a as Zt,B,c6 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 as ei,
|
|
|
207
207
|
border-bottom-right-radius: inherit;
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
-
${e=>e.isHighlighted?
|
|
210
|
+
${e=>e.isHighlighted?O`
|
|
211
211
|
z-index: 1;
|
|
212
212
|
color: ${e.theme.colors.primary};
|
|
213
213
|
border: 1px solid ${e.theme.colors.primary};
|
|
@@ -217,7 +217,7 @@ import{u as K,X as v,a as Zt,B,c6 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 as ei,
|
|
|
217
217
|
}
|
|
218
218
|
`:null};
|
|
219
219
|
|
|
220
|
-
${e=>e.isClickable?
|
|
220
|
+
${e=>e.isClickable?O`
|
|
221
221
|
&:hover {
|
|
222
222
|
z-index: 1;
|
|
223
223
|
color: ${e.theme.colors.primary};
|
|
@@ -244,7 +244,7 @@ import{u as K,X as v,a as Zt,B,c6 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 as ei,
|
|
|
244
244
|
display: -webkit-box;
|
|
245
245
|
overflow: hidden;
|
|
246
246
|
-webkit-box-orient: vertical;
|
|
247
|
-
`,Tt=e=>v()==="small"?t.jsx(io,{...e}):t.jsx(Si,{...e}),{common:{all:De}}=
|
|
247
|
+
`,Tt=e=>v()==="small"?t.jsx(io,{...e}):t.jsx(Si,{...e}),{common:{all:De}}=P.getLocalizedStrings(),co=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=K(),{getValues:u}=ue(),h=u(s);return t.jsx(uo,{style:n,children:t.jsx(he,{mode:a,checkBoxes:[{label:t.jsx(ho,{htmlFor:`${s}.${De.toLocaleLowerCase()}`,style:{color:d.colors.primary},children:me(e)}),value:De.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((f,m)=>{const p=m===0,b=e.notifications.length-1===m;return{label:t.jsx(Tt,{notificationData:f,users:o,style:{borderTopLeftRadius:p?i.sp2:void 0,borderTopRightRadius:p?i.sp2:void 0,borderBottomLeftRadius:b?i.sp2:void 0,borderBottomRightRadius:b?i.sp2:void 0},isHighlighted:h?.includes(f.inboxNotification.id)===!0,onNotificationTileClick:c}),value:f.inboxNotification.id,defaultChecked:!1,groupLabel:!1}})],name:s,isDisabled:l,style:{width:"100%"},checkBoxStyle:{padding:i.sp3},labelCheckBoxStyle:{padding:i.sp3}})})},uo=r.div`
|
|
248
248
|
display: flex;
|
|
249
249
|
align-items: center;
|
|
250
250
|
width: 100%;
|
|
@@ -253,16 +253,16 @@ import{u as K,X as v,a as Zt,B,c6 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 as ei,
|
|
|
253
253
|
align-items: flex-start;
|
|
254
254
|
width: 100%;
|
|
255
255
|
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
256
|
-
`,{common:{all:Me}}=
|
|
256
|
+
`,{common:{all:Me}}=P.getLocalizedStrings(),po=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=K(),{getValues:u}=ue(),h=u(s),f=x.useRef([]);return x.useEffect(()=>{f.current=f.current.slice(0,e.notifications.length)},[e.notifications.length]),t.jsx(fo,{style:n,children:t.jsx(he,{mode:a,checkBoxes:[{label:t.jsx(Ae,{htmlFor:`${s}.${Me.toLocaleLowerCase()}`,style:{color:d.colors.primary,marginLeft:i.sp2},children:me(e)}),value:Me.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((m,p)=>{const b=p===0,k=e.notifications.length-1===p;return{label:t.jsx(Ae,{ref:B=>f.current[p]=B,htmlFor:`${s}.${m.inboxNotification.id}`,style:{padding:i.sp0},children:t.jsx(mo,{notificationData:m,users:o,style:{borderTopLeftRadius:b?i.sp2:void 0,borderTopRightRadius:b?i.sp2:void 0,borderBottomLeftRadius:k?i.sp2:void 0,borderBottomRightRadius:k?i.sp2:void 0,marginLeft:i.sp2},isHighlighted:h?.includes(m.inboxNotification.id)===!0,isSelectionMode:a==="always_on",onNotificationTileClick:c,onNotificationTileLongPress:()=>{f.current[p]?.click()}})}),value:m.inboxNotification.id,defaultChecked:!1,groupLabel:!1}})],name:s,isDisabled:l,style:{width:"100%",position:"relative"},checkBoxStyle:{padding:i.sp1,zIndex:2,left:`-${i.sp1}`,position:"absolute"},checkBoxIconStyle:{backgroundColor:d.colors.grey5}})})},fo=r.div`
|
|
257
257
|
display: flex;
|
|
258
258
|
align-items: center;
|
|
259
259
|
width: 100%;
|
|
260
|
-
`,
|
|
260
|
+
`,Ae=r(pe)`
|
|
261
261
|
display: flex;
|
|
262
262
|
align-items: flex-start;
|
|
263
263
|
width: 100%;
|
|
264
264
|
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
265
|
-
`,mo=r(Tt)``,go=e=>v()==="small"?t.jsx(po,{...e}):t.jsx(co,{...e}),{commentsAndNotifications:{notifications:{message:xo}}}=
|
|
265
|
+
`,mo=r(Tt)``,go=e=>v()==="small"?t.jsx(po,{...e}):t.jsx(co,{...e}),{commentsAndNotifications:{notifications:{message:xo}}}=P.getLocalizedStrings(),Oe={rowGap:new R(w[0],w[5],w[5])},bo=({notificationGroups:e,users:o,isFetching:s,hasMore:a,sectionId:n,checkBoxMode:l,scrollYOffset:c,currentSubTab:d,isDisabled:u,onUpdateScrollYOffset:h,onFetchNotificationGroups:f,onNotificationClick:m})=>{const p=v(),b=x.useRef(null),k=x.useRef({});x.useEffect(()=>{b.current?.resetAfterIndex(0,!0)},[p,b,e]),x.useEffect(()=>{b.current?.scrollTo(c)},[d]);const B=x.useCallback(N=>{if(k.current?.[N]!=null){const U=p==="small"&&a===!1&&N===e.length-1?Oe.rowGap.value("medium-regular"):Oe.rowGap.value(p);return k.current[N]+U}return(ht*jt.value(p)+pt)*3+ft+mt},[p,k,e]),G=x.useCallback((N,U)=>{k.current={...k.current,[N]:U},b.current?.resetAfterIndex(0,!0)},[p,b,e]),T=x.useCallback(()=>{f()},[f]),L=x.useCallback(()=>{},[]),y=et(N=>h(N),1e3,{trailing:!0}),M=N=>!a||N<e.length,j=x.useCallback(()=>a&&!s?T():L(),[a,s,T,L]),I=a?e.length+1:e.length;return t.jsx(yo,{children:t.jsx($o,{windowSize:p,children:s&&e.length===0?t.jsx(Qi,{}):s===!1&&e.length===0?t.jsx(tt,{message:xo.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(jo,{windowSize:p,children:t.jsx(it,{children:({height:N,width:U})=>t.jsx(ot,{isItemLoaded:M,itemCount:gt,loadMoreItems:j,children:({onItemsRendered:Y,ref:E})=>t.jsx(st,{ref:W=>{E(W),b.current=W},height:N,itemCount:I,itemData:{notificationGroups:e,users:o,sectionId:n,checkBoxMode:l,isDisabled:u,isItemLoaded:M,setRowHeight:G,onNotificationClick:m},onItemsRendered:Y,itemSize:B,width:U,style:{willChange:"auto"},overscanCount:xt,onScroll:({scrollOffset:W})=>{y(W)},initialScrollOffset:c,children:wo})})})})})})},wo=({index:e,style:o,data:s})=>{const{notificationGroups:a,users:n,sectionId:l,checkBoxMode:c,isItemLoaded:d,isDisabled:u,setRowHeight:h,onNotificationClick:f}=s,m=x.useRef(null),p=v();if(x.useEffect(()=>{m.current?.firstElementChild!=null&&h(e,m.current.firstElementChild.clientHeight)},[e,m,p,a[e]?.notifications]),d(e)===!0){const b=a[e],k=ne(b);return t.jsx(Pe,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:m,children:t.jsx(go,{notificationGroup:b,sectionId:`${l}.${k}`,checkBoxMode:c,isDisabled:u,users:n,onNotificationTileClick:f})},k)}return t.jsx(Pe,{ref:m,style:{...o,paddingBottom:i.sp0},children:t.jsx(Se,{numberOfRows:3})},ce())},yo=r.div`
|
|
266
266
|
display: block;
|
|
267
267
|
background-color: ${e=>e.theme.colors.grey4};
|
|
268
268
|
height: 100%;
|
|
@@ -275,11 +275,11 @@ import{u as K,X as v,a as Zt,B,c6 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 as ei,
|
|
|
275
275
|
display: flex;
|
|
276
276
|
flex-direction: column;
|
|
277
277
|
max-width: 99.9%;
|
|
278
|
-
`,
|
|
278
|
+
`,Pe=r.div`
|
|
279
279
|
top: ${i.sp0};
|
|
280
280
|
left: ${i.sp0};
|
|
281
281
|
box-sizing: border-box;
|
|
282
|
-
`,{common:{in:ko,strings:Lt},dateFormat:So,commentsAndNotifications:{notifications:{actionStrings:{notifications:
|
|
282
|
+
`,{common:{in:ko,strings:Lt},dateFormat:So,commentsAndNotifications:{notifications:{actionStrings:{notifications:A}}}}=P.getLocalizedStrings(),It=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 wt){let l=0,c=0,d=g.dateNow().subtract(Math.min(g.dateNow().date(),l),"d").startOf("d"),u=g.dateNow().subtract(Math.min(g.dateNow().date(),c),"d").endOf("d"),h=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=g.dateNow().subtract(Math.min(g.dateNow().date(),l),"d").startOf("d"),u=g.dateNow().subtract(Math.min(g.dateNow().date(),c),"d").endOf("d"),a=oe(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&g.dateNow().date()>2&&(d=g.dateNow().subtract(Math.min(g.dateNow().date()-1,8),"d").startOf("d"),u=g.dateNow().subtract(2,"d").endOf("d"),a=oe(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&g.dateNow().date()>9&&(d=g.dateNow().startOf("M").startOf("d"),u=g.dateNow().subtract(9,"d").endOf("d"),a=oe(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const f=g.dateNow().subtract(h,"month").startOf("M").startOf("d"),m=g.dateNow().subtract(h,"month").endOf("M").endOf("d");h++,a=oe(o,f,m),o=a.remainingData,s.push({start:f,end:m,type:n,notifications:a.singleGroup})}break}}return s},oe=(e,o,s)=>{const a=[],n=e.map(l=>at(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}},vo=e=>{let o=A.newActivity;return e.code==="in_progress"?o=A.due.replace("__task_status__",Ie(e.name.toLocaleLowerCase())):o=A.due.replace("__task_status__",ko.toLocaleLowerCase().concat(Lt.space,Ie(e.name.toLocaleLowerCase()))),o},Co=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?vo(n):A.dueTomorrow;break;case"task_overdue":s=A.overdue.replace("__date__",o[0].metadata.additionalInfo?.dueDate.format(So.visual.MMMDFormat)??Lt.empty);break;case"task_status_updated":s=A.statusUpdate;break}}return s},Rt=new R(3,2,1,1,1),zt=new R(w[8],33,33,33,35),de={lineClamp:Rt,sectionWidth:zt},{common:{and:Be,other:No,others:To,texts:Lo,timeStrings:Io,strings:D,tags:Ro}}=P.getLocalizedStrings(),zo=({notificationData:e,isHighlighted:o=!1,style:s,onNotificationTileClick:a})=>{const{status:n,notificationId:l,eventData:{entitiyId:c,activities:d},createTime:u}=e;return t.jsxs(Bo,{notificationStatus:n,isHighlighted:o,style:s,onClick:()=>{a(l,c,n,d.length>0?d[0].activityType:void 0)},children:[t.jsx(_o,{...e}),t.jsx(Ao,{...e}),t.jsx(Po,{...e}),t.jsx(Oo,{createTime:u,notificationStatus:n})]})},_t=e=>{const{status:o,eventData:{title:s}}=e;return t.jsx(Vo,{notificationStatus:o,children:s||D.hyphen})},_o=e=>{const o=v();return t.jsx(Eo,{windowSize:o,children:t.jsx(_t,{...e})})},Do=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(Yo,{children:[t.jsx(Fe,{backgroundColor:Re(s.oldValue.codeNamePair),children:s.oldValue.codeNamePair.name}),t.jsx(Wo,{}),t.jsx(Fe,{backgroundColor:Re(s.newValue.codeNamePair),children:s.newValue.codeNamePair.name})]})}return null},Mo=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:[D.atTheRate,Lo.user,D.space]});return n>0&&(n>2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[D.atTheRate,V(s[0],!1),D.space]}),Be,t.jsxs(q,{className:"userText",notificationStatus:o,children:[D.space,n-1,D.space,To,D.space]})]}):n===2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[D.atTheRate,V(s[0],!1),D.space]}),Be,t.jsxs(q,{className:"userText",notificationStatus:o,children:[D.space,s.length===2?D.atTheRate+V(s[1],!1):No,D.space]})]}):l=t.jsxs(q,{className:"userText",notificationStatus:o,children:[D.atTheRate,V(s[0],!1),D.space]})),l},Dt=e=>t.jsxs(t.Fragment,{children:[t.jsx(Mo,{...e}),Co(e),t.jsx(Do,{...e})]}),Ao=e=>{const o=v(),{eventData:{activities:s}}=e;return t.jsx(Uo,{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(Dt,{...e})})},Mt=e=>{const{createTime:o,notificationStatus:s}=e,a=yt(o.toDate());return t.jsxs(t.Fragment,{children:[t.jsx(Ho,{isNewNotification:a===Io.justNow,children:a}),t.jsx(qo,{notificationStatus:s})]})},Oo=e=>{const o=v();return t.jsx(Fo,{windowSize:o,children:t.jsx(Mt,{...e})})},At=e=>{const{eventData:{activities:o}}=e;return o[0].activityType==="task_overdue"?t.jsx(ui,{tagTitle:Ro.overdue,textColor:{color:new ye(S.alert),backgroundColor:new ye("transparent"),borderColor:new ye(S.alert)},showLoader:!1}):t.jsx(Jo,{})},Po=e=>{const o=v();return t.jsx(Go,{windowSize:o,children:t.jsx(At,{...e})})},Bo=r.div`
|
|
283
283
|
display: flex;
|
|
284
284
|
flex-direction: row;
|
|
285
285
|
align-items: center;
|
|
@@ -310,7 +310,7 @@ import{u as K,X as v,a as Zt,B,c6 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 as ei,
|
|
|
310
310
|
border-bottom-right-radius: inherit;
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
${e=>e.isHighlighted?
|
|
313
|
+
${e=>e.isHighlighted?O`
|
|
314
314
|
z-index: 1;
|
|
315
315
|
color: ${e.theme.colors.primary};
|
|
316
316
|
border: 1px solid ${e.theme.colors.primary};
|
|
@@ -345,11 +345,11 @@ import{u as K,X as v,a as Zt,B,c6 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 as ei,
|
|
|
345
345
|
`,Uo=r(X)`
|
|
346
346
|
color: inherit;
|
|
347
347
|
|
|
348
|
-
${e=>e.statusUpdate?
|
|
348
|
+
${e=>e.statusUpdate?O`
|
|
349
349
|
display: flex;
|
|
350
350
|
flex-wrap: wrap;
|
|
351
351
|
gap: ${i.sp1};
|
|
352
|
-
`:
|
|
352
|
+
`:O`
|
|
353
353
|
display: -webkit-box;
|
|
354
354
|
overflow: hidden;
|
|
355
355
|
-webkit-line-clamp: ${de.lineClamp.value(e.windowSize)};
|
|
@@ -479,7 +479,7 @@ import{u as K,X as v,a as Zt,B,c6 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 as ei,
|
|
|
479
479
|
`,rs=r.div`
|
|
480
480
|
display: flex;
|
|
481
481
|
padding: ${i.sp3} ${i.sp0};
|
|
482
|
-
`,ns=({notificationData:e,isSelectionMode:o=!1,isHighlighted:s=!1,style:a,onNotificationTileClick:n,onNotificationTileLongPress:l})=>{const{status:c,createTime:d,eventData:{entitiyId:u,activities:h},notificationId:f}=e,m=x.useCallback(()=>{l?.()},[l]),p=x.useCallback(k=>{k.stopPropagation(),k.cancelable&&k.preventDefault(),o?l?.():n(f,u,c,h.length>0?h[0].activityType:void 0)},[f,u,c,h,o,l,n]),b=ut({onLongPress:m},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(hs,{notificationStatus:c,isHighlighted:s,style:a,...b,onClick:p,children:[t.jsxs(Ue,{children:[t.jsx(ls,{...e}),t.jsx(cs,{createTime:d,notificationStatus:c})]}),t.jsxs(Ue,{children:[t.jsx(ds,{...e}),h.length>0&&h[0].activityType==="task_status_updated"?null:t.jsx(us,{...e})]})]})},ls=e=>t.jsx(
|
|
482
|
+
`,ns=({notificationData:e,isSelectionMode:o=!1,isHighlighted:s=!1,style:a,onNotificationTileClick:n,onNotificationTileLongPress:l})=>{const{status:c,createTime:d,eventData:{entitiyId:u,activities:h},notificationId:f}=e,m=x.useCallback(()=>{l?.()},[l]),p=x.useCallback(k=>{k.stopPropagation(),k.cancelable&&k.preventDefault(),o?l?.():n(f,u,c,h.length>0?h[0].activityType:void 0)},[f,u,c,h,o,l,n]),b=ut({onLongPress:m},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(hs,{notificationStatus:c,isHighlighted:s,style:a,...b,onClick:p,children:[t.jsxs(Ue,{children:[t.jsx(ls,{...e}),t.jsx(cs,{createTime:d,notificationStatus:c})]}),t.jsxs(Ue,{children:[t.jsx(ds,{...e}),h.length>0&&h[0].activityType==="task_status_updated"?null:t.jsx(us,{...e})]})]})},ls=e=>t.jsx(Ot,{statusUpdate:!1,children:t.jsx(_t,{...e})}),ds=e=>{const{eventData:{activities:o}}=e;return t.jsx(Ot,{statusUpdate:o.length>0&&o[0].activityType==="task_status_updated"&&o[0].metadata.updates.find(s=>s.field==="status")!=null,children:t.jsx(Dt,{...e})})},cs=e=>t.jsx(ps,{children:t.jsx(Mt,{...e})}),us=e=>t.jsx(fs,{children:t.jsx(At,{...e})}),hs=r.div`
|
|
483
483
|
display: flex;
|
|
484
484
|
flex-direction: column;
|
|
485
485
|
align-items: baseline;
|
|
@@ -511,7 +511,7 @@ import{u as K,X as v,a as Zt,B,c6 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 as ei,
|
|
|
511
511
|
border-bottom-right-radius: inherit;
|
|
512
512
|
}
|
|
513
513
|
|
|
514
|
-
${e=>e.isHighlighted?
|
|
514
|
+
${e=>e.isHighlighted?O`
|
|
515
515
|
z-index: 1;
|
|
516
516
|
color: ${e.theme.colors.primary};
|
|
517
517
|
border: 1px solid ${e.theme.colors.primary};
|
|
@@ -550,18 +550,18 @@ import{u as K,X as v,a as Zt,B,c6 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 as ei,
|
|
|
550
550
|
width: 100%;
|
|
551
551
|
justify-content: space-between;
|
|
552
552
|
align-items: start;
|
|
553
|
-
`,
|
|
553
|
+
`,Ot=r(X)`
|
|
554
554
|
color: inherit;
|
|
555
|
-
${e=>e.statusUpdate?
|
|
555
|
+
${e=>e.statusUpdate?O`
|
|
556
556
|
display: flex;
|
|
557
557
|
flex-wrap: wrap;
|
|
558
558
|
gap: ${i.sp2};
|
|
559
|
-
`:
|
|
559
|
+
`:O`
|
|
560
560
|
display: -webkit-box;
|
|
561
561
|
-webkit-box-orient: horizontal;
|
|
562
562
|
gap: ${i.sp1};
|
|
563
563
|
`};
|
|
564
|
-
`,
|
|
564
|
+
`,Pt=e=>v()==="small"?t.jsx(ns,{...e}):t.jsx(zo,{...e}),{common:{all:Ee}}=P.getLocalizedStrings(),ms=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=K(),{getValues:d}=ue(),u=d(o);return t.jsx(gs,{style:a,children:t.jsx(he,{mode:s,checkBoxes:[{label:t.jsx(xs,{htmlFor:`${o}.${Ee.toLocaleLowerCase()}`,style:{color:c.colors.primary},children:me(e)}),value:Ee.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((h,f)=>{const m=f===0,p=e.notifications.length-1===f;return{label:t.jsx(Pt,{notificationData:h,style:{borderTopLeftRadius:m?i.sp2:void 0,borderTopRightRadius:m?i.sp2:void 0,borderBottomLeftRadius:p?i.sp2:void 0,borderBottomRightRadius:p?i.sp2:void 0},isHighlighted:u?.includes(h.notificationId)===!0,onNotificationTileClick:l}),value:h.notificationId,defaultChecked:!1,groupLabel:!1}})],name:o,isDisabled:n,style:{width:"100%"},checkBoxStyle:{padding:i.sp3},labelCheckBoxStyle:{padding:i.sp3}})})},gs=r.div`
|
|
565
565
|
display: flex;
|
|
566
566
|
align-items: center;
|
|
567
567
|
width: 100%;
|
|
@@ -570,7 +570,7 @@ import{u as K,X as v,a as Zt,B,c6 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 as ei,
|
|
|
570
570
|
align-items: flex-start;
|
|
571
571
|
width: 100%;
|
|
572
572
|
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
573
|
-
`,{common:{all:Ve}}=
|
|
573
|
+
`,{common:{all:Ve}}=P.getLocalizedStrings(),bs=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=K(),{getValues:d}=ue(),u=d(o),h=x.useRef([]);return x.useEffect(()=>{h.current=h.current.slice(0,e.notifications.length)},[e.notifications.length]),t.jsx(ws,{style:a,children:t.jsx(he,{mode:s,checkBoxes:[{label:t.jsx(He,{htmlFor:`${o}.${Ve.toLocaleLowerCase()}`,style:{color:c.colors.primary,marginLeft:i.sp2},children:me(e)}),value:Ve.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((f,m)=>{const p=m===0,b=e.notifications.length-1===m;return{label:t.jsx(He,{ref:k=>h.current[m]=k,htmlFor:`${o}.${f.notificationId}`,style:{padding:i.sp0},children:t.jsx(ys,{notificationData:f,style:{borderTopLeftRadius:p?i.sp2:void 0,borderTopRightRadius:p?i.sp2:void 0,borderBottomLeftRadius:b?i.sp2:void 0,borderBottomRightRadius:b?i.sp2:void 0,marginLeft:i.sp2},isHighlighted:u?.includes(f.notificationId)===!0,isSelectionMode:s==="always_on",onNotificationTileClick:l,onNotificationTileLongPress:()=>{h.current[m]?.click()}})}),value:f.notificationId,defaultChecked:!1,groupLabel:!1}})],name:o,isDisabled:n,style:{width:"100%",position:"relative"},checkBoxStyle:{padding:i.sp1,zIndex:2,left:`-${i.sp1}`,position:"absolute"},checkBoxIconStyle:{backgroundColor:c.colors.grey5}})})},ws=r.div`
|
|
574
574
|
display: flex;
|
|
575
575
|
align-items: center;
|
|
576
576
|
width: 100%;
|
|
@@ -579,7 +579,7 @@ import{u as K,X as v,a as Zt,B,c6 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 as ei,
|
|
|
579
579
|
align-items: flex-start;
|
|
580
580
|
width: 100%;
|
|
581
581
|
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
582
|
-
`,ys=r(
|
|
582
|
+
`,ys=r(Pt)``,$s=e=>v()==="small"?t.jsx(bs,{...e}):t.jsx(ms,{...e}),{commentsAndNotifications:{notifications:{message:js}}}=P.getLocalizedStrings(),Ye={rowGap:new R(w[0],w[5],w[5])},ks=({notificationGroups:e,isFetching:o,hasMore:s,sectionId:a,checkBoxMode:n,scrollYOffset:l,currentSubTab:c,isDisabled:d,onUpdateScrollYOffset:u,onFetchNotificationGroups:h,onNotificationClick:f})=>{const m=v(),p=x.useRef(null),b=x.useRef({});x.useEffect(()=>{p.current?.resetAfterIndex(0,!0)},[m,p,e]),x.useEffect(()=>{p.current?.scrollTo(l)},[c]);const k=x.useCallback(I=>{if(b.current?.[I]!=null){const N=m==="small"&&s===!1&&I===e.length-1?Ye.rowGap.value("medium-regular"):Ye.rowGap.value(m);return b.current[I]+N}return(ht*Rt.value(m)+pt)*3+ft+mt},[m,b,e]),B=x.useCallback((I,N)=>{b.current={...b.current,[I]:N},p.current?.resetAfterIndex(0,!0)},[m,p,e]),G=x.useCallback(()=>{h()},[h]),T=x.useCallback(()=>{},[]),L=et(I=>u(I),1e3,{trailing:!0}),y=I=>!s||I<e.length,M=x.useCallback(()=>s&&!o?G():T(),[s,o,G,T]),j=s?e.length+1:e.length;return t.jsx(vs,{children:t.jsx(Cs,{windowSize:m,children:o&&e.length===0?t.jsx(is,{}):o===!1&&e.length===0?t.jsx(tt,{message:js.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(Ns,{windowSize:m,children:t.jsx(it,{children:({height:I,width:N})=>t.jsx(ot,{isItemLoaded:y,itemCount:gt,loadMoreItems:M,children:({onItemsRendered:U,ref:Y})=>t.jsx(st,{ref:E=>{Y(E),p.current=E},height:I,itemCount:j,itemData:{notificationGroups:e,sectionId:a,checkBoxMode:n,isDisabled:d,isItemLoaded:y,setRowHeight:B,onNotificationClick:f},onItemsRendered:U,itemSize:k,width:N,style:{willChange:"auto"},overscanCount:xt,onScroll:({scrollOffset:E})=>{L(E)},initialScrollOffset:l,children:Ss})})})})})})},Ss=({index:e,style:o,data:s})=>{const{notificationGroups:a,sectionId:n,checkBoxMode:l,isItemLoaded:c,isDisabled:d,setRowHeight:u,onNotificationClick:h}=s,f=x.useRef(null),m=v();if(x.useEffect(()=>{f.current?.firstElementChild!=null&&u(e,f.current.firstElementChild.clientHeight)},[e,f,m,a[e]?.notifications]),c(e)===!0){const p=a[e],b=ne(p);return t.jsx(We,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:f,children:t.jsx($s,{notificationGroup:p,sectionId:`${n}.${b}`,checkBoxMode:l,isDisabled:d,onNotificationTileClick:h})},b)}return t.jsx(We,{ref:f,style:{...o,paddingBottom:i.sp0},children:t.jsx(ve,{numberOfRows:3})},ce())},vs=r.div`
|
|
583
583
|
display: block;
|
|
584
584
|
background-color: ${e=>e.theme.colors.grey4};
|
|
585
585
|
height: 100%;
|
|
@@ -596,7 +596,7 @@ import{u as K,X as v,a as Zt,B,c6 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 as ei,
|
|
|
596
596
|
top: ${i.sp0};
|
|
597
597
|
left: ${i.sp0};
|
|
598
598
|
box-sizing: border-box;
|
|
599
|
-
`,{common:{all:Ce,texts:re,footer:Ts,strings:{plus:Ls},numbers:{maximumCount:Je}},commentsAndNotifications:{notifications:{title:Is,texts:
|
|
599
|
+
`,{common:{all:Ce,texts:re,footer:Ts,strings:{plus:Ls},numbers:{maximumCount:Je}},commentsAndNotifications:{notifications:{title:Is,texts:Bt,strings:qe}}}=P.getLocalizedStrings(),te={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])},Rs={selectedNotificationsText:new ni("smallRegular","standardRegular")},Ze="notificationsPage",Z="commentsNotificationsTable",Q="notificationsTable",Ft=20,na=({notificationView:e,users:o,isNotificationSettingsVisible:s,isZeniUser:a,isDisabled:n,onNotificationClick:l,onCommentNotificationClick:c,onUpdateNotificationViewUIState:d,onUpdateNotificationTabState:u,onUpdateNotificationViewCurrentTabAndSubTab:h,onUpdateNotificationViewSubTab:f,onFetchMoreNotifications:m,onUpdateNotificationStatus:p,onSettingsClick:b,onBackClick:k,onMarkAllNotificationsAsRead:B})=>{const G=K(),T=v(),L=Zt({mode:"all",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Xe(e),[e]),values:x.useMemo(()=>Xe(e),[e])}),{currentTab:y,currentSubTab:M,notificationDetailsByTab:j,allSubTabs:I,allNotifications:N,allExternalNotifications:U,notificationsForCurrentTabAndSubTab:Y,externalNotificationsForCurrentTabAndSubTab:E}=e,W=($,C)=>$||C==="comments",Gt=x.useMemo(()=>Object.keys(j).map($=>({label:re[$],id:re[$].toLocaleLowerCase(),countDetails:{count:j[$].uiState.unreadCount,isFetching:j[$].fetchCountState.fetchState==="In-Progress"}})).filter($=>W(a,$.id)),[j,a]),Ut=x.useMemo(()=>I.map($=>({label:$==="all"?Ce:re[$],id:$})),[I]),Et=x.useMemo(()=>$t(E).filter($=>$.notifications.length>0),[E]),Vt=x.useMemo(()=>It(Y).filter($=>$.notifications.length>0),[Y]),Ht=async($,C)=>{const F=$.split(".")[0],J=[];F!=null&&(F===Z||F===Q)&&(Object.values(C[F]).forEach(_=>{J.push(..._.filter(qt=>qt.includes(Ce.toLowerCase())===!1))}),u({selectedNotificationIds:J},y))};x.useEffect(()=>{const $=L.watch((C,{name:F})=>{F!=null&&C!=null&&Qt(()=>Ht(F,C))});return()=>{$.unsubscribe()}});const ge=x.useCallback(()=>{const $=[],C=j[y].selectedNotificationIdsForSubTab,F="read";if(y==="comments"){const J=U.filter(_=>_.inboxNotification.readAt==null).map(_=>_.inboxNotification.id);C.forEach(_=>{J.includes(_)&&$.push(_)})}else{const J=N.filter(_=>_.status!==F).map(_=>_.notificationId);C.forEach(_=>{J.includes(_)&&$.push(_)})}return $},[U,N,y,j]),Yt=ge().length>Ft?"disabled":n,xe=L.watch(Z),be=L.watch(Q),Le=x.useCallback(()=>{m(y,M)},[m,y,M]),Wt=x.useCallback(()=>{if(y==="comments"){const $={};Object.keys(xe).forEach(C=>{$[C]=[]}),L.reset({[Z]:$,[Q]:be},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}else{const $={};Object.keys(be).forEach(C=>{$[C]=[]}),L.reset({[Q]:$,[Z]:xe},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}u({selectedNotificationIds:[]},y)},[be,xe]),Jt=x.useCallback(()=>{const $=j[y].selectedNotificationIdsForSubTab,C="read",F=ge();p(y,$,C,F)},[y,j,ge,p]);return t.jsxs(_s,{children:[t.jsx(Kt,{source:"NotificationsPage",title:Is.notifications,backgroundColor:G.colors.grey4,onBackClick:k,rightSideComponent:s===!0?t.jsx(Js,{onClick:b}):t.jsx(Ws,{})}),t.jsx(As,{}),t.jsx(Ms,{windowSize:T,children:t.jsx(mi,{tabs:Gt,selectedTab:y,onTabChange:$=>{const C=g.toNotificationTabTypeStrict($);C!=null&&h(C)},subTabs:Ut,selectedSubTab:M,onSubTabChange:$=>{const C=g.toNotificationSubTabTypeStrict($);C!=null&&f(C)},subTabRightComponent:t.jsx(zs,{notificationCount:j[y].uiState.unreadCount,markAsAllReadUpdateState:j[y].markAsAllReadState.fetchState,markAsReadUpdateState:j[y].markAsReadState.fetchState,onMarkAsAllReadClick:()=>{B(y)}})})}),t.jsx(Ds,{windowSize:T,children:t.jsx(Xt,{...L,children:t.jsx("form",{id:Ke(Ze),onSubmit:L.handleSubmit(Jt),style:{width:"100%"},children:y==="comments"?t.jsx(bo,{users:o,hasMore:j[y].uiState.hasMore,isFetching:j[y].fetchState==="In-Progress",scrollYOffset:j[y].uiState.scrollYOffset[M],currentSubTab:M,checkBoxMode:j[y].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Et,sectionId:Z,onFetchNotificationGroups:Le,onUpdateScrollYOffset:$=>d({scrollYOffset:{...j[y].uiState.scrollYOffset,[M]:$}},y),onNotificationClick:c}):t.jsx(ks,{hasMore:j[y].uiState.hasMore,isFetching:j[y].fetchState==="In-Progress",scrollYOffset:j[y].uiState.scrollYOffset[M],currentSubTab:M,checkBoxMode:j[y].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Vt,sectionId:Q,onFetchNotificationGroups:Le,onUpdateScrollYOffset:$=>d({scrollYOffset:{...j[y].uiState.scrollYOffset,[M]:$}},y),onNotificationClick:l})})})}),j[y].selectedNotificationIdsForSubTab.length?t.jsx(ei,{formId:Ke(Ze),primaryBtn:{label:Bt.markAsRead,isLoading:j[y].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},isDisabled:Yt!=null},cancelBtn:{label:Ts.cancel,isDisabled:j[y].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},onClick:Wt},helperContainerStyle:T==="small"?{width:"100%"}:{rowGap:i.sp0},footerContentStyle:{gap:i.sp2},leftSideComponent:t.jsx(we,{controller:T!=="small",children:t.jsx(Qe,{selectedNotificationsCount:j[y].selectedNotificationIdsForSubTab.length})}),topComponent:t.jsx(we,{controller:T==="small",children:t.jsx(Qe,{selectedNotificationsCount:j[y].selectedNotificationIdsForSubTab.length})}),rightSideComponent:t.jsx(we,{controller:T!=="small",children:t.jsx(Bs,{})})}):null]})},zs=({markAsAllReadUpdateState:e,markAsReadUpdateState:o,notificationCount:s,onMarkAsAllReadClick:a})=>{const n=s===0,l=x.useCallback(()=>{e!=="In-Progress"&&o!=="In-Progress"&&!n&&a()},[e,o,n,a]);return t.jsx(Os,{variant:"tertiary",size:"small",label:Bt.markAllAsRead,onClick:l,prefixIcon:e==="In-Progress"?t.jsx(oi,{size:"Small",start:!0}):t.jsx(Ps,{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"}})},Qe=({selectedNotificationsCount:e})=>{const o=v();return t.jsxs(Fs,{windowSize:o,children:[t.jsx(Us,{children:t.jsx(Gs,{isCircular:e<10,children:t.jsx(Es,{children:e>Je?`${Je}${Ls}`:e})})}),t.jsxs(Ys,{windowSize:o,children:[t.jsx(Vs,{children:e>1?qe.notificationsSelected:qe.notificationSelected}),e>Ft?t.jsx(Hs,{children:re.maxLimit}):null]})]})},_s=r.div`
|
|
600
600
|
display: flex;
|
|
601
601
|
height: 100vh;
|
|
602
602
|
width: 100%;
|
|
@@ -616,10 +616,10 @@ import{u as K,X as v,a as Zt,B,c6 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 as ei,
|
|
|
616
616
|
padding-bottom: ${i.sp0};
|
|
617
617
|
padding-left: ${e=>te.tabsContainerLeftRightPadding.valuePx(e.windowSize)};
|
|
618
618
|
padding-right: ${e=>te.tabsContainerLeftRightPadding.valuePx(e.windowSize)};
|
|
619
|
-
`,
|
|
619
|
+
`,As=r.div`
|
|
620
620
|
min-height: ${i.sp3};
|
|
621
621
|
width: 100%;
|
|
622
|
-
`,
|
|
622
|
+
`,Os=r(si)`
|
|
623
623
|
.mark-as-read {
|
|
624
624
|
color: ${e=>e.disabled===!0?e.theme.colors.grey2:e.theme.colors.hero};
|
|
625
625
|
}
|
|
@@ -628,21 +628,21 @@ import{u as K,X as v,a as Zt,B,c6 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 as ei,
|
|
|
628
628
|
color: ${e=>e.disabled===!0?e.theme.colors.grey2:e.theme.colors.primary};
|
|
629
629
|
}
|
|
630
630
|
}
|
|
631
|
-
`,
|
|
631
|
+
`,Ps=r(ai)`
|
|
632
632
|
width: ${i.sp3};
|
|
633
633
|
height: ${i.sp3};
|
|
634
|
-
`,
|
|
634
|
+
`,Bs=r.div``,Fs=r.div`
|
|
635
635
|
display: flex;
|
|
636
636
|
align-items: center;
|
|
637
637
|
flex-direction: row;
|
|
638
638
|
gap: ${i.sp2};
|
|
639
639
|
margin-left: ${e=>te.selectedNotificationsTextMarginLeft.valuePx(e.windowSize)};
|
|
640
640
|
`,Gs=r.div`
|
|
641
|
-
${e=>e.isCircular?
|
|
641
|
+
${e=>e.isCircular?O`
|
|
642
642
|
height: ${i.sp3};
|
|
643
643
|
width: ${i.sp3};
|
|
644
644
|
padding: ${i.sp0};
|
|
645
|
-
`:
|
|
645
|
+
`:O`
|
|
646
646
|
height: 18px;
|
|
647
647
|
min-width: ${i.sp3};
|
|
648
648
|
padding: ${i.sp0} ${i.sp1};
|