@nuxt/ui 3.1.0 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/.nuxt/ui/accordion.ts +2 -23
  2. package/.nuxt/ui/alert.ts +2 -23
  3. package/.nuxt/ui/avatar-group.ts +2 -23
  4. package/.nuxt/ui/avatar.ts +2 -23
  5. package/.nuxt/ui/badge.ts +2 -23
  6. package/.nuxt/ui/breadcrumb.ts +2 -23
  7. package/.nuxt/ui/button-group.ts +2 -23
  8. package/.nuxt/ui/button.ts +2 -23
  9. package/.nuxt/ui/calendar.ts +3 -24
  10. package/.nuxt/ui/card.ts +2 -23
  11. package/.nuxt/ui/carousel.ts +2 -23
  12. package/.nuxt/ui/checkbox-group.ts +2 -23
  13. package/.nuxt/ui/checkbox.ts +2 -23
  14. package/.nuxt/ui/chip.ts +2 -23
  15. package/.nuxt/ui/collapsible.ts +2 -23
  16. package/.nuxt/ui/color-picker.ts +2 -23
  17. package/.nuxt/ui/command-palette.ts +2 -23
  18. package/.nuxt/ui/container.ts +2 -23
  19. package/.nuxt/ui/context-menu.ts +2 -23
  20. package/.nuxt/ui/drawer.ts +2 -23
  21. package/.nuxt/ui/dropdown-menu.ts +2 -23
  22. package/.nuxt/ui/form-field.ts +2 -23
  23. package/.nuxt/ui/form.ts +2 -23
  24. package/.nuxt/ui/input-menu.ts +2 -23
  25. package/.nuxt/ui/input-number.ts +2 -23
  26. package/.nuxt/ui/input.ts +2 -23
  27. package/.nuxt/ui/kbd.ts +2 -23
  28. package/.nuxt/ui/link.ts +2 -23
  29. package/.nuxt/ui/modal.ts +2 -23
  30. package/.nuxt/ui/navigation-menu.ts +3 -24
  31. package/.nuxt/ui/pagination.ts +2 -23
  32. package/.nuxt/ui/pin-input.ts +2 -23
  33. package/.nuxt/ui/popover.ts +2 -23
  34. package/.nuxt/ui/progress.ts +2 -23
  35. package/.nuxt/ui/radio-group.ts +2 -23
  36. package/.nuxt/ui/select-menu.ts +2 -23
  37. package/.nuxt/ui/select.ts +2 -23
  38. package/.nuxt/ui/separator.ts +2 -23
  39. package/.nuxt/ui/skeleton.ts +2 -23
  40. package/.nuxt/ui/slideover.ts +2 -23
  41. package/.nuxt/ui/slider.ts +2 -23
  42. package/.nuxt/ui/stepper.ts +2 -23
  43. package/.nuxt/ui/switch.ts +2 -23
  44. package/.nuxt/ui/table.ts +2 -23
  45. package/.nuxt/ui/tabs.ts +2 -23
  46. package/.nuxt/ui/textarea.ts +2 -23
  47. package/.nuxt/ui/toast.ts +2 -23
  48. package/.nuxt/ui/toaster.ts +2 -23
  49. package/.nuxt/ui/tooltip.ts +2 -23
  50. package/.nuxt/ui/tree.ts +2 -23
  51. package/.nuxt/ui.css +15 -8
  52. package/README.md +4 -0
  53. package/dist/module.json +1 -1
  54. package/dist/module.mjs +3 -2
  55. package/dist/runtime/components/Accordion.vue.d.ts +4 -20
  56. package/dist/runtime/components/Alert.vue.d.ts +7 -22
  57. package/dist/runtime/components/App.vue.d.ts +2 -2
  58. package/dist/runtime/components/Avatar.vue.d.ts +4 -25
  59. package/dist/runtime/components/AvatarGroup.vue.d.ts +2 -11
  60. package/dist/runtime/components/Badge.vue.d.ts +3 -24
  61. package/dist/runtime/components/Breadcrumb.vue.d.ts +2 -20
  62. package/dist/runtime/components/Button.vue.d.ts +3 -28
  63. package/dist/runtime/components/ButtonGroup.vue.d.ts +3 -24
  64. package/dist/runtime/components/Calendar.vue.d.ts +6 -2
  65. package/dist/runtime/components/Card.vue.d.ts +2 -11
  66. package/dist/runtime/components/Carousel.vue.d.ts +4 -2
  67. package/dist/runtime/components/Checkbox.vue.d.ts +10 -13
  68. package/dist/runtime/components/CheckboxGroup.vue.d.ts +5 -2
  69. package/dist/runtime/components/Chip.vue.d.ts +10 -24
  70. package/dist/runtime/components/Collapsible.vue.d.ts +7 -22
  71. package/dist/runtime/components/ColorPicker.vue.d.ts +9 -24
  72. package/dist/runtime/components/CommandPalette.vue.d.ts +15 -27
  73. package/dist/runtime/components/Container.vue.d.ts +2 -11
  74. package/dist/runtime/components/ContextMenu.vue.d.ts +4 -24
  75. package/dist/runtime/components/ContextMenuContent.vue.d.ts +17 -57
  76. package/dist/runtime/components/Drawer.vue.d.ts +17 -27
  77. package/dist/runtime/components/DropdownMenu.vue.d.ts +4 -28
  78. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +19 -6
  79. package/dist/runtime/components/Form.vue.d.ts +5 -2
  80. package/dist/runtime/components/FormField.vue.d.ts +2 -11
  81. package/dist/runtime/components/Icon.vue.d.ts +1 -10
  82. package/dist/runtime/components/Input.vue.d.ts +16 -31
  83. package/dist/runtime/components/InputMenu.vue.d.ts +17 -5
  84. package/dist/runtime/components/InputNumber.vue.d.ts +12 -23
  85. package/dist/runtime/components/Kbd.vue.d.ts +3 -24
  86. package/dist/runtime/components/Link.vue.d.ts +3 -34
  87. package/dist/runtime/components/LinkBase.vue.d.ts +4 -27
  88. package/dist/runtime/components/Modal.vue.d.ts +12 -28
  89. package/dist/runtime/components/NavigationMenu.vue.d.ts +4 -24
  90. package/dist/runtime/components/Pagination.vue.d.ts +9 -33
  91. package/dist/runtime/components/PinInput.vue.d.ts +13 -24
  92. package/dist/runtime/components/Popover.vue.d.ts +9 -26
  93. package/dist/runtime/components/Progress.vue.d.ts +10 -41
  94. package/dist/runtime/components/RadioGroup.vue.d.ts +6 -3
  95. package/dist/runtime/components/Select.vue.d.ts +8 -2
  96. package/dist/runtime/components/SelectMenu.vue.d.ts +17 -5
  97. package/dist/runtime/components/Separator.vue.d.ts +3 -24
  98. package/dist/runtime/components/Skeleton.vue.d.ts +3 -12
  99. package/dist/runtime/components/Slideover.vue.d.ts +12 -29
  100. package/dist/runtime/components/Slider.vue.d.ts +12 -31
  101. package/dist/runtime/components/Stepper.vue.d.ts +8 -14
  102. package/dist/runtime/components/Switch.vue.d.ts +10 -13
  103. package/dist/runtime/components/Table.vue.d.ts +17 -17
  104. package/dist/runtime/components/Tabs.vue.d.ts +4 -20
  105. package/dist/runtime/components/Textarea.vue.d.ts +16 -33
  106. package/dist/runtime/components/Toast.vue.d.ts +86 -24
  107. package/dist/runtime/components/Toaster.vue.d.ts +3 -28
  108. package/dist/runtime/components/Tooltip.vue.d.ts +7 -22
  109. package/dist/runtime/components/Tree.vue.d.ts +5 -22
  110. package/dist/runtime/composables/defineShortcuts.js +6 -0
  111. package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
  112. package/dist/runtime/composables/useButtonGroup.d.ts +1 -1
  113. package/dist/runtime/composables/useFormField.d.ts +1 -1
  114. package/dist/runtime/composables/useKbd.d.ts +1 -0
  115. package/dist/runtime/composables/useKbd.js +4 -3
  116. package/dist/runtime/composables/useOverlay.d.ts +9 -10
  117. package/dist/runtime/composables/useOverlay.js +11 -6
  118. package/dist/runtime/inertia/components/Link.vue.d.ts +3 -32
  119. package/dist/runtime/types/tv.d.ts +53 -0
  120. package/dist/runtime/types/tv.js +0 -0
  121. package/dist/runtime/types/utils.d.ts +2 -52
  122. package/dist/runtime/types/utils.js +1 -0
  123. package/dist/runtime/vue/components/Icon.vue.d.ts +1 -10
  124. package/dist/runtime/vue/components/Link.vue.d.ts +3 -34
  125. package/dist/shared/{ui.D7lOOabO.mjs → ui.CbtTMMzt.mjs} +17 -11
  126. package/dist/unplugin.d.mts +2 -2
  127. package/dist/unplugin.mjs +1 -1
  128. package/dist/vite.d.mts +1 -1
  129. package/dist/vite.mjs +2 -2
  130. package/package.json +14 -13
