@fkui/vue 5.46.1 → 5.46.2

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.
@@ -6882,6 +6882,9 @@ const _sfc_main$X = defineComponent({
6882
6882
  },
6883
6883
  errorStyle() {
6884
6884
  return `--i-popup-error-offset: ${this.arrowOffset}px`;
6885
+ },
6886
+ teleportTarget() {
6887
+ return config.teleportTarget;
6885
6888
  }
6886
6889
  },
6887
6890
  watch: {
@@ -6974,7 +6977,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
6974
6977
  const _component_f_icon = resolveComponent("f-icon");
6975
6978
  return _ctx.isOpen ? (openBlock(), createBlock(Teleport, {
6976
6979
  key: 0,
6977
- to: "body",
6980
+ to: _ctx.teleportTarget,
6978
6981
  disabled: _ctx.teleportDisabled
6979
6982
  }, [createElementVNode("div", {
6980
6983
  ref: "popup",
@@ -6992,7 +6995,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
6992
6995
  }, [createVNode(_component_f_icon, {
6993
6996
  name: "close",
6994
6997
  class: "button__icon"
6995
- })])], 6)], 512)], 2)], 8, ["disabled"])) : createCommentVNode("", true);
6998
+ })])], 6)], 512)], 2)], 8, ["to", "disabled"])) : createCommentVNode("", true);
6996
6999
  }
6997
7000
  const IPopupError = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$K]]);
6998
7001
  function numItems(itemHeight, availableHeight, verticalSpacing) {