super-page-runtime 2.3.37-sit1 → 2.3.37-sit3

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.
Files changed (23) hide show
  1. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +1 -1
  2. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +2 -2
  3. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +1 -1
  4. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +26 -26
  5. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +5 -5
  6. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +7 -7
  7. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +9 -9
  8. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
  9. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +4 -4
  10. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +4 -4
  11. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +1 -1
  12. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +9 -9
  13. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +2 -2
  14. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +1 -1
  15. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +31 -31
  16. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +1 -1
  17. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +1 -1
  18. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +5 -5
  19. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +1 -1
  20. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +5 -5
  21. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +70 -62
  22. package/dist/es/style.css +71 -71
  23. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, watch as n, onMounted as l, nextTick as o, onBeforeUnmount as i, resolveComponent as a, createElementBlock as r, openBlock as u, Fragment as s, createVNode as c, createBlock as d, createCommentVNode as p, normalizeStyle as f, normalizeClass as m, unref as v, createSlots as g, withCtx as h, createElementVNode as b, toDisplayString as y } from "vue";
1
+ import { defineComponent as e, ref as t, watch as l, onMounted as n, nextTick as o, onBeforeUnmount as i, resolveComponent as a, createElementBlock as r, openBlock as u, Fragment as s, createVNode as c, createBlock as d, createCommentVNode as p, normalizeStyle as f, normalizeClass as m, unref as v, createSlots as g, withCtx as h, createElementVNode as b, toDisplayString as y } from "vue";
2
2
  import { getFormModelFields as x } from "../../../../utils/page-init-util.js";
3
3
  import { getSizeConfig as k, formatVariableValue as w, getVariableValue as C, setVariableValue as q } from "../../../../utils/page-helper-util.js";
4
4
  import { handleAfterInitEvent as T, handleFormEvent as S } from "../../../../utils/events/event-util.js";
@@ -17,7 +17,7 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
17
17
  let ee = k(P.pageContext, P.configure);
18
18
  ee && ee.fixHeight && (Y.height || (Y.height = ee.fixHeight + "px"));
19
19
  let te = Z.value.value;
20
- const ne = w(P.pageContext, te), le = t(null);
20
+ const le = w(P.pageContext, te), ne = t(null);
21
21
  let oe = null;
22
22
  const ie = t(false), ae = t(0), re = t(false), ue = t(false), se = t("");
23
23
  let ce = null, de = Z.value.state;
@@ -29,11 +29,11 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
29
29
  if (!(oe == null ? void 0 : oe.container)) return;
30
30
  const e3 = oe.container.parentNode;
31
31
  if (!e3) return;
32
- const t2 = e3.getBoundingClientRect(), n2 = oe.container.getBoundingClientRect();
33
- let l2 = t2.height - (n2.top - t2.top);
34
- l2 -= 24, oe.container.style.height = Math.max(l2, 100) + "px";
32
+ const t2 = e3.getBoundingClientRect(), l2 = oe.container.getBoundingClientRect();
33
+ let n2 = t2.height - (l2.top - t2.top);
34
+ n2 -= 24, oe.container.style.height = Math.max(n2, 100) + "px";
35
35
  }