@@ -69,41 +69,25 @@ export interface ModalSlots {
69
69
  body(props?: {}): any;
70
70
  footer(props?: {}): any;
71
71
  }
72
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ModalProps>, {
73
- close: boolean;
74
- portal: boolean;
75
- overlay: boolean;
76
- transition: boolean;
77
- modal: boolean;
78
- dismissible: boolean;
79
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
72
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ModalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
73
+ "update:open": (value: boolean) => any;
74
+ "after:leave": () => any;
75
+ "close:prevent": () => any;
76
+ }, string, import("vue").PublicProps, Readonly<ModalProps> & Readonly<{
77
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
78
+ "onAfter:leave"?: (() => any) | undefined;
79
+ "onClose:prevent"?: (() => any) | undefined;
80
+ }>, {
80
81
  close: boolean | Partial<ButtonProps>;
81
82
  modal: boolean;
82
- transition: boolean;
83
83
  portal: boolean | string | HTMLElement;
84
84
  overlay: boolean;
85
+ transition: boolean;
85
86
  dismissible: boolean;
86
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<ModalSlots> & ModalSlots>;
87
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ModalSlots>;
87
88
  export default _default;
88
- type __VLS_WithDefaults<P, D> = {
89
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
90
- default: D[K];
91
- }> : P[K];
92
- };
93
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
94
- type __VLS_TypePropsToOption<T> = {
95
- [K in keyof T]-?: {} extends Pick<T, K> ? {
96
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
97
- } : {
98
- type: import('vue').PropType<T[K]>;
99
- required: true;
100
- };
101
- };
102
- type __VLS_WithTemplateSlots<T, S> = T & {
89
+ type __VLS_WithSlots<T, S> = T & {
103
90
  new (): {
104
91
  $slots: S;
105
92
  };
106
93
  };
107
- type __VLS_PrettifyLocal<T> = {
108
- [K in keyof T]: T[K];
109
- } & {};
@@ -123,32 +123,12 @@ export type NavigationMenuSlots<A extends ArrayOrNested<NavigationMenuItem> = Ar
123
123
  active?: boolean;
124
124
  }>;
