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