@una-ui/nuxt 0.60.1 → 0.62.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 (190) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +1 -1
  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/AlertDialogCancel.vue +1 -1
  6. package/dist/runtime/components/alert-dialog/AlertDialogContent.vue +1 -2
  7. package/dist/runtime/components/alert-dialog/AlertDialogDescription.vue +1 -1
  8. package/dist/runtime/components/alert-dialog/AlertDialogOverlay.vue +1 -1
  9. package/dist/runtime/components/alert-dialog/AlertDialogTitle.vue +1 -1
  10. package/dist/runtime/components/alert-dialog/AlertDialogTrigger.vue +1 -1
  11. package/dist/runtime/components/aspect-ratio/AspectRatio.vue +1 -1
  12. package/dist/runtime/components/aspect-ratio/AspectRatio.vue.d.ts +2 -2
  13. package/dist/runtime/components/combobox/Combobox.vue +1 -1
  14. package/dist/runtime/components/combobox/Combobox.vue.d.ts +6 -6
  15. package/dist/runtime/components/combobox/ComboboxAnchor.vue +1 -1
  16. package/dist/runtime/components/combobox/ComboboxEmpty.vue +1 -1
  17. package/dist/runtime/components/combobox/ComboboxGroup.vue +1 -1
  18. package/dist/runtime/components/combobox/ComboboxInput.vue +1 -1
  19. package/dist/runtime/components/combobox/ComboboxItem.vue +1 -1
  20. package/dist/runtime/components/combobox/ComboboxItemIndicator.vue +1 -1
  21. package/dist/runtime/components/combobox/ComboboxLabel.vue +1 -1
  22. package/dist/runtime/components/combobox/ComboboxList.vue +1 -1
  23. package/dist/runtime/components/combobox/ComboboxSeparator.vue +1 -1
  24. package/dist/runtime/components/combobox/ComboboxTrigger.vue +1 -1
  25. package/dist/runtime/components/combobox/ComboboxViewport.vue +1 -1
  26. package/dist/runtime/components/data/table/Table.vue +5 -1
  27. package/dist/runtime/components/data/table/TableBody.vue +1 -1
  28. package/dist/runtime/components/data/table/TableCaption.vue +1 -1
  29. package/dist/runtime/components/data/table/TableCell.vue +1 -1
  30. package/dist/runtime/components/data/table/TableEmpty.vue +17 -9
  31. package/dist/runtime/components/data/table/TableEmpty.vue.d.ts +4 -0
  32. package/dist/runtime/components/data/table/TableFooter.vue +1 -1
  33. package/dist/runtime/components/data/table/TableHead.vue +1 -1
  34. package/dist/runtime/components/data/table/TableHeader.vue +1 -1
  35. package/dist/runtime/components/data/table/TableRow.vue +1 -1
  36. package/dist/runtime/components/drawer/Drawer.vue.d.ts +1 -1
  37. package/dist/runtime/components/drawer/DrawerClose.vue +1 -1
  38. package/dist/runtime/components/drawer/DrawerContent.vue +1 -2
  39. package/dist/runtime/components/drawer/DrawerDescription.vue +1 -1
  40. package/dist/runtime/components/drawer/DrawerOverlay.vue +1 -1
  41. package/dist/runtime/components/drawer/DrawerTitle.vue +1 -1
  42. package/dist/runtime/components/drawer/DrawerTrigger.vue +1 -1
  43. package/dist/runtime/components/elements/AvatarGroup.vue +1 -1
  44. package/dist/runtime/components/elements/Button.vue.d.ts +3 -3
  45. package/dist/runtime/components/elements/Label.vue +1 -1
  46. package/dist/runtime/components/elements/Progress.vue +1 -1
  47. package/dist/runtime/components/elements/Progress.vue.d.ts +1 -1
  48. package/dist/runtime/components/elements/Separator.vue +1 -1
  49. package/dist/runtime/components/elements/Toggle.vue +1 -1
  50. package/dist/runtime/components/elements/avatar/Avatar.vue +1 -1
  51. package/dist/runtime/components/elements/avatar/Avatar.vue.d.ts +2 -2
  52. package/dist/runtime/components/elements/avatar/AvatarFallback.vue +1 -1
  53. package/dist/runtime/components/elements/avatar/AvatarImage.vue +1 -1
  54. package/dist/runtime/components/elements/collapsible/Collapsible.vue +1 -1
  55. package/dist/runtime/components/elements/collapsible/Collapsible.vue.d.ts +2 -2
  56. package/dist/runtime/components/elements/collapsible/CollapsibleContent.vue +1 -1
  57. package/dist/runtime/components/elements/collapsible/CollapsibleTrigger.vue +1 -1
  58. package/dist/runtime/components/elements/dialog/Dialog.vue.d.ts +1 -1
  59. package/dist/runtime/components/elements/dialog/DialogClose.vue +1 -1
  60. package/dist/runtime/components/elements/dialog/DialogClose.vue.d.ts +1 -1
  61. package/dist/runtime/components/elements/dialog/DialogContent.vue +1 -2
  62. package/dist/runtime/components/elements/dialog/DialogDescription.vue +1 -1
  63. package/dist/runtime/components/elements/dialog/DialogScrollContent.vue +1 -2
  64. package/dist/runtime/components/elements/dialog/DialogTitle.vue +1 -1
  65. package/dist/runtime/components/elements/dropdown-menu/DropdownMenu.vue +1 -1
  66. package/dist/runtime/components/elements/dropdown-menu/DropdownMenu.vue.d.ts +1 -1
  67. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuContent.vue +1 -1
  68. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuGroup.vue +1 -1
  69. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue +1 -1
  70. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue.d.ts +1 -1
  71. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuLabel.vue +1 -1
  72. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSeparator.vue +1 -1
  73. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubContent.vue +1 -1
  74. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubTrigger.vue +1 -1
  75. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuTrigger.vue +1 -1
  76. package/dist/runtime/components/elements/pagination/Pagination.vue +1 -1
  77. package/dist/runtime/components/elements/pagination/Pagination.vue.d.ts +2 -5
  78. package/dist/runtime/components/elements/pagination/PaginationEllipsis.vue +1 -1
  79. package/dist/runtime/components/elements/pagination/PaginationFirst.vue +1 -1
  80. package/dist/runtime/components/elements/pagination/PaginationFirst.vue.d.ts +1 -1
  81. package/dist/runtime/components/elements/pagination/PaginationLast.vue +1 -1
  82. package/dist/runtime/components/elements/pagination/PaginationLast.vue.d.ts +1 -1
  83. package/dist/runtime/components/elements/pagination/PaginationListItem.vue +1 -1
  84. package/dist/runtime/components/elements/pagination/PaginationNext.vue +1 -1
  85. package/dist/runtime/components/elements/pagination/PaginationNext.vue.d.ts +1 -1
  86. package/dist/runtime/components/elements/pagination/PaginationPrev.vue +1 -1
  87. package/dist/runtime/components/elements/pagination/PaginationPrev.vue.d.ts +1 -1
  88. package/dist/runtime/components/elements/popover/Popover.vue.d.ts +1 -1
  89. package/dist/runtime/components/elements/popover/PopoverContent.vue +1 -1
  90. package/dist/runtime/components/elements/tabs/Tabs.vue +1 -1
  91. package/dist/runtime/components/elements/tabs/TabsContent.vue +1 -1
  92. package/dist/runtime/components/elements/tabs/TabsList.vue +1 -1
  93. package/dist/runtime/components/elements/tabs/TabsTrigger.vue +1 -1
  94. package/dist/runtime/components/elements/tooltip/TooltipContent.vue +1 -1
  95. package/dist/runtime/components/elements/tooltip/TooltipTrigger.vue +1 -1
  96. package/dist/runtime/components/forms/Checkbox.vue +1 -1
  97. package/dist/runtime/components/forms/FormGroup.vue +1 -1
  98. package/dist/runtime/components/forms/Input.vue.d.ts +6 -6
  99. package/dist/runtime/components/forms/Slider.vue +1 -1
  100. package/dist/runtime/components/forms/Switch.vue +1 -1
  101. package/dist/runtime/components/forms/Switch.vue.d.ts +2 -2
  102. package/dist/runtime/components/forms/form/FormField.vue +1 -1
  103. package/dist/runtime/components/forms/form/FormLabel.vue +1 -1
  104. package/dist/runtime/components/forms/radio-group/RadioGroup.vue +1 -1
  105. package/dist/runtime/components/forms/radio-group/RadioGroup.vue.d.ts +1 -1
  106. package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue +1 -1
  107. package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue.d.ts +1 -1
  108. package/dist/runtime/components/forms/select/Select.vue.d.ts +8 -8
  109. package/dist/runtime/components/forms/select/SelectContent.vue +1 -1
  110. package/dist/runtime/components/forms/select/SelectGroup.vue +1 -1
  111. package/dist/runtime/components/forms/select/SelectItem.vue +1 -1
  112. package/dist/runtime/components/forms/select/SelectItemIndicator.vue +1 -1
  113. package/dist/runtime/components/forms/select/SelectItemText.vue +1 -1
  114. package/dist/runtime/components/forms/select/SelectLabel.vue +1 -1
  115. package/dist/runtime/components/forms/select/SelectScrollDownButton.vue +1 -1
  116. package/dist/runtime/components/forms/select/SelectScrollUpButton.vue +1 -1
  117. package/dist/runtime/components/forms/select/SelectSeparator.vue +1 -1
  118. package/dist/runtime/components/forms/select/SelectTrigger.vue +1 -1
  119. package/dist/runtime/components/forms/select/SelectValue.vue +1 -1
  120. package/dist/runtime/components/hover-card/HoverCard.vue +1 -1
  121. package/dist/runtime/components/hover-card/HoverCard.vue.d.ts +1 -1
  122. package/dist/runtime/components/hover-card/HoverCardArrow.vue +1 -1
  123. package/dist/runtime/components/hover-card/HoverCardContent.vue +1 -1
  124. package/dist/runtime/components/hover-card/HoverCardTrigger.vue +1 -1
  125. package/dist/runtime/components/misc/ThemeSwitcher.vue.d.ts +1 -1
  126. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbEllipsis.vue.d.ts +1 -1
  127. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbSeparator.vue.d.ts +1 -1
  128. package/dist/runtime/components/navigation-menu/NavigationMenu.vue +1 -1
  129. package/dist/runtime/components/navigation-menu/NavigationMenu.vue.d.ts +1 -1
  130. package/dist/runtime/components/navigation-menu/NavigationMenuContent.vue +1 -1
  131. package/dist/runtime/components/navigation-menu/NavigationMenuContentItem.vue +1 -1
  132. package/dist/runtime/components/navigation-menu/NavigationMenuIndicator.vue +1 -1
  133. package/dist/runtime/components/navigation-menu/NavigationMenuItem.vue +1 -1
  134. package/dist/runtime/components/navigation-menu/NavigationMenuLink.vue +1 -1
  135. package/dist/runtime/components/navigation-menu/NavigationMenuLink.vue.d.ts +1 -1
  136. package/dist/runtime/components/navigation-menu/NavigationMenuList.vue +1 -1
  137. package/dist/runtime/components/navigation-menu/NavigationMenuTrigger.vue +1 -1
  138. package/dist/runtime/components/navigation-menu/NavigationMenuTrigger.vue.d.ts +1 -1
  139. package/dist/runtime/components/navigation-menu/NavigationMenuViewport.vue +1 -1
  140. package/dist/runtime/components/number-field/NumberField.vue +1 -1
  141. package/dist/runtime/components/number-field/NumberField.vue.d.ts +1 -1
  142. package/dist/runtime/components/number-field/NumberFieldDecrement.vue +1 -1
  143. package/dist/runtime/components/number-field/NumberFieldDecrement.vue.d.ts +1 -1
  144. package/dist/runtime/components/number-field/NumberFieldIncrement.vue +1 -1
  145. package/dist/runtime/components/number-field/NumberFieldIncrement.vue.d.ts +1 -1
  146. package/dist/runtime/components/number-field/NumberFieldInput.vue +1 -1
  147. package/dist/runtime/components/overlays/toast/Toast.vue +1 -1
  148. package/dist/runtime/components/overlays/toast/ToastAction.vue +1 -1
  149. package/dist/runtime/components/overlays/toast/ToastAction.vue.d.ts +1 -1
  150. package/dist/runtime/components/overlays/toast/ToastClose.vue +1 -1
  151. package/dist/runtime/components/overlays/toast/ToastDescription.vue +1 -1
  152. package/dist/runtime/components/overlays/toast/ToastTitle.vue +1 -1
  153. package/dist/runtime/components/overlays/toast/ToastViewport.vue +1 -1
  154. package/dist/runtime/components/pin-input/PinInput.vue +139 -0
  155. package/dist/runtime/components/pin-input/PinInput.vue.d.ts +33 -0
  156. package/dist/runtime/components/pin-input/PinInputGroup.vue +28 -0
  157. package/dist/runtime/components/pin-input/PinInputGroup.vue.d.ts +13 -0
  158. package/dist/runtime/components/pin-input/PinInputSeparator.vue +30 -0
  159. package/dist/runtime/components/pin-input/PinInputSeparator.vue.d.ts +15 -0
  160. package/dist/runtime/components/pin-input/PinInputSlot.vue +46 -0
  161. package/dist/runtime/components/pin-input/PinInputSlot.vue.d.ts +5 -0
  162. package/dist/runtime/components/resizable/ResizableHandle.vue +1 -1
  163. package/dist/runtime/components/resizable/ResizablePanel.vue +1 -1
  164. package/dist/runtime/components/resizable/ResizablePanel.vue.d.ts +1 -7
  165. package/dist/runtime/components/resizable/ResizablePanelGroup.vue +1 -1
  166. package/dist/runtime/components/resizable/ResizablePanelGroup.vue.d.ts +1 -3
  167. package/dist/runtime/components/scroll-area/ScrollArea.vue +1 -1
  168. package/dist/runtime/components/scroll-area/ScrollArea.vue.d.ts +1 -1
  169. package/dist/runtime/components/scroll-area/ScrollBar.vue +1 -1
  170. package/dist/runtime/components/sheet/Sheet.vue.d.ts +1 -1
  171. package/dist/runtime/components/sheet/SheetClose.vue +1 -1
  172. package/dist/runtime/components/sheet/SheetContent.vue +1 -2
  173. package/dist/runtime/components/sheet/SheetDescription.vue +1 -1
  174. package/dist/runtime/components/sheet/SheetTitle.vue +1 -1
  175. package/dist/runtime/components/sheet/SheetTrigger.vue +1 -1
  176. package/dist/runtime/components/sidebar/SidebarGroupAction.vue +1 -1
  177. package/dist/runtime/components/sidebar/SidebarGroupLabel.vue +1 -1
  178. package/dist/runtime/components/sidebar/SidebarMenuAction.vue +1 -1
  179. package/dist/runtime/components/sidebar/SidebarMenuButton.vue +2 -2
  180. package/dist/runtime/components/sidebar/SidebarMenuButton.vue.d.ts +1 -1
  181. package/dist/runtime/components/sidebar/SidebarMenuButtonChild.vue +1 -1
  182. package/dist/runtime/components/sidebar/SidebarMenuButtonChild.vue.d.ts +1 -1
  183. package/dist/runtime/components/sidebar/SidebarMenuSubButton.vue +1 -1
  184. package/dist/runtime/components/sidebar/SidebarMenuSubButton.vue.d.ts +1 -1
  185. package/dist/runtime/types/index.d.ts +1 -0
  186. package/dist/runtime/types/index.js +1 -0
  187. package/dist/runtime/types/pin-input.d.ts +88 -0
  188. package/dist/runtime/types/pin-input.js +0 -0
  189. package/dist/runtime/types/table.d.ts +16 -3
  190. package/package.json +9 -9
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@una-ui/nuxt",
3
3
  "configKey": "una",
