hlrender 0.0.1
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/_commonjsHelpers-e7ea1525.js +36 -0
- package/_plugin-vue_export-helper-dad06003.js +9 -0
- package/affix-widget-b6cdaf6f.js +35 -0
- package/anchor-link-widget-919ac0ee.js +5 -0
- package/anchor-link-widget.vue_vue_type_script_setup_true_name_anchor-link-widget_lang-7df7e7c1.js +35 -0
- package/anchor-widget-403fe70f.js +54 -0
- package/auto-complete-widget-597d8400.js +71 -0
- package/avatar-widget-c56add2d.js +35 -0
- package/backtop-widget-65d711e3.js +35 -0
- package/badge-widget-f6a08422.js +41 -0
- package/baseImp-70f1a9c5.js +11003 -0
- package/breadcrumb-widget-3791fbcf.js +76 -0
- package/button-widget-b539a793.js +45 -0
- package/cache-widget-89624589.js +50 -0
- package/card-widget-2890042f.js +109 -0
- package/carousel-widget-730618e4.js +72 -0
- package/cascader-widget-a364f226.js +94 -0
- package/chart-widget-d0b5993c.js +44282 -0
- package/checkbox-widget-5f87a8e5.js +76 -0
- package/collapse-widget-a654ac45.js +86 -0
- package/color-picker-widget-b5b274dd.js +53 -0
- package/cont-cell-widget-475412c6.js +8 -0
- package/cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-9aac0112.js +59 -0
- package/cont-widget-defa7dd6.js +42 -0
- package/content-wrapper-7ba06bbc.js +14 -0
- package/content-wrapper.vue_vue_type_script_setup_true_lang-56dfcc0b.js +37 -0
- package/date-picker-range-widget-e528dab6.js +69 -0
- package/date-picker-widget-a5d3e5ff.js +75 -0
- package/default-slot-widget-09d11567.js +22 -0
- package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-af9e9fc7.js +59 -0
- package/descriptions-widget-9711a62b.js +80 -0
- package/dialog-333d3421.js +124 -0
- package/dialog-widget-94d8ab5a.js +30 -0
- package/divider-widget-b835bbc3.js +35 -0
- package/drag-wrapper-227f198f.js +258 -0
- package/drawer-widget-3906d028.js +30 -0
- package/dropdown-widget-74696f3c.js +89 -0
- package/empty-widget-ba5e0039.js +61 -0
- package/enum-type-92806e9d.js +207 -0
- package/enum-type-be3a0b8b.js +2048 -0
- package/expression-63a787db.js +2181 -0
- package/feedback-widget-3140f73d.js +23 -0
- package/feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-f8da09d0.js +82 -0
- package/field-base-5547436d.js +7 -0
- package/file-upload-widget-dcc0425c.js +95 -0
- package/form-item-wrapper-849d8a21.js +111 -0
- package/form-widget-1dcffd59.js +183 -0
- package/grid-col-widget-e6b1455d.js +8 -0
- package/grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ed554759.js +41 -0
- package/grid-widget-d7974890.js +43 -0
- package/html-text-widget-e13171fa.js +47 -0
- package/icon-e9532b43.js +119 -0
- package/iframe-widget-dee326a7.js +74 -0
- package/image-widget-d417c681.js +61 -0
- package/index-28e4bcfb.js +99 -0
- package/index-2d29f8d3.js +7233 -0
- package/index-ddd23411.js +4884 -0
- package/index-f54403db.js +65 -0
- package/index-fa19f5d9.js +10568 -0
- package/input-number-widget-548743d9.js +63 -0
- package/input-widget-81153a08.js +68 -0
- package/label-wrapper-13267254.js +12 -0
- package/label-wrapper.vue_vue_type_style_index_0_lang-5b455ef8.js +80 -0
- package/link-widget-e2aeac9f.js +53 -0
- package/ltable-col-widget-ecfe9f02.js +8 -0
- package/ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-6c231f2e.js +256 -0
- package/ltable-widget-d5d81ac2.js +69 -0
- package/menu-widget-101389ec.js +93 -0
- package/model-widget-84277d11.js +119 -0
- package/multirow-3ade8c6e.js +341 -0
- package/multirow-widget copy-efbb1e00.js +855 -0
- package/multirow-widget-a73fd2b8.js +691 -0
- package/package.json +13 -0
- package/pagination-widget-12edf5f4.js +78 -0
- package/picture-upload-widget-bcef9cc8.js +99 -0
- package/progress-widget-f515a118.js +49 -0
- package/propresult-e424ed73.js +22 -0
- package/radio-widget-78f9cab9.js +76 -0
- package/range-widget-904ed0d6.js +71 -0
- package/rate-widget-efdab26c.js +53 -0
- package/render.es.js +4434 -0
- package/render.style.css +11 -0
- package/render.umd.js +160496 -0
- package/result-widget-b1688641.js +64 -0
- package/rich-editor-widget-f1bb90c7.js +74 -0
- package/router-widget-920b11e4.js +51 -0
- package/select-widget-f3a43687.js +285 -0
- package/sfc-b5fb0bca.js +2568 -0
- package/share-field-9834aef6.js +688 -0
- package/share-file-329736c4.js +121 -0
- package/slider-widget-5146c0c3.js +59 -0
- package/slot-c6523e8c.js +17 -0
- package/static-text-widget-307cd047.js +48 -0
- package/steps-widget-70c08c51.js +88 -0
- package/subMenu-widget-c1a614ad.js +16 -0
- package/subMenu-widget.vue_vue_type_script_setup_true_lang-1896e25e.js +69 -0
- package/switch-widget-a103faaa.js +53 -0
- package/tab-pane-widget-e7c83114.js +8 -0
- package/tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-12fa9f12.js +35 -0
- package/table-col-widget-f177b82e.js +20 -0
- package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-5a1b4f92.js +80 -0
- package/table-widget-500902fd.js +160 -0
- package/tabs-widget-5e612fc0.js +68 -0
- package/tag-widget-8b945443.js +35 -0
- package/template-9ade074e.js +251730 -0
- package/text-widget-0d93ae9a.js +35 -0
- package/textarea-widget-d2464e70.js +53 -0
- package/time-picker-range-widget-7d92f5f0.js +55 -0
- package/time-picker-widget-3e0cc2c5.js +54 -0
- package/time-select-widget-b0b17501.js +54 -0
- package/tmpl-widget-b2402ddc.js +89 -0
- package/tree-select-widget-13f054e9.js +91 -0
- package/tree-widget-8bee698c.js +87 -0
- package/uuid-b302db3f.js +192 -0
- package/vue3-sfc-loader-b70bdce4.js +34688 -0
- package/widget-base-4c2d6265.js +27 -0
- package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js +277 -0
- package/wrapper-widget-4d87e124.js +78 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-f8da09d0.js";
|
|
2
|
+
import "vue";
|
|
3
|
+
import "./widget-base-4c2d6265.js";
|
|
4
|
+
import "./drag-wrapper-227f198f.js";
|
|
5
|
+
import "./baseImp-70f1a9c5.js";
|
|
6
|
+
import "./enum-type-be3a0b8b.js";
|
|
7
|
+
import "./uuid-b302db3f.js";
|
|
8
|
+
import "./enum-type-92806e9d.js";
|
|
9
|
+
import "./icon-e9532b43.js";
|
|
10
|
+
import "./template-9ade074e.js";
|
|
11
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
12
|
+
import "./dialog-333d3421.js";
|
|
13
|
+
import "element-plus";
|
|
14
|
+
import "./index-fa19f5d9.js";
|
|
15
|
+
import "./multirow-3ade8c6e.js";
|
|
16
|
+
import "./slot-c6523e8c.js";
|
|
17
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
|
|
19
|
+
import "./index-f54403db.js";
|
|
20
|
+
import "./share-field-9834aef6.js";
|
|
21
|
+
export {
|
|
22
|
+
o as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { defineComponent as b, ref as F, inject as I, openBlock as a, createBlock as n, mergeProps as p, unref as r, withCtx as C, createElementBlock as i, Fragment as m, renderList as V, resolveDynamicComponent as u, createCommentVNode as g, createVNode as f, isRef as P, toHandlers as R, createSlots as E, createTextVNode as H, toDisplayString as K } from "vue";
|
|
2
|
+
import { I as M } from "./widget-base-4c2d6265.js";
|
|
3
|
+
import { D as o } from "./drag-wrapper-227f198f.js";
|
|
4
|
+
import { _ as T } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
|
|
5
|
+
import { d as U, w as q } from "./template-9ade074e.js";
|
|
6
|
+
import { b as A } from "./share-field-9834aef6.js";
|
|
7
|
+
import { g as v } from "./slot-c6523e8c.js";
|
|
8
|
+
const G = b({ componentName: q.ContainerWidget }), ee = /* @__PURE__ */ b({
|
|
9
|
+
...G,
|
|
10
|
+
__name: "feedback-widget",
|
|
11
|
+
props: { ...M },
|
|
12
|
+
setup(O, { expose: $ }) {
|
|
13
|
+
var c;
|
|
14
|
+
const t = O, { fieldKey: j, attrs: k, events: z, slots: y, fieldModel: s, exposed: D, fieldObj: L } = A(t), h = F();
|
|
15
|
+
h.value = (t == null ? void 0 : t.designState) === !0 ? "div" : (c = t.propOptions) == null ? void 0 : c.widgetName;
|
|
16
|
+
const B = I(U.refList);
|
|
17
|
+
return $({ ...D, parentRefList: B }), (d, l) => (a(), n(T, p(d.$props, {
|
|
18
|
+
propOptions: { fieldObj: r(L) }
|
|
19
|
+
}), {
|
|
20
|
+
default: C(({ data: W }) => {
|
|
21
|
+
var w;
|
|
22
|
+
return [
|
|
23
|
+
d.designState ? (a(), i("div", { key: r(j) }, [
|
|
24
|
+
d.designState ? (a(!0), i(m, { key: 0 }, V(r(v)(r(y), d.designState), (e) => (a(), i("div", {
|
|
25
|
+
key: e.slotName,
|
|
26
|
+
style: { border: "1px dashed black" }
|
|
27
|
+
}, [
|
|
28
|
+
e != null && e.default ? (a(), n(u(e == null ? void 0 : e.default), { key: 0 })) : g("", !0),
|
|
29
|
+
f(o, p(d.$props, {
|
|
30
|
+
widget: e,
|
|
31
|
+
title: e.slotName,
|
|
32
|
+
dragClass: "dragSize1"
|
|
33
|
+
}), null, 16, ["widget", "title"])
|
|
34
|
+
]))), 128)) : g("", !0)
|
|
35
|
+
])) : (a(), n(u((w = t.propOptions) == null ? void 0 : w.widgetName), p({
|
|
36
|
+
key: 1,
|
|
37
|
+
modelValue: r(s),
|
|
38
|
+
"onUpdate:modelValue": l[0] || (l[0] = (e) => P(s) ? s.value = e : null)
|
|
39
|
+
}, r(k), R(r(z)), {
|
|
40
|
+
class: W.injectClass
|
|
41
|
+
}), E({ _: 2 }, [
|
|
42
|
+
V(r(v)(r(y), !d.designState), (e) => ({
|
|
43
|
+
name: e.slotName,
|
|
44
|
+
fn: C(() => {
|
|
45
|
+
var S, N;
|
|
46
|
+
return [
|
|
47
|
+
e.slotName === "default" ? (a(), i(m, { key: 0 }, [
|
|
48
|
+
e != null && e.default ? (a(), n(u(e == null ? void 0 : e.default), { key: 0 })) : g("", !0),
|
|
49
|
+
f(o, p(d.$props, {
|
|
50
|
+
widget: e,
|
|
51
|
+
dragClass: "dragSize1"
|
|
52
|
+
}), null, 16, ["widget"])
|
|
53
|
+
], 64)) : e.slotName === "header" ? (a(), i(m, { key: 1 }, [
|
|
54
|
+
e.default || (((S = e.widgetList) == null ? void 0 : S.length) || 0) > 0 ? (a(), i(m, { key: 0 }, [
|
|
55
|
+
e != null && e.default ? (a(), n(u(e == null ? void 0 : e.default), { key: 0 })) : g("", !0),
|
|
56
|
+
f(o, p(d.$props, {
|
|
57
|
+
widget: e,
|
|
58
|
+
dragClass: "dragSize1"
|
|
59
|
+
}), null, 16, ["widget"])
|
|
60
|
+
], 64)) : (a(), i(m, { key: 1 }, [
|
|
61
|
+
H(K((N = r(k)) == null ? void 0 : N.title), 1)
|
|
62
|
+
], 64))
|
|
63
|
+
], 64)) : (a(), i(m, { key: 2 }, [
|
|
64
|
+
e != null && e.default ? (a(), n(u(e == null ? void 0 : e.default), { key: 0 })) : g("", !0),
|
|
65
|
+
f(o, p(d.$props, {
|
|
66
|
+
widget: e,
|
|
67
|
+
dragClass: "dragSize1"
|
|
68
|
+
}), null, 16, ["widget"])
|
|
69
|
+
], 64))
|
|
70
|
+
];
|
|
71
|
+
})
|
|
72
|
+
}))
|
|
73
|
+
]), 1040, ["modelValue", "class"]))
|
|
74
|
+
];
|
|
75
|
+
}),
|
|
76
|
+
_: 1
|
|
77
|
+
}, 16, ["propOptions"]));
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
export {
|
|
81
|
+
ee as _
|
|
82
|
+
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { defineComponent as h, ref as U, resolveComponent as W, openBlock as r, createBlock as c, mergeProps as m, unref as e, withCtx as l, toHandlers as D, createElementBlock as _, toDisplayString as u, createCommentVNode as f, createVNode as s, createElementVNode as i, pushScopeId as P, popScopeId as $ } from "vue";
|
|
2
|
+
import { a } from "./enum-type-be3a0b8b.js";
|
|
3
|
+
import { I as j } from "./field-base-5547436d.js";
|
|
4
|
+
import { u as H } from "./share-file-329736c4.js";
|
|
5
|
+
import { w as M } from "./template-9ade074e.js";
|
|
6
|
+
import { S as d } from "./index-f54403db.js";
|
|
7
|
+
import A from "./form-item-wrapper-849d8a21.js";
|
|
8
|
+
import { _ as K } from "./_plugin-vue_export-helper-dad06003.js";
|
|
9
|
+
import "./widget-base-4c2d6265.js";
|
|
10
|
+
import "./icon-e9532b43.js";
|
|
11
|
+
import "./share-field-9834aef6.js";
|
|
12
|
+
import "./multirow-3ade8c6e.js";
|
|
13
|
+
import "./baseImp-70f1a9c5.js";
|
|
14
|
+
import "./uuid-b302db3f.js";
|
|
15
|
+
import "./enum-type-92806e9d.js";
|
|
16
|
+
import "./dialog-333d3421.js";
|
|
17
|
+
import "element-plus";
|
|
18
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
19
|
+
import "./index-fa19f5d9.js";
|
|
20
|
+
import "./slot-c6523e8c.js";
|
|
21
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-5b455ef8.js";
|
|
23
|
+
const T = (t) => (P("data-v-8911b66d"), t = t(), $(), t), q = {
|
|
24
|
+
key: 0,
|
|
25
|
+
class: "el-upload__tip"
|
|
26
|
+
}, z = /* @__PURE__ */ T(() => /* @__PURE__ */ i("i", { class: "el-icon-plus" }, null, -1)), G = { class: "upload-file-list" }, J = ["title"], L = ["href"], Q = ["title"], R = ["title", "onClick"], X = h({ componentName: M.FieldWidget }), Y = /* @__PURE__ */ h({
|
|
27
|
+
...X,
|
|
28
|
+
__name: "file-upload-widget",
|
|
29
|
+
props: { ...j },
|
|
30
|
+
setup(t, { expose: v }) {
|
|
31
|
+
const g = t, { fieldEditor: y, fieldKey: k, uploadData: w, uploadBtnHidden: b, uploadTip: p, exposed: F, rules: I, attrs: n, events: C, isError: E, errorMsg: S, removeUploadFile: x, fieldObj: V } = H(g), B = U({
|
|
32
|
+
"--select-file-action": `'${a.i18nt("render.hint.selectFile")}'`
|
|
33
|
+
});
|
|
34
|
+
return v({ ...F }), (N, Z) => {
|
|
35
|
+
const O = W("el-upload");
|
|
36
|
+
return r(), c(A, m(N.$props, {
|
|
37
|
+
propOptions: { fieldObj: e(V), rules: e(I), isError: e(E), errorMsg: e(S) }
|
|
38
|
+
}), {
|
|
39
|
+
default: l(() => [
|
|
40
|
+
(r(), c(O, m({
|
|
41
|
+
ref_key: "fieldEditor",
|
|
42
|
+
ref: y,
|
|
43
|
+
key: e(k)
|
|
44
|
+
}, e(n), D(e(C)), {
|
|
45
|
+
data: e(w),
|
|
46
|
+
style: B.value,
|
|
47
|
+
class: [{ hideUploadDiv: e(b) }, "dynamicPseudoAfter"]
|
|
48
|
+
}), {
|
|
49
|
+
tip: l(() => [
|
|
50
|
+
e(p) ? (r(), _("div", q, u(e(p)), 1)) : f("", !0)
|
|
51
|
+
]),
|
|
52
|
+
default: l(() => [
|
|
53
|
+
s(d, { name: "@el-plus" }),
|
|
54
|
+
z
|
|
55
|
+
]),
|
|
56
|
+
file: l(({ file: o }) => [
|
|
57
|
+
i("div", G, [
|
|
58
|
+
i("span", {
|
|
59
|
+
class: "upload-file-name",
|
|
60
|
+
title: o.name
|
|
61
|
+
}, u(o.name), 9, J),
|
|
62
|
+
i("a", {
|
|
63
|
+
href: o.url,
|
|
64
|
+
download: "",
|
|
65
|
+
target: "_blank"
|
|
66
|
+
}, [
|
|
67
|
+
i("span", {
|
|
68
|
+
class: "el-icon-download file-action",
|
|
69
|
+
title: e(a).i18nt("render.hint.downloadFile")
|
|
70
|
+
}, [
|
|
71
|
+
s(d, { name: "@el-download" })
|
|
72
|
+
], 8, Q)
|
|
73
|
+
], 8, L),
|
|
74
|
+
e(n).disabled ? f("", !0) : (r(), _("span", {
|
|
75
|
+
key: 0,
|
|
76
|
+
class: "file-action",
|
|
77
|
+
title: e(a).i18nt("render.hint.removeFile"),
|
|
78
|
+
onClick: (ee) => e(x)(o.name, o.url, o.uid)
|
|
79
|
+
}, [
|
|
80
|
+
s(d, { name: "@el-delete" })
|
|
81
|
+
], 8, R))
|
|
82
|
+
])
|
|
83
|
+
]),
|
|
84
|
+
_: 1
|
|
85
|
+
}, 16, ["data", "style", "class"]))
|
|
86
|
+
]),
|
|
87
|
+
_: 1
|
|
88
|
+
}, 16, ["propOptions"]);
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
const Fe = /* @__PURE__ */ K(Y, [["__scopeId", "data-v-8911b66d"]]);
|
|
93
|
+
export {
|
|
94
|
+
Fe as default
|
|
95
|
+
};
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { defineComponent as S, computed as s, resolveComponent as w, openBlock as n, createBlock as g, normalizeProps as C, guardReactiveProps as N, withCtx as f, unref as r, normalizeClass as O, createSlots as q, renderSlot as v, createElementBlock as c, toDisplayString as $, createCommentVNode as h, createVNode as y, mergeProps as A, createElementVNode as k, normalizeStyle as E } from "vue";
|
|
2
|
+
import { I as H } from "./field-base-5547436d.js";
|
|
3
|
+
import { _ as P } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
|
|
4
|
+
import { _ as x } from "./label-wrapper.vue_vue_type_style_index_0_lang-5b455ef8.js";
|
|
5
|
+
import { _ as W } from "./_plugin-vue_export-helper-dad06003.js";
|
|
6
|
+
import "./widget-base-4c2d6265.js";
|
|
7
|
+
import "./uuid-b302db3f.js";
|
|
8
|
+
import "./enum-type-be3a0b8b.js";
|
|
9
|
+
import "./index-fa19f5d9.js";
|
|
10
|
+
import "./enum-type-92806e9d.js";
|
|
11
|
+
import "./baseImp-70f1a9c5.js";
|
|
12
|
+
import "./icon-e9532b43.js";
|
|
13
|
+
import "./template-9ade074e.js";
|
|
14
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
+
import "./dialog-333d3421.js";
|
|
16
|
+
import "element-plus";
|
|
17
|
+
import "./index-f54403db.js";
|
|
18
|
+
const B = {
|
|
19
|
+
key: 0,
|
|
20
|
+
class: "el-form-item__error"
|
|
21
|
+
}, F = { class: "el-form-item__content" }, V = {
|
|
22
|
+
key: 0,
|
|
23
|
+
class: "el-form-item__error"
|
|
24
|
+
}, M = /* @__PURE__ */ S({
|
|
25
|
+
__name: "form-item-wrapper",
|
|
26
|
+
props: {
|
|
27
|
+
...H
|
|
28
|
+
},
|
|
29
|
+
setup(j) {
|
|
30
|
+
const i = j, z = s(() => {
|
|
31
|
+
var e, o;
|
|
32
|
+
return (o = (e = i.propOptions) == null ? void 0 : e.fieldObj) == null ? void 0 : o.fieldName;
|
|
33
|
+
}), a = s(() => {
|
|
34
|
+
var e, o, l, t, p, u;
|
|
35
|
+
return ((l = (o = (e = i.propOptions) == null ? void 0 : e.fieldObj) == null ? void 0 : o.extendAttrs) == null ? void 0 : l.label) || ((u = (p = (t = i.propOptions) == null ? void 0 : t.fieldObj) == null ? void 0 : p.attrs) == null ? void 0 : u.label);
|
|
36
|
+
}), d = s(() => {
|
|
37
|
+
var e, o, l;
|
|
38
|
+
return (l = (o = (e = i.propOptions) == null ? void 0 : e.fieldObj) == null ? void 0 : o.extendAttrs) == null ? void 0 : l.labelHidden;
|
|
39
|
+
}), I = s(() => {
|
|
40
|
+
var e, o, l;
|
|
41
|
+
return (l = (o = (e = i.propOptions) == null ? void 0 : e.fieldObj) == null ? void 0 : o.extendAttrs) == null ? void 0 : l.labelTooltip;
|
|
42
|
+
}), _ = s(() => {
|
|
43
|
+
var e, o, l;
|
|
44
|
+
return (l = (o = (e = i.propOptions) == null ? void 0 : e.fieldObj) == null ? void 0 : o.extendAttrs) == null ? void 0 : l.required;
|
|
45
|
+
}), m = s(() => {
|
|
46
|
+
var e;
|
|
47
|
+
return (e = i.propOptions) == null ? void 0 : e.isError;
|
|
48
|
+
}), b = s(() => {
|
|
49
|
+
var e;
|
|
50
|
+
return (e = i.propOptions) == null ? void 0 : e.errorMsg;
|
|
51
|
+
});
|
|
52
|
+
return (e, o) => {
|
|
53
|
+
const l = w("el-form-item");
|
|
54
|
+
return n(), g(P, C(N(e.$props)), {
|
|
55
|
+
default: f(({ data: t }) => {
|
|
56
|
+
var p;
|
|
57
|
+
return [
|
|
58
|
+
t.formItemFlag ? (n(), g(l, {
|
|
59
|
+
key: 0,
|
|
60
|
+
label: `${r(a) || ""}${t.labelSuffix || ""}`,
|
|
61
|
+
"label-width": t.labelWidth,
|
|
62
|
+
title: r(I),
|
|
63
|
+
rules: (p = i.propOptions) == null ? void 0 : p.rules,
|
|
64
|
+
prop: r(z),
|
|
65
|
+
size: t.size,
|
|
66
|
+
class: O(["inmessage", [r(_) ? "required" : "", r(m) ? "is-error" : "", r(d) ? "labelHidden" : ""]])
|
|
67
|
+
}, q({
|
|
68
|
+
default: f(() => [
|
|
69
|
+
v(e.$slots, "default", { data: t }, void 0, !0),
|
|
70
|
+
r(m) ? (n(), c("div", B, $(r(b)), 1)) : h("", !0)
|
|
71
|
+
]),
|
|
72
|
+
_: 2
|
|
73
|
+
}, [
|
|
74
|
+
r(a) ? {
|
|
75
|
+
name: "label",
|
|
76
|
+
fn: f(() => [
|
|
77
|
+
y(x, A(e.$props, {
|
|
78
|
+
label: `${r(a) || ""}${t.labelSuffix || ""}`,
|
|
79
|
+
labelAlign: t.labelAlign
|
|
80
|
+
}), null, 16, ["label", "labelAlign"])
|
|
81
|
+
]),
|
|
82
|
+
key: "0"
|
|
83
|
+
} : void 0
|
|
84
|
+
]), 1032, ["label", "label-width", "title", "rules", "prop", "size", "class"])) : (n(), c("div", {
|
|
85
|
+
key: 1,
|
|
86
|
+
class: O(["el-form-item asterisk-left inmessage", [r(_) ? "required" : "", r(m) ? "is-error" : "", r(d) ? "labelHidden" : ""]])
|
|
87
|
+
}, [
|
|
88
|
+
k("label", {
|
|
89
|
+
class: "el-form-item__label",
|
|
90
|
+
style: E({ width: r(d) ? "0px" : t.labelWidth })
|
|
91
|
+
}, [
|
|
92
|
+
y(x, A(e.$props, {
|
|
93
|
+
labelAlign: t.labelAlign
|
|
94
|
+
}), null, 16, ["labelAlign"])
|
|
95
|
+
], 4),
|
|
96
|
+
k("div", F, [
|
|
97
|
+
v(e.$slots, "default", { data: t }, void 0, !0),
|
|
98
|
+
r(m) ? (n(), c("div", V, $(r(b)), 1)) : h("", !0)
|
|
99
|
+
])
|
|
100
|
+
], 2))
|
|
101
|
+
];
|
|
102
|
+
}),
|
|
103
|
+
_: 3
|
|
104
|
+
}, 16);
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
const ie = /* @__PURE__ */ W(M, [["__scopeId", "data-v-9afcb804"]]);
|
|
109
|
+
export {
|
|
110
|
+
ie as default
|
|
111
|
+
};
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import { ref as K, onMounted as le, nextTick as we, defineComponent as ie, resolveComponent as Ve, resolveDirective as We, openBlock as ee, createBlock as te, mergeProps as T, unref as u, withCtx as oe, withDirectives as Le, toHandlers as Oe, createVNode as Ne } from "vue";
|
|
2
|
+
import { I as je } from "./widget-base-4c2d6265.js";
|
|
3
|
+
import { D as Ee } from "./drag-wrapper-227f198f.js";
|
|
4
|
+
import { _ as Me } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
|
|
5
|
+
import { c as Pe, w as z, f as q, b as x, e as C } from "./template-9ade074e.js";
|
|
6
|
+
import { u as xe } from "./icon-e9532b43.js";
|
|
7
|
+
import { u as Se, a as $e, F as Ae } from "./multirow-3ade8c6e.js";
|
|
8
|
+
import { i as Re } from "./enum-type-be3a0b8b.js";
|
|
9
|
+
import { b as ke, $ as ye, P as ae, B as Ie } from "./baseImp-70f1a9c5.js";
|
|
10
|
+
import { f as Be } from "./index-fa19f5d9.js";
|
|
11
|
+
import { b as He, a as Te, u as qe } from "./share-field-9834aef6.js";
|
|
12
|
+
import { W as Ke } from "./enum-type-92806e9d.js";
|
|
13
|
+
import { _ as ze } from "./_plugin-vue_export-helper-dad06003.js";
|
|
14
|
+
function Ge(t) {
|
|
15
|
+
const b = t.designer, d = b == null ? void 0 : b.pageConfig, D = t == null ? void 0 : t.widgetList;
|
|
16
|
+
t == null || t.widget;
|
|
17
|
+
const w = K({}), S = {}, { fieldName: O, fieldEditor: c, attrs: N, events: m, fieldModel: G, getFieldOptions: V, exposed: $, fieldObj: A, watchOption: f, refreshKey: R, singleOption: v, propResultOpt: p, extendAttrs: _ } = He(t), { off$: W, on$: g, emit$: j, broadcast: J } = $e();
|
|
18
|
+
var { instance: k, proxy: y } = xe();
|
|
19
|
+
const { setAllRefList: ne } = Te(w.value), Q = { instance: k, designState: t == null ? void 0 : t.designState, pageConfig: d, globalConfig: p == null ? void 0 : p.globalConfig }, { formModel: I, setData: de, getData: U, clearData: se } = Se(D, Q), { handleFunc: B } = qe({ options: d }, Q), E = K({}), re = () => {
|
|
20
|
+
W(C.fieldChange), g(C.fieldChange, (e) => {
|
|
21
|
+
ue(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), y == null || y.$emit(q.formChange, O, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue, I);
|
|
22
|
+
});
|
|
23
|
+
}, ce = () => {
|
|
24
|
+
W(C.fieldValidation), g(C.fieldValidation, (e) => {
|
|
25
|
+
var o;
|
|
26
|
+
(o = c.value) == null || o.validateField(e == null ? void 0 : e.propName);
|
|
27
|
+
});
|
|
28
|
+
}, fe = () => {
|
|
29
|
+
W(C.fieldRuleChange), g(C.fieldRuleChange, (e) => {
|
|
30
|
+
var o;
|
|
31
|
+
E.value = Object.assign(E.value, { [e == null ? void 0 : e.fieldName]: (o = e == null ? void 0 : e.rules) == null ? void 0 : o.map((a) => ({ required: a.required, message: a.message, trigger: a.trigger, validator: a.validator })) }), N.value.rules = E.value;
|
|
32
|
+
});
|
|
33
|
+
}, ue = (e, o, a) => {
|
|
34
|
+
B(m.value.formDataChange, { fieldName: e, newValue: o, oldValue: a, formModel: I });
|
|
35
|
+
}, me = () => {
|
|
36
|
+
B(m.value.formCreated);
|
|
37
|
+
}, ve = () => {
|
|
38
|
+
B(m.value.formMounted);
|
|
39
|
+
}, pe = () => {
|
|
40
|
+
fe(), re(), ce(), me();
|
|
41
|
+
}, _e = (e) => {
|
|
42
|
+
var o;
|
|
43
|
+
(o = c.value) == null || o.clearValidate(e);
|
|
44
|
+
}, ge = () => {
|
|
45
|
+
ne(Ke.resetField), we(() => {
|
|
46
|
+
_e();
|
|
47
|
+
});
|
|
48
|
+
}, he = (e = !0, o = !1) => {
|
|
49
|
+
var P, h, L;
|
|
50
|
+
let a = U();
|
|
51
|
+
if (!e)
|
|
52
|
+
return a;
|
|
53
|
+
let r = function() {
|
|
54
|
+
}, M = new Promise(function(i, s) {
|
|
55
|
+
r = function(l, n) {
|
|
56
|
+
n ? s(n) : i(l);
|
|
57
|
+
};
|
|
58
|
+
});
|
|
59
|
+
return (P = c.value) != null && P.validate ? (L = (h = c.value) == null ? void 0 : h.validate) == null || L.call(h, (i, s) => {
|
|
60
|
+
if (i)
|
|
61
|
+
r(a);
|
|
62
|
+
else {
|
|
63
|
+
let F = [];
|
|
64
|
+
for (let Fe in s) {
|
|
65
|
+
var l = s[Fe];
|
|
66
|
+
l == null || l.forEach((H) => {
|
|
67
|
+
const Ce = Be(D.value, (De) => Ie.getName(De) === H.field), { getFieldOptions: be } = ke(Ce[0], t), Z = be("label");
|
|
68
|
+
H.message && F.push(Pe(Z ? "【" + Z + "】" : "", H.message, ":"));
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
var n = F.join(";");
|
|
72
|
+
o ? ye.multiple(F, () => {
|
|
73
|
+
r(a);
|
|
74
|
+
}) : r(a, n);
|
|
75
|
+
}
|
|
76
|
+
}) : r(a), M;
|
|
77
|
+
}, X = (e) => {
|
|
78
|
+
de(e), J(z.ContainerWidget, q.setFormData, e, k), J(z.FieldWidget, q.setFormData, e, k);
|
|
79
|
+
}, Y = (e) => new Promise((o, a) => {
|
|
80
|
+
const r = (i) => {
|
|
81
|
+
var l, n, F;
|
|
82
|
+
const s = (l = _.value) != null && l.formDataLoaded ? (F = (n = _.value) == null ? void 0 : n.formDataLoaded) == null ? void 0 : F.call(n, U(), i) : i;
|
|
83
|
+
s ? (X(s), o(s)) : a();
|
|
84
|
+
}, M = () => {
|
|
85
|
+
f(e, x.newDataSource, void 0, (i) => {
|
|
86
|
+
r(i);
|
|
87
|
+
});
|
|
88
|
+
}, P = () => {
|
|
89
|
+
f(e, x.editDataSource, void 0, (i) => {
|
|
90
|
+
var l, n;
|
|
91
|
+
((n = (l = _.value) == null ? void 0 : l.needFormAdd) == null ? void 0 : n.call(l, i)) ? L && M() : r(i);
|
|
92
|
+
});
|
|
93
|
+
}, h = ae.getValue(V(x.editDataSource, !0)) !== null, L = ae.getValue(V(x.newDataSource, !0)) !== null;
|
|
94
|
+
h ? P() : L && M();
|
|
95
|
+
});
|
|
96
|
+
return pe(), le(() => {
|
|
97
|
+
Re(), ve();
|
|
98
|
+
}), {
|
|
99
|
+
widgetRefList: w,
|
|
100
|
+
allWidgetRefList: S,
|
|
101
|
+
fieldEditor: c,
|
|
102
|
+
formModel: I,
|
|
103
|
+
pageConfig: d,
|
|
104
|
+
widgetList: D,
|
|
105
|
+
fieldName: O,
|
|
106
|
+
attrs: N,
|
|
107
|
+
extendAttrs: _,
|
|
108
|
+
events: m,
|
|
109
|
+
rules: E,
|
|
110
|
+
loadData: Y,
|
|
111
|
+
exposed: {
|
|
112
|
+
...$,
|
|
113
|
+
setValue: X,
|
|
114
|
+
getValue: he,
|
|
115
|
+
clearData: se,
|
|
116
|
+
resetField: ge,
|
|
117
|
+
loadData: Y,
|
|
118
|
+
emit$: j
|
|
119
|
+
},
|
|
120
|
+
fieldObj: A
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
const Je = ie({ componentName: z.ContainerWidget }), Qe = /* @__PURE__ */ ie({
|
|
124
|
+
...Je,
|
|
125
|
+
__name: "form-widget",
|
|
126
|
+
props: { ...je },
|
|
127
|
+
setup(t, { expose: b }) {
|
|
128
|
+
var R;
|
|
129
|
+
const d = t, { exposed: D, formModel: w, fieldEditor: S, attrs: O, events: c, widgetRefList: N, extendAttrs: m, fieldName: G, fieldObj: V, loadData: $ } = Ge({ ...d, widgetList: (R = d == null ? void 0 : d.widget) == null ? void 0 : R.widgetList }), A = G.value;
|
|
130
|
+
Ae.globalProvide({
|
|
131
|
+
globalFormName: A
|
|
132
|
+
});
|
|
133
|
+
const f = K(!1);
|
|
134
|
+
return le(() => {
|
|
135
|
+
var v;
|
|
136
|
+
(v = m.value) != null && v.loadDataWhenInit && !d.designState && (f.value = !0, $(!0).then((p) => {
|
|
137
|
+
f.value = !1;
|
|
138
|
+
}).catch((p) => {
|
|
139
|
+
f.value = !1;
|
|
140
|
+
}));
|
|
141
|
+
}), b({ ...D }), (v, p) => {
|
|
142
|
+
const _ = Ve("el-form"), W = We("loading");
|
|
143
|
+
return ee(), te(Me, T(v.$props, {
|
|
144
|
+
"prop-options": { fieldObj: u(V) }
|
|
145
|
+
}), {
|
|
146
|
+
default: oe(({ data: g }) => {
|
|
147
|
+
var j;
|
|
148
|
+
return [
|
|
149
|
+
Le((ee(), te(_, T({
|
|
150
|
+
ref_key: "fieldEditor",
|
|
151
|
+
ref: S,
|
|
152
|
+
model: u(w)
|
|
153
|
+
}, u(O), Oe(u(c)), {
|
|
154
|
+
class: g.injectClass,
|
|
155
|
+
key: (j = u(V)) == null ? void 0 : j.fieldKey
|
|
156
|
+
}), {
|
|
157
|
+
default: oe(() => [
|
|
158
|
+
Ne(Ee, T(v.$props, {
|
|
159
|
+
dragClass: "formDrag",
|
|
160
|
+
model: u(w),
|
|
161
|
+
provideModel: !0,
|
|
162
|
+
"component-class": g.componentWrapperClass,
|
|
163
|
+
refList: u(N)
|
|
164
|
+
}), null, 16, ["model", "component-class", "refList"])
|
|
165
|
+
]),
|
|
166
|
+
_: 2
|
|
167
|
+
}, 1040, ["model", "class"])), [
|
|
168
|
+
[W, f.value]
|
|
169
|
+
])
|
|
170
|
+
];
|
|
171
|
+
}),
|
|
172
|
+
_: 1
|
|
173
|
+
}, 16, ["prop-options"]);
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
const Ue = /* @__PURE__ */ ze(Qe, [["__scopeId", "data-v-e17b7f15"]]), ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
178
|
+
__proto__: null,
|
|
179
|
+
default: Ue
|
|
180
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
181
|
+
export {
|
|
182
|
+
ct as _
|
|
183
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ed554759.js";
|
|
2
|
+
const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
|
+
__proto__: null,
|
|
4
|
+
default: e
|
|
5
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
6
|
+
export {
|
|
7
|
+
o as _
|
|
8
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
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 "./template-9ade074e.js";
|
|
3
|
+
import { I as k } from "./widget-base-4c2d6265.js";
|
|
4
|
+
import { D as x } from "./drag-wrapper-227f198f.js";
|
|
5
|
+
import { _ as A } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
|
|
6
|
+
import { b as j } from "./share-field-9834aef6.js";
|
|
7
|
+
import { c as H } from "./multirow-3ade8c6e.js";
|
|
8
|
+
const $ = m({ componentName: b.ContainerWidget }), S = /* @__PURE__ */ m({
|
|
9
|
+
...$,
|
|
10
|
+
__name: "grid-col-widget",
|
|
11
|
+
props: {
|
|
12
|
+
...k
|
|
13
|
+
},
|
|
14
|
+
setup(d, { expose: g }) {
|
|
15
|
+
const n = d, { attrs: o, fieldObj: u, extendAttrs: i, exposed: f } = j(n), v = l(() => n.propOptions.colHeight ? { height: n.propOptions.colHeight } : {}), { componentWrapperClass: _ } = H({ widget: n.widget }), h = l(() => (Object.keys(o.value).forEach((e) => {
|
|
16
|
+
var r, s;
|
|
17
|
+
var a = ["xs", "sm", "md", "lg", "xl"], p = ["span"];
|
|
18
|
+
!((r = o.value) != null && r.responsive) && a.includes(e) && delete o.value[e], (s = o.value) != null && s.responsive && p.includes(e) && delete o.value[e];
|
|
19
|
+
}), w(o.value)));
|
|
20
|
+
return g({ ...f }), (e, a) => {
|
|
21
|
+
var p, r, s;
|
|
22
|
+
return y(), C(A, c(e.$props, {
|
|
23
|
+
showWrapperComponent: !0,
|
|
24
|
+
"component-name": "el-col",
|
|
25
|
+
key: (p = e.widget) == null ? void 0 : p.id,
|
|
26
|
+
"prop-options": { fieldObj: { ...t(u), attrs: t(h) }, class: ["content-cell", "nopadding", "nomargin", (r = t(i)) == null ? void 0 : r.horizontalAlign, (s = t(i)) == null ? void 0 : s.verticalAlign], style: t(v) }
|
|
27
|
+
}), {
|
|
28
|
+
default: O(() => [
|
|
29
|
+
W(x, c(e.$props, {
|
|
30
|
+
dragClass: "dragSize1",
|
|
31
|
+
"component-class": t(_)
|
|
32
|
+
}), null, 16, ["component-class"])
|
|
33
|
+
]),
|
|
34
|
+
_: 1
|
|
35
|
+
}, 16, ["prop-options"]);
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
export {
|
|
40
|
+
S as _
|
|
41
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { defineComponent as p, openBlock as o, createBlock as s, mergeProps as u, unref as t, withCtx as w, createElementBlock as b, Fragment as h, renderList as C } from "vue";
|
|
2
|
+
import { w as k, b as y } from "./template-9ade074e.js";
|
|
3
|
+
import { I as O } from "./widget-base-4c2d6265.js";
|
|
4
|
+
import { _ as S } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ed554759.js";
|
|
5
|
+
import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
|
|
6
|
+
import { b as P } from "./share-field-9834aef6.js";
|
|
7
|
+
import { c as W } from "./multirow-3ade8c6e.js";
|
|
8
|
+
const v = p({ componentName: k.ContainerWidget }), B = /* @__PURE__ */ p({
|
|
9
|
+
...v,
|
|
10
|
+
__name: "grid-widget",
|
|
11
|
+
props: { ...O },
|
|
12
|
+
setup(a, { expose: d }) {
|
|
13
|
+
const r = a, { extendAttrs: m, watchPropAndSaveHistoryStep: l, fieldObj: g, exposed: c } = P(r), { componentWrapperClass: _, customClass: f } = W({ widget: r.widget });
|
|
14
|
+
return l(y.cols), d({ ...c }), (e, H) => {
|
|
15
|
+
var n;
|
|
16
|
+
return o(), s(j, u(e.$props, {
|
|
17
|
+
"component-name": "el-row",
|
|
18
|
+
key: (n = e.widget) == null ? void 0 : n.id,
|
|
19
|
+
showWrapperComponent: !0,
|
|
20
|
+
"prop-options": { fieldObj: t(g), class: ["nopadding", "nomargin", t(f), t(_)] }
|
|
21
|
+
}), {
|
|
22
|
+
default: w(() => [
|
|
23
|
+
(o(!0), b(h, null, C(e.widget.cols, (i, I) => (o(), s(S, {
|
|
24
|
+
key: i.id,
|
|
25
|
+
widget: i,
|
|
26
|
+
designer: e.designer,
|
|
27
|
+
"design-state": e.designState,
|
|
28
|
+
"parent-list": e.widget.cols,
|
|
29
|
+
"parent-widget": e.widget,
|
|
30
|
+
"prop-options": { colHeight: t(m).colHeight }
|
|
31
|
+
}, null, 8, ["widget", "designer", "design-state", "parent-list", "parent-widget", "prop-options"]))), 128))
|
|
32
|
+
]),
|
|
33
|
+
_: 1
|
|
34
|
+
}, 16, ["prop-options"]);
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
}), M = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
38
|
+
__proto__: null,
|
|
39
|
+
default: B
|
|
40
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
41
|
+
export {
|
|
42
|
+
M as _
|
|
43
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
import { I as C } from "./field-base-5547436d.js";
|
|
3
|
+
import { b as P } from "./share-field-9834aef6.js";
|
|
4
|
+
import { w as b } from "./template-9ade074e.js";
|
|
5
|
+
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
|
|
6
|
+
import { _ as k } from "./content-wrapper.vue_vue_type_script_setup_true_lang-56dfcc0b.js";
|
|
7
|
+
import { G as F } from "./enum-type-be3a0b8b.js";
|
|
8
|
+
import "./widget-base-4c2d6265.js";
|
|
9
|
+
import "./multirow-3ade8c6e.js";
|
|
10
|
+
import "./baseImp-70f1a9c5.js";
|
|
11
|
+
import "./uuid-b302db3f.js";
|
|
12
|
+
import "./enum-type-92806e9d.js";
|
|
13
|
+
import "./icon-e9532b43.js";
|
|
14
|
+
import "./dialog-333d3421.js";
|
|
15
|
+
import "element-plus";
|
|
16
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
+
import "./index-fa19f5d9.js";
|
|
18
|
+
import "./slot-c6523e8c.js";
|
|
19
|
+
import "./index-f54403db.js";
|
|
20
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
+
const $ = i({ componentName: b.FieldWidget }), R = /* @__PURE__ */ i({
|
|
22
|
+
...$,
|
|
23
|
+
__name: "html-text-widget",
|
|
24
|
+
props: { ...C },
|
|
25
|
+
setup(m, { expose: s }) {
|
|
26
|
+
const n = m, { exposed: a, fieldEditor: f, extendAttrs: t, attrs: l, fieldObj: c } = P(n);
|
|
27
|
+
return s({ ...a }), (d, j) => (_(), u(h, x(d.$props, {
|
|
28
|
+
"prop-options": { fieldObj: o(c) }
|
|
29
|
+
}), {
|
|
30
|
+
default: g(() => {
|
|
31
|
+
var r, e, p;
|
|
32
|
+
return [
|
|
33
|
+
w(k, {
|
|
34
|
+
ref_key: "fieldEditor",
|
|
35
|
+
ref: f,
|
|
36
|
+
"component-name": "div",
|
|
37
|
+
allProps: { customClass: o(F)((r = o(t)) == null ? void 0 : r.customClass), content: ((e = o(l)) == null ? void 0 : e.content) || ((p = o(t)) == null ? void 0 : p.content) }
|
|
38
|
+
}, null, 8, ["allProps"])
|
|
39
|
+
];
|
|
40
|
+
}),
|
|
41
|
+
_: 1
|
|
42
|
+
}, 16, ["prop-options"]));
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
export {
|
|
46
|
+
R as default
|
|
47
|
+
};
|