@ibiz-template-plugin/ibiz-file-previewer 0.0.5 → 0.0.6

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/index.es.js CHANGED
@@ -17298,6 +17298,9 @@ const ImagePage = /* @__PURE__ */ defineComponent({
17298
17298
  observer = new ResizeObserver(updateParentStyle);
17299
17299
  if ((_a = imgRef.value) == null ? void 0 : _a.parentElement) observer.observe(imgRef.value.parentElement);
17300
17300
  });
17301
+ onUnmounted(() => {
17302
+ observer == null ? void 0 : observer.disconnect();
17303
+ });
17301
17304
  return {
17302
17305
  imgRef,
17303
17306
  imgStyle,