@una-ui/nuxt 0.57.0 → 0.59.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 (86) 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.d.ts +1 -1
  5. package/dist/runtime/components/alert-dialog/AlertDialogCancel.vue.d.ts +1 -1
  6. package/dist/runtime/components/aspect-ratio/AspectRatio.vue.d.ts +2 -2
  7. package/dist/runtime/components/combobox/Combobox.vue.d.ts +21 -21
  8. package/dist/runtime/components/combobox/ComboboxInput.vue +2 -0
  9. package/dist/runtime/components/combobox/ComboboxInput.vue.d.ts +1 -1
  10. package/dist/runtime/components/combobox/ComboboxTrigger.vue.d.ts +1 -1
  11. package/dist/runtime/components/data/table/TableBody.vue.d.ts +22 -3
  12. package/dist/runtime/components/data/table/TableCaption.vue.d.ts +22 -3
  13. package/dist/runtime/components/data/table/TableCell.vue.d.ts +22 -3
  14. package/dist/runtime/components/data/table/TableEmpty.vue.d.ts +21 -2
  15. package/dist/runtime/components/data/table/TableFooter.vue.d.ts +22 -3
  16. package/dist/runtime/components/data/table/TableHead.vue.d.ts +22 -3
  17. package/dist/runtime/components/data/table/TableHeader.vue.d.ts +22 -3
  18. package/dist/runtime/components/data/table/TableLoading.vue.d.ts +22 -3
  19. package/dist/runtime/components/data/table/TableRow.vue.d.ts +22 -3
  20. package/dist/runtime/components/drawer/Drawer.vue.d.ts +1 -1
  21. package/dist/runtime/components/elements/Accordion.vue.d.ts +3 -3
  22. package/dist/runtime/components/elements/Alert.vue.d.ts +5 -1
  23. package/dist/runtime/components/elements/Badge.vue.d.ts +5 -1
  24. package/dist/runtime/components/elements/Button.vue.d.ts +3 -3
  25. package/dist/runtime/components/elements/Progress.vue.d.ts +1 -1
  26. package/dist/runtime/components/elements/Toggle.vue.d.ts +1 -1
  27. package/dist/runtime/components/elements/avatar/Avatar.vue.d.ts +2 -2
  28. package/dist/runtime/components/elements/collapsible/Collapsible.vue.d.ts +2 -2
  29. package/dist/runtime/components/elements/dialog/Dialog.vue.d.ts +1 -1
  30. package/dist/runtime/components/elements/dialog/DialogClose.vue.d.ts +1 -1
  31. package/dist/runtime/components/elements/dropdown-menu/DropdownMenu.vue.d.ts +4 -4
  32. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue.d.ts +1 -1
  33. package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +1 -1
  34. package/dist/runtime/components/elements/pagination/Pagination.vue.d.ts +5 -2
  35. package/dist/runtime/components/elements/pagination/PaginationFirst.vue.d.ts +1 -1
  36. package/dist/runtime/components/elements/pagination/PaginationLast.vue.d.ts +1 -1
  37. package/dist/runtime/components/elements/pagination/PaginationListItem.vue.d.ts +1 -1
  38. package/dist/runtime/components/elements/pagination/PaginationNext.vue.d.ts +1 -1
  39. package/dist/runtime/components/elements/pagination/PaginationPrev.vue.d.ts +1 -1
  40. package/dist/runtime/components/elements/popover/Popover.vue.d.ts +1 -1
  41. package/dist/runtime/components/elements/tabs/Tabs.vue.d.ts +1 -1
  42. package/dist/runtime/components/elements/tabs/TabsTrigger.vue.d.ts +1 -1
  43. package/dist/runtime/components/forms/Input.vue +50 -4
  44. package/dist/runtime/components/forms/Input.vue.d.ts +20 -3
  45. package/dist/runtime/components/forms/Switch.vue +7 -6
  46. package/dist/runtime/components/forms/Switch.vue.d.ts +2 -2
  47. package/dist/runtime/components/forms/radio-group/RadioGroup.vue.d.ts +4 -4
  48. package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue.d.ts +1 -1
  49. package/dist/runtime/components/forms/select/Select.vue.d.ts +17 -17
  50. package/dist/runtime/components/hover-card/HoverCard.vue +79 -0
  51. package/dist/runtime/components/hover-card/HoverCard.vue.d.ts +25 -0
  52. package/dist/runtime/components/hover-card/HoverCardArrow.vue +30 -0
  53. package/dist/runtime/components/hover-card/HoverCardArrow.vue.d.ts +6 -0
  54. package/dist/runtime/components/hover-card/HoverCardContent.vue +57 -0
  55. package/dist/runtime/components/hover-card/HoverCardContent.vue.d.ts +15 -0
  56. package/dist/runtime/components/hover-card/HoverCardTrigger.vue +55 -0
  57. package/dist/runtime/components/hover-card/HoverCardTrigger.vue.d.ts +13 -0
  58. package/dist/runtime/components/misc/ThemeSwitcher.vue.d.ts +1 -1
  59. package/dist/runtime/components/navigation/breadcrumb/Breadcrumb.vue.d.ts +16 -6
  60. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbEllipsis.vue.d.ts +1 -1
  61. package/dist/runtime/components/navigation/breadcrumb/BreadcrumbSeparator.vue.d.ts +1 -1
  62. package/dist/runtime/components/navigation-menu/NavigationMenu.vue.d.ts +11 -11
  63. package/dist/runtime/components/navigation-menu/NavigationMenuLink.vue.d.ts +2 -2
  64. package/dist/runtime/components/navigation-menu/NavigationMenuTrigger.vue.d.ts +1 -1
  65. package/dist/runtime/components/overlays/Toaster.vue.d.ts +1 -1
  66. package/dist/runtime/components/overlays/toast/Toast.vue.d.ts +1 -1
  67. package/dist/runtime/components/overlays/toast/ToastAction.vue.d.ts +2 -2
  68. package/dist/runtime/components/resizable/ResizablePanel.vue.d.ts +7 -1
  69. package/dist/runtime/components/resizable/ResizablePanelGroup.vue.d.ts +3 -1
  70. package/dist/runtime/components/scroll-area/ScrollArea.vue.d.ts +1 -1
  71. package/dist/runtime/components/sheet/Sheet.vue.d.ts +1 -1
  72. package/dist/runtime/components/sidebar/SidebarInput.vue +2 -1
  73. package/dist/runtime/components/sidebar/SidebarMenu.vue.d.ts +1 -1
  74. package/dist/runtime/components/sidebar/SidebarMenuButton.vue.d.ts +1 -1
  75. package/dist/runtime/components/sidebar/SidebarMenuButtonChild.vue.d.ts +1 -1
  76. package/dist/runtime/components/sidebar/SidebarMenuSubButton.vue.d.ts +1 -1
  77. package/dist/runtime/types/hover-card.d.ts +57 -0
  78. package/dist/runtime/types/hover-card.js +0 -0
  79. package/dist/runtime/types/index.d.ts +1 -0
  80. package/dist/runtime/types/index.js +1 -0
  81. package/dist/runtime/types/input.d.ts +9 -3
  82. package/dist/runtime/types/switch.d.ts +16 -12
  83. package/dist/runtime/types/table.d.ts +9 -0
  84. package/dist/runtime/utils/index.d.ts +1 -0
  85. package/dist/runtime/utils/index.js +4 -0
  86. package/package.json +8 -8
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@una-ui/nuxt",
3
3
  "configKey": "una",
