hlrender 0.0.171 → 0.0.172

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 (51) hide show
  1. package/{affix-widget-89c96b85.js → affix-widget-9742f486.js} +2 -2
  2. package/{alert-widget-9f7d9224.js → alert-widget-0b0b901d.js} +2 -2
  3. package/{auto-complete-widget-020d698b.js → auto-complete-widget-b3689244.js} +1 -1
  4. package/{avatar-widget-4bb98f07.js → avatar-widget-a4e6454a.js} +2 -2
  5. package/{backtop-widget-91257217.js → backtop-widget-98440467.js} +2 -2
  6. package/{badge-widget-b553a013.js → badge-widget-448cba0e.js} +2 -2
  7. package/{button-widget-f4dddcdc.js → button-widget-c9de3909.js} +2 -2
  8. package/{card-widget-773fb4ea.js → card-widget-9d8eb428.js} +1 -1
  9. package/{cont-cell-widget-4584a6a8.js → cont-cell-widget-e322c312.js} +1 -1
  10. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-ba8024d2.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-0dd5de93.js} +1 -1
  11. package/{cont-widget-22e96c0a.js → cont-widget-02eb35c1.js} +1 -1
  12. package/{default-slot-widget-15c18525.js → default-slot-widget-54d51528.js} +2 -2
  13. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-f391cfe3.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-3ad9d2dc.js} +1 -1
  14. package/{descriptions-widget-9c67d413.js → descriptions-widget-408345fc.js} +1 -1
  15. package/{dialog-widget-47e4c83a.js → dialog-widget-3d01df69.js} +2 -2
  16. package/{divider-widget-6f19639c.js → divider-widget-62060320.js} +2 -2
  17. package/{drag-wrapper-be2dc78b.js → drag-wrapper-8957d58c.js} +1 -1
  18. package/{drawer-widget-82846fa8.js → drawer-widget-66159c57.js} +2 -2
  19. package/{dropdown-widget-3b9660e2.js → dropdown-widget-bc343c1c.js} +1 -1
  20. package/{empty-widget-6ccec39f.js → empty-widget-5718c3af.js} +2 -2
  21. package/{feedback-widget-0e0e82a2.js → feedback-widget-0f384e53.js} +2 -2
  22. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-6e8849f4.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-f81053ae.js} +1 -1
  23. package/{file-upload-widget-c843adbc.js → file-upload-widget-44e2fed9.js} +56 -56
  24. package/{form-widget-7d92ee2e.js → form-widget-af91175c.js} +1 -1
  25. package/{grid-col-widget-944c620b.js → grid-col-widget-dab8cf10.js} +1 -1
  26. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-85076faa.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-712c8407.js} +1 -1
  27. package/{grid-widget-e9cd17b1.js → grid-widget-2768959f.js} +1 -1
  28. package/{input-widget-16fc2818.js → input-widget-84fa86c8.js} +1 -1
  29. package/{link-widget-4af34f2d.js → link-widget-ed4ff383.js} +2 -2
  30. package/{ltable-col-widget-83753de7.js → ltable-col-widget-98583ceb.js} +1 -1
  31. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-8631e516.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-60c20dd5.js} +1 -1
  32. package/{ltable-widget-c4c3311c.js → ltable-widget-e4866265.js} +1 -1
  33. package/{multirow-widget-423e2d9f.js → multirow-widget-977a99bc.js} +1 -1
  34. package/package.json +1 -1
  35. package/{picture-upload-widget-bb8d2bf6.js → picture-upload-widget-59a7fbbe.js} +30 -30
  36. package/{progress-widget-443d4f26.js → progress-widget-98251166.js} +1 -1
  37. package/{range-widget-689d7987.js → range-widget-abab6825.js} +1 -1
  38. package/render.es.js +15 -15
  39. package/render.style.css +1 -1
  40. package/render.umd.js +2 -2
  41. package/{result-widget-2cea0d8e.js → result-widget-b01a20a2.js} +1 -1
  42. package/{tab-pane-widget-cfed436d.js → tab-pane-widget-f87a26f3.js} +1 -1
  43. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-b57f30d3.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-0c663f15.js} +1 -1
  44. package/{table-col-widget-a790f611.js → table-col-widget-76176cc9.js} +2 -2
  45. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-e1703ee8.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-8fecb828.js} +1 -1
  46. package/{table-widget-cecfeada.js → table-widget-7121d85b.js} +2 -2
  47. package/{tabs-widget-28fac8ff.js → tabs-widget-450bd6a1.js} +1 -1
  48. package/{tag-widget-540c484f.js → tag-widget-aa533d14.js} +2 -2
  49. package/{text-widget-9ea271f4.js → text-widget-d01983b0.js} +2 -2
  50. package/{tmpl-widget-d54b553a.js → tmpl-widget-243f65a5.js} +1 -1
  51. package/{wrapper-widget-de9d04c1.js → wrapper-widget-90040616.js} +1 -1