125
125
  declare const _default: <T extends ArrayOrNested<NavigationMenuItem>>(__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<{
126
- props: __VLS_PrettifyLocal<any & NavigationMenuProps<T> & Partial<{}>> & (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps);
126
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
127
+ readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
128
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & NavigationMenuProps<T> & Partial<{}>> & import("vue").PublicProps;
127
129
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
128
130
  attrs: any;
129
- slots: Readonly<{
130
- item: SlotProps<NestedItem<T>>;
131
- 'item-leading': SlotProps<NestedItem<T>>;
132
- 'item-label': SlotProps<NestedItem<T>>;
133
- 'item-trailing': SlotProps<NestedItem<T>>;
134
- 'item-content': SlotProps<NestedItem<T>>;
135
- 'list-leading': (props?: {}) => any;
136
- 'list-trailing': (props?: {}) => any;
137
- } & DynamicSlots<MergeTypes<NestedItem<T>>, "trailing" | "leading" | "content" | "label", {
138
- index: number;
139
- active?: boolean;
140
- }>> & {
141
- item: SlotProps<NestedItem<T>>;
142
- 'item-leading': SlotProps<NestedItem<T>>;
143
- 'item-label': SlotProps<NestedItem<T>>;
144
- 'item-trailing': SlotProps<NestedItem<T>>;
145
- 'item-content': SlotProps<NestedItem<T>>;
146
- 'list-leading': (props?: {}) => any;
147
- 'list-trailing': (props?: {}) => any;
148
- } & DynamicSlots<MergeTypes<NestedItem<T>>, "trailing" | "leading" | "content" | "label", {
149
- index: number;
150
- active?: boolean;
151
- }>;
131
+ slots: NavigationMenuSlots<T, NestedItem<T>>;
152
132
  emit: (evt: "update:modelValue", value: string) => void;
153
133
  }>) => import("vue").VNode & {
154
134
  __ctx?: Awaited<typeof __VLS_setup>;
@@ -95,49 +95,25 @@ export interface PaginationSlots {
95
95
  index: number;
96
96
  }): any;
