@zeniai/web-cockpit-ui 1.15.55-dev → 1.15.56-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-C98HijMx-DIRaMQaw.js → ACHDetailsPage-CfGEDzSb-BGyn6Hh2.js} +1 -1
- package/dist/assets/{AIPerformancePage-DvIqqfUW-B5ddcrLl.js → AIPerformancePage-BWhcStZE-CeYODf8q.js} +29 -29
- package/dist/assets/AccountInfoPage-D6sv-ieC-B4PaH9ex.js +18 -0
- package/dist/assets/{AccountInfoPageContent-Bjoy7kSM-kNnrLnJI.js → AccountInfoPageContent-XBo-oJV1-DWd-5Z8N.js} +15 -15
- package/dist/assets/{AccountLockedInfoModal-DisEYsUS-zfxK1-20.js → AccountLockedInfoModal-DTEWzR6U-CswnB2Ho.js} +10 -10
- package/dist/assets/{AccountReconDetailsDrawerPage-3lMeeEsP-CBHWuQnb.js → AccountReconDetailsDrawerPage-DwzrCq7I-D9C1tnWs.js} +20 -20
- package/dist/assets/AccountRow-BsjoBGWz-XKpYWJFn.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-94l6cw3--BqluiECW.js → AccountsPromoCardStack-D-iNswM8-BCWgVD2M.js} +18 -18
- package/dist/assets/AddAddressForCardDrawer-D7IEsbzd-9AcgaTTK.js +6 -0
- package/dist/assets/{AddToWalletPage-BFRK3Cz9--H2684Y8.js → AddToWalletPage-DX8xInYJ-DCTNQyem.js} +12 -12
- package/dist/assets/{AgingReportsPage-B4XD0NxM-C9hPpgrJ.js → AgingReportsPage-CXj1Tifk-Cx88sSbv.js} +16 -16
- package/dist/assets/{AllUserItems-fjv8Ov4s-D0Yn7Cw3.js → AllUserItems-DU78kWqE-BO6rFyuD.js} +13 -13
- package/dist/assets/{ApAgingDetailPage-D5ATi6Rg-c01emJHv.js → ApAgingDetailPage-BV5m2F3a-BSgBSoy0.js} +3 -3
- package/dist/assets/AppBasePage-1U1M1WD9-CXysaPqS.js +71 -0
- package/dist/assets/AppDrawerContent-ilzYI49f-BI7w7tno.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-CJ4xz_hQ-D5sZOOO8.js +47 -0
- package/dist/assets/{ArAgingChart-CW-BCqsC-D14dt6qa.js → ArAgingChart-B0wn2vDP-ClJ7YwbK.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-C4wzs4jI-BEFfnJg4.js → ArAgingDetailPage-C-agUa8y-C_TJ2L21.js} +2 -2
- package/dist/assets/{AttachmentView-NLynK_4B-BnApX40v.js → AttachmentView-9Vrv319r-czchKUV5.js} +9 -9
- package/dist/assets/{BankAccountSection-BvIYx2co-BamiC5Ie.js → BankAccountSection-Bv9Iogxn-gY4dwkU_.js} +13 -13
- package/dist/assets/{BankAccountWarningSection-CqyeSTWe-C-YFtMtw.js → BankAccountWarningSection-DAxaKIg3-SHVqFPrV.js} +7 -7
- package/dist/assets/{BankConnectionsSettingsPage-C8lTCBWz-C-LvS4NN.js → BankConnectionsSettingsPage-ZUWw604G-5JFfnAUm.js} +29 -29
- package/dist/assets/BillDetailPage-Cf4PYoYQ-DJR4Ml4e.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-CKtwE5ro-CvaoHMcE.js → BillPayApprovalRuleDetailPage-BfJ2F03Y-BSqfEElp.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-CAVAguR4-C8XO5DYA.js → BillPayApprovalRulesPage-DQ0MRCLa-C_GPmDyJ.js} +13 -13
- package/dist/assets/{BillPayPromoPage-BhXeOZWk-DQanpXhA.js → BillPayPromoPage-DdxRC1p4-C6FSHUuV.js} +7 -7
- package/dist/assets/{BillPaySetUpPage-DBeeMB1d-CPdIKBLb.js → BillPaySetUpPage-DBFcp1Yq-B1CZUTYe.js} +2 -2
- package/dist/assets/{BillingSettingsPage-C34kg2JK-d6AbOc60.js → BillingSettingsPage-DsMjw0qG-Cq1aHxZN.js} +8 -8
- package/dist/assets/BillsBulkReviewDrawerPage-HXDlOpw3-BmcSBj3u.js +1 -0
- package/dist/assets/{BoxItem-F9HlKmjN-xqfWS_hX.js → BoxItem-DaxLyqVe-BDS_i-Ew.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-YOt_PXhl-CeYXkkiq.js → BusinessVerificationPage-BG1rOYOk-DZAei-pQ.js} +13 -13
- package/dist/assets/{CardNumberSubText-BYBZ7ZM1-CYschYSJ.js → CardNumberSubText-bkAPzhoK-D68hvJdl.js} +3 -3
- package/dist/assets/{CashbackDetailPage-BvWf2TDN-CJvt8fwC.js → CashbackDetailPage-CpVmCjts-C2xLm-90.js} +24 -24
- package/dist/assets/{ChargeCardDetailPage-Bx09SgSk-Mc5U0L1M.js → ChargeCardDetailPage-u6hMCosx-DzEhI6yb.js} +1 -1
- package/dist/assets/{ChargeCardListPage-BM0D7PCI-2RCeRUIi.js → ChargeCardListPage-D_7gwi3K-Bgz8fKhJ.js} +28 -28
- package/dist/assets/{ChargeCardListTable-xoYHcNTF-CDUEEXq9.js → ChargeCardListTable-DJmStpnO-DehJbT-m.js} +58 -58
- package/dist/assets/{ChargeCardPaymentHistoryPage-CLA5UpG2-BjxNitum.js → ChargeCardPaymentHistoryPage-BRGJ-5y3-gSyJhC6K.js} +35 -35
- package/dist/assets/ChargeCardPromoPage-Dx4Lni50-C133Kvxd.js +222 -0
- package/dist/assets/ChargeCardSetupPage-CRDfRFf1-DUoEu2We.js +36 -0
- package/dist/assets/ChargeCardStatementsPage-l4X9T8zd-DdxKgTDl.js +60 -0
- package/dist/assets/{CheckDepositDrawerPage-BTCZ6Ihv-Bwg08fJC.js → CheckDepositDrawerPage-DR6LIuPw-BXSM12h-.js} +16 -16
- package/dist/assets/CollapsableReportTable-4bJMcvHV-DJSNBbx8.js +2844 -0
- package/dist/assets/{CompanyOfficerDetailsSection-7wea0Ige-DaIiZvTQ.js → CompanyOfficerDetailsSection-DoGF7khv-CBglpYSM.js} +27 -27
- package/dist/assets/{CompanyPassportCard-BiW2qW0Q-DbzQ0mZs.js → CompanyPassportCard-BHFj9sK6-DN_eKmT3.js} +8 -8
- package/dist/assets/{CompanyPassportPage-cUf8LJjO-BtNthnMy.js → CompanyPassportPage-CH-dqy03-CkFzpRAr.js} +16 -16
- package/dist/assets/{CompleteProfile-zUf6xhpN-Djjy4qMc.js → CompleteProfile-Ck4Baf4z-Bb8vk_It.js} +2 -2
- package/dist/assets/ConfettiBurst-CVLXMknu-C5dtBbFy.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-D303BiU-.js → ConstrainedInnerElement-BeIpAPjB-C1ngGNQp.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-ByvOufGv-BnP_tF_w.js → CreateOrEditVendorPage-D-0WG9pO-B3wRKHPt.js} +22 -22
- package/dist/assets/{CreditCardPaymentDrawerPage-bvQF_Dnd-DNvTFSk3.js → CreditCardPaymentDrawerPage-B7voVDUs-D92b0pbw.js} +21 -21
- package/dist/assets/CurrencySelectField-DrL1sFLq-CxbEbHLA.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-Bnqb4OwN-BkOYiVjl.js → CustomerOnboardingActivationPage-D42sb2F9-DOoQENIp.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-ecKRiXO1-B2Rv0uXK.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DzZq9ydV-rcF8sUPi.js → CustomerOnboardingDetailPageSkeleton-n6GMQZP5-VclSN0ci.js} +16 -16
- package/dist/assets/CustomerOnboardingNoStepsPage--O7lSduT-kzaO9ZVJ.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-Gs1nLE_K-C1loGeIV.js → CustomerOnboardingPage-BPX2w8Fg-Co3rO7kz.js} +7 -7
- package/dist/assets/{CustomerOnboardingProductSuitePage-BzXjhPEn-CGUMAsr4.js → CustomerOnboardingProductSuitePage-CZXqXXFj-B9tCLCph.js} +10 -10
- package/dist/assets/{Dashboard-CB4FHIWL-DH8-1h66.js → Dashboard-Q5gt63wS-D-NM1jxJ.js} +1 -1
- package/dist/assets/{DashboardReportPage-CJzzOcFM-CXGGECPa.js → DashboardReportPage-DJsc3Nx7-CPNsUz_i.js} +40 -40
- package/dist/assets/DashboardSidebarBackgroundAnimation-8LKlc-IA-DppqzS9d.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-DI2iFIOE-D78pehet.js → DepositAccTransactionItem-DB7Oz4GA-Bl1jaHEd.js} +6 -6
- package/dist/assets/DepositAccTransactionListPage-BU1b2OIP-Bg5Lhhh_.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-6Ja_raS1-BtmRTZLv.js → DomesticWireDetailsPage-Dptv-ebx-Dh9S4ky1.js} +1 -1
- package/dist/assets/DownloadOverlay-B61S0t5X-D_O4PIgS.js +439 -0
- package/dist/assets/{DrawerPage-CTtzGlId-R2r7ok8_.js → DrawerPage-DtJQE-UA-o7PPfoO7.js} +9 -9
- package/dist/assets/EditPeoplePage-Dd1g1r37-D5NUne-F.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-B_u1W6bf-DF3LKIJu.js +865 -0
- package/dist/assets/EntityDetailPage-q_kzXlBV-CelG1soQ.js +18 -0
- package/dist/assets/{EntitySummarySection-CgIfSDBl-bARhT4wA.js → EntitySummarySection-BiIPehv4-DbMdDRCI.js} +19 -19
- package/dist/assets/{ExpenseAutomationOverviewPage-BOMURB5R-BK4Piycw.js → ExpenseAutomationOverviewPage-Bo5Eu3Ju-BJhkARvq.js} +48 -48
- package/dist/assets/ExpenseAutomationPage-CBGrrVMb-DCPvuANk.js +1703 -0
- package/dist/assets/{ExpressPayPage-Bq7VwGIy-CuN_JG1U.js → ExpressPayPage-D18sY5VJ-B6oTblqu.js} +19 -19
- package/dist/assets/{FeaturePreviewPage-DzmWWp4h-DNDXggJB.js → FeaturePreviewPage-De2_m2xD-DVzcgjum.js} +2 -2
- package/dist/assets/{FollowStepsSection-DF7igv9E-BXwQRKtK.js → FollowStepsSection-D5ln-mii-C0ucHGsw.js} +24 -24
- package/dist/assets/GlobalReviewListPage-Ch51_Flw-D-uO5wy3.js +291 -0
- package/dist/assets/{InformationCardStack-DNqDhetv-CczzYoVw.js → InformationCardStack-B4z6RgwP-DRH43WQx.js} +5 -5
- package/dist/assets/{InsightsCardStack-cCxIT64L-CUFk6OxI.js → InsightsCardStack-CwBBEkZ7-DJcXHozK.js} +12 -12
- package/dist/assets/InsightsSection-CQD6KXLg-Dl2NV9MP.js +27 -0
- package/dist/assets/IntegrationsSettingsPage-DBiomD_q-DtZiPPV1.js +57 -0
- package/dist/assets/{InternationalWireSwiftDetailsPage-53hMX6yJ-BesU5wqw.js → InternationalWireSwiftDetailsPage-h4bchKo3-DHLm8H4k.js} +25 -25
- package/dist/assets/InternationalWireVerificationPage-DAQrAsW5-Do-KUK3J.js +65 -0
- package/dist/assets/{InviteFormPage-CGxv4wps-5AP-y1Ow.js → InviteFormPage-Dgb-LZKf-ilCutOVc.js} +21 -21
- package/dist/assets/{InvitePageListView-NbYGP_zc-CH2LQelV.js → InvitePageListView-DC-Dp4Zc-D5DpcvE2.js} +47 -47
- package/dist/assets/InvitePeoplePage-CjJOyA8E-7gXroqh1.js +12 -0
- package/dist/assets/InvoiceUploadSection-BJ_Sbytw-C6MkqA6t.js +140 -0
- package/dist/assets/{IssueChargeCardPage-BRRHAcZh-D4kemR48.js → IssueChargeCardPage-DiUKL-rT-CiI_gBye.js} +37 -37
- package/dist/assets/{LabeledAddressValue-BqBWtO4T-C7fJuTnk.js → LabeledAddressValue-DYTDoPER-BLmB8hnw.js} +1 -1
- package/dist/assets/LabeledAddressValueField-DVNSaKBc-CR8m9IVs.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-CZlavM3Q-CNMSOa5n.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-C0QF9TCM-CB5E5Naj.js → LabeledCountryMultiSelectField-BM1jU3hl-_1uQcelw.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-CdMkAJap-1V7j-DDR.js → LabeledCreatableSingleSelectField-BkI0vyax-Dhqs7qd2.js} +6 -6
- package/dist/assets/LabeledDocumentField-B7TETIva-DaOKO-m5.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-Dj0SVwKK-B9iE6D9J.js +59 -0
- package/dist/assets/{LabeledText-DTF15PO8-z7lFVMYz.js → LabeledText-BaYp8lyd-CYkwAQsC.js} +6 -6
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D9bbIz04-BT9veYVH.js → LabeledUserSingleSelectWithSubtitlesField-nlyagP_L-V-ruydL6.js} +19 -19
- package/dist/assets/{LabeledZeniRolesDropDownField-DPNR8el--C4H8qzAo.js → LabeledZeniRolesDropDownField-Bgf26ek0-BDX-8gLb.js} +30 -30
- package/dist/assets/LinkJETransactionPage-ByQktBdK-C5XqLvWq.js +98 -0
- package/dist/assets/{LockCardPage-VSlPzmAF-CYZTWdC-.js → LockCardPage-M7Pcx6mB-BwvNlh-G.js} +14 -14
- package/dist/assets/{LowBalancePopup-DCwoGS48-hmCGAo7a.js → LowBalancePopup-DTwIs75G-MssgctsT.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-Cateo39t-T6xIrHkU.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BMkPYONG-Cj3VBYpA.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BVn2JAEL-DeQZ6JNw.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-6e22dOVy-Gwai5BfM.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-D1tjQ-VI-B06aRvZu.js → MagicLinkTitleSection-B985JuE8-Dn-qMxNJ.js} +5 -5
- package/dist/assets/MailingDetailsSection-detuRa7l-BJwGs4Yy.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-CtYcGNjJ-BqSq6z3Z.js → MyBankConnectionsSettingsPage-2x0kDozt-ClPVN4BG.js} +12 -12
- package/dist/assets/MyPendingActivationChargeCardListPage-CfsTMsnG-BVxobwmr.js +6 -0
- package/dist/assets/MyProfileSettingsPage-BQx9m8r--De3mUOMd.js +85 -0
- package/dist/assets/NavBarWithPicker-BXsxMlBP-DTPzeQwG.js +30 -0
- package/dist/assets/{NavigationArrow-DJQDYzJE-BC_4c0HP.js → NavigationArrow-BpKepWMa-Bn4FAyCA.js} +7 -7
- package/dist/assets/NavigationDots-CxV99fd--CAgGp2GQ.js +15 -0
- package/dist/assets/{NewGlobalMerchantPage-B18toasi-BU1JGIOb.js → NewGlobalMerchantPage-rAYrEwup-HzusEOWs.js} +36 -36
- package/dist/assets/{NoDataChart-BO4tisNf-D8owAUYk.js → NoDataChart-SlgxXIjJ-Bi3c4Olw.js} +3 -3
- package/dist/assets/{NoDataTable-BEVgI9LO-CYWfmTuA.js → NoDataTable-CePwfuWH-BOYJp_LB.js} +1 -1
- package/dist/assets/NotFoundPage-CdmLYWbu-BBjH4PMR.js +46 -0
- package/dist/assets/NotificationSettingsPage-KThnHYOw-D0iY_voD.js +163 -0
- package/dist/assets/NotificationsListConfig-6ay7Y8AS-8Qyako_J.js +1 -0
- package/dist/assets/NotificationsPage-BmNwL81h-yaYUcRR5.js +685 -0
- package/dist/assets/OpExByVendorPage-DQPUJmPx-m9-ozd1L.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-b_Vxf1PH.js → OverlayContainerPage-D4QU0p4o-BPZC_JkQ.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-Bu9ojuKa-CT86cSNx.js → PandLWithForecastPage-C6FwSybq-CjLuy8We.js} +14 -14
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-vFIhGJqT-5psa-_DW.js → PaymentAccountSetupBillingAddressSection-DFCQGlZ--D6Xxd3zY.js} +16 -16
- package/dist/assets/PeoplePage-Df6QdrX5-CNBpk9Ed.js +675 -0
- package/dist/assets/{Preview-CJ42XXYk.js → Preview-Wpvi69S8.js} +1 -1
- package/dist/assets/{ProductsCarousel-Bp3BA6jn-Dq3g70sD.js → ProductsCarousel-Bq0uDCW7-BchAY2K0.js} +9 -9
- package/dist/assets/{PromoBaseCards-BJngCLC1-D1D3BuDF.js → PromoBaseCards-Bs1TPBeA-C7sFMDVT.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-DkBwI8ar-CHNOORcZ.js → QBOConnectionDialog-CGH6M1BO-BTEhQpDo.js} +5 -5
- package/dist/assets/QBOSetupSection-BsFbgysY-CxagA6VQ.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-Q5ynG2vJ-D1YIG_oC.js → ReimbursementApprovalRuleDetailPage-CUf8BGfB-21mnbTVV.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-bXsxoJ-h--lf8D9ac.js → ReimbursementApprovalRulesPage-SKRjcth4-C1ni0caN.js} +17 -17
- package/dist/assets/ReimbursementDetailPage-BzqZlk2B-BW3Uw4EQ.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-Db-_ODCp-CvQz3EGd.js → ReimbursementPromoPage-X1o2D5fz-DfVtcv-q.js} +32 -32
- package/dist/assets/{ReimbursementSetUpPage-Hs-W_q-P-BdYd6UC3.js → ReimbursementSetUpPage-DfAhrvlw-x_fpcuRs.js} +3 -3
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-D0tGia3M-CiWkjF6g.js +1 -0
- package/dist/assets/{ReloadCard-CqhIfBOB-BY0vX67l.js → ReloadCard-DvIzOHkJ-SNPzaiS7.js} +6 -6
- package/dist/assets/ReportTableViewSelector-DikZuwk8-JNUnKB0r.js +150 -0
- package/dist/assets/ReportsPage-CgwJh87H-BukY4LEY.js +121 -0
- package/dist/assets/{RevenueChart-SOIqJqC1-C9wQDXwd.js → RevenueChart-VvZ0y1TP-qC_rkSgA.js} +19 -19
- package/dist/assets/{ReviewDetailsPage-DJtR6MAV-YpQ78vWd.js → ReviewDetailsPage-DC5Pr6t5-DriGh_oI.js} +20 -20
- package/dist/assets/{ReviewOverlay-BAkkDswR-CSwNTB3g.js → ReviewOverlay-BidXwnVw-CvEYNCbr.js} +23 -23
- package/dist/assets/{RoleWithToolTip-LhCV3AOg-BfEF5V_b.js → RoleWithToolTip-CUpngYu7-DADn2aws.js} +4 -4
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BSEAGNCA-CWkK2E_X.js → ScheduleDetailsFixedAssetsPage-P4en048K-D2xUyeCX.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-DuQdRk-6-YLy7Z141.js → ScheduleDetailsPage-Bm8IOCpE-BZajG7cQ.js} +3 -3
- package/dist/assets/ScheduleSequenceTable-Cz46lcuv-DwCS-vmM.js +324 -0
- package/dist/assets/{ScreenRoutes-D4V6kIC9.js → ScreenRoutes-Cdqgwe4G.js} +31 -31
- package/dist/assets/{SetUpAccountSection-Bx30O5Ml-WH4usOA9.js → SetUpAccountSection-DBuoMbxP-u5yk_3Is.js} +17 -17
- package/dist/assets/SignIn-ogxsR98p-BbKEcQBe.js +491 -0
- package/dist/assets/SignInScreen-DP-m_Sk_.js +1 -0
- package/dist/assets/SpendManagementListViewPage-DP6uWx2T-BVgklVNc.js +134 -0
- package/dist/assets/{SpendManagementPerTabPage-Caux80RI-BTh48LKq.js → SpendManagementPerTabPage-DSXg_agw-BBbTIsSz.js} +108 -108
- package/dist/assets/{SpendManagementSection-Z9MFiKoI-CQFuO0wV.js → SpendManagementSection-C-EIQv7m-QyOD3ve3.js} +25 -25
- package/dist/assets/StatementItem-BSVnuQ3e-Bes_h96W.js +31 -0
- package/dist/assets/StatementsPage-CgOC5W_I-Df-cPgLx.js +58 -0
- package/dist/assets/{StatusSwitcher-C3WR2o9U-C0FM9NGp.js → StatusSwitcher-BnSFSpJ0-DnH48_9z.js} +5 -5
- package/dist/assets/SubTabSwitcher-VHMqXmGa-DxiEBs88.js +58 -0
- package/dist/assets/SummaryCard-BTnU1LYd-5Er4BGPP.js +1 -0
- package/dist/assets/TaskManagementPage-CeQkRFbn-JSqoMa4T.js +508 -0
- package/dist/assets/TimeRangeSwitcher-BifUYnpe-C0S2hPAm.js +64 -0
- package/dist/assets/TimeframeSwitcher-9X-6amWo-BHsPnDZX.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-C0fPwGaA-BBTlDoLy.js +31 -0
- package/dist/assets/{TopExCard-CcmlvV2E-DQ9im9Ri.js → TopExCard-Bc812PB9-Cgf0i8AY.js} +6 -6
- package/dist/assets/{TopExDetailPage-oCk5X1ga-b7oteKxs.js → TopExDetailPage-19FwjeX_-Udhi2GOz.js} +16 -16
- package/dist/assets/{TransactionActivityLogPage-nNEnRuxA-DgSPVh85.js → TransactionActivityLogPage-7Lfwq_IY-CFdWRG9m.js} +20 -20
- package/dist/assets/TransactionDetailPage-C7Tv82YB-m9WgdlMS.js +903 -0
- package/dist/assets/TransactionList-CSZxHqad-CHJszH5C.js +153 -0
- package/dist/assets/{TransactionListBig-C_K_kh-Q-CF_jEt3p.js → TransactionListBig-gSPdjYSs-Dr__rrF5.js} +19 -19
- package/dist/assets/TransactionListPage-9ezEzYvU-Cm8yXVfl.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-B1BhBjXd-B68h1iEJ.js → TransactionVendorDetailPage-rcOVwgxy-Ow41gTpA.js} +4 -4
- package/dist/assets/{TransferDrawerPage-DlH8zdQ6-4JQLTKYp.js → TransferDrawerPage-IeuD-8y4-BBbQ4FZg.js} +27 -27
- package/dist/assets/TreasuryOverviewPage-bmv1c3nO-m6l1VttQ.js +708 -0
- package/dist/assets/{TreasuryPromoPage-vnYtT9wt-BT7vg2wI.js → TreasuryPromoPage-KuuzWIYO-BDjVQ4WN.js} +131 -131
- package/dist/assets/{TreasuryStatementsPage-DF66dQfj-YdehmP5K.js → TreasuryStatementsPage-BAfN8DAx-CZoNN9-F.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-DyHfEHRJ-Dk_i3mPQ.js → TreasuryTaxLetterPage-BRDygaXn-BgocidOv.js} +1 -1
- package/dist/assets/{TrendChart-DWFAkD1M-rLrsd-Rc.js → TrendChart-BJqnjEu6-BacSdVAX.js} +4 -4
- package/dist/assets/TrendWithTransactions-2pBj6qUR-T4OcbS5_.js +116 -0
- package/dist/assets/{UncategorizedAccountsMappingPage-Cpz9ytBO-BvYunpjj.js → UncategorizedAccountsMappingPage-DlxWCGZg-CdSrYHNM.js} +23 -23
- package/dist/assets/{UnitIntegrationPage-DUt0EgH9-CrhKA0X8.js → UnitIntegrationPage-U85XCs_D-Bx8aLPRf.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-5-avyqy0-fJ0d5z1N.js +38 -0
- package/dist/assets/{Vendor2FAPopup-31AZ3ofQ-ByfeqFMV.js → Vendor2FAPopup-DLU7H22p-DEGIw5UY.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-B-Zle7l9-BVROIXeh.js +1 -0
- package/dist/assets/VendorDetailPage-prrUwTR_-BD-GdLo7.js +257 -0
- package/dist/assets/VendorDomesticWireDetailsPage-Cm6an-ZT-DTJS7RDE.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-DEm4nD4L-C8GKsU9A.js → VendorFiling1099EditablePage-DIvLStyg-CYbK6ev_.js} +17 -17
- package/dist/assets/VendorFirstReviewPage-BJKFcgOq-CSmnGqyp.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-B3-s03c8-D6bHR05f.js → VendorInternationalWireDetailsPage-Ctwg_CTY-CK5moP88.js} +15 -15
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-D11DRwWL-NLsA0vGl.js +1 -0
- package/dist/assets/{VendorsAccountsSection-2RQUw482-DQWkHxTh.js → VendorsAccountsSection-Bj840XXA-zylNCv6a.js} +2 -2
- package/dist/assets/{VerifyDevice-DrHOxZ08-DicK7t3o.js → VerifyDevice-D5ce0rEk-ByWH1Q6_.js} +2 -2
- package/dist/assets/{VideoPlayer-D7qtpMP6-DY2DpB0L.js → VideoPlayer-XhlPd-AK-BJf7SfgL.js} +2 -2
- package/dist/assets/{VideoPopup-mcH3S96f-CSNVNU5W.js → VideoPopup-8ebccUQt-CoWKaT2k.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-BuSNnbS0-BmlAm--l.js → WarningsDrawerPage-CXHMQPmw-V3zdlF1l.js} +9 -9
- package/dist/assets/{ZeniAccountDetailPage-DeS7bxGu-B2MkmZWf.js → ZeniAccountDetailPage-BCEccrGo-CidPyi4i.js} +40 -40
- package/dist/assets/{ZeniAccountListViewPage-CE9vKT6d-C_0wjRBB.js → ZeniAccountListViewPage-f_9PSaYv-D_Ll-dy-.js} +20 -20
- package/dist/assets/ZeniAccountNavBarPieces-oinah8Mu-H8pK0EkG.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-CS4DCdI2-B9MH4_YO.js → ZeniAccountPromoPage-DGttDJGp-F0XlSRMz.js} +29 -29
- package/dist/assets/{ZeniAccountSetupPage-B_TE40pq-Dxf2Uc2C.js → ZeniAccountSetupPage-5hc6Dfls-Csndezul.js} +6 -6
- package/dist/assets/ZeniCopyright-Ct2Gx1TW-CQmnzv8u.js +1 -0
- package/dist/assets/{ZeniTransferAmountSlider-DpxLl7Ue-DPRxI6VI.js → ZeniTransferAmountSlider-CtSVUxFX-BrJYB_Am.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-C6LAT582.js → add-to-wallet-DgdBD8_G-vslLOG9x.js} +1 -1
- package/dist/assets/{analytics-BBPxpXjb.js → analytics-DRVsD-is.js} +1 -1
- package/dist/assets/{analyticsHelper-huzmVdCu-BJHBr6dz.js → analyticsHelper-BZApS5V7-B7rpJkUm.js} +1 -1
- package/dist/assets/{analyticsHelper-Bp3QyGtE.js → analyticsHelper-BZQExm6b.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CRAkJ5eu.js → arrow-south-east-round-PEovUgvH-CRc8KuMa.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-BkJsqyVy.js → auto-transfer-rule-mbafm5D3-D9R5lS7d.js} +1 -1
- package/dist/assets/chartTypes-DcNGo46a-CqMbbGUL.js +1 -0
- package/dist/assets/commonDimensions-C5V1GwCs-CraAZnb_.js +1 -0
- package/dist/assets/{commonTypes-BqXyygFE-CnF1i8TV.js → commonTypes-CGdrM7wg-Dv-NGJZV.js} +1 -1
- package/dist/assets/{constants-CPFJyknY.js → constants-DTOPkqCr.js} +1 -1
- package/dist/assets/{core-CddRDKK5.js → core-D2KcXy_y.js} +2 -2
- package/dist/assets/{dash.all.min-BPpCNIar.js → dash.all.min-BAllcYm-.js} +1 -1
- package/dist/assets/detailCommon-DEXTnYE7-CjqtKJhq.js +38 -0
- package/dist/assets/downloadPdf-Cd1RR1sH-Cvu_thw4.js +1 -0
- package/dist/assets/{empty-OXNqopUa.js → empty-BTyrR5qF.js} +1 -1
- package/dist/assets/{empty-DnP56ICM.js → empty-wMN4Rfol.js} +1 -1
- package/dist/assets/epic-CLSKdGkp.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-DgonOPJx.js → gift-box-Cmt9OgIZ-DP-cJLna.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CyoR0rrV.js → graphic-no-data-l-DU4J8fDt-D-Fo2zgX.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-D4pGKQmg.js → graphic-no-data-net-burn-l-CzmycA0m-D8edm3HW.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Bi2WM_Eh.js → handshake-BPg58FML-DJLp3b1-.js} +1 -1
- package/dist/assets/{helper-C6wE3mOs-ygxajmnJ.js → helper-kGYJRbxq-D4mxVura.js} +3 -3
- package/dist/assets/{index-DeqxpWOe.js → index-BHqxLcjt.js} +1 -1
- package/dist/assets/{index-Dw6Tuhsa.js → index-CBio2FUy.js} +1 -1
- package/dist/assets/{index-hMgEheel.js → index-Cpk1UVH8.js} +1 -1
- package/dist/assets/{index-D2KmAsTj.js → index-DH51hTsJ.js} +1 -1
- package/dist/assets/{index-DNn6xiN7.js → index-DJK9rXmh.js} +1 -1
- package/dist/assets/{index-GvAktRSv.js → index-aDDisho3.js} +1 -1
- package/dist/assets/{index-DceSoL0X.js → index-sotzB3Mx.js} +4796 -4800
- package/dist/assets/{lexical-CRAxrDKi.js → lexical-Dj2KAtCD.js} +1 -1
- package/dist/assets/{liveblocks-C3olwiFW.js → liveblocks-DezulwOD.js} +1 -1
- package/dist/assets/{lottie-DHSNlrty.js → lottie-D7_uSTtS.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-QGHkauXd-qPE55nra.js → mapLoadingInProgressToTreeNode-BXVk4dIp-BuiNw2vq.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-IAuTtuif-w6n_R73J.js → mapSectionWithAcOnlyToTreeNode-oqbfssc7-BaqyGbt-.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-BA1RwyQy-BaPbOaZb.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-B8pIGqbO-BJk8DWTQ.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-D-yDCyLa-BApfBpwP.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BGId2YAo-D_Czi_I6.js +1 -0
- package/dist/assets/{mui-B9ZZxqGv.js → mui-CWqpJBOf.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BAeGzYhC.js → page-detail-CWX5S47F-B2tDMGkf.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-HFnGkMgT.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-BTgddVFO.js → radio-default-CiSgisfh-0Atq9vXH.js} +1 -1
- package/dist/assets/{react-C-YPBd7x.js → react-4PtfPhor.js} +3 -3
- package/dist/assets/{react-dF0Ep-lR.js → react-Bhq0KCUo.js} +1 -1
- package/dist/assets/{react-ClcmWYZP.js → react-BxwoRjBq.js} +1 -1
- package/dist/assets/{react-BmFTzqBR.js → react-By_pdhPa.js} +1 -1
- package/dist/assets/{react-UG1Schov.js → react-CPTbErTv.js} +1 -1
- package/dist/assets/{react-BNxsrY_J.js → react-CSZP1bUd.js} +1 -1
- package/dist/assets/{react-B6URfXSC.js → react-CjLH0WcG.js} +1 -1
- package/dist/assets/{react-DPaJOqrg.js → react-k1MNcgFc.js} +2 -2
- package/dist/assets/{recharts-Df6P8LTk.js → recharts-H7gIkfSf.js} +20 -20
- package/dist/assets/{sentry-DSwgNZrO.js → sentry-2bqpslFP.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DfJyH00V.js → shield-DOlUxcFf-BxoXXGpt.js} +1 -1
- package/dist/assets/toCOABalancesWithID-Ckyq_c20-DzmyGaV3.js +1 -0
- package/dist/assets/toChartData-N0pkfSXY-BNdgZ-va.js +1 -0
- package/dist/assets/{uploadAttachment-4DeHQ4oS-Bw7xJmib.js → uploadAttachment-CPTMCWWz-BHUe9KYn.js} +33 -33
- package/dist/assets/uploadReceipts-Dge0cNF1-CAzr24hn.js +1 -0
- package/dist/assets/{url-CnM3nym8.js → url-BnPWfZoh.js} +1 -1
- package/dist/assets/{url-BRZkzhoD.js → url-FABckJBr.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BgMcVZoL.js → useLongPress-GCK2COYQ-isRXDDp5.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DuwzCwM7.js → usp-line-BBd1wKwW-C5jzPmNs.js} +1 -1
- package/dist/assets/{utils-bhjg_GlW.js → utils-Bfvb8rvn.js} +1 -1
- package/dist/assets/zeni-epic-state-DM-Ak8Gv.js +151 -0
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-DiLfCEmp-DO4D-Akp.js +0 -18
- package/dist/assets/AccountRow-DHebunB5-DIYXQfGx.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-DsW1gOAp-MwS07L6u.js +0 -6
- package/dist/assets/AppBasePage-DEEwGCyl-CJQRcs0Q.js +0 -71
- package/dist/assets/AppDrawerContent-BV68KVaK-DsuGSV0L.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-rYk3cmVs-Bk4KgAtZ.js +0 -47
- package/dist/assets/BalancesInsightWithToolTip-e99DEARd-B-O4Ljlc.js +0 -38
- package/dist/assets/BillDetailPage-BHMeLrkf-DfOpYdLq.js +0 -266
- package/dist/assets/BillsBulkReviewDrawerPage-mrZng-LH-CgLPtPGy.js +0 -1
- package/dist/assets/ChargeCardPromoPage-DOLaaGqu-DsV8VR1J.js +0 -222
- package/dist/assets/ChargeCardSetupPage-BU9RvMXY-Dj9m6ZmP.js +0 -36
- package/dist/assets/ChargeCardStatementsPage-DlrKo_GJ-BRM2z9cD.js +0 -60
- package/dist/assets/CollapsableReportTable-B7wBJa-J-CFRGpr0Y.js +0 -2941
- package/dist/assets/ConfettiBurst-JdjFQWmA-B1zUAlBC.js +0 -1
- package/dist/assets/CurrencySelectField-C9U52o8Z-DH90cYim.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-BVEjcOzz-Tgi7ne-F.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-BxvN2Q7E-B4zOAzF_.js +0 -66
- package/dist/assets/DashboardSidebarBackgroundAnimation-uX3QCu5p-mHJahdDI.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-BJ8sXbmG-CMXvXJC1.js +0 -66
- package/dist/assets/DownloadOverlay-uRpW9ezf-jNXoSS7J.js +0 -439
- package/dist/assets/EditPeoplePage-BBrsqLJc-DyJHgyzZ.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-D-HncluE-CUs0afyw.js +0 -865
- package/dist/assets/EntityDetailPage-X5BG-4An-7aKQ5Pgw.js +0 -18
- package/dist/assets/ExpenseAutomationPage-BWBWJraB-BcLoThsR.js +0 -3001
- package/dist/assets/GlobalReviewListPage-BXhEk4c0-BVTm7Ky3.js +0 -291
- package/dist/assets/InsightsSection-CbrrmEg4-D4vQ_6my.js +0 -27
- package/dist/assets/IntegrationsSettingsPage-Bw4BviF3-DBDc8BdY.js +0 -57
- package/dist/assets/InternationalWireVerificationPage-CmibXgZP-Dk0__zsA.js +0 -65
- package/dist/assets/InvitePeoplePage-CUIx67tI-BuLgC01P.js +0 -12
- package/dist/assets/InvoiceUploadSection-SDbpMsYc-Dm64G91F.js +0 -140
- package/dist/assets/LabeledAddressValueField-BJl_17nw-BoellP6H.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CTjsNnfG-C03py6Ms.js +0 -16
- package/dist/assets/LabeledDocumentField-De9s68TP-Cri5KHGX.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-Dy4sKbHt-B82hYqdR.js +0 -59
- package/dist/assets/LinkJETransactionPage-CflqbXq0-DXYSk1UI.js +0 -98
- package/dist/assets/MagicLinkACHDetailsPage-BT5yNVLG-ChUzosgW.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BurEs9tm-DDw6dGa9.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CvvBuPtn-Br57d6dJ.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-Bu2WgYDU-C_NzscTh.js +0 -31
- package/dist/assets/MailingDetailsSection-CnGInDUg-DZA0H6jP.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-CmSDPRHT-DaaZsLCw.js +0 -6
- package/dist/assets/MyProfileSettingsPage-1FPtn1ea-C9umNstC.js +0 -85
- package/dist/assets/NavBarWithPicker-B04p6hvh-BcKmzJ24.js +0 -30
- package/dist/assets/NavigationDots-C2ylmmp9-BUZFmr7S.js +0 -15
- package/dist/assets/NotFoundPage-zeHT1nzY-c1pIrXd2.js +0 -46
- package/dist/assets/NotificationSettingsPage-ClXPKcgz-Cua8aSKu.js +0 -163
- package/dist/assets/NotificationsListConfig-BQqh5bzx-CFdZZXGY.js +0 -1
- package/dist/assets/NotificationsPage-DsWTVVJb-CubnyrBq.js +0 -685
- package/dist/assets/OpExByVendorPage-BjNi44e6-DOiReLBc.js +0 -100
- package/dist/assets/PeoplePage-B6QMmZoF-D2QgJp28.js +0 -727
- package/dist/assets/QBOSetupSection-CzvyO3jT-MFHCmvJY.js +0 -79
- package/dist/assets/ReimbursementDetailPage-DgzoYr-9-CVLHufeF.js +0 -314
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DH5fjpfk-Cr_SYXyq.js +0 -1
- package/dist/assets/ReportTableViewSelector-Cot8YlVL-BAZ1GdJN.js +0 -151
- package/dist/assets/ReportsPage-C_7EbeMB-O7cnUjzc.js +0 -237
- package/dist/assets/ScheduleSequenceTable-CpShO1ua-Dsb6r5kr.js +0 -324
- package/dist/assets/SignIn-BQ4q4gDh-CzzmiuXu.js +0 -491
- package/dist/assets/SignInScreen-DZyTlhxL.js +0 -1
- package/dist/assets/SpendManagementListViewPage-B_sb3Dfh-dqWZldlf.js +0 -134
- package/dist/assets/StatementItem-uBlcLNGa-C68iqcbF.js +0 -31
- package/dist/assets/StatementsPage-wmfWDQrp-DZo3jcor.js +0 -58
- package/dist/assets/SubTabSwitcher-JZ9r8Gvy-CmdEzTPr.js +0 -58
- package/dist/assets/SummaryCard-CzpKllZ9-BcAcs1DO.js +0 -1
- package/dist/assets/TaskManagementPage-DhdfjPpg-Bz7Od6O0.js +0 -508
- package/dist/assets/TimeRangeSwitcher-ejYmSzzU-BGF2Hlek.js +0 -64
- package/dist/assets/TimeframeSwitcher-B1rtSeeP-s5XP-zq2.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-BIe0KGCe-CezpaCXC.js +0 -53
- package/dist/assets/TransactionDetailPage-BXQ5ksBH-YOlZ51Uf.js +0 -903
- package/dist/assets/TransactionList-BWV8LDN--T7E1cgUU.js +0 -153
- package/dist/assets/TransactionListPage-Duf7rjbN-xYqf2OTU.js +0 -35
- package/dist/assets/TreasuryOverviewPage-CwoPszbZ-2TJ6YJVy.js +0 -725
- package/dist/assets/TrendWithTransactions-CmQO_iYM-CWBGfczA.js +0 -116
- package/dist/assets/UploadAdditionalDocumentOverlay-CF3ZYMeP-BxK_8i6B.js +0 -38
- package/dist/assets/VendorACHDetailsPage-C4ZWGPWZ-DEvx49Vu.js +0 -1
- package/dist/assets/VendorDetailPage-BaCVjTbp-CB0Ap7RS.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-D7BmBMH9-CzIkSVsO.js +0 -1
- package/dist/assets/VendorFirstReviewPage-EuDBTkMb-5uGJMDW8.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BlAFp-w1-Ch6YFnOD.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-DpCkEpt8-DL9r0gov.js +0 -14
- package/dist/assets/ZeniCopyright-CHJRCEOe-C6byioU4.js +0 -1
- package/dist/assets/chartTypes-Bka0fHvt-LIfMG0zS.js +0 -1
- package/dist/assets/commonDimensions-CL818jc5-C1bPf58V.js +0 -1
- package/dist/assets/downloadPdf-DAxy7KUU-_uW3L53O.js +0 -1
- package/dist/assets/epic-B0RIAA2R.js +0 -2
- package/dist/assets/mapSpacerToTreeNode-CsVNH3Xd-QYfiumtX.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CCLjlNlu-MJgc9UaW.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DliXXFXC-BfnSqJsP.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CqDxaCav-BL7jrrEI.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-BJi_hKr3.js +0 -3
- package/dist/assets/toCOABalancesWithID-D45JW5mT-zLfAfLgo.js +0 -1
- package/dist/assets/toChartData-C9xZuC9A-cKZFGcPF.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-ByyuyA7j.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-COkmL3Gy.js +0 -1
- package/dist/assets/zeni-epic-state-BKQAT3eK.js +0 -151
|
@@ -1,685 +0,0 @@
|
|
|
1
|
-
import{y as K,Q as v,aa as Kt,cJ as ei,V as t,bE as ti,ae as ii,aT as oi,o as i,ab as $e,b as B,he as si,x as _,ih as ai,w as Ie,L as ni,aA as it,cp as ot,b5 as st,ds as at,cx as nt,kc as rt,u as w,a as ri,kd as li,dq as ue,a$ as di,O as ci,M as lt,p as S,ak as ui,bR as z,cN as he,gd as pe,ke as fe,ay as dt,a9 as ct,dx as U,fy as ut,ac as me,go as hi,an as ee,iw as pi,ao as H,fM as fi,aX as je,bc as ge,kf as mi,bO as ht,kg as _e,bx as gi}from"./index-DceSoL0X.js";import{a as g}from"./sentry-DSwgNZrO.js";import{n,c as P}from"./mui-B9ZZxqGv.js";import{H6 as xi,H7 as bi,bL as Z,bh as $,EY as pt}from"./zeni-epic-state-BKQAT3eK.js";import{R as wi}from"./SubTabSwitcher-JZ9r8Gvy-CmdEzTPr.js";import{d as ft}from"./useLongPress-GCK2COYQ-BgMcVZoL.js";import{A as mt,t as gt,a as xt,E as bt,L as wt,I as yt}from"./NotificationsListConfig-BQqh5bzx-CFdZZXGY.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.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]="81a4e816-b0c6-4492-a084-1ca3148298c0",e._sentryDebugIdIdentifier="sentry-dbid-81a4e816-b0c6-4492-a084-1ca3148298c0")}catch{}})();function yi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:r,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:u}){const p=v(),f=K(),h=g.useCallback(m=>{d(m.id)},[d]),x=g.useCallback(m=>{u(m.id)},[u]);return e.length===0?null:t.jsxs($i,{windowSize:p,children:[t.jsx(ai,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${f.colors.grey3}`},onTabChange:h}),t.jsx(wi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:r,onTabChange:x})]})}const $i=n.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: 100%;
|
|
5
|
-
`,{common:{timeStrings:$t,strings:ji},dateFormat:Le,timeFormat:ki}=B.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)),xe=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=Z(e.toUTCString()),s=$(),a=s.diff(o,"minutes"),r=s.diff(o,"seconds"),l=60,c=24*60;return r<=l?$t.justNow:a<c&&mi(o,0)?o.format(ki.hhmmAFormat):o.format(Le.visual.MMMDFormat)},ze=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}}}}=B.getLocalizedStrings(),St=e=>{e.sort((r,l)=>Z(r.inboxNotification.notifiedAt.toUTCString()).isAfter(Z(l.inboxNotification.notifiedAt.toUTCString()))===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const r of jt){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),u=$().subtract(Math.min($().date(),c),"d").endOf("d"),p=1;switch(r){case"today":case"yesterday":l=r==="today"?0:1,c=r==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),u=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=oe(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:r,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),u=$().subtract(2,"d").endOf("d"),a=oe(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:r,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),u=$().subtract(9,"d").endOf("d"),a=oe(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:r,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const f=$().subtract(p,"month").startOf("M").startOf("d"),h=$().subtract(p,"month").endOf("M").endOf("d");p++,a=oe(o,f,h),o=a.remainingData,s.push({start:f,end:h,type:r,notifications:a.singleGroup})}break}}return s},oe=(e,o,s)=>{const a=[],r=e.map(l=>rt(o,s,Z(l.inboxNotification.notifiedAt.toUTCString()))?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>Z(l.inboxNotification.notifiedAt.toUTCString()).isAfter(Z(c.inboxNotification.notifiedAt.toUTCString()))===!0?-1:1),{singleGroup:a,remainingData:r}},vi=e=>{const{thread:o}=e,{newRepliesAdded:s,newCommentAdded:a}=Si;return o.comments.length===1?a:s},vt=new _(3,2,1,1,1),Ct=new _(w[8],w[6],35,35,w[6]),de={lineClamp:vt,sectionWidth:Ct},Tt="comments-notification-tile",{common:{texts:De,timeStrings:Ci,strings:te},commentsAndNotifications:{notifications:{strings:{newMessage:Ti},actionStrings:{comments:{newCommentAdded:Ni}}}}}=B.getLocalizedStrings(),Ii=({sectionId:e,notificationData:o,users:s,isHighlighted:a=!1,style:r,onNotificationTileClick:l})=>{const c=dt(),d=ct().analytics,{inboxNotification:{id:u,readAt:p,notifiedAt:f},thread:h}=o,{setRequestToOpenThread:x}=g.useContext(hi),m=p!=null?"read":"unread",{metadata:{url:k,companyId:I,entityType:D},id:L}=h;return t.jsxs(Ai,{readStatus:m,isClickable:!!k,isHighlighted:a,style:r,"data-testid":me(e,`${Tt}-${u}`),onClick:()=>{k&&(l(u,pt(k),m),(h.metadata.tab==="bill"||h.metadata.tab==="reimbursement")&&x({threadId:L,companyId:I,entityType:D})),h.metadata.application!=="cockpit"&&d.trackCommentActivity("notification","clicked",h.metadata.companyName,c.controllersList.controllers.map(b=>U(b)),h.resolved?"resolved":"open",{name:ut(c.loggedInUser),email:c.loggedInUser?.userEmail??""},"db notification")},children:[t.jsx(Li,{notificationData:o,users:s}),t.jsx(_i,{...o}),t.jsx(zi,{timestamp:f,readStatus:m})]})},Nt=({notificationData:e,users:o})=>{const{thread:s}=e,{comments:a}=s,r=a[0];return a.length===0||r.body==null?t.jsx(ke,{children:Ti}):t.jsx(ke,{children:r.body.content.map(l=>{switch(l.type){case"paragraph":return l.children.map((c,d)=>{if(Di(c)){const p=o.find(f=>f.userId===c.id);return c.id?t.jsx(Ri,{notificationData:e,user:p},`${c.id}${te.underscore}${d}`):null}if(Mi(c)){const p=pi(c.url)??c.url;return t.jsx(Hi,{href:p,target:"_blank",rel:"noopener noreferrer nofollow",children:c.text??c.url},d)}let u=c.text;return c.bold===!0&&(u=t.jsx(Bi,{children:u},d)),c.italic===!0&&(u=t.jsx(Gi,{children:u},d)),c.strikethrough===!0&&(u=t.jsx(Ei,{children:u},d)),c.code===!0&&(u=t.jsx(Fi,{children:u},d)),t.jsx(Ui,{children:u},d)});default:return t.jsx(ke,{children:Ni})}})})},Li=({notificationData:e,users:o})=>{const s=v();return t.jsx(Vi,{windowSize:s,children:t.jsx(Nt,{notificationData:e,users:o})})},Ri=({notificationData:e,user:o})=>{const{inboxNotification:{readAt:s}}=e,a=s!=null?"read":"unread";let r=t.jsxs(Me,{className:"userText",readStatus:a,children:[te.atTheRate,De.zeniAI,te.space]});if(o!=null){const l=U(o,!1);r=t.jsx(t.Fragment,{children:t.jsxs(Me,{className:"userText",readStatus:a,children:[te.atTheRate,l||De.zeniAI,te.space]})})}return r},It=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(It,{...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(Oi,{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 Ai=n.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?P`
|
|
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?P`
|
|
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
|
-
`,Oi=n(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=n(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
|
-
`,Bi=n.strong``,Fi=n.code``,Gi=n.em``,Ei=n.s``,Ui=n.span``,Hi=n.a``,Vi=n(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
|
-
`,Me=n(ge)`
|
|
79
|
-
color: ${e=>e.readStatus==="read"?e.theme.colors.grey1:S.brandColorJade};
|
|
80
|
-
`,ke=n(ge)`
|
|
81
|
-
color: inherit;
|
|
82
|
-
`,Yi=n(ht)`
|
|
83
|
-
flex-shrink: 0;
|
|
84
|
-
color: ${e=>e.isNewNotification?e.theme.colors.primary:"inherit"};
|
|
85
|
-
`,Wi=n.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
|
-
`,Se={emptyRowItemSectionWidth:new _(120,200,250,330,400),emptyLastRowItemSectionWidth:new _(w[6],50,60,w[11],120)},Ji=()=>{const e=v();return t.jsxs(qi,{windowSize:e,children:[t.jsx(ve,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:Se.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(ve,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:Se.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(ve,{windowSize:e,isLastItem:!0,children:t.jsx(z,{width:Se.emptyLastRowItemSectionWidth.value(e),height:18})})]})},qi=n.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
|
-
`,ve=n.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
|
-
`,Qi=()=>{const e=v();return t.jsxs(Xi,{windowSize:e,children:[t.jsxs(Zi,{children:[t.jsx(z,{width:180,height:w[4]}),t.jsx(z,{width:180,height:w[4]})]}),t.jsx(Ki,{children:t.jsx(z,{width:60,height:18})})]})},Xi=n.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
|
-
`,Zi=n.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=n.div`
|
|
157
|
-
display: flex;
|
|
158
|
-
align-items: baseline;
|
|
159
|
-
flex-direction: row;
|
|
160
|
-
justify-content: end;
|
|
161
|
-
`,eo=()=>v()==="small"?t.jsx(Qi,{}):t.jsx(Ji,{}),to={marginLeft:new _(w[2],w[5],w[7])},io=()=>t.jsxs(oo,{children:[t.jsx(Ce,{numberOfRows:5}),t.jsx(Ce,{numberOfRows:3})]}),Ce=({numberOfRows:e})=>{const o=v();return t.jsxs(so,{windowSize:o,children:[t.jsx(no,{children:t.jsx(z,{width:w[12],height:Ie.standardRegular.lineHeightValue})}),t.jsx(ao,{children:[...Array(e)].map(s=>t.jsx(eo,{},ue()))})]})},oo=n.div`
|
|
162
|
-
display: block;
|
|
163
|
-
min-height: 100%;
|
|
164
|
-
flex-direction: column;
|
|
165
|
-
width: 100%;
|
|
166
|
-
`,so=n.div`
|
|
167
|
-
display: flex;
|
|
168
|
-
flex-direction: column;
|
|
169
|
-
margin-bottom: ${i.sp5};
|
|
170
|
-
margin-left: ${e=>to.marginLeft.valuePx(e.windowSize)};
|
|
171
|
-
`,ao=n.div`
|
|
172
|
-
display: flex;
|
|
173
|
-
flex-direction: column;
|
|
174
|
-
border-radius: ${i.sp2};
|
|
175
|
-
`,no=n.div`
|
|
176
|
-
display: flex;
|
|
177
|
-
padding: ${i.sp3} ${i.sp0};
|
|
178
|
-
`,ro=({sectionId:e,notificationData:o,users:s,isSelectionMode:a=!1,isHighlighted:r=!1,style:l,onNotificationTileClick:c,onNotificationTileLongPress:d})=>{const u=dt(),p=ct().analytics,{inboxNotification:{id:f,readAt:h,notifiedAt:x},thread:m}=o,k=h!=null?"read":"unread",I=m.metadata.url,D=g.useCallback(()=>{d?.()},[d]),L=g.useCallback(N=>{N.stopPropagation(),N.cancelable&&N.preventDefault(),a?d?.():I!=null&&(c(f,pt(m.metadata.url),k),m.metadata.application!=="cockpit"&&p.trackCommentActivity("notification","clicked",m.metadata.companyName,u.controllersList.controllers.map(j=>U(j)),m.resolved?"resolved":"open",{name:ut(u.loggedInUser),email:u.loggedInUser?.userEmail??""},"db notification"))},[a,I,d,c,f,m.metadata.url,m.metadata.application,k,u.controllersList,u.loggedInUser,p,m.metadata.companyName,m.resolved]),b=ft({onLongPress:D},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(ho,{readStatus:k,isClickable:I!=null,isHighlighted:r,style:l,"data-testid":me(e,`${Tt}-${f}`),...b,onClick:L,children:[t.jsxs(fo,{children:[t.jsx(lo,{notificationData:o,users:s}),t.jsx(co,{...o})]}),t.jsx(uo,{timestamp:x,readStatus:k})]})},lo=({notificationData:e,users:o})=>t.jsx(Rt,{children:t.jsx(Nt,{notificationData:e,users:o})}),co=e=>t.jsx(Rt,{children:t.jsx(It,{...e})}),uo=e=>t.jsx(po,{children:t.jsx(Lt,{...e})}),ho=n.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?P`
|
|
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?P`
|
|
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=n(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=n.div`
|
|
239
|
-
display: flex;
|
|
240
|
-
flex-direction: column;
|
|
241
|
-
gap: ${i.sp2};
|
|
242
|
-
`,Rt=n(ee)`
|
|
243
|
-
color: inherit;
|
|
244
|
-
display: -webkit-box;
|
|
245
|
-
overflow: hidden;
|
|
246
|
-
-webkit-box-orient: vertical;
|
|
247
|
-
`,_t=e=>v()==="small"?t.jsx(ro,{...e}):t.jsx(Ii,{...e}),{common:{all:Ae}}=B.getLocalizedStrings(),mo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:r,isDisabled:l,onNotificationTileClick:c})=>{const d=K(),{getValues:u}=he(),p=u(s);return t.jsx(go,{style:r,children:t.jsx(pe,{mode:a,checkBoxes:[{label:t.jsx(xo,{htmlFor:`${s}.${Ae.toLocaleLowerCase()}`,style:{color:d.colors.primary},children:xe(e)}),value:Ae.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((f,h)=>{const x=h===0,m=e.notifications.length-1===h;return{label:t.jsx(_t,{sectionId:s,notificationData:f,users:o,style:{borderTopLeftRadius:x?i.sp2:void 0,borderTopRightRadius:x?i.sp2:void 0,borderBottomLeftRadius:m?i.sp2:void 0,borderBottomRightRadius:m?i.sp2:void 0},isHighlighted:p?.includes(f.inboxNotification.id)===!0,onNotificationTileClick:c}),value:f.inboxNotification.id,defaultChecked:!1,groupLabel:!1}})],name:s,isDisabled:l,style:{width:"100%"},checkBoxStyle:{padding:i.sp3},labelCheckBoxStyle:{padding:i.sp3}})})},go=n.div`
|
|
248
|
-
display: flex;
|
|
249
|
-
align-items: center;
|
|
250
|
-
width: 100%;
|
|
251
|
-
`,xo=n(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}}=B.getLocalizedStrings(),bo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:r,isDisabled:l,onNotificationTileClick:c})=>{const d=K(),{getValues:u}=he(),p=u(s),f=g.useRef([]);return g.useEffect(()=>{f.current=f.current.slice(0,e.notifications.length)},[e.notifications.length]),t.jsx(wo,{style:r,children:t.jsx(pe,{mode:a,checkBoxes:[{label:t.jsx(Pe,{htmlFor:`${s}.${Oe.toLocaleLowerCase()}`,style:{color:d.colors.primary,marginLeft:i.sp2},children:xe(e)}),value:Oe.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((h,x)=>{const m=x===0,k=e.notifications.length-1===x;return{label:t.jsx(Pe,{ref:I=>f.current[x]=I,htmlFor:`${s}.${h.inboxNotification.id}`,style:{padding:i.sp0},children:t.jsx(yo,{sectionId:s,notificationData:h,users:o,style:{borderTopLeftRadius:m?i.sp2:void 0,borderTopRightRadius:m?i.sp2:void 0,borderBottomLeftRadius:k?i.sp2:void 0,borderBottomRightRadius:k?i.sp2:void 0,marginLeft:i.sp2},isHighlighted:p?.includes(h.inboxNotification.id)===!0,isSelectionMode:a==="always_on",onNotificationTileClick:c,onNotificationTileLongPress:()=>{f.current[x]?.click()}})}),value:h.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=n.div`
|
|
257
|
-
display: flex;
|
|
258
|
-
align-items: center;
|
|
259
|
-
width: 100%;
|
|
260
|
-
`,Pe=n(fe)`
|
|
261
|
-
display: flex;
|
|
262
|
-
align-items: flex-start;
|
|
263
|
-
width: 100%;
|
|
264
|
-
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
265
|
-
`,yo=n(_t)``,$o=e=>v()==="small"?t.jsx(bo,{...e}):t.jsx(mo,{...e}),{commentsAndNotifications:{notifications:{message:jo}}}=B.getLocalizedStrings(),Be={rowGap:new _(w[0],w[5],w[5])},ko=({notificationGroups:e,users:o,isFetching:s,hasMore:a,sectionId:r,checkBoxMode:l,scrollYOffset:c,currentSubTab:d,isDisabled:u,onUpdateScrollYOffset:p,onFetchNotificationGroups:f,onNotificationClick:h})=>{const x=v(),m=g.useRef(null),k=g.useRef({});g.useEffect(()=>{m.current?.resetAfterIndex(0,!0)},[x,m,e]),g.useEffect(()=>{m.current?.scrollTo(c)},[d]);const I=g.useCallback(C=>{if(k.current?.[C]!=null){const G=x==="small"&&a===!1&&C===e.length-1?Be.rowGap.value("medium-regular"):Be.rowGap.value(x);return k.current[C]+G}return(mt*vt.value(x)+gt)*3+xt+bt},[x,k,e]),D=g.useCallback((C,G)=>{k.current={...k.current,[C]:G},m.current?.resetAfterIndex(0,!0)},[x,m,e]),L=g.useCallback(()=>{f()},[f]),b=g.useCallback(()=>{},[]),N=it(C=>p(C),1e3,{trailing:!0}),j=C=>!a||C<e.length,V=g.useCallback(()=>a&&!s?L():b(),[a,s,L,b]),R=a?e.length+1:e.length;return t.jsx(vo,{children:t.jsx(Co,{windowSize:x,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:x,children:t.jsx(st,{children:({height:C,width:G})=>t.jsx(at,{isItemLoaded:j,itemCount:wt,loadMoreItems:V,children:({onItemsRendered:Y,ref:E})=>t.jsx(nt,{ref:W=>{E(W),m.current=W},height:C,itemCount:R,itemData:{notificationGroups:e,users:o,sectionId:r,checkBoxMode:l,isDisabled:u,isItemLoaded:j,setRowHeight:D,onNotificationClick:h},onItemsRendered:Y,itemSize:I,width:G,style:{willChange:"auto"},overscanCount:yt,onScroll:({scrollOffset:W})=>{N(W)},initialScrollOffset:c,children:So})})})})})})},So=({index:e,style:o,data:s})=>{const{notificationGroups:a,users:r,sectionId:l,checkBoxMode:c,isItemLoaded:d,isDisabled:u,setRowHeight:p,onNotificationClick:f}=s,h=g.useRef(null),x=v();if(g.useEffect(()=>{h.current?.firstElementChild!=null&&p(e,h.current.firstElementChild.clientHeight)},[e,h,x,a[e]?.notifications]),d(e)===!0){const m=a[e],k=le(m);return t.jsx(Fe,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:h,children:t.jsx($o,{notificationGroup:m,sectionId:`${l}.${k}`,checkBoxMode:c,isDisabled:u,users:r,onNotificationTileClick:f})},k)}return t.jsx(Fe,{ref:h,style:{...o,paddingBottom:i.sp0},children:t.jsx(Ce,{numberOfRows:3})},ue())},vo=n.div`
|
|
266
|
-
display: block;
|
|
267
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
268
|
-
height: 100%;
|
|
269
|
-
width: 100%;
|
|
270
|
-
`,Co=n.div`
|
|
271
|
-
height: 100%;
|
|
272
|
-
width: 100%;
|
|
273
|
-
`,To=n.div`
|
|
274
|
-
height: 100%;
|
|
275
|
-
display: flex;
|
|
276
|
-
flex-direction: column;
|
|
277
|
-
max-width: 99.9%;
|
|
278
|
-
`,Fe=n.div`
|
|
279
|
-
top: ${i.sp0};
|
|
280
|
-
left: ${i.sp0};
|
|
281
|
-
box-sizing: border-box;
|
|
282
|
-
`,{common:{in:No,strings:zt},dateFormat:Io,commentsAndNotifications:{notifications:{actionStrings:{notifications:O}}}}=B.getLocalizedStrings(),Dt=e=>{e.sort((r,l)=>r.createTime.isAfter(l.createTime)===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const r of jt){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),u=$().subtract(Math.min($().date(),c),"d").endOf("d"),p=1;switch(r){case"today":case"yesterday":l=r==="today"?0:1,c=r==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),u=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=se(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:r,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),u=$().subtract(2,"d").endOf("d"),a=se(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:r,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),u=$().subtract(9,"d").endOf("d"),a=se(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:r,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const f=$().subtract(p,"month").startOf("M").startOf("d"),h=$().subtract(p,"month").endOf("M").endOf("d");p++,a=se(o,f,h),o=a.remainingData,s.push({start:f,end:h,type:r,notifications:a.singleGroup})}break}}return s},se=(e,o,s)=>{const a=[],r=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:r}},Lo=e=>{let o=O.newActivity;return e.code==="in_progress"?o=O.due.replace("__task_status__",_e(e.name.toLocaleLowerCase())):o=O.due.replace("__task_status__",No.toLocaleLowerCase().concat(zt.space,_e(e.name.toLocaleLowerCase()))),o},Ro=e=>{const{eventData:{activities:o}}=e;let s=O.newActivity;if(o.length>0){const a=o[0].activityType,r=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=r!=null?Lo(r):O.dueTomorrow;break;case"task_overdue":s=O.overdue.replace("__date__",o[0].metadata.additionalInfo?.dueDate.format(Io.visual.MMMDFormat)??zt.empty);break;case"task_status_updated":s=O.statusUpdate;break}}return s},Mt=new _(3,2,1,1,1),At=new _(w[8],33,33,33,35),ce={lineClamp:Mt,sectionWidth:At},Ot="notification-tile",{common:{and:Ge,other:_o,others:zo,texts:Do,timeStrings:Mo,strings:A,tags:Ao}}=B.getLocalizedStrings(),Oo=({sectionId:e,notificationData:o,isHighlighted:s=!1,style:a,onNotificationTileClick:r})=>{const{status:l,notificationId:c,eventData:{entitiyId:d,activities:u},createTime:p}=o;return t.jsxs(Ho,{notificationStatus:l,isHighlighted:s,style:a,"data-testid":me(e,`${Ot}-${c}`),onClick:()=>{r(c,d,l,u.length>0?u[0].activityType:void 0)},children:[t.jsx(Po,{...o}),t.jsx(Go,{...o}),t.jsx(Uo,{...o}),t.jsx(Eo,{createTime:p,notificationStatus:l})]})},Pt=e=>{const{status:o,eventData:{title:s}}=e;return t.jsx(qo,{notificationStatus:o,children:s||A.hyphen})},Po=e=>{const o=v();return t.jsx(Jo,{windowSize:o,children:t.jsx(Pt,{...e})})},Bo=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(Xo,{children:[t.jsx(Ee,{backgroundColor:ze(s.oldValue.codeNamePair),children:s.oldValue.codeNamePair.name}),t.jsx(Zo,{}),t.jsx(Ee,{backgroundColor:ze(s.newValue.codeNamePair),children:s.newValue.codeNamePair.name})]})}return null},Fo=e=>{const{status:o,eventData:{authors:s,activities:a}}=e,r=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:[A.atTheRate,Do.zeniAI,A.space]});return r>0&&(r>2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[A.atTheRate,U(s[0],!1),A.space]}),Ge,t.jsxs(q,{className:"userText",notificationStatus:o,children:[A.space,r-1,A.space,zo,A.space]})]}):r===2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[A.atTheRate,U(s[0],!1),A.space]}),Ge,t.jsxs(q,{className:"userText",notificationStatus:o,children:[A.space,s.length===2?A.atTheRate+U(s[1],!1):_o,A.space]})]}):l=t.jsxs(q,{className:"userText",notificationStatus:o,children:[A.atTheRate,U(s[0],!1),A.space]})),l},Bt=e=>t.jsxs(t.Fragment,{children:[t.jsx(Fo,{...e}),Ro(e),t.jsx(Bo,{...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(Bt,{...e})})},Ft=e=>{const{createTime:o,notificationStatus:s}=e,a=kt(o.toDate());return t.jsxs(t.Fragment,{children:[t.jsx(Qo,{isNewNotification:a===Mo.justNow,children:a}),t.jsx(es,{notificationStatus:s})]})},Eo=e=>{const o=v();return t.jsx(Vo,{windowSize:o,children:t.jsx(Ft,{...e})})},Gt=e=>{const{eventData:{activities:o}}=e;return o[0].activityType==="task_overdue"?t.jsx(fi,{tagTitle:Ao.overdue,textColor:{color:new je(S.alert),backgroundColor:new je("transparent"),borderColor:new je(S.alert)},showLoader:!1}):t.jsx(Ko,{})},Uo=e=>{const o=v();return t.jsx(Yo,{windowSize:o,children:t.jsx(Gt,{...e})})},Ho=n.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?P`
|
|
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=n(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=n(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=n(ee)`
|
|
346
|
-
color: inherit;
|
|
347
|
-
|
|
348
|
-
${e=>e.statusUpdate?P`
|
|
349
|
-
display: flex;
|
|
350
|
-
flex-wrap: wrap;
|
|
351
|
-
gap: ${i.sp1};
|
|
352
|
-
`:P`
|
|
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=n(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=n(ge)`
|
|
368
|
-
color: ${e=>e.notificationStatus==="read"?e.theme.colors.grey1:S.brandColorJade};
|
|
369
|
-
`,qo=n(ge)`
|
|
370
|
-
color: inherit;
|
|
371
|
-
`,Qo=n(ht)`
|
|
372
|
-
flex-shrink: 0;
|
|
373
|
-
color: ${e=>e.isNewNotification?e.theme.colors.primary:"inherit"};
|
|
374
|
-
`,Xo=n.div`
|
|
375
|
-
display: flex;
|
|
376
|
-
align-items: center;
|
|
377
|
-
flex-direction: row;
|
|
378
|
-
gap: ${i.sp2};
|
|
379
|
-
flex-wrap: wrap;
|
|
380
|
-
`,Ee=n(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
|
-
`,Zo=n(gi)`
|
|
387
|
-
width: ${i.sp3};
|
|
388
|
-
height: ${i.sp3};
|
|
389
|
-
color: ${e=>e.theme.colors.hero};
|
|
390
|
-
`,Ko=n.div`
|
|
391
|
-
display: flex;
|
|
392
|
-
flex: 1 1 auto;
|
|
393
|
-
`,es=n.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 _(120,200,280,330,400),emptyLastRowItemSectionWidth:new _(w[6],50,60,w[11],120)},ts=()=>{const e=v();return t.jsxs(is,{windowSize:e,children:[t.jsx(ne,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:ae.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(ne,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:ae.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(ne,{windowSize:e,isLastItem:!0,children:t.jsx(z,{width:ae.emptyLastRowItemSectionWidth.value(e),height:18})}),t.jsx(ne,{windowSize:e,isLastItem:!0,children:t.jsx(z,{width:ae.emptyLastRowItemSectionWidth.value(e),height:18})})]})},is=n.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
|
-
`,ne=n.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%":At.valuePercentage(e.windowSize)};
|
|
431
|
-
`,os=()=>{const e=v();return t.jsxs(ss,{windowSize:e,children:[t.jsxs(Ue,{children:[t.jsx(z,{width:180,height:w[4]}),t.jsx(z,{width:60,height:18})]}),t.jsxs(Ue,{children:[t.jsx(z,{width:180,height:w[4]}),t.jsx(z,{width:60,height:18})]})]})},ss=n.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=n.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,{}),ns={marginLeft:new _(w[2],w[5],w[7])},rs=()=>t.jsxs(ls,{children:[t.jsx(Te,{numberOfRows:5}),t.jsx(Te,{numberOfRows:3})]}),Te=({numberOfRows:e})=>{const o=v();return t.jsxs(ds,{windowSize:o,children:[t.jsx(us,{children:t.jsx(z,{width:w[12],height:Ie.standardRegular.lineHeightValue})}),t.jsx(cs,{children:[...Array(e)].map(s=>t.jsx(as,{},ue()))})]})},ls=n.div`
|
|
466
|
-
display: block;
|
|
467
|
-
min-height: 100%;
|
|
468
|
-
flex-direction: column;
|
|
469
|
-
width: 100%;
|
|
470
|
-
`,ds=n.div`
|
|
471
|
-
display: flex;
|
|
472
|
-
flex-direction: column;
|
|
473
|
-
margin-bottom: ${i.sp5};
|
|
474
|
-
margin-left: ${e=>ns.marginLeft.valuePx(e.windowSize)};
|
|
475
|
-
`,cs=n.div`
|
|
476
|
-
display: flex;
|
|
477
|
-
flex-direction: column;
|
|
478
|
-
border-radius: ${i.sp2};
|
|
479
|
-
`,us=n.div`
|
|
480
|
-
display: flex;
|
|
481
|
-
padding: ${i.sp3} ${i.sp0};
|
|
482
|
-
`,hs=({sectionId:e,notificationData:o,isSelectionMode:s=!1,isHighlighted:a=!1,style:r,onNotificationTileClick:l,onNotificationTileLongPress:c})=>{const{status:d,createTime:u,eventData:{entitiyId:p,activities:f},notificationId:h}=o,x=g.useCallback(()=>{c?.()},[c]),m=g.useCallback(I=>{I.stopPropagation(),I.cancelable&&I.preventDefault(),s?c?.():l(h,p,d,f.length>0?f[0].activityType:void 0)},[h,p,d,f,s,c,l]),k=ft({onLongPress:x},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(xs,{notificationStatus:d,isHighlighted:a,style:r,"data-testid":me(e,`${Ot}-${h}`),...k,onClick:m,children:[t.jsxs(He,{children:[t.jsx(ps,{...o}),t.jsx(ms,{createTime:u,notificationStatus:d})]}),t.jsxs(He,{children:[t.jsx(fs,{...o}),f.length>0&&f[0].activityType==="task_status_updated"?null:t.jsx(gs,{...o})]})]})},ps=e=>t.jsx(Et,{statusUpdate:!1,children:t.jsx(Pt,{...e})}),fs=e=>{const{eventData:{activities:o}}=e;return t.jsx(Et,{statusUpdate:o.length>0&&o[0].activityType==="task_status_updated"&&o[0].metadata.updates.find(s=>s.field==="status")!=null,children:t.jsx(Bt,{...e})})},ms=e=>t.jsx(bs,{children:t.jsx(Ft,{...e})}),gs=e=>t.jsx(ws,{children:t.jsx(Gt,{...e})}),xs=n.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?P`
|
|
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=n(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=n(H)`
|
|
541
|
-
width: 25%;
|
|
542
|
-
display: flex;
|
|
543
|
-
align-items: center;
|
|
544
|
-
flex-shrink: 0;
|
|
545
|
-
justify-content: end;
|
|
546
|
-
`,He=n.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
|
-
`,Et=n(ee)`
|
|
554
|
-
color: inherit;
|
|
555
|
-
${e=>e.statusUpdate?P`
|
|
556
|
-
display: flex;
|
|
557
|
-
flex-wrap: wrap;
|
|
558
|
-
gap: ${i.sp2};
|
|
559
|
-
`:P`
|
|
560
|
-
display: -webkit-box;
|
|
561
|
-
-webkit-box-orient: horizontal;
|
|
562
|
-
gap: ${i.sp1};
|
|
563
|
-
`};
|
|
564
|
-
`,Ut=e=>v()==="small"?t.jsx(hs,{...e}):t.jsx(Oo,{...e}),{common:{all:Ve}}=B.getLocalizedStrings(),ys=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:r,onNotificationTileClick:l})=>{const c=K(),{getValues:d}=he(),u=d(o);return t.jsx($s,{style:a,children:t.jsx(pe,{mode:s,checkBoxes:[{label:t.jsx(js,{htmlFor:`${o}.${Ve.toLocaleLowerCase()}`,style:{color:c.colors.primary},children:xe(e)}),value:Ve.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((p,f)=>{const h=f===0,x=e.notifications.length-1===f;return{label:t.jsx(Ut,{sectionId:o,notificationData:p,style:{borderTopLeftRadius:h?i.sp2:void 0,borderTopRightRadius:h?i.sp2:void 0,borderBottomLeftRadius:x?i.sp2:void 0,borderBottomRightRadius:x?i.sp2:void 0},isHighlighted:u?.includes(p.notificationId)===!0,onNotificationTileClick:l}),value:p.notificationId,defaultChecked:!1,groupLabel:!1}})],name:o,isDisabled:r,style:{width:"100%"},checkBoxStyle:{padding:i.sp3},labelCheckBoxStyle:{padding:i.sp3}})})},$s=n.div`
|
|
565
|
-
display: flex;
|
|
566
|
-
align-items: center;
|
|
567
|
-
width: 100%;
|
|
568
|
-
`,js=n(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:Ye}}=B.getLocalizedStrings(),ks=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:r,onNotificationTileClick:l})=>{const c=K(),{getValues:d}=he(),u=d(o),p=g.useRef([]);return g.useEffect(()=>{p.current=p.current.slice(0,e.notifications.length)},[e.notifications.length]),t.jsx(Ss,{style:a,children:t.jsx(pe,{mode:s,checkBoxes:[{label:t.jsx(We,{htmlFor:`${o}.${Ye.toLocaleLowerCase()}`,style:{color:c.colors.primary,marginLeft:i.sp2},children:xe(e)}),value:Ye.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((f,h)=>{const x=h===0,m=e.notifications.length-1===h;return{label:t.jsx(We,{ref:k=>p.current[h]=k,htmlFor:`${o}.${f.notificationId}`,style:{padding:i.sp0},children:t.jsx(vs,{sectionId:o,notificationData:f,style:{borderTopLeftRadius:x?i.sp2:void 0,borderTopRightRadius:x?i.sp2:void 0,borderBottomLeftRadius:m?i.sp2:void 0,borderBottomRightRadius:m?i.sp2:void 0,marginLeft:i.sp2},isHighlighted:u?.includes(f.notificationId)===!0,isSelectionMode:s==="always_on",onNotificationTileClick:l,onNotificationTileLongPress:()=>{p.current[h]?.click()}})}),value:f.notificationId,defaultChecked:!1,groupLabel:!1}})],name:o,isDisabled:r,style:{width:"100%",position:"relative"},checkBoxStyle:{padding:i.sp1,zIndex:2,left:`-${i.sp1}`,position:"absolute"},checkBoxIconStyle:{backgroundColor:c.colors.grey5}})})},Ss=n.div`
|
|
574
|
-
display: flex;
|
|
575
|
-
align-items: center;
|
|
576
|
-
width: 100%;
|
|
577
|
-
`,We=n(fe)`
|
|
578
|
-
display: flex;
|
|
579
|
-
align-items: flex-start;
|
|
580
|
-
width: 100%;
|
|
581
|
-
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
582
|
-
`,vs=n(Ut)``,Cs=e=>v()==="small"?t.jsx(ks,{...e}):t.jsx(ys,{...e}),{commentsAndNotifications:{notifications:{message:Ts}}}=B.getLocalizedStrings(),Je={rowGap:new _(w[0],w[5],w[5])},Ns=({notificationGroups:e,isFetching:o,hasMore:s,sectionId:a,checkBoxMode:r,scrollYOffset:l,currentSubTab:c,isDisabled:d,onUpdateScrollYOffset:u,onFetchNotificationGroups:p,onNotificationClick:f})=>{const h=v(),x=g.useRef(null),m=g.useRef({});g.useEffect(()=>{x.current?.resetAfterIndex(0,!0)},[h,x,e]),g.useEffect(()=>{x.current?.scrollTo(l)},[c]);const k=g.useCallback(R=>{if(m.current?.[R]!=null){const C=h==="small"&&s===!1&&R===e.length-1?Je.rowGap.value("medium-regular"):Je.rowGap.value(h);return m.current[R]+C}return(mt*Mt.value(h)+gt)*3+xt+bt},[h,m,e]),I=g.useCallback((R,C)=>{m.current={...m.current,[R]:C},x.current?.resetAfterIndex(0,!0)},[h,x,e]),D=g.useCallback(()=>{p()},[p]),L=g.useCallback(()=>{},[]),b=it(R=>u(R),1e3,{trailing:!0}),N=R=>!s||R<e.length,j=g.useCallback(()=>s&&!o?D():L(),[s,o,D,L]),V=s?e.length+1:e.length;return t.jsx(Ls,{children:t.jsx(Rs,{windowSize:h,children:o&&e.length===0?t.jsx(rs,{}):o===!1&&e.length===0?t.jsx(ot,{message:Ts.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(_s,{windowSize:h,children:t.jsx(st,{children:({height:R,width:C})=>t.jsx(at,{isItemLoaded:N,itemCount:wt,loadMoreItems:j,children:({onItemsRendered:G,ref:Y})=>t.jsx(nt,{ref:E=>{Y(E),x.current=E},height:R,itemCount:V,itemData:{notificationGroups:e,sectionId:a,checkBoxMode:r,isDisabled:d,isItemLoaded:N,setRowHeight:I,onNotificationClick:f},onItemsRendered:G,itemSize:k,width:C,style:{willChange:"auto"},overscanCount:yt,onScroll:({scrollOffset:E})=>{b(E)},initialScrollOffset:l,children:Is})})})})})})},Is=({index:e,style:o,data:s})=>{const{notificationGroups:a,sectionId:r,checkBoxMode:l,isItemLoaded:c,isDisabled:d,setRowHeight:u,onNotificationClick:p}=s,f=g.useRef(null),h=v();if(g.useEffect(()=>{f.current?.firstElementChild!=null&&u(e,f.current.firstElementChild.clientHeight)},[e,f,h,a[e]?.notifications]),c(e)===!0){const x=a[e],m=le(x);return t.jsx(qe,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:f,children:t.jsx(Cs,{notificationGroup:x,sectionId:`${r}.${m}`,checkBoxMode:l,isDisabled:d,onNotificationTileClick:p})},m)}return t.jsx(qe,{ref:f,style:{...o,paddingBottom:i.sp0},children:t.jsx(Te,{numberOfRows:3})},ue())},Ls=n.div`
|
|
583
|
-
display: block;
|
|
584
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
585
|
-
height: 100%;
|
|
586
|
-
width: 100%;
|
|
587
|
-
`,Rs=n.div`
|
|
588
|
-
height: 100%;
|
|
589
|
-
width: 100%;
|
|
590
|
-
`,_s=n.div`
|
|
591
|
-
height: 100%;
|
|
592
|
-
display: flex;
|
|
593
|
-
flex-direction: column;
|
|
594
|
-
max-width: 99.9%;
|
|
595
|
-
`,qe=n.div`
|
|
596
|
-
top: ${i.sp0};
|
|
597
|
-
left: ${i.sp0};
|
|
598
|
-
box-sizing: border-box;
|
|
599
|
-
`,{common:{all:Ne,texts:re,footer:zs,strings:{plus:Ds},numbers:{maximumCount:Qe}},commentsAndNotifications:{notifications:{title:Ms,texts:Ht,strings:Xe}}}=B.getLocalizedStrings(),ie={tableContainerLeftPadding:new _(w[2],w[2],w[2]),tableContainerRightPadding:new _(w[3],w[6],w[8]),tabsContainerLeftRightPadding:new _(w[3],w[6],w[8]),selectedNotificationsTextMarginLeft:new _(w[0],w[6],w[6])},As={selectedNotificationsText:new ci("smallRegular","standardRegular")},Ze="notificationsPage",Q="commentsNotificationsTable",X="notificationsTable",Vt=20,fa=({notificationView:e,users:o,isNotificationSettingsVisible:s,isDisabled:a,onNotificationClick:r,onCommentNotificationClick:l,onUpdateNotificationViewUIState:c,onUpdateNotificationTabState:d,onUpdateNotificationViewCurrentTabAndSubTab:u,onUpdateNotificationViewSubTab:p,onFetchMoreNotifications:f,onUpdateNotificationStatus:h,onSettingsClick:x,onBackClick:m,onMarkAllNotificationsAsRead:k})=>{const I=K(),D=v(),L=Kt({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>tt(e),[e]),values:g.useMemo(()=>tt(e),[e])}),{currentTab:b,currentSubTab:N,notificationDetailsByTab:j,allSubTabs:V,allNotifications:R,allExternalNotifications:C,notificationsForCurrentTabAndSubTab:G,externalNotificationsForCurrentTabAndSubTab:Y}=e,E=g.useMemo(()=>Object.keys(j).map(y=>({label:re[y],id:re[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"?Ne:re[y],id:y})),[V]),Yt=g.useMemo(()=>St(Y).filter(y=>y.notifications.length>0),[Y]),Wt=g.useMemo(()=>Dt(G).filter(y=>y.notifications.length>0),[G]),Jt=async(y,T)=>{const F=y.split(".")[0],J=[];F!=null&&(F===Q||F===X)&&(Object.values(T[F]).forEach(M=>{J.push(...M.filter(Zt=>Zt.includes(Ne.toLowerCase())===!1))}),d({selectedNotificationIds:J},b))};g.useEffect(()=>{const y=L.watch((T,{name:F})=>{F!=null&&T!=null&&ei(()=>Jt(F,T))});return()=>{y.unsubscribe()}});const be=g.useCallback(()=>{const y=[],T=j[b].selectedNotificationIdsForSubTab,F="read";if(b==="comments"){const J=C.filter(M=>M.inboxNotification.readAt==null).map(M=>M.inboxNotification.id);T.forEach(M=>{J.includes(M)&&y.push(M)})}else{const J=R.filter(M=>M.status!==F).map(M=>M.notificationId);T.forEach(M=>{J.includes(M)&&y.push(M)})}return y},[C,R,b,j]),qt=be().length>Vt?"disabled":a,we=L.watch(Q),ye=L.watch(X),Re=g.useCallback(()=>{f(b,N)},[f,b,N]),Qt=g.useCallback(()=>{if(b==="comments"){const y={};Object.keys(we).forEach(T=>{y[T]=[]}),L.reset({[Q]:y,[X]:ye},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}else{const y={};Object.keys(ye).forEach(T=>{y[T]=[]}),L.reset({[X]:y,[Q]:we},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}d({selectedNotificationIds:[]},b)},[ye,we]),Xt=g.useCallback(()=>{const y=j[b].selectedNotificationIdsForSubTab,T="read",F=be();h(b,y,T,F)},[b,j,be,h]);return t.jsxs(Ps,{children:[t.jsx(ti,{source:"NotificationsPage",title:Ms.notifications,backgroundColor:I.colors.grey4,onBackClick:m,rightSideComponent:s===!0?t.jsx(Ks,{onClick:x}):t.jsx(Zs,{})}),t.jsx(Gs,{}),t.jsx(Fs,{windowSize:D,children:t.jsx(yi,{tabs:E,selectedTab:b,onTabChange:y=>{const T=bi(y);T!=null&&u(T)},subTabs:W,selectedSubTab:N,onSubTabChange:y=>{const T=xi(y);T!=null&&p(T)},subTabRightComponent:t.jsx(Os,{notificationCount:j[b].uiState.unreadCount,markAsAllReadUpdateState:j[b].markAsAllReadState.fetchState,markAsReadUpdateState:j[b].markAsReadState.fetchState,onMarkAsAllReadClick:()=>{k(b)}})})}),t.jsx(Bs,{windowSize:D,children:t.jsx(ii,{...L,children:t.jsx("form",{id:et(Ze),onSubmit:L.handleSubmit(Xt),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[N],currentSubTab:N,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Yt,sectionId:Q,onFetchNotificationGroups:Re,onUpdateScrollYOffset:y=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[N]:y}},b),onNotificationClick:l}):t.jsx(Ns,{hasMore:j[b].uiState.hasMore,isFetching:j[b].fetchState==="In-Progress",scrollYOffset:j[b].uiState.scrollYOffset[N],currentSubTab:N,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Wt,sectionId:X,onFetchNotificationGroups:Re,onUpdateScrollYOffset:y=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[N]:y}},b),onNotificationClick:r})})})}),j[b].selectedNotificationIdsForSubTab.length?t.jsx(oi,{formId:et(Ze),primaryBtn:{label:Ht.markAsRead,isLoading:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},isDisabled:qt!=null},cancelBtn:{label:zs.cancel,isDisabled:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},onClick:Qt},helperContainerStyle:D==="small"?{width:"100%"}:{rowGap:i.sp0},footerContentStyle:{gap:i.sp2},leftSideComponent:t.jsx($e,{controller:D!=="small",children:t.jsx(Ke,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),topComponent:t.jsx($e,{controller:D==="small",children:t.jsx(Ke,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),rightSideComponent:t.jsx($e,{controller:D!=="small",children:t.jsx(Hs,{})})}):null]})},Os=({markAsAllReadUpdateState:e,markAsReadUpdateState:o,notificationCount:s,onMarkAsAllReadClick:a})=>{const r=s===0,l=g.useCallback(()=>{e!=="In-Progress"&&o!=="In-Progress"&&!r&&a()},[e,o,r,a]);return t.jsx(Es,{variant:"tertiary",size:"small",label:Ht.markAllAsRead,onClick:l,prefixIcon:e==="In-Progress"?t.jsx(ni,{size:"Small",start:!0}):t.jsx(Us,{className:"mark-as-read"}),disabled:r,textStyle:{fontWeight:Ie.smallRegular.fontWeight},style:{borderRadius:i.sp1,border:"none",backgroundColor:"transparent",flexShrink:0,padding:i.sp0,cursor:o==="In-Progress"||e==="In-Progress"||r?"default":"pointer"}})},Ke=({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(Xs,{windowSize:o,children:[t.jsx(qs,{children:e>1?Xe.notificationsSelected:Xe.notificationSelected}),e>Vt?t.jsx(Qs,{children:re.maxLimit}):null]})]})},Ps=n.div`
|
|
600
|
-
display: flex;
|
|
601
|
-
height: 100vh;
|
|
602
|
-
width: 100%;
|
|
603
|
-
flex-direction: column;
|
|
604
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
605
|
-
`,Bs=n.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
|
-
`,Fs=n.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=n.div`
|
|
619
|
-
min-height: ${i.sp3};
|
|
620
|
-
width: 100%;
|
|
621
|
-
`,Es=n(ri)`
|
|
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
|
-
`,Us=n(li)`
|
|
631
|
-
width: ${i.sp3};
|
|
632
|
-
height: ${i.sp3};
|
|
633
|
-
`,Hs=n.div``,Vs=n.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=n.div`
|
|
640
|
-
${e=>e.isCircular?P`
|
|
641
|
-
height: ${i.sp3};
|
|
642
|
-
width: ${i.sp3};
|
|
643
|
-
padding: ${i.sp0};
|
|
644
|
-
`:P`
|
|
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=n.div`
|
|
652
|
-
border: 1px solid ${e=>e.theme.colors.grey1};
|
|
653
|
-
border-radius: ${i.sp12};
|
|
654
|
-
padding: 2px;
|
|
655
|
-
`,Js=n(di)`
|
|
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=n(lt)`
|
|
663
|
-
display: flex;
|
|
664
|
-
`,Qs=n(ui)`
|
|
665
|
-
display: flex;
|
|
666
|
-
color: ${S.important};
|
|
667
|
-
margin-left: ${i.sp1};
|
|
668
|
-
`,Xs=n(lt)`
|
|
669
|
-
${e=>`${As.selectedNotificationsText.style(e.windowSize)}`};
|
|
670
|
-
color: ${e=>e.theme.colors.primary};
|
|
671
|
-
display: flex;
|
|
672
|
-
align-items: center;
|
|
673
|
-
flex-wrap: wrap;
|
|
674
|
-
`,Zs=n.div`
|
|
675
|
-
width: ${i.sp4};
|
|
676
|
-
height: ${i.sp4};
|
|
677
|
-
`,Ks=n(si)`
|
|
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
|
-
`,et=e=>`${e}_form`,tt=e=>{const{allNotifications:o,allExternalNotifications:s,notificationDetailsByTab:{tasks:{selectedNotificationIds:a},comments:{selectedNotificationIds:r}}}=e,l={};Dt(o).filter(d=>d.notifications.length>0).forEach(d=>{const u=d.notifications.map(p=>p.notificationId);l[le(d)]=a.filter(p=>u.includes(p))});const c={};return St(s).filter(d=>d.notifications.length>0).forEach(d=>{const u=d.notifications.map(p=>p.inboxNotification.id);c[le(d)]=r.filter(p=>u.includes(p))}),{[Q]:c,[X]:l}},ma=(e,o)=>{const s=[];return Object.values(e).forEach(a=>{a.forEach(r=>{r.includes(Ne.toLocaleLowerCase())===!1&&o.includes(r)&&s.push(r)})}),s};export{fa as default,ma as getSelectedNotificationIds,et as uniqueFormName};
|