@leavepulse/ui 0.70.1 → 0.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +91 -0
- package/dist/assets/{LpCommandPalette-u-zOxKWa.css → LpCommandPalette-DgPZX0us.css} +24 -17
- package/dist/assets/{LpPaletteFacts-B9FdVmIO.css → LpPaletteFacts-CVNh5ICn.css} +16 -16
- package/dist/assets/{LpPaletteStats-ClE-37MK.css → LpPaletteStats-ZiZmR6vz.css} +5 -5
- package/dist/assets/{LpTable-DHxEQ_-3.css → LpTable-DHvorDiU.css} +19 -19
- package/dist/assets/LpTabs-CO3EcsNV.css +18 -0
- package/dist/chunks/{ContextMenuItems-6kxEivBI.js → ContextMenuItems-eS7qx9gD.js} +1 -1
- package/dist/chunks/{DropzoneLinkField-Bw8Flkhk.js → DropzoneLinkField-DkFhdfEJ.js} +2 -2
- package/dist/chunks/{FieldWrapper-BiennROB.js → FieldWrapper-YzbvvC3M.js} +1 -1
- package/dist/chunks/{LayoutCanvas-BsJIzhdd.js → LayoutCanvas-Ba4A9QC5.js} +1 -1
- package/dist/chunks/{LayoutNode-DJVhkSGk.js → LayoutNode-CTTTLMDM.js} +1 -1
- package/dist/chunks/{LpActionBar-CzOFar5t.js → LpActionBar-B7anGlkI.js} +2 -2
- package/dist/chunks/{LpAddressInput-Chv_Xf8q.js → LpAddressInput-CD0bzrt-.js} +7 -7
- package/dist/chunks/{LpAlert-C5igj802.js → LpAlert-BHi7ARqu.js} +1 -1
- package/dist/chunks/{LpAppShell-BiWByLmt.js → LpAppShell-1RmBp6xQ.js} +3 -3
- package/dist/chunks/{LpAutocomplete-D92niDHE.js → LpAutocomplete-DDqe2M5g.js} +5 -2
- package/dist/chunks/{LpAvatar-CLPl-qOF.js → LpAvatar-DqfKCIdr.js} +1 -1
- package/dist/chunks/{LpBadge-BBq1Er9T.js → LpBadge-C8fKEmTF.js} +1 -1
- package/dist/chunks/{LpBreadcrumbs-JKEi_yFF.js → LpBreadcrumbs-DhcoStFa.js} +1 -1
- package/dist/chunks/{LpButton-CVxBfGjd.js → LpButton-BQDAFXBd.js} +3 -0
- package/dist/chunks/{LpCalendar-pVL91-Pl.js → LpCalendar-NmrA47J9.js} +1 -1
- package/dist/chunks/{LpCheckbox-DHc2bHDe.js → LpCheckbox-BoOuLnGB.js} +5 -2
- package/dist/chunks/{LpCodeBlock-BGsQhxw8.js → LpCodeBlock-Czu-fq1M.js} +2 -2
- package/dist/chunks/{LpCodeDisplay-CbJMs-IK.js → LpCodeDisplay-BK2FHbtM.js} +5 -5
- package/dist/chunks/{LpColorPicker-B7HSIFmn.js → LpColorPicker-Ee1DZiRd.js} +2 -2
- package/dist/chunks/LpCommandScope-ubtWDMa0.js +53 -0
- package/dist/chunks/{LpConfirmDialog-CfGCux8m.js → LpConfirmDialog-i15pulMT.js} +3 -3
- package/dist/chunks/{LpConfirmHost-exB7JmcO.js → LpConfirmHost-D0oGavtd.js} +1 -1
- package/dist/chunks/{LpContextMenu-Cj96ENDC.js → LpContextMenu-DXpFJjlO.js} +13 -3
- package/dist/chunks/{LpCopyButton-DzHjnFs0.js → LpCopyButton-Dmq7DmFw.js} +3 -3
- package/dist/chunks/{LpCountdown-BQnmB4gq.js → LpCountdown-DTdMF8DL.js} +1 -1
- package/dist/chunks/{LpDataList-CHNYQw7h.js → LpDataList-CFPtSsBB.js} +3 -3
- package/dist/chunks/{LpDatePicker-ac1_6o5P.js → LpDatePicker-cC9K-Pk8.js} +4 -4
- package/dist/chunks/{LpDateRangePicker-B15gYrZJ.js → LpDateRangePicker-BVQKPbvo.js} +2 -2
- package/dist/chunks/{LpDisclosure-DOarzlAG.js → LpDisclosure-hRnX3FWL.js} +4 -1
- package/dist/chunks/{LpDrawer-DGNKRsGq.js → LpDrawer-u4rxnuR-.js} +1 -1
- package/dist/chunks/{LpDropdownMenu-R4aYVtVV.js → LpDropdownMenu-BgZ0Z_Im.js} +13 -3
- package/dist/chunks/{LpEditable-Ws3DNQHn.js → LpEditable-CjxuOVh_.js} +2 -2
- package/dist/chunks/{LpEmptyState-KTKipws2.js → LpEmptyState-CKFTtQgJ.js} +1 -1
- package/dist/chunks/{LpFieldNotice-CurbNuXI.js → LpFieldNotice-CPI8EwtU.js} +1 -1
- package/dist/chunks/{LpFileTree-DDNg34tJ.js → LpFileTree-BH0gNlSJ.js} +2 -2
- package/dist/chunks/{LpFileTreeNode-DmPuYNZ_.js → LpFileTreeNode-gPVB1oXM.js} +4 -4
- package/dist/chunks/{LpFormField-BWwgm1E4.js → LpFormField-gRASfyj2.js} +4 -1
- package/dist/chunks/{LpGauge-C14Z9503.js → LpGauge-BdjPGnqw.js} +1 -1
- package/dist/chunks/{LpHintLayer-HvwUA5Ec.js → LpHintLayer-C2asBIfs.js} +2 -2
- package/dist/chunks/{LpHints-DxbPKOzQ.js → LpHints-CNZQ76JV.js} +3 -3
- package/dist/chunks/{LpIcon-HJP5xMz4.js → LpIcon-DkP-9mzK.js} +1 -1
- package/dist/chunks/{LpInfraNode-D64hywJI.js → LpInfraNode-yTh4-5qa.js} +2 -2
- package/dist/chunks/{LpInput-CDuwODJG.js → LpInput-2H-5ILOB.js} +5 -2
- package/dist/chunks/{LpLightbox-XJ0LpTcZ.js → LpLightbox-lAt5uIfx.js} +2 -2
- package/dist/chunks/{LpLogViewer-DKK4ySZl.js → LpLogViewer-x78YfhJf.js} +5 -5
- package/dist/chunks/{LpMapPicker-BtIl7NOM.js → LpMapPicker-Dp5RSCi9.js} +1 -1
- package/dist/chunks/{LpMediaGallery-rmI1DjKN.js → LpMediaGallery-D92oJfY_.js} +3 -3
- package/dist/chunks/{LpModal-eBMt2Fqn.js → LpModal-CpH0bNo7.js} +1 -1
- package/dist/chunks/{LpModalNav-DiyFCHiZ.js → LpModalNav-BH4ANQGJ.js} +4 -4
- package/dist/chunks/{LpNotificationBell-D-WhE5m2.js → LpNotificationBell-BdUQqZhs.js} +6 -6
- package/dist/chunks/{LpNumberField-B9k-h2HE.js → LpNumberField-DZY3Z670.js} +4 -1
- package/dist/chunks/{LpNumberFlow-Cfyh033Q.js → LpNumberFlow-5khYxsfX.js} +6 -3
- package/dist/chunks/{LpPagination-VNCX6pFC.js → LpPagination-DbeACavM.js} +1 -1
- package/dist/chunks/LpPaletteTheme-CqWNRwHE.js +104 -0
- package/dist/chunks/{LpPasswordInput-GL2KOFK8.js → LpPasswordInput-BzAZsf5V.js} +4 -2
- package/dist/chunks/{LpPhoneInput-C60tx1tC.js → LpPhoneInput-BMpd-0QR.js} +2 -2
- package/dist/chunks/{LpPie-BgXZ3xmm.js → LpPie-DdFSTbGE.js} +4 -4
- package/dist/chunks/{LpPipeline-B31h41Mu.js → LpPipeline-zjEM1Lwc.js} +3 -3
- package/dist/chunks/{LpProgress-CE-m5OpD.js → LpProgress-BX33EKkN.js} +1 -1
- package/dist/chunks/{LpQuota-DaL8TgNe.js → LpQuota-DqNv1yjs.js} +2 -2
- package/dist/chunks/{LpRadioGroup-CGBr5nIp.js → LpRadioGroup-CsXeV9Ct.js} +4 -1
- package/dist/chunks/{LpRangeCalendar-c5qj7YcC.js → LpRangeCalendar-l-0nSFmY.js} +1 -1
- package/dist/chunks/{LpRangeSlider-Dv6lNvHY.js → LpRangeSlider-CM-0ZITZ.js} +3 -0
- package/dist/chunks/{LpRelativeTime-yin9uQP7.js → LpRelativeTime-UM8EkfrN.js} +1 -1
- package/dist/chunks/{LpRepeater-D0S7jjwr.js → LpRepeater-OvzByE5L.js} +2 -2
- package/dist/chunks/{LpSecretField-CfWyHv9m.js → LpSecretField-DwQiPOko.js} +9 -7
- package/dist/chunks/{LpSection-BW4xJ-Li.js → LpSection-DcQsieHG.js} +1 -1
- package/dist/chunks/{LpSegmented-BO99Sr4m.js → LpSegmented-D2VST0o3.js} +4 -1
- package/dist/chunks/{LpSelect-C_8cJtj6.js → LpSelect-DYX2-u5A.js} +36 -6
- package/dist/chunks/{LpSidebar-CZRXtvem.js → LpSidebar-D44peKq2.js} +3 -3
- package/dist/chunks/{LpSidebarNav-DBg1U1oW.js → LpSidebarNav--VwkXO_a.js} +3 -3
- package/dist/chunks/{LpSlider-DuoRpOrH.js → LpSlider-DxYoCJJO.js} +3 -0
- package/dist/chunks/{LpStat-DFKlPJgy.js → LpStat-DIsQfbeD.js} +3 -3
- package/dist/chunks/{LpStatus-BsGLrpor.js → LpStatus-BQU1TUsv.js} +1 -1
- package/dist/chunks/{LpStepMark-TrzOioa9.js → LpStepMark-CXa7DJy_.js} +1 -1
- package/dist/chunks/{LpStepper-BbnS5jUr.js → LpStepper-C9RM_yTG.js} +1 -1
- package/dist/chunks/{LpSwitch-DrzKrZZV.js → LpSwitch-bGZxUDSx.js} +3 -0
- package/dist/chunks/{LpTableFilter-DyvHGbOk.js → LpTableFilter-CTZMqFDU.js} +2 -2
- package/dist/chunks/{LpTableOfContents-rYvo8z5T.js → LpTableOfContents-CraicEs4.js} +2 -2
- package/dist/chunks/{LpTagsInput-DZg80W-B.js → LpTagsInput-DrjmrOge.js} +8 -5
- package/dist/chunks/{LpTextarea-DiWjeVoJ.js → LpTextarea-BbYqmG1S.js} +4 -1
- package/dist/chunks/{LpThemeStudio-DxVZMtzN.js → LpThemeStudio-B2nPaG-h.js} +18 -14
- package/dist/chunks/{LpThemeSwitcher-CadVBTBn.js → LpThemeSwitcher-C0A5sg_E.js} +5 -3
- package/dist/chunks/{LpTimeField-BFQVf_PW.js → LpTimeField-DQ8WvPr2.js} +4 -1
- package/dist/chunks/{LpToaster-Wv9ksj4q.js → LpToaster-BTTl_wuy.js} +2 -2
- package/dist/chunks/{LpTooltip-Cz8SQwRt.js → LpTooltip-BcBvIx4z.js} +23 -5
- package/dist/chunks/{LpTopologyCanvas-C17A1XCb.js → LpTopologyCanvas-B0wEvAoq.js} +1 -1
- package/dist/chunks/{LpTour-CY2bFXge.js → LpTour-BgCfNlaW.js} +1 -1
- package/dist/chunks/{LpTruncate-D_5Pfv5B.js → LpTruncate-TcqfkyJM.js} +2 -2
- package/dist/chunks/{LpUptimeBar-Tew1Ykx4.js → LpUptimeBar-DRadGq4Y.js} +136 -47
- package/dist/chunks/{MenuTitle-BjQZX8tQ.js → MenuTitle-Dab3EGOp.js} +1 -1
- package/dist/chunks/{OptionContent-CmYUUeWj.js → OptionContent-DPzNsybd.js} +1 -1
- package/dist/chunks/PalettePreviewBoundary-B0Hhu3Yw.js +20 -0
- package/dist/chunks/{PickerField-DoHv0WMH.js → PickerField-DwLw7j0L.js} +1 -1
- package/dist/chunks/{RevealToggle-C-KzaQGJ.js → RevealToggle-BVFM_FAU.js} +3 -3
- package/dist/chunks/{TourCard-BJ8i7dk0.js → TourCard--2IfgnUU.js} +2 -2
- package/dist/chunks/icons-CLu1iR1j.js +43 -0
- package/dist/chunks/palette-BiY7yQZL.js +29 -0
- package/dist/component-names.d.ts +1 -1
- package/dist/components/ContextMenuItems.vue.js +1 -1
- package/dist/components/DropzoneLinkField.vue.js +1 -1
- package/dist/components/FieldWrapper.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.d.ts +1 -1
- package/dist/components/LpAddressInput.vue.js +1 -1
- package/dist/components/LpAlert.vue.d.ts +3 -3
- package/dist/components/LpAlert.vue.js +1 -1
- package/dist/components/LpAppShell.vue.js +1 -1
- package/dist/components/LpAutocomplete.vue.d.ts +7 -1
- package/dist/components/LpAutocomplete.vue.js +1 -1
- package/dist/components/LpAvatar.vue.js +1 -1
- package/dist/components/LpBadge.vue.d.ts +2 -2
- package/dist/components/LpBadge.vue.js +1 -1
- package/dist/components/LpBreadcrumbs.vue.js +1 -1
- package/dist/components/LpButton.vue.d.ts +4 -0
- package/dist/components/LpButton.vue.js +1 -1
- package/dist/components/LpCalendar.vue.js +1 -1
- package/dist/components/LpChart.vue.js +2 -2
- package/dist/components/LpCheckbox.vue.d.ts +8 -1
- 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.d.ts +2 -2
- package/dist/components/LpColorPicker.vue.js +1 -1
- package/dist/components/LpCommandPalette.vue.d.ts +43 -7
- package/dist/components/LpCommandPalette.vue.js +451 -126
- package/dist/components/LpCommandScope.vue.d.ts +28 -0
- package/dist/components/LpCommandScope.vue.js +4 -0
- package/dist/components/LpConfirmDialog.vue.js +1 -1
- package/dist/components/LpConfirmHost.vue.js +1 -1
- package/dist/components/LpContextMenu.vue.d.ts +5 -1
- package/dist/components/LpContextMenu.vue.js +1 -1
- package/dist/components/LpCopyButton.vue.d.ts +1 -1
- 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/LpDatePicker.vue.js +1 -1
- package/dist/components/LpDateRangePicker.vue.js +1 -1
- package/dist/components/LpDisclosure.vue.d.ts +4 -0
- package/dist/components/LpDisclosure.vue.js +1 -1
- package/dist/components/LpDock.vue.js +2 -2
- package/dist/components/LpDrawer.vue.js +1 -1
- package/dist/components/LpDropdownMenu.vue.d.ts +5 -1
- package/dist/components/LpDropdownMenu.vue.js +1 -1
- package/dist/components/LpDropzone.vue.js +2 -2
- package/dist/components/LpEditable.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.d.ts +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/LpGauge.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 +3 -2
- package/dist/components/LpInfraNode.vue.js +1 -1
- package/dist/components/LpInput.vue.d.ts +6 -0
- package/dist/components/LpInput.vue.js +1 -1
- package/dist/components/LpLightbox.vue.js +1 -1
- package/dist/components/LpLoader.vue.d.ts +1 -1
- package/dist/components/LpLogViewer.vue.js +1 -1
- package/dist/components/LpMapPicker.vue.js +1 -1
- package/dist/components/LpMediaGallery.vue.d.ts +2 -2
- 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.d.ts +6 -0
- package/dist/components/LpNumberField.vue.js +1 -1
- package/dist/components/LpNumberFlow.vue.js +1 -1
- package/dist/components/LpPagination.vue.js +1 -1
- package/dist/components/LpPaletteFacts.vue.d.ts +1 -0
- package/dist/components/LpPaletteFacts.vue.js +40 -26
- package/dist/components/LpPaletteHeader.vue.js +2 -2
- package/dist/components/LpPaletteStats.vue.d.ts +1 -0
- package/dist/components/LpPaletteStats.vue.js +45 -21
- package/dist/components/LpPaletteTheme.vue.d.ts +7 -0
- package/dist/components/LpPaletteTheme.vue.js +4 -0
- 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/LpProgress.vue.d.ts +1 -1
- package/dist/components/LpProgress.vue.js +1 -1
- package/dist/components/LpQuota.vue.js +1 -1
- package/dist/components/LpRadioGroup.vue.d.ts +6 -1
- package/dist/components/LpRadioGroup.vue.js +1 -1
- package/dist/components/LpRangeCalendar.vue.js +1 -1
- package/dist/components/LpRangeSlider.vue.d.ts +6 -0
- 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.d.ts +6 -0
- package/dist/components/LpSegmented.vue.js +1 -1
- package/dist/components/LpSelect.vue.d.ts +3 -0
- package/dist/components/LpSelect.vue.js +1 -1
- package/dist/components/LpShinyText.vue.d.ts +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/LpSlider.vue.d.ts +6 -0
- package/dist/components/LpSlider.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/LpSwitch.vue.d.ts +6 -0
- package/dist/components/LpSwitch.vue.js +1 -1
- package/dist/components/LpTable.vue.d.ts +6 -0
- package/dist/components/LpTable.vue.js +74 -35
- package/dist/components/LpTableFilter.vue.js +1 -1
- package/dist/components/LpTableOfContents.vue.js +1 -1
- package/dist/components/LpTabs.vue.d.ts +1 -1
- package/dist/components/LpTabs.vue.js +14 -5
- package/dist/components/LpTagsInput.vue.d.ts +6 -0
- package/dist/components/LpTagsInput.vue.js +1 -1
- package/dist/components/LpTextarea.vue.d.ts +8 -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.d.ts +6 -0
- package/dist/components/LpTimeField.vue.js +1 -1
- package/dist/components/LpToaster.vue.js +1 -1
- 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.d.ts +18 -9
- package/dist/components/LpUptimeBar.vue.js +1 -1
- package/dist/components/MenuTitle.vue.js +1 -1
- package/dist/components/OptionContent.vue.js +1 -1
- package/dist/components/PalettePreviewBoundary.vue.d.ts +13 -0
- package/dist/components/PalettePreviewBoundary.vue.js +4 -0
- 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/commandPalette.d.ts +33 -0
- package/dist/components/commandPalette.js +21 -1
- package/dist/components/commandSearch.d.ts +5 -0
- package/dist/components/commandSearch.js +22 -2
- package/dist/components/format.d.ts +7 -0
- package/dist/components/format.js +4 -0
- package/dist/components/menuWhen.js +1 -1
- package/dist/components/uptimeBar.d.ts +45 -0
- package/dist/components/uptimeBar.js +51 -0
- package/dist/composables/scroll.d.ts +5 -0
- package/dist/composables/scroll.js +7 -0
- package/dist/composables/useField.d.ts +4 -0
- package/dist/composables/useField.js +3 -0
- package/dist/composables/usePaletteCommands.d.ts +61 -0
- package/dist/composables/usePaletteCommands.js +220 -0
- package/dist/composables/useReveal.js +21 -0
- package/dist/composables/useView.js +5 -1
- package/dist/icons-all.js +1 -1
- package/dist/index.d.ts +14 -1
- package/dist/index.js +101 -85
- package/dist/theme/palette.d.ts +9 -0
- package/dist/theme/studio.d.ts +12 -1
- package/package.json +1 -1
- package/src/component-names.ts +2 -0
- package/src/components/LpAutocomplete.vue +6 -1
- package/src/components/LpButton.vue +5 -1
- package/src/components/LpCheckbox.vue +7 -2
- package/src/components/LpCommandPalette.vue +263 -29
- package/src/components/LpCommandScope.vue +35 -0
- package/src/components/LpContextMenu.vue +13 -2
- package/src/components/LpDisclosure.vue +5 -1
- package/src/components/LpDropdownMenu.vue +13 -2
- package/src/components/LpFormField.vue +3 -0
- package/src/components/LpInput.vue +6 -1
- package/src/components/LpNumberField.vue +6 -1
- package/src/components/LpNumberFlow.vue +12 -2
- package/src/components/LpPaletteFacts.vue +11 -6
- package/src/components/LpPaletteStats.vue +12 -5
- package/src/components/LpPaletteTheme.vue +48 -0
- package/src/components/LpPasswordInput.vue +3 -0
- package/src/components/LpRadioGroup.vue +4 -1
- package/src/components/LpRangeSlider.vue +6 -1
- package/src/components/LpSecretField.vue +3 -0
- package/src/components/LpSegmented.vue +6 -1
- package/src/components/LpSelect.vue +41 -2
- package/src/components/LpSlider.vue +6 -1
- package/src/components/LpSwitch.vue +6 -1
- package/src/components/LpTable.vue +35 -2
- package/src/components/LpTableOfContents.vue +2 -4
- package/src/components/LpTabs.vue +7 -0
- package/src/components/LpTagsInput.vue +6 -1
- package/src/components/LpTextarea.vue +7 -2
- package/src/components/LpThemeStudio.vue +7 -5
- package/src/components/LpThemeSwitcher.vue +3 -0
- package/src/components/LpTimeField.vue +6 -1
- package/src/components/LpTooltip.vue +23 -1
- package/src/components/LpUptimeBar.vue +69 -41
- package/src/components/PalettePreviewBoundary.vue +5 -0
- package/src/components/commandPalette.ts +22 -1
- package/src/components/commandSearch.ts +23 -1
- package/src/components/format.ts +10 -0
- package/src/components/uptimeBar.ts +98 -0
- package/src/composables/scroll.ts +11 -0
- package/src/composables/useField.ts +7 -0
- package/src/composables/usePaletteCommands.ts +220 -0
- package/src/composables/useReveal.ts +29 -0
- package/src/composables/useView.ts +5 -1
- package/src/index.ts +18 -1
- package/src/kit-icons.ts +1 -1
- package/src/theme/palette.ts +26 -0
- package/src/theme/studio.ts +15 -8
- package/dist/assets/LpTabs-BJ-nrJuI.css +0 -18
- package/dist/chunks/icons-4IywzkHk.js +0 -43
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { Command } from "./LpCommandPalette.vue";
|
|
2
|
+
import type { ThemeStudio } from "../theme/studio";
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
id: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
enabled?: boolean;
|
|
7
|
+
discover?: boolean;
|
|
8
|
+
/** Start a separate registry, e.g. an embedded demo inside an application's palette scope. */
|
|
9
|
+
isolated?: boolean;
|
|
10
|
+
theme?: ThemeStudio;
|
|
11
|
+
commands?: Command[];
|
|
12
|
+
};
|
|
13
|
+
declare var __VLS_1: {};
|
|
14
|
+
type __VLS_Slots = {} & {
|
|
15
|
+
default?: (props: typeof __VLS_1) => any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
|
+
enabled: boolean;
|
|
19
|
+
discover: boolean;
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type PaletteControlOptions } from "../composables/usePaletteCommands";
|
|
1
2
|
export interface ContextMenuItemDef {
|
|
2
3
|
label: string;
|
|
3
4
|
icon?: string;
|
|
@@ -21,6 +22,7 @@ export interface ContextMenuItemDef {
|
|
|
21
22
|
checked?: boolean;
|
|
22
23
|
}
|
|
23
24
|
type __VLS_Props = {
|
|
25
|
+
palette?: PaletteControlOptions;
|
|
24
26
|
items: ContextMenuItemDef[];
|
|
25
27
|
/**
|
|
26
28
|
* Keep the reka menu mounted even while `items` is momentarily empty. Use when
|
|
@@ -50,7 +52,9 @@ declare var __VLS_20: {};
|
|
|
50
52
|
type __VLS_Slots = {} & {
|
|
51
53
|
default?: (props: typeof __VLS_20) => any;
|
|
52
54
|
};
|
|
53
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
55
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
56
|
+
palette: PaletteControlOptions;
|
|
57
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
54
58
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
55
59
|
declare const _default: typeof __VLS_export;
|
|
56
60
|
export default _default;
|
|
@@ -76,7 +76,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
76
76
|
onCopied?: ((text: string, blob?: Blob | undefined) => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
78
|
size: "xs" | "sm" | "md" | "lg";
|
|
79
|
-
side: "top" | "right" | "bottom" | "left";
|
|
80
79
|
variant: "solid" | "action" | "outline" | "soft" | "ghost" | "muted";
|
|
80
|
+
side: "top" | "right" | "bottom" | "left";
|
|
81
81
|
toast: string | false;
|
|
82
82
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { type PaletteControlOptions } from "../composables/usePaletteCommands";
|
|
1
2
|
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
3
4
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
5
|
+
palette?: PaletteControlOptions;
|
|
4
6
|
/** Controlled open state. Omit to let the component own it (with `defaultOpen`). */
|
|
5
7
|
open?: boolean;
|
|
6
8
|
defaultOpen?: boolean;
|
|
@@ -17,6 +19,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
17
19
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
18
20
|
"update:open": (value: boolean) => any;
|
|
19
21
|
}, string, import("vue").PublicProps, Readonly<{
|
|
22
|
+
palette?: PaletteControlOptions;
|
|
20
23
|
/** Controlled open state. Omit to let the component own it (with `defaultOpen`). */
|
|
21
24
|
open?: boolean;
|
|
22
25
|
defaultOpen?: boolean;
|
|
@@ -33,6 +36,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
33
36
|
}> & Readonly<{
|
|
34
37
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
35
38
|
}>, {
|
|
39
|
+
palette: PaletteControlOptions;
|
|
36
40
|
defaultOpen: boolean;
|
|
37
41
|
scrollIntoView: boolean;
|
|
38
42
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
@@ -4,8 +4,8 @@ import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
|
4
4
|
import { springStep, springSettled } from "../composables/usePillTransition.js";
|
|
5
5
|
import { useRovingFocus } from "../composables/useRovingFocus.js";
|
|
6
6
|
import { dockSize } from "./dock.js";
|
|
7
|
-
import { _ as _sfc_main$2 } from "../chunks/LpIcon-
|
|
8
|
-
import { _ as _sfc_main$1 } from "../chunks/LpTooltip-
|
|
7
|
+
import { _ as _sfc_main$2 } from "../chunks/LpIcon-DkP-9mzK.js";
|
|
8
|
+
import { _ as _sfc_main$1 } from "../chunks/LpTooltip-BcBvIx4z.js";
|
|
9
9
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
|
|
10
10
|
import '../assets/LpDock-Cbh0wQUv.css';const _hoisted_1 = ["aria-orientation", "data-orientation"];
|
|
11
11
|
const __default__ = { inheritAttrs: false };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { type PaletteControlOptions } from "../composables/usePaletteCommands";
|
|
1
2
|
import type { ContextMenuItemDef } from "./LpContextMenu.vue";
|
|
2
3
|
/** A dropdown item: the context-menu item shape, kept under its old name. */
|
|
3
4
|
export type MenuItem = ContextMenuItemDef;
|
|
4
5
|
type __VLS_Props = {
|
|
6
|
+
palette?: PaletteControlOptions;
|
|
5
7
|
items: MenuItem[];
|
|
6
8
|
/** A heading naming what the menu acts on; see LpContextMenu's `title`. */
|
|
7
9
|
title?: string;
|
|
@@ -18,7 +20,9 @@ declare var __VLS_16: {};
|
|
|
18
20
|
type __VLS_Slots = {} & {
|
|
19
21
|
trigger?: (props: typeof __VLS_16) => any;
|
|
20
22
|
};
|
|
21
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
23
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
24
|
+
palette: PaletteControlOptions;
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
26
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
27
|
declare const _default: typeof __VLS_export;
|
|
24
28
|
export default _default;
|
|
@@ -5,9 +5,9 @@ import { useLabels } from "../composables/useLpConfig.js";
|
|
|
5
5
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
6
6
|
import { useReveal } from "../composables/useReveal.js";
|
|
7
7
|
import { PopoverRoot, PopoverAnchor, PopoverPortal, PopoverContent } from "reka-ui";
|
|
8
|
-
import { _ as _sfc_main$1 } from "../chunks/DropzoneLinkField-
|
|
8
|
+
import { _ as _sfc_main$1 } from "../chunks/DropzoneLinkField-DkFhdfEJ.js";
|
|
9
9
|
import { POPOVER_PANEL } from "./dropdown.js";
|
|
10
|
-
import { _ as _sfc_main$2 } from "../chunks/LpIcon-
|
|
10
|
+
import { _ as _sfc_main$2 } from "../chunks/LpIcon-DkP-9mzK.js";
|
|
11
11
|
import { usePortalTarget, useOutsideGuard } from "../composables/useView.js";
|
|
12
12
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
|
|
13
13
|
import '../assets/LpDropzone-Bb1vBTeU.css';const _hoisted_1 = ["aria-disabled"];
|
|
@@ -122,8 +122,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
122
122
|
}>, {
|
|
123
123
|
sort: boolean;
|
|
124
124
|
loading: boolean;
|
|
125
|
-
skeletonRows: number;
|
|
126
125
|
iconSize: number;
|
|
126
|
+
skeletonRows: number;
|
|
127
127
|
checkable: boolean;
|
|
128
128
|
showSize: boolean;
|
|
129
129
|
showModified: boolean;
|
|
@@ -4,11 +4,12 @@ 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-BQDAFXBd.js";
|
|
8
|
+
import "./commandSearch.js";
|
|
8
9
|
import "reka-ui";
|
|
9
10
|
import "../composables/useHints.js";
|
|
10
11
|
import "../composables/useHintSystem.js";
|
|
11
|
-
import { _ as _sfc_main$1 } from "../chunks/LpIcon-
|
|
12
|
+
import { _ as _sfc_main$1 } from "../chunks/LpIcon-DkP-9mzK.js";
|
|
12
13
|
import '../assets/MenuShortcut-Cyub0frr.css';import '../assets/LpKeys-BxRhfQda.css';import '../assets/LpImageEditor-XM5bAziW.css';/* empty css */
|
|
13
14
|
/* empty css */
|
|
14
15
|
import { useMergedAttrs } from "../composables/useMergedClass.js";
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { type PaletteControlOptions } from "../composables/usePaletteCommands";
|
|
1
2
|
import { type MaskSpec, type MaskTokens } from "../composables/useInputMask";
|
|
2
3
|
declare const _default: typeof __VLS_export;
|
|
3
4
|
export default _default;
|
|
4
5
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
6
|
+
/** Contextual palette metadata; false excludes this control. */
|
|
7
|
+
palette?: PaletteControlOptions;
|
|
5
8
|
modelValue?: string;
|
|
6
9
|
size?: "md" | "sm" | "lg" | undefined;
|
|
7
10
|
invalid?: boolean;
|
|
@@ -51,6 +54,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
51
54
|
"update:modelValue": (value: string) => any;
|
|
52
55
|
"update:raw": (value: string) => any;
|
|
53
56
|
}, string, import("vue").PublicProps, Readonly<{
|
|
57
|
+
/** Contextual palette metadata; false excludes this control. */
|
|
58
|
+
palette?: PaletteControlOptions;
|
|
54
59
|
modelValue?: string;
|
|
55
60
|
size?: "md" | "sm" | "lg" | undefined;
|
|
56
61
|
invalid?: boolean;
|
|
@@ -95,6 +100,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
95
100
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
96
101
|
"onUpdate:raw"?: ((value: string) => any) | undefined;
|
|
97
102
|
}>, {
|
|
103
|
+
palette: PaletteControlOptions;
|
|
98
104
|
type: string;
|
|
99
105
|
size: "md" | "sm" | "lg";
|
|
100
106
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
@@ -93,8 +93,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
93
93
|
active: boolean;
|
|
94
94
|
track: boolean;
|
|
95
95
|
delay: number;
|
|
96
|
-
tone: LoaderTone;
|
|
97
96
|
variant: LoaderVariant;
|
|
97
|
+
tone: LoaderTone;
|
|
98
98
|
minVisible: number;
|
|
99
99
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
100
100
|
default?: (props: {}) => any;
|
|
@@ -69,12 +69,12 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
69
69
|
revealAll: () => void;
|
|
70
70
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
71
71
|
select: (item: LightboxItem, index: number) => any;
|
|
72
|
-
"update:open": (value: boolean) => any;
|
|
73
72
|
reveal: (item: LightboxItem) => any;
|
|
73
|
+
"update:open": (value: boolean) => any;
|
|
74
74
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
75
75
|
onSelect?: ((item: LightboxItem, index: number) => any) | undefined;
|
|
76
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
77
76
|
onReveal?: ((item: LightboxItem) => any) | undefined;
|
|
77
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
78
78
|
}>, {
|
|
79
79
|
columns: number | {
|
|
80
80
|
base?: number;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type PaletteControlOptions } from "../composables/usePaletteCommands";
|
|
1
2
|
export interface NumberFieldLabels extends Record<string, string> {
|
|
2
3
|
increase: string;
|
|
3
4
|
decrease: string;
|
|
@@ -5,6 +6,8 @@ export interface NumberFieldLabels extends Record<string, string> {
|
|
|
5
6
|
declare const _default: typeof __VLS_export;
|
|
6
7
|
export default _default;
|
|
7
8
|
declare const __VLS_export: import("vue").DefineComponent<{
|
|
9
|
+
/** Contextual palette metadata; false excludes this control. */
|
|
10
|
+
palette?: PaletteControlOptions;
|
|
8
11
|
modelValue?: number | null;
|
|
9
12
|
min?: number;
|
|
10
13
|
max?: number;
|
|
@@ -45,6 +48,8 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
45
48
|
blur: (event: FocusEvent) => any;
|
|
46
49
|
"update:modelValue": (value: number | null) => any;
|
|
47
50
|
}, string, import("vue").PublicProps, Readonly<{
|
|
51
|
+
/** Contextual palette metadata; false excludes this control. */
|
|
52
|
+
palette?: PaletteControlOptions;
|
|
48
53
|
modelValue?: number | null;
|
|
49
54
|
min?: number;
|
|
50
55
|
max?: number;
|
|
@@ -85,6 +90,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
85
90
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
86
91
|
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
87
92
|
}>, {
|
|
93
|
+
palette: PaletteControlOptions;
|
|
88
94
|
size: "sm" | "md" | "lg";
|
|
89
95
|
stepSnapping: boolean;
|
|
90
96
|
focusOnChange: boolean;
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createElementVNode, Fragment, renderList, normalizeStyle, createBlock, createVNode, renderSlot } from "vue";
|
|
2
|
-
import { _ as _sfc_main$
|
|
3
|
-
import { _ as _sfc_main$1 } from "../chunks/LpIcon-
|
|
4
|
-
import { _ as _sfc_main$
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createElementVNode, Fragment, renderList, normalizeStyle, createBlock, createVNode, renderSlot } from "vue";
|
|
2
|
+
import { _ as _sfc_main$3 } from "../chunks/HighlightText-BvnYZkhi.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "../chunks/LpIcon-DkP-9mzK.js";
|
|
4
|
+
import { _ as _sfc_main$4 } from "../chunks/LpRollingText-DiL717LK.js";
|
|
5
|
+
import { _ as _sfc_main$2 } from "../chunks/LpSkeleton-BB6XIV-w.js";
|
|
5
6
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
|
|
6
|
-
import '../assets/LpPaletteFacts-
|
|
7
|
+
import '../assets/LpPaletteFacts-CVNh5ICn.css';const _hoisted_1 = ["aria-busy"];
|
|
8
|
+
const _hoisted_2 = {
|
|
7
9
|
key: 0,
|
|
8
10
|
class: "lp-palette-facts__title"
|
|
9
11
|
};
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
12
|
+
const _hoisted_3 = { class: "lp-palette-facts__list" };
|
|
13
|
+
const _hoisted_4 = ["aria-current"];
|
|
14
|
+
const _hoisted_5 = { class: "lp-palette-facts__label" };
|
|
15
|
+
const _hoisted_6 = { class: "lp-palette-facts__name" };
|
|
16
|
+
const _hoisted_7 = {
|
|
15
17
|
key: 0,
|
|
16
18
|
class: "lp-palette-facts__hint"
|
|
17
19
|
};
|
|
@@ -19,17 +21,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19
21
|
__name: "LpPaletteFacts",
|
|
20
22
|
props: {
|
|
21
23
|
items: {},
|
|
24
|
+
loading: { type: Boolean },
|
|
22
25
|
title: {},
|
|
23
26
|
plain: { type: Boolean, default: false }
|
|
24
27
|
},
|
|
25
28
|
setup(__props) {
|
|
29
|
+
const props = __props;
|
|
30
|
+
const shown = computed(() => props.loading && !props.items.length ? Array.from({ length: 3 }, () => ({ label: "", value: "—" })) : props.items);
|
|
26
31
|
return (_ctx, _cache) => {
|
|
27
32
|
return openBlock(), createElementBlock("section", {
|
|
28
|
-
class: normalizeClass(["lp-palette-facts", { "lp-palette-facts--plain": __props.plain }])
|
|
33
|
+
class: normalizeClass(["lp-palette-facts", { "lp-palette-facts--plain": __props.plain }]),
|
|
34
|
+
"aria-busy": __props.loading || void 0
|
|
29
35
|
}, [
|
|
30
|
-
__props.title ? (openBlock(), createElementBlock("p",
|
|
31
|
-
createElementVNode("ul",
|
|
32
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
36
|
+
__props.title ? (openBlock(), createElementBlock("p", _hoisted_2, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
|
|
37
|
+
createElementVNode("ul", _hoisted_3, [
|
|
38
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(shown.value, (item, index) => {
|
|
33
39
|
return openBlock(), createElementBlock("li", {
|
|
34
40
|
key: index,
|
|
35
41
|
class: normalizeClass(["lp-palette-facts__row", { "is-current": item.current }]),
|
|
@@ -45,41 +51,49 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
45
51
|
size: 15,
|
|
46
52
|
class: "lp-palette-facts__icon"
|
|
47
53
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
48
|
-
createElementVNode("span",
|
|
49
|
-
createElementVNode("span",
|
|
50
|
-
|
|
54
|
+
createElementVNode("span", _hoisted_5, [
|
|
55
|
+
createElementVNode("span", _hoisted_6, [
|
|
56
|
+
__props.loading && !item.label ? (openBlock(), createBlock(_sfc_main$2, {
|
|
57
|
+
key: 0,
|
|
58
|
+
class: "h-3 w-24"
|
|
59
|
+
})) : (openBlock(), createBlock(_sfc_main$3, {
|
|
60
|
+
key: 1,
|
|
51
61
|
text: item.label
|
|
52
|
-
}, null, 8, ["text"])
|
|
62
|
+
}, null, 8, ["text"]))
|
|
53
63
|
]),
|
|
54
|
-
item.hint?.length ? (openBlock(), createElementBlock("span",
|
|
55
|
-
createVNode(_sfc_main$
|
|
64
|
+
item.hint?.length ? (openBlock(), createElementBlock("span", _hoisted_7, [
|
|
65
|
+
createVNode(_sfc_main$3, {
|
|
56
66
|
text: item.hint
|
|
57
67
|
}, null, 8, ["text"])
|
|
58
68
|
])) : createCommentVNode("", true)
|
|
59
69
|
]),
|
|
60
|
-
item.value !== void 0 && item.value !== "" || _ctx.$slots.value ? (openBlock(), createElementBlock("span", {
|
|
70
|
+
__props.loading || item.value !== void 0 && item.value !== "" || _ctx.$slots.value ? (openBlock(), createElementBlock("span", {
|
|
61
71
|
key: 2,
|
|
62
72
|
class: normalizeClass(["lp-palette-facts__value", { "lp-palette-facts__value--mono": item.mono }])
|
|
63
73
|
}, [
|
|
64
|
-
|
|
74
|
+
__props.loading ? (openBlock(), createBlock(_sfc_main$2, {
|
|
75
|
+
key: 0,
|
|
76
|
+
class: "h-3 w-16 max-w-full"
|
|
77
|
+
})) : renderSlot(_ctx.$slots, "value", {
|
|
78
|
+
key: 1,
|
|
65
79
|
item,
|
|
66
80
|
index
|
|
67
81
|
}, () => [
|
|
68
|
-
item.value !== void 0 ? (openBlock(), createBlock(_sfc_main$
|
|
82
|
+
item.value !== void 0 ? (openBlock(), createBlock(_sfc_main$4, {
|
|
69
83
|
key: 0,
|
|
70
84
|
value: item.value,
|
|
71
85
|
align: "end"
|
|
72
86
|
}, null, 8, ["value"])) : createCommentVNode("", true)
|
|
73
87
|
], true)
|
|
74
88
|
], 2)) : createCommentVNode("", true)
|
|
75
|
-
], 10,
|
|
89
|
+
], 10, _hoisted_4);
|
|
76
90
|
}), 128))
|
|
77
91
|
])
|
|
78
|
-
],
|
|
92
|
+
], 10, _hoisted_1);
|
|
79
93
|
};
|
|
80
94
|
}
|
|
81
95
|
});
|
|
82
|
-
const LpPaletteFacts = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
96
|
+
const LpPaletteFacts = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-949a8890"]]);
|
|
83
97
|
export {
|
|
84
98
|
LpPaletteFacts as default
|
|
85
99
|
};
|