97
97
  }
98
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PaginationProps>, {
99
- size: string;
100
- color: string;
101
- variant: string;
102
- activeColor: string;
103
- activeVariant: string;
104
- showControls: boolean;
105
- showEdges: boolean;
106
- itemsPerPage: number;
107
- siblingCount: number;
108
- total: number;
109
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
110
- size: "md" | "xs" | "sm" | "lg" | "xl";
98
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<PaginationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
99
+ "update:page": (value: number) => any;
100
+ }, string, import("vue").PublicProps, Readonly<PaginationProps> & Readonly<{
101
+ "onUpdate:page"?: ((value: number) => any) | undefined;
102
+ }>, {
103
+ size: "xs" | "sm" | "md" | "lg" | "xl";
111
104
  color: "error" | "info" | "primary" | "secondary" | "success" | "warning" | "neutral";
112
- variant: "link" | "solid" | "outline" | "soft" | "subtle" | "ghost";
113
105
  activeColor: "error" | "info" | "primary" | "secondary" | "success" | "warning" | "neutral";
106
+ variant: "link" | "solid" | "outline" | "soft" | "subtle" | "ghost";
114
107
  activeVariant: "link" | "solid" | "outline" | "soft" | "subtle" | "ghost";
115
108
  itemsPerPage: number;
116
109
  showEdges: boolean;
117
110
  siblingCount: number;
118
111
  total: number;
119
112
  showControls: boolean;
120
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<PaginationSlots> & PaginationSlots>;
113
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, PaginationSlots>;
121
114
  export default _default;
122
- type __VLS_WithDefaults<P, D> = {
123
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
124
- default: D[K];
125
- }> : P[K];
126
- };
127
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
128
- type __VLS_TypePropsToOption<T> = {
129
- [K in keyof T]-?: {} extends Pick<T, K> ? {
130
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
131
- } : {
132
- type: import('vue').PropType<T[K]>;
133
- required: true;
134
- };
135
- };
136
- type __VLS_WithTemplateSlots<T, S> = T & {
115
+ type __VLS_WithSlots<T, S> = T & {
137
116
  new (): {
138
117
  $slots: S;
139
118
  };
140
119
  };
141
- type __VLS_PrettifyLocal<T> = {
142
- [K in keyof T]: T[K];
143
- } & {};
@@ -37,32 +37,21 @@ export type PinInputEmits = PinInputRootEmits & {
37
37
  change: [payload: Event];
38
38
  blur: [payload: Event];
39
39
  };
40
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PinInputProps>, {
41
- type: string;
42
- length: number;
43
- autofocusDelay: number;
44
- }>>, {
40
+ declare const _default: import("vue").DefineComponent<PinInputProps, {
45
41
  inputsRef: import("vue").Ref<ComponentPublicInstance[], ComponentPublicInstance[]>;
46
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
42
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
43
+ blur: (payload: Event) => any;
44
+ complete: (value: string[]) => any;
45
+ change: (payload: Event) => any;
46
+ "update:modelValue": (value: string[]) => any;
47
+ }, string, import("vue").PublicProps, Readonly<PinInputProps> & Readonly<{
48
+ onBlur?: ((payload: Event) => any) | undefined;
49
+ onComplete?: ((value: string[]) => any) | undefined;
50
+ onChange?: ((payload: Event) => any) | undefined;
51
+ "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
52
+ }>, {
47
53
  length: number | string;
48
54
  type: "text" | "number";
49
55
  autofocusDelay: number;
50
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
56
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
51
57
  export default _default;
52
- type __VLS_WithDefaults<P, D> = {
53
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
54
- default: D[K];
55
- }> : P[K];
56
- };
57
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
58
- type __VLS_TypePropsToOption<T> = {
59
- [K in keyof T]-?: {} extends Pick<T, K> ? {
60
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
61
- } : {
62
- type: import('vue').PropType<T[K]>;
63
- required: true;
64
- };
65
- };
66
- type __VLS_PrettifyLocal<T> = {
67
- [K in keyof T]: T[K];
68
- } & {};
@@ -42,39 +42,22 @@ export interface PopoverSlots {
42
42
  }): any;
43
43
  content(props?: {}): any;
44
44
  }
