energy-components 1.15.1 → 1.16.1
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/modal.es.js +54 -47
- package/dist/components/popover.es.js +87 -68
- package/dist/components/style/button.css +1 -1
- package/dist/components/style/infoBox.css +1 -1
- package/dist/components/style/modal.css +1 -1
- package/dist/components/style/pagination.css +1 -1
- package/dist/components/style/persistentToast.css +1 -1
- package/dist/components/style/popover.css +1 -1
- package/dist/components/style/progressBar.css +1 -1
- package/dist/components/style/quantitySelector.css +1 -1
- package/dist/components/style/tableslotedcomponent.css +1 -1
- package/dist/components/style/tooltip.css +1 -1
- package/dist/components/tooltip.es.js +99 -62
- package/dist/energy-components.es.js +3038 -2975
- package/dist/energy-components.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/src/components/overlay/modal/modal.vue.d.ts +19 -0
- package/dist/types/src/components/overlay/popover/popover.vue.d.ts +6 -1
- package/dist/types/src/components/overlay/tooltip/tooltip.vue.d.ts +42 -2
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -53,6 +53,15 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
53
53
|
default: number;
|
|
54
54
|
validator: (value: string | number) => boolean;
|
|
55
55
|
};
|
|
56
|
+
/**
|
|
57
|
+
* Altura máxima del modal en dispositivos móviles en vh, por defecto es 50vh. Recibe un Number cualquiera
|
|
58
|
+
* que es convertido a vh. El mínimo aceptado es 30 y el máximo aceptado es 90.
|
|
59
|
+
*/
|
|
60
|
+
mobileHeight: {
|
|
61
|
+
type: NumberConstructor[];
|
|
62
|
+
default: number;
|
|
63
|
+
validator: (value: number) => boolean;
|
|
64
|
+
};
|
|
56
65
|
/**
|
|
57
66
|
* ID del modal para testing
|
|
58
67
|
*/
|
|
@@ -133,6 +142,15 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
133
142
|
default: number;
|
|
134
143
|
validator: (value: string | number) => boolean;
|
|
135
144
|
};
|
|
145
|
+
/**
|
|
146
|
+
* Altura máxima del modal en dispositivos móviles en vh, por defecto es 50vh. Recibe un Number cualquiera
|
|
147
|
+
* que es convertido a vh. El mínimo aceptado es 30 y el máximo aceptado es 90.
|
|
148
|
+
*/
|
|
149
|
+
mobileHeight: {
|
|
150
|
+
type: NumberConstructor[];
|
|
151
|
+
default: number;
|
|
152
|
+
validator: (value: number) => boolean;
|
|
153
|
+
};
|
|
136
154
|
/**
|
|
137
155
|
* ID del modal para testing
|
|
138
156
|
*/
|
|
@@ -152,6 +170,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
152
170
|
showClose: boolean;
|
|
153
171
|
preventClose: boolean;
|
|
154
172
|
maxWidth: string | number;
|
|
173
|
+
mobileHeight: number;
|
|
155
174
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
156
175
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
157
176
|
export default _default;
|
|
@@ -4,7 +4,10 @@ type __VLS_WithSlots<T, S> = T & (new () => {
|
|
|
4
4
|
$slots: S;
|
|
5
5
|
});
|
|
6
6
|
declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
7
|
-
|
|
7
|
+
toggle: () => Promise<void>;
|
|
8
|
+
close: () => void;
|
|
9
|
+
isOpen: import("vue").Ref<boolean, boolean>;
|
|
10
|
+
$emit: (event: "close" | "open" | "select", ...args: any[]) => void;
|
|
8
11
|
width: number;
|
|
9
12
|
placement: string;
|
|
10
13
|
offsetSpace: number;
|
|
@@ -26,6 +29,8 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
26
29
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
27
30
|
type __VLS_Slots = {
|
|
28
31
|
trigger?: ((props: {}) => any) | undefined;
|
|
32
|
+
} & {
|
|
33
|
+
default?: ((props: {}) => any) | undefined;
|
|
29
34
|
} & {
|
|
30
35
|
item?: ((props: {
|
|
31
36
|
item: unknown;
|
|
@@ -60,7 +60,28 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
60
60
|
type: StringConstructor;
|
|
61
61
|
default: undefined;
|
|
62
62
|
};
|
|
63
|
-
|
|
63
|
+
/**
|
|
64
|
+
* <span>Suprime el tooltip para que no se muestre</span>
|
|
65
|
+
*/
|
|
66
|
+
suppressed: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* <span>Oculta la flecha del tooltip</span>
|
|
72
|
+
*/
|
|
73
|
+
hideArrow: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
}>, {
|
|
78
|
+
show: () => void;
|
|
79
|
+
hide: () => void;
|
|
80
|
+
isOpen: import("vue").ComputedRef<boolean>;
|
|
81
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
82
|
+
show: (...args: any[]) => void;
|
|
83
|
+
hide: (...args: any[]) => void;
|
|
84
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
64
85
|
/**
|
|
65
86
|
* <span>Título del tooltip</span>
|
|
66
87
|
*/
|
|
@@ -116,7 +137,24 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
116
137
|
type: StringConstructor;
|
|
117
138
|
default: undefined;
|
|
118
139
|
};
|
|
119
|
-
|
|
140
|
+
/**
|
|
141
|
+
* <span>Suprime el tooltip para que no se muestre</span>
|
|
142
|
+
*/
|
|
143
|
+
suppressed: {
|
|
144
|
+
type: BooleanConstructor;
|
|
145
|
+
default: boolean;
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* <span>Oculta la flecha del tooltip</span>
|
|
149
|
+
*/
|
|
150
|
+
hideArrow: {
|
|
151
|
+
type: BooleanConstructor;
|
|
152
|
+
default: boolean;
|
|
153
|
+
};
|
|
154
|
+
}>> & Readonly<{
|
|
155
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
|
156
|
+
onHide?: ((...args: any[]) => any) | undefined;
|
|
157
|
+
}>, {
|
|
120
158
|
id: string;
|
|
121
159
|
title: string;
|
|
122
160
|
inverse: boolean;
|
|
@@ -124,6 +162,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
124
162
|
offsetSpace: number;
|
|
125
163
|
large: boolean;
|
|
126
164
|
fullWidth: boolean;
|
|
165
|
+
suppressed: boolean;
|
|
166
|
+
hideArrow: boolean;
|
|
127
167
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
128
168
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
129
169
|
export default _default;
|