hlrender 0.0.249 → 0.0.250

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 (125) hide show
  1. package/{_pdf-c7a8dc5c.js → _pdf-cb2a31ab.js} +2 -2
  2. package/{_txt-ed537805.js → _txt-391e502f.js} +2 -2
  3. package/{affix-widget-45213c27.js → affix-widget-ed078571.js} +10 -10
  4. package/{alert-widget-115961d7.js → alert-widget-f1deaa44.js} +10 -10
  5. package/{anchor-widget-3e4ab1f0.js → anchor-widget-dfb743e9.js} +7 -7
  6. package/{auto-complete-widget-711a9b79.js → auto-complete-widget-ec5c9ba8.js} +9 -9
  7. package/{avatar-widget-32febad5.js → avatar-widget-98a4d28f.js} +10 -10
  8. package/{backtop-widget-981be562.js → backtop-widget-a7418f1f.js} +10 -10
  9. package/{badge-widget-c4b3fa0e.js → badge-widget-c5ece7d7.js} +10 -10
  10. package/{barcode-widget-976e72ec.js → barcode-widget-10d33015.js} +7 -7
  11. package/{baseImp-bb323303.js → baseImp-9c1c3476.js} +2 -2
  12. package/{breadcrumb-widget-29191aec.js → breadcrumb-widget-ec7cfa74.js} +7 -7
  13. package/{button-widget-a7a3c1a6.js → button-widget-0b5437e1.js} +10 -10
  14. package/{cache-widget-aedd240d.js → cache-widget-2242443d.js} +8 -8
  15. package/{card-widget-70faaaec.js → card-widget-db123c7c.js} +8 -8
  16. package/{carousel-widget-648d464b.js → carousel-widget-f8b3c553.js} +8 -8
  17. package/{cascader-widget-811067ff.js → cascader-widget-1d7a5f6a.js} +8 -8
  18. package/{chart-widget-ea492a07.js → chart-widget-87991d6b.js} +7 -7
  19. package/{checkbox-widget-196a55b3.js → checkbox-widget-e55997fa.js} +8 -8
  20. package/{collapse-widget-93cee9c9.js → collapse-widget-a704a63e.js} +8 -8
  21. package/{color-picker-widget-1a90ee74.js → color-picker-widget-508c78ab.js} +8 -8
  22. package/{cont-cell-widget-5d2102f6.js → cont-cell-widget-3103731d.js} +1 -1
  23. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-5888607d.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-a61c96aa.js} +5 -5
  24. package/{cont-widget-f4620d0d.js → cont-widget-4f328caa.js} +5 -5
  25. package/{content-wrapper-1e0bc2b7.js → content-wrapper-8467d706.js} +3 -3
  26. package/{content-wrapper.vue_vue_type_script_setup_true_lang-ea363bf5.js → content-wrapper.vue_vue_type_script_setup_true_lang-a0a33278.js} +2 -2
  27. package/{countdown-widget-125d198c.js → countdown-widget-5056bc94.js} +10 -10
  28. package/{date-picker-range-widget-d4cd1db2.js → date-picker-range-widget-9ecd14c4.js} +8 -8
  29. package/{date-picker-widget-4df25f35.js → date-picker-widget-224cb94c.js} +8 -8
  30. package/{default-slot-widget-373fb900.js → default-slot-widget-c6510369.js} +8 -8
  31. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-0e47d408.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-af637950.js} +5 -5
  32. package/{descriptions-widget-2067c26b.js → descriptions-widget-4c18d8b0.js} +8 -8
  33. package/{dialog-widget-c3c9b306.js → dialog-widget-e688ccf0.js} +9 -9
  34. package/{divider-widget-b8a0d684.js → divider-widget-525fd828.js} +10 -10
  35. package/{drag-wrapper-4dd92bd6.js → drag-wrapper-62c0094c.js} +5 -5
  36. package/{drawer-widget-3f2ca895.js → drawer-widget-aacdcb21.js} +9 -9
  37. package/{dropdown-widget-1575b141.js → dropdown-widget-be752f62.js} +8 -8
  38. package/{empty-widget-4fdb6ada.js → empty-widget-8f7efe98.js} +10 -10
  39. package/{expression-ce9920fa.js → expression-fb652f29.js} +1 -1
  40. package/{feedback-widget-3450209d.js → feedback-widget-ad8af409.js} +9 -9
  41. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-98047669.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-2ec0b644.js} +5 -5
  42. package/{file-upload-widget-c2c6b0a1.js → file-upload-widget-25414c91.js} +12 -12
  43. package/{form-item-wrapper-0c55cd05.js → form-item-wrapper-b34acfff.js} +4 -4
  44. package/form-widget-d584d0a8.js +235 -0
  45. package/{grid-col-widget-99fcb291.js → grid-col-widget-139b7c4c.js} +1 -1
  46. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-13fe1f20.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-972ab63e.js} +5 -5
  47. package/{grid-widget-dfe416ed.js → grid-widget-f6a55adb.js} +5 -5
  48. package/{hcard-widget-16e7904c.js → hcard-widget-6c37ac5a.js} +8 -8
  49. package/{html-text-widget-cee1b077.js → html-text-widget-bfeb2d4a.js} +8 -8
  50. package/{icon-widget-6e897414.js → icon-widget-16f9b86e.js} +7 -7
  51. package/{iframe-widget-21eb9e79.js → iframe-widget-afed2d47.js} +7 -7
  52. package/{image-widget-6ca35f6d.js → image-widget-e0b56b05.js} +7 -7
  53. package/{index-f1a0889e.js → index-4c98d500.js} +2 -2
  54. package/{input-number-widget-71259fd5.js → input-number-widget-97b26122.js} +8 -8
  55. package/{input-tag-widget-119df21d.js → input-tag-widget-68de8697.js} +9 -9
  56. package/{input-widget-ab4e257b.js → input-widget-3f90aa6c.js} +9 -9
  57. package/{link-widget-3142955f.js → link-widget-c4a07221.js} +10 -10
  58. package/{ltable-col-widget-8e2b357a.js → ltable-col-widget-56f2b4ca.js} +1 -1
  59. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-8307af6b.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-f7424ccf.js} +7 -7
  60. package/{ltable-widget-4b50f573.js → ltable-widget-4ba99063.js} +5 -5
  61. package/{mention-widget-8f6ac4e0.js → mention-widget-16f93f89.js} +9 -9
  62. package/{menu-widget-90431960.js → menu-widget-7ed14190.js} +8 -8
  63. package/{model-widget-36e09346.js → model-widget-ef74ee69.js} +7 -7
  64. package/{multirow-1063090e.js → multirow-55dfa7bf.js} +71 -71
  65. package/{multirow-widget-9a662d6f.js → multirow-widget-98d58cbc.js} +128 -128
  66. package/package.json +1 -1
  67. package/{pagination-widget-9b3054bf.js → pagination-widget-11736a85.js} +7 -7
  68. package/{picture-upload-widget-3855c224.js → picture-upload-widget-07a249c5.js} +9 -9
  69. package/{progress-widget-65c6c07c.js → progress-widget-6c4a0c98.js} +8 -8
  70. package/{qrcode-widget-bbd31f33.js → qrcode-widget-208ca190.js} +7 -7
  71. package/{radio-widget-926c0ba1.js → radio-widget-6bb674ae.js} +8 -8
  72. package/{range-widget-638cf55b.js → range-widget-211a09a3.js} +9 -9
  73. package/{rate-widget-3173ff95.js → rate-widget-306157b2.js} +8 -8
  74. package/render.es.js +25 -25
  75. package/render.style.css +1 -1
  76. package/render.umd.js +321 -321
  77. package/{result-widget-70e4db33.js → result-widget-cae209ba.js} +8 -8
  78. package/{rich-editor-widget-e9a59c4e.js → rich-editor-widget-83444ba6.js} +8 -8
  79. package/{router-widget-ca2b99db.js → router-widget-5dcbe53a.js} +7 -7
  80. package/{segmented-widget-bc2e4530.js → segmented-widget-66af8f3f.js} +7 -7
  81. package/{select-widget-c03d727f.js → select-widget-afa580d0.js} +8 -8
  82. package/{sfc-dd434d0b.js → sfc-751c17f2.js} +4 -4
  83. package/{sfcview-cfd26217.js → sfcview-f2e4159b.js} +3 -3
  84. package/share-field-69602159.js +819 -0
  85. package/{share-file-b4beb5b0.js → share-file-1a476c02.js} +3 -3
  86. package/{skeleton-widget-10baadb1.js → skeleton-widget-6507cc5d.js} +10 -10
  87. package/{skeletonItem-widget-aa1281c0.js → skeletonItem-widget-4cb52929.js} +7 -7
  88. package/{slider-widget-501a335d.js → slider-widget-e5e57d6b.js} +8 -8
  89. package/slot-44e26cb4.js +337 -0
  90. package/{space-widget-3658d4ba.js → space-widget-efae186b.js} +8 -8
  91. package/{splitter-widget-eef8be7c.js → splitter-widget-745c9726.js} +8 -8
  92. package/{static-text-widget-466da6b8.js → static-text-widget-5fc93b3d.js} +8 -8
  93. package/{statistic-widget-9db7eff0.js → statistic-widget-9348554d.js} +10 -10
  94. package/{steps-widget-c0926f24.js → steps-widget-677ed19e.js} +7 -7
  95. package/{subMenu-widget-053433b9.js → subMenu-widget-09b1a1c0.js} +3 -3
  96. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-3a5390b6.js → subMenu-widget.vue_vue_type_script_setup_true_lang-27267c3d.js} +1 -1
  97. package/{switch-widget-a8c0010d.js → switch-widget-ec135777.js} +8 -8
  98. package/{tab-pane-widget-7b0f11f5.js → tab-pane-widget-3ca1e884.js} +1 -1
  99. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-b0fb6a2b.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-149c1226.js} +5 -5
  100. package/{table-col-widget-2521f42c.js → table-col-widget-b0145a20.js} +7 -7
  101. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-7c6e75cd.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-3a997aff.js} +4 -4
  102. package/{table-widget-c2cfcb11.js → table-widget-724571c2.js} +95 -94
  103. package/{tabs-widget-ebadc3f8.js → tabs-widget-b2d9f190.js} +6 -6
  104. package/{tag-widget-75622762.js → tag-widget-1a07578c.js} +10 -10
  105. package/{text-widget-f4c126a3.js → text-widget-ace73631.js} +10 -10
  106. package/{textarea-widget-316b73a3.js → textarea-widget-2b6edce3.js} +8 -8
  107. package/{time-picker-range-widget-b32bf4c5.js → time-picker-range-widget-9127266d.js} +8 -8
  108. package/{time-picker-widget-8fa671d0.js → time-picker-widget-3f800a67.js} +8 -8
  109. package/{time-select-widget-8eaa79a7.js → time-select-widget-43783de2.js} +8 -8
  110. package/{timeline-widget-f8f659d9.js → timeline-widget-b709e645.js} +8 -8
  111. package/tmpl-widget-e624dbba.js +97 -0
  112. package/{tooltip-widget-63dfa6e9.js → tooltip-widget-8f02658d.js} +8 -8
  113. package/tour-widget-5f241236.js +148 -0
  114. package/{transfer-widget-32971695.js → transfer-widget-9ddf28a2.js} +9 -9
  115. package/{tree-select-widget-45487101.js → tree-select-widget-48f73751.js} +8 -8
  116. package/{tree-widget-fe156721.js → tree-widget-d1ed2356.js} +7 -7
  117. package/{verifycode-widget-3ccc989a.js → verifycode-widget-3d0412b4.js} +7 -7
  118. package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3748a4a5.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js} +3 -3
  119. package/wrapper-widget-f7844eb6.js +91 -0
  120. package/form-widget-4257b3a9.js +0 -229
  121. package/share-field-1e759a0d.js +0 -812
  122. package/slot-f8ccd25c.js +0 -329
  123. package/tmpl-widget-31f94d08.js +0 -96
  124. package/tour-widget-8c2f4063.js +0 -148
  125. package/wrapper-widget-fbfcdd18.js +0 -84
