hlrender 0.0.219 → 0.0.221

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-0c974cbe.js → _pdf-2615d97f.js} +6 -6
  2. package/{_txt-fb5b2545.js → _txt-fefad837.js} +6 -6
  3. package/{_unsupport-dc6b3049.js → _unsupport-05d8e7f5.js} +1 -1
  4. package/{affix-widget-fb8e3747.js → affix-widget-7ee62ad0.js} +16 -16
  5. package/{alert-widget-fef87e5d.js → alert-widget-e49cf21a.js} +16 -16
  6. package/{anchor-widget-097b103d.js → anchor-widget-2ee58e27.js} +13 -13
  7. package/{auto-complete-widget-bd98e8a4.js → auto-complete-widget-0ca8ea1b.js} +16 -16
  8. package/{avatar-widget-29044b19.js → avatar-widget-41693c37.js} +16 -16
  9. package/{backtop-widget-e21f9ed5.js → backtop-widget-25aecb13.js} +16 -16
  10. package/{badge-widget-94c4f222.js → badge-widget-67b8d37b.js} +16 -16
  11. package/{barcode-widget-dbc9f8ef.js → barcode-widget-9e091ba9.js} +13 -13
  12. package/{baseImp-c00e8adf.js → baseImp-e8c9b2a6.js} +1849 -1844
  13. package/{breadcrumb-widget-cf2b61e4.js → breadcrumb-widget-08733d3e.js} +13 -13
  14. package/{button-widget-668ba6fd.js → button-widget-57b0d6a1.js} +16 -16
  15. package/{cache-widget-81e301c2.js → cache-widget-311cfc52.js} +15 -15
  16. package/{card-widget-7b583092.js → card-widget-add6804a.js} +14 -14
  17. package/{carousel-widget-4d1a3239.js → carousel-widget-ea7d87b1.js} +14 -14
  18. package/{cascader-widget-fea57791.js → cascader-widget-0b81eec8.js} +15 -15
  19. package/{chart-widget-9dc25f9a.js → chart-widget-8373404e.js} +13 -13
  20. package/{checkbox-widget-cdab1671.js → checkbox-widget-66a7e1cb.js} +15 -15
  21. package/{collapse-widget-fd10b5fa.js → collapse-widget-7ee41c5c.js} +14 -14
  22. package/{color-picker-widget-c887f50b.js → color-picker-widget-3f9717a1.js} +15 -15
  23. package/{cont-cell-widget-71e77c48.js → cont-cell-widget-4b79347c.js} +1 -1
  24. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-7f3fb38b.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-83f8cacc.js} +5 -5
  25. package/{cont-widget-cbdc6662.js → cont-widget-547c6110.js} +5 -5
  26. package/{content-wrapper-7b2872cf.js → content-wrapper-5726b7f5.js} +7 -7
  27. package/{content-wrapper.vue_vue_type_script_setup_true_lang-db0bce35.js → content-wrapper.vue_vue_type_script_setup_true_lang-baea5e7e.js} +3 -3
  28. package/{date-picker-range-widget-c03bc378.js → date-picker-range-widget-11e82e2a.js} +15 -15
  29. package/{date-picker-widget-a4788e49.js → date-picker-widget-6fc6de52.js} +15 -15
  30. package/default-slot-widget-8d762171.js +26 -0
  31. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-fd9018b4.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-c459220b.js} +7 -7
  32. package/{descriptions-widget-99727453.js → descriptions-widget-c5fecb39.js} +14 -14
  33. package/{dialog-3c8bd967.js → dialog-4a3f5772.js} +24 -21
  34. package/{dialog-widget-83d060df.js → dialog-widget-6e8df434.js} +15 -15
  35. package/{divider-widget-d9a1397c.js → divider-widget-f9ed187b.js} +16 -16
  36. package/{drag-wrapper-e9462729.js → drag-wrapper-e9a12534.js} +6 -6
  37. package/{drawer-widget-3dde4140.js → drawer-widget-1d494753.js} +15 -15
  38. package/{dropdown-widget-80aa9f87.js → dropdown-widget-330a3cdc.js} +14 -14
  39. package/{empty-widget-b01b034e.js → empty-widget-6967f161.js} +16 -16
  40. package/{enum-type-3eee09cf.js → enum-type-7a728829.js} +57 -54
  41. package/{enum-type-af9f5bba.js → enum-type-829c8462.js} +48 -37
  42. package/{expression-f9adb9b4.js → expression-f3b962d3.js} +2 -2
  43. package/feedback-widget-7a6ac9ed.js +26 -0
  44. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-06094233.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-06683f41.js} +5 -5
  45. package/{fieldobj-0d6a0693.js → fieldobj-f28634ba.js} +1 -1
  46. package/{file-upload-widget-81081a10.js → file-upload-widget-b1b14ffa.js} +20 -20
  47. package/{form-item-wrapper-b755a7ab.js → form-item-wrapper-d0a9ff6c.js} +11 -11
  48. package/{form-widget-a19d1d5e.js → form-widget-1a27e9b4.js} +27 -27
  49. package/{grid-col-widget-c0aa72e3.js → grid-col-widget-f9ee0ab1.js} +1 -1
  50. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-940f7fb8.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ff4d1b7c.js} +5 -5
  51. package/{grid-widget-7ff1f824.js → grid-widget-7ecb5c19.js} +5 -5
  52. package/{html-text-widget-687720a1.js → html-text-widget-30f07d9a.js} +14 -14
  53. package/{icon-widget-49fb6d23.js → icon-widget-d565d050.js} +13 -13
  54. package/{iframe-widget-6b3134ec.js → iframe-widget-086f4098.js} +13 -13
  55. package/{image-widget-614de330.js → image-widget-630ebd35.js} +13 -13
  56. package/{index-d0ed190f.js → index-198e6bfc.js} +1 -1
  57. package/{index-89915d03.js → index-4f56cada.js} +9 -9
  58. package/index-697c9c4d.js +241 -0
  59. package/{input-number-widget-2e3cb800.js → input-number-widget-740bc531.js} +15 -15
  60. package/{input-widget-74572ab8.js → input-widget-c172fb57.js} +16 -16
  61. package/{label-wrapper-714b1ffc.js → label-wrapper-63276661.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-e7f67615.js} +3 -3
  63. package/{link-widget-a7ffc17b.js → link-widget-931d6131.js} +16 -16
  64. package/{ltable-col-widget-ca0db2f7.js → ltable-col-widget-bf4521f9.js} +1 -1
  65. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-fd7b8b5b.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-426f2b4c.js} +9 -9
  66. package/{ltable-widget-1ef2e0cb.js → ltable-widget-a7acf843.js} +5 -5
  67. package/{menu-widget-f654b2e2.js → menu-widget-24785732.js} +32 -32
  68. package/{model-widget-250ae819.js → model-widget-9280f81f.js} +13 -13
  69. package/multirow-cf88c15f.js +230 -0
  70. package/multirow-widget-8abae879.js +722 -0
  71. package/package.json +1 -1
  72. package/{pagination-widget-df2f379b.js → pagination-widget-21b9734a.js} +13 -13
  73. package/{picture-upload-widget-25603bd3.js → picture-upload-widget-2d6f5166.js} +16 -16
  74. package/{progress-widget-ef1fbe38.js → progress-widget-7acbcbd2.js} +37 -37
  75. package/{qrcode-widget-422ba971.js → qrcode-widget-ef7c0554.js} +13 -13
  76. package/{radio-widget-fb75bc5e.js → radio-widget-309621c0.js} +15 -15
  77. package/{range-widget-6dc8a81a.js → range-widget-0eab72e0.js} +16 -16
  78. package/{rate-widget-6395f645.js → rate-widget-b9cfc2cf.js} +15 -15
  79. package/render.es.js +32 -32
  80. package/render.style.css +1 -1
  81. package/render.umd.js +359 -355
  82. package/{result-widget-230edb57.js → result-widget-2b5456a9.js} +14 -14
  83. package/{rich-editor-widget-7281e7fc.js → rich-editor-widget-c203861c.js} +26 -26
  84. package/{router-widget-aab48273.js → router-widget-04b9a98b.js} +13 -13
  85. package/{select-widget-3fabec4c.js → select-widget-2bf2ef62.js} +15 -15
  86. package/{sfc-607e4077.js → sfc-2bf2df56.js} +8 -8
  87. package/{sfcview-5d26e89f.js → sfcview-1361c175.js} +7 -7
  88. package/{share-field-35b67886.js → share-field-addc6ef5.js} +278 -276
  89. package/{share-file-77daa671.js → share-file-f342058d.js} +14 -14
  90. package/{slider-widget-d6bfad96.js → slider-widget-33b99e50.js} +15 -15
  91. package/{slot-272abb65.js → slot-56adbbb3.js} +3 -3
  92. package/{static-text-widget-9c22019b.js → static-text-widget-108edde9.js} +14 -14
  93. package/{steps-widget-5cdb799d.js → steps-widget-9ca1809f.js} +13 -13
  94. package/{subMenu-widget-4f1581f9.js → subMenu-widget-7027f7e1.js} +8 -8
  95. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-bc537be5.js → subMenu-widget.vue_vue_type_script_setup_true_lang-acaf3bc5.js} +6 -6
  96. package/{switch-widget-857f4664.js → switch-widget-c8f119c0.js} +15 -15
  97. package/{tab-pane-widget-00680892.js → tab-pane-widget-3706cee1.js} +1 -1
  98. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-45512f0f.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-0bdade93.js} +5 -5
  99. package/table-col-widget-23084965.js +22 -0
  100. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-292b6fec.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-a3c724ca.js} +6 -6
  101. package/{table-widget-57890751.js → table-widget-c469cd7e.js} +15 -15
  102. package/{tabs-widget-a8268ebc.js → tabs-widget-8b8bf0e5.js} +7 -7
  103. package/{tag-widget-b1bde14f.js → tag-widget-f9cc80b9.js} +16 -16
  104. package/{text-widget-8e4b909d.js → text-widget-ef976b4a.js} +16 -16
  105. package/{textarea-widget-4c156f4a.js → textarea-widget-c2943bad.js} +15 -15
  106. package/{time-picker-range-widget-af2e8d96.js → time-picker-range-widget-e97ab6b0.js} +15 -15
  107. package/{time-picker-widget-6997e5ff.js → time-picker-widget-ad75fba4.js} +15 -15
  108. package/{time-select-widget-645a26ba.js → time-select-widget-7f3d955a.js} +15 -15
  109. package/{tmpl-widget-fdb68779.js → tmpl-widget-f116a203.js} +14 -14
  110. package/{tree-select-widget-ab0476a9.js → tree-select-widget-62c48877.js} +15 -15
  111. package/{tree-widget-e57ceed7.js → tree-widget-1fa2535b.js} +13 -13
  112. package/{uuid-59b631d4.js → uuid-92282a79.js} +1 -1
  113. package/{verifycode-widget-264bfa9d.js → verifycode-widget-71283784.js} +13 -13
  114. package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b9780aad.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ce22cece.js} +7 -7
  115. package/wrapper-widget-669e9a3b.js +84 -0
  116. package/default-slot-widget-02517799.js +0 -26
  117. package/feedback-widget-2098cac5.js +0 -26
  118. package/index-696a9346.js +0 -120
  119. package/multirow-b54f3d83.js +0 -229
  120. package/multirow-widget-5d488d4a.js +0 -703
  121. package/table-col-widget-5fc4ff5a.js +0 -22
  122. package/wrapper-widget-e9bb70ba.js +0 -84
