@zeniai/web-cockpit-ui 1.14.72-dev-betaSK01 → 1.14.73-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-BZFkcCOG-WfBPHoUX.js → ACHDetailsPage-FHBR2PCA-DLva-SPh.js} +2 -2
- package/dist/assets/{AIPerformancePage-DtNLjoUW-CinUSJg2.js → AIPerformancePage-CiYLvD6Z-bHSk8bLC.js} +124 -124
- package/dist/assets/AccountInfoPage-B0uMPZhx-BIQF2gH2.js +18 -0
- package/dist/assets/{AccountInfoPageContent-B8GKrtCm-10kK72ec.js → AccountInfoPageContent-CdgOtpop-AHRejHe6.js} +13 -13
- package/dist/assets/AccountLockedInfoModal-DnQEp6tD-BW8Fp--s.js +59 -0
- package/dist/assets/AccountReconDetailsDrawerPage-BxjUNX_b-C4CXpIA8.js +239 -0
- package/dist/assets/AccountRow-C6z4Ft3r-BFimoTCg.js +298 -0
- package/dist/assets/AccountsPromoCardStack-BS-HxQ5z-BoaDvf04.js +207 -0
- package/dist/assets/{AddAddressForCardDrawer-Lm7cn4kq-DzFp-OyN.js → AddAddressForCardDrawer-qa7RqzlX-DAOW06gk.js} +2 -2
- package/dist/assets/{AddToWalletPage-nSq-9dQy-D56Hf4hb.js → AddToWalletPage-DNjsPMFK-r8gZ63eR.js} +22 -22
- package/dist/assets/AgingReportsPage-Dmgvzu2b-DiSOGn-n.js +79 -0
- package/dist/assets/AllUserItems-BBC-qn-o-D2MAzw4F.js +192 -0
- package/dist/assets/ApAgingDetailPage-YWdtNxkt-5BxHOM_M.js +46 -0
- package/dist/assets/{AppBasePage-Br0WbQRY-BAK8zLlg.js → AppBasePage-BnA8ceAD-BvanHCQt.js} +5 -5
- package/dist/assets/AppDrawerContent-DKHWPZQW-CEAxNC9t.js +91 -0
- package/dist/assets/ApprovalRulesSettingsPage-D4Vz_gLv-DJSQNR5P.js +47 -0
- package/dist/assets/ArAgingChart-CuHk_U2p-D7juYPVe.js +24 -0
- package/dist/assets/{ArAgingDetailPage-BlV3iJeW-D0lCDh_0.js → ArAgingDetailPage-H77B2AWo-DYwzxBIW.js} +3 -3
- package/dist/assets/{AttachmentView-DhluaeAV-DsM43aN0.js → AttachmentView-D1SPuem6-CmH4xHN2.js} +9 -9
- package/dist/assets/{BankAccountSection-GDEQdiGL-CmBLlIS1.js → BankAccountSection-ByfDYmEM-WCmaTn1f.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-Di_BsiJC-_Ul1tNJQ.js → BankAccountWarningSection-BTCdQgZV-Bb72qOHU.js} +9 -9
- package/dist/assets/BankConnectionsSettingsPage-L62aMW_s-Ce_PfdvA.js +425 -0
- package/dist/assets/BillDetailPage-BBQJpRTI-D0MlJ03G.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-BzyTn4mC-DxDRXjZW.js → BillPayApprovalRuleDetailPage-ByLLupWf-BGMDsIwH.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-DDJ-LxQz-B-4hhNoy.js → BillPayApprovalRulesPage-D4d-6Jnf-CF6fIJls.js} +7 -7
- package/dist/assets/BillPayPromoPage-CPGYF3vl-DVnbNH0W.js +84 -0
- package/dist/assets/BillPaySetUpPage-CeciDq-c-NzaXshML.js +42 -0
- package/dist/assets/BillingSettingsPage-DknUlTgB-CcR7ugmH.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-BIjlRcX--CZ4DepwQ.js +1 -0
- package/dist/assets/{BoxItem-COIjjFrn-CYZK_lth.js → BoxItem-D4K0YgBP-Bm_px4kT.js} +4 -4
- package/dist/assets/BusinessVerificationPage-CWioKmMC--fpYbOGK.js +138 -0
- package/dist/assets/{CardNumberSubText-CmhH95Ff-D70_vfvB.js → CardNumberSubText-C_03r_B--CXrhgc3z.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BPLjvuA3-D2AlurqK.js → CashbackDetailPage-BaImXBc2-BqUQeIYw.js} +56 -56
- package/dist/assets/{ChargeCardDetailPage-qOu4cPGd-CMQ9x73T.js → ChargeCardDetailPage-Ba7cRz0p-DYtlHHMF.js} +214 -214
- package/dist/assets/ChargeCardListPage-BTH_OAht-CJvC6mTi.js +406 -0
- package/dist/assets/{ChargeCardListTable-BGWV4zJl-CcT6S7FA.js → ChargeCardListTable-DpRWVPmZ-CcrBBELQ.js} +54 -54
- package/dist/assets/ChargeCardPromoPage-B3bc_Qcj-DVNboRNz.js +222 -0
- package/dist/assets/ChargeCardSetupPage-3-7oaikG-BYx_BUtm.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-CJgUrcLz-BY-SWhAj.js → ChargeCardStatementsPage-3HMKClyw-mCs_-TXo.js} +4 -4
- package/dist/assets/ChargeCardUtils-Cx6ntaue-CziTslau.js +1 -0
- package/dist/assets/{ChaseOverlay-BC_4vwtb-BQqHx8M-.js → ChaseOverlay-1PyDzocW-DV1roPs3.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-CDo5E13X-CKNKZDF1.js → CheckDepositDrawerPage-DTADpJQC-sqk-xG07.js} +20 -20
- package/dist/assets/CollapsableReportTable-rEGCWPrN-DiziLVLU.js +2932 -0
- package/dist/assets/CompanyOfficerDetailsSection-Dpe50aqM-B1Sor9Us.js +260 -0
- package/dist/assets/{CompanyPassportCard-D3F01eJL-BhEJq4YF.js → CompanyPassportCard-l9sgkbw_-BXrIXjOn.js} +3 -3
- package/dist/assets/CompanyPassportPage-DQPGAnFq-DsQ6naIu.js +574 -0
- package/dist/assets/CompleteProfile-DJBScNev-5kVXmwEh.js +52 -0
- package/dist/assets/{ConfettiBurst--HIHB7Os-S4QyIwiq.js → ConfettiBurst-DukumtTx-CSzALiwF.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D9jmSrKr-DpdjBsSE.js → CreateOrEditVendorPage-C39AEROO-Df_MDMmD.js} +11 -11
- package/dist/assets/CreditCardPaymentDrawerPage-D8VUjeG2-Nczpa7J9.js +224 -0
- package/dist/assets/{CreditCardPaymentPlgSection-8ZShMO31-COciJwfu.js → CreditCardPaymentPlgSection-L8WvXQsE-Dx-X3Ggn.js} +10 -10
- package/dist/assets/{CurrencySelectField-nhg_dhDw-nZHVWMo0.js → CurrencySelectField-yIymL1et-BBkhU934.js} +6 -6
- package/dist/assets/{CustomerOnboardingActivationPage-CoGvz7Kd-1Tt5lNh3.js → CustomerOnboardingActivationPage-BKBFtr-o-B3t33ZLt.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-BwRlnH01-Di0CtCSz.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DUGRKWtN-ClKlbRH6.js → CustomerOnboardingDetailPageSkeleton-BsnPvucg-BEvywTxp.js} +13 -13
- package/dist/assets/{CustomerOnboardingNoStepsPage-Cc5frP29-Pt9D5fwX.js → CustomerOnboardingNoStepsPage-Db1DFgQR-DfT9hNRl.js} +2 -2
- package/dist/assets/CustomerOnboardingPage-BoF4bXiW-CKAc0RQX.js +107 -0
- package/dist/assets/CustomerOnboardingProductSuitePage-BdGFZtH3-DLLnRFgg.js +202 -0
- package/dist/assets/{Dashboard-D6Ba5oj0-C5iZr7Dc.js → Dashboard-hADP7IBB-Bk1vjezx.js} +262 -262
- package/dist/assets/DashboardReportPage-BwTchCvy-O2bBIky3.js +371 -0
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Locz2zHR-Bhgpjfq-.js → DashboardSidebarBackgroundAnimation-B-w4cVMW-BWggpu2o.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-B0BGwVqF-Cwta5ei3.js → DepositAccTransactionItem-BMkCcz-U-g-iJ8Z3m.js} +4 -4
- package/dist/assets/DepositAccTransactionListPage-D6h0mu0p-Cba8Z-zG.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-DQG9O9kV-DkLiQ_AK.js +21 -0
- package/dist/assets/DownloadOverlay-mXe-oklf-DPD6fOSt.js +439 -0
- package/dist/assets/{DrawerPage-BRD6cE6J-1UMYAHb7.js → DrawerPage-DSbF_bCc-BOfcYWDU.js} +13 -13
- package/dist/assets/EditPeoplePage-DnE5ud-m-STxMbpu_.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-CtHzBFwx-CcMSn1Z9.js +865 -0
- package/dist/assets/EntityDetailPage-CSR_wxIn-C3ytfDma.js +18 -0
- package/dist/assets/{EntitySummarySection-BRt1kPDf-DQbEIQFx.js → EntitySummarySection-BP9sqkp_-C8j67E3x.js} +28 -28
- package/dist/assets/{ExpenseAutomationOverviewPage-vUkGameq-CHnaqssF.js → ExpenseAutomationOverviewPage-C-ZrFIVW-LPRP5OZt.js} +50 -50
- package/dist/assets/ExpenseAutomationPage-BEhjUkgs-DU0Mp3Bk.js +1650 -0
- package/dist/assets/ExpressPayPage-C9rqylRE-fd6R9yCg.js +168 -0
- package/dist/assets/{FeaturePreviewPage-CQN2xThT-DJXN60Ac.js → FeaturePreviewPage-BcRRbP7e-DlhiW3MZ.js} +3 -3
- package/dist/assets/{FollowStepsSection-DdwEVWhG-yjJ5FRCa.js → FollowStepsSection-B3Kyt5j4-CgmrU6eD.js} +7 -7
- package/dist/assets/GlobalReviewListPage-Bz-YyIK8-B-UTCvpv.js +291 -0
- package/dist/assets/HelpButton-38HaKgFL-BugYIsvp.js +28 -0
- package/dist/assets/{InformationCardStack-Cw7c9Pnd-BX2LTL8l.js → InformationCardStack-BY26HFGi-BLGIbInA.js} +4 -4
- package/dist/assets/InsightsCardStack-BI7iTuQ_-DQl2fOce.js +79 -0
- package/dist/assets/{InsightsSection-JIKb9lz3-Hi0aN8hq.js → InsightsSection-AQ5yTmGG-DS0VgX7W.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-h4pel2yK-CxqwarZy.js → IntegrationsSettingsPage-BEAFHjYf-d2P0RMG5.js} +8 -8
- package/dist/assets/{InternationalWireSwiftDetailsPage-C2SnHEV1-CzlIxaS1.js → InternationalWireSwiftDetailsPage-DNvv8jLc-dT-poZdm.js} +16 -16
- package/dist/assets/{InternationalWireVerificationPage-Dk11ztF7-BCCRbUea.js → InternationalWireVerificationPage-BdUXxMgU-DhF9zfHu.js} +27 -27
- package/dist/assets/{InviteFormPage-CrtH0cSG-eVIYbN0r.js → InviteFormPage-CY-8DzRS-Bfynw6ME.js} +16 -16
- package/dist/assets/{InvitePageListView-DUoopPip-D5qrm4ww.js → InvitePageListView-DXjKBR4k-Np2jy73K.js} +164 -164
- package/dist/assets/InvitePeoplePage-CIafIgkR-BdmOchmq.js +12 -0
- package/dist/assets/InvoiceUploadSection-cXNOY5jR-DGuQgS61.js +140 -0
- package/dist/assets/{IssueChargeCardPage-D6DCohbK-BMG4Ljit.js → IssueChargeCardPage-DN1zD_YI-i_-kvzIl.js} +1 -1
- package/dist/assets/{LabeledAddressValue-C3R0DSjj-CpxXKm9c.js → LabeledAddressValue-Bk3vXfZU-CU4YMzA1.js} +1 -1
- package/dist/assets/LabeledAddressValueField-6MpVMde--DXTq8JS8.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-zwoLFM1n-B44wDW2V.js → LabeledControlledCheckBoxField-BjYGaRbt-BGdAOJoA.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-BhaeopJt-tsmH64cn.js → LabeledCreatableSingleSelectField-9q4Lqszf-Csk7xXRk.js} +7 -7
- package/dist/assets/LabeledDocumentField-CAWaftIF-CSQ4X3Cr.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-brzU_fnp-hUkbh0bF.js → LabeledDropDownFormattedTextField-WbohTHp8-Bsf-e-tx.js} +5 -5
- package/dist/assets/{LabeledText-BESSkt5Z-CPDVK04g.js → LabeledText-B3JYr4tU-laTDcIhJ.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-vEIvvd-n-DaWgPr9f.js → LabeledUserSingleSelectWithSubtitlesField-DHOsMX6S-5w6248s9.js} +18 -18
- package/dist/assets/{LabeledZeniRolesDropDownField-BXTCN4j2-CLEMt0Ht.js → LabeledZeniRolesDropDownField-DcUdbKa4-fYq87dcd.js} +34 -34
- package/dist/assets/LinkJETransactionPage-B1XJOlhU-DdWugwxQ.js +98 -0
- package/dist/assets/{LockCardPage-DYfgK11k-BFAZ4k7o.js → LockCardPage-B-EvOmPO-B73f-ypE.js} +66 -66
- package/dist/assets/LowBalancePopup-BoFHsW5A-B3QtlbXZ.js +34 -0
- package/dist/assets/{MagicLinkACHDetailsPage-CLXcRbZ--B-X6oebP.js → MagicLinkACHDetailsPage-D5-czDfb-D9jHfcHK.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CZlZr96w-DllJxuHV.js → MagicLinkDomesticWireDetailsPage-DxtWixFB-79ayjypJ.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-DhPjvv0o-BIaiGIsd.js → MagicLinkInternationalWireDetailsPage-kmj9pdzN-DnNURYN2.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Bh2nlLPN-6rfZopUb.js → MagicLinkSuccessPage-BPzk03R8-SXgLVDgR.js} +3 -3
- package/dist/assets/MagicLinkTitleSection-CgS4ZMfb-BI5Lq2SW.js +17 -0
- package/dist/assets/{MailingDetailsSection-9RwlQxVG-_UrE81Sw.js → MailingDetailsSection-BktKZ2Nr-DyWKpOiG.js} +2 -2
- package/dist/assets/{MeetingCalenderPopup-BxV_UIXP-BXGtVHle.js → MeetingCalenderPopup-2tPtQeqB-QatkmFKh.js} +4 -4
- package/dist/assets/{Menu-B6iTf2H7-Cu2Vb11u.js → Menu-CV1BBSGW-DKOqAYYS.js} +2 -2
- package/dist/assets/MyBankConnectionsSettingsPage-CMyrZ4nS-BheEjXSF.js +110 -0
- package/dist/assets/MyPendingActivationChargeCardListPage-DuOoKlPP-thKNb-ry.js +6 -0
- package/dist/assets/MyProfileSettingsPage-CA-5gU5k-BFEIvdNu.js +85 -0
- package/dist/assets/{NavBarWithPicker-CKh_HMfV-i4ObGPrS.js → NavBarWithPicker-DuazRsm7-BXAVo-zX.js} +4 -4
- package/dist/assets/{NavigationArrow-XZmJpDrE-DolsLofY.js → NavigationArrow-DnZuPnXh-BOLYjEri.js} +2 -2
- package/dist/assets/{NavigationDots-BxPgEW_p-Cjr25BX_.js → NavigationDots-DarWlthl-CEtLiSj-.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-CQzrDe0S-K2NUXsKS.js → NewGlobalMerchantPage-C5zI88lM-DBDRlSHQ.js} +35 -35
- package/dist/assets/{NoDataChart-5E72SElf-3CnLxisw.js → NoDataChart-Dwrv5FXT-BktYGhJl.js} +4 -4
- package/dist/assets/{NoDataTable-BwHbkm3l-VTHrTfOq.js → NoDataTable-BT9VQUID-B1zJzLW9.js} +2 -2
- package/dist/assets/{NotFoundPage-6udaksBZ-DUgTbMe0.js → NotFoundPage-BpVYjIy9-CAwSGm4b.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-DkYmxMgg-BVRECpS0.js → NotificationSettingsPage-Br1VS7sj-D72VzMEy.js} +32 -32
- package/dist/assets/{NotificationsListConfig-FGxLgO1o-C0kfEx8A.js → NotificationsListConfig-COCJ7xUp-B665e_3O.js} +1 -1
- package/dist/assets/NotificationsPage-CtIcIo4T-DuWbZv_Q.js +685 -0
- package/dist/assets/{OpExByVendorPage-CM0RluUk-PZB-G7xm.js → OpExByVendorPage-CTdChrGD-CvW5Vepn.js} +6 -6
- package/dist/assets/{OverlayContainerPage-BKHs_4eI-CSsJiY_P.js → OverlayContainerPage-CU1AAMcq-ai6w2Y-V.js} +2 -2
- package/dist/assets/PandLWithForecastPage-DVhAvUAV-CoqLEkYS.js +107 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DQ82eP9Q-Cwm2aoR2.js → PaymentAccountSetupBillingAddressSection-Cqk9_T2U-B2k-ZLJe.js} +9 -9
- package/dist/assets/{PeoplePage-CB3T3u_F-BR69e4ui.js → PeoplePage-BR4qd-jm-CBOJNYwE.js} +95 -95
- package/dist/assets/{PortfolioAllocationFormPage-CZkJD6tu-1mutznS7.js → PortfolioAllocationFormPage-T83_xyer-BkoO9beS.js} +13 -13
- package/dist/assets/{PortfolioDetails-D4yT8r35-BZAutCbg.js → PortfolioDetails-6ElQWU58-ByHc7XYH.js} +35 -35
- package/dist/assets/{ProductsCarousel-CR7_rk0K-CKMGS-I4.js → ProductsCarousel-CijsxgpU-C19z6U57.js} +10 -10
- package/dist/assets/{PromoBaseCards-BAPolzxE-DjUVr5kX.js → PromoBaseCards-BWsv2pTB-B6b592gJ.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-D3eazhj7-DCdAj667.js → QBOConnectionDialog-ChKHWoK7-CSeEHm2_.js} +7 -7
- package/dist/assets/{QBOSetupSection-Cjjhm_Ee-CX61tnWs.js → QBOSetupSection-C4gt0qc8-DTKMvJ4_.js} +12 -12
- package/dist/assets/ReimbursementApprovalRuleDetailPage-BwgWdSTd-NVamJEor.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-GSzJGSuy-DOLnlfRe.js → ReimbursementApprovalRulesPage-C2asBtuf-DT1aAQsK.js} +12 -12
- package/dist/assets/ReimbursementDetailPage-DS1ewUKC-CVEFgQmR.js +314 -0
- package/dist/assets/ReimbursementPromoPage-5OaQjA8F-DErLTtUx.js +84 -0
- package/dist/assets/ReimbursementSetUpPage-Bl8jzyRg-3jDcWgfT.js +140 -0
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DIesC2GA-CmjN--dc.js +1 -0
- package/dist/assets/{ReloadCard-Dpoxd9nE-_RGkkZLm.js → ReloadCard-0q5pQ13T-CKzHIqK2.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-Ci-WKrCO-D0sA8766.js → ReportTableViewSelector-C0SiD_xG-BLDdaXUR.js} +29 -29
- package/dist/assets/ReportsPage-GTIPR29D-BtSUMj6k.js +121 -0
- package/dist/assets/{RevenueChart-CXMBT3cr-BigDcfmP.js → RevenueChart-C099OBIz-BCjETeYD.js} +29 -29
- package/dist/assets/ReviewDetailsPage-Dj29qJWr-znzq99Zm.js +290 -0
- package/dist/assets/{ReviewOverlay-C6Kx7Hfm-Aab2M4el.js → ReviewOverlay-OPfHsiEH-DYnwxQBa.js} +13 -13
- package/dist/assets/{RoleWithToolTip-BqI6M0x_-3Pz3ZAbU.js → RoleWithToolTip-CnJMJF5X-DPQwf2SV.js} +2 -2
- package/dist/assets/ScheduleDetailsFixedAssetsPage-BojehSaf-CqIP5z2b.js +37 -0
- package/dist/assets/ScheduleDetailsPage-aZbK93Nq-BFB854u3.js +37 -0
- package/dist/assets/ScheduleSequenceTable-By6Dky2k-cVt4Itnj.js +324 -0
- package/dist/assets/ScreenRoutes-m-9CX7nW.js +206 -0
- package/dist/assets/SetUpAccountSection-B_VtQMHv-v5HWkW-2.js +378 -0
- package/dist/assets/{SetUpDefaultSection-Bm1eZSgT-9DFPAVat.js → SetUpDefaultSection-CR4EJd0L-DR8b1nlJ.js} +15 -15
- package/dist/assets/{SignIn-BlISBvt5-BSeULTEW.js → SignIn-DlL4Ve5C-CS2k0j8x.js} +28 -28
- package/dist/assets/SignInScreen-82F821nF.js +1 -0
- package/dist/assets/SpendManagementListViewPage-hcbJnpe0-Dx5Mkywb.js +123 -0
- package/dist/assets/SpendManagementPerTabPage-CZMtZLLG-BwL9QJKu.js +754 -0
- package/dist/assets/SpendManagementSection-v3VQ4WLv-BgJcZL_k.js +230 -0
- package/dist/assets/SpendMgmtSetupAccountSection-BstM92cv-D_s447NX.js +206 -0
- package/dist/assets/{StatementItem-BVIVLdDn-DWQxeT2X.js → StatementItem-DHN42swg-QQn_8xP5.js} +2 -2
- package/dist/assets/StatementsPage-BuWUMrMJ-ClESyfR5.js +58 -0
- package/dist/assets/{StatusSwitcher-aAizq1mr-c-jcIGD9.js → StatusSwitcher-BQIZqQby-CwGTf6Yt.js} +2 -2
- package/dist/assets/{SubTabSwitcher-COrYJ6CW-BIZF-iNv.js → SubTabSwitcher-BwULcWpV-KD7oZVm0.js} +1 -1
- package/dist/assets/{SummaryCard-Dv0dWKBw-CGu-GHYa.js → SummaryCard-sp4k0Xek-DgWj-oz4.js} +1 -1
- package/dist/assets/TaskManagementPage-N2Egdy4r-qGkYEZ7q.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-ifkHfqEg-VY1vzvIS.js → TimeRangeSwitcher-BbGr7Bdf-CGee3poJ.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-BP-PxO5g-DxTIS9PI.js → TimeframeSwitcher-CqP9hXqB-r5frPdgi.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DH-PfsTQ-D7U0L-cV.js → TimeframeSwitcherWithToggle-C-Nxe_F8-C62_HCuz.js} +1 -1
- package/dist/assets/{TopExCard-Bam-Q4MV-BsP_HKjG.js → TopExCard-CLw0PDAU-BbYnCf3a.js} +5 -5
- package/dist/assets/{TopExDetailPage-P0Twt5zZ-CoHp8hDQ.js → TopExDetailPage-GLquKOoy-kMqzF42L.js} +12 -12
- package/dist/assets/TransactionDetailPage-cTLfJiHb-1yZP6Zin.js +912 -0
- package/dist/assets/TransactionList-SkjGKFn_-BwaaUL7x.js +147 -0
- package/dist/assets/TransactionListBig-B4CiUxir-C15l10qy.js +284 -0
- package/dist/assets/{TransactionListPage-D4GJ6i3l-yaso0Nlb.js → TransactionListPage-eiEKrfCB-CXZ0iEN3.js} +3 -3
- package/dist/assets/{TransactionVendorDetailPage-CuFHbm8c-kFca8x3E.js → TransactionVendorDetailPage-CySokm3L-BpHJwA9m.js} +5 -5
- package/dist/assets/{TransferDrawerPage-GD2I8ptj-CANT8JC_.js → TransferDrawerPage-BSv0D4Zs-BT9NFCI4.js} +27 -27
- package/dist/assets/TreasuryOverviewPage-C5hIMuk--DxAuBNvx.js +708 -0
- package/dist/assets/{TreasuryPromoPage-DW1f8_q1-CkWefV3r.js → TreasuryPromoPage-DSJHOwhj-BeQhN-a8.js} +6 -6
- package/dist/assets/{TreasurySetupPage-53k6ARHC-DuoYqIOy.js → TreasurySetupPage-B_EmY_UY-DAaCNRGd.js} +5 -5
- package/dist/assets/{TreasuryStatementsPage-pIshKNaR--8vN-IgR.js → TreasuryStatementsPage-BrZVJwAL-Bs1LrL-1.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-B3PkB1al-CkqZdxpj.js → TreasuryTaxLetterPage-DsmLrBId-CRVnttNh.js} +5 -5
- package/dist/assets/TreasuryTransferOrReviewPage-WB0pVkO6-BWBLW8Tp.js +576 -0
- package/dist/assets/TrendChart-CWR5JV7S-Bu3AQa_8.js +16 -0
- package/dist/assets/{TrendWithTransactions-mI_El5D1-DUVZm_U-.js → TrendWithTransactions-D9x71aZs-CM8kaEfz.js} +4 -4
- package/dist/assets/{UncategorizedAccountsMappingPage-LQeq8Gdv-BNgZRg4x.js → UncategorizedAccountsMappingPage-Tx1NEXyX-DoWK8o5r.js} +47 -47
- package/dist/assets/{UnitIntegrationPage-XOWqGHla-BIoTpmZ_.js → UnitIntegrationPage-aTpJwSQj-BYrPkyiL.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-BVMdCZ9e-BITtYlPW.js +38 -0
- package/dist/assets/Vendor2FAPopup-BtVySDI--nsMiWnZu.js +1 -0
- package/dist/assets/{VendorACHDetailsPage-CswCvAFH-DqnJleBx.js → VendorACHDetailsPage-Cx9VUYTN-CUP3Cq5s.js} +1 -1
- package/dist/assets/VendorDetailPage-BTBlddyH-Bc_YJfHo.js +257 -0
- package/dist/assets/{VendorDomesticWireDetailsPage-DxrSjlTR-GbXdyYXP.js → VendorDomesticWireDetailsPage-DIQg-f5b-Bwf6L3re.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-q1gQ8keD-GKQT7vTw.js → VendorFiling1099EditablePage-CZzpO5dU-BLT7WxiF.js} +32 -32
- package/dist/assets/VendorFirstReviewPage-_Bf2O8Hk-B9tTYmRJ.js +730 -0
- package/dist/assets/VendorInternationalWireDetailsPage-DmM691ao-Dzdr5mG2.js +152 -0
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-W0s1zQNC-eVlfJ9f_.js → VendorInternationalWireSwiftDetailsPage-CmfDU583-Dk7aONaM.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-C13Z2HN9-DvGRJwYY.js → VendorsAccountsSection-VX_qjrvm-R24t7Q7V.js} +4 -4
- package/dist/assets/VerifyDevice-pndtId1R-C8OsQHlo.js +112 -0
- package/dist/assets/{VideoPlayer-ByyqUuhG-CcmvFcG0.js → VideoPlayer-Cv2VluI6-D2yBmBgw.js} +1 -1
- package/dist/assets/{VideoPopup-DJrQQTPq-BZRShVLd.js → VideoPopup-DwltINTO-0GPyihNZ.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-B3Ht3VnM-C_aFzWZK.js → WarningsDrawerPage-I6fXTo8V-B0kNeHBS.js} +5 -5
- package/dist/assets/ZeniAccountDetailPage-BhqYqyk--DeI4__gE.js +300 -0
- package/dist/assets/{ZeniAccountListViewPage-q_v2FogF-wW_PUJNB.js → ZeniAccountListViewPage-M7S_ZBj4-94TU34gP.js} +12 -12
- package/dist/assets/ZeniAccountNavBarPieces-Crjx7iNX-DK8JxCJS.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-CzncR6vK-CoCFGvia.js → ZeniAccountPromoPage-rK7P_Dpk-DmoLuwn8.js} +21 -21
- package/dist/assets/{ZeniAccountSetupPage-TcdzEL_V-CPTq7KjK.js → ZeniAccountSetupPage-B8yrjDVW-gPUnEzAZ.js} +1 -1
- package/dist/assets/{ZeniCopyright-B7Q6IUGC-DjtbTVnp.js → ZeniCopyright-BDsnkVlH-C00Fssys.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Dmf5xxv4-D-BoRJmd.js → ZeniTransferAmountSlider-BCVTdEWO-p69HMFsD.js} +3 -3
- package/dist/assets/{analyticsHelper-L-FpsGLH.js → analyticsHelper-CS2u9ax9.js} +1 -1
- package/dist/assets/analyticsHelper-D8CGsPLU-DJI9oEaD.js +1 -0
- package/dist/assets/{chartTypes-DCvOVjlS-CF3jsUNb.js → chartTypes-DLnePN0T-B_54UqyM.js} +1 -1
- package/dist/assets/{commonDimensions-C32v1F7H-C9uaBJ8J.js → commonDimensions-CWOH4KIa-zIW9i9kk.js} +1 -1
- package/dist/assets/{detailCommon-CRAGrqoO-5xMc7u9M.js → detailCommon-COLWOJB--3sJPi-qA.js} +8 -8
- package/dist/assets/downloadPdf-DmVZhHLH-D1xNlFUJ.js +1 -0
- package/dist/assets/{index-kF4u7Flm.js → index-MAXVX6UR.js} +2202 -2025
- package/dist/assets/{lodash-B66NTFTY.js → lodash-D52QloPU.js} +6 -6
- package/dist/assets/{mapLoadingInProgressToTreeNode-CRwG2DSD-CLLcsBiK.js → mapLoadingInProgressToTreeNode-DzagCSPK-Df3QAuQq.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C9O-C2dp-4sjxXlit.js → mapSectionWithAcOnlyToTreeNode-gKc2xWyG-DTjSgiEj.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-5aJk-sLn-CeZutbYy.js → mapSpacerToTreeNode-toSXbVwB-B0PNlKW1.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CnviLujI-rcfKFEh1.js → mapTimeframeBalancesToTreeNode-D0Bib2dl-Cgs41-OD.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Cv4d4PqE-BmreU2CJ.js → mapTimeframeBalancesToTreeNode-D63QAMZm-BDtNdJWW.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BaGM4krW-CkRgUU-m.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BuAL-Z9U-Ceeq3tsz.js} +1 -1
- package/dist/assets/redux-CEhZD0hA.js +12 -0
- package/dist/assets/{toCOABalancesWithID-B3yVGPrV-Dj01dEre.js → toCOABalancesWithID-D-AHYPZY-Bomk_rrT.js} +1 -1
- package/dist/assets/toChartData-BIN4xqGz-BcU_F8Ix.js +1 -0
- package/dist/assets/{treasuryColorHelper-13LJ_xhk-5-aGYtqD.js → treasuryColorHelper--7Rf6Fm8-BdEMhZbj.js} +1 -1
- package/dist/assets/{uploadAttachment-DVy2pZeJ-DL6B1oGY.js → uploadAttachment-DwI0nG8D-VCODDzfq.js} +23 -23
- package/dist/assets/{uploadReceipts-Dp1dvCjf-BQPyxtgi.js → uploadReceipts-9DTOr0BG-pwNYcimh.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +6 -9
- package/dist/assets/AccountInfoPage-D-E_-WpE-DJyb7x4k.js +0 -18
- package/dist/assets/AccountLockedInfoModal-BD7Nb81U-ZCs8qzoa.js +0 -59
- package/dist/assets/AccountReconDetailsDrawerPage-D-_ME0pV-BuvZZBZ-.js +0 -239
- package/dist/assets/AccountRow-Be3LIHO--BjLJB43L.js +0 -298
- package/dist/assets/AccountsPromoCardStack-CdBwPVgI-CkQ7kJh8.js +0 -207
- package/dist/assets/AgingReportsPage-L0zQxwCf-D3sUJmot.js +0 -79
- package/dist/assets/AllUserItems-CvwaOEhu-DISgj-9d.js +0 -192
- package/dist/assets/ApAgingDetailPage-B_78aSEv-DLL7XkHo.js +0 -46
- package/dist/assets/AppDrawerContent-BZODvVvi-DQ-V9QL0.js +0 -91
- package/dist/assets/ApprovalRulesSettingsPage-Dxd7A3hZ-CRTSWRxG.js +0 -47
- package/dist/assets/ArAgingChart-BezVy1Sm-ClcQ64wd.js +0 -24
- package/dist/assets/BankConnectionsSettingsPage-D5hI4xtm-ik9FJnty.js +0 -425
- package/dist/assets/BillDetailPage-CDAh8Jtl-wk3WJY1W.js +0 -266
- package/dist/assets/BillPayPromoPage-B2YcxWc9-ChjVVUdj.js +0 -84
- package/dist/assets/BillPaySetUpPage-oJvoWpFu-ZQ44J65y.js +0 -42
- package/dist/assets/BillingSettingsPage-BRsKYzT5-C1YZEc97.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-B7tORIok-09a60H-u.js +0 -1
- package/dist/assets/BusinessVerificationPage-Nw_fedst-Ce7UF4J6.js +0 -138
- package/dist/assets/ChargeCardListPage-v5hH98Wi-BhiUhdgm.js +0 -406
- package/dist/assets/ChargeCardPromoPage-CPEaGOL3-CiA1pNTj.js +0 -222
- package/dist/assets/ChargeCardSetupPage-G5Rn0o6y-Bqw8Kqbv.js +0 -36
- package/dist/assets/ChargeCardUtils-BRgkrCTs-Bo37IpfS.js +0 -1
- package/dist/assets/CollapsableReportTable-7iAngywY-BhPujiYA.js +0 -2932
- package/dist/assets/CompanyOfficerDetailsSection-CJKyxEnf-B2MTqDnr.js +0 -260
- package/dist/assets/CompanyPassportPage-BQoEcPJr-CLTXsXdq.js +0 -574
- package/dist/assets/CompleteProfile-D5e9TQgy-B3NCfzYL.js +0 -52
- package/dist/assets/CreditCardPaymentDrawerPage-DXeq4z9l-C-tETdxW.js +0 -224
- package/dist/assets/CustomerOnboardingContainerPage-CZRkKPDD-CdqN8qku.js +0 -1
- package/dist/assets/CustomerOnboardingPage-zBqp9QN6-BMM-roBm.js +0 -107
- package/dist/assets/CustomerOnboardingProductSuitePage-BbJ4oiCI-DgRG1l8f.js +0 -202
- package/dist/assets/DashboardReportPage-DTMbYOWH-B0H-UpGg.js +0 -371
- package/dist/assets/DepositAccTransactionListPage-CcO673ZL-D1h5XemH.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-D5hbPNCt-Bhq4tM9b.js +0 -21
- package/dist/assets/DownloadOverlay-DRcasKoB-BTfb8tZj.js +0 -439
- package/dist/assets/EditPeoplePage-Zzo62if7-Clw_H_tG.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-D59OJdZ1-DgdwTZwz.js +0 -865
- package/dist/assets/EntityDetailPage-CzlzOW8n-CjIrlTQm.js +0 -18
- package/dist/assets/ExpenseAutomationPage-Cm_IiRlb-DxIRsn8B.js +0 -1650
- package/dist/assets/ExpressPayPage-DdQiFzDu-CXe6diRB.js +0 -168
- package/dist/assets/GlobalReviewListPage-DHn2Uk8R-Dz5cpAt1.js +0 -291
- package/dist/assets/HelpButton-BNMy-6ce-CVlMGZqS.js +0 -28
- package/dist/assets/InsightsCardStack-CaMZiCnn-DLt2ZmbV.js +0 -79
- package/dist/assets/InvitePeoplePage-C3ecL8XJ-olYxQVFB.js +0 -12
- package/dist/assets/InvoiceUploadSection-DoR834b4-CjFOCIIZ.js +0 -140
- package/dist/assets/LabeledAddressValueField-YP7bXlgZ-D9-PqJNp.js +0 -45
- package/dist/assets/LabeledDocumentField-ED03S2kQ-BGespvxP.js +0 -41
- package/dist/assets/LinkJETransactionPage-_ROjxBMO-C6IEO3Ec.js +0 -98
- package/dist/assets/LowBalancePopup-CZDcHxyW-BSR036zV.js +0 -34
- package/dist/assets/MagicLinkTitleSection-Cn1v72Rs-Dx0fyRw5.js +0 -17
- package/dist/assets/MyBankConnectionsSettingsPage-IPPiH6jv-uU5Nku5W.js +0 -110
- package/dist/assets/MyPendingActivationChargeCardListPage-BTGb1yIE-yyVAdXqO.js +0 -6
- package/dist/assets/MyProfileSettingsPage-BRK5nWg2-BCkp79gR.js +0 -85
- package/dist/assets/NotificationsPage-C7lSAnUb-CEUwTZM_.js +0 -685
- package/dist/assets/PandLWithForecastPage-W4jlNjml-8wxKAhbo.js +0 -107
- package/dist/assets/ReimbursementApprovalRuleDetailPage-eidNY097-DDLdjGbX.js +0 -26
- package/dist/assets/ReimbursementDetailPage-AvqEBxbz-ByJDRCe5.js +0 -314
- package/dist/assets/ReimbursementPromoPage-PshodHUZ-CEBQKb7P.js +0 -84
- package/dist/assets/ReimbursementSetUpPage-6P4FT-UC-BMbaH1eU.js +0 -140
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-Cas6GzVp-CEJlVV08.js +0 -1
- package/dist/assets/ReportsPage-C7zirS74-oNrbhh6a.js +0 -121
- package/dist/assets/ReviewDetailsPage-ClsyL5-w-rKSUEvaS.js +0 -290
- package/dist/assets/ScheduleDetailsFixedAssetsPage-zFyJPVpN-Dm8QVj-0.js +0 -37
- package/dist/assets/ScheduleDetailsPage-BftjSvA7-D97uCI5t.js +0 -37
- package/dist/assets/ScheduleSequenceTable-lTN7r0p4-BmAjQVGV.js +0 -324
- package/dist/assets/ScreenRoutes-Du6t5Ig_.js +0 -206
- package/dist/assets/SetUpAccountSection-Bnbi8X23-7-Jadv9H.js +0 -378
- package/dist/assets/SignInScreen-BN2xWnU-.js +0 -1
- package/dist/assets/SpendManagementListViewPage-ChNp8dgm-ByNxcaX6.js +0 -123
- package/dist/assets/SpendManagementPerTabPage-D-bOr2-6-C5z49u7s.js +0 -754
- package/dist/assets/SpendManagementSection-kucZgC-H-Cqflt6S1.js +0 -230
- package/dist/assets/SpendMgmtSetupAccountSection-de7hEmtE-9bAK-YlL.js +0 -206
- package/dist/assets/StatementsPage-KnLUSJbm-DVR36Ge4.js +0 -58
- package/dist/assets/TaskManagementPage-CPLyyK1Y-BZe-OFxL.js +0 -508
- package/dist/assets/TransactionDetailPage-D1Z1f-DD-BPMl_wDr.js +0 -912
- package/dist/assets/TransactionList-BzJEbOV9-0ST5sY1-.js +0 -147
- package/dist/assets/TransactionListBig-u4SJBZTE-BlGBIBoN.js +0 -284
- package/dist/assets/TreasuryOverviewPage-DySunaqy-Du5jK6WV.js +0 -708
- package/dist/assets/TreasuryTransferOrReviewPage-Dzq-FxSM-DKViGoiZ.js +0 -576
- package/dist/assets/TrendChart-B_5D-Zud-Cw_zgD-R.js +0 -16
- package/dist/assets/UploadAdditionalDocumentOverlay-DhXRLBEg-BNMbNbJQ.js +0 -38
- package/dist/assets/Vendor2FAPopup-BfqIHZBb-DUpQFrOM.js +0 -1
- package/dist/assets/VendorDetailPage-CEX7xMIN-D29fVYfj.js +0 -257
- package/dist/assets/VendorFirstReviewPage-D9ogNmAK-DwoL9x7s.js +0 -730
- package/dist/assets/VendorInternationalWireDetailsPage-Ct689KuY-N7HCxAFy.js +0 -152
- package/dist/assets/VerifyDevice-C27gEWkZ-BrEq9dHz.js +0 -112
- package/dist/assets/ZeniAccountDetailPage-egmysAfI-CX7srLCt.js +0 -300
- package/dist/assets/ZeniAccountNavBarPieces-HNIht0FM-azEwN9c2.js +0 -14
- package/dist/assets/addSubtractPeriod-CFvkmqm8.js +0 -1
- package/dist/assets/analyticsHelper-or1KkBWk-CU2Z2CeD.js +0 -1
- package/dist/assets/downloadPdf-D7p3yKmg-DrJJdcEl.js +0 -1
- package/dist/assets/redux-D-TY61DZ.js +0 -12
- package/dist/assets/toChartData-DEW0iT7T-DaQT4Adc.js +0 -1
|
@@ -1,685 +0,0 @@
|
|
|
1
|
-
import{bL as tt,x as X,q as v,c1 as Zt,O as P,fk as Qt,j as t,dD as Xt,c4 as ei,cK as ti,o as i,c2 as ye,ao as Q,cD as $,ky as ii,y as R,lE as oi,C as Ne,Y as si,cr as it,eU as ot,cZ as st,gv as at,e$ as rt,nG as nt,u as w,n as ai,nH as ri,gt as he,cU as ni,b as li,H as lt,h as S,c9 as di,e1 as _,fy as ue,jy as pe,nI as fe,co as dt,c0 as ct,aA as ht,gD as E,iH as ut,jK as ci,cd as ee,lT as hi,ce as H,iQ as ui,cO as $e,d3 as me,nJ as pi,d_ as pt,nK as Re,dx as fi}from"./index-kF4u7Flm.js";import{b as g,n as r,i as A}from"./vendor-Bs1fkIUX.js";import{k as mi}from"./SubTabSwitcher-COrYJ6CW-BIZF-iNv.js";import{d as ft}from"./useLongPress-GCK2COYQ-B0RUPzZV.js";import{A as mt,t as gt,a as xt,E as bt,L as wt,I as yt}from"./NotificationsListConfig-FGxLgO1o-C0kfEx8A.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-D-TY61DZ.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const gi=["tasks","comments"],xi=e=>tt(e,gi),bi=["all","read","unread","mentions"],wi=e=>tt(e,bi);function yi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:h}){const u=v(),p=X(),m=g.useCallback(x=>{d(x.id)},[d]),f=g.useCallback(x=>{h(x.id)},[h]);return e.length===0?null:t.jsxs($i,{windowSize:u,children:[t.jsx(oi,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(mi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:f})]})}const $i=r.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: 100%;
|
|
5
|
-
`,{common:{timeStrings:$t,strings:ji},dateFormat:Le,timeFormat:ki}=P.getLocalizedStrings(),jt=["today","yesterday","last_7_days_this_month","earlier_this_month","earlier_that_month"],le=e=>e.type.concat(ji.underscore).concat(e.start.format(Le.visual.DdashMMdashYYYYFormat)),ge=e=>{switch(e.type){case"today":case"yesterday":case"earlier_this_month":case"last_7_days_this_month":return $t[e.type];case"earlier_that_month":return e.start.format(Le.visual.MMMYYYYFormat)}},kt=e=>{const o=Q(e.toUTCString()),s=$(),a=s.diff(o,"minutes"),n=s.diff(o,"seconds"),l=60,c=24*60;return n<=l?$t.justNow:a<c&&pi(o,0)?o.format(ki.hhmmAFormat):o.format(Le.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:Si}}}}=P.getLocalizedStrings(),St=e=>{e.sort((n,l)=>Q(n.inboxNotification.notifiedAt.toUTCString()).isAfter(Q(l.inboxNotification.notifiedAt.toUTCString()))===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of jt){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=>nt(o,s,Q(l.inboxNotification.notifiedAt.toUTCString()))?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>Q(l.inboxNotification.notifiedAt.toUTCString()).isAfter(Q(c.inboxNotification.notifiedAt.toUTCString()))===!0?-1:1),{singleGroup:a,remainingData:n}},vi=e=>{const{thread:o}=e,{newRepliesAdded:s,newCommentAdded:a}=Si;return o.comments.length===1?a:s},vt=new R(3,2,1,1,1),Ct=new R(w[8],w[6],35,35,w[6]),de={lineClamp:vt,sectionWidth:Ct},{common:{texts:ze,timeStrings:Ci,strings:te},commentsAndNotifications:{notifications:{strings:{newMessage:Ti},actionStrings:{comments:{newCommentAdded:Ni}}}}}=P.getLocalizedStrings(),Li=({notificationData:e,users:o,isHighlighted:s=!1,style:a,onNotificationTileClick:n})=>{const l=dt(),c=ct().analytics,{inboxNotification:{id:d,readAt:h,notifiedAt:u},thread:p}=e,{setRequestToOpenThread:m}=g.useContext(ci),f=h!=null?"read":"unread",{metadata:{url:x,companyId:k,entityType:F},id:z}=p;return t.jsxs(Oi,{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:F})),p.metadata.application!=="cockpit"&&c.trackCommentActivity("notification","clicked",p.metadata.companyName,l.controllersList.controllers.map(N=>E(N)),p.resolved?"resolved":"open",{name:ut(l.loggedInUser),email:l.loggedInUser?.userEmail??""},"db notification")},children:[t.jsx(Ii,{notificationData:e,users:o}),t.jsx(_i,{...e}),t.jsx(zi,{timestamp:u,readStatus:f})]})},Tt=({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:Ti}):t.jsx(je,{children:n.body.content.map(l=>{switch(l.type){case"paragraph":return l.children.map((c,d)=>{if(Di(c)){const u=o.find(p=>p.userId===c.id);return c.id?t.jsx(Ri,{notificationData:e,user:u},`${c.id}${te.underscore}${d}`):null}if(Mi(c)){const u=hi(c.url)??c.url;return t.jsx(Hi,{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(Fi,{children:h},d)),c.italic===!0&&(h=t.jsx(Gi,{children:h},d)),c.strikethrough===!0&&(h=t.jsx(Ui,{children:h},d)),c.code===!0&&(h=t.jsx(Bi,{children:h},d)),t.jsx(Ei,{children:h},d)});default:return t.jsx(je,{children:Ni})}})})},Ii=({notificationData:e,users:o})=>{const s=v();return t.jsx(Vi,{windowSize:s,children:t.jsx(Tt,{notificationData:e,users:o})})},Ri=({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.user,te.space]});if(o!=null){const l=E(o,!1);n=t.jsx(t.Fragment,{children:t.jsxs(De,{className:"userText",readStatus:a,children:[te.atTheRate,l||ze.user,te.space]})})}return n},Nt=e=>{const o=vi(e);return t.jsx(t.Fragment,{children:o})},_i=e=>{const o=v();return t.jsx(Pi,{windowSize:o,children:t.jsx(Nt,{...e})})},Lt=e=>{const{timestamp:o,readStatus:s}=e,a=kt(o);return t.jsxs(t.Fragment,{children:[t.jsx(Yi,{isNewNotification:a===Ci.justNow,children:a}),t.jsx(Wi,{readStatus:s})]})},zi=e=>{const o=v();return t.jsx(Ai,{windowSize:o,children:t.jsx(Lt,{...e})})};function Di(e){return"type"in e&&e.type==="mention"}function Mi(e){return"type"in e&&e.type==="link"}const Oi=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
|
-
`,Ai=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
|
-
`,Pi=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
|
-
`,Fi=r.strong``,Bi=r.code``,Gi=r.em``,Ui=r.s``,Ei=r.span``,Hi=r.a``,Vi=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
|
-
`,Yi=r(pt)`
|
|
83
|
-
flex-shrink: 0;
|
|
84
|
-
color: ${e=>e.isNewNotification?e.theme.colors.primary:"inherit"};
|
|
85
|
-
`,Wi=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)},Ji=()=>{const e=v();return t.jsxs(qi,{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})})]})},qi=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%":Ct.valuePercentage(e.windowSize)};
|
|
123
|
-
`,Ki=()=>{const e=v();return t.jsxs(Zi,{windowSize:e,children:[t.jsxs(Qi,{children:[t.jsx(_,{width:180,height:w[4]}),t.jsx(_,{width:180,height:w[4]})]}),t.jsx(Xi,{children:t.jsx(_,{width:60,height:18})})]})},Zi=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
|
-
`,Xi=r.div`
|
|
157
|
-
display: flex;
|
|
158
|
-
align-items: baseline;
|
|
159
|
-
flex-direction: row;
|
|
160
|
-
justify-content: end;
|
|
161
|
-
`,eo=()=>v()==="small"?t.jsx(Ki,{}):t.jsx(Ji,{}),to={marginLeft:new R(w[2],w[5],w[7])},io=()=>t.jsxs(oo,{children:[t.jsx(ve,{numberOfRows:5}),t.jsx(ve,{numberOfRows:3})]}),ve=({numberOfRows:e})=>{const o=v();return t.jsxs(so,{windowSize:o,children:[t.jsx(ro,{children:t.jsx(_,{width:w[12],height:Ne.standardRegular.lineHeightValue})}),t.jsx(ao,{children:[...Array(e)].map(s=>t.jsx(eo,{},he()))})]})},oo=r.div`
|
|
162
|
-
display: block;
|
|
163
|
-
min-height: 100%;
|
|
164
|
-
flex-direction: column;
|
|
165
|
-
width: 100%;
|
|
166
|
-
`,so=r.div`
|
|
167
|
-
display: flex;
|
|
168
|
-
flex-direction: column;
|
|
169
|
-
margin-bottom: ${i.sp5};
|
|
170
|
-
margin-left: ${e=>to.marginLeft.valuePx(e.windowSize)};
|
|
171
|
-
`,ao=r.div`
|
|
172
|
-
display: flex;
|
|
173
|
-
flex-direction: column;
|
|
174
|
-
border-radius: ${i.sp2};
|
|
175
|
-
`,ro=r.div`
|
|
176
|
-
display: flex;
|
|
177
|
-
padding: ${i.sp3} ${i.sp0};
|
|
178
|
-
`,no=({notificationData:e,users:o,isSelectionMode:s=!1,isHighlighted:a=!1,style:n,onNotificationTileClick:l,onNotificationTileLongPress:c})=>{const d=dt(),h=ct().analytics,{inboxNotification:{id:u,readAt:p,notifiedAt:m},thread:f}=e,x=p!=null?"read":"unread",k=f.metadata.url,F=g.useCallback(()=>{c?.()},[c]),z=g.useCallback(b=>{b.stopPropagation(),b.cancelable&&b.preventDefault(),s?c?.():k!=null&&(l(u,ht(f.metadata.url),x),f.metadata.application!=="cockpit"&&h.trackCommentActivity("notification","clicked",f.metadata.companyName,d.controllersList.controllers.map(L=>E(L)),f.resolved?"resolved":"open",{name:ut(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=ft({onLongPress:F},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(uo,{readStatus:x,isClickable:k!=null,isHighlighted:a,style:n,...N,onClick:z,children:[t.jsxs(fo,{children:[t.jsx(lo,{notificationData:e,users:o}),t.jsx(co,{...e})]}),t.jsx(ho,{timestamp:m,readStatus:x})]})},lo=({notificationData:e,users:o})=>t.jsx(It,{children:t.jsx(Tt,{notificationData:e,users:o})}),co=e=>t.jsx(It,{children:t.jsx(Nt,{...e})}),ho=e=>t.jsx(po,{children:t.jsx(Lt,{...e})}),uo=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
|
-
`,po=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
|
-
`,fo=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
|
-
`,Rt=e=>v()==="small"?t.jsx(no,{...e}):t.jsx(Li,{...e}),{common:{all:Me}}=P.getLocalizedStrings(),mo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=X(),{getValues:h}=ue(),u=h(s);return t.jsx(go,{style:n,children:t.jsx(pe,{mode:a,checkBoxes:[{label:t.jsx(xo,{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(Rt,{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}})})},go=r.div`
|
|
248
|
-
display: flex;
|
|
249
|
-
align-items: center;
|
|
250
|
-
width: 100%;
|
|
251
|
-
`,xo=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(),bo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=X(),{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(wo,{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:F=>p.current[f]=F,htmlFor:`${s}.${m.inboxNotification.id}`,style:{padding:i.sp0},children:t.jsx(yo,{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}})})},wo=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
|
-
`,yo=r(Rt)``,$o=e=>v()==="small"?t.jsx(bo,{...e}):t.jsx(mo,{...e}),{commentsAndNotifications:{notifications:{message:jo}}}=P.getLocalizedStrings(),Pe={rowGap:new R(w[0],w[5],w[5])},ko=({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 F=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(mt*vt.value(f)+gt)*3+xt+bt},[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(()=>{},[]),L=it(C=>u(C),1e3,{trailing:!0}),j=C=>!a||C<e.length,V=g.useCallback(()=>a&&!s?N():b(),[a,s,N,b]),I=a?e.length+1:e.length;return t.jsx(vo,{children:t.jsx(Co,{windowSize:f,children:s&&e.length===0?t.jsx(io,{}):s===!1&&e.length===0?t.jsx(ot,{message:jo.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(To,{windowSize:f,children:t.jsx(st,{children:({height:C,width:G})=>t.jsx(at,{isItemLoaded:j,itemCount:wt,loadMoreItems:V,children:({onItemsRendered:Y,ref:U})=>t.jsx(rt,{ref:W=>{U(W),x.current=W},height:C,itemCount:I,itemData:{notificationGroups:e,users:o,sectionId:n,checkBoxMode:l,isDisabled:h,isItemLoaded:j,setRowHeight:z,onNotificationClick:m},onItemsRendered:Y,itemSize:F,width:G,style:{willChange:"auto"},overscanCount:yt,onScroll:({scrollOffset:W})=>{L(W)},initialScrollOffset:c,children:So})})})})})})},So=({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(Fe,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:m,children:t.jsx($o,{notificationGroup:x,sectionId:`${l}.${k}`,checkBoxMode:c,isDisabled:h,users:n,onNotificationTileClick:p})},k)}return t.jsx(Fe,{ref:m,style:{...o,paddingBottom:i.sp0},children:t.jsx(ve,{numberOfRows:3})},he())},vo=r.div`
|
|
266
|
-
display: block;
|
|
267
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
268
|
-
height: 100%;
|
|
269
|
-
width: 100%;
|
|
270
|
-
`,Co=r.div`
|
|
271
|
-
height: 100%;
|
|
272
|
-
width: 100%;
|
|
273
|
-
`,To=r.div`
|
|
274
|
-
height: 100%;
|
|
275
|
-
display: flex;
|
|
276
|
-
flex-direction: column;
|
|
277
|
-
max-width: 99.9%;
|
|
278
|
-
`,Fe=r.div`
|
|
279
|
-
top: ${i.sp0};
|
|
280
|
-
left: ${i.sp0};
|
|
281
|
-
box-sizing: border-box;
|
|
282
|
-
`,{common:{in:No,strings:_t},dateFormat:Lo,commentsAndNotifications:{notifications:{actionStrings:{notifications:O}}}}=P.getLocalizedStrings(),zt=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 jt){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=>nt(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}},Io=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__",No.toLocaleLowerCase().concat(_t.space,Re(e.name.toLocaleLowerCase()))),o},Ro=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?Io(n):O.dueTomorrow;break;case"task_overdue":s=O.overdue.replace("__date__",o[0].metadata.additionalInfo?.dueDate.format(Lo.visual.MMMDFormat)??_t.empty);break;case"task_status_updated":s=O.statusUpdate;break}}return s},Dt=new R(3,2,1,1,1),Mt=new R(w[8],33,33,33,35),ce={lineClamp:Dt,sectionWidth:Mt},{common:{and:Be,other:_o,others:zo,texts:Do,timeStrings:Mo,strings:M,tags:Oo}}=P.getLocalizedStrings(),Ao=({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(Ho,{notificationStatus:n,isHighlighted:o,style:s,onClick:()=>{a(l,c,n,d.length>0?d[0].activityType:void 0)},children:[t.jsx(Po,{...e}),t.jsx(Go,{...e}),t.jsx(Eo,{...e}),t.jsx(Uo,{createTime:h,notificationStatus:n})]})},Ot=e=>{const{status:o,eventData:{title:s}}=e;return t.jsx(qo,{notificationStatus:o,children:s||M.hyphen})},Po=e=>{const o=v();return t.jsx(Jo,{windowSize:o,children:t.jsx(Ot,{...e})})},Fo=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(Zo,{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},Bo=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,Do.user,M.space]});return n>0&&(n>2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,E(s[0],!1),M.space]}),Be,t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.space,n-1,M.space,zo,M.space]})]}):n===2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,E(s[0],!1),M.space]}),Be,t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.space,s.length===2?M.atTheRate+E(s[1],!1):_o,M.space]})]}):l=t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,E(s[0],!1),M.space]})),l},At=e=>t.jsxs(t.Fragment,{children:[t.jsx(Bo,{...e}),Ro(e),t.jsx(Fo,{...e})]}),Go=e=>{const o=v(),{eventData:{activities:s}}=e;return t.jsx(Wo,{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})})},Pt=e=>{const{createTime:o,notificationStatus:s}=e,a=kt(o.toDate());return t.jsxs(t.Fragment,{children:[t.jsx(Ko,{isNewNotification:a===Mo.justNow,children:a}),t.jsx(es,{notificationStatus:s})]})},Uo=e=>{const o=v();return t.jsx(Vo,{windowSize:o,children:t.jsx(Pt,{...e})})},Ft=e=>{const{eventData:{activities:o}}=e;return o[0].activityType==="task_overdue"?t.jsx(ui,{tagTitle:Oo.overdue,textColor:{color:new $e(S.alert),backgroundColor:new $e("transparent"),borderColor:new $e(S.alert)},showLoader:!1}):t.jsx(Xo,{})},Eo=e=>{const o=v();return t.jsx(Yo,{windowSize:o,children:t.jsx(Ft,{...e})})},Ho=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
|
-
`,Vo=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
|
-
`,Yo=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
|
-
`,Wo=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
|
-
`,Jo=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
|
-
`,qo=r(me)`
|
|
370
|
-
color: inherit;
|
|
371
|
-
`,Ko=r(pt)`
|
|
372
|
-
flex-shrink: 0;
|
|
373
|
-
color: ${e=>e.isNewNotification?e.theme.colors.primary:"inherit"};
|
|
374
|
-
`,Zo=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(fi)`
|
|
387
|
-
width: ${i.sp3};
|
|
388
|
-
height: ${i.sp3};
|
|
389
|
-
color: ${e=>e.theme.colors.hero};
|
|
390
|
-
`,Xo=r.div`
|
|
391
|
-
display: flex;
|
|
392
|
-
flex: 1 1 auto;
|
|
393
|
-
`,es=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)},ts=()=>{const e=v();return t.jsxs(is,{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})})]})},is=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%":Mt.valuePercentage(e.windowSize)};
|
|
431
|
-
`,os=()=>{const e=v();return t.jsxs(ss,{windowSize:e,children:[t.jsxs(Ue,{children:[t.jsx(_,{width:180,height:w[4]}),t.jsx(_,{width:60,height:18})]}),t.jsxs(Ue,{children:[t.jsx(_,{width:180,height:w[4]}),t.jsx(_,{width:60,height:18})]})]})},ss=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
|
-
`,Ue=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
|
-
`,as=()=>v()==="small"?t.jsx(os,{}):t.jsx(ts,{}),rs={marginLeft:new R(w[2],w[5],w[7])},ns=()=>t.jsxs(ls,{children:[t.jsx(Ce,{numberOfRows:5}),t.jsx(Ce,{numberOfRows:3})]}),Ce=({numberOfRows:e})=>{const o=v();return t.jsxs(ds,{windowSize:o,children:[t.jsx(hs,{children:t.jsx(_,{width:w[12],height:Ne.standardRegular.lineHeightValue})}),t.jsx(cs,{children:[...Array(e)].map(s=>t.jsx(as,{},he()))})]})},ls=r.div`
|
|
466
|
-
display: block;
|
|
467
|
-
min-height: 100%;
|
|
468
|
-
flex-direction: column;
|
|
469
|
-
width: 100%;
|
|
470
|
-
`,ds=r.div`
|
|
471
|
-
display: flex;
|
|
472
|
-
flex-direction: column;
|
|
473
|
-
margin-bottom: ${i.sp5};
|
|
474
|
-
margin-left: ${e=>rs.marginLeft.valuePx(e.windowSize)};
|
|
475
|
-
`,cs=r.div`
|
|
476
|
-
display: flex;
|
|
477
|
-
flex-direction: column;
|
|
478
|
-
border-radius: ${i.sp2};
|
|
479
|
-
`,hs=r.div`
|
|
480
|
-
display: flex;
|
|
481
|
-
padding: ${i.sp3} ${i.sp0};
|
|
482
|
-
`,us=({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=ft({onLongPress:m},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(xs,{notificationStatus:c,isHighlighted:s,style:a,...x,onClick:f,children:[t.jsxs(Ee,{children:[t.jsx(ps,{...e}),t.jsx(ms,{createTime:d,notificationStatus:c})]}),t.jsxs(Ee,{children:[t.jsx(fs,{...e}),u.length>0&&u[0].activityType==="task_status_updated"?null:t.jsx(gs,{...e})]})]})},ps=e=>t.jsx(Bt,{statusUpdate:!1,children:t.jsx(Ot,{...e})}),fs=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})})},ms=e=>t.jsx(bs,{children:t.jsx(Pt,{...e})}),gs=e=>t.jsx(ws,{children:t.jsx(Ft,{...e})}),xs=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
|
-
`,bs=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
|
-
`,ws=r(H)`
|
|
541
|
-
width: 25%;
|
|
542
|
-
display: flex;
|
|
543
|
-
align-items: center;
|
|
544
|
-
flex-shrink: 0;
|
|
545
|
-
justify-content: end;
|
|
546
|
-
`,Ee=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
|
-
`,Gt=e=>v()==="small"?t.jsx(us,{...e}):t.jsx(Ao,{...e}),{common:{all:He}}=P.getLocalizedStrings(),ys=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=X(),{getValues:d}=ue(),h=d(o);return t.jsx($s,{style:a,children:t.jsx(pe,{mode:s,checkBoxes:[{label:t.jsx(js,{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(Gt,{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}})})},$s=r.div`
|
|
565
|
-
display: flex;
|
|
566
|
-
align-items: center;
|
|
567
|
-
width: 100%;
|
|
568
|
-
`,js=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(),ks=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=X(),{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(Ss,{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=>u.current[m]=k,htmlFor:`${o}.${p.notificationId}`,style:{padding:i.sp0},children:t.jsx(vs,{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}})})},Ss=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
|
-
`,vs=r(Gt)``,Cs=e=>v()==="small"?t.jsx(ks,{...e}):t.jsx(ys,{...e}),{commentsAndNotifications:{notifications:{message:Ts}}}=P.getLocalizedStrings(),We={rowGap:new R(w[0],w[5],w[5])},Ns=({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(I=>{if(x.current?.[I]!=null){const C=m==="small"&&s===!1&&I===e.length-1?We.rowGap.value("medium-regular"):We.rowGap.value(m);return x.current[I]+C}return(mt*Dt.value(m)+gt)*3+xt+bt},[m,x,e]),F=g.useCallback((I,C)=>{x.current={...x.current,[I]:C},f.current?.resetAfterIndex(0,!0)},[m,f,e]),z=g.useCallback(()=>{u()},[u]),N=g.useCallback(()=>{},[]),b=it(I=>h(I),1e3,{trailing:!0}),L=I=>!s||I<e.length,j=g.useCallback(()=>s&&!o?z():N(),[s,o,z,N]),V=s?e.length+1:e.length;return t.jsx(Is,{children:t.jsx(Rs,{windowSize:m,children:o&&e.length===0?t.jsx(ns,{}):o===!1&&e.length===0?t.jsx(ot,{message:Ts.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(_s,{windowSize:m,children:t.jsx(st,{children:({height:I,width:C})=>t.jsx(at,{isItemLoaded:L,itemCount:wt,loadMoreItems:j,children:({onItemsRendered:G,ref:Y})=>t.jsx(rt,{ref:U=>{Y(U),f.current=U},height:I,itemCount:V,itemData:{notificationGroups:e,sectionId:a,checkBoxMode:n,isDisabled:d,isItemLoaded:L,setRowHeight:F,onNotificationClick:p},onItemsRendered:G,itemSize:k,width:C,style:{willChange:"auto"},overscanCount:yt,onScroll:({scrollOffset:U})=>{b(U)},initialScrollOffset:l,children:Ls})})})})})})},Ls=({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(Cs,{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())},Is=r.div`
|
|
583
|
-
display: block;
|
|
584
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
585
|
-
height: 100%;
|
|
586
|
-
width: 100%;
|
|
587
|
-
`,Rs=r.div`
|
|
588
|
-
height: 100%;
|
|
589
|
-
width: 100%;
|
|
590
|
-
`,_s=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:zs,strings:{plus:Ds},numbers:{maximumCount:qe}},commentsAndNotifications:{notifications:{title:Ms,texts:Ut,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])},Os={selectedNotificationsText:new li("smallRegular","standardRegular")},Ze="notificationsPage",K="commentsNotificationsTable",Z="notificationsTable",Et=20,ua=({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 F=X(),z=v(),N=Zt({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>et(e),[e]),values:g.useMemo(()=>et(e),[e])}),{currentTab:b,currentSubTab:L,notificationDetailsByTab:j,allSubTabs:V,allNotifications:I,allExternalNotifications:C,notificationsForCurrentTabAndSubTab:G,externalNotificationsForCurrentTabAndSubTab:Y}=e,U=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(()=>St(Y).filter(y=>y.notifications.length>0),[Y]),Vt=g.useMemo(()=>zt(G).filter(y=>y.notifications.length>0),[G]),Yt=async(y,T)=>{const B=y.split(".")[0],J=[];B!=null&&(B===K||B===Z)&&(Object.values(T[B]).forEach(D=>{J.push(...D.filter(Kt=>Kt.includes(Te.toLowerCase())===!1))}),d({selectedNotificationIds:J},b))};g.useEffect(()=>{const y=N.watch((T,{name:B})=>{B!=null&&T!=null&&Qt(()=>Yt(B,T))});return()=>{y.unsubscribe()}});const xe=g.useCallback(()=>{const y=[],T=j[b].selectedNotificationIdsForSubTab,B="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=I.filter(D=>D.status!==B).map(D=>D.notificationId);T.forEach(D=>{J.includes(D)&&y.push(D)})}return y},[C,I,b,j]),Wt=xe().length>Et?"disabled":a,be=N.watch(K),we=N.watch(Z),Ie=g.useCallback(()=>{p(b,L)},[p,b,L]),Jt=g.useCallback(()=>{if(b==="comments"){const y={};Object.keys(be).forEach(T=>{y[T]=[]}),N.reset({[K]:y,[Z]:we},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}else{const y={};Object.keys(we).forEach(T=>{y[T]=[]}),N.reset({[Z]:y,[K]:be},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}d({selectedNotificationIds:[]},b)},[we,be]),qt=g.useCallback(()=>{const y=j[b].selectedNotificationIdsForSubTab,T="read",B=xe();m(b,y,T,B)},[b,j,xe,m]);return t.jsxs(Ps,{children:[t.jsx(Xt,{source:"NotificationsPage",title:Ms.notifications,backgroundColor:F.colors.grey4,onBackClick:x,rightSideComponent:s===!0?t.jsx(Xs,{onClick:f}):t.jsx(Qs,{})}),t.jsx(Gs,{}),t.jsx(Bs,{windowSize:z,children:t.jsx(yi,{tabs:U,selectedTab:b,onTabChange:y=>{const T=xi(y);T!=null&&h(T)},subTabs:W,selectedSubTab:L,onSubTabChange:y=>{const T=wi(y);T!=null&&u(T)},subTabRightComponent:t.jsx(As,{notificationCount:j[b].uiState.unreadCount,markAsAllReadUpdateState:j[b].markAsAllReadState.fetchState,markAsReadUpdateState:j[b].markAsReadState.fetchState,onMarkAsAllReadClick:()=>{k(b)}})})}),t.jsx(Fs,{windowSize:z,children:t.jsx(ei,{...N,children:t.jsx("form",{id:Xe(Ze),onSubmit:N.handleSubmit(qt),style:{width:"100%"},children:b==="comments"?t.jsx(ko,{users:o,hasMore:j[b].uiState.hasMore,isFetching:j[b].fetchState==="In-Progress",scrollYOffset:j[b].uiState.scrollYOffset[L],currentSubTab:L,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Ht,sectionId:K,onFetchNotificationGroups:Ie,onUpdateScrollYOffset:y=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[L]:y}},b),onNotificationClick:l}):t.jsx(Ns,{hasMore:j[b].uiState.hasMore,isFetching:j[b].fetchState==="In-Progress",scrollYOffset:j[b].uiState.scrollYOffset[L],currentSubTab:L,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Vt,sectionId:Z,onFetchNotificationGroups:Ie,onUpdateScrollYOffset:y=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[L]:y}},b),onNotificationClick:n})})})}),j[b].selectedNotificationIdsForSubTab.length?t.jsx(ti,{formId:Xe(Ze),primaryBtn:{label:Ut.markAsRead,isLoading:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},isDisabled:Wt!=null},cancelBtn:{label:zs.cancel,isDisabled:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},onClick:Jt},helperContainerStyle:z==="small"?{width:"100%"}:{rowGap:i.sp0},footerContentStyle:{gap:i.sp2},leftSideComponent:t.jsx(ye,{controller:z!=="small",children:t.jsx(Qe,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),topComponent:t.jsx(ye,{controller:z==="small",children:t.jsx(Qe,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),rightSideComponent:t.jsx(ye,{controller:z!=="small",children:t.jsx(Hs,{})})}):null]})},As=({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(Us,{variant:"tertiary",size:"small",label:Ut.markAllAsRead,onClick:l,prefixIcon:e==="In-Progress"?t.jsx(si,{size:"Small",start:!0}):t.jsx(Es,{className:"mark-as-read"}),disabled:n,textStyle:{fontWeight:Ne.smallRegular.fontWeight},style:{borderRadius:i.sp1,border:"none",backgroundColor:"transparent",flexShrink:0,padding:i.sp0,cursor:o==="In-Progress"||e==="In-Progress"||n?"default":"pointer"}})},Qe=({selectedNotificationsCount:e})=>{const o=v();return t.jsxs(Vs,{windowSize:o,children:[t.jsx(Ws,{children:t.jsx(Ys,{isCircular:e<10,children:t.jsx(Js,{children:e>qe?`${qe}${Ds}`:e})})}),t.jsxs(Zs,{windowSize:o,children:[t.jsx(qs,{children:e>1?Ke.notificationsSelected:Ke.notificationSelected}),e>Et?t.jsx(Ks,{children:ne.maxLimit}):null]})]})},Ps=r.div`
|
|
600
|
-
display: flex;
|
|
601
|
-
height: 100vh;
|
|
602
|
-
width: 100%;
|
|
603
|
-
flex-direction: column;
|
|
604
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
605
|
-
`,Fs=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
|
-
`,Bs=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
|
-
`,Gs=r.div`
|
|
619
|
-
min-height: ${i.sp3};
|
|
620
|
-
width: 100%;
|
|
621
|
-
`,Us=r(ai)`
|
|
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
|
-
`,Es=r(ri)`
|
|
631
|
-
width: ${i.sp3};
|
|
632
|
-
height: ${i.sp3};
|
|
633
|
-
`,Hs=r.div``,Vs=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
|
-
`,Ys=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
|
-
`,Ws=r.div`
|
|
652
|
-
border: 1px solid ${e=>e.theme.colors.grey1};
|
|
653
|
-
border-radius: ${i.sp12};
|
|
654
|
-
padding: 2px;
|
|
655
|
-
`,Js=r(ni)`
|
|
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
|
-
`,qs=r(lt)`
|
|
663
|
-
display: flex;
|
|
664
|
-
`,Ks=r(di)`
|
|
665
|
-
display: flex;
|
|
666
|
-
color: ${S.important};
|
|
667
|
-
margin-left: ${i.sp1};
|
|
668
|
-
`,Zs=r(lt)`
|
|
669
|
-
${e=>`${Os.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
|
-
`,Xs=r(ii)`
|
|
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
|
-
`,Xe=e=>`${e}_form`,et=e=>{const{allNotifications:o,allExternalNotifications:s,notificationDetailsByTab:{tasks:{selectedNotificationIds:a},comments:{selectedNotificationIds:n}}}=e,l={};zt(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 St(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,[Z]:l}},pa=(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,pa as getSelectedNotificationIds,Xe as uniqueFormName};
|