hlrender 0.0.220 → 0.0.222

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 (122) hide show
  1. package/{_pdf-5e740930.js → _pdf-49c651da.js} +6 -6
  2. package/{_txt-a0a32317.js → _txt-6b6b0e6c.js} +6 -6
  3. package/{_unsupport-dc6b3049.js → _unsupport-ac308b6a.js} +1 -1
  4. package/{affix-widget-3205cea1.js → affix-widget-39b69957.js} +16 -16
  5. package/{alert-widget-442ad533.js → alert-widget-76e6ae2b.js} +16 -16
  6. package/{anchor-widget-6902ad29.js → anchor-widget-00cf8a4f.js} +13 -13
  7. package/{auto-complete-widget-b689b21b.js → auto-complete-widget-f7466dc3.js} +16 -16
  8. package/{avatar-widget-393be8fe.js → avatar-widget-a30bb835.js} +16 -16
  9. package/{backtop-widget-c55d4b2a.js → backtop-widget-fcd53f9c.js} +16 -16
  10. package/{badge-widget-eb0b4d90.js → badge-widget-d2d83fbc.js} +16 -16
  11. package/{barcode-widget-6e7d2062.js → barcode-widget-3a364c80.js} +13 -13
  12. package/{baseImp-183dd31e.js → baseImp-20a90e41.js} +506 -502
  13. package/{breadcrumb-widget-387260b1.js → breadcrumb-widget-7e56ee1f.js} +13 -13
  14. package/{button-widget-a2454883.js → button-widget-32025329.js} +16 -16
  15. package/{cache-widget-71d649fc.js → cache-widget-13547f41.js} +15 -15
  16. package/{card-widget-0d1e8b9b.js → card-widget-ae35d355.js} +14 -14
  17. package/{carousel-widget-73fadc55.js → carousel-widget-fe40a2a7.js} +14 -14
  18. package/{cascader-widget-9b9341d1.js → cascader-widget-dd37cb19.js} +15 -15
  19. package/{chart-widget-409951a4.js → chart-widget-53f53a04.js} +13 -13
  20. package/{checkbox-widget-0e5c4628.js → checkbox-widget-7a6e8218.js} +15 -15
  21. package/{collapse-widget-20378f35.js → collapse-widget-038ab4a6.js} +14 -14
  22. package/{color-picker-widget-1944df02.js → color-picker-widget-ccf0ae69.js} +15 -15
  23. package/{cont-cell-widget-7b23704e.js → cont-cell-widget-75436a40.js} +1 -1
  24. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-78ff9722.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-820e95e3.js} +6 -6
  25. package/{cont-widget-a8e05996.js → cont-widget-6b92c16d.js} +5 -5
  26. package/{content-wrapper-fedcb3ef.js → content-wrapper-a319dc68.js} +7 -7
  27. package/{content-wrapper.vue_vue_type_script_setup_true_lang-e96feeb8.js → content-wrapper.vue_vue_type_script_setup_true_lang-8a7b40c2.js} +3 -3
  28. package/{date-picker-range-widget-551f2043.js → date-picker-range-widget-6ebabf4a.js} +15 -15
  29. package/{date-picker-widget-d5573b72.js → date-picker-widget-11a66313.js} +15 -15
  30. package/default-slot-widget-252c54f1.js +26 -0
  31. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-c942b042.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-d4bae7ad.js} +7 -7
  32. package/{descriptions-widget-5d456b8f.js → descriptions-widget-53b22321.js} +14 -14
  33. package/{dialog-3c8bd967.js → dialog-7785477a.js} +24 -21
  34. package/{dialog-widget-0cec98c0.js → dialog-widget-6792e47d.js} +15 -15
  35. package/{divider-widget-530920d5.js → divider-widget-ea1db20b.js} +16 -16
  36. package/{drag-wrapper-26981a28.js → drag-wrapper-8fc33ced.js} +6 -6
  37. package/{drawer-widget-b94cbe02.js → drawer-widget-54221151.js} +15 -15
  38. package/{dropdown-widget-02573d9d.js → dropdown-widget-47b208c3.js} +14 -14
  39. package/{empty-widget-7468e8c5.js → empty-widget-056b049c.js} +16 -16
  40. package/{enum-type-3eee09cf.js → enum-type-154038c6.js} +57 -54
  41. package/{enum-type-af9f5bba.js → enum-type-8b297420.js} +79 -62
  42. package/{expression-f9adb9b4.js → expression-a866a962.js} +2 -2
  43. package/feedback-widget-d5edd3d7.js +26 -0
  44. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-83bf0bb2.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-25632e54.js} +5 -5
  45. package/{fieldobj-0d6a0693.js → fieldobj-b9410b27.js} +1 -1
  46. package/{file-upload-widget-320d5f8a.js → file-upload-widget-1dac5de9.js} +20 -20
  47. package/{form-item-wrapper-8f3d663c.js → form-item-wrapper-651dae53.js} +11 -11
  48. package/{form-widget-52ccc908.js → form-widget-46abce73.js} +61 -61
  49. package/{grid-col-widget-272e7d41.js → grid-col-widget-3f4c0041.js} +1 -1
  50. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-caf7ddca.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-e7ecfe34.js} +5 -5
  51. package/{grid-widget-c5d76e85.js → grid-widget-6c1b340c.js} +5 -5
  52. package/{html-text-widget-9b868c74.js → html-text-widget-50a489af.js} +14 -14
  53. package/{icon-widget-cd0cbe2d.js → icon-widget-0ac4ed98.js} +13 -13
  54. package/{iframe-widget-bfbf8683.js → iframe-widget-fdba3965.js} +13 -13
  55. package/{image-widget-600f98de.js → image-widget-76fb161c.js} +13 -13
  56. package/index-2caa2214.js +241 -0
  57. package/{index-d0ed190f.js → index-b48762a8.js} +1 -1
  58. package/{index-693d89a8.js → index-ed5df8f0.js} +3223 -3147
  59. package/{input-number-widget-88afc03e.js → input-number-widget-79bcfde4.js} +15 -15
  60. package/{input-widget-1b6ff62d.js → input-widget-8c92a125.js} +16 -16
  61. package/{label-wrapper-714b1ffc.js → label-wrapper-bb85ac42.js} +5 -5
  62. package/{label-wrapper.vue_vue_type_style_index_0_lang-9bf010c8.js → label-wrapper.vue_vue_type_style_index_0_lang-e5255e33.js} +3 -3
  63. package/{link-widget-61b13e67.js → link-widget-7caca6a6.js} +16 -16
  64. package/{ltable-col-widget-31614b0c.js → ltable-col-widget-dff9469f.js} +1 -1
  65. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-8c1b8b72.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-99ee3805.js} +9 -9
  66. package/{ltable-widget-e42fff21.js → ltable-widget-f3eefc10.js} +5 -5
  67. package/{menu-widget-7d2c15e7.js → menu-widget-56dd41b9.js} +36 -36
  68. package/{model-widget-18f6601b.js → model-widget-65d7de15.js} +13 -13
  69. package/multirow-a47c974b.js +230 -0
  70. package/multirow-widget-19af64aa.js +722 -0
  71. package/package.json +1 -1
  72. package/{pagination-widget-b90e15e2.js → pagination-widget-6b84db81.js} +13 -13
  73. package/{picture-upload-widget-1b55d8b9.js → picture-upload-widget-01c930e1.js} +16 -16
  74. package/{progress-widget-a32940a1.js → progress-widget-6340a4fa.js} +37 -37
  75. package/{qrcode-widget-ffdca649.js → qrcode-widget-ee038f05.js} +13 -13
  76. package/{radio-widget-255c651e.js → radio-widget-b7a38a4c.js} +15 -15
  77. package/{range-widget-b1098bd3.js → range-widget-229e9fc4.js} +17 -17
  78. package/{rate-widget-71ee09be.js → rate-widget-4937f628.js} +15 -15
  79. package/render.es.js +32 -32
  80. package/render.style.css +1 -1
  81. package/render.umd.js +363 -359
  82. package/{result-widget-658ea3c8.js → result-widget-e580b900.js} +14 -14
  83. package/{rich-editor-widget-6fae5424.js → rich-editor-widget-14194f58.js} +26 -26
  84. package/{router-widget-ca01ee92.js → router-widget-b4886e70.js} +13 -13
  85. package/{select-widget-091570a9.js → select-widget-1ffe1ae1.js} +15 -15
  86. package/{sfc-9bcd728e.js → sfc-f12bf7ec.js} +8 -8
  87. package/{sfcview-01217803.js → sfcview-0b464361.js} +7 -7
  88. package/{share-field-13175d66.js → share-field-12b7c18a.js} +170 -170
  89. package/{share-file-b00410aa.js → share-file-65e6678a.js} +14 -14
  90. package/{slider-widget-c7750206.js → slider-widget-4f9dd3b2.js} +15 -15
  91. package/{slot-ee9edd04.js → slot-262f69f7.js} +3 -3
  92. package/{static-text-widget-4577f848.js → static-text-widget-9a0260a7.js} +14 -14
  93. package/{steps-widget-428c367a.js → steps-widget-edc80724.js} +13 -13
  94. package/{subMenu-widget-4d89f25a.js → subMenu-widget-04c8e8d8.js} +8 -8
  95. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-85082dda.js → subMenu-widget.vue_vue_type_script_setup_true_lang-8aceb920.js} +6 -6
  96. package/{switch-widget-ca84fd85.js → switch-widget-63ff434e.js} +15 -15
  97. package/{tab-pane-widget-528cd5bb.js → tab-pane-widget-75beaf9d.js} +1 -1
  98. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-79213490.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-341cb340.js} +5 -5
  99. package/table-col-widget-96a93ea4.js +22 -0
  100. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-7282e7fd.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-549f11f5.js} +6 -6
  101. package/{table-widget-37ac1691.js → table-widget-5b3d2608.js} +15 -15
  102. package/{tabs-widget-7cad19ee.js → tabs-widget-1dc1e389.js} +7 -7
  103. package/{tag-widget-65420919.js → tag-widget-f6b6a37d.js} +16 -16
  104. package/{text-widget-15993525.js → text-widget-5ace4226.js} +16 -16
  105. package/{textarea-widget-816c2e3b.js → textarea-widget-aac47d6a.js} +15 -15
  106. package/{time-picker-range-widget-b0d599b5.js → time-picker-range-widget-3818f4c3.js} +15 -15
  107. package/{time-picker-widget-ba1b4e27.js → time-picker-widget-9edaa119.js} +15 -15
  108. package/{time-select-widget-be8f069b.js → time-select-widget-4bb984df.js} +15 -15
  109. package/{tmpl-widget-738ec138.js → tmpl-widget-8fc5be2c.js} +14 -14
  110. package/{tree-select-widget-cadc35bd.js → tree-select-widget-546c744f.js} +15 -15
  111. package/{tree-widget-cd63ddb3.js → tree-widget-fbb5e96e.js} +13 -13
  112. package/{uuid-59b631d4.js → uuid-c0d8695e.js} +1 -1
  113. package/{verifycode-widget-ed0de662.js → verifycode-widget-f6689e95.js} +13 -13
  114. package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ac943db0.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1740e903.js} +7 -7
  115. package/wrapper-widget-31402842.js +84 -0
  116. package/default-slot-widget-4581e992.js +0 -26
  117. package/feedback-widget-951e3f62.js +0 -26
  118. package/index-696a9346.js +0 -120
  119. package/multirow-44dedb50.js +0 -229
  120. package/multirow-widget-5fc0ca63.js +0 -703
  121. package/table-col-widget-3b698b54.js +0 -22
  122. package/wrapper-widget-fe2e7d5a.js +0 -84