45
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PopoverProps>, {
46
- portal: boolean;
47
- mode: string;
48
- openDelay: number;
49
- closeDelay: number;
50
- dismissible: boolean;
51
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
45
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<PopoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
46
+ "update:open": (value: boolean) => any;
47
+ "close:prevent": () => any;
48
+ }, string, import("vue").PublicProps, Readonly<PopoverProps> & Readonly<{
49
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
50
+ "onClose:prevent"?: (() => any) | undefined;
51
+ }>, {
52
52
  mode: "click" | "hover";
53
53
  portal: boolean | string | HTMLElement;
54
54
  dismissible: boolean;
55
55
  openDelay: number;
56
56
  closeDelay: number;
57
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<PopoverSlots> & PopoverSlots>;
57
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, PopoverSlots>;
58
58
  export default _default;
59
- type __VLS_WithDefaults<P, D> = {
60
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
61
- default: D[K];
62
- }> : P[K];
63
- };
64
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
65
- type __VLS_TypePropsToOption<T> = {
66
- [K in keyof T]-?: {} extends Pick<T, K> ? {
67
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
68
- } : {
69
- type: import('vue').PropType<T[K]>;
70
- required: true;
71
- };
72
- };
73
- type __VLS_WithTemplateSlots<T, S> = T & {
59
+ type __VLS_WithSlots<T, S> = T & {
74
60
  new (): {
75
61
  $slots: S;
76
62
  };
77
63
  };
78
- type __VLS_PrettifyLocal<T> = {
79
- [K in keyof T]: T[K];
80
- } & {};
@@ -47,51 +47,20 @@ export type ProgressSlots = {
47
47
  step: number;
48
48
  }) => any;
49
49
  };
50
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ProgressProps>, {
51
- inverted: boolean;
52
- modelValue: null;
53
- orientation: string;
54
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
50
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ProgressProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
51
+ "update:modelValue": (value: string[] | undefined) => any;
52
+ "update:max": (value: number) => any;
53
+ }, string, import("vue").PublicProps, Readonly<ProgressProps> & Readonly<{
54
+ "onUpdate:modelValue"?: ((value: string[] | undefined) => any) | undefined;
55
+ "onUpdate:max"?: ((value: number) => any) | undefined;
56
+ }>, {
55
57
  orientation: Progress["variants"]["orientation"];
56
- inverted: boolean;
57
58
  modelValue: number | null;
58
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
59
- status(props: {
60
- percent?: number;
61
- }): any;
62
- } & {
63
- [key: string]: (props: {
64
- step: number;
65
- }) => any;
66
- }> & {
67
- status(props: {
68
- percent?: number;
69
- }): any;
70
- } & {
71
- [key: string]: (props: {
72
- step: number;
73
- }) => any;
74
- }>;
59
+ inverted: boolean;
60
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ProgressSlots>;
75
61
  export default _default;
