@volverjs/ui-vue 0.0.10-beta.41 → 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 (81) 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.es.js +4 -1
  21. package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
  22. package/dist/components/VvCombobox/VvCombobox.vue.d.ts +438 -559
  23. package/dist/components/VvCombobox/index.d.ts +21 -241
  24. package/dist/components/VvDialog/VvDialog.es.js +41 -165
  25. package/dist/components/VvDialog/VvDialog.umd.js +1 -1
  26. package/dist/components/VvDialog/VvDialog.vue.d.ts +9 -0
  27. package/dist/components/VvDialog/index.d.ts +7 -0
  28. package/dist/components/VvDropdown/VvDropdown.vue.d.ts +33 -268
  29. package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +8 -6
  30. package/dist/components/VvDropdown/index.d.ts +9 -117
  31. package/dist/components/VvIcon/VvIcon.vue.d.ts +1 -1
  32. package/dist/components/VvInputFile/VvInputFile.vue.d.ts +22 -105
  33. package/dist/components/VvInputFile/index.d.ts +7 -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 +27 -26
  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/test/expect.d.ts +0 -1
  62. package/dist/types/input-file.d.ts +2 -9
  63. package/dist/utils/ObjectUtilities.d.ts +1 -1
  64. package/package.json +29 -30
  65. package/src/Volver.ts +6 -6
  66. package/src/assets/icons/detailed.json +1 -1
  67. package/src/assets/icons/normal.json +1 -1
  68. package/src/assets/icons/simple.json +1 -1
  69. package/src/components/VvButtonGroup/index.ts +1 -1
  70. package/src/components/VvCombobox/VvCombobox.vue +4 -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/VvInputText/VvInputText.vue +18 -18
  75. package/src/components/common/HintSlot.ts +2 -2
  76. package/src/composables/group/useInjectedGroupState.ts +3 -3
  77. package/src/composables/group/useProvideGroupState.ts +3 -3
  78. package/src/composables/useDefaults.ts +4 -4
  79. package/src/props/index.ts +1 -1
  80. package/src/types/group.ts +1 -1
  81. package/src/types/input-file.ts +10 -18
@@ -23,65 +23,35 @@ type AlertInGroup = Alert & {
23
23
  * } the reactive list of alerts, groups, addAlert, removeAlert and getAlerts functions
24
24
  */