36
- n(Z.value, () => {
36
+ l(Z.value, () => {
37
37
  const e3 = Z.value.state;
38
38
  if (null != e3 && e3 !== de) {
39
39
  de = e3;
@@ -51,12 +51,12 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
51
51
  if (!oe) return;
52
52
  const t2 = function(e4) {
53
53
  let t3 = e4.replace(/<img data-uuid="(.*?)"/g, (e5, t4) => {
54
- const n3 = we(t4), l2 = P.pageContext.backendUrl;
55
- return `<img src="${L(l2, P.pageContext.isTest)}/common/fs-upload/download?serverPath=${n3}&isShowWatermark=false" data-uuid="${n3}"`;
54
+ const l3 = we(t4), n2 = P.pageContext.backendUrl;
55
+ return `<img src="${L(n2, P.pageContext.isTest)}/common/fs-upload/download?serverPath=${l3}&isShowWatermark=false" data-uuid="${l3}"`;
56
56
  });
57
57
  return t3 = t3.replace(/\t/g, "    "), t3 = t3.replace(/ {2}/g, "  "), t3;
58
- }(e3), n2 = oe.clipboard.convertHTML(t2);
59
- oe.setContents(n2.ops), o(() => {
58
+ }(e3), l2 = oe.clipboard.convertHTML(t2);
59
+ oe.setContents(l2.ops), o(() => {
60
60
  if (!oe) return;
61
61
  oe.root.querySelectorAll("img").forEach((e4) => {
62
62
  if (!e4.getAttribute("data-uuid")) {
@@ -90,7 +90,7 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
90
90
  }
91
91
  function He(e3) {
92
92
  var _a;
93
- oe && (null !== e3.relatedTarget && ((_a = le.value) == null ? void 0 : _a.contains(e3.relatedTarget)) || S(oe.root.innerHTML, P.pageContext, P.configure, "change", { entity: I }));
93
+ oe && (null !== e3.relatedTarget && ((_a = ne.value) == null ? void 0 : _a.contains(e3.relatedTarget)) || S(oe.root.innerHTML, P.pageContext, P.configure, "change", { entity: I }));
94
94
  }
95
95
  function Me(e3) {
96
96
  if ("img" === e3.target.localName) {
@@ -102,45 +102,45 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
102
102
  function Ne(e3) {
103
103
  const t2 = new FormData();
104
104
  t2.append("file", e3);
105
- const n2 = P.pageContext.backendUrl, l2 = L(n2, P.pageContext.isTest);
106
- return E.post(l2 + "/common/fs-upload/rich-editor-image", t2, { headers: { "Content-Type": "multipart/form-data" } });
105
+ const l2 = P.pageContext.backendUrl, n2 = L(l2, P.pageContext.isTest);
106
+ return E.post(n2 + "/common/fs-upload/rich-editor-image", t2, { headers: { "Content-Type": "multipart/form-data" } });
107
107
  }
108
108
  function Re(e3, t2) {
109
- const n2 = e3.split(","), l2 = n2[0].match(/:(.*?);/), o2 = l2 ? l2[1] : "image/png", i2 = atob(n2[1]);
109
+ const l2 = e3.split(","), n2 = l2[0].match(/:(.*?);/), o2 = n2 ? n2[1] : "image/png", i2 = atob(l2[1]);
110
110
  let a2 = i2.length;
111
111
  const r2 = new Uint8Array(a2);
112
112
  for (; a2--; ) r2[a2] = i2.charCodeAt(a2);
113
113
  return new File([r2], t2, { type: o2 });
114
114
  }
115
- return l(() => {
115
+ return n(() => {
116
116
  var _a;
117
- le.value && (oe = new M(le.value, me.value), oe.root.style.fontSize = "16px", function() {
117
+ ne.value && (oe = new M(ne.value, me.value), oe.root.style.fontSize = "16px", function() {
118
118
  var _a2, _b;
119
- const e3 = (_b = (_a2 = le.value) == null ? void 0 : _a2.parentElement) == null ? void 0 : _b.querySelector(".ql-toolbar");
119
+ const e3 = (_b = (_a2 = ne.value) == null ? void 0 : _a2.parentElement) == null ? void 0 : _b.querySelector(".ql-toolbar");
120
120
  if (!e3) return;
121
121
  e3.querySelectorAll("button").forEach((e4) => {
122
122
  const t2 = e4.className.match(/ql-([\w-]+)/);
123
123
  if (t2) {
124
- const n2 = t2[1], l2 = `${n2}[value="${e4.value}"]`;
125
- qe[l2] ? e4.setAttribute("data-tooltip", qe[l2]) : qe[n2] && e4.setAttribute("data-tooltip", qe[n2]);
124
+ const l2 = t2[1], n2 = `${l2}[value="${e4.value}"]`;
125
+ qe[n2] ? e4.setAttribute("data-tooltip", qe[n2]) : qe[l2] && e4.setAttribute("data-tooltip", qe[l2]);
126
126
  }
127
127
  }), e3.querySelectorAll(".ql-picker").forEach((e4) => {
128
128
  const t2 = e4.className.match(/ql-(\w+)/);
129
129
  if (t2) {
130
- const n2 = t2[1];
131
- if (qe[n2]) {
130
+ const l2 = t2[1];
131
+ if (qe[l2]) {
132
132
  const t3 = e4.querySelector(".ql-picker-label");
133
- t3 && t3.setAttribute("data-tooltip", qe[n2]);
133
+ t3 && t3.setAttribute("data-tooltip", qe[l2]);
134
134
  }
135
135
  }
136
136
  });
137
137
  }(), function() {
138
138
  var _a2, _b;
139
- const e3 = (_b = (_a2 = le.value) == null ? void 0 : _a2.parentElement) == null ? void 0 : _b.querySelector(".ql-toolbar");
139
+ const e3 = (_b = (_a2 = ne.value) == null ? void 0 : _a2.parentElement) == null ? void 0 : _b.querySelector(".ql-toolbar");
140
140
  e3 && e3.addEventListener("mousedown", (e4) => {
141
141
  e4.preventDefault();
142
142
  });
143
- }(), Ce(ne), (_a = le.value) == null ? void 0 : _a.addEventListener("focusout", He), oe.on("text-change", async function(e3) {
143
+ }(), Ce(le), (_a = ne.value) == null ? void 0 : _a.addEventListener("focusout", He), oe.on("text-change", async function(e3) {
144
144
  if (!oe) return;
145
145
  const t2 = oe.root.getElementsByTagName("img");
146
146
  for (const e4 of t2) if (!e4.getAttribute("data-uuid")) {
@@ -154,10 +154,10 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
154
154
  if (!t4.startsWith("data:image")) continue;
155
155
  try {
156
156
  re.value = true;
157
- const e5 = Re(t4, "image.png"), n2 = await Ne(e5);
157
+ const e5 = Re(t4, "image.png"), l2 = await Ne(e5);
158
158
  if (!oe) return;
159
- const l2 = oe.root.getElementsByTagName("img");
160
- for (const e6 of l2) e6.src === t4 && (e6.width = 300, e6.src = n2.url, e6.setAttribute("data-uuid", n2.uuid));
159
+ const n2 = oe.root.getElementsByTagName("img");
160
+ for (const e6 of n2) e6.src === t4 && (e6.width = 300, e6.src = l2.url, e6.setAttribute("data-uuid", l2.uuid));
161
161
  } catch (e5) {
162
162
  Ae();
163
163
  } finally {
@@ -177,10 +177,10 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
177
177
  const e3 = C(I, K);
178
178
  T(e3, P.pageContext, P.configure, { formItemRef: be.value, componentRef: ye.value, titleRef: xe.value, value: e3, entity: P.pageContext.entity.data, pageData: P.pageContext.entity.page });
179
179
  }));
180
- }), l(() => {
180
+ }), n(() => {
181
181
  document.addEventListener("keydown", Le);
182
182
  }), i(() => {
183
- document.removeEventListener("keydown", Le), ce && clearTimeout(ce), le.value && le.value.removeEventListener("focusout", He), ke && ke.removeEventListener("click", Me);
183
+ document.removeEventListener("keydown", Le), ce && clearTimeout(ce), ne.value && ne.value.removeEventListener("focusout", He), ke && ke.removeEventListener("click", Me);
184
184
  }), B2({ addRequiredClass: function() {
185
185
  G.value = H();
186
186
  }, setContent: function(e3) {
@@ -188,8 +188,8 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
188
188
  }, getContent: function() {
189
189
  return oe ? oe.root.innerHTML : "";
190
190
  } }), (e3, t2) => {
191
- const n2 = a("View"), l2 = a("el-icon"), o2 = a("FullScreen"), i2 = a("Close"), x2 = a("el-form-item"), k2 = a("el-image-viewer"), w2 = a("el-dialog");
192
- return u(), r(s, null, [c(x2, { required: Z.value.required, class: m(v(J) + (G.value ? " " + G.value : "")), "label-width": Z.value.labelWidth, style: f(v(Y)) }, g({ default: h(() => [b("div", { class: m(["richtext-wrapper", { "is-fullscreen": ie.value }]) }, [b("div", { ref_key: "quillEditorRef", ref: le, style: { width: "100%" } }, null, 512), b("div", R, [b("button", { type: "button", class: "toolbar-btn", onClick: Se, title: "预览" }, [c(l2, null, { default: h(() => [c(n2)]), _: 1 })]), b("button", { type: "button", class: "toolbar-btn", onClick: Te, title: ie.value ? "退出全屏" : "全屏编辑" }, [ie.value ? (u(), d(l2, { key: 1 }, { default: h(() => [c(i2)]), _: 1 })) : (u(), d(l2, { key: 0 }, { default: h(() => [c(o2)]), _: 1 }))], 8, _)]), b("div", j, [b("span", V, "字数:" + y(ae.value), 1)]), re.value ? (u(), r("div", $, t2[2] || (t2[2] = [b("div", { class: "loading-spinner" }, null, -1), b("span", null, "图片上传中...", -1)]))) : p("", true)], 2)]), _: 2 }, [Z.value.tittleShow ? { name: "label", fn: h(() => [b("div", { style: f({ ...v(Q), ...v(X) }) }, y(v(A)(Z.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]), he.value ? (u(), d(k2, { key: 0, "hide-on-click-modal": "", onClose: t2[0] || (t2[0] = () => {
191
+ const l2 = a("View"), n2 = a("el-icon"), o2 = a("FullScreen"), i2 = a("Close"), x2 = a("el-form-item"), k2 = a("el-image-viewer"), w2 = a("el-dialog");
192
+ return u(), r(s, null, [c(x2, { required: Z.value.required, class: m(v(J) + (G.value ? " " + G.value : "")), "label-width": Z.value.labelWidth, style: f(v(Y)) }, g({ default: h(() => [b("div", { class: m(["richtext-wrapper", { "is-fullscreen": ie.value }]) }, [b("div", { ref_key: "quillEditorRef", ref: ne, style: { width: "100%" } }, null, 512), b("div", R, [b("button", { type: "button", class: "toolbar-btn", onClick: Se, title: "预览" }, [c(n2, null, { default: h(() => [c(l2)]), _: 1 })]), b("button", { type: "button", class: "toolbar-btn", onClick: Te, title: ie.value ? "退出全屏" : "全屏编辑" }, [ie.value ? (u(), d(n2, { key: 1 }, { default: h(() => [c(i2)]), _: 1 })) : (u(), d(n2, { key: 0 }, { default: h(() => [c(o2)]), _: 1 }))], 8, _)]), b("div", j, [b("span", V, "字数:" + y(ae.value), 1)]), re.value ? (u(), r("div", $, t2[2] || (t2[2] = [b("div", { class: "loading-spinner" }, null, -1), b("span", null, "图片上传中...", -1)]))) : p("", true)], 2)]), _: 2 }, [Z.value.tittleShow ? { name: "label", fn: h(() => [b("div", { style: f({ ...v(Q), ...v(X) }), class: "amb-form-item-label" }, y(v(A)(Z.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]), he.value ? (u(), d(k2, { key: 0, "hide-on-click-modal": "", onClose: t2[0] || (t2[0] = () => {
193
193
  he.value = false;
194
194
  }), "url-list": ge.value }, null, 8, ["url-list"])) : p("", true), c(w2, { modelValue: ue.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e4) => ue.value = e4), title: "内容预览", width: "80%", "close-on-click-modal": true, "append-to-body": true, class: "richtext-preview-dialog" }, { default: h(() => [b("div", { class: "richtext-preview-content ql-editor", innerHTML: se.value }, null, 8, z)]), _: 1 }, 8, ["modelValue"])], 64);
195
195
  };
@@ -1,7 +1,7 @@
1
1
  import e from "./select-runtime.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = t(e, [["__scopeId", "data-v-5193e959"]]);
4
+ const r = t(e, [["__scopeId", "data-v-f0e9b5f0"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -147,7 +147,7 @@ const B = { style: { "padding-left": "5px" } }, F = { style: { width: "100%", di
147
147
  } }), (e3, l2) => {
148
148
  const t2 = r("el-icon"), o2 = r("el-option"), a2 = r("el-select"), i2 = r("el-popover"), n2 = r("el-form-item");
149
149
  return s(), u(n2, { ref_key: "formItemRef", ref: Se, required: !!ie.value.required, class: c(f(te) + (Q.value ? " " + Q.value : "")), "label-width": ie.value.labelWidth, style: p(f(le)) }, v({ default: g(() => [m(i2, { placement: "right", trigger: "hover", width: 50, "popper-class": "custom-sel-copy-tooltip", "popper-options": { modifiers: [{ name: "flip", options: { fallbackPlacements: ["left", "top", "bottom"] } }] } }, { reference: g(() => [d("div", F, [m(a2, { ref_key: "componentRef", ref: ke, style: { flex: "1", "min-width": "0" }, disabled: "disabled" === ie.value.state, size: ie.value.size, clearable: ie.value.clearable, multiple: ie.value.multiple, "collapse-tags": ie.value.collapseTags, "collapse-tags-tooltip": ie.value.collapseTagsTooltip, filterable: ie.value.filterable, "allow-create": ie.value.allowCreate, placeholder: ie.value.placeholder, "remote-show-suffix": ie.value.remoteShowSuffix, remote: ie.value.remote, "remote-method": ie.value.remoteMethod, loading: ve.value, onKeydown: l2[0] || (l2[0] = y(h(() => {
150
- }, ["stop"]), ["space"])), onChange: ie.value.changeMethod, onClear: ie.value.changeMethod, onVisibleChange: je, modelValue: pe.value, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => pe.value = e4) }, { prefix: g(() => [d("span", { class: "mobile-copy-trigger", onClick: h(Re, ["stop"]) }, [m(t2, { style: { cursor: "copy" } }, { default: g(() => [m(f(z))]), _: 1 })])]), default: g(() => [ie.value.multiple && false !== ie.value.showSelectAll ? (s(), u(o2, { key: 0, label: f(J)("superGrid.selectAll"), value: $, disabled: !(ce.value && ce.value.length > 0) }, null, 8, ["label", "disabled"])) : b("", true), (s(true), x(C, null, _(ce.value, (l3) => (s(), u(o2, { key: l3.value, label: l3.label, value: l3.value, class: c({ "option-description-newLine": f(ne) }), onClick: (t3) => f(V)(l3.value, e3.pageContext, e3.configure, "click", { values: pe.value }) }, { default: g(() => [l3._description_ ? (s(), x(C, { key: 0 }, [f(ne) ? (s(), x("div", G, [d("span", null, w(l3.label), 1), d("span", K, w(l3._description_), 1)])) : (s(), x(C, { key: 1 }, [d("span", L, w(l3.label), 1), d("span", U, w(l3._description_), 1)], 64))], 64)) : b("", true)]), _: 2 }, 1032, ["label", "value", "class", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "remote-show-suffix", "remote", "remote-method", "loading", "onChange", "onClear", "modelValue"])])]), default: g(() => [d("span", B, [m(t2, { id: ue, style: { cursor: "copy" } }, { default: g(() => [m(f(z))]), _: 1 })])]), _: 1 })]), _: 2 }, [ie.value.tittleShow ? { name: "label", fn: g(() => [d("div", { ref_key: "titleRef", ref: Ae, style: p({ ...f(oe), ...f(ae) }) }, [ie.value.prefixType ? (s(), u(D, { key: 0, pageContext: e3.pageContext, property: ie.value }, null, 8, ["pageContext", "property"])) : (s(), x(C, { key: 1 }, [S(w(f(I)(ie.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
150
+ }, ["stop"]), ["space"])), onChange: ie.value.changeMethod, onClear: ie.value.changeMethod, onVisibleChange: je, modelValue: pe.value, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => pe.value = e4) }, { prefix: g(() => [d("span", { class: "mobile-copy-trigger", onClick: h(Re, ["stop"]) }, [m(t2, { style: { cursor: "copy" } }, { default: g(() => [m(f(z))]), _: 1 })])]), default: g(() => [ie.value.multiple && false !== ie.value.showSelectAll ? (s(), u(o2, { key: 0, label: f(J)("superGrid.selectAll"), value: $, disabled: !(ce.value && ce.value.length > 0) }, null, 8, ["label", "disabled"])) : b("", true), (s(true), x(C, null, _(ce.value, (l3) => (s(), u(o2, { key: l3.value, label: l3.label, value: l3.value, class: c({ "option-description-newLine": f(ne) }), onClick: (t3) => f(V)(l3.value, e3.pageContext, e3.configure, "click", { values: pe.value }) }, { default: g(() => [l3._description_ ? (s(), x(C, { key: 0 }, [f(ne) ? (s(), x("div", G, [d("span", null, w(l3.label), 1), d("span", K, w(l3._description_), 1)])) : (s(), x(C, { key: 1 }, [d("span", L, w(l3.label), 1), d("span", U, w(l3._description_), 1)], 64))], 64)) : b("", true)]), _: 2 }, 1032, ["label", "value", "class", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "remote-show-suffix", "remote", "remote-method", "loading", "onChange", "onClear", "modelValue"])])]), default: g(() => [d("span", B, [m(t2, { id: ue, style: { cursor: "copy" } }, { default: g(() => [m(f(z))]), _: 1 })])]), _: 1 })]), _: 2 }, [ie.value.tittleShow ? { name: "label", fn: g(() => [d("div", { ref_key: "titleRef", ref: Ae, style: p({ ...f(oe), ...f(ae) }), class: "amb-form-item-label" }, [ie.value.prefixType ? (s(), u(D, { key: 0, pageContext: e3.pageContext, property: ie.value }, null, 8, ["pageContext", "property"])) : (s(), x(C, { key: 1 }, [S(w(f(I)(ie.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
151
151
  };
152
152
  } });
153
153
  export {
@@ -1,9 +1,9 @@
1
- import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as u, resolveComponent as i, createBlock as n, openBlock as v, normalizeStyle as o, normalizeClass as r, unref as c, createSlots as s, withCtx as f, createVNode as p, createElementVNode as m, toDisplayString as d } from "vue";
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as u, resolveComponent as i, createBlock as n, openBlock as v, normalizeStyle as o, normalizeClass as r, unref as c, createSlots as s, withCtx as f, createVNode as m, createElementVNode as p, toDisplayString as d } from "vue";
2
2
  import { getFormModelFields as g } from "../../../../utils/page-init-util.js";
3
3
  import { getVariableValue as V, setVariableValue as y } from "../../../../utils/page-helper-util.js";
4
4
  import { handleAfterInitEvent as x, handleFormEvent as h } from "../../../../utils/events/event-util.js";
5
- import { $t as C } from "../../../../utils/i18n-util.js";
6
- import { addRequiredClassUtil as b } from "../../../../utils/common-util.js";
5
+ import { $t as b } from "../../../../utils/i18n-util.js";
6
+ import { addRequiredClassUtil as C } from "../../../../utils/common-util.js";
7
7
  const w = e({ __name: "switch-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: w2 }) {
8
8
  const R = e2, _ = t(null), j = R.pageContext.entity ? R.pageContext.entity : {};
9
9
  let k = g(R.pageContext, R.configure);
@@ -25,10 +25,10 @@ const w = e({ __name: "switch-runtime", props: { pageContext: {}, configure: {}
25
25
  x(e3, R.pageContext, R.configure, { formItemRef: A.value, componentRef: B.value, titleRef: F.value, value: e3, entity: R.pageContext.entity.data, pageData: R.pageContext.entity.page });
26
26
  });
27
27
  }), w2({ addRequiredClass: function() {
28
- _.value = b();
28
+ _.value = C();
29
29
  } }), (e3, t2) => {
30
30
  const l2 = i("el-switch"), a2 = i("el-form-item");
31
- return v(), n(a2, { ref_key: "formItemRef", ref: A, required: W.value.required, class: r(c(z) + (_.value ? " " + _.value : "")), "label-width": W.value.labelWidth, style: o(c(S)) }, s({ default: f(() => [p(l2, { ref_key: "componentRef", ref: B, disabled: "disabled" === W.value.state, "active-value": W.value.activeValue, "active-text": W.value.activeText, "inactive-value": W.value.inactiveValue, "inactive-text": W.value.inactiveText, width: W.value.offOnWidth, size: W.value.size, style: o(c(O)), modelValue: U.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => U.value = e4), onChange: t2[1] || (t2[1] = (t3) => c(h)(t3, e3.pageContext, e3.configure, "change")) }, null, 8, ["disabled", "active-value", "active-text", "inactive-value", "inactive-text", "width", "size", "style", "modelValue"])]), _: 2 }, [W.value.tittleShow ? { name: "label", fn: f(() => [m("div", { ref_key: "titleRef", ref: F, style: o({ ...c(I), ...c(T) }) }, d(c(C)(W.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
31
+ return v(), n(a2, { ref_key: "formItemRef", ref: A, required: W.value.required, class: r(c(z) + (_.value ? " " + _.value : "")), "label-width": W.value.labelWidth, style: o(c(S)) }, s({ default: f(() => [m(l2, { ref_key: "componentRef", ref: B, disabled: "disabled" === W.value.state, "active-value": W.value.activeValue, "active-text": W.value.activeText, "inactive-value": W.value.inactiveValue, "inactive-text": W.value.inactiveText, width: W.value.offOnWidth, size: W.value.size, style: o(c(O)), modelValue: U.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => U.value = e4), onChange: t2[1] || (t2[1] = (t3) => c(h)(t3, e3.pageContext, e3.configure, "change")) }, null, 8, ["disabled", "active-value", "active-text", "inactive-value", "inactive-text", "width", "size", "style", "modelValue"])]), _: 2 }, [W.value.tittleShow ? { name: "label", fn: f(() => [p("div", { ref_key: "titleRef", ref: F, style: o({ ...c(I), ...c(T) }), class: "amb-form-item-label" }, d(c(b)(W.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
32
32
  };
33
33
  } });
34
34
  export {
@@ -1,7 +1,7 @@
1
1
  import e from "./textarea-runtime.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = t(e, [["__scopeId", "data-v-9a3a96a8"]]);
4
+ const r = t(e, [["__scopeId", "data-v-1e8a62fc"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -1,26 +1,26 @@
1
1
  import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as o, resolveComponent as n, createElementBlock as u, openBlock as r, createVNode as i, normalizeStyle as s, normalizeClass as p, unref as m, createSlots as f, withCtx as g, createElementVNode as c, createBlock as d, Fragment as v, createTextVNode as x, toDisplayString as y } from "vue";
2
2
  import { getFormModelFields as h } from "../../../../utils/page-init-util.js";
3
- import { setVariableValue as C, getVariableValue as w } from "../../../../utils/page-helper-util.js";
4
- import { handleAfterInitEvent as b, handleFormEvent as k } from "../../../../utils/events/event-util.js";
3
+ import { setVariableValue as C, getVariableValue as b } from "../../../../utils/page-helper-util.js";
4
+ import { handleAfterInitEvent as w, handleFormEvent as k } from "../../../../utils/events/event-util.js";
5
5
  import R from "../common/title-suffix-element.vue.js";
6
6
  import { $t as j } from "../../../../utils/i18n-util.js";
7
7
  import { addRequiredClassUtil as _ } from "../../../../utils/common-util.js";
8
8
  const q = e({ __name: "textarea-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: q2 }) {
9
9
  const I = e2, z = t(null), S = I.pageContext.entity ? I.pageContext.entity : {};
10
10
  let V = h(I.pageContext, I.configure);
11
- const B = l({ get: () => w(S, V), set(e3) {
11
+ const B = l({ get: () => b(S, V), set(e3) {
12
12
  C(S, V, e3), null != e3 && "" !== e3 && (z.value = "");
13
13
  } }), D = I.configure.runtime ? I.configure.runtime : {}, E = t(D.props ? D.props : {}), F = D.style, N = D.class, T = D.headerStyle, U = D.titleExceedStyle, W = t(null), A = t(null), G = t(null);
14
14
  return a(() => {
15
15
  o(() => {
16
16
  const e3 = B.value;
17
- b(e3, I.pageContext, I.configure, { formItemRef: W.value, componentRef: A.value, titleRef: G.value, value: e3, entity: I.pageContext.entity.data, pageData: I.pageContext.entity.page });
17
+ w(e3, I.pageContext, I.configure, { formItemRef: W.value, componentRef: A.value, titleRef: G.value, value: e3, entity: I.pageContext.entity.data, pageData: I.pageContext.entity.page });
18
18
  });
19
19
  }), q2({ addRequiredClass: function() {
20
20
  z.value = _();
21
21
  } }), (e3, t2) => {
22
22
  const l2 = n("el-input"), a2 = n("el-form-item");
23
- return r(), u("div", null, [i(a2, { ref_key: "formItemRef", ref: W, required: !!E.value.required, class: p(m(N) + (z.value ? " " + z.value : "")), "label-width": E.value.labelWidth, style: s(m(F)) }, f({ default: g(() => [i(l2, { ref_key: "componentRef", ref: A, disabled: "disabled" === E.value.state, readonly: "readonly" === E.value.state, size: E.value.size, clearable: E.value.clearable, placeholder: E.value.placeholder, modelValue: B.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => B.value = e4), rows: E.value.rows ? E.value.rows : 2, maxlength: E.value.maxlength, minlength: E.value.minlength, "show-word-limit": E.value.showInputNum, type: "textarea", onInput: t2[1] || (t2[1] = (t3) => m(k)(t3, e3.pageContext, e3.configure, "input")), onChange: t2[2] || (t2[2] = (t3) => m(k)(t3, e3.pageContext, e3.configure, "change")), onBlur: t2[3] || (t2[3] = (t3) => m(k)(t3, e3.pageContext, e3.configure, "blur")), onFocus: t2[4] || (t2[4] = (t3) => m(k)(t3, e3.pageContext, e3.configure, "focus")), onClick: t2[5] || (t2[5] = (t3) => m(k)(t3, e3.pageContext, e3.configure, "click")) }, null, 8, ["disabled", "readonly", "size", "clearable", "placeholder", "modelValue", "rows", "maxlength", "minlength", "show-word-limit"])]), _: 2 }, [E.value.tittleShow ? { name: "label", fn: g(() => [c("div", { ref_key: "titleRef", ref: G, style: s({ ...m(T), ...m(U) }) }, [E.value.prefixType ? (r(), d(R, { key: 0, pageContext: e3.pageContext, property: E.value }, null, 8, ["pageContext", "property"])) : (r(), u(v, { key: 1 }, [x(y(m(j)(E.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])]);
23
+ return r(), u("div", null, [i(a2, { ref_key: "formItemRef", ref: W, required: !!E.value.required, class: p(m(N) + (z.value ? " " + z.value : "")), "label-width": E.value.labelWidth, style: s(m(F)) }, f({ default: g(() => [i(l2, { ref_key: "componentRef", ref: A, disabled: "disabled" === E.value.state, readonly: "readonly" === E.value.state, size: E.value.size, clearable: E.value.clearable, placeholder: E.value.placeholder, modelValue: B.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => B.value = e4), rows: E.value.rows ? E.value.rows : 2, maxlength: E.value.maxlength, minlength: E.value.minlength, "show-word-limit": E.value.showInputNum, type: "textarea", onInput: t2[1] || (t2[1] = (t3) => m(k)(t3, e3.pageContext, e3.configure, "input")), onChange: t2[2] || (t2[2] = (t3) => m(k)(t3, e3.pageContext, e3.configure, "change")), onBlur: t2[3] || (t2[3] = (t3) => m(k)(t3, e3.pageContext, e3.configure, "blur")), onFocus: t2[4] || (t2[4] = (t3) => m(k)(t3, e3.pageContext, e3.configure, "focus")), onClick: t2[5] || (t2[5] = (t3) => m(k)(t3, e3.pageContext, e3.configure, "click")) }, null, 8, ["disabled", "readonly", "size", "clearable", "placeholder", "modelValue", "rows", "maxlength", "minlength", "show-word-limit"])]), _: 2 }, [E.value.tittleShow ? { name: "label", fn: g(() => [c("div", { ref_key: "titleRef", ref: G, style: s({ ...m(T), ...m(U) }), class: "amb-form-item-label" }, [E.value.prefixType ? (r(), d(R, { key: 0, pageContext: e3.pageContext, property: E.value }, null, 8, ["pageContext", "property"])) : (r(), u(v, { key: 1 }, [x(y(m(j)(E.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])]);
24
24
  };
25
25
  } });
26
26
  export {
@@ -1,9 +1,9 @@
1
- import { defineComponent as e, ref as o, computed as t, watch as n, markRaw as i, onMounted as s, onUnmounted as r, withDirectives as u, createCommentVNode as l, unref as a, createBlock as p, openBlock as g, resolveDynamicComponent as c, normalizeClass as f, normalizeStyle as d, vShow as m, nextTick as C } from "vue";
1
+ import { defineComponent as e, ref as o, computed as t, watch as n, markRaw as i, onMounted as r, onUnmounted as s, withDirectives as u, createCommentVNode as l, unref as a, createBlock as p, openBlock as g, resolveDynamicComponent as c, normalizeClass as f, normalizeStyle as d, vShow as m, nextTick as C } from "vue";
2
2
  import v from "./error-render.vue.js";
3
3
  import { getRuntimeComponentByName as h } from "../../utils/assemblys-config.js";
4
- import { PageDimensions as x } from "../../utils/interfaces/page-design-types.js";
5
- import { addComponentRef as b, addComponentRefByCode as y } from "../../utils/global-refs.js";
6
- import { getModelFields as w, getPermissionCodes as j, packageFormRules as N, controlObjectRenderState as M } from "../../utils/page-init-util.js";
4
+ import { PageDimensions as b } from "../../utils/interfaces/page-design-types.js";
5
+ import { addComponentRef as x, addComponentRefByCode as y } from "../../utils/global-refs.js";
6
+ import { getPermissionCodes as w, packageFormRules as j, getModelFields as N, controlObjectRenderState as M } from "../../utils/page-init-util.js";
7
7
  import { caculateShowCondition as V, getFormPropName as _, getSizeConfig as A } from "../../utils/page-helper-util.js";
8
8
  import { isWorkflowPage as S, getPropClassName as T, isNumber as $ } from "../../utils/common-util.js";
9
9
  import { isShowMobileEvent as O, isShowComponent as P } from "../../utils/events/event-util.js";
@@ -14,19 +14,19 @@ import { isMobileBrowser as F } from "agilebuilder-ui/src/utils/common-util";
14
14
  const k = e({ __name: "object-render", props: { pageContext: {}, configure: {} }, setup(e2) {
15
15
  var _a, _b, _c;
16
16
  const k2 = e2;
17
- null == k2.configure.style && (k2.configure.style = {}), k2.pageContext.hiddenNotValidatorCodes || (k2.pageContext.hiddenNotValidatorCodes = /* @__PURE__ */ new Set());
18
- let D = w(k2.configure);
19
- const E = D && D.length > 0 ? D[1] : null, J = j(k2.configure, k2.pageContext);
20
- k2.configure && k2.configure.props && k2.configure.props.base && (k2.configure.props.base.functionCode = J);
21
- const L = R(J || "true", k2.pageContext.systemCode), W = H(k2.pageContext, k2.configure), q = L && W;
22
- k2.configure && k2.configure.props && k2.configure.props.base && (k2.configure.props.base.isHasFieldAuthPermission = q), N(k2.pageContext, k2.configure, q);
23
- let z = o(null), G = o(true), I = o("");
17
+ null == k2.configure.style && (k2.configure.style = {});
18
+ let D = null;
19
+ const E = w(k2.configure, k2.pageContext);
20
+ k2.configure && k2.configure.props && k2.configure.props.base && (k2.configure.props.base.functionCode = E);
21
+ const J = R(E || "true", k2.pageContext.systemCode), L = H(k2.pageContext, k2.configure), W = J && L;
22
+ k2.configure && k2.configure.props && k2.configure.props.base && (k2.configure.props.base.isHasFieldAuthPermission = W), j(k2.pageContext, k2.configure, W);
23
+ let q = o(null), z = o(true), G = o("");
24
24
  if (k2.configure && k2.configure.props) {
25
25
  let e3 = [];
26
- ((_a = k2.configure.props.base) == null ? void 0 : _a.showConditions) && (e3 = "string" == typeof k2.configure.props.base.showConditions ? JSON.parse(k2.configure.props.base.showConditions) : k2.configure.props.base.showConditions), G = t(() => {
26
+ ((_a = k2.configure.props.base) == null ? void 0 : _a.showConditions) && (e3 = "string" == typeof k2.configure.props.base.showConditions ? JSON.parse(k2.configure.props.base.showConditions) : k2.configure.props.base.showConditions), z = t(() => {
27
27
  var _a2;
28
28
  let o2 = true;
29
- if (q) if (z.value && null !== z.value) o2 = "show" === z.value;
29
+ if (W) if (q.value && null !== q.value) o2 = "show" === q.value;
30
30
  else if (O(k2.pageContext, k2.configure)) if (e3 && e3.length > 0) o2 = V(k2.pageContext, e3);
31
31
  else {
32
32
  const e4 = (_a2 = k2.configure.props.base) == null ? void 0 : _a2.state;
@@ -36,9 +36,17 @@ const k = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
36
36
  else o2 = false;
37
37
  return o2;
38
38
  });
39
- if (k2.configure._dynamicShowFlag = G, E && ((_b = k2.configure.props) == null ? void 0 : _b.hiddenNotValidator) && n(G, (e4) => {
40
- e4 ? k2.pageContext.hiddenNotValidatorCodes.delete(E) : k2.pageContext.hiddenNotValidatorCodes.add(E);
41
- }, { immediate: true }), (_c = k2.configure.props.base) == null ? void 0 : _c.editConditions) {
39
+ if (k2.configure._dynamicShowFlag = z, (_b = k2.configure.props) == null ? void 0 : _b.hiddenNotValidator) {
40
+ if (k2.pageContext.hiddenNotValidatorCodes || (k2.pageContext.hiddenNotValidatorCodes = /* @__PURE__ */ new Set()), "table" === k2.configure.name) D = k2.configure.code ? k2.configure.code : k2.configure.uuid;
41
+ else {
42
+ let e4 = N(k2.configure);
43
+ D = e4 && e4.length > 0 ? e4[1] : null;
44
+ }
45
+ n(z, (e4) => {
46
+ e4 ? k2.pageContext.hiddenNotValidatorCodes.delete(D) : k2.pageContext.hiddenNotValidatorCodes.add(D);
47
+ }, { immediate: true });
48
+ }
49
+ if ((_c = k2.configure.props.base) == null ? void 0 : _c.editConditions) {
42
50
  const e4 = k2.configure.props.base.editConditions;
43
51
  if (e4.length > 0) {
44
52
  const o2 = k2.configure.runtime ? k2.configure.runtime : {}, n2 = o2.props ? o2.props : {};
@@ -48,46 +56,46 @@ const k = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
48
56
  let o3 = e5.prop;
49
57
  o3 = _(o3);
50
58
  const t2 = k2.pageContext.fieldPermissionMap.get(o3);
51
- t2 && false === t2.canEdit && (I.value = "disabled");
59
+ t2 && false === t2.canEdit && (G.value = "disabled");
52
60
  }
53
61
  }
54
62
  n2.state = t({ get() {
55
- if ("disabled" === I.value) return I.value;
63
+ if ("disabled" === G.value) return G.value;
56
64
  return V(k2.pageContext, e4) ? "" : "disabled";
57
65
  }, set() {
58
66
  } });
59
67
  }
60
68
  }
61
69
  }
62
- const K = o({});
63
- K.value = i(h(k2.configure.name));
64
- const Q = o(true);
65
- null == K.value && (K.value = v, Q.value = false);
66
- const U = o(null), X = o({}), Y = o(""), Z = T(k2.configure);
67
- Z && (Y.value = Z);
68
- const ee = k2.configure.runtime && k2.configure.runtime.common ? k2.configure.runtime.common : {};
69
- if (ee.class && (Y.value += " " + ee.class), ee.style) {
70
- Object.assign(X.value, ee.style);
71
- const e3 = k2.pageContext && k2.pageContext.dimensions ? k2.pageContext.dimensions : x.PC, o2 = ee.style[e3 + "_style"];
72
- o2 && Object.assign(X.value, o2);
73
- const t2 = ee.style[e3 + "_class"];
74
- t2 && (Y.value += " " + t2);
70
+ const I = o({});
71
+ I.value = i(h(k2.configure.name));
72
+ const K = o(true);
73
+ null == I.value && (I.value = v, K.value = false);
74
+ const Q = o(null), U = o({}), X = o(""), Y = T(k2.configure);
75
+ Y && (X.value = Y);
76
+ const Z = k2.configure.runtime && k2.configure.runtime.common ? k2.configure.runtime.common : {};
77
+ if (Z.class && (X.value += " " + Z.class), Z.style) {
78
+ Object.assign(U.value, Z.style);
79
+ const e3 = k2.pageContext && k2.pageContext.dimensions ? k2.pageContext.dimensions : b.PC, o2 = Z.style[e3 + "_style"];
80
+ o2 && Object.assign(U.value, o2);
81
+ const t2 = Z.style[e3 + "_class"];
82
+ t2 && (X.value += " " + t2);
75
83
  }
76
- const oe = B();
77
- function te(e3) {
78
- if (U.value = e3, e3 && !e3.show && (e3.show = function() {
79
- z.value = "show";
84
+ const ee = B();
85
+ function oe(e3) {
86
+ if (Q.value = e3, e3 && !e3.show && (e3.show = function() {
87
+ q.value = "show";
80
88
  }), e3 && !e3.hide && (e3.hide = function() {
81
- z.value = "hide";
89
+ q.value = "hide";
82
90
  }), e3 && !e3.getConfigure && (e3.getConfigure = function() {
83
91
  return k2.configure;
84
- }), k2.configure.uuid && b(k2.pageContext, k2.configure.uuid, U), k2.configure.code) y(k2.pageContext, k2.configure.code, U);
85
- else if ("table" === k2.configure.name) y(k2.pageContext, k2.configure.uuid, U);
92
+ }), k2.configure.uuid && x(k2.pageContext, k2.configure.uuid, Q), k2.configure.code) y(k2.pageContext, k2.configure.code, Q);
93
+ else if ("table" === k2.configure.name) y(k2.pageContext, k2.configure.uuid, Q);
86
94
  else if (k2.configure.props && k2.configure.props.base) {
87
95
  const e4 = k2.configure.props.base;
88
96
  if (e4.prop) {
89
97
  let o3 = e4.prop;
90
- o3.startsWith("${") && (o3 = o3.substring(2, o3.length - 1)), o3.includes(".") && (o3 = o3.substring(o3.indexOf(".") + 1)), y(k2.pageContext, o3, U);
98
+ o3.startsWith("${") && (o3 = o3.substring(2, o3.length - 1)), o3.includes(".") && (o3 = o3.substring(o3.indexOf(".") + 1)), y(k2.pageContext, o3, Q);
91
99
  }
92
100
  }
93
101
  const o2 = k2.configure.props ? k2.configure.props.base : null;
@@ -96,28 +104,28 @@ const k = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
96
104
  e4 = _(e4), M(k2.pageContext, e4), k2.pageContext.propTitleMap = k2.pageContext.propTitleMap || {}, k2.pageContext.propTitleMap[e4] = o2.title ? o2.title : e4;
97
105
  }
98
106
  !function() {
99
- if (!U.value) return;
107
+ if (!Q.value) return;
100
108
  const e4 = A(k2.pageContext, k2.configure);
101
109
  "table" !== k2.configure.name && e4 && e4.isCalcHeight && C(() => {
102
110
  var _a2;
103
- if (!(((_a2 = U.value) == null ? void 0 : _a2.$el) || U.value)) return;
111
+ if (!(((_a2 = Q.value) == null ? void 0 : _a2.$el) || Q.value)) return;
104
112
  const e5 = (o3 = 0) => {
105
- if (!U.value) return;
106
- let t2 = U.value.$el || U.value;
113
+ if (!Q.value) return;
114
+ let t2 = Q.value.$el || Q.value;
107
115
  if (!t2) return;
108
116
  const n2 = t2.getBoundingClientRect();
109
- null !== ie && Math.abs(n2.y - ie) < 1 ? ne() : o3 < 10 ? (ie = n2.y, se = setTimeout(() => {
117
+ null !== ne && Math.abs(n2.y - ne) < 1 ? te() : o3 < 10 ? (ne = n2.y, ie = setTimeout(() => {
110
118
  e5(o3 + 1);
111
- }, 50)) : ne();
119
+ }, 50)) : te();
112
120
  };
113
- ie = null, e5();
121
+ ne = null, e5();
114
122
  });
115
123
  }();
116
124
  }
117
- function ne() {
118
- if (!U.value) return;
119
- let e3 = U.value.$el;
120
- e3 || (e3 = U.value);
125
+ function te() {
126
+ if (!Q.value) return;
127
+ let e3 = Q.value.$el;
128
+ e3 || (e3 = Q.value);
121
129
  const o2 = e3.parentNode;
122
130
  if (!e3 || !o2) return;
123
131
  const t2 = e3.getBoundingClientRect();
@@ -125,30 +133,30 @@ const k = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
125
133
  if ("tabs" === k2.configure.name && k2.pageContext.isDialog && !F()) {
126
134
  const o3 = e3.closest(".runtime-page-container");
127
135
  if (o3) {
128
- const e4 = o3.getBoundingClientRect(), s2 = t2.y - e4.y;
129
- n2 = e4.height - s2 - 30, i2 = n2 + "px";
136
+ const e4 = o3.getBoundingClientRect(), r2 = t2.y - e4.y;
137
+ n2 = e4.height - r2 - 30, i2 = n2 + "px";
130
138
  }
131
139
  } else $(n2) && (i2 = n2 + "px");
132
- X.value.height = i2, X.value["overflow-y"] = "auto", X.value["overflow-x"] = "hidden", k2.configure.sytle || (k2.configure.sytle = {}), k2.configure.sytle._heightStyle = i2;
140
+ U.value.height = i2, U.value["overflow-y"] = "auto", U.value["overflow-x"] = "hidden", k2.configure.sytle || (k2.configure.sytle = {}), k2.configure.sytle._heightStyle = i2;
133
141
  }
134
- s(() => {
142
+ r(() => {
135
143
  var _a2, _b2, _c2;
136
- re(), oe.countComponentsLoadedNumber(), ((_c2 = (_b2 = (_a2 = k2.configure.props) == null ? void 0 : _a2.base) == null ? void 0 : _b2.autoAnchorConditions) == null ? void 0 : _c2.length) > 0 && oe.setAutoAnchorComponentConditions(k2.configure.uuid, k2.configure.props.base.autoAnchorConditions);
137
- }), r(() => {
144
+ re(), ee.countComponentsLoadedNumber(), ((_c2 = (_b2 = (_a2 = k2.configure.props) == null ? void 0 : _a2.base) == null ? void 0 : _b2.autoAnchorConditions) == null ? void 0 : _c2.length) > 0 && ee.setAutoAnchorComponentConditions(k2.configure.uuid, k2.configure.props.base.autoAnchorConditions);
145
+ }), s(() => {
138
146
  var _a2;
139
- se && clearTimeout(se), E && ((_a2 = k2.pageContext.hiddenNotValidatorCodes) == null ? void 0 : _a2.delete(E));
147
+ ie && clearTimeout(ie), D && ((_a2 = k2.pageContext.hiddenNotValidatorCodes) == null ? void 0 : _a2.delete(D));
140
148
  });
141
- let ie = null, se = null;
149
+ let ne = null, ie = null;
142
150
  const re = () => {
143
- if (!U.value) return;
144
- let e3 = U.value.$el;
145
- e3 || (e3 = U.value);
151
+ if (!Q.value) return;
152
+ let e3 = Q.value.$el;
153
+ e3 || (e3 = Q.value);
146
154
  const o2 = e3.parentNode;
147
155
  if (!e3 || !o2) return;
148
156
  const t2 = k2.configure.props ? k2.configure.props : {}, n2 = k2.configure.style ? k2.configure.style : {}, i2 = t2.position;
149
157
  "top" == i2 || "bottom" == i2 || n2.position;
150
158
  };
151
- return (e3, o2) => a(q) && a(P)(e3.configure) ? u((g(), p(c(K.value), { key: 0, ref: te, style: d(X.value), class: f(Y.value), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[m, a(G)]]) : l("", true);
159
+ return (e3, o2) => a(W) && a(P)(e3.configure) ? u((g(), p(c(I.value), { key: 0, ref: oe, style: d(U.value), class: f(X.value), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[m, a(z)]]) : l("", true);
152
160
  } });
153
161
  export {
154
162
  k as default