@leavepulse/ui 0.87.1 → 0.88.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-DCZB4EAf.css → LpCommandPalette-CO_5TFOQ.css} +38 -19
- package/dist/assets/{LpDropzone-CfL3Vrx4.css → LpDropzone-CVGUQqgY.css} +10 -10
- package/dist/assets/{LpImageEditor-y3B-aW3H.css → LpImageEditor-D_ECuegW.css} +6 -6
- package/dist/chunks/{ContextMenuItems-D0jObgzN.js → ContextMenuItems-LujPZSWM.js} +2 -1
- package/dist/chunks/{DropzoneLinkField-DhwYRnvd.js → DropzoneLinkField-Ckuh8zFC.js} +2 -2
- package/dist/chunks/{IconCloseButton-CmWOJAXG.js → IconCloseButton-C_V7qngw.js} +1 -1
- package/dist/chunks/{LpActionBar-Cx_MSZl9.js → LpActionBar-43WHmTsM.js} +1 -1
- package/dist/chunks/{LpAddressInput-CfqQR5jE.js → LpAddressInput-BCqR0zmv.js} +5 -5
- package/dist/chunks/{LpAlert-CYtbpRYW.js → LpAlert-Q0h7Gucu.js} +1 -1
- package/dist/chunks/{LpAppShell-BQG98odS.js → LpAppShell-BWaVRsDB.js} +3 -3
- package/dist/chunks/{LpAutocomplete-VNID5zdy.js → LpAutocomplete-YPxAPHEo.js} +5 -5
- package/dist/chunks/{LpButton-DSHioIfD.js → LpButton-BvVoF-PO.js} +1 -1
- package/dist/chunks/{LpCheckbox-P7tEw8GO.js → LpCheckbox-C9VnPIQf.js} +1 -1
- package/dist/chunks/{LpCodeBlock-BNThgUdQ.js → LpCodeBlock-BgWcg2mk.js} +3 -3
- package/dist/chunks/{LpCodeDisplay-DsiE-Qy9.js → LpCodeDisplay-DBi1YPLp.js} +3 -3
- package/dist/chunks/{LpColorPicker-EXpwcX-t.js → LpColorPicker-KGMG8QEh.js} +4 -4
- package/dist/chunks/{LpConfirmDialog-DPiPVRn_.js → LpConfirmDialog-y6k0ryWR.js} +2 -2
- package/dist/chunks/{LpConfirmHost-Ddiljlog.js → LpConfirmHost-D-X0tDym.js} +1 -1
- package/dist/chunks/{LpContextMenu-DYpDm6iI.js → LpContextMenu-DEFirphS.js} +3 -3
- package/dist/chunks/{LpContextSwitcher-BPDSkKyA.js → LpContextSwitcher-COw6GHPW.js} +1 -1
- package/dist/chunks/{LpCopyButton-CxX682t4.js → LpCopyButton-BGzw95Xc.js} +2 -2
- package/dist/chunks/{LpDataList-DCtF7krm.js → LpDataList-B56Gu6Yt.js} +3 -3
- package/dist/chunks/{LpDatePicker-BElEHVm6.js → LpDatePicker-Dlyvgsan.js} +2 -2
- package/dist/chunks/{LpDateRangePicker-vLt-drEu.js → LpDateRangePicker-CAn2yGbn.js} +1 -1
- package/dist/chunks/{LpDrawer-C97k-3L2.js → LpDrawer-iRHwJOGn.js} +4 -4
- package/dist/chunks/{LpDropdownMenu-BPEsqZCN.js → LpDropdownMenu-CdCe7D2d.js} +3 -3
- package/dist/chunks/{LpEditable-CeRAzYMv.js → LpEditable-DfRUAGkA.js} +2 -2
- package/dist/chunks/{LpEmptyState-DrHBR3yh.js → LpEmptyState-DLOm07KH.js} +1 -1
- package/dist/chunks/{LpFileTree-BcQgsw4e.js → LpFileTree-BN_zybBN.js} +3 -3
- package/dist/chunks/{LpFileTreeNode-Dk2WqkPF.js → LpFileTreeNode-CC48DbT5.js} +3 -3
- package/dist/chunks/{LpHintLayer-CUSRLtLu.js → LpHintLayer-nuMqfzvy.js} +3 -3
- package/dist/chunks/{LpHints-BF40CP4_.js → LpHints-ByAd3a76.js} +3 -3
- package/dist/chunks/{LpHoverCard-CHE9jAJG.js → LpHoverCard-DYguY2AP.js} +10 -61
- package/dist/chunks/{LpInput-BU5IsOlE.js → LpInput-DGMpxrcg.js} +1 -1
- package/dist/chunks/{LpInspector-CEko6-pS.js → LpInspector-oTfkOdYd.js} +2 -2
- package/dist/chunks/{LpLightbox-REei-y5e.js → LpLightbox-a24V_0Wk.js} +19 -7
- package/dist/chunks/{LpLogInspector-Bwz351LY.js → LpLogInspector-BhJTJIst.js} +1 -1
- package/dist/chunks/{LpLogViewer-BCkqdH66.js → LpLogViewer-BuIzr_6h.js} +4 -4
- package/dist/chunks/{LpMediaGallery-BF1Bch3v.js → LpMediaGallery-B7DOV_aL.js} +2 -2
- package/dist/chunks/{LpModal-BK2T5uIG.js → LpModal-D1E7rQzw.js} +5 -5
- package/dist/chunks/{LpModalNav-Dk4eHpg6.js → LpModalNav-DivqT1NV.js} +5 -4
- package/dist/chunks/{LpNotificationBell-CMwUXhFg.js → LpNotificationBell-KRgdRZs-.js} +4 -4
- package/dist/chunks/{LpNotificationFeed-BXsRp9jm.js → LpNotificationFeed-CMGYU8c-.js} +5 -5
- package/dist/chunks/{LpNumberField-QUMXvpqx.js → LpNumberField-C0LSu-tl.js} +1 -1
- package/dist/chunks/{LpPaletteTheme-wiJtP5hV.js → LpPaletteTheme-CLwO-SDf.js} +3 -3
- package/dist/chunks/{LpPasswordInput-W9AZfzaL.js → LpPasswordInput-LPVI7D3v.js} +2 -2
- package/dist/chunks/{LpPhoneInput-DsRv-Qla.js → LpPhoneInput-BdglZsGH.js} +5 -5
- package/dist/chunks/{LpPie-pbrNFbRP.js → LpPie-CsiBXe-e.js} +3 -3
- package/dist/chunks/{LpPipeline-BHWmvOiv.js → LpPipeline-DVcoSs--.js} +1 -1
- package/dist/chunks/{LpPopover-BQSuxtai.js → LpPopover-w2rr4x7n.js} +2 -2
- package/dist/chunks/{LpRadio-CWA5Eb3M.js → LpRadio-4KyxeSz4.js} +1 -1
- package/dist/chunks/{LpRadioGroup-D94KMStE.js → LpRadioGroup-Cr_fmrBY.js} +1 -1
- package/dist/chunks/{LpRangeSlider-CkP9hYUC.js → LpRangeSlider-DbaITHtC.js} +1 -1
- package/dist/chunks/{LpRelativeTime-0zI-44ve.js → LpRelativeTime-CN5bWD73.js} +1 -1
- package/dist/chunks/{LpRepeater-DLLcbQ6J.js → LpRepeater-C0rns2xW.js} +1 -1
- package/dist/chunks/{LpSecretField-Au7ZQTtm.js → LpSecretField-BwrZ4TfT.js} +5 -5
- package/dist/chunks/{LpSection-RKCwB0xN.js → LpSection-CwsfNR7N.js} +1 -1
- package/dist/chunks/{LpSegmented-DD8MPj4j.js → LpSegmented-DzFYP0ZF.js} +1 -1
- package/dist/chunks/{LpSelect-BeXz1TWh.js → LpSelect-Dffg5r4I.js} +5 -5
- package/dist/chunks/{LpSidebar-DUFlf6Uu.js → LpSidebar-DQtCYlT4.js} +4 -4
- package/dist/chunks/{LpSidebarNav-C34YEZIR.js → LpSidebarNav-CFcI7--7.js} +1 -1
- package/dist/chunks/{LpSidebarRow-BeEGgsZi.js → LpSidebarRow-C5jXpcRL.js} +2 -2
- package/dist/chunks/{LpSlider-BCy5rjwK.js → LpSlider-DUd4gXnw.js} +1 -1
- package/dist/chunks/{LpStat-eVz7iUfD.js → LpStat-SyVb5JXm.js} +1 -1
- package/dist/chunks/{LpSwitch-D7hmVsif.js → LpSwitch-D-mcaA6C.js} +1 -1
- package/dist/chunks/{LpTableFilter-BGFNKyUX.js → LpTableFilter-CILHffC1.js} +3 -3
- package/dist/chunks/{LpTagsInput-D9uOSlvf.js → LpTagsInput-DD8-xe3F.js} +2 -2
- package/dist/chunks/{LpTextarea-DwE-lQt4.js → LpTextarea-CQg-dVxN.js} +1 -1
- package/dist/chunks/{LpThemeStudio-COn2H76d.js → LpThemeStudio-BPPctXgd.js} +4 -4
- package/dist/chunks/{LpThemeSwitcher-B3R3nNid.js → LpThemeSwitcher-B3c44xFH.js} +4 -4
- package/dist/chunks/{LpTimeField-Mi8H1g_9.js → LpTimeField-Dio7Tj9A.js} +1 -1
- package/dist/chunks/{LpToaster-DOJn6Vey.js → LpToaster-Cdx1tnHB.js} +2 -2
- package/dist/chunks/{LpTooltip-Bz_rrq5S.js → LpTooltip-BKde8Xjv.js} +43 -7
- package/dist/chunks/{LpTopologyCanvas-5RFMP4gR.js → LpTopologyCanvas-CQ0l6A5h.js} +3 -3
- package/dist/chunks/{LpTour-DUI_hoPv.js → LpTour-BGUKUxSZ.js} +1 -1
- package/dist/chunks/{LpTruncate-CynJhsEw.js → LpTruncate-C_C8eiIE.js} +2 -2
- package/dist/chunks/{LpUptimeBar-G7PfNJUH.js → LpUptimeBar-Dt6SY_-m.js} +1 -1
- package/dist/chunks/{LpVideoCompress-CPUxXh-c.js → LpVideoCompress-CvxNdyjp.js} +2 -2
- package/dist/chunks/{LpVideoPlayer-BbCjEQAx.js → LpVideoPlayer-FMuxTAU8.js} +4 -4
- package/dist/chunks/{LpWindow-Dp_0nNqg.js → LpWindow-DsPeiDCZ.js} +1 -1
- package/dist/chunks/{LpWorkspaceSwitcher-bjkncjSl.js → LpWorkspaceSwitcher-DCIiOQt_.js} +4 -4
- package/dist/chunks/{PickerField-CjOTUXDK.js → PickerField-DzF3UVnX.js} +1 -1
- package/dist/chunks/{RevealToggle-Bl1NcfxB.js → RevealToggle-BsYxY6Oz.js} +2 -2
- package/dist/chunks/{TourCard-BovXtMbO.js → TourCard-yrLqv4Oz.js} +1 -1
- package/dist/chunks/{VideoVolume-DE3i1ree.js → VideoVolume-CzL5mZPE.js} +2 -2
- package/dist/components/ContextMenuItems.vue.js +1 -1
- package/dist/components/DropzoneLinkField.vue.js +1 -1
- package/dist/components/IconCloseButton.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/LpButton.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/LpColorPicker.vue.js +1 -1
- package/dist/components/LpCommandPalette.vue.d.ts +2 -0
- package/dist/components/LpCommandPalette.vue.js +69 -33
- package/dist/components/LpConfirmDialog.vue.js +1 -1
- package/dist/components/LpConfirmHost.vue.js +1 -1
- package/dist/components/LpContextMenu.vue.js +1 -1
- package/dist/components/LpContextSwitcher.vue.js +1 -1
- package/dist/components/LpCopyButton.vue.js +1 -1
- package/dist/components/LpDataList.vue.js +1 -1
- package/dist/components/LpDatePicker.vue.js +1 -1
- package/dist/components/LpDateRangePicker.vue.js +1 -1
- package/dist/components/LpDock.vue.js +1 -1
- package/dist/components/LpDrawer.vue.js +1 -1
- package/dist/components/LpDropdownMenu.vue.js +1 -1
- package/dist/components/LpDropzone.vue.js +5 -5
- package/dist/components/LpEditable.vue.js +1 -1
- package/dist/components/LpEmptyState.vue.js +1 -1
- package/dist/components/LpFileTree.vue.js +1 -1
- package/dist/components/LpFileTreeNode.vue.js +1 -1
- package/dist/components/LpHintLayer.vue.js +1 -1
- package/dist/components/LpHints.vue.js +1 -1
- package/dist/components/LpHoverCard.vue.d.ts +3 -3
- package/dist/components/LpHoverCard.vue.js +1 -1
- package/dist/components/LpImageEditor.vue.js +4 -4
- package/dist/components/LpInput.vue.js +1 -1
- package/dist/components/LpInspector.vue.js +1 -1
- package/dist/components/LpLightbox.vue.js +1 -1
- package/dist/components/LpLogInspector.vue.js +1 -1
- package/dist/components/LpLogViewer.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/LpNotificationFeed.vue.js +1 -1
- package/dist/components/LpNumberField.vue.js +1 -1
- package/dist/components/LpPaletteTheme.vue.js +1 -1
- 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/LpPipeline.vue.js +1 -1
- package/dist/components/LpPopover.vue.js +1 -1
- package/dist/components/LpRadio.vue.js +1 -1
- package/dist/components/LpRadioGroup.vue.js +1 -1
- package/dist/components/LpRangeSlider.vue.js +1 -1
- package/dist/components/LpRelativeTime.vue.js +1 -1
- package/dist/components/LpRepeater.vue.js +1 -1
- package/dist/components/LpSecretField.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/LpSidebarRow.vue.js +1 -1
- package/dist/components/LpSlider.vue.js +1 -1
- package/dist/components/LpStat.vue.js +1 -1
- package/dist/components/LpSwitch.vue.js +1 -1
- package/dist/components/LpTable.vue.js +10 -10
- 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/LpTimeField.vue.js +1 -1
- package/dist/components/LpToaster.vue.js +1 -1
- package/dist/components/LpTooltip.vue.d.ts +9 -0
- package/dist/components/LpTooltip.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/LpVideoCompress.vue.js +1 -1
- package/dist/components/LpVideoPlayer.vue.js +1 -1
- package/dist/components/LpVideoTrim.vue.js +4 -4
- package/dist/components/LpWindow.vue.js +1 -1
- package/dist/components/LpWorkspaceSwitcher.vue.js +1 -1
- package/dist/components/PickerField.vue.js +1 -1
- package/dist/components/RevealToggle.vue.js +1 -1
- package/dist/components/TourCard.vue.js +1 -1
- package/dist/components/VideoVolume.vue.js +1 -1
- package/dist/components/badge.d.ts +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/dropdown.d.ts +14 -0
- package/dist/components/dropdown.js +7 -1
- package/dist/components/menuWhen.js +1 -1
- package/dist/components/modalDepth.d.ts +1 -0
- package/dist/components/modalDepth.js +2 -0
- package/dist/composables/useReveal.js +3 -3
- package/dist/composables/useTouchHold.d.ts +19 -0
- package/dist/composables/useTouchHold.js +60 -0
- package/dist/index.js +72 -71
- package/package.json +1 -1
- package/src/components/ContextMenuItems.vue +2 -1
- package/src/components/IconCloseButton.vue +1 -1
- package/src/components/LpAlert.vue +1 -1
- package/src/components/LpAutocomplete.vue +4 -4
- package/src/components/LpButton.vue +1 -1
- package/src/components/LpCheckbox.vue +1 -1
- package/src/components/LpCodeBlock.vue +2 -2
- package/src/components/LpColorPicker.vue +3 -3
- package/src/components/LpCommandPalette.vue +89 -7
- package/src/components/LpContextMenu.vue +2 -2
- package/src/components/LpDataList.vue +1 -1
- package/src/components/LpDrawer.vue +7 -4
- package/src/components/LpDropdownMenu.vue +2 -2
- package/src/components/LpDropzone.vue +2 -2
- package/src/components/LpEditable.vue +2 -2
- package/src/components/LpEmptyState.vue +1 -1
- package/src/components/LpFileTreeNode.vue +1 -1
- package/src/components/LpHintLayer.vue +2 -2
- package/src/components/LpHoverCard.vue +11 -80
- package/src/components/LpImageEditor.vue +1 -1
- package/src/components/LpInput.vue +1 -1
- package/src/components/LpLightbox.vue +20 -3
- package/src/components/LpModal.vue +4 -4
- package/src/components/LpModalNav.vue +2 -1
- package/src/components/LpNumberField.vue +1 -1
- package/src/components/LpPhoneInput.vue +5 -5
- package/src/components/LpPopover.vue +2 -2
- package/src/components/LpRadio.vue +1 -1
- package/src/components/LpRadioGroup.vue +1 -1
- package/src/components/LpRangeSlider.vue +1 -1
- package/src/components/LpSection.vue +9 -6
- package/src/components/LpSegmented.vue +1 -1
- package/src/components/LpSelect.vue +4 -4
- package/src/components/LpSlider.vue +1 -1
- package/src/components/LpStat.vue +1 -1
- package/src/components/LpSwitch.vue +1 -1
- package/src/components/LpTableFilter.vue +1 -1
- package/src/components/LpTagsInput.vue +2 -2
- package/src/components/LpTextarea.vue +1 -1
- package/src/components/LpThemeSwitcher.vue +2 -2
- package/src/components/LpTimeField.vue +1 -1
- package/src/components/LpToaster.vue +1 -1
- package/src/components/LpTooltip.vue +59 -5
- package/src/components/badge.ts +1 -1
- package/src/components/dropdown.ts +24 -0
- package/src/components/modalDepth.ts +6 -0
- package/src/composables/useReveal.ts +7 -4
- package/src/composables/useTouchHold.ts +92 -0
- package/src/locales/uk.ts +1 -0
- package/src/tokens/utilities.css +34 -0
|
@@ -15,8 +15,8 @@ import { _ as _sfc_main$8 } from "../chunks/ChartRangeSelector-HO0sMMz6.js";
|
|
|
15
15
|
import { clampRange, chartView, sourceOf, slotOf, ZOOM_STEP, zoomRange } from "./chartWindow.js";
|
|
16
16
|
import { PANEL_SURFACE } from "./dropdown.js";
|
|
17
17
|
import { _ as _sfc_main$2 } from "../chunks/LegendSwatch-BhRjrtzv.js";
|
|
18
|
-
import { _ as _sfc_main$3 } from "../chunks/LpContextMenu-
|
|
19
|
-
import { _ as _sfc_main$6 } from "../chunks/LpEmptyState-
|
|
18
|
+
import { _ as _sfc_main$3 } from "../chunks/LpContextMenu-DEFirphS.js";
|
|
19
|
+
import { _ as _sfc_main$6 } from "../chunks/LpEmptyState-DLOm07KH.js";
|
|
20
20
|
import { _ as _sfc_main$7 } from "../chunks/LpShift-DAgS_d2x.js";
|
|
21
21
|
import { _ as _sfc_main$5 } from "../chunks/LpSkeleton-leTl53V9.js";
|
|
22
22
|
import { _ as _sfc_main$4 } from "../chunks/LpSwap-M7nFeW3C.js";
|
|
@@ -223,6 +223,8 @@ export type PaletteLabels = Partial<Record<PaletteMode, string>> & {
|
|
|
223
223
|
pinned?: string;
|
|
224
224
|
select: string;
|
|
225
225
|
close: string;
|
|
226
|
+
/** The close button that stands in for Esc on a touch screen. */
|
|
227
|
+
dismiss: string;
|
|
226
228
|
/** Hint for leaving a mode, shown only while inside one. */
|
|
227
229
|
back: string;
|
|
228
230
|
searching: string;
|
|
@@ -5,7 +5,7 @@ import { clamp } from "../composables/clamp.js";
|
|
|
5
5
|
import { DialogRoot, DialogPortal, DialogOverlay, DialogContent, DialogTitle, DialogDescription } from "reka-ui";
|
|
6
6
|
import { usePaletteScope, suppressPaletteDiscovery, mergePaletteCommands } from "../composables/usePaletteCommands.js";
|
|
7
7
|
import { useToast } from "../composables/useToast.js";
|
|
8
|
-
import { _ as _sfc_main$3 } from "../chunks/LpButton-
|
|
8
|
+
import { _ as _sfc_main$3 } from "../chunks/LpButton-BvVoF-PO.js";
|
|
9
9
|
import { _ as _sfc_main$6 } from "../chunks/PalettePreviewBoundary-B0Hhu3Yw.js";
|
|
10
10
|
import { _ as _sfc_main$5 } from "../chunks/LpAvatar-CfLBqlY1.js";
|
|
11
11
|
import { _ as _sfc_main$1 } from "../chunks/LpIcon-CxHFPwKt.js";
|
|
@@ -26,10 +26,10 @@ import { parsePaletteQuery, parseCommandQuery, searchCommandItems, applyQueryFil
|
|
|
26
26
|
import { PALETTE_MODES, modeChipLabel, settleFetched, fallbackRows, readRecent, resolveRecentItems, recentVisible, commandHasPreview, matchModePrefix, isSafeHref, absoluteHref, commandKey, recentKey, pushRecent, moreRowId, toRecentItem } from "./commandPalette.js";
|
|
27
27
|
import { useView, usePortalTarget, useOutsideGuard, viewWindow } from "../composables/useView.js";
|
|
28
28
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
|
|
29
|
-
import '../assets/LpCommandPalette-
|
|
29
|
+
import '../assets/LpCommandPalette-CO_5TFOQ.css';const _hoisted_1 = { class: "relative flex shrink-0 items-center gap-2.5 border-b border-line px-4" };
|
|
30
30
|
const _hoisted_2 = ["title", "onClick"];
|
|
31
31
|
const _hoisted_3 = ["readonly", "aria-label", "aria-expanded", "aria-controls", "aria-activedescendant", "placeholder", "onKeydown"];
|
|
32
|
-
const _hoisted_4 = { class: "shrink-0 rounded-small border border-line px-1.5 py-0.5 text-[10px] text-muted" };
|
|
32
|
+
const _hoisted_4 = { class: "shrink-0 rounded-small border border-line px-1.5 py-0.5 text-[10px] text-muted [@media(hover:none)_and_(pointer:coarse)]:hidden" };
|
|
33
33
|
const _hoisted_5 = {
|
|
34
34
|
key: 0,
|
|
35
35
|
class: "flex flex-col gap-3 p-4"
|
|
@@ -76,7 +76,7 @@ const _hoisted_19 = {
|
|
|
76
76
|
};
|
|
77
77
|
const _hoisted_20 = {
|
|
78
78
|
key: 3,
|
|
79
|
-
class: "shrink-0 rounded-small border border-line px-1.5 font-mono text-[11px] whitespace-pre text-muted"
|
|
79
|
+
class: "shrink-0 rounded-small border border-line px-1.5 font-mono text-[11px] whitespace-pre text-muted [@media(hover:none)_and_(pointer:coarse)]:hidden"
|
|
80
80
|
};
|
|
81
81
|
const _hoisted_21 = { class: "lp-cmd-para flex items-center gap-2 text-ink" };
|
|
82
82
|
const _hoisted_22 = { class: "min-w-0 text-base font-semibold" };
|
|
@@ -187,6 +187,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
187
187
|
running: "Running…",
|
|
188
188
|
select: "select",
|
|
189
189
|
close: "close",
|
|
190
|
+
dismiss: "Close",
|
|
190
191
|
back: "back",
|
|
191
192
|
searching: "Searching…",
|
|
192
193
|
searchFailed: "Search is unavailable right now.",
|
|
@@ -257,6 +258,31 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
257
258
|
];
|
|
258
259
|
}
|
|
259
260
|
const selectedActions = computed(() => actionsOf(flat.value[selectedIndex.value]));
|
|
261
|
+
const viewport = ref({});
|
|
262
|
+
function trackViewport() {
|
|
263
|
+
const vv = typeof window === "undefined" ? void 0 : window.visualViewport;
|
|
264
|
+
viewport.value = vv ? {
|
|
265
|
+
"--lp-cmd-vh": `${vv.height}px`,
|
|
266
|
+
"--lp-cmd-vw": `${vv.width}px`,
|
|
267
|
+
"--lp-cmd-vx": `${vv.offsetLeft}px`,
|
|
268
|
+
"--lp-cmd-vy": `${vv.offsetTop}px`
|
|
269
|
+
} : {};
|
|
270
|
+
}
|
|
271
|
+
watch(
|
|
272
|
+
() => props.open,
|
|
273
|
+
(open, _, onCleanup) => {
|
|
274
|
+
const vv = typeof window === "undefined" ? void 0 : window.visualViewport;
|
|
275
|
+
if (!open || !vv) return;
|
|
276
|
+
trackViewport();
|
|
277
|
+
vv.addEventListener("resize", trackViewport);
|
|
278
|
+
vv.addEventListener("scroll", trackViewport);
|
|
279
|
+
onCleanup(() => {
|
|
280
|
+
vv.removeEventListener("resize", trackViewport);
|
|
281
|
+
vv.removeEventListener("scroll", trackViewport);
|
|
282
|
+
});
|
|
283
|
+
},
|
|
284
|
+
{ immediate: true }
|
|
285
|
+
);
|
|
260
286
|
function onTab(event) {
|
|
261
287
|
if (promptCommand.value) return;
|
|
262
288
|
if (event.shiftKey) return;
|
|
@@ -267,6 +293,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
267
293
|
event.stopPropagation();
|
|
268
294
|
openActions(c);
|
|
269
295
|
}
|
|
296
|
+
function onRowContextMenu(event, c) {
|
|
297
|
+
if (!actionsOf(c).length) return;
|
|
298
|
+
event.preventDefault();
|
|
299
|
+
openActions(c);
|
|
300
|
+
}
|
|
270
301
|
function openActions(c) {
|
|
271
302
|
const actions = actionsOf(c);
|
|
272
303
|
if (!actions.length) return;
|
|
@@ -570,11 +601,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
570
601
|
async () => {
|
|
571
602
|
if (!paneOpen.value) return;
|
|
572
603
|
await nextTick();
|
|
573
|
-
const
|
|
574
|
-
if (!
|
|
575
|
-
const mark =
|
|
604
|
+
const viewport2 = previewRef.value?.viewportEl;
|
|
605
|
+
if (!viewport2) return;
|
|
606
|
+
const mark = viewport2.querySelector("mark");
|
|
576
607
|
if (mark) mark.scrollIntoView({ block: "center" });
|
|
577
|
-
else
|
|
608
|
+
else viewport2.scrollTop = 0;
|
|
578
609
|
}
|
|
579
610
|
);
|
|
580
611
|
const flatIndex = computed(() => new Map(flat.value.map((c, i) => [c, i])));
|
|
@@ -889,7 +920,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
889
920
|
return (_ctx, _cache) => {
|
|
890
921
|
return openBlock(), createBlock(unref(DialogRoot), {
|
|
891
922
|
open: __props.open,
|
|
892
|
-
"onUpdate:open": _cache[
|
|
923
|
+
"onUpdate:open": _cache[12] || (_cache[12] = (v) => emit("update:open", v))
|
|
893
924
|
}, {
|
|
894
925
|
default: withCtx(() => [
|
|
895
926
|
createVNode(unref(DialogPortal), { to: unref(portalTo) }, {
|
|
@@ -900,7 +931,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
900
931
|
}, null, 8, ["class", "style"]),
|
|
901
932
|
createVNode(unref(DialogContent), {
|
|
902
933
|
onInteractOutside: unref(guardOutside),
|
|
903
|
-
onEscapeKeyDown: _cache[
|
|
934
|
+
onEscapeKeyDown: _cache[10] || (_cache[10] = (event) => {
|
|
904
935
|
unref(guardOutside)(event);
|
|
905
936
|
if (!event.defaultPrevented) onEscape(event);
|
|
906
937
|
}),
|
|
@@ -908,10 +939,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
908
939
|
ref_key: "contentRef",
|
|
909
940
|
ref: contentRef,
|
|
910
941
|
class: normalizeClass(["lp-cmd-dialog fixed left-1/2 top-[12vh] flex max-h-[76vh] -translate-x-1/2 flex-col overflow-hidden rounded-card border border-line shadow-panel outline-none data-[state=open]:animate-[pop-in_160ms_var(--ease-emphasized)] data-[state=closed]:animate-[pop-out_130ms_ease]", [unref(frosted) ? unref(layer).nested ? "lp-glass-overlay lp-glass-overlay--nested" : "lp-glass-overlay" : "bg-surface-raised", __props.previewPane && "lp-cmd-split"]]),
|
|
911
|
-
style: normalizeStyle({ zIndex: unref(layer).panel }),
|
|
942
|
+
style: normalizeStyle({ zIndex: unref(layer).panel, ...viewport.value }),
|
|
912
943
|
"data-pane": paneOpen.value ? "open" : void 0,
|
|
913
944
|
"data-editing": editing.value ? "" : void 0,
|
|
914
|
-
onOpenAutoFocus: _cache[
|
|
945
|
+
onOpenAutoFocus: _cache[11] || (_cache[11] = withModifiers(() => {
|
|
915
946
|
}, ["prevent"])),
|
|
916
947
|
onKeydownCapture: onPaletteKeydown
|
|
917
948
|
}, {
|
|
@@ -984,7 +1015,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
984
1015
|
"aria-controls": listShown.value ? listId : void 0,
|
|
985
1016
|
"aria-activedescendant": activeId.value,
|
|
986
1017
|
placeholder: promptCommand.value?.prompt?.placeholder ?? mode.value?.childPlaceholder ?? __props.placeholder,
|
|
987
|
-
class: "h-12 min-w-0 flex-1 bg-transparent text-sm text-ink outline-none placeholder:text-muted",
|
|
1018
|
+
class: "lp-entry h-12 min-w-0 flex-1 bg-transparent text-sm text-ink outline-none placeholder:text-muted",
|
|
988
1019
|
onKeydown: [
|
|
989
1020
|
withKeys(withModifiers(runSelected, ["prevent"]), ["enter"]),
|
|
990
1021
|
withKeys(onBackspace, ["backspace"]),
|
|
@@ -994,7 +1025,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
994
1025
|
}, null, 40, _hoisted_3), [
|
|
995
1026
|
[vModelText, inputQuery.value]
|
|
996
1027
|
]),
|
|
997
|
-
createElementVNode("kbd", _hoisted_4, toDisplayString(unref(text).esc), 1)
|
|
1028
|
+
createElementVNode("kbd", _hoisted_4, toDisplayString(unref(text).esc), 1),
|
|
1029
|
+
createElementVNode("button", {
|
|
1030
|
+
type: "button",
|
|
1031
|
+
class: "hidden shrink-0 rounded-inner px-2 py-1.5 text-sm font-medium text-brand outline-none focus-visible:ring-2 focus-visible:ring-ring [@media(hover:none)_and_(pointer:coarse)]:inline-flex",
|
|
1032
|
+
onClick: _cache[2] || (_cache[2] = ($event) => emit("update:open", false))
|
|
1033
|
+
}, toDisplayString(unref(text).dismiss), 1)
|
|
998
1034
|
]),
|
|
999
1035
|
promptCommand.value ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
1000
1036
|
createElementVNode("p", _hoisted_6, toDisplayString(promptCommand.value.label), 1),
|
|
@@ -1011,7 +1047,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1011
1047
|
}, 8, ["loading"]),
|
|
1012
1048
|
createVNode(_sfc_main$3, {
|
|
1013
1049
|
variant: "ghost",
|
|
1014
|
-
onClick: _cache[
|
|
1050
|
+
onClick: _cache[3] || (_cache[3] = ($event) => {
|
|
1015
1051
|
promptCommand.value = void 0;
|
|
1016
1052
|
inputRef.value?.focus();
|
|
1017
1053
|
})
|
|
@@ -1029,11 +1065,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1029
1065
|
key: 0,
|
|
1030
1066
|
size: "xs",
|
|
1031
1067
|
variant: "ghost",
|
|
1032
|
-
onClick: _cache[
|
|
1068
|
+
onClick: _cache[4] || (_cache[4] = ($event) => openActions(active.value))
|
|
1033
1069
|
}, {
|
|
1034
1070
|
default: withCtx(() => [
|
|
1035
|
-
createTextVNode(toDisplayString(unref(text).actions)
|
|
1036
|
-
_cache[12] || (_cache[12] = createElementVNode("span", { class: "text-muted" }, "Tab", -1))
|
|
1071
|
+
createTextVNode(toDisplayString(unref(text).actions), 1)
|
|
1037
1072
|
]),
|
|
1038
1073
|
_: 1
|
|
1039
1074
|
})) : createCommentVNode("", true),
|
|
@@ -1043,15 +1078,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1043
1078
|
variant: "ghost",
|
|
1044
1079
|
"aria-label": isPinned(active.value) ? unref(text).unpin : unref(text).pin,
|
|
1045
1080
|
"aria-pressed": isPinned(active.value),
|
|
1046
|
-
onClick: _cache[
|
|
1081
|
+
onClick: _cache[5] || (_cache[5] = ($event) => togglePin(active.value))
|
|
1047
1082
|
}, {
|
|
1048
1083
|
default: withCtx(() => [
|
|
1049
1084
|
createVNode(_sfc_main$1, {
|
|
1050
1085
|
name: "lucide:star",
|
|
1051
1086
|
size: 14
|
|
1052
1087
|
}),
|
|
1053
|
-
createTextVNode(toDisplayString(isPinned(active.value) ? unref(text).unpin : unref(text).pin)
|
|
1054
|
-
_cache[13] || (_cache[13] = createElementVNode("span", { class: "text-muted" }, "Alt+P", -1))
|
|
1088
|
+
createTextVNode(toDisplayString(isPinned(active.value) ? unref(text).unpin : unref(text).pin), 1)
|
|
1055
1089
|
]),
|
|
1056
1090
|
_: 1
|
|
1057
1091
|
}, 8, ["aria-label", "aria-pressed"])) : createCommentVNode("", true)
|
|
@@ -1101,6 +1135,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1101
1135
|
flatIndexOf(c) === selectedIndex.value ? "bg-brand-soft text-brand" : unref(moreOf).has(c) ? "text-muted hover:bg-surface-soft/60" : "text-ink hover:bg-surface-soft/60"
|
|
1102
1136
|
]]),
|
|
1103
1137
|
onClick: ($event) => onRowClick($event, c),
|
|
1138
|
+
onContextmenu: ($event) => onRowContextMenu($event, c),
|
|
1104
1139
|
onPointerenter: ($event) => onPointerEnter(c),
|
|
1105
1140
|
onPointerleave: onPointerLeave
|
|
1106
1141
|
}, {
|
|
@@ -1161,7 +1196,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1161
1196
|
]),
|
|
1162
1197
|
c.shortcut ? (openBlock(), createBlock(MenuShortcut, {
|
|
1163
1198
|
key: 2,
|
|
1164
|
-
combo: c.shortcut
|
|
1199
|
+
combo: c.shortcut,
|
|
1200
|
+
class: "[@media(hover:none)_and_(pointer:coarse)]:hidden"
|
|
1165
1201
|
}, null, 8, ["combo"])) : c.prefix && c.children ? (openBlock(), createElementBlock("kbd", _hoisted_20, toDisplayString(c.prefix), 1)) : c.children ? (openBlock(), createBlock(_sfc_main$1, {
|
|
1166
1202
|
key: 4,
|
|
1167
1203
|
name: "lucide:chevron-right",
|
|
@@ -1170,7 +1206,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1170
1206
|
})) : createCommentVNode("", true)
|
|
1171
1207
|
]),
|
|
1172
1208
|
_: 2
|
|
1173
|
-
}, 1064, ["id", "href", "type", "aria-label", "aria-selected", "aria-disabled", "data-cmd-index", "disabled", "class", "onClick", "onPointerenter"]);
|
|
1209
|
+
}, 1064, ["id", "href", "type", "aria-label", "aria-selected", "aria-disabled", "data-cmd-index", "disabled", "class", "onClick", "onContextmenu", "onPointerenter"]);
|
|
1174
1210
|
}), 128))
|
|
1175
1211
|
], 8, _hoisted_12);
|
|
1176
1212
|
}), 128))
|
|
@@ -1189,7 +1225,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1189
1225
|
createElementVNode("button", {
|
|
1190
1226
|
type: "button",
|
|
1191
1227
|
class: "rounded-inner px-1.5 py-0.5 font-medium text-brand outline-none transition-colors hover:bg-brand-soft focus-visible:ring-2 focus-visible:ring-ring",
|
|
1192
|
-
onClick: _cache[
|
|
1228
|
+
onClick: _cache[6] || (_cache[6] = ($event) => {
|
|
1193
1229
|
refresh();
|
|
1194
1230
|
inputRef.value?.focus();
|
|
1195
1231
|
})
|
|
@@ -1221,7 +1257,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1221
1257
|
size: "sm",
|
|
1222
1258
|
variant: "ghost",
|
|
1223
1259
|
class: "mb-3",
|
|
1224
|
-
onClick: _cache[
|
|
1260
|
+
onClick: _cache[7] || (_cache[7] = ($event) => {
|
|
1225
1261
|
editing.value = void 0;
|
|
1226
1262
|
inputRef.value?.focus();
|
|
1227
1263
|
})
|
|
@@ -1307,12 +1343,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1307
1343
|
], 32),
|
|
1308
1344
|
createElementVNode("div", _hoisted_26, [
|
|
1309
1345
|
createElementVNode("span", _hoisted_27, [
|
|
1310
|
-
_cache[
|
|
1311
|
-
_cache[
|
|
1346
|
+
_cache[13] || (_cache[13] = createElementVNode("kbd", { class: "rounded-small border border-line px-1 text-[10px]" }, "↑", -1)),
|
|
1347
|
+
_cache[14] || (_cache[14] = createElementVNode("kbd", { class: "rounded-small border border-line px-1 text-[10px]" }, "↓", -1)),
|
|
1312
1348
|
createTextVNode(" " + toDisplayString(unref(text).navigate), 1)
|
|
1313
1349
|
]),
|
|
1314
1350
|
createElementVNode("span", _hoisted_28, [
|
|
1315
|
-
_cache[
|
|
1351
|
+
_cache[15] || (_cache[15] = createElementVNode("kbd", { class: "rounded-small border border-line px-1 text-[10px]" }, "↵", -1)),
|
|
1316
1352
|
createTextVNode(" " + toDisplayString(unref(text).select), 1)
|
|
1317
1353
|
]),
|
|
1318
1354
|
selectedActions.value.length && active.value ? (openBlock(), createElementBlock("button", {
|
|
@@ -1320,7 +1356,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1320
1356
|
type: "button",
|
|
1321
1357
|
class: normalizeClass(["flex items-center gap-1 rounded-small outline-none transition-colors hover:text-ink focus-visible:ring-2 focus-visible:ring-ring", showActionsKey.value && "font-medium text-brand"]),
|
|
1322
1358
|
"aria-label": unref(text).actions,
|
|
1323
|
-
onClick: _cache[
|
|
1359
|
+
onClick: _cache[8] || (_cache[8] = ($event) => openActions(active.value))
|
|
1324
1360
|
}, [
|
|
1325
1361
|
createElementVNode("kbd", {
|
|
1326
1362
|
class: normalizeClass(["rounded-small border px-1 text-[10px] transition-colors", showActionsKey.value ? "border-brand" : "border-line"])
|
|
@@ -1333,9 +1369,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1333
1369
|
class: "flex items-center gap-1 rounded-small outline-none transition-colors hover:text-ink focus-visible:ring-2 focus-visible:ring-ring",
|
|
1334
1370
|
"aria-label": isPinned(active.value) ? unref(text).unpin : unref(text).pin,
|
|
1335
1371
|
"aria-pressed": isPinned(active.value),
|
|
1336
|
-
onClick: _cache[
|
|
1372
|
+
onClick: _cache[9] || (_cache[9] = ($event) => togglePin(active.value))
|
|
1337
1373
|
}, [
|
|
1338
|
-
_cache[
|
|
1374
|
+
_cache[16] || (_cache[16] = createElementVNode("kbd", { class: "rounded-small border border-line px-1 text-[10px]" }, "Alt+P", -1)),
|
|
1339
1375
|
createVNode(_sfc_main$1, {
|
|
1340
1376
|
name: "lucide:star",
|
|
1341
1377
|
size: 11,
|
|
@@ -1344,7 +1380,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1344
1380
|
createTextVNode(" " + toDisplayString(isPinned(active.value) ? unref(text).unpin : unref(text).pin), 1)
|
|
1345
1381
|
], 8, _hoisted_30)) : createCommentVNode("", true),
|
|
1346
1382
|
trail.value.length ? (openBlock(), createElementBlock("span", _hoisted_31, [
|
|
1347
|
-
_cache[
|
|
1383
|
+
_cache[17] || (_cache[17] = createElementVNode("kbd", { class: "rounded-small border border-line px-1 text-[10px]" }, "⌫", -1)),
|
|
1348
1384
|
createTextVNode(" " + toDisplayString(unref(text).back), 1)
|
|
1349
1385
|
])) : createCommentVNode("", true),
|
|
1350
1386
|
createElementVNode("span", _hoisted_32, [
|
|
@@ -1364,7 +1400,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1364
1400
|
};
|
|
1365
1401
|
}
|
|
1366
1402
|
});
|
|
1367
|
-
const LpCommandPalette = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
1403
|
+
const LpCommandPalette = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1801065c"]]);
|
|
1368
1404
|
export {
|
|
1369
1405
|
LpCommandPalette as default
|
|
1370
1406
|
};
|
|
@@ -6,7 +6,7 @@ import { useRovingFocus } from "../composables/useRovingFocus.js";
|
|
|
6
6
|
import { isHTMLElement } from "../composables/realm.js";
|
|
7
7
|
import { dockSize } from "./dock.js";
|
|
8
8
|
import { _ as _sfc_main$2 } from "../chunks/LpIcon-CxHFPwKt.js";
|
|
9
|
-
import { _ as _sfc_main$1 } from "../chunks/LpTooltip-
|
|
9
|
+
import { _ as _sfc_main$1 } from "../chunks/LpTooltip-BKde8Xjv.js";
|
|
10
10
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
|
|
11
11
|
import '../assets/LpDock-Dw82tWVD.css';const _hoisted_1 = ["aria-orientation", "data-orientation"];
|
|
12
12
|
const __default__ = { inheritAttrs: false };
|
|
@@ -6,13 +6,13 @@ import { useLabels } from "../composables/useLpConfig.js";
|
|
|
6
6
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
7
7
|
import { useReveal } from "../composables/useReveal.js";
|
|
8
8
|
import { PopoverRoot, PopoverAnchor, PopoverPortal, PopoverContent } from "reka-ui";
|
|
9
|
-
import { _ as _sfc_main$1 } from "../chunks/DropzoneLinkField-
|
|
10
|
-
import { POPOVER_PANEL } from "./dropdown.js";
|
|
9
|
+
import { _ as _sfc_main$1 } from "../chunks/DropzoneLinkField-Ckuh8zFC.js";
|
|
10
|
+
import { POPOVER_PANEL, PANEL_FIT } from "./dropdown.js";
|
|
11
11
|
import { _ as _sfc_main$2 } from "../chunks/LpIcon-CxHFPwKt.js";
|
|
12
12
|
import { inTextField } from "../composables/textEntry.js";
|
|
13
13
|
import { useView, usePortalTarget, useOutsideGuard, viewWindow } from "../composables/useView.js";
|
|
14
14
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
|
|
15
|
-
import '../assets/LpDropzone-
|
|
15
|
+
import '../assets/LpDropzone-CVGUQqgY.css';const _hoisted_1 = ["aria-disabled"];
|
|
16
16
|
const _hoisted_2 = ["disabled", "aria-labelledby"];
|
|
17
17
|
const _hoisted_3 = {
|
|
18
18
|
"aria-hidden": "true",
|
|
@@ -407,7 +407,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
407
407
|
side: "bottom",
|
|
408
408
|
align: "start",
|
|
409
409
|
"side-offset": 6,
|
|
410
|
-
class: normalizeClass([unref(POPOVER_PANEL), "z-(--z-popover) w-80 rounded-card p-3 outline-none"]),
|
|
410
|
+
class: normalizeClass([[unref(POPOVER_PANEL), unref(PANEL_FIT)], "z-(--z-popover) w-80 rounded-card p-3 outline-none"]),
|
|
411
411
|
onOpenAutoFocus: _cache[2] || (_cache[2] = withModifiers(() => {
|
|
412
412
|
}, ["prevent"]))
|
|
413
413
|
}, {
|
|
@@ -447,7 +447,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
447
447
|
};
|
|
448
448
|
}
|
|
449
449
|
});
|
|
450
|
-
const LpDropzone = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
450
|
+
const LpDropzone = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ccad017c"]]);
|
|
451
451
|
export {
|
|
452
452
|
LpDropzone as default
|
|
453
453
|
};
|
|
@@ -25,15 +25,15 @@ type __VLS_ModelProps = {
|
|
|
25
25
|
"open"?: boolean;
|
|
26
26
|
};
|
|
27
27
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
28
|
-
declare var __VLS_1: {},
|
|
28
|
+
declare var __VLS_1: {}, __VLS_16: {}, __VLS_33: {
|
|
29
29
|
close: () => boolean;
|
|
30
30
|
};
|
|
31
31
|
type __VLS_Slots = {} & {
|
|
32
32
|
trigger?: (props: typeof __VLS_1) => any;
|
|
33
33
|
} & {
|
|
34
|
-
trigger?: (props: typeof
|
|
34
|
+
trigger?: (props: typeof __VLS_16) => any;
|
|
35
35
|
} & {
|
|
36
|
-
default?: (props: typeof
|
|
36
|
+
default?: (props: typeof __VLS_33) => any;
|
|
37
37
|
};
|
|
38
38
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
39
|
"update:open": (value: boolean) => any;
|
|
@@ -4,13 +4,13 @@ import { isSideways, coverScale, exportType, imageTypeFromUrl, cropGeometry } fr
|
|
|
4
4
|
import { useHotkeys } from "../composables/useHotkeys.js";
|
|
5
5
|
import { useReveal } from "../composables/useReveal.js";
|
|
6
6
|
import { useZoomPan } from "../composables/useZoomPan.js";
|
|
7
|
-
import { _ as _sfc_main$2 } from "../chunks/LpButton-
|
|
7
|
+
import { _ as _sfc_main$2 } from "../chunks/LpButton-BvVoF-PO.js";
|
|
8
8
|
import "./commandSearch.js";
|
|
9
9
|
import "reka-ui";
|
|
10
10
|
import "../composables/useHints.js";
|
|
11
11
|
import "../composables/useHintSystem.js";
|
|
12
12
|
import { _ as _sfc_main$1 } from "../chunks/LpIcon-CxHFPwKt.js";
|
|
13
|
-
import '../assets/MenuShortcut-Cyub0frr.css';import '../assets/LpKeys-5ijsXX-M.css';import '../assets/LpImageEditor-
|
|
13
|
+
import '../assets/MenuShortcut-Cyub0frr.css';import '../assets/LpKeys-5ijsXX-M.css';import '../assets/LpImageEditor-D_ECuegW.css';/* empty css */
|
|
14
14
|
/* empty css */
|
|
15
15
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
16
16
|
import { useResizeObserver } from "../composables/useResizeObserver.js";
|
|
@@ -331,7 +331,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
331
331
|
tabindex: "0",
|
|
332
332
|
role: "application",
|
|
333
333
|
"aria-label": unref(text).canvas,
|
|
334
|
-
class: "relative w-full overflow-hidden rounded-card border border-line bg-surface-soft focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
334
|
+
class: "relative w-full touch-none overflow-hidden rounded-card border border-line bg-surface-soft focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
335
335
|
style: normalizeStyle(frameStyle.value),
|
|
336
336
|
onWheel: withModifiers(onWheel, ["prevent"]),
|
|
337
337
|
onPointerdown: _cache[0] || (_cache[0] = //@ts-ignore
|
|
@@ -483,7 +483,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
483
483
|
};
|
|
484
484
|
}
|
|
485
485
|
});
|
|
486
|
-
const LpImageEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
486
|
+
const LpImageEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d8ea66b8"]]);
|
|
487
487
|
export {
|
|
488
488
|
LpImageEditor as default
|
|
489
489
|
};
|