@volverjs/ui-vue 0.0.10-beta.42 → 0.0.10-beta.44

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 (84) hide show
  1. package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +12 -12
  2. package/dist/components/VvAccordionGroup/index.d.ts +4 -4
  3. package/dist/components/VvAction/VvAction.vue.d.ts +2 -2
  4. package/dist/components/VvAction/index.d.ts +1 -1
  5. package/dist/components/VvAlert/VvAlert.vue.d.ts +6 -6
  6. package/dist/components/VvAlert/index.d.ts +4 -3
  7. package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +9 -9
  8. package/dist/components/VvAlertGroup/index.d.ts +4 -4
  9. package/dist/components/VvAvatarGroup/VvAvatarGroup.vue.d.ts +4 -4
  10. package/dist/components/VvAvatarGroup/index.d.ts +2 -2
  11. package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +13 -13
  12. package/dist/components/VvBreadcrumb/index.d.ts +1 -1
  13. package/dist/components/VvButton/VvButton.vue.d.ts +4 -4
  14. package/dist/components/VvButton/index.d.ts +2 -2
  15. package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +4 -4
  16. package/dist/components/VvButtonGroup/index.d.ts +2 -2
  17. package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +1 -1
  18. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +3 -3
  19. package/dist/components/VvCheckboxGroup/index.d.ts +1 -1
  20. package/dist/components/VvCombobox/VvCombobox.vue.d.ts +438 -559
  21. package/dist/components/VvCombobox/index.d.ts +21 -241
  22. package/dist/components/VvDialog/VvDialog.es.js +41 -165
  23. package/dist/components/VvDialog/VvDialog.umd.js +1 -1
  24. package/dist/components/VvDialog/VvDialog.vue.d.ts +9 -0
  25. package/dist/components/VvDialog/index.d.ts +7 -0
  26. package/dist/components/VvDropdown/VvDropdown.vue.d.ts +33 -268
  27. package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +8 -6
  28. package/dist/components/VvDropdown/index.d.ts +9 -117
  29. package/dist/components/VvIcon/VvIcon.vue.d.ts +1 -1
  30. package/dist/components/VvInputFile/VvInputFile.es.js +11 -6
  31. package/dist/components/VvInputFile/VvInputFile.umd.js +1 -1
  32. package/dist/components/VvInputFile/VvInputFile.vue.d.ts +31 -105
  33. package/dist/components/VvInputFile/index.d.ts +11 -28
  34. package/dist/components/VvInputText/VvInputClearAction.d.ts +2 -2
  35. package/dist/components/VvInputText/VvInputPasswordAction.d.ts +4 -4
  36. package/dist/components/VvInputText/VvInputText.vue.d.ts +4 -4
  37. package/dist/components/VvInputText/index.d.ts +4 -9
  38. package/dist/components/VvNav/VvNav.vue.d.ts +9 -9
  39. package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +3 -3
  40. package/dist/components/VvRadioGroup/index.d.ts +1 -1
  41. package/dist/components/VvSelect/VvSelect.vue.d.ts +174 -184
  42. package/dist/components/VvSelect/index.d.ts +4 -4
  43. package/dist/components/VvTab/VvTab.vue.d.ts +13 -13
  44. package/dist/components/VvTab/index.d.ts +2 -2
  45. package/dist/components/VvTextarea/VvTextarea.vue.d.ts +2 -2
  46. package/dist/components/VvTextarea/index.d.ts +1 -1
  47. package/dist/components/VvTooltip/VvTooltip.vue.d.ts +2 -2
  48. package/dist/components/VvTooltip/index.d.ts +1 -1
  49. package/dist/components/index.es.js +34 -31
  50. package/dist/components/index.umd.js +1 -1
  51. package/dist/composables/alert/useAlert.d.ts +47 -77
  52. package/dist/composables/index.es.js +1 -2
  53. package/dist/composables/useBlurhash.d.ts +1 -1
  54. package/dist/composables/useOptions.d.ts +3 -3
  55. package/dist/icons.es.js +3 -3
  56. package/dist/icons.umd.js +1 -1
  57. package/dist/index.es.js +1 -4
  58. package/dist/index.umd.js +1 -1
  59. package/dist/props/index.d.ts +14 -121
  60. package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +283 -347
  61. package/dist/stories/InputFile/InputFile.stories.d.ts +1 -0
  62. package/dist/test/expect.d.ts +0 -1
  63. package/dist/types/input-file.d.ts +2 -9
  64. package/dist/utils/ObjectUtilities.d.ts +1 -1
  65. package/package.json +29 -30
  66. package/src/Volver.ts +6 -6
  67. package/src/assets/icons/detailed.json +1 -1
  68. package/src/assets/icons/normal.json +1 -1
  69. package/src/assets/icons/simple.json +1 -1
  70. package/src/components/VvButtonGroup/index.ts +1 -1
  71. package/src/components/VvCombobox/index.ts +6 -6
  72. package/src/components/VvDialog/VvDialog.vue +3 -5
  73. package/src/components/VvDialog/index.ts +4 -0
  74. package/src/components/VvInputFile/VvInputFile.vue +8 -3
  75. package/src/components/VvInputFile/index.ts +2 -0
  76. package/src/components/VvInputText/VvInputText.vue +18 -18
  77. package/src/components/common/HintSlot.ts +2 -2
  78. package/src/composables/group/useInjectedGroupState.ts +3 -3
  79. package/src/composables/group/useProvideGroupState.ts +3 -3
  80. package/src/composables/useDefaults.ts +4 -4
  81. package/src/props/index.ts +1 -1
  82. package/src/stories/InputFile/InputFile.stories.ts +8 -0
  83. package/src/types/group.ts +1 -1
  84. package/src/types/input-file.ts +10 -18
