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

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 (78) 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.vue.d.ts +22 -105
  31. package/dist/components/VvInputFile/index.d.ts +7 -28
  32. package/dist/components/VvInputText/VvInputClearAction.d.ts +2 -2
  33. package/dist/components/VvInputText/VvInputPasswordAction.d.ts +4 -4
  34. package/dist/components/VvInputText/VvInputText.vue.d.ts +4 -4
  35. package/dist/components/VvInputText/index.d.ts +4 -9
  36. package/dist/components/VvNav/VvNav.vue.d.ts +9 -9
  37. package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +3 -3
  38. package/dist/components/VvRadioGroup/index.d.ts +1 -1
  39. package/dist/components/VvSelect/VvSelect.vue.d.ts +174 -184
  40. package/dist/components/VvSelect/index.d.ts +4 -4
  41. package/dist/components/VvTab/VvTab.vue.d.ts +13 -13
  42. package/dist/components/VvTab/index.d.ts +2 -2
  43. package/dist/components/VvTextarea/VvTextarea.vue.d.ts +2 -2
  44. package/dist/components/VvTextarea/index.d.ts +1 -1
  45. package/dist/components/VvTooltip/VvTooltip.vue.d.ts +2 -2
  46. package/dist/components/VvTooltip/index.d.ts +1 -1
  47. package/dist/components/index.es.js +23 -25
  48. package/dist/components/index.umd.js +1 -1
  49. package/dist/composables/alert/useAlert.d.ts +47 -77
  50. package/dist/composables/index.es.js +1 -2
  51. package/dist/composables/useBlurhash.d.ts +1 -1
  52. package/dist/composables/useOptions.d.ts +3 -3
  53. package/dist/icons.es.js +3 -3
  54. package/dist/icons.umd.js +1 -1
  55. package/dist/index.es.js +1 -4
  56. package/dist/index.umd.js +1 -1
  57. package/dist/props/index.d.ts +14 -121
  58. package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +283 -347
  59. package/dist/test/expect.d.ts +0 -1
  60. package/dist/types/input-file.d.ts +2 -9
  61. package/dist/utils/ObjectUtilities.d.ts +1 -1
  62. package/package.json +29 -30
  63. package/src/Volver.ts +6 -6
  64. package/src/assets/icons/detailed.json +1 -1
  65. package/src/assets/icons/normal.json +1 -1
  66. package/src/assets/icons/simple.json +1 -1
  67. package/src/components/VvButtonGroup/index.ts +1 -1
  68. package/src/components/VvCombobox/index.ts +6 -6
  69. package/src/components/VvDialog/VvDialog.vue +3 -5
  70. package/src/components/VvDialog/index.ts +4 -0
  71. package/src/components/VvInputText/VvInputText.vue +18 -18
  72. package/src/components/common/HintSlot.ts +2 -2
  73. package/src/composables/group/useInjectedGroupState.ts +3 -3
  74. package/src/composables/group/useProvideGroupState.ts +3 -3
  75. package/src/composables/useDefaults.ts +4 -4
  76. package/src/props/index.ts +1 -1
  77. package/src/types/group.ts +1 -1
  78. package/src/types/input-file.ts +10 -18
