@nuxt/ui 3.3.5 → 3.3.6

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 (141) hide show
  1. package/.nuxt/ui/drawer.ts +23 -0
  2. package/dist/module.json +2 -2
  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.d.ts +13 -12
  42. package/dist/runtime/components/Container.d.vue.ts +2 -1
  43. package/dist/runtime/components/Container.vue.d.ts +2 -1
  44. package/dist/runtime/components/ContextMenu.d.vue.ts +6 -5
  45. package/dist/runtime/components/ContextMenu.vue.d.ts +6 -5
  46. package/dist/runtime/components/ContextMenuContent.d.vue.ts +10 -9
  47. package/dist/runtime/components/ContextMenuContent.vue.d.ts +10 -9
  48. package/dist/runtime/components/Drawer.d.vue.ts +5 -1
  49. package/dist/runtime/components/Drawer.vue +19 -5
  50. package/dist/runtime/components/Drawer.vue.d.ts +5 -1
  51. package/dist/runtime/components/DropdownMenu.d.vue.ts +6 -5
  52. package/dist/runtime/components/DropdownMenu.vue.d.ts +6 -5
  53. package/dist/runtime/components/DropdownMenuContent.d.vue.ts +10 -9
  54. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +10 -9
  55. package/dist/runtime/components/FileUpload.d.vue.ts +9 -8
  56. package/dist/runtime/components/FileUpload.vue.d.ts +9 -8
  57. package/dist/runtime/components/Form.d.vue.ts +7 -6
  58. package/dist/runtime/components/Form.vue.d.ts +7 -6
  59. package/dist/runtime/components/FormField.d.vue.ts +2 -1
  60. package/dist/runtime/components/FormField.vue.d.ts +2 -1
  61. package/dist/runtime/components/Icon.d.vue.ts +2 -1
  62. package/dist/runtime/components/Icon.vue.d.ts +2 -1
  63. package/dist/runtime/components/Input.d.vue.ts +9 -8
  64. package/dist/runtime/components/Input.vue.d.ts +9 -8
  65. package/dist/runtime/components/InputMenu.d.vue.ts +17 -16
  66. package/dist/runtime/components/InputMenu.vue.d.ts +17 -16
  67. package/dist/runtime/components/InputNumber.d.vue.ts +2 -1
  68. package/dist/runtime/components/InputNumber.vue.d.ts +2 -1
  69. package/dist/runtime/components/InputTags.d.vue.ts +13 -12
  70. package/dist/runtime/components/InputTags.vue.d.ts +13 -12
  71. package/dist/runtime/components/Kbd.d.vue.ts +2 -1
  72. package/dist/runtime/components/Kbd.vue.d.ts +2 -1
  73. package/dist/runtime/components/Link.d.vue.ts +2 -1
  74. package/dist/runtime/components/Link.vue.d.ts +2 -1
  75. package/dist/runtime/components/LinkBase.d.vue.ts +2 -1
  76. package/dist/runtime/components/LinkBase.vue.d.ts +2 -1
  77. package/dist/runtime/components/Modal.d.vue.ts +4 -3
  78. package/dist/runtime/components/Modal.vue.d.ts +4 -3
  79. package/dist/runtime/components/NavigationMenu.d.vue.ts +6 -5
  80. package/dist/runtime/components/NavigationMenu.vue.d.ts +6 -5
  81. package/dist/runtime/components/OverlayProvider.d.vue.ts +2 -1
  82. package/dist/runtime/components/OverlayProvider.vue.d.ts +2 -1
  83. package/dist/runtime/components/Pagination.d.vue.ts +2 -1
  84. package/dist/runtime/components/Pagination.vue +4 -4
  85. package/dist/runtime/components/Pagination.vue.d.ts +2 -1
  86. package/dist/runtime/components/PinInput.d.vue.ts +10 -9
  87. package/dist/runtime/components/PinInput.vue.d.ts +10 -9
  88. package/dist/runtime/components/Popover.d.vue.ts +2 -1
  89. package/dist/runtime/components/Popover.vue.d.ts +2 -1
  90. package/dist/runtime/components/Progress.d.vue.ts +2 -1
  91. package/dist/runtime/components/Progress.vue.d.ts +2 -1
  92. package/dist/runtime/components/RadioGroup.d.vue.ts +7 -6
  93. package/dist/runtime/components/RadioGroup.vue.d.ts +7 -6
  94. package/dist/runtime/components/Select.d.vue.ts +11 -10
  95. package/dist/runtime/components/Select.vue.d.ts +11 -10
  96. package/dist/runtime/components/SelectMenu.d.vue.ts +16 -15
  97. package/dist/runtime/components/SelectMenu.vue.d.ts +16 -15
  98. package/dist/runtime/components/Separator.d.vue.ts +2 -1
  99. package/dist/runtime/components/Separator.vue.d.ts +2 -1
  100. package/dist/runtime/components/Skeleton.d.vue.ts +2 -1
  101. package/dist/runtime/components/Skeleton.vue.d.ts +2 -1
  102. package/dist/runtime/components/Slideover.d.vue.ts +4 -3
  103. package/dist/runtime/components/Slideover.vue.d.ts +4 -3
  104. package/dist/runtime/components/Slider.d.vue.ts +8 -7
  105. package/dist/runtime/components/Slider.vue.d.ts +8 -7
  106. package/dist/runtime/components/Stepper.d.vue.ts +10 -9
  107. package/dist/runtime/components/Stepper.vue.d.ts +10 -9
  108. package/dist/runtime/components/Switch.d.vue.ts +2 -1
  109. package/dist/runtime/components/Switch.vue.d.ts +2 -1
  110. package/dist/runtime/components/Table.d.vue.ts +20 -19
  111. package/dist/runtime/components/Table.vue +19 -1
  112. package/dist/runtime/components/Table.vue.d.ts +20 -19
  113. package/dist/runtime/components/Tabs.d.vue.ts +7 -6
  114. package/dist/runtime/components/Tabs.vue.d.ts +7 -6
  115. package/dist/runtime/components/Textarea.d.vue.ts +9 -8
  116. package/dist/runtime/components/Textarea.vue.d.ts +9 -8
  117. package/dist/runtime/components/Timeline.d.vue.ts +7 -6
  118. package/dist/runtime/components/Timeline.vue.d.ts +7 -6
  119. package/dist/runtime/components/Toast.d.vue.ts +2 -1
  120. package/dist/runtime/components/Toast.vue.d.ts +2 -1
  121. package/dist/runtime/components/Toaster.d.vue.ts +2 -1
  122. package/dist/runtime/components/Toaster.vue.d.ts +2 -1
  123. package/dist/runtime/components/Tooltip.d.vue.ts +2 -1
  124. package/dist/runtime/components/Tooltip.vue.d.ts +2 -1
  125. package/dist/runtime/components/Tree.d.vue.ts +7 -6
  126. package/dist/runtime/components/Tree.vue.d.ts +7 -6
  127. package/dist/runtime/composables/useKbd.js +1 -1
  128. package/dist/runtime/composables/usePortal.d.ts +3 -3
  129. package/dist/runtime/composables/usePortal.js +5 -10
  130. package/dist/runtime/inertia/components/Link.d.vue.ts +2 -1
  131. package/dist/runtime/inertia/components/Link.vue.d.ts +2 -1
  132. package/dist/runtime/inertia/components/LinkBase.d.vue.ts +2 -1
  133. package/dist/runtime/inertia/components/LinkBase.vue.d.ts +2 -1
  134. package/dist/runtime/vue/components/Icon.d.vue.ts +2 -1
  135. package/dist/runtime/vue/components/Icon.vue.d.ts +2 -1
  136. package/dist/runtime/vue/components/Link.d.vue.ts +2 -1
  137. package/dist/runtime/vue/components/Link.vue.d.ts +2 -1
  138. package/dist/shared/{ui.DH9BUZkq.mjs → ui.DBpKc5X3.mjs} +88 -60
  139. package/dist/unplugin.mjs +1 -1
  140. package/dist/vite.mjs +1 -1
  141. package/package.json +14 -14