76
- type __VLS_WithDefaults<P, D> = {
77
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
78
- default: D[K];
79
- }> : P[K];
80
- };
81
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
82
- type __VLS_TypePropsToOption<T> = {
83
- [K in keyof T]-?: {} extends Pick<T, K> ? {
84
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
85
- } : {
86
- type: import('vue').PropType<T[K]>;
87
- required: true;
88
- };
89
- };
90
- type __VLS_WithTemplateSlots<T, S> = T & {
62
+ type __VLS_WithSlots<T, S> = T & {
91
63
  new (): {
92
64
  $slots: S;
93
65
  };
94
66
  };
95
- type __VLS_PrettifyLocal<T> = {
96
- [K in keyof T]: T[K];
97
- } & {};
@@ -8,7 +8,7 @@ export type RadioGroupItem = {
8
8
  label?: string;
9
9
  description?: string;
10
10
  disabled?: boolean;
11
- value?: string;
11
+ value?: RadioGroupValue;
12
12
  [key: string]: any;
13
13
  } | RadioGroupValue;
14
14
  export interface RadioGroupProps<T extends RadioGroupItem = RadioGroupItem> extends Pick<RadioGroupRootProps, 'defaultValue' | 'disabled' | 'loop' | 'modelValue' | 'name' | 'required'> {
@@ -74,10 +74,13 @@ export interface RadioGroupSlots<T extends RadioGroupItem = RadioGroupItem> {
74
74
  description: SlotProps<T>;
75
75
  }
76
76
  declare const _default: <T extends RadioGroupItem>(__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<{
77
- props: __VLS_PrettifyLocal<any & RadioGroupProps<T> & Partial<{}>> & (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps);
77
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
78
+ readonly onChange?: ((payload: Event) => any) | undefined;
79
+ readonly "onUpdate:modelValue"?: ((payload: string) => any) | undefined;
80
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onChange" | "onUpdate:modelValue"> & RadioGroupProps<T> & Partial<{}>> & import("vue").PublicProps;
78
81
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
79
82
  attrs: any;
80
- slots: Readonly<RadioGroupSlots<T>> & RadioGroupSlots<T>;
83
+ slots: RadioGroupSlots<T>;
81
84
  emit: ((evt: "change", payload: Event) => void) & ((evt: "update:modelValue", payload: string) => void);
82
85
  }>) => import("vue").VNode & {
83
86
  __ctx?: Awaited<typeof __VLS_setup>;
@@ -125,10 +125,16 @@ export interface SelectSlots<A extends ArrayOrNested<SelectItem> = ArrayOrNested
125
125
  'content-bottom': (props?: {}) => any;
126
126
  }
127
127
  declare const _default: <T extends ArrayOrNested<SelectItem>, VK extends GetItemKeys<T> = "value", 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<{
128
- props: __VLS_PrettifyLocal<any & SelectProps<T, VK, M> & Partial<{}>> & (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps);
128
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
129
+ readonly onBlur?: ((payload: FocusEvent) => any) | undefined;
130
+ readonly onChange?: ((payload: Event) => any) | undefined;
131
+ readonly onFocus?: ((payload: FocusEvent) => any) | undefined;
132
+ readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
133
+ readonly "onUpdate:modelValue"?: ((payload: GetModelValue<T, VK, M>) => any) | undefined;
134
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onUpdate:open" | "onUpdate:modelValue"> & SelectProps<T, VK, M> & Partial<{}>> & import("vue").PublicProps;
129
135
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
130
136
  attrs: any;
131
- slots: Readonly<SelectSlots<T, VK, M, NestedItem<T>>> & SelectSlots<T, VK, M, NestedItem<T>>;
137
+ slots: SelectSlots<T, VK, M, NestedItem<T>>;
132
138
  emit: ((evt: "blur", payload: FocusEvent) => void) & ((evt: "change", payload: Event) => void) & ((evt: "focus", payload: FocusEvent) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", payload: GetModelValue<T, VK, M>) => void);
133
139
  }>) => import("vue").VNode & {
134
140
  __ctx?: Awaited<typeof __VLS_setup>;
@@ -165,16 +165,28 @@ export interface SelectMenuSlots<A extends ArrayOrNested<SelectMenuItem> = Array
165
165
  }): any;
166
166
  }
167
167
  declare const _default: <T extends ArrayOrNested<SelectMenuItem>, VK extends GetItemKeys<T> | undefined = undefined, M extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
168
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, never> & ({
168
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
169
+ readonly onBlur?: ((payload: FocusEvent) => any) | undefined;
170
+ readonly onChange?: ((payload: Event) => any) | undefined;
171
+ readonly onFocus?: ((payload: FocusEvent) => any) | undefined;
172
+ readonly onCreate?: ((item: string) => any) | undefined;
173
+ readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
174
+ readonly "onUpdate:modelValue"?: ((payload: GetModelValue<T, VK, M>) => any) | undefined;
175
+ readonly onHighlight?: ((payload: {
176
+ ref: HTMLElement;
177
+ value: GetModelValue<T, VK, M>;
178
+ } | undefined) => any) | undefined;
179
+ readonly "onUpdate:searchTerm"?: ((value: string) => any) | undefined;
180
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onUpdate:open" | "onUpdate:modelValue" | "onHighlight" | "onUpdate:searchTerm" | "onCreate"> & (SelectMenuProps<T, VK, M> & {
169
181
  searchTerm?: string;
170
- } & SelectMenuProps<T, VK, M>) & Partial<{}>> & (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps);
182
+ }) & Partial<{}>> & import("vue").PublicProps;
171
183
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
172
184
  attrs: any;
