@nuxt/ui 2.21.1 → 2.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/README.md +22 -7
  2. package/dist/module.d.mts +2 -1
  3. package/dist/module.json +3 -3
  4. package/dist/module.mjs +2 -11
  5. package/dist/runtime/components/data/Table.vue +16 -13
  6. package/dist/runtime/components/data/Table.vue.d.ts +44 -347
  7. package/dist/runtime/components/elements/Accordion.vue +4 -4
  8. package/dist/runtime/components/elements/Accordion.vue.d.ts +16 -16
  9. package/dist/runtime/components/elements/Alert.vue +6 -6
  10. package/dist/runtime/components/elements/Alert.vue.d.ts +38 -38
  11. package/dist/runtime/components/elements/Avatar.vue.d.ts +2 -2
  12. package/dist/runtime/components/elements/Badge.vue +1 -1
  13. package/dist/runtime/components/elements/Badge.vue.d.ts +2 -2
  14. package/dist/runtime/components/elements/Button.vue +1 -1
  15. package/dist/runtime/components/elements/Button.vue.d.ts +6 -6
  16. package/dist/runtime/components/elements/Carousel.vue +3 -3
  17. package/dist/runtime/components/elements/Carousel.vue.d.ts +22 -22
  18. package/dist/runtime/components/elements/Chip.vue.d.ts +1 -1
  19. package/dist/runtime/components/elements/Dropdown.vue +1 -1
  20. package/dist/runtime/components/elements/Dropdown.vue.d.ts +19 -19
  21. package/dist/runtime/components/elements/Kbd.vue.d.ts +1 -1
  22. package/dist/runtime/components/elements/Link.vue +7 -7
  23. package/dist/runtime/components/elements/Link.vue.d.ts +3 -3
  24. package/dist/runtime/components/elements/Meter.vue +1 -1
  25. package/dist/runtime/components/elements/Meter.vue.d.ts +3 -3
  26. package/dist/runtime/components/elements/MeterGroup.d.ts +1 -1
  27. package/dist/runtime/components/elements/Progress.vue +1 -1
  28. package/dist/runtime/components/elements/Progress.vue.d.ts +5 -5
  29. package/dist/runtime/components/forms/Checkbox.vue.d.ts +3 -3
  30. package/dist/runtime/components/forms/Form.vue +0 -45
  31. package/dist/runtime/components/forms/Form.vue.d.ts +4 -8
  32. package/dist/runtime/components/forms/FormGroup.vue.d.ts +2 -2
  33. package/dist/runtime/components/forms/Input.vue +3 -3
  34. package/dist/runtime/components/forms/Input.vue.d.ts +3 -3
  35. package/dist/runtime/components/forms/InputMenu.vue +4 -4
  36. package/dist/runtime/components/forms/InputMenu.vue.d.ts +16 -16
  37. package/dist/runtime/components/forms/Radio.vue.d.ts +3 -3
  38. package/dist/runtime/components/forms/RadioGroup.vue.d.ts +6 -6
  39. package/dist/runtime/components/forms/Range.vue.d.ts +3 -3
  40. package/dist/runtime/components/forms/Select.vue +2 -2
  41. package/dist/runtime/components/forms/Select.vue.d.ts +2 -2
  42. package/dist/runtime/components/forms/SelectMenu.vue +7 -7
  43. package/dist/runtime/components/forms/SelectMenu.vue.d.ts +16 -16
  44. package/dist/runtime/components/forms/Textarea.vue.d.ts +3 -3
  45. package/dist/runtime/components/forms/Toggle.vue.d.ts +2 -2
  46. package/dist/runtime/components/layout/Card.vue.d.ts +1 -1
  47. package/dist/runtime/components/layout/Container.vue.d.ts +1 -1
  48. package/dist/runtime/components/layout/Divider.vue.d.ts +15 -15
  49. package/dist/runtime/components/layout/Skeleton.vue.d.ts +1 -1
  50. package/dist/runtime/components/navigation/Breadcrumb.vue +1 -1
  51. package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +3 -3
  52. package/dist/runtime/components/navigation/CommandPalette.vue +1 -1
  53. package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +33 -33
  54. package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +30 -30
  55. package/dist/runtime/components/navigation/HorizontalNavigation.vue +5 -5
  56. package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +36 -36
  57. package/dist/runtime/components/navigation/Pagination.vue +5 -5
  58. package/dist/runtime/components/navigation/Pagination.vue.d.ts +34 -34
  59. package/dist/runtime/components/navigation/Tabs.vue.d.ts +1 -1
  60. package/dist/runtime/components/navigation/VerticalNavigation.vue +5 -5
  61. package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +58 -58
  62. package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +1 -1
  63. package/dist/runtime/components/overlays/Modal.vue +6 -6
  64. package/dist/runtime/components/overlays/Modal.vue.d.ts +3 -3
  65. package/dist/runtime/components/overlays/Modals.client.vue +5 -7
  66. package/dist/runtime/components/overlays/Modals.client.vue.d.ts +2 -0
  67. package/dist/runtime/components/overlays/Notification.vue +6 -6
  68. package/dist/runtime/components/overlays/Notification.vue.d.ts +42 -42
  69. package/dist/runtime/components/overlays/Notifications.vue.d.ts +67 -67
  70. package/dist/runtime/components/overlays/Popover.vue.d.ts +2 -2
  71. package/dist/runtime/components/overlays/Slideover.vue.d.ts +3 -3
  72. package/dist/runtime/components/overlays/Slideovers.client.vue +5 -7
  73. package/dist/runtime/components/overlays/Slideovers.client.vue.d.ts +2 -0
  74. package/dist/runtime/components/overlays/Tooltip.vue.d.ts +5 -5
  75. package/dist/runtime/composables/useCarouselScroll.d.ts +1 -1
  76. package/dist/runtime/composables/useFormGroup.d.ts +1 -1
  77. package/dist/runtime/composables/useToast.d.ts +4 -4
  78. package/dist/runtime/types/component.d.ts +12 -12
  79. package/dist/runtime/types/utils.d.ts +2 -2
  80. package/dist/runtime/ui.config/forms/selectMenu.d.ts +1 -1
  81. package/dist/runtime/utils/link.js +4 -2
  82. package/dist/types.d.mts +3 -1
  83. package/package.json +65 -36
  84. package/dist/module.cjs +0 -5
  85. package/dist/module.d.ts +0 -40
  86. package/dist/types.d.ts +0 -1
