@leavepulse/ui 0.58.1 → 0.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{LpCommandPalette-DmQUsJqA.css → LpCommandPalette-DA5pmuPi.css} +21 -21
- package/dist/assets/{LpTable-BNzavdlv.css → LpTable-BZZf_rrt.css} +19 -19
- package/dist/chunks/{ContextMenuItems-BY5sTVQF.js → ContextMenuItems-qXReFtQW.js} +2 -2
- 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-Dio6Sqed.js → LpAddressInput-DD4zTN4P.js} +7 -7
- package/dist/chunks/{LpAlert-CXMn1GYE.js → LpAlert--KLL4NLk.js} +1 -1
- package/dist/chunks/{LpAppShell-Be6T96td.js → LpAppShell-Cv-Y9qNA.js} +3 -3
- package/dist/chunks/{LpAutocomplete-hJ_6CHlh.js → LpAutocomplete-PnL2ntKl.js} +1 -1
- package/dist/chunks/{LpAvatar-BxNs23Xu.js → LpAvatar-CwGs1JCQ.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-DhR7u0d8.js → LpCard-B2D0GIUU.js} +1 -1
- package/dist/chunks/{LpCheckbox-B_C8sOoT.js → LpCheckbox-DV9W6T3H.js} +1 -1
- package/dist/chunks/{LpCodeBlock-CXsqJwDy.js → LpCodeBlock-t6MLA3fb.js} +5 -5
- package/dist/chunks/{LpColorPicker-DQ88niXq.js → LpColorPicker-CvBF8TeL.js} +6 -6
- package/dist/chunks/{LpConfirmDialog-DxlSdjmk.js → LpConfirmDialog-tkgyY3eu.js} +3 -3
- package/dist/chunks/{LpConfirmHost-BcrmTNu_.js → LpConfirmHost-CoYIcUdl.js} +1 -1
- package/dist/chunks/{LpContextMenu-B1NGfpp1.js → LpContextMenu-BnN1k7ga.js} +17 -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-DSknigxH.js → LpDrawer-C97yoWmh.js} +2 -2
- package/dist/chunks/{LpDropdownMenu-C7oHVlKY.js → LpDropdownMenu-CbyYu4Rw.js} +12 -5
- 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-CMA0_rsB.js → LpFileTree-DEqh2ySW.js} +2 -2
- package/dist/chunks/{LpFileTreeNode-B4T258hF.js → LpFileTreeNode-DCZA7sQ-.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-DwiYE32z.js → LpLogViewer-BuPe23sZ.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-BxYssnXg.js → LpModal-QFfctZsj.js} +2 -2
- package/dist/chunks/{LpModalNav-Bn2ws64b.js → LpModalNav-Cw7m-eks.js} +4 -4
- package/dist/chunks/{LpNotificationBell-DJfs4JjQ.js → LpNotificationBell-xH_JphpS.js} +6 -6
- 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-Bg5uTZbx.js → LpPasswordInput-C1G4k_r0.js} +3 -3
- package/dist/chunks/{LpPhoneInput-DStwcbnQ.js → LpPhoneInput-CZrpVxla.js} +3 -3
- package/dist/chunks/{LpPie-DeTkbbOK.js → LpPie-BD5Lsh-2.js} +3 -3
- 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-D3Eam8sa.js → LpSegmented-DslFku0N.js} +3 -3
- package/dist/chunks/{LpSelect-DynjWK1A.js → LpSelect-C4OXN_q3.js} +1 -1
- package/dist/chunks/{LpSidebar-CshW0fqC.js → LpSidebar-B3E_iViL.js} +3 -3
- package/dist/chunks/{LpSidebarNav-C9b3i9G2.js → LpSidebarNav-32sAXNM-.js} +4 -4
- 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/{LpTableFilter-CwHXVxJt.js → LpTableFilter-Ba-rS4H1.js} +2 -2
- package/dist/chunks/{LpTabs-BBGRHY38.js → LpTabs-00v3VQx4.js} +7 -6
- 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-B_qhSl7q.js → LpThemeSwitcher-CeBG0e_D.js} +2 -2
- package/dist/chunks/{LpTimeField-DvGXgdES.js → LpTimeField-BTEt0kvL.js} +1 -1
- package/dist/chunks/{LpToaster-Bo9Q4QBP.js → LpToaster-BcKs7vX7.js} +3 -3
- package/dist/chunks/{LpTour-D7m9ZxNk.js → LpTour-C29-1wha.js} +4 -1
- package/dist/chunks/{MenuTitle-DQP6hc2N.js → MenuTitle-FeC6I24N.js} +3 -3
- package/dist/chunks/{TourCard-DCHOjr6e.js → TourCard-AjN0uhs1.js} +2 -2
- package/dist/chunks/{icons-QqBscG5I.js → icons-CuO3W46H.js} +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.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 +4 -4
- 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 +38 -27
- 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/LpTable.vue.js +13 -12
- package/dist/components/LpTableFilter.vue.js +1 -1
- package/dist/components/LpTabs.vue.d.ts +7 -0
- 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/components/dropdown.js +1 -1
- package/dist/composables/useHintSystem.d.ts +65 -0
- package/dist/composables/useHintSystem.js +98 -12
- package/dist/icons-all.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +62 -58
- package/package.json +1 -1
- package/src/components/ContextMenuItems.vue +1 -1
- package/src/components/LpChart.vue +1 -1
- package/src/components/LpCodeBlock.vue +4 -4
- package/src/components/LpColorPicker.vue +4 -4
- package/src/components/LpCommandPalette.vue +36 -14
- package/src/components/LpContextMenu.vue +19 -1
- package/src/components/LpDrawer.vue +1 -1
- package/src/components/LpDropdownMenu.vue +14 -3
- package/src/components/LpHints.vue +7 -1
- package/src/components/LpModal.vue +1 -1
- package/src/components/LpNotificationBell.vue +2 -2
- package/src/components/LpPasswordInput.vue +1 -1
- package/src/components/LpPhoneInput.vue +1 -1
- package/src/components/LpPie.vue +1 -1
- package/src/components/LpSegmented.vue +2 -2
- package/src/components/LpSidebarNav.vue +2 -2
- package/src/components/LpTable.vue +3 -3
- package/src/components/LpTabs.vue +11 -5
- package/src/components/LpToaster.vue +2 -2
- package/src/components/LpTour.vue +3 -0
- package/src/components/MenuTitle.vue +2 -2
- package/src/components/dropdown.ts +1 -1
- package/src/composables/useHintSystem.ts +130 -12
- package/src/index.ts +2 -1
- package/src/kit-icons.ts +1 -1
- package/src/tokens/tokens.css +6 -0
|
@@ -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(() => [
|
|
@@ -46,7 +53,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
46
53
|
class: "my-1 h-px bg-line"
|
|
47
54
|
})) : createCommentVNode("", true),
|
|
48
55
|
createVNode(unref(DropdownMenuItem), {
|
|
49
|
-
class: normalizeClass(["group/item flex cursor-pointer items-center gap-2 rounded-
|
|
56
|
+
class: normalizeClass(["group/item flex cursor-pointer items-center gap-2 rounded-inner px-2.5 py-1.5 text-sm outline-none transition-[background-color,color] duration-[var(--duration-fast)] data-[disabled]:pointer-events-none data-[disabled]:opacity-45 data-[highlighted]:bg-brand-soft", item.danger ? "text-danger data-[highlighted]:bg-danger-soft data-[highlighted]:text-danger" : "text-ink data-[highlighted]:text-brand"]),
|
|
50
57
|
disabled: item.disabled,
|
|
51
58
|
onSelect: ($event) => item.onSelect?.()
|
|
52
59
|
}, {
|
|
@@ -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-DCZA7sQ-.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-BnN1k7ga.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-BnN1k7ga.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,
|
|
@@ -203,7 +203,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
203
203
|
])) : createCommentVNode("", true),
|
|
204
204
|
createVNode(unref(DialogClose), {
|
|
205
205
|
"data-lp-dialog-close": "",
|
|
206
|
-
class: "group flex shrink-0 items-center rounded-
|
|
206
|
+
class: "group flex shrink-0 items-center rounded-inner p-1 text-muted outline-none transition-colors duration-[var(--duration-fast)] hover:text-ink focus-visible:ring-2 focus-visible:ring-ring",
|
|
207
207
|
"aria-label": unref(text).close
|
|
208
208
|
}, {
|
|
209
209
|
default: withCtx(() => [
|
|
@@ -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-B3E_iViL.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-BnN1k7ga.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";
|
|
@@ -239,13 +239,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
239
239
|
__props.items.length && handlesClear.value ? (openBlock(), createElementBlock("button", {
|
|
240
240
|
key: 0,
|
|
241
241
|
type: "button",
|
|
242
|
-
class: "rounded-
|
|
242
|
+
class: "rounded-inner px-1.5 py-0.5 text-xs font-medium text-muted outline-none transition-colors hover:bg-surface-soft hover:text-ink focus-visible:bg-surface-soft",
|
|
243
243
|
onClick: _cache[1] || (_cache[1] = ($event) => emit("clear"))
|
|
244
244
|
}, toDisplayString(l.value.clear), 1)) : createCommentVNode("", true),
|
|
245
245
|
hasUnread.value ? (openBlock(), createElementBlock("button", {
|
|
246
246
|
key: 1,
|
|
247
247
|
type: "button",
|
|
248
|
-
class: "rounded-
|
|
248
|
+
class: "rounded-inner px-1.5 py-0.5 text-xs font-medium text-brand outline-none transition-colors hover:bg-brand-soft focus-visible:bg-brand-soft",
|
|
249
249
|
onClick: _cache[2] || (_cache[2] = ($event) => emit("markAllRead"))
|
|
250
250
|
}, toDisplayString(l.value.markAllRead), 1)) : createCommentVNode("", true)
|
|
251
251
|
])
|
|
@@ -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({
|
|
@@ -46,7 +46,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
46
46
|
trailing: withCtx(() => [
|
|
47
47
|
createElementVNode("button", {
|
|
48
48
|
type: "button",
|
|
49
|
-
class: "group rounded-
|
|
49
|
+
class: "group rounded-inner p-1 text-muted outline-none transition-colors duration-[var(--duration-fast)] hover:text-ink focus-visible:text-ink",
|
|
50
50
|
"aria-label": visible.value ? unref(text).hide : unref(text).show,
|
|
51
51
|
onClick: _cache[0] || (_cache[0] = ($event) => visible.value = !visible.value)
|
|
52
52
|
}, [
|
|
@@ -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" };
|
|
@@ -260,7 +260,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
260
260
|
"model-value": query.value,
|
|
261
261
|
placeholder: __props.searchPlaceholder,
|
|
262
262
|
"auto-focus": "",
|
|
263
|
-
class: "h-(--size-control-sm) w-full rounded-
|
|
263
|
+
class: "h-(--size-control-sm) w-full rounded-inner border border-line bg-surface-soft px-2.5 text-sm text-ink outline-none placeholder:text-muted focus:border-brand",
|
|
264
264
|
onInput: _cache[0] || (_cache[0] = ($event) => query.value = $event.target.value)
|
|
265
265
|
}, null, 8, ["model-value", "placeholder"])
|
|
266
266
|
]),
|
|
@@ -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-BnN1k7ga.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";
|
|
@@ -540,7 +540,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
540
540
|
return openBlock(), createElementBlock("button", {
|
|
541
541
|
key: `${i}-${a.label}`,
|
|
542
542
|
type: "button",
|
|
543
|
-
class: normalizeClass(["group flex cursor-pointer items-center gap-2 rounded-
|
|
543
|
+
class: normalizeClass(["group flex cursor-pointer items-center gap-2 rounded-inner px-1 py-0.5 text-xs outline-none transition-[opacity,background-color] duration-fast focus-visible:ring-2 focus-visible:ring-ring", [dimmed(i) ? "opacity-45" : "", isSelected(i) ? "bg-surface-soft" : ""]]),
|
|
544
544
|
"aria-pressed": isSelected(i),
|
|
545
545
|
onPointerenter: ($event) => onSlicePointerEnter(i),
|
|
546
546
|
onPointerleave: ($event) => onSlicePointerLeave(i),
|
|
@@ -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"
|
|
@@ -57,14 +57,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
57
57
|
key: opt.value,
|
|
58
58
|
value: opt.value,
|
|
59
59
|
"aria-label": opt.ariaLabel ?? (opt.label ? void 0 : opt.value),
|
|
60
|
-
class: normalizeClass(["relative inline-flex h-full items-center justify-center gap-1.5 rounded-
|
|
60
|
+
class: normalizeClass(["relative inline-flex h-full items-center justify-center gap-1.5 rounded-inner px-3 font-medium outline-none transition-colors duration-[var(--duration-fast)] ease-[var(--ease-emphasized)] focus-visible:ring-2 focus-visible:ring-ring data-[state=on]:text-ink data-[state=off]:text-muted data-[state=off]:hover:text-ink disabled:cursor-not-allowed disabled:opacity-55", __props.block ? "flex-1" : ""])
|
|
61
61
|
}, {
|
|
62
62
|
default: withCtx(() => [
|
|
63
63
|
opt.value === __props.modelValue ? (openBlock(), createBlock(unref(Motion), {
|
|
64
64
|
key: 0,
|
|
65
65
|
"layout-id": pillId,
|
|
66
66
|
transition: unref(pillTransition),
|
|
67
|
-
class: "absolute inset-0 z-0 rounded-
|
|
67
|
+
class: "absolute inset-0 z-0 rounded-inner border border-line bg-surface-raised shadow-sm"
|
|
68
68
|
}, null, 8, ["transition"])) : createCommentVNode("", true),
|
|
69
69
|
opt.icon ? (openBlock(), createBlock(_sfc_main$1, {
|
|
70
70
|
key: 1,
|
|
@@ -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-32sAXNM-.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-BnN1k7ga.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";
|
|
@@ -69,8 +69,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
69
69
|
__props.skeletonHeader ? (openBlock(), createElementBlock("div", _hoisted_1, [..._cache[0] || (_cache[0] = [
|
|
70
70
|
createElementVNode("div", { class: "size-10 shrink-0 animate-pulse rounded-pill bg-surface-soft" }, null, -1),
|
|
71
71
|
createElementVNode("div", { class: "flex-1 space-y-2" }, [
|
|
72
|
-
createElementVNode("div", { class: "h-3.5 w-24 animate-pulse rounded bg-surface-soft" }),
|
|
73
|
-
createElementVNode("div", { class: "h-3 w-16 animate-pulse rounded bg-surface-soft/60" })
|
|
72
|
+
createElementVNode("div", { class: "h-3.5 w-24 animate-pulse rounded-small bg-surface-soft" }),
|
|
73
|
+
createElementVNode("div", { class: "h-3 w-16 animate-pulse rounded-small bg-surface-soft/60" })
|
|
74
74
|
], -1)
|
|
75
75
|
])])) : createCommentVNode("", true),
|
|
76
76
|
createElementVNode("div", _hoisted_2, [
|
|
@@ -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"];
|
|
@@ -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"
|
|
@@ -26,7 +26,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
26
|
variant: { default: "contained" },
|
|
27
27
|
accent: { type: Boolean, default: false },
|
|
28
28
|
block: { type: Boolean, default: false },
|
|
29
|
-
label: {}
|
|
29
|
+
label: {},
|
|
30
|
+
hoverFollow: { type: Boolean, default: true }
|
|
30
31
|
},
|
|
31
32
|
emits: ["update:modelValue"],
|
|
32
33
|
setup(__props, { emit: __emit }) {
|
|
@@ -98,12 +99,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
98
99
|
class: normalizeClass(["relative inline-flex items-center justify-center outline-none transition-colors duration-[var(--duration-fast)] focus-visible:ring-2 focus-visible:ring-ring", [
|
|
99
100
|
bottom.value ? "min-h-14 min-w-0 flex-col gap-0.5 px-1 py-1.5 text-[11px] font-medium focus-visible:ring-inset" : "shrink-0 gap-1.5 whitespace-nowrap text-sm",
|
|
100
101
|
__props.block && !bottom.value ? "flex-1" : "",
|
|
101
|
-
__props.variant === "underline" ? "rounded-t-
|
|
102
|
-
__props.variant === "contained" || __props.variant === "plain" ? "rounded-
|
|
102
|
+
__props.variant === "underline" ? "rounded-t-inner px-3 pt-1.5 pb-2" : "",
|
|
103
|
+
__props.variant === "contained" || __props.variant === "plain" ? "rounded-inner px-3 py-1.5" : "",
|
|
103
104
|
__props.accent ? "data-[state=active]:text-brand" : "data-[state=active]:text-ink",
|
|
104
105
|
hovered.value === item.value && !bottom.value ? "text-ink" : "text-muted"
|
|
105
106
|
]]),
|
|
106
|
-
onPointerenter: ($event) => hovered.value = item.value,
|
|
107
|
+
onPointerenter: ($event) => __props.hoverFollow && (hovered.value = item.value),
|
|
107
108
|
onPointerup: releaseFocusAfterPointer
|
|
108
109
|
}, {
|
|
109
110
|
default: withCtx(() => [
|
|
@@ -118,7 +119,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
118
119
|
"absolute inset-x-[22%] top-0 z-0 h-0.5 rounded-b-full",
|
|
119
120
|
__props.accent ? "bg-brand" : "bg-ink"
|
|
120
121
|
] : [
|
|
121
|
-
"absolute inset-0 z-0 rounded-
|
|
122
|
+
"absolute inset-0 z-0 rounded-inner shadow-sm",
|
|
122
123
|
__props.accent ? "border border-brand/35 bg-brand/12" : "border border-line bg-surface-raised"
|
|
123
124
|
])
|
|
124
125
|
}, null, 8, ["transition", "class"])) : createCommentVNode("", true),
|
|
@@ -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-BnN1k7ga.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,
|
|
@@ -2,7 +2,7 @@ import { defineComponent, computed, openBlock, createBlock, unref, normalizeClas
|
|
|
2
2
|
import { Time } from "@internationalized/date";
|
|
3
3
|
import { TimeFieldRoot, TimeFieldInput } from "reka-ui";
|
|
4
4
|
import { useFieldControl } from "../composables/useField.js";
|
|
5
|
-
import { _ as _sfc_main$1 } from "./LpIcon-
|
|
5
|
+
import { _ as _sfc_main$1 } from "./LpIcon-CTuDVTYv.js";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "LpTimeField",
|
|
8
8
|
props: {
|