@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.
- package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +12 -12
- package/dist/components/VvAccordionGroup/index.d.ts +4 -4
- package/dist/components/VvAction/VvAction.vue.d.ts +2 -2
- package/dist/components/VvAction/index.d.ts +1 -1
- package/dist/components/VvAlert/VvAlert.vue.d.ts +6 -6
- package/dist/components/VvAlert/index.d.ts +4 -3
- package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +9 -9
- package/dist/components/VvAlertGroup/index.d.ts +4 -4
- package/dist/components/VvAvatarGroup/VvAvatarGroup.vue.d.ts +4 -4
- package/dist/components/VvAvatarGroup/index.d.ts +2 -2
- package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +13 -13
- package/dist/components/VvBreadcrumb/index.d.ts +1 -1
- package/dist/components/VvButton/VvButton.vue.d.ts +4 -4
- package/dist/components/VvButton/index.d.ts +2 -2
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +4 -4
- package/dist/components/VvButtonGroup/index.d.ts +2 -2
- package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +3 -3
- package/dist/components/VvCheckboxGroup/index.d.ts +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +438 -559
- package/dist/components/VvCombobox/index.d.ts +21 -241
- package/dist/components/VvDialog/VvDialog.es.js +41 -165
- package/dist/components/VvDialog/VvDialog.umd.js +1 -1
- package/dist/components/VvDialog/VvDialog.vue.d.ts +9 -0
- package/dist/components/VvDialog/index.d.ts +7 -0
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +33 -268
- package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +8 -6
- package/dist/components/VvDropdown/index.d.ts +9 -117
- package/dist/components/VvIcon/VvIcon.vue.d.ts +1 -1
- package/dist/components/VvInputFile/VvInputFile.vue.d.ts +22 -105
- package/dist/components/VvInputFile/index.d.ts +7 -28
- package/dist/components/VvInputText/VvInputClearAction.d.ts +2 -2
- package/dist/components/VvInputText/VvInputPasswordAction.d.ts +4 -4
- package/dist/components/VvInputText/VvInputText.vue.d.ts +4 -4
- package/dist/components/VvInputText/index.d.ts +4 -9
- package/dist/components/VvNav/VvNav.vue.d.ts +9 -9
- package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +3 -3
- package/dist/components/VvRadioGroup/index.d.ts +1 -1
- package/dist/components/VvSelect/VvSelect.vue.d.ts +174 -184
- package/dist/components/VvSelect/index.d.ts +4 -4
- package/dist/components/VvTab/VvTab.vue.d.ts +13 -13
- package/dist/components/VvTab/index.d.ts +2 -2
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +2 -2
- package/dist/components/VvTextarea/index.d.ts +1 -1
- package/dist/components/VvTooltip/VvTooltip.vue.d.ts +2 -2
- package/dist/components/VvTooltip/index.d.ts +1 -1
- package/dist/components/index.es.js +23 -25
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/alert/useAlert.d.ts +47 -77
- package/dist/composables/index.es.js +1 -2
- package/dist/composables/useBlurhash.d.ts +1 -1
- package/dist/composables/useOptions.d.ts +3 -3
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/index.es.js +1 -4
- package/dist/index.umd.js +1 -1
- package/dist/props/index.d.ts +14 -121
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +283 -347
- package/dist/test/expect.d.ts +0 -1
- package/dist/types/input-file.d.ts +2 -9
- package/dist/utils/ObjectUtilities.d.ts +1 -1
- package/package.json +29 -30
- package/src/Volver.ts +6 -6
- package/src/assets/icons/detailed.json +1 -1
- package/src/assets/icons/normal.json +1 -1
- package/src/assets/icons/simple.json +1 -1
- package/src/components/VvButtonGroup/index.ts +1 -1
- package/src/components/VvCombobox/index.ts +6 -6
- package/src/components/VvDialog/VvDialog.vue +3 -5
- package/src/components/VvDialog/index.ts +4 -0
- package/src/components/VvInputText/VvInputText.vue +18 -18
- package/src/components/common/HintSlot.ts +2 -2
- package/src/composables/group/useInjectedGroupState.ts +3 -3
- package/src/composables/group/useProvideGroupState.ts +3 -3
- package/src/composables/useDefaults.ts +4 -4
- package/src/props/index.ts +1 -1
- package/src/types/group.ts +1 -1
- 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
|
|
29
|
+
title?: string;
|
|
60
30
|
icon?: string | {
|
|
61
31
|
name: string;
|
|
62
|
-
color?: string
|
|
63
|
-
width?: string | number
|
|
64
|
-
height?: string | number
|
|
65
|
-
provider?: string
|
|
66
|
-
prefix?:
|
|
67
|
-
src?: string
|
|
68
|
-
horizontalFlip?: boolean
|
|
69
|
-
verticalFlip?: boolean
|
|
70
|
-
flip?: string
|
|
71
|
-
mode?: import("@iconify/vue").IconifyRenderMode
|
|
72
|
-
inline?: boolean
|
|
73
|
-
rotate?:
|
|
74
|
-
onLoad?: import("@iconify/vue").IconifyIconOnLoad
|
|
75
|
-
svg?: string
|
|
76
|
-
modifiers?: string | string[]
|
|
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
|
|
79
|
-
footer?: string
|
|
80
|
-
modifiers?:
|
|
81
|
-
dismissable?: boolean
|
|
82
|
-
autoClose?: number
|
|
83
|
-
closeLabel?: string
|
|
84
|
-
role?: import("@/constants").AlertRole
|
|
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
|
|
62
|
+
title?: string;
|
|
93
63
|
icon?: string | {
|
|
94
64
|
name: string;
|
|
95
|
-
color?: string
|
|
96
|
-
width?: string | number
|
|
97
|
-
height?: string | number
|
|
98
|
-
provider?: string
|
|
99
|
-
prefix?:
|
|
100
|
-
src?: string
|
|
101
|
-
horizontalFlip?: boolean
|
|
102
|
-
verticalFlip?: boolean
|
|
103
|
-
flip?: string
|
|
104
|
-
mode?: import("@iconify/vue").IconifyRenderMode
|
|
105
|
-
inline?: boolean
|
|
106
|
-
rotate?:
|
|
107
|
-
onLoad?: import("@iconify/vue").IconifyIconOnLoad
|
|
108
|
-
svg?: string
|
|
109
|
-
modifiers?: string | string[]
|
|
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
|
|
112
|
-
footer?: string
|
|
113
|
-
modifiers?:
|
|
114
|
-
dismissable?: boolean
|
|
115
|
-
autoClose?: number
|
|
116
|
-
closeLabel?: string
|
|
117
|
-
role?: import("@/constants").AlertRole
|
|
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
|
|
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: <
|
|
6
|
-
isOptionDisabled: <
|
|
7
|
-
getOptionGrouped: <
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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"/>'
|