@@ -53,19 +53,19 @@ declare const config: {
53
53
  icon: string;
54
54
  trailing: boolean;
55
55
  square: boolean;
56
- color: import("../../types/button").ButtonColor;
57
- variant: import("../../types/button").ButtonVariant;
56
+ color: import("../../types/button.js").ButtonColor;
57
+ variant: import("../../types/button.js").ButtonVariant;
58
58
  class: string;
59
59
  };
60
60
  expandButton: {
61
61
  icon: string;
62
- color: import("../../types/button").ButtonColor;
63
- variant: import("../../types/button").ButtonVariant;
64
- size: import("../../types/button").ButtonSize;
62
+ color: import("../../types/button.js").ButtonColor;
63
+ variant: import("../../types/button.js").ButtonVariant;
64
+ size: import("../../types/button.js").ButtonSize;
65
65
  class: string;
66
66
  };
67
67
  checkbox: {
68
- color: import("../../types/checkbox").CheckboxColor;
68
+ color: import("../../types/checkbox.js").CheckboxColor;
69
69
  };
70
70
  progress: {
71
71
  color: ProgressColor;
@@ -244,19 +244,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
244
244
  icon: string;
245
245
  trailing: boolean;
246
246
  square: boolean;
247
- color: import("../../types/button").ButtonColor;
248
- variant: import("../../types/button").ButtonVariant;
247
+ color: import("../../types/button.js").ButtonColor;
248
+ variant: import("../../types/button.js").ButtonVariant;
249
249
  class: string;
250
250
  };
251
251
  expandButton: {
252
252
  icon: string;
253
- color: import("../../types/button").ButtonColor;
254
- variant: import("../../types/button").ButtonVariant;
255
- size: import("../../types/button").ButtonSize;
253
+ color: import("../../types/button.js").ButtonColor;
254
+ variant: import("../../types/button.js").ButtonVariant;
255
+ size: import("../../types/button.js").ButtonSize;
256
256
  class: string;
257
257
  };
258
258
  checkbox: {
259
- color: import("../../types/checkbox").CheckboxColor;
259
+ color: import("../../types/checkbox.js").CheckboxColor;
260
260
  };
