@nuxt/ui 2.18.4 → 2.18.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 (79) hide show
  1. package/README.md +1 -1
  2. package/dist/module.d.mts +1 -6
  3. package/dist/module.d.ts +1 -6
  4. package/dist/module.json +2 -2
  5. package/dist/module.mjs +16 -8
  6. package/dist/runtime/components/data/Table.vue +8 -7
  7. package/dist/runtime/components/data/Table.vue.d.ts +2016 -12
  8. package/dist/runtime/components/elements/Accordion.vue.d.ts +1124 -10
  9. package/dist/runtime/components/elements/Alert.vue.d.ts +1449 -11
  10. package/dist/runtime/components/elements/Avatar.vue.d.ts +118 -10
  11. package/dist/runtime/components/elements/AvatarGroup.d.ts +12 -6
  12. package/dist/runtime/components/elements/Badge.vue.d.ts +45 -9
  13. package/dist/runtime/components/elements/Button.vue.d.ts +367 -14
  14. package/dist/runtime/components/elements/ButtonGroup.d.ts +107 -6
  15. package/dist/runtime/components/elements/Carousel.vue.d.ts +970 -10
  16. package/dist/runtime/components/elements/Chip.vue.d.ts +46 -9
  17. package/dist/runtime/components/elements/Dropdown.vue.d.ts +784 -13
  18. package/dist/runtime/components/elements/Icon.vue.d.ts +4 -4
  19. package/dist/runtime/components/elements/Kbd.vue.d.ts +28 -9
  20. package/dist/runtime/components/elements/Link.vue +1 -0
  21. package/dist/runtime/components/elements/Link.vue.d.ts +9 -9
  22. package/dist/runtime/components/elements/Meter.vue.d.ts +136 -11
  23. package/dist/runtime/components/elements/MeterGroup.d.ts +60 -6
  24. package/dist/runtime/components/elements/Progress.vue.d.ts +89 -12
  25. package/dist/runtime/components/forms/Checkbox.vue.d.ts +33 -12
  26. package/dist/runtime/components/forms/Form.vue +4 -3
  27. package/dist/runtime/components/forms/Form.vue.d.ts +13 -6
  28. package/dist/runtime/components/forms/FormGroup.vue.d.ts +39 -11
  29. package/dist/runtime/components/forms/Input.vue +1 -2
  30. package/dist/runtime/components/forms/Input.vue.d.ts +176 -14
  31. package/dist/runtime/components/forms/InputMenu.vue.d.ts +957 -20
  32. package/dist/runtime/components/forms/Radio.vue.d.ts +32 -12
  33. package/dist/runtime/components/forms/RadioGroup.vue +1 -1
  34. package/dist/runtime/components/forms/RadioGroup.vue.d.ts +245 -14
  35. package/dist/runtime/components/forms/Range.vue.d.ts +79 -13
  36. package/dist/runtime/components/forms/Select.vue.d.ts +171 -12
  37. package/dist/runtime/components/forms/SelectMenu.vue +1 -1
  38. package/dist/runtime/components/forms/SelectMenu.vue.d.ts +1163 -19
  39. package/dist/runtime/components/forms/Textarea.vue +3 -0
  40. package/dist/runtime/components/forms/Textarea.vue.d.ts +129 -14
  41. package/dist/runtime/components/forms/Toggle.vue.d.ts +211 -12
  42. package/dist/runtime/components/layout/Card.vue.d.ts +35 -9
  43. package/dist/runtime/components/layout/Container.vue.d.ts +17 -9
  44. package/dist/runtime/components/layout/Divider.vue.d.ts +528 -11
  45. package/dist/runtime/components/layout/Skeleton.vue.d.ts +17 -9
  46. package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +302 -9
  47. package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +1971 -13
  48. package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +625 -5
  49. package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +898 -9
  50. package/dist/runtime/components/navigation/Pagination.vue +4 -0
  51. package/dist/runtime/components/navigation/Pagination.vue.d.ts +981 -11
  52. package/dist/runtime/components/navigation/Tabs.vue +4 -0
  53. package/dist/runtime/components/navigation/Tabs.vue.d.ts +274 -14
  54. package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +1666 -9
  55. package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +45 -12
  56. package/dist/runtime/components/overlays/Modal.vue +2 -2
  57. package/dist/runtime/components/overlays/Modal.vue.d.ts +392 -13
  58. package/dist/runtime/components/overlays/Notification.vue.d.ts +1459 -12
  59. package/dist/runtime/components/overlays/Notifications.vue.d.ts +1746 -10
  60. package/dist/runtime/components/overlays/Popover.vue.d.ts +165 -14
  61. package/dist/runtime/components/overlays/Slideover.vue +3 -3
  62. package/dist/runtime/components/overlays/Slideover.vue.d.ts +391 -13
  63. package/dist/runtime/components/overlays/Tooltip.vue.d.ts +168 -12
  64. package/dist/runtime/composables/useFormGroup.d.ts +1 -1
  65. package/dist/runtime/composables/useFormGroup.js +4 -2
  66. package/dist/runtime/composables/useModal.d.ts +1 -1
  67. package/dist/runtime/composables/usePopper.d.ts +262 -1
  68. package/dist/runtime/composables/useShortcuts.d.ts +4 -4
  69. package/dist/runtime/composables/useSlideover.d.ts +1 -1
  70. package/dist/runtime/composables/useUI.d.ts +2 -2
  71. package/dist/runtime/composables/useUI.js +1 -1
  72. package/dist/runtime/plugins/colors.js +3 -3
  73. package/dist/runtime/types/command-palette.d.ts +2 -2
  74. package/dist/runtime/ui.config/elements/button.js +9 -9
  75. package/dist/runtime/ui.config/elements/carousel.js +1 -1
  76. package/dist/runtime/ui.config/navigation/tabs.js +1 -1
  77. package/dist/runtime/utils/index.d.ts +1 -0
  78. package/dist/runtime/utils/index.js +5 -1
  79. package/package.json +27 -29
