hlrender 0.0.14 → 0.0.16

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 (88) hide show
  1. package/{affix-widget-8f77919e.js → affix-widget-49c421e2.js} +4 -4
  2. package/{alert-widget-4ee79690.js → alert-widget-3c6f860b.js} +4 -4
  3. package/{anchor-widget-d37e686e.js → anchor-widget-bea9963a.js} +2 -2
  4. package/{auto-complete-widget-0602e9f6.js → auto-complete-widget-6f6553b2.js} +3 -3
  5. package/{avatar-widget-0f043473.js → avatar-widget-23605969.js} +4 -4
  6. package/{backtop-widget-a04cd38f.js → backtop-widget-788cdc22.js} +4 -4
  7. package/{badge-widget-eaf26e8d.js → badge-widget-a6efadc8.js} +4 -4
  8. package/{breadcrumb-widget-b7418560.js → breadcrumb-widget-4e404180.js} +2 -2
  9. package/{button-widget-091eea68.js → button-widget-4376ef0b.js} +4 -4
  10. package/{cache-widget-360e4aa4.js → cache-widget-8372bdff.js} +2 -2
  11. package/{card-widget-dfe1b93b.js → card-widget-207c0a2b.js} +3 -3
  12. package/{carousel-widget-2aaa16ae.js → carousel-widget-1af13e23.js} +2 -2
  13. package/{cascader-widget-a0d0f95c.js → cascader-widget-8f301ded.js} +2 -2
  14. package/{chart-widget-a0a1743f.js → chart-widget-08571c41.js} +2 -2
  15. package/{checkbox-widget-8b6bdc99.js → checkbox-widget-e03fa6fa.js} +2 -2
  16. package/{collapse-widget-84fcaf46.js → collapse-widget-ef690771.js} +2 -2
  17. package/{color-picker-widget-53dbb10a.js → color-picker-widget-2e8bb7de.js} +2 -2
  18. package/{cont-cell-widget-3a5f3290.js → cont-cell-widget-e122ac51.js} +1 -1
  19. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-2e713f22.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-b828dd53.js} +2 -2
  20. package/{cont-widget-a4b02e62.js → cont-widget-f54ddc93.js} +2 -2
  21. package/{date-picker-range-widget-d6852579.js → date-picker-range-widget-adff0124.js} +2 -2
  22. package/{date-picker-widget-4bd7c70f.js → date-picker-widget-2e3c5952.js} +2 -2
  23. package/{default-slot-widget-d53c8a11.js → default-slot-widget-ab23edde.js} +2 -2
  24. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-14aa0ba6.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-60e88195.js} +1 -1
  25. package/{descriptions-widget-37a207b2.js → descriptions-widget-fc6f9d80.js} +3 -3
  26. package/{dialog-widget-b5df0e78.js → dialog-widget-e33b8fa7.js} +4 -4
  27. package/{divider-widget-1b9c6370.js → divider-widget-9d09c247.js} +4 -4
  28. package/drag-wrapper-4ec26e58.js +244 -0
  29. package/{drawer-widget-00bc1997.js → drawer-widget-1e0195c2.js} +4 -4
  30. package/{dropdown-widget-27f98978.js → dropdown-widget-fc81123c.js} +3 -3
  31. package/{empty-widget-cde1ce6c.js → empty-widget-2dd7d621.js} +4 -4
  32. package/{feedback-widget-38ce0856.js → feedback-widget-4d3944a3.js} +4 -4
  33. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-e425d56f.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-06583414.js} +2 -2
  34. package/{file-upload-widget-6e9c1988.js → file-upload-widget-b3fface8.js} +3 -3
  35. package/{form-widget-023619d7.js → form-widget-a6bdbcf5.js} +9 -5
  36. package/{grid-col-widget-cd15ea4d.js → grid-col-widget-dc682cbd.js} +1 -1
  37. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-41d365c1.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-d4c9b51e.js} +2 -2
  38. package/{grid-widget-bc068dd2.js → grid-widget-13e13dd0.js} +2 -2
  39. package/{html-text-widget-842c6619.js → html-text-widget-f8ad22e5.js} +2 -2
  40. package/{iframe-widget-90d1e50c.js → iframe-widget-1185688a.js} +2 -2
  41. package/{image-widget-34604638.js → image-widget-124608ff.js} +2 -2
  42. package/{input-number-widget-b8391659.js → input-number-widget-ac3f71bc.js} +2 -2
  43. package/{input-widget-73607a50.js → input-widget-06840bc2.js} +3 -3
  44. package/{link-widget-cf4f1f44.js → link-widget-aef34b34.js} +4 -4
  45. package/{ltable-col-widget-faf4bc83.js → ltable-col-widget-93d7bb57.js} +1 -1
  46. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-3ff698b3.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-ed8682c8.js} +2 -2
  47. package/{ltable-widget-f54e2209.js → ltable-widget-fa0b6df3.js} +2 -2
  48. package/{menu-widget-16ddaccc.js → menu-widget-c811de8a.js} +2 -2
  49. package/{model-widget-e6fcecd7.js → model-widget-e574cce7.js} +2 -2
  50. package/{multirow-402897e3.js → multirow-fdcabee0.js} +22 -21
  51. package/{multirow-widget-7e7edd83.js → multirow-widget-7c2d03aa.js} +64 -64
  52. package/package.json +1 -1
  53. package/{pagination-widget-8a20ca10.js → pagination-widget-38589455.js} +2 -2
  54. package/{picture-upload-widget-a303d9fc.js → picture-upload-widget-62370e8d.js} +3 -3
  55. package/{progress-widget-53984c6f.js → progress-widget-abaee684.js} +3 -3
  56. package/{radio-widget-0bb3371b.js → radio-widget-7484c4da.js} +2 -2
  57. package/{range-widget-59228a71.js → range-widget-06cf7d5b.js} +3 -3
  58. package/{rate-widget-a7670291.js → rate-widget-5cfa4d96.js} +2 -2
  59. package/render.es.js +281 -284
  60. package/render.style.css +1 -1
  61. package/render.umd.js +69 -69
  62. package/{result-widget-948d5222.js → result-widget-3ea3d21f.js} +3 -3
  63. package/{rich-editor-widget-3910c97d.js → rich-editor-widget-b1f041db.js} +2 -2
  64. package/{router-widget-a2ba9038.js → router-widget-a28c77d2.js} +2 -2
  65. package/{select-widget-50c108e9.js → select-widget-61dce9d2.js} +2 -2
  66. package/{share-field-291c4695.js → share-field-1e1a63d3.js} +159 -159
  67. package/{share-file-68af343b.js → share-file-b51c03f7.js} +1 -1
  68. package/{slider-widget-5e02a8a2.js → slider-widget-9271c1ce.js} +2 -2
  69. package/{static-text-widget-d7dbdac0.js → static-text-widget-32ef1b1b.js} +2 -2
  70. package/{steps-widget-b7f994af.js → steps-widget-99f01961.js} +2 -2
  71. package/{switch-widget-191dd8e1.js → switch-widget-49db9e26.js} +2 -2
  72. package/{tab-pane-widget-5fa4f0b7.js → tab-pane-widget-bd3a418f.js} +1 -1
  73. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-1f77050a.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-5a5dd525.js} +2 -2
  74. package/{table-col-widget-447c6f12.js → table-col-widget-d0295b17.js} +3 -3
  75. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-8bcbaeb0.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-9a49525f.js} +2 -2
  76. package/{table-widget-6b4ecd25.js → table-widget-fa9b36cc.js} +4 -4
  77. package/{tabs-widget-78b20bcc.js → tabs-widget-cb9ef973.js} +2 -2
  78. package/{tag-widget-3240bf6b.js → tag-widget-bc9d3d0d.js} +4 -4
  79. package/{text-widget-2642866a.js → text-widget-4f41fcca.js} +4 -4
  80. package/{textarea-widget-e01ce3a7.js → textarea-widget-a235f543.js} +2 -2
  81. package/{time-picker-range-widget-780da29b.js → time-picker-range-widget-1badd033.js} +2 -2
  82. package/{time-picker-widget-98d666f3.js → time-picker-widget-b9d90a8e.js} +2 -2
  83. package/{time-select-widget-3a2fae63.js → time-select-widget-11de6d51.js} +2 -2
  84. package/{tmpl-widget-d91e6eb5.js → tmpl-widget-439bc81f.js} +29 -29
  85. package/{tree-select-widget-796b88ab.js → tree-select-widget-c5fa1d84.js} +2 -2
  86. package/{tree-widget-c15051cf.js → tree-widget-6f1d7538.js} +2 -2
  87. package/{wrapper-widget-c45400a7.js → wrapper-widget-3fb00253.js} +2 -2
  88. package/drag-wrapper-97c58b05.js +0 -258
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as O, resolveComponent as S, openBlock as _, createBlock as v, mergeProps as W, unref as r, withCtx as y, createElementVNode as g, createElementBlock as $, Fragment as j, renderList as K, resolveDynamicComponent as L, createTextVNode as h, toDisplayString as B, createCommentVNode as C } from "vue";
2
2
  import { I as M } from "./widget-base-4c2d6265.js";
