@leavepulse/ui 0.78.0 → 0.78.2

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 (243) hide show
  1. package/dist/chunks/{DropzoneLinkField-DXIr0eFz.js → DropzoneLinkField-CyE7TJ5f.js} +1 -1
  2. package/dist/chunks/FieldLeading-mr81aEAP.js +27 -0
  3. package/dist/chunks/LpAddressInput-ft8fQOGx.js +401 -0
  4. package/dist/chunks/{LpAppShell-BNAVTQsY.js → LpAppShell-DkvU6IBB.js} +23 -4
  5. package/dist/chunks/LpAutocomplete-CrZbd0uv.js +310 -0
  6. package/dist/chunks/LpCheckbox-CCWCwD0y.js +129 -0
  7. package/dist/chunks/{LpCodeBlock-DuzmnIHl.js → LpCodeBlock-DBqy4RLd.js} +1 -1
  8. package/dist/chunks/{LpCodeDisplay-CO8fngxa.js → LpCodeDisplay-D59uPwRb.js} +3 -3
  9. package/dist/chunks/LpColorPicker-BONURBFN.js +574 -0
  10. package/dist/chunks/{LpConfirmDialog-6oCIJTDa.js → LpConfirmDialog-CnrmzkuN.js} +1 -1
  11. package/dist/chunks/{LpConfirmHost-DgHvfT6s.js → LpConfirmHost-CwbObVGH.js} +1 -1
  12. package/dist/chunks/{LpContextMenu--eMGIql6.js → LpContextMenu-Bx_IhQDS.js} +5 -5
  13. package/dist/chunks/{LpCopyButton-7EOSIuwa.js → LpCopyButton-sAMvWeLP.js} +1 -1
  14. package/dist/chunks/{LpDataList-DgBeM01y.js → LpDataList-CaVfsozH.js} +2 -2
  15. package/dist/chunks/LpDatePicker-C2AOtxgF.js +171 -0
  16. package/dist/chunks/{LpDateRangePicker-CNQXdTVv.js → LpDateRangePicker-CiXdIAyh.js} +43 -35
  17. package/dist/chunks/{LpDrawer-Bt9UUqt_.js → LpDrawer-DXNQFpAA.js} +1 -1
  18. package/dist/chunks/{LpFileTree-BSx1kBoV.js → LpFileTree-CpNurwZp.js} +3 -3
  19. package/dist/chunks/{LpFileTreeNode-4dVmFHb3.js → LpFileTreeNode-DdF8Cq-s.js} +2 -2
  20. package/dist/chunks/{LpHoverCard-DanH3Nz1.js → LpHoverCard-CHE9jAJG.js} +6 -6
  21. package/dist/chunks/{LpInfraNode-BAU40Km2.js → LpInfraNode-Bb5nbuFY.js} +17 -0
  22. package/dist/chunks/{LpInput-DL6HEJdi.js → LpInput-CbI7z5fQ.js} +21 -25
  23. package/dist/chunks/{LpInspector-CuoMAhiw.js → LpInspector-DO3fTCQ1.js} +2 -2
  24. package/dist/chunks/{LpLaneNode-HtnQf2FF.js → LpLaneNode-Bqcdm8Rf.js} +19 -1
  25. package/dist/chunks/{LpLightbox-xvpQ64MM.js → LpLightbox-CtDTQV01.js} +1 -1
  26. package/dist/chunks/{LpLogInspector-6cNnXqp4.js → LpLogInspector-CcSJSGan.js} +1 -1
  27. package/dist/chunks/{LpLogViewer-Dvb1E9_G.js → LpLogViewer-CWu49Dko.js} +4 -4
  28. package/dist/chunks/{LpMediaGallery-Df-tiWeq.js → LpMediaGallery-BYEwySoF.js} +2 -2
  29. package/dist/chunks/{LpModal-DrtQ_1A2.js → LpModal-DDvrSAnf.js} +1 -1
  30. package/dist/chunks/{LpModalNav-DkmGCnZE.js → LpModalNav-DI3BW5ff.js} +2 -2
  31. package/dist/chunks/{LpNotificationBell-D_wklO1m.js → LpNotificationBell-DUbVyK6R.js} +3 -3
  32. package/dist/chunks/LpNumberField-C8LfUz_R.js +154 -0
  33. package/dist/chunks/LpOtpInput-B1X9l9no.js +140 -0
  34. package/dist/chunks/LpPageScrollbar-D2O0xhJw.js +164 -0
  35. package/dist/chunks/{LpPaletteTheme-dVtxHx-F.js → LpPaletteTheme-B-xuZiKK.js} +2 -2
  36. package/dist/chunks/{LpPasswordInput-B-zD6tUS.js → LpPasswordInput-Duc_3wPv.js} +2 -2
  37. package/dist/chunks/{LpPhoneInput-BSL7NX4z.js → LpPhoneInput-CctcRK9K.js} +124 -118
  38. package/dist/chunks/{LpPie-9t_guO49.js → LpPie-oVNHjsKD.js} +2 -2
  39. package/dist/chunks/{LpPipeline-rjXvEDRJ.js → LpPipeline-BSXT6oUJ.js} +1 -1
  40. package/dist/chunks/LpRadioGroup-DTM0nd9G.js +103 -0
  41. package/dist/chunks/LpRangeSlider-DJsEZXad.js +97 -0
  42. package/dist/chunks/{LpRelativeTime-BovUk8MP.js → LpRelativeTime-0zI-44ve.js} +1 -1
  43. package/dist/chunks/LpRepeater-Czib3rmv.js +193 -0
  44. package/dist/chunks/{LpScrollArea-ay4Xo_hg.js → LpScrollArea-CqvwfZs2.js} +9 -12
  45. package/dist/chunks/{LpSecretField-DBvU6iAw.js → LpSecretField-BtlCk3IH.js} +4 -4
  46. package/dist/chunks/LpSegmented-sskrJKJJ.js +128 -0
  47. package/dist/chunks/LpSelect-JFZehOkd.js +515 -0
  48. package/dist/chunks/{LpServiceNode-D8uJ8sGk.js → LpServiceNode-Cln2ntdw.js} +17 -0
  49. package/dist/chunks/{LpSidebar-kSkpPh3-.js → LpSidebar-CvRvVBTt.js} +4 -4
  50. package/dist/chunks/{LpSidebarNav-C2mvqrY2.js → LpSidebarNav-CE0jQS8i.js} +2 -2
  51. package/dist/chunks/{LpSidebarRow-eRP4Q31q.js → LpSidebarRow-DOTg1txp.js} +2 -2
  52. package/dist/chunks/LpSlider-C4ilCtZX.js +76 -0
  53. package/dist/chunks/{LpStat-pMNZgFcq.js → LpStat-DPjc6_fX.js} +17 -4
  54. package/dist/chunks/LpSwitch-DyAYTchz.js +122 -0
  55. package/dist/chunks/{LpTableFilter-DgARTsA1.js → LpTableFilter-CJg5eIcV.js} +2 -2
  56. package/dist/chunks/{LpTagsInput-Dt0mteSj.js → LpTagsInput-CkNxpNYa.js} +4 -3
  57. package/dist/chunks/{LpTextarea-Co0b9PVx.js → LpTextarea-CFK_5QB8.js} +3 -2
  58. package/dist/chunks/{LpThemeStudio-DzYfE-5k.js → LpThemeStudio-R-wohbCY.js} +3 -3
  59. package/dist/chunks/{LpThemeSwitcher-CFLkdbBL.js → LpThemeSwitcher-Bzy15MCP.js} +2 -2
  60. package/dist/chunks/LpTimeField-B5n0m8m0.js +115 -0
  61. package/dist/chunks/{LpToaster-QFj0P-5m.js → LpToaster-Ct_ZOhCh.js} +1 -1
  62. package/dist/chunks/{LpTooltip-BJf3lZMq.js → LpTooltip-Bz_rrq5S.js} +5 -5
  63. package/dist/chunks/{LpTopologyCanvas-BOHHHZ_6.js → LpTopologyCanvas-BNgw9RyZ.js} +14 -9
  64. package/dist/chunks/{LpTruncate-C6u3gjc6.js → LpTruncate-ellq9RYM.js} +2 -2
  65. package/dist/chunks/{LpUptimeBar-BnYmR2rj.js → LpUptimeBar-BoxcCDVY.js} +1 -1
  66. package/dist/chunks/{LpWorkspaceSwitcher-D0e9upAy.js → LpWorkspaceSwitcher-ugv-fyig.js} +2 -2
  67. package/dist/chunks/{RevealToggle-CCPDE8Mv.js → RevealToggle-D_iyrB8d.js} +1 -1
  68. package/dist/component-names.d.ts +1 -1
  69. package/dist/components/DropzoneLinkField.vue.js +1 -1
  70. package/dist/components/FieldLeading.vue.d.ts +16 -0
  71. package/dist/components/FieldLeading.vue.js +4 -0
  72. package/dist/components/LpAddressInput.vue.d.ts +4 -0
  73. package/dist/components/LpAddressInput.vue.js +1 -1
  74. package/dist/components/LpAlert.vue.d.ts +3 -3
  75. package/dist/components/LpAppShell.vue.d.ts +16 -1
  76. package/dist/components/LpAppShell.vue.js +1 -1
  77. package/dist/components/LpAutocomplete.vue.d.ts +4 -0
  78. package/dist/components/LpAutocomplete.vue.js +1 -1
  79. package/dist/components/LpBadge.vue.d.ts +2 -2
  80. package/dist/components/LpChart.vue.d.ts +1 -1
  81. package/dist/components/LpChart.vue.js +1 -1
  82. package/dist/components/LpCheckbox.vue.d.ts +4 -0
  83. package/dist/components/LpCheckbox.vue.js +1 -1
  84. package/dist/components/LpCodeBlock.vue.js +1 -1
  85. package/dist/components/LpCodeDisplay.vue.js +1 -1
  86. package/dist/components/LpCollapse.vue.d.ts +1 -1
  87. package/dist/components/LpColorPicker.vue.d.ts +5 -3
  88. package/dist/components/LpColorPicker.vue.js +1 -1
  89. package/dist/components/LpCommandPalette.vue.js +1 -1
  90. package/dist/components/LpConfirmDialog.vue.js +1 -1
  91. package/dist/components/LpConfirmHost.vue.js +1 -1
  92. package/dist/components/LpContextMenu.vue.js +1 -1
  93. package/dist/components/LpCopyButton.vue.js +1 -1
  94. package/dist/components/LpDataList.vue.js +1 -1
  95. package/dist/components/LpDatePicker.vue.js +1 -1
  96. package/dist/components/LpDateRangePicker.vue.js +1 -1
  97. package/dist/components/LpDock.vue.js +1 -1
  98. package/dist/components/LpDrawer.vue.js +1 -1
  99. package/dist/components/LpDropzone.vue.js +1 -1
  100. package/dist/components/LpFileTree.vue.js +1 -1
  101. package/dist/components/LpFileTreeNode.vue.js +1 -1
  102. package/dist/components/LpHoverCard.vue.js +1 -1
  103. package/dist/components/LpImageEditor.vue.d.ts +1 -1
  104. package/dist/components/LpInfraNode.vue.d.ts +11 -2
  105. package/dist/components/LpInfraNode.vue.js +1 -1
  106. package/dist/components/LpInput.vue.js +1 -1
  107. package/dist/components/LpInspector.vue.js +1 -1
  108. package/dist/components/LpLaneNode.vue.d.ts +2 -3
  109. package/dist/components/LpLaneNode.vue.js +1 -1
  110. package/dist/components/LpLightbox.vue.js +1 -1
  111. package/dist/components/LpLogInspector.vue.js +1 -1
  112. package/dist/components/LpLogViewer.vue.js +1 -1
  113. package/dist/components/LpMediaGallery.vue.js +1 -1
  114. package/dist/components/LpModal.vue.js +1 -1
  115. package/dist/components/LpModalNav.vue.js +1 -1
  116. package/dist/components/LpNotificationBell.vue.js +1 -1
  117. package/dist/components/LpNumberField.vue.d.ts +17 -2
  118. package/dist/components/LpNumberField.vue.js +1 -1
  119. package/dist/components/LpOtpInput.vue.d.ts +4 -0
  120. package/dist/components/LpOtpInput.vue.js +1 -1
  121. package/dist/components/LpPageScrollbar.vue.d.ts +10 -0
  122. package/dist/components/LpPageScrollbar.vue.js +4 -0
  123. package/dist/components/LpPaletteTheme.vue.js +1 -1
  124. package/dist/components/LpPasswordInput.vue.js +1 -1
  125. package/dist/components/LpPhoneInput.vue.d.ts +4 -0
  126. package/dist/components/LpPhoneInput.vue.js +1 -1
  127. package/dist/components/LpPie.vue.js +1 -1
  128. package/dist/components/LpPipeline.vue.js +1 -1
  129. package/dist/components/LpRadioGroup.vue.d.ts +4 -0
  130. package/dist/components/LpRadioGroup.vue.js +1 -1
  131. package/dist/components/LpRangeSlider.vue.d.ts +4 -0
  132. package/dist/components/LpRangeSlider.vue.js +1 -1
  133. package/dist/components/LpRelativeTime.vue.js +1 -1
  134. package/dist/components/LpRepeater.vue.d.ts +2 -0
  135. package/dist/components/LpRepeater.vue.js +1 -1
  136. package/dist/components/LpScrollArea.vue.d.ts +1 -1
  137. package/dist/components/LpScrollArea.vue.js +1 -1
  138. package/dist/components/LpSecretField.vue.js +1 -1
  139. package/dist/components/LpSegmented.vue.d.ts +4 -0
  140. package/dist/components/LpSegmented.vue.js +1 -1
  141. package/dist/components/LpSelect.vue.d.ts +2 -0
  142. package/dist/components/LpSelect.vue.js +1 -1
  143. package/dist/components/LpServiceNode.vue.d.ts +8 -2
  144. package/dist/components/LpServiceNode.vue.js +1 -1
  145. package/dist/components/LpShinyText.vue.d.ts +1 -1
  146. package/dist/components/LpShortcutsDialog.vue.js +1 -1
  147. package/dist/components/LpSidebar.vue.d.ts +1 -1
  148. package/dist/components/LpSidebar.vue.js +1 -1
  149. package/dist/components/LpSidebarNav.vue.js +1 -1
  150. package/dist/components/LpSidebarRow.vue.js +1 -1
  151. package/dist/components/LpSlider.vue.d.ts +4 -0
  152. package/dist/components/LpSlider.vue.js +1 -1
  153. package/dist/components/LpStat.vue.d.ts +16 -0
  154. package/dist/components/LpStat.vue.js +1 -1
  155. package/dist/components/LpSwitch.vue.d.ts +4 -0
  156. package/dist/components/LpSwitch.vue.js +1 -1
  157. package/dist/components/LpTable.vue.js +5 -5
  158. package/dist/components/LpTableFilter.vue.js +1 -1
  159. package/dist/components/LpTabs.vue.d.ts +1 -1
  160. package/dist/components/LpTabs.vue.js +1 -1
  161. package/dist/components/LpTagsInput.vue.js +1 -1
  162. package/dist/components/LpTextarea.vue.js +1 -1
  163. package/dist/components/LpThemeStudio.vue.js +1 -1
  164. package/dist/components/LpThemeSwitcher.vue.js +1 -1
  165. package/dist/components/LpTimeField.vue.d.ts +4 -0
  166. package/dist/components/LpTimeField.vue.js +1 -1
  167. package/dist/components/LpToaster.vue.js +1 -1
  168. package/dist/components/LpTooltip.vue.js +1 -1
  169. package/dist/components/LpTopologyCanvas.vue.d.ts +2 -2
  170. package/dist/components/LpTopologyCanvas.vue.js +1 -1
  171. package/dist/components/LpTruncate.vue.js +1 -1
  172. package/dist/components/LpUptimeBar.vue.js +1 -1
  173. package/dist/components/LpWorkspaceSwitcher.vue.js +1 -1
  174. package/dist/components/RevealToggle.vue.js +1 -1
  175. package/dist/components/calendar.d.ts +2 -0
  176. package/dist/components/menuWhen.js +1 -1
  177. package/dist/components/scrollbar.d.ts +34 -0
  178. package/dist/components/scrollbar.js +47 -0
  179. package/dist/composables/propCheck.d.ts +1 -1
  180. package/dist/composables/propCheck.js +15 -4
  181. package/dist/composables/useField.d.ts +50 -0
  182. package/dist/composables/useField.js +31 -2
  183. package/dist/composables/useMergedClass.d.ts +6 -2
  184. package/dist/composables/useMergedClass.js +6 -6
  185. package/dist/composables/usePaletteCommands.js +4 -2
  186. package/dist/index.d.ts +1 -0
  187. package/dist/index.js +170 -168
  188. package/package.json +1 -1
  189. package/src/component-names.ts +1 -0
  190. package/src/components/FieldLeading.vue +17 -0
  191. package/src/components/LpAddressInput.vue +8 -4
  192. package/src/components/LpAppShell.vue +23 -0
  193. package/src/components/LpAutocomplete.vue +11 -5
  194. package/src/components/LpCheckbox.vue +8 -6
  195. package/src/components/LpColorPicker.vue +7 -4
  196. package/src/components/LpContextMenu.vue +7 -0
  197. package/src/components/LpDatePicker.vue +8 -4
  198. package/src/components/LpDateRangePicker.vue +8 -4
  199. package/src/components/LpHoverCard.vue +7 -0
  200. package/src/components/LpInfraNode.vue +4 -3
  201. package/src/components/LpInput.vue +7 -7
  202. package/src/components/LpLaneNode.vue +5 -1
  203. package/src/components/LpNumberField.vue +18 -7
  204. package/src/components/LpOtpInput.vue +8 -6
  205. package/src/components/LpPageScrollbar.vue +195 -0
  206. package/src/components/LpPhoneInput.vue +11 -6
  207. package/src/components/LpRadioGroup.vue +9 -5
  208. package/src/components/LpRangeSlider.vue +8 -4
  209. package/src/components/LpRepeater.vue +16 -4
  210. package/src/components/LpScrollArea.vue +27 -23
  211. package/src/components/LpSegmented.vue +8 -4
  212. package/src/components/LpSelect.vue +8 -7
  213. package/src/components/LpServiceNode.vue +4 -2
  214. package/src/components/LpSlider.vue +8 -4
  215. package/src/components/LpStat.vue +25 -5
  216. package/src/components/LpSwitch.vue +8 -5
  217. package/src/components/LpTagsInput.vue +4 -3
  218. package/src/components/LpTextarea.vue +3 -2
  219. package/src/components/LpTimeField.vue +8 -6
  220. package/src/components/LpTooltip.vue +7 -0
  221. package/src/components/LpTopologyCanvas.vue +3 -1
  222. package/src/components/calendar.ts +2 -0
  223. package/src/components/scrollbar.ts +71 -0
  224. package/src/composables/propCheck.ts +20 -5
  225. package/src/composables/useField.ts +52 -0
  226. package/src/composables/useMergedClass.ts +11 -5
  227. package/src/composables/usePaletteCommands.ts +5 -2
  228. package/src/index.ts +1 -0
  229. package/dist/chunks/LpAddressInput-ZqoZ-N2Y.js +0 -393
  230. package/dist/chunks/LpAutocomplete-DkY6CSyD.js +0 -302
  231. package/dist/chunks/LpCheckbox-D6RuDW4X.js +0 -124
  232. package/dist/chunks/LpColorPicker-BxAHEnR5.js +0 -567
  233. package/dist/chunks/LpDatePicker-DwSDY0mt.js +0 -163
  234. package/dist/chunks/LpNumberField-CNHsmSDZ.js +0 -134
  235. package/dist/chunks/LpOtpInput-BRpLBbOD.js +0 -132
  236. package/dist/chunks/LpRadioGroup-BrazjLY_.js +0 -95
  237. package/dist/chunks/LpRangeSlider-fz61tzc-.js +0 -89
  238. package/dist/chunks/LpRepeater-BkJHSPI1.js +0 -180
  239. package/dist/chunks/LpSegmented-DbEJhbv-.js +0 -123
  240. package/dist/chunks/LpSelect-Y-iuSymW.js +0 -512
  241. package/dist/chunks/LpSlider-A4ixovgS.js +0 -68
  242. package/dist/chunks/LpSwitch-DnC2-0aV.js +0 -115
  243. package/dist/chunks/LpTimeField-DeOcKWJq.js +0 -110