@@ -1,12 +1,12 @@
1
- import { defineComponent as B, shallowRef as pe, onMounted as me, openBlock as l, createElementBlock as n, createBlock as i, resolveDynamicComponent as A, unref as e, defineAsyncComponent as V, computed as _e, ref as E, resolveComponent as P, Fragment as C, createVNode as a, mergeProps as N, withCtx as o, toHandlers as Z, createSlots as ee, createElementVNode as r, createTextVNode as W, toDisplayString as c, createCommentVNode as p, renderList as ye, normalizeProps as he } from "vue";
1
+ import { defineComponent as B, shallowRef as pe, onMounted as me, openBlock as l, createElementBlock as n, createBlock as i, resolveDynamicComponent as A, unref as e, defineAsyncComponent as V, computed as _e, ref as E, resolveComponent as P, Fragment as C, createVNode as a, mergeProps as N, withCtx as o, toHandlers as Z, createSlots as ee, createElementVNode as d, createTextVNode as W, toDisplayString as c, createCommentVNode as p, renderList as ye, normalizeProps as he } from "vue";
2
2
  import { e as u } from "./enum-type-f5ed0249.js";
3
3
  import { u as ge } from "./uuid-4999945f.js";
4
4
  import { I as ke } from "./field-base-5547436d.js";
5
- import { u as fe } from "./share-file-fbe68ab1.js";
6
- import { f as b, w as ve } from "./expression-88659148.js";
5
+ import { u as ve } from "./share-file-fbe68ab1.js";
6
+ import { f as b, w as fe } from "./expression-88659148.js";
7
7
  import we from "./form-item-wrapper-1b7eae49.js";
8
8
  import { g as Ce } from "./slot-4a8c75ab.js";
9
- import { D as be } from "./drag-wrapper-be2dc78b.js";
9
+ import { D as be } from "./drag-wrapper-8957d58c.js";
10
10
  import { UploadFilled as De, Plus as $e, Document as Te, Download as te, CircleCheck as le, Close as oe } from "./index-ddd23411.js";
11
11
  import { L as ae } from "./enum-type-cd0c3fe0.js";
12
12
  import { _ as xe } from "./_plugin-vue_export-helper-dad06003.js";
@@ -35,7 +35,7 @@ const Ue = {
35
35
  },
