@leavepulse/ui 0.73.6 → 0.74.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{DropzoneLinkField-ppY9xalk.js → DropzoneLinkField-C-9BCGJn.js} +2 -2
- package/dist/chunks/{FieldWrapper-y5bKBNxA.js → FieldWrapper-CORPzo9s.js} +1 -1
- package/dist/chunks/{LpActionBar-B55msXTr.js → LpActionBar-BP1ld7-S.js} +2 -2
- package/dist/chunks/{LpAddressInput-mf_dEpj_.js → LpAddressInput-Al3HT5ey.js} +3 -3
- package/dist/chunks/{LpAlert-Cg7oIx1B.js → LpAlert-n5XPAZfv.js} +2 -2
- package/dist/chunks/{LpAppShell-B0Yu9MVs.js → LpAppShell-CpSSm5WT.js} +53 -24
- package/dist/chunks/{LpBadge-0A6sPks3.js → LpBadge-wUYLN4U9.js} +1 -1
- package/dist/chunks/{LpBottomNav-Dik-ZcHv.js → LpBottomNav-CbNQQPuL.js} +1 -1
- package/dist/chunks/{LpBreadcrumbs-ssZV3_od.js → LpBreadcrumbs-DPdbth-c.js} +1 -1
- package/dist/chunks/{LpButton-BgdewXxF.js → LpButton-CFb44IjC.js} +1 -1
- package/dist/chunks/{LpCard-BJ59q6hR.js → LpCard-r13WRqox.js} +1 -1
- package/dist/chunks/{LpCheckbox-B0kJ-t6T.js → LpCheckbox-Cs4SHaHX.js} +1 -1
- package/dist/chunks/{LpCodeBlock-CXR_7t_F.js → LpCodeBlock-DRC8VbXW.js} +1 -1
- package/dist/chunks/{LpCodeDisplay-BCghfBFC.js → LpCodeDisplay-CE9TxCA4.js} +4 -4
- package/dist/chunks/{LpConfirmDialog-CaA4pAre.js → LpConfirmDialog-DY2VjDji.js} +1 -1
- package/dist/chunks/{LpConfirmHost-CBIzALSL.js → LpConfirmHost-DvSZTJ4N.js} +1 -1
- package/dist/chunks/LpContextSwitcher-Dwh6dyID.js +81 -0
- package/dist/chunks/{LpCopyButton-Cw-lF7Q3.js → LpCopyButton-xF7wFVoU.js} +1 -1
- package/dist/chunks/{LpCountdown-BNNhnQAK.js → LpCountdown-DgeY3cLG.js} +1 -1
- package/dist/chunks/{LpDataList-CcAA-rD9.js → LpDataList-Jxyl9H5w.js} +1 -1
- package/dist/chunks/{LpEditable-CSuJIPbG.js → LpEditable-Cy6GLbFx.js} +2 -2
- package/dist/chunks/{LpFileTree-CxOh3rL2.js → LpFileTree-zIFEgo3I.js} +1 -1
- package/dist/chunks/{LpFileTreeNode-9ue2P7ER.js → LpFileTreeNode-cT6BIWvz.js} +3 -3
- package/dist/chunks/{LpFormField-BBFg8i2I.js → LpFormField-Ch69Jd-X.js} +1 -1
- package/dist/chunks/{LpHintLayer-Db_s9_DL.js → LpHintLayer-CgObdUsM.js} +2 -2
- package/dist/chunks/{LpHints-Cxf5GXsx.js → LpHints-Bz-BlaSl.js} +3 -3
- package/dist/chunks/{LpInfraNode-6NLxkAnr.js → LpInfraNode-46XOCkfq.js} +2 -2
- package/dist/chunks/{LpInput-B2dTt4pc.js → LpInput-Tw-yxT4I.js} +1 -1
- package/dist/chunks/{LpLightbox-Coe4OBUl.js → LpLightbox-B95yu22B.js} +2 -2
- package/dist/chunks/{LpLoader-DPTNhqLu.js → LpLoader-DVwkOmt9.js} +1 -1
- package/dist/chunks/{LpLogViewer-DxiR6Mbd.js → LpLogViewer-D25jM2_I.js} +3 -3
- package/dist/chunks/{LpMapPicker-DeJRMfFN.js → LpMapPicker-DRGgh89B.js} +1 -1
- package/dist/chunks/{LpMediaGallery-B7Km8N9l.js → LpMediaGallery-Bkram-MO.js} +1 -1
- package/dist/chunks/{LpModalNav-BmxEyqOx.js → LpModalNav-DQpV2kdn.js} +2 -2
- package/dist/chunks/{LpNotificationBell-u8-ZjRON.js → LpNotificationBell-3244LUVc.js} +3 -3
- package/dist/chunks/{LpPaletteTheme-CWAIjBCi.js → LpPaletteTheme-DiLYKQiZ.js} +3 -3
- package/dist/chunks/{LpPasswordInput-Ih7Lv43S.js → LpPasswordInput-BkHKQDhM.js} +2 -2
- package/dist/chunks/{LpPie-Idujdb3M.js → LpPie-DrZepi0p.js} +2 -2
- package/dist/chunks/{LpPipeline-QCZWWB0G.js → LpPipeline-B3aOVOkV.js} +2 -2
- package/dist/chunks/{LpRepeater-DghUJ3bc.js → LpRepeater-D7ZmnIYd.js} +2 -2
- package/dist/chunks/{LpScramble-DeT_D36q.js → LpScramble-Bn9OoOtC.js} +1 -1
- package/dist/chunks/{LpSecretField-osKPNdNT.js → LpSecretField-BbmqM9ye.js} +6 -6
- package/dist/chunks/{LpShift-kKUeG9NS.js → LpShift-CCq7dofl.js} +2 -4
- package/dist/chunks/{LpSidebar-CR_WKcn2.js → LpSidebar-BoNLKgh-.js} +2 -2
- package/dist/chunks/{LpSidebarNav-h3YunOAr.js → LpSidebarNav-Bky8chrv.js} +2 -2
- package/dist/chunks/{LpSidebarRow-SjV0Ouhq.js → LpSidebarRow-BRYhNDSo.js} +1 -1
- package/dist/chunks/{LpStat-DXqKD1h5.js → LpStat-f2LfDCJ4.js} +1 -1
- package/dist/chunks/{LpStatus-DfZREVe0.js → LpStatus-DglxttQ7.js} +2 -2
- package/dist/chunks/{LpStepMark-TaAyuNsH.js → LpStepMark-DpzKVyh8.js} +1 -1
- package/dist/chunks/{LpStepper-CKSTFzHE.js → LpStepper-DpsocBNJ.js} +1 -1
- package/dist/chunks/{LpSwap-KIS24N8W.js → LpSwap-C96c0LWh.js} +1 -1
- package/dist/chunks/{LpSwitch-DlZHmj-M.js → LpSwitch-BnXd1llc.js} +1 -1
- package/dist/chunks/{LpTabFace-JFJLW0kA.js → LpTabFace-DPCwKkH2.js} +1 -1
- package/dist/chunks/{LpTableFilter-47ANnx_a.js → LpTableFilter-CiVBpaq0.js} +3 -3
- package/dist/chunks/{LpTagsInput-CHoiid8u.js → LpTagsInput-C-mDG648.js} +2 -2
- package/dist/chunks/{LpTextarea-CU7C1pLO.js → LpTextarea-TE-yZv2U.js} +1 -1
- package/dist/chunks/{LpThemeStudio-zyOH3dF2.js → LpThemeStudio-BpORDvH6.js} +2 -2
- package/dist/chunks/{LpThemeSwitcher-BXJhQYGD.js → LpThemeSwitcher-BnEn_mvf.js} +2 -2
- package/dist/chunks/{LpToaster-C1D35SKk.js → LpToaster-IwTXjbbU.js} +1 -1
- package/dist/chunks/{LpTopologyCanvas-1OufbBtQ.js → LpTopologyCanvas-B1gIbS0n.js} +1 -1
- package/dist/chunks/{LpTour-XshJslGg.js → LpTour-BZq-mUMv.js} +1 -1
- package/dist/chunks/{LpTruncate-qgKA-3K3.js → LpTruncate-CflAIwiJ.js} +1 -1
- package/dist/chunks/{LpUptimeBar-qhvvmmoI.js → LpUptimeBar-DqNvvMBK.js} +2 -2
- package/dist/chunks/{RevealToggle-6MlmohxS.js → RevealToggle-BEit1n6Z.js} +1 -1
- package/dist/chunks/{TourCard-BuB-i4kv.js → TourCard-DNclH3u_.js} +3 -3
- package/dist/component-names.d.ts +1 -1
- package/dist/components/DropzoneLinkField.vue.js +1 -1
- package/dist/components/FieldWrapper.vue.js +1 -1
- package/dist/components/LpActionBar.vue.js +1 -1
- package/dist/components/LpAddressInput.vue.js +1 -1
- package/dist/components/LpAlert.vue.js +1 -1
- package/dist/components/LpAppShell.vue.d.ts +25 -1
- package/dist/components/LpAppShell.vue.js +1 -1
- package/dist/components/LpBadge.vue.js +1 -1
- package/dist/components/LpBottomNav.vue.js +1 -1
- package/dist/components/LpBreadcrumbs.vue.js +1 -1
- package/dist/components/LpButton.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/LpCodeDisplay.vue.js +1 -1
- package/dist/components/LpCommandPalette.vue.js +2 -2
- package/dist/components/LpConfirmDialog.vue.js +1 -1
- package/dist/components/LpConfirmHost.vue.js +1 -1
- package/dist/components/LpContextSwitcher.vue.d.ts +34 -0
- package/dist/components/LpContextSwitcher.vue.js +4 -0
- package/dist/components/LpCopyButton.vue.js +1 -1
- package/dist/components/LpCountdown.vue.js +1 -1
- package/dist/components/LpDataList.vue.js +1 -1
- package/dist/components/LpDropzone.vue.js +1 -1
- package/dist/components/LpEditable.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/LpImageEditor.vue.js +1 -1
- package/dist/components/LpInfraNode.vue.js +1 -1
- package/dist/components/LpInput.vue.js +1 -1
- package/dist/components/LpLightbox.vue.js +1 -1
- package/dist/components/LpLoader.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/LpModalNav.vue.js +1 -1
- package/dist/components/LpNotificationBell.vue.js +1 -1
- package/dist/components/LpPaletteTheme.vue.js +1 -1
- package/dist/components/LpPasswordInput.vue.js +1 -1
- package/dist/components/LpPie.vue.js +1 -1
- package/dist/components/LpPipeline.vue.js +1 -1
- package/dist/components/LpRepeater.vue.js +1 -1
- package/dist/components/LpScramble.vue.js +1 -1
- package/dist/components/LpSecretField.vue.js +1 -1
- package/dist/components/LpShift.vue.js +1 -1
- package/dist/components/LpSidebar.vue.js +1 -1
- package/dist/components/LpSidebarNav.vue.js +1 -1
- package/dist/components/LpSidebarRow.vue.js +1 -1
- package/dist/components/LpStat.vue.js +1 -1
- package/dist/components/LpStatus.vue.js +1 -1
- package/dist/components/LpStepMark.vue.js +1 -1
- package/dist/components/LpStepper.vue.js +1 -1
- package/dist/components/LpSwap.vue.js +1 -1
- package/dist/components/LpSwitch.vue.js +1 -1
- package/dist/components/LpTabFace.vue.js +1 -1
- package/dist/components/LpTable.vue.js +6 -6
- 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/LpThemeStudio.vue.js +1 -1
- package/dist/components/LpThemeSwitcher.vue.js +1 -1
- package/dist/components/LpToaster.vue.js +1 -1
- package/dist/components/LpTopologyCanvas.vue.js +1 -1
- package/dist/components/LpTour.vue.js +1 -1
- package/dist/components/LpTruncate.vue.js +1 -1
- package/dist/components/LpUptimeBar.vue.js +1 -1
- package/dist/components/RevealToggle.vue.js +1 -1
- package/dist/components/TourCard.vue.js +1 -1
- package/dist/components/sidebar.d.ts +6 -0
- package/dist/composables/useShift.d.ts +0 -2
- package/dist/composables/useShift.js +0 -5
- package/dist/index.d.ts +2 -0
- package/dist/index.js +143 -141
- package/package.json +1 -1
- package/src/component-names.ts +1 -0
- package/src/components/LpAppShell.vue +27 -3
- package/src/components/LpContextSwitcher.vue +74 -0
- package/src/components/LpShift.vue +2 -4
- package/src/components/sidebar.ts +7 -0
- package/src/composables/useShift.ts +0 -10
- package/src/index.ts +2 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, useModel, ref, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, createTextVNode, toDisplayString, normalizeClass, mergeModels } from "vue";
|
|
2
|
-
import { _ as _sfc_main$2 } from "./LpButton-
|
|
3
|
-
import { _ as _sfc_main$1 } from "./LpInput-
|
|
2
|
+
import { _ as _sfc_main$2 } from "./LpButton-CFb44IjC.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./LpInput-Tw-yxT4I.js";
|
|
4
4
|
const _hoisted_1 = { class: "flex w-full flex-col gap-1.5" };
|
|
5
5
|
const _hoisted_2 = { class: "flex items-center gap-2" };
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, useAttrs, ref, openBlock, createBlock, resolveDynamicComponent, normalizeStyle, unref, normalizeClass, withCtx, renderSlot } from "vue";
|
|
2
|
-
import { _ as _sfc_main$1 } from "./LpFormField-
|
|
2
|
+
import { _ as _sfc_main$1 } from "./LpFormField-Ch69Jd-X.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
...{ inheritAttrs: false },
|
|
5
5
|
__name: "FieldWrapper",
|
|
@@ -2,9 +2,9 @@ import { defineComponent, useSlots, computed, ref, watch, openBlock, createBlock
|
|
|
2
2
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
3
3
|
import { useBarStack } from "../components/actionBar.js";
|
|
4
4
|
import { CLOSE_ICON } from "../components/dropdown.js";
|
|
5
|
-
import { _ as _sfc_main$2 } from "./LpButton-
|
|
5
|
+
import { _ as _sfc_main$2 } from "./LpButton-CFb44IjC.js";
|
|
6
6
|
import { _ as _sfc_main$1 } from "./LpIcon--5WSb3jJ.js";
|
|
7
|
-
import { _ as _sfc_main$3 } from "./LpLoader-
|
|
7
|
+
import { _ as _sfc_main$3 } from "./LpLoader-DVwkOmt9.js";
|
|
8
8
|
import { usePortalTarget } from "../composables/useView.js";
|
|
9
9
|
import { useResizeObserver } from "../composables/useResizeObserver.js";
|
|
10
10
|
const _hoisted_1 = ["aria-label"];
|
|
@@ -3,10 +3,10 @@ import { useAsyncTask } from "../composables/useAsyncTask.js";
|
|
|
3
3
|
import { OSM_TILES, createNominatimProvider, emptyAddress, formatAddress } from "../components/address.js";
|
|
4
4
|
import { flagEmoji, loadCountries } from "../components/countries.js";
|
|
5
5
|
import { _ as _sfc_main$2 } from "./LpAutocomplete-DOu7FN5P.js";
|
|
6
|
-
import { _ as _sfc_main$3 } from "./LpButton-
|
|
7
|
-
import { _ as _sfc_main$1 } from "./LpFormField-
|
|
6
|
+
import { _ as _sfc_main$3 } from "./LpButton-CFb44IjC.js";
|
|
7
|
+
import { _ as _sfc_main$1 } from "./LpFormField-Ch69Jd-X.js";
|
|
8
8
|
import { _ as _sfc_main$4 } from "./LpIcon--5WSb3jJ.js";
|
|
9
|
-
import { _ as _sfc_main$5 } from "./LpInput-
|
|
9
|
+
import { _ as _sfc_main$5 } from "./LpInput-Tw-yxT4I.js";
|
|
10
10
|
import { _ as _sfc_main$7 } from "./LpModal-BnjZ2iem.js";
|
|
11
11
|
import { _ as _sfc_main$6 } from "./LpSelect-Cxq4yBGd.js";
|
|
12
12
|
import { useFieldControl } from "../composables/useField.js";
|
|
@@ -2,8 +2,8 @@ import { defineComponent, ref, watch, computed, useSlots, openBlock, createEleme
|
|
|
2
2
|
import { tv } from "tailwind-variants";
|
|
3
3
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
4
4
|
import { _ as _sfc_main$2 } from "./LpIcon--5WSb3jJ.js";
|
|
5
|
-
import { _ as _sfc_main$1 } from "./LpLoader-
|
|
6
|
-
import { _ as _sfc_main$3 } from "./LpSwap-
|
|
5
|
+
import { _ as _sfc_main$1 } from "./LpLoader-DVwkOmt9.js";
|
|
6
|
+
import { _ as _sfc_main$3 } from "./LpSwap-C96c0LWh.js";
|
|
7
7
|
import { slotText } from "../components/slotText.js";
|
|
8
8
|
import { TONES, toneLook } from "../components/tone.js";
|
|
9
9
|
const _hoisted_1 = ["role", "aria-busy"];
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { defineComponent, computed, useModel, ref, useId, onMounted, watch, openBlock, createElementBlock, mergeProps, unref, createElementVNode, withModifiers, toDisplayString, createVNode, createSlots, withCtx, renderSlot, normalizeProps, guardReactiveProps, normalizeClass, withDirectives, vShow, createBlock, Teleport, createCommentVNode, mergeModels } from "vue";
|
|
2
2
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
3
3
|
import { useScrollMemory } from "../composables/scrollMemory.js";
|
|
4
|
-
import { _ as _sfc_main$
|
|
5
|
-
import { _ as _sfc_main$2 } from "./
|
|
6
|
-
import { _ as _sfc_main$3 } from "./
|
|
7
|
-
import { _ as _sfc_main$
|
|
8
|
-
import { _ as _sfc_main$
|
|
9
|
-
import { _ as _sfc_main$
|
|
4
|
+
import { _ as _sfc_main$7 } from "./LpBottomNav-CbNQQPuL.js";
|
|
5
|
+
import { _ as _sfc_main$2 } from "./LpContextSwitcher-Dwh6dyID.js";
|
|
6
|
+
import { _ as _sfc_main$3 } from "./LpButton-CFb44IjC.js";
|
|
7
|
+
import { _ as _sfc_main$4 } from "./LpIcon--5WSb3jJ.js";
|
|
8
|
+
import { _ as _sfc_main$6 } from "./LpScrollArea-Hz3-JWUG.js";
|
|
9
|
+
import { _ as _sfc_main$5 } from "./LpShift-CCq7dofl.js";
|
|
10
|
+
import { _ as _sfc_main$1 } from "./LpSidebar-BoNLKgh-.js";
|
|
10
11
|
import { useMergedAttrs, mergeClass } from "../composables/useMergedClass.js";
|
|
11
12
|
const _hoisted_1 = ["href"];
|
|
12
13
|
const _hoisted_2 = { class: "flex min-w-0 flex-1 flex-col" };
|
|
@@ -39,6 +40,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
39
40
|
persist: {},
|
|
40
41
|
previewDelay: {},
|
|
41
42
|
compactHotkey: { type: [String, Boolean] },
|
|
43
|
+
contexts: {},
|
|
44
|
+
context: {},
|
|
42
45
|
environment: {},
|
|
43
46
|
hints: {},
|
|
44
47
|
bottomNav: { type: [Boolean, Number, Array] }
|
|
@@ -46,10 +49,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
46
49
|
"open": { type: Boolean, ...{ default: false } },
|
|
47
50
|
"openModifiers": {}
|
|
48
51
|
}),
|
|
49
|
-
emits: /* @__PURE__ */ mergeModels(["update:modelValue", "update:collapsed", "select", "update:compact", "update:pinned"], ["update:open"]),
|
|
52
|
+
emits: /* @__PURE__ */ mergeModels(["update:modelValue", "update:collapsed", "select", "update:compact", "update:pinned", "update:context"], ["update:open"]),
|
|
50
53
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
51
54
|
const props = __props;
|
|
52
55
|
const emit = __emit;
|
|
56
|
+
const switching = computed(() => (props.contexts?.length ?? 0) > 1);
|
|
53
57
|
const flatItems = computed(
|
|
54
58
|
() => (props.sections ? props.sections.flatMap((s) => s.items) : props.items ?? []).flatMap((i) => [i, ...i.children ?? []])
|
|
55
59
|
);
|
|
@@ -161,60 +165,85 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
161
165
|
hints: __props.hints,
|
|
162
166
|
class: "shrink-0",
|
|
163
167
|
"onUpdate:modelValue": onModel,
|
|
164
|
-
"onUpdate:compact": _cache[
|
|
165
|
-
"onUpdate:pinned": _cache[
|
|
166
|
-
"onUpdate:open": _cache[
|
|
167
|
-
"onUpdate:collapsed": _cache[
|
|
168
|
+
"onUpdate:compact": _cache[1] || (_cache[1] = (v) => emit("update:compact", v)),
|
|
169
|
+
"onUpdate:pinned": _cache[2] || (_cache[2] = (v) => emit("update:pinned", v)),
|
|
170
|
+
"onUpdate:open": _cache[3] || (_cache[3] = (v) => drawerOpen.value = v),
|
|
171
|
+
"onUpdate:collapsed": _cache[4] || (_cache[4] = (v) => emit("update:collapsed", v)),
|
|
168
172
|
onSelect
|
|
169
173
|
}, createSlots({ _: 2 }, [
|
|
170
|
-
|
|
174
|
+
switching.value ? {
|
|
171
175
|
name: "header",
|
|
172
176
|
fn: withCtx(({ compact: folded }) => [
|
|
173
|
-
|
|
177
|
+
createVNode(_sfc_main$2, {
|
|
178
|
+
contexts: __props.contexts,
|
|
179
|
+
"model-value": __props.context,
|
|
180
|
+
compact: folded,
|
|
181
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = (id) => emit("update:context", id))
|
|
182
|
+
}, createSlots({ _: 2 }, [
|
|
183
|
+
_ctx.$slots.logo ? {
|
|
184
|
+
name: "default",
|
|
185
|
+
fn: withCtx(({ context: shown }) => [
|
|
186
|
+
renderSlot(_ctx.$slots, "logo", {
|
|
187
|
+
compact: folded,
|
|
188
|
+
context: shown
|
|
189
|
+
})
|
|
190
|
+
]),
|
|
191
|
+
key: "0"
|
|
192
|
+
} : void 0
|
|
193
|
+
]), 1032, ["contexts", "model-value", "compact"])
|
|
174
194
|
]),
|
|
175
195
|
key: "0"
|
|
196
|
+
} : _ctx.$slots.logo ? {
|
|
197
|
+
name: "header",
|
|
198
|
+
fn: withCtx(({ compact: folded }) => [
|
|
199
|
+
renderSlot(_ctx.$slots, "logo", {
|
|
200
|
+
compact: folded,
|
|
201
|
+
context: __props.contexts?.[0]
|
|
202
|
+
})
|
|
203
|
+
]),
|
|
204
|
+
key: "1"
|
|
176
205
|
} : void 0,
|
|
177
206
|
_ctx.$slots["sidebar-actions"] ? {
|
|
178
207
|
name: "actions",
|
|
179
208
|
fn: withCtx(() => [
|
|
180
209
|
renderSlot(_ctx.$slots, "sidebar-actions")
|
|
181
210
|
]),
|
|
182
|
-
key: "
|
|
211
|
+
key: "2"
|
|
183
212
|
} : void 0,
|
|
184
213
|
_ctx.$slots["sidebar-footer"] ? {
|
|
185
214
|
name: "footer",
|
|
186
215
|
fn: withCtx(({ compact: folded }) => [
|
|
187
216
|
renderSlot(_ctx.$slots, "sidebar-footer", { compact: folded })
|
|
188
217
|
]),
|
|
189
|
-
key: "
|
|
218
|
+
key: "3"
|
|
190
219
|
} : void 0,
|
|
191
220
|
_ctx.$slots["sidebar-item"] ? {
|
|
192
221
|
name: "item",
|
|
193
222
|
fn: withCtx((slotProps) => [
|
|
194
223
|
renderSlot(_ctx.$slots, "sidebar-item", normalizeProps(guardReactiveProps(slotProps)))
|
|
195
224
|
]),
|
|
196
|
-
key: "
|
|
225
|
+
key: "4"
|
|
197
226
|
} : void 0
|
|
198
227
|
]), 1032, ["model-value", "items", "sections", "is-active", "open", "mobile-breakpoint", "divider", "loading", "collapsed", "auto-collapse-after", "compact", "resizable", "pinnable", "pinned", "persist", "preview-delay", "compact-hotkey", "environment", "hints"]),
|
|
199
228
|
createElementVNode("div", _hoisted_2, [
|
|
200
229
|
createElementVNode("header", _hoisted_3, [
|
|
201
|
-
createVNode(_sfc_main$
|
|
230
|
+
createVNode(_sfc_main$3, {
|
|
202
231
|
class: normalizeClass(burgerClass.value),
|
|
203
232
|
variant: "ghost",
|
|
204
233
|
size: "sm",
|
|
205
234
|
square: "",
|
|
206
235
|
"aria-label": unref(text).openMenu,
|
|
207
|
-
onClick: _cache[
|
|
236
|
+
onClick: _cache[5] || (_cache[5] = ($event) => drawerOpen.value = true)
|
|
208
237
|
}, {
|
|
209
238
|
default: withCtx(() => [
|
|
210
|
-
createVNode(_sfc_main$
|
|
239
|
+
createVNode(_sfc_main$4, {
|
|
211
240
|
name: "lucide:menu",
|
|
212
241
|
size: 18
|
|
213
242
|
})
|
|
214
243
|
]),
|
|
215
244
|
_: 1
|
|
216
245
|
}, 8, ["class", "aria-label"]),
|
|
217
|
-
createVNode(_sfc_main$
|
|
246
|
+
createVNode(_sfc_main$5, {
|
|
218
247
|
axis: "height",
|
|
219
248
|
presence: "",
|
|
220
249
|
class: "flex min-w-0 flex-1 items-center"
|
|
@@ -226,7 +255,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
226
255
|
]),
|
|
227
256
|
_: 3
|
|
228
257
|
}),
|
|
229
|
-
createVNode(_sfc_main$
|
|
258
|
+
createVNode(_sfc_main$5, {
|
|
230
259
|
axis: "width",
|
|
231
260
|
anchor: "end",
|
|
232
261
|
presence: "",
|
|
@@ -249,7 +278,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
249
278
|
}, null, 512), [
|
|
250
279
|
[vShow, bleeding.value]
|
|
251
280
|
]),
|
|
252
|
-
withDirectives(createVNode(_sfc_main$
|
|
281
|
+
withDirectives(createVNode(_sfc_main$6, {
|
|
253
282
|
ref_key: "scrollArea",
|
|
254
283
|
ref: scrollArea,
|
|
255
284
|
class: "min-h-0 flex-1",
|
|
@@ -269,7 +298,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
269
298
|
[vShow, !bleeding.value]
|
|
270
299
|
])
|
|
271
300
|
]),
|
|
272
|
-
__props.bottomNav ? (openBlock(), createBlock(_sfc_main$
|
|
301
|
+
__props.bottomNav ? (openBlock(), createBlock(_sfc_main$7, {
|
|
273
302
|
key: 0,
|
|
274
303
|
class: normalizeClass(burgerHidden[__props.mobileBreakpoint]),
|
|
275
304
|
items: bottomItems.value,
|
|
@@ -277,7 +306,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
277
306
|
more: "",
|
|
278
307
|
"more-active": moreActive.value,
|
|
279
308
|
onSelect: onBottom,
|
|
280
|
-
onMore: _cache[
|
|
309
|
+
onMore: _cache[6] || (_cache[6] = ($event) => drawerOpen.value = true)
|
|
281
310
|
}, null, 8, ["class", "items", "is-active", "more-active"])) : createCommentVNode("", true)
|
|
282
311
|
]),
|
|
283
312
|
renderSlot(_ctx.$slots, "overlays")
|
|
@@ -5,7 +5,7 @@ import { useMergedClass } from "../composables/useMergedClass.js";
|
|
|
5
5
|
import { BADGE_REMOVE } from "../components/badge.js";
|
|
6
6
|
import { _ as _sfc_main$3 } from "./LpIcon--5WSb3jJ.js";
|
|
7
7
|
import { _ as _sfc_main$2 } from "./LpRollingText-B54Pje7P.js";
|
|
8
|
-
import { _ as _sfc_main$1 } from "./LpShift-
|
|
8
|
+
import { _ as _sfc_main$1 } from "./LpShift-CCq7dofl.js";
|
|
9
9
|
import { slotText } from "../components/slotText.js";
|
|
10
10
|
import { TONES } from "../components/tone.js";
|
|
11
11
|
const _hoisted_1 = { class: "inline-flex max-w-full items-center gap-1.5 whitespace-nowrap" };
|
|
@@ -3,7 +3,7 @@ import { Motion } from "motion-v";
|
|
|
3
3
|
import { usePillTransition } from "../composables/usePillTransition.js";
|
|
4
4
|
import { useLabels, useLinkComponent } from "../composables/useLpConfig.js";
|
|
5
5
|
import { resolveLink } from "../components/link.js";
|
|
6
|
-
import { _ as _sfc_main$1 } from "./LpTabFace-
|
|
6
|
+
import { _ as _sfc_main$1 } from "./LpTabFace-DPCwKkH2.js";
|
|
7
7
|
import { BOTTOM_BAR, BOTTOM_ITEM, BOTTOM_MARKER } from "../components/tabs.js";
|
|
8
8
|
const _hoisted_1 = ["aria-label"];
|
|
9
9
|
const ROW = "relative flex items-center justify-center outline-none transition-[color,opacity] duration-[var(--duration-fast)] focus-visible:ring-2 focus-visible:ring-ring";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch, openBlock, createElementBlock, mergeProps, unref, createVNode, withCtx, TransitionGroup, normalizeClass, Fragment, renderList, createBlock, createCommentVNode, resolveDynamicComponent } from "vue";
|
|
2
2
|
import { _ as _sfc_main$2 } from "./LpIcon--5WSb3jJ.js";
|
|
3
3
|
import { _ as _sfc_main$3 } from "./LpRollingText-B54Pje7P.js";
|
|
4
|
-
import { _ as _sfc_main$1 } from "./LpShift-
|
|
4
|
+
import { _ as _sfc_main$1 } from "./LpShift-CCq7dofl.js";
|
|
5
5
|
import { useLabels, useLinkComponent } from "../composables/useLpConfig.js";
|
|
6
6
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
7
7
|
import { resolveLink } from "../components/link.js";
|
|
@@ -7,7 +7,7 @@ import { useHotkeys, useAppleKeyboard, appleModifierLabel, parseCombo } from "..
|
|
|
7
7
|
import { useLabels, useLinkComponent } from "../composables/useLpConfig.js";
|
|
8
8
|
import { useToast } from "../composables/useToast.js";
|
|
9
9
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
10
|
-
import { _ as _sfc_main$1 } from "./LpLoader-
|
|
10
|
+
import { _ as _sfc_main$1 } from "./LpLoader-DVwkOmt9.js";
|
|
11
11
|
import { resolveLink } from "../components/link.js";
|
|
12
12
|
const __default__ = { inheritAttrs: false };
|
|
13
13
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -3,7 +3,7 @@ import { tv } from "tailwind-variants";
|
|
|
3
3
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
4
4
|
import { MenuWhen } from "../components/menuWhen.js";
|
|
5
5
|
import { _ as _sfc_main$2 } from "./LpSkeleton-BB6XIV-w.js";
|
|
6
|
-
import { _ as _sfc_main$1 } from "./LpSwap-
|
|
6
|
+
import { _ as _sfc_main$1 } from "./LpSwap-C96c0LWh.js";
|
|
7
7
|
import { useSpotlight } from "../composables/useSpotlight.js";
|
|
8
8
|
const __default__ = { inheritAttrs: false };
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -2,7 +2,7 @@ import { defineComponent, useId, computed, openBlock, createElementBlock, mergeP
|
|
|
2
2
|
import { usePaletteControl } from "../composables/usePaletteCommands.js";
|
|
3
3
|
import { CheckboxRoot, CheckboxIndicator } from "reka-ui";
|
|
4
4
|
import { _ as _sfc_main$1 } from "./LpIcon--5WSb3jJ.js";
|
|
5
|
-
import { _ as _sfc_main$2 } from "./LpLoader-
|
|
5
|
+
import { _ as _sfc_main$2 } from "./LpLoader-DVwkOmt9.js";
|
|
6
6
|
import { useFieldControl } from "../composables/useField.js";
|
|
7
7
|
import { useOptimisticToggle } from "../composables/useOptimisticToggle.js";
|
|
8
8
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, reactive, watch, ref, openBlock, createElementBlock, mergeProps, unref, toDisplayString, createCommentVNode, createElementVNode, createVNode, createBlock, normalizeStyle, normalizeClass, Fragment, renderList } from "vue";
|
|
2
2
|
import { tokenizeLines } from "../components/codeHighlight.js";
|
|
3
3
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
4
|
-
import { _ as _sfc_main$2 } from "./LpCopyButton-
|
|
4
|
+
import { _ as _sfc_main$2 } from "./LpCopyButton-xF7wFVoU.js";
|
|
5
5
|
import { _ as _sfc_main$1 } from "./LpIcon--5WSb3jJ.js";
|
|
6
6
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
7
7
|
const _hoisted_1 = {
|
|
@@ -2,12 +2,12 @@ import { defineComponent, useModel, computed, ref, watch, openBlock, createEleme
|
|
|
2
2
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
3
3
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
4
4
|
import { useNow } from "../composables/useNow.js";
|
|
5
|
-
import { _ as _sfc_main$6 } from "./LpCheckbox-
|
|
6
|
-
import { _ as _sfc_main$3 } from "./LpCopyButton-
|
|
7
|
-
import { _ as _sfc_main$5 } from "./LpCountdown-
|
|
5
|
+
import { _ as _sfc_main$6 } from "./LpCheckbox-Cs4SHaHX.js";
|
|
6
|
+
import { _ as _sfc_main$3 } from "./LpCopyButton-xF7wFVoU.js";
|
|
7
|
+
import { _ as _sfc_main$5 } from "./LpCountdown-DgeY3cLG.js";
|
|
8
8
|
import { _ as _sfc_main$4 } from "./LpIcon--5WSb3jJ.js";
|
|
9
9
|
import { _ as _sfc_main$1 } from "./LpRollingText-B54Pje7P.js";
|
|
10
|
-
import { _ as _sfc_main$2 } from "./RevealToggle-
|
|
10
|
+
import { _ as _sfc_main$2 } from "./RevealToggle-BEit1n6Z.js";
|
|
11
11
|
import { groupCode } from "../components/fieldText.js";
|
|
12
12
|
import { toEpoch, formatTime, ceilToSecond, msToNextSecond } from "../components/timeSpan.js";
|
|
13
13
|
const _hoisted_1 = { class: "flex flex-wrap items-center gap-x-2 gap-y-1" };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch, openBlock, createBlock, createSlots, withCtx, renderSlot, createElementBlock, toDisplayString, createCommentVNode, createVNode, createTextVNode, unref, createElementVNode, normalizeClass, nextTick } from "vue";
|
|
2
2
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
3
|
-
import { _ as _sfc_main$2 } from "./LpButton-
|
|
3
|
+
import { _ as _sfc_main$2 } from "./LpButton-CFb44IjC.js";
|
|
4
4
|
import { _ as _sfc_main$3 } from "./LpIcon--5WSb3jJ.js";
|
|
5
5
|
import { _ as _sfc_main$1 } from "./LpModal-BnjZ2iem.js";
|
|
6
6
|
const _hoisted_1 = { class: "inline-flex items-center gap-2.5" };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch, openBlock, createBlock, createCommentVNode } from "vue";
|
|
2
2
|
import { confirmQueue, settleConfirm } from "../components/confirm.js";
|
|
3
|
-
import { _ as _sfc_main$1 } from "./LpConfirmDialog-
|
|
3
|
+
import { _ as _sfc_main$1 } from "./LpConfirmDialog-DY2VjDji.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "LpConfirmHost",
|
|
6
6
|
props: {
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createElementVNode, normalizeClass, renderSlot, createElementBlock, Fragment, createTextVNode, toDisplayString, createCommentVNode } from "vue";
|
|
2
|
+
import { useLabels } from "../composables/useLpConfig.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./LpDropdownMenu-Dl7Z4ZhS.js";
|
|
4
|
+
import { _ as _sfc_main$2 } from "./LpIcon--5WSb3jJ.js";
|
|
5
|
+
const _hoisted_1 = ["aria-label"];
|
|
6
|
+
const _hoisted_2 = { class: "truncate" };
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
+
__name: "LpContextSwitcher",
|
|
9
|
+
props: {
|
|
10
|
+
contexts: {},
|
|
11
|
+
modelValue: {},
|
|
12
|
+
compact: { type: Boolean, default: false },
|
|
13
|
+
labels: {}
|
|
14
|
+
},
|
|
15
|
+
emits: ["update:modelValue"],
|
|
16
|
+
setup(__props, { emit: __emit }) {
|
|
17
|
+
const props = __props;
|
|
18
|
+
const emit = __emit;
|
|
19
|
+
const text = useLabels("contextSwitcher", { switch: "{label}, switch", title: "Switch to" }, () => props.labels);
|
|
20
|
+
const current = computed(() => props.contexts.find((c) => c.id === props.modelValue) ?? props.contexts[0]);
|
|
21
|
+
const initial = computed(() => [...current.value?.label ?? ""][0] ?? "");
|
|
22
|
+
const items = computed(
|
|
23
|
+
() => props.contexts.map((c) => ({
|
|
24
|
+
label: c.label,
|
|
25
|
+
icon: c.icon,
|
|
26
|
+
checked: c.id === current.value?.id ? true : void 0,
|
|
27
|
+
onSelect: () => {
|
|
28
|
+
if (c.id !== current.value?.id) emit("update:modelValue", c.id);
|
|
29
|
+
}
|
|
30
|
+
}))
|
|
31
|
+
);
|
|
32
|
+
return (_ctx, _cache) => {
|
|
33
|
+
return openBlock(), createBlock(_sfc_main$1, {
|
|
34
|
+
items: items.value,
|
|
35
|
+
title: unref(text).title,
|
|
36
|
+
palette: false
|
|
37
|
+
}, {
|
|
38
|
+
trigger: withCtx(() => [
|
|
39
|
+
createElementVNode("button", {
|
|
40
|
+
type: "button",
|
|
41
|
+
class: normalizeClass(["flex min-w-0 items-center gap-2 rounded-control text-base font-semibold text-ink outline-none transition-colors hover:bg-surface-soft focus-visible:ring-2 focus-visible:ring-ring", __props.compact ? "grid size-9 shrink-0 place-items-center bg-surface-soft" : "max-w-full px-2 py-1"]),
|
|
42
|
+
"aria-label": unref(text).switch.replace("{label}", current.value?.label ?? "")
|
|
43
|
+
}, [
|
|
44
|
+
renderSlot(_ctx.$slots, "default", {
|
|
45
|
+
context: current.value,
|
|
46
|
+
compact: __props.compact
|
|
47
|
+
}, () => [
|
|
48
|
+
__props.compact ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
49
|
+
current.value?.icon ? (openBlock(), createBlock(_sfc_main$2, {
|
|
50
|
+
key: 0,
|
|
51
|
+
name: current.value.icon,
|
|
52
|
+
size: 17
|
|
53
|
+
}, null, 8, ["name"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
54
|
+
createTextVNode(toDisplayString(initial.value), 1)
|
|
55
|
+
], 64))
|
|
56
|
+
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
57
|
+
current.value?.icon ? (openBlock(), createBlock(_sfc_main$2, {
|
|
58
|
+
key: 0,
|
|
59
|
+
name: current.value.icon,
|
|
60
|
+
size: 17,
|
|
61
|
+
class: "shrink-0 text-brand"
|
|
62
|
+
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
63
|
+
createElementVNode("span", _hoisted_2, toDisplayString(current.value?.label), 1)
|
|
64
|
+
], 64))
|
|
65
|
+
]),
|
|
66
|
+
!__props.compact ? (openBlock(), createBlock(_sfc_main$2, {
|
|
67
|
+
key: 0,
|
|
68
|
+
name: "lucide:chevrons-up-down",
|
|
69
|
+
size: 14,
|
|
70
|
+
class: "shrink-0 text-muted"
|
|
71
|
+
})) : createCommentVNode("", true)
|
|
72
|
+
], 10, _hoisted_1)
|
|
73
|
+
]),
|
|
74
|
+
_: 3
|
|
75
|
+
}, 8, ["items", "title"]);
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
export {
|
|
80
|
+
_sfc_main as _
|
|
81
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, useAttrs, openBlock, createElementBlock, Fragment, createVNode, withCtx, mergeProps, unref, createElementVNode, normalizeStyle, toDisplayString, createCommentVNode } from "vue";
|
|
2
2
|
import { useClipboard } from "../composables/useClipboard.js";
|
|
3
3
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
4
|
-
import { _ as _sfc_main$2 } from "./LpButton-
|
|
4
|
+
import { _ as _sfc_main$2 } from "./LpButton-CFb44IjC.js";
|
|
5
5
|
import { _ as _sfc_main$3 } from "./LpIcon--5WSb3jJ.js";
|
|
6
6
|
import { _ as _sfc_main$1 } from "./LpTooltip-BcBvIx4z.js";
|
|
7
7
|
const _hoisted_1 = { key: 0 };
|
|
@@ -4,7 +4,7 @@ import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
|
4
4
|
import { useNow } from "../composables/useNow.js";
|
|
5
5
|
import { _ as _sfc_main$1 } from "./LpProgress-Yr6ONG5t.js";
|
|
6
6
|
import { _ as _sfc_main$3 } from "./LpRollingText-B54Pje7P.js";
|
|
7
|
-
import { _ as _sfc_main$2 } from "./LpShift-
|
|
7
|
+
import { _ as _sfc_main$2 } from "./LpShift-CCq7dofl.js";
|
|
8
8
|
import { DEFAULT_UNIT_LABELS, toEpoch, ceilToSecond, timeParts, resolveFormat, padPart, formatTime, DEFAULT_MILESTONES, crossedMilestone, msToNextSecond } from "../components/timeSpan.js";
|
|
9
9
|
const _hoisted_1 = ["data-urgent", "data-done"];
|
|
10
10
|
const _hoisted_2 = ["aria-label"];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, useSlots, computed, openBlock, createElementBlock, mergeProps, unref, createVNode, TransitionGroup, normalizeClass, withCtx, Fragment, renderList, createElementVNode, renderSlot, createTextVNode, toDisplayString, createBlock, createCommentVNode } from "vue";
|
|
2
2
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
3
3
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
4
|
-
import { _ as _sfc_main$4 } from "./LpCopyButton-
|
|
4
|
+
import { _ as _sfc_main$4 } from "./LpCopyButton-xF7wFVoU.js";
|
|
5
5
|
import { _ as _sfc_main$2 } from "./LpIcon--5WSb3jJ.js";
|
|
6
6
|
import { _ as _sfc_main$3 } from "./LpRollingText-B54Pje7P.js";
|
|
7
7
|
import { _ as _sfc_main$1 } from "./LpTooltip-BcBvIx4z.js";
|
|
@@ -4,9 +4,9 @@ import { useLabels } from "../composables/useLpConfig.js";
|
|
|
4
4
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
5
5
|
import { _ as _sfc_main$5 } from "./LpFieldNotice-CzQ2_5rQ.js";
|
|
6
6
|
import { _ as _sfc_main$4 } from "./LpIcon--5WSb3jJ.js";
|
|
7
|
-
import { _ as _sfc_main$3 } from "./LpLoader-
|
|
7
|
+
import { _ as _sfc_main$3 } from "./LpLoader-DVwkOmt9.js";
|
|
8
8
|
import { _ as _sfc_main$2 } from "./LpRollingText-B54Pje7P.js";
|
|
9
|
-
import { _ as _sfc_main$1 } from "./LpShift-
|
|
9
|
+
import { _ as _sfc_main$1 } from "./LpShift-CCq7dofl.js";
|
|
10
10
|
const _hoisted_1 = ["role", "tabindex", "aria-disabled", "aria-label", "aria-busy", "title"];
|
|
11
11
|
const _hoisted_2 = {
|
|
12
12
|
key: 0,
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, watch, computed, openBlock, createElementBlock, m
|
|
|
2
2
|
import { useLocale } from "../composables/useLocale.js";
|
|
3
3
|
import { computeStats, formatSize, sortNodes, subtreeIds, ancestorIds } from "../components/fileTree.js";
|
|
4
4
|
import { _ as _sfc_main$2 } from "./LpEmptyState-EQHiRYhG.js";
|
|
5
|
-
import { _ as _sfc_main$4 } from "./LpFileTreeNode-
|
|
5
|
+
import { _ as _sfc_main$4 } from "./LpFileTreeNode-cT6BIWvz.js";
|
|
6
6
|
import { _ as _sfc_main$3 } from "./LpScrollArea-Hz3-JWUG.js";
|
|
7
7
|
import { _ as _sfc_main$1 } from "./LpSkeleton-BB6XIV-w.js";
|
|
8
8
|
import { usePersisted } from "../composables/usePersisted.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, mergeProps, unref, createVNode, withCtx, createElementVNode, withModifiers, normalizeStyle, normalizeClass, createBlock, createCommentVNode, renderSlot, createTextVNode, toDisplayString, Fragment, renderList } from "vue";
|
|
2
2
|
import { sortNodes, formatSize, formatModified, fileIcon } from "../components/fileTree.js";
|
|
3
|
-
import { _ as _sfc_main$5 } from "./LpBadge-
|
|
4
|
-
import { _ as _sfc_main$4 } from "./LpCheckbox-
|
|
3
|
+
import { _ as _sfc_main$5 } from "./LpBadge-wUYLN4U9.js";
|
|
4
|
+
import { _ as _sfc_main$4 } from "./LpCheckbox-Cs4SHaHX.js";
|
|
5
5
|
import { _ as _sfc_main$6 } from "./LpCollapse-CWS9M_lm.js";
|
|
6
6
|
import { _ as _sfc_main$1 } from "./LpContextMenu-rx2tCjwk.js";
|
|
7
7
|
import { _ as _sfc_main$3 } from "./LpIcon--5WSb3jJ.js";
|
|
8
|
-
import { _ as _sfc_main$2 } from "./LpLoader-
|
|
8
|
+
import { _ as _sfc_main$2 } from "./LpLoader-DVwkOmt9.js";
|
|
9
9
|
import { staggerDelay } from "../components/reveal.js";
|
|
10
10
|
import { useLocale } from "../composables/useLocale.js";
|
|
11
11
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, useId, computed, useSlots, ref, openBlock, createElementBlock, mergeProps, unref, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, createElementVNode, renderSlot, createVNode, normalizeClass } from "vue";
|
|
2
2
|
import { Label } from "reka-ui";
|
|
3
3
|
import { _ as _sfc_main$1 } from "./LpFieldNotice-CzQ2_5rQ.js";
|
|
4
|
-
import { _ as _sfc_main$2 } from "./LpShift-
|
|
4
|
+
import { _ as _sfc_main$2 } from "./LpShift-CCq7dofl.js";
|
|
5
5
|
import { fieldMessageId, provideField } from "../composables/useField.js";
|
|
6
6
|
import { useFieldNotice } from "../composables/useFieldNotice.js";
|
|
7
7
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
@@ -3,8 +3,8 @@ 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 "./LpBadge-
|
|
7
|
-
import { _ as _sfc_main$2 } from "./LpButton-
|
|
6
|
+
import { _ as _sfc_main$1 } from "./LpBadge-wUYLN4U9.js";
|
|
7
|
+
import { _ as _sfc_main$2 } from "./LpButton-CFb44IjC.js";
|
|
8
8
|
import { usePortalTarget, useOutsideGuard } from "../composables/useView.js";
|
|
9
9
|
const _hoisted_1 = ["aria-label", "onPointerenter", "onFocus", "onClick"];
|
|
10
10
|
const _hoisted_2 = { class: "flex items-center gap-2 font-medium" };
|
|
@@ -2,9 +2,9 @@ import { defineComponent, ref, onErrorCaptured, onMounted, onBeforeUnmount, comp
|
|
|
2
2
|
import { provideHintSystem } from "../composables/useHintSystem.js";
|
|
3
3
|
import { useAppleKeyboard, appleModifierLabel } from "../composables/useHotkeys.js";
|
|
4
4
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
5
|
-
import { _ as _sfc_main$3 } from "./LpActionBar-
|
|
6
|
-
import { _ as _sfc_main$2 } from "./LpHintLayer-
|
|
7
|
-
import { _ as _sfc_main$1 } from "./LpTour-
|
|
5
|
+
import { _ as _sfc_main$3 } from "./LpActionBar-BP1ld7-S.js";
|
|
6
|
+
import { _ as _sfc_main$2 } from "./LpHintLayer-CgObdUsM.js";
|
|
7
|
+
import { _ as _sfc_main$1 } from "./LpTour-BZq-mUMv.js";
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "LpHints",
|
|
10
10
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, createVNode, unref, createElementVNode, toDisplayString, createBlock, createCommentVNode, withCtx, createTextVNode } from "vue";
|
|
2
2
|
import { Handle, Position } from "@vue-flow/core";
|
|
3
|
-
import { _ as _sfc_main$2 } from "./LpBadge-
|
|
4
|
-
import { _ as _sfc_main$1 } from "./LpStatus-
|
|
3
|
+
import { _ as _sfc_main$2 } from "./LpBadge-wUYLN4U9.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "./LpStatus-DglxttQ7.js";
|
|
5
5
|
const _hoisted_1 = { class: "px-[11px] pb-2.5 pt-[9px]" };
|
|
6
6
|
const _hoisted_2 = { class: "flex items-center gap-[7px]" };
|
|
7
7
|
const _hoisted_3 = { class: "text-[13px] text-[var(--accent)]" };
|
|
@@ -6,7 +6,7 @@ import { useLabels } from "../composables/useLpConfig.js";
|
|
|
6
6
|
import { useInputFilter } from "../composables/useInputFilter.js";
|
|
7
7
|
import { useInputMask, DEFAULT_MASK_TOKENS } from "../composables/useInputMask.js";
|
|
8
8
|
import { mergeClass } from "../composables/useMergedClass.js";
|
|
9
|
-
import { _ as _sfc_main$1 } from "./FieldWrapper-
|
|
9
|
+
import { _ as _sfc_main$1 } from "./FieldWrapper-CORPzo9s.js";
|
|
10
10
|
import { _ as _sfc_main$2 } from "./LpIcon--5WSb3jJ.js";
|
|
11
11
|
const _hoisted_1 = {
|
|
12
12
|
key: 0,
|
|
@@ -3,9 +3,9 @@ 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$2 } from "./LpCopyButton-
|
|
6
|
+
import { _ as _sfc_main$2 } from "./LpCopyButton-xF7wFVoU.js";
|
|
7
7
|
import { _ as _sfc_main$1 } from "./LpIcon--5WSb3jJ.js";
|
|
8
|
-
import { _ as _sfc_main$3 } from "./LpLoader-
|
|
8
|
+
import { _ as _sfc_main$3 } from "./LpLoader-DVwkOmt9.js";
|
|
9
9
|
import { useModalLayer } from "../components/modalDepth.js";
|
|
10
10
|
import { usePortalTarget, useOutsideGuard } from "../composables/useView.js";
|
|
11
11
|
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" };
|
|
@@ -3,7 +3,7 @@ import { useLabels } from "../composables/useLpConfig.js";
|
|
|
3
3
|
import { useLoadingGate } from "../composables/useLoadingGate.js";
|
|
4
4
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
5
5
|
import { _ as _sfc_main$2 } from "./LoaderMark-C1dubiKn.js";
|
|
6
|
-
import { _ as _sfc_main$1 } from "./LpSwap-
|
|
6
|
+
import { _ as _sfc_main$1 } from "./LpSwap-C96c0LWh.js";
|
|
7
7
|
import { toneLook } from "../components/tone.js";
|
|
8
8
|
const _hoisted_1 = ["aria-busy"];
|
|
9
9
|
const _hoisted_2 = {
|
|
@@ -3,12 +3,12 @@ import { usePersisted } from "../composables/usePersisted.js";
|
|
|
3
3
|
import { prefersReducedMotion, durationToken, tokenEase } from "../composables/easing.js";
|
|
4
4
|
import { useClipboard } from "../composables/useClipboard.js";
|
|
5
5
|
import { useHotkeys } from "../composables/useHotkeys.js";
|
|
6
|
-
import { _ as _sfc_main$7 } from "./LpBadge-
|
|
6
|
+
import { _ as _sfc_main$7 } from "./LpBadge-wUYLN4U9.js";
|
|
7
7
|
import { _ as _sfc_main$6 } from "./LpContextMenu-rx2tCjwk.js";
|
|
8
8
|
import { _ as _sfc_main$4 } from "./LpEmptyState-EQHiRYhG.js";
|
|
9
9
|
import { _ as _sfc_main$2 } from "./LpIcon--5WSb3jJ.js";
|
|
10
|
-
import { _ as _sfc_main$5 } from "./LpLoader-
|
|
11
|
-
import { _ as _sfc_main$1 } from "./LpInput-
|
|
10
|
+
import { _ as _sfc_main$5 } from "./LpLoader-DVwkOmt9.js";
|
|
11
|
+
import { _ as _sfc_main$1 } from "./LpInput-Tw-yxT4I.js";
|
|
12
12
|
import { _ as _sfc_main$3 } from "./LpScrollArea-Hz3-JWUG.js";
|
|
13
13
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
14
14
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
@@ -2,7 +2,7 @@ import { defineComponent, computed, ref, watch, onBeforeUnmount, openBlock, crea
|
|
|
2
2
|
import { prefersReducedMotion } from "../composables/easing.js";
|
|
3
3
|
import { OSM_TILES, project, tileUrl, unproject } from "../components/address.js";
|
|
4
4
|
import { _ as _sfc_main$1 } from "./LpIcon--5WSb3jJ.js";
|
|
5
|
-
import { _ as _sfc_main$2 } from "./LpLoader-
|
|
5
|
+
import { _ as _sfc_main$2 } from "./LpLoader-DVwkOmt9.js";
|
|
6
6
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
7
7
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
8
8
|
import { useResizeObserver } from "../composables/useResizeObserver.js";
|