@@ -0,0 +1,171 @@
1
+ import { defineComponent, ref, computed, useAttrs, openBlock, createBlock, normalizeProps, guardReactiveProps, unref, withCtx, createVNode, mergeProps, createElementVNode, createElementBlock, toDisplayString, createCommentVNode } from "vue";
2
+ import { _ as _sfc_main$1 } from "./FieldWrapper-DnuMTrqW.js";
3
+ import { useOwnField } from "../composables/useField.js";
4
+ import { useLocale } from "../composables/useLocale.js";
5
+ import { useLabels } from "../composables/useLpConfig.js";
6
+ import { defaultDatePresets, dayAllowed } from "../components/dateRange.js";
7
+ import { _ as _sfc_main$3 } from "./LpCalendar-D4-LVjfF.js";
8
+ import { _ as _sfc_main$4 } from "./LpIcon-C6JpQ5td.js";
9
+ import { _ as _sfc_main$2 } from "./PickerField-BM1dyafh.js";
10
+ import { _ as _sfc_main$5 } from "./LpTimeField-B5n0m8m0.js";
11
+ const _hoisted_1 = { class: "flex flex-col" };
12
+ const _hoisted_2 = {
13
+ key: 0,
14
+ class: "flex items-center gap-2 border-t border-line px-3 py-2"
15
+ };
16
+ const __default__ = { inheritAttrs: false };
17
+ const _sfc_main = /* @__PURE__ */ defineComponent({
18
+ ...__default__,
19
+ __name: "LpDatePicker",
20
+ props: {
21
+ clearable: { type: Boolean },
22
+ disabled: { type: Boolean },
23
+ invalid: { type: Boolean },
24
+ error: {},
25
+ size: { default: "md" },
26
+ locale: {},
27
+ modelValue: {},
28
+ placeholder: {},
29
+ min: {},
30
+ max: {},
31
+ isDisabled: {},
32
+ isDateUnavailable: {},
33
+ presets: { type: [Array, Boolean] },
34
+ format: { default: () => ({ year: "numeric", month: "short", day: "numeric" }) },
35
+ time: { type: Boolean },
36
+ defaultTime: { default: "00:00" },
37
+ doneLabel: {},
38
+ labels: {}
39
+ },
40
+ emits: ["update:modelValue", "blur"],
41
+ setup(__props, { emit: __emit }) {
42
+ const props = __props;
43
+ const emit = __emit;
44
+ const open = ref(false);
45
+ const day = computed(() => (props.modelValue || "").slice(0, 10));
46
+ const minute = computed(() => {
47
+ const at = (props.modelValue || "").slice(11, 16);
48
+ return /^\d{2}:\d{2}$/.test(at) ? at : "";
49
+ });
50
+ const locale = useLocale(() => props.locale);
51
+ const display = computed(() => {
52
+ if (!props.modelValue) return "";
53
+ const [y, m, d] = day.value.split("-").map(Number);
54
+ if (!y || !m || !d) return props.modelValue;
55
+ const shown = new Intl.DateTimeFormat(locale.value, props.format).format(new Date(y, m - 1, d));
56
+ return props.time && minute.value ? `${shown}, ${minute.value}` : shown;
57
+ });
58
+ function onPick(picked) {
59
+ const v = picked ?? (day.value || void 0);
60
+ if (!props.time) {
61
+ emit("update:modelValue", v);
62
+ open.value = false;
63
+ return;
64
+ }
65
+ emit("update:modelValue", v ? `${v}T${minute.value || props.defaultTime}` : void 0);
66
+ }
67
+ function onTime(at) {
68
+ if (!day.value) return;
69
+ emit("update:modelValue", `${day.value}T${at || props.defaultTime}`);
70
+ }
71
+ function clear() {
72
+ emit("update:modelValue", void 0);
73
+ }
74
+ useAttrs();
75
+ const { field, wrapper, controlAttrs } = useOwnField(() => ({ error: props.error, invalid: props.invalid, disabled: props.disabled }));
76
+ const text = useLabels(
77
+ "datePicker",
78
+ {
79
+ placeholder: "Pick a date",
80
+ clear: "Clear",
81
+ done: "Done",
82
+ presets: "Presets",
83
+ today: "Today",
84
+ tomorrow: "Tomorrow",
85
+ inWeek: "In a week"
86
+ },
87
+ () => props.labels
88
+ );
89
+ const presetList = computed(() => {
90
+ if (Array.isArray(props.presets)) return props.presets;
91
+ return props.presets ? defaultDatePresets(text.value) : [];
92
+ });
93
+ function presetFits(preset) {
94
+ return dayAllowed(preset.date(), props);
95
+ }
96
+ function pickPreset(preset) {
97
+ if (presetFits(preset)) onPick(preset.date());
98
+ }
99
+ const showClear = computed(() => props.clearable && !!props.modelValue && !field.value.disabled);
100
+ const presetOptions = computed(() => presetList.value.map((preset) => ({
101
+ label: preset.label,
102
+ disabled: !presetFits(preset),
103
+ selected: !!day.value && day.value === preset.date(),
104
+ select: () => pickPreset(preset)
105
+ })));
106
+ return (_ctx, _cache) => {
107
+ return openBlock(), createBlock(_sfc_main$1, normalizeProps(guardReactiveProps(unref(wrapper))), {
108
+ default: withCtx(() => [
109
+ createVNode(_sfc_main$2, mergeProps(unref(controlAttrs), {
110
+ open: open.value,
111
+ "onUpdate:open": _cache[2] || (_cache[2] = ($event) => open.value = $event),
112
+ field: unref(field),
113
+ display: display.value,
114
+ placeholder: __props.placeholder ?? unref(text).placeholder,
115
+ icon: "lucide:calendar",
116
+ size: __props.size,
117
+ clearable: showClear.value,
118
+ "clear-label": unref(text).clear,
119
+ "presets-label": unref(text).presets,
120
+ presets: presetOptions.value,
121
+ "presets-class": "sm:w-36",
122
+ onClear: clear,
123
+ onBlur: _cache[3] || (_cache[3] = ($event) => emit("blur", $event))
124
+ }), {
125
+ default: withCtx(() => [
126
+ createElementVNode("div", _hoisted_1, [
127
+ createVNode(_sfc_main$3, {
128
+ "model-value": day.value,
129
+ min: __props.min,
130
+ max: __props.max,
131
+ "is-disabled": __props.isDisabled,
132
+ "is-date-unavailable": __props.isDateUnavailable,
133
+ locale: unref(locale),
134
+ labels: __props.labels,
135
+ class: "border-0 bg-transparent",
136
+ "onUpdate:modelValue": onPick
137
+ }, null, 8, ["model-value", "min", "max", "is-disabled", "is-date-unavailable", "locale", "labels"]),
138
+ __props.time ? (openBlock(), createElementBlock("div", _hoisted_2, [
139
+ createVNode(_sfc_main$4, {
140
+ name: "lucide:clock",
141
+ size: 15,
142
+ class: "shrink-0 text-muted"
143
+ }),
144
+ createVNode(_sfc_main$5, {
145
+ "model-value": minute.value || void 0,
146
+ disabled: !day.value,
147
+ icon: false,
148
+ locale: unref(locale),
149
+ size: "sm",
150
+ class: "flex-1",
151
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = (at) => onTime(at || ""))
152
+ }, null, 8, ["model-value", "disabled", "locale"]),
153
+ createElementVNode("button", {
154
+ type: "button",
155
+ class: "shrink-0 rounded-control px-2 py-1 text-xs text-muted transition-colors hover:text-ink",
156
+ onClick: _cache[1] || (_cache[1] = ($event) => open.value = false)
157
+ }, toDisplayString(__props.doneLabel ?? unref(text).done), 1)
158
+ ])) : createCommentVNode("", true)
159
+ ])
160
+ ]),
161
+ _: 1
162
+ }, 16, ["open", "field", "display", "placeholder", "size", "clearable", "clear-label", "presets-label", "presets"])
163
+ ]),
164
+ _: 1
165
+ }, 16);
166
+ };
167
+ }
168
+ });
169
+ export {
170
+ _sfc_main as _
171
+ };
@@ -1,11 +1,12 @@
1
- import { defineComponent, ref, computed, openBlock, createBlock, mergeProps, unref, withCtx, createVNode } from "vue";
2
- import { useAttrsField } from "../composables/useField.js";
1
+ import { defineComponent, ref, computed, useAttrs, openBlock, createBlock, normalizeProps, guardReactiveProps, unref, withCtx, createVNode, mergeProps } from "vue";
2
+ import { _ as _sfc_main$1 } from "./FieldWrapper-DnuMTrqW.js";
3
+ import { useOwnField } from "../composables/useField.js";
3
4
  import { useLocale } from "../composables/useLocale.js";
