hlrender 0.0.254 → 0.0.256
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-cb2a31ab.js → _pdf-8136fc42.js} +3 -3
- package/{_txt-391e502f.js → _txt-e0a4c3ff.js} +3 -3
- package/{affix-widget-2a18dd2e.js → affix-widget-f20e7903.js} +11 -11
- package/{alert-widget-44e3642c.js → alert-widget-19e608fe.js} +11 -11
- package/{anchor-widget-2f3844c5.js → anchor-widget-257c520e.js} +8 -8
- package/{auto-complete-widget-ded404e6.js → auto-complete-widget-78fa6500.js} +11 -11
- package/{avatar-widget-cc0d9a73.js → avatar-widget-49ef9574.js} +11 -11
- package/{backtop-widget-39b32589.js → backtop-widget-7d02366e.js} +11 -11
- package/badge-widget-43b282fc.js +58 -0
- package/{barcode-widget-cc9e4745.js → barcode-widget-37094083.js} +8 -8
- package/{baseImp-9c1c3476.js → baseImp-1b45ce51.js} +193 -193
- package/{breadcrumb-widget-c050052c.js → breadcrumb-widget-1a3a9460.js} +8 -8
- package/{button-widget-11688374.js → button-widget-5668ef93.js} +11 -11
- package/{cache-widget-00b75387.js → cache-widget-396e183b.js} +10 -10
- package/{card-widget-b58e0e1c.js → card-widget-8f9a27f1.js} +9 -9
- package/{carousel-widget-abe52471.js → carousel-widget-8d458df6.js} +9 -9
- package/{cascader-widget-9a987436.js → cascader-widget-b6b61ba7.js} +10 -10
- package/{chart-widget-a50176b7.js → chart-widget-e568fe37.js} +8 -8
- package/{checkbox-widget-692ff86b.js → checkbox-widget-0852502b.js} +10 -10
- package/{collapse-widget-ab67fe32.js → collapse-widget-57f0721d.js} +9 -9
- package/{color-picker-widget-8aea5afb.js → color-picker-widget-2798c5d2.js} +10 -10
- package/{cont-cell-widget-6f529f84.js → cont-cell-widget-4ae7c496.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-0c59da03.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-8c711405.js} +4 -4
- package/{cont-widget-a8274f9c.js → cont-widget-3ce7f119.js} +4 -4
- package/{content-wrapper-8467d706.js → content-wrapper-dace86cd.js} +4 -4
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-a0a33278.js → content-wrapper.vue_vue_type_script_setup_true_lang-3beb8338.js} +1 -1
- package/{countdown-widget-358f17ee.js → countdown-widget-46b4564e.js} +11 -11
- package/{date-picker-range-widget-dd08d5d8.js → date-picker-range-widget-d8a58ec3.js} +10 -10
- package/{date-picker-widget-095e524d.js → date-picker-widget-2738d7f2.js} +10 -10
- package/{default-slot-widget-ae309832.js → default-slot-widget-31e3cc44.js} +9 -9
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-f5706c12.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-25e9b0c5.js} +4 -4
- package/{descriptions-widget-0be1e043.js → descriptions-widget-aedbb9cf.js} +9 -9
- package/{dialog-eea5b71b.js → dialog-9d4409b8.js} +1 -1
- package/{dialog-widget-2abbe60e.js → dialog-widget-ad0f6e2a.js} +10 -10
- package/{divider-widget-5b3bb347.js → divider-widget-916eb3ee.js} +11 -11
- package/{drag-wrapper-280c10df.js → drag-wrapper-30a06622.js} +4 -4
- package/{drawer-widget-7da84d35.js → drawer-widget-101380b8.js} +10 -10
- package/{dropdown-widget-5069e741.js → dropdown-widget-333022b9.js} +9 -9
- package/{empty-widget-c1c9b5c6.js → empty-widget-893ea9b9.js} +11 -11
- package/{enum-type-80708bd8.js → enum-type-861cdb2b.js} +1 -0
- package/{feedback-widget-d182450f.js → feedback-widget-31e2295d.js} +10 -10
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-d5e16f69.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-cad7b147.js} +4 -4
- package/{file-upload-widget-7d53d977.js → file-upload-widget-37c2752e.js} +14 -14
- package/{form-item-wrapper-664c4181.js → form-item-wrapper-51df49c5.js} +6 -6
- package/form-widget-daa5d8c6.js +243 -0
- package/{grid-col-widget-9c7dc974.js → grid-col-widget-b83e0dbe.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-99653bae.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-60ad8f93.js} +4 -4
- package/{grid-widget-41719bcf.js → grid-widget-ed09f570.js} +4 -4
- package/{hcard-widget-03b5d403.js → hcard-widget-15020c3b.js} +9 -9
- package/{html-text-widget-d9186b24.js → html-text-widget-d2506a0d.js} +9 -9
- package/{icon-widget-dd4a50ba.js → icon-widget-1cd14528.js} +8 -8
- package/{iframe-widget-ea0a8616.js → iframe-widget-f51a14ad.js} +8 -8
- package/{image-widget-75818f48.js → image-widget-7f3c4876.js} +8 -8
- package/{index-99510eab.js → index-67b18641.js} +2 -2
- package/{index-88a56222.js → index-b7be104a.js} +2 -2
- package/index-e8755b94.js +49 -0
- package/{input-number-widget-cf564a04.js → input-number-widget-9c8e07b1.js} +10 -10
- package/{input-tag-widget-c4f83eb0.js → input-tag-widget-9ea24a85.js} +11 -11
- package/{input-widget-6c85ebbf.js → input-widget-f41ce547.js} +11 -11
- package/{label-wrapper-c9720011.js → label-wrapper-f0bca717.js} +2 -2
- package/{label-wrapper.vue_vue_type_style_index_0_lang-8eedceba.js → label-wrapper.vue_vue_type_style_index_0_lang-52523e6f.js} +1 -1
- package/{link-widget-39a343f2.js → link-widget-04ab1782.js} +11 -11
- package/{ltable-col-widget-571ea5a7.js → ltable-col-widget-22c8f5bc.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-37da7b2c.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-20b73a30.js} +6 -6
- package/{ltable-widget-50899618.js → ltable-widget-f34c8628.js} +4 -4
- package/{mention-widget-adaedb24.js → mention-widget-d14d78ae.js} +11 -11
- package/{menu-widget-3f1c7f87.js → menu-widget-4c26cf54.js} +9 -9
- package/{model-widget-5902f18c.js → model-widget-0d0ad8b5.js} +8 -8
- package/{multirow-8598f33c.js → multirow-77576f78.js} +3 -3
- package/{multirow-widget-b6e2a428.js → multirow-widget-8abb3046.js} +10 -10
- package/package.json +1 -1
- package/{pagination-widget-b34a1194.js → pagination-widget-117104ac.js} +8 -8
- package/{picture-upload-widget-78384134.js → picture-upload-widget-0ab32aec.js} +11 -11
- package/progress-widget-24f5466d.js +117 -0
- package/{qrcode-widget-f9fb2fe5.js → qrcode-widget-e4ced055.js} +8 -8
- package/{radio-widget-5a6c3ce9.js → radio-widget-74ff8f0f.js} +10 -10
- package/{range-widget-aba5f012.js → range-widget-5a482182.js} +11 -11
- package/{rate-widget-4a70e7a3.js → rate-widget-0ac3aac5.js} +10 -10
- package/render.es.js +27 -27
- package/render.umd.js +293 -293
- package/{result-widget-134615f0.js → result-widget-9a2e3aba.js} +9 -9
- package/rich-editor-widget-d68bda5a.js +82 -0
- package/{router-widget-d52074a8.js → router-widget-235b7b43.js} +8 -8
- package/{segmented-widget-53245a23.js → segmented-widget-09888390.js} +8 -8
- package/{select-widget-5766fbe3.js → select-widget-ba75348f.js} +164 -161
- package/{sfc-7c90544e.js → sfc-d89a22c5.js} +5 -5
- package/{sfcview-bff1db9b.js → sfcview-e9371b16.js} +4 -4
- package/share-field-5e434a75.js +839 -0
- package/{share-file-1f280209.js → share-file-bfd85483.js} +3 -3
- package/{skeleton-widget-ad453f1b.js → skeleton-widget-f1d8eebe.js} +11 -11
- package/{skeletonItem-widget-c6a49e4c.js → skeletonItem-widget-b0e69b6c.js} +8 -8
- package/{slider-widget-555976aa.js → slider-widget-ccb6d291.js} +10 -10
- package/{slot-44e26cb4.js → slot-9d70ae55.js} +1 -1
- package/{space-widget-346be94d.js → space-widget-0fb60fb7.js} +9 -9
- package/{splitter-widget-4d077c4a.js → splitter-widget-763113b4.js} +9 -9
- package/{static-text-widget-25c2d045.js → static-text-widget-749234fe.js} +9 -9
- package/{statistic-widget-f63e85b9.js → statistic-widget-05e596b5.js} +11 -11
- package/{steps-widget-45004417.js → steps-widget-ccf3836b.js} +8 -8
- package/{subMenu-widget-09b1a1c0.js → subMenu-widget-d703aab6.js} +4 -4
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-27267c3d.js → subMenu-widget.vue_vue_type_script_setup_true_lang-7c0be868.js} +2 -2
- package/{switch-widget-3c99ceac.js → switch-widget-2c0b74d8.js} +10 -10
- package/{tab-pane-widget-d38d30e6.js → tab-pane-widget-26862007.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-921b1628.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-ab2cafe5.js} +4 -4
- package/{table-col-widget-48b611bb.js → table-col-widget-f083efa3.js} +8 -8
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-317b4b1b.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-b4c6d59f.js} +5 -5
- package/{table-widget-84b979d9.js → table-widget-ace9fe59.js} +10 -10
- package/{tabs-widget-6e90c3f2.js → tabs-widget-1d387100.js} +5 -5
- package/{tag-widget-b214a1de.js → tag-widget-e2ee7683.js} +11 -11
- package/{text-widget-8958b7d3.js → text-widget-872d7a34.js} +11 -11
- package/{textarea-widget-5cd72c0c.js → textarea-widget-5d2e04fb.js} +10 -10
- package/{time-picker-range-widget-4ac2ca63.js → time-picker-range-widget-4a9bcae1.js} +10 -10
- package/{time-picker-widget-fe953f9e.js → time-picker-widget-a5fdf5cc.js} +10 -10
- package/{time-select-widget-814097a0.js → time-select-widget-2bbe7fc9.js} +10 -10
- package/{timeline-widget-0f326a16.js → timeline-widget-3665f0a2.js} +9 -9
- package/{tmpl-widget-49377857.js → tmpl-widget-819958a3.js} +9 -9
- package/{tooltip-widget-9bb6f2f3.js → tooltip-widget-ce58782e.js} +9 -9
- package/{tour-widget-4a8fc371.js → tour-widget-421abfb8.js} +8 -8
- package/{transfer-widget-f68b433f.js → transfer-widget-6aabf5cf.js} +11 -11
- package/{tree-select-widget-50354001.js → tree-select-widget-15f291f7.js} +10 -10
- package/{tree-widget-af0452ae.js → tree-widget-8eb949c4.js} +8 -8
- package/{verifycode-widget-7290ae2c.js → verifycode-widget-1820a609.js} +8 -8
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b0c471a1.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-60a2f6e3.js} +3 -3
- package/{wrapper-widget-73dee9c8.js → wrapper-widget-0a3d0609.js} +5 -5
- package/badge-widget-3d643d98.js +0 -53
- package/form-widget-1a5f0ec9.js +0 -236
- package/index-658d06a4.js +0 -46
- package/progress-widget-0e769bf4.js +0 -121
- package/rich-editor-widget-df907458.js +0 -74
- package/share-field-6b809684.js +0 -834
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
import { ref as K, reactive as U, onMounted as ue, nextTick as je, defineComponent as me, computed as ye, resolveComponent as Ee, resolveDirective as Ne, openBlock as le, createBlock as de, mergeProps as J, unref as g, withCtx as re, withDirectives as Me, toHandlers as Re, withModifiers as Ae, createVNode as Pe } from "vue";
|
|
2
|
+
import { I as $e } from "./widget-base-8eece820.js";
|
|
3
|
+
import { D as ke } from "./drag-wrapper-30a06622.js";
|
|
4
|
+
import { _ as Ie } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-60a2f6e3.js";
|
|
5
|
+
import { w as X, a as se, b as I, f as L, i as Be } from "./expression-fb652f29.js";
|
|
6
|
+
import { u as He } from "./icon-1fc5d00d.js";
|
|
7
|
+
import { u as Te, a as qe } from "./multirow-77576f78.js";
|
|
8
|
+
import { b as ze, G as Q, M as fe, e as Ge, d as ce, N as Ke, A as Ue, g as Je } from "./enum-type-8bbffeb3.js";
|
|
9
|
+
import { $ as Qe, B as Xe } from "./baseImp-1b45ce51.js";
|
|
10
|
+
import { f as Ye } from "./index-67b18641.js";
|
|
11
|
+
import { b as Ze, a as et, u as tt } from "./share-field-5e434a75.js";
|
|
12
|
+
import { W as ot } from "./enum-type-861cdb2b.js";
|
|
13
|
+
import { F as nt } from "./slot-9d70ae55.js";
|
|
14
|
+
import { _ as at } from "./_plugin-vue_export-helper-dad06003.js";
|
|
15
|
+
function it(c) {
|
|
16
|
+
const j = c.widget, v = c.designer, F = v == null ? void 0 : v.pageConfig, w = c == null ? void 0 : c.widgetList, y = K({}), E = {}, { fieldModel: B, fieldName: H, fieldEditor: u, attrs: N, events: _, hasFieldOptions: M, exposed: D, fieldObj: T, watchOption: W, propResultOpt: r, extendAttrs: s } = Ze(c), { off$: V, on$: O, emit$: R, broadcast: x } = qe();
|
|
17
|
+
var { instance: S } = He();
|
|
18
|
+
const { setAllRefList: ve } = et(y.value), Y = { designState: c == null ? void 0 : c.designState, pageConfig: F, globalConfig: r == null ? void 0 : r.globalConfig }, { formModel: A, setData: pe, getData: P, clearData: Z } = Te(w, { ...Y }), { handleFunc: q } = tt({ options: F }, Y), z = U({}), ge = () => {
|
|
19
|
+
V(L.fieldChange), O(L.fieldChange, (e) => {
|
|
20
|
+
we(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), D == null || D.setValue(A), be(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue);
|
|
21
|
+
});
|
|
22
|
+
}, he = () => {
|
|
23
|
+
V(L.fieldValidation), O(L.fieldValidation, (e) => {
|
|
24
|
+
var t;
|
|
25
|
+
(t = u.value) == null || t.validateField(e == null ? void 0 : e.propName);
|
|
26
|
+
});
|
|
27
|
+
}, _e = () => {
|
|
28
|
+
V(L.fieldRuleChange), O(L.fieldRuleChange, (e) => {
|
|
29
|
+
var o;
|
|
30
|
+
var t = (o = e == null ? void 0 : e.rules) == null ? void 0 : o.map((n) => ({
|
|
31
|
+
required: n.required,
|
|
32
|
+
message: n.message,
|
|
33
|
+
trigger: n.trigger,
|
|
34
|
+
validator: n.validator
|
|
35
|
+
}));
|
|
36
|
+
Object.assign(z, { [e == null ? void 0 : e.fieldName]: t }), N.value.rules = z;
|
|
37
|
+
});
|
|
38
|
+
}, ee = K(!0), G = K(!1), $ = U({}), k = U({}), te = (e) => {
|
|
39
|
+
fe(k), ce(k, e);
|
|
40
|
+
}, Ce = () => ({
|
|
41
|
+
change_info: Q($),
|
|
42
|
+
before_info: Q(k),
|
|
43
|
+
after_info: Q(A),
|
|
44
|
+
flag: G.value
|
|
45
|
+
}), be = (e, t, o) => {
|
|
46
|
+
k[e] == $[e] && (G.value = !0, e && ce($, { [e]: { oldValue: o, newValue: t } }));
|
|
47
|
+
}, Fe = () => {
|
|
48
|
+
G.value = !1, fe($), te(P());
|
|
49
|
+
}, we = (e, t, o) => {
|
|
50
|
+
q(_.value.formDataChange, { field: { fieldName: e, newValue: t, oldValue: o }, formModel: A });
|
|
51
|
+
}, De = () => {
|
|
52
|
+
q(_.value.formCreated);
|
|
53
|
+
}, Le = () => {
|
|
54
|
+
q(_.value.formMounted);
|
|
55
|
+
}, We = () => {
|
|
56
|
+
_e(), ge(), he(), De();
|
|
57
|
+
}, Ve = (e) => {
|
|
58
|
+
var t;
|
|
59
|
+
(t = u.value) == null || t.clearValidate(e);
|
|
60
|
+
}, Oe = () => {
|
|
61
|
+
ve(ot.resetField), je(() => {
|
|
62
|
+
Ve();
|
|
63
|
+
});
|
|
64
|
+
}, oe = (e, t) => {
|
|
65
|
+
let o = [];
|
|
66
|
+
for (let f in e) {
|
|
67
|
+
var n = e[f], d = n == null ? void 0 : n.filter((i) => (i == null ? void 0 : i.force) === t);
|
|
68
|
+
d == null || d.forEach((i) => {
|
|
69
|
+
var m;
|
|
70
|
+
const p = (m = i == null ? void 0 : i.rule) == null ? void 0 : m.label;
|
|
71
|
+
i.message && o.push(Be(p ? "【" + p + "】" : "", i.message, ":"));
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
return Ke(o);
|
|
75
|
+
}, xe = (e, t) => {
|
|
76
|
+
var o = {};
|
|
77
|
+
return Ye(t, (n) => {
|
|
78
|
+
var d = Xe.getName(n), f = Ue(e, d);
|
|
79
|
+
return f && (o[d] = e[d]), f;
|
|
80
|
+
}, !1), o;
|
|
81
|
+
}, Se = (e = !0) => {
|
|
82
|
+
var d, f, i;
|
|
83
|
+
let t = P(), o = function() {
|
|
84
|
+
}, n = new Promise(function(p, m) {
|
|
85
|
+
o = function(a, l) {
|
|
86
|
+
(l ? m : p)({ data: a, isSuccess: !l, message: l });
|
|
87
|
+
};
|
|
88
|
+
});
|
|
89
|
+
return !((d = u.value) != null && d.validate) || !e ? (o(t), n) : ((i = (f = u.value) == null ? void 0 : f.validate) == null || i.call(f, (p, m) => {
|
|
90
|
+
if (p)
|
|
91
|
+
o(t);
|
|
92
|
+
else {
|
|
93
|
+
var a = oe(m, !0);
|
|
94
|
+
if (a && a.length > 0) {
|
|
95
|
+
o(t, a);
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
var l = oe(m, !1);
|
|
99
|
+
if (l && l.length > 0) {
|
|
100
|
+
l.push(Ge.i18nt("designer.hint.continue")), Qe.multiple(l).then((h) => {
|
|
101
|
+
o(t);
|
|
102
|
+
});
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}), n);
|
|
107
|
+
}, ne = (e, t = !0) => {
|
|
108
|
+
if (!j)
|
|
109
|
+
return;
|
|
110
|
+
var o = xe(e, [j]);
|
|
111
|
+
pe(o, t);
|
|
112
|
+
const n = ["refList", "widgetRefList"];
|
|
113
|
+
x(X.ContainerWidget, se.setFormData, e, S, n), x(X.FieldWidget, se.setFormData, e, S, n);
|
|
114
|
+
}, ae = (e) => {
|
|
115
|
+
ee.value = !0;
|
|
116
|
+
const t = (o, n) => o === null && n === void 0;
|
|
117
|
+
return new Promise((o, n) => {
|
|
118
|
+
const d = (a, l) => {
|
|
119
|
+
var C, b, ie;
|
|
120
|
+
let h = (C = s.value) != null && C.formDataLoaded ? (ie = (b = s.value) == null ? void 0 : b.formDataLoaded) == null ? void 0 : ie.call(b, P(), a) : a;
|
|
121
|
+
Je(h) ? ne(h, !l) : h = {}, te(h), ee.value = !1, o(h);
|
|
122
|
+
}, f = () => {
|
|
123
|
+
W(e, I.newDataSource, void 0, (a, l) => {
|
|
124
|
+
t(a, l) || d(a, !0);
|
|
125
|
+
});
|
|
126
|
+
}, i = () => {
|
|
127
|
+
W(e, I.editDataSource, void 0, (a, l) => {
|
|
128
|
+
var C, b;
|
|
129
|
+
if (t(a, l))
|
|
130
|
+
return;
|
|
131
|
+
if (((b = (C = s.value) == null ? void 0 : C.needFormAdd) == null ? void 0 : b.call(C, a)) && m) {
|
|
132
|
+
f();
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
d(a, !1);
|
|
136
|
+
});
|
|
137
|
+
}, p = M(I.editDataSource), m = M(I.newDataSource);
|
|
138
|
+
p ? i() : m && f();
|
|
139
|
+
});
|
|
140
|
+
};
|
|
141
|
+
return We(), ue(() => {
|
|
142
|
+
ze(), Le();
|
|
143
|
+
}), {
|
|
144
|
+
widgetRefList: y,
|
|
145
|
+
allWidgetRefList: E,
|
|
146
|
+
fieldEditor: u,
|
|
147
|
+
formModel: A,
|
|
148
|
+
pageConfig: F,
|
|
149
|
+
widgetList: w,
|
|
150
|
+
fieldModel: B,
|
|
151
|
+
fieldName: H,
|
|
152
|
+
attrs: N,
|
|
153
|
+
extendAttrs: s,
|
|
154
|
+
events: _,
|
|
155
|
+
rules: z,
|
|
156
|
+
loadData: ae,
|
|
157
|
+
clearData: Z,
|
|
158
|
+
exposed: {
|
|
159
|
+
...D,
|
|
160
|
+
setValue: ne,
|
|
161
|
+
getValue: Se,
|
|
162
|
+
resetField: Oe,
|
|
163
|
+
clearData: Z,
|
|
164
|
+
loadData: ae,
|
|
165
|
+
getData: P,
|
|
166
|
+
//修改痕迹
|
|
167
|
+
clearChangeRecord: Fe,
|
|
168
|
+
getChangeRecord: Ce,
|
|
169
|
+
emit$: R
|
|
170
|
+
},
|
|
171
|
+
fieldObj: T
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
const lt = me({ componentName: X.ContainerWidget }), dt = /* @__PURE__ */ me({
|
|
175
|
+
...lt,
|
|
176
|
+
__name: "form-widget",
|
|
177
|
+
props: { ...$e },
|
|
178
|
+
setup(c, { expose: j }) {
|
|
179
|
+
var W;
|
|
180
|
+
const v = c, { exposed: F, formModel: w, fieldEditor: y, attrs: E, events: B, widgetRefList: H, extendAttrs: u, fieldName: N, fieldObj: _, loadData: M } = it({ ...v, widgetList: (W = v == null ? void 0 : v.widget) == null ? void 0 : W.widgetList }), D = N.value, T = ye(() => {
|
|
181
|
+
var r, s;
|
|
182
|
+
return {
|
|
183
|
+
disabled: (r = E.value) == null ? void 0 : r.disabled,
|
|
184
|
+
readonly: (s = u.value) == null ? void 0 : s.readonly
|
|
185
|
+
};
|
|
186
|
+
});
|
|
187
|
+
return nt.globalProvide({
|
|
188
|
+
globalFormName: D,
|
|
189
|
+
globalDataModel: w,
|
|
190
|
+
globalFormOptions: T
|
|
191
|
+
}), ue(() => {
|
|
192
|
+
var r;
|
|
193
|
+
(r = u.value) != null && r.loadDataWhenInit && !v.designState && M(!0).then((s) => {
|
|
194
|
+
}).catch((s) => {
|
|
195
|
+
}).finally(() => {
|
|
196
|
+
F.clearChangeRecord();
|
|
197
|
+
});
|
|
198
|
+
}), j({ ...F }), (r, s) => {
|
|
199
|
+
const V = Ee("el-form"), O = Ne("loading");
|
|
200
|
+
return le(), de(Ie, J(r.$props, {
|
|
201
|
+
"prop-options": { fieldObj: g(_) }
|
|
202
|
+
}), {
|
|
203
|
+
default: re(({ data: R }) => {
|
|
204
|
+
var x, S;
|
|
205
|
+
return [
|
|
206
|
+
Me((le(), de(V, J({
|
|
207
|
+
ref_key: "fieldEditor",
|
|
208
|
+
ref: y,
|
|
209
|
+
model: g(w)
|
|
210
|
+
}, g(E), Re(g(B)), {
|
|
211
|
+
class: R.injectClass,
|
|
212
|
+
key: (x = g(_)) == null ? void 0 : x.fieldKey,
|
|
213
|
+
"element-loading-text": g(u).loadingText,
|
|
214
|
+
onSubmit: s[0] || (s[0] = Ae(() => {
|
|
215
|
+
}, ["prevent"]))
|
|
216
|
+
}), {
|
|
217
|
+
default: re(() => [
|
|
218
|
+
Pe(ke, J(r.$props, {
|
|
219
|
+
dragClass: "formDrag padSize",
|
|
220
|
+
model: g(w),
|
|
221
|
+
provideModel: !0,
|
|
222
|
+
"component-class": R.componentWrapperClass,
|
|
223
|
+
refList: g(H)
|
|
224
|
+
}), null, 16, ["model", "component-class", "refList"])
|
|
225
|
+
]),
|
|
226
|
+
_: 2
|
|
227
|
+
}, 1040, ["model", "class", "element-loading-text"])), [
|
|
228
|
+
[O, (S = g(u)) == null ? void 0 : S.showLoading]
|
|
229
|
+
])
|
|
230
|
+
];
|
|
231
|
+
}),
|
|
232
|
+
_: 1
|
|
233
|
+
}, 16, ["prop-options"]);
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
});
|
|
237
|
+
const rt = /* @__PURE__ */ at(dt, [["__scopeId", "data-v-badf0168"]]), Dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
238
|
+
__proto__: null,
|
|
239
|
+
default: rt
|
|
240
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
241
|
+
export {
|
|
242
|
+
Dt as _
|
|
243
|
+
};
|
|
@@ -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-60ad8f93.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 r, withCtx as W, createVNode as x } from "vue";
|
|
2
2
|
import { w as b } from "./expression-fb652f29.js";
|
|
3
3
|
import { I as k } from "./widget-base-8eece820.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-30a06622.js";
|
|
5
|
+
import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-60a2f6e3.js";
|
|
6
|
+
import { b as H } from "./share-field-5e434a75.js";
|
|
7
|
+
import { c as $ } from "./slot-9d70ae55.js";
|
|
8
8
|
const z = m({ componentName: b.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
2
|
import { b as k, w as y } from "./expression-fb652f29.js";
|
|
3
3
|
import { I as C } from "./widget-base-8eece820.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-60ad8f93.js";
|
|
5
|
+
import { _ as S } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-60a2f6e3.js";
|
|
6
|
+
import { b as j } from "./share-field-5e434a75.js";
|
|
7
|
+
import { c as P } from "./slot-9d70ae55.js";
|
|
8
8
|
const v = p({ componentName: y.ContainerWidget }), B = /* @__PURE__ */ p({
|
|
9
9
|
...v,
|
|
10
10
|
__name: "grid-widget",
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { defineComponent as C, useCssVars as j, computed as t, openBlock as l, createBlock as f, mergeProps as p, unref as r, withCtx as D, createElementBlock as _, normalizeClass as E, createElementVNode as g, Fragment as F, createTextVNode as I, toDisplayString as P, normalizeStyle as H, createVNode as O } from "vue";
|
|
2
|
-
import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
3
|
-
import { b as T } from "./share-field-
|
|
4
|
-
import { D as v } from "./drag-wrapper-
|
|
2
|
+
import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-60a2f6e3.js";
|
|
3
|
+
import { b as T } from "./share-field-5e434a75.js";
|
|
4
|
+
import { D as v } from "./drag-wrapper-30a06622.js";
|
|
5
5
|
import { w as q } from "./expression-fb652f29.js";
|
|
6
|
-
import { d as h } from "./slot-
|
|
6
|
+
import { d as h } from "./slot-9d70ae55.js";
|
|
7
7
|
import { I as A } from "./widget-base-8eece820.js";
|
|
8
8
|
import { g as i, a as G } from "./color-bae04003.js";
|
|
9
9
|
import { _ as J } from "./_plugin-vue_export-helper-dad06003.js";
|
|
10
10
|
import "./enum-type-8bbffeb3.js";
|
|
11
|
-
import "./index-
|
|
11
|
+
import "./index-67b18641.js";
|
|
12
12
|
import "./uuid-f2110dfe.js";
|
|
13
|
-
import "./enum-type-
|
|
14
|
-
import "./baseImp-
|
|
13
|
+
import "./enum-type-861cdb2b.js";
|
|
14
|
+
import "./baseImp-1b45ce51.js";
|
|
15
15
|
import "./icon-1fc5d00d.js";
|
|
16
|
-
import "./dialog-
|
|
16
|
+
import "./dialog-9d4409b8.js";
|
|
17
17
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
18
|
import "element-plus";
|
|
19
19
|
import "./index-ae7a8101.js";
|
|
20
20
|
import "./fieldobj-0f01de3c.js";
|
|
21
|
-
import "./multirow-
|
|
21
|
+
import "./multirow-77576f78.js";
|
|
22
22
|
import "./source-map-b04aec4a.js";
|
|
23
23
|
import "./esprima-e8d15055.js";
|
|
24
24
|
const L = { class: "--hcard-header" }, M = C({ componentName: q.ContainerWidget }), Q = /* @__PURE__ */ C({
|
|
@@ -1,21 +1,21 @@
|
|
|
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-1acf3ada.js";
|
|
3
|
-
import { b as P } from "./share-field-
|
|
3
|
+
import { b as P } from "./share-field-5e434a75.js";
|
|
4
4
|
import { w as b } from "./expression-fb652f29.js";
|
|
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-
|
|
5
|
+
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-60a2f6e3.js";
|
|
6
|
+
import { _ as j } from "./content-wrapper.vue_vue_type_script_setup_true_lang-3beb8338.js";
|
|
7
7
|
import "./widget-base-8eece820.js";
|
|
8
8
|
import "./enum-type-8bbffeb3.js";
|
|
9
|
-
import "./multirow-
|
|
10
|
-
import "./baseImp-
|
|
11
|
-
import "./enum-type-
|
|
9
|
+
import "./multirow-77576f78.js";
|
|
10
|
+
import "./baseImp-1b45ce51.js";
|
|
11
|
+
import "./enum-type-861cdb2b.js";
|
|
12
12
|
import "./icon-1fc5d00d.js";
|
|
13
|
-
import "./dialog-
|
|
13
|
+
import "./dialog-9d4409b8.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
15
|
import "./uuid-f2110dfe.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./slot-
|
|
17
|
+
import "./index-67b18641.js";
|
|
18
|
+
import "./slot-9d70ae55.js";
|
|
19
19
|
import "./source-map-b04aec4a.js";
|
|
20
20
|
import "./esprima-e8d15055.js";
|
|
21
21
|
import "./index-ae7a8101.js";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { defineComponent as d, resolveComponent as D, openBlock as i, createBlock as r, mergeProps as a, unref as e, withCtx as f, toHandlers as b, resolveDynamicComponent as k } from "vue";
|
|
2
2
|
import { I as v } from "./field-base-1acf3ada.js";
|
|
3
3
|
import { w as F } from "./expression-fb652f29.js";
|
|
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-
|
|
4
|
+
import { b as S } from "./share-field-5e434a75.js";
|
|
5
|
+
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-60a2f6e3.js";
|
|
6
|
+
import { S as B } from "./enum-type-861cdb2b.js";
|
|
7
7
|
import "./widget-base-8eece820.js";
|
|
8
8
|
import "./source-map-b04aec4a.js";
|
|
9
9
|
import "./enum-type-8bbffeb3.js";
|
|
10
10
|
import "./uuid-f2110dfe.js";
|
|
11
11
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
12
12
|
import "./esprima-e8d15055.js";
|
|
13
|
-
import "./multirow-
|
|
14
|
-
import "./baseImp-
|
|
13
|
+
import "./multirow-77576f78.js";
|
|
14
|
+
import "./baseImp-1b45ce51.js";
|
|
15
15
|
import "./icon-1fc5d00d.js";
|
|
16
|
-
import "./dialog-
|
|
16
|
+
import "./dialog-9d4409b8.js";
|
|
17
17
|
import "element-plus";
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./slot-
|
|
18
|
+
import "./index-67b18641.js";
|
|
19
|
+
import "./slot-9d70ae55.js";
|
|
20
20
|
import "./index-ae7a8101.js";
|
|
21
21
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
22
22
|
import "./fieldobj-0f01de3c.js";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { defineComponent as Q, computed as b, ref as h, onMounted as O, watch as R, resolveComponent as T, resolveDirective as V, openBlock as d, createBlock as I, mergeProps as L, unref as a, withCtx as q, createCommentVNode as U, withDirectives as H, createElementBlock as j, toHandlers as J } from "vue";
|
|
2
|
-
import { J as y } from "./baseImp-
|
|
2
|
+
import { J as y } from "./baseImp-1b45ce51.js";
|
|
3
3
|
import { w as K } from "./expression-fb652f29.js";
|
|
4
|
-
import { b as M } from "./share-field-
|
|
5
|
-
import { _ as z } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
4
|
+
import { b as M } from "./share-field-5e434a75.js";
|
|
5
|
+
import { _ as z } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-60a2f6e3.js";
|
|
6
6
|
import { I as G } from "./field-base-1acf3ada.js";
|
|
7
7
|
import { g as X } from "./uuid-f2110dfe.js";
|
|
8
8
|
import { m as B } from "./enum-type-8bbffeb3.js";
|
|
9
9
|
import { _ as Y } from "./_plugin-vue_export-helper-dad06003.js";
|
|
10
|
-
import "./enum-type-
|
|
10
|
+
import "./enum-type-861cdb2b.js";
|
|
11
11
|
import "./icon-1fc5d00d.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-9d4409b8.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "element-plus";
|
|
15
15
|
import "./source-map-b04aec4a.js";
|
|
16
16
|
import "./esprima-e8d15055.js";
|
|
17
|
-
import "./multirow-
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./slot-
|
|
17
|
+
import "./multirow-77576f78.js";
|
|
18
|
+
import "./index-67b18641.js";
|
|
19
|
+
import "./slot-9d70ae55.js";
|
|
20
20
|
import "./widget-base-8eece820.js";
|
|
21
21
|
import "./index-ae7a8101.js";
|
|
22
22
|
import "./fieldobj-0f01de3c.js";
|
|
@@ -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
2
|
import { w as E } from "./expression-fb652f29.js";
|
|
3
3
|
import { I as L } from "./field-base-1acf3ada.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-60a2f6e3.js";
|
|
5
|
+
import { b as P } from "./share-field-5e434a75.js";
|
|
6
|
+
import { g as $ } from "./slot-9d70ae55.js";
|
|
7
7
|
import "./source-map-b04aec4a.js";
|
|
8
8
|
import "./enum-type-8bbffeb3.js";
|
|
9
9
|
import "./uuid-f2110dfe.js";
|
|
10
10
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
11
11
|
import "./esprima-e8d15055.js";
|
|
12
12
|
import "./widget-base-8eece820.js";
|
|
13
|
-
import "./index-
|
|
14
|
-
import "./enum-type-
|
|
15
|
-
import "./baseImp-
|
|
13
|
+
import "./index-67b18641.js";
|
|
14
|
+
import "./enum-type-861cdb2b.js";
|
|
15
|
+
import "./baseImp-1b45ce51.js";
|
|
16
16
|
import "./icon-1fc5d00d.js";
|
|
17
|
-
import "./dialog-
|
|
17
|
+
import "./dialog-9d4409b8.js";
|
|
18
18
|
import "element-plus";
|
|
19
19
|
import "./index-ae7a8101.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
21
|
import "./fieldobj-0f01de3c.js";
|
|
22
|
-
import "./multirow-
|
|
22
|
+
import "./multirow-77576f78.js";
|
|
23
23
|
const A = c({ componentName: E.FieldWidget }), pe = /* @__PURE__ */ c({
|
|
24
24
|
...A,
|
|
25
25
|
__name: "image-widget",
|
|
@@ -4,8 +4,8 @@ var e = (t, r, o) => (Ai(t, typeof r != "symbol" ? r + "" : r, o), o);
|
|
|
4
4
|
import { r as en, d as vt, f as Ln, G as Fe, B as se, o as bn, c as Ee, A as Tt, i as Qn, S as Di, e as Ne, K as pn } from "./enum-type-8bbffeb3.js";
|
|
5
5
|
import { reactive as Yn, computed as He, nextTick as Fi, watch as Si } from "vue";
|
|
6
6
|
import { m as Oi, g as ct } from "./uuid-f2110dfe.js";
|
|
7
|
-
import { c as k, h as Ve, C as a, i as lt, F as ki, I as Ti, R as _i, j as Bi, k as Ii, l as tt, D as Bt, T as En, m as mt, n as Pi, o as Li, p as Ri, q as Ni, r as Mi, s as ji, t as Me, u as Ui, L as Zn, v as Hi, w as rn, x as Cn, y as er, z as zi, A as an, B as $i, H as Ut, G as Wi, J as Ki, K as Vi, M as Gi, N as qi, Q as tr, U as Xi, X as Ji, Y as Qi, Z as Yi, _ as Zi, $ as ea, a0 as Rn, a1 as ta, a2 as na, a3 as ra, a4 as nr, a5 as ia, a6 as aa, a7 as oa, a8 as rr, a9 as sa, aa as ir, ab as la, ac as wn, ad as ua, ae as ca, af as fa, ag as pa, ah as ar, ai as da, aj as Nn, ak as ha, al as wa, am as va, an as ma, ao as ya, ap as ga, aq as ba, ar as Ea, as as Ca, at as xa, d as xn, e as Aa, au as Da, av as Fa, P as Mn } from "./enum-type-
|
|
8
|
-
import { S as J, I as or, P as i, h as Ae, i as y, j as Ge, s as V, k as G, m as yt, n as le, o as Sa, p as sr, q as Kt, r as Je, E as Oa, t as on, v as An, w as je, x as It, B as pe, y as tn, f as Ue, T as lr, z as ur } from "./baseImp-
|
|
7
|
+
import { c as k, h as Ve, C as a, i as lt, F as ki, I as Ti, R as _i, j as Bi, k as Ii, l as tt, D as Bt, T as En, m as mt, n as Pi, o as Li, p as Ri, q as Ni, r as Mi, s as ji, t as Me, u as Ui, L as Zn, v as Hi, w as rn, x as Cn, y as er, z as zi, A as an, B as $i, H as Ut, G as Wi, J as Ki, K as Vi, M as Gi, N as qi, Q as tr, U as Xi, X as Ji, Y as Qi, Z as Yi, _ as Zi, $ as ea, a0 as Rn, a1 as ta, a2 as na, a3 as ra, a4 as nr, a5 as ia, a6 as aa, a7 as oa, a8 as rr, a9 as sa, aa as ir, ab as la, ac as wn, ad as ua, ae as ca, af as fa, ag as pa, ah as ar, ai as da, aj as Nn, ak as ha, al as wa, am as va, an as ma, ao as ya, ap as ga, aq as ba, ar as Ea, as as Ca, at as xa, d as xn, e as Aa, au as Da, av as Fa, P as Mn } from "./enum-type-861cdb2b.js";
|
|
8
|
+
import { S as J, I as or, P as i, h as Ae, i as y, j as Ge, s as V, k as G, m as yt, n as le, o as Sa, p as sr, q as Kt, r as Je, E as Oa, t as on, v as An, w as je, x as It, B as pe, y as tn, f as Ue, T as lr, z as ur } from "./baseImp-1b45ce51.js";
|
|
9
9
|
import { b as ge, r as jn, p as cr, d as Un, f as ka } from "./expression-fb652f29.js";
|
|
10
10
|
import { c as Hn } from "./_commonjsHelpers-e7ea1525.js";
|
|
11
11
|
function Ta(t) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as N, ref as V, computed as P, onMounted as S, nextTick as U, resolveComponent as C, resolveDirective as W, unref as t, openBlock as l, createBlock as d, mergeProps as z, withCtx as i, createElementVNode as L, createTextVNode as y, toDisplayString as h, createCommentVNode as s, withDirectives as $, createElementBlock as a } from "vue";
|
|
2
2
|
import { e as g, j as A } from "./enum-type-8bbffeb3.js";
|
|
3
|
-
import { f as O, g as v } from "./enum-type-
|
|
4
|
-
import { I as H } from "./dialog-
|
|
3
|
+
import { f as O, g as v } from "./enum-type-861cdb2b.js";
|
|
4
|
+
import { I as H } from "./dialog-9d4409b8.js";
|
|
5
5
|
import { u as c } from "./uuid-f2110dfe.js";
|
|
6
6
|
const q = { style: { width: "99%", height: "99%", margin: "0 auto" } }, F = ["src", "id"], G = ["id"], J = { class: "dialog-footer" }, K = { style: { width: "99%", height: "99%", margin: "0 auto" } }, Q = ["src", "id"], X = ["id"], Y = { class: "dialog-footer" }, Z = { style: { width: "99%", height: "99%", margin: "0 auto" } }, x = ["src", "id"], ee = ["id"], oe = /* @__PURE__ */ N({
|
|
7
7
|
__name: "index",
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { defineComponent as h, ref as c, shallowRef as k, watch as b, onMounted as y, nextTick as x, openBlock as V, createBlock as B, resolveDynamicComponent as C, normalizeStyle as E } from "vue";
|
|
2
|
+
const g = /* @__PURE__ */ h({
|
|
3
|
+
__name: "index",
|
|
4
|
+
props: {
|
|
5
|
+
modelValue: {},
|
|
6
|
+
disabled: { type: Boolean },
|
|
7
|
+
options: {},
|
|
8
|
+
contentHeight: { default: "500px" }
|
|
9
|
+
},
|
|
10
|
+
emits: ["update:modelValue", "click", "focus", "blur"],
|
|
11
|
+
setup(t, { emit: a }) {
|
|
12
|
+
const i = t, o = c(), d = c(), u = k(), s = () => {
|
|
13
|
+
import("./index-2d29f8d3.js").then((e) => {
|
|
14
|
+
const { quillEditor: n } = e.default;
|
|
15
|
+
u.value = n, o.value = i.modelValue;
|
|
16
|
+
});
|
|
17
|
+
}, l = a, m = (e) => {
|
|
18
|
+
l("update:modelValue", e == null ? void 0 : e.html);
|
|
19
|
+
}, r = (e) => {
|
|
20
|
+
l("focus", e);
|
|
21
|
+
}, f = (e) => {
|
|
22
|
+
l("blur", e);
|
|
23
|
+
}, p = (e) => {
|
|
24
|
+
l("click", e);
|
|
25
|
+
};
|
|
26
|
+
return b(() => i.modelValue, (e) => {
|
|
27
|
+
o.value = e;
|
|
28
|
+
}), y(() => {
|
|
29
|
+
x(() => {
|
|
30
|
+
s();
|
|
31
|
+
});
|
|
32
|
+
}), (e, n) => (V(), B(C(u.value), {
|
|
33
|
+
ref_key: "fieldEditor",
|
|
34
|
+
ref: d,
|
|
35
|
+
value: o.value,
|
|
36
|
+
"onUpdate:value": n[0] || (n[0] = (v) => o.value = v),
|
|
37
|
+
options: t.options,
|
|
38
|
+
onChange: m,
|
|
39
|
+
disabled: t.disabled,
|
|
40
|
+
onFocus: r,
|
|
41
|
+
onBlur: f,
|
|
42
|
+
onClick: p,
|
|
43
|
+
style: E(t.contentHeight ? `height: ${t.contentHeight}` : "")
|
|
44
|
+
}, null, 40, ["value", "options", "disabled", "style"]));
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
export {
|
|
48
|
+
g as default
|
|
49
|
+
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as d, resolveComponent as C, openBlock as r, createBlock as m, mergeProps as l, unref as e, withCtx as F, createElementVNode as N, isRef as j, toHandlers as E, createElementBlock as I, toDisplayString as O, createCommentVNode as W } from "vue";
|
|
2
|
-
import { b as h } from "./share-field-
|
|
2
|
+
import { b as h } from "./share-field-5e434a75.js";
|
|
3
3
|
import { I as z } from "./field-base-1acf3ada.js";
|
|
4
|
-
import B from "./form-item-wrapper-
|
|
4
|
+
import B from "./form-item-wrapper-51df49c5.js";
|
|
5
5
|
import { w as P } from "./expression-fb652f29.js";
|
|
6
6
|
import { _ as S } from "./_plugin-vue_export-helper-dad06003.js";
|
|
7
7
|
import "./enum-type-8bbffeb3.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
10
|
-
import "./enum-type-
|
|
8
|
+
import "./multirow-77576f78.js";
|
|
9
|
+
import "./baseImp-1b45ce51.js";
|
|
10
|
+
import "./enum-type-861cdb2b.js";
|
|
11
11
|
import "./icon-1fc5d00d.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-9d4409b8.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "./uuid-f2110dfe.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./slot-
|
|
16
|
+
import "./index-67b18641.js";
|
|
17
|
+
import "./slot-9d70ae55.js";
|
|
18
18
|
import "./widget-base-8eece820.js";
|
|
19
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-60a2f6e3.js";
|
|
20
20
|
import "./index-ae7a8101.js";
|
|
21
21
|
import "./fieldobj-0f01de3c.js";
|
|
22
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-52523e6f.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
const T = { class: "input-with-unit" }, A = {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { defineComponent as f, resolveComponent as O, openBlock as t, createBlock as i, mergeProps as n, unref as r, withCtx as s, isRef as S, toHandlers as x, createSlots as z, renderList as D, resolveDynamicComponent as I, createCommentVNode as l } from "vue";
|
|
2
2
|
import { e as W } from "./enum-type-8bbffeb3.js";
|
|
3
3
|
import { I as A } from "./field-base-1acf3ada.js";
|
|
4
|
-
import { b as B } from "./share-field-
|
|
5
|
-
import { g as E } from "./slot-
|
|
6
|
-
import L from "./form-item-wrapper-
|
|
4
|
+
import { b as B } from "./share-field-5e434a75.js";
|
|
5
|
+
import { g as E } from "./slot-9d70ae55.js";
|
|
6
|
+
import L from "./form-item-wrapper-51df49c5.js";
|
|
7
7
|
import { w as P } from "./expression-fb652f29.js";
|
|
8
|
-
import { D as T } from "./drag-wrapper-
|
|
8
|
+
import { D as T } from "./drag-wrapper-30a06622.js";
|
|
9
9
|
import "./widget-base-8eece820.js";
|
|
10
|
-
import "./multirow-
|
|
11
|
-
import "./baseImp-
|
|
12
|
-
import "./enum-type-
|
|
10
|
+
import "./multirow-77576f78.js";
|
|
11
|
+
import "./baseImp-1b45ce51.js";
|
|
12
|
+
import "./enum-type-861cdb2b.js";
|
|
13
13
|
import "./icon-1fc5d00d.js";
|
|
14
|
-
import "./dialog-
|
|
14
|
+
import "./dialog-9d4409b8.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
16
|
import "./uuid-f2110dfe.js";
|
|
17
17
|
import "element-plus";
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
18
|
+
import "./index-67b18641.js";
|
|
19
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-60a2f6e3.js";
|
|
20
20
|
import "./index-ae7a8101.js";
|
|
21
21
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
22
22
|
import "./fieldobj-0f01de3c.js";
|
|
23
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
23
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-52523e6f.js";
|
|
24
24
|
import "./source-map-b04aec4a.js";
|
|
25
25
|
import "./esprima-e8d15055.js";
|
|
26
26
|
const $ = f({ componentName: P.FieldWidget }), fe = /* @__PURE__ */ f({
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { defineComponent as f, resolveComponent as O, openBlock as t, createBlock as i, mergeProps as n, unref as r, withCtx as s, isRef as S, toHandlers as x, createSlots as z, renderList as D, resolveDynamicComponent as I, createCommentVNode as l } from "vue";
|
|
2
2
|
import { e as W } from "./enum-type-8bbffeb3.js";
|
|
3
3
|
import { I as h } from "./field-base-1acf3ada.js";
|
|
4
|
-
import { b as A } from "./share-field-
|
|
5
|
-
import { g as B } from "./slot-
|
|
6
|
-
import E from "./form-item-wrapper-
|
|
4
|
+
import { b as A } from "./share-field-5e434a75.js";
|
|
5
|
+
import { g as B } from "./slot-9d70ae55.js";
|
|
6
|
+
import E from "./form-item-wrapper-51df49c5.js";
|
|
7
7
|
import { w as L } from "./expression-fb652f29.js";
|
|
8
|
-
import { D as P } from "./drag-wrapper-
|
|
8
|
+
import { D as P } from "./drag-wrapper-30a06622.js";
|
|
9
9
|
import "./widget-base-8eece820.js";
|
|
10
|
-
import "./multirow-
|
|
11
|
-
import "./baseImp-
|
|
12
|
-
import "./enum-type-
|
|
10
|
+
import "./multirow-77576f78.js";
|
|
11
|
+
import "./baseImp-1b45ce51.js";
|
|
12
|
+
import "./enum-type-861cdb2b.js";
|
|
13
13
|
import "./icon-1fc5d00d.js";
|
|
14
|
-
import "./dialog-
|
|
14
|
+
import "./dialog-9d4409b8.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
16
|
import "./uuid-f2110dfe.js";
|
|
17
17
|
import "element-plus";
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
18
|
+
import "./index-67b18641.js";
|
|
19
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-60a2f6e3.js";
|
|
20
20
|
import "./index-ae7a8101.js";
|
|
21
21
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
22
22
|
import "./fieldobj-0f01de3c.js";
|
|
23
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
23
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-52523e6f.js";
|
|
24
24
|
import "./source-map-b04aec4a.js";
|
|
25
25
|
import "./esprima-e8d15055.js";
|
|
26
26
|
const T = f({ componentName: L.FieldWidget }), fe = /* @__PURE__ */ f({
|