@leavepulse/ui 0.78.2 → 0.79.0
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/chunks/{ContextMenuItems-DmaKSJVv.js → ContextMenuItems-DLK4q-mm.js} +1 -1
- package/dist/chunks/{DropzoneLinkField-CyE7TJ5f.js → DropzoneLinkField-CcJu8De3.js} +1 -1
- package/dist/chunks/{FieldLeading-mr81aEAP.js → FieldLeading-CldGLINn.js} +1 -1
- package/dist/chunks/{FieldWrapper-DnuMTrqW.js → FieldWrapper-Cj8ZgoKp.js} +1 -1
- package/dist/chunks/{IconCloseButton-COZEsa9u.js → IconCloseButton-CV4iHRpy.js} +1 -1
- package/dist/chunks/{LayoutCanvas-CZKOltfA.js → LayoutCanvas-BQbq7Ekw.js} +1 -1
- package/dist/chunks/{LayoutNode-D2f7v683.js → LayoutNode-BMedRk3g.js} +1 -1
- package/dist/chunks/{LpActionBar-BGMk5KoG.js → LpActionBar-C7g52Cyo.js} +1 -1
- package/dist/chunks/{LpAddressInput-ft8fQOGx.js → LpAddressInput-1uakhQk5.js} +7 -7
- package/dist/chunks/{LpAlert-CjvTZIKF.js → LpAlert-DWFeR82L.js} +1 -1
- package/dist/chunks/{LpAppShell-DkvU6IBB.js → LpAppShell-InIK01Nn.js} +37 -20
- package/dist/chunks/{LpAutocomplete-CrZbd0uv.js → LpAutocomplete-DY3LvpB9.js} +4 -4
- package/dist/chunks/{LpAvatar-cQVsNk6F.js → LpAvatar-CEZmMcGh.js} +1 -1
- package/dist/chunks/{LpBadge-D5QQdDQ_.js → LpBadge-C_VqLHtg.js} +1 -1
- package/dist/chunks/{LpBottomNav-zxLGGbjm.js → LpBottomNav-4I89sPDZ.js} +1 -1
- package/dist/chunks/{LpBreadcrumbs-CIIBsygI.js → LpBreadcrumbs-1BBzrfxG.js} +1 -1
- package/dist/chunks/{LpCalendar-D4-LVjfF.js → LpCalendar-D2dcXjUK.js} +1 -1
- package/dist/chunks/{LpCheckbox-CCWCwD0y.js → LpCheckbox-CN-MEnbX.js} +2 -2
- package/dist/chunks/{LpCodeBlock-DBqy4RLd.js → LpCodeBlock-Cj7zk4QE.js} +2 -2
- package/dist/chunks/{LpCodeDisplay-D59uPwRb.js → LpCodeDisplay-COzosm77.js} +4 -4
- package/dist/chunks/{LpColorPicker-BONURBFN.js → LpColorPicker-BezW6DX1.js} +3 -3
- package/dist/chunks/{LpConfirmDialog-CnrmzkuN.js → LpConfirmDialog-D9GkDMYr.js} +2 -2
- package/dist/chunks/{LpConfirmHost-CwbObVGH.js → LpConfirmHost-BH7kf0dm.js} +1 -1
- package/dist/chunks/{LpContextMenu-Bx_IhQDS.js → LpContextMenu-bn5bc9t7.js} +2 -2
- package/dist/chunks/{LpContextSwitcher-1C1tExdl.js → LpContextSwitcher-CGr6ZAuq.js} +2 -2
- package/dist/chunks/{LpCopyButton-sAMvWeLP.js → LpCopyButton-BSr6YaFR.js} +1 -1
- package/dist/chunks/{LpDataList-CaVfsozH.js → LpDataList-Cv7ZUlyy.js} +2 -2
- package/dist/chunks/{LpDatePicker-C2AOtxgF.js → LpDatePicker-CR7vsb5M.js} +5 -5
- package/dist/chunks/{LpDateRangePicker-CiXdIAyh.js → LpDateRangePicker-B9fRO3G6.js} +3 -3
- package/dist/chunks/{LpDisclosure-DG7JCo-d.js → LpDisclosure-CE4mneaE.js} +1 -1
- package/dist/chunks/{LpDrawer-DXNQFpAA.js → LpDrawer-DU_5MqBz.js} +1 -1
- package/dist/chunks/{LpDropdownMenu-CLzxIOgM.js → LpDropdownMenu-_u6GPWhp.js} +2 -2
- package/dist/chunks/{LpEditable-DVT0Rh8F.js → LpEditable-DYoMayjt.js} +2 -2
- package/dist/chunks/{LpEmptyState-DurPF001.js → LpEmptyState-DpdHeSfz.js} +1 -1
- package/dist/chunks/{LpFieldNotice-DJ10cYIo.js → LpFieldNotice-DONFCWV7.js} +1 -1
- package/dist/chunks/{LpFileTree-CpNurwZp.js → LpFileTree-f5ktGqsN.js} +4 -4
- package/dist/chunks/{LpFileTreeNode-DdF8Cq-s.js → LpFileTreeNode-nbp-JwV9.js} +4 -4
- package/dist/chunks/{LpFormField-BKYn9dyP.js → LpFormField-Bz50_LZW.js} +1 -1
- package/dist/chunks/{LpHintLayer-BeKRsRon.js → LpHintLayer-B6bA5Cb_.js} +1 -1
- package/dist/chunks/{LpHints-qf3xYsza.js → LpHints-DyJ5hVcr.js} +3 -3
- package/dist/chunks/{LpIcon-C6JpQ5td.js → LpIcon-BCQLuHSP.js} +1 -1
- package/dist/chunks/{LpInfraNode-Bb5nbuFY.js → LpInfraNode-BS1RXYAs.js} +2 -2
- package/dist/chunks/{LpInput-CbI7z5fQ.js → LpInput-BjbXdjcW.js} +3 -3
- package/dist/chunks/{LpInspector-DO3fTCQ1.js → LpInspector-BIyJyM6r.js} +4 -4
- package/dist/chunks/{LpLightbox-CtDTQV01.js → LpLightbox-CSAJuUaJ.js} +2 -2
- package/dist/chunks/{LpLogInspector-CcSJSGan.js → LpLogInspector-OJEz1vod.js} +2 -2
- package/dist/chunks/{LpLogViewer-CWu49Dko.js → LpLogViewer-CRLwQpk0.js} +6 -6
- package/dist/chunks/{LpMapPicker-D5_YLLBC.js → LpMapPicker-DW2EnrCJ.js} +1 -1
- package/dist/chunks/{LpMediaGallery-BYEwySoF.js → LpMediaGallery-BNEYctDP.js} +3 -3
- package/dist/chunks/{LpModal-DDvrSAnf.js → LpModal-DdTqdf4x.js} +1 -1
- package/dist/chunks/{LpModalNav-DI3BW5ff.js → LpModalNav-BL7Dp0om.js} +3 -3
- package/dist/chunks/LpNotificationBell-d0F6MWxD.js +163 -0
- package/dist/chunks/LpNotificationFeed-BIe5lapb.js +470 -0
- package/dist/chunks/{LpNumberField-C8LfUz_R.js → LpNumberField-D5Dx-hzD.js} +3 -3
- package/dist/chunks/{LpOtpInput-B1X9l9no.js → LpOtpInput-BVl74Lfl.js} +1 -1
- package/dist/chunks/{LpPagination-snQ020xQ.js → LpPagination-D0wb-Uru.js} +1 -1
- package/dist/chunks/{LpPaletteTheme-B-xuZiKK.js → LpPaletteTheme-DdilCBXA.js} +2 -2
- package/dist/chunks/{LpPasswordInput-Duc_3wPv.js → LpPasswordInput-DUtqWMkA.js} +2 -2
- package/dist/chunks/{LpPhoneInput-CctcRK9K.js → LpPhoneInput-CalRjkqc.js} +3 -3
- package/dist/chunks/{LpPie-oVNHjsKD.js → LpPie-BVAEmVBT.js} +2 -2
- package/dist/chunks/{LpPipeline-BSXT6oUJ.js → LpPipeline-Dk7_sRP1.js} +2 -2
- package/dist/chunks/{LpQuota-CgWPgdVt.js → LpQuota-DKx0IZYA.js} +1 -1
- package/dist/chunks/{LpRadioGroup-DTM0nd9G.js → LpRadioGroup-E3SP6j9h.js} +2 -2
- package/dist/chunks/{LpRangeCalendar-BrqlGZzE.js → LpRangeCalendar-BFJFaen4.js} +1 -1
- package/dist/chunks/{LpRangeSlider-DJsEZXad.js → LpRangeSlider-b6ipywRB.js} +1 -1
- package/dist/chunks/{LpRepeater-Czib3rmv.js → LpRepeater-BLrw62Bh.js} +2 -2
- package/dist/chunks/{LpSecretField-BtlCk3IH.js → LpSecretField-BV8BNjKc.js} +5 -5
- package/dist/chunks/{LpSection-BfteipxU.js → LpSection-CghNNxIv.js} +1 -1
- package/dist/chunks/{LpSegmented-sskrJKJJ.js → LpSegmented-DjvrHL_G.js} +2 -2
- package/dist/chunks/{LpSelect-JFZehOkd.js → LpSelect-DYPimzAZ.js} +4 -4
- package/dist/chunks/{LpSidebar-CvRvVBTt.js → LpSidebar-D3S8rYFf.js} +4 -4
- package/dist/chunks/{LpSidebarNav-CE0jQS8i.js → LpSidebarNav-Dlse8vxT.js} +3 -3
- package/dist/chunks/{LpSidebarRow-DOTg1txp.js → LpSidebarRow-Cqd_6tGG.js} +3 -3
- package/dist/chunks/{LpSlider-C4ilCtZX.js → LpSlider-B9XIC75O.js} +1 -1
- package/dist/chunks/{LpStat-DPjc6_fX.js → LpStat-kyLRmX-m.js} +2 -2
- package/dist/chunks/{LpStatus-DGJFwk5F.js → LpStatus-szB2dWzM.js} +1 -1
- package/dist/chunks/{LpStepMark-Dw2MRTrt.js → LpStepMark-DP3CDSm9.js} +1 -1
- package/dist/chunks/{LpStepper-DNnh7lCu.js → LpStepper-BS3iaJIz.js} +1 -1
- package/dist/chunks/{LpSwitch-DyAYTchz.js → LpSwitch-DRFy8RNr.js} +1 -1
- package/dist/chunks/{LpTabFace-DQoV8mQG.js → LpTabFace-C9-OperL.js} +2 -2
- package/dist/chunks/{LpTableFilter-CJg5eIcV.js → LpTableFilter-CEIwLupk.js} +2 -2
- package/dist/chunks/{LpTagsInput-CkNxpNYa.js → LpTagsInput-ClDeF_aU.js} +5 -5
- package/dist/chunks/{LpTextarea-CFK_5QB8.js → LpTextarea-DEY6pUBy.js} +1 -1
- package/dist/chunks/{LpThemeStudio-R-wohbCY.js → LpThemeStudio-WY72Z1Db.js} +5 -5
- package/dist/chunks/{LpThemeSwitcher-Bzy15MCP.js → LpThemeSwitcher-9uCH9c-K.js} +3 -3
- package/dist/chunks/{LpTimeField-B5n0m8m0.js → LpTimeField-BmgxCzQO.js} +2 -2
- package/dist/chunks/{LpToaster-Ct_ZOhCh.js → LpToaster-DLKO-efn.js} +2 -2
- package/dist/chunks/{LpTopologyCanvas-BNgw9RyZ.js → LpTopologyCanvas-B-PhPa7k.js} +4 -4
- package/dist/chunks/{LpTour-ClKYhx4h.js → LpTour-ODlBcat2.js} +1 -1
- package/dist/chunks/{LpTruncate-ellq9RYM.js → LpTruncate--nhT0iUo.js} +1 -1
- package/dist/chunks/{LpWindow-B8YSRVTH.js → LpWindow-DJxE8Zl-.js} +2 -2
- package/dist/chunks/{LpWorkspaceSwitcher-ugv-fyig.js → LpWorkspaceSwitcher-Bpf41Bw5.js} +3 -3
- package/dist/chunks/{MenuTitle-Bh5dAdV1.js → MenuTitle-CMjvLsvC.js} +1 -1
- package/dist/chunks/{OptionContent-CGb8QlHA.js → OptionContent-DY8NaG8s.js} +1 -1
- package/dist/chunks/{PickerField-BM1dyafh.js → PickerField-CgfkaBgg.js} +1 -1
- package/dist/chunks/{RevealToggle-D_iyrB8d.js → RevealToggle-CPMXxaKv.js} +1 -1
- package/dist/chunks/{TourCard-DAzTYfav.js → TourCard-D4b3lMHi.js} +1 -1
- package/dist/chunks/icons-C1vppR4f.js +59 -0
- package/dist/component-names.d.ts +1 -1
- package/dist/components/ContextMenuItems.vue.js +1 -1
- package/dist/components/DropzoneLinkField.vue.js +1 -1
- package/dist/components/FieldLeading.vue.js +1 -1
- package/dist/components/FieldWrapper.vue.js +1 -1
- package/dist/components/IconCloseButton.vue.js +1 -1
- package/dist/components/LayoutCanvas.vue.js +1 -1
- package/dist/components/LayoutNode.vue.js +1 -1
- package/dist/components/LpActionBar.vue.js +1 -1
- package/dist/components/LpAddressInput.vue.js +1 -1
- package/dist/components/LpAlert.vue.js +1 -1
- package/dist/components/LpAppShell.vue.d.ts +18 -0
- package/dist/components/LpAppShell.vue.js +1 -1
- package/dist/components/LpAutocomplete.vue.js +1 -1
- package/dist/components/LpAvatar.vue.js +1 -1
- package/dist/components/LpBadge.vue.js +1 -1
- package/dist/components/LpBottomNav.vue.js +1 -1
- package/dist/components/LpBreadcrumbs.vue.js +1 -1
- package/dist/components/LpCalendar.vue.js +1 -1
- package/dist/components/LpChart.vue.js +2 -2
- package/dist/components/LpCheckbox.vue.js +1 -1
- package/dist/components/LpCodeBlock.vue.js +1 -1
- package/dist/components/LpCodeDisplay.vue.js +1 -1
- package/dist/components/LpColorPicker.vue.js +1 -1
- package/dist/components/LpCommandPalette.vue.js +2 -2
- package/dist/components/LpConfirmDialog.vue.js +1 -1
- package/dist/components/LpConfirmHost.vue.js +1 -1
- package/dist/components/LpContextMenu.vue.js +1 -1
- package/dist/components/LpContextSwitcher.vue.js +1 -1
- package/dist/components/LpCopyButton.vue.js +1 -1
- package/dist/components/LpDataList.vue.js +1 -1
- package/dist/components/LpDatePicker.vue.js +1 -1
- package/dist/components/LpDateRangePicker.vue.js +1 -1
- package/dist/components/LpDisclosure.vue.js +1 -1
- package/dist/components/LpDock.vue.js +1 -1
- package/dist/components/LpDrawer.vue.js +1 -1
- package/dist/components/LpDropdownMenu.vue.js +1 -1
- package/dist/components/LpDropzone.vue.js +2 -2
- package/dist/components/LpEditable.vue.js +1 -1
- package/dist/components/LpEmptyState.vue.js +1 -1
- package/dist/components/LpFieldNotice.vue.js +1 -1
- package/dist/components/LpFileTree.vue.js +1 -1
- package/dist/components/LpFileTreeNode.vue.js +1 -1
- package/dist/components/LpFormField.vue.js +1 -1
- package/dist/components/LpHintLayer.vue.js +1 -1
- package/dist/components/LpHints.vue.js +1 -1
- package/dist/components/LpIcon.vue.js +1 -1
- package/dist/components/LpImageEditor.vue.js +1 -1
- package/dist/components/LpInfraNode.vue.js +1 -1
- package/dist/components/LpInput.vue.js +1 -1
- package/dist/components/LpInspector.vue.js +1 -1
- package/dist/components/LpLightbox.vue.js +1 -1
- package/dist/components/LpLogInspector.vue.js +1 -1
- package/dist/components/LpLogViewer.vue.js +1 -1
- package/dist/components/LpMapPicker.vue.js +1 -1
- package/dist/components/LpMediaGallery.vue.js +1 -1
- package/dist/components/LpModal.vue.js +1 -1
- package/dist/components/LpModalNav.vue.js +1 -1
- package/dist/components/LpNotificationBell.vue.d.ts +28 -64
- package/dist/components/LpNotificationBell.vue.js +1 -1
- package/dist/components/LpNotificationFeed.vue.d.ts +78 -0
- package/dist/components/LpNotificationFeed.vue.js +4 -0
- package/dist/components/LpNumberField.vue.js +1 -1
- package/dist/components/LpOtpInput.vue.js +1 -1
- package/dist/components/LpPagination.vue.js +1 -1
- package/dist/components/LpPaletteFacts.vue.js +1 -1
- package/dist/components/LpPaletteHeader.vue.js +2 -2
- package/dist/components/LpPaletteTheme.vue.js +1 -1
- package/dist/components/LpPasswordInput.vue.js +1 -1
- package/dist/components/LpPhoneInput.vue.js +1 -1
- package/dist/components/LpPie.vue.js +1 -1
- package/dist/components/LpPipeline.vue.js +1 -1
- package/dist/components/LpQuota.vue.js +1 -1
- package/dist/components/LpRadioGroup.vue.js +1 -1
- package/dist/components/LpRangeCalendar.vue.js +1 -1
- package/dist/components/LpRangeSlider.vue.js +1 -1
- package/dist/components/LpRepeater.vue.js +1 -1
- package/dist/components/LpSecretField.vue.js +1 -1
- package/dist/components/LpSection.vue.js +1 -1
- package/dist/components/LpSegmented.vue.js +1 -1
- package/dist/components/LpSelect.vue.js +1 -1
- package/dist/components/LpShortcutsDialog.vue.js +1 -1
- package/dist/components/LpSidebar.vue.js +1 -1
- package/dist/components/LpSidebarNav.vue.js +1 -1
- package/dist/components/LpSidebarRow.vue.js +1 -1
- package/dist/components/LpSlider.vue.js +1 -1
- package/dist/components/LpStat.vue.js +1 -1
- package/dist/components/LpStatus.vue.js +1 -1
- package/dist/components/LpStepMark.vue.js +1 -1
- package/dist/components/LpStepper.vue.js +1 -1
- package/dist/components/LpSwitch.vue.js +1 -1
- package/dist/components/LpTabFace.vue.js +1 -1
- package/dist/components/LpTable.vue.js +9 -9
- package/dist/components/LpTableFilter.vue.js +1 -1
- package/dist/components/LpTabs.vue.js +2 -2
- package/dist/components/LpTagsInput.vue.js +1 -1
- package/dist/components/LpTextarea.vue.js +1 -1
- package/dist/components/LpThemeStudio.vue.js +1 -1
- package/dist/components/LpThemeSwitcher.vue.js +1 -1
- package/dist/components/LpTimeField.vue.js +1 -1
- package/dist/components/LpToaster.vue.js +1 -1
- package/dist/components/LpTopologyCanvas.vue.js +1 -1
- package/dist/components/LpTour.vue.js +1 -1
- package/dist/components/LpTruncate.vue.js +1 -1
- package/dist/components/LpWindow.vue.js +1 -1
- package/dist/components/LpWorkspaceSwitcher.vue.js +1 -1
- package/dist/components/MenuTitle.vue.js +1 -1
- package/dist/components/OptionContent.vue.js +1 -1
- package/dist/components/PickerField.vue.js +1 -1
- package/dist/components/RevealToggle.vue.js +1 -1
- package/dist/components/TourCard.vue.js +1 -1
- package/dist/components/menuWhen.js +1 -1
- package/dist/components/notifications.d.ts +156 -0
- package/dist/components/notifications.js +59 -0
- package/dist/icons-all.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +208 -206
- package/package.json +1 -1
- package/src/component-names.ts +1 -0
- package/src/components/LpAppShell.vue +56 -18
- package/src/components/LpNotificationBell.vue +105 -279
- package/src/components/LpNotificationFeed.vue +404 -0
- package/src/components/notifications.ts +197 -0
- package/src/index.ts +6 -1
- package/src/kit-icons.ts +1 -1
- package/dist/chunks/LpNotificationBell-DUbVyK6R.js +0 -311
- package/dist/chunks/icons-CYfcpSDS.js +0 -59
|
@@ -54,6 +54,15 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
54
54
|
* `min-h-[calc(100dvh-4rem)]` or `fullBleed`. `"region"`: the shell is
|
|
55
55
|
* the viewport and the page scrolls inside main. Read once: changing it
|
|
56
56
|
* remounts the page.
|
|
57
|
+
*
|
|
58
|
+
* A page's own sticky parts keep clear of the shell's with two variables
|
|
59
|
+
* set inside it: `--lp-shell-top`, how much of the window's top the shell
|
|
60
|
+
* covers (the header, 0 while `headerCollapse` has it away, plus the
|
|
61
|
+
* sub-page row), and `--lp-shell-bottom`, how much of its foot (the bottom
|
|
62
|
+
* bar). Both change as those do, and are 0px in `"region"` and on a
|
|
63
|
+
* `fullBleed` page, where nothing of the shell's lies over the page:
|
|
64
|
+
* `position: sticky; top: var(--lp-shell-top)`. Keep the page's sticky
|
|
65
|
+
* layers under `--z-sticky`, the shell's.
|
|
57
66
|
*/
|
|
58
67
|
scroll?: "document" | "region";
|
|
59
68
|
/**
|
|
@@ -210,6 +219,15 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
210
219
|
* `min-h-[calc(100dvh-4rem)]` or `fullBleed`. `"region"`: the shell is
|
|
211
220
|
* the viewport and the page scrolls inside main. Read once: changing it
|
|
212
221
|
* remounts the page.
|
|
222
|
+
*
|
|
223
|
+
* A page's own sticky parts keep clear of the shell's with two variables
|
|
224
|
+
* set inside it: `--lp-shell-top`, how much of the window's top the shell
|
|
225
|
+
* covers (the header, 0 while `headerCollapse` has it away, plus the
|
|
226
|
+
* sub-page row), and `--lp-shell-bottom`, how much of its foot (the bottom
|
|
227
|
+
* bar). Both change as those do, and are 0px in `"region"` and on a
|
|
228
|
+
* `fullBleed` page, where nothing of the shell's lies over the page:
|
|
229
|
+
* `position: sticky; top: var(--lp-shell-top)`. Keep the page's sticky
|
|
230
|
+
* layers under `--z-sticky`, the shell's.
|
|
213
231
|
*/
|
|
214
232
|
scroll?: "document" | "region";
|
|
215
233
|
/**
|
|
@@ -15,8 +15,8 @@ import { _ as _sfc_main$8 } from "../chunks/ChartRangeSelector-HO0sMMz6.js";
|
|
|
15
15
|
import { clampRange, chartView, sourceOf, slotOf, ZOOM_STEP, zoomRange } from "./chartWindow.js";
|
|
16
16
|
import { PANEL_SURFACE } from "./dropdown.js";
|
|
17
17
|
import { _ as _sfc_main$2 } from "../chunks/LegendSwatch-BhRjrtzv.js";
|
|
18
|
-
import { _ as _sfc_main$3 } from "../chunks/LpContextMenu-
|
|
19
|
-
import { _ as _sfc_main$6 } from "../chunks/LpEmptyState-
|
|
18
|
+
import { _ as _sfc_main$3 } from "../chunks/LpContextMenu-bn5bc9t7.js";
|
|
19
|
+
import { _ as _sfc_main$6 } from "../chunks/LpEmptyState-DpdHeSfz.js";
|
|
20
20
|
import { _ as _sfc_main$7 } from "../chunks/LpShift-DAgS_d2x.js";
|
|
21
21
|
import { _ as _sfc_main$5 } from "../chunks/LpSkeleton-BB6XIV-w.js";
|
|
22
22
|
import { _ as _sfc_main$4 } from "../chunks/LpSwap-M7nFeW3C.js";
|
|
@@ -7,8 +7,8 @@ import { usePaletteScope, suppressPaletteDiscovery, mergePaletteCommands } from
|
|
|
7
7
|
import { useToast } from "../composables/useToast.js";
|
|
8
8
|
import { _ as _sfc_main$3 } from "../chunks/LpButton-DSHioIfD.js";
|
|
9
9
|
import { _ as _sfc_main$6 } from "../chunks/PalettePreviewBoundary-B0Hhu3Yw.js";
|
|
10
|
-
import { _ as _sfc_main$5 } from "../chunks/LpAvatar-
|
|
11
|
-
import { _ as _sfc_main$1 } from "../chunks/LpIcon-
|
|
10
|
+
import { _ as _sfc_main$5 } from "../chunks/LpAvatar-CEZmMcGh.js";
|
|
11
|
+
import { _ as _sfc_main$1 } from "../chunks/LpIcon-BCQLuHSP.js";
|
|
12
12
|
import { _ as _sfc_main$2 } from "../chunks/LpLoader-Bf1yZwaU.js";
|
|
13
13
|
import { _ as _sfc_main$4 } from "../chunks/LpScrollArea-CqvwfZs2.js";
|
|
14
14
|
import MenuShortcut from "./MenuShortcut.vue.js";
|
|
@@ -5,7 +5,7 @@ import { springStep, springSettled } from "../composables/usePillTransition.js";
|
|
|
5
5
|
import { useRovingFocus } from "../composables/useRovingFocus.js";
|
|
6
6
|
import { isHTMLElement } from "../composables/realm.js";
|
|
7
7
|
import { dockSize } from "./dock.js";
|
|
8
|
-
import { _ as _sfc_main$2 } from "../chunks/LpIcon-
|
|
8
|
+
import { _ as _sfc_main$2 } from "../chunks/LpIcon-BCQLuHSP.js";
|
|
9
9
|
import { _ as _sfc_main$1 } from "../chunks/LpTooltip-Bz_rrq5S.js";
|
|
10
10
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
|
|
11
11
|
import '../assets/LpDock-Dw82tWVD.css';const _hoisted_1 = ["aria-orientation", "data-orientation"];
|
|
@@ -6,9 +6,9 @@ import { useLabels } from "../composables/useLpConfig.js";
|
|
|
6
6
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
7
7
|
import { useReveal } from "../composables/useReveal.js";
|
|
8
8
|
import { PopoverRoot, PopoverAnchor, PopoverPortal, PopoverContent } from "reka-ui";
|
|
9
|
-
import { _ as _sfc_main$1 } from "../chunks/DropzoneLinkField-
|
|
9
|
+
import { _ as _sfc_main$1 } from "../chunks/DropzoneLinkField-CcJu8De3.js";
|
|
10
10
|
import { POPOVER_PANEL } from "./dropdown.js";
|
|
11
|
-
import { _ as _sfc_main$2 } from "../chunks/LpIcon-
|
|
11
|
+
import { _ as _sfc_main$2 } from "../chunks/LpIcon-BCQLuHSP.js";
|
|
12
12
|
import { inTextField } from "../composables/textEntry.js";
|
|
13
13
|
import { useView, usePortalTarget, useOutsideGuard, viewWindow } from "../composables/useView.js";
|
|
14
14
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
|
|
@@ -9,7 +9,7 @@ import "./commandSearch.js";
|
|
|
9
9
|
import "reka-ui";
|
|
10
10
|
import "../composables/useHints.js";
|
|
11
11
|
import "../composables/useHintSystem.js";
|
|
12
|
-
import { _ as _sfc_main$1 } from "../chunks/LpIcon-
|
|
12
|
+
import { _ as _sfc_main$1 } from "../chunks/LpIcon-BCQLuHSP.js";
|
|
13
13
|
import '../assets/MenuShortcut-Cyub0frr.css';import '../assets/LpKeys-C5VMcBOW.css';import '../assets/LpImageEditor-Bgu20XLs.css';/* empty css */
|
|
14
14
|
/* empty css */
|
|
15
15
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
@@ -1,59 +1,6 @@
|
|
|
1
1
|
import { type ContextMenuItemDef } from "./LpContextMenu.vue";
|
|
2
|
-
import { type
|
|
3
|
-
export
|
|
4
|
-
id: string;
|
|
5
|
-
title: string;
|
|
6
|
-
body?: string;
|
|
7
|
-
/** Optional icon name (e.g. "lucide:check-circle"). */
|
|
8
|
-
icon?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Colours the row's icon by what KIND of notification it is — a billing
|
|
11
|
-
* notice and a security one should not look alike at a glance.
|
|
12
|
-
*
|
|
13
|
-
* A named tone rather than a class, so the categories stay themeable:
|
|
14
|
-
* consumers were mapping their own types onto raw palette classes, which is
|
|
15
|
-
* the one place a theme cannot follow them.
|
|
16
|
-
*/
|
|
17
|
-
tone?: ToneName;
|
|
18
|
-
/** Optional deep link; the row becomes clickable when set. */
|
|
19
|
-
link?: string;
|
|
20
|
-
/** ISO-8601 creation time; rendered as a relative label. */
|
|
21
|
-
createdAt?: string;
|
|
22
|
-
/** Whether the notification has been read. */
|
|
23
|
-
read?: boolean;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Every user-facing string the bell renders on its own. Apps with i18n pass
|
|
27
|
-
* their translations in; the English defaults keep the component usable bare.
|
|
28
|
-
* Without this the header/row menus would be hardcoded English in every locale.
|
|
29
|
-
*/
|
|
30
|
-
export interface NotificationLabels {
|
|
31
|
-
title?: string;
|
|
32
|
-
markAllRead?: string;
|
|
33
|
-
clear?: string;
|
|
34
|
-
markAsRead?: string;
|
|
35
|
-
markAsUnread?: string;
|
|
36
|
-
open?: string;
|
|
37
|
-
dismiss?: string;
|
|
38
|
-
empty?: string;
|
|
39
|
-
ariaLabel?: string;
|
|
40
|
-
/** Appended to the button's name while there is unread news; `{count}` is filled in. */
|
|
41
|
-
unread?: string;
|
|
42
|
-
/** Screen-reader marker on an unread row. */
|
|
43
|
-
unreadItem?: string;
|
|
44
|
-
/**
|
|
45
|
-
* No longer read: times are worded by Intl in the app's locale. Still
|
|
46
|
-
* accepted so existing label objects keep type-checking.
|
|
47
|
-
* @deprecated
|
|
48
|
-
*/
|
|
49
|
-
justNow?: string;
|
|
50
|
-
/** @deprecated See `justNow`. */
|
|
51
|
-
minutes?: string;
|
|
52
|
-
/** @deprecated See `justNow`. */
|
|
53
|
-
hours?: string;
|
|
54
|
-
/** @deprecated See `justNow`. */
|
|
55
|
-
days?: string;
|
|
56
|
-
}
|
|
2
|
+
import { type NotificationAction, type NotificationCategory, type NotificationItem, type NotificationLabels, type NotificationMenu } from "./notifications";
|
|
3
|
+
export type { NotificationAction, NotificationActor, NotificationCategory, NotificationItem, NotificationLabels, NotificationMenu, } from "./notifications";
|
|
57
4
|
type __VLS_Props = {
|
|
58
5
|
items?: NotificationItem[];
|
|
59
6
|
/** Unread count for the badge; falls back to counting unread items. */
|
|
@@ -63,40 +10,57 @@ type __VLS_Props = {
|
|
|
63
10
|
title?: string;
|
|
64
11
|
/** Cap the badge display (e.g. "9+"). */
|
|
65
12
|
maxBadge?: number;
|
|
66
|
-
/** Right-click menu
|
|
13
|
+
/** Right-click menu on the bell; overrides the built-in quick actions. */
|
|
67
14
|
menuItems?: ContextMenuItemDef[];
|
|
68
|
-
/**
|
|
15
|
+
/** Extra right-click entries for a feed row. */
|
|
16
|
+
itemMenu?: NotificationMenu;
|
|
17
|
+
/** Tabs after All and Unread, matched against `item.category`. */
|
|
18
|
+
categories?: NotificationCategory[];
|
|
19
|
+
/** Head runs of rows with Today / Yesterday / Earlier. Default true. */
|
|
20
|
+
groupByDay?: boolean;
|
|
21
|
+
/** More is waiting: the feed offers Load more (`@load-more`). */
|
|
22
|
+
hasMore?: boolean;
|
|
23
|
+
loadingMore?: boolean;
|
|
24
|
+
/** The feed's footer link to the whole list ("View all notifications"). */
|
|
25
|
+
allLink?: string;
|
|
26
|
+
/** Translations for the strings the bell and its feed render themselves. */
|
|
69
27
|
labels?: NotificationLabels;
|
|
70
|
-
/**
|
|
71
|
-
* Formats `item.createdAt` for display. Defaults to a narrow relative time
|
|
72
|
-
* in the app's locale ("now", "5m ago", "3h ago"); pass your own to word
|
|
73
|
-
* it differently.
|
|
74
|
-
*/
|
|
28
|
+
/** Formats `item.createdAt`; defaults to a narrow relative time in the app's locale. */
|
|
75
29
|
formatTime?: (iso: string) => string;
|
|
76
30
|
};
|
|
77
31
|
type __VLS_ModelProps = {
|
|
78
32
|
"open"?: boolean;
|
|
33
|
+
"filter"?: string;
|
|
79
34
|
};
|
|
80
35
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
81
36
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
82
37
|
"update:open": (value: boolean) => any;
|
|
38
|
+
"update:filter": (value: string) => any;
|
|
83
39
|
} & {
|
|
40
|
+
settings: () => any;
|
|
84
41
|
clear: () => any;
|
|
85
42
|
select: (item: NotificationItem) => any;
|
|
43
|
+
action: (item: NotificationItem, action: NotificationAction) => any;
|
|
86
44
|
dismiss: (id: string) => any;
|
|
87
|
-
markAllRead: () => any;
|
|
88
45
|
markRead: (id: string) => any;
|
|
89
46
|
markUnread: (id: string) => any;
|
|
47
|
+
markAllRead: () => any;
|
|
48
|
+
loadMore: () => any;
|
|
90
49
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
50
|
+
onSettings?: (() => any) | undefined;
|
|
91
51
|
onClear?: (() => any) | undefined;
|
|
92
52
|
onSelect?: ((item: NotificationItem) => any) | undefined;
|
|
53
|
+
onAction?: ((item: NotificationItem, action: NotificationAction) => any) | undefined;
|
|
93
54
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
94
55
|
onDismiss?: ((id: string) => any) | undefined;
|
|
95
|
-
onMarkAllRead?: (() => any) | undefined;
|
|
96
56
|
onMarkRead?: ((id: string) => any) | undefined;
|
|
97
57
|
onMarkUnread?: ((id: string) => any) | undefined;
|
|
58
|
+
onMarkAllRead?: (() => any) | undefined;
|
|
59
|
+
onLoadMore?: (() => any) | undefined;
|
|
60
|
+
"onUpdate:filter"?: ((value: string) => any) | undefined;
|
|
98
61
|
}>, {
|
|
99
62
|
items: NotificationItem[];
|
|
63
|
+
groupByDay: boolean;
|
|
100
64
|
maxBadge: number;
|
|
101
65
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
102
66
|
declare const _default: typeof __VLS_export;
|