@@ -168,23 +168,23 @@ export interface SelectMenuSlots<A extends ArrayOrNested<SelectMenuItem> = Array
168
168
  item: string;
169
169
  }): any;
170
170
  }
171
- 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<{
172
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
173
- readonly onBlur?: ((event: FocusEvent) => any) | undefined;
174
- readonly onChange?: ((event: Event) => any) | undefined;
175
- readonly onFocus?: ((event: FocusEvent) => any) | undefined;
176
- readonly onCreate?: ((item: string) => any) | undefined;
177
- readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
178
- readonly "onUpdate:modelValue"?: ((value: GetModelValue<T, VK, M>) => any) | undefined;
179
- readonly onHighlight?: ((payload: {
171
+ declare const __VLS_export: <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<{
172
+ props: __VLS_PrettifyLocal<(SelectMenuProps<T, VK, M> & {
173
+ searchTerm?: string;
174
+ }) & {
175
+ onBlur?: ((event: FocusEvent) => any) | undefined;
176
+ onChange?: ((event: Event) => any) | undefined;
177
+ onFocus?: ((event: FocusEvent) => any) | undefined;
178
+ onCreate?: ((item: string) => any) | undefined;
179
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
180
+ "onUpdate:modelValue"?: ((value: GetModelValue<T, VK, M>) => any) | undefined;
181
+ onHighlight?: ((payload: {
180
182
  ref: HTMLElement;
181
183
  value: GetModelValue<T, VK, M>;
182
184
  } | undefined) => any) | undefined;
183
- readonly "onUpdate:searchTerm"?: ((value: string) => any) | undefined;
184
- } & 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> & {
185
- searchTerm?: string;
186
- }) & {}> & import("vue").PublicProps;
187
- expose(exposed: import("vue").ShallowUnwrapRef<{
185
+ "onUpdate:searchTerm"?: ((value: string) => any) | undefined;
186
+ }> & import("vue").PublicProps;
187
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
188
188
  triggerRef: import("vue").Ref<({
189
189
  $: import("vue").ComponentInternalInstance;
190
190
  $data: {};
@@ -286,7 +286,7 @@ declare const _default: <T extends ArrayOrNested<SelectMenuItem>, VK extends Get
286
286
  default?: (props: {}) => any;
287
287
  };
288
288
  }) | null>;
289
- }>): void;
289
+ }>) => void;
290
290
  attrs: any;
