@una-ui/nuxt 0.64.0 → 0.66.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.
Files changed (230) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +10 -8
  3. package/dist/runtime/components/alert-dialog/AlertDialog.vue.d.ts +1 -1
  4. package/dist/runtime/components/alert-dialog/AlertDialogAction.vue +1 -1
  5. package/dist/runtime/components/alert-dialog/AlertDialogAction.vue.d.ts +1 -1
  6. package/dist/runtime/components/alert-dialog/AlertDialogCancel.vue +1 -1
  7. package/dist/runtime/components/alert-dialog/AlertDialogCancel.vue.d.ts +1 -1
  8. package/dist/runtime/components/alert-dialog/AlertDialogContent.vue +1 -1
  9. package/dist/runtime/components/alert-dialog/AlertDialogDescription.vue +1 -1
  10. package/dist/runtime/components/alert-dialog/AlertDialogOverlay.vue +1 -1
  11. package/dist/runtime/components/alert-dialog/AlertDialogTitle.vue +1 -1
  12. package/dist/runtime/components/alert-dialog/AlertDialogTrigger.vue +1 -1
  13. package/dist/runtime/components/aspect-ratio/AspectRatio.vue +1 -1
  14. package/dist/runtime/components/aspect-ratio/AspectRatio.vue.d.ts +2 -2
  15. package/dist/runtime/components/combobox/Combobox.vue +2 -1
  16. package/dist/runtime/components/combobox/Combobox.vue.d.ts +17 -17
  17. package/dist/runtime/components/combobox/ComboboxAnchor.vue +1 -1
  18. package/dist/runtime/components/combobox/ComboboxEmpty.vue +1 -1
  19. package/dist/runtime/components/combobox/ComboboxGroup.vue +1 -1
  20. package/dist/runtime/components/combobox/ComboboxInput.vue +1 -1
  21. package/dist/runtime/components/combobox/ComboboxInput.vue.d.ts +1 -1
  22. package/dist/runtime/components/combobox/ComboboxItem.vue +1 -1
  23. package/dist/runtime/components/combobox/ComboboxItemIndicator.vue +1 -1
  24. package/dist/runtime/components/combobox/ComboboxLabel.vue +1 -1
  25. package/dist/runtime/components/combobox/ComboboxList.vue +1 -1
  26. package/dist/runtime/components/combobox/ComboboxSeparator.vue +1 -1
  27. package/dist/runtime/components/combobox/ComboboxTrigger.vue +1 -1
  28. package/dist/runtime/components/combobox/ComboboxTrigger.vue.d.ts +1 -1
  29. package/dist/runtime/components/combobox/ComboboxViewport.vue +1 -1
  30. package/dist/runtime/components/data/table/TableBody.vue +1 -1
  31. package/dist/runtime/components/data/table/TableCaption.vue +1 -1
  32. package/dist/runtime/components/data/table/TableCell.vue +1 -1
  33. package/dist/runtime/components/data/table/TableFooter.vue +1 -1
  34. package/dist/runtime/components/data/table/TableHead.vue +1 -1
  35. package/dist/runtime/components/data/table/TableHeader.vue +1 -1
  36. package/dist/runtime/components/data/table/TableRow.vue +1 -1
  37. package/dist/runtime/components/drawer/Drawer.vue.d.ts +1 -1
  38. package/dist/runtime/components/drawer/DrawerClose.vue +1 -1
  39. package/dist/runtime/components/drawer/DrawerContent.vue +1 -1
  40. package/dist/runtime/components/drawer/DrawerDescription.vue +1 -1
  41. package/dist/runtime/components/drawer/DrawerOverlay.vue +1 -1
  42. package/dist/runtime/components/drawer/DrawerTitle.vue +1 -1
  43. package/dist/runtime/components/drawer/DrawerTrigger.vue +1 -1
  44. package/dist/runtime/components/elements/Alert.vue.d.ts +5 -1
  45. package/dist/runtime/components/elements/AvatarGroup.vue +1 -1
  46. package/dist/runtime/components/elements/Badge.vue.d.ts +5 -1
  47. package/dist/runtime/components/elements/Button.vue.d.ts +3 -3
  48. package/dist/runtime/components/elements/Label.vue +1 -1
  49. package/dist/runtime/components/elements/Progress.vue +1 -1
  50. package/dist/runtime/components/elements/Progress.vue.d.ts +1 -1
  51. package/dist/runtime/components/elements/Separator.vue +1 -1
  52. package/dist/runtime/components/elements/Toggle.vue +1 -1
  53. package/dist/runtime/components/elements/Toggle.vue.d.ts +1 -1
  54. package/dist/runtime/components/elements/accordion/Accordion.vue +86 -0
  55. package/dist/runtime/components/elements/accordion/Accordion.vue.d.ts +71 -0
  56. package/dist/runtime/components/elements/accordion/AccordionContent.vue +24 -0
  57. package/dist/runtime/components/elements/accordion/AccordionContent.vue.d.ts +13 -0
  58. package/dist/runtime/components/elements/accordion/AccordionHeader.vue +17 -0
  59. package/dist/runtime/components/elements/accordion/AccordionHeader.vue.d.ts +13 -0
  60. package/dist/runtime/components/elements/accordion/AccordionItem.vue +59 -0
  61. package/dist/runtime/components/elements/accordion/AccordionItem.vue.d.ts +27 -0
  62. package/dist/runtime/components/elements/accordion/AccordionTrigger.vue +56 -0
  63. package/dist/runtime/components/elements/accordion/AccordionTrigger.vue.d.ts +16 -0
  64. package/dist/runtime/components/elements/avatar/Avatar.vue +1 -1
  65. package/dist/runtime/components/elements/avatar/Avatar.vue.d.ts +2 -2
  66. package/dist/runtime/components/elements/avatar/AvatarFallback.vue +1 -1
  67. package/dist/runtime/components/elements/avatar/AvatarImage.vue +1 -1
  68. package/dist/runtime/components/elements/collapsible/Collapsible.vue +1 -1
  69. package/dist/runtime/components/elements/collapsible/Collapsible.vue.d.ts +2 -2
  70. package/dist/runtime/components/elements/collapsible/CollapsibleContent.vue +1 -1
  71. package/dist/runtime/components/elements/collapsible/CollapsibleTrigger.vue +1 -1
  72. package/dist/runtime/components/elements/dialog/Dialog.vue.d.ts +1 -1
  73. package/dist/runtime/components/elements/dialog/DialogClose.vue +1 -1
  74. package/dist/runtime/components/elements/dialog/DialogClose.vue.d.ts +1 -1
  75. package/dist/runtime/components/elements/dialog/DialogContent.vue +1 -1
  76. package/dist/runtime/components/elements/dialog/DialogDescription.vue +1 -1
  77. package/dist/runtime/components/elements/dialog/DialogScrollContent.vue +1 -1
  78. package/dist/runtime/components/elements/dialog/DialogTitle.vue +1 -1
  79. package/dist/runtime/components/elements/dropdown-menu/DropdownMenu.vue +1 -1
  80. package/dist/runtime/components/elements/dropdown-menu/DropdownMenu.vue.d.ts +4 -4
  81. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuContent.vue +1 -1
  82. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuGroup.vue +1 -1
  83. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue +1 -1
  84. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue.d.ts +1 -1
  85. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuLabel.vue +1 -1
  86. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSeparator.vue +1 -1
  87. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubContent.vue +1 -1
  88. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubTrigger.vue +1 -1
  89. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +1 -1
  90. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuTrigger.vue +1 -1
  91. package/dist/runtime/components/elements/pagination/Pagination.vue +1 -1
  92. package/dist/runtime/components/elements/pagination/Pagination.vue.d.ts +5 -2
  93. package/dist/runtime/components/elements/pagination/PaginationEllipsis.vue +1 -1
  94. package/dist/runtime/components/elements/pagination/PaginationFirst.vue +1 -1
  95. package/dist/runtime/components/elements/pagination/PaginationFirst.vue.d.ts +1 -1
  96. package/dist/runtime/components/elements/pagination/PaginationLast.vue +1 -1
  97. package/dist/runtime/components/elements/pagination/PaginationLast.vue.d.ts +1 -1
  98. package/dist/runtime/components/elements/pagination/PaginationListItem.vue +1 -1
  99. package/dist/runtime/components/elements/pagination/PaginationListItem.vue.d.ts +1 -1
  100. package/dist/runtime/components/elements/pagination/PaginationNext.vue +1 -1
  101. package/dist/runtime/components/elements/pagination/PaginationNext.vue.d.ts +1 -1
  102. package/dist/runtime/components/elements/pagination/PaginationPrev.vue +1 -1
  103. package/dist/runtime/components/elements/pagination/PaginationPrev.vue.d.ts +1 -1
  104. package/dist/runtime/components/elements/popover/Popover.vue.d.ts +1 -1
  105. package/dist/runtime/components/elements/popover/PopoverContent.vue +1 -1
  106. package/dist/runtime/components/elements/tabs/Tabs.vue +1 -1
  107. package/dist/runtime/components/elements/tabs/Tabs.vue.d.ts +1 -1
  108. package/dist/runtime/components/elements/tabs/TabsContent.vue +1 -1
  109. package/dist/runtime/components/elements/tabs/TabsList.vue +1 -1
  110. package/dist/runtime/components/elements/tabs/TabsTrigger.vue +1 -1
  111. package/dist/runtime/components/elements/tabs/TabsTrigger.vue.d.ts +1 -1
  112. package/dist/runtime/components/elements/tooltip/TooltipContent.vue +1 -1
  113. package/dist/runtime/components/elements/tooltip/TooltipTrigger.vue +1 -1
  114. package/dist/runtime/components/forms/Checkbox.vue +1 -1
  115. package/dist/runtime/components/forms/FormGroup.vue +1 -1
  116. package/dist/runtime/components/forms/Input.vue.d.ts +15 -3
  117. package/dist/runtime/components/forms/Slider.vue +1 -1
  118. package/dist/runtime/components/forms/Switch.vue +1 -1
  119. package/dist/runtime/components/forms/Switch.vue.d.ts +2 -2
  120. package/dist/runtime/components/forms/form/FormField.vue +1 -1
  121. package/dist/runtime/components/forms/form/FormLabel.vue +1 -1
  122. package/dist/runtime/components/forms/radio-group/RadioGroup.vue +1 -1
  123. package/dist/runtime/components/forms/radio-group/RadioGroup.vue.d.ts +3 -3
  124. package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue +1 -1
  125. package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue.d.ts +1 -1
  126. package/dist/runtime/components/forms/select/Select.vue +2 -18
  127. package/dist/runtime/components/forms/select/Select.vue.d.ts +16 -16
  128. package/dist/runtime/components/forms/select/SelectContent.vue +1 -1
  129. package/dist/runtime/components/forms/select/SelectGroup.vue +1 -1
  130. package/dist/runtime/components/forms/select/SelectItem.vue +1 -3
  131. package/dist/runtime/components/forms/select/SelectItemIndicator.vue +7 -6
  132. package/dist/runtime/components/forms/select/SelectItemIndicator.vue.d.ts +1 -3
  133. package/dist/runtime/components/forms/select/SelectItemText.vue +1 -1
  134. package/dist/runtime/components/forms/select/SelectLabel.vue +1 -1
  135. package/dist/runtime/components/forms/select/SelectScrollDownButton.vue +1 -1
  136. package/dist/runtime/components/forms/select/SelectScrollUpButton.vue +1 -1
  137. package/dist/runtime/components/forms/select/SelectSeparator.vue +1 -1
  138. package/dist/runtime/components/forms/select/SelectTrigger.vue +1 -1
  139. package/dist/runtime/components/forms/select/SelectValue.vue +1 -1
  140. package/dist/runtime/components/hover-card/HoverCard.vue +1 -1
  141. package/dist/runtime/components/hover-card/HoverCard.vue.d.ts +1 -1
  142. package/dist/runtime/components/hover-card/HoverCardArrow.vue +1 -1
  143. package/dist/runtime/components/hover-card/HoverCardContent.vue +1 -1
  144. package/dist/runtime/components/hover-card/HoverCardTrigger.vue +1 -1
  145. package/dist/runtime/components/misc/ThemeSwitcher.vue.d.ts +1 -1
  146. package/dist/runtime/components/navigation/breadcrumb/Breadcrumb.vue.d.ts +16 -6
  147. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbEllipsis.vue.d.ts +1 -1
  148. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbSeparator.vue.d.ts +1 -1
  149. package/dist/runtime/components/navigation-menu/NavigationMenu.vue +1 -1
  150. package/dist/runtime/components/navigation-menu/NavigationMenu.vue.d.ts +11 -11
  151. package/dist/runtime/components/navigation-menu/NavigationMenuContent.vue +1 -1
  152. package/dist/runtime/components/navigation-menu/NavigationMenuContentItem.vue +1 -1
  153. package/dist/runtime/components/navigation-menu/NavigationMenuIndicator.vue +1 -1
  154. package/dist/runtime/components/navigation-menu/NavigationMenuItem.vue +1 -1
  155. package/dist/runtime/components/navigation-menu/NavigationMenuLink.vue +1 -1
  156. package/dist/runtime/components/navigation-menu/NavigationMenuLink.vue.d.ts +2 -2
  157. package/dist/runtime/components/navigation-menu/NavigationMenuList.vue +1 -1
  158. package/dist/runtime/components/navigation-menu/NavigationMenuTrigger.vue +1 -1
  159. package/dist/runtime/components/navigation-menu/NavigationMenuTrigger.vue.d.ts +1 -1
  160. package/dist/runtime/components/navigation-menu/NavigationMenuViewport.vue +1 -1
  161. package/dist/runtime/components/number-field/NumberField.vue +1 -1
  162. package/dist/runtime/components/number-field/NumberField.vue.d.ts +1 -1
  163. package/dist/runtime/components/number-field/NumberFieldDecrement.vue +1 -1
  164. package/dist/runtime/components/number-field/NumberFieldDecrement.vue.d.ts +1 -1
  165. package/dist/runtime/components/number-field/NumberFieldIncrement.vue +1 -1
  166. package/dist/runtime/components/number-field/NumberFieldIncrement.vue.d.ts +1 -1
  167. package/dist/runtime/components/number-field/NumberFieldInput.vue +1 -1
  168. package/dist/runtime/components/overlays/Toaster.vue +1 -0
  169. package/dist/runtime/components/overlays/Toaster.vue.d.ts +1 -1
  170. package/dist/runtime/components/overlays/toast/Toast.vue +1 -1
  171. package/dist/runtime/components/overlays/toast/Toast.vue.d.ts +1 -1
  172. package/dist/runtime/components/overlays/toast/ToastAction.vue +1 -1
  173. package/dist/runtime/components/overlays/toast/ToastAction.vue.d.ts +2 -2
  174. package/dist/runtime/components/overlays/toast/ToastClose.vue +1 -1
  175. package/dist/runtime/components/overlays/toast/ToastDescription.vue +1 -1
  176. package/dist/runtime/components/overlays/toast/ToastProvider.vue +1 -0
  177. package/dist/runtime/components/overlays/toast/ToastTitle.vue +1 -1
  178. package/dist/runtime/components/overlays/toast/ToastViewport.vue +1 -1
  179. package/dist/runtime/components/pin-input/PinInput.vue +1 -1
  180. package/dist/runtime/components/pin-input/PinInputGroup.vue +1 -1
  181. package/dist/runtime/components/pin-input/PinInputSeparator.vue +1 -1
  182. package/dist/runtime/components/pin-input/PinInputSlot.vue +1 -1
  183. package/dist/runtime/components/resizable/ResizableHandle.vue +1 -1
  184. package/dist/runtime/components/resizable/ResizablePanel.vue +1 -1
  185. package/dist/runtime/components/resizable/ResizablePanel.vue.d.ts +7 -1
  186. package/dist/runtime/components/resizable/ResizablePanelGroup.vue +1 -1
  187. package/dist/runtime/components/resizable/ResizablePanelGroup.vue.d.ts +3 -1
  188. package/dist/runtime/components/scroll-area/ScrollArea.vue +1 -1
  189. package/dist/runtime/components/scroll-area/ScrollArea.vue.d.ts +1 -1
  190. package/dist/runtime/components/scroll-area/ScrollBar.vue +1 -1
  191. package/dist/runtime/components/sheet/Sheet.vue.d.ts +1 -1
  192. package/dist/runtime/components/sheet/SheetClose.vue +1 -1
  193. package/dist/runtime/components/sheet/SheetContent.vue +1 -1
  194. package/dist/runtime/components/sheet/SheetDescription.vue +1 -1
  195. package/dist/runtime/components/sheet/SheetTitle.vue +1 -1
  196. package/dist/runtime/components/sheet/SheetTrigger.vue +1 -1
  197. package/dist/runtime/components/sidebar/SidebarGroupAction.vue +1 -1
  198. package/dist/runtime/components/sidebar/SidebarGroupLabel.vue +1 -1
  199. package/dist/runtime/components/sidebar/SidebarMenu.vue.d.ts +1 -1
  200. package/dist/runtime/components/sidebar/SidebarMenuAction.vue +1 -1
  201. package/dist/runtime/components/sidebar/SidebarMenuButton.vue +2 -2
  202. package/dist/runtime/components/sidebar/SidebarMenuButton.vue.d.ts +1 -1
  203. package/dist/runtime/components/sidebar/SidebarMenuButtonChild.vue +1 -1
  204. package/dist/runtime/components/sidebar/SidebarMenuButtonChild.vue.d.ts +1 -1
  205. package/dist/runtime/components/sidebar/SidebarMenuSubButton.vue +1 -1
  206. package/dist/runtime/components/sidebar/SidebarMenuSubButton.vue.d.ts +1 -1
  207. package/dist/runtime/components/sidebar/SidebarProvider.vue +7 -2
  208. package/dist/runtime/components/sidebar/SidebarProvider.vue.d.ts +1 -1
  209. package/dist/runtime/components/stepper/Stepper.vue +3 -3
  210. package/dist/runtime/components/stepper/Stepper.vue.d.ts +25 -13
  211. package/dist/runtime/components/stepper/StepperDescription.vue +1 -1
  212. package/dist/runtime/components/stepper/StepperDescription.vue.d.ts +1 -1
  213. package/dist/runtime/components/stepper/StepperIndicator.vue +1 -1
  214. package/dist/runtime/components/stepper/StepperIndicator.vue.d.ts +3 -1
  215. package/dist/runtime/components/stepper/StepperItem.vue +1 -1
  216. package/dist/runtime/components/stepper/StepperItem.vue.d.ts +3 -1
  217. package/dist/runtime/components/stepper/StepperSeparator.vue +1 -1
  218. package/dist/runtime/components/stepper/StepperTitle.vue +1 -1
  219. package/dist/runtime/components/stepper/StepperTrigger.vue +1 -1
  220. package/dist/runtime/components/toggle-group/ToggleGroup.vue +1 -1
  221. package/dist/runtime/components/toggle-group/ToggleGroup.vue.d.ts +5 -3
  222. package/dist/runtime/components/toggle-group/ToggleGroupItem.vue +1 -1
  223. package/dist/runtime/components/toggle-group/ToggleGroupItem.vue.d.ts +7 -2
  224. package/dist/runtime/types/accordion.d.ts +36 -91
  225. package/dist/runtime/types/select.d.ts +1 -2
  226. package/dist/runtime/types/sidebar.d.ts +5 -0
  227. package/dist/runtime/utils/index.d.ts +1 -1
  228. package/package.json +18 -18
  229. package/dist/runtime/components/elements/Accordion.vue +0 -212
  230. package/dist/runtime/components/elements/Accordion.vue.d.ts +0 -28
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@una-ui/nuxt",
3
3
  "configKey": "una",
