@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
@@ -1,21 +1,21 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
2
  modelValue: {
3
- type: globalThis.PropType<string | string[] | undefined>;
3
+ type: PropType<string | string[] | undefined>;
4
4
  default: undefined;
5
5
  };
6
6
  items: {
7
- type: globalThis.PropType<import(".").VvAccordionGroupItem[]>;
7
+ type: PropType<import(".").VvAccordionGroupItem[]>;
8
8
  default: () => never[];
9
9
  };
10
10
  collapse: BooleanConstructor;
11
11
  itemModifiers: {
12
- type: globalThis.PropType<string | string[]>;
12
+ type: PropType<string | string[]>;
13
13
  default: string;
14
14
  };
15
15
  disabled: BooleanConstructor;
16
16
  not: BooleanConstructor;
17
17
  storageType: {
18
- type: globalThis.PropType<"local" | "session">;
18
+ type: globalThis.PropType<`${import("../../constants").StorageType}`>;
19
19
  default: import("../../constants").StorageType;
20
20
  validator: (value: import("../../constants").StorageType) => boolean;
21
21
  };
@@ -32,22 +32,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
32
32
  [x: string]: (...args: any[]) => void;
33
33
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
34
34
  modelValue: {
35
- type: globalThis.PropType<string | string[] | undefined>;
35
+ type: PropType<string | string[] | undefined>;
36
36
  default: undefined;
37
37
  };
38
38
  items: {
39
- type: globalThis.PropType<import(".").VvAccordionGroupItem[]>;
39
+ type: PropType<import(".").VvAccordionGroupItem[]>;
40
40
  default: () => never[];
41
41
  };
42
42
  collapse: BooleanConstructor;
43
43
  itemModifiers: {
44
- type: globalThis.PropType<string | string[]>;
44
+ type: PropType<string | string[]>;
45
45
  default: string;
46
46
  };
47
47
  disabled: BooleanConstructor;
48
48
  not: BooleanConstructor;
49
49
  storageType: {
50
- type: globalThis.PropType<"local" | "session">;
50
+ type: globalThis.PropType<`${import("../../constants").StorageType}`>;
51
51
  default: import("../../constants").StorageType;
52
52
  validator: (value: import("../../constants").StorageType) => boolean;
53
53
  };
@@ -69,14 +69,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
69
69
  isExpanded: boolean;
70
70
  expand: () => void;
71
71
  collapse: () => void;
