hldesigner 0.0.210 → 0.0.212
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-78441405.js → _pdf-282abbf5.js} +9 -9
- package/{_share_image-56b2902d.js → _share_image-5d58fa0e.js} +2 -2
- package/{_share_size.vue_vue_type_script_setup_true_lang-734ee68f.js → _share_size.vue_vue_type_script_setup_true_lang-e9adb962.js} +3 -3
- package/{_txt-8df301bf.js → _txt-856d299e.js} +9 -9
- package/{_unsupport-5ad09ae0.js → _unsupport-058ea737.js} +2 -2
- package/{affix-widget-e000c881.js → affix-widget-3d39d0bd.js} +21 -21
- package/{alert-widget-062808af.js → alert-widget-11fd522b.js} +21 -21
- package/{anchor-widget-751fed0b.js → anchor-widget-530511a2.js} +18 -18
- package/{auto-complete-widget-5d2291c5.js → auto-complete-widget-2a095352.js} +21 -21
- package/{avatar-widget-942f12b1.js → avatar-widget-0cf797db.js} +21 -21
- package/{backtop-widget-e53d11e6.js → backtop-widget-a3104dc4.js} +21 -21
- package/{badge-widget-d7c90736.js → badge-widget-71c9dd32.js} +21 -21
- package/{barcode-widget-f1c7340c.js → barcode-widget-b5d651d8.js} +18 -18
- package/{baseImp-116903dc.js → baseImp-4b12b278.js} +381 -382
- package/{breadcrumb-widget-e590bbd2.js → breadcrumb-widget-7d8146de.js} +18 -18
- package/{button-widget-06d37c04.js → button-widget-9f820cc9.js} +21 -21
- package/{cache-widget-19fbb7aa.js → cache-widget-55ac972a.js} +20 -20
- package/{card-widget-e58b38f6.js → card-widget-42a5f2d9.js} +19 -19
- package/carousel-widget-dbf3b732.js +78 -0
- package/{cascader-widget-9fb4a873.js → cascader-widget-5b1f0dab.js} +20 -20
- package/chart-widget-246b0f24.js +92 -0
- package/{checkbox-widget-97c5ab37.js → checkbox-widget-c0fd3195.js} +20 -20
- package/collapse-widget-da674933.js +96 -0
- package/{color-picker-widget-f381fdd8.js → color-picker-widget-d8e07e93.js} +20 -20
- package/common-editor-746449b9.js +27 -0
- package/{common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-78a2fdb1.js → common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-bbcf244f.js} +2 -2
- package/{configItem-98dde981.js → configItem-a74ebf37.js} +38 -38
- package/{cont-cell-widget-c17930dd.js → cont-cell-widget-9010de06.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-b5270629.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-88ec4097.js} +5 -5
- package/{cont-widget-d3b64d0d.js → cont-widget-edf4bb99.js} +5 -5
- package/{content-wrapper-9017e34a.js → content-wrapper-2a291c8b.js} +8 -8
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-e6fe23eb.js → content-wrapper.vue_vue_type_script_setup_true_lang-c1becdad.js} +3 -3
- package/{css-editor-23b732ea.js → css-editor-68a90d70.js} +20 -20
- package/{cssIndex-ba6a9807.js → cssIndex-9d823091.js} +4 -4
- package/{customClass-editor-5cca36a7.js → customClass-editor-9e1d74dd.js} +17 -17
- package/{date-picker-range-widget-1f665033.js → date-picker-range-widget-bf6fa655.js} +20 -20
- package/{date-picker-widget-faaa382a.js → date-picker-widget-24a90260.js} +20 -20
- package/default-slot-widget-2c74f7e6.js +30 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-de15fe82.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-acb84507.js} +8 -8
- package/{descriptions-widget-f30b6a55.js → descriptions-widget-9694c4e8.js} +19 -19
- package/designer.es.js +36 -36
- package/designer.style.css +1 -1
- package/designer.umd.js +476 -473
- package/{dialog-92d1cd0b.js → dialog-6f55b50a.js} +2 -2
- package/{dialog-widget-e3e34243.js → dialog-widget-55b0a967.js} +20 -20
- package/{divider-widget-489a786c.js → divider-widget-a3813de3.js} +21 -21
- package/{drag-wrapper-a9635234.js → drag-wrapper-35fa05aa.js} +8 -8
- package/{drawer-widget-8f683ebe.js → drawer-widget-1c55d5b5.js} +20 -20
- package/{dropdown-widget-829a3c18.js → dropdown-widget-2a6b6911.js} +19 -19
- package/{editor-wrapper-eacbf117.js → editor-wrapper-7656a5f4.js} +280 -279
- package/{emitter-22bcad26.js → emitter-2df329ed.js} +1 -1
- package/{empty-widget-f92262d8.js → empty-widget-2c4e4e6c.js} +21 -21
- package/{enum-type-8920f56d.js → enum-type-a17e3665.js} +16 -13
- package/{enum-type-540c8908.js → enum-type-b8e43a16.js} +1 -1
- package/{expression-610b7d3d.js → expression-5faad92e.js} +4 -4
- package/feedback-widget-e2a1dc84.js +31 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-70f9fa76.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-eb620894.js} +5 -5
- package/{field-editor-881c8037.js → field-editor-0ec15514.js} +16 -16
- package/{fieldobj-fe7d8eae.js → fieldobj-1334f6d2.js} +1 -1
- package/{file-upload-widget-db5c7e8c.js → file-upload-widget-7ce25b28.js} +25 -25
- package/{form-item-wrapper-3da000fb.js → form-item-wrapper-d59fbe14.js} +14 -14
- package/{form-widget-8f5cd2d7.js → form-widget-49bec769.js} +12 -12
- package/{grid-col-widget-b74a61d1.js → grid-col-widget-0a2e4f35.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-989e71b2.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ee30cfb6.js} +5 -5
- package/{grid-widget-1d56c273.js → grid-widget-4b99a1e5.js} +5 -5
- package/{html-text-widget-6782f0b7.js → html-text-widget-6720cdb7.js} +19 -19
- package/{icon-widget-1552e313.js → icon-widget-ca10e513.js} +18 -18
- package/{iframe-widget-371598f5.js → iframe-widget-81a250dc.js} +18 -18
- package/{image-editor-6abe7dcc.js → image-editor-3cb7319c.js} +17 -17
- package/{image-widget-f161b43f.js → image-widget-f38f44d5.js} +18 -18
- package/import-config-3bcbd415.js +13157 -0
- package/{index-7a85d7ff.js → index-057f5c14.js} +9 -9
- package/{index-9bf39185.js → index-05fbd4a9.js} +1 -1
- package/{index-4f985e9f.js → index-2c2312eb.js} +39 -39
- package/{index-417fc3f4.js → index-2d0347a3.js} +16 -16
- package/{index-ea3c306d.js → index-340b939e.js} +18 -18
- package/{index-3a01b694.js → index-52076e3d.js} +15 -14
- package/{index-92b17685.js → index-54cb181b.js} +9 -9
- package/{index-837a206b.js → index-723caa81.js} +7 -7
- package/{index-13b71c0d.js → index-7469718f.js} +12 -12
- package/{index-7fbc56b2.js → index-803f5357.js} +11 -11
- package/{index-bbe6b6f8.js → index-839f44bc.js} +657 -645
- package/{index-791c76b6.js → index-8552b956.js} +10 -10
- package/{index-4f42260c.js → index-936cc264.js} +12 -12
- package/{index-17383e86.js → index-9498fe28.js} +7 -7
- package/{index-f871200a.js → index-a00cfab2.js} +7 -7
- package/{index-6d72c605.js → index-a478c2e7.js} +1 -1
- package/{index-fd3b9aa8.js → index-a5830bf9.js} +14 -14
- package/{index-e16912fd.js → index-a794936d.js} +5 -5
- package/{index-5fee7ae0.js → index-ba1993de.js} +41 -41
- package/{index-b517a16a.js → index-c074c2de.js} +101 -97
- package/{index-b41d935e.js → index-cb0abc38.js} +23 -23
- package/{index-5eb72d08.js → index-ce3afcd5.js} +39 -39
- package/{index-41ae7b8b.js → index-d1b5a1fc.js} +10 -10
- package/{index-b7d37ba2.js → index-d52b47d1.js} +11 -11
- package/{index-b4a81ba1.js → index-d782504a.js} +2 -2
- package/{index-daa8750f.js → index-dc7017c1.js} +1 -1
- package/{input-number-widget-a17f8b10.js → input-number-widget-4d8c73f8.js} +20 -20
- package/{input-widget-d5b95ec5.js → input-widget-e05ab074.js} +21 -21
- package/{install-designer-567bd720.js → install-designer-a22d189f.js} +30 -30
- package/{item-c1e44cf4.js → item-5586aba8.js} +3 -3
- package/{itemDetail-3e8e81b9.js → itemDetail-b54ca7a7.js} +3 -3
- package/{label-wrapper-d988e78b.js → label-wrapper-58fe01b0.js} +6 -6
- package/{label-wrapper.vue_vue_type_style_index_0_lang-b64f9aef.js → label-wrapper.vue_vue_type_style_index_0_lang-e832d7c2.js} +3 -3
- package/{link-widget-0a4ad4ce.js → link-widget-c02b289f.js} +21 -21
- package/{ltable-col-widget-6ec50fcb.js → ltable-col-widget-79f07e18.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-3c30c4bd.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-6b7aaf43.js} +9 -9
- package/{ltable-widget-4ea85bcb.js → ltable-widget-dd5848f7.js} +5 -5
- package/{menu-widget-6e221f1d.js → menu-widget-3968cc33.js} +19 -19
- package/{model-widget-bfe7abb8.js → model-widget-bf2fd221.js} +18 -18
- package/{multirow-ba382395.js → multirow-da4641c0.js} +8 -8
- package/{multirow-widget-86b08a67.js → multirow-widget-9be10f98.js} +20 -20
- package/{name-editor-e8a22ac4.js → name-editor-5ffe2e5f.js} +16 -16
- package/{obj-469b8636.js → obj-a84ba092.js} +79 -75
- package/{optionItem-dbbd5848.js → optionItem-5b4cb7f1.js} +182 -161
- package/package.json +1 -1
- package/{pagination-widget-891cf0c2.js → pagination-widget-430a808b.js} +18 -18
- package/{picture-upload-widget-53ddd239.js → picture-upload-widget-0f5d5e4e.js} +21 -21
- package/{progress-widget-05a689eb.js → progress-widget-bc15abb8.js} +19 -19
- package/{property-base-d0513a08.js → property-base-bb1fa2b7.js} +12 -10
- package/{qrcode-widget-e4162ef9.js → qrcode-widget-39d7e13a.js} +18 -18
- package/{radio-widget-ab9e811d.js → radio-widget-1b7aa9d8.js} +20 -20
- package/{range-widget-6791e8b8.js → range-widget-a223e922.js} +21 -21
- package/{rate-widget-89abea38.js → rate-widget-d567319d.js} +20 -20
- package/{reg-editor.vue_vue_type_script_setup_true_lang-8dbb71b6.js → reg-editor.vue_vue_type_script_setup_true_lang-2d0eb8d7.js} +3 -3
- package/{result-widget-d70d429a.js → result-widget-007544ec.js} +19 -19
- package/{rich-editor-widget-2a0bddf7.js → rich-editor-widget-16197506.js} +20 -20
- package/{router-widget-1a5e5222.js → router-widget-e1d4226c.js} +18 -18
- package/{schemaData-6944b328.js → schemaData-feb0ce80.js} +28 -28
- package/{select-widget-fea59881.js → select-widget-10425956.js} +20 -20
- package/{sfc-daa6a450.js → sfc-006f5cd1.js} +12 -12
- package/{sfcview-72438951.js → sfcview-b6370a1f.js} +25 -25
- package/{share-editor-f387de65.js → share-editor-d2192181.js} +175 -163
- package/{share-event-3a5dbdd2.js → share-event-2a05f4f0.js} +2 -2
- package/{share-field-76564ce5.js → share-field-905c2e55.js} +10 -10
- package/{share-file-c0c2d3e1.js → share-file-b0da5fb3.js} +7 -7
- package/{size-editor-3cf4e4fd.js → size-editor-9d75c07c.js} +19 -19
- package/{slider-widget-4d6fb4a5.js → slider-widget-64dc968f.js} +20 -20
- package/slot-ee1705c0.js +299 -0
- package/{static-text-widget-071a488d.js → static-text-widget-0e48e500.js} +19 -19
- package/{steps-widget-af34c7d4.js → steps-widget-69ee6781.js} +18 -18
- package/{subMenu-widget-176f9668.js → subMenu-widget-d45608ae.js} +9 -9
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-ee68d676.js → subMenu-widget.vue_vue_type_script_setup_true_lang-a73de110.js} +3 -3
- package/{switch-widget-2fadfbc9.js → switch-widget-ad46b2d8.js} +20 -20
- package/{tab-pane-widget-b9ef8df6.js → tab-pane-widget-3e031d20.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-22de7fff.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-a1513631.js} +5 -5
- package/table-col-widget-5b400017.js +27 -0
- package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-cce4b1fd.js +110 -0
- package/table-widget-cbb912d7.js +290 -0
- package/{tabs-widget-be87becf.js → tabs-widget-b13b7fc3.js} +8 -8
- package/{tag-widget-db1196d5.js → tag-widget-ceaf95d2.js} +21 -21
- package/{target-code-a7cec87f.js → target-code-bf16caee.js} +9 -9
- package/{target-datasource-7b0c0985.js → target-datasource-de12ea43.js} +44 -44
- package/{target-link-d7b17a04.js → target-link-0eae045a.js} +39 -39
- package/{target-saveForm-ec6ca5fd.js → target-saveForm-921c9696.js} +39 -39
- package/{target-widget-01697975.js → target-widget-df1cba3b.js} +2 -2
- package/{target-window-ea975402.js → target-window-e76d8c66.js} +15 -15
- package/{text-widget-d2b39871.js → text-widget-e8848f16.js} +21 -21
- package/{textarea-widget-eeb68945.js → textarea-widget-d3ce37e9.js} +20 -20
- package/{time-picker-range-widget-d93c2661.js → time-picker-range-widget-77345665.js} +20 -20
- package/{time-picker-widget-d2938ad2.js → time-picker-widget-37d789c0.js} +20 -20
- package/{time-select-widget-00ab1364.js → time-select-widget-76c72803.js} +20 -20
- package/{tmpl-widget-88439e0f.js → tmpl-widget-68ba5861.js} +19 -19
- package/{tree-select-widget-84c1adcb.js → tree-select-widget-43bc8d36.js} +20 -20
- package/{tree-widget-cb630c81.js → tree-widget-e3a55428.js} +18 -18
- package/{uuid-d9f857bf.js → uuid-45249b4f.js} +1 -1
- package/{value-editor-910839df.js → value-editor-b0baa620.js} +16 -16
- package/{verifycode-widget-15f89a5d.js → verifycode-widget-7e1b4a3c.js} +18 -18
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-0183eb7e.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c756d7c4.js} +8 -8
- package/wrapper-widget-9e48a45c.js +84 -0
- package/carousel-widget-d066afb9.js +0 -80
- package/chart-widget-dd38f63a.js +0 -85
- package/collapse-widget-cbd29fc1.js +0 -94
- package/common-editor-987765f8.js +0 -27
- package/default-slot-widget-c0a4b7a2.js +0 -30
- package/feedback-widget-9f114794.js +0 -31
- package/import-config-1eb9a66b.js +0 -13156
- package/propresult-2b09d145.js +0 -22
- package/slot-61e97993.js +0 -292
- package/table-col-widget-cf0499af.js +0 -27
- package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-51d2eef2.js +0 -91
- package/table-widget-1c2f85fd.js +0 -283
- package/wrapper-widget-1b0900ff.js +0 -84
package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-cce4b1fd.js
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { defineComponent as H, computed as O, resolveComponent as J, openBlock as o, createBlock as c, normalizeProps as K, guardReactiveProps as Q, unref as t, withCtx as W, resolveDynamicComponent as $, createCommentVNode as b, createElementBlock as E, Fragment as N, renderList as U } from "vue";
|
|
2
|
+
import { a as P, c as z } from "./enum-type-a17e3665.js";
|
|
3
|
+
import { g as X, b as Y } from "./baseImp-4b12b278.js";
|
|
4
|
+
import { D as A } from "./drag-wrapper-35fa05aa.js";
|
|
5
|
+
import { e as h } from "./slot-ee1705c0.js";
|
|
6
|
+
import { a as Z } from "./multirow-da4641c0.js";
|
|
7
|
+
import { g as q } from "./uuid-45249b4f.js";
|
|
8
|
+
import { c as G } from "./obj-a84ba092.js";
|
|
9
|
+
const _ = /* @__PURE__ */ H({
|
|
10
|
+
__name: "table-col-widget",
|
|
11
|
+
props: {
|
|
12
|
+
options: null,
|
|
13
|
+
designState: { type: Boolean },
|
|
14
|
+
designer: null,
|
|
15
|
+
propResultOpt: null,
|
|
16
|
+
realTableData: null
|
|
17
|
+
},
|
|
18
|
+
setup(a) {
|
|
19
|
+
var k;
|
|
20
|
+
const i = a, y = X({ instance: (k = i.propResultOpt) == null ? void 0 : k.instance }), { attrs: p, extendAttrs: w, slots: S } = Y(
|
|
21
|
+
{ options: i.options },
|
|
22
|
+
i.propResultOpt,
|
|
23
|
+
{
|
|
24
|
+
s_slots: !0,
|
|
25
|
+
s_extendAttr: !0,
|
|
26
|
+
s_attr: !0,
|
|
27
|
+
fn_attr: (d) => !["children"].includes(d)
|
|
28
|
+
}
|
|
29
|
+
), I = O(() => {
|
|
30
|
+
var r;
|
|
31
|
+
var d = (r = w.value) == null ? void 0 : r.filterable;
|
|
32
|
+
return d ? {
|
|
33
|
+
...p.value,
|
|
34
|
+
filters: M.value,
|
|
35
|
+
filterMethod: V
|
|
36
|
+
} : p.value;
|
|
37
|
+
}), M = O(() => {
|
|
38
|
+
var l, g, m;
|
|
39
|
+
var d = (l = i.realTableData) == null ? void 0 : l.map((n) => {
|
|
40
|
+
var v;
|
|
41
|
+
const f = (v = p.value) == null ? void 0 : v.prop;
|
|
42
|
+
return n == null ? void 0 : n[f];
|
|
43
|
+
});
|
|
44
|
+
const r = [...new Set(d)];
|
|
45
|
+
var s = (g = r == null ? void 0 : r.filter((n) => !G(n))) == null ? void 0 : g.map((n) => ({ text: n, value: n }));
|
|
46
|
+
r != null && r.some((n) => G(n)) && s.push({ text: P.i18nt("designer.hint.empty"), value: "" });
|
|
47
|
+
var e = (m = w.value) == null ? void 0 : m.filtersDatasource;
|
|
48
|
+
return (e ? e == null ? void 0 : e(i.realTableData, p.value) : null) || s;
|
|
49
|
+
}), V = (d, r, s) => {
|
|
50
|
+
var l;
|
|
51
|
+
var e = (l = p.value) == null ? void 0 : l.filterMethod;
|
|
52
|
+
return e ? e == null ? void 0 : e(d, r, s, y) : ((g, m, n) => {
|
|
53
|
+
const f = n.property;
|
|
54
|
+
return m[f] === g;
|
|
55
|
+
})(d, r, s);
|
|
56
|
+
}, { newSlot: j } = Z();
|
|
57
|
+
return (d, r) => {
|
|
58
|
+
const s = J("el-table-column");
|
|
59
|
+
return o(), c(s, K(Q(t(I))), {
|
|
60
|
+
header: W((e) => {
|
|
61
|
+
var u, l;
|
|
62
|
+
return [
|
|
63
|
+
(u = t(h)(t(S), "header")) != null && u.default ? (o(), c($((l = t(h)(t(S), "header")) == null ? void 0 : l.default), {
|
|
64
|
+
key: 0,
|
|
65
|
+
scope: e,
|
|
66
|
+
ctx: t(y)
|
|
67
|
+
}, null, 8, ["scope", "ctx"])) : b("", !0)
|
|
68
|
+
];
|
|
69
|
+
}),
|
|
70
|
+
default: W((e) => {
|
|
71
|
+
var u, l, g, m, n, f, x, v, D, T, B, C, F, R;
|
|
72
|
+
return [
|
|
73
|
+
(((l = (u = a.options) == null ? void 0 : u.children) == null ? void 0 : l.length) || 0) > 0 ? (o(!0), E(N, { key: 0 }, U((g = a.options) == null ? void 0 : g.children, (L, ee) => (o(), c(_, {
|
|
74
|
+
designState: a.designState,
|
|
75
|
+
designer: a.designer,
|
|
76
|
+
key: L.uuid,
|
|
77
|
+
options: L,
|
|
78
|
+
"real-table-data": a.realTableData
|
|
79
|
+
}, null, 8, ["designState", "designer", "options", "real-table-data"]))), 128)) : b("", !0),
|
|
80
|
+
(m = t(w)) != null && m.slotable && (a.designState && ((f = (n = i.options) == null ? void 0 : n.default) != null && f.widgetList) || !a.designState || ((D = (v = (x = i.options) == null ? void 0 : x.default) == null ? void 0 : v.widgetList) == null ? void 0 : D.length) > 0) ? (o(), E(N, { key: 1 }, [
|
|
81
|
+
a.designState ? (o(), c(A, {
|
|
82
|
+
key: 0,
|
|
83
|
+
designState: a.designState,
|
|
84
|
+
designer: a.designer,
|
|
85
|
+
widget: t(z)((T = i.options) == null ? void 0 : T.default),
|
|
86
|
+
dragTip: t(P).i18nt("designer.hint.draggableArea1"),
|
|
87
|
+
"row-scope": e
|
|
88
|
+
}, null, 8, ["designState", "designer", "widget", "dragTip", "row-scope"])) : (o(), c(A, {
|
|
89
|
+
designState: a.designState,
|
|
90
|
+
designer: a.designer,
|
|
91
|
+
key: t(q)() + (e == null ? void 0 : e.$index),
|
|
92
|
+
widget: t(z)((C = t(j)([(B = i.options) == null ? void 0 : B.default], e, (e == null ? void 0 : e.$index) < 0 ? "header" : e == null ? void 0 : e.$index)) == null ? void 0 : C.widget[0]),
|
|
93
|
+
"row-scope": e
|
|
94
|
+
}, null, 8, ["designState", "designer", "widget", "row-scope"]))
|
|
95
|
+
], 64)) : b("", !0),
|
|
96
|
+
(F = t(h)(t(S), "default")) != null && F.default ? (o(), c($((R = t(h)(t(S), "default")) == null ? void 0 : R.default), {
|
|
97
|
+
key: 2,
|
|
98
|
+
scope: e,
|
|
99
|
+
ctx: t(y)
|
|
100
|
+
}, null, 8, ["scope", "ctx"])) : b("", !0)
|
|
101
|
+
];
|
|
102
|
+
}),
|
|
103
|
+
_: 1
|
|
104
|
+
}, 16);
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
export {
|
|
109
|
+
_
|
|
110
|
+
};
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
import { defineComponent as le, ref as y, computed as T, reactive as We, onMounted as Be, resolveComponent as P, resolveDirective as Le, openBlock as g, createBlock as F, mergeProps as ee, unref as i, withCtx as z, withDirectives as Ae, createElementBlock as te, createVNode as re, createTextVNode as Ue, toDisplayString as $e, createCommentVNode as ne, toHandlers as Ge, Fragment as Ke, renderList as qe } from "vue";
|
|
2
|
+
import { a as B, t as ae, f as He } from "./enum-type-a17e3665.js";
|
|
3
|
+
import { P as V, M as Je, g as Qe, L as Xe, b as Ye, c as Ze } from "./baseImp-4b12b278.js";
|
|
4
|
+
import { L as De, v as Re, j as L, q as we, a as et, o as tt } from "./obj-a84ba092.js";
|
|
5
|
+
import { I as rt } from "./field-base-5547436d.js";
|
|
6
|
+
import { _ as nt } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c756d7c4.js";
|
|
7
|
+
import { c as at } from "./share-field-905c2e55.js";
|
|
8
|
+
import { w as ot, b as lt } from "./expression-5faad92e.js";
|
|
9
|
+
import { _ as it } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-cce4b1fd.js";
|
|
10
|
+
import { F as st } from "./slot-ee1705c0.js";
|
|
11
|
+
import { b as ut, p as oe } from "./multirow-da4641c0.js";
|
|
12
|
+
import { u as pt } from "./cssIndex-9d823091.js";
|
|
13
|
+
import "./enum-type-b8e43a16.js";
|
|
14
|
+
import "./icon-6342f929.js";
|
|
15
|
+
import "./dialog-6f55b50a.js";
|
|
16
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
+
import "./uuid-45249b4f.js";
|
|
18
|
+
import "element-plus";
|
|
19
|
+
import "./widget-base-4c2d6265.js";
|
|
20
|
+
import "./index-52076e3d.js";
|
|
21
|
+
import "./optionItem-5b4cb7f1.js";
|
|
22
|
+
import "./index-dc7017c1.js";
|
|
23
|
+
import "./index-a478c2e7.js";
|
|
24
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
25
|
+
import "./fieldobj-1334f6d2.js";
|
|
26
|
+
import "./emitter-2df329ed.js";
|
|
27
|
+
import "./source-map-b04aec4a.js";
|
|
28
|
+
import "./esprima-e8d15055.js";
|
|
29
|
+
import "./drag-wrapper-35fa05aa.js";
|
|
30
|
+
import "./index-05fbd4a9.js";
|
|
31
|
+
const ct = { key: 1 }, dt = le({ componentName: ot.FieldWidget }), qt = /* @__PURE__ */ le({
|
|
32
|
+
...dt,
|
|
33
|
+
__name: "table-widget",
|
|
34
|
+
props: { ...rt },
|
|
35
|
+
setup(ie, { expose: se }) {
|
|
36
|
+
var H;
|
|
37
|
+
const j = ie, { fieldName: A, exposed: p, fieldEditor: ue, fieldKey: pe, attrs: h, extendAttrs: d, events: ce, optionItems: f, watchOption: de, fieldObj: me, propResultOpt: k, getFieldOptions: fe } = at({ ...j, exposedWholeInstance: !0 }), { toModel: ve } = ut({
|
|
38
|
+
...j,
|
|
39
|
+
fieldName: A.value
|
|
40
|
+
}), U = y();
|
|
41
|
+
var ge = T(() => De(f == null ? void 0 : f.value, "children", (e) => V.getValue(e == null ? void 0 : e.filterable) || !1));
|
|
42
|
+
const he = (e) => {
|
|
43
|
+
var t, r;
|
|
44
|
+
U.value = { ...e }, (r = (t = h.value) == null ? void 0 : t.filterChange) == null || r.call(t, e);
|
|
45
|
+
}, _e = (e, t, r) => {
|
|
46
|
+
if (!e || (e == null ? void 0 : e.length) <= 0)
|
|
47
|
+
return e;
|
|
48
|
+
let a = [...e];
|
|
49
|
+
return !t || t.length <= 0 || r && r.length > 0 && (r == null || r.forEach((n) => {
|
|
50
|
+
a = a == null ? void 0 : a.filter(
|
|
51
|
+
(l) => {
|
|
52
|
+
var m;
|
|
53
|
+
const s = n.prop, u = V.getValue(n == null ? void 0 : n.filterMethod), o = t[s];
|
|
54
|
+
if (!u || !L(o))
|
|
55
|
+
return !0;
|
|
56
|
+
const c = (m = ae(o, !0)) == null ? void 0 : m.some((v) => Xe(u, { value: v, row: l, col: { ...n, property: s }, ctx: E }));
|
|
57
|
+
return s && c;
|
|
58
|
+
}
|
|
59
|
+
);
|
|
60
|
+
})), a;
|
|
61
|
+
}, x = y([]), be = (e, t) => {
|
|
62
|
+
if (!e || (e == null ? void 0 : e.length) <= 0)
|
|
63
|
+
return e;
|
|
64
|
+
const r = [...e];
|
|
65
|
+
if (t.length === 0)
|
|
66
|
+
return r;
|
|
67
|
+
const a = {
|
|
68
|
+
descending: "desc",
|
|
69
|
+
ascending: "asc"
|
|
70
|
+
};
|
|
71
|
+
var n = t == null ? void 0 : t.map((l) => ({
|
|
72
|
+
selector: (s, u) => {
|
|
73
|
+
var o, c;
|
|
74
|
+
return ((c = (o = l.column).sortBy) == null ? void 0 : c.call(o, s, u, E)) || s[l.prop];
|
|
75
|
+
},
|
|
76
|
+
method: l.column.sortMethod == null ? (s, u) => {
|
|
77
|
+
var o, c;
|
|
78
|
+
return (c = (o = l.column).sortMethod) == null ? void 0 : c.call(o, s, u, E);
|
|
79
|
+
} : void 0,
|
|
80
|
+
direction: a[l.order]
|
|
81
|
+
}));
|
|
82
|
+
return we(r, ...n);
|
|
83
|
+
}, ye = ({ column: e, prop: t, order: r }) => {
|
|
84
|
+
const a = x.value.findIndex((n) => n.prop === t);
|
|
85
|
+
if (r == null)
|
|
86
|
+
a !== -1 && x.value.splice(a, 1);
|
|
87
|
+
else {
|
|
88
|
+
const n = { column: e, prop: t, order: r };
|
|
89
|
+
a !== -1 ? x.value[a] = n : x.value.push(n);
|
|
90
|
+
}
|
|
91
|
+
_.value = 1;
|
|
92
|
+
}, _ = y(1), C = y((H = d.value) == null ? void 0 : H.pageSize), I = y(10), Se = (e) => {
|
|
93
|
+
C.value = e;
|
|
94
|
+
}, Ne = (e) => {
|
|
95
|
+
_.value = e;
|
|
96
|
+
}, S = y(), Pe = T(() => {
|
|
97
|
+
var t;
|
|
98
|
+
if (j.designState)
|
|
99
|
+
return [{}];
|
|
100
|
+
if ((t = d.value) != null && t.allowPage) {
|
|
101
|
+
var e = Re(W.value, _.value, C.value);
|
|
102
|
+
return I.value = e == null ? void 0 : e.totalItems, e == null ? void 0 : e.data;
|
|
103
|
+
} else
|
|
104
|
+
return W.value;
|
|
105
|
+
}), W = T(() => {
|
|
106
|
+
let e = S.value;
|
|
107
|
+
return e = _e(e, U.value, ge.value), e = be(e, x.value), e;
|
|
108
|
+
}), M = y(!1), Fe = () => {
|
|
109
|
+
_.value = 1, I.value = 0, S.value = [];
|
|
110
|
+
}, $ = (e = !1) => new Promise((t, r) => {
|
|
111
|
+
const a = (n) => {
|
|
112
|
+
S.value = n, M.value = !1, t(n);
|
|
113
|
+
};
|
|
114
|
+
de(e, lt.data, () => {
|
|
115
|
+
Fe(), M.value = !0;
|
|
116
|
+
}, (n) => {
|
|
117
|
+
var l, s;
|
|
118
|
+
(l = d.value) != null && l.beforeTableRender ? (s = d.value) == null || s.beforeTableRender(n, (u) => {
|
|
119
|
+
a(u);
|
|
120
|
+
}) : a(n);
|
|
121
|
+
});
|
|
122
|
+
}), xe = (e) => {
|
|
123
|
+
et(e) && (e = He(e)), S.value = ae(e, !0);
|
|
124
|
+
}, Ce = () => S.value, Oe = (e = !0) => {
|
|
125
|
+
M.value = e;
|
|
126
|
+
}, G = We({}), ze = A.value;
|
|
127
|
+
st.globalProvide({
|
|
128
|
+
globalFormName: ze,
|
|
129
|
+
globalDataModel: G
|
|
130
|
+
});
|
|
131
|
+
const je = B.i18nt("designer.hint.noData"), ke = () => {
|
|
132
|
+
var t;
|
|
133
|
+
var e = {};
|
|
134
|
+
return (t = Object.keys(p == null ? void 0 : p.allRefList)) == null || t.forEach((r) => {
|
|
135
|
+
var l, s, u;
|
|
136
|
+
var a = (u = (s = (l = p == null ? void 0 : p.allRefList[r]) == null ? void 0 : l.exposed) == null ? void 0 : s.getField) == null ? void 0 : u.call(s);
|
|
137
|
+
if (a) {
|
|
138
|
+
const o = oe(r);
|
|
139
|
+
if (!(o != null && o.groupName) || (o == null ? void 0 : o.groupName) === "header")
|
|
140
|
+
return;
|
|
141
|
+
var n = e[o == null ? void 0 : o.groupName];
|
|
142
|
+
n || (n = []), n.push(a), e[o == null ? void 0 : o.groupName] = n;
|
|
143
|
+
}
|
|
144
|
+
}), tt(e).map((r) => ve(G, e[r]));
|
|
145
|
+
}, Me = (e) => {
|
|
146
|
+
var t;
|
|
147
|
+
!e || e.length <= 0 || (t = Object.keys(p == null ? void 0 : p.allRefList)) == null || t.forEach((r) => {
|
|
148
|
+
var u, o, c, m, v, b, O;
|
|
149
|
+
var a = (c = (o = (u = p == null ? void 0 : p.allRefList[r]) == null ? void 0 : u.exposed) == null ? void 0 : o.getField) == null ? void 0 : c.call(o);
|
|
150
|
+
if (!a)
|
|
151
|
+
return;
|
|
152
|
+
const n = oe(r);
|
|
153
|
+
if (!(n != null && n.groupName))
|
|
154
|
+
return;
|
|
155
|
+
var l = e == null ? void 0 : e[parseInt(n == null ? void 0 : n.groupName)];
|
|
156
|
+
const s = (m = a == null ? void 0 : a._source) == null ? void 0 : m.name;
|
|
157
|
+
(l == null ? void 0 : l[s]) != null && ((O = (b = (v = p == null ? void 0 : p.allRefList[r]) == null ? void 0 : v.exposed) == null ? void 0 : b.setValue) == null || O.call(b, l == null ? void 0 : l[s]));
|
|
158
|
+
});
|
|
159
|
+
}, Ee = T(() => {
|
|
160
|
+
var e;
|
|
161
|
+
return (e = d.value) == null ? void 0 : e.enableExport;
|
|
162
|
+
}), { exporting: Te, exportExcel: Ve } = Je(), { splitNumericUnit: Ie } = pt(), E = Qe({ instance: k == null ? void 0 : k.instance }), K = (e) => {
|
|
163
|
+
var t;
|
|
164
|
+
return ((t = e == null ? void 0 : e.filter((r) => !!V.getValue(r.exportable))) == null ? void 0 : t.map((r) => {
|
|
165
|
+
var l;
|
|
166
|
+
const { getWidgetOptionByPropValue: a } = Ye({ options: r }), n = (l = Ie(r.width + "")) == null ? void 0 : l.numeric;
|
|
167
|
+
return {
|
|
168
|
+
prop: r.prop,
|
|
169
|
+
label: r.label,
|
|
170
|
+
children: K(r.children),
|
|
171
|
+
width: n,
|
|
172
|
+
formatter: (s, u, o, c) => {
|
|
173
|
+
const m = r.formatter;
|
|
174
|
+
if (!m || !V.getValue(m))
|
|
175
|
+
return o;
|
|
176
|
+
const v = { row: s, column: u, cellValue: o, index: c, ctx: E };
|
|
177
|
+
return Ze(a(m), v);
|
|
178
|
+
}
|
|
179
|
+
};
|
|
180
|
+
})) || [];
|
|
181
|
+
}, q = (e) => {
|
|
182
|
+
var a, n, l;
|
|
183
|
+
const t = {
|
|
184
|
+
filename: (a = d.value) == null ? void 0 : a.exportFileName,
|
|
185
|
+
sheetName: (n = d.value) == null ? void 0 : n.exportSheetName,
|
|
186
|
+
autoWidth: (l = d.value) == null ? void 0 : l.exportAutoWidth
|
|
187
|
+
}, r = K(f == null ? void 0 : f.value);
|
|
188
|
+
return Ve(W.value, r, { ...t, ...e });
|
|
189
|
+
};
|
|
190
|
+
return Be(() => {
|
|
191
|
+
j.designState || $(!0);
|
|
192
|
+
}), se({
|
|
193
|
+
...p,
|
|
194
|
+
setValue: xe,
|
|
195
|
+
getValue: Ce,
|
|
196
|
+
refresh: $,
|
|
197
|
+
getTableData: ke,
|
|
198
|
+
setTableData: Me,
|
|
199
|
+
setLoading: Oe,
|
|
200
|
+
exporting: Te,
|
|
201
|
+
exportToExcel: q,
|
|
202
|
+
currentPage: () => _.value,
|
|
203
|
+
pageSize: () => C.value
|
|
204
|
+
}), (e, t) => {
|
|
205
|
+
const r = P("el-empty"), a = P("el-button"), n = P("el-col"), l = P("el-row"), s = P("el-table"), u = P("el-pagination"), o = Le("loading");
|
|
206
|
+
return g(), F(nt, ee(e.$props, {
|
|
207
|
+
"prop-options": { fieldObj: i(me) }
|
|
208
|
+
}), {
|
|
209
|
+
default: z(({ data: c }) => {
|
|
210
|
+
var m, v, b, O, J, Q, X, Y, Z, D, R, w;
|
|
211
|
+
return [
|
|
212
|
+
!i(f) || ((m = i(f)) == null ? void 0 : m.length) <= 0 || ((v = i(f)) == null ? void 0 : v[0]) == null ? (g(), F(r, {
|
|
213
|
+
key: 0,
|
|
214
|
+
description: i(B).i18nt("designer.hint.tableSetting")
|
|
215
|
+
}, null, 8, ["description"])) : Ae((g(), te("div", ct, [
|
|
216
|
+
i(Ee) ? (g(), F(l, {
|
|
217
|
+
key: 0,
|
|
218
|
+
justify: "end"
|
|
219
|
+
}, {
|
|
220
|
+
default: z(() => [
|
|
221
|
+
re(n, {
|
|
222
|
+
span: 24,
|
|
223
|
+
style: { "text-align": "right", margin: "10px" }
|
|
224
|
+
}, {
|
|
225
|
+
default: z(() => [
|
|
226
|
+
re(a, { onClick: q }, {
|
|
227
|
+
default: z(() => [
|
|
228
|
+
Ue($e(i(B).i18nt("designer.hint.export")), 1)
|
|
229
|
+
]),
|
|
230
|
+
_: 1
|
|
231
|
+
})
|
|
232
|
+
]),
|
|
233
|
+
_: 1
|
|
234
|
+
})
|
|
235
|
+
]),
|
|
236
|
+
_: 1
|
|
237
|
+
})) : ne("", !0),
|
|
238
|
+
(g(), F(s, ee({
|
|
239
|
+
ref_key: "fieldEditor",
|
|
240
|
+
ref: ue
|
|
241
|
+
}, i(h), Ge(i(ce)), {
|
|
242
|
+
key: i(pe),
|
|
243
|
+
"empty-text": ((b = i(h)) == null ? void 0 : b.emptyText) || i(je),
|
|
244
|
+
size: c.size,
|
|
245
|
+
defaultSort: i(L)((O = i(h)) == null ? void 0 : O.defaultSort) ? (J = i(h)) == null ? void 0 : J.defaultSort : void 0,
|
|
246
|
+
treeProps: i(L)((Q = i(h)) == null ? void 0 : Q.treeProps) ? (X = i(h)) == null ? void 0 : X.treeProps : void 0,
|
|
247
|
+
class: c.injectClass,
|
|
248
|
+
style: c.injectStyle,
|
|
249
|
+
data: i(Pe),
|
|
250
|
+
onFilterChange: he,
|
|
251
|
+
onSortChange: ye
|
|
252
|
+
}), {
|
|
253
|
+
default: z(() => [
|
|
254
|
+
(g(!0), te(Ke, null, qe(i(fe)("optionItems"), (N, mt) => (g(), F(it, {
|
|
255
|
+
key: N.uuid,
|
|
256
|
+
options: N,
|
|
257
|
+
designer: e.designer,
|
|
258
|
+
propResultOpt: i(k),
|
|
259
|
+
designState: e.designState,
|
|
260
|
+
"real-table-data": S.value
|
|
261
|
+
}, null, 8, ["options", "designer", "propResultOpt", "designState", "real-table-data"]))), 128))
|
|
262
|
+
]),
|
|
263
|
+
_: 2
|
|
264
|
+
}, 1040, ["empty-text", "size", "defaultSort", "treeProps", "class", "style", "data"])),
|
|
265
|
+
(Y = i(d)) != null && Y.allowPage ? (g(), F(u, {
|
|
266
|
+
key: 1,
|
|
267
|
+
"current-page": _.value,
|
|
268
|
+
"onUpdate:current-page": t[0] || (t[0] = (N) => _.value = N),
|
|
269
|
+
"page-size": C.value,
|
|
270
|
+
"onUpdate:page-size": t[1] || (t[1] = (N) => C.value = N),
|
|
271
|
+
"page-sizes": (Z = i(d)) == null ? void 0 : Z.pageSizes,
|
|
272
|
+
hideOnSinglePage: (D = i(d)) == null ? void 0 : D.hideOnSinglePage,
|
|
273
|
+
layout: (w = (R = i(d)) == null ? void 0 : R.layout) == null ? void 0 : w.join(","),
|
|
274
|
+
total: I.value,
|
|
275
|
+
onSizeChange: Se,
|
|
276
|
+
onCurrentChange: Ne
|
|
277
|
+
}, null, 8, ["current-page", "page-size", "page-sizes", "hideOnSinglePage", "layout", "total"])) : ne("", !0)
|
|
278
|
+
])), [
|
|
279
|
+
[o, !e.designState && M.value]
|
|
280
|
+
])
|
|
281
|
+
];
|
|
282
|
+
}),
|
|
283
|
+
_: 1
|
|
284
|
+
}, 16, ["prop-options"]);
|
|
285
|
+
};
|
|
286
|
+
}
|
|
287
|
+
});
|
|
288
|
+
export {
|
|
289
|
+
qt as default
|
|
290
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as y, computed as _, ref as L, resolveComponent as R, resolveDirective as U, openBlock as i, createBlock as d, mergeProps as v, unref as t, withCtx as w, withDirectives as W, toHandlers as z, isRef as E, createElementBlock as q, Fragment as G, renderList as J } from "vue";
|
|
2
|
-
import { c as n } from "./enum-type-
|
|
3
|
-
import { b as Q } from "./obj-
|
|
4
|
-
import { w as X, b as Y } from "./expression-
|
|
2
|
+
import { c as n } from "./enum-type-a17e3665.js";
|
|
3
|
+
import { b as Q } from "./obj-a84ba092.js";
|
|
4
|
+
import { w as X, b as Y } from "./expression-5faad92e.js";
|
|
5
5
|
import { I as Z } from "./widget-base-4c2d6265.js";
|
|
6
|
-
import { c as ee } from "./share-field-
|
|
7
|
-
import { _ as te } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
8
|
-
import { _ as oe } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-
|
|
9
|
-
import { a as ae } from "./index-
|
|
10
|
-
import { B as T } from "./baseImp-
|
|
6
|
+
import { c as ee } from "./share-field-905c2e55.js";
|
|
7
|
+
import { _ as te } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c756d7c4.js";
|
|
8
|
+
import { _ as oe } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-a1513631.js";
|
|
9
|
+
import { a as ae } from "./index-52076e3d.js";
|
|
10
|
+
import { B as T } from "./baseImp-4b12b278.js";
|
|
11
11
|
const se = y({ componentName: X.ContainerWidget }), ne = /* @__PURE__ */ y({
|
|
12
12
|
...se,
|
|
13
13
|
__name: "tabs-widget",
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as c } from "vue";
|
|
2
2
|
import { I as f } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as l } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
4
|
-
import { w as d } from "./expression-
|
|
5
|
-
import { c as _ } from "./share-field-
|
|
3
|
+
import { _ as l } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-acb84507.js";
|
|
4
|
+
import { w as d } from "./expression-5faad92e.js";
|
|
5
|
+
import { c as _ } from "./share-field-905c2e55.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
7
|
-
import "./enum-type-
|
|
8
|
-
import "./obj-
|
|
9
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./uuid-
|
|
12
|
-
import "./enum-type-
|
|
13
|
-
import "./optionItem-
|
|
14
|
-
import "./baseImp-
|
|
7
|
+
import "./enum-type-a17e3665.js";
|
|
8
|
+
import "./obj-a84ba092.js";
|
|
9
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c756d7c4.js";
|
|
10
|
+
import "./index-52076e3d.js";
|
|
11
|
+
import "./uuid-45249b4f.js";
|
|
12
|
+
import "./enum-type-b8e43a16.js";
|
|
13
|
+
import "./optionItem-5b4cb7f1.js";
|
|
14
|
+
import "./baseImp-4b12b278.js";
|
|
15
15
|
import "./icon-6342f929.js";
|
|
16
|
-
import "./dialog-
|
|
16
|
+
import "./dialog-6f55b50a.js";
|
|
17
17
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
18
|
import "element-plus";
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./index-
|
|
19
|
+
import "./index-dc7017c1.js";
|
|
20
|
+
import "./index-a478c2e7.js";
|
|
21
21
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
22
|
-
import "./fieldobj-
|
|
23
|
-
import "./slot-
|
|
24
|
-
import "./index-
|
|
25
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
26
|
-
import "./drag-wrapper-
|
|
22
|
+
import "./fieldobj-1334f6d2.js";
|
|
23
|
+
import "./slot-ee1705c0.js";
|
|
24
|
+
import "./index-05fbd4a9.js";
|
|
25
|
+
import "./content-wrapper.vue_vue_type_script_setup_true_lang-c1becdad.js";
|
|
26
|
+
import "./drag-wrapper-35fa05aa.js";
|
|
27
27
|
import "./source-map-b04aec4a.js";
|
|
28
28
|
import "./esprima-e8d15055.js";
|
|
29
|
-
import "./emitter-
|
|
30
|
-
import "./multirow-
|
|
29
|
+
import "./emitter-2df329ed.js";
|
|
30
|
+
import "./multirow-da4641c0.js";
|
|
31
31
|
const u = o({ componentName: d.FieldWidget }), R = /* @__PURE__ */ o({
|
|
32
32
|
...u,
|
|
33
33
|
__name: "tag-widget",
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { defineComponent as s, shallowRef as u, ref as f, onMounted as l, openBlock as d, createBlock as a, resolveDynamicComponent as _, unref as v, mergeProps as g, defineAsyncComponent as y } from "vue";
|
|
2
|
-
import { I as E } from "./property-base-
|
|
3
|
-
import "./enum-type-
|
|
4
|
-
import "./enum-type-
|
|
5
|
-
import "./obj-
|
|
6
|
-
import "./baseImp-
|
|
7
|
-
import "./expression-
|
|
2
|
+
import { I as E } from "./property-base-bb1fa2b7.js";
|
|
3
|
+
import "./enum-type-b8e43a16.js";
|
|
4
|
+
import "./enum-type-a17e3665.js";
|
|
5
|
+
import "./obj-a84ba092.js";
|
|
6
|
+
import "./baseImp-4b12b278.js";
|
|
7
|
+
import "./expression-5faad92e.js";
|
|
8
8
|
import "./source-map-b04aec4a.js";
|
|
9
|
-
import "./uuid-
|
|
9
|
+
import "./uuid-45249b4f.js";
|
|
10
10
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
11
11
|
import "./esprima-e8d15055.js";
|
|
12
12
|
import "./icon-6342f929.js";
|
|
13
|
-
import "./dialog-
|
|
13
|
+
import "./dialog-6f55b50a.js";
|
|
14
14
|
import "element-plus";
|
|
15
15
|
const q = /* @__PURE__ */ s({
|
|
16
16
|
__name: "target-code",
|
|
17
17
|
props: { ...E },
|
|
18
18
|
setup(k, { expose: p }) {
|
|
19
|
-
const e = u(), r = f(), m = () => y(() => import("./index-
|
|
19
|
+
const e = u(), r = f(), m = () => y(() => import("./index-803f5357.js")), i = () => ({ code: r.value.save() });
|
|
20
20
|
return l(() => {
|
|
21
21
|
e.value = m();
|
|
22
22
|
}), p({
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import { defineComponent as H, ref as p, shallowRef as K, onMounted as Q, resolveComponent as n, openBlock as m, createElementBlock as D, createVNode as o, withCtx as r, unref as a, Fragment as X, renderList as Y, createBlock as I, createTextVNode as d, toDisplayString as f, createElementVNode as N, resolveDynamicComponent as Z, defineAsyncComponent as ee } from "vue";
|
|
2
|
-
import { a as u } from "./enum-type-
|
|
3
|
-
import { e as te,
|
|
4
|
-
import { e as le, L as re } from "./obj-
|
|
5
|
-
import { _ as ie } from "./reg-editor.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { d as ne } from "./enum-type-
|
|
2
|
+
import { a as u } from "./enum-type-a17e3665.js";
|
|
3
|
+
import { e as te, V as oe } from "./baseImp-4b12b278.js";
|
|
4
|
+
import { e as le, L as re } from "./obj-a84ba092.js";
|
|
5
|
+
import { _ as ie } from "./reg-editor.vue_vue_type_script_setup_true_lang-2d0eb8d7.js";
|
|
6
|
+
import { d as ne } from "./enum-type-b8e43a16.js";
|
|
7
7
|
import { _ as ae } from "./_plugin-vue_export-helper-dad06003.js";
|
|
8
|
-
import "./expression-
|
|
8
|
+
import "./expression-5faad92e.js";
|
|
9
9
|
import "./source-map-b04aec4a.js";
|
|
10
|
-
import "./uuid-
|
|
10
|
+
import "./uuid-45249b4f.js";
|
|
11
11
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
12
12
|
import "./esprima-e8d15055.js";
|
|
13
13
|
import "./icon-6342f929.js";
|
|
14
|
-
import "./dialog-
|
|
14
|
+
import "./dialog-6f55b50a.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./emitter-
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./optionItem-
|
|
20
|
-
import "./index-
|
|
21
|
-
import "./drag-wrapper-
|
|
16
|
+
import "./index-839f44bc.js";
|
|
17
|
+
import "./emitter-2df329ed.js";
|
|
18
|
+
import "./index-52076e3d.js";
|
|
19
|
+
import "./optionItem-5b4cb7f1.js";
|
|
20
|
+
import "./index-dc7017c1.js";
|
|
21
|
+
import "./drag-wrapper-35fa05aa.js";
|
|
22
22
|
import "./widget-base-4c2d6265.js";
|
|
23
|
-
import "./slot-
|
|
24
|
-
import "./index-
|
|
25
|
-
import "./property-base-
|
|
26
|
-
import "./install-designer-
|
|
27
|
-
import "./cont-cell-widget-
|
|
28
|
-
import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-
|
|
29
|
-
import "./share-field-
|
|
30
|
-
import "./multirow-
|
|
31
|
-
import "./cont-widget-
|
|
32
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
33
|
-
import "./index-
|
|
34
|
-
import "./fieldobj-
|
|
35
|
-
import "./form-widget-
|
|
36
|
-
import "./grid-col-widget-
|
|
37
|
-
import "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-
|
|
38
|
-
import "./grid-widget-
|
|
39
|
-
import "./ltable-col-widget-
|
|
40
|
-
import "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-
|
|
41
|
-
import "./ltable-widget-
|
|
42
|
-
import "./tab-pane-widget-
|
|
43
|
-
import "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-
|
|
44
|
-
import "./tabs-widget-
|
|
45
|
-
import "./wrapper-widget-
|
|
46
|
-
import "./index-
|
|
47
|
-
import "./index-
|
|
23
|
+
import "./slot-ee1705c0.js";
|
|
24
|
+
import "./index-05fbd4a9.js";
|
|
25
|
+
import "./property-base-bb1fa2b7.js";
|
|
26
|
+
import "./install-designer-a22d189f.js";
|
|
27
|
+
import "./cont-cell-widget-9010de06.js";
|
|
28
|
+
import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-88ec4097.js";
|
|
29
|
+
import "./share-field-905c2e55.js";
|
|
30
|
+
import "./multirow-da4641c0.js";
|
|
31
|
+
import "./cont-widget-edf4bb99.js";
|
|
32
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c756d7c4.js";
|
|
33
|
+
import "./index-a478c2e7.js";
|
|
34
|
+
import "./fieldobj-1334f6d2.js";
|
|
35
|
+
import "./form-widget-49bec769.js";
|
|
36
|
+
import "./grid-col-widget-0a2e4f35.js";
|
|
37
|
+
import "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ee30cfb6.js";
|
|
38
|
+
import "./grid-widget-4b99a1e5.js";
|
|
39
|
+
import "./ltable-col-widget-79f07e18.js";
|
|
40
|
+
import "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-6b7aaf43.js";
|
|
41
|
+
import "./ltable-widget-dd5848f7.js";
|
|
42
|
+
import "./tab-pane-widget-3e031d20.js";
|
|
43
|
+
import "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-a1513631.js";
|
|
44
|
+
import "./tabs-widget-b13b7fc3.js";
|
|
45
|
+
import "./wrapper-widget-9e48a45c.js";
|
|
46
|
+
import "./index-a794936d.js";
|
|
47
|
+
import "./index-d782504a.js";
|
|
48
48
|
import "./setView-de8aaf40.js";
|
|
49
49
|
const se = { class: "full-height" }, ce = { class: "full-width flex flexJustify" }, pe = { style: { width: "99.5%", "margin-top": "10px" } }, ue = /* @__PURE__ */ H({
|
|
50
50
|
__name: "target-datasource",
|
|
@@ -55,14 +55,14 @@ const se = { class: "full-height" }, ce = { class: "full-width flex flexJustify"
|
|
|
55
55
|
},
|
|
56
56
|
setup(v, { expose: B }) {
|
|
57
57
|
var k, F;
|
|
58
|
-
const c = v, y = p(c.attrs || {}), _ = p((k = c.attrs) == null ? void 0 : k.sourceId), h = p(((F = c.attrs) == null ? void 0 : F.params) || "{}"), V = p(), w = K(),
|
|
59
|
-
w.value = ee(() => import("./index-
|
|
60
|
-
}, g = p(), { buildVariable:
|
|
58
|
+
const c = v, y = p(c.attrs || {}), _ = p((k = c.attrs) == null ? void 0 : k.sourceId), h = p(((F = c.attrs) == null ? void 0 : F.params) || "{}"), V = p(), w = K(), $ = () => {
|
|
59
|
+
w.value = ee(() => import("./index-9498fe28.js"));
|
|
60
|
+
}, g = p(), { buildVariable: W } = te(), x = p(((e) => {
|
|
61
61
|
var l;
|
|
62
62
|
return e ? (l = le(e)) == null ? void 0 : l.map((t) => ({
|
|
63
63
|
label: t.label,
|
|
64
64
|
id: t.id,
|
|
65
|
-
caller: `${
|
|
65
|
+
caller: `${W(t.id)}`,
|
|
66
66
|
attrs: { type: t.type }
|
|
67
67
|
})) : null;
|
|
68
68
|
})(c == null ? void 0 : c.widgetList)), U = {
|
|
@@ -82,7 +82,7 @@ const se = { class: "full-height" }, ce = { class: "full-width flex flexJustify"
|
|
|
82
82
|
params: L(h.value)
|
|
83
83
|
});
|
|
84
84
|
return Q(() => {
|
|
85
|
-
|
|
85
|
+
$();
|
|
86
86
|
}), B({
|
|
87
87
|
save: P
|
|
88
88
|
}), (e, l) => {
|