@@ -0,0 +1,722 @@
1
+ import { defineComponent as Ze, computed as h, ref as Ge, watch as Je, resolveComponent as I, openBlock as l, createBlock as p, mergeProps as N, 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 Ke, popScopeId as Qe } from "vue";
2
+ import { e as D, Y as Xe, Z as et, _ as tt, $ as ot } from "./enum-type-829c8462.js";
3
+ import { B as We, f as Z } from "./baseImp-e8c9b2a6.js";
4
+ import { I as nt } from "./widget-base-4c2d6265.js";
5
+ import { b as lt, a as it } from "./share-field-addc6ef5.js";
6
+ import { _ as st } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ce22cece.js";
7
+ import { D as O } from "./drag-wrapper-e9a12534.js";
8
+ import { a6 as Fe, W as at } from "./enum-type-7a728829.js";
9
+ import { _ as rt } from "./label-wrapper.vue_vue_type_style_index_0_lang-e7f67615.js";
10
+ import { i as dt, d as x } from "./slot-56adbbb3.js";
11
+ import { c as ut } from "./multirow-cf88c15f.js";
12
+ import { Plus as L, Delete as G, SortUp as J, SortDown as K } from "./index-ddd23411.js";
13
+ import { _ as ct } from "./_plugin-vue_export-helper-dad06003.js";
14
+ import "./expression-f3b962d3.js";
15
+ import "./source-map-b04aec4a.js";
16
+ import "./uuid-92282a79.js";
17
+ import "./_commonjsHelpers-e7ea1525.js";
18
+ import "./esprima-e8d15055.js";
19
+ import "./icon-a0e0cdb0.js";
20
+ import "./dialog-4a3f5772.js";
21
+ import "element-plus";
22
+ import "./index-4f56cada.js";
23
+ import "./index-198e6bfc.js";
24
+ import "./fieldobj-f28634ba.js";
25
+ import "./field-base-5547436d.js";
26
+ const pt = (M) => (Ke("data-v-7b2fae04"), M = M(), Qe(), M), mt = {
27
+ key: 0,
28
+ class: "multiRowLine"
29
+ }, wt = {
30
+ key: 1,
31
+ class: "horialCenter row_bottom"
32
+ }, ft = {
33
+ key: 0,
34
+ class: "horialCenter row_bottom"
35
+ }, _t = { key: 0 }, gt = { class: "td2" }, kt = { class: "td2" }, bt = {
36
+ key: 0,
37
+ class: "td2"
38
+ }, yt = /* @__PURE__ */ pt(() => /* @__PURE__ */ R("td", { class: "rowIndex" }, "1", -1)), ht = {
39
+ key: 0,
40
+ class: "btns"
41
+ }, vt = {
42
+ key: 0,
43
+ class: "detailTable"
44
+ }, Rt = ["colspan"], Ct = { class: "nolabel tr2" }, Tt = { class: "rowIndex" }, Dt = {
45
+ key: 0,
46
+ class: "btns"
47
+ }, Lt = { key: 0 }, St = ["colspan"], $t = ["colspan"], Nt = {
48
+ key: 0,
49
+ class: "horialCenter row_bottom"
50
+ }, At = {
51
+ key: 0,
52
+ class: "horialCenter row_bottom"
53
+ }, Bt = {
54
+ key: 1,
55
+ class: "horialCenter row_bottom"
56
+ }, Wt = /* @__PURE__ */ Ze({
57
+ __name: "multirow-widget",
58
+ props: {
59
+ ...nt
60
+ },
61
+ setup(M, { expose: Ie }) {
62
+ const ae = M, { slots: Q, exposed: S, objFieldModel: re, attrs: o, events: de, fieldObj: Oe, fieldName: xe } = lt(ae), A = h(() => dt(Q.value)), { widgetRefList: $, rowsData: k, newSlot: Me, getWidgetOption: ue, newFieldModelFromSlot: Ue, removeFieldModelFromSlot: Ve, getValue: ce, setValue: ze, findWidgetByNameWithSibId: He, getSlotFromData: je, emit$: Ee } = ut({ ...ae, fieldName: xe.value, setValue: S == null ? void 0 : S.setValue }), y = h(() => {
63
+ var t;
64
+ return (t = o == null ? void 0 : o.value) == null ? void 0 : t.disabled;
65
+ }), X = 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
+ }), B = h(() => X.value || pe.value || me.value), te = h(() => B != null && B.value ? 2 : 1), oe = h(() => {
81
+ var t;
82
+ return (t = le(x(A.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"), W = h(() => (k == null ? void 0 : k.length) || 0), q = () => {
87
+ var t = ce();
88
+ re.value = t, S.setValue(t);
89
+ }, U = (t) => {
90
+ var f, v;
91
+ if ((k == null ? void 0 : k.length) >= o.value.maxRowNum) {
92
+ Z.info(D.i18nt("designer.hint.maxRowTip"));
93
+ return;
94
+ }
95
+ const a = Me(Q.value);
96
+ Xe(k, t, a), Ue(a, be({}, t + 1)), q(), (v = (f = de.value).addRow) == null || v.call(f, t);
97
+ }, fe = (t) => {
98
+ var f, v;
99
+ if ((k == null ? void 0 : k.length) <= o.value.minRowNum) {
100
+ Z.info(D.i18nt("designer.hint.minRowTip"));
101
+ return;
102
+ }
103
+ const a = k[t];
104
+ et(k, t), Ve(a), q(), (v = (f = de.value).deleteRow) == null || v.call(f, t);
105
+ }, _e = (t) => {
106
+ if (t === k.length - 1) {
107
+ Z.info(D.i18nt("designer.hint.moveDownLastChildHint"));
108
+ return;
109
+ }
110
+ tt(k, t), q();
111
+ }, ge = (t) => {
112
+ if (t === 0) {
113
+ Z.info(D.i18nt("designer.hint.moveUpFirstChildHint"));
114
+ return;
115
+ }
116
+ ot(k, t), q();
117
+ }, le = (t) => t == null ? void 0 : t.widgetList, ke = Ge(!0), Pe = (t) => {
118
+ var a, f;
119
+ return (a = o.value) != null && a.dataFormat ? (f = o.value) == null ? void 0 : f.dataFormat(t) : t;
120
+ }, be = (t, a) => {
121
+ var f, v;
122
+ return (f = o.value) != null && f.rowDataFormat ? (v = o.value) == null ? void 0 : v.rowDataFormat(t, a) : t;
123
+ }, F = h({
124
+ get() {
125
+ return k;
126
+ },
127
+ set(t) {
128
+ ie(t);
129
+ }
130
+ }), qe = (t, a) => He(t, a, (f) => S.findRefByName(f)), ie = (t) => ze(Pe(t), (a) => Ye(a)), Ye = (t) => {
131
+ var a;
132
+ return je(Q.value, t || [], (a = o.value) == null ? void 0 : a.minRowNum, be);
133
+ };
134
+ return Je(() => re.value, (t) => {
135
+ var a;
136
+ if (ke.value) {
137
+ if (t == null) {
138
+ (a = o.value) != null && a.allowDefaultAdd && ie([]);
139
+ return;
140
+ }
141
+ F.value = t, ke.value = !1;
142
+ }
143
+ }, { immediate: !0 }), Ie({
144
+ ...S,
145
+ setDisabled: (t) => {
146
+ S.setDisabled(t);
147
+ const { setAllRefList: a } = it($.value);
148
+ a(at.setDisabled, { flag: t });
149
+ },
150
+ emit$: Ee,
151
+ setValue: ie,
152
+ getValue: ce,
153
+ findWidgetByNameWithSibId: qe
154
+ }), (t, a) => {
155
+ const f = I("el-col"), v = I("el-tag"), ye = I("el-divider"), w = I("el-button"), Y = I("el-button-group"), he = I("el-row");
156
+ return l(), p(st, N(t.$props, {
157
+ "prop-options": { fieldObj: e(Oe) }
158
+ }), {
159
+ default: s(({ data: It }) => {
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", mt, [
164
+ (Re = e(o)) != null && Re.showHeader ? (l(), p(he, {
165
+ key: 0,
166
+ class: "rowHeader"
167
+ }, {
168
+ default: s(() => [
169
+ m(f, {
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(f, {
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(Y, { 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(L),
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(G),
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(J),
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(K),
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, N(t.$props, {
262
+ widget: e(x)(e(A), "row"),
263
+ dragClass: "dragSize",
264
+ refList: e($)
265
+ }), null, 16, ["widget", "refList"]),
266
+ (Ce = e(o)) != null && Ce.onlyOneAddButton ? (l(), c("div", wt, [
267
+ m(w, {
268
+ disabled: e(y),
269
+ icon: e(L),
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(F), (n, i) => {
283
+ var g, V;
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(f, {
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(f, {
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(Y, { disabled: e(y) }, {
319
+ default: s(() => {
320
+ var z, H, _;
321
+ return [
322
+ !((z = e(o)) != null && z.onlyOneAddButton) && e(o).allowAdd ? (l(), p(w, {
323
+ key: 0,
324
+ onClick: (b) => U(i),
325
+ disabled: e(y) || e(W) > ((H = e(o)) == null ? void 0 : H.maxRowNum),
326
+ icon: e(L),
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) => fe(i),
340
+ disabled: e(y) || ((_ = e(o)) == null ? void 0 : _.minRowNum) >= e(W),
341
+ icon: e(G),
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(J),
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) => _e(i),
371
+ disabled: e(y) || i >= e(W) - 1,
372
+ icon: e(K),
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, N(t.$props, {
394
+ widget: (V = n == null ? void 0 : n.widget) == null ? void 0 : V[0],
395
+ componentName: "div",
396
+ refList: e($),
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", ft, [
403
+ m(w, {
404
+ disabled: e(y),
405
+ icon: e(L),
406
+ size: "large",
407
+ onClick: a[0] || (a[0] = (n) => {
408
+ var i;
409
+ return U(((i = e(F)) == 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", _t, [
427
+ R("tr", null, [
428
+ R("th", gt, [
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(A), "row")), (n) => {
441
+ var i;
442
+ return l(), c("th", kt, [
443
+ R("div", {
444
+ class: Be([(i = e(ue)(n)) != null && i.required ? "required" : ""])
445
+ }, [
446
+ m(rt, {
447
+ widget: n,
448
+ designer: t.designer,
449
+ designState: t.designState,
450
+ parentWidget: t.widget,
451
+ parentList: le(e(x)(e(A), "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(B) ? (l(), c("th", bt)) : r("", !0)
458
+ ])
459
+ ])) : r("", !0),
460
+ R("tbody", null, [
461
+ t.designState ? (l(), c(T, { key: 0 }, [
462
+ m(O, N(t.$props, {
463
+ widget: e(x)(e(A), "row"),
464
+ componentName: "td",
465
+ refList: e($),
466
+ dragTag: "tr",
467
+ componentClass: "td2",
468
+ dragClass: "dragSize nolabel"
469
+ }), {
470
+ header: s(() => [
471
+ yt
472
+ ]),
473
+ footer: s(() => [
474
+ e(B) ? (l(), c("td", ht, [
475
+ m(Y, { 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(L),
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(G),
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(J)
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(K)
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", vt, [
541
+ R("td", {
542
+ colspan: (e(oe) || 0) + e(te)
543
+ }, [
544
+ m(O, N(t.$props, {
545
+ widget: e(x)(e(A), "detail"),
546
+ refList: e($),
547
+ style: { height: "auto" }
548
+ }), null, 16, ["widget", "refList"])
549
+ ], 8, Rt)
550
+ ])) : r("", !0)
551
+ ], 64)) : (l(!0), c(T, { key: 1 }, se(e(F), (n, i) => {
552
+ var g, V;
553
+ return l(), c(T, {
554
+ key: (n == null ? void 0 : n.key) || i
555
+ }, [
556
+ R("tr", Ct, [
557
+ R("td", Tt, d(i + 1), 1),
558
+ m(O, N(t.$props, {
559
+ widget: (g = n == null ? void 0 : n.widget) == null ? void 0 : g[0],
560
+ componentName: "td",
561
+ refList: e($),
562
+ componentClass: "td2",
563
+ "row-scope": { row: n == null ? void 0 : n.data, $index: i }
564
+ }), null, 16, ["widget", "refList", "row-scope"]),
565
+ e(B) ? (l(), c("td", Dt, [
566
+ m(Y, { disabled: e(y) }, {
567
+ default: s(() => {
568
+ var z, H;
569
+ return [
570
+ e(pe) ? (l(), p(w, {
571
+ key: 0,
572
+ onClick: (_) => U(i),
573
+ disabled: e(W) > ((z = e(o)) == null ? void 0 : z.maxRowNum),
574
+ icon: e(L),
575
+ link: ""
576
+ }, {
577
+ default: s(() => {
578
+ var _;
579
+ return [
580
+ u(d(((_ = e(o)) == null ? void 0 : _.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: (_) => fe(i),
588
+ type: "danger",
589
+ icon: e(G),
590
+ disabled: ((H = e(o)) == null ? void 0 : H.minRowNum) >= e(W),
591
+ link: ""
592
+ }, {
593
+ default: s(() => {
594
+ var _;
595
+ return [
596
+ u(d(((_ = e(o)) == null ? void 0 : _.deleteRecordText) || e(P)), 1)
597
+ ];
598
+ }),
599
+ _: 2
600
+ }, 1032, ["onClick", "icon", "disabled"])) : r("", !0),
601
+ e(X) ? (l(), p(w, {
602
+ key: 2,
603
+ onClick: (_) => ge(i),
604
+ disabled: i <= 0,
605
+ link: "",
606
+ icon: e(J)
607
+ }, {
608
+ default: s(() => {
609
+ var _;
610
+ return [
611
+ u(d(((_ = e(o)) == null ? void 0 : _.sortUpText) || e(j)), 1)
612
+ ];
613
+ }),
614
+ _: 2
615
+ }, 1032, ["onClick", "disabled", "icon"])) : r("", !0),
616
+ e(X) ? (l(), p(w, {
617
+ key: 3,
618
+ onClick: (_) => _e(i),
619
+ disabled: i >= e(W) - 1,
620
+ link: "",
621
+ icon: e(K)
622
+ }, {
623
+ default: s(() => {
624
+ var _;
625
+ return [
626
+ u(d(((_ = e(o)) == null ? void 0 : _.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", Lt, [
638
+ R("td", {
639
+ class: "detailTable",
640
+ colspan: (e(oe) || 0) + e(te)
641
+ }, [
642
+ m(O, N(t.$props, {
643
+ widget: (V = n == null ? void 0 : n.widget) == null ? void 0 : V[1],
644
+ "component-style": { height: "auto" },
645
+ refList: e($),
646
+ "row-scope": { row: n == null ? void 0 : n.data, $index: i }
647
+ }), null, 16, ["widget", "refList", "row-scope"])
648
+ ], 8, St)
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", Nt, [
660
+ m(w, {
661
+ disabled: e(y),
662
+ icon: e(L),
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(F)) == null ? void 0 : Ne.length) == 0 ? (l(), c("div", At, [
676
+ m(w, {
677
+ disabled: e(y),
678
+ onClick: a[1] || (a[1] = (n) => U(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", Bt, [
689
+ m(w, {
690
+ disabled: e(y),
691
+ icon: e(L),
692
+ size: "large",
693
+ onClick: a[2] || (a[2] = (n) => {
694
+ var i;
695
+ return U(((i = e(F)) == 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, $t)
709
+ ])
710
+ ])
711
+ ], 2)) : r("", !0)
712
+ ];
713
+ }),
714
+ _: 1
715
+ }, 16, ["prop-options"]);
716
+ };
717
+ }
718
+ });
719
+ const ao = /* @__PURE__ */ ct(Wt, [["__scopeId", "data-v-7b2fae04"]]);
720
+ export {
721
+ ao as default
722
+ };