vuiii 1.0.0-beta.92 → 1.0.0-beta.94

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 (66) hide show
  1. package/dist/components/Autocomplete.vue.d.ts +22 -23
  2. package/dist/components/Breadcrumbs.vue.d.ts +3 -2
  3. package/dist/components/Button.vue.d.ts +8 -17
  4. package/dist/components/ButtonGroup.vue.d.ts +7 -11
  5. package/dist/components/Checkbox.vue.d.ts +9 -16
  6. package/dist/components/CheckboxGroup.vue.d.ts +17 -27
  7. package/dist/components/Divider.vue.d.ts +3 -2
  8. package/dist/components/Dropdown.vue.d.ts +16 -21
  9. package/dist/components/DropdownMenu.vue.d.ts +27 -29
  10. package/dist/components/FilePicker.vue.d.ts +7 -20
  11. package/dist/components/FormFields.vue.d.ts +30 -22
  12. package/dist/components/FormGroup.vue.d.ts +11 -74
  13. package/dist/components/Icon.vue.d.ts +2 -1
  14. package/dist/components/IconButton.vue.d.ts +2 -1
  15. package/dist/components/Input.vue.d.ts +10 -11
  16. package/dist/components/InputWrapper.vue.d.ts +5 -8
  17. package/dist/components/RadioButtonGroup.vue.d.ts +8 -7
  18. package/dist/components/RadioGroup.vue.d.ts +11 -18
  19. package/dist/components/Select.vue.d.ts +9 -8
  20. package/dist/components/ShortcutIcon.vue.d.ts +2 -1
  21. package/dist/components/Table.vue.d.ts +31 -40
  22. package/dist/components/Tabs.vue.d.ts +33 -0
  23. package/dist/components/TabsNav.vue.d.ts +30 -0
  24. package/dist/components/Textarea.vue.d.ts +12 -13
  25. package/dist/components/Tooltip.vue.d.ts +5 -7
  26. package/dist/components/dialogStack/DialogLayout.vue.d.ts +9 -22
  27. package/dist/components/dialogStack/DialogStack.vue.d.ts +2 -1
  28. package/dist/components/snackbar/SnackbarStack.vue.d.ts +2 -1
  29. package/dist/components/transitions/FadeTransition.vue.d.ts +7 -11
  30. package/dist/composables/useAttrsWithoutClass.d.ts +1 -0
  31. package/dist/composables/useCursor.d.ts +1 -0
  32. package/dist/composables/useFocusTrap.d.ts +16 -0
  33. package/dist/dialogStack.d.ts +4 -10
  34. package/dist/index.d.ts +3 -1
  35. package/dist/types.d.ts +7 -0
  36. package/dist/utils/retrieveInputValue.d.ts +1 -1
  37. package/dist/utils/transformInputAttrs.d.ts +1 -1
  38. package/dist/vuiii.css +1 -1
  39. package/dist/vuiii.js +650 -402
  40. package/package.json +14 -8
  41. package/dist/utils/retrieveMediaUrlFromHTML copy.d.ts +0 -1
  42. /package/dist/{arrow-narrow-down-DGBY4Btu.js → arrow-narrow-down-CuUmHf0n.js} +0 -0
  43. /package/dist/{arrow-narrow-left-BMfPRee1.js → arrow-narrow-left-BQXTnu5O.js} +0 -0
  44. /package/dist/{arrow-narrow-right-D7VrDLjb.js → arrow-narrow-right-DrtFFdaB.js} +0 -0
  45. /package/dist/{arrow-narrow-up-BorlecRd.js → arrow-narrow-up-F0thqZHB.js} +0 -0
  46. /package/dist/{arrow-top-right-on-square-i24gMSZm.js → arrow-top-right-on-square-BqXBKT02.js} +0 -0
  47. /package/dist/{arrow-up-tray-iCjPTwBt.js → arrow-up-tray-ROrxtoIt.js} +0 -0
  48. /package/dist/{caret-sort-Dg7aRzKb.js → caret-sort-BPPDnAYH.js} +0 -0
  49. /package/dist/{check-BBg8cVLv.js → check-BwxzfCuQ.js} +0 -0
  50. /package/dist/{chevron-down-cIqpaED9.js → chevron-down-X-q4gwKn.js} +0 -0
  51. /package/dist/{chevron-left-CxsikvMX.js → chevron-left-DQhFRJYS.js} +0 -0
  52. /package/dist/{chevron-right-ByOcIUwz.js → chevron-right-Dg5Ccn7R.js} +0 -0
  53. /package/dist/{chevron-up-BJHgvkCZ.js → chevron-up-p7l4wDyk.js} +0 -0
  54. /package/dist/{exclamation-BYxUQPvg.js → exclamation-CHzZbXPm.js} +0 -0
  55. /package/dist/{mail-bBPeld_t.js → mail-BH4WnF-i.js} +0 -0
  56. /package/dist/{minus-jP8I17w-.js → minus-D9bcXwkw.js} +0 -0
  57. /package/dist/{pencil-DmJ9fo9U.js → pencil-BVTA-WXK.js} +0 -0
  58. /package/dist/{plus-CMNu2QQI.js → plus-Bxwa86BF.js} +0 -0
  59. /package/dist/{search-CD4RRPi6.js → search-u9SEV0vK.js} +0 -0
  60. /package/dist/{spinner-DlmCGx0i.js → spinner-Bj4mKquj.js} +0 -0
  61. /package/dist/{trash-BMbPD9Je.js → trash-DDwIMl5k.js} +0 -0
  62. /package/dist/{triangle-down-iLc4QWFR.js → triangle-down-BjIVwJ14.js} +0 -0
  63. /package/dist/{triangle-left-B8krIV2b.js → triangle-left-CgVa1QEg.js} +0 -0
  64. /package/dist/{triangle-right-xwrGdoER.js → triangle-right-BX2x9rEh.js} +0 -0
  65. /package/dist/{triangle-up-D_dSA8BG.js → triangle-up-CYsKYAty.js} +0 -0
  66. /package/dist/{x-bczynWUe.js → x-dlwYWrtl.js} +0 -0
