hlrender 0.0.90 → 0.0.92

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 (52) hide show
  1. package/{affix-widget-e827514d.js → affix-widget-ac978de1.js} +2 -2
  2. package/{alert-widget-0f1ee9e2.js → alert-widget-0a291b69.js} +2 -2
  3. package/{auto-complete-widget-824c99fc.js → auto-complete-widget-7d0681b1.js} +1 -1
  4. package/{avatar-widget-e74e617e.js → avatar-widget-69ab420c.js} +2 -2
  5. package/{backtop-widget-7b709e51.js → backtop-widget-20a14a39.js} +2 -2
  6. package/{badge-widget-0dd553b2.js → badge-widget-e420cd77.js} +2 -2
  7. package/{button-widget-fac68f85.js → button-widget-01cd2268.js} +2 -2
  8. package/{card-widget-30706434.js → card-widget-cc074652.js} +1 -1
  9. package/{cont-cell-widget-e3e723d0.js → cont-cell-widget-6f145c41.js} +1 -1
  10. 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-54734d72.js} +1 -1
  11. package/{cont-widget-833a2cc8.js → cont-widget-0f8870c8.js} +1 -1
  12. package/{default-slot-widget-b67fee9a.js → default-slot-widget-b63daf70.js} +2 -2
  13. 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-b168fef4.js} +1 -1
  14. package/{descriptions-widget-3a341f1c.js → descriptions-widget-47a85fba.js} +1 -1
  15. package/{dialog-widget-afeea4fe.js → dialog-widget-a80950f6.js} +2 -2
  16. package/{divider-widget-b8ac07a9.js → divider-widget-b145a71d.js} +2 -2
  17. package/{drag-wrapper-e9b9ecc5.js → drag-wrapper-252f2c09.js} +1 -1
  18. package/{drawer-widget-28eb655b.js → drawer-widget-3d5aa4e7.js} +2 -2
  19. package/{dropdown-widget-876118d9.js → dropdown-widget-1f4112ea.js} +1 -1
  20. package/{empty-widget-035c7ae7.js → empty-widget-362c5c77.js} +2 -2
  21. package/{feedback-widget-e6515822.js → feedback-widget-7d531f18.js} +2 -2
  22. 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-0de83033.js} +1 -1
  23. package/{form-widget-a64ff3e5.js → form-widget-fb3aaf79.js} +1 -1
  24. package/{grid-col-widget-d6b07995.js → grid-col-widget-9382ea55.js} +1 -1
  25. 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-7ea1181d.js} +1 -1
  26. package/{grid-widget-99c58fcc.js → grid-widget-7ca4dd09.js} +1 -1
  27. package/iframe-widget-13c4e442.js +91 -0
  28. package/{input-widget-7468b85a.js → input-widget-c775d6a9.js} +1 -1
  29. package/{link-widget-0dfd9bb0.js → link-widget-3fc48a61.js} +2 -2
  30. package/{ltable-col-widget-8563fd25.js → ltable-col-widget-80eb4a4a.js} +1 -1
  31. 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-a0fe11d4.js} +1 -1
  32. package/{ltable-widget-41dd7e16.js → ltable-widget-b73ed83c.js} +1 -1
  33. package/{multirow-widget-826ff2ea.js → multirow-widget-f9ff9e2f.js} +1 -1
  34. package/package.json +1 -1
  35. package/{progress-widget-db964bc8.js → progress-widget-28248d4e.js} +1 -1
  36. package/{range-widget-60927044.js → range-widget-3941aaca.js} +1 -1
  37. package/render.es.js +15 -15
  38. package/render.style.css +1 -1
  39. package/render.umd.js +137 -137
  40. package/{result-widget-5169fc9c.js → result-widget-211feca8.js} +1 -1
  41. package/{select-widget-48207888.js → select-widget-c6a0af39.js} +71 -72
  42. package/{tab-pane-widget-125d6044.js → tab-pane-widget-0c426991.js} +1 -1
  43. 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-30a18710.js} +1 -1
  44. package/{table-col-widget-ee2e176e.js → table-col-widget-d0a8233b.js} +2 -2
  45. 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-f4913bd1.js} +1 -1
  46. package/{table-widget-f2b94cda.js → table-widget-22774537.js} +2 -2
  47. package/{tabs-widget-774c5a0b.js → tabs-widget-a1ffc876.js} +1 -1
  48. package/{tag-widget-e1b1f50a.js → tag-widget-433c4e9b.js} +2 -2
  49. package/{text-widget-a7ba3961.js → text-widget-2433f3ac.js} +2 -2
  50. package/{tmpl-widget-04694761.js → tmpl-widget-dae98631.js} +14 -14
  51. package/{wrapper-widget-e13eb50a.js → wrapper-widget-0076c77d.js} +1 -1
  52. 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-e9b9ecc5.js";
