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
|
@@ -1,723 +0,0 @@
|
|
|
1
|
-
import { defineComponent as Ge, computed as h, ref as Je, watch as Ke, onMounted as Qe, nextTick as Xe, resolveComponent as I, openBlock as l, createBlock as p, mergeProps as A, unref as e, withCtx as s, createElementBlock as c, Fragment as T, createVNode as m, createTextVNode as u, toDisplayString as d, createCommentVNode as r, renderList as se, normalizeClass as Be, createElementVNode as R, pushScopeId as Ye, popScopeId as et } from "vue";
|
|
2
|
-
import { e as D, i as tt, Z as ot, _ as nt, $ as lt, a0 as it } from "./enum-type-d9039fa1.js";
|
|
3
|
-
import { B as We, f as G } from "./baseImp-5c466035.js";
|
|
4
|
-
import { I as st } from "./widget-base-8eece820.js";
|
|
5
|
-
import { b as at, a as rt } from "./share-field-6ba09f55.js";
|
|
6
|
-
import { _ as dt } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c068c9f3.js";
|
|
7
|
-
import { D as O } from "./drag-wrapper-fd7ed8e5.js";
|
|
8
|
-
import { a7 as Fe, W as ut } from "./enum-type-6aec5442.js";
|
|
9
|
-
import { _ as ct } from "./label-wrapper.vue_vue_type_style_index_0_lang-ab1f665c.js";
|
|
10
|
-
import { i as pt, d as x } from "./slot-92796df0.js";
|
|
11
|
-
import { c as mt } from "./multirow-ef17557e.js";
|
|
12
|
-
import { Plus as L, Delete as J, SortUp as K, SortDown as Q } from "./index-ddd23411.js";
|
|
13
|
-
import { _ as wt } from "./_plugin-vue_export-helper-dad06003.js";
|
|
14
|
-
import "./expression-f3029af0.js";
|
|
15
|
-
import "./source-map-b04aec4a.js";
|
|
16
|
-
import "./uuid-b62f2c76.js";
|
|
17
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
|
-
import "./esprima-e8d15055.js";
|
|
19
|
-
import "./icon-a0e0cdb0.js";
|
|
20
|
-
import "./dialog-bb4f1f51.js";
|
|
21
|
-
import "element-plus";
|
|
22
|
-
import "./index-752aa342.js";
|
|
23
|
-
import "./index-56592f6b.js";
|
|
24
|
-
import "./fieldobj-51ea9fd4.js";
|
|
25
|
-
import "./field-base-1acf3ada.js";
|
|
26
|
-
const _t = (M) => (Ye("data-v-25a8b248"), M = M(), et(), M), ft = {
|
|
27
|
-
key: 0,
|
|
28
|
-
class: "multiRowLine"
|
|
29
|
-
}, gt = {
|
|
30
|
-
key: 1,
|
|
31
|
-
class: "horialCenter row_bottom"
|
|
32
|
-
}, kt = {
|
|
33
|
-
key: 0,
|
|
34
|
-
class: "horialCenter row_bottom"
|
|
35
|
-
}, bt = { key: 0 }, yt = { class: "td2" }, ht = { class: "td2" }, vt = {
|
|
36
|
-
key: 0,
|
|
37
|
-
class: "td2"
|
|
38
|
-
}, Rt = /* @__PURE__ */ _t(() => /* @__PURE__ */ R("td", { class: "rowIndex" }, "1", -1)), Ct = {
|
|
39
|
-
key: 0,
|
|
40
|
-
class: "btns"
|
|
41
|
-
}, Tt = {
|
|
42
|
-
key: 0,
|
|
43
|
-
class: "detailTable"
|
|
44
|
-
}, Dt = ["colspan"], Lt = { class: "nolabel tr2" }, St = { class: "rowIndex" }, $t = {
|
|
45
|
-
key: 0,
|
|
46
|
-
class: "btns"
|
|
47
|
-
}, Nt = { key: 0 }, At = ["colspan"], Bt = ["colspan"], Wt = {
|
|
48
|
-
key: 0,
|
|
49
|
-
class: "horialCenter row_bottom"
|
|
50
|
-
}, Ft = {
|
|
51
|
-
key: 0,
|
|
52
|
-
class: "horialCenter row_bottom"
|
|
53
|
-
}, It = {
|
|
54
|
-
key: 1,
|
|
55
|
-
class: "horialCenter row_bottom"
|
|
56
|
-
}, Ot = /* @__PURE__ */ Ge({
|
|
57
|
-
__name: "multirow-widget",
|
|
58
|
-
props: {
|
|
59
|
-
...st
|
|
60
|
-
},
|
|
61
|
-
setup(M, { expose: Ie }) {
|
|
62
|
-
const ae = M, { slots: X, exposed: $, objFieldModel: re, attrs: o, events: de, fieldObj: Oe, fieldName: xe } = at(ae), B = h(() => pt(X.value)), { widgetRefList: N, rowsData: k, newSlot: Me, getWidgetOption: ue, newFieldModelFromSlot: Ve, removeFieldModelFromSlot: Ue, getValue: ce, setValue: ze, findWidgetByNameWithSibId: He, getSlotFromData: je, emit$: Ee } = mt({ ...ae, fieldName: xe.value, setValue: $ == null ? void 0 : $.setValue }), y = h(() => {
|
|
63
|
-
var t;
|
|
64
|
-
return (t = o == null ? void 0 : o.value) == null ? void 0 : t.disabled;
|
|
65
|
-
}), Y = h(() => {
|
|
66
|
-
var t;
|
|
67
|
-
return (t = o.value) == null ? void 0 : t.sortable;
|
|
68
|
-
}), pe = h(() => {
|
|
69
|
-
var t, a;
|
|
70
|
-
return !((t = o.value) != null && t.onlyOneAddButton) && ((a = o.value) == null ? void 0 : a.allowAdd);
|
|
71
|
-
}), me = h(() => {
|
|
72
|
-
var t;
|
|
73
|
-
return (t = o.value) == null ? void 0 : t.allowDelete;
|
|
74
|
-
}), we = h(() => {
|
|
75
|
-
var t;
|
|
76
|
-
return (t = o.value) == null ? void 0 : t.showDetail;
|
|
77
|
-
}), ee = h(() => {
|
|
78
|
-
var t;
|
|
79
|
-
return (t = o.value) == null ? void 0 : t.showLimit;
|
|
80
|
-
}), W = h(() => Y.value || pe.value || me.value), te = h(() => W != null && W.value ? 2 : 1), oe = h(() => {
|
|
81
|
-
var t;
|
|
82
|
-
return (t = le(x(B.value, "row"))) == null ? void 0 : t.length;
|
|
83
|
-
}), ne = h(() => {
|
|
84
|
-
var t, a;
|
|
85
|
-
return D.i18nt("designer.hint.multirowtip") + ((t = o.value) == null ? void 0 : t.minRowNum) + "-" + ((a = o.value) == null ? void 0 : a.maxRowNum);
|
|
86
|
-
}), j = D.i18nt("designer.hint.sortUp"), E = D.i18nt("designer.hint.sortDown"), P = D.i18nt("designer.hint.deleteRow"), C = D.i18nt("designer.hint.addNewRow"), F = h(() => (k == null ? void 0 : k.length) || 0), q = () => {
|
|
87
|
-
var t = ce();
|
|
88
|
-
re.value = t, $.setValue(t);
|
|
89
|
-
}, V = (t) => {
|
|
90
|
-
var _, v;
|
|
91
|
-
if ((k == null ? void 0 : k.length) >= o.value.maxRowNum) {
|
|
92
|
-
G.info(D.i18nt("designer.hint.maxRowTip"));
|
|
93
|
-
return;
|
|
94
|
-
}
|
|
95
|
-
const a = Me(X.value);
|
|
96
|
-
ot(k, t, a), Ve(a, ke({}, t + 1)), q(), (v = (_ = de.value).addRow) == null || v.call(_, t);
|
|
97
|
-
}, _e = (t) => {
|
|
98
|
-
var _, v;
|
|
99
|
-
if ((k == null ? void 0 : k.length) <= o.value.minRowNum) {
|
|
100
|
-
G.info(D.i18nt("designer.hint.minRowTip"));
|
|
101
|
-
return;
|
|
102
|
-
}
|
|
103
|
-
const a = k[t];
|
|
104
|
-
nt(k, t), Ue(a), q(), (v = (_ = de.value).deleteRow) == null || v.call(_, t);
|
|
105
|
-
}, fe = (t) => {
|
|
106
|
-
if (t === k.length - 1) {
|
|
107
|
-
G.info(D.i18nt("designer.hint.moveDownLastChildHint"));
|
|
108
|
-
return;
|
|
109
|
-
}
|
|
110
|
-
lt(k, t), q();
|
|
111
|
-
}, ge = (t) => {
|
|
112
|
-
if (t === 0) {
|
|
113
|
-
G.info(D.i18nt("designer.hint.moveUpFirstChildHint"));
|
|
114
|
-
return;
|
|
115
|
-
}
|
|
116
|
-
it(k, t), q();
|
|
117
|
-
}, le = (t) => t == null ? void 0 : t.widgetList, ie = Je(!0), Pe = (t) => {
|
|
118
|
-
var a, _;
|
|
119
|
-
return (a = o.value) != null && a.dataFormat ? (_ = o.value) == null ? void 0 : _.dataFormat(t) : t;
|
|
120
|
-
}, ke = (t, a) => {
|
|
121
|
-
var _, v;
|
|
122
|
-
return (_ = o.value) != null && _.rowDataFormat ? (v = o.value) == null ? void 0 : v.rowDataFormat(t, a) : t;
|
|
123
|
-
}, S = h({
|
|
124
|
-
get() {
|
|
125
|
-
return k;
|
|
126
|
-
},
|
|
127
|
-
set(t) {
|
|
128
|
-
be(t);
|
|
129
|
-
}
|
|
130
|
-
}), qe = (t, a) => He(t, a, (_) => $.findRefByName(_)), be = (t) => ze(Pe(t), (a) => Ze(a)), Ze = (t) => {
|
|
131
|
-
var a;
|
|
132
|
-
return je(X.value, t || [], (a = o.value) == null ? void 0 : a.minRowNum, ke);
|
|
133
|
-
};
|
|
134
|
-
return Ke(() => re.value, (t) => {
|
|
135
|
-
ie.value && (tt(t) || (S.value = t, ie.value = !1));
|
|
136
|
-
}, { immediate: !0 }), Qe(() => {
|
|
137
|
-
Xe(() => {
|
|
138
|
-
setTimeout(() => {
|
|
139
|
-
var t, a;
|
|
140
|
-
((t = S.value) == null ? void 0 : t.length) <= 0 && ie.value && (a = o.value) != null && a.allowDefaultAdd && (S.value = []);
|
|
141
|
-
}, 1e3);
|
|
142
|
-
});
|
|
143
|
-
}), Ie({
|
|
144
|
-
...$,
|
|
145
|
-
setDisabled: (t) => {
|
|
146
|
-
$.setDisabled(t);
|
|
147
|
-
const { setAllRefList: a } = rt(N.value);
|
|
148
|
-
a(ut.setDisabled, { flag: t });
|
|
149
|
-
},
|
|
150
|
-
emit$: Ee,
|
|
151
|
-
setValue: be,
|
|
152
|
-
getValue: ce,
|
|
153
|
-
findWidgetByNameWithSibId: qe
|
|
154
|
-
}), (t, a) => {
|
|
155
|
-
const _ = I("el-col"), v = I("el-tag"), ye = I("el-divider"), w = I("el-button"), Z = I("el-button-group"), he = I("el-row");
|
|
156
|
-
return l(), p(dt, A(t.$props, {
|
|
157
|
-
"prop-options": { fieldObj: e(Oe) }
|
|
158
|
-
}), {
|
|
159
|
-
default: s(({ data: Mt }) => {
|
|
160
|
-
var ve, Re, Ce, Te, De, Le, Se, $e, Ne, Ae;
|
|
161
|
-
return [
|
|
162
|
-
((ve = e(o)) == null ? void 0 : ve.showMode) === e(Fe).line ? (l(), c(T, { key: 0 }, [
|
|
163
|
-
t.designState ? (l(), c("div", ft, [
|
|
164
|
-
(Re = e(o)) != null && Re.showHeader ? (l(), p(he, {
|
|
165
|
-
key: 0,
|
|
166
|
-
class: "rowHeader"
|
|
167
|
-
}, {
|
|
168
|
-
default: s(() => [
|
|
169
|
-
m(_, {
|
|
170
|
-
span: 10,
|
|
171
|
-
class: "rowLabel"
|
|
172
|
-
}, {
|
|
173
|
-
default: s(() => [
|
|
174
|
-
u(d(e(We).getOptions(t.widget || {}, "label")), 1)
|
|
175
|
-
]),
|
|
176
|
-
_: 1
|
|
177
|
-
}),
|
|
178
|
-
m(_, {
|
|
179
|
-
span: 14,
|
|
180
|
-
class: "flexInline justifyEnd alignCenter"
|
|
181
|
-
}, {
|
|
182
|
-
default: s(() => [
|
|
183
|
-
e(ee) ? (l(), p(v, {
|
|
184
|
-
key: 0,
|
|
185
|
-
type: "info",
|
|
186
|
-
round: ""
|
|
187
|
-
}, {
|
|
188
|
-
default: s(() => [
|
|
189
|
-
u(d(e(ne)), 1)
|
|
190
|
-
]),
|
|
191
|
-
_: 1
|
|
192
|
-
})) : r("", !0),
|
|
193
|
-
m(ye, { direction: "vertical" }),
|
|
194
|
-
m(Z, { disabled: e(y) }, {
|
|
195
|
-
default: s(() => {
|
|
196
|
-
var n, i;
|
|
197
|
-
return [
|
|
198
|
-
!((n = e(o)) != null && n.onlyOneAddButton) && ((i = e(o)) != null && i.allowAdd) ? (l(), p(w, {
|
|
199
|
-
key: 0,
|
|
200
|
-
icon: e(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(J),
|
|
214
|
-
type: "danger",
|
|
215
|
-
link: ""
|
|
216
|
-
}, {
|
|
217
|
-
default: s(() => {
|
|
218
|
-
var g;
|
|
219
|
-
return [
|
|
220
|
-
u(d(((g = e(o)) == null ? void 0 : g.deleteRecordText) || e(P)), 1)
|
|
221
|
-
];
|
|
222
|
-
}),
|
|
223
|
-
_: 1
|
|
224
|
-
}, 8, ["icon"])) : r("", !0),
|
|
225
|
-
e(o).sortable ? (l(), p(w, {
|
|
226
|
-
key: 2,
|
|
227
|
-
icon: e(K),
|
|
228
|
-
link: ""
|
|
229
|
-
}, {
|
|
230
|
-
default: s(() => {
|
|
231
|
-
var g;
|
|
232
|
-
return [
|
|
233
|
-
u(d(((g = e(o)) == null ? void 0 : g.sortUpText) || e(j)), 1)
|
|
234
|
-
];
|
|
235
|
-
}),
|
|
236
|
-
_: 1
|
|
237
|
-
}, 8, ["icon"])) : r("", !0),
|
|
238
|
-
e(o).sortable ? (l(), p(w, {
|
|
239
|
-
key: 3,
|
|
240
|
-
icon: e(Q),
|
|
241
|
-
link: ""
|
|
242
|
-
}, {
|
|
243
|
-
default: s(() => {
|
|
244
|
-
var g;
|
|
245
|
-
return [
|
|
246
|
-
u(d(((g = e(o)) == null ? void 0 : g.sortDownText) || e(E)), 1)
|
|
247
|
-
];
|
|
248
|
-
}),
|
|
249
|
-
_: 1
|
|
250
|
-
}, 8, ["icon"])) : r("", !0)
|
|
251
|
-
];
|
|
252
|
-
}),
|
|
253
|
-
_: 1
|
|
254
|
-
}, 8, ["disabled"])
|
|
255
|
-
]),
|
|
256
|
-
_: 1
|
|
257
|
-
})
|
|
258
|
-
]),
|
|
259
|
-
_: 1
|
|
260
|
-
})) : r("", !0),
|
|
261
|
-
m(O, A(t.$props, {
|
|
262
|
-
widget: e(x)(e(B), "row"),
|
|
263
|
-
dragClass: "dragSize",
|
|
264
|
-
refList: e(N)
|
|
265
|
-
}), null, 16, ["widget", "refList"]),
|
|
266
|
-
(Ce = e(o)) != null && Ce.onlyOneAddButton ? (l(), c("div", gt, [
|
|
267
|
-
m(w, {
|
|
268
|
-
disabled: e(y),
|
|
269
|
-
icon: e(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(S), (n, i) => {
|
|
283
|
-
var g, U;
|
|
284
|
-
return l(), c("div", {
|
|
285
|
-
key: (n == null ? void 0 : n.key) || i,
|
|
286
|
-
class: "multiRowLine"
|
|
287
|
-
}, [
|
|
288
|
-
(g = e(o)) != null && g.showHeader ? (l(), p(he, {
|
|
289
|
-
key: 0,
|
|
290
|
-
class: "rowHeader"
|
|
291
|
-
}, {
|
|
292
|
-
default: s(() => [
|
|
293
|
-
m(_, {
|
|
294
|
-
span: 10,
|
|
295
|
-
class: "rowLabel"
|
|
296
|
-
}, {
|
|
297
|
-
default: s(() => [
|
|
298
|
-
u(d(e(We).getOptions(t.widget || {}, "label")) + " " + d(i + 1), 1)
|
|
299
|
-
]),
|
|
300
|
-
_: 2
|
|
301
|
-
}, 1024),
|
|
302
|
-
m(_, {
|
|
303
|
-
span: 14,
|
|
304
|
-
class: "flexInline justifyEnd alignCenter"
|
|
305
|
-
}, {
|
|
306
|
-
default: s(() => [
|
|
307
|
-
i == 0 && e(ee) ? (l(), p(v, {
|
|
308
|
-
key: 0,
|
|
309
|
-
type: "info",
|
|
310
|
-
round: ""
|
|
311
|
-
}, {
|
|
312
|
-
default: s(() => [
|
|
313
|
-
u(d(e(ne)), 1)
|
|
314
|
-
]),
|
|
315
|
-
_: 1
|
|
316
|
-
})) : r("", !0),
|
|
317
|
-
m(ye, { direction: "vertical" }),
|
|
318
|
-
m(Z, { disabled: e(y) }, {
|
|
319
|
-
default: s(() => {
|
|
320
|
-
var z, H, f;
|
|
321
|
-
return [
|
|
322
|
-
!((z = e(o)) != null && z.onlyOneAddButton) && e(o).allowAdd ? (l(), p(w, {
|
|
323
|
-
key: 0,
|
|
324
|
-
onClick: (b) => V(i),
|
|
325
|
-
disabled: e(y) || e(F) > ((H = e(o)) == null ? void 0 : H.maxRowNum),
|
|
326
|
-
icon: e(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) => _e(i),
|
|
340
|
-
disabled: e(y) || ((f = e(o)) == null ? void 0 : f.minRowNum) >= e(F),
|
|
341
|
-
icon: e(J),
|
|
342
|
-
type: "danger",
|
|
343
|
-
link: ""
|
|
344
|
-
}, {
|
|
345
|
-
default: s(() => {
|
|
346
|
-
var b;
|
|
347
|
-
return [
|
|
348
|
-
u(d(((b = e(o)) == null ? void 0 : b.deleteRecordText) || e(P)), 1)
|
|
349
|
-
];
|
|
350
|
-
}),
|
|
351
|
-
_: 2
|
|
352
|
-
}, 1032, ["onClick", "disabled", "icon"])) : r("", !0),
|
|
353
|
-
e(o).sortable ? (l(), p(w, {
|
|
354
|
-
key: 2,
|
|
355
|
-
onClick: (b) => ge(i),
|
|
356
|
-
disabled: e(y) || i <= 0,
|
|
357
|
-
icon: e(K),
|
|
358
|
-
link: ""
|
|
359
|
-
}, {
|
|
360
|
-
default: s(() => {
|
|
361
|
-
var b;
|
|
362
|
-
return [
|
|
363
|
-
u(d(((b = e(o)) == null ? void 0 : b.sortUpText) || e(j)), 1)
|
|
364
|
-
];
|
|
365
|
-
}),
|
|
366
|
-
_: 2
|
|
367
|
-
}, 1032, ["onClick", "disabled", "icon"])) : r("", !0),
|
|
368
|
-
e(o).sortable ? (l(), p(w, {
|
|
369
|
-
key: 3,
|
|
370
|
-
onClick: (b) => fe(i),
|
|
371
|
-
disabled: e(y) || i >= e(F) - 1,
|
|
372
|
-
icon: e(Q),
|
|
373
|
-
link: ""
|
|
374
|
-
}, {
|
|
375
|
-
default: s(() => {
|
|
376
|
-
var b;
|
|
377
|
-
return [
|
|
378
|
-
u(d(((b = e(o)) == null ? void 0 : b.sortDownText) || e(E)), 1)
|
|
379
|
-
];
|
|
380
|
-
}),
|
|
381
|
-
_: 2
|
|
382
|
-
}, 1032, ["onClick", "disabled", "icon"])) : r("", !0)
|
|
383
|
-
];
|
|
384
|
-
}),
|
|
385
|
-
_: 2
|
|
386
|
-
}, 1032, ["disabled"])
|
|
387
|
-
]),
|
|
388
|
-
_: 2
|
|
389
|
-
}, 1024)
|
|
390
|
-
]),
|
|
391
|
-
_: 2
|
|
392
|
-
}, 1024)) : r("", !0),
|
|
393
|
-
m(O, A(t.$props, {
|
|
394
|
-
widget: (U = n == null ? void 0 : n.widget) == null ? void 0 : U[0],
|
|
395
|
-
componentName: "div",
|
|
396
|
-
refList: e(N),
|
|
397
|
-
componentClass: "flex full-width",
|
|
398
|
-
"row-scope": { row: n == null ? void 0 : n.data, $index: i }
|
|
399
|
-
}), null, 16, ["widget", "refList", "row-scope"])
|
|
400
|
-
]);
|
|
401
|
-
}), 128)),
|
|
402
|
-
e(o).allowAdd ? (l(), c("div", kt, [
|
|
403
|
-
m(w, {
|
|
404
|
-
disabled: e(y),
|
|
405
|
-
icon: e(L),
|
|
406
|
-
size: "large",
|
|
407
|
-
onClick: a[0] || (a[0] = (n) => {
|
|
408
|
-
var i;
|
|
409
|
-
return V(((i = e(S)) == null ? void 0 : i.length) - 1);
|
|
410
|
-
})
|
|
411
|
-
}, {
|
|
412
|
-
default: s(() => {
|
|
413
|
-
var n;
|
|
414
|
-
return [
|
|
415
|
-
u(d(((n = e(o)) == null ? void 0 : n.addRecordText) || e(C)), 1)
|
|
416
|
-
];
|
|
417
|
-
}),
|
|
418
|
-
_: 1
|
|
419
|
-
}, 8, ["disabled", "icon"])
|
|
420
|
-
])) : r("", !0)
|
|
421
|
-
], 64))
|
|
422
|
-
], 64)) : ((Te = e(o)) == null ? void 0 : Te.showMode) === e(Fe).table ? (l(), c("table", {
|
|
423
|
-
key: 1,
|
|
424
|
-
class: Be(["table2", [(De = e(o)) != null && De.showBorder ? "borderedTable" : ""]])
|
|
425
|
-
}, [
|
|
426
|
-
(Le = e(o)) != null && Le.showHeader ? (l(), c("thead", bt, [
|
|
427
|
-
R("tr", null, [
|
|
428
|
-
R("th", yt, [
|
|
429
|
-
e(ee) ? (l(), p(v, {
|
|
430
|
-
key: 0,
|
|
431
|
-
type: "info",
|
|
432
|
-
round: ""
|
|
433
|
-
}, {
|
|
434
|
-
default: s(() => [
|
|
435
|
-
u(d(e(ne)), 1)
|
|
436
|
-
]),
|
|
437
|
-
_: 1
|
|
438
|
-
})) : r("", !0)
|
|
439
|
-
]),
|
|
440
|
-
(l(!0), c(T, null, se(le(e(x)(e(B), "row")), (n) => {
|
|
441
|
-
var i;
|
|
442
|
-
return l(), c("th", ht, [
|
|
443
|
-
R("div", {
|
|
444
|
-
class: Be([(i = e(ue)(n)) != null && i.required ? "required" : ""])
|
|
445
|
-
}, [
|
|
446
|
-
m(ct, {
|
|
447
|
-
widget: n,
|
|
448
|
-
designer: t.designer,
|
|
449
|
-
designState: t.designState,
|
|
450
|
-
parentWidget: t.widget,
|
|
451
|
-
parentList: le(e(x)(e(B), "row")),
|
|
452
|
-
"prop-options": { fieldObj: { extendAttrs: e(ue)(n) } }
|
|
453
|
-
}, null, 8, ["widget", "designer", "designState", "parentWidget", "parentList", "prop-options"])
|
|
454
|
-
], 2)
|
|
455
|
-
]);
|
|
456
|
-
}), 256)),
|
|
457
|
-
e(W) ? (l(), c("th", vt)) : r("", !0)
|
|
458
|
-
])
|
|
459
|
-
])) : r("", !0),
|
|
460
|
-
R("tbody", null, [
|
|
461
|
-
t.designState ? (l(), c(T, { key: 0 }, [
|
|
462
|
-
m(O, A(t.$props, {
|
|
463
|
-
widget: e(x)(e(B), "row"),
|
|
464
|
-
componentName: "td",
|
|
465
|
-
refList: e(N),
|
|
466
|
-
dragTag: "tr",
|
|
467
|
-
componentClass: "td2",
|
|
468
|
-
dragClass: "dragSize nolabel"
|
|
469
|
-
}), {
|
|
470
|
-
header: s(() => [
|
|
471
|
-
Rt
|
|
472
|
-
]),
|
|
473
|
-
footer: s(() => [
|
|
474
|
-
e(W) ? (l(), c("td", Ct, [
|
|
475
|
-
m(Z, { disabled: e(y) }, {
|
|
476
|
-
default: s(() => {
|
|
477
|
-
var n;
|
|
478
|
-
return [
|
|
479
|
-
!((n = e(o)) != null && n.onlyOneAddButton) && e(o).allowAdd ? (l(), p(w, {
|
|
480
|
-
key: 0,
|
|
481
|
-
icon: e(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(J),
|
|
496
|
-
link: ""
|
|
497
|
-
}, {
|
|
498
|
-
default: s(() => {
|
|
499
|
-
var i;
|
|
500
|
-
return [
|
|
501
|
-
u(d(((i = e(o)) == null ? void 0 : i.deleteRecordText) || e(P)), 1)
|
|
502
|
-
];
|
|
503
|
-
}),
|
|
504
|
-
_: 1
|
|
505
|
-
}, 8, ["icon"])) : r("", !0),
|
|
506
|
-
e(o).sortable ? (l(), p(w, {
|
|
507
|
-
key: 2,
|
|
508
|
-
link: "",
|
|
509
|
-
icon: e(K)
|
|
510
|
-
}, {
|
|
511
|
-
default: s(() => {
|
|
512
|
-
var i;
|
|
513
|
-
return [
|
|
514
|
-
u(d(((i = e(o)) == null ? void 0 : i.sortUpText) || e(j)), 1)
|
|
515
|
-
];
|
|
516
|
-
}),
|
|
517
|
-
_: 1
|
|
518
|
-
}, 8, ["icon"])) : r("", !0),
|
|
519
|
-
e(o).sortable ? (l(), p(w, {
|
|
520
|
-
key: 3,
|
|
521
|
-
link: "",
|
|
522
|
-
icon: e(Q)
|
|
523
|
-
}, {
|
|
524
|
-
default: s(() => {
|
|
525
|
-
var i;
|
|
526
|
-
return [
|
|
527
|
-
u(d(((i = e(o)) == null ? void 0 : i.sortDownText) || e(E)), 1)
|
|
528
|
-
];
|
|
529
|
-
}),
|
|
530
|
-
_: 1
|
|
531
|
-
}, 8, ["icon"])) : r("", !0)
|
|
532
|
-
];
|
|
533
|
-
}),
|
|
534
|
-
_: 1
|
|
535
|
-
}, 8, ["disabled"])
|
|
536
|
-
])) : r("", !0)
|
|
537
|
-
]),
|
|
538
|
-
_: 1
|
|
539
|
-
}, 16, ["widget", "refList"]),
|
|
540
|
-
e(we) ? (l(), c("tr", Tt, [
|
|
541
|
-
R("td", {
|
|
542
|
-
colspan: (e(oe) || 0) + e(te)
|
|
543
|
-
}, [
|
|
544
|
-
m(O, A(t.$props, {
|
|
545
|
-
widget: e(x)(e(B), "detail"),
|
|
546
|
-
refList: e(N),
|
|
547
|
-
style: { height: "auto" }
|
|
548
|
-
}), null, 16, ["widget", "refList"])
|
|
549
|
-
], 8, Dt)
|
|
550
|
-
])) : r("", !0)
|
|
551
|
-
], 64)) : (l(!0), c(T, { key: 1 }, se(e(S), (n, i) => {
|
|
552
|
-
var g, U;
|
|
553
|
-
return l(), c(T, {
|
|
554
|
-
key: (n == null ? void 0 : n.key) || i
|
|
555
|
-
}, [
|
|
556
|
-
R("tr", Lt, [
|
|
557
|
-
R("td", St, d(i + 1), 1),
|
|
558
|
-
m(O, A(t.$props, {
|
|
559
|
-
widget: (g = n == null ? void 0 : n.widget) == null ? void 0 : g[0],
|
|
560
|
-
componentName: "td",
|
|
561
|
-
refList: e(N),
|
|
562
|
-
componentClass: "td2",
|
|
563
|
-
"row-scope": { row: n == null ? void 0 : n.data, $index: i }
|
|
564
|
-
}), null, 16, ["widget", "refList", "row-scope"]),
|
|
565
|
-
e(W) ? (l(), c("td", $t, [
|
|
566
|
-
m(Z, { disabled: e(y) }, {
|
|
567
|
-
default: s(() => {
|
|
568
|
-
var z, H;
|
|
569
|
-
return [
|
|
570
|
-
e(pe) ? (l(), p(w, {
|
|
571
|
-
key: 0,
|
|
572
|
-
onClick: (f) => V(i),
|
|
573
|
-
disabled: e(F) > ((z = e(o)) == null ? void 0 : z.maxRowNum),
|
|
574
|
-
icon: e(L),
|
|
575
|
-
link: ""
|
|
576
|
-
}, {
|
|
577
|
-
default: s(() => {
|
|
578
|
-
var f;
|
|
579
|
-
return [
|
|
580
|
-
u(d(((f = e(o)) == null ? void 0 : f.addRecordText) || e(C)), 1)
|
|
581
|
-
];
|
|
582
|
-
}),
|
|
583
|
-
_: 2
|
|
584
|
-
}, 1032, ["onClick", "disabled", "icon"])) : r("", !0),
|
|
585
|
-
e(me) ? (l(), p(w, {
|
|
586
|
-
key: 1,
|
|
587
|
-
onClick: (f) => _e(i),
|
|
588
|
-
type: "danger",
|
|
589
|
-
icon: e(J),
|
|
590
|
-
disabled: ((H = e(o)) == null ? void 0 : H.minRowNum) >= e(F),
|
|
591
|
-
link: ""
|
|
592
|
-
}, {
|
|
593
|
-
default: s(() => {
|
|
594
|
-
var f;
|
|
595
|
-
return [
|
|
596
|
-
u(d(((f = e(o)) == null ? void 0 : f.deleteRecordText) || e(P)), 1)
|
|
597
|
-
];
|
|
598
|
-
}),
|
|
599
|
-
_: 2
|
|
600
|
-
}, 1032, ["onClick", "icon", "disabled"])) : r("", !0),
|
|
601
|
-
e(Y) ? (l(), p(w, {
|
|
602
|
-
key: 2,
|
|
603
|
-
onClick: (f) => ge(i),
|
|
604
|
-
disabled: i <= 0,
|
|
605
|
-
link: "",
|
|
606
|
-
icon: e(K)
|
|
607
|
-
}, {
|
|
608
|
-
default: s(() => {
|
|
609
|
-
var f;
|
|
610
|
-
return [
|
|
611
|
-
u(d(((f = e(o)) == null ? void 0 : f.sortUpText) || e(j)), 1)
|
|
612
|
-
];
|
|
613
|
-
}),
|
|
614
|
-
_: 2
|
|
615
|
-
}, 1032, ["onClick", "disabled", "icon"])) : r("", !0),
|
|
616
|
-
e(Y) ? (l(), p(w, {
|
|
617
|
-
key: 3,
|
|
618
|
-
onClick: (f) => fe(i),
|
|
619
|
-
disabled: i >= e(F) - 1,
|
|
620
|
-
link: "",
|
|
621
|
-
icon: e(Q)
|
|
622
|
-
}, {
|
|
623
|
-
default: s(() => {
|
|
624
|
-
var f;
|
|
625
|
-
return [
|
|
626
|
-
u(d(((f = e(o)) == null ? void 0 : f.sortDownText) || e(E)), 1)
|
|
627
|
-
];
|
|
628
|
-
}),
|
|
629
|
-
_: 2
|
|
630
|
-
}, 1032, ["onClick", "disabled", "icon"])) : r("", !0)
|
|
631
|
-
];
|
|
632
|
-
}),
|
|
633
|
-
_: 2
|
|
634
|
-
}, 1032, ["disabled"])
|
|
635
|
-
])) : r("", !0)
|
|
636
|
-
]),
|
|
637
|
-
e(we) ? (l(), c("tr", Nt, [
|
|
638
|
-
R("td", {
|
|
639
|
-
class: "detailTable",
|
|
640
|
-
colspan: (e(oe) || 0) + e(te)
|
|
641
|
-
}, [
|
|
642
|
-
m(O, A(t.$props, {
|
|
643
|
-
widget: (U = n == null ? void 0 : n.widget) == null ? void 0 : U[1],
|
|
644
|
-
"component-style": { height: "auto" },
|
|
645
|
-
refList: e(N),
|
|
646
|
-
"row-scope": { row: n == null ? void 0 : n.data, $index: i }
|
|
647
|
-
}), null, 16, ["widget", "refList", "row-scope"])
|
|
648
|
-
], 8, At)
|
|
649
|
-
])) : r("", !0)
|
|
650
|
-
], 64);
|
|
651
|
-
}), 128))
|
|
652
|
-
]),
|
|
653
|
-
R("tfoot", null, [
|
|
654
|
-
R("tr", null, [
|
|
655
|
-
R("td", {
|
|
656
|
-
colspan: (e(oe) || 0) + e(te)
|
|
657
|
-
}, [
|
|
658
|
-
t.designState ? (l(), c(T, { key: 0 }, [
|
|
659
|
-
(Se = e(o)) != null && Se.onlyOneAddButton && e(o).allowAdd ? (l(), c("div", Wt, [
|
|
660
|
-
m(w, {
|
|
661
|
-
disabled: e(y),
|
|
662
|
-
icon: e(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(S)) == null ? void 0 : Ne.length) == 0 ? (l(), c("div", Ft, [
|
|
676
|
-
m(w, {
|
|
677
|
-
disabled: e(y),
|
|
678
|
-
icon: e(L),
|
|
679
|
-
onClick: a[1] || (a[1] = (n) => V(0))
|
|
680
|
-
}, {
|
|
681
|
-
default: s(() => {
|
|
682
|
-
var n;
|
|
683
|
-
return [
|
|
684
|
-
u(d(((n = e(o)) == null ? void 0 : n.addRecordText) || e(C)), 1)
|
|
685
|
-
];
|
|
686
|
-
}),
|
|
687
|
-
_: 1
|
|
688
|
-
}, 8, ["disabled", "icon"])
|
|
689
|
-
])) : (Ae = e(o)) != null && Ae.onlyOneAddButton ? (l(), c("div", It, [
|
|
690
|
-
m(w, {
|
|
691
|
-
disabled: e(y),
|
|
692
|
-
icon: e(L),
|
|
693
|
-
size: "large",
|
|
694
|
-
onClick: a[2] || (a[2] = (n) => {
|
|
695
|
-
var i;
|
|
696
|
-
return V(((i = e(S)) == null ? void 0 : i.length) - 1);
|
|
697
|
-
})
|
|
698
|
-
}, {
|
|
699
|
-
default: s(() => {
|
|
700
|
-
var n;
|
|
701
|
-
return [
|
|
702
|
-
u(d(((n = e(o)) == null ? void 0 : n.addRecordText) || e(C)), 1)
|
|
703
|
-
];
|
|
704
|
-
}),
|
|
705
|
-
_: 1
|
|
706
|
-
}, 8, ["disabled", "icon"])
|
|
707
|
-
])) : r("", !0)
|
|
708
|
-
], 64))
|
|
709
|
-
], 8, Bt)
|
|
710
|
-
])
|
|
711
|
-
])
|
|
712
|
-
], 2)) : r("", !0)
|
|
713
|
-
];
|
|
714
|
-
}),
|
|
715
|
-
_: 1
|
|
716
|
-
}, 16, ["prop-options"]);
|
|
717
|
-
};
|
|
718
|
-
}
|
|
719
|
-
});
|
|
720
|
-
const co = /* @__PURE__ */ wt(Ot, [["__scopeId", "data-v-25a8b248"]]);
|
|
721
|
-
export {
|
|
722
|
-
co as default
|
|
723
|
-
};
|