@@ -190,7 +190,7 @@ export declare const VvInputTextProps: {
190
190
  default: number;
191
191
  };
192
192
  storageType: {
193
- type: PropType<"local" | "session">;
193
+ type: PropType<`${import("../../constants").StorageType}`>;
194
194
  default: import("../../constants").StorageType;
195
195
  validator: (value: import("../../constants").StorageType) => boolean;
196
196
  };
@@ -213,10 +213,7 @@ export declare const VvInputTextProps: {
213
213
  };
214
214
  label: {
215
215
  type: (StringConstructor | NumberConstructor)[];
216
- default: undefined; /**
217
- * VvIcon name for show password button
218
- * @see VVIcon
219
- */
216
+ default: undefined;
220
217
  };
221
218
  floating: {
222
219
  type: BooleanConstructor;
@@ -227,11 +224,9 @@ export declare const VvInputTextProps: {
227
224
  default: undefined;
228
225
  };
229
226
  iconPosition: {
230
- type: PropType<"before" | "after">;
227
+ type: PropType<`${import("../../constants").Position}`>;
231
228
  default: import("../../constants").Position;
232
- validation: (value: import("../../constants").Position) => boolean; /**
233
- * Adjust input width to content
234
- */
229
+ validation: (value: import("../../constants").Position) => boolean;
235
230
  };
236
231
  debounce: {
237
232
  type: (StringConstructor | NumberConstructor)[];
@@ -26,15 +26,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
26
26
  item?(_: {
27
27
  item: {
28
28
  label: string;
29
- ariaLabel?: string | undefined;
30
- title?: string | undefined;
31
- to?: string | Record<string, unknown> | undefined;
32
- href?: string | undefined;
33
- target?: string | undefined;
34
- rel?: string | undefined;
35
- disabled?: boolean | undefined;
36
- current?: boolean | undefined;
37
- class?: string | string[] | undefined;
29
+ ariaLabel?: string;
30
+ title?: string;
31
+ to?: string | Record<string, unknown>;
32
+ href?: string;
33
+ target?: string;
34
+ rel?: string;
35
+ disabled?: boolean;
36
+ current?: boolean;
37
+ class?: string | string[];
38
38
  };
39
39
  data: Record<string, unknown> | undefined;
40
40
  index: number;
@@ -41,7 +41,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
41
41
  default: string;
42
42
  };
43
43
  options: {
44
- type: globalThis.PropType<(string | Option)[]>;
44
+ type: globalThis.PropType<(Option | string)[]>;
45
45
  default: () => never[];
46
46
  };
47
47
  labelKey: {
@@ -116,7 +116,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
116
116
  default: string;
117
117
  };
118
118
  options: {
119
- type: globalThis.PropType<(string | Option)[]>;
119
+ type: globalThis.PropType<(Option | string)[]>;
120
120
  default: () => never[];
121
121
  };
122
122
  labelKey: {
@@ -148,7 +148,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
148
148
  default: undefined;
149
149
  };
150
150
  }>>, {
151
- options: (string | Option)[];
152
151
  label: string | number;
153
152
  disabled: boolean;
154
153
  modelValue: string | number | boolean | symbol | unknown[];
@@ -162,6 +161,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
162
161
  invalid: boolean;
163
162
  invalidLabel: string | unknown[];
164
163
  vertical: boolean;
164
+ options: (string | Option)[];
165
165
  labelKey: string | Function;
166
166
  valueKey: string | Function;
167
167
  disabledKey: string | Function;
@@ -40,7 +40,7 @@ export declare const VvRadioGroupProps: {
40
40
  default: string;
41
41
  };
42
42
  options: {
43
- type: globalThis.PropType<(string | import("../..").Option)[]>;
43
+ type: globalThis.PropType<(import("../..").Option | string)[]>;
44
44
  default: () => never[];
45
45
  };
46
46
  labelKey: {
@@ -1,116 +1,181 @@
1
1
  import type { Option } from '../../types/generic';
2
- declare const _default: <T extends string | Option>(__VLS_props: {
3
- floating?: boolean | undefined;
4
- readonly name?: string | undefined;
5
- options?: T[] | undefined;
6
- readonly size?: string | number | undefined;
7
- label?: string | number | undefined;
8
- disabled?: boolean | undefined;
9
- modelValue?: string | number | boolean | unknown[] | Record<string, any> | undefined;
10
- modifiers?: string | string[] | undefined;
11
- readonly?: boolean | undefined;
12
- readonly id?: string | number | undefined;
13
- onFocus?: ((args_0: import("@vueuse/core").MaybeElement) => any) | undefined;
14
- onBlur?: ((args_0: import("@vueuse/core").MaybeElement) => any) | undefined;
15
- required?: boolean | undefined;
16
- icon?: string | import("../VvIcon/index.js").VvIconProps | undefined;
17
- iconPosition?: "before" | "after" | undefined;
18
- loading?: boolean | undefined;
19
- loadingLabel?: string | undefined;
20
- unselectable?: boolean | undefined;
21
- multiple?: boolean | undefined;
22
- hintLabel?: string | undefined;
23
- valid?: boolean | undefined;
24
- validLabel?: string | unknown[] | undefined;
25
- invalid?: boolean | undefined;
26
- invalidLabel?: string | unknown[] | undefined;
27
- tabindex?: string | number | undefined;
28
- labelKey?: string | Function | undefined;
29
- valueKey?: string | Function | undefined;
30
- disabledKey?: string | Function | undefined;
31
- "onUpdate:modelValue"?: ((args_0: any) => any) | undefined;
32
- autoselectFirst?: boolean | undefined;
33
- readonly placeholder?: string | undefined;
34
- autocomplete?: string | undefined;
35
- autofocus?: boolean | undefined;
36
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
37
- slots: {
38
- before?(_: {
39
- valid: boolean;
40
- invalid: boolean;
41
- modelValue: string | number | boolean | unknown[] | Record<string, any> | undefined;
42
- }): any;
43
- after?(_: {
44
- valid: boolean;
45
- invalid: boolean;
46
- modelValue: string | number | boolean | unknown[] | Record<string, any> | undefined;
47
- }): any;
48
- hint?(_: {
49
- modelValue: unknown;
50
- valid: boolean;
51
- invalid: boolean;
52
- loading: boolean;
53
- }): any;
54
- loading?(_: {
55
- modelValue: unknown;
56
- valid: boolean;
57
- invalid: boolean;
58
- loading: boolean;
59
- }): any;
60
- valid?(_: {
61
- modelValue: unknown;
62
- valid: boolean;
63
- invalid: boolean;
64
- loading: boolean;
65
- }): any;
66
- invalid?(_: {
67
- modelValue: unknown;
68
- valid: boolean;
69
- invalid: boolean;
70
- loading: boolean;
71
- }): any;
72
- };
73
- attrs: any;
74
- emit: ((evt: "update:modelValue", args_0: any) => void) & ((evt: "blur", args_0: import("@vueuse/core").MaybeElement) => void) & ((evt: "focus", args_0: import("@vueuse/core").MaybeElement) => void);
75
- } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
76
- props: {
77
- floating?: boolean | undefined;
78
- readonly name?: string | undefined;
79
- options?: T[] | undefined;
2
+ declare const _default: <T extends string | Option>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: __VLS_Prettify<Pick<Partial<{
4
+ floating: boolean;
5
+ label: string | number;
6
+ disabled: boolean;
7
+ modelValue: string | number | boolean | unknown[] | Record<string, any>;
8
+ modifiers: string | string[];
9
+ readonly: boolean;
10
+ required: boolean;
11
+ icon: string | import("../VvIcon/index.js").VvIconProps;
12
+ iconPosition: "before" | "after";
13
+ loading: boolean;
14
+ loadingLabel: string;
15
+ unselectable: boolean;
16
+ multiple: boolean;
17
+ hintLabel: string;
18
+ valid: boolean;
19
+ validLabel: string | unknown[];
20
+ invalid: boolean;
21
+ invalidLabel: string | unknown[];
22
+ tabindex: string | number;
23
+ options: T[];
24
+ labelKey: string | Function;
25
+ valueKey: string | Function;
26
+ disabledKey: string | Function;
27
+ autoselectFirst: boolean;
28
+ autocomplete: string;
29
+ autofocus: boolean;
30
+ }> & Omit<{
31
+ readonly floating: boolean;
32
+ readonly disabled: boolean;
33
+ readonly readonly: boolean;
34
+ readonly required: boolean;
35
+ readonly iconPosition: "before" | "after";
36
+ readonly loading: boolean;
37
+ readonly loadingLabel: string;
38
+ readonly unselectable: boolean;
39
+ readonly multiple: boolean;
40
+ readonly hintLabel: string;
41
+ readonly valid: boolean;
42
+ readonly invalid: boolean;
43
+ readonly tabindex: string | number;
44
+ readonly options: T[];
45
+ readonly labelKey: string | Function;
46
+ readonly valueKey: string | Function;
47
+ readonly disabledKey: string | Function;
48
+ readonly autoselectFirst: boolean;
49
+ readonly autocomplete: string;
50
+ readonly autofocus: boolean;
80
51
  readonly size?: string | number | undefined;
81
- label?: string | number | undefined;
82
- disabled?: boolean | undefined;
83
- modelValue?: string | number | boolean | unknown[] | Record<string, any> | undefined;
84
- modifiers?: string | string[] | undefined;
85
- readonly?: boolean | undefined;
52
+ readonly name?: string | undefined;
53
+ readonly label?: string | number | undefined;
54
+ readonly modelValue?: string | number | boolean | unknown[] | Record<string, any> | undefined;
55
+ readonly modifiers?: string | string[] | undefined;
86
56
  readonly id?: string | number | undefined;
57
+ readonly icon?: string | import("../VvIcon/index.js").VvIconProps | undefined;
58
+ readonly validLabel?: string | unknown[] | undefined;
59
+ readonly invalidLabel?: string | unknown[] | undefined;
60
+ readonly placeholder?: string | undefined;
87
61
  onFocus?: ((args_0: import("@vueuse/core").MaybeElement) => any) | undefined;
88
62
  onBlur?: ((args_0: import("@vueuse/core").MaybeElement) => any) | undefined;
89
- required?: boolean | undefined;
90
- icon?: string | import("../VvIcon/index.js").VvIconProps | undefined;
91
- iconPosition?: "before" | "after" | undefined;
92
- loading?: boolean | undefined;
93
- loadingLabel?: string | undefined;
94
- unselectable?: boolean | undefined;
95
- multiple?: boolean | undefined;
96
- hintLabel?: string | undefined;
97
- valid?: boolean | undefined;
98
- validLabel?: string | unknown[] | undefined;
99
- invalid?: boolean | undefined;
100
- invalidLabel?: string | unknown[] | undefined;
101
- tabindex?: string | number | undefined;
102
- labelKey?: string | Function | undefined;
103
- valueKey?: string | Function | undefined;
104
- disabledKey?: string | Function | undefined;
105
63
  "onUpdate:modelValue"?: ((args_0: any) => any) | undefined;
106
- autoselectFirst?: boolean | undefined;
107
- readonly placeholder?: string | undefined;
108
- autocomplete?: string | undefined;
109
- autofocus?: boolean | undefined;
110
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
111
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
64
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
65
+ options: {
66
+ type: globalThis.PropType<T[]>;
67
+ default: () => never[];
68
+ };
69
+ multiple: BooleanConstructor;
70
+ required: BooleanConstructor;
71
+ size: (StringConstructor | NumberConstructor)[];
72
+ modelValue: {
73
+ type: (ObjectConstructor | ArrayConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[];
74
+ default: undefined;
75
+ };
76
+ autoselectFirst: {
77
+ type: BooleanConstructor;
78
+ default: boolean;
79
+ };
80
+ placeholder: StringConstructor;
81
+ label: {
82
+ type: (StringConstructor | NumberConstructor)[];
83
+ default: undefined;
84
+ };
85
+ unselectable: {
86
+ type: BooleanConstructor;
87
+ default: boolean;
88
+ };
89
+ floating: {
90
+ type: BooleanConstructor;
91
+ default: boolean;
92
+ };
93
+ icon: {
94
+ type: globalThis.PropType<string | import("../VvIcon/index.js").VvIconProps>;
95
+ default: undefined;
96
+ };
97
+ iconPosition: {
98
+ type: globalThis.PropType<`${import("../../constants.js").Position}`>;
99
+ default: import("../../constants.js").Position;
100
+ validation: (value: import("../../constants.js").Position) => boolean;
101
+ };
102
+ labelKey: {
103
+ type: (StringConstructor | FunctionConstructor)[];
104
+ default: string;
105
+ };
106
+ valueKey: {
107
+ type: (StringConstructor | FunctionConstructor)[];
108
+ default: string;
109
+ };
110
+ disabledKey: {
111
+ type: (StringConstructor | FunctionConstructor)[];
112
+ default: string;
113
+ };
114
+ modifiers: {
115
+ type: globalThis.PropType<string | string[]>;
116
+ default: undefined;
117
+ };
118
+ readonly: {
119
+ type: BooleanConstructor;
120
+ default: boolean;
121
+ };
122
+ disabled: {
123
+ type: BooleanConstructor;
124
+ default: boolean;
125
+ };
126
+ loading: {
127
+ type: BooleanConstructor;
128
+ default: boolean;
129
+ };
130
+ loadingLabel: {
131
+ type: StringConstructor;
132
+ default: string;
133
+ };
134
+ hintLabel: {
135
+ type: StringConstructor;
136
+ default: string;
137
+ };
138
+ invalid: {
139
+ type: BooleanConstructor;
140
+ default: boolean;
141
+ };
142
+ invalidLabel: {
143
+ type: (ArrayConstructor | StringConstructor)[];
144
+ default: undefined;
145
+ };
146
+ valid: {
147
+ type: BooleanConstructor;
148
+ default: boolean;
149
+ };
150
+ validLabel: {
151
+ type: (ArrayConstructor | StringConstructor)[];
152
+ default: undefined;
153
+ };
154
+ tabindex: {
155
+ type: (StringConstructor | NumberConstructor)[];
156
+ default: number;
157
+ };
158
+ autocomplete: {
159
+ type: StringConstructor;
160
+ default: string;
161
+ };
162
+ autofocus: {
163
+ type: BooleanConstructor;
164
+ default: boolean;
165
+ };
166
+ name: {
167
+ type: StringConstructor;
168
+ required: boolean;
169
+ };
170
+ id: (StringConstructor | NumberConstructor)[];
171
+ }>> & {
172
+ onFocus?: ((args_0: import("@vueuse/core").MaybeElement) => any) | undefined;
173
+ onBlur?: ((args_0: import("@vueuse/core").MaybeElement) => any) | undefined;
174
+ "onUpdate:modelValue"?: ((args_0: any) => any) | undefined;
175
+ }, "floating" | "label" | "disabled" | "modelValue" | "modifiers" | "readonly" | "required" | "icon" | "iconPosition" | "loading" | "loadingLabel" | "unselectable" | "multiple" | "hintLabel" | "valid" | "validLabel" | "invalid" | "invalidLabel" | "tabindex" | "options" | "labelKey" | "valueKey" | "disabledKey" | "autoselectFirst" | "autocomplete" | "autofocus">, "size" | "name" | "id" | "onFocus" | "onBlur" | "onUpdate:modelValue" | "placeholder" | ("floating" | "label" | "disabled" | "modelValue" | "modifiers" | "readonly" | "required" | "icon" | "iconPosition" | "loading" | "loadingLabel" | "unselectable" | "multiple" | "hintLabel" | "valid" | "validLabel" | "invalid" | "invalidLabel" | "tabindex" | "options" | "labelKey" | "valueKey" | "disabledKey" | "autoselectFirst" | "autocomplete" | "autofocus")> & {}> & __VLS_BuiltInPublicProps;
176
+ expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
112
177
  attrs: any;
113
- slots: {
178
+ slots: ReturnType<() => {
114
179
  before?(_: {
115
180
  valid: boolean;
116
181
  invalid: boolean;
@@ -145,87 +210,12 @@ declare const _default: <T extends string | Option>(__VLS_props: {
145
210
  invalid: boolean;
146
211
  loading: boolean;
147
212
  }): any;
148
- };
149
- emit: ((evt: "update:modelValue", args_0: any) => void) & ((evt: "blur", args_0: import("@vueuse/core").MaybeElement) => void) & ((evt: "focus", args_0: import("@vueuse/core").MaybeElement) => void);
213
+ }>;
214
+ emit: (((evt: "update:modelValue", args_0: any) => void) & ((evt: "blur", args_0: import("@vueuse/core").MaybeElement) => void) & ((evt: "focus", args_0: import("@vueuse/core").MaybeElement) => void)) & {};
150
215
  }>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
151
216
  [key: string]: any;
152
217
  }> & {
153
- __ctx?: {
154
- props: {
155
- floating?: boolean | undefined;
156
- readonly name?: string | undefined;
157
- options?: T[] | undefined;
158
- readonly size?: string | number | undefined;
159
- label?: string | number | undefined;
160
- disabled?: boolean | undefined;
161
- modelValue?: string | number | boolean | unknown[] | Record<string, any> | undefined;
162
- modifiers?: string | string[] | undefined;
163
- readonly?: boolean | undefined;
164
- readonly id?: string | number | undefined;
165
- onFocus?: ((args_0: import("@vueuse/core").MaybeElement) => any) | undefined;
166
- onBlur?: ((args_0: import("@vueuse/core").MaybeElement) => any) | undefined;
167
- required?: boolean | undefined;
168
- icon?: string | import("../VvIcon/index.js").VvIconProps | undefined;
169
- iconPosition?: "before" | "after" | undefined;
170
- loading?: boolean | undefined;
171
- loadingLabel?: string | undefined;
172
- unselectable?: boolean | undefined;
173
- multiple?: boolean | undefined;
174
- hintLabel?: string | undefined;
175
- valid?: boolean | undefined;
176
- validLabel?: string | unknown[] | undefined;
177
- invalid?: boolean | undefined;
178
- invalidLabel?: string | unknown[] | undefined;
179
- tabindex?: string | number | undefined;
180
- labelKey?: string | Function | undefined;
181
- valueKey?: string | Function | undefined;
182
- disabledKey?: string | Function | undefined;
183
- "onUpdate:modelValue"?: ((args_0: any) => any) | undefined;
184
- autoselectFirst?: boolean | undefined;
185
- readonly placeholder?: string | undefined;
186
- autocomplete?: string | undefined;
187
- autofocus?: boolean | undefined;
188
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
189
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
190
- attrs: any;
191
- slots: {
192
- before?(_: {
193
- valid: boolean;
194
- invalid: boolean;
195
- modelValue: string | number | boolean | unknown[] | Record<string, any> | undefined;
196
- }): any;
197
- after?(_: {
198
- valid: boolean;
199
- invalid: boolean;
200
- modelValue: string | number | boolean | unknown[] | Record<string, any> | undefined;
201
- }): any;
202
- hint?(_: {
203
- modelValue: unknown;
204
- valid: boolean;
205
- invalid: boolean;
206
- loading: boolean;
207
- }): any;
208
- loading?(_: {
209
- modelValue: unknown;
210
- valid: boolean;
211
- invalid: boolean;
212
- loading: boolean;
213
- }): any;
214
- valid?(_: {
215
- modelValue: unknown;
216
- valid: boolean;
217
- invalid: boolean;
218
- loading: boolean;
219
- }): any;
220
- invalid?(_: {
221
- modelValue: unknown;
222
- valid: boolean;
223
- invalid: boolean;
224
- loading: boolean;
225
- }): any;
226
- };
227
- emit: ((evt: "update:modelValue", args_0: any) => void) & ((evt: "blur", args_0: import("@vueuse/core").MaybeElement) => void) & ((evt: "focus", args_0: import("@vueuse/core").MaybeElement) => void);
228
- } | undefined;
218
+ __ctx?: Awaited<typeof __VLS_setup>;
229
219
  };
230
220
  export default _default;
231
221
  type __VLS_Prettify<T> = {
@@ -60,12 +60,12 @@ export declare const VvSelectProps: {
60
60
  default: undefined;
61
61
  };
62
62
  iconPosition: {
63
- type: globalThis.PropType<"before" | "after">;
63
+ type: globalThis.PropType<`${import("../../constants").Position}`>;
64
64
  default: import("../../constants").Position;
65
65
  validation: (value: import("../../constants").Position) => boolean;
66
66
  };
67
67
  options: {
68
- type: globalThis.PropType<(string | Option)[]>;
68
+ type: globalThis.PropType<(Option | string)[]>;
69
69
  default: () => never[];
70
70
  };
71
71
  labelKey: {
@@ -140,7 +140,7 @@ export declare const VvSelectProps: {
140
140
  };
141
141
  export declare function useVvSelectProps<T extends Option | string>(): {
142
142
  options: {
143
- type: globalThis.PropType<T[]>;
143
+ type: PropType<T[]>;
144
144
  default: () => never[];
145
145
  };
146
146
  /**
@@ -197,7 +197,7 @@ export declare function useVvSelectProps<T extends Option | string>(): {
197
197
  default: undefined;
198
198
  };
199
199
  iconPosition: {
200
- type: globalThis.PropType<"before" | "after">;
200
+ type: globalThis.PropType<`${import("../../constants").Position}`>;
201
201
  default: import("../../constants").Position;
202
202
  validation: (value: import("../../constants").Position) => boolean;
203
203
  };
@@ -1,14 +1,14 @@
1
1
  import type { NavItemTab } from '@/types/nav';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
3
  navModifiers: {
4
- type: globalThis.PropType<string | string[]>;
4
+ type: PropType<string | string[]>;
5
5
  };
6
6
  modelValue: {
7
7
  type: StringConstructor;
8
8
  default: string;
9
9
  };
10
10
  items: {
11
- type: globalThis.PropType<NavItemTab[]>;
11
+ type: PropType<NavItemTab[]>;
12
12
  default: () => never[];
13
13
  };
14
14
  modifiers: {
@@ -19,14 +19,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
19
19
  [x: string]: (...args: any[]) => void;
20
20
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
21
21
  navModifiers: {
22
- type: globalThis.PropType<string | string[]>;
22
+ type: PropType<string | string[]>;
23
23
  };
24
24
  modelValue: {
25
25
  type: StringConstructor;
26
26
  default: string;
27
27
  };
28
28
  items: {
29
- type: globalThis.PropType<NavItemTab[]>;
29
+ type: PropType<NavItemTab[]>;
30
30
  default: () => never[];
31
31
  };
32
32
  modifiers: {
@@ -41,15 +41,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
41
41
  "nav-item"?(_: {
42
42
  item: {
43
43
  label: string;
44
- ariaLabel?: string | undefined;
45
- title?: string | undefined;
46
- to?: string | Record<string, unknown> | undefined;
47
- href?: string | undefined;
48
- target?: string | undefined;
49
- rel?: string | undefined;
50
- disabled?: boolean | undefined;
51
- current?: boolean | undefined;
52
- class?: string | string[] | undefined;
44
+ ariaLabel?: string;
45
+ title?: string;
46
+ to?: string | Record<string, unknown>;
47
+ href?: string;
48
+ target?: string;
49
+ rel?: string;
50
+ disabled?: boolean;
51
+ current?: boolean;
52
+ class?: string | string[];
53
53
  };
54
54
  data: Record<string, unknown> | undefined;
55
55
  index: number;
@@ -1,14 +1,14 @@
1
1
  import type { NavItemTab } from '@/types/nav';
2
2
  export declare const VvTabProps: {
3
3
  navModifiers: {
4
- type: globalThis.PropType<string | string[]>;
4
+ type: PropType<string | string[]>;
5
5
  };
6
6
  modelValue: {
7
7
  type: StringConstructor;
8
8
  default: string;
9
9
  };
10
10
  items: {
11
- type: globalThis.PropType<NavItemTab[]>;
11
+ type: PropType<NavItemTab[]>;
12
12
  default: () => never[];
13
13
  };
14
14
  modifiers: {
@@ -46,7 +46,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
46
46
  default: undefined;
47
47
  };
48
48
  iconPosition: {
49
- type: globalThis.PropType<"before" | "after">;
49
+ type: globalThis.PropType<`${import("../../constants").Position}`>;
50
50
  default: import("../../constants").Position;
51
51
  validation: (value: import("../../constants").Position) => boolean;
52
52
  };
@@ -166,7 +166,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
166
166
  default: undefined;
167
167
  };
168
168
  iconPosition: {
169
- type: globalThis.PropType<"before" | "after">;
169
+ type: globalThis.PropType<`${import("../../constants").Position}`>;
170
170
  default: import("../../constants").Position;
171
171
  validation: (value: import("../../constants").Position) => boolean;
172
172
  };
@@ -80,7 +80,7 @@ export declare const VvTextareaProps: {
80
80
  default: undefined;
81
81
  };
82
82
  iconPosition: {
83
- type: globalThis.PropType<"before" | "after">;
83
+ type: globalThis.PropType<`${import("../../constants").Position}`>;
84
84
  default: import("../../constants").Position;
85
85
  validation: (value: import("../../constants").Position) => boolean;
86
86
  };
@@ -1,6 +1,6 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
2
  position: {
3
- type: globalThis.PropType<"top" | "right" | "bottom" | "left">;
3
+ type: globalThis.PropType<`${import("../../constants").Side}`>;
4
4
  default: import("../../constants").Side;
5
5
  };
6
6
  value: {
@@ -12,7 +12,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
12
12
  };
13
13
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
14
14
  position: {
15
- type: globalThis.PropType<"top" | "right" | "bottom" | "left">;
15
+ type: globalThis.PropType<`${import("../../constants").Side}`>;
16
16
  default: import("../../constants").Side;
17
17
  };
18
18
  value: {
@@ -6,7 +6,7 @@ export declare const VvTooltipProps: {
6
6
  * @default Side.bottom
7
7
  */
8
8
  position: {
9
- type: PropType<"top" | "right" | "bottom" | "left">;
9
+ type: PropType<`${Side}`>;
10
10
  default: Side;
11
11
  };
12
12
  value: {