@@ -78,15 +78,10 @@ export type AutocompleteRef = {
78
78
  open: () => void;
79
79
  close: () => void;
80
80
  };
81
- declare const _default: <T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
82
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
83
- readonly onSelect?: ((option: Option<T>) => any) | undefined;
84
- readonly "onPrefix-icon-click"?: (() => any) | undefined;
85
- readonly "onSuffix-icon-click"?: (() => any) | undefined;
86
- readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
87
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onSelect" | "onPrefix-icon-click" | "onSuffix-icon-click" | "onUpdate:modelValue"> & ({
88
- modelValue?: string;
89
- } & InputWrapperProps & {
81
+ declare const _default: typeof __VLS_export;
82
+ export default _default;
83
+ declare const __VLS_export: <T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
84
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<(InputWrapperProps & {
90
85
  options: T[] | Record<string, any>;
91
86
  optionLabel?: Extractor;
92
87
  optionValue?: Extractor;
@@ -100,34 +95,38 @@ declare const _default: <T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_
100
95
  inputClass?: any;
101
96
  filter?: AutocompleteFilterFn<T>;
102
97
  dropdownPlacement?: "left" | "right" | "center";
103
- }) & Partial<{}>> & import('vue').PublicProps;
104
- expose(exposed: import('vue').ShallowUnwrapRef<{
98
+ } & {
99
+ modelValue?: string;
100
+ }) & {
101
+ onSelect?: ((option: Option<T>) => any) | undefined;
102
+ "onPrefix-icon-click"?: (() => any) | undefined;
103
+ "onSuffix-icon-click"?: (() => any) | undefined;
104
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
105
+ }> & (typeof globalThis extends {
106
+ __VLS_PROPS_FALLBACK: infer P;
107
+ } ? P : {});
108
+ expose: (exposed: import('vue').ShallowUnwrapRef<{
105
109
  inputElement: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
106
110
  focus: () => void | undefined;
107
111
  blur: () => void | undefined;
108
112
  open: () => void;
109
113
  close: () => void;
110
114
  filter: (option: Option<T>, searchQuery: string) => boolean;
111
- }>): void;
115
+ }>) => void;
112
116
  attrs: any;
