@zeniai/web-cockpit-ui 1.15.67-dev → 1.15.68-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-B5qIuZya-C3aJkcMK.js +21 -0
- package/dist/assets/{AIPerformancePage-Da3gFo8A-Z4ui8_vI.js → AIPerformancePage-BHB45mP--Dkqa_6NM.js} +32 -32
- package/dist/assets/AccountInfoPage-Cd5xYT1g-oYlOoTFh.js +18 -0
- package/dist/assets/{AccountInfoPageContent-DqErO8FH-BbWzsS4C.js → AccountInfoPageContent-CJ7ycVIK-D3wmzb6C.js} +22 -22
- package/dist/assets/AccountLockedInfoModal-Dox7IuAX-D2jstjYM.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-CVjH1p0d-Dxp_Yf_G.js → AccountReconDetailsDrawerPage-Bqty08m0-C2lF-15J.js} +19 -19
- package/dist/assets/AccountRow-D1cjRJJD-68vCYcVL.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-D7xvgmOH-CXZpH0yT.js → AccountsPromoCardStack-Bs3naJHM-aTi5So3x.js} +26 -26
- package/dist/assets/AddAddressForCardDrawer-DZkBMJfp-B1yl6GaN.js +6 -0
- package/dist/assets/{AddToWalletPage-zJy9QCjx-C9dnTqSq.js → AddToWalletPage-CyRfqVDB-DUq2dZuO.js} +16 -16
- package/dist/assets/{AgingReportsPage-wAvQb1d8-CHVcAAAX.js → AgingReportsPage-xBFff3BM-DTUv7MP5.js} +7 -7
- package/dist/assets/{AllUserItems-DEv_CXOA-DrRFxVFx.js → AllUserItems-BJf6WPDo-oBZrDqKF.js} +12 -12
- package/dist/assets/ApAgingDetailPage-CjBrPyi8-Ctyp_OQl.js +46 -0
- package/dist/assets/{AppBasePage-DMlomvFS-DqF43oJC.js → AppBasePage-CqDm-hnV-CBWeFJt1.js} +13 -13
- package/dist/assets/AppDrawerContent-CVVWj66i-BVbze0mI.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-Cckd2uVA-DVPWeDhs.js +47 -0
- package/dist/assets/{ArAgingChart-m-Xp3HAW-BYykckhE.js → ArAgingChart-CBsqOd-4-DjyETjt2.js} +1 -1
- package/dist/assets/ArAgingDetailPage-i7JObt60-SsEu5TGI.js +46 -0
- package/dist/assets/{AttachmentView-DB_V1qT1-BAHgn941.js → AttachmentView-CzC4skJ3-Bi12zP8s.js} +9 -9
- package/dist/assets/BalancesInsightWithToolTip-B6umvmgL-ia72rJE3.js +38 -0
- package/dist/assets/{BankAccountSection-BabhrBM7-CsYno7bw.js → BankAccountSection-Di4sF52j-DIEDANH7.js} +7 -7
- package/dist/assets/{BankAccountWarningSection-yT2UAd12-AQuYXXrV.js → BankAccountWarningSection-Cled-2cR-Btg4jA3W.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-CbxXykMM-DJ1Qfs7C.js → BankConnectionsSettingsPage-Ccnzq7st-zo73imcz.js} +19 -19
- package/dist/assets/BillDetailPage-XXOwBfO1-bzzMt-3T.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-COyDRpaF-B8K_-t2I.js → BillPayApprovalRuleDetailPage-DFZ0csaT-MjgDonCW.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-9pxkgFAT-CZRNmhN3.js → BillPayApprovalRulesPage-COCypDcS-OXkxfW5r.js} +15 -15
- package/dist/assets/BillPayPromoPage-DOE2YIqC-BdcB_fiR.js +84 -0
- package/dist/assets/{BillPaySetUpPage-Cs5rkWBu-BFj8l_hW.js → BillPaySetUpPage-BCJbZDsV-CqE7jRvx.js} +4 -4
- package/dist/assets/BillingSettingsPage-iImtlEmO-CoZpnA72.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-DRkGQQAe-Di_BJEYU.js → BillsBulkReviewDrawerPage-B11GWM_0-DD3e0R6N.js} +1 -1
- package/dist/assets/{BoxItem-DRwx0M5a-BMNzRCBU.js → BoxItem-Bxa1M4QU-C6dqF4Ox.js} +11 -11
- package/dist/assets/{BusinessVerificationPage-1h0z3N9u-B1KNa18N.js → BusinessVerificationPage-DSuJFoW1-DjAbvNNU.js} +9 -9
- package/dist/assets/{CardNumberSubText-DqtLT1w5-DwPe5Ik5.js → CardNumberSubText-_ZZbaz_k-B01MfVRx.js} +3 -3
- package/dist/assets/{CashbackDetailPage-ChdQcvkC-1A8EZQvJ.js → CashbackDetailPage-DAZXitLt-CcETVJHX.js} +26 -26
- package/dist/assets/{ChargeCardDetailPage-DFOKlPNG-MYhUkq-U.js → ChargeCardDetailPage-B1VIpASk-CholRaxO.js} +34 -34
- package/dist/assets/{ChargeCardListPage-DhLUsUhd-CLRkrqGa.js → ChargeCardListPage-BOBepN-x-B_s13mPY.js} +26 -26
- package/dist/assets/{ChargeCardListTable-DE72YU_i-BYCOUa2e.js → ChargeCardListTable-YznzSsJo-BNhOVvS0.js} +38 -38
- package/dist/assets/{ChargeCardPaymentHistoryPage-CbGR18s--C7VqbbyV.js → ChargeCardPaymentHistoryPage--jOwsMla-cFFoj7V4.js} +44 -44
- package/dist/assets/ChargeCardPromoPage-DIfakIOK-Bo4_w0av.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-ITi25kUD-BZlZpXjO.js → ChargeCardSetupPage-0bpVkeJs-C9PMx1NQ.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-CTJc1BCc-BYEICWbq.js → ChargeCardStatementsPage-ChWyQlw6-CwHckC8y.js} +7 -7
- package/dist/assets/{CheckDepositDrawerPage-BrzeSj-3-BtbAQdkJ.js → CheckDepositDrawerPage-BS7hnyZn-B5V5osVM.js} +23 -23
- package/dist/assets/CollapsableReportTable-DNfFkAts-CKi8-92F.js +2982 -0
- package/dist/assets/{CompanyOfficerDetailsSection-BaPhFsLx-Cr9d9T4h.js → CompanyOfficerDetailsSection-CrOIN4IW-Bdbu216-.js} +22 -22
- package/dist/assets/{CompanyPassportCard-B9ymV6Az-COMAf0pP.js → CompanyPassportCard-CkzYFTrp-BacKEy19.js} +9 -9
- package/dist/assets/{CompanyPassportPage-BQ68t7oK-BMTwLfpK.js → CompanyPassportPage-FE6yli6h-DR6Ghlmc.js} +32 -32
- package/dist/assets/{CompleteProfile-C5n9b8gQ-hT3HEiCg.js → CompleteProfile-Cb8i1XgZ-DbJmNPo9.js} +1 -1
- package/dist/assets/ConfettiBurst-BZCXEGYA-B2yhgQww.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-CDDJSzvV.js → ConstrainedInnerElement-CgdnMeoA--qLpImjq.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BIfOA5Nr-BuMGF8oN.js → CreateOrEditVendorPage-CzpSgxbO-CRxdxAMc.js} +20 -20
- package/dist/assets/{CreditCardPaymentDrawerPage-CCpS-31h-BIvvMTcG.js → CreditCardPaymentDrawerPage-c_q0MsSO-TA4Hobh4.js} +18 -18
- package/dist/assets/CurrencySelectField-BAh7SHrG-DxidpKws.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-6VlMI4oY-E5CGEKHR.js → CustomerOnboardingActivationPage-f3Aa6E5r-BBdnGtao.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-B7XaiHVP.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BzbZb27J-BVzHP5Go.js → CustomerOnboardingDetailPageSkeleton-DYuiWn8s-D7GeWD4L.js} +8 -8
- package/dist/assets/CustomerOnboardingNoStepsPage-Bh_F0-oC-BNSUjl4v.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-DkW66A-p-CjpdS5qu.js → CustomerOnboardingPage-B9hSO88_-D7k4547U.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-Ba0yotpP-CIyDBKON.js → CustomerOnboardingProductSuitePage-CG0HKCpQ-S3V_r-iH.js} +12 -12
- package/dist/assets/{Dashboard-bX3cWkmP-BbU8pr2A.js → Dashboard-BJ_oIHab-Cok5_WDR.js} +33 -33
- package/dist/assets/{DashboardReportPage-DuZ4d4CE-DK-gMM8o.js → DashboardReportPage-BemzMw2e-DYYVToam.js} +41 -41
- package/dist/assets/DashboardSidebarBackgroundAnimation-BtA5oEGG-C_JawxjH.js +12 -0
- package/dist/assets/DepositAccTransactionItem-CyFi1P_L-BmUq2dbW.js +76 -0
- package/dist/assets/DepositAccTransactionListPage-DvBRRUdZ-m3SoF-kw.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-DCDo3aHI-DOZS_gVw.js +21 -0
- package/dist/assets/DownloadOverlay-D_lL1sPW-DvGv3saF.js +439 -0
- package/dist/assets/{DrawerPage-CaG-xx5d-EitebnoL.js → DrawerPage-DesxXhZk-B8kYZddx.js} +13 -13
- package/dist/assets/EditPeoplePage-QvPy_Six-BvFKkCVw.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-C0ZDkboO-BUe-Yiha.js +865 -0
- package/dist/assets/EntityDetailPage-l7nXIsyF-D4NCMOsL.js +18 -0
- package/dist/assets/{EntitySummarySection-LEA5m6mN-BORCaqtF.js → EntitySummarySection-BwX0a4JL-SUavY1op.js} +14 -14
- package/dist/assets/{ExpenseAutomationOverviewPage-Dmhn7gfp-D__D3sDL.js → ExpenseAutomationOverviewPage-EdyHjbff-C6Bwm59D.js} +51 -51
- package/dist/assets/ExpenseAutomationPage-DA22Qofw-dd8tGA4N.js +3001 -0
- package/dist/assets/{ExpressPayPage-C-nqret2-DlkmEIam.js → ExpressPayPage-EMP6inpX-Bhq6MNQ0.js} +16 -16
- package/dist/assets/{FeaturePreviewPage-BHjUZ7s6-DFFjPG0A.js → FeaturePreviewPage-SYJm-3aR-Bec3W0NG.js} +2 -2
- package/dist/assets/{FollowStepsSection-0eFMS0c5-B5EQvoc9.js → FollowStepsSection-BxESVqJD-Da5FF3Sc.js} +11 -11
- package/dist/assets/GlobalReviewListPage-D5_ACa-q-DSyD6bgo.js +291 -0
- package/dist/assets/{InformationCardStack-C7XJCUlh-CiHVF9R1.js → InformationCardStack-B_qQUEYD-Cf9-swA_.js} +4 -4
- package/dist/assets/{InsightsCardStack-fBAbQwhK-BkpAEowk.js → InsightsCardStack-BsQzoVzj-B7Cu144k.js} +9 -9
- package/dist/assets/InsightsSection-B6CNlTNH-C1k0XkMl.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-BD5jqAv8-DlI-U29Q.js → IntegrationsSettingsPage-DP6fAccq-DcJmzI7u.js} +7 -7
- package/dist/assets/{InternationalWireSwiftDetailsPage-BftrE612-J_F_3vEQ.js → InternationalWireSwiftDetailsPage-VdG7bDZi-TISIJuKT.js} +27 -27
- package/dist/assets/InternationalWireVerificationPage-COC6lZml-DVDnoPVJ.js +65 -0
- package/dist/assets/InviteFormPage-DN02jRy5-DXwTiwQI.js +312 -0
- package/dist/assets/{InvitePageListView-Cuq9dlgu-CDBeR_PP.js → InvitePageListView-CP4K9tJi-DYuLEhyF.js} +46 -46
- package/dist/assets/InvitePeoplePage-VTM6kM1u-LzOSX0B1.js +12 -0
- package/dist/assets/InvoiceUploadSection-it-ZYl1N-DRo_N6ol.js +140 -0
- package/dist/assets/{IssueChargeCardPage-CK6fnO24-BKSJZVY1.js → IssueChargeCardPage-CVfuvGey-dFAkH-M9.js} +21 -21
- package/dist/assets/{LabeledAddressValue-Ma1WURjK-BbziAecd.js → LabeledAddressValue-DDrQcHIE-DMu0GW44.js} +1 -1
- package/dist/assets/LabeledAddressValueField-BgWwd5Gw-DuJuz6B4.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-CcPO1k23-Y5RGRfkw.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-sj8p7Rne-BUdiOBjF.js → LabeledCountryMultiSelectField-BYYjzwUG-D382-i5G.js} +4 -4
- package/dist/assets/{LabeledCreatableSingleSelectField-DUTQh416-Cuz1-Arb.js → LabeledCreatableSingleSelectField-CISYMojq-xYhovxcY.js} +8 -8
- package/dist/assets/LabeledDocumentField-C_bcFxdY-BV9lofDJ.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-ScGGCap8-5lKoXSFL.js +59 -0
- package/dist/assets/{LabeledText-DvzVOku6-qtDKT9OR.js → LabeledText-C8Y7EOsX-C8fojKEp.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-Dkhsfaug.js → LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-D0nf30JX.js} +21 -21
- package/dist/assets/{LabeledZeniRolesDropDownField-kWC0ShEy-B4c0yRiG.js → LabeledZeniRolesDropDownField-BZtreVpj-jb4353B6.js} +23 -23
- package/dist/assets/{LinkJETransactionPage-WufhDGDQ-CQSugFmY.js → LinkJETransactionPage-CKq4oiX9-BvFmTxZj.js} +17 -17
- package/dist/assets/{LockCardPage-BBIVLYVD-DGVUoots.js → LockCardPage-CZENNby7-DiexnWId.js} +233 -233
- package/dist/assets/{LowBalancePopup-ScEqPY9J-zI-i6Isi.js → LowBalancePopup-1727S1ri-B9nzvQPQ.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-CO-n7uHX.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-D9JIICZ3.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-DRdINlrf.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-QMkZgQLG-DaCG6zJz.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-ZnbKPIvJ-CNhLMA89.js → MagicLinkTitleSection-CARU1oLQ-DPmYWXSQ.js} +5 -5
- package/dist/assets/MailingDetailsSection-ByOPaJ05-kJqgrlBw.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-aQDVaEG1-CqWavNbr.js → MyBankConnectionsSettingsPage-BdgIIhL1-FAtVw-QI.js} +12 -12
- package/dist/assets/{MyPendingActivationChargeCardListPage-BJrk56oA-DBhBFYPS.js → MyPendingActivationChargeCardListPage-CX38bDdq-Cb-hNB9U.js} +1 -1
- package/dist/assets/MyProfileSettingsPage-DYu0Fx6I-DSGiByeo.js +85 -0
- package/dist/assets/{NavBarWithPicker-zmvBmWS1-DG_L70Us.js → NavBarWithPicker-CGGEvLwe-CLvQbXHm.js} +5 -5
- package/dist/assets/{NavigationArrow-D26UG3p--Bc_WE-hA.js → NavigationArrow-CTNkKUtV-Bew2hAIb.js} +7 -7
- package/dist/assets/{NavigationDots-Bv4tBDN3-3qW0LzNq.js → NavigationDots-Dvce3gHt-CdTxmSBW.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-vOn2O6B9-UKW9QkH8.js → NewGlobalMerchantPage-D_f7z47T-BushshXt.js} +35 -35
- package/dist/assets/{NoDataChart-CgT19fV7-DcCaLcsZ.js → NoDataChart-CrKeqWSr-4ekDnDn1.js} +4 -4
- package/dist/assets/NoDataTable-4vPXmPYF-B2XN4oW_.js +8 -0
- package/dist/assets/{NotFoundPage-CP2i3FTm-zCn5IOVY.js → NotFoundPage-BLWPU1wU-DvXGp0oy.js} +3 -3
- package/dist/assets/{NotificationSettingsPage-CT9Dnb03-BYS2qU5g.js → NotificationSettingsPage-CDiDLX3A-n_uE9rCj.js} +23 -23
- package/dist/assets/NotificationsListConfig-B5pDa4cJ-BR4-nfaA.js +1 -0
- package/dist/assets/NotificationsPage-Ccl7Dny1-EW2nfZLI.js +685 -0
- package/dist/assets/OpExByVendorPage-spd-nKV4-i9MSwJXR.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-PqYhuBtJ.js → OverlayContainerPage-BG9y5C0t-CMjvkc2h.js} +1 -1
- package/dist/assets/PandLWithForecastPage-TSoe4Z7F-DcZ-ZrV7.js +123 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-JPO-rPAd-yGcY5OsC.js → PaymentAccountSetupBillingAddressSection-9ma8SpIa-C7rhIAmu.js} +16 -16
- package/dist/assets/PeoplePage-b5_I0qOw-B2fq5ot3.js +727 -0
- package/dist/assets/{Preview-P62UcEJK.js → Preview-COnCxLvp.js} +1 -1
- package/dist/assets/{ProductsCarousel-7R3cvGiS-Bu_PFFN9.js → ProductsCarousel-C3M0ocdF-wqRbMSDI.js} +8 -8
- package/dist/assets/{PromoBaseCards-DdCMZIc7-DR_4jktz.js → PromoBaseCards-BOGJI2ws--eO42JRX.js} +2 -2
- package/dist/assets/{QBOConnectionDialog-Ca36jKz2-BjgnS_b-.js → QBOConnectionDialog-CmpnnuzP-Dp-zON6o.js} +7 -7
- package/dist/assets/QBOSetupSection-DjnN9dgv-CJUK3Jp5.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-D5NXjrO9-B3fuWRBp.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-B48x1gPM-C9ZbbxEX.js → ReimbursementApprovalRulesPage-BsCTIqUJ-DFIBXG2A.js} +17 -17
- package/dist/assets/ReimbursementDetailPage-BbyxE2uL-D7JOSI03.js +314 -0
- package/dist/assets/ReimbursementPromoPage-CyEgwqcf-A2nuc-1r.js +84 -0
- package/dist/assets/{ReimbursementSetUpPage-B_c-ZgFT-CzixtqPF.js → ReimbursementSetUpPage-RETPkEQd-CKs-VBpH.js} +8 -8
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DnmYl0FM-BVo2hc1R.js +1 -0
- package/dist/assets/{ReloadCard-DKGn1uxF-DmSJJ42p.js → ReloadCard-Bdoo0XiI-D4akwdvc.js} +6 -6
- package/dist/assets/ReportTableViewSelector-Bc1K7mU_-CwFMTqSs.js +151 -0
- package/dist/assets/ReportsPage-BOTHMLWh-jv_O0Yek.js +269 -0
- package/dist/assets/{RevenueChart-SvdhwBcE-BkckN20x.js → RevenueChart-DvyZ3aO7-C6C2HRpr.js} +18 -18
- package/dist/assets/{ReviewDetailsPage-tT1l4R2r-RWSNyRxW.js → ReviewDetailsPage-BIMg1n2e-Ih4y_jnc.js} +26 -26
- package/dist/assets/{ReviewOverlay-BoM41t8W-3p-Qz-jJ.js → ReviewOverlay-CxwoiOLC-mlyTzHF7.js} +10 -10
- package/dist/assets/{RoleWithToolTip-C8x5yXaK-DMsCF0JH.js → RoleWithToolTip-Ct3_VuDM-DPE6FK82.js} +4 -4
- package/dist/assets/ScheduleDetailsFixedAssetsPage-DiL5Dozk-ZdtyO7K8.js +37 -0
- package/dist/assets/ScheduleDetailsPage-5FWpLRtd-CMywSb8w.js +37 -0
- package/dist/assets/ScheduleSequenceTable-R3-PsXES-CJvXYjeZ.js +326 -0
- package/dist/assets/{ScreenRoutes-EnKgc_BI.js → ScreenRoutes-D5p_xk-S.js} +1 -1
- package/dist/assets/{SetUpAccountSection-sfIB1h4i-DtGgsFok.js → SetUpAccountSection-CctbMmoK-CuWHUORG.js} +14 -14
- package/dist/assets/SignIn-CmgmnRm4-CODAfAgX.js +491 -0
- package/dist/assets/SignInScreen-DzQr_yQg.js +1 -0
- package/dist/assets/SpendManagementListViewPage-CFUxCqkU-BFFGha36.js +134 -0
- package/dist/assets/SpendManagementPerTabPage-C-kqNTci-B4ll_8b8.js +754 -0
- package/dist/assets/{SpendManagementSection-dT-N4bSQ-C4Kh22QW.js → SpendManagementSection-CIz4nE_w-Cd92E473.js} +20 -20
- package/dist/assets/{StatementItem-g5tfNBjV-BibsnlRn.js → StatementItem-vVtoBN2w-BlzDOZcF.js} +4 -4
- package/dist/assets/StatementsPage-As5WOnMR-CoYZUSlH.js +58 -0
- package/dist/assets/{StatusSwitcher-CaoFw0cf-zIzs68OS.js → StatusSwitcher-Bv-ozN6U-BKoiK-si.js} +5 -5
- package/dist/assets/SubTabSwitcher-D7QeM6nb-BmZk-zBb.js +58 -0
- package/dist/assets/SummaryCard-C2qoTsAY-4dgnd5I6.js +1 -0
- package/dist/assets/TaskManagementPage-BJwp32Ph-BXxEB9ws.js +508 -0
- package/dist/assets/TimeRangeSwitcher-D00bDDhP-jzNZlsUf.js +64 -0
- package/dist/assets/TimeframeSwitcher-DA99HdHt-DUsdK6ru.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-DyggDIQj-Dg5fJRkI.js +53 -0
- package/dist/assets/{TopExCard-BUjnGDUB-Btojk3ah.js → TopExCard-Z1WabZ8c-_3_PDA2G.js} +6 -6
- package/dist/assets/{TopExDetailPage-CNDkfc3u-B6N4DKA1.js → TopExDetailPage-CzHG4f9E-BrWfJk_t.js} +14 -14
- package/dist/assets/{TransactionActivityLogPage-kSQqJVpX--4iIwA0-.js → TransactionActivityLogPage-CGKnjNfU-DuJzBBcn.js} +20 -20
- package/dist/assets/TransactionDetailPage-1-mLOWSz-D2-6FnXF.js +903 -0
- package/dist/assets/TransactionList-BB-xoIGm-Cs0g42iq.js +153 -0
- package/dist/assets/{TransactionListBig-Bx_Rm9ho-DHw-0VWf.js → TransactionListBig-C5Sf5Xh--DoQGlOXx.js} +21 -21
- package/dist/assets/TransactionListPage-Cj7h1Ros-0xwtgWrr.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-MjSH5hfq-BB1KeuZC.js → TransactionVendorDetailPage-SsrSOk3O-DnCs2Tcb.js} +5 -5
- package/dist/assets/{TransferDrawerPage-BayVa6po-TPzD0GjA.js → TransferDrawerPage-BvKZ7vHF-U4D4BHco.js} +45 -45
- package/dist/assets/TreasuryOverviewPage-DwvjMR4_-DaWJ0Z8W.js +725 -0
- package/dist/assets/{TreasuryPromoPage-BCjz1EKX-B0iczXcI.js → TreasuryPromoPage-CtTFvSQW-ByP104Sz.js} +131 -131
- package/dist/assets/TreasuryStatementsPage-Catz8shX-DqD0V1HF.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-D8hzCL5o-_SN1L0BB.js +58 -0
- package/dist/assets/{TrendChart-JTOG0a7B-Bjcs41DB.js → TrendChart-Bnp4Pcdf-BY18h9jb.js} +4 -4
- package/dist/assets/TrendWithTransactions-3D1FvM8G-DxPZ_o7N.js +116 -0
- package/dist/assets/{UncategorizedAccountsMappingPage-TGKYpC5A-DFFnFhBd.js → UncategorizedAccountsMappingPage-DbyY-dYB-BC4-aDe6.js} +9 -9
- package/dist/assets/{UnitIntegrationPage-mt2IjA5X-eXnxGxo-.js → UnitIntegrationPage-CTzme1te-BpgcZRO2.js} +10 -10
- package/dist/assets/UploadAdditionalDocumentOverlay-Wl4Spdpn-Ckt7F9AB.js +38 -0
- package/dist/assets/Vendor2FAPopup-D0zYKkIv-BA93A3FY.js +1 -0
- package/dist/assets/VendorACHDetailsPage-YYX9aQdw-DswVRSnB.js +1 -0
- package/dist/assets/VendorDetailPage-Br9wIOnI-CiQfXNfs.js +257 -0
- package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-DgAKk1Hg.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CRnO7Ubw-CYRb__on.js → VendorFiling1099EditablePage-himC7iD3-DN6_aqMw.js} +13 -13
- package/dist/assets/VendorFirstReviewPage-BbknTCBD-DRyalqYz.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-HUtNyn9Z-DucN-WAy.js → VendorInternationalWireDetailsPage-CS595Xgc-DyYlqKnN.js} +22 -22
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-B6FT2wH7.js +1 -0
- package/dist/assets/{VendorsAccountsSection-D6Qa1zf9-ChhuAgMC.js → VendorsAccountsSection-CgSJu8wq-DAQ1vUE3.js} +4 -4
- package/dist/assets/{VerifyDevice-B6B_nk3v-FhJvFMiC.js → VerifyDevice-Dvf0JsNN-BhIFtpoZ.js} +12 -12
- package/dist/assets/{VideoPlayer-BRAgZThr-CdNKLBM0.js → VideoPlayer-VAzOGCDL-dg_i7rhP.js} +2 -2
- package/dist/assets/{VideoPopup-C_SkBI9U-BmOF4TeE.js → VideoPopup-BqvZ-XIh-j79cwOsZ.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-B3gB3wW7-B_Al2CpW.js → WarningsDrawerPage-DeNonoNp-B2ZGl3aK.js} +8 -8
- package/dist/assets/ZeniAccountDetailPage-GcwTJdB8-BH5nfFTv.js +300 -0
- package/dist/assets/ZeniAccountListViewPage-CdwO0Duy-Bq_tNys0.js +443 -0
- package/dist/assets/ZeniAccountNavBarPieces-BrSIfL36-H4nUIkPW.js +33 -0
- package/dist/assets/{ZeniAccountPromoPage-BgYCHYLO-DqD41YED.js → ZeniAccountPromoPage-JrcedQYB-C192Vo1k.js} +33 -33
- package/dist/assets/ZeniAccountSetupPage-TKBfbgzJ-BOKcMzjm.js +36 -0
- package/dist/assets/{ZeniCopyright-BlLvlGZV-FpsBBUu8.js → ZeniCopyright-DglqrTpl-DiOzf86L.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BNYgPwHs-Bjfhzv90.js → ZeniTransferAmountSlider-BcaZZuAw-DwXtlH-I.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-CiWKe3pw.js → add-to-wallet-DgdBD8_G-B2d4-MGl.js} +1 -1
- package/dist/assets/{analytics-Dmyyfi9O.js → analytics-BdPgTZIq.js} +1 -1
- package/dist/assets/{analyticsHelper-CYr5V2MV-D-hMRpr3.js → analyticsHelper-CAYdbjhS-B2pke1yA.js} +1 -1
- package/dist/assets/{analyticsHelper-fNnGbi4W.js → analyticsHelper-CqcfNRvx.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-odM3_tAX.js → arrow-south-east-round-PEovUgvH-CQDBPmsC.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-YYpYw6PW.js → auto-transfer-rule-mbafm5D3-D3lLCn3Q.js} +1 -1
- package/dist/assets/chartTypes-CD3vrBsI-B60Spgf7.js +1 -0
- package/dist/assets/commonDimensions-Oz1tdAcx-DwbBmI-Z.js +1 -0
- package/dist/assets/{commonTypes-DsWS6Ccc-cGR0O9Jz.js → commonTypes-5tEXwrX4-DCDhKssr.js} +1 -1
- package/dist/assets/{constants-CL2zzW6O.js → constants-CBenFj2i.js} +1 -1
- package/dist/assets/{core-CuilwggZ.js → core--0SFXVg4.js} +2 -2
- package/dist/assets/{dash.all.min-BQNcgKZW.js → dash.all.min-CMzLy0h6.js} +1 -1
- package/dist/assets/downloadPdf-Dsuxeias-COKJ0VCh.js +1 -0
- package/dist/assets/{empty-Br0K9kol.js → empty-2Ztl6Ian.js} +1 -1
- package/dist/assets/{empty-CEDPaJOT.js → empty-B-BVwcCU.js} +1 -1
- package/dist/assets/{epic-C2KVDXXW.js → epic-BDwupNLN.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-Ka06cghW.js → gift-box-Cmt9OgIZ-gUV3c8cx.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-6m6GIu0k.js → graphic-no-data-l-DU4J8fDt-DzC5dTIM.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-XhfY9lsK.js → graphic-no-data-net-burn-l-CzmycA0m-BjiTvRpS.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Sg0ioDB8.js → handshake-BPg58FML-C_pCUoyC.js} +1 -1
- package/dist/assets/{helper-BMiMbXMj-RteEmtlv.js → helper-Ckm10Uko-C9m0OsqI.js} +5 -5
- package/dist/assets/{index-ChqRS7At.js → index-C2ktPgcm.js} +1 -1
- package/dist/assets/{index-Cwdqq_eD.js → index-CKQ5JKXb.js} +1 -1
- package/dist/assets/{index-BdeZI4Mn.js → index-CUC_7JNL.js} +1 -1
- package/dist/assets/{index-D3ZUUMU-.js → index-CdtFtg4i.js} +1 -1
- package/dist/assets/{index-DyBrELD_.js → index-DMG72kst.js} +4818 -4804
- package/dist/assets/{index-HP0uFTr8.js → index-DRaGNS6O.js} +1 -1
- package/dist/assets/{index-Dvsx2dcd.js → index-Dg4q7vvv.js} +1 -1
- package/dist/assets/{lexical-BV3aGUzT.js → lexical-RPR5fwFX.js} +1 -1
- package/dist/assets/{liveblocks-VMOu1QaQ.js → liveblocks-BPjePRRW.js} +1 -1
- package/dist/assets/{lottie-DcZDexOB.js → lottie-x1a70pv5.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-3CmCtSOT.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BkPRWtaj-D46Qw3f-.js → mapSectionWithAcOnlyToTreeNode-Cgyt68f3-gWv13TX8.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-C8lourC4.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-Bre8FfBF-CeRR9HNy.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-DNs8km3x.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-4i_2kpdQ.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-DJ_zEjzF.js} +1 -1
- package/dist/assets/{mui-D3hEqMLm.js → mui-PTGaeBGX.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-D-m40EVy.js → page-detail-CWX5S47F-3PBwxH1C.js} +1 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-CGfB88iV.js +3 -0
- package/dist/assets/{radio-default-CiSgisfh-eAbgY-Yj.js → radio-default-CiSgisfh-D9daKtZ-.js} +1 -1
- package/dist/assets/{react-CTpij_Bh.js → react-BEXFTqCN.js} +1 -1
- package/dist/assets/{react-Y6e5YCHa.js → react-CPjlVQm7.js} +1 -1
- package/dist/assets/{react-CqeqecYS.js → react-Cc4bx4sY.js} +1 -1
- package/dist/assets/{react-CEbGSPpW.js → react-DBNQWrgN.js} +1 -1
- package/dist/assets/{react-DI8vxsp0.js → react-De98TyJc.js} +1 -1
- package/dist/assets/{react-Drm5UQxC.js → react-DrO9dj3C.js} +3 -3
- package/dist/assets/{react-CMq4HMxB.js → react-PvV8gmtB.js} +1 -1
- package/dist/assets/{react-C1gXLOT-.js → react-vwiCHqgl.js} +2 -2
- package/dist/assets/{recharts-Bs6FfRQK.js → recharts-qzs3V2Ze.js} +19 -19
- package/dist/assets/{sentry-BV4jcjA3.js → sentry-DA3cfNtR.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-FCvOtDWd.js → shield-DOlUxcFf-BOQtgkJq.js} +1 -1
- package/dist/assets/toCOABalancesWithID-aLNB35t7-Bj9jSpq4.js +1 -0
- package/dist/assets/{toChartData-C6s-eBzE-DCXAm4rQ.js → toChartData-DUL6vnzJ-BfCuWWLN.js} +1 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-Ge_wO5yU.js +1 -0
- package/dist/assets/{uploadAttachment-BlLqRIXe-B5ch9itw.js → uploadAttachment-Ck4wivBR-Bh6Y3xK9.js} +32 -32
- package/dist/assets/uploadReceipts-CIgkuVpu-BMgQocne.js +1 -0
- package/dist/assets/{url-MntlJyPp.js → url-D0R1uffE.js} +1 -1
- package/dist/assets/{url-BkyzSFLl.js → url-DNLur0Mx.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-Dwfp0CDv.js → useLongPress-GCK2COYQ-Dvxz8hJC.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-Ccl_yhhe.js → usp-line-BBd1wKwW-Bxz4MR0G.js} +1 -1
- package/dist/assets/{utils-AGDkxX5e.js → utils-ZYxK6Sqs.js} +1 -1
- package/dist/assets/{zeni-epic-state-wSe7lDM8.js → zeni-epic-state-qJAZZeEy.js} +6 -6
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-fOu5grd7-_I6UtkXF.js +0 -21
- package/dist/assets/AccountInfoPage-o7hTXtgZ-CYBdmYMP.js +0 -18
- package/dist/assets/AccountLockedInfoModal-BJjCuLHa-YI1GAfPy.js +0 -59
- package/dist/assets/AccountRow-CpftykFx-bzN_3qh3.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-vecchYEf-_IpKVfzg.js +0 -6
- package/dist/assets/ApAgingDetailPage-BOV1WFVF-CJZU2LXe.js +0 -46
- package/dist/assets/AppDrawerContent-Dc2sHnR3-Bud5cVOk.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-BnbPSy4U-4wRot9T7.js +0 -47
- package/dist/assets/ArAgingDetailPage-b_NpDpWj-RkSFd-g-.js +0 -46
- package/dist/assets/BillDetailPage-7TMkWo3V-BpI29Fow.js +0 -266
- package/dist/assets/BillPayPromoPage-AGffhbY3-C44MBEry.js +0 -84
- package/dist/assets/BillingSettingsPage-CQ117tT9-3H-s6tQ2.js +0 -44
- package/dist/assets/ChargeCardPromoPage-CPpNh89o-DfgxkRWy.js +0 -222
- package/dist/assets/CollapsableReportTable-CDEe9s_E-TNl2e0Ho.js +0 -2844
- package/dist/assets/ConfettiBurst-BizTW0hz-D0Pewk0g.js +0 -1
- package/dist/assets/CurrencySelectField-KvKyemY6-B3GfB4CH.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-Di904UJs.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-CWF_00EM-DmcEox2S.js +0 -66
- package/dist/assets/DashboardSidebarBackgroundAnimation-UV2CZToG-CyMFhVza.js +0 -12
- package/dist/assets/DepositAccTransactionItem-BY_OvuKg-BsNMu9o_.js +0 -76
- package/dist/assets/DepositAccTransactionListPage-a__bpCOB-D_hGWuPJ.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-BumMT4QM-CBRjN65H.js +0 -21
- package/dist/assets/DownloadOverlay-DqiL3-FB-BSVRX95E.js +0 -439
- package/dist/assets/EditPeoplePage-BcsdEp_d-CHb4ex1x.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-DNUmwdsH-05ewx_ut.js +0 -865
- package/dist/assets/EntityDetailPage-DtX5TjBc-DQKDGAg6.js +0 -18
- package/dist/assets/ExpenseAutomationPage-B8C4BxoV-Ci1A8Wjo.js +0 -1703
- package/dist/assets/GlobalReviewListPage-4eiopkzw-Bih8gWqa.js +0 -291
- package/dist/assets/InsightsSection-De9zu_me-Bh9zGZF1.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-CDf7equc-CiJjOeOD.js +0 -65
- package/dist/assets/InviteFormPage-E2igwKEh-BCSU2LM1.js +0 -312
- package/dist/assets/InvitePeoplePage-Db4P4ZEq-BEebaP5f.js +0 -12
- package/dist/assets/InvoiceUploadSection-DYCjz9CI-DfxPkJOj.js +0 -140
- package/dist/assets/LabeledAddressValueField-C6-hVsPb-DSR7WoQV.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CgZg0uOW-F-cfza7w.js +0 -16
- package/dist/assets/LabeledDocumentField-Bp9m-OrP-CNPLGXDQ.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-3-KekP79-aeAOh3hf.js +0 -59
- package/dist/assets/MagicLinkACHDetailsPage-C494txw0-CY1IheMO.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CONBCbOQ-jeP8c5FK.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-fSY3JGpz-3lDfayHZ.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-BDRXSAO4-C2kPIdG5.js +0 -31
- package/dist/assets/MailingDetailsSection-DZT7JPlI-Cc3Oz9Xy.js +0 -21
- package/dist/assets/MyProfileSettingsPage-L9WuP6HZ-CxLQr9dL.js +0 -85
- package/dist/assets/NoDataTable-CPjJmo4s-rcoXWqQH.js +0 -8
- package/dist/assets/NotificationsListConfig-Bn1zmx6b-Bn3vC5S6.js +0 -1
- package/dist/assets/NotificationsPage-DDwdR_Jq-T3skh5EK.js +0 -685
- package/dist/assets/OpExByVendorPage-DukFYlqO-C6JAoAcj.js +0 -100
- package/dist/assets/PandLWithForecastPage-Bgflh9Om-DboN8TAW.js +0 -107
- package/dist/assets/PeoplePage-CDvKreQl-CkudxP0y.js +0 -675
- package/dist/assets/QBOSetupSection-CzBfIVqR-DJuM0C4n.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-DUVSGQJ6-BsBLC37q.js +0 -32
- package/dist/assets/ReimbursementDetailPage-oIC9QEyF-CwfsRmIP.js +0 -314
- package/dist/assets/ReimbursementPromoPage-BKgsJieE-VA9mHTWf.js +0 -84
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-CeyGWbKR-CxC7mVx8.js +0 -1
- package/dist/assets/ReportTableViewSelector-CXDvZEbR-DF_Vh_2k.js +0 -150
- package/dist/assets/ReportsPage-BoUyXSBC-DHugo8wm.js +0 -121
- package/dist/assets/ScheduleDetailsFixedAssetsPage-Bkp0mCOn-DiQJAeBc.js +0 -37
- package/dist/assets/ScheduleDetailsPage-Dg9rYJbn-D-JcLE-0.js +0 -37
- package/dist/assets/ScheduleSequenceTable-J6Eja8XA-F9fSvOJk.js +0 -324
- package/dist/assets/SignIn-Cu2nzuEC-gpOpExBj.js +0 -491
- package/dist/assets/SignInScreen-COk_kO8l.js +0 -1
- package/dist/assets/SpendManagementListViewPage-9V9u1jPF-BRyGdKFt.js +0 -134
- package/dist/assets/SpendManagementPerTabPage-COvEPq7V-BGeyAQJ7.js +0 -754
- package/dist/assets/StatementsPage-DaFrVUeK-COpXIOnq.js +0 -58
- package/dist/assets/SubTabSwitcher-zrkVj1aP-DHjajhP7.js +0 -58
- package/dist/assets/SummaryCard-B9wqNSwM-D3nnkdoj.js +0 -1
- package/dist/assets/TaskManagementPage-dAK9tl2b-DxOEeJV7.js +0 -508
- package/dist/assets/TimeRangeSwitcher-r1TNqVRb-BwLBwrfQ.js +0 -64
- package/dist/assets/TimeframeSwitcher-DHfHCTa4-B-A8y3JU.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-DvBvguRl-BtU2FMS5.js +0 -31
- package/dist/assets/TransactionDetailPage-f7vWtXWL-WDAq0TSH.js +0 -903
- package/dist/assets/TransactionList-3-mUZOsw-DUcE4Bg8.js +0 -153
- package/dist/assets/TransactionListPage-q6x4_jni-DQgB6nBX.js +0 -35
- package/dist/assets/TreasuryOverviewPage-CuqWmrO5-Dm7dVBUb.js +0 -708
- package/dist/assets/TreasuryStatementsPage-CGr00SXF-DVQF7UJA.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-D9_qnlK4-MocugyBE.js +0 -58
- package/dist/assets/TrendWithTransactions-CTJhTpAM-COrQLjb7.js +0 -116
- package/dist/assets/UploadAdditionalDocumentOverlay-DZfpwE5J-DWhiDViI.js +0 -38
- package/dist/assets/Vendor2FAPopup-DAOf5cJD-mVDrxb-3.js +0 -1
- package/dist/assets/VendorACHDetailsPage-CCOupiSZ-X7XYqk_U.js +0 -1
- package/dist/assets/VendorDetailPage-DufNphGD-mmWMGpt3.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-BayV34Rt-ClhCrIFs.js +0 -1
- package/dist/assets/VendorFirstReviewPage-DA0EL4RJ-CavJcOcs.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DRVMUeXi-81om_0Ih.js +0 -1
- package/dist/assets/ZeniAccountDetailPage-Dp-eo-Vq-EwaP3b0U.js +0 -300
- package/dist/assets/ZeniAccountListViewPage-S-XmAYqD-BFwkc5Zx.js +0 -441
- package/dist/assets/ZeniAccountNavBarPieces-DhjBxfEr-CmvbdhsS.js +0 -14
- package/dist/assets/ZeniAccountSetupPage-CvnIMdcY-BcF-rNt2.js +0 -36
- package/dist/assets/chartTypes-40RenddT-DZcmdGKn.js +0 -1
- package/dist/assets/commonDimensions-BMnB1-xU-QqtoTCOP.js +0 -1
- package/dist/assets/detailCommon-CrcyqWtZ-D8Fb1SL4.js +0 -38
- package/dist/assets/downloadPdf-CUUx8PWn-2rBn8EvK.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DGnyXKBT-BH_N7X7z.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-CvGdU9Ma-DBOtPgCK.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BCOsOvxo-D8jx_1hw.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DIqYP3NK-D7yaFV5m.js +0 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-DvZGh4g5.js +0 -4
- package/dist/assets/toCOABalancesWithID-DkMGvlEt-BQrLH-Nz.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-Bo0yI6m6.js +0 -1
|
@@ -1,685 +0,0 @@
|
|
|
1
|
-
import{d as Q,J as v,aa as Kt,cH as Xt,V as t,bE as Zt,ad as Qt,aT as ei,o as i,ab as ye,O as P,h7 as ti,y as R,ia as ii,b as Ne,T as oi,az as tt,co as it,b5 as ot,dq as st,cv as at,k7 as rt,u as w,i as si,k8 as ai,dn as ue,a$ as ri,H as ni,B as nt,p as S,aj as li,bR as _,cL as he,gb as pe,k9 as fe,ax as lt,a9 as dt,dx as H,fw as ct,gl as di,am as ee,iq as ci,an as U,fK as ui,aX as $e,bc as me,ka as hi,bO as ut,kb as Re,bx as pi}from"./index-DyBrELD_.js";import{a as g}from"./sentry-BV4jcjA3.js";import{n as r,c as A}from"./mui-D3hEqMLm.js";import{H6 as fi,H7 as mi,bL as Z,bh as $,EY as ht}from"./zeni-epic-state-wSe7lDM8.js";import{k as gi}from"./SubTabSwitcher-zrkVj1aP-DHjajhP7.js";import{d as pt}from"./useLongPress-GCK2COYQ-Dwfp0CDv.js";import{A as ft,t as mt,a as gt,E as xt,L as bt,I as wt}from"./NotificationsListConfig-Bn1zmx6b-Bn3vC5S6.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.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]="760559d3-8d3e-46af-84e7-bc3a1982c2e2",e._sentryDebugIdIdentifier="sentry-dbid-760559d3-8d3e-46af-84e7-bc3a1982c2e2")}catch{}})();function xi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:u}){const h=v(),p=Q(),m=g.useCallback(x=>{d(x.id)},[d]),f=g.useCallback(x=>{u(x.id)},[u]);return e.length===0?null:t.jsxs(bi,{windowSize:h,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
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
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=Z(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&&hi(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)=>Z(n.inboxNotification.notifiedAt.toUTCString()).isAfter(Z(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"),u=$().subtract(Math.min($().date(),c),"d").endOf("d"),h=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"),u=$().subtract(Math.min($().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&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),u=$().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&&$().date()>9&&(d=$().startOf("M").startOf("d"),u=$().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 p=$().subtract(h,"month").startOf("M").startOf("d"),m=$().subtract(h,"month").endOf("M").endOf("d");h++,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,Z(l.inboxNotification.notifiedAt.toUTCString()))?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>Z(l.inboxNotification.notifiedAt.toUTCString()).isAfter(Z(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:u,notifiedAt:h},thread:p}=e,{setRequestToOpenThread:m}=g.useContext(di),f=u!=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,ht(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=>H(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:h,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 h=o.find(p=>p.userId===c.id);return c.id?t.jsx(Ni,{notificationData:e,user:h},`${c.id}${te.underscore}${d}`):null}if(_i(c)){const h=ci(c.url)??c.url;return t.jsx(Gi,{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(Oi,{children:u},d)),c.italic===!0&&(u=t.jsx(Pi,{children:u},d)),c.strikethrough===!0&&(u=t.jsx(Bi,{children:u},d)),c.code===!0&&(u=t.jsx(Ai,{children:u},d)),t.jsx(Fi,{children:u},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=H(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(Hi,{isNewNotification:a===ki.justNow,children:a}),t.jsx(Ui,{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
|
-
display: flex;
|
|
7
|
-
flex-direction: row;
|
|
8
|
-
align-items: center;
|
|
9
|
-
justify-content: space-between;
|
|
10
|
-
width: 100%;
|
|
11
|
-
cursor: ${e=>e.isClickable?"pointer":"not-allowed"};
|
|
12
|
-
|
|
13
|
-
background-color: ${e=>e.readStatus==="read"&&e.isClickable?e.theme.colors.grey4:e.theme.colors.grey5};
|
|
14
|
-
|
|
15
|
-
color: ${e=>e.readStatus==="read"&&e.isClickable?e.theme.colors.grey1:e.theme.colors.hero};
|
|
16
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
17
|
-
margin-bottom: -1px;
|
|
18
|
-
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
19
|
-
|
|
20
|
-
padding: ${i.sp3} ${i.sp2} ${i.sp3} ${i.sp4};
|
|
21
|
-
|
|
22
|
-
.userText {
|
|
23
|
-
color: ${S.brandColorJade};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
:first-of-type {
|
|
27
|
-
border-top-left-radius: inherit;
|
|
28
|
-
border-top-right-radius: inherit;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
:last-of-type {
|
|
32
|
-
border-bottom-left-radius: inherit;
|
|
33
|
-
border-bottom-right-radius: inherit;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
${e=>e.isHighlighted?A`
|
|
37
|
-
z-index: 1;
|
|
38
|
-
color: ${e.theme.colors.primary};
|
|
39
|
-
border: 1px solid ${e.theme.colors.primary};
|
|
40
|
-
|
|
41
|
-
.userText {
|
|
42
|
-
color: ${S.brandColorJade};
|
|
43
|
-
}
|
|
44
|
-
`:null};
|
|
45
|
-
|
|
46
|
-
${e=>e.isClickable?A`
|
|
47
|
-
&:hover {
|
|
48
|
-
z-index: 1;
|
|
49
|
-
color: ${e.theme.colors.primary};
|
|
50
|
-
border: 1px solid ${e.theme.colors.primary};
|
|
51
|
-
|
|
52
|
-
.userText {
|
|
53
|
-
color: ${S.brandColorJade};
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
`:null};
|
|
57
|
-
`,Di=r(U)`
|
|
58
|
-
width: ${e=>e.windowSize==="small"?"unset":"10%"};
|
|
59
|
-
gap: ${i.sp2};
|
|
60
|
-
display: flex;
|
|
61
|
-
align-items: center;
|
|
62
|
-
flex-shrink: 0;
|
|
63
|
-
justify-content: end;
|
|
64
|
-
`,Mi=r(ee)`
|
|
65
|
-
color: inherit;
|
|
66
|
-
display: -webkit-box;
|
|
67
|
-
overflow: hidden;
|
|
68
|
-
-webkit-line-clamp: ${e=>de.lineClamp.value(e.windowSize)};
|
|
69
|
-
-webkit-box-orient: vertical;
|
|
70
|
-
width: ${e=>de.sectionWidth.valuePercentage(e.windowSize)};
|
|
71
|
-
`,Oi=r.strong``,Ai=r.code``,Pi=r.em``,Bi=r.s``,Fi=r.span``,Gi=r.a``,Ei=r(ee)`
|
|
72
|
-
color: inherit;
|
|
73
|
-
display: -webkit-box;
|
|
74
|
-
overflow: hidden;
|
|
75
|
-
-webkit-line-clamp: ${e=>de.lineClamp.value(e.windowSize)};
|
|
76
|
-
-webkit-box-orient: vertical;
|
|
77
|
-
width: ${e=>de.sectionWidth.valuePercentage(e.windowSize)};
|
|
78
|
-
`,De=r(me)`
|
|
79
|
-
color: ${e=>e.readStatus==="read"?e.theme.colors.grey1:S.brandColorJade};
|
|
80
|
-
`,je=r(me)`
|
|
81
|
-
color: inherit;
|
|
82
|
-
`,Hi=r(ut)`
|
|
83
|
-
flex-shrink: 0;
|
|
84
|
-
color: ${e=>e.isNewNotification?e.theme.colors.primary:"inherit"};
|
|
85
|
-
`,Ui=r.div`
|
|
86
|
-
display: flex;
|
|
87
|
-
height: ${i.sp2};
|
|
88
|
-
width: ${i.sp2};
|
|
89
|
-
border-radius: ${i.sp2};
|
|
90
|
-
flex-shrink: 0;
|
|
91
|
-
background-color: ${e=>e.readStatus==="unread"?S.info:"transparent"};
|
|
92
|
-
`,ke={emptyRowItemSectionWidth:new R(120,200,250,330,400),emptyLastRowItemSectionWidth:new R(w[6],50,60,w[11],120)},Vi=()=>{const e=v();return t.jsxs(Yi,{windowSize:e,children:[t.jsx(Se,{windowSize:e,isLastItem:!1,children:t.jsx(_,{width:ke.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(Se,{windowSize:e,isLastItem:!1,children:t.jsx(_,{width:ke.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(Se,{windowSize:e,isLastItem:!0,children:t.jsx(_,{width:ke.emptyLastRowItemSectionWidth.value(e),height:18})})]})},Yi=r.div`
|
|
93
|
-
display: flex;
|
|
94
|
-
align-items: center;
|
|
95
|
-
justify-content: space-between;
|
|
96
|
-
|
|
97
|
-
padding: ${i.sp3} ${i.sp2} ${i.sp3} ${i.sp4};
|
|
98
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
99
|
-
margin-bottom: -1px;
|
|
100
|
-
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
101
|
-
|
|
102
|
-
:hover {
|
|
103
|
-
z-index: 1;
|
|
104
|
-
border: ${e=>`1px solid ${e.theme.colors.primary}`};
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
:first-of-type {
|
|
108
|
-
border-top-left-radius: ${i.sp2};
|
|
109
|
-
border-top-right-radius: ${i.sp2};
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
:last-of-type {
|
|
113
|
-
border-bottom-left-radius: ${i.sp2};
|
|
114
|
-
border-bottom-right-radius: ${i.sp2};
|
|
115
|
-
}
|
|
116
|
-
`,Se=r.div`
|
|
117
|
-
display: flex;
|
|
118
|
-
align-items: center;
|
|
119
|
-
position: relative;
|
|
120
|
-
flex: 1 1 auto;
|
|
121
|
-
justify-content: ${e=>e.isLastItem?"flex-end":"start"};
|
|
122
|
-
width: ${e=>e.isLastItem?"10%":vt.valuePercentage(e.windowSize)};
|
|
123
|
-
`,Wi=()=>{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
|
-
display: flex;
|
|
125
|
-
align-items: baseline;
|
|
126
|
-
justify-content: space-between;
|
|
127
|
-
flex-direction: row;
|
|
128
|
-
gap: ${i.sp4};
|
|
129
|
-
|
|
130
|
-
padding: ${i.sp3} ${i.sp2} ${i.sp3} ${i.sp3};
|
|
131
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
132
|
-
margin-bottom: -1px;
|
|
133
|
-
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
134
|
-
|
|
135
|
-
:hover {
|
|
136
|
-
z-index: 1;
|
|
137
|
-
border: ${e=>`1px solid ${e.theme.colors.primary}`};
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
:first-of-type {
|
|
141
|
-
border-top-left-radius: ${i.sp2};
|
|
142
|
-
border-top-right-radius: ${i.sp2};
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
:last-of-type {
|
|
146
|
-
border-bottom-left-radius: ${i.sp2};
|
|
147
|
-
border-bottom-right-radius: ${i.sp2};
|
|
148
|
-
}
|
|
149
|
-
`,qi=r.div`
|
|
150
|
-
display: flex;
|
|
151
|
-
align-items: start;
|
|
152
|
-
flex-direction: column;
|
|
153
|
-
gap: ${i.sp2};
|
|
154
|
-
flex: 1 1 auto;
|
|
155
|
-
justify-content: start;
|
|
156
|
-
`,Ki=r.div`
|
|
157
|
-
display: flex;
|
|
158
|
-
align-items: baseline;
|
|
159
|
-
flex-direction: row;
|
|
160
|
-
justify-content: end;
|
|
161
|
-
`,Xi=()=>v()==="small"?t.jsx(Wi,{}):t.jsx(Vi,{}),Zi={marginLeft:new R(w[2],w[5],w[7])},Qi=()=>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(Xi,{},ue()))})]})},eo=r.div`
|
|
162
|
-
display: block;
|
|
163
|
-
min-height: 100%;
|
|
164
|
-
flex-direction: column;
|
|
165
|
-
width: 100%;
|
|
166
|
-
`,to=r.div`
|
|
167
|
-
display: flex;
|
|
168
|
-
flex-direction: column;
|
|
169
|
-
margin-bottom: ${i.sp5};
|
|
170
|
-
margin-left: ${e=>Zi.marginLeft.valuePx(e.windowSize)};
|
|
171
|
-
`,io=r.div`
|
|
172
|
-
display: flex;
|
|
173
|
-
flex-direction: column;
|
|
174
|
-
border-radius: ${i.sp2};
|
|
175
|
-
`,oo=r.div`
|
|
176
|
-
display: flex;
|
|
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(),u=dt().analytics,{inboxNotification:{id:h,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(h,ht(f.metadata.url),x),f.metadata.application!=="cockpit"&&u.trackCommentActivity("notification","clicked",f.metadata.companyName,d.controllersList.controllers.map(I=>H(I)),f.resolved?"resolved":"open",{name:ct(d.loggedInUser),email:d.loggedInUser?.userEmail??""},"db notification"))},[s,k,c,l,h,f.metadata.url,f.metadata.application,x,d.controllersList,d.loggedInUser,u,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(uo,{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
|
-
display: flex;
|
|
180
|
-
flex-direction: row;
|
|
181
|
-
align-items: baseline;
|
|
182
|
-
justify-content: space-between;
|
|
183
|
-
width: 100%;
|
|
184
|
-
gap: ${i.sp2};
|
|
185
|
-
cursor: ${e=>e.isClickable?"pointer":"not-allowed"};
|
|
186
|
-
|
|
187
|
-
background-color: ${e=>e.readStatus==="read"&&e.isClickable?e.theme.colors.grey4:e.theme.colors.grey5};
|
|
188
|
-
|
|
189
|
-
color: ${e=>e.readStatus==="read"&&e.isClickable?e.theme.colors.grey1:e.theme.colors.hero};
|
|
190
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
191
|
-
margin-bottom: -1px;
|
|
192
|
-
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
193
|
-
|
|
194
|
-
padding: ${i.sp3} ${i.sp2} ${i.sp3} ${i.sp3};
|
|
195
|
-
|
|
196
|
-
.userText {
|
|
197
|
-
color: ${S.brandColorJade};
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
:first-of-type {
|
|
201
|
-
border-top-left-radius: inherit;
|
|
202
|
-
border-top-right-radius: inherit;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
:last-of-type {
|
|
206
|
-
border-bottom-left-radius: inherit;
|
|
207
|
-
border-bottom-right-radius: inherit;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
${e=>e.isHighlighted?A`
|
|
211
|
-
z-index: 1;
|
|
212
|
-
color: ${e.theme.colors.primary};
|
|
213
|
-
border: 1px solid ${e.theme.colors.primary};
|
|
214
|
-
|
|
215
|
-
.userText {
|
|
216
|
-
color: ${S.brandColorJade};
|
|
217
|
-
}
|
|
218
|
-
`:null};
|
|
219
|
-
|
|
220
|
-
${e=>e.isClickable?A`
|
|
221
|
-
&:hover {
|
|
222
|
-
z-index: 1;
|
|
223
|
-
color: ${e.theme.colors.primary};
|
|
224
|
-
border: 1px solid ${e.theme.colors.primary};
|
|
225
|
-
|
|
226
|
-
.userText {
|
|
227
|
-
color: ${S.brandColorJade};
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
`:null};
|
|
231
|
-
`,co=r(U)`
|
|
232
|
-
width: 25%;
|
|
233
|
-
gap: ${i.sp2};
|
|
234
|
-
display: flex;
|
|
235
|
-
align-items: center;
|
|
236
|
-
flex-shrink: 0;
|
|
237
|
-
justify-content: end;
|
|
238
|
-
`,uo=r.div`
|
|
239
|
-
display: flex;
|
|
240
|
-
flex-direction: column;
|
|
241
|
-
gap: ${i.sp2};
|
|
242
|
-
`,It=r(ee)`
|
|
243
|
-
color: inherit;
|
|
244
|
-
display: -webkit-box;
|
|
245
|
-
overflow: hidden;
|
|
246
|
-
-webkit-box-orient: vertical;
|
|
247
|
-
`,Lt=e=>v()==="small"?t.jsx(so,{...e}):t.jsx(Ci,{...e}),{common:{all:Me}}=P.getLocalizedStrings(),ho=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=Q(),{getValues:u}=he(),h=u(s);return t.jsx(po,{style:n,children:t.jsx(pe,{mode:a,checkBoxes:[{label:t.jsx(fo,{htmlFor:`${s}.${Me.toLocaleLowerCase()}`,style:{color:d.colors.primary},children:ge(e)}),value:Me.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((p,m)=>{const f=m===0,x=e.notifications.length-1===m;return{label:t.jsx(Lt,{notificationData:p,users:o,style:{borderTopLeftRadius:f?i.sp2:void 0,borderTopRightRadius:f?i.sp2:void 0,borderBottomLeftRadius:x?i.sp2:void 0,borderBottomRightRadius:x?i.sp2:void 0},isHighlighted:h?.includes(p.inboxNotification.id)===!0,onNotificationTileClick:c}),value:p.inboxNotification.id,defaultChecked:!1,groupLabel:!1}})],name:s,isDisabled:l,style:{width:"100%"},checkBoxStyle:{padding:i.sp3},labelCheckBoxStyle:{padding:i.sp3}})})},po=r.div`
|
|
248
|
-
display: flex;
|
|
249
|
-
align-items: center;
|
|
250
|
-
width: 100%;
|
|
251
|
-
`,fo=r(fe)`
|
|
252
|
-
display: flex;
|
|
253
|
-
align-items: flex-start;
|
|
254
|
-
width: 100%;
|
|
255
|
-
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
256
|
-
`,{common:{all:Oe}}=P.getLocalizedStrings(),mo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=Q(),{getValues:u}=he(),h=u(s),p=g.useRef([]);return g.useEffect(()=>{p.current=p.current.slice(0,e.notifications.length)},[e.notifications.length]),t.jsx(go,{style:n,children:t.jsx(pe,{mode:a,checkBoxes:[{label:t.jsx(Ae,{htmlFor:`${s}.${Oe.toLocaleLowerCase()}`,style:{color:d.colors.primary,marginLeft:i.sp2},children:ge(e)}),value:Oe.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((m,f)=>{const x=f===0,k=e.notifications.length-1===f;return{label:t.jsx(Ae,{ref:B=>p.current[f]=B,htmlFor:`${s}.${m.inboxNotification.id}`,style:{padding:i.sp0},children:t.jsx(xo,{notificationData:m,users:o,style:{borderTopLeftRadius:x?i.sp2:void 0,borderTopRightRadius:x?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:()=>{p.current[f]?.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}})})},go=r.div`
|
|
257
|
-
display: flex;
|
|
258
|
-
align-items: center;
|
|
259
|
-
width: 100%;
|
|
260
|
-
`,Ae=r(fe)`
|
|
261
|
-
display: flex;
|
|
262
|
-
align-items: flex-start;
|
|
263
|
-
width: 100%;
|
|
264
|
-
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
265
|
-
`,xo=r(Lt)``,bo=e=>v()==="small"?t.jsx(mo,{...e}):t.jsx(ho,{...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:u,onUpdateScrollYOffset:h,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=>h(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(Qi,{}):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:Y,ref:E})=>t.jsx(at,{ref:W=>{E(W),x.current=W},height:C,itemCount:L,itemData:{notificationGroups:e,users:o,sectionId:n,checkBoxMode:l,isDisabled:u,isItemLoaded:j,setRowHeight:z,onNotificationClick:m},onItemsRendered:Y,itemSize:B,width:G,style:{willChange:"auto"},overscanCount:wt,onScroll:({scrollOffset:W})=>{I(W)},initialScrollOffset:c,children:$o})})})})})})},$o=({index:e,style:o,data:s})=>{const{notificationGroups:a,users:n,sectionId:l,checkBoxMode:c,isItemLoaded:d,isDisabled:u,setRowHeight:h,onNotificationClick:p}=s,m=g.useRef(null),f=v();if(g.useEffect(()=>{m.current?.firstElementChild!=null&&h(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:u,users:n,onNotificationTileClick:p})},k)}return t.jsx(Be,{ref:m,style:{...o,paddingBottom:i.sp0},children:t.jsx(ve,{numberOfRows:3})},ue())},jo=r.div`
|
|
266
|
-
display: block;
|
|
267
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
268
|
-
height: 100%;
|
|
269
|
-
width: 100%;
|
|
270
|
-
`,ko=r.div`
|
|
271
|
-
height: 100%;
|
|
272
|
-
width: 100%;
|
|
273
|
-
`,So=r.div`
|
|
274
|
-
height: 100%;
|
|
275
|
-
display: flex;
|
|
276
|
-
flex-direction: column;
|
|
277
|
-
max-width: 99.9%;
|
|
278
|
-
`,Be=r.div`
|
|
279
|
-
top: ${i.sp0};
|
|
280
|
-
left: ${i.sp0};
|
|
281
|
-
box-sizing: border-box;
|
|
282
|
-
`,{common:{in:vo,strings:Rt},dateFormat:Co,commentsAndNotifications:{notifications:{actionStrings:{notifications:O}}}}=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"),u=$().subtract(Math.min($().date(),c),"d").endOf("d"),h=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"),u=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=se(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&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),u=$().subtract(2,"d").endOf("d"),a=se(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&&$().date()>9&&(d=$().startOf("M").startOf("d"),u=$().subtract(9,"d").endOf("d"),a=se(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 p=$().subtract(h,"month").startOf("M").startOf("d"),m=$().subtract(h,"month").endOf("M").endOf("d");h++,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=O.newActivity;return e.code==="in_progress"?o=O.due.replace("__task_status__",Re(e.name.toLocaleLowerCase())):o=O.due.replace("__task_status__",vo.toLocaleLowerCase().concat(Rt.space,Re(e.name.toLocaleLowerCase()))),o},No=e=>{const{eventData:{activities:o}}=e;let s=O.newActivity;if(o.length>0){const a=o[0].activityType,n=o[0].metadata.eventStatus;switch(a){case"task_archived":s=O.archive;break;case"task_deleted":s=O.delete;break;case"task_activities":s=O.activities;break;case"task_assigned":s=O.assign;break;case"task_created":s=O.create;break;case"task_due":s=n!=null?To(n):O.dueTomorrow;break;case"task_overdue":s=O.overdue.replace("__date__",o[0].metadata.additionalInfo?.dueDate.format(Co.visual.MMMDFormat)??Rt.empty);break;case"task_status_updated":s=O.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:u}=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:u,notificationStatus:n})]})},Mt=e=>{const{status:o,eventData:{title:s}}=e;return t.jsx(Yo,{notificationStatus:o,children:s||M.hyphen})},Mo=e=>{const o=v();return t.jsx(Vo,{windowSize:o,children:t.jsx(Mt,{...e})})},Oo=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},Ao=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,H(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,H(s[0],!1),M.space]}),Fe,t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.space,s.length===2?M.atTheRate+H(s[1],!1):Io,M.space]})]}):l=t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,H(s[0],!1),M.space]})),l},Ot=e=>t.jsxs(t.Fragment,{children:[t.jsx(Ao,{...e}),No(e),t.jsx(Oo,{...e})]}),Po=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(Ot,{...e})})},At=e=>{const{createTime:o,notificationStatus:s}=e,a=jt(o.toDate());return t.jsxs(t.Fragment,{children:[t.jsx(Wo,{isNewNotification:a===_o.justNow,children:a}),t.jsx(Xo,{notificationStatus:s})]})},Bo=e=>{const o=v();return t.jsx(Eo,{windowSize:o,children:t.jsx(At,{...e})})},Pt=e=>{const{eventData:{activities:o}}=e;return o[0].activityType==="task_overdue"?t.jsx(ui,{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(Ho,{windowSize:o,children:t.jsx(Pt,{...e})})},Go=r.div`
|
|
283
|
-
display: flex;
|
|
284
|
-
flex-direction: row;
|
|
285
|
-
align-items: center;
|
|
286
|
-
justify-content: space-between;
|
|
287
|
-
width: 100%;
|
|
288
|
-
cursor: pointer;
|
|
289
|
-
|
|
290
|
-
background-color: ${e=>e.notificationStatus==="read"?e.theme.colors.grey4:e.theme.colors.grey5};
|
|
291
|
-
|
|
292
|
-
color: ${e=>e.notificationStatus==="read"?e.theme.colors.grey1:e.theme.colors.hero};
|
|
293
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
294
|
-
margin-bottom: -1px;
|
|
295
|
-
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
296
|
-
|
|
297
|
-
padding: ${i.sp3} ${i.sp2} ${i.sp3} ${i.sp4};
|
|
298
|
-
|
|
299
|
-
.userText {
|
|
300
|
-
color: ${S.brandColorJade};
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
:first-of-type {
|
|
304
|
-
border-top-left-radius: inherit;
|
|
305
|
-
border-top-right-radius: inherit;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
:last-of-type {
|
|
309
|
-
border-bottom-left-radius: inherit;
|
|
310
|
-
border-bottom-right-radius: inherit;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
${e=>e.isHighlighted?A`
|
|
314
|
-
z-index: 1;
|
|
315
|
-
color: ${e.theme.colors.primary};
|
|
316
|
-
border: 1px solid ${e.theme.colors.primary};
|
|
317
|
-
|
|
318
|
-
.userText {
|
|
319
|
-
color: ${S.brandColorJade};
|
|
320
|
-
}
|
|
321
|
-
`:null};
|
|
322
|
-
|
|
323
|
-
&:hover {
|
|
324
|
-
z-index: 1;
|
|
325
|
-
color: ${e=>e.theme.colors.primary};
|
|
326
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
327
|
-
|
|
328
|
-
.userText {
|
|
329
|
-
color: ${S.brandColorJade};
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
`,Eo=r(U)`
|
|
333
|
-
width: ${e=>e.windowSize==="small"?"unset":"10%"};
|
|
334
|
-
gap: ${i.sp2};
|
|
335
|
-
display: flex;
|
|
336
|
-
align-items: center;
|
|
337
|
-
flex-shrink: 0;
|
|
338
|
-
justify-content: end;
|
|
339
|
-
`,Ho=r(U)`
|
|
340
|
-
width: ${e=>e.windowSize==="small"?"unset":"10%"};
|
|
341
|
-
display: flex;
|
|
342
|
-
align-items: center;
|
|
343
|
-
flex-shrink: 0;
|
|
344
|
-
justify-content: end;
|
|
345
|
-
`,Uo=r(ee)`
|
|
346
|
-
color: inherit;
|
|
347
|
-
|
|
348
|
-
${e=>e.statusUpdate?A`
|
|
349
|
-
display: flex;
|
|
350
|
-
flex-wrap: wrap;
|
|
351
|
-
gap: ${i.sp1};
|
|
352
|
-
`:A`
|
|
353
|
-
display: -webkit-box;
|
|
354
|
-
overflow: hidden;
|
|
355
|
-
-webkit-line-clamp: ${ce.lineClamp.value(e.windowSize)};
|
|
356
|
-
gap: ${i.sp1};
|
|
357
|
-
-webkit-box-orient: vertical;
|
|
358
|
-
`};
|
|
359
|
-
width: ${e=>ce.sectionWidth.valuePercentage(e.windowSize)};
|
|
360
|
-
`,Vo=r(ee)`
|
|
361
|
-
color: inherit;
|
|
362
|
-
display: -webkit-box;
|
|
363
|
-
overflow: hidden;
|
|
364
|
-
-webkit-line-clamp: ${e=>ce.lineClamp.value(e.windowSize)};
|
|
365
|
-
-webkit-box-orient: vertical;
|
|
366
|
-
width: ${e=>ce.sectionWidth.valuePercentage(e.windowSize)};
|
|
367
|
-
`,q=r(me)`
|
|
368
|
-
color: ${e=>e.notificationStatus==="read"?e.theme.colors.grey1:S.brandColorJade};
|
|
369
|
-
`,Yo=r(me)`
|
|
370
|
-
color: inherit;
|
|
371
|
-
`,Wo=r(ut)`
|
|
372
|
-
flex-shrink: 0;
|
|
373
|
-
color: ${e=>e.isNewNotification?e.theme.colors.primary:"inherit"};
|
|
374
|
-
`,Jo=r.div`
|
|
375
|
-
display: flex;
|
|
376
|
-
align-items: center;
|
|
377
|
-
flex-direction: row;
|
|
378
|
-
gap: ${i.sp2};
|
|
379
|
-
flex-wrap: wrap;
|
|
380
|
-
`,Ge=r(U)`
|
|
381
|
-
color: ${S.neutralGrey5Light};
|
|
382
|
-
background: ${e=>e.backgroundColor};
|
|
383
|
-
border: 1px solid ${e=>e.backgroundColor};
|
|
384
|
-
padding: ${i.sp0} 6px;
|
|
385
|
-
border-radius: ${i.sp1};
|
|
386
|
-
`,qo=r(pi)`
|
|
387
|
-
width: ${i.sp3};
|
|
388
|
-
height: ${i.sp3};
|
|
389
|
-
color: ${e=>e.theme.colors.hero};
|
|
390
|
-
`,Ko=r.div`
|
|
391
|
-
display: flex;
|
|
392
|
-
flex: 1 1 auto;
|
|
393
|
-
`,Xo=r.div`
|
|
394
|
-
display: flex;
|
|
395
|
-
height: ${i.sp2};
|
|
396
|
-
width: ${i.sp2};
|
|
397
|
-
border-radius: ${i.sp2};
|
|
398
|
-
flex-shrink: 0;
|
|
399
|
-
background-color: ${e=>e.notificationStatus==="unread"?S.info:"transparent"};
|
|
400
|
-
`,ae={emptyRowItemSectionWidth:new R(120,200,280,330,400),emptyLastRowItemSectionWidth:new R(w[6],50,60,w[11],120)},Zo=()=>{const e=v();return t.jsxs(Qo,{windowSize:e,children:[t.jsx(re,{windowSize:e,isLastItem:!1,children:t.jsx(_,{width:ae.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(re,{windowSize:e,isLastItem:!1,children:t.jsx(_,{width:ae.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(re,{windowSize:e,isLastItem:!0,children:t.jsx(_,{width:ae.emptyLastRowItemSectionWidth.value(e),height:18})}),t.jsx(re,{windowSize:e,isLastItem:!0,children:t.jsx(_,{width:ae.emptyLastRowItemSectionWidth.value(e),height:18})})]})},Qo=r.div`
|
|
401
|
-
display: flex;
|
|
402
|
-
align-items: center;
|
|
403
|
-
justify-content: space-between;
|
|
404
|
-
|
|
405
|
-
padding: ${i.sp3} ${i.sp2} ${i.sp3} ${i.sp4};
|
|
406
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
407
|
-
margin-bottom: -1px;
|
|
408
|
-
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
409
|
-
|
|
410
|
-
:hover {
|
|
411
|
-
z-index: 1;
|
|
412
|
-
border: ${e=>`1px solid ${e.theme.colors.primary}`};
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
:first-of-type {
|
|
416
|
-
border-top-left-radius: ${i.sp2};
|
|
417
|
-
border-top-right-radius: ${i.sp2};
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
:last-of-type {
|
|
421
|
-
border-bottom-left-radius: ${i.sp2};
|
|
422
|
-
border-bottom-right-radius: ${i.sp2};
|
|
423
|
-
}
|
|
424
|
-
`,re=r.div`
|
|
425
|
-
display: flex;
|
|
426
|
-
align-items: center;
|
|
427
|
-
position: relative;
|
|
428
|
-
flex: 1 1 auto;
|
|
429
|
-
justify-content: ${e=>e.isLastItem?"flex-end":"start"};
|
|
430
|
-
width: ${e=>e.isLastItem?"10%":Dt.valuePercentage(e.windowSize)};
|
|
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
|
-
display: flex;
|
|
433
|
-
flex-direction: column;
|
|
434
|
-
align-items: baseline;
|
|
435
|
-
justify-content: space-between;
|
|
436
|
-
gap: ${i.sp4};
|
|
437
|
-
|
|
438
|
-
padding: ${i.sp3} ${i.sp2} ${i.sp3} ${i.sp3};
|
|
439
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
440
|
-
margin-bottom: -1px;
|
|
441
|
-
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
442
|
-
|
|
443
|
-
:hover {
|
|
444
|
-
z-index: 1;
|
|
445
|
-
border: ${e=>`1px solid ${e.theme.colors.primary}`};
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
:first-of-type {
|
|
449
|
-
border-top-left-radius: ${i.sp2};
|
|
450
|
-
border-top-right-radius: ${i.sp2};
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
:last-of-type {
|
|
454
|
-
border-bottom-left-radius: ${i.sp2};
|
|
455
|
-
border-bottom-right-radius: ${i.sp2};
|
|
456
|
-
}
|
|
457
|
-
`,Ee=r.div`
|
|
458
|
-
display: flex;
|
|
459
|
-
flex-direction: row;
|
|
460
|
-
align-items: start;
|
|
461
|
-
justify-content: space-between;
|
|
462
|
-
gap: ${i.sp2};
|
|
463
|
-
flex: 1 1 auto;
|
|
464
|
-
width: 100%;
|
|
465
|
-
`,is=()=>v()==="small"?t.jsx(es,{}):t.jsx(Zo,{}),os={marginLeft:new R(w[2],w[5],w[7])},ss=()=>t.jsxs(as,{children:[t.jsx(Ce,{numberOfRows:5}),t.jsx(Ce,{numberOfRows:3})]}),Ce=({numberOfRows:e})=>{const o=v();return t.jsxs(rs,{windowSize:o,children:[t.jsx(ls,{children:t.jsx(_,{width:w[12],height:Ne.standardRegular.lineHeightValue})}),t.jsx(ns,{children:[...Array(e)].map(s=>t.jsx(is,{},ue()))})]})},as=r.div`
|
|
466
|
-
display: block;
|
|
467
|
-
min-height: 100%;
|
|
468
|
-
flex-direction: column;
|
|
469
|
-
width: 100%;
|
|
470
|
-
`,rs=r.div`
|
|
471
|
-
display: flex;
|
|
472
|
-
flex-direction: column;
|
|
473
|
-
margin-bottom: ${i.sp5};
|
|
474
|
-
margin-left: ${e=>os.marginLeft.valuePx(e.windowSize)};
|
|
475
|
-
`,ns=r.div`
|
|
476
|
-
display: flex;
|
|
477
|
-
flex-direction: column;
|
|
478
|
-
border-radius: ${i.sp2};
|
|
479
|
-
`,ls=r.div`
|
|
480
|
-
display: flex;
|
|
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:u,activities:h},notificationId:p}=e,m=g.useCallback(()=>{l?.()},[l]),f=g.useCallback(k=>{k.stopPropagation(),k.cancelable&&k.preventDefault(),o?l?.():n(p,u,c,h.length>0?h[0].activityType:void 0)},[p,u,c,h,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(He,{children:[t.jsx(cs,{...e}),t.jsx(hs,{createTime:d,notificationStatus:c})]}),t.jsxs(He,{children:[t.jsx(us,{...e}),h.length>0&&h[0].activityType==="task_status_updated"?null:t.jsx(ps,{...e})]})]})},cs=e=>t.jsx(Bt,{statusUpdate:!1,children:t.jsx(Mt,{...e})}),us=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(Ot,{...e})})},hs=e=>t.jsx(ms,{children:t.jsx(At,{...e})}),ps=e=>t.jsx(gs,{children:t.jsx(Pt,{...e})}),fs=r.div`
|
|
483
|
-
display: flex;
|
|
484
|
-
flex-direction: column;
|
|
485
|
-
align-items: baseline;
|
|
486
|
-
justify-content: space-between;
|
|
487
|
-
width: 100%;
|
|
488
|
-
gap: ${i.sp2};
|
|
489
|
-
cursor: pointer;
|
|
490
|
-
|
|
491
|
-
background-color: ${e=>e.notificationStatus==="read"?e.theme.colors.grey4:e.theme.colors.grey5};
|
|
492
|
-
|
|
493
|
-
color: ${e=>e.notificationStatus==="read"?e.theme.colors.grey1:e.theme.colors.hero};
|
|
494
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
495
|
-
margin-bottom: -1px;
|
|
496
|
-
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
497
|
-
|
|
498
|
-
padding: ${i.sp3} ${i.sp2} ${i.sp3} ${i.sp3};
|
|
499
|
-
|
|
500
|
-
.userText {
|
|
501
|
-
color: ${S.brandColorJade};
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
:first-of-type {
|
|
505
|
-
border-top-left-radius: inherit;
|
|
506
|
-
border-top-right-radius: inherit;
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
:last-of-type {
|
|
510
|
-
border-bottom-left-radius: inherit;
|
|
511
|
-
border-bottom-right-radius: inherit;
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
${e=>e.isHighlighted?A`
|
|
515
|
-
z-index: 1;
|
|
516
|
-
color: ${e.theme.colors.primary};
|
|
517
|
-
border: 1px solid ${e.theme.colors.primary};
|
|
518
|
-
|
|
519
|
-
.userText {
|
|
520
|
-
color: ${S.brandColorJade};
|
|
521
|
-
}
|
|
522
|
-
`:null};
|
|
523
|
-
|
|
524
|
-
&:hover {
|
|
525
|
-
z-index: 1;
|
|
526
|
-
color: ${e=>e.theme.colors.primary};
|
|
527
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
528
|
-
|
|
529
|
-
.userText {
|
|
530
|
-
color: ${S.brandColorJade};
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
`,ms=r(U)`
|
|
534
|
-
width: 25%;
|
|
535
|
-
gap: ${i.sp2};
|
|
536
|
-
display: flex;
|
|
537
|
-
align-items: center;
|
|
538
|
-
flex-shrink: 0;
|
|
539
|
-
justify-content: end;
|
|
540
|
-
`,gs=r(U)`
|
|
541
|
-
width: 25%;
|
|
542
|
-
display: flex;
|
|
543
|
-
align-items: center;
|
|
544
|
-
flex-shrink: 0;
|
|
545
|
-
justify-content: end;
|
|
546
|
-
`,He=r.div`
|
|
547
|
-
display: flex;
|
|
548
|
-
flex-direction: row;
|
|
549
|
-
gap: ${i.sp3};
|
|
550
|
-
width: 100%;
|
|
551
|
-
justify-content: space-between;
|
|
552
|
-
align-items: start;
|
|
553
|
-
`,Bt=r(ee)`
|
|
554
|
-
color: inherit;
|
|
555
|
-
${e=>e.statusUpdate?A`
|
|
556
|
-
display: flex;
|
|
557
|
-
flex-wrap: wrap;
|
|
558
|
-
gap: ${i.sp2};
|
|
559
|
-
`:A`
|
|
560
|
-
display: -webkit-box;
|
|
561
|
-
-webkit-box-orient: horizontal;
|
|
562
|
-
gap: ${i.sp1};
|
|
563
|
-
`};
|
|
564
|
-
`,Ft=e=>v()==="small"?t.jsx(ds,{...e}):t.jsx(Do,{...e}),{common:{all:Ue}}=P.getLocalizedStrings(),xs=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=Q(),{getValues:d}=he(),u=d(o);return t.jsx(bs,{style:a,children:t.jsx(pe,{mode:s,checkBoxes:[{label:t.jsx(ws,{htmlFor:`${o}.${Ue.toLocaleLowerCase()}`,style:{color:c.colors.primary},children:ge(e)}),value:Ue.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((h,p)=>{const m=p===0,f=e.notifications.length-1===p;return{label:t.jsx(Ft,{notificationData:h,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: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}})})},bs=r.div`
|
|
565
|
-
display: flex;
|
|
566
|
-
align-items: center;
|
|
567
|
-
width: 100%;
|
|
568
|
-
`,ws=r(fe)`
|
|
569
|
-
display: flex;
|
|
570
|
-
align-items: flex-start;
|
|
571
|
-
width: 100%;
|
|
572
|
-
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
573
|
-
`,{common:{all:Ve}}=P.getLocalizedStrings(),ys=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=Q(),{getValues:d}=he(),u=d(o),h=g.useRef([]);return g.useEffect(()=>{h.current=h.current.slice(0,e.notifications.length)},[e.notifications.length]),t.jsx($s,{style:a,children:t.jsx(pe,{mode:s,checkBoxes:[{label:t.jsx(Ye,{htmlFor:`${o}.${Ve.toLocaleLowerCase()}`,style:{color:c.colors.primary,marginLeft:i.sp2},children:ge(e)}),value:Ve.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((p,m)=>{const f=m===0,x=e.notifications.length-1===m;return{label:t.jsx(Ye,{ref:k=>h.current[m]=k,htmlFor:`${o}.${p.notificationId}`,style:{padding:i.sp0},children:t.jsx(js,{notificationData:p,style:{borderTopLeftRadius:f?i.sp2:void 0,borderTopRightRadius:f?i.sp2:void 0,borderBottomLeftRadius:x?i.sp2:void 0,borderBottomRightRadius:x?i.sp2:void 0,marginLeft:i.sp2},isHighlighted:u?.includes(p.notificationId)===!0,isSelectionMode:s==="always_on",onNotificationTileClick:l,onNotificationTileLongPress:()=>{h.current[m]?.click()}})}),value:p.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}})})},$s=r.div`
|
|
574
|
-
display: flex;
|
|
575
|
-
align-items: center;
|
|
576
|
-
width: 100%;
|
|
577
|
-
`,Ye=r(fe)`
|
|
578
|
-
display: flex;
|
|
579
|
-
align-items: flex-start;
|
|
580
|
-
width: 100%;
|
|
581
|
-
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
582
|
-
`,js=r(Ft)``,ks=e=>v()==="small"?t.jsx(ys,{...e}):t.jsx(xs,{...e}),{commentsAndNotifications:{notifications:{message:Ss}}}=P.getLocalizedStrings(),We={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:u,onFetchNotificationGroups:h,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?We.rowGap.value("medium-regular"):We.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(()=>{h()},[h]),N=g.useCallback(()=>{},[]),b=tt(L=>u(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:Y})=>t.jsx(at,{ref:E=>{Y(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:u,onNotificationClick:h}=s,p=g.useRef(null),m=v();if(g.useEffect(()=>{p.current?.firstElementChild!=null&&u(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:h})},x)}return t.jsx(Je,{ref:p,style:{...o,paddingBottom:i.sp0},children:t.jsx(Ce,{numberOfRows:3})},ue())},Ts=r.div`
|
|
583
|
-
display: block;
|
|
584
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
585
|
-
height: 100%;
|
|
586
|
-
width: 100%;
|
|
587
|
-
`,Ns=r.div`
|
|
588
|
-
height: 100%;
|
|
589
|
-
width: 100%;
|
|
590
|
-
`,Is=r.div`
|
|
591
|
-
height: 100%;
|
|
592
|
-
display: flex;
|
|
593
|
-
flex-direction: column;
|
|
594
|
-
max-width: 99.9%;
|
|
595
|
-
`,Je=r.div`
|
|
596
|
-
top: ${i.sp0};
|
|
597
|
-
left: ${i.sp0};
|
|
598
|
-
box-sizing: border-box;
|
|
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")},Xe="notificationsPage",K="commentsNotificationsTable",X="notificationsTable",Et=20,ua=({notificationView:e,users:o,isNotificationSettingsVisible:s,isDisabled:a,onNotificationClick:n,onCommentNotificationClick:l,onUpdateNotificationViewUIState:c,onUpdateNotificationTabState:d,onUpdateNotificationViewCurrentTabAndSubTab:u,onUpdateNotificationViewSubTab:h,onFetchMoreNotifications:p,onUpdateNotificationStatus:m,onSettingsClick:f,onBackClick:x,onMarkAllNotificationsAsRead:k})=>{const B=Q(),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:Y}=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]),W=g.useMemo(()=>V.map(y=>({label:y==="all"?Te:ne[y],id:y})),[V]),Ht=g.useMemo(()=>kt(Y).filter(y=>y.notifications.length>0),[Y]),Ut=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===X)&&(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&&Xt(()=>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]),Yt=xe().length>Et?"disabled":a,be=N.watch(K),we=N.watch(X),Le=g.useCallback(()=>{p(b,I)},[p,b,I]),Wt=g.useCallback(()=>{if(b==="comments"){const y={};Object.keys(be).forEach(T=>{y[T]=[]}),N.reset({[K]:y,[X]:we},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}else{const y={};Object.keys(we).forEach(T=>{y[T]=[]}),N.reset({[X]: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(Zt,{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(As,{windowSize:z,children:t.jsx(xi,{tabs:E,selectedTab:b,onTabChange:y=>{const T=mi(y);T!=null&&u(T)},subTabs:W,selectedSubTab:I,onSubTabChange:y=>{const T=fi(y);T!=null&&h(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(Os,{windowSize:z,children:t.jsx(Qt,{...N,children:t.jsx("form",{id:Qe(Xe),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:Ht,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:Ut,sectionId:X,onFetchNotificationGroups:Le,onUpdateScrollYOffset:y=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[I]:y}},b),onNotificationClick:n})})})}),j[b].selectedNotificationIdsForSubTab.length?t.jsx(ei,{formId:Qe(Xe),primaryBtn:{label:Gt.markAsRead,isLoading:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},isDisabled:Yt!=null},cancelBtn:{label:Ls.cancel,isDisabled:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},onClick:Wt},helperContainerStyle:z==="small"?{width:"100%"}:{rowGap:i.sp0},footerContentStyle:{gap:i.sp2},leftSideComponent:t.jsx(ye,{controller:z!=="small",children:t.jsx(Ze,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),topComponent:t.jsx(ye,{controller:z==="small",children:t.jsx(Ze,{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"}})},Ze=({selectedNotificationsCount:e})=>{const o=v();return t.jsxs(Es,{windowSize:o,children:[t.jsx(Us,{children:t.jsx(Hs,{isCircular:e<10,children:t.jsx(Vs,{children:e>qe?`${qe}${Rs}`:e})})}),t.jsxs(Js,{windowSize:o,children:[t.jsx(Ys,{children:e>1?Ke.notificationsSelected:Ke.notificationSelected}),e>Et?t.jsx(Ws,{children:ne.maxLimit}):null]})]})},Ms=r.div`
|
|
600
|
-
display: flex;
|
|
601
|
-
height: 100vh;
|
|
602
|
-
width: 100%;
|
|
603
|
-
flex-direction: column;
|
|
604
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
605
|
-
`,Os=r.div`
|
|
606
|
-
display: flex;
|
|
607
|
-
height: 100%;
|
|
608
|
-
overflow: auto;
|
|
609
|
-
padding-top: ${i.sp0};
|
|
610
|
-
padding-bottom: ${i.sp0};
|
|
611
|
-
padding-left: ${e=>ie.tableContainerLeftPadding.valuePx(e.windowSize)};
|
|
612
|
-
padding-right: ${e=>ie.tableContainerRightPadding.valuePx(e.windowSize)};
|
|
613
|
-
`,As=r.div`
|
|
614
|
-
padding-top: ${i.sp0};
|
|
615
|
-
padding-bottom: ${i.sp0};
|
|
616
|
-
padding-left: ${e=>ie.tabsContainerLeftRightPadding.valuePx(e.windowSize)};
|
|
617
|
-
padding-right: ${e=>ie.tabsContainerLeftRightPadding.valuePx(e.windowSize)};
|
|
618
|
-
`,Ps=r.div`
|
|
619
|
-
min-height: ${i.sp3};
|
|
620
|
-
width: 100%;
|
|
621
|
-
`,Bs=r(si)`
|
|
622
|
-
.mark-as-read {
|
|
623
|
-
color: ${e=>e.disabled===!0?e.theme.colors.grey2:e.theme.colors.hero};
|
|
624
|
-
}
|
|
625
|
-
:hover {
|
|
626
|
-
.mark-as-read {
|
|
627
|
-
color: ${e=>e.disabled===!0?e.theme.colors.grey2:e.theme.colors.primary};
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
`,Fs=r(ai)`
|
|
631
|
-
width: ${i.sp3};
|
|
632
|
-
height: ${i.sp3};
|
|
633
|
-
`,Gs=r.div``,Es=r.div`
|
|
634
|
-
display: flex;
|
|
635
|
-
align-items: center;
|
|
636
|
-
flex-direction: row;
|
|
637
|
-
gap: ${i.sp2};
|
|
638
|
-
margin-left: ${e=>ie.selectedNotificationsTextMarginLeft.valuePx(e.windowSize)};
|
|
639
|
-
`,Hs=r.div`
|
|
640
|
-
${e=>e.isCircular?A`
|
|
641
|
-
height: ${i.sp3};
|
|
642
|
-
width: ${i.sp3};
|
|
643
|
-
padding: ${i.sp0};
|
|
644
|
-
`:A`
|
|
645
|
-
height: 18px;
|
|
646
|
-
min-width: ${i.sp3};
|
|
647
|
-
padding: ${i.sp0} ${i.sp1};
|
|
648
|
-
`}
|
|
649
|
-
background-color: transparent;
|
|
650
|
-
border-radius: inherit;
|
|
651
|
-
`,Us=r.div`
|
|
652
|
-
border: 1px solid ${e=>e.theme.colors.grey1};
|
|
653
|
-
border-radius: ${i.sp12};
|
|
654
|
-
padding: 2px;
|
|
655
|
-
`,Vs=r(ri)`
|
|
656
|
-
height: 100%;
|
|
657
|
-
width: 100%;
|
|
658
|
-
display: flex;
|
|
659
|
-
align-items: center;
|
|
660
|
-
justify-content: center;
|
|
661
|
-
color: ${e=>e.theme.colors.hero};
|
|
662
|
-
`,Ys=r(nt)`
|
|
663
|
-
display: flex;
|
|
664
|
-
`,Ws=r(li)`
|
|
665
|
-
display: flex;
|
|
666
|
-
color: ${S.important};
|
|
667
|
-
margin-left: ${i.sp1};
|
|
668
|
-
`,Js=r(nt)`
|
|
669
|
-
${e=>`${zs.selectedNotificationsText.style(e.windowSize)}`};
|
|
670
|
-
color: ${e=>e.theme.colors.primary};
|
|
671
|
-
display: flex;
|
|
672
|
-
align-items: center;
|
|
673
|
-
flex-wrap: wrap;
|
|
674
|
-
`,qs=r.div`
|
|
675
|
-
width: ${i.sp4};
|
|
676
|
-
height: ${i.sp4};
|
|
677
|
-
`,Ks=r(ti)`
|
|
678
|
-
color: ${e=>e.theme.colors.hero};
|
|
679
|
-
width: ${i.sp4};
|
|
680
|
-
height: ${i.sp4};
|
|
681
|
-
cursor: pointer;
|
|
682
|
-
&:hover {
|
|
683
|
-
color: ${e=>e.theme.colors.primary};
|
|
684
|
-
}
|
|
685
|
-
`,Qe=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 u=d.notifications.map(h=>h.notificationId);l[le(d)]=a.filter(h=>u.includes(h))});const c={};return kt(s).filter(d=>d.notifications.length>0).forEach(d=>{const u=d.notifications.map(h=>h.inboxNotification.id);c[le(d)]=n.filter(h=>u.includes(h))}),{[K]:c,[X]:l}},ha=(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{ua as default,ha as getSelectedNotificationIds,Qe as uniqueFormName};
|