173
- slots: Readonly<SelectMenuSlots<T, VK, M, NestedItem<T>>> & SelectMenuSlots<T, VK, M, NestedItem<T>>;
174
- emit: (((evt: "blur", payload: FocusEvent) => void) & ((evt: "change", payload: Event) => void) & ((evt: "focus", payload: FocusEvent) => void) & ((evt: "create", item: string) => void) & ((evt: "highlight", payload: {
185
+ slots: SelectMenuSlots<T, VK, M, NestedItem<T>>;
186
+ emit: (((evt: "blur", payload: FocusEvent) => void) & ((evt: "change", payload: Event) => void) & ((evt: "focus", payload: FocusEvent) => void) & ((evt: "create", item: string) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", payload: GetModelValue<T, VK, M>) => void) & ((evt: "highlight", payload: {
175
187
  ref: HTMLElement;
176
188
  value: GetModelValue<T, VK, M>;
177
- } | undefined) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", payload: GetModelValue<T, VK, M>) => void)) & ((evt: "update:searchTerm", value: string) => void);
189
+ } | undefined) => void)) & ((evt: "update:searchTerm", value: string) => void);
178
190
  }>) => import("vue").VNode & {
179
191
  __ctx?: Awaited<typeof __VLS_setup>;
180
192
  };
