@nuxt/ui 3.3.5 → 3.3.7

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 (146) hide show
  1. package/.nuxt/ui/drawer.ts +23 -0
  2. package/dist/module.json +3 -3
  3. package/dist/module.mjs +2 -2
  4. package/dist/runtime/components/Accordion.d.vue.ts +6 -5
  5. package/dist/runtime/components/Accordion.vue.d.ts +6 -5
  6. package/dist/runtime/components/Alert.d.vue.ts +2 -1
  7. package/dist/runtime/components/Alert.vue.d.ts +2 -1
  8. package/dist/runtime/components/App.d.vue.ts +5 -4
  9. package/dist/runtime/components/App.vue +1 -1
  10. package/dist/runtime/components/App.vue.d.ts +5 -4
  11. package/dist/runtime/components/Avatar.d.vue.ts +2 -1
  12. package/dist/runtime/components/Avatar.vue.d.ts +2 -1
  13. package/dist/runtime/components/AvatarGroup.d.vue.ts +2 -1
  14. package/dist/runtime/components/AvatarGroup.vue.d.ts +2 -1
  15. package/dist/runtime/components/Badge.d.vue.ts +2 -1
  16. package/dist/runtime/components/Badge.vue.d.ts +2 -1
  17. package/dist/runtime/components/Breadcrumb.d.vue.ts +4 -3
  18. package/dist/runtime/components/Breadcrumb.vue.d.ts +4 -3
  19. package/dist/runtime/components/Button.d.vue.ts +2 -1
  20. package/dist/runtime/components/Button.vue.d.ts +2 -1
  21. package/dist/runtime/components/ButtonGroup.d.vue.ts +2 -1
  22. package/dist/runtime/components/ButtonGroup.vue.d.ts +2 -1
  23. package/dist/runtime/components/Calendar.d.vue.ts +9 -8
  24. package/dist/runtime/components/Calendar.vue.d.ts +9 -8
  25. package/dist/runtime/components/Card.d.vue.ts +2 -1
  26. package/dist/runtime/components/Card.vue.d.ts +2 -1
  27. package/dist/runtime/components/Carousel.d.vue.ts +7 -6
  28. package/dist/runtime/components/Carousel.vue +32 -12
  29. package/dist/runtime/components/Carousel.vue.d.ts +7 -6
  30. package/dist/runtime/components/Checkbox.d.vue.ts +2 -1
  31. package/dist/runtime/components/Checkbox.vue.d.ts +2 -1
  32. package/dist/runtime/components/CheckboxGroup.d.vue.ts +7 -6
  33. package/dist/runtime/components/CheckboxGroup.vue.d.ts +7 -6
  34. package/dist/runtime/components/Chip.d.vue.ts +2 -1
  35. package/dist/runtime/components/Chip.vue.d.ts +2 -1
  36. package/dist/runtime/components/Collapsible.d.vue.ts +2 -1
  37. package/dist/runtime/components/Collapsible.vue.d.ts +2 -1
  38. package/dist/runtime/components/ColorPicker.d.vue.ts +2 -1
  39. package/dist/runtime/components/ColorPicker.vue.d.ts +2 -1
  40. package/dist/runtime/components/CommandPalette.d.vue.ts +13 -12
  41. package/dist/runtime/components/CommandPalette.vue +1 -1
  42. package/dist/runtime/components/CommandPalette.vue.d.ts +13 -12
  43. package/dist/runtime/components/Container.d.vue.ts +2 -1
  44. package/dist/runtime/components/Container.vue.d.ts +2 -1
  45. package/dist/runtime/components/ContextMenu.d.vue.ts +6 -5
  46. package/dist/runtime/components/ContextMenu.vue.d.ts +6 -5
  47. package/dist/runtime/components/ContextMenuContent.d.vue.ts +10 -9
  48. package/dist/runtime/components/ContextMenuContent.vue.d.ts +10 -9
  49. package/dist/runtime/components/Drawer.d.vue.ts +5 -1
  50. package/dist/runtime/components/Drawer.vue +19 -5
  51. package/dist/runtime/components/Drawer.vue.d.ts +5 -1
  52. package/dist/runtime/components/DropdownMenu.d.vue.ts +6 -5
  53. package/dist/runtime/components/DropdownMenu.vue.d.ts +6 -5
  54. package/dist/runtime/components/DropdownMenuContent.d.vue.ts +10 -9
  55. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +10 -9
  56. package/dist/runtime/components/FileUpload.d.vue.ts +9 -8
  57. package/dist/runtime/components/FileUpload.vue +3 -2
  58. package/dist/runtime/components/FileUpload.vue.d.ts +9 -8
  59. package/dist/runtime/components/Form.d.vue.ts +7 -6
  60. package/dist/runtime/components/Form.vue.d.ts +7 -6
  61. package/dist/runtime/components/FormField.d.vue.ts +2 -1
  62. package/dist/runtime/components/FormField.vue.d.ts +2 -1
  63. package/dist/runtime/components/Icon.d.vue.ts +2 -1
  64. package/dist/runtime/components/Icon.vue.d.ts +2 -1
  65. package/dist/runtime/components/Input.d.vue.ts +9 -8
  66. package/dist/runtime/components/Input.vue.d.ts +9 -8
  67. package/dist/runtime/components/InputMenu.d.vue.ts +17 -16
  68. package/dist/runtime/components/InputMenu.vue.d.ts +17 -16
  69. package/dist/runtime/components/InputNumber.d.vue.ts +2 -1
  70. package/dist/runtime/components/InputNumber.vue.d.ts +2 -1
  71. package/dist/runtime/components/InputTags.d.vue.ts +13 -12
  72. package/dist/runtime/components/InputTags.vue.d.ts +13 -12
  73. package/dist/runtime/components/Kbd.d.vue.ts +2 -1
  74. package/dist/runtime/components/Kbd.vue.d.ts +2 -1
  75. package/dist/runtime/components/Link.d.vue.ts +2 -1
  76. package/dist/runtime/components/Link.vue.d.ts +2 -1
  77. package/dist/runtime/components/LinkBase.d.vue.ts +2 -1
  78. package/dist/runtime/components/LinkBase.vue.d.ts +2 -1
  79. package/dist/runtime/components/Modal.d.vue.ts +4 -3
  80. package/dist/runtime/components/Modal.vue.d.ts +4 -3
  81. package/dist/runtime/components/NavigationMenu.d.vue.ts +6 -5
  82. package/dist/runtime/components/NavigationMenu.vue +1 -1
  83. package/dist/runtime/components/NavigationMenu.vue.d.ts +6 -5
  84. package/dist/runtime/components/OverlayProvider.d.vue.ts +2 -1
  85. package/dist/runtime/components/OverlayProvider.vue.d.ts +2 -1
  86. package/dist/runtime/components/Pagination.d.vue.ts +2 -1
  87. package/dist/runtime/components/Pagination.vue +4 -4
  88. package/dist/runtime/components/Pagination.vue.d.ts +2 -1
  89. package/dist/runtime/components/PinInput.d.vue.ts +10 -9
  90. package/dist/runtime/components/PinInput.vue.d.ts +10 -9
  91. package/dist/runtime/components/Popover.d.vue.ts +2 -1
  92. package/dist/runtime/components/Popover.vue.d.ts +2 -1
  93. package/dist/runtime/components/Progress.d.vue.ts +2 -1
  94. package/dist/runtime/components/Progress.vue.d.ts +2 -1
  95. package/dist/runtime/components/RadioGroup.d.vue.ts +7 -6
  96. package/dist/runtime/components/RadioGroup.vue.d.ts +7 -6
  97. package/dist/runtime/components/Select.d.vue.ts +11 -10
  98. package/dist/runtime/components/Select.vue.d.ts +11 -10
  99. package/dist/runtime/components/SelectMenu.d.vue.ts +16 -15
  100. package/dist/runtime/components/SelectMenu.vue.d.ts +16 -15
  101. package/dist/runtime/components/Separator.d.vue.ts +2 -1
  102. package/dist/runtime/components/Separator.vue.d.ts +2 -1
  103. package/dist/runtime/components/Skeleton.d.vue.ts +2 -1
  104. package/dist/runtime/components/Skeleton.vue.d.ts +2 -1
  105. package/dist/runtime/components/Slideover.d.vue.ts +4 -3
  106. package/dist/runtime/components/Slideover.vue.d.ts +4 -3
  107. package/dist/runtime/components/Slider.d.vue.ts +8 -7
  108. package/dist/runtime/components/Slider.vue.d.ts +8 -7
  109. package/dist/runtime/components/Stepper.d.vue.ts +10 -9
  110. package/dist/runtime/components/Stepper.vue.d.ts +10 -9
  111. package/dist/runtime/components/Switch.d.vue.ts +2 -1
  112. package/dist/runtime/components/Switch.vue.d.ts +2 -1
  113. package/dist/runtime/components/Table.d.vue.ts +20 -19
  114. package/dist/runtime/components/Table.vue +19 -1
  115. package/dist/runtime/components/Table.vue.d.ts +20 -19
  116. package/dist/runtime/components/Tabs.d.vue.ts +7 -6
  117. package/dist/runtime/components/Tabs.vue.d.ts +7 -6
  118. package/dist/runtime/components/Textarea.d.vue.ts +9 -8
  119. package/dist/runtime/components/Textarea.vue.d.ts +9 -8
  120. package/dist/runtime/components/Timeline.d.vue.ts +7 -6
  121. package/dist/runtime/components/Timeline.vue.d.ts +7 -6
  122. package/dist/runtime/components/Toast.d.vue.ts +4 -3
  123. package/dist/runtime/components/Toast.vue.d.ts +4 -3
  124. package/dist/runtime/components/Toaster.d.vue.ts +2 -1
  125. package/dist/runtime/components/Toaster.vue +2 -1
  126. package/dist/runtime/components/Toaster.vue.d.ts +2 -1
  127. package/dist/runtime/components/Tooltip.d.vue.ts +2 -1
  128. package/dist/runtime/components/Tooltip.vue.d.ts +2 -1
  129. package/dist/runtime/components/Tree.d.vue.ts +7 -6
  130. package/dist/runtime/components/Tree.vue.d.ts +7 -6
  131. package/dist/runtime/composables/useKbd.js +1 -1
  132. package/dist/runtime/composables/usePortal.d.ts +3 -3
  133. package/dist/runtime/composables/usePortal.js +5 -10
  134. package/dist/runtime/inertia/components/Link.d.vue.ts +2 -1
  135. package/dist/runtime/inertia/components/Link.vue +12 -7
  136. package/dist/runtime/inertia/components/Link.vue.d.ts +2 -1
  137. package/dist/runtime/inertia/components/LinkBase.d.vue.ts +2 -1
  138. package/dist/runtime/inertia/components/LinkBase.vue.d.ts +2 -1
  139. package/dist/runtime/vue/components/Icon.d.vue.ts +2 -1
  140. package/dist/runtime/vue/components/Icon.vue.d.ts +2 -1
  141. package/dist/runtime/vue/components/Link.d.vue.ts +2 -1
  142. package/dist/runtime/vue/components/Link.vue.d.ts +2 -1
  143. package/dist/shared/{ui.DH9BUZkq.mjs → ui.DBpKc5X3.mjs} +88 -60
  144. package/dist/unplugin.mjs +1 -1
  145. package/dist/vite.mjs +1 -1
  146. package/package.json +22 -21
