@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
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
import { defineComponent, computed, useAttrs, ref, shallowRef, watch, onMounted, onBeforeUnmount, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, createTextVNode, toDisplayString, createCommentVNode, Fragment, renderList, createBlock, createElementVNode, Transition, renderSlot, mergeProps, normalizeStyle, TransitionGroup, unref, withModifiers, nextTick } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { _ as _sfc_main$
|
|
5
|
-
import { _ as _sfc_main$
|
|
6
|
-
import { _ as _sfc_main$
|
|
7
|
-
import { _ as _sfc_main$
|
|
8
|
-
import { _ as _sfc_main$
|
|
9
|
-
import { _ as _sfc_main$
|
|
10
|
-
import { _ as _sfc_main$
|
|
11
|
-
import { _ as _sfc_main$
|
|
12
|
-
import { _ as _sfc_main$
|
|
13
|
-
import { _ as _sfc_main$
|
|
1
|
+
import { defineComponent, computed, useAttrs, ref, shallowRef, watch, onMounted, onBeforeUnmount, useId, h, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, createTextVNode, toDisplayString, createCommentVNode, Fragment, renderList, createBlock, createElementVNode, Transition, renderSlot, mergeProps, normalizeStyle, TransitionGroup, unref, withModifiers, nextTick } from "vue";
|
|
2
|
+
import { usePaletteScope, suppressPaletteDiscovery, usePaletteCommands } from "../composables/usePaletteCommands.js";
|
|
3
|
+
import { menuPaletteCommands } from "./commandPalette.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "../chunks/LpDataList-CFPtSsBB.js";
|
|
5
|
+
import { _ as _sfc_main$9 } from "../chunks/LpCheckbox-BoOuLnGB.js";
|
|
6
|
+
import { _ as _sfc_main$8 } from "../chunks/LpContextMenu-DXpFJjlO.js";
|
|
7
|
+
import { _ as _sfc_main$d } from "../chunks/LpEmptyState-CKFTtQgJ.js";
|
|
8
|
+
import { _ as _sfc_main$5 } from "../chunks/LpBadge-C8fKEmTF.js";
|
|
9
|
+
import { _ as _sfc_main$3 } from "../chunks/LpIcon-DkP-9mzK.js";
|
|
10
|
+
import { _ as _sfc_main$c } from "../chunks/LpSkeleton-BB6XIV-w.js";
|
|
11
|
+
import { _ as _sfc_main$e } from "../chunks/LpPagination-DbeACavM.js";
|
|
12
|
+
import { _ as _sfc_main$a } from "../chunks/LpPopover-DmZ3wUtP.js";
|
|
13
|
+
import { _ as _sfc_main$7 } from "../chunks/LpScrollArea-Hz3-JWUG.js";
|
|
14
|
+
import { _ as _sfc_main$6 } from "../chunks/LpRollingText-DiL717LK.js";
|
|
15
|
+
import { _ as _sfc_main$4 } from "../chunks/LpShift-DXNsauQZ.js";
|
|
16
|
+
import { _ as _sfc_main$b } from "../chunks/LpTableFilter-CTZMqFDU.js";
|
|
14
17
|
import { useKitStorage } from "../composables/usePersisted.js";
|
|
15
18
|
import { useAsyncTask } from "../composables/useAsyncTask.js";
|
|
16
19
|
import { useTableFacets } from "./tableFacets.js";
|
|
@@ -20,12 +23,12 @@ import { useRovingFocus } from "../composables/useRovingFocus.js";
|
|
|
20
23
|
import { useLabels } from "../composables/useLpConfig.js";
|
|
21
24
|
import { useResizeObserver } from "../composables/useResizeObserver.js";
|
|
22
25
|
import { compareValues } from "./tableSort.js";
|
|
23
|
-
import { _ as _sfc_main$
|
|
26
|
+
import { _ as _sfc_main$2 } from "../chunks/LpButton-BQDAFXBd.js";
|
|
24
27
|
import { toCsv, downloadFile, fileStem } from "./exportData.js";
|
|
25
28
|
import { summarizeShown, parseTableState, serializeTableState } from "./tableFilter.js";
|
|
26
29
|
import { resolveRowMenu } from "./tableRowMenu.js";
|
|
27
30
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
|
|
28
|
-
import '../assets/LpTable-
|
|
31
|
+
import '../assets/LpTable-DHvorDiU.css';const _hoisted_1 = {
|
|
29
32
|
key: 0,
|
|
30
33
|
class: "flex justify-end"
|
|
31
34
|
};
|
|
@@ -70,6 +73,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
70
73
|
...__default__,
|
|
71
74
|
__name: "LpTable",
|
|
72
75
|
props: {
|
|
76
|
+
palette: { type: [Boolean, Object], default: void 0 },
|
|
73
77
|
columns: {},
|
|
74
78
|
rows: { default: () => [] },
|
|
75
79
|
load: {},
|
|
@@ -638,6 +642,41 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
638
642
|
const barInsetTop = computed(
|
|
639
643
|
() => props.stickyHeader && headHeight.value ? `${headHeight.value}px` : void 0
|
|
640
644
|
);
|
|
645
|
+
const paletteScope = usePaletteScope();
|
|
646
|
+
const paletteId = useId();
|
|
647
|
+
suppressPaletteDiscovery();
|
|
648
|
+
usePaletteCommands(() => {
|
|
649
|
+
if (props.palette === false) return [];
|
|
650
|
+
const name = props.palette?.label ?? attrs["aria-label"];
|
|
651
|
+
if (!name) return [];
|
|
652
|
+
const id = `${paletteScope?.id}/${props.palette?.id ?? paletteId}`;
|
|
653
|
+
return [{
|
|
654
|
+
id,
|
|
655
|
+
label: name,
|
|
656
|
+
icon: "lucide:table",
|
|
657
|
+
children: [
|
|
658
|
+
...menuPaletteCommands(tableMenu(), `${id}/table`),
|
|
659
|
+
...displayRows.value.map((row, index) => {
|
|
660
|
+
const menu = resolveRowMenu(props.rowMenu?.(row));
|
|
661
|
+
const rowId = `${id}/row/${keyFor(row, index)}`;
|
|
662
|
+
const labelKey = props.palette && props.palette.labelKey || props.columns[0]?.key;
|
|
663
|
+
return {
|
|
664
|
+
id: rowId,
|
|
665
|
+
label: menu.title ?? String(labelKey ? row[labelKey] ?? keyFor(row, index) : keyFor(row, index)),
|
|
666
|
+
description: menu.subtitle,
|
|
667
|
+
icon: menu.icon ?? "lucide:rows-3",
|
|
668
|
+
image: menu.image,
|
|
669
|
+
onSelect: () => emit("rowClick", row),
|
|
670
|
+
actions: menuPaletteCommands(menu.items, rowId),
|
|
671
|
+
previewComponent: { setup: () => () => h(_sfc_main$1, { items: props.columns.map((column) => ({
|
|
672
|
+
label: column.label,
|
|
673
|
+
value: typeof row[column.key] === "object" ? null : String(row[column.key] ?? "")
|
|
674
|
+
})) }) }
|
|
675
|
+
};
|
|
676
|
+
})
|
|
677
|
+
]
|
|
678
|
+
}];
|
|
679
|
+
}, { automatic: true });
|
|
641
680
|
return (_ctx, _cache) => {
|
|
642
681
|
return openBlock(), createElementBlock("div", {
|
|
643
682
|
ref_key: "frameEl",
|
|
@@ -645,13 +684,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
645
684
|
class: normalizeClass(["flex flex-col gap-3", rootClass.value])
|
|
646
685
|
}, [
|
|
647
686
|
__props.exportable ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
648
|
-
createVNode(_sfc_main$
|
|
687
|
+
createVNode(_sfc_main$2, {
|
|
649
688
|
variant: "ghost",
|
|
650
689
|
size: "sm",
|
|
651
690
|
onClick: _cache[0] || (_cache[0] = ($event) => exportCsv())
|
|
652
691
|
}, {
|
|
653
692
|
default: withCtx(() => [
|
|
654
|
-
createVNode(_sfc_main$
|
|
693
|
+
createVNode(_sfc_main$3, {
|
|
655
694
|
name: "lucide:download",
|
|
656
695
|
size: 14
|
|
657
696
|
}),
|
|
@@ -660,12 +699,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
660
699
|
_: 1
|
|
661
700
|
})
|
|
662
701
|
])) : createCommentVNode("", true),
|
|
663
|
-
createVNode(_sfc_main$
|
|
702
|
+
createVNode(_sfc_main$4, { class: "-mb-3" }, {
|
|
664
703
|
default: withCtx(() => [
|
|
665
704
|
showBar.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
666
705
|
activeFilters.value.length ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
667
706
|
(openBlock(true), createElementBlock(Fragment, null, renderList(activeFilters.value, (f) => {
|
|
668
|
-
return openBlock(), createBlock(_sfc_main$
|
|
707
|
+
return openBlock(), createBlock(_sfc_main$5, {
|
|
669
708
|
key: f.col.key,
|
|
670
709
|
tone: "brand",
|
|
671
710
|
removable: "",
|
|
@@ -689,13 +728,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
689
728
|
onClick: clearAllFilters
|
|
690
729
|
}, toDisplayString(text.value.clearFilters), 1)) : createCommentVNode("", true)
|
|
691
730
|
])) : createCommentVNode("", true),
|
|
692
|
-
createVNode(_sfc_main$
|
|
731
|
+
createVNode(_sfc_main$4, {
|
|
693
732
|
axis: "width",
|
|
694
733
|
class: "ml-auto shrink-0"
|
|
695
734
|
}, {
|
|
696
735
|
default: withCtx(() => [
|
|
697
736
|
createElementVNode("div", _hoisted_6, [
|
|
698
|
-
createVNode(_sfc_main$
|
|
737
|
+
createVNode(_sfc_main$6, {
|
|
699
738
|
value: statusText.value,
|
|
700
739
|
align: "end",
|
|
701
740
|
class: normalizeClass(["tabular-nums", __props.selectable && __props.selected.length ? "font-medium text-ink" : ""]),
|
|
@@ -749,14 +788,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
749
788
|
]),
|
|
750
789
|
_: 3
|
|
751
790
|
}),
|
|
752
|
-
createVNode(_sfc_main$
|
|
791
|
+
createVNode(_sfc_main$7, mergeProps(scrollAttrs.value, {
|
|
753
792
|
fade: false,
|
|
754
793
|
class: "min-h-0 flex-1 rounded-card border border-line bg-surface",
|
|
755
794
|
style: __props.load && floor.value ? { minHeight: `${floor.value + 2}px` } : void 0,
|
|
756
795
|
"bar-inset-top": barInsetTop.value
|
|
757
796
|
}), {
|
|
758
797
|
default: withCtx(() => [
|
|
759
|
-
createVNode(_sfc_main$
|
|
798
|
+
createVNode(_sfc_main$8, {
|
|
760
799
|
items: contextMenu.value,
|
|
761
800
|
always: "",
|
|
762
801
|
"no-hint": !__props.rowMenu,
|
|
@@ -785,7 +824,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
785
824
|
class: normalizeClass(["lp-tick lp-tick-open", ticksShown.value ? "" : "lp-tick-hidden"]),
|
|
786
825
|
inert: !ticksShown.value
|
|
787
826
|
}, [
|
|
788
|
-
createVNode(_sfc_main$
|
|
827
|
+
createVNode(_sfc_main$9, {
|
|
789
828
|
"model-value": allChecked.value,
|
|
790
829
|
indeterminate: someChecked.value,
|
|
791
830
|
"onUpdate:modelValue": toggleAll
|
|
@@ -799,7 +838,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
799
838
|
class: normalizeClass(["px-4 text-[11px] font-semibold uppercase tracking-[0.08em] text-muted", [alignClass(col.align), cellY.value]]),
|
|
800
839
|
"aria-sort": activeSort.value?.key === col.key ? activeSort.value.dir === "asc" ? "ascending" : "descending" : void 0
|
|
801
840
|
}, [
|
|
802
|
-
col.sortable || col.filterable ? (openBlock(), createBlock(_sfc_main$
|
|
841
|
+
col.sortable || col.filterable ? (openBlock(), createBlock(_sfc_main$8, {
|
|
803
842
|
key: 0,
|
|
804
843
|
items: headerMenu(col)
|
|
805
844
|
}, {
|
|
@@ -813,7 +852,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
813
852
|
onClick: ($event) => toggleSort(col)
|
|
814
853
|
}, [
|
|
815
854
|
createTextVNode(toDisplayString(col.label) + " ", 1),
|
|
816
|
-
col.sortable ? (openBlock(), createBlock(_sfc_main$
|
|
855
|
+
col.sortable ? (openBlock(), createBlock(_sfc_main$3, {
|
|
817
856
|
key: 0,
|
|
818
857
|
name: sortIcon(col),
|
|
819
858
|
size: 13,
|
|
@@ -828,7 +867,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
828
867
|
}, 1032, ["items"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
829
868
|
createTextVNode(toDisplayString(col.label), 1)
|
|
830
869
|
], 64)),
|
|
831
|
-
col.filterable ? (openBlock(), createBlock(_sfc_main$
|
|
870
|
+
col.filterable ? (openBlock(), createBlock(_sfc_main$a, {
|
|
832
871
|
key: 2,
|
|
833
872
|
align: "start",
|
|
834
873
|
"panel-class": "w-72",
|
|
@@ -841,14 +880,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
841
880
|
"aria-label": text.value.filterColumn.replace("{column}", col.label),
|
|
842
881
|
"data-lp-filter": col.key
|
|
843
882
|
}, [
|
|
844
|
-
createVNode(_sfc_main$
|
|
883
|
+
createVNode(_sfc_main$3, {
|
|
845
884
|
name: hiddenValues.value[col.key]?.size ? "lucide:filter-x" : "lucide:filter",
|
|
846
885
|
size: 12
|
|
847
886
|
}, null, 8, ["name"])
|
|
848
887
|
], 10, _hoisted_14)
|
|
849
888
|
]),
|
|
850
889
|
default: withCtx(() => [
|
|
851
|
-
createVNode(_sfc_main$
|
|
890
|
+
createVNode(_sfc_main$b, {
|
|
852
891
|
options: facetOptions.value.get(col.key)?.value ?? [],
|
|
853
892
|
hidden: hiddenValues.value[col.key] ?? /* @__PURE__ */ new Set(),
|
|
854
893
|
labels: filterLabels(),
|
|
@@ -884,7 +923,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
884
923
|
key: col.key,
|
|
885
924
|
class: normalizeClass(["px-4", [alignClass(col.align), cellY.value]])
|
|
886
925
|
}, [
|
|
887
|
-
createVNode(_sfc_main$
|
|
926
|
+
createVNode(_sfc_main$c, {
|
|
888
927
|
class: "inline-block h-3 align-middle",
|
|
889
928
|
style: normalizeStyle({ width: skeletonWidth(n, ci) })
|
|
890
929
|
}, null, 8, ["style"]),
|
|
@@ -897,13 +936,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
897
936
|
colspan: colSpan.value,
|
|
898
937
|
class: "p-0"
|
|
899
938
|
}, [
|
|
900
|
-
createVNode(_sfc_main$
|
|
939
|
+
createVNode(_sfc_main$d, {
|
|
901
940
|
compact: "",
|
|
902
941
|
icon: failed.value ? "lucide:circle-alert" : filteredOut.value ? "lucide:filter-x" : __props.emptyIcon,
|
|
903
942
|
title: failed.value ? text.value.error : filteredOut.value ? text.value.noMatches : text.value.empty
|
|
904
943
|
}, {
|
|
905
944
|
default: withCtx(() => [
|
|
906
|
-
filteredOut.value ? (openBlock(), createBlock(_sfc_main$
|
|
945
|
+
filteredOut.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
907
946
|
key: 0,
|
|
908
947
|
variant: "outline",
|
|
909
948
|
size: "sm",
|
|
@@ -941,7 +980,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
941
980
|
createElementVNode("div", {
|
|
942
981
|
class: normalizeClass(["lp-tick lp-tick-open", ticksShown.value ? "" : "lp-tick-cue"])
|
|
943
982
|
}, [
|
|
944
|
-
createVNode(_sfc_main$
|
|
983
|
+
createVNode(_sfc_main$9, {
|
|
945
984
|
"model-value": selectedSet.value.has(keyFor(row, index)),
|
|
946
985
|
"onUpdate:modelValue": (v) => toggleRow(keyFor(row, index), v)
|
|
947
986
|
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
@@ -973,7 +1012,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
973
1012
|
]),
|
|
974
1013
|
_: 3
|
|
975
1014
|
}, 16, ["style", "bar-inset-top"]),
|
|
976
|
-
__props.load && total.value > __props.pageSize ? (openBlock(), createBlock(_sfc_main$
|
|
1015
|
+
__props.load && total.value > __props.pageSize ? (openBlock(), createBlock(_sfc_main$e, {
|
|
977
1016
|
key: 1,
|
|
978
1017
|
page: page.value,
|
|
979
1018
|
"onUpdate:page": _cache[3] || (_cache[3] = ($event) => page.value = $event),
|
|
@@ -985,7 +1024,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
985
1024
|
};
|
|
986
1025
|
}
|
|
987
1026
|
});
|
|
988
|
-
const LpTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
1027
|
+
const LpTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c1911001"]]);
|
|
989
1028
|
export {
|
|
990
1029
|
LpTable as default
|
|
991
1030
|
};
|
|
@@ -60,8 +60,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
60
60
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
61
61
|
}>, {
|
|
62
62
|
block: boolean;
|
|
63
|
-
accent: boolean;
|
|
64
63
|
variant: "contained" | "plain" | "underline" | "bottom";
|
|
64
|
+
accent: boolean;
|
|
65
65
|
hoverFollow: boolean;
|
|
66
66
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
67
67
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch, nextTick, useId, openBlock, createBlock, unref, withCtx, createVNode, normalizeClass, createElementBlock, Fragment, renderList, createCommentVNode, Transition, createElementVNode, toDisplayString, renderSlot } from "vue";
|
|
2
|
+
import { usePaletteScope, usePaletteCommands } from "../composables/usePaletteCommands.js";
|
|
2
3
|
import { Motion } from "motion-v";
|
|
3
4
|
import { TabsRoot, TabsList, TabsTrigger, TabsContent } from "reka-ui";
|
|
4
5
|
import { usePillTransition } from "../composables/usePillTransition.js";
|
|
5
6
|
import { prefersReducedMotion } from "../composables/easing.js";
|
|
6
7
|
import { _ as _sfc_main$3 } from "../chunks/AttentionDot-DCBf4aWg.js";
|
|
7
|
-
import { _ as _sfc_main$4 } from "../chunks/LpBadge-
|
|
8
|
-
import { _ as _sfc_main$1 } from "../chunks/LpContextMenu-
|
|
9
|
-
import { _ as _sfc_main$2 } from "../chunks/LpIcon-
|
|
8
|
+
import { _ as _sfc_main$4 } from "../chunks/LpBadge-C8fKEmTF.js";
|
|
9
|
+
import { _ as _sfc_main$1 } from "../chunks/LpContextMenu-DXpFJjlO.js";
|
|
10
|
+
import { _ as _sfc_main$2 } from "../chunks/LpIcon-DkP-9mzK.js";
|
|
10
11
|
import { _ as _sfc_main$5 } from "../chunks/LpRollingText-DiL717LK.js";
|
|
11
12
|
import { _ as _sfc_main$6 } from "../chunks/LpSkeleton-BB6XIV-w.js";
|
|
12
13
|
import { pickTab } from "./tabs.js";
|
|
13
14
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
|
|
14
|
-
import '../assets/LpTabs-
|
|
15
|
+
import '../assets/LpTabs-CO3EcsNV.css';const _hoisted_1 = {
|
|
15
16
|
key: 1,
|
|
16
17
|
class: "relative z-10 inline-flex"
|
|
17
18
|
};
|
|
@@ -75,6 +76,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
75
76
|
const target = event.currentTarget;
|
|
76
77
|
if (target instanceof HTMLElement) target.blur();
|
|
77
78
|
}
|
|
79
|
+
const paletteScope = usePaletteScope();
|
|
80
|
+
usePaletteCommands(() => props.items.map((item) => ({
|
|
81
|
+
id: `${paletteScope?.id}/tabs/${pillId}/${item.value}`,
|
|
82
|
+
label: props.label ? `${props.label}: ${item.label}` : item.label,
|
|
83
|
+
icon: item.icon,
|
|
84
|
+
disabled: item.disabled,
|
|
85
|
+
onSelect: () => select(item.value)
|
|
86
|
+
})), { automatic: true });
|
|
78
87
|
return (_ctx, _cache) => {
|
|
79
88
|
return openBlock(), createBlock(unref(TabsRoot), {
|
|
80
89
|
"model-value": current.value,
|
|
@@ -238,7 +247,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
238
247
|
};
|
|
239
248
|
}
|
|
240
249
|
});
|
|
241
|
-
const LpTabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
250
|
+
const LpTabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2c920d5a"]]);
|
|
242
251
|
export {
|
|
243
252
|
LpTabs as default
|
|
244
253
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type PaletteControlOptions } from "../composables/usePaletteCommands";
|
|
1
2
|
import type { LpOptionBase, OptionSelection } from "./options";
|
|
2
3
|
import { type TagDuplicates, type TagRejection, type TagValidator } from "./tags";
|
|
3
4
|
declare const _default: typeof __VLS_export;
|
|
@@ -12,6 +13,8 @@ export type TagsInputLabels = {
|
|
|
12
13
|
suggestions: string;
|
|
13
14
|
};
|
|
14
15
|
declare const __VLS_export: import("vue").DefineComponent<{
|
|
16
|
+
/** Contextual palette metadata; false excludes this control. */
|
|
17
|
+
palette?: PaletteControlOptions;
|
|
15
18
|
modelValue?: string[];
|
|
16
19
|
placeholder?: string;
|
|
17
20
|
/** Characters (or a RegExp) that end a tag while typing and split a paste. */
|
|
@@ -63,6 +66,8 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
63
66
|
"update:modelValue": (value: string[]) => any;
|
|
64
67
|
reject: (rejected: TagRejection[]) => any;
|
|
65
68
|
}, string, import("vue").PublicProps, Readonly<{
|
|
69
|
+
/** Contextual palette metadata; false excludes this control. */
|
|
70
|
+
palette?: PaletteControlOptions;
|
|
66
71
|
modelValue?: string[];
|
|
67
72
|
placeholder?: string;
|
|
68
73
|
/** Characters (or a RegExp) that end a tag while typing and split a paste. */
|
|
@@ -112,6 +117,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
112
117
|
onReject?: ((rejected: TagRejection[]) => any) | undefined;
|
|
113
118
|
}>, {
|
|
114
119
|
filter: boolean;
|
|
120
|
+
palette: PaletteControlOptions;
|
|
115
121
|
size: "sm" | "md" | "lg";
|
|
116
122
|
loading: boolean;
|
|
117
123
|
modelValue: string[];
|
|
@@ -1,6 +1,9 @@
|
|
|
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: import("vue").DefineComponent<{
|
|
5
|
+
/** Contextual palette metadata; false excludes this control. */
|
|
6
|
+
palette?: PaletteControlOptions;
|
|
4
7
|
modelValue?: string;
|
|
5
8
|
placeholder?: string;
|
|
6
9
|
rows?: number;
|
|
@@ -17,6 +20,8 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
17
20
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
18
21
|
"update:modelValue": (value: string) => any;
|
|
19
22
|
}, string, import("vue").PublicProps, Readonly<{
|
|
23
|
+
/** Contextual palette metadata; false excludes this control. */
|
|
24
|
+
palette?: PaletteControlOptions;
|
|
20
25
|
modelValue?: string;
|
|
21
26
|
placeholder?: string;
|
|
22
27
|
rows?: number;
|
|
@@ -32,4 +37,6 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
32
37
|
required?: boolean;
|
|
33
38
|
}> & Readonly<{
|
|
34
39
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
35
|
-
}>, {
|
|
40
|
+
}>, {
|
|
41
|
+
palette: PaletteControlOptions;
|
|
42
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,6 +1,9 @@
|
|
|
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: import("vue").DefineComponent<{
|
|
5
|
+
/** Contextual palette metadata; false excludes this control. */
|
|
6
|
+
palette?: PaletteControlOptions;
|
|
4
7
|
/** Selected time "HH:mm" (v-model). */
|
|
5
8
|
modelValue?: string;
|
|
6
9
|
disabled?: boolean;
|
|
@@ -16,6 +19,8 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
16
19
|
blur: (event: FocusEvent) => any;
|
|
17
20
|
"update:modelValue": (value: string | undefined) => any;
|
|
18
21
|
}, string, import("vue").PublicProps, Readonly<{
|
|
22
|
+
/** Contextual palette metadata; false excludes this control. */
|
|
23
|
+
palette?: PaletteControlOptions;
|
|
19
24
|
/** Selected time "HH:mm" (v-model). */
|
|
20
25
|
modelValue?: string;
|
|
21
26
|
disabled?: boolean;
|
|
@@ -31,6 +36,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
31
36
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
32
37
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
33
38
|
}>, {
|
|
39
|
+
palette: PaletteControlOptions;
|
|
34
40
|
size: "sm" | "md" | "lg";
|
|
35
41
|
icon: boolean;
|
|
36
42
|
hourCycle: 12 | 24;
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
export interface UptimeSegment {
|
|
3
|
-
/** Health of this slice. `empty` renders a faded placeholder (no data). */
|
|
4
|
-
status: UptimeStatus;
|
|
5
|
-
/** Optional rich tooltip body; falls back to a humanised status. */
|
|
6
|
-
label?: string;
|
|
7
|
-
}
|
|
1
|
+
import { type UptimeSegment, type UptimeStatus } from "./uptimeBar";
|
|
8
2
|
declare const _default: typeof __VLS_export;
|
|
9
3
|
export default _default;
|
|
4
|
+
export type { UptimeEvent, UptimeSegment, UptimeStatus } from "./uptimeBar";
|
|
10
5
|
declare const __VLS_export: import("vue").DefineComponent<{
|
|
11
6
|
/** Oldest → newest. Each entry is one slice of the timeline. */
|
|
12
7
|
segments: UptimeSegment[];
|
|
@@ -16,6 +11,13 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
16
11
|
endLabel?: string;
|
|
17
12
|
/** Show the computed uptime % above the bar. */
|
|
18
13
|
showUptime?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* The uptime figure, when the app has a more exact one than the slices
|
|
16
|
+
* (a server that counted every minute). Otherwise it is worked out from
|
|
17
|
+
* the slices: their `durations`, else their spans, else their count.
|
|
18
|
+
*/
|
|
19
|
+
uptime?: number | null;
|
|
20
|
+
locale?: string;
|
|
19
21
|
/** Override the headline shown next to the uptime %. */
|
|
20
22
|
title?: string;
|
|
21
23
|
/**
|
|
@@ -25,7 +27,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
25
27
|
*/
|
|
26
28
|
colors?: Partial<Record<UptimeStatus, string>>;
|
|
27
29
|
/** Status names, for the tooltip and screen readers. */
|
|
28
|
-
labels?: Partial<Record<UptimeStatus | "loading", string>>;
|
|
30
|
+
labels?: Partial<Record<UptimeStatus | "loading" | "uptime", string>>;
|
|
29
31
|
/**
|
|
30
32
|
* The history is on its way. The row of ticks pulses in place of the
|
|
31
33
|
* slices (as many as `segments` already holds, else `skeletonSlices`) at
|
|
@@ -44,6 +46,13 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
44
46
|
endLabel?: string;
|
|
45
47
|
/** Show the computed uptime % above the bar. */
|
|
46
48
|
showUptime?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* The uptime figure, when the app has a more exact one than the slices
|
|
51
|
+
* (a server that counted every minute). Otherwise it is worked out from
|
|
52
|
+
* the slices: their `durations`, else their spans, else their count.
|
|
53
|
+
*/
|
|
54
|
+
uptime?: number | null;
|
|
55
|
+
locale?: string;
|
|
47
56
|
/** Override the headline shown next to the uptime %. */
|
|
48
57
|
title?: string;
|
|
49
58
|
/**
|
|
@@ -53,7 +62,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
53
62
|
*/
|
|
54
63
|
colors?: Partial<Record<UptimeStatus, string>>;
|
|
55
64
|
/** Status names, for the tooltip and screen readers. */
|
|
56
|
-
labels?: Partial<Record<UptimeStatus | "loading", string>>;
|
|
65
|
+
labels?: Partial<Record<UptimeStatus | "loading" | "uptime", string>>;
|
|
57
66
|
/**
|
|
58
67
|
* The history is on its way. The row of ticks pulses in place of the
|
|
59
68
|
* slices (as many as `segments` already holds, else `skeletonSlices`) at
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|