113
- slots: Readonly<InputWrapperSlots & {
114
- option?: (props: {
115
- option: Option<T>;
116
- index: number;
117
- isHighlighted: boolean;
118
- }) => any;
119
- }> & InputWrapperSlots & {
117
+ slots: InputWrapperSlots & {
120
118
  option?: (props: {
121
119
  option: Option<T>;
122
120
  index: number;
123
121
  isHighlighted: boolean;
124
122
  }) => any;
125
123
  };
126
- emit: (((evt: "select", option: Option<T>) => void) & ((evt: "prefix-icon-click") => void) & ((evt: "suffix-icon-click") => void)) & ((evt: "update:modelValue", value: string) => void);
124
+ emit: (((evt: "select", option: Option<T>) => void) & ((evt: "prefix-icon-click") => void) & ((evt: "suffix-icon-click") => void)) & ((event: "update:modelValue", value: string) => void);
127
125
  }>) => import('vue').VNode & {
128
126
  __ctx?: Awaited<typeof __VLS_setup>;
129
127
  };
130
- export default _default;
131
- type __VLS_PrettifyLocal<T> = {
128
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
132
129
  [K in keyof T]: T[K];
133
- } & {};
130
+ } : {
131
+ [K in keyof T as K]: T[K];
132
+ }) & {};
@@ -2,7 +2,8 @@ import { BreadcrumbItems } from '../types';
2
2
  type __VLS_Props = {
3
3
  breadcrumbs: BreadcrumbItems;
4
4
  };
5
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
5
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
6
6
  breadcrumbs: BreadcrumbItems;
7
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
7
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
8
+ declare const _default: typeof __VLS_export;
8
9
  export default _default;
@@ -17,27 +17,18 @@ export type ButtonProps = NativeButtonProps & {
17
17
  to?: RouteLocationRaw;
18
18
  href?: string;
19
19
  };