25
25
  export declare function useAlert(): {
26
- groups: Map<string, Map<string, {
27
- id: string | number;
28
- title?: string | undefined;
29
- icon?: string | {
30
- name: string;
31
- color?: string | undefined;
32
- width?: string | number | undefined;
33
- height?: string | number | undefined;
34
- provider?: string | undefined;
35
- prefix?: string | undefined;
36
- src?: string | undefined;
37
- horizontalFlip?: boolean | undefined;
38
- verticalFlip?: boolean | undefined;
39
- flip?: string | undefined;
40
- mode?: import("@iconify/vue").IconifyRenderMode | undefined;
41
- inline?: boolean | undefined;
42
- rotate?: string | number | undefined;
43
- onLoad?: import("@iconify/vue").IconifyIconOnLoad | undefined;
44
- svg?: string | undefined;
45
- modifiers?: string | string[] | undefined;
46
- } | undefined;
47
- content?: string | undefined;
48
- footer?: string | undefined;
49
- modifiers?: string | string[] | undefined;
50
- dismissable?: boolean | undefined;
51
- autoClose?: number | undefined;
52
- closeLabel?: string | undefined;
53
- role?: import("@/constants").AlertRole | undefined;
54
- timestamp: number;
55
- group: string;
56
- }> & Omit<Map<string, AlertInGroup>, keyof Map<any, any>>> & Omit<Map<string, Map<string, AlertInGroup>>, keyof Map<any, any>>;
26
+ groups: import("vue").Reactive<Map<string, Map<string, AlertInGroup>>>;
57
27
  alerts: globalThis.ComputedRef<{
58
28
  id: string | number;
59
- title?: string | undefined;
29
+ title?: string;
60
30
  icon?: string | {
61
31
  name: string;
62
- color?: string | undefined;
63
- width?: string | number | undefined;
64
- height?: string | number | undefined;
65
- provider?: string | undefined;
66
- prefix?: string | undefined;
67
- src?: string | undefined;
68
- horizontalFlip?: boolean | undefined;
69
- verticalFlip?: boolean | undefined;
70
- flip?: string | undefined;
71
- mode?: import("@iconify/vue").IconifyRenderMode | undefined;
72
- inline?: boolean | undefined;
73
- rotate?: string | number | undefined;
74
- onLoad?: import("@iconify/vue").IconifyIconOnLoad | undefined;
75
- svg?: string | undefined;
76
- modifiers?: string | string[] | undefined;
32
+ color?: string;
33
+ width?: string | number;
34
+ height?: string | number;
35
+ provider?: string;
36
+ prefix?: import("../../components/VvIcon").IconPrefix | string;
37
+ src?: string;
38
+ horizontalFlip?: boolean;
39
+ verticalFlip?: boolean;
40
+ flip?: string;
41
+ mode?: import("@iconify/vue").IconifyRenderMode;
42
+ inline?: boolean;
43
+ rotate?: number | string;
44
+ onLoad?: import("@iconify/vue").IconifyIconOnLoad;
45
+ svg?: string;
46
+ modifiers?: string | string[];
77
47
  } | undefined;
78
- content?: string | undefined;
79
- footer?: string | undefined;
80
- modifiers?: string | string[] | undefined;
81
- dismissable?: boolean | undefined;
82
- autoClose?: number | undefined;
83
- closeLabel?: string | undefined;
84
- role?: import("@/constants").AlertRole | undefined;
48
+ content?: string;
49
+ footer?: string;
50
+ modifiers?: import("@/types/alert").AlertModifier | import("@/types/alert").AlertModifier[];
51
+ dismissable?: boolean;
52
+ autoClose?: number;
53
+ closeLabel?: string;
54
+ role?: import("@/constants").AlertRole;
85
55
  timestamp: number;
86
56
  group: string;
87
57
  }[]>;
@@ -89,32 +59,32 @@ export declare function useAlert(): {
89
59
  removeAlert: (id: string | number, group?: string) => void;
90
60
  getAlerts: (group?: string) => globalThis.ComputedRef<{
91
61
  id: string | number;
92
- title?: string | undefined;
62
+ title?: string;
93
63
  icon?: string | {
94
64
  name: string;
95
- color?: string | undefined;
96
- width?: string | number | undefined;
97
- height?: string | number | undefined;
98
- provider?: string | undefined;
99
- prefix?: string | undefined;
100
- src?: string | undefined;
101
- horizontalFlip?: boolean | undefined;
102
- verticalFlip?: boolean | undefined;
103
- flip?: string | undefined;
104
- mode?: import("@iconify/vue").IconifyRenderMode | undefined;
105
- inline?: boolean | undefined;
106
- rotate?: string | number | undefined;
107
- onLoad?: import("@iconify/vue").IconifyIconOnLoad | undefined;
108
- svg?: string | undefined;
109
- modifiers?: string | string[] | undefined;
65
+ color?: string;
66
+ width?: string | number;
67
+ height?: string | number;
68
+ provider?: string;
69
+ prefix?: import("../../components/VvIcon").IconPrefix | string;
70
+ src?: string;
71
+ horizontalFlip?: boolean;
72
+ verticalFlip?: boolean;
73
+ flip?: string;
74
+ mode?: import("@iconify/vue").IconifyRenderMode;
75
+ inline?: boolean;
76
+ rotate?: number | string;
77
+ onLoad?: import("@iconify/vue").IconifyIconOnLoad;
78
+ svg?: string;
79
+ modifiers?: string | string[];
110
80
  } | undefined;
111
- content?: string | undefined;
112
- footer?: string | undefined;
113
- modifiers?: string | string[] | undefined;
114
- dismissable?: boolean | undefined;
115
- autoClose?: number | undefined;
116
- closeLabel?: string | undefined;
117
- role?: import("@/constants").AlertRole | undefined;
81
+ content?: string;
82
+ footer?: string;
83
+ modifiers?: import("@/types/alert").AlertModifier | import("@/types/alert").AlertModifier[];
84
+ dismissable?: boolean;
85
+ autoClose?: number;
86
+ closeLabel?: string;
87
+ role?: import("@/constants").AlertRole;
118
88
  timestamp: number;
119
89
  group: string;
120
90
  }[]>;
@@ -86,8 +86,7 @@ function WorkerWrapper(options) {
86
86
  let objURL;
87
87
  try {
88
88
  objURL = blob && (window.URL || window.webkitURL).createObjectURL(blob);
89
- if (!objURL)
90
- throw "";
89
+ if (!objURL) throw "";
91
90
  const worker = new Worker(objURL, {
92
91
  name: options == null ? void 0 : options.name
93
92
  });
@@ -1,7 +1,7 @@
1
1
  declare function loadImage(src: string): Promise<CanvasImageSource>;
2
2
  export declare function useBlurhash(): {
3
3
  encode: (file: File) => Promise<string | undefined>;
4
- decode: import("comlink").Remote<(blurhash: string, width: number, height: number, punch?: number | undefined) => Uint8ClampedArray>;
4
+ decode: import("comlink").Remote<(blurhash: string, width: number, height: number, punch?: number) => Uint8ClampedArray>;
5
5
  loadImage: typeof loadImage;
6
6
  };
7
7
  export {};
@@ -2,7 +2,7 @@ import type { Option } from '../types/generic';
2
2
  export declare function useOptions(props: any): {
3
3
  options: globalThis.Ref<any>;
4
4
  getOptionLabel: <T extends string | Option>(option: T) => string;
5
- getOptionValue: <T_1 extends string | Option>(option: T_1) => any;
6
- isOptionDisabled: <T_2 extends string | Option>(option: T_2) => boolean;
7
- getOptionGrouped: <T_3 extends string | Option>(option: T_3) => T_3[];
5
+ getOptionValue: <T extends string | Option>(option: T) => any;
6
+ isOptionDisabled: <T extends string | Option>(option: T) => boolean;
7
+ getOptionGrouped: <T extends string | Option>(option: T) => T[];
8
8
  };
package/dist/icons.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  const prefix$2 = "normal";
2
- const lastModified$2 = 1718273097;
2
+ const lastModified$2 = 1719878960;
3
3
  const icons$3 = {
4
4
  add: {
5
5
  body: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M4 12h16m-8-8v16"/>'
@@ -614,7 +614,7 @@ const normal = {
614
614
  height: height$1
615
615
  };
616
616
  const prefix$1 = "detailed";
617
- const lastModified$1 = 1718273097;
617
+ const lastModified$1 = 1719878960;
618
618
  const icons$2 = {
619
619
  add: {
620
620
  body: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M4 15.999h24m-12-12v24"/>'
@@ -1227,7 +1227,7 @@ const detailed = {
1227
1227
  height
1228
1228
  };
1229
1229
  const prefix = "simple";
1230
- const lastModified = 1718273097;
1230
+ const lastModified = 1719878960;
1231
1231
  const icons$1 = {
1232
1232
  add: {
1233
1233
  body: '<path fill="none" stroke="currentColor" stroke-linecap="round" d="M.5 8h15M8 .5v15"/>'