@leavepulse/ui 0.78.0 → 0.78.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.
Files changed (147) hide show
  1. package/dist/chunks/{DropzoneLinkField-DXIr0eFz.js → DropzoneLinkField-CLLhd3WB.js} +1 -1
  2. package/dist/chunks/FieldLeading-mr81aEAP.js +27 -0
  3. package/dist/chunks/{LpAddressInput-ZqoZ-N2Y.js → LpAddressInput-BSS49jpm.js} +2 -2
  4. package/dist/chunks/{LpAppShell-BNAVTQsY.js → LpAppShell-BKbYCHkx.js} +23 -4
  5. package/dist/chunks/{LpCodeBlock-DuzmnIHl.js → LpCodeBlock-DBqy4RLd.js} +1 -1
  6. package/dist/chunks/{LpCodeDisplay-CO8fngxa.js → LpCodeDisplay-D3BUAhV1.js} +2 -2
  7. package/dist/chunks/{LpColorPicker-BxAHEnR5.js → LpColorPicker-COHzV68R.js} +1 -1
  8. package/dist/chunks/{LpConfirmDialog-6oCIJTDa.js → LpConfirmDialog-CnrmzkuN.js} +1 -1
  9. package/dist/chunks/{LpConfirmHost-DgHvfT6s.js → LpConfirmHost-CwbObVGH.js} +1 -1
  10. package/dist/chunks/{LpContextMenu--eMGIql6.js → LpContextMenu-Bx_IhQDS.js} +5 -5
  11. package/dist/chunks/{LpCopyButton-7EOSIuwa.js → LpCopyButton-sAMvWeLP.js} +1 -1
  12. package/dist/chunks/{LpDataList-DgBeM01y.js → LpDataList-CaVfsozH.js} +2 -2
  13. package/dist/chunks/{LpDrawer-Bt9UUqt_.js → LpDrawer-DXNQFpAA.js} +1 -1
  14. package/dist/chunks/{LpFileTree-BSx1kBoV.js → LpFileTree-C-rJKzEQ.js} +3 -3
  15. package/dist/chunks/{LpFileTreeNode-4dVmFHb3.js → LpFileTreeNode-BgYn4U1J.js} +1 -1
  16. package/dist/chunks/{LpHoverCard-DanH3Nz1.js → LpHoverCard-CHE9jAJG.js} +6 -6
  17. package/dist/chunks/{LpInfraNode-BAU40Km2.js → LpInfraNode-Bb5nbuFY.js} +17 -0
  18. package/dist/chunks/{LpInput-DL6HEJdi.js → LpInput-D0O6dpuA.js} +18 -21
  19. package/dist/chunks/{LpInspector-CuoMAhiw.js → LpInspector-DO3fTCQ1.js} +2 -2
  20. package/dist/chunks/{LpLaneNode-HtnQf2FF.js → LpLaneNode-Bqcdm8Rf.js} +19 -1
  21. package/dist/chunks/{LpLightbox-xvpQ64MM.js → LpLightbox-CtDTQV01.js} +1 -1
  22. package/dist/chunks/{LpLogInspector-6cNnXqp4.js → LpLogInspector-BdQlX6S-.js} +1 -1
  23. package/dist/chunks/{LpLogViewer-Dvb1E9_G.js → LpLogViewer-umCZBapN.js} +4 -4
  24. package/dist/chunks/{LpMediaGallery-Df-tiWeq.js → LpMediaGallery-BYEwySoF.js} +2 -2
  25. package/dist/chunks/{LpModal-DrtQ_1A2.js → LpModal-DDvrSAnf.js} +1 -1
  26. package/dist/chunks/{LpModalNav-DkmGCnZE.js → LpModalNav-gOi1Giz1.js} +2 -2
  27. package/dist/chunks/{LpNotificationBell-D_wklO1m.js → LpNotificationBell-DUbVyK6R.js} +3 -3
  28. package/dist/chunks/{LpNumberField-CNHsmSDZ.js → LpNumberField-Csg-1Zh_.js} +20 -6
  29. package/dist/chunks/LpPageScrollbar-D2O0xhJw.js +164 -0
  30. package/dist/chunks/{LpPaletteTheme-dVtxHx-F.js → LpPaletteTheme-BIXpZLGe.js} +2 -2
  31. package/dist/chunks/{LpPasswordInput-B-zD6tUS.js → LpPasswordInput-D4HPhqfV.js} +2 -2
  32. package/dist/chunks/{LpPie-9t_guO49.js → LpPie-oVNHjsKD.js} +2 -2
  33. package/dist/chunks/{LpPipeline-rjXvEDRJ.js → LpPipeline-BSXT6oUJ.js} +1 -1
  34. package/dist/chunks/{LpRelativeTime-BovUk8MP.js → LpRelativeTime-0zI-44ve.js} +1 -1
  35. package/dist/chunks/{LpScrollArea-ay4Xo_hg.js → LpScrollArea-CqvwfZs2.js} +9 -12
  36. package/dist/chunks/{LpSecretField-DBvU6iAw.js → LpSecretField-B2roc4Iz.js} +4 -4
  37. package/dist/chunks/{LpServiceNode-D8uJ8sGk.js → LpServiceNode-Cln2ntdw.js} +17 -0
  38. package/dist/chunks/{LpSidebar-kSkpPh3-.js → LpSidebar-DDNJzb69.js} +4 -4
  39. package/dist/chunks/{LpSidebarNav-C2mvqrY2.js → LpSidebarNav-CE0jQS8i.js} +2 -2
  40. package/dist/chunks/{LpSidebarRow-eRP4Q31q.js → LpSidebarRow-DOTg1txp.js} +2 -2
  41. package/dist/chunks/{LpStat-pMNZgFcq.js → LpStat-DPjc6_fX.js} +17 -4
  42. package/dist/chunks/{LpTableFilter-DgARTsA1.js → LpTableFilter-B_XMOeAh.js} +1 -1
  43. package/dist/chunks/{LpThemeStudio-DzYfE-5k.js → LpThemeStudio-ChU0_Ga8.js} +2 -2
  44. package/dist/chunks/{LpThemeSwitcher-CFLkdbBL.js → LpThemeSwitcher-DmCZ21P_.js} +2 -2
  45. package/dist/chunks/{LpToaster-QFj0P-5m.js → LpToaster-Ct_ZOhCh.js} +1 -1
  46. package/dist/chunks/{LpTooltip-BJf3lZMq.js → LpTooltip-Bz_rrq5S.js} +5 -5
  47. package/dist/chunks/{LpTopologyCanvas-BOHHHZ_6.js → LpTopologyCanvas-jqz1KCq2.js} +14 -9
  48. package/dist/chunks/{LpTruncate-C6u3gjc6.js → LpTruncate-ellq9RYM.js} +2 -2
  49. package/dist/chunks/{LpUptimeBar-BnYmR2rj.js → LpUptimeBar-BoxcCDVY.js} +1 -1
  50. package/dist/chunks/{LpWorkspaceSwitcher-D0e9upAy.js → LpWorkspaceSwitcher-BeNHCLd5.js} +2 -2
  51. package/dist/chunks/{RevealToggle-CCPDE8Mv.js → RevealToggle-D_iyrB8d.js} +1 -1
  52. package/dist/component-names.d.ts +1 -1
  53. package/dist/components/DropzoneLinkField.vue.js +1 -1
  54. package/dist/components/FieldLeading.vue.d.ts +16 -0
  55. package/dist/components/FieldLeading.vue.js +4 -0
  56. package/dist/components/LpAddressInput.vue.js +1 -1
  57. package/dist/components/LpAppShell.vue.d.ts +15 -0
  58. package/dist/components/LpAppShell.vue.js +1 -1
  59. package/dist/components/LpChart.vue.js +1 -1
  60. package/dist/components/LpCodeBlock.vue.js +1 -1
  61. package/dist/components/LpCodeDisplay.vue.js +1 -1
  62. package/dist/components/LpColorPicker.vue.js +1 -1
  63. package/dist/components/LpCommandPalette.vue.js +1 -1
  64. package/dist/components/LpConfirmDialog.vue.js +1 -1
  65. package/dist/components/LpConfirmHost.vue.js +1 -1
  66. package/dist/components/LpContextMenu.vue.js +1 -1
  67. package/dist/components/LpCopyButton.vue.js +1 -1
  68. package/dist/components/LpDataList.vue.js +1 -1
  69. package/dist/components/LpDock.vue.js +1 -1
  70. package/dist/components/LpDrawer.vue.js +1 -1
  71. package/dist/components/LpDropzone.vue.js +1 -1
  72. package/dist/components/LpFileTree.vue.js +1 -1
  73. package/dist/components/LpFileTreeNode.vue.js +1 -1
  74. package/dist/components/LpHoverCard.vue.js +1 -1
  75. package/dist/components/LpInfraNode.vue.d.ts +11 -2
  76. package/dist/components/LpInfraNode.vue.js +1 -1
  77. package/dist/components/LpInput.vue.js +1 -1
  78. package/dist/components/LpInspector.vue.js +1 -1
  79. package/dist/components/LpLaneNode.vue.d.ts +2 -3
  80. package/dist/components/LpLaneNode.vue.js +1 -1
  81. package/dist/components/LpLightbox.vue.js +1 -1
  82. package/dist/components/LpLogInspector.vue.js +1 -1
  83. package/dist/components/LpLogViewer.vue.js +1 -1
  84. package/dist/components/LpMediaGallery.vue.js +1 -1
  85. package/dist/components/LpModal.vue.js +1 -1
  86. package/dist/components/LpModalNav.vue.js +1 -1
  87. package/dist/components/LpNotificationBell.vue.js +1 -1
  88. package/dist/components/LpNumberField.vue.d.ts +13 -2
  89. package/dist/components/LpNumberField.vue.js +1 -1
  90. package/dist/components/LpPageScrollbar.vue.d.ts +10 -0
  91. package/dist/components/LpPageScrollbar.vue.js +4 -0
  92. package/dist/components/LpPaletteTheme.vue.js +1 -1
  93. package/dist/components/LpPasswordInput.vue.js +1 -1
  94. package/dist/components/LpPie.vue.js +1 -1
  95. package/dist/components/LpPipeline.vue.js +1 -1
  96. package/dist/components/LpRelativeTime.vue.js +1 -1
  97. package/dist/components/LpScrollArea.vue.js +1 -1
  98. package/dist/components/LpSecretField.vue.js +1 -1
  99. package/dist/components/LpServiceNode.vue.d.ts +8 -2
  100. package/dist/components/LpServiceNode.vue.js +1 -1
  101. package/dist/components/LpShortcutsDialog.vue.js +1 -1
  102. package/dist/components/LpSidebar.vue.js +1 -1
  103. package/dist/components/LpSidebarNav.vue.js +1 -1
  104. package/dist/components/LpSidebarRow.vue.js +1 -1
  105. package/dist/components/LpStat.vue.d.ts +16 -0
  106. package/dist/components/LpStat.vue.js +1 -1
  107. package/dist/components/LpTable.vue.js +4 -4
  108. package/dist/components/LpTableFilter.vue.js +1 -1
  109. package/dist/components/LpTabs.vue.js +1 -1
  110. package/dist/components/LpThemeStudio.vue.js +1 -1
  111. package/dist/components/LpThemeSwitcher.vue.js +1 -1
  112. package/dist/components/LpToaster.vue.js +1 -1
  113. package/dist/components/LpTooltip.vue.js +1 -1
  114. package/dist/components/LpTopologyCanvas.vue.d.ts +2 -2
  115. package/dist/components/LpTopologyCanvas.vue.js +1 -1
  116. package/dist/components/LpTruncate.vue.js +1 -1
  117. package/dist/components/LpUptimeBar.vue.js +1 -1
  118. package/dist/components/LpWorkspaceSwitcher.vue.js +1 -1
  119. package/dist/components/RevealToggle.vue.js +1 -1
  120. package/dist/components/menuWhen.js +1 -1
  121. package/dist/components/scrollbar.d.ts +34 -0
  122. package/dist/components/scrollbar.js +47 -0
  123. package/dist/composables/propCheck.d.ts +1 -1
  124. package/dist/composables/propCheck.js +15 -4
  125. package/dist/composables/usePaletteCommands.js +4 -2
  126. package/dist/index.d.ts +1 -0
  127. package/dist/index.js +162 -160
  128. package/package.json +1 -1
  129. package/src/component-names.ts +1 -0
  130. package/src/components/FieldLeading.vue +17 -0
  131. package/src/components/LpAppShell.vue +23 -0
  132. package/src/components/LpContextMenu.vue +7 -0
  133. package/src/components/LpHoverCard.vue +7 -0
  134. package/src/components/LpInfraNode.vue +4 -3
  135. package/src/components/LpInput.vue +4 -3
  136. package/src/components/LpLaneNode.vue +5 -1
  137. package/src/components/LpNumberField.vue +7 -1
  138. package/src/components/LpPageScrollbar.vue +195 -0
  139. package/src/components/LpScrollArea.vue +27 -23
  140. package/src/components/LpServiceNode.vue +4 -2
  141. package/src/components/LpStat.vue +25 -5
  142. package/src/components/LpTooltip.vue +7 -0
  143. package/src/components/LpTopologyCanvas.vue +3 -1
  144. package/src/components/scrollbar.ts +71 -0
  145. package/src/composables/propCheck.ts +20 -5
  146. package/src/composables/usePaletteCommands.ts +5 -2
  147. package/src/index.ts +1 -0
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, useModel, ref, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, createTextVNode, toDisplayString, normalizeClass, mergeModels } from "vue";
2
2
  import { _ as _sfc_main$2 } from "./LpButton-DSHioIfD.js";
