hlrender 0.0.239 → 0.0.241
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/_image-4162224b.js +28 -0
- package/{_pdf-305e5a7a.js → _pdf-68d429e2.js} +14 -14
- package/{_txt-cecb5427.js → _txt-cae17b86.js} +12 -12
- package/_unsupport-b8307858.js +35 -0
- package/{_video-21c5b64e.js → _video-bc981b0b.js} +8 -8
- package/affix-widget-206f82ff.js +47 -0
- package/alert-widget-48ac2ae0.js +47 -0
- package/{anchor-link-widget-919ac0ee.js → anchor-link-widget-dae98704.js} +1 -1
- package/anchor-link-widget.vue_vue_type_script_setup_true_name_anchor-link-widget_lang-c6ab731a.js +36 -0
- package/anchor-widget-2394a0ac.js +60 -0
- package/{auto-complete-widget-6f0de1bb.js → auto-complete-widget-b1949ba1.js} +30 -30
- package/avatar-widget-ea2f5842.js +41 -0
- package/backtop-widget-33a9c281.js +47 -0
- package/badge-widget-38519bd6.js +53 -0
- package/{barcode-widget-7fc44f8c.js → barcode-widget-f6e052a2.js} +14 -14
- package/baseImp-cf2a056f.js +12245 -0
- package/{breadcrumb-widget-b09a45d7.js → breadcrumb-widget-3b25f641.js} +24 -21
- package/button-widget-9f8ba534.js +57 -0
- package/cache-widget-5d7386cb.js +53 -0
- package/{card-widget-feb6e34a.js → card-widget-738fe0dc.js} +33 -33
- package/{carousel-widget-3ff30326.js → carousel-widget-4d37e1f3.js} +21 -21
- package/{cascader-widget-4fef75a8.js → cascader-widget-371d58f6.js} +59 -59
- package/{chart-widget-fbdce0db.js → chart-widget-5d31b504.js} +17 -17
- package/checkbox-widget-0072c102.js +113 -0
- package/collapse-widget-485a4451.js +94 -0
- package/color-bae04003.js +59 -0
- package/color-picker-widget-df648695.js +56 -0
- package/{cont-cell-widget-56a58b71.js → cont-cell-widget-293cee86.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-738afb13.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-08981f90.js} +17 -17
- package/{cont-widget-5de61a58.js → cont-widget-677d012d.js} +7 -7
- package/content-wrapper-44a5887d.js +16 -0
- package/content-wrapper.vue_vue_type_script_setup_true_lang-4ab88b8e.js +38 -0
- package/countdown-widget-8d5636b8.js +53 -0
- package/{date-picker-range-widget-9327cc4b.js → date-picker-range-widget-623b1c04.js} +25 -25
- package/{date-picker-widget-27335405.js → date-picker-widget-989230ea.js} +33 -33
- package/default-slot-widget-184375d4.js +26 -0
- package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8444de52.js +84 -0
- package/{descriptions-widget-abf88edf.js → descriptions-widget-8a41c70b.js} +22 -22
- package/{dialog-bb4f1f51.js → dialog-8ecdabe5.js} +2 -2
- package/{dialog-widget-affeb26a.js → dialog-widget-fdf07199.js} +16 -16
- package/divider-widget-480eec10.js +47 -0
- package/drag-wrapper-8ba8d26a.js +256 -0
- package/{drawer-widget-1153b308.js → drawer-widget-f14cbeb1.js} +16 -16
- package/{dropdown-widget-07078c8b.js → dropdown-widget-5d0414ec.js} +25 -25
- package/empty-widget-35365e0e.js +47 -0
- package/{enum-type-d9039fa1.js → enum-type-05ccb088.js} +331 -108
- package/{enum-type-6aec5442.js → enum-type-35e3b2e0.js} +143 -109
- package/{expression-f3029af0.js → expression-a880b354.js} +13 -12
- package/feedback-widget-4a439150.js +26 -0
- package/feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-b04a1d28.js +90 -0
- package/{fieldobj-51ea9fd4.js → fieldobj-4d9ab4ce.js} +1 -1
- package/{file-upload-widget-3d529a72.js → file-upload-widget-407f3b6f.js} +107 -107
- package/form-item-wrapper-002adf08.js +86 -0
- package/{form-widget-c7aadc35.js → form-widget-7308fc3f.js} +28 -28
- package/{grid-col-widget-31f034df.js → grid-col-widget-a8dd7ebe.js} +1 -1
- package/grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-e76e6d58.js +41 -0
- package/{grid-widget-16efe87a.js → grid-widget-8e32f92f.js} +5 -5
- package/hcard-widget-c4671309.js +94 -0
- package/{html-text-widget-689e7370.js → html-text-widget-d40831f7.js} +15 -15
- package/icon-3ea488c1.js +177 -0
- package/icon-widget-6c27fd6b.js +62 -0
- package/iframe-widget-13ff4929.js +113 -0
- package/{image-widget-bb79778f.js → image-widget-ae7fcd72.js} +18 -18
- package/index-31e1760d.js +19 -0
- package/index-658d06a4.js +46 -0
- package/{index-def6ce54.js → index-67481ab5.js} +44 -44
- package/{index-ddd23411.js → index-6bcfdc22.js} +1668 -1678
- package/index-7d31ccfb.js +65 -0
- package/{index-752aa342.js → index-847ef399.js} +4821 -3681
- package/{input-number-widget-9b8da52e.js → input-number-widget-37c014bb.js} +19 -19
- package/input-tag-widget-bcc1bd3e.js +71 -0
- package/{input-widget-b68feb0b.js → input-widget-ebed702a.js} +25 -25
- package/{label-wrapper-70f516f3.js → label-wrapper-7e85c84b.js} +6 -6
- package/label-wrapper.vue_vue_type_style_index_0_lang-57a4c003.js +63 -0
- package/link-widget-ea2a7cc9.js +65 -0
- package/{ltable-col-widget-c05a0f75.js → ltable-col-widget-91f26266.js} +1 -1
- package/ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-bbe5ac06.js +278 -0
- package/{ltable-widget-0e14fcb3.js → ltable-widget-111c9922.js} +11 -11
- package/mention-widget-b66ac807.js +82 -0
- package/{menu-widget-92944b29.js → menu-widget-46659645.js} +40 -40
- package/model-widget-093857b9.js +155 -0
- package/{multirow-ef17557e.js → multirow-50d903a8.js} +7 -7
- package/multirow-widget-d550d2ee.js +723 -0
- package/package.json +1 -1
- package/{pagination-widget-ba41b179.js → pagination-widget-4998f804.js} +23 -23
- package/{picture-upload-widget-b3233664.js → picture-upload-widget-3102164b.js} +35 -35
- package/{progress-widget-bf490d7f.js → progress-widget-514e315d.js} +31 -31
- package/{qrcode-widget-8bdc470f.js → qrcode-widget-e331f58f.js} +18 -18
- package/radio-widget-df89345f.js +87 -0
- package/{range-widget-3de3d728.js → range-widget-b972e54c.js} +21 -21
- package/rate-widget-88301af3.js +56 -0
- package/render.es.js +1433 -1468
- package/render.style.css +1 -1
- package/render.umd.js +456 -454
- package/result-widget-623c24cf.js +67 -0
- package/rich-editor-widget-e8ab8b01.js +74 -0
- package/{router-widget-6e7a7727.js → router-widget-2daa2c82.js} +24 -24
- package/segmented-widget-caf0f51a.js +89 -0
- package/select-widget-469026c5.js +369 -0
- package/{sfc-bad92d5d.js → sfc-8b7e2487.js} +9 -9
- package/{sfcview-086204d9.js → sfcview-addac91a.js} +8 -8
- package/share-field-6fc223d3.js +812 -0
- package/{share-file-75ca566e.js → share-file-7432d2c5.js} +10 -10
- package/skeleton-widget-ff72bbaa.js +79 -0
- package/skeletonItem-widget-0a4f3d54.js +51 -0
- package/slider-widget-01359ef3.js +62 -0
- package/slot-1605ee49.js +329 -0
- package/space-widget-d8c7642f.js +103 -0
- package/splitter-widget-169878d5.js +96 -0
- package/{static-text-widget-612ba08c.js → static-text-widget-1dd47867.js} +15 -15
- package/statistic-widget-9b3c6dfa.js +47 -0
- package/{steps-widget-fc0e9312.js → steps-widget-b872e743.js} +30 -30
- package/{subMenu-widget-48ff5cef.js → subMenu-widget-1cb5e243.js} +9 -9
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-abf7e791.js → subMenu-widget.vue_vue_type_script_setup_true_lang-5c50e597.js} +17 -17
- package/switch-widget-45e34bfb.js +56 -0
- package/{tab-pane-widget-4993afd4.js → tab-pane-widget-2b27921e.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7dac41b9.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-671795c3.js} +7 -7
- package/table-col-widget-13763429.js +22 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-c25508ef.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-b2343af4.js} +13 -13
- package/{table-widget-45308b11.js → table-widget-dd36a5c4.js} +95 -95
- package/tabs-widget-5616ead0.js +81 -0
- package/tag-widget-1a56a996.js +47 -0
- package/text-widget-75a360ea.js +47 -0
- package/{textarea-widget-56c9a88b.js → textarea-widget-c15e1c51.js} +20 -20
- package/time-picker-range-widget-96a2df74.js +81 -0
- package/time-picker-widget-15e10aba.js +64 -0
- package/{time-select-widget-213d9cfb.js → time-select-widget-a42a3207.js} +25 -25
- package/{tmpl-widget-d65666b0.js → tmpl-widget-929ad1e9.js} +34 -33
- package/tooltip-widget-57b89602.js +95 -0
- package/tour-widget-8376d229.js +148 -0
- package/transfer-widget-fb2462c7.js +81 -0
- package/tree-select-widget-bbb86849.js +149 -0
- package/tree-widget-3549ff5c.js +90 -0
- package/{uuid-b62f2c76.js → uuid-68f25733.js} +1 -1
- package/{verifycode-widget-e1513c4e.js → verifycode-widget-e7e45e49.js} +14 -14
- package/vertical-progress-widget-c44812e6.js +52 -0
- package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b6d87607.js +282 -0
- package/{wrapper-widget-595773d5.js → wrapper-widget-b06bb4ff.js} +10 -10
- package/_image-fab8c8e2.js +0 -28
- package/_unsupport-d50224e3.js +0 -35
- package/affix-widget-164ebcf1.js +0 -39
- package/alert-widget-ea994a6a.js +0 -39
- package/anchor-link-widget.vue_vue_type_script_setup_true_name_anchor-link-widget_lang-7df7e7c1.js +0 -35
- package/anchor-widget-1556fb56.js +0 -57
- package/avatar-widget-34662b7b.js +0 -39
- package/backtop-widget-b04b2989.js +0 -39
- package/badge-widget-607a83ae.js +0 -45
- package/baseImp-5c466035.js +0 -11761
- package/button-widget-007795bc.js +0 -49
- package/cache-widget-66e15ef6.js +0 -53
- package/checkbox-widget-37286554.js +0 -115
- package/collapse-widget-4f728579.js +0 -91
- package/color-picker-widget-035a1437.js +0 -56
- package/content-wrapper-d0fd2c66.js +0 -16
- package/content-wrapper.vue_vue_type_script_setup_true_lang-528a43b4.js +0 -38
- package/default-slot-widget-4667aa3c.js +0 -26
- package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-1c3154df.js +0 -77
- package/divider-widget-d5aa4c7a.js +0 -39
- package/drag-wrapper-fd7ed8e5.js +0 -255
- package/empty-widget-17ff5dd3.js +0 -39
- package/feedback-widget-dd3c9912.js +0 -26
- package/feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-ae8fd77d.js +0 -82
- package/form-item-wrapper-3e85105e.js +0 -86
- package/grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-4cbbbbd6.js +0 -41
- package/icon-a0e0cdb0.js +0 -119
- package/icon-widget-90609a93.js +0 -62
- package/iframe-widget-2d5c6840.js +0 -116
- package/index-56592f6b.js +0 -65
- package/index-ae1f26e5.js +0 -46
- package/label-wrapper.vue_vue_type_style_index_0_lang-ab1f665c.js +0 -63
- package/link-widget-97bdd33e.js +0 -57
- package/ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-d5d6bb28.js +0 -278
- package/model-widget-f56225e4.js +0 -122
- package/multirow-widget-c2be3852.js +0 -723
- package/radio-widget-d4050344.js +0 -85
- package/rate-widget-f4cbbd7c.js +0 -56
- package/result-widget-b0610176.js +0 -67
- package/rich-editor-widget-cc2076b1.js +0 -74
- package/select-widget-b6ddbbf4.js +0 -346
- package/share-field-6ba09f55.js +0 -806
- package/slider-widget-9ce64cd4.js +0 -62
- package/slot-92796df0.js +0 -327
- package/switch-widget-163f9c41.js +0 -56
- package/table-col-widget-b7d259ad.js +0 -22
- package/tabs-widget-98776656.js +0 -81
- package/tag-widget-b93765a0.js +0 -39
- package/text-widget-8911c99b.js +0 -39
- package/time-picker-range-widget-4617e19a.js +0 -81
- package/time-picker-widget-9b6354f8.js +0 -64
- package/tree-select-widget-d9fb0b80.js +0 -147
- package/tree-widget-1d696deb.js +0 -90
- package/vertical-progress-widget-fa6b14ff.js +0 -52
- package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c068c9f3.js +0 -282
|
@@ -0,0 +1,723 @@
|
|
|
1
|
+
import { defineComponent as Ge, computed as y, ref as Je, watch as Ke, onMounted as Qe, nextTick as Xe, resolveComponent as O, openBlock as a, createBlock as p, mergeProps as A, unref as e, withCtx as i, createElementBlock as c, Fragment as T, createVNode as m, createTextVNode as u, toDisplayString as d, createCommentVNode as r, renderList as ne, normalizeClass as Ae, createElementVNode as R } from "vue";
|
|
2
|
+
import { e as D, i as Ye, Z as et, _ as tt, $ as ot, a0 as lt } from "./enum-type-05ccb088.js";
|
|
3
|
+
import { B as Be, f as Z } from "./baseImp-cf2a056f.js";
|
|
4
|
+
import { I as at } from "./widget-base-8eece820.js";
|
|
5
|
+
import { b as nt, a as it } from "./share-field-6fc223d3.js";
|
|
6
|
+
import { _ as st } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b6d87607.js";
|
|
7
|
+
import { D as x } from "./drag-wrapper-8ba8d26a.js";
|
|
8
|
+
import { ai as We, W as rt } from "./enum-type-35e3b2e0.js";
|
|
9
|
+
import { _ as dt } from "./label-wrapper.vue_vue_type_style_index_0_lang-57a4c003.js";
|
|
10
|
+
import { i as ut, d as I } from "./slot-1605ee49.js";
|
|
11
|
+
import { c as ct } from "./multirow-50d903a8.js";
|
|
12
|
+
import { Plus as L, Delete as G, SortUp as J, SortDown as K } from "./index-6bcfdc22.js";
|
|
13
|
+
import { _ as pt } from "./_plugin-vue_export-helper-dad06003.js";
|
|
14
|
+
import "./expression-a880b354.js";
|
|
15
|
+
import "./source-map-b04aec4a.js";
|
|
16
|
+
import "./uuid-68f25733.js";
|
|
17
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
|
+
import "./esprima-e8d15055.js";
|
|
19
|
+
import "./icon-3ea488c1.js";
|
|
20
|
+
import "./dialog-8ecdabe5.js";
|
|
21
|
+
import "element-plus";
|
|
22
|
+
import "./index-847ef399.js";
|
|
23
|
+
import "./index-7d31ccfb.js";
|
|
24
|
+
import "./fieldobj-4d9ab4ce.js";
|
|
25
|
+
import "./field-base-1acf3ada.js";
|
|
26
|
+
const mt = {
|
|
27
|
+
key: 0,
|
|
28
|
+
class: "multiRowLine"
|
|
29
|
+
}, wt = {
|
|
30
|
+
key: 1,
|
|
31
|
+
class: "horialCenter row_bottom"
|
|
32
|
+
}, vt = {
|
|
33
|
+
key: 0,
|
|
34
|
+
class: "horialCenter row_bottom"
|
|
35
|
+
}, ft = { key: 0 }, _t = { class: "td2" }, gt = { class: "td2" }, kt = {
|
|
36
|
+
key: 0,
|
|
37
|
+
class: "td2"
|
|
38
|
+
}, bt = {
|
|
39
|
+
key: 0,
|
|
40
|
+
class: "btns"
|
|
41
|
+
}, yt = {
|
|
42
|
+
key: 0,
|
|
43
|
+
class: "detailTable"
|
|
44
|
+
}, ht = ["colspan"], Rt = { class: "nolabel tr2" }, Ct = { class: "rowIndex" }, Tt = {
|
|
45
|
+
key: 0,
|
|
46
|
+
class: "btns"
|
|
47
|
+
}, Dt = { key: 0 }, Lt = ["colspan"], $t = ["colspan"], Nt = {
|
|
48
|
+
key: 0,
|
|
49
|
+
class: "horialCenter row_bottom"
|
|
50
|
+
}, St = {
|
|
51
|
+
key: 0,
|
|
52
|
+
class: "horialCenter row_bottom"
|
|
53
|
+
}, At = {
|
|
54
|
+
key: 1,
|
|
55
|
+
class: "horialCenter row_bottom"
|
|
56
|
+
}, Bt = /* @__PURE__ */ Ge({
|
|
57
|
+
__name: "multirow-widget",
|
|
58
|
+
props: {
|
|
59
|
+
...at
|
|
60
|
+
},
|
|
61
|
+
setup(Fe, { expose: Oe }) {
|
|
62
|
+
const ie = Fe, { slots: Q, exposed: N, objFieldModel: se, attrs: o, events: re, fieldObj: xe, fieldName: Ie } = nt(ie), B = y(() => ut(Q.value)), { widgetRefList: S, rowsData: g, newSlot: Me, getWidgetOption: de, newFieldModelFromSlot: Ve, removeFieldModelFromSlot: Ue, getValue: ue, setValue: ze, findWidgetByNameWithSibId: He, getSlotFromData: je, emit$: Ee } = ct({ ...ie, fieldName: Ie.value, setValue: N == null ? void 0 : N.setValue }), b = y(() => {
|
|
63
|
+
var t;
|
|
64
|
+
return (t = o == null ? void 0 : o.value) == null ? void 0 : t.disabled;
|
|
65
|
+
}), X = y(() => {
|
|
66
|
+
var t;
|
|
67
|
+
return (t = o.value) == null ? void 0 : t.sortable;
|
|
68
|
+
}), ce = y(() => {
|
|
69
|
+
var t, s;
|
|
70
|
+
return !((t = o.value) != null && t.onlyOneAddButton) && ((s = o.value) == null ? void 0 : s.allowAdd);
|
|
71
|
+
}), pe = y(() => {
|
|
72
|
+
var t;
|
|
73
|
+
return (t = o.value) == null ? void 0 : t.allowDelete;
|
|
74
|
+
}), me = y(() => {
|
|
75
|
+
var t;
|
|
76
|
+
return (t = o.value) == null ? void 0 : t.showDetail;
|
|
77
|
+
}), Y = y(() => {
|
|
78
|
+
var t;
|
|
79
|
+
return (t = o.value) == null ? void 0 : t.showLimit;
|
|
80
|
+
}), W = y(() => X.value || ce.value || pe.value), ee = y(() => W != null && W.value ? 2 : 1), te = y(() => {
|
|
81
|
+
var t;
|
|
82
|
+
return (t = le(I(B.value, "row"))) == null ? void 0 : t.length;
|
|
83
|
+
}), oe = y(() => {
|
|
84
|
+
var t, s;
|
|
85
|
+
return D.i18nt("designer.hint.multirowtip") + ((t = o.value) == null ? void 0 : t.minRowNum) + "-" + ((s = o.value) == null ? void 0 : s.maxRowNum);
|
|
86
|
+
}), H = D.i18nt("designer.hint.sortUp"), j = D.i18nt("designer.hint.sortDown"), E = D.i18nt("designer.hint.deleteRow"), C = D.i18nt("designer.hint.addNewRow"), F = y(() => (g == null ? void 0 : g.length) || 0), P = () => {
|
|
87
|
+
var t = ue();
|
|
88
|
+
se.value = t, N.setValue(t);
|
|
89
|
+
}, M = (t) => {
|
|
90
|
+
var v, h;
|
|
91
|
+
if ((g == null ? void 0 : g.length) >= o.value.maxRowNum) {
|
|
92
|
+
Z.info(D.i18nt("designer.hint.maxRowTip"));
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
const s = Me(Q.value);
|
|
96
|
+
et(g, t, s), Ve(s, _e({}, t + 1)), P(), (h = (v = re.value).addRow) == null || h.call(v, t);
|
|
97
|
+
}, we = (t) => {
|
|
98
|
+
var v, h;
|
|
99
|
+
if ((g == null ? void 0 : g.length) <= o.value.minRowNum) {
|
|
100
|
+
Z.info(D.i18nt("designer.hint.minRowTip"));
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
const s = g[t];
|
|
104
|
+
tt(g, t), Ue(s), P(), (h = (v = re.value).deleteRow) == null || h.call(v, t);
|
|
105
|
+
}, ve = (t) => {
|
|
106
|
+
if (t === g.length - 1) {
|
|
107
|
+
Z.info(D.i18nt("designer.hint.moveDownLastChildHint"));
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
ot(g, t), P();
|
|
111
|
+
}, fe = (t) => {
|
|
112
|
+
if (t === 0) {
|
|
113
|
+
Z.info(D.i18nt("designer.hint.moveUpFirstChildHint"));
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
lt(g, t), P();
|
|
117
|
+
}, le = (t) => t == null ? void 0 : t.widgetList, ae = Je(!0), Pe = (t) => {
|
|
118
|
+
var s, v;
|
|
119
|
+
return (s = o.value) != null && s.dataFormat ? (v = o.value) == null ? void 0 : v.dataFormat(t) : t;
|
|
120
|
+
}, _e = (t, s) => {
|
|
121
|
+
var v, h;
|
|
122
|
+
return (v = o.value) != null && v.rowDataFormat ? (h = o.value) == null ? void 0 : h.rowDataFormat(t, s) : t;
|
|
123
|
+
}, $ = y({
|
|
124
|
+
get() {
|
|
125
|
+
return g;
|
|
126
|
+
},
|
|
127
|
+
set(t) {
|
|
128
|
+
ge(t);
|
|
129
|
+
}
|
|
130
|
+
}), qe = (t, s) => He(t, s, (v) => N.findRefByName(v)), ge = (t) => ze(Pe(t), (s) => Ze(s)), Ze = (t) => {
|
|
131
|
+
var s;
|
|
132
|
+
return je(Q.value, t || [], (s = o.value) == null ? void 0 : s.minRowNum, _e);
|
|
133
|
+
};
|
|
134
|
+
return Ke(() => se.value, (t) => {
|
|
135
|
+
ae.value && (Ye(t) || ($.value = t, ae.value = !1));
|
|
136
|
+
}, { immediate: !0 }), Qe(() => {
|
|
137
|
+
Xe(() => {
|
|
138
|
+
setTimeout(() => {
|
|
139
|
+
var t, s;
|
|
140
|
+
((t = $.value) == null ? void 0 : t.length) <= 0 && ae.value && (s = o.value) != null && s.allowDefaultAdd && ($.value = []);
|
|
141
|
+
}, 1e3);
|
|
142
|
+
});
|
|
143
|
+
}), Oe({
|
|
144
|
+
...N,
|
|
145
|
+
setDisabled: (t) => {
|
|
146
|
+
N.setDisabled(t);
|
|
147
|
+
const { setAllRefList: s } = it(S.value);
|
|
148
|
+
s(rt.setDisabled, { flag: t });
|
|
149
|
+
},
|
|
150
|
+
emit$: Ee,
|
|
151
|
+
setValue: ge,
|
|
152
|
+
getValue: ue,
|
|
153
|
+
findWidgetByNameWithSibId: qe
|
|
154
|
+
}), (t, s) => {
|
|
155
|
+
const v = O("el-col"), h = O("el-tag"), ke = O("el-divider"), w = O("el-button"), q = O("el-button-group"), be = O("el-row");
|
|
156
|
+
return a(), p(st, A(t.$props, {
|
|
157
|
+
"prop-options": { fieldObj: e(xe) }
|
|
158
|
+
}), {
|
|
159
|
+
default: i(({ data: Ft }) => {
|
|
160
|
+
var ye, he, Re, Ce, Te, De, Le, $e, Ne, Se;
|
|
161
|
+
return [
|
|
162
|
+
((ye = e(o)) == null ? void 0 : ye.showMode) === e(We).line ? (a(), c(T, { key: 0 }, [
|
|
163
|
+
t.designState ? (a(), c("div", mt, [
|
|
164
|
+
(he = e(o)) != null && he.showHeader ? (a(), p(be, {
|
|
165
|
+
key: 0,
|
|
166
|
+
class: "rowHeader"
|
|
167
|
+
}, {
|
|
168
|
+
default: i(() => [
|
|
169
|
+
m(v, {
|
|
170
|
+
span: 10,
|
|
171
|
+
class: "rowLabel"
|
|
172
|
+
}, {
|
|
173
|
+
default: i(() => [
|
|
174
|
+
u(d(e(Be).getOptions(t.widget || {}, "label")), 1)
|
|
175
|
+
]),
|
|
176
|
+
_: 1
|
|
177
|
+
}),
|
|
178
|
+
m(v, {
|
|
179
|
+
span: 14,
|
|
180
|
+
class: "flexInline justifyEnd alignCenter"
|
|
181
|
+
}, {
|
|
182
|
+
default: i(() => [
|
|
183
|
+
Y.value ? (a(), p(h, {
|
|
184
|
+
key: 0,
|
|
185
|
+
type: "info",
|
|
186
|
+
round: ""
|
|
187
|
+
}, {
|
|
188
|
+
default: i(() => [
|
|
189
|
+
u(d(oe.value), 1)
|
|
190
|
+
]),
|
|
191
|
+
_: 1
|
|
192
|
+
})) : r("", !0),
|
|
193
|
+
m(ke, { direction: "vertical" }),
|
|
194
|
+
m(q, { disabled: b.value }, {
|
|
195
|
+
default: i(() => {
|
|
196
|
+
var l, n;
|
|
197
|
+
return [
|
|
198
|
+
!((l = e(o)) != null && l.onlyOneAddButton) && ((n = e(o)) != null && n.allowAdd) ? (a(), p(w, {
|
|
199
|
+
key: 0,
|
|
200
|
+
icon: e(L),
|
|
201
|
+
link: ""
|
|
202
|
+
}, {
|
|
203
|
+
default: i(() => {
|
|
204
|
+
var _;
|
|
205
|
+
return [
|
|
206
|
+
u(d(((_ = e(o)) == null ? void 0 : _.addRecordText) || e(C)), 1)
|
|
207
|
+
];
|
|
208
|
+
}),
|
|
209
|
+
_: 1
|
|
210
|
+
}, 8, ["icon"])) : r("", !0),
|
|
211
|
+
e(o).allowDelete ? (a(), p(w, {
|
|
212
|
+
key: 1,
|
|
213
|
+
icon: e(G),
|
|
214
|
+
type: "danger",
|
|
215
|
+
link: ""
|
|
216
|
+
}, {
|
|
217
|
+
default: i(() => {
|
|
218
|
+
var _;
|
|
219
|
+
return [
|
|
220
|
+
u(d(((_ = e(o)) == null ? void 0 : _.deleteRecordText) || e(E)), 1)
|
|
221
|
+
];
|
|
222
|
+
}),
|
|
223
|
+
_: 1
|
|
224
|
+
}, 8, ["icon"])) : r("", !0),
|
|
225
|
+
e(o).sortable ? (a(), p(w, {
|
|
226
|
+
key: 2,
|
|
227
|
+
icon: e(J),
|
|
228
|
+
link: ""
|
|
229
|
+
}, {
|
|
230
|
+
default: i(() => {
|
|
231
|
+
var _;
|
|
232
|
+
return [
|
|
233
|
+
u(d(((_ = e(o)) == null ? void 0 : _.sortUpText) || e(H)), 1)
|
|
234
|
+
];
|
|
235
|
+
}),
|
|
236
|
+
_: 1
|
|
237
|
+
}, 8, ["icon"])) : r("", !0),
|
|
238
|
+
e(o).sortable ? (a(), p(w, {
|
|
239
|
+
key: 3,
|
|
240
|
+
icon: e(K),
|
|
241
|
+
link: ""
|
|
242
|
+
}, {
|
|
243
|
+
default: i(() => {
|
|
244
|
+
var _;
|
|
245
|
+
return [
|
|
246
|
+
u(d(((_ = e(o)) == null ? void 0 : _.sortDownText) || e(j)), 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(x, A(t.$props, {
|
|
262
|
+
widget: e(I)(B.value, "row"),
|
|
263
|
+
dragClass: "dragSize",
|
|
264
|
+
refList: e(S)
|
|
265
|
+
}), null, 16, ["widget", "refList"]),
|
|
266
|
+
(Re = e(o)) != null && Re.onlyOneAddButton ? (a(), c("div", wt, [
|
|
267
|
+
m(w, {
|
|
268
|
+
disabled: b.value,
|
|
269
|
+
icon: e(L),
|
|
270
|
+
size: "large"
|
|
271
|
+
}, {
|
|
272
|
+
default: i(() => {
|
|
273
|
+
var l;
|
|
274
|
+
return [
|
|
275
|
+
u(d(((l = e(o)) == null ? void 0 : l.addRecordText) || e(C)), 1)
|
|
276
|
+
];
|
|
277
|
+
}),
|
|
278
|
+
_: 1
|
|
279
|
+
}, 8, ["disabled", "icon"])
|
|
280
|
+
])) : r("", !0)
|
|
281
|
+
])) : (a(), c(T, { key: 1 }, [
|
|
282
|
+
(a(!0), c(T, null, ne($.value, (l, n) => {
|
|
283
|
+
var _, V;
|
|
284
|
+
return a(), c("div", {
|
|
285
|
+
key: (l == null ? void 0 : l.key) || n,
|
|
286
|
+
class: "multiRowLine"
|
|
287
|
+
}, [
|
|
288
|
+
(_ = e(o)) != null && _.showHeader ? (a(), p(be, {
|
|
289
|
+
key: 0,
|
|
290
|
+
class: "rowHeader"
|
|
291
|
+
}, {
|
|
292
|
+
default: i(() => [
|
|
293
|
+
m(v, {
|
|
294
|
+
span: 10,
|
|
295
|
+
class: "rowLabel"
|
|
296
|
+
}, {
|
|
297
|
+
default: i(() => [
|
|
298
|
+
u(d(e(Be).getOptions(t.widget || {}, "label")) + " " + d(n + 1), 1)
|
|
299
|
+
]),
|
|
300
|
+
_: 2
|
|
301
|
+
}, 1024),
|
|
302
|
+
m(v, {
|
|
303
|
+
span: 14,
|
|
304
|
+
class: "flexInline justifyEnd alignCenter"
|
|
305
|
+
}, {
|
|
306
|
+
default: i(() => [
|
|
307
|
+
n == 0 && Y.value ? (a(), p(h, {
|
|
308
|
+
key: 0,
|
|
309
|
+
type: "info",
|
|
310
|
+
round: ""
|
|
311
|
+
}, {
|
|
312
|
+
default: i(() => [
|
|
313
|
+
u(d(oe.value), 1)
|
|
314
|
+
]),
|
|
315
|
+
_: 1
|
|
316
|
+
})) : r("", !0),
|
|
317
|
+
m(ke, { direction: "vertical" }),
|
|
318
|
+
m(q, { disabled: b.value }, {
|
|
319
|
+
default: i(() => {
|
|
320
|
+
var U, z, f;
|
|
321
|
+
return [
|
|
322
|
+
!((U = e(o)) != null && U.onlyOneAddButton) && e(o).allowAdd ? (a(), p(w, {
|
|
323
|
+
key: 0,
|
|
324
|
+
onClick: (k) => M(n),
|
|
325
|
+
disabled: b.value || F.value > ((z = e(o)) == null ? void 0 : z.maxRowNum),
|
|
326
|
+
icon: e(L),
|
|
327
|
+
link: ""
|
|
328
|
+
}, {
|
|
329
|
+
default: i(() => {
|
|
330
|
+
var k;
|
|
331
|
+
return [
|
|
332
|
+
u(d(((k = e(o)) == null ? void 0 : k.addRecordText) || e(C)), 1)
|
|
333
|
+
];
|
|
334
|
+
}),
|
|
335
|
+
_: 1
|
|
336
|
+
}, 8, ["onClick", "disabled", "icon"])) : r("", !0),
|
|
337
|
+
e(o).allowDelete ? (a(), p(w, {
|
|
338
|
+
key: 1,
|
|
339
|
+
onClick: (k) => we(n),
|
|
340
|
+
disabled: b.value || ((f = e(o)) == null ? void 0 : f.minRowNum) >= F.value,
|
|
341
|
+
icon: e(G),
|
|
342
|
+
type: "danger",
|
|
343
|
+
link: ""
|
|
344
|
+
}, {
|
|
345
|
+
default: i(() => {
|
|
346
|
+
var k;
|
|
347
|
+
return [
|
|
348
|
+
u(d(((k = e(o)) == null ? void 0 : k.deleteRecordText) || e(E)), 1)
|
|
349
|
+
];
|
|
350
|
+
}),
|
|
351
|
+
_: 1
|
|
352
|
+
}, 8, ["onClick", "disabled", "icon"])) : r("", !0),
|
|
353
|
+
e(o).sortable ? (a(), p(w, {
|
|
354
|
+
key: 2,
|
|
355
|
+
onClick: (k) => fe(n),
|
|
356
|
+
disabled: b.value || n <= 0,
|
|
357
|
+
icon: e(J),
|
|
358
|
+
link: ""
|
|
359
|
+
}, {
|
|
360
|
+
default: i(() => {
|
|
361
|
+
var k;
|
|
362
|
+
return [
|
|
363
|
+
u(d(((k = e(o)) == null ? void 0 : k.sortUpText) || e(H)), 1)
|
|
364
|
+
];
|
|
365
|
+
}),
|
|
366
|
+
_: 1
|
|
367
|
+
}, 8, ["onClick", "disabled", "icon"])) : r("", !0),
|
|
368
|
+
e(o).sortable ? (a(), p(w, {
|
|
369
|
+
key: 3,
|
|
370
|
+
onClick: (k) => ve(n),
|
|
371
|
+
disabled: b.value || n >= F.value - 1,
|
|
372
|
+
icon: e(K),
|
|
373
|
+
link: ""
|
|
374
|
+
}, {
|
|
375
|
+
default: i(() => {
|
|
376
|
+
var k;
|
|
377
|
+
return [
|
|
378
|
+
u(d(((k = e(o)) == null ? void 0 : k.sortDownText) || e(j)), 1)
|
|
379
|
+
];
|
|
380
|
+
}),
|
|
381
|
+
_: 1
|
|
382
|
+
}, 8, ["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(x, A({ ref_for: !0 }, t.$props, {
|
|
394
|
+
widget: (V = l == null ? void 0 : l.widget) == null ? void 0 : V[0],
|
|
395
|
+
componentName: "div",
|
|
396
|
+
refList: e(S),
|
|
397
|
+
componentClass: "flex full-width",
|
|
398
|
+
"row-scope": { row: l == null ? void 0 : l.data, $index: n }
|
|
399
|
+
}), null, 16, ["widget", "refList", "row-scope"])
|
|
400
|
+
]);
|
|
401
|
+
}), 128)),
|
|
402
|
+
e(o).allowAdd ? (a(), c("div", vt, [
|
|
403
|
+
m(w, {
|
|
404
|
+
disabled: b.value,
|
|
405
|
+
icon: e(L),
|
|
406
|
+
size: "large",
|
|
407
|
+
onClick: s[0] || (s[0] = (l) => {
|
|
408
|
+
var n;
|
|
409
|
+
return M(((n = $.value) == null ? void 0 : n.length) - 1);
|
|
410
|
+
})
|
|
411
|
+
}, {
|
|
412
|
+
default: i(() => {
|
|
413
|
+
var l;
|
|
414
|
+
return [
|
|
415
|
+
u(d(((l = e(o)) == null ? void 0 : l.addRecordText) || e(C)), 1)
|
|
416
|
+
];
|
|
417
|
+
}),
|
|
418
|
+
_: 1
|
|
419
|
+
}, 8, ["disabled", "icon"])
|
|
420
|
+
])) : r("", !0)
|
|
421
|
+
], 64))
|
|
422
|
+
], 64)) : ((Ce = e(o)) == null ? void 0 : Ce.showMode) === e(We).table ? (a(), c("table", {
|
|
423
|
+
key: 1,
|
|
424
|
+
class: Ae(["table2", [(Te = e(o)) != null && Te.showBorder ? "borderedTable" : ""]])
|
|
425
|
+
}, [
|
|
426
|
+
(De = e(o)) != null && De.showHeader ? (a(), c("thead", ft, [
|
|
427
|
+
R("tr", null, [
|
|
428
|
+
R("th", _t, [
|
|
429
|
+
Y.value ? (a(), p(h, {
|
|
430
|
+
key: 0,
|
|
431
|
+
type: "info",
|
|
432
|
+
round: ""
|
|
433
|
+
}, {
|
|
434
|
+
default: i(() => [
|
|
435
|
+
u(d(oe.value), 1)
|
|
436
|
+
]),
|
|
437
|
+
_: 1
|
|
438
|
+
})) : r("", !0)
|
|
439
|
+
]),
|
|
440
|
+
(a(!0), c(T, null, ne(le(e(I)(B.value, "row")), (l) => {
|
|
441
|
+
var n;
|
|
442
|
+
return a(), c("th", gt, [
|
|
443
|
+
R("div", {
|
|
444
|
+
class: Ae([(n = e(de)(l)) != null && n.required ? "required" : ""])
|
|
445
|
+
}, [
|
|
446
|
+
m(dt, {
|
|
447
|
+
widget: l,
|
|
448
|
+
designer: t.designer,
|
|
449
|
+
designState: t.designState,
|
|
450
|
+
parentWidget: t.widget,
|
|
451
|
+
parentList: le(e(I)(B.value, "row")),
|
|
452
|
+
"prop-options": { fieldObj: { extendAttrs: e(de)(l) } }
|
|
453
|
+
}, null, 8, ["widget", "designer", "designState", "parentWidget", "parentList", "prop-options"])
|
|
454
|
+
], 2)
|
|
455
|
+
]);
|
|
456
|
+
}), 256)),
|
|
457
|
+
W.value ? (a(), c("th", kt)) : r("", !0)
|
|
458
|
+
])
|
|
459
|
+
])) : r("", !0),
|
|
460
|
+
R("tbody", null, [
|
|
461
|
+
t.designState ? (a(), c(T, { key: 0 }, [
|
|
462
|
+
m(x, A(t.$props, {
|
|
463
|
+
widget: e(I)(B.value, "row"),
|
|
464
|
+
componentName: "td",
|
|
465
|
+
refList: e(S),
|
|
466
|
+
dragTag: "tr",
|
|
467
|
+
componentClass: "td2",
|
|
468
|
+
dragClass: "dragSize nolabel"
|
|
469
|
+
}), {
|
|
470
|
+
header: i(() => [...s[3] || (s[3] = [
|
|
471
|
+
R("td", { class: "rowIndex" }, "1", -1)
|
|
472
|
+
])]),
|
|
473
|
+
footer: i(() => [
|
|
474
|
+
W.value ? (a(), c("td", bt, [
|
|
475
|
+
m(q, { disabled: b.value }, {
|
|
476
|
+
default: i(() => {
|
|
477
|
+
var l;
|
|
478
|
+
return [
|
|
479
|
+
!((l = e(o)) != null && l.onlyOneAddButton) && e(o).allowAdd ? (a(), p(w, {
|
|
480
|
+
key: 0,
|
|
481
|
+
icon: e(L),
|
|
482
|
+
link: ""
|
|
483
|
+
}, {
|
|
484
|
+
default: i(() => {
|
|
485
|
+
var n;
|
|
486
|
+
return [
|
|
487
|
+
u(d(((n = e(o)) == null ? void 0 : n.addRecordText) || e(C)), 1)
|
|
488
|
+
];
|
|
489
|
+
}),
|
|
490
|
+
_: 1
|
|
491
|
+
}, 8, ["icon"])) : r("", !0),
|
|
492
|
+
e(o).allowDelete ? (a(), p(w, {
|
|
493
|
+
key: 1,
|
|
494
|
+
type: "danger",
|
|
495
|
+
icon: e(G),
|
|
496
|
+
link: ""
|
|
497
|
+
}, {
|
|
498
|
+
default: i(() => {
|
|
499
|
+
var n;
|
|
500
|
+
return [
|
|
501
|
+
u(d(((n = e(o)) == null ? void 0 : n.deleteRecordText) || e(E)), 1)
|
|
502
|
+
];
|
|
503
|
+
}),
|
|
504
|
+
_: 1
|
|
505
|
+
}, 8, ["icon"])) : r("", !0),
|
|
506
|
+
e(o).sortable ? (a(), p(w, {
|
|
507
|
+
key: 2,
|
|
508
|
+
link: "",
|
|
509
|
+
icon: e(J)
|
|
510
|
+
}, {
|
|
511
|
+
default: i(() => {
|
|
512
|
+
var n;
|
|
513
|
+
return [
|
|
514
|
+
u(d(((n = e(o)) == null ? void 0 : n.sortUpText) || e(H)), 1)
|
|
515
|
+
];
|
|
516
|
+
}),
|
|
517
|
+
_: 1
|
|
518
|
+
}, 8, ["icon"])) : r("", !0),
|
|
519
|
+
e(o).sortable ? (a(), p(w, {
|
|
520
|
+
key: 3,
|
|
521
|
+
link: "",
|
|
522
|
+
icon: e(K)
|
|
523
|
+
}, {
|
|
524
|
+
default: i(() => {
|
|
525
|
+
var n;
|
|
526
|
+
return [
|
|
527
|
+
u(d(((n = e(o)) == null ? void 0 : n.sortDownText) || e(j)), 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
|
+
me.value ? (a(), c("tr", yt, [
|
|
541
|
+
R("td", {
|
|
542
|
+
colspan: (te.value || 0) + ee.value
|
|
543
|
+
}, [
|
|
544
|
+
m(x, A(t.$props, {
|
|
545
|
+
widget: e(I)(B.value, "detail"),
|
|
546
|
+
refList: e(S),
|
|
547
|
+
style: { height: "auto" }
|
|
548
|
+
}), null, 16, ["widget", "refList"])
|
|
549
|
+
], 8, ht)
|
|
550
|
+
])) : r("", !0)
|
|
551
|
+
], 64)) : (a(!0), c(T, { key: 1 }, ne($.value, (l, n) => {
|
|
552
|
+
var _, V;
|
|
553
|
+
return a(), c(T, {
|
|
554
|
+
key: (l == null ? void 0 : l.key) || n
|
|
555
|
+
}, [
|
|
556
|
+
R("tr", Rt, [
|
|
557
|
+
R("td", Ct, d(n + 1), 1),
|
|
558
|
+
m(x, A({ ref_for: !0 }, t.$props, {
|
|
559
|
+
widget: (_ = l == null ? void 0 : l.widget) == null ? void 0 : _[0],
|
|
560
|
+
componentName: "td",
|
|
561
|
+
refList: e(S),
|
|
562
|
+
componentClass: "td2",
|
|
563
|
+
"row-scope": { row: l == null ? void 0 : l.data, $index: n }
|
|
564
|
+
}), null, 16, ["widget", "refList", "row-scope"]),
|
|
565
|
+
W.value ? (a(), c("td", Tt, [
|
|
566
|
+
m(q, { disabled: b.value }, {
|
|
567
|
+
default: i(() => {
|
|
568
|
+
var U, z;
|
|
569
|
+
return [
|
|
570
|
+
ce.value ? (a(), p(w, {
|
|
571
|
+
key: 0,
|
|
572
|
+
onClick: (f) => M(n),
|
|
573
|
+
disabled: F.value > ((U = e(o)) == null ? void 0 : U.maxRowNum),
|
|
574
|
+
icon: e(L),
|
|
575
|
+
link: ""
|
|
576
|
+
}, {
|
|
577
|
+
default: i(() => {
|
|
578
|
+
var f;
|
|
579
|
+
return [
|
|
580
|
+
u(d(((f = e(o)) == null ? void 0 : f.addRecordText) || e(C)), 1)
|
|
581
|
+
];
|
|
582
|
+
}),
|
|
583
|
+
_: 1
|
|
584
|
+
}, 8, ["onClick", "disabled", "icon"])) : r("", !0),
|
|
585
|
+
pe.value ? (a(), p(w, {
|
|
586
|
+
key: 1,
|
|
587
|
+
onClick: (f) => we(n),
|
|
588
|
+
type: "danger",
|
|
589
|
+
icon: e(G),
|
|
590
|
+
disabled: ((z = e(o)) == null ? void 0 : z.minRowNum) >= F.value,
|
|
591
|
+
link: ""
|
|
592
|
+
}, {
|
|
593
|
+
default: i(() => {
|
|
594
|
+
var f;
|
|
595
|
+
return [
|
|
596
|
+
u(d(((f = e(o)) == null ? void 0 : f.deleteRecordText) || e(E)), 1)
|
|
597
|
+
];
|
|
598
|
+
}),
|
|
599
|
+
_: 1
|
|
600
|
+
}, 8, ["onClick", "icon", "disabled"])) : r("", !0),
|
|
601
|
+
X.value ? (a(), p(w, {
|
|
602
|
+
key: 2,
|
|
603
|
+
onClick: (f) => fe(n),
|
|
604
|
+
disabled: n <= 0,
|
|
605
|
+
link: "",
|
|
606
|
+
icon: e(J)
|
|
607
|
+
}, {
|
|
608
|
+
default: i(() => {
|
|
609
|
+
var f;
|
|
610
|
+
return [
|
|
611
|
+
u(d(((f = e(o)) == null ? void 0 : f.sortUpText) || e(H)), 1)
|
|
612
|
+
];
|
|
613
|
+
}),
|
|
614
|
+
_: 1
|
|
615
|
+
}, 8, ["onClick", "disabled", "icon"])) : r("", !0),
|
|
616
|
+
X.value ? (a(), p(w, {
|
|
617
|
+
key: 3,
|
|
618
|
+
onClick: (f) => ve(n),
|
|
619
|
+
disabled: n >= F.value - 1,
|
|
620
|
+
link: "",
|
|
621
|
+
icon: e(K)
|
|
622
|
+
}, {
|
|
623
|
+
default: i(() => {
|
|
624
|
+
var f;
|
|
625
|
+
return [
|
|
626
|
+
u(d(((f = e(o)) == null ? void 0 : f.sortDownText) || e(j)), 1)
|
|
627
|
+
];
|
|
628
|
+
}),
|
|
629
|
+
_: 1
|
|
630
|
+
}, 8, ["onClick", "disabled", "icon"])) : r("", !0)
|
|
631
|
+
];
|
|
632
|
+
}),
|
|
633
|
+
_: 2
|
|
634
|
+
}, 1032, ["disabled"])
|
|
635
|
+
])) : r("", !0)
|
|
636
|
+
]),
|
|
637
|
+
me.value ? (a(), c("tr", Dt, [
|
|
638
|
+
R("td", {
|
|
639
|
+
class: "detailTable",
|
|
640
|
+
colspan: (te.value || 0) + ee.value
|
|
641
|
+
}, [
|
|
642
|
+
m(x, A({ ref_for: !0 }, t.$props, {
|
|
643
|
+
widget: (V = l == null ? void 0 : l.widget) == null ? void 0 : V[1],
|
|
644
|
+
"component-style": { height: "auto" },
|
|
645
|
+
refList: e(S),
|
|
646
|
+
"row-scope": { row: l == null ? void 0 : l.data, $index: n }
|
|
647
|
+
}), null, 16, ["widget", "refList", "row-scope"])
|
|
648
|
+
], 8, Lt)
|
|
649
|
+
])) : r("", !0)
|
|
650
|
+
], 64);
|
|
651
|
+
}), 128))
|
|
652
|
+
]),
|
|
653
|
+
R("tfoot", null, [
|
|
654
|
+
R("tr", null, [
|
|
655
|
+
R("td", {
|
|
656
|
+
colspan: (te.value || 0) + ee.value
|
|
657
|
+
}, [
|
|
658
|
+
t.designState ? (a(), c(T, { key: 0 }, [
|
|
659
|
+
(Le = e(o)) != null && Le.onlyOneAddButton && e(o).allowAdd ? (a(), c("div", Nt, [
|
|
660
|
+
m(w, {
|
|
661
|
+
disabled: b.value,
|
|
662
|
+
icon: e(L),
|
|
663
|
+
size: "large"
|
|
664
|
+
}, {
|
|
665
|
+
default: i(() => {
|
|
666
|
+
var l;
|
|
667
|
+
return [
|
|
668
|
+
u(d(((l = e(o)) == null ? void 0 : l.addRecordText) || e(C)), 1)
|
|
669
|
+
];
|
|
670
|
+
}),
|
|
671
|
+
_: 1
|
|
672
|
+
}, 8, ["disabled", "icon"])
|
|
673
|
+
])) : r("", !0)
|
|
674
|
+
], 64)) : (a(), c(T, { key: 1 }, [
|
|
675
|
+
!(($e = e(o)) != null && $e.onlyOneAddButton) && ((Ne = $.value) == null ? void 0 : Ne.length) == 0 ? (a(), c("div", St, [
|
|
676
|
+
m(w, {
|
|
677
|
+
disabled: b.value,
|
|
678
|
+
icon: e(L),
|
|
679
|
+
onClick: s[1] || (s[1] = (l) => M(0))
|
|
680
|
+
}, {
|
|
681
|
+
default: i(() => {
|
|
682
|
+
var l;
|
|
683
|
+
return [
|
|
684
|
+
u(d(((l = e(o)) == null ? void 0 : l.addRecordText) || e(C)), 1)
|
|
685
|
+
];
|
|
686
|
+
}),
|
|
687
|
+
_: 1
|
|
688
|
+
}, 8, ["disabled", "icon"])
|
|
689
|
+
])) : (Se = e(o)) != null && Se.onlyOneAddButton ? (a(), c("div", At, [
|
|
690
|
+
m(w, {
|
|
691
|
+
disabled: b.value,
|
|
692
|
+
icon: e(L),
|
|
693
|
+
size: "large",
|
|
694
|
+
onClick: s[2] || (s[2] = (l) => {
|
|
695
|
+
var n;
|
|
696
|
+
return M(((n = $.value) == null ? void 0 : n.length) - 1);
|
|
697
|
+
})
|
|
698
|
+
}, {
|
|
699
|
+
default: i(() => {
|
|
700
|
+
var l;
|
|
701
|
+
return [
|
|
702
|
+
u(d(((l = e(o)) == null ? void 0 : l.addRecordText) || e(C)), 1)
|
|
703
|
+
];
|
|
704
|
+
}),
|
|
705
|
+
_: 1
|
|
706
|
+
}, 8, ["disabled", "icon"])
|
|
707
|
+
])) : r("", !0)
|
|
708
|
+
], 64))
|
|
709
|
+
], 8, $t)
|
|
710
|
+
])
|
|
711
|
+
])
|
|
712
|
+
], 2)) : r("", !0)
|
|
713
|
+
];
|
|
714
|
+
}),
|
|
715
|
+
_: 1
|
|
716
|
+
}, 16, ["prop-options"]);
|
|
717
|
+
};
|
|
718
|
+
}
|
|
719
|
+
});
|
|
720
|
+
const io = /* @__PURE__ */ pt(Bt, [["__scopeId", "data-v-25a8b248"]]);
|
|
721
|
+
export {
|
|
722
|
+
io as default
|
|
723
|
+
};
|