261
261
  progress: {
262
262
  color: ProgressColor;
@@ -426,7 +426,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
426
426
  column: string;
427
427
  direction: "asc" | "desc";
428
428
  };
429
- class: any;
430
429
  ui: {
431
430
  wrapper?: string;
432
431
  base?: string;
@@ -480,19 +479,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
480
479
  icon: string;
481
480
  trailing: boolean;
482
481
  square: boolean;
483
- color: import("../../types/button").ButtonColor;
484
- variant: import("../../types/button").ButtonVariant;
482
+ color: import("../../types/button.js").ButtonColor;
483
+ variant: import("../../types/button.js").ButtonVariant;
485
484
  class: string;
486
485
  };
487
486
  expandButton: {
488
487
  icon: string;
489
- color: import("../../types/button").ButtonColor;
490
- variant: import("../../types/button").ButtonVariant;
491
- size: import("../../types/button").ButtonSize;
488
+ color: import("../../types/button.js").ButtonColor;
489
+ variant: import("../../types/button.js").ButtonVariant;
490
+ size: import("../../types/button.js").ButtonSize;
492
491
  class: string;
493
492
  };
494
493
  checkbox: {
495
- color: import("../../types/checkbox").CheckboxColor;
494
+ color: import("../../types/checkbox.js").CheckboxColor;
496
495
  };
497
496
  progress: {
498
497
  color: ProgressColor;
@@ -518,6 +517,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
518
517
  color: ProgressColor;
519
518
  animation: ProgressAnimation;
520
519
  };
520
+ class: any;
521
521
  modelValue: unknown[];
522
522
  loading: boolean;
523
523
  loadingState: {
@@ -611,17 +611,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
611
611
  default: boolean;
612
612
  };
613
613
  size: {
614
- type: PropType<import("../../types/button").ButtonSize>;
614
+ type: PropType<import("../../types/button.js").ButtonSize>;
615
615
  default: () => string;
616
616
  validator(value: string): boolean;
617
617
  };
618
618
  color: {
619
- type: PropType<import("../../types/button").ButtonColor>;
619
+ type: PropType<import("../../types/button.js").ButtonColor>;
620
620
  default: () => string;
621
621
  validator(value: string): boolean;
622
622
  };
623
623
  variant: {
624
- type: PropType<import("../../types/button").ButtonVariant>;
624
+ type: PropType<import("../../types/button.js").ButtonVariant>;
625
625
  default: () => string;
626
626
  validator(value: string): boolean;
627
627
  };
@@ -930,17 +930,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
930
930
  default: boolean;
931
931
  };
932
932
  size: {
933
- type: PropType<import("../../types/button").ButtonSize>;
933
+ type: PropType<import("../../types/button.js").ButtonSize>;
934
934
  default: () => string;
935
935
  validator(value: string): boolean;
936
936
  };
937
937
  color: {
938
- type: PropType<import("../../types/button").ButtonColor>;
938
+ type: PropType<import("../../types/button.js").ButtonColor>;
939
939
  default: () => string;
940
940
  validator(value: string): boolean;
941
941
  };
942
942
  variant: {
943
- type: PropType<import("../../types/button").ButtonVariant>;
943
+ type: PropType<import("../../types/button.js").ButtonVariant>;
944
944
  default: () => string;
945
945
  validator(value: string): boolean;
946
946
  };
@@ -1132,10 +1132,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1132
1132
  };
1133
1133
  }>> & Readonly<{}>, {
1134
1134
  type: string;
1135
- size: import("../../types/button").ButtonSize;
1136
- class: any;
1137
- to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1138
- disabled: boolean;
1135
+ size: import("../../types/button.js").ButtonSize;
1139
1136
  ui: {
1140
1137
  base?: string;
1141
1138
  font?: string;
@@ -1220,10 +1217,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1220
1217
  } & {
1221
1218
  strategy?: Strategy;
1222
1219
  };
1223
- color: import("../../types/button").ButtonColor;
1224
- variant: import("../../types/button").ButtonVariant;
1220
+ color: import("../../types/button.js").ButtonColor;
1221
+ variant: import("../../types/button.js").ButtonVariant;
1225
1222
  truncate: boolean;
1226
1223
  target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
1224
+ to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1227
1225
  activeClass: string;
1228
1226
  exactActiveClass: string;
1229
1227
  ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
@@ -1234,12 +1232,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1234
1232
  prefetchedClass: string;
1235
1233
  external: boolean;
1236
1234
  leading: boolean;
1235
+ disabled: boolean;
1237
1236
  href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1238
1237
  rel: any;
1239
- label: string;
1240
1238
  icon: string;
1239
+ class: any;
1241
1240
  block: boolean;
1242
1241
  square: boolean;
1242
+ label: string;
1243
1243
  loading: boolean;
1244
1244
  padded: boolean;
1245
1245
  loadingIcon: string;
@@ -1495,9 +1495,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1495
1495
  };