@@ -27,9 +27,10 @@ export interface KbdProps {
27
27
  export interface KbdSlots {
28
28
  default(props?: {}): any;
29
29
  }
30
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<KbdProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<KbdProps> & Readonly<{}>, {
30
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<KbdProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<KbdProps> & Readonly<{}>, {
31
31
  as: any;
32
32
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, KbdSlots>;
33
+ declare const _default: typeof __VLS_export;
33
34
  export default _default;
34
35
  type __VLS_WithSlots<T, S> = T & {
35
36
  new (): {
@@ -27,9 +27,10 @@ export interface KbdProps {
27
27
  export interface KbdSlots {
28
28
  default(props?: {}): any;
29
29
  }
30
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<KbdProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<KbdProps> & Readonly<{}>, {
30
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<KbdProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<KbdProps> & Readonly<{}>, {
31
31
  as: any;
32
32
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, KbdSlots>;
33
+ declare const _default: typeof __VLS_export;
33
34
  export default _default;
34
35
  type __VLS_WithSlots<T, S> = T & {
35
36
  new (): {
@@ -77,12 +77,13 @@ export interface LinkSlots {
77
77
  active: boolean;
78
78
  }): any;
79
79
  }
80
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<LinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{}>, {
80
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<LinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{}>, {
81
81
  type: "reset" | "submit" | "button";
82
82
  as: any;
83
83
  ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
84
84
  active: boolean;
85
85
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, LinkSlots>;
86
+ declare const _default: typeof __VLS_export;
86
87
  export default _default;
87
88
  type __VLS_WithSlots<T, S> = T & {
88
89
  new (): {
@@ -77,12 +77,13 @@ export interface LinkSlots {
77
77
  active: boolean;
78
78
  }): any;
79
79
  }
80
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<LinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{}>, {
80
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<LinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{}>, {
81
81
  type: "reset" | "submit" | "button";
82
82
  as: any;
83
83
  ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
84
84
  active: boolean;
85
85
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, LinkSlots>;
86
+ declare const _default: typeof __VLS_export;
86
87
  export default _default;
87
88
  type __VLS_WithSlots<T, S> = T & {
88
89
  new (): {
@@ -11,12 +11,13 @@ export interface LinkBaseProps {
11
11
  active?: boolean;
12
12
  isExternal?: boolean;
13
13
  }
14
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<LinkBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkBaseProps> & Readonly<{}>, {
14
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<LinkBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkBaseProps> & Readonly<{}>, {
15
15
  type: string;
16
16
  as: string;
17
17
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
18
18
  default?: (props: {}) => any;
19
19
  }>;
20
+ declare const _default: typeof __VLS_export;
20
21
  export default _default;
21
22
  type __VLS_WithSlots<T, S> = T & {
22
23
  new (): {
@@ -11,12 +11,13 @@ export interface LinkBaseProps {
11
11
  active?: boolean;
12
12
  isExternal?: boolean;
13
13
  }
14
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<LinkBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkBaseProps> & Readonly<{}>, {
14
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<LinkBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkBaseProps> & Readonly<{}>, {
15
15
  type: string;
16
16
  as: string;
17
17
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
18
18
  default?: (props: {}) => any;
19
19
  }>;
20
+ declare const _default: typeof __VLS_export;
20
21
  export default _default;
21
22
  type __VLS_WithSlots<T, S> = T & {
22
23
  new (): {
@@ -80,16 +80,16 @@ export interface ModalSlots {
80
80
  close: () => void;
81
81
  }): any;
82
82
  }
83
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ModalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
83
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ModalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
84
84
  "update:open": (value: boolean) => any;
85
85
  "after:leave": () => any;
86
- "after:enter": () => any;
87
86
  "close:prevent": () => any;
87
+ "after:enter": () => any;
88
88
  }, string, import("vue").PublicProps, Readonly<ModalProps> & Readonly<{
89
89
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
90
90
  "onAfter:leave"?: (() => any) | undefined;
91
- "onAfter:enter"?: (() => any) | undefined;
92
91
  "onClose:prevent"?: (() => any) | undefined;
92
+ "onAfter:enter"?: (() => any) | undefined;
93
93
  }>, {
94
94
  close: boolean | Partial<ButtonProps>;
95
95
  modal: boolean;
@@ -98,6 +98,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ModalProps
98
98
  overlay: boolean;
99
99
  dismissible: boolean;
100
100
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ModalSlots>;
101
+ declare const _default: typeof __VLS_export;
101
102
  export default _default;
102
103
  type __VLS_WithSlots<T, S> = T & {
103
104
  new (): {
@@ -80,16 +80,16 @@ export interface ModalSlots {
80
80
  close: () => void;
81
81
  }): any;
82
82
  }
83
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ModalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
83
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ModalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
84
84
  "update:open": (value: boolean) => any;
85
85
  "after:leave": () => any;
86
- "after:enter": () => any;
87
86
  "close:prevent": () => any;
87
+ "after:enter": () => any;
88
88
  }, string, import("vue").PublicProps, Readonly<ModalProps> & Readonly<{
89
89
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
90
90
  "onAfter:leave"?: (() => any) | undefined;
91
- "onAfter:enter"?: (() => any) | undefined;
92
91
  "onClose:prevent"?: (() => any) | undefined;
92
+ "onAfter:enter"?: (() => any) | undefined;
93
93
  }>, {
94
94
  close: boolean | Partial<ButtonProps>;
95
95
  modal: boolean;
@@ -98,6 +98,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ModalProps
98
98
  overlay: boolean;
99
99
  dismissible: boolean;
100
100
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ModalSlots>;
101
+ declare const _default: typeof __VLS_export;
101
102
  export default _default;
102
103
  type __VLS_WithSlots<T, S> = T & {
103
104
  new (): {
@@ -153,17 +153,18 @@ export type NavigationMenuSlots<A extends ArrayOrNested<NavigationMenuItem> = Ar
153
153
  index: number;
154
154
  active?: boolean;
155
155
  }>;
156
- 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<{
157
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
158
- readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
159
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & NavigationMenuProps<T> & {}> & import("vue").PublicProps;
160
- expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
156
+ declare const __VLS_export: <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<{
157
+ props: __VLS_PrettifyLocal<NavigationMenuProps<T> & {
158
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
159
+ }> & import("vue").PublicProps;
160
+ expose: (exposed: {}) => void;
161
161
  attrs: any;
162
162
  slots: NavigationMenuSlots<T, NestedItem<T>>;
163
163
  emit: (evt: "update:modelValue", value: string) => void;
164
164
  }>) => import("vue").VNode & {
165
165
  __ctx?: Awaited<typeof __VLS_setup>;
166
166
  };
167
+ declare const _default: typeof __VLS_export;
167
168
  export default _default;
168
169
  type __VLS_PrettifyLocal<T> = {
169
170
  [K in keyof T as K]: T[K];
@@ -119,7 +119,7 @@ function getAccordionDefaultValue(list, level = 0) {
119
119
  <UIcon v-if="item.target === '_blank' && externalIcon !== false" :name="typeof externalIcon === 'string' ? externalIcon : appConfig.ui.icons.external" :class="ui.linkLabelExternalIcon({ class: [props.ui?.linkLabelExternalIcon, item.ui?.linkLabelExternalIcon], active })" />
120
120
  </span>
121
121
 
122
- <component :is="orientation === 'vertical' && item.children?.length && !collapsed ? AccordionTrigger : 'span'" v-if="(!collapsed || orientation !== 'vertical') && (item.badge || orientation === 'horizontal' && (item.children?.length || !!slots[item.slot ? `${item.slot}-content` : 'item-content']) || orientation === 'vertical' && item.children?.length || item.trailingIcon || !!slots[item.slot ? `${item.slot}-trailing` : 'item-trailing'])" as="span" :class="ui.linkTrailing({ class: [props.ui?.linkTrailing, item.ui?.linkTrailing] })" @click.stop.prevent>
122
+ <component :is="orientation === 'vertical' && item.children?.length && !collapsed ? AccordionTrigger : 'span'" v-if="(!collapsed || orientation !== 'vertical') && (item.badge !== void 0 || orientation === 'horizontal' && (item.children?.length || !!slots[item.slot ? `${item.slot}-content` : 'item-content']) || orientation === 'vertical' && item.children?.length || item.trailingIcon || !!slots[item.slot ? `${item.slot}-trailing` : 'item-trailing'])" as="span" :class="ui.linkTrailing({ class: [props.ui?.linkTrailing, item.ui?.linkTrailing] })" @click.stop.prevent>
123
123
  <slot :name="item.slot ? `${item.slot}-trailing` : 'item-trailing'" :item="item" :active="active" :index="index">
124
124
  <UBadge
125
125
  v-if="item.badge !== void 0"
@@ -153,17 +153,18 @@ export type NavigationMenuSlots<A extends ArrayOrNested<NavigationMenuItem> = Ar
153
153
  index: number;
154
154
  active?: boolean;
155
155
  }>;
156
- 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<{
157
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
158
- readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
159
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & NavigationMenuProps<T> & {}> & import("vue").PublicProps;
160
- expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
156
+ declare const __VLS_export: <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<{
157
+ props: __VLS_PrettifyLocal<NavigationMenuProps<T> & {
158
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
159
+ }> & import("vue").PublicProps;
160
+ expose: (exposed: {}) => void;
161
161
  attrs: any;
162
162
  slots: NavigationMenuSlots<T, NestedItem<T>>;
163
163
  emit: (evt: "update:modelValue", value: string) => void;
164
164
  }>) => import("vue").VNode & {
165
165
  __ctx?: Awaited<typeof __VLS_setup>;
166
166
  };
167
+ declare const _default: typeof __VLS_export;
167
168
  export default _default;
168
169
  type __VLS_PrettifyLocal<T> = {
169
170
  [K in keyof T as K]: T[K];
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
2
3
  export default _default;
@@ -95,7 +95,7 @@ export interface PaginationSlots {
95
95
  index: number;
96
96
  }): any;
97
97
  }
98
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<PaginationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
98
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<PaginationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
99
99
  "update:page": (value: number) => any;
100
100
  }, string, import("vue").PublicProps, Readonly<PaginationProps> & Readonly<{
101
101
  "onUpdate:page"?: ((value: number) => any) | undefined;
@@ -110,6 +110,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Pagination
110
110
  total: number;
111
111
  showControls: boolean;
112
112
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, PaginationSlots>;
113
+ declare const _default: typeof __VLS_export;
113
114
  export default _default;
114
115
  type __VLS_WithSlots<T, S> = T & {
115
116
  new (): {
@@ -60,8 +60,8 @@ const ui = computed(() => tv({ extend: tv(theme), ...appConfig.ui?.pagination ||
60
60
  </slot>
61
61
  </PaginationPrev>
62
62
 
63
- <template v-for="(item, index) in items">
64
- <PaginationListItem v-if="item.type === 'page'" :key="index" as-child :value="item.value" :class="ui.item({ class: props.ui?.item })">
63
+ <template v-for="(item, index) in items" :key="index">
64
+ <PaginationListItem v-if="item.type === 'page'" as-child :value="item.value" :class="ui.item({ class: props.ui?.item })">
65
65
  <slot name="item" v-bind="{ item, index, page, pageCount }">
66
66
  <UButton
67
67
  :color="page === item.value ? activeColor : color"
@@ -75,9 +75,9 @@ const ui = computed(() => tv({ extend: tv(theme), ...appConfig.ui?.pagination ||
75
75
  </slot>
76
76
  </PaginationListItem>
77
77
 
78
- <PaginationEllipsis v-else :key="item.type" :index="index" as-child :class="ui.ellipsis({ class: props.ui?.ellipsis })">
78
+ <PaginationEllipsis v-else as-child :class="ui.ellipsis({ class: props.ui?.ellipsis })">
79
79
  <slot name="ellipsis">
80
- <UButton :color="color" :variant="variant" :size="size" :icon="ellipsisIcon || appConfig.ui.icons.ellipsis" />
80
+ <UButton as="div" :color="color" :variant="variant" :size="size" :icon="ellipsisIcon || appConfig.ui.icons.ellipsis" />
81
81
  </slot>
82
82
  </PaginationEllipsis>
83
83
  </template>
@@ -95,7 +95,7 @@ export interface PaginationSlots {
95
95
  index: number;
96
96
  }): any;
97
97
  }
98
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<PaginationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
98
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<PaginationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
99
99
  "update:page": (value: number) => any;
100
100
  }, string, import("vue").PublicProps, Readonly<PaginationProps> & Readonly<{
101
101
  "onUpdate:page"?: ((value: number) => any) | undefined;
@@ -110,6 +110,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Pagination
110
110
  total: number;
111
111
  showControls: boolean;
112
112
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, PaginationSlots>;
113
+ declare const _default: typeof __VLS_export;
113
114
  export default _default;
114
115
  type __VLS_WithSlots<T, S> = T & {
115
116
  new (): {
@@ -38,22 +38,23 @@ export type PinInputEmits<T extends PinInputType = 'text'> = PinInputRootEmits<T
38
38
  change: [event: Event];
39
39
  blur: [event: Event];
40
40
  };
41
- declare const _default: <T extends PinInputType>(__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<{
42
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
43
- readonly onBlur?: ((event: Event) => any) | undefined;
44
- readonly onComplete?: ((value: [T] extends ["number"] ? number[] : string[]) => any) | undefined;
45
- readonly onChange?: ((event: Event) => any) | undefined;
46
- readonly "onUpdate:modelValue"?: ((value: [T] extends ["number"] ? number[] : string[]) => any) | undefined;
47
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onBlur" | "onChange" | "onUpdate:modelValue" | "onComplete"> & PinInputProps<T> & {}> & import("vue").PublicProps;
48
- expose(exposed: import("vue").ShallowUnwrapRef<{
41
+ declare const __VLS_export: <T extends PinInputType>(__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<{
42
+ props: __VLS_PrettifyLocal<PinInputProps<T> & {
43
+ onBlur?: ((event: Event) => any) | undefined;
44
+ onComplete?: ((value: [T] extends ["number"] ? number[] : string[]) => any) | undefined;
45
+ onChange?: ((event: Event) => any) | undefined;
46
+ "onUpdate:modelValue"?: ((value: [T] extends ["number"] ? number[] : string[]) => any) | undefined;
47
+ }> & import("vue").PublicProps;
48
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
49
49
  inputsRef: import("vue").Ref<ComponentPublicInstance[], ComponentPublicInstance[]>;
50
- }>): void;
50
+ }>) => void;
51
51
  attrs: any;
52
52
  slots: {};
53
53
  emit: ((evt: "blur", event: Event) => void) & ((evt: "complete", value: [T] extends ["number"] ? number[] : string[]) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: [T] extends ["number"] ? number[] : string[]) => void);
54
54
  }>) => import("vue").VNode & {
55
55
  __ctx?: Awaited<typeof __VLS_setup>;
56
56
  };
57
+ declare const _default: typeof __VLS_export;
57
58
  export default _default;
58
59
  type __VLS_PrettifyLocal<T> = {
59
60
  [K in keyof T as K]: T[K];
@@ -38,22 +38,23 @@ export type PinInputEmits<T extends PinInputType = 'text'> = PinInputRootEmits<T
38
38
  change: [event: Event];
39
39
  blur: [event: Event];
40
40
  };
41
- declare const _default: <T extends PinInputType>(__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<{
42
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
43
- readonly onBlur?: ((event: Event) => any) | undefined;
44
- readonly onComplete?: ((value: [T] extends ["number"] ? number[] : string[]) => any) | undefined;
45
- readonly onChange?: ((event: Event) => any) | undefined;
46
- readonly "onUpdate:modelValue"?: ((value: [T] extends ["number"] ? number[] : string[]) => any) | undefined;
47
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onBlur" | "onChange" | "onUpdate:modelValue" | "onComplete"> & PinInputProps<T> & {}> & import("vue").PublicProps;
48
- expose(exposed: import("vue").ShallowUnwrapRef<{
41
+ declare const __VLS_export: <T extends PinInputType>(__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<{
42
+ props: __VLS_PrettifyLocal<PinInputProps<T> & {
43
+ onBlur?: ((event: Event) => any) | undefined;
44
+ onComplete?: ((value: [T] extends ["number"] ? number[] : string[]) => any) | undefined;
45
+ onChange?: ((event: Event) => any) | undefined;
46
+ "onUpdate:modelValue"?: ((value: [T] extends ["number"] ? number[] : string[]) => any) | undefined;
47
+ }> & import("vue").PublicProps;
48
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
49
49
  inputsRef: import("vue").Ref<ComponentPublicInstance[], ComponentPublicInstance[]>;
50
- }>): void;
50
+ }>) => void;
51
51
  attrs: any;
52
52
  slots: {};
53
53
  emit: ((evt: "blur", event: Event) => void) & ((evt: "complete", value: [T] extends ["number"] ? number[] : string[]) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: [T] extends ["number"] ? number[] : string[]) => void);
54
54
  }>) => import("vue").VNode & {
55
55
  __ctx?: Awaited<typeof __VLS_setup>;
56
56
  };
57
+ declare const _default: typeof __VLS_export;
57
58
  export default _default;
58
59
  type __VLS_PrettifyLocal<T> = {
59
60
  [K in keyof T as K]: T[K];
@@ -49,7 +49,7 @@ export interface PopoverSlots {
49
49
  content(props?: {}): any;
50
50
  anchor(props?: {}): any;
51
51
  }
52
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<PopoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
52
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<PopoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
53
53
  "update:open": (value: boolean) => any;
54
54
  "close:prevent": () => any;
55
55
  }, string, import("vue").PublicProps, Readonly<PopoverProps> & Readonly<{
@@ -62,6 +62,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<PopoverPro
62
62
  openDelay: number;
63
63
  closeDelay: number;
64
64
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, PopoverSlots>;
65
+ declare const _default: typeof __VLS_export;
65
66
  export default _default;
66
67
  type __VLS_WithSlots<T, S> = T & {
67
68
  new (): {
@@ -49,7 +49,7 @@ export interface PopoverSlots {
49
49
  content(props?: {}): any;
50
50
  anchor(props?: {}): any;
51
51
  }
52
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<PopoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
52
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<PopoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
53
53
  "update:open": (value: boolean) => any;
54
54
  "close:prevent": () => any;
55
55
  }, string, import("vue").PublicProps, Readonly<PopoverProps> & Readonly<{
@@ -62,6 +62,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<PopoverPro
62
62
  openDelay: number;
63
63
  closeDelay: number;
64
64
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, PopoverSlots>;
65
+ declare const _default: typeof __VLS_export;
65
66
  export default _default;
66
67
  type __VLS_WithSlots<T, S> = T & {
67
68
  new (): {
@@ -47,7 +47,7 @@ export type ProgressSlots = {
47
47
  step: number;
48
48
  }) => any;
49
49
  };
50
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ProgressProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
50
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ProgressProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
51
51
  "update:modelValue": (value: string[] | undefined) => any;
52
52
  "update:max": (value: number) => any;
53
53
  }, string, import("vue").PublicProps, Readonly<ProgressProps> & Readonly<{
@@ -58,6 +58,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ProgressPr
58
58
  modelValue: number | null;
59
59
  inverted: boolean;
60
60
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ProgressSlots>;
61
+ declare const _default: typeof __VLS_export;
61
62
  export default _default;
62
63
  type __VLS_WithSlots<T, S> = T & {
63
64
  new (): {
@@ -47,7 +47,7 @@ export type ProgressSlots = {
47
47
  step: number;
48
48
  }) => any;
49
49
  };
50
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ProgressProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
50
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ProgressProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
51
51
  "update:modelValue": (value: string[] | undefined) => any;
52
52
  "update:max": (value: number) => any;
53
53
  }, string, import("vue").PublicProps, Readonly<ProgressProps> & Readonly<{
@@ -58,6 +58,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ProgressPr
58
58
  modelValue: number | null;
59
59
  inverted: boolean;
60
60
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ProgressSlots>;
61
+ declare const _default: typeof __VLS_export;
61
62
  export default _default;
62
63
  type __VLS_WithSlots<T, S> = T & {
63
64
  new (): {
@@ -76,18 +76,19 @@ export interface RadioGroupSlots<T extends RadioGroupItem = RadioGroupItem> {
76
76
  label: SlotProps<T>;
77
77
  description: SlotProps<T>;
78
78
  }
79
- 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<{
80
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
81
- readonly onChange?: ((event: Event) => any) | undefined;
82
- readonly "onUpdate:modelValue"?: ((payload: string) => any) | undefined;
83
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onChange" | "onUpdate:modelValue"> & RadioGroupProps<T> & {}> & import("vue").PublicProps;
84
- expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
79
+ declare const __VLS_export: <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<{
80
+ props: __VLS_PrettifyLocal<RadioGroupProps<T> & {
81
+ onChange?: ((event: Event) => any) | undefined;
82
+ "onUpdate:modelValue"?: ((payload: string) => any) | undefined;
83
+ }> & import("vue").PublicProps;
84
+ expose: (exposed: {}) => void;
85
85
  attrs: any;
86
86
  slots: RadioGroupSlots<T>;
87
87
  emit: ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", payload: string) => void);
88
88
  }>) => import("vue").VNode & {
89
89
  __ctx?: Awaited<typeof __VLS_setup>;
90
90
  };
91
+ declare const _default: typeof __VLS_export;
91
92
  export default _default;
92
93
  type __VLS_PrettifyLocal<T> = {
93
94
  [K in keyof T as K]: T[K];
@@ -76,18 +76,19 @@ export interface RadioGroupSlots<T extends RadioGroupItem = RadioGroupItem> {
76
76
  label: SlotProps<T>;
77
77
  description: SlotProps<T>;
78
78
  }
79
- 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<{
80
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
81
- readonly onChange?: ((event: Event) => any) | undefined;
82
- readonly "onUpdate:modelValue"?: ((payload: string) => any) | undefined;
83
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onChange" | "onUpdate:modelValue"> & RadioGroupProps<T> & {}> & import("vue").PublicProps;
84
- expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
79
+ declare const __VLS_export: <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<{
80
+ props: __VLS_PrettifyLocal<RadioGroupProps<T> & {
81
+ onChange?: ((event: Event) => any) | undefined;
82
+ "onUpdate:modelValue"?: ((payload: string) => any) | undefined;
83
+ }> & import("vue").PublicProps;
84
+ expose: (exposed: {}) => void;
85
85
  attrs: any;
86
86
  slots: RadioGroupSlots<T>;
87
87
  emit: ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", payload: string) => void);
88
88
  }>) => import("vue").VNode & {
89
89
  __ctx?: Awaited<typeof __VLS_setup>;
90
90
  };
91
+ declare const _default: typeof __VLS_export;
91
92
  export default _default;
92
93
  type __VLS_PrettifyLocal<T> = {
93
94
  [K in keyof T as K]: T[K];
@@ -128,15 +128,15 @@ export interface SelectSlots<A extends ArrayOrNested<SelectItem> = ArrayOrNested
128
128
  'content-top': (props?: {}) => any;
129
129
  'content-bottom': (props?: {}) => any;
130
130
  }
131
- 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<{
132
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
133
- readonly onBlur?: ((event: FocusEvent) => any) | undefined;
134
- readonly onChange?: ((event: Event) => any) | undefined;
135
- readonly onFocus?: ((event: FocusEvent) => any) | undefined;
136
- readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
137
- readonly "onUpdate:modelValue"?: ((value: GetModelValue<T, VK, M>) => any) | undefined;
138
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onUpdate:open" | "onUpdate:modelValue"> & SelectProps<T, VK, M> & {}> & import("vue").PublicProps;
139
- expose(exposed: import("vue").ShallowUnwrapRef<{
131
+ declare const __VLS_export: <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<{
132
+ props: __VLS_PrettifyLocal<SelectProps<T, VK, M> & {
133
+ onBlur?: ((event: FocusEvent) => any) | undefined;
134
+ onChange?: ((event: Event) => any) | undefined;
135
+ onFocus?: ((event: FocusEvent) => any) | undefined;
136
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
137
+ "onUpdate:modelValue"?: ((value: GetModelValue<T, VK, M>) => any) | undefined;
138
+ }> & import("vue").PublicProps;
139
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
140
140
  triggerRef: import("vue").Ref<({
141
141
  $: import("vue").ComponentInternalInstance;
142
142
  $data: {};
@@ -240,13 +240,14 @@ declare const _default: <T extends ArrayOrNested<SelectItem>, VK extends GetItem
240
240
  default?: (props: {}) => any;
241
241
  };
242
242
  }) | null>;
243
- }>): void;
243
+ }>) => void;
244
244
  attrs: any;
245
245
  slots: SelectSlots<T, VK, M, NestedItem<T>>;
246
246
  emit: ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", value: GetModelValue<T, VK, M>) => void);
247
247
  }>) => import("vue").VNode & {
248
248
  __ctx?: Awaited<typeof __VLS_setup>;
249
249
  };
250
+ declare const _default: typeof __VLS_export;
250
251
  export default _default;
251
252
  type __VLS_PrettifyLocal<T> = {
252
253
  [K in keyof T as K]: T[K];
@@ -128,15 +128,15 @@ export interface SelectSlots<A extends ArrayOrNested<SelectItem> = ArrayOrNested
128
128
  'content-top': (props?: {}) => any;
129
129
  'content-bottom': (props?: {}) => any;
130
130
  }
131
- 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<{
132
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
133
- readonly onBlur?: ((event: FocusEvent) => any) | undefined;
134
- readonly onChange?: ((event: Event) => any) | undefined;
135
- readonly onFocus?: ((event: FocusEvent) => any) | undefined;
136
- readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
137
- readonly "onUpdate:modelValue"?: ((value: GetModelValue<T, VK, M>) => any) | undefined;
138
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onUpdate:open" | "onUpdate:modelValue"> & SelectProps<T, VK, M> & {}> & import("vue").PublicProps;
139
- expose(exposed: import("vue").ShallowUnwrapRef<{
131
+ declare const __VLS_export: <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<{
132
+ props: __VLS_PrettifyLocal<SelectProps<T, VK, M> & {
133
+ onBlur?: ((event: FocusEvent) => any) | undefined;
134
+ onChange?: ((event: Event) => any) | undefined;
135
+ onFocus?: ((event: FocusEvent) => any) | undefined;
136
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
137
+ "onUpdate:modelValue"?: ((value: GetModelValue<T, VK, M>) => any) | undefined;
138
+ }> & import("vue").PublicProps;
139
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
140
140
  triggerRef: import("vue").Ref<({
141
141
  $: import("vue").ComponentInternalInstance;
142
142
  $data: {};
@@ -240,13 +240,14 @@ declare const _default: <T extends ArrayOrNested<SelectItem>, VK extends GetItem
240
240
  default?: (props: {}) => any;
241
241
  };
242
242
  }) | null>;
243
- }>): void;
243
+ }>) => void;
244
244
  attrs: any;
245
245
  slots: SelectSlots<T, VK, M, NestedItem<T>>;
246
246
  emit: ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", value: GetModelValue<T, VK, M>) => void);
247
247
  }>) => import("vue").VNode & {
248
248
  __ctx?: Awaited<typeof __VLS_setup>;
249
249
  };
250
+ declare const _default: typeof __VLS_export;
250
251
  export default _default;
251
252
  type __VLS_PrettifyLocal<T> = {
252
253
  [K in keyof T as K]: T[K];