@@ -1,69 +1,69 @@
1
- import { defineComponent as Qe, computed as y, ref as Xe, watch as Ye, onMounted as et, nextTick as tt, resolveComponent as O, openBlock as n, createBlock as p, mergeProps as A, unref as e, withCtx as i, createElementBlock as c, Fragment as D, createVNode as m, createTextVNode as u, toDisplayString as d, createCommentVNode as r, renderList as ae, normalizeClass as We, createElementVNode as R, normalizeStyle as ot } from "vue";
2
- import { e as L, i as lt, Z as nt, _ as at, $ as it, a0 as st } from "./enum-type-8bbffeb3.js";
3
- import { B as ie, f as Z } from "./baseImp-bb323303.js";
4
- import { I as rt } from "./widget-base-8eece820.js";
5
- import { b as dt, a as ut } from "./share-field-1e759a0d.js";
6
- import { _ as ct } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3748a4a5.js";
7
- import { D as x } from "./drag-wrapper-4dd92bd6.js";
8
- import { ag as Fe, W as pt } from "./enum-type-80708bd8.js";
9
- import { _ as mt } from "./label-wrapper.vue_vue_type_style_index_0_lang-8eedceba.js";
10
- import { i as vt, d as I } from "./slot-f8ccd25c.js";
11
- import { c as ft } from "./multirow-1063090e.js";
1
+ import { defineComponent as Xe, computed as y, inject as Ye, ref as et, watch as tt, onMounted as ot, nextTick as lt, resolveComponent as O, openBlock as n, createBlock as p, mergeProps as A, unref as e, withCtx as i, createElementBlock as c, Fragment as D, createVNode as m, createTextVNode as u, toDisplayString as d, createCommentVNode as r, renderList as ae, normalizeClass as We, createElementVNode as R, normalizeStyle as nt } from "vue";
2
+ import { e as L, i as at, Z as it, _ as st, $ as rt, a0 as dt } from "./enum-type-8bbffeb3.js";
3
+ import { B as ie, f as Z } from "./baseImp-9c1c3476.js";
4
+ import { I as ut } from "./widget-base-8eece820.js";
5
+ import { b as ct, a as pt } from "./share-field-69602159.js";
6
+ import { _ as mt } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js";
7
+ import { D as x } from "./drag-wrapper-62c0094c.js";
8
+ import { ag as Fe, W as ft } from "./enum-type-80708bd8.js";
9
+ import { _ as vt } from "./label-wrapper.vue_vue_type_style_index_0_lang-8eedceba.js";
10
+ import { i as wt, d as V } from "./slot-44e26cb4.js";
11
+ import { c as _t } from "./multirow-55dfa7bf.js";
12
12
  import { Plus as $, Delete as G, SortUp as J, SortDown as K } from "./index-6bcfdc22.js";