1496
1496
  }>> & Readonly<{}>, {
1497
1497
  type: string;
1498
- to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1499
- disabled: boolean;
1500
1498
  target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
1499
+ to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1501
1500
  activeClass: string;
1502
1501
  exactActiveClass: string;
1503
1502
  ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
@@ -1508,6 +1507,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1508
1507
  prefetchedClass: string;
1509
1508
  external: boolean;
1510
1509
  as: string;
1510
+ disabled: boolean;
1511
1511
  active: boolean;
1512
1512
  exact: boolean;
1513
1513
  exactQuery: boolean | "partial";
@@ -1536,7 +1536,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1536
1536
  from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
1537
1537
  of<T>(...items: T[]): T[];
1538
1538
  fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
1539
- fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
1539
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
1540
1540
  readonly [Symbol.species]: ArrayConstructor;
1541
1541
  })[];
1542
1542
  default: number;
@@ -1551,7 +1551,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1551
1551
  validator(value: string): boolean;
1552
1552
  };
1553
1553
  size: {
1554
- type: PropType<import("../../types/progress").ProgressSize>;
1554
+ type: PropType<import("../../types/progress.js").ProgressSize>;
1555
1555
  default: () => string;
1556
1556
  validator(value: string): boolean;
1557
1557
  };
@@ -1749,7 +1749,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1749
1749
  from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
1750
1750
  of<T>(...items: T[]): T[];
1751
1751
  fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
1752
- fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
1752
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
1753
1753
  readonly [Symbol.species]: ArrayConstructor;
1754
1754
  })[];
1755
1755
  default: number;
@@ -1764,7 +1764,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1764
1764
  validator(value: string): boolean;
1765
1765
  };
1766
1766
  size: {
1767
- type: PropType<import("../../types/progress").ProgressSize>;
1767
+ type: PropType<import("../../types/progress.js").ProgressSize>;
1768
1768
  default: () => string;
1769
1769
  validator(value: string): boolean;
1770
1770
  };
@@ -1858,9 +1858,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1858
1858
  };