3
- import { b as q } from "./share-field-291c4695.js";
3
+ import { b as q } from "./share-field-1e1a63d3.js";
4
4
  import { _ as z } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-32b1f85d.js";
5
5
  import { W as w } from "./enum-type-f19f3faf.js";
6
6
  import { c as I } from "./baseImp-f65fae6f.js";
7
7
  import { a as x } from "./enum-type-6c2444c7.js";
8
8
  import { Plus as G, Edit as H } from "./index-ddd23411.js";
9
- import "./multirow-402897e3.js";
9
+ import "./multirow-fdcabee0.js";
10
10
  import "./index-86d2f339.js";
11
11
  import "./uuid-85303a38.js";
12
12
  import "./expression-d0d5b99e.js";
@@ -1,11 +1,11 @@
1
1
  import { b as U, r as X, B as Y, c as Z } from "./baseImp-f65fae6f.js";
2
2
  import { g as L, c as I, t as R, r as T } from "./index-86d2f339.js";
3
3
  import { c as k, F as d, g as rr } from "./slot-179831f9.js";
4
- import { e as q, o as V, d as b, D as a, c as er, t as J, j as K } from "./enum-type-6c2444c7.js";
4
+ import { e as p, o as V, d as b, D as a, c as er, t as H, j as J } from "./enum-type-6c2444c7.js";
5
5
  import { reactive as N, watch as tr } from "vue";
6
6
  import { u as sr } from "./icon-e9532b43.js";
7
7
  import { u as ur, g as or } from "./uuid-85303a38.js";
