@alexochihua/exos-library-components 2.25.14 → 2.25.15
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.
|
@@ -55873,15 +55873,23 @@ const EDataDetail_exports_ = EDataDetailvue_type_script_setup_true_lang_js;
|
|
|
55873
55873
|
return bottomSpace > rect.bottom;
|
|
55874
55874
|
}
|
|
55875
55875
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.onMounted)(() => {
|
|
55876
|
-
|
|
55877
|
-
|
|
55878
|
-
|
|
55879
|
-
|
|
55880
|
-
|
|
55881
|
-
|
|
55882
|
-
|
|
55883
|
-
|
|
55884
|
-
|
|
55876
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.nextTick)(() => {
|
|
55877
|
+
// Validar que $el existe antes de acceder a parentElement
|
|
55878
|
+
if (instance.ctx?.$el) {
|
|
55879
|
+
parentEl.value = instance.ctx.$el.parentElement;
|
|
55880
|
+
} else {
|
|
55881
|
+
console.warn('ETooltip: No se pudo obtener el elemento DOM del componente. El componente puede no estar completamente montado.');
|
|
55882
|
+
return;
|
|
55883
|
+
}
|
|
55884
|
+
if (parentEl.value) {
|
|
55885
|
+
parentEl.value.addEventListener('mouseover', showTooltip);
|
|
55886
|
+
parentEl.value.addEventListener('mouseout', hideTooltip);
|
|
55887
|
+
// Escuchamos los eventos del loading
|
|
55888
|
+
document.addEventListener('loading-overlay-shown', hideTooltip);
|
|
55889
|
+
showToRight.value = calculateAvailableSpaceX();
|
|
55890
|
+
showToBottom.value = calculateAvailableSpaceY();
|
|
55891
|
+
}
|
|
55892
|
+
});
|
|
55885
55893
|
});
|
|
55886
55894
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.onBeforeUnmount)(() => {
|
|
55887
55895
|
if (parentEl.value) {
|
|
@@ -55891,15 +55891,23 @@ const EDataDetail_exports_ = EDataDetailvue_type_script_setup_true_lang_js;
|
|
|
55891
55891
|
return bottomSpace > rect.bottom;
|
|
55892
55892
|
}
|
|
55893
55893
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
|
|
55894
|
-
|
|
55895
|
-
|
|
55896
|
-
|
|
55897
|
-
|
|
55898
|
-
|
|
55899
|
-
|
|
55900
|
-
|
|
55901
|
-
|
|
55902
|
-
|
|
55894
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
|
|
55895
|
+
// Validar que $el existe antes de acceder a parentElement
|
|
55896
|
+
if (instance.ctx?.$el) {
|
|
55897
|
+
parentEl.value = instance.ctx.$el.parentElement;
|
|
55898
|
+
} else {
|
|
55899
|
+
console.warn('ETooltip: No se pudo obtener el elemento DOM del componente. El componente puede no estar completamente montado.');
|
|
55900
|
+
return;
|
|
55901
|
+
}
|
|
55902
|
+
if (parentEl.value) {
|
|
55903
|
+
parentEl.value.addEventListener('mouseover', showTooltip);
|
|
55904
|
+
parentEl.value.addEventListener('mouseout', hideTooltip);
|
|
55905
|
+
// Escuchamos los eventos del loading
|
|
55906
|
+
document.addEventListener('loading-overlay-shown', hideTooltip);
|
|
55907
|
+
showToRight.value = calculateAvailableSpaceX();
|
|
55908
|
+
showToBottom.value = calculateAvailableSpaceY();
|
|
55909
|
+
}
|
|
55910
|
+
});
|
|
55903
55911
|
});
|
|
55904
55912
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onBeforeUnmount)(() => {
|
|
55905
55913
|
if (parentEl.value) {
|