hlrender 0.0.105 → 0.0.107
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/_image-fab8c8e2.js +28 -0
- package/_pdf-a1ef6f23.js +58 -0
- package/_txt-f58d1661.js +70 -0
- package/_unsupport-e6f84e26.js +35 -0
- package/_video-21c5b64e.js +23 -0
- package/{affix-widget-a4784881.js → affix-widget-e27ce439.js} +16 -16
- package/{alert-widget-7437e99d.js → alert-widget-29acce89.js} +16 -16
- package/{anchor-widget-4deadddc.js → anchor-widget-a9328cd1.js} +13 -13
- package/{auto-complete-widget-442f6612.js → auto-complete-widget-c7f628b7.js} +16 -16
- package/{avatar-widget-ff1e1e7d.js → avatar-widget-39b78620.js} +16 -16
- package/{backtop-widget-d4d51540.js → backtop-widget-6e57d8fe.js} +16 -16
- package/{badge-widget-465a3e42.js → badge-widget-4a787881.js} +19 -19
- package/{baseImp-5002ca16.js → baseImp-26b9c04a.js} +2973 -2889
- package/{breadcrumb-widget-21258dd3.js → breadcrumb-widget-57acc2c2.js} +16 -16
- package/{button-widget-2a8aa23b.js → button-widget-8f366155.js} +16 -16
- package/{cache-widget-4df5020b.js → cache-widget-681c2328.js} +15 -15
- package/{card-widget-de9c0244.js → card-widget-ec661a5f.js} +14 -14
- package/{carousel-widget-45f07b77.js → carousel-widget-c754320f.js} +14 -14
- package/{cascader-widget-f393a5f5.js → cascader-widget-94aa4f85.js} +23 -23
- package/{chart-widget-d83556f5.js → chart-widget-f8454126.js} +18 -18
- package/{checkbox-widget-696b25b1.js → checkbox-widget-44160821.js} +15 -15
- package/{collapse-widget-e192430e.js → collapse-widget-a2b8f8f9.js} +14 -14
- package/{color-picker-widget-3a8b2f17.js → color-picker-widget-6ff88d6b.js} +15 -15
- package/{cont-cell-widget-796b1026.js → cont-cell-widget-378f10f7.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-b40becdf.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-c695e4be.js} +5 -5
- package/{cont-widget-37f9b683.js → cont-widget-a0291a33.js} +5 -5
- package/{content-wrapper-c1827f38.js → content-wrapper-6a9a1af2.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-32decaca.js → content-wrapper.vue_vue_type_script_setup_true_lang-2b440b0c.js} +6 -6
- package/date-picker-range-widget-4e1f8a5e.js +82 -0
- package/date-picker-widget-a6ea53de.js +113 -0
- package/default-slot-widget-72fb2f79.js +26 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-1c4a2a95.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-e76a3814.js} +11 -11
- package/{descriptions-widget-3f7a7084.js → descriptions-widget-7b9b580b.js} +14 -14
- package/{dialog-29258d7d.js → dialog-c4706078.js} +2 -2
- package/{dialog-widget-bed8099e.js → dialog-widget-c90c6b38.js} +16 -16
- package/{divider-widget-fd49ef99.js → divider-widget-f6f5ecc8.js} +16 -16
- package/drag-wrapper-7bf27317.js +244 -0
- package/{drawer-widget-71384405.js → drawer-widget-da22a491.js} +16 -16
- package/{dropdown-widget-b323c382.js → dropdown-widget-5982a879.js} +14 -14
- package/{empty-widget-75ddc330.js → empty-widget-ddd257ba.js} +16 -16
- package/{enum-type-6439c695.js → enum-type-4a798b1a.js} +378 -695
- package/enum-type-bb2bfafa.js +222 -0
- package/{expression-e238c660.js → expression-490b4335.js} +403 -402
- package/feedback-widget-cd3cb686.js +26 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-df9377ed.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-8cb27f35.js} +5 -5
- package/{fieldobj-aa165eba.js → fieldobj-a9f1231d.js} +1 -1
- package/file-upload-widget-8f10ef4f.js +400 -0
- package/{form-item-wrapper-f68f514d.js → form-item-wrapper-888c1256.js} +12 -12
- package/form-widget-07c36b9c.js +224 -0
- package/{grid-col-widget-0a0044c6.js → grid-col-widget-a5f247a8.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-c2e26429.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-d09d7c02.js} +5 -5
- package/{grid-widget-fadca3f5.js → grid-widget-9da08670.js} +5 -5
- package/{html-text-widget-91a5f29a.js → html-text-widget-214c4b2a.js} +17 -17
- package/{icon-widget-20553ce3.js → icon-widget-8ed6caf5.js} +13 -13
- package/{iframe-widget-edfbee32.js → iframe-widget-483738f9.js} +26 -26
- package/{image-widget-4f09e930.js → image-widget-e19d3064.js} +13 -13
- package/{index-d3cb2709.js → index-79892b9c.js} +1 -1
- package/{index-dfefbed9.js → index-a7d766e7.js} +3073 -3013
- package/{index-42ec34dd.js → index-cda65e40.js} +4 -4
- package/{input-number-widget-5d6ff58d.js → input-number-widget-08cde096.js} +15 -15
- package/{input-widget-0a9da224.js → input-widget-1ca33ac3.js} +16 -16
- package/{label-wrapper-074dea6d.js → label-wrapper-f087426c.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-400ac7ab.js → label-wrapper.vue_vue_type_style_index_0_lang-62dc93f6.js} +3 -3
- package/{link-widget-f667429f.js → link-widget-21b6802b.js} +16 -16
- package/{ltable-col-widget-b2b2f988.js → ltable-col-widget-d2fab2cd.js} +1 -1
- package/ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-a7fbd112.js +279 -0
- package/{ltable-widget-86cadfc4.js → ltable-widget-3e8e6b43.js} +5 -5
- package/{menu-widget-f7e766aa.js → menu-widget-ba66de4a.js} +14 -14
- package/{model-widget-06eccc29.js → model-widget-40268865.js} +13 -13
- package/{multirow-25723fa0.js → multirow-35c0f8c0.js} +38 -38
- package/{multirow-widget-7a0ecf45.js → multirow-widget-45a8d25d.js} +76 -76
- package/package.json +1 -1
- package/{pagination-widget-d7d21eb8.js → pagination-widget-3f832ac9.js} +13 -13
- package/picture-upload-widget-a673958c.js +165 -0
- package/{progress-widget-108c63a9.js → progress-widget-813b4777.js} +14 -14
- package/{propresult-9fa7fdae.js → propresult-e7e86b43.js} +1 -1
- package/{radio-widget-c4e20632.js → radio-widget-15eb2159.js} +15 -15
- package/{range-widget-33c96e7d.js → range-widget-a7a2cc17.js} +27 -27
- package/{rate-widget-f7ca8288.js → rate-widget-8286721a.js} +15 -15
- package/render.es.js +495 -489
- package/render.style.css +1 -1
- package/render.umd.js +485 -455
- package/{result-widget-b466c323.js → result-widget-6cd7f701.js} +14 -14
- package/{rich-editor-widget-4ea1ba7f.js → rich-editor-widget-04c813d6.js} +15 -15
- package/{router-widget-618da401.js → router-widget-af7c37fa.js} +13 -13
- package/{select-widget-32d3faf6.js → select-widget-9bf0e700.js} +15 -15
- package/{sfc-065ac9d6.js → sfc-778eb297.js} +661 -646
- package/sfcview-ccbbde59.js +94 -0
- package/share-field-27676b90.js +787 -0
- package/share-file-890add80.js +171 -0
- package/{slider-widget-3b8fd267.js → slider-widget-7a68eb99.js} +15 -15
- package/{slot-02854365.js → slot-f8eef9e1.js} +12 -12
- package/{static-text-widget-695e7ba2.js → static-text-widget-68efa0d7.js} +14 -14
- package/{steps-widget-f965f620.js → steps-widget-868b90ad.js} +13 -13
- package/{subMenu-widget-df7e3cbb.js → subMenu-widget-34599486.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-13a6a3da.js → subMenu-widget.vue_vue_type_script_setup_true_lang-99253c57.js} +3 -3
- package/{switch-widget-6c843cf9.js → switch-widget-05670677.js} +15 -15
- package/{tab-pane-widget-477cd890.js → tab-pane-widget-c7c74425.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-468cfaf3.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-93bd278a.js} +5 -5
- package/table-col-widget-562dd755.js +22 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-6c1b679b.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-04ad1322.js} +9 -9
- package/{table-widget-4a9b9ce6.js → table-widget-529fcb42.js} +38 -38
- package/{tabs-widget-5690cf99.js → tabs-widget-0e3cf725.js} +27 -28
- package/{tag-widget-db4a1af1.js → tag-widget-a12b391e.js} +16 -16
- package/{text-widget-9688a8f3.js → text-widget-f03bb615.js} +16 -16
- package/{textarea-widget-06142d30.js → textarea-widget-220d7fd3.js} +15 -15
- package/time-picker-range-widget-3d405a42.js +81 -0
- package/time-picker-widget-4b8a9822.js +64 -0
- package/{time-select-widget-83b08e7a.js → time-select-widget-b1a5c072.js} +18 -18
- package/{tmpl-widget-e8eeef29.js → tmpl-widget-d83bbdec.js} +21 -21
- package/{tree-select-widget-0fca81c9.js → tree-select-widget-be605b79.js} +15 -15
- package/{tree-widget-0c34775f.js → tree-widget-129df4d3.js} +13 -13
- package/uuid-4999945f.js +189 -0
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-5e48054b.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js} +78 -76
- package/{wrapper-widget-0d00b4ba.js → wrapper-widget-a48784d7.js} +6 -6
- package/date-picker-range-widget-ca7b1a7b.js +0 -72
- package/date-picker-widget-6c1da8e4.js +0 -78
- package/default-slot-widget-9b3666e9.js +0 -26
- package/drag-wrapper-cb2d7be7.js +0 -244
- package/enum-type-f28bfcf0.js +0 -215
- package/feedback-widget-e9336c82.js +0 -26
- package/file-upload-widget-9b76069f.js +0 -162
- package/form-widget-fcbb29fe.js +0 -219
- package/ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-eaffcb43.js +0 -256
- package/picture-upload-widget-98e176f9.js +0 -113
- package/share-field-3f643f0b.js +0 -777
- package/share-file-c4a175df.js +0 -150
- package/table-col-widget-c5d6538e.js +0 -22
- package/time-picker-range-widget-a46affdd.js +0 -58
- package/time-picker-widget-6a173dda.js +0 -57
- package/uuid-462b0002.js +0 -192
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import { ref as te, reactive as q, onMounted as de, nextTick as Le, defineComponent as re, resolveComponent as We, resolveDirective as Ne, openBlock as oe, createBlock as ae, mergeProps as z, unref as p, withCtx as ne, withDirectives as Oe, toHandlers as je, createVNode as xe } from "vue";
|
|
2
|
+
import { I as Ee } from "./widget-base-4c2d6265.js";
|
|
3
|
+
import { D as Se } from "./drag-wrapper-7bf27317.js";
|
|
4
|
+
import { _ as ye } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js";
|
|
5
|
+
import { w as K, b as le, g as M, f as L, k as Me } from "./expression-490b4335.js";
|
|
6
|
+
import { u as ke } from "./icon-a0e0cdb0.js";
|
|
7
|
+
import { u as Ae, a as Pe } from "./multirow-35c0f8c0.js";
|
|
8
|
+
import { b as Re, M as $e, e as Ie, d as ie, N as Be, z as He, g as Te } from "./enum-type-4a798b1a.js";
|
|
9
|
+
import { $ as qe, B as ze } from "./baseImp-26b9c04a.js";
|
|
10
|
+
import { f as Ke } from "./index-a7d766e7.js";
|
|
11
|
+
import { b as Ue, a as Ge, u as Je } from "./share-field-27676b90.js";
|
|
12
|
+
import { W as Qe } from "./enum-type-bb2bfafa.js";
|
|
13
|
+
import { F as Xe } from "./slot-f8eef9e1.js";
|
|
14
|
+
import { _ as Ye } from "./_plugin-vue_export-helper-dad06003.js";
|
|
15
|
+
function Ze(r) {
|
|
16
|
+
const O = r.widget, f = r.designer, C = f == null ? void 0 : f.pageConfig, b = r == null ? void 0 : r.widgetList, j = te({}), k = {}, { fieldModel: A, fieldName: P, fieldEditor: u, attrs: x, events: h, hasFieldOptions: E, exposed: F, fieldObj: S, watchOption: g, propResultOpt: w, extendAttrs: D } = Ue(r), { off$: W, on$: V, emit$: y, broadcast: N } = Pe();
|
|
17
|
+
var { instance: U } = ke();
|
|
18
|
+
const { setAllRefList: se } = Ge(j.value), G = { designState: r == null ? void 0 : r.designState, pageConfig: C, globalConfig: w == null ? void 0 : w.globalConfig }, { formModel: R, setData: ce, getData: $, clearData: J } = Ae(b, { ...G }), { handleFunc: I } = Je({ options: C }, G), B = q({}), fe = () => {
|
|
19
|
+
W(L.fieldChange), V(L.fieldChange, (e) => {
|
|
20
|
+
he(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), F == null || F.setValue(R), pe(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue);
|
|
21
|
+
});
|
|
22
|
+
}, ue = () => {
|
|
23
|
+
W(L.fieldValidation), V(L.fieldValidation, (e) => {
|
|
24
|
+
var t;
|
|
25
|
+
(t = u.value) == null || t.validateField(e == null ? void 0 : e.propName);
|
|
26
|
+
});
|
|
27
|
+
}, me = () => {
|
|
28
|
+
W(L.fieldRuleChange), V(L.fieldRuleChange, (e) => {
|
|
29
|
+
var o;
|
|
30
|
+
var t = (o = e == null ? void 0 : e.rules) == null ? void 0 : o.map((a) => ({
|
|
31
|
+
required: a.required,
|
|
32
|
+
message: a.message,
|
|
33
|
+
trigger: a.trigger,
|
|
34
|
+
validator: a.validator
|
|
35
|
+
}));
|
|
36
|
+
Object.assign(B, { [e == null ? void 0 : e.fieldName]: t }), x.value.rules = B;
|
|
37
|
+
});
|
|
38
|
+
}, H = te(!1), T = q({});
|
|
39
|
+
let Q = q({});
|
|
40
|
+
const ve = (e) => {
|
|
41
|
+
ie(Q, e);
|
|
42
|
+
}, pe = (e, t, o) => {
|
|
43
|
+
H.value = !0, e && ie(T, { [e]: { oldValue: o, newValue: t } });
|
|
44
|
+
}, ge = () => {
|
|
45
|
+
H.value = !1, $e(T);
|
|
46
|
+
}, he = (e, t, o) => {
|
|
47
|
+
I(h.value.formDataChange, { field: { fieldName: e, newValue: t, oldValue: o }, formModel: R });
|
|
48
|
+
}, _e = () => {
|
|
49
|
+
I(h.value.formCreated);
|
|
50
|
+
}, Ce = () => {
|
|
51
|
+
I(h.value.formMounted);
|
|
52
|
+
}, be = () => {
|
|
53
|
+
me(), fe(), ue(), _e();
|
|
54
|
+
}, Fe = (e) => {
|
|
55
|
+
var t;
|
|
56
|
+
(t = u.value) == null || t.clearValidate(e);
|
|
57
|
+
}, we = () => {
|
|
58
|
+
se(Qe.resetField), Le(() => {
|
|
59
|
+
Fe();
|
|
60
|
+
});
|
|
61
|
+
}, X = (e, t) => {
|
|
62
|
+
let o = [];
|
|
63
|
+
for (let s in e) {
|
|
64
|
+
var a = e[s], d = a == null ? void 0 : a.filter((i) => (i == null ? void 0 : i.force) === t);
|
|
65
|
+
d == null || d.forEach((i) => {
|
|
66
|
+
var n;
|
|
67
|
+
const c = (n = i == null ? void 0 : i.rule) == null ? void 0 : n.label;
|
|
68
|
+
i.message && o.push(Me(c ? "【" + c + "】" : "", i.message, ":"));
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
return Be(o);
|
|
72
|
+
}, De = (e, t) => {
|
|
73
|
+
var o = {};
|
|
74
|
+
return Ke(t, (a) => {
|
|
75
|
+
var d = ze.getName(a), s = He(e, d);
|
|
76
|
+
return s && (o[d] = e[d]), s;
|
|
77
|
+
}, !1), o;
|
|
78
|
+
}, Ve = (e = !0) => {
|
|
79
|
+
var d, s, i;
|
|
80
|
+
let t = $(), o = function() {
|
|
81
|
+
}, a = new Promise(function(c, n) {
|
|
82
|
+
o = function(m, l) {
|
|
83
|
+
(l ? n : c)({ data: m, isSuccess: !l, message: l });
|
|
84
|
+
};
|
|
85
|
+
});
|
|
86
|
+
return !((d = u.value) != null && d.validate) || !e ? (o(t), a) : ((i = (s = u.value) == null ? void 0 : s.validate) == null || i.call(s, (c, n) => {
|
|
87
|
+
if (c)
|
|
88
|
+
o(t);
|
|
89
|
+
else {
|
|
90
|
+
var m = X(n, !0);
|
|
91
|
+
if (m && m.length > 0) {
|
|
92
|
+
o(t, m);
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
var l = X(n, !1);
|
|
96
|
+
if (l && l.length > 0) {
|
|
97
|
+
l.push(Ie.i18nt("designer.hint.continue")), qe.multiple(l).then((v) => {
|
|
98
|
+
o(t);
|
|
99
|
+
});
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}), a);
|
|
104
|
+
}, Y = (e, t = !0) => {
|
|
105
|
+
if (O) {
|
|
106
|
+
var o = De(e, [O]);
|
|
107
|
+
ce(o, t), N(K.ContainerWidget, le.setFormData, e, U), N(K.FieldWidget, le.setFormData, e, U);
|
|
108
|
+
}
|
|
109
|
+
}, Z = (e) => new Promise((t, o) => {
|
|
110
|
+
const a = (n, m) => {
|
|
111
|
+
var v, _, ee;
|
|
112
|
+
let l = (v = D.value) != null && v.formDataLoaded ? (ee = (_ = D.value) == null ? void 0 : _.formDataLoaded) == null ? void 0 : ee.call(_, $(), n) : n;
|
|
113
|
+
Te(l) ? Y(l, !m) : l = {}, ve(l), t(l);
|
|
114
|
+
}, d = () => {
|
|
115
|
+
g(e, M.newDataSource, void 0, (n, m) => {
|
|
116
|
+
a(n, !0);
|
|
117
|
+
});
|
|
118
|
+
}, s = () => {
|
|
119
|
+
g(e, M.editDataSource, void 0, (n, m) => {
|
|
120
|
+
var v, _;
|
|
121
|
+
if (((_ = (v = D.value) == null ? void 0 : v.needFormAdd) == null ? void 0 : _.call(v, n)) && c) {
|
|
122
|
+
d();
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
a(n, !1);
|
|
126
|
+
});
|
|
127
|
+
}, i = E(M.editDataSource), c = E(M.newDataSource);
|
|
128
|
+
i ? s() : c && d();
|
|
129
|
+
});
|
|
130
|
+
return be(), de(() => {
|
|
131
|
+
Re(), Ce();
|
|
132
|
+
}), {
|
|
133
|
+
widgetRefList: j,
|
|
134
|
+
allWidgetRefList: k,
|
|
135
|
+
fieldEditor: u,
|
|
136
|
+
formModel: R,
|
|
137
|
+
pageConfig: C,
|
|
138
|
+
widgetList: b,
|
|
139
|
+
fieldModel: A,
|
|
140
|
+
fieldName: P,
|
|
141
|
+
attrs: x,
|
|
142
|
+
extendAttrs: D,
|
|
143
|
+
events: h,
|
|
144
|
+
rules: B,
|
|
145
|
+
loadData: Z,
|
|
146
|
+
clearData: J,
|
|
147
|
+
exposed: {
|
|
148
|
+
...F,
|
|
149
|
+
setValue: Y,
|
|
150
|
+
getValue: Ve,
|
|
151
|
+
resetField: we,
|
|
152
|
+
clearData: J,
|
|
153
|
+
loadData: Z,
|
|
154
|
+
getData: $,
|
|
155
|
+
clearChangeRecord: ge,
|
|
156
|
+
formChangeCache: T,
|
|
157
|
+
formBeforeChangeCache: Q,
|
|
158
|
+
formChangeFlag: H,
|
|
159
|
+
emit$: y
|
|
160
|
+
},
|
|
161
|
+
fieldObj: S
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
const et = re({ componentName: K.ContainerWidget }), tt = /* @__PURE__ */ re({
|
|
165
|
+
...et,
|
|
166
|
+
__name: "form-widget",
|
|
167
|
+
props: { ...Ee },
|
|
168
|
+
setup(r, { expose: O }) {
|
|
169
|
+
var S;
|
|
170
|
+
const f = r, { exposed: C, formModel: b, fieldEditor: j, attrs: k, events: A, widgetRefList: P, extendAttrs: u, fieldName: x, fieldObj: h, loadData: E } = Ze({ ...f, widgetList: (S = f == null ? void 0 : f.widget) == null ? void 0 : S.widgetList }), F = x.value;
|
|
171
|
+
return Xe.globalProvide({
|
|
172
|
+
globalFormName: F,
|
|
173
|
+
globalDataModel: b
|
|
174
|
+
}), de(() => {
|
|
175
|
+
var g;
|
|
176
|
+
(g = u.value) != null && g.loadDataWhenInit && !f.designState && E(!0).then((w) => {
|
|
177
|
+
}).catch((w) => {
|
|
178
|
+
}).finally(() => {
|
|
179
|
+
C.clearChangeRecord();
|
|
180
|
+
});
|
|
181
|
+
}), O({ ...C }), (g, w) => {
|
|
182
|
+
const D = We("el-form"), W = Ne("loading");
|
|
183
|
+
return oe(), ae(ye, z(g.$props, {
|
|
184
|
+
"prop-options": { fieldObj: p(h) }
|
|
185
|
+
}), {
|
|
186
|
+
default: ne(({ data: V }) => {
|
|
187
|
+
var y, N;
|
|
188
|
+
return [
|
|
189
|
+
Oe((oe(), ae(D, z({
|
|
190
|
+
ref_key: "fieldEditor",
|
|
191
|
+
ref: j,
|
|
192
|
+
model: p(b)
|
|
193
|
+
}, p(k), je(p(A)), {
|
|
194
|
+
class: V.injectClass,
|
|
195
|
+
key: (y = p(h)) == null ? void 0 : y.fieldKey,
|
|
196
|
+
"element-loading-text": p(u).loadingText
|
|
197
|
+
}), {
|
|
198
|
+
default: ne(() => [
|
|
199
|
+
xe(Se, z(g.$props, {
|
|
200
|
+
dragClass: "formDrag",
|
|
201
|
+
model: p(b),
|
|
202
|
+
provideModel: !0,
|
|
203
|
+
"component-class": V.componentWrapperClass,
|
|
204
|
+
refList: p(P)
|
|
205
|
+
}), null, 16, ["model", "component-class", "refList"])
|
|
206
|
+
]),
|
|
207
|
+
_: 2
|
|
208
|
+
}, 1040, ["model", "class", "element-loading-text"])), [
|
|
209
|
+
[W, (N = p(u)) == null ? void 0 : N.showLoading]
|
|
210
|
+
])
|
|
211
|
+
];
|
|
212
|
+
}),
|
|
213
|
+
_: 1
|
|
214
|
+
}, 16, ["prop-options"]);
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
const ot = /* @__PURE__ */ Ye(tt, [["__scopeId", "data-v-b0372f7b"]]), ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
219
|
+
__proto__: null,
|
|
220
|
+
default: ot
|
|
221
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
222
|
+
export {
|
|
223
|
+
ht as _
|
|
224
|
+
};
|
|
@@ -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-d09d7c02.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 w, openBlock as y, createBlock as C, mergeProps as c, unref as t, withCtx as O, createVNode as W } from "vue";
|
|
2
|
-
import { w as b } from "./expression-
|
|
2
|
+
import { w as b } from "./expression-490b4335.js";
|
|
3
3
|
import { I as k } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { D as x } from "./drag-wrapper-
|
|
5
|
-
import { _ as A } 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 H } from "./slot-
|
|
4
|
+
import { D as x } from "./drag-wrapper-7bf27317.js";
|
|
5
|
+
import { _ as A } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js";
|
|
6
|
+
import { b as j } from "./share-field-27676b90.js";
|
|
7
|
+
import { c as H } from "./slot-f8eef9e1.js";
|
|
8
8
|
const $ = m({ componentName: b.ContainerWidget }), S = /* @__PURE__ */ m({
|
|
9
9
|
...$,
|
|
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 { g as k, w as y } from "./expression-
|
|
2
|
+
import { g as k, w as y } from "./expression-490b4335.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-d09d7c02.js";
|
|
5
|
+
import { _ as S } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js";
|
|
6
|
+
import { b as j } from "./share-field-27676b90.js";
|
|
7
|
+
import { c as P } from "./slot-f8eef9e1.js";
|
|
8
8
|
const v = p({ componentName: y.ContainerWidget }), B = /* @__PURE__ */ p({
|
|
9
9
|
...v,
|
|
10
10
|
__name: "grid-widget",
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { defineComponent as i, 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 k } from "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import {
|
|
3
|
+
import { b as P } from "./share-field-27676b90.js";
|
|
4
|
+
import { w as b } from "./expression-490b4335.js";
|
|
5
|
+
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js";
|
|
6
|
+
import { _ as k } from "./content-wrapper.vue_vue_type_script_setup_true_lang-2b440b0c.js";
|
|
7
|
+
import { R as F } from "./enum-type-4a798b1a.js";
|
|
8
8
|
import "./widget-base-4c2d6265.js";
|
|
9
|
-
import "./multirow-
|
|
10
|
-
import "./baseImp-
|
|
11
|
-
import "./
|
|
12
|
-
import "./enum-type-f28bfcf0.js";
|
|
9
|
+
import "./multirow-35c0f8c0.js";
|
|
10
|
+
import "./baseImp-26b9c04a.js";
|
|
11
|
+
import "./enum-type-bb2bfafa.js";
|
|
13
12
|
import "./icon-a0e0cdb0.js";
|
|
14
|
-
import "./dialog-
|
|
13
|
+
import "./dialog-c4706078.js";
|
|
15
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
+
import "./uuid-4999945f.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./slot-
|
|
17
|
+
import "./index-a7d766e7.js";
|
|
18
|
+
import "./slot-f8eef9e1.js";
|
|
19
19
|
import "./source-map-b04aec4a.js";
|
|
20
20
|
import "./esprima-e8d15055.js";
|
|
21
|
-
import "./index-
|
|
21
|
+
import "./index-79892b9c.js";
|
|
22
22
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
-
import "./fieldobj-
|
|
24
|
-
const
|
|
25
|
-
|
|
23
|
+
import "./fieldobj-a9f1231d.js";
|
|
24
|
+
const $ = i({ componentName: b.FieldWidget }), U = /* @__PURE__ */ i({
|
|
25
|
+
...$,
|
|
26
26
|
__name: "html-text-widget",
|
|
27
27
|
props: { ...C },
|
|
28
28
|
setup(m, { expose: s }) {
|
|
29
29
|
const n = m, { exposed: a, fieldEditor: f, extendAttrs: t, attrs: l, fieldObj: c } = P(n);
|
|
30
|
-
return s({ ...a }), (d,
|
|
30
|
+
return s({ ...a }), (d, j) => (_(), u(h, x(d.$props, {
|
|
31
31
|
"prop-options": { fieldObj: o(c) }
|
|
32
32
|
}), {
|
|
33
33
|
default: g(() => {
|
|
@@ -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-490b4335.js";
|
|
4
|
+
import { b as S } from "./share-field-27676b90.js";
|
|
5
|
+
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js";
|
|
6
|
+
import { S as B } from "./enum-type-bb2bfafa.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-4a798b1a.js";
|
|
10
|
+
import "./uuid-4999945f.js";
|
|
11
11
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
12
12
|
import "./esprima-e8d15055.js";
|
|
13
|
-
import "./multirow-
|
|
14
|
-
import "./baseImp-
|
|
13
|
+
import "./multirow-35c0f8c0.js";
|
|
14
|
+
import "./baseImp-26b9c04a.js";
|
|
15
15
|
import "./icon-a0e0cdb0.js";
|
|
16
|
-
import "./dialog-
|
|
16
|
+
import "./dialog-c4706078.js";
|
|
17
17
|
import "element-plus";
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./slot-
|
|
20
|
-
import "./index-
|
|
18
|
+
import "./index-a7d766e7.js";
|
|
19
|
+
import "./slot-f8eef9e1.js";
|
|
20
|
+
import "./index-79892b9c.js";
|
|
21
21
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
22
|
-
import "./fieldobj-
|
|
22
|
+
import "./fieldobj-a9f1231d.js";
|
|
23
23
|
const I = d({ componentName: F.FieldWidget }), eo = /* @__PURE__ */ d({
|
|
24
24
|
...I,
|
|
25
25
|
__name: "icon-widget",
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { defineComponent as b, ref as g, computed as N, onMounted as P, resolveDirective as D, openBlock as d, createBlock as
|
|
2
|
-
import {
|
|
3
|
-
import { w as
|
|
4
|
-
import { b as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { I as
|
|
7
|
-
import { g as
|
|
8
|
-
import "./enum-type-
|
|
9
|
-
import "./enum-type-
|
|
1
|
+
import { defineComponent as b, ref as g, computed as N, onMounted as P, resolveDirective as D, openBlock as d, createBlock as O, mergeProps as w, unref as i, withCtx as R, withDirectives as y, createElementBlock as k, createCommentVNode as V, toHandlers as q, vShow as H } from "vue";
|
|
2
|
+
import { J as c } from "./baseImp-26b9c04a.js";
|
|
3
|
+
import { w as J } from "./expression-490b4335.js";
|
|
4
|
+
import { b as K } from "./share-field-27676b90.js";
|
|
5
|
+
import { _ as M } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js";
|
|
6
|
+
import { I as W } from "./field-base-5547436d.js";
|
|
7
|
+
import { g as z } from "./uuid-4999945f.js";
|
|
8
|
+
import "./enum-type-4a798b1a.js";
|
|
9
|
+
import "./enum-type-bb2bfafa.js";
|
|
10
10
|
import "./icon-a0e0cdb0.js";
|
|
11
|
-
import "./dialog-
|
|
11
|
+
import "./dialog-c4706078.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-35c0f8c0.js";
|
|
17
|
+
import "./index-a7d766e7.js";
|
|
18
|
+
import "./slot-f8eef9e1.js";
|
|
19
19
|
import "./widget-base-4c2d6265.js";
|
|
20
|
-
import "./index-
|
|
20
|
+
import "./index-79892b9c.js";
|
|
21
21
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
22
|
-
import "./fieldobj-
|
|
23
|
-
const
|
|
22
|
+
import "./fieldobj-a9f1231d.js";
|
|
23
|
+
const G = {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: "full-width full-height nopadding nomargin"
|
|
26
|
-
}, T = ["src", "id"], X = b({ componentName:
|
|
26
|
+
}, T = ["src", "id"], X = b({ componentName: J.FieldWidget }), ge = /* @__PURE__ */ b({
|
|
27
27
|
...X,
|
|
28
28
|
__name: "iframe-widget",
|
|
29
|
-
props: { ...
|
|
29
|
+
props: { ...W },
|
|
30
30
|
setup(C, { expose: L }) {
|
|
31
|
-
const U = C, { exposed: j, fieldEditor: p, events: a, attrs: f, extendAttrs: r, fieldObj: B, fieldKey: E, fieldName: I } =
|
|
31
|
+
const U = C, { exposed: j, fieldEditor: p, events: a, attrs: f, extendAttrs: r, fieldObj: B, fieldKey: E, fieldName: I } = K(U), l = g(!1), m = g(), u = N(() => {
|
|
32
32
|
var _, v, h;
|
|
33
33
|
if (m.value)
|
|
34
34
|
return m.value;
|
|
@@ -36,7 +36,7 @@ const J = {
|
|
|
36
36
|
if (e == "" || e == "#")
|
|
37
37
|
return "";
|
|
38
38
|
const t = ((v = r == null ? void 0 : r.value) == null ? void 0 : v.withQuery) ? c.getLocationQueryParams() : {}, n = c.buildUrl(e, t), s = (h = r == null ? void 0 : r.value) == null ? void 0 : h.hashRouter;
|
|
39
|
-
var F = c.resolveByCurrentUrl(n, s ?
|
|
39
|
+
var F = c.resolveByCurrentUrl(n, s ? z() + "" : "");
|
|
40
40
|
return F;
|
|
41
41
|
}), Q = () => {
|
|
42
42
|
var e;
|
|
@@ -58,19 +58,19 @@ const J = {
|
|
|
58
58
|
}), (e, o) => {
|
|
59
59
|
var n;
|
|
60
60
|
const t = D("loading");
|
|
61
|
-
return d(),
|
|
61
|
+
return d(), O(M, w(e.$props, {
|
|
62
62
|
"prop-options": { fieldObj: i(B) },
|
|
63
63
|
key: (n = e.widget) == null ? void 0 : n.id
|
|
64
64
|
}), {
|
|
65
|
-
default:
|
|
66
|
-
l.value ? y((d(), k("div",
|
|
65
|
+
default: R(({ data: s }) => [
|
|
66
|
+
l.value ? y((d(), k("div", G, null, 512)), [
|
|
67
67
|
[t, l.value]
|
|
68
|
-
]) :
|
|
68
|
+
]) : V("", !0),
|
|
69
69
|
y((d(), k("iframe", w({
|
|
70
70
|
ref_key: "fieldEditor",
|
|
71
71
|
ref: p,
|
|
72
72
|
key: `${i(E)}_${i(u)}`
|
|
73
|
-
},
|
|
73
|
+
}, q(i(a), !0), {
|
|
74
74
|
src: i(u),
|
|
75
75
|
class: [s.injectClass, "full-width full-height nopadding nomargin hlIframe"],
|
|
76
76
|
frameborder: 0,
|
|
@@ -78,7 +78,7 @@ const J = {
|
|
|
78
78
|
id: i(I)
|
|
79
79
|
}), `\r
|
|
80
80
|
`, 16, T)), [
|
|
81
|
-
[
|
|
81
|
+
[H, !l.value]
|
|
82
82
|
])
|
|
83
83
|
]),
|
|
84
84
|
_: 1
|
|
@@ -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-490b4335.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-efde8c90.js";
|
|
5
|
+
import { b as P } from "./share-field-27676b90.js";
|
|
6
|
+
import { g as $ } from "./slot-f8eef9e1.js";
|
|
7
7
|
import "./source-map-b04aec4a.js";
|
|
8
|
-
import "./enum-type-
|
|
9
|
-
import "./uuid-
|
|
8
|
+
import "./enum-type-4a798b1a.js";
|
|
9
|
+
import "./uuid-4999945f.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-a7d766e7.js";
|
|
14
|
+
import "./enum-type-bb2bfafa.js";
|
|
15
|
+
import "./baseImp-26b9c04a.js";
|
|
16
16
|
import "./icon-a0e0cdb0.js";
|
|
17
|
-
import "./dialog-
|
|
17
|
+
import "./dialog-c4706078.js";
|
|
18
18
|
import "element-plus";
|
|
19
|
-
import "./index-
|
|
19
|
+
import "./index-79892b9c.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
import "./multirow-
|
|
21
|
+
import "./fieldobj-a9f1231d.js";
|
|
22
|
+
import "./multirow-35c0f8c0.js";
|
|
23
23
|
const A = c({ componentName: E.FieldWidget }), pe = /* @__PURE__ */ c({
|
|
24
24
|
...A,
|
|
25
25
|
__name: "image-widget",
|
|
@@ -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-4a798b1a.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 = {
|