4
5
  import { useLabels } from "../composables/useLpConfig.js";
5
6
  import { useMediaQuery } from "../composables/useMediaQuery.js";
6
7
  import { normalizeRange, formatRange, defaultRangePresets, sameRange, allowedRange } from "../components/dateRange.js";
7
- import { _ as _sfc_main$1 } from "./PickerField-BM1dyafh.js";
8
- import { _ as _sfc_main$2 } from "./LpRangeCalendar-BrqlGZzE.js";
8
+ import { _ as _sfc_main$2 } from "./PickerField-BM1dyafh.js";
9
+ import { _ as _sfc_main$3 } from "./LpRangeCalendar-BrqlGZzE.js";
9
10
  const __default__ = { inheritAttrs: false };
10
11
  const _sfc_main = /* @__PURE__ */ defineComponent({
11
12
  ...__default__,
@@ -14,6 +15,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
15
  clearable: { type: Boolean },
15
16
  disabled: { type: Boolean },
16
17
  invalid: { type: Boolean },
18
+ error: {},
17
19
  size: { default: "md" },
18
20
  locale: {},
19
21
  modelValue: {},
@@ -71,7 +73,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
71
73
  return !!allowedRange(preset.range(), rules.value);
72
74
  }
73
75
  const wide = useMediaQuery("(min-width: 640px)");
74
- const { attrs, field } = useAttrsField(() => ({ invalid: props.invalid, disabled: props.disabled }));
76
+ useAttrs();
77
+ const { field, wrapper, controlAttrs } = useOwnField(() => ({ error: props.error, invalid: props.invalid, disabled: props.disabled }));
75
78
  const showClear = computed(() => props.clearable && !!value.value && !field.value.disabled);
76
79
  const presetOptions = computed(() => presetList.value.map((preset) => ({
77
80
  label: preset.label,
@@ -80,39 +83,44 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
80
83
  select: () => pickPreset(preset)
81
84
  })));
82
85
  return (_ctx, _cache) => {
83
- return openBlock(), createBlock(_sfc_main$1, mergeProps(unref(attrs), {
84
- open: open.value,
85
- "onUpdate:open": _cache[0] || (_cache[0] = ($event) => open.value = $event),
86
- field: unref(field),
87
- display: display.value,
88
- placeholder: __props.placeholder || unref(text).placeholder,
89
- icon: "lucide:calendar-range",
90
- size: __props.size,
91
- clearable: showClear.value,
92
- "clear-label": unref(text).clear,
93
- "presets-label": unref(text).presets,
94
- presets: presetOptions.value,
95
- "presets-class": "sm:w-40",
96
- onClear: _cache[1] || (_cache[1] = ($event) => emit("update:modelValue", void 0)),
97
- onBlur: _cache[2] || (_cache[2] = ($event) => emit("blur", $event))
98
- }), {
86
+ return openBlock(), createBlock(_sfc_main$1, normalizeProps(guardReactiveProps(unref(wrapper))), {
99
87
  default: withCtx(() => [
100
- createVNode(_sfc_main$2, {
101
- "model-value": value.value,
102
- min: __props.min,
103
- max: __props.max,
104
- "is-disabled": __props.isDisabled,
105
- "is-date-unavailable": __props.isDateUnavailable,
106
- "maximum-days": __props.maximumDays,
107
- months: unref(wide) ? 2 : 1,
108
- locale: unref(locale),
109
- labels: __props.labels,
110
- class: "border-0 bg-transparent",
111
- "onUpdate:modelValue": pick
112
- }, null, 8, ["model-value", "min", "max", "is-disabled", "is-date-unavailable", "maximum-days", "months", "locale", "labels"])
88
+ createVNode(_sfc_main$2, mergeProps(unref(controlAttrs), {
89
+ open: open.value,
90
+ "onUpdate:open": _cache[0] || (_cache[0] = ($event) => open.value = $event),
91
+ field: unref(field),
92
+ display: display.value,
93
+ placeholder: __props.placeholder || unref(text).placeholder,
94
+ icon: "lucide:calendar-range",
95
+ size: __props.size,
96
+ clearable: showClear.value,
97
+ "clear-label": unref(text).clear,
98
+ "presets-label": unref(text).presets,
99
+ presets: presetOptions.value,
100
+ "presets-class": "sm:w-40",
101
+ onClear: _cache[1] || (_cache[1] = ($event) => emit("update:modelValue", void 0)),
102
+ onBlur: _cache[2] || (_cache[2] = ($event) => emit("blur", $event))
103
+ }), {
104
+ default: withCtx(() => [
105
+ createVNode(_sfc_main$3, {
106
+ "model-value": value.value,
107
+ min: __props.min,
108
+ max: __props.max,
109
+ "is-disabled": __props.isDisabled,
110
+ "is-date-unavailable": __props.isDateUnavailable,
111
+ "maximum-days": __props.maximumDays,
112
+ months: unref(wide) ? 2 : 1,
113
+ locale: unref(locale),
114
+ labels: __props.labels,
115
+ class: "border-0 bg-transparent",
116
+ "onUpdate:modelValue": pick
117
+ }, null, 8, ["model-value", "min", "max", "is-disabled", "is-date-unavailable", "maximum-days", "months", "locale", "labels"])
118
+ ]),
119
+ _: 1
120
+ }, 16, ["open", "field", "display", "placeholder", "size", "clearable", "clear-label", "presets-label", "presets"])
113
121
  ]),
114
122
  _: 1
115
- }, 16, ["open", "field", "display", "placeholder", "size", "clearable", "clear-label", "presets-label", "presets"]);
123
+ }, 16);
116
124
  };
117
125
  }
