@zeniai/web-cockpit-ui 1.14.16-prod → 1.14.17-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-BwrF_fEr-DkyA5i2K.js +21 -0
- package/dist/assets/{AIPerformancePage-Do5bswa_-C_3AQSmW.js → AIPerformancePage-4oC8MJWN-DKgtdhwX.js} +44 -44
- package/dist/assets/{AccountInfoPage-BBhgLi_k-BEL-d9SH.js → AccountInfoPage-mOPytffA-CHwRigZs.js} +3 -3
- package/dist/assets/{AccountInfoPageContent-BJqXMkH6-DyTAoC-w.js → AccountInfoPageContent-VULusDEd-6lGswsvl.js} +14 -14
- package/dist/assets/{AccountReconDetailsDrawerPage-CV09UnoU-C2cwjlKW.js → AccountReconDetailsDrawerPage-89APlrhb-BX-kF9hA.js} +18 -18
- package/dist/assets/{AccountRow-TlJ0aU9H-Bsj_tL7f.js → AccountRow-DJd-IAIl-CfLQe7at.js} +33 -33
- package/dist/assets/{AccountsPromoCardStack-D8Y5MNXA-C-d7RQtl.js → AccountsPromoCardStack-DE39TpIu-DvYK9R7k.js} +33 -33
- package/dist/assets/{AddAddressForCardDrawer-DKJpGW7r-BYzzdY7P.js → AddAddressForCardDrawer-CKdcU_pi-IPZLStMw.js} +2 -2
- package/dist/assets/{AddToWalletPage-1gMvHWq2-Ch9o-ffZ.js → AddToWalletPage-DPXW2fbY-CNPYHMH9.js} +24 -24
- package/dist/assets/{AgingReportsPage-Bzn9xmRs-DNxufvky.js → AgingReportsPage--CLUwcIa-DcSCN91R.js} +17 -17
- package/dist/assets/{AllUserItems-BPSpj-dO-D8kos4-M.js → AllUserItems-CC9l-O5G-DJbAuU58.js} +11 -11
- package/dist/assets/ApAgingDetailPage-CsQ3DujX-DWGGqNtg.js +46 -0
- package/dist/assets/AppBasePage-CgHKYFmd-Bs3-qi9M.js +68 -0
- package/dist/assets/{AppDrawerContent-Cq8GkRBD-DuDQINc_.js → AppDrawerContent-Cofo0-5p-DYgesCt7.js} +19 -19
- package/dist/assets/{ApprovalRulesSettingsPage-zKh1CLv3-B247RgIT.js → ApprovalRulesSettingsPage-DsshEbzW-DLpKueGV.js} +7 -7
- package/dist/assets/{ArAgingChart-Bs2fblA6-ChlWBnho.js → ArAgingChart-K2LSe8mo-CcrD54Kp.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-BWsV1tQP-Dp4cKRq1.js → ArAgingDetailPage-DCFL9YAy-Cw3hCUfd.js} +4 -4
- package/dist/assets/{AttachmentView-BDkq5i_5-DRAfPUB_.js → AttachmentView-Cn3VnVyO-BPJCq-4t.js} +9 -9
- package/dist/assets/{BankAccountSection-DL-Qgypb-ntt1culv.js → BankAccountSection-Au9_D0Ji-bmPPOv5B.js} +8 -8
- package/dist/assets/{BankAccountWarningSection-PFOmZUmz-DYoYlhmR.js → BankAccountWarningSection-927iR_QB-BLBTF_Hr.js} +7 -7
- package/dist/assets/{BankConnectionsSettingsPage-BiPEOltR-BNfKQDuY.js → BankConnectionsSettingsPage-CXab8fzD-0RsCLwrp.js} +49 -49
- package/dist/assets/{BillDetailPage-nUoy5Pib-bkWIkiZj.js → BillDetailPage-yIdrE7YG-CO1_hc0X.js} +21 -21
- package/dist/assets/{BillPayApprovalRuleDetailPage-uCd9CD_--AeSZKocD.js → BillPayApprovalRuleDetailPage-BJl_-eJN-DcYLdRk3.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BsvzOO92-BCvs-L8u.js → BillPayApprovalRulesPage-rXaFCSLp-DOP05VDc.js} +8 -8
- package/dist/assets/{BillPayPromoPage-D9tHxFrw-C5rtanfF.js → BillPayPromoPage-BLi_wIbj-CZGLSHx_.js} +10 -10
- package/dist/assets/{BillPaySetUpPage-Ci__X7jC-lnXNoOeF.js → BillPaySetUpPage-BFmpWT_x-zTzNnL_X.js} +2 -2
- package/dist/assets/{BillingSettingsPage-JcOqMK9G-BLXc3fsE.js → BillingSettingsPage-Da01aYql-DLGfaRzo.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-FeZEMsS6-CBeL4kBc.js → BillsBulkReviewDrawerPage-J2kO9_8C-B_ZetdEJ.js} +1 -1
- package/dist/assets/{BoxItem-BcQH7ATF-C3uqvDXb.js → BoxItem-CQlEDklH-QYh8SK8x.js} +4 -4
- package/dist/assets/BusinessVerificationPage-DWhXCuG5-BlJy48X_.js +140 -0
- package/dist/assets/{CardNumberSubText-CRythvN3-DBYBtHe-.js → CardNumberSubText-BTjxrF3b-CNbVWSfp.js} +1 -1
- package/dist/assets/{CashbackDetailPage-CDa_GOsq-Df17bkjp.js → CashbackDetailPage-qcMtGUQ0-ClM0O4ek.js} +22 -22
- package/dist/assets/{ChargeCardDetailPage-BVxvmvYF-CrmcdJfR.js → ChargeCardDetailPage-BurpUHl9-ks5Ylh0a.js} +32 -32
- package/dist/assets/{ChargeCardListPage-Dk_9p-sM-BKvDCZzD.js → ChargeCardListPage-CBIYOllB-hsormxMA.js} +22 -22
- package/dist/assets/{ChargeCardListTable-DLAZTf8n-YBAKvrSJ.js → ChargeCardListTable-BTZu7ldI-Dtf0dVvX.js} +104 -104
- package/dist/assets/ChargeCardPromoPage-us_v89rV-C0HHgs2t.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-QPLpJN2z-BSMBjY30.js → ChargeCardSetupPage-QOdjFcsr-C35vd8Nk.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-DwJYJjcf-CZn6_bQP.js → ChargeCardStatementsPage-C1UmjyIW-CQoBe4qC.js} +8 -8
- package/dist/assets/{ChargeCardUtils-BbByGmi9-MWdIZgnF.js → ChargeCardUtils-C3fhOMpV-CuPIdUk0.js} +1 -1
- package/dist/assets/{ChaseOverlay-CvXMdD8r-C6JvY114.js → ChaseOverlay-RPex2o5e-Smu9780P.js} +6 -6
- package/dist/assets/CheckDepositDrawerPage-XZJ1F0aC-kws9zCak.js +206 -0
- package/dist/assets/{CollapsableReportTable-BptltmMq-BmHW8pgs.js → CollapsableReportTable-Ds0h8x1N-DplOjSEj.js} +93 -93
- package/dist/assets/{CompanyOfficerDetailsSection-DTbhxCCJ-BSXATmyq.js → CompanyOfficerDetailsSection-B8yGAFVj-BXFGaLke.js} +24 -24
- package/dist/assets/{CompanyPassportCard-CRgbazO4-BRdnM0W_.js → CompanyPassportCard-BDei9Pfp-eYqW_Kg9.js} +6 -6
- package/dist/assets/{CompanyPassportPage-wdWKvOuO-D1RBsSbf.js → CompanyPassportPage-DFA733vS-D6CEIM7b.js} +32 -32
- package/dist/assets/CompleteProfile-BpX6H4vJ-BVnH0M9g.js +52 -0
- package/dist/assets/ConfettiBurst-97CCPVCH-9-b-8JXj.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-DTbrZv48-CQUpdvD5.js → CreateOrEditVendorPage-BSi6pOXN-DT6XT0bI.js} +10 -10
- package/dist/assets/{CreditCardPaymentDrawerPage-CGGM52ND-DELB_-OP.js → CreditCardPaymentDrawerPage-ZletyeGG-umQmaf0k.js} +17 -17
- package/dist/assets/{CreditCardPaymentPlgSection-BS99Rbz7-CRQRdFP6.js → CreditCardPaymentPlgSection-BE982atG-B6gcx6zm.js} +13 -14
- package/dist/assets/{CurrencySelectField-Cz1ZFZNL-DZM2eCDn.js → CurrencySelectField-cnP09xH2-COp3JBgC.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-Bw2z91CF-DSDFVCnm.js → CustomerOnboardingActivationPage-DhcKiTJ_-B4Bo0l5a.js} +9 -9
- package/dist/assets/CustomerOnboardingContainerPage-C1higvpq-CPTgkuej.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BY4rv3eB-DpN2U-_L.js → CustomerOnboardingDetailPageSkeleton-jguCmaVx-CPLJBFIe.js} +9 -9
- package/dist/assets/{CustomerOnboardingNoStepsPage-ByTpLszW-BOTerMcQ.js → CustomerOnboardingNoStepsPage-xakP7IDr-j9vb9__e.js} +2 -2
- package/dist/assets/{CustomerOnboardingPage-eyRDjOy--BiXwJMYF.js → CustomerOnboardingPage-Ct5YbyHs-BO0Sy5Lx.js} +9 -9
- package/dist/assets/{CustomerOnboardingProductSuitePage-C_GOhUsC-CUW7-7xZ.js → CustomerOnboardingProductSuitePage-CugfvMkw-B6aWX1Xf.js} +11 -11
- package/dist/assets/{Dashboard-DXTfxwrE-CdTiAowm.js → Dashboard-XbVGCnvI-Cwm6wdq7.js} +260 -242
- package/dist/assets/{DashboardReportPage-C7LmV0rQ-BbkdxNaL.js → DashboardReportPage-OeEPg2kx-DUWAiMA5.js} +21 -21
- package/dist/assets/{DepositAccTransactionItem-BH6np-wq-C1ri8NnK.js → DepositAccTransactionItem-Dy6qzuSL-bj1K9hi4.js} +10 -10
- package/dist/assets/DepositAccTransactionListPage-BisaE6sH-CXEjoVG5.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-DhM2CLtr-CA7eP7w9.js → DomesticWireDetailsPage-B0tbjNLO-ByvPg7x-.js} +1 -1
- package/dist/assets/{DownloadOverlay-CwqxQGbr-DXP8KffI.js → DownloadOverlay-BKKO1nm1-BQ5P_IH7.js} +15 -15
- package/dist/assets/{DrawerPage-C3k5XFW6-CsvAYe3c.js → DrawerPage-osM8gPVn-2LgFt42m.js} +10 -10
- package/dist/assets/EditPeoplePage-ixJkT03_-nZc9QeAd.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-DXLAtkkp-CbzO6uDg.js → EditReimbursementDetailPage-DvLeCixY-TeZdMP4Z.js} +23 -23
- package/dist/assets/{EntityDetailPage-_060OpVJ-CyhCOk00.js → EntityDetailPage-BzJbAOSj-9yzQeWus.js} +3 -3
- package/dist/assets/{EntitySummarySection-0QXWkpbX-B7-JCudu.js → EntitySummarySection-Drj07P9h-6nsX9189.js} +13 -13
- package/dist/assets/{ExpenseAutomationOverviewPage-GPO42_rS-PTg4tOdM.js → ExpenseAutomationOverviewPage-BQ9dwGkq-BSO9oU-G.js} +23 -23
- package/dist/assets/{ExpenseAutomationPage-BQArYLAG-BzVHNQ4g.js → ExpenseAutomationPage-DLld6Lux-C9UiIoPt.js} +56 -56
- package/dist/assets/{ExpressPayPage-DacK02lD-CKwnL4bJ.js → ExpressPayPage-QBNV0dC8-pBCRR5Rb.js} +12 -12
- package/dist/assets/FeaturePreviewPage-CpBX-Xic-BYSOYP2k.js +11 -0
- package/dist/assets/{FollowStepsSection-CMTo4gYl-Bjx6twPv.js → FollowStepsSection-1RCO2W7K-C-MoCYne.js} +25 -25
- package/dist/assets/{GlobalReviewListPage-BbI2YDxl-k0ysjeTV.js → GlobalReviewListPage-ByMZFe7Y-CdorqsTM.js} +14 -14
- package/dist/assets/{HelpButton-Coe4ii48-krhIkYJy.js → HelpButton-CzTfBZQj-DZRTwrFl.js} +2 -2
- package/dist/assets/{InformationCardStack-BIumm5SJ-C1s5cfXO.js → InformationCardStack-C0AmMOu2-RArJXysN.js} +6 -6
- package/dist/assets/{InsightsCardStack-nndLG-Gx-Bbm-yvFB.js → InsightsCardStack-BiIDBYY8-5lf82tLY.js} +7 -7
- package/dist/assets/InsightsSection-C-kpIvRH-CdqlGqmg.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-BRH3t6mo-CGhczdJp.js → IntegrationsSettingsPage-7wAnV8kG-PXEXvEB6.js} +8 -8
- package/dist/assets/{InternationalWireSwiftDetailsPage-vgA7iek9-DvYFFVKn.js → InternationalWireSwiftDetailsPage-C7D15jtK-Li0eKKsY.js} +16 -16
- package/dist/assets/{InternationalWireVerificationPage-DEIs1ydr-BWxwXlea.js → InternationalWireVerificationPage-GDKPXtU--j4IpooKm.js} +20 -20
- package/dist/assets/{InviteFormPage-Bowy0arK-CUyq4iu1.js → InviteFormPage-CKGJHYWa-DWj-EAub.js} +20 -20
- package/dist/assets/{InvitePageListView-DuXb15Ll-AB5e7fm2.js → InvitePageListView-CWXyDZU2-DCU4lB3m.js} +54 -54
- package/dist/assets/InvitePeoplePage-CPBMZNa--DlK3foAM.js +12 -0
- package/dist/assets/InvoiceUploadSection-C0WzT0uv-Cn2JF08l.js +140 -0
- package/dist/assets/{IssueChargeCardPage-BIL4e5I_-CIFRPoHj.js → IssueChargeCardPage-DLX44XaR-CcflhM3M.js} +31 -31
- package/dist/assets/LabeledAddressValue-B8awEVKI-DfzIlkwb.js +49 -0
- package/dist/assets/LabeledAddressValueField-Dl5yKg2N-CzXWQu_Y.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-CwiyOI1Z-D_Avv8B8.js → LabeledControlledCheckBoxField-B6cLYSmS-taSeLw3M.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-yLzlQU6_-Ju9uxk3s.js → LabeledCreatableSingleSelectField-CV4GQQ7F-G2kg_Moc.js} +8 -8
- package/dist/assets/LabeledDocumentField-BFhyNqP8-B0rZURtH.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-M_7KWHOd-DVW-K4s5.js → LabeledDropDownFormattedTextField-gE3aWP_T-BOWWoTF_.js} +6 -6
- package/dist/assets/{LabeledText-CO_4w9Rx-xHGRFTa6.js → LabeledText-0pRIcJw5-Bl9-fI1Z.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-zPoNOgP7-BN8LY8_q.js → LabeledUserSingleSelectWithSubtitlesField-C-32ySGI-DFmPy8AM.js} +17 -17
- package/dist/assets/{LabeledZeniRolesDropDownField-C8-KfR-4-B0UPMMuM.js → LabeledZeniRolesDropDownField--l6D29VX-CyvURl9h.js} +11 -11
- package/dist/assets/{LinkJETransactionPage-CZVlsT4d-C3vBspYy.js → LinkJETransactionPage-DLcpx9ns-AgvCjDXO.js} +10 -10
- package/dist/assets/{LowBalancePopup-Dl5IXVvh-DAy2ciDD.js → LowBalancePopup-BuelKDeS-DZAUOSm3.js} +6 -6
- package/dist/assets/{MagicLinkACHDetailsPage-CP6ti0Ic-CsFI4O-m.js → MagicLinkACHDetailsPage-NIkquHvv-CI7Zc7xz.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-BhpSDeQW-CrbT-zrP.js → MagicLinkDomesticWireDetailsPage-CdaNz396-BGT3axjJ.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-BXxTeh0G-COpL4rAF.js → MagicLinkInternationalWireDetailsPage-CnEhS5PP-DPChbPBR.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Bix48QB5-D1kS8RTp.js → MagicLinkSuccessPage-D_VJZV0O-FtY4wcd1.js} +2 -2
- package/dist/assets/MagicLinkTitleSection-tHh2d5Ld-_QN59pd4.js +17 -0
- package/dist/assets/MailingDetailsSection-CTrx1xoB-By7vG4Hi.js +21 -0
- package/dist/assets/{MeetingCalenderPopup-DlnppXL_-BiSyzpy5.js → MeetingCalenderPopup-DWvpTRQJ-Bt4xdKnr.js} +1 -1
- package/dist/assets/{Menu-B_GJLZiP-DFhEZOah.js → Menu-CbQ6Zkdp-B0rPvp7W.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-2DAYVmHh-qP9m1w3C.js → MyBankConnectionsSettingsPage-9dQLb8iw-C8Rj57bA.js} +17 -17
- package/dist/assets/{MyPendingActivationChargeCardListPage-CWQq9D2t-D2B3tZ2t.js → MyPendingActivationChargeCardListPage-B2-YthuF-cm2yxhR4.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-imD_-Umc-Bx10sGY-.js → MyProfileSettingsPage-CfmYPv4_-aC1znwk8.js} +5 -5
- package/dist/assets/NavBarWithPicker-Bzkl4W0x-CDy3Aggh.js +30 -0
- package/dist/assets/{NavigationArrow-De1st3tA-B9w4webb.js → NavigationArrow-9pvhzLz8-DNW8ChSX.js} +1 -1
- package/dist/assets/NavigationDots-CXPwKFh1-CN4i4rO7.js +15 -0
- package/dist/assets/{NewGlobalMerchantPage-euJK3CXB-C5YkICvd.js → NewGlobalMerchantPage-D6ZpP6J1-D56cB-sU.js} +12 -12
- package/dist/assets/{NoDataChart-D_S6Pfkm-LLnc33cc.js → NoDataChart-BUR7CF8w-JBqV9jC1.js} +1 -1
- package/dist/assets/{NoDataTable-CLwNCXFE-Bjg0bIl4.js → NoDataTable-3L4pbKR0-B7fSM3B6.js} +1 -1
- package/dist/assets/{NotFoundPage-JfbMP3OG-CY7i_Kfb.js → NotFoundPage-CgZfmKbj-BRxQmcCY.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-YBgrQBb2-EJXBvlGY.js → NotificationSettingsPage-BwYT3Tdc-D89puZca.js} +14 -14
- package/dist/assets/NotificationsListConfig-CeeJpJ2p-8AiJrLfH.js +1 -0
- package/dist/assets/{NotificationsPage-C3pnQT-K-CJiJ_UTA.js → NotificationsPage-6qNQYQK4-DLvnPKkn.js} +39 -39
- package/dist/assets/{OpExByVendorPage-7FEOhvd--CnoWp8DX.js → OpExByVendorPage-C28MBvmW-CYPqi7IY.js} +6 -6
- package/dist/assets/{OverlayContainerPage-GWXnlbZH-BFHFEcwT.js → OverlayContainerPage-9K5jaX8Z-BZxsFO4t.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-D0f5zvhp-DeUoKhKB.js → PandLWithForecastPage-onJJ3Fh4-_QaDHG-Z.js} +12 -12
- package/dist/assets/PaymentAccountSetupBillingAddressSection-nGuJ5fbq-D3E47Aos.js +107 -0
- package/dist/assets/{PeoplePage-B-j04rvc-DqLWuIxr.js → PeoplePage-CKzezKqB-ByzrDmy1.js} +33 -33
- package/dist/assets/PortfolioAllocationFormPage-28Rg5Um0-BlYwyLHy.js +207 -0
- package/dist/assets/{PortfolioDetails-C-YfZonF-C0LO_lmx.js → PortfolioDetails-CIv1yXo2-BXO78bZH.js} +34 -34
- package/dist/assets/{ProductsCarousel-9USsVLuf-DvG85ADA.js → ProductsCarousel-CSUQ6rVw-BjLG54WQ.js} +7 -7
- package/dist/assets/{PromoBaseCards-OKpdHchW-C8RUmLQR.js → PromoBaseCards-2L1JfY-v-8Fx_ViSz.js} +5 -5
- package/dist/assets/{QBOConnectionDialog-BUr2NQiK-D_4NV4Ob.js → QBOConnectionDialog-DNP_b7aK-BzvUOq7o.js} +5 -5
- package/dist/assets/{QBOSetupSection-Cmf7-3wv-CEW6_Dgm.js → QBOSetupSection-CGrGCC2j-CuJwLC6X.js} +11 -11
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-Dev4FHVt-D2i8KVdM.js → ReimbursementApprovalRuleDetailPage-DqxyCfuQ-BcbdBa6J.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BLMJY7El-CUqIlEIu.js → ReimbursementApprovalRulesPage-D_RMSSoW-DW4d-zUH.js} +33 -33
- package/dist/assets/{ReimbursementDetailPage-BIyq0BC0-DjKUxnpq.js → ReimbursementDetailPage-BkT7zJoE-BUepvklz.js} +20 -20
- package/dist/assets/ReimbursementPromoPage-DQsLI50f-DvpBhx7F.js +112 -0
- package/dist/assets/{ReimbursementSetUpPage-VKXRSodl-Djprhgo8.js → ReimbursementSetUpPage-lH4Z7Lqi-C3uS6udC.js} +15 -15
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BmUcVSjU-DWFwC8Be.js → ReimbursementsBulkReviewDrawerPage-Bvh4mRws-DVwJvL8d.js} +1 -1
- package/dist/assets/{ReloadCard-DZhxB7Ar-BBcsZOJA.js → ReloadCard-BQKVLlzZ-CTM6ZQom.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-DSfx5ZD--C8F9v0zJ.js → ReportTableViewSelector-Cvk4LxRf-eJ2TbRx4.js} +10 -10
- package/dist/assets/{ReportsPage-CLH0u0Bh-DRLLUOMA.js → ReportsPage-C2cIfu51-BxZnm0Ag.js} +5 -5
- package/dist/assets/{RevenueChart-BeqQveLu-CL7EicIj.js → RevenueChart-ByCekdyG-8uQwfY47.js} +17 -17
- package/dist/assets/{ReviewDetailsPage-Dq7hRX5W-pUpjYQJZ.js → ReviewDetailsPage-DGyfz9q5-BKYXEzMr.js} +25 -25
- package/dist/assets/{ReviewOverlay-BNHqYk2g-J_dzfLEw.js → ReviewOverlay-Dp5yLAdR-BtQ_1SYB.js} +24 -24
- package/dist/assets/RoleWithToolTip-B7xRZ-3a-DOUAAL_V.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-QE0wa196-C6RpkKjE.js → ScheduleDetailsFixedAssetsPage-BvJX-G-F-EcV0Ga4I.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-BVyX-Z0H-Eq5Kzwpf.js → ScheduleDetailsPage-CNpkuW7O-B_ravSuG.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-D1FYbPfU-g7L-_vJ3.js → ScheduleSequenceTable-B_90qPjE-CouAcwmm.js} +16 -16
- package/dist/assets/{ScreenRoutes-CV4K1eft.js → ScreenRoutes-AFpRn9FR.js} +62 -62
- package/dist/assets/{SetUpAccountSection-CYn2o43t-BAIcfhcV.js → SetUpAccountSection-D5x8PZG1-DygZSmwk.js} +17 -17
- package/dist/assets/{SetUpDefaultSection-C0-L2ZyA-BZCNHHjT.js → SetUpDefaultSection-BsOdnADR-CaLnvPCj.js} +10 -10
- package/dist/assets/{SignIn-BIxTodeo-xl1UQLqg.js → SignIn-Bt7hCYjV-EKx-pTxB.js} +20 -20
- package/dist/assets/{SignInScreen-BPfKNMHp.js → SignInScreen-rurSzHF5.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DXtvYcrg-yIFYJuPE.js → SpendManagementListViewPage-C5cJKuRq-BvXZ8iTI.js} +12 -12
- package/dist/assets/{SpendManagementPerTabPage-Cn-UsxaR-BSQJxeEs.js → SpendManagementPerTabPage-IBAw8wc4-CqequpCF.js} +45 -45
- package/dist/assets/{SpendManagementSection-BBR4aFIT-BNxALG4B.js → SpendManagementSection-yNP3swb6-CDpN_vFS.js} +14 -14
- package/dist/assets/{SpendMgmtSetupAccountSection-DedLETSm-Ret-PfmC.js → SpendMgmtSetupAccountSection-CYxt9dN8-jE6ury5g.js} +19 -19
- package/dist/assets/{StatementItem-CnpTW8qb-OJhscqJG.js → StatementItem-q9U89Htr-Dnon4hoE.js} +9 -9
- package/dist/assets/{StatementsPage-Pdhh6wDA-QYGCUpat.js → StatementsPage-BM5Glizw-CQVS_jKg.js} +6 -6
- package/dist/assets/{StatusSwitcher-CY3fhZpk-CZLiE467.js → StatusSwitcher-CtuL5COG-G6MVUY78.js} +1 -1
- package/dist/assets/{SubTabSwitcher-BgzS4on6-BHvnj1rf.js → SubTabSwitcher-DHiC-mOv-DT2nPRyj.js} +3 -3
- package/dist/assets/{SummaryCard-DB_r9qW_-DgDS1FE9.js → SummaryCard-D4Me-qWU-DQUY-zeO.js} +1 -1
- package/dist/assets/{TaskManagementPage-B0gR2j1v-BHfuaSkL.js → TaskManagementPage-D-F7ufTD-e1fJ4aPt.js} +34 -34
- package/dist/assets/{TimeRangeSwitcher-BbdpFsMU-mxUiCV_7.js → TimeRangeSwitcher-CGN9Hq2L-r0shmfu7.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-CUpsv6b1-BsTQ_4Lb.js → TimeframeSwitcher-BN4-ACoQ-D22kJoI6.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DZbOWm8e-0cxkGofr.js → TimeframeSwitcherWithToggle-BkzCFclG-CPGMypUZ.js} +2 -2
- package/dist/assets/{TopExCard-Bn5xXUvj-_4iG4dk9.js → TopExCard-Wuzj4gLV-Dr3lX9dX.js} +5 -5
- package/dist/assets/{TopExDetailPage-DRjO-pGo-BX7dG4ka.js → TopExDetailPage-DMYNc-gj-DbGIeoCc.js} +10 -10
- package/dist/assets/{TransactionDetailPage-L-yLO1SI-CZncMNWY.js → TransactionDetailPage-CcryBjJ4-DTQbu83x.js} +43 -43
- package/dist/assets/{TransactionList-CSb5yqQj-CZz3Dorl.js → TransactionList-BrOpzi25-Db-4cinW.js} +9 -9
- package/dist/assets/{TransactionListBig-f2x4xrky-BskZiapH.js → TransactionListBig-D6QMNaV6-CAdEtJgN.js} +26 -26
- package/dist/assets/TransactionListPage-BB_LkPKR-hsIp58b2.js +35 -0
- package/dist/assets/TransactionVendorDetailPage-RajWBB1I-BdySPl7M.js +80 -0
- package/dist/assets/TransferDrawerPage-D-KFK0BM-lEsdgmBR.js +362 -0
- package/dist/assets/{TreasuryOverviewPage-B01cSfUQ-CoSXkaeB.js → TreasuryOverviewPage-EDaXKMNQ-CrrmzIet.js} +59 -59
- package/dist/assets/{TreasuryPromoPage-DC46ObGy-DJ1swnNW.js → TreasuryPromoPage-Brja4nGR-DglH7Il8.js} +26 -25
- package/dist/assets/{TreasurySetupPage-CiIqfQLR-b0uqhhM3.js → TreasurySetupPage-8ZXXBvyU-l9-yURTU.js} +9 -9
- package/dist/assets/{TreasuryStatementsPage-C_pfPvgz-Da7ziP7d.js → TreasuryStatementsPage-BjT1FVfa-wIBwl3Q0.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-D-4Ntky2-BixhQEkS.js → TreasuryTaxLetterPage-Cxk8TjrI-DPLTc42N.js} +5 -5
- package/dist/assets/TreasuryTransferOrReviewPage-DrNld8H2-DCvG8LPc.js +506 -0
- package/dist/assets/{TrendChart-DKIa4o8k-DmG5FDN6.js → TrendChart-D2B0mwGW-BG_v97N6.js} +5 -5
- package/dist/assets/{TrendWithTransactions-BumhCIjm-CcFQ1c6V.js → TrendWithTransactions-Ch8smOOz-jen0aqye.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-C4Njvj_H-Cg_asPOb.js → UncategorizedAccountsMappingPage-CCIn9g7v-pUmVA_Xq.js} +8 -8
- package/dist/assets/{UnitIntegrationPage-D_tfUXdS-DcsOhCUr.js → UnitIntegrationPage-SY0L_D7Z-Cbnt8xFH.js} +5 -5
- package/dist/assets/{UploadAdditionalDocumentOverlay-CSdTPTA3-sOgdeqjQ.js → UploadAdditionalDocumentOverlay-BowxerPw-ByoVxHT3.js} +2 -2
- package/dist/assets/{Vendor2FAPopup-DgKVft1G-DQoFQWGk.js → Vendor2FAPopup-DvWVDx58-nCTKo0G7.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-DdAbrbpS-DQBPQCCa.js → VendorACHDetailsPage-Ba1oMHkp-BxaJZz_l.js} +1 -1
- package/dist/assets/{VendorDetailPage-CSPbUx-h-BBS6ud2p.js → VendorDetailPage-CjBeVAkw-CNG6GTiT.js} +12 -12
- package/dist/assets/{VendorDomesticWireDetailsPage-GODvpEne-CKeD8fZ2.js → VendorDomesticWireDetailsPage-DJcyNUun-B_mMtp62.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-ByfEwSZJ-B7esT-KU.js → VendorFiling1099EditablePage-CUWkLY0f-CFmjh1GG.js} +10 -10
- package/dist/assets/{VendorFirstReviewPage-B2-UtNMO-BwGd6yu3.js → VendorFirstReviewPage-XUgEai-M-DTz6r_sf.js} +14 -14
- package/dist/assets/{VendorInternationalWireDetailsPage-DSziQ0jO-PISWviKk.js → VendorInternationalWireDetailsPage-BgHCBv0S-CqCl2AuO.js} +11 -11
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Dqc7XLbW-itlt2nNB.js → VendorInternationalWireSwiftDetailsPage-axseacZL-DJ6kdu0R.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-BLwMi5AB-BsJP-LC0.js → VendorsAccountsSection-oYghWvs6-YBKazVEG.js} +4 -4
- package/dist/assets/VerifyDevice-XUExnmR9-Dvl0QizA.js +67 -0
- package/dist/assets/{WarningsDrawerPage-3h7UME3Y-Dj4ukktP.js → WarningsDrawerPage-B1his2AN-wDPc6ygf.js} +11 -11
- package/dist/assets/{ZeniAccountDetailPage-Dn70Xhjm-D7PpnMAm.js → ZeniAccountDetailPage-B21kawRR-cYQnKtb2.js} +26 -26
- package/dist/assets/{ZeniAccountListViewPage-C7CX6-Bl-cFXwuwrK.js → ZeniAccountListViewPage-D9lefqbT-BqcU0pmn.js} +26 -26
- package/dist/assets/ZeniAccountNavBarPieces-5yZFq-zt-jLGGdcn1.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-CLufbB-B-1rX7JdIx.js → ZeniAccountPromoPage-B8aWqCOQ-CKv07I8x.js} +21 -21
- package/dist/assets/{ZeniAccountSetupPage-rLdRA3Ld-DNRI9WUg.js → ZeniAccountSetupPage-BmFF5yvk-D-AdXd5I.js} +3 -3
- package/dist/assets/{ZeniCopyright-BItiuePl-krUoL6Cx.js → ZeniCopyright-eQoaUH08-BVCPJkWr.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DYCK5UWr-vjRL3HXw.js → ZeniTransferAmountSlider-B6ftMZ_m-C-6X1EH-.js} +2 -2
- package/dist/assets/{analyticsHelper-D4zFEqKN-2_QyWwnT.js → analyticsHelper-Bns4muDg-CtVpldLz.js} +1 -1
- package/dist/assets/{analyticsHelper-C0R52dsk.js → analyticsHelper-u4uoMPvS.js} +1 -1
- package/dist/assets/{chartTypes-yiqF7w9Y-ClX5-pAK.js → chartTypes-ZJYcsh-k-BCVVPSGZ.js} +1 -1
- package/dist/assets/{commonDimensions-PPvas5dK-CFISpej6.js → commonDimensions-NUQEpowf-g8lux_Te.js} +1 -1
- package/dist/assets/{detailCommon-mCAXI64G-a_lZ_CZU.js → detailCommon-DMKakaa6-DVMNrgCv.js} +7 -7
- package/dist/assets/{downloadPdf-C3XpsGeN-C6jtczmZ.js → downloadPdf-CNrmv_yZ-BgWfIYNz.js} +1 -1
- package/dist/assets/{index-BrN88eSe.js → index-CnrHU8WN.js} +4373 -4206
- package/dist/assets/{liveblocks-sSQ9JElv.js → liveblocks-DZpRS25q.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-7wU2HX2P-waYQk5QB.js → mapLoadingInProgressToTreeNode-CwLhcXcQ-nJqrr22I.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-dSxF1sWM-CHqhyTKB.js → mapSectionWithAcOnlyToTreeNode-D8iLkGEE-Bl5usORJ.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-1mXbBuNs-9BpF4PJZ.js → mapSpacerToTreeNode-CF_gEYDy-aRE98CQL.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DXVQrusd-4VNebFso.js → mapTimeframeBalancesToTreeNode-B672MK55-v1Bjh3U8.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DtAULIDB-0AeuAW-4.js → mapTimeframeBalancesToTreeNode-Dp2QmYvb-Cr-c38Jl.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DAqn8gdX-CRyeRR0p.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BaEMd-vj-CsyeIH1c.js} +1 -1
- package/dist/assets/mui-Bi8r7UDG.js +25 -0
- package/dist/assets/{play-icon-NvLdXSYk-BED2_JCG.js → play-icon-CgWP2Myd-BVsSsxSg.js} +1 -1
- package/dist/assets/{redux-ByjIRbhZ.js → redux-CC-tnuv1.js} +1 -1
- package/dist/assets/{routing-Cpaypegg.js → routing-CxYXTKiv.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-C9fWPLt9-CuIz_cup.js → toCOABalancesWithID-DJNZCEmi-D5UU_YFX.js} +1 -1
- package/dist/assets/{toChartData-BMDCuCgs-Ca5j5Dv_.js → toChartData-HYsxUPzh-De2YqXiL.js} +1 -1
- package/dist/assets/{treasuryColorHelper-COfuUI3C-Ctxr5wUh.js → treasuryColorHelper-BgV2H9Kv-BBqEUahx.js} +1 -1
- package/dist/assets/{uploadAttachment-DSku547V-DjGPqTKv.js → uploadAttachment-BgjFjkkw-DJYt86D-.js} +34 -34
- package/dist/assets/{uploadReceipts-D80JLNY4-BN-02WEC.js → uploadReceipts-CwjPukNh-SrJVbi2t.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-DyEK-yAb-Dqec5oS9.js +0 -21
- package/dist/assets/ApAgingDetailPage-C2HUvxWk-C2ApdV7h.js +0 -46
- package/dist/assets/AppBasePage-C63xauck-CL9cAUG1.js +0 -68
- package/dist/assets/BusinessVerificationPage-ClBQ39GB-C6UTT9g_.js +0 -140
- package/dist/assets/ChargeCardPromoPage-COA7csMK-BMyJqQkH.js +0 -219
- package/dist/assets/CheckDepositDrawerPage-Cfdkbh0L-SIuwPUlZ.js +0 -206
- package/dist/assets/CompleteProfile-Cp_nXCBI-DjK0K2gW.js +0 -36
- package/dist/assets/ConfettiBurst-tf23hrA_-D4E2Rz_s.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-DXWtttsb-e0citU6h.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-BTZovTIK-uNz03KBJ.js +0 -66
- package/dist/assets/EditPeoplePage-D2zQG-_T-WZZxav2N.js +0 -55
- package/dist/assets/FeaturePreviewPage-Bv0D92ik-IctXHExY.js +0 -11
- package/dist/assets/InsightsSection-CSG5sVaE-BrL3KAS8.js +0 -27
- package/dist/assets/InvitePeoplePage-By3sTPj1-C4Ze5bbl.js +0 -12
- package/dist/assets/InvoiceUploadSection-B8OA6oqe-CeX7qFoF.js +0 -140
- package/dist/assets/LabeledAddressValue-BJ1dXCb1-siykGbUk.js +0 -49
- package/dist/assets/LabeledAddressValueField-DZCn1w6m-CSJvv5iy.js +0 -45
- package/dist/assets/LabeledDocumentField-gxNaFx2j-CxqYn8AB.js +0 -41
- package/dist/assets/MagicLinkTitleSection-DdTLuD-8-BxzYy6hn.js +0 -17
- package/dist/assets/MailingDetailsSection-Bo_v3Gp2-DGQdenpL.js +0 -21
- package/dist/assets/NavBarWithPicker-D0Bv9P4m-W153gset.js +0 -30
- package/dist/assets/NavigationDots-BfJxPG2K-DsedS7eT.js +0 -14
- package/dist/assets/NotificationsListConfig-TCmn6L9k-DfP_1Bdh.js +0 -1
- package/dist/assets/PaymentAccountSetupBillingAddressSection-CBvjcBEH-DwTC1Tj4.js +0 -106
- package/dist/assets/PortfolioAllocationFormPage-yvAHgF_R-CRL7B_ue.js +0 -207
- package/dist/assets/ReimbursementPromoPage-Dox8Q_BC-B4yNteoX.js +0 -112
- package/dist/assets/RoleWithToolTip-Cob2-Ppj-D_c_NDbd.js +0 -22
- package/dist/assets/TransactionListPage-XP6Axg1M-I8kgwBug.js +0 -35
- package/dist/assets/TransactionVendorDetailPage-CY9kUYZc-BzyApvHn.js +0 -80
- package/dist/assets/TransferDrawerPage-DOMX4_HE-Cr4BLbeU.js +0 -362
- package/dist/assets/TreasuryTransferOrReviewPage-CjxiFUqO-g0_nGlvv.js +0 -506
- package/dist/assets/ZeniAccountNavBarPieces-Cl1zQVNd-Bhr_7M-Y.js +0 -14
- package/dist/assets/mui-C5LQ0bMa.js +0 -25
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,
|
|
1
|
+
import{j as t,fB as ne,o as i,bf as se,M as I,a6 as re,u as X,e as Y,a as le,c7 as ae,l as P,aW as ce,F as de,T as w,a4 as pe,C as z,f6 as me,fC as ue,eF as he,fD as fe,fE as ge,af as xe,q as S,ao as J,d as K,n as Q,B as $e}from"./index-CnrHU8WN.js";import{n as o,b as E}from"./vendor-CnQcJ2Lu.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const{common:be}=I.getLocalizedStrings(),U={notePadding:new z(S[3],S[4]),noteGap:new z(S[0],6)},M=(e,n)=>`${e}.${n}`,ye=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
row-gap: ${i.sp3};
|
|
@@ -55,9 +55,9 @@ import{j as t,fy as ne,o as i,be as se,M as I,a6 as re,u as W,X,a as le,c3 as ae
|
|
|
55
55
|
color: ${e=>e.theme.colors.primary};
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
`,
|
|
58
|
+
`,D=o.div`
|
|
59
59
|
flex: 1;
|
|
60
|
-
`,
|
|
60
|
+
`,F=o(Q)`
|
|
61
61
|
color: ${e=>e.theme.colors.hero};
|
|
62
62
|
`,Ee=o(K)`
|
|
63
63
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -74,7 +74,7 @@ import{j as t,fy as ne,o as i,be as se,M as I,a6 as re,u as W,X,a as le,c3 as ae
|
|
|
74
74
|
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
75
75
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
76
76
|
gap: ${e=>U.noteGap.valuePx(e.windowSize)};
|
|
77
|
-
`,Ce=o.div``,Pe=o.span``;function Oe({sectionId:e,monthEndInsightsNotificationLocalData:n,monthEndInsightsNotificationSettings:s,managersList:a,allUsers:f,classList:m,controllersList:x}){const u=
|
|
77
|
+
`,Ce=o.div``,Pe=o.span``;function Oe({sectionId:e,monthEndInsightsNotificationLocalData:n,monthEndInsightsNotificationSettings:s,managersList:a,allUsers:f,classList:m,controllersList:x}){const u=X(),c=Y(),{sectionTitle:$,monthEndInsights:l,mode:b}=be.settings.notifications,h=x[0],O=x.slice(1).reduce((d,r)=>d.concat(`${r.email},`),"");return t.jsxs(ye,{children:[t.jsxs(je,{children:[t.jsx(we,{children:$.monthEndInsights}),t.jsx(Ce,{children:t.jsx(Ee,{children:b.email})})]}),t.jsxs(Se,{children:[t.jsxs(ve,{disabled:s.enabled==null,children:[t.jsx(F,{children:l.labels.notifyMe}),t.jsx(he,{defaultChecked:n.notify,checkBoxValue:M(e,"notify"),name:M(e,"notify"),checkedIconColor:s.enabled==null?u.colors.grey2:void 0})]}),t.jsx(w,{controller:s.enabled!=null,children:t.jsxs(Ie,{children:[t.jsx(D,{children:t.jsx(F,{children:l.labels.notifyOthers})}),t.jsx(D,{children:t.jsx(fe,{hideEmailTooltip:!1,showBackgroundColorIfHasAnySelectedOption:!1,shouldHaveBackgroundColor:!1,value:{allUsers:f,selectedUsers:f.filter(d=>n.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=ge(p.userRole.userRoles);j.length>0&&y.push(j);const N=m.find(L=>L.classId===p.userRole.accountingClassIDs[0]);return N!=null&&y.push(N.className),y}else return[]},name:M(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(ke,{windowSize:c,children:[l.stopReceivingEmailsText,h?t.jsxs(Ne,{href:`mailto:${h.email}?cc=${O}&subject=${encodeURIComponent(l.stopReceivingMonthEndInsightsSubject)}`,children:[t.jsx(Pe,{children:`${h.firstName} ${h.lastName}`}),t.jsx(xe,{className:"arrowIcon"})]}):null]})})]})]})}const q=(e,n,s)=>`${e}.${n}.${s}`,Le=o.div`
|
|
78
78
|
display: flex;
|
|
79
79
|
flex-direction: column;
|
|
80
80
|
row-gap: ${i.sp3};
|
|
@@ -84,17 +84,17 @@ import{j as t,fy as ne,o as i,be as se,M as I,a6 as re,u as W,X,a as le,c3 as ae
|
|
|
84
84
|
align-items: center;
|
|
85
85
|
`,Me=o(J)`
|
|
86
86
|
color: ${e=>e.theme.colors.primary};
|
|
87
|
-
`,
|
|
87
|
+
`,A=o.div`
|
|
88
88
|
display: flex;
|
|
89
89
|
`,V=o(K)`
|
|
90
90
|
color: ${e=>e.theme.colors.primary};
|
|
91
91
|
flex: 1;
|
|
92
92
|
width: 120px;
|
|
93
93
|
text-align: center;
|
|
94
|
-
`,
|
|
94
|
+
`,Te=o.div`
|
|
95
95
|
width: 120px;
|
|
96
96
|
display: flex;
|
|
97
|
-
`,
|
|
97
|
+
`,ze=o.div`
|
|
98
98
|
width: 120px;
|
|
99
99
|
display: flex;
|
|
100
100
|
padding-right: 12px;
|
|
@@ -104,7 +104,7 @@ import{j as t,fy as ne,o as i,be as se,M as I,a6 as re,u as W,X,a as le,c3 as ae
|
|
|
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
|
-
`,
|
|
107
|
+
`,De=o.div`
|
|
108
108
|
display: flex;
|
|
109
109
|
justify-content: space-between;
|
|
110
110
|
align-items: center;
|
|
@@ -118,7 +118,7 @@ import{j as t,fy as ne,o as i,be as se,M as I,a6 as re,u as W,X,a as le,c3 as ae
|
|
|
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
|
|
121
|
+
`;function Fe({sectionId:e,remindersLocalData:n,reminderNotificationSettings:s}){const{texts:a,settings:f}=I.getLocalizedStrings().common,{notifications:m}=f,x=P.NOTIFICATION_MODES.slice(0,1),u=P.REMINDER_NOTIFICATION_TYPES.filter(c=>s[c]!=null);return t.jsxs(Le,{children:[t.jsxs(Re,{children:[t.jsx(Me,{children:m.sectionTitle.reminders}),t.jsxs(A,{children:[t.jsx(V,{children:a.frequency}),t.jsx(V,{children:m.mode.email})]})]}),t.jsx(Ue,{children:u.map((c,$)=>t.jsxs(De,{firstElement:$===0,lastElement:$===u.length-1,children:[t.jsx(Be,{children:m.reminders[c]}),t.jsxs(A,{children:[t.jsx(ze,{children:t.jsx(me,{defaultValue:{allOptions:m.reminderFrequencyOptions,selectedOption:n[c].frequency},name:q(e,c,"frequency")})}),t.jsx(Te,{children:t.jsx(ue,{mode:"always_on",checkBoxes:x.map(l=>({label:"",value:l,defaultChecked:n[c].preferredMode.includes(l),groupLabel:!1})),name:q(e,c,"preferredMode"),style:{flexDirection:"row"},checkBoxContainerStyle:{justifyContent:"center"}})})]})]},c))})]})}const T={contentPadding:new z(S[3],S[8])},g="reminders",v="monthEndInsights",_="notificationSettingsPage",G=e=>`${e}_form`,{settings:Z,reloadPage:qe}=I.getLocalizedStrings().common,Ae=e=>{const n=X(),s=Y(),{notificationSettingsView:a,signedInUser:f,onFormDataChange:m,resetUpdateStatus:x,onSave:u,onCancel:c,onClickMenuIcon:$}=e,{notificationSettingsLocalData:l,allUsers:b,notificationSettings:h,classList:O,managersList:d,updateStatus:r,controllersList:y}=a,p=le({defaultValues:W(l,b)}),j=E.useCallback(R=>{m(Xe(R))},[m]),N=p.handleSubmit(()=>{u()}),L=E.useCallback(()=>{p.reset(),c()},[c]);E.useEffect(()=>{a.updateStatus.fetchState==="Completed"&&(p.reset(W(l,b)),x())},[l,a.updateStatus.fetchState,b]),E.useEffect(()=>{const R=p.watch((B,{name:oe})=>{oe!=null&&B!=null&&ae(()=>j(B))});return()=>{R.unsubscribe()}},[p,j]);const ee=Object.keys(p.formState.dirtyFields).length>0,te=f.userEmail!=null?P.isMonthEndNotificationsSectionVisibleOnSettingsPage(h.monthEndInsightsNotificationSettings,f.userEmail):!1,ie=P.isRemindersSectionVisibleOnSettingsPage(h.reminderNotificationSettings);return t.jsxs(t.Fragment,{children:[t.jsxs(Ve,{children:[t.jsx(ce,{source:"NotificationSettingsPage",title:Z.title.notifications,backgroundColor:n.colors.grey4,showBackButton:!1,showMenuIcon:s==="medium-compact"||s==="small",onClickMenuIcon:$}),t.jsx(_e,{windowSize:s,children:t.jsx(de,{...p,children:t.jsx("form",{id:G(_),onSubmit:N,children:t.jsxs(Ge,{children:[t.jsx(w,{controller:ie,children:t.jsx(Fe,{reminderNotificationSettings:h.reminderNotificationSettings,remindersLocalData:l.reminders,sectionId:g})}),t.jsx(w,{controller:te,children:t.jsx(Oe,{monthEndInsightsNotificationLocalData:l.monthEndInsights,monthEndInsightsNotificationSettings:h.monthEndInsightsNotificationSettings,sectionId:v,allUsers:b,classList:O,managersList:d,controllersList:y})})]})})})})]}),t.jsx(w,{controller:ee,children:t.jsx(pe,{style:{width:"100%"},formId:G(_),primaryBtn:{label:I.getLocalizedStrings().common.footer.save,isLoading:r.fetchState==="In-Progress",style:{width:"82px"}},cancelBtn:{label:I.getLocalizedStrings().common.footer.cancel,onClick:L,style:{width:"82px"}}})})]})};function nt(e){const{notificationSettingsView:n,onRefresh:s}=e,{fetchState:a}=n;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(He,{onClick:s,children:t.jsx(se,{})}),t.jsx(We,{children:qe.label})]}):t.jsx(Ae,{...e})}const Ve=o.div`
|
|
122
122
|
display: flex;
|
|
123
123
|
width: 100%;
|
|
124
124
|
min-height: 100vh;
|
|
@@ -135,9 +135,9 @@ import{j as t,fy as ne,o as i,be as se,M as I,a6 as re,u as W,X,a as le,c3 as ae
|
|
|
135
135
|
row-gap: ${i.sp3};
|
|
136
136
|
background-color: ${e=>e.theme.colors.grey4};
|
|
137
137
|
`,_e=o.div`
|
|
138
|
-
padding-left: ${e=>
|
|
139
|
-
padding-right: ${e=>
|
|
140
|
-
padding-bottom: ${e=>
|
|
138
|
+
padding-left: ${e=>T.contentPadding.valuePx(e.windowSize)};
|
|
139
|
+
padding-right: ${e=>T.contentPadding.valuePx(e.windowSize)};
|
|
140
|
+
padding-bottom: ${e=>T.contentPadding.valuePx(e.windowSize)};
|
|
141
141
|
`,Ge=o.div`
|
|
142
142
|
display: flex;
|
|
143
143
|
flex-direction: column;
|
|
@@ -157,7 +157,7 @@ import{j as t,fy as ne,o as i,be as se,M as I,a6 as re,u as W,X,a as le,c3 as ae
|
|
|
157
157
|
color: ${e=>e.theme.colors.primary};
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
`,
|
|
160
|
+
`,We=o(re)`
|
|
161
161
|
margin-top: ${i.sp3};
|
|
162
162
|
color: ${e=>e.theme.colors.hero};
|
|
163
|
-
`;function k(e){const n=Z.notifications.reminderFrequencyOptions;return{preferredMode:e.preferredMode,frequency:{selectedOption:e.frequency,allOptions:n}}}function
|
|
163
|
+
`;function k(e){const n=Z.notifications.reminderFrequencyOptions;return{preferredMode:e.preferredMode,frequency:{selectedOption:e.frequency,allOptions:n}}}function W(e,n){return{[g]:{missingReceiptNotification:k(e.reminders.missingReceiptNotification),uncategorizedTransactionNotification:k(e.reminders.uncategorizedTransactionNotification),pendingBillApprovalNotification:k(e.reminders.pendingBillApprovalNotification),pendingReimbursementApprovalNotification:k(e.reminders.pendingReimbursementApprovalNotification)},[v]:{notify:e.monthEndInsights.notify,recipientEmailIds:{allNonUsers:[],selectedNonUsers:[],allUsers:n,selectedUsers:n.filter(s=>e.monthEndInsights.recipientEmailIds.includes(s.email))}}}}function C(e){return{preferredMode:e.preferredMode,frequency:e.frequency.selectedOption}}function Xe(e){return{[g]:{missingReceiptNotification:C(e[g].missingReceiptNotification),uncategorizedTransactionNotification:C(e[g].uncategorizedTransactionNotification),pendingBillApprovalNotification:C(e[g].pendingBillApprovalNotification),pendingReimbursementApprovalNotification:C(e[g].pendingReimbursementApprovalNotification)},[v]:{...e[v],recipientEmailIds:e[v].recipientEmailIds.selectedUsers.map(n=>n.email)}}}export{nt as default,G as uniqueName};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{v as e,q as a}from"./index-CnrHU8WN.js";const r=a[5],o=59,i=a[5],l=e.standardRegular.lineHeightValue,n=1,s=1e3;export{l as A,i as E,n as I,s as L,o as a,r as t};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{u as
|
|
1
|
+
import{u as Q,e as v,a as Zt,M as B,c7 as Xt,j as t,aW as Qt,l as g,F as Kt,a4 as ei,o as i,T as we,gq as ti,C as R,hr as ii,v as Ne,m as oi,y as et,bP as tt,aj as it,dm as ot,bX as st,ja as at,q as w,J as si,jb as ai,dk as ce,ae as ri,X as ni,h as rt,g as S,d as li,bg as z,ck as ue,fC as he,jc as pe,Y as nt,d6 as lt,du as V,d1 as dt,fL as di,n as K,hF as ci,B as Y,e$ as ui,a8 as ye,ap as fe,jd as hi,bd as ct,je as Ie,aR as pi}from"./index-CnrHU8WN.js";import{b as x,n as r,j as O}from"./vendor-CnQcJ2Lu.js";import{k as fi}from"./SubTabSwitcher-DHiC-mOv-DT2nPRyj.js";import{d as ut}from"./useLongPress-GCK2COYQ-gxLtL5O4.js";import{A as ht,t as pt,a as ft,E as mt,L as gt,I as xt}from"./NotificationsListConfig-CeeJpJ2p-8AiJrLfH.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";function mi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:u}){const h=v(),f=Q(),m=x.useCallback(b=>{d(b.id)},[d]),p=x.useCallback(b=>{u(b.id)},[u]);return e.length===0?null:t.jsxs(gi,{windowSize:h,children:[t.jsx(ii,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${f.colors.grey3}`},onTabChange:m}),t.jsx(fi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:p})]})}const gi=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
5
|
-
`,{common:{timeStrings:bt,strings:xi},dateFormat:Te,timeFormat:bi}=
|
|
5
|
+
`,{common:{timeStrings:bt,strings:xi},dateFormat:Te,timeFormat:bi}=B.getLocalizedStrings(),wt=["today","yesterday","last_7_days_this_month","earlier_this_month","earlier_that_month"],ne=e=>e.type.concat(xi.underscore).concat(e.start.format(Te.visual.DdashMMdashYYYYFormat)),me=e=>{switch(e.type){case"today":case"yesterday":case"earlier_this_month":case"last_7_days_this_month":return bt[e.type];case"earlier_that_month":return e.start.format(Te.visual.MMMYYYYFormat)}},yt=e=>{const o=g.zeniDate(e.toUTCString()),s=g.dateNow(),a=s.diff(o,"minutes"),n=s.diff(o,"seconds"),l=60,c=24*60;return n<=l?bt.justNow:a<c&&hi(o,0)?o.format(bi.hhmmAFormat):o.format(Te.visual.MMMDFormat)},Re=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:wi}}}}=B.getLocalizedStrings(),$t=e=>{e.sort((n,l)=>g.zeniDate(n.inboxNotification.notifiedAt.toUTCString()).isAfter(g.zeniDate(l.inboxNotification.notifiedAt.toUTCString()))===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of wt){let l=0,c=0,d=g.dateNow().subtract(Math.min(g.dateNow().date(),l),"d").startOf("d"),u=g.dateNow().subtract(Math.min(g.dateNow().date(),c),"d").endOf("d"),h=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=g.dateNow().subtract(Math.min(g.dateNow().date(),l),"d").startOf("d"),u=g.dateNow().subtract(Math.min(g.dateNow().date(),c),"d").endOf("d"),a=ie(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&g.dateNow().date()>2&&(d=g.dateNow().subtract(Math.min(g.dateNow().date()-1,8),"d").startOf("d"),u=g.dateNow().subtract(2,"d").endOf("d"),a=ie(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&g.dateNow().date()>9&&(d=g.dateNow().startOf("M").startOf("d"),u=g.dateNow().subtract(9,"d").endOf("d"),a=ie(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const f=g.dateNow().subtract(h,"month").startOf("M").startOf("d"),m=g.dateNow().subtract(h,"month").endOf("M").endOf("d");h++,a=ie(o,f,m),o=a.remainingData,s.push({start:f,end:m,type:n,notifications:a.singleGroup})}break}}return s},ie=(e,o,s)=>{const a=[],n=e.map(l=>at(o,s,g.zeniDate(l.inboxNotification.notifiedAt.toUTCString()))?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>g.zeniDate(l.inboxNotification.notifiedAt.toUTCString()).isAfter(g.zeniDate(c.inboxNotification.notifiedAt.toUTCString()))===!0?-1:1),{singleGroup:a,remainingData:n}},yi=e=>{const{thread:o}=e,{newRepliesAdded:s,newCommentAdded:a}=wi;return o.comments.length===1?a:s},jt=new R(3,2,1,1,1),kt=new R(w[8],w[6],35,35,w[6]),le={lineClamp:jt,sectionWidth:kt},{common:{texts:ze,timeStrings:$i,strings:ee},commentsAndNotifications:{notifications:{strings:{newMessage:ji},actionStrings:{comments:{newCommentAdded:ki}}}}}=B.getLocalizedStrings(),Si=({notificationData:e,users:o,isHighlighted:s=!1,style:a,onNotificationTileClick:n})=>{const l=nt(),c=lt().analytics,{inboxNotification:{id:d,readAt:u,notifiedAt:h},thread:f}=e,{setRequestToOpenThread:m}=x.useContext(di),p=u!=null?"read":"unread",{metadata:{url:b,companyId:k,entityType:P},id:G}=f;return t.jsxs(Ri,{readStatus:p,isClickable:!!b,isHighlighted:s,style:a,onClick:()=>{b&&(n(d,g.toZeniUrl(b),p),(f.metadata.tab==="bill"||f.metadata.tab==="reimbursement")&&m({threadId:G,companyId:k,entityType:P})),f.metadata.application!=="cockpit"&&c.trackCommentActivity("notification","clicked",f.metadata.companyName,l.controllersList.controllers.map(T=>V(T)),f.resolved?"resolved":"open",{name:dt(l.loggedInUser),email:l.loggedInUser?.userEmail??""},"db notification")},children:[t.jsx(vi,{notificationData:e,users:o}),t.jsx(Ni,{...e}),t.jsx(Ti,{timestamp:h,readStatus:p})]})},St=({notificationData:e,users:o})=>{const{thread:s}=e,{comments:a}=s,n=a[0];return a.length===0||n.body==null?t.jsx($e,{children:ji}):t.jsx($e,{children:n.body.content.map(l=>{switch(l.type){case"paragraph":return l.children.map((c,d)=>{if(Li(c)){const h=o.find(f=>f.userId===c.id);return c.id?t.jsx(Ci,{notificationData:e,user:h},`${c.id}${ee.underscore}${d}`):null}if(Ii(c)){const h=ci(c.url)??c.url;return t.jsx(Pi,{href:h,target:"_blank",rel:"noopener noreferrer nofollow",children:c.text??c.url},d)}let u=c.text;return c.bold===!0&&(u=t.jsx(Di,{children:u},d)),c.italic===!0&&(u=t.jsx(Ai,{children:u},d)),c.strikethrough===!0&&(u=t.jsx(Oi,{children:u},d)),c.code===!0&&(u=t.jsx(Mi,{children:u},d)),t.jsx(Bi,{children:u},d)});default:return t.jsx($e,{children:ki})}})})},vi=({notificationData:e,users:o})=>{const s=v();return t.jsx(Fi,{windowSize:s,children:t.jsx(St,{notificationData:e,users:o})})},Ci=({notificationData:e,user:o})=>{const{inboxNotification:{readAt:s}}=e,a=s!=null?"read":"unread";let n=t.jsxs(_e,{className:"userText",readStatus:a,children:[ee.atTheRate,ze.user,ee.space]});if(o!=null){const l=V(o,!1);n=t.jsx(t.Fragment,{children:t.jsxs(_e,{className:"userText",readStatus:a,children:[ee.atTheRate,l||ze.user,ee.space]})})}return n},vt=e=>{const o=yi(e);return t.jsx(t.Fragment,{children:o})},Ni=e=>{const o=v();return t.jsx(_i,{windowSize:o,children:t.jsx(vt,{...e})})},Ct=e=>{const{timestamp:o,readStatus:s}=e,a=yt(o);return t.jsxs(t.Fragment,{children:[t.jsx(Gi,{isNewNotification:a===$i.justNow,children:a}),t.jsx(Ui,{readStatus:s})]})},Ti=e=>{const o=v();return t.jsx(zi,{windowSize:o,children:t.jsx(Ct,{...e})})};function Li(e){return"type"in e&&e.type==="mention"}function Ii(e){return"type"in e&&e.type==="link"}const Ri=r.div`
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: row;
|
|
8
8
|
align-items: center;
|
|
@@ -54,21 +54,21 @@ import{u as K,X as v,a as Zt,M as P,c3 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 a
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
`:null};
|
|
57
|
-
`,zi=r(
|
|
57
|
+
`,zi=r(Y)`
|
|
58
58
|
width: ${e=>e.windowSize==="small"?"unset":"10%"};
|
|
59
59
|
gap: ${i.sp2};
|
|
60
60
|
display: flex;
|
|
61
61
|
align-items: center;
|
|
62
62
|
flex-shrink: 0;
|
|
63
63
|
justify-content: end;
|
|
64
|
-
`,_i=r(
|
|
64
|
+
`,_i=r(K)`
|
|
65
65
|
color: inherit;
|
|
66
66
|
display: -webkit-box;
|
|
67
67
|
overflow: hidden;
|
|
68
68
|
-webkit-line-clamp: ${e=>le.lineClamp.value(e.windowSize)};
|
|
69
69
|
-webkit-box-orient: vertical;
|
|
70
70
|
width: ${e=>le.sectionWidth.valuePercentage(e.windowSize)};
|
|
71
|
-
`,Di=r.strong``,Mi=r.code``,Ai=r.em``,Oi=r.s``,
|
|
71
|
+
`,Di=r.strong``,Mi=r.code``,Ai=r.em``,Oi=r.s``,Bi=r.span``,Pi=r.a``,Fi=r(K)`
|
|
72
72
|
color: inherit;
|
|
73
73
|
display: -webkit-box;
|
|
74
74
|
overflow: hidden;
|
|
@@ -120,7 +120,7 @@ import{u as K,X as v,a as Zt,M as P,c3 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 a
|
|
|
120
120
|
flex: 1 1 auto;
|
|
121
121
|
justify-content: ${e=>e.isLastItem?"flex-end":"start"};
|
|
122
122
|
width: ${e=>e.isLastItem?"10%":kt.valuePercentage(e.windowSize)};
|
|
123
|
-
`,
|
|
123
|
+
`,Yi=()=>{const e=v();return t.jsxs(Hi,{windowSize:e,children:[t.jsxs(Wi,{children:[t.jsx(z,{width:180,height:w[4]}),t.jsx(z,{width:180,height:w[4]})]}),t.jsx(Ji,{children:t.jsx(z,{width:60,height:18})})]})},Hi=r.div`
|
|
124
124
|
display: flex;
|
|
125
125
|
align-items: baseline;
|
|
126
126
|
justify-content: space-between;
|
|
@@ -158,12 +158,12 @@ import{u as K,X as v,a as Zt,M as P,c3 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 a
|
|
|
158
158
|
align-items: baseline;
|
|
159
159
|
flex-direction: row;
|
|
160
160
|
justify-content: end;
|
|
161
|
-
`,qi=()=>v()==="small"?t.jsx(
|
|
161
|
+
`,qi=()=>v()==="small"?t.jsx(Yi,{}):t.jsx(Ei,{}),Zi={marginLeft:new R(w[2],w[5],w[7])},Xi=()=>t.jsxs(Qi,{children:[t.jsx(Se,{numberOfRows:5}),t.jsx(Se,{numberOfRows:3})]}),Se=({numberOfRows:e})=>{const o=v();return t.jsxs(Ki,{windowSize:o,children:[t.jsx(to,{children:t.jsx(z,{width:w[12],height:Ne.standardRegular.lineHeightValue})}),t.jsx(eo,{children:[...Array(e)].map(s=>t.jsx(qi,{},ce()))})]})},Qi=r.div`
|
|
162
162
|
display: block;
|
|
163
163
|
min-height: 100%;
|
|
164
164
|
flex-direction: column;
|
|
165
165
|
width: 100%;
|
|
166
|
-
`,
|
|
166
|
+
`,Ki=r.div`
|
|
167
167
|
display: flex;
|
|
168
168
|
flex-direction: column;
|
|
169
169
|
margin-bottom: ${i.sp5};
|
|
@@ -175,7 +175,7 @@ import{u as K,X as v,a as Zt,M as P,c3 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 a
|
|
|
175
175
|
`,to=r.div`
|
|
176
176
|
display: flex;
|
|
177
177
|
padding: ${i.sp3} ${i.sp0};
|
|
178
|
-
`,io=({notificationData:e,users:o,isSelectionMode:s=!1,isHighlighted:a=!1,style:n,onNotificationTileClick:l,onNotificationTileLongPress:c})=>{const d=nt(),u=lt().analytics,{inboxNotification:{id:h,readAt:f,notifiedAt:m},thread:p}=e,b=f!=null?"read":"unread",k=p.metadata.url,
|
|
178
|
+
`,io=({notificationData:e,users:o,isSelectionMode:s=!1,isHighlighted:a=!1,style:n,onNotificationTileClick:l,onNotificationTileLongPress:c})=>{const d=nt(),u=lt().analytics,{inboxNotification:{id:h,readAt:f,notifiedAt:m},thread:p}=e,b=f!=null?"read":"unread",k=p.metadata.url,P=x.useCallback(()=>{c?.()},[c]),G=x.useCallback(L=>{L.stopPropagation(),L.cancelable&&L.preventDefault(),s?c?.():k!=null&&(l(h,g.toZeniUrl(p.metadata.url),b),p.metadata.application!=="cockpit"&&u.trackCommentActivity("notification","clicked",p.metadata.companyName,d.controllersList.controllers.map(y=>V(y)),p.resolved?"resolved":"open",{name:dt(d.loggedInUser),email:d.loggedInUser?.userEmail??""},"db notification"))},[s,k,c,l,h,p.metadata.url,p.metadata.application,b,d.controllersList,d.loggedInUser,u,p.metadata.companyName,p.resolved]),T=ut({onLongPress:P},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(ro,{readStatus:b,isClickable:k!=null,isHighlighted:a,style:n,...T,onClick:G,children:[t.jsxs(lo,{children:[t.jsx(oo,{notificationData:e,users:o}),t.jsx(so,{...e})]}),t.jsx(ao,{timestamp:m,readStatus:b})]})},oo=({notificationData:e,users:o})=>t.jsx(Nt,{children:t.jsx(St,{notificationData:e,users:o})}),so=e=>t.jsx(Nt,{children:t.jsx(vt,{...e})}),ao=e=>t.jsx(no,{children:t.jsx(Ct,{...e})}),ro=r.div`
|
|
179
179
|
display: flex;
|
|
180
180
|
flex-direction: row;
|
|
181
181
|
align-items: baseline;
|
|
@@ -228,7 +228,7 @@ import{u as K,X as v,a as Zt,M as P,c3 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 a
|
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
`:null};
|
|
231
|
-
`,no=r(
|
|
231
|
+
`,no=r(Y)`
|
|
232
232
|
width: 25%;
|
|
233
233
|
gap: ${i.sp2};
|
|
234
234
|
display: flex;
|
|
@@ -239,12 +239,12 @@ import{u as K,X as v,a as Zt,M as P,c3 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 a
|
|
|
239
239
|
display: flex;
|
|
240
240
|
flex-direction: column;
|
|
241
241
|
gap: ${i.sp2};
|
|
242
|
-
`,Nt=r(
|
|
242
|
+
`,Nt=r(K)`
|
|
243
243
|
color: inherit;
|
|
244
244
|
display: -webkit-box;
|
|
245
245
|
overflow: hidden;
|
|
246
246
|
-webkit-box-orient: vertical;
|
|
247
|
-
`,Tt=e=>v()==="small"?t.jsx(io,{...e}):t.jsx(Si,{...e}),{common:{all:De}}=
|
|
247
|
+
`,Tt=e=>v()==="small"?t.jsx(io,{...e}):t.jsx(Si,{...e}),{common:{all:De}}=B.getLocalizedStrings(),co=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=Q(),{getValues:u}=ue(),h=u(s);return t.jsx(uo,{style:n,children:t.jsx(he,{mode:a,checkBoxes:[{label:t.jsx(ho,{htmlFor:`${s}.${De.toLocaleLowerCase()}`,style:{color:d.colors.primary},children:me(e)}),value:De.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((f,m)=>{const p=m===0,b=e.notifications.length-1===m;return{label:t.jsx(Tt,{notificationData:f,users:o,style:{borderTopLeftRadius:p?i.sp2:void 0,borderTopRightRadius:p?i.sp2:void 0,borderBottomLeftRadius:b?i.sp2:void 0,borderBottomRightRadius:b?i.sp2:void 0},isHighlighted:h?.includes(f.inboxNotification.id)===!0,onNotificationTileClick:c}),value:f.inboxNotification.id,defaultChecked:!1,groupLabel:!1}})],name:s,isDisabled:l,style:{width:"100%"},checkBoxStyle:{padding:i.sp3},labelCheckBoxStyle:{padding:i.sp3}})})},uo=r.div`
|
|
248
248
|
display: flex;
|
|
249
249
|
align-items: center;
|
|
250
250
|
width: 100%;
|
|
@@ -253,7 +253,7 @@ import{u as K,X as v,a as Zt,M as P,c3 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 a
|
|
|
253
253
|
align-items: flex-start;
|
|
254
254
|
width: 100%;
|
|
255
255
|
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
256
|
-
`,{common:{all:Me}}=
|
|
256
|
+
`,{common:{all:Me}}=B.getLocalizedStrings(),po=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=Q(),{getValues:u}=ue(),h=u(s),f=x.useRef([]);return x.useEffect(()=>{f.current=f.current.slice(0,e.notifications.length)},[e.notifications.length]),t.jsx(fo,{style:n,children:t.jsx(he,{mode:a,checkBoxes:[{label:t.jsx(Ae,{htmlFor:`${s}.${Me.toLocaleLowerCase()}`,style:{color:d.colors.primary,marginLeft:i.sp2},children:me(e)}),value:Me.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((m,p)=>{const b=p===0,k=e.notifications.length-1===p;return{label:t.jsx(Ae,{ref:P=>f.current[p]=P,htmlFor:`${s}.${m.inboxNotification.id}`,style:{padding:i.sp0},children:t.jsx(mo,{notificationData:m,users:o,style:{borderTopLeftRadius:b?i.sp2:void 0,borderTopRightRadius:b?i.sp2:void 0,borderBottomLeftRadius:k?i.sp2:void 0,borderBottomRightRadius:k?i.sp2:void 0,marginLeft:i.sp2},isHighlighted:h?.includes(m.inboxNotification.id)===!0,isSelectionMode:a==="always_on",onNotificationTileClick:c,onNotificationTileLongPress:()=>{f.current[p]?.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}})})},fo=r.div`
|
|
257
257
|
display: flex;
|
|
258
258
|
align-items: center;
|
|
259
259
|
width: 100%;
|
|
@@ -262,7 +262,7 @@ import{u as K,X as v,a as Zt,M as P,c3 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 a
|
|
|
262
262
|
align-items: flex-start;
|
|
263
263
|
width: 100%;
|
|
264
264
|
padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
|
|
265
|
-
`,mo=r(Tt)``,go=e=>v()==="small"?t.jsx(po,{...e}):t.jsx(co,{...e}),{commentsAndNotifications:{notifications:{message:xo}}}=
|
|
265
|
+
`,mo=r(Tt)``,go=e=>v()==="small"?t.jsx(po,{...e}):t.jsx(co,{...e}),{commentsAndNotifications:{notifications:{message:xo}}}=B.getLocalizedStrings(),Oe={rowGap:new R(w[0],w[5],w[5])},bo=({notificationGroups:e,users:o,isFetching:s,hasMore:a,sectionId:n,checkBoxMode:l,scrollYOffset:c,currentSubTab:d,isDisabled:u,onUpdateScrollYOffset:h,onFetchNotificationGroups:f,onNotificationClick:m})=>{const p=v(),b=x.useRef(null),k=x.useRef({});x.useEffect(()=>{b.current?.resetAfterIndex(0,!0)},[p,b,e]),x.useEffect(()=>{b.current?.scrollTo(c)},[d]);const P=x.useCallback(N=>{if(k.current?.[N]!=null){const U=p==="small"&&a===!1&&N===e.length-1?Oe.rowGap.value("medium-regular"):Oe.rowGap.value(p);return k.current[N]+U}return(ht*jt.value(p)+pt)*3+ft+mt},[p,k,e]),G=x.useCallback((N,U)=>{k.current={...k.current,[N]:U},b.current?.resetAfterIndex(0,!0)},[p,b,e]),T=x.useCallback(()=>{f()},[f]),L=x.useCallback(()=>{},[]),y=et(N=>h(N),1e3,{trailing:!0}),M=N=>!a||N<e.length,j=x.useCallback(()=>a&&!s?T():L(),[a,s,T,L]),I=a?e.length+1:e.length;return t.jsx(yo,{children:t.jsx($o,{windowSize:p,children:s&&e.length===0?t.jsx(Xi,{}):s===!1&&e.length===0?t.jsx(tt,{message:xo.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(jo,{windowSize:p,children:t.jsx(it,{children:({height:N,width:U})=>t.jsx(ot,{isItemLoaded:M,itemCount:gt,loadMoreItems:j,children:({onItemsRendered:H,ref:E})=>t.jsx(st,{ref:W=>{E(W),b.current=W},height:N,itemCount:I,itemData:{notificationGroups:e,users:o,sectionId:n,checkBoxMode:l,isDisabled:u,isItemLoaded:M,setRowHeight:G,onNotificationClick:m},onItemsRendered:H,itemSize:P,width:U,style:{willChange:"auto"},overscanCount:xt,onScroll:({scrollOffset:W})=>{y(W)},initialScrollOffset:c,children:wo})})})})})})},wo=({index:e,style:o,data:s})=>{const{notificationGroups:a,users:n,sectionId:l,checkBoxMode:c,isItemLoaded:d,isDisabled:u,setRowHeight:h,onNotificationClick:f}=s,m=x.useRef(null),p=v();if(x.useEffect(()=>{m.current?.firstElementChild!=null&&h(e,m.current.firstElementChild.clientHeight)},[e,m,p,a[e]?.notifications]),d(e)===!0){const b=a[e],k=ne(b);return t.jsx(Be,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:m,children:t.jsx(go,{notificationGroup:b,sectionId:`${l}.${k}`,checkBoxMode:c,isDisabled:u,users:n,onNotificationTileClick:f})},k)}return t.jsx(Be,{ref:m,style:{...o,paddingBottom:i.sp0},children:t.jsx(Se,{numberOfRows:3})},ce())},yo=r.div`
|
|
266
266
|
display: block;
|
|
267
267
|
background-color: ${e=>e.theme.colors.grey4};
|
|
268
268
|
height: 100%;
|
|
@@ -275,11 +275,11 @@ import{u as K,X as v,a as Zt,M as P,c3 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 a
|
|
|
275
275
|
display: flex;
|
|
276
276
|
flex-direction: column;
|
|
277
277
|
max-width: 99.9%;
|
|
278
|
-
`,
|
|
278
|
+
`,Be=r.div`
|
|
279
279
|
top: ${i.sp0};
|
|
280
280
|
left: ${i.sp0};
|
|
281
281
|
box-sizing: border-box;
|
|
282
|
-
`,{common:{in:ko,strings:Lt},dateFormat:So,commentsAndNotifications:{notifications:{actionStrings:{notifications:A}}}}=
|
|
282
|
+
`,{common:{in:ko,strings:Lt},dateFormat:So,commentsAndNotifications:{notifications:{actionStrings:{notifications:A}}}}=B.getLocalizedStrings(),It=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 wt){let l=0,c=0,d=g.dateNow().subtract(Math.min(g.dateNow().date(),l),"d").startOf("d"),u=g.dateNow().subtract(Math.min(g.dateNow().date(),c),"d").endOf("d"),h=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=g.dateNow().subtract(Math.min(g.dateNow().date(),l),"d").startOf("d"),u=g.dateNow().subtract(Math.min(g.dateNow().date(),c),"d").endOf("d"),a=oe(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&g.dateNow().date()>2&&(d=g.dateNow().subtract(Math.min(g.dateNow().date()-1,8),"d").startOf("d"),u=g.dateNow().subtract(2,"d").endOf("d"),a=oe(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&g.dateNow().date()>9&&(d=g.dateNow().startOf("M").startOf("d"),u=g.dateNow().subtract(9,"d").endOf("d"),a=oe(o,d,u),o=a.remainingData,s.push({start:d,end:u,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const f=g.dateNow().subtract(h,"month").startOf("M").startOf("d"),m=g.dateNow().subtract(h,"month").endOf("M").endOf("d");h++,a=oe(o,f,m),o=a.remainingData,s.push({start:f,end:m,type:n,notifications:a.singleGroup})}break}}return s},oe=(e,o,s)=>{const a=[],n=e.map(l=>at(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}},vo=e=>{let o=A.newActivity;return e.code==="in_progress"?o=A.due.replace("__task_status__",Ie(e.name.toLocaleLowerCase())):o=A.due.replace("__task_status__",ko.toLocaleLowerCase().concat(Lt.space,Ie(e.name.toLocaleLowerCase()))),o},Co=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?vo(n):A.dueTomorrow;break;case"task_overdue":s=A.overdue.replace("__date__",o[0].metadata.additionalInfo?.dueDate.format(So.visual.MMMDFormat)??Lt.empty);break;case"task_status_updated":s=A.statusUpdate;break}}return s},Rt=new R(3,2,1,1,1),zt=new R(w[8],33,33,33,35),de={lineClamp:Rt,sectionWidth:zt},{common:{and:Pe,other:No,others:To,texts:Lo,timeStrings:Io,strings:D,tags:Ro}}=B.getLocalizedStrings(),zo=({notificationData:e,isHighlighted:o=!1,style:s,onNotificationTileClick:a})=>{const{status:n,notificationId:l,eventData:{entitiyId:c,activities:d},createTime:u}=e;return t.jsxs(Po,{notificationStatus:n,isHighlighted:o,style:s,onClick:()=>{a(l,c,n,d.length>0?d[0].activityType:void 0)},children:[t.jsx(_o,{...e}),t.jsx(Ao,{...e}),t.jsx(Bo,{...e}),t.jsx(Oo,{createTime:u,notificationStatus:n})]})},_t=e=>{const{status:o,eventData:{title:s}}=e;return t.jsx(Vo,{notificationStatus:o,children:s||D.hyphen})},_o=e=>{const o=v();return t.jsx(Eo,{windowSize:o,children:t.jsx(_t,{...e})})},Do=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(Ho,{children:[t.jsx(Fe,{backgroundColor:Re(s.oldValue.codeNamePair),children:s.oldValue.codeNamePair.name}),t.jsx(Wo,{}),t.jsx(Fe,{backgroundColor:Re(s.newValue.codeNamePair),children:s.newValue.codeNamePair.name})]})}return null},Mo=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:[D.atTheRate,Lo.user,D.space]});return n>0&&(n>2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[D.atTheRate,V(s[0],!1),D.space]}),Pe,t.jsxs(q,{className:"userText",notificationStatus:o,children:[D.space,n-1,D.space,To,D.space]})]}):n===2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[D.atTheRate,V(s[0],!1),D.space]}),Pe,t.jsxs(q,{className:"userText",notificationStatus:o,children:[D.space,s.length===2?D.atTheRate+V(s[1],!1):No,D.space]})]}):l=t.jsxs(q,{className:"userText",notificationStatus:o,children:[D.atTheRate,V(s[0],!1),D.space]})),l},Dt=e=>t.jsxs(t.Fragment,{children:[t.jsx(Mo,{...e}),Co(e),t.jsx(Do,{...e})]}),Ao=e=>{const o=v(),{eventData:{activities:s}}=e;return t.jsx(Uo,{windowSize:o,statusUpdate:s.length>0&&s[0].activityType==="task_status_updated"&&s[0].metadata.updates.find(a=>a.field==="status")!=null,children:t.jsx(Dt,{...e})})},Mt=e=>{const{createTime:o,notificationStatus:s}=e,a=yt(o.toDate());return t.jsxs(t.Fragment,{children:[t.jsx(Yo,{isNewNotification:a===Io.justNow,children:a}),t.jsx(qo,{notificationStatus:s})]})},Oo=e=>{const o=v();return t.jsx(Fo,{windowSize:o,children:t.jsx(Mt,{...e})})},At=e=>{const{eventData:{activities:o}}=e;return o[0].activityType==="task_overdue"?t.jsx(ui,{tagTitle:Ro.overdue,textColor:{color:new ye(S.alert),backgroundColor:new ye("transparent"),borderColor:new ye(S.alert)},showLoader:!1}):t.jsx(Jo,{})},Bo=e=>{const o=v();return t.jsx(Go,{windowSize:o,children:t.jsx(At,{...e})})},Po=r.div`
|
|
283
283
|
display: flex;
|
|
284
284
|
flex-direction: row;
|
|
285
285
|
align-items: center;
|
|
@@ -329,20 +329,20 @@ import{u as K,X as v,a as Zt,M as P,c3 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 a
|
|
|
329
329
|
color: ${S.brandColorJade};
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
|
-
`,Fo=r(
|
|
332
|
+
`,Fo=r(Y)`
|
|
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
|
-
`,Go=r(
|
|
339
|
+
`,Go=r(Y)`
|
|
340
340
|
width: ${e=>e.windowSize==="small"?"unset":"10%"};
|
|
341
341
|
display: flex;
|
|
342
342
|
align-items: center;
|
|
343
343
|
flex-shrink: 0;
|
|
344
344
|
justify-content: end;
|
|
345
|
-
`,Uo=r(
|
|
345
|
+
`,Uo=r(K)`
|
|
346
346
|
color: inherit;
|
|
347
347
|
|
|
348
348
|
${e=>e.statusUpdate?O`
|
|
@@ -357,7 +357,7 @@ import{u as K,X as v,a as Zt,M as P,c3 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 a
|
|
|
357
357
|
-webkit-box-orient: vertical;
|
|
358
358
|
`};
|
|
359
359
|
width: ${e=>de.sectionWidth.valuePercentage(e.windowSize)};
|
|
360
|
-
`,Eo=r(
|
|
360
|
+
`,Eo=r(K)`
|
|
361
361
|
color: inherit;
|
|
362
362
|
display: -webkit-box;
|
|
363
363
|
overflow: hidden;
|
|
@@ -368,16 +368,16 @@ import{u as K,X as v,a as Zt,M as P,c3 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 a
|
|
|
368
368
|
color: ${e=>e.notificationStatus==="read"?e.theme.colors.grey1:S.brandColorJade};
|
|
369
369
|
`,Vo=r(fe)`
|
|
370
370
|
color: inherit;
|
|
371
|
-
`,
|
|
371
|
+
`,Yo=r(ct)`
|
|
372
372
|
flex-shrink: 0;
|
|
373
373
|
color: ${e=>e.isNewNotification?e.theme.colors.primary:"inherit"};
|
|
374
|
-
`,
|
|
374
|
+
`,Ho=r.div`
|
|
375
375
|
display: flex;
|
|
376
376
|
align-items: center;
|
|
377
377
|
flex-direction: row;
|
|
378
378
|
gap: ${i.sp2};
|
|
379
379
|
flex-wrap: wrap;
|
|
380
|
-
`,Fe=r(
|
|
380
|
+
`,Fe=r(Y)`
|
|
381
381
|
color: ${S.neutralGrey5Light};
|
|
382
382
|
background: ${e=>e.backgroundColor};
|
|
383
383
|
border: 1px solid ${e=>e.backgroundColor};
|
|
@@ -397,7 +397,7 @@ import{u as K,X as v,a as Zt,M as P,c3 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 a
|
|
|
397
397
|
border-radius: ${i.sp2};
|
|
398
398
|
flex-shrink: 0;
|
|
399
399
|
background-color: ${e=>e.notificationStatus==="unread"?S.info:"transparent"};
|
|
400
|
-
`,se={emptyRowItemSectionWidth:new R(120,200,280,330,400),emptyLastRowItemSectionWidth:new R(w[6],50,60,w[11],120)},Zo=()=>{const e=v();return t.jsxs(
|
|
400
|
+
`,se={emptyRowItemSectionWidth:new R(120,200,280,330,400),emptyLastRowItemSectionWidth:new R(w[6],50,60,w[11],120)},Zo=()=>{const e=v();return t.jsxs(Xo,{windowSize:e,children:[t.jsx(ae,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:se.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(ae,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:se.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(ae,{windowSize:e,isLastItem:!0,children:t.jsx(z,{width:se.emptyLastRowItemSectionWidth.value(e),height:18})}),t.jsx(ae,{windowSize:e,isLastItem:!0,children:t.jsx(z,{width:se.emptyLastRowItemSectionWidth.value(e),height:18})})]})},Xo=r.div`
|
|
401
401
|
display: flex;
|
|
402
402
|
align-items: center;
|
|
403
403
|
justify-content: space-between;
|
|
@@ -428,7 +428,7 @@ import{u as K,X as v,a as Zt,M as P,c3 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 a
|
|
|
428
428
|
flex: 1 1 auto;
|
|
429
429
|
justify-content: ${e=>e.isLastItem?"flex-end":"start"};
|
|
430
430
|
width: ${e=>e.isLastItem?"10%":zt.valuePercentage(e.windowSize)};
|
|
431
|
-
`,
|
|
431
|
+
`,Qo=()=>{const e=v();return t.jsxs(Ko,{windowSize:e,children:[t.jsxs(Ge,{children:[t.jsx(z,{width:180,height:w[4]}),t.jsx(z,{width:60,height:18})]}),t.jsxs(Ge,{children:[t.jsx(z,{width:180,height:w[4]}),t.jsx(z,{width:60,height:18})]})]})},Ko=r.div`
|
|
432
432
|
display: flex;
|
|
433
433
|
flex-direction: column;
|
|
434
434
|
align-items: baseline;
|
|
@@ -462,7 +462,7 @@ import{u as K,X as v,a as Zt,M as P,c3 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 a
|
|
|
462
462
|
gap: ${i.sp2};
|
|
463
463
|
flex: 1 1 auto;
|
|
464
464
|
width: 100%;
|
|
465
|
-
`,es=()=>v()==="small"?t.jsx(
|
|
465
|
+
`,es=()=>v()==="small"?t.jsx(Qo,{}):t.jsx(Zo,{}),ts={marginLeft:new R(w[2],w[5],w[7])},is=()=>t.jsxs(os,{children:[t.jsx(ve,{numberOfRows:5}),t.jsx(ve,{numberOfRows:3})]}),ve=({numberOfRows:e})=>{const o=v();return t.jsxs(ss,{windowSize:o,children:[t.jsx(rs,{children:t.jsx(z,{width:w[12],height:Ne.standardRegular.lineHeightValue})}),t.jsx(as,{children:[...Array(e)].map(s=>t.jsx(es,{},ce()))})]})},os=r.div`
|
|
466
466
|
display: block;
|
|
467
467
|
min-height: 100%;
|
|
468
468
|
flex-direction: column;
|
|
@@ -530,14 +530,14 @@ import{u as K,X as v,a as Zt,M as P,c3 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 a
|
|
|
530
530
|
color: ${S.brandColorJade};
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
|
-
`,ps=r(
|
|
533
|
+
`,ps=r(Y)`
|
|
534
534
|
width: 25%;
|
|
535
535
|
gap: ${i.sp2};
|
|
536
536
|
display: flex;
|
|
537
537
|
align-items: center;
|
|
538
538
|
flex-shrink: 0;
|
|
539
539
|
justify-content: end;
|
|
540
|
-
`,fs=r(
|
|
540
|
+
`,fs=r(Y)`
|
|
541
541
|
width: 25%;
|
|
542
542
|
display: flex;
|
|
543
543
|
align-items: center;
|
|
@@ -550,7 +550,7 @@ import{u as K,X as v,a as Zt,M as P,c3 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 a
|
|
|
550
550
|
width: 100%;
|
|
551
551
|
justify-content: space-between;
|
|
552
552
|
align-items: start;
|
|
553
|
-
`,Ot=r(
|
|
553
|
+
`,Ot=r(K)`
|
|
554
554
|
color: inherit;
|
|
555
555
|
${e=>e.statusUpdate?O`
|
|
556
556
|
display: flex;
|
|
@@ -561,7 +561,7 @@ import{u as K,X as v,a as Zt,M as P,c3 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 a
|
|
|
561
561
|
-webkit-box-orient: horizontal;
|
|
562
562
|
gap: ${i.sp1};
|
|
563
563
|
`};
|
|
564
|
-
`,
|
|
564
|
+
`,Bt=e=>v()==="small"?t.jsx(ns,{...e}):t.jsx(zo,{...e}),{common:{all:Ee}}=B.getLocalizedStrings(),ms=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=Q(),{getValues:d}=ue(),u=d(o);return t.jsx(gs,{style:a,children:t.jsx(he,{mode:s,checkBoxes:[{label:t.jsx(xs,{htmlFor:`${o}.${Ee.toLocaleLowerCase()}`,style:{color:c.colors.primary},children:me(e)}),value:Ee.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((h,f)=>{const m=f===0,p=e.notifications.length-1===f;return{label:t.jsx(Bt,{notificationData:h,style:{borderTopLeftRadius:m?i.sp2:void 0,borderTopRightRadius:m?i.sp2:void 0,borderBottomLeftRadius:p?i.sp2:void 0,borderBottomRightRadius:p?i.sp2:void 0},isHighlighted:u?.includes(h.notificationId)===!0,onNotificationTileClick:l}),value:h.notificationId,defaultChecked:!1,groupLabel:!1}})],name:o,isDisabled:n,style:{width:"100%"},checkBoxStyle:{padding:i.sp3},labelCheckBoxStyle:{padding:i.sp3}})})},gs=r.div`
|
|
565
565
|
display: flex;
|
|
566
566
|
align-items: center;
|
|
567
567
|
width: 100%;
|
|
@@ -570,16 +570,16 @@ import{u as K,X as v,a as Zt,M as P,c3 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 a
|
|
|
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}}=
|
|
573
|
+
`,{common:{all:Ve}}=B.getLocalizedStrings(),bs=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:n,onNotificationTileClick:l})=>{const c=Q(),{getValues:d}=ue(),u=d(o),h=x.useRef([]);return x.useEffect(()=>{h.current=h.current.slice(0,e.notifications.length)},[e.notifications.length]),t.jsx(ws,{style:a,children:t.jsx(he,{mode:s,checkBoxes:[{label:t.jsx(Ye,{htmlFor:`${o}.${Ve.toLocaleLowerCase()}`,style:{color:c.colors.primary,marginLeft:i.sp2},children:me(e)}),value:Ve.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((f,m)=>{const p=m===0,b=e.notifications.length-1===m;return{label:t.jsx(Ye,{ref:k=>h.current[m]=k,htmlFor:`${o}.${f.notificationId}`,style:{padding:i.sp0},children:t.jsx(ys,{notificationData:f,style:{borderTopLeftRadius:p?i.sp2:void 0,borderTopRightRadius:p?i.sp2:void 0,borderBottomLeftRadius:b?i.sp2:void 0,borderBottomRightRadius:b?i.sp2:void 0,marginLeft:i.sp2},isHighlighted:u?.includes(f.notificationId)===!0,isSelectionMode:s==="always_on",onNotificationTileClick:l,onNotificationTileLongPress:()=>{h.current[m]?.click()}})}),value:f.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}})})},ws=r.div`
|
|
574
574
|
display: flex;
|
|
575
575
|
align-items: center;
|
|
576
576
|
width: 100%;
|
|
577
|
-
`,
|
|
577
|
+
`,Ye=r(pe)`
|
|
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
|
-
`,ys=r(
|
|
582
|
+
`,ys=r(Bt)``,$s=e=>v()==="small"?t.jsx(bs,{...e}):t.jsx(ms,{...e}),{commentsAndNotifications:{notifications:{message:js}}}=B.getLocalizedStrings(),He={rowGap:new R(w[0],w[5],w[5])},ks=({notificationGroups:e,isFetching:o,hasMore:s,sectionId:a,checkBoxMode:n,scrollYOffset:l,currentSubTab:c,isDisabled:d,onUpdateScrollYOffset:u,onFetchNotificationGroups:h,onNotificationClick:f})=>{const m=v(),p=x.useRef(null),b=x.useRef({});x.useEffect(()=>{p.current?.resetAfterIndex(0,!0)},[m,p,e]),x.useEffect(()=>{p.current?.scrollTo(l)},[c]);const k=x.useCallback(I=>{if(b.current?.[I]!=null){const N=m==="small"&&s===!1&&I===e.length-1?He.rowGap.value("medium-regular"):He.rowGap.value(m);return b.current[I]+N}return(ht*Rt.value(m)+pt)*3+ft+mt},[m,b,e]),P=x.useCallback((I,N)=>{b.current={...b.current,[I]:N},p.current?.resetAfterIndex(0,!0)},[m,p,e]),G=x.useCallback(()=>{h()},[h]),T=x.useCallback(()=>{},[]),L=et(I=>u(I),1e3,{trailing:!0}),y=I=>!s||I<e.length,M=x.useCallback(()=>s&&!o?G():T(),[s,o,G,T]),j=s?e.length+1:e.length;return t.jsx(vs,{children:t.jsx(Cs,{windowSize:m,children:o&&e.length===0?t.jsx(is,{}):o===!1&&e.length===0?t.jsx(tt,{message:js.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(Ns,{windowSize:m,children:t.jsx(it,{children:({height:I,width:N})=>t.jsx(ot,{isItemLoaded:y,itemCount:gt,loadMoreItems:M,children:({onItemsRendered:U,ref:H})=>t.jsx(st,{ref:E=>{H(E),p.current=E},height:I,itemCount:j,itemData:{notificationGroups:e,sectionId:a,checkBoxMode:n,isDisabled:d,isItemLoaded:y,setRowHeight:P,onNotificationClick:f},onItemsRendered:U,itemSize:k,width:N,style:{willChange:"auto"},overscanCount:xt,onScroll:({scrollOffset:E})=>{L(E)},initialScrollOffset:l,children:Ss})})})})})})},Ss=({index:e,style:o,data:s})=>{const{notificationGroups:a,sectionId:n,checkBoxMode:l,isItemLoaded:c,isDisabled:d,setRowHeight:u,onNotificationClick:h}=s,f=x.useRef(null),m=v();if(x.useEffect(()=>{f.current?.firstElementChild!=null&&u(e,f.current.firstElementChild.clientHeight)},[e,f,m,a[e]?.notifications]),c(e)===!0){const p=a[e],b=ne(p);return t.jsx(We,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:f,children:t.jsx($s,{notificationGroup:p,sectionId:`${n}.${b}`,checkBoxMode:l,isDisabled:d,onNotificationTileClick:h})},b)}return t.jsx(We,{ref:f,style:{...o,paddingBottom:i.sp0},children:t.jsx(ve,{numberOfRows:3})},ce())},vs=r.div`
|
|
583
583
|
display: block;
|
|
584
584
|
background-color: ${e=>e.theme.colors.grey4};
|
|
585
585
|
height: 100%;
|
|
@@ -596,7 +596,7 @@ import{u as K,X as v,a as Zt,M as P,c3 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 a
|
|
|
596
596
|
top: ${i.sp0};
|
|
597
597
|
left: ${i.sp0};
|
|
598
598
|
box-sizing: border-box;
|
|
599
|
-
`,{common:{all:Ce,texts:re,footer:Ts,strings:{plus:Ls},numbers:{maximumCount:Je}},commentsAndNotifications:{notifications:{title:Is,texts:
|
|
599
|
+
`,{common:{all:Ce,texts:re,footer:Ts,strings:{plus:Ls},numbers:{maximumCount:Je}},commentsAndNotifications:{notifications:{title:Is,texts:Pt,strings:qe}}}=B.getLocalizedStrings(),te={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])},Rs={selectedNotificationsText:new ni("smallRegular","standardRegular")},Ze="notificationsPage",Z="commentsNotificationsTable",X="notificationsTable",Ft=20,na=({notificationView:e,users:o,isNotificationSettingsVisible:s,isZeniUser:a,isDisabled:n,onNotificationClick:l,onCommentNotificationClick:c,onUpdateNotificationViewUIState:d,onUpdateNotificationTabState:u,onUpdateNotificationViewCurrentTabAndSubTab:h,onUpdateNotificationViewSubTab:f,onFetchMoreNotifications:m,onUpdateNotificationStatus:p,onSettingsClick:b,onBackClick:k,onMarkAllNotificationsAsRead:P})=>{const G=Q(),T=v(),L=Zt({mode:"all",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Ke(e),[e]),values:x.useMemo(()=>Ke(e),[e])}),{currentTab:y,currentSubTab:M,notificationDetailsByTab:j,allSubTabs:I,allNotifications:N,allExternalNotifications:U,notificationsForCurrentTabAndSubTab:H,externalNotificationsForCurrentTabAndSubTab:E}=e,W=($,C)=>$||C==="comments",Gt=x.useMemo(()=>Object.keys(j).map($=>({label:re[$],id:re[$].toLocaleLowerCase(),countDetails:{count:j[$].uiState.unreadCount,isFetching:j[$].fetchCountState.fetchState==="In-Progress"}})).filter($=>W(a,$.id)),[j,a]),Ut=x.useMemo(()=>I.map($=>({label:$==="all"?Ce:re[$],id:$})),[I]),Et=x.useMemo(()=>$t(E).filter($=>$.notifications.length>0),[E]),Vt=x.useMemo(()=>It(H).filter($=>$.notifications.length>0),[H]),Yt=async($,C)=>{const F=$.split(".")[0],J=[];F!=null&&(F===Z||F===X)&&(Object.values(C[F]).forEach(_=>{J.push(..._.filter(qt=>qt.includes(Ce.toLowerCase())===!1))}),u({selectedNotificationIds:J},y))};x.useEffect(()=>{const $=L.watch((C,{name:F})=>{F!=null&&C!=null&&Xt(()=>Yt(F,C))});return()=>{$.unsubscribe()}});const ge=x.useCallback(()=>{const $=[],C=j[y].selectedNotificationIdsForSubTab,F="read";if(y==="comments"){const J=U.filter(_=>_.inboxNotification.readAt==null).map(_=>_.inboxNotification.id);C.forEach(_=>{J.includes(_)&&$.push(_)})}else{const J=N.filter(_=>_.status!==F).map(_=>_.notificationId);C.forEach(_=>{J.includes(_)&&$.push(_)})}return $},[U,N,y,j]),Ht=ge().length>Ft?"disabled":n,xe=L.watch(Z),be=L.watch(X),Le=x.useCallback(()=>{m(y,M)},[m,y,M]),Wt=x.useCallback(()=>{if(y==="comments"){const $={};Object.keys(xe).forEach(C=>{$[C]=[]}),L.reset({[Z]:$,[X]:be},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}else{const $={};Object.keys(be).forEach(C=>{$[C]=[]}),L.reset({[X]:$,[Z]:xe},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}u({selectedNotificationIds:[]},y)},[be,xe]),Jt=x.useCallback(()=>{const $=j[y].selectedNotificationIdsForSubTab,C="read",F=ge();p(y,$,C,F)},[y,j,ge,p]);return t.jsxs(_s,{children:[t.jsx(Qt,{source:"NotificationsPage",title:Is.notifications,backgroundColor:G.colors.grey4,onBackClick:k,rightSideComponent:s===!0?t.jsx(Js,{onClick:b}):t.jsx(Ws,{})}),t.jsx(As,{}),t.jsx(Ms,{windowSize:T,children:t.jsx(mi,{tabs:Gt,selectedTab:y,onTabChange:$=>{const C=g.toNotificationTabTypeStrict($);C!=null&&h(C)},subTabs:Ut,selectedSubTab:M,onSubTabChange:$=>{const C=g.toNotificationSubTabTypeStrict($);C!=null&&f(C)},subTabRightComponent:t.jsx(zs,{notificationCount:j[y].uiState.unreadCount,markAsAllReadUpdateState:j[y].markAsAllReadState.fetchState,markAsReadUpdateState:j[y].markAsReadState.fetchState,onMarkAsAllReadClick:()=>{P(y)}})})}),t.jsx(Ds,{windowSize:T,children:t.jsx(Kt,{...L,children:t.jsx("form",{id:Qe(Ze),onSubmit:L.handleSubmit(Jt),style:{width:"100%"},children:y==="comments"?t.jsx(bo,{users:o,hasMore:j[y].uiState.hasMore,isFetching:j[y].fetchState==="In-Progress",scrollYOffset:j[y].uiState.scrollYOffset[M],currentSubTab:M,checkBoxMode:j[y].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Et,sectionId:Z,onFetchNotificationGroups:Le,onUpdateScrollYOffset:$=>d({scrollYOffset:{...j[y].uiState.scrollYOffset,[M]:$}},y),onNotificationClick:c}):t.jsx(ks,{hasMore:j[y].uiState.hasMore,isFetching:j[y].fetchState==="In-Progress",scrollYOffset:j[y].uiState.scrollYOffset[M],currentSubTab:M,checkBoxMode:j[y].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Vt,sectionId:X,onFetchNotificationGroups:Le,onUpdateScrollYOffset:$=>d({scrollYOffset:{...j[y].uiState.scrollYOffset,[M]:$}},y),onNotificationClick:l})})})}),j[y].selectedNotificationIdsForSubTab.length?t.jsx(ei,{formId:Qe(Ze),primaryBtn:{label:Pt.markAsRead,isLoading:j[y].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},isDisabled:Ht!=null},cancelBtn:{label:Ts.cancel,isDisabled:j[y].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},onClick:Wt},helperContainerStyle:T==="small"?{width:"100%"}:{rowGap:i.sp0},footerContentStyle:{gap:i.sp2},leftSideComponent:t.jsx(we,{controller:T!=="small",children:t.jsx(Xe,{selectedNotificationsCount:j[y].selectedNotificationIdsForSubTab.length})}),topComponent:t.jsx(we,{controller:T==="small",children:t.jsx(Xe,{selectedNotificationsCount:j[y].selectedNotificationIdsForSubTab.length})}),rightSideComponent:t.jsx(we,{controller:T!=="small",children:t.jsx(Ps,{})})}):null]})},zs=({markAsAllReadUpdateState:e,markAsReadUpdateState:o,notificationCount:s,onMarkAsAllReadClick:a})=>{const n=s===0,l=x.useCallback(()=>{e!=="In-Progress"&&o!=="In-Progress"&&!n&&a()},[e,o,n,a]);return t.jsx(Os,{variant:"tertiary",size:"small",label:Pt.markAllAsRead,onClick:l,prefixIcon:e==="In-Progress"?t.jsx(oi,{size:"Small",start:!0}):t.jsx(Bs,{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(Fs,{windowSize:o,children:[t.jsx(Us,{children:t.jsx(Gs,{isCircular:e<10,children:t.jsx(Es,{children:e>Je?`${Je}${Ls}`:e})})}),t.jsxs(Hs,{windowSize:o,children:[t.jsx(Vs,{children:e>1?qe.notificationsSelected:qe.notificationSelected}),e>Ft?t.jsx(Ys,{children:re.maxLimit}):null]})]})},_s=r.div`
|
|
600
600
|
display: flex;
|
|
601
601
|
height: 100vh;
|
|
602
602
|
width: 100%;
|
|
@@ -627,10 +627,10 @@ import{u as K,X as v,a as Zt,M as P,c3 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 a
|
|
|
627
627
|
color: ${e=>e.disabled===!0?e.theme.colors.grey2:e.theme.colors.primary};
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
|
-
`,
|
|
630
|
+
`,Bs=r(ai)`
|
|
631
631
|
width: ${i.sp3};
|
|
632
632
|
height: ${i.sp3};
|
|
633
|
-
`,
|
|
633
|
+
`,Ps=r.div``,Fs=r.div`
|
|
634
634
|
display: flex;
|
|
635
635
|
align-items: center;
|
|
636
636
|
flex-direction: row;
|
|
@@ -661,11 +661,11 @@ import{u as K,X as v,a as Zt,M as P,c3 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 a
|
|
|
661
661
|
color: ${e=>e.theme.colors.hero};
|
|
662
662
|
`,Vs=r(rt)`
|
|
663
663
|
display: flex;
|
|
664
|
-
`,
|
|
664
|
+
`,Ys=r(li)`
|
|
665
665
|
display: flex;
|
|
666
666
|
color: ${S.important};
|
|
667
667
|
margin-left: ${i.sp1};
|
|
668
|
-
`,
|
|
668
|
+
`,Hs=r(rt)`
|
|
669
669
|
${e=>`${Rs.selectedNotificationsText.style(e.windowSize)}`};
|
|
670
670
|
color: ${e=>e.theme.colors.primary};
|
|
671
671
|
display: flex;
|
|
@@ -682,4 +682,4 @@ import{u as K,X as v,a as Zt,M as P,c3 as Qt,j as t,aV as Kt,l as g,F as Xt,a4 a
|
|
|
682
682
|
&:hover {
|
|
683
683
|
color: ${e=>e.theme.colors.primary};
|
|
684
684
|
}
|
|
685
|
-
`,
|
|
685
|
+
`,Qe=e=>`${e}_form`,Ke=e=>{const{allNotifications:o,allExternalNotifications:s,notificationDetailsByTab:{tasks:{selectedNotificationIds:a},comments:{selectedNotificationIds:n}}}=e,l={};It(o).filter(d=>d.notifications.length>0).forEach(d=>{const u=d.notifications.map(h=>h.notificationId);l[ne(d)]=a.filter(h=>u.includes(h))});const c={};return $t(s).filter(d=>d.notifications.length>0).forEach(d=>{const u=d.notifications.map(h=>h.inboxNotification.id);c[ne(d)]=n.filter(h=>u.includes(h))}),{[Z]:c,[X]:l}},la=(e,o)=>{const s=[];return Object.values(e).forEach(a=>{a.forEach(n=>{n.includes(Ce.toLocaleLowerCase())===!1&&o.includes(n)&&s.push(n)})}),s};export{na as default,la as getSelectedNotificationIds,Qe as uniqueFormName};
|