13
- import { _ as wt } from "./_plugin-vue_export-helper-dad06003.js";
14
- import "./expression-ce9920fa.js";
15
- import "./source-map-b04aec4a.js";
16
- import "./uuid-f2110dfe.js";
17
- import "./_commonjsHelpers-e7ea1525.js";
18
- import "./esprima-e8d15055.js";
13
+ import { d as gt } from "./expression-fb652f29.js";
14
+ import { _ as kt } from "./_plugin-vue_export-helper-dad06003.js";
19
15
  import "./icon-1fc5d00d.js";
20
16
  import "./dialog-eea5b71b.js";
17
+ import "./_commonjsHelpers-e7ea1525.js";
18
+ import "./uuid-f2110dfe.js";
21
19
  import "element-plus";
22
- import "./index-f1a0889e.js";
20
+ import "./index-4c98d500.js";
23
21
  import "./index-ae7a8101.js";
24
22
  import "./fieldobj-0f01de3c.js";
25
23
  import "./field-base-1acf3ada.js";
26
- const _t = {
24
+ import "./source-map-b04aec4a.js";
25
+ import "./esprima-e8d15055.js";
26
+ const bt = {
27
27
  key: 0,
28
28
  class: "multiRowLine"
29
- }, gt = {
29
+ }, yt = {
30
30
  key: 1,
31
31
  class: "horialCenter row_bottom"
32
- }, kt = {
32
+ }, ht = {
33
33
  key: 0,
34
34
  class: "horialCenter row_bottom"
35
- }, bt = { key: 0 }, yt = {
35
+ }, Rt = { key: 0 }, Ct = {
36
36
  class: "td2",
37
37
  style: { width: "50px" }
38
- }, ht = {
38
+ }, Tt = {
39
39
  key: 0,
40
40
  class: "td2",
41
41
  style: { width: "50px" }
42
- }, Rt = {
42
+ }, Dt = {
43
43
  key: 0,
44
44
  class: "btns"
45
- }, Ct = {
45
+ }, Lt = {
46
46
  key: 0,
47
47
  class: "detailTable"
48
- }, Tt = ["colspan"], Dt = { class: "nolabel tr2" }, Lt = { class: "rowIndex" }, $t = {
48
+ }, $t = ["colspan"], Nt = { class: "nolabel tr2" }, St = { class: "rowIndex" }, At = {
49
49
  key: 0,
50
50
  class: "btns"
51
- }, Nt = { key: 0 }, St = ["colspan"], At = ["colspan"], Bt = {
51
+ }, Bt = { key: 0 }, Wt = ["colspan"], Ft = ["colspan"], Ot = {
52
52
  key: 0,
53
53
  class: "horialCenter row_bottom"
54
- }, Wt = {
54
+ }, xt = {
55
55
  key: 0,
56
56
  class: "horialCenter row_bottom"
57
- }, Ft = {
57
+ }, Vt = {
58
58
  key: 1,
59
59
  class: "horialCenter row_bottom"
60
- }, Ot = /* @__PURE__ */ Qe({
60
+ }, It = /* @__PURE__ */ Xe({
61
61
  __name: "multirow-widget",
62
62
  props: {
63
- ...rt
63
+ ...ut
64
64
  },
65
65
  setup(Oe, { expose: xe }) {
66
- const se = Oe, { slots: Q, exposed: N, objFieldModel: re, attrs: o, events: de, fieldObj: Ie, fieldName: Me } = dt(se), B = y(() => vt(Q.value)), { widgetRefList: S, rowsData: g, newSlot: Ve, getWidgetOption: ue, newFieldModelFromSlot: ze, removeFieldModelFromSlot: Ue, getValue: ce, setValue: He, findWidgetByNameWithSibId: je, getSlotFromData: Ee, emit$: Pe } = ft({ ...se, fieldName: Me.value, setValue: N == null ? void 0 : N.setValue }), b = y(() => {
66
+ const se = Oe, { slots: Q, exposed: N, objFieldModel: re, attrs: o, events: de, fieldObj: Ve, fieldName: Ie } = ct(se), B = y(() => wt(Q.value)), Me = Ye(gt.globalConfig, {}), { widgetRefList: S, rowsData: g, newSlot: ze, getWidgetOption: ue, newFieldModelFromSlot: Ue, removeFieldModelFromSlot: He, getValue: ce, setValue: je, findWidgetByNameWithSibId: Ee, getSlotFromData: Pe, emit$: qe } = _t({ ...se, globalConfig: Me, fieldName: Ie.value, setValue: N == null ? void 0 : N.setValue }), b = y(() => {
67
67
  var t;
68
68
  return (t = o == null ? void 0 : o.value) == null ? void 0 : t.disabled;
69
69
  }), X = y(() => {
@@ -75,7 +75,7 @@ const _t = {
75
75
  }), me = y(() => {
76
76
  var t;
77
77
  return (t = o.value) == null ? void 0 : t.allowDelete;
78
- }), ve = y(() => {
78
+ }), fe = y(() => {
79
79
  var t;
80
80
  return (t = o.value) == null ? void 0 : t.showDetail;
81
81
  }), Y = y(() => {
@@ -83,47 +83,47 @@ const _t = {
83
83
  return (t = o.value) == null ? void 0 : t.showLimit;
84
84
  }), W = y(() => X.value || pe.value || me.value), ee = y(() => W != null && W.value ? 2 : 1), te = y(() => {
85
85
  var t;
86
- return (t = le(I(B.value, "row"))) == null ? void 0 : t.length;
86
+ return (t = le(V(B.value, "row"))) == null ? void 0 : t.length;
87
87
  }), oe = y(() => {
88
88
  var t, s;
89
89
  return L.i18nt("designer.hint.multirowtip") + ((t = o.value) == null ? void 0 : t.minRowNum) + "-" + ((s = o.value) == null ? void 0 : s.maxRowNum);
90
90
  }), H = L.i18nt("designer.hint.sortUp"), j = L.i18nt("designer.hint.sortDown"), E = L.i18nt("designer.hint.deleteRow"), C = L.i18nt("designer.hint.addNewRow"), F = y(() => (g == null ? void 0 : g.length) || 0), P = () => {
91
91
  var t = ce();
92
92
  re.value = t, N.setValue(t);
93
- }, M = (t) => {
94
- var f, h;
93
+ }, I = (t) => {
94
+ var v, h;
95
95
  if ((g == null ? void 0 : g.length) >= o.value.maxRowNum) {
96
96
  Z.info(L.i18nt("designer.hint.maxRowTip"));
97
97
  return;
98
98
  }
99
- const s = Ve(Q.value);
100
- nt(g, t, s), ze(s, ge({}, t + 1)), P(), (h = (f = de.value).addRow) == null || h.call(f, t);
101
- }, fe = (t) => {
102
- var f, h;
99
+ const s = ze(Q.value);
100
+ it(g, t, s), Ue(s, ge({}, t + 1)), P(), (h = (v = de.value).addRow) == null || h.call(v, t);
101
+ }, ve = (t) => {
102
+ var v, h;
103
103
  if ((g == null ? void 0 : g.length) <= o.value.minRowNum) {
104
104
  Z.info(L.i18nt("designer.hint.minRowTip"));
105
105
  return;
106
106
  }
107
107
  const s = g[t];
108
- at(g, t), Ue(s), P(), (h = (f = de.value).deleteRow) == null || h.call(f, t);
108
+ st(g, t), He(s), P(), (h = (v = de.value).deleteRow) == null || h.call(v, t);
109
109
  }, we = (t) => {
110
110
  if (t === g.length - 1) {
111
111
  Z.info(L.i18nt("designer.hint.moveDownLastChildHint"));
112
112
  return;
113
113
  }
114
- it(g, t), P();
114
+ rt(g, t), P();
115
115
  }, _e = (t) => {
116
116
  if (t === 0) {
117
117
  Z.info(L.i18nt("designer.hint.moveUpFirstChildHint"));
118
118
  return;
119
119
  }
120
- st(g, t), P();
121
- }, le = (t) => t == null ? void 0 : t.widgetList, ne = Xe(!0), qe = (t) => {
122
- var s, f;
123
- return (s = o.value) != null && s.dataFormat ? (f = o.value) == null ? void 0 : f.dataFormat(t) : t;
120
+ dt(g, t), P();
121
+ }, le = (t) => t == null ? void 0 : t.widgetList, ne = et(!0), Ze = (t) => {
122
+ var s, v;
123
+ return (s = o.value) != null && s.dataFormat ? (v = o.value) == null ? void 0 : v.dataFormat(t) : t;
124
124
  }, ge = (t, s) => {
125
- var f, h;
126
- return (f = o.value) != null && f.rowDataFormat ? (h = o.value) == null ? void 0 : h.rowDataFormat(t, s) : t;
125
+ var v, h;
126
+ return (v = o.value) != null && v.rowDataFormat ? (h = o.value) == null ? void 0 : h.rowDataFormat(t, s) : t;
127
127
  }, T = y({
128
128
  get() {
129
129
  return g;
@@ -131,48 +131,48 @@ const _t = {
131
131
  set(t) {
132
132
  ke(t);
133
133
  }
134
- }), Ze = (t, s) => je(t, s, (f) => N.findRefByName(f)), ke = (t) => He(qe(t), (s) => Ge(s)), Ge = (t) => {
134
+ }), Ge = (t, s) => Ee(t, s, (v) => N.findRefByName(v)), ke = (t) => je(Ze(t), (s) => Je(s)), Je = (t) => {
135
135
  var s;
136
- return Ee(Q.value, t || [], (s = o.value) == null ? void 0 : s.minRowNum, ge);
136
+ return Pe(Q.value, t || [], (s = o.value) == null ? void 0 : s.minRowNum, ge);
137
137
  };
138
- Ye(() => re.value, (t) => {
139
- ne.value && (lt(t) || (T.value = t, ne.value = !1));
140
- }, { immediate: !0 }), et(() => {
141
- tt(() => {
138
+ tt(() => re.value, (t) => {
139
+ ne.value && (at(t) || (T.value = t, ne.value = !1));
140
+ }, { immediate: !0 }), ot(() => {
141
+ lt(() => {
142
142
  setTimeout(() => {
143
143
  var t, s;
144
144
  ((t = T.value) == null ? void 0 : t.length) <= 0 && ne.value && (s = o.value) != null && s.allowDefaultAdd && (T.value = []);
145
145
  }, 1e3);
146
146
  });
147
147
  });
148
- const Je = (t) => {
148
+ const Ke = (t) => {
149
149
  N.setDisabled(t);
150
- const { setAllRefList: s } = ut(S.value);
151
- s(pt.setDisabled, { flag: t });
152
- }, Ke = (t) => t != null && t.includes("%") || t != null && t.includes("auto") ? "auto" : t;
150
+ const { setAllRefList: s } = pt(S.value);
151
+ s(ft.setDisabled, { flag: t });
152
+ }, Qe = (t) => t != null && t.includes("%") || t != null && t.includes("auto") ? "auto" : t;
153
153
  return xe({
154
154
  ...N,
155
- setDisabled: Je,
156
- emit$: Pe,
155
+ setDisabled: Ke,
156
+ emit$: qe,
157
157
  setValue: ke,
158
158
  getValue: ce,
159
- findWidgetByNameWithSibId: Ze
159
+ findWidgetByNameWithSibId: Ge
160
160
  }), (t, s) => {
161
- const f = O("el-col"), h = O("el-tag"), be = O("el-divider"), v = O("el-button"), q = O("el-button-group"), ye = O("el-row");
162
- return n(), p(ct, A(t.$props, {
163
- "prop-options": { fieldObj: e(Ie) }
161
+ const v = O("el-col"), h = O("el-tag"), be = O("el-divider"), f = O("el-button"), q = O("el-button-group"), ye = O("el-row");
162
+ return n(), p(mt, A(t.$props, {
163
+ "prop-options": { fieldObj: e(Ve) }
164
164
  }), {
165
- default: i(({ data: xt }) => {
165
+ default: i(({ data: Mt }) => {
166
166
  var he, Re, Ce, Te, De, Le, $e, Ne, Se, Ae, Be;
167
167
  return [
168
168
  ((he = e(o)) == null ? void 0 : he.showMode) === e(Fe).line ? (n(), c(D, { key: 0 }, [
169
- t.designState ? (n(), c("div", _t, [
169
+ t.designState ? (n(), c("div", bt, [
170
170
  (Re = e(o)) != null && Re.showHeader ? (n(), p(ye, {
171
171
  key: 0,
172
172
  class: "rowHeader"
173
173
  }, {
174
174
  default: i(() => [
175
- m(f, {
175
+ m(v, {
176
176
  span: 10,
177
177
  class: "rowLabel"
178
178
  }, {
@@ -181,7 +181,7 @@ const _t = {
181
181
  ]),
182
182
  _: 1
183
183
  }),
184
- m(f, {
184
+ m(v, {
185
185
  span: 14,
186
186
  class: "flexInline justifyEnd alignCenter"
187
187
  }, {
@@ -201,7 +201,7 @@ const _t = {
201
201
  default: i(() => {
202
202
  var l, a;
203
203
  return [
204
- !((l = e(o)) != null && l.onlyOneAddButton) && ((a = e(o)) != null && a.allowAdd) ? (n(), p(v, {
204
+ !((l = e(o)) != null && l.onlyOneAddButton) && ((a = e(o)) != null && a.allowAdd) ? (n(), p(f, {
205
205
  key: 0,
206
206
  icon: e($),
207
207
  link: ""
@@ -214,7 +214,7 @@ const _t = {
214
214
  }),
215
215
  _: 1
216
216
  }, 8, ["icon"])) : r("", !0),
217
- e(o).allowDelete ? (n(), p(v, {
217
+ e(o).allowDelete ? (n(), p(f, {
218
218
  key: 1,
219
219
  icon: e(G),
220
220
  type: "danger",
@@ -228,7 +228,7 @@ const _t = {
228
228
  }),
229
229
  _: 1
230
230
  }, 8, ["icon"])) : r("", !0),
231
- e(o).sortable ? (n(), p(v, {
231
+ e(o).sortable ? (n(), p(f, {
232
232
  key: 2,
233
233
  icon: e(J),
234
234
  link: ""
@@ -241,7 +241,7 @@ const _t = {
241
241
  }),
242
242
  _: 1
243
243
  }, 8, ["icon"])) : r("", !0),
244
- e(o).sortable ? (n(), p(v, {
244
+ e(o).sortable ? (n(), p(f, {
245
245
  key: 3,
246
246
  icon: e(K),
247
247
  link: ""
@@ -265,12 +265,12 @@ const _t = {
265
265
  _: 1
266
266
  })) : r("", !0),
267
267
  m(x, A(t.$props, {
268
- widget: e(I)(B.value, "row"),
268
+ widget: e(V)(B.value, "row"),
269
269
  dragClass: "dragSize",
270
270
  refList: e(S)
271
271
  }), null, 16, ["widget", "refList"]),
272
- (Ce = e(o)) != null && Ce.onlyOneAddButton ? (n(), c("div", gt, [
273
- m(v, {
272
+ (Ce = e(o)) != null && Ce.onlyOneAddButton ? (n(), c("div", yt, [
273
+ m(f, {
274
274
  disabled: b.value,
275
275
  icon: e($),
276
276
  size: "large"
@@ -286,7 +286,7 @@ const _t = {
286
286
  ])) : r("", !0)
287
287
  ])) : (n(), c(D, { key: 1 }, [
288
288
  (n(!0), c(D, null, ae(T.value, (l, a) => {
289
- var _, V;
289
+ var _, M;
290
290
  return n(), c("div", {
291
291
  key: (l == null ? void 0 : l.key) || a,
292
292
  class: "multiRowLine"
@@ -296,7 +296,7 @@ const _t = {
296
296
  class: "rowHeader"
297
297
  }, {
298
298
  default: i(() => [
299
- m(f, {
299
+ m(v, {
300
300
  span: 10,
301
301
  class: "rowLabel"
302
302
  }, {
@@ -305,7 +305,7 @@ const _t = {
305
305
  ]),
306
306
  _: 2
307
307
  }, 1024),
308
- m(f, {
308
+ m(v, {
309
309
  span: 14,
310
310
  class: "flexInline justifyEnd alignCenter"
311
311
  }, {
@@ -325,9 +325,9 @@ const _t = {
325
325
  default: i(() => {
326
326
  var z, U, w;
327
327
  return [
328
- !((z = e(o)) != null && z.onlyOneAddButton) && e(o).allowAdd ? (n(), p(v, {
328
+ !((z = e(o)) != null && z.onlyOneAddButton) && e(o).allowAdd ? (n(), p(f, {
329
329
  key: 0,
330
- onClick: (k) => M(a),
330
+ onClick: (k) => I(a),
331
331
  disabled: b.value || F.value > ((U = e(o)) == null ? void 0 : U.maxRowNum),
332
332
  icon: e($),
333
333
  link: ""
@@ -340,9 +340,9 @@ const _t = {
340
340
  }),
341
341
  _: 1
342
342
  }, 8, ["onClick", "disabled", "icon"])) : r("", !0),
343
- e(o).allowDelete ? (n(), p(v, {
343
+ e(o).allowDelete ? (n(), p(f, {
344
344
  key: 1,
345
- onClick: (k) => fe(a),
345
+ onClick: (k) => ve(a),
346
346
  disabled: b.value || ((w = e(o)) == null ? void 0 : w.minRowNum) >= F.value,
347
347
  icon: e(G),
348
348
  type: "danger",
@@ -356,7 +356,7 @@ const _t = {
356
356
  }),
357
357
  _: 1
358
358
  }, 8, ["onClick", "disabled", "icon"])) : r("", !0),
359
- e(o).sortable ? (n(), p(v, {
359
+ e(o).sortable ? (n(), p(f, {
360
360
  key: 2,
361
361
  onClick: (k) => _e(a),
362
362
  disabled: b.value || a <= 0,
@@ -371,7 +371,7 @@ const _t = {
371
371
  }),
372
372
  _: 1
373
373
  }, 8, ["onClick", "disabled", "icon"])) : r("", !0),
374
- e(o).sortable ? (n(), p(v, {
374
+ e(o).sortable ? (n(), p(f, {
375
375
  key: 3,
376
376
  onClick: (k) => we(a),
377
377
  disabled: b.value || a >= F.value - 1,
@@ -397,7 +397,7 @@ const _t = {
397
397
  _: 2
398
398
  }, 1024)) : r("", !0),
399
399
  m(x, A({ ref_for: !0 }, t.$props, {
400
- widget: (V = l == null ? void 0 : l.widget) == null ? void 0 : V[0],
400
+ widget: (M = l == null ? void 0 : l.widget) == null ? void 0 : M[0],
401
401
  componentName: "div",
402
402
  refList: e(S),
403
403
  componentClass: "flex full-width",
@@ -405,14 +405,14 @@ const _t = {
405
405
  }), null, 16, ["widget", "refList", "row-scope"])
406
406
  ]);
407
407
  }), 128)),
408
- ((Te = e(o)) != null && Te.onlyOneAddButton || T.value.length <= 0) && e(o).allowAdd ? (n(), c("div", kt, [
409
- m(v, {
408
+ ((Te = e(o)) != null && Te.onlyOneAddButton || T.value.length <= 0) && e(o).allowAdd ? (n(), c("div", ht, [
409
+ m(f, {
410
410
  disabled: b.value,
411
411
  icon: e($),
412
412
  size: "large",
413
413
  onClick: s[0] || (s[0] = (l) => {
414
414
  var a;
415
- return M(((a = T.value) == null ? void 0 : a.length) - 1);
415
+ return I(((a = T.value) == null ? void 0 : a.length) - 1);
416
416
  })
417
417
  }, {
418
418
  default: i(() => {
@@ -429,9 +429,9 @@ const _t = {
429
429
  key: 1,
430
430
  class: We(["table2", [(Le = e(o)) != null && Le.showBorder ? "borderedTable" : ""]])
431
431
  }, [
432
- ($e = e(o)) != null && $e.showHeader ? (n(), c("thead", bt, [
432
+ ($e = e(o)) != null && $e.showHeader ? (n(), c("thead", Rt, [
433
433
  R("tr", null, [
434
- R("th", yt, [
434
+ R("th", Ct, [
435
435
  Y.value ? (n(), p(h, {
436
436
  key: 0,
437
437
  type: "info",
@@ -443,33 +443,33 @@ const _t = {
443
443
  _: 1
444
444
  })) : r("", !0)
445
445
  ]),
446
- (n(!0), c(D, null, ae(le(e(I)(B.value, "row")), (l) => {
446
+ (n(!0), c(D, null, ae(le(e(V)(B.value, "row")), (l) => {
447
447
  var a;
448
448
  return n(), c("th", {
449
449
  class: "td2",
450
- style: ot({ width: Ke(e(ie).getOptions(l, "ctrlWidth")) })
450
+ style: nt({ width: Qe(e(ie).getOptions(l, "ctrlWidth")) })
451
451
  }, [
452
452
  R("div", {
453
453
  class: We([(a = e(ue)(l)) != null && a.required ? "required" : ""])
454
454
  }, [
455
- m(mt, {
455
+ m(vt, {
456
456
  widget: l,
457
457
  designer: t.designer,
458
458
  designState: t.designState,
459
459
  parentWidget: t.widget,
460
- parentList: le(e(I)(B.value, "row")),
460
+ parentList: le(e(V)(B.value, "row")),
461
461
  "prop-options": { fieldObj: { extendAttrs: e(ue)(l) } }
462
462
  }, null, 8, ["widget", "designer", "designState", "parentWidget", "parentList", "prop-options"])
463
463
  ], 2)
464
464
  ], 4);
465
465
  }), 256)),
466
- W.value ? (n(), c("th", ht)) : r("", !0)
466
+ W.value ? (n(), c("th", Tt)) : r("", !0)
467
467
  ])
468
468
  ])) : r("", !0),
469
469
  R("tbody", null, [
470
470
  t.designState ? (n(), c(D, { key: 0 }, [
471
471
  m(x, A(t.$props, {
472
- widget: e(I)(B.value, "row"),
472
+ widget: e(V)(B.value, "row"),
473
473
  componentName: "td",
474
474
  refList: e(S),
475
475
  dragTag: "tr",
@@ -480,12 +480,12 @@ const _t = {
480
480
  R("td", { class: "rowIndex" }, "1", -1)
481
481
  ])]),
482
482
  footer: i(() => [
483
- W.value ? (n(), c("td", Rt, [
483
+ W.value ? (n(), c("td", Dt, [
484
484
  m(q, { disabled: b.value }, {
485
485
  default: i(() => {
486
486
  var l;
487
487
  return [
488
- !((l = e(o)) != null && l.onlyOneAddButton) && e(o).allowAdd ? (n(), p(v, {
488
+ !((l = e(o)) != null && l.onlyOneAddButton) && e(o).allowAdd ? (n(), p(f, {
489
489
  key: 0,
490
490
  icon: e($),
491
491
  link: ""
@@ -498,7 +498,7 @@ const _t = {
498
498
  }),
499
499
  _: 1
500
500
  }, 8, ["icon"])) : r("", !0),
501
- e(o).allowDelete ? (n(), p(v, {
501
+ e(o).allowDelete ? (n(), p(f, {
502
502
  key: 1,
503
503
  type: "danger",
504
504
  icon: e(G),
@@ -512,7 +512,7 @@ const _t = {
512
512
  }),
513
513
  _: 1
514
514
  }, 8, ["icon"])) : r("", !0),
515
- e(o).sortable ? (n(), p(v, {
515
+ e(o).sortable ? (n(), p(f, {
516
516
  key: 2,
517
517
  link: "",
518
518
  icon: e(J)
@@ -525,7 +525,7 @@ const _t = {
525
525
  }),
526
526
  _: 1
527
527
  }, 8, ["icon"])) : r("", !0),
528
- e(o).sortable ? (n(), p(v, {
528
+ e(o).sortable ? (n(), p(f, {
529
529
  key: 3,
530
530
  link: "",
531
531
  icon: e(K)
@@ -546,24 +546,24 @@ const _t = {
546
546
  ]),
547
547
  _: 1
548
548
  }, 16, ["widget", "refList"]),
549
- ve.value ? (n(), c("tr", Ct, [
549
+ fe.value ? (n(), c("tr", Lt, [
550
550
  R("td", {
551
551
  colspan: (te.value || 0) + ee.value
552
552
  }, [
553
553
  m(x, A(t.$props, {
554
- widget: e(I)(B.value, "detail"),
554
+ widget: e(V)(B.value, "detail"),
555
555
  refList: e(S),
556
556
  style: { height: "auto" }
557
557
  }), null, 16, ["widget", "refList"])
558
- ], 8, Tt)
558
+ ], 8, $t)
559
559
  ])) : r("", !0)
560
560
  ], 64)) : (n(!0), c(D, { key: 1 }, ae(T.value, (l, a) => {
561
- var _, V;
561
+ var _, M;
562
562
  return n(), c(D, {
563
563
  key: (l == null ? void 0 : l.key) || a
564
564
  }, [
565
- R("tr", Dt, [
566
- R("td", Lt, d(a + 1), 1),
565
+ R("tr", Nt, [
566
+ R("td", St, d(a + 1), 1),
567
567
  m(x, A({ ref_for: !0 }, t.$props, {
568
568
  widget: (_ = l == null ? void 0 : l.widget) == null ? void 0 : _[0],
569
569
  componentName: "td",
@@ -571,14 +571,14 @@ const _t = {
571
571
  componentClass: "td2",
572
572
  "row-scope": { row: l == null ? void 0 : l.data, $index: a }
573
573
  }), null, 16, ["widget", "refList", "row-scope"]),
574
- W.value ? (n(), c("td", $t, [
574
+ W.value ? (n(), c("td", At, [
575
575
  m(q, { disabled: b.value }, {
576
576
  default: i(() => {
577
577
  var z, U;
578
578
  return [
579
- pe.value ? (n(), p(v, {
579
+ pe.value ? (n(), p(f, {
580
580
  key: 0,
581
- onClick: (w) => M(a),
581
+ onClick: (w) => I(a),
582
582
  disabled: F.value > ((z = e(o)) == null ? void 0 : z.maxRowNum),
583
583
  icon: e($),
584
584
  link: ""
@@ -591,9 +591,9 @@ const _t = {
591
591
  }),
592
592
  _: 1
593
593
  }, 8, ["onClick", "disabled", "icon"])) : r("", !0),
594
- me.value ? (n(), p(v, {
594
+ me.value ? (n(), p(f, {
595
595
  key: 1,
596
- onClick: (w) => fe(a),
596
+ onClick: (w) => ve(a),
597
597
  type: "danger",
598
598
  icon: e(G),
599
599
  disabled: ((U = e(o)) == null ? void 0 : U.minRowNum) >= F.value,
@@ -607,7 +607,7 @@ const _t = {
607
607
  }),
608
608
  _: 1
609
609
  }, 8, ["onClick", "icon", "disabled"])) : r("", !0),
610
- X.value ? (n(), p(v, {
610
+ X.value ? (n(), p(f, {
611
611
  key: 2,
612
612
  onClick: (w) => _e(a),
613
613
  disabled: a <= 0,
@@ -622,7 +622,7 @@ const _t = {
622
622
  }),
623
623
  _: 1
624
624
  }, 8, ["onClick", "disabled", "icon"])) : r("", !0),
625
- X.value ? (n(), p(v, {
625
+ X.value ? (n(), p(f, {
626
626
  key: 3,
627
627
  onClick: (w) => we(a),
628
628
  disabled: a >= F.value - 1,
@@ -643,18 +643,18 @@ const _t = {
643
643
  }, 1032, ["disabled"])
644
644
  ])) : r("", !0)
645
645
  ]),
646
- ve.value ? (n(), c("tr", Nt, [
646
+ fe.value ? (n(), c("tr", Bt, [
647
647
  R("td", {
648
648
  class: "detailTable",
649
649
  colspan: (te.value || 0) + ee.value
650
650
  }, [
651
651
  m(x, A({ ref_for: !0 }, t.$props, {
652
- widget: (V = l == null ? void 0 : l.widget) == null ? void 0 : V[1],
652
+ widget: (M = l == null ? void 0 : l.widget) == null ? void 0 : M[1],
653
653
  "component-style": { height: "auto" },
654
654
  refList: e(S),
655
655
  "row-scope": { row: l == null ? void 0 : l.data, $index: a }
656
656
  }), null, 16, ["widget", "refList", "row-scope"])
657
- ], 8, St)
657
+ ], 8, Wt)
658
658
  ])) : r("", !0)
659
659
  ], 64);
660
660
  }), 128))
@@ -665,8 +665,8 @@ const _t = {
665
665
  colspan: (te.value || 0) + ee.value
666
666
  }, [
667
667
  t.designState ? (n(), c(D, { key: 0 }, [
668
- (Ne = e(o)) != null && Ne.onlyOneAddButton && e(o).allowAdd ? (n(), c("div", Bt, [
669
- m(v, {
668
+ (Ne = e(o)) != null && Ne.onlyOneAddButton && e(o).allowAdd ? (n(), c("div", Ot, [
669
+ m(f, {
670
670
  disabled: b.value,
671
671
  icon: e($),
672
672
  size: "large"
@@ -681,12 +681,12 @@ const _t = {
681
681
  }, 8, ["disabled", "icon"])
682
682
  ])) : r("", !0)
683
683
  ], 64)) : (n(), c(D, { key: 1 }, [
684
- !((Se = e(o)) != null && Se.onlyOneAddButton) && ((Ae = T.value) == null ? void 0 : Ae.length) == 0 ? (n(), c("div", Wt, [
685
- m(v, {
684
+ !((Se = e(o)) != null && Se.onlyOneAddButton) && ((Ae = T.value) == null ? void 0 : Ae.length) == 0 ? (n(), c("div", xt, [
685
+ m(f, {
686
686
  disabled: b.value,
687
687
  icon: e($),
688
688
  size: "large",
689
- onClick: s[1] || (s[1] = (l) => M(0))
689
+ onClick: s[1] || (s[1] = (l) => I(0))
690
690
  }, {
691
691
  default: i(() => {
692
692
  var l;
@@ -696,14 +696,14 @@ const _t = {
696
696
  }),
697
697
  _: 1
698
698
  }, 8, ["disabled", "icon"])
699
- ])) : (Be = e(o)) != null && Be.onlyOneAddButton ? (n(), c("div", Ft, [
700
- m(v, {
699
+ ])) : (Be = e(o)) != null && Be.onlyOneAddButton ? (n(), c("div", Vt, [
700
+ m(f, {
701
701
  disabled: b.value,
702
702
  icon: e($),
703
703
  size: "large",
704
704
  onClick: s[2] || (s[2] = (l) => {
705
705
  var a;
706
- return M(((a = T.value) == null ? void 0 : a.length) - 1);
706
+ return I(((a = T.value) == null ? void 0 : a.length) - 1);
707
707
  })
708
708
  }, {
709
709
  default: i(() => {
@@ -716,7 +716,7 @@ const _t = {
716
716
  }, 8, ["disabled", "icon"])
717
717
  ])) : r("", !0)
718
718
  ], 64))
719
- ], 8, At)
719
+ ], 8, Ft)
720
720
  ])
721
721
  ])
722
722
  ], 2)) : r("", !0)
@@ -727,7 +727,7 @@ const _t = {
727
727
  };
728
728
  }
729
729
  });
730
- const ro = /* @__PURE__ */ wt(Ot, [["__scopeId", "data-v-77e128d4"]]);
730
+ const po = /* @__PURE__ */ kt(It, [["__scopeId", "data-v-910dbb05"]]);
731
731
  export {
732
- ro as default
732
+ po as default
733
733
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hlrender",
3
- "version": "0.0.249",
3
+ "version": "0.0.250",
4
4
  "description": "",
5
5
  "main": "render.umd.js",
6
6
  "scripts": {