1859
1859
  }>> & Readonly<{}>, {
1860
1860
  size: "sm" | "xs" | "2xs" | "md" | "lg" | "xl" | "2xl";
1861
- class: any;
1862
- max: number | any[];
1863
- animation: "carousel" | "carousel-inverse" | "swing" | "elastic";
1864
1861
  ui: {
1865
1862
  wrapper?: string;
1866
1863
  indicator?: DeepPartial<{
@@ -1940,8 +1937,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1940
1937
  strategy?: Strategy;
1941
1938
  };
1942
1939
  color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
1940
+ class: any;
1943
1941
  value: number;
1944
1942
  indicator: boolean;
1943
+ animation: "carousel" | "carousel-inverse" | "swing" | "elastic";
1944
+ max: number | any[];
1945
1945
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1946
1946
  UCheckbox: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1947
1947
  id: {
@@ -2122,8 +2122,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2122
2122
  }>, {
2123
2123
  name: string;
2124
2124
  required: boolean;
2125
- class: any;
2126
- disabled: boolean;
2127
2125
  ui: {
2128
2126
  wrapper?: string;
2129
2127
  container?: string;
@@ -2147,316 +2145,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2147
2145
  strategy?: Strategy;
2148
2146
  };
2149
2147
  color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
2150
- label: string;
2148
+ disabled: boolean;
2151
2149
  id: string;
2150
+ class: any;
2152
2151
  modelValue: boolean | any[];
2153
2152
  value: string | number | boolean | Record<string, any>;
2153
+ label: string;
2154
2154
  help: string;
2155
2155
  indeterminate: boolean;
2156
2156
  inputClass: string;
2157
2157
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2158
2158
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2159
2159
  export default _default;
2160
- declare module 'vue' {
2161
- interface GlobalComponents {
2162
- }
2163
- interface GlobalDirectives {
2164
- }
2165
- }
2166
- declare global {
2167
- const __VLS_intrinsicElements: __VLS_IntrinsicElements;
2168
- const __VLS_directiveBindingRestFields: {
2169
- instance: null;
2170
- oldValue: null;
2171
- modifiers: any;
2172
- dir: any;
2173
- };
2174
- const __VLS_unref: typeof import('vue').unref;
2175
- const __VLS_nativeElements: {
2176
- a: HTMLAnchorElement;
2177
- abbr: HTMLElement;
2178
- address: HTMLElement;
2179
- area: HTMLAreaElement;
2180
- article: HTMLElement;
2181
- aside: HTMLElement;
2182
- audio: HTMLAudioElement;
2183
- b: HTMLElement;
2184
- base: HTMLBaseElement;
2185
- bdi: HTMLElement;
2186
- bdo: HTMLElement;
2187
- blockquote: HTMLQuoteElement;
2188
- body: HTMLBodyElement;
2189
- br: HTMLBRElement;
2190
- button: HTMLButtonElement;
2191
- canvas: HTMLCanvasElement;
2192
- caption: HTMLTableCaptionElement;
2193
- cite: HTMLElement;
2194
- code: HTMLElement;
2195
- col: HTMLTableColElement;
2196
- colgroup: HTMLTableColElement;
2197
- data: HTMLDataElement;
2198
- datalist: HTMLDataListElement;
2199
- dd: HTMLElement;
2200
- del: HTMLModElement;
2201
- details: HTMLDetailsElement;
2202
- dfn: HTMLElement;
2203
- dialog: HTMLDialogElement;
2204
- div: HTMLDivElement;
2205
- dl: HTMLDListElement;
2206
- dt: HTMLElement;
2207
- em: HTMLElement;
2208
- embed: HTMLEmbedElement;
2209
- fieldset: HTMLFieldSetElement;
2210
- figcaption: HTMLElement;
2211
- figure: HTMLElement;
2212
- footer: HTMLElement;
2213
- form: HTMLFormElement;
2214
- h1: HTMLHeadingElement;
2215
- h2: HTMLHeadingElement;
2216
- h3: HTMLHeadingElement;
2217
- h4: HTMLHeadingElement;
2218
- h5: HTMLHeadingElement;
2219
- h6: HTMLHeadingElement;
2220
- head: HTMLHeadElement;
2221
- header: HTMLElement;
2222
- hgroup: HTMLElement;
2223
- hr: HTMLHRElement;
2224
- html: HTMLHtmlElement;
2225
- i: HTMLElement;
2226
- iframe: HTMLIFrameElement;
2227
- img: HTMLImageElement;
2228
- input: HTMLInputElement;
2229
- ins: HTMLModElement;
2230
- kbd: HTMLElement;
2231
- label: HTMLLabelElement;
2232
- legend: HTMLLegendElement;
2233
- li: HTMLLIElement;
2234
- link: HTMLLinkElement;
2235
- main: HTMLElement;
2236
- map: HTMLMapElement;
2237
- mark: HTMLElement;
2238
- menu: HTMLMenuElement;
2239
- meta: HTMLMetaElement;
2240
- meter: HTMLMeterElement;
2241
- nav: HTMLElement;
2242
- noscript: HTMLElement;
2243
- object: HTMLObjectElement;
2244
- ol: HTMLOListElement;
2245
- optgroup: HTMLOptGroupElement;
2246
- option: HTMLOptionElement;
2247
- output: HTMLOutputElement;
2248
- p: HTMLParagraphElement;
2249
- picture: HTMLPictureElement;
2250
- pre: HTMLPreElement;
2251
- progress: HTMLProgressElement;
2252
- q: HTMLQuoteElement;
2253
- rp: HTMLElement;
2254
- rt: HTMLElement;
2255
- ruby: HTMLElement;
2256
- s: HTMLElement;
2257
- samp: HTMLElement;
2258
- script: HTMLScriptElement;
2259
- search: HTMLElement;
2260
- section: HTMLElement;
2261
- select: HTMLSelectElement;
2262
- slot: HTMLSlotElement;
2263
- small: HTMLElement;
2264
- source: HTMLSourceElement;
2265
- span: HTMLSpanElement;
2266
- strong: HTMLElement;
2267
- style: HTMLStyleElement;
2268
- sub: HTMLElement;
2269
- summary: HTMLElement;
2270
- sup: HTMLElement;
2271
- table: HTMLTableElement;
2272
- tbody: HTMLTableSectionElement;
2273
- td: HTMLTableCellElement;
2274
- template: HTMLTemplateElement;
2275
- textarea: HTMLTextAreaElement;
2276
- tfoot: HTMLTableSectionElement;
2277
- th: HTMLTableCellElement;
2278
- thead: HTMLTableSectionElement;
2279
- time: HTMLTimeElement;
2280
- title: HTMLTitleElement;
2281
- tr: HTMLTableRowElement;
2282
- track: HTMLTrackElement;
2283
- u: HTMLElement;
2284
- ul: HTMLUListElement;
2285
- var: HTMLElement;
2286
- video: HTMLVideoElement;
2287
- wbr: HTMLElement;
2288
- animate: SVGAnimateElement;
2289
- animateMotion: SVGAnimateMotionElement;
2290
- animateTransform: SVGAnimateTransformElement;
2291
- circle: SVGCircleElement;
2292
- clipPath: SVGClipPathElement;
2293
- defs: SVGDefsElement;
2294
- desc: SVGDescElement;
2295
- ellipse: SVGEllipseElement;
2296
- feBlend: SVGFEBlendElement;
2297
- feColorMatrix: SVGFEColorMatrixElement;
2298
- feComponentTransfer: SVGFEComponentTransferElement;
2299
- feComposite: SVGFECompositeElement;
2300
- feConvolveMatrix: SVGFEConvolveMatrixElement;
2301
- feDiffuseLighting: SVGFEDiffuseLightingElement;
2302
- feDisplacementMap: SVGFEDisplacementMapElement;
2303
- feDistantLight: SVGFEDistantLightElement;
2304
- feDropShadow: SVGFEDropShadowElement;
2305
- feFlood: SVGFEFloodElement;
2306
- feFuncA: SVGFEFuncAElement;
2307
- feFuncB: SVGFEFuncBElement;
2308
- feFuncG: SVGFEFuncGElement;
2309
- feFuncR: SVGFEFuncRElement;
2310
- feGaussianBlur: SVGFEGaussianBlurElement;
2311
- feImage: SVGFEImageElement;
2312
- feMerge: SVGFEMergeElement;
2313
- feMergeNode: SVGFEMergeNodeElement;
2314
- feMorphology: SVGFEMorphologyElement;
2315
- feOffset: SVGFEOffsetElement;
2316
- fePointLight: SVGFEPointLightElement;
2317
- feSpecularLighting: SVGFESpecularLightingElement;
2318
- feSpotLight: SVGFESpotLightElement;
2319
- feTile: SVGFETileElement;
2320
- feTurbulence: SVGFETurbulenceElement;
2321
- filter: SVGFilterElement;
2322
- foreignObject: SVGForeignObjectElement;
2323
- g: SVGGElement;
2324
- image: SVGImageElement;
2325
- line: SVGLineElement;
2326
- linearGradient: SVGLinearGradientElement;
2327
- marker: SVGMarkerElement;
2328
- mask: SVGMaskElement;
2329
- metadata: SVGMetadataElement;
2330
- mpath: SVGMPathElement;
2331
- path: SVGPathElement;
2332
- pattern: SVGPatternElement;
2333
- polygon: SVGPolygonElement;
2334
- polyline: SVGPolylineElement;
2335
- radialGradient: SVGRadialGradientElement;
2336
- rect: SVGRectElement;
2337
- set: SVGSetElement;
2338
- stop: SVGStopElement;
2339
- svg: SVGSVGElement;
2340
- switch: SVGSwitchElement;
2341
- symbol: SVGSymbolElement;
2342
- text: SVGTextElement;
2343
- textPath: SVGTextPathElement;
2344
- tspan: SVGTSpanElement;
2345
- use: SVGUseElement;
2346
- view: SVGViewElement;
2347
- };
2348
- type __VLS_IntrinsicElements = import('vue/jsx-runtime').JSX.IntrinsicElements;
2349
- type __VLS_Element = import('vue/jsx-runtime').JSX.Element;
2350
- type __VLS_GlobalComponents = import('vue').GlobalComponents & Pick<typeof import('vue'), 'Transition' | 'TransitionGroup' | 'KeepAlive' | 'Suspense' | 'Teleport'>;
2351
- type __VLS_GlobalDirectives = import('vue').GlobalDirectives;
2352
- type __VLS_IsAny<T> = 0 extends 1 & T ? true : false;
2353
- type __VLS_PickNotAny<A, B> = __VLS_IsAny<A> extends true ? B : A;
2354
- type __VLS_unknownDirective = (arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown) => void;
2355
- type __VLS_WithComponent<N0 extends string, LocalComponents, N1 extends string, N2 extends string, N3 extends string> = N1 extends keyof LocalComponents ? N1 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
2356
- [K in N0]: LocalComponents[N1];
2357
- } : N2 extends keyof LocalComponents ? N2 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
2358
- [K in N0]: LocalComponents[N2];
2359
- } : N3 extends keyof LocalComponents ? N3 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
2360
- [K in N0]: LocalComponents[N3];
2361
- } : N1 extends keyof __VLS_GlobalComponents ? N1 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
2362
- [K in N0]: __VLS_GlobalComponents[N1];
2363
- } : N2 extends keyof __VLS_GlobalComponents ? N2 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
2364
- [K in N0]: __VLS_GlobalComponents[N2];
2365
- } : N3 extends keyof __VLS_GlobalComponents ? N3 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
2366
- [K in N0]: __VLS_GlobalComponents[N3];
2367
- } : {
2368
- [K in N0]: unknown;
2369
- };
2370
- type __VLS_FunctionalComponentProps<T, K> = '__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends {
2371
- __ctx?: {
2372
- props?: infer P;
2373
- };
2374
- } ? NonNullable<P> : never : T extends (props: infer P, ...args: any) => any ? P : {};
2375
- type __VLS_IsFunction<T, K> = K extends keyof T ? __VLS_IsAny<T[K]> extends false ? unknown extends T[K] ? false : true : false : false;
2376
- type __VLS_UnionToIntersection<U> = (U extends unknown ? (arg: U) => unknown : never) extends ((arg: infer P) => unknown) ? P : never;
2377
- type __VLS_OverloadUnionInner<T, U = unknown> = U & T extends (...args: infer A) => infer R ? U extends T ? never : __VLS_OverloadUnionInner<T, Pick<T, keyof T> & U & ((...args: A) => R)> | ((...args: A) => R) : never;
2378
- type __VLS_OverloadUnion<T> = Exclude<__VLS_OverloadUnionInner<(() => never) & T>, T extends () => never ? never : () => never>;
2379
- type __VLS_ConstructorOverloads<T> = __VLS_OverloadUnion<T> extends infer F ? F extends (event: infer E, ...args: infer A) => any ? {
2380
- [K in E & string]: (...args: A) => void;
2381
- } : never : never;
2382
- type __VLS_NormalizeEmits<T> = __VLS_PrettifyGlobal<__VLS_UnionToIntersection<__VLS_ConstructorOverloads<T> & {
2383
- [K in keyof T]: T[K] extends any[] ? {
2384
- (...args: T[K]): void;
2385
- } : never;
2386
- }>>;
2387
- type __VLS_PrettifyGlobal<T> = {
2388
- [K in keyof T]: T[K];
2389
- } & {};
2390
- type __VLS_PickFunctionalComponentCtx<T, K> = NonNullable<__VLS_PickNotAny<'__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends {
2391
- __ctx?: infer Ctx;
2392
- } ? Ctx : never : any, T extends (props: any, ctx: infer Ctx) => any ? Ctx : any>>;
2393
- type __VLS_UseTemplateRef<T> = Readonly<import('vue').ShallowRef<T | null>>;
2394
- function __VLS_getVForSourceType(source: number): [number, number, number][];
2395
- function __VLS_getVForSourceType(source: string): [string, number, number][];
2396
- function __VLS_getVForSourceType<T extends any[]>(source: T): [
2397
- item: T[number],
2398
- key: number,
2399
- index: number
2400
- ][];
2401
- function __VLS_getVForSourceType<T extends {
2402
- [Symbol.iterator](): Iterator<any>;
2403
- }>(source: T): [
2404
- item: T extends {
2405
- [Symbol.iterator](): Iterator<infer T1>;
2406
- } ? T1 : never,
2407
- key: number,
2408
- index: undefined
2409
- ][];
2410
- function __VLS_getVForSourceType<T extends number | {
2411
- [Symbol.iterator](): Iterator<any>;
2412
- }>(source: T): [
2413
- item: number | (Exclude<T, number> extends {
2414
- [Symbol.iterator](): Iterator<infer T1>;
2415
- } ? T1 : never),
2416
- key: number,
2417
- index: undefined
2418
- ][];
2419
- function __VLS_getVForSourceType<T>(source: T): [
2420
- item: T[keyof T],
2421
- key: keyof T,
2422
- index: number
2423
- ][];
2424
- function __VLS_getSlotParams<T>(slot: T): Parameters<__VLS_PickNotAny<NonNullable<T>, (...args: any[]) => any>>;
2425
- function __VLS_getSlotParam<T>(slot: T): Parameters<__VLS_PickNotAny<NonNullable<T>, (...args: any[]) => any>>[0];
2426
- function __VLS_asFunctionalDirective<T>(dir: T): T extends import('vue').ObjectDirective ? NonNullable<T['created' | 'beforeMount' | 'mounted' | 'beforeUpdate' | 'updated' | 'beforeUnmount' | 'unmounted']> : T extends (...args: any) => any ? T : __VLS_unknownDirective;
2427
- function __VLS_withScope<T, K>(ctx: T, scope: K): ctx is T & K;
2428
- function __VLS_makeOptional<T>(t: T): {
2429
- [K in keyof T]?: T[K];
2430
- };
2431
- function __VLS_nonNullable<T>(t: T): T extends null | undefined ? never : T;
2432
- function __VLS_asFunctionalComponent<T, K = T extends new (...args: any) => any ? InstanceType<T> : unknown>(t: T, instance?: K): T extends new (...args: any) => any ? (props: (K extends {
2433
- $props: infer Props;
2434
- } ? Props : any) & Record<string, unknown>, ctx?: any) => __VLS_Element & {
2435
- __ctx?: {
2436
- attrs?: any;
2437
- slots?: K extends {
2438
- $slots: infer Slots;
2439
- } ? Slots : any;
2440
- emit?: K extends {
2441
- $emit: infer Emit;
2442
- } ? Emit : any;
2443
- } & {
2444
- props?: (K extends {
2445
- $props: infer Props;
2446
- } ? Props : any) & Record<string, unknown>;
2447
- expose?(exposed: K): void;
2448
- };
2449
- } : T extends () => any ? (props: {}, ctx?: any) => ReturnType<T> : T extends (...args: any) => any ? T : (_: {} & Record<string, unknown>, ctx?: any) => {
2450
- __ctx?: {
2451
- attrs?: any;
2452
- expose?: any;
2453
- slots?: any;
2454
- emit?: any;
2455
- props?: {} & Record<string, unknown>;
2456
- };
2457
- };
2458
- function __VLS_elementAsFunction<T>(tag: T, endTag?: T): (_: T & Record<string, unknown>) => void;
2459
- function __VLS_functionalComponentArgsRest<T extends (...args: any) => any>(t: T): 2 extends Parameters<T>['length'] ? [any] : [];
2460
- function __VLS_normalizeSlot<S>(s: S): S extends () => infer R ? (props: {}) => R : S;
2461
- function __VLS_tryAsConstant<const T>(t: T): T;
2462
- }
@@ -22,10 +22,10 @@
22
22
  <UIcon
23
23
  :name="!open ? openIcon : closeIcon ? closeIcon : openIcon"
24
24
  :class="[
25
- open && !closeIcon ? '-rotate-180' : '',
26
- uiButton.icon.size[item.size || uiButton.default.size],
27
- ui.item.icon
28
- ]"
25
+ open && !closeIcon ? '-rotate-180' : '',
26
+ uiButton.icon.size[item.size || uiButton.default.size],
27
+ ui.item.icon
28
+ ]"
29
29
  />
30
30
  </template>
31
31
  </UButton>