hlrender 0.0.220 → 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.
- package/{_pdf-5e740930.js → _pdf-2615d97f.js} +6 -6
- package/{_txt-a0a32317.js → _txt-fefad837.js} +6 -6
- package/{_unsupport-dc6b3049.js → _unsupport-05d8e7f5.js} +1 -1
- package/{affix-widget-3205cea1.js → affix-widget-7ee62ad0.js} +16 -16
- package/{alert-widget-442ad533.js → alert-widget-e49cf21a.js} +16 -16
- package/{anchor-widget-6902ad29.js → anchor-widget-2ee58e27.js} +13 -13
- package/{auto-complete-widget-b689b21b.js → auto-complete-widget-0ca8ea1b.js} +16 -16
- package/{avatar-widget-393be8fe.js → avatar-widget-41693c37.js} +16 -16
- package/{backtop-widget-c55d4b2a.js → backtop-widget-25aecb13.js} +16 -16
- package/{badge-widget-eb0b4d90.js → badge-widget-67b8d37b.js} +16 -16
- package/{barcode-widget-6e7d2062.js → barcode-widget-9e091ba9.js} +13 -13
- package/{baseImp-183dd31e.js → baseImp-e8c9b2a6.js} +506 -502
- package/{breadcrumb-widget-387260b1.js → breadcrumb-widget-08733d3e.js} +13 -13
- package/{button-widget-a2454883.js → button-widget-57b0d6a1.js} +16 -16
- package/{cache-widget-71d649fc.js → cache-widget-311cfc52.js} +15 -15
- package/{card-widget-0d1e8b9b.js → card-widget-add6804a.js} +14 -14
- package/{carousel-widget-73fadc55.js → carousel-widget-ea7d87b1.js} +14 -14
- package/{cascader-widget-9b9341d1.js → cascader-widget-0b81eec8.js} +15 -15
- package/{chart-widget-409951a4.js → chart-widget-8373404e.js} +13 -13
- package/{checkbox-widget-0e5c4628.js → checkbox-widget-66a7e1cb.js} +15 -15
- package/{collapse-widget-20378f35.js → collapse-widget-7ee41c5c.js} +14 -14
- package/{color-picker-widget-1944df02.js → color-picker-widget-3f9717a1.js} +15 -15
- package/{cont-cell-widget-7b23704e.js → cont-cell-widget-4b79347c.js} +1 -1
- 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-83f8cacc.js} +5 -5
- package/{cont-widget-a8e05996.js → cont-widget-547c6110.js} +5 -5
- package/{content-wrapper-fedcb3ef.js → content-wrapper-5726b7f5.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-e96feeb8.js → content-wrapper.vue_vue_type_script_setup_true_lang-baea5e7e.js} +3 -3
- package/{date-picker-range-widget-551f2043.js → date-picker-range-widget-11e82e2a.js} +15 -15
- package/{date-picker-widget-d5573b72.js → date-picker-widget-6fc6de52.js} +15 -15
- package/default-slot-widget-8d762171.js +26 -0
- 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-c459220b.js} +7 -7
- package/{descriptions-widget-5d456b8f.js → descriptions-widget-c5fecb39.js} +14 -14
- package/{dialog-3c8bd967.js → dialog-4a3f5772.js} +24 -21
- package/{dialog-widget-0cec98c0.js → dialog-widget-6e8df434.js} +15 -15
- package/{divider-widget-530920d5.js → divider-widget-f9ed187b.js} +16 -16
- package/{drag-wrapper-26981a28.js → drag-wrapper-e9a12534.js} +6 -6
- package/{drawer-widget-b94cbe02.js → drawer-widget-1d494753.js} +15 -15
- package/{dropdown-widget-02573d9d.js → dropdown-widget-330a3cdc.js} +14 -14
- package/{empty-widget-7468e8c5.js → empty-widget-6967f161.js} +16 -16
- package/{enum-type-3eee09cf.js → enum-type-7a728829.js} +57 -54
- package/{enum-type-af9f5bba.js → enum-type-829c8462.js} +48 -37
- package/{expression-f9adb9b4.js → expression-f3b962d3.js} +2 -2
- package/feedback-widget-7a6ac9ed.js +26 -0
- 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-06683f41.js} +5 -5
- package/{fieldobj-0d6a0693.js → fieldobj-f28634ba.js} +1 -1
- package/{file-upload-widget-320d5f8a.js → file-upload-widget-b1b14ffa.js} +20 -20
- package/{form-item-wrapper-8f3d663c.js → form-item-wrapper-d0a9ff6c.js} +11 -11
- package/{form-widget-52ccc908.js → form-widget-1a27e9b4.js} +27 -27
- package/{grid-col-widget-272e7d41.js → grid-col-widget-f9ee0ab1.js} +1 -1
- 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-ff4d1b7c.js} +5 -5
- package/{grid-widget-c5d76e85.js → grid-widget-7ecb5c19.js} +5 -5
- package/{html-text-widget-9b868c74.js → html-text-widget-30f07d9a.js} +14 -14
- package/{icon-widget-cd0cbe2d.js → icon-widget-d565d050.js} +13 -13
- package/{iframe-widget-bfbf8683.js → iframe-widget-086f4098.js} +13 -13
- package/{image-widget-600f98de.js → image-widget-630ebd35.js} +13 -13
- package/{index-d0ed190f.js → index-198e6bfc.js} +1 -1
- package/{index-693d89a8.js → index-4f56cada.js} +9 -9
- package/index-697c9c4d.js +241 -0
- package/{input-number-widget-88afc03e.js → input-number-widget-740bc531.js} +15 -15
- package/{input-widget-1b6ff62d.js → input-widget-c172fb57.js} +16 -16
- package/{label-wrapper-714b1ffc.js → label-wrapper-63276661.js} +5 -5
- 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
- package/{link-widget-61b13e67.js → link-widget-931d6131.js} +16 -16
- package/{ltable-col-widget-31614b0c.js → ltable-col-widget-bf4521f9.js} +1 -1
- 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-426f2b4c.js} +9 -9
- package/{ltable-widget-e42fff21.js → ltable-widget-a7acf843.js} +5 -5
- package/{menu-widget-7d2c15e7.js → menu-widget-24785732.js} +32 -32
- package/{model-widget-18f6601b.js → model-widget-9280f81f.js} +13 -13
- package/multirow-cf88c15f.js +230 -0
- package/multirow-widget-8abae879.js +722 -0
- package/package.json +1 -1
- package/{pagination-widget-b90e15e2.js → pagination-widget-21b9734a.js} +13 -13
- package/{picture-upload-widget-1b55d8b9.js → picture-upload-widget-2d6f5166.js} +16 -16
- package/{progress-widget-a32940a1.js → progress-widget-7acbcbd2.js} +37 -37
- package/{qrcode-widget-ffdca649.js → qrcode-widget-ef7c0554.js} +13 -13
- package/{radio-widget-255c651e.js → radio-widget-309621c0.js} +15 -15
- package/{range-widget-b1098bd3.js → range-widget-0eab72e0.js} +16 -16
- package/{rate-widget-71ee09be.js → rate-widget-b9cfc2cf.js} +15 -15
- package/render.es.js +32 -32
- package/render.style.css +1 -1
- package/render.umd.js +327 -323
- package/{result-widget-658ea3c8.js → result-widget-2b5456a9.js} +14 -14
- package/{rich-editor-widget-6fae5424.js → rich-editor-widget-c203861c.js} +26 -26
- package/{router-widget-ca01ee92.js → router-widget-04b9a98b.js} +13 -13
- package/{select-widget-091570a9.js → select-widget-2bf2ef62.js} +15 -15
- package/{sfc-9bcd728e.js → sfc-2bf2df56.js} +8 -8
- package/{sfcview-01217803.js → sfcview-1361c175.js} +7 -7
- package/{share-field-13175d66.js → share-field-addc6ef5.js} +170 -170
- package/{share-file-b00410aa.js → share-file-f342058d.js} +14 -14
- package/{slider-widget-c7750206.js → slider-widget-33b99e50.js} +15 -15
- package/{slot-ee9edd04.js → slot-56adbbb3.js} +3 -3
- package/{static-text-widget-4577f848.js → static-text-widget-108edde9.js} +14 -14
- package/{steps-widget-428c367a.js → steps-widget-9ca1809f.js} +13 -13
- package/{subMenu-widget-4d89f25a.js → subMenu-widget-7027f7e1.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-85082dda.js → subMenu-widget.vue_vue_type_script_setup_true_lang-acaf3bc5.js} +6 -6
- package/{switch-widget-ca84fd85.js → switch-widget-c8f119c0.js} +15 -15
- package/{tab-pane-widget-528cd5bb.js → tab-pane-widget-3706cee1.js} +1 -1
- 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-0bdade93.js} +5 -5
- package/table-col-widget-23084965.js +22 -0
- 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-a3c724ca.js} +6 -6
- package/{table-widget-37ac1691.js → table-widget-c469cd7e.js} +15 -15
- package/{tabs-widget-7cad19ee.js → tabs-widget-8b8bf0e5.js} +7 -7
- package/{tag-widget-65420919.js → tag-widget-f9cc80b9.js} +16 -16
- package/{text-widget-15993525.js → text-widget-ef976b4a.js} +16 -16
- package/{textarea-widget-816c2e3b.js → textarea-widget-c2943bad.js} +15 -15
- package/{time-picker-range-widget-b0d599b5.js → time-picker-range-widget-e97ab6b0.js} +15 -15
- package/{time-picker-widget-ba1b4e27.js → time-picker-widget-ad75fba4.js} +15 -15
- package/{time-select-widget-be8f069b.js → time-select-widget-7f3d955a.js} +15 -15
- package/{tmpl-widget-738ec138.js → tmpl-widget-f116a203.js} +14 -14
- package/{tree-select-widget-cadc35bd.js → tree-select-widget-62c48877.js} +15 -15
- package/{tree-widget-cd63ddb3.js → tree-widget-1fa2535b.js} +13 -13
- package/{uuid-59b631d4.js → uuid-92282a79.js} +1 -1
- package/{verifycode-widget-ed0de662.js → verifycode-widget-71283784.js} +13 -13
- 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-ce22cece.js} +7 -7
- package/wrapper-widget-669e9a3b.js +84 -0
- package/default-slot-widget-4581e992.js +0 -26
- package/feedback-widget-951e3f62.js +0 -26
- package/index-696a9346.js +0 -120
- package/multirow-44dedb50.js +0 -229
- package/multirow-widget-5fc0ca63.js +0 -703
- package/table-col-widget-3b698b54.js +0 -22
- package/wrapper-widget-fe2e7d5a.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
|
+
};
|