4
- "version": "0.57.0",
4
+ "version": "0.59.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.57.0";
11
+ const version = "0.59.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: 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;
@@ -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
  };
@@ -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
  };
@@ -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
- 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;
@@ -1,14 +1,14 @@
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>(__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;
6
+ readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
6
7
  readonly onHighlight?: ((payload: {
7
8
  ref: HTMLElement;
8
9
  value: ExtractItemType<T>;
9
10
  } | undefined) => any) | undefined;
10
- readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
11
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue" | "onHighlight" | "onUpdate:open"> & NComboboxProps<T> & Partial<{}>> & import("vue").PublicProps;
11
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue" | "onUpdate:open" | "onHighlight"> & NComboboxProps<T> & Partial<{}>> & import("vue").PublicProps;
12
12
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
13
13
  attrs: any;
14
14
  slots: {
@@ -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: any;
23
- open: any;
22
+ modelValue: ExtractItemType<T> | ExtractItemType<T>[];
23
+ open: boolean;
24
24
  }) => any;
25
25
  } & {
26
26
  'input-wrapper'?: (props: {
27
- modelValue: any;
28
- open: any;
27
+ modelValue: ExtractItemType<T> | ExtractItemType<T>[];
28
+ open: boolean;
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: ExtractItemType<T> | ExtractItemType<T>[];
35
+ open: boolean;
36
36
  }) => any;
37
37
  } & {
38
38
  header?: (props: {}) => any;
@@ -44,42 +44,42 @@ declare const _default: <T extends AcceptableValue>(__VLS_props: NonNullable<Awa
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;
78
78
  };
79
- emit: ((evt: "update:modelValue", value: ExtractItemType<T>) => void) & ((evt: "highlight", payload: {
79
+ emit: ((evt: "update:modelValue", value: ExtractItemType<T>) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "highlight", payload: {
80
80
  ref: HTMLElement;
81
81
  value: ExtractItemType<T>;
82
- } | undefined) => void) & ((evt: "update:open", value: boolean) => void);
82
+ } | undefined) => void);
83
83
  }>) => import("vue").VNode & {
84
84
  __ctx?: Awaited<typeof __VLS_setup>;
85
85
  };