3
- import { _ as _sfc_main$1 } from "./LpInput-DL6HEJdi.js";
3
+ import { _ as _sfc_main$1 } from "./LpInput-D0O6dpuA.js";
4
4
  const _hoisted_1 = { class: "flex w-full flex-col gap-1.5" };
5
5
  const _hoisted_2 = { class: "flex items-center gap-2" };
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -0,0 +1,27 @@
1
+ import { defineComponent, openBlock, createElementBlock, renderSlot, createVNode, createCommentVNode } from "vue";
2
+ import { _ as _sfc_main$1 } from "./LpIcon-C6JpQ5td.js";
3
+ const _hoisted_1 = {
4
+ key: 0,
5
+ class: "flex shrink-0 items-center text-muted"
6
+ };
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
+ __name: "FieldLeading",
9
+ props: {
10
+ icon: {}
11
+ },
12
+ setup(__props) {
13
+ return (_ctx, _cache) => {
14
+ return _ctx.$slots.default || __props.icon ? (openBlock(), createElementBlock("span", _hoisted_1, [
15
+ renderSlot(_ctx.$slots, "default", {}, () => [
16
+ createVNode(_sfc_main$1, {
17
+ name: __props.icon,
18
+ size: 16
19
+ }, null, 8, ["name"])
20
+ ])
21
+ ])) : createCommentVNode("", true);
22
+ };
23
+ }
24
+ });
25
+ export {
26
+ _sfc_main as _
27
+ };
@@ -6,8 +6,8 @@ import { _ as _sfc_main$2 } from "./LpAutocomplete-DkY6CSyD.js";
6
6
  import { _ as _sfc_main$3 } from "./LpButton-DSHioIfD.js";
