intelica-library-ui 0.1.103 → 0.1.104
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.
|
@@ -2753,6 +2753,13 @@ class TemplateMenuComponent {
|
|
|
2753
2753
|
if (!event)
|
|
2754
2754
|
return;
|
|
2755
2755
|
const target = event.target;
|
|
2756
|
+
// clases que fuerzan el cierre del popover
|
|
2757
|
+
const forceCloseClasses = ["closePopoverNow", "closeTemplateMenu"];
|
|
2758
|
+
// Si se da clic en una clase que debe cerrar sí o sí
|
|
2759
|
+
if (forceCloseClasses.some(className => target.closest(`.${className}`))) {
|
|
2760
|
+
this.closePopover();
|
|
2761
|
+
return;
|
|
2762
|
+
}
|
|
2756
2763
|
const allowedClasses = [
|
|
2757
2764
|
"prSelect",
|
|
2758
2765
|
"p-select-option-selected",
|