hldesigner 0.0.220 → 0.0.221
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{_pdf-30337a9f.js → _pdf-a7ebc97d.js} +5 -5
- package/{_share_image-a24e20ab.js → _share_image-50117019.js} +2 -2
- package/{_share_size.vue_vue_type_script_setup_true_lang-66f7d18d.js → _share_size.vue_vue_type_script_setup_true_lang-b5ca09e7.js} +2 -2
- package/{_txt-a053dbe0.js → _txt-4ac498aa.js} +5 -5
- package/{_unsupport-5ce9e73d.js → _unsupport-29e4e82a.js} +1 -1
- package/{affix-widget-3e53b328.js → affix-widget-5c8850bf.js} +15 -15
- package/{alert-widget-a6f06bfb.js → alert-widget-0e93792a.js} +15 -15
- package/{anchor-widget-051a8b6b.js → anchor-widget-2a863c8d.js} +12 -12
- package/{auto-complete-widget-47f66305.js → auto-complete-widget-6ca3aee3.js} +15 -15
- package/{avatar-widget-acfb76f2.js → avatar-widget-58813300.js} +15 -15
- package/{backtop-widget-ae175cc7.js → backtop-widget-02075f74.js} +15 -15
- package/{badge-widget-2b725f21.js → badge-widget-41a1284c.js} +15 -15
- package/{barcode-widget-e5495239.js → barcode-widget-65e8296b.js} +12 -12
- package/{baseImp-03fc3b78.js → baseImp-2e6c9e9c.js} +511 -507
- package/{breadcrumb-widget-cb98290f.js → breadcrumb-widget-ee77640b.js} +12 -12
- package/{button-widget-7e1aaf81.js → button-widget-1a6c67d2.js} +15 -15
- package/{cache-widget-4a66527f.js → cache-widget-9e9444e3.js} +14 -14
- package/{card-widget-a05bb421.js → card-widget-a3f77083.js} +13 -13
- package/{carousel-widget-43d71c9e.js → carousel-widget-3823e89d.js} +13 -13
- package/{cascader-widget-12e52fd1.js → cascader-widget-0d6ce815.js} +14 -14
- package/{chart-widget-be1058de.js → chart-widget-28ab5fd7.js} +12 -12
- package/{checkbox-widget-66eac543.js → checkbox-widget-d7d50e89.js} +14 -14
- package/{collapse-widget-30f25e2c.js → collapse-widget-db6bd679.js} +13 -13
- package/{color-picker-widget-da38de24.js → color-picker-widget-40018b7c.js} +14 -14
- package/common-editor-c4a87dab.js +27 -0
- package/{common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-e91ffb4a.js → common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-897efcbf.js} +2 -2
- package/{configItem-306213e3.js → configItem-448c724d.js} +31 -31
- package/{cont-cell-widget-69f7ae82.js → cont-cell-widget-ae788d55.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-98025d41.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-dd1c6094.js} +5 -5
- package/{cont-widget-fb00c8cf.js → cont-widget-60776d9b.js} +5 -5
- package/{content-wrapper-1341924f.js → content-wrapper-a4ddfc19.js} +6 -6
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-cbf12c74.js → content-wrapper.vue_vue_type_script_setup_true_lang-37b13d99.js} +2 -2
- package/{css-editor-0ef796a6.js → css-editor-cdc59668.js} +110 -110
- package/{cssIndex-107d18a0.js → cssIndex-0675fea3.js} +2 -2
- package/{customClass-editor-a308fec7.js → customClass-editor-1ed1a4a2.js} +13 -13
- package/{date-picker-range-widget-72f52ef5.js → date-picker-range-widget-a1d9d056.js} +14 -14
- package/{date-picker-widget-3a1cc317.js → date-picker-widget-bff98b51.js} +22 -22
- package/{default-slot-widget-34260aea.js → default-slot-widget-459c8536.js} +13 -13
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8c368eb3.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-43e9cf7d.js} +6 -6
- package/{descriptions-widget-50bed6ea.js → descriptions-widget-3486048c.js} +13 -13
- package/designer.es.js +29 -29
- package/designer.style.css +2 -2
- package/designer.umd.js +505 -501
- package/{dialog-bb7e0514.js → dialog-931b7f72.js} +17 -14
- package/{dialog-widget-d370a8a8.js → dialog-widget-199fdf5b.js} +14 -14
- package/{divider-widget-2f11bb70.js → divider-widget-51e88db0.js} +15 -15
- package/{drag-wrapper-2961a1e8.js → drag-wrapper-fb1e8280.js} +6 -6
- package/{drawer-widget-c0553f06.js → drawer-widget-389068b8.js} +14 -14
- package/{dropdown-widget-a935f8c6.js → dropdown-widget-97898ce1.js} +13 -13
- package/{editor-wrapper-fab6a482.js → editor-wrapper-11f88794.js} +61 -61
- package/{empty-widget-9dec79d5.js → empty-widget-10e17914.js} +15 -15
- package/{enum-type-d322f2dc.js → enum-type-3492718a.js} +211 -203
- package/{enum-type-6cfd49c6.js → enum-type-aa052fcb.js} +35 -24
- package/{expression-0f34a71b.js → expression-44b41c48.js} +1 -1
- package/{feedback-widget-91c3f2b8.js → feedback-widget-77edcf6a.js} +14 -14
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-6b56d2f1.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-0355e471.js} +5 -5
- package/{field-editor-818f8d01.js → field-editor-5f3477dd.js} +17 -17
- package/{file-upload-widget-4856b3d1.js → file-upload-widget-a5948dc4.js} +19 -19
- package/{form-item-wrapper-348e0a3d.js → form-item-wrapper-74fb1539.js} +10 -10
- package/{form-widget-eb61ba40.js → form-widget-0c8dfffa.js} +10 -10
- package/{grid-col-widget-6c8d842a.js → grid-col-widget-afec2373.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-39b53388.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-774c743e.js} +5 -5
- package/{grid-widget-7cc7687e.js → grid-widget-fecebffd.js} +5 -5
- package/{html-text-widget-959e3a03.js → html-text-widget-770b64bf.js} +13 -13
- package/{icon-widget-4e22900d.js → icon-widget-b20d491a.js} +12 -12
- package/{iframe-widget-b32de96e.js → iframe-widget-3404c77f.js} +12 -12
- package/{image-editor-21163e0b.js → image-editor-4dc7aff9.js} +16 -16
- package/{image-widget-12d98d45.js → image-widget-f8453cab.js} +12 -12
- package/{index-f6520dd3.js → index-0c67b8e1.js} +5 -5
- package/{index-48b0f175.js → index-0fe6a102.js} +8 -8
- package/{index-3af77c3e.js → index-21ac7ae6.js} +16 -15
- package/{index-38c00fbc.js → index-28caaf07.js} +7 -7
- package/{index-afacc7ac.js → index-4a025c25.js} +7 -7
- package/index-54f47056.js +242 -0
- package/{index-997fb51b.js → index-55249c2e.js} +165 -162
- package/{index-50d28c01.js → index-5a21c56c.js} +6 -6
- package/{index-6af24cf7.js → index-68e16ee4.js} +5 -5
- package/{index-f5593902.js → index-695f5fdd.js} +33 -33
- package/{index-6a46780f.js → index-69f0d446.js} +19 -19
- package/{index-cf5a8033.js → index-7681d163.js} +8 -8
- package/{index-7d07fba5.js → index-7b6eb12e.js} +5 -5
- package/{index-75b5cbca.js → index-88555ebe.js} +1 -1
- package/{index-250b2fdf.js → index-8e646621.js} +32 -32
- package/{index-162c82eb.js → index-8fe07643.js} +32 -32
- package/{index-959d6efa.js → index-940c7517.js} +5 -5
- package/{index-94e91998.js → index-9b1657eb.js} +9 -9
- package/{index-fddc16f2.js → index-b472c69f.js} +7 -7
- package/{index-ef9c5199.js → index-bf780811.js} +16 -16
- package/{index-31d4689e.js → index-e2c8bdbc.js} +12 -12
- package/{index-028b1176.js → index-f4bcd29e.js} +7 -7
- package/{index-4c9a80f1.js → index-f8982ea7.js} +35 -35
- package/{input-number-widget-7912566e.js → input-number-widget-4adf43f8.js} +14 -14
- package/{input-widget-a053d771.js → input-widget-095db2b1.js} +15 -15
- package/{install-designer-ffdc6604.js → install-designer-1448e56d.js} +25 -25
- package/{item-0a830f16.js → item-ca2e12da.js} +2 -2
- package/{itemDetail-0b182e79.js → itemDetail-901a4924.js} +2 -2
- package/{label-wrapper-a18db542.js → label-wrapper-89f9d019.js} +3 -3
- package/{label-wrapper.vue_vue_type_style_index_0_lang-cb9db45f.js → label-wrapper.vue_vue_type_style_index_0_lang-6fbf3f4a.js} +8 -8
- package/{link-widget-401a61c6.js → link-widget-76797698.js} +15 -15
- package/{ltable-col-widget-3188ab41.js → ltable-col-widget-1e19b7b6.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-aaf4c6cb.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-66b812fa.js} +8 -8
- package/{ltable-widget-92e9ba45.js → ltable-widget-9e55f9f8.js} +5 -5
- package/{menu-widget-e6cf7d1f.js → menu-widget-a8237efa.js} +22 -22
- package/{model-widget-c157b880.js → model-widget-12de7114.js} +12 -12
- package/multirow-5c2b9032.js +180 -0
- package/multirow-widget-5acb1663.js +727 -0
- package/{name-editor-e7b98f0a.js → name-editor-eff56696.js} +22 -22
- package/{optionItem-8a3f259b.js → optionItem-50e00496.js} +8 -8
- package/package.json +1 -1
- package/{pagination-widget-90fb9166.js → pagination-widget-7e8b104c.js} +12 -12
- package/{picture-upload-widget-319169d6.js → picture-upload-widget-10d987ac.js} +15 -15
- package/{progress-widget-ea66978a.js → progress-widget-b48cc639.js} +13 -13
- package/{property-base-3a5ea738.js → property-base-89922e12.js} +3 -3
- package/{qrcode-widget-1c0ac09c.js → qrcode-widget-d68a5192.js} +12 -12
- package/{radio-widget-c427dc4e.js → radio-widget-29e8862e.js} +14 -14
- package/{range-widget-b0a0ada9.js → range-widget-e55634ba.js} +15 -15
- package/{rate-widget-1cd50c5e.js → rate-widget-641faa53.js} +14 -14
- package/{reg-editor.vue_vue_type_script_setup_true_lang-f78c902d.js → reg-editor.vue_vue_type_script_setup_true_lang-b7e75ced.js} +7 -7
- package/{result-widget-98c40549.js → result-widget-49384bb5.js} +13 -13
- package/{rich-editor-widget-7b853e3a.js → rich-editor-widget-63265faa.js} +14 -14
- package/{router-widget-3213e668.js → router-widget-3495ffde.js} +12 -12
- package/{schemaData-4d95870e.js → schemaData-8e111a05.js} +4 -4
- package/{select-widget-ffc03a9d.js → select-widget-7d74c51c.js} +14 -14
- package/{sfc-35ef8dcb.js → sfc-45e7a907.js} +9 -9
- package/{sfcview-f5fa69a9.js → sfcview-18a456b7.js} +8 -8
- package/{share-editor-7ac32fea.js → share-editor-e8436218.js} +14 -14
- package/{share-event-6e531c9d.js → share-event-de64d505.js} +1 -1
- package/{share-field-07fbaecb.js → share-field-133d1eb0.js} +7 -7
- package/{share-file-b8105ea4.js → share-file-1539ab36.js} +5 -5
- package/{size-editor-f70dfe32.js → size-editor-91a954fd.js} +16 -16
- package/{slider-widget-7fafea8a.js → slider-widget-1765f80a.js} +14 -14
- package/{slot-88a8f707.js → slot-104da985.js} +3 -3
- package/{static-text-widget-92904eff.js → static-text-widget-5b74e7df.js} +13 -13
- package/{steps-widget-0f10fd51.js → steps-widget-324d7ef9.js} +12 -12
- package/{subMenu-widget-255ee516.js → subMenu-widget-e33d860a.js} +6 -6
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-b5da28be.js → subMenu-widget.vue_vue_type_script_setup_true_lang-f8685e6f.js} +2 -2
- package/{switch-widget-a09f0aa5.js → switch-widget-42d08829.js} +14 -14
- package/{tab-pane-widget-1c74537a.js → tab-pane-widget-2d9e0870.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-f8721f9f.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-e42dcf55.js} +5 -5
- package/{table-col-widget-587b9e2e.js → table-col-widget-802ffe1b.js} +12 -12
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-42684361.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-c32712ec.js} +5 -5
- package/{table-widget-d53e61ef.js → table-widget-ec6de30f.js} +15 -15
- package/{tabs-widget-6db3d58d.js → tabs-widget-56a9e157.js} +7 -7
- package/{tag-widget-990ee87b.js → tag-widget-26c19a9e.js} +15 -15
- package/{target-code-b1525902.js → target-code-5ca0b40a.js} +7 -7
- package/{target-datasource-875a1068.js → target-datasource-86972ff5.js} +33 -33
- package/target-link-1e19b538.js +149 -0
- package/{target-saveForm-e8b85c1f.js → target-saveForm-3d9fc1c7.js} +32 -32
- package/{target-widget-40d31fc4.js → target-widget-941a2be8.js} +1 -1
- package/{target-window-89c09bb4.js → target-window-b53a3b63.js} +12 -12
- package/{text-widget-7b6432a6.js → text-widget-577155a7.js} +15 -15
- package/{textarea-widget-954f63c4.js → textarea-widget-8060fa9f.js} +14 -14
- package/{time-picker-range-widget-6cc72898.js → time-picker-range-widget-c4126186.js} +14 -14
- package/{time-picker-widget-fcb42663.js → time-picker-widget-8c12503f.js} +14 -14
- package/{time-select-widget-6879dc4c.js → time-select-widget-df5a3a2b.js} +14 -14
- package/{tmpl-widget-cff6267b.js → tmpl-widget-bf3c0459.js} +13 -13
- package/{tree-select-widget-3bc931c6.js → tree-select-widget-9cfd0ae6.js} +14 -14
- package/{tree-widget-1361085d.js → tree-widget-7f0206c8.js} +12 -12
- package/{value-editor-983e4d5e.js → value-editor-75aed831.js} +20 -20
- package/{verifycode-widget-f0ce88fd.js → verifycode-widget-ef4e4d3a.js} +12 -12
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4191bdbc.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-6eb1d3bd.js} +5 -5
- package/wrapper-widget-b9364e42.js +84 -0
- package/common-editor-25eb0b6b.js +0 -27
- package/index-664c8c4c.js +0 -121
- package/multirow-2f515b36.js +0 -179
- package/multirow-widget-a81da2f7.js +0 -708
- package/target-link-f30c4056.js +0 -136
- package/wrapper-widget-860d29df.js +0 -84
|
@@ -1,708 +0,0 @@
|
|
|
1
|
-
import { defineComponent as qe, computed as v, ref as Je, watch as Ke, resolveComponent as I, openBlock as l, createBlock as p, mergeProps as D, unref as e, withCtx as r, createElementBlock as c, Fragment as C, createVNode as m, createTextVNode as u, toDisplayString as d, createCommentVNode as s, renderList as le, normalizeClass as Ae, createElementVNode as b, pushScopeId as Ge, popScopeId as Qe } from "vue";
|
|
2
|
-
import { a as T } from "./enum-type-6cfd49c6.js";
|
|
3
|
-
import { B as Be, f as q } from "./baseImp-03fc3b78.js";
|
|
4
|
-
import { H as Xe, I as Ye, J as Ze, K as et } from "./obj-a84ba092.js";
|
|
5
|
-
import { I as tt } from "./widget-base-4c2d6265.js";
|
|
6
|
-
import { c as ot } from "./share-field-07fbaecb.js";
|
|
7
|
-
import { _ as nt } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4191bdbc.js";
|
|
8
|
-
import { D as L } from "./drag-wrapper-2961a1e8.js";
|
|
9
|
-
import { a6 as Fe } from "./enum-type-d322f2dc.js";
|
|
10
|
-
import { _ as lt } from "./label-wrapper.vue_vue_type_style_index_0_lang-cb9db45f.js";
|
|
11
|
-
import { i as it, e as O } from "./slot-88a8f707.js";
|
|
12
|
-
import { b as rt } from "./multirow-2f515b36.js";
|
|
13
|
-
import { Plus as S, Delete as J, SortUp as K, SortDown as G } from "./index-ddd23411.js";
|
|
14
|
-
import { _ as at } from "./_plugin-vue_export-helper-dad06003.js";
|
|
15
|
-
import "./expression-0f34a71b.js";
|
|
16
|
-
import "./source-map-b04aec4a.js";
|
|
17
|
-
import "./uuid-45249b4f.js";
|
|
18
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
19
|
-
import "./esprima-e8d15055.js";
|
|
20
|
-
import "./icon-6342f929.js";
|
|
21
|
-
import "./dialog-bb7e0514.js";
|
|
22
|
-
import "element-plus";
|
|
23
|
-
import "./emitter-2df329ed.js";
|
|
24
|
-
import "./index-50d28c01.js";
|
|
25
|
-
import "./optionItem-8a3f259b.js";
|
|
26
|
-
import "./index-75b5cbca.js";
|
|
27
|
-
import "./index-a478c2e7.js";
|
|
28
|
-
import "./fieldobj-1334f6d2.js";
|
|
29
|
-
import "./field-base-5547436d.js";
|
|
30
|
-
import "./index-05fbd4a9.js";
|
|
31
|
-
const st = (W) => (Ge("data-v-7c4f2d4a"), W = W(), Qe(), W), dt = {
|
|
32
|
-
key: 0,
|
|
33
|
-
class: "multiRowLine"
|
|
34
|
-
}, ut = {
|
|
35
|
-
key: 1,
|
|
36
|
-
class: "horialCenter row_bottom"
|
|
37
|
-
}, ct = {
|
|
38
|
-
key: 0,
|
|
39
|
-
class: "horialCenter row_bottom"
|
|
40
|
-
}, pt = { key: 0 }, mt = { class: "td2" }, wt = { class: "td2" }, _t = {
|
|
41
|
-
key: 0,
|
|
42
|
-
class: "td2"
|
|
43
|
-
}, ft = /* @__PURE__ */ st(() => /* @__PURE__ */ b("td", { class: "rowIndex" }, "1", -1)), gt = {
|
|
44
|
-
key: 0,
|
|
45
|
-
class: "btns"
|
|
46
|
-
}, kt = {
|
|
47
|
-
key: 0,
|
|
48
|
-
class: "detailTable"
|
|
49
|
-
}, yt = ["colspan"], ht = { class: "nolabel tr2" }, vt = { class: "rowIndex" }, bt = {
|
|
50
|
-
key: 0,
|
|
51
|
-
class: "btns"
|
|
52
|
-
}, Rt = { key: 0 }, Ct = ["colspan"], Tt = ["colspan"], St = {
|
|
53
|
-
key: 0,
|
|
54
|
-
class: "horialCenter row_bottom"
|
|
55
|
-
}, Dt = {
|
|
56
|
-
key: 0,
|
|
57
|
-
class: "horialCenter row_bottom"
|
|
58
|
-
}, $t = {
|
|
59
|
-
key: 1,
|
|
60
|
-
class: "horialCenter row_bottom"
|
|
61
|
-
}, Nt = /* @__PURE__ */ qe({
|
|
62
|
-
__name: "multirow-widget",
|
|
63
|
-
props: {
|
|
64
|
-
...tt
|
|
65
|
-
},
|
|
66
|
-
setup(W, { expose: Ie }) {
|
|
67
|
-
const ie = W, { slots: Q, exposed: $, objFieldModel: re, attrs: o, events: ae, fieldObj: Le, fieldName: Oe } = ot(ie), N = v(() => it(Q.value)), { rowsData: k, newSlot: We, getWidgetOption: se, newFieldModelFromSlot: xe, removeFieldModelFromSlot: Me, getValue: de, setValue: Ue, findWidgetByNameWithSibId: Ve, getSlotFromData: He, emit$: ze } = rt({ ...ie, fieldName: Oe.value, setValue: $ == null ? void 0 : $.setValue }), X = v(() => {
|
|
68
|
-
var t;
|
|
69
|
-
return (t = o.value) == null ? void 0 : t.sortable;
|
|
70
|
-
}), ue = v(() => {
|
|
71
|
-
var t, a;
|
|
72
|
-
return !((t = o.value) != null && t.onlyOneAddButton) && ((a = o.value) == null ? void 0 : a.allowAdd);
|
|
73
|
-
}), ce = v(() => {
|
|
74
|
-
var t;
|
|
75
|
-
return (t = o.value) == null ? void 0 : t.allowDelete;
|
|
76
|
-
}), pe = v(() => {
|
|
77
|
-
var t;
|
|
78
|
-
return (t = o.value) == null ? void 0 : t.showDetail;
|
|
79
|
-
}), Y = v(() => {
|
|
80
|
-
var t;
|
|
81
|
-
return (t = o.value) == null ? void 0 : t.showLimit;
|
|
82
|
-
}), A = v(() => X.value || ue.value || ce.value), Z = v(() => A != null && A.value ? 2 : 1), ee = v(() => {
|
|
83
|
-
var t;
|
|
84
|
-
return (t = oe(O(N.value, "row"))) == null ? void 0 : t.length;
|
|
85
|
-
}), te = v(() => {
|
|
86
|
-
var t, a;
|
|
87
|
-
return T.i18nt("designer.hint.multirowtip") + ((t = o.value) == null ? void 0 : t.minRowNum) + "-" + ((a = o.value) == null ? void 0 : a.maxRowNum);
|
|
88
|
-
}), H = T.i18nt("designer.hint.sortUp"), z = T.i18nt("designer.hint.sortDown"), j = T.i18nt("designer.hint.deleteRow"), R = T.i18nt("designer.hint.addNewRow"), B = v(() => (k == null ? void 0 : k.length) || 0), E = () => {
|
|
89
|
-
var t = de();
|
|
90
|
-
re.value = t, $.setValue(t);
|
|
91
|
-
}, x = (t) => {
|
|
92
|
-
var _, h;
|
|
93
|
-
if ((k == null ? void 0 : k.length) >= o.value.maxRowNum) {
|
|
94
|
-
q.info(T.i18nt("designer.hint.maxRowTip"));
|
|
95
|
-
return;
|
|
96
|
-
}
|
|
97
|
-
const a = We(Q.value);
|
|
98
|
-
Xe(k, t, a), xe(a, ge({}, t + 1)), E(), (h = (_ = ae.value).addRow) == null || h.call(_, t);
|
|
99
|
-
}, me = (t) => {
|
|
100
|
-
var _, h;
|
|
101
|
-
if ((k == null ? void 0 : k.length) <= o.value.minRowNum) {
|
|
102
|
-
q.info(T.i18nt("designer.hint.minRowTip"));
|
|
103
|
-
return;
|
|
104
|
-
}
|
|
105
|
-
const a = k[t];
|
|
106
|
-
Ye(k, t), Me(a), E(), (h = (_ = ae.value).deleteRow) == null || h.call(_, t);
|
|
107
|
-
}, we = (t) => {
|
|
108
|
-
if (t === k.length - 1) {
|
|
109
|
-
q.info(T.i18nt("designer.hint.moveDownLastChildHint"));
|
|
110
|
-
return;
|
|
111
|
-
}
|
|
112
|
-
Ze(k, t), E();
|
|
113
|
-
}, _e = (t) => {
|
|
114
|
-
if (t === 0) {
|
|
115
|
-
q.info(T.i18nt("designer.hint.moveUpFirstChildHint"));
|
|
116
|
-
return;
|
|
117
|
-
}
|
|
118
|
-
et(k, t), E();
|
|
119
|
-
}, oe = (t) => t == null ? void 0 : t.widgetList, fe = Je(!0), je = (t) => {
|
|
120
|
-
var a, _;
|
|
121
|
-
return (a = o.value) != null && a.dataFormat ? (_ = o.value) == null ? void 0 : _.dataFormat(t) : t;
|
|
122
|
-
}, ge = (t, a) => {
|
|
123
|
-
var _, h;
|
|
124
|
-
return (_ = o.value) != null && _.rowDataFormat ? (h = o.value) == null ? void 0 : h.rowDataFormat(t, a) : t;
|
|
125
|
-
}, F = v({
|
|
126
|
-
get() {
|
|
127
|
-
return k;
|
|
128
|
-
},
|
|
129
|
-
set(t) {
|
|
130
|
-
ne(t);
|
|
131
|
-
}
|
|
132
|
-
}), Ee = (t, a) => Ve(t, a, (_) => $.findRefByName(_)), ne = (t) => Ue(je(t), (a) => Pe(a)), Pe = (t) => {
|
|
133
|
-
var a;
|
|
134
|
-
return He(Q.value, t || [], (a = o.value) == null ? void 0 : a.minRowNum, ge);
|
|
135
|
-
};
|
|
136
|
-
return Ke(() => re.value, (t) => {
|
|
137
|
-
var a;
|
|
138
|
-
if (fe.value) {
|
|
139
|
-
if (t == null) {
|
|
140
|
-
(a = o.value) != null && a.allowDefaultAdd && ne([]);
|
|
141
|
-
return;
|
|
142
|
-
}
|
|
143
|
-
F.value = t, fe.value = !1;
|
|
144
|
-
}
|
|
145
|
-
}, { immediate: !0 }), Ie({
|
|
146
|
-
...$,
|
|
147
|
-
emit$: ze,
|
|
148
|
-
setValue: ne,
|
|
149
|
-
getValue: de,
|
|
150
|
-
findWidgetByNameWithSibId: Ee
|
|
151
|
-
}), (t, a) => {
|
|
152
|
-
const _ = I("el-col"), h = I("el-tag"), ke = I("el-divider"), w = I("el-button"), P = I("el-button-group"), ye = I("el-row");
|
|
153
|
-
return l(), p(nt, D(t.$props, {
|
|
154
|
-
"prop-options": { fieldObj: e(Le) }
|
|
155
|
-
}), {
|
|
156
|
-
default: r(({ data: At }) => {
|
|
157
|
-
var he, ve, be, Re, Ce, Te, Se, De, $e, Ne;
|
|
158
|
-
return [
|
|
159
|
-
((he = e(o)) == null ? void 0 : he.showMode) === e(Fe).line ? (l(), c(C, { key: 0 }, [
|
|
160
|
-
t.designState ? (l(), c("div", dt, [
|
|
161
|
-
(ve = e(o)) != null && ve.showHeader ? (l(), p(ye, {
|
|
162
|
-
key: 0,
|
|
163
|
-
class: "rowHeader"
|
|
164
|
-
}, {
|
|
165
|
-
default: r(() => [
|
|
166
|
-
m(_, {
|
|
167
|
-
span: 10,
|
|
168
|
-
class: "rowLabel"
|
|
169
|
-
}, {
|
|
170
|
-
default: r(() => [
|
|
171
|
-
u(d(e(Be).getOptions(t.widget || {}, "label")), 1)
|
|
172
|
-
]),
|
|
173
|
-
_: 1
|
|
174
|
-
}),
|
|
175
|
-
m(_, {
|
|
176
|
-
span: 14,
|
|
177
|
-
class: "flexInline justifyEnd alignCenter"
|
|
178
|
-
}, {
|
|
179
|
-
default: r(() => [
|
|
180
|
-
e(Y) ? (l(), p(h, {
|
|
181
|
-
key: 0,
|
|
182
|
-
type: "info",
|
|
183
|
-
round: ""
|
|
184
|
-
}, {
|
|
185
|
-
default: r(() => [
|
|
186
|
-
u(d(e(te)), 1)
|
|
187
|
-
]),
|
|
188
|
-
_: 1
|
|
189
|
-
})) : s("", !0),
|
|
190
|
-
m(ke, { direction: "vertical" }),
|
|
191
|
-
m(P, null, {
|
|
192
|
-
default: r(() => {
|
|
193
|
-
var n, i;
|
|
194
|
-
return [
|
|
195
|
-
!((n = e(o)) != null && n.onlyOneAddButton) && ((i = e(o)) != null && i.allowAdd) ? (l(), p(w, {
|
|
196
|
-
key: 0,
|
|
197
|
-
icon: e(S),
|
|
198
|
-
link: ""
|
|
199
|
-
}, {
|
|
200
|
-
default: r(() => {
|
|
201
|
-
var g;
|
|
202
|
-
return [
|
|
203
|
-
u(d(((g = e(o)) == null ? void 0 : g.addRecordText) || e(R)), 1)
|
|
204
|
-
];
|
|
205
|
-
}),
|
|
206
|
-
_: 1
|
|
207
|
-
}, 8, ["icon"])) : s("", !0),
|
|
208
|
-
e(o).allowDelete ? (l(), p(w, {
|
|
209
|
-
key: 1,
|
|
210
|
-
icon: e(J),
|
|
211
|
-
type: "danger",
|
|
212
|
-
link: ""
|
|
213
|
-
}, {
|
|
214
|
-
default: r(() => {
|
|
215
|
-
var g;
|
|
216
|
-
return [
|
|
217
|
-
u(d(((g = e(o)) == null ? void 0 : g.deleteRecordText) || e(j)), 1)
|
|
218
|
-
];
|
|
219
|
-
}),
|
|
220
|
-
_: 1
|
|
221
|
-
}, 8, ["icon"])) : s("", !0),
|
|
222
|
-
e(o).sortable ? (l(), p(w, {
|
|
223
|
-
key: 2,
|
|
224
|
-
icon: e(K),
|
|
225
|
-
link: ""
|
|
226
|
-
}, {
|
|
227
|
-
default: r(() => {
|
|
228
|
-
var g;
|
|
229
|
-
return [
|
|
230
|
-
u(d(((g = e(o)) == null ? void 0 : g.sortUpText) || e(H)), 1)
|
|
231
|
-
];
|
|
232
|
-
}),
|
|
233
|
-
_: 1
|
|
234
|
-
}, 8, ["icon"])) : s("", !0),
|
|
235
|
-
e(o).sortable ? (l(), p(w, {
|
|
236
|
-
key: 3,
|
|
237
|
-
icon: e(G),
|
|
238
|
-
link: ""
|
|
239
|
-
}, {
|
|
240
|
-
default: r(() => {
|
|
241
|
-
var g;
|
|
242
|
-
return [
|
|
243
|
-
u(d(((g = e(o)) == null ? void 0 : g.sortDownText) || e(z)), 1)
|
|
244
|
-
];
|
|
245
|
-
}),
|
|
246
|
-
_: 1
|
|
247
|
-
}, 8, ["icon"])) : s("", !0)
|
|
248
|
-
];
|
|
249
|
-
}),
|
|
250
|
-
_: 1
|
|
251
|
-
})
|
|
252
|
-
]),
|
|
253
|
-
_: 1
|
|
254
|
-
})
|
|
255
|
-
]),
|
|
256
|
-
_: 1
|
|
257
|
-
})) : s("", !0),
|
|
258
|
-
m(L, D(t.$props, {
|
|
259
|
-
widget: e(O)(e(N), "row"),
|
|
260
|
-
dragClass: "dragSize"
|
|
261
|
-
}), null, 16, ["widget"]),
|
|
262
|
-
(be = e(o)) != null && be.onlyOneAddButton ? (l(), c("div", ut, [
|
|
263
|
-
m(w, {
|
|
264
|
-
icon: e(S),
|
|
265
|
-
size: "large"
|
|
266
|
-
}, {
|
|
267
|
-
default: r(() => {
|
|
268
|
-
var n;
|
|
269
|
-
return [
|
|
270
|
-
u(d(((n = e(o)) == null ? void 0 : n.addRecordText) || e(R)), 1)
|
|
271
|
-
];
|
|
272
|
-
}),
|
|
273
|
-
_: 1
|
|
274
|
-
}, 8, ["icon"])
|
|
275
|
-
])) : s("", !0)
|
|
276
|
-
])) : (l(), c(C, { key: 1 }, [
|
|
277
|
-
(l(!0), c(C, null, le(e(F), (n, i) => {
|
|
278
|
-
var g, M;
|
|
279
|
-
return l(), c("div", {
|
|
280
|
-
key: (n == null ? void 0 : n.key) || i,
|
|
281
|
-
class: "multiRowLine"
|
|
282
|
-
}, [
|
|
283
|
-
(g = e(o)) != null && g.showHeader ? (l(), p(ye, {
|
|
284
|
-
key: 0,
|
|
285
|
-
class: "rowHeader"
|
|
286
|
-
}, {
|
|
287
|
-
default: r(() => [
|
|
288
|
-
m(_, {
|
|
289
|
-
span: 10,
|
|
290
|
-
class: "rowLabel"
|
|
291
|
-
}, {
|
|
292
|
-
default: r(() => [
|
|
293
|
-
u(d(e(Be).getOptions(t.widget || {}, "label")) + " " + d(i + 1), 1)
|
|
294
|
-
]),
|
|
295
|
-
_: 2
|
|
296
|
-
}, 1024),
|
|
297
|
-
m(_, {
|
|
298
|
-
span: 14,
|
|
299
|
-
class: "flexInline justifyEnd alignCenter"
|
|
300
|
-
}, {
|
|
301
|
-
default: r(() => [
|
|
302
|
-
i == 0 && e(Y) ? (l(), p(h, {
|
|
303
|
-
key: 0,
|
|
304
|
-
type: "info",
|
|
305
|
-
round: ""
|
|
306
|
-
}, {
|
|
307
|
-
default: r(() => [
|
|
308
|
-
u(d(e(te)), 1)
|
|
309
|
-
]),
|
|
310
|
-
_: 1
|
|
311
|
-
})) : s("", !0),
|
|
312
|
-
m(ke, { direction: "vertical" }),
|
|
313
|
-
m(P, null, {
|
|
314
|
-
default: r(() => {
|
|
315
|
-
var U, V, f;
|
|
316
|
-
return [
|
|
317
|
-
!((U = e(o)) != null && U.onlyOneAddButton) && e(o).allowAdd ? (l(), p(w, {
|
|
318
|
-
key: 0,
|
|
319
|
-
onClick: (y) => x(i),
|
|
320
|
-
disabled: e(B) > ((V = e(o)) == null ? void 0 : V.maxRowNum),
|
|
321
|
-
icon: e(S),
|
|
322
|
-
link: ""
|
|
323
|
-
}, {
|
|
324
|
-
default: r(() => {
|
|
325
|
-
var y;
|
|
326
|
-
return [
|
|
327
|
-
u(d(((y = e(o)) == null ? void 0 : y.addRecordText) || e(R)), 1)
|
|
328
|
-
];
|
|
329
|
-
}),
|
|
330
|
-
_: 2
|
|
331
|
-
}, 1032, ["onClick", "disabled", "icon"])) : s("", !0),
|
|
332
|
-
e(o).allowDelete ? (l(), p(w, {
|
|
333
|
-
key: 1,
|
|
334
|
-
onClick: (y) => me(i),
|
|
335
|
-
disabled: ((f = e(o)) == null ? void 0 : f.minRowNum) >= e(B),
|
|
336
|
-
icon: e(J),
|
|
337
|
-
type: "danger",
|
|
338
|
-
link: ""
|
|
339
|
-
}, {
|
|
340
|
-
default: r(() => {
|
|
341
|
-
var y;
|
|
342
|
-
return [
|
|
343
|
-
u(d(((y = e(o)) == null ? void 0 : y.deleteRecordText) || e(j)), 1)
|
|
344
|
-
];
|
|
345
|
-
}),
|
|
346
|
-
_: 2
|
|
347
|
-
}, 1032, ["onClick", "disabled", "icon"])) : s("", !0),
|
|
348
|
-
e(o).sortable ? (l(), p(w, {
|
|
349
|
-
key: 2,
|
|
350
|
-
onClick: (y) => _e(i),
|
|
351
|
-
disabled: i <= 0,
|
|
352
|
-
icon: e(K),
|
|
353
|
-
link: ""
|
|
354
|
-
}, {
|
|
355
|
-
default: r(() => {
|
|
356
|
-
var y;
|
|
357
|
-
return [
|
|
358
|
-
u(d(((y = e(o)) == null ? void 0 : y.sortUpText) || e(H)), 1)
|
|
359
|
-
];
|
|
360
|
-
}),
|
|
361
|
-
_: 2
|
|
362
|
-
}, 1032, ["onClick", "disabled", "icon"])) : s("", !0),
|
|
363
|
-
e(o).sortable ? (l(), p(w, {
|
|
364
|
-
key: 3,
|
|
365
|
-
onClick: (y) => we(i),
|
|
366
|
-
disabled: i >= e(B) - 1,
|
|
367
|
-
icon: e(G),
|
|
368
|
-
link: ""
|
|
369
|
-
}, {
|
|
370
|
-
default: r(() => {
|
|
371
|
-
var y;
|
|
372
|
-
return [
|
|
373
|
-
u(d(((y = e(o)) == null ? void 0 : y.sortDownText) || e(z)), 1)
|
|
374
|
-
];
|
|
375
|
-
}),
|
|
376
|
-
_: 2
|
|
377
|
-
}, 1032, ["onClick", "disabled", "icon"])) : s("", !0)
|
|
378
|
-
];
|
|
379
|
-
}),
|
|
380
|
-
_: 2
|
|
381
|
-
}, 1024)
|
|
382
|
-
]),
|
|
383
|
-
_: 2
|
|
384
|
-
}, 1024)
|
|
385
|
-
]),
|
|
386
|
-
_: 2
|
|
387
|
-
}, 1024)) : s("", !0),
|
|
388
|
-
m(L, D(t.$props, {
|
|
389
|
-
widget: (M = n == null ? void 0 : n.widget) == null ? void 0 : M[0],
|
|
390
|
-
componentName: "div",
|
|
391
|
-
componentClass: "flex full-width",
|
|
392
|
-
"row-scope": { row: n == null ? void 0 : n.data, $index: i }
|
|
393
|
-
}), null, 16, ["widget", "row-scope"])
|
|
394
|
-
]);
|
|
395
|
-
}), 128)),
|
|
396
|
-
e(o).allowAdd ? (l(), c("div", ct, [
|
|
397
|
-
m(w, {
|
|
398
|
-
icon: e(S),
|
|
399
|
-
size: "large",
|
|
400
|
-
onClick: a[0] || (a[0] = (n) => {
|
|
401
|
-
var i;
|
|
402
|
-
return x(((i = e(F)) == null ? void 0 : i.length) - 1);
|
|
403
|
-
})
|
|
404
|
-
}, {
|
|
405
|
-
default: r(() => {
|
|
406
|
-
var n;
|
|
407
|
-
return [
|
|
408
|
-
u(d(((n = e(o)) == null ? void 0 : n.addRecordText) || e(R)), 1)
|
|
409
|
-
];
|
|
410
|
-
}),
|
|
411
|
-
_: 1
|
|
412
|
-
}, 8, ["icon"])
|
|
413
|
-
])) : s("", !0)
|
|
414
|
-
], 64))
|
|
415
|
-
], 64)) : ((Re = e(o)) == null ? void 0 : Re.showMode) === e(Fe).table ? (l(), c("table", {
|
|
416
|
-
key: 1,
|
|
417
|
-
class: Ae(["table2", [(Ce = e(o)) != null && Ce.showBorder ? "borderedTable" : ""]])
|
|
418
|
-
}, [
|
|
419
|
-
(Te = e(o)) != null && Te.showHeader ? (l(), c("thead", pt, [
|
|
420
|
-
b("tr", null, [
|
|
421
|
-
b("th", mt, [
|
|
422
|
-
e(Y) ? (l(), p(h, {
|
|
423
|
-
key: 0,
|
|
424
|
-
type: "info",
|
|
425
|
-
round: ""
|
|
426
|
-
}, {
|
|
427
|
-
default: r(() => [
|
|
428
|
-
u(d(e(te)), 1)
|
|
429
|
-
]),
|
|
430
|
-
_: 1
|
|
431
|
-
})) : s("", !0)
|
|
432
|
-
]),
|
|
433
|
-
(l(!0), c(C, null, le(oe(e(O)(e(N), "row")), (n) => {
|
|
434
|
-
var i;
|
|
435
|
-
return l(), c("th", wt, [
|
|
436
|
-
b("div", {
|
|
437
|
-
class: Ae([(i = e(se)(n)) != null && i.required ? "required" : ""])
|
|
438
|
-
}, [
|
|
439
|
-
m(lt, {
|
|
440
|
-
widget: n,
|
|
441
|
-
designer: t.designer,
|
|
442
|
-
designState: t.designState,
|
|
443
|
-
parentWidget: t.widget,
|
|
444
|
-
parentList: oe(e(O)(e(N), "row")),
|
|
445
|
-
"prop-options": { fieldObj: { extendAttrs: e(se)(n) } }
|
|
446
|
-
}, null, 8, ["widget", "designer", "designState", "parentWidget", "parentList", "prop-options"])
|
|
447
|
-
], 2)
|
|
448
|
-
]);
|
|
449
|
-
}), 256)),
|
|
450
|
-
e(A) ? (l(), c("th", _t)) : s("", !0)
|
|
451
|
-
])
|
|
452
|
-
])) : s("", !0),
|
|
453
|
-
b("tbody", null, [
|
|
454
|
-
t.designState ? (l(), c(C, { key: 0 }, [
|
|
455
|
-
m(L, D(t.$props, {
|
|
456
|
-
widget: e(O)(e(N), "row"),
|
|
457
|
-
componentName: "td",
|
|
458
|
-
dragTag: "tr",
|
|
459
|
-
componentClass: "td2",
|
|
460
|
-
dragClass: "dragSize nolabel"
|
|
461
|
-
}), {
|
|
462
|
-
header: r(() => [
|
|
463
|
-
ft
|
|
464
|
-
]),
|
|
465
|
-
footer: r(() => [
|
|
466
|
-
e(A) ? (l(), c("td", gt, [
|
|
467
|
-
m(P, null, {
|
|
468
|
-
default: r(() => {
|
|
469
|
-
var n;
|
|
470
|
-
return [
|
|
471
|
-
!((n = e(o)) != null && n.onlyOneAddButton) && e(o).allowAdd ? (l(), p(w, {
|
|
472
|
-
key: 0,
|
|
473
|
-
icon: e(S),
|
|
474
|
-
link: ""
|
|
475
|
-
}, {
|
|
476
|
-
default: r(() => {
|
|
477
|
-
var i;
|
|
478
|
-
return [
|
|
479
|
-
u(d(((i = e(o)) == null ? void 0 : i.addRecordText) || e(R)), 1)
|
|
480
|
-
];
|
|
481
|
-
}),
|
|
482
|
-
_: 1
|
|
483
|
-
}, 8, ["icon"])) : s("", !0),
|
|
484
|
-
e(o).allowDelete ? (l(), p(w, {
|
|
485
|
-
key: 1,
|
|
486
|
-
type: "danger",
|
|
487
|
-
icon: e(J),
|
|
488
|
-
link: ""
|
|
489
|
-
}, {
|
|
490
|
-
default: r(() => {
|
|
491
|
-
var i;
|
|
492
|
-
return [
|
|
493
|
-
u(d(((i = e(o)) == null ? void 0 : i.deleteRecordText) || e(j)), 1)
|
|
494
|
-
];
|
|
495
|
-
}),
|
|
496
|
-
_: 1
|
|
497
|
-
}, 8, ["icon"])) : s("", !0),
|
|
498
|
-
e(o).sortable ? (l(), p(w, {
|
|
499
|
-
key: 2,
|
|
500
|
-
link: "",
|
|
501
|
-
icon: e(K)
|
|
502
|
-
}, {
|
|
503
|
-
default: r(() => {
|
|
504
|
-
var i;
|
|
505
|
-
return [
|
|
506
|
-
u(d(((i = e(o)) == null ? void 0 : i.sortUpText) || e(H)), 1)
|
|
507
|
-
];
|
|
508
|
-
}),
|
|
509
|
-
_: 1
|
|
510
|
-
}, 8, ["icon"])) : s("", !0),
|
|
511
|
-
e(o).sortable ? (l(), p(w, {
|
|
512
|
-
key: 3,
|
|
513
|
-
link: "",
|
|
514
|
-
icon: e(G)
|
|
515
|
-
}, {
|
|
516
|
-
default: r(() => {
|
|
517
|
-
var i;
|
|
518
|
-
return [
|
|
519
|
-
u(d(((i = e(o)) == null ? void 0 : i.sortDownText) || e(z)), 1)
|
|
520
|
-
];
|
|
521
|
-
}),
|
|
522
|
-
_: 1
|
|
523
|
-
}, 8, ["icon"])) : s("", !0)
|
|
524
|
-
];
|
|
525
|
-
}),
|
|
526
|
-
_: 1
|
|
527
|
-
})
|
|
528
|
-
])) : s("", !0)
|
|
529
|
-
]),
|
|
530
|
-
_: 1
|
|
531
|
-
}, 16, ["widget"]),
|
|
532
|
-
e(pe) ? (l(), c("tr", kt, [
|
|
533
|
-
b("td", {
|
|
534
|
-
colspan: (e(ee) || 0) + e(Z)
|
|
535
|
-
}, [
|
|
536
|
-
m(L, D(t.$props, {
|
|
537
|
-
widget: e(O)(e(N), "detail"),
|
|
538
|
-
style: { height: "auto" }
|
|
539
|
-
}), null, 16, ["widget"])
|
|
540
|
-
], 8, yt)
|
|
541
|
-
])) : s("", !0)
|
|
542
|
-
], 64)) : (l(!0), c(C, { key: 1 }, le(e(F), (n, i) => {
|
|
543
|
-
var g, M;
|
|
544
|
-
return l(), c(C, {
|
|
545
|
-
key: (n == null ? void 0 : n.key) || i
|
|
546
|
-
}, [
|
|
547
|
-
b("tr", ht, [
|
|
548
|
-
b("td", vt, d(i + 1), 1),
|
|
549
|
-
m(L, D(t.$props, {
|
|
550
|
-
widget: (g = n == null ? void 0 : n.widget) == null ? void 0 : g[0],
|
|
551
|
-
componentName: "td",
|
|
552
|
-
componentClass: "td2",
|
|
553
|
-
"row-scope": { row: n == null ? void 0 : n.data, $index: i }
|
|
554
|
-
}), null, 16, ["widget", "row-scope"]),
|
|
555
|
-
e(A) ? (l(), c("td", bt, [
|
|
556
|
-
m(P, null, {
|
|
557
|
-
default: r(() => {
|
|
558
|
-
var U, V;
|
|
559
|
-
return [
|
|
560
|
-
e(ue) ? (l(), p(w, {
|
|
561
|
-
key: 0,
|
|
562
|
-
onClick: (f) => x(i),
|
|
563
|
-
disabled: e(B) > ((U = e(o)) == null ? void 0 : U.maxRowNum),
|
|
564
|
-
icon: e(S),
|
|
565
|
-
link: ""
|
|
566
|
-
}, {
|
|
567
|
-
default: r(() => {
|
|
568
|
-
var f;
|
|
569
|
-
return [
|
|
570
|
-
u(d(((f = e(o)) == null ? void 0 : f.addRecordText) || e(R)), 1)
|
|
571
|
-
];
|
|
572
|
-
}),
|
|
573
|
-
_: 2
|
|
574
|
-
}, 1032, ["onClick", "disabled", "icon"])) : s("", !0),
|
|
575
|
-
e(ce) ? (l(), p(w, {
|
|
576
|
-
key: 1,
|
|
577
|
-
onClick: (f) => me(i),
|
|
578
|
-
type: "danger",
|
|
579
|
-
icon: e(J),
|
|
580
|
-
disabled: ((V = e(o)) == null ? void 0 : V.minRowNum) >= e(B),
|
|
581
|
-
link: ""
|
|
582
|
-
}, {
|
|
583
|
-
default: r(() => {
|
|
584
|
-
var f;
|
|
585
|
-
return [
|
|
586
|
-
u(d(((f = e(o)) == null ? void 0 : f.deleteRecordText) || e(j)), 1)
|
|
587
|
-
];
|
|
588
|
-
}),
|
|
589
|
-
_: 2
|
|
590
|
-
}, 1032, ["onClick", "icon", "disabled"])) : s("", !0),
|
|
591
|
-
e(X) ? (l(), p(w, {
|
|
592
|
-
key: 2,
|
|
593
|
-
onClick: (f) => _e(i),
|
|
594
|
-
disabled: i <= 0,
|
|
595
|
-
link: "",
|
|
596
|
-
icon: e(K)
|
|
597
|
-
}, {
|
|
598
|
-
default: r(() => {
|
|
599
|
-
var f;
|
|
600
|
-
return [
|
|
601
|
-
u(d(((f = e(o)) == null ? void 0 : f.sortUpText) || e(H)), 1)
|
|
602
|
-
];
|
|
603
|
-
}),
|
|
604
|
-
_: 2
|
|
605
|
-
}, 1032, ["onClick", "disabled", "icon"])) : s("", !0),
|
|
606
|
-
e(X) ? (l(), p(w, {
|
|
607
|
-
key: 3,
|
|
608
|
-
onClick: (f) => we(i),
|
|
609
|
-
disabled: i >= e(B) - 1,
|
|
610
|
-
link: "",
|
|
611
|
-
icon: e(G)
|
|
612
|
-
}, {
|
|
613
|
-
default: r(() => {
|
|
614
|
-
var f;
|
|
615
|
-
return [
|
|
616
|
-
u(d(((f = e(o)) == null ? void 0 : f.sortDownText) || e(z)), 1)
|
|
617
|
-
];
|
|
618
|
-
}),
|
|
619
|
-
_: 2
|
|
620
|
-
}, 1032, ["onClick", "disabled", "icon"])) : s("", !0)
|
|
621
|
-
];
|
|
622
|
-
}),
|
|
623
|
-
_: 2
|
|
624
|
-
}, 1024)
|
|
625
|
-
])) : s("", !0)
|
|
626
|
-
]),
|
|
627
|
-
e(pe) ? (l(), c("tr", Rt, [
|
|
628
|
-
b("td", {
|
|
629
|
-
class: "detailTable",
|
|
630
|
-
colspan: (e(ee) || 0) + e(Z)
|
|
631
|
-
}, [
|
|
632
|
-
m(L, D(t.$props, {
|
|
633
|
-
widget: (M = n == null ? void 0 : n.widget) == null ? void 0 : M[1],
|
|
634
|
-
"component-style": { height: "auto" },
|
|
635
|
-
"row-scope": { row: n == null ? void 0 : n.data, $index: i }
|
|
636
|
-
}), null, 16, ["widget", "row-scope"])
|
|
637
|
-
], 8, Ct)
|
|
638
|
-
])) : s("", !0)
|
|
639
|
-
], 64);
|
|
640
|
-
}), 128))
|
|
641
|
-
]),
|
|
642
|
-
b("tfoot", null, [
|
|
643
|
-
b("tr", null, [
|
|
644
|
-
b("td", {
|
|
645
|
-
colspan: (e(ee) || 0) + e(Z)
|
|
646
|
-
}, [
|
|
647
|
-
t.designState ? (l(), c(C, { key: 0 }, [
|
|
648
|
-
(Se = e(o)) != null && Se.onlyOneAddButton && e(o).allowAdd ? (l(), c("div", St, [
|
|
649
|
-
m(w, {
|
|
650
|
-
icon: e(S),
|
|
651
|
-
size: "large"
|
|
652
|
-
}, {
|
|
653
|
-
default: r(() => {
|
|
654
|
-
var n;
|
|
655
|
-
return [
|
|
656
|
-
u(d(((n = e(o)) == null ? void 0 : n.addRecordText) || e(R)), 1)
|
|
657
|
-
];
|
|
658
|
-
}),
|
|
659
|
-
_: 1
|
|
660
|
-
}, 8, ["icon"])
|
|
661
|
-
])) : s("", !0)
|
|
662
|
-
], 64)) : (l(), c(C, { key: 1 }, [
|
|
663
|
-
!((De = e(o)) != null && De.onlyOneAddButton) && (($e = e(F)) == null ? void 0 : $e.length) == 0 ? (l(), c("div", Dt, [
|
|
664
|
-
m(w, {
|
|
665
|
-
onClick: a[1] || (a[1] = (n) => x(0))
|
|
666
|
-
}, {
|
|
667
|
-
default: r(() => {
|
|
668
|
-
var n;
|
|
669
|
-
return [
|
|
670
|
-
u(d(((n = e(o)) == null ? void 0 : n.addRecordText) || e(R)), 1)
|
|
671
|
-
];
|
|
672
|
-
}),
|
|
673
|
-
_: 1
|
|
674
|
-
})
|
|
675
|
-
])) : (Ne = e(o)) != null && Ne.onlyOneAddButton ? (l(), c("div", $t, [
|
|
676
|
-
m(w, {
|
|
677
|
-
icon: e(S),
|
|
678
|
-
size: "large",
|
|
679
|
-
onClick: a[2] || (a[2] = (n) => {
|
|
680
|
-
var i;
|
|
681
|
-
return x(((i = e(F)) == null ? void 0 : i.length) - 1);
|
|
682
|
-
})
|
|
683
|
-
}, {
|
|
684
|
-
default: r(() => {
|
|
685
|
-
var n;
|
|
686
|
-
return [
|
|
687
|
-
u(d(((n = e(o)) == null ? void 0 : n.addRecordText) || e(R)), 1)
|
|
688
|
-
];
|
|
689
|
-
}),
|
|
690
|
-
_: 1
|
|
691
|
-
}, 8, ["icon"])
|
|
692
|
-
])) : s("", !0)
|
|
693
|
-
], 64))
|
|
694
|
-
], 8, Tt)
|
|
695
|
-
])
|
|
696
|
-
])
|
|
697
|
-
], 2)) : s("", !0)
|
|
698
|
-
];
|
|
699
|
-
}),
|
|
700
|
-
_: 1
|
|
701
|
-
}, 16, ["prop-options"]);
|
|
702
|
-
};
|
|
703
|
-
}
|
|
704
|
-
});
|
|
705
|
-
const ao = /* @__PURE__ */ at(Nt, [["__scopeId", "data-v-7c4f2d4a"]]);
|
|
706
|
-
export {
|
|
707
|
-
ao as default
|
|
708
|
-
};
|