chrv-components 1.12.225 → 1.12.226
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.
|
Binary file
|
|
@@ -4182,11 +4182,17 @@ class ChrPopoverDirective {
|
|
|
4182
4182
|
};
|
|
4183
4183
|
this.showPopover = () => {
|
|
4184
4184
|
this.isOpen.set(true);
|
|
4185
|
-
|
|
4185
|
+
try {
|
|
4186
|
+
this.targetElement().showPopover({ source: this.hostElement() });
|
|
4187
|
+
}
|
|
4188
|
+
catch { }
|
|
4186
4189
|
};
|
|
4187
4190
|
this.hidePopover = () => {
|
|
4188
4191
|
this.isOpen.set(false);
|
|
4189
|
-
|
|
4192
|
+
try {
|
|
4193
|
+
this.targetElement().hidePopover();
|
|
4194
|
+
}
|
|
4195
|
+
catch { }
|
|
4190
4196
|
};
|
|
4191
4197
|
this.isInsideRect = (x, y, rect) => {
|
|
4192
4198
|
return (x >= rect.left && x <= rect.right && y >= rect.top && y <= rect.bottom);
|