@@ -1,5 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
- import type { Strategy } from '../../types/index.js';
2
+ import type { DeepPartial, Strategy } from '../../types/index.js';
3
3
  import colors from '#ui-colors';
4
4
  declare const config: {
5
5
  wrapper: string;
@@ -19,7 +19,7 @@ declare const config: {
19
19
  color: string;
20
20
  };
21
21
  };
22
- declare const _default: import("vue").DefineComponent<{
22
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
23
23
  id: {
24
24
  type: StringConstructor;
25
25
  default: () => any;
@@ -70,12 +70,12 @@ declare const _default: import("vue").DefineComponent<{
70
70
  default: () => "";
71
71
  };
72
72
  ui: {
73
- type: PropType<Partial<typeof config> & {
73
+ type: PropType<DeepPartial<typeof config> & {
74
74
  strategy?: Strategy;
75
75
  }>;
76
76
  default: () => {};
77
77
  };
78
- }, {
78
+ }>, {
79
79
  ui: import("vue").ComputedRef<{
80
80
  wrapper: string;
81
81
  container: string;
@@ -97,12 +97,12 @@ declare const _default: import("vue").DefineComponent<{
97
97
  attrs: import("vue").ComputedRef<Pick<{
98
98
  [x: string]: unknown;
99
99
  }, string>>;
100
- toggle: import("vue").WritableComputedRef<boolean | unknown[]>;
100
+ toggle: import("vue").WritableComputedRef<boolean | unknown[], boolean | unknown[]>;
101
101
  inputId: string;
102
102
  name: import("vue").ComputedRef<string>;
103
103
  inputClass: import("vue").ComputedRef<string>;
104
104
  onChange: (event: Event) => void;
105
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
105
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
106
106
  id: {
107
107
  type: StringConstructor;
108
108
  default: () => any;
@@ -153,27 +153,48 @@ declare const _default: import("vue").DefineComponent<{
153
153
  default: () => "";
154
154
  };
155
155
  ui: {
156
- type: PropType<Partial<typeof config> & {
156
+ type: PropType<DeepPartial<typeof config> & {
157
157
  strategy?: Strategy;
158
158
  }>;
159
159
  default: () => {};
160
160
  };
161
- }>> & {
161
+ }>> & Readonly<{
162
162
  onChange?: (...args: any[]) => any;
163
163
  "onUpdate:modelValue"?: (...args: any[]) => any;
164
- }, {
164
+ }>, {
165
165
  name: string;
166
166
  required: boolean;
167
167
  class: any;
168
- color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
169
168
  disabled: boolean;
169
+ color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
170
170
  label: string;
171
- ui: {};
171
+ ui: {
172
+ wrapper?: string;
173
+ container?: string;
174
+ base?: string;
175
+ form?: string;
176
+ rounded?: string;
177
+ color?: string;
178
+ background?: string;
179
+ border?: string;
180
+ ring?: string;
181
+ inner?: string;
182
+ label?: string;
183
+ required?: string;
184
+ help?: string;
185
+ default?: DeepPartial<{
186
+ color: string;
187
+ }, any>;
188
+ } & {
189
+ [key: string]: any;
190
+ } & {
191
+ strategy?: Strategy;
192
+ };
172
193
  id: string;
173
194
  modelValue: boolean | unknown[];
174
195
  value: string | number | boolean | Record<string, any>;
175
196
  help: string;
176
197
  indeterminate: boolean;
177
198
  inputClass: string;
178
- }, {}>;
199
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
179
200
  export default _default;
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <form @submit.prevent="onSubmit">
3
- <slot />
3
+ <slot v-bind="{ errors }" />
4
4
  </form>
5
5
  </template>
6
6
 
7
7
  <script>
8
- import { provide, ref, defineComponent, onUnmounted, onMounted } from "vue";
8
+ import { provide, ref, defineComponent, onUnmounted, onMounted, readonly } from "vue";
9
9
  import { useEventBus } from "@vueuse/core";
10
10
  import { useId } from "#imports";
11
11
  class FormException extends Error {
@@ -146,7 +146,8 @@ export default defineComponent({
146
146
  }
147
147
  });
148
148
  return {
149
- onSubmit
149
+ onSubmit,
150
+ errors: readonly(errors)
150
151
  };
151
152
  }
152
153
  });
@@ -6,7 +6,7 @@ import type { BaseSchema as ValibotSchema30, BaseSchemaAsync as ValibotSchemaAsy
6
6
  import type { GenericSchema as ValibotSchema31, GenericSchemaAsync as ValibotSchemaAsync31, SafeParser as ValibotSafeParser31, SafeParserAsync as ValibotSafeParserAsync31 } from 'valibot31';
7
7
  import type { GenericSchema as ValibotSchema, GenericSchemaAsync as ValibotSchemaAsync, SafeParser as ValibotSafeParser, SafeParserAsync as ValibotSafeParserAsync } from 'valibot';
8
8
  import type { FormError, FormEventType } from '../../types/form.js';
9
- declare const _default: import("vue").DefineComponent<{
9
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
10
10
  schema: {
11
11
  type: PropType<ZodSchema> | PropType<YupObjectSchema<any>> | PropType<JoiSchema> | PropType<ValibotSchema30 | ValibotSchemaAsync30> | PropType<ValibotSchema31 | ValibotSchemaAsync31> | PropType<ValibotSafeParser31<any, any> | ValibotSafeParserAsync31<any, any>> | PropType<ValibotSchema | ValibotSchemaAsync> | PropType<ValibotSafeParser<any, any> | ValibotSafeParserAsync<any, any>>;
12
12
  default: any;
@@ -23,9 +23,16 @@ declare const _default: import("vue").DefineComponent<{
23
23
  type: PropType<FormEventType[]>;
24
24
  default: () => string[];
25
25
  };
26
- }, {
26
+ }>, {
27
27
  onSubmit: (payload: Event) => Promise<void>;
28
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "submit")[], "error" | "submit", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
28
+ errors: Readonly<import("vue").Ref<readonly {
29
+ readonly path: string;
30
+ readonly message: string;
31
+ }[], readonly {
32
+ readonly path: string;
33
+ readonly message: string;
34
+ }[]>>;
35
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "submit")[], "error" | "submit", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
29
36
  schema: {
30
37
  type: PropType<ZodSchema> | PropType<YupObjectSchema<any>> | PropType<JoiSchema> | PropType<ValibotSchema30 | ValibotSchemaAsync30> | PropType<ValibotSchema31 | ValibotSchemaAsync31> | PropType<ValibotSafeParser31<any, any> | ValibotSafeParserAsync31<any, any>> | PropType<ValibotSchema | ValibotSchemaAsync> | PropType<ValibotSafeParser<any, any> | ValibotSafeParserAsync<any, any>>;
31
38
  default: any;
@@ -42,12 +49,12 @@ declare const _default: import("vue").DefineComponent<{
42
49
  type: PropType<FormEventType[]>;
43
50
  default: () => string[];
44
51
  };
45
- }>> & {
52
+ }>> & Readonly<{
46
53
  onSubmit?: (...args: any[]) => any;
47
54
  onError?: (...args: any[]) => any;
48
- }, {
55
+ }>, {
49
56
  schema: ZodSchema<any, import("zod").ZodTypeDef, any> | YupObjectSchema<any, import("yup").AnyObject, any, ""> | import("joi").AnySchema<any> | ValibotSchema30<any, any> | ValibotSchemaAsync30<any, any> | ValibotSchema31<unknown, unknown, import("valibot31").BaseIssue<unknown>> | ValibotSchemaAsync31<unknown, unknown, import("valibot31").BaseIssue<unknown>> | ValibotSafeParser31<any, any> | ValibotSafeParserAsync31<any, any> | ValibotSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | ValibotSchemaAsync<unknown, unknown, import("valibot").BaseIssue<unknown>>;
50
57
  validate: ((state: any) => Promise<FormError[]>) | ((state: any) => FormError[]);
51
58
  validateOn: FormEventType[];
52
- }, {}>;
59
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
53
60
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import type { Ref, PropType } from 'vue';
2
- import type { FormGroupSize, Strategy } from '../../types/index.js';
2
+ import type { FormGroupSize, Strategy, DeepPartial } from '../../types/index.js';
3
3
  declare const config: {
4
4
  wrapper: string;
5
5
  inner: string;
@@ -25,7 +25,7 @@ declare const config: {
25
25
  size: string;
26
26
  };
27
27
  };
28
- declare const _default: import("vue").DefineComponent<{
28
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
29
29
  name: {
30
30
  type: StringConstructor;
31
31
  default: any;
@@ -64,7 +64,7 @@ declare const _default: import("vue").DefineComponent<{
64
64
  default: () => "";
65
65
  };
66
66
  ui: {
67
- type: PropType<Partial<typeof config> & {
67
+ type: PropType<DeepPartial<typeof config> & {
68
68
  strategy?: Strategy;
69
69
  }>;
70
70
  default: () => {};
@@ -73,7 +73,7 @@ declare const _default: import("vue").DefineComponent<{
73
73
  type: BooleanConstructor;
74
74
  default: boolean;
75
75
  };
76
- }, {
76
+ }>, {
77
77
  ui: import("vue").ComputedRef<{
78
78
  wrapper: string;
79
79
  inner: string;
@@ -102,10 +102,10 @@ declare const _default: import("vue").DefineComponent<{
102
102
  attrs: import("vue").ComputedRef<Pick<{
103
103
  [x: string]: unknown;
104
104
  }, string>>;
105
- inputId: Ref<string>;
105
+ inputId: Ref<string, string>;
106
106
  size: import("vue").ComputedRef<any>;
107
107
  error: import("vue").ComputedRef<string | boolean>;
108
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
108
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
109
109
  name: {
110
110
  type: StringConstructor;
111
111
  default: any;
@@ -144,7 +144,7 @@ declare const _default: import("vue").DefineComponent<{
144
144
  default: () => "";
145
145
  };
146
146
  ui: {
147
- type: PropType<Partial<typeof config> & {
147
+ type: PropType<DeepPartial<typeof config> & {
148
148
  strategy?: Strategy;
149
149
  }>;
150
150
  default: () => {};
@@ -153,17 +153,45 @@ declare const _default: import("vue").DefineComponent<{
153
153
  type: BooleanConstructor;
154
154
  default: boolean;
155
155
  };
156
- }>>, {
156
+ }>> & Readonly<{}>, {
157
157
  name: string;
158
- size: FormGroupSize;
159
158
  required: boolean;
159
+ size: FormGroupSize;
160
160
  class: any;
161
161
  label: string;
162
162
  error: string | boolean;
163
- ui: {};
163
+ ui: {
164
+ wrapper?: string;
165
+ inner?: string;
166
+ label?: DeepPartial<{
167
+ wrapper: string;
168
+ base: string;
169
+ required: string;
170
+ }, any>;
171
+ size?: DeepPartial<{
172
+ '2xs': string;
173
+ xs: string;
174
+ sm: string;
175
+ md: string;
176
+ lg: string;
177
+ xl: string;
178
+ }, any>;
179
+ container?: string;
180
+ description?: string;
181
+ hint?: string;
182
+ help?: string;
183
+ error?: string;
184
+ default?: DeepPartial<{
185
+ size: string;
186
+ }, any>;
187
+ } & {
188
+ [key: string]: any;
189
+ } & {
190
+ strategy?: Strategy;
191
+ };
164
192
  description: string;
165
193
  help: string;
166
194
  hint: string;
167
195
  eagerValidation: boolean;
168
- }, {}>;
196
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
169
197
  export default _default;
@@ -4,13 +4,12 @@
4
4
  :id="inputId"
5
5
  ref="input"
6
6
  :name="name"
7
- :value="modelValue"
8
7
  :type="type"
9
8
  :required="required"
10
9
  :placeholder="placeholder"
11
10
  :disabled="disabled"
12
11
  :class="inputClass"
13
- v-bind="attrs"
12
+ v-bind="type === 'file' ? attrs : { ...attrs, value: modelValue }"
14
13
  @input="onInput"
15
14
  @blur="onBlur"
16
15
  @change="onChange"
@@ -1,5 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
- import type { InputSize, InputColor, InputVariant, Strategy } from '../../types/index.js';
2
+ import type { InputSize, InputColor, InputVariant, Strategy, DeepPartial } from '../../types/index.js';
3
3
  declare const config: {
4
4
  wrapper: string;
5
5
  base: string;
@@ -109,7 +109,7 @@ declare const config: {
109
109
  loadingIcon: string;
110
110
  };
111
111
  };
112
- declare const _default: import("vue").DefineComponent<{
112
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
113
113
  modelValue: {
114
114
  type: (StringConstructor | NumberConstructor)[];
115
115
  default: string;
@@ -202,7 +202,7 @@ declare const _default: import("vue").DefineComponent<{
202
202
  default: () => "";
203
203
  };
204
204
  ui: {
205
- type: PropType<Partial<typeof config> & {
205
+ type: PropType<DeepPartial<typeof config> & {
206
206
  strategy?: Strategy;
207
207
  }>;
208
208
  default: () => {};
@@ -215,7 +215,7 @@ declare const _default: import("vue").DefineComponent<{
215
215
  }>;
216
216
  default: () => {};
217
217
  };
218
- }, {
218
+ }>, {
219
219
  ui: import("vue").ComputedRef<{
220
220
  wrapper: string;
221
221
  base: string;
@@ -330,7 +330,7 @@ declare const _default: import("vue").DefineComponent<{
330
330
  }, string>>;
331
331
  name: import("vue").ComputedRef<string>;
332
332
  inputId: import("vue").ComputedRef<string>;
333
- input: import("vue").Ref<HTMLInputElement>;
333
+ input: import("vue").Ref<HTMLInputElement, HTMLInputElement>;
334
334
  isLeading: import("vue").ComputedRef<string | true>;
335
335
  isTrailing: import("vue").ComputedRef<string | true>;
336
336
  inputClass: import("vue").ComputedRef<string>;
@@ -343,7 +343,7 @@ declare const _default: import("vue").DefineComponent<{
343
343
  onInput: (event: Event) => void;
344
344
  onChange: (event: Event) => void;
345
345
  onBlur: (event: FocusEvent) => void;
346
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "update:modelValue")[], "blur" | "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
346
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "update:modelValue")[], "blur" | "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
347
347
  modelValue: {
348
348
  type: (StringConstructor | NumberConstructor)[];
349
349
  default: string;
@@ -436,7 +436,7 @@ declare const _default: import("vue").DefineComponent<{
436
436
  default: () => "";
437
437
  };
438
438
  ui: {
439
- type: PropType<Partial<typeof config> & {
439
+ type: PropType<DeepPartial<typeof config> & {
440
440
  strategy?: Strategy;
441
441
  }>;
442
442
  default: () => {};
@@ -449,21 +449,133 @@ declare const _default: import("vue").DefineComponent<{
449
449
  }>;
450
450
  default: () => {};
451
451
  };
452
- }>> & {
452
+ }>> & Readonly<{
453
453
  onBlur?: (...args: any[]) => any;
454
454
  onChange?: (...args: any[]) => any;
455
455
  "onUpdate:modelValue"?: (...args: any[]) => any;
456
- }, {
456
+ }>, {
457
457
  name: string;
458
- size: InputSize;
459
458
  type: string;
460
459
  required: boolean;
460
+ size: InputSize;
461
461
  class: any;
462
+ disabled: boolean;
462
463
  leading: boolean;
463
464
  color: InputColor;
464
465
  variant: InputVariant;
465
- disabled: boolean;
466
- ui: {};
466
+ ui: {
467
+ wrapper?: string;
468
+ base?: string;
469
+ form?: string;
470
+ rounded?: string;
471
+ placeholder?: string;
472
+ file?: DeepPartial<{
473
+ base: string;
474
+ }, any>;
475
+ size?: DeepPartial<{
476
+ '2xs': string;
477
+ xs: string;
478
+ sm: string;
479
+ md: string;
480
+ lg: string;
481
+ xl: string;
482
+ }, any>;
483
+ gap?: DeepPartial<{
484
+ '2xs': string;
485
+ xs: string;
486
+ sm: string;
487
+ md: string;
488
+ lg: string;
489
+ xl: string;
490
+ }, any>;
491
+ padding?: DeepPartial<{
492
+ '2xs': string;
493
+ xs: string;
494
+ sm: string;
495
+ md: string;
496
+ lg: string;
497
+ xl: string;
498
+ }, any>;
499
+ leading?: DeepPartial<{
500
+ padding: {
501
+ '2xs': string;
502
+ xs: string;
503
+ sm: string;
504
+ md: string;
505
+ lg: string;
506
+ xl: string;
507
+ };
508
+ }, any>;
509
+ trailing?: DeepPartial<{
510
+ padding: {
511
+ '2xs': string;
512
+ xs: string;
513
+ sm: string;
514
+ md: string;
515
+ lg: string;
516
+ xl: string;
517
+ };
518
+ }, any>;
519
+ color?: DeepPartial<{
520
+ white: {
521
+ outline: string;
522
+ };
523
+ gray: {
524
+ outline: string;
525
+ };
526
+ }, any>;
527
+ variant?: DeepPartial<{
528
+ outline: string;
529
+ none: string;
530
+ }, any>;
531
+ icon?: DeepPartial<{
532
+ base: string;
533
+ color: string;
534
+ loading: string;
535
+ size: {
536
+ '2xs': string;
537
+ xs: string;
538
+ sm: string;
539
+ md: string;
540
+ lg: string;
541
+ xl: string;
542
+ };
543
+ leading: {
544
+ wrapper: string;
545
+ pointer: string;
546
+ padding: {
547
+ '2xs': string;
548
+ xs: string;
549
+ sm: string;
550
+ md: string;
551
+ lg: string;
552
+ xl: string;
553
+ };
554
+ };
555
+ trailing: {
556
+ wrapper: string;
557
+ pointer: string;
558
+ padding: {
559
+ '2xs': string;
560
+ xs: string;
561
+ sm: string;
562
+ md: string;
563
+ lg: string;
564
+ xl: string;
565
+ };
566
+ };
567
+ }, any>;
568
+ default?: DeepPartial<{
569
+ size: string;
570
+ color: string;
571
+ variant: string;
572
+ loadingIcon: string;
573
+ }, any>;
574
+ } & {
575
+ [key: string]: any;
576
+ } & {
577
+ strategy?: Strategy;
578
+ };
467
579
  id: string;
468
580
  icon: string;
469
581
  modelValue: string | number;
@@ -477,6 +589,56 @@ declare const _default: import("vue").DefineComponent<{
477
589
  placeholder: string;
478
590
  autofocus: boolean;
479
591
  autofocusDelay: number;
480
- modelModifiers: {};
481
- }, {}>;
592
+ modelModifiers: {
593
+ trim?: boolean;
594
+ lazy?: boolean;
595
+ number?: boolean;
596
+ };
597
+ }, {}, {
598
+ UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
599
+ name: {
600
+ type: StringConstructor;
601
+ required: true;
602
+ };
603
+ mode: {
604
+ type: PropType<"svg" | "css">;
605
+ required: false;
606
+ default: any;
607
+ };
608
+ size: {
609
+ type: (StringConstructor | NumberConstructor)[];
610
+ required: false;
611
+ default: any;
612
+ };
613
+ customize: {
614
+ type: FunctionConstructor;
615
+ required: false;
616
+ default: any;
617
+ };
618
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
619
+ name: {
620
+ type: StringConstructor;
621
+ required: true;
622
+ };
623
+ mode: {
624
+ type: PropType<"svg" | "css">;
625
+ required: false;
626
+ default: any;
627
+ };
628
+ size: {
629
+ type: (StringConstructor | NumberConstructor)[];
630
+ required: false;
631
+ default: any;
632
+ };
633
+ customize: {
634
+ type: FunctionConstructor;
635
+ required: false;
636
+ default: any;
637
+ };
638
+ }>> & Readonly<{}>, {
639
+ mode: "svg" | "css";
640
+ size: string | number;
641
+ customize: Function;
642
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
643
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
482
644
  export default _default;