hldesigner 0.0.2 → 0.0.3
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/affix-widget-70a1c6fb.js +40 -0
- package/alert-widget-50c0d267.js +40 -0
- package/{anchor-widget-ef1fadf6.js → anchor-widget-0a0666b4.js} +22 -21
- package/{auto-complete-widget-2a6908ed.js → auto-complete-widget-7b3a6db0.js} +26 -25
- package/avatar-widget-3a3e1819.js +40 -0
- package/backtop-widget-bead03fd.js +40 -0
- package/badge-widget-edb4578d.js +46 -0
- package/{baseImp-b1d5cfd4.js → baseImp-d2bf3a20.js} +1192 -1163
- package/{breadcrumb-widget-7e991b51.js → breadcrumb-widget-63e9831c.js} +18 -17
- package/{button-widget-79aa0461.js → button-widget-c7d179dd.js} +24 -22
- package/{cache-widget-6faf3cbd.js → cache-widget-29cc0860.js} +20 -19
- package/{card-widget-db65c739.js → card-widget-a7cf5a91.js} +19 -18
- package/{carousel-widget-a3acd095.js → carousel-widget-04fad33d.js} +22 -21
- package/{cascader-widget-e956c4cd.js → cascader-widget-2fdd675d.js} +25 -24
- package/{chart-widget-83f1a457.js → chart-widget-ce54974e.js} +18 -17
- package/{checkbox-widget-c155e0ae.js → checkbox-widget-4099d45a.js} +20 -19
- package/{collapse-widget-4b59ae1b.js → collapse-widget-d220263f.js} +22 -21
- package/{color-picker-widget-f15ef549.js → color-picker-widget-715d47f3.js} +20 -19
- package/common-editor-9a2177e6.js +24 -0
- package/{common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-9e46f1eb.js → common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-699da993.js} +2 -2
- package/{configItem-787b1346.js → configItem-d72f8eee.js} +37 -36
- package/{cont-cell-widget-c36e2711.js → cont-cell-widget-e1e766db.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-fb06cf5d.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-6691674c.js} +5 -5
- package/{cont-widget-f730de0e.js → cont-widget-afc0e0e8.js} +4 -4
- package/content-wrapper-7813cbad.js +14 -0
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-dad026d7.js → content-wrapper.vue_vue_type_script_setup_true_lang-0c6ef203.js} +10 -9
- package/{customClass-editor-b867156b.js → customClass-editor-21eb7312.js} +16 -16
- package/{date-picker-range-widget-c432c3cb.js → date-picker-range-widget-eb9ae589.js} +20 -19
- package/{date-picker-widget-656185b1.js → date-picker-widget-28de0f1c.js} +20 -19
- package/default-slot-widget-ce726f87.js +26 -0
- package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-a813e78f.js +76 -0
- package/{descriptions-widget-234f7769.js → descriptions-widget-6897af91.js} +19 -18
- package/designer.es.js +34 -33
- package/designer.style.css +1 -1
- package/designer.umd.js +516 -516
- package/{dialog-c492eb35.js → dialog-d8383c00.js} +2 -2
- package/dialog-widget-801c0afe.js +34 -0
- package/divider-widget-1128c33a.js +40 -0
- package/drag-wrapper-dabca12e.js +259 -0
- package/drawer-widget-c68d7bec.js +34 -0
- package/{dropdown-widget-bc4dc0a4.js → dropdown-widget-9f3cd9ab.js} +24 -23
- package/{editor-wrapper-305e7d1b.js → editor-wrapper-c69ea8a8.js} +63 -63
- package/{emitter-9c154b6f.js → emitter-cfcc9243.js} +1 -1
- package/empty-widget-5bdcc906.js +40 -0
- package/{enum-type-3369d4cc.js → enum-type-1f76903b.js} +29 -19
- package/{enum-type-278a7bc2.js → enum-type-c18fbe35.js} +177 -168
- package/{template-67d98a82.js → expression-d6b26c71.js} +7880 -5696
- package/feedback-widget-485039f3.js +27 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-6d54feb7.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-71f2c4da.js} +5 -5
- package/{field-editor-89435168.js → field-editor-a8049f0d.js} +15 -15
- package/fieldobj-cb39e533.js +13 -0
- package/{file-upload-widget-cdc50c30.js → file-upload-widget-7afd2bf9.js} +21 -20
- package/form-item-wrapper-2f794b41.js +99 -0
- package/{form-widget-762f682e.js → form-widget-e63ddd53.js} +32 -31
- package/{grid-col-widget-fd1ae755.js → grid-col-widget-aac5afe3.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-5f2d98b9.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-94f8c571.js} +5 -5
- package/{grid-widget-ec6b5190.js → grid-widget-40b38a62.js} +5 -5
- package/{html-text-widget-c31ab5aa.js → html-text-widget-5df9ac95.js} +19 -18
- package/{iframe-widget-7dd0935f.js → iframe-widget-fa02ae0e.js} +28 -27
- package/{image-widget-73f48125.js → image-widget-a1da84fa.js} +18 -17
- package/{index-f9b0e425.js → index-149bbd97.js} +1 -1
- package/{index-c1421e95.js → index-2ae7286e.js} +22 -22
- package/{index-ceeb72dd.js → index-2cffab20.js} +15 -15
- package/{index-29853a88.js → index-3330ee1d.js} +8 -8
- package/{index-8f43d87a.js → index-36713dc8.js} +6 -6
- package/{index-6bf48553.js → index-39bce094.js} +18 -18
- package/{index-65e52aa2.js → index-460e2085.js} +9 -9
- package/{index-c9726251.js → index-477198da.js} +574 -535
- package/{index-d7effea3.js → index-53082cf5.js} +14 -14
- package/{index-4407c6f1.js → index-5571c359.js} +38 -37
- package/{index-4632a98a.js → index-5835f013.js} +34 -34
- package/{index-a83f7fd2.js → index-5fdecdd9.js} +17 -17
- package/{index-6e1ae8e7.js → index-7597539a.js} +38 -37
- package/{index-ca12cbac.js → index-967f0fd5.js} +8 -8
- package/{index-fc84cc7f.js → index-977c12a0.js} +1 -1
- package/{index-245d39e1.js → index-a764d3cf.js} +45 -44
- package/{index-4e0df1a8.js → index-c4969f7e.js} +11 -11
- package/{index-dd181034.js → index-d7ab3c41.js} +4 -4
- package/{index-cebf4eaa.js → index-d903e3ee.js} +26 -26
- package/{index-ca4c17b2.js → index-eb674c71.js} +6 -6
- package/{index-2344889b.js → index-f1547984.js} +38 -38
- package/{index-4089f5f3.js → index-f9984c53.js} +16 -16
- package/{index-906962f8.js → index-f9e92d1d.js} +9 -9
- package/{input-number-widget-1b2a0091.js → input-number-widget-d4f7550b.js} +20 -19
- package/{input-widget-c82dd3ac.js → input-widget-b05ecab4.js} +21 -20
- package/{install-designer-040aef32.js → install-designer-ce7356db.js} +465 -464
- package/{item-5abd52f2.js → item-d3251745.js} +2 -2
- package/{itemDetail-54eb7e1b.js → itemDetail-787cf72a.js} +2 -2
- package/{label-wrapper-a828cc3b.js → label-wrapper-dc9490e0.js} +5 -4
- package/label-wrapper.vue_vue_type_style_index_0_lang-aa973f24.js +63 -0
- package/{link-widget-cccb5910.js → link-widget-904b9913.js} +25 -23
- package/{ltable-col-widget-bf9e69d4.js → ltable-col-widget-406fabdb.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-b930437e.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-d34873f3.js} +10 -10
- package/{ltable-widget-01d9c911.js → ltable-widget-660107ac.js} +5 -5
- package/{menu-widget-d1562878.js → menu-widget-562469fe.js} +19 -18
- package/{model-widget-61fc0571.js → model-widget-b245baf6.js} +28 -27
- package/multirow-c413f913.js +179 -0
- package/{multirow-widget-2645929f.js → multirow-widget-f2f0a233.js} +21 -20
- package/{name-editor-4d415a66.js → name-editor-b49c79f3.js} +19 -19
- package/{optionItem-f6f09c39.js → optionItem-44768932.js} +259 -193
- package/package.json +1 -1
- package/{pagination-widget-be80a349.js → pagination-widget-c3a055cb.js} +18 -17
- package/{picture-upload-widget-7f1d9f9f.js → picture-upload-widget-5acf50d3.js} +21 -20
- package/{postcss-c31a01ca.js → postcss-2a5731a6.js} +6 -6
- package/progress-widget-cdb8b95c.js +100 -0
- package/{property-base-a54aa592.js → property-base-3e29b695.js} +7 -7
- package/{propresult-9b17149b.js → propresult-8af04a17.js} +1 -1
- package/{radio-widget-2ac38a3a.js → radio-widget-e5b50596.js} +20 -19
- package/{range-widget-cd976f89.js → range-widget-637e1a23.js} +21 -20
- package/{rate-widget-04d037d0.js → rate-widget-936c8358.js} +20 -19
- package/{reg-editor.vue_vue_type_script_setup_true_lang-c78f6627.js → reg-editor.vue_vue_type_script_setup_true_lang-ff06a393.js} +3 -3
- package/{result-widget-71a7e05e.js → result-widget-48d50f39.js} +19 -18
- package/{rich-editor-widget-567326af.js → rich-editor-widget-d4326e8c.js} +20 -19
- package/{router-widget-0a5df3d6.js → router-widget-fdffd3bc.js} +18 -17
- package/{schemaData-a6738c2e.js → schemaData-248a4da6.js} +81 -81
- package/{select-widget-00193c62.js → select-widget-024d781c.js} +44 -43
- package/{sfc-236cec58.js → sfc-1969c253.js} +10 -10
- package/{share-editor-7d88d01e.js → share-editor-d3fa23e0.js} +22 -22
- package/{share-event-853a9514.js → share-event-a1ac143f.js} +2 -2
- package/{share-field-43f34d84.js → share-field-6148dcc0.js} +44 -43
- package/{share-file-fd6911ba.js → share-file-7fbb3fcd.js} +10 -10
- package/{size-editor-5a4797a9.js → size-editor-a6d56135.js} +20 -20
- package/{slider-widget-c3fa4f02.js → slider-widget-c1095f11.js} +20 -19
- package/slot-ea675585.js +131 -0
- package/{static-text-widget-77882ef2.js → static-text-widget-bcd260d7.js} +19 -18
- package/{steps-widget-821345ee.js → steps-widget-683e607e.js} +18 -17
- package/subMenu-widget-65d7114f.js +16 -0
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-1ec17aa5.js → subMenu-widget.vue_vue_type_script_setup_true_lang-396112c2.js} +3 -3
- package/{switch-widget-d83f0015.js → switch-widget-36f5324f.js} +20 -19
- package/{tab-pane-widget-bdc78a6d.js → tab-pane-widget-8356e247.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-eedcfbea.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-182112fa.js} +5 -5
- package/table-col-widget-75c9a52c.js +23 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-49abedb8.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-4a7772b3.js} +18 -18
- package/{table-widget-c3e020a7.js → table-widget-1c2b31c3.js} +27 -26
- package/{tabs-widget-7e510e02.js → tabs-widget-ada966c5.js} +9 -9
- package/tag-widget-12be69c8.js +40 -0
- package/{target-code-cf03fae0.js → target-code-f778e851.js} +8 -8
- package/{target-datasource-0eb43e8a.js → target-datasource-091a90f0.js} +51 -50
- package/{target-link-8f329613.js → target-link-dfbb9cb5.js} +38 -37
- package/{target-saveForm-db163095.js → target-saveForm-92c6688e.js} +38 -37
- package/{target-widget-9386ed03.js → target-widget-5ea0317f.js} +1 -1
- package/{target-window-dc156100.js → target-window-149e0039.js} +9 -9
- package/text-widget-98bb18c2.js +40 -0
- package/{textarea-widget-91db26e5.js → textarea-widget-e347f75b.js} +20 -19
- package/{time-picker-range-widget-837fd1c9.js → time-picker-range-widget-c94a9d88.js} +20 -19
- package/{time-picker-widget-a2db78d0.js → time-picker-widget-1dbf4a03.js} +20 -19
- package/{time-select-widget-c55f3f63.js → time-select-widget-13fbacd3.js} +20 -19
- package/{tmpl-widget-50b221cb.js → tmpl-widget-e4595722.js} +30 -29
- package/{tree-select-widget-35b27604.js → tree-select-widget-4217e6ad.js} +27 -26
- package/{tree-widget-927f7280.js → tree-widget-65e14b80.js} +25 -24
- package/{uuid-3e8feefb.js → uuid-5db95cc2.js} +1 -1
- package/{value-editor-ccfeb03e.js → value-editor-a1f87d7f.js} +26 -26
- package/vertical-progress-widget-fa6b14ff.js +52 -0
- package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3631e590.js +273 -0
- package/{wrapper-widget-5db28cfa.js → wrapper-widget-c12e2be8.js} +6 -6
- package/affix-widget-f5d6f2c1.js +0 -38
- package/avatar-widget-f2545a6f.js +0 -38
- package/backtop-widget-78b26e11.js +0 -38
- package/badge-widget-d1e0769b.js +0 -44
- package/common-editor-99f7ec9b.js +0 -24
- package/content-wrapper-a0d707cc.js +0 -14
- package/default-slot-widget-58a96af7.js +0 -24
- package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-5b73fe64.js +0 -59
- package/dialog-widget-c30ab48f.js +0 -33
- package/divider-widget-8efe9daa.js +0 -38
- package/drag-wrapper-d5a6fad9.js +0 -259
- package/drawer-widget-f42f5eb4.js +0 -33
- package/empty-widget-871dff9e.js +0 -64
- package/expression-c14036c3.js +0 -2181
- package/feedback-widget-0a01c33b.js +0 -26
- package/form-item-wrapper-aa356ae6.js +0 -113
- package/label-wrapper.vue_vue_type_style_index_0_lang-f0af9a5e.js +0 -80
- package/multirow-8c28f87e.js +0 -291
- package/multirow-widget copy-30d9c028.js +0 -858
- package/progress-widget-02c2cff1.js +0 -52
- package/slot-44a4c0f6.js +0 -17
- package/subMenu-widget-47f6a07a.js +0 -16
- package/table-col-widget-1fdef4bb.js +0 -23
- package/tag-widget-b4ffa2a5.js +0 -38
- package/text-widget-d9e0cddb.js +0 -38
- package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ff7b21a5.js +0 -277
|
@@ -1,858 +0,0 @@
|
|
|
1
|
-
import { defineComponent as je, computed as Q, ref as ze, onMounted as qe, resolveComponent as I, openBlock as l, createBlock as c, mergeProps as D, unref as e, withCtx as i, createElementBlock as _, Fragment as S, createVNode as p, createTextVNode as u, toDisplayString as a, createCommentVNode as s, renderList as X, normalizeClass as Y, createElementVNode as v, normalizeStyle as Te, pushScopeId as Ee, popScopeId as Pe } from "vue";
|
|
2
|
-
import { a as T, L as Ge, M as Je, N as Ke, O as Qe } from "./enum-type-3369d4cc.js";
|
|
3
|
-
import { B as oe, f as Z } from "./baseImp-b1d5cfd4.js";
|
|
4
|
-
import { I as Xe } from "./widget-base-4c2d6265.js";
|
|
5
|
-
import { c as Ye } from "./share-field-43f34d84.js";
|
|
6
|
-
import { _ as Ze } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ff7b21a5.js";
|
|
7
|
-
import { D as M } from "./drag-wrapper-d5a6fad9.js";
|
|
8
|
-
import { a3 as xe } from "./enum-type-278a7bc2.js";
|
|
9
|
-
import { _ as Se } from "./label-wrapper.vue_vue_type_style_index_0_lang-f0af9a5e.js";
|
|
10
|
-
import { i as et, a as N } from "./slot-44a4c0f6.js";
|
|
11
|
-
import { b as tt } from "./multirow-8c28f87e.js";
|
|
12
|
-
import { Plus as R, Delete as U, SortUp as F, SortDown as H } from "./index-ddd23411.js";
|
|
13
|
-
import { _ as ot } from "./_plugin-vue_export-helper-dad06003.js";
|
|
14
|
-
import "./uuid-3e8feefb.js";
|
|
15
|
-
import "./icon-2bb9fa65.js";
|
|
16
|
-
import "./template-67d98a82.js";
|
|
17
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
|
-
import "./dialog-c492eb35.js";
|
|
19
|
-
import "element-plus";
|
|
20
|
-
import "./emitter-9c154b6f.js";
|
|
21
|
-
import "./index-4e0df1a8.js";
|
|
22
|
-
import "./optionItem-f6f09c39.js";
|
|
23
|
-
import "./index-fc84cc7f.js";
|
|
24
|
-
import "./index-f9b0e425.js";
|
|
25
|
-
import "./field-base-5547436d.js";
|
|
26
|
-
const le = (V) => (Ee("data-v-1d958dee"), V = V(), Pe(), V), lt = {
|
|
27
|
-
key: 0,
|
|
28
|
-
class: "multiRowLine"
|
|
29
|
-
}, it = {
|
|
30
|
-
key: 1,
|
|
31
|
-
class: "horialCenter row_bottom"
|
|
32
|
-
}, nt = {
|
|
33
|
-
key: 0,
|
|
34
|
-
class: "horialCenter row_bottom"
|
|
35
|
-
}, dt = /* @__PURE__ */ le(() => /* @__PURE__ */ v("div", { class: "horialCenter rowindex el-td" }, null, -1)), rt = {
|
|
36
|
-
class: "flex content el-td",
|
|
37
|
-
style: { flex: "1" }
|
|
38
|
-
}, st = { class: "horialCenter el-td" }, at = { style: { position: "absolute", top: "0px", right: "0px" } }, ut = /* @__PURE__ */ le(() => /* @__PURE__ */ v("div", { class: "flex horialCenter rowindex el-td" }, "1", -1)), ct = { class: "flex content el-td flex1" }, pt = { class: "el-td" }, wt = { key: 1 }, ft = {
|
|
39
|
-
key: 2,
|
|
40
|
-
class: "horialCenter row_bottom"
|
|
41
|
-
}, _t = /* @__PURE__ */ le(() => /* @__PURE__ */ v("div", { class: "horialCenter rowindex el-td" }, null, -1)), mt = { class: "flex content el-td flex1" }, gt = { class: "horialCenter el-td" }, yt = { style: { position: "absolute", top: "0px", right: "0px" } }, kt = {
|
|
42
|
-
class: "flex horialCenter rowindex el-td left-td",
|
|
43
|
-
style: { "justify-content": "center", "align-items": "center" }
|
|
44
|
-
}, ht = {
|
|
45
|
-
class: "flex content el-td flex1",
|
|
46
|
-
style: { "justify-content": "center", "align-items": "center" }
|
|
47
|
-
}, vt = { class: "horialCenter el-td right-td" }, bt = { key: 0 }, Ct = {
|
|
48
|
-
key: 1,
|
|
49
|
-
class: "horialCenter row_bottom"
|
|
50
|
-
}, Rt = {
|
|
51
|
-
key: 2,
|
|
52
|
-
class: "horialCenter row_bottom"
|
|
53
|
-
}, Tt = /* @__PURE__ */ je({
|
|
54
|
-
__name: "multirow-widget copy",
|
|
55
|
-
props: {
|
|
56
|
-
...Xe
|
|
57
|
-
},
|
|
58
|
-
setup(V, { expose: $e }) {
|
|
59
|
-
const ie = V, { slots: ee, exposed: j, fieldModel: De, attrs: t, events: ne, fieldObj: Ne, fieldName: Ae } = Ye(ie), $ = Q(() => et(ee.value)), { listenFormModel: Be, newSlot: Oe, getWidgetOption: z, rowsData: g, newFieldModelFromSlot: Le, removeFieldModelFromSlot: We, getValue: Ie, setValue: Me, findWidgetByNameWithSibId: Ue, getSlotFromData: Fe } = tt({ ...ie, fieldName: Ae.value }), G = Q(() => {
|
|
60
|
-
var d, f;
|
|
61
|
-
return T.i18nt("designer.hint.multirowtip") + ((d = t.value) == null ? void 0 : d.minRowNum) + "-" + ((f = t.value) == null ? void 0 : f.maxRowNum);
|
|
62
|
-
}), A = Q(() => (g == null ? void 0 : g.length) || 0), B = T.i18nt("designer.hint.sortUp"), O = T.i18nt("designer.hint.sortDown"), L = T.i18nt("designer.hint.deleteRow"), b = T.i18nt("designer.hint.addNewRow"), q = (d) => {
|
|
63
|
-
var k, C;
|
|
64
|
-
if ((g == null ? void 0 : g.length) >= t.value.maxRowNum) {
|
|
65
|
-
Z.info(T.i18nt("designer.hint.maxRowTip"));
|
|
66
|
-
return;
|
|
67
|
-
}
|
|
68
|
-
const f = Oe(ee.value);
|
|
69
|
-
Ge(g, d, f), Le(f, {}), (C = (k = ne.value).addRow) == null || C.call(k, d);
|
|
70
|
-
}, de = (d) => {
|
|
71
|
-
var k, C;
|
|
72
|
-
if ((g == null ? void 0 : g.length) <= t.value.minRowNum) {
|
|
73
|
-
Z.info(T.i18nt("designer.hint.minRowTip"));
|
|
74
|
-
return;
|
|
75
|
-
}
|
|
76
|
-
const f = g[d];
|
|
77
|
-
Je(g, d), We(f), (C = (k = ne.value).deleteRow) == null || C.call(k, d);
|
|
78
|
-
}, re = (d) => {
|
|
79
|
-
if (d === g.length - 1) {
|
|
80
|
-
Z.info(T.i18nt("designer.hint.moveDownLastChildHint"));
|
|
81
|
-
return;
|
|
82
|
-
}
|
|
83
|
-
Ke(g, d);
|
|
84
|
-
}, se = (d) => {
|
|
85
|
-
if (d === 0) {
|
|
86
|
-
Z.info(T.i18nt("designer.hint.moveUpFirstChildHint"));
|
|
87
|
-
return;
|
|
88
|
-
}
|
|
89
|
-
Qe(g, d);
|
|
90
|
-
}, J = (d) => d == null ? void 0 : d.widgetList, ae = ze(!0), K = Q({
|
|
91
|
-
get() {
|
|
92
|
-
return ae.value && (te(De.value), ae.value = !1), g;
|
|
93
|
-
},
|
|
94
|
-
set(d) {
|
|
95
|
-
return te(d), g;
|
|
96
|
-
}
|
|
97
|
-
}), He = (d, f) => Ue(d, f, (k) => j.findRefByName(k)), te = (d) => Me(d, (f) => Ve(f)), Ve = (d) => {
|
|
98
|
-
var f;
|
|
99
|
-
return Fe(ee.value, d, (f = t.value) == null ? void 0 : f.minRowNum);
|
|
100
|
-
};
|
|
101
|
-
return qe(() => {
|
|
102
|
-
Be((d) => {
|
|
103
|
-
j == null || j.setValue(d);
|
|
104
|
-
});
|
|
105
|
-
}), $e({
|
|
106
|
-
...j,
|
|
107
|
-
setValue: te,
|
|
108
|
-
getValue: Ie,
|
|
109
|
-
findWidgetByNameWithSibId: He
|
|
110
|
-
}), (d, f) => {
|
|
111
|
-
const k = I("el-col"), C = I("el-tag"), ue = I("el-divider"), w = I("el-button"), W = I("el-button-group"), x = I("el-row");
|
|
112
|
-
return l(), c(Ze, D(d.$props, {
|
|
113
|
-
"prop-options": { fieldObj: e(Ne) }
|
|
114
|
-
}), {
|
|
115
|
-
default: i(({ data: xt }) => {
|
|
116
|
-
var ce, pe, we, fe, _e, me, ge, ye, ke, he, ve, be, Ce;
|
|
117
|
-
return [
|
|
118
|
-
((ce = e(t)) == null ? void 0 : ce.showMode) === e(xe).line ? (l(), _(S, { key: 0 }, [
|
|
119
|
-
d.designState ? (l(), _("div", lt, [
|
|
120
|
-
(pe = e(t)) != null && pe.showHeader ? (l(), c(x, {
|
|
121
|
-
key: 0,
|
|
122
|
-
class: "rowHeader"
|
|
123
|
-
}, {
|
|
124
|
-
default: i(() => [
|
|
125
|
-
p(k, {
|
|
126
|
-
span: 10,
|
|
127
|
-
class: "rowLabel"
|
|
128
|
-
}, {
|
|
129
|
-
default: i(() => [
|
|
130
|
-
u(a(e(oe).getOptions(d.widget || {}, "label")), 1)
|
|
131
|
-
]),
|
|
132
|
-
_: 1
|
|
133
|
-
}),
|
|
134
|
-
p(k, {
|
|
135
|
-
span: 14,
|
|
136
|
-
class: "flexInline justifyEnd alignCenter"
|
|
137
|
-
}, {
|
|
138
|
-
default: i(() => {
|
|
139
|
-
var n;
|
|
140
|
-
return [
|
|
141
|
-
(n = e(t)) != null && n.showLimit ? (l(), c(C, {
|
|
142
|
-
key: 0,
|
|
143
|
-
type: "info",
|
|
144
|
-
round: ""
|
|
145
|
-
}, {
|
|
146
|
-
default: i(() => [
|
|
147
|
-
u(a(e(G)), 1)
|
|
148
|
-
]),
|
|
149
|
-
_: 1
|
|
150
|
-
})) : s("", !0),
|
|
151
|
-
p(ue, { direction: "vertical" }),
|
|
152
|
-
p(W, null, {
|
|
153
|
-
default: i(() => {
|
|
154
|
-
var o, r;
|
|
155
|
-
return [
|
|
156
|
-
!((o = e(t)) != null && o.onlyOneAddButton) && ((r = e(t)) != null && r.allowAdd) ? (l(), c(w, {
|
|
157
|
-
key: 0,
|
|
158
|
-
icon: e(R),
|
|
159
|
-
link: ""
|
|
160
|
-
}, {
|
|
161
|
-
default: i(() => {
|
|
162
|
-
var m;
|
|
163
|
-
return [
|
|
164
|
-
u(a(((m = e(t)) == null ? void 0 : m.addRecordText) || e(b)), 1)
|
|
165
|
-
];
|
|
166
|
-
}),
|
|
167
|
-
_: 1
|
|
168
|
-
}, 8, ["icon"])) : s("", !0),
|
|
169
|
-
e(t).allowDelete ? (l(), c(w, {
|
|
170
|
-
key: 1,
|
|
171
|
-
icon: e(U),
|
|
172
|
-
type: "danger",
|
|
173
|
-
link: ""
|
|
174
|
-
}, {
|
|
175
|
-
default: i(() => {
|
|
176
|
-
var m;
|
|
177
|
-
return [
|
|
178
|
-
u(a(((m = e(t)) == null ? void 0 : m.deleteRecordText) || e(L)), 1)
|
|
179
|
-
];
|
|
180
|
-
}),
|
|
181
|
-
_: 1
|
|
182
|
-
}, 8, ["icon"])) : s("", !0),
|
|
183
|
-
e(t).sortable ? (l(), c(w, {
|
|
184
|
-
key: 2,
|
|
185
|
-
icon: e(F),
|
|
186
|
-
link: ""
|
|
187
|
-
}, {
|
|
188
|
-
default: i(() => {
|
|
189
|
-
var m;
|
|
190
|
-
return [
|
|
191
|
-
u(a(((m = e(t)) == null ? void 0 : m.sortUpText) || e(B)), 1)
|
|
192
|
-
];
|
|
193
|
-
}),
|
|
194
|
-
_: 1
|
|
195
|
-
}, 8, ["icon"])) : s("", !0),
|
|
196
|
-
e(t).sortable ? (l(), c(w, {
|
|
197
|
-
key: 3,
|
|
198
|
-
icon: e(H),
|
|
199
|
-
link: ""
|
|
200
|
-
}, {
|
|
201
|
-
default: i(() => {
|
|
202
|
-
var m;
|
|
203
|
-
return [
|
|
204
|
-
u(a(((m = e(t)) == null ? void 0 : m.sortDownText) || e(O)), 1)
|
|
205
|
-
];
|
|
206
|
-
}),
|
|
207
|
-
_: 1
|
|
208
|
-
}, 8, ["icon"])) : s("", !0)
|
|
209
|
-
];
|
|
210
|
-
}),
|
|
211
|
-
_: 1
|
|
212
|
-
})
|
|
213
|
-
];
|
|
214
|
-
}),
|
|
215
|
-
_: 1
|
|
216
|
-
})
|
|
217
|
-
]),
|
|
218
|
-
_: 1
|
|
219
|
-
})) : s("", !0),
|
|
220
|
-
p(M, D(d.$props, {
|
|
221
|
-
widget: e(N)(e($), "row"),
|
|
222
|
-
dragClass: "dragSize"
|
|
223
|
-
}), null, 16, ["widget"]),
|
|
224
|
-
(we = e(t)) != null && we.onlyOneAddButton ? (l(), _("div", it, [
|
|
225
|
-
p(w, {
|
|
226
|
-
icon: e(R),
|
|
227
|
-
size: "large"
|
|
228
|
-
}, {
|
|
229
|
-
default: i(() => {
|
|
230
|
-
var n;
|
|
231
|
-
return [
|
|
232
|
-
u(a(((n = e(t)) == null ? void 0 : n.addRecordText) || e(b)), 1)
|
|
233
|
-
];
|
|
234
|
-
}),
|
|
235
|
-
_: 1
|
|
236
|
-
}, 8, ["icon"])
|
|
237
|
-
])) : s("", !0)
|
|
238
|
-
])) : (l(), _(S, { key: 1 }, [
|
|
239
|
-
(l(!0), _(S, null, X(e(K), (n, o) => {
|
|
240
|
-
var r, m;
|
|
241
|
-
return l(), _("div", {
|
|
242
|
-
key: n.id,
|
|
243
|
-
class: "multiRowLine"
|
|
244
|
-
}, [
|
|
245
|
-
(r = e(t)) != null && r.showHeader ? (l(), c(x, {
|
|
246
|
-
key: 0,
|
|
247
|
-
class: "rowHeader"
|
|
248
|
-
}, {
|
|
249
|
-
default: i(() => [
|
|
250
|
-
p(k, {
|
|
251
|
-
span: 10,
|
|
252
|
-
class: "rowLabel"
|
|
253
|
-
}, {
|
|
254
|
-
default: i(() => [
|
|
255
|
-
u(a(e(oe).getOptions(d.widget || {}, "label")) + " " + a(o + 1), 1)
|
|
256
|
-
]),
|
|
257
|
-
_: 2
|
|
258
|
-
}, 1024),
|
|
259
|
-
p(k, {
|
|
260
|
-
span: 14,
|
|
261
|
-
class: "flexInline justifyEnd alignCenter"
|
|
262
|
-
}, {
|
|
263
|
-
default: i(() => {
|
|
264
|
-
var E;
|
|
265
|
-
return [
|
|
266
|
-
o == 0 && ((E = e(t)) != null && E.showLimit) ? (l(), c(C, {
|
|
267
|
-
key: 0,
|
|
268
|
-
type: "info",
|
|
269
|
-
round: ""
|
|
270
|
-
}, {
|
|
271
|
-
default: i(() => [
|
|
272
|
-
u(a(e(G)), 1)
|
|
273
|
-
]),
|
|
274
|
-
_: 1
|
|
275
|
-
})) : s("", !0),
|
|
276
|
-
p(ue, { direction: "vertical" }),
|
|
277
|
-
p(W, null, {
|
|
278
|
-
default: i(() => {
|
|
279
|
-
var P, y, Re;
|
|
280
|
-
return [
|
|
281
|
-
!((P = e(t)) != null && P.onlyOneAddButton) && e(t).allowAdd ? (l(), c(w, {
|
|
282
|
-
key: 0,
|
|
283
|
-
onClick: (h) => q(o),
|
|
284
|
-
disabled: e(A) > ((y = e(t)) == null ? void 0 : y.maxRowNum),
|
|
285
|
-
icon: e(R),
|
|
286
|
-
link: ""
|
|
287
|
-
}, {
|
|
288
|
-
default: i(() => {
|
|
289
|
-
var h;
|
|
290
|
-
return [
|
|
291
|
-
u(a(((h = e(t)) == null ? void 0 : h.addRecordText) || e(b)), 1)
|
|
292
|
-
];
|
|
293
|
-
}),
|
|
294
|
-
_: 2
|
|
295
|
-
}, 1032, ["onClick", "disabled", "icon"])) : s("", !0),
|
|
296
|
-
e(t).allowDelete ? (l(), c(w, {
|
|
297
|
-
key: 1,
|
|
298
|
-
onClick: (h) => de(o),
|
|
299
|
-
disabled: ((Re = e(t)) == null ? void 0 : Re.minRowNum) >= e(A),
|
|
300
|
-
icon: e(U),
|
|
301
|
-
type: "danger",
|
|
302
|
-
link: ""
|
|
303
|
-
}, {
|
|
304
|
-
default: i(() => {
|
|
305
|
-
var h;
|
|
306
|
-
return [
|
|
307
|
-
u(a(((h = e(t)) == null ? void 0 : h.deleteRecordText) || e(L)), 1)
|
|
308
|
-
];
|
|
309
|
-
}),
|
|
310
|
-
_: 2
|
|
311
|
-
}, 1032, ["onClick", "disabled", "icon"])) : s("", !0),
|
|
312
|
-
e(t).sortable ? (l(), c(w, {
|
|
313
|
-
key: 2,
|
|
314
|
-
onClick: (h) => se(o),
|
|
315
|
-
disabled: o <= 0,
|
|
316
|
-
icon: e(F),
|
|
317
|
-
link: ""
|
|
318
|
-
}, {
|
|
319
|
-
default: i(() => {
|
|
320
|
-
var h;
|
|
321
|
-
return [
|
|
322
|
-
u(a(((h = e(t)) == null ? void 0 : h.sortUpText) || e(B)), 1)
|
|
323
|
-
];
|
|
324
|
-
}),
|
|
325
|
-
_: 2
|
|
326
|
-
}, 1032, ["onClick", "disabled", "icon"])) : s("", !0),
|
|
327
|
-
e(t).sortable ? (l(), c(w, {
|
|
328
|
-
key: 3,
|
|
329
|
-
onClick: (h) => re(o),
|
|
330
|
-
disabled: o >= e(A) - 1,
|
|
331
|
-
icon: e(H),
|
|
332
|
-
link: ""
|
|
333
|
-
}, {
|
|
334
|
-
default: i(() => {
|
|
335
|
-
var h;
|
|
336
|
-
return [
|
|
337
|
-
u(a(((h = e(t)) == null ? void 0 : h.sortDownText) || e(O)), 1)
|
|
338
|
-
];
|
|
339
|
-
}),
|
|
340
|
-
_: 2
|
|
341
|
-
}, 1032, ["onClick", "disabled", "icon"])) : s("", !0)
|
|
342
|
-
];
|
|
343
|
-
}),
|
|
344
|
-
_: 2
|
|
345
|
-
}, 1024)
|
|
346
|
-
];
|
|
347
|
-
}),
|
|
348
|
-
_: 2
|
|
349
|
-
}, 1024)
|
|
350
|
-
]),
|
|
351
|
-
_: 2
|
|
352
|
-
}, 1024)) : s("", !0),
|
|
353
|
-
p(M, D(d.$props, {
|
|
354
|
-
widget: (m = n == null ? void 0 : n.widget) == null ? void 0 : m[0],
|
|
355
|
-
componentName: "div",
|
|
356
|
-
componentClass: "flex full-width",
|
|
357
|
-
"row-scope": { row: n == null ? void 0 : n.data, $index: o }
|
|
358
|
-
}), null, 16, ["widget", "row-scope"])
|
|
359
|
-
]);
|
|
360
|
-
}), 128)),
|
|
361
|
-
(fe = e(t)) != null && fe.onlyOneAddButton && e(t).allowAdd ? (l(), _("div", nt, [
|
|
362
|
-
p(w, {
|
|
363
|
-
icon: e(R),
|
|
364
|
-
size: "large",
|
|
365
|
-
onClick: f[0] || (f[0] = (n) => {
|
|
366
|
-
var o;
|
|
367
|
-
return q(((o = e(K)) == null ? void 0 : o.length) - 1);
|
|
368
|
-
})
|
|
369
|
-
}, {
|
|
370
|
-
default: i(() => {
|
|
371
|
-
var n;
|
|
372
|
-
return [
|
|
373
|
-
u(a(((n = e(t)) == null ? void 0 : n.addRecordText) || e(b)), 1)
|
|
374
|
-
];
|
|
375
|
-
}),
|
|
376
|
-
_: 1
|
|
377
|
-
}, 8, ["icon"])
|
|
378
|
-
])) : s("", !0)
|
|
379
|
-
], 64))
|
|
380
|
-
], 64)) : ((_e = e(t)) == null ? void 0 : _e.showMode) === e(xe).table ? (l(), _(S, { key: 1 }, [
|
|
381
|
-
d.designState ? (l(), _("div", {
|
|
382
|
-
key: 0,
|
|
383
|
-
class: Y(["multiRowTable", [(me = e(t)) != null && me.showBorder ? "borderedTable" : ""]])
|
|
384
|
-
}, [
|
|
385
|
-
(ge = e(t)) != null && ge.showHeader ? (l(), c(x, {
|
|
386
|
-
key: 0,
|
|
387
|
-
class: "flex rowHeader el-tr flex-row",
|
|
388
|
-
style: { position: "relative" }
|
|
389
|
-
}, {
|
|
390
|
-
default: i(() => {
|
|
391
|
-
var n;
|
|
392
|
-
return [
|
|
393
|
-
dt,
|
|
394
|
-
v("div", rt, [
|
|
395
|
-
(l(!0), _(S, null, X(J(e(N)(e($), "row")), (o) => {
|
|
396
|
-
var r;
|
|
397
|
-
return l(), _("div", {
|
|
398
|
-
class: Y(["flex el-td-wrapper", [(r = e(z)(o)) != null && r.required ? "required" : ""]]),
|
|
399
|
-
style: Te({ width: e(oe).getOptions(o, "ctrlWidth") })
|
|
400
|
-
}, [
|
|
401
|
-
p(Se, {
|
|
402
|
-
widget: o,
|
|
403
|
-
designer: d.designer,
|
|
404
|
-
designState: d.designState,
|
|
405
|
-
parentWidget: d.widget,
|
|
406
|
-
parentList: J(e(N)(e($), "row")),
|
|
407
|
-
"prop-options": { fieldObj: { extendAttrs: e(z)(o) } }
|
|
408
|
-
}, null, 8, ["widget", "designer", "designState", "parentWidget", "parentList", "prop-options"])
|
|
409
|
-
], 6);
|
|
410
|
-
}), 256))
|
|
411
|
-
]),
|
|
412
|
-
v("div", st, [
|
|
413
|
-
p(W, { style: { visibility: "hidden" } }, {
|
|
414
|
-
default: i(() => {
|
|
415
|
-
var o;
|
|
416
|
-
return [
|
|
417
|
-
!((o = e(t)) != null && o.onlyOneAddButton) && e(t).allowAdd ? (l(), c(w, {
|
|
418
|
-
key: 0,
|
|
419
|
-
icon: e(R),
|
|
420
|
-
link: ""
|
|
421
|
-
}, {
|
|
422
|
-
default: i(() => {
|
|
423
|
-
var r;
|
|
424
|
-
return [
|
|
425
|
-
u(a(((r = e(t)) == null ? void 0 : r.addRecordText) || e(b)), 1)
|
|
426
|
-
];
|
|
427
|
-
}),
|
|
428
|
-
_: 1
|
|
429
|
-
}, 8, ["icon"])) : s("", !0),
|
|
430
|
-
e(t).allowDelete ? (l(), c(w, {
|
|
431
|
-
key: 1,
|
|
432
|
-
icon: e(U),
|
|
433
|
-
link: ""
|
|
434
|
-
}, {
|
|
435
|
-
default: i(() => {
|
|
436
|
-
var r;
|
|
437
|
-
return [
|
|
438
|
-
u(a(((r = e(t)) == null ? void 0 : r.deleteRecordText) || e(L)), 1)
|
|
439
|
-
];
|
|
440
|
-
}),
|
|
441
|
-
_: 1
|
|
442
|
-
}, 8, ["icon"])) : s("", !0),
|
|
443
|
-
e(t).sortable ? (l(), c(w, {
|
|
444
|
-
key: 2,
|
|
445
|
-
link: "",
|
|
446
|
-
icon: e(F)
|
|
447
|
-
}, {
|
|
448
|
-
default: i(() => {
|
|
449
|
-
var r;
|
|
450
|
-
return [
|
|
451
|
-
u(a(((r = e(t)) == null ? void 0 : r.sortUpText) || e(B)), 1)
|
|
452
|
-
];
|
|
453
|
-
}),
|
|
454
|
-
_: 1
|
|
455
|
-
}, 8, ["icon"])) : s("", !0),
|
|
456
|
-
e(t).sortable ? (l(), c(w, {
|
|
457
|
-
key: 3,
|
|
458
|
-
link: "",
|
|
459
|
-
icon: e(H)
|
|
460
|
-
}, {
|
|
461
|
-
default: i(() => {
|
|
462
|
-
var r;
|
|
463
|
-
return [
|
|
464
|
-
u(a(((r = e(t)) == null ? void 0 : r.sortDownText) || e(O)), 1)
|
|
465
|
-
];
|
|
466
|
-
}),
|
|
467
|
-
_: 1
|
|
468
|
-
}, 8, ["icon"])) : s("", !0)
|
|
469
|
-
];
|
|
470
|
-
}),
|
|
471
|
-
_: 1
|
|
472
|
-
})
|
|
473
|
-
]),
|
|
474
|
-
v("div", at, [
|
|
475
|
-
(n = e(t)) != null && n.showLimit ? (l(), c(C, {
|
|
476
|
-
key: 0,
|
|
477
|
-
type: "info"
|
|
478
|
-
}, {
|
|
479
|
-
default: i(() => [
|
|
480
|
-
u(a(e(G)), 1)
|
|
481
|
-
]),
|
|
482
|
-
_: 1
|
|
483
|
-
})) : s("", !0)
|
|
484
|
-
])
|
|
485
|
-
];
|
|
486
|
-
}),
|
|
487
|
-
_: 1
|
|
488
|
-
})) : s("", !0),
|
|
489
|
-
p(x, { class: "el-tr nolabel flex-row" }, {
|
|
490
|
-
default: i(() => [
|
|
491
|
-
ut,
|
|
492
|
-
v("div", ct, [
|
|
493
|
-
p(M, D(d.$props, {
|
|
494
|
-
widget: e(N)(e($), "row"),
|
|
495
|
-
class: "full-width",
|
|
496
|
-
dragClass: "dragSize"
|
|
497
|
-
}), null, 16, ["widget"])
|
|
498
|
-
]),
|
|
499
|
-
v("div", pt, [
|
|
500
|
-
p(W, null, {
|
|
501
|
-
default: i(() => {
|
|
502
|
-
var n;
|
|
503
|
-
return [
|
|
504
|
-
!((n = e(t)) != null && n.onlyOneAddButton) && e(t).allowAdd ? (l(), c(w, {
|
|
505
|
-
key: 0,
|
|
506
|
-
icon: e(R),
|
|
507
|
-
link: ""
|
|
508
|
-
}, {
|
|
509
|
-
default: i(() => {
|
|
510
|
-
var o;
|
|
511
|
-
return [
|
|
512
|
-
u(a(((o = e(t)) == null ? void 0 : o.addRecordText) || e(b)), 1)
|
|
513
|
-
];
|
|
514
|
-
}),
|
|
515
|
-
_: 1
|
|
516
|
-
}, 8, ["icon"])) : s("", !0),
|
|
517
|
-
e(t).allowDelete ? (l(), c(w, {
|
|
518
|
-
key: 1,
|
|
519
|
-
icon: e(U),
|
|
520
|
-
type: "danger",
|
|
521
|
-
link: ""
|
|
522
|
-
}, {
|
|
523
|
-
default: i(() => {
|
|
524
|
-
var o;
|
|
525
|
-
return [
|
|
526
|
-
u(a(((o = e(t)) == null ? void 0 : o.deleteRecordText) || e(L)), 1)
|
|
527
|
-
];
|
|
528
|
-
}),
|
|
529
|
-
_: 1
|
|
530
|
-
}, 8, ["icon"])) : s("", !0),
|
|
531
|
-
e(t).sortable ? (l(), c(w, {
|
|
532
|
-
key: 2,
|
|
533
|
-
icon: e(F),
|
|
534
|
-
link: ""
|
|
535
|
-
}, {
|
|
536
|
-
default: i(() => {
|
|
537
|
-
var o;
|
|
538
|
-
return [
|
|
539
|
-
u(a(((o = e(t)) == null ? void 0 : o.sortUpText) || e(B)), 1)
|
|
540
|
-
];
|
|
541
|
-
}),
|
|
542
|
-
_: 1
|
|
543
|
-
}, 8, ["icon"])) : s("", !0),
|
|
544
|
-
e(t).sortable ? (l(), c(w, {
|
|
545
|
-
key: 3,
|
|
546
|
-
icon: e(H),
|
|
547
|
-
link: ""
|
|
548
|
-
}, {
|
|
549
|
-
default: i(() => {
|
|
550
|
-
var o;
|
|
551
|
-
return [
|
|
552
|
-
u(a(((o = e(t)) == null ? void 0 : o.sortDownText) || e(O)), 1)
|
|
553
|
-
];
|
|
554
|
-
}),
|
|
555
|
-
_: 1
|
|
556
|
-
}, 8, ["icon"])) : s("", !0)
|
|
557
|
-
];
|
|
558
|
-
}),
|
|
559
|
-
_: 1
|
|
560
|
-
})
|
|
561
|
-
])
|
|
562
|
-
]),
|
|
563
|
-
_: 1
|
|
564
|
-
}),
|
|
565
|
-
e(t).showDetail ? (l(), _("div", wt, [
|
|
566
|
-
p(x, { class: "detailTable" }, {
|
|
567
|
-
default: i(() => [
|
|
568
|
-
p(k, { span: 24 }, {
|
|
569
|
-
default: i(() => [
|
|
570
|
-
p(M, D(d.$props, {
|
|
571
|
-
widget: e(N)(e($), "detail"),
|
|
572
|
-
style: { height: "auto" }
|
|
573
|
-
}), null, 16, ["widget"])
|
|
574
|
-
]),
|
|
575
|
-
_: 1
|
|
576
|
-
})
|
|
577
|
-
]),
|
|
578
|
-
_: 1
|
|
579
|
-
})
|
|
580
|
-
])) : s("", !0),
|
|
581
|
-
(ye = e(t)) != null && ye.onlyOneAddButton && e(t).allowAdd ? (l(), _("div", ft, [
|
|
582
|
-
p(w, {
|
|
583
|
-
icon: e(R),
|
|
584
|
-
size: "large"
|
|
585
|
-
}, {
|
|
586
|
-
default: i(() => {
|
|
587
|
-
var n;
|
|
588
|
-
return [
|
|
589
|
-
u(a(((n = e(t)) == null ? void 0 : n.addRecordText) || e(b)), 1)
|
|
590
|
-
];
|
|
591
|
-
}),
|
|
592
|
-
_: 1
|
|
593
|
-
}, 8, ["icon"])
|
|
594
|
-
])) : s("", !0)
|
|
595
|
-
], 2)) : (l(), _("div", {
|
|
596
|
-
key: 1,
|
|
597
|
-
class: Y(["multiRowTable", [(ke = e(t)) != null && ke.showBorder ? "borderedTable" : ""]])
|
|
598
|
-
}, [
|
|
599
|
-
(he = e(t)) != null && he.showHeader ? (l(), c(x, {
|
|
600
|
-
key: 0,
|
|
601
|
-
class: "flex rowHeader el-tr flex-row",
|
|
602
|
-
style: { position: "relative" }
|
|
603
|
-
}, {
|
|
604
|
-
default: i(() => {
|
|
605
|
-
var n;
|
|
606
|
-
return [
|
|
607
|
-
_t,
|
|
608
|
-
v("div", mt, [
|
|
609
|
-
(l(!0), _(S, null, X(J(e(N)(e($), "row")), (o) => {
|
|
610
|
-
var r, m;
|
|
611
|
-
return l(), _("div", {
|
|
612
|
-
class: Y(["flex el-td-wrapper", [(r = e(z)(o)) != null && r.required ? "required" : ""]]),
|
|
613
|
-
style: Te({ width: (m = e(z)(o)) == null ? void 0 : m.ctrlWidth })
|
|
614
|
-
}, [
|
|
615
|
-
p(Se, {
|
|
616
|
-
widget: o,
|
|
617
|
-
designer: d.designer,
|
|
618
|
-
designState: d.designState,
|
|
619
|
-
parentWidget: d.widget,
|
|
620
|
-
parentList: J(e(N)(e($), "row")),
|
|
621
|
-
"prop-options": { fieldObj: { extendAttrs: e(z)(o) } }
|
|
622
|
-
}, null, 8, ["widget", "designer", "designState", "parentWidget", "parentList", "prop-options"])
|
|
623
|
-
], 6);
|
|
624
|
-
}), 256))
|
|
625
|
-
]),
|
|
626
|
-
v("div", gt, [
|
|
627
|
-
p(W, { style: { visibility: "hidden" } }, {
|
|
628
|
-
default: i(() => {
|
|
629
|
-
var o;
|
|
630
|
-
return [
|
|
631
|
-
!((o = e(t)) != null && o.onlyOneAddButton) && e(t).allowAdd ? (l(), c(w, {
|
|
632
|
-
key: 0,
|
|
633
|
-
icon: e(R),
|
|
634
|
-
link: ""
|
|
635
|
-
}, {
|
|
636
|
-
default: i(() => {
|
|
637
|
-
var r;
|
|
638
|
-
return [
|
|
639
|
-
u(a(((r = e(t)) == null ? void 0 : r.addRecordText) || e(b)), 1)
|
|
640
|
-
];
|
|
641
|
-
}),
|
|
642
|
-
_: 1
|
|
643
|
-
}, 8, ["icon"])) : s("", !0),
|
|
644
|
-
e(t).allowDelete ? (l(), c(w, {
|
|
645
|
-
key: 1,
|
|
646
|
-
icon: e(U),
|
|
647
|
-
link: ""
|
|
648
|
-
}, {
|
|
649
|
-
default: i(() => {
|
|
650
|
-
var r;
|
|
651
|
-
return [
|
|
652
|
-
u(a(((r = e(t)) == null ? void 0 : r.deleteRecordText) || e(L)), 1)
|
|
653
|
-
];
|
|
654
|
-
}),
|
|
655
|
-
_: 1
|
|
656
|
-
}, 8, ["icon"])) : s("", !0),
|
|
657
|
-
e(t).sortable ? (l(), c(w, {
|
|
658
|
-
key: 2,
|
|
659
|
-
link: "",
|
|
660
|
-
icon: e(F)
|
|
661
|
-
}, {
|
|
662
|
-
default: i(() => {
|
|
663
|
-
var r;
|
|
664
|
-
return [
|
|
665
|
-
u(a(((r = e(t)) == null ? void 0 : r.sortUpText) || e(B)), 1)
|
|
666
|
-
];
|
|
667
|
-
}),
|
|
668
|
-
_: 1
|
|
669
|
-
}, 8, ["icon"])) : s("", !0),
|
|
670
|
-
e(t).sortable ? (l(), c(w, {
|
|
671
|
-
key: 3,
|
|
672
|
-
link: "",
|
|
673
|
-
icon: e(H)
|
|
674
|
-
}, {
|
|
675
|
-
default: i(() => {
|
|
676
|
-
var r;
|
|
677
|
-
return [
|
|
678
|
-
u(a(((r = e(t)) == null ? void 0 : r.sortDownText) || e(O)), 1)
|
|
679
|
-
];
|
|
680
|
-
}),
|
|
681
|
-
_: 1
|
|
682
|
-
}, 8, ["icon"])) : s("", !0)
|
|
683
|
-
];
|
|
684
|
-
}),
|
|
685
|
-
_: 1
|
|
686
|
-
})
|
|
687
|
-
]),
|
|
688
|
-
v("div", yt, [
|
|
689
|
-
(n = e(t)) != null && n.showLimit ? (l(), c(C, {
|
|
690
|
-
key: 0,
|
|
691
|
-
type: "info"
|
|
692
|
-
}, {
|
|
693
|
-
default: i(() => [
|
|
694
|
-
u(a(e(G)), 1)
|
|
695
|
-
]),
|
|
696
|
-
_: 1
|
|
697
|
-
})) : s("", !0)
|
|
698
|
-
])
|
|
699
|
-
];
|
|
700
|
-
}),
|
|
701
|
-
_: 1
|
|
702
|
-
})) : s("", !0),
|
|
703
|
-
(l(!0), _(S, null, X(e(K), (n, o) => (l(), _(S, {
|
|
704
|
-
key: n.id
|
|
705
|
-
}, [
|
|
706
|
-
p(x, { class: "el-tr flex nolabel flex-row" }, {
|
|
707
|
-
default: i(() => {
|
|
708
|
-
var r;
|
|
709
|
-
return [
|
|
710
|
-
v("div", kt, a(o + 1) + ".", 1),
|
|
711
|
-
v("div", ht, [
|
|
712
|
-
p(M, D(d.$props, {
|
|
713
|
-
widget: (r = n == null ? void 0 : n.widget) == null ? void 0 : r[0],
|
|
714
|
-
componentName: "div",
|
|
715
|
-
componentClass: "flex el-td-wrapper",
|
|
716
|
-
"row-scope": { row: n == null ? void 0 : n.data, $index: o }
|
|
717
|
-
}), null, 16, ["widget", "row-scope"])
|
|
718
|
-
]),
|
|
719
|
-
v("div", vt, [
|
|
720
|
-
p(W, null, {
|
|
721
|
-
default: i(() => {
|
|
722
|
-
var m, E, P;
|
|
723
|
-
return [
|
|
724
|
-
!((m = e(t)) != null && m.onlyOneAddButton) && e(t).allowAdd ? (l(), c(w, {
|
|
725
|
-
key: 0,
|
|
726
|
-
onClick: (y) => q(o),
|
|
727
|
-
disabled: e(A) > ((E = e(t)) == null ? void 0 : E.maxRowNum),
|
|
728
|
-
icon: e(R),
|
|
729
|
-
link: ""
|
|
730
|
-
}, {
|
|
731
|
-
default: i(() => {
|
|
732
|
-
var y;
|
|
733
|
-
return [
|
|
734
|
-
u(a(((y = e(t)) == null ? void 0 : y.addRecordText) || e(b)), 1)
|
|
735
|
-
];
|
|
736
|
-
}),
|
|
737
|
-
_: 2
|
|
738
|
-
}, 1032, ["onClick", "disabled", "icon"])) : s("", !0),
|
|
739
|
-
e(t).allowDelete ? (l(), c(w, {
|
|
740
|
-
key: 1,
|
|
741
|
-
onClick: (y) => de(o),
|
|
742
|
-
type: "danger",
|
|
743
|
-
icon: e(U),
|
|
744
|
-
disabled: ((P = e(t)) == null ? void 0 : P.minRowNum) >= e(A),
|
|
745
|
-
link: ""
|
|
746
|
-
}, {
|
|
747
|
-
default: i(() => {
|
|
748
|
-
var y;
|
|
749
|
-
return [
|
|
750
|
-
u(a(((y = e(t)) == null ? void 0 : y.deleteRecordText) || e(L)), 1)
|
|
751
|
-
];
|
|
752
|
-
}),
|
|
753
|
-
_: 2
|
|
754
|
-
}, 1032, ["onClick", "icon", "disabled"])) : s("", !0),
|
|
755
|
-
e(t).sortable ? (l(), c(w, {
|
|
756
|
-
key: 2,
|
|
757
|
-
onClick: (y) => se(o),
|
|
758
|
-
disabled: o <= 0,
|
|
759
|
-
link: "",
|
|
760
|
-
icon: e(F)
|
|
761
|
-
}, {
|
|
762
|
-
default: i(() => {
|
|
763
|
-
var y;
|
|
764
|
-
return [
|
|
765
|
-
u(a(((y = e(t)) == null ? void 0 : y.sortUpText) || e(B)), 1)
|
|
766
|
-
];
|
|
767
|
-
}),
|
|
768
|
-
_: 2
|
|
769
|
-
}, 1032, ["onClick", "disabled", "icon"])) : s("", !0),
|
|
770
|
-
e(t).sortable ? (l(), c(w, {
|
|
771
|
-
key: 3,
|
|
772
|
-
onClick: (y) => re(o),
|
|
773
|
-
disabled: o >= e(A) - 1,
|
|
774
|
-
link: "",
|
|
775
|
-
icon: e(H)
|
|
776
|
-
}, {
|
|
777
|
-
default: i(() => {
|
|
778
|
-
var y;
|
|
779
|
-
return [
|
|
780
|
-
u(a(((y = e(t)) == null ? void 0 : y.sortDownText) || e(O)), 1)
|
|
781
|
-
];
|
|
782
|
-
}),
|
|
783
|
-
_: 2
|
|
784
|
-
}, 1032, ["onClick", "disabled", "icon"])) : s("", !0)
|
|
785
|
-
];
|
|
786
|
-
}),
|
|
787
|
-
_: 2
|
|
788
|
-
}, 1024)
|
|
789
|
-
])
|
|
790
|
-
];
|
|
791
|
-
}),
|
|
792
|
-
_: 2
|
|
793
|
-
}, 1024),
|
|
794
|
-
e(t).showDetail ? (l(), _("div", bt, [
|
|
795
|
-
p(x, { class: "detailTable" }, {
|
|
796
|
-
default: i(() => [
|
|
797
|
-
p(k, { span: 1 }),
|
|
798
|
-
p(k, { span: 23 }, {
|
|
799
|
-
default: i(() => {
|
|
800
|
-
var r;
|
|
801
|
-
return [
|
|
802
|
-
p(M, D(d.$props, {
|
|
803
|
-
widget: (r = n == null ? void 0 : n.widget) == null ? void 0 : r[1],
|
|
804
|
-
"component-style": { height: "auto" },
|
|
805
|
-
"row-scope": { row: n == null ? void 0 : n.data, $index: o }
|
|
806
|
-
}), null, 16, ["widget", "row-scope"])
|
|
807
|
-
];
|
|
808
|
-
}),
|
|
809
|
-
_: 2
|
|
810
|
-
}, 1024)
|
|
811
|
-
]),
|
|
812
|
-
_: 2
|
|
813
|
-
}, 1024)
|
|
814
|
-
])) : s("", !0)
|
|
815
|
-
], 64))), 128)),
|
|
816
|
-
!((ve = e(t)) != null && ve.onlyOneAddButton) && ((be = e(g)) == null ? void 0 : be.length) == 0 ? (l(), _("div", Ct, [
|
|
817
|
-
p(w, {
|
|
818
|
-
onClick: f[1] || (f[1] = (n) => q(0))
|
|
819
|
-
}, {
|
|
820
|
-
default: i(() => {
|
|
821
|
-
var n;
|
|
822
|
-
return [
|
|
823
|
-
u(a(((n = e(t)) == null ? void 0 : n.addRecordText) || e(b)), 1)
|
|
824
|
-
];
|
|
825
|
-
}),
|
|
826
|
-
_: 1
|
|
827
|
-
})
|
|
828
|
-
])) : (Ce = e(t)) != null && Ce.onlyOneAddButton ? (l(), _("div", Rt, [
|
|
829
|
-
p(w, {
|
|
830
|
-
icon: e(R),
|
|
831
|
-
size: "large",
|
|
832
|
-
onClick: f[2] || (f[2] = (n) => {
|
|
833
|
-
var o;
|
|
834
|
-
return q(((o = e(K)) == null ? void 0 : o.length) - 1);
|
|
835
|
-
})
|
|
836
|
-
}, {
|
|
837
|
-
default: i(() => {
|
|
838
|
-
var n;
|
|
839
|
-
return [
|
|
840
|
-
u(a(((n = e(t)) == null ? void 0 : n.addRecordText) || e(b)), 1)
|
|
841
|
-
];
|
|
842
|
-
}),
|
|
843
|
-
_: 1
|
|
844
|
-
}, 8, ["icon"])
|
|
845
|
-
])) : s("", !0)
|
|
846
|
-
], 2))
|
|
847
|
-
], 64)) : s("", !0)
|
|
848
|
-
];
|
|
849
|
-
}),
|
|
850
|
-
_: 1
|
|
851
|
-
}, 16, ["prop-options"]);
|
|
852
|
-
};
|
|
853
|
-
}
|
|
854
|
-
});
|
|
855
|
-
const Yt = /* @__PURE__ */ ot(Tt, [["__scopeId", "data-v-1d958dee"]]);
|
|
856
|
-
export {
|
|
857
|
-
Yt as default
|
|
858
|
-
};
|