8
- import { f as M } from "./expression-d0d5b99e.js";
8
+ import { f as K } from "./expression-d0d5b99e.js";
9
9
  function ir() {
10
10
  const t = {}, f = (r, e) => {
11
11
  var s, u, i, n;
@@ -28,7 +28,7 @@ function ir() {
28
28
  },
29
29
  off$(r, e) {
30
30
  if (t[r]) {
31
- if (q(e)) {
31
+ if (p(e)) {
32
32
  t[r].length = 0;
33
33
  return;
34
34
  }
@@ -57,7 +57,7 @@ function ir() {
57
57
  }
58
58
  };
59
59
  }
60
- const j = "", A = "_", p = (t, f) => q(f) ? t || "" : `${j}${t}${A}${f}`, G = (t) => {
60
+ const j = "", A = "_", M = (t, f) => p(f) ? t || "" : `${j}${t}${A}${f}`, y = (t) => {
61
61
  if (t != null && t.includes(A)) {
62
62
  var f = t.split(A);
63
63
  const h = f == null ? void 0 : f[0].substring(j.length), c = t.substring(j.length + h.length + 1);
@@ -67,7 +67,7 @@ const j = "", A = "_", p = (t, f) => q(f) ? t || "" : `${j}${t}${A}${f}`, G = (t
67
67
  };
68
68
  var nr = /* @__PURE__ */ ((t) => (t[t.None = 0] = "None", t[t.Inner2Inner = 1] = "Inner2Inner", t[t.Inner2Outer = 2] = "Inner2Outer", t[t.Outer2Inner = 3] = "Outer2Inner", t[t.Outer2Outer = 4] = "Outer2Outer", t[t.DiffInner = 5] = "DiffInner", t))(nr || {});
69
69
  const Fr = (t, f) => {
70
- const h = G(t), c = h == null ? void 0 : h.groupName, r = G(f), e = r == null ? void 0 : r.groupName;
70
+ const h = y(t), c = h == null ? void 0 : h.groupName, r = y(f), e = r == null ? void 0 : r.groupName;
71
71
  return !c && !e ? 4 : c && !e ? 2 : c && e ? c !== e ? 5 : 1 : !c && e ? 3 : 0;
72
72
  };
73
73
  function fr(t, f) {
@@ -95,9 +95,9 @@ function fr(t, f) {
95
95
  };
96
96
  }
97
97
  function gr() {
98
- const t = (r, e) => T(r, { newName: !0, recordSource: !0 }, (s, u) => p(s || u, e)), f = (r, e, s) => {
98
+ const t = (r, e) => T(r, { newName: !0, recordSource: !0 }, (s, u) => M(s || u, e)), f = (r, e, s) => {
99
99
  var w, D;
100
- K(s) && (s = `${(w = ur()) == null ? void 0 : w.substring(0, 5)}_${!K(e == null ? void 0 : e.$index) && (e == null ? void 0 : e.$index) >= 0 ? e == null ? void 0 : e.$index : ""}`);
100
+ J(s) && (s = `${(w = ur()) == null ? void 0 : w.substring(0, 5)}_${!J(e == null ? void 0 : e.$index) && (e == null ? void 0 : e.$index) >= 0 ? e == null ? void 0 : e.$index : ""}`);
101
101
  var u = rr(r, !0);
102
102
  let i = u == null ? void 0 : u.map((F) => t(F, s));
103
103
  const n = c(i), { updateFomulaName: l } = Z();
@@ -113,10 +113,11 @@ function gr() {
113
113
  e == null || e.push(n);
114
114
  }
115
115
  }
116
- return e == null ? void 0 : e.map((l, w) => {
117
- const D = u ? u(l, w) : l;
118
- return f(r, D, w + "");
119
- });
116
+ if (Array.isArray(e))
117
+ return e == null ? void 0 : e.map((l, w) => {
118
+ const D = u ? u(l, w) : l;
119
+ return f(r, D, w + "");
120
+ });
120
121
  }, c = (r, e) => {
121
122
  let s = {};
122
123
  return r && R(r, (u) => {
@@ -130,8 +131,8 @@ function gr() {
130
131
  newSlot: f,
131
132
  reflectTargetWithSourceOne: c,
132
133
  getSlotFromData: h,
133
- parseGroupId: G,
134
- formatGroupId: p
134
+ parseGroupId: y,
135
+ formatGroupId: M
135
136
  };
136
137
  }
137
138
  function Or(t) {
@@ -140,9 +141,9 @@ function Or(t) {
140
141
  let m = {};
141
142
  const $ = s(g);
142
143
  return (O = V(o)) == null || O.map((v) => {
143
- var _, E, H;
144
+ var _, E, P;
144
145
  const S = (_ = $ == null ? void 0 : $[v]) == null ? void 0 : _.name;
145
- S && (m[S] = o == null ? void 0 : o[v], (H = (E = V(o)) == null ? void 0 : E.filter((W) => W.startsWith(v + "_"))) == null || H.forEach((W) => {
146
+ S && (m[S] = o == null ? void 0 : o[v], (P = (E = V(o)) == null ? void 0 : E.filter((W) => W.startsWith(v + "_"))) == null || P.forEach((W) => {
146
147
  m[W == null ? void 0 : W.replace(v, S)] = o == null ? void 0 : o[W];
147
148
  }));
148
149
  }), m;
@@ -178,14 +179,14 @@ function Or(t) {
178
179
  var m;
179
180
  var g = k({ ...t, widget: o });
180
181
  return (m = g.attrs) == null ? void 0 : m.value;
181
- }, B = (o, g, m) => I(o, g, r, m), P = (o) => {
182
+ }, B = (o, g, m) => I(o, g, r, m), G = (o) => {
182
183
  var g = D();
183
184
  tr(() => c, (m) => {
184
185
  var $ = D();
185
- J($) != J(g) && (g = $, o($));
186
+ H($) != H(g) && (g = $, o($));
186
187
  }, { deep: !0, immediate: !0 });
187
- }, { off$: x, on$: y, emit$: z } = ir(), Q = () => {
188
- x(M.fieldChange), y(M.fieldChange, (o) => {
188
+ }, { off$: q, on$: x, emit$: z } = ir(), Q = () => {
189
+ q(K.fieldChange), x(K.fieldChange, (o) => {
189
190
  var g;
190
191
  h == null || h(D()), (g = t == null ? void 0 : t.fieldChanged) == null || g.call(t);
191
192
  });
@@ -207,7 +208,7 @@ function Or(t) {
207
208
  getValue: D,
208
209
  setValue: F,
209
210
  findWidgetByNameWithSibId: B,
210
- listenFormModel: P,
211
+ listenFormModel: G,
211
212
  emit$: z,
212
213
  formModel: c,
213
214
  rowsData: r
@@ -219,6 +220,6 @@ export {
219
220
  Or as c,
220
221
  nr as f,
221
222
  Fr as g,
222
- G as p,
223
+ y as p,
223
224
  fr as u
224
225
  };
@@ -1,16 +1,16 @@
1
- import { defineComponent as qe, computed as v, ref as Qe, resolveComponent as A, openBlock as l, createBlock as p, mergeProps as $, unref as e, withCtx as r, createElementBlock as c, Fragment as C, createVNode as m, createTextVNode as u, toDisplayString as d, createCommentVNode as a, renderList as ne, normalizeClass as De, createElementVNode as b, pushScopeId as Ge, popScopeId as Je } from "vue";
2
- import { a as T, N as Ke, O as Xe, P as Ye, Q as Ze } from "./enum-type-6c2444c7.js";
1
+ import { defineComponent as qe, computed as v, ref as Je, resolveComponent as A, openBlock as l, createBlock as p, mergeProps as $, unref as e, withCtx as r, createElementBlock as c, Fragment as C, createVNode as m, createTextVNode as u, toDisplayString as d, createCommentVNode as a, renderList as ne, normalizeClass as De, createElementVNode as b, pushScopeId as Qe, popScopeId as Ge } from "vue";
2
+ import { a as T, f as Ke, N as Xe, O as Ye, P as Ze, Q as et } from "./enum-type-6c2444c7.js";
3
3
  import { B as Ne, x as P } from "./baseImp-f65fae6f.js";
4
- import { I as et } from "./widget-base-4c2d6265.js";
5
- import { b as tt } from "./share-field-291c4695.js";
6
- import { _ as ot } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-32b1f85d.js";
7
- import { D as O } from "./drag-wrapper-97c58b05.js";
4
+ import { I as tt } from "./widget-base-4c2d6265.js";
5
+ import { b as ot } from "./share-field-1e1a63d3.js";
6
+ import { _ as nt } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-32b1f85d.js";
7
+ import { D as O } from "./drag-wrapper-4ec26e58.js";
8
8
  import { $ as Be } from "./enum-type-f19f3faf.js";
9
- import { _ as nt } from "./label-wrapper.vue_vue_type_style_index_0_lang-a0cb6bb5.js";
10
- import { i as lt, a as F } from "./slot-179831f9.js";
11
- import { c as it } from "./multirow-402897e3.js";
12
- import { Plus as S, Delete as q, SortUp as Q, SortDown as G } from "./index-ddd23411.js";
13
- import { _ as rt } from "./_plugin-vue_export-helper-dad06003.js";
9
+ import { _ as lt } from "./label-wrapper.vue_vue_type_style_index_0_lang-a0cb6bb5.js";
10
+ import { i as it, a as F } from "./slot-179831f9.js";
11
+ import { c as rt } from "./multirow-fdcabee0.js";
12
+ import { Plus as S, Delete as q, SortUp as J, SortDown as Q } from "./index-ddd23411.js";
13
+ import { _ as at } from "./_plugin-vue_export-helper-dad06003.js";
14
14
  import "./uuid-85303a38.js";
15
15
  import "./icon-e9532b43.js";
16
16
  import "./expression-d0d5b99e.js";
@@ -21,43 +21,43 @@ import "./index-86d2f339.js";
21
21
  import "./index-6f9269bf.js";
22
22
  import "./fieldobj-3d0327a8.js";
23
23
  import "./field-base-5547436d.js";
24
- const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
24
+ const st = (I) => (Qe("data-v-aa859bd7"), I = I(), Ge(), I), dt = {
25
25
  key: 0,
26
26
  class: "multiRowLine"
27
- }, dt = {
27
+ }, ut = {
28
28
  key: 1,
29
29
  class: "horialCenter row_bottom"
30
- }, ut = {
30
+ }, ct = {
31
31
  key: 0,
32
32
  class: "horialCenter row_bottom"
33
- }, ct = { key: 0 }, pt = { class: "td2" }, mt = { class: "td2" }, wt = {
33
+ }, pt = { key: 0 }, mt = { class: "td2" }, wt = { class: "td2" }, _t = {
34
34
  key: 0,
35
35
  class: "td2"
36
- }, _t = /* @__PURE__ */ at(() => /* @__PURE__ */ b("td", { class: "rowIndex" }, "1", -1)), ft = {
36
+ }, ft = /* @__PURE__ */ st(() => /* @__PURE__ */ b("td", { class: "rowIndex" }, "1", -1)), gt = {
37
37
  key: 0,
38
38
  class: "btns"
39
- }, gt = {
39
+ }, kt = {
40
40
  key: 0,
41
41
  class: "detailTable"
42
- }, kt = ["colspan"], yt = { class: "nolabel tr2" }, ht = { class: "rowIndex" }, vt = {
42
+ }, yt = ["colspan"], ht = { class: "nolabel tr2" }, vt = { class: "rowIndex" }, bt = {
43
43
  key: 0,
44
44
  class: "btns"
45
- }, bt = { key: 0 }, Rt = ["colspan"], Ct = ["colspan"], Tt = {
45
+ }, Rt = { key: 0 }, Ct = ["colspan"], Tt = ["colspan"], St = {
46
46
  key: 0,
47
47
  class: "horialCenter row_bottom"
48
- }, St = {
48
+ }, $t = {
49
49
  key: 0,
50
50
  class: "horialCenter row_bottom"
51
- }, $t = {
51
+ }, Dt = {
52
52
  key: 1,
53
53
  class: "horialCenter row_bottom"
54
- }, Dt = /* @__PURE__ */ qe({
54
+ }, Nt = /* @__PURE__ */ qe({
55
55
  __name: "multirow-widget",
56
56
  props: {
57
- ...et
57
+ ...tt
58
58
  },
59
59
  setup(I, { expose: Ae }) {
60
- const le = I, { slots: J, exposed: L, fieldModel: Oe, attrs: t, events: ie, fieldObj: Fe, fieldName: Ie } = tt(le), D = v(() => lt(J.value)), { rowsData: g, formModel: Nt, listenFormModel: Bt, newSlot: Le, getWidgetOption: re, newFieldModelFromSlot: We, removeFieldModelFromSlot: xe, getValue: Me, setValue: Ve, findWidgetByNameWithSibId: Ue, getSlotFromData: ze, emit$: He } = it({ ...le, fieldName: Ie.value, setValue: L == null ? void 0 : L.setValue }), K = v(() => {
60
+ const le = I, { slots: G, exposed: L, fieldModel: Oe, attrs: t, events: ie, fieldObj: Fe, fieldName: Ie } = ot(le), D = v(() => it(G.value)), { rowsData: g, formModel: Bt, listenFormModel: At, newSlot: Le, getWidgetOption: re, newFieldModelFromSlot: We, removeFieldModelFromSlot: xe, getValue: Me, setValue: Ve, findWidgetByNameWithSibId: Ue, getSlotFromData: ze, emit$: He } = rt({ ...le, fieldName: Ie.value, setValue: L == null ? void 0 : L.setValue }), K = v(() => {
61
61
  var o;
62
62
  return (o = t.value) == null ? void 0 : o.sortable;
63
63
  }), ae = v(() => {
@@ -84,8 +84,8 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
84
84
  P.info(T.i18nt("designer.hint.maxRowTip"));
85
85
  return;
86
86
  }
87
- const s = Le(J.value);
88
- Ke(g, o, s), We(s, we({}, o + 1)), (h = (_ = ie.value).addRow) == null || h.call(_, o);
87
+ const s = Le(G.value);
88
+ Xe(g, o, s), We(s, we({}, o + 1)), (h = (_ = ie.value).addRow) == null || h.call(_, o);
89
89
  }, ue = (o) => {
90
90
  var _, h;
91
91
  if ((g == null ? void 0 : g.length) <= t.value.minRowNum) {
@@ -93,20 +93,20 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
93
93
  return;
94
94
  }
95
95
  const s = g[o];
96
- Xe(g, o), xe(s), (h = (_ = ie.value).deleteRow) == null || h.call(_, o);
96
+ Ye(g, o), xe(s), (h = (_ = ie.value).deleteRow) == null || h.call(_, o);
97
97
  }, ce = (o) => {
98
98
  if (o === g.length - 1) {
99
99
  P.info(T.i18nt("designer.hint.moveDownLastChildHint"));
100
100
  return;
101
101
  }
102
- Ye(g, o);
102
+ Ze(g, o);
103
103
  }, pe = (o) => {
104
104
  if (o === 0) {
105
105
  P.info(T.i18nt("designer.hint.moveUpFirstChildHint"));
106
106
  return;
107
107
  }
108
- Ze(g, o);
109
- }, te = (o) => o == null ? void 0 : o.widgetList, me = Qe(!0), je = (o) => {
108
+ et(g, o);
109
+ }, te = (o) => o == null ? void 0 : o.widgetList, me = Je(!0), je = (o) => {
110
110
  var s, _;
111
111
  return (s = t.value) != null && s.dataFormat ? (_ = t.value) == null ? void 0 : _.dataFormat(o) : o;
112
112
  }, we = (o, s) => {
@@ -121,7 +121,7 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
121
121
  }
122
122
  }), Ee = (o, s) => Ue(o, s, (_) => L.findRefByName(_)), oe = (o) => Ve(je(o), (s) => Pe(s)), Pe = (o) => {
123
123
  var s;
124
- return ze(J.value, o, (s = t.value) == null ? void 0 : s.minRowNum, we);
124
+ return ze(G.value, Ke(o) || [], (s = t.value) == null ? void 0 : s.minRowNum, we);
125
125
  };
126
126
  return Ae({
127
127
  ...L,
@@ -131,14 +131,14 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
131
131
  findWidgetByNameWithSibId: Ee
132
132
  }), (o, s) => {
133
133
  const _ = A("el-col"), h = A("el-tag"), _e = A("el-divider"), w = A("el-button"), E = A("el-button-group"), fe = A("el-row");
134
- return l(), p(ot, $(o.$props, {
134
+ return l(), p(nt, $(o.$props, {
135
135
  "prop-options": { fieldObj: e(Fe) }
136
136
  }), {
137
- default: r(({ data: At }) => {
137
+ default: r(({ data: Ot }) => {
138
138
  var ge, ke, ye, he, ve, be, Re, Ce, Te, Se, $e;
139
139
  return [
140
140
  ((ge = e(t)) == null ? void 0 : ge.showMode) === e(Be).line ? (l(), c(C, { key: 0 }, [
141
- o.designState ? (l(), c("div", st, [
141
+ o.designState ? (l(), c("div", dt, [
142
142
  (ke = e(t)) != null && ke.showHeader ? (l(), p(fe, {
143
143
  key: 0,
144
144
  class: "rowHeader"
@@ -202,7 +202,7 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
202
202
  }, 8, ["icon"])) : a("", !0),
203
203
  e(t).sortable ? (l(), p(w, {
204
204
  key: 2,
205
- icon: e(Q),
205
+ icon: e(J),
206
206
  link: ""
207
207
  }, {
208
208
  default: r(() => {
@@ -215,7 +215,7 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
215
215
  }, 8, ["icon"])) : a("", !0),
216
216
  e(t).sortable ? (l(), p(w, {
217
217
  key: 3,
218
- icon: e(G),
218
+ icon: e(Q),
219
219
  link: ""
220
220
  }, {
221
221
  default: r(() => {
@@ -240,7 +240,7 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
240
240
  widget: e(F)(e(D), "row"),
241
241
  dragClass: "dragSize"
242
242
  }), null, 16, ["widget"]),
243
- (ye = e(t)) != null && ye.onlyOneAddButton ? (l(), c("div", dt, [
243
+ (ye = e(t)) != null && ye.onlyOneAddButton ? (l(), c("div", ut, [
244
244
  m(w, {
245
245
  icon: e(S),
246
246
  size: "large"
@@ -330,7 +330,7 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
330
330
  key: 2,
331
331
  onClick: (y) => pe(i),
332
332
  disabled: i <= 0,
333
- icon: e(Q),
333
+ icon: e(J),
334
334
  link: ""
335
335
  }, {
336
336
  default: r(() => {
@@ -345,7 +345,7 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
345
345
  key: 3,
346
346
  onClick: (y) => ce(i),
347
347
  disabled: i >= e(B) - 1,
348
- icon: e(G),
348
+ icon: e(Q),
349
349
  link: ""
350
350
  }, {
351
351
  default: r(() => {
@@ -374,7 +374,7 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
374
374
  }), null, 16, ["widget", "row-scope"])
375
375
  ]);
376
376
  }), 128)),
377
- (he = e(t)) != null && he.onlyOneAddButton && e(t).allowAdd ? (l(), c("div", ut, [
377
+ (he = e(t)) != null && he.onlyOneAddButton && e(t).allowAdd ? (l(), c("div", ct, [
378
378
  m(w, {
379
379
  icon: e(S),
380
380
  size: "large",
@@ -397,9 +397,9 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
397
397
  key: 1,
398
398
  class: De(["table2", [(be = e(t)) != null && be.showBorder ? "borderedTable" : ""]])
399
399
  }, [
400
- (Re = e(t)) != null && Re.showHeader ? (l(), c("thead", ct, [
400
+ (Re = e(t)) != null && Re.showHeader ? (l(), c("thead", pt, [
401
401
  b("tr", null, [
402
- b("th", pt, [
402
+ b("th", mt, [
403
403
  e(X) ? (l(), p(h, {
404
404
  key: 0,
405
405
  type: "info",
@@ -413,11 +413,11 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
413
413
  ]),
414
414
  (l(!0), c(C, null, ne(te(e(F)(e(D), "row")), (n) => {
415
415
  var i;
416
- return l(), c("th", mt, [
416
+ return l(), c("th", wt, [
417
417
  b("div", {
418
418
  class: De([(i = e(re)(n)) != null && i.required ? "required" : ""])
419
419
  }, [
420
- m(nt, {
420
+ m(lt, {
421
421
  widget: n,
422
422
  designer: o.designer,
423
423
  designState: o.designState,
@@ -428,7 +428,7 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
428
428
  ], 2)
429
429
  ]);
430
430
  }), 256)),
431
- e(N) ? (l(), c("th", wt)) : a("", !0)
431
+ e(N) ? (l(), c("th", _t)) : a("", !0)
432
432
  ])
433
433
  ])) : a("", !0),
434
434
  b("tbody", null, [
@@ -441,10 +441,10 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
441
441
  dragClass: "dragSize nolabel"
442
442
  }), {
443
443
  header: r(() => [
444
- _t
444
+ ft
445
445
  ]),
446
446
  footer: r(() => [
447
- e(N) ? (l(), c("td", ft, [
447
+ e(N) ? (l(), c("td", gt, [
448
448
  m(E, null, {
449
449
  default: r(() => {
450
450
  var n;
@@ -479,7 +479,7 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
479
479
  e(t).sortable ? (l(), p(w, {
480
480
  key: 2,
481
481
  link: "",
482
- icon: e(Q)
482
+ icon: e(J)
483
483
  }, {
484
484
  default: r(() => {
485
485
  var i;
@@ -492,7 +492,7 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
492
492
  e(t).sortable ? (l(), p(w, {
493
493
  key: 3,
494
494
  link: "",
495
- icon: e(G)
495
+ icon: e(Q)
496
496
  }, {
497
497
  default: r(() => {
498
498
  var i;
@@ -510,7 +510,7 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
510
510
  ]),
511
511
  _: 1
512
512
  }, 16, ["widget"]),
513
- e(de) ? (l(), c("tr", gt, [
513
+ e(de) ? (l(), c("tr", kt, [
514
514
  b("td", {
515
515
  colspan: (e(Z) || 0) + e(Y)
516
516
  }, [
@@ -518,22 +518,22 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
518
518
  widget: e(F)(e(D), "detail"),
519
519
  style: { height: "auto" }
520
520
  }), null, 16, ["widget"])
521
- ], 8, kt)
521
+ ], 8, yt)
522
522
  ])) : a("", !0)
523
523
  ], 64)) : (l(!0), c(C, { key: 1 }, ne(e(x), (n, i) => {
524
524
  var k, M;
525
525
  return l(), c(C, {
526
526
  key: n.id
527
527
  }, [
528
- b("tr", yt, [
529
- b("td", ht, d(i + 1), 1),
528
+ b("tr", ht, [
529
+ b("td", vt, d(i + 1), 1),
530
530
  m(O, $(o.$props, {
531
531
  widget: (k = n == null ? void 0 : n.widget) == null ? void 0 : k[0],
532
532
  componentName: "td",
533
533
  componentClass: "td2",
534
534
  "row-scope": { row: n == null ? void 0 : n.data, $index: i }
535
535
  }), null, 16, ["widget", "row-scope"]),
536
- e(N) ? (l(), c("td", vt, [
536
+ e(N) ? (l(), c("td", bt, [
537
537
  m(E, null, {
538
538
  default: r(() => {
539
539
  var V, U;
@@ -574,7 +574,7 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
574
574
  onClick: (f) => pe(i),
575
575
  disabled: i <= 0,
576
576
  link: "",
577
- icon: e(Q)
577
+ icon: e(J)
578
578
  }, {
579
579
  default: r(() => {
580
580
  var f;
@@ -589,7 +589,7 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
589
589
  onClick: (f) => ce(i),
590
590
  disabled: i >= e(B) - 1,
591
591
  link: "",
592
- icon: e(G)
592
+ icon: e(Q)
593
593
  }, {
594
594
  default: r(() => {
595
595
  var f;
@@ -605,7 +605,7 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
605
605
  }, 1024)
606
606
  ])) : a("", !0)
607
607
  ]),
608
- e(de) ? (l(), c("tr", bt, [
608
+ e(de) ? (l(), c("tr", Rt, [
609
609
  b("td", {
610
610
  class: "detailTable",
611
611
  colspan: (e(Z) || 0) + e(Y)
@@ -615,7 +615,7 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
615
615
  "component-style": { height: "auto" },
616
616
  "row-scope": { row: n == null ? void 0 : n.data, $index: i }
617
617
  }), null, 16, ["widget", "row-scope"])
618
- ], 8, Rt)
618
+ ], 8, Ct)
619
619
  ])) : a("", !0)
620
620
  ], 64);
621
621
  }), 128))
@@ -626,7 +626,7 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
626
626
  colspan: (e(Z) || 0) + e(Y)
627
627
  }, [
628
628
  o.designState ? (l(), c(C, { key: 0 }, [
629
- (Ce = e(t)) != null && Ce.onlyOneAddButton && e(t).allowAdd ? (l(), c("div", Tt, [
629
+ (Ce = e(t)) != null && Ce.onlyOneAddButton && e(t).allowAdd ? (l(), c("div", St, [
630
630
  m(w, {
631
631
  icon: e(S),
632
632
  size: "large"
@@ -641,7 +641,7 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
641
641
  }, 8, ["icon"])
642
642
  ])) : a("", !0)
643
643
  ], 64)) : (l(), c(C, { key: 1 }, [
644
- !((Te = e(t)) != null && Te.onlyOneAddButton) && ((Se = e(x)) == null ? void 0 : Se.length) == 0 ? (l(), c("div", St, [
644
+ !((Te = e(t)) != null && Te.onlyOneAddButton) && ((Se = e(x)) == null ? void 0 : Se.length) == 0 ? (l(), c("div", $t, [
645
645
  m(w, {
646
646
  onClick: s[1] || (s[1] = (n) => W(0))
647
647
  }, {
@@ -653,7 +653,7 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
653
653
  }),
654
654
  _: 1
655
655
  })
656
- ])) : ($e = e(t)) != null && $e.onlyOneAddButton ? (l(), c("div", $t, [
656
+ ])) : ($e = e(t)) != null && $e.onlyOneAddButton ? (l(), c("div", Dt, [
657
657
  m(w, {
658
658
  icon: e(S),
659
659
  size: "large",
@@ -672,7 +672,7 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
672
672
  }, 8, ["icon"])
673
673
  ])) : a("", !0)
674
674
  ], 64))
675
- ], 8, Ct)
675
+ ], 8, Tt)
676
676
  ])
677
677
  ])
678
678
  ], 2)) : a("", !0)
@@ -683,7 +683,7 @@ const at = (I) => (Ge("data-v-1baa112e"), I = I(), Je(), I), st = {
683
683
  };
684
684
  }
685
685
  });
686
- const to = /* @__PURE__ */ rt(Dt, [["__scopeId", "data-v-1baa112e"]]);
686
+ const oo = /* @__PURE__ */ at(Nt, [["__scopeId", "data-v-aa859bd7"]]);
687
687
  export {
688
- to as default
688
+ oo as default
689
689
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hlrender",
3
- "version": "0.0.14",
3
+ "version": "0.0.16",
4
4
  "description": "",
5
5
  "main": "render.umd.js",
6
6
  "private":false,
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as d, ref as s, computed as I, resolveComponent as O, openBlock as p, createBlock as l, mergeProps as f, unref as t, withCtx as g, toHandlers as T, createSlots as V, renderList as $, resolveDynamicComponent as D, createCommentVNode as H } from "vue";
2
2
  import { w as K } from "./expression-d0d5b99e.js";
3
3
  import { I as L } from "./field-base-5547436d.js";
4
- import { b as M } from "./share-field-291c4695.js";
4
+ import { b as M } from "./share-field-1e1a63d3.js";
5
5
  import { _ as W } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-32b1f85d.js";
6
6
  import { g as q } from "./slot-179831f9.js";
7
7
  import "./enum-type-6c2444c7.js";
8
8
  import "./uuid-85303a38.js";
9
9
  import "./_commonjsHelpers-e7ea1525.js";
10
10
  import "./widget-base-4c2d6265.js";
11
- import "./multirow-402897e3.js";
11
+ import "./multirow-fdcabee0.js";
12
12
  import "./baseImp-f65fae6f.js";
13
13
  import "./enum-type-f19f3faf.js";
14
14
  import "./icon-e9532b43.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as m, resolveComponent as d, openBlock as l, createBlock as n, mergeProps as c, unref as e, withCtx as r, toHandlers as U, createVNode as i, createElementVNode as t, createElementBlock as V, toDisplayString as W, createCommentVNode as D } from "vue";
2
2
  import { I as P } from "./field-base-5547436d.js";
3
- import { u as S } from "./share-file-68af343b.js";
3
+ import { u as S } from "./share-file-b51c03f7.js";
4
4
  import $ from "./form-item-wrapper-120aa413.js";
5
5
  import { S as s } from "./index-6f9269bf.js";
6
6
  import { w as j } from "./expression-d0d5b99e.js";
@@ -8,8 +8,8 @@ import { _ as H } from "./_plugin-vue_export-helper-dad06003.js";
8
8
  import "./widget-base-4c2d6265.js";
9
9
  import "./enum-type-6c2444c7.js";
10
10
  import "./icon-e9532b43.js";
11
- import "./share-field-291c4695.js";
12
- import "./multirow-402897e3.js";
11
+ import "./share-field-1e1a63d3.js";
12
+ import "./multirow-fdcabee0.js";
13
13
  import "./baseImp-f65fae6f.js";
14
14
  import "./uuid-85303a38.js";
15
15
  import "./enum-type-f19f3faf.js";
@@ -2,10 +2,10 @@ import { defineComponent as O, ref as L, watch as q, nextTick as K, resolveCompo
2
2
  import { a as C } from "./enum-type-6c2444c7.js";
3
3
  import { I as M } from "./field-base-5547436d.js";
4
4
  import { _ as Q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-32b1f85d.js";
5
- import { b as R } from "./share-field-291c4695.js";
5
+ import { b as R } from "./share-field-1e1a63d3.js";
6
6
  import { w as U } from "./expression-d0d5b99e.js";
7
7
  import { g as D } from "./slot-179831f9.js";
8
- import { D as N } from "./drag-wrapper-97c58b05.js";
8
+ import { D as N } from "./drag-wrapper-4ec26e58.js";
9
9
  import X from "./vertical-progress-widget-fa6b14ff.js";
10
10
  import { p as Y, m as h } from "./enum-type-f19f3faf.js";
11
11
  import "./widget-base-4c2d6265.js";
@@ -19,7 +19,7 @@ import "element-plus";
19
19
  import "./index-6f9269bf.js";
20
20
  import "./_plugin-vue_export-helper-dad06003.js";
21
21
  import "./fieldobj-3d0327a8.js";
22
- import "./multirow-402897e3.js";
22
+ import "./multirow-fdcabee0.js";
23
23
  const Z = O({ componentName: U.FieldWidget }), Se = /* @__PURE__ */ O({
24
24
  ...Z,
25
25
  __name: "progress-widget",
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as _, computed as l, resolveComponent as P, openBlock as s, createBlock as a, mergeProps as b, unref as e, withCtx as n, isRef as W, toHandlers as A, createElementBlock as H, Fragment as M, renderList as R, resolveDynamicComponent as U, normalizeStyle as $, createTextVNode as q, toDisplayString as G } from "vue";
2
- import { b as J } from "./share-field-291c4695.js";
2
+ import { b as J } from "./share-field-1e1a63d3.js";
3
3
  import { I as Q } from "./field-base-5547436d.js";
4
4
  import X from "./form-item-wrapper-120aa413.js";
5
5
  import { D as Y } from "./enum-type-f19f3faf.js";
6
6
  import { w as Z } from "./expression-d0d5b99e.js";
7
7
  import { c as g } from "./uuid-85303a38.js";
8
8
  import "./enum-type-6c2444c7.js";
9
- import "./multirow-402897e3.js";
9
+ import "./multirow-fdcabee0.js";
10
10
  import "./baseImp-f65fae6f.js";
11
11
  import "./icon-e9532b43.js";
12
12
  import "./dialog-7d33aaed.js";
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as y, openBlock as o, createBlock as E, mergeProps as i, unref as t, withCtx as F, createElementBlock as p, createElementVNode as l, createVNode as _, toDisplayString as c, createCommentVNode as g } from "vue";
2
- import { b as I } from "./share-field-291c4695.js";
2
+ import { b as I } from "./share-field-1e1a63d3.js";
3
3
  import { I as N } from "./field-base-5547436d.js";
4
4
  import S from "./form-item-wrapper-120aa413.js";
5
- import { D as f } from "./drag-wrapper-97c58b05.js";
5
+ import { D as f } from "./drag-wrapper-4ec26e58.js";
6
6
  import { w as T } from "./expression-d0d5b99e.js";
7
7
  import { a as u } from "./slot-179831f9.js";
8
8
  import { _ as V } from "./_plugin-vue_export-helper-dad06003.js";
9
9
  import "./enum-type-6c2444c7.js";
10
- import "./multirow-402897e3.js";
10
+ import "./multirow-fdcabee0.js";
11
11
  import "./baseImp-f65fae6f.js";
12
12
  import "./uuid-85303a38.js";
13
13
  import "./enum-type-f19f3faf.js";
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as l, resolveComponent as C, openBlock as i, createBlock as p, mergeProps as m, unref as e, withCtx as F, isRef as O, toHandlers as V } from "vue";
2
- import { b } from "./share-field-291c4695.js";
2
+ import { b } from "./share-field-1e1a63d3.js";
3
3
  import { I as v } from "./field-base-5547436d.js";
4
4
  import x from "./form-item-wrapper-120aa413.js";
5
5
  import { w as z } from "./expression-d0d5b99e.js";
6
6
  import "./enum-type-6c2444c7.js";
7
- import "./multirow-402897e3.js";
7
+ import "./multirow-fdcabee0.js";
8
8
  import "./baseImp-f65fae6f.js";
9
9
  import "./uuid-85303a38.js";
10
10
  import "./enum-type-f19f3faf.js";