@zeniai/web-components 3.16.99 → 3.17.1
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/ACHDetailsPage-CYaTrNWk.cjs +21 -0
- package/dist/ACHDetailsPage-Cm-zIweQ.js +160 -0
- package/dist/AIPerformancePage-B94GnYGV.js +1345 -0
- package/dist/AIPerformancePage-DImELGRL.cjs +539 -0
- package/dist/AccountInfoPage-CTcXJbzp.js +78 -0
- package/dist/AccountInfoPage-D_FIYLmR.cjs +18 -0
- package/dist/AccountInfoPageContent-CR5aPhbw.js +428 -0
- package/dist/AccountInfoPageContent-CqnmPd8C.cjs +149 -0
- package/dist/AccountLockedInfoModal-6FAlvAj7.cjs +59 -0
- package/dist/AccountLockedInfoModal-IgeGJxsa.js +125 -0
- package/dist/AccountReconDetailsDrawerPage-Cfv1REmE.cjs +239 -0
- package/dist/AccountReconDetailsDrawerPage-ZuE8QqGd.js +687 -0
- package/dist/AccountRow-ArhJaTWJ.js +1014 -0
- package/dist/AccountRow-BDCFNMk4.cjs +298 -0
- package/dist/AccountsPromoCardStack-BQic2ZjW.cjs +207 -0
- package/dist/AccountsPromoCardStack-DKrwuO3j.js +664 -0
- package/dist/AddAddressForCardDrawer-0FHMWbai.js +82 -0
- package/dist/AddAddressForCardDrawer-Y4F39X06.cjs +6 -0
- package/dist/AddToWalletPage-CZgC-6C9.cjs +344 -0
- package/dist/AddToWalletPage-DUYgmw0N.js +642 -0
- package/dist/AgingReportsPage-CsYdrezb.cjs +79 -0
- package/dist/AgingReportsPage-tR0wbnYn.js +827 -0
- package/dist/AllUserItems-BvdsuQQZ.js +979 -0
- package/dist/AllUserItems-lHbGQjtV.cjs +192 -0
- package/dist/ApAgingDetailPage-C9JI5Gr5.cjs +46 -0
- package/dist/ApAgingDetailPage-D6LmjCAf.js +239 -0
- package/dist/AppBasePage-CDaOyq9Z.js +120 -0
- package/dist/AppBasePage-J-mcoycT.cjs +71 -0
- package/dist/AppDrawerContent-BNFTgkR1.cjs +91 -0
- package/dist/AppDrawerContent-Bd-Cp49x.js +379 -0
- package/dist/ApprovalRulesSettingsPage-CdbJH7tV.js +145 -0
- package/dist/ApprovalRulesSettingsPage-GzTio2Lr.cjs +47 -0
- package/dist/ArAgingChart-B4U8ITAR.js +530 -0
- package/dist/ArAgingChart-Bcw3jEyY.cjs +24 -0
- package/dist/ArAgingDetailPage-PUJN1ppo.cjs +46 -0
- package/dist/ArAgingDetailPage-tR37ItbG.js +243 -0
- package/dist/AttachmentView-Bi6ifzBw.js +260 -0
- package/dist/AttachmentView-D-PvXBZm.cjs +101 -0
- package/dist/BankAccountSection-Cmz9xxyx.cjs +79 -0
- package/dist/BankAccountSection-QAGyE0tQ.js +398 -0
- package/dist/BankAccountWarningSection-D7paF4Ky.cjs +51 -0
- package/dist/BankAccountWarningSection-aF1r11G6.js +110 -0
- package/dist/BankConnectionsSettingsPage-CjhwU83L.js +1694 -0
- package/dist/BankConnectionsSettingsPage-Df8HteNL.cjs +425 -0
- package/dist/BillDetailPage-BAT9nbKd.js +1801 -0
- package/dist/BillDetailPage-mh4vYFjq.cjs +266 -0
- package/dist/BillPayApprovalRuleDetailPage-CJijwvZ4.js +247 -0
- package/dist/BillPayApprovalRuleDetailPage-h-nnLvw0.cjs +27 -0
- package/dist/BillPayApprovalRulesPage-Ccx0t7P-.cjs +235 -0
- package/dist/BillPayApprovalRulesPage-ChhXilXq.js +415 -0
- package/dist/BillPayPromoPage-8NYF8BFt.js +292 -0
- package/dist/BillPayPromoPage-DExrqg5-.cjs +84 -0
- package/dist/BillPaySetUpPage-B81qyIIg.cjs +42 -0
- package/dist/BillPaySetUpPage-BtTYgJ56.js +408 -0
- package/dist/BillingSettingsPage-BJpYlfyN.cjs +44 -0
- package/dist/BillingSettingsPage-Bc64MHD4.js +336 -0
- package/dist/BillsBulkReviewDrawerPage-Cx-W6C9Y.cjs +1 -0
- package/dist/BillsBulkReviewDrawerPage-ulzgcHaQ.js +216 -0
- package/dist/BoxItem-BylUUika.cjs +53 -0
- package/dist/BoxItem-C76f-2W6.js +118 -0
- package/dist/BusinessVerificationPage-Bi32HX8-.cjs +138 -0
- package/dist/BusinessVerificationPage-lyaZS_sG.js +716 -0
- package/dist/BusyIndication-BY4Hg2Tk.cjs +9 -0
- package/dist/BusyIndication-IvGCJlrd.js +19 -0
- package/dist/CardNumberSubText-CSCeVcoI.cjs +21 -0
- package/dist/CardNumberSubText-HphLGZRR.js +59 -0
- package/dist/CashbackDetailPage-D4poRGvf.js +825 -0
- package/dist/CashbackDetailPage-LuivMUgm.cjs +285 -0
- package/dist/ChargeCardDetailPage-Bt4FQbf4.cjs +1462 -0
- package/dist/ChargeCardDetailPage-DuB4HhRz.js +5454 -0
- package/dist/ChargeCardListPage-5p8yGpk8.cjs +412 -0
- package/dist/ChargeCardListPage-Czpwc4QE.js +1797 -0
- package/dist/ChargeCardListTable-CDUmEo45.js +2901 -0
- package/dist/ChargeCardListTable-FrgHU35a.cjs +711 -0
- package/dist/ChargeCardPromoPage-BbG3QLRm.cjs +222 -0
- package/dist/ChargeCardPromoPage-UXCC-ssn.js +816 -0
- package/dist/ChargeCardSetupPage-Bt5TxI3-.cjs +36 -0
- package/dist/ChargeCardSetupPage-v17_IfY6.js +359 -0
- package/dist/ChargeCardStatementsPage-CeKwkhKQ.js +243 -0
- package/dist/ChargeCardStatementsPage-sciCWzUn.cjs +60 -0
- package/dist/CheckDepositDrawerPage-CwAEnAyN.cjs +206 -0
- package/dist/CheckDepositDrawerPage-XpiTHTUC.js +726 -0
- package/dist/CollapsableReportTable-CjsHH_xx.cjs +2844 -0
- package/dist/CollapsableReportTable-DRtxT8wE.js +11659 -0
- package/dist/CompanyOfficerDetailsSection-CLrq6ECX.js +1633 -0
- package/dist/CompanyOfficerDetailsSection-DQGNN7NZ.cjs +260 -0
- package/dist/CompanyPassportCard-Bkis71qa.cjs +42 -0
- package/dist/CompanyPassportCard-ByT_TIxk.js +146 -0
- package/dist/CompanyPassportPage-DQ0UbFSn.cjs +574 -0
- package/dist/CompanyPassportPage-f-0_LYB1.js +2160 -0
- package/dist/CompleteProfile-B_9MV3TG.js +301 -0
- package/dist/CompleteProfile-C7hqksFh.cjs +52 -0
- package/dist/ConfettiBurst-BL-Yrehg.cjs +1 -0
- package/dist/ConfettiBurst-DSeOezHE.js +37 -0
- package/dist/CreateOrEditVendorPage-RymufHUF.js +763 -0
- package/dist/CreateOrEditVendorPage-c2rOB6kL.cjs +281 -0
- package/dist/CreditCardPaymentDrawerPage-Cs2hVar2.cjs +224 -0
- package/dist/CreditCardPaymentDrawerPage-D4Ckvc-_.js +1170 -0
- package/dist/CurrencySelectField-DV_CphBb.js +348 -0
- package/dist/CurrencySelectField-DfLk5AoW.cjs +139 -0
- package/dist/CustomerOnboardingActivationPage-CcWEKc4-.js +143 -0
- package/dist/CustomerOnboardingActivationPage-D2P0B0G_.cjs +88 -0
- package/dist/CustomerOnboardingContainerPage-BsNs8i7P.js +7 -0
- package/dist/CustomerOnboardingContainerPage-NyKEJpxg.cjs +1 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-CINsEnK4.js +434 -0
- package/dist/CustomerOnboardingDetailPageSkeleton-DC2-ZSD1.cjs +162 -0
- package/dist/CustomerOnboardingNoStepsPage-B_i_34yg.cjs +66 -0
- package/dist/CustomerOnboardingNoStepsPage-Csv_-B6Q.js +424 -0
- package/dist/CustomerOnboardingPage-CTYiV8G7.cjs +107 -0
- package/dist/CustomerOnboardingPage-DDQuqQpo.js +1059 -0
- package/dist/CustomerOnboardingProductSuitePage-CF1EoQ6o.js +348 -0
- package/dist/CustomerOnboardingProductSuitePage-Dpo2KBq4.cjs +202 -0
- package/dist/Dashboard-CcPPcG_a.js +5540 -0
- package/dist/Dashboard-Dx0_xMy-.cjs +1551 -0
- package/dist/DashboardReportPage-BxblLzLW.js +2536 -0
- package/dist/DashboardReportPage-Dr980lON.cjs +371 -0
- package/dist/DashboardSidebarBackgroundAnimation-2aG8p__3.cjs +12 -0
- package/dist/DashboardSidebarBackgroundAnimation-Yc207EBD.js +53 -0
- package/dist/DepositAccTransactionItem-BVP6ZJJU.cjs +76 -0
- package/dist/DepositAccTransactionItem-CQ932yeY.js +112 -0
- package/dist/DepositAccTransactionListPage-KE6qXswD.js +152 -0
- package/dist/DepositAccTransactionListPage-V-NWo4rL.cjs +66 -0
- package/dist/DomesticWireDetailsPage-CBzIsmr_.js +189 -0
- package/dist/DomesticWireDetailsPage-DUsK_5w2.cjs +21 -0
- package/dist/DownloadOverlay-BDoMJI1L.js +2148 -0
- package/dist/DownloadOverlay-CO7NtW_R.cjs +439 -0
- package/dist/DrawerPage-C1MyQ_sy.js +208 -0
- package/dist/DrawerPage-D4qBZlpW.cjs +118 -0
- package/dist/EditPeoplePage-AYRdFNs_.js +392 -0
- package/dist/EditPeoplePage-CS2IEYN7.cjs +55 -0
- package/dist/EditReimbursementDetailPage--Sn_Y2jq.js +4531 -0
- package/dist/EditReimbursementDetailPage-tVA_Oefc.cjs +865 -0
- package/dist/EmptySearchResults-Ccn-a5z6.cjs +46 -0
- package/dist/EmptySearchResults-DB83lEnn.js +70 -0
- package/dist/EntityDetailPage-B4yEHhwS.js +82 -0
- package/dist/EntityDetailPage-CnYk8kKo.cjs +18 -0
- package/dist/EntitySummarySection-B1exE8WQ.cjs +149 -0
- package/dist/EntitySummarySection-C9etyMk7.js +530 -0
- package/dist/ExpenseAutomationOverviewPage-CFYNTWUY.js +807 -0
- package/dist/ExpenseAutomationOverviewPage-COk1kSfK.cjs +281 -0
- package/dist/ExpenseAutomationPage-D8QyMDJI.cjs +1650 -0
- package/dist/ExpenseAutomationPage-hXhw19It.js +11583 -0
- package/dist/ExpressPayPage-BiGEelVL.cjs +168 -0
- package/dist/ExpressPayPage-Cs2UGCPA.js +1136 -0
- package/dist/FeaturePreviewPage-C0mbPvCp.cjs +11 -0
- package/dist/FeaturePreviewPage-CDbpi6Xx.js +114 -0
- package/dist/FollowStepsSection-_b6Sbtqe.js +1313 -0
- package/dist/FollowStepsSection-oMg-Va_9.cjs +390 -0
- package/dist/GlobalReviewListPage-BJhAU1VA.cjs +291 -0
- package/dist/GlobalReviewListPage-C70IRDxc.js +1674 -0
- package/dist/InformationCardStack-BpgGmx-5.js +219 -0
- package/dist/InformationCardStack-DFZNDX4j.cjs +31 -0
- package/dist/InsightsCardStack-BMLpTOj_.cjs +79 -0
- package/dist/InsightsCardStack-CcS2RFIS.js +305 -0
- package/dist/InsightsSection-CyyO3DiC.js +97 -0
- package/dist/InsightsSection-M9dYxy9x.cjs +27 -0
- package/dist/IntegrationsSettingsPage-C-mQkeuG.js +136 -0
- package/dist/IntegrationsSettingsPage-CGSetZlY.cjs +57 -0
- package/dist/InternationalWireSwiftDetailsPage-BIhdyJeq.cjs +171 -0
- package/dist/InternationalWireSwiftDetailsPage-DKQ9d1KE.js +753 -0
- package/dist/InternationalWireVerificationPage-Cb7SEhkm.cjs +292 -0
- package/dist/InternationalWireVerificationPage-De3LZhUS.js +877 -0
- package/dist/InviteFormPage-BHZrFAde.cjs +312 -0
- package/dist/InviteFormPage-CPYEvR2p.js +873 -0
- package/dist/InvitePageListView-BSij0fma.cjs +739 -0
- package/dist/InvitePageListView-DoFwTq5n.js +1764 -0
- package/dist/InvitePeoplePage-Cj-zXjFo.cjs +12 -0
- package/dist/InvitePeoplePage-D9drlWFD.js +286 -0
- package/dist/InvoiceUploadSection-CI6iCjRE.cjs +140 -0
- package/dist/InvoiceUploadSection-CastFYt9.js +465 -0
- package/dist/IssueChargeCardPage--jHr-1mc.cjs +532 -0
- package/dist/IssueChargeCardPage-DgOhi2Io.js +2880 -0
- package/dist/LabeledAddressValue-BbNbFbD4.js +115 -0
- package/dist/LabeledAddressValue-CXYbATB5.cjs +49 -0
- package/dist/LabeledAddressValueField-Bk9QuGMe.js +130 -0
- package/dist/LabeledAddressValueField-DHQuhYKt.cjs +45 -0
- package/dist/LabeledControlledCheckBoxField-Cj3WeM_I.js +73 -0
- package/dist/LabeledControlledCheckBoxField-f5HiUa_4.cjs +16 -0
- package/dist/LabeledCreatableSingleSelectField-D0oMo4QO.js +515 -0
- package/dist/LabeledCreatableSingleSelectField-oqTbqXoC.cjs +204 -0
- package/dist/LabeledDocumentField-D1KFHxFE.js +147 -0
- package/dist/LabeledDocumentField-Dbsc_m7_.cjs +41 -0
- package/dist/LabeledDropDownFormattedTextField-BLuUYw_q.cjs +59 -0
- package/dist/LabeledDropDownFormattedTextField-DZ9T8Vwn.js +163 -0
- package/dist/LabeledEmailInputField-Bq_1rV9g.js +425 -0
- package/dist/LabeledEmailInputField-DrmZ4Roa.cjs +182 -0
- package/dist/LabeledItemWithButton-bpURNBZ9.cjs +21 -0
- package/dist/LabeledItemWithButton-kvV3QhFz.js +74 -0
- package/dist/LabeledNameField-C5dK4PLS.cjs +141 -0
- package/dist/LabeledNameField-CG1yOPdl.js +293 -0
- package/dist/LabeledSingleSelectField-DRY1b-pB.js +372 -0
- package/dist/LabeledSingleSelectField-GgCpy1wc.cjs +136 -0
- package/dist/LabeledSingleSelectWithoutClearableField-Bcb1gCS6.cjs +38 -0
- package/dist/LabeledSingleSelectWithoutClearableField-BsKzxgum.js +103 -0
- package/dist/LabeledText-Bo9vfQWJ.cjs +42 -0
- package/dist/LabeledText-bXQjwAQc.js +103 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-CpgS8uBp.cjs +229 -0
- package/dist/LabeledUserSingleSelectWithSubtitlesField-DOrAblsR.js +572 -0
- package/dist/LabeledZeniRolesDropDownField-B7wbw633.cjs +297 -0
- package/dist/LabeledZeniRolesDropDownField-Cib51CFb.js +975 -0
- package/dist/LinkJETransactionPage-a0vLEfbZ.cjs +98 -0
- package/dist/LinkJETransactionPage-fXZvKb5B.js +406 -0
- package/dist/LockCardPage-C91_vTye.cjs +623 -0
- package/dist/LockCardPage-CdWigku9.js +2032 -0
- package/dist/LowBalancePopup-BWDYAWMP.js +219 -0
- package/dist/LowBalancePopup-Epaw-O5T.cjs +34 -0
- package/dist/MagicLinkACHDetailsPage-B-DmxhNe.cjs +1 -0
- package/dist/MagicLinkACHDetailsPage-BlQol4OK.js +39 -0
- package/dist/MagicLinkDomesticWireDetailsPage-BFhlHwn4.cjs +1 -0
- package/dist/MagicLinkDomesticWireDetailsPage-wNhfCAUO.js +44 -0
- package/dist/MagicLinkInternationalWireDetailsPage-DI3Gcb4K.js +43 -0
- package/dist/MagicLinkInternationalWireDetailsPage-Dtc38HUY.cjs +1 -0
- package/dist/MagicLinkSuccessPage-BDtaT40N.js +59 -0
- package/dist/MagicLinkSuccessPage-qE9SKFNX.cjs +31 -0
- package/dist/MagicLinkTitleSection-2lQrSqBL.cjs +17 -0
- package/dist/MagicLinkTitleSection-3hHoa2Y_.js +40 -0
- package/dist/MailingDetailsSection-Bqq-sUiw.js +74 -0
- package/dist/MailingDetailsSection-YFMjcM9x.cjs +21 -0
- package/dist/MatchingOperatorDropdown-Cm-8z7-j.js +572 -0
- package/dist/MatchingOperatorDropdown-r_RJRha_.cjs +130 -0
- package/dist/Menu-x9ZwZscJ.js +110 -0
- package/dist/Menu-ytjoXXOC.cjs +17 -0
- package/dist/MoreMenuButton-BoIxITZl.cjs +167 -0
- package/dist/MoreMenuButton-FdREklWs.js +569 -0
- package/dist/MyBankConnectionsSettingsPage-B_J98IxR.js +297 -0
- package/dist/MyBankConnectionsSettingsPage-DUJ9Wm9W.cjs +110 -0
- package/dist/MyPendingActivationChargeCardListPage-DsPIpMfw.cjs +6 -0
- package/dist/MyPendingActivationChargeCardListPage-Dyxn2JTf.js +168 -0
- package/dist/MyProfileSettingsPage-Cs8qt-K-.cjs +85 -0
- package/dist/MyProfileSettingsPage-twpipA_0.js +641 -0
- package/dist/NavBarWithPicker-CrSsF-_Q.js +106 -0
- package/dist/NavBarWithPicker-W1RozloF.cjs +30 -0
- package/dist/NavigationArrow-DhR0dkpr.cjs +47 -0
- package/dist/NavigationArrow-Do8rhP0E.js +88 -0
- package/dist/NavigationDots-CH_ogVFV.cjs +15 -0
- package/dist/NavigationDots-CTt0Nep1.js +44 -0
- package/dist/NewGlobalMerchantPage-Ds5Bv5Rb.js +543 -0
- package/dist/NewGlobalMerchantPage-uDG7LjB8.cjs +160 -0
- package/dist/NoDataChart-tv2N2MOH.js +58 -0
- package/dist/NoDataChart-xZYIwNIM.cjs +26 -0
- package/dist/NoDataTable-C5ak8gFL.cjs +8 -0
- package/dist/NoDataTable-DD9kG81t.js +27 -0
- package/dist/NotFoundPage-C-rseFL7.js +71 -0
- package/dist/NotFoundPage-Dy8fk1FU.cjs +46 -0
- package/dist/NotificationSettingsPage-B34VPD5T.cjs +163 -0
- package/dist/NotificationSettingsPage-DKLi1pCx.js +541 -0
- package/dist/NotificationsListConfig-3VHm-DiF.js +10 -0
- package/dist/NotificationsListConfig-DtxOh5W9.cjs +1 -0
- package/dist/NotificationsPage-B6Ctfu1A.js +2664 -0
- package/dist/NotificationsPage-Ci10RNeo.cjs +685 -0
- package/dist/OpExByVendorPage-DAaWTlM4.cjs +100 -0
- package/dist/OpExByVendorPage-DH0yct9O.js +1058 -0
- package/dist/PandLWithForecastPage-BpHSH-6V.cjs +107 -0
- package/dist/PandLWithForecastPage-Cq6IbTZY.js +563 -0
- package/dist/PaymentAccountSetupBillingAddressSection-BX1FBS90.cjs +106 -0
- package/dist/PaymentAccountSetupBillingAddressSection-ClOA65rQ.js +623 -0
- package/dist/PeoplePage-BduvauCB.js +1994 -0
- package/dist/PeoplePage-SJiebFvg.cjs +675 -0
- package/dist/ProductsCarousel-7gqjEiks.cjs +142 -0
- package/dist/ProductsCarousel-Ba3LFqSX.js +309 -0
- package/dist/PromoBaseCards-CDAq11Q8.js +356 -0
- package/dist/PromoBaseCards-Dgu-go9F.cjs +218 -0
- package/dist/QBOConnectionDialog-DwIqs6V0.js +115 -0
- package/dist/QBOConnectionDialog-pKVW9ApJ.cjs +51 -0
- package/dist/QBOSetupSection-BP-HI9ee.js +167 -0
- package/dist/QBOSetupSection-BrGArj1J.cjs +79 -0
- package/dist/ReimbursementApprovalRuleDetailPage-BNf-eb8Q.cjs +26 -0
- package/dist/ReimbursementApprovalRuleDetailPage-DhQu95gx.js +247 -0
- package/dist/ReimbursementApprovalRulesPage-B6Zq8__U.cjs +237 -0
- package/dist/ReimbursementApprovalRulesPage-ChVb50jj.js +410 -0
- package/dist/ReimbursementDetailPage-Cdl3FDWS.js +1514 -0
- package/dist/ReimbursementDetailPage-CnoShh3o.cjs +314 -0
- package/dist/ReimbursementPromoPage-Bp9gH1Hm.js +363 -0
- package/dist/ReimbursementPromoPage-D2lGPadv.cjs +84 -0
- package/dist/ReimbursementSetUpPage-BQ3OJSNL.js +663 -0
- package/dist/ReimbursementSetUpPage-hVYcD5G0.cjs +140 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-By4xkyqn.js +204 -0
- package/dist/ReimbursementsBulkReviewDrawerPage-GY1j_IQh.cjs +1 -0
- package/dist/ReloadCard-C8HxyEwk.js +137 -0
- package/dist/ReloadCard-DVp4fwoL.cjs +26 -0
- package/dist/ReloadContainer-BP_3UOea.js +2165 -0
- package/dist/ReloadContainer-cSwuKYsC.cjs +596 -0
- package/dist/ReportTableViewSelector-CmmQDR_d.cjs +150 -0
- package/dist/ReportTableViewSelector-DkQAgAz6.js +679 -0
- package/dist/ReportsPage-BAFAhF-L.cjs +121 -0
- package/dist/ReportsPage-BcJN_fYG.js +1315 -0
- package/dist/RevenueChart-DbvqFyiz.cjs +280 -0
- package/dist/RevenueChart-NB6EAU0x.js +2240 -0
- package/dist/ReviewDetailsPage-Baip80la.js +1073 -0
- package/dist/ReviewDetailsPage-Dl5jaF47.cjs +290 -0
- package/dist/ReviewOverlay-DHduQ2pA.js +299 -0
- package/dist/ReviewOverlay-U6OGnRSa.cjs +152 -0
- package/dist/RoleWithToolTip-CX-nfje7.js +72 -0
- package/dist/RoleWithToolTip-HplbCAiP.cjs +22 -0
- package/dist/ScheduleDetailsFixedAssetsPage-TAAFo1Qw.js +806 -0
- package/dist/ScheduleDetailsFixedAssetsPage-sveMEr_o.cjs +37 -0
- package/dist/ScheduleDetailsPage-D9Km1ztj.js +726 -0
- package/dist/ScheduleDetailsPage-Yz-XPzKL.cjs +37 -0
- package/dist/ScheduleSequenceTable-BiZxRjN2.js +1261 -0
- package/dist/ScheduleSequenceTable-RjP2BTif.cjs +324 -0
- package/dist/SetUpAccountSection-B1oTTHZs.cjs +378 -0
- package/dist/SetUpAccountSection-CghF3RdX.js +1469 -0
- package/dist/SignIn-B4aG6iYe.cjs +448 -0
- package/dist/SignIn-OaEaJ94i.js +1075 -0
- package/dist/SpendManagementListViewPage-CzLZV6Cf.cjs +122 -0
- package/dist/SpendManagementListViewPage-K_vJdDMF.js +627 -0
- package/dist/SpendManagementPerTabPage-3mnw5WsK.js +2735 -0
- package/dist/SpendManagementPerTabPage-C7isQ8dm.cjs +754 -0
- package/dist/SpendManagementSection-33WIhh5n.js +1043 -0
- package/dist/SpendManagementSection-D2qBZP4p.cjs +230 -0
- package/dist/StatementItem-C14Nclfc.js +81 -0
- package/dist/StatementItem-Ci-Uro61.cjs +31 -0
- package/dist/StatementsPage-CBRGFqt_.js +130 -0
- package/dist/StatementsPage-CCtM5ccd.cjs +58 -0
- package/dist/StatusSwitcher-CCsGNgZ3.js +319 -0
- package/dist/StatusSwitcher-F_vaqznM.cjs +120 -0
- package/dist/SubTabSwitcher-Be4-2Q6b.cjs +58 -0
- package/dist/SubTabSwitcher-CZlWE4TF.js +113 -0
- package/dist/SuccessAnimation-CmcNHXWD.js +52 -0
- package/dist/SuccessAnimation-Cpx-aXTZ.cjs +13 -0
- package/dist/SummaryCard-BQT9JvZp.js +25 -0
- package/dist/SummaryCard-CDu0iGx1.cjs +1 -0
- package/dist/TaskDetailPage-BS1DCFxq.cjs +775 -0
- package/dist/TaskDetailPage-CuQrBzxF.js +2533 -0
- package/dist/TaskListRow-Cd0PWX_6.js +1950 -0
- package/dist/TaskListRow-dYlbBiLB.cjs +556 -0
- package/dist/TaskManagementPage-C1azLyKH.js +1935 -0
- package/dist/TaskManagementPage-SKQgn8gO.cjs +508 -0
- package/dist/TimeRangeSwitcher-Cc17kflM.js +265 -0
- package/dist/TimeRangeSwitcher-D3ScfGZA.cjs +64 -0
- package/dist/TimeframeSwitcher-Cqw_X0jJ.js +103 -0
- package/dist/TimeframeSwitcher-DJksLlgM.cjs +31 -0
- package/dist/TimeframeSwitcherWithToggle-DwmZoYmN.cjs +31 -0
- package/dist/TimeframeSwitcherWithToggle-hlsXnl9i.js +157 -0
- package/dist/TopExCard-Cxpgw9vv.cjs +38 -0
- package/dist/TopExCard-nRv_c4MK.js +569 -0
- package/dist/TopExDetailPage-CSPGHN9M.cjs +132 -0
- package/dist/TopExDetailPage-DFVpugXg.js +318 -0
- package/dist/TransactionDetailPage-BBMVspLJ.cjs +912 -0
- package/dist/TransactionDetailPage-BeGg3-P_.js +5238 -0
- package/dist/TransactionList-C5___G8q.cjs +147 -0
- package/dist/TransactionList-DEgBftTl.js +558 -0
- package/dist/TransactionListBig-Cw7JRNbx.js +658 -0
- package/dist/TransactionListBig-DzqBcq_v.cjs +284 -0
- package/dist/TransactionListPage-DqB9AAzx.cjs +35 -0
- package/dist/TransactionListPage-NAJU5v7V.js +145 -0
- package/dist/TransactionVendorDetailPage-BBoTcOKS.cjs +80 -0
- package/dist/TransactionVendorDetailPage-CVAmGOuZ.js +425 -0
- package/dist/TransferDrawerPage-Did79w1A.js +1436 -0
- package/dist/TransferDrawerPage-IUYAyw1x.cjs +362 -0
- package/dist/TreasuryOverviewPage-CEsDFRiF.js +1890 -0
- package/dist/TreasuryOverviewPage-v4onvhMB.cjs +708 -0
- package/dist/TreasuryPromoPage-BMDYNx-o.js +1123 -0
- package/dist/TreasuryPromoPage-CpR7DCQZ.cjs +505 -0
- package/dist/TreasuryStatementsPage-G4HkKj8a.cjs +58 -0
- package/dist/TreasuryStatementsPage-W_ihbN3U.js +131 -0
- package/dist/TreasuryTaxLetterPage-Bsnh29ko.cjs +58 -0
- package/dist/TreasuryTaxLetterPage-DQ3aCH6S.js +131 -0
- package/dist/TrendChart-5mcQ7NLv.cjs +16 -0
- package/dist/TrendChart-B09wecu3.js +334 -0
- package/dist/TrendWithTransactions-BRne_XkH.cjs +116 -0
- package/dist/TrendWithTransactions-CLGSIe04.js +346 -0
- package/dist/UncategorizedAccountsMappingPage-B-U1ey-D.cjs +244 -0
- package/dist/UncategorizedAccountsMappingPage-BxYAMNzZ.js +1159 -0
- package/dist/UnitIntegrationPage-71P7qd41.js +405 -0
- package/dist/UnitIntegrationPage-C3-A0OwJ.cjs +67 -0
- package/dist/UploadAdditionalDocumentOverlay-3og0_4p-.js +211 -0
- package/dist/UploadAdditionalDocumentOverlay-D7AmY93P.cjs +38 -0
- package/dist/Vendor2FAPopup-B0mBtFoX.cjs +1 -0
- package/dist/Vendor2FAPopup-B_xxHu_y.js +69 -0
- package/dist/VendorACHDetailsPage-C0tyPqmv.js +43 -0
- package/dist/VendorACHDetailsPage-JYIZDUPM.cjs +1 -0
- package/dist/VendorDetailPage-Cyw1uAW-.cjs +257 -0
- package/dist/VendorDetailPage-virjAlXV.js +1236 -0
- package/dist/VendorDomesticWireDetailsPage-BGH3GAV0.js +53 -0
- package/dist/VendorDomesticWireDetailsPage-CjrHt46A.cjs +1 -0
- package/dist/VendorFiling1099EditablePage-CV4nQxJ0.js +842 -0
- package/dist/VendorFiling1099EditablePage-DI7QGG8O.cjs +175 -0
- package/dist/VendorFirstReviewPage-CsLOtqec.cjs +730 -0
- package/dist/VendorFirstReviewPage-D2kVV9Nb.js +2748 -0
- package/dist/VendorInternationalWireDetailsPage-5aoJxFaD.js +968 -0
- package/dist/VendorInternationalWireDetailsPage-BfbK6-FR.cjs +152 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-BDZuHXsA.cjs +1 -0
- package/dist/VendorInternationalWireSwiftDetailsPage-DwivFvCK.js +52 -0
- package/dist/VendorsAccountsSection-CqDdE8LA.js +279 -0
- package/dist/VendorsAccountsSection-DkW0oF1b.cjs +68 -0
- package/dist/VerifyDevice-CnJVFhiV.cjs +112 -0
- package/dist/VerifyDevice-hUPjqp0h.js +298 -0
- package/dist/VideoPlayer-B0o2cNRd.cjs +77 -0
- package/dist/VideoPlayer-Dgs4bTia.js +170 -0
- package/dist/VideoPopup-D0ArpNLY.cjs +31 -0
- package/dist/VideoPopup-zwgeCmVb.js +60 -0
- package/dist/WarningsDrawerPage-Bch6SI8Y.js +228 -0
- package/dist/WarningsDrawerPage-EtGrOhGM.cjs +92 -0
- package/dist/ZeniAccountDetailPage-BRJlKZEf.js +908 -0
- package/dist/ZeniAccountDetailPage-C87MvLmr.cjs +300 -0
- package/dist/ZeniAccountListViewPage-D3JJO9is.cjs +441 -0
- package/dist/ZeniAccountListViewPage-j1xr-Rg4.js +1078 -0
- package/dist/ZeniAccountNavBarPieces-CYeHRqwh.js +89 -0
- package/dist/ZeniAccountNavBarPieces-v1PEZAVW.cjs +14 -0
- package/dist/ZeniAccountPromoPage-B69xgEdn.js +522 -0
- package/dist/ZeniAccountPromoPage-Bxsyy6wE.cjs +184 -0
- package/dist/ZeniAccountSetupPage-DG1UEPCk.js +309 -0
- package/dist/ZeniAccountSetupPage-SqpRtJad.cjs +36 -0
- package/dist/ZeniAvatar-C0fTMeLv.js +34 -0
- package/dist/ZeniAvatar-GrWvj4Vb.cjs +13 -0
- package/dist/ZeniCopyright-CP_pO7XP.js +9 -0
- package/dist/ZeniCopyright-DKyYwv3p.cjs +1 -0
- package/dist/ZeniDatePicker-Bkcd6z5x.cjs +187 -0
- package/dist/ZeniDatePicker-CjimZTlv.js +386 -0
- package/dist/ZeniTransferAmountSlider-B-qORPqk.cjs +63 -0
- package/dist/ZeniTransferAmountSlider-DF0RBJoB.js +215 -0
- package/dist/analyticsHelper-BLgOJ3AD.js +65 -0
- package/dist/analyticsHelper-jtX2I0Jz.cjs +1 -0
- package/dist/calculateSize-BfSbsyJL.cjs +1 -0
- package/dist/calculateSize-BgLptxYk.js +22 -0
- package/dist/chartTypes-BumAsPmj.js +47 -0
- package/dist/chartTypes-D24nWlnh.cjs +1 -0
- package/dist/cockpit.cjs.js +2 -2
- package/dist/cockpit.esm.js +15 -15
- package/dist/common-BMM-NlPD.cjs +1 -0
- package/dist/common-IOciBUVp.js +22 -0
- package/dist/commonDimensions-B8s-4dOj.cjs +1 -0
- package/dist/commonDimensions-C0EgJtxz.js +13 -0
- package/dist/components/companyPassport/sections/companyInfo/CompanyInfoSection.d.ts +1 -1
- package/dist/detailCommon-C7nth_k3.cjs +38 -0
- package/dist/detailCommon-CLmahG3e.js +124 -0
- package/dist/downloadPdf-9-eVzQkv.cjs +1 -0
- package/dist/downloadPdf-DEq5LhoI.js +32 -0
- package/dist/index-DOPIZEh4.js +92167 -0
- package/dist/index-oPmOjv0R.cjs +21111 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mapLoadingInProgressToTreeNode-CGsdRN8g.cjs +1 -0
- package/dist/mapLoadingInProgressToTreeNode-HsFHQF8-.js +25 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-CL52gcM-.js +387 -0
- package/dist/mapSectionWithAcOnlyToTreeNode-Dv9CwOb0.cjs +1 -0
- package/dist/mapSpacerToTreeNode-Dq3DCZnE.js +25 -0
- package/dist/mapSpacerToTreeNode-UbLVjrjF.cjs +1 -0
- package/dist/mapTimeframeBalancesToTreeNode--xPbxYzw.cjs +1 -0
- package/dist/mapTimeframeBalancesToTreeNode-CzAwDEFR.cjs +1 -0
- package/dist/mapTimeframeBalancesToTreeNode-D81NkB5e.js +24 -0
- package/dist/mapTimeframeBalancesToTreeNode-ImCnhnoK.js +24 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-DP6swSZ6.cjs +1 -0
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-tEYestoZ.js +32 -0
- package/dist/sectionColor-B04CH8ps.cjs +1 -0
- package/dist/sectionColor-Ba7KUp-9.js +32 -0
- package/dist/toCOABalancesWithID-BhdvtR_w.js +8 -0
- package/dist/toCOABalancesWithID-Di94V9qN.cjs +1 -0
- package/dist/toChartData-CW2UOsn6.js +76 -0
- package/dist/toChartData-CyyWioU9.cjs +1 -0
- package/dist/uploadAttachment-cbcrlUb2.js +952 -0
- package/dist/uploadAttachment-doSiWc8l.cjs +286 -0
- package/dist/zeniDatePicker.helpers-DuZ7_oay.cjs +1 -0
- package/dist/zeniDatePicker.helpers-sgtvbXZs.js +14 -0
- package/package.json +4 -6
- package/dist/ACHDetailsPage-BwArMpW8.cjs +0 -21
- package/dist/ACHDetailsPage-CYKQyHTA.js +0 -160
- package/dist/AIPerformancePage-BrbcM3-0.cjs +0 -539
- package/dist/AIPerformancePage-DLqv27Lx.js +0 -1345
- package/dist/AccountInfoPage-Bcet_t36.cjs +0 -18
- package/dist/AccountInfoPage-CUkTeFEv.js +0 -78
- package/dist/AccountInfoPageContent-DUcQdWLJ.cjs +0 -149
- package/dist/AccountInfoPageContent-DcINjKPG.js +0 -428
- package/dist/AccountLockedInfoModal-5ycOSy4s.js +0 -125
- package/dist/AccountLockedInfoModal-DZL2SbSy.cjs +0 -59
- package/dist/AccountReconDetailsDrawerPage-BO161Gyl.js +0 -687
- package/dist/AccountReconDetailsDrawerPage-D_EczF33.cjs +0 -239
- package/dist/AccountRow-BAfMbd78.cjs +0 -298
- package/dist/AccountRow-DS7n8AIi.js +0 -1014
- package/dist/AccountsPromoCardStack-BuBcPwxK.cjs +0 -207
- package/dist/AccountsPromoCardStack-CNknoWHp.js +0 -664
- package/dist/AddAddressForCardDrawer-Bansz4Vp.cjs +0 -6
- package/dist/AddAddressForCardDrawer-oF1pZVV5.js +0 -82
- package/dist/AddToWalletPage-7p0vYiJo.js +0 -642
- package/dist/AddToWalletPage-CS16vDUS.cjs +0 -344
- package/dist/AgingReportsPage-CBqwmHgb.js +0 -827
- package/dist/AgingReportsPage-CGcF39ha.cjs +0 -79
- package/dist/AllUserItems-C8BdMzTN.cjs +0 -192
- package/dist/AllUserItems-DjWT-b3o.js +0 -979
- package/dist/ApAgingDetailPage-B_KO5FyC.js +0 -239
- package/dist/ApAgingDetailPage-ChvnAgiY.cjs +0 -46
- package/dist/AppBasePage-Bkdj8PpL.cjs +0 -71
- package/dist/AppBasePage-Dg2U7SdF.js +0 -120
- package/dist/AppDrawerContent-hZY3GuOC.cjs +0 -91
- package/dist/AppDrawerContent-i8JUmafF.js +0 -379
- package/dist/ApprovalRulesSettingsPage-Cj33_1OJ.cjs +0 -47
- package/dist/ApprovalRulesSettingsPage-zaXRFKws.js +0 -145
- package/dist/ArAgingChart-CikSZpsm.js +0 -530
- package/dist/ArAgingChart-Czd1cz_U.cjs +0 -24
- package/dist/ArAgingDetailPage-BGIUDndT.cjs +0 -46
- package/dist/ArAgingDetailPage-D964-U7k.js +0 -243
- package/dist/AttachmentView-BkV50SDz.js +0 -260
- package/dist/AttachmentView-updk9vuf.cjs +0 -101
- package/dist/BankAccountSection-ByY_aWQu.cjs +0 -79
- package/dist/BankAccountSection-Dm4J59ac.js +0 -398
- package/dist/BankAccountWarningSection-DtLANJII.cjs +0 -51
- package/dist/BankAccountWarningSection-DuDR6ffh.js +0 -110
- package/dist/BankConnectionsSettingsPage-0xvyoz5J.js +0 -1694
- package/dist/BankConnectionsSettingsPage-D5ySlaqf.cjs +0 -425
- package/dist/BillDetailPage-DDJiguao.cjs +0 -266
- package/dist/BillDetailPage-DrEhENK4.js +0 -1801
- package/dist/BillPayApprovalRuleDetailPage-6TtO0nOX.cjs +0 -27
- package/dist/BillPayApprovalRuleDetailPage-C8DVi9eC.js +0 -247
- package/dist/BillPayApprovalRulesPage-DMkGGeH7.cjs +0 -235
- package/dist/BillPayApprovalRulesPage-DprvhWFn.js +0 -415
- package/dist/BillPayPromoPage-CMWjjhQZ.js +0 -292
- package/dist/BillPayPromoPage-CbqfG6kM.cjs +0 -84
- package/dist/BillPaySetUpPage-BP9_pxo8.cjs +0 -42
- package/dist/BillPaySetUpPage-Due4svsR.js +0 -408
- package/dist/BillingSettingsPage-B2WVmxEh.cjs +0 -44
- package/dist/BillingSettingsPage-CrcjvbTG.js +0 -336
- package/dist/BillsBulkReviewDrawerPage-COJQRWBK.cjs +0 -1
- package/dist/BillsBulkReviewDrawerPage-CWJUU3V2.js +0 -216
- package/dist/BoxItem-DrDpqCbz.cjs +0 -53
- package/dist/BoxItem-xCL2YIds.js +0 -118
- package/dist/BusinessVerificationPage-D89zdnn5.js +0 -716
- package/dist/BusinessVerificationPage-Dp9kn9hw.cjs +0 -138
- package/dist/BusyIndication-C1ekFdal.cjs +0 -9
- package/dist/BusyIndication-CLWkdlwr.js +0 -19
- package/dist/CardNumberSubText-BXyNaoCV.cjs +0 -21
- package/dist/CardNumberSubText-WZEgAD_h.js +0 -59
- package/dist/CashbackDetailPage-D7XdFm1W.cjs +0 -285
- package/dist/CashbackDetailPage-DTtZ23Pu.js +0 -825
- package/dist/ChargeCardDetailPage-BJYOb3pu.cjs +0 -1462
- package/dist/ChargeCardDetailPage-Co_5YCKC.js +0 -5454
- package/dist/ChargeCardListPage-D0f-x6sW.cjs +0 -412
- package/dist/ChargeCardListPage-Dnfx3JCL.js +0 -1797
- package/dist/ChargeCardListTable-C4uh4J9K.cjs +0 -711
- package/dist/ChargeCardListTable-CwmCwMWs.js +0 -2901
- package/dist/ChargeCardPromoPage-C6Na0Gzk.cjs +0 -222
- package/dist/ChargeCardPromoPage-DOZUukYj.js +0 -816
- package/dist/ChargeCardSetupPage-D5u_7MZX.cjs +0 -36
- package/dist/ChargeCardSetupPage-Ds4W-dsi.js +0 -359
- package/dist/ChargeCardStatementsPage-BDqvzIfX.js +0 -243
- package/dist/ChargeCardStatementsPage-D67j4sbK.cjs +0 -60
- package/dist/CheckDepositDrawerPage-BYj0IPeL.js +0 -726
- package/dist/CheckDepositDrawerPage-DcoepbB5.cjs +0 -206
- package/dist/CollapsableReportTable-DfGHzA-f.cjs +0 -2844
- package/dist/CollapsableReportTable-MdGfxigd.js +0 -11659
- package/dist/CompanyOfficerDetailsSection-BCzm8CEb.cjs +0 -260
- package/dist/CompanyOfficerDetailsSection-C-unnG8q.js +0 -1633
- package/dist/CompanyPassportCard-C6Q-YF5B.js +0 -146
- package/dist/CompanyPassportCard-DJa9Gi1Y.cjs +0 -42
- package/dist/CompanyPassportPage-D_A-fSec.cjs +0 -574
- package/dist/CompanyPassportPage-WvR_ZDZw.js +0 -2160
- package/dist/CompleteProfile-D3kAu2WA.cjs +0 -52
- package/dist/CompleteProfile-Dl2R5vDO.js +0 -301
- package/dist/ConfettiBurst-CAyx1hwq.cjs +0 -1
- package/dist/ConfettiBurst-DOBYhi8H.js +0 -37
- package/dist/CreateOrEditVendorPage-BkjFVwXf.cjs +0 -281
- package/dist/CreateOrEditVendorPage-SZUdQDPX.js +0 -763
- package/dist/CreditCardPaymentDrawerPage-BacBiUyE.js +0 -1170
- package/dist/CreditCardPaymentDrawerPage-sWWtBb2W.cjs +0 -224
- package/dist/CurrencySelectField-D_89lqXj.js +0 -348
- package/dist/CurrencySelectField-DkEjdkjo.cjs +0 -139
- package/dist/CustomerOnboardingActivationPage-Co7TiXDY.js +0 -143
- package/dist/CustomerOnboardingActivationPage-DOk08ksi.cjs +0 -88
- package/dist/CustomerOnboardingContainerPage-2-p0xECd.js +0 -7
- package/dist/CustomerOnboardingContainerPage-CbBVBjxi.cjs +0 -1
- package/dist/CustomerOnboardingDetailPageSkeleton-CERd2g7A.cjs +0 -162
- package/dist/CustomerOnboardingDetailPageSkeleton-nu8ZS54s.js +0 -434
- package/dist/CustomerOnboardingNoStepsPage-B9f6Fyho.cjs +0 -66
- package/dist/CustomerOnboardingNoStepsPage-CqCWPljL.js +0 -424
- package/dist/CustomerOnboardingPage-DmGISgmG.js +0 -1094
- package/dist/CustomerOnboardingPage-ViirXnMF.cjs +0 -107
- package/dist/CustomerOnboardingProductSuitePage-Bb6m0GNF.cjs +0 -202
- package/dist/CustomerOnboardingProductSuitePage-CsJ_anLN.js +0 -348
- package/dist/Dashboard-CYpvGuxz.js +0 -5540
- package/dist/Dashboard-wJHBgsB4.cjs +0 -1551
- package/dist/DashboardReportPage-BN6kj3nY.cjs +0 -371
- package/dist/DashboardReportPage-BQ9Thoyl.js +0 -2536
- package/dist/DashboardSidebarBackgroundAnimation-CPDtLtLU.js +0 -53
- package/dist/DashboardSidebarBackgroundAnimation-DHmVCWXK.cjs +0 -12
- package/dist/DepositAccTransactionItem-BwNXi_at.cjs +0 -76
- package/dist/DepositAccTransactionItem-D6jJ3_g4.js +0 -112
- package/dist/DepositAccTransactionListPage-IeseGeY1.cjs +0 -66
- package/dist/DepositAccTransactionListPage-UZwc9QCK.js +0 -152
- package/dist/DomesticWireDetailsPage-BovxzwZL.js +0 -189
- package/dist/DomesticWireDetailsPage-cVXue-D4.cjs +0 -21
- package/dist/DownloadOverlay-DUBJvr17.cjs +0 -439
- package/dist/DownloadOverlay-DgOslI0q.js +0 -2148
- package/dist/DrawerPage-DIsBeIv4.cjs +0 -118
- package/dist/DrawerPage-_L9gYHnd.js +0 -208
- package/dist/EditPeoplePage-6EmPq3HV.js +0 -392
- package/dist/EditPeoplePage-C9Kww5Hc.cjs +0 -55
- package/dist/EditReimbursementDetailPage-5E5Ub28C.cjs +0 -865
- package/dist/EditReimbursementDetailPage-Byh4zW9t.js +0 -4531
- package/dist/EmptySearchResults-BKAUWDqq.cjs +0 -46
- package/dist/EmptySearchResults-DMVEwkEr.js +0 -70
- package/dist/EntityDetailPage-I7QsVqY2.cjs +0 -18
- package/dist/EntityDetailPage-X8kgrFtX.js +0 -82
- package/dist/EntitySummarySection-CynVpbx5.js +0 -530
- package/dist/EntitySummarySection-kTytfD8-.cjs +0 -149
- package/dist/ExpenseAutomationOverviewPage-B9yqes4x.js +0 -807
- package/dist/ExpenseAutomationOverviewPage-LP6HyU3q.cjs +0 -281
- package/dist/ExpenseAutomationPage-BiYmM6d-.cjs +0 -1650
- package/dist/ExpenseAutomationPage-C2D2WEe_.js +0 -11583
- package/dist/ExpressPayPage-B5lgsKTS.js +0 -1136
- package/dist/ExpressPayPage-hb4jceUQ.cjs +0 -168
- package/dist/FeaturePreviewPage-13U5sBpq.cjs +0 -11
- package/dist/FeaturePreviewPage-iXyMsMuS.js +0 -114
- package/dist/FollowStepsSection-DyneD1F-.cjs +0 -390
- package/dist/FollowStepsSection-rZmUkBIi.js +0 -1313
- package/dist/GlobalReviewListPage-C6RVdS8u.js +0 -1674
- package/dist/GlobalReviewListPage-Dc4FUMSN.cjs +0 -291
- package/dist/InformationCardStack-DmOjw8ST.js +0 -219
- package/dist/InformationCardStack-DorXs9K0.cjs +0 -31
- package/dist/InsightsCardStack-B8EbWwlc.cjs +0 -79
- package/dist/InsightsCardStack-Cs1tWcPv.js +0 -305
- package/dist/InsightsSection-1xRdp087.cjs +0 -27
- package/dist/InsightsSection-BEtwHn_W.js +0 -97
- package/dist/IntegrationsSettingsPage-BNHdf7OL.js +0 -136
- package/dist/IntegrationsSettingsPage-CpAPT6Tn.cjs +0 -57
- package/dist/InternationalWireSwiftDetailsPage-BvBsJjJ_.cjs +0 -171
- package/dist/InternationalWireSwiftDetailsPage-DqthBfqc.js +0 -753
- package/dist/InternationalWireVerificationPage-B8wHXK26.cjs +0 -292
- package/dist/InternationalWireVerificationPage-DAjrJ5n6.js +0 -877
- package/dist/InviteFormPage-B7aunmsH.js +0 -873
- package/dist/InviteFormPage-DInZmSa4.cjs +0 -312
- package/dist/InvitePageListView-NbaMz3T8.js +0 -1764
- package/dist/InvitePageListView-kDWsCQSB.cjs +0 -739
- package/dist/InvitePeoplePage-BBCOyXrb.cjs +0 -12
- package/dist/InvitePeoplePage-D7AJG7Jt.js +0 -286
- package/dist/InvoiceUploadSection-C21hWUip.js +0 -465
- package/dist/InvoiceUploadSection-CZIJD93a.cjs +0 -140
- package/dist/IssueChargeCardPage-1muUdg1K.js +0 -2880
- package/dist/IssueChargeCardPage-Aov5dLti.cjs +0 -532
- package/dist/LabeledAddressValue-CqpKpYq3.js +0 -115
- package/dist/LabeledAddressValue-D9F4BD5d.cjs +0 -49
- package/dist/LabeledAddressValueField-DFxZbTwz.cjs +0 -45
- package/dist/LabeledAddressValueField-f4EX48H5.js +0 -130
- package/dist/LabeledControlledCheckBoxField-68D5JqIR.cjs +0 -16
- package/dist/LabeledControlledCheckBoxField-Dn8VXrEH.js +0 -73
- package/dist/LabeledCreatableSingleSelectField-DdFqsKqC.js +0 -515
- package/dist/LabeledCreatableSingleSelectField-s3YhE6R5.cjs +0 -204
- package/dist/LabeledDocumentField-C54d51RJ.js +0 -147
- package/dist/LabeledDocumentField-SafA4G1m.cjs +0 -41
- package/dist/LabeledDropDownFormattedTextField-C-MROQYo.js +0 -163
- package/dist/LabeledDropDownFormattedTextField-CGrcO_-n.cjs +0 -59
- package/dist/LabeledEmailInputField-DfnugDK1.js +0 -425
- package/dist/LabeledEmailInputField-yeTnAGCG.cjs +0 -182
- package/dist/LabeledItemWithButton-BsdE8hn0.cjs +0 -21
- package/dist/LabeledItemWithButton-CACRw-Yg.js +0 -74
- package/dist/LabeledNameField-COzjZFfw.cjs +0 -141
- package/dist/LabeledNameField-Cc3y5y4J.js +0 -293
- package/dist/LabeledSingleSelectField-B6CDTIGQ.js +0 -372
- package/dist/LabeledSingleSelectField-BzpBE6KG.cjs +0 -136
- package/dist/LabeledSingleSelectWithoutClearableField-BgxM284p.cjs +0 -38
- package/dist/LabeledSingleSelectWithoutClearableField-CklqNy9b.js +0 -103
- package/dist/LabeledText-DBTky_Ba.cjs +0 -42
- package/dist/LabeledText-TLCIeXeJ.js +0 -103
- package/dist/LabeledUserSingleSelectWithSubtitlesField-DuZRu9pO.cjs +0 -229
- package/dist/LabeledUserSingleSelectWithSubtitlesField-eH-5V96_.js +0 -572
- package/dist/LabeledZeniRolesDropDownField-DfgMOT1r.js +0 -975
- package/dist/LabeledZeniRolesDropDownField-pWAIKLKc.cjs +0 -297
- package/dist/LinkJETransactionPage-Cfv4169r.cjs +0 -98
- package/dist/LinkJETransactionPage-YgUU7s-B.js +0 -406
- package/dist/LockCardPage-DvSX9KjZ.js +0 -2032
- package/dist/LockCardPage-ZA7etj17.cjs +0 -623
- package/dist/LowBalancePopup-BvyAMt5m.js +0 -219
- package/dist/LowBalancePopup-C39LwakZ.cjs +0 -34
- package/dist/MagicLinkACHDetailsPage-C7z8Cvqg.js +0 -39
- package/dist/MagicLinkACHDetailsPage-Cyg3NOFX.cjs +0 -1
- package/dist/MagicLinkDomesticWireDetailsPage-Bt0TEX_8.cjs +0 -1
- package/dist/MagicLinkDomesticWireDetailsPage-l6ikPJW8.js +0 -44
- package/dist/MagicLinkInternationalWireDetailsPage-C91Ccx1-.cjs +0 -1
- package/dist/MagicLinkInternationalWireDetailsPage-p8OAlfX4.js +0 -43
- package/dist/MagicLinkSuccessPage-BY-pLFGe.js +0 -59
- package/dist/MagicLinkSuccessPage-Cm6JXD_n.cjs +0 -31
- package/dist/MagicLinkTitleSection-BIVDfEl-.cjs +0 -17
- package/dist/MagicLinkTitleSection-Bmnq92sb.js +0 -40
- package/dist/MailingDetailsSection-BZEfc7rs.js +0 -74
- package/dist/MailingDetailsSection-DHh-EDZF.cjs +0 -21
- package/dist/MatchingOperatorDropdown-CPGD9Gt7.js +0 -572
- package/dist/MatchingOperatorDropdown-DjUGJ4Z5.cjs +0 -130
- package/dist/Menu-Bxm9Iysz.cjs +0 -17
- package/dist/Menu-C39iDvVw.js +0 -110
- package/dist/MoreMenuButton-Bg9dwbqM.cjs +0 -167
- package/dist/MoreMenuButton-BxwE2HqI.js +0 -569
- package/dist/MyBankConnectionsSettingsPage-BLCQPBdv.js +0 -297
- package/dist/MyBankConnectionsSettingsPage-BoStJr9-.cjs +0 -110
- package/dist/MyPendingActivationChargeCardListPage-BbpASyHN.cjs +0 -6
- package/dist/MyPendingActivationChargeCardListPage-jdiHJdDj.js +0 -168
- package/dist/MyProfileSettingsPage-BFu75M1_.cjs +0 -85
- package/dist/MyProfileSettingsPage-DNEe3jwb.js +0 -641
- package/dist/NavBarWithPicker-Cbn_FGTe.js +0 -106
- package/dist/NavBarWithPicker-qQpThGiG.cjs +0 -30
- package/dist/NavigationArrow--sQqWNvj.cjs +0 -47
- package/dist/NavigationArrow-CgsaEI4N.js +0 -88
- package/dist/NavigationDots-BDRnALUY.js +0 -44
- package/dist/NavigationDots-J5Gwv9-7.cjs +0 -15
- package/dist/NewGlobalMerchantPage-DVpqzCFn.cjs +0 -160
- package/dist/NewGlobalMerchantPage-n7q1PeMH.js +0 -543
- package/dist/NoDataChart-C3e2at-d.js +0 -58
- package/dist/NoDataChart-DTKqoZdC.cjs +0 -26
- package/dist/NoDataTable-Dv227RYG.js +0 -27
- package/dist/NoDataTable-hL8gmY5H.cjs +0 -8
- package/dist/NotFoundPage-CTzDcYRm.js +0 -71
- package/dist/NotFoundPage-Cy72Zoky.cjs +0 -46
- package/dist/NotificationSettingsPage-DHucTe5M.js +0 -541
- package/dist/NotificationSettingsPage-Dvo_Ey8-.cjs +0 -163
- package/dist/NotificationsListConfig-BCW1rwOe.cjs +0 -1
- package/dist/NotificationsListConfig-CW2yXWnn.js +0 -10
- package/dist/NotificationsPage-CuO46vWs.js +0 -2664
- package/dist/NotificationsPage-D_5fRgA_.cjs +0 -685
- package/dist/OpExByVendorPage-5E2smuZG.js +0 -1058
- package/dist/OpExByVendorPage-zQ-xYUH3.cjs +0 -100
- package/dist/PandLWithForecastPage-CwsFDE1h.js +0 -563
- package/dist/PandLWithForecastPage-DoL1inBC.cjs +0 -107
- package/dist/PaymentAccountSetupBillingAddressSection-CYrpGMHI.js +0 -623
- package/dist/PaymentAccountSetupBillingAddressSection-DBBNcfv4.cjs +0 -106
- package/dist/PeoplePage-BSWl2f0U.cjs +0 -675
- package/dist/PeoplePage-QLpuAeBV.js +0 -1994
- package/dist/ProductsCarousel-CAjZnNn7.cjs +0 -142
- package/dist/ProductsCarousel-Zc6csMe3.js +0 -309
- package/dist/PromoBaseCards-7WzkHm-8.cjs +0 -218
- package/dist/PromoBaseCards-BloEwu9J.js +0 -356
- package/dist/QBOConnectionDialog-DZWoGwnp.js +0 -115
- package/dist/QBOConnectionDialog-V6f5vZl3.cjs +0 -51
- package/dist/QBOSetupSection-CoNzCqjV.cjs +0 -79
- package/dist/QBOSetupSection-upR7k7Zb.js +0 -167
- package/dist/ReimbursementApprovalRuleDetailPage-6x6-Vgfu.js +0 -247
- package/dist/ReimbursementApprovalRuleDetailPage-C2gr0wcQ.cjs +0 -26
- package/dist/ReimbursementApprovalRulesPage-Bs91wgSJ.js +0 -410
- package/dist/ReimbursementApprovalRulesPage-Ci2JDP-M.cjs +0 -237
- package/dist/ReimbursementDetailPage-CqrkGEdg.cjs +0 -314
- package/dist/ReimbursementDetailPage-E3uid9rs.js +0 -1514
- package/dist/ReimbursementPromoPage-BzLs4ARM.js +0 -363
- package/dist/ReimbursementPromoPage-HN-7LuSN.cjs +0 -84
- package/dist/ReimbursementSetUpPage-BDGiMFgY.cjs +0 -140
- package/dist/ReimbursementSetUpPage-D_ZQStxs.js +0 -663
- package/dist/ReimbursementsBulkReviewDrawerPage-BnlPkp_6.js +0 -204
- package/dist/ReimbursementsBulkReviewDrawerPage-CKHkN2aV.cjs +0 -1
- package/dist/ReloadCard-Dc3BIDMj.js +0 -137
- package/dist/ReloadCard-DtEbaHXc.cjs +0 -26
- package/dist/ReloadContainer-CNwqKmjI.js +0 -2165
- package/dist/ReloadContainer-D_R6UaqJ.cjs +0 -596
- package/dist/ReportTableViewSelector-BuLQk7_5.cjs +0 -150
- package/dist/ReportTableViewSelector-CwmyDzCa.js +0 -679
- package/dist/ReportsPage-BfwZCN36.cjs +0 -121
- package/dist/ReportsPage-DRH1gz-1.js +0 -1315
- package/dist/RevenueChart-CCz8ruxR.cjs +0 -280
- package/dist/RevenueChart-CfE4AQnr.js +0 -2240
- package/dist/ReviewDetailsPage-BY2O3fGR.js +0 -1073
- package/dist/ReviewDetailsPage-Bgb2Eus-.cjs +0 -290
- package/dist/ReviewOverlay-CI22JquI.js +0 -299
- package/dist/ReviewOverlay-DmYdj54Q.cjs +0 -152
- package/dist/RoleWithToolTip-BCSJdBTH.js +0 -72
- package/dist/RoleWithToolTip-IEQqA6zk.cjs +0 -22
- package/dist/ScheduleDetailsFixedAssetsPage-C_B4jgDk.js +0 -806
- package/dist/ScheduleDetailsFixedAssetsPage-eRryZJlH.cjs +0 -37
- package/dist/ScheduleDetailsPage-Clq373B0.js +0 -726
- package/dist/ScheduleDetailsPage-DoBw_zbB.cjs +0 -37
- package/dist/ScheduleSequenceTable-C7T2aNoJ.cjs +0 -324
- package/dist/ScheduleSequenceTable-w5GMmwTv.js +0 -1261
- package/dist/SetUpAccountSection-D18wMBFO.js +0 -1469
- package/dist/SetUpAccountSection-YxzbzKO5.cjs +0 -378
- package/dist/SignIn-A8Zghxck.js +0 -1075
- package/dist/SignIn-c-RGMwHF.cjs +0 -448
- package/dist/SpendManagementListViewPage-DOF7dRfB.cjs +0 -122
- package/dist/SpendManagementListViewPage-_4tm5lxt.js +0 -627
- package/dist/SpendManagementPerTabPage-CqphSqwf.js +0 -2735
- package/dist/SpendManagementPerTabPage-DtNkJuY4.cjs +0 -754
- package/dist/SpendManagementSection-BpxBUYrm.cjs +0 -230
- package/dist/SpendManagementSection-DTlDo5AP.js +0 -1043
- package/dist/StatementItem-4piPi2xI.cjs +0 -31
- package/dist/StatementItem-Br-dPso9.js +0 -81
- package/dist/StatementsPage-B7dZaDEX.js +0 -130
- package/dist/StatementsPage-B8YMMXMh.cjs +0 -58
- package/dist/StatusSwitcher-DZbyUA1r.cjs +0 -120
- package/dist/StatusSwitcher-z7NVIVIb.js +0 -319
- package/dist/SubTabSwitcher-2Rf7MEk_.cjs +0 -58
- package/dist/SubTabSwitcher-Os-cE7Pc.js +0 -113
- package/dist/SuccessAnimation-4Q6PWvmH.js +0 -52
- package/dist/SuccessAnimation-DrTu30Jn.cjs +0 -13
- package/dist/SummaryCard-KeGfkjqZ.js +0 -25
- package/dist/SummaryCard-qIC50F58.cjs +0 -1
- package/dist/TaskDetailPage-DoTo0k56.js +0 -2533
- package/dist/TaskDetailPage-R0x6oa18.cjs +0 -775
- package/dist/TaskListRow--9plWO-1.js +0 -1950
- package/dist/TaskListRow-C6p01maQ.cjs +0 -556
- package/dist/TaskManagementPage-BLTploZS.js +0 -1935
- package/dist/TaskManagementPage-DloWDp3q.cjs +0 -508
- package/dist/TimeRangeSwitcher-BoUbeR8T.cjs +0 -64
- package/dist/TimeRangeSwitcher-DDdojJ8a.js +0 -265
- package/dist/TimeframeSwitcher-7oTyKvOH.js +0 -103
- package/dist/TimeframeSwitcher-DrEFYFYs.cjs +0 -31
- package/dist/TimeframeSwitcherWithToggle-D7dC2Vvb.js +0 -157
- package/dist/TimeframeSwitcherWithToggle-kY4zlp_c.cjs +0 -31
- package/dist/TopExCard-CwJROPuF.cjs +0 -38
- package/dist/TopExCard-YjXUnq07.js +0 -569
- package/dist/TopExDetailPage-sH8iQY5P.js +0 -318
- package/dist/TopExDetailPage-sJAiQYRs.cjs +0 -132
- package/dist/TransactionDetailPage-BYKlo2H4.cjs +0 -912
- package/dist/TransactionDetailPage-CW5FdrOv.js +0 -5238
- package/dist/TransactionList-DMSDVxnF.js +0 -558
- package/dist/TransactionList-rRp3oS8O.cjs +0 -147
- package/dist/TransactionListBig-DPWt570h.js +0 -658
- package/dist/TransactionListBig-DbK_AJcv.cjs +0 -284
- package/dist/TransactionListPage-DtUgAPoS.js +0 -145
- package/dist/TransactionListPage-Oknk_oii.cjs +0 -35
- package/dist/TransactionVendorDetailPage-C3zxfXP8.cjs +0 -80
- package/dist/TransactionVendorDetailPage-Dz9ranJo.js +0 -425
- package/dist/TransferDrawerPage-ByC8ZUJr.cjs +0 -362
- package/dist/TransferDrawerPage-Cd9cV4qd.js +0 -1436
- package/dist/TreasuryOverviewPage-BYU_MfOt.cjs +0 -708
- package/dist/TreasuryOverviewPage-CAnPcCk2.js +0 -1890
- package/dist/TreasuryPromoPage-BuUOwtGY.js +0 -1123
- package/dist/TreasuryPromoPage-F-35YFru.cjs +0 -505
- package/dist/TreasuryStatementsPage-BrDXT2O7.cjs +0 -58
- package/dist/TreasuryStatementsPage-CWsXamLT.js +0 -131
- package/dist/TreasuryTaxLetterPage-CCfisDK_.cjs +0 -58
- package/dist/TreasuryTaxLetterPage-CimJ-jsF.js +0 -131
- package/dist/TrendChart-CNCtVgPz.cjs +0 -16
- package/dist/TrendChart-DOwvlxVj.js +0 -334
- package/dist/TrendWithTransactions-BqaFdcZh.cjs +0 -116
- package/dist/TrendWithTransactions-DqsT_Jzg.js +0 -346
- package/dist/UncategorizedAccountsMappingPage-B8GF8AFW.cjs +0 -244
- package/dist/UncategorizedAccountsMappingPage-DZ5CQON-.js +0 -1159
- package/dist/UnitIntegrationPage-Bt-fcDeN.cjs +0 -67
- package/dist/UnitIntegrationPage-HDyhuhcc.js +0 -405
- package/dist/UploadAdditionalDocumentOverlay-DlrRpZtC.js +0 -211
- package/dist/UploadAdditionalDocumentOverlay-hOHz9mF4.cjs +0 -38
- package/dist/Vendor2FAPopup-DFFa5rNK.cjs +0 -1
- package/dist/Vendor2FAPopup-DMaYg7ZH.js +0 -69
- package/dist/VendorACHDetailsPage-D2SWAlpT.cjs +0 -1
- package/dist/VendorACHDetailsPage-DP-S2se4.js +0 -43
- package/dist/VendorDetailPage-CPi4qgjR.cjs +0 -257
- package/dist/VendorDetailPage-sqKlWqZH.js +0 -1236
- package/dist/VendorDomesticWireDetailsPage-D_9dHlmc.js +0 -53
- package/dist/VendorDomesticWireDetailsPage-rixa3zme.cjs +0 -1
- package/dist/VendorFiling1099EditablePage-CT05haCs.cjs +0 -175
- package/dist/VendorFiling1099EditablePage-CmO94Zxw.js +0 -842
- package/dist/VendorFirstReviewPage-C-vUglx-.cjs +0 -730
- package/dist/VendorFirstReviewPage-DzinijIC.js +0 -2748
- package/dist/VendorInternationalWireDetailsPage-B9LIIlnG.js +0 -968
- package/dist/VendorInternationalWireDetailsPage-Cul4FaWv.cjs +0 -152
- package/dist/VendorInternationalWireSwiftDetailsPage-AJyWciB_.cjs +0 -1
- package/dist/VendorInternationalWireSwiftDetailsPage-CL0JnTnB.js +0 -52
- package/dist/VendorsAccountsSection-8LCOeAfH.js +0 -279
- package/dist/VendorsAccountsSection-CoaBnvG5.cjs +0 -68
- package/dist/VerifyDevice-DVtRHg7B.js +0 -298
- package/dist/VerifyDevice-Zuf3yk5W.cjs +0 -112
- package/dist/VideoPlayer-42BUR5_w.js +0 -170
- package/dist/VideoPlayer-Bg5Ecuj1.cjs +0 -77
- package/dist/VideoPopup-D7zHonPb.js +0 -60
- package/dist/VideoPopup-DbgVYAlg.cjs +0 -31
- package/dist/WarningsDrawerPage-C0U9NVhl.cjs +0 -92
- package/dist/WarningsDrawerPage-N9INeBE_.js +0 -228
- package/dist/ZeniAccountDetailPage-B4NUbO7B.cjs +0 -300
- package/dist/ZeniAccountDetailPage-rNBQPH83.js +0 -908
- package/dist/ZeniAccountListViewPage-Brrsj8ji.js +0 -1078
- package/dist/ZeniAccountListViewPage-DYWDJYah.cjs +0 -441
- package/dist/ZeniAccountNavBarPieces-DAp8PAxw.js +0 -89
- package/dist/ZeniAccountNavBarPieces-KuVMlZzD.cjs +0 -14
- package/dist/ZeniAccountPromoPage-CuJX19x8.cjs +0 -184
- package/dist/ZeniAccountPromoPage-HUSdD9HY.js +0 -522
- package/dist/ZeniAccountSetupPage-2U9I3bmc.js +0 -309
- package/dist/ZeniAccountSetupPage-jsM2xS-u.cjs +0 -36
- package/dist/ZeniAvatar-BTlR8O6X.cjs +0 -13
- package/dist/ZeniAvatar-CiE0PK2R.js +0 -34
- package/dist/ZeniCopyright-Cav8SlMm.cjs +0 -1
- package/dist/ZeniCopyright-CqgzrFWf.js +0 -9
- package/dist/ZeniDatePicker-4gALVnPS.cjs +0 -187
- package/dist/ZeniDatePicker-DPVT4-Kb.js +0 -386
- package/dist/ZeniTransferAmountSlider-BoCJ1mQO.cjs +0 -63
- package/dist/ZeniTransferAmountSlider-D8XPdsrA.js +0 -215
- package/dist/analyticsHelper-Cr78VbcQ.js +0 -65
- package/dist/analyticsHelper-DoQknZcr.cjs +0 -1
- package/dist/calculateSize-CaJVmes8.js +0 -22
- package/dist/calculateSize-hFANn8zw.cjs +0 -1
- package/dist/chartTypes-CfphoFws.cjs +0 -1
- package/dist/chartTypes-Db9KUFQs.js +0 -47
- package/dist/common-Ct5eIEB9.js +0 -22
- package/dist/common-FHBSS6TJ.cjs +0 -1
- package/dist/commonDimensions-B99saFPY.cjs +0 -1
- package/dist/commonDimensions-C5WoAXD_.js +0 -13
- package/dist/detailCommon-CW-Ospq2.js +0 -124
- package/dist/detailCommon-Cakkxns3.cjs +0 -38
- package/dist/downloadPdf-DUTJ7Zf0.cjs +0 -1
- package/dist/downloadPdf-Dcq-r6nV.js +0 -32
- package/dist/index-CD9fwr4J.js +0 -92167
- package/dist/index-CZKgJQb3.cjs +0 -21111
- package/dist/mapLoadingInProgressToTreeNode-BPEt1MlX.js +0 -25
- package/dist/mapLoadingInProgressToTreeNode-XVEpdUku.cjs +0 -1
- package/dist/mapSectionWithAcOnlyToTreeNode-BrkWrTXO.js +0 -387
- package/dist/mapSectionWithAcOnlyToTreeNode-Cv0SWdZL.cjs +0 -1
- package/dist/mapSpacerToTreeNode-BSFBIjJj.js +0 -25
- package/dist/mapSpacerToTreeNode-DokVMiWK.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-BEzJ9qya.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-BhQ8KDzF.cjs +0 -1
- package/dist/mapTimeframeBalancesToTreeNode-CuxMjrtv.js +0 -24
- package/dist/mapTimeframeBalancesToTreeNode-KkdFzhd9.js +0 -24
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-BylNvOcu.cjs +0 -1
- package/dist/mapTimeframeHeaderLoadingInProgressToTreeNode-Dg7blHdF.js +0 -32
- package/dist/sectionColor-BJu1eyZV.js +0 -32
- package/dist/sectionColor-PAnSSzgF.cjs +0 -1
- package/dist/toCOABalancesWithID-Cc2Y0rt8.cjs +0 -1
- package/dist/toCOABalancesWithID-DuijN3wG.js +0 -8
- package/dist/toChartData-BmJe3Izu.cjs +0 -1
- package/dist/toChartData-dr3eJpAf.js +0 -76
- package/dist/uploadAttachment-BvLjvgF0.js +0 -952
- package/dist/uploadAttachment-Cve1cZwF.cjs +0 -286
- package/dist/zeniDatePicker.helpers-Dv2vRLwQ.cjs +0 -1
- package/dist/zeniDatePicker.helpers-vuXDt4_S.js +0 -14
|
@@ -1,2664 +0,0 @@
|
|
|
1
|
-
import { u as ot, j as e, n as ft, d as pt, l as se, A as ne, I as ae, V as re, b as jt, g as Ze, h as to, F as eo } from "./vendor-.pnpm-B2klaOGU.js";
|
|
2
|
-
import { useCallback as v, useContext as oo, useRef as W, useEffect as G, useMemo as Q } from "react";
|
|
3
|
-
import { css as E } from "@emotion/react";
|
|
4
|
-
import a from "@emotion/styled";
|
|
5
|
-
import { zeniDate as et, dateNow as y, toZeniUrl as le, toNotificationSubTabTypeStrict as io, toNotificationTabTypeStrict as so } from "@zeniai/client-epic-state";
|
|
6
|
-
import { u as C, jA as no, a as F, kL as ao, C as j, kM as ce, R as _, dB as de, dD as ue, T as ro, ae as V, hG as me, D as x, S as o, jO as lo, o as it, E as Y, n as gt, Q as he, aI as D, t as Rt, fN as xt, kN as bt, fh as fe, kO as zt, hS as co, W as uo, aE as mo, ao as ho, aL as Ct, f$ as fo, A as po, B as go, eH as xo, aw as bo, J as pe, F as wo } from "./index-CD9fwr4J.js";
|
|
7
|
-
import { S as $o } from "./SubTabSwitcher-Os-cE7Pc.js";
|
|
8
|
-
import { u as ge } from "./useLongPress-GCK2COYQ.js";
|
|
9
|
-
import { D as xe, a as be, b as we, c as $e, A as ye, O as Se } from "./NotificationsListConfig-CW2yXWnn.js";
|
|
10
|
-
import { S as yo } from "./double-tick-D6s_OvsM.js";
|
|
11
|
-
function So({
|
|
12
|
-
tabs: t,
|
|
13
|
-
selectedTab: i,
|
|
14
|
-
subTabs: s,
|
|
15
|
-
selectedSubTab: n,
|
|
16
|
-
subTabRightComponent: r,
|
|
17
|
-
tabStyle: l,
|
|
18
|
-
subTabStyle: d,
|
|
19
|
-
onTabChange: c,
|
|
20
|
-
onSubTabChange: h
|
|
21
|
-
}) {
|
|
22
|
-
const p = C(), u = ot(), m = v(
|
|
23
|
-
(g) => {
|
|
24
|
-
c(g.id);
|
|
25
|
-
},
|
|
26
|
-
[c]
|
|
27
|
-
), f = v(
|
|
28
|
-
(g) => {
|
|
29
|
-
h(g.id);
|
|
30
|
-
},
|
|
31
|
-
[h]
|
|
32
|
-
);
|
|
33
|
-
return t.length === 0 ? null : /* @__PURE__ */ e.jsxs(jo, { windowSize: p, children: [
|
|
34
|
-
/* @__PURE__ */ e.jsx(
|
|
35
|
-
no,
|
|
36
|
-
{
|
|
37
|
-
allTabs: t,
|
|
38
|
-
selectedTab: i,
|
|
39
|
-
containerStyle: {
|
|
40
|
-
...l,
|
|
41
|
-
borderBottom: `1px solid ${u.colors.grey3}`
|
|
42
|
-
},
|
|
43
|
-
onTabChange: m
|
|
44
|
-
}
|
|
45
|
-
),
|
|
46
|
-
/* @__PURE__ */ e.jsx(
|
|
47
|
-
$o,
|
|
48
|
-
{
|
|
49
|
-
allTabs: s,
|
|
50
|
-
selectedTab: n,
|
|
51
|
-
containerStyle: { ...d },
|
|
52
|
-
rightComponent: r,
|
|
53
|
-
onTabChange: f
|
|
54
|
-
}
|
|
55
|
-
)
|
|
56
|
-
] });
|
|
57
|
-
}
|
|
58
|
-
const jo = a.div`
|
|
59
|
-
display: flex;
|
|
60
|
-
flex-direction: column;
|
|
61
|
-
width: 100%;
|
|
62
|
-
`, {
|
|
63
|
-
common: { timeStrings: je, strings: Co },
|
|
64
|
-
dateFormat: _t,
|
|
65
|
-
timeFormat: vo
|
|
66
|
-
} = F.getLocalizedStrings(), Ce = [
|
|
67
|
-
"today",
|
|
68
|
-
"yesterday",
|
|
69
|
-
"last_7_days_this_month",
|
|
70
|
-
// before_yesterday
|
|
71
|
-
"earlier_this_month",
|
|
72
|
-
// before last_7_days_this_month
|
|
73
|
-
"earlier_that_month"
|
|
74
|
-
], ut = (t) => t.type.concat(Co.underscore).concat(
|
|
75
|
-
t.start.format(_t.visual.DdashMMdashYYYYFormat)
|
|
76
|
-
), wt = (t) => {
|
|
77
|
-
switch (t.type) {
|
|
78
|
-
case "today":
|
|
79
|
-
case "yesterday":
|
|
80
|
-
case "earlier_this_month":
|
|
81
|
-
case "last_7_days_this_month":
|
|
82
|
-
return je[t.type];
|
|
83
|
-
case "earlier_that_month":
|
|
84
|
-
return t.start.format(_t.visual.MMMYYYYFormat);
|
|
85
|
-
}
|
|
86
|
-
}, ve = (t) => {
|
|
87
|
-
const i = et(t.toUTCString()), s = y(), n = s.diff(i, "minutes"), r = s.diff(i, "seconds"), l = 60, d = 24 * 60;
|
|
88
|
-
return r <= l ? je.justNow : n < d && ao(i, 0) ? i.format(vo.hhmmAFormat) : i.format(_t.visual.MMMDFormat);
|
|
89
|
-
}, At = (t) => {
|
|
90
|
-
switch (t.code) {
|
|
91
|
-
case "todo":
|
|
92
|
-
return j.important;
|
|
93
|
-
case "in_progress":
|
|
94
|
-
return j.info;
|
|
95
|
-
case "on_hold":
|
|
96
|
-
return j.alert;
|
|
97
|
-
case "done":
|
|
98
|
-
return j.championLight;
|
|
99
|
-
case "resolved":
|
|
100
|
-
return j.successDark;
|
|
101
|
-
default:
|
|
102
|
-
return j.neutralGrey2Light;
|
|
103
|
-
}
|
|
104
|
-
}, {
|
|
105
|
-
commentsAndNotifications: {
|
|
106
|
-
notifications: {
|
|
107
|
-
actionStrings: { comments: No }
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
} = F.getLocalizedStrings(), Ne = (t) => {
|
|
111
|
-
t.sort(
|
|
112
|
-
(r, l) => et(r.inboxNotification.notifiedAt.toUTCString()).isAfter(
|
|
113
|
-
et(l.inboxNotification.notifiedAt.toUTCString())
|
|
114
|
-
) === !0 ? 1 : -1
|
|
115
|
-
);
|
|
116
|
-
let i = [...t];
|
|
117
|
-
const s = [];
|
|
118
|
-
let n = {
|
|
119
|
-
singleGroup: [],
|
|
120
|
-
remainingData: []
|
|
121
|
-
};
|
|
122
|
-
for (const r of Ce) {
|
|
123
|
-
let l = 0, d = 0, c = y().subtract(Math.min(y().date(), l), "d").startOf("d"), h = y().subtract(Math.min(y().date(), d), "d").endOf("d"), p = 1;
|
|
124
|
-
switch (r) {
|
|
125
|
-
case "today":
|
|
126
|
-
case "yesterday":
|
|
127
|
-
l = r === "today" ? 0 : 1, d = r === "today" ? 0 : 1, c = y().subtract(Math.min(y().date(), l), "d").startOf("d"), h = y().subtract(Math.min(y().date(), d), "d").endOf("d"), n = at(
|
|
128
|
-
i,
|
|
129
|
-
c,
|
|
130
|
-
h
|
|
131
|
-
), i = n.remainingData, s.push({
|
|
132
|
-
start: c,
|
|
133
|
-
end: h,
|
|
134
|
-
type: r,
|
|
135
|
-
notifications: n.singleGroup
|
|
136
|
-
});
|
|
137
|
-
break;
|
|
138
|
-
case "last_7_days_this_month":
|
|
139
|
-
i.length > 0 && y().date() > 2 && (c = y().subtract(Math.min(y().date() - 1, 8), "d").startOf("d"), h = y().subtract(2, "d").endOf("d"), n = at(
|
|
140
|
-
i,
|
|
141
|
-
c,
|
|
142
|
-
h
|
|
143
|
-
), i = n.remainingData, s.push({
|
|
144
|
-
start: c,
|
|
145
|
-
end: h,
|
|
146
|
-
type: r,
|
|
147
|
-
notifications: n.singleGroup
|
|
148
|
-
}));
|
|
149
|
-
break;
|
|
150
|
-
case "earlier_this_month":
|
|
151
|
-
i.length > 0 && y().date() > 9 && (c = y().startOf("M").startOf("d"), h = y().subtract(9, "d").endOf("d"), n = at(
|
|
152
|
-
i,
|
|
153
|
-
c,
|
|
154
|
-
h
|
|
155
|
-
), i = n.remainingData, s.push({
|
|
156
|
-
start: c,
|
|
157
|
-
end: h,
|
|
158
|
-
type: r,
|
|
159
|
-
notifications: n.singleGroup
|
|
160
|
-
}));
|
|
161
|
-
break;
|
|
162
|
-
case "earlier_that_month":
|
|
163
|
-
for (; i.length > 0; ) {
|
|
164
|
-
const u = y().subtract(p, "month").startOf("M").startOf("d"), m = y().subtract(p, "month").endOf("M").endOf("d");
|
|
165
|
-
p++, n = at(
|
|
166
|
-
i,
|
|
167
|
-
u,
|
|
168
|
-
m
|
|
169
|
-
), i = n.remainingData, s.push({
|
|
170
|
-
start: u,
|
|
171
|
-
end: m,
|
|
172
|
-
type: r,
|
|
173
|
-
notifications: n.singleGroup
|
|
174
|
-
});
|
|
175
|
-
}
|
|
176
|
-
break;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
return s;
|
|
180
|
-
}, at = (t, i, s) => {
|
|
181
|
-
const n = [], r = t.map((l) => ce(
|
|
182
|
-
i,
|
|
183
|
-
s,
|
|
184
|
-
et(l.inboxNotification.notifiedAt.toUTCString())
|
|
185
|
-
) ? (n.push(l), null) : l).filter(
|
|
186
|
-
(l) => !!l
|
|
187
|
-
);
|
|
188
|
-
return n.sort(
|
|
189
|
-
(l, d) => et(l.inboxNotification.notifiedAt.toUTCString()).isAfter(
|
|
190
|
-
et(d.inboxNotification.notifiedAt.toUTCString())
|
|
191
|
-
) === !0 ? -1 : 1
|
|
192
|
-
), { singleGroup: n, remainingData: r };
|
|
193
|
-
}, To = (t) => {
|
|
194
|
-
const { thread: i } = t, { newRepliesAdded: s, newCommentAdded: n } = No;
|
|
195
|
-
return i.comments.length === 1 ? n : s;
|
|
196
|
-
}, Te = new _(3, 2, 1, 1, 1), ke = new _(
|
|
197
|
-
x[8],
|
|
198
|
-
x[6],
|
|
199
|
-
35,
|
|
200
|
-
35,
|
|
201
|
-
x[6]
|
|
202
|
-
), mt = {
|
|
203
|
-
lineClamp: Te,
|
|
204
|
-
sectionWidth: ke
|
|
205
|
-
}, {
|
|
206
|
-
common: { texts: Ot, timeStrings: ko, strings: st },
|
|
207
|
-
commentsAndNotifications: {
|
|
208
|
-
notifications: {
|
|
209
|
-
strings: { newMessage: Lo },
|
|
210
|
-
actionStrings: {
|
|
211
|
-
comments: { newCommentAdded: Io }
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
} = F.getLocalizedStrings(), Ro = ({
|
|
216
|
-
notificationData: t,
|
|
217
|
-
users: i,
|
|
218
|
-
isHighlighted: s = !1,
|
|
219
|
-
style: n,
|
|
220
|
-
onNotificationTileClick: r
|
|
221
|
-
}) => {
|
|
222
|
-
const l = de(), c = ue().analytics, {
|
|
223
|
-
inboxNotification: { id: h, readAt: p, notifiedAt: u },
|
|
224
|
-
thread: m
|
|
225
|
-
} = t, { setRequestToOpenThread: f } = oo(ro), g = p != null ? "read" : "unread", {
|
|
226
|
-
metadata: { url: S, companyId: I, entityType: z },
|
|
227
|
-
id: R
|
|
228
|
-
} = m;
|
|
229
|
-
return /* @__PURE__ */ e.jsxs(
|
|
230
|
-
Eo,
|
|
231
|
-
{
|
|
232
|
-
readStatus: g,
|
|
233
|
-
isClickable: !!S,
|
|
234
|
-
isHighlighted: s,
|
|
235
|
-
style: n,
|
|
236
|
-
onClick: () => {
|
|
237
|
-
S && (r(h, le(S), g), (m.metadata.tab === "bill" || m.metadata.tab === "reimbursement") && f({
|
|
238
|
-
threadId: R,
|
|
239
|
-
companyId: I,
|
|
240
|
-
entityType: z
|
|
241
|
-
})), m.metadata.application !== "cockpit" && c.trackCommentActivity(
|
|
242
|
-
"notification",
|
|
243
|
-
// pageName
|
|
244
|
-
"clicked",
|
|
245
|
-
// activityType
|
|
246
|
-
m.metadata.companyName,
|
|
247
|
-
// tenantName
|
|
248
|
-
l.controllersList.controllers.map(
|
|
249
|
-
(k) => V(k)
|
|
250
|
-
),
|
|
251
|
-
// controllerName
|
|
252
|
-
m.resolved ? "resolved" : "open",
|
|
253
|
-
// status
|
|
254
|
-
{
|
|
255
|
-
name: me(l.loggedInUser),
|
|
256
|
-
email: l.loggedInUser?.userEmail ?? ""
|
|
257
|
-
},
|
|
258
|
-
// createdBy
|
|
259
|
-
"db notification"
|
|
260
|
-
// source
|
|
261
|
-
);
|
|
262
|
-
},
|
|
263
|
-
children: [
|
|
264
|
-
/* @__PURE__ */ e.jsx(_o, { notificationData: t, users: i }),
|
|
265
|
-
/* @__PURE__ */ e.jsx(zo, { ...t }),
|
|
266
|
-
/* @__PURE__ */ e.jsx(Ao, { timestamp: u, readStatus: g })
|
|
267
|
-
]
|
|
268
|
-
}
|
|
269
|
-
);
|
|
270
|
-
}, Le = ({
|
|
271
|
-
notificationData: t,
|
|
272
|
-
users: i
|
|
273
|
-
}) => {
|
|
274
|
-
const { thread: s } = t, { comments: n } = s, r = n[0];
|
|
275
|
-
return n.length === 0 || r.body == null ? /* @__PURE__ */ e.jsx(vt, { children: Lo }) : /* @__PURE__ */ e.jsx(vt, { children: r.body.content.map((l) => {
|
|
276
|
-
switch (l.type) {
|
|
277
|
-
case "paragraph":
|
|
278
|
-
return l.children.map((d, c) => {
|
|
279
|
-
if (Oo(d)) {
|
|
280
|
-
const p = i.find((u) => u.userId === d.id);
|
|
281
|
-
return d.id ? /* @__PURE__ */ e.jsx(
|
|
282
|
-
Do,
|
|
283
|
-
{
|
|
284
|
-
notificationData: t,
|
|
285
|
-
user: p
|
|
286
|
-
},
|
|
287
|
-
`${d.id}${st.underscore}${c}`
|
|
288
|
-
) : null;
|
|
289
|
-
}
|
|
290
|
-
if (Mo(d)) {
|
|
291
|
-
const p = lo(d.url) ?? d.url;
|
|
292
|
-
return /* @__PURE__ */ e.jsx(
|
|
293
|
-
Vo,
|
|
294
|
-
{
|
|
295
|
-
href: p,
|
|
296
|
-
target: "_blank",
|
|
297
|
-
rel: "noopener noreferrer nofollow",
|
|
298
|
-
children: d.text ?? d.url
|
|
299
|
-
},
|
|
300
|
-
c
|
|
301
|
-
);
|
|
302
|
-
}
|
|
303
|
-
let h = d.text;
|
|
304
|
-
return d.bold === !0 && (h = /* @__PURE__ */ e.jsx(Bo, { children: h }, c)), d.italic === !0 && (h = /* @__PURE__ */ e.jsx(Uo, { children: h }, c)), d.strikethrough === !0 && (h = /* @__PURE__ */ e.jsx(Wo, { children: h }, c)), d.code === !0 && (h = /* @__PURE__ */ e.jsx(Go, { children: h }, c)), /* @__PURE__ */ e.jsx(Ho, { children: h }, c);
|
|
305
|
-
});
|
|
306
|
-
default:
|
|
307
|
-
return /* @__PURE__ */ e.jsx(vt, { children: Io });
|
|
308
|
-
}
|
|
309
|
-
}) });
|
|
310
|
-
}, _o = ({
|
|
311
|
-
notificationData: t,
|
|
312
|
-
users: i
|
|
313
|
-
}) => {
|
|
314
|
-
const s = C();
|
|
315
|
-
return /* @__PURE__ */ e.jsx(Yo, { windowSize: s, children: /* @__PURE__ */ e.jsx(
|
|
316
|
-
Le,
|
|
317
|
-
{
|
|
318
|
-
notificationData: t,
|
|
319
|
-
users: i
|
|
320
|
-
}
|
|
321
|
-
) });
|
|
322
|
-
}, Do = ({
|
|
323
|
-
notificationData: t,
|
|
324
|
-
user: i
|
|
325
|
-
}) => {
|
|
326
|
-
const {
|
|
327
|
-
inboxNotification: { readAt: s }
|
|
328
|
-
} = t, n = s != null ? "read" : "unread";
|
|
329
|
-
let r = /* @__PURE__ */ e.jsxs(Mt, { className: "userText", readStatus: n, children: [
|
|
330
|
-
st.atTheRate,
|
|
331
|
-
Ot.user,
|
|
332
|
-
st.space
|
|
333
|
-
] });
|
|
334
|
-
if (i != null) {
|
|
335
|
-
const l = V(i, !1);
|
|
336
|
-
r = /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs(Mt, { className: "userText", readStatus: n, children: [
|
|
337
|
-
st.atTheRate,
|
|
338
|
-
l || Ot.user,
|
|
339
|
-
st.space
|
|
340
|
-
] }) });
|
|
341
|
-
}
|
|
342
|
-
return r;
|
|
343
|
-
}, Ie = (t) => {
|
|
344
|
-
const i = To(t);
|
|
345
|
-
return /* @__PURE__ */ e.jsx(e.Fragment, { children: i });
|
|
346
|
-
}, zo = (t) => {
|
|
347
|
-
const i = C();
|
|
348
|
-
return /* @__PURE__ */ e.jsx(Po, { windowSize: i, children: /* @__PURE__ */ e.jsx(Ie, { ...t }) });
|
|
349
|
-
}, Re = (t) => {
|
|
350
|
-
const { timestamp: i, readStatus: s } = t, n = ve(i);
|
|
351
|
-
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
352
|
-
/* @__PURE__ */ e.jsx(
|
|
353
|
-
Jo,
|
|
354
|
-
{
|
|
355
|
-
isNewNotification: n === ko.justNow,
|
|
356
|
-
children: n
|
|
357
|
-
}
|
|
358
|
-
),
|
|
359
|
-
/* @__PURE__ */ e.jsx(qo, { readStatus: s })
|
|
360
|
-
] });
|
|
361
|
-
}, Ao = (t) => {
|
|
362
|
-
const i = C();
|
|
363
|
-
return /* @__PURE__ */ e.jsx(Fo, { windowSize: i, children: /* @__PURE__ */ e.jsx(Re, { ...t }) });
|
|
364
|
-
};
|
|
365
|
-
function Oo(t) {
|
|
366
|
-
return "type" in t && t.type === "mention";
|
|
367
|
-
}
|
|
368
|
-
function Mo(t) {
|
|
369
|
-
return "type" in t && t.type === "link";
|
|
370
|
-
}
|
|
371
|
-
const Eo = a.div`
|
|
372
|
-
display: flex;
|
|
373
|
-
flex-direction: row;
|
|
374
|
-
align-items: center;
|
|
375
|
-
justify-content: space-between;
|
|
376
|
-
width: 100%;
|
|
377
|
-
cursor: ${(t) => t.isClickable ? "pointer" : "not-allowed"};
|
|
378
|
-
|
|
379
|
-
background-color: ${(t) => t.readStatus === "read" && t.isClickable ? t.theme.colors.grey4 : t.theme.colors.grey5};
|
|
380
|
-
|
|
381
|
-
color: ${(t) => t.readStatus === "read" && t.isClickable ? t.theme.colors.grey1 : t.theme.colors.hero};
|
|
382
|
-
border: 1px solid ${(t) => t.theme.colors.grey3};
|
|
383
|
-
margin-bottom: -1px;
|
|
384
|
-
box-shadow: ${(t) => `${o.sp0} 2px ${o.sp1} ${t.theme.colors.dropShadowNormal}`};
|
|
385
|
-
|
|
386
|
-
padding: ${o.sp3} ${o.sp2} ${o.sp3} ${o.sp4};
|
|
387
|
-
|
|
388
|
-
.userText {
|
|
389
|
-
color: ${j.brandColorJade};
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
:first-of-type {
|
|
393
|
-
border-top-left-radius: inherit;
|
|
394
|
-
border-top-right-radius: inherit;
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
:last-of-type {
|
|
398
|
-
border-bottom-left-radius: inherit;
|
|
399
|
-
border-bottom-right-radius: inherit;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
${(t) => t.isHighlighted ? E`
|
|
403
|
-
z-index: 1;
|
|
404
|
-
color: ${t.theme.colors.primary};
|
|
405
|
-
border: 1px solid ${t.theme.colors.primary};
|
|
406
|
-
|
|
407
|
-
.userText {
|
|
408
|
-
color: ${j.brandColorJade};
|
|
409
|
-
}
|
|
410
|
-
` : null};
|
|
411
|
-
|
|
412
|
-
${(t) => t.isClickable ? E`
|
|
413
|
-
&:hover {
|
|
414
|
-
z-index: 1;
|
|
415
|
-
color: ${t.theme.colors.primary};
|
|
416
|
-
border: 1px solid ${t.theme.colors.primary};
|
|
417
|
-
|
|
418
|
-
.userText {
|
|
419
|
-
color: ${j.brandColorJade};
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
` : null};
|
|
423
|
-
`, Fo = a(Y)`
|
|
424
|
-
width: ${(t) => t.windowSize === "small" ? "unset" : "10%"};
|
|
425
|
-
gap: ${o.sp2};
|
|
426
|
-
display: flex;
|
|
427
|
-
align-items: center;
|
|
428
|
-
flex-shrink: 0;
|
|
429
|
-
justify-content: end;
|
|
430
|
-
`, Po = a(it)`
|
|
431
|
-
color: inherit;
|
|
432
|
-
display: -webkit-box;
|
|
433
|
-
overflow: hidden;
|
|
434
|
-
-webkit-line-clamp: ${(t) => mt.lineClamp.value(t.windowSize)};
|
|
435
|
-
-webkit-box-orient: vertical;
|
|
436
|
-
width: ${(t) => mt.sectionWidth.valuePercentage(t.windowSize)};
|
|
437
|
-
`, Bo = a.strong``, Go = a.code``, Uo = a.em``, Wo = a.s``, Ho = a.span``, Vo = a.a``, Yo = a(it)`
|
|
438
|
-
color: inherit;
|
|
439
|
-
display: -webkit-box;
|
|
440
|
-
overflow: hidden;
|
|
441
|
-
-webkit-line-clamp: ${(t) => mt.lineClamp.value(t.windowSize)};
|
|
442
|
-
-webkit-box-orient: vertical;
|
|
443
|
-
width: ${(t) => mt.sectionWidth.valuePercentage(t.windowSize)};
|
|
444
|
-
`, Mt = a(gt)`
|
|
445
|
-
color: ${(t) => t.readStatus === "read" ? t.theme.colors.grey1 : j.brandColorJade};
|
|
446
|
-
`, vt = a(gt)`
|
|
447
|
-
color: inherit;
|
|
448
|
-
`, Jo = a(he)`
|
|
449
|
-
flex-shrink: 0;
|
|
450
|
-
color: ${(t) => t.isNewNotification ? t.theme.colors.primary : "inherit"};
|
|
451
|
-
`, qo = a.div`
|
|
452
|
-
display: flex;
|
|
453
|
-
height: ${o.sp2};
|
|
454
|
-
width: ${o.sp2};
|
|
455
|
-
border-radius: ${o.sp2};
|
|
456
|
-
flex-shrink: 0;
|
|
457
|
-
background-color: ${(t) => t.readStatus === "unread" ? j.info : "transparent"};
|
|
458
|
-
`, Nt = {
|
|
459
|
-
emptyRowItemSectionWidth: new _(120, 200, 250, 330, 400),
|
|
460
|
-
emptyLastRowItemSectionWidth: new _(x[6], 50, 60, x[11], 120)
|
|
461
|
-
}, Ko = () => {
|
|
462
|
-
const t = C();
|
|
463
|
-
return /* @__PURE__ */ e.jsxs(Qo, { windowSize: t, children: [
|
|
464
|
-
/* @__PURE__ */ e.jsx(Tt, { windowSize: t, isLastItem: !1, children: /* @__PURE__ */ e.jsx(
|
|
465
|
-
D,
|
|
466
|
-
{
|
|
467
|
-
width: Nt.emptyRowItemSectionWidth.value(t),
|
|
468
|
-
height: x[4]
|
|
469
|
-
}
|
|
470
|
-
) }),
|
|
471
|
-
/* @__PURE__ */ e.jsx(Tt, { windowSize: t, isLastItem: !1, children: /* @__PURE__ */ e.jsx(
|
|
472
|
-
D,
|
|
473
|
-
{
|
|
474
|
-
width: Nt.emptyRowItemSectionWidth.value(t),
|
|
475
|
-
height: x[4]
|
|
476
|
-
}
|
|
477
|
-
) }),
|
|
478
|
-
/* @__PURE__ */ e.jsx(Tt, { windowSize: t, isLastItem: !0, children: /* @__PURE__ */ e.jsx(
|
|
479
|
-
D,
|
|
480
|
-
{
|
|
481
|
-
width: Nt.emptyLastRowItemSectionWidth.value(t),
|
|
482
|
-
height: 18
|
|
483
|
-
}
|
|
484
|
-
) })
|
|
485
|
-
] });
|
|
486
|
-
}, Qo = a.div`
|
|
487
|
-
display: flex;
|
|
488
|
-
align-items: center;
|
|
489
|
-
justify-content: space-between;
|
|
490
|
-
|
|
491
|
-
padding: ${o.sp3} ${o.sp2} ${o.sp3} ${o.sp4};
|
|
492
|
-
border: 1px solid ${(t) => t.theme.colors.grey3};
|
|
493
|
-
margin-bottom: -1px;
|
|
494
|
-
box-shadow: ${(t) => `${o.sp0} 2px ${o.sp1} ${t.theme.colors.dropShadowNormal}`};
|
|
495
|
-
|
|
496
|
-
:hover {
|
|
497
|
-
z-index: 1;
|
|
498
|
-
border: ${(t) => `1px solid ${t.theme.colors.primary}`};
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
:first-of-type {
|
|
502
|
-
border-top-left-radius: ${o.sp2};
|
|
503
|
-
border-top-right-radius: ${o.sp2};
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
:last-of-type {
|
|
507
|
-
border-bottom-left-radius: ${o.sp2};
|
|
508
|
-
border-bottom-right-radius: ${o.sp2};
|
|
509
|
-
}
|
|
510
|
-
`, Tt = a.div`
|
|
511
|
-
display: flex;
|
|
512
|
-
align-items: center;
|
|
513
|
-
position: relative;
|
|
514
|
-
flex: 1 1 auto;
|
|
515
|
-
justify-content: ${(t) => t.isLastItem ? "flex-end" : "start"};
|
|
516
|
-
width: ${(t) => t.isLastItem ? "10%" : ke.valuePercentage(t.windowSize)};
|
|
517
|
-
`, Xo = () => {
|
|
518
|
-
const t = C();
|
|
519
|
-
return /* @__PURE__ */ e.jsxs(Zo, { windowSize: t, children: [
|
|
520
|
-
/* @__PURE__ */ e.jsxs(ti, { children: [
|
|
521
|
-
/* @__PURE__ */ e.jsx(D, { width: 180, height: x[4] }),
|
|
522
|
-
/* @__PURE__ */ e.jsx(D, { width: 180, height: x[4] })
|
|
523
|
-
] }),
|
|
524
|
-
/* @__PURE__ */ e.jsx(ei, { children: /* @__PURE__ */ e.jsx(D, { width: 60, height: 18 }) })
|
|
525
|
-
] });
|
|
526
|
-
}, Zo = a.div`
|
|
527
|
-
display: flex;
|
|
528
|
-
align-items: baseline;
|
|
529
|
-
justify-content: space-between;
|
|
530
|
-
flex-direction: row;
|
|
531
|
-
gap: ${o.sp4};
|
|
532
|
-
|
|
533
|
-
padding: ${o.sp3} ${o.sp2} ${o.sp3} ${o.sp3};
|
|
534
|
-
border: 1px solid ${(t) => t.theme.colors.grey3};
|
|
535
|
-
margin-bottom: -1px;
|
|
536
|
-
box-shadow: ${(t) => `${o.sp0} 2px ${o.sp1} ${t.theme.colors.dropShadowNormal}`};
|
|
537
|
-
|
|
538
|
-
:hover {
|
|
539
|
-
z-index: 1;
|
|
540
|
-
border: ${(t) => `1px solid ${t.theme.colors.primary}`};
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
:first-of-type {
|
|
544
|
-
border-top-left-radius: ${o.sp2};
|
|
545
|
-
border-top-right-radius: ${o.sp2};
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
:last-of-type {
|
|
549
|
-
border-bottom-left-radius: ${o.sp2};
|
|
550
|
-
border-bottom-right-radius: ${o.sp2};
|
|
551
|
-
}
|
|
552
|
-
`, ti = a.div`
|
|
553
|
-
display: flex;
|
|
554
|
-
align-items: start;
|
|
555
|
-
flex-direction: column;
|
|
556
|
-
gap: ${o.sp2};
|
|
557
|
-
flex: 1 1 auto;
|
|
558
|
-
justify-content: start;
|
|
559
|
-
`, ei = a.div`
|
|
560
|
-
display: flex;
|
|
561
|
-
align-items: baseline;
|
|
562
|
-
flex-direction: row;
|
|
563
|
-
justify-content: end;
|
|
564
|
-
`, oi = () => C() === "small" ? /* @__PURE__ */ e.jsx(Xo, {}) : /* @__PURE__ */ e.jsx(Ko, {}), ii = {
|
|
565
|
-
marginLeft: new _(x[2], x[5], x[7])
|
|
566
|
-
}, si = () => /* @__PURE__ */ e.jsxs(ni, { children: [
|
|
567
|
-
/* @__PURE__ */ e.jsx(kt, { numberOfRows: 5 }),
|
|
568
|
-
/* @__PURE__ */ e.jsx(kt, { numberOfRows: 3 })
|
|
569
|
-
] }), kt = ({
|
|
570
|
-
numberOfRows: t
|
|
571
|
-
}) => {
|
|
572
|
-
const i = C();
|
|
573
|
-
return /* @__PURE__ */ e.jsxs(ai, { windowSize: i, children: [
|
|
574
|
-
/* @__PURE__ */ e.jsx(li, { children: /* @__PURE__ */ e.jsx(
|
|
575
|
-
D,
|
|
576
|
-
{
|
|
577
|
-
width: x[12],
|
|
578
|
-
height: Rt.standardRegular.lineHeightValue
|
|
579
|
-
}
|
|
580
|
-
) }),
|
|
581
|
-
/* @__PURE__ */ e.jsx(ri, { children: [...Array(t)].map((s) => /* @__PURE__ */ e.jsx(oi, {}, ft())) })
|
|
582
|
-
] });
|
|
583
|
-
}, ni = a.div`
|
|
584
|
-
display: block;
|
|
585
|
-
min-height: 100%;
|
|
586
|
-
flex-direction: column;
|
|
587
|
-
width: 100%;
|
|
588
|
-
`, ai = a.div`
|
|
589
|
-
display: flex;
|
|
590
|
-
flex-direction: column;
|
|
591
|
-
margin-bottom: ${o.sp5};
|
|
592
|
-
margin-left: ${(t) => ii.marginLeft.valuePx(t.windowSize)};
|
|
593
|
-
`, ri = a.div`
|
|
594
|
-
display: flex;
|
|
595
|
-
flex-direction: column;
|
|
596
|
-
border-radius: ${o.sp2};
|
|
597
|
-
`, li = a.div`
|
|
598
|
-
display: flex;
|
|
599
|
-
padding: ${o.sp3} ${o.sp0};
|
|
600
|
-
`, ci = ({
|
|
601
|
-
notificationData: t,
|
|
602
|
-
users: i,
|
|
603
|
-
isSelectionMode: s = !1,
|
|
604
|
-
isHighlighted: n = !1,
|
|
605
|
-
style: r,
|
|
606
|
-
onNotificationTileClick: l,
|
|
607
|
-
onNotificationTileLongPress: d
|
|
608
|
-
}) => {
|
|
609
|
-
const c = de(), p = ue().analytics, {
|
|
610
|
-
inboxNotification: { id: u, readAt: m, notifiedAt: f },
|
|
611
|
-
thread: g
|
|
612
|
-
} = t, S = m != null ? "read" : "unread", I = g.metadata.url, z = v(() => {
|
|
613
|
-
d?.();
|
|
614
|
-
}, [d]), R = v(
|
|
615
|
-
($) => {
|
|
616
|
-
$.stopPropagation(), $.cancelable && $.preventDefault(), s ? d?.() : I != null && (l(u, le(g.metadata.url), S), g.metadata.application !== "cockpit" && p.trackCommentActivity(
|
|
617
|
-
"notification",
|
|
618
|
-
// pageName
|
|
619
|
-
"clicked",
|
|
620
|
-
// activityType
|
|
621
|
-
g.metadata.companyName,
|
|
622
|
-
// tenantName
|
|
623
|
-
c.controllersList.controllers.map(
|
|
624
|
-
(L) => V(L)
|
|
625
|
-
),
|
|
626
|
-
// controllerName
|
|
627
|
-
g.resolved ? "resolved" : "open",
|
|
628
|
-
// status
|
|
629
|
-
{
|
|
630
|
-
name: me(c.loggedInUser),
|
|
631
|
-
email: c.loggedInUser?.userEmail ?? ""
|
|
632
|
-
},
|
|
633
|
-
// createdBy
|
|
634
|
-
"db notification"
|
|
635
|
-
// source
|
|
636
|
-
));
|
|
637
|
-
},
|
|
638
|
-
[
|
|
639
|
-
s,
|
|
640
|
-
I,
|
|
641
|
-
d,
|
|
642
|
-
l,
|
|
643
|
-
u,
|
|
644
|
-
g.metadata.url,
|
|
645
|
-
g.metadata.application,
|
|
646
|
-
S,
|
|
647
|
-
c.controllersList,
|
|
648
|
-
c.loggedInUser,
|
|
649
|
-
p,
|
|
650
|
-
g.metadata.companyName,
|
|
651
|
-
g.resolved
|
|
652
|
-
]
|
|
653
|
-
), k = ge({ onLongPress: z }, {
|
|
654
|
-
shouldPreventDefault: !1,
|
|
655
|
-
delay: 1e3
|
|
656
|
-
});
|
|
657
|
-
return /* @__PURE__ */ e.jsxs(
|
|
658
|
-
hi,
|
|
659
|
-
{
|
|
660
|
-
readStatus: S,
|
|
661
|
-
isClickable: I != null,
|
|
662
|
-
isHighlighted: n,
|
|
663
|
-
style: r,
|
|
664
|
-
...k,
|
|
665
|
-
onClick: R,
|
|
666
|
-
children: [
|
|
667
|
-
/* @__PURE__ */ e.jsxs(pi, { children: [
|
|
668
|
-
/* @__PURE__ */ e.jsx(
|
|
669
|
-
di,
|
|
670
|
-
{
|
|
671
|
-
notificationData: t,
|
|
672
|
-
users: i
|
|
673
|
-
}
|
|
674
|
-
),
|
|
675
|
-
/* @__PURE__ */ e.jsx(ui, { ...t })
|
|
676
|
-
] }),
|
|
677
|
-
/* @__PURE__ */ e.jsx(mi, { timestamp: f, readStatus: S })
|
|
678
|
-
]
|
|
679
|
-
}
|
|
680
|
-
);
|
|
681
|
-
}, di = ({
|
|
682
|
-
notificationData: t,
|
|
683
|
-
users: i
|
|
684
|
-
}) => /* @__PURE__ */ e.jsx(_e, { children: /* @__PURE__ */ e.jsx(
|
|
685
|
-
Le,
|
|
686
|
-
{
|
|
687
|
-
notificationData: t,
|
|
688
|
-
users: i
|
|
689
|
-
}
|
|
690
|
-
) }), ui = (t) => /* @__PURE__ */ e.jsx(_e, { children: /* @__PURE__ */ e.jsx(Ie, { ...t }) }), mi = (t) => /* @__PURE__ */ e.jsx(fi, { children: /* @__PURE__ */ e.jsx(Re, { ...t }) }), hi = a.div`
|
|
691
|
-
display: flex;
|
|
692
|
-
flex-direction: row;
|
|
693
|
-
align-items: baseline;
|
|
694
|
-
justify-content: space-between;
|
|
695
|
-
width: 100%;
|
|
696
|
-
gap: ${o.sp2};
|
|
697
|
-
cursor: ${(t) => t.isClickable ? "pointer" : "not-allowed"};
|
|
698
|
-
|
|
699
|
-
background-color: ${(t) => t.readStatus === "read" && t.isClickable ? t.theme.colors.grey4 : t.theme.colors.grey5};
|
|
700
|
-
|
|
701
|
-
color: ${(t) => t.readStatus === "read" && t.isClickable ? t.theme.colors.grey1 : t.theme.colors.hero};
|
|
702
|
-
border: 1px solid ${(t) => t.theme.colors.grey3};
|
|
703
|
-
margin-bottom: -1px;
|
|
704
|
-
box-shadow: ${(t) => `${o.sp0} 2px ${o.sp1} ${t.theme.colors.dropShadowNormal}`};
|
|
705
|
-
|
|
706
|
-
padding: ${o.sp3} ${o.sp2} ${o.sp3} ${o.sp3};
|
|
707
|
-
|
|
708
|
-
.userText {
|
|
709
|
-
color: ${j.brandColorJade};
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
:first-of-type {
|
|
713
|
-
border-top-left-radius: inherit;
|
|
714
|
-
border-top-right-radius: inherit;
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
:last-of-type {
|
|
718
|
-
border-bottom-left-radius: inherit;
|
|
719
|
-
border-bottom-right-radius: inherit;
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
${(t) => t.isHighlighted ? E`
|
|
723
|
-
z-index: 1;
|
|
724
|
-
color: ${t.theme.colors.primary};
|
|
725
|
-
border: 1px solid ${t.theme.colors.primary};
|
|
726
|
-
|
|
727
|
-
.userText {
|
|
728
|
-
color: ${j.brandColorJade};
|
|
729
|
-
}
|
|
730
|
-
` : null};
|
|
731
|
-
|
|
732
|
-
${(t) => t.isClickable ? E`
|
|
733
|
-
&:hover {
|
|
734
|
-
z-index: 1;
|
|
735
|
-
color: ${t.theme.colors.primary};
|
|
736
|
-
border: 1px solid ${t.theme.colors.primary};
|
|
737
|
-
|
|
738
|
-
.userText {
|
|
739
|
-
color: ${j.brandColorJade};
|
|
740
|
-
}
|
|
741
|
-
}
|
|
742
|
-
` : null};
|
|
743
|
-
`, fi = a(Y)`
|
|
744
|
-
width: 25%;
|
|
745
|
-
gap: ${o.sp2};
|
|
746
|
-
display: flex;
|
|
747
|
-
align-items: center;
|
|
748
|
-
flex-shrink: 0;
|
|
749
|
-
justify-content: end;
|
|
750
|
-
`, pi = a.div`
|
|
751
|
-
display: flex;
|
|
752
|
-
flex-direction: column;
|
|
753
|
-
gap: ${o.sp2};
|
|
754
|
-
`, _e = a(it)`
|
|
755
|
-
color: inherit;
|
|
756
|
-
display: -webkit-box;
|
|
757
|
-
overflow: hidden;
|
|
758
|
-
-webkit-box-orient: vertical;
|
|
759
|
-
`, De = (t) => C() === "small" ? /* @__PURE__ */ e.jsx(ci, { ...t }) : /* @__PURE__ */ e.jsx(Ro, { ...t }), {
|
|
760
|
-
common: { all: Et }
|
|
761
|
-
} = F.getLocalizedStrings(), gi = ({
|
|
762
|
-
notificationGroup: t,
|
|
763
|
-
users: i,
|
|
764
|
-
sectionId: s,
|
|
765
|
-
checkBoxMode: n,
|
|
766
|
-
style: r,
|
|
767
|
-
isDisabled: l,
|
|
768
|
-
onNotificationTileClick: d
|
|
769
|
-
}) => {
|
|
770
|
-
const c = ot(), { getValues: h } = pt(), p = h(s);
|
|
771
|
-
return /* @__PURE__ */ e.jsx(xi, { style: r, children: /* @__PURE__ */ e.jsx(
|
|
772
|
-
xt,
|
|
773
|
-
{
|
|
774
|
-
mode: n,
|
|
775
|
-
checkBoxes: [
|
|
776
|
-
{
|
|
777
|
-
label: /* @__PURE__ */ e.jsx(
|
|
778
|
-
bi,
|
|
779
|
-
{
|
|
780
|
-
htmlFor: `${s}.${Et.toLocaleLowerCase()}`,
|
|
781
|
-
style: { color: c.colors.primary },
|
|
782
|
-
children: wt(t)
|
|
783
|
-
}
|
|
784
|
-
),
|
|
785
|
-
value: Et.toLocaleLowerCase(),
|
|
786
|
-
defaultChecked: !1,
|
|
787
|
-
groupLabel: !0
|
|
788
|
-
},
|
|
789
|
-
...t.notifications.map(
|
|
790
|
-
(u, m) => {
|
|
791
|
-
const f = m === 0, g = t.notifications.length - 1 === m;
|
|
792
|
-
return {
|
|
793
|
-
label: /* @__PURE__ */ e.jsx(
|
|
794
|
-
De,
|
|
795
|
-
{
|
|
796
|
-
notificationData: u,
|
|
797
|
-
users: i,
|
|
798
|
-
style: {
|
|
799
|
-
borderTopLeftRadius: f ? o.sp2 : void 0,
|
|
800
|
-
borderTopRightRadius: f ? o.sp2 : void 0,
|
|
801
|
-
borderBottomLeftRadius: g ? o.sp2 : void 0,
|
|
802
|
-
borderBottomRightRadius: g ? o.sp2 : void 0
|
|
803
|
-
},
|
|
804
|
-
isHighlighted: p?.includes(u.inboxNotification.id) === !0,
|
|
805
|
-
onNotificationTileClick: d
|
|
806
|
-
}
|
|
807
|
-
),
|
|
808
|
-
value: u.inboxNotification.id,
|
|
809
|
-
defaultChecked: !1,
|
|
810
|
-
groupLabel: !1
|
|
811
|
-
};
|
|
812
|
-
}
|
|
813
|
-
)
|
|
814
|
-
],
|
|
815
|
-
name: s,
|
|
816
|
-
isDisabled: l,
|
|
817
|
-
style: { width: "100%" },
|
|
818
|
-
checkBoxStyle: { padding: o.sp3 },
|
|
819
|
-
labelCheckBoxStyle: { padding: o.sp3 }
|
|
820
|
-
}
|
|
821
|
-
) });
|
|
822
|
-
}, xi = a.div`
|
|
823
|
-
display: flex;
|
|
824
|
-
align-items: center;
|
|
825
|
-
width: 100%;
|
|
826
|
-
`, bi = a(bt)`
|
|
827
|
-
display: flex;
|
|
828
|
-
align-items: flex-start;
|
|
829
|
-
width: 100%;
|
|
830
|
-
padding: ${o.sp3} ${o.sp0} ${o.sp3} ${o.sp0};
|
|
831
|
-
`, {
|
|
832
|
-
common: { all: Ft }
|
|
833
|
-
} = F.getLocalizedStrings(), wi = ({
|
|
834
|
-
notificationGroup: t,
|
|
835
|
-
users: i,
|
|
836
|
-
sectionId: s,
|
|
837
|
-
checkBoxMode: n,
|
|
838
|
-
style: r,
|
|
839
|
-
isDisabled: l,
|
|
840
|
-
onNotificationTileClick: d
|
|
841
|
-
}) => {
|
|
842
|
-
const c = ot(), { getValues: h } = pt(), p = h(s), u = W([]);
|
|
843
|
-
return G(() => {
|
|
844
|
-
u.current = u.current.slice(
|
|
845
|
-
0,
|
|
846
|
-
t.notifications.length
|
|
847
|
-
);
|
|
848
|
-
}, [t.notifications.length]), /* @__PURE__ */ e.jsx($i, { style: r, children: /* @__PURE__ */ e.jsx(
|
|
849
|
-
xt,
|
|
850
|
-
{
|
|
851
|
-
mode: n,
|
|
852
|
-
checkBoxes: [
|
|
853
|
-
{
|
|
854
|
-
label: /* @__PURE__ */ e.jsx(
|
|
855
|
-
Pt,
|
|
856
|
-
{
|
|
857
|
-
htmlFor: `${s}.${Ft.toLocaleLowerCase()}`,
|
|
858
|
-
style: {
|
|
859
|
-
color: c.colors.primary,
|
|
860
|
-
marginLeft: o.sp2
|
|
861
|
-
},
|
|
862
|
-
children: wt(t)
|
|
863
|
-
}
|
|
864
|
-
),
|
|
865
|
-
value: Ft.toLocaleLowerCase(),
|
|
866
|
-
defaultChecked: !1,
|
|
867
|
-
groupLabel: !0
|
|
868
|
-
},
|
|
869
|
-
...t.notifications.map(
|
|
870
|
-
(m, f) => {
|
|
871
|
-
const g = f === 0, S = t.notifications.length - 1 === f;
|
|
872
|
-
return {
|
|
873
|
-
label: /* @__PURE__ */ e.jsx(
|
|
874
|
-
Pt,
|
|
875
|
-
{
|
|
876
|
-
ref: (I) => u.current[f] = I,
|
|
877
|
-
htmlFor: `${s}.${m.inboxNotification.id}`,
|
|
878
|
-
style: { padding: o.sp0 },
|
|
879
|
-
children: /* @__PURE__ */ e.jsx(
|
|
880
|
-
yi,
|
|
881
|
-
{
|
|
882
|
-
notificationData: m,
|
|
883
|
-
users: i,
|
|
884
|
-
style: {
|
|
885
|
-
borderTopLeftRadius: g ? o.sp2 : void 0,
|
|
886
|
-
borderTopRightRadius: g ? o.sp2 : void 0,
|
|
887
|
-
borderBottomLeftRadius: S ? o.sp2 : void 0,
|
|
888
|
-
borderBottomRightRadius: S ? o.sp2 : void 0,
|
|
889
|
-
marginLeft: o.sp2
|
|
890
|
-
},
|
|
891
|
-
isHighlighted: p?.includes(m.inboxNotification.id) === !0,
|
|
892
|
-
isSelectionMode: n === "always_on",
|
|
893
|
-
onNotificationTileClick: d,
|
|
894
|
-
onNotificationTileLongPress: () => {
|
|
895
|
-
u.current[f]?.click();
|
|
896
|
-
}
|
|
897
|
-
}
|
|
898
|
-
)
|
|
899
|
-
}
|
|
900
|
-
),
|
|
901
|
-
value: m.inboxNotification.id,
|
|
902
|
-
defaultChecked: !1,
|
|
903
|
-
groupLabel: !1
|
|
904
|
-
};
|
|
905
|
-
}
|
|
906
|
-
)
|
|
907
|
-
],
|
|
908
|
-
name: s,
|
|
909
|
-
isDisabled: l,
|
|
910
|
-
style: { width: "100%", position: "relative" },
|
|
911
|
-
checkBoxStyle: {
|
|
912
|
-
padding: o.sp1,
|
|
913
|
-
zIndex: 2,
|
|
914
|
-
left: `-${o.sp1}`,
|
|
915
|
-
position: "absolute"
|
|
916
|
-
},
|
|
917
|
-
checkBoxIconStyle: {
|
|
918
|
-
backgroundColor: c.colors.grey5
|
|
919
|
-
}
|
|
920
|
-
}
|
|
921
|
-
) });
|
|
922
|
-
}, $i = a.div`
|
|
923
|
-
display: flex;
|
|
924
|
-
align-items: center;
|
|
925
|
-
width: 100%;
|
|
926
|
-
`, Pt = a(bt)`
|
|
927
|
-
display: flex;
|
|
928
|
-
align-items: flex-start;
|
|
929
|
-
width: 100%;
|
|
930
|
-
padding: ${o.sp3} ${o.sp0} ${o.sp3} ${o.sp0};
|
|
931
|
-
`, yi = a(De)``, Si = (t) => C() === "small" ? /* @__PURE__ */ e.jsx(wi, { ...t }) : /* @__PURE__ */ e.jsx(gi, { ...t }), {
|
|
932
|
-
commentsAndNotifications: {
|
|
933
|
-
notifications: { message: ji }
|
|
934
|
-
}
|
|
935
|
-
} = F.getLocalizedStrings(), Bt = {
|
|
936
|
-
rowGap: new _(x[0], x[5], x[5])
|
|
937
|
-
}, Ci = ({
|
|
938
|
-
notificationGroups: t,
|
|
939
|
-
users: i,
|
|
940
|
-
isFetching: s,
|
|
941
|
-
hasMore: n,
|
|
942
|
-
sectionId: r,
|
|
943
|
-
checkBoxMode: l,
|
|
944
|
-
scrollYOffset: d,
|
|
945
|
-
currentSubTab: c,
|
|
946
|
-
isDisabled: h,
|
|
947
|
-
onUpdateScrollYOffset: p,
|
|
948
|
-
onFetchNotificationGroups: u,
|
|
949
|
-
onNotificationClick: m
|
|
950
|
-
}) => {
|
|
951
|
-
const f = C(), g = W(null), S = W({});
|
|
952
|
-
G(() => {
|
|
953
|
-
g.current?.resetAfterIndex(0, !0);
|
|
954
|
-
}, [f, g, t]), G(() => {
|
|
955
|
-
g.current?.scrollTo(d);
|
|
956
|
-
}, [c]);
|
|
957
|
-
const I = v(
|
|
958
|
-
(N) => {
|
|
959
|
-
if (S.current?.[N] != null) {
|
|
960
|
-
const B = f === "small" && n === !1 && N === t.length - 1 ? Bt.rowGap.value("medium-regular") : Bt.rowGap.value(f);
|
|
961
|
-
return S.current[N] + B;
|
|
962
|
-
}
|
|
963
|
-
return (xe * Te.value(f) + be) * 3 + we + $e;
|
|
964
|
-
},
|
|
965
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
966
|
-
[f, S, t]
|
|
967
|
-
), z = v(
|
|
968
|
-
(N, B) => {
|
|
969
|
-
S.current = { ...S.current, [N]: B }, g.current?.resetAfterIndex(0, !0);
|
|
970
|
-
},
|
|
971
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
972
|
-
[f, g, t]
|
|
973
|
-
), R = v(() => {
|
|
974
|
-
u();
|
|
975
|
-
}, [u]), b = v(() => {
|
|
976
|
-
}, []), k = se(
|
|
977
|
-
(N) => p(N),
|
|
978
|
-
1e3,
|
|
979
|
-
{
|
|
980
|
-
trailing: !0
|
|
981
|
-
}
|
|
982
|
-
), $ = (N) => !n || N < t.length, H = v(() => n && !s ? R() : b(), [n, s, R, b]), L = n ? t.length + 1 : t.length;
|
|
983
|
-
return /* @__PURE__ */ e.jsx(Ni, { children: /* @__PURE__ */ e.jsx(Ti, { windowSize: f, children: s && t.length === 0 ? /* @__PURE__ */ e.jsx(si, {}) : s === !1 && t.length === 0 ? /* @__PURE__ */ e.jsx(
|
|
984
|
-
fe,
|
|
985
|
-
{
|
|
986
|
-
message: ji.noNotificationsMessage,
|
|
987
|
-
style: { padding: o.sp0 }
|
|
988
|
-
}
|
|
989
|
-
) : /* @__PURE__ */ e.jsx(ki, { windowSize: f, children: /* @__PURE__ */ e.jsx(ne, { children: ({ height: N, width: B }) => /* @__PURE__ */ e.jsx(
|
|
990
|
-
ae,
|
|
991
|
-
{
|
|
992
|
-
isItemLoaded: $,
|
|
993
|
-
itemCount: ye,
|
|
994
|
-
loadMoreItems: H,
|
|
995
|
-
children: ({ onItemsRendered: J, ref: U }) => /* @__PURE__ */ e.jsx(
|
|
996
|
-
re,
|
|
997
|
-
{
|
|
998
|
-
ref: (q) => {
|
|
999
|
-
U(q), g.current = q;
|
|
1000
|
-
},
|
|
1001
|
-
height: N,
|
|
1002
|
-
itemCount: L,
|
|
1003
|
-
itemData: {
|
|
1004
|
-
notificationGroups: t,
|
|
1005
|
-
users: i,
|
|
1006
|
-
sectionId: r,
|
|
1007
|
-
checkBoxMode: l,
|
|
1008
|
-
isDisabled: h,
|
|
1009
|
-
isItemLoaded: $,
|
|
1010
|
-
setRowHeight: z,
|
|
1011
|
-
onNotificationClick: m
|
|
1012
|
-
},
|
|
1013
|
-
onItemsRendered: J,
|
|
1014
|
-
itemSize: I,
|
|
1015
|
-
width: B,
|
|
1016
|
-
style: { willChange: "auto" },
|
|
1017
|
-
overscanCount: Se,
|
|
1018
|
-
onScroll: ({ scrollOffset: q }) => {
|
|
1019
|
-
k(q);
|
|
1020
|
-
},
|
|
1021
|
-
initialScrollOffset: d,
|
|
1022
|
-
children: vi
|
|
1023
|
-
}
|
|
1024
|
-
)
|
|
1025
|
-
}
|
|
1026
|
-
) }) }) }) });
|
|
1027
|
-
}, vi = ({ index: t, style: i, data: s }) => {
|
|
1028
|
-
const {
|
|
1029
|
-
notificationGroups: n,
|
|
1030
|
-
users: r,
|
|
1031
|
-
sectionId: l,
|
|
1032
|
-
checkBoxMode: d,
|
|
1033
|
-
isItemLoaded: c,
|
|
1034
|
-
isDisabled: h,
|
|
1035
|
-
setRowHeight: p,
|
|
1036
|
-
onNotificationClick: u
|
|
1037
|
-
} = s, m = W(null), f = C();
|
|
1038
|
-
if (G(
|
|
1039
|
-
() => {
|
|
1040
|
-
m.current?.firstElementChild != null && p(t, m.current.firstElementChild.clientHeight);
|
|
1041
|
-
},
|
|
1042
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1043
|
-
[t, m, f, n[t]?.notifications]
|
|
1044
|
-
), c(t) === !0) {
|
|
1045
|
-
const g = n[t], S = ut(g);
|
|
1046
|
-
return /* @__PURE__ */ e.jsx(
|
|
1047
|
-
Gt,
|
|
1048
|
-
{
|
|
1049
|
-
style: {
|
|
1050
|
-
...i,
|
|
1051
|
-
paddingBottom: o.sp0,
|
|
1052
|
-
width: "100%"
|
|
1053
|
-
},
|
|
1054
|
-
ref: m,
|
|
1055
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1056
|
-
Si,
|
|
1057
|
-
{
|
|
1058
|
-
notificationGroup: g,
|
|
1059
|
-
sectionId: `${l}.${S}`,
|
|
1060
|
-
checkBoxMode: d,
|
|
1061
|
-
isDisabled: h,
|
|
1062
|
-
users: r,
|
|
1063
|
-
onNotificationTileClick: u
|
|
1064
|
-
}
|
|
1065
|
-
)
|
|
1066
|
-
},
|
|
1067
|
-
S
|
|
1068
|
-
);
|
|
1069
|
-
}
|
|
1070
|
-
return /* @__PURE__ */ e.jsx(
|
|
1071
|
-
Gt,
|
|
1072
|
-
{
|
|
1073
|
-
ref: m,
|
|
1074
|
-
style: {
|
|
1075
|
-
...i,
|
|
1076
|
-
paddingBottom: o.sp0
|
|
1077
|
-
},
|
|
1078
|
-
children: /* @__PURE__ */ e.jsx(kt, { numberOfRows: 3 })
|
|
1079
|
-
},
|
|
1080
|
-
ft()
|
|
1081
|
-
);
|
|
1082
|
-
}, Ni = a.div`
|
|
1083
|
-
display: block;
|
|
1084
|
-
background-color: ${(t) => t.theme.colors.grey4};
|
|
1085
|
-
height: 100%;
|
|
1086
|
-
width: 100%;
|
|
1087
|
-
`, Ti = a.div`
|
|
1088
|
-
height: 100%;
|
|
1089
|
-
width: 100%;
|
|
1090
|
-
`, ki = a.div`
|
|
1091
|
-
height: 100%;
|
|
1092
|
-
display: flex;
|
|
1093
|
-
flex-direction: column;
|
|
1094
|
-
max-width: 99.9%;
|
|
1095
|
-
`, Gt = a.div`
|
|
1096
|
-
top: ${o.sp0};
|
|
1097
|
-
left: ${o.sp0};
|
|
1098
|
-
box-sizing: border-box;
|
|
1099
|
-
`, {
|
|
1100
|
-
common: { in: Li, strings: ze },
|
|
1101
|
-
dateFormat: Ii,
|
|
1102
|
-
commentsAndNotifications: {
|
|
1103
|
-
notifications: {
|
|
1104
|
-
actionStrings: { notifications: M }
|
|
1105
|
-
}
|
|
1106
|
-
}
|
|
1107
|
-
} = F.getLocalizedStrings(), Ae = (t) => {
|
|
1108
|
-
t.sort(
|
|
1109
|
-
(r, l) => r.createTime.isAfter(l.createTime) === !0 ? 1 : -1
|
|
1110
|
-
);
|
|
1111
|
-
let i = [...t];
|
|
1112
|
-
const s = [];
|
|
1113
|
-
let n = {
|
|
1114
|
-
singleGroup: [],
|
|
1115
|
-
remainingData: []
|
|
1116
|
-
};
|
|
1117
|
-
for (const r of Ce) {
|
|
1118
|
-
let l = 0, d = 0, c = y().subtract(Math.min(y().date(), l), "d").startOf("d"), h = y().subtract(Math.min(y().date(), d), "d").endOf("d"), p = 1;
|
|
1119
|
-
switch (r) {
|
|
1120
|
-
case "today":
|
|
1121
|
-
case "yesterday":
|
|
1122
|
-
l = r === "today" ? 0 : 1, d = r === "today" ? 0 : 1, c = y().subtract(Math.min(y().date(), l), "d").startOf("d"), h = y().subtract(Math.min(y().date(), d), "d").endOf("d"), n = rt(
|
|
1123
|
-
i,
|
|
1124
|
-
c,
|
|
1125
|
-
h
|
|
1126
|
-
), i = n.remainingData, s.push({
|
|
1127
|
-
start: c,
|
|
1128
|
-
end: h,
|
|
1129
|
-
type: r,
|
|
1130
|
-
notifications: n.singleGroup
|
|
1131
|
-
});
|
|
1132
|
-
break;
|
|
1133
|
-
case "last_7_days_this_month":
|
|
1134
|
-
i.length > 0 && y().date() > 2 && (c = y().subtract(Math.min(y().date() - 1, 8), "d").startOf("d"), h = y().subtract(2, "d").endOf("d"), n = rt(
|
|
1135
|
-
i,
|
|
1136
|
-
c,
|
|
1137
|
-
h
|
|
1138
|
-
), i = n.remainingData, s.push({
|
|
1139
|
-
start: c,
|
|
1140
|
-
end: h,
|
|
1141
|
-
type: r,
|
|
1142
|
-
notifications: n.singleGroup
|
|
1143
|
-
}));
|
|
1144
|
-
break;
|
|
1145
|
-
case "earlier_this_month":
|
|
1146
|
-
i.length > 0 && y().date() > 9 && (c = y().startOf("M").startOf("d"), h = y().subtract(9, "d").endOf("d"), n = rt(
|
|
1147
|
-
i,
|
|
1148
|
-
c,
|
|
1149
|
-
h
|
|
1150
|
-
), i = n.remainingData, s.push({
|
|
1151
|
-
start: c,
|
|
1152
|
-
end: h,
|
|
1153
|
-
type: r,
|
|
1154
|
-
notifications: n.singleGroup
|
|
1155
|
-
}));
|
|
1156
|
-
break;
|
|
1157
|
-
case "earlier_that_month":
|
|
1158
|
-
for (; i.length > 0; ) {
|
|
1159
|
-
const u = y().subtract(p, "month").startOf("M").startOf("d"), m = y().subtract(p, "month").endOf("M").endOf("d");
|
|
1160
|
-
p++, n = rt(
|
|
1161
|
-
i,
|
|
1162
|
-
u,
|
|
1163
|
-
m
|
|
1164
|
-
), i = n.remainingData, s.push({
|
|
1165
|
-
start: u,
|
|
1166
|
-
end: m,
|
|
1167
|
-
type: r,
|
|
1168
|
-
notifications: n.singleGroup
|
|
1169
|
-
});
|
|
1170
|
-
}
|
|
1171
|
-
break;
|
|
1172
|
-
}
|
|
1173
|
-
}
|
|
1174
|
-
return s;
|
|
1175
|
-
}, rt = (t, i, s) => {
|
|
1176
|
-
const n = [], r = t.map((l) => ce(i, s, l.createTime) ? (n.push(l), null) : l).filter(
|
|
1177
|
-
(l) => !!l
|
|
1178
|
-
);
|
|
1179
|
-
return n.sort(
|
|
1180
|
-
(l, d) => l.createTime.isAfter(d.createTime) === !0 ? -1 : 1
|
|
1181
|
-
), { singleGroup: n, remainingData: r };
|
|
1182
|
-
}, Ri = (t) => {
|
|
1183
|
-
let i = M.newActivity;
|
|
1184
|
-
return t.code === "in_progress" ? i = M.due.replace(
|
|
1185
|
-
"__task_status__",
|
|
1186
|
-
zt(t.name.toLocaleLowerCase())
|
|
1187
|
-
) : i = M.due.replace(
|
|
1188
|
-
"__task_status__",
|
|
1189
|
-
Li.toLocaleLowerCase().concat(
|
|
1190
|
-
ze.space,
|
|
1191
|
-
zt(t.name.toLocaleLowerCase())
|
|
1192
|
-
)
|
|
1193
|
-
), i;
|
|
1194
|
-
}, _i = (t) => {
|
|
1195
|
-
const {
|
|
1196
|
-
eventData: { activities: i }
|
|
1197
|
-
} = t;
|
|
1198
|
-
let s = M.newActivity;
|
|
1199
|
-
if (i.length > 0) {
|
|
1200
|
-
const n = i[0].activityType, r = i[0].metadata.eventStatus;
|
|
1201
|
-
switch (n) {
|
|
1202
|
-
case "task_archived":
|
|
1203
|
-
s = M.archive;
|
|
1204
|
-
break;
|
|
1205
|
-
case "task_deleted":
|
|
1206
|
-
s = M.delete;
|
|
1207
|
-
break;
|
|
1208
|
-
case "task_activities":
|
|
1209
|
-
s = M.activities;
|
|
1210
|
-
break;
|
|
1211
|
-
case "task_assigned":
|
|
1212
|
-
s = M.assign;
|
|
1213
|
-
break;
|
|
1214
|
-
case "task_created":
|
|
1215
|
-
s = M.create;
|
|
1216
|
-
break;
|
|
1217
|
-
case "task_due":
|
|
1218
|
-
s = r != null ? Ri(r) : M.dueTomorrow;
|
|
1219
|
-
break;
|
|
1220
|
-
case "task_overdue":
|
|
1221
|
-
s = M.overdue.replace(
|
|
1222
|
-
"__date__",
|
|
1223
|
-
i[0].metadata.additionalInfo?.dueDate.format(
|
|
1224
|
-
Ii.visual.MMMDFormat
|
|
1225
|
-
) ?? ze.empty
|
|
1226
|
-
);
|
|
1227
|
-
break;
|
|
1228
|
-
case "task_status_updated":
|
|
1229
|
-
s = M.statusUpdate;
|
|
1230
|
-
break;
|
|
1231
|
-
}
|
|
1232
|
-
}
|
|
1233
|
-
return s;
|
|
1234
|
-
}, Oe = new _(3, 2, 1, 1, 1), Me = new _(
|
|
1235
|
-
x[8],
|
|
1236
|
-
33,
|
|
1237
|
-
33,
|
|
1238
|
-
33,
|
|
1239
|
-
35
|
|
1240
|
-
), ht = {
|
|
1241
|
-
lineClamp: Oe,
|
|
1242
|
-
sectionWidth: Me
|
|
1243
|
-
}, {
|
|
1244
|
-
common: { and: Ut, other: Di, others: zi, texts: Ai, timeStrings: Oi, strings: O, tags: Mi }
|
|
1245
|
-
} = F.getLocalizedStrings(), Ei = ({
|
|
1246
|
-
notificationData: t,
|
|
1247
|
-
isHighlighted: i = !1,
|
|
1248
|
-
style: s,
|
|
1249
|
-
onNotificationTileClick: n
|
|
1250
|
-
}) => {
|
|
1251
|
-
const {
|
|
1252
|
-
status: r,
|
|
1253
|
-
notificationId: l,
|
|
1254
|
-
eventData: { entitiyId: d, activities: c },
|
|
1255
|
-
createTime: h
|
|
1256
|
-
} = t;
|
|
1257
|
-
return /* @__PURE__ */ e.jsxs(
|
|
1258
|
-
Hi,
|
|
1259
|
-
{
|
|
1260
|
-
notificationStatus: r,
|
|
1261
|
-
isHighlighted: i,
|
|
1262
|
-
style: s,
|
|
1263
|
-
onClick: () => {
|
|
1264
|
-
n(
|
|
1265
|
-
l,
|
|
1266
|
-
d,
|
|
1267
|
-
r,
|
|
1268
|
-
c.length > 0 ? c[0].activityType : void 0
|
|
1269
|
-
);
|
|
1270
|
-
},
|
|
1271
|
-
children: [
|
|
1272
|
-
/* @__PURE__ */ e.jsx(Fi, { ...t }),
|
|
1273
|
-
/* @__PURE__ */ e.jsx(Gi, { ...t }),
|
|
1274
|
-
/* @__PURE__ */ e.jsx(Wi, { ...t }),
|
|
1275
|
-
/* @__PURE__ */ e.jsx(Ui, { createTime: h, notificationStatus: r })
|
|
1276
|
-
]
|
|
1277
|
-
}
|
|
1278
|
-
);
|
|
1279
|
-
}, Ee = (t) => {
|
|
1280
|
-
const {
|
|
1281
|
-
status: i,
|
|
1282
|
-
eventData: { title: s }
|
|
1283
|
-
} = t;
|
|
1284
|
-
return /* @__PURE__ */ e.jsx(Ki, { notificationStatus: i, children: s || O.hyphen });
|
|
1285
|
-
}, Fi = (t) => {
|
|
1286
|
-
const i = C();
|
|
1287
|
-
return /* @__PURE__ */ e.jsx(qi, { windowSize: i, children: /* @__PURE__ */ e.jsx(Ee, { ...t }) });
|
|
1288
|
-
}, Pi = (t) => {
|
|
1289
|
-
const {
|
|
1290
|
-
eventData: { activities: i }
|
|
1291
|
-
} = t;
|
|
1292
|
-
if (i.length > 0 && i[0].activityType === "task_status_updated") {
|
|
1293
|
-
const s = i[0].metadata.updates.find(
|
|
1294
|
-
(n) => n.type === "code_name_pair" && n.field === "status"
|
|
1295
|
-
);
|
|
1296
|
-
if (s?.oldValue.codeNamePair != null && s.newValue.codeNamePair != null)
|
|
1297
|
-
return /* @__PURE__ */ e.jsxs(Xi, { children: [
|
|
1298
|
-
/* @__PURE__ */ e.jsx(
|
|
1299
|
-
Wt,
|
|
1300
|
-
{
|
|
1301
|
-
backgroundColor: At(
|
|
1302
|
-
s.oldValue.codeNamePair
|
|
1303
|
-
),
|
|
1304
|
-
children: s.oldValue.codeNamePair.name
|
|
1305
|
-
}
|
|
1306
|
-
),
|
|
1307
|
-
/* @__PURE__ */ e.jsx(Zi, {}),
|
|
1308
|
-
/* @__PURE__ */ e.jsx(
|
|
1309
|
-
Wt,
|
|
1310
|
-
{
|
|
1311
|
-
backgroundColor: At(
|
|
1312
|
-
s.newValue.codeNamePair
|
|
1313
|
-
),
|
|
1314
|
-
children: s.newValue.codeNamePair.name
|
|
1315
|
-
}
|
|
1316
|
-
)
|
|
1317
|
-
] });
|
|
1318
|
-
}
|
|
1319
|
-
return null;
|
|
1320
|
-
}, Bi = (t) => {
|
|
1321
|
-
const {
|
|
1322
|
-
status: i,
|
|
1323
|
-
eventData: { authors: s, activities: n }
|
|
1324
|
-
} = t, r = s.length;
|
|
1325
|
-
if (n[0].activityType === "task_due" || n[0].activityType === "task_overdue" || n[0].activityType === "task_status_updated")
|
|
1326
|
-
return null;
|
|
1327
|
-
let l = /* @__PURE__ */ e.jsxs(X, { className: "userText", notificationStatus: i, children: [
|
|
1328
|
-
O.atTheRate,
|
|
1329
|
-
Ai.user,
|
|
1330
|
-
O.space
|
|
1331
|
-
] });
|
|
1332
|
-
return r > 0 && (r > 2 ? l = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1333
|
-
/* @__PURE__ */ e.jsxs(
|
|
1334
|
-
X,
|
|
1335
|
-
{
|
|
1336
|
-
className: "userText",
|
|
1337
|
-
notificationStatus: i,
|
|
1338
|
-
children: [
|
|
1339
|
-
O.atTheRate,
|
|
1340
|
-
V(s[0], !1),
|
|
1341
|
-
O.space
|
|
1342
|
-
]
|
|
1343
|
-
}
|
|
1344
|
-
),
|
|
1345
|
-
Ut,
|
|
1346
|
-
/* @__PURE__ */ e.jsxs(
|
|
1347
|
-
X,
|
|
1348
|
-
{
|
|
1349
|
-
className: "userText",
|
|
1350
|
-
notificationStatus: i,
|
|
1351
|
-
children: [
|
|
1352
|
-
O.space,
|
|
1353
|
-
r - 1,
|
|
1354
|
-
O.space,
|
|
1355
|
-
zi,
|
|
1356
|
-
O.space
|
|
1357
|
-
]
|
|
1358
|
-
}
|
|
1359
|
-
)
|
|
1360
|
-
] }) : r === 2 ? l = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1361
|
-
/* @__PURE__ */ e.jsxs(
|
|
1362
|
-
X,
|
|
1363
|
-
{
|
|
1364
|
-
className: "userText",
|
|
1365
|
-
notificationStatus: i,
|
|
1366
|
-
children: [
|
|
1367
|
-
O.atTheRate,
|
|
1368
|
-
V(s[0], !1),
|
|
1369
|
-
O.space
|
|
1370
|
-
]
|
|
1371
|
-
}
|
|
1372
|
-
),
|
|
1373
|
-
Ut,
|
|
1374
|
-
/* @__PURE__ */ e.jsxs(
|
|
1375
|
-
X,
|
|
1376
|
-
{
|
|
1377
|
-
className: "userText",
|
|
1378
|
-
notificationStatus: i,
|
|
1379
|
-
children: [
|
|
1380
|
-
O.space,
|
|
1381
|
-
s.length === 2 ? O.atTheRate + V(s[1], !1) : Di,
|
|
1382
|
-
O.space
|
|
1383
|
-
]
|
|
1384
|
-
}
|
|
1385
|
-
)
|
|
1386
|
-
] }) : l = /* @__PURE__ */ e.jsxs(X, { className: "userText", notificationStatus: i, children: [
|
|
1387
|
-
O.atTheRate,
|
|
1388
|
-
V(s[0], !1),
|
|
1389
|
-
O.space
|
|
1390
|
-
] })), l;
|
|
1391
|
-
}, Fe = (t) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1392
|
-
/* @__PURE__ */ e.jsx(Bi, { ...t }),
|
|
1393
|
-
_i(t),
|
|
1394
|
-
/* @__PURE__ */ e.jsx(Pi, { ...t })
|
|
1395
|
-
] }), Gi = (t) => {
|
|
1396
|
-
const i = C(), {
|
|
1397
|
-
eventData: { activities: s }
|
|
1398
|
-
} = t;
|
|
1399
|
-
return /* @__PURE__ */ e.jsx(
|
|
1400
|
-
Ji,
|
|
1401
|
-
{
|
|
1402
|
-
windowSize: i,
|
|
1403
|
-
statusUpdate: s.length > 0 && s[0].activityType === "task_status_updated" && s[0].metadata.updates.find(
|
|
1404
|
-
(n) => n.field === "status"
|
|
1405
|
-
) != null,
|
|
1406
|
-
children: /* @__PURE__ */ e.jsx(Fe, { ...t })
|
|
1407
|
-
}
|
|
1408
|
-
);
|
|
1409
|
-
}, Pe = (t) => {
|
|
1410
|
-
const { createTime: i, notificationStatus: s } = t, n = ve(i.toDate());
|
|
1411
|
-
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1412
|
-
/* @__PURE__ */ e.jsx(
|
|
1413
|
-
Qi,
|
|
1414
|
-
{
|
|
1415
|
-
isNewNotification: n === Oi.justNow,
|
|
1416
|
-
children: n
|
|
1417
|
-
}
|
|
1418
|
-
),
|
|
1419
|
-
/* @__PURE__ */ e.jsx(es, { notificationStatus: s })
|
|
1420
|
-
] });
|
|
1421
|
-
}, Ui = (t) => {
|
|
1422
|
-
const i = C();
|
|
1423
|
-
return /* @__PURE__ */ e.jsx(Vi, { windowSize: i, children: /* @__PURE__ */ e.jsx(Pe, { ...t }) });
|
|
1424
|
-
}, Be = (t) => {
|
|
1425
|
-
const {
|
|
1426
|
-
eventData: { activities: i }
|
|
1427
|
-
} = t;
|
|
1428
|
-
return i[0].activityType === "task_overdue" ? /* @__PURE__ */ e.jsx(
|
|
1429
|
-
co,
|
|
1430
|
-
{
|
|
1431
|
-
tagTitle: Mi.overdue,
|
|
1432
|
-
textColor: {
|
|
1433
|
-
color: new jt(j.alert),
|
|
1434
|
-
backgroundColor: new jt("transparent"),
|
|
1435
|
-
borderColor: new jt(j.alert)
|
|
1436
|
-
},
|
|
1437
|
-
showLoader: !1
|
|
1438
|
-
}
|
|
1439
|
-
) : /* @__PURE__ */ e.jsx(ts, {});
|
|
1440
|
-
}, Wi = (t) => {
|
|
1441
|
-
const i = C();
|
|
1442
|
-
return /* @__PURE__ */ e.jsx(Yi, { windowSize: i, children: /* @__PURE__ */ e.jsx(Be, { ...t }) });
|
|
1443
|
-
}, Hi = a.div`
|
|
1444
|
-
display: flex;
|
|
1445
|
-
flex-direction: row;
|
|
1446
|
-
align-items: center;
|
|
1447
|
-
justify-content: space-between;
|
|
1448
|
-
width: 100%;
|
|
1449
|
-
cursor: pointer;
|
|
1450
|
-
|
|
1451
|
-
background-color: ${(t) => t.notificationStatus === "read" ? t.theme.colors.grey4 : t.theme.colors.grey5};
|
|
1452
|
-
|
|
1453
|
-
color: ${(t) => t.notificationStatus === "read" ? t.theme.colors.grey1 : t.theme.colors.hero};
|
|
1454
|
-
border: 1px solid ${(t) => t.theme.colors.grey3};
|
|
1455
|
-
margin-bottom: -1px;
|
|
1456
|
-
box-shadow: ${(t) => `${o.sp0} 2px ${o.sp1} ${t.theme.colors.dropShadowNormal}`};
|
|
1457
|
-
|
|
1458
|
-
padding: ${o.sp3} ${o.sp2} ${o.sp3} ${o.sp4};
|
|
1459
|
-
|
|
1460
|
-
.userText {
|
|
1461
|
-
color: ${j.brandColorJade};
|
|
1462
|
-
}
|
|
1463
|
-
|
|
1464
|
-
:first-of-type {
|
|
1465
|
-
border-top-left-radius: inherit;
|
|
1466
|
-
border-top-right-radius: inherit;
|
|
1467
|
-
}
|
|
1468
|
-
|
|
1469
|
-
:last-of-type {
|
|
1470
|
-
border-bottom-left-radius: inherit;
|
|
1471
|
-
border-bottom-right-radius: inherit;
|
|
1472
|
-
}
|
|
1473
|
-
|
|
1474
|
-
${(t) => t.isHighlighted ? E`
|
|
1475
|
-
z-index: 1;
|
|
1476
|
-
color: ${t.theme.colors.primary};
|
|
1477
|
-
border: 1px solid ${t.theme.colors.primary};
|
|
1478
|
-
|
|
1479
|
-
.userText {
|
|
1480
|
-
color: ${j.brandColorJade};
|
|
1481
|
-
}
|
|
1482
|
-
` : null};
|
|
1483
|
-
|
|
1484
|
-
&:hover {
|
|
1485
|
-
z-index: 1;
|
|
1486
|
-
color: ${(t) => t.theme.colors.primary};
|
|
1487
|
-
border: 1px solid ${(t) => t.theme.colors.primary};
|
|
1488
|
-
|
|
1489
|
-
.userText {
|
|
1490
|
-
color: ${j.brandColorJade};
|
|
1491
|
-
}
|
|
1492
|
-
}
|
|
1493
|
-
`, Vi = a(Y)`
|
|
1494
|
-
width: ${(t) => t.windowSize === "small" ? "unset" : "10%"};
|
|
1495
|
-
gap: ${o.sp2};
|
|
1496
|
-
display: flex;
|
|
1497
|
-
align-items: center;
|
|
1498
|
-
flex-shrink: 0;
|
|
1499
|
-
justify-content: end;
|
|
1500
|
-
`, Yi = a(Y)`
|
|
1501
|
-
width: ${(t) => t.windowSize === "small" ? "unset" : "10%"};
|
|
1502
|
-
display: flex;
|
|
1503
|
-
align-items: center;
|
|
1504
|
-
flex-shrink: 0;
|
|
1505
|
-
justify-content: end;
|
|
1506
|
-
`, Ji = a(it)`
|
|
1507
|
-
color: inherit;
|
|
1508
|
-
|
|
1509
|
-
${(t) => t.statusUpdate ? E`
|
|
1510
|
-
display: flex;
|
|
1511
|
-
flex-wrap: wrap;
|
|
1512
|
-
gap: ${o.sp1};
|
|
1513
|
-
` : E`
|
|
1514
|
-
display: -webkit-box;
|
|
1515
|
-
overflow: hidden;
|
|
1516
|
-
-webkit-line-clamp: ${ht.lineClamp.value(t.windowSize)};
|
|
1517
|
-
gap: ${o.sp1};
|
|
1518
|
-
-webkit-box-orient: vertical;
|
|
1519
|
-
`};
|
|
1520
|
-
width: ${(t) => ht.sectionWidth.valuePercentage(t.windowSize)};
|
|
1521
|
-
`, qi = a(it)`
|
|
1522
|
-
color: inherit;
|
|
1523
|
-
display: -webkit-box;
|
|
1524
|
-
overflow: hidden;
|
|
1525
|
-
-webkit-line-clamp: ${(t) => ht.lineClamp.value(t.windowSize)};
|
|
1526
|
-
-webkit-box-orient: vertical;
|
|
1527
|
-
width: ${(t) => ht.sectionWidth.valuePercentage(t.windowSize)};
|
|
1528
|
-
`, X = a(gt)`
|
|
1529
|
-
color: ${(t) => t.notificationStatus === "read" ? t.theme.colors.grey1 : j.brandColorJade};
|
|
1530
|
-
`, Ki = a(gt)`
|
|
1531
|
-
color: inherit;
|
|
1532
|
-
`, Qi = a(he)`
|
|
1533
|
-
flex-shrink: 0;
|
|
1534
|
-
color: ${(t) => t.isNewNotification ? t.theme.colors.primary : "inherit"};
|
|
1535
|
-
`, Xi = a.div`
|
|
1536
|
-
display: flex;
|
|
1537
|
-
align-items: center;
|
|
1538
|
-
flex-direction: row;
|
|
1539
|
-
gap: ${o.sp2};
|
|
1540
|
-
flex-wrap: wrap;
|
|
1541
|
-
`, Wt = a(Y)`
|
|
1542
|
-
color: ${j.neutralGrey5Light};
|
|
1543
|
-
background: ${(t) => t.backgroundColor};
|
|
1544
|
-
border: 1px solid ${(t) => t.backgroundColor};
|
|
1545
|
-
padding: ${o.sp0} 6px;
|
|
1546
|
-
border-radius: ${o.sp1};
|
|
1547
|
-
`, Zi = a(uo)`
|
|
1548
|
-
width: ${o.sp3};
|
|
1549
|
-
height: ${o.sp3};
|
|
1550
|
-
color: ${(t) => t.theme.colors.hero};
|
|
1551
|
-
`, ts = a.div`
|
|
1552
|
-
display: flex;
|
|
1553
|
-
flex: 1 1 auto;
|
|
1554
|
-
`, es = a.div`
|
|
1555
|
-
display: flex;
|
|
1556
|
-
height: ${o.sp2};
|
|
1557
|
-
width: ${o.sp2};
|
|
1558
|
-
border-radius: ${o.sp2};
|
|
1559
|
-
flex-shrink: 0;
|
|
1560
|
-
background-color: ${(t) => t.notificationStatus === "unread" ? j.info : "transparent"};
|
|
1561
|
-
`, lt = {
|
|
1562
|
-
emptyRowItemSectionWidth: new _(120, 200, 280, 330, 400),
|
|
1563
|
-
emptyLastRowItemSectionWidth: new _(x[6], 50, 60, x[11], 120)
|
|
1564
|
-
}, os = () => {
|
|
1565
|
-
const t = C();
|
|
1566
|
-
return /* @__PURE__ */ e.jsxs(is, { windowSize: t, children: [
|
|
1567
|
-
/* @__PURE__ */ e.jsx(ct, { windowSize: t, isLastItem: !1, children: /* @__PURE__ */ e.jsx(
|
|
1568
|
-
D,
|
|
1569
|
-
{
|
|
1570
|
-
width: lt.emptyRowItemSectionWidth.value(t),
|
|
1571
|
-
height: x[4]
|
|
1572
|
-
}
|
|
1573
|
-
) }),
|
|
1574
|
-
/* @__PURE__ */ e.jsx(ct, { windowSize: t, isLastItem: !1, children: /* @__PURE__ */ e.jsx(
|
|
1575
|
-
D,
|
|
1576
|
-
{
|
|
1577
|
-
width: lt.emptyRowItemSectionWidth.value(t),
|
|
1578
|
-
height: x[4]
|
|
1579
|
-
}
|
|
1580
|
-
) }),
|
|
1581
|
-
/* @__PURE__ */ e.jsx(ct, { windowSize: t, isLastItem: !0, children: /* @__PURE__ */ e.jsx(
|
|
1582
|
-
D,
|
|
1583
|
-
{
|
|
1584
|
-
width: lt.emptyLastRowItemSectionWidth.value(t),
|
|
1585
|
-
height: 18
|
|
1586
|
-
}
|
|
1587
|
-
) }),
|
|
1588
|
-
/* @__PURE__ */ e.jsx(ct, { windowSize: t, isLastItem: !0, children: /* @__PURE__ */ e.jsx(
|
|
1589
|
-
D,
|
|
1590
|
-
{
|
|
1591
|
-
width: lt.emptyLastRowItemSectionWidth.value(t),
|
|
1592
|
-
height: 18
|
|
1593
|
-
}
|
|
1594
|
-
) })
|
|
1595
|
-
] });
|
|
1596
|
-
}, is = a.div`
|
|
1597
|
-
display: flex;
|
|
1598
|
-
align-items: center;
|
|
1599
|
-
justify-content: space-between;
|
|
1600
|
-
|
|
1601
|
-
padding: ${o.sp3} ${o.sp2} ${o.sp3} ${o.sp4};
|
|
1602
|
-
border: 1px solid ${(t) => t.theme.colors.grey3};
|
|
1603
|
-
margin-bottom: -1px;
|
|
1604
|
-
box-shadow: ${(t) => `${o.sp0} 2px ${o.sp1} ${t.theme.colors.dropShadowNormal}`};
|
|
1605
|
-
|
|
1606
|
-
:hover {
|
|
1607
|
-
z-index: 1;
|
|
1608
|
-
border: ${(t) => `1px solid ${t.theme.colors.primary}`};
|
|
1609
|
-
}
|
|
1610
|
-
|
|
1611
|
-
:first-of-type {
|
|
1612
|
-
border-top-left-radius: ${o.sp2};
|
|
1613
|
-
border-top-right-radius: ${o.sp2};
|
|
1614
|
-
}
|
|
1615
|
-
|
|
1616
|
-
:last-of-type {
|
|
1617
|
-
border-bottom-left-radius: ${o.sp2};
|
|
1618
|
-
border-bottom-right-radius: ${o.sp2};
|
|
1619
|
-
}
|
|
1620
|
-
`, ct = a.div`
|
|
1621
|
-
display: flex;
|
|
1622
|
-
align-items: center;
|
|
1623
|
-
position: relative;
|
|
1624
|
-
flex: 1 1 auto;
|
|
1625
|
-
justify-content: ${(t) => t.isLastItem ? "flex-end" : "start"};
|
|
1626
|
-
width: ${(t) => t.isLastItem ? "10%" : Me.valuePercentage(t.windowSize)};
|
|
1627
|
-
`, ss = () => {
|
|
1628
|
-
const t = C();
|
|
1629
|
-
return /* @__PURE__ */ e.jsxs(ns, { windowSize: t, children: [
|
|
1630
|
-
/* @__PURE__ */ e.jsxs(Ht, { children: [
|
|
1631
|
-
/* @__PURE__ */ e.jsx(D, { width: 180, height: x[4] }),
|
|
1632
|
-
/* @__PURE__ */ e.jsx(D, { width: 60, height: 18 })
|
|
1633
|
-
] }),
|
|
1634
|
-
/* @__PURE__ */ e.jsxs(Ht, { children: [
|
|
1635
|
-
/* @__PURE__ */ e.jsx(D, { width: 180, height: x[4] }),
|
|
1636
|
-
/* @__PURE__ */ e.jsx(D, { width: 60, height: 18 })
|
|
1637
|
-
] })
|
|
1638
|
-
] });
|
|
1639
|
-
}, ns = a.div`
|
|
1640
|
-
display: flex;
|
|
1641
|
-
flex-direction: column;
|
|
1642
|
-
align-items: baseline;
|
|
1643
|
-
justify-content: space-between;
|
|
1644
|
-
gap: ${o.sp4};
|
|
1645
|
-
|
|
1646
|
-
padding: ${o.sp3} ${o.sp2} ${o.sp3} ${o.sp3};
|
|
1647
|
-
border: 1px solid ${(t) => t.theme.colors.grey3};
|
|
1648
|
-
margin-bottom: -1px;
|
|
1649
|
-
box-shadow: ${(t) => `${o.sp0} 2px ${o.sp1} ${t.theme.colors.dropShadowNormal}`};
|
|
1650
|
-
|
|
1651
|
-
:hover {
|
|
1652
|
-
z-index: 1;
|
|
1653
|
-
border: ${(t) => `1px solid ${t.theme.colors.primary}`};
|
|
1654
|
-
}
|
|
1655
|
-
|
|
1656
|
-
:first-of-type {
|
|
1657
|
-
border-top-left-radius: ${o.sp2};
|
|
1658
|
-
border-top-right-radius: ${o.sp2};
|
|
1659
|
-
}
|
|
1660
|
-
|
|
1661
|
-
:last-of-type {
|
|
1662
|
-
border-bottom-left-radius: ${o.sp2};
|
|
1663
|
-
border-bottom-right-radius: ${o.sp2};
|
|
1664
|
-
}
|
|
1665
|
-
`, Ht = a.div`
|
|
1666
|
-
display: flex;
|
|
1667
|
-
flex-direction: row;
|
|
1668
|
-
align-items: start;
|
|
1669
|
-
justify-content: space-between;
|
|
1670
|
-
gap: ${o.sp2};
|
|
1671
|
-
flex: 1 1 auto;
|
|
1672
|
-
width: 100%;
|
|
1673
|
-
`, as = () => C() === "small" ? /* @__PURE__ */ e.jsx(ss, {}) : /* @__PURE__ */ e.jsx(os, {}), rs = {
|
|
1674
|
-
marginLeft: new _(x[2], x[5], x[7])
|
|
1675
|
-
}, ls = () => /* @__PURE__ */ e.jsxs(cs, { children: [
|
|
1676
|
-
/* @__PURE__ */ e.jsx(Lt, { numberOfRows: 5 }),
|
|
1677
|
-
/* @__PURE__ */ e.jsx(Lt, { numberOfRows: 3 })
|
|
1678
|
-
] }), Lt = ({
|
|
1679
|
-
numberOfRows: t
|
|
1680
|
-
}) => {
|
|
1681
|
-
const i = C();
|
|
1682
|
-
return /* @__PURE__ */ e.jsxs(ds, { windowSize: i, children: [
|
|
1683
|
-
/* @__PURE__ */ e.jsx(ms, { children: /* @__PURE__ */ e.jsx(
|
|
1684
|
-
D,
|
|
1685
|
-
{
|
|
1686
|
-
width: x[12],
|
|
1687
|
-
height: Rt.standardRegular.lineHeightValue
|
|
1688
|
-
}
|
|
1689
|
-
) }),
|
|
1690
|
-
/* @__PURE__ */ e.jsx(us, { children: [...Array(t)].map((s) => /* @__PURE__ */ e.jsx(as, {}, ft())) })
|
|
1691
|
-
] });
|
|
1692
|
-
}, cs = a.div`
|
|
1693
|
-
display: block;
|
|
1694
|
-
min-height: 100%;
|
|
1695
|
-
flex-direction: column;
|
|
1696
|
-
width: 100%;
|
|
1697
|
-
`, ds = a.div`
|
|
1698
|
-
display: flex;
|
|
1699
|
-
flex-direction: column;
|
|
1700
|
-
margin-bottom: ${o.sp5};
|
|
1701
|
-
margin-left: ${(t) => rs.marginLeft.valuePx(t.windowSize)};
|
|
1702
|
-
`, us = a.div`
|
|
1703
|
-
display: flex;
|
|
1704
|
-
flex-direction: column;
|
|
1705
|
-
border-radius: ${o.sp2};
|
|
1706
|
-
`, ms = a.div`
|
|
1707
|
-
display: flex;
|
|
1708
|
-
padding: ${o.sp3} ${o.sp0};
|
|
1709
|
-
`, hs = ({
|
|
1710
|
-
notificationData: t,
|
|
1711
|
-
isSelectionMode: i = !1,
|
|
1712
|
-
isHighlighted: s = !1,
|
|
1713
|
-
style: n,
|
|
1714
|
-
onNotificationTileClick: r,
|
|
1715
|
-
onNotificationTileLongPress: l
|
|
1716
|
-
}) => {
|
|
1717
|
-
const {
|
|
1718
|
-
status: d,
|
|
1719
|
-
createTime: c,
|
|
1720
|
-
eventData: { entitiyId: h, activities: p },
|
|
1721
|
-
notificationId: u
|
|
1722
|
-
} = t, m = v(() => {
|
|
1723
|
-
l?.();
|
|
1724
|
-
}, [l]), f = v(
|
|
1725
|
-
(I) => {
|
|
1726
|
-
I.stopPropagation(), I.cancelable && I.preventDefault(), i ? l?.() : r(
|
|
1727
|
-
u,
|
|
1728
|
-
h,
|
|
1729
|
-
d,
|
|
1730
|
-
p.length > 0 ? p[0].activityType : void 0
|
|
1731
|
-
);
|
|
1732
|
-
},
|
|
1733
|
-
[
|
|
1734
|
-
u,
|
|
1735
|
-
h,
|
|
1736
|
-
d,
|
|
1737
|
-
p,
|
|
1738
|
-
i,
|
|
1739
|
-
l,
|
|
1740
|
-
r
|
|
1741
|
-
]
|
|
1742
|
-
), S = ge({ onLongPress: m }, {
|
|
1743
|
-
shouldPreventDefault: !1,
|
|
1744
|
-
delay: 1e3
|
|
1745
|
-
});
|
|
1746
|
-
return /* @__PURE__ */ e.jsxs(
|
|
1747
|
-
bs,
|
|
1748
|
-
{
|
|
1749
|
-
notificationStatus: d,
|
|
1750
|
-
isHighlighted: s,
|
|
1751
|
-
style: n,
|
|
1752
|
-
...S,
|
|
1753
|
-
onClick: f,
|
|
1754
|
-
children: [
|
|
1755
|
-
/* @__PURE__ */ e.jsxs(Vt, { children: [
|
|
1756
|
-
/* @__PURE__ */ e.jsx(fs, { ...t }),
|
|
1757
|
-
/* @__PURE__ */ e.jsx(gs, { createTime: c, notificationStatus: d })
|
|
1758
|
-
] }),
|
|
1759
|
-
/* @__PURE__ */ e.jsxs(Vt, { children: [
|
|
1760
|
-
/* @__PURE__ */ e.jsx(ps, { ...t }),
|
|
1761
|
-
p.length > 0 && p[0].activityType === "task_status_updated" ? null : /* @__PURE__ */ e.jsx(xs, { ...t })
|
|
1762
|
-
] })
|
|
1763
|
-
]
|
|
1764
|
-
}
|
|
1765
|
-
);
|
|
1766
|
-
}, fs = (t) => /* @__PURE__ */ e.jsx(Ge, { statusUpdate: !1, children: /* @__PURE__ */ e.jsx(Ee, { ...t }) }), ps = (t) => {
|
|
1767
|
-
const {
|
|
1768
|
-
eventData: { activities: i }
|
|
1769
|
-
} = t;
|
|
1770
|
-
return /* @__PURE__ */ e.jsx(
|
|
1771
|
-
Ge,
|
|
1772
|
-
{
|
|
1773
|
-
statusUpdate: i.length > 0 && i[0].activityType === "task_status_updated" && i[0].metadata.updates.find(
|
|
1774
|
-
(s) => s.field === "status"
|
|
1775
|
-
) != null,
|
|
1776
|
-
children: /* @__PURE__ */ e.jsx(Fe, { ...t })
|
|
1777
|
-
}
|
|
1778
|
-
);
|
|
1779
|
-
}, gs = (t) => /* @__PURE__ */ e.jsx(ws, { children: /* @__PURE__ */ e.jsx(Pe, { ...t }) }), xs = (t) => /* @__PURE__ */ e.jsx($s, { children: /* @__PURE__ */ e.jsx(Be, { ...t }) }), bs = a.div`
|
|
1780
|
-
display: flex;
|
|
1781
|
-
flex-direction: column;
|
|
1782
|
-
align-items: baseline;
|
|
1783
|
-
justify-content: space-between;
|
|
1784
|
-
width: 100%;
|
|
1785
|
-
gap: ${o.sp2};
|
|
1786
|
-
cursor: pointer;
|
|
1787
|
-
|
|
1788
|
-
background-color: ${(t) => t.notificationStatus === "read" ? t.theme.colors.grey4 : t.theme.colors.grey5};
|
|
1789
|
-
|
|
1790
|
-
color: ${(t) => t.notificationStatus === "read" ? t.theme.colors.grey1 : t.theme.colors.hero};
|
|
1791
|
-
border: 1px solid ${(t) => t.theme.colors.grey3};
|
|
1792
|
-
margin-bottom: -1px;
|
|
1793
|
-
box-shadow: ${(t) => `${o.sp0} 2px ${o.sp1} ${t.theme.colors.dropShadowNormal}`};
|
|
1794
|
-
|
|
1795
|
-
padding: ${o.sp3} ${o.sp2} ${o.sp3} ${o.sp3};
|
|
1796
|
-
|
|
1797
|
-
.userText {
|
|
1798
|
-
color: ${j.brandColorJade};
|
|
1799
|
-
}
|
|
1800
|
-
|
|
1801
|
-
:first-of-type {
|
|
1802
|
-
border-top-left-radius: inherit;
|
|
1803
|
-
border-top-right-radius: inherit;
|
|
1804
|
-
}
|
|
1805
|
-
|
|
1806
|
-
:last-of-type {
|
|
1807
|
-
border-bottom-left-radius: inherit;
|
|
1808
|
-
border-bottom-right-radius: inherit;
|
|
1809
|
-
}
|
|
1810
|
-
|
|
1811
|
-
${(t) => t.isHighlighted ? E`
|
|
1812
|
-
z-index: 1;
|
|
1813
|
-
color: ${t.theme.colors.primary};
|
|
1814
|
-
border: 1px solid ${t.theme.colors.primary};
|
|
1815
|
-
|
|
1816
|
-
.userText {
|
|
1817
|
-
color: ${j.brandColorJade};
|
|
1818
|
-
}
|
|
1819
|
-
` : null};
|
|
1820
|
-
|
|
1821
|
-
&:hover {
|
|
1822
|
-
z-index: 1;
|
|
1823
|
-
color: ${(t) => t.theme.colors.primary};
|
|
1824
|
-
border: 1px solid ${(t) => t.theme.colors.primary};
|
|
1825
|
-
|
|
1826
|
-
.userText {
|
|
1827
|
-
color: ${j.brandColorJade};
|
|
1828
|
-
}
|
|
1829
|
-
}
|
|
1830
|
-
`, ws = a(Y)`
|
|
1831
|
-
width: 25%;
|
|
1832
|
-
gap: ${o.sp2};
|
|
1833
|
-
display: flex;
|
|
1834
|
-
align-items: center;
|
|
1835
|
-
flex-shrink: 0;
|
|
1836
|
-
justify-content: end;
|
|
1837
|
-
`, $s = a(Y)`
|
|
1838
|
-
width: 25%;
|
|
1839
|
-
display: flex;
|
|
1840
|
-
align-items: center;
|
|
1841
|
-
flex-shrink: 0;
|
|
1842
|
-
justify-content: end;
|
|
1843
|
-
`, Vt = a.div`
|
|
1844
|
-
display: flex;
|
|
1845
|
-
flex-direction: row;
|
|
1846
|
-
gap: ${o.sp3};
|
|
1847
|
-
width: 100%;
|
|
1848
|
-
justify-content: space-between;
|
|
1849
|
-
align-items: start;
|
|
1850
|
-
`, Ge = a(it)`
|
|
1851
|
-
color: inherit;
|
|
1852
|
-
${(t) => t.statusUpdate ? E`
|
|
1853
|
-
display: flex;
|
|
1854
|
-
flex-wrap: wrap;
|
|
1855
|
-
gap: ${o.sp2};
|
|
1856
|
-
` : E`
|
|
1857
|
-
display: -webkit-box;
|
|
1858
|
-
-webkit-box-orient: horizontal;
|
|
1859
|
-
gap: ${o.sp1};
|
|
1860
|
-
`};
|
|
1861
|
-
`, Ue = (t) => C() === "small" ? /* @__PURE__ */ e.jsx(hs, { ...t }) : /* @__PURE__ */ e.jsx(Ei, { ...t }), {
|
|
1862
|
-
common: { all: Yt }
|
|
1863
|
-
} = F.getLocalizedStrings(), ys = ({
|
|
1864
|
-
notificationGroup: t,
|
|
1865
|
-
sectionId: i,
|
|
1866
|
-
checkBoxMode: s,
|
|
1867
|
-
style: n,
|
|
1868
|
-
isDisabled: r,
|
|
1869
|
-
onNotificationTileClick: l
|
|
1870
|
-
}) => {
|
|
1871
|
-
const d = ot(), { getValues: c } = pt(), h = c(i);
|
|
1872
|
-
return /* @__PURE__ */ e.jsx(Ss, { style: n, children: /* @__PURE__ */ e.jsx(
|
|
1873
|
-
xt,
|
|
1874
|
-
{
|
|
1875
|
-
mode: s,
|
|
1876
|
-
checkBoxes: [
|
|
1877
|
-
{
|
|
1878
|
-
label: /* @__PURE__ */ e.jsx(
|
|
1879
|
-
js,
|
|
1880
|
-
{
|
|
1881
|
-
htmlFor: `${i}.${Yt.toLocaleLowerCase()}`,
|
|
1882
|
-
style: { color: d.colors.primary },
|
|
1883
|
-
children: wt(t)
|
|
1884
|
-
}
|
|
1885
|
-
),
|
|
1886
|
-
value: Yt.toLocaleLowerCase(),
|
|
1887
|
-
defaultChecked: !1,
|
|
1888
|
-
groupLabel: !0
|
|
1889
|
-
},
|
|
1890
|
-
...t.notifications.map(
|
|
1891
|
-
(p, u) => {
|
|
1892
|
-
const m = u === 0, f = t.notifications.length - 1 === u;
|
|
1893
|
-
return {
|
|
1894
|
-
label: /* @__PURE__ */ e.jsx(
|
|
1895
|
-
Ue,
|
|
1896
|
-
{
|
|
1897
|
-
notificationData: p,
|
|
1898
|
-
style: {
|
|
1899
|
-
borderTopLeftRadius: m ? o.sp2 : void 0,
|
|
1900
|
-
borderTopRightRadius: m ? o.sp2 : void 0,
|
|
1901
|
-
borderBottomLeftRadius: f ? o.sp2 : void 0,
|
|
1902
|
-
borderBottomRightRadius: f ? o.sp2 : void 0
|
|
1903
|
-
},
|
|
1904
|
-
isHighlighted: h?.includes(p.notificationId) === !0,
|
|
1905
|
-
onNotificationTileClick: l
|
|
1906
|
-
}
|
|
1907
|
-
),
|
|
1908
|
-
value: p.notificationId,
|
|
1909
|
-
defaultChecked: !1,
|
|
1910
|
-
groupLabel: !1
|
|
1911
|
-
};
|
|
1912
|
-
}
|
|
1913
|
-
)
|
|
1914
|
-
],
|
|
1915
|
-
name: i,
|
|
1916
|
-
isDisabled: r,
|
|
1917
|
-
style: { width: "100%" },
|
|
1918
|
-
checkBoxStyle: { padding: o.sp3 },
|
|
1919
|
-
labelCheckBoxStyle: { padding: o.sp3 }
|
|
1920
|
-
}
|
|
1921
|
-
) });
|
|
1922
|
-
}, Ss = a.div`
|
|
1923
|
-
display: flex;
|
|
1924
|
-
align-items: center;
|
|
1925
|
-
width: 100%;
|
|
1926
|
-
`, js = a(bt)`
|
|
1927
|
-
display: flex;
|
|
1928
|
-
align-items: flex-start;
|
|
1929
|
-
width: 100%;
|
|
1930
|
-
padding: ${o.sp3} ${o.sp0} ${o.sp3} ${o.sp0};
|
|
1931
|
-
`, {
|
|
1932
|
-
common: { all: Jt }
|
|
1933
|
-
} = F.getLocalizedStrings(), Cs = ({
|
|
1934
|
-
notificationGroup: t,
|
|
1935
|
-
sectionId: i,
|
|
1936
|
-
checkBoxMode: s,
|
|
1937
|
-
style: n,
|
|
1938
|
-
isDisabled: r,
|
|
1939
|
-
onNotificationTileClick: l
|
|
1940
|
-
}) => {
|
|
1941
|
-
const d = ot(), { getValues: c } = pt(), h = c(i), p = W([]);
|
|
1942
|
-
return G(() => {
|
|
1943
|
-
p.current = p.current.slice(
|
|
1944
|
-
0,
|
|
1945
|
-
t.notifications.length
|
|
1946
|
-
);
|
|
1947
|
-
}, [t.notifications.length]), /* @__PURE__ */ e.jsx(vs, { style: n, children: /* @__PURE__ */ e.jsx(
|
|
1948
|
-
xt,
|
|
1949
|
-
{
|
|
1950
|
-
mode: s,
|
|
1951
|
-
checkBoxes: [
|
|
1952
|
-
{
|
|
1953
|
-
label: /* @__PURE__ */ e.jsx(
|
|
1954
|
-
qt,
|
|
1955
|
-
{
|
|
1956
|
-
htmlFor: `${i}.${Jt.toLocaleLowerCase()}`,
|
|
1957
|
-
style: {
|
|
1958
|
-
color: d.colors.primary,
|
|
1959
|
-
marginLeft: o.sp2
|
|
1960
|
-
},
|
|
1961
|
-
children: wt(t)
|
|
1962
|
-
}
|
|
1963
|
-
),
|
|
1964
|
-
value: Jt.toLocaleLowerCase(),
|
|
1965
|
-
defaultChecked: !1,
|
|
1966
|
-
groupLabel: !0
|
|
1967
|
-
},
|
|
1968
|
-
...t.notifications.map(
|
|
1969
|
-
(u, m) => {
|
|
1970
|
-
const f = m === 0, g = t.notifications.length - 1 === m;
|
|
1971
|
-
return {
|
|
1972
|
-
label: /* @__PURE__ */ e.jsx(
|
|
1973
|
-
qt,
|
|
1974
|
-
{
|
|
1975
|
-
ref: (S) => p.current[m] = S,
|
|
1976
|
-
htmlFor: `${i}.${u.notificationId}`,
|
|
1977
|
-
style: { padding: o.sp0 },
|
|
1978
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1979
|
-
Ns,
|
|
1980
|
-
{
|
|
1981
|
-
notificationData: u,
|
|
1982
|
-
style: {
|
|
1983
|
-
borderTopLeftRadius: f ? o.sp2 : void 0,
|
|
1984
|
-
borderTopRightRadius: f ? o.sp2 : void 0,
|
|
1985
|
-
borderBottomLeftRadius: g ? o.sp2 : void 0,
|
|
1986
|
-
borderBottomRightRadius: g ? o.sp2 : void 0,
|
|
1987
|
-
marginLeft: o.sp2
|
|
1988
|
-
},
|
|
1989
|
-
isHighlighted: h?.includes(u.notificationId) === !0,
|
|
1990
|
-
isSelectionMode: s === "always_on",
|
|
1991
|
-
onNotificationTileClick: l,
|
|
1992
|
-
onNotificationTileLongPress: () => {
|
|
1993
|
-
p.current[m]?.click();
|
|
1994
|
-
}
|
|
1995
|
-
}
|
|
1996
|
-
)
|
|
1997
|
-
}
|
|
1998
|
-
),
|
|
1999
|
-
value: u.notificationId,
|
|
2000
|
-
defaultChecked: !1,
|
|
2001
|
-
groupLabel: !1
|
|
2002
|
-
};
|
|
2003
|
-
}
|
|
2004
|
-
)
|
|
2005
|
-
],
|
|
2006
|
-
name: i,
|
|
2007
|
-
isDisabled: r,
|
|
2008
|
-
style: { width: "100%", position: "relative" },
|
|
2009
|
-
checkBoxStyle: {
|
|
2010
|
-
padding: o.sp1,
|
|
2011
|
-
zIndex: 2,
|
|
2012
|
-
left: `-${o.sp1}`,
|
|
2013
|
-
position: "absolute"
|
|
2014
|
-
},
|
|
2015
|
-
checkBoxIconStyle: {
|
|
2016
|
-
backgroundColor: d.colors.grey5
|
|
2017
|
-
}
|
|
2018
|
-
}
|
|
2019
|
-
) });
|
|
2020
|
-
}, vs = a.div`
|
|
2021
|
-
display: flex;
|
|
2022
|
-
align-items: center;
|
|
2023
|
-
width: 100%;
|
|
2024
|
-
`, qt = a(bt)`
|
|
2025
|
-
display: flex;
|
|
2026
|
-
align-items: flex-start;
|
|
2027
|
-
width: 100%;
|
|
2028
|
-
padding: ${o.sp3} ${o.sp0} ${o.sp3} ${o.sp0};
|
|
2029
|
-
`, Ns = a(Ue)``, Ts = (t) => C() === "small" ? /* @__PURE__ */ e.jsx(Cs, { ...t }) : /* @__PURE__ */ e.jsx(ys, { ...t }), {
|
|
2030
|
-
commentsAndNotifications: {
|
|
2031
|
-
notifications: { message: ks }
|
|
2032
|
-
}
|
|
2033
|
-
} = F.getLocalizedStrings(), Kt = {
|
|
2034
|
-
rowGap: new _(x[0], x[5], x[5])
|
|
2035
|
-
}, Ls = ({
|
|
2036
|
-
notificationGroups: t,
|
|
2037
|
-
isFetching: i,
|
|
2038
|
-
hasMore: s,
|
|
2039
|
-
sectionId: n,
|
|
2040
|
-
checkBoxMode: r,
|
|
2041
|
-
scrollYOffset: l,
|
|
2042
|
-
currentSubTab: d,
|
|
2043
|
-
isDisabled: c,
|
|
2044
|
-
onUpdateScrollYOffset: h,
|
|
2045
|
-
onFetchNotificationGroups: p,
|
|
2046
|
-
onNotificationClick: u
|
|
2047
|
-
}) => {
|
|
2048
|
-
const m = C(), f = W(null), g = W({});
|
|
2049
|
-
G(() => {
|
|
2050
|
-
f.current?.resetAfterIndex(0, !0);
|
|
2051
|
-
}, [m, f, t]), G(() => {
|
|
2052
|
-
f.current?.scrollTo(l);
|
|
2053
|
-
}, [d]);
|
|
2054
|
-
const S = v(
|
|
2055
|
-
(L) => {
|
|
2056
|
-
if (g.current?.[L] != null) {
|
|
2057
|
-
const N = m === "small" && s === !1 && L === t.length - 1 ? Kt.rowGap.value("medium-regular") : Kt.rowGap.value(m);
|
|
2058
|
-
return g.current[L] + N;
|
|
2059
|
-
}
|
|
2060
|
-
return (xe * Oe.value(m) + be) * 3 + we + $e;
|
|
2061
|
-
},
|
|
2062
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2063
|
-
[m, g, t]
|
|
2064
|
-
), I = v(
|
|
2065
|
-
(L, N) => {
|
|
2066
|
-
g.current = { ...g.current, [L]: N }, f.current?.resetAfterIndex(0, !0);
|
|
2067
|
-
},
|
|
2068
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2069
|
-
[m, f, t]
|
|
2070
|
-
), z = v(() => {
|
|
2071
|
-
p();
|
|
2072
|
-
}, [p]), R = v(() => {
|
|
2073
|
-
}, []), b = se(
|
|
2074
|
-
(L) => h(L),
|
|
2075
|
-
1e3,
|
|
2076
|
-
{
|
|
2077
|
-
trailing: !0
|
|
2078
|
-
}
|
|
2079
|
-
), k = (L) => !s || L < t.length, $ = v(() => s && !i ? z() : R(), [s, i, z, R]), H = s ? t.length + 1 : t.length;
|
|
2080
|
-
return /* @__PURE__ */ e.jsx(Rs, { children: /* @__PURE__ */ e.jsx(_s, { windowSize: m, children: i && t.length === 0 ? /* @__PURE__ */ e.jsx(ls, {}) : i === !1 && t.length === 0 ? /* @__PURE__ */ e.jsx(
|
|
2081
|
-
fe,
|
|
2082
|
-
{
|
|
2083
|
-
message: ks.noNotificationsMessage,
|
|
2084
|
-
style: { padding: o.sp0 }
|
|
2085
|
-
}
|
|
2086
|
-
) : /* @__PURE__ */ e.jsx(Ds, { windowSize: m, children: /* @__PURE__ */ e.jsx(ne, { children: ({ height: L, width: N }) => /* @__PURE__ */ e.jsx(
|
|
2087
|
-
ae,
|
|
2088
|
-
{
|
|
2089
|
-
isItemLoaded: k,
|
|
2090
|
-
itemCount: ye,
|
|
2091
|
-
loadMoreItems: $,
|
|
2092
|
-
children: ({ onItemsRendered: B, ref: J }) => /* @__PURE__ */ e.jsx(
|
|
2093
|
-
re,
|
|
2094
|
-
{
|
|
2095
|
-
ref: (U) => {
|
|
2096
|
-
J(U), f.current = U;
|
|
2097
|
-
},
|
|
2098
|
-
height: L,
|
|
2099
|
-
itemCount: H,
|
|
2100
|
-
itemData: {
|
|
2101
|
-
notificationGroups: t,
|
|
2102
|
-
sectionId: n,
|
|
2103
|
-
checkBoxMode: r,
|
|
2104
|
-
isDisabled: c,
|
|
2105
|
-
isItemLoaded: k,
|
|
2106
|
-
setRowHeight: I,
|
|
2107
|
-
onNotificationClick: u
|
|
2108
|
-
},
|
|
2109
|
-
onItemsRendered: B,
|
|
2110
|
-
itemSize: S,
|
|
2111
|
-
width: N,
|
|
2112
|
-
style: { willChange: "auto" },
|
|
2113
|
-
overscanCount: Se,
|
|
2114
|
-
onScroll: ({ scrollOffset: U }) => {
|
|
2115
|
-
b(U);
|
|
2116
|
-
},
|
|
2117
|
-
initialScrollOffset: l,
|
|
2118
|
-
children: Is
|
|
2119
|
-
}
|
|
2120
|
-
)
|
|
2121
|
-
}
|
|
2122
|
-
) }) }) }) });
|
|
2123
|
-
}, Is = ({ index: t, style: i, data: s }) => {
|
|
2124
|
-
const {
|
|
2125
|
-
notificationGroups: n,
|
|
2126
|
-
sectionId: r,
|
|
2127
|
-
checkBoxMode: l,
|
|
2128
|
-
isItemLoaded: d,
|
|
2129
|
-
isDisabled: c,
|
|
2130
|
-
setRowHeight: h,
|
|
2131
|
-
onNotificationClick: p
|
|
2132
|
-
} = s, u = W(null), m = C();
|
|
2133
|
-
if (G(
|
|
2134
|
-
() => {
|
|
2135
|
-
u.current?.firstElementChild != null && h(t, u.current.firstElementChild.clientHeight);
|
|
2136
|
-
},
|
|
2137
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2138
|
-
[t, u, m, n[t]?.notifications]
|
|
2139
|
-
), d(t) === !0) {
|
|
2140
|
-
const f = n[t], g = ut(f);
|
|
2141
|
-
return /* @__PURE__ */ e.jsx(
|
|
2142
|
-
Qt,
|
|
2143
|
-
{
|
|
2144
|
-
style: {
|
|
2145
|
-
...i,
|
|
2146
|
-
paddingBottom: o.sp0,
|
|
2147
|
-
width: "100%"
|
|
2148
|
-
},
|
|
2149
|
-
ref: u,
|
|
2150
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2151
|
-
Ts,
|
|
2152
|
-
{
|
|
2153
|
-
notificationGroup: f,
|
|
2154
|
-
sectionId: `${r}.${g}`,
|
|
2155
|
-
checkBoxMode: l,
|
|
2156
|
-
isDisabled: c,
|
|
2157
|
-
onNotificationTileClick: p
|
|
2158
|
-
}
|
|
2159
|
-
)
|
|
2160
|
-
},
|
|
2161
|
-
g
|
|
2162
|
-
);
|
|
2163
|
-
}
|
|
2164
|
-
return /* @__PURE__ */ e.jsx(
|
|
2165
|
-
Qt,
|
|
2166
|
-
{
|
|
2167
|
-
ref: u,
|
|
2168
|
-
style: {
|
|
2169
|
-
...i,
|
|
2170
|
-
paddingBottom: o.sp0
|
|
2171
|
-
},
|
|
2172
|
-
children: /* @__PURE__ */ e.jsx(Lt, { numberOfRows: 3 })
|
|
2173
|
-
},
|
|
2174
|
-
ft()
|
|
2175
|
-
);
|
|
2176
|
-
}, Rs = a.div`
|
|
2177
|
-
display: block;
|
|
2178
|
-
background-color: ${(t) => t.theme.colors.grey4};
|
|
2179
|
-
height: 100%;
|
|
2180
|
-
width: 100%;
|
|
2181
|
-
`, _s = a.div`
|
|
2182
|
-
height: 100%;
|
|
2183
|
-
width: 100%;
|
|
2184
|
-
`, Ds = a.div`
|
|
2185
|
-
height: 100%;
|
|
2186
|
-
display: flex;
|
|
2187
|
-
flex-direction: column;
|
|
2188
|
-
max-width: 99.9%;
|
|
2189
|
-
`, Qt = a.div`
|
|
2190
|
-
top: ${o.sp0};
|
|
2191
|
-
left: ${o.sp0};
|
|
2192
|
-
box-sizing: border-box;
|
|
2193
|
-
`, {
|
|
2194
|
-
common: {
|
|
2195
|
-
all: It,
|
|
2196
|
-
texts: dt,
|
|
2197
|
-
footer: zs,
|
|
2198
|
-
strings: { plus: As },
|
|
2199
|
-
numbers: { maximumCount: Xt }
|
|
2200
|
-
},
|
|
2201
|
-
commentsAndNotifications: {
|
|
2202
|
-
notifications: {
|
|
2203
|
-
title: Os,
|
|
2204
|
-
texts: We,
|
|
2205
|
-
strings: Zt
|
|
2206
|
-
}
|
|
2207
|
-
}
|
|
2208
|
-
} = F.getLocalizedStrings(), nt = {
|
|
2209
|
-
tableContainerLeftPadding: new _(x[2], x[2], x[2]),
|
|
2210
|
-
tableContainerRightPadding: new _(x[3], x[6], x[8]),
|
|
2211
|
-
tabsContainerLeftRightPadding: new _(x[3], x[6], x[8]),
|
|
2212
|
-
selectedNotificationsTextMarginLeft: new _(x[0], x[6], x[6])
|
|
2213
|
-
}, Ms = {
|
|
2214
|
-
selectedNotificationsText: new bo(
|
|
2215
|
-
"smallRegular",
|
|
2216
|
-
"standardRegular"
|
|
2217
|
-
)
|
|
2218
|
-
}, te = "notificationsPage", Z = "commentsNotificationsTable", tt = "notificationsTable", He = 20, mn = ({
|
|
2219
|
-
notificationView: t,
|
|
2220
|
-
users: i,
|
|
2221
|
-
isNotificationSettingsVisible: s,
|
|
2222
|
-
isDisabled: n,
|
|
2223
|
-
onNotificationClick: r,
|
|
2224
|
-
onCommentNotificationClick: l,
|
|
2225
|
-
onUpdateNotificationViewUIState: d,
|
|
2226
|
-
onUpdateNotificationTabState: c,
|
|
2227
|
-
onUpdateNotificationViewCurrentTabAndSubTab: h,
|
|
2228
|
-
onUpdateNotificationViewSubTab: p,
|
|
2229
|
-
onFetchMoreNotifications: u,
|
|
2230
|
-
onUpdateNotificationStatus: m,
|
|
2231
|
-
onSettingsClick: f,
|
|
2232
|
-
onBackClick: g,
|
|
2233
|
-
onMarkAllNotificationsAsRead: S
|
|
2234
|
-
}) => {
|
|
2235
|
-
const I = ot(), z = C(), R = Ze({
|
|
2236
|
-
mode: "all",
|
|
2237
|
-
reValidateMode: "onChange",
|
|
2238
|
-
defaultValues: Q(
|
|
2239
|
-
() => ie(t),
|
|
2240
|
-
[t]
|
|
2241
|
-
),
|
|
2242
|
-
values: Q(
|
|
2243
|
-
() => ie(t),
|
|
2244
|
-
[t]
|
|
2245
|
-
)
|
|
2246
|
-
}), {
|
|
2247
|
-
currentTab: b,
|
|
2248
|
-
currentSubTab: k,
|
|
2249
|
-
notificationDetailsByTab: $,
|
|
2250
|
-
allSubTabs: H,
|
|
2251
|
-
allNotifications: L,
|
|
2252
|
-
allExternalNotifications: N,
|
|
2253
|
-
notificationsForCurrentTabAndSubTab: B,
|
|
2254
|
-
externalNotificationsForCurrentTabAndSubTab: J
|
|
2255
|
-
} = t, U = Q(() => Object.keys($).map(
|
|
2256
|
-
(w) => ({
|
|
2257
|
-
label: dt[w],
|
|
2258
|
-
id: dt[w].toLocaleLowerCase(),
|
|
2259
|
-
countDetails: {
|
|
2260
|
-
count: $[w].uiState.unreadCount,
|
|
2261
|
-
isFetching: $[w].fetchCountState.fetchState === "In-Progress"
|
|
2262
|
-
}
|
|
2263
|
-
})
|
|
2264
|
-
), [$]), q = Q(() => H.map((w) => ({
|
|
2265
|
-
label: w === "all" ? It : dt[w],
|
|
2266
|
-
id: w
|
|
2267
|
-
})), [H]), Ve = Q(() => Ne(
|
|
2268
|
-
J
|
|
2269
|
-
).filter((w) => w.notifications.length > 0), [J]), Ye = Q(() => Ae(B).filter(
|
|
2270
|
-
(w) => w.notifications.length > 0
|
|
2271
|
-
), [B]), Je = async (w, T) => {
|
|
2272
|
-
const P = w.split(".")[0], K = [];
|
|
2273
|
-
P != null && (P === Z || P === tt) && (Object.values(T[P]).forEach((A) => {
|
|
2274
|
-
K.push(
|
|
2275
|
-
...A.filter(
|
|
2276
|
-
(Xe) => Xe.includes(It.toLowerCase()) === !1
|
|
2277
|
-
)
|
|
2278
|
-
);
|
|
2279
|
-
}), c(
|
|
2280
|
-
{ selectedNotificationIds: K },
|
|
2281
|
-
b
|
|
2282
|
-
));
|
|
2283
|
-
};
|
|
2284
|
-
G(() => {
|
|
2285
|
-
const w = R.watch((T, { name: P }) => {
|
|
2286
|
-
P != null && T != null && to(
|
|
2287
|
-
() => Je(P, T)
|
|
2288
|
-
);
|
|
2289
|
-
});
|
|
2290
|
-
return () => {
|
|
2291
|
-
w.unsubscribe();
|
|
2292
|
-
};
|
|
2293
|
-
});
|
|
2294
|
-
const $t = v(() => {
|
|
2295
|
-
const w = [], T = $[b].selectedNotificationIdsForSubTab, P = "read";
|
|
2296
|
-
if (b === "comments") {
|
|
2297
|
-
const K = N.filter(
|
|
2298
|
-
(A) => A.inboxNotification.readAt == null
|
|
2299
|
-
).map(
|
|
2300
|
-
(A) => A.inboxNotification.id
|
|
2301
|
-
);
|
|
2302
|
-
T.forEach((A) => {
|
|
2303
|
-
K.includes(A) && w.push(A);
|
|
2304
|
-
});
|
|
2305
|
-
} else {
|
|
2306
|
-
const K = L.filter((A) => A.status !== P).map((A) => A.notificationId);
|
|
2307
|
-
T.forEach((A) => {
|
|
2308
|
-
K.includes(A) && w.push(A);
|
|
2309
|
-
});
|
|
2310
|
-
}
|
|
2311
|
-
return w;
|
|
2312
|
-
}, [
|
|
2313
|
-
N,
|
|
2314
|
-
L,
|
|
2315
|
-
b,
|
|
2316
|
-
$
|
|
2317
|
-
]), qe = $t().length > He ? "disabled" : n, yt = R.watch(
|
|
2318
|
-
Z
|
|
2319
|
-
), St = R.watch(tt), Dt = v(() => {
|
|
2320
|
-
u(b, k);
|
|
2321
|
-
}, [u, b, k]), Ke = v(() => {
|
|
2322
|
-
if (b === "comments") {
|
|
2323
|
-
const w = {};
|
|
2324
|
-
Object.keys(yt).forEach((T) => {
|
|
2325
|
-
w[T] = [];
|
|
2326
|
-
}), R.reset(
|
|
2327
|
-
{
|
|
2328
|
-
[Z]: w,
|
|
2329
|
-
[tt]: St
|
|
2330
|
-
},
|
|
2331
|
-
{ keepDefaultValues: !1, keepDirty: !1, keepValues: !1 }
|
|
2332
|
-
);
|
|
2333
|
-
} else {
|
|
2334
|
-
const w = {};
|
|
2335
|
-
Object.keys(St).forEach((T) => {
|
|
2336
|
-
w[T] = [];
|
|
2337
|
-
}), R.reset(
|
|
2338
|
-
{
|
|
2339
|
-
[tt]: w,
|
|
2340
|
-
[Z]: yt
|
|
2341
|
-
},
|
|
2342
|
-
{ keepDefaultValues: !1, keepDirty: !1, keepValues: !1 }
|
|
2343
|
-
);
|
|
2344
|
-
}
|
|
2345
|
-
c({ selectedNotificationIds: [] }, b);
|
|
2346
|
-
}, [St, yt]), Qe = v(() => {
|
|
2347
|
-
const w = $[b].selectedNotificationIdsForSubTab, T = "read", P = $t();
|
|
2348
|
-
m(
|
|
2349
|
-
b,
|
|
2350
|
-
w,
|
|
2351
|
-
T,
|
|
2352
|
-
P
|
|
2353
|
-
);
|
|
2354
|
-
}, [
|
|
2355
|
-
b,
|
|
2356
|
-
$,
|
|
2357
|
-
$t,
|
|
2358
|
-
m
|
|
2359
|
-
]);
|
|
2360
|
-
return /* @__PURE__ */ e.jsxs(Fs, { children: [
|
|
2361
|
-
/* @__PURE__ */ e.jsx(
|
|
2362
|
-
mo,
|
|
2363
|
-
{
|
|
2364
|
-
source: "NotificationsPage",
|
|
2365
|
-
title: Os.notifications,
|
|
2366
|
-
backgroundColor: I.colors.grey4,
|
|
2367
|
-
onBackClick: g,
|
|
2368
|
-
rightSideComponent: s === !0 ? /* @__PURE__ */ e.jsx(tn, { onClick: f }) : /* @__PURE__ */ e.jsx(Zs, {})
|
|
2369
|
-
}
|
|
2370
|
-
),
|
|
2371
|
-
/* @__PURE__ */ e.jsx(Gs, {}),
|
|
2372
|
-
/* @__PURE__ */ e.jsx(Bs, { windowSize: z, children: /* @__PURE__ */ e.jsx(
|
|
2373
|
-
So,
|
|
2374
|
-
{
|
|
2375
|
-
tabs: U,
|
|
2376
|
-
selectedTab: b,
|
|
2377
|
-
onTabChange: (w) => {
|
|
2378
|
-
const T = so(w);
|
|
2379
|
-
T != null && h(T);
|
|
2380
|
-
},
|
|
2381
|
-
subTabs: q,
|
|
2382
|
-
selectedSubTab: k,
|
|
2383
|
-
onSubTabChange: (w) => {
|
|
2384
|
-
const T = io(w);
|
|
2385
|
-
T != null && p(T);
|
|
2386
|
-
},
|
|
2387
|
-
subTabRightComponent: /* @__PURE__ */ e.jsx(
|
|
2388
|
-
Es,
|
|
2389
|
-
{
|
|
2390
|
-
notificationCount: $[b].uiState.unreadCount,
|
|
2391
|
-
markAsAllReadUpdateState: $[b].markAsAllReadState.fetchState,
|
|
2392
|
-
markAsReadUpdateState: $[b].markAsReadState.fetchState,
|
|
2393
|
-
onMarkAsAllReadClick: () => {
|
|
2394
|
-
S(b);
|
|
2395
|
-
}
|
|
2396
|
-
}
|
|
2397
|
-
)
|
|
2398
|
-
}
|
|
2399
|
-
) }),
|
|
2400
|
-
/* @__PURE__ */ e.jsx(Ps, { windowSize: z, children: /* @__PURE__ */ e.jsx(eo, { ...R, children: /* @__PURE__ */ e.jsx(
|
|
2401
|
-
"form",
|
|
2402
|
-
{
|
|
2403
|
-
id: oe(te),
|
|
2404
|
-
onSubmit: R.handleSubmit(Qe),
|
|
2405
|
-
style: { width: "100%" },
|
|
2406
|
-
children: b === "comments" ? /* @__PURE__ */ e.jsx(
|
|
2407
|
-
Ci,
|
|
2408
|
-
{
|
|
2409
|
-
users: i,
|
|
2410
|
-
hasMore: $[b].uiState.hasMore,
|
|
2411
|
-
isFetching: $[b].fetchState === "In-Progress",
|
|
2412
|
-
scrollYOffset: $[b].uiState.scrollYOffset[k],
|
|
2413
|
-
currentSubTab: k,
|
|
2414
|
-
checkBoxMode: $[b].selectedNotificationIdsForSubTab.length > 0 ? "always_on" : "checked_or_hover",
|
|
2415
|
-
notificationGroups: Ve,
|
|
2416
|
-
sectionId: Z,
|
|
2417
|
-
onFetchNotificationGroups: Dt,
|
|
2418
|
-
onUpdateScrollYOffset: (w) => d(
|
|
2419
|
-
{
|
|
2420
|
-
scrollYOffset: {
|
|
2421
|
-
...$[b].uiState.scrollYOffset,
|
|
2422
|
-
[k]: w
|
|
2423
|
-
}
|
|
2424
|
-
},
|
|
2425
|
-
b
|
|
2426
|
-
),
|
|
2427
|
-
onNotificationClick: l
|
|
2428
|
-
}
|
|
2429
|
-
) : /* @__PURE__ */ e.jsx(
|
|
2430
|
-
Ls,
|
|
2431
|
-
{
|
|
2432
|
-
hasMore: $[b].uiState.hasMore,
|
|
2433
|
-
isFetching: $[b].fetchState === "In-Progress",
|
|
2434
|
-
scrollYOffset: $[b].uiState.scrollYOffset[k],
|
|
2435
|
-
currentSubTab: k,
|
|
2436
|
-
checkBoxMode: $[b].selectedNotificationIdsForSubTab.length > 0 ? "always_on" : "checked_or_hover",
|
|
2437
|
-
notificationGroups: Ye,
|
|
2438
|
-
sectionId: tt,
|
|
2439
|
-
onFetchNotificationGroups: Dt,
|
|
2440
|
-
onUpdateScrollYOffset: (w) => d(
|
|
2441
|
-
{
|
|
2442
|
-
scrollYOffset: {
|
|
2443
|
-
...$[b].uiState.scrollYOffset,
|
|
2444
|
-
[k]: w
|
|
2445
|
-
}
|
|
2446
|
-
},
|
|
2447
|
-
b
|
|
2448
|
-
),
|
|
2449
|
-
onNotificationClick: r
|
|
2450
|
-
}
|
|
2451
|
-
)
|
|
2452
|
-
}
|
|
2453
|
-
) }) }),
|
|
2454
|
-
$[b].selectedNotificationIdsForSubTab.length ? /* @__PURE__ */ e.jsx(
|
|
2455
|
-
ho,
|
|
2456
|
-
{
|
|
2457
|
-
formId: oe(te),
|
|
2458
|
-
primaryBtn: {
|
|
2459
|
-
label: We.markAsRead,
|
|
2460
|
-
isLoading: $[b].markAsReadState.fetchState === "In-Progress",
|
|
2461
|
-
style: { width: "135px" },
|
|
2462
|
-
isDisabled: qe != null
|
|
2463
|
-
},
|
|
2464
|
-
cancelBtn: {
|
|
2465
|
-
label: zs.cancel,
|
|
2466
|
-
isDisabled: $[b].markAsReadState.fetchState === "In-Progress",
|
|
2467
|
-
style: { width: "135px" },
|
|
2468
|
-
onClick: Ke
|
|
2469
|
-
},
|
|
2470
|
-
helperContainerStyle: z === "small" ? { width: "100%" } : { rowGap: o.sp0 },
|
|
2471
|
-
footerContentStyle: { gap: o.sp2 },
|
|
2472
|
-
leftSideComponent: /* @__PURE__ */ e.jsx(Ct, { controller: z !== "small", children: /* @__PURE__ */ e.jsx(
|
|
2473
|
-
ee,
|
|
2474
|
-
{
|
|
2475
|
-
selectedNotificationsCount: $[b].selectedNotificationIdsForSubTab.length
|
|
2476
|
-
}
|
|
2477
|
-
) }),
|
|
2478
|
-
topComponent: /* @__PURE__ */ e.jsx(Ct, { controller: z === "small", children: /* @__PURE__ */ e.jsx(
|
|
2479
|
-
ee,
|
|
2480
|
-
{
|
|
2481
|
-
selectedNotificationsCount: $[b].selectedNotificationIdsForSubTab.length
|
|
2482
|
-
}
|
|
2483
|
-
) }),
|
|
2484
|
-
rightSideComponent: /* @__PURE__ */ e.jsx(Ct, { controller: z !== "small", children: /* @__PURE__ */ e.jsx(Hs, {}) })
|
|
2485
|
-
}
|
|
2486
|
-
) : null
|
|
2487
|
-
] });
|
|
2488
|
-
}, Es = ({
|
|
2489
|
-
markAsAllReadUpdateState: t,
|
|
2490
|
-
markAsReadUpdateState: i,
|
|
2491
|
-
notificationCount: s,
|
|
2492
|
-
onMarkAsAllReadClick: n
|
|
2493
|
-
}) => {
|
|
2494
|
-
const r = s === 0, l = v(() => {
|
|
2495
|
-
t !== "In-Progress" && i !== "In-Progress" && !r && n();
|
|
2496
|
-
}, [
|
|
2497
|
-
t,
|
|
2498
|
-
i,
|
|
2499
|
-
r,
|
|
2500
|
-
n
|
|
2501
|
-
]);
|
|
2502
|
-
return /* @__PURE__ */ e.jsx(
|
|
2503
|
-
Us,
|
|
2504
|
-
{
|
|
2505
|
-
variant: "tertiary",
|
|
2506
|
-
size: "small",
|
|
2507
|
-
label: We.markAllAsRead,
|
|
2508
|
-
onClick: l,
|
|
2509
|
-
prefixIcon: t === "In-Progress" ? /* @__PURE__ */ e.jsx(po, { size: "Small", start: !0 }) : /* @__PURE__ */ e.jsx(Ws, { className: "mark-as-read" }),
|
|
2510
|
-
disabled: r,
|
|
2511
|
-
textStyle: { fontWeight: Rt.smallRegular.fontWeight },
|
|
2512
|
-
style: {
|
|
2513
|
-
borderRadius: o.sp1,
|
|
2514
|
-
border: "none",
|
|
2515
|
-
backgroundColor: "transparent",
|
|
2516
|
-
flexShrink: 0,
|
|
2517
|
-
padding: o.sp0,
|
|
2518
|
-
cursor: i === "In-Progress" || t === "In-Progress" || r ? "default" : "pointer"
|
|
2519
|
-
}
|
|
2520
|
-
}
|
|
2521
|
-
);
|
|
2522
|
-
}, ee = ({
|
|
2523
|
-
selectedNotificationsCount: t
|
|
2524
|
-
}) => {
|
|
2525
|
-
const i = C();
|
|
2526
|
-
return /* @__PURE__ */ e.jsxs(Vs, { windowSize: i, children: [
|
|
2527
|
-
/* @__PURE__ */ e.jsx(Js, { children: /* @__PURE__ */ e.jsx(Ys, { isCircular: t < 10, children: /* @__PURE__ */ e.jsx(qs, { children: t > Xt ? `${Xt}${As}` : t }) }) }),
|
|
2528
|
-
/* @__PURE__ */ e.jsxs(Xs, { windowSize: i, children: [
|
|
2529
|
-
/* @__PURE__ */ e.jsx(Ks, { children: t > 1 ? Zt.notificationsSelected : Zt.notificationSelected }),
|
|
2530
|
-
t > He ? /* @__PURE__ */ e.jsx(Qs, { children: dt.maxLimit }) : null
|
|
2531
|
-
] })
|
|
2532
|
-
] });
|
|
2533
|
-
}, Fs = a.div`
|
|
2534
|
-
display: flex;
|
|
2535
|
-
height: 100vh;
|
|
2536
|
-
width: 100%;
|
|
2537
|
-
flex-direction: column;
|
|
2538
|
-
background-color: ${(t) => t.theme.colors.grey4};
|
|
2539
|
-
`, Ps = a.div`
|
|
2540
|
-
display: flex;
|
|
2541
|
-
height: 100%;
|
|
2542
|
-
overflow: auto;
|
|
2543
|
-
padding-top: ${o.sp0};
|
|
2544
|
-
padding-bottom: ${o.sp0};
|
|
2545
|
-
padding-left: ${(t) => nt.tableContainerLeftPadding.valuePx(t.windowSize)};
|
|
2546
|
-
padding-right: ${(t) => nt.tableContainerRightPadding.valuePx(t.windowSize)};
|
|
2547
|
-
`, Bs = a.div`
|
|
2548
|
-
padding-top: ${o.sp0};
|
|
2549
|
-
padding-bottom: ${o.sp0};
|
|
2550
|
-
padding-left: ${(t) => nt.tabsContainerLeftRightPadding.valuePx(t.windowSize)};
|
|
2551
|
-
padding-right: ${(t) => nt.tabsContainerLeftRightPadding.valuePx(t.windowSize)};
|
|
2552
|
-
`, Gs = a.div`
|
|
2553
|
-
min-height: ${o.sp3};
|
|
2554
|
-
width: 100%;
|
|
2555
|
-
`, Us = a(go)`
|
|
2556
|
-
.mark-as-read {
|
|
2557
|
-
color: ${(t) => t.disabled === !0 ? t.theme.colors.grey2 : t.theme.colors.hero};
|
|
2558
|
-
}
|
|
2559
|
-
:hover {
|
|
2560
|
-
.mark-as-read {
|
|
2561
|
-
color: ${(t) => t.disabled === !0 ? t.theme.colors.grey2 : t.theme.colors.primary};
|
|
2562
|
-
}
|
|
2563
|
-
}
|
|
2564
|
-
`, Ws = a(yo)`
|
|
2565
|
-
width: ${o.sp3};
|
|
2566
|
-
height: ${o.sp3};
|
|
2567
|
-
`, Hs = a.div``, Vs = a.div`
|
|
2568
|
-
display: flex;
|
|
2569
|
-
align-items: center;
|
|
2570
|
-
flex-direction: row;
|
|
2571
|
-
gap: ${o.sp2};
|
|
2572
|
-
margin-left: ${(t) => nt.selectedNotificationsTextMarginLeft.valuePx(t.windowSize)};
|
|
2573
|
-
`, Ys = a.div`
|
|
2574
|
-
${(t) => t.isCircular ? E`
|
|
2575
|
-
height: ${o.sp3};
|
|
2576
|
-
width: ${o.sp3};
|
|
2577
|
-
padding: ${o.sp0};
|
|
2578
|
-
` : E`
|
|
2579
|
-
height: 18px;
|
|
2580
|
-
min-width: ${o.sp3};
|
|
2581
|
-
padding: ${o.sp0} ${o.sp1};
|
|
2582
|
-
`}
|
|
2583
|
-
background-color: transparent;
|
|
2584
|
-
border-radius: inherit;
|
|
2585
|
-
`, Js = a.div`
|
|
2586
|
-
border: 1px solid ${(t) => t.theme.colors.grey1};
|
|
2587
|
-
border-radius: ${o.sp12};
|
|
2588
|
-
padding: 2px;
|
|
2589
|
-
`, qs = a(xo)`
|
|
2590
|
-
height: 100%;
|
|
2591
|
-
width: 100%;
|
|
2592
|
-
display: flex;
|
|
2593
|
-
align-items: center;
|
|
2594
|
-
justify-content: center;
|
|
2595
|
-
color: ${(t) => t.theme.colors.hero};
|
|
2596
|
-
`, Ks = a(pe)`
|
|
2597
|
-
display: flex;
|
|
2598
|
-
`, Qs = a(wo)`
|
|
2599
|
-
display: flex;
|
|
2600
|
-
color: ${j.important};
|
|
2601
|
-
margin-left: ${o.sp1};
|
|
2602
|
-
`, Xs = a(pe)`
|
|
2603
|
-
${(t) => `${Ms.selectedNotificationsText.style(t.windowSize)}`};
|
|
2604
|
-
color: ${(t) => t.theme.colors.primary};
|
|
2605
|
-
display: flex;
|
|
2606
|
-
align-items: center;
|
|
2607
|
-
flex-wrap: wrap;
|
|
2608
|
-
`, Zs = a.div`
|
|
2609
|
-
width: ${o.sp4};
|
|
2610
|
-
height: ${o.sp4};
|
|
2611
|
-
`, tn = a(fo)`
|
|
2612
|
-
color: ${(t) => t.theme.colors.hero};
|
|
2613
|
-
width: ${o.sp4};
|
|
2614
|
-
height: ${o.sp4};
|
|
2615
|
-
cursor: pointer;
|
|
2616
|
-
&:hover {
|
|
2617
|
-
color: ${(t) => t.theme.colors.primary};
|
|
2618
|
-
}
|
|
2619
|
-
`, oe = (t) => `${t}_form`, ie = (t) => {
|
|
2620
|
-
const {
|
|
2621
|
-
allNotifications: i,
|
|
2622
|
-
allExternalNotifications: s,
|
|
2623
|
-
notificationDetailsByTab: {
|
|
2624
|
-
tasks: { selectedNotificationIds: n },
|
|
2625
|
-
comments: { selectedNotificationIds: r }
|
|
2626
|
-
}
|
|
2627
|
-
} = t, l = {};
|
|
2628
|
-
Ae(i).filter(
|
|
2629
|
-
(u) => u.notifications.length > 0
|
|
2630
|
-
).forEach((u) => {
|
|
2631
|
-
const m = u.notifications.map(
|
|
2632
|
-
(f) => f.notificationId
|
|
2633
|
-
);
|
|
2634
|
-
l[ut(u)] = n.filter(
|
|
2635
|
-
(f) => m.includes(f)
|
|
2636
|
-
);
|
|
2637
|
-
});
|
|
2638
|
-
const c = {};
|
|
2639
|
-
return Ne(
|
|
2640
|
-
s
|
|
2641
|
-
).filter((u) => u.notifications.length > 0).forEach((u) => {
|
|
2642
|
-
const m = u.notifications.map(
|
|
2643
|
-
(f) => f.inboxNotification.id
|
|
2644
|
-
);
|
|
2645
|
-
c[ut(u)] = r.filter(
|
|
2646
|
-
(f) => m.includes(f)
|
|
2647
|
-
);
|
|
2648
|
-
}), {
|
|
2649
|
-
[Z]: c,
|
|
2650
|
-
[tt]: l
|
|
2651
|
-
};
|
|
2652
|
-
}, hn = (t, i) => {
|
|
2653
|
-
const s = [];
|
|
2654
|
-
return Object.values(t).forEach((n) => {
|
|
2655
|
-
n.forEach((r) => {
|
|
2656
|
-
r.includes(It.toLocaleLowerCase()) === !1 && i.includes(r) && s.push(r);
|
|
2657
|
-
});
|
|
2658
|
-
}), s;
|
|
2659
|
-
};
|
|
2660
|
-
export {
|
|
2661
|
-
mn as default,
|
|
2662
|
-
hn as getSelectedNotificationIds,
|
|
2663
|
-
oe as uniqueFormName
|
|
2664
|
-
};
|