@@ -17,6 +17,8 @@ const props = defineProps({
17
17
  status: { type: String, required: false },
18
18
  loading: { type: Boolean, required: false },
19
19
  reverse: { type: Boolean, required: false },
20
+ autofocus: { type: Boolean, required: false },
21
+ autofocusDelay: { type: Number, required: false },
20
22
  leading: { type: String, required: false },
21
23
  trailing: { type: String, required: false },
22
24
  input: { type: String, 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
  };
@@ -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
  } & {
@@ -3,13 +3,32 @@ declare var __VLS_6: {};
3
3
  type __VLS_Slots = {} & {
4
4
  default?: (props: typeof __VLS_6) => any;
5
5
  };
6
- declare const __VLS_component: import("vue").DefineComponent<NTableBodyProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NTableBodyProps> & Readonly<{}>, {
7
- as: import("reka-ui").AsTag | import("vue").Component;
8
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NTableBodyProps>, {
7
+ as: string;
8
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NTableBodyProps>, {
9
+ as: string;
10
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
11
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
10
12
  export default _default;
13
+ type __VLS_WithDefaults<P, D> = {
14
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
15
+ default: D[K];
16
+ }> : P[K];
17
+ };
18
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ type __VLS_TypePropsToOption<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
11
27
  type __VLS_WithSlots<T, S> = T & {
12
28
  new (): {
13
29
  $slots: S;
14
30
  };
15
31
  };
32
+ type __VLS_PrettifyLocal<T> = {
33
+ [K in keyof T]: T[K];
34
+ } & {};
@@ -3,13 +3,32 @@ declare var __VLS_6: {};
3
3
  type __VLS_Slots = {} & {
4
4
  default?: (props: typeof __VLS_6) => any;
5
5
  };
6
- declare const __VLS_component: import("vue").DefineComponent<NTableCaptionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NTableCaptionProps> & Readonly<{}>, {
7
- as: import("reka-ui").AsTag | import("vue").Component;
8
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NTableCaptionProps>, {
7
+ as: string;
8
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NTableCaptionProps>, {
9
+ as: string;
10
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
11
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
10
12
  export default _default;
13
+ type __VLS_WithDefaults<P, D> = {
14
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
15
+ default: D[K];
16
+ }> : P[K];
17
+ };
18
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ type __VLS_TypePropsToOption<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
11
27
  type __VLS_WithSlots<T, S> = T & {
12
28
  new (): {
13
29
  $slots: S;
14
30
  };
15
31
  };
32
+ type __VLS_PrettifyLocal<T> = {
33
+ [K in keyof T]: T[K];
34
+ } & {};
@@ -3,13 +3,32 @@ declare var __VLS_6: {};
3
3
  type __VLS_Slots = {} & {
4
4
  default?: (props: typeof __VLS_6) => any;
5
5
  };
6
- declare const __VLS_component: import("vue").DefineComponent<NTableCellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NTableCellProps> & Readonly<{}>, {
7
- as: import("reka-ui").AsTag | import("vue").Component;
8
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NTableCellProps>, {
7
+ as: string;
8
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NTableCellProps>, {
9
+ as: string;
10
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
11
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
10
12
  export default _default;
13
+ type __VLS_WithDefaults<P, D> = {
14
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
15
+ default: D[K];
16
+ }> : P[K];
17
+ };
18
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ type __VLS_TypePropsToOption<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
11
27
  type __VLS_WithSlots<T, S> = T & {
12
28
  new (): {
13
29
  $slots: S;
14
30
  };
15
31
  };
32
+ type __VLS_PrettifyLocal<T> = {
33
+ [K in keyof T]: T[K];
34
+ } & {};
@@ -3,13 +3,32 @@ declare var __VLS_8: {};
3
3
  type __VLS_Slots = {} & {
4
4
  default?: (props: typeof __VLS_8) => any;
5
5
  };
6
- declare const __VLS_component: import("vue").DefineComponent<NTableEmptyProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NTableEmptyProps> & Readonly<{}>, {
6
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NTableEmptyProps>, {
7
7
  colspan: number;
8
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NTableEmptyProps>, {
9
+ colspan: number;
10
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
11
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
10
12
  export default _default;
13
+ type __VLS_WithDefaults<P, D> = {
14
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
15
+ default: D[K];
16
+ }> : P[K];
17
+ };
18
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ type __VLS_TypePropsToOption<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
11
27
  type __VLS_WithSlots<T, S> = T & {
12
28
  new (): {
13
29
  $slots: S;
14
30
  };
15
31
  };
32
+ type __VLS_PrettifyLocal<T> = {
33
+ [K in keyof T]: T[K];
34
+ } & {};
@@ -3,13 +3,32 @@ declare var __VLS_6: {};
3
3
  type __VLS_Slots = {} & {
4
4
  default?: (props: typeof __VLS_6) => any;
5
5
  };
6
- declare const __VLS_component: import("vue").DefineComponent<NTableFooterProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NTableFooterProps> & Readonly<{}>, {
7
- as: import("reka-ui").AsTag | import("vue").Component;
8
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NTableFooterProps>, {
7
+ as: string;
8
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NTableFooterProps>, {
9
+ as: string;
10
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
11
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
10
12
  export default _default;
13
+ type __VLS_WithDefaults<P, D> = {
14
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
15
+ default: D[K];
16
+ }> : P[K];
17
+ };
18
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ type __VLS_TypePropsToOption<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
11
27
  type __VLS_WithSlots<T, S> = T & {
12
28
  new (): {
13
29
  $slots: S;
14
30
  };
15
31
  };
32
+ type __VLS_PrettifyLocal<T> = {
33
+ [K in keyof T]: T[K];
34
+ } & {};
@@ -3,13 +3,32 @@ declare var __VLS_6: {};
3
3
  type __VLS_Slots = {} & {
4
4
  default?: (props: typeof __VLS_6) => any;
5
5
  };
6
- declare const __VLS_component: import("vue").DefineComponent<NTableHeadProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NTableHeadProps> & Readonly<{}>, {
7
- as: import("reka-ui").AsTag | import("vue").Component;
8
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NTableHeadProps>, {
7
+ as: string;
8
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NTableHeadProps>, {
9
+ as: string;
10
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
11
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
10
12
  export default _default;
13
+ type __VLS_WithDefaults<P, D> = {
14
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
15
+ default: D[K];
16
+ }> : P[K];
17
+ };
18
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ type __VLS_TypePropsToOption<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
11
27
  type __VLS_WithSlots<T, S> = T & {
12
28
  new (): {
13
29
  $slots: S;
14
30
  };
15
31
  };
32
+ type __VLS_PrettifyLocal<T> = {
33
+ [K in keyof T]: T[K];
34
+ } & {};
@@ -3,13 +3,32 @@ declare var __VLS_6: {};
3
3
  type __VLS_Slots = {} & {
4
4
  default?: (props: typeof __VLS_6) => any;
5
5
  };
6
- declare const __VLS_component: import("vue").DefineComponent<NTableHeaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NTableHeaderProps> & Readonly<{}>, {
7
- as: import("reka-ui").AsTag | import("vue").Component;
8
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NTableHeaderProps>, {
7
+ as: string;
8
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NTableHeaderProps>, {
9
+ as: string;
10
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
11
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
10
12
  export default _default;
13
+ type __VLS_WithDefaults<P, D> = {
14
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
15
+ default: D[K];
16
+ }> : P[K];
17
+ };
18
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ type __VLS_TypePropsToOption<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
11
27
  type __VLS_WithSlots<T, S> = T & {
12
28
  new (): {
13
29
  $slots: S;
14
30
  };
15
31
  };
32
+ type __VLS_PrettifyLocal<T> = {
33
+ [K in keyof T]: T[K];
34
+ } & {};
@@ -3,13 +3,32 @@ declare var __VLS_5: {};
3
3
  type __VLS_Slots = {} & {
4
4
  default?: (props: typeof __VLS_5) => any;
5
5
  };
6
- declare const __VLS_component: import("vue").DefineComponent<NTableLoadingProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NTableLoadingProps> & Readonly<{}>, {
7
- size: import("vue").HTMLAttributes["class"];
8
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NTableLoadingProps>, {
7
+ size: string;
8
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NTableLoadingProps>, {
9
+ size: string;
10
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
11
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
10
12
  export default _default;
13
+ type __VLS_WithDefaults<P, D> = {
14
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
15
+ default: D[K];
16
+ }> : P[K];
17
+ };
18
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ type __VLS_TypePropsToOption<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
11
27
  type __VLS_WithSlots<T, S> = T & {
12
28
  new (): {
13
29
  $slots: S;
14
30
  };
15
31
  };
32
+ type __VLS_PrettifyLocal<T> = {
33
+ [K in keyof T]: T[K];
34
+ } & {};
@@ -3,13 +3,32 @@ declare var __VLS_6: {};
3
3
  type __VLS_Slots = {} & {
4
4
  default?: (props: typeof __VLS_6) => any;
5
5
  };
6
- declare const __VLS_component: import("vue").DefineComponent<NTableRowProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NTableRowProps> & Readonly<{}>, {
7
- as: import("reka-ui").AsTag | import("vue").Component;
8
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NTableRowProps>, {
7
+ as: string;
8
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NTableRowProps>, {
9
+ as: string;
10
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
11
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
10
12
  export default _default;
13
+ type __VLS_WithDefaults<P, D> = {
14
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
15
+ default: D[K];
16
+ }> : P[K];
17
+ };
18
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ type __VLS_TypePropsToOption<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
11
27
  type __VLS_WithSlots<T, S> = T & {
12
28
  new (): {
13
29
  $slots: S;
14
30
  };
15
31
  };
32
+ type __VLS_PrettifyLocal<T> = {
33
+ [K in keyof T]: T[K];
34
+ } & {};
@@ -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;
@@ -1,12 +1,12 @@
1
- import type { NAccordionProps } from '../../types/index.js';
1
+ import type { NAccordionItemProps, NAccordionProps } from '../../types/index.js';
2
2
  declare var __VLS_6: any, __VLS_7: {
3
3
  item: any;
4
4
  index: any;
5
5
  open: any;
6
6
  close: any;
7
7
  }, __VLS_21: {
8
- item: any;
9
- index: any;
8
+ item: NAccordionItemProps;
9
+ index: number;
10
10
  open: any;
11
11
  close: any;
12
12
  };
@@ -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>;
@@ -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,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;
@@ -1,6 +1,6 @@
1
1
  import type { NProgressProps } from '../../types/index.js';
2
2
  declare var __VLS_6: {
3
- modelValue: any;
3
+ modelValue: number | null | undefined;
4
4
  };
5
5
  type __VLS_Slots = {} & {
6
6
  default?: (props: typeof __VLS_6) => any;
@@ -1,5 +1,5 @@
1
1
  import type { NToggleProps } from '../../types/index.js';
2
- declare var __VLS_7: any, __VLS_8: any;
2
+ declare var __VLS_7: string | number, __VLS_8: any;
3
3
  type __VLS_Slots = {} & {
4
4
  [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any;
5
5
  };
@@ -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>;