hlrender 0.0.104 → 0.0.106
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-06124b21.js +58 -0
- package/_txt-ad5b5fda.js +70 -0
- package/_unsupport-e6f84e26.js +35 -0
- package/_video-21c5b64e.js +23 -0
- package/{affix-widget-840c1537.js → affix-widget-21af5f8d.js} +16 -16
- package/{alert-widget-026b8f53.js → alert-widget-40da9145.js} +16 -16
- package/{anchor-widget-8c30df76.js → anchor-widget-a9328cd1.js} +13 -13
- package/{auto-complete-widget-f0b25754.js → auto-complete-widget-79bf6f67.js} +16 -16
- package/{avatar-widget-66117d68.js → avatar-widget-6c573d62.js} +16 -16
- package/{backtop-widget-e7c6a5b7.js → backtop-widget-a371cd7d.js} +16 -16
- package/{badge-widget-17df473c.js → badge-widget-1822c021.js} +19 -19
- package/{baseImp-5cbe8b10.js → baseImp-26b9c04a.js} +2973 -2889
- package/{breadcrumb-widget-a64c2562.js → breadcrumb-widget-57acc2c2.js} +16 -16
- package/{button-widget-180833fc.js → button-widget-b8ff3f02.js} +16 -16
- package/{cache-widget-52fe7b6e.js → cache-widget-681c2328.js} +15 -15
- package/{card-widget-402a6915.js → card-widget-2d28ff26.js} +14 -14
- package/{carousel-widget-77071058.js → carousel-widget-c754320f.js} +14 -14
- package/{cascader-widget-ff96ec4a.js → cascader-widget-94aa4f85.js} +23 -23
- package/{chart-widget-ec0411e9.js → chart-widget-f8454126.js} +18 -18
- package/{checkbox-widget-8817e640.js → checkbox-widget-44160821.js} +15 -15
- package/{collapse-widget-509b977a.js → collapse-widget-a2b8f8f9.js} +14 -14
- package/{color-picker-widget-bdfa61e3.js → color-picker-widget-6ff88d6b.js} +15 -15
- package/{cont-cell-widget-3e4d7520.js → cont-cell-widget-84bfb0ce.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-25a712c4.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-6e382986.js} +5 -5
- package/{cont-widget-43b2417d.js → cont-widget-9f5daa14.js} +5 -5
- package/{content-wrapper-ba138477.js → content-wrapper-6a9a1af2.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-93558bb0.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-41f5afd4.js +26 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-fee4e2b8.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-d58174b5.js} +11 -11
- package/{descriptions-widget-0d4f3277.js → descriptions-widget-95eefef5.js} +14 -14
- package/{dialog-8cf49d1d.js → dialog-c4706078.js} +2 -2
- package/{dialog-widget-eacdd7c1.js → dialog-widget-b904d824.js} +16 -16
- package/{divider-widget-7768f76f.js → divider-widget-daa75025.js} +16 -16
- package/drag-wrapper-353a125c.js +244 -0
- package/{drawer-widget-750f0026.js → drawer-widget-97b16e42.js} +16 -16
- package/{dropdown-widget-2faee424.js → dropdown-widget-79fe97e3.js} +14 -14
- package/{empty-widget-836414ac.js → empty-widget-8781d137.js} +16 -16
- package/{enum-type-4a878657.js → enum-type-4a798b1a.js} +384 -695
- package/enum-type-bb2bfafa.js +222 -0
- package/{expression-13a89511.js → expression-490b4335.js} +403 -402
- package/feedback-widget-dbf66a70.js +26 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-252bea9f.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-7b33b8fc.js} +5 -5
- package/{fieldobj-374f1c1a.js → fieldobj-a9f1231d.js} +1 -1
- package/file-upload-widget-22d37d45.js +400 -0
- package/{form-item-wrapper-b7b89fa1.js → form-item-wrapper-888c1256.js} +12 -12
- package/form-widget-72d9ea94.js +225 -0
- package/{grid-col-widget-20b40853.js → grid-col-widget-835881ef.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-25238a2c.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-dee124a9.js} +5 -5
- package/{grid-widget-6a0ec5ac.js → grid-widget-27e889a0.js} +5 -5
- package/{html-text-widget-7e941bfe.js → html-text-widget-214c4b2a.js} +17 -17
- package/{icon-widget-cea07518.js → icon-widget-8ed6caf5.js} +13 -13
- package/{iframe-widget-20fcc85d.js → iframe-widget-483738f9.js} +26 -26
- package/{image-widget-b0ceca50.js → image-widget-e19d3064.js} +13 -13
- package/{index-2e433759.js → index-79892b9c.js} +1 -1
- package/{index-9530214e.js → index-a7d766e7.js} +3073 -3013
- package/{index-e69085b5.js → index-cda65e40.js} +4 -4
- package/{input-number-widget-33c7569b.js → input-number-widget-08cde096.js} +15 -15
- package/{input-widget-7586fcf1.js → input-widget-31603d98.js} +16 -16
- package/{label-wrapper-860ed446.js → label-wrapper-f087426c.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-223a3538.js → label-wrapper.vue_vue_type_style_index_0_lang-62dc93f6.js} +3 -3
- package/{link-widget-b47b71ff.js → link-widget-3fc6f3bc.js} +16 -16
- package/{ltable-col-widget-1be6bcb2.js → ltable-col-widget-1899f393.js} +1 -1
- package/ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-0bd9f972.js +279 -0
- package/{ltable-widget-eac798cf.js → ltable-widget-0d55794c.js} +5 -5
- package/{menu-widget-dda489f0.js → menu-widget-ba66de4a.js} +14 -14
- package/{model-widget-2ea94011.js → model-widget-40268865.js} +13 -13
- package/{multirow-06f04618.js → multirow-35c0f8c0.js} +38 -38
- package/{multirow-widget-d4e40bf1.js → multirow-widget-7b9be8fd.js} +76 -76
- package/package.json +3 -2
- package/{pagination-widget-cdadd9aa.js → pagination-widget-3f832ac9.js} +13 -13
- package/picture-upload-widget-a673958c.js +165 -0
- package/{progress-widget-61ab2042.js → progress-widget-0ec8a01e.js} +14 -14
- package/{propresult-b95604fa.js → propresult-e7e86b43.js} +1 -1
- package/{radio-widget-781256c6.js → radio-widget-15eb2159.js} +15 -15
- package/{range-widget-9845641e.js → range-widget-ab141ba2.js} +27 -27
- package/{rate-widget-ecba234a.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-f988e59e.js → result-widget-7ab87531.js} +14 -14
- package/{rich-editor-widget-88fcd3cd.js → rich-editor-widget-04c813d6.js} +15 -15
- package/{router-widget-4102df0b.js → router-widget-af7c37fa.js} +13 -13
- package/{select-widget-758b77d4.js → select-widget-9bf0e700.js} +15 -15
- package/{sfc-e54c9d85.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-c81548ac.js → slider-widget-7a68eb99.js} +15 -15
- package/{slot-7e7209e1.js → slot-f8eef9e1.js} +12 -12
- package/{static-text-widget-329d53e0.js → static-text-widget-68efa0d7.js} +14 -14
- package/{steps-widget-4fcf004f.js → steps-widget-868b90ad.js} +13 -13
- package/{subMenu-widget-3f3433be.js → subMenu-widget-34599486.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-9b2e2c76.js → subMenu-widget.vue_vue_type_script_setup_true_lang-99253c57.js} +3 -3
- package/{switch-widget-c4850f81.js → switch-widget-05670677.js} +15 -15
- package/{tab-pane-widget-816a9b61.js → tab-pane-widget-726709cd.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-909ea992.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-4e70e8c0.js} +5 -5
- package/table-col-widget-eba20497.js +22 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-b2126448.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-1af99e54.js} +9 -9
- package/{table-widget-9f4af00f.js → table-widget-b4f55da5.js} +38 -38
- package/{tabs-widget-3539d874.js → tabs-widget-3f672101.js} +27 -28
- package/{tag-widget-21dac8f0.js → tag-widget-58e5a2b1.js} +16 -16
- package/{text-widget-6d4210ce.js → text-widget-cb74322f.js} +16 -16
- package/{textarea-widget-130742ec.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-0be9f865.js → time-select-widget-b1a5c072.js} +18 -18
- package/{tmpl-widget-bb446e8e.js → tmpl-widget-6e955980.js} +21 -21
- package/{tree-select-widget-20dd208c.js → tree-select-widget-be605b79.js} +15 -15
- package/{tree-widget-cb5a194f.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-f014ef28.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js} +78 -76
- package/{wrapper-widget-25a4c177.js → wrapper-widget-f6907d2f.js} +6 -6
- package/date-picker-range-widget-883aa48e.js +0 -72
- package/date-picker-widget-5ef5ca56.js +0 -78
- package/default-slot-widget-12817e91.js +0 -26
- package/drag-wrapper-c3d1f965.js +0 -244
- package/enum-type-c01256f6.js +0 -215
- package/feedback-widget-02a064dc.js +0 -26
- package/file-upload-widget-0a1bcb0a.js +0 -162
- package/form-widget-a76094d3.js +0 -219
- package/ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-88c30cdc.js +0 -256
- package/picture-upload-widget-3ace93a0.js +0 -113
- package/share-field-c7716a35.js +0 -777
- package/share-file-42bfadc9.js +0 -150
- package/table-col-widget-09311e7b.js +0 -22
- package/time-picker-range-widget-af8dc073.js +0 -58
- package/time-picker-widget-979addae.js +0 -57
- package/uuid-39a489b9.js +0 -192
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import { ref as ee, reactive as te, onMounted as ie, nextTick as Ve, defineComponent as de, resolveComponent as Le, resolveDirective as We, openBlock as oe, createBlock as ae, mergeProps as q, unref as p, withCtx as ne, withDirectives as Ne, toHandlers as xe, createVNode as Oe } from "vue";
|
|
2
|
+
import { I as je } from "./widget-base-4c2d6265.js";
|
|
3
|
+
import { D as Ee } from "./drag-wrapper-353a125c.js";
|
|
4
|
+
import { _ as Se } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js";
|
|
5
|
+
import { w as z, b as le, g as M, f as L, k as ye } from "./expression-490b4335.js";
|
|
6
|
+
import { u as Me } from "./icon-a0e0cdb0.js";
|
|
7
|
+
import { u as ke, a as Pe } from "./multirow-35c0f8c0.js";
|
|
8
|
+
import { b as Re, M as $e, e as Ae, d as Ie, N as Be, z as He } from "./enum-type-4a798b1a.js";
|
|
9
|
+
import { $ as Te, B as qe } from "./baseImp-26b9c04a.js";
|
|
10
|
+
import { f as ze } from "./index-a7d766e7.js";
|
|
11
|
+
import { b as Ke, a as Ue, u as Ge } from "./share-field-27676b90.js";
|
|
12
|
+
import { W as Je } from "./enum-type-bb2bfafa.js";
|
|
13
|
+
import { F as Qe } from "./slot-f8eef9e1.js";
|
|
14
|
+
import { _ as Xe } from "./_plugin-vue_export-helper-dad06003.js";
|
|
15
|
+
function Ye(r) {
|
|
16
|
+
const x = r.widget, m = r.designer, C = m == null ? void 0 : m.pageConfig, b = r == null ? void 0 : r.widgetList, O = ee({}), k = {}, { fieldModel: P, fieldName: R, fieldEditor: u, attrs: j, events: h, hasFieldOptions: E, exposed: F, fieldObj: S, watchOption: g, propResultOpt: w, extendAttrs: D } = Ke(r), { off$: W, on$: V, emit$: y, broadcast: N } = Pe();
|
|
17
|
+
var { instance: K } = Me();
|
|
18
|
+
const { setAllRefList: re } = Ue(O.value), U = { designState: r == null ? void 0 : r.designState, pageConfig: C, globalConfig: w == null ? void 0 : w.globalConfig }, { formModel: $, setData: se, getData: A, clearData: G } = ke(b, { ...U }), { handleFunc: I } = Ge({ options: C }, U), B = te({}), ce = () => {
|
|
19
|
+
W(L.fieldChange), V(L.fieldChange, (e) => {
|
|
20
|
+
ge(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), F == null || F.setValue($), ve(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue);
|
|
21
|
+
});
|
|
22
|
+
}, fe = () => {
|
|
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 }), j.value.rules = B;
|
|
37
|
+
});
|
|
38
|
+
}, H = ee(!1), T = te({});
|
|
39
|
+
let J = {};
|
|
40
|
+
const ue = (e) => {
|
|
41
|
+
J = e;
|
|
42
|
+
}, ve = (e, t, o) => {
|
|
43
|
+
H.value = !0, e && Ie(T, { [e]: { oldValue: o, newValue: t } });
|
|
44
|
+
}, pe = () => {
|
|
45
|
+
H.value = !1, $e(T);
|
|
46
|
+
}, ge = (e, t, o) => {
|
|
47
|
+
I(h.value.formDataChange, { field: { fieldName: e, newValue: t, oldValue: o }, formModel: $ });
|
|
48
|
+
}, he = () => {
|
|
49
|
+
I(h.value.formCreated);
|
|
50
|
+
}, _e = () => {
|
|
51
|
+
I(h.value.formMounted);
|
|
52
|
+
}, Ce = () => {
|
|
53
|
+
me(), ce(), fe(), he();
|
|
54
|
+
}, be = (e) => {
|
|
55
|
+
var t;
|
|
56
|
+
(t = u.value) == null || t.clearValidate(e);
|
|
57
|
+
}, Fe = () => {
|
|
58
|
+
re(Je.resetField), Ve(() => {
|
|
59
|
+
be();
|
|
60
|
+
});
|
|
61
|
+
}, Q = (e, t) => {
|
|
62
|
+
let o = [];
|
|
63
|
+
for (let s in e) {
|
|
64
|
+
var a = e[s], d = a == null ? void 0 : a.filter((l) => (l == null ? void 0 : l.force) === t);
|
|
65
|
+
d == null || d.forEach((l) => {
|
|
66
|
+
var n;
|
|
67
|
+
const c = (n = l == null ? void 0 : l.rule) == null ? void 0 : n.label;
|
|
68
|
+
l.message && o.push(ye(c ? "【" + c + "】" : "", l.message, ":"));
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
return Be(o);
|
|
72
|
+
}, we = (e, t) => {
|
|
73
|
+
var o = {};
|
|
74
|
+
return ze(t, (a) => {
|
|
75
|
+
var d = qe.getName(a), s = He(e, d);
|
|
76
|
+
return s && (o[d] = e[d]), s;
|
|
77
|
+
}, !1), o;
|
|
78
|
+
}, De = (e = !0) => {
|
|
79
|
+
var d, s, l;
|
|
80
|
+
let t = A(), o = function() {
|
|
81
|
+
}, a = new Promise(function(c, n) {
|
|
82
|
+
o = function(f, i) {
|
|
83
|
+
(i ? n : c)({ data: f, isSuccess: !i, message: i });
|
|
84
|
+
};
|
|
85
|
+
});
|
|
86
|
+
return !((d = u.value) != null && d.validate) || !e ? (o(t), a) : ((l = (s = u.value) == null ? void 0 : s.validate) == null || l.call(s, (c, n) => {
|
|
87
|
+
if (c)
|
|
88
|
+
o(t);
|
|
89
|
+
else {
|
|
90
|
+
var f = Q(n, !0);
|
|
91
|
+
if (f && f.length > 0) {
|
|
92
|
+
o(t, f);
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
var i = Q(n, !1);
|
|
96
|
+
if (i && i.length > 0) {
|
|
97
|
+
i.push(Ae.i18nt("designer.hint.continue")), Te.multiple(i).then((v) => {
|
|
98
|
+
o(t);
|
|
99
|
+
});
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}), a);
|
|
104
|
+
}, X = (e, t = !0) => {
|
|
105
|
+
if (x) {
|
|
106
|
+
var o = we(e, [x]);
|
|
107
|
+
se(o, t), N(z.ContainerWidget, le.setFormData, e, K), N(z.FieldWidget, le.setFormData, e, K);
|
|
108
|
+
}
|
|
109
|
+
}, Y = (e) => new Promise((t, o) => {
|
|
110
|
+
const a = (n, f) => {
|
|
111
|
+
var v, _, Z;
|
|
112
|
+
ue(f ? {} : n);
|
|
113
|
+
let i = (v = D.value) != null && v.formDataLoaded ? (Z = (_ = D.value) == null ? void 0 : _.formDataLoaded) == null ? void 0 : Z.call(_, A(), n) : n;
|
|
114
|
+
i ? X(i, !f) : i = {}, t(i);
|
|
115
|
+
}, d = () => {
|
|
116
|
+
g(e, M.newDataSource, void 0, (n, f) => {
|
|
117
|
+
a(n, !0);
|
|
118
|
+
});
|
|
119
|
+
}, s = () => {
|
|
120
|
+
g(e, M.editDataSource, void 0, (n, f) => {
|
|
121
|
+
var v, _;
|
|
122
|
+
if (((_ = (v = D.value) == null ? void 0 : v.needFormAdd) == null ? void 0 : _.call(v, n)) && c) {
|
|
123
|
+
d();
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
126
|
+
a(n, !1);
|
|
127
|
+
});
|
|
128
|
+
}, l = E(M.editDataSource), c = E(M.newDataSource);
|
|
129
|
+
l ? s() : c && d();
|
|
130
|
+
});
|
|
131
|
+
return Ce(), ie(() => {
|
|
132
|
+
Re(), _e();
|
|
133
|
+
}), {
|
|
134
|
+
widgetRefList: O,
|
|
135
|
+
allWidgetRefList: k,
|
|
136
|
+
fieldEditor: u,
|
|
137
|
+
formModel: $,
|
|
138
|
+
pageConfig: C,
|
|
139
|
+
widgetList: b,
|
|
140
|
+
fieldModel: P,
|
|
141
|
+
fieldName: R,
|
|
142
|
+
attrs: j,
|
|
143
|
+
extendAttrs: D,
|
|
144
|
+
events: h,
|
|
145
|
+
rules: B,
|
|
146
|
+
loadData: Y,
|
|
147
|
+
clearData: G,
|
|
148
|
+
exposed: {
|
|
149
|
+
...F,
|
|
150
|
+
setValue: X,
|
|
151
|
+
getValue: De,
|
|
152
|
+
resetField: Fe,
|
|
153
|
+
clearData: G,
|
|
154
|
+
loadData: Y,
|
|
155
|
+
getData: A,
|
|
156
|
+
clearChangeRecord: pe,
|
|
157
|
+
formChangeCache: T,
|
|
158
|
+
formBeforeChangeCache: J,
|
|
159
|
+
formChangeFlag: H,
|
|
160
|
+
emit$: y
|
|
161
|
+
},
|
|
162
|
+
fieldObj: S
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
const Ze = de({ componentName: z.ContainerWidget }), et = /* @__PURE__ */ de({
|
|
166
|
+
...Ze,
|
|
167
|
+
__name: "form-widget",
|
|
168
|
+
props: { ...je },
|
|
169
|
+
setup(r, { expose: x }) {
|
|
170
|
+
var S;
|
|
171
|
+
const m = r, { exposed: C, formModel: b, fieldEditor: O, attrs: k, events: P, widgetRefList: R, extendAttrs: u, fieldName: j, fieldObj: h, loadData: E } = Ye({ ...m, widgetList: (S = m == null ? void 0 : m.widget) == null ? void 0 : S.widgetList }), F = j.value;
|
|
172
|
+
return Qe.globalProvide({
|
|
173
|
+
globalFormName: F,
|
|
174
|
+
globalDataModel: b
|
|
175
|
+
}), ie(() => {
|
|
176
|
+
var g;
|
|
177
|
+
(g = u.value) != null && g.loadDataWhenInit && !m.designState && E(!0).then((w) => {
|
|
178
|
+
}).catch((w) => {
|
|
179
|
+
}).finally(() => {
|
|
180
|
+
C.clearChangeRecord();
|
|
181
|
+
});
|
|
182
|
+
}), x({ ...C }), (g, w) => {
|
|
183
|
+
const D = Le("el-form"), W = We("loading");
|
|
184
|
+
return oe(), ae(Se, q(g.$props, {
|
|
185
|
+
"prop-options": { fieldObj: p(h) }
|
|
186
|
+
}), {
|
|
187
|
+
default: ne(({ data: V }) => {
|
|
188
|
+
var y, N;
|
|
189
|
+
return [
|
|
190
|
+
Ne((oe(), ae(D, q({
|
|
191
|
+
ref_key: "fieldEditor",
|
|
192
|
+
ref: O,
|
|
193
|
+
model: p(b)
|
|
194
|
+
}, p(k), xe(p(P)), {
|
|
195
|
+
class: V.injectClass,
|
|
196
|
+
key: (y = p(h)) == null ? void 0 : y.fieldKey,
|
|
197
|
+
"element-loading-text": p(u).loadingText
|
|
198
|
+
}), {
|
|
199
|
+
default: ne(() => [
|
|
200
|
+
Oe(Ee, q(g.$props, {
|
|
201
|
+
dragClass: "formDrag",
|
|
202
|
+
model: p(b),
|
|
203
|
+
provideModel: !0,
|
|
204
|
+
"component-class": V.componentWrapperClass,
|
|
205
|
+
refList: p(R)
|
|
206
|
+
}), null, 16, ["model", "component-class", "refList"])
|
|
207
|
+
]),
|
|
208
|
+
_: 2
|
|
209
|
+
}, 1040, ["model", "class", "element-loading-text"])), [
|
|
210
|
+
[W, (N = p(u)) == null ? void 0 : N.showLoading]
|
|
211
|
+
])
|
|
212
|
+
];
|
|
213
|
+
}),
|
|
214
|
+
_: 1
|
|
215
|
+
}, 16, ["prop-options"]);
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
});
|
|
219
|
+
const tt = /* @__PURE__ */ Xe(et, [["__scopeId", "data-v-b0372f7b"]]), gt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
220
|
+
__proto__: null,
|
|
221
|
+
default: tt
|
|
222
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
223
|
+
export {
|
|
224
|
+
gt as _
|
|
225
|
+
};
|
|
@@ -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-dee124a9.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-353a125c.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-dee124a9.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-c01256f6.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 = {
|