7
+ import { D as P } from "./drag-wrapper-252f2c09.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,11 +1,11 @@
1
- import { defineComponent as se, ref as w, computed as ae, shallowRef as re, watch as Fe, resolveComponent as D, openBlock as t, createBlock as i, mergeProps as O, unref as e, withCtx as y, isRef as te, toHandlers as ue, createElementBlock as g, createVNode as Ie, createTextVNode as we, toDisplayString as Ae, createCommentVNode as V, Fragment as _, renderList as S, resolveDynamicComponent as j } from "vue";
1
+ import { defineComponent as se, ref as I, computed as ae, shallowRef as re, watch as je, resolveComponent as D, openBlock as t, createBlock as i, mergeProps as V, unref as e, withCtx as y, isRef as te, toHandlers as ue, createElementBlock as g, createVNode as we, createTextVNode as Fe, toDisplayString as Ie, createCommentVNode as O, Fragment as _, renderList as S, resolveDynamicComponent as j } from "vue";
2
2
  import { a as H } from "./enum-type-493ca5fb.js";
3
- import { d as ze } from "./baseImp-5e9f6c21.js";
4
- import { t as F, c as ne } from "./uuid-42b6e595.js";
5
- import { b as Ne } from "./share-field-4ad79e1a.js";
6
- import { I as Se } from "./field-base-5547436d.js";
7
- import Be from "./form-item-wrapper-4d5d5aea.js";
8
- import { g as Ee, w as Pe } from "./expression-6a929144.js";
3
+ import { d as Ae } from "./baseImp-5e9f6c21.js";
4
+ import { t as w, c as ne } from "./uuid-42b6e595.js";
5
+ import { b as ze } from "./share-field-4ad79e1a.js";
6
+ import { I as Ne } from "./field-base-5547436d.js";
7
+ import Se from "./form-item-wrapper-4d5d5aea.js";
8
+ import { g as Be, w as Ee } from "./expression-6a929144.js";
9
9
  import { a as oe } from "./slot-7ebda734.js";
10
10
  import "./enum-type-f8c7654b.js";
11
11
  import "./icon-e9532b43.js";
@@ -22,13 +22,13 @@ import "./fieldobj-658deb6a.js";
22
22
  import "./label-wrapper.vue_vue_type_style_index_0_lang-cbeb0230.js";
23
23
  import "./source-map-b04aec4a.js";
24
24
  import "./esprima-e8d15055.js";