72
- groupExpand: (name?: string | string[] | undefined) => void;
73
- groupCollapse: (name?: string | string[] | undefined) => void;
72
+ groupExpand: (name?: string | string[]) => void;
73
+ groupCollapse: (name?: string | string[]) => void;
74
74
  }) => any>> & Partial<Record<`content::${string}`, (_: {
75
75
  isExpanded: boolean;
76
76
  expand: () => void;
77
77
  collapse: () => void;
78
- groupExpand: (name?: string | string[] | undefined) => void;
79
- groupCollapse: (name?: string | string[] | undefined) => void;
78
+ groupExpand: (name?: string | string[]) => void;
79
+ groupCollapse: (name?: string | string[]) => void;
80
80
  }) => any>> & {
81
81
  default?(_: {
82
82
  expandedAccordions: Set<string>;
@@ -10,7 +10,7 @@ export declare const VvAccordionGroupProps: {
10
10
  * VModel
11
11
  */
12
12
  modelValue: {
13
- type: globalThis.PropType<string | string[] | undefined>;
13
+ type: PropType<string | string[] | undefined>;
14
14
  default: undefined;
15
15
  };
16
16
  /**
@@ -18,7 +18,7 @@ export declare const VvAccordionGroupProps: {
18
18
  * @type VvAccordionGroupItem
19
19
  */
20
20
  items: {
21
- type: globalThis.PropType<VvAccordionGroupItem[]>;
21
+ type: PropType<VvAccordionGroupItem[]>;
22
22
  default: () => never[];
23
23
  };
24
24
  /**
@@ -29,7 +29,7 @@ export declare const VvAccordionGroupProps: {
29
29
  * String or String[] of css classes (modifiers) that will be concatenated to prefix 'vv-accordion--'
30
30
  */
31
31
  itemModifiers: {
32
- type: globalThis.PropType<string | string[]>;
32
+ type: PropType<string | string[]>;
33
33
  default: string;
34
34
  };
35
35
  /**
@@ -41,7 +41,7 @@ export declare const VvAccordionGroupProps: {
41
41
  */
42
42
  not: BooleanConstructor;
43
43
  storageType: {
44
- type: globalThis.PropType<"local" | "session">;
44
+ type: globalThis.PropType<`${import("../../constants").StorageType}`>;
45
45
  default: import("../../constants").StorageType;
46
46
  validator: (value: import("../../constants").StorageType) => boolean;
47
47
  };
@@ -1,7 +1,7 @@
1
1
  import { ActionTag } from '../../constants';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
3
  type: {
4
- type: globalThis.PropType<"button" | "submit" | "reset">;
4
+ type: globalThis.PropType<`${import("../../constants").ButtonType}`>;
5
5
  default: import("../../constants").ButtonType;
6
6
  validator: (value: import("../../constants").ButtonType) => boolean;
7
7
  };
@@ -48,7 +48,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
48
48
  [x: string]: (...args: any[]) => void;
49
49
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
50
50
  type: {
51
- type: globalThis.PropType<"button" | "submit" | "reset">;
51
+ type: globalThis.PropType<`${import("../../constants").ButtonType}`>;
52
52
  default: import("../../constants").ButtonType;
53
53
  validator: (value: import("../../constants").ButtonType) => boolean;
54
54
  };
@@ -1,7 +1,7 @@
1
1
  export declare const VvActionEvents: string[];
2
2
  export declare const VvActionProps: {
3
3
  type: {
4
- type: globalThis.PropType<"button" | "submit" | "reset">;
4
+ type: globalThis.PropType<`${import("../../constants").ButtonType}`>;
5
5
  default: import("../../constants").ButtonType;
6
6
  validator: (value: import("../../constants").ButtonType) => boolean;
7
7
  };
@@ -1,6 +1,6 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
2
  modifiers: {
3
- type: globalThis.PropType<string | string[]>;
3
+ type: globalThis.PropType<import("../../index.js").AlertModifier | import("../../index.js").AlertModifier[]>;
4
4
  default: undefined;
5
5
  };
6
6
  dismissable: {
@@ -28,7 +28,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
28
28
  default: undefined;
29
29
  };
30
30
  role: {
31
- type: globalThis.PropType<"alert" | "alertdialog">;
31
+ type: globalThis.PropType<`${import("../../constants.js").AlertRole}`>;
32
32
  default: import("../../constants.js").AlertRole;
33
33
  };
34
34
  icon: {
@@ -36,7 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
36
36
  default: undefined;
37
37
  };
38
38
  iconPosition: {
39
- type: globalThis.PropType<"before" | "after">;
39
+ type: globalThis.PropType<`${import("../../constants.js").Position}`>;
40
40
  default: import("../../constants.js").Position;
41
41
  validation: (value: import("../../constants.js").Position) => boolean;
42
42
  };
@@ -47,7 +47,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
47
47
  [x: string]: (...args: any[]) => void;
48
48
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
49
49
  modifiers: {
50
- type: globalThis.PropType<string | string[]>;
50
+ type: globalThis.PropType<import("../../index.js").AlertModifier | import("../../index.js").AlertModifier[]>;
51
51
  default: undefined;
52
52
  };
53
53
  dismissable: {
@@ -75,7 +75,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
75
75
  default: undefined;
76
76
  };
77
77
  role: {
78
- type: globalThis.PropType<"alert" | "alertdialog">;
78
+ type: globalThis.PropType<`${import("../../constants.js").AlertRole}`>;
79
79
  default: import("../../constants.js").AlertRole;
80
80
  };
81
81
  icon: {
@@ -83,7 +83,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
83
83
  default: undefined;
84
84
  };
85
85
  iconPosition: {
86
- type: globalThis.PropType<"before" | "after">;
86
+ type: globalThis.PropType<`${import("../../constants.js").Position}`>;
87
87
  default: import("../../constants.js").Position;
88
88
  validation: (value: import("../../constants.js").Position) => boolean;
89
89
  };
@@ -1,11 +1,12 @@
1
1
  import type { ExtractPropTypes, PropType } from 'vue';
2
2
  import { AlertRole } from '@/constants';
3
+ import type { AlertModifier } from '@/types';
3
4
  export declare const VvAlertProps: {
4
5
  /**
5
6
  * Component BEM modifiers
6
7
  */
7
8
  modifiers: {
8
- type: PropType<string | string[]>;
9
+ type: PropType<AlertModifier | AlertModifier[]>;
9
10
  default: undefined;
10
11
  };
11
12
  /**
@@ -71,7 +72,7 @@ export declare const VvAlertProps: {
71
72
  * @see https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Alertdialog_role
72
73
  */
73
74
  role: {
74
- type: PropType<"alert" | "alertdialog">;
75
+ type: PropType<`${AlertRole}`>;
75
76
  default: AlertRole;
76
77
  };
77
78
  icon: {
@@ -79,7 +80,7 @@ export declare const VvAlertProps: {
79
80
  default: undefined;
80
81
  };
81
82
  iconPosition: {
82
- type: PropType<"before" | "after">;
83
+ type: PropType<`${import("@/constants").Position}`>;
83
84
  default: import("@/constants").Position;
84
85
  validation: (value: import("@/constants").Position) => boolean;
85
86
  };
@@ -4,7 +4,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
4
  required: boolean;
5
5
  };
6
6
  items: {
7
- type: globalThis.PropType<import("../../index.js").Alert[]>;
7
+ type: PropType<import("../../index.js").Alert[]>;
8
8
  default: () => never[];
9
9
  };
10
10
  stack: {
@@ -16,15 +16,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
16
16
  default: boolean;
17
17
  };
18
18
  inline: {
19
- type: globalThis.PropType<"start" | "end" | "middle">;
19
+ type: PropType<"start" | "middle" | "end">;
20
20
  default: undefined;
21
21
  };
22
22
  block: {
23
- type: globalThis.PropType<"top" | "bottom" | "center">;
23
+ type: PropType<"top" | "center" | "bottom">;
24
24
  default: undefined;
25
25
  };
26
26
  position: {
27
- type: globalThis.PropType<"absolute" | "fixed">;
27
+ type: PropType<"absolute" | "fixed">;
28
28
  default: undefined;
29
29
  };
30
30
  transition: {
@@ -43,7 +43,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
43
43
  required: boolean;
44
44
  };
45
45
  items: {
46
- type: globalThis.PropType<import("../../index.js").Alert[]>;
46
+ type: PropType<import("../../index.js").Alert[]>;
47
47
  default: () => never[];
48
48
  };
49
49
  stack: {
@@ -55,15 +55,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
55
55
  default: boolean;
56
56
  };
57
57
  inline: {
58
- type: globalThis.PropType<"start" | "end" | "middle">;
58
+ type: PropType<"start" | "middle" | "end">;
59
59
  default: undefined;
60
60
  };
61
61
  block: {
62
- type: globalThis.PropType<"top" | "bottom" | "center">;
62
+ type: PropType<"top" | "center" | "bottom">;
63
63
  default: undefined;
64
64
  };
65
65
  position: {
66
- type: globalThis.PropType<"absolute" | "fixed">;
66
+ type: PropType<"absolute" | "fixed">;
67
67
  default: undefined;
68
68
  };
69
69
  transition: {
@@ -75,8 +75,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
75
75
  default: undefined;
76
76
  };
77
77
  }>>, {
78
- modifiers: string | string[];
79
78
  reverse: boolean;
79
+ modifiers: string | string[];
80
80
  items: import("../../index.js").Alert[];
81
81
  transition: string;
82
82
  inline: "start" | "end" | "middle";
@@ -6,7 +6,7 @@ export declare const VvAlertGroupProps: {
6
6
  required: boolean;
7
7
  };
8
8
  items: {
9
- type: globalThis.PropType<Alert[]>;
9
+ type: PropType<Alert[]>;
10
10
  default: () => never[];
11
11
  };
12
12
  stack: {
@@ -18,15 +18,15 @@ export declare const VvAlertGroupProps: {
18
18
  default: boolean;
19
19
  };
20
20
  inline: {
21
- type: globalThis.PropType<"start" | "end" | "middle">;
21
+ type: PropType<"start" | "middle" | "end">;
22
22
  default: undefined;
23
23
  };
24
24
  block: {
25
- type: globalThis.PropType<"top" | "bottom" | "center">;
25
+ type: PropType<"top" | "center" | "bottom">;
26
26
  default: undefined;
27
27
  };
28
28
  position: {
29
- type: globalThis.PropType<"absolute" | "fixed">;
29
+ type: PropType<"absolute" | "fixed">;
30
30
  default: undefined;
31
31
  };
32
32
  transition: {
@@ -1,6 +1,6 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
2
  items: {
3
- type: globalThis.PropType<import("@/components/VvAvatarGroup").AvatarItem[]>;
3
+ type: PropType<import("@/components/VvAvatarGroup").AvatarItem[]>;
4
4
  default: () => never[];
5
5
  required: boolean;
6
6
  };
@@ -11,14 +11,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
11
11
  totalItems: {
12
12
  type: NumberConstructor;
13
13
  };
14
- avatarModifiers: globalThis.PropType<string | string[]>;
14
+ avatarModifiers: PropType<string | string[]>;
15
15
  modifiers: {
16
16
  type: globalThis.PropType<string | string[]>;
17
17
  default: undefined;
18
18
  };
19
19
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
20
20
  items: {
21
- type: globalThis.PropType<import("@/components/VvAvatarGroup").AvatarItem[]>;
21
+ type: PropType<import("@/components/VvAvatarGroup").AvatarItem[]>;
22
22
  default: () => never[];
23
23
  required: boolean;
24
24
  };
@@ -29,7 +29,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
29
29
  totalItems: {
30
30
  type: NumberConstructor;
31
31
  };
32
- avatarModifiers: globalThis.PropType<string | string[]>;
32
+ avatarModifiers: PropType<string | string[]>;
33
33
  modifiers: {
34
34
  type: globalThis.PropType<string | string[]>;
35
35
  default: undefined;
@@ -9,7 +9,7 @@ export declare const VvAvatarGroupProps: {
9
9
  * avatar items
10
10
  */
11
11
  items: {
12
- type: globalThis.PropType<AvatarItem[]>;
12
+ type: PropType<AvatarItem[]>;
13
13
  default: () => never[];
14
14
  required: boolean;
15
15
  };
@@ -20,7 +20,7 @@ export declare const VvAvatarGroupProps: {
20
20
  totalItems: {
21
21
  type: NumberConstructor;
22
22
  };
23
- avatarModifiers: globalThis.PropType<string | string[]>;
23
+ avatarModifiers: PropType<string | string[]>;
24
24
  modifiers: {
25
25
  type: globalThis.PropType<string | string[]>;
26
26
  default: undefined;
@@ -1,11 +1,11 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- routes: globalThis.PropType<import("../..").NavItem[]>;
2
+ routes: PropType<import("../..").NavItem[]>;
3
3
  modifiers: {
4
4
  type: globalThis.PropType<string | string[]>;
5
5
  default: undefined;
6
6
  };
7
7
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
8
- routes: globalThis.PropType<import("../..").NavItem[]>;
8
+ routes: PropType<import("../..").NavItem[]>;
9
9
  modifiers: {
10
10
  type: globalThis.PropType<string | string[]>;
11
11
  default: undefined;
@@ -15,17 +15,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
15
15
  }, {}>, {
16
16
  label?(_: {
17
17
  route: {
18
- ariaLabel?: string | undefined;
19
- title?: string | undefined;
20
- to?: string | Record<string, unknown> | undefined;
21
- href?: string | undefined;
22
- target?: string | undefined;
23
- rel?: string | undefined;
24
- disabled?: boolean | undefined;
25
- current?: boolean | undefined;
26
- class?: string | string[] | undefined;
27
- on?: Record<string, () => void> | undefined;
28
- data?: Record<string, unknown> | undefined;
18
+ ariaLabel?: string;
19
+ title?: string;
20
+ to?: string | Record<string, unknown>;
21
+ href?: string;
22
+ target?: string;
23
+ rel?: string;
24
+ disabled?: boolean;
25
+ current?: boolean;
26
+ class?: string | string[];
27
+ on?: Record<"click" | string, () => void>;
28
+ data?: Record<string, unknown>;
29
29
  };
30
30
  index: number;
31
31
  }): any;
@@ -1,6 +1,6 @@
1
1
  import type { NavItem } from '../../types';
2
2
  export declare const VvBreadcrumbProps: {
3
- routes: globalThis.PropType<NavItem[]>;
3
+ routes: PropType<NavItem[]>;
4
4
  modifiers: {
5
5
  type: globalThis.PropType<string | string[]>;
6
6
  default: undefined;
@@ -1,7 +1,7 @@
1
1
  import { Side } from '../../constants';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
3
  iconPosition: {
4
- type: globalThis.PropType<"top" | "right" | "bottom" | "left">;
4
+ type: globalThis.PropType<`${Side}`>;
5
5
  default: Side;
6
6
  validator: (value: Side) => boolean;
7
7
  };
@@ -47,7 +47,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
47
47
  };
48
48
  id: (StringConstructor | NumberConstructor)[];
49
49
  type: {
50
- type: globalThis.PropType<"button" | "submit" | "reset">;
50
+ type: globalThis.PropType<`${import("../../constants").ButtonType}`>;
51
51
  default: import("../../constants").ButtonType;
52
52
  validator: (value: import("../../constants").ButtonType) => boolean;
53
53
  };
@@ -94,7 +94,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
94
94
  [x: string]: (...args: any[]) => void;
95
95
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
96
96
  iconPosition: {
97
- type: globalThis.PropType<"top" | "right" | "bottom" | "left">;
97
+ type: globalThis.PropType<`${Side}`>;
98
98
  default: Side;
99
99
  validator: (value: Side) => boolean;
100
100
  };
@@ -140,7 +140,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
140
140
  };
141
141
  id: (StringConstructor | NumberConstructor)[];
142
142
  type: {
143
- type: globalThis.PropType<"button" | "submit" | "reset">;
143
+ type: globalThis.PropType<`${import("../../constants").ButtonType}`>;
144
144
  default: import("../../constants").ButtonType;
145
145
  validator: (value: import("../../constants").ButtonType) => boolean;
146
146
  };
@@ -7,7 +7,7 @@ export declare const VvButtonProps: {
7
7
  * Button icon position
8
8
  */
9
9
  iconPosition: {
10
- type: PropType<"top" | "right" | "bottom" | "left">;
10
+ type: PropType<`${Side}`>;
11
11
  default: Side;
12
12
  validator: (value: Side) => boolean;
13
13
  };
@@ -68,7 +68,7 @@ export declare const VvButtonProps: {
68
68
  };
69
69
  id: (StringConstructor | NumberConstructor)[];
70
70
  type: {
71
- type: PropType<"button" | "submit" | "reset">;
71
+ type: PropType<`${import("../../constants").ButtonType}`>;
72
72
  default: import("../../constants").ButtonType;
73
73
  validator: (value: import("../../constants").ButtonType) => boolean;
74
74
  };
@@ -3,7 +3,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
3
  type: StringConstructor;
4
4
  };
5
5
  itemModifiers: {
6
- type: globalThis.PropType<string | string[]>;
6
+ type: PropType<string | string[]>;
7
7
  default: string;
8
8
  };
9
9
  toggle: {
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
15
15
  default: boolean;
16
16
  };
17
17
  modelValue: {
18
- type: globalThis.PropType<string | number | boolean | (string | number | boolean)[] | undefined>;
18
+ type: PropType<string | number | boolean | (string | number | boolean)[] | undefined>;
19
19
  default: undefined;
20
20
  };
21
21
  unselectable: {
@@ -37,7 +37,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
37
37
  type: StringConstructor;
38
38
  };
39
39
  itemModifiers: {
40
- type: globalThis.PropType<string | string[]>;
40
+ type: PropType<string | string[]>;
41
41
  default: string;
42
42
  };
43
43
  toggle: {
@@ -49,7 +49,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
49
49
  default: boolean;
50
50
  };
51
51
  modelValue: {
52
- type: globalThis.PropType<string | number | boolean | (string | number | boolean)[] | undefined>;
52
+ type: PropType<string | number | boolean | (string | number | boolean)[] | undefined>;
53
53
  default: undefined;
54
54
  };
55
55
  unselectable: {
@@ -6,7 +6,7 @@ export declare const VvButtonGroupProps: {
6
6
  * String or String[] of css classes (modifiers) that will be provided to each button'
7
7
  */
8
8
  itemModifiers: {
9
- type: globalThis.PropType<string | string[]>;
9
+ type: PropType<string | string[]>;
10
10
  default: string;
11
11
  };
12
12
  toggle: {
@@ -18,7 +18,7 @@ export declare const VvButtonGroupProps: {
18
18
  default: boolean;
19
19
  };
20
20
  modelValue: {
21
- type: globalThis.PropType<string | number | boolean | (string | number | boolean)[] | undefined>;
21
+ type: PropType<string | number | boolean | (string | number | boolean)[] | undefined>;
22
22
  default: undefined;
23
23
  };
24
24
  unselectable: {
@@ -136,8 +136,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
136
136
  disabled: boolean;
137
137
  modelValue: string | number | boolean | Record<string, any>;
138
138
  modifiers: string | string[];
139
- switch: boolean;
140
139
  readonly: boolean;
140
+ switch: boolean;
141
141
  loading: boolean;
142
142
  loadingLabel: string;
143
143
  hintLabel: string;
@@ -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 VvCheckboxGroupProps: {
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: {