hlrender 0.0.221 → 0.0.222
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-2615d97f.js → _pdf-49c651da.js} +6 -6
- package/{_txt-fefad837.js → _txt-6b6b0e6c.js} +6 -6
- package/{_unsupport-05d8e7f5.js → _unsupport-ac308b6a.js} +1 -1
- package/{affix-widget-7ee62ad0.js → affix-widget-39b69957.js} +16 -16
- package/{alert-widget-e49cf21a.js → alert-widget-76e6ae2b.js} +16 -16
- package/{anchor-widget-2ee58e27.js → anchor-widget-00cf8a4f.js} +13 -13
- package/{auto-complete-widget-0ca8ea1b.js → auto-complete-widget-f7466dc3.js} +16 -16
- package/{avatar-widget-41693c37.js → avatar-widget-a30bb835.js} +16 -16
- package/{backtop-widget-25aecb13.js → backtop-widget-fcd53f9c.js} +16 -16
- package/{badge-widget-67b8d37b.js → badge-widget-d2d83fbc.js} +16 -16
- package/{barcode-widget-9e091ba9.js → barcode-widget-3a364c80.js} +13 -13
- package/{baseImp-e8c9b2a6.js → baseImp-20a90e41.js} +6 -6
- package/{breadcrumb-widget-08733d3e.js → breadcrumb-widget-7e56ee1f.js} +13 -13
- package/{button-widget-57b0d6a1.js → button-widget-32025329.js} +16 -16
- package/{cache-widget-311cfc52.js → cache-widget-13547f41.js} +15 -15
- package/{card-widget-add6804a.js → card-widget-ae35d355.js} +14 -14
- package/{carousel-widget-ea7d87b1.js → carousel-widget-fe40a2a7.js} +14 -14
- package/{cascader-widget-0b81eec8.js → cascader-widget-dd37cb19.js} +15 -15
- package/{chart-widget-8373404e.js → chart-widget-53f53a04.js} +13 -13
- package/{checkbox-widget-66a7e1cb.js → checkbox-widget-7a6e8218.js} +15 -15
- package/{collapse-widget-7ee41c5c.js → collapse-widget-038ab4a6.js} +14 -14
- package/{color-picker-widget-3f9717a1.js → color-picker-widget-ccf0ae69.js} +15 -15
- package/{cont-cell-widget-4b79347c.js → cont-cell-widget-75436a40.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-83f8cacc.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-820e95e3.js} +6 -6
- package/{cont-widget-547c6110.js → cont-widget-6b92c16d.js} +5 -5
- package/{content-wrapper-5726b7f5.js → content-wrapper-a319dc68.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-baea5e7e.js → content-wrapper.vue_vue_type_script_setup_true_lang-8a7b40c2.js} +3 -3
- package/{date-picker-range-widget-11e82e2a.js → date-picker-range-widget-6ebabf4a.js} +15 -15
- package/{date-picker-widget-6fc6de52.js → date-picker-widget-11a66313.js} +15 -15
- package/default-slot-widget-252c54f1.js +26 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-c459220b.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-d4bae7ad.js} +7 -7
- package/{descriptions-widget-c5fecb39.js → descriptions-widget-53b22321.js} +14 -14
- package/{dialog-4a3f5772.js → dialog-7785477a.js} +2 -2
- package/{dialog-widget-6e8df434.js → dialog-widget-6792e47d.js} +15 -15
- package/{divider-widget-f9ed187b.js → divider-widget-ea1db20b.js} +16 -16
- package/{drag-wrapper-e9a12534.js → drag-wrapper-8fc33ced.js} +6 -6
- package/{drawer-widget-1d494753.js → drawer-widget-54221151.js} +15 -15
- package/{dropdown-widget-330a3cdc.js → dropdown-widget-47b208c3.js} +14 -14
- package/{empty-widget-6967f161.js → empty-widget-056b049c.js} +16 -16
- package/{enum-type-7a728829.js → enum-type-154038c6.js} +1 -1
- package/{enum-type-829c8462.js → enum-type-8b297420.js} +45 -39
- package/{expression-f3b962d3.js → expression-a866a962.js} +2 -2
- package/feedback-widget-d5edd3d7.js +26 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-06683f41.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-25632e54.js} +5 -5
- package/{fieldobj-f28634ba.js → fieldobj-b9410b27.js} +1 -1
- package/{file-upload-widget-b1b14ffa.js → file-upload-widget-1dac5de9.js} +20 -20
- package/{form-item-wrapper-d0a9ff6c.js → form-item-wrapper-651dae53.js} +11 -11
- package/{form-widget-1a27e9b4.js → form-widget-46abce73.js} +60 -60
- package/{grid-col-widget-f9ee0ab1.js → grid-col-widget-3f4c0041.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ff4d1b7c.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-e7ecfe34.js} +5 -5
- package/{grid-widget-7ecb5c19.js → grid-widget-6c1b340c.js} +5 -5
- package/{html-text-widget-30f07d9a.js → html-text-widget-50a489af.js} +14 -14
- package/{icon-widget-d565d050.js → icon-widget-0ac4ed98.js} +13 -13
- package/{iframe-widget-086f4098.js → iframe-widget-fdba3965.js} +13 -13
- package/{image-widget-630ebd35.js → image-widget-76fb161c.js} +13 -13
- package/{index-697c9c4d.js → index-2caa2214.js} +4 -4
- package/{index-198e6bfc.js → index-b48762a8.js} +1 -1
- package/{index-4f56cada.js → index-ed5df8f0.js} +3219 -3143
- package/{input-number-widget-740bc531.js → input-number-widget-79bcfde4.js} +15 -15
- package/{input-widget-c172fb57.js → input-widget-8c92a125.js} +16 -16
- package/{label-wrapper-63276661.js → label-wrapper-bb85ac42.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-e7f67615.js → label-wrapper.vue_vue_type_style_index_0_lang-e5255e33.js} +3 -3
- package/{link-widget-931d6131.js → link-widget-7caca6a6.js} +16 -16
- package/{ltable-col-widget-bf4521f9.js → ltable-col-widget-dff9469f.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-426f2b4c.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-99ee3805.js} +9 -9
- package/{ltable-widget-a7acf843.js → ltable-widget-f3eefc10.js} +5 -5
- package/{menu-widget-24785732.js → menu-widget-56dd41b9.js} +18 -18
- package/{model-widget-9280f81f.js → model-widget-65d7de15.js} +13 -13
- package/{multirow-cf88c15f.js → multirow-a47c974b.js} +6 -6
- package/{multirow-widget-8abae879.js → multirow-widget-19af64aa.js} +180 -180
- package/package.json +1 -1
- package/{pagination-widget-21b9734a.js → pagination-widget-6b84db81.js} +13 -13
- package/{picture-upload-widget-2d6f5166.js → picture-upload-widget-01c930e1.js} +16 -16
- package/{progress-widget-7acbcbd2.js → progress-widget-6340a4fa.js} +14 -14
- package/{qrcode-widget-ef7c0554.js → qrcode-widget-ee038f05.js} +13 -13
- package/{radio-widget-309621c0.js → radio-widget-b7a38a4c.js} +15 -15
- package/{range-widget-0eab72e0.js → range-widget-229e9fc4.js} +17 -17
- package/{rate-widget-b9cfc2cf.js → rate-widget-4937f628.js} +15 -15
- package/render.es.js +32 -32
- package/render.style.css +1 -1
- package/render.umd.js +314 -314
- package/{result-widget-2b5456a9.js → result-widget-e580b900.js} +14 -14
- package/{rich-editor-widget-c203861c.js → rich-editor-widget-14194f58.js} +15 -15
- package/{router-widget-04b9a98b.js → router-widget-b4886e70.js} +13 -13
- package/{select-widget-2bf2ef62.js → select-widget-1ffe1ae1.js} +15 -15
- package/{sfc-2bf2df56.js → sfc-f12bf7ec.js} +8 -8
- package/{sfcview-1361c175.js → sfcview-0b464361.js} +7 -7
- package/{share-field-addc6ef5.js → share-field-12b7c18a.js} +8 -8
- package/{share-file-f342058d.js → share-file-65e6678a.js} +6 -6
- package/{slider-widget-33b99e50.js → slider-widget-4f9dd3b2.js} +15 -15
- package/{slot-56adbbb3.js → slot-262f69f7.js} +3 -3
- package/{static-text-widget-108edde9.js → static-text-widget-9a0260a7.js} +14 -14
- package/{steps-widget-9ca1809f.js → steps-widget-edc80724.js} +13 -13
- package/{subMenu-widget-7027f7e1.js → subMenu-widget-04c8e8d8.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-acaf3bc5.js → subMenu-widget.vue_vue_type_script_setup_true_lang-8aceb920.js} +3 -3
- package/{switch-widget-c8f119c0.js → switch-widget-63ff434e.js} +15 -15
- package/{tab-pane-widget-3706cee1.js → tab-pane-widget-75beaf9d.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-0bdade93.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-341cb340.js} +5 -5
- package/table-col-widget-96a93ea4.js +22 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-a3c724ca.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-549f11f5.js} +6 -6
- package/{table-widget-c469cd7e.js → table-widget-5b3d2608.js} +15 -15
- package/{tabs-widget-8b8bf0e5.js → tabs-widget-1dc1e389.js} +7 -7
- package/{tag-widget-f9cc80b9.js → tag-widget-f6b6a37d.js} +16 -16
- package/{text-widget-ef976b4a.js → text-widget-5ace4226.js} +16 -16
- package/{textarea-widget-c2943bad.js → textarea-widget-aac47d6a.js} +15 -15
- package/{time-picker-range-widget-e97ab6b0.js → time-picker-range-widget-3818f4c3.js} +15 -15
- package/{time-picker-widget-ad75fba4.js → time-picker-widget-9edaa119.js} +15 -15
- package/{time-select-widget-7f3d955a.js → time-select-widget-4bb984df.js} +15 -15
- package/{tmpl-widget-f116a203.js → tmpl-widget-8fc5be2c.js} +14 -14
- package/{tree-select-widget-62c48877.js → tree-select-widget-546c744f.js} +15 -15
- package/{tree-widget-1fa2535b.js → tree-widget-fbb5e96e.js} +13 -13
- package/{uuid-92282a79.js → uuid-c0d8695e.js} +1 -1
- package/{verifycode-widget-71283784.js → verifycode-widget-f6689e95.js} +13 -13
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ce22cece.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1740e903.js} +7 -7
- package/{wrapper-widget-669e9a3b.js → wrapper-widget-31402842.js} +13 -13
- package/default-slot-widget-8d762171.js +0 -26
- package/feedback-widget-7a6ac9ed.js +0 -26
- package/table-col-widget-23084965.js +0 -22
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { ref as oe, reactive as z, onMounted as
|
|
1
|
+
import { ref as oe, reactive as z, onMounted as ce, nextTick as Oe, defineComponent as fe, resolveComponent as Se, resolveDirective as je, openBlock as ne, createBlock as ae, mergeProps as K, unref as v, withCtx as ie, withDirectives as xe, toHandlers as Ee, withModifiers as Me, createVNode as Re } from "vue";
|
|
2
2
|
import { I as ye } from "./widget-base-4c2d6265.js";
|
|
3
|
-
import { D as Ae } from "./drag-wrapper-
|
|
4
|
-
import { _ as Pe } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { w as U, a as le, b as y, f as L, i as $e } from "./expression-
|
|
3
|
+
import { D as Ae } from "./drag-wrapper-8fc33ced.js";
|
|
4
|
+
import { _ as Pe } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1740e903.js";
|
|
5
|
+
import { w as U, a as le, b as y, f as L, i as $e } from "./expression-a866a962.js";
|
|
6
6
|
import { u as ke } from "./icon-a0e0cdb0.js";
|
|
7
|
-
import { u as Ie, a as Be } from "./multirow-
|
|
8
|
-
import { b as He, F as de, M as re, e as Te, d as se, N as qe, A as ze, g as Ke } from "./enum-type-
|
|
9
|
-
import { $ as Ue, B as Ge } from "./baseImp-
|
|
10
|
-
import { f as Je } from "./index-
|
|
11
|
-
import { b as Qe, a as Xe, u as Ye } from "./share-field-
|
|
12
|
-
import { W as Ze } from "./enum-type-
|
|
13
|
-
import { F as et } from "./slot-
|
|
7
|
+
import { u as Ie, a as Be } from "./multirow-a47c974b.js";
|
|
8
|
+
import { b as He, F as de, M as re, e as Te, d as se, N as qe, A as ze, g as Ke } from "./enum-type-8b297420.js";
|
|
9
|
+
import { $ as Ue, B as Ge } from "./baseImp-20a90e41.js";
|
|
10
|
+
import { f as Je } from "./index-ed5df8f0.js";
|
|
11
|
+
import { b as Qe, a as Xe, u as Ye } from "./share-field-12b7c18a.js";
|
|
12
|
+
import { W as Ze } from "./enum-type-154038c6.js";
|
|
13
|
+
import { F as et } from "./slot-262f69f7.js";
|
|
14
14
|
import { _ as tt } from "./_plugin-vue_export-helper-dad06003.js";
|
|
15
15
|
function ot(r) {
|
|
16
|
-
const O = r.widget,
|
|
16
|
+
const O = r.widget, f = r.designer, F = f == null ? void 0 : f.pageConfig, b = r == null ? void 0 : r.widgetList, S = oe({}), A = {}, { fieldModel: P, fieldName: $, fieldEditor: u, attrs: j, events: _, hasFieldOptions: x, exposed: w, fieldObj: E, watchOption: g, propResultOpt: h, extendAttrs: D } = Qe(r), { off$: W, on$: V, emit$: M, broadcast: N } = Be();
|
|
17
17
|
var { instance: G } = ke();
|
|
18
|
-
const { setAllRefList: ue } = Xe(
|
|
18
|
+
const { setAllRefList: ue } = Xe(S.value), J = { designState: r == null ? void 0 : r.designState, pageConfig: F, globalConfig: h == null ? void 0 : h.globalConfig }, { formModel: k, setData: me, getData: R, clearData: Q } = Ie(b, { ...J }), { handleFunc: I } = Ye({ options: F }, J), B = z({}), pe = () => {
|
|
19
19
|
W(L.fieldChange), V(L.fieldChange, (e) => {
|
|
20
|
-
|
|
20
|
+
Fe(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), w == null || w.setValue(k), _e(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue);
|
|
21
21
|
});
|
|
22
|
-
},
|
|
22
|
+
}, ve = () => {
|
|
23
23
|
W(L.fieldValidation), V(L.fieldValidation, (e) => {
|
|
24
24
|
var t;
|
|
25
25
|
(t = u.value) == null || t.validateField(e == null ? void 0 : e.propName);
|
|
@@ -33,7 +33,7 @@ function ot(r) {
|
|
|
33
33
|
trigger: n.trigger,
|
|
34
34
|
validator: n.validator
|
|
35
35
|
}));
|
|
36
|
-
Object.assign(B, { [e == null ? void 0 : e.fieldName]: t }),
|
|
36
|
+
Object.assign(B, { [e == null ? void 0 : e.fieldName]: t }), j.value.rules = B;
|
|
37
37
|
});
|
|
38
38
|
}, H = oe(!1), T = z({}), q = z({}), X = (e) => {
|
|
39
39
|
re(q), se(q, e);
|
|
@@ -45,14 +45,14 @@ function ot(r) {
|
|
|
45
45
|
H.value = !0, e && se(T, { [e]: { oldValue: o, newValue: t } });
|
|
46
46
|
}, Ce = () => {
|
|
47
47
|
H.value = !1, re(T), X(R());
|
|
48
|
-
},
|
|
48
|
+
}, Fe = (e, t, o) => {
|
|
49
49
|
I(_.value.formDataChange, { field: { fieldName: e, newValue: t, oldValue: o }, formModel: k });
|
|
50
|
-
},
|
|
50
|
+
}, be = () => {
|
|
51
51
|
I(_.value.formCreated);
|
|
52
52
|
}, we = () => {
|
|
53
53
|
I(_.value.formMounted);
|
|
54
54
|
}, De = () => {
|
|
55
|
-
ge(),
|
|
55
|
+
ge(), pe(), ve(), be();
|
|
56
56
|
}, Ve = (e) => {
|
|
57
57
|
var t;
|
|
58
58
|
(t = u.value) == null || t.clearValidate(e);
|
|
@@ -66,8 +66,8 @@ function ot(r) {
|
|
|
66
66
|
var n = e[s], d = n == null ? void 0 : n.filter((l) => (l == null ? void 0 : l.force) === t);
|
|
67
67
|
d == null || d.forEach((l) => {
|
|
68
68
|
var a;
|
|
69
|
-
const
|
|
70
|
-
l.message && o.push($e(
|
|
69
|
+
const c = (a = l == null ? void 0 : l.rule) == null ? void 0 : a.label;
|
|
70
|
+
l.message && o.push($e(c ? "【" + c + "】" : "", l.message, ":"));
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
73
|
return qe(o);
|
|
@@ -80,13 +80,13 @@ function ot(r) {
|
|
|
80
80
|
}, Ne = (e = !0) => {
|
|
81
81
|
var d, s, l;
|
|
82
82
|
let t = R(), o = function() {
|
|
83
|
-
}, n = new Promise(function(
|
|
83
|
+
}, n = new Promise(function(c, a) {
|
|
84
84
|
o = function(m, i) {
|
|
85
|
-
(i ? a :
|
|
85
|
+
(i ? a : c)({ data: m, isSuccess: !i, message: i });
|
|
86
86
|
};
|
|
87
87
|
});
|
|
88
|
-
return !((d = u.value) != null && d.validate) || !e ? (o(t), n) : ((l = (s = u.value) == null ? void 0 : s.validate) == null || l.call(s, (
|
|
89
|
-
if (
|
|
88
|
+
return !((d = u.value) != null && d.validate) || !e ? (o(t), n) : ((l = (s = u.value) == null ? void 0 : s.validate) == null || l.call(s, (c, a) => {
|
|
89
|
+
if (c)
|
|
90
90
|
o(t);
|
|
91
91
|
else {
|
|
92
92
|
var m = Y(a, !0);
|
|
@@ -96,7 +96,7 @@ function ot(r) {
|
|
|
96
96
|
}
|
|
97
97
|
var i = Y(a, !1);
|
|
98
98
|
if (i && i.length > 0) {
|
|
99
|
-
i.push(Te.i18nt("designer.hint.continue")), Ue.multiple(i).then((
|
|
99
|
+
i.push(Te.i18nt("designer.hint.continue")), Ue.multiple(i).then((p) => {
|
|
100
100
|
o(t);
|
|
101
101
|
});
|
|
102
102
|
return;
|
|
@@ -112,8 +112,8 @@ function ot(r) {
|
|
|
112
112
|
N(U.ContainerWidget, le.setFormData, e, G, n), N(U.FieldWidget, le.setFormData, e, G, n);
|
|
113
113
|
}, ee = (e) => new Promise((t, o) => {
|
|
114
114
|
const n = (a, m) => {
|
|
115
|
-
var
|
|
116
|
-
let i = (
|
|
115
|
+
var p, C, te;
|
|
116
|
+
let i = (p = D.value) != null && p.formDataLoaded ? (te = (C = D.value) == null ? void 0 : C.formDataLoaded) == null ? void 0 : te.call(C, R(), a) : a;
|
|
117
117
|
Ke(i) ? Z(i, !m) : i = {}, X(i), t(i);
|
|
118
118
|
}, d = () => {
|
|
119
119
|
g(e, y.newDataSource, void 0, (a, m) => {
|
|
@@ -121,28 +121,28 @@ function ot(r) {
|
|
|
121
121
|
});
|
|
122
122
|
}, s = () => {
|
|
123
123
|
g(e, y.editDataSource, void 0, (a, m) => {
|
|
124
|
-
var
|
|
125
|
-
if (((C = (
|
|
124
|
+
var p, C;
|
|
125
|
+
if (((C = (p = D.value) == null ? void 0 : p.needFormAdd) == null ? void 0 : C.call(p, a)) && c) {
|
|
126
126
|
d();
|
|
127
127
|
return;
|
|
128
128
|
}
|
|
129
129
|
n(a, !1);
|
|
130
130
|
});
|
|
131
|
-
}, l =
|
|
132
|
-
l ? s() :
|
|
131
|
+
}, l = x(y.editDataSource), c = x(y.newDataSource);
|
|
132
|
+
l ? s() : c && d();
|
|
133
133
|
});
|
|
134
|
-
return De(),
|
|
134
|
+
return De(), ce(() => {
|
|
135
135
|
He(), we();
|
|
136
136
|
}), {
|
|
137
|
-
widgetRefList:
|
|
137
|
+
widgetRefList: S,
|
|
138
138
|
allWidgetRefList: A,
|
|
139
139
|
fieldEditor: u,
|
|
140
140
|
formModel: k,
|
|
141
|
-
pageConfig:
|
|
142
|
-
widgetList:
|
|
141
|
+
pageConfig: F,
|
|
142
|
+
widgetList: b,
|
|
143
143
|
fieldModel: P,
|
|
144
144
|
fieldName: $,
|
|
145
|
-
attrs:
|
|
145
|
+
attrs: j,
|
|
146
146
|
extendAttrs: D,
|
|
147
147
|
events: _,
|
|
148
148
|
rules: B,
|
|
@@ -161,57 +161,57 @@ function ot(r) {
|
|
|
161
161
|
getChangeRecord: he,
|
|
162
162
|
emit$: M
|
|
163
163
|
},
|
|
164
|
-
fieldObj:
|
|
164
|
+
fieldObj: E
|
|
165
165
|
};
|
|
166
166
|
}
|
|
167
|
-
const nt =
|
|
167
|
+
const nt = fe({ componentName: U.ContainerWidget }), at = /* @__PURE__ */ fe({
|
|
168
168
|
...nt,
|
|
169
169
|
__name: "form-widget",
|
|
170
170
|
props: { ...ye },
|
|
171
171
|
setup(r, { expose: O }) {
|
|
172
|
-
var
|
|
173
|
-
const
|
|
172
|
+
var E;
|
|
173
|
+
const f = r, { exposed: F, formModel: b, fieldEditor: S, attrs: A, events: P, widgetRefList: $, extendAttrs: u, fieldName: j, fieldObj: _, loadData: x } = ot({ ...f, widgetList: (E = f == null ? void 0 : f.widget) == null ? void 0 : E.widgetList }), w = j.value;
|
|
174
174
|
return et.globalProvide({
|
|
175
175
|
globalFormName: w,
|
|
176
|
-
globalDataModel:
|
|
177
|
-
}),
|
|
176
|
+
globalDataModel: b
|
|
177
|
+
}), ce(() => {
|
|
178
178
|
var g;
|
|
179
|
-
(g = u.value) != null && g.loadDataWhenInit && !
|
|
179
|
+
(g = u.value) != null && g.loadDataWhenInit && !f.designState && x(!0).then((h) => {
|
|
180
180
|
}).catch((h) => {
|
|
181
181
|
}).finally(() => {
|
|
182
|
-
|
|
182
|
+
F.clearChangeRecord();
|
|
183
183
|
});
|
|
184
|
-
}), O({ ...
|
|
185
|
-
const D =
|
|
184
|
+
}), O({ ...F }), (g, h) => {
|
|
185
|
+
const D = Se("el-form"), W = je("loading");
|
|
186
186
|
return ne(), ae(Pe, K(g.$props, {
|
|
187
|
-
"prop-options": { fieldObj:
|
|
187
|
+
"prop-options": { fieldObj: v(_) }
|
|
188
188
|
}), {
|
|
189
189
|
default: ie(({ data: V }) => {
|
|
190
190
|
var M, N;
|
|
191
191
|
return [
|
|
192
|
-
|
|
192
|
+
xe((ne(), ae(D, K({
|
|
193
193
|
ref_key: "fieldEditor",
|
|
194
|
-
ref:
|
|
195
|
-
model:
|
|
196
|
-
},
|
|
194
|
+
ref: S,
|
|
195
|
+
model: v(b)
|
|
196
|
+
}, v(A), Ee(v(P)), {
|
|
197
197
|
class: V.injectClass,
|
|
198
|
-
key: (M =
|
|
199
|
-
"element-loading-text":
|
|
198
|
+
key: (M = v(_)) == null ? void 0 : M.fieldKey,
|
|
199
|
+
"element-loading-text": v(u).loadingText,
|
|
200
200
|
onSubmit: h[0] || (h[0] = Me(() => {
|
|
201
201
|
}, ["prevent"]))
|
|
202
202
|
}), {
|
|
203
203
|
default: ie(() => [
|
|
204
204
|
Re(Ae, K(g.$props, {
|
|
205
|
-
dragClass: "formDrag",
|
|
206
|
-
model:
|
|
205
|
+
dragClass: "formDrag padSize",
|
|
206
|
+
model: v(b),
|
|
207
207
|
provideModel: !0,
|
|
208
208
|
"component-class": V.componentWrapperClass,
|
|
209
|
-
refList:
|
|
209
|
+
refList: v($)
|
|
210
210
|
}), null, 16, ["model", "component-class", "refList"])
|
|
211
211
|
]),
|
|
212
212
|
_: 2
|
|
213
213
|
}, 1040, ["model", "class", "element-loading-text"])), [
|
|
214
|
-
[W, (N =
|
|
214
|
+
[W, (N = v(u)) == null ? void 0 : N.showLoading]
|
|
215
215
|
])
|
|
216
216
|
];
|
|
217
217
|
}),
|
|
@@ -220,10 +220,10 @@ const nt = ce({ componentName: U.ContainerWidget }), at = /* @__PURE__ */ ce({
|
|
|
220
220
|
};
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
|
-
const it = /* @__PURE__ */ tt(at, [["__scopeId", "data-v-
|
|
223
|
+
const it = /* @__PURE__ */ tt(at, [["__scopeId", "data-v-0764c56d"]]), Ft = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
224
224
|
__proto__: null,
|
|
225
225
|
default: it
|
|
226
226
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
227
227
|
export {
|
|
228
|
-
|
|
228
|
+
Ft as _
|
|
229
229
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-
|
|
1
|
+
import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-e7ecfe34.js";
|
|
2
2
|
const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null,
|
|
4
4
|
default: e
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as m, computed as l, reactive as C, openBlock as y, createBlock as O, mergeProps as c, unref as o, withCtx as W, createVNode as b } from "vue";
|
|
2
|
-
import { w as k } from "./expression-
|
|
2
|
+
import { w as k } from "./expression-a866a962.js";
|
|
3
3
|
import { I as x } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { D as A } from "./drag-wrapper-
|
|
5
|
-
import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { b as H } from "./share-field-
|
|
7
|
-
import { c as $ } from "./slot-
|
|
4
|
+
import { D as A } from "./drag-wrapper-8fc33ced.js";
|
|
5
|
+
import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1740e903.js";
|
|
6
|
+
import { b as H } from "./share-field-12b7c18a.js";
|
|
7
|
+
import { c as $ } from "./slot-262f69f7.js";
|
|
8
8
|
const z = m({ componentName: k.ContainerWidget }), V = /* @__PURE__ */ m({
|
|
9
9
|
...z,
|
|
10
10
|
__name: "grid-col-widget",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as p, openBlock as t, createBlock as s, mergeProps as f, unref as o, withCtx as u, createElementBlock as w, Fragment as b, renderList as h } from "vue";
|
|
2
|
-
import { b as k, w as y } from "./expression-
|
|
2
|
+
import { b as k, w as y } from "./expression-a866a962.js";
|
|
3
3
|
import { I as C } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { _ as O } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-
|
|
5
|
-
import { _ as S } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { b as j } from "./share-field-
|
|
7
|
-
import { c as P } from "./slot-
|
|
4
|
+
import { _ as O } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-e7ecfe34.js";
|
|
5
|
+
import { _ as S } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1740e903.js";
|
|
6
|
+
import { b as j } from "./share-field-12b7c18a.js";
|
|
7
|
+
import { c as P } from "./slot-262f69f7.js";
|
|
8
8
|
const v = p({ componentName: y.ContainerWidget }), B = /* @__PURE__ */ p({
|
|
9
9
|
...v,
|
|
10
10
|
__name: "grid-widget",
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { defineComponent as e, openBlock as _, createBlock as u, mergeProps as x, unref as o, withCtx as g, createVNode as w } from "vue";
|
|
2
2
|
import { I as C } from "./field-base-5547436d.js";
|
|
3
|
-
import { b as P } from "./share-field-
|
|
4
|
-
import { w as b } from "./expression-
|
|
5
|
-
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { _ as j } from "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { b as P } from "./share-field-12b7c18a.js";
|
|
4
|
+
import { w as b } from "./expression-a866a962.js";
|
|
5
|
+
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1740e903.js";
|
|
6
|
+
import { _ as j } from "./content-wrapper.vue_vue_type_script_setup_true_lang-8a7b40c2.js";
|
|
7
7
|
import "./widget-base-4c2d6265.js";
|
|
8
|
-
import "./enum-type-
|
|
9
|
-
import "./multirow-
|
|
10
|
-
import "./baseImp-
|
|
11
|
-
import "./enum-type-
|
|
8
|
+
import "./enum-type-8b297420.js";
|
|
9
|
+
import "./multirow-a47c974b.js";
|
|
10
|
+
import "./baseImp-20a90e41.js";
|
|
11
|
+
import "./enum-type-154038c6.js";
|
|
12
12
|
import "./icon-a0e0cdb0.js";
|
|
13
|
-
import "./dialog-
|
|
13
|
+
import "./dialog-7785477a.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
-
import "./uuid-
|
|
15
|
+
import "./uuid-c0d8695e.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./slot-
|
|
17
|
+
import "./index-ed5df8f0.js";
|
|
18
|
+
import "./slot-262f69f7.js";
|
|
19
19
|
import "./source-map-b04aec4a.js";
|
|
20
20
|
import "./esprima-e8d15055.js";
|
|
21
|
-
import "./index-
|
|
21
|
+
import "./index-b48762a8.js";
|
|
22
22
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
-
import "./fieldobj-
|
|
23
|
+
import "./fieldobj-b9410b27.js";
|
|
24
24
|
const k = e({ componentName: b.FieldWidget }), T = /* @__PURE__ */ e({
|
|
25
25
|
...k,
|
|
26
26
|
__name: "html-text-widget",
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as d, resolveComponent as D, openBlock as i, createBlock as r, mergeProps as a, unref as o, withCtx as f, toHandlers as b, resolveDynamicComponent as k } from "vue";
|
|
2
2
|
import { I as v } from "./field-base-5547436d.js";
|
|
3
|
-
import { w as F } from "./expression-
|
|
4
|
-
import { b as S } from "./share-field-
|
|
5
|
-
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { S as B } from "./enum-type-
|
|
3
|
+
import { w as F } from "./expression-a866a962.js";
|
|
4
|
+
import { b as S } from "./share-field-12b7c18a.js";
|
|
5
|
+
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1740e903.js";
|
|
6
|
+
import { S as B } from "./enum-type-154038c6.js";
|
|
7
7
|
import "./widget-base-4c2d6265.js";
|
|
8
8
|
import "./source-map-b04aec4a.js";
|
|
9
|
-
import "./enum-type-
|
|
10
|
-
import "./uuid-
|
|
9
|
+
import "./enum-type-8b297420.js";
|
|
10
|
+
import "./uuid-c0d8695e.js";
|
|
11
11
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
12
12
|
import "./esprima-e8d15055.js";
|
|
13
|
-
import "./multirow-
|
|
14
|
-
import "./baseImp-
|
|
13
|
+
import "./multirow-a47c974b.js";
|
|
14
|
+
import "./baseImp-20a90e41.js";
|
|
15
15
|
import "./icon-a0e0cdb0.js";
|
|
16
|
-
import "./dialog-
|
|
16
|
+
import "./dialog-7785477a.js";
|
|
17
17
|
import "element-plus";
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./slot-
|
|
20
|
-
import "./index-
|
|
18
|
+
import "./index-ed5df8f0.js";
|
|
19
|
+
import "./slot-262f69f7.js";
|
|
20
|
+
import "./index-b48762a8.js";
|
|
21
21
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
22
|
-
import "./fieldobj-
|
|
22
|
+
import "./fieldobj-b9410b27.js";
|
|
23
23
|
const I = d({ componentName: F.FieldWidget }), eo = /* @__PURE__ */ d({
|
|
24
24
|
...I,
|
|
25
25
|
__name: "icon-widget",
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as j, ref as C, computed as D, onMounted as O, resolveDirective as R, openBlock as v, createBlock as V, mergeProps as b, unref as n, withCtx as W, withDirectives as I, createElementBlock as L, createCommentVNode as q, toHandlers as H, vShow as J } from "vue";
|
|
2
|
-
import { J as g } from "./baseImp-
|
|
3
|
-
import { w as K } from "./expression-
|
|
4
|
-
import { b as M } from "./share-field-
|
|
5
|
-
import { _ as T } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
2
|
+
import { J as g } from "./baseImp-20a90e41.js";
|
|
3
|
+
import { w as K } from "./expression-a866a962.js";
|
|
4
|
+
import { b as M } from "./share-field-12b7c18a.js";
|
|
5
|
+
import { _ as T } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1740e903.js";
|
|
6
6
|
import { I as z } from "./field-base-5547436d.js";
|
|
7
|
-
import { g as G } from "./uuid-
|
|
8
|
-
import { m as U } from "./enum-type-
|
|
9
|
-
import "./enum-type-
|
|
7
|
+
import { g as G } from "./uuid-c0d8695e.js";
|
|
8
|
+
import { m as U } from "./enum-type-8b297420.js";
|
|
9
|
+
import "./enum-type-154038c6.js";
|
|
10
10
|
import "./icon-a0e0cdb0.js";
|
|
11
|
-
import "./dialog-
|
|
11
|
+
import "./dialog-7785477a.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
13
|
import "element-plus";
|
|
14
14
|
import "./source-map-b04aec4a.js";
|
|
15
15
|
import "./esprima-e8d15055.js";
|
|
16
|
-
import "./multirow-
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./slot-
|
|
16
|
+
import "./multirow-a47c974b.js";
|
|
17
|
+
import "./index-ed5df8f0.js";
|
|
18
|
+
import "./slot-262f69f7.js";
|
|
19
19
|
import "./widget-base-4c2d6265.js";
|
|
20
|
-
import "./index-
|
|
20
|
+
import "./index-b48762a8.js";
|
|
21
21
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
22
|
-
import "./fieldobj-
|
|
22
|
+
import "./fieldobj-b9410b27.js";
|
|
23
23
|
function X(l, d) {
|
|
24
24
|
var s;
|
|
25
25
|
if (!l) {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as c, computed as j, resolveComponent as k, openBlock as m, createBlock as s, mergeProps as l, unref as e, withCtx as d, toHandlers as b, createSlots as F, renderList as O, resolveDynamicComponent as B } from "vue";
|
|
2
|
-
import { w as E } from "./expression-
|
|
2
|
+
import { w as E } from "./expression-a866a962.js";
|
|
3
3
|
import { I as L } 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 { b as P } from "./share-field-
|
|
6
|
-
import { g as $ } from "./slot-
|
|
4
|
+
import { _ as N } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1740e903.js";
|
|
5
|
+
import { b as P } from "./share-field-12b7c18a.js";
|
|
6
|
+
import { g as $ } from "./slot-262f69f7.js";
|
|
7
7
|
import "./source-map-b04aec4a.js";
|
|
8
|
-
import "./enum-type-
|
|
9
|
-
import "./uuid-
|
|
8
|
+
import "./enum-type-8b297420.js";
|
|
9
|
+
import "./uuid-c0d8695e.js";
|
|
10
10
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
11
11
|
import "./esprima-e8d15055.js";
|
|
12
12
|
import "./widget-base-4c2d6265.js";
|
|
13
|
-
import "./index-
|
|
14
|
-
import "./enum-type-
|
|
15
|
-
import "./baseImp-
|
|
13
|
+
import "./index-ed5df8f0.js";
|
|
14
|
+
import "./enum-type-154038c6.js";
|
|
15
|
+
import "./baseImp-20a90e41.js";
|
|
16
16
|
import "./icon-a0e0cdb0.js";
|
|
17
|
-
import "./dialog-
|
|
17
|
+
import "./dialog-7785477a.js";
|
|
18
18
|
import "element-plus";
|
|
19
|
-
import "./index-
|
|
19
|
+
import "./index-b48762a8.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
import "./multirow-
|
|
21
|
+
import "./fieldobj-b9410b27.js";
|
|
22
|
+
import "./multirow-a47c974b.js";
|
|
23
23
|
const A = c({ componentName: E.FieldWidget }), pe = /* @__PURE__ */ c({
|
|
24
24
|
...A,
|
|
25
25
|
__name: "image-widget",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as E, ref as V, computed as P, onMounted as N, nextTick as S, resolveComponent as C, resolveDirective as U, unref as t, openBlock as l, createBlock as d, mergeProps as z, withCtx as i, createElementVNode as O, createTextVNode as y, toDisplayString as h, createCommentVNode as s, withDirectives as L, createElementBlock as a } from "vue";
|
|
2
|
-
import { e as g, j as W } from "./enum-type-
|
|
3
|
-
import { f as $, g as c } from "./enum-type-
|
|
4
|
-
import { I as A } from "./dialog-
|
|
5
|
-
import { u as v } from "./uuid-
|
|
2
|
+
import { e as g, j as W } from "./enum-type-8b297420.js";
|
|
3
|
+
import { f as $, g as c } from "./enum-type-154038c6.js";
|
|
4
|
+
import { I as A } from "./dialog-7785477a.js";
|
|
5
|
+
import { u as v } from "./uuid-c0d8695e.js";
|
|
6
6
|
const H = { style: { width: "99%", height: "99%", margin: "0 auto" } }, q = ["src", "id"], F = ["id"], G = { class: "dialog-footer" }, J = { style: { width: "99%", height: "99%", margin: "0 auto" } }, K = ["src", "id"], Q = ["id"], X = { class: "dialog-footer" }, Y = { style: { width: "99%", height: "99%", margin: "0 auto" } }, Z = ["src", "id"], x = ["id"], ee = /* @__PURE__ */ O("span", { style: { display: "none" } }, null, -1), oe = /* @__PURE__ */ E({
|
|
7
7
|
__name: "index",
|
|
8
8
|
props: { ...A },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as y, computed as d, ref as w, shallowRef as z, watch as C, isRef as I, resolveComponent as N, unref as t, openBlock as s, createElementBlock as _, normalizeClass as S, createElementVNode as b, toDisplayString as B, createCommentVNode as $, createBlock as h, withCtx as D, resolveDynamicComponent as E } from "vue";
|
|
2
|
-
import { a as R } from "./enum-type-
|
|
2
|
+
import { a as R } from "./enum-type-8b297420.js";
|
|
3
3
|
import { u as L, r as V } from "./icon-a0e0cdb0.js";
|
|
4
4
|
import { _ as W } from "./_plugin-vue_export-helper-dad06003.js";
|
|
5
5
|
const j = ["width", "height", "color"], q = ["xlink:href"], A = {
|