7
7
  import { _ as _sfc_main$1 } from "./LpFormField-BKYn9dyP.js";
8
8
  import { _ as _sfc_main$4 } from "./LpIcon-C6JpQ5td.js";
9
- import { _ as _sfc_main$5 } from "./LpInput-DL6HEJdi.js";
10
- import { _ as _sfc_main$7 } from "./LpModal-DrtQ_1A2.js";
9
+ import { _ as _sfc_main$5 } from "./LpInput-D0O6dpuA.js";
10
+ import { _ as _sfc_main$7 } from "./LpModal-DDvrSAnf.js";
11
11
  import { _ as _sfc_main$6 } from "./LpSelect-Y-iuSymW.js";
12
12
  import { useFieldControl, mergeDescribedBy } from "../composables/useField.js";
13
13
  import { useLabels } from "../composables/useLpConfig.js";
@@ -5,13 +5,14 @@ import { useScrollMemory } from "../composables/scrollMemory.js";
5
5
  import { useView, viewWindow } from "../composables/useView.js";
6
6
  import { _ as _sfc_main$6 } from "./AppShellContextNav-C6Ho2mof.js";
7
7
  import { DENSITY_CLASS, resolveNavMode, NAV_BREAKPOINT_PX, contextNavItems, headerCollapsedAfter } from "../components/appShell.js";
8
- import { _ as _sfc_main$8 } from "./LpBottomNav-zxLGGbjm.js";
8
+ import { _ as _sfc_main$9 } from "./LpBottomNav-zxLGGbjm.js";
9
9
  import { _ as _sfc_main$2 } from "./LpContextSwitcher-1C1tExdl.js";
10
10
  import { _ as _sfc_main$3 } from "./LpButton-DSHioIfD.js";
11
11
  import { _ as _sfc_main$4 } from "./LpIcon-C6JpQ5td.js";
12
- import { _ as _sfc_main$7 } from "./LpScrollArea-ay4Xo_hg.js";
12
+ import { _ as _sfc_main$8 } from "./LpPageScrollbar-D2O0xhJw.js";
13
+ import { _ as _sfc_main$7 } from "./LpScrollArea-CqvwfZs2.js";
13
14
  import { _ as _sfc_main$5 } from "./LpShift-DAgS_d2x.js";
14
- import { _ as _sfc_main$1 } from "./LpSidebar-kSkpPh3-.js";
15
+ import { _ as _sfc_main$1 } from "./LpSidebar-DDNJzb69.js";
15
16
  import { mergeClass, useMergedAttrs } from "../composables/useMergedClass.js";
16
17
  import { nodeWindow } from "../composables/realm.js";
17
18
  const _hoisted_1 = ["href"];
@@ -37,6 +38,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
37
38
  contentClass: { default: "mx-auto w-full max-w-6xl" },
38
39
  fullBleed: { type: Boolean },
39
40
  scroll: { default: "document" },
41
+ pageScrollbar: { type: Boolean, default: true },
40
42
  loading: { type: Boolean },
41
43
  labels: {},
42
44
  compact: { type: Boolean, default: void 0 },
@@ -176,6 +178,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
176
178
  void nextTick(() => view2.scrollTo({ top, behavior: "instant" }));
177
179
  }
178
180
  });
181
+ const bottomBarEl = ref(null);
182
+ const bottomBarHeight = ref(0);
183
+ let bottomBarSize;
184
+ onMounted(() => {
185
+ const el = bottomBarEl.value?.$el;
186
+ if (!el || el.nodeType !== 1) return;
187
+ bottomBarSize = new (nodeWindow(el)).ResizeObserver(() => bottomBarHeight.value = el.offsetHeight);
188
+ bottomBarSize.observe(el);
189
+ });
190
+ onBeforeUnmount(() => bottomBarSize?.disconnect());
179
191
  let releaseDocument;
180
192
  onMounted(() => {
181
193
  if (!documentScroll || !pageEl.value) return;
@@ -560,8 +572,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
560
572
  _: 3
561
573
  }, 512)
562
574
  ], 10, _hoisted_4)) : createCommentVNode("", true),
563
- __props.bottomNav ? (openBlock(), createBlock(_sfc_main$8, {
575
+ windowScrolls.value && __props.pageScrollbar ? (openBlock(), createBlock(_sfc_main$8, {
564
576
  key: 2,
577
+ top: "var(--lp-shell-top)",
578
+ bottom: `${bottomBarHeight.value}px`
579
+ }, null, 8, ["bottom"])) : createCommentVNode("", true),
580
+ __props.bottomNav ? (openBlock(), createBlock(_sfc_main$9, {
581
+ key: 3,
582
+ ref_key: "bottomBarEl",
583
+ ref: bottomBarEl,
565
584
  class: normalizeClass([burgerHidden[__props.mobileBreakpoint], spanClass.value, windowScrolls.value && `${STICKY} bottom-0`]),
566
585
  items: bottomItems.value,
567
586
  "is-active": activeTest.value,
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, reactive, watch, ref, openBlock, createElementBlock, mergeProps, unref, toDisplayString, createCommentVNode, createElementVNode, createVNode, createBlock, normalizeStyle, normalizeClass, Fragment, renderList, h } from "vue";
2
2
  import { tokenizeLines } from "../components/codeHighlight.js";
3
3
  import { useLabels } from "../composables/useLpConfig.js";
4
- import { _ as _sfc_main$2 } from "./LpCopyButton-7EOSIuwa.js";
4
+ import { _ as _sfc_main$2 } from "./LpCopyButton-sAMvWeLP.js";
5
5
  import { _ as _sfc_main$1 } from "./LpIcon-C6JpQ5td.js";
6
6
  import { useMergedAttrs } from "../composables/useMergedClass.js";
7
7
  const _hoisted_1 = {
@@ -3,11 +3,11 @@ import { useLabels } from "../composables/useLpConfig.js";
3
3
  import { useMergedAttrs } from "../composables/useMergedClass.js";
4
4
  import { useNow } from "../composables/useNow.js";
5
5
  import { _ as _sfc_main$6 } from "./LpCheckbox-D6RuDW4X.js";
6
- import { _ as _sfc_main$3 } from "./LpCopyButton-7EOSIuwa.js";
6
+ import { _ as _sfc_main$3 } from "./LpCopyButton-sAMvWeLP.js";
7
7
  import { _ as _sfc_main$5 } from "./LpCountdown-DVl7vXI1.js";
8
8
  import { _ as _sfc_main$4 } from "./LpIcon-C6JpQ5td.js";
9
9
  import { _ as _sfc_main$1 } from "./LpRollingText-B54Pje7P.js";
10
- import { _ as _sfc_main$2 } from "./RevealToggle-CCPDE8Mv.js";
10
+ import { _ as _sfc_main$2 } from "./RevealToggle-D_iyrB8d.js";
11
11
  import { groupCode } from "../components/fieldText.js";
12
12
  import { toEpoch, formatTime, ceilToSecond, msToNextSecond } from "../components/timeSpan.js";
13
13
  const _hoisted_1 = { class: "flex flex-wrap items-center gap-x-2 gap-y-1" };
@@ -9,7 +9,7 @@ import { DEFAULT_SWATCHES, formatColor, opaqueCss, parseColor, rgbToHsv, isLight
9
9
  import { useClipboard } from "../composables/useClipboard.js";
10
10
  import { useLabels } from "../composables/useLpConfig.js";
11
11
  import { POPOVER_PANEL } from "../components/dropdown.js";
12
- import { _ as _sfc_main$1 } from "./LpContextMenu--eMGIql6.js";
12
+ import { _ as _sfc_main$1 } from "./LpContextMenu-Bx_IhQDS.js";
13
13
  import { _ as _sfc_main$2 } from "./LpIcon-C6JpQ5td.js";
14
14
  import { _ as _sfc_main$3 } from "./LpRollingText-B54Pje7P.js";
15
15
  import { usePortalTarget, useOutsideGuard } from "../composables/useView.js";
@@ -2,7 +2,7 @@ import { defineComponent, computed, ref, watch, openBlock, createBlock, createSl
2
2
  import { useLabels } from "../composables/useLpConfig.js";
3
3
  import { _ as _sfc_main$2 } from "./LpButton-DSHioIfD.js";
4
4
  import { _ as _sfc_main$3 } from "./LpIcon-C6JpQ5td.js";
5
- import { _ as _sfc_main$1 } from "./LpModal-DrtQ_1A2.js";
5
+ import { _ as _sfc_main$1 } from "./LpModal-DDvrSAnf.js";
6
6
  const _hoisted_1 = { class: "inline-flex items-center gap-2.5" };
7
7
  const _hoisted_2 = {
8
8
  key: 0,
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, ref, watch, openBlock, createBlock, createCommentVNode } from "vue";
2
2
  import { confirmQueue, settleConfirm } from "../components/confirm.js";
3
- import { _ as _sfc_main$1 } from "./LpConfirmDialog-6oCIJTDa.js";
3
+ import { _ as _sfc_main$1 } from "./LpConfirmDialog-CnrmzkuN.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "LpConfirmHost",
6
6
  props: {
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createVNode, renderSlot, normalizeClass, createCommentVNode } from "vue";
1
+ import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createVNode, mergeProps, renderSlot, normalizeClass, createCommentVNode } from "vue";
2
2
  import { useMenuPalette } from "../composables/usePaletteCommands.js";
3
3
  import { ContextMenuRoot, ContextMenuTrigger, ContextMenuPortal, ContextMenuContent } from "reka-ui";
4
4
  import { hints } from "../composables/useHints.js";
@@ -8,6 +8,7 @@ import { _ as _sfc_main$1 } from "./MenuTitle-Bh5dAdV1.js";
8
8
  import { POPOVER_PANEL } from "../components/dropdown.js";
9
9
  import { useView, usePortalTarget, useOutsideGuard, viewDocument } from "../composables/useView.js";
10
10
  const _sfc_main = /* @__PURE__ */ defineComponent({
11
+ ...{ inheritAttrs: false },
11
12
  __name: "LpContextMenu",
12
13
  props: {
13
14
  palette: { type: [Boolean, Object], default: void 0 },
@@ -70,19 +71,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
70
71
  return (_ctx, _cache) => {
71
72
  return openBlock(), createBlock(unref(ContextMenuRoot), { "onUpdate:open": opened }, {
72
73
  default: withCtx(() => [
73
- createVNode(unref(ContextMenuTrigger), {
74
- "as-child": "",
74
+ createVNode(unref(ContextMenuTrigger), mergeProps({ "as-child": "" }, _ctx.$attrs, {
75
75
  disabled: !enabled.value,
76
76
  "data-lp-context-menu": hinted.value ? "" : void 0,
77
77
  onClickCapture: leftClick,
78
78
  onContextmenuCapture: rememberField,
79
79
  onContextmenu: keepContextMenu
80
- }, {
80
+ }), {
81
81
  default: withCtx(() => [
82
82
  renderSlot(_ctx.$slots, "default")
83
83
  ]),
84
84
  _: 3
85
- }, 8, ["disabled", "data-lp-context-menu"]),
85
+ }, 16, ["disabled", "data-lp-context-menu"]),
86
86
  __props.items.length ? (openBlock(), createBlock(unref(ContextMenuPortal), {
87
87
  key: 0,
88
88
  to: unref(portalTo)
@@ -3,7 +3,7 @@ import { useClipboard } from "../composables/useClipboard.js";
3
3
  import { useLabels } from "../composables/useLpConfig.js";
4
4
  import { _ as _sfc_main$2 } from "./LpButton-DSHioIfD.js";
5
5
  import { _ as _sfc_main$3 } from "./LpIcon-C6JpQ5td.js";
6
- import { _ as _sfc_main$1 } from "./LpTooltip-BJf3lZMq.js";
6
+ import { _ as _sfc_main$1 } from "./LpTooltip-Bz_rrq5S.js";
7
7
  const _hoisted_1 = { key: 0 };
8
8
  const _hoisted_2 = {
9
9
  class: "sr-only",
@@ -1,10 +1,10 @@
1
1
  import { defineComponent, useSlots, computed, openBlock, createElementBlock, mergeProps, unref, createVNode, TransitionGroup, normalizeClass, withCtx, Fragment, renderList, createElementVNode, renderSlot, createTextVNode, toDisplayString, createBlock, createCommentVNode } from "vue";
2
2
  import { useLabels } from "../composables/useLpConfig.js";
3
3
  import { useMergedAttrs } from "../composables/useMergedClass.js";
4
- import { _ as _sfc_main$4 } from "./LpCopyButton-7EOSIuwa.js";
4
+ import { _ as _sfc_main$4 } from "./LpCopyButton-sAMvWeLP.js";
5
5
  import { _ as _sfc_main$2 } from "./LpIcon-C6JpQ5td.js";
6
6
  import { _ as _sfc_main$3 } from "./LpRollingText-B54Pje7P.js";
7
- import { _ as _sfc_main$1 } from "./LpTooltip-BJf3lZMq.js";
7
+ import { _ as _sfc_main$1 } from "./LpTooltip-Bz_rrq5S.js";
8
8
  const _hoisted_1 = { class: "flex min-w-0 items-center gap-1 text-muted" };
9
9
  const _hoisted_2 = ["aria-label"];
10
10
  const _hoisted_3 = { class: "min-w-0 flex-1 [overflow-wrap:anywhere]" };
@@ -8,7 +8,7 @@ import { useModelOverlayHistory } from "../composables/useOverlayHistory.js";
8
8
  import { useLabels } from "../composables/useLpConfig.js";
9
9
  import { usePersisted } from "../composables/usePersisted.js";
10
10
  import { _ as _sfc_main$1 } from "./LpIcon-C6JpQ5td.js";
11
- import { _ as _sfc_main$2 } from "./LpScrollArea-ay4Xo_hg.js";
11
+ import { _ as _sfc_main$2 } from "./LpScrollArea-CqvwfZs2.js";
12
12
  import { useModalLayer, anyModalOpen } from "../components/modalDepth.js";
13
13
  import { startPointerDrag } from "../composables/pointerDrag.js";
14
14
  import { useView, viewDocument, usePortalTarget, useOutsideGuard, viewWindow } from "../composables/useView.js";
@@ -5,9 +5,9 @@ import { isElement } from "../composables/realm.js";
5
5
  import { withLoadedChildren, computeStats, formatSize, isFilterEmpty, filterTree, sortNodes, flattenVisible, rowWindow, renameProblem, nodeTrail, subtreeIds, rangeIds, topmostIds, canDrop, ancestorIds } from "../components/fileTree.js";
6
6
  import { _ as _sfc_main$4 } from "./LpBreadcrumbs-CIIBsygI.js";
7
7
  import { _ as _sfc_main$2 } from "./LpEmptyState-DurPF001.js";
8
- import { _ as _sfc_main$6 } from "./LpFileTreeNode-4dVmFHb3.js";
9
- import { _ as _sfc_main$3 } from "./LpInput-DL6HEJdi.js";
10
- import { _ as _sfc_main$5 } from "./LpScrollArea-ay4Xo_hg.js";
8
+ import { _ as _sfc_main$6 } from "./LpFileTreeNode-BgYn4U1J.js";
9
+ import { _ as _sfc_main$3 } from "./LpInput-D0O6dpuA.js";
10
+ import { _ as _sfc_main$5 } from "./LpScrollArea-CqvwfZs2.js";
11
11
  import { _ as _sfc_main$1 } from "./LpSkeleton-BB6XIV-w.js";
12
12
  import { usePersisted } from "../composables/usePersisted.js";
13
13
  import { useMergedAttrs } from "../composables/useMergedClass.js";
@@ -3,7 +3,7 @@ import { sortNodes, formatSize, formatModified, renameSelectionEnd, fileIcon } f
3
3
  import { _ as _sfc_main$5 } from "./LpBadge-D5QQdDQ_.js";
4
4
  import { _ as _sfc_main$4 } from "./LpCheckbox-D6RuDW4X.js";
5
5
  import { _ as _sfc_main$6 } from "./LpCollapse-DrAw5DBZ.js";
6
- import { _ as _sfc_main$1 } from "./LpContextMenu--eMGIql6.js";
6
+ import { _ as _sfc_main$1 } from "./LpContextMenu-Bx_IhQDS.js";
7
7
  import { _ as _sfc_main$3 } from "./LpIcon-C6JpQ5td.js";
8
8
  import { _ as _sfc_main$2 } from "./LpLoader-Bf1yZwaU.js";
9
9
  import { staggerDelay } from "../components/reveal.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent, useModel, computed, watch, onBeforeUnmount, renderSlot, openBlock, createBlock, unref, withCtx, createVNode, normalizeClass, createCommentVNode, mergeModels } from "vue";
1
+ import { defineComponent, useModel, computed, watch, onBeforeUnmount, renderSlot, openBlock, createBlock, unref, withCtx, createVNode, mergeProps, normalizeClass, createCommentVNode, mergeModels } from "vue";
2
2
  import { HoverCardRoot, HoverCardTrigger, HoverCardPortal, HoverCardContent, HoverCardArrow } from "reka-ui";
3
3
  import { mergeClass } from "../composables/useMergedClass.js";
4
4
  import { usePortalTarget, useOutsideGuard } from "../composables/useView.js";
@@ -6,6 +6,7 @@ import { POPOVER_PANEL } from "../components/dropdown.js";
6
6
  const SLOP = 8;
7
7
  const CLICK_AFTER_RELEASE_MS = 350;
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
+ ...{ inheritAttrs: false },
9
10
  __name: "LpHoverCard",
10
11
  props: /* @__PURE__ */ mergeModels({
11
12
  side: { default: "bottom" },
@@ -95,21 +96,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
95
96
  "close-delay": __props.closeDelay
96
97
  }, {
97
98
  default: withCtx(() => [
98
- createVNode(unref(HoverCardTrigger), {
99
- "as-child": "",
100
- class: normalizeClass(__props.touch === "hold" ? "[-webkit-touch-callout:none]" : void 0),
99
+ createVNode(unref(HoverCardTrigger), mergeProps({ "as-child": "" }, _ctx.$attrs, {
100
+ class: __props.touch === "hold" ? "[-webkit-touch-callout:none]" : void 0,
101
101
  onPointerdown: onPointerDown,
102
102
  onPointermove: onPointerMove,
103
103
  onPointerup: onPointerUp,
104
104
  onPointercancel: onPointerCancel,
105
105
  onClickCapture,
106
106
  onContextmenu: onContextMenu
107
- }, {
107
+ }), {
108
108
  default: withCtx(() => [
109
109
  renderSlot(_ctx.$slots, "trigger")
110
110
  ]),
111
111
  _: 3
112
- }, 8, ["class"]),
112
+ }, 16, ["class"]),
113
113
  createVNode(unref(HoverCardPortal), { to: unref(portalTo) }, {
114
114
  default: withCtx(() => [
115
115
  createVNode(unref(HoverCardContent), {
@@ -19,7 +19,24 @@ const _hoisted_8 = {
19
19
  const _sfc_main = /* @__PURE__ */ defineComponent({
20
20
  __name: "LpInfraNode",
21
21
  props: {
22
+ id: {},
23
+ type: {},
24
+ connectable: { type: [Boolean, Number, String, Function] },
25
+ position: {},
26
+ dimensions: {},
27
+ label: {},
28
+ isValidTargetPos: { type: Function },
29
+ isValidSourcePos: { type: Function },
30
+ parent: {},
31
+ parentNodeId: {},
32
+ dragging: { type: Boolean },
33
+ resizing: { type: Boolean },
34
+ zIndex: {},
35
+ targetPosition: {},
36
+ sourcePosition: {},
37
+ dragHandle: {},
22
38
  data: {},
39
+ events: {},
23
40
  selected: { type: Boolean },
24
41
  roles: {}
25
42
  },
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, useSlots, useAttrs, ref, openBlock, createBlock, normalizeProps, guardReactiveProps, unref, withCtx, createElementVNode, normalizeStyle, normalizeClass, createElementBlock, renderSlot, createCommentVNode, mergeProps, withModifiers, createVNode } from "vue";
1
+ import { defineComponent, computed, useSlots, useAttrs, ref, openBlock, createBlock, normalizeProps, guardReactiveProps, unref, withCtx, createElementVNode, normalizeStyle, normalizeClass, createVNode, createSlots, renderSlot, mergeProps, createElementBlock, withModifiers, createCommentVNode } from "vue";
2
2
  import { CONTROL_SIZE } from "../components/controlSize.js";
3
3
  import { usePaletteControl } from "../composables/usePaletteCommands.js";
4
4
  import { tv } from "tailwind-variants";
@@ -8,13 +8,10 @@ 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
10
  import { _ as _sfc_main$1 } from "./FieldWrapper-DnuMTrqW.js";
11
- import { _ as _sfc_main$2 } from "./LpIcon-C6JpQ5td.js";
12
- const _hoisted_1 = {
13
- key: 0,
14
- class: "flex shrink-0 items-center text-muted"
15
- };
16
- const _hoisted_2 = ["id", "type", "value", "placeholder", "disabled", "required", "aria-invalid", "aria-describedby"];
17
- const _hoisted_3 = ["aria-label"];
11
+ import { _ as _sfc_main$2 } from "./FieldLeading-mr81aEAP.js";
12
+ import { _ as _sfc_main$3 } from "./LpIcon-C6JpQ5td.js";
13
+ const _hoisted_1 = ["id", "type", "value", "placeholder", "disabled", "required", "aria-invalid", "aria-describedby"];
14
+ const _hoisted_2 = ["aria-label"];
18
15
  const __default__ = { inheritAttrs: false };
19
16
  const _sfc_main = /* @__PURE__ */ defineComponent({
20
17
  ...__default__,
@@ -140,15 +137,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
140
137
  class: normalizeClass(unref(mergeClass)(shellClass.value, hasLeading.value ? "pl-2.5" : "", hasTrailing.value ? "pr-1.5" : "", hasField.value ? "" : unref(attrs).class)),
141
138
  style: normalizeStyle(hasField.value ? void 0 : unref(attrs).style)
142
139
  }, [
143
- hasLeading.value ? (openBlock(), createElementBlock("span", _hoisted_1, [
144
- renderSlot(_ctx.$slots, "leading", {}, () => [
145
- __props.icon ? (openBlock(), createBlock(_sfc_main$2, {
146
- key: 0,
147
- name: __props.icon,
148
- size: 16
149
- }, null, 8, ["name"])) : createCommentVNode("", true)
150
- ])
151
- ])) : createCommentVNode("", true),
140
+ createVNode(_sfc_main$2, { icon: __props.icon }, createSlots({ _: 2 }, [
141
+ _ctx.$slots.leading ? {
142
+ name: "default",
143
+ fn: withCtx(() => [
144
+ renderSlot(_ctx.$slots, "leading")
145
+ ]),
146
+ key: "0"
147
+ } : void 0
148
+ ]), 1032, ["icon"]),
152
149
  createElementVNode("input", mergeProps({
153
150
  ref_key: "inputEl",
154
151
  ref: inputEl
@@ -172,10 +169,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
172
169
  (...args) => unref(onPaste) && unref(onPaste)(...args)),
173
170
  onCompositionend: onComposed,
174
171
  onInput: onInputEvent
175
- }), null, 16, _hoisted_2),
172
+ }), null, 16, _hoisted_1),
176
173
  renderSlot(_ctx.$slots, "trailing"),
177
174
  showClear.value ? (openBlock(), createElementBlock("button", {
178
- key: 1,
175
+ key: 0,
179
176
  type: "button",
180
177
  "aria-label": unref(text).clear,
181
178
  class: "shrink-0 rounded-inner p-1 text-muted outline-none transition-colors hover:text-ink focus-visible:ring-2 focus-visible:ring-ring",
@@ -183,11 +180,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
183
180
  }, ["prevent"])),
184
181
  onClick: clear
185
182
  }, [
186
- createVNode(_sfc_main$2, {
183
+ createVNode(_sfc_main$3, {
187
184
  name: "lucide:x",
188
185
  size: __props.size === "sm" ? 12 : 16
189
186
  }, null, 8, ["size"])
190
- ], 40, _hoisted_3)) : createCommentVNode("", true)
187
+ ], 40, _hoisted_2)) : createCommentVNode("", true)
191
188
  ], 6)
192
189
  ]),
193
190
  _: 3
@@ -5,11 +5,11 @@ 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-DgBeM01y.js";
8
+ import { _ as _sfc_main$4 } from "./LpDataList-CaVfsozH.js";
9
9
  import { _ as _sfc_main$3 } from "./LpDisclosure-DG7JCo-d.js";
10
10
  import "@iconify/vue";
11
11
  import "./icons-CYfcpSDS.js";
12
- import { _ as _sfc_main$2 } from "./LpScrollArea-ay4Xo_hg.js";
12
+ import { _ as _sfc_main$2 } from "./LpScrollArea-CqvwfZs2.js";
13
13
  import { _ as _sfc_main$1 } from "./IconCloseButton-COZEsa9u.js";
14
14
  const _hoisted_1 = ["aria-label"];
15
15
  const _hoisted_2 = ["aria-label", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
@@ -2,7 +2,25 @@ import { defineComponent, openBlock, createElementBlock, normalizeStyle, createE
2
2
  const _sfc_main = /* @__PURE__ */ defineComponent({
3
3
  __name: "LpLaneNode",
4
4
  props: {
5
- data: {}
5
+ id: {},
6
+ type: {},
7
+ selected: { type: Boolean },
8
+ connectable: { type: [Boolean, Number, String, Function] },
9
+ position: {},
10
+ dimensions: {},
11
+ label: {},
12
+ isValidTargetPos: { type: Function },
13
+ isValidSourcePos: { type: Function },
14
+ parent: {},
15
+ parentNodeId: {},
16
+ dragging: { type: Boolean },
17
+ resizing: { type: Boolean },
18
+ zIndex: {},
19
+ targetPosition: {},
20
+ sourcePosition: {},
21
+ dragHandle: {},
22
+ data: {},
23
+ events: {}
6
24
  },
7
25
  setup(__props) {
8
26
  const props = __props;
@@ -6,7 +6,7 @@ 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-7EOSIuwa.js";
9
+ import { _ as _sfc_main$2 } from "./LpCopyButton-sAMvWeLP.js";
10
10
  import { _ as _sfc_main$1 } from "./LpIcon-C6JpQ5td.js";
11
11
  import { _ as _sfc_main$3 } from "./LpLoader-Bf1yZwaU.js";
12
12
  import { useModalLayer } from "../components/modalDepth.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
2
  import { _ as _sfc_main$2 } from "./LpIcon-C6JpQ5td.js";
3
- import { _ as _sfc_main$1 } from "./LpInput-DL6HEJdi.js";
3
+ import { _ as _sfc_main$1 } from "./LpInput-D0O6dpuA.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"];
@@ -5,12 +5,12 @@ import { prefersReducedMotion, durationToken, tokenEase } from "../composables/e
5
5
  import { useClipboard } from "../composables/useClipboard.js";
6
6
  import { useHotkeys } from "../composables/useHotkeys.js";
7
7
  import { _ as _sfc_main$7 } from "./LpBadge-D5QQdDQ_.js";
8
- import { _ as _sfc_main$6 } from "./LpContextMenu--eMGIql6.js";
8
+ import { _ as _sfc_main$6 } from "./LpContextMenu-Bx_IhQDS.js";
9
9
  import { _ as _sfc_main$4 } from "./LpEmptyState-DurPF001.js";
10
10
  import { _ as _sfc_main$2 } from "./LpIcon-C6JpQ5td.js";
11
11
  import { _ as _sfc_main$5 } from "./LpLoader-Bf1yZwaU.js";
12
- import { _ as _sfc_main$1 } from "./LpInput-DL6HEJdi.js";
13
- import { _ as _sfc_main$3 } from "./LpScrollArea-ay4Xo_hg.js";
12
+ import { _ as _sfc_main$1 } from "./LpInput-D0O6dpuA.js";
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";
16
16
  import { useResizeObserver } from "../composables/useResizeObserver.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-6cNnXqp4.js";
21
+ import { _ as _sfc_main$8 } from "./LpLogInspector-BdQlX6S-.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 = {
@@ -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--eMGIql6.js";
4
+ import { _ as _sfc_main$1 } from "./LpContextMenu-Bx_IhQDS.js";
5
5
  import { _ as _sfc_main$2 } from "./LpIcon-C6JpQ5td.js";
6
- import { _ as _sfc_main$3 } from "./LpLightbox-xvpQ64MM.js";
6
+ import { _ as _sfc_main$3 } from "./LpLightbox-CtDTQV01.js";
7
7
  const _hoisted_1 = { key: 0 };
8
8
  const _hoisted_2 = ["aria-label"];
9
9
  const _hoisted_3 = ["aria-label", "onClick"];
@@ -9,7 +9,7 @@ import { useShift } from "../composables/useShift.js";
9
9
  import { useModalLayer } from "../components/modalDepth.js";
10
10
  import { CLOSE_ICON } from "../components/dropdown.js";
11
11
  import { _ as _sfc_main$1 } from "./LpIcon-C6JpQ5td.js";
12
- import { _ as _sfc_main$2 } from "./LpScrollArea-ay4Xo_hg.js";
12
+ import { _ as _sfc_main$2 } from "./LpScrollArea-CqvwfZs2.js";
13
13
  import { usePortalTarget, useOutsideGuard } from "../composables/useView.js";
14
14
  const _hoisted_1 = {
15
15
  key: 0,
@@ -3,8 +3,8 @@ 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
5
  import { _ as _sfc_main$3 } from "./LpIcon-C6JpQ5td.js";
6
- import { _ as _sfc_main$1 } from "./LpModal-DrtQ_1A2.js";
7
- import { _ as _sfc_main$4 } from "./LpSidebar-kSkpPh3-.js";
6
+ import { _ as _sfc_main$1 } from "./LpModal-DDvrSAnf.js";
7
+ import { _ as _sfc_main$4 } from "./LpSidebar-DDNJzb69.js";
8
8
  const _hoisted_1 = { class: "flex items-center gap-2" };
9
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
10
10
  __name: "LpModalNav",
@@ -3,13 +3,13 @@ import { useLabels } from "../composables/useLpConfig.js";
3
3
  import { useNow } from "../composables/useNow.js";
4
4
  import { _ as _sfc_main$a } from "./LpBadge-D5QQdDQ_.js";
5
5
  import { _ as _sfc_main$9 } from "./LpButton-DSHioIfD.js";
6
- import { _ as _sfc_main$6 } from "./LpContextMenu--eMGIql6.js";
6
+ import { _ as _sfc_main$6 } from "./LpContextMenu-Bx_IhQDS.js";
7
7
  import { _ as _sfc_main$4 } from "./LpEmptyState-DurPF001.js";
8
8
  import { _ as _sfc_main$7 } from "./LpIcon-C6JpQ5td.js";
9
9
  import { _ as _sfc_main$1 } from "./LpPopover-BQSuxtai.js";
10
- import { _ as _sfc_main$8 } from "./LpRelativeTime-BovUk8MP.js";
10
+ import { _ as _sfc_main$8 } from "./LpRelativeTime-0zI-44ve.js";
11
11
  import { _ as _sfc_main$b } from "./LpRollingText-B54Pje7P.js";
12
- import { _ as _sfc_main$5 } from "./LpScrollArea-ay4Xo_hg.js";
12
+ import { _ as _sfc_main$5 } from "./LpScrollArea-CqvwfZs2.js";
13
13
  import { _ as _sfc_main$3 } from "./LpSkeleton-BB6XIV-w.js";
14
14
  import { _ as _sfc_main$2 } from "./LpShift-DAgS_d2x.js";
15
15
  import { toneLook } from "../components/tone.js";
@@ -1,8 +1,9 @@
1
- import { defineComponent, useId, computed, openBlock, createBlock, unref, normalizeStyle, normalizeClass, withCtx, createVNode, createCommentVNode, mergeProps, createElementBlock, toDisplayString } from "vue";
1
+ import { defineComponent, useId, computed, openBlock, createBlock, unref, normalizeStyle, normalizeClass, withCtx, createVNode, createSlots, renderSlot, createCommentVNode, mergeProps, createElementBlock, toDisplayString } from "vue";
2
2
  import { CONTROL_SIZE } from "../components/controlSize.js";
3
3
  import { usePaletteControl } from "../composables/usePaletteCommands.js";
4
4
  import { NumberFieldRoot, NumberFieldDecrement, NumberFieldInput, NumberFieldIncrement } from "reka-ui";
5
- import { _ as _sfc_main$1 } from "./LpIcon-C6JpQ5td.js";
5
+ import { _ as _sfc_main$1 } from "./FieldLeading-mr81aEAP.js";
6
+ import { _ as _sfc_main$2 } from "./LpIcon-C6JpQ5td.js";
6
7
  import { useAttrsField, mergeDescribedBy, focusLeft } from "../composables/useField.js";
7
8
  import { useLabels } from "../composables/useLpConfig.js";
8
9
  import { useMergedClass } from "../composables/useMergedClass.js";
@@ -27,6 +28,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
27
28
  steppers: { type: Boolean, default: true },
28
29
  disabled: { type: Boolean },
29
30
  unit: {},
31
+ icon: {},
30
32
  invalid: { type: Boolean },
31
33
  size: { default: "md" },
32
34
  labels: {}
@@ -84,13 +86,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
84
86
  onFocusout: onFocusOut
85
87
  }, {
86
88
  default: withCtx(() => [
89
+ createVNode(_sfc_main$1, {
90
+ icon: __props.icon,
91
+ class: "pl-2.5"
92
+ }, createSlots({ _: 2 }, [
93
+ _ctx.$slots.leading ? {
94
+ name: "default",
95
+ fn: withCtx(() => [
96
+ renderSlot(_ctx.$slots, "leading")
97
+ ]),
98
+ key: "0"
99
+ } : void 0
100
+ ]), 1032, ["icon"]),
87
101
  __props.steppers ? (openBlock(), createBlock(unref(NumberFieldDecrement), {
88
102
  key: 0,
89
103
  "aria-label": unref(text).decrease,
90
104
  class: "group grid h-full w-8 shrink-0 place-items-center @max-[8.5rem]:hidden text-muted transition-colors duration-[var(--duration-fast)] hover:text-ink disabled:opacity-40"
91
105
  }, {
92
106
  default: withCtx(() => [
93
- createVNode(_sfc_main$1, {
107
+ createVNode(_sfc_main$2, {
94
108
  name: "lucide:minus",
95
109
  size: 15,
96
110
  class: "transition-transform duration-[var(--duration-fast)] ease-[var(--ease-emphasized)] group-active:scale-75 motion-reduce:group-active:scale-100"
@@ -102,7 +116,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
102
116
  id: unref(field).id,
103
117
  "aria-describedby": describedBy.value,
104
118
  "aria-invalid": unref(field).invalid || void 0,
105
- class: ["min-w-0 flex-1 bg-transparent text-ink outline-none placeholder:text-muted [appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none", __props.steppers ? "text-center @max-[8.5rem]:px-3 @max-[8.5rem]:text-left" : "px-3"]
119
+ class: ["min-w-0 flex-1 bg-transparent text-ink outline-none placeholder:text-muted [appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none", __props.steppers ? "text-center @max-[8.5rem]:px-3 @max-[8.5rem]:text-left" : __props.icon || _ctx.$slots.leading ? "pl-2 pr-3" : "px-3"]
106
120
  }), null, 16, ["id", "aria-describedby", "aria-invalid", "class"]),
107
121
  __props.unit ? (openBlock(), createElementBlock("span", {
108
122
  key: 1,
@@ -115,7 +129,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
115
129
  class: "group grid h-full w-8 shrink-0 place-items-center @max-[8.5rem]:hidden text-muted transition-colors duration-[var(--duration-fast)] hover:text-ink disabled:opacity-40"
116
130
  }, {
117
131
  default: withCtx(() => [
118
- createVNode(_sfc_main$1, {
132
+ createVNode(_sfc_main$2, {
119
133
  name: "lucide:plus",
120
134
  size: 15,
121
135
  class: "transition-transform duration-[var(--duration-fast)] ease-[var(--ease-emphasized)] group-active:scale-75 motion-reduce:group-active:scale-100"
@@ -124,7 +138,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
124
138
  _: 1
125
139
  }, 8, ["aria-label"])) : createCommentVNode("", true)
126
140
  ]),
127
- _: 1
141
+ _: 3
128
142
  }, 8, ["model-value", "min", "max", "step", "step-snapping", "readonly", "disable-wheel-change", "invert-wheel-change", "focus-on-change", "format-options", "locale", "disabled", "required", "class", "style", "name"]);
129
143
  };
130
144
  }