4
- "version": "0.60.1",
4
+ "version": "0.62.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.60.1";
11
+ const version = "0.62.0";
12
12
 
13
13
  const module = defineNuxtModule({
14
14
  meta: {
@@ -1,6 +1,6 @@
1
1
  import type { NAlertDialogProps } from '../../types/index.js';
2
2
  declare var __VLS_6: {}, __VLS_11: {
3
- open: boolean;
3
+ open: any;
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 },
@@ -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 },
@@ -19,10 +19,9 @@ const props = defineProps({
19
19
  _alertDialogOverlay: { type: Object, required: false },
20
20
  una: { type: Object, required: false },
21
21
  forceMount: { type: Boolean, required: false },
22
- trapFocus: { type: Boolean, required: false },
23
22
  disableOutsidePointerEvents: { type: Boolean, required: false },
24
23
  asChild: { type: Boolean, required: false },
25
- as: { type: [String, Object, Function], required: false },
24
+ as: { type: null, required: false },
26
25
  class: { type: null, required: false }
27
26
  });
28
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: number;
3
+ aspect: any;
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
- rounded: import("vue").HTMLAttributes["class"];
10
9
  aspectRatio: string;
10
+ rounded: import("vue").HTMLAttributes["class"];
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;
@@ -52,7 +52,7 @@ const props = defineProps({
52
52
  highlightOnHover: { type: Boolean, required: false },
53
53
  by: { type: [String, Function], required: false },
54
54
  asChild: { type: Boolean, required: false },
55
- as: { type: [String, Object, Function], required: false },
55
+ as: { type: null, required: false },
56
56
  name: { type: String, required: false },
57
57
  required: { type: Boolean, required: false },
58
58
  status: { type: String, required: false },
@@ -19,20 +19,20 @@ declare const _default: <T extends AcceptableValue>(__VLS_props: NonNullable<Awa
19
19
  'trigger-wrapper'?: (props: {}) => any;
20
20
  } & {
21
21
  trigger?: (props: {
22
- modelValue: ExtractItemType<T> | ExtractItemType<T>[];
23
- open: boolean;
22
+ modelValue: any;
23
+ open: any;
24
24
  }) => any;
25
25
  } & {
26
26
  'input-wrapper'?: (props: {
27
- modelValue: ExtractItemType<T> | ExtractItemType<T>[];
28
- open: boolean;
27
+ modelValue: any;
28
+ open: any;
29
29
  }) => any;
30
30
  } & {
31
31
  list?: (props: {}) => any;
32
32
  } & {
33
33
  'input-wrapper'?: (props: {
34
- modelValue: ExtractItemType<T> | ExtractItemType<T>[];
35
- open: boolean;
34
+ modelValue: any;
35
+ open: any;
36
36
  }) => any;
37
37
  } & {
38
38
  header?: (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 },
@@ -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
  });
@@ -27,7 +27,7 @@ const props = defineProps({
27
27
  prioritizePosition: { type: Boolean, required: false },
28
28
  reference: { type: null, required: false },
29
29
  asChild: { type: Boolean, required: false },
30
- as: { type: [String, Object, Function], required: false },
30
+ as: { type: null, required: false },
31
31
  disableOutsidePointerEvents: { type: Boolean, required: false },
32
32
  class: { type: null, required: false },
33
33
  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 },
@@ -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
  });
@@ -73,7 +73,9 @@ const props = defineProps({
73
73
  getSubRows: { type: Function, required: false },
74
74
  initialState: { type: Object, required: false },
75
75
  mergeOptions: { type: Function, required: false },
76
- meta: { type: Object, required: false }
76
+ meta: { type: Object, required: false },
77
+ emptyText: { type: String, required: false },
78
+ emptyIcon: { type: String, required: false }
77
79
  });
78
80
  const emit = defineEmits(["select", "selectAll", "expand", "row"]);
79
81
  const slots = defineSlots();
@@ -429,6 +431,8 @@ defineExpose({
429
431
  v-else
430
432
  :colspan="table.getAllLeafColumns().length"
431
433
  :una
434
+ :empty-text="props.emptyText"
435
+ :empty-icon="props.emptyIcon"
432
436
  v-bind="props._tableEmpty"
433
437
  >
434
438
  <slot name="empty" />
@@ -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,6 +6,8 @@ import TableRow from "./TableRow.vue";
6
6
  const props = defineProps({
7
7
  class: { type: null, required: false },
8
8
  colspan: { type: Number, required: false, default: 1 },
9
+ emptyText: { type: String, required: false, default: "No results." },
10
+ emptyIcon: { type: String, required: false, default: "table-empty-icon-name" },
9
11
  _tableCell: { type: Object, required: false },
10
12
  _tableRow: { type: Object, required: false },
11
13
  una: { type: Object, required: false }
@@ -40,16 +42,22 @@ const delegatedProps = reactiveOmit(props, ["class"]);
40
42
  v-bind="omitProps(delegatedProps, ['_tableRow', '_tableCell', 'colspan'])"
41
43
  >
42
44
  <slot>
43
- <div class="grid place-items-center gap-4">
44
- <NIcon
45
- name="i-tabler-database-x"
46
- size="2xl"
47
- />
45
+ <NIcon
46
+ :name="props.emptyIcon"
47
+ :class="cn(
48
+ 'table-empty-icon',
49
+ props.una?.tableEmptyIcon
50
+ )"
51
+ />
48
52
 
49
- <span>
50
- No results.
51
- </span>
52
- </div>
53
+ <span
54
+ :class="cn(
55
+ 'table-empty-text',
56
+ props.una?.tableEmptyText
57
+ )"
58
+ >
59
+ {{ props.emptyText }}
60
+ </span>
53
61
  </slot>
54
62
  </div>
55
63
  </TableCell>
@@ -5,8 +5,12 @@ type __VLS_Slots = {} & {
5
5
  };
6
6
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NTableEmptyProps>, {
7
7
  colspan: number;
8
+ emptyText: string;
9
+ emptyIcon: string;
8
10
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NTableEmptyProps>, {
9
11
  colspan: number;
12
+ emptyText: string;
13
+ emptyIcon: string;
10
14
  }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
15
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
12
16
  export default _default;
@@ -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: boolean;
3
+ open: any;
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 },
@@ -14,10 +14,9 @@ const props = defineProps({
14
14
  _drawerOverlay: { type: Object, required: false },
15
15
  una: { type: Object, required: false },
16
16
  forceMount: { type: Boolean, required: false },
17
- trapFocus: { type: Boolean, required: false },
18
17
  disableOutsidePointerEvents: { type: Boolean, required: false },
19
18
  asChild: { type: Boolean, required: false },
20
- as: { type: [String, Object, Function], required: false },
19
+ as: { type: null, required: false },
21
20
  class: { type: null, required: false }
22
21
  });
23
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
 
@@ -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 },
@@ -10,9 +10,6 @@ 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;
16
13
  una: {
17
14
  btnDefaultVariant?: string;
18
15
  btn?: string;
@@ -24,6 +21,9 @@ declare const __VLS_component: import("vue").DefineComponent<NButtonProps, {}, {
24
21
  btnLoadingIcon?: string;
25
22
  };
26
23
  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"]);
@@ -1,6 +1,6 @@
1
1
  import type { NProgressProps } from '../../types/index.js';
2
2
  declare var __VLS_6: {
3
- modelValue: number | null | undefined;
3
+ modelValue: any;
4
4
  };
5
5
  type __VLS_Slots = {} & {
6
6
  default?: (props: typeof __VLS_6) => any;
@@ -10,7 +10,7 @@ const props = defineProps({
10
10
  orientation: { type: String, required: false, default: "horizontal" },
11
11
  decorative: { type: Boolean, required: false },
12
12
  asChild: { type: Boolean, required: false },
13
- as: { type: [String, Object, Function], required: false },
13
+ as: { type: null, required: false },
14
14
  class: { type: null, required: false },
15
15
  label: { type: String, required: false }
16
16
  });
@@ -10,7 +10,7 @@ const props = defineProps({
10
10
  modelValue: { type: [Boolean, null], required: false },
11
11
  disabled: { type: Boolean, required: false },
12
12
  asChild: { type: Boolean, required: false },
13
- as: { type: [String, Object, Function], required: false },
13
+ as: { type: null, required: false },
14
14
  name: { type: String, required: false },
15
15
  required: { type: Boolean, required: false },
16
16
  type: { type: String, required: false },
@@ -17,7 +17,7 @@ const props = defineProps({
17
17
  rounded: { type: null, required: false, default: "full" },
18
18
  avatar: { type: null, required: false, default: "soft" },
19
19
  asChild: { type: Boolean, required: false },
20
- as: { type: [String, Object, Function], required: false, default: "span" },
20
+ as: { type: null, required: false, default: "span" },
21
21
  label: { type: String, required: false },
22
22
  icon: { type: Boolean, required: false },
23
23
  delayMs: { type: Number, required: false },
@@ -6,10 +6,10 @@ type __VLS_Slots = {} & {
6
6
  fallback?: (props: typeof __VLS_14) => any;
7
7
  };
8
8
  declare const __VLS_component: import("vue").DefineComponent<NAvatarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NAvatarProps> & Readonly<{}>, {
9
+ as: import("reka-ui").AsTag | import("vue").Component;
10
+ rounded: import("vue").HTMLAttributes["class"];
9
11
  size: import("vue").HTMLAttributes["class"];
10
12
  square: import("vue").HTMLAttributes["class"];
11
- rounded: import("vue").HTMLAttributes["class"];
12
- as: import("reka-ui").AsTag | import("vue").Component;
13
13
  avatar: import("vue").HTMLAttributes["class"];
14
14
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
15
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -8,7 +8,7 @@ const props = defineProps({
8
8
  una: { type: Object, required: false },
9
9
  delayMs: { type: Number, 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 },
14
14
  square: { type: null, required: false },