20
- declare function __VLS_template(): {
21
- attrs: Partial<{}>;
22
- slots: Readonly<{
23
- prefix?: void | undefined;
24
- default?: void | undefined;
25
- suffix?: void | undefined;
26
- }> & {
27
- prefix?: void | undefined;
28
- default?: void | undefined;
29
- suffix?: void | undefined;
30
- };
31
- refs: {};
32
- rootEl: any;
20
+ type __VLS_Slots = {
21
+ prefix?: void;
22
+ default?: void;
23
+ suffix?: void;
33
24
  };
34
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
35
- declare const __VLS_component: import('vue').DefineComponent<ButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ButtonProps> & Readonly<{}>, {
25
+ declare const __VLS_base: import('vue').DefineComponent<ButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ButtonProps> & Readonly<{}>, {
36
26
  type: "button" | "submit" | "reset";
37
27
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
38
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
+ declare const _default: typeof __VLS_export;
39
30
  export default _default;
40
- type __VLS_WithTemplateSlots<T, S> = T & {
31
+ type __VLS_WithSlots<T, S> = T & {
41
32
  new (): {
42
33
  $slots: S;
43
34
  };
@@ -1,16 +1,12 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- default?(_: {}): any;
5
- };
6
- refs: {};
7
- rootEl: HTMLDivElement;
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
8
4
  };
9
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
11
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
5
+ declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
12
8
  export default _default;
13
- type __VLS_WithTemplateSlots<T, S> = T & {
9
+ type __VLS_WithSlots<T, S> = T & {
14
10
  new (): {
15
11
  $slots: S;
16
12
  };
@@ -63,9 +63,9 @@ import { InputSize, ValueParser } from '../types';
63
63
  * @slot default - Label content (alternative to label prop)
64
64
  * @slot symbol - Custom checkbox/switch symbol. Props: { checked, disabled, indeterminate, size }
65
65
  */
66
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
67
- modelValue?: any;
68
- } & {
66
+ declare const _default: typeof __VLS_export;
67
+ export default _default;
68
+ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
69
69
  required?: boolean;
70
70
  disabled?: boolean;
71
71
  switch?: boolean;
@@ -74,11 +74,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
74
74
  description?: string;
75
75
  size?: InputSize;
76
76
  valueParser?: ValueParser<boolean>;
77
+ } & {
78
+ modelValue?: any;
77
79
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
78
80
  "update:modelValue": (value: any) => any;
79
81
  }, string, import('vue').PublicProps, Readonly<{
80
- modelValue?: any;
81
- } & {
82
82
  required?: boolean;
83
83
  disabled?: boolean;
84
84
  switch?: boolean;
@@ -87,19 +87,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
87
87
  description?: string;
88
88
  size?: InputSize;
89
89
  valueParser?: ValueParser<boolean>;
90
+ } & {
91
+ modelValue?: any;
90
92
  }> & Readonly<{
91
93
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
92
94
  }>, {
93
95
  size: InputSize;
94
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<{
95
- default?: void | undefined;
96
- symbol?: (props: {
97
- checked: boolean;
98
- disabled: boolean;
99
- indeterminate: boolean;
100
- size: InputSize;
101
- }) => any;
102
- }> & {
96
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
103
97
  default?: void | undefined;
104
98
  symbol?: (props: {
105
99
  checked: boolean;
@@ -108,8 +102,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
108
102
  size: InputSize;
109
103
  }) => any;
110
104
  }>;
111
- export default _default;
112
- type __VLS_WithTemplateSlots<T, S> = T & {
105
+ type __VLS_WithSlots<T, S> = T & {
113
106
  new (): {
114
107
  $slots: S;
115
108
  };
@@ -1,6 +1,6 @@
1
1
  import { Extractor, ValueParser } from '../types';
2
2
  type __VLS_Props = {
3
- options: any[] | any;
3
+ options: any[] | Record<string, any>;
4
4
  optionLabel?: Extractor;
5
5
  optionValue?: Extractor;
6
6
  optionDisabled?: Extractor;
@@ -9,36 +9,26 @@ type __VLS_Props = {
9
9
  type?: 'string' | 'number' | 'boolean' | 'date';
10
10
  inline?: boolean;
11
11
  };
12
- type __VLS_PublicProps = {
12
+ type __VLS_Slots = {
13
+ default?: void;
14
+ symbol?: (props: {
15
+ checked: boolean;
16
+ disabled: boolean;
17
+ }) => any;
18
+ };
19
+ type __VLS_ModelProps = {
13
20
  modelValue?: any[];
14
- } & __VLS_Props;
15
- declare function __VLS_template(): {
16
- attrs: Partial<{}>;
17
- slots: Readonly<{
18
- default?: void | undefined;
19
- symbol?: (props: {
20
- checked: boolean;
21
- disabled: boolean;
22
- }) => any;
23
- }> & {
24
- default?: void | undefined;
25
- symbol?: (props: {
26
- checked: boolean;
27
- disabled: boolean;
28
- }) => any;
29
- };
30
- refs: {};
31
- rootEl: HTMLDivElement;
32
21
  };
33
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
34
- declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
35
- "update:modelValue": (value: any[]) => any;
22
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
23
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
24
+ "update:modelValue": (value: any[] | undefined) => any;
36
25
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
37
- "onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
38
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
39
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
+ "onUpdate:modelValue"?: ((value: any[] | undefined) => any) | undefined;
27
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
28
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
+ declare const _default: typeof __VLS_export;
40
30
  export default _default;
41
- type __VLS_WithTemplateSlots<T, S> = T & {
31
+ type __VLS_WithSlots<T, S> = T & {
42
32
  new (): {
43
33
  $slots: S;
44
34
  };
@@ -33,7 +33,8 @@
33
33
  type __VLS_Props = {
34
34
  orientation?: 'horizontal' | 'vertical';
35
35
  };
36
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
36
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
37
37
  orientation: "horizontal" | "vertical";
38
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLHRElement>;
38
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
39
+ declare const _default: typeof __VLS_export;
39
40
  export default _default;
@@ -14,29 +14,23 @@ export type DropdownRef = {
14
14
  toggle: (state?: boolean) => void;
15
15
  isOpen: ComputedRef<boolean>;
16
16
  };
17
- declare const _default: <Item extends any = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
18
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
19
- readonly onClose?: (() => any) | undefined;
20
- readonly onOpen?: (() => any) | undefined;
21
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onClose" | "onOpen"> & DropdownProps & Partial<{}>> & import('vue').PublicProps;
22
- expose(exposed: import('vue').ShallowUnwrapRef<{
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
19
+ declare const __VLS_export: <Item extends any = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
20
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<DropdownProps & {
21
+ onClose?: (() => any) | undefined;
22
+ onOpen?: (() => any) | undefined;
23
+ }> & (typeof globalThis extends {
24
+ __VLS_PROPS_FALLBACK: infer P;
25
+ } ? P : {});
26
+ expose: (exposed: import('vue').ShallowUnwrapRef<{
23
27
  open: () => void;
24
28
  close: () => void;
25
29
  toggle: (state?: boolean) => void;
26
30
  isOpen: ComputedRef<boolean>;
27
- }>): void;
31
+ }>) => void;
28
32
  attrs: any;
29
- slots: Readonly<{
30
- default?: (props: {
31
- close: () => void;
32
- }) => any;
33
- trigger?: (props: {
34
- open: () => void;
35
- close: () => void;
36
- toggle: (state?: boolean) => void;
37
- isOpen: boolean;
38
- }) => any;
39
- }> & {
33
+ slots: {
40
34
  default?: (props: {
41
35
  close: () => void;
42
36
  }) => any;
@@ -51,7 +45,8 @@ declare const _default: <Item extends any = any>(__VLS_props: NonNullable<Awaite
51
45
  }>) => import('vue').VNode & {
52
46
  __ctx?: Awaited<typeof __VLS_setup>;
53
47
  };
54
- export default _default;
55
- type __VLS_PrettifyLocal<T> = {
48
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
56
49
  [K in keyof T]: T[K];
57
- } & {};
50
+ } : {
51
+ [K in keyof T as K]: T[K];
52
+ }) & {};
@@ -1,37 +1,32 @@
1
- declare const _default: <Item extends any = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
3
- readonly onItemClick?: ((args_0: {
1
+ declare const __VLS_export: <Item extends any = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<{
3
+ items?: Item[];
4
+ cursorIndex?: number;
5
+ /** ARIA role for the list element. Set to `listbox` when used as a combobox popup. */
6
+ listRole?: "listbox" | "menu";
7
+ /** Id applied to the list element (referenced by a combobox via `aria-controls`). */
8
+ listId?: string;
9
+ /** Prefix for per-option ids (`${optionIdPrefix}-${index}`), used for `aria-activedescendant`. */
10
+ optionIdPrefix?: string;
11
+ } & {
12
+ "onItem-click"?: ((args_0: {
4
13
  item: Item;
5
14
  index: number;
6
15
  }) => any) | undefined;
7
- readonly onItemMouseenter?: ((args_0: {
16
+ "onItem-mouseenter"?: ((args_0: {
8
17
  item: Item;
9
18
  index: number;
10
19
  }) => any) | undefined;
11
- readonly onItemMouseleave?: ((args_0: {
20
+ "onItem-mouseleave"?: ((args_0: {
12
21
  item: Item;
13
22
  index: number;
14
23
  }) => any) | undefined;
15
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onItemClick" | "onItemMouseenter" | "onItemMouseleave"> & {
16
- items?: Item[];
17
- cursorIndex?: number;
18
- } & Partial<{}>> & import('vue').PublicProps;
19
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
24
+ }> & (typeof globalThis extends {
25
+ __VLS_PROPS_FALLBACK: infer P;
26
+ } ? P : {});
27
+ expose: (exposed: {}) => void;
20
28
  attrs: any;
21
- slots: Readonly<{
22
- item?: (props: {
23
- item: Item;
24
- index: number;
25
- } & {
26
- cursorIndex?: number;
27
- }) => any;
28
- itemLabel?: (props: {
29
- item: Item;
30
- index: number;
31
- } & {
32
- cursorIndex?: number;
33
- }) => any;
34
- }> & {
29
+ slots: {
35
30
  item?: (props: {
36
31
  item: Item;
37
32
  index: number;
@@ -45,20 +40,23 @@ declare const _default: <Item extends any = any>(__VLS_props: NonNullable<Awaite
45
40
  cursorIndex?: number;
46
41
  }) => any;
47
42
  };
48
- emit: ((evt: "itemClick", args_0: {
43
+ emit: ((evt: "item-click", args_0: {
49
44
  item: Item;
50
45
  index: number;
51
- }) => void) & ((evt: "itemMouseenter", args_0: {
46
+ }) => void) & ((evt: "item-mouseenter", args_0: {
52
47
  item: Item;
53
48
  index: number;
54
- }) => void) & ((evt: "itemMouseleave", args_0: {
49
+ }) => void) & ((evt: "item-mouseleave", args_0: {
55
50
  item: Item;
56
51
  index: number;
57
52
  }) => void);
58
53
  }>) => import('vue').VNode & {
59
54
  __ctx?: Awaited<typeof __VLS_setup>;
60
55
  };
56
+ declare const _default: typeof __VLS_export;
61
57
  export default _default;
62
- type __VLS_PrettifyLocal<T> = {
58
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
63
59
  [K in keyof T]: T[K];
64
- } & {};
60
+ } : {
61
+ [K in keyof T as K]: T[K];
62
+ }) & {};
@@ -3,33 +3,20 @@ type __VLS_Props = {
3
3
  accept?: string | string[];
4
4
  label?: string;
5
5
  };
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: Readonly<{
9
- default?: void | undefined;
10
- }> & {
11
- default?: void | undefined;
12
- };
13
- refs: {
14
- pickerOpener: HTMLButtonElement;
15
- fileInput: HTMLInputElement;
16
- };
17
- rootEl: any;
6
+ type __VLS_Slots = {
7
+ default?: void;
18
8
  };
19
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
10
  files: (files: File[]) => any;
22
11
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
23
12
  onFiles?: ((files: File[]) => any) | undefined;
24
13
  }>, {
25
14
  multiple: boolean;
26
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
27
- pickerOpener: HTMLButtonElement;
28
- fileInput: HTMLInputElement;
29
- }, any>;
30
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
+ declare const _default: typeof __VLS_export;
31
18
  export default _default;
32
- type __VLS_WithTemplateSlots<T, S> = T & {
19
+ type __VLS_WithSlots<T, S> = T & {
33
20
  new (): {
34
21
  $slots: S;
35
22
  };
@@ -1,32 +1,40 @@
1
1
  import { FormFieldOrRow, ObjectKeyOrAnyString, ValidationFieldResults } from '../types';
2
- declare const _default: <Data extends {}>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
- readonly "onUpdate:model-value"?: ((value: any) => any) | undefined;
5
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:model-value"> & {
2
+ declare const __VLS_export: <Data extends {}>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<({
6
4
  fields: FormFieldOrRow<Data>[];
7
- modelValue: any;
8
5
  validationResults?: Partial<Record<ObjectKeyOrAnyString<Data>, ValidationFieldResults>>;
9
6
  orientation?: "vertical" | "horizontal";
10
- } & Partial<{}>> & import('vue').PublicProps;
11
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
7
+ } & {
8
+ modelValue: Data;
9
+ }) & {
10
+ "onUpdate:modelValue"?: ((value: Data) => any) | undefined;
11
+ }> & (typeof globalThis extends {
12
+ __VLS_PROPS_FALLBACK: infer P;
13
+ } ? P : {});
14
+ expose: (exposed: {}) => void;
12
15
  attrs: any;
13
- slots: Partial<Record<`field:${string}`, (_: {
14
- index: number;
15
- name: ObjectKeyOrAnyString<Data>;
16
- label?: string;
17
- description?: string;
18
- hint?: string;
19
- required?: boolean | ((value: any) => boolean);
20
- disabled?: boolean | ((value: any) => boolean);
21
- component: string | import('vue').Component | import('vue').AsyncComponentLoader;
22
- props?: Record<string, unknown>;
23
- value?: import('../types').FormFieldValue<Data> | undefined;
24
- }) => any>>;
25
- emit: (evt: "update:model-value", value: any) => void;
16
+ slots: {
17
+ [x: `field:${string}`]: ((props: {
18
+ index: number;
19
+ name: ObjectKeyOrAnyString<Data>;
20
+ label?: string;
21
+ description?: string;
22
+ hint?: string;
23
+ required?: boolean | ((value: any) => boolean);
24
+ disabled?: boolean | ((value: any) => boolean);
25
+ component: string | import('vue').Component | import('vue').AsyncComponentLoader;
26
+ props?: Record<string, unknown>;
27
+ value?: import('../types').FormFieldValue<Data> | undefined;
28
+ }) => any) | undefined;
29
+ };
30
+ emit: (event: "update:modelValue", value: Data) => void;
26
31
  }>) => import('vue').VNode & {
27
32
  __ctx?: Awaited<typeof __VLS_setup>;
28
33
  };
34
+ declare const _default: typeof __VLS_export;
29
35
  export default _default;
30
- type __VLS_PrettifyLocal<T> = {
36
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
31
37
  [K in keyof T]: T[K];
32
- } & {};
38
+ } : {
39
+ [K in keyof T as K]: T[K];
40
+ }) & {};
@@ -1,58 +1,3 @@
1
- /**
2
- * Form field wrapper with label, description, hint, and error message support.
3
- * Used by FormFields internally, but can be used standalone for custom form layouts.
4
- *
5
- * @component FormGroup
6
- *
7
- * @example
8
- * // Basic usage with label
9
- * import { FormGroup, Input } from 'vuiii'
10
- *
11
- * <FormGroup label="Email">
12
- * <Input v-model="email" type="email" />
13
- * </FormGroup>
14
- *
15
- * @example
16
- * // With description and hint
17
- * <FormGroup
18
- * label="Password"
19
- * description="Choose a strong password for your account"
20
- * hint="Must be at least 8 characters"
21
- * >
22
- * <Input v-model="password" type="password" />
23
- * </FormGroup>
24
- *
25
- * @example
26
- * // With required indicator and validation error
27
- * <FormGroup
28
- * label="Username"
29
- * required
30
- * :error="errors.username"
31
- * >
32
- * <Input v-model="username" :invalid="!!errors.username" />
33
- * </FormGroup>
34
- *
35
- * @example
36
- * // With custom label slot
37
- * <FormGroup>
38
- * <template #label>
39
- * <span>Email</span>
40
- * <Icon name="info" v-tooltip="'We will never share your email'" />
41
- * </template>
42
- * <Input v-model="email" />
43
- * </FormGroup>
44
- *
45
- * @example
46
- * // Boolean error (shows invalid state without message)
47
- * <FormGroup label="Field" :error="hasError">
48
- * <Input v-model="value" :invalid="hasError" />
49
- * </FormGroup>
50
- *
51
- * @slot default - The form input element
52
- * @slot label - Custom label content (replaces label prop)
53
- * @slot description - Custom description content (replaces description prop)
54
- * @slot hint - Custom hint content (replaces hint prop)
55
- */
56
1
  type __VLS_Props = {
57
2
  label?: string;
58
3
  for?: string;
@@ -61,27 +6,19 @@ type __VLS_Props = {
61
6
  description?: string;
62
7
  hint?: string;
63
8
  };
64
- declare function __VLS_template(): {
65
- attrs: Partial<{}>;
66
- slots: Readonly<{
67
- default?: void | undefined;
68
- label?: void | undefined;
69
- description?: void | undefined;
70
- hint?: void | undefined;
71
- }> & {
72
- default?: void | undefined;
73
- label?: void | undefined;
74
- description?: void | undefined;
75
- hint?: void | undefined;
76
- };
77
- refs: {};
78
- rootEl: HTMLDivElement;
9
+ type __VLS_Slots = {
10
+ default?: (props: {
11
+ id: string;
12
+ }) => any;
13
+ label?: void;
14
+ description?: void;
15
+ hint?: void;
79
16
  };
80
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
81
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
82
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
83
20
  export default _default;
84
- type __VLS_WithTemplateSlots<T, S> = T & {
21
+ type __VLS_WithSlots<T, S> = T & {
85
22
  new (): {
86
23
  $slots: S;
87
24
  };
@@ -3,5 +3,6 @@ type __VLS_Props = {
3
3
  name: string;
4
4
  size?: IconSize;
5
5
  };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
7
8
  export default _default;