hlrender 0.0.248 → 0.0.250
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{_pdf-bb2ed1cc.js → _pdf-cb2a31ab.js} +6 -6
- package/{_txt-c0ff0925.js → _txt-391e502f.js} +6 -6
- package/{_unsupport-90f0dc6e.js → _unsupport-f758dd25.js} +1 -1
- package/{affix-widget-9e3f32ff.js → affix-widget-ed078571.js} +16 -16
- package/{alert-widget-fe536da6.js → alert-widget-f1deaa44.js} +16 -16
- package/{anchor-widget-f0661e0e.js → anchor-widget-dfb743e9.js} +13 -13
- package/{auto-complete-widget-050084b8.js → auto-complete-widget-ec5c9ba8.js} +16 -16
- package/{avatar-widget-7e21d005.js → avatar-widget-98a4d28f.js} +16 -16
- package/{backtop-widget-2810de6d.js → backtop-widget-a7418f1f.js} +16 -16
- package/{badge-widget-e8f7f3e1.js → badge-widget-c5ece7d7.js} +16 -16
- package/{barcode-widget-e59922a2.js → barcode-widget-10d33015.js} +13 -13
- package/{baseImp-9383d5c6.js → baseImp-9c1c3476.js} +7 -7
- package/{breadcrumb-widget-4bf2d9e4.js → breadcrumb-widget-ec7cfa74.js} +13 -13
- package/{button-widget-438a9987.js → button-widget-0b5437e1.js} +16 -16
- package/{cache-widget-c10d4507.js → cache-widget-2242443d.js} +15 -15
- package/{card-widget-c3bbc195.js → card-widget-db123c7c.js} +14 -14
- package/{carousel-widget-3c0a8373.js → carousel-widget-f8b3c553.js} +14 -14
- package/{cascader-widget-119b43ba.js → cascader-widget-1d7a5f6a.js} +15 -15
- package/{chart-widget-3fd281ab.js → chart-widget-87991d6b.js} +13 -13
- package/{checkbox-widget-3efad97c.js → checkbox-widget-e55997fa.js} +15 -15
- package/{collapse-widget-379750a9.js → collapse-widget-a704a63e.js} +14 -14
- package/{color-picker-widget-e3596a18.js → color-picker-widget-508c78ab.js} +15 -15
- package/{cont-cell-widget-8fbcbeb7.js → cont-cell-widget-3103731d.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-7cdb2afd.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-a61c96aa.js} +5 -5
- package/{cont-widget-3d104c37.js → cont-widget-4f328caa.js} +5 -5
- package/{content-wrapper-f2ee1af3.js → content-wrapper-8467d706.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-5c0ebcc4.js → content-wrapper.vue_vue_type_script_setup_true_lang-a0a33278.js} +3 -3
- package/{countdown-widget-f9ec7419.js → countdown-widget-5056bc94.js} +16 -16
- package/{date-picker-range-widget-d1e2a4ac.js → date-picker-range-widget-9ecd14c4.js} +15 -15
- package/{date-picker-widget-c81a2558.js → date-picker-widget-224cb94c.js} +15 -15
- package/default-slot-widget-c6510369.js +26 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-e14e1054.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-af637950.js} +7 -7
- package/{descriptions-widget-77330fb1.js → descriptions-widget-4c18d8b0.js} +14 -14
- package/{dialog-0da487c3.js → dialog-eea5b71b.js} +2 -2
- package/{dialog-widget-72498137.js → dialog-widget-e688ccf0.js} +15 -15
- package/{divider-widget-bdcc5d76.js → divider-widget-525fd828.js} +16 -16
- package/{drag-wrapper-33af2a88.js → drag-wrapper-62c0094c.js} +6 -6
- package/{drawer-widget-8e78fc36.js → drawer-widget-aacdcb21.js} +15 -15
- package/{dropdown-widget-6066b51c.js → dropdown-widget-be752f62.js} +14 -14
- package/{empty-widget-adaba815.js → empty-widget-8f7efe98.js} +16 -16
- package/{enum-type-85a3742d.js → enum-type-80708bd8.js} +1 -1
- package/{enum-type-1f7ceb80.js → enum-type-8bbffeb3.js} +40 -32
- package/{expression-58dd108c.js → expression-fb652f29.js} +1594 -1568
- package/feedback-widget-ad8af409.js +26 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-af25739c.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-2ec0b644.js} +6 -6
- package/{fieldobj-84ca7851.js → fieldobj-0f01de3c.js} +1 -1
- package/{file-upload-widget-cdd8cebf.js → file-upload-widget-25414c91.js} +20 -20
- package/{form-item-wrapper-4f229d1b.js → form-item-wrapper-b34acfff.js} +11 -11
- package/form-widget-d584d0a8.js +235 -0
- package/{grid-col-widget-0249943c.js → grid-col-widget-139b7c4c.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-36f0afca.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-972ab63e.js} +5 -5
- package/{grid-widget-9fbd7c74.js → grid-widget-f6a55adb.js} +5 -5
- package/{hcard-widget-cd5ba78d.js → hcard-widget-6c37ac5a.js} +14 -14
- package/{html-text-widget-935b9a0f.js → html-text-widget-bfeb2d4a.js} +14 -14
- package/{icon-widget-24cbb421.js → icon-widget-16f9b86e.js} +13 -13
- package/{iframe-widget-b7b3a870.js → iframe-widget-afed2d47.js} +13 -13
- package/{image-widget-e533820f.js → image-widget-e0b56b05.js} +13 -13
- package/{index-4ef5ab0f.js → index-4c98d500.js} +5 -5
- package/{index-0b9eb37c.js → index-88a56222.js} +4 -4
- package/{index-bf07c65e.js → index-ae7a8101.js} +1 -1
- package/{input-number-widget-b061ad65.js → input-number-widget-97b26122.js} +15 -15
- package/{input-tag-widget-60740a4c.js → input-tag-widget-68de8697.js} +16 -16
- package/{input-widget-9706d27d.js → input-widget-3f90aa6c.js} +16 -16
- package/{label-wrapper-a4aa4233.js → label-wrapper-c9720011.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-c6fcf556.js → label-wrapper.vue_vue_type_style_index_0_lang-8eedceba.js} +3 -3
- package/{link-widget-7b1fefd1.js → link-widget-c4a07221.js} +16 -16
- package/{ltable-col-widget-9de851bd.js → ltable-col-widget-56f2b4ca.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-9e43ffd2.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-f7424ccf.js} +9 -9
- package/{ltable-widget-25b85d59.js → ltable-widget-4ba99063.js} +5 -5
- package/{mention-widget-e12197ad.js → mention-widget-16f93f89.js} +16 -16
- package/{menu-widget-e32e0e47.js → menu-widget-7ed14190.js} +14 -14
- package/{model-widget-e739909b.js → model-widget-ef74ee69.js} +13 -13
- package/{multirow-fe6796eb.js → multirow-55dfa7bf.js} +71 -71
- package/{multirow-widget-6e66801f.js → multirow-widget-98d58cbc.js} +225 -215
- package/package.json +1 -1
- package/{pagination-widget-c8311fe5.js → pagination-widget-11736a85.js} +13 -13
- package/{picture-upload-widget-6837e190.js → picture-upload-widget-07a249c5.js} +16 -16
- package/{progress-widget-d0ad2625.js → progress-widget-6c4a0c98.js} +14 -14
- package/{qrcode-widget-3243b2b4.js → qrcode-widget-208ca190.js} +13 -13
- package/{radio-widget-5b424771.js → radio-widget-6bb674ae.js} +15 -15
- package/{range-widget-267d2082.js → range-widget-211a09a3.js} +16 -16
- package/{rate-widget-457db569.js → rate-widget-306157b2.js} +15 -15
- package/render.es.js +32 -32
- package/render.style.css +1 -1
- package/render.umd.js +353 -353
- package/{result-widget-f1841422.js → result-widget-cae209ba.js} +14 -14
- package/{rich-editor-widget-47902188.js → rich-editor-widget-83444ba6.js} +15 -15
- package/{router-widget-a850fb1a.js → router-widget-5dcbe53a.js} +13 -13
- package/{segmented-widget-bf216678.js → segmented-widget-66af8f3f.js} +13 -13
- package/{select-widget-c7a55d9b.js → select-widget-afa580d0.js} +15 -15
- package/{sfc-5df5ebd4.js → sfc-751c17f2.js} +8 -8
- package/{sfcview-6cea246c.js → sfcview-f2e4159b.js} +7 -7
- package/share-field-69602159.js +819 -0
- package/{share-file-d8e1613a.js → share-file-1a476c02.js} +6 -6
- package/{skeleton-widget-4adaa4f2.js → skeleton-widget-6507cc5d.js} +16 -16
- package/{skeletonItem-widget-23dba0ee.js → skeletonItem-widget-4cb52929.js} +13 -13
- package/{slider-widget-db0937da.js → slider-widget-e5e57d6b.js} +15 -15
- package/slot-44e26cb4.js +337 -0
- package/{space-widget-9d57d38e.js → space-widget-efae186b.js} +14 -14
- package/{splitter-widget-07a2084a.js → splitter-widget-745c9726.js} +14 -14
- package/{static-text-widget-9fc8404c.js → static-text-widget-5fc93b3d.js} +14 -14
- package/{statistic-widget-2013402d.js → statistic-widget-9348554d.js} +16 -16
- package/{steps-widget-97805e3c.js → steps-widget-677ed19e.js} +13 -13
- package/{subMenu-widget-6161e2db.js → subMenu-widget-09b1a1c0.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-191ef451.js → subMenu-widget.vue_vue_type_script_setup_true_lang-27267c3d.js} +3 -3
- package/{switch-widget-747d657d.js → switch-widget-ec135777.js} +15 -15
- package/{tab-pane-widget-46e54057.js → tab-pane-widget-3ca1e884.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-f7c6cb87.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-149c1226.js} +5 -5
- package/table-col-widget-b0145a20.js +22 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-cf051643.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-3a997aff.js} +7 -7
- package/{table-widget-e68748c1.js → table-widget-724571c2.js} +99 -98
- package/{tabs-widget-7693a044.js → tabs-widget-b2d9f190.js} +7 -7
- package/{tag-widget-5e12d411.js → tag-widget-1a07578c.js} +16 -16
- package/{text-widget-951f93d7.js → text-widget-ace73631.js} +16 -16
- package/{textarea-widget-58e7c245.js → textarea-widget-2b6edce3.js} +15 -15
- package/{time-picker-range-widget-7a523dbb.js → time-picker-range-widget-9127266d.js} +15 -15
- package/{time-picker-widget-e1efee9b.js → time-picker-widget-3f800a67.js} +15 -15
- package/{time-select-widget-b6a53c87.js → time-select-widget-43783de2.js} +15 -15
- package/{timeline-widget-f3e8019c.js → timeline-widget-b709e645.js} +14 -14
- package/tmpl-widget-e624dbba.js +97 -0
- package/{tooltip-widget-e8e95d83.js → tooltip-widget-8f02658d.js} +14 -14
- package/tour-widget-5f241236.js +148 -0
- package/{transfer-widget-448f92b3.js → transfer-widget-9ddf28a2.js} +16 -16
- package/{tree-select-widget-88140048.js → tree-select-widget-48f73751.js} +15 -15
- package/{tree-widget-6e3978b8.js → tree-widget-d1ed2356.js} +13 -13
- package/{uuid-aa621ecf.js → uuid-f2110dfe.js} +1 -1
- package/{verifycode-widget-8dd03d83.js → verifycode-widget-3d0412b4.js} +13 -13
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-808755ad.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js} +7 -7
- package/wrapper-widget-f7844eb6.js +91 -0
- package/default-slot-widget-43ef46a0.js +0 -26
- package/feedback-widget-a1ac3e0c.js +0 -26
- package/form-widget-44fb316c.js +0 -229
- package/share-field-018a3de3.js +0 -812
- package/slot-eeb8e89a.js +0 -329
- package/table-col-widget-897aff7e.js +0 -22
- package/tmpl-widget-94a88883.js +0 -96
- package/tour-widget-3a5a6f1e.js +0 -148
- package/wrapper-widget-1529f997.js +0 -84
|
@@ -1,167 +1,173 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { e as
|
|
3
|
-
import { B as
|
|
4
|
-
import { I as
|
|
5
|
-
import { b as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { D as x } from "./drag-wrapper-
|
|
8
|
-
import { ag as
|
|
9
|
-
import { _ as
|
|
10
|
-
import { i as
|
|
11
|
-
import { c as
|
|
12
|
-
import { Plus as
|
|
13
|
-
import {
|
|
14
|
-
import "./
|
|
15
|
-
import "./source-map-b04aec4a.js";
|
|
16
|
-
import "./uuid-aa621ecf.js";
|
|
17
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
|
-
import "./esprima-e8d15055.js";
|
|
1
|
+
import { defineComponent as Xe, computed as y, inject as Ye, ref as et, watch as tt, onMounted as ot, nextTick as lt, resolveComponent as O, openBlock as n, createBlock as p, mergeProps as A, unref as e, withCtx as i, createElementBlock as c, Fragment as D, createVNode as m, createTextVNode as u, toDisplayString as d, createCommentVNode as r, renderList as ae, normalizeClass as We, createElementVNode as R, normalizeStyle as nt } from "vue";
|
|
2
|
+
import { e as L, i as at, Z as it, _ as st, $ as rt, a0 as dt } from "./enum-type-8bbffeb3.js";
|
|
3
|
+
import { B as ie, f as Z } from "./baseImp-9c1c3476.js";
|
|
4
|
+
import { I as ut } from "./widget-base-8eece820.js";
|
|
5
|
+
import { b as ct, a as pt } from "./share-field-69602159.js";
|
|
6
|
+
import { _ as mt } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js";
|
|
7
|
+
import { D as x } from "./drag-wrapper-62c0094c.js";
|
|
8
|
+
import { ag as Fe, W as ft } from "./enum-type-80708bd8.js";
|
|
9
|
+
import { _ as vt } from "./label-wrapper.vue_vue_type_style_index_0_lang-8eedceba.js";
|
|
10
|
+
import { i as wt, d as V } from "./slot-44e26cb4.js";
|
|
11
|
+
import { c as _t } from "./multirow-55dfa7bf.js";
|
|
12
|
+
import { Plus as $, Delete as G, SortUp as J, SortDown as K } from "./index-6bcfdc22.js";
|
|
13
|
+
import { d as gt } from "./expression-fb652f29.js";
|
|
14
|
+
import { _ as kt } from "./_plugin-vue_export-helper-dad06003.js";
|
|
19
15
|
import "./icon-1fc5d00d.js";
|
|
20
|
-
import "./dialog-
|
|
16
|
+
import "./dialog-eea5b71b.js";
|
|
17
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
|
+
import "./uuid-f2110dfe.js";
|
|
21
19
|
import "element-plus";
|
|
22
|
-
import "./index-
|
|
23
|
-
import "./index-
|
|
24
|
-
import "./fieldobj-
|
|
20
|
+
import "./index-4c98d500.js";
|
|
21
|
+
import "./index-ae7a8101.js";
|
|
22
|
+
import "./fieldobj-0f01de3c.js";
|
|
25
23
|
import "./field-base-1acf3ada.js";
|
|
26
|
-
|
|
24
|
+
import "./source-map-b04aec4a.js";
|
|
25
|
+
import "./esprima-e8d15055.js";
|
|
26
|
+
const bt = {
|
|
27
27
|
key: 0,
|
|
28
28
|
class: "multiRowLine"
|
|
29
|
-
},
|
|
29
|
+
}, yt = {
|
|
30
30
|
key: 1,
|
|
31
31
|
class: "horialCenter row_bottom"
|
|
32
|
-
},
|
|
32
|
+
}, ht = {
|
|
33
33
|
key: 0,
|
|
34
34
|
class: "horialCenter row_bottom"
|
|
35
|
-
},
|
|
35
|
+
}, Rt = { key: 0 }, Ct = {
|
|
36
|
+
class: "td2",
|
|
37
|
+
style: { width: "50px" }
|
|
38
|
+
}, Tt = {
|
|
36
39
|
key: 0,
|
|
37
|
-
class: "td2"
|
|
38
|
-
|
|
40
|
+
class: "td2",
|
|
41
|
+
style: { width: "50px" }
|
|
42
|
+
}, Dt = {
|
|
39
43
|
key: 0,
|
|
40
44
|
class: "btns"
|
|
41
|
-
},
|
|
45
|
+
}, Lt = {
|
|
42
46
|
key: 0,
|
|
43
47
|
class: "detailTable"
|
|
44
|
-
},
|
|
48
|
+
}, $t = ["colspan"], Nt = { class: "nolabel tr2" }, St = { class: "rowIndex" }, At = {
|
|
45
49
|
key: 0,
|
|
46
50
|
class: "btns"
|
|
47
|
-
},
|
|
51
|
+
}, Bt = { key: 0 }, Wt = ["colspan"], Ft = ["colspan"], Ot = {
|
|
48
52
|
key: 0,
|
|
49
53
|
class: "horialCenter row_bottom"
|
|
50
|
-
},
|
|
54
|
+
}, xt = {
|
|
51
55
|
key: 0,
|
|
52
56
|
class: "horialCenter row_bottom"
|
|
53
|
-
},
|
|
57
|
+
}, Vt = {
|
|
54
58
|
key: 1,
|
|
55
59
|
class: "horialCenter row_bottom"
|
|
56
|
-
},
|
|
60
|
+
}, It = /* @__PURE__ */ Xe({
|
|
57
61
|
__name: "multirow-widget",
|
|
58
62
|
props: {
|
|
59
|
-
...
|
|
63
|
+
...ut
|
|
60
64
|
},
|
|
61
|
-
setup(
|
|
62
|
-
const
|
|
65
|
+
setup(Oe, { expose: xe }) {
|
|
66
|
+
const se = Oe, { slots: Q, exposed: N, objFieldModel: re, attrs: o, events: de, fieldObj: Ve, fieldName: Ie } = ct(se), B = y(() => wt(Q.value)), Me = Ye(gt.globalConfig, {}), { widgetRefList: S, rowsData: g, newSlot: ze, getWidgetOption: ue, newFieldModelFromSlot: Ue, removeFieldModelFromSlot: He, getValue: ce, setValue: je, findWidgetByNameWithSibId: Ee, getSlotFromData: Pe, emit$: qe } = _t({ ...se, globalConfig: Me, fieldName: Ie.value, setValue: N == null ? void 0 : N.setValue }), b = y(() => {
|
|
63
67
|
var t;
|
|
64
68
|
return (t = o == null ? void 0 : o.value) == null ? void 0 : t.disabled;
|
|
65
69
|
}), X = y(() => {
|
|
66
70
|
var t;
|
|
67
71
|
return (t = o.value) == null ? void 0 : t.sortable;
|
|
68
|
-
}),
|
|
72
|
+
}), pe = y(() => {
|
|
69
73
|
var t, s;
|
|
70
74
|
return !((t = o.value) != null && t.onlyOneAddButton) && ((s = o.value) == null ? void 0 : s.allowAdd);
|
|
71
|
-
}),
|
|
75
|
+
}), me = y(() => {
|
|
72
76
|
var t;
|
|
73
77
|
return (t = o.value) == null ? void 0 : t.allowDelete;
|
|
74
|
-
}),
|
|
78
|
+
}), fe = y(() => {
|
|
75
79
|
var t;
|
|
76
80
|
return (t = o.value) == null ? void 0 : t.showDetail;
|
|
77
81
|
}), Y = y(() => {
|
|
78
82
|
var t;
|
|
79
83
|
return (t = o.value) == null ? void 0 : t.showLimit;
|
|
80
|
-
}), W = y(() => X.value ||
|
|
84
|
+
}), W = y(() => X.value || pe.value || me.value), ee = y(() => W != null && W.value ? 2 : 1), te = y(() => {
|
|
81
85
|
var t;
|
|
82
|
-
return (t = le(
|
|
86
|
+
return (t = le(V(B.value, "row"))) == null ? void 0 : t.length;
|
|
83
87
|
}), oe = y(() => {
|
|
84
88
|
var t, s;
|
|
85
|
-
return
|
|
86
|
-
}), H =
|
|
87
|
-
var t =
|
|
88
|
-
|
|
89
|
-
},
|
|
89
|
+
return L.i18nt("designer.hint.multirowtip") + ((t = o.value) == null ? void 0 : t.minRowNum) + "-" + ((s = o.value) == null ? void 0 : s.maxRowNum);
|
|
90
|
+
}), H = L.i18nt("designer.hint.sortUp"), j = L.i18nt("designer.hint.sortDown"), E = L.i18nt("designer.hint.deleteRow"), C = L.i18nt("designer.hint.addNewRow"), F = y(() => (g == null ? void 0 : g.length) || 0), P = () => {
|
|
91
|
+
var t = ce();
|
|
92
|
+
re.value = t, N.setValue(t);
|
|
93
|
+
}, I = (t) => {
|
|
90
94
|
var v, h;
|
|
91
95
|
if ((g == null ? void 0 : g.length) >= o.value.maxRowNum) {
|
|
92
|
-
Z.info(
|
|
96
|
+
Z.info(L.i18nt("designer.hint.maxRowTip"));
|
|
93
97
|
return;
|
|
94
98
|
}
|
|
95
|
-
const s =
|
|
96
|
-
|
|
97
|
-
},
|
|
99
|
+
const s = ze(Q.value);
|
|
100
|
+
it(g, t, s), Ue(s, ge({}, t + 1)), P(), (h = (v = de.value).addRow) == null || h.call(v, t);
|
|
101
|
+
}, ve = (t) => {
|
|
98
102
|
var v, h;
|
|
99
103
|
if ((g == null ? void 0 : g.length) <= o.value.minRowNum) {
|
|
100
|
-
Z.info(
|
|
104
|
+
Z.info(L.i18nt("designer.hint.minRowTip"));
|
|
101
105
|
return;
|
|
102
106
|
}
|
|
103
107
|
const s = g[t];
|
|
104
|
-
|
|
105
|
-
},
|
|
108
|
+
st(g, t), He(s), P(), (h = (v = de.value).deleteRow) == null || h.call(v, t);
|
|
109
|
+
}, we = (t) => {
|
|
106
110
|
if (t === g.length - 1) {
|
|
107
|
-
Z.info(
|
|
111
|
+
Z.info(L.i18nt("designer.hint.moveDownLastChildHint"));
|
|
108
112
|
return;
|
|
109
113
|
}
|
|
110
|
-
|
|
111
|
-
},
|
|
114
|
+
rt(g, t), P();
|
|
115
|
+
}, _e = (t) => {
|
|
112
116
|
if (t === 0) {
|
|
113
|
-
Z.info(
|
|
117
|
+
Z.info(L.i18nt("designer.hint.moveUpFirstChildHint"));
|
|
114
118
|
return;
|
|
115
119
|
}
|
|
116
|
-
|
|
117
|
-
}, le = (t) => t == null ? void 0 : t.widgetList,
|
|
120
|
+
dt(g, t), P();
|
|
121
|
+
}, le = (t) => t == null ? void 0 : t.widgetList, ne = et(!0), Ze = (t) => {
|
|
118
122
|
var s, v;
|
|
119
123
|
return (s = o.value) != null && s.dataFormat ? (v = o.value) == null ? void 0 : v.dataFormat(t) : t;
|
|
120
|
-
},
|
|
124
|
+
}, ge = (t, s) => {
|
|
121
125
|
var v, h;
|
|
122
126
|
return (v = o.value) != null && v.rowDataFormat ? (h = o.value) == null ? void 0 : h.rowDataFormat(t, s) : t;
|
|
123
|
-
},
|
|
127
|
+
}, T = y({
|
|
124
128
|
get() {
|
|
125
129
|
return g;
|
|
126
130
|
},
|
|
127
131
|
set(t) {
|
|
128
|
-
|
|
132
|
+
ke(t);
|
|
129
133
|
}
|
|
130
|
-
}),
|
|
134
|
+
}), Ge = (t, s) => Ee(t, s, (v) => N.findRefByName(v)), ke = (t) => je(Ze(t), (s) => Je(s)), Je = (t) => {
|
|
131
135
|
var s;
|
|
132
|
-
return
|
|
136
|
+
return Pe(Q.value, t || [], (s = o.value) == null ? void 0 : s.minRowNum, ge);
|
|
133
137
|
};
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
}, { immediate: !0 }),
|
|
137
|
-
|
|
138
|
+
tt(() => re.value, (t) => {
|
|
139
|
+
ne.value && (at(t) || (T.value = t, ne.value = !1));
|
|
140
|
+
}, { immediate: !0 }), ot(() => {
|
|
141
|
+
lt(() => {
|
|
138
142
|
setTimeout(() => {
|
|
139
143
|
var t, s;
|
|
140
|
-
((t =
|
|
144
|
+
((t = T.value) == null ? void 0 : t.length) <= 0 && ne.value && (s = o.value) != null && s.allowDefaultAdd && (T.value = []);
|
|
141
145
|
}, 1e3);
|
|
142
146
|
});
|
|
143
|
-
})
|
|
147
|
+
});
|
|
148
|
+
const Ke = (t) => {
|
|
149
|
+
N.setDisabled(t);
|
|
150
|
+
const { setAllRefList: s } = pt(S.value);
|
|
151
|
+
s(ft.setDisabled, { flag: t });
|
|
152
|
+
}, Qe = (t) => t != null && t.includes("%") || t != null && t.includes("auto") ? "auto" : t;
|
|
153
|
+
return xe({
|
|
144
154
|
...N,
|
|
145
|
-
setDisabled:
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
emit$: Ee,
|
|
151
|
-
setValue: ge,
|
|
152
|
-
getValue: ue,
|
|
153
|
-
findWidgetByNameWithSibId: qe
|
|
155
|
+
setDisabled: Ke,
|
|
156
|
+
emit$: qe,
|
|
157
|
+
setValue: ke,
|
|
158
|
+
getValue: ce,
|
|
159
|
+
findWidgetByNameWithSibId: Ge
|
|
154
160
|
}), (t, s) => {
|
|
155
|
-
const v = O("el-col"), h = O("el-tag"),
|
|
156
|
-
return
|
|
157
|
-
"prop-options": { fieldObj: e(
|
|
161
|
+
const v = O("el-col"), h = O("el-tag"), be = O("el-divider"), f = O("el-button"), q = O("el-button-group"), ye = O("el-row");
|
|
162
|
+
return n(), p(mt, A(t.$props, {
|
|
163
|
+
"prop-options": { fieldObj: e(Ve) }
|
|
158
164
|
}), {
|
|
159
|
-
default: i(({ data:
|
|
160
|
-
var
|
|
165
|
+
default: i(({ data: Mt }) => {
|
|
166
|
+
var he, Re, Ce, Te, De, Le, $e, Ne, Se, Ae, Be;
|
|
161
167
|
return [
|
|
162
|
-
((
|
|
163
|
-
t.designState ? (
|
|
164
|
-
(
|
|
168
|
+
((he = e(o)) == null ? void 0 : he.showMode) === e(Fe).line ? (n(), c(D, { key: 0 }, [
|
|
169
|
+
t.designState ? (n(), c("div", bt, [
|
|
170
|
+
(Re = e(o)) != null && Re.showHeader ? (n(), p(ye, {
|
|
165
171
|
key: 0,
|
|
166
172
|
class: "rowHeader"
|
|
167
173
|
}, {
|
|
@@ -171,7 +177,7 @@ const mt = {
|
|
|
171
177
|
class: "rowLabel"
|
|
172
178
|
}, {
|
|
173
179
|
default: i(() => [
|
|
174
|
-
u(d(e(
|
|
180
|
+
u(d(e(ie).getOptions(t.widget || {}, "label")), 1)
|
|
175
181
|
]),
|
|
176
182
|
_: 1
|
|
177
183
|
}),
|
|
@@ -180,7 +186,7 @@ const mt = {
|
|
|
180
186
|
class: "flexInline justifyEnd alignCenter"
|
|
181
187
|
}, {
|
|
182
188
|
default: i(() => [
|
|
183
|
-
Y.value ? (
|
|
189
|
+
Y.value ? (n(), p(h, {
|
|
184
190
|
key: 0,
|
|
185
191
|
type: "info",
|
|
186
192
|
round: ""
|
|
@@ -190,14 +196,14 @@ const mt = {
|
|
|
190
196
|
]),
|
|
191
197
|
_: 1
|
|
192
198
|
})) : r("", !0),
|
|
193
|
-
m(
|
|
199
|
+
m(be, { direction: "vertical" }),
|
|
194
200
|
m(q, { disabled: b.value }, {
|
|
195
201
|
default: i(() => {
|
|
196
|
-
var l,
|
|
202
|
+
var l, a;
|
|
197
203
|
return [
|
|
198
|
-
!((l = e(o)) != null && l.onlyOneAddButton) && ((
|
|
204
|
+
!((l = e(o)) != null && l.onlyOneAddButton) && ((a = e(o)) != null && a.allowAdd) ? (n(), p(f, {
|
|
199
205
|
key: 0,
|
|
200
|
-
icon: e(
|
|
206
|
+
icon: e($),
|
|
201
207
|
link: ""
|
|
202
208
|
}, {
|
|
203
209
|
default: i(() => {
|
|
@@ -208,7 +214,7 @@ const mt = {
|
|
|
208
214
|
}),
|
|
209
215
|
_: 1
|
|
210
216
|
}, 8, ["icon"])) : r("", !0),
|
|
211
|
-
e(o).allowDelete ? (
|
|
217
|
+
e(o).allowDelete ? (n(), p(f, {
|
|
212
218
|
key: 1,
|
|
213
219
|
icon: e(G),
|
|
214
220
|
type: "danger",
|
|
@@ -222,7 +228,7 @@ const mt = {
|
|
|
222
228
|
}),
|
|
223
229
|
_: 1
|
|
224
230
|
}, 8, ["icon"])) : r("", !0),
|
|
225
|
-
e(o).sortable ? (
|
|
231
|
+
e(o).sortable ? (n(), p(f, {
|
|
226
232
|
key: 2,
|
|
227
233
|
icon: e(J),
|
|
228
234
|
link: ""
|
|
@@ -235,7 +241,7 @@ const mt = {
|
|
|
235
241
|
}),
|
|
236
242
|
_: 1
|
|
237
243
|
}, 8, ["icon"])) : r("", !0),
|
|
238
|
-
e(o).sortable ? (
|
|
244
|
+
e(o).sortable ? (n(), p(f, {
|
|
239
245
|
key: 3,
|
|
240
246
|
icon: e(K),
|
|
241
247
|
link: ""
|
|
@@ -259,14 +265,14 @@ const mt = {
|
|
|
259
265
|
_: 1
|
|
260
266
|
})) : r("", !0),
|
|
261
267
|
m(x, A(t.$props, {
|
|
262
|
-
widget: e(
|
|
268
|
+
widget: e(V)(B.value, "row"),
|
|
263
269
|
dragClass: "dragSize",
|
|
264
270
|
refList: e(S)
|
|
265
271
|
}), null, 16, ["widget", "refList"]),
|
|
266
|
-
(
|
|
267
|
-
m(
|
|
272
|
+
(Ce = e(o)) != null && Ce.onlyOneAddButton ? (n(), c("div", yt, [
|
|
273
|
+
m(f, {
|
|
268
274
|
disabled: b.value,
|
|
269
|
-
icon: e(
|
|
275
|
+
icon: e($),
|
|
270
276
|
size: "large"
|
|
271
277
|
}, {
|
|
272
278
|
default: i(() => {
|
|
@@ -278,14 +284,14 @@ const mt = {
|
|
|
278
284
|
_: 1
|
|
279
285
|
}, 8, ["disabled", "icon"])
|
|
280
286
|
])) : r("", !0)
|
|
281
|
-
])) : (
|
|
282
|
-
(
|
|
283
|
-
var _,
|
|
284
|
-
return
|
|
285
|
-
key: (l == null ? void 0 : l.key) ||
|
|
287
|
+
])) : (n(), c(D, { key: 1 }, [
|
|
288
|
+
(n(!0), c(D, null, ae(T.value, (l, a) => {
|
|
289
|
+
var _, M;
|
|
290
|
+
return n(), c("div", {
|
|
291
|
+
key: (l == null ? void 0 : l.key) || a,
|
|
286
292
|
class: "multiRowLine"
|
|
287
293
|
}, [
|
|
288
|
-
(_ = e(o)) != null && _.showHeader ? (
|
|
294
|
+
(_ = e(o)) != null && _.showHeader ? (n(), p(ye, {
|
|
289
295
|
key: 0,
|
|
290
296
|
class: "rowHeader"
|
|
291
297
|
}, {
|
|
@@ -295,7 +301,7 @@ const mt = {
|
|
|
295
301
|
class: "rowLabel"
|
|
296
302
|
}, {
|
|
297
303
|
default: i(() => [
|
|
298
|
-
u(d(e(
|
|
304
|
+
u(d(e(ie).getOptions(t.widget || {}, "label")) + " " + d(a + 1), 1)
|
|
299
305
|
]),
|
|
300
306
|
_: 2
|
|
301
307
|
}, 1024),
|
|
@@ -304,7 +310,7 @@ const mt = {
|
|
|
304
310
|
class: "flexInline justifyEnd alignCenter"
|
|
305
311
|
}, {
|
|
306
312
|
default: i(() => [
|
|
307
|
-
|
|
313
|
+
a == 0 && Y.value ? (n(), p(h, {
|
|
308
314
|
key: 0,
|
|
309
315
|
type: "info",
|
|
310
316
|
round: ""
|
|
@@ -314,16 +320,16 @@ const mt = {
|
|
|
314
320
|
]),
|
|
315
321
|
_: 1
|
|
316
322
|
})) : r("", !0),
|
|
317
|
-
m(
|
|
323
|
+
m(be, { direction: "vertical" }),
|
|
318
324
|
m(q, { disabled: b.value }, {
|
|
319
325
|
default: i(() => {
|
|
320
|
-
var
|
|
326
|
+
var z, U, w;
|
|
321
327
|
return [
|
|
322
|
-
!((
|
|
328
|
+
!((z = e(o)) != null && z.onlyOneAddButton) && e(o).allowAdd ? (n(), p(f, {
|
|
323
329
|
key: 0,
|
|
324
|
-
onClick: (k) =>
|
|
325
|
-
disabled: b.value || F.value > ((
|
|
326
|
-
icon: e(
|
|
330
|
+
onClick: (k) => I(a),
|
|
331
|
+
disabled: b.value || F.value > ((U = e(o)) == null ? void 0 : U.maxRowNum),
|
|
332
|
+
icon: e($),
|
|
327
333
|
link: ""
|
|
328
334
|
}, {
|
|
329
335
|
default: i(() => {
|
|
@@ -334,10 +340,10 @@ const mt = {
|
|
|
334
340
|
}),
|
|
335
341
|
_: 1
|
|
336
342
|
}, 8, ["onClick", "disabled", "icon"])) : r("", !0),
|
|
337
|
-
e(o).allowDelete ? (
|
|
343
|
+
e(o).allowDelete ? (n(), p(f, {
|
|
338
344
|
key: 1,
|
|
339
|
-
onClick: (k) =>
|
|
340
|
-
disabled: b.value || ((
|
|
345
|
+
onClick: (k) => ve(a),
|
|
346
|
+
disabled: b.value || ((w = e(o)) == null ? void 0 : w.minRowNum) >= F.value,
|
|
341
347
|
icon: e(G),
|
|
342
348
|
type: "danger",
|
|
343
349
|
link: ""
|
|
@@ -350,10 +356,10 @@ const mt = {
|
|
|
350
356
|
}),
|
|
351
357
|
_: 1
|
|
352
358
|
}, 8, ["onClick", "disabled", "icon"])) : r("", !0),
|
|
353
|
-
e(o).sortable ? (
|
|
359
|
+
e(o).sortable ? (n(), p(f, {
|
|
354
360
|
key: 2,
|
|
355
|
-
onClick: (k) =>
|
|
356
|
-
disabled: b.value ||
|
|
361
|
+
onClick: (k) => _e(a),
|
|
362
|
+
disabled: b.value || a <= 0,
|
|
357
363
|
icon: e(J),
|
|
358
364
|
link: ""
|
|
359
365
|
}, {
|
|
@@ -365,10 +371,10 @@ const mt = {
|
|
|
365
371
|
}),
|
|
366
372
|
_: 1
|
|
367
373
|
}, 8, ["onClick", "disabled", "icon"])) : r("", !0),
|
|
368
|
-
e(o).sortable ? (
|
|
374
|
+
e(o).sortable ? (n(), p(f, {
|
|
369
375
|
key: 3,
|
|
370
|
-
onClick: (k) =>
|
|
371
|
-
disabled: b.value ||
|
|
376
|
+
onClick: (k) => we(a),
|
|
377
|
+
disabled: b.value || a >= F.value - 1,
|
|
372
378
|
icon: e(K),
|
|
373
379
|
link: ""
|
|
374
380
|
}, {
|
|
@@ -391,22 +397,22 @@ const mt = {
|
|
|
391
397
|
_: 2
|
|
392
398
|
}, 1024)) : r("", !0),
|
|
393
399
|
m(x, A({ ref_for: !0 }, t.$props, {
|
|
394
|
-
widget: (
|
|
400
|
+
widget: (M = l == null ? void 0 : l.widget) == null ? void 0 : M[0],
|
|
395
401
|
componentName: "div",
|
|
396
402
|
refList: e(S),
|
|
397
403
|
componentClass: "flex full-width",
|
|
398
|
-
"row-scope": { row: l == null ? void 0 : l.data, $index:
|
|
404
|
+
"row-scope": { row: l == null ? void 0 : l.data, $index: a }
|
|
399
405
|
}), null, 16, ["widget", "refList", "row-scope"])
|
|
400
406
|
]);
|
|
401
407
|
}), 128)),
|
|
402
|
-
e(o).allowAdd ? (
|
|
403
|
-
m(
|
|
408
|
+
((Te = e(o)) != null && Te.onlyOneAddButton || T.value.length <= 0) && e(o).allowAdd ? (n(), c("div", ht, [
|
|
409
|
+
m(f, {
|
|
404
410
|
disabled: b.value,
|
|
405
|
-
icon: e(
|
|
411
|
+
icon: e($),
|
|
406
412
|
size: "large",
|
|
407
413
|
onClick: s[0] || (s[0] = (l) => {
|
|
408
|
-
var
|
|
409
|
-
return
|
|
414
|
+
var a;
|
|
415
|
+
return I(((a = T.value) == null ? void 0 : a.length) - 1);
|
|
410
416
|
})
|
|
411
417
|
}, {
|
|
412
418
|
default: i(() => {
|
|
@@ -419,14 +425,14 @@ const mt = {
|
|
|
419
425
|
}, 8, ["disabled", "icon"])
|
|
420
426
|
])) : r("", !0)
|
|
421
427
|
], 64))
|
|
422
|
-
], 64)) : ((
|
|
428
|
+
], 64)) : ((De = e(o)) == null ? void 0 : De.showMode) === e(Fe).table ? (n(), c("table", {
|
|
423
429
|
key: 1,
|
|
424
|
-
class:
|
|
430
|
+
class: We(["table2", [(Le = e(o)) != null && Le.showBorder ? "borderedTable" : ""]])
|
|
425
431
|
}, [
|
|
426
|
-
(
|
|
432
|
+
($e = e(o)) != null && $e.showHeader ? (n(), c("thead", Rt, [
|
|
427
433
|
R("tr", null, [
|
|
428
|
-
R("th",
|
|
429
|
-
Y.value ? (
|
|
434
|
+
R("th", Ct, [
|
|
435
|
+
Y.value ? (n(), p(h, {
|
|
430
436
|
key: 0,
|
|
431
437
|
type: "info",
|
|
432
438
|
round: ""
|
|
@@ -437,30 +443,33 @@ const mt = {
|
|
|
437
443
|
_: 1
|
|
438
444
|
})) : r("", !0)
|
|
439
445
|
]),
|
|
440
|
-
(
|
|
441
|
-
var
|
|
442
|
-
return
|
|
446
|
+
(n(!0), c(D, null, ae(le(e(V)(B.value, "row")), (l) => {
|
|
447
|
+
var a;
|
|
448
|
+
return n(), c("th", {
|
|
449
|
+
class: "td2",
|
|
450
|
+
style: nt({ width: Qe(e(ie).getOptions(l, "ctrlWidth")) })
|
|
451
|
+
}, [
|
|
443
452
|
R("div", {
|
|
444
|
-
class:
|
|
453
|
+
class: We([(a = e(ue)(l)) != null && a.required ? "required" : ""])
|
|
445
454
|
}, [
|
|
446
|
-
m(
|
|
455
|
+
m(vt, {
|
|
447
456
|
widget: l,
|
|
448
457
|
designer: t.designer,
|
|
449
458
|
designState: t.designState,
|
|
450
459
|
parentWidget: t.widget,
|
|
451
|
-
parentList: le(e(
|
|
452
|
-
"prop-options": { fieldObj: { extendAttrs: e(
|
|
460
|
+
parentList: le(e(V)(B.value, "row")),
|
|
461
|
+
"prop-options": { fieldObj: { extendAttrs: e(ue)(l) } }
|
|
453
462
|
}, null, 8, ["widget", "designer", "designState", "parentWidget", "parentList", "prop-options"])
|
|
454
463
|
], 2)
|
|
455
|
-
]);
|
|
464
|
+
], 4);
|
|
456
465
|
}), 256)),
|
|
457
|
-
W.value ? (
|
|
466
|
+
W.value ? (n(), c("th", Tt)) : r("", !0)
|
|
458
467
|
])
|
|
459
468
|
])) : r("", !0),
|
|
460
469
|
R("tbody", null, [
|
|
461
|
-
t.designState ? (
|
|
470
|
+
t.designState ? (n(), c(D, { key: 0 }, [
|
|
462
471
|
m(x, A(t.$props, {
|
|
463
|
-
widget: e(
|
|
472
|
+
widget: e(V)(B.value, "row"),
|
|
464
473
|
componentName: "td",
|
|
465
474
|
refList: e(S),
|
|
466
475
|
dragTag: "tr",
|
|
@@ -471,60 +480,60 @@ const mt = {
|
|
|
471
480
|
R("td", { class: "rowIndex" }, "1", -1)
|
|
472
481
|
])]),
|
|
473
482
|
footer: i(() => [
|
|
474
|
-
W.value ? (
|
|
483
|
+
W.value ? (n(), c("td", Dt, [
|
|
475
484
|
m(q, { disabled: b.value }, {
|
|
476
485
|
default: i(() => {
|
|
477
486
|
var l;
|
|
478
487
|
return [
|
|
479
|
-
!((l = e(o)) != null && l.onlyOneAddButton) && e(o).allowAdd ? (
|
|
488
|
+
!((l = e(o)) != null && l.onlyOneAddButton) && e(o).allowAdd ? (n(), p(f, {
|
|
480
489
|
key: 0,
|
|
481
|
-
icon: e(
|
|
490
|
+
icon: e($),
|
|
482
491
|
link: ""
|
|
483
492
|
}, {
|
|
484
493
|
default: i(() => {
|
|
485
|
-
var
|
|
494
|
+
var a;
|
|
486
495
|
return [
|
|
487
|
-
u(d(((
|
|
496
|
+
u(d(((a = e(o)) == null ? void 0 : a.addRecordText) || e(C)), 1)
|
|
488
497
|
];
|
|
489
498
|
}),
|
|
490
499
|
_: 1
|
|
491
500
|
}, 8, ["icon"])) : r("", !0),
|
|
492
|
-
e(o).allowDelete ? (
|
|
501
|
+
e(o).allowDelete ? (n(), p(f, {
|
|
493
502
|
key: 1,
|
|
494
503
|
type: "danger",
|
|
495
504
|
icon: e(G),
|
|
496
505
|
link: ""
|
|
497
506
|
}, {
|
|
498
507
|
default: i(() => {
|
|
499
|
-
var
|
|
508
|
+
var a;
|
|
500
509
|
return [
|
|
501
|
-
u(d(((
|
|
510
|
+
u(d(((a = e(o)) == null ? void 0 : a.deleteRecordText) || e(E)), 1)
|
|
502
511
|
];
|
|
503
512
|
}),
|
|
504
513
|
_: 1
|
|
505
514
|
}, 8, ["icon"])) : r("", !0),
|
|
506
|
-
e(o).sortable ? (
|
|
515
|
+
e(o).sortable ? (n(), p(f, {
|
|
507
516
|
key: 2,
|
|
508
517
|
link: "",
|
|
509
518
|
icon: e(J)
|
|
510
519
|
}, {
|
|
511
520
|
default: i(() => {
|
|
512
|
-
var
|
|
521
|
+
var a;
|
|
513
522
|
return [
|
|
514
|
-
u(d(((
|
|
523
|
+
u(d(((a = e(o)) == null ? void 0 : a.sortUpText) || e(H)), 1)
|
|
515
524
|
];
|
|
516
525
|
}),
|
|
517
526
|
_: 1
|
|
518
527
|
}, 8, ["icon"])) : r("", !0),
|
|
519
|
-
e(o).sortable ? (
|
|
528
|
+
e(o).sortable ? (n(), p(f, {
|
|
520
529
|
key: 3,
|
|
521
530
|
link: "",
|
|
522
531
|
icon: e(K)
|
|
523
532
|
}, {
|
|
524
533
|
default: i(() => {
|
|
525
|
-
var
|
|
534
|
+
var a;
|
|
526
535
|
return [
|
|
527
|
-
u(d(((
|
|
536
|
+
u(d(((a = e(o)) == null ? void 0 : a.sortDownText) || e(j)), 1)
|
|
528
537
|
];
|
|
529
538
|
}),
|
|
530
539
|
_: 1
|
|
@@ -537,93 +546,93 @@ const mt = {
|
|
|
537
546
|
]),
|
|
538
547
|
_: 1
|
|
539
548
|
}, 16, ["widget", "refList"]),
|
|
540
|
-
|
|
549
|
+
fe.value ? (n(), c("tr", Lt, [
|
|
541
550
|
R("td", {
|
|
542
551
|
colspan: (te.value || 0) + ee.value
|
|
543
552
|
}, [
|
|
544
553
|
m(x, A(t.$props, {
|
|
545
|
-
widget: e(
|
|
554
|
+
widget: e(V)(B.value, "detail"),
|
|
546
555
|
refList: e(S),
|
|
547
556
|
style: { height: "auto" }
|
|
548
557
|
}), null, 16, ["widget", "refList"])
|
|
549
|
-
], 8,
|
|
558
|
+
], 8, $t)
|
|
550
559
|
])) : r("", !0)
|
|
551
|
-
], 64)) : (
|
|
552
|
-
var _,
|
|
553
|
-
return
|
|
554
|
-
key: (l == null ? void 0 : l.key) ||
|
|
560
|
+
], 64)) : (n(!0), c(D, { key: 1 }, ae(T.value, (l, a) => {
|
|
561
|
+
var _, M;
|
|
562
|
+
return n(), c(D, {
|
|
563
|
+
key: (l == null ? void 0 : l.key) || a
|
|
555
564
|
}, [
|
|
556
|
-
R("tr",
|
|
557
|
-
R("td",
|
|
565
|
+
R("tr", Nt, [
|
|
566
|
+
R("td", St, d(a + 1), 1),
|
|
558
567
|
m(x, A({ ref_for: !0 }, t.$props, {
|
|
559
568
|
widget: (_ = l == null ? void 0 : l.widget) == null ? void 0 : _[0],
|
|
560
569
|
componentName: "td",
|
|
561
570
|
refList: e(S),
|
|
562
571
|
componentClass: "td2",
|
|
563
|
-
"row-scope": { row: l == null ? void 0 : l.data, $index:
|
|
572
|
+
"row-scope": { row: l == null ? void 0 : l.data, $index: a }
|
|
564
573
|
}), null, 16, ["widget", "refList", "row-scope"]),
|
|
565
|
-
W.value ? (
|
|
574
|
+
W.value ? (n(), c("td", At, [
|
|
566
575
|
m(q, { disabled: b.value }, {
|
|
567
576
|
default: i(() => {
|
|
568
|
-
var
|
|
577
|
+
var z, U;
|
|
569
578
|
return [
|
|
570
|
-
|
|
579
|
+
pe.value ? (n(), p(f, {
|
|
571
580
|
key: 0,
|
|
572
|
-
onClick: (
|
|
573
|
-
disabled: F.value > ((
|
|
574
|
-
icon: e(
|
|
581
|
+
onClick: (w) => I(a),
|
|
582
|
+
disabled: F.value > ((z = e(o)) == null ? void 0 : z.maxRowNum),
|
|
583
|
+
icon: e($),
|
|
575
584
|
link: ""
|
|
576
585
|
}, {
|
|
577
586
|
default: i(() => {
|
|
578
|
-
var
|
|
587
|
+
var w;
|
|
579
588
|
return [
|
|
580
|
-
u(d(((
|
|
589
|
+
u(d(((w = e(o)) == null ? void 0 : w.addRecordText) || e(C)), 1)
|
|
581
590
|
];
|
|
582
591
|
}),
|
|
583
592
|
_: 1
|
|
584
593
|
}, 8, ["onClick", "disabled", "icon"])) : r("", !0),
|
|
585
|
-
|
|
594
|
+
me.value ? (n(), p(f, {
|
|
586
595
|
key: 1,
|
|
587
|
-
onClick: (
|
|
596
|
+
onClick: (w) => ve(a),
|
|
588
597
|
type: "danger",
|
|
589
598
|
icon: e(G),
|
|
590
|
-
disabled: ((
|
|
599
|
+
disabled: ((U = e(o)) == null ? void 0 : U.minRowNum) >= F.value,
|
|
591
600
|
link: ""
|
|
592
601
|
}, {
|
|
593
602
|
default: i(() => {
|
|
594
|
-
var
|
|
603
|
+
var w;
|
|
595
604
|
return [
|
|
596
|
-
u(d(((
|
|
605
|
+
u(d(((w = e(o)) == null ? void 0 : w.deleteRecordText) || e(E)), 1)
|
|
597
606
|
];
|
|
598
607
|
}),
|
|
599
608
|
_: 1
|
|
600
609
|
}, 8, ["onClick", "icon", "disabled"])) : r("", !0),
|
|
601
|
-
X.value ? (
|
|
610
|
+
X.value ? (n(), p(f, {
|
|
602
611
|
key: 2,
|
|
603
|
-
onClick: (
|
|
604
|
-
disabled:
|
|
612
|
+
onClick: (w) => _e(a),
|
|
613
|
+
disabled: a <= 0,
|
|
605
614
|
link: "",
|
|
606
615
|
icon: e(J)
|
|
607
616
|
}, {
|
|
608
617
|
default: i(() => {
|
|
609
|
-
var
|
|
618
|
+
var w;
|
|
610
619
|
return [
|
|
611
|
-
u(d(((
|
|
620
|
+
u(d(((w = e(o)) == null ? void 0 : w.sortUpText) || e(H)), 1)
|
|
612
621
|
];
|
|
613
622
|
}),
|
|
614
623
|
_: 1
|
|
615
624
|
}, 8, ["onClick", "disabled", "icon"])) : r("", !0),
|
|
616
|
-
X.value ? (
|
|
625
|
+
X.value ? (n(), p(f, {
|
|
617
626
|
key: 3,
|
|
618
|
-
onClick: (
|
|
619
|
-
disabled:
|
|
627
|
+
onClick: (w) => we(a),
|
|
628
|
+
disabled: a >= F.value - 1,
|
|
620
629
|
link: "",
|
|
621
630
|
icon: e(K)
|
|
622
631
|
}, {
|
|
623
632
|
default: i(() => {
|
|
624
|
-
var
|
|
633
|
+
var w;
|
|
625
634
|
return [
|
|
626
|
-
u(d(((
|
|
635
|
+
u(d(((w = e(o)) == null ? void 0 : w.sortDownText) || e(j)), 1)
|
|
627
636
|
];
|
|
628
637
|
}),
|
|
629
638
|
_: 1
|
|
@@ -634,18 +643,18 @@ const mt = {
|
|
|
634
643
|
}, 1032, ["disabled"])
|
|
635
644
|
])) : r("", !0)
|
|
636
645
|
]),
|
|
637
|
-
|
|
646
|
+
fe.value ? (n(), c("tr", Bt, [
|
|
638
647
|
R("td", {
|
|
639
648
|
class: "detailTable",
|
|
640
649
|
colspan: (te.value || 0) + ee.value
|
|
641
650
|
}, [
|
|
642
651
|
m(x, A({ ref_for: !0 }, t.$props, {
|
|
643
|
-
widget: (
|
|
652
|
+
widget: (M = l == null ? void 0 : l.widget) == null ? void 0 : M[1],
|
|
644
653
|
"component-style": { height: "auto" },
|
|
645
654
|
refList: e(S),
|
|
646
|
-
"row-scope": { row: l == null ? void 0 : l.data, $index:
|
|
655
|
+
"row-scope": { row: l == null ? void 0 : l.data, $index: a }
|
|
647
656
|
}), null, 16, ["widget", "refList", "row-scope"])
|
|
648
|
-
], 8,
|
|
657
|
+
], 8, Wt)
|
|
649
658
|
])) : r("", !0)
|
|
650
659
|
], 64);
|
|
651
660
|
}), 128))
|
|
@@ -655,11 +664,11 @@ const mt = {
|
|
|
655
664
|
R("td", {
|
|
656
665
|
colspan: (te.value || 0) + ee.value
|
|
657
666
|
}, [
|
|
658
|
-
t.designState ? (
|
|
659
|
-
(
|
|
660
|
-
m(
|
|
667
|
+
t.designState ? (n(), c(D, { key: 0 }, [
|
|
668
|
+
(Ne = e(o)) != null && Ne.onlyOneAddButton && e(o).allowAdd ? (n(), c("div", Ot, [
|
|
669
|
+
m(f, {
|
|
661
670
|
disabled: b.value,
|
|
662
|
-
icon: e(
|
|
671
|
+
icon: e($),
|
|
663
672
|
size: "large"
|
|
664
673
|
}, {
|
|
665
674
|
default: i(() => {
|
|
@@ -671,12 +680,13 @@ const mt = {
|
|
|
671
680
|
_: 1
|
|
672
681
|
}, 8, ["disabled", "icon"])
|
|
673
682
|
])) : r("", !0)
|
|
674
|
-
], 64)) : (
|
|
675
|
-
!((
|
|
676
|
-
m(
|
|
683
|
+
], 64)) : (n(), c(D, { key: 1 }, [
|
|
684
|
+
!((Se = e(o)) != null && Se.onlyOneAddButton) && ((Ae = T.value) == null ? void 0 : Ae.length) == 0 ? (n(), c("div", xt, [
|
|
685
|
+
m(f, {
|
|
677
686
|
disabled: b.value,
|
|
678
|
-
icon: e(
|
|
679
|
-
|
|
687
|
+
icon: e($),
|
|
688
|
+
size: "large",
|
|
689
|
+
onClick: s[1] || (s[1] = (l) => I(0))
|
|
680
690
|
}, {
|
|
681
691
|
default: i(() => {
|
|
682
692
|
var l;
|
|
@@ -686,14 +696,14 @@ const mt = {
|
|
|
686
696
|
}),
|
|
687
697
|
_: 1
|
|
688
698
|
}, 8, ["disabled", "icon"])
|
|
689
|
-
])) : (
|
|
690
|
-
m(
|
|
699
|
+
])) : (Be = e(o)) != null && Be.onlyOneAddButton ? (n(), c("div", Vt, [
|
|
700
|
+
m(f, {
|
|
691
701
|
disabled: b.value,
|
|
692
|
-
icon: e(
|
|
702
|
+
icon: e($),
|
|
693
703
|
size: "large",
|
|
694
704
|
onClick: s[2] || (s[2] = (l) => {
|
|
695
|
-
var
|
|
696
|
-
return
|
|
705
|
+
var a;
|
|
706
|
+
return I(((a = T.value) == null ? void 0 : a.length) - 1);
|
|
697
707
|
})
|
|
698
708
|
}, {
|
|
699
709
|
default: i(() => {
|
|
@@ -706,7 +716,7 @@ const mt = {
|
|
|
706
716
|
}, 8, ["disabled", "icon"])
|
|
707
717
|
])) : r("", !0)
|
|
708
718
|
], 64))
|
|
709
|
-
], 8,
|
|
719
|
+
], 8, Ft)
|
|
710
720
|
])
|
|
711
721
|
])
|
|
712
722
|
], 2)) : r("", !0)
|
|
@@ -717,7 +727,7 @@ const mt = {
|
|
|
717
727
|
};
|
|
718
728
|
}
|
|
719
729
|
});
|
|
720
|
-
const
|
|
730
|
+
const po = /* @__PURE__ */ kt(It, [["__scopeId", "data-v-910dbb05"]]);
|
|
721
731
|
export {
|
|
722
|
-
|
|
732
|
+
po as default
|
|
723
733
|
};
|