4
- "version": "0.64.0",
4
+ "version": "0.66.0",
5
5
  "compatibility": {
6
6
  "nuxt": ">=3.0.0"
7
7
  },
package/dist/module.mjs CHANGED
@@ -8,7 +8,7 @@ import 'unocss';
8
8
  import 'unocss-preset-animations';
9
9
 
10
10
  const name = "@una-ui/nuxt";
11
- const version = "0.64.0";
11
+ const version = "0.66.0";
12
12
 
13
13
  const module = defineNuxtModule({
14
14
  meta: {
@@ -27,7 +27,10 @@ const module = defineNuxtModule({
27
27
  },
28
28
  async setup(options, nuxt) {
29
29
  const { resolve } = createResolver(import.meta.url);
30
- nuxt.options.css.unshift("@una-ui/preset/una.css");
30
+ nuxt.options.css.unshift(
31
+ import.meta.resolve("@unocss/reset/tailwind.css"),
32
+ import.meta.resolve("@una-ui/preset/una.css")
33
+ );
31
34
  nuxt.options.alias["#una"] = resolve("./runtime");
32
35
  nuxt.options.appConfig.una = {
33
36
  ...{
@@ -42,17 +45,16 @@ const module = defineNuxtModule({
42
45
  nuxt.options.app.rootAttrs.class = [nuxt.options.app.rootAttrs.class, "isolate"].filter(Boolean).join(" ");
43
46
  const runtimeDir = resolve("./runtime");
44
47
  nuxt.options.build.transpile.push(runtimeDir);
45
- nuxt.options.build.transpile.push("@headlessui/vue");
46
- await installModule("@unocss/nuxt", extendUnocssOptions(nuxt.options.unocss));
47
- await installModule("@nuxtjs/color-mode", {
48
+ await installModule(import.meta.resolve("@unocss/nuxt"), extendUnocssOptions(nuxt.options.unocss));
49
+ await installModule(import.meta.resolve("@nuxtjs/color-mode"), {
48
50
  classSuffix: "",
49
51
  disableTransition: true
50
52
  });
51
- await installModule("@vueuse/nuxt");
52
- await installModule("reka-ui/nuxt", {
53
+ await installModule(import.meta.resolve("@vueuse/nuxt"));
54
+ await installModule(import.meta.resolve("reka-ui/nuxt"), {
53
55
  prefix: options.prefix
54
56
  });
55
- await installModule("@vee-validate/nuxt", {
57
+ await installModule(import.meta.resolve("@vee-validate/nuxt"), {
56
58
  componentNames: {
57
59
  Form: `${options.prefix}Form`,
58
60
  // Field: `${options.prefix}FormField`,
@@ -1,6 +1,6 @@
1
1
  import type { NAlertDialogProps } from '../../types/index.js';
2
2
  declare var __VLS_6: {}, __VLS_11: {
3
- open: any;
3
+ open: boolean;
4
4
  }, __VLS_26: {}, __VLS_31: {}, __VLS_36: {}, __VLS_41: {}, __VLS_46: {}, __VLS_48: {}, __VLS_57: {}, __VLS_59: {}, __VLS_68: {};
5
5
  type __VLS_Slots = {} & {
6
6
  default?: (props: typeof __VLS_6) => any;
@@ -4,7 +4,7 @@ import Button from "../elements/Button.vue";
4
4
  const props = defineProps({
5
5
  onClick: { type: Function, required: false },
6
6
  asChild: { type: Boolean, required: false },
7
- as: { type: [String, Object, Function], required: false },
7
+ as: { type: null, required: false },
8
8
  type: { type: String, required: false },
9
9
  loadingPlacement: { type: String, required: false },
10
10
  icon: { type: Boolean, required: false },
@@ -1,5 +1,5 @@
1
1
  import type { NAlertDialogActionProps } from '../../types/index.js';
2
- declare var __VLS_10: any, __VLS_11: any;
2
+ declare var __VLS_10: string | number, __VLS_11: any;
3
3
  type __VLS_Slots = {} & {
4
4
  [K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
5
5
  };
@@ -5,7 +5,7 @@ import Button from "../elements/Button.vue";
5
5
  const props = defineProps({
6
6
  onClick: { type: Function, required: false },
7
7
  asChild: { type: Boolean, required: false },
8
- as: { type: [String, Object, Function], required: false },
8
+ as: { type: null, required: false },
9
9
  type: { type: String, required: false },
10
10
  loadingPlacement: { type: String, required: false },
11
11
  icon: { type: Boolean, required: false },
@@ -1,5 +1,5 @@
1
1
  import type { NAlertDialogCancelProps } from '../../types/index.js';
2
- declare var __VLS_10: any, __VLS_11: any;
2
+ declare var __VLS_10: string | number, __VLS_11: any;
3
3
  type __VLS_Slots = {} & {
4
4
  [K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
5
5
  };
@@ -21,7 +21,7 @@ const props = defineProps({
21
21
  forceMount: { type: Boolean, required: false },
22
22
  disableOutsidePointerEvents: { type: Boolean, required: false },
23
23
  asChild: { type: Boolean, required: false },
24
- as: { type: [String, Object, Function], required: false },
24
+ as: { type: null, required: false },
25
25
  class: { type: null, required: false }
26
26
  });
27
27
  const emits = defineEmits(["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"]);
@@ -5,7 +5,7 @@ import { cn } from "../../utils";
5
5
  const props = defineProps({
6
6
  una: { type: Object, required: false },
7
7
  asChild: { type: Boolean, required: false },
8
- as: { type: [String, Object, Function], required: false },
8
+ as: { type: null, required: false },
9
9
  class: { type: null, required: false }
10
10
  });
11
11
  const delegatedProps = reactiveOmit(props, "class", "una");
@@ -6,7 +6,7 @@ const props = defineProps({
6
6
  class: { type: null, required: false },
7
7
  forceMount: { type: Boolean, required: false },
8
8
  asChild: { type: Boolean, required: false },
9
- as: { type: [String, Object, Function], required: false }
9
+ as: { type: null, required: false }
10
10
  });
11
11
  </script>
12
12
 
@@ -5,7 +5,7 @@ import { cn } from "../../utils";
5
5
  const props = defineProps({
6
6
  una: { type: Object, required: false },
7
7
  asChild: { type: Boolean, required: false },
8
- as: { type: [String, Object, Function], required: false },
8
+ as: { type: null, required: false },
9
9
  class: { type: null, required: false }
10
10
  });
11
11
  const delegatedProps = reactiveOmit(props, "class", "una");
@@ -2,7 +2,7 @@
2
2
  import { AlertDialogTrigger } from "reka-ui";
3
3
  const props = defineProps({
4
4
  asChild: { type: Boolean, required: false },
5
- as: { type: [String, Object, Function], required: false }
5
+ as: { type: null, required: false }
6
6
  });
7
7
  </script>
8
8
 
@@ -7,7 +7,7 @@ const props = defineProps({
7
7
  una: { type: Object, required: false },
8
8
  ratio: { type: Number, required: false },
9
9
  asChild: { type: Boolean, required: false },
10
- as: { type: [String, Object, Function], required: false },
10
+ as: { type: null, required: false },
11
11
  class: { type: null, required: false },
12
12
  rounded: { type: null, required: false, default: "md" }
13
13
  });
@@ -1,13 +1,13 @@
1
1
  import type { NAspectRatioProps } from '../../types/aspect-ratio.js';
2
2
  declare var __VLS_6: {
3
- aspect: any;
3
+ aspect: number;
4
4
  };
5
5
  type __VLS_Slots = {} & {
6
6
  default?: (props: typeof __VLS_6) => any;
7
7
  };
8
8
  declare const __VLS_component: import("vue").DefineComponent<NAspectRatioProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NAspectRatioProps> & Readonly<{}>, {
9
- aspectRatio: string;
10
9
  rounded: import("vue").HTMLAttributes["class"];
10
+ aspectRatio: string;
11
11
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
12
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
13
13
  export default _default;
@@ -48,13 +48,14 @@ const props = defineProps({
48
48
  openOnFocus: { type: Boolean, required: false },
49
49
  openOnClick: { type: Boolean, required: false },
50
50
  ignoreFilter: { type: Boolean, required: false },
51
+ resetModelValueOnClear: { type: Boolean, required: false },
51
52
  defaultValue: { type: null, required: false },
52
53
  dir: { type: String, required: false },
53
54
  disabled: { type: Boolean, required: false },
54
55
  highlightOnHover: { type: Boolean, required: false },
55
56
  by: { type: [String, Function], required: false },
56
57
  asChild: { type: Boolean, required: false },
57
- as: { type: [String, Object, Function], required: false },
58
+ as: { type: null, required: false },
58
59
  name: { type: String, required: false },
59
60
  required: { type: Boolean, required: false },
60
61
  status: { type: String, required: false },
@@ -1,5 +1,5 @@
1
1
  import type { AcceptableValue } from 'reka-ui';
2
- import type { ExtractItemType, NComboboxProps } from '../../types/index.js';
2
+ import type { ExtractItemType, NComboboxGroupProps, NComboboxProps } from '../../types/index.js';
3
3
  declare const _default: <T extends AcceptableValue, 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<{
4
4
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
5
  readonly "onUpdate:modelValue"?: ((value: ExtractItemType<T>) => any) | undefined;
@@ -19,20 +19,20 @@ declare const _default: <T extends AcceptableValue, M extends boolean = false>(_
19
19
  'trigger-wrapper'?: (props: {}) => any;
20
20
  } & {
21
21
  trigger?: (props: {
22
- modelValue: any;
23
- open: any;
22
+ modelValue: (M extends true ? ExtractItemType<T>[] : ExtractItemType<T>) | null | undefined;
23
+ open: boolean | undefined;
24
24
  }) => any;
25
25
  } & {
26
26
  'input-wrapper'?: (props: {
27
- modelValue: any;
28
- open: any;
27
+ modelValue: (M extends true ? ExtractItemType<T>[] : ExtractItemType<T>) | null | undefined;
28
+ open: boolean | undefined;
29
29
  }) => any;
30
30
  } & {
31
31
  list?: (props: {}) => any;
32
32
  } & {
33
33
  'input-wrapper'?: (props: {
34
- modelValue: any;
35
- open: any;
34
+ modelValue: (M extends true ? ExtractItemType<T>[] : ExtractItemType<T>) | null | undefined;
35
+ open: boolean | undefined;
36
36
  }) => any;
37
37
  } & {
38
38
  header?: (props: {}) => any;
@@ -44,34 +44,34 @@ declare const _default: <T extends AcceptableValue, M extends boolean = false>(_
44
44
  group?: (props: {}) => any;
45
45
  } & {
46
46
  item?: (props: {
47
- item: any;
48
- selected: any;
47
+ item: ExtractItemType<T>;
48
+ selected: boolean;
49
49
  }) => any;
50
50
  } & {
51
51
  label?: (props: {
52
- item: any;
52
+ item: ExtractItemType<T>;
53
53
  }) => any;
54
54
  } & {
55
55
  'item-indicator'?: (props: {
56
- item: any;
56
+ item: ExtractItemType<T>;
57
57
  }) => any;
58
58
  } & {
59
59
  group?: (props: {
60
- group: any;
60
+ group: NComboboxGroupProps<ExtractItemType<T>>;
61
61
  }) => any;
62
62
  } & {
63
63
  item?: (props: {
64
- item: any;
65
- group: any;
66
- selected: any;
64
+ item: ExtractItemType<T>;
65
+ group: NComboboxGroupProps<ExtractItemType<T>>;
66
+ selected: boolean;
67
67
  }) => any;
68
68
  } & {
69
69
  label?: (props: {
70
- item: any;
70
+ item: ExtractItemType<T>;
71
71
  }) => any;
72
72
  } & {
73
73
  indicator?: (props: {
74
- item: any;
74
+ item: ExtractItemType<T>;
75
75
  }) => any;
76
76
  } & {
77
77
  footer?: (props: {}) => any;
@@ -6,7 +6,7 @@ const props = defineProps({
6
6
  una: { type: Object, required: false },
7
7
  reference: { type: null, required: false },
8
8
  asChild: { type: Boolean, required: false },
9
- as: { type: [String, Object, Function], required: false },
9
+ as: { type: null, required: false },
10
10
  class: { type: null, required: false },
11
11
  size: { type: null, required: false }
12
12
  });
@@ -5,7 +5,7 @@ import { cn } from "../../utils";
5
5
  const props = defineProps({
6
6
  una: { type: Object, required: false },
7
7
  asChild: { type: Boolean, required: false },
8
- as: { type: [String, Object, Function], required: false },
8
+ as: { type: null, required: false },
9
9
  class: { type: null, required: false },
10
10
  size: { type: null, required: false, default: "sm" }
11
11
  });
@@ -14,7 +14,7 @@ const props = defineProps({
14
14
  _comboboxLabel: { type: Object, required: false },
15
15
  una: { type: Object, required: false },
16
16
  asChild: { type: Boolean, required: false },
17
- as: { type: [String, Object, Function], required: false },
17
+ as: { type: null, required: false },
18
18
  class: { type: null, required: false },
19
19
  size: { type: null, required: false }
20
20
  });
@@ -12,7 +12,7 @@ const props = defineProps({
12
12
  autoFocus: { type: Boolean, required: false },
13
13
  disabled: { type: Boolean, required: false },
14
14
  asChild: { type: Boolean, required: false },
15
- as: { type: [String, Object, Function], required: false },
15
+ as: { type: null, required: false },
16
16
  type: { type: null, required: false },
17
17
  status: { type: String, required: false },
18
18
  loading: { type: Boolean, required: false },
@@ -1,4 +1,4 @@
1
- declare var __VLS_12: any, __VLS_13: any;
1
+ declare var __VLS_12: string | number, __VLS_13: any;
2
2
  type __VLS_Slots = {} & {
3
3
  [K in NonNullable<typeof __VLS_12>]?: (props: typeof __VLS_13) => any;
4
4
  };
@@ -8,7 +8,7 @@ const props = defineProps({
8
8
  value: { type: null, required: true },
9
9
  disabled: { type: Boolean, required: false },
10
10
  asChild: { type: Boolean, required: false },
11
- as: { type: [String, Object, Function], required: false },
11
+ as: { type: null, required: false },
12
12
  class: { type: null, required: false },
13
13
  size: { type: null, required: false, default: "sm" }
14
14
  });
@@ -6,7 +6,7 @@ const props = defineProps({
6
6
  icon: { type: null, required: false, default: "combobox-item-indicator-icon-name" },
7
7
  una: { type: Object, required: false },
8
8
  asChild: { type: Boolean, required: false },
9
- as: { type: [String, Object, Function], required: false },
9
+ as: { type: null, required: false },
10
10
  class: { type: null, required: false },
11
11
  size: { type: null, required: false }
12
12
  });
@@ -6,7 +6,7 @@ const props = defineProps({
6
6
  una: { type: Object, required: false },
7
7
  for: { type: String, required: false },
8
8
  asChild: { type: Boolean, required: false },
9
- as: { type: [String, Object, Function], required: false },
9
+ as: { type: null, required: false },
10
10
  class: { type: null, required: false },
11
11
  size: { type: null, required: false }
12
12
  });
@@ -29,7 +29,7 @@ const props = defineProps({
29
29
  prioritizePosition: { type: Boolean, required: false },
30
30
  reference: { type: null, required: false },
31
31
  asChild: { type: Boolean, required: false },
32
- as: { type: [String, Object, Function], required: false },
32
+ as: { type: null, required: false },
33
33
  disableOutsidePointerEvents: { type: Boolean, required: false },
34
34
  class: { type: null, required: false },
35
35
  size: { type: null, required: false }
@@ -5,7 +5,7 @@ import { cn } from "../../utils";
5
5
  const props = defineProps({
6
6
  una: { type: Object, required: false },
7
7
  asChild: { type: Boolean, required: false },
8
- as: { type: [String, Object, Function], required: false },
8
+ as: { type: null, required: false },
9
9
  class: { type: null, required: false },
10
10
  size: { type: null, required: false }
11
11
  });
@@ -11,7 +11,7 @@ const props = defineProps({
11
11
  una: { type: Object, required: false },
12
12
  disabled: { type: Boolean, required: false },
13
13
  asChild: { type: Boolean, required: false },
14
- as: { type: [String, Object, Function], required: false },
14
+ as: { type: null, required: false },
15
15
  type: { type: String, required: false },
16
16
  loadingPlacement: { type: String, required: false },
17
17
  icon: { type: Boolean, required: false },
@@ -1,5 +1,5 @@
1
1
  import type { NComboboxTriggerProps } from '../../types/index.js';
2
- declare var __VLS_6: {}, __VLS_12: any, __VLS_13: any;
2
+ declare var __VLS_6: {}, __VLS_12: string | number, __VLS_13: any;
3
3
  type __VLS_Slots = {} & {
4
4
  [K in NonNullable<typeof __VLS_12>]?: (props: typeof __VLS_13) => any;
5
5
  } & {
@@ -6,7 +6,7 @@ const props = defineProps({
6
6
  una: { type: Object, required: false },
7
7
  nonce: { type: String, required: false },
8
8
  asChild: { type: Boolean, required: false },
9
- as: { type: [String, Object, Function], required: false },
9
+ as: { type: null, required: false },
10
10
  class: { type: null, required: false },
11
11
  size: { type: null, required: false }
12
12
  });
@@ -6,7 +6,7 @@ const props = defineProps({
6
6
  class: { type: null, required: false },
7
7
  una: { type: Object, required: false },
8
8
  asChild: { type: Boolean, required: false },
9
- as: { type: [String, Object, Function], required: false, default: "tbody" }
9
+ as: { type: null, required: false, default: "tbody" }
10
10
  });
11
11
  const rootProps = reactiveOmit(props, ["una", "class"]);
12
12
  </script>
@@ -6,7 +6,7 @@ const props = defineProps({
6
6
  class: { type: null, required: false },
7
7
  una: { type: Object, required: false },
8
8
  asChild: { type: Boolean, required: false },
9
- as: { type: [String, Object, Function], required: false, default: "caption" }
9
+ as: { type: null, required: false, default: "caption" }
10
10
  });
11
11
  const rootProps = reactiveOmit(props, ["una", "class"]);
12
12
  </script>
@@ -7,7 +7,7 @@ const props = defineProps({
7
7
  dataPinned: { type: [String, Boolean], required: false },
8
8
  una: { type: Object, required: false },
9
9
  asChild: { type: Boolean, required: false },
10
- as: { type: [String, Object, Function], required: false, default: "td" }
10
+ as: { type: null, required: false, default: "td" }
11
11
  });
12
12
  const rootProps = reactiveOmit(props, ["una", "class"]);
13
13
  </script>
@@ -6,7 +6,7 @@ const props = defineProps({
6
6
  class: { type: null, required: false },
7
7
  una: { type: Object, required: false },
8
8
  asChild: { type: Boolean, required: false },
9
- as: { type: [String, Object, Function], required: false, default: "tfoot" }
9
+ as: { type: null, required: false, default: "tfoot" }
10
10
  });
11
11
  const rootProps = reactiveOmit(props, ["una", "class"]);
12
12
  </script>
@@ -7,7 +7,7 @@ const props = defineProps({
7
7
  dataPinned: { type: [String, Boolean], required: false },
8
8
  una: { type: Object, required: false },
9
9
  asChild: { type: Boolean, required: false },
10
- as: { type: [String, Object, Function], required: false, default: "th" }
10
+ as: { type: null, required: false, default: "th" }
11
11
  });
12
12
  const rootProps = reactiveOmit(props, ["una", "class"]);
13
13
  </script>
@@ -6,7 +6,7 @@ const props = defineProps({
6
6
  class: { type: null, required: false },
7
7
  una: { type: Object, required: false },
8
8
  asChild: { type: Boolean, required: false },
9
- as: { type: [String, Object, Function], required: false, default: "thead" }
9
+ as: { type: null, required: false, default: "thead" }
10
10
  });
11
11
  const rootProps = reactiveOmit(props, ["una", "class"]);
12
12
  </script>
@@ -6,7 +6,7 @@ const props = defineProps({
6
6
  class: { type: null, required: false },
7
7
  una: { type: Object, required: false },
8
8
  asChild: { type: Boolean, required: false },
9
- as: { type: [String, Object, Function], required: false, default: "tr" }
9
+ as: { type: null, required: false, default: "tr" }
10
10
  });
11
11
  const rootProps = reactiveOmit(props, ["una", "class"]);
12
12
  </script>
@@ -1,6 +1,6 @@
1
1
  import type { NDrawerProps } from '../../types/index.js';
2
2
  declare var __VLS_6: {}, __VLS_11: {
3
- open: any;
3
+ open: boolean;
4
4
  }, __VLS_26: {}, __VLS_31: {}, __VLS_36: {}, __VLS_41: {}, __VLS_43: {}, __VLS_48: {}, __VLS_53: {};
5
5
  type __VLS_Slots = {} & {
6
6
  default?: (props: typeof __VLS_6) => any;
@@ -2,7 +2,7 @@
2
2
  import { DrawerClose } from "vaul-vue";
3
3
  const props = defineProps({
4
4
  asChild: { type: Boolean, required: false },
5
- as: { type: [String, Object, Function], required: false },
5
+ as: { type: null, required: false },
6
6
  type: { type: String, required: false },
7
7
  loadingPlacement: { type: String, required: false },
8
8
  icon: { type: Boolean, required: false },
@@ -16,7 +16,7 @@ const props = defineProps({
16
16
  forceMount: { type: Boolean, required: false },
17
17
  disableOutsidePointerEvents: { type: Boolean, required: false },
18
18
  asChild: { type: Boolean, required: false },
19
- as: { type: [String, Object, Function], required: false },
19
+ as: { type: null, required: false },
20
20
  class: { type: null, required: false }
21
21
  });
22
22
  const emits = defineEmits(["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"]);
@@ -5,7 +5,7 @@ import { cn } from "../../utils";
5
5
  const props = defineProps({
6
6
  una: { type: Object, required: false },
7
7
  asChild: { type: Boolean, required: false },
8
- as: { type: [String, Object, Function], required: false },
8
+ as: { type: null, required: false },
9
9
  class: { type: null, required: false }
10
10
  });
11
11
  const delegatedProps = reactiveOmit(props, ["class"]);
@@ -7,7 +7,7 @@ const props = defineProps({
7
7
  class: { type: null, required: false },
8
8
  forceMount: { type: Boolean, required: false },
9
9
  asChild: { type: Boolean, required: false },
10
- as: { type: [String, Object, Function], required: false }
10
+ as: { type: null, required: false }
11
11
  });
12
12
  const delegatedProps = reactiveOmit(props, ["class"]);
13
13
  </script>
@@ -5,7 +5,7 @@ import { cn } from "../../utils";
5
5
  const props = defineProps({
6
6
  una: { type: Object, required: false },
7
7
  asChild: { type: Boolean, required: false },
8
- as: { type: [String, Object, Function], required: false },
8
+ as: { type: null, required: false },
9
9
  class: { type: null, required: false }
10
10
  });
11
11
  const delegatedProps = reactiveOmit(props, ["class"]);
@@ -2,7 +2,7 @@
2
2
  import { DrawerTrigger } from "vaul-vue";
3
3
  const props = defineProps({
4
4
  asChild: { type: Boolean, required: false },
5
- as: { type: [String, Object, Function], required: false }
5
+ as: { type: null, required: false }
6
6
  });
7
7
  </script>
8
8
 
@@ -6,7 +6,11 @@ type __VLS_Slots = {
6
6
  icon?: any;
7
7
  closeIcon?: any;
8
8
  };
9
- declare const __VLS_component: import("vue").DefineComponent<NAlertProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
9
+ declare const __VLS_component: import("vue").DefineComponent<NAlertProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ close: (...args: any[]) => void;
11
+ }, string, import("vue").PublicProps, Readonly<NAlertProps> & Readonly<{
12
+ onClose?: ((...args: any[]) => any) | undefined;
13
+ }>, {
10
14
  icon: string | boolean;
11
15
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
16
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -17,7 +17,7 @@ const props = defineProps({
17
17
  rounded: { type: null, required: false },
18
18
  avatar: { type: null, required: false },
19
19
  asChild: { type: Boolean, required: false },
20
- as: { type: [String, Object, Function], required: false, default: "div" },
20
+ as: { type: null, required: false, default: "div" },
21
21
  icon: { type: Boolean, required: false },
22
22
  delayMs: { type: Number, required: false },
23
23
  referrerPolicy: { type: null, required: false },
@@ -3,7 +3,11 @@ declare var __VLS_4: {};
3
3
  type __VLS_Slots = {} & {
4
4
  default?: (props: typeof __VLS_4) => any;
5
5
  };
6
- declare const __VLS_component: import("vue").DefineComponent<NBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
6
+ declare const __VLS_component: import("vue").DefineComponent<NBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ close: (...args: any[]) => void;
8
+ }, string, import("vue").PublicProps, Readonly<NBadgeProps> & Readonly<{
9
+ onClose?: ((...args: any[]) => any) | undefined;
10
+ }>, {
7
11
  una: {
8
12
  badgeDefaultVariant?: string;
9
13
  badge?: string;
@@ -10,6 +10,9 @@ type __VLS_Slots = {} & {
10
10
  trailing?: (props: typeof __VLS_37) => any;
11
11
  };
12
12
  declare const __VLS_component: import("vue").DefineComponent<NButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NButtonProps> & Readonly<{}>, {
13
+ type: "button" | "submit" | "reset";
14
+ loadingPlacement: "leading" | "trailing" | "label";
15
+ size: string;
13
16
  una: {
14
17
  btnDefaultVariant?: string;
15
18
  btn?: string;
@@ -21,9 +24,6 @@ declare const __VLS_component: import("vue").DefineComponent<NButtonProps, {}, {
21
24
  btnLoadingIcon?: string;
22
25
  };
23
26
  rounded: import("vue").HTMLAttributes["class"];
24
- size: string;
25
- type: "button" | "submit" | "reset";
26
- loadingPlacement: "leading" | "trailing" | "label";
27
27
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
28
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
29
29
  export default _default;
@@ -7,7 +7,7 @@ const props = defineProps({
7
7
  class: { type: null, required: false },
8
8
  for: { type: String, required: false },
9
9
  asChild: { type: Boolean, required: false },
10
- as: { type: [String, Object, Function], required: false }
10
+ as: { type: null, required: false }
11
11
  });
12
12
  const rootProps = reactiveOmit(props, ["label", "class"]);
13
13
  </script>
@@ -15,7 +15,7 @@ const props = defineProps({
15
15
  getValueLabel: { type: Function, required: false },
16
16
  getValueText: { type: Function, required: false },
17
17
  asChild: { type: Boolean, required: false },
18
- as: { type: [String, Object, Function], required: false },
18
+ as: { type: null, required: false },
19
19
  class: { type: null, required: false }
20
20
  });
21
21
  const delegatedProps = reactiveOmit(props, ["class"]);