hlrender 0.0.90 → 0.0.91
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/{affix-widget-e827514d.js → affix-widget-538c3cf6.js} +2 -2
- package/{alert-widget-0f1ee9e2.js → alert-widget-b29f47d3.js} +2 -2
- package/{auto-complete-widget-824c99fc.js → auto-complete-widget-2eee00c3.js} +1 -1
- package/{avatar-widget-e74e617e.js → avatar-widget-f8079b33.js} +2 -2
- package/{backtop-widget-7b709e51.js → backtop-widget-3731d554.js} +2 -2
- package/{badge-widget-0dd553b2.js → badge-widget-52ccdfb2.js} +2 -2
- package/{button-widget-fac68f85.js → button-widget-8a4a323d.js} +2 -2
- package/{card-widget-30706434.js → card-widget-a54ccd77.js} +1 -1
- package/{cont-cell-widget-e3e723d0.js → cont-cell-widget-09304a79.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-4116c02f.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-4ffb3f7d.js} +1 -1
- package/{cont-widget-833a2cc8.js → cont-widget-97814902.js} +1 -1
- package/{default-slot-widget-b67fee9a.js → default-slot-widget-769edd0d.js} +2 -2
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-abd6eca8.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-a5770ac5.js} +1 -1
- package/{descriptions-widget-3a341f1c.js → descriptions-widget-a554a608.js} +1 -1
- package/{dialog-widget-afeea4fe.js → dialog-widget-a11ac597.js} +2 -2
- package/{divider-widget-b8ac07a9.js → divider-widget-50f02e69.js} +2 -2
- package/{drag-wrapper-e9b9ecc5.js → drag-wrapper-ea1ccc79.js} +1 -1
- package/{drawer-widget-28eb655b.js → drawer-widget-5da48645.js} +2 -2
- package/{dropdown-widget-876118d9.js → dropdown-widget-78f8d950.js} +1 -1
- package/{empty-widget-035c7ae7.js → empty-widget-767cb9d5.js} +2 -2
- package/{feedback-widget-e6515822.js → feedback-widget-bafb79ae.js} +2 -2
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-efb8bfdf.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-8b320996.js} +1 -1
- package/{form-widget-a64ff3e5.js → form-widget-a9b5ed37.js} +1 -1
- package/{grid-col-widget-d6b07995.js → grid-col-widget-4b87ca21.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-43413ead.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-8984f8a1.js} +1 -1
- package/{grid-widget-99c58fcc.js → grid-widget-f38b214e.js} +1 -1
- package/iframe-widget-13c4e442.js +91 -0
- package/{input-widget-7468b85a.js → input-widget-fc4b5255.js} +1 -1
- package/{link-widget-0dfd9bb0.js → link-widget-5586016f.js} +2 -2
- package/{ltable-col-widget-8563fd25.js → ltable-col-widget-5036f9bd.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-c0b14fd6.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-aa8c539a.js} +1 -1
- package/{ltable-widget-41dd7e16.js → ltable-widget-b805379f.js} +1 -1
- package/{multirow-widget-826ff2ea.js → multirow-widget-435bc8ff.js} +1 -1
- package/package.json +1 -1
- package/{progress-widget-db964bc8.js → progress-widget-f968c8df.js} +1 -1
- package/{range-widget-60927044.js → range-widget-5e3cf7a0.js} +1 -1
- package/render.es.js +15 -15
- package/render.style.css +1 -1
- package/render.umd.js +2 -2
- package/{result-widget-5169fc9c.js → result-widget-42e8c980.js} +1 -1
- package/{tab-pane-widget-125d6044.js → tab-pane-widget-2ec6b447.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-29bab423.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7fa9be9a.js} +1 -1
- package/{table-col-widget-ee2e176e.js → table-col-widget-3d6e6e62.js} +2 -2
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-036c5143.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-6e7cac27.js} +1 -1
- package/{table-widget-f2b94cda.js → table-widget-c416afc0.js} +2 -2
- package/{tabs-widget-774c5a0b.js → tabs-widget-b56f0ac4.js} +1 -1
- package/{tag-widget-e1b1f50a.js → tag-widget-ebb1f1d0.js} +2 -2
- package/{text-widget-a7ba3961.js → text-widget-602ccc97.js} +2 -2
- package/{tmpl-widget-04694761.js → tmpl-widget-6ce8e305.js} +14 -14
- package/{wrapper-widget-e13eb50a.js → wrapper-widget-5df80bad.js} +1 -1
- package/iframe-widget-f0c8998a.js +0 -80
|
@@ -4,7 +4,7 @@ import { I as B } from "./field-base-5547436d.js";
|
|
|
4
4
|
import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4e9abe9d.js";
|
|
5
5
|
import { b as I } from "./share-field-4ad79e1a.js";
|
|
6
6
|
import { w as O } from "./expression-6a929144.js";
|
|
7
|
-
import { D as P } from "./drag-wrapper-
|
|
7
|
+
import { D as P } from "./drag-wrapper-ea1ccc79.js";
|
|
8
8
|
import { g as W } from "./slot-7ebda734.js";
|
|
9
9
|
import "./widget-base-4c2d6265.js";
|
|
10
10
|
import "./uuid-42b6e595.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-
|
|
1
|
+
import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7fa9be9a.js";
|
|
2
2
|
const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null,
|
|
4
4
|
default: e
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as s, openBlock as l, createBlock as f, mergeProps as r, unref as e, withCtx as g, createVNode as _ } from "vue";
|
|
2
2
|
import { w as u } from "./expression-6a929144.js";
|
|
3
3
|
import { I as w } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { D as C } from "./drag-wrapper-
|
|
4
|
+
import { D as C } from "./drag-wrapper-ea1ccc79.js";
|
|
5
5
|
import { _ as b } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4e9abe9d.js";
|
|
6
6
|
import { c as W } from "./slot-7ebda734.js";
|
|
7
7
|
import { b as h } from "./share-field-4ad79e1a.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as o } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-
|
|
1
|
+
import { _ as o } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-6e7cac27.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "./enum-type-493ca5fb.js";
|
|
4
4
|
import "./uuid-42b6e595.js";
|
|
@@ -11,7 +11,7 @@ import "./_commonjsHelpers-e7ea1525.js";
|
|
|
11
11
|
import "./esprima-e8d15055.js";
|
|
12
12
|
import "./dialog-47f6c88e.js";
|
|
13
13
|
import "element-plus";
|
|
14
|
-
import "./drag-wrapper-
|
|
14
|
+
import "./drag-wrapper-ea1ccc79.js";
|
|
15
15
|
import "./widget-base-4c2d6265.js";
|
|
16
16
|
import "./index-a3039561.js";
|
|
17
17
|
import "./slot-7ebda734.js";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as E, resolveComponent as G, openBlock as i, createBloc
|
|
|
2
2
|
import { a as j } from "./enum-type-493ca5fb.js";
|
|
3
3
|
import { c as O, g as q } from "./uuid-42b6e595.js";
|
|
4
4
|
import { b as H, g as J } from "./baseImp-5e9f6c21.js";
|
|
5
|
-
import { D as W } from "./drag-wrapper-
|
|
5
|
+
import { D as W } from "./drag-wrapper-ea1ccc79.js";
|
|
6
6
|
import { a as g } from "./slot-7ebda734.js";
|
|
7
7
|
import { b as K } from "./multirow-64cb721f.js";
|
|
8
8
|
const M = /* @__PURE__ */ E({
|
|
@@ -3,7 +3,7 @@ import { I as Se } from "./field-base-5547436d.js";
|
|
|
3
3
|
import { _ as Pe } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4e9abe9d.js";
|
|
4
4
|
import { b as Oe } from "./share-field-4ad79e1a.js";
|
|
5
5
|
import { w as ze, g as Ne } from "./expression-6a929144.js";
|
|
6
|
-
import { _ as Re } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-
|
|
6
|
+
import { _ as Re } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-6e7cac27.js";
|
|
7
7
|
import { u as Ce, a as U, c as G, b as je, f as ke, o as Fe } from "./enum-type-493ca5fb.js";
|
|
8
8
|
import { t as Ie } from "./uuid-42b6e595.js";
|
|
9
9
|
import { F as De } from "./slot-7ebda734.js";
|
|
@@ -21,7 +21,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
21
21
|
import "./fieldobj-658deb6a.js";
|
|
22
22
|
import "./source-map-b04aec4a.js";
|
|
23
23
|
import "./esprima-e8d15055.js";
|
|
24
|
-
import "./drag-wrapper-
|
|
24
|
+
import "./drag-wrapper-ea1ccc79.js";
|
|
25
25
|
const Ee = { key: 1 }, Me = J({ componentName: ze.FieldWidget }), lt = /* @__PURE__ */ J({
|
|
26
26
|
...Me,
|
|
27
27
|
__name: "table-widget",
|
|
@@ -5,7 +5,7 @@ import { g as X, w as Y } from "./expression-6a929144.js";
|
|
|
5
5
|
import { I as Z } from "./widget-base-4c2d6265.js";
|
|
6
6
|
import { b as ee } from "./share-field-4ad79e1a.js";
|
|
7
7
|
import { _ as te } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4e9abe9d.js";
|
|
8
|
-
import { _ as oe } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-
|
|
8
|
+
import { _ as oe } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7fa9be9a.js";
|
|
9
9
|
import { u as ae } from "./index-a3039561.js";
|
|
10
10
|
import { B as T } from "./baseImp-5e9f6c21.js";
|
|
11
11
|
const se = y({ componentName: Y.ContainerWidget }), ne = /* @__PURE__ */ y({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as f } from "vue";
|
|
2
2
|
import { I as l } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
3
|
+
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-a5770ac5.js";
|
|
4
4
|
import { w as d } from "./expression-6a929144.js";
|
|
5
5
|
import { b as _ } from "./share-field-4ad79e1a.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
@@ -19,7 +19,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
19
19
|
import "./fieldobj-658deb6a.js";
|
|
20
20
|
import "./slot-7ebda734.js";
|
|
21
21
|
import "./content-wrapper.vue_vue_type_script_setup_true_lang-dc339d2c.js";
|
|
22
|
-
import "./drag-wrapper-
|
|
22
|
+
import "./drag-wrapper-ea1ccc79.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
import "./multirow-64cb721f.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as f } from "vue";
|
|
2
2
|
import { I as l } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
3
|
+
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-a5770ac5.js";
|
|
4
4
|
import { w as d } from "./expression-6a929144.js";
|
|
5
5
|
import { b as _ } from "./share-field-4ad79e1a.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
@@ -19,7 +19,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
19
19
|
import "./fieldobj-658deb6a.js";
|
|
20
20
|
import "./slot-7ebda734.js";
|
|
21
21
|
import "./content-wrapper.vue_vue_type_script_setup_true_lang-dc339d2c.js";
|
|
22
|
-
import "./drag-wrapper-
|
|
22
|
+
import "./drag-wrapper-ea1ccc79.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
import "./multirow-64cb721f.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as F, computed as I, ref as T, onMounted as j, resolveDirective as L, openBlock as a, createBlock as d, mergeProps as
|
|
1
|
+
import { defineComponent as F, computed as I, ref as T, onMounted as j, resolveDirective as L, openBlock as a, createBlock as d, mergeProps as u, unref as t, withCtx as M, createElementBlock as n, Fragment as c, withDirectives as P, renderList as R, createTextVNode as z, toDisplayString as A } from "vue";
|
|
2
2
|
import { a as E, f as J } from "./enum-type-493ca5fb.js";
|
|
3
3
|
import { I as q } from "./widget-base-4c2d6265.js";
|
|
4
4
|
import { b as G } from "./share-field-4ad79e1a.js";
|
|
5
5
|
import { _ as H } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4e9abe9d.js";
|
|
6
|
-
import { D as v } from "./drag-wrapper-
|
|
6
|
+
import { D as v } from "./drag-wrapper-ea1ccc79.js";
|
|
7
7
|
import { i as K, a as Q } from "./slot-7ebda734.js";
|
|
8
8
|
import { c as U } from "./multirow-64cb721f.js";
|
|
9
9
|
import { g as X } from "./expression-6a929144.js";
|
|
@@ -26,22 +26,22 @@ const ee = ["element-loading-text"], te = /* @__PURE__ */ F({
|
|
|
26
26
|
...q
|
|
27
27
|
},
|
|
28
28
|
setup(h, { expose: y }) {
|
|
29
|
-
const f = h, { slots: g, exposed: D, attrs: i, events: k, fieldObj: S, fieldName: x, watchOption: $ } = G(f),
|
|
29
|
+
const f = h, { slots: g, exposed: D, attrs: i, events: k, fieldObj: S, fieldName: x, watchOption: $ } = G(f), O = I(() => K(g.value)), { getSlotFromData: V, emit$: C, rowsData: p, getValue: N, setValue: W } = U({
|
|
30
30
|
...f,
|
|
31
31
|
fieldName: x.value
|
|
32
|
-
}), _ = (e) =>
|
|
32
|
+
}), _ = (e) => W(Y(J(e), !0), (r) => b(r)), l = T(!1), w = (e = !1) => {
|
|
33
33
|
$(e, X.data, () => {
|
|
34
34
|
l.value = !0;
|
|
35
35
|
}, (r) => {
|
|
36
36
|
var o, s;
|
|
37
|
-
|
|
37
|
+
_(r), setTimeout(() => {
|
|
38
38
|
l.value = !1;
|
|
39
39
|
}, 1e3), (s = (o = k.value) == null ? void 0 : o.completed) == null || s.call(o, r);
|
|
40
40
|
});
|
|
41
|
-
},
|
|
41
|
+
}, b = (e) => {
|
|
42
42
|
var o;
|
|
43
43
|
const r = (o = i == null ? void 0 : i.value) != null && o.alwaysShow ? [{}] : null;
|
|
44
|
-
return
|
|
44
|
+
return V(g.value, e || r);
|
|
45
45
|
};
|
|
46
46
|
return j(() => {
|
|
47
47
|
w(!0);
|
|
@@ -53,22 +53,22 @@ const ee = ["element-loading-text"], te = /* @__PURE__ */ F({
|
|
|
53
53
|
getValue: N
|
|
54
54
|
}), (e, r) => {
|
|
55
55
|
const o = L("loading");
|
|
56
|
-
return a(), d(H,
|
|
56
|
+
return a(), d(H, u(e.$props, {
|
|
57
57
|
"prop-options": { fieldObj: t(S) },
|
|
58
58
|
"show-wrapper-component": !0
|
|
59
59
|
}), {
|
|
60
60
|
default: M(() => {
|
|
61
61
|
var s;
|
|
62
62
|
return [
|
|
63
|
-
e.designState ? (a(), d(v,
|
|
64
|
-
widget: t(Q)(t(
|
|
63
|
+
e.designState ? (a(), d(v, u({ key: 0 }, e.$props, {
|
|
64
|
+
widget: t(Q)(t(O), "row"),
|
|
65
65
|
dragClass: "dragSize"
|
|
66
|
-
}), null, 16, ["widget"])) : (a(), n(
|
|
66
|
+
}), null, 16, ["widget"])) : (a(), n(c, { key: 1 }, [
|
|
67
67
|
t(p) && ((s = t(p)) == null ? void 0 : s.length) > 0 ? P((a(), n("div", {
|
|
68
68
|
key: 0,
|
|
69
69
|
"element-loading-text": t(i).loadingText
|
|
70
70
|
}, [
|
|
71
|
-
(a(!0), n(
|
|
71
|
+
(a(!0), n(c, null, R(t(p), (m, B) => (a(), d(v, u({
|
|
72
72
|
key: m.key
|
|
73
73
|
}, e.$props, {
|
|
74
74
|
widget: m.widget[0],
|
|
@@ -78,7 +78,7 @@ const ee = ["element-loading-text"], te = /* @__PURE__ */ F({
|
|
|
78
78
|
}), null, 16, ["widget", "row-scope"]))), 128))
|
|
79
79
|
], 8, ee)), [
|
|
80
80
|
[o, t(i).showLoading && l.value]
|
|
81
|
-
]) : (a(), n(
|
|
81
|
+
]) : (a(), n(c, { key: 1 }, [
|
|
82
82
|
z(A(t(i).noData || t(E).i18nt("designer.hint.noData")), 1)
|
|
83
83
|
], 64))
|
|
84
84
|
], 64))
|
|
@@ -89,7 +89,7 @@ const ee = ["element-loading-text"], te = /* @__PURE__ */ F({
|
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
91
|
});
|
|
92
|
-
const xe = /* @__PURE__ */ Z(te, [["__scopeId", "data-v-
|
|
92
|
+
const xe = /* @__PURE__ */ Z(te, [["__scopeId", "data-v-03255958"]]);
|
|
93
93
|
export {
|
|
94
94
|
xe as default
|
|
95
95
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as y, watch as L, defineComponent as h, resolveDirective as j, openBlock as b, createBlock as D, mergeProps as W, unref as s, withCtx as O, withDirectives as P, createElementBlock as x, normalizeClass as z, createVNode as R, createCommentVNode as S } from "vue";
|
|
2
2
|
import { I as k } from "./widget-base-4c2d6265.js";
|
|
3
|
-
import { D as A } from "./drag-wrapper-
|
|
3
|
+
import { D as A } from "./drag-wrapper-ea1ccc79.js";
|
|
4
4
|
import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4e9abe9d.js";
|
|
5
5
|
import { w as F } from "./expression-6a929144.js";
|
|
6
6
|
import { W as v } from "./enum-type-f8c7654b.js";
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { defineComponent as y, ref as Q, computed as U, onMounted as $, resolveDirective as F, openBlock as d, createBlock as N, mergeProps as g, unref as t, withCtx as P, withDirectives as v, createElementBlock as w, createCommentVNode as D, toHandlers as H, vShow as O } from "vue";
|
|
2
|
-
import { H as p } from "./baseImp-5e9f6c21.js";
|
|
3
|
-
import { w as R } from "./expression-6a929144.js";
|
|
4
|
-
import { b as S } from "./share-field-4ad79e1a.js";
|
|
5
|
-
import { _ as V } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4e9abe9d.js";
|
|
6
|
-
import { I as q } from "./field-base-5547436d.js";
|
|
7
|
-
import { g as K } from "./uuid-42b6e595.js";
|
|
8
|
-
import "./enum-type-493ca5fb.js";
|
|
9
|
-
import "./enum-type-f8c7654b.js";
|
|
10
|
-
import "./icon-e9532b43.js";
|
|
11
|
-
import "./dialog-47f6c88e.js";
|
|
12
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
-
import "element-plus";
|
|
14
|
-
import "./source-map-b04aec4a.js";
|
|
15
|
-
import "./esprima-e8d15055.js";
|
|
16
|
-
import "./multirow-64cb721f.js";
|
|
17
|
-
import "./index-a3039561.js";
|
|
18
|
-
import "./slot-7ebda734.js";
|
|
19
|
-
import "./widget-base-4c2d6265.js";
|
|
20
|
-
import "./index-05c0fa7f.js";
|
|
21
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
22
|
-
import "./fieldobj-658deb6a.js";
|
|
23
|
-
const M = {
|
|
24
|
-
key: 0,
|
|
25
|
-
class: "full-width full-height nopadding nomargin"
|
|
26
|
-
}, W = ["src", "id"], z = y({ componentName: R.FieldWidget }), fe = /* @__PURE__ */ y({
|
|
27
|
-
...z,
|
|
28
|
-
__name: "iframe-widget",
|
|
29
|
-
props: { ...q },
|
|
30
|
-
setup(k, { expose: b }) {
|
|
31
|
-
const C = k, { exposed: L, fieldEditor: u, events: l, attrs: m, extendAttrs: o, fieldObj: j, fieldKey: B, fieldName: E } = S(C), n = Q(!0), c = U(() => {
|
|
32
|
-
var f, _, h;
|
|
33
|
-
const e = ((f = o == null ? void 0 : o.value) == null ? void 0 : f.withQuery) ? p.getLocationQueryParams() : {}, i = p.buildUrl((_ = m == null ? void 0 : m.value) == null ? void 0 : _.src, e), a = (h = o == null ? void 0 : o.value) == null ? void 0 : h.hashRouter;
|
|
34
|
-
var s = p.resolveByCurrentUrl(i, a ? K() + "" : "");
|
|
35
|
-
return s;
|
|
36
|
-
}), I = () => {
|
|
37
|
-
var r;
|
|
38
|
-
(r = u.value) == null || r.addEventListener("load", function() {
|
|
39
|
-
var e, i;
|
|
40
|
-
n.value = !1, (i = (e = l == null ? void 0 : l.value) == null ? void 0 : e.onLoaded) == null || i.call(e);
|
|
41
|
-
});
|
|
42
|
-
};
|
|
43
|
-
return $(() => {
|
|
44
|
-
I();
|
|
45
|
-
}), b({
|
|
46
|
-
...L
|
|
47
|
-
}), (r, e) => {
|
|
48
|
-
var a;
|
|
49
|
-
const i = F("loading");
|
|
50
|
-
return d(), N(V, g(r.$props, {
|
|
51
|
-
"prop-options": { fieldObj: t(j) },
|
|
52
|
-
key: (a = r.widget) == null ? void 0 : a.id
|
|
53
|
-
}), {
|
|
54
|
-
default: P(({ data: s }) => [
|
|
55
|
-
n.value ? v((d(), w("div", M, null, 512)), [
|
|
56
|
-
[i, n.value]
|
|
57
|
-
]) : D("", !0),
|
|
58
|
-
v((d(), w("iframe", g({
|
|
59
|
-
ref_key: "fieldEditor",
|
|
60
|
-
ref: u,
|
|
61
|
-
key: `${t(B)}_${t(c)}`
|
|
62
|
-
}, H(t(l), !0), {
|
|
63
|
-
src: t(c),
|
|
64
|
-
class: [s.injectClass, "full-width full-height nopadding nomargin hlIframe"],
|
|
65
|
-
frameborder: 0,
|
|
66
|
-
style: s.injectStyle,
|
|
67
|
-
id: t(E)
|
|
68
|
-
}), `\r
|
|
69
|
-
`, 16, W)), [
|
|
70
|
-
[O, !n.value]
|
|
71
|
-
])
|
|
72
|
-
]),
|
|
73
|
-
_: 1
|
|
74
|
-
}, 16, ["prop-options"]);
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
export {
|
|
79
|
-
fe as default
|
|
80
|
-
};
|