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,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as u, openBlock as e, createElementBlock as l, Fragment as o, createElementVNode as s, renderList as m, unref as p, normalizeStyle as d, toDisplayString as r, createCommentVNode as i, createTextVNode as f } from "vue";
|
|
2
|
-
import { P as t,
|
|
3
|
-
import "./enum-type-
|
|
2
|
+
import { P as t, bg as E } from "./enum-type-c18fbe35.js";
|
|
3
|
+
import "./enum-type-1f76903b.js";
|
|
4
4
|
const x = /* @__PURE__ */ u({
|
|
5
5
|
__name: "item",
|
|
6
6
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as f, openBlock as e, createElementBlock as t, Fragment as a, renderList as i, unref as n, toDisplayString as c, createCommentVNode as d, createElementVNode as g, createTextVNode as y } from "vue";
|
|
2
|
-
import { P as o,
|
|
3
|
-
import { a as h,
|
|
2
|
+
import { P as o, bg as k, bk as T } from "./enum-type-c18fbe35.js";
|
|
3
|
+
import { a as h, l as v } from "./enum-type-1f76903b.js";
|
|
4
4
|
const _ = {
|
|
5
5
|
key: 0,
|
|
6
6
|
style: { color: "#aaa", display: "inline-block", "margin-right": "1em" }
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { _ as o } from "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { _ as o } from "./label-wrapper.vue_vue_type_style_index_0_lang-aa973f24.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "./field-base-5547436d.js";
|
|
4
4
|
import "./widget-base-4c2d6265.js";
|
|
5
|
-
import "./index-
|
|
6
|
-
import "./enum-type-
|
|
5
|
+
import "./index-149bbd97.js";
|
|
6
|
+
import "./enum-type-1f76903b.js";
|
|
7
7
|
import "./icon-2bb9fa65.js";
|
|
8
8
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
9
|
-
import "./enum-type-
|
|
9
|
+
import "./enum-type-c18fbe35.js";
|
|
10
|
+
import "./fieldobj-cb39e533.js";
|
|
10
11
|
export {
|
|
11
12
|
o as default
|
|
12
13
|
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { defineComponent as h, computed as s, resolveComponent as x, unref as e, openBlock as n, createElementBlock as a, normalizeClass as S, Fragment as o, createVNode as t, withCtx as y, createTextVNode as i, toDisplayString as m } from "vue";
|
|
2
|
+
import { I as T } from "./field-base-5547436d.js";
|
|
3
|
+
import { S as b } from "./index-149bbd97.js";
|
|
4
|
+
import { f as d } from "./enum-type-c18fbe35.js";
|
|
5
|
+
import { u as v } from "./fieldobj-cb39e533.js";
|
|
6
|
+
const w = { key: 1 }, z = /* @__PURE__ */ h({
|
|
7
|
+
__name: "label-wrapper",
|
|
8
|
+
props: {
|
|
9
|
+
...T,
|
|
10
|
+
rules: { type: Array },
|
|
11
|
+
labelAlign: { type: String, default: "" },
|
|
12
|
+
label: { type: String, default: "" }
|
|
13
|
+
},
|
|
14
|
+
setup(k) {
|
|
15
|
+
const f = k, { getAttrProp: l } = v(f), c = s(() => f.label || (l == null ? void 0 : l("label"))), C = s(() => l == null ? void 0 : l("labelHidden")), r = s(() => l == null ? void 0 : l("labelTooltip")), p = s(() => l == null ? void 0 : l("labelTooltip")), _ = s(() => l == null ? void 0 : l("labelIconClass")), I = s(() => f.labelAlign || (l == null ? void 0 : l("labelAlign")));
|
|
16
|
+
return (F, B) => {
|
|
17
|
+
const u = x("el-tooltip");
|
|
18
|
+
return e(C) ? (n(), a("span", w, " ")) : (n(), a("span", {
|
|
19
|
+
key: 0,
|
|
20
|
+
class: S([[e(I)], "label-wrapper"])
|
|
21
|
+
}, [
|
|
22
|
+
e(r) === e(d).front ? (n(), a(o, { key: 0 }, [
|
|
23
|
+
e(p) ? (n(), a(o, { key: 0 }, [
|
|
24
|
+
t(u, {
|
|
25
|
+
content: e(p),
|
|
26
|
+
effect: "light"
|
|
27
|
+
}, {
|
|
28
|
+
default: y(() => [
|
|
29
|
+
t(b, { name: e(_) }, null, 8, ["name"])
|
|
30
|
+
]),
|
|
31
|
+
_: 1
|
|
32
|
+
}, 8, ["content"]),
|
|
33
|
+
i(m(e(c)), 1)
|
|
34
|
+
], 64)) : (n(), a(o, { key: 1 }, [
|
|
35
|
+
t(b, { name: e(_) }, null, 8, ["name"]),
|
|
36
|
+
i(m(e(c)), 1)
|
|
37
|
+
], 64))
|
|
38
|
+
], 64)) : e(r) === e(d).rear ? (n(), a(o, { key: 1 }, [
|
|
39
|
+
e(p) ? (n(), a(o, { key: 0 }, [
|
|
40
|
+
i(m(e(c)), 1),
|
|
41
|
+
t(u, {
|
|
42
|
+
content: e(p),
|
|
43
|
+
effect: "light"
|
|
44
|
+
}, {
|
|
45
|
+
default: y(() => [
|
|
46
|
+
t(b, { name: e(_) }, null, 8, ["name"])
|
|
47
|
+
]),
|
|
48
|
+
_: 1
|
|
49
|
+
}, 8, ["content"])
|
|
50
|
+
], 64)) : (n(), a(o, { key: 1 }, [
|
|
51
|
+
i(m(e(c)), 1),
|
|
52
|
+
t(b, { name: e(_) }, null, 8, ["name"])
|
|
53
|
+
], 64))
|
|
54
|
+
], 64)) : (n(), a(o, { key: 2 }, [
|
|
55
|
+
i(m(e(c)), 1)
|
|
56
|
+
], 64))
|
|
57
|
+
], 2));
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
export {
|
|
62
|
+
z as _
|
|
63
|
+
};
|
|
@@ -1,47 +1,49 @@
|
|
|
1
|
-
import { defineComponent as l, openBlock as
|
|
1
|
+
import { defineComponent as l, openBlock as r, createBlock as e, mergeProps as g, unref as o, withCtx as w, createCommentVNode as a, createVNode as N } from "vue";
|
|
2
2
|
import { I as O } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as P } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
4
|
-
import { w as C } from "./
|
|
5
|
-
import { _ as F } from "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { S as c } from "./index-
|
|
7
|
-
import { c as S } from "./share-field-
|
|
3
|
+
import { _ as P } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-a813e78f.js";
|
|
4
|
+
import { w as C } from "./expression-d6b26c71.js";
|
|
5
|
+
import { _ as F } from "./content-wrapper.vue_vue_type_script_setup_true_lang-0c6ef203.js";
|
|
6
|
+
import { S as c } from "./index-149bbd97.js";
|
|
7
|
+
import { c as S } from "./share-field-6148dcc0.js";
|
|
8
8
|
import "./widget-base-4c2d6265.js";
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
11
|
-
import "./
|
|
12
|
-
import "./index-
|
|
13
|
-
import "./enum-type-
|
|
14
|
-
import "./optionItem-
|
|
15
|
-
import "./baseImp-
|
|
9
|
+
import "./enum-type-1f76903b.js";
|
|
10
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3631e590.js";
|
|
11
|
+
import "./uuid-5db95cc2.js";
|
|
12
|
+
import "./index-c4969f7e.js";
|
|
13
|
+
import "./enum-type-c18fbe35.js";
|
|
14
|
+
import "./optionItem-44768932.js";
|
|
15
|
+
import "./baseImp-d2bf3a20.js";
|
|
16
16
|
import "./icon-2bb9fa65.js";
|
|
17
|
-
import "./dialog-
|
|
17
|
+
import "./dialog-d8383c00.js";
|
|
18
18
|
import "element-plus";
|
|
19
19
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
20
|
-
import "./index-
|
|
21
|
-
import "./
|
|
20
|
+
import "./index-977c12a0.js";
|
|
21
|
+
import "./fieldobj-cb39e533.js";
|
|
22
|
+
import "./slot-ea675585.js";
|
|
23
|
+
import "./drag-wrapper-dabca12e.js";
|
|
22
24
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
-
import "./emitter-
|
|
24
|
-
import "./multirow-
|
|
25
|
-
const V = l({ componentName: C.FieldWidget }),
|
|
25
|
+
import "./emitter-cfcc9243.js";
|
|
26
|
+
import "./multirow-c413f913.js";
|
|
27
|
+
const V = l({ componentName: C.FieldWidget }), ro = /* @__PURE__ */ l({
|
|
26
28
|
...V,
|
|
27
29
|
__name: "link-widget",
|
|
28
30
|
props: { ...O },
|
|
29
31
|
setup(f, { expose: d }) {
|
|
30
32
|
const _ = f, { attrs: u, extendAttrs: t, exposed: x, fieldObj: I } = S(_);
|
|
31
|
-
return d({ ...x }), (k, $) => (
|
|
33
|
+
return d({ ...x }), (k, $) => (r(), e(P, g(k.$props, {
|
|
32
34
|
propOptions: { elementName: "el-link", fieldObj: o(I) }
|
|
33
35
|
}), {
|
|
34
36
|
contentSlot: w(({ data: b }) => {
|
|
35
37
|
var p, m, i, n, s;
|
|
36
38
|
return [
|
|
37
|
-
(p = o(t)) != null && p.prefixIcon ? (
|
|
39
|
+
(p = o(t)) != null && p.prefixIcon ? (r(), e(c, {
|
|
38
40
|
key: (m = o(t)) == null ? void 0 : m.prefixIcon,
|
|
39
41
|
name: (i = o(t)) == null ? void 0 : i.prefixIcon
|
|
40
42
|
}, null, 8, ["name"])) : a("", !0),
|
|
41
43
|
N(F, {
|
|
42
44
|
allProps: { content: o(u).content || o(t).content }
|
|
43
45
|
}, null, 8, ["allProps"]),
|
|
44
|
-
(n = o(t)) != null && n.suffixIcon ? (
|
|
46
|
+
(n = o(t)) != null && n.suffixIcon ? (r(), e(c, {
|
|
45
47
|
key: 1,
|
|
46
48
|
name: (s = o(t)) == null ? void 0 : s.suffixIcon
|
|
47
49
|
}, null, 8, ["name"])) : a("", !0)
|
|
@@ -52,5 +54,5 @@ const V = l({ componentName: C.FieldWidget }), oo = /* @__PURE__ */ l({
|
|
|
52
54
|
}
|
|
53
55
|
});
|
|
54
56
|
export {
|
|
55
|
-
|
|
57
|
+
ro as default
|
|
56
58
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e } from "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-
|
|
1
|
+
import { _ as e } from "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-d34873f3.js";
|
|
2
2
|
const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null,
|
|
4
4
|
default: e
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as B, computed as n, resolveComponent as k, openBlock as ce, createBlock as be, mergeProps as O, unref as l, withCtx as d, createVNode as s, createTextVNode as v, toDisplayString as p, createElementVNode as Ce } from "vue";
|
|
2
|
-
import { a } from "./enum-type-
|
|
3
|
-
import { c as $ } from "./uuid-
|
|
4
|
-
import { w as fe } from "./
|
|
2
|
+
import { a } from "./enum-type-1f76903b.js";
|
|
3
|
+
import { c as $ } from "./uuid-5db95cc2.js";
|
|
4
|
+
import { w as fe } from "./expression-d6b26c71.js";
|
|
5
5
|
import { I as Re } from "./widget-base-4c2d6265.js";
|
|
6
|
-
import { u as $e,
|
|
7
|
-
import { c as Ae } from "./share-field-
|
|
8
|
-
import { c as ke } from "./
|
|
9
|
-
import { B as A } from "./baseImp-
|
|
10
|
-
import { S as De } from "./index-
|
|
11
|
-
import { D as Te } from "./drag-wrapper-
|
|
12
|
-
import { _ as _e } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
+
import { u as $e, e as We } from "./index-c4969f7e.js";
|
|
7
|
+
import { c as Ae } from "./share-field-6148dcc0.js";
|
|
8
|
+
import { c as ke } from "./slot-ea675585.js";
|
|
9
|
+
import { B as A } from "./baseImp-d2bf3a20.js";
|
|
10
|
+
import { S as De } from "./index-149bbd97.js";
|
|
11
|
+
import { D as Te } from "./drag-wrapper-dabca12e.js";
|
|
12
|
+
import { _ as _e } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3631e590.js";
|
|
13
13
|
const he = ["title"], Oe = B({ componentName: fe.ContainerWidget }), Fe = /* @__PURE__ */ B({
|
|
14
14
|
...Oe,
|
|
15
15
|
__name: "ltable-col-widget",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as u, openBlock as t, createBlock as _, mergeProps as I, unref as s, withCtx as O, createElementBlock as r, normalizeClass as j, createElementVNode as c, Fragment as i, renderList as g, createCommentVNode as W } from "vue";
|
|
2
|
-
import { w as A } from "./
|
|
2
|
+
import { w as A } from "./expression-d6b26c71.js";
|
|
3
3
|
import { I as B } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { _ as L } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { _ as N } from "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-
|
|
6
|
-
import { c as P } from "./
|
|
7
|
-
import { c as S } from "./share-field-
|
|
4
|
+
import { _ as L } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3631e590.js";
|
|
5
|
+
import { _ as N } from "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-d34873f3.js";
|
|
6
|
+
import { c as P } from "./slot-ea675585.js";
|
|
7
|
+
import { c as S } from "./share-field-6148dcc0.js";
|
|
8
8
|
import { _ as V } from "./_plugin-vue_export-helper-dad06003.js";
|
|
9
9
|
const $ = { class: "table-layout" }, z = u({ componentName: A.ContainerWidget }), E = /* @__PURE__ */ u({
|
|
10
10
|
...z,
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
import { defineComponent as x, computed as h, resolveComponent as $, openBlock as d, createBlock as y, mergeProps as S, unref as i, withCtx as M, toHandlers as g, createVNode as B } from "vue";
|
|
2
|
-
import { d as j } from "./enum-type-
|
|
2
|
+
import { d as j } from "./enum-type-1f76903b.js";
|
|
3
3
|
import { I as G } from "./field-base-5547436d.js";
|
|
4
|
-
import { _ as N } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { c as P } from "./share-field-
|
|
6
|
-
import { w as R } from "./
|
|
7
|
-
import { _ as H } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import {
|
|
4
|
+
import { _ as N } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3631e590.js";
|
|
5
|
+
import { c as P } from "./share-field-6148dcc0.js";
|
|
6
|
+
import { w as R } from "./expression-d6b26c71.js";
|
|
7
|
+
import { _ as H } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-396112c2.js";
|
|
8
|
+
import { af as k } from "./enum-type-c18fbe35.js";
|
|
9
9
|
import "./widget-base-4c2d6265.js";
|
|
10
|
-
import "./uuid-
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./optionItem-
|
|
13
|
-
import "./baseImp-
|
|
10
|
+
import "./uuid-5db95cc2.js";
|
|
11
|
+
import "./index-c4969f7e.js";
|
|
12
|
+
import "./optionItem-44768932.js";
|
|
13
|
+
import "./baseImp-d2bf3a20.js";
|
|
14
14
|
import "./icon-2bb9fa65.js";
|
|
15
|
-
import "./dialog-
|
|
15
|
+
import "./dialog-d8383c00.js";
|
|
16
16
|
import "element-plus";
|
|
17
17
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./index-
|
|
18
|
+
import "./index-977c12a0.js";
|
|
19
|
+
import "./index-149bbd97.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./
|
|
22
|
-
import "./
|
|
23
|
-
import "./slot-
|
|
24
|
-
|
|
21
|
+
import "./fieldobj-cb39e533.js";
|
|
22
|
+
import "./emitter-cfcc9243.js";
|
|
23
|
+
import "./slot-ea675585.js";
|
|
24
|
+
import "./multirow-c413f913.js";
|
|
25
|
+
const K = x({ componentName: R.FieldWidget }), ae = /* @__PURE__ */ x({
|
|
25
26
|
...K,
|
|
26
27
|
__name: "menu-widget",
|
|
27
28
|
props: { ...G },
|
|
@@ -92,5 +93,5 @@ const K = x({ componentName: R.FieldWidget }), ce = /* @__PURE__ */ x({
|
|
|
92
93
|
}
|
|
93
94
|
});
|
|
94
95
|
export {
|
|
95
|
-
|
|
96
|
+
ae as default
|
|
96
97
|
};
|
|
@@ -1,52 +1,53 @@
|
|
|
1
1
|
import { defineComponent as O, resolveComponent as S, openBlock as _, createBlock as v, mergeProps as W, unref as r, withCtx as y, createElementVNode as g, createElementBlock as $, Fragment as j, renderList as K, resolveDynamicComponent as L, createTextVNode as h, toDisplayString as B, createCommentVNode as C } from "vue";
|
|
2
2
|
import { I as M } from "./widget-base-4c2d6265.js";
|
|
3
|
-
import { c as q } from "./share-field-
|
|
4
|
-
import { _ as z } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { W as w } from "./enum-type-
|
|
6
|
-
import {
|
|
7
|
-
import { a as x } from "./enum-type-
|
|
3
|
+
import { c as q } from "./share-field-6148dcc0.js";
|
|
4
|
+
import { _ as z } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3631e590.js";
|
|
5
|
+
import { W as w } from "./enum-type-c18fbe35.js";
|
|
6
|
+
import { d as I } from "./baseImp-d2bf3a20.js";
|
|
7
|
+
import { a as x } from "./enum-type-1f76903b.js";
|
|
8
8
|
import { Plus as G, Edit as H } from "./index-ddd23411.js";
|
|
9
|
-
import "./emitter-
|
|
9
|
+
import "./emitter-cfcc9243.js";
|
|
10
10
|
import "./icon-2bb9fa65.js";
|
|
11
|
-
import "./
|
|
11
|
+
import "./expression-d6b26c71.js";
|
|
12
|
+
import "./uuid-5db95cc2.js";
|
|
12
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
-
import "./
|
|
14
|
-
import "./
|
|
15
|
-
import "./
|
|
16
|
-
import "./
|
|
17
|
-
import "./
|
|
18
|
-
import "./
|
|
19
|
-
import "./index-f9b0e425.js";
|
|
14
|
+
import "./slot-ea675585.js";
|
|
15
|
+
import "./index-c4969f7e.js";
|
|
16
|
+
import "./optionItem-44768932.js";
|
|
17
|
+
import "./index-977c12a0.js";
|
|
18
|
+
import "./multirow-c413f913.js";
|
|
19
|
+
import "./index-149bbd97.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./
|
|
21
|
+
import "./fieldobj-cb39e533.js";
|
|
22
|
+
import "./dialog-d8383c00.js";
|
|
22
23
|
import "element-plus";
|
|
23
|
-
const J = { style: { display: "flex", "flex-direction": "row" } }, Q = { style: { flex: "1" } },
|
|
24
|
+
const J = { style: { display: "flex", "flex-direction": "row" } }, Q = { style: { flex: "1" } }, he = /* @__PURE__ */ O({
|
|
24
25
|
__name: "model-widget",
|
|
25
26
|
props: {
|
|
26
27
|
...M
|
|
27
28
|
},
|
|
28
29
|
setup(F, { expose: T }) {
|
|
29
30
|
const R = F, { exposed: n, attrs: e, events: c, instance: k, optionItems: b, fieldObj: P } = q(R), V = x.i18nt("designer.hint.addButtonText"), A = x.i18nt("designer.hint.saveButtonText"), D = (o) => {
|
|
30
|
-
var
|
|
31
|
-
if (!((
|
|
31
|
+
var m, p, i;
|
|
32
|
+
if (!((m = e == null ? void 0 : e.value) != null && m.appendOnClick))
|
|
32
33
|
return;
|
|
33
34
|
const a = (p = e == null ? void 0 : e.value) == null ? void 0 : p.relatedIds;
|
|
34
35
|
if (!a || (a == null ? void 0 : a.length) <= 0)
|
|
35
36
|
return;
|
|
36
37
|
const { transFormula: l } = I();
|
|
37
|
-
(i = Array.from(a)) == null || i.forEach((t,
|
|
38
|
+
(i = Array.from(a)) == null || i.forEach((t, s) => {
|
|
38
39
|
var f;
|
|
39
40
|
const d = l(t), u = n == null ? void 0 : n.findRefById(d, k);
|
|
40
41
|
n == null || n.callRefFunc(u, w.insertOnMousePos, { content: o == null ? void 0 : o[(f = e == null ? void 0 : e.value) == null ? void 0 : f.contentKey] });
|
|
41
42
|
});
|
|
42
43
|
}, E = () => {
|
|
43
|
-
var i, t,
|
|
44
|
+
var i, t, s, d;
|
|
44
45
|
const o = (i = e == null ? void 0 : e.value) == null ? void 0 : i.relatedIds;
|
|
45
46
|
if (!o || (o == null ? void 0 : o.length) <= 0)
|
|
46
47
|
return;
|
|
47
|
-
const { transFormula: a } = I(), l = a(o == null ? void 0 : o[0]),
|
|
48
|
-
var p = n == null ? void 0 : n.callRefFunc(
|
|
49
|
-
(d = (t = c == null ? void 0 : c.value) == null ? void 0 : t.save) == null || d.call(t, p, (
|
|
48
|
+
const { transFormula: a } = I(), l = a(o == null ? void 0 : o[0]), m = n == null ? void 0 : n.findRefById(l, k);
|
|
49
|
+
var p = n == null ? void 0 : n.callRefFunc(m, w.getValue);
|
|
50
|
+
(d = (t = c == null ? void 0 : c.value) == null ? void 0 : t.save) == null || d.call(t, p, (s = e == null ? void 0 : e.value) == null ? void 0 : s.operateData);
|
|
50
51
|
}, N = () => {
|
|
51
52
|
var o, a, l;
|
|
52
53
|
(l = (o = c == null ? void 0 : c.value) == null ? void 0 : o.add) == null || l.call(o, (a = e == null ? void 0 : e.value) == null ? void 0 : a.operateData);
|
|
@@ -58,15 +59,15 @@ const J = { style: { display: "flex", "flex-direction": "row" } }, Q = { style:
|
|
|
58
59
|
return _(), v(z, W(o.$props, {
|
|
59
60
|
"prop-options": { fieldObj: r(P) }
|
|
60
61
|
}), {
|
|
61
|
-
default: y(({ data:
|
|
62
|
+
default: y(({ data: m }) => {
|
|
62
63
|
var p, i;
|
|
63
64
|
return [
|
|
64
65
|
g("div", J, [
|
|
65
66
|
g("div", Q, [
|
|
66
|
-
(_(!0), $(j, null, K(r(b), (t,
|
|
67
|
+
(_(!0), $(j, null, K(r(b), (t, s) => {
|
|
67
68
|
var d;
|
|
68
69
|
return _(), v(L(`el-${(d = r(e)) == null ? void 0 : d.compName}`), {
|
|
69
|
-
key:
|
|
70
|
+
key: s,
|
|
70
71
|
style: { cursor: "pointer", margin: "3px" },
|
|
71
72
|
onClick: () => {
|
|
72
73
|
var u, f;
|
|
@@ -118,5 +119,5 @@ const J = { style: { display: "flex", "flex-direction": "row" } }, Q = { style:
|
|
|
118
119
|
}
|
|
119
120
|
});
|
|
120
121
|
export {
|
|
121
|
-
|
|
122
|
+
he as default
|
|
122
123
|
};
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { b as X, r as Y, B as Z, d as k } from "./baseImp-d2bf3a20.js";
|
|
2
|
+
import { g as L, i as y, t as d, r as p } from "./index-c4969f7e.js";
|
|
3
|
+
import { c as x, F as T, g as R } from "./slot-ea675585.js";
|
|
4
|
+
import { h as ee, d as C, n as K, o as D, k as ne, t as A, b as G } from "./enum-type-1f76903b.js";
|
|
5
|
+
import { reactive as I, watch as re } from "vue";
|
|
6
|
+
import { u as te } from "./icon-2bb9fa65.js";
|
|
7
|
+
import { u as se, g as ie } from "./uuid-5db95cc2.js";
|
|
8
|
+
import { u as ce } from "./emitter-cfcc9243.js";
|
|
9
|
+
import { f as H } from "./expression-d6b26c71.js";
|
|
10
|
+
const V = "", B = "_", J = (e, c) => ee(c) ? e || "" : `${V}${e}${B}${c}`, j = (e) => {
|
|
11
|
+
if (e != null && e.includes(B)) {
|
|
12
|
+
var c = e.split(B);
|
|
13
|
+
const o = c == null ? void 0 : c[0].substring(V.length), u = e.substring(V.length + o.length + 1);
|
|
14
|
+
return { id: o, groupName: u };
|
|
15
|
+
}
|
|
16
|
+
return { id: e };
|
|
17
|
+
};
|
|
18
|
+
var ue = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.Inner2Inner = 1] = "Inner2Inner", e[e.Inner2Outer = 2] = "Inner2Outer", e[e.Outer2Inner = 3] = "Outer2Inner", e[e.Outer2Outer = 4] = "Outer2Outer", e[e.DiffInner = 5] = "DiffInner", e))(ue || {});
|
|
19
|
+
const be = (e, c) => {
|
|
20
|
+
const o = j(e), u = o == null ? void 0 : o.groupName, s = j(c), n = s == null ? void 0 : s.groupName;
|
|
21
|
+
return !u && !n ? 4 : u && !n ? 2 : u && n ? u !== n ? 5 : 1 : !u && n ? 3 : 0;
|
|
22
|
+
};
|
|
23
|
+
function oe(e, c) {
|
|
24
|
+
const o = c == null ? void 0 : c.pageConfig, u = c == null ? void 0 : c.formData, s = I(u || {});
|
|
25
|
+
var { instance: n } = te();
|
|
26
|
+
return {
|
|
27
|
+
formModel: s,
|
|
28
|
+
pageConfig: o,
|
|
29
|
+
widgetList: e,
|
|
30
|
+
initData: () => {
|
|
31
|
+
var f = L(e);
|
|
32
|
+
f == null || f.forEach((h) => {
|
|
33
|
+
const { computedDefaultValue: F, fieldName: S } = X(h.field, c, { s_fieldName: !0, s_defaultValue: !0 }, n);
|
|
34
|
+
S.value && C(s, { [S.value]: F.value });
|
|
35
|
+
});
|
|
36
|
+
},
|
|
37
|
+
setData: (f) => {
|
|
38
|
+
K(s) ? D(s).forEach((h) => {
|
|
39
|
+
f && f.hasOwnProperty(h) && (s[h] = ne(f[h]));
|
|
40
|
+
}) : C(s, f);
|
|
41
|
+
},
|
|
42
|
+
getData: () => Y(s),
|
|
43
|
+
clearData: () => {
|
|
44
|
+
for (let f in s)
|
|
45
|
+
delete s[f];
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function fe() {
|
|
50
|
+
const e = (s, n) => p(s, { newName: !0, recordSource: !0 }, (m, a) => J(m || a, n)), c = (s, n, m) => {
|
|
51
|
+
var h, F;
|
|
52
|
+
G(m) && (m = `${(h = se()) == null ? void 0 : h.substring(0, 5)}_${!G(n == null ? void 0 : n.$index) && (n == null ? void 0 : n.$index) >= 0 ? n == null ? void 0 : n.$index : ""}`);
|
|
53
|
+
var a = R(s, !0);
|
|
54
|
+
let l = a == null ? void 0 : a.map((S) => e(S, m));
|
|
55
|
+
const v = u(l), { updateFomulaName: f } = k();
|
|
56
|
+
return (F = D(v)) == null || F.forEach((S) => {
|
|
57
|
+
const _ = v[S], E = _ == null ? void 0 : _.name;
|
|
58
|
+
l = f(l, E, S);
|
|
59
|
+
}), { widget: l, id: ie(), data: n };
|
|
60
|
+
}, o = (s, n, m, a) => {
|
|
61
|
+
if (n || (n = []), m && (n == null ? void 0 : n.length) < m) {
|
|
62
|
+
const f = m - (n == null ? void 0 : n.length);
|
|
63
|
+
for (var l = 0; l < f; l++) {
|
|
64
|
+
var v = {};
|
|
65
|
+
n == null || n.push(v);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
return n == null ? void 0 : n.map((f, h) => {
|
|
69
|
+
const F = a ? a(f, h) : f;
|
|
70
|
+
return c(s, F, h + "");
|
|
71
|
+
});
|
|
72
|
+
}, u = (s, n) => {
|
|
73
|
+
let m = {};
|
|
74
|
+
return s && d(s, (a) => {
|
|
75
|
+
const l = Z.getName(a), v = () => {
|
|
76
|
+
l && (m[l] = a == null ? void 0 : a._source);
|
|
77
|
+
};
|
|
78
|
+
n ? n(a) && v() : v();
|
|
79
|
+
}), m;
|
|
80
|
+
};
|
|
81
|
+
return {
|
|
82
|
+
newSlot: c,
|
|
83
|
+
reflectTargetWithSourceOne: u,
|
|
84
|
+
getSlotFromData: o,
|
|
85
|
+
parseGroupId: j,
|
|
86
|
+
formatGroupId: J
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
function we(e) {
|
|
90
|
+
const c = e == null ? void 0 : e.fieldName, o = I({}), u = I([]), { newSlot: s, reflectTargetWithSourceOne: n, getSlotFromData: m } = fe(), a = (r, t) => {
|
|
91
|
+
var b;
|
|
92
|
+
let i = {};
|
|
93
|
+
const g = n(t);
|
|
94
|
+
return (b = D(r)) == null || b.map((w) => {
|
|
95
|
+
var O, $, P;
|
|
96
|
+
const N = (O = g == null ? void 0 : g[w]) == null ? void 0 : O.name;
|
|
97
|
+
N && (i[N] = r == null ? void 0 : r[w], (P = ($ = D(r)) == null ? void 0 : $.filter((W) => W.startsWith(w + "_"))) == null || P.forEach((W) => {
|
|
98
|
+
i[W == null ? void 0 : W.replace(w, N)] = r == null ? void 0 : r[W];
|
|
99
|
+
}));
|
|
100
|
+
}), i;
|
|
101
|
+
}, l = (r, t) => {
|
|
102
|
+
var b, w;
|
|
103
|
+
let i = {};
|
|
104
|
+
if (K(r)) {
|
|
105
|
+
const N = n(t, (O) => !!(O != null && O.formItemFlag));
|
|
106
|
+
(b = D(N)) == null || b.map((O) => {
|
|
107
|
+
var $;
|
|
108
|
+
O && (i[O] = r == null ? void 0 : r[($ = N == null ? void 0 : N[O]) == null ? void 0 : $.name]);
|
|
109
|
+
});
|
|
110
|
+
} else {
|
|
111
|
+
var g = { pageConfig: (w = e == null ? void 0 : e.designer) == null ? void 0 : w.pageConfig, formData: i, designState: e == null ? void 0 : e.designState };
|
|
112
|
+
const { initData: N } = oe(t, g);
|
|
113
|
+
N();
|
|
114
|
+
}
|
|
115
|
+
return i;
|
|
116
|
+
}, v = (r, t) => {
|
|
117
|
+
const i = l(t, r.widget);
|
|
118
|
+
C(o, i);
|
|
119
|
+
}, f = (r) => {
|
|
120
|
+
var i;
|
|
121
|
+
const t = l({}, r.widget);
|
|
122
|
+
(i = D(t)) == null || i.forEach((g) => delete o[g]);
|
|
123
|
+
}, h = () => {
|
|
124
|
+
var r;
|
|
125
|
+
(r = D(o)) == null || r.forEach((t) => delete o[t]);
|
|
126
|
+
}, F = () => u == null ? void 0 : u.map((t) => a(o, t == null ? void 0 : t.widget)), S = (r, t) => {
|
|
127
|
+
h();
|
|
128
|
+
const i = t(r);
|
|
129
|
+
return i == null || i.forEach((g) => {
|
|
130
|
+
const b = l(g == null ? void 0 : g.data, g == null ? void 0 : g.widget);
|
|
131
|
+
C(o, b);
|
|
132
|
+
}), u.splice(0, u.length, ...i), u;
|
|
133
|
+
}, _ = (r) => {
|
|
134
|
+
var i;
|
|
135
|
+
var t = x({ ...e, widget: r });
|
|
136
|
+
return (i = t.attrs) == null ? void 0 : i.value;
|
|
137
|
+
}, E = (r, t, i) => y(r, t, u, i), M = (r) => {
|
|
138
|
+
var t = F();
|
|
139
|
+
re(() => o, (i) => {
|
|
140
|
+
var g = F();
|
|
141
|
+
A(g) != A(t) && r(g);
|
|
142
|
+
}, { deep: !0, immediate: !0 });
|
|
143
|
+
}, { off$: U, on$: q, emit$: z } = ce(), Q = () => {
|
|
144
|
+
U(H.fieldChange), q(H.fieldChange, (r) => {
|
|
145
|
+
var t;
|
|
146
|
+
(t = e == null ? void 0 : e.fieldChanged) == null || t.call(e);
|
|
147
|
+
});
|
|
148
|
+
};
|
|
149
|
+
return (() => {
|
|
150
|
+
const r = c;
|
|
151
|
+
T.globalProvide({
|
|
152
|
+
globalFormName: r,
|
|
153
|
+
globalDataModel: o
|
|
154
|
+
}), Q();
|
|
155
|
+
})(), {
|
|
156
|
+
getSlotFromData: m,
|
|
157
|
+
fromModel: l,
|
|
158
|
+
toModel: a,
|
|
159
|
+
newSlot: s,
|
|
160
|
+
getWidgetOption: _,
|
|
161
|
+
newFieldModelFromSlot: v,
|
|
162
|
+
removeFieldModelFromSlot: f,
|
|
163
|
+
getValue: F,
|
|
164
|
+
setValue: S,
|
|
165
|
+
findWidgetByNameWithSibId: E,
|
|
166
|
+
listenFormModel: M,
|
|
167
|
+
emit$: z,
|
|
168
|
+
formModel: o,
|
|
169
|
+
rowsData: u
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
export {
|
|
173
|
+
fe as a,
|
|
174
|
+
we as b,
|
|
175
|
+
ue as f,
|
|
176
|
+
be as g,
|
|
177
|
+
j as p,
|
|
178
|
+
oe as u
|
|
179
|
+
};
|
|
@@ -1,29 +1,30 @@
|
|
|
1
1
|
import { defineComponent as qe, computed as v, ref as Ge, onMounted as Je, resolveComponent as A, 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 a, renderList as ne, normalizeClass as Ne, createElementVNode as b, pushScopeId as Ke, popScopeId as Qe } from "vue";
|
|
2
|
-
import { a as T, L as Xe, M as Ye, N as Ze, O as et } from "./enum-type-
|
|
3
|
-
import { B as $e, f as P } from "./baseImp-
|
|
2
|
+
import { a as T, L as Xe, M as Ye, N as Ze, O as et } from "./enum-type-1f76903b.js";
|
|
3
|
+
import { B as $e, f as P } from "./baseImp-d2bf3a20.js";
|
|
4
4
|
import { I as tt } from "./widget-base-4c2d6265.js";
|
|
5
|
-
import { c as ot } from "./share-field-
|
|
6
|
-
import { _ as nt } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
7
|
-
import { D as O } from "./drag-wrapper-
|
|
8
|
-
import {
|
|
9
|
-
import { _ as lt } from "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
10
|
-
import { i as it, a as F } from "./slot-
|
|
11
|
-
import { b as rt } from "./multirow-
|
|
5
|
+
import { c as ot } from "./share-field-6148dcc0.js";
|
|
6
|
+
import { _ as nt } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3631e590.js";
|
|
7
|
+
import { D as O } from "./drag-wrapper-dabca12e.js";
|
|
8
|
+
import { a4 as Be } from "./enum-type-c18fbe35.js";
|
|
9
|
+
import { _ as lt } from "./label-wrapper.vue_vue_type_style_index_0_lang-aa973f24.js";
|
|
10
|
+
import { i as it, a as F } from "./slot-ea675585.js";
|
|
11
|
+
import { b as rt } from "./multirow-c413f913.js";
|
|
12
12
|
import { Plus as S, Delete as q, SortUp as G, SortDown as J } from "./index-ddd23411.js";
|
|
13
13
|
import { _ as at } from "./_plugin-vue_export-helper-dad06003.js";
|
|
14
|
-
import "./uuid-
|
|
14
|
+
import "./uuid-5db95cc2.js";
|
|
15
15
|
import "./icon-2bb9fa65.js";
|
|
16
|
-
import "./
|
|
16
|
+
import "./expression-d6b26c71.js";
|
|
17
17
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
|
-
import "./dialog-
|
|
18
|
+
import "./dialog-d8383c00.js";
|
|
19
19
|
import "element-plus";
|
|
20
|
-
import "./emitter-
|
|
21
|
-
import "./index-
|
|
22
|
-
import "./optionItem-
|
|
23
|
-
import "./index-
|
|
24
|
-
import "./index-
|
|
20
|
+
import "./emitter-cfcc9243.js";
|
|
21
|
+
import "./index-c4969f7e.js";
|
|
22
|
+
import "./optionItem-44768932.js";
|
|
23
|
+
import "./index-977c12a0.js";
|
|
24
|
+
import "./index-149bbd97.js";
|
|
25
|
+
import "./fieldobj-cb39e533.js";
|
|
25
26
|
import "./field-base-5547436d.js";
|
|
26
|
-
const st = (L) => (Ke("data-v-
|
|
27
|
+
const st = (L) => (Ke("data-v-4dbff31c"), L = L(), Qe(), L), dt = {
|
|
27
28
|
key: 0,
|
|
28
29
|
class: "multiRowLine"
|
|
29
30
|
}, ut = {
|
|
@@ -688,7 +689,7 @@ const st = (L) => (Ke("data-v-ba7a53a7"), L = L(), Qe(), L), dt = {
|
|
|
688
689
|
};
|
|
689
690
|
}
|
|
690
691
|
});
|
|
691
|
-
const
|
|
692
|
+
const lo = /* @__PURE__ */ at($t, [["__scopeId", "data-v-4dbff31c"]]);
|
|
692
693
|
export {
|
|
693
|
-
|
|
694
|
+
lo as default
|
|
694
695
|
};
|