@leavepulse/ui 0.59.0 → 0.61.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/README.md +8 -0
- package/dist/assets/{LpCommandPalette-BM_IyzwB.css → LpCommandPalette-DA5pmuPi.css} +21 -21
- package/dist/assets/{LpTable-B_QCQCbB.css → LpTable-DpXyPzs8.css} +19 -19
- package/dist/chunks/{ContextMenuItems-CioDScj3.js → ContextMenuItems-qXReFtQW.js} +1 -1
- package/dist/chunks/{LayoutCanvas-BcGLJVBq.js → LayoutCanvas-t7LWFCEn.js} +1 -1
- package/dist/chunks/{LayoutNode-BkBn6dvM.js → LayoutNode-DHsE6GwM.js} +1 -1
- package/dist/chunks/{LpActionBar-DCN-_pZP.js → LpActionBar-BsSp66S_.js} +2 -2
- package/dist/chunks/{LpAddressInput-D-H94m4q.js → LpAddressInput-CzdZguBo.js} +7 -7
- package/dist/chunks/{LpAlert-CXMn1GYE.js → LpAlert--KLL4NLk.js} +1 -1
- package/dist/chunks/{LpAppShell-BeMuKEjh.js → LpAppShell-BXMNDEpF.js} +3 -3
- package/dist/chunks/{LpAutocomplete-hJ_6CHlh.js → LpAutocomplete-D9mY5Tqk.js} +102 -37
- package/dist/chunks/{LpAvatar-CeW4Z5CL.js → LpAvatar-K6MOMfgn.js} +2 -2
- package/dist/chunks/{LpBreadcrumbs-BLzOEgAF.js → LpBreadcrumbs-CndzPYiG.js} +1 -1
- package/dist/chunks/{LpButton-vhlwmpBy.js → LpButton-CJSD7N0Z.js} +1 -1
- package/dist/chunks/{LpCalendar-BLoE8Qm7.js → LpCalendar-CXVDbb2M.js} +1 -1
- package/dist/chunks/{LpCard-Gbr8a1xK.js → LpCard-D9HVgX8Y.js} +1 -1
- package/dist/chunks/{LpCheckbox-B_C8sOoT.js → LpCheckbox-DV9W6T3H.js} +1 -1
- package/dist/chunks/{LpCodeBlock-D6zhp30a.js → LpCodeBlock-t6MLA3fb.js} +1 -1
- package/dist/chunks/{LpColorPicker-CVXwjEtX.js → LpColorPicker-BO1ZTY51.js} +2 -2
- package/dist/chunks/{LpConfirmDialog-DkgIT-Xg.js → LpConfirmDialog-tkgyY3eu.js} +3 -3
- package/dist/chunks/{LpConfirmHost-CYzXWFOI.js → LpConfirmHost-CoYIcUdl.js} +1 -1
- package/dist/chunks/{LpContextMenu-DRFd-iyc.js → LpContextMenu-Cv_F2iCG.js} +20 -5
- package/dist/chunks/{LpDatePicker-B-VMHMgy.js → LpDatePicker-DxdrVNCG.js} +3 -3
- package/dist/chunks/{LpDateRangePicker-B68KPKPl.js → LpDateRangePicker-DjeaqikC.js} +2 -2
- package/dist/chunks/{LpDisclosure-Ct-VBHxt.js → LpDisclosure-s8cQ7KQq.js} +1 -1
- package/dist/chunks/{LpDrawer-Rc6eAJrr.js → LpDrawer-C97yoWmh.js} +1 -1
- package/dist/chunks/{LpDropdownMenu-BoJQsjzt.js → LpDropdownMenu-CbyYu4Rw.js} +11 -4
- package/dist/chunks/{LpEmptyState-CBwwkkdA.js → LpEmptyState-CX8fdGSU.js} +1 -1
- package/dist/chunks/{LpFieldNotice-9hH4ITZa.js → LpFieldNotice-B--RzKfj.js} +1 -1
- package/dist/chunks/{LpFileTree-Bs57DhVa.js → LpFileTree-DTwUj0L-.js} +2 -2
- package/dist/chunks/{LpFileTreeNode-XgJW65v5.js → LpFileTreeNode-D-XLPZ6T.js} +3 -3
- package/dist/chunks/{LpFormField-BpQ6WJPe.js → LpFormField-DMPPL1jF.js} +1 -1
- package/dist/chunks/{LpHintLayer-B5-6FyEf.js → LpHintLayer-DsclGYcD.js} +1 -1
- package/dist/chunks/{LpHints-BqoZXHZk.js → LpHints-BTpvisgP.js} +10 -4
- package/dist/chunks/{LpIcon-B5guGKrW.js → LpIcon-CTuDVTYv.js} +1 -1
- package/dist/chunks/{LpInput-WvyP02ID.js → LpInput-C7FHxzj2.js} +2 -2
- package/dist/chunks/{LpLightbox-Dq-e36uT.js → LpLightbox-DiksFa4L.js} +1 -1
- package/dist/chunks/{LpLogViewer-B92bAftG.js → LpLogViewer-D9UgNz2m.js} +2 -2
- package/dist/chunks/{LpMapPicker-BH5csaBt.js → LpMapPicker-DybIlWnF.js} +1 -1
- package/dist/chunks/{LpMediaGallery-B1kDypJ-.js → LpMediaGallery-Cic9UHsa.js} +2 -2
- package/dist/chunks/{LpModal-DvGD6kEe.js → LpModal-QFfctZsj.js} +1 -1
- package/dist/chunks/{LpModalNav-B-_zRTS-.js → LpModalNav-D4rmflQn.js} +4 -4
- package/dist/chunks/{LpNotificationBell-63pvatBj.js → LpNotificationBell-CyylOlZR.js} +4 -4
- package/dist/chunks/{LpNumberField-CJPjmoDz.js → LpNumberField-BFSRVGkJ.js} +1 -1
- package/dist/chunks/{LpPagination-DehAaJLY.js → LpPagination-BFl0I7tL.js} +1 -1
- package/dist/chunks/{LpPasswordInput-BK25_vNG.js → LpPasswordInput-C1G4k_r0.js} +2 -2
- package/dist/chunks/{LpPhoneInput-Bxg7a_qD.js → LpPhoneInput-CZrpVxla.js} +2 -2
- package/dist/chunks/{LpPie-Coa2GMHt.js → LpPie-B2deu8CI.js} +2 -2
- package/dist/chunks/{LpRangeCalendar-D5sDID9W.js → LpRangeCalendar-COeOYF52.js} +1 -1
- package/dist/chunks/{LpSection-B19VPYmr.js → LpSection-BAkbf0OK.js} +1 -1
- package/dist/chunks/{LpSegmented-DbrUjuSA.js → LpSegmented-DslFku0N.js} +1 -1
- package/dist/chunks/{LpSelect-DynjWK1A.js → LpSelect-C4OXN_q3.js} +1 -1
- package/dist/chunks/{LpSidebar-CKamWtPo.js → LpSidebar-D8tub3bt.js} +3 -3
- package/dist/chunks/{LpSidebarNav-Y4LV0ZEn.js → LpSidebarNav-BBSRg34G.js} +2 -2
- package/dist/chunks/{LpStat-BS2TEXYK.js → LpStat-oYk6V1LZ.js} +1 -1
- package/dist/chunks/{LpStepper-BSglWF45.js → LpStepper-YgHGzgfD.js} +1 -1
- package/dist/chunks/LpSwap-D82jiecV.js +38 -0
- package/dist/chunks/{LpTableFilter-CwHXVxJt.js → LpTableFilter-Ba-rS4H1.js} +2 -2
- package/dist/chunks/{LpTabs-D01b8jBI.js → LpTabs-00v3VQx4.js} +1 -1
- package/dist/chunks/{LpTagsInput-CHbQoAAA.js → LpTagsInput-Sc56iy_j.js} +3 -3
- package/dist/chunks/{LpTextarea-Bz2IWhTH.js → LpTextarea-CQZccQI3.js} +1 -1
- package/dist/chunks/{LpThemeSwitcher-CbzL6ipO.js → LpThemeSwitcher-ZFFftBQn.js} +2 -2
- package/dist/chunks/{LpTimeField-DvGXgdES.js → LpTimeField-BTEt0kvL.js} +1 -1
- package/dist/chunks/{LpToaster-C9EacEfR.js → LpToaster-D3OisETH.js} +2 -2
- package/dist/chunks/{LpTour-D7m9ZxNk.js → LpTour-C29-1wha.js} +4 -1
- package/dist/chunks/{MenuTitle-B9HdaBwE.js → MenuTitle-FeC6I24N.js} +1 -1
- package/dist/chunks/{TourCard-DCHOjr6e.js → TourCard-AjN0uhs1.js} +2 -2
- package/dist/chunks/{icons-QqBscG5I.js → icons-CuO3W46H.js} +1 -1
- package/dist/component-names.d.ts +1 -1
- package/dist/components/ContextMenuItems.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.js +1 -1
- package/dist/components/LpAutocomplete.vue.d.ts +24 -0
- package/dist/components/LpAutocomplete.vue.js +1 -1
- package/dist/components/LpAvatar.vue.js +1 -1
- package/dist/components/LpBreadcrumbs.vue.js +1 -1
- package/dist/components/LpButton.vue.js +1 -1
- package/dist/components/LpCalendar.vue.js +1 -1
- package/dist/components/LpCard.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/LpColorPicker.vue.js +1 -1
- package/dist/components/LpCommandPalette.vue.js +30 -19
- package/dist/components/LpConfirmDialog.vue.js +1 -1
- package/dist/components/LpConfirmHost.vue.js +1 -1
- package/dist/components/LpContextMenu.vue.d.ts +7 -2
- package/dist/components/LpContextMenu.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/LpDrawer.vue.js +1 -1
- package/dist/components/LpDropdownMenu.vue.d.ts +7 -2
- package/dist/components/LpDropdownMenu.vue.js +1 -1
- package/dist/components/LpDropzone.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 +4 -2
- package/dist/components/LpInput.vue.js +1 -1
- package/dist/components/LpLightbox.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.js +1 -1
- package/dist/components/LpNumberField.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/LpPasswordInput.vue.js +1 -1
- package/dist/components/LpPhoneInput.vue.js +1 -1
- package/dist/components/LpPie.vue.js +1 -1
- package/dist/components/LpRangeCalendar.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/LpStat.vue.js +1 -1
- package/dist/components/LpStepper.vue.js +1 -1
- package/dist/components/LpSwap.vue.d.ts +19 -0
- package/dist/components/LpSwap.vue.js +4 -0
- package/dist/components/LpTable.vue.js +13 -11
- package/dist/components/LpTableFilter.vue.js +1 -1
- package/dist/components/LpTabs.vue.js +1 -1
- package/dist/components/LpTagsInput.vue.js +1 -1
- package/dist/components/LpTextarea.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/LpTour.vue.js +1 -1
- package/dist/components/MenuTitle.vue.js +1 -1
- package/dist/components/TourCard.vue.js +1 -1
- package/dist/composables/useHintSystem.d.ts +67 -0
- package/dist/composables/useHintSystem.js +110 -12
- package/dist/composables/useToast.d.ts +13 -4
- package/dist/composables/useToast.js +13 -2
- package/dist/icons-all.js +1 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.js +101 -95
- package/package.json +2 -1
- package/src/component-names.ts +1 -0
- package/src/components/LpAutocomplete.vue +110 -24
- package/src/components/LpCommandPalette.vue +26 -4
- package/src/components/LpContextMenu.vue +22 -1
- package/src/components/LpDropdownMenu.vue +13 -2
- package/src/components/LpHints.vue +7 -1
- package/src/components/LpSwap.vue +45 -0
- package/src/components/LpTable.vue +2 -1
- package/src/components/LpToaster.vue +1 -1
- package/src/components/LpTour.vue +3 -0
- package/src/composables/useHintSystem.ts +152 -12
- package/src/composables/useToast.ts +32 -5
- package/src/index.ts +5 -2
- package/src/kit-icons.ts +1 -1
- package/src/tokens/selection.css +20 -0
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createVNode, renderSlot, normalizeClass, createCommentVNode } from "vue";
|
|
2
2
|
import { ContextMenuRoot, ContextMenuTrigger, ContextMenuPortal, ContextMenuContent } from "reka-ui";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { hints } from "../composables/useHints.js";
|
|
4
|
+
import { HINT_SIGNALS, noteContextTarget } from "../composables/useHintSystem.js";
|
|
5
|
+
import { _ as _sfc_main$2 } from "./ContextMenuItems-qXReFtQW.js";
|
|
6
|
+
import { _ as _sfc_main$1 } from "./MenuTitle-FeC6I24N.js";
|
|
5
7
|
import { POPOVER_PANEL } from "../components/dropdown.js";
|
|
6
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
9
|
__name: "LpContextMenu",
|
|
@@ -11,11 +13,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
11
13
|
title: {},
|
|
12
14
|
subtitle: {},
|
|
13
15
|
titleIcon: {},
|
|
14
|
-
titleImage: {}
|
|
16
|
+
titleImage: {},
|
|
17
|
+
noHint: { type: Boolean }
|
|
15
18
|
},
|
|
16
19
|
setup(__props) {
|
|
17
20
|
const props = __props;
|
|
18
21
|
const enabled = computed(() => props.always || props.items.length > 0);
|
|
22
|
+
const hinted = computed(() => enabled.value && !props.noHint);
|
|
19
23
|
const PANEL = `${POPOVER_PANEL} z-(--z-popover) min-w-48 p-1 outline-none`;
|
|
20
24
|
const SELECTABLE = /* @__PURE__ */ new Set(["text", "search", "url", "tel", "password"]);
|
|
21
25
|
let field = null;
|
|
@@ -27,6 +31,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
31
|
function keepContextMenu(event) {
|
|
28
32
|
if (enabled.value) event.stopPropagation();
|
|
29
33
|
}
|
|
34
|
+
function opened(open) {
|
|
35
|
+
if (open) hints.use(HINT_SIGNALS.contextMenu);
|
|
36
|
+
}
|
|
37
|
+
function leftClick(event) {
|
|
38
|
+
if (!hinted.value) return;
|
|
39
|
+
hints.use(HINT_SIGNALS.contextTarget);
|
|
40
|
+
const el = event.currentTarget;
|
|
41
|
+
noteContextTarget(event.target.closest?.("[data-lp-context-row]") ?? el);
|
|
42
|
+
}
|
|
30
43
|
function returnFocus(event) {
|
|
31
44
|
const saved = field;
|
|
32
45
|
field = null;
|
|
@@ -36,11 +49,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36
49
|
if (saved.el.value === saved.value) saved.el.setSelectionRange(saved.start, saved.end);
|
|
37
50
|
}
|
|
38
51
|
return (_ctx, _cache) => {
|
|
39
|
-
return openBlock(), createBlock(unref(ContextMenuRoot),
|
|
52
|
+
return openBlock(), createBlock(unref(ContextMenuRoot), { "onUpdate:open": opened }, {
|
|
40
53
|
default: withCtx(() => [
|
|
41
54
|
createVNode(unref(ContextMenuTrigger), {
|
|
42
55
|
"as-child": "",
|
|
43
56
|
disabled: !enabled.value,
|
|
57
|
+
"data-lp-context-menu": hinted.value ? "" : void 0,
|
|
58
|
+
onClickCapture: leftClick,
|
|
44
59
|
onContextmenuCapture: rememberField,
|
|
45
60
|
onContextmenu: keepContextMenu
|
|
46
61
|
}, {
|
|
@@ -48,7 +63,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
48
63
|
renderSlot(_ctx.$slots, "default")
|
|
49
64
|
]),
|
|
50
65
|
_: 3
|
|
51
|
-
}, 8, ["disabled"]),
|
|
66
|
+
}, 8, ["disabled", "data-lp-context-menu"]),
|
|
52
67
|
__props.items.length ? (openBlock(), createBlock(unref(ContextMenuPortal), { key: 0 }, {
|
|
53
68
|
default: withCtx(() => [
|
|
54
69
|
createVNode(unref(ContextMenuContent), {
|
|
@@ -5,10 +5,10 @@ import { useLocale } from "../composables/useLocale.js";
|
|
|
5
5
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
6
6
|
import { mergeClass } from "../composables/useMergedClass.js";
|
|
7
7
|
import { POPOVER_PANEL } from "../components/dropdown.js";
|
|
8
|
-
import { _ as _sfc_main$3 } from "./LpCalendar-
|
|
9
|
-
import { _ as _sfc_main$1 } from "./LpIcon-
|
|
8
|
+
import { _ as _sfc_main$3 } from "./LpCalendar-CXVDbb2M.js";
|
|
9
|
+
import { _ as _sfc_main$1 } from "./LpIcon-CTuDVTYv.js";
|
|
10
10
|
import { _ as _sfc_main$2 } from "./LpRollingText-DB7upf-5.js";
|
|
11
|
-
import { _ as _sfc_main$4 } from "./LpTimeField-
|
|
11
|
+
import { _ as _sfc_main$4 } from "./LpTimeField-BTEt0kvL.js";
|
|
12
12
|
const _hoisted_1 = ["id", "disabled", "aria-invalid", "aria-describedby"];
|
|
13
13
|
const _hoisted_2 = {
|
|
14
14
|
key: 0,
|
|
@@ -7,9 +7,9 @@ import { mergeClass } from "../composables/useMergedClass.js";
|
|
|
7
7
|
import { useMediaQuery } from "../composables/useMediaQuery.js";
|
|
8
8
|
import { normalizeRange, formatRange, defaultRangePresets, sameRange, clampRange } from "../components/dateRange.js";
|
|
9
9
|
import { POPOVER_PANEL } from "../components/dropdown.js";
|
|
10
|
-
import { _ as _sfc_main$1 } from "./LpIcon-
|
|
10
|
+
import { _ as _sfc_main$1 } from "./LpIcon-CTuDVTYv.js";
|
|
11
11
|
import { _ as _sfc_main$2 } from "./LpRollingText-DB7upf-5.js";
|
|
12
|
-
import { _ as _sfc_main$3 } from "./LpRangeCalendar-
|
|
12
|
+
import { _ as _sfc_main$3 } from "./LpRangeCalendar-COeOYF52.js";
|
|
13
13
|
const _hoisted_1 = ["id", "disabled", "aria-invalid", "aria-describedby"];
|
|
14
14
|
const _hoisted_2 = {
|
|
15
15
|
key: 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, getCurrentInstance, computed, ref, openBlock, createBlock, unref, mergeProps, withCtx, createVNode, createCommentVNode, createElementVNode, renderSlot, createTextVNode, toDisplayString, nextTick } from "vue";
|
|
2
2
|
import { CollapsibleRoot, CollapsibleTrigger, CollapsibleContent } from "reka-ui";
|
|
3
|
-
import { _ as _sfc_main$1 } from "./LpIcon-
|
|
3
|
+
import { _ as _sfc_main$1 } from "./LpIcon-CTuDVTYv.js";
|
|
4
4
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
5
5
|
const _hoisted_1 = { class: "min-w-0 flex-1 text-left" };
|
|
6
6
|
const _hoisted_2 = { class: "grid gap-2.5 px-3 pt-1 pb-3 group-data-[state=open]/content:animate-[disclosure-body-in_300ms_var(--ease-emphasized)] motion-reduce:animate-none" };
|
|
@@ -4,7 +4,7 @@ import { CLOSE_ICON } from "../components/dropdown.js";
|
|
|
4
4
|
import { prefersReducedMotion } from "../composables/easing.js";
|
|
5
5
|
import { useGlass } from "../composables/useGlass.js";
|
|
6
6
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
7
|
-
import { _ as _sfc_main$1 } from "./LpIcon-
|
|
7
|
+
import { _ as _sfc_main$1 } from "./LpIcon-CTuDVTYv.js";
|
|
8
8
|
import { _ as _sfc_main$2 } from "./LpScrollArea-Hz3-JWUG.js";
|
|
9
9
|
import { useModalLayer, anyModalOpen } from "../components/modalDepth.js";
|
|
10
10
|
const _hoisted_1 = { class: "text-base font-semibold text-ink" };
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, unref, withCtx, createVNode, renderSlot, normalizeClass, createCommentVNode, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString } from "vue";
|
|
2
|
+
import { hints } from "../composables/useHints.js";
|
|
3
|
+
import { HINT_SIGNALS } from "../composables/useHintSystem.js";
|
|
2
4
|
import { DropdownMenuRoot, DropdownMenuTrigger, DropdownMenuPortal, DropdownMenuContent, DropdownMenuSeparator, DropdownMenuItem } from "reka-ui";
|
|
3
5
|
import { POPOVER_PANEL } from "../components/dropdown.js";
|
|
4
|
-
import { _ as _sfc_main$2 } from "./LpIcon-
|
|
5
|
-
import { _ as _sfc_main$1 } from "./MenuTitle-
|
|
6
|
+
import { _ as _sfc_main$2 } from "./LpIcon-CTuDVTYv.js";
|
|
7
|
+
import { _ as _sfc_main$1 } from "./MenuTitle-FeC6I24N.js";
|
|
6
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
9
|
__name: "LpDropdownMenu",
|
|
8
10
|
props: {
|
|
@@ -10,11 +12,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
10
12
|
title: {},
|
|
11
13
|
subtitle: {},
|
|
12
14
|
titleIcon: {},
|
|
13
|
-
titleImage: {}
|
|
15
|
+
titleImage: {},
|
|
16
|
+
rightClickToo: { type: Boolean }
|
|
14
17
|
},
|
|
15
18
|
setup(__props) {
|
|
19
|
+
const props = __props;
|
|
20
|
+
function opened(open) {
|
|
21
|
+
if (open && props.rightClickToo) hints.use(HINT_SIGNALS.menuButton);
|
|
22
|
+
}
|
|
16
23
|
return (_ctx, _cache) => {
|
|
17
|
-
return openBlock(), createBlock(unref(DropdownMenuRoot),
|
|
24
|
+
return openBlock(), createBlock(unref(DropdownMenuRoot), { "onUpdate:open": opened }, {
|
|
18
25
|
default: withCtx(() => [
|
|
19
26
|
createVNode(unref(DropdownMenuTrigger), { "as-child": "" }, {
|
|
20
27
|
default: withCtx(() => [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, mergeProps, unref, normalizeClass, createVNode, createCommentVNode, createElementVNode, toDisplayString, renderSlot } from "vue";
|
|
2
|
-
import { _ as _sfc_main$1 } from "./LpIcon-
|
|
2
|
+
import { _ as _sfc_main$1 } from "./LpIcon-CTuDVTYv.js";
|
|
3
3
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
4
4
|
const _hoisted_1 = { class: "flex flex-col gap-1" };
|
|
5
5
|
const _hoisted_2 = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, openBlock, createBlock, Transition, withCtx, createElementBlock, normalizeClass, createVNode, createElementVNode, toDisplayString, createCommentVNode } from "vue";
|
|
2
2
|
import { prefersReducedMotion } from "../composables/easing.js";
|
|
3
|
-
import { _ as _sfc_main$1 } from "./LpIcon-
|
|
3
|
+
import { _ as _sfc_main$1 } from "./LpIcon-CTuDVTYv.js";
|
|
4
4
|
const _hoisted_1 = ["id"];
|
|
5
5
|
const _hoisted_2 = { class: "truncate" };
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, computed, openBlock, createElementBlock, mergeProps, unref, Fragment, renderList, normalizeStyle, createBlock, createVNode, withCtx, createElementVNode, renderSlot, normalizeProps, guardReactiveProps, createTextVNode, toDisplayString, createCommentVNode } from "vue";
|
|
2
2
|
import { computeStats, formatSize, sortNodes, subtreeIds, ancestorIds } from "../components/fileTree.js";
|
|
3
|
-
import { _ as _sfc_main$1 } from "./LpEmptyState-
|
|
4
|
-
import { _ as _sfc_main$3 } from "./LpFileTreeNode-
|
|
3
|
+
import { _ as _sfc_main$1 } from "./LpEmptyState-CX8fdGSU.js";
|
|
4
|
+
import { _ as _sfc_main$3 } from "./LpFileTreeNode-D-XLPZ6T.js";
|
|
5
5
|
import { _ as _sfc_main$2 } from "./LpScrollArea-Hz3-JWUG.js";
|
|
6
6
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
7
7
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, mergeProps, unref, createVNode, withCtx, createElementVNode, withModifiers, normalizeStyle, normalizeClass, createBlock, createCommentVNode, renderSlot, createTextVNode, toDisplayString, Transition, Fragment, renderList } from "vue";
|
|
2
2
|
import { prefersReducedMotion, easingToken } from "../composables/easing.js";
|
|
3
3
|
import { sortNodes, formatSize, formatModified, fileIcon } from "../components/fileTree.js";
|
|
4
|
-
import { _ as _sfc_main$3 } from "./LpCheckbox-
|
|
5
|
-
import { _ as _sfc_main$1 } from "./LpContextMenu-
|
|
6
|
-
import { _ as _sfc_main$2 } from "./LpIcon-
|
|
4
|
+
import { _ as _sfc_main$3 } from "./LpCheckbox-DV9W6T3H.js";
|
|
5
|
+
import { _ as _sfc_main$1 } from "./LpContextMenu-Cv_F2iCG.js";
|
|
6
|
+
import { _ as _sfc_main$2 } from "./LpIcon-CTuDVTYv.js";
|
|
7
7
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
8
8
|
const _hoisted_1 = ["aria-level", "aria-selected", "aria-expanded", "aria-disabled"];
|
|
9
9
|
const _hoisted_2 = ["data-node-id", "tabindex"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, useId, computed, useSlots, openBlock, createElementBlock, mergeProps, unref, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, createElementVNode, renderSlot, createVNode, normalizeClass } from "vue";
|
|
2
2
|
import { Label } from "reka-ui";
|
|
3
|
-
import { _ as _sfc_main$1 } from "./LpFieldNotice-
|
|
3
|
+
import { _ as _sfc_main$1 } from "./LpFieldNotice-B--RzKfj.js";
|
|
4
4
|
import { _ as _sfc_main$2 } from "./LpShift-DXNsauQZ.js";
|
|
5
5
|
import { fieldMessageId, provideField } from "../composables/useField.js";
|
|
6
6
|
import { useFieldNotice } from "../composables/useFieldNotice.js";
|
|
@@ -3,7 +3,7 @@ import { PopoverRoot, PopoverAnchor, PopoverPortal, PopoverContent } from "reka-
|
|
|
3
3
|
import { hints } from "../composables/useHints.js";
|
|
4
4
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
5
5
|
import { PANEL_SURFACE, POPOVER_ANIM } from "../components/dropdown.js";
|
|
6
|
-
import { _ as _sfc_main$1 } from "./LpButton-
|
|
6
|
+
import { _ as _sfc_main$1 } from "./LpButton-CJSD7N0Z.js";
|
|
7
7
|
const _hoisted_1 = ["aria-label", "onPointerenter", "onFocus", "onClick"];
|
|
8
8
|
const _hoisted_2 = { class: "flex items-center gap-2 font-medium" };
|
|
9
9
|
const _hoisted_3 = { class: "rounded-full bg-brand/15 px-1.5 text-[11px] text-brand" };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, onErrorCaptured, onMounted, onBeforeUnmount, computed, unref, watch, openBlock, createElementBlock, Fragment, createVNode, createCommentVNode } from "vue";
|
|
2
2
|
import { provideHintSystem } from "../composables/useHintSystem.js";
|
|
3
3
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
4
|
-
import { _ as _sfc_main$3 } from "./LpActionBar-
|
|
5
|
-
import { _ as _sfc_main$2 } from "./LpHintLayer-
|
|
6
|
-
import { _ as _sfc_main$1 } from "./LpTour-
|
|
4
|
+
import { _ as _sfc_main$3 } from "./LpActionBar-BsSp66S_.js";
|
|
5
|
+
import { _ as _sfc_main$2 } from "./LpHintLayer-DsclGYcD.js";
|
|
6
|
+
import { _ as _sfc_main$1 } from "./LpTour-C29-1wha.js";
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "LpHints",
|
|
9
9
|
props: {
|
|
@@ -54,6 +54,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
54
54
|
const o = offer.value;
|
|
55
55
|
if (!o) return "";
|
|
56
56
|
if (o.kind === "nudge") return notes.value[o.nudge.feature]?.title ?? "";
|
|
57
|
+
if (o.kind === "tip") return o.tip.title;
|
|
57
58
|
if (o.kind === "news") return fill(labels.value.newsTitle);
|
|
58
59
|
return fill(o.kind === "assigned" ? labels.value.assignedTitle : labels.value.tourTitle);
|
|
59
60
|
});
|
|
@@ -61,6 +62,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
61
62
|
const o = offer.value;
|
|
62
63
|
if (!o) return "";
|
|
63
64
|
if (o.kind === "nudge") return o.nudge.text;
|
|
65
|
+
if (o.kind === "tip") return o.tip.keys ? `${o.tip.text} ${o.tip.keys}` : o.tip.text;
|
|
64
66
|
if (o.kind === "news") return o.items.map((n) => n.text).join(" ");
|
|
65
67
|
return o.kind === "assigned" ? labels.value.assignedText : labels.value.tourText;
|
|
66
68
|
});
|
|
@@ -70,6 +72,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
70
72
|
const answer = (choice) => () => props.system.answer(choice);
|
|
71
73
|
const show = { label: labels.value.show, icon: "lucide:sparkles", onClick: answer("show") };
|
|
72
74
|
if (o.kind === "nudge") return [{ label: labels.value.noThanks, variant: "ghost", onClick: answer("never") }, show];
|
|
75
|
+
if (o.kind === "tip") {
|
|
76
|
+
const later = { label: labels.value.gotIt, variant: o.tip.step ? "ghost" : void 0, onClick: answer("later") };
|
|
77
|
+
return [{ label: labels.value.never, variant: "ghost", onClick: answer("never") }, later, ...o.tip.step ? [show] : []];
|
|
78
|
+
}
|
|
73
79
|
if (o.kind === "news") return [{ label: labels.value.gotIt, variant: "ghost", onClick: answer("later") }, show];
|
|
74
80
|
return [
|
|
75
81
|
...o.kind === "tour" ? [{ label: labels.value.never, variant: "ghost", onClick: answer("never") }] : [],
|
|
@@ -97,7 +103,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
97
103
|
open: !!offer.value,
|
|
98
104
|
title: title.value,
|
|
99
105
|
description: description.value,
|
|
100
|
-
icon: offer.value?.kind === "news" ? "lucide:gift" : "lucide:compass",
|
|
106
|
+
icon: offer.value?.kind === "news" ? "lucide:gift" : offer.value?.kind === "tip" ? "lucide:lightbulb" : "lucide:compass",
|
|
101
107
|
actions: actions.value
|
|
102
108
|
}, null, 8, ["open", "title", "description", "icon", "actions"])
|
|
103
109
|
], 64)) : createCommentVNode("", true);
|
|
@@ -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, r as requestIcon } from "./icons-
|
|
3
|
+
import { i as iconsVersion, r as requestIcon } from "./icons-CuO3W46H.js";
|
|
4
4
|
const _hoisted_1 = ["width", "height", "viewBox", "innerHTML"];
|
|
5
5
|
const _hoisted_2 = ["width", "height"];
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -4,8 +4,8 @@ import { useFieldControl } from "../composables/useField.js";
|
|
|
4
4
|
import { useInputFilter } from "../composables/useInputFilter.js";
|
|
5
5
|
import { useInputMask, DEFAULT_MASK_TOKENS } from "../composables/useInputMask.js";
|
|
6
6
|
import { mergeClass } from "../composables/useMergedClass.js";
|
|
7
|
-
import { _ as _sfc_main$1 } from "./LpFormField-
|
|
8
|
-
import { _ as _sfc_main$2 } from "./LpIcon-
|
|
7
|
+
import { _ as _sfc_main$1 } from "./LpFormField-DMPPL1jF.js";
|
|
8
|
+
import { _ as _sfc_main$2 } from "./LpIcon-CTuDVTYv.js";
|
|
9
9
|
const _hoisted_1 = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "flex shrink-0 items-center text-muted"
|
|
@@ -3,7 +3,7 @@ import { DialogRoot, DialogPortal, DialogOverlay, DialogContent, DialogTitle, Di
|
|
|
3
3
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
4
4
|
import { useZoomPan } from "../composables/useZoomPan.js";
|
|
5
5
|
import { fileNameOf } from "../components/lightbox.js";
|
|
6
|
-
import { _ as _sfc_main$1 } from "./LpIcon-
|
|
6
|
+
import { _ as _sfc_main$1 } from "./LpIcon-CTuDVTYv.js";
|
|
7
7
|
import { useModalLayer } from "../components/modalDepth.js";
|
|
8
8
|
const _hoisted_1 = { class: "flex shrink-0 items-center gap-1 p-3 text-sm text-white/70 [--chrome-from:-8px] animate-[lightbox-chrome-in_var(--duration-medium)_var(--ease-emphasized)_60ms_both] motion-reduce:animate-none" };
|
|
9
9
|
const _hoisted_2 = {
|
|
@@ -2,8 +2,8 @@ import { defineComponent, useModel, computed, ref, shallowRef, onMounted, onBefo
|
|
|
2
2
|
import { prefersReducedMotion } from "../composables/easing.js";
|
|
3
3
|
import { useClipboard } from "../composables/useClipboard.js";
|
|
4
4
|
import { useHotkeys } from "../composables/useHotkeys.js";
|
|
5
|
-
import { _ as _sfc_main$3 } from "./LpContextMenu-
|
|
6
|
-
import { _ as _sfc_main$1 } from "./LpIcon-
|
|
5
|
+
import { _ as _sfc_main$3 } from "./LpContextMenu-Cv_F2iCG.js";
|
|
6
|
+
import { _ as _sfc_main$1 } from "./LpIcon-CTuDVTYv.js";
|
|
7
7
|
import { _ as _sfc_main$2 } from "./LpScrollArea-Hz3-JWUG.js";
|
|
8
8
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
9
9
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch, onMounted, onBeforeUnmount, openBlock, createElementBlock, mergeProps, unref, createElementVNode, normalizeClass, Fragment, renderList, normalizeStyle, createVNode, createCommentVNode, createBlock, toDisplayString } from "vue";
|
|
2
2
|
import { prefersReducedMotion } from "../composables/easing.js";
|
|
3
3
|
import { OSM_TILES, project, tileUrl, unproject } from "../components/address.js";
|
|
4
|
-
import { _ as _sfc_main$1 } from "./LpIcon-
|
|
4
|
+
import { _ as _sfc_main$1 } from "./LpIcon-CTuDVTYv.js";
|
|
5
5
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
6
6
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
7
7
|
const _hoisted_1 = ["tabindex", "aria-label"];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, computed, openBlock, createElementBlock, renderSlot, mergeProps, unref, Fragment, renderList, normalizeClass, createElementVNode, toDisplayString, createVNode, createCommentVNode, createBlock } from "vue";
|
|
2
2
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
3
|
-
import { _ as _sfc_main$1 } from "./LpIcon-
|
|
4
|
-
import { _ as _sfc_main$2 } from "./LpLightbox-
|
|
3
|
+
import { _ as _sfc_main$1 } from "./LpIcon-CTuDVTYv.js";
|
|
4
|
+
import { _ as _sfc_main$2 } from "./LpLightbox-DiksFa4L.js";
|
|
5
5
|
const _hoisted_1 = { key: 0 };
|
|
6
6
|
const _hoisted_2 = ["aria-label"];
|
|
7
7
|
const _hoisted_3 = ["aria-label", "onClick"];
|
|
@@ -5,7 +5,7 @@ import { useLabels } from "../composables/useLpConfig.js";
|
|
|
5
5
|
import { useShift } from "../composables/useShift.js";
|
|
6
6
|
import { useModalLayer } from "../components/modalDepth.js";
|
|
7
7
|
import { CLOSE_ICON } from "../components/dropdown.js";
|
|
8
|
-
import { _ as _sfc_main$1 } from "./LpIcon-
|
|
8
|
+
import { _ as _sfc_main$1 } from "./LpIcon-CTuDVTYv.js";
|
|
9
9
|
import { _ as _sfc_main$2 } from "./LpScrollArea-Hz3-JWUG.js";
|
|
10
10
|
const _hoisted_1 = {
|
|
11
11
|
key: 0,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, openBlock, createBlock, createSlots, withCtx, renderSlot, createElementVNode, normalizeClass, createVNode, createCommentVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
2
|
import { useGlass } from "../composables/useGlass.js";
|
|
3
3
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
4
|
-
import { _ as _sfc_main$2 } from "./LpButton-
|
|
5
|
-
import { _ as _sfc_main$3 } from "./LpIcon-
|
|
6
|
-
import { _ as _sfc_main$1 } from "./LpModal-
|
|
7
|
-
import { _ as _sfc_main$4 } from "./LpSidebar-
|
|
4
|
+
import { _ as _sfc_main$2 } from "./LpButton-CJSD7N0Z.js";
|
|
5
|
+
import { _ as _sfc_main$3 } from "./LpIcon-CTuDVTYv.js";
|
|
6
|
+
import { _ as _sfc_main$1 } from "./LpModal-QFfctZsj.js";
|
|
7
|
+
import { _ as _sfc_main$4 } from "./LpSidebar-D8tub3bt.js";
|
|
8
8
|
const _hoisted_1 = { class: "flex items-center gap-2" };
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "LpModalNav",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, computed, useModel, getCurrentInstance, ref, onMounted, onBeforeUnmount, openBlock, createBlock, withCtx, createElementVNode, toDisplayString, createElementBlock, createCommentVNode, createVNode, Fragment, renderList, resolveDynamicComponent, normalizeClass, Transition, mergeModels } from "vue";
|
|
2
2
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
3
3
|
import { _ as _sfc_main$8 } from "./LpBadge-Fe0D1bYx.js";
|
|
4
|
-
import { _ as _sfc_main$7 } from "./LpButton-
|
|
5
|
-
import { _ as _sfc_main$5 } from "./LpContextMenu-
|
|
6
|
-
import { _ as _sfc_main$3 } from "./LpEmptyState-
|
|
7
|
-
import { _ as _sfc_main$6 } from "./LpIcon-
|
|
4
|
+
import { _ as _sfc_main$7 } from "./LpButton-CJSD7N0Z.js";
|
|
5
|
+
import { _ as _sfc_main$5 } from "./LpContextMenu-Cv_F2iCG.js";
|
|
6
|
+
import { _ as _sfc_main$3 } from "./LpEmptyState-CX8fdGSU.js";
|
|
7
|
+
import { _ as _sfc_main$6 } from "./LpIcon-CTuDVTYv.js";
|
|
8
8
|
import { _ as _sfc_main$1 } from "./LpPopover-DCKeqiVn.js";
|
|
9
9
|
import { _ as _sfc_main$9 } from "./LpRollingText-DB7upf-5.js";
|
|
10
10
|
import { _ as _sfc_main$4 } from "./LpScrollArea-Hz3-JWUG.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, useId, computed, openBlock, createBlock, unref, mergeProps, withCtx, createVNode, createElementBlock, toDisplayString, createCommentVNode } from "vue";
|
|
2
2
|
import { NumberFieldRoot, NumberFieldDecrement, NumberFieldInput, NumberFieldIncrement } from "reka-ui";
|
|
3
|
-
import { _ as _sfc_main$1 } from "./LpIcon-
|
|
3
|
+
import { _ as _sfc_main$1 } from "./LpIcon-CTuDVTYv.js";
|
|
4
4
|
import { useFieldControl } from "../composables/useField.js";
|
|
5
5
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
6
6
|
const _hoisted_1 = ["id"];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, useId, openBlock, createElementBlock, mergeProps, unref, createElementVNode, normalizeClass, createVNode, Fragment, renderList, createBlock, createCommentVNode, toDisplayString } from "vue";
|
|
2
2
|
import { Motion } from "motion-v";
|
|
3
3
|
import { usePillTransition } from "../composables/usePillTransition.js";
|
|
4
|
-
import { _ as _sfc_main$1 } from "./LpIcon-
|
|
4
|
+
import { _ as _sfc_main$1 } from "./LpIcon-CTuDVTYv.js";
|
|
5
5
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
6
6
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
7
7
|
const _hoisted_1 = ["aria-label"];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, openBlock, createBlock, mergeProps, createSlots, withCtx, createElementVNode, unref, createVNode, renderSlot } from "vue";
|
|
2
2
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
3
|
-
import { _ as _sfc_main$2 } from "./LpIcon-
|
|
4
|
-
import { _ as _sfc_main$1 } from "./LpInput-
|
|
3
|
+
import { _ as _sfc_main$2 } from "./LpIcon-CTuDVTYv.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "./LpInput-C7FHxzj2.js";
|
|
5
5
|
const _hoisted_1 = ["aria-label"];
|
|
6
6
|
const __default__ = { inheritAttrs: false };
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -6,8 +6,8 @@ import { useInputFilter } from "../composables/useInputFilter.js";
|
|
|
6
6
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
7
7
|
import { matchCountryByValue, filterCountries, loadCountries, flagEmoji } from "../components/countries.js";
|
|
8
8
|
import { POPOVER_PANEL, OPTION_ITEM } from "../components/dropdown.js";
|
|
9
|
-
import { _ as _sfc_main$2 } from "./LpFieldNotice-
|
|
10
|
-
import { _ as _sfc_main$1 } from "./LpIcon-
|
|
9
|
+
import { _ as _sfc_main$2 } from "./LpFieldNotice-B--RzKfj.js";
|
|
10
|
+
import { _ as _sfc_main$1 } from "./LpIcon-CTuDVTYv.js";
|
|
11
11
|
import { loadPhoneLib, formatPhone, loadPhoneExamples, digitsBefore, caretAfterDigits, digitsOf } from "../components/phone.js";
|
|
12
12
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
13
13
|
const _hoisted_1 = { class: "text-base leading-none" };
|
|
@@ -2,8 +2,8 @@ import { defineComponent, computed, ref, watch, onBeforeUnmount, openBlock, crea
|
|
|
2
2
|
import { prefersReducedMotion, easeTravel } from "../composables/easing.js";
|
|
3
3
|
import { useReveal } from "../composables/useReveal.js";
|
|
4
4
|
import { resolveSlices, arcPath, calloutLabels, formatTick } from "../components/chart.js";
|
|
5
|
-
import { _ as _sfc_main$2 } from "./LpContextMenu-
|
|
6
|
-
import { _ as _sfc_main$1 } from "./LpIcon-
|
|
5
|
+
import { _ as _sfc_main$2 } from "./LpContextMenu-Cv_F2iCG.js";
|
|
6
|
+
import { _ as _sfc_main$1 } from "./LpIcon-CTuDVTYv.js";
|
|
7
7
|
import { _ as _sfc_main$4 } from "./LpNumberFlow-z4WPZcZu.js";
|
|
8
8
|
import { _ as _sfc_main$5 } from "./LpRollingText-DB7upf-5.js";
|
|
9
9
|
import { _ as _sfc_main$6 } from "./LpShift-DXNsauQZ.js";
|
|
@@ -4,7 +4,7 @@ import { RangeCalendarRoot, RangeCalendarHeader, RangeCalendarPrev, RangeCalenda
|
|
|
4
4
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
5
5
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
6
6
|
import { normalizeRange, parseIsoDay, reshapeRange } from "../components/dateRange.js";
|
|
7
|
-
import { _ as _sfc_main$1 } from "./LpIcon-
|
|
7
|
+
import { _ as _sfc_main$1 } from "./LpIcon-CTuDVTYv.js";
|
|
8
8
|
const _hoisted_1 = { class: "flex gap-4" };
|
|
9
9
|
const __default__ = { inheritAttrs: false };
|
|
10
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, useSlots, computed, openBlock, createElementBlock, normalizeClass, createElementVNode, createBlock, createCommentVNode, resolveDynamicComponent, withCtx, renderSlot, createTextVNode, toDisplayString } from "vue";
|
|
2
2
|
import { tv } from "tailwind-variants";
|
|
3
|
-
import { _ as _sfc_main$1 } from "./LpIcon-
|
|
3
|
+
import { _ as _sfc_main$1 } from "./LpIcon-CTuDVTYv.js";
|
|
4
4
|
const _hoisted_1 = { class: "min-w-0 flex-1 break-words" };
|
|
5
5
|
const _hoisted_2 = { class: "flex flex-wrap items-center gap-2" };
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -4,7 +4,7 @@ import { ToggleGroupRoot, ToggleGroupItem } from "reka-ui";
|
|
|
4
4
|
import { useFieldControl } from "../composables/useField.js";
|
|
5
5
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
6
6
|
import { usePillTransition } from "../composables/usePillTransition.js";
|
|
7
|
-
import { _ as _sfc_main$1 } from "./LpIcon-
|
|
7
|
+
import { _ as _sfc_main$1 } from "./LpIcon-CTuDVTYv.js";
|
|
8
8
|
const _hoisted_1 = {
|
|
9
9
|
key: 2,
|
|
10
10
|
class: "relative z-10"
|
|
@@ -3,7 +3,7 @@ import { ComboboxRoot, ComboboxAnchor, ComboboxTrigger, ComboboxPortal, Combobox
|
|
|
3
3
|
import { useFieldControl } from "../composables/useField.js";
|
|
4
4
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
5
5
|
import { POPOVER_PANEL, OPTION_ITEM } from "../components/dropdown.js";
|
|
6
|
-
import { _ as _sfc_main$2 } from "./LpIcon-
|
|
6
|
+
import { _ as _sfc_main$2 } from "./LpIcon-CTuDVTYv.js";
|
|
7
7
|
import { _ as _sfc_main$1 } from "./LpRollingText-DB7upf-5.js";
|
|
8
8
|
const _hoisted_1 = ["aria-label"];
|
|
9
9
|
const _hoisted_2 = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, useId, openBlock, createElementBlock, Fragment, createElementVNode, mergeProps, unref, normalizeClass, renderSlot, createCommentVNode, createBlock, createVNode, createSlots, withCtx, normalizeProps, guardReactiveProps } from "vue";
|
|
2
2
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
3
|
-
import { _ as _sfc_main$3 } from "./LpDrawer-
|
|
4
|
-
import { _ as _sfc_main$1 } from "./LpInput-
|
|
5
|
-
import { _ as _sfc_main$2 } from "./LpSidebarNav-
|
|
3
|
+
import { _ as _sfc_main$3 } from "./LpDrawer-C97yoWmh.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "./LpInput-C7FHxzj2.js";
|
|
5
|
+
import { _ as _sfc_main$2 } from "./LpSidebarNav-BBSRg34G.js";
|
|
6
6
|
const _hoisted_1 = ["aria-label"];
|
|
7
7
|
const _hoisted_2 = {
|
|
8
8
|
key: 2,
|
|
@@ -3,8 +3,8 @@ import { Motion } from "motion-v";
|
|
|
3
3
|
import { CollapsibleRoot, CollapsibleTrigger, CollapsibleContent } from "reka-ui";
|
|
4
4
|
import { usePillTransition } from "../composables/usePillTransition.js";
|
|
5
5
|
import { _ as _sfc_main$3 } from "./LpBadge-Fe0D1bYx.js";
|
|
6
|
-
import { _ as _sfc_main$4 } from "./LpContextMenu-
|
|
7
|
-
import { _ as _sfc_main$2 } from "./LpIcon-
|
|
6
|
+
import { _ as _sfc_main$4 } from "./LpContextMenu-Cv_F2iCG.js";
|
|
7
|
+
import { _ as _sfc_main$2 } from "./LpIcon-CTuDVTYv.js";
|
|
8
8
|
import { _ as _sfc_main$1 } from "./LpScrollArea-Hz3-JWUG.js";
|
|
9
9
|
import { resolveLink } from "../components/link.js";
|
|
10
10
|
import { useLinkComponent } from "../composables/useLpConfig.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, mergeProps, unref, createElementVNode, createCommentVNode, createBlock, toDisplayString, Fragment, createTextVNode, normalizeClass, createVNode, renderSlot } from "vue";
|
|
2
|
-
import { _ as _sfc_main$1 } from "./LpIcon-
|
|
2
|
+
import { _ as _sfc_main$1 } from "./LpIcon-CTuDVTYv.js";
|
|
3
3
|
import { _ as _sfc_main$2 } from "./LpNumberFlow-z4WPZcZu.js";
|
|
4
4
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
5
5
|
const _hoisted_1 = { class: "flex items-center gap-2" };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, mergeProps, unref, Fragment, renderList, createElementVNode, normalizeClass, createVNode, withCtx, createBlock, createTextVNode, toDisplayString, createCommentVNode } from "vue";
|
|
2
|
-
import { _ as _sfc_main$2 } from "./LpIcon-
|
|
2
|
+
import { _ as _sfc_main$2 } from "./LpIcon-CTuDVTYv.js";
|
|
3
3
|
import { _ as _sfc_main$1 } from "./LpRollingText-DB7upf-5.js";
|
|
4
4
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
5
5
|
const _hoisted_1 = ["aria-current"];
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { defineComponent, openBlock, createBlock, withCtx, createVNode, Transition, createElementBlock, renderSlot } from "vue";
|
|
2
|
+
import { _ as _sfc_main$1 } from "./LpShift-DXNsauQZ.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "LpSwap",
|
|
5
|
+
props: {
|
|
6
|
+
swapKey: {},
|
|
7
|
+
disabled: { type: Boolean }
|
|
8
|
+
},
|
|
9
|
+
setup(__props) {
|
|
10
|
+
return (_ctx, _cache) => {
|
|
11
|
+
return openBlock(), createBlock(_sfc_main$1, {
|
|
12
|
+
axis: "height",
|
|
13
|
+
disabled: __props.disabled
|
|
14
|
+
}, {
|
|
15
|
+
default: withCtx(() => [
|
|
16
|
+
createVNode(Transition, {
|
|
17
|
+
mode: "out-in",
|
|
18
|
+
css: !__props.disabled,
|
|
19
|
+
"enter-active-class": "animate-[tab-in_220ms_var(--ease-emphasized)] motion-reduce:animate-none",
|
|
20
|
+
"leave-active-class": "transition-opacity duration-[var(--duration-fast)] ease-out motion-reduce:transition-none",
|
|
21
|
+
"leave-to-class": "opacity-0"
|
|
22
|
+
}, {
|
|
23
|
+
default: withCtx(() => [
|
|
24
|
+
(openBlock(), createElementBlock("div", { key: __props.swapKey }, [
|
|
25
|
+
renderSlot(_ctx.$slots, "default")
|
|
26
|
+
]))
|
|
27
|
+
]),
|
|
28
|
+
_: 3
|
|
29
|
+
}, 8, ["css"])
|
|
30
|
+
]),
|
|
31
|
+
_: 3
|
|
32
|
+
}, 8, ["disabled"]);
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
export {
|
|
37
|
+
_sfc_main as _
|
|
38
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, openBlock, createElementBlock, createBlock, createCommentVNode, createElementVNode, Fragment, unref, normalizeClass, toDisplayString, createVNode, withCtx, renderList } from "vue";
|
|
2
|
-
import { _ as _sfc_main$3 } from "./LpCheckbox-
|
|
3
|
-
import { _ as _sfc_main$1 } from "./LpInput-
|
|
2
|
+
import { _ as _sfc_main$3 } from "./LpCheckbox-DV9W6T3H.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./LpInput-C7FHxzj2.js";
|
|
4
4
|
import { _ as _sfc_main$2 } from "./LpShift-DXNsauQZ.js";
|
|
5
5
|
import { usePaintSelect } from "../composables/usePaintSelect.js";
|
|
6
6
|
import { matchesQuery, onlyValues, unhideValues, hideAllValues, invertHidden } from "../components/tableFilter.js";
|
|
@@ -2,7 +2,7 @@ import { defineComponent, computed, ref, watch, nextTick, useId, openBlock, crea
|
|
|
2
2
|
import { useReducedMotion, Motion } from "motion-v";
|
|
3
3
|
import { TabsRoot, TabsList, TabsTrigger, TabsContent } from "reka-ui";
|
|
4
4
|
import { usePillTransition } from "../composables/usePillTransition.js";
|
|
5
|
-
import { _ as _sfc_main$1 } from "./LpIcon-
|
|
5
|
+
import { _ as _sfc_main$1 } from "./LpIcon-CTuDVTYv.js";
|
|
6
6
|
const _hoisted_1 = {
|
|
7
7
|
key: 1,
|
|
8
8
|
class: "relative z-10 inline-flex"
|
|
@@ -6,9 +6,9 @@ import { useFieldNotice } from "../composables/useFieldNotice.js";
|
|
|
6
6
|
import { useShift } from "../composables/useShift.js";
|
|
7
7
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
8
8
|
import { mergeClass } from "../composables/useMergedClass.js";
|
|
9
|
-
import { _ as _sfc_main$3 } from "./LpFieldNotice-
|
|
10
|
-
import { _ as _sfc_main$1 } from "./LpFormField-
|
|
11
|
-
import { _ as _sfc_main$2 } from "./LpIcon-
|
|
9
|
+
import { _ as _sfc_main$3 } from "./LpFieldNotice-B--RzKfj.js";
|
|
10
|
+
import { _ as _sfc_main$1 } from "./LpFormField-DMPPL1jF.js";
|
|
11
|
+
import { _ as _sfc_main$2 } from "./LpIcon-CTuDVTYv.js";
|
|
12
12
|
import { splitTags, addTags } from "../components/tags.js";
|
|
13
13
|
const _hoisted_1 = { class: "relative" };
|
|
14
14
|
const _hoisted_2 = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, useAttrs, openBlock, createBlock, resolveDynamicComponent, normalizeStyle, unref, normalizeClass, withCtx, createElementVNode, mergeProps } from "vue";
|
|
2
2
|
import { useFieldControl } from "../composables/useField.js";
|
|
3
3
|
import { mergeClass } from "../composables/useMergedClass.js";
|
|
4
|
-
import { _ as _sfc_main$1 } from "./LpFormField-
|
|
4
|
+
import { _ as _sfc_main$1 } from "./LpFormField-DMPPL1jF.js";
|
|
5
5
|
const _hoisted_1 = ["id", "value", "placeholder", "rows", "disabled", "required", "aria-invalid", "aria-describedby"];
|
|
6
6
|
const __default__ = { inheritAttrs: false };
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, computed, onMounted, ref, openBlock, createBlock, withCtx, createElementVNode, normalizeClass, createElementBlock, createVNode, toDisplayString, createCommentVNode } from "vue";
|
|
2
2
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
3
3
|
import { u as useTheme, p as presets } from "./useTheme-2qHG8NEU.js";
|
|
4
|
-
import { _ as _sfc_main$1 } from "./LpContextMenu-
|
|
5
|
-
import { _ as _sfc_main$2 } from "./LpIcon-
|
|
4
|
+
import { _ as _sfc_main$1 } from "./LpContextMenu-Cv_F2iCG.js";
|
|
5
|
+
import { _ as _sfc_main$2 } from "./LpIcon-CTuDVTYv.js";
|
|
6
6
|
const _hoisted_1 = ["aria-label", "title"];
|
|
7
7
|
const _hoisted_2 = {
|
|
8
8
|
key: 1,
|