@eslamdevui/ui 3.2.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nuxt/ui/accordion.ts +20 -0
- package/.nuxt/ui/alert.ts +264 -0
- package/.nuxt/ui/avatar-group.ts +52 -0
- package/.nuxt/ui/avatar.ts +54 -0
- package/.nuxt/ui/badge.ts +263 -0
- package/.nuxt/ui/breadcrumb.ts +45 -0
- package/.nuxt/ui/button-group.ts +16 -0
- package/.nuxt/ui/button.ts +378 -0
- package/.nuxt/ui/calendar.ts +103 -0
- package/.nuxt/ui/card.ts +34 -0
- package/.nuxt/ui/carousel.ts +38 -0
- package/.nuxt/ui/chat-message.ts +129 -0
- package/.nuxt/ui/chat-messages.ts +14 -0
- package/.nuxt/ui/chat-prompt-submit.ts +5 -0
- package/.nuxt/ui/chat-prompt.ts +35 -0
- package/.nuxt/ui/checkbox-group.ts +204 -0
- package/.nuxt/ui/checkbox.ts +236 -0
- package/.nuxt/ui/chip.ts +96 -0
- package/.nuxt/ui/collapsible.ts +6 -0
- package/.nuxt/ui/color-picker.ts +47 -0
- package/.nuxt/ui/command-palette.ts +51 -0
- package/.nuxt/ui/container.ts +3 -0
- package/.nuxt/ui/content-navigation.ts +339 -0
- package/.nuxt/ui/content-search-button.ts +6 -0
- package/.nuxt/ui/content-search.ts +6 -0
- package/.nuxt/ui/content-surround.ts +34 -0
- package/.nuxt/ui/content-toc.ts +150 -0
- package/.nuxt/ui/context-menu.ts +217 -0
- package/.nuxt/ui/dashboard-group.ts +3 -0
- package/.nuxt/ui/dashboard-navbar.ts +21 -0
- package/.nuxt/ui/dashboard-panel.ts +17 -0
- package/.nuxt/ui/dashboard-resize-handle.ts +3 -0
- package/.nuxt/ui/dashboard-search-button.ts +6 -0
- package/.nuxt/ui/dashboard-search.ts +6 -0
- package/.nuxt/ui/dashboard-sidebar-collapse.ts +9 -0
- package/.nuxt/ui/dashboard-sidebar-toggle.ts +9 -0
- package/.nuxt/ui/dashboard-sidebar.ts +37 -0
- package/.nuxt/ui/drawer.ts +126 -0
- package/.nuxt/ui/dropdown-menu.ts +218 -0
- package/.nuxt/ui/form-field.ts +48 -0
- package/.nuxt/ui/form.ts +3 -0
- package/.nuxt/ui/index.ts +71 -0
- package/.nuxt/ui/input-menu.ts +450 -0
- package/.nuxt/ui/input-number.ts +245 -0
- package/.nuxt/ui/input-tags.ts +310 -0
- package/.nuxt/ui/input.ts +289 -0
- package/.nuxt/ui/kbd.ts +31 -0
- package/.nuxt/ui/link.ts +22 -0
- package/.nuxt/ui/modal.ts +29 -0
- package/.nuxt/ui/navigation-menu.ts +510 -0
- package/.nuxt/ui/pagination.ts +13 -0
- package/.nuxt/ui/pin-input.ts +171 -0
- package/.nuxt/ui/popover.ts +6 -0
- package/.nuxt/ui/progress.ts +297 -0
- package/.nuxt/ui/prose.ts +321 -0
- package/.nuxt/ui/radio-group.ts +350 -0
- package/.nuxt/ui/select-menu.ts +351 -0
- package/.nuxt/ui/select.ts +346 -0
- package/.nuxt/ui/separator.ts +172 -0
- package/.nuxt/ui/skeleton.ts +3 -0
- package/.nuxt/ui/slideover.ts +71 -0
- package/.nuxt/ui/slider.ts +171 -0
- package/.nuxt/ui/stepper.ts +202 -0
- package/.nuxt/ui/switch.ts +131 -0
- package/.nuxt/ui/table.ts +148 -0
- package/.nuxt/ui/tabs.ts +256 -0
- package/.nuxt/ui/textarea.ts +294 -0
- package/.nuxt/ui/timeline.ts +321 -0
- package/.nuxt/ui/toast.ts +81 -0
- package/.nuxt/ui/toaster.ts +91 -0
- package/.nuxt/ui/tooltip.ts +9 -0
- package/.nuxt/ui/tree.ts +154 -0
- package/.nuxt/ui.css +146 -0
- package/LICENSE.md +9 -0
- package/README.md +147 -0
- package/cli/commands/make/component.mjs +95 -0
- package/cli/commands/make/index.mjs +14 -0
- package/cli/commands/make/locale.mjs +64 -0
- package/cli/index.mjs +15 -0
- package/cli/package.json +13 -0
- package/cli/templates.mjs +228 -0
- package/cli/utils.mjs +31 -0
- package/dist/module.d.mts +63 -0
- package/dist/module.json +13 -0
- package/dist/module.mjs +135 -0
- package/dist/runtime/components/Accordion.vue +73 -0
- package/dist/runtime/components/Accordion.vue.d.ts +77 -0
- package/dist/runtime/components/Alert.vue +88 -0
- package/dist/runtime/components/Alert.vue.d.ts +81 -0
- package/dist/runtime/components/App.vue +44 -0
- package/dist/runtime/components/App.vue.d.ts +24 -0
- package/dist/runtime/components/Avatar.vue +83 -0
- package/dist/runtime/components/Avatar.vue.d.ts +41 -0
- package/dist/runtime/components/AvatarGroup.vue +65 -0
- package/dist/runtime/components/AvatarGroup.vue.d.ts +31 -0
- package/dist/runtime/components/Badge.vue +60 -0
- package/dist/runtime/components/Badge.vue.d.ts +43 -0
- package/dist/runtime/components/Breadcrumb.vue +65 -0
- package/dist/runtime/components/Breadcrumb.vue.d.ts +66 -0
- package/dist/runtime/components/Button.vue +147 -0
- package/dist/runtime/components/Button.vue.d.ts +48 -0
- package/dist/runtime/components/ButtonGroup.vue +31 -0
- package/dist/runtime/components/ButtonGroup.vue.d.ts +34 -0
- package/dist/runtime/components/Calendar.vue +154 -0
- package/dist/runtime/components/Calendar.vue.d.ts +111 -0
- package/dist/runtime/components/Card.vue +37 -0
- package/dist/runtime/components/Card.vue.d.ts +29 -0
- package/dist/runtime/components/Carousel.vue +210 -0
- package/dist/runtime/components/Carousel.vue.d.ts +127 -0
- package/dist/runtime/components/ChatMessage.vue +87 -0
- package/dist/runtime/components/ChatMessage.vue.d.ts +130 -0
- package/dist/runtime/components/ChatMessages.vue +225 -0
- package/dist/runtime/components/ChatMessages.vue.d.ts +83 -0
- package/dist/runtime/components/ChatPrompt.vue +77 -0
- package/dist/runtime/components/ChatPrompt.vue.d.ts +60 -0
- package/dist/runtime/components/ChatPromptSubmit.vue +74 -0
- package/dist/runtime/components/ChatPromptSubmit.vue.d.ts +99 -0
- package/dist/runtime/components/Checkbox.vue +90 -0
- package/dist/runtime/components/Checkbox.vue.d.ts +73 -0
- package/dist/runtime/components/CheckboxGroup.vue +124 -0
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +84 -0
- package/dist/runtime/components/Chip.vue +48 -0
- package/dist/runtime/components/Chip.vue.d.ts +57 -0
- package/dist/runtime/components/Collapsible.vue +37 -0
- package/dist/runtime/components/Collapsible.vue.d.ts +35 -0
- package/dist/runtime/components/ColorPicker.vue +216 -0
- package/dist/runtime/components/ColorPicker.vue.d.ts +48 -0
- package/dist/runtime/components/CommandPalette.vue +275 -0
- package/dist/runtime/components/CommandPalette.vue.d.ts +187 -0
- package/dist/runtime/components/Container.vue +23 -0
- package/dist/runtime/components/Container.vue.d.ts +18 -0
- package/dist/runtime/components/ContextMenu.vue +61 -0
- package/dist/runtime/components/ContextMenu.vue.d.ts +109 -0
- package/dist/runtime/components/ContextMenuContent.vue +164 -0
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +49 -0
- package/dist/runtime/components/DashboardGroup.vue +46 -0
- package/dist/runtime/components/DashboardGroup.vue.d.ts +27 -0
- package/dist/runtime/components/DashboardNavbar.vue +74 -0
- package/dist/runtime/components/DashboardNavbar.vue.d.ts +53 -0
- package/dist/runtime/components/DashboardPanel.vue +56 -0
- package/dist/runtime/components/DashboardPanel.vue.d.ts +28 -0
- package/dist/runtime/components/DashboardResizeHandle.vue +32 -0
- package/dist/runtime/components/DashboardResizeHandle.vue.d.ts +22 -0
- package/dist/runtime/components/DashboardSearch.vue +124 -0
- package/dist/runtime/components/DashboardSearch.vue.d.ts +48 -0
- package/dist/runtime/components/DashboardSearchButton.vue +72 -0
- package/dist/runtime/components/DashboardSearchButton.vue.d.ts +52 -0
- package/dist/runtime/components/DashboardSidebar.vue +170 -0
- package/dist/runtime/components/DashboardSidebar.vue.d.ts +72 -0
- package/dist/runtime/components/DashboardSidebarCollapse.vue +46 -0
- package/dist/runtime/components/DashboardSidebarCollapse.vue.d.ts +15 -0
- package/dist/runtime/components/DashboardSidebarToggle.vue +43 -0
- package/dist/runtime/components/DashboardSidebarToggle.vue.d.ts +19 -0
- package/dist/runtime/components/Drawer.vue +112 -0
- package/dist/runtime/components/Drawer.vue.d.ts +78 -0
- package/dist/runtime/components/DropdownMenu.vue +68 -0
- package/dist/runtime/components/DropdownMenu.vue.d.ts +119 -0
- package/dist/runtime/components/DropdownMenuContent.vue +171 -0
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +52 -0
- package/dist/runtime/components/Form.vue +210 -0
- package/dist/runtime/components/Form.vue.d.ts +70 -0
- package/dist/runtime/components/FormField.vue +90 -0
- package/dist/runtime/components/FormField.vue.d.ts +61 -0
- package/dist/runtime/components/Icon.vue +19 -0
- package/dist/runtime/components/Icon.vue.d.ts +8 -0
- package/dist/runtime/components/Input.vue +147 -0
- package/dist/runtime/components/Input.vue.d.ts +77 -0
- package/dist/runtime/components/InputMenu.vue +373 -0
- package/dist/runtime/components/InputMenu.vue.d.ts +534 -0
- package/dist/runtime/components/InputNumber.vue +144 -0
- package/dist/runtime/components/InputNumber.vue.d.ts +260 -0
- package/dist/runtime/components/InputTags.vue +159 -0
- package/dist/runtime/components/InputTags.vue.d.ts +183 -0
- package/dist/runtime/components/Kbd.vue +30 -0
- package/dist/runtime/components/Kbd.vue.d.ts +34 -0
- package/dist/runtime/components/Link.vue +127 -0
- package/dist/runtime/components/Link.vue.d.ts +93 -0
- package/dist/runtime/components/LinkBase.vue +57 -0
- package/dist/runtime/components/LinkBase.vue.d.ts +25 -0
- package/dist/runtime/components/Modal.vue +130 -0
- package/dist/runtime/components/Modal.vue.d.ts +106 -0
- package/dist/runtime/components/NavigationMenu.vue +275 -0
- package/dist/runtime/components/NavigationMenu.vue.d.ts +170 -0
- package/dist/runtime/components/OverlayProvider.vue +25 -0
- package/dist/runtime/components/OverlayProvider.vue.d.ts +2 -0
- package/dist/runtime/components/Pagination.vue +97 -0
- package/dist/runtime/components/Pagination.vue.d.ts +118 -0
- package/dist/runtime/components/PinInput.vue +94 -0
- package/dist/runtime/components/PinInput.vue.d.ts +60 -0
- package/dist/runtime/components/Popover.vue +73 -0
- package/dist/runtime/components/Popover.vue.d.ts +64 -0
- package/dist/runtime/components/Progress.vue +132 -0
- package/dist/runtime/components/Progress.vue.d.ts +66 -0
- package/dist/runtime/components/RadioGroup.vue +133 -0
- package/dist/runtime/components/RadioGroup.vue.d.ts +93 -0
- package/dist/runtime/components/Select.vue +225 -0
- package/dist/runtime/components/Select.vue.d.ts +253 -0
- package/dist/runtime/components/SelectMenu.vue +328 -0
- package/dist/runtime/components/SelectMenu.vue.d.ts +302 -0
- package/dist/runtime/components/Separator.vue +53 -0
- package/dist/runtime/components/Separator.vue.d.ts +54 -0
- package/dist/runtime/components/Skeleton.vue +29 -0
- package/dist/runtime/components/Skeleton.vue.d.ts +17 -0
- package/dist/runtime/components/Slideover.vue +137 -0
- package/dist/runtime/components/Slideover.vue.d.ts +107 -0
- package/dist/runtime/components/Slider.vue +94 -0
- package/dist/runtime/components/Slider.vue.d.ts +58 -0
- package/dist/runtime/components/Stepper.vue +116 -0
- package/dist/runtime/components/Stepper.vue.d.ts +85 -0
- package/dist/runtime/components/Switch.vue +89 -0
- package/dist/runtime/components/Switch.vue.d.ts +70 -0
- package/dist/runtime/components/Table.vue +286 -0
- package/dist/runtime/components/Table.vue.d.ts +185 -0
- package/dist/runtime/components/Tabs.vue +84 -0
- package/dist/runtime/components/Tabs.vue.d.ts +93 -0
- package/dist/runtime/components/Textarea.vue +169 -0
- package/dist/runtime/components/Textarea.vue.d.ts +78 -0
- package/dist/runtime/components/Timeline.vue +92 -0
- package/dist/runtime/components/Timeline.vue.d.ts +70 -0
- package/dist/runtime/components/Toast.vue +129 -0
- package/dist/runtime/components/Toast.vue.d.ts +163 -0
- package/dist/runtime/components/Toaster.vue +111 -0
- package/dist/runtime/components/Toaster.vue.d.ts +44 -0
- package/dist/runtime/components/Tooltip.vue +62 -0
- package/dist/runtime/components/Tooltip.vue.d.ts +50 -0
- package/dist/runtime/components/Tree.vue +121 -0
- package/dist/runtime/components/Tree.vue.d.ts +113 -0
- package/dist/runtime/components/color-mode/ColorModeAvatar.vue +16 -0
- package/dist/runtime/components/color-mode/ColorModeAvatar.vue.d.ts +7 -0
- package/dist/runtime/components/color-mode/ColorModeButton.vue +45 -0
- package/dist/runtime/components/color-mode/ColorModeButton.vue.d.ts +24 -0
- package/dist/runtime/components/color-mode/ColorModeImage.vue +17 -0
- package/dist/runtime/components/color-mode/ColorModeImage.vue.d.ts +6 -0
- package/dist/runtime/components/color-mode/ColorModeSelect.vue +49 -0
- package/dist/runtime/components/color-mode/ColorModeSelect.vue.d.ts +7 -0
- package/dist/runtime/components/color-mode/ColorModeSwitch.vue +44 -0
- package/dist/runtime/components/color-mode/ColorModeSwitch.vue.d.ts +7 -0
- package/dist/runtime/components/locale/LocaleSelect.vue +61 -0
- package/dist/runtime/components/locale/LocaleSelect.vue.d.ts +16 -0
- package/dist/runtime/composables/color-mode/useColorMode.d.ts +3 -0
- package/dist/runtime/composables/color-mode/useColorMode.js +5 -0
- package/dist/runtime/composables/defineLocale.d.ts +11 -0
- package/dist/runtime/composables/defineLocale.js +9 -0
- package/dist/runtime/composables/defineShortcuts.d.ts +15 -0
- package/dist/runtime/composables/defineShortcuts.js +141 -0
- package/dist/runtime/composables/useAvatarGroup.d.ts +10 -0
- package/dist/runtime/composables/useAvatarGroup.js +10 -0
- package/dist/runtime/composables/useButtonGroup.d.ts +15 -0
- package/dist/runtime/composables/useButtonGroup.js +9 -0
- package/dist/runtime/composables/useComponentIcons.d.ts +39 -0
- package/dist/runtime/composables/useComponentIcons.js +26 -0
- package/dist/runtime/composables/useContentSearch.d.ts +6 -0
- package/dist/runtime/composables/useContentSearch.js +9 -0
- package/dist/runtime/composables/useFormField.d.ts +42 -0
- package/dist/runtime/composables/useFormField.js +66 -0
- package/dist/runtime/composables/useKbd.d.ts +36 -0
- package/dist/runtime/composables/useKbd.js +53 -0
- package/dist/runtime/composables/useLocale.d.ts +4 -0
- package/dist/runtime/composables/useLocale.js +10 -0
- package/dist/runtime/composables/useLocalePro.d.ts +3 -0
- package/dist/runtime/composables/useLocalePro.js +11 -0
- package/dist/runtime/composables/useOverlay.d.ts +38 -0
- package/dist/runtime/composables/useOverlay.js +85 -0
- package/dist/runtime/composables/usePortal.d.ts +6 -0
- package/dist/runtime/composables/usePortal.js +17 -0
- package/dist/runtime/composables/useResizable.d.ts +27 -0
- package/dist/runtime/composables/useResizable.js +173 -0
- package/dist/runtime/composables/useScrollspy.d.ts +6 -0
- package/dist/runtime/composables/useScrollspy.js +38 -0
- package/dist/runtime/composables/useToast.d.ts +13 -0
- package/dist/runtime/composables/useToast.js +62 -0
- package/dist/runtime/index.css +1 -0
- package/dist/runtime/inertia/components/Link.vue +132 -0
- package/dist/runtime/inertia/components/Link.vue.d.ts +63 -0
- package/dist/runtime/inertia/components/LinkBase.vue +68 -0
- package/dist/runtime/inertia/components/LinkBase.vue.d.ts +25 -0
- package/dist/runtime/inertia/stubs.d.ts +43 -0
- package/dist/runtime/inertia/stubs.js +82 -0
- package/dist/runtime/keyframes.css +1 -0
- package/dist/runtime/locale/ar.d.ts +3 -0
- package/dist/runtime/locale/ar.js +56 -0
- package/dist/runtime/locale/az.d.ts +3 -0
- package/dist/runtime/locale/az.js +55 -0
- package/dist/runtime/locale/bg.d.ts +3 -0
- package/dist/runtime/locale/bg.js +55 -0
- package/dist/runtime/locale/bn.d.ts +3 -0
- package/dist/runtime/locale/bn.js +55 -0
- package/dist/runtime/locale/ca.d.ts +3 -0
- package/dist/runtime/locale/ca.js +55 -0
- package/dist/runtime/locale/ckb.d.ts +3 -0
- package/dist/runtime/locale/ckb.js +56 -0
- package/dist/runtime/locale/cs.d.ts +3 -0
- package/dist/runtime/locale/cs.js +55 -0
- package/dist/runtime/locale/da.d.ts +3 -0
- package/dist/runtime/locale/da.js +55 -0
- package/dist/runtime/locale/de.d.ts +3 -0
- package/dist/runtime/locale/de.js +55 -0
- package/dist/runtime/locale/el.d.ts +3 -0
- package/dist/runtime/locale/el.js +55 -0
- package/dist/runtime/locale/en.d.ts +3 -0
- package/dist/runtime/locale/en.js +125 -0
- package/dist/runtime/locale/es.d.ts +3 -0
- package/dist/runtime/locale/es.js +55 -0
- package/dist/runtime/locale/et.d.ts +3 -0
- package/dist/runtime/locale/et.js +55 -0
- package/dist/runtime/locale/fa_ir.d.ts +3 -0
- package/dist/runtime/locale/fa_ir.js +56 -0
- package/dist/runtime/locale/fi.d.ts +3 -0
- package/dist/runtime/locale/fi.js +55 -0
- package/dist/runtime/locale/fr.d.ts +3 -0
- package/dist/runtime/locale/fr.js +55 -0
- package/dist/runtime/locale/he.d.ts +3 -0
- package/dist/runtime/locale/he.js +54 -0
- package/dist/runtime/locale/hi.d.ts +3 -0
- package/dist/runtime/locale/hi.js +55 -0
- package/dist/runtime/locale/hu.d.ts +3 -0
- package/dist/runtime/locale/hu.js +55 -0
- package/dist/runtime/locale/hy.d.ts +3 -0
- package/dist/runtime/locale/hy.js +55 -0
- package/dist/runtime/locale/id.d.ts +3 -0
- package/dist/runtime/locale/id.js +55 -0
- package/dist/runtime/locale/index.d.ts +51 -0
- package/dist/runtime/locale/index.js +51 -0
- package/dist/runtime/locale/it.d.ts +3 -0
- package/dist/runtime/locale/it.js +55 -0
- package/dist/runtime/locale/ja.d.ts +3 -0
- package/dist/runtime/locale/ja.js +55 -0
- package/dist/runtime/locale/kk.d.ts +3 -0
- package/dist/runtime/locale/kk.js +55 -0
- package/dist/runtime/locale/km.d.ts +3 -0
- package/dist/runtime/locale/km.js +55 -0
- package/dist/runtime/locale/ko.d.ts +3 -0
- package/dist/runtime/locale/ko.js +55 -0
- package/dist/runtime/locale/ky.d.ts +3 -0
- package/dist/runtime/locale/ky.js +55 -0
- package/dist/runtime/locale/lb.d.ts +3 -0
- package/dist/runtime/locale/lb.js +55 -0
- package/dist/runtime/locale/lt.d.ts +3 -0
- package/dist/runtime/locale/lt.js +55 -0
- package/dist/runtime/locale/mn.d.ts +3 -0
- package/dist/runtime/locale/mn.js +55 -0
- package/dist/runtime/locale/ms.d.ts +3 -0
- package/dist/runtime/locale/ms.js +55 -0
- package/dist/runtime/locale/nb_no.d.ts +3 -0
- package/dist/runtime/locale/nb_no.js +55 -0
- package/dist/runtime/locale/nl.d.ts +3 -0
- package/dist/runtime/locale/nl.js +55 -0
- package/dist/runtime/locale/pl.d.ts +3 -0
- package/dist/runtime/locale/pl.js +55 -0
- package/dist/runtime/locale/pt.d.ts +3 -0
- package/dist/runtime/locale/pt.js +55 -0
- package/dist/runtime/locale/pt_br.d.ts +3 -0
- package/dist/runtime/locale/pt_br.js +55 -0
- package/dist/runtime/locale/ro.d.ts +3 -0
- package/dist/runtime/locale/ro.js +55 -0
- package/dist/runtime/locale/ru.d.ts +3 -0
- package/dist/runtime/locale/ru.js +55 -0
- package/dist/runtime/locale/sk.d.ts +3 -0
- package/dist/runtime/locale/sk.js +55 -0
- package/dist/runtime/locale/sl.d.ts +3 -0
- package/dist/runtime/locale/sl.js +55 -0
- package/dist/runtime/locale/sv.d.ts +3 -0
- package/dist/runtime/locale/sv.js +55 -0
- package/dist/runtime/locale/th.d.ts +3 -0
- package/dist/runtime/locale/th.js +55 -0
- package/dist/runtime/locale/tj.d.ts +3 -0
- package/dist/runtime/locale/tj.js +55 -0
- package/dist/runtime/locale/tr.d.ts +3 -0
- package/dist/runtime/locale/tr.js +55 -0
- package/dist/runtime/locale/ug_cn.d.ts +3 -0
- package/dist/runtime/locale/ug_cn.js +56 -0
- package/dist/runtime/locale/uk.d.ts +3 -0
- package/dist/runtime/locale/uk.js +55 -0
- package/dist/runtime/locale/ur.d.ts +3 -0
- package/dist/runtime/locale/ur.js +56 -0
- package/dist/runtime/locale/uz.d.ts +3 -0
- package/dist/runtime/locale/uz.js +55 -0
- package/dist/runtime/locale/vi.d.ts +3 -0
- package/dist/runtime/locale/vi.js +55 -0
- package/dist/runtime/locale/zh_cn.d.ts +3 -0
- package/dist/runtime/locale/zh_cn.js +55 -0
- package/dist/runtime/locale/zh_tw.d.ts +3 -0
- package/dist/runtime/locale/zh_tw.js +55 -0
- package/dist/runtime/plugins/colors.d.ts +2 -0
- package/dist/runtime/plugins/colors.js +51 -0
- package/dist/runtime/types/app.config.d.ts +6 -0
- package/dist/runtime/types/content.d.ts +1 -0
- package/dist/runtime/types/content.js +0 -0
- package/dist/runtime/types/form.d.ts +87 -0
- package/dist/runtime/types/form.js +12 -0
- package/dist/runtime/types/index.d.ts +76 -0
- package/dist/runtime/types/index.js +76 -0
- package/dist/runtime/types/locale.d.ts +127 -0
- package/dist/runtime/types/locale.js +0 -0
- package/dist/runtime/types/prose.d.ts +1 -0
- package/dist/runtime/types/prose.js +0 -0
- package/dist/runtime/types/tv.d.ts +53 -0
- package/dist/runtime/types/tv.js +0 -0
- package/dist/runtime/types/utils.d.ts +41 -0
- package/dist/runtime/types/utils.js +1 -0
- package/dist/runtime/utils/content.d.ts +13 -0
- package/dist/runtime/utils/content.js +51 -0
- package/dist/runtime/utils/dashboard.d.ts +10 -0
- package/dist/runtime/utils/dashboard.js +5 -0
- package/dist/runtime/utils/form.d.ts +13 -0
- package/dist/runtime/utils/form.js +108 -0
- package/dist/runtime/utils/fuse.d.ts +4 -0
- package/dist/runtime/utils/fuse.js +63 -0
- package/dist/runtime/utils/index.d.ts +12 -0
- package/dist/runtime/utils/index.js +89 -0
- package/dist/runtime/utils/link.d.ts +7 -0
- package/dist/runtime/utils/link.js +47 -0
- package/dist/runtime/utils/locale.d.ts +15 -0
- package/dist/runtime/utils/locale.js +25 -0
- package/dist/runtime/utils/tv.d.ts +1 -0
- package/dist/runtime/utils/tv.js +4 -0
- package/dist/runtime/vue/components/Icon.vue +14 -0
- package/dist/runtime/vue/components/Icon.vue.d.ts +5 -0
- package/dist/runtime/vue/components/Link.vue +169 -0
- package/dist/runtime/vue/components/Link.vue.d.ts +93 -0
- package/dist/runtime/vue/components/color-mode/ColorModeButton.vue +34 -0
- package/dist/runtime/vue/components/color-mode/ColorModeButton.vue.d.ts +38 -0
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue +37 -0
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue.d.ts +5 -0
- package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue +32 -0
- package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue.d.ts +5 -0
- package/dist/runtime/vue/composables/useAppConfig.d.ts +1 -0
- package/dist/runtime/vue/composables/useAppConfig.js +4 -0
- package/dist/runtime/vue/plugins/color-mode.d.ts +4 -0
- package/dist/runtime/vue/plugins/color-mode.js +6 -0
- package/dist/runtime/vue/plugins/head.d.ts +4 -0
- package/dist/runtime/vue/plugins/head.js +10 -0
- package/dist/runtime/vue/stubs.d.ts +40 -0
- package/dist/runtime/vue/stubs.js +74 -0
- package/dist/shared/ui.BcVNrqyb.mjs +5374 -0
- package/dist/types.d.mts +5 -0
- package/dist/unplugin.d.mts +88 -0
- package/dist/unplugin.mjs +242 -0
- package/dist/vite.d.mts +15 -0
- package/dist/vite.mjs +21 -0
- package/package.json +255 -0
- package/vue-plugin.d.ts +5 -0
|
@@ -0,0 +1,534 @@
|
|
|
1
|
+
import type { InputHTMLAttributes } from 'vue';
|
|
2
|
+
import type { ComboboxRootProps, ComboboxRootEmits, ComboboxContentProps, ComboboxContentEmits, ComboboxArrowProps } from 'reka-ui';
|
|
3
|
+
import type { AppConfig } from '@nuxt/schema';
|
|
4
|
+
import theme from '#build/ui/input-menu';
|
|
5
|
+
import type { UseComponentIconsProps } from '../composables/useComponentIcons';
|
|
6
|
+
import type { AvatarProps, ChipProps } from '../types';
|
|
7
|
+
import type { AcceptableValue, ArrayOrNested, GetItemKeys, GetModelValue, GetModelValueEmits, NestedItem, EmitsToProps, ComponentConfig } from '../types/utils';
|
|
8
|
+
type InputMenu = ComponentConfig<typeof theme, AppConfig, 'inputMenu'>;
|
|
9
|
+
interface _InputMenuItem {
|
|
10
|
+
label?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @IconifyIcon
|
|
13
|
+
*/
|
|
14
|
+
icon?: string;
|
|
15
|
+
avatar?: AvatarProps;
|
|
16
|
+
chip?: ChipProps;
|
|
17
|
+
/**
|
|
18
|
+
* The item type.
|
|
19
|
+
* @defaultValue 'item'
|
|
20
|
+
*/
|
|
21
|
+
type?: 'label' | 'separator' | 'item';
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
onSelect?(e?: Event): void;
|
|
24
|
+
class?: any;
|
|
25
|
+
ui?: Pick<InputMenu['slots'], 'tagsItem' | 'tagsItemText' | 'tagsItemDelete' | 'tagsItemDeleteIcon' | 'label' | 'separator' | 'item' | 'itemLeadingIcon' | 'itemLeadingAvatarSize' | 'itemLeadingAvatar' | 'itemLeadingChip' | 'itemLeadingChipSize' | 'itemLabel' | 'itemTrailing' | 'itemTrailingIcon'>;
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}
|
|
28
|
+
export type InputMenuItem = _InputMenuItem | AcceptableValue | boolean;
|
|
29
|
+
export interface InputMenuProps<T extends ArrayOrNested<InputMenuItem> = ArrayOrNested<InputMenuItem>, VK extends GetItemKeys<T> | undefined = undefined, M extends boolean = false> extends Pick<ComboboxRootProps<T>, 'open' | 'defaultOpen' | 'disabled' | 'name' | 'resetSearchTermOnBlur' | 'resetSearchTermOnSelect' | 'highlightOnHover'>, UseComponentIconsProps {
|
|
30
|
+
/**
|
|
31
|
+
* The element or component this component should render as.
|
|
32
|
+
* @defaultValue 'div'
|
|
33
|
+
*/
|
|
34
|
+
as?: any;
|
|
35
|
+
id?: string;
|
|
36
|
+
type?: InputHTMLAttributes['type'];
|
|
37
|
+
/** The placeholder text when the input is empty. */
|
|
38
|
+
placeholder?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @defaultValue 'primary'
|
|
41
|
+
*/
|
|
42
|
+
color?: InputMenu['variants']['color'];
|
|
43
|
+
/**
|
|
44
|
+
* @defaultValue 'outline'
|
|
45
|
+
*/
|
|
46
|
+
variant?: InputMenu['variants']['variant'];
|
|
47
|
+
/**
|
|
48
|
+
* @defaultValue 'md'
|
|
49
|
+
*/
|
|
50
|
+
size?: InputMenu['variants']['size'];
|
|
51
|
+
required?: boolean;
|
|
52
|
+
autofocus?: boolean;
|
|
53
|
+
autofocusDelay?: number;
|
|
54
|
+
/**
|
|
55
|
+
* The icon displayed to open the menu.
|
|
56
|
+
* @defaultValue appConfig.ui.icons.chevronDown
|
|
57
|
+
* @IconifyIcon
|
|
58
|
+
*/
|
|
59
|
+
trailingIcon?: string;
|
|
60
|
+
/**
|
|
61
|
+
* The icon displayed when an item is selected.
|
|
62
|
+
* @defaultValue appConfig.ui.icons.check
|
|
63
|
+
* @IconifyIcon
|
|
64
|
+
*/
|
|
65
|
+
selectedIcon?: string;
|
|
66
|
+
/**
|
|
67
|
+
* The icon displayed to delete a tag.
|
|
68
|
+
* Works only when `multiple` is `true`.
|
|
69
|
+
* @defaultValue appConfig.ui.icons.close
|
|
70
|
+
* @IconifyIcon
|
|
71
|
+
*/
|
|
72
|
+
deleteIcon?: string;
|
|
73
|
+
/**
|
|
74
|
+
* The content of the menu.
|
|
75
|
+
* @defaultValue { side: 'bottom', sideOffset: 8, collisionPadding: 8, position: 'popper' }
|
|
76
|
+
*/
|
|
77
|
+
content?: Omit<ComboboxContentProps, 'as' | 'asChild' | 'forceMount'> & Partial<EmitsToProps<ComboboxContentEmits>>;
|
|
78
|
+
/**
|
|
79
|
+
* Display an arrow alongside the menu.
|
|
80
|
+
* @defaultValue false
|
|
81
|
+
*/
|
|
82
|
+
arrow?: boolean | Omit<ComboboxArrowProps, 'as' | 'asChild'>;
|
|
83
|
+
/**
|
|
84
|
+
* Render the menu in a portal.
|
|
85
|
+
* @defaultValue true
|
|
86
|
+
*/
|
|
87
|
+
portal?: boolean | string | HTMLElement;
|
|
88
|
+
/**
|
|
89
|
+
* When `items` is an array of objects, select the field to use as the value instead of the object itself.
|
|
90
|
+
* @defaultValue undefined
|
|
91
|
+
*/
|
|
92
|
+
valueKey?: VK;
|
|
93
|
+
/**
|
|
94
|
+
* When `items` is an array of objects, select the field to use as the label.
|
|
95
|
+
* @defaultValue 'label'
|
|
96
|
+
*/
|
|
97
|
+
labelKey?: keyof NestedItem<T>;
|
|
98
|
+
items?: T;
|
|
99
|
+
/** The value of the InputMenu when initially rendered. Use when you do not need to control the state of the InputMenu. */
|
|
100
|
+
defaultValue?: GetModelValue<T, VK, M>;
|
|
101
|
+
/** The controlled value of the InputMenu. Can be binded-with with `v-model`. */
|
|
102
|
+
modelValue?: GetModelValue<T, VK, M>;
|
|
103
|
+
/** Whether multiple options can be selected or not. */
|
|
104
|
+
multiple?: M & boolean;
|
|
105
|
+
/** Highlight the ring color like a focus state. */
|
|
106
|
+
highlight?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* Determines if custom user input that does not exist in options can be added.
|
|
109
|
+
* @defaultValue false
|
|
110
|
+
*/
|
|
111
|
+
createItem?: boolean | 'always' | {
|
|
112
|
+
position?: 'top' | 'bottom';
|
|
113
|
+
when?: 'empty' | 'always';
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* Fields to filter items by.
|
|
117
|
+
* @defaultValue [labelKey]
|
|
118
|
+
*/
|
|
119
|
+
filterFields?: string[];
|
|
120
|
+
/**
|
|
121
|
+
* When `true`, disable the default filters, useful for custom filtering (useAsyncData, useFetch, etc.).
|
|
122
|
+
* @defaultValue false
|
|
123
|
+
*/
|
|
124
|
+
ignoreFilter?: boolean;
|
|
125
|
+
class?: any;
|
|
126
|
+
ui?: InputMenu['slots'];
|
|
127
|
+
}
|
|
128
|
+
export type InputMenuEmits<A extends ArrayOrNested<InputMenuItem>, VK extends GetItemKeys<A> | undefined, M extends boolean> = Pick<ComboboxRootEmits, 'update:open'> & {
|
|
129
|
+
change: [payload: Event];
|
|
130
|
+
blur: [payload: FocusEvent];
|
|
131
|
+
focus: [payload: FocusEvent];
|
|
132
|
+
create: [item: string];
|
|
133
|
+
/** Event handler when highlighted element changes. */
|
|
134
|
+
highlight: [
|
|
135
|
+
payload: {
|
|
136
|
+
ref: HTMLElement;
|
|
137
|
+
value: GetModelValue<A, VK, M>;
|
|
138
|
+
} | undefined
|
|
139
|
+
];
|
|
140
|
+
} & GetModelValueEmits<A, VK, M>;
|
|
141
|
+
type SlotProps<T extends InputMenuItem> = (props: {
|
|
142
|
+
item: T;
|
|
143
|
+
index: number;
|
|
144
|
+
}) => any;
|
|
145
|
+
export interface InputMenuSlots<A extends ArrayOrNested<InputMenuItem> = ArrayOrNested<InputMenuItem>, VK extends GetItemKeys<A> | undefined = undefined, M extends boolean = false, T extends NestedItem<A> = NestedItem<A>> {
|
|
146
|
+
'leading'(props: {
|
|
147
|
+
modelValue?: GetModelValue<A, VK, M>;
|
|
148
|
+
open: boolean;
|
|
149
|
+
ui: {
|
|
150
|
+
[K in keyof Required<InputMenu['slots']>]: (props?: Record<string, any>) => string;
|
|
151
|
+
};
|
|
152
|
+
}): any;
|
|
153
|
+
'trailing'(props: {
|
|
154
|
+
modelValue?: GetModelValue<A, VK, M>;
|
|
155
|
+
open: boolean;
|
|
156
|
+
ui: {
|
|
157
|
+
[K in keyof Required<InputMenu['slots']>]: (props?: Record<string, any>) => string;
|
|
158
|
+
};
|
|
159
|
+
}): any;
|
|
160
|
+
'empty'(props: {
|
|
161
|
+
searchTerm?: string;
|
|
162
|
+
}): any;
|
|
163
|
+
'item': SlotProps<T>;
|
|
164
|
+
'item-leading': SlotProps<T>;
|
|
165
|
+
'item-label': SlotProps<T>;
|
|
166
|
+
'item-trailing': SlotProps<T>;
|
|
167
|
+
'tags-item-text': SlotProps<T>;
|
|
168
|
+
'tags-item-delete': SlotProps<T>;
|
|
169
|
+
'content-top': (props?: {}) => any;
|
|
170
|
+
'content-bottom': (props?: {}) => any;
|
|
171
|
+
'create-item-label'(props: {
|
|
172
|
+
item: string;
|
|
173
|
+
}): any;
|
|
174
|
+
}
|
|
175
|
+
declare const _default: <T extends ArrayOrNested<InputMenuItem>, VK extends GetItemKeys<T> | undefined = undefined, M extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
176
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
177
|
+
readonly onBlur?: ((payload: FocusEvent) => any) | undefined;
|
|
178
|
+
readonly onChange?: ((payload: Event) => any) | undefined;
|
|
179
|
+
readonly onFocus?: ((payload: FocusEvent) => any) | undefined;
|
|
180
|
+
readonly onCreate?: ((item: string) => any) | undefined;
|
|
181
|
+
readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
182
|
+
readonly "onUpdate:modelValue"?: ((payload: GetModelValue<T, VK, M>) => any) | undefined;
|
|
183
|
+
readonly onHighlight?: ((payload: {
|
|
184
|
+
ref: HTMLElement;
|
|
185
|
+
value: GetModelValue<T, VK, M>;
|
|
186
|
+
} | undefined) => any) | undefined;
|
|
187
|
+
readonly "onUpdate:searchTerm"?: ((value: string) => any) | undefined;
|
|
188
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onUpdate:open" | "onUpdate:modelValue" | "onHighlight" | "onUpdate:searchTerm" | "onCreate"> & (InputMenuProps<T, VK, M> & {
|
|
189
|
+
searchTerm?: string;
|
|
190
|
+
}) & Partial<{}>> & import("vue").PublicProps;
|
|
191
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
192
|
+
inputRef: import("vue").Ref<({
|
|
193
|
+
$: import("vue").ComponentInternalInstance;
|
|
194
|
+
$data: {};
|
|
195
|
+
$props: {
|
|
196
|
+
readonly displayValue?: ((val: any) => string) | undefined;
|
|
197
|
+
readonly modelValue?: string | undefined;
|
|
198
|
+
readonly autoFocus?: boolean | undefined;
|
|
199
|
+
readonly disabled?: boolean | undefined;
|
|
200
|
+
readonly asChild?: boolean | undefined;
|
|
201
|
+
readonly as?: (import("reka-ui").AsTag | import("vue").Component) | undefined;
|
|
202
|
+
readonly "onUpdate:modelValue"?: ((args_0: string) => any) | undefined | undefined;
|
|
203
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
204
|
+
$attrs: {
|
|
205
|
+
[x: string]: unknown;
|
|
206
|
+
};
|
|
207
|
+
$refs: {
|
|
208
|
+
[x: string]: unknown;
|
|
209
|
+
} & {
|
|
210
|
+
primitiveElement: ({
|
|
211
|
+
$: import("vue").ComponentInternalInstance;
|
|
212
|
+
$data: {};
|
|
213
|
+
$props: {
|
|
214
|
+
readonly modelValue?: string | undefined;
|
|
215
|
+
readonly autoFocus?: boolean | undefined;
|
|
216
|
+
readonly disabled?: boolean | undefined;
|
|
217
|
+
readonly asChild?: boolean | undefined;
|
|
218
|
+
readonly as?: (import("reka-ui").AsTag | import("vue").Component) | undefined;
|
|
219
|
+
readonly "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
220
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
221
|
+
$attrs: {
|
|
222
|
+
[x: string]: unknown;
|
|
223
|
+
};
|
|
224
|
+
$refs: {
|
|
225
|
+
[x: string]: unknown;
|
|
226
|
+
} & {
|
|
227
|
+
primitiveElement: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
228
|
+
asChild: {
|
|
229
|
+
type: BooleanConstructor;
|
|
230
|
+
default: boolean;
|
|
231
|
+
};
|
|
232
|
+
as: {
|
|
233
|
+
type: import("vue").PropType<import("reka-ui").AsTag | import("vue").Component>;
|
|
234
|
+
default: string;
|
|
235
|
+
};
|
|
236
|
+
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
237
|
+
[key: string]: any;
|
|
238
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
239
|
+
asChild: boolean;
|
|
240
|
+
as: import("reka-ui").AsTag | import("vue").Component;
|
|
241
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
242
|
+
P: {};
|
|
243
|
+
B: {};
|
|
244
|
+
D: {};
|
|
245
|
+
C: {};
|
|
246
|
+
M: {};
|
|
247
|
+
Defaults: {};
|
|
248
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
249
|
+
asChild: {
|
|
250
|
+
type: BooleanConstructor;
|
|
251
|
+
default: boolean;
|
|
252
|
+
};
|
|
253
|
+
as: {
|
|
254
|
+
type: import("vue").PropType<import("reka-ui").AsTag | import("vue").Component>;
|
|
255
|
+
default: string;
|
|
256
|
+
};
|
|
257
|
+
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
258
|
+
[key: string]: any;
|
|
259
|
+
}>, {}, {}, {}, {
|
|
260
|
+
asChild: boolean;
|
|
261
|
+
as: import("reka-ui").AsTag | import("vue").Component;
|
|
262
|
+
}> | null;
|
|
263
|
+
};
|
|
264
|
+
$slots: Readonly<{
|
|
265
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
266
|
+
}>;
|
|
267
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
268
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
269
|
+
$host: Element | null;
|
|
270
|
+
$emit: (event: "update:modelValue", args_0: string) => void;
|
|
271
|
+
$el: any;
|
|
272
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("reka-ui").ListboxFilterProps> & Readonly<{
|
|
273
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
274
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
275
|
+
"update:modelValue": (args_0: string) => any;
|
|
276
|
+
}, string, {
|
|
277
|
+
as: import("reka-ui").AsTag | import("vue").Component;
|
|
278
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
279
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
280
|
+
created?: (() => void) | (() => void)[];
|
|
281
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
282
|
+
mounted?: (() => void) | (() => void)[];
|
|
283
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
284
|
+
updated?: (() => void) | (() => void)[];
|
|
285
|
+
activated?: (() => void) | (() => void)[];
|
|
286
|
+
deactivated?: (() => void) | (() => void)[];
|
|
287
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
288
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
289
|
+
destroyed?: (() => void) | (() => void)[];
|
|
290
|
+
unmounted?: (() => void) | (() => void)[];
|
|
291
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
292
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
293
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
294
|
+
};
|
|
295
|
+
$forceUpdate: () => void;
|
|
296
|
+
$nextTick: typeof import("vue").nextTick;
|
|
297
|
+
$watch<T_1 extends string | ((...args: any) => any)>(source: T_1, cb: T_1 extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
298
|
+
} & Readonly<{
|
|
299
|
+
as: import("reka-ui").AsTag | import("vue").Component;
|
|
300
|
+
}> & Omit<Readonly<import("reka-ui").ListboxFilterProps> & Readonly<{
|
|
301
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
302
|
+
}>, "as"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
303
|
+
$slots: Readonly<{
|
|
304
|
+
default?: (props: {
|
|
305
|
+
modelValue: string | undefined;
|
|
306
|
+
}) => any;
|
|
307
|
+
}> & {
|
|
308
|
+
default?: (props: {
|
|
309
|
+
modelValue: string | undefined;
|
|
310
|
+
}) => any;
|
|
311
|
+
};
|
|
312
|
+
}) | null;
|
|
313
|
+
};
|
|
314
|
+
$slots: Readonly<{
|
|
315
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
316
|
+
}>;
|
|
317
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
318
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
319
|
+
$host: Element | null;
|
|
320
|
+
$emit: (event: "update:modelValue", args_0: string) => void;
|
|
321
|
+
$el: any;
|
|
322
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("reka-ui").ComboboxInputProps> & Readonly<{
|
|
323
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
324
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
325
|
+
"update:modelValue": (args_0: string) => any;
|
|
326
|
+
}, string, {
|
|
327
|
+
as: import("reka-ui").AsTag | import("vue").Component;
|
|
328
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
329
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
330
|
+
created?: (() => void) | (() => void)[];
|
|
331
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
332
|
+
mounted?: (() => void) | (() => void)[];
|
|
333
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
334
|
+
updated?: (() => void) | (() => void)[];
|
|
335
|
+
activated?: (() => void) | (() => void)[];
|
|
336
|
+
deactivated?: (() => void) | (() => void)[];
|
|
337
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
338
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
339
|
+
destroyed?: (() => void) | (() => void)[];
|
|
340
|
+
unmounted?: (() => void) | (() => void)[];
|
|
341
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
342
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
343
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
344
|
+
};
|
|
345
|
+
$forceUpdate: () => void;
|
|
346
|
+
$nextTick: typeof import("vue").nextTick;
|
|
347
|
+
$watch<T_1 extends string | ((...args: any) => any)>(source: T_1, cb: T_1 extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
348
|
+
} & Readonly<{
|
|
349
|
+
as: import("reka-ui").AsTag | import("vue").Component;
|
|
350
|
+
}> & Omit<Readonly<import("reka-ui").ComboboxInputProps> & Readonly<{
|
|
351
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
352
|
+
}>, "as"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
353
|
+
$slots: {
|
|
354
|
+
default?(_: {}): any;
|
|
355
|
+
};
|
|
356
|
+
}) | null, ({
|
|
357
|
+
$: import("vue").ComponentInternalInstance;
|
|
358
|
+
$data: {};
|
|
359
|
+
$props: {
|
|
360
|
+
readonly displayValue?: ((val: any) => string) | undefined;
|
|
361
|
+
readonly modelValue?: string | undefined;
|
|
362
|
+
readonly autoFocus?: boolean | undefined;
|
|
363
|
+
readonly disabled?: boolean | undefined;
|
|
364
|
+
readonly asChild?: boolean | undefined;
|
|
365
|
+
readonly as?: (import("reka-ui").AsTag | import("vue").Component) | undefined;
|
|
366
|
+
readonly "onUpdate:modelValue"?: ((args_0: string) => any) | undefined | undefined;
|
|
367
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
368
|
+
$attrs: {
|
|
369
|
+
[x: string]: unknown;
|
|
370
|
+
};
|
|
371
|
+
$refs: {
|
|
372
|
+
[x: string]: unknown;
|
|
373
|
+
} & {
|
|
374
|
+
primitiveElement: ({
|
|
375
|
+
$: import("vue").ComponentInternalInstance;
|
|
376
|
+
$data: {};
|
|
377
|
+
$props: {
|
|
378
|
+
readonly modelValue?: string | undefined;
|
|
379
|
+
readonly autoFocus?: boolean | undefined;
|
|
380
|
+
readonly disabled?: boolean | undefined;
|
|
381
|
+
readonly asChild?: boolean | undefined;
|
|
382
|
+
readonly as?: (import("reka-ui").AsTag | import("vue").Component) | undefined;
|
|
383
|
+
readonly "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
384
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
385
|
+
$attrs: {
|
|
386
|
+
[x: string]: unknown;
|
|
387
|
+
};
|
|
388
|
+
$refs: {
|
|
389
|
+
[x: string]: unknown;
|
|
390
|
+
} & {
|
|
391
|
+
primitiveElement: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
392
|
+
asChild: {
|
|
393
|
+
type: BooleanConstructor;
|
|
394
|
+
default: boolean;
|
|
395
|
+
};
|
|
396
|
+
as: {
|
|
397
|
+
type: import("vue").PropType<import("reka-ui").AsTag | import("vue").Component>;
|
|
398
|
+
default: string;
|
|
399
|
+
};
|
|
400
|
+
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
401
|
+
[key: string]: any;
|
|
402
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
403
|
+
asChild: boolean;
|
|
404
|
+
as: import("reka-ui").AsTag | import("vue").Component;
|
|
405
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
406
|
+
P: {};
|
|
407
|
+
B: {};
|
|
408
|
+
D: {};
|
|
409
|
+
C: {};
|
|
410
|
+
M: {};
|
|
411
|
+
Defaults: {};
|
|
412
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
413
|
+
asChild: {
|
|
414
|
+
type: BooleanConstructor;
|
|
415
|
+
default: boolean;
|
|
416
|
+
};
|
|
417
|
+
as: {
|
|
418
|
+
type: import("vue").PropType<import("reka-ui").AsTag | import("vue").Component>;
|
|
419
|
+
default: string;
|
|
420
|
+
};
|
|
421
|
+
}>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
422
|
+
[key: string]: any;
|
|
423
|
+
}>, {}, {}, {}, {
|
|
424
|
+
asChild: boolean;
|
|
425
|
+
as: import("reka-ui").AsTag | import("vue").Component;
|
|
426
|
+
}> | null;
|
|
427
|
+
};
|
|
428
|
+
$slots: Readonly<{
|
|
429
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
430
|
+
}>;
|
|
431
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
432
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
433
|
+
$host: Element | null;
|
|
434
|
+
$emit: (event: "update:modelValue", args_0: string) => void;
|
|
435
|
+
$el: any;
|
|
436
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("reka-ui").ListboxFilterProps> & Readonly<{
|
|
437
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
438
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
439
|
+
"update:modelValue": (args_0: string) => any;
|
|
440
|
+
}, string, {
|
|
441
|
+
as: import("reka-ui").AsTag | import("vue").Component;
|
|
442
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
443
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
444
|
+
created?: (() => void) | (() => void)[];
|
|
445
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
446
|
+
mounted?: (() => void) | (() => void)[];
|
|
447
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
448
|
+
updated?: (() => void) | (() => void)[];
|
|
449
|
+
activated?: (() => void) | (() => void)[];
|
|
450
|
+
deactivated?: (() => void) | (() => void)[];
|
|
451
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
452
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
453
|
+
destroyed?: (() => void) | (() => void)[];
|
|
454
|
+
unmounted?: (() => void) | (() => void)[];
|
|
455
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
456
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
457
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
458
|
+
};
|
|
459
|
+
$forceUpdate: () => void;
|
|
460
|
+
$nextTick: typeof import("vue").nextTick;
|
|
461
|
+
$watch<T_1 extends string | ((...args: any) => any)>(source: T_1, cb: T_1 extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
462
|
+
} & Readonly<{
|
|
463
|
+
as: import("reka-ui").AsTag | import("vue").Component;
|
|
464
|
+
}> & Omit<Readonly<import("reka-ui").ListboxFilterProps> & Readonly<{
|
|
465
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
466
|
+
}>, "as"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
467
|
+
$slots: Readonly<{
|
|
468
|
+
default?: (props: {
|
|
469
|
+
modelValue: string | undefined;
|
|
470
|
+
}) => any;
|
|
471
|
+
}> & {
|
|
472
|
+
default?: (props: {
|
|
473
|
+
modelValue: string | undefined;
|
|
474
|
+
}) => any;
|
|
475
|
+
};
|
|
476
|
+
}) | null;
|
|
477
|
+
};
|
|
478
|
+
$slots: Readonly<{
|
|
479
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
480
|
+
}>;
|
|
481
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
482
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
483
|
+
$host: Element | null;
|
|
484
|
+
$emit: (event: "update:modelValue", args_0: string) => void;
|
|
485
|
+
$el: any;
|
|
486
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("reka-ui").ComboboxInputProps> & Readonly<{
|
|
487
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
488
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
489
|
+
"update:modelValue": (args_0: string) => any;
|
|
490
|
+
}, string, {
|
|
491
|
+
as: import("reka-ui").AsTag | import("vue").Component;
|
|
492
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
493
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
494
|
+
created?: (() => void) | (() => void)[];
|
|
495
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
496
|
+
mounted?: (() => void) | (() => void)[];
|
|
497
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
498
|
+
updated?: (() => void) | (() => void)[];
|
|
499
|
+
activated?: (() => void) | (() => void)[];
|
|
500
|
+
deactivated?: (() => void) | (() => void)[];
|
|
501
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
502
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
503
|
+
destroyed?: (() => void) | (() => void)[];
|
|
504
|
+
unmounted?: (() => void) | (() => void)[];
|
|
505
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
506
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
507
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
508
|
+
};
|
|
509
|
+
$forceUpdate: () => void;
|
|
510
|
+
$nextTick: typeof import("vue").nextTick;
|
|
511
|
+
$watch<T_1 extends string | ((...args: any) => any)>(source: T_1, cb: T_1 extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
512
|
+
} & Readonly<{
|
|
513
|
+
as: import("reka-ui").AsTag | import("vue").Component;
|
|
514
|
+
}> & Omit<Readonly<import("reka-ui").ComboboxInputProps> & Readonly<{
|
|
515
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
516
|
+
}>, "as"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
517
|
+
$slots: {
|
|
518
|
+
default?(_: {}): any;
|
|
519
|
+
};
|
|
520
|
+
}) | null>;
|
|
521
|
+
}>): void;
|
|
522
|
+
attrs: any;
|
|
523
|
+
slots: InputMenuSlots<T, VK, M, NestedItem<T>>;
|
|
524
|
+
emit: (((evt: "blur", payload: FocusEvent) => void) & ((evt: "change", payload: Event) => void) & ((evt: "focus", payload: FocusEvent) => void) & ((evt: "create", item: string) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", payload: GetModelValue<T, VK, M>) => void) & ((evt: "highlight", payload: {
|
|
525
|
+
ref: HTMLElement;
|
|
526
|
+
value: GetModelValue<T, VK, M>;
|
|
527
|
+
} | undefined) => void)) & ((evt: "update:searchTerm", value: string) => void);
|
|
528
|
+
}>) => import("vue").VNode & {
|
|
529
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
530
|
+
};
|
|
531
|
+
export default _default;
|
|
532
|
+
type __VLS_PrettifyLocal<T> = {
|
|
533
|
+
[K in keyof T]: T[K];
|
|
534
|
+
} & {};
|