@@ -0,0 +1,722 @@
1
+ import { defineComponent as Ge, computed as h, ref as Je, watch as Ke, onMounted as Qe, nextTick as Xe, resolveComponent as I, openBlock as l, createBlock as p, mergeProps as A, unref as e, withCtx as s, createElementBlock as c, Fragment as T, createVNode as m, createTextVNode as u, toDisplayString as d, createCommentVNode as r, renderList as se, normalizeClass as Be, createElementVNode as R, pushScopeId as Ye, popScopeId as et } from "vue";
2
+ import { e as D, i as tt, Z as ot, _ as nt, $ as lt, a0 as it } from "./enum-type-8b297420.js";
3
+ import { B as We, f as G } from "./baseImp-20a90e41.js";
4
+ import { I as st } from "./widget-base-4c2d6265.js";
5
+ import { b as at, a as rt } from "./share-field-12b7c18a.js";
6
+ import { _ as dt } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1740e903.js";
7
+ import { D as O } from "./drag-wrapper-8fc33ced.js";
8
+ import { a6 as Fe, W as ut } from "./enum-type-154038c6.js";
9
+ import { _ as ct } from "./label-wrapper.vue_vue_type_style_index_0_lang-e5255e33.js";
10
+ import { i as pt, d as x } from "./slot-262f69f7.js";
11
+ import { c as mt } from "./multirow-a47c974b.js";
12
+ import { Plus as S, Delete as J, SortUp as K, SortDown as Q } from "./index-ddd23411.js";
13
+ import { _ as wt } from "./_plugin-vue_export-helper-dad06003.js";
14
+ import "./expression-a866a962.js";
15
+ import "./source-map-b04aec4a.js";
16
+ import "./uuid-c0d8695e.js";
17
+ import "./_commonjsHelpers-e7ea1525.js";
18
+ import "./esprima-e8d15055.js";
19
+ import "./icon-a0e0cdb0.js";
20
+ import "./dialog-7785477a.js";
21
+ import "element-plus";
22
+ import "./index-ed5df8f0.js";
23
+ import "./index-b48762a8.js";
24
+ import "./fieldobj-b9410b27.js";
25
+ import "./field-base-5547436d.js";
26
+ const _t = (M) => (Ye("data-v-5d3542d0"), M = M(), et(), M), ft = {
27
+ key: 0,
28
+ class: "multiRowLine"
29
+ }, gt = {
30
+ key: 1,
31
+ class: "horialCenter row_bottom"
32
+ }, kt = {
33
+ key: 0,
34
+ class: "horialCenter row_bottom"
35
+ }, bt = { key: 0 }, yt = { class: "td2" }, ht = { class: "td2" }, vt = {
36
+ key: 0,
37
+ class: "td2"
38
+ }, Rt = /* @__PURE__ */ _t(() => /* @__PURE__ */ R("td", { class: "rowIndex" }, "1", -1)), Ct = {
39
+ key: 0,
40
+ class: "btns"
41
+ }, Tt = {
42
+ key: 0,
43
+ class: "detailTable"
44
+ }, Dt = ["colspan"], Lt = { class: "nolabel tr2" }, St = { class: "rowIndex" }, $t = {
45
+ key: 0,
46
+ class: "btns"
47
+ }, Nt = { key: 0 }, At = ["colspan"], Bt = ["colspan"], Wt = {
48
+ key: 0,
49
+ class: "horialCenter row_bottom"
50
+ }, Ft = {
51
+ key: 0,
52
+ class: "horialCenter row_bottom"
53
+ }, It = {
54
+ key: 1,
55
+ class: "horialCenter row_bottom"
56
+ }, Ot = /* @__PURE__ */ Ge({
57
+ __name: "multirow-widget",
58
+ props: {
59
+ ...st
60
+ },
61
+ setup(M, { expose: Ie }) {
62
+ const ae = M, { slots: X, exposed: $, objFieldModel: re, attrs: o, events: de, fieldObj: Oe, fieldName: xe } = at(ae), B = h(() => pt(X.value)), { widgetRefList: N, rowsData: k, newSlot: Me, getWidgetOption: ue, newFieldModelFromSlot: Ve, removeFieldModelFromSlot: Ue, getValue: ce, setValue: ze, findWidgetByNameWithSibId: He, getSlotFromData: je, emit$: Ee } = mt({ ...ae, fieldName: xe.value, setValue: $ == null ? void 0 : $.setValue }), y = h(() => {
63
+ var t;
64
+ return (t = o == null ? void 0 : o.value) == null ? void 0 : t.disabled;
65
+ }), Y = h(() => {
66
+ var t;
67
+ return (t = o.value) == null ? void 0 : t.sortable;
68
+ }), pe = h(() => {
69
+ var t, a;
70
+ return !((t = o.value) != null && t.onlyOneAddButton) && ((a = o.value) == null ? void 0 : a.allowAdd);
71
+ }), me = h(() => {
72
+ var t;
73
+ return (t = o.value) == null ? void 0 : t.allowDelete;
74
+ }), we = h(() => {
75
+ var t;
76
+ return (t = o.value) == null ? void 0 : t.showDetail;
77
+ }), ee = h(() => {
78
+ var t;
79
+ return (t = o.value) == null ? void 0 : t.showLimit;
80
+ }), W = h(() => Y.value || pe.value || me.value), te = h(() => W != null && W.value ? 2 : 1), oe = h(() => {
81
+ var t;
82
+ return (t = le(x(B.value, "row"))) == null ? void 0 : t.length;
83
+ }), ne = h(() => {
84
+ var t, a;
85
+ return D.i18nt("designer.hint.multirowtip") + ((t = o.value) == null ? void 0 : t.minRowNum) + "-" + ((a = o.value) == null ? void 0 : a.maxRowNum);
86
+ }), j = D.i18nt("designer.hint.sortUp"), E = D.i18nt("designer.hint.sortDown"), P = D.i18nt("designer.hint.deleteRow"), C = D.i18nt("designer.hint.addNewRow"), F = h(() => (k == null ? void 0 : k.length) || 0), q = () => {
87
+ var t = ce();
88
+ re.value = t, $.setValue(t);
89
+ }, V = (t) => {
90
+ var _, v;
91
+ if ((k == null ? void 0 : k.length) >= o.value.maxRowNum) {
92
+ G.info(D.i18nt("designer.hint.maxRowTip"));
93
+ return;
94
+ }
95
+ const a = Me(X.value);
96
+ ot(k, t, a), Ve(a, ke({}, t + 1)), q(), (v = (_ = de.value).addRow) == null || v.call(_, t);
97
+ }, _e = (t) => {
98
+ var _, v;
99
+ if ((k == null ? void 0 : k.length) <= o.value.minRowNum) {
100
+ G.info(D.i18nt("designer.hint.minRowTip"));
101
+ return;
102
+ }
103
+ const a = k[t];
104
+ nt(k, t), Ue(a), q(), (v = (_ = de.value).deleteRow) == null || v.call(_, t);
105
+ }, fe = (t) => {
106
+ if (t === k.length - 1) {
107
+ G.info(D.i18nt("designer.hint.moveDownLastChildHint"));
108
+ return;
109
+ }
110
+ lt(k, t), q();
111
+ }, ge = (t) => {
112
+ if (t === 0) {
113
+ G.info(D.i18nt("designer.hint.moveUpFirstChildHint"));
114
+ return;
115
+ }
116
+ it(k, t), q();
117
+ }, le = (t) => t == null ? void 0 : t.widgetList, ie = Je(!0), Pe = (t) => {
118
+ var a, _;
119
+ return (a = o.value) != null && a.dataFormat ? (_ = o.value) == null ? void 0 : _.dataFormat(t) : t;
120
+ }, ke = (t, a) => {
121
+ var _, v;
122
+ return (_ = o.value) != null && _.rowDataFormat ? (v = o.value) == null ? void 0 : v.rowDataFormat(t, a) : t;
123
+ }, L = h({
124
+ get() {
125
+ return k;
126
+ },
127
+ set(t) {
128
+ be(t);
129
+ }
130
+ }), qe = (t, a) => He(t, a, (_) => $.findRefByName(_)), be = (t) => ze(Pe(t), (a) => Ze(a)), Ze = (t) => {
131
+ var a;
132
+ return je(X.value, t || [], (a = o.value) == null ? void 0 : a.minRowNum, ke);
133
+ };
134
+ return Ke(() => re.value, (t) => {
135
+ ie.value && (tt(t) || (L.value = t, ie.value = !1));
136
+ }, { immediate: !0 }), Qe(() => {
137
+ Xe(() => {
138
+ setTimeout(() => {
139
+ var t, a;
140
+ ((t = L.value) == null ? void 0 : t.length) <= 0 && ie.value && (a = o.value) != null && a.allowDefaultAdd && (L.value = []);
141
+ }, 1e3);
142
+ });
143
+ }), Ie({
144
+ ...$,
145
+ setDisabled: (t) => {
146
+ $.setDisabled(t);
147
+ const { setAllRefList: a } = rt(N.value);
148
+ a(ut.setDisabled, { flag: t });
149
+ },
150
+ emit$: Ee,
151
+ setValue: be,
152
+ getValue: ce,
153
+ findWidgetByNameWithSibId: qe
154
+ }), (t, a) => {
155
+ const _ = I("el-col"), v = I("el-tag"), ye = I("el-divider"), w = I("el-button"), Z = I("el-button-group"), he = I("el-row");
156
+ return l(), p(dt, A(t.$props, {
157
+ "prop-options": { fieldObj: e(Oe) }
158
+ }), {
159
+ default: s(({ data: Mt }) => {
160
+ var ve, Re, Ce, Te, De, Le, Se, $e, Ne, Ae;
161
+ return [
162
+ ((ve = e(o)) == null ? void 0 : ve.showMode) === e(Fe).line ? (l(), c(T, { key: 0 }, [
163
+ t.designState ? (l(), c("div", ft, [
164
+ (Re = e(o)) != null && Re.showHeader ? (l(), p(he, {
165
+ key: 0,
166
+ class: "rowHeader"
167
+ }, {
168
+ default: s(() => [
169
+ m(_, {
170
+ span: 10,
171
+ class: "rowLabel"
172
+ }, {
173
+ default: s(() => [
174
+ u(d(e(We).getOptions(t.widget || {}, "label")), 1)
175
+ ]),
176
+ _: 1
177
+ }),
178
+ m(_, {
179
+ span: 14,
180
+ class: "flexInline justifyEnd alignCenter"
181
+ }, {
182
+ default: s(() => [
183
+ e(ee) ? (l(), p(v, {
184
+ key: 0,
185
+ type: "info",
186
+ round: ""
187
+ }, {
188
+ default: s(() => [
189
+ u(d(e(ne)), 1)
190
+ ]),
191
+ _: 1
192
+ })) : r("", !0),
193
+ m(ye, { direction: "vertical" }),
194
+ m(Z, { disabled: e(y) }, {
195
+ default: s(() => {
196
+ var n, i;
197
+ return [
198
+ !((n = e(o)) != null && n.onlyOneAddButton) && ((i = e(o)) != null && i.allowAdd) ? (l(), p(w, {
199
+ key: 0,
200
+ icon: e(S),
201
+ link: ""
202
+ }, {
203
+ default: s(() => {
204
+ var g;
205
+ return [
206
+ u(d(((g = e(o)) == null ? void 0 : g.addRecordText) || e(C)), 1)
207
+ ];
208
+ }),
209
+ _: 1
210
+ }, 8, ["icon"])) : r("", !0),
211
+ e(o).allowDelete ? (l(), p(w, {
212
+ key: 1,
213
+ icon: e(J),
214
+ type: "danger",
215
+ link: ""
216
+ }, {
217
+ default: s(() => {
218
+ var g;
219
+ return [
220
+ u(d(((g = e(o)) == null ? void 0 : g.deleteRecordText) || e(P)), 1)
221
+ ];
222
+ }),
223
+ _: 1
224
+ }, 8, ["icon"])) : r("", !0),
225
+ e(o).sortable ? (l(), p(w, {
226
+ key: 2,
227
+ icon: e(K),
228
+ link: ""
229
+ }, {
230
+ default: s(() => {
231
+ var g;
232
+ return [
233
+ u(d(((g = e(o)) == null ? void 0 : g.sortUpText) || e(j)), 1)
234
+ ];
235
+ }),
236
+ _: 1
237
+ }, 8, ["icon"])) : r("", !0),
238
+ e(o).sortable ? (l(), p(w, {
239
+ key: 3,
240
+ icon: e(Q),
241
+ link: ""
242
+ }, {
243
+ default: s(() => {
244
+ var g;
245
+ return [
246
+ u(d(((g = e(o)) == null ? void 0 : g.sortDownText) || e(E)), 1)
247
+ ];
248
+ }),
249
+ _: 1
250
+ }, 8, ["icon"])) : r("", !0)
251
+ ];
252
+ }),
253
+ _: 1
254
+ }, 8, ["disabled"])
255
+ ]),
256
+ _: 1
257
+ })
258
+ ]),
259
+ _: 1
260
+ })) : r("", !0),
261
+ m(O, A(t.$props, {
262
+ widget: e(x)(e(B), "row"),
263
+ dragClass: "dragSize",
264
+ refList: e(N)
265
+ }), null, 16, ["widget", "refList"]),
266
+ (Ce = e(o)) != null && Ce.onlyOneAddButton ? (l(), c("div", gt, [
267
+ m(w, {
268
+ disabled: e(y),
269
+ icon: e(S),
270
+ size: "large"
271
+ }, {
272
+ default: s(() => {
273
+ var n;
274
+ return [
275
+ u(d(((n = e(o)) == null ? void 0 : n.addRecordText) || e(C)), 1)
276
+ ];
277
+ }),
278
+ _: 1
279
+ }, 8, ["disabled", "icon"])
280
+ ])) : r("", !0)
281
+ ])) : (l(), c(T, { key: 1 }, [
282
+ (l(!0), c(T, null, se(e(L), (n, i) => {
283
+ var g, U;
284
+ return l(), c("div", {
285
+ key: (n == null ? void 0 : n.key) || i,
286
+ class: "multiRowLine"
287
+ }, [
288
+ (g = e(o)) != null && g.showHeader ? (l(), p(he, {
289
+ key: 0,
290
+ class: "rowHeader"
291
+ }, {
292
+ default: s(() => [
293
+ m(_, {
294
+ span: 10,
295
+ class: "rowLabel"
296
+ }, {
297
+ default: s(() => [
298
+ u(d(e(We).getOptions(t.widget || {}, "label")) + "  " + d(i + 1), 1)
299
+ ]),
300
+ _: 2
301
+ }, 1024),
302
+ m(_, {
303
+ span: 14,
304
+ class: "flexInline justifyEnd alignCenter"
305
+ }, {
306
+ default: s(() => [
307
+ i == 0 && e(ee) ? (l(), p(v, {
308
+ key: 0,
309
+ type: "info",
310
+ round: ""
311
+ }, {
312
+ default: s(() => [
313
+ u(d(e(ne)), 1)
314
+ ]),
315
+ _: 1
316
+ })) : r("", !0),
317
+ m(ye, { direction: "vertical" }),
318
+ m(Z, { disabled: e(y) }, {
319
+ default: s(() => {
320
+ var z, H, f;
321
+ return [
322
+ !((z = e(o)) != null && z.onlyOneAddButton) && e(o).allowAdd ? (l(), p(w, {
323
+ key: 0,
324
+ onClick: (b) => V(i),
325
+ disabled: e(y) || e(F) > ((H = e(o)) == null ? void 0 : H.maxRowNum),
326
+ icon: e(S),
327
+ link: ""
328
+ }, {
329
+ default: s(() => {
330
+ var b;
331
+ return [
332
+ u(d(((b = e(o)) == null ? void 0 : b.addRecordText) || e(C)), 1)
333
+ ];
334
+ }),
335
+ _: 2
336
+ }, 1032, ["onClick", "disabled", "icon"])) : r("", !0),
337
+ e(o).allowDelete ? (l(), p(w, {
338
+ key: 1,
339
+ onClick: (b) => _e(i),
340
+ disabled: e(y) || ((f = e(o)) == null ? void 0 : f.minRowNum) >= e(F),
341
+ icon: e(J),
342
+ type: "danger",
343
+ link: ""
344
+ }, {
345
+ default: s(() => {
346
+ var b;
347
+ return [
348
+ u(d(((b = e(o)) == null ? void 0 : b.deleteRecordText) || e(P)), 1)
349
+ ];
350
+ }),
351
+ _: 2
352
+ }, 1032, ["onClick", "disabled", "icon"])) : r("", !0),
353
+ e(o).sortable ? (l(), p(w, {
354
+ key: 2,
355
+ onClick: (b) => ge(i),
356
+ disabled: e(y) || i <= 0,
357
+ icon: e(K),
358
+ link: ""
359
+ }, {
360
+ default: s(() => {
361
+ var b;
362
+ return [
363
+ u(d(((b = e(o)) == null ? void 0 : b.sortUpText) || e(j)), 1)
364
+ ];
365
+ }),
366
+ _: 2
367
+ }, 1032, ["onClick", "disabled", "icon"])) : r("", !0),
368
+ e(o).sortable ? (l(), p(w, {
369
+ key: 3,
370
+ onClick: (b) => fe(i),
371
+ disabled: e(y) || i >= e(F) - 1,
372
+ icon: e(Q),
373
+ link: ""
374
+ }, {
375
+ default: s(() => {
376
+ var b;
377
+ return [
378
+ u(d(((b = e(o)) == null ? void 0 : b.sortDownText) || e(E)), 1)
379
+ ];
380
+ }),
381
+ _: 2
382
+ }, 1032, ["onClick", "disabled", "icon"])) : r("", !0)
383
+ ];
384
+ }),
385
+ _: 2
386
+ }, 1032, ["disabled"])
387
+ ]),
388
+ _: 2
389
+ }, 1024)
390
+ ]),
391
+ _: 2
392
+ }, 1024)) : r("", !0),
393
+ m(O, A(t.$props, {
394
+ widget: (U = n == null ? void 0 : n.widget) == null ? void 0 : U[0],
395
+ componentName: "div",
396
+ refList: e(N),
397
+ componentClass: "flex full-width",
398
+ "row-scope": { row: n == null ? void 0 : n.data, $index: i }
399
+ }), null, 16, ["widget", "refList", "row-scope"])
400
+ ]);
401
+ }), 128)),
402
+ e(o).allowAdd ? (l(), c("div", kt, [
403
+ m(w, {
404
+ disabled: e(y),
405
+ icon: e(S),
406
+ size: "large",
407
+ onClick: a[0] || (a[0] = (n) => {
408
+ var i;
409
+ return V(((i = e(L)) == null ? void 0 : i.length) - 1);
410
+ })
411
+ }, {
412
+ default: s(() => {
413
+ var n;
414
+ return [
415
+ u(d(((n = e(o)) == null ? void 0 : n.addRecordText) || e(C)), 1)
416
+ ];
417
+ }),
418
+ _: 1
419
+ }, 8, ["disabled", "icon"])
420
+ ])) : r("", !0)
421
+ ], 64))
422
+ ], 64)) : ((Te = e(o)) == null ? void 0 : Te.showMode) === e(Fe).table ? (l(), c("table", {
423
+ key: 1,
424
+ class: Be(["table2", [(De = e(o)) != null && De.showBorder ? "borderedTable" : ""]])
425
+ }, [
426
+ (Le = e(o)) != null && Le.showHeader ? (l(), c("thead", bt, [
427
+ R("tr", null, [
428
+ R("th", yt, [
429
+ e(ee) ? (l(), p(v, {
430
+ key: 0,
431
+ type: "info",
432
+ round: ""
433
+ }, {
434
+ default: s(() => [
435
+ u(d(e(ne)), 1)
436
+ ]),
437
+ _: 1
438
+ })) : r("", !0)
439
+ ]),
440
+ (l(!0), c(T, null, se(le(e(x)(e(B), "row")), (n) => {
441
+ var i;
442
+ return l(), c("th", ht, [
443
+ R("div", {
444
+ class: Be([(i = e(ue)(n)) != null && i.required ? "required" : ""])
445
+ }, [
446
+ m(ct, {
447
+ widget: n,
448
+ designer: t.designer,
449
+ designState: t.designState,
450
+ parentWidget: t.widget,
451
+ parentList: le(e(x)(e(B), "row")),
452
+ "prop-options": { fieldObj: { extendAttrs: e(ue)(n) } }
453
+ }, null, 8, ["widget", "designer", "designState", "parentWidget", "parentList", "prop-options"])
454
+ ], 2)
455
+ ]);
456
+ }), 256)),
457
+ e(W) ? (l(), c("th", vt)) : r("", !0)
458
+ ])
459
+ ])) : r("", !0),
460
+ R("tbody", null, [
461
+ t.designState ? (l(), c(T, { key: 0 }, [
462
+ m(O, A(t.$props, {
463
+ widget: e(x)(e(B), "row"),
464
+ componentName: "td",
465
+ refList: e(N),
466
+ dragTag: "tr",
467
+ componentClass: "td2",
468
+ dragClass: "dragSize nolabel"
469
+ }), {
470
+ header: s(() => [
471
+ Rt
472
+ ]),
473
+ footer: s(() => [
474
+ e(W) ? (l(), c("td", Ct, [
475
+ m(Z, { disabled: e(y) }, {
476
+ default: s(() => {
477
+ var n;
478
+ return [
479
+ !((n = e(o)) != null && n.onlyOneAddButton) && e(o).allowAdd ? (l(), p(w, {
480
+ key: 0,
481
+ icon: e(S),
482
+ link: ""
483
+ }, {
484
+ default: s(() => {
485
+ var i;
486
+ return [
487
+ u(d(((i = e(o)) == null ? void 0 : i.addRecordText) || e(C)), 1)
488
+ ];
489
+ }),
490
+ _: 1
491
+ }, 8, ["icon"])) : r("", !0),
492
+ e(o).allowDelete ? (l(), p(w, {
493
+ key: 1,
494
+ type: "danger",
495
+ icon: e(J),
496
+ link: ""
497
+ }, {
498
+ default: s(() => {
499
+ var i;
500
+ return [
501
+ u(d(((i = e(o)) == null ? void 0 : i.deleteRecordText) || e(P)), 1)
502
+ ];
503
+ }),
504
+ _: 1
505
+ }, 8, ["icon"])) : r("", !0),
506
+ e(o).sortable ? (l(), p(w, {
507
+ key: 2,
508
+ link: "",
509
+ icon: e(K)
510
+ }, {
511
+ default: s(() => {
512
+ var i;
513
+ return [
514
+ u(d(((i = e(o)) == null ? void 0 : i.sortUpText) || e(j)), 1)
515
+ ];
516
+ }),
517
+ _: 1
518
+ }, 8, ["icon"])) : r("", !0),
519
+ e(o).sortable ? (l(), p(w, {
520
+ key: 3,
521
+ link: "",
522
+ icon: e(Q)
523
+ }, {
524
+ default: s(() => {
525
+ var i;
526
+ return [
527
+ u(d(((i = e(o)) == null ? void 0 : i.sortDownText) || e(E)), 1)
528
+ ];
529
+ }),
530
+ _: 1
531
+ }, 8, ["icon"])) : r("", !0)
532
+ ];
533
+ }),
534
+ _: 1
535
+ }, 8, ["disabled"])
536
+ ])) : r("", !0)
537
+ ]),
538
+ _: 1
539
+ }, 16, ["widget", "refList"]),
540
+ e(we) ? (l(), c("tr", Tt, [
541
+ R("td", {
542
+ colspan: (e(oe) || 0) + e(te)
543
+ }, [
544
+ m(O, A(t.$props, {
545
+ widget: e(x)(e(B), "detail"),
546
+ refList: e(N),
547
+ style: { height: "auto" }
548
+ }), null, 16, ["widget", "refList"])
549
+ ], 8, Dt)
550
+ ])) : r("", !0)
551
+ ], 64)) : (l(!0), c(T, { key: 1 }, se(e(L), (n, i) => {
552
+ var g, U;
553
+ return l(), c(T, {
554
+ key: (n == null ? void 0 : n.key) || i
555
+ }, [
556
+ R("tr", Lt, [
557
+ R("td", St, d(i + 1), 1),
558
+ m(O, A(t.$props, {
559
+ widget: (g = n == null ? void 0 : n.widget) == null ? void 0 : g[0],
560
+ componentName: "td",
561
+ refList: e(N),
562
+ componentClass: "td2",
563
+ "row-scope": { row: n == null ? void 0 : n.data, $index: i }
564
+ }), null, 16, ["widget", "refList", "row-scope"]),
565
+ e(W) ? (l(), c("td", $t, [
566
+ m(Z, { disabled: e(y) }, {
567
+ default: s(() => {
568
+ var z, H;
569
+ return [
570
+ e(pe) ? (l(), p(w, {
571
+ key: 0,
572
+ onClick: (f) => V(i),
573
+ disabled: e(F) > ((z = e(o)) == null ? void 0 : z.maxRowNum),
574
+ icon: e(S),
575
+ link: ""
576
+ }, {
577
+ default: s(() => {
578
+ var f;
579
+ return [
580
+ u(d(((f = e(o)) == null ? void 0 : f.addRecordText) || e(C)), 1)
581
+ ];
582
+ }),
583
+ _: 2
584
+ }, 1032, ["onClick", "disabled", "icon"])) : r("", !0),
585
+ e(me) ? (l(), p(w, {
586
+ key: 1,
587
+ onClick: (f) => _e(i),
588
+ type: "danger",
589
+ icon: e(J),
590
+ disabled: ((H = e(o)) == null ? void 0 : H.minRowNum) >= e(F),
591
+ link: ""
592
+ }, {
593
+ default: s(() => {
594
+ var f;
595
+ return [
596
+ u(d(((f = e(o)) == null ? void 0 : f.deleteRecordText) || e(P)), 1)
597
+ ];
598
+ }),
599
+ _: 2
600
+ }, 1032, ["onClick", "icon", "disabled"])) : r("", !0),
601
+ e(Y) ? (l(), p(w, {
602
+ key: 2,
603
+ onClick: (f) => ge(i),
604
+ disabled: i <= 0,
605
+ link: "",
606
+ icon: e(K)
607
+ }, {
608
+ default: s(() => {
609
+ var f;
610
+ return [
611
+ u(d(((f = e(o)) == null ? void 0 : f.sortUpText) || e(j)), 1)
612
+ ];
613
+ }),
614
+ _: 2
615
+ }, 1032, ["onClick", "disabled", "icon"])) : r("", !0),
616
+ e(Y) ? (l(), p(w, {
617
+ key: 3,
618
+ onClick: (f) => fe(i),
619
+ disabled: i >= e(F) - 1,
620
+ link: "",
621
+ icon: e(Q)
622
+ }, {
623
+ default: s(() => {
624
+ var f;
625
+ return [
626
+ u(d(((f = e(o)) == null ? void 0 : f.sortDownText) || e(E)), 1)
627
+ ];
628
+ }),
629
+ _: 2
630
+ }, 1032, ["onClick", "disabled", "icon"])) : r("", !0)
631
+ ];
632
+ }),
633
+ _: 2
634
+ }, 1032, ["disabled"])
635
+ ])) : r("", !0)
636
+ ]),
637
+ e(we) ? (l(), c("tr", Nt, [
638
+ R("td", {
639
+ class: "detailTable",
640
+ colspan: (e(oe) || 0) + e(te)
641
+ }, [
642
+ m(O, A(t.$props, {
643
+ widget: (U = n == null ? void 0 : n.widget) == null ? void 0 : U[1],
644
+ "component-style": { height: "auto" },
645
+ refList: e(N),
646
+ "row-scope": { row: n == null ? void 0 : n.data, $index: i }
647
+ }), null, 16, ["widget", "refList", "row-scope"])
648
+ ], 8, At)
649
+ ])) : r("", !0)
650
+ ], 64);
651
+ }), 128))
652
+ ]),
653
+ R("tfoot", null, [
654
+ R("tr", null, [
655
+ R("td", {
656
+ colspan: (e(oe) || 0) + e(te)
657
+ }, [
658
+ t.designState ? (l(), c(T, { key: 0 }, [
659
+ (Se = e(o)) != null && Se.onlyOneAddButton && e(o).allowAdd ? (l(), c("div", Wt, [
660
+ m(w, {
661
+ disabled: e(y),
662
+ icon: e(S),
663
+ size: "large"
664
+ }, {
665
+ default: s(() => {
666
+ var n;
667
+ return [
668
+ u(d(((n = e(o)) == null ? void 0 : n.addRecordText) || e(C)), 1)
669
+ ];
670
+ }),
671
+ _: 1
672
+ }, 8, ["disabled", "icon"])
673
+ ])) : r("", !0)
674
+ ], 64)) : (l(), c(T, { key: 1 }, [
675
+ !(($e = e(o)) != null && $e.onlyOneAddButton) && ((Ne = e(L)) == null ? void 0 : Ne.length) == 0 ? (l(), c("div", Ft, [
676
+ m(w, {
677
+ disabled: e(y),
678
+ onClick: a[1] || (a[1] = (n) => V(0))
679
+ }, {
680
+ default: s(() => {
681
+ var n;
682
+ return [
683
+ u(d(((n = e(o)) == null ? void 0 : n.addRecordText) || e(C)), 1)
684
+ ];
685
+ }),
686
+ _: 1
687
+ }, 8, ["disabled"])
688
+ ])) : (Ae = e(o)) != null && Ae.onlyOneAddButton ? (l(), c("div", It, [
689
+ m(w, {
690
+ disabled: e(y),
691
+ icon: e(S),
692
+ size: "large",
693
+ onClick: a[2] || (a[2] = (n) => {
694
+ var i;
695
+ return V(((i = e(L)) == null ? void 0 : i.length) - 1);
696
+ })
697
+ }, {
698
+ default: s(() => {
699
+ var n;
700
+ return [
701
+ u(d(((n = e(o)) == null ? void 0 : n.addRecordText) || e(C)), 1)
702
+ ];
703
+ }),
704
+ _: 1
705
+ }, 8, ["disabled", "icon"])
706
+ ])) : r("", !0)
707
+ ], 64))
708
+ ], 8, Bt)
709
+ ])
710
+ ])
711
+ ], 2)) : r("", !0)
712
+ ];
713
+ }),
714
+ _: 1
715
+ }, 16, ["prop-options"]);
716
+ };
717
+ }
718
+ });
719
+ const co = /* @__PURE__ */ wt(Ot, [["__scopeId", "data-v-5d3542d0"]]);
720
+ export {
721
+ co as default
722
+ };