@@ -43,33 +43,12 @@ export interface SeparatorProps extends Pick<_SeparatorProps, 'decorative'> {
43
43
  export interface SeparatorSlots {
44
44
  default(props?: {}): any;
45
45
  }
46
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SeparatorProps>, {
47
- orientation: string;
48
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SeparatorProps>, {
49
- orientation: string;
50
- }>>> & Readonly<{}>, {
46
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SeparatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SeparatorProps> & Readonly<{}>, {
51
47
  orientation: "horizontal" | "vertical";
52
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<SeparatorSlots> & SeparatorSlots>;
48
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, SeparatorSlots>;
53
49
  export default _default;
54
- type __VLS_WithDefaults<P, D> = {
55
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
56
- default: D[K];
57
- }> : P[K];
58
- };
59
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
60
- type __VLS_TypePropsToOption<T> = {
61
- [K in keyof T]-?: {} extends Pick<T, K> ? {
62
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
63
- } : {
64
- type: import('vue').PropType<T[K]>;
65
- required: true;
66
- };
67
- };
68
- type __VLS_WithTemplateSlots<T, S> = T & {
50
+ type __VLS_WithSlots<T, S> = T & {
69
51
  new (): {
70
52
  $slots: S;
71
53
  };
72
54
  };
73
- type __VLS_PrettifyLocal<T> = {
74
- [K in keyof T]: T[K];
75
- } & {};
@@ -6,20 +6,11 @@ export interface SkeletonProps {
6
6
  as?: any;
7
7
  class?: any;
8
8
  }
9
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<SkeletonProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<SkeletonProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
10
- default?(_: {}): any;
9
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SkeletonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
10
+ default?: (props: {}) => any;
11
11
  }>;
12
12
  export default _default;
13
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
- type __VLS_TypePropsToOption<T> = {
15
- [K in keyof T]-?: {} extends Pick<T, K> ? {
16
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
- } : {
18
- type: import('vue').PropType<T[K]>;
19
- required: true;
20
- };
21
- };
22
- type __VLS_WithTemplateSlots<T, S> = T & {
13
+ type __VLS_WithSlots<T, S> = T & {
23
14
  new (): {
24
15
  $slots: S;
25
16
  };
@@ -69,43 +69,26 @@ export interface SlideoverSlots {
69
69
  body(props?: {}): any;
70
70
  footer(props?: {}): any;
71
71
  }
72
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SlideoverProps>, {
73
- close: boolean;
74
- portal: boolean;
75
- overlay: boolean;
76
- transition: boolean;
77
- modal: boolean;
78
- dismissible: boolean;
79
- side: string;
80
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
72
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SlideoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
73
+ "update:open": (value: boolean) => any;
74
+ "after:leave": () => any;
75
+ "close:prevent": () => any;
76
+ }, string, import("vue").PublicProps, Readonly<SlideoverProps> & Readonly<{
77
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
78
+ "onAfter:leave"?: (() => any) | undefined;
79
+ "onClose:prevent"?: (() => any) | undefined;
80
+ }>, {
81
81
  close: boolean | Partial<ButtonProps>;
82
82
  modal: boolean;
83
- transition: boolean;
84
83
  portal: boolean | string | HTMLElement;
85
84
  overlay: boolean;
85
+ transition: boolean;
86
86
  side: Slideover["variants"]["side"];
87
87
  dismissible: boolean;
88
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<SlideoverSlots> & SlideoverSlots>;
88
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, SlideoverSlots>;
89
89
  export default _default;
90
- type __VLS_WithDefaults<P, D> = {
91
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
92
- default: D[K];
93
- }> : P[K];
94
- };
95
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
96
- type __VLS_TypePropsToOption<T> = {
97
- [K in keyof T]-?: {} extends Pick<T, K> ? {
98
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
99
- } : {
100
- type: import('vue').PropType<T[K]>;
101
- required: true;
102
- };
103
- };
104
- type __VLS_WithTemplateSlots<T, S> = T & {
90
+ type __VLS_WithSlots<T, S> = T & {
105
91
  new (): {
106
92
  $slots: S;
107
93
  };
108
94
  };
109
- type __VLS_PrettifyLocal<T> = {
110
- [K in keyof T]: T[K];
111
- } & {};
@@ -31,41 +31,22 @@ export interface SliderEmits {
31
31
  (e: 'update:modelValue', payload: number | number[]): void;
32
32
  (e: 'change', payload: Event): void;
33
33
  }
34
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
34
+ declare const _default: import("vue").DefineComponent<SliderProps & {
35
35
  modelValue?: number | number[];
36
- } & SliderProps>, {
37
- min: number;
38
- max: number;
39
- step: number;
40
- orientation: string;
41
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
36
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
37
+ "update:modelValue": (value: number | number[] | undefined) => any;
38
+ } & {
39
+ change: (payload: Event) => any;
40
+ "update:modelValue": (payload: number | number[]) => any;
41
+ }, string, import("vue").PublicProps, Readonly<SliderProps & {
42
42
  modelValue?: number | number[];
43
- } & SliderProps>, {
44
- min: number;
45
- max: number;
46
- step: number;
47
- orientation: string;
48
- }>>> & Readonly<{}>, {
43
+ }> & Readonly<{
44
+ onChange?: ((payload: Event) => any) | undefined;
45
+ "onUpdate:modelValue"?: ((payload: number | number[]) => any) | undefined;
46
+ }>, {
49
47
  orientation: "horizontal" | "vertical";
50
48
  step: number;
51
49
  max: number;
52
50
  min: number;
53
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
51
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
54
52
  export default _default;
55
- type __VLS_WithDefaults<P, D> = {
56
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
57
- default: D[K];
58
- }> : P[K];
59
- };
60
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
61
- type __VLS_TypePropsToOption<T> = {
62
- [K in keyof T]-?: {} extends Pick<T, K> ? {
63
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
64
- } : {
65
- type: import('vue').PropType<T[K]>;
66
- required: true;
67
- };
68
- };
69
- type __VLS_PrettifyLocal<T> = {
70
- [K in keyof T]: T[K];
71
- } & {};
@@ -58,9 +58,13 @@ export type StepperSlots<T extends StepperItem = StepperItem> = {
58
58
  content: SlotProps<T>;
59
59
  } & DynamicSlots<T>;
60
60
  declare const _default: <T extends StepperItem>(__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<{
61
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, never> & ({
61
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
62
+ readonly onPrev?: ((payload: T) => any) | undefined;
63
+ readonly onNext?: ((payload: T) => any) | undefined;
64
+ readonly "onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
65
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue" | "onPrev" | "onNext"> & (StepperProps<T> & {
62
66
  modelValue?: string | number;
63
- } & StepperProps<T>) & Partial<{}>> & (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps);
67
+ }) & Partial<{}>> & import("vue").PublicProps;
64
68
  expose(exposed: import("vue").ShallowUnwrapRef<{
65
69
  next(): void;
66
70
  prev(): void;
@@ -68,18 +72,8 @@ declare const _default: <T extends StepperItem>(__VLS_props: NonNullable<Awaited
68
72
  hasPrev: import("vue").ComputedRef<boolean>;
69
73
  }>): void;
70
74
  attrs: any;
71
- slots: Readonly<{
72
- indicator: SlotProps<T>;
73
- title: SlotProps<T>;
74
- description: SlotProps<T>;
75
- content: SlotProps<T>;
76
- } & DynamicSlots<T>> & {
77
- indicator: SlotProps<T>;
78
- title: SlotProps<T>;
79
- description: SlotProps<T>;
80
- content: SlotProps<T>;
81
- } & DynamicSlots<T>;
82
- emit: (((evt: "prev", payload: T) => void) & ((evt: "next", payload: T) => void)) & ((evt: "update:modelValue", value: string | number) => void);
75
+ slots: StepperSlots<T>;
76
+ emit: (((evt: "prev", payload: T) => void) & ((evt: "next", payload: T) => void)) & ((evt: "update:modelValue", value: string | number | undefined) => void);
83
77
  }>) => import("vue").VNode & {
84
78
  __ctx?: Awaited<typeof __VLS_setup>;
85
79
  };