25
- const De = {
25
+ const Pe = {
26
26
  key: 0,
27
27
  class: "el-select-dropdown__item"
28
- }, Ue = se({ componentName: Pe.FieldWidget }), vl = /* @__PURE__ */ se({
29
- ...Ue,
28
+ }, De = se({ componentName: Ee.FieldWidget }), dl = /* @__PURE__ */ se({
29
+ ...De,
30
30
  __name: "select-widget",
31
- props: { ...Se },
31
+ props: { ...Ne },
32
32
  setup(de, { expose: ve }) {
33
33
  const ie = de, {
34
34
  fieldEditor: q,
@@ -42,62 +42,61 @@ const De = {
42
42
  slots: fe,
43
43
  exposed: ye,
44
44
  fieldObj: me,
45
- setOptionItems: pe,
46
- getFieldOptions: he,
45
+ getFieldOptions: pe,
47
46
  getWidgetOption: Y,
48
- getCheckedOptionItems: ke,
49
- watchOption: ge
50
- } = Ne(ie), I = w(), A = w(), _e = w(!1), z = (l) => {
47
+ getCheckedOptionItems: he,
48
+ watchOption: ke
49
+ } = ze(ie), F = I(), A = I(), ge = I(!1), z = (l) => {
51
50
  var a, r;
52
51
  return (a = u.value) != null && a.allItemAsValue ? l : l == null ? void 0 : l[(r = u.value) == null ? void 0 : r.valueKey];
53
52
  };
54
- w();
53
+ I();
55
54
  const U = ae({
56
- get: () => F(h.value, !1),
55
+ get: () => w(h.value, !1),
57
56
  set: (l) => {
58
57
  h.value = l;
59
58
  }
60
59
  }), W = ae({
61
- get: () => Q.value == null ? [] : F(R(Q.value), !0),
60
+ get: () => Q.value == null ? [] : w(R(Q.value), !0),
62
61
  set: (l) => {
63
62
  h.value = R(l);
64
63
  }
65
- }), E = w(!1);
64
+ }), E = I(!1);
66
65
  let m = re(), B = re();
67
- Fe(fe, (l) => {
66
+ je(fe, (l) => {
68
67
  var a, r;
69
68
  m.value = (a = oe(l, "optionDefault")) == null ? void 0 : a.default, B.value = (r = oe(l, "prefix")) == null ? void 0 : r.default;
70
69
  }, { immediate: !0 });
71
70
  var $ = Y("filterMethod");
72
- const be = (l, a) => {
71
+ const _e = (l, a) => {
73
72
  var o;
74
73
  if ($) {
75
74
  var r = (o = A.value) == null ? void 0 : o.filter((n) => {
76
75
  var k, p;
77
- var f = ze($, { keyword: l, option: { ...n, label: n == null ? void 0 : n[(k = u.value) == null ? void 0 : k.labelKey], value: n == null ? void 0 : n[(p = u.value) == null ? void 0 : p.valueKey] } });
76
+ var f = Ae($, { keyword: l, option: { ...n, label: n == null ? void 0 : n[(k = u.value) == null ? void 0 : k.labelKey], value: n == null ? void 0 : n[(p = u.value) == null ? void 0 : p.valueKey] } });
78
77
  return f;
79
78
  });
80
79
  a && a(r);
81
80
  }
82
81
  };
83
82
  $ && Object.assign(c.value, { filterMethod: (l) => {
84
- G(l, be);
83
+ G(l, _e);
85
84
  } });
86
85
  var Z = Y("remoteMethod");
87
86
  const G = (l, a) => {
88
- a && (_e.value = !0, l ? (E.value = !0, a(l, (r) => {
89
- I.value = r, E.value = !1;
90
- })) : I.value = A.value);
87
+ a && (ge.value = !0, l ? (E.value = !0, a(l, (r) => {
88
+ F.value = r, E.value = !1;
89
+ })) : F.value = A.value);
91
90
  };
92
91
  Z && Object.assign(c.value, { remoteMethod: (l) => {
93
92
  G(l, Z);
94
93
  } });
95
94
  const x = () => {
96
95
  var a;
97
- var l = he("valueKey");
96
+ var l = pe("valueKey");
98
97
  return l ? (a = A == null ? void 0 : A.value) == null ? void 0 : a.map((r) => r == null ? void 0 : r[l]) : [];
99
98
  };
100
- var Ke = () => {
99
+ var be = () => {
101
100
  if (!h.value)
102
101
  return !1;
103
102
  if (!Array.isArray(h.value))
@@ -108,20 +107,20 @@ const De = {
108
107
  return ((r = h.value) == null ? void 0 : r.indexOf(a)) === -1;
109
108
  }));
110
109
  };
111
- const ee = w(Ke()), Oe = (l) => {
110
+ const ee = I(be()), Ke = (l) => {
112
111
  l ? h.value = x() : h.value = [];
113
- }, L = w(), R = (l) => {
112
+ }, L = I(), R = (l) => {
114
113
  var s, C, M;
115
- const a = F(l, !0);
114
+ const a = w(l, !0);
116
115
  if (!((s = c == null ? void 0 : c.value) != null && s.multiple) || !((C = u == null ? void 0 : u.value) != null && C.selectOnlyOneGroup) || (a == null ? void 0 : a.length) <= 0)
117
- return L.value = a, F(a, (M = c == null ? void 0 : c.value) == null ? void 0 : M.multiple);
118
- for (var r = "", o = [], n = ne(F(I.value, !0)), f = a.length - 1; f >= 0; f--) {
116
+ return L.value = a, w(a, (M = c == null ? void 0 : c.value) == null ? void 0 : M.multiple);
117
+ for (var r = "", o = [], n = ne(w(F.value, !0)), f = a.length - 1; f >= 0; f--) {
119
118
  const d = a[f];
120
119
  var k = n == null ? void 0 : n.some((v) => d === (v == null ? void 0 : v.value));
121
120
  k && o.push(d);
122
121
  var p = n == null ? void 0 : n.find((v) => {
123
122
  var b;
124
- return (b = ne(F(v == null ? void 0 : v.children, !0))) == null ? void 0 : b.some((N) => d === (N == null ? void 0 : N.value));
123
+ return (b = ne(w(v == null ? void 0 : v.children, !0))) == null ? void 0 : b.some((N) => d === (N == null ? void 0 : N.value));
125
124
  });
126
125
  (p && (p == null ? void 0 : p.value) === r || !r) && (o.push(d), r || (r = p == null ? void 0 : p.value));
127
126
  }
@@ -129,49 +128,49 @@ const De = {
129
128
  }, Ve = (l) => R(l), P = (l) => {
130
129
  var a;
131
130
  if (h.value !== void 0)
132
- return (a = c.value) != null && a.remote ? L.value : ke(l);
133
- }, Ce = (l) => {
131
+ return (a = c.value) != null && a.remote ? L.value : he(l);
132
+ }, Oe = (l) => {
134
133
  var a, r;
135
134
  return (r = (a = P(l)) == null ? void 0 : a.map((o) => {
136
135
  var n;
137
136
  return o == null ? void 0 : o[(n = u.value) == null ? void 0 : n.labelKey];
138
137
  })) == null ? void 0 : r.join(",");
139
- }, Me = (l) => {
138
+ }, Ce = (l) => {
140
139
  var r, o;
141
140
  var a = (r = P(l)) == null ? void 0 : r.map((n) => {
142
141
  var f;
143
142
  return n == null ? void 0 : n[(f = u.value) == null ? void 0 : f.labelKey];
144
143
  });
145
- return F(a, (o = c.value) == null ? void 0 : o.multiple);
146
- }, je = (l) => {
144
+ return w(a, (o = c.value) == null ? void 0 : o.multiple);
145
+ }, Me = (l) => {
147
146
  var r, o;
148
147
  var a = (r = P(l)) == null ? void 0 : r.map((n) => {
149
148
  var f;
150
149
  return n == null ? void 0 : n[(f = u.value) == null ? void 0 : f.valueKey];
151
150
  });
152
- return F(a, (o = c.value) == null ? void 0 : o.multiple);
151
+ return w(a, (o = c.value) == null ? void 0 : o.multiple);
153
152
  }, le = (l) => {
154
- A.value = l, I.value = l, pe(l);
153
+ A.value = l, F.value = l;
155
154
  };
156
- return ge(!0, Ee.optionItems, void 0, (l) => {
155
+ return ke(!0, Be.optionItems, void 0, (l) => {
157
156
  le(l);
158
157
  }), ve({
159
158
  ...ye,
160
159
  handleBeforeChange: Ve,
161
160
  loadOptionItems: le,
162
161
  getCheckedItems: P,
163
- getCheckedLabels: Me,
164
- getCheckedValues: je,
165
- getCheckedText: Ce
162
+ getCheckedLabels: Ce,
163
+ getCheckedValues: Me,
164
+ getCheckedText: Oe
166
165
  }), (l, a) => {
167
166
  const r = D("el-checkbox"), o = D("el-option"), n = D("el-option-group"), f = D("el-select");
168
- return t(), i(Be, O(l.$props, {
167
+ return t(), i(Se, V(l.$props, {
169
168
  propOptions: { fieldObj: e(me), rules: e(ce) }
170
169
  }), {
171
170
  default: y(({ data: k }) => {
172
171
  var p;
173
172
  return [
174
- (p = e(c)) != null && p.multiple ? (t(), i(f, O({
173
+ (p = e(c)) != null && p.multiple ? (t(), i(f, V({
175
174
  ref_key: "fieldEditor",
176
175
  ref: q,
177
176
  modelValue: e(W),
@@ -188,20 +187,20 @@ const De = {
188
187
  default: y(() => {
189
188
  var s, C, M;
190
189
  return [
191
- e(c).multiple && !e(u).selectOnlyOneGroup ? (t(), g("li", De, [
192
- Ie(r, {
190
+ e(c).multiple && !e(u).selectOnlyOneGroup ? (t(), g("li", Pe, [
191
+ we(r, {
193
192
  modelValue: ee.value,
194
193
  "onUpdate:modelValue": a[0] || (a[0] = (d) => ee.value = d),
195
- indeterminate: ((s = e(h)) == null ? void 0 : s.length) < (((C = I.value) == null ? void 0 : C.length) || 0) && ((M = e(h)) == null ? void 0 : M.length) !== 0,
196
- onChange: Oe
194
+ indeterminate: ((s = e(h)) == null ? void 0 : s.length) < (((C = F.value) == null ? void 0 : C.length) || 0) && ((M = e(h)) == null ? void 0 : M.length) !== 0,
195
+ onChange: Ke
197
196
  }, {
198
197
  default: y(() => [
199
- we(Ae(e(H).i18nt("designer.hint.checkAll")), 1)
198
+ Fe(Ie(e(H).i18nt("designer.hint.checkAll")), 1)
200
199
  ]),
201
200
  _: 1
202
201
  }, 8, ["modelValue", "indeterminate"])
203
- ])) : V("", !0),
204
- (t(!0), g(_, null, S(I.value, (d, v) => {
202
+ ])) : O("", !0),
203
+ (t(!0), g(_, null, S(F.value, (d, v) => {
205
204
  var b, N;
206
205
  return t(), g(_, {
207
206
  key: d.value
@@ -218,9 +217,9 @@ const De = {
218
217
  key: T
219
218
  }, {
220
219
  default: y(() => [
221
- e(m) ? (t(), i(j(e(m)), O({ key: 0 }, { item: K }, {
220
+ e(m) ? (t(), i(j(e(m)), V({ key: 0 }, { item: K }, {
222
221
  key: K[e(u).valueKey]
223
- }), null, 16)) : V("", !0)
222
+ }), null, 16)) : O("", !0)
224
223
  ]),
225
224
  _: 2
226
225
  }, 1032, ["value", "label"]))), 128))
@@ -232,9 +231,9 @@ const De = {
232
231
  key: T
233
232
  }, {
234
233
  default: y(() => [
235
- e(m) ? (t(), i(j(e(m)), O({ key: 0 }, { item: K }, {
234
+ e(m) ? (t(), i(j(e(m)), V({ key: 0 }, { item: K }, {
236
235
  key: K[e(u).valueKey]
237
- }), null, 16)) : V("", !0)
236
+ }), null, 16)) : O("", !0)
238
237
  ]),
239
238
  _: 2
240
239
  }, 1032, ["value", "label"]))), 128))
@@ -244,9 +243,9 @@ const De = {
244
243
  key: v
245
244
  }, {
246
245
  default: y(() => [
247
- e(m) ? (t(), i(j(e(m)), O({ key: 0 }, { item: d }, {
246
+ e(m) ? (t(), i(j(e(m)), V({ key: 0 }, { item: d }, {
248
247
  key: d[e(u).valueKey]
249
- }), null, 16)) : V("", !0)
248
+ }), null, 16)) : O("", !0)
250
249
  ]),
251
250
  _: 2
252
251
  }, 1032, ["value", "label"]))
@@ -255,10 +254,10 @@ const De = {
255
254
  ];
256
255
  }),
257
256
  prefix: y(() => [
258
- e(B) ? (t(), i(j(e(B)), { key: 0 })) : V("", !0)
257
+ e(B) ? (t(), i(j(e(B)), { key: 0 })) : O("", !0)
259
258
  ]),
260
259
  _: 2
261
- }, 1040, ["modelValue", "value-key", "loading", "size", "class", "style", "placeholder"])) : (t(), i(f, O({
260
+ }, 1040, ["modelValue", "value-key", "loading", "size", "class", "style", "placeholder"])) : (t(), i(f, V({
262
261
  modelValue: e(U),
263
262
  "onUpdate:modelValue": a[2] || (a[2] = (s) => te(U) ? U.value = s : null),
264
263
  ref_key: "fieldEditor",
@@ -273,7 +272,7 @@ const De = {
273
272
  placeholder: e(c).placeholder || e(H).i18nt("render.hint.selectPlaceholder")
274
273
  }), {
275
274
  default: y(() => [
276
- (t(!0), g(_, null, S(I.value, (s, C) => {
275
+ (t(!0), g(_, null, S(F.value, (s, C) => {
277
276
  var M, d;
278
277
  return t(), g(_, {
279
278
  key: s.value
@@ -290,9 +289,9 @@ const De = {
290
289
  key: b
291
290
  }, {
292
291
  default: y(() => [
293
- e(m) ? (t(), i(j(e(m)), O({ key: 0 }, { item: v }, {
292
+ e(m) ? (t(), i(j(e(m)), V({ key: 0 }, { item: v }, {
294
293
  key: v[e(u).valueKey]
295
- }), null, 16)) : V("", !0)
294
+ }), null, 16)) : O("", !0)
296
295
  ]),
297
296
  _: 2
298
297
  }, 1032, ["value", "label"]))), 128))
@@ -304,9 +303,9 @@ const De = {
304
303
  key: b
305
304
  }, {
306
305
  default: y(() => [
307
- e(m) ? (t(), i(j(e(m)), O({ key: 0 }, { item: v }, {
306
+ e(m) ? (t(), i(j(e(m)), V({ key: 0 }, { item: v }, {
308
307
  key: v[e(u).valueKey]
309
- }), null, 16)) : V("", !0)
308
+ }), null, 16)) : O("", !0)
310
309
  ]),
311
310
  _: 2
312
311
  }, 1032, ["value", "label"]))), 128))
@@ -316,9 +315,9 @@ const De = {
316
315
  key: C
317
316
  }, {
318
317
  default: y(() => [
319
- e(m) ? (t(), i(j(e(m)), O({ key: 0 }, { item: s }, {
318
+ e(m) ? (t(), i(j(e(m)), V({ key: 0 }, { item: s }, {
320
319
  key: s[e(u).valueKey]
321
- }), null, 16)) : V("", !0)
320
+ }), null, 16)) : O("", !0)
322
321
  ]),
323
322
  _: 2
324
323
  }, 1032, ["value", "label"]))
@@ -326,7 +325,7 @@ const De = {
326
325
  }), 128))
327
326
  ]),
328
327
  prefix: y(() => [
329
- e(B) ? (t(), i(j(e(B)), { key: 0 })) : V("", !0)
328
+ e(B) ? (t(), i(j(e(B)), { key: 0 })) : O("", !0)
330
329
  ]),
331
330
  _: 2
332
331
  }, 1040, ["modelValue", "value-key", "loading", "size", "class", "style", "placeholder"]))
@@ -338,5 +337,5 @@ const De = {
338
337
  }
339
338
  });
340
339
  export {
341
- vl as default
340
+ dl as default
342
341
  };
@@ -1,4 +1,4 @@
1
- import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-29bab423.js";
1
+ import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-30a18710.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-e9b9ecc5.js";
4
+ import { D as C } from "./drag-wrapper-252f2c09.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-036c5143.js";
1
+ import { _ as o } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-f4913bd1.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-e9b9ecc5.js";
14
+ import "./drag-wrapper-252f2c09.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-e9b9ecc5.js";
5
+ import { D as W } from "./drag-wrapper-252f2c09.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-036c5143.js";
6
+ import { _ as Re } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-f4913bd1.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-e9b9ecc5.js";
24
+ import "./drag-wrapper-252f2c09.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-29bab423.js";
8
+ import { _ as oe } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-30a18710.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-abd6eca8.js";
3
+ import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-b168fef4.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-e9b9ecc5.js";
22
+ import "./drag-wrapper-252f2c09.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-abd6eca8.js";
3
+ import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-b168fef4.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-e9b9ecc5.js";
22
+ import "./drag-wrapper-252f2c09.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 c, unref as t, withCtx as M, createElementBlock as n, Fragment as u, withDirectives as P, renderList as R, createTextVNode as z, toDisplayString as A } from "vue";
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-e9b9ecc5.js";
6
+ import { D as v } from "./drag-wrapper-252f2c09.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), b = I(() => K(g.value)), { getSlotFromData: O, emit$: C, rowsData: p, getValue: N, setValue: V } = U({
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) => V(Y(J(e), !0), (r) => W(r)), l = T(!1), w = (e = !1) => {
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
- console.log(r), _(r), setTimeout(() => {
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
- }, W = (e) => {
41
+ }, b = (e) => {
42
42
  var o;
43
43
  const r = (o = i == null ? void 0 : i.value) != null && o.alwaysShow ? [{}] : null;
44
- return O(g.value, e || r);
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, c(e.$props, {
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, c({ key: 0 }, e.$props, {
64
- widget: t(Q)(t(b), "row"),
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(u, { key: 1 }, [
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(u, null, R(t(p), (m, B) => (a(), d(v, c({
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(u, { key: 1 }, [
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-b3f000ce"]]);
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-e9b9ecc5.js";
3
+ import { D as A } from "./drag-wrapper-252f2c09.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
- };