291
291
  slots: SelectMenuSlots<T, VK, M, NestedItem<T>>;
292
292
  emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "create", item: string) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", value: GetModelValue<T, VK, M>) => void) & ((evt: "highlight", payload: {
@@ -296,6 +296,7 @@ declare const _default: <T extends ArrayOrNested<SelectMenuItem>, VK extends Get
296
296
  }>) => import("vue").VNode & {
297
297
  __ctx?: Awaited<typeof __VLS_setup>;
298
298
  };
299
+ declare const _default: typeof __VLS_export;
299
300
  export default _default;
300
301
  type __VLS_PrettifyLocal<T> = {
301
302
  [K in keyof T as K]: T[K];
@@ -43,9 +43,10 @@ export interface SeparatorProps extends Pick<_SeparatorProps, 'decorative'> {
43
43
  export interface SeparatorSlots {
44
44
  default(props?: {}): any;
45
45
  }
46
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SeparatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SeparatorProps> & Readonly<{}>, {
46
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SeparatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SeparatorProps> & Readonly<{}>, {
47
47
  orientation: "horizontal" | "vertical";
48
48
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, SeparatorSlots>;
49
+ declare const _default: typeof __VLS_export;
49
50
  export default _default;
50
51
  type __VLS_WithSlots<T, S> = T & {
51
52
  new (): {
@@ -43,9 +43,10 @@ export interface SeparatorProps extends Pick<_SeparatorProps, 'decorative'> {
43
43
  export interface SeparatorSlots {
44
44
  default(props?: {}): any;
45
45
  }
46
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SeparatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SeparatorProps> & Readonly<{}>, {
46
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SeparatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SeparatorProps> & Readonly<{}>, {
47
47
  orientation: "horizontal" | "vertical";
48
48
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, SeparatorSlots>;
49
+ declare const _default: typeof __VLS_export;
49
50
  export default _default;
50
51
  type __VLS_WithSlots<T, S> = T & {
51
52
  new (): {
@@ -6,9 +6,10 @@ export interface SkeletonProps {
6
6
  as?: any;
7
7
  class?: any;
8
8
  }
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>, {
9
+ declare const __VLS_export: __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
10
  default?: (props: {}) => any;
11
11
  }>;
12
+ declare const _default: typeof __VLS_export;
12
13
  export default _default;
13
14
  type __VLS_WithSlots<T, S> = T & {
14
15
  new (): {
@@ -6,9 +6,10 @@ export interface SkeletonProps {
6
6
  as?: any;
7
7
  class?: any;
8
8
  }
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>, {
9
+ declare const __VLS_export: __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
10
  default?: (props: {}) => any;
11
11
  }>;
12
+ declare const _default: typeof __VLS_export;
12
13
  export default _default;
13
14
  type __VLS_WithSlots<T, S> = T & {
14
15
  new (): {
@@ -80,16 +80,16 @@ export interface SlideoverSlots {
80
80
  close: () => void;
81
81
  }): any;
82
82
  }
83
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SlideoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
83
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SlideoverProps, {}, {}, {}, {}, 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<SlideoverProps> & 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;
@@ -99,6 +99,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SlideoverP
99
99
  side: Slideover["variants"]["side"];
100
100
  dismissible: boolean;
101
101
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, SlideoverSlots>;
102
+ declare const _default: typeof __VLS_export;
102
103
  export default _default;
103
104
  type __VLS_WithSlots<T, S> = T & {
104
105
  new (): {
@@ -80,16 +80,16 @@ export interface SlideoverSlots {
80
80
  close: () => void;
81
81
  }): any;
82
82
  }
83
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SlideoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
83
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SlideoverProps, {}, {}, {}, {}, 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<SlideoverProps> & 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;
@@ -99,6 +99,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SlideoverP
99
99
  side: Slideover["variants"]["side"];
100
100
  dismissible: boolean;
101
101
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, SlideoverSlots>;
102
+ declare const _default: typeof __VLS_export;
102
103
  export default _default;
103
104
  type __VLS_WithSlots<T, S> = T & {
104
105
  new (): {
@@ -37,20 +37,21 @@ export interface SliderProps extends Pick<SliderRootProps, 'name' | 'disabled' |
37
37
  export interface SliderEmits {
38
38
  change: [event: Event];
39
39
  }
40
- declare const _default: <T extends number | number[]>(__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<{
41
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
42
- readonly onChange?: ((event: Event) => any) | undefined;
43
- readonly "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
44
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onChange" | "onUpdate:modelValue"> & (SliderProps & {
40
+ declare const __VLS_export: <T extends number | number[]>(__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<{
41
+ props: __VLS_PrettifyLocal<(SliderProps & {
45
42
  modelValue?: T;
46
- }) & {}> & import("vue").PublicProps;
47
- expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
43
+ }) & {
44
+ onChange?: ((event: Event) => any) | undefined;
45
+ "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
46
+ }> & import("vue").PublicProps;
47
+ expose: (exposed: {}) => void;
48
48
  attrs: any;
49
49
  slots: {};
50
50
  emit: ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T | undefined) => void);
51
51
  }>) => import("vue").VNode & {
52
52
  __ctx?: Awaited<typeof __VLS_setup>;
53
53
  };
54
+ declare const _default: typeof __VLS_export;
54
55
  export default _default;
55
56
  type __VLS_PrettifyLocal<T> = {
56
57
  [K in keyof T as K]: T[K];
@@ -37,20 +37,21 @@ export interface SliderProps extends Pick<SliderRootProps, 'name' | 'disabled' |
37
37
  export interface SliderEmits {
38
38
  change: [event: Event];
39
39
  }
40
- declare const _default: <T extends number | number[]>(__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<{
41
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
42
- readonly onChange?: ((event: Event) => any) | undefined;
43
- readonly "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
44
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onChange" | "onUpdate:modelValue"> & (SliderProps & {
40
+ declare const __VLS_export: <T extends number | number[]>(__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<{
41
+ props: __VLS_PrettifyLocal<(SliderProps & {
45
42
  modelValue?: T;
46
- }) & {}> & import("vue").PublicProps;
47
- expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
43
+ }) & {
44
+ onChange?: ((event: Event) => any) | undefined;
45
+ "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
46
+ }> & import("vue").PublicProps;
47
+ expose: (exposed: {}) => void;
48
48
  attrs: any;
49
49
  slots: {};
50
50
  emit: ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T | undefined) => void);
51
51
  }>) => import("vue").VNode & {
52
52
  __ctx?: Awaited<typeof __VLS_setup>;
53
53
  };
54
+ declare const _default: typeof __VLS_export;
54
55
  export default _default;
55
56
  type __VLS_PrettifyLocal<T> = {
56
57
  [K in keyof T as K]: T[K];
@@ -59,26 +59,27 @@ export type StepperSlots<T extends StepperItem = StepperItem> = {
59
59
  description: SlotProps<T>;
60
60
  content: SlotProps<T>;
61
61
  } & DynamicSlots<T>;
62
- 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<{
63
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
64
- readonly onPrev?: ((value: T) => any) | undefined;
65
- readonly onNext?: ((value: T) => any) | undefined;
66
- readonly "onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
67
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue" | "onPrev" | "onNext"> & (StepperProps<T> & {
62
+ declare const __VLS_export: <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<{
63
+ props: __VLS_PrettifyLocal<(StepperProps<T> & {
68
64
  modelValue?: string | number;
69
- }) & {}> & import("vue").PublicProps;
70
- expose(exposed: import("vue").ShallowUnwrapRef<{
65
+ }) & {
66
+ onPrev?: ((value: T) => any) | undefined;
67
+ onNext?: ((value: T) => any) | undefined;
68
+ "onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
69
+ }> & import("vue").PublicProps;
70
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
71
71
  next(): void;
72
72
  prev(): void;
73
73
  hasNext: import("vue").ComputedRef<boolean>;
74
74
  hasPrev: import("vue").ComputedRef<boolean>;
75
- }>): void;
75
+ }>) => void;
76
76
  attrs: any;
77
77
  slots: StepperSlots<T>;
78
78
  emit: (((evt: "prev", value: T) => void) & ((evt: "next", value: T) => void)) & ((evt: "update:modelValue", value: string | number | undefined) => void);
79
79
  }>) => import("vue").VNode & {
80
80
  __ctx?: Awaited<typeof __VLS_setup>;
81
81
  };
82
+ declare const _default: typeof __VLS_export;
82
83
  export default _default;
83
84
  type __VLS_PrettifyLocal<T> = {
84
85
  [K in keyof T as K]: T[K];
@@ -59,26 +59,27 @@ export type StepperSlots<T extends StepperItem = StepperItem> = {
59
59
  description: SlotProps<T>;
60
60
  content: SlotProps<T>;
61
61
  } & DynamicSlots<T>;
62
- 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<{
63
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
64
- readonly onPrev?: ((value: T) => any) | undefined;
65
- readonly onNext?: ((value: T) => any) | undefined;
66
- readonly "onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
67
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue" | "onPrev" | "onNext"> & (StepperProps<T> & {
62
+ declare const __VLS_export: <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<{
63
+ props: __VLS_PrettifyLocal<(StepperProps<T> & {
68
64
  modelValue?: string | number;
69
- }) & {}> & import("vue").PublicProps;
70
- expose(exposed: import("vue").ShallowUnwrapRef<{
65
+ }) & {
66
+ onPrev?: ((value: T) => any) | undefined;
67
+ onNext?: ((value: T) => any) | undefined;
68
+ "onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
69
+ }> & import("vue").PublicProps;
70
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
71
71
  next(): void;
72
72
  prev(): void;
73
73
  hasNext: import("vue").ComputedRef<boolean>;
74
74
  hasPrev: import("vue").ComputedRef<boolean>;
75
- }>): void;
75
+ }>) => void;
76
76
  attrs: any;
77
77
  slots: StepperSlots<T>;
78
78
  emit: (((evt: "prev", value: T) => void) & ((evt: "next", value: T) => void)) & ((evt: "update:modelValue", value: string | number | undefined) => void);
79
79
  }>) => import("vue").VNode & {
80
80
  __ctx?: Awaited<typeof __VLS_setup>;
81
81
  };
82
+ declare const _default: typeof __VLS_export;
82
83
  export default _default;
83
84
  type __VLS_PrettifyLocal<T> = {
84
85
  [K in keyof T as K]: T[K];
@@ -51,7 +51,7 @@ export interface SwitchSlots {
51
51
  description?: string;
52
52
  }): any;
53
53
  }
54
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SwitchProps & {
54
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SwitchProps & {
55
55
  modelValue?: boolean;
56
56
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
57
57
  change: (event: Event) => any;
@@ -62,6 +62,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SwitchProp
62
62
  onChange?: ((event: Event) => any) | undefined;
63
63
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
64
64
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, SwitchSlots>;
65
+ declare const _default: typeof __VLS_export;
65
66
  export default _default;
66
67
  type __VLS_WithSlots<T, S> = T & {
67
68
  new (): {
@@ -51,7 +51,7 @@ export interface SwitchSlots {
51
51
  description?: string;
52
52
  }): any;
53
53
  }
54
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SwitchProps & {
54
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SwitchProps & {
55
55
  modelValue?: boolean;
56
56
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
57
57
  change: (event: Event) => any;
@@ -62,6 +62,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SwitchProp
62
62
  onChange?: ((event: Event) => any) | undefined;
63
63
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
64
64
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, SwitchSlots>;
65
+ declare const _default: typeof __VLS_export;
65
66
  export default _default;
66
67
  type __VLS_WithSlots<T, S> = T & {
67
68
  new (): {
@@ -155,22 +155,8 @@ export type TableSlots<T extends TableData = TableData> = {
155
155
  'body-top': (props?: {}) => any;
156
156
  'body-bottom': (props?: {}) => any;
157
157
  } & DynamicHeaderSlots<T> & DynamicFooterSlots<T> & DynamicCellSlots<T>;
158
- declare const _default: <T extends TableData>(__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<{
159
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
160
- readonly "onUpdate:globalFilter"?: ((value: string) => any) | undefined;
161
- readonly "onUpdate:columnFilters"?: ((value: ColumnFiltersState) => any) | undefined;
162
- readonly "onUpdate:columnOrder"?: ((value: ColumnOrderState) => any) | undefined;
163
- readonly "onUpdate:columnVisibility"?: ((value: VisibilityState) => any) | undefined;
164
- readonly "onUpdate:columnPinning"?: ((value: ColumnPinningState) => any) | undefined;
165
- readonly "onUpdate:columnSizing"?: ((value: ColumnSizingState) => any) | undefined;
166
- readonly "onUpdate:columnSizingInfo"?: ((value: ColumnSizingInfoState) => any) | undefined;
167
- readonly "onUpdate:rowSelection"?: ((value: RowSelectionState) => any) | undefined;
168
- readonly "onUpdate:rowPinning"?: ((value: RowPinningState) => any) | undefined;
169
- readonly "onUpdate:sorting"?: ((value: SortingState) => any) | undefined;
170
- readonly "onUpdate:grouping"?: ((value: GroupingState) => any) | undefined;
171
- readonly "onUpdate:expanded"?: ((value: ExpandedState) => any) | undefined;
172
- readonly "onUpdate:pagination"?: ((value: PaginationState) => any) | undefined;
173
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:globalFilter" | "onUpdate:columnFilters" | "onUpdate:columnOrder" | "onUpdate:columnVisibility" | "onUpdate:columnPinning" | "onUpdate:columnSizing" | "onUpdate:columnSizingInfo" | "onUpdate:rowSelection" | "onUpdate:rowPinning" | "onUpdate:sorting" | "onUpdate:grouping" | "onUpdate:expanded" | "onUpdate:pagination"> & (TableProps<T> & {
158
+ declare const __VLS_export: <T extends TableData>(__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<{
159
+ props: __VLS_PrettifyLocal<(TableProps<T> & {
174
160
  globalFilter?: string;
175
161
  columnFilters?: ColumnFiltersState;
176
162
  columnOrder?: ColumnOrderState;
@@ -184,17 +170,32 @@ declare const _default: <T extends TableData>(__VLS_props: NonNullable<Awaited<t
184
170
  grouping?: GroupingState;
185
171
  expanded?: ExpandedState;
186
172
  pagination?: PaginationState;
187
- }) & {}> & import("vue").PublicProps;
188
- expose(exposed: import("vue").ShallowUnwrapRef<{
173
+ }) & {
174
+ "onUpdate:globalFilter"?: ((value: string) => any) | undefined;
175
+ "onUpdate:columnFilters"?: ((value: ColumnFiltersState) => any) | undefined;
176
+ "onUpdate:columnOrder"?: ((value: ColumnOrderState) => any) | undefined;
177
+ "onUpdate:columnVisibility"?: ((value: VisibilityState) => any) | undefined;
178
+ "onUpdate:columnPinning"?: ((value: ColumnPinningState) => any) | undefined;
179
+ "onUpdate:columnSizing"?: ((value: ColumnSizingState) => any) | undefined;
180
+ "onUpdate:columnSizingInfo"?: ((value: ColumnSizingInfoState) => any) | undefined;
181
+ "onUpdate:rowSelection"?: ((value: RowSelectionState) => any) | undefined;
182
+ "onUpdate:rowPinning"?: ((value: RowPinningState) => any) | undefined;
183
+ "onUpdate:sorting"?: ((value: SortingState) => any) | undefined;
184
+ "onUpdate:grouping"?: ((value: GroupingState) => any) | undefined;
185
+ "onUpdate:expanded"?: ((value: ExpandedState) => any) | undefined;
186
+ "onUpdate:pagination"?: ((value: PaginationState) => any) | undefined;
187
+ }> & import("vue").PublicProps;
188
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
189
189
  tableRef: Ref<HTMLTableElement | null, HTMLTableElement | null>;
190
190
  tableApi: import("@tanstack/table-core").Table<T>;
191
- }>): void;
191
+ }>) => void;
192
192
  attrs: any;
193
193
  slots: TableSlots<T>;
194
194
  emit: ((evt: "update:globalFilter", value: string) => void) & ((evt: "update:columnFilters", value: ColumnFiltersState) => void) & ((evt: "update:columnOrder", value: ColumnOrderState) => void) & ((evt: "update:columnVisibility", value: VisibilityState) => void) & ((evt: "update:columnPinning", value: ColumnPinningState) => void) & ((evt: "update:columnSizing", value: ColumnSizingState) => void) & ((evt: "update:columnSizingInfo", value: ColumnSizingInfoState) => void) & ((evt: "update:rowSelection", value: RowSelectionState) => void) & ((evt: "update:rowPinning", value: RowPinningState) => void) & ((evt: "update:sorting", value: SortingState) => void) & ((evt: "update:grouping", value: GroupingState) => void) & ((evt: "update:expanded", value: ExpandedState) => void) & ((evt: "update:pagination", value: PaginationState) => void);
195
195
  }>) => import("vue").VNode & {
196
196
  __ctx?: Awaited<typeof __VLS_setup>;
197
197
  };
198
+ declare const _default: typeof __VLS_export;
198
199
  export default _default;
199
200
  type __VLS_PrettifyLocal<T> = {
200
201
  [K in keyof T as K]: T[K];
@@ -63,8 +63,26 @@ const slots = defineSlots();
63
63
  const { t } = useLocale();
64
64
  const appConfig = useAppConfig();
65
65
  const data = ref(props.data ?? []);
66
- const columns = computed(() => props.columns ?? Object.keys(data.value[0] ?? {}).map((accessorKey) => ({ accessorKey, header: upperFirst(accessorKey) })));
67
66
  const meta = computed(() => props.meta ?? {});
67
+ const columns = computed(() => processColumns(props.columns ?? Object.keys(data.value[0] ?? {}).map((accessorKey) => ({ accessorKey, header: upperFirst(accessorKey) }))));
68
+ function processColumns(columns2) {
69
+ return columns2.map((column) => {
70
+ const col = { ...column };
71
+ if ("columns" in col && col.columns) {
72
+ col.columns = processColumns(col.columns);
73
+ }
74
+ if (!col.cell) {
75
+ col.cell = ({ getValue }) => {
76
+ const value = getValue();
77
+ if (value === "" || value === null || value === void 0) {
78
+ return "\xA0";
79
+ }
80
+ return String(value);
81
+ };
82
+ }
83
+ return col;
84
+ });
85
+ }
68
86
  const ui = computed(() => tv({ extend: tv(theme), ...appConfig.ui?.table || {} })({
69
87
  sticky: props.sticky,
70
88
  loading: props.loading,
@@ -155,22 +155,8 @@ export type TableSlots<T extends TableData = TableData> = {
155
155
  'body-top': (props?: {}) => any;
156
156
  'body-bottom': (props?: {}) => any;
157
157
  } & DynamicHeaderSlots<T> & DynamicFooterSlots<T> & DynamicCellSlots<T>;
158
- declare const _default: <T extends TableData>(__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<{
159
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
160
- readonly "onUpdate:globalFilter"?: ((value: string) => any) | undefined;
161
- readonly "onUpdate:columnFilters"?: ((value: ColumnFiltersState) => any) | undefined;
162
- readonly "onUpdate:columnOrder"?: ((value: ColumnOrderState) => any) | undefined;
163
- readonly "onUpdate:columnVisibility"?: ((value: VisibilityState) => any) | undefined;
164
- readonly "onUpdate:columnPinning"?: ((value: ColumnPinningState) => any) | undefined;
165
- readonly "onUpdate:columnSizing"?: ((value: ColumnSizingState) => any) | undefined;
166
- readonly "onUpdate:columnSizingInfo"?: ((value: ColumnSizingInfoState) => any) | undefined;
167
- readonly "onUpdate:rowSelection"?: ((value: RowSelectionState) => any) | undefined;
168
- readonly "onUpdate:rowPinning"?: ((value: RowPinningState) => any) | undefined;
169
- readonly "onUpdate:sorting"?: ((value: SortingState) => any) | undefined;
170
- readonly "onUpdate:grouping"?: ((value: GroupingState) => any) | undefined;
171
- readonly "onUpdate:expanded"?: ((value: ExpandedState) => any) | undefined;
172
- readonly "onUpdate:pagination"?: ((value: PaginationState) => any) | undefined;
173
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:globalFilter" | "onUpdate:columnFilters" | "onUpdate:columnOrder" | "onUpdate:columnVisibility" | "onUpdate:columnPinning" | "onUpdate:columnSizing" | "onUpdate:columnSizingInfo" | "onUpdate:rowSelection" | "onUpdate:rowPinning" | "onUpdate:sorting" | "onUpdate:grouping" | "onUpdate:expanded" | "onUpdate:pagination"> & (TableProps<T> & {
158
+ declare const __VLS_export: <T extends TableData>(__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<{
159
+ props: __VLS_PrettifyLocal<(TableProps<T> & {
174
160
  globalFilter?: string;
175
161
  columnFilters?: ColumnFiltersState;
176
162
  columnOrder?: ColumnOrderState;
@@ -184,17 +170,32 @@ declare const _default: <T extends TableData>(__VLS_props: NonNullable<Awaited<t
184
170
  grouping?: GroupingState;
185
171
  expanded?: ExpandedState;
186
172
  pagination?: PaginationState;
187
- }) & {}> & import("vue").PublicProps;
188
- expose(exposed: import("vue").ShallowUnwrapRef<{
173
+ }) & {
174
+ "onUpdate:globalFilter"?: ((value: string) => any) | undefined;
175
+ "onUpdate:columnFilters"?: ((value: ColumnFiltersState) => any) | undefined;
176
+ "onUpdate:columnOrder"?: ((value: ColumnOrderState) => any) | undefined;
177
+ "onUpdate:columnVisibility"?: ((value: VisibilityState) => any) | undefined;
178
+ "onUpdate:columnPinning"?: ((value: ColumnPinningState) => any) | undefined;
179
+ "onUpdate:columnSizing"?: ((value: ColumnSizingState) => any) | undefined;
180
+ "onUpdate:columnSizingInfo"?: ((value: ColumnSizingInfoState) => any) | undefined;
181
+ "onUpdate:rowSelection"?: ((value: RowSelectionState) => any) | undefined;
182
+ "onUpdate:rowPinning"?: ((value: RowPinningState) => any) | undefined;
183
+ "onUpdate:sorting"?: ((value: SortingState) => any) | undefined;
184
+ "onUpdate:grouping"?: ((value: GroupingState) => any) | undefined;
185
+ "onUpdate:expanded"?: ((value: ExpandedState) => any) | undefined;
186
+ "onUpdate:pagination"?: ((value: PaginationState) => any) | undefined;
187
+ }> & import("vue").PublicProps;
188
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
189
189
  tableRef: Ref<HTMLTableElement | null, HTMLTableElement | null>;
190
190
  tableApi: import("@tanstack/table-core").Table<T>;
191
- }>): void;
191
+ }>) => void;
192
192
  attrs: any;
193
193
  slots: TableSlots<T>;
194
194
  emit: ((evt: "update:globalFilter", value: string) => void) & ((evt: "update:columnFilters", value: ColumnFiltersState) => void) & ((evt: "update:columnOrder", value: ColumnOrderState) => void) & ((evt: "update:columnVisibility", value: VisibilityState) => void) & ((evt: "update:columnPinning", value: ColumnPinningState) => void) & ((evt: "update:columnSizing", value: ColumnSizingState) => void) & ((evt: "update:columnSizingInfo", value: ColumnSizingInfoState) => void) & ((evt: "update:rowSelection", value: RowSelectionState) => void) & ((evt: "update:rowPinning", value: RowPinningState) => void) & ((evt: "update:sorting", value: SortingState) => void) & ((evt: "update:grouping", value: GroupingState) => void) & ((evt: "update:expanded", value: ExpandedState) => void) & ((evt: "update:pagination", value: PaginationState) => void);
195
195
  }>) => import("vue").VNode & {
196
196
  __ctx?: Awaited<typeof __VLS_setup>;
197
197
  };
198
+ declare const _default: typeof __VLS_export;
198
199
  export default _default;
199
200
  type __VLS_PrettifyLocal<T> = {
200
201
  [K in keyof T as K]: T[K];
@@ -79,19 +79,20 @@ export type TabsSlots<T extends TabsItem = TabsItem> = {
79
79
  } & DynamicSlots<T, undefined, {
80
80
  index: number;
81
81
  }>;
82
- declare const _default: <T extends TabsItem>(__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<{
83
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
84
- readonly "onUpdate:modelValue"?: ((payload: string | number) => any) | undefined;
85
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & TabsProps<T> & {}> & import("vue").PublicProps;
86
- expose(exposed: import("vue").ShallowUnwrapRef<{
82
+ declare const __VLS_export: <T extends TabsItem>(__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<{
83
+ props: __VLS_PrettifyLocal<TabsProps<T> & {
84
+ "onUpdate:modelValue"?: ((payload: string | number) => any) | undefined;
85
+ }> & import("vue").PublicProps;
86
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
87
87
  triggersRef: import("vue").Ref<ComponentPublicInstance[], ComponentPublicInstance[]>;
88
- }>): void;
88
+ }>) => void;
89
89
  attrs: any;
90
90
  slots: TabsSlots<T>;
91
91
  emit: (evt: "update:modelValue", payload: string | number) => void;
92
92
  }>) => import("vue").VNode & {
93
93
  __ctx?: Awaited<typeof __VLS_setup>;
94
94
  };
95
+ declare const _default: typeof __VLS_export;
95
96
  export default _default;
96
97
  type __VLS_PrettifyLocal<T> = {
97
98
  [K in keyof T as K]: T[K];
@@ -79,19 +79,20 @@ export type TabsSlots<T extends TabsItem = TabsItem> = {
79
79
  } & DynamicSlots<T, undefined, {
80
80
  index: number;
81
81
  }>;
82
- declare const _default: <T extends TabsItem>(__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<{
83
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
84
- readonly "onUpdate:modelValue"?: ((payload: string | number) => any) | undefined;
85
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & TabsProps<T> & {}> & import("vue").PublicProps;
86
- expose(exposed: import("vue").ShallowUnwrapRef<{
82
+ declare const __VLS_export: <T extends TabsItem>(__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<{
83
+ props: __VLS_PrettifyLocal<TabsProps<T> & {
84
+ "onUpdate:modelValue"?: ((payload: string | number) => any) | undefined;
85
+ }> & import("vue").PublicProps;
86
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
87
87
  triggersRef: import("vue").Ref<ComponentPublicInstance[], ComponentPublicInstance[]>;
88
- }>): void;
88
+ }>) => void;
89
89
  attrs: any;
90
90
  slots: TabsSlots<T>;
91
91
  emit: (evt: "update:modelValue", payload: string | number) => void;
92
92
  }>) => import("vue").VNode & {
93
93
  __ctx?: Awaited<typeof __VLS_setup>;
94
94
  };
95
+ declare const _default: typeof __VLS_export;
95
96
  export default _default;
96
97
  type __VLS_PrettifyLocal<T> = {
97
98
  [K in keyof T as K]: T[K];
@@ -58,21 +58,22 @@ export interface TextareaSlots {
58
58
  default(props?: {}): any;
59
59
  trailing(props?: {}): any;
60
60
  }
61
- declare const _default: <T extends TextareaValue>(__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<{
62
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
63
- readonly onBlur?: ((event: FocusEvent) => any) | undefined;
64
- readonly onChange?: ((event: Event) => any) | undefined;
65
- readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
66
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onBlur" | "onChange" | "onUpdate:modelValue"> & TextareaProps<T> & {}> & import("vue").PublicProps;
67
- expose(exposed: import("vue").ShallowUnwrapRef<{
61
+ declare const __VLS_export: <T extends TextareaValue>(__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<{
62
+ props: __VLS_PrettifyLocal<TextareaProps<T> & {
63
+ onBlur?: ((event: FocusEvent) => any) | undefined;
64
+ onChange?: ((event: Event) => any) | undefined;
65
+ "onUpdate:modelValue"?: ((value: T) => any) | undefined;
66
+ }> & import("vue").PublicProps;
67
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
68
68
  textareaRef: import("vue").Ref<HTMLTextAreaElement | null, HTMLTextAreaElement | null>;
69
- }>): void;
69
+ }>) => void;
70
70
  attrs: any;
71
71
  slots: TextareaSlots;
72
72
  emit: ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void);
73
73
  }>) => import("vue").VNode & {
74
74
  __ctx?: Awaited<typeof __VLS_setup>;
75
75
  };
76
+ declare const _default: typeof __VLS_export;
76
77
  export default _default;
77
78
  type __VLS_PrettifyLocal<T> = {
78
79
  [K in keyof T as K]: T[K];