@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
|
@@ -2,9 +2,9 @@ import { defineComponent, ref, onErrorCaptured, onMounted, onBeforeUnmount, comp
|
|
|
2
2
|
import { provideHintSystem } from "../composables/useHintSystem.js";
|
|
3
3
|
import { useAppleKeyboard, appleModifierLabel } from "../composables/useHotkeys.js";
|
|
4
4
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
5
|
-
import { _ as _sfc_main$3 } from "./LpActionBar-
|
|
6
|
-
import { _ as _sfc_main$2 } from "./LpHintLayer-
|
|
7
|
-
import { _ as _sfc_main$1 } from "./LpTour-
|
|
5
|
+
import { _ as _sfc_main$3 } from "./LpActionBar-C7g52Cyo.js";
|
|
6
|
+
import { _ as _sfc_main$2 } from "./LpHintLayer-B6bA5Cb_.js";
|
|
7
|
+
import { _ as _sfc_main$1 } from "./LpTour-ODlBcat2.js";
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "LpHints",
|
|
10
10
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, watchEffect, openBlock, createElementBlock, createBlock, unref } from "vue";
|
|
2
2
|
import { getIcon, Icon } from "@iconify/vue";
|
|
3
|
-
import { i as iconsVersion, f as failedIcons, c as requestIcon } from "./icons-
|
|
3
|
+
import { i as iconsVersion, f as failedIcons, c as requestIcon } from "./icons-C1vppR4f.js";
|
|
4
4
|
const _hoisted_1 = ["width", "height", "viewBox", "innerHTML"];
|
|
5
5
|
const _hoisted_2 = ["width", "height"];
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, createVNode, unref, createElementVNode, toDisplayString, createBlock, createCommentVNode, withCtx, createTextVNode } from "vue";
|
|
2
2
|
import { Handle, Position } from "@vue-flow/core";
|
|
3
|
-
import { _ as _sfc_main$2 } from "./LpBadge-
|
|
4
|
-
import { _ as _sfc_main$1 } from "./LpStatus-
|
|
3
|
+
import { _ as _sfc_main$2 } from "./LpBadge-C_VqLHtg.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "./LpStatus-szB2dWzM.js";
|
|
5
5
|
const _hoisted_1 = { class: "px-[11px] pb-2.5 pt-[9px]" };
|
|
6
6
|
const _hoisted_2 = { class: "flex items-center gap-[7px]" };
|
|
7
7
|
const _hoisted_3 = { class: "text-[13px] text-[var(--accent)]" };
|
|
@@ -7,9 +7,9 @@ import { useLabels } from "../composables/useLpConfig.js";
|
|
|
7
7
|
import { useInputFilter } from "../composables/useInputFilter.js";
|
|
8
8
|
import { useInputMask, DEFAULT_MASK_TOKENS } from "../composables/useInputMask.js";
|
|
9
9
|
import { mergeClass } from "../composables/useMergedClass.js";
|
|
10
|
-
import { _ as _sfc_main$1 } from "./FieldWrapper-
|
|
11
|
-
import { _ as _sfc_main$2 } from "./FieldLeading-
|
|
12
|
-
import { _ as _sfc_main$3 } from "./LpIcon-
|
|
10
|
+
import { _ as _sfc_main$1 } from "./FieldWrapper-Cj8ZgoKp.js";
|
|
11
|
+
import { _ as _sfc_main$2 } from "./FieldLeading-CldGLINn.js";
|
|
12
|
+
import { _ as _sfc_main$3 } from "./LpIcon-BCQLuHSP.js";
|
|
13
13
|
const _hoisted_1 = ["id", "type", "value", "placeholder", "disabled", "required", "aria-invalid", "aria-describedby"];
|
|
14
14
|
const _hoisted_2 = ["aria-label"];
|
|
15
15
|
const __default__ = { inheritAttrs: false };
|
|
@@ -5,12 +5,12 @@ import { useLabels } from "../composables/useLpConfig.js";
|
|
|
5
5
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
6
6
|
import { usePersisted } from "../composables/usePersisted.js";
|
|
7
7
|
import { clamp } from "../composables/clamp.js";
|
|
8
|
-
import { _ as _sfc_main$4 } from "./LpDataList-
|
|
9
|
-
import { _ as _sfc_main$3 } from "./LpDisclosure-
|
|
8
|
+
import { _ as _sfc_main$4 } from "./LpDataList-Cv7ZUlyy.js";
|
|
9
|
+
import { _ as _sfc_main$3 } from "./LpDisclosure-CE4mneaE.js";
|
|
10
10
|
import "@iconify/vue";
|
|
11
|
-
import "./icons-
|
|
11
|
+
import "./icons-C1vppR4f.js";
|
|
12
12
|
import { _ as _sfc_main$2 } from "./LpScrollArea-CqvwfZs2.js";
|
|
13
|
-
import { _ as _sfc_main$1 } from "./IconCloseButton-
|
|
13
|
+
import { _ as _sfc_main$1 } from "./IconCloseButton-CV4iHRpy.js";
|
|
14
14
|
const _hoisted_1 = ["aria-label"];
|
|
15
15
|
const _hoisted_2 = ["aria-label", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
|
|
16
16
|
const _hoisted_3 = {
|
|
@@ -6,8 +6,8 @@ import { useLabels } from "../composables/useLpConfig.js";
|
|
|
6
6
|
import { useZoomPan } from "../composables/useZoomPan.js";
|
|
7
7
|
import { clickLink } from "../components/exportData.js";
|
|
8
8
|
import { fileNameOf } from "../components/lightbox.js";
|
|
9
|
-
import { _ as _sfc_main$2 } from "./LpCopyButton-
|
|
10
|
-
import { _ as _sfc_main$1 } from "./LpIcon-
|
|
9
|
+
import { _ as _sfc_main$2 } from "./LpCopyButton-BSr6YaFR.js";
|
|
10
|
+
import { _ as _sfc_main$1 } from "./LpIcon-BCQLuHSP.js";
|
|
11
11
|
import { _ as _sfc_main$3 } from "./LpLoader-Bf1yZwaU.js";
|
|
12
12
|
import { useModalLayer } from "../components/modalDepth.js";
|
|
13
13
|
import { inTextField } from "../composables/textEntry.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, openBlock, createElementBlock, unref, Fragment, createVNode, toDisplayString, renderList, normalizeStyle, createElementVNode, normalizeClass, createTextVNode } from "vue";
|
|
2
|
-
import { _ as _sfc_main$2 } from "./LpIcon-
|
|
3
|
-
import { _ as _sfc_main$1 } from "./LpInput-
|
|
2
|
+
import { _ as _sfc_main$2 } from "./LpIcon-BCQLuHSP.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./LpInput-BjbXdjcW.js";
|
|
4
4
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
5
5
|
import { structuredPayload, jsonRows, stackLines } from "../components/logTools.js";
|
|
6
6
|
const _hoisted_1 = ["aria-label"];
|
|
@@ -4,12 +4,12 @@ import { usePersisted } from "../composables/usePersisted.js";
|
|
|
4
4
|
import { prefersReducedMotion, durationToken, tokenEase } from "../composables/easing.js";
|
|
5
5
|
import { useClipboard } from "../composables/useClipboard.js";
|
|
6
6
|
import { useHotkeys } from "../composables/useHotkeys.js";
|
|
7
|
-
import { _ as _sfc_main$7 } from "./LpBadge-
|
|
8
|
-
import { _ as _sfc_main$6 } from "./LpContextMenu-
|
|
9
|
-
import { _ as _sfc_main$4 } from "./LpEmptyState-
|
|
10
|
-
import { _ as _sfc_main$2 } from "./LpIcon-
|
|
7
|
+
import { _ as _sfc_main$7 } from "./LpBadge-C_VqLHtg.js";
|
|
8
|
+
import { _ as _sfc_main$6 } from "./LpContextMenu-bn5bc9t7.js";
|
|
9
|
+
import { _ as _sfc_main$4 } from "./LpEmptyState-DpdHeSfz.js";
|
|
10
|
+
import { _ as _sfc_main$2 } from "./LpIcon-BCQLuHSP.js";
|
|
11
11
|
import { _ as _sfc_main$5 } from "./LpLoader-Bf1yZwaU.js";
|
|
12
|
-
import { _ as _sfc_main$1 } from "./LpInput-
|
|
12
|
+
import { _ as _sfc_main$1 } from "./LpInput-BjbXdjcW.js";
|
|
13
13
|
import { _ as _sfc_main$3 } from "./LpScrollArea-CqvwfZs2.js";
|
|
14
14
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
15
15
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
@@ -18,7 +18,7 @@ import { inTextField } from "../composables/textEntry.js";
|
|
|
18
18
|
import { nodeWindow, isElement } from "../composables/realm.js";
|
|
19
19
|
import { ringWindow, matchPositions, countLevels, stepMatch } from "../components/logSearch.js";
|
|
20
20
|
import { downloadFile } from "../components/exportData.js";
|
|
21
|
-
import { _ as _sfc_main$8 } from "./LpLogInspector-
|
|
21
|
+
import { _ as _sfc_main$8 } from "./LpLogInspector-OJEz1vod.js";
|
|
22
22
|
import { compilePattern, inTimeRange, patternPositions, groupRepeats, rowSpan, exportLines, nearestByTime, termRanges, messageParts, findIds } from "../components/logTools.js";
|
|
23
23
|
import { TONES, toneLook } from "../components/tone.js";
|
|
24
24
|
import '../assets/LpLogViewer-BDNW6P52.css';const _hoisted_1 = {
|
|
@@ -2,7 +2,7 @@ import { defineComponent, computed, ref, watch, onBeforeUnmount, openBlock, crea
|
|
|
2
2
|
import { clamp } from "../composables/clamp.js";
|
|
3
3
|
import { prefersReducedMotion } from "../composables/easing.js";
|
|
4
4
|
import { OSM_TILES, project, tileUrl, unproject } from "../components/address.js";
|
|
5
|
-
import { _ as _sfc_main$1 } from "./LpIcon-
|
|
5
|
+
import { _ as _sfc_main$1 } from "./LpIcon-BCQLuHSP.js";
|
|
6
6
|
import { _ as _sfc_main$2 } from "./LpLoader-Bf1yZwaU.js";
|
|
7
7
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
8
8
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, computed, openBlock, createElementBlock, renderSlot, mergeProps, unref, Fragment, renderList, createBlock, withCtx, createElementVNode, normalizeClass, toDisplayString, createVNode, createCommentVNode } from "vue";
|
|
2
2
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
3
3
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
4
|
-
import { _ as _sfc_main$1 } from "./LpContextMenu-
|
|
5
|
-
import { _ as _sfc_main$2 } from "./LpIcon-
|
|
6
|
-
import { _ as _sfc_main$3 } from "./LpLightbox-
|
|
4
|
+
import { _ as _sfc_main$1 } from "./LpContextMenu-bn5bc9t7.js";
|
|
5
|
+
import { _ as _sfc_main$2 } from "./LpIcon-BCQLuHSP.js";
|
|
6
|
+
import { _ as _sfc_main$3 } from "./LpLightbox-CSAJuUaJ.js";
|
|
7
7
|
const _hoisted_1 = { key: 0 };
|
|
8
8
|
const _hoisted_2 = ["aria-label"];
|
|
9
9
|
const _hoisted_3 = ["aria-label", "onClick"];
|
|
@@ -8,7 +8,7 @@ import { useLabels } from "../composables/useLpConfig.js";
|
|
|
8
8
|
import { useShift } from "../composables/useShift.js";
|
|
9
9
|
import { useModalLayer } from "../components/modalDepth.js";
|
|
10
10
|
import { CLOSE_ICON } from "../components/dropdown.js";
|
|
11
|
-
import { _ as _sfc_main$1 } from "./LpIcon-
|
|
11
|
+
import { _ as _sfc_main$1 } from "./LpIcon-BCQLuHSP.js";
|
|
12
12
|
import { _ as _sfc_main$2 } from "./LpScrollArea-CqvwfZs2.js";
|
|
13
13
|
import { usePortalTarget, useOutsideGuard } from "../composables/useView.js";
|
|
14
14
|
const _hoisted_1 = {
|
|
@@ -2,9 +2,9 @@ import { defineComponent, computed, ref, openBlock, createBlock, createSlots, wi
|
|
|
2
2
|
import { useGlass } from "../composables/useGlass.js";
|
|
3
3
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
4
4
|
import { _ as _sfc_main$2 } from "./LpButton-DSHioIfD.js";
|
|
5
|
-
import { _ as _sfc_main$3 } from "./LpIcon-
|
|
6
|
-
import { _ as _sfc_main$1 } from "./LpModal-
|
|
7
|
-
import { _ as _sfc_main$4 } from "./LpSidebar-
|
|
5
|
+
import { _ as _sfc_main$3 } from "./LpIcon-BCQLuHSP.js";
|
|
6
|
+
import { _ as _sfc_main$1 } from "./LpModal-DdTqdf4x.js";
|
|
7
|
+
import { _ as _sfc_main$4 } from "./LpSidebar-D3S8rYFf.js";
|
|
8
8
|
const _hoisted_1 = { class: "flex items-center gap-2" };
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "LpModalNav",
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { defineComponent, useModel, computed, getCurrentInstance, openBlock, createBlock, withCtx, createVNode, mergeProps, toHandlers, Transition, createCommentVNode, mergeModels } from "vue";
|
|
2
|
+
import { useLabels } from "../composables/useLpConfig.js";
|
|
3
|
+
import { _ as _sfc_main$6 } from "./LpBadge-C_VqLHtg.js";
|
|
4
|
+
import { _ as _sfc_main$4 } from "./LpButton-DSHioIfD.js";
|
|
5
|
+
import { _ as _sfc_main$3 } from "./LpContextMenu-bn5bc9t7.js";
|
|
6
|
+
import { _ as _sfc_main$5 } from "./LpIcon-BCQLuHSP.js";
|
|
7
|
+
import { _ as _sfc_main$2 } from "./LpNotificationFeed-BIe5lapb.js";
|
|
8
|
+
import { _ as _sfc_main$1 } from "./LpPopover-BQSuxtai.js";
|
|
9
|
+
import { _ as _sfc_main$7 } from "./LpRollingText-B54Pje7P.js";
|
|
10
|
+
import { NOTIFICATION_LABELS } from "../components/notifications.js";
|
|
11
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
|
+
__name: "LpNotificationBell",
|
|
13
|
+
props: /* @__PURE__ */ mergeModels({
|
|
14
|
+
items: { default: () => [] },
|
|
15
|
+
unreadCount: {},
|
|
16
|
+
loading: { type: Boolean },
|
|
17
|
+
emptyLabel: {},
|
|
18
|
+
title: {},
|
|
19
|
+
maxBadge: { default: 9 },
|
|
20
|
+
menuItems: {},
|
|
21
|
+
itemMenu: {},
|
|
22
|
+
categories: {},
|
|
23
|
+
groupByDay: { type: Boolean, default: true },
|
|
24
|
+
hasMore: { type: Boolean },
|
|
25
|
+
loadingMore: { type: Boolean },
|
|
26
|
+
allLink: {},
|
|
27
|
+
labels: {},
|
|
28
|
+
formatTime: {}
|
|
29
|
+
}, {
|
|
30
|
+
"open": { type: Boolean, ...{ default: false } },
|
|
31
|
+
"openModifiers": {},
|
|
32
|
+
"filter": { default: "all" },
|
|
33
|
+
"filterModifiers": {}
|
|
34
|
+
}),
|
|
35
|
+
emits: /* @__PURE__ */ mergeModels(["markRead", "markUnread", "markAllRead", "clear", "dismiss", "select", "action", "settings", "loadMore"], ["update:open", "update:filter"]),
|
|
36
|
+
setup(__props, { emit: __emit }) {
|
|
37
|
+
const props = __props;
|
|
38
|
+
const open = useModel(__props, "open");
|
|
39
|
+
const filter = useModel(__props, "filter");
|
|
40
|
+
const emit = __emit;
|
|
41
|
+
const text = useLabels("notifications", NOTIFICATION_LABELS, () => props.labels);
|
|
42
|
+
const l = computed(() => {
|
|
43
|
+
const title = props.title ?? text.value.title;
|
|
44
|
+
return { ...text.value, title, ariaLabel: text.value.ariaLabel || title };
|
|
45
|
+
});
|
|
46
|
+
const unread = computed(() => props.unreadCount ?? props.items.filter((n) => !n.read).length);
|
|
47
|
+
const hasUnread = computed(() => unread.value > 0);
|
|
48
|
+
const badgeLabel = computed(() => unread.value > props.maxBadge ? `${props.maxBadge}+` : String(unread.value));
|
|
49
|
+
const buttonLabel = computed(
|
|
50
|
+
() => hasUnread.value ? `${l.value.ariaLabel}, ${l.value.unread.replace("{count}", String(unread.value))}` : l.value.ariaLabel
|
|
51
|
+
);
|
|
52
|
+
const instance = getCurrentInstance();
|
|
53
|
+
const handlesClear = computed(() => Boolean(instance?.vnode.props?.onClear));
|
|
54
|
+
const optional = computed(() => ({
|
|
55
|
+
...handlesClear.value ? { clear: () => emit("clear") } : {},
|
|
56
|
+
...instance?.vnode.props?.onSettings ? {
|
|
57
|
+
settings: () => {
|
|
58
|
+
open.value = false;
|
|
59
|
+
emit("settings");
|
|
60
|
+
}
|
|
61
|
+
} : {}
|
|
62
|
+
}));
|
|
63
|
+
const contextMenu = computed(() => {
|
|
64
|
+
if (props.menuItems) return props.menuItems;
|
|
65
|
+
const items = [
|
|
66
|
+
{ label: l.value.markAllRead, icon: "lucide:check-check", disabled: !hasUnread.value, onSelect: () => emit("markAllRead") }
|
|
67
|
+
];
|
|
68
|
+
if (handlesClear.value) {
|
|
69
|
+
items.push({ label: l.value.clear, icon: "lucide:trash-2", disabled: !props.items.length, onSelect: () => emit("clear") });
|
|
70
|
+
}
|
|
71
|
+
return items;
|
|
72
|
+
});
|
|
73
|
+
function onSelect(item) {
|
|
74
|
+
open.value = false;
|
|
75
|
+
emit("select", item);
|
|
76
|
+
}
|
|
77
|
+
return (_ctx, _cache) => {
|
|
78
|
+
return openBlock(), createBlock(_sfc_main$1, {
|
|
79
|
+
open: open.value,
|
|
80
|
+
"onUpdate:open": _cache[7] || (_cache[7] = ($event) => open.value = $event),
|
|
81
|
+
side: "bottom",
|
|
82
|
+
align: "end",
|
|
83
|
+
"side-offset": 8,
|
|
84
|
+
"panel-class": "w-[min(24rem,calc(100vw-1rem))] p-0"
|
|
85
|
+
}, {
|
|
86
|
+
trigger: withCtx(() => [
|
|
87
|
+
createVNode(_sfc_main$3, { items: contextMenu.value }, {
|
|
88
|
+
default: withCtx(() => [
|
|
89
|
+
createVNode(_sfc_main$4, {
|
|
90
|
+
variant: "ghost",
|
|
91
|
+
size: "sm",
|
|
92
|
+
class: "relative",
|
|
93
|
+
"aria-label": buttonLabel.value
|
|
94
|
+
}, {
|
|
95
|
+
default: withCtx(() => [
|
|
96
|
+
createVNode(_sfc_main$5, {
|
|
97
|
+
name: "lucide:bell",
|
|
98
|
+
size: 18
|
|
99
|
+
}),
|
|
100
|
+
createVNode(Transition, {
|
|
101
|
+
"enter-active-class": "animate-[chip-in_var(--duration-fast)_var(--ease-emphasized)] motion-reduce:animate-none",
|
|
102
|
+
"leave-active-class": "animate-[chip-out_var(--duration-fast)_ease] motion-reduce:animate-none"
|
|
103
|
+
}, {
|
|
104
|
+
default: withCtx(() => [
|
|
105
|
+
hasUnread.value ? (openBlock(), createBlock(_sfc_main$6, {
|
|
106
|
+
key: 0,
|
|
107
|
+
"aria-hidden": "true",
|
|
108
|
+
tone: "danger",
|
|
109
|
+
class: "absolute -right-1 -top-1 min-w-4 justify-center px-1 py-0 text-[10px] leading-4"
|
|
110
|
+
}, {
|
|
111
|
+
default: withCtx(() => [
|
|
112
|
+
createVNode(_sfc_main$7, {
|
|
113
|
+
value: badgeLabel.value,
|
|
114
|
+
duration: 220
|
|
115
|
+
}, null, 8, ["value"])
|
|
116
|
+
]),
|
|
117
|
+
_: 1
|
|
118
|
+
})) : createCommentVNode("", true)
|
|
119
|
+
]),
|
|
120
|
+
_: 1
|
|
121
|
+
})
|
|
122
|
+
]),
|
|
123
|
+
_: 1
|
|
124
|
+
}, 8, ["aria-label"])
|
|
125
|
+
]),
|
|
126
|
+
_: 1
|
|
127
|
+
}, 8, ["items"])
|
|
128
|
+
]),
|
|
129
|
+
default: withCtx(() => [
|
|
130
|
+
createVNode(_sfc_main$2, mergeProps({
|
|
131
|
+
filter: filter.value,
|
|
132
|
+
"onUpdate:filter": _cache[0] || (_cache[0] = ($event) => filter.value = $event),
|
|
133
|
+
items: __props.items,
|
|
134
|
+
"unread-count": __props.unreadCount,
|
|
135
|
+
loading: __props.loading,
|
|
136
|
+
title: __props.title,
|
|
137
|
+
"empty-label": __props.emptyLabel,
|
|
138
|
+
categories: __props.categories,
|
|
139
|
+
"group-by-day": __props.groupByDay,
|
|
140
|
+
"has-more": __props.hasMore,
|
|
141
|
+
"loading-more": __props.loadingMore,
|
|
142
|
+
"all-link": __props.allLink,
|
|
143
|
+
"item-menu": __props.itemMenu,
|
|
144
|
+
labels: __props.labels,
|
|
145
|
+
"format-time": __props.formatTime
|
|
146
|
+
}, toHandlers(optional.value), {
|
|
147
|
+
onMarkRead: _cache[1] || (_cache[1] = ($event) => emit("markRead", $event)),
|
|
148
|
+
onMarkUnread: _cache[2] || (_cache[2] = ($event) => emit("markUnread", $event)),
|
|
149
|
+
onMarkAllRead: _cache[3] || (_cache[3] = ($event) => emit("markAllRead")),
|
|
150
|
+
onDismiss: _cache[4] || (_cache[4] = ($event) => emit("dismiss", $event)),
|
|
151
|
+
onSelect,
|
|
152
|
+
onAction: _cache[5] || (_cache[5] = (item, action) => emit("action", item, action)),
|
|
153
|
+
onLoadMore: _cache[6] || (_cache[6] = ($event) => emit("loadMore"))
|
|
154
|
+
}), null, 16, ["filter", "items", "unread-count", "loading", "title", "empty-label", "categories", "group-by-day", "has-more", "loading-more", "all-link", "item-menu", "labels", "format-time"])
|
|
155
|
+
]),
|
|
156
|
+
_: 1
|
|
157
|
+
}, 8, ["open"]);
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
});
|
|
161
|
+
export {
|
|
162
|
+
_sfc_main as _
|
|
163
|
+
};
|