@@ -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: {
@@ -1679,7 +1679,7 @@ const _hoisted_1$l = {
1679
1679
  };
1680
1680
  const _hoisted_2$e = ["id"];
1681
1681
  const _hoisted_3$7 = ["aria-label"];
1682
- const _hoisted_4$5 = /* @__PURE__ */ createElementVNode(
1682
+ const _hoisted_4$6 = /* @__PURE__ */ createElementVNode(
1683
1683
  "div",
1684
1684
  { class: "vv-alert__close-mask" },
1685
1685
  null,
@@ -1687,7 +1687,7 @@ const _hoisted_4$5 = /* @__PURE__ */ createElementVNode(
1687
1687
  /* HOISTED */
1688
1688
  );
1689
1689
  const _hoisted_5$5 = [
1690
- _hoisted_4$5
1690
+ _hoisted_4$6
1691
1691
  ];
1692
1692
  const _hoisted_6$5 = {
1693
1693
  key: 1,
@@ -4071,7 +4071,7 @@ const _hoisted_3$5 = {
4071
4071
  key: 0,
4072
4072
  class: "vv-select__input-before"
4073
4073
  };
4074
- const _hoisted_4$4 = { class: "vv-select__inner" };
4074
+ const _hoisted_4$5 = { class: "vv-select__inner" };
4075
4075
  const _hoisted_5$4 = ["id"];
4076
4076
  const _hoisted_6$4 = ["disabled", "hidden"];
4077
4077
  const _hoisted_7$4 = ["disabled", "value"];
@@ -4236,7 +4236,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
4236
4236
  _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_3$5, [
4237
4237
  renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
4238
4238
  ])) : createCommentVNode("v-if", true),
4239
- createElementVNode("div", _hoisted_4$4, [
4239
+ createElementVNode("div", _hoisted_4$5, [
4240
4240
  unref(hasIconBefore) ? (openBlock(), createBlock(
4241
4241
  _sfc_main$u,
4242
4242
  mergeProps({ key: 0 }, unref(hasIconBefore), { class: "vv-select__icon" }),
@@ -4531,7 +4531,7 @@ function useVvComboboxProps() {
4531
4531
  const _hoisted_1$8 = ["id"];
4532
4532
  const _hoisted_2$6 = ["id", "for"];
4533
4533
  const _hoisted_3$4 = ["id", "aria-controls", "placeholder"];
4534
- const _hoisted_4$3 = {
4534
+ const _hoisted_4$4 = {
4535
4535
  key: 0,
4536
4536
  class: "vv-select__input-before"
4537
4537
  };
@@ -4889,7 +4889,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
4889
4889
  onAfterCollapse
4890
4890
  }), createSlots({
4891
4891
  default: withCtx(({ aria }) => [
4892
- _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_4$3, [
4892
+ _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
4893
4893
  renderSlot(_ctx.$slots, "before", normalizeProps(guardReactiveProps(unref(slotProps))))
4894
4894
  ])) : createCommentVNode("v-if", true),
4895
4895
  createElementVNode("div", _hoisted_5$3, [
@@ -5250,14 +5250,19 @@ const VvDialogProps = {
5250
5250
  /**
5251
5251
  * Keep open dialog on click outside
5252
5252
  */
5253
- keepOpen: { type: Boolean, default: false }
5253
+ keepOpen: { type: Boolean, default: false },
5254
+ /**
5255
+ * Close button label
5256
+ */
5257
+ labelClose: { type: String, default: "Close" }
5254
5258
  };
5255
5259
  const _hoisted_1$7 = {
5256
5260
  key: 0,
5257
5261
  class: "vv-dialog__header"
5258
5262
  };
5259
- const _hoisted_2$5 = { class: "vv-dialog__content" };
5260
- const _hoisted_3$3 = {
5263
+ const _hoisted_2$5 = ["aria-label", "title"];
5264
+ const _hoisted_3$3 = { class: "vv-dialog__content" };
5265
+ const _hoisted_4$3 = {
5261
5266
  key: 1,
5262
5267
  class: "vv-dialog__footer"
5263
5268
  };
@@ -5384,26 +5389,19 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
5384
5389
  1
5385
5390
  /* TEXT */
5386
5391
  ),
5387
- createElementVNode(
5388
- "button",
5389
- {
5390
- type: "button",
5391
- "aria-label": "Close",
5392
- class: "vv-dialog__close",
5393
- onClickPassive: close
5394
- },
5395
- [
5396
- createVNode(_sfc_main$u, { name: "close" })
5397
- ],
5398
- 32
5399
- /* NEED_HYDRATION */
5400
- )
5392
+ createElementVNode("button", {
5393
+ type: "button",
5394
+ "aria-label": _ctx.labelClose,
5395
+ title: _ctx.labelClose,
5396
+ class: "vv-dialog__close",
5397
+ onClickPassive: close
5398
+ }, null, 40, _hoisted_2$5)
5401
5399
  ])
5402
5400
  ])) : createCommentVNode("v-if", true),
5403
- createElementVNode("div", _hoisted_2$5, [
5401
+ createElementVNode("div", _hoisted_3$3, [
5404
5402
  renderSlot(_ctx.$slots, "default")
5405
5403
  ]),
5406
- _ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_3$3, [
5404
+ _ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_4$3, [
5407
5405
  renderSlot(_ctx.$slots, "footer")
5408
5406
  ])) : createCommentVNode("v-if", true)
5409
5407
  ],