36
36
  setup(D) {
37
37
  const $ = D, m = pe(), T = () => {
38
- var x, v, y, h, U;
38
+ var x, f, y, h, U;
39
39
  switch ((x = $.file) == null ? void 0 : x.type) {
40
40
  case "application/pdf": {
41
41
  m.value = V(() => import("./_pdf-bfdd10bc.js"));
@@ -46,14 +46,14 @@ const Ue = {
46
46
  break;
47
47
  }
48
48
  default: {
49
- (y = (v = $.file) == null ? void 0 : v.type) != null && y.startsWith("image/") ? m.value = V(() => import("./_image-fab8c8e2.js")) : (U = (h = $.file) == null ? void 0 : h.type) != null && U.startsWith("video/") ? m.value = V(() => import("./_video-21c5b64e.js")) : m.value = V(() => import("./_unsupport-230b4ee9.js"));
49
+ (y = (f = $.file) == null ? void 0 : f.type) != null && y.startsWith("image/") ? m.value = V(() => import("./_image-fab8c8e2.js")) : (U = (h = $.file) == null ? void 0 : h.type) != null && U.startsWith("video/") ? m.value = V(() => import("./_video-21c5b64e.js")) : m.value = V(() => import("./_unsupport-230b4ee9.js"));
50
50
  break;
51
51
  }
52
52
  }
53
53
  };
54
54
  return me(() => {
55
55
  T();
56
- }), (x, v) => {
56
+ }), (x, f) => {
57
57
  var y, h;
58
58
  return l(), n("div", Ue, [
59
59
  (l(), i(A(e(m)), {
@@ -75,15 +75,15 @@ const Ue = {
75
75
  }, He = ["title"], Ie = ["title", "onClick"], Re = {
76
76
  key: 2,
77
77
  class: "fileOperCol"
78
- }, Me = { class: "el-upload-list__item-status-label" }, ze = { style: { "text-align": "right" } }, Ke = B({ componentName: ve.FieldWidget }), qe = /* @__PURE__ */ B({
78
+ }, Me = { class: "el-upload-list__item-status-label" }, ze = { style: { "text-align": "right" } }, Ke = B({ componentName: fe.FieldWidget }), qe = /* @__PURE__ */ B({
79
79
  ...Ke,
80
80
  __name: "file-upload-widget",
81
81
  props: { ...ke },
82
82
  setup(D, { expose: $ }) {
83
- const m = D, { handleDownload: T, slots: x, fieldEditor: v, fieldKey: y, uploadData: h, uploadHeaders: U, uploadBtnHidden: H, uploadTip: I, exposed: se, rules: ne, extendAttrs: S, attrs: k, events: R, fieldObj: ie, fileList: M, exterPreview: re, submitToServer: de, handleManualRemove: z, getRealFile: K, handleStatusChange: q, isAllow: w } = fe(m), ce = _e(() => m.designState ? [{ uid: ge(), url: `${u.i18nt("designer.hint.fileUrl")}`, name: `${u.i18nt("designer.hint.fileName")}` }] : M), G = E({
83
+ const m = D, { handleDownload: T, slots: x, fieldEditor: f, fieldKey: y, uploadData: h, uploadHeaders: U, uploadBtnHidden: H, uploadTip: I, exposed: se, rules: ne, extendAttrs: S, attrs: g, events: R, fieldObj: ie, fileList: M, exterPreview: de, submitToServer: re, handleManualRemove: z, getRealFile: K, handleStatusChange: q, isAllow: w } = ve(m), ce = _e(() => m.designState ? [{ uid: ge(), url: `${u.i18nt("designer.hint.fileUrl")}`, name: `${u.i18nt("designer.hint.fileName")}` }] : M), G = E({
84
84
  "--select-file-action": `'${u.i18nt("render.hint.selectFile")}'`
85
85
  }), j = E(!1), J = E(), L = (F) => {
86
- const s = re(F);
86
+ const s = de(F);
87
87
  if (!(s != null && s.previewed))
88
88
  return j.value = !0, J.value = s == null ? void 0 : s.file, s == null ? void 0 : s.url;
89
89
  };
@@ -93,72 +93,72 @@ const Ue = {
93
93
  a(we, N(F.$props, {
94
94
  propOptions: { fieldObj: e(ie), rules: e(ne) }
95
95
  }), {
96
- default: o(({ data: f }) => {
96
+ default: o(({ data: v }) => {
97
97
  var X, Y;
98
98
  return [
99
99
  e(S).slotable ? (l(), i(Q, N({
100
100
  ref_key: "fieldEditor",
101
- ref: v,
101
+ ref: f,
102
102
  key: e(y)
103
- }, e(k), Z(e(R)), {
103
+ }, e(g), Z(e(R)), {
104
104
  data: e(h),
105
105
  headers: e(U),
106
- style: { ...G.value, ...f.injectStyle },
106
+ style: { ...G.value, ...v.injectStyle },
107
107
  "on-change": e(q),
108
108
  "file-list": e(ce),
109
- class: [f.injectClass, e(H) ? "hideUploadDiv" : ""]
109
+ class: [v.injectClass, e(H) ? "hideUploadDiv" : ""]
110
110
  }), ee({ _: 2 }, [
111
111
  ye(e(Ce)(e(x), F.designState, (Y = e(S)) == null ? void 0 : Y.slotable), (t) => ({
112
112
  name: t == null ? void 0 : t.slotName,
113
- fn: o(({ file: d }) => [
113
+ fn: o(({ file: r }) => [
114
114
  (t == null ? void 0 : t.slotName) === "file" ? (l(), n(C, { key: 0 }, [
115
- t.default ? (l(), i(A(t.default), he(N({ key: 0 }, { row: e(K)(d) })), null, 16)) : p("", !0)
115
+ t.default ? (l(), i(A(t.default), he(N({ key: 0 }, { row: e(K)(r) })), null, 16)) : p("", !0)
116
116
  ], 64)) : (l(), n(C, { key: 1 }, [
117
117
  t.default ? (l(), i(A(t.default), { key: 0 })) : p("", !0)
118
118
  ], 64)),
119
119
  t != null && t.widgetList ? (l(), i(be, N({ key: 2 }, F.$props, {
120
120
  widget: t,
121
- "row-scope": { row: e(K)(d) },
121
+ "row-scope": { row: e(K)(r) },
122
122
  dragTip: `${e(u).i18nt("designer.hint.draggableArea1")} [${t == null ? void 0 : t.slotName}]`
123
123
  }), null, 16, ["widget", "row-scope", "dragTip"])) : p("", !0)
124
124
  ])
125
125
  }))
126
126
  ]), 1040, ["data", "headers", "style", "on-change", "file-list", "class"])) : (l(), i(Q, N({
127
127
  ref_key: "fieldEditor",
128
- ref: v,
128
+ ref: f,
129
129
  key: e(y)
130
- }, e(k), Z(e(R)), {
130
+ }, e(g), Z(e(R)), {
131
131
  data: e(h),
132
132
  headers: e(U),
133
- style: { ...G.value, ...f.injectStyle },
133
+ style: { ...G.value, ...v.injectStyle },
134
134
  "file-list": e(M),
135
135
  "on-change": e(q),
136
- class: [f.injectClass, e(H) ? "hideUploadDiv" : ""]
136
+ class: [v.injectClass, e(H) ? "hideUploadDiv" : ""]
137
137
  }), ee({
138
138
  trigger: o(() => {
139
- var t, d;
139
+ var t, r;
140
140
  return [
141
- (t = e(k)) != null && t.drag ? (l(), n(C, { key: 0 }, [
141
+ (t = e(g)) != null && t.drag ? (l(), n(C, { key: 0 }, [
142
142
  a(_, { class: "el-icon--upload" }, {
143
143
  default: o(() => [
144
144
  a(e(De))
145
145
  ]),
146
146
  _: 1
147
147
  }),
148
- r("div", Ne, [
148
+ d("div", Ne, [
149
149
  W(c(e(u).i18nt("designer.hint.dropFileHere")) + " " + c(e(u).i18nt("designer.hint.or")) + " ", 1),
150
- r("em", null, c(e(u).i18nt("designer.hint.clickToUpload")), 1)
150
+ d("em", null, c(e(u).i18nt("designer.hint.clickToUpload")), 1)
151
151
  ])
152
- ], 64)) : ((d = e(k)) == null ? void 0 : d.listType) === e(ae).pictureCard ? (l(), i(_, { key: 1 }, {
152
+ ], 64)) : ((r = e(g)) == null ? void 0 : r.listType) === e(ae).pictureCard ? (l(), i(_, { key: 1 }, {
153
153
  default: o(() => [
154
154
  a(e($e))
155
155
  ]),
156
156
  _: 1
157
157
  })) : (l(), i(O, { key: 2 }, {
158
158
  default: o(() => {
159
- var g;
159
+ var k;
160
160
  return [
161
- W(c(((g = e(S)) == null ? void 0 : g.uploadTriggerTip) || e(u).i18nt("designer.hint.uploadTriggerTip")), 1)
161
+ W(c(((k = e(S)) == null ? void 0 : k.uploadTriggerTip) || e(u).i18nt("designer.hint.uploadTriggerTip")), 1)
162
162
  ];
163
163
  }),
164
164
  _: 1
@@ -166,12 +166,12 @@ const Ue = {
166
166
  ];
167
167
  }),
168
168
  file: o(({ file: t }) => {
169
- var d;
169
+ var r;
170
170
  return [
171
- ((d = e(k)) == null ? void 0 : d.listType) === e(ae).text ? (l(), n(C, { key: 0 }, [
172
- r("div", Se, [
173
- r("a", je, [
174
- r("div", null, [
171
+ ((r = e(g)) == null ? void 0 : r.listType) === e(ae).text ? (l(), n(C, { key: 0 }, [
172
+ d("div", Se, [
173
+ d("a", je, [
174
+ d("div", null, [
175
175
  a(_, null, {
176
176
  default: o(() => [
177
177
  a(e(Te))
@@ -182,7 +182,7 @@ const Ue = {
182
182
  key: 1,
183
183
  class: "el-upload-list__item-file-name",
184
184
  title: t == null ? void 0 : t.name,
185
- onClick: (g) => L(t)
185
+ onClick: (k) => L(t)
186
186
  }, c(t == null ? void 0 : t.name), 9, We)) : (l(), n("span", {
187
187
  key: 0,
188
188
  class: "el-upload-list__item-file-name",
@@ -191,7 +191,7 @@ const Ue = {
191
191
  ]),
192
192
  e(w)(e(b).allowDownload, t) ? (l(), n("div", Le, [
193
193
  a(_, {
194
- onClick: (g) => e(T)(t)
194
+ onClick: (k) => e(T)(t)
195
195
  }, {
196
196
  default: o(() => [
197
197
  a(e(te))
@@ -201,7 +201,7 @@ const Ue = {
201
201
  ])) : p("", !0)
202
202
  ])
203
203
  ]),
204
- r("label", Oe, [
204
+ d("label", Oe, [
205
205
  (t == null ? void 0 : t.status) === "success" ? (l(), i(_, {
206
206
  key: 0,
207
207
  class: "el-icon--upload-success el-icon--check",
@@ -216,7 +216,7 @@ const Ue = {
216
216
  e(w)(e(b).allowDelete, t) ? (l(), i(_, {
217
217
  key: 0,
218
218
  class: "el-icon--close",
219
- onClick: (g) => e(z)(t)
219
+ onClick: (k) => e(z)(t)
220
220
  }, {
221
221
  default: o(() => [
222
222
  a(e(oe))
@@ -224,18 +224,18 @@ const Ue = {
224
224
  _: 2
225
225
  }, 1032, ["onClick"])) : p("", !0)
226
226
  ], 64)) : (l(), n(C, { key: 1 }, [
227
- r("img", {
227
+ d("img", {
228
228
  class: "el-upload-list__item-thumbnail",
229
229
  src: t == null ? void 0 : t.url,
230
230
  alt: ""
231
231
  }, null, 8, Ee),
232
- r("div", Ae, [
233
- r("a", Be, [
232
+ d("div", Ae, [
233
+ d("a", Be, [
234
234
  e(w)(e(b).allowPreview, t) ? (l(), n("span", {
235
235
  key: 1,
236
236
  class: "el-upload-list__item-file-name",
237
237
  title: t == null ? void 0 : t.name,
238
- onClick: (g) => L(t)
238
+ onClick: (k) => L(t)
239
239
  }, c(t == null ? void 0 : t.name), 9, Ie)) : (l(), n("span", {
240
240
  key: 0,
241
241
  class: "el-upload-list__item-file-name",
@@ -243,7 +243,7 @@ const Ue = {
243
243
  }, c(t == null ? void 0 : t.name), 9, He)),
244
244
  e(w)(e(b).allowDownload, t) ? (l(), n("div", Re, [
245
245
  a(_, {
246
- onClick: (g) => e(T)(t)
246
+ onClick: (k) => e(T)(t)
247
247
  }, {
248
248
  default: o(() => [
249
249
  a(e(te))
@@ -253,7 +253,7 @@ const Ue = {
253
253
  ])) : p("", !0)
254
254
  ])
255
255
  ]),
256
- r("label", Me, [
256
+ d("label", Me, [
257
257
  (t == null ? void 0 : t.status) === "success" ? (l(), i(_, {
258
258
  key: 0,
259
259
  class: "el-icon--upload-success el-icon--check",
@@ -265,10 +265,10 @@ const Ue = {
265
265
  _: 1
266
266
  })) : p("", !0)
267
267
  ]),
268
- e(w)(e(b).allowDelete, t) ? (l(), i(_, {
268
+ !e(g).disabled && e(w)(e(b).allowDelete, t) ? (l(), i(_, {
269
269
  key: 0,
270
270
  class: "el-icon--close",
271
- onClick: (g) => e(z)(t)
271
+ onClick: (k) => e(z)(t)
272
272
  }, {
273
273
  default: o(() => [
274
274
  a(e(oe))
@@ -283,25 +283,25 @@ const Ue = {
283
283
  e(I) ? {
284
284
  name: "tip",
285
285
  fn: o(() => [
286
- r("div", Ve, c(e(I)), 1)
286
+ d("div", Ve, c(e(I)), 1)
287
287
  ]),
288
288
  key: "0"
289
289
  } : void 0,
290
- (X = e(k)) != null && X.autoUpload ? void 0 : {
290
+ (X = e(g)) != null && X.autoUpload ? void 0 : {
291
291
  name: "default",
292
292
  fn: o(() => {
293
293
  var t;
294
294
  return [
295
- (t = e(k)) != null && t.autoUpload ? p("", !0) : (l(), i(O, {
295
+ (t = e(g)) != null && t.autoUpload ? p("", !0) : (l(), i(O, {
296
296
  key: 0,
297
297
  class: "ml-3",
298
298
  type: "primary",
299
- onClick: e(de)
299
+ onClick: e(re)
300
300
  }, {
301
301
  default: o(() => {
302
- var d;
302
+ var r;
303
303
  return [
304
- W(c(((d = e(S)) == null ? void 0 : d.submitUploadTip) || e(u).i18nt("designer.hint.submitUploadTip")), 1)
304
+ W(c(((r = e(S)) == null ? void 0 : r.submitUploadTip) || e(u).i18nt("designer.hint.submitUploadTip")), 1)
305
305
  ];
306
306
  }),
307
307
  _: 1
@@ -317,7 +317,7 @@ const Ue = {
317
317
  }, 16, ["propOptions"]),
318
318
  a(ue, {
319
319
  modelValue: j.value,
320
- "onUpdate:modelValue": s[1] || (s[1] = (f) => j.value = f),
320
+ "onUpdate:modelValue": s[1] || (s[1] = (v) => j.value = v),
321
321
  title: e(u).i18nt("designer.hint.previewDialog"),
322
322
  fullscreen: "",
323
323
  "align-center": "",
@@ -325,10 +325,10 @@ const Ue = {
325
325
  class: "--hl-dialog full-height"
326
326
  }, {
327
327
  footer: o(() => [
328
- r("div", ze, [
328
+ d("div", ze, [
329
329
  a(O, {
330
330
  type: "primary",
331
- onClick: s[0] || (s[0] = (f) => j.value = !1)
331
+ onClick: s[0] || (s[0] = (v) => j.value = !1)
332
332
  }, {
333
333
  default: o(() => [
334
334
  W(c(e(u).i18nt("designer.hint.close")), 1)
@@ -346,7 +346,7 @@ const Ue = {
346
346
  };
347
347
  }
348
348
  });
349
- const wt = /* @__PURE__ */ xe(qe, [["__scopeId", "data-v-58c7f1bf"]]);
349
+ const wt = /* @__PURE__ */ xe(qe, [["__scopeId", "data-v-d324a5f1"]]);
350
350
  export {
351
351
  wt as default
352
352
  };
@@ -1,6 +1,6 @@
1
1
  import { ref as oe, reactive as z, onMounted as fe, nextTick as Ee, defineComponent as ce, resolveComponent as Oe, resolveDirective as je, openBlock as ne, createBlock as ae, mergeProps as K, unref as p, withCtx as ie, withDirectives as xe, toHandlers as Se, withModifiers as Me, createVNode as Re } from "vue";
2
2
  import { I as ye } from "./widget-base-4c2d6265.js";
3
- import { D as ke } from "./drag-wrapper-be2dc78b.js";
3
+ import { D as ke } from "./drag-wrapper-8957d58c.js";
4
4
  import { _ as Ae } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-06fe973d.js";
5
5
  import { w as U, b as le, g as y, f as L, k as Pe } from "./expression-88659148.js";
6
6
  import { u as $e } from "./icon-a0e0cdb0.js";
@@ -1,4 +1,4 @@
1
- import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-85076faa.js";
1
+ import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-712c8407.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 m, computed as l, reactive as C, openBlock as y, createBlock as O, mergeProps as c, unref as o, withCtx as W, createVNode as b } from "vue";
2
2
  import { w as k } from "./expression-88659148.js";
3
3
  import { I as x } from "./widget-base-4c2d6265.js";
4
- import { D as A } from "./drag-wrapper-be2dc78b.js";
4
+ import { D as A } from "./drag-wrapper-8957d58c.js";
5
5
  import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-06fe973d.js";
6
6
  import { b as H } from "./share-field-4b339579.js";
7
7
  import { c as $ } from "./slot-4a8c75ab.js";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as p, openBlock as t, createBlock as s, mergeProps as f, unref as o, withCtx as u, createElementBlock as w, Fragment as b, renderList as h } from "vue";
2
2
  import { g as k, w as y } from "./expression-88659148.js";
3
3
  import { I as C } from "./widget-base-4c2d6265.js";
4
- import { _ as O } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-85076faa.js";
4
+ import { _ as O } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-712c8407.js";
5
5
  import { _ as S } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-06fe973d.js";
6
6
  import { b as j } from "./share-field-4b339579.js";
7
7
  import { c as P } from "./slot-4a8c75ab.js";
@@ -5,7 +5,7 @@ import { b as A } from "./share-field-4b339579.js";
5
5
  import { g as B } from "./slot-4a8c75ab.js";
6
6
  import E from "./form-item-wrapper-1b7eae49.js";
7
7
  import { w as L } from "./expression-88659148.js";
8
- import { D as P } from "./drag-wrapper-be2dc78b.js";
8
+ import { D as P } from "./drag-wrapper-8957d58c.js";
9
9
  import "./widget-base-4c2d6265.js";
10
10
  import "./multirow-37bc1f23.js";
11
11
  import "./baseImp-3a4636f3.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as l, openBlock as e, createBlock as r, mergeProps as g, unref as o, withCtx as w, createCommentVNode as a, createVNode as N } from "vue";
2
2
  import { I as O } from "./field-base-5547436d.js";
3
- import { _ as P } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-f391cfe3.js";
3
+ import { _ as P } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-3ad9d2dc.js";
4
4
  import { w as b } from "./expression-88659148.js";
5
5
  import { _ as C } from "./content-wrapper.vue_vue_type_script_setup_true_lang-d5bf0178.js";
6
6
  import { S as c } from "./index-3b472e10.js";
@@ -18,7 +18,7 @@ import "./_commonjsHelpers-e7ea1525.js";
18
18
  import "element-plus";
19
19
  import "./fieldobj-95fc9eda.js";
20
20
  import "./slot-4a8c75ab.js";
21
- import "./drag-wrapper-be2dc78b.js";
21
+ import "./drag-wrapper-8957d58c.js";
22
22
  import "./_plugin-vue_export-helper-dad06003.js";
23
23
  import "./source-map-b04aec4a.js";
24
24
  import "./esprima-e8d15055.js";
@@ -1,4 +1,4 @@
1
- import { _ as e } from "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-8631e516.js";
1
+ import { _ as e } from "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-60c20dd5.js";
2
2
  const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3
3
  __proto__: null,
4
4
  default: e
@@ -7,7 +7,7 @@ import { b as ye } from "./share-field-4b339579.js";
7
7
  import { c as De } from "./slot-4a8c75ab.js";
8
8
  import { B as k } from "./baseImp-3a4636f3.js";
9
9
  import { S as Oe } from "./index-3b472e10.js";
10
- import { D as _e } from "./drag-wrapper-be2dc78b.js";
10
+ import { D as _e } from "./drag-wrapper-8957d58c.js";
11
11
  import { _ as Be } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-06fe973d.js";
12
12
  const Le = ["title"], Me = _({ componentName: ke.ContainerWidget }), qe = /* @__PURE__ */ _({
13
13
  ...Me,
@@ -2,7 +2,7 @@ import { defineComponent as f, resolveDirective as O, openBlock as t, createBloc
2
2
  import { w as P } from "./expression-88659148.js";
3
3
  import { I as S } from "./widget-base-4c2d6265.js";
4
4
  import { _ as V } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-06fe973d.js";
5
- import { _ as W } from "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-8631e516.js";
5
+ import { _ as W } from "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-60c20dd5.js";
6
6
  import { c as $ } from "./slot-4a8c75ab.js";
7
7
  import { b as z } from "./share-field-4b339579.js";
8
8
  import { _ as D } from "./_plugin-vue_export-helper-dad06003.js";
@@ -4,7 +4,7 @@ import { B as Be, f as q } from "./baseImp-3a4636f3.js";
4
4
  import { I as tt } from "./widget-base-4c2d6265.js";
5
5
  import { b as ot } from "./share-field-4b339579.js";
6
6
  import { _ as nt } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-06fe973d.js";
7
- import { D as L } from "./drag-wrapper-be2dc78b.js";
7
+ import { D as L } from "./drag-wrapper-8957d58c.js";
8
8
  import { a5 as Fe } from "./enum-type-cd0c3fe0.js";
9
9
  import { _ as lt } from "./label-wrapper.vue_vue_type_style_index_0_lang-7854fe6f.js";
10
10
  import { i as it, d as O } from "./slot-4a8c75ab.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hlrender",
3
- "version": "0.0.171",
3
+ "version": "0.0.172",
4
4
  "description": "",
5
5
  "main": "render.umd.js",
6
6
  "private":false,
@@ -1,11 +1,11 @@
1
- import { defineComponent as F, ref as D, computed as Q, resolveComponent as v, openBlock as s, createElementBlock as k, Fragment as X, createVNode as a, mergeProps as I, unref as e, withCtx as l, createBlock as r, toHandlers as Y, createSlots as ee, toDisplayString as g, createCommentVNode as d, createTextVNode as V, createElementVNode as u } from "vue";
1
+ import { defineComponent as F, ref as D, computed as Q, resolveComponent as k, openBlock as s, createElementBlock as f, Fragment as X, createVNode as a, mergeProps as I, unref as e, withCtx as l, createBlock as r, toHandlers as Y, createSlots as ee, toDisplayString as g, createCommentVNode as p, createTextVNode as V, createElementVNode as u } from "vue";
2
2
  import { e as E } from "./enum-type-f5ed0249.js";
3
3
  import { Plus as te, Check as oe, ZoomIn as le, Delete as se, Download as ae } from "./index-ddd23411.js";
4
4
  import { I as ie } from "./field-base-5547436d.js";
5
5
  import { u as ne } from "./share-file-fbe68ab1.js";
6
6
  import re from "./form-item-wrapper-1b7eae49.js";
7
- import { f as h, w as pe } from "./expression-88659148.js";
8
- import { ElImageViewer as de } from "element-plus";
7
+ import { f as h, w as de } from "./expression-88659148.js";
8
+ import { ElImageViewer as pe } from "element-plus";
9
9
  import { L as ue } from "./enum-type-cd0c3fe0.js";
10
10
  import { _ as ce } from "./_plugin-vue_export-helper-dad06003.js";
11
11
  import "./widget-base-4c2d6265.js";
@@ -27,23 +27,23 @@ import "./esprima-e8d15055.js";
27
27
  const me = {
28
28
  key: 0,
29
29
  class: "el-upload__tip"
30
- }, _e = ["src"], fe = { class: "el-upload-list__item-status-label" }, ve = { class: "el-upload-list__item-actions" }, ke = ["onClick"], ge = { class: "el-upload-list__item-delete" }, he = { class: "el-upload-list__item-delete" }, ye = F({ componentName: pe.FieldWidget }), we = /* @__PURE__ */ F({
30
+ }, _e = ["src"], ve = { class: "el-upload-list__item-status-label" }, ke = { class: "el-upload-list__item-actions" }, fe = ["onClick"], ge = { class: "el-upload-list__item-delete" }, he = { class: "el-upload-list__item-delete" }, ye = F({ componentName: de.FieldWidget }), we = /* @__PURE__ */ F({
31
31
  ...ye,
32
32
  __name: "picture-upload-widget",
33
33
  props: { ...ie },
34
34
  setup(P, { expose: S }) {
35
- const U = P, { handleDownload: N, fieldEditor: $, fieldModel: Ce, fieldKey: j, fileList: i, attrs: c, events: B, rules: O, uploadTip: y, uploadData: W, exterPreview: A, existEvent: be, getRealFile: xe, handleEvent: Te, extendAttrs: w, handleStatusChange: H, uploadBtnHidden: M, exposed: R, fieldObj: z, isSameFile: K, submitToServer: Z, isAllow: m, handleManualRemove: q } = ne(U), _ = D(!1), C = D(), G = (o) => {
36
- const p = A(o);
37
- p != null && p.previewed || (C.value = i == null ? void 0 : i.findIndex((n) => K(n, o)), _.value = !0);
35
+ const U = P, { handleDownload: N, fieldEditor: $, fieldModel: Ce, fieldKey: j, fileList: i, attrs: c, events: B, rules: O, uploadTip: y, uploadData: W, exterPreview: A, existEvent: xe, getRealFile: be, handleEvent: Te, extendAttrs: w, handleStatusChange: H, uploadBtnHidden: M, exposed: R, fieldObj: z, isSameFile: K, submitToServer: Z, isAllow: m, handleManualRemove: q } = ne(U), _ = D(!1), C = D(), G = (o) => {
36
+ const d = A(o);
37
+ d != null && d.previewed || (C.value = i == null ? void 0 : i.findIndex((n) => K(n, o)), _.value = !0);
38
38
  }, J = Q(() => i == null ? void 0 : i.filter((o) => !!(o != null && o.url)).map((o) => o == null ? void 0 : o.url));
39
- return S({ ...R }), (o, p) => {
40
- const n = v("el-icon"), b = v("el-button"), L = v("el-upload");
41
- return s(), k(X, null, [
39
+ return S({ ...R }), (o, d) => {
40
+ const n = k("el-icon"), x = k("el-button"), L = k("el-upload");
41
+ return s(), f(X, null, [
42
42
  a(re, I(o.$props, {
43
43
  propOptions: { fieldObj: e(z), rules: e(O) }
44
44
  }), {
45
- default: l(({ data: f }) => {
46
- var x;
45
+ default: l(({ data: v }) => {
46
+ var b;
47
47
  return [
48
48
  (s(), r(L, I({
49
49
  ref_key: "fieldEditor",
@@ -53,11 +53,11 @@ const me = {
53
53
  data: e(W),
54
54
  "on-change": e(H),
55
55
  "file-list": e(i),
56
- style: f.injectStyle,
57
- class: [f.injectClass, e(M) ? "hideUploadDiv" : ""]
56
+ style: v.injectStyle,
57
+ class: [v.injectClass, e(M) ? "hideUploadDiv" : ""]
58
58
  }), ee({
59
59
  tip: l(() => [
60
- e(y) ? (s(), k("div", me, g(e(y)), 1)) : d("", !0)
60
+ e(y) ? (s(), f("div", me, g(e(y)), 1)) : p("", !0)
61
61
  ]),
62
62
  trigger: l(() => [
63
63
  e(c).listType === e(ue).pictureCard ? (s(), r(n, { key: 0 }, {
@@ -65,7 +65,7 @@ const me = {
65
65
  a(e(te))
66
66
  ]),
67
67
  _: 1
68
- })) : (s(), r(b, { key: 1 }, {
68
+ })) : (s(), r(x, { key: 1 }, {
69
69
  default: l(() => {
70
70
  var t;
71
71
  return [
@@ -81,7 +81,7 @@ const me = {
81
81
  src: t == null ? void 0 : t.url,
82
82
  alt: ""
83
83
  }, null, 8, _e),
84
- u("label", fe, [
84
+ u("label", ve, [
85
85
  (t == null ? void 0 : t.status) === "success" ? (s(), r(n, {
86
86
  key: 0,
87
87
  type: "success",
@@ -91,10 +91,10 @@ const me = {
91
91
  a(e(oe))
92
92
  ]),
93
93
  _: 1
94
- })) : d("", !0)
94
+ })) : p("", !0)
95
95
  ]),
96
- u("span", ve, [
97
- e(m)(e(h).allowPreview, t) ? (s(), k("span", {
96
+ u("span", ke, [
97
+ e(m)(e(h).allowPreview, t) ? (s(), f("span", {
98
98
  key: 0,
99
99
  class: "el-upload-list__item-preview",
100
100
  onClick: (T) => G(t)
@@ -105,9 +105,9 @@ const me = {
105
105
  ]),
106
106
  _: 1
107
107
  })
108
- ], 8, ke)) : d("", !0),
108
+ ], 8, fe)) : p("", !0),
109
109
  u("span", ge, [
110
- e(m)(e(h).allowDelete, t) ? (s(), r(n, {
110
+ !e(c).disabled && e(m)(e(h).allowDelete, t) ? (s(), r(n, {
111
111
  key: 0,
112
112
  onClick: (T) => e(q)(t)
113
113
  }, {
@@ -115,7 +115,7 @@ const me = {
115
115
  a(e(se))
116
116
  ]),
117
117
  _: 2
118
- }, 1032, ["onClick"])) : d("", !0)
118
+ }, 1032, ["onClick"])) : p("", !0)
119
119
  ]),
120
120
  u("span", he, [
121
121
  e(m)(e(h).allowDownload, t) ? (s(), r(n, {
@@ -126,16 +126,16 @@ const me = {
126
126
  a(e(ae))
127
127
  ]),
128
128
  _: 2
129
- }, 1032, ["onClick"])) : d("", !0)
129
+ }, 1032, ["onClick"])) : p("", !0)
130
130
  ])
131
131
  ])
132
132
  ]),
133
133
  _: 2
134
134
  }, [
135
- (x = e(c)) != null && x.autoUpload ? void 0 : {
135
+ (b = e(c)) != null && b.autoUpload ? void 0 : {
136
136
  name: "default",
137
137
  fn: l(() => [
138
- a(b, {
138
+ a(x, {
139
139
  class: "ml-3",
140
140
  type: "primary",
141
141
  onClick: e(Z)
@@ -156,17 +156,17 @@ const me = {
156
156
  }),
157
157
  _: 1
158
158
  }, 16, ["propOptions"]),
159
- _.value ? (s(), r(e(de), {
159
+ _.value ? (s(), r(e(pe), {
160
160
  key: 0,
161
161
  "url-list": e(J),
162
162
  "initial-index": C.value,
163
- onClose: p[0] || (p[0] = (f) => _.value = !1)
164
- }, null, 8, ["url-list", "initial-index"])) : d("", !0)
163
+ onClose: d[0] || (d[0] = (v) => _.value = !1)
164
+ }, null, 8, ["url-list", "initial-index"])) : p("", !0)
165
165
  ], 64);
166
166
  };
167
167
  }
168
168
  });
169
- const Xe = /* @__PURE__ */ ce(we, [["__scopeId", "data-v-e4bbff07"]]);
169
+ const Xe = /* @__PURE__ */ ce(we, [["__scopeId", "data-v-71004479"]]);
170
170
  export {
171
171
  Xe as default
172
172
  };
@@ -5,7 +5,7 @@ import { _ as Q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_for
5
5
  import { b as R } from "./share-field-4b339579.js";
6
6
  import { w as U } from "./expression-88659148.js";
7
7
  import { g as D } from "./slot-4a8c75ab.js";
8
- import { D as N } from "./drag-wrapper-be2dc78b.js";
8
+ import { D as N } from "./drag-wrapper-8957d58c.js";
9
9
  import X from "./vertical-progress-widget-fa6b14ff.js";
10
10
  import { p as Y, m as _ } from "./enum-type-cd0c3fe0.js";
11
11
  import "./widget-base-4c2d6265.js";
@@ -2,7 +2,7 @@ import { defineComponent as y, openBlock as o, createBlock as F, mergeProps as i
2
2
  import { b as N } from "./share-field-4b339579.js";
3
3
  import { I as S } from "./field-base-5547436d.js";
4
4
  import T from "./form-item-wrapper-1b7eae49.js";
5
- import { D as f } from "./drag-wrapper-be2dc78b.js";
5
+ import { D as f } from "./drag-wrapper-8957d58c.js";
6
6
  import { w as V } from "./expression-88659148.js";
7
7
  import { d as u } from "./slot-4a8c75ab.js";
8
8
  import { _ as b } from "./_plugin-vue_export-helper-dad06003.js";