@zeniai/web-cockpit-ui 1.15.23-qa → 1.15.24-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-BOZmOJHO-cEby8czd.js → ACHDetailsPage-DsLMYxB2-DiWdTxEX.js} +3 -3
- package/dist/assets/{AIPerformancePage-ZVCJizP9-Dtv35PtV.js → AIPerformancePage-Do1Jme84-DdOnxVtL.js} +45 -45
- package/dist/assets/AccountInfoPage-DBm3kSeD-C0VOOR62.js +18 -0
- package/dist/assets/{AccountInfoPageContent-D0wuuzMd-B0xWHsG5.js → AccountInfoPageContent-DLxvkpvG-BfQIWLZb.js} +23 -23
- package/dist/assets/AccountLockedInfoModal-Dbzdjjk6-DxFx-N4r.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-DbHX6rPG-DT6lFlWy.js → AccountReconDetailsDrawerPage-BMhGA2Nw-3sJH1EqF.js} +11 -11
- package/dist/assets/{AccountRow-Bk_25FCy-C16qMB4Z.js → AccountRow-D5S7-AKx-CMAenaIW.js} +28 -28
- package/dist/assets/{AccountsPromoCardStack-DAXRwY1f-BZwImYDU.js → AccountsPromoCardStack-Cq1lsoaV-ClvHGp3M.js} +27 -27
- package/dist/assets/AddAddressForCardDrawer-Cfd3TMpf-DJjbOnkw.js +6 -0
- package/dist/assets/{AddToWalletPage-CzziHgi7-BcDoFidX.js → AddToWalletPage-CEhxUk5V-D1aSu8HU.js} +32 -32
- package/dist/assets/{AgingReportsPage-Bdi3krKK-D_TiZ-tF.js → AgingReportsPage-CYrw-ffE-CLFSHLPA.js} +5 -5
- package/dist/assets/{AllUserItems-XWDuiug6-BAkUBjEM.js → AllUserItems-CUPJzOon-ClzFTm8l.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-CaM_AzrU-BfYzOpHB.js → ApAgingDetailPage-BHfoAgPL-9OKwbRzK.js} +3 -3
- package/dist/assets/AppBasePage-BhcC9bkH-DtCArmcZ.js +71 -0
- package/dist/assets/{AppDrawerContent-DSX1364T-D_rsKUJJ.js → AppDrawerContent-CxmXgxbq-C_5ysSm0.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-DrjPOeyp-CdYnJ9vy.js → ApprovalRulesSettingsPage-gu0Fjo8W-B6qPc807.js} +2 -2
- package/dist/assets/{ArAgingChart-M7KUNA4G-BBhQnHg6.js → ArAgingChart-CxGoJ-eL-BTrpq4ll.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-7lby5mXn-Cn-mYvQ2.js → ArAgingDetailPage-CNKe5FGf-DnsMVnO9.js} +4 -4
- package/dist/assets/{AttachmentView-Bsa0u92o-CjvOotrN.js → AttachmentView-BNb1kv2i-A0kL4eNc.js} +6 -6
- package/dist/assets/{BankAccountSection-BkOlwayA-BPcMBUXX.js → BankAccountSection-nxf2HgVE-CszdswjK.js} +7 -7
- package/dist/assets/BankAccountWarningSection-b7VJzhDr-C9lI5R8O.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-C_YytTke-BzB9VzDB.js → BankConnectionsSettingsPage-Dj5RPseY-BsNJb4MV.js} +26 -26
- package/dist/assets/{BillDetailPage-DvU5_Rsp-DU8CrmLb.js → BillDetailPage-B8vxUUjs-wCDXpcbd.js} +8 -8
- package/dist/assets/BillPayApprovalRuleDetailPage-RxCSuM7j-Cm0UAXUf.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-CA9eufjt-Dn60Oc6F.js → BillPayApprovalRulesPage-qB8FSNxF-CXWPxuvt.js} +16 -16
- package/dist/assets/{BillPayPromoPage-DsXPWKAf-DohS7qp6.js → BillPayPromoPage-C-MLRBwj-rVTQLPGI.js} +11 -11
- package/dist/assets/{BillPaySetUpPage-CeMhzZ_3-vvoPdyI4.js → BillPaySetUpPage-DUcVwFf0-BSesdKGQ.js} +4 -4
- package/dist/assets/BillingSettingsPage-Br6yvoDv-TW6U52nf.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-WrR46NRa-BoZt797E.js → BillsBulkReviewDrawerPage-Cm2iOzT8-r_BIf6ms.js} +1 -1
- package/dist/assets/{BoxItem-C0M4PSXY-CL2s8rtu.js → BoxItem-BIGbJrpV-DWBd9dMt.js} +1 -1
- package/dist/assets/BusinessVerificationPage-orZNuqPA-7wUdhrYB.js +138 -0
- package/dist/assets/{CardNumberSubText-B4dAoYDE-CA1yVbnM.js → CardNumberSubText-lCdVj97_-CYJ5QkWc.js} +1 -1
- package/dist/assets/{CashbackDetailPage-B6xvn-y3-CWbA3umh.js → CashbackDetailPage-DyqE-V7x-CRCR9nS0.js} +27 -27
- package/dist/assets/{ChargeCardDetailPage-eJJ4MEE6-Dqa1hLcL.js → ChargeCardDetailPage-0a7KVsQ4-hN8gCQtG.js} +40 -40
- package/dist/assets/{ChargeCardListPage-BYI2HIjA-BxgrU4Bo.js → ChargeCardListPage-DZgzRmUt-Do_X95aE.js} +16 -16
- package/dist/assets/{ChargeCardListTable-DAVYmKCK-DhPjSkf0.js → ChargeCardListTable-CrPIqCYY-D8irt-gE.js} +51 -51
- package/dist/assets/{ChargeCardPaymentHistoryPage-BX5HtOxd-By7opFFe.js → ChargeCardPaymentHistoryPage-BenEXh0n-DNZruLon.js} +27 -27
- package/dist/assets/ChargeCardPromoPage-Dv8vSGMv-DpjOjqBE.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-DG1eKhYR-C5J1ZUCx.js → ChargeCardSetupPage-BQdagLKY-25EtnZAG.js} +6 -6
- package/dist/assets/ChargeCardStatementsPage-1ntqN8-C-D2mSHxbe.js +60 -0
- package/dist/assets/{CheckDepositDrawerPage-BdacGDpy-_E8iHDvd.js → CheckDepositDrawerPage-Bbe3YMhk-CO2Q4-ZB.js} +23 -23
- package/dist/assets/{CollapsableReportTable-UADp1m_8-mWjI_leU.js → CollapsableReportTable-Bjp9ufA3-Dgphs2fm.js} +84 -84
- package/dist/assets/CompanyOfficerDetailsSection-DQYR5DxB-DWkkLcmn.js +260 -0
- package/dist/assets/{CompanyPassportCard-BJN2GEVm-1-ckXmYg.js → CompanyPassportCard-B9yLuYoV-D8pOY5Pg.js} +6 -6
- package/dist/assets/CompanyPassportPage-DrNN8V93-BS2z_ZGy.js +574 -0
- package/dist/assets/{CompleteProfile-C8X8Z3C2-B5zH0Tmw.js → CompleteProfile-DlDJUF9s-CdsViPGP.js} +1 -1
- package/dist/assets/ConfettiBurst-arWK85ba-Nctx98GV.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-BxZ8LuDZ.js → ConstrainedInnerElement-BeIpAPjB-CUj8qilg.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-y-COpdhs-mKDFSPdj.js → CreateOrEditVendorPage-C0zQBkip-U8NfTx7v.js} +13 -13
- package/dist/assets/{CreditCardPaymentDrawerPage-CntYJJ8v-CCrwQ0wx.js → CreditCardPaymentDrawerPage-BonuuJrp-5J05qwGb.js} +14 -14
- package/dist/assets/{CurrencySelectField-Dn-hE2az-Bzyg81M-.js → CurrencySelectField-CcwMU19m-DhJ7GYyu.js} +3 -3
- package/dist/assets/{CustomerOnboardingActivationPage-B9MZHJVc-BGGiyire.js → CustomerOnboardingActivationPage-CnLIuUI_-CZ-HlIwz.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-_uAzzeQT-CG5sXasi.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BCe8BvQF-BNh6nQQn.js → CustomerOnboardingDetailPageSkeleton-DFnaf7ny-CPvnX2LA.js} +14 -14
- package/dist/assets/CustomerOnboardingNoStepsPage-Dabc1DIn-BjBCiSR-.js +66 -0
- package/dist/assets/CustomerOnboardingPage-Dt4u_Cnq-BSCcv5Lh.js +107 -0
- package/dist/assets/CustomerOnboardingProductSuitePage-DrUE-f0H-oFUJaNSz.js +202 -0
- package/dist/assets/{Dashboard-CCV0_aCP-CQUZUy1N.js → Dashboard-Cgrcdi17-CUBT5krQ.js} +497 -478
- package/dist/assets/{DashboardReportPage-CmoH9Vrc-YRVh1xv0.js → DashboardReportPage-DbhRTdc4-CQqal3HB.js} +17 -17
- package/dist/assets/{DashboardSidebarBackgroundAnimation-hw3einS7-RBFGGSlR.js → DashboardSidebarBackgroundAnimation-C8g6lMFj-B53Xk9C1.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DgdkYGjP-CjXxm0tW.js → DepositAccTransactionItem-D1o4IBkT-CKPRK6dd.js} +8 -8
- package/dist/assets/{DepositAccTransactionListPage-CF0WJn9M-BU4eJyrh.js → DepositAccTransactionListPage-xxNjjtT--2BN6hfkm.js} +6 -6
- package/dist/assets/{DomesticWireDetailsPage-B12tNa6e-CNX84UV9.js → DomesticWireDetailsPage-CwJaUAl--Cj9x82UD.js} +1 -1
- package/dist/assets/{DownloadOverlay-Dt9yt4Fz-CIXLzBI9.js → DownloadOverlay-DQhWlo3j-Bh86wxNB.js} +18 -18
- package/dist/assets/{DrawerPage-Clki97FA-zwV1ORRL.js → DrawerPage-Cy3cU-ts-D2TKFfD6.js} +18 -18
- package/dist/assets/EditPeoplePage-XMLOGiwc-fvqHi7F-.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-CXy2ZWfZ-Ck_YPJ4k.js → EditReimbursementDetailPage-CPtNF3lE-CQCoSlzQ.js} +70 -70
- package/dist/assets/EntityDetailPage-CtIcsfb_-JOBkNq01.js +18 -0
- package/dist/assets/{EntitySummarySection-D_YLsP_P-BoWXtkG5.js → EntitySummarySection-DKVe_auH-CeBDnO_D.js} +11 -11
- package/dist/assets/{ExpenseAutomationOverviewPage-4z3yzHEA-nTE-jWCA.js → ExpenseAutomationOverviewPage-BerWhvvC-CSjoH80E.js} +16 -16
- package/dist/assets/{ExpenseAutomationPage-BJ4H_c2z-BvYmjMqO.js → ExpenseAutomationPage-ZFDuZKVx-B83nArlS.js} +133 -133
- package/dist/assets/{ExpressPayPage-CTBD4y1v-DvSbDu0h.js → ExpressPayPage-DWGFzFY1-Cbs-ZH6I.js} +19 -19
- package/dist/assets/{FeaturePreviewPage-CYuTQWpP-DOlo4xRY.js → FeaturePreviewPage-CTROYslk-B5_k_VjC.js} +3 -3
- package/dist/assets/{FollowStepsSection-BrpI2HyW-XxzZFZcC.js → FollowStepsSection-Cdw8tftg-CoRfWAMh.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-BcvxLqIL-BHB3eUmM.js → GlobalReviewListPage-FIiMWDt4-C-FGlEih.js} +47 -47
- package/dist/assets/{InformationCardStack-CU4Moqky-BIHm0VQL.js → InformationCardStack-DRM_CrnR-CyxIUlsK.js} +5 -5
- package/dist/assets/{InsightsCardStack-D8UQiuXZ-DZQxCUN_.js → InsightsCardStack-B6KSNBOO-BsTECKaL.js} +10 -10
- package/dist/assets/{InsightsSection-C3X6ZNEt-DJG_Zmq4.js → InsightsSection-CwYXRQBN-CI3Avgr4.js} +6 -6
- package/dist/assets/{IntegrationsSettingsPage-CsLv00HW-BCygOGPq.js → IntegrationsSettingsPage-VPy6IQco-D5f0_wQb.js} +12 -12
- package/dist/assets/{InternationalWireSwiftDetailsPage-DgrN5Xg7-ClZ3XWsC.js → InternationalWireSwiftDetailsPage-CbztUTOk-DKKJSiFP.js} +19 -19
- package/dist/assets/InternationalWireVerificationPage-YuglosZT-hHWwb4SL.js +292 -0
- package/dist/assets/{InviteFormPage-B3KmRWXd-DulIQZ_M.js → InviteFormPage-BBHD1wv7-BsXiZ5Av.js} +38 -38
- package/dist/assets/{InvitePageListView-DfpJBZru-BHFIBF2O.js → InvitePageListView-Gpf4q2HF-Cgrh3Brc.js} +33 -33
- package/dist/assets/InvitePeoplePage-C0n05Aw5-BiEQhiP1.js +12 -0
- package/dist/assets/InvoiceUploadSection-UXlA1jqD-DKu4SBzN.js +140 -0
- package/dist/assets/{IssueChargeCardPage-mPsxt52d-D6CBoByV.js → IssueChargeCardPage-CiL8yWbI-TIPP0zPK.js} +17 -17
- package/dist/assets/{LabeledAddressValue-C4fnQSyi-qLRstEHA.js → LabeledAddressValue-DGEHzZ-x-CpMYU-xP.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-D6dEaI69-B-8SJ_Vf.js → LabeledAddressValueField-ClBxKhYQ-BPwdblj0.js} +2 -2
- package/dist/assets/{LabeledControlledCheckBoxField-B1QdZmvd-YPRDAbf-.js → LabeledControlledCheckBoxField-B8sC2eqF--fXqIBCr.js} +3 -3
- package/dist/assets/{LabeledCreatableSingleSelectField-BPX2Nrlf-P1p4rR_W.js → LabeledCreatableSingleSelectField-BzOLZcSy-pPeiMm4m.js} +17 -21
- package/dist/assets/LabeledDocumentField-D520KMMj-BWBkZsyZ.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-A-rgip1E-DwXmP_dw.js → LabeledDropDownFormattedTextField-BwoAMxs1-UIy7_mYn.js} +8 -8
- package/dist/assets/{LabeledText-38fqkkE--CWSGVUzZ.js → LabeledText-CYRn3LhA-DMSyV-Kr.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BbF25dUP-n-b2igUs.js → LabeledUserSingleSelectWithSubtitlesField-BzsLAAeQ-B2HtQzCh.js} +15 -15
- package/dist/assets/{LabeledZeniRolesDropDownField-Dg9_Ww-A-DIXzLshF.js → LabeledZeniRolesDropDownField-UiY4N_NF-DAzbxXzi.js} +28 -28
- package/dist/assets/{LinkJETransactionPage-66mQ4nrK-BzSVrJXZ.js → LinkJETransactionPage-PvLzGCy_-BrMsOKhb.js} +10 -10
- package/dist/assets/{LockCardPage-BCqN4K17-CeCQzjIU.js → LockCardPage-Cv1mXAE9-9__dgVHz.js} +58 -58
- package/dist/assets/{LowBalancePopup-BPk1-eAb-B6NttzQA.js → LowBalancePopup-go-1GM2R-DD-JSJCf.js} +5 -5
- package/dist/assets/MagicLinkACHDetailsPage-C7hjYeuM-BHqLoDUK.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv6pT3w6-pHplq2If.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CfMDImmz-BFiTy8N6.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-D9Xys0GC-BWFMi_8X.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-77rxhjLm-CJlwIBEZ.js → MagicLinkTitleSection-CPs72o7_-B260haOm.js} +4 -4
- package/dist/assets/MailingDetailsSection-wmwBSANL-jxA64fnZ.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-z0tHaSl1-C2cR_W8d.js → MyBankConnectionsSettingsPage-Xo-zsUV_-Cbo1qVHj.js} +11 -11
- package/dist/assets/{MyPendingActivationChargeCardListPage-CwGYwufd-8VTw2t9E.js → MyPendingActivationChargeCardListPage-pMnrYxHt-D7bLZ8M3.js} +1 -1
- package/dist/assets/MyProfileSettingsPage-BKCzLBD9-DJbKBDYL.js +85 -0
- package/dist/assets/NavBarWithPicker-DFywcKz8-CSP4toa_.js +30 -0
- package/dist/assets/{NavigationArrow-NuJEpE7O-B5Q_1LoQ.js → NavigationArrow-BiYMk3Wz-DV9laMt6.js} +7 -7
- package/dist/assets/{NavigationDots-C7Na64B9-DsPnGRfr.js → NavigationDots-CCLpxuwG-stH2nUIP.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-Cus6zYV_-B6Ar9J14.js → NewGlobalMerchantPage-C48VzTEf-Rej0eQZY.js} +7 -7
- package/dist/assets/NoDataChart-sGr0o2BN-Bsuwo3YM.js +26 -0
- package/dist/assets/NoDataTable-0l_09Wxn-YZLcmEEn.js +8 -0
- package/dist/assets/{NotFoundPage-RjXioqc8-DhhNAhxs.js → NotFoundPage-DFw9HBCT-CpQg4_TB.js} +6 -6
- package/dist/assets/{NotificationSettingsPage-DrDW_LU_-CS2oaUQv.js → NotificationSettingsPage-D1rRNeRj-BoZjctkd.js} +33 -33
- package/dist/assets/{NotificationsListConfig-C6_ap0JT-ByTHHJzO.js → NotificationsListConfig-LrfChZUx-DIWHkHKZ.js} +1 -1
- package/dist/assets/{NotificationsPage-DOM-Gf5P-B5QjEdl2.js → NotificationsPage-Cx4eb-l6-Tv8h6IrX.js} +35 -35
- package/dist/assets/{OpExByVendorPage-CTuBB827-bAvCbmPr.js → OpExByVendorPage-LpdEEb1U-C_zXpayd.js} +20 -20
- package/dist/assets/OverlayContainerPage-D4QU0p4o-DVuvwnps.js +11 -0
- package/dist/assets/{PandLWithForecastPage-BXaENYdR-CIp55YUH.js → PandLWithForecastPage-DwaVCK2R-B3ldDrVm.js} +7 -7
- package/dist/assets/PaymentAccountSetupBillingAddressSection-CBVazVlJ-Cj6aYWOl.js +107 -0
- package/dist/assets/{PeoplePage-BlyVVthI-B-EV5gcz.js → PeoplePage-z8ZDLJp4-CzfsOL8l.js} +31 -31
- package/dist/assets/{Preview-DuIVCswF.js → Preview-CYHE6ojy.js} +1 -1
- package/dist/assets/{ProductsCarousel-CAcPH--E-rNhNCUol.js → ProductsCarousel-Dp5Of83--DVU-QMP8.js} +6 -6
- package/dist/assets/{PromoBaseCards-BVwZMVeE-sKF0t-Cs.js → PromoBaseCards-Bpmi7do2-BJmFgVqa.js} +14 -14
- package/dist/assets/{QBOConnectionDialog-C3OYyhYO-R6UU_AEU.js → QBOConnectionDialog-BCOigpzW-42XztANC.js} +6 -6
- package/dist/assets/QBOSetupSection-Blf2QxYu-XsjB6fpI.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-D4G5Zc8u-xW6pbKuW.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-Cx0gs7sS-C6EpKLmO.js → ReimbursementApprovalRulesPage-Cq3lTD4B-tMr-F7DV.js} +5 -5
- package/dist/assets/{ReimbursementDetailPage-Cs_rmkS8-B_IsEOAd.js → ReimbursementDetailPage-CxP7ZEyW-B6qTtbOy.js} +18 -18
- package/dist/assets/{ReimbursementPromoPage-CCFl0kQK-4i08L5Az.js → ReimbursementPromoPage-tSycJK9l-Ckl5RC8p.js} +13 -13
- package/dist/assets/{ReimbursementSetUpPage-lf3xTVFh-DUT9d0Mn.js → ReimbursementSetUpPage-iGjNkC8E-CCqGUnkA.js} +11 -11
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-HrLSNRHq-MRocYFws.js +1 -0
- package/dist/assets/{ReloadCard-V_tv6YLR-DqFWQtu8.js → ReloadCard-CuRTghCv-1vd5kIoI.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-CWEvGn8L-BJ8v1swV.js → ReportTableViewSelector-C2oaqgZL-DxS4YP70.js} +29 -29
- package/dist/assets/{ReportsPage-BJOH1wgv-BsrwNJ-k.js → ReportsPage-D5DDZHox-DJ4p-I_l.js} +5 -5
- package/dist/assets/{RevenueChart-C_tSBw_N-mvbUBlrr.js → RevenueChart-Na7paK3w-C9jLX88S.js} +15 -15
- package/dist/assets/{ReviewDetailsPage-CScPf4w3-Ctziy86b.js → ReviewDetailsPage-BFj3ZJyp-DV2ASgwc.js} +30 -30
- package/dist/assets/{ReviewOverlay-BQVwPzKa-4F5TS8uf.js → ReviewOverlay-Cz8LqkKC-CAVeDnHw.js} +25 -25
- package/dist/assets/RoleWithToolTip-CSC65531-LXNMc-YZ.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cgqgn7nk-BjZWT_sw.js → ScheduleDetailsFixedAssetsPage-UVIM7eda-BD3KjhgE.js} +8 -8
- package/dist/assets/ScheduleDetailsPage-_mUOLW28-DoX9vWxb.js +37 -0
- package/dist/assets/{ScheduleSequenceTable-DDhoyPGX-DiqXc1Uz.js → ScheduleSequenceTable-DQlMdMO0-r5LBclLE.js} +24 -24
- package/dist/assets/{ScreenRoutes-D8bPqH59.js → ScreenRoutes-IDjhPTpz.js} +1 -1
- package/dist/assets/{SetUpAccountSection-AVL_16HQ-BbYtft6_.js → SetUpAccountSection-C_DCt5R8-BxiVSyFQ.js} +5 -5
- package/dist/assets/{SignIn-BLUwTp1l-DB5kyM9Q.js → SignIn-1fhq5RCV-BLtoe96T.js} +24 -24
- package/dist/assets/{SignInScreen-UMW9hVBZ.js → SignInScreen-Bt9k9qpu.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DJbNFHvP-zzqCy8fW.js → SpendManagementListViewPage-Cxe5movK-Q_tVVASy.js} +8 -8
- package/dist/assets/{SpendManagementPerTabPage-J5pIRm-Q-BAHyEiz9.js → SpendManagementPerTabPage-Dj9VrJCp-yGVPTW-t.js} +54 -54
- package/dist/assets/{SpendManagementSection-DZaP5ai6-DqwZ8uTy.js → SpendManagementSection-DGGqh0xs-CpnXaxhL.js} +25 -25
- package/dist/assets/{StatementItem-D2Fx65LN-itwCNL7r.js → StatementItem-ChfKUse--BISxQzB7.js} +7 -7
- package/dist/assets/{StatementsPage-BCh51lDW-BCn67G2d.js → StatementsPage-BAg2GA58-6dBp6JN9.js} +2 -2
- package/dist/assets/{StatusSwitcher-C5ZrzI8Y-Bh2yMPTS.js → StatusSwitcher-DsSflF9D-B-QsB0QQ.js} +4 -4
- package/dist/assets/{SubTabSwitcher-BXZxKeq9-CG8W65SL.js → SubTabSwitcher-DxUZTJB0-xCwGWu4u.js} +1 -1
- package/dist/assets/{SummaryCard-194UToy6-BSV06CcW.js → SummaryCard-B1mg84fd-GbF-N-vY.js} +1 -1
- package/dist/assets/{TaskManagementPage-zcxDUo0t-D96gR07A.js → TaskManagementPage-Z40FApxJ-CMQHa1zS.js} +15 -15
- package/dist/assets/{TimeRangeSwitcher-Bsv7zQmN-B2ABAd6E.js → TimeRangeSwitcher-B4sHEx1F-C3HNMT2K.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-DtxsNy1Z-biWVJ5xe.js → TimeframeSwitcher-D8zfgEX_-Bal85V7i.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-B5bFhbvL-CMKwEo3M.js → TimeframeSwitcherWithToggle-CD1f2F9o-B2FZN44A.js} +2 -2
- package/dist/assets/{TopExCard-CBua66Cj-CLdeyiEj.js → TopExCard-BpicN73M-DINSiiqz.js} +6 -6
- package/dist/assets/{TopExDetailPage-DtMA-XMp-eQWNkFxw.js → TopExDetailPage-iw-7HulH-DXnd8BHg.js} +17 -17
- package/dist/assets/{TransactionActivityLogPage-C3BPL8hi-cf_AJXhm.js → TransactionActivityLogPage-D7oH2hs_-vzUEThxA.js} +16 -16
- package/dist/assets/{TransactionDetailPage-CeKaduBe-CDZ2fkiy.js → TransactionDetailPage-DLiA4XLe-BY8d6fwg.js} +28 -28
- package/dist/assets/{TransactionList-CSx8ZCZ--d2IrBP0a.js → TransactionList-CFz4Gf7Z-BRDY3-q0.js} +11 -11
- package/dist/assets/{TransactionListBig-B4cNQY2d-DsSMgpDJ.js → TransactionListBig-BYHLJtlB-BgEsroqF.js} +17 -17
- package/dist/assets/TransactionListPage-BxtVNNib-CNsq76WM.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-DsxI8U5b-ndv151CC.js → TransactionVendorDetailPage-CEAFUrTl-DeNvS775.js} +7 -7
- package/dist/assets/{TransferDrawerPage-C91TQwZi-DG70uoUO.js → TransferDrawerPage-C6hdavbT-DrJHkT7i.js} +34 -34
- package/dist/assets/{TreasuryOverviewPage-BoBn_gtF-DRCeca-k.js → TreasuryOverviewPage-BP26JP5_-CP8HfxZ3.js} +47 -47
- package/dist/assets/{TreasuryPromoPage-CQ-VYEQC-B8CYyPsQ.js → TreasuryPromoPage-DjVR20gs-wVmMwzp-.js} +131 -131
- package/dist/assets/TreasuryStatementsPage-Beixz0Ou-tCIgJGtT.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-Cxhr51TD-XbjcHfk-.js → TreasuryTaxLetterPage-BW2fTHN--mfzNiBgO.js} +3 -3
- package/dist/assets/{TrendChart-DATgAEKG-Djx4U96K.js → TrendChart-sup0F9JZ-BygEThKD.js} +5 -5
- package/dist/assets/{TrendWithTransactions-DqPFuOvC-x4Algl45.js → TrendWithTransactions-C7azwT25-C5kNS0ZN.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-BQjXazj4-Dqjd8HUK.js → UncategorizedAccountsMappingPage-Etkl_fAG-DXRnm2d5.js} +9 -9
- package/dist/assets/{UnitIntegrationPage-BiRGRtpI-CH_KjQo0.js → UnitIntegrationPage-ZsJHRr7Z-BSAHu-Ly.js} +10 -10
- package/dist/assets/{UploadAdditionalDocumentOverlay-DCldWCol-52j80irm.js → UploadAdditionalDocumentOverlay-Z5AuwaDQ-BUBRAJWb.js} +1 -1
- package/dist/assets/Vendor2FAPopup-BcnPzCr1-DSeMdCqS.js +1 -0
- package/dist/assets/VendorACHDetailsPage-D5SdrDy6-N4lQNnE6.js +1 -0
- package/dist/assets/{VendorDetailPage-DY4iaLtz-qkdhxNgo.js → VendorDetailPage-Dnr8_eWj-07Hixr6q.js} +91 -91
- package/dist/assets/VendorDomesticWireDetailsPage-Bv2OKF0M-DAfdk4lz.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Dep7O8Uz-40wzCsHS.js → VendorFiling1099EditablePage-C7SK3oAX-sJjp-Qba.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-CJQIZn8g-BnRcRr5L.js → VendorFirstReviewPage-sMOzaFlZ-Bd_oFyDy.js} +49 -49
- package/dist/assets/{VendorInternationalWireDetailsPage-CJG5RIa2-CMGp5yLv.js → VendorInternationalWireDetailsPage-B2c1Rev--BIjFP46u.js} +9 -9
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CRpoKTWj-B3s-WEz1.js +1 -0
- package/dist/assets/{VendorsAccountsSection-D65ewlO6-CXkQj_-N.js → VendorsAccountsSection-Df4nOfCb-CW1ZNQaH.js} +2 -2
- package/dist/assets/{VerifyDevice-B1_jgwgY-Bn121ir_.js → VerifyDevice-ogibIJ0s-DAh6OFj7.js} +12 -12
- package/dist/assets/{VideoPlayer-vWSXteQ6-Bhqtm51R.js → VideoPlayer-C5JZyeyT-D8KcGBDj.js} +2 -2
- package/dist/assets/{VideoPopup-CdsmU6H4-CKubgiHN.js → VideoPopup-Dw-9lQNK-0rd-UPIe.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-CjgOsD00-DPo9HOu3.js → WarningsDrawerPage-CR9wWm5g-e4J9Pag3.js} +11 -11
- package/dist/assets/{ZeniAccountDetailPage-DiLnoonB-Dt3FIT6q.js → ZeniAccountDetailPage-CP6XbPoi-BnZudMg6.js} +20 -20
- package/dist/assets/{ZeniAccountListViewPage-YfPsO8ls-BVnH_XmJ.js → ZeniAccountListViewPage-B-8rvc59-BisABJW0.js} +25 -25
- package/dist/assets/ZeniAccountNavBarPieces-D_Jdtql7-D0896al8.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-cEfW88p8-DvvQgJIb.js → ZeniAccountPromoPage-DmXuuPc3-BsixtEBb.js} +28 -28
- package/dist/assets/ZeniAccountSetupPage-CiLrh0yu-B_DH4YUU.js +36 -0
- package/dist/assets/{ZeniCopyright-BROHmszx-0R55d0Il.js → ZeniCopyright-DIzbP27w-D1bPi2Em.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DZZrrFXf-Dokv6rUo.js → ZeniTransferAmountSlider-CYZYkuN_-Bs-AxRga.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-DBbMptVC.js → add-to-wallet-DgdBD8_G-DgwTOiTb.js} +1 -1
- package/dist/assets/{analytics-DH2FWXQR.js → analytics-BVR-nkdQ.js} +1 -1
- package/dist/assets/analyticsHelper-CeSpIREf.js +1 -0
- package/dist/assets/{analyticsHelper-FJ-cS8qS-eGTXz9ur.js → analyticsHelper-CirorDP7-BWRCY1oT.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DzFpwdLa.js → arrow-south-east-round-PEovUgvH-DTABdjGY.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-C9AIqfs3.js → auto-transfer-rule-mbafm5D3-uZ4hnV5g.js} +1 -1
- package/dist/assets/{chartTypes-DJdbX13L-CrV_XhuE.js → chartTypes-B9iWOG3r-C4s2YMo6.js} +1 -1
- package/dist/assets/{commonDimensions-BpYNnQtf-BrWIfeCb.js → commonDimensions-SFn2jHVc-CTDxaBd-.js} +1 -1
- package/dist/assets/{constants-nz8RVtEp.js → constants-CZu969tQ.js} +1 -1
- package/dist/assets/{core-Be77t6wT.js → core-BCC1NfcO.js} +1 -1
- package/dist/assets/{dash.all.min-1JaBh8EA.js → dash.all.min-BRxR-4km.js} +1 -1
- package/dist/assets/{detailCommon-BRja9H93-B06H9tRW.js → detailCommon-BTjqps8N-BwbXd0VD.js} +5 -5
- package/dist/assets/downloadPdf-CqjEwKR5-CVBCWVbb.js +1 -0
- package/dist/assets/{empty-DqMX1iak.js → empty-BjP_AR0Y.js} +1 -1
- package/dist/assets/{empty-CVHCqPg8.js → empty-CN6lL5vr.js} +1 -1
- package/dist/assets/epic-CYfuPaR1.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-hRxp85e2.js → gift-box-Cmt9OgIZ-jp2GTx_l.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DdG5b35f.js → graphic-no-data-l-DU4J8fDt-CoNwe8F7.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CRLCiMSY.js → graphic-no-data-net-burn-l-CzmycA0m-Blfk9v0F.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Ts-GBzII.js → handshake-BPg58FML-BZVWd-R4.js} +1 -1
- package/dist/assets/{index-BsnL7ZTX.js → index-BJwUmr6X.js} +4654 -4680
- package/dist/assets/{index-gGz0-y9K.js → index-CDawrAV5.js} +1 -1
- package/dist/assets/{index-BIQvGH1Z.js → index-DOGKWCNR.js} +1 -1
- package/dist/assets/{index-CHDWslZ9.js → index-Dc-8bDa8.js} +1 -1
- package/dist/assets/{index-Cyi12XGG.js → index-DdlMyYMd.js} +1 -1
- package/dist/assets/{index-WLQ2kK4T.js → index-klyQo3c-.js} +1 -1
- package/dist/assets/{index-Q1D5afUf.js → index-oIMKLk8g.js} +1 -1
- package/dist/assets/{lexical-4qH-Yr6_.js → lexical-D1A0yBcv.js} +1 -1
- package/dist/assets/{liveblocks-CUDrE-0X.js → liveblocks-gc1Zpgue.js} +1 -1
- package/dist/assets/{lottie-C5G-hUN3.js → lottie-PDiRMFOU.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DkhO3K0B-BF8CClXj.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BlrJTKah-CAIHDBtK.js → mapSectionWithAcOnlyToTreeNode-BywQAVX8-CBoe52_o.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-DvdWKHfX-CpssydBI.js → mapSpacerToTreeNode-nn83cq1C-a5kCwrR8.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-88qIN3FA-COjHTdZT.js → mapTimeframeBalancesToTreeNode-CKjqanKd-DfEyG-Ny.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CmXuntuz-4PcA3DEd.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-B5MDTbLz-CKS-2PqY.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Bs8iGys9-D6oy7HtW.js} +1 -1
- package/dist/assets/{mui-DsjrNjDe.js → mui-BPiKl8lE.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F--SwzhZlk.js → page-detail-CWX5S47F-GD7pPHSX.js} +1 -1
- package/dist/assets/{panelSelectedMixin-CzfD5-Zs-Cev-MiVu.js → panelSelectedMixin-CzfD5-Zs-DK9S-4A7.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-YvmWy399.js → radio-default-CiSgisfh-BDa9leTw.js} +1 -1
- package/dist/assets/{react-eUpxlpRg.js → react-BmSXOB2V.js} +1 -1
- package/dist/assets/{react-BWkra2hE.js → react-CVwAo7aZ.js} +1 -1
- package/dist/assets/{react-CSCeF-Sb.js → react-Chs2CyCz.js} +1 -1
- package/dist/assets/{react-XG3-S5t1.js → react-Ck-O1ppd.js} +1 -1
- package/dist/assets/{react-Ci_HLnoa.js → react-DZxKpeyN.js} +2 -2
- package/dist/assets/{react-Bqp70D_u.js → react-DtUvZi19.js} +1 -1
- package/dist/assets/{react-BCXSKYRr.js → react-T0X5kbJf.js} +1 -1
- package/dist/assets/{react-DL4wn98u.js → react-kH3wqLZe.js} +2 -2
- package/dist/assets/{recharts-CmZa-egc.js → recharts-CTVVh_-r.js} +1 -1
- package/dist/assets/{sentry-9b1mvxJ5.js → sentry-Dozbf0xW.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-B8zzGKQS.js → shield-DOlUxcFf-BXU_wIp-.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DvC1wuTC-B-3HfOc_.js +1 -0
- package/dist/assets/{toChartData-B3ouXKAd-D6dTQxs5.js → toChartData-mAeXlYNV-B69xO8vw.js} +1 -1
- package/dist/assets/{uploadAttachment-DNNG-CMy-BbELmBL6.js → uploadAttachment-BAVcYsOo-CTVw7Tly.js} +16 -16
- package/dist/assets/uploadReceipts-Dge0cNF1-1wHJJfDu.js +1 -0
- package/dist/assets/{url-RTB-DW5V.js → url-AR2JoXnJ.js} +1 -1
- package/dist/assets/{url-BiBhYcFe.js → url-D26ZSNVT.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-CsE5mUiU.js → useLongPress-GCK2COYQ-DajesI1J.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-5m5uF-Rf.js → usp-line-BBd1wKwW-CY_8hROo.js} +1 -1
- package/dist/assets/{utils-VcZ1Xqjg.js → utils-CJtHQQTa.js} +1 -1
- package/dist/assets/{zeni-epic-state-DJX8u9R8.js → zeni-epic-state-DD2IEaUq.js} +17 -17
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-DF6IU0EG-DxCZYmdQ.js +0 -18
- package/dist/assets/AccountLockedInfoModal-Cfx-lPAZ-DshiVPV5.js +0 -59
- package/dist/assets/AddAddressForCardDrawer-DNGQGGYg-CLwDyH_f.js +0 -6
- package/dist/assets/AppBasePage-B7_L4R6d-CdK-0SuM.js +0 -71
- package/dist/assets/BankAccountWarningSection-uMOXLH0B-BYzXyhFM.js +0 -51
- package/dist/assets/BillPayApprovalRuleDetailPage-UeVxIxfF-DVjWIsxB.js +0 -27
- package/dist/assets/BillingSettingsPage-BygJjDSp-TUk3hFrg.js +0 -44
- package/dist/assets/BusinessVerificationPage-C63pUk4d-O2_DYefs.js +0 -138
- package/dist/assets/ChargeCardPromoPage-DuQe7BpX-C4Pi99Eb.js +0 -222
- package/dist/assets/ChargeCardStatementsPage-CvtZtuVC-fVY1XVT7.js +0 -60
- package/dist/assets/CompanyOfficerDetailsSection-CaAR0Wvk-Y2CrJIeH.js +0 -331
- package/dist/assets/CompanyPassportPage-D2ALJDF_-BefJj8do.js +0 -417
- package/dist/assets/ConfettiBurst-DxHzdDPp-B5gAhZ11.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-eR0yY2uX-BeFivMSV.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-BHk7rDAg-DFqj8w76.js +0 -66
- package/dist/assets/CustomerOnboardingPage-1LvpVpHC-CtZqBhcA.js +0 -107
- package/dist/assets/CustomerOnboardingProductSuitePage-DMYHMJXg-DknXOQ4Z.js +0 -202
- package/dist/assets/EditPeoplePage-CKS_aEZm-3p7F4OmS.js +0 -55
- package/dist/assets/EntityDetailPage-B3TQ5hCP-Ce-hU3r6.js +0 -18
- package/dist/assets/InternationalWireVerificationPage-CvysJNBQ-ClnlKtmf.js +0 -65
- package/dist/assets/InvitePeoplePage-C5Qgk24s-Dkn2B0kS.js +0 -12
- package/dist/assets/InvoiceUploadSection-BO1i-e_D-DgD0BWyr.js +0 -140
- package/dist/assets/LabeledCountryMultiSelectField-XeBih_-f-fdD3iTtd.js +0 -237
- package/dist/assets/LabeledDocumentField-Bjg8sNsg-ozNb8OQw.js +0 -41
- package/dist/assets/LabeledMultiSelectField-Di9Wnifv-Cu7d4aN2.js +0 -223
- package/dist/assets/MagicLinkACHDetailsPage-DM7EUUU7-CP2qlsFS.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DKrGgFTu-CxyKarhq.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-B3OpSWB3-Ka8HAAdC.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-CphaJa4k-ClRRHux0.js +0 -31
- package/dist/assets/MailingDetailsSection-BJfZvT0b-CfIiVZuJ.js +0 -21
- package/dist/assets/MyProfileSettingsPage-8yBXAre6-z1GTbXeP.js +0 -85
- package/dist/assets/NavBarWithPicker-C3LVyiC9-CjcZT1T-.js +0 -30
- package/dist/assets/NoDataChart-B3s_7m2n-ConKu00U.js +0 -26
- package/dist/assets/NoDataTable-CMpypnTw-Bpr4-Ujz.js +0 -8
- package/dist/assets/OverlayContainerPage-D4QU0p4o-D1piLlT1.js +0 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-DSnQX90O-1Q0Vgv-d.js +0 -107
- package/dist/assets/QBOSetupSection-DQjol-D0-AZZiDMHT.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-llw4ONPo-Ysis5LEV.js +0 -32
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-C5MTFJLG-CU5EXNX4.js +0 -1
- package/dist/assets/RoleWithToolTip-GCV_l8Ly-C91LsT_P.js +0 -22
- package/dist/assets/ScheduleDetailsPage-D1EJbzxN-tEZm6Ypr.js +0 -37
- package/dist/assets/TransactionListPage-DHr64V-b-Dv4ZTiv4.js +0 -35
- package/dist/assets/TreasuryStatementsPage-taTRE54D-C6eZxSm6.js +0 -58
- package/dist/assets/Vendor2FAPopup-BpkAiYTA-EdR_K2lH.js +0 -1
- package/dist/assets/VendorACHDetailsPage-tUuZzJnN-Ber2jwRD.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-B5Nym5J9-CNysSCSa.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DZabfieM-CzR_dRp5.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-CHStBvRa-mP-Dj2Rz.js +0 -14
- package/dist/assets/ZeniAccountSetupPage-B20DHYex-B3wsvhel.js +0 -36
- package/dist/assets/analyticsHelper-nIT7pIRZ.js +0 -1
- package/dist/assets/commonTypes-BVbA7QjV-Ym_NCrQO.js +0 -1
- package/dist/assets/downloadPdf-WDHjFv79-pPdvILQx.js +0 -1
- package/dist/assets/epic-upTynnWU.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-C_5Bb47i-BB5tvKPX.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-AkxvYRty-CiDsqvCZ.js +0 -1
- package/dist/assets/toCOABalancesWithID-Bq4Xe7az-BxQaUEv2.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-CyA0lW2P.js +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import{V as t,
|
|
1
|
+
import{V as t,g7 as ne,o as i,bP as oe,aU as se,F as v,e as J,J as W,a9 as re,cG as le,bD as ae,ac as ce,aa as w,aS as de,y as T,fE as pe,g8 as me,eM as ue,g9 as fe,ga as he,b0 as ge,u as I,ba as X,ai as Y,al as K,am as xe}from"./index-BJwUmr6X.js";import{a as E}from"./sentry-Dozbf0xW.js";import{n}from"./mui-BPiKl8lE.js";import{FG as be,FH as $e,FI as ye,FJ as je}from"./zeni-epic-state-DD2IEaUq.js";import"./liveblocks-gc1Zpgue.js";import"./core-BCC1NfcO.js";import"./recharts-CTVVh_-r.js";import"./lottie-PDiRMFOU.js";import"./analytics-BVR-nkdQ.js";import"./lexical-D1A0yBcv.js";import"./utils-CJtHQQTa.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]="f1bb674d-1cbb-4f6a-bf37-4e6b6c90f029",e._sentryDebugIdIdentifier="sentry-dbid-f1bb674d-1cbb-4f6a-bf37-4e6b6c90f029")}catch{}})();const{common:we}=v.getLocalizedStrings(),M={notePadding:new T(I[3],I[4]),noteGap:new T(I[0],6)},R=(e,o)=>`${e}.${o}`,Ie=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
row-gap: ${i.sp3};
|
|
5
|
-
`,Se=
|
|
5
|
+
`,Se=n.div`
|
|
6
6
|
display: flex;
|
|
7
7
|
justify-content: space-between;
|
|
8
8
|
align-items: center;
|
|
9
|
-
`,ve=
|
|
9
|
+
`,ve=n(X)`
|
|
10
10
|
color: ${e=>e.theme.colors.primary};
|
|
11
|
-
`,Ne=
|
|
11
|
+
`,Ne=n.div`
|
|
12
12
|
border-radius: ${i.sp2};
|
|
13
13
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
14
14
|
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
15
|
-
`,Ee=
|
|
15
|
+
`,Ee=n.div`
|
|
16
16
|
display: flex;
|
|
17
17
|
justify-content: space-between;
|
|
18
18
|
align-items: center;
|
|
@@ -25,7 +25,7 @@ import{V as t,g8 as oe,o as i,bO as ne,aT as se,F as v,d as J,J as K,a9 as re,cF
|
|
|
25
25
|
border-top-right-radius: ${i.sp2};
|
|
26
26
|
border-top-left-radius: ${i.sp2};
|
|
27
27
|
}
|
|
28
|
-
`,ke=
|
|
28
|
+
`,ke=n.div`
|
|
29
29
|
display: flex;
|
|
30
30
|
justify-content: space-between;
|
|
31
31
|
align-items: center;
|
|
@@ -37,7 +37,7 @@ import{V as t,g8 as oe,o as i,bO as ne,aT as se,F as v,d as J,J as K,a9 as re,cF
|
|
|
37
37
|
border-bottom-right-radius: ${i.sp2};
|
|
38
38
|
border-bottom-left-radius: ${i.sp2};
|
|
39
39
|
}
|
|
40
|
-
`,
|
|
40
|
+
`,Pe=n.a`
|
|
41
41
|
color: ${e=>e.theme.colors.hero};
|
|
42
42
|
text-decoration: none;
|
|
43
43
|
cursor: pointer;
|
|
@@ -55,17 +55,17 @@ import{V as t,g8 as oe,o as i,bO as ne,aT as se,F as v,d as J,J as K,a9 as re,cF
|
|
|
55
55
|
color: ${e=>e.theme.colors.primary};
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
`,D=
|
|
58
|
+
`,D=n.div`
|
|
59
59
|
flex: 1;
|
|
60
|
-
`,
|
|
60
|
+
`,B=n(K)`
|
|
61
61
|
color: ${e=>e.theme.colors.hero};
|
|
62
|
-
`,
|
|
62
|
+
`,Ce=n(Y)`
|
|
63
63
|
color: ${e=>e.theme.colors.primary};
|
|
64
64
|
flex: 1;
|
|
65
65
|
width: 120px;
|
|
66
66
|
text-align: center;
|
|
67
|
-
`,Oe=
|
|
68
|
-
padding: ${e=>`${i.sp1} ${
|
|
67
|
+
`,Oe=n(xe)`
|
|
68
|
+
padding: ${e=>`${i.sp1} ${M.notePadding.valuePx(e.windowSize)}`};
|
|
69
69
|
background: ${e=>e.theme.colors.grey4};
|
|
70
70
|
border-radius: ${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2};
|
|
71
71
|
text-align: left;
|
|
@@ -73,38 +73,38 @@ import{V as t,g8 as oe,o as i,bO as ne,aT as se,F as v,d as J,J as K,a9 as re,cF
|
|
|
73
73
|
display: flex;
|
|
74
74
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
75
75
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
76
|
-
gap: ${e=>
|
|
77
|
-
`,Le=
|
|
76
|
+
gap: ${e=>M.noteGap.valuePx(e.windowSize)};
|
|
77
|
+
`,Le=n.div``,Re=n.span``;function ze({sectionId:e,monthEndInsightsNotificationLocalData:o,monthEndInsightsNotificationSettings:s,managersList:a,allUsers:h,classList:m,controllersList:x}){const u=J(),c=W(),{sectionTitle:b,monthEndInsights:l,mode:$}=we.settings.notifications,f=x[0],C=x.slice(1).reduce((d,r)=>d.concat(`${r.email},`),"");return t.jsxs(Ie,{children:[t.jsxs(Se,{children:[t.jsx(ve,{children:b.monthEndInsights}),t.jsx(Le,{children:t.jsx(Ce,{children:$.email})})]}),t.jsxs(Ne,{children:[t.jsxs(Ee,{disabled:s.enabled==null,children:[t.jsx(B,{children:l.labels.notifyMe}),t.jsx(ue,{defaultChecked:o.notify,checkBoxValue:R(e,"notify"),name:R(e,"notify"),checkedIconColor:s.enabled==null?u.colors.grey2:void 0})]}),t.jsx(w,{controller:s.enabled!=null,children:t.jsxs(ke,{children:[t.jsx(D,{children:t.jsx(B,{children:l.labels.notifyOthers})}),t.jsx(D,{children:t.jsx(fe,{hideEmailTooltip:!1,showBackgroundColorIfHasAnySelectedOption:!1,shouldHaveBackgroundColor:!1,value:{allUsers:h,selectedUsers:h.filter(d=>o.recipientEmailIds.includes(d.email)),allNonUsers:[],selectedNonUsers:[]},hideMultiValueOnBlur:!1,valueToSubtitle:d=>{const r=a.findIndex(p=>p.userId===d),y=[];if(r!==-1){const p=a[r],j=he(p.userRole.userRoles);j.length>0&&y.push(j);const N=m.find(O=>O.classId===p.userRole.accountingClassIDs[0]);return N!=null&&y.push(N.className),y}else return[]},name:R(e,"recipientEmailIds"),placeholderLabel:l.userFieldPlaceholder,customStyleConfig:{valueContainer:(d,{selectProps:r})=>({justifyContent:r.menuIsOpen===!1?"flex-end":"flex-start"}),input:(d,{selectProps:r})=>({display:r.menuIsOpen===!1?"none":"inline-grid"}),control:(d,{selectProps:r})=>({backgroundColor:r.menuIsOpen===!0?u.colors.background:"unset"}),container:(d,{selectProps:r})=>({backgroundColor:r.menuIsOpen===!0?u.colors.background:"unset"}),multiValue:(d,{selectProps:r})=>({outline:r.menuIsOpen===!1?"unset":`1px solid ${u.colors.primary}`})}})})]})}),t.jsx(w,{controller:s.enabled==null,children:t.jsxs(Oe,{windowSize:c,children:[l.stopReceivingEmailsText,f?t.jsxs(Pe,{href:`mailto:${f.email}?cc=${C}&subject=${encodeURIComponent(l.stopReceivingMonthEndInsightsSubject)}`,children:[t.jsx(Re,{children:`${f.firstName} ${f.lastName}`}),t.jsx(ge,{className:"arrowIcon"})]}):null]})})]})]})}const A=(e,o,s)=>`${e}.${o}.${s}`,Te=n.div`
|
|
78
78
|
display: flex;
|
|
79
79
|
flex-direction: column;
|
|
80
80
|
row-gap: ${i.sp3};
|
|
81
|
-
`,
|
|
81
|
+
`,Ue=n.div`
|
|
82
82
|
display: flex;
|
|
83
83
|
justify-content: space-between;
|
|
84
84
|
align-items: center;
|
|
85
|
-
`,
|
|
85
|
+
`,Me=n(X)`
|
|
86
86
|
color: ${e=>e.theme.colors.primary};
|
|
87
|
-
`,
|
|
87
|
+
`,F=n.div`
|
|
88
88
|
display: flex;
|
|
89
|
-
`,V=
|
|
89
|
+
`,V=n(Y)`
|
|
90
90
|
color: ${e=>e.theme.colors.primary};
|
|
91
91
|
flex: 1;
|
|
92
92
|
width: 120px;
|
|
93
93
|
text-align: center;
|
|
94
|
-
`,De=
|
|
94
|
+
`,De=n.div`
|
|
95
95
|
width: 120px;
|
|
96
96
|
display: flex;
|
|
97
|
-
`,
|
|
97
|
+
`,Be=n.div`
|
|
98
98
|
width: 120px;
|
|
99
99
|
display: flex;
|
|
100
100
|
padding-right: 12px;
|
|
101
|
-
`,
|
|
101
|
+
`,Ae=n(K)`
|
|
102
102
|
color: ${e=>e.theme.colors.hero};
|
|
103
|
-
`,
|
|
103
|
+
`,Fe=n.div`
|
|
104
104
|
border-radius: ${i.sp2};
|
|
105
105
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
106
106
|
box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
107
|
-
`,Ve=
|
|
107
|
+
`,Ve=n.div`
|
|
108
108
|
display: flex;
|
|
109
109
|
justify-content: space-between;
|
|
110
110
|
align-items: center;
|
|
@@ -118,14 +118,14 @@ import{V as t,g8 as oe,o as i,bO as ne,aT as se,F as v,d as J,J as K,a9 as re,cF
|
|
|
118
118
|
border-bottom-left-radius: ${e=>e.lastElement===!0?i.sp2:i.sp0};
|
|
119
119
|
border-bottom-right-radius: ${e=>e.lastElement===!0?i.sp2:i.sp0};
|
|
120
120
|
}
|
|
121
|
-
`;function qe({sectionId:e,remindersLocalData:
|
|
121
|
+
`;function qe({sectionId:e,remindersLocalData:o,reminderNotificationSettings:s}){const{texts:a,settings:h}=v.getLocalizedStrings().common,{notifications:m}=h,x=ye.slice(0,1),u=je.filter(c=>s[c]!=null);return t.jsxs(Te,{children:[t.jsxs(Ue,{children:[t.jsx(Me,{children:m.sectionTitle.reminders}),t.jsxs(F,{children:[t.jsx(V,{children:a.frequency}),t.jsx(V,{children:m.mode.email})]})]}),t.jsx(Fe,{children:u.map((c,b)=>t.jsxs(Ve,{firstElement:b===0,lastElement:b===u.length-1,children:[t.jsx(Ae,{children:m.reminders[c]}),t.jsxs(F,{children:[t.jsx(Be,{children:t.jsx(pe,{defaultValue:{allOptions:m.reminderFrequencyOptions,selectedOption:o[c].frequency},name:A(e,c,"frequency")})}),t.jsx(De,{children:t.jsx(me,{mode:"always_on",checkBoxes:x.map(l=>({label:"",value:l,defaultChecked:o[c].preferredMode.includes(l),groupLabel:!1})),name:A(e,c,"preferredMode"),style:{flexDirection:"row"},checkBoxContainerStyle:{justifyContent:"center"}})})]})]},c))})]})}const z={contentPadding:new T(I[3],I[8])},g="reminders",S="monthEndInsights",q="notificationSettingsPage",_=e=>`${e}_form`,{settings:Q,reloadPage:_e}=v.getLocalizedStrings().common,He=e=>{const o=J(),s=W(),{notificationSettingsView:a,signedInUser:h,onFormDataChange:m,resetUpdateStatus:x,onSave:u,onCancel:c,onClickMenuIcon:b}=e,{notificationSettingsLocalData:l,allUsers:$,notificationSettings:f,classList:C,managersList:d,updateStatus:r,controllersList:y}=a,p=re({defaultValues:G(l,$)}),j=E.useCallback(L=>{m(Ke(L))},[m]),N=p.handleSubmit(()=>{u()}),O=E.useCallback(()=>{p.reset(),c()},[c]);E.useEffect(()=>{a.updateStatus.fetchState==="Completed"&&(p.reset(G(l,$)),x())},[l,a.updateStatus.fetchState,$]),E.useEffect(()=>{const L=p.watch((U,{name:ie})=>{ie!=null&&U!=null&&le(()=>j(U))});return()=>{L.unsubscribe()}},[p,j]);const Z=Object.keys(p.formState.dirtyFields).length>0,ee=h.userEmail!=null?be(f.monthEndInsightsNotificationSettings,h.userEmail):!1,te=$e(f.reminderNotificationSettings);return t.jsxs(t.Fragment,{children:[t.jsxs(Ge,{children:[t.jsx(ae,{source:"NotificationSettingsPage",title:Q.title.notifications,backgroundColor:o.colors.grey4,showBackButton:!1,showMenuIcon:s==="medium-compact"||s==="small",onClickMenuIcon:b}),t.jsx(Je,{windowSize:s,children:t.jsx(ce,{...p,children:t.jsx("form",{id:_(q),onSubmit:N,children:t.jsxs(We,{children:[t.jsx(w,{controller:te,children:t.jsx(qe,{reminderNotificationSettings:f.reminderNotificationSettings,remindersLocalData:l.reminders,sectionId:g})}),t.jsx(w,{controller:ee,children:t.jsx(ze,{monthEndInsightsNotificationLocalData:l.monthEndInsights,monthEndInsightsNotificationSettings:f.monthEndInsightsNotificationSettings,sectionId:S,allUsers:$,classList:C,managersList:d,controllersList:y})})]})})})})]}),t.jsx(w,{controller:Z,children:t.jsx(de,{style:{width:"100%"},formId:_(q),primaryBtn:{label:v.getLocalizedStrings().common.footer.save,isLoading:r.fetchState==="In-Progress",style:{width:"82px"}},cancelBtn:{label:v.getLocalizedStrings().common.footer.cancel,onClick:O,style:{width:"82px"}}})})]})};function ct(e){const{notificationSettingsView:o,onRefresh:s}=e,{fetchState:a}=o;return a==="Not-Started"||a==="In-Progress"?t.jsx(H,{children:t.jsx(ne,{fetchState:a,styles:{margin:i.sp0}})}):a==="Error"?t.jsxs(H,{children:[t.jsx(Xe,{onClick:s,children:t.jsx(oe,{})}),t.jsx(Ye,{children:_e.label})]}):t.jsx(He,{...e})}const Ge=n.div`
|
|
122
122
|
display: flex;
|
|
123
123
|
width: 100%;
|
|
124
124
|
min-height: 100vh;
|
|
125
125
|
flex-direction: column;
|
|
126
126
|
row-gap: ${i.sp3};
|
|
127
127
|
background-color: ${e=>e.theme.colors.grey4};
|
|
128
|
-
`,
|
|
128
|
+
`,H=n.div`
|
|
129
129
|
display: flex;
|
|
130
130
|
height: 100vh;
|
|
131
131
|
width: 100%;
|
|
@@ -134,15 +134,15 @@ import{V as t,g8 as oe,o as i,bO as ne,aT as se,F as v,d as J,J as K,a9 as re,cF
|
|
|
134
134
|
align-items: center;
|
|
135
135
|
row-gap: ${i.sp3};
|
|
136
136
|
background-color: ${e=>e.theme.colors.grey4};
|
|
137
|
-
`,Je=
|
|
138
|
-
padding-left: ${e=>
|
|
139
|
-
padding-right: ${e=>
|
|
140
|
-
padding-bottom: ${e=>
|
|
141
|
-
`,
|
|
137
|
+
`,Je=n.div`
|
|
138
|
+
padding-left: ${e=>z.contentPadding.valuePx(e.windowSize)};
|
|
139
|
+
padding-right: ${e=>z.contentPadding.valuePx(e.windowSize)};
|
|
140
|
+
padding-bottom: ${e=>z.contentPadding.valuePx(e.windowSize)};
|
|
141
|
+
`,We=n.div`
|
|
142
142
|
display: flex;
|
|
143
143
|
flex-direction: column;
|
|
144
144
|
row-gap: ${i.sp8};
|
|
145
|
-
`,
|
|
145
|
+
`,Xe=n.div`
|
|
146
146
|
height: 96px;
|
|
147
147
|
width: 96px;
|
|
148
148
|
background: ${e=>e.theme.colors.background};
|
|
@@ -157,7 +157,7 @@ import{V as t,g8 as oe,o as i,bO as ne,aT as se,F as v,d as J,J as K,a9 as re,cF
|
|
|
157
157
|
color: ${e=>e.theme.colors.primary};
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
`,
|
|
160
|
+
`,Ye=n(se)`
|
|
161
161
|
margin-top: ${i.sp3};
|
|
162
162
|
color: ${e=>e.theme.colors.hero};
|
|
163
|
-
`;function k(e){const
|
|
163
|
+
`;function k(e){const o=Q.notifications.reminderFrequencyOptions;return{preferredMode:e.preferredMode,frequency:{selectedOption:e.frequency,allOptions:o}}}function G(e,o){return{[g]:{missingReceiptNotification:k(e.reminders.missingReceiptNotification),uncategorizedTransactionNotification:k(e.reminders.uncategorizedTransactionNotification),pendingBillApprovalNotification:k(e.reminders.pendingBillApprovalNotification),pendingReimbursementApprovalNotification:k(e.reminders.pendingReimbursementApprovalNotification)},[S]:{notify:e.monthEndInsights.notify,recipientEmailIds:{allNonUsers:[],selectedNonUsers:[],allUsers:o,selectedUsers:o.filter(s=>e.monthEndInsights.recipientEmailIds.includes(s.email))}}}}function P(e){return{preferredMode:e.preferredMode,frequency:e.frequency.selectedOption}}function Ke(e){return{[g]:{missingReceiptNotification:P(e[g].missingReceiptNotification),uncategorizedTransactionNotification:P(e[g].uncategorizedTransactionNotification),pendingBillApprovalNotification:P(e[g].pendingBillApprovalNotification),pendingReimbursementApprovalNotification:P(e[g].pendingReimbursementApprovalNotification)},[S]:{...e[S],recipientEmailIds:e[S].recipientEmailIds.selectedUsers.map(o=>o.email)}}}export{ct as default,_ as uniqueName};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as n,u as f}from"./index-
|
|
1
|
+
import{b as n,u as f}from"./index-BJwUmr6X.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="634f6f50-1592-4fda-a7f2-4a7ddc7cf4fc",e._sentryDebugIdIdentifier="sentry-dbid-634f6f50-1592-4fda-a7f2-4a7ddc7cf4fc")}catch{}})();const o=f[5],r=59,i=f[5],s=n.standardRegular.lineHeightValue,l=1,u=1e3;export{s as A,i as E,l as I,u as L,r as a,o as t};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{e as Z,J as v,a9 as Qt,cG as Kt,V as t,bD as Xt,ac as Zt,aS as ei,o as i,aa as ye,F as P,h4 as ti,y as R,i7 as ii,b as Ne,T as oi,ay as tt,cn as it,b4 as ot,dq as st,cu as at,k4 as rt,u as w,i as si,k5 as ai,dn as he,a_ as ri,N as ni,a as nt,p as S,ai as li,bQ as _,cT as ue,g8 as pe,k6 as fe,aw as lt,a8 as dt,dx as E,ft as ct,gi as di,al as ee,im as ci,am as H,fH as hi,aW as $e,bb as me,k7 as ui,bN as ht,k8 as Re,bw as pi}from"./index-BJwUmr6X.js";import{a as g}from"./sentry-Dozbf0xW.js";import{n as r,c as O}from"./mui-BPiKl8lE.js";import{Gf as fi,Gg as mi,bL as X,bh as $,Eb as ut}from"./zeni-epic-state-DD2IEaUq.js";import{k as gi}from"./SubTabSwitcher-DxUZTJB0-xCwGWu4u.js";import{d as pt}from"./useLongPress-GCK2COYQ-DajesI1J.js";import{A as ft,t as mt,a as gt,E as xt,L as bt,I as wt}from"./NotificationsListConfig-LrfChZUx-DIWHkHKZ.js";import"./liveblocks-gc1Zpgue.js";import"./core-BCC1NfcO.js";import"./recharts-CTVVh_-r.js";import"./lottie-PDiRMFOU.js";import"./analytics-BVR-nkdQ.js";import"./lexical-D1A0yBcv.js";import"./utils-CJtHQQTa.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]="75f779c7-40ac-4e30-92c8-b2d622f4da60",e._sentryDebugIdIdentifier="sentry-dbid-75f779c7-40ac-4e30-92c8-b2d622f4da60")}catch{}})();function xi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:h}){const u=v(),p=Z(),m=g.useCallback(x=>{d(x.id)},[d]),f=g.useCallback(x=>{h(x.id)},[h]);return e.length===0?null:t.jsxs(bi,{windowSize:u,children:[t.jsx(ii,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(gi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:f})]})}const bi=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
5
|
-
`,{common:{timeStrings:yt,strings:wi},dateFormat:Ie,timeFormat:yi}=P.getLocalizedStrings(),$t=["today","yesterday","last_7_days_this_month","earlier_this_month","earlier_that_month"],le=e=>e.type.concat(wi.underscore).concat(e.start.format(Ie.visual.DdashMMdashYYYYFormat)),ge=e=>{switch(e.type){case"today":case"yesterday":case"earlier_this_month":case"last_7_days_this_month":return yt[e.type];case"earlier_that_month":return e.start.format(Ie.visual.MMMYYYYFormat)}},jt=e=>{const o=X(e.toUTCString()),s=$(),a=s.diff(o,"minutes"),n=s.diff(o,"seconds"),l=60,c=24*60;return n<=l?yt.justNow:a<c&&ui(o,0)?o.format(yi.hhmmAFormat):o.format(Ie.visual.MMMDFormat)},_e=e=>{switch(e.code){case"todo":return S.important;case"in_progress":return S.info;case"on_hold":return S.alert;case"done":return S.championLight;case"resolved":return S.successDark;default:return S.neutralGrey2Light}},{commentsAndNotifications:{notifications:{actionStrings:{comments:$i}}}}=P.getLocalizedStrings(),kt=e=>{e.sort((n,l)=>X(n.inboxNotification.notifiedAt.toUTCString()).isAfter(X(l.inboxNotification.notifiedAt.toUTCString()))===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of $t){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),u=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),h=$().subtract(2,"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),h=$().subtract(9,"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=$().subtract(u,"month").startOf("M").startOf("d"),m=$().subtract(u,"month").endOf("M").endOf("d");u++,a=oe(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},oe=(e,o,s)=>{const a=[],n=e.map(l=>rt(o,s,X(l.inboxNotification.notifiedAt.toUTCString()))?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>X(l.inboxNotification.notifiedAt.toUTCString()).isAfter(X(c.inboxNotification.notifiedAt.toUTCString()))===!0?-1:1),{singleGroup:a,remainingData:n}},ji=e=>{const{thread:o}=e,{newRepliesAdded:s,newCommentAdded:a}=$i;return o.comments.length===1?a:s},St=new R(3,2,1,1,1),vt=new R(w[8],w[6],35,35,w[6]),de={lineClamp:St,sectionWidth:vt},{common:{texts:ze,timeStrings:ki,strings:te},commentsAndNotifications:{notifications:{strings:{newMessage:Si},actionStrings:{comments:{newCommentAdded:vi}}}}}=P.getLocalizedStrings(),Ci=({notificationData:e,users:o,isHighlighted:s=!1,style:a,onNotificationTileClick:n})=>{const l=lt(),c=dt().analytics,{inboxNotification:{id:d,readAt:h,notifiedAt:u},thread:p}=e,{setRequestToOpenThread:m}=g.useContext(di),f=h!=null?"read":"unread",{metadata:{url:x,companyId:k,entityType:B},id:z}=p;return t.jsxs(zi,{readStatus:f,isClickable:!!x,isHighlighted:s,style:a,onClick:()=>{x&&(n(d,ut(x),f),(p.metadata.tab==="bill"||p.metadata.tab==="reimbursement")&&m({threadId:z,companyId:k,entityType:B})),p.metadata.application!=="cockpit"&&c.trackCommentActivity("notification","clicked",p.metadata.companyName,l.controllersList.controllers.map(N=>
|
|
5
|
+
`,{common:{timeStrings:yt,strings:wi},dateFormat:Ie,timeFormat:yi}=P.getLocalizedStrings(),$t=["today","yesterday","last_7_days_this_month","earlier_this_month","earlier_that_month"],le=e=>e.type.concat(wi.underscore).concat(e.start.format(Ie.visual.DdashMMdashYYYYFormat)),ge=e=>{switch(e.type){case"today":case"yesterday":case"earlier_this_month":case"last_7_days_this_month":return yt[e.type];case"earlier_that_month":return e.start.format(Ie.visual.MMMYYYYFormat)}},jt=e=>{const o=X(e.toUTCString()),s=$(),a=s.diff(o,"minutes"),n=s.diff(o,"seconds"),l=60,c=24*60;return n<=l?yt.justNow:a<c&&ui(o,0)?o.format(yi.hhmmAFormat):o.format(Ie.visual.MMMDFormat)},_e=e=>{switch(e.code){case"todo":return S.important;case"in_progress":return S.info;case"on_hold":return S.alert;case"done":return S.championLight;case"resolved":return S.successDark;default:return S.neutralGrey2Light}},{commentsAndNotifications:{notifications:{actionStrings:{comments:$i}}}}=P.getLocalizedStrings(),kt=e=>{e.sort((n,l)=>X(n.inboxNotification.notifiedAt.toUTCString()).isAfter(X(l.inboxNotification.notifiedAt.toUTCString()))===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of $t){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),u=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),h=$().subtract(2,"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),h=$().subtract(9,"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=$().subtract(u,"month").startOf("M").startOf("d"),m=$().subtract(u,"month").endOf("M").endOf("d");u++,a=oe(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},oe=(e,o,s)=>{const a=[],n=e.map(l=>rt(o,s,X(l.inboxNotification.notifiedAt.toUTCString()))?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>X(l.inboxNotification.notifiedAt.toUTCString()).isAfter(X(c.inboxNotification.notifiedAt.toUTCString()))===!0?-1:1),{singleGroup:a,remainingData:n}},ji=e=>{const{thread:o}=e,{newRepliesAdded:s,newCommentAdded:a}=$i;return o.comments.length===1?a:s},St=new R(3,2,1,1,1),vt=new R(w[8],w[6],35,35,w[6]),de={lineClamp:St,sectionWidth:vt},{common:{texts:ze,timeStrings:ki,strings:te},commentsAndNotifications:{notifications:{strings:{newMessage:Si},actionStrings:{comments:{newCommentAdded:vi}}}}}=P.getLocalizedStrings(),Ci=({notificationData:e,users:o,isHighlighted:s=!1,style:a,onNotificationTileClick:n})=>{const l=lt(),c=dt().analytics,{inboxNotification:{id:d,readAt:h,notifiedAt:u},thread:p}=e,{setRequestToOpenThread:m}=g.useContext(di),f=h!=null?"read":"unread",{metadata:{url:x,companyId:k,entityType:B},id:z}=p;return t.jsxs(zi,{readStatus:f,isClickable:!!x,isHighlighted:s,style:a,onClick:()=>{x&&(n(d,ut(x),f),(p.metadata.tab==="bill"||p.metadata.tab==="reimbursement")&&m({threadId:z,companyId:k,entityType:B})),p.metadata.application!=="cockpit"&&c.trackCommentActivity("notification","clicked",p.metadata.companyName,l.controllersList.controllers.map(N=>E(N)),p.resolved?"resolved":"open",{name:ct(l.loggedInUser),email:l.loggedInUser?.userEmail??""},"db notification")},children:[t.jsx(Ti,{notificationData:e,users:o}),t.jsx(Ii,{...e}),t.jsx(Li,{timestamp:u,readStatus:f})]})},Ct=({notificationData:e,users:o})=>{const{thread:s}=e,{comments:a}=s,n=a[0];return a.length===0||n.body==null?t.jsx(je,{children:Si}):t.jsx(je,{children:n.body.content.map(l=>{switch(l.type){case"paragraph":return l.children.map((c,d)=>{if(Ri(c)){const u=o.find(p=>p.userId===c.id);return c.id?t.jsx(Ni,{notificationData:e,user:u},`${c.id}${te.underscore}${d}`):null}if(_i(c)){const u=ci(c.url)??c.url;return t.jsx(Gi,{href:u,target:"_blank",rel:"noopener noreferrer nofollow",children:c.text??c.url},d)}let h=c.text;return c.bold===!0&&(h=t.jsx(Ai,{children:h},d)),c.italic===!0&&(h=t.jsx(Pi,{children:h},d)),c.strikethrough===!0&&(h=t.jsx(Bi,{children:h},d)),c.code===!0&&(h=t.jsx(Oi,{children:h},d)),t.jsx(Fi,{children:h},d)});default:return t.jsx(je,{children:vi})}})})},Ti=({notificationData:e,users:o})=>{const s=v();return t.jsx(Ui,{windowSize:s,children:t.jsx(Ct,{notificationData:e,users:o})})},Ni=({notificationData:e,user:o})=>{const{inboxNotification:{readAt:s}}=e,a=s!=null?"read":"unread";let n=t.jsxs(De,{className:"userText",readStatus:a,children:[te.atTheRate,ze.zeniAI,te.space]});if(o!=null){const l=E(o,!1);n=t.jsx(t.Fragment,{children:t.jsxs(De,{className:"userText",readStatus:a,children:[te.atTheRate,l||ze.zeniAI,te.space]})})}return n},Tt=e=>{const o=ji(e);return t.jsx(t.Fragment,{children:o})},Ii=e=>{const o=v();return t.jsx(Mi,{windowSize:o,children:t.jsx(Tt,{...e})})},Nt=e=>{const{timestamp:o,readStatus:s}=e,a=jt(o);return t.jsxs(t.Fragment,{children:[t.jsx(Ei,{isNewNotification:a===ki.justNow,children:a}),t.jsx(Hi,{readStatus:s})]})},Li=e=>{const o=v();return t.jsx(Di,{windowSize:o,children:t.jsx(Nt,{...e})})};function Ri(e){return"type"in e&&e.type==="mention"}function _i(e){return"type"in e&&e.type==="link"}const zi=r.div`
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: row;
|
|
8
8
|
align-items: center;
|
|
@@ -68,7 +68,7 @@ import{d as Q,J as v,a9 as Kt,cF as Zt,V as t,bC as Xt,ac as Qt,aR as ei,o as i,
|
|
|
68
68
|
-webkit-line-clamp: ${e=>de.lineClamp.value(e.windowSize)};
|
|
69
69
|
-webkit-box-orient: vertical;
|
|
70
70
|
width: ${e=>de.sectionWidth.valuePercentage(e.windowSize)};
|
|
71
|
-
`,Ai=r.strong``,Oi=r.code``,Pi=r.em``,Bi=r.s``,Fi=r.span``,Gi=r.a``,
|
|
71
|
+
`,Ai=r.strong``,Oi=r.code``,Pi=r.em``,Bi=r.s``,Fi=r.span``,Gi=r.a``,Ui=r(ee)`
|
|
72
72
|
color: inherit;
|
|
73
73
|
display: -webkit-box;
|
|
74
74
|
overflow: hidden;
|
|
@@ -79,7 +79,7 @@ import{d as Q,J as v,a9 as Kt,cF as Zt,V as t,bC as Xt,ac as Qt,aR as ei,o as i,
|
|
|
79
79
|
color: ${e=>e.readStatus==="read"?e.theme.colors.grey1:S.brandColorJade};
|
|
80
80
|
`,je=r(me)`
|
|
81
81
|
color: inherit;
|
|
82
|
-
`,
|
|
82
|
+
`,Ei=r(ht)`
|
|
83
83
|
flex-shrink: 0;
|
|
84
84
|
color: ${e=>e.isNewNotification?e.theme.colors.primary:"inherit"};
|
|
85
85
|
`,Hi=r.div`
|
|
@@ -89,7 +89,7 @@ import{d as Q,J as v,a9 as Kt,cF as Zt,V as t,bC as Xt,ac as Qt,aR as ei,o as i,
|
|
|
89
89
|
border-radius: ${i.sp2};
|
|
90
90
|
flex-shrink: 0;
|
|
91
91
|
background-color: ${e=>e.readStatus==="unread"?S.info:"transparent"};
|
|
92
|
-
`,ke={emptyRowItemSectionWidth:new R(120,200,250,330,400),emptyLastRowItemSectionWidth:new R(w[6],50,60,w[11],120)},Vi=()=>{const e=v();return t.jsxs(
|
|
92
|
+
`,ke={emptyRowItemSectionWidth:new R(120,200,250,330,400),emptyLastRowItemSectionWidth:new R(w[6],50,60,w[11],120)},Vi=()=>{const e=v();return t.jsxs(Wi,{windowSize:e,children:[t.jsx(Se,{windowSize:e,isLastItem:!1,children:t.jsx(_,{width:ke.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(Se,{windowSize:e,isLastItem:!1,children:t.jsx(_,{width:ke.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(Se,{windowSize:e,isLastItem:!0,children:t.jsx(_,{width:ke.emptyLastRowItemSectionWidth.value(e),height:18})})]})},Wi=r.div`
|
|
93
93
|
display: flex;
|
|
94
94
|
align-items: center;
|
|
95
95
|
justify-content: space-between;
|
|
@@ -120,7 +120,7 @@ import{d as Q,J as v,a9 as Kt,cF as Zt,V as t,bC as Xt,ac as Qt,aR as ei,o as i,
|
|
|
120
120
|
flex: 1 1 auto;
|
|
121
121
|
justify-content: ${e=>e.isLastItem?"flex-end":"start"};
|
|
122
122
|
width: ${e=>e.isLastItem?"10%":vt.valuePercentage(e.windowSize)};
|
|
123
|
-
`,
|
|
123
|
+
`,Yi=()=>{const e=v();return t.jsxs(Ji,{windowSize:e,children:[t.jsxs(qi,{children:[t.jsx(_,{width:180,height:w[4]}),t.jsx(_,{width:180,height:w[4]})]}),t.jsx(Qi,{children:t.jsx(_,{width:60,height:18})})]})},Ji=r.div`
|
|
124
124
|
display: flex;
|
|
125
125
|
align-items: baseline;
|
|
126
126
|
justify-content: space-between;
|
|
@@ -153,12 +153,12 @@ import{d as Q,J as v,a9 as Kt,cF as Zt,V as t,bC as Xt,ac as Qt,aR as ei,o as i,
|
|
|
153
153
|
gap: ${i.sp2};
|
|
154
154
|
flex: 1 1 auto;
|
|
155
155
|
justify-content: start;
|
|
156
|
-
`,
|
|
156
|
+
`,Qi=r.div`
|
|
157
157
|
display: flex;
|
|
158
158
|
align-items: baseline;
|
|
159
159
|
flex-direction: row;
|
|
160
160
|
justify-content: end;
|
|
161
|
-
`,
|
|
161
|
+
`,Ki=()=>v()==="small"?t.jsx(Yi,{}):t.jsx(Vi,{}),Xi={marginLeft:new R(w[2],w[5],w[7])},Zi=()=>t.jsxs(eo,{children:[t.jsx(ve,{numberOfRows:5}),t.jsx(ve,{numberOfRows:3})]}),ve=({numberOfRows:e})=>{const o=v();return t.jsxs(to,{windowSize:o,children:[t.jsx(oo,{children:t.jsx(_,{width:w[12],height:Ne.standardRegular.lineHeightValue})}),t.jsx(io,{children:[...Array(e)].map(s=>t.jsx(Ki,{},he()))})]})},eo=r.div`
|
|
162
162
|
display: block;
|
|
163
163
|
min-height: 100%;
|
|
164
164
|
flex-direction: column;
|
|
@@ -175,7 +175,7 @@ import{d as Q,J as v,a9 as Kt,cF as Zt,V as t,bC as Xt,ac as Qt,aR as ei,o as i,
|
|
|
175
175
|
`,oo=r.div`
|
|
176
176
|
display: flex;
|
|
177
177
|
padding: ${i.sp3} ${i.sp0};
|
|
178
|
-
`,so=({notificationData:e,users:o,isSelectionMode:s=!1,isHighlighted:a=!1,style:n,onNotificationTileClick:l,onNotificationTileLongPress:c})=>{const d=lt(),h=dt().analytics,{inboxNotification:{id:u,readAt:p,notifiedAt:m},thread:f}=e,x=p!=null?"read":"unread",k=f.metadata.url,B=g.useCallback(()=>{c?.()},[c]),z=g.useCallback(b=>{b.stopPropagation(),b.cancelable&&b.preventDefault(),s?c?.():k!=null&&(l(u,ut(f.metadata.url),x),f.metadata.application!=="cockpit"&&h.trackCommentActivity("notification","clicked",f.metadata.companyName,d.controllersList.controllers.map(I=>
|
|
178
|
+
`,so=({notificationData:e,users:o,isSelectionMode:s=!1,isHighlighted:a=!1,style:n,onNotificationTileClick:l,onNotificationTileLongPress:c})=>{const d=lt(),h=dt().analytics,{inboxNotification:{id:u,readAt:p,notifiedAt:m},thread:f}=e,x=p!=null?"read":"unread",k=f.metadata.url,B=g.useCallback(()=>{c?.()},[c]),z=g.useCallback(b=>{b.stopPropagation(),b.cancelable&&b.preventDefault(),s?c?.():k!=null&&(l(u,ut(f.metadata.url),x),f.metadata.application!=="cockpit"&&h.trackCommentActivity("notification","clicked",f.metadata.companyName,d.controllersList.controllers.map(I=>E(I)),f.resolved?"resolved":"open",{name:ct(d.loggedInUser),email:d.loggedInUser?.userEmail??""},"db notification"))},[s,k,c,l,u,f.metadata.url,f.metadata.application,x,d.controllersList,d.loggedInUser,h,f.metadata.companyName,f.resolved]),N=pt({onLongPress:B},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(lo,{readStatus:x,isClickable:k!=null,isHighlighted:a,style:n,...N,onClick:z,children:[t.jsxs(ho,{children:[t.jsx(ao,{notificationData:e,users:o}),t.jsx(ro,{...e})]}),t.jsx(no,{timestamp:m,readStatus:x})]})},ao=({notificationData:e,users:o})=>t.jsx(It,{children:t.jsx(Ct,{notificationData:e,users:o})}),ro=e=>t.jsx(It,{children:t.jsx(Tt,{...e})}),no=e=>t.jsx(co,{children:t.jsx(Nt,{...e})}),lo=r.div`
|
|
179
179
|
display: flex;
|
|
180
180
|
flex-direction: row;
|
|
181
181
|
align-items: baseline;
|
|
@@ -244,7 +244,7 @@ import{d as Q,J as v,a9 as Kt,cF as Zt,V as t,bC as Xt,ac as Qt,aR as ei,o as i,
|
|
|
244
244
|
display: -webkit-box;
|
|
245
245
|
overflow: hidden;
|
|
246
246
|
-webkit-box-orient: vertical;
|
|
247
|
-
`,Lt=e=>v()==="small"?t.jsx(so,{...e}):t.jsx(Ci,{...e}),{common:{all:Me}}=P.getLocalizedStrings(),uo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=
|
|
247
|
+
`,Lt=e=>v()==="small"?t.jsx(so,{...e}):t.jsx(Ci,{...e}),{common:{all:Me}}=P.getLocalizedStrings(),uo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=Z(),{getValues:h}=ue(),u=h(s);return t.jsx(po,{style:n,children:t.jsx(pe,{mode:a,checkBoxes:[{label:t.jsx(fo,{htmlFor:`${s}.${Me.toLocaleLowerCase()}`,style:{color:d.colors.primary},children:ge(e)}),value:Me.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((p,m)=>{const f=m===0,x=e.notifications.length-1===m;return{label:t.jsx(Lt,{notificationData:p,users:o,style:{borderTopLeftRadius:f?i.sp2:void 0,borderTopRightRadius:f?i.sp2:void 0,borderBottomLeftRadius:x?i.sp2:void 0,borderBottomRightRadius:x?i.sp2:void 0},isHighlighted:u?.includes(p.inboxNotification.id)===!0,onNotificationTileClick:c}),value:p.inboxNotification.id,defaultChecked:!1,groupLabel:!1}})],name:s,isDisabled:l,style:{width:"100%"},checkBoxStyle:{padding:i.sp3},labelCheckBoxStyle:{padding:i.sp3}})})},po=r.div`
|
|
248
248
|
display: flex;
|
|
249
249
|
align-items: center;
|
|
250
250
|
width: 100%;
|
|
@@ -253,7 +253,7 @@ import{d as Q,J as v,a9 as Kt,cF as Zt,V as t,bC as Xt,ac as Qt,aR as ei,o as i,
|
|
|
253
253
|
align-items: flex-start;
|
|
254
254
|
width: 100%;
|
|
255
255
|
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
256
|
-
`,{common:{all:Ae}}=P.getLocalizedStrings(),mo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=
|
|
256
|
+
`,{common:{all:Ae}}=P.getLocalizedStrings(),mo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=Z(),{getValues:h}=ue(),u=h(s),p=g.useRef([]);return g.useEffect(()=>{p.current=p.current.slice(0,e.notifications.length)},[e.notifications.length]),t.jsx(go,{style:n,children:t.jsx(pe,{mode:a,checkBoxes:[{label:t.jsx(Oe,{htmlFor:`${s}.${Ae.toLocaleLowerCase()}`,style:{color:d.colors.primary,marginLeft:i.sp2},children:ge(e)}),value:Ae.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((m,f)=>{const x=f===0,k=e.notifications.length-1===f;return{label:t.jsx(Oe,{ref:B=>p.current[f]=B,htmlFor:`${s}.${m.inboxNotification.id}`,style:{padding:i.sp0},children:t.jsx(xo,{notificationData:m,users:o,style:{borderTopLeftRadius:x?i.sp2:void 0,borderTopRightRadius:x?i.sp2:void 0,borderBottomLeftRadius:k?i.sp2:void 0,borderBottomRightRadius:k?i.sp2:void 0,marginLeft:i.sp2},isHighlighted:u?.includes(m.inboxNotification.id)===!0,isSelectionMode:a==="always_on",onNotificationTileClick:c,onNotificationTileLongPress:()=>{p.current[f]?.click()}})}),value:m.inboxNotification.id,defaultChecked:!1,groupLabel:!1}})],name:s,isDisabled:l,style:{width:"100%",position:"relative"},checkBoxStyle:{padding:i.sp1,zIndex:2,left:`-${i.sp1}`,position:"absolute"},checkBoxIconStyle:{backgroundColor:d.colors.grey5}})})},go=r.div`
|
|
257
257
|
display: flex;
|
|
258
258
|
align-items: center;
|
|
259
259
|
width: 100%;
|
|
@@ -262,7 +262,7 @@ import{d as Q,J as v,a9 as Kt,cF as Zt,V as t,bC as Xt,ac as Qt,aR as ei,o as i,
|
|
|
262
262
|
align-items: flex-start;
|
|
263
263
|
width: 100%;
|
|
264
264
|
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
265
|
-
`,xo=r(Lt)``,bo=e=>v()==="small"?t.jsx(mo,{...e}):t.jsx(uo,{...e}),{commentsAndNotifications:{notifications:{message:wo}}}=P.getLocalizedStrings(),Pe={rowGap:new R(w[0],w[5],w[5])},yo=({notificationGroups:e,users:o,isFetching:s,hasMore:a,sectionId:n,checkBoxMode:l,scrollYOffset:c,currentSubTab:d,isDisabled:h,onUpdateScrollYOffset:u,onFetchNotificationGroups:p,onNotificationClick:m})=>{const f=v(),x=g.useRef(null),k=g.useRef({});g.useEffect(()=>{x.current?.resetAfterIndex(0,!0)},[f,x,e]),g.useEffect(()=>{x.current?.scrollTo(c)},[d]);const B=g.useCallback(C=>{if(k.current?.[C]!=null){const G=f==="small"&&a===!1&&C===e.length-1?Pe.rowGap.value("medium-regular"):Pe.rowGap.value(f);return k.current[C]+G}return(ft*St.value(f)+mt)*3+gt+xt},[f,k,e]),z=g.useCallback((C,G)=>{k.current={...k.current,[C]:G},x.current?.resetAfterIndex(0,!0)},[f,x,e]),N=g.useCallback(()=>{p()},[p]),b=g.useCallback(()=>{},[]),I=tt(C=>u(C),1e3,{trailing:!0}),j=C=>!a||C<e.length,V=g.useCallback(()=>a&&!s?N():b(),[a,s,N,b]),L=a?e.length+1:e.length;return t.jsx(jo,{children:t.jsx(ko,{windowSize:f,children:s&&e.length===0?t.jsx(
|
|
265
|
+
`,xo=r(Lt)``,bo=e=>v()==="small"?t.jsx(mo,{...e}):t.jsx(uo,{...e}),{commentsAndNotifications:{notifications:{message:wo}}}=P.getLocalizedStrings(),Pe={rowGap:new R(w[0],w[5],w[5])},yo=({notificationGroups:e,users:o,isFetching:s,hasMore:a,sectionId:n,checkBoxMode:l,scrollYOffset:c,currentSubTab:d,isDisabled:h,onUpdateScrollYOffset:u,onFetchNotificationGroups:p,onNotificationClick:m})=>{const f=v(),x=g.useRef(null),k=g.useRef({});g.useEffect(()=>{x.current?.resetAfterIndex(0,!0)},[f,x,e]),g.useEffect(()=>{x.current?.scrollTo(c)},[d]);const B=g.useCallback(C=>{if(k.current?.[C]!=null){const G=f==="small"&&a===!1&&C===e.length-1?Pe.rowGap.value("medium-regular"):Pe.rowGap.value(f);return k.current[C]+G}return(ft*St.value(f)+mt)*3+gt+xt},[f,k,e]),z=g.useCallback((C,G)=>{k.current={...k.current,[C]:G},x.current?.resetAfterIndex(0,!0)},[f,x,e]),N=g.useCallback(()=>{p()},[p]),b=g.useCallback(()=>{},[]),I=tt(C=>u(C),1e3,{trailing:!0}),j=C=>!a||C<e.length,V=g.useCallback(()=>a&&!s?N():b(),[a,s,N,b]),L=a?e.length+1:e.length;return t.jsx(jo,{children:t.jsx(ko,{windowSize:f,children:s&&e.length===0?t.jsx(Zi,{}):s===!1&&e.length===0?t.jsx(it,{message:wo.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(So,{windowSize:f,children:t.jsx(ot,{children:({height:C,width:G})=>t.jsx(st,{isItemLoaded:j,itemCount:bt,loadMoreItems:V,children:({onItemsRendered:W,ref:U})=>t.jsx(at,{ref:Y=>{U(Y),x.current=Y},height:C,itemCount:L,itemData:{notificationGroups:e,users:o,sectionId:n,checkBoxMode:l,isDisabled:h,isItemLoaded:j,setRowHeight:z,onNotificationClick:m},onItemsRendered:W,itemSize:B,width:G,style:{willChange:"auto"},overscanCount:wt,onScroll:({scrollOffset:Y})=>{I(Y)},initialScrollOffset:c,children:$o})})})})})})},$o=({index:e,style:o,data:s})=>{const{notificationGroups:a,users:n,sectionId:l,checkBoxMode:c,isItemLoaded:d,isDisabled:h,setRowHeight:u,onNotificationClick:p}=s,m=g.useRef(null),f=v();if(g.useEffect(()=>{m.current?.firstElementChild!=null&&u(e,m.current.firstElementChild.clientHeight)},[e,m,f,a[e]?.notifications]),d(e)===!0){const x=a[e],k=le(x);return t.jsx(Be,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:m,children:t.jsx(bo,{notificationGroup:x,sectionId:`${l}.${k}`,checkBoxMode:c,isDisabled:h,users:n,onNotificationTileClick:p})},k)}return t.jsx(Be,{ref:m,style:{...o,paddingBottom:i.sp0},children:t.jsx(ve,{numberOfRows:3})},he())},jo=r.div`
|
|
266
266
|
display: block;
|
|
267
267
|
background-color: ${e=>e.theme.colors.grey4};
|
|
268
268
|
height: 100%;
|
|
@@ -279,7 +279,7 @@ import{d as Q,J as v,a9 as Kt,cF as Zt,V as t,bC as Xt,ac as Qt,aR as ei,o as i,
|
|
|
279
279
|
top: ${i.sp0};
|
|
280
280
|
left: ${i.sp0};
|
|
281
281
|
box-sizing: border-box;
|
|
282
|
-
`,{common:{in:vo,strings:Rt},dateFormat:Co,commentsAndNotifications:{notifications:{actionStrings:{notifications:A}}}}=P.getLocalizedStrings(),_t=e=>{e.sort((n,l)=>n.createTime.isAfter(l.createTime)===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of $t){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),u=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),h=$().subtract(2,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),h=$().subtract(9,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=$().subtract(u,"month").startOf("M").startOf("d"),m=$().subtract(u,"month").endOf("M").endOf("d");u++,a=se(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},se=(e,o,s)=>{const a=[],n=e.map(l=>rt(o,s,l.createTime)?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>l.createTime.isAfter(c.createTime)===!0?-1:1),{singleGroup:a,remainingData:n}},To=e=>{let o=A.newActivity;return e.code==="in_progress"?o=A.due.replace("__task_status__",Re(e.name.toLocaleLowerCase())):o=A.due.replace("__task_status__",vo.toLocaleLowerCase().concat(Rt.space,Re(e.name.toLocaleLowerCase()))),o},No=e=>{const{eventData:{activities:o}}=e;let s=A.newActivity;if(o.length>0){const a=o[0].activityType,n=o[0].metadata.eventStatus;switch(a){case"task_archived":s=A.archive;break;case"task_deleted":s=A.delete;break;case"task_activities":s=A.activities;break;case"task_assigned":s=A.assign;break;case"task_created":s=A.create;break;case"task_due":s=n!=null?To(n):A.dueTomorrow;break;case"task_overdue":s=A.overdue.replace("__date__",o[0].metadata.additionalInfo?.dueDate.format(Co.visual.MMMDFormat)??Rt.empty);break;case"task_status_updated":s=A.statusUpdate;break}}return s},zt=new R(3,2,1,1,1),Dt=new R(w[8],33,33,33,35),ce={lineClamp:zt,sectionWidth:Dt},{common:{and:Fe,other:Io,others:Lo,texts:Ro,timeStrings:_o,strings:M,tags:zo}}=P.getLocalizedStrings(),Do=({notificationData:e,isHighlighted:o=!1,style:s,onNotificationTileClick:a})=>{const{status:n,notificationId:l,eventData:{entitiyId:c,activities:d},createTime:h}=e;return t.jsxs(Go,{notificationStatus:n,isHighlighted:o,style:s,onClick:()=>{a(l,c,n,d.length>0?d[0].activityType:void 0)},children:[t.jsx(Mo,{...e}),t.jsx(Po,{...e}),t.jsx(Fo,{...e}),t.jsx(Bo,{createTime:h,notificationStatus:n})]})},Mt=e=>{const{status:o,eventData:{title:s}}=e;return t.jsx(
|
|
282
|
+
`,{common:{in:vo,strings:Rt},dateFormat:Co,commentsAndNotifications:{notifications:{actionStrings:{notifications:A}}}}=P.getLocalizedStrings(),_t=e=>{e.sort((n,l)=>n.createTime.isAfter(l.createTime)===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of $t){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),u=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),h=$().subtract(2,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),h=$().subtract(9,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=$().subtract(u,"month").startOf("M").startOf("d"),m=$().subtract(u,"month").endOf("M").endOf("d");u++,a=se(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},se=(e,o,s)=>{const a=[],n=e.map(l=>rt(o,s,l.createTime)?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>l.createTime.isAfter(c.createTime)===!0?-1:1),{singleGroup:a,remainingData:n}},To=e=>{let o=A.newActivity;return e.code==="in_progress"?o=A.due.replace("__task_status__",Re(e.name.toLocaleLowerCase())):o=A.due.replace("__task_status__",vo.toLocaleLowerCase().concat(Rt.space,Re(e.name.toLocaleLowerCase()))),o},No=e=>{const{eventData:{activities:o}}=e;let s=A.newActivity;if(o.length>0){const a=o[0].activityType,n=o[0].metadata.eventStatus;switch(a){case"task_archived":s=A.archive;break;case"task_deleted":s=A.delete;break;case"task_activities":s=A.activities;break;case"task_assigned":s=A.assign;break;case"task_created":s=A.create;break;case"task_due":s=n!=null?To(n):A.dueTomorrow;break;case"task_overdue":s=A.overdue.replace("__date__",o[0].metadata.additionalInfo?.dueDate.format(Co.visual.MMMDFormat)??Rt.empty);break;case"task_status_updated":s=A.statusUpdate;break}}return s},zt=new R(3,2,1,1,1),Dt=new R(w[8],33,33,33,35),ce={lineClamp:zt,sectionWidth:Dt},{common:{and:Fe,other:Io,others:Lo,texts:Ro,timeStrings:_o,strings:M,tags:zo}}=P.getLocalizedStrings(),Do=({notificationData:e,isHighlighted:o=!1,style:s,onNotificationTileClick:a})=>{const{status:n,notificationId:l,eventData:{entitiyId:c,activities:d},createTime:h}=e;return t.jsxs(Go,{notificationStatus:n,isHighlighted:o,style:s,onClick:()=>{a(l,c,n,d.length>0?d[0].activityType:void 0)},children:[t.jsx(Mo,{...e}),t.jsx(Po,{...e}),t.jsx(Fo,{...e}),t.jsx(Bo,{createTime:h,notificationStatus:n})]})},Mt=e=>{const{status:o,eventData:{title:s}}=e;return t.jsx(Wo,{notificationStatus:o,children:s||M.hyphen})},Mo=e=>{const o=v();return t.jsx(Vo,{windowSize:o,children:t.jsx(Mt,{...e})})},Ao=e=>{const{eventData:{activities:o}}=e;if(o.length>0&&o[0].activityType==="task_status_updated"){const s=o[0].metadata.updates.find(a=>a.type==="code_name_pair"&&a.field==="status");if(s?.oldValue.codeNamePair!=null&&s.newValue.codeNamePair!=null)return t.jsxs(Jo,{children:[t.jsx(Ge,{backgroundColor:_e(s.oldValue.codeNamePair),children:s.oldValue.codeNamePair.name}),t.jsx(qo,{}),t.jsx(Ge,{backgroundColor:_e(s.newValue.codeNamePair),children:s.newValue.codeNamePair.name})]})}return null},Oo=e=>{const{status:o,eventData:{authors:s,activities:a}}=e,n=s.length;if(a[0].activityType==="task_due"||a[0].activityType==="task_overdue"||a[0].activityType==="task_status_updated")return null;let l=t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,Ro.zeniAI,M.space]});return n>0&&(n>2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,E(s[0],!1),M.space]}),Fe,t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.space,n-1,M.space,Lo,M.space]})]}):n===2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,E(s[0],!1),M.space]}),Fe,t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.space,s.length===2?M.atTheRate+E(s[1],!1):Io,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(Oo,{...e}),No(e),t.jsx(Ao,{...e})]}),Po=e=>{const o=v(),{eventData:{activities:s}}=e;return t.jsx(Ho,{windowSize:o,statusUpdate:s.length>0&&s[0].activityType==="task_status_updated"&&s[0].metadata.updates.find(a=>a.field==="status")!=null,children:t.jsx(At,{...e})})},Ot=e=>{const{createTime:o,notificationStatus:s}=e,a=jt(o.toDate());return t.jsxs(t.Fragment,{children:[t.jsx(Yo,{isNewNotification:a===_o.justNow,children:a}),t.jsx(Ko,{notificationStatus:s})]})},Bo=e=>{const o=v();return t.jsx(Uo,{windowSize:o,children:t.jsx(Ot,{...e})})},Pt=e=>{const{eventData:{activities:o}}=e;return o[0].activityType==="task_overdue"?t.jsx(hi,{tagTitle:zo.overdue,textColor:{color:new $e(S.alert),backgroundColor:new $e("transparent"),borderColor:new $e(S.alert)},showLoader:!1}):t.jsx(Qo,{})},Fo=e=>{const o=v();return t.jsx(Eo,{windowSize:o,children:t.jsx(Pt,{...e})})},Go=r.div`
|
|
283
283
|
display: flex;
|
|
284
284
|
flex-direction: row;
|
|
285
285
|
align-items: center;
|
|
@@ -329,14 +329,14 @@ import{d as Q,J as v,a9 as Kt,cF as Zt,V as t,bC as Xt,ac as Qt,aR as ei,o as i,
|
|
|
329
329
|
color: ${S.brandColorJade};
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
|
-
`,
|
|
332
|
+
`,Uo=r(H)`
|
|
333
333
|
width: ${e=>e.windowSize==="small"?"unset":"10%"};
|
|
334
334
|
gap: ${i.sp2};
|
|
335
335
|
display: flex;
|
|
336
336
|
align-items: center;
|
|
337
337
|
flex-shrink: 0;
|
|
338
338
|
justify-content: end;
|
|
339
|
-
`,
|
|
339
|
+
`,Eo=r(H)`
|
|
340
340
|
width: ${e=>e.windowSize==="small"?"unset":"10%"};
|
|
341
341
|
display: flex;
|
|
342
342
|
align-items: center;
|
|
@@ -366,9 +366,9 @@ import{d as Q,J as v,a9 as Kt,cF as Zt,V as t,bC as Xt,ac as Qt,aR as ei,o as i,
|
|
|
366
366
|
width: ${e=>ce.sectionWidth.valuePercentage(e.windowSize)};
|
|
367
367
|
`,q=r(me)`
|
|
368
368
|
color: ${e=>e.notificationStatus==="read"?e.theme.colors.grey1:S.brandColorJade};
|
|
369
|
-
`,
|
|
369
|
+
`,Wo=r(me)`
|
|
370
370
|
color: inherit;
|
|
371
|
-
`,
|
|
371
|
+
`,Yo=r(ht)`
|
|
372
372
|
flex-shrink: 0;
|
|
373
373
|
color: ${e=>e.isNewNotification?e.theme.colors.primary:"inherit"};
|
|
374
374
|
`,Jo=r.div`
|
|
@@ -387,17 +387,17 @@ import{d as Q,J as v,a9 as Kt,cF as Zt,V as t,bC as Xt,ac as Qt,aR as ei,o as i,
|
|
|
387
387
|
width: ${i.sp3};
|
|
388
388
|
height: ${i.sp3};
|
|
389
389
|
color: ${e=>e.theme.colors.hero};
|
|
390
|
-
`,
|
|
390
|
+
`,Qo=r.div`
|
|
391
391
|
display: flex;
|
|
392
392
|
flex: 1 1 auto;
|
|
393
|
-
`,
|
|
393
|
+
`,Ko=r.div`
|
|
394
394
|
display: flex;
|
|
395
395
|
height: ${i.sp2};
|
|
396
396
|
width: ${i.sp2};
|
|
397
397
|
border-radius: ${i.sp2};
|
|
398
398
|
flex-shrink: 0;
|
|
399
399
|
background-color: ${e=>e.notificationStatus==="unread"?S.info:"transparent"};
|
|
400
|
-
`,ae={emptyRowItemSectionWidth:new R(120,200,280,330,400),emptyLastRowItemSectionWidth:new R(w[6],50,60,w[11],120)},Xo=()=>{const e=v();return t.jsxs(
|
|
400
|
+
`,ae={emptyRowItemSectionWidth:new R(120,200,280,330,400),emptyLastRowItemSectionWidth:new R(w[6],50,60,w[11],120)},Xo=()=>{const e=v();return t.jsxs(Zo,{windowSize:e,children:[t.jsx(re,{windowSize:e,isLastItem:!1,children:t.jsx(_,{width:ae.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(re,{windowSize:e,isLastItem:!1,children:t.jsx(_,{width:ae.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(re,{windowSize:e,isLastItem:!0,children:t.jsx(_,{width:ae.emptyLastRowItemSectionWidth.value(e),height:18})}),t.jsx(re,{windowSize:e,isLastItem:!0,children:t.jsx(_,{width:ae.emptyLastRowItemSectionWidth.value(e),height:18})})]})},Zo=r.div`
|
|
401
401
|
display: flex;
|
|
402
402
|
align-items: center;
|
|
403
403
|
justify-content: space-between;
|
|
@@ -428,7 +428,7 @@ import{d as Q,J as v,a9 as Kt,cF as Zt,V as t,bC as Xt,ac as Qt,aR as ei,o as i,
|
|
|
428
428
|
flex: 1 1 auto;
|
|
429
429
|
justify-content: ${e=>e.isLastItem?"flex-end":"start"};
|
|
430
430
|
width: ${e=>e.isLastItem?"10%":Dt.valuePercentage(e.windowSize)};
|
|
431
|
-
`,es=()=>{const e=v();return t.jsxs(ts,{windowSize:e,children:[t.jsxs(
|
|
431
|
+
`,es=()=>{const e=v();return t.jsxs(ts,{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})]})]})},ts=r.div`
|
|
432
432
|
display: flex;
|
|
433
433
|
flex-direction: column;
|
|
434
434
|
align-items: baseline;
|
|
@@ -454,7 +454,7 @@ import{d as Q,J as v,a9 as Kt,cF as Zt,V as t,bC as Xt,ac as Qt,aR as ei,o as i,
|
|
|
454
454
|
border-bottom-left-radius: ${i.sp2};
|
|
455
455
|
border-bottom-right-radius: ${i.sp2};
|
|
456
456
|
}
|
|
457
|
-
`,
|
|
457
|
+
`,Ue=r.div`
|
|
458
458
|
display: flex;
|
|
459
459
|
flex-direction: row;
|
|
460
460
|
align-items: start;
|
|
@@ -479,7 +479,7 @@ import{d as Q,J as v,a9 as Kt,cF as Zt,V as t,bC as Xt,ac as Qt,aR as ei,o as i,
|
|
|
479
479
|
`,ls=r.div`
|
|
480
480
|
display: flex;
|
|
481
481
|
padding: ${i.sp3} ${i.sp0};
|
|
482
|
-
`,ds=({notificationData:e,isSelectionMode:o=!1,isHighlighted:s=!1,style:a,onNotificationTileClick:n,onNotificationTileLongPress:l})=>{const{status:c,createTime:d,eventData:{entitiyId:h,activities:u},notificationId:p}=e,m=g.useCallback(()=>{l?.()},[l]),f=g.useCallback(k=>{k.stopPropagation(),k.cancelable&&k.preventDefault(),o?l?.():n(p,h,c,u.length>0?u[0].activityType:void 0)},[p,h,c,u,o,l,n]),x=pt({onLongPress:m},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(fs,{notificationStatus:c,isHighlighted:s,style:a,...x,onClick:f,children:[t.jsxs(
|
|
482
|
+
`,ds=({notificationData:e,isSelectionMode:o=!1,isHighlighted:s=!1,style:a,onNotificationTileClick:n,onNotificationTileLongPress:l})=>{const{status:c,createTime:d,eventData:{entitiyId:h,activities:u},notificationId:p}=e,m=g.useCallback(()=>{l?.()},[l]),f=g.useCallback(k=>{k.stopPropagation(),k.cancelable&&k.preventDefault(),o?l?.():n(p,h,c,u.length>0?u[0].activityType:void 0)},[p,h,c,u,o,l,n]),x=pt({onLongPress:m},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(fs,{notificationStatus:c,isHighlighted:s,style:a,...x,onClick:f,children:[t.jsxs(Ee,{children:[t.jsx(cs,{...e}),t.jsx(us,{createTime:d,notificationStatus:c})]}),t.jsxs(Ee,{children:[t.jsx(hs,{...e}),u.length>0&&u[0].activityType==="task_status_updated"?null:t.jsx(ps,{...e})]})]})},cs=e=>t.jsx(Bt,{statusUpdate:!1,children:t.jsx(Mt,{...e})}),hs=e=>{const{eventData:{activities:o}}=e;return t.jsx(Bt,{statusUpdate:o.length>0&&o[0].activityType==="task_status_updated"&&o[0].metadata.updates.find(s=>s.field==="status")!=null,children:t.jsx(At,{...e})})},us=e=>t.jsx(ms,{children:t.jsx(Ot,{...e})}),ps=e=>t.jsx(gs,{children:t.jsx(Pt,{...e})}),fs=r.div`
|
|
483
483
|
display: flex;
|
|
484
484
|
flex-direction: column;
|
|
485
485
|
align-items: baseline;
|
|
@@ -543,7 +543,7 @@ import{d as Q,J as v,a9 as Kt,cF as Zt,V as t,bC as Xt,ac as Qt,aR as ei,o as i,
|
|
|
543
543
|
align-items: center;
|
|
544
544
|
flex-shrink: 0;
|
|
545
545
|
justify-content: end;
|
|
546
|
-
`,
|
|
546
|
+
`,Ee=r.div`
|
|
547
547
|
display: flex;
|
|
548
548
|
flex-direction: row;
|
|
549
549
|
gap: ${i.sp3};
|
|
@@ -561,7 +561,7 @@ import{d as Q,J as v,a9 as Kt,cF as Zt,V as t,bC as Xt,ac as Qt,aR as ei,o as i,
|
|
|
561
561
|
-webkit-box-orient: horizontal;
|
|
562
562
|
gap: ${i.sp1};
|
|
563
563
|
`};
|
|
564
|
-
`,Ft=e=>v()==="small"?t.jsx(ds,{...e}):t.jsx(Do,{...e}),{common:{all:He}}=P.getLocalizedStrings(),xs=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=
|
|
564
|
+
`,Ft=e=>v()==="small"?t.jsx(ds,{...e}):t.jsx(Do,{...e}),{common:{all:He}}=P.getLocalizedStrings(),xs=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=Z(),{getValues:d}=ue(),h=d(o);return t.jsx(bs,{style:a,children:t.jsx(pe,{mode:s,checkBoxes:[{label:t.jsx(ws,{htmlFor:`${o}.${He.toLocaleLowerCase()}`,style:{color:c.colors.primary},children:ge(e)}),value:He.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((u,p)=>{const m=p===0,f=e.notifications.length-1===p;return{label:t.jsx(Ft,{notificationData:u,style:{borderTopLeftRadius:m?i.sp2:void 0,borderTopRightRadius:m?i.sp2:void 0,borderBottomLeftRadius:f?i.sp2:void 0,borderBottomRightRadius:f?i.sp2:void 0},isHighlighted:h?.includes(u.notificationId)===!0,onNotificationTileClick:l}),value:u.notificationId,defaultChecked:!1,groupLabel:!1}})],name:o,isDisabled:n,style:{width:"100%"},checkBoxStyle:{padding:i.sp3},labelCheckBoxStyle:{padding:i.sp3}})})},bs=r.div`
|
|
565
565
|
display: flex;
|
|
566
566
|
align-items: center;
|
|
567
567
|
width: 100%;
|
|
@@ -570,16 +570,16 @@ import{d as Q,J as v,a9 as Kt,cF as Zt,V as t,bC as Xt,ac as Qt,aR as ei,o as i,
|
|
|
570
570
|
align-items: flex-start;
|
|
571
571
|
width: 100%;
|
|
572
572
|
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
573
|
-
`,{common:{all:Ve}}=P.getLocalizedStrings(),ys=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=
|
|
573
|
+
`,{common:{all:Ve}}=P.getLocalizedStrings(),ys=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=Z(),{getValues:d}=ue(),h=d(o),u=g.useRef([]);return g.useEffect(()=>{u.current=u.current.slice(0,e.notifications.length)},[e.notifications.length]),t.jsx($s,{style:a,children:t.jsx(pe,{mode:s,checkBoxes:[{label:t.jsx(We,{htmlFor:`${o}.${Ve.toLocaleLowerCase()}`,style:{color:c.colors.primary,marginLeft:i.sp2},children:ge(e)}),value:Ve.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((p,m)=>{const f=m===0,x=e.notifications.length-1===m;return{label:t.jsx(We,{ref:k=>u.current[m]=k,htmlFor:`${o}.${p.notificationId}`,style:{padding:i.sp0},children:t.jsx(js,{notificationData:p,style:{borderTopLeftRadius:f?i.sp2:void 0,borderTopRightRadius:f?i.sp2:void 0,borderBottomLeftRadius:x?i.sp2:void 0,borderBottomRightRadius:x?i.sp2:void 0,marginLeft:i.sp2},isHighlighted:h?.includes(p.notificationId)===!0,isSelectionMode:s==="always_on",onNotificationTileClick:l,onNotificationTileLongPress:()=>{u.current[m]?.click()}})}),value:p.notificationId,defaultChecked:!1,groupLabel:!1}})],name:o,isDisabled:n,style:{width:"100%",position:"relative"},checkBoxStyle:{padding:i.sp1,zIndex:2,left:`-${i.sp1}`,position:"absolute"},checkBoxIconStyle:{backgroundColor:c.colors.grey5}})})},$s=r.div`
|
|
574
574
|
display: flex;
|
|
575
575
|
align-items: center;
|
|
576
576
|
width: 100%;
|
|
577
|
-
`,
|
|
577
|
+
`,We=r(fe)`
|
|
578
578
|
display: flex;
|
|
579
579
|
align-items: flex-start;
|
|
580
580
|
width: 100%;
|
|
581
581
|
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
582
|
-
`,js=r(Ft)``,ks=e=>v()==="small"?t.jsx(ys,{...e}):t.jsx(xs,{...e}),{commentsAndNotifications:{notifications:{message:Ss}}}=P.getLocalizedStrings(),
|
|
582
|
+
`,js=r(Ft)``,ks=e=>v()==="small"?t.jsx(ys,{...e}):t.jsx(xs,{...e}),{commentsAndNotifications:{notifications:{message:Ss}}}=P.getLocalizedStrings(),Ye={rowGap:new R(w[0],w[5],w[5])},vs=({notificationGroups:e,isFetching:o,hasMore:s,sectionId:a,checkBoxMode:n,scrollYOffset:l,currentSubTab:c,isDisabled:d,onUpdateScrollYOffset:h,onFetchNotificationGroups:u,onNotificationClick:p})=>{const m=v(),f=g.useRef(null),x=g.useRef({});g.useEffect(()=>{f.current?.resetAfterIndex(0,!0)},[m,f,e]),g.useEffect(()=>{f.current?.scrollTo(l)},[c]);const k=g.useCallback(L=>{if(x.current?.[L]!=null){const C=m==="small"&&s===!1&&L===e.length-1?Ye.rowGap.value("medium-regular"):Ye.rowGap.value(m);return x.current[L]+C}return(ft*zt.value(m)+mt)*3+gt+xt},[m,x,e]),B=g.useCallback((L,C)=>{x.current={...x.current,[L]:C},f.current?.resetAfterIndex(0,!0)},[m,f,e]),z=g.useCallback(()=>{u()},[u]),N=g.useCallback(()=>{},[]),b=tt(L=>h(L),1e3,{trailing:!0}),I=L=>!s||L<e.length,j=g.useCallback(()=>s&&!o?z():N(),[s,o,z,N]),V=s?e.length+1:e.length;return t.jsx(Ts,{children:t.jsx(Ns,{windowSize:m,children:o&&e.length===0?t.jsx(ss,{}):o===!1&&e.length===0?t.jsx(it,{message:Ss.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(Is,{windowSize:m,children:t.jsx(ot,{children:({height:L,width:C})=>t.jsx(st,{isItemLoaded:I,itemCount:bt,loadMoreItems:j,children:({onItemsRendered:G,ref:W})=>t.jsx(at,{ref:U=>{W(U),f.current=U},height:L,itemCount:V,itemData:{notificationGroups:e,sectionId:a,checkBoxMode:n,isDisabled:d,isItemLoaded:I,setRowHeight:B,onNotificationClick:p},onItemsRendered:G,itemSize:k,width:C,style:{willChange:"auto"},overscanCount:wt,onScroll:({scrollOffset:U})=>{b(U)},initialScrollOffset:l,children:Cs})})})})})})},Cs=({index:e,style:o,data:s})=>{const{notificationGroups:a,sectionId:n,checkBoxMode:l,isItemLoaded:c,isDisabled:d,setRowHeight:h,onNotificationClick:u}=s,p=g.useRef(null),m=v();if(g.useEffect(()=>{p.current?.firstElementChild!=null&&h(e,p.current.firstElementChild.clientHeight)},[e,p,m,a[e]?.notifications]),c(e)===!0){const f=a[e],x=le(f);return t.jsx(Je,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:p,children:t.jsx(ks,{notificationGroup:f,sectionId:`${n}.${x}`,checkBoxMode:l,isDisabled:d,onNotificationTileClick:u})},x)}return t.jsx(Je,{ref:p,style:{...o,paddingBottom:i.sp0},children:t.jsx(Ce,{numberOfRows:3})},he())},Ts=r.div`
|
|
583
583
|
display: block;
|
|
584
584
|
background-color: ${e=>e.theme.colors.grey4};
|
|
585
585
|
height: 100%;
|
|
@@ -596,7 +596,7 @@ import{d as Q,J as v,a9 as Kt,cF as Zt,V as t,bC as Xt,ac as Qt,aR as ei,o as i,
|
|
|
596
596
|
top: ${i.sp0};
|
|
597
597
|
left: ${i.sp0};
|
|
598
598
|
box-sizing: border-box;
|
|
599
|
-
`,{common:{all:Te,texts:ne,footer:Ls,strings:{plus:Rs},numbers:{maximumCount:qe}},commentsAndNotifications:{notifications:{title:_s,texts:Gt,strings:
|
|
599
|
+
`,{common:{all:Te,texts:ne,footer:Ls,strings:{plus:Rs},numbers:{maximumCount:qe}},commentsAndNotifications:{notifications:{title:_s,texts:Gt,strings:Qe}}}=P.getLocalizedStrings(),ie={tableContainerLeftPadding:new R(w[2],w[2],w[2]),tableContainerRightPadding:new R(w[3],w[6],w[8]),tabsContainerLeftRightPadding:new R(w[3],w[6],w[8]),selectedNotificationsTextMarginLeft:new R(w[0],w[6],w[6])},zs={selectedNotificationsText:new ni("smallRegular","standardRegular")},Ke="notificationsPage",Q="commentsNotificationsTable",K="notificationsTable",Ut=20,ha=({notificationView:e,users:o,isNotificationSettingsVisible:s,isDisabled:a,onNotificationClick:n,onCommentNotificationClick:l,onUpdateNotificationViewUIState:c,onUpdateNotificationTabState:d,onUpdateNotificationViewCurrentTabAndSubTab:h,onUpdateNotificationViewSubTab:u,onFetchMoreNotifications:p,onUpdateNotificationStatus:m,onSettingsClick:f,onBackClick:x,onMarkAllNotificationsAsRead:k})=>{const B=Z(),z=v(),N=Qt({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>et(e),[e]),values:g.useMemo(()=>et(e),[e])}),{currentTab:b,currentSubTab:I,notificationDetailsByTab:j,allSubTabs:V,allNotifications:L,allExternalNotifications:C,notificationsForCurrentTabAndSubTab:G,externalNotificationsForCurrentTabAndSubTab:W}=e,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]),Y=g.useMemo(()=>V.map(y=>({label:y==="all"?Te:ne[y],id:y})),[V]),Et=g.useMemo(()=>kt(W).filter(y=>y.notifications.length>0),[W]),Ht=g.useMemo(()=>_t(G).filter(y=>y.notifications.length>0),[G]),Vt=async(y,T)=>{const F=y.split(".")[0],J=[];F!=null&&(F===Q||F===K)&&(Object.values(T[F]).forEach(D=>{J.push(...D.filter(qt=>qt.includes(Te.toLowerCase())===!1))}),d({selectedNotificationIds:J},b))};g.useEffect(()=>{const y=N.watch((T,{name:F})=>{F!=null&&T!=null&&Kt(()=>Vt(F,T))});return()=>{y.unsubscribe()}});const xe=g.useCallback(()=>{const y=[],T=j[b].selectedNotificationIdsForSubTab,F="read";if(b==="comments"){const J=C.filter(D=>D.inboxNotification.readAt==null).map(D=>D.inboxNotification.id);T.forEach(D=>{J.includes(D)&&y.push(D)})}else{const J=L.filter(D=>D.status!==F).map(D=>D.notificationId);T.forEach(D=>{J.includes(D)&&y.push(D)})}return y},[C,L,b,j]),Wt=xe().length>Ut?"disabled":a,be=N.watch(Q),we=N.watch(K),Le=g.useCallback(()=>{p(b,I)},[p,b,I]),Yt=g.useCallback(()=>{if(b==="comments"){const y={};Object.keys(be).forEach(T=>{y[T]=[]}),N.reset({[Q]:y,[K]:we},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}else{const y={};Object.keys(we).forEach(T=>{y[T]=[]}),N.reset({[K]:y,[Q]:be},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}d({selectedNotificationIds:[]},b)},[we,be]),Jt=g.useCallback(()=>{const y=j[b].selectedNotificationIdsForSubTab,T="read",F=xe();m(b,y,T,F)},[b,j,xe,m]);return t.jsxs(Ms,{children:[t.jsx(Xt,{source:"NotificationsPage",title:_s.notifications,backgroundColor:B.colors.grey4,onBackClick:x,rightSideComponent:s===!0?t.jsx(Qs,{onClick:f}):t.jsx(qs,{})}),t.jsx(Ps,{}),t.jsx(Os,{windowSize:z,children:t.jsx(xi,{tabs:U,selectedTab:b,onTabChange:y=>{const T=mi(y);T!=null&&h(T)},subTabs:Y,selectedSubTab:I,onSubTabChange:y=>{const T=fi(y);T!=null&&u(T)},subTabRightComponent:t.jsx(Ds,{notificationCount:j[b].uiState.unreadCount,markAsAllReadUpdateState:j[b].markAsAllReadState.fetchState,markAsReadUpdateState:j[b].markAsReadState.fetchState,onMarkAsAllReadClick:()=>{k(b)}})})}),t.jsx(As,{windowSize:z,children:t.jsx(Zt,{...N,children:t.jsx("form",{id:Ze(Ke),onSubmit:N.handleSubmit(Jt),style:{width:"100%"},children:b==="comments"?t.jsx(yo,{users:o,hasMore:j[b].uiState.hasMore,isFetching:j[b].fetchState==="In-Progress",scrollYOffset:j[b].uiState.scrollYOffset[I],currentSubTab:I,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Et,sectionId:Q,onFetchNotificationGroups:Le,onUpdateScrollYOffset:y=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[I]:y}},b),onNotificationClick:l}):t.jsx(vs,{hasMore:j[b].uiState.hasMore,isFetching:j[b].fetchState==="In-Progress",scrollYOffset:j[b].uiState.scrollYOffset[I],currentSubTab:I,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Ht,sectionId:K,onFetchNotificationGroups:Le,onUpdateScrollYOffset:y=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[I]:y}},b),onNotificationClick:n})})})}),j[b].selectedNotificationIdsForSubTab.length?t.jsx(ei,{formId:Ze(Ke),primaryBtn:{label:Gt.markAsRead,isLoading:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},isDisabled:Wt!=null},cancelBtn:{label:Ls.cancel,isDisabled:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},onClick:Yt},helperContainerStyle:z==="small"?{width:"100%"}:{rowGap:i.sp0},footerContentStyle:{gap:i.sp2},leftSideComponent:t.jsx(ye,{controller:z!=="small",children:t.jsx(Xe,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),topComponent:t.jsx(ye,{controller:z==="small",children:t.jsx(Xe,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),rightSideComponent:t.jsx(ye,{controller:z!=="small",children:t.jsx(Gs,{})})}):null]})},Ds=({markAsAllReadUpdateState:e,markAsReadUpdateState:o,notificationCount:s,onMarkAsAllReadClick:a})=>{const n=s===0,l=g.useCallback(()=>{e!=="In-Progress"&&o!=="In-Progress"&&!n&&a()},[e,o,n,a]);return t.jsx(Bs,{variant:"tertiary",size:"small",label:Gt.markAllAsRead,onClick:l,prefixIcon:e==="In-Progress"?t.jsx(oi,{size:"Small",start:!0}):t.jsx(Fs,{className:"mark-as-read"}),disabled:n,textStyle:{fontWeight:Ne.smallRegular.fontWeight},style:{borderRadius:i.sp1,border:"none",backgroundColor:"transparent",flexShrink:0,padding:i.sp0,cursor:o==="In-Progress"||e==="In-Progress"||n?"default":"pointer"}})},Xe=({selectedNotificationsCount:e})=>{const o=v();return t.jsxs(Us,{windowSize:o,children:[t.jsx(Hs,{children:t.jsx(Es,{isCircular:e<10,children:t.jsx(Vs,{children:e>qe?`${qe}${Rs}`:e})})}),t.jsxs(Js,{windowSize:o,children:[t.jsx(Ws,{children:e>1?Qe.notificationsSelected:Qe.notificationSelected}),e>Ut?t.jsx(Ys,{children:ne.maxLimit}):null]})]})},Ms=r.div`
|
|
600
600
|
display: flex;
|
|
601
601
|
height: 100vh;
|
|
602
602
|
width: 100%;
|
|
@@ -630,13 +630,13 @@ import{d as Q,J as v,a9 as Kt,cF as Zt,V as t,bC as Xt,ac as Qt,aR as ei,o as i,
|
|
|
630
630
|
`,Fs=r(ai)`
|
|
631
631
|
width: ${i.sp3};
|
|
632
632
|
height: ${i.sp3};
|
|
633
|
-
`,Gs=r.div``,
|
|
633
|
+
`,Gs=r.div``,Us=r.div`
|
|
634
634
|
display: flex;
|
|
635
635
|
align-items: center;
|
|
636
636
|
flex-direction: row;
|
|
637
637
|
gap: ${i.sp2};
|
|
638
638
|
margin-left: ${e=>ie.selectedNotificationsTextMarginLeft.valuePx(e.windowSize)};
|
|
639
|
-
`,
|
|
639
|
+
`,Es=r.div`
|
|
640
640
|
${e=>e.isCircular?O`
|
|
641
641
|
height: ${i.sp3};
|
|
642
642
|
width: ${i.sp3};
|
|
@@ -659,9 +659,9 @@ import{d as Q,J as v,a9 as Kt,cF as Zt,V as t,bC as Xt,ac as Qt,aR as ei,o as i,
|
|
|
659
659
|
align-items: center;
|
|
660
660
|
justify-content: center;
|
|
661
661
|
color: ${e=>e.theme.colors.hero};
|
|
662
|
-
`,
|
|
662
|
+
`,Ws=r(nt)`
|
|
663
663
|
display: flex;
|
|
664
|
-
`,
|
|
664
|
+
`,Ys=r(li)`
|
|
665
665
|
display: flex;
|
|
666
666
|
color: ${S.important};
|
|
667
667
|
margin-left: ${i.sp1};
|
|
@@ -674,7 +674,7 @@ import{d as Q,J as v,a9 as Kt,cF as Zt,V as t,bC as Xt,ac as Qt,aR as ei,o as i,
|
|
|
674
674
|
`,qs=r.div`
|
|
675
675
|
width: ${i.sp4};
|
|
676
676
|
height: ${i.sp4};
|
|
677
|
-
`,
|
|
677
|
+
`,Qs=r(ti)`
|
|
678
678
|
color: ${e=>e.theme.colors.hero};
|
|
679
679
|
width: ${i.sp4};
|
|
680
680
|
height: ${i.sp4};
|
|
@@ -682,4 +682,4 @@ import{d as Q,J as v,a9 as Kt,cF as Zt,V as t,bC as Xt,ac as Qt,aR as ei,o as i,
|
|
|
682
682
|
&:hover {
|
|
683
683
|
color: ${e=>e.theme.colors.primary};
|
|
684
684
|
}
|
|
685
|
-
`,
|
|
685
|
+
`,Ze=e=>`${e}_form`,et=e=>{const{allNotifications:o,allExternalNotifications:s,notificationDetailsByTab:{tasks:{selectedNotificationIds:a},comments:{selectedNotificationIds:n}}}=e,l={};_t(o).filter(d=>d.notifications.length>0).forEach(d=>{const h=d.notifications.map(u=>u.notificationId);l[le(d)]=a.filter(u=>h.includes(u))});const c={};return kt(s).filter(d=>d.notifications.length>0).forEach(d=>{const h=d.notifications.map(u=>u.inboxNotification.id);c[le(d)]=n.filter(u=>h.includes(u))}),{[Q]:c,[K]:l}},ua=(e,o)=>{const s=[];return Object.values(e).forEach(a=>{a.forEach(n=>{n.includes(Te.toLocaleLowerCase())===!1&&o.includes(n)&&s.push(n)})}),s};export{ha as default,ua as getSelectedNotificationIds,Ze as uniqueFormName};
|