@zeniai/web-cockpit-ui 1.15.52-dev → 1.15.53-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-D2Xav-UW-DmDhM3Ya.js +21 -0
- package/dist/assets/{AIPerformancePage-I03C8PSW-CA1s90X_.js → AIPerformancePage-DlTdGosv-DQP6RhOc.js} +46 -46
- package/dist/assets/AccountInfoPage-B8-8kUGD-CToACIO4.js +18 -0
- package/dist/assets/{AccountInfoPageContent-sA3Gcnqp-CL_vzrPR.js → AccountInfoPageContent-BS2TBUSE-CXMTjqRR.js} +17 -17
- package/dist/assets/{AccountLockedInfoModal-BZYAopgt-BqB0lffx.js → AccountLockedInfoModal-aukulrV7-BdgVRhsa.js} +7 -7
- package/dist/assets/{AccountReconDetailsDrawerPage-ViRClh97-BJ7clwL9.js → AccountReconDetailsDrawerPage-kQJld6_N-CswOv8sQ.js} +50 -50
- package/dist/assets/AccountRow-BiEYR4Y1-CmfzC2gE.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-DBAX4q__-Bh8ZoDe1.js → AccountsPromoCardStack-DBQnDPXQ-D0z5TFOj.js} +28 -28
- package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-BFrcrnKm.js +6 -0
- package/dist/assets/{AddToWalletPage-CyhCQttf-QhVHXwqj.js → AddToWalletPage-C4EwdLZJ-BInlB4A7.js} +29 -29
- package/dist/assets/{AgingReportsPage-R0h2M4Pa-BPDo1WWy.js → AgingReportsPage-vAvkUfOS-D7pZCvXq.js} +14 -14
- package/dist/assets/{AllUserItems-DwCmOyqn-BB9lm9aN.js → AllUserItems-qrYg6Gdx-BCdM6c47.js} +12 -12
- package/dist/assets/{ApAgingDetailPage-BI6tCRap-BxldxrIf.js → ApAgingDetailPage-BRYQMwo2-D_TMSgpW.js} +3 -3
- package/dist/assets/{AppBasePage-5AD8mjXH-d-vQz4Ip.js → AppBasePage-DrE-W6d7-DvGq3J7n.js} +6 -6
- package/dist/assets/AppDrawerContent-ATbZG_cu-BjnW7Nvp.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-Ds-SstoD.js +47 -0
- package/dist/assets/{ArAgingChart-B_Moc1is-BFtidcAa.js → ArAgingChart-CuzG9AZY-LyeeC-_F.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-ToyZzpCy-Czu_myTL.js → ArAgingDetailPage-DwRkcLEu-BwO8bg0D.js} +3 -3
- package/dist/assets/{AttachmentView-MrO6p_bS-C09_HPJU.js → AttachmentView-BrQRChzc-Dm5F4MLP.js} +6 -6
- package/dist/assets/{BankAccountSection-DodjM0QY-JKnRSQjs.js → BankAccountSection-hcKEMs80-9386hWb2.js} +6 -6
- package/dist/assets/BankAccountWarningSection-CpxVDMSZ-DXfuEuGA.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-Ctmnk9S5-CBdNOgni.js → BankConnectionsSettingsPage-Bdw1K00m-B0uSwnpP.js} +25 -25
- package/dist/assets/BillDetailPage-D0NLFZXA-BAo9uy4y.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-Cm-kRPtE-D0mYWAGA.js → BillPayApprovalRuleDetailPage-DkpCvYvo-BXtcghrA.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-DYYmdAGI-BXif4TSd.js → BillPayApprovalRulesPage-BEqZD0GU-BhjcWx9B.js} +5 -5
- package/dist/assets/BillPayPromoPage-BMcP4EU5-DK5zwMUs.js +84 -0
- package/dist/assets/{BillPaySetUpPage-CRk1JPlQ-DfwvUS-u.js → BillPaySetUpPage-WdEdbf16-BdgMOYAB.js} +6 -6
- package/dist/assets/BillingSettingsPage-GtRUqSZm-JcS3RT-t.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-DAUoo9pq-CGT1MF5v.js +1 -0
- package/dist/assets/{BoxItem-B7JwjEHS-GLe4e95X.js → BoxItem-CACRFWG2-CnmPjRPK.js} +3 -3
- package/dist/assets/BusinessVerificationPage-9gZbBDL6-Dso7HJiD.js +138 -0
- package/dist/assets/{CardNumberSubText-C-RZAUkR-Be1AIDeL.js → CardNumberSubText-C-oVdziK-DnaANIDf.js} +9 -9
- package/dist/assets/{CashbackDetailPage-yBXvMZer-3Hcjmbs4.js → CashbackDetailPage-BhFKSl4p-DFlKoeZU.js} +24 -24
- package/dist/assets/{ChargeCardDetailPage-8bFbBt9K-Dk9PfZM8.js → ChargeCardDetailPage-D8J6HINu-Cy0gxJPT.js} +1 -1
- package/dist/assets/{ChargeCardListPage-B9O5pzNX-D8EvLErv.js → ChargeCardListPage-tdUKyHdz-DaeStUfM.js} +27 -27
- package/dist/assets/{ChargeCardListTable-BzxR1456-I7z_YYot.js → ChargeCardListTable-CByk3iqX-BP_2jTx-.js} +55 -55
- package/dist/assets/{ChargeCardPaymentHistoryPage-HfkJGYyo-CVlVN9y1.js → ChargeCardPaymentHistoryPage-B8zRcrjo-CqZTiCeW.js} +41 -41
- package/dist/assets/ChargeCardPromoPage-C4cgx2gm-EwMGXlYV.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-D7kUlVmU-BYJYzLpH.js → ChargeCardSetupPage-DtwiTNKA-CKdHxRmI.js} +3 -3
- package/dist/assets/ChargeCardStatementsPage-B0KPw52e-BNkqxRQ2.js +60 -0
- package/dist/assets/{CheckDepositDrawerPage-UFggEfV1-DeaowvSn.js → CheckDepositDrawerPage-DKNAXI77-BSOutqAK.js} +22 -22
- package/dist/assets/{CollapsableReportTable-BwRNFt9D-D3w6E4nX.js → CollapsableReportTable-Cq8bhaYC-DXVGhc1U.js} +282 -282
- package/dist/assets/{CompanyOfficerDetailsSection-Czd9OA0I-PpNc4QNR.js → CompanyOfficerDetailsSection-Rk0B5cB5-DB11gG9H.js} +32 -32
- package/dist/assets/{CompanyPassportCard-nT7OaLPI-u1s9N1Jh.js → CompanyPassportCard-CHaKk74P-BdhNiQs5.js} +7 -7
- package/dist/assets/{CompanyPassportPage-CwgpT7Ns-1ZhURb_8.js → CompanyPassportPage-DXWXFFKM-1Gz0LfNo.js} +47 -47
- package/dist/assets/{CompleteProfile-C8v6Tp9b-B_GnJ4t1.js → CompleteProfile-ChaWsK6t-CkLnv3sI.js} +1 -1
- package/dist/assets/ConfettiBurst-CdB5fRMt-CRqwwWlg.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-Cf9Qlgny.js → ConstrainedInnerElement-BeIpAPjB-CR-47kA2.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CESiqFO_-VLQw4dZj.js → CreateOrEditVendorPage-C_8Jqubo-CAWRF5So.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-BjETaVSt-DsfV5dnO.js → CreditCardPaymentDrawerPage-lOjOtk28-2rzY7Y_f.js} +14 -14
- package/dist/assets/CurrencySelectField-BDqU4HVy-DUa8DDre.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-BGsyeSIX-DnrwiTHK.js → CustomerOnboardingActivationPage-DO6NCakm-DB3F8kyi.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-Q_KOJWYS.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DyX4Fa7j-D4Zm7ptp.js → CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-DQwtiYKE.js} +17 -17
- package/dist/assets/{CustomerOnboardingNoStepsPage-ColynPuZ-DWaQRfo3.js → CustomerOnboardingNoStepsPage-CbG5WshV-B6Cq5cCV.js} +6 -6
- package/dist/assets/{CustomerOnboardingPage-D8_HJZHo-m6dhWrve.js → CustomerOnboardingPage-DyVyf8oK-Bbvqfzve.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-CNhvXIab-2akibz5Z.js → CustomerOnboardingProductSuitePage-1F3JfCRp-M5aWZTXB.js} +14 -14
- package/dist/assets/{Dashboard-DzmaFlfB-D7bnMHAs.js → Dashboard-Csggwob0-e7KLrAzz.js} +66 -66
- package/dist/assets/{DashboardReportPage-D0ovdT-D-CXiKEBw-.js → DashboardReportPage-DFIdi_I0-uYWfrIup.js} +22 -22
- package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-DszHhGbA.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-Rfwk9Wzj-BXfqyh-p.js → DepositAccTransactionItem-CZ7v1T4S-e2AT80rO.js} +8 -8
- package/dist/assets/DepositAccTransactionListPage-FldPGX6K-Db6KKzae.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-C--eZ-UG-h0uzjMVt.js +21 -0
- package/dist/assets/{DownloadOverlay-FFq5FG7J-BLLib_kt.js → DownloadOverlay-4f9deyJS-Bmz0ejyE.js} +36 -36
- package/dist/assets/{DrawerPage-J3bl7ehG-s3OJdWrr.js → DrawerPage-roO3xvRT-BGC_3oGn.js} +15 -15
- package/dist/assets/EditPeoplePage-pi5RclAj-BAKsXmAv.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-CIUcImns-CpOeMOYM.js +865 -0
- package/dist/assets/EntityDetailPage-OTKTVNMD-madC1I3v.js +18 -0
- package/dist/assets/{EntitySummarySection-CYzQp7PK-i354Lc1S.js → EntitySummarySection-fBL4TZpT-DpmgFY5q.js} +14 -14
- package/dist/assets/{ExpenseAutomationOverviewPage-Cc0dU-zf-Zw16F7j6.js → ExpenseAutomationOverviewPage-CnhNINCc-Ba-7I2q6.js} +48 -48
- package/dist/assets/ExpenseAutomationPage-BDLCJbFw-B65uFwyw.js +1703 -0
- package/dist/assets/{ExpressPayPage-BFL-q602-DvZaGtIb.js → ExpressPayPage-c8oTCnBR-DLD1ESsm.js} +17 -17
- package/dist/assets/{FeaturePreviewPage-CRDanEsJ-Bg8uJihv.js → FeaturePreviewPage-DkiAajs2-jW7XTS4W.js} +2 -2
- package/dist/assets/{FollowStepsSection-lbStDJrW-xgtm7xaE.js → FollowStepsSection-GaWu1kt9-DPxSdgo3.js} +59 -59
- package/dist/assets/GlobalReviewListPage-DEzj0RVG-CeRFieMj.js +291 -0
- package/dist/assets/{InformationCardStack-D2FybDBG-DK4mKE9F.js → InformationCardStack-dMFbHUWM-xL6qax_7.js} +5 -5
- package/dist/assets/{InsightsCardStack-BIaW6smi-DdCDTa8t.js → InsightsCardStack-BlXkyuyz-CSObZxx-.js} +10 -10
- package/dist/assets/InsightsSection-D-oCmrir-BDt4fRIh.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-DPyXd24p-hHMYoNkO.js → IntegrationsSettingsPage-D-hfghuq-BXO5c_dn.js} +9 -9
- package/dist/assets/{InternationalWireSwiftDetailsPage-BaHqqJqA-DqqqsAXq.js → InternationalWireSwiftDetailsPage-DxdKE300-B7KYCkcv.js} +21 -21
- package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-D-mLEGol.js +65 -0
- package/dist/assets/{InviteFormPage-CuqQsolW-CdPGGN0E.js → InviteFormPage-BCdalqtP-CaETHzpB.js} +22 -22
- package/dist/assets/{InvitePageListView-Cm5bZIk7-CHfi-pbC.js → InvitePageListView-B88FW48q-fpDsceSB.js} +63 -63
- package/dist/assets/InvitePeoplePage-Z-2L7lWc-UD6n_Q7k.js +12 -0
- package/dist/assets/InvoiceUploadSection-C8hytmay-HB4lI_N7.js +140 -0
- package/dist/assets/{IssueChargeCardPage-CvXBQgkF-Pp1RMyhu.js → IssueChargeCardPage-B6wmvbEr-JIsHDCkw.js} +18 -18
- package/dist/assets/{LabeledAddressValue-BzZgMorl-B2WmXaZs.js → LabeledAddressValue-CQrDCgNs-3ouFKt7p.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-DS32l0xi-ffR5_IMa.js → LabeledAddressValueField-BoHS44YO-B3Azc_ND.js} +4 -4
- package/dist/assets/LabeledControlledCheckBoxField-BsFqjCpn-CNZwev0o.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-uVIlAv9_-Cr-pLwSj.js → LabeledCountryMultiSelectField-D1fVDYR_-BT0zs0Jm.js} +5 -5
- package/dist/assets/{LabeledCreatableSingleSelectField-CKBw0XOi-B5ltv_kq.js → LabeledCreatableSingleSelectField-Bhka-Faj-D8-1M_Br.js} +4 -4
- package/dist/assets/LabeledDocumentField-CnRk5aKZ-CV8AaRRN.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-B8sjZQO1-DCDhvZp_.js → LabeledDropDownFormattedTextField-ChgtJqPr-DExq8QI7.js} +5 -5
- package/dist/assets/{LabeledText-C8euMqJ4-Bp0HFgot.js → LabeledText-2EDpuXZ4-BLBQclH9.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DIzGOREd-Bc8PoiiU.js → LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-CDUhkAJw.js} +16 -16
- package/dist/assets/{LabeledZeniRolesDropDownField-DM9r7_1v-DcV8WbWY.js → LabeledZeniRolesDropDownField-CpH0eDWO-BN0y8uby.js} +26 -26
- package/dist/assets/{LinkJETransactionPage-C198tset-DnJPfd0_.js → LinkJETransactionPage-BhV2MnCY-UMeDagXs.js} +13 -13
- package/dist/assets/{LockCardPage-C9qzP7dO-D1jjqQ7s.js → LockCardPage-CHv1xi2J-mFvWtqsS.js} +213 -213
- package/dist/assets/{LowBalancePopup-BUPGnvH6-Fyq6gZkv.js → LowBalancePopup-Cb55PGLc-DRqPG0mh.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-DQ8yr6uv.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-BxHsYq7B.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-CpqMSy1N.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-09NLbjFG-Co3vSy6t.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-jOwfp5xN-_Wo4I2rc.js → MagicLinkTitleSection-BA-i6vzA-RLm3mDeb.js} +4 -4
- package/dist/assets/MailingDetailsSection-EwtoQ2TZ-CYDGTCnx.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-CLSFozv6-BbHYYCjp.js → MyBankConnectionsSettingsPage-Aer6AWxY-7WBcezSN.js} +16 -16
- package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-D3ybcBV0.js +6 -0
- package/dist/assets/{MyProfileSettingsPage-BOoyzeho-CzfkubXL.js → MyProfileSettingsPage-DMz-6h9F-BcvPvdDW.js} +7 -7
- package/dist/assets/NavBarWithPicker-D8WNahg--DzolItlM.js +30 -0
- package/dist/assets/{NavigationArrow-CocIRiS9-D_aGlTJv.js → NavigationArrow-kQWS5Pzb-DnxK-xgA.js} +2 -2
- package/dist/assets/{NavigationDots-BrrmV8fC-C-pOglim.js → NavigationDots-BQb_Fodq-CVrmLvYQ.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-D9NZKb2--bmJmDKdY.js → NewGlobalMerchantPage-z86XZorn-DxAD7tTY.js} +13 -13
- package/dist/assets/{NoDataChart-CeZTA9_3-DPu9FogX.js → NoDataChart-CyYJ6icu-CHQY_bIW.js} +2 -2
- package/dist/assets/{NoDataTable-C6ryanfQ-BGrQrBkr.js → NoDataTable-DVe7sQhD-nqOrgT1n.js} +1 -1
- package/dist/assets/{NotFoundPage-nSaJJjUJ-CGdqaTEf.js → NotFoundPage-B1XCmhSe-DJxMFFFe.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-DmkglhXS-DKDAc0L1.js → NotificationSettingsPage-BaN20EGV-BZKokXl_.js} +17 -17
- package/dist/assets/NotificationsListConfig-BOW_TmPC-2OPYdfiF.js +1 -0
- package/dist/assets/NotificationsPage-C9efAgjo-Q1uCdSWG.js +685 -0
- package/dist/assets/OpExByVendorPage-DXeBU3-z-ClrNqg-6.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-CZWZkEqC.js → OverlayContainerPage-D4QU0p4o-5C-NUnJ8.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CzegKoaH-B0moQiWV.js → PandLWithForecastPage-CXtJhnA_-_B_OXjuI.js} +15 -15
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BwtVSnia-C7hSU-EC.js → PaymentAccountSetupBillingAddressSection-Deb_ngk6-BYIDdJGi.js} +18 -18
- package/dist/assets/PeoplePage-DXC2CtOt-BmC0xa13.js +675 -0
- package/dist/assets/{Preview-wOpHiBqR.js → Preview-DIhdxTnV.js} +1 -1
- package/dist/assets/{ProductsCarousel-DecdL2J--CA_efZNI.js → ProductsCarousel-ufZlh7Rx-BhPoplzW.js} +7 -7
- package/dist/assets/{PromoBaseCards-CN21NM41-DhBLPQmY.js → PromoBaseCards-D2UbhBhT-DISJBAGU.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-BZsRQAbh-D2VVdab9.js → QBOConnectionDialog-BrQ71F06-CE8JPZ4E.js} +9 -9
- package/dist/assets/QBOSetupSection-EOFscEW--D0QcMDeq.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-B4fcDJjA-I7W9UCB5.js → ReimbursementApprovalRuleDetailPage-C-HPI4Ng-1hqq3vgZ.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-ZBgAwbiy-aZ1DJzW_.js → ReimbursementApprovalRulesPage-CMpYn5y_-PKr02NgU.js} +16 -16
- package/dist/assets/ReimbursementDetailPage-CfmICHZb-C0Vlu4pV.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-BykDW05i-QdFq0_ja.js → ReimbursementPromoPage-DXTAY8c7-ijLyTKXj.js} +32 -32
- package/dist/assets/{ReimbursementSetUpPage-D-c1G4Yp-D8qpk2At.js → ReimbursementSetUpPage-KrGPXTCb-Cndb3yRw.js} +7 -7
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-l2mYNEKn-t36_7iYz.js +1 -0
- package/dist/assets/{ReloadCard-B1utQoNe-BgcT-L3D.js → ReloadCard-vAhL7B8U-CXvjyFbd.js} +5 -5
- package/dist/assets/ReportTableViewSelector-Y97ney3W-BsXF5NSn.js +150 -0
- package/dist/assets/{ReportsPage-BYl25tCa-DJAhkt3B.js → ReportsPage-DKM0gVzR-CWRqDWS7.js} +4 -4
- package/dist/assets/{RevenueChart-CsH-ABMc-DFPXH0sB.js → RevenueChart-BEjDS1u4-o0vV82hU.js} +24 -24
- package/dist/assets/{ReviewDetailsPage-NtC0bXjE-CiX3qT7_.js → ReviewDetailsPage-BlQLrN9z-CPNBWRFb.js} +23 -23
- package/dist/assets/{ReviewOverlay-toDIU4kV-D7cJ-CaI.js → ReviewOverlay-Bn3TFqfi-61PAxosm.js} +9 -9
- package/dist/assets/RoleWithToolTip-DhBFvJea-vHmZXp6q.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CGhwVGkS-BkYGdAWq.js → ScheduleDetailsFixedAssetsPage-BMkFjf9Y-jDSlk-pR.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-Dpm8LTi5-ceBvcbCK.js → ScheduleDetailsPage-BP0wdtoP-1II188uq.js} +8 -8
- package/dist/assets/ScheduleSequenceTable-D-rZ4ftr-tSWSHWOw.js +324 -0
- package/dist/assets/{ScreenRoutes-BsccKPz_.js → ScreenRoutes-DZZxoCM2.js} +31 -31
- package/dist/assets/{SetUpAccountSection-D1u5qaQy-BfLHCJ7_.js → SetUpAccountSection-CoVrSSYL-DbZWiYfU.js} +9 -9
- package/dist/assets/SignIn-BoAejo7r-PQVivWYh.js +491 -0
- package/dist/assets/SignInScreen-efHROixG.js +1 -0
- package/dist/assets/SpendManagementListViewPage-D3eISFuA-B7nSuLpf.js +134 -0
- package/dist/assets/{SpendManagementPerTabPage-DASIEooE-BlZ1Uenl.js → SpendManagementPerTabPage-BWDjZyLp-BKnsfe2z.js} +108 -108
- package/dist/assets/{SpendManagementSection-fQq7rBRb-B6t2uSf8.js → SpendManagementSection-D8rBpC-y-wjuhm2Gv.js} +23 -23
- package/dist/assets/{StatementItem-CoVXNSDb-BShn5DUw.js → StatementItem-Cu6dlAsl-BxjOZIKR.js} +3 -3
- package/dist/assets/{StatementsPage-BvGLyYRh-DoAREV67.js → StatementsPage-DiY2BOcu-jACVIQ7g.js} +6 -6
- package/dist/assets/{StatusSwitcher-fb1FvNod-CKz_fWO7.js → StatusSwitcher-B9MARTyR-CVrMK43S.js} +5 -5
- package/dist/assets/{SubTabSwitcher-DiseUTbE-Bc7dZsGz.js → SubTabSwitcher-C3rtSwro-Bfv-jqX0.js} +3 -3
- package/dist/assets/SummaryCard-CShVbqhj-C7VDYfDP.js +1 -0
- package/dist/assets/TaskManagementPage-RVS8nv0n-IfMaVZ79.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-C3criwDK-MjZzatMd.js → TimeRangeSwitcher-DFnX6_WT-B3NiZwLX.js} +13 -13
- package/dist/assets/TimeframeSwitcher-CW08yYgo-DBfI-CDo.js +31 -0
- package/dist/assets/{TimeframeSwitcherWithToggle-DFjeQWwK-DmJGkI9O.js → TimeframeSwitcherWithToggle-DJOCWqpZ-CxMWU2YP.js} +7 -7
- package/dist/assets/{TopExCard-D7QZLM8i-BjdgFU_s.js → TopExCard-dI_WEGWb-C_ouXuJx.js} +7 -7
- package/dist/assets/{TopExDetailPage-CzoQPsjz-CzDcKIu9.js → TopExDetailPage-BWy5E8Lp-DHDoD8xK.js} +17 -17
- package/dist/assets/TransactionActivityLogPage-DjhEIUYm-CDOSrUCy.js +195 -0
- package/dist/assets/TransactionDetailPage-CuxqQd8U-DaUcyO77.js +903 -0
- package/dist/assets/TransactionList-80KjM8Kg-CP1kCzOZ.js +153 -0
- package/dist/assets/{TransactionListBig-CLc3iY_0-BH8MZJQ3.js → TransactionListBig-DWQXH4ID-C0AgFfET.js} +17 -17
- package/dist/assets/TransactionListPage-DC08rCC9-CKoNbk76.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-Be0u4Eqx-Bsk0zx1y.js → TransactionVendorDetailPage-CzfJ5b_3-D0WTBIN_.js} +6 -6
- package/dist/assets/{TransferDrawerPage-Bzs9K_99-DBIJAwyN.js → TransferDrawerPage-6z-MoZZP-DIDlNkaw.js} +29 -29
- package/dist/assets/TreasuryOverviewPage-CF_ter0o-D0FwCj4F.js +708 -0
- package/dist/assets/{TreasuryPromoPage-BNVeuqGo-DMkqkWBp.js → TreasuryPromoPage-Do-PTcjI-BdsWLtH0.js} +33 -33
- package/dist/assets/TreasuryStatementsPage-l_HC4zsb-9mkdhIeY.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-B8YxWytK-Bvqd0Hp0.js +58 -0
- package/dist/assets/{TrendChart-CH1XG3_9-D9c8V-0T.js → TrendChart-C6B61CAm-BLOs7lid.js} +4 -4
- package/dist/assets/{TrendWithTransactions-B_QntlQg-Dz5h1Emg.js → TrendWithTransactions-Bp3vhaPa-tGqMC5Vu.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-D1vMrtZi-DJgzrM0G.js → UncategorizedAccountsMappingPage-cbFqKAv4-D6JJ85e-.js} +13 -13
- package/dist/assets/{UnitIntegrationPage-CVG0dKQJ-Bv-lPBzY.js → UnitIntegrationPage-DZ0ZpE5p-FsM5I6N8.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-D5vRfL2N.js +38 -0
- package/dist/assets/{Vendor2FAPopup-DUxtkJUS-DOxbbG7j.js → Vendor2FAPopup-DezpDfp8-CgUqUKgv.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-C8TWKYfc-BBHDUovS.js +1 -0
- package/dist/assets/{VendorDetailPage-BdEwRV2m-BuocGx2U.js → VendorDetailPage-C4g_Gfsl-DrbUQaMS.js} +89 -89
- package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-DAw-3yRj.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CrSOkq5V-Be8Sq3Qg.js → VendorFiling1099EditablePage-Ckt2MiVN-C5Y0Hhpj.js} +38 -38
- package/dist/assets/VendorFirstReviewPage-CIKRaTax-DZ_fWsTs.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-DEYSLqar-C48z8lC2.js → VendorInternationalWireDetailsPage-Dz8mMD8d-5RolL7pk.js} +14 -14
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-C7gWvoAM.js +1 -0
- package/dist/assets/{VendorsAccountsSection-k1NLZ5FW-Bzs1aGaQ.js → VendorsAccountsSection-BT-RADSV-vp7VaRO6.js} +4 -4
- package/dist/assets/{VerifyDevice-IP50KOC9-D_-Qo9mu.js → VerifyDevice-Cxc9CVMi-Cgu3mf8y.js} +10 -10
- package/dist/assets/{VideoPlayer-DTv2btpq-BL2iPrVd.js → VideoPlayer-9UkKMhGy-DJ6uBu61.js} +3 -3
- package/dist/assets/{VideoPopup-Cfko0G7e-D5lj185C.js → VideoPopup-rfiYmtio-_iCjbOm3.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-D9HiCb7D-BcR8odVm.js → WarningsDrawerPage-DrUA4asI-CcwFPuTA.js} +9 -9
- package/dist/assets/{ZeniAccountDetailPage-Dp0Vq-3v-CZkbiffo.js → ZeniAccountDetailPage-K016HgQt-Cd131nKw.js} +37 -37
- package/dist/assets/{ZeniAccountListViewPage-BAsaZTdW-iSN2fNgn.js → ZeniAccountListViewPage-1oZZynB1-CjD6nbtT.js} +8 -8
- package/dist/assets/ZeniAccountNavBarPieces-C6Oicpue-DGKKSqgJ.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-BSL3C3i2-8AHAiFx8.js → ZeniAccountPromoPage-BCgys-YM-DwhnKx-9.js} +22 -22
- package/dist/assets/{ZeniAccountSetupPage-CnaM-8qN-CMYBKyhj.js → ZeniAccountSetupPage-BubBgkoa-BFY0LSuz.js} +4 -4
- package/dist/assets/ZeniCopyright-BxIwmms--BfYUogKF.js +1 -0
- package/dist/assets/{ZeniTransferAmountSlider-oYwV27SH-CZr7NskK.js → ZeniTransferAmountSlider-DVJ0puXA-aYxPZEFI.js} +4 -4
- package/dist/assets/{add-to-wallet-DgdBD8_G-DbXm7RD1.js → add-to-wallet-DgdBD8_G-DZGmKyiB.js} +1 -1
- package/dist/assets/{analytics-CFLF9sCc.js → analytics-D_c73QMR.js} +1 -1
- package/dist/assets/{analyticsHelper-BaxudydG-DT2Lyeh-.js → analyticsHelper-CT5zOInj-BgC6kfqx.js} +1 -1
- package/dist/assets/analyticsHelper-Di73_evd.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-aoBvaeWN.js → arrow-south-east-round-PEovUgvH-Cl5bzAze.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-C0CNcww5.js → auto-transfer-rule-mbafm5D3-Cgd1DzFo.js} +1 -1
- package/dist/assets/chartTypes-Ddw_3-6f-DDbD-D2D.js +1 -0
- package/dist/assets/commonDimensions-ClmbdehE-D3isPdv2.js +1 -0
- package/dist/assets/{commonTypes-dj64oD5Z-Bwky3r-I.js → commonTypes-B-foaEwJ-B3kT4sSr.js} +1 -1
- package/dist/assets/{constants-C3W5HJdb.js → constants-DYpW9FGW.js} +1 -1
- package/dist/assets/{core-BzTCCyMo.js → core-Cfmldnhs.js} +1 -1
- package/dist/assets/{dash.all.min-CkTzMDyw.js → dash.all.min-CRn-LRx6.js} +1 -1
- package/dist/assets/{detailCommon-BnHMV3Xh-ChdSHt8G.js → detailCommon-Cpgf9GLg-YHVPzUGh.js} +6 -6
- package/dist/assets/downloadPdf-DfRYmfsd-yijlpLuZ.js +1 -0
- package/dist/assets/{empty-BftVTH0C.js → empty-BKT9Ep8-.js} +1 -1
- package/dist/assets/{empty-DF2kDKoQ.js → empty-i3z-0iVf.js} +1 -1
- package/dist/assets/epic-DzSc1k1-.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-xlgqjeRa.js → gift-box-Cmt9OgIZ-DwiLPIzZ.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-d8YRoWN5.js → graphic-no-data-l-DU4J8fDt-CeAnn4nf.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Rpwe6ATQ.js → graphic-no-data-net-burn-l-CzmycA0m-QJP23LBP.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-DefzGiBk.js → handshake-BPg58FML-D1HUbDRz.js} +1 -1
- package/dist/assets/{helper-Dh2z35ok-DVFikn_X.js → helper-DP3YY99s-BUuDECup.js} +3 -3
- package/dist/assets/{index-dIthO2CE.js → index-4u2OqriH.js} +1 -1
- package/dist/assets/{index-D1VxdI1Q.js → index-8pN1_LrG.js} +1 -1
- package/dist/assets/{index-r2Xfaoxu.js → index-BBjGKJIj.js} +1 -1
- package/dist/assets/{index-DAuamGRU.js → index-BfeLc3Lr.js} +1 -1
- package/dist/assets/{index-D0RCZvbR.js → index-ByXRm0Fj.js} +4341 -4346
- package/dist/assets/{index-O9rcG3n2.js → index-DJSq-oST.js} +1 -1
- package/dist/assets/{index-B5MYJ0Gb.js → index-vHvAicGU.js} +1 -1
- package/dist/assets/{lexical-BFSfLoHw.js → lexical-C8q9B2Uw.js} +1 -1
- package/dist/assets/{liveblocks-CKHUw5rb.js → liveblocks-DWegUhIu.js} +1 -1
- package/dist/assets/{lottie-DGC6TFh6.js → lottie-BGI-L4nL.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-BrISft7C.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-QJI_OYzu-DiRfs5eL.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-DbMmCeng.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-CPfI0i_B.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-J3b1nb_T-Bbpk49fN.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-DVA96-CU.js +1 -0
- package/dist/assets/{mui-CWpKo4a_.js → mui-BtuxyOQU.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CVwCMYq3.js → page-detail-CWX5S47F-B7ep9GDp.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-C9iYLSFp.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-B6651goD.js → radio-default-CiSgisfh-CZZPsdKI.js} +1 -1
- package/dist/assets/{react-Bzu_Xy5_.js → react-B9JOATsB.js} +1 -1
- package/dist/assets/{react-vwz9iPml.js → react-BGg3sLTV.js} +1 -1
- package/dist/assets/{react-DvqFhAyq.js → react-CCOUBQ3I.js} +3 -3
- package/dist/assets/{react-DqmG4xDA.js → react-CN9vRF0g.js} +1 -1
- package/dist/assets/{react-BMOW1TgK.js → react-DmXC6qjh.js} +1 -1
- package/dist/assets/{react-lsgzFsFB.js → react-DqQwPwcU.js} +2 -2
- package/dist/assets/{react-C2iK07-V.js → react-DyhjmuQS.js} +1 -1
- package/dist/assets/{react-PDBH9Hq6.js → react-_UdfJnwg.js} +1 -1
- package/dist/assets/{recharts-DgmMLsfg.js → recharts-B1UpAC2z.js} +1 -1
- package/dist/assets/{sentry-D6_R-0PO.js → sentry-BfjekFHA.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BIBsh3vH.js → shield-DOlUxcFf-Diohej-j.js} +1 -1
- package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-DrJ7D3cP.js +1 -0
- package/dist/assets/toChartData-BEjMhb7--Byh1Bg2r.js +1 -0
- package/dist/assets/{uploadAttachment-DbWJ8gRE-sZ5TPM-C.js → uploadAttachment-DUpHzqMe-5f9vnkfw.js} +34 -34
- package/dist/assets/{uploadReceipts-Dge0cNF1-NDnD_ECQ.js → uploadReceipts-Dge0cNF1-Bxip3o5m.js} +1 -1
- package/dist/assets/{url-Cp9BVxqf.js → url-BKWNACvj.js} +1 -1
- package/dist/assets/{url-BD7YYmu3.js → url-CCV-Hsrv.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DMlV1td1.js → useLongPress-GCK2COYQ-448Ji6V-.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-C1nI6oW7.js → usp-line-BBd1wKwW-CdIO-gTm.js} +1 -1
- package/dist/assets/{utils-B8cH97sz.js → utils-BhAlbbTk.js} +1 -1
- package/dist/assets/{zeni-epic-state-CQm7BABf.js → zeni-epic-state-x1SruN8b.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-B_Q7H7vZ-BArjZITD.js +0 -21
- package/dist/assets/AccountInfoPage-DzO1hdnr-qS-XRYJz.js +0 -18
- package/dist/assets/AccountRow-CjgOf4O_-Ct2P2Loi.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-DY8hJwaV-DctQgajm.js +0 -6
- package/dist/assets/AppDrawerContent-ClNaiJrv-81YLeDsl.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-DLomT572-B5aUz-1X.js +0 -47
- package/dist/assets/BankAccountWarningSection-CEqWR1Zw-CrO5LlLC.js +0 -51
- package/dist/assets/BillDetailPage-Cq-0ezLC-D59A1hVS.js +0 -266
- package/dist/assets/BillPayPromoPage-CRKiPcgQ-Db7mTibL.js +0 -84
- package/dist/assets/BillingSettingsPage-CT9shZjq-Dml3b8SY.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-CnBjsecR-KAi_DzA4.js +0 -1
- package/dist/assets/BusinessVerificationPage-AgvJgvCM-VS3BHlkX.js +0 -138
- package/dist/assets/ChargeCardPromoPage-CB2uJfB7-CBexbuVE.js +0 -222
- package/dist/assets/ChargeCardStatementsPage-DLea2BFg-Bzq1bWTF.js +0 -60
- package/dist/assets/ConfettiBurst-BHW_-EIc-D-04DoWU.js +0 -1
- package/dist/assets/CurrencySelectField-BGGEXCd2-CqXdOTD3.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-9chhNs4E-4nf9VU4U.js +0 -1
- package/dist/assets/DashboardSidebarBackgroundAnimation-BIfSgNTQ-CEApsFHe.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-BYLJexH0-Dnn16jUZ.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-QIt_abg6-BNV70TDF.js +0 -21
- package/dist/assets/EditPeoplePage-DiNmwQ-b-8j5oiktm.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-CEKrHDfb-1z4jpKGf.js +0 -865
- package/dist/assets/EntityDetailPage-Iu7CxuAk-C6MAecNn.js +0 -18
- package/dist/assets/ExpenseAutomationPage-CmkSNeYT-DCM38YVH.js +0 -3001
- package/dist/assets/GlobalReviewListPage-CkF4IYGm-BvTLjQUn.js +0 -291
- package/dist/assets/InsightsSection-BGx81rZp-C-CAmhUU.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-X3YGxUsL-CGf1mCm5.js +0 -65
- package/dist/assets/InvitePeoplePage-TC4ogHvA-UvjbDy0v.js +0 -12
- package/dist/assets/InvoiceUploadSection-Ch-_e-be-CsDyuXie.js +0 -140
- package/dist/assets/LabeledControlledCheckBoxField-1F7zUTc1-w--4KVN8.js +0 -16
- package/dist/assets/LabeledDocumentField-D8KhtX0K-Cm1Aq1-V.js +0 -41
- package/dist/assets/MagicLinkACHDetailsPage-CHe6VKLu-BMPkOrFd.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-v-awQlBJ-BH2pOvpz.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-i7QBjsV2-D2g_4xZk.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-RrSqrccZ-BaK1c286.js +0 -31
- package/dist/assets/MailingDetailsSection-ChDYluge-BR5jsra0.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-CMh7keGL-sXZJss6g.js +0 -6
- package/dist/assets/NavBarWithPicker-DDXQ7Sku-vOTr_Eko.js +0 -30
- package/dist/assets/NotificationsListConfig-k8axPWyo-CLFHQwy0.js +0 -1
- package/dist/assets/NotificationsPage-DAxEmGFd-Dm4A-ui3.js +0 -685
- package/dist/assets/OpExByVendorPage-Doliski--xXvwkmsq.js +0 -100
- package/dist/assets/PeoplePage-DRSSRNHe-ClqNeLjT.js +0 -727
- package/dist/assets/QBOSetupSection-Cxm1PJVl-Cg3a5k3R.js +0 -79
- package/dist/assets/ReimbursementDetailPage-DlBiOxIu-CVqJmNIl.js +0 -314
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-fcozBEdQ-Dwe_Lhpv.js +0 -1
- package/dist/assets/ReportTableViewSelector-Dv5KMclT-vopRz_0Z.js +0 -150
- package/dist/assets/RoleWithToolTip-5cp6EPl_-BFxPWWfA.js +0 -22
- package/dist/assets/ScheduleSequenceTable-imPIfH2y-BnVlZREz.js +0 -324
- package/dist/assets/SignIn-DI57GJYJ-BrvCN9BT.js +0 -491
- package/dist/assets/SignInScreen-Db8_UPVb.js +0 -1
- package/dist/assets/SpendManagementListViewPage-DxZ5ZwoM-Dngtiu4y.js +0 -134
- package/dist/assets/SummaryCard-C95uhnrw-Cz4Ul3rj.js +0 -1
- package/dist/assets/TaskManagementPage-CmEmxJHm-I1qb7uu5.js +0 -508
- package/dist/assets/TimeframeSwitcher-B-NCBgZo-Bzw6DaTx.js +0 -31
- package/dist/assets/TransactionActivityLogPage-Dh4TKmlz-CMXoSaEf.js +0 -195
- package/dist/assets/TransactionDetailPage-8CwgUGKw-DD8WTcLz.js +0 -903
- package/dist/assets/TransactionList-ClznvtnK-B-6z-9wK.js +0 -153
- package/dist/assets/TransactionListPage-DDsLCL1i-CqFnzZ3q.js +0 -35
- package/dist/assets/TreasuryOverviewPage-CUbZn5Ys-DIa06mwp.js +0 -725
- package/dist/assets/TreasuryStatementsPage-B5QuiNBh-DSjV2_O7.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-DrX0Tsbc-D9ADPjC9.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-BzbMHbg1-JP-yDb8X.js +0 -38
- package/dist/assets/VendorACHDetailsPage-hlpQV7jq-D-V9LE3V.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-C2IflKW2-F74-Y4ZV.js +0 -1
- package/dist/assets/VendorFirstReviewPage-DoJKNdG9-kEHrc5RF.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DgyDtAJk-C4yDMI1s.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-ChSFLPtf-YUYBoYMy.js +0 -14
- package/dist/assets/ZeniCopyright-lBSuqA9X-zKVr6SPe.js +0 -1
- package/dist/assets/analyticsHelper-fVkT15J2.js +0 -1
- package/dist/assets/chartTypes-DyOVuWqI-BARYdpSf.js +0 -1
- package/dist/assets/commonDimensions-0tYCNmAf-yzUUGq5J.js +0 -1
- package/dist/assets/downloadPdf-CdObX2oB-DpdxICbX.js +0 -1
- package/dist/assets/epic-CJba3GMN.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-BT2nAyCO-BOa6vUQ9.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-DKn1K1pr--4wnUEOR.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-C_jfkzeN-Ch0OV83d.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DOVnv_Y6-PQ-Rs5PV.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-HEnxthuN-MtID2XPF.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DHwya3AR-BunX61SQ.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-Cjeo9h__.js +0 -3
- package/dist/assets/toCOABalancesWithID-r6SROS7c-DIO7gzfN.js +0 -1
- package/dist/assets/toChartData-BLR_ax7l-DRu3ACUZ.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-RL1l3ZIL.js +0 -1
|
@@ -0,0 +1,685 @@
|
|
|
1
|
+
import{d as Z,J as v,aa as Kt,cH as Qt,V as t,bE as Xt,ad as Zt,aT as ei,o as i,ab as ye,F 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 he,a$ as ri,H as ni,a as nt,p as S,aj as li,bR as _,cL as ue,gb as pe,k9 as fe,ax as lt,a9 as dt,dx as U,fw as ct,gl as di,am as ee,iq as ci,an as H,fK as hi,aX as $e,bc as me,ka as ui,bO as ht,kb as Re,bx as pi}from"./index-ByXRm0Fj.js";import{a as g}from"./sentry-BfjekFHA.js";import{n as r,c as O}from"./mui-BtuxyOQU.js";import{Gl as fi,Gm as mi,bL as X,bh as $,Eb as ut}from"./zeni-epic-state-x1SruN8b.js";import{k as gi}from"./SubTabSwitcher-C3rtSwro-Bfv-jqX0.js";import{d as pt}from"./useLongPress-GCK2COYQ-448Ji6V-.js";import{A as ft,t as mt,a as gt,E as xt,L as bt,I as wt}from"./NotificationsListConfig-BOW_TmPC-2OPYdfiF.js";import"./liveblocks-DWegUhIu.js";import"./core-Cfmldnhs.js";import"./recharts-B1UpAC2z.js";import"./lottie-BGI-L4nL.js";import"./analytics-D_c73QMR.js";import"./lexical-C8q9B2Uw.js";import"./utils-BhAlbbTk.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]="cf24b8c3-8703-4ab6-9abd-1e699eda8a6a",e._sentryDebugIdIdentifier="sentry-dbid-cf24b8c3-8703-4ab6-9abd-1e699eda8a6a")}catch{}})();function xi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:h}){const u=v(),p=Z(),m=g.useCallback(x=>{d(x.id)},[d]),f=g.useCallback(x=>{h(x.id)},[h]);return e.length===0?null:t.jsxs(bi,{windowSize:u,children:[t.jsx(ii,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(gi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:f})]})}const bi=r.div`
|
|
2
|
+
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=X(e.toUTCString()),s=$(),a=s.diff(o,"minutes"),n=s.diff(o,"seconds"),l=60,c=24*60;return n<=l?yt.justNow:a<c&&ui(o,0)?o.format(yi.hhmmAFormat):o.format(Ie.visual.MMMDFormat)},_e=e=>{switch(e.code){case"todo":return S.important;case"in_progress":return S.info;case"on_hold":return S.alert;case"done":return S.championLight;case"resolved":return S.successDark;default:return S.neutralGrey2Light}},{commentsAndNotifications:{notifications:{actionStrings:{comments:$i}}}}=P.getLocalizedStrings(),kt=e=>{e.sort((n,l)=>X(n.inboxNotification.notifiedAt.toUTCString()).isAfter(X(l.inboxNotification.notifiedAt.toUTCString()))===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of $t){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),u=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),h=$().subtract(2,"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),h=$().subtract(9,"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=$().subtract(u,"month").startOf("M").startOf("d"),m=$().subtract(u,"month").endOf("M").endOf("d");u++,a=oe(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},oe=(e,o,s)=>{const a=[],n=e.map(l=>rt(o,s,X(l.inboxNotification.notifiedAt.toUTCString()))?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>X(l.inboxNotification.notifiedAt.toUTCString()).isAfter(X(c.inboxNotification.notifiedAt.toUTCString()))===!0?-1:1),{singleGroup:a,remainingData:n}},ji=e=>{const{thread:o}=e,{newRepliesAdded:s,newCommentAdded:a}=$i;return o.comments.length===1?a:s},St=new R(3,2,1,1,1),vt=new R(w[8],w[6],35,35,w[6]),de={lineClamp:St,sectionWidth:vt},{common:{texts:ze,timeStrings:ki,strings:te},commentsAndNotifications:{notifications:{strings:{newMessage:Si},actionStrings:{comments:{newCommentAdded:vi}}}}}=P.getLocalizedStrings(),Ci=({notificationData:e,users:o,isHighlighted:s=!1,style:a,onNotificationTileClick:n})=>{const l=lt(),c=dt().analytics,{inboxNotification:{id:d,readAt:h,notifiedAt:u},thread:p}=e,{setRequestToOpenThread:m}=g.useContext(di),f=h!=null?"read":"unread",{metadata:{url:x,companyId:k,entityType:B},id:z}=p;return t.jsxs(zi,{readStatus:f,isClickable:!!x,isHighlighted:s,style:a,onClick:()=>{x&&(n(d,ut(x),f),(p.metadata.tab==="bill"||p.metadata.tab==="reimbursement")&&m({threadId:z,companyId:k,entityType:B})),p.metadata.application!=="cockpit"&&c.trackCommentActivity("notification","clicked",p.metadata.companyName,l.controllersList.controllers.map(N=>U(N)),p.resolved?"resolved":"open",{name:ct(l.loggedInUser),email:l.loggedInUser?.userEmail??""},"db notification")},children:[t.jsx(Ti,{notificationData:e,users:o}),t.jsx(Ii,{...e}),t.jsx(Li,{timestamp:u,readStatus:f})]})},Ct=({notificationData:e,users:o})=>{const{thread:s}=e,{comments:a}=s,n=a[0];return a.length===0||n.body==null?t.jsx(je,{children:Si}):t.jsx(je,{children:n.body.content.map(l=>{switch(l.type){case"paragraph":return l.children.map((c,d)=>{if(Ri(c)){const u=o.find(p=>p.userId===c.id);return c.id?t.jsx(Ni,{notificationData:e,user:u},`${c.id}${te.underscore}${d}`):null}if(_i(c)){const u=ci(c.url)??c.url;return t.jsx(Gi,{href:u,target:"_blank",rel:"noopener noreferrer nofollow",children:c.text??c.url},d)}let h=c.text;return c.bold===!0&&(h=t.jsx(Ai,{children:h},d)),c.italic===!0&&(h=t.jsx(Pi,{children:h},d)),c.strikethrough===!0&&(h=t.jsx(Bi,{children:h},d)),c.code===!0&&(h=t.jsx(Oi,{children:h},d)),t.jsx(Fi,{children:h},d)});default:return t.jsx(je,{children:vi})}})})},Ti=({notificationData:e,users:o})=>{const s=v();return t.jsx(Ei,{windowSize:s,children:t.jsx(Ct,{notificationData:e,users:o})})},Ni=({notificationData:e,user:o})=>{const{inboxNotification:{readAt:s}}=e,a=s!=null?"read":"unread";let n=t.jsxs(De,{className:"userText",readStatus:a,children:[te.atTheRate,ze.zeniAI,te.space]});if(o!=null){const l=U(o,!1);n=t.jsx(t.Fragment,{children:t.jsxs(De,{className:"userText",readStatus:a,children:[te.atTheRate,l||ze.zeniAI,te.space]})})}return n},Tt=e=>{const o=ji(e);return t.jsx(t.Fragment,{children:o})},Ii=e=>{const o=v();return t.jsx(Mi,{windowSize:o,children:t.jsx(Tt,{...e})})},Nt=e=>{const{timestamp:o,readStatus:s}=e,a=jt(o);return t.jsxs(t.Fragment,{children:[t.jsx(Ui,{isNewNotification:a===ki.justNow,children:a}),t.jsx(Hi,{readStatus:s})]})},Li=e=>{const o=v();return t.jsx(Di,{windowSize:o,children:t.jsx(Nt,{...e})})};function Ri(e){return"type"in e&&e.type==="mention"}function _i(e){return"type"in e&&e.type==="link"}const zi=r.div`
|
|
6
|
+
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?O`
|
|
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?O`
|
|
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(H)`
|
|
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
|
+
`,Ai=r.strong``,Oi=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
|
+
`,Ui=r(ht)`
|
|
83
|
+
flex-shrink: 0;
|
|
84
|
+
color: ${e=>e.isNewNotification?e.theme.colors.primary:"inherit"};
|
|
85
|
+
`,Hi=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(Wi,{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})})]})},Wi=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
|
+
`,Yi=()=>{const e=v();return t.jsxs(Ji,{windowSize:e,children:[t.jsxs(qi,{children:[t.jsx(_,{width:180,height:w[4]}),t.jsx(_,{width:180,height:w[4]})]}),t.jsx(Ki,{children:t.jsx(_,{width:60,height:18})})]})},Ji=r.div`
|
|
124
|
+
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
|
+
`,Qi=()=>v()==="small"?t.jsx(Yi,{}):t.jsx(Vi,{}),Xi={marginLeft:new R(w[2],w[5],w[7])},Zi=()=>t.jsxs(eo,{children:[t.jsx(ve,{numberOfRows:5}),t.jsx(ve,{numberOfRows:3})]}),ve=({numberOfRows:e})=>{const o=v();return t.jsxs(to,{windowSize:o,children:[t.jsx(oo,{children:t.jsx(_,{width:w[12],height:Ne.standardRegular.lineHeightValue})}),t.jsx(io,{children:[...Array(e)].map(s=>t.jsx(Qi,{},he()))})]})},eo=r.div`
|
|
162
|
+
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=>Xi.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(),h=dt().analytics,{inboxNotification:{id:u,readAt:p,notifiedAt:m},thread:f}=e,x=p!=null?"read":"unread",k=f.metadata.url,B=g.useCallback(()=>{c?.()},[c]),z=g.useCallback(b=>{b.stopPropagation(),b.cancelable&&b.preventDefault(),s?c?.():k!=null&&(l(u,ut(f.metadata.url),x),f.metadata.application!=="cockpit"&&h.trackCommentActivity("notification","clicked",f.metadata.companyName,d.controllersList.controllers.map(I=>U(I)),f.resolved?"resolved":"open",{name:ct(d.loggedInUser),email:d.loggedInUser?.userEmail??""},"db notification"))},[s,k,c,l,u,f.metadata.url,f.metadata.application,x,d.controllersList,d.loggedInUser,h,f.metadata.companyName,f.resolved]),N=pt({onLongPress:B},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(lo,{readStatus:x,isClickable:k!=null,isHighlighted:a,style:n,...N,onClick:z,children:[t.jsxs(ho,{children:[t.jsx(ao,{notificationData:e,users:o}),t.jsx(ro,{...e})]}),t.jsx(no,{timestamp:m,readStatus:x})]})},ao=({notificationData:e,users:o})=>t.jsx(It,{children:t.jsx(Ct,{notificationData:e,users:o})}),ro=e=>t.jsx(It,{children:t.jsx(Tt,{...e})}),no=e=>t.jsx(co,{children:t.jsx(Nt,{...e})}),lo=r.div`
|
|
179
|
+
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?O`
|
|
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?O`
|
|
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(H)`
|
|
232
|
+
width: 25%;
|
|
233
|
+
gap: ${i.sp2};
|
|
234
|
+
display: flex;
|
|
235
|
+
align-items: center;
|
|
236
|
+
flex-shrink: 0;
|
|
237
|
+
justify-content: end;
|
|
238
|
+
`,ho=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(),uo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=Z(),{getValues:h}=ue(),u=h(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:u?.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:Ae}}=P.getLocalizedStrings(),mo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=Z(),{getValues:h}=ue(),u=h(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(Oe,{htmlFor:`${s}.${Ae.toLocaleLowerCase()}`,style:{color:d.colors.primary,marginLeft:i.sp2},children:ge(e)}),value:Ae.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((m,f)=>{const x=f===0,k=e.notifications.length-1===f;return{label:t.jsx(Oe,{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:u?.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
|
+
`,Oe=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(uo,{...e}),{commentsAndNotifications:{notifications:{message:wo}}}=P.getLocalizedStrings(),Pe={rowGap:new R(w[0],w[5],w[5])},yo=({notificationGroups:e,users:o,isFetching:s,hasMore:a,sectionId:n,checkBoxMode:l,scrollYOffset:c,currentSubTab:d,isDisabled:h,onUpdateScrollYOffset:u,onFetchNotificationGroups:p,onNotificationClick:m})=>{const f=v(),x=g.useRef(null),k=g.useRef({});g.useEffect(()=>{x.current?.resetAfterIndex(0,!0)},[f,x,e]),g.useEffect(()=>{x.current?.scrollTo(c)},[d]);const B=g.useCallback(C=>{if(k.current?.[C]!=null){const G=f==="small"&&a===!1&&C===e.length-1?Pe.rowGap.value("medium-regular"):Pe.rowGap.value(f);return k.current[C]+G}return(ft*St.value(f)+mt)*3+gt+xt},[f,k,e]),z=g.useCallback((C,G)=>{k.current={...k.current,[C]:G},x.current?.resetAfterIndex(0,!0)},[f,x,e]),N=g.useCallback(()=>{p()},[p]),b=g.useCallback(()=>{},[]),I=tt(C=>u(C),1e3,{trailing:!0}),j=C=>!a||C<e.length,V=g.useCallback(()=>a&&!s?N():b(),[a,s,N,b]),L=a?e.length+1:e.length;return t.jsx(jo,{children:t.jsx(ko,{windowSize:f,children:s&&e.length===0?t.jsx(Zi,{}):s===!1&&e.length===0?t.jsx(it,{message:wo.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(So,{windowSize:f,children:t.jsx(ot,{children:({height:C,width:G})=>t.jsx(st,{isItemLoaded:j,itemCount:bt,loadMoreItems:V,children:({onItemsRendered:W,ref:E})=>t.jsx(at,{ref:Y=>{E(Y),x.current=Y},height:C,itemCount:L,itemData:{notificationGroups:e,users:o,sectionId:n,checkBoxMode:l,isDisabled:h,isItemLoaded:j,setRowHeight:z,onNotificationClick:m},onItemsRendered:W,itemSize:B,width:G,style:{willChange:"auto"},overscanCount:wt,onScroll:({scrollOffset:Y})=>{I(Y)},initialScrollOffset:c,children:$o})})})})})})},$o=({index:e,style:o,data:s})=>{const{notificationGroups:a,users:n,sectionId:l,checkBoxMode:c,isItemLoaded:d,isDisabled:h,setRowHeight:u,onNotificationClick:p}=s,m=g.useRef(null),f=v();if(g.useEffect(()=>{m.current?.firstElementChild!=null&&u(e,m.current.firstElementChild.clientHeight)},[e,m,f,a[e]?.notifications]),d(e)===!0){const x=a[e],k=le(x);return t.jsx(Be,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:m,children:t.jsx(bo,{notificationGroup:x,sectionId:`${l}.${k}`,checkBoxMode:c,isDisabled:h,users:n,onNotificationTileClick:p})},k)}return t.jsx(Be,{ref:m,style:{...o,paddingBottom:i.sp0},children:t.jsx(ve,{numberOfRows:3})},he())},jo=r.div`
|
|
266
|
+
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:A}}}}=P.getLocalizedStrings(),_t=e=>{e.sort((n,l)=>n.createTime.isAfter(l.createTime)===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of $t){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),u=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),h=$().subtract(2,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),h=$().subtract(9,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=$().subtract(u,"month").startOf("M").startOf("d"),m=$().subtract(u,"month").endOf("M").endOf("d");u++,a=se(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},se=(e,o,s)=>{const a=[],n=e.map(l=>rt(o,s,l.createTime)?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>l.createTime.isAfter(c.createTime)===!0?-1:1),{singleGroup:a,remainingData:n}},To=e=>{let o=A.newActivity;return e.code==="in_progress"?o=A.due.replace("__task_status__",Re(e.name.toLocaleLowerCase())):o=A.due.replace("__task_status__",vo.toLocaleLowerCase().concat(Rt.space,Re(e.name.toLocaleLowerCase()))),o},No=e=>{const{eventData:{activities:o}}=e;let s=A.newActivity;if(o.length>0){const a=o[0].activityType,n=o[0].metadata.eventStatus;switch(a){case"task_archived":s=A.archive;break;case"task_deleted":s=A.delete;break;case"task_activities":s=A.activities;break;case"task_assigned":s=A.assign;break;case"task_created":s=A.create;break;case"task_due":s=n!=null?To(n):A.dueTomorrow;break;case"task_overdue":s=A.overdue.replace("__date__",o[0].metadata.additionalInfo?.dueDate.format(Co.visual.MMMDFormat)??Rt.empty);break;case"task_status_updated":s=A.statusUpdate;break}}return s},zt=new R(3,2,1,1,1),Dt=new R(w[8],33,33,33,35),ce={lineClamp:zt,sectionWidth:Dt},{common:{and:Fe,other:Io,others:Lo,texts:Ro,timeStrings:_o,strings:M,tags:zo}}=P.getLocalizedStrings(),Do=({notificationData:e,isHighlighted:o=!1,style:s,onNotificationTileClick:a})=>{const{status:n,notificationId:l,eventData:{entitiyId:c,activities:d},createTime:h}=e;return t.jsxs(Go,{notificationStatus:n,isHighlighted:o,style:s,onClick:()=>{a(l,c,n,d.length>0?d[0].activityType:void 0)},children:[t.jsx(Mo,{...e}),t.jsx(Po,{...e}),t.jsx(Fo,{...e}),t.jsx(Bo,{createTime:h,notificationStatus:n})]})},Mt=e=>{const{status:o,eventData:{title:s}}=e;return t.jsx(Wo,{notificationStatus:o,children:s||M.hyphen})},Mo=e=>{const o=v();return t.jsx(Vo,{windowSize:o,children:t.jsx(Mt,{...e})})},Ao=e=>{const{eventData:{activities:o}}=e;if(o.length>0&&o[0].activityType==="task_status_updated"){const s=o[0].metadata.updates.find(a=>a.type==="code_name_pair"&&a.field==="status");if(s?.oldValue.codeNamePair!=null&&s.newValue.codeNamePair!=null)return t.jsxs(Jo,{children:[t.jsx(Ge,{backgroundColor:_e(s.oldValue.codeNamePair),children:s.oldValue.codeNamePair.name}),t.jsx(qo,{}),t.jsx(Ge,{backgroundColor:_e(s.newValue.codeNamePair),children:s.newValue.codeNamePair.name})]})}return null},Oo=e=>{const{status:o,eventData:{authors:s,activities:a}}=e,n=s.length;if(a[0].activityType==="task_due"||a[0].activityType==="task_overdue"||a[0].activityType==="task_status_updated")return null;let l=t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,Ro.zeniAI,M.space]});return n>0&&(n>2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]}),Fe,t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.space,n-1,M.space,Lo,M.space]})]}):n===2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]}),Fe,t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.space,s.length===2?M.atTheRate+U(s[1],!1):Io,M.space]})]}):l=t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]})),l},At=e=>t.jsxs(t.Fragment,{children:[t.jsx(Oo,{...e}),No(e),t.jsx(Ao,{...e})]}),Po=e=>{const o=v(),{eventData:{activities:s}}=e;return t.jsx(Ho,{windowSize:o,statusUpdate:s.length>0&&s[0].activityType==="task_status_updated"&&s[0].metadata.updates.find(a=>a.field==="status")!=null,children:t.jsx(At,{...e})})},Ot=e=>{const{createTime:o,notificationStatus:s}=e,a=jt(o.toDate());return t.jsxs(t.Fragment,{children:[t.jsx(Yo,{isNewNotification:a===_o.justNow,children:a}),t.jsx(Qo,{notificationStatus:s})]})},Bo=e=>{const o=v();return t.jsx(Eo,{windowSize:o,children:t.jsx(Ot,{...e})})},Pt=e=>{const{eventData:{activities:o}}=e;return o[0].activityType==="task_overdue"?t.jsx(hi,{tagTitle:zo.overdue,textColor:{color:new $e(S.alert),backgroundColor:new $e("transparent"),borderColor:new $e(S.alert)},showLoader:!1}):t.jsx(Ko,{})},Fo=e=>{const o=v();return t.jsx(Uo,{windowSize:o,children:t.jsx(Pt,{...e})})},Go=r.div`
|
|
283
|
+
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?O`
|
|
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(H)`
|
|
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
|
+
`,Uo=r(H)`
|
|
340
|
+
width: ${e=>e.windowSize==="small"?"unset":"10%"};
|
|
341
|
+
display: flex;
|
|
342
|
+
align-items: center;
|
|
343
|
+
flex-shrink: 0;
|
|
344
|
+
justify-content: end;
|
|
345
|
+
`,Ho=r(ee)`
|
|
346
|
+
color: inherit;
|
|
347
|
+
|
|
348
|
+
${e=>e.statusUpdate?O`
|
|
349
|
+
display: flex;
|
|
350
|
+
flex-wrap: wrap;
|
|
351
|
+
gap: ${i.sp1};
|
|
352
|
+
`:O`
|
|
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
|
+
`,Wo=r(me)`
|
|
370
|
+
color: inherit;
|
|
371
|
+
`,Yo=r(ht)`
|
|
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(H)`
|
|
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
|
+
`,Qo=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)},Xo=()=>{const e=v();return t.jsxs(Zo,{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})})]})},Zo=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(Xo,{}),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,{},he()))})]})},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:h,activities:u},notificationId:p}=e,m=g.useCallback(()=>{l?.()},[l]),f=g.useCallback(k=>{k.stopPropagation(),k.cancelable&&k.preventDefault(),o?l?.():n(p,h,c,u.length>0?u[0].activityType:void 0)},[p,h,c,u,o,l,n]),x=pt({onLongPress:m},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(fs,{notificationStatus:c,isHighlighted:s,style:a,...x,onClick:f,children:[t.jsxs(Ue,{children:[t.jsx(cs,{...e}),t.jsx(us,{createTime:d,notificationStatus:c})]}),t.jsxs(Ue,{children:[t.jsx(hs,{...e}),u.length>0&&u[0].activityType==="task_status_updated"?null:t.jsx(ps,{...e})]})]})},cs=e=>t.jsx(Bt,{statusUpdate:!1,children:t.jsx(Mt,{...e})}),hs=e=>{const{eventData:{activities:o}}=e;return t.jsx(Bt,{statusUpdate:o.length>0&&o[0].activityType==="task_status_updated"&&o[0].metadata.updates.find(s=>s.field==="status")!=null,children:t.jsx(At,{...e})})},us=e=>t.jsx(ms,{children:t.jsx(Ot,{...e})}),ps=e=>t.jsx(gs,{children:t.jsx(Pt,{...e})}),fs=r.div`
|
|
483
|
+
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?O`
|
|
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(H)`
|
|
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(H)`
|
|
541
|
+
width: 25%;
|
|
542
|
+
display: flex;
|
|
543
|
+
align-items: center;
|
|
544
|
+
flex-shrink: 0;
|
|
545
|
+
justify-content: end;
|
|
546
|
+
`,Ue=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?O`
|
|
556
|
+
display: flex;
|
|
557
|
+
flex-wrap: wrap;
|
|
558
|
+
gap: ${i.sp2};
|
|
559
|
+
`:O`
|
|
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:He}}=P.getLocalizedStrings(),xs=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=Z(),{getValues:d}=ue(),h=d(o);return t.jsx(bs,{style:a,children:t.jsx(pe,{mode:s,checkBoxes:[{label:t.jsx(ws,{htmlFor:`${o}.${He.toLocaleLowerCase()}`,style:{color:c.colors.primary},children:ge(e)}),value:He.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((u,p)=>{const m=p===0,f=e.notifications.length-1===p;return{label:t.jsx(Ft,{notificationData:u,style:{borderTopLeftRadius:m?i.sp2:void 0,borderTopRightRadius:m?i.sp2:void 0,borderBottomLeftRadius:f?i.sp2:void 0,borderBottomRightRadius:f?i.sp2:void 0},isHighlighted:h?.includes(u.notificationId)===!0,onNotificationTileClick:l}),value:u.notificationId,defaultChecked:!1,groupLabel:!1}})],name:o,isDisabled:n,style:{width:"100%"},checkBoxStyle:{padding:i.sp3},labelCheckBoxStyle:{padding:i.sp3}})})},bs=r.div`
|
|
565
|
+
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=Z(),{getValues:d}=ue(),h=d(o),u=g.useRef([]);return g.useEffect(()=>{u.current=u.current.slice(0,e.notifications.length)},[e.notifications.length]),t.jsx($s,{style:a,children:t.jsx(pe,{mode:s,checkBoxes:[{label:t.jsx(We,{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(We,{ref:k=>u.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:h?.includes(p.notificationId)===!0,isSelectionMode:s==="always_on",onNotificationTileClick:l,onNotificationTileLongPress:()=>{u.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
|
+
`,We=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(),Ye={rowGap:new R(w[0],w[5],w[5])},vs=({notificationGroups:e,isFetching:o,hasMore:s,sectionId:a,checkBoxMode:n,scrollYOffset:l,currentSubTab:c,isDisabled:d,onUpdateScrollYOffset:h,onFetchNotificationGroups:u,onNotificationClick:p})=>{const m=v(),f=g.useRef(null),x=g.useRef({});g.useEffect(()=>{f.current?.resetAfterIndex(0,!0)},[m,f,e]),g.useEffect(()=>{f.current?.scrollTo(l)},[c]);const k=g.useCallback(L=>{if(x.current?.[L]!=null){const C=m==="small"&&s===!1&&L===e.length-1?Ye.rowGap.value("medium-regular"):Ye.rowGap.value(m);return x.current[L]+C}return(ft*zt.value(m)+mt)*3+gt+xt},[m,x,e]),B=g.useCallback((L,C)=>{x.current={...x.current,[L]:C},f.current?.resetAfterIndex(0,!0)},[m,f,e]),z=g.useCallback(()=>{u()},[u]),N=g.useCallback(()=>{},[]),b=tt(L=>h(L),1e3,{trailing:!0}),I=L=>!s||L<e.length,j=g.useCallback(()=>s&&!o?z():N(),[s,o,z,N]),V=s?e.length+1:e.length;return t.jsx(Ts,{children:t.jsx(Ns,{windowSize:m,children:o&&e.length===0?t.jsx(ss,{}):o===!1&&e.length===0?t.jsx(it,{message:Ss.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(Is,{windowSize:m,children:t.jsx(ot,{children:({height:L,width:C})=>t.jsx(st,{isItemLoaded:I,itemCount:bt,loadMoreItems:j,children:({onItemsRendered:G,ref:W})=>t.jsx(at,{ref:E=>{W(E),f.current=E},height:L,itemCount:V,itemData:{notificationGroups:e,sectionId:a,checkBoxMode:n,isDisabled:d,isItemLoaded:I,setRowHeight:B,onNotificationClick:p},onItemsRendered:G,itemSize:k,width:C,style:{willChange:"auto"},overscanCount:wt,onScroll:({scrollOffset:E})=>{b(E)},initialScrollOffset:l,children:Cs})})})})})})},Cs=({index:e,style:o,data:s})=>{const{notificationGroups:a,sectionId:n,checkBoxMode:l,isItemLoaded:c,isDisabled:d,setRowHeight:h,onNotificationClick:u}=s,p=g.useRef(null),m=v();if(g.useEffect(()=>{p.current?.firstElementChild!=null&&h(e,p.current.firstElementChild.clientHeight)},[e,p,m,a[e]?.notifications]),c(e)===!0){const f=a[e],x=le(f);return t.jsx(Je,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:p,children:t.jsx(ks,{notificationGroup:f,sectionId:`${n}.${x}`,checkBoxMode:l,isDisabled:d,onNotificationTileClick:u})},x)}return t.jsx(Je,{ref:p,style:{...o,paddingBottom:i.sp0},children:t.jsx(Ce,{numberOfRows:3})},he())},Ts=r.div`
|
|
583
|
+
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")},Qe="notificationsPage",K="commentsNotificationsTable",Q="notificationsTable",Et=20,ha=({notificationView:e,users:o,isNotificationSettingsVisible:s,isDisabled:a,onNotificationClick:n,onCommentNotificationClick:l,onUpdateNotificationViewUIState:c,onUpdateNotificationTabState:d,onUpdateNotificationViewCurrentTabAndSubTab:h,onUpdateNotificationViewSubTab:u,onFetchMoreNotifications:p,onUpdateNotificationStatus:m,onSettingsClick:f,onBackClick:x,onMarkAllNotificationsAsRead:k})=>{const B=Z(),z=v(),N=Kt({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>et(e),[e]),values:g.useMemo(()=>et(e),[e])}),{currentTab:b,currentSubTab:I,notificationDetailsByTab:j,allSubTabs:V,allNotifications:L,allExternalNotifications:C,notificationsForCurrentTabAndSubTab:G,externalNotificationsForCurrentTabAndSubTab:W}=e,E=g.useMemo(()=>Object.keys(j).map(y=>({label:ne[y],id:ne[y].toLocaleLowerCase(),countDetails:{count:j[y].uiState.unreadCount,isFetching:j[y].fetchCountState.fetchState==="In-Progress"}})),[j]),Y=g.useMemo(()=>V.map(y=>({label:y==="all"?Te:ne[y],id:y})),[V]),Ut=g.useMemo(()=>kt(W).filter(y=>y.notifications.length>0),[W]),Ht=g.useMemo(()=>_t(G).filter(y=>y.notifications.length>0),[G]),Vt=async(y,T)=>{const F=y.split(".")[0],J=[];F!=null&&(F===K||F===Q)&&(Object.values(T[F]).forEach(D=>{J.push(...D.filter(qt=>qt.includes(Te.toLowerCase())===!1))}),d({selectedNotificationIds:J},b))};g.useEffect(()=>{const y=N.watch((T,{name:F})=>{F!=null&&T!=null&&Qt(()=>Vt(F,T))});return()=>{y.unsubscribe()}});const xe=g.useCallback(()=>{const y=[],T=j[b].selectedNotificationIdsForSubTab,F="read";if(b==="comments"){const J=C.filter(D=>D.inboxNotification.readAt==null).map(D=>D.inboxNotification.id);T.forEach(D=>{J.includes(D)&&y.push(D)})}else{const J=L.filter(D=>D.status!==F).map(D=>D.notificationId);T.forEach(D=>{J.includes(D)&&y.push(D)})}return y},[C,L,b,j]),Wt=xe().length>Et?"disabled":a,be=N.watch(K),we=N.watch(Q),Le=g.useCallback(()=>{p(b,I)},[p,b,I]),Yt=g.useCallback(()=>{if(b==="comments"){const y={};Object.keys(be).forEach(T=>{y[T]=[]}),N.reset({[K]:y,[Q]:we},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}else{const y={};Object.keys(we).forEach(T=>{y[T]=[]}),N.reset({[Q]:y,[K]:be},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}d({selectedNotificationIds:[]},b)},[we,be]),Jt=g.useCallback(()=>{const y=j[b].selectedNotificationIdsForSubTab,T="read",F=xe();m(b,y,T,F)},[b,j,xe,m]);return t.jsxs(Ms,{children:[t.jsx(Xt,{source:"NotificationsPage",title:_s.notifications,backgroundColor:B.colors.grey4,onBackClick:x,rightSideComponent:s===!0?t.jsx(Ks,{onClick:f}):t.jsx(qs,{})}),t.jsx(Ps,{}),t.jsx(Os,{windowSize:z,children:t.jsx(xi,{tabs:E,selectedTab:b,onTabChange:y=>{const T=mi(y);T!=null&&h(T)},subTabs:Y,selectedSubTab:I,onSubTabChange:y=>{const T=fi(y);T!=null&&u(T)},subTabRightComponent:t.jsx(Ds,{notificationCount:j[b].uiState.unreadCount,markAsAllReadUpdateState:j[b].markAsAllReadState.fetchState,markAsReadUpdateState:j[b].markAsReadState.fetchState,onMarkAsAllReadClick:()=>{k(b)}})})}),t.jsx(As,{windowSize:z,children:t.jsx(Zt,{...N,children:t.jsx("form",{id:Ze(Qe),onSubmit:N.handleSubmit(Jt),style:{width:"100%"},children:b==="comments"?t.jsx(yo,{users:o,hasMore:j[b].uiState.hasMore,isFetching:j[b].fetchState==="In-Progress",scrollYOffset:j[b].uiState.scrollYOffset[I],currentSubTab:I,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Ut,sectionId:K,onFetchNotificationGroups:Le,onUpdateScrollYOffset:y=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[I]:y}},b),onNotificationClick:l}):t.jsx(vs,{hasMore:j[b].uiState.hasMore,isFetching:j[b].fetchState==="In-Progress",scrollYOffset:j[b].uiState.scrollYOffset[I],currentSubTab:I,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Ht,sectionId:Q,onFetchNotificationGroups:Le,onUpdateScrollYOffset:y=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[I]:y}},b),onNotificationClick:n})})})}),j[b].selectedNotificationIdsForSubTab.length?t.jsx(ei,{formId:Ze(Qe),primaryBtn:{label:Gt.markAsRead,isLoading:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},isDisabled:Wt!=null},cancelBtn:{label:Ls.cancel,isDisabled:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},onClick:Yt},helperContainerStyle:z==="small"?{width:"100%"}:{rowGap:i.sp0},footerContentStyle:{gap:i.sp2},leftSideComponent:t.jsx(ye,{controller:z!=="small",children:t.jsx(Xe,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),topComponent:t.jsx(ye,{controller:z==="small",children:t.jsx(Xe,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),rightSideComponent:t.jsx(ye,{controller:z!=="small",children:t.jsx(Gs,{})})}):null]})},Ds=({markAsAllReadUpdateState:e,markAsReadUpdateState:o,notificationCount:s,onMarkAsAllReadClick:a})=>{const n=s===0,l=g.useCallback(()=>{e!=="In-Progress"&&o!=="In-Progress"&&!n&&a()},[e,o,n,a]);return t.jsx(Bs,{variant:"tertiary",size:"small",label:Gt.markAllAsRead,onClick:l,prefixIcon:e==="In-Progress"?t.jsx(oi,{size:"Small",start:!0}):t.jsx(Fs,{className:"mark-as-read"}),disabled:n,textStyle:{fontWeight:Ne.smallRegular.fontWeight},style:{borderRadius:i.sp1,border:"none",backgroundColor:"transparent",flexShrink:0,padding:i.sp0,cursor:o==="In-Progress"||e==="In-Progress"||n?"default":"pointer"}})},Xe=({selectedNotificationsCount:e})=>{const o=v();return t.jsxs(Es,{windowSize:o,children:[t.jsx(Hs,{children:t.jsx(Us,{isCircular:e<10,children:t.jsx(Vs,{children:e>qe?`${qe}${Rs}`:e})})}),t.jsxs(Js,{windowSize:o,children:[t.jsx(Ws,{children:e>1?Ke.notificationsSelected:Ke.notificationSelected}),e>Et?t.jsx(Ys,{children:ne.maxLimit}):null]})]})},Ms=r.div`
|
|
600
|
+
display: flex;
|
|
601
|
+
height: 100vh;
|
|
602
|
+
width: 100%;
|
|
603
|
+
flex-direction: column;
|
|
604
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
605
|
+
`,As=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
|
+
`,Os=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
|
+
`,Us=r.div`
|
|
640
|
+
${e=>e.isCircular?O`
|
|
641
|
+
height: ${i.sp3};
|
|
642
|
+
width: ${i.sp3};
|
|
643
|
+
padding: ${i.sp0};
|
|
644
|
+
`:O`
|
|
645
|
+
height: 18px;
|
|
646
|
+
min-width: ${i.sp3};
|
|
647
|
+
padding: ${i.sp0} ${i.sp1};
|
|
648
|
+
`}
|
|
649
|
+
background-color: transparent;
|
|
650
|
+
border-radius: inherit;
|
|
651
|
+
`,Hs=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
|
+
`,Ws=r(nt)`
|
|
663
|
+
display: flex;
|
|
664
|
+
`,Ys=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
|
+
`,Ze=e=>`${e}_form`,et=e=>{const{allNotifications:o,allExternalNotifications:s,notificationDetailsByTab:{tasks:{selectedNotificationIds:a},comments:{selectedNotificationIds:n}}}=e,l={};_t(o).filter(d=>d.notifications.length>0).forEach(d=>{const h=d.notifications.map(u=>u.notificationId);l[le(d)]=a.filter(u=>h.includes(u))});const c={};return kt(s).filter(d=>d.notifications.length>0).forEach(d=>{const h=d.notifications.map(u=>u.inboxNotification.id);c[le(d)]=n.filter(u=>h.includes(u))}),{[K]:c,[Q]:l}},ua=(e,o)=>{const s=[];return Object.values(e).forEach(a=>{a.forEach(n=>{n.includes(Te.toLocaleLowerCase())===!1&&o.includes(n)&&s.push(n)})}),s};export{ha as default,ua as getSelectedNotificationIds,Ze as uniqueFormName};
|