118
126
  });
@@ -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-DdF8Cq-s.js";
9
+ import { _ as _sfc_main$3 } from "./LpInput-CbI7z5fQ.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";
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, computed, ref, watch, nextTick, resolveComponent, openBlock, createElementBlock, mergeProps, unref, createVNode, withCtx, createElementVNode, withModifiers, normalizeStyle, normalizeClass, createBlock, createCommentVNode, renderSlot, createTextVNode, toDisplayString, Fragment, renderList } from "vue";
2
2
  import { sortNodes, formatSize, formatModified, renameSelectionEnd, fileIcon } from "../components/fileTree.js";
3
3
  import { _ as _sfc_main$5 } from "./LpBadge-D5QQdDQ_.js";
4
- import { _ as _sfc_main$4 } from "./LpCheckbox-D6RuDW4X.js";
4
+ import { _ as _sfc_main$4 } from "./LpCheckbox-CCWCwD0y.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,20 +1,17 @@
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";
5
- import { useFieldControl, isAttrOn, fieldWrapperBinds, mergeDescribedBy } from "../composables/useField.js";
5
+ import { useField, wrapsItself, useFieldControl, isAttrOn, fieldWrapperBinds, mergeDescribedBy } from "../composables/useField.js";
6
6
  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
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__,
@@ -97,9 +94,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
97
94
  const attrs = useAttrs();
98
95
  const hasLeading = computed(() => !!slots.leading || !!props.icon);
99
96
  const hasTrailing = computed(() => !!slots.trailing || showClear.value);
100
- const hasField = computed(
101
- () => !!props.label || !!props.hint || !!props.error
102
- );
97
+ const outerFieldOf = useField();
98
+ const hasField = computed(() => wrapsItself(props, outerFieldOf));
103
99
  const field = useFieldControl(() => ({
104
100
  wrapped: hasField.value,
105
101
  hasMessage: !!props.error || !!props.hint,
@@ -140,15 +136,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
140
136
  class: normalizeClass(unref(mergeClass)(shellClass.value, hasLeading.value ? "pl-2.5" : "", hasTrailing.value ? "pr-1.5" : "", hasField.value ? "" : unref(attrs).class)),
141
137
  style: normalizeStyle(hasField.value ? void 0 : unref(attrs).style)
142
138
  }, [
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),
139
+ createVNode(_sfc_main$2, { icon: __props.icon }, createSlots({ _: 2 }, [
140
+ _ctx.$slots.leading ? {
141
+ name: "default",
142
+ fn: withCtx(() => [
143
+ renderSlot(_ctx.$slots, "leading")
144
+ ]),
145
+ key: "0"
146
+ } : void 0
147
+ ]), 1032, ["icon"]),
152
148
  createElementVNode("input", mergeProps({
153
149
  ref_key: "inputEl",
154
150
  ref: inputEl
@@ -172,10 +168,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
172
168
  (...args) => unref(onPaste) && unref(onPaste)(...args)),
173
169
  onCompositionend: onComposed,
174
170
  onInput: onInputEvent
175
- }), null, 16, _hoisted_2),
171
+ }), null, 16, _hoisted_1),
176
172
  renderSlot(_ctx.$slots, "trailing"),
177
173
  showClear.value ? (openBlock(), createElementBlock("button", {
178
- key: 1,
174
+ key: 0,
179
175
  type: "button",
180
176
  "aria-label": unref(text).clear,
181
177
  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 +179,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
183
179
  }, ["prevent"])),
184
180
  onClick: clear
185
181
  }, [
186
- createVNode(_sfc_main$2, {
182
+ createVNode(_sfc_main$3, {
187
183
  name: "lucide:x",
188
184
  size: __props.size === "sm" ? 12 : 16
189
185
  }, null, 8, ["size"])
190
- ], 40, _hoisted_3)) : createCommentVNode("", true)
186
+ ], 40, _hoisted_2)) : createCommentVNode("", true)
191
187
  ], 6)
192
188
  ]),
193
189
  _: 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-CbI7z5fQ.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-CbI7z5fQ.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-CcSJSGan.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-CvRvVBTt.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";