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,76 @@
|
|
|
1
|
+
import { defineComponent as y, resolveComponent as f, openBlock as o, createBlock as t, mergeProps as l, unref as r, withCtx as s, toHandlers as V, createElementBlock as _, Fragment as u, renderList as v, createTextVNode as P, toDisplayString as b, createElementVNode as S } from "vue";
|
|
2
|
+
import { I as $ } from "./field-base-5547436d.js";
|
|
3
|
+
import { _ as D } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
|
|
4
|
+
import { b as H } from "./share-field-9834aef6.js";
|
|
5
|
+
import { w as J } from "./template-9ade074e.js";
|
|
6
|
+
import { f as K } from "./enum-type-be3a0b8b.js";
|
|
7
|
+
import { c as p } from "./uuid-b302db3f.js";
|
|
8
|
+
import "./widget-base-4c2d6265.js";
|
|
9
|
+
import "./index-fa19f5d9.js";
|
|
10
|
+
import "./enum-type-92806e9d.js";
|
|
11
|
+
import "./baseImp-70f1a9c5.js";
|
|
12
|
+
import "./icon-e9532b43.js";
|
|
13
|
+
import "./dialog-333d3421.js";
|
|
14
|
+
import "element-plus";
|
|
15
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
+
import "./index-f54403db.js";
|
|
17
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
18
|
+
import "./multirow-3ade8c6e.js";
|
|
19
|
+
import "./slot-c6523e8c.js";
|
|
20
|
+
const L = ["href", "target"], R = y({ componentName: J.FieldWidget }), ae = /* @__PURE__ */ y({
|
|
21
|
+
...R,
|
|
22
|
+
__name: "breadcrumb-widget",
|
|
23
|
+
props: { ...$ },
|
|
24
|
+
setup(k, { expose: g }) {
|
|
25
|
+
const h = k, { exposed: j, fieldEditor: w, fieldKey: x, attrs: C, events: E, optionItems: F, fieldObj: O } = H(h);
|
|
26
|
+
return g({ ...j }), (B, T) => {
|
|
27
|
+
const n = f("el-breadcrumb-item"), I = f("el-breadcrumb");
|
|
28
|
+
return o(), t(D, l(B.$props, {
|
|
29
|
+
propOptions: { fieldObj: r(O) }
|
|
30
|
+
}), {
|
|
31
|
+
default: s(({ data: a }) => [
|
|
32
|
+
(o(), t(I, l({
|
|
33
|
+
ref_key: "fieldEditor",
|
|
34
|
+
ref: w,
|
|
35
|
+
key: r(x)
|
|
36
|
+
}, r(C), V(r(E)), {
|
|
37
|
+
class: a.injectClass,
|
|
38
|
+
style: a.injectStyle
|
|
39
|
+
}), {
|
|
40
|
+
default: s(() => [
|
|
41
|
+
(o(!0), _(u, null, v(r(F), (e, N) => {
|
|
42
|
+
var m, c;
|
|
43
|
+
return o(), _(u, { key: N }, [
|
|
44
|
+
(m = r(p)(e)) != null && m.useRouter ? (o(), t(n, l({ key: 0 }, e, {
|
|
45
|
+
to: r(K)((c = r(p)(e)) == null ? void 0 : c.to)
|
|
46
|
+
}), {
|
|
47
|
+
default: s(() => [
|
|
48
|
+
P(b(e == null ? void 0 : e.label), 1)
|
|
49
|
+
]),
|
|
50
|
+
_: 2
|
|
51
|
+
}, 1040, ["to"])) : (o(), t(n, { key: 1 }, {
|
|
52
|
+
default: s(() => {
|
|
53
|
+
var i, d;
|
|
54
|
+
return [
|
|
55
|
+
S("a", {
|
|
56
|
+
href: ((i = r(p)(e)) == null ? void 0 : i.to) || null,
|
|
57
|
+
target: ((d = r(p)(e)) == null ? void 0 : d.replace) === !0 ? "_self" : "_blank"
|
|
58
|
+
}, b(e == null ? void 0 : e.label), 9, L)
|
|
59
|
+
];
|
|
60
|
+
}),
|
|
61
|
+
_: 2
|
|
62
|
+
}, 1024))
|
|
63
|
+
], 64);
|
|
64
|
+
}), 128))
|
|
65
|
+
]),
|
|
66
|
+
_: 2
|
|
67
|
+
}, 1040, ["class", "style"]))
|
|
68
|
+
]),
|
|
69
|
+
_: 1
|
|
70
|
+
}, 16, ["propOptions"]);
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
export {
|
|
75
|
+
ae as default
|
|
76
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { defineComponent as r, openBlock as l, createBlock as _, mergeProps as d, unref as t, withCtx as f, createVNode as u } from "vue";
|
|
2
|
+
import { I as b } from "./field-base-5547436d.js";
|
|
3
|
+
import { _ as x } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-af9e9fc7.js";
|
|
4
|
+
import { w as g } from "./template-9ade074e.js";
|
|
5
|
+
import { b as w } from "./share-field-9834aef6.js";
|
|
6
|
+
import { _ as O } from "./content-wrapper.vue_vue_type_script_setup_true_lang-56dfcc0b.js";
|
|
7
|
+
import "./widget-base-4c2d6265.js";
|
|
8
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
|
|
9
|
+
import "./uuid-b302db3f.js";
|
|
10
|
+
import "./enum-type-be3a0b8b.js";
|
|
11
|
+
import "./index-fa19f5d9.js";
|
|
12
|
+
import "./enum-type-92806e9d.js";
|
|
13
|
+
import "./baseImp-70f1a9c5.js";
|
|
14
|
+
import "./icon-e9532b43.js";
|
|
15
|
+
import "./dialog-333d3421.js";
|
|
16
|
+
import "element-plus";
|
|
17
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
|
+
import "./index-f54403db.js";
|
|
19
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
+
import "./slot-c6523e8c.js";
|
|
21
|
+
import "./multirow-3ade8c6e.js";
|
|
22
|
+
const P = r({ componentName: g.FieldWidget }), K = /* @__PURE__ */ r({
|
|
23
|
+
...P,
|
|
24
|
+
__name: "button-widget",
|
|
25
|
+
props: { ...b },
|
|
26
|
+
setup(p, { expose: m }) {
|
|
27
|
+
const i = p, { attrs: o, extendAttrs: n, exposed: s, fieldObj: a } = w(i);
|
|
28
|
+
return m({ ...s }), (c, C) => (l(), _(x, d(c.$props, {
|
|
29
|
+
propOptions: { elementName: "el-button", fieldObj: t(a) }
|
|
30
|
+
}), {
|
|
31
|
+
contentSlot: f(() => {
|
|
32
|
+
var e;
|
|
33
|
+
return [
|
|
34
|
+
u(O, {
|
|
35
|
+
allProps: { content: t(o).content || t(n).content, customClass: [(e = t(o)) != null && e.autoInsertSpace ? "el-button__text--expand" : ""] }
|
|
36
|
+
}, null, 8, ["allProps"])
|
|
37
|
+
];
|
|
38
|
+
}),
|
|
39
|
+
_: 1
|
|
40
|
+
}, 16, ["propOptions"]));
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
export {
|
|
44
|
+
K as default
|
|
45
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { defineComponent as m, openBlock as i, createBlock as w, mergeProps as p, unref as e, withCtx as b, withDirectives as g, createElementBlock as j, isRef as v, toHandlers as F, vModelDynamic as O } from "vue";
|
|
2
|
+
import { I as h } from "./field-base-5547436d.js";
|
|
3
|
+
import { b as x } from "./share-field-9834aef6.js";
|
|
4
|
+
import B from "./form-item-wrapper-849d8a21.js";
|
|
5
|
+
import { w as C } from "./template-9ade074e.js";
|
|
6
|
+
import "./widget-base-4c2d6265.js";
|
|
7
|
+
import "./enum-type-be3a0b8b.js";
|
|
8
|
+
import "./multirow-3ade8c6e.js";
|
|
9
|
+
import "./baseImp-70f1a9c5.js";
|
|
10
|
+
import "./uuid-b302db3f.js";
|
|
11
|
+
import "./enum-type-92806e9d.js";
|
|
12
|
+
import "./icon-e9532b43.js";
|
|
13
|
+
import "./dialog-333d3421.js";
|
|
14
|
+
import "element-plus";
|
|
15
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
+
import "./index-fa19f5d9.js";
|
|
17
|
+
import "./slot-c6523e8c.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 "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-5b455ef8.js";
|
|
22
|
+
const E = m({ componentName: C.FieldWidget }), X = /* @__PURE__ */ m({
|
|
23
|
+
...E,
|
|
24
|
+
__name: "cache-widget",
|
|
25
|
+
props: { ...h },
|
|
26
|
+
setup(l, { expose: s }) {
|
|
27
|
+
const n = l, { fieldEditor: d, fieldKey: a, fieldModel: t, attrs: f, events: c, exposed: u, fieldObj: _ } = x(n);
|
|
28
|
+
return s({ ...u }), (y, o) => (i(), w(B, p(y.$props, {
|
|
29
|
+
propOptions: { fieldObj: e(_) }
|
|
30
|
+
}), {
|
|
31
|
+
default: b(({ data: r }) => [
|
|
32
|
+
g((i(), j("input", p({
|
|
33
|
+
ref_key: "fieldEditor",
|
|
34
|
+
ref: d,
|
|
35
|
+
"onUpdate:modelValue": o[0] || (o[0] = (k) => v(t) ? t.value = k : null),
|
|
36
|
+
key: e(a)
|
|
37
|
+
}, e(f), F(e(c), !0), {
|
|
38
|
+
class: [r.injectClass, "hide-spin-button"],
|
|
39
|
+
style: r.injectStyle
|
|
40
|
+
}), null, 16)), [
|
|
41
|
+
[O, e(t)]
|
|
42
|
+
])
|
|
43
|
+
]),
|
|
44
|
+
_: 1
|
|
45
|
+
}, 16, ["propOptions"]));
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
export {
|
|
49
|
+
X as default
|
|
50
|
+
};
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { defineComponent as b, computed as B, resolveComponent as s, openBlock as t, createBlock as o, mergeProps as i, unref as r, withCtx as m, toHandlers as O, createSlots as z, renderList as P, createVNode as l, createElementBlock as d, Fragment as c, resolveDynamicComponent as f, createCommentVNode as n, createTextVNode as A, toDisplayString as E } from "vue";
|
|
2
|
+
import { f as H } from "./enum-type-be3a0b8b.js";
|
|
3
|
+
import { I as J } from "./widget-base-4c2d6265.js";
|
|
4
|
+
import { D as u } from "./drag-wrapper-227f198f.js";
|
|
5
|
+
import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
|
|
6
|
+
import { s as k, w as L } from "./template-9ade074e.js";
|
|
7
|
+
import { b as T } from "./share-field-9834aef6.js";
|
|
8
|
+
import { g as q } from "./slot-c6523e8c.js";
|
|
9
|
+
import { S as w } from "./index-f54403db.js";
|
|
10
|
+
import { _ as G } from "./_plugin-vue_export-helper-dad06003.js";
|
|
11
|
+
import "./baseImp-70f1a9c5.js";
|
|
12
|
+
import "./uuid-b302db3f.js";
|
|
13
|
+
import "./enum-type-92806e9d.js";
|
|
14
|
+
import "./icon-e9532b43.js";
|
|
15
|
+
import "./dialog-333d3421.js";
|
|
16
|
+
import "element-plus";
|
|
17
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
|
+
import "./index-fa19f5d9.js";
|
|
19
|
+
import "./multirow-3ade8c6e.js";
|
|
20
|
+
const M = b({ componentName: L.ContainerWidget }), Q = /* @__PURE__ */ b({
|
|
21
|
+
...M,
|
|
22
|
+
__name: "card-widget",
|
|
23
|
+
props: { ...J },
|
|
24
|
+
setup(S, { expose: v }) {
|
|
25
|
+
const C = S, { exposed: h, fieldKey: N, attrs: _, extendAttrs: a, events: F, slots: V, fieldObj: W, setFieldOptions: $ } = T(C), j = () => {
|
|
26
|
+
$("folded", !a.value.folded);
|
|
27
|
+
}, D = B(() => H(a.value.bodyStyle));
|
|
28
|
+
return v({ ...h }), (p, R) => {
|
|
29
|
+
const y = s("el-col"), I = s("el-row"), x = s("el-card");
|
|
30
|
+
return t(), o(K, i(p.$props, {
|
|
31
|
+
"prop-options": { class: [], fieldObj: r(W) }
|
|
32
|
+
}), {
|
|
33
|
+
default: m(({ data: g }) => [
|
|
34
|
+
(t(), o(x, i({ key: r(N) }, r(_), O(r(F)), {
|
|
35
|
+
"body-style": r(D),
|
|
36
|
+
class: [r(a).folded ? "folded" : "", ...g.injectClass],
|
|
37
|
+
style: g.injectStyle
|
|
38
|
+
}), z({ _: 2 }, [
|
|
39
|
+
P(r(q)(r(V), !0), (e) => ({
|
|
40
|
+
name: e.slotName,
|
|
41
|
+
fn: m(() => [
|
|
42
|
+
(e == null ? void 0 : e.slotName) === r(k).header ? (t(), o(I, { key: 0 }, {
|
|
43
|
+
default: m(() => [
|
|
44
|
+
l(y, {
|
|
45
|
+
span: r(a).showFold ? 23 : 24
|
|
46
|
+
}, {
|
|
47
|
+
default: m(() => [
|
|
48
|
+
r(a).slotable ? (t(), d(c, { key: 0 }, [
|
|
49
|
+
e != null && e.default ? (t(), o(f(e == null ? void 0 : e.default), {
|
|
50
|
+
key: 0,
|
|
51
|
+
item: r(a)
|
|
52
|
+
}, null, 8, ["item"])) : n("", !0)
|
|
53
|
+
], 64)) : (t(), d(c, { key: 1 }, [
|
|
54
|
+
A(E(r(_).label || r(a).label), 1)
|
|
55
|
+
], 64)),
|
|
56
|
+
r(a).slotable ? (t(), o(u, i({ key: 2 }, p.$props, { widget: e }), null, 16, ["widget"])) : n("", !0)
|
|
57
|
+
]),
|
|
58
|
+
_: 2
|
|
59
|
+
}, 1032, ["span"]),
|
|
60
|
+
l(y, {
|
|
61
|
+
span: r(a).showFold ? 1 : 0
|
|
62
|
+
}, {
|
|
63
|
+
default: m(() => [
|
|
64
|
+
r(a).showFold ? (t(), d("i", {
|
|
65
|
+
key: 0,
|
|
66
|
+
class: "float-right",
|
|
67
|
+
onClick: j
|
|
68
|
+
}, [
|
|
69
|
+
r(a).folded ? (t(), o(w, {
|
|
70
|
+
key: 1,
|
|
71
|
+
name: "@el-arrow-up"
|
|
72
|
+
})) : (t(), o(w, {
|
|
73
|
+
key: 0,
|
|
74
|
+
name: "@el-arrow-down"
|
|
75
|
+
}))
|
|
76
|
+
])) : n("", !0)
|
|
77
|
+
]),
|
|
78
|
+
_: 1
|
|
79
|
+
}, 8, ["span"])
|
|
80
|
+
]),
|
|
81
|
+
_: 2
|
|
82
|
+
}, 1024)) : (e == null ? void 0 : e.slotName) === r(k).default ? (t(), d(c, { key: 1 }, [
|
|
83
|
+
p.designState || !r(a).folded ? (t(), d(c, { key: 0 }, [
|
|
84
|
+
e != null && e.default ? (t(), o(f(e == null ? void 0 : e.default), { key: 0 })) : n("", !0),
|
|
85
|
+
l(u, i(p.$props, {
|
|
86
|
+
widget: e,
|
|
87
|
+
"drag-class": "dragSize1"
|
|
88
|
+
}), null, 16, ["widget"])
|
|
89
|
+
], 64)) : n("", !0)
|
|
90
|
+
], 64)) : (t(), d(c, { key: 2 }, [
|
|
91
|
+
e != null && e.default ? (t(), o(f(e == null ? void 0 : e.default), { key: 0 })) : n("", !0),
|
|
92
|
+
l(u, i(p.$props, {
|
|
93
|
+
widget: e,
|
|
94
|
+
"drag-class": "dragSize1"
|
|
95
|
+
}), null, 16, ["widget"])
|
|
96
|
+
], 64))
|
|
97
|
+
])
|
|
98
|
+
}))
|
|
99
|
+
]), 1040, ["body-style", "class", "style"]))
|
|
100
|
+
]),
|
|
101
|
+
_: 1
|
|
102
|
+
}, 16, ["prop-options"]);
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
const _e = /* @__PURE__ */ G(Q, [["__scopeId", "data-v-e8e0f73e"]]);
|
|
107
|
+
export {
|
|
108
|
+
_e as default
|
|
109
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { defineComponent as d, computed as h, ref as G, resolveComponent as u, openBlock as r, createBlock as n, mergeProps as m, unref as o, withCtx as l, toHandlers as R, createElementBlock as S, Fragment as $, renderList as D, resolveDynamicComponent as H } from "vue";
|
|
2
|
+
import { I as K } from "./field-base-5547436d.js";
|
|
3
|
+
import { _ as L } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
|
|
4
|
+
import { b as N } from "./share-field-9834aef6.js";
|
|
5
|
+
import { w as q } from "./template-9ade074e.js";
|
|
6
|
+
import { G as z, b as A } from "./baseImp-70f1a9c5.js";
|
|
7
|
+
import { u as J } from "./icon-e9532b43.js";
|
|
8
|
+
import { u as M } from "./propresult-e424ed73.js";
|
|
9
|
+
import "./widget-base-4c2d6265.js";
|
|
10
|
+
import "./uuid-b302db3f.js";
|
|
11
|
+
import "./enum-type-be3a0b8b.js";
|
|
12
|
+
import "./index-fa19f5d9.js";
|
|
13
|
+
import "./enum-type-92806e9d.js";
|
|
14
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
+
import "./index-f54403db.js";
|
|
16
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
17
|
+
import "./multirow-3ade8c6e.js";
|
|
18
|
+
import "./slot-c6523e8c.js";
|
|
19
|
+
import "./dialog-333d3421.js";
|
|
20
|
+
import "element-plus";
|
|
21
|
+
const Q = d({ componentName: q.FieldWidget }), _e = /* @__PURE__ */ d({
|
|
22
|
+
...Q,
|
|
23
|
+
__name: "carousel-widget",
|
|
24
|
+
props: { ...K },
|
|
25
|
+
setup(f, { expose: _ }) {
|
|
26
|
+
const s = f, { exposed: g, fieldEditor: b, fieldKey: v, attrs: y, events: x, optionItems: F, activeOptionItemIndex: I, fieldObj: k } = N(s), a = h(() => p.value || I.value), p = G(), C = () => a.value, O = (t) => {
|
|
27
|
+
p.value = t;
|
|
28
|
+
}, { instance: w } = J(), P = z({ instance: w }), { getPropResultForm: V } = M(s), j = (t) => {
|
|
29
|
+
const { getWidgetOptionByPropValue: c } = A(s.widget, V());
|
|
30
|
+
return c(t);
|
|
31
|
+
};
|
|
32
|
+
return _({ ...g, getValue: C, setValue: O }), (t, c) => {
|
|
33
|
+
const B = u("el-carousel-item"), E = u("el-carousel");
|
|
34
|
+
return r(), n(L, m(t.$props, {
|
|
35
|
+
propOptions: { fieldObj: o(k) }
|
|
36
|
+
}), {
|
|
37
|
+
default: l(({ data: i }) => [
|
|
38
|
+
(r(), n(E, m({
|
|
39
|
+
ref_key: "fieldEditor",
|
|
40
|
+
ref: b,
|
|
41
|
+
key: o(v)
|
|
42
|
+
}, o(y), R(o(x)), {
|
|
43
|
+
class: i.injectClass,
|
|
44
|
+
style: i.injectStyle,
|
|
45
|
+
initialIndex: o(a)
|
|
46
|
+
}), {
|
|
47
|
+
default: l(() => [
|
|
48
|
+
(r(!0), S($, null, D(o(F), (e, W) => (r(), n(B, {
|
|
49
|
+
key: W,
|
|
50
|
+
name: e == null ? void 0 : e.name,
|
|
51
|
+
label: e == null ? void 0 : e.label
|
|
52
|
+
}, {
|
|
53
|
+
default: l(() => [
|
|
54
|
+
(r(), n(H(j(e == null ? void 0 : e.slotContent)), {
|
|
55
|
+
scope: e,
|
|
56
|
+
ctx: o(P)
|
|
57
|
+
}, null, 8, ["scope", "ctx"]))
|
|
58
|
+
]),
|
|
59
|
+
_: 2
|
|
60
|
+
}, 1032, ["name", "label"]))), 128))
|
|
61
|
+
]),
|
|
62
|
+
_: 2
|
|
63
|
+
}, 1040, ["class", "style", "initialIndex"]))
|
|
64
|
+
]),
|
|
65
|
+
_: 1
|
|
66
|
+
}, 16, ["propOptions"]);
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
export {
|
|
71
|
+
_e as default
|
|
72
|
+
};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { defineComponent as E, computed as c, resolveComponent as K, openBlock as s, createBlock as m, mergeProps as j, unref as o, withCtx as d, isRef as R, toHandlers as U, createSlots as $, resolveDynamicComponent as w } from "vue";
|
|
2
|
+
import { a as q } from "./enum-type-be3a0b8b.js";
|
|
3
|
+
import { I as G } from "./field-base-5547436d.js";
|
|
4
|
+
import { b as J } from "./share-field-9834aef6.js";
|
|
5
|
+
import Q from "./form-item-wrapper-849d8a21.js";
|
|
6
|
+
import { w as X } from "./template-9ade074e.js";
|
|
7
|
+
import "./widget-base-4c2d6265.js";
|
|
8
|
+
import "./multirow-3ade8c6e.js";
|
|
9
|
+
import "./baseImp-70f1a9c5.js";
|
|
10
|
+
import "./uuid-b302db3f.js";
|
|
11
|
+
import "./enum-type-92806e9d.js";
|
|
12
|
+
import "./icon-e9532b43.js";
|
|
13
|
+
import "./dialog-333d3421.js";
|
|
14
|
+
import "element-plus";
|
|
15
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
+
import "./index-fa19f5d9.js";
|
|
17
|
+
import "./slot-c6523e8c.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 "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-5b455ef8.js";
|
|
22
|
+
const Y = E({ componentName: X.FieldWidget }), _e = /* @__PURE__ */ E({
|
|
23
|
+
...Y,
|
|
24
|
+
__name: "cascader-widget",
|
|
25
|
+
props: { ...G },
|
|
26
|
+
setup(F, { expose: I }) {
|
|
27
|
+
const u = F, { fieldEditor: f, fieldKey: N, fieldModel: n, rules: T, attrs: v, extendAttrs: e, events: V, optionItems: M, getWidgetOption: h, exposed: W, isError: B, errorMsg: D, fieldObj: L } = J(u), H = c(() => {
|
|
28
|
+
var t, l, i, a, _, P, k, C, b, z, O, S;
|
|
29
|
+
const r = {
|
|
30
|
+
lazy: (t = e.value) == null ? void 0 : t.lazy,
|
|
31
|
+
lazyLoad: (l = e == null ? void 0 : e.value) == null ? void 0 : l.lazyLoad
|
|
32
|
+
}, p = {
|
|
33
|
+
checkStrictly: (i = e.value) == null ? void 0 : i.checkStrictly,
|
|
34
|
+
multiple: (a = e.value) == null ? void 0 : a.multiple,
|
|
35
|
+
expandTrigger: (_ = e.value) == null ? void 0 : _.expandTrigger,
|
|
36
|
+
emitPath: (P = e.value) == null ? void 0 : P.emitPath,
|
|
37
|
+
hoverThreshold: (k = e.value) == null ? void 0 : k.hoverThreshold,
|
|
38
|
+
value: (C = e == null ? void 0 : e.value) == null ? void 0 : C.valueProp,
|
|
39
|
+
label: (b = e == null ? void 0 : e.value) == null ? void 0 : b.labelProp,
|
|
40
|
+
disabled: (z = e == null ? void 0 : e.value) == null ? void 0 : z.disabledProp,
|
|
41
|
+
children: (O = e == null ? void 0 : e.value) == null ? void 0 : O.childrenProp,
|
|
42
|
+
leaf: (S = e == null ? void 0 : e.value) == null ? void 0 : S.leafProp
|
|
43
|
+
};
|
|
44
|
+
return u.designState ? p : { ...p, ...r };
|
|
45
|
+
}), y = c(() => h("optionDefault")), g = c(() => h("empty"));
|
|
46
|
+
return I({ ...W, getCheckedNodes: () => {
|
|
47
|
+
var r;
|
|
48
|
+
return (r = f.value) == null ? void 0 : r.getCheckedNodes();
|
|
49
|
+
} }), (r, p) => {
|
|
50
|
+
const t = K("el-cascader");
|
|
51
|
+
return s(), m(Q, j(r.$props, {
|
|
52
|
+
propOptions: { fieldObj: o(L), rules: o(T), isError: o(B), errorMsg: o(D) }
|
|
53
|
+
}), {
|
|
54
|
+
default: d(({ data: l }) => [
|
|
55
|
+
(s(), m(t, j({
|
|
56
|
+
ref_key: "fieldEditor",
|
|
57
|
+
ref: f,
|
|
58
|
+
modelValue: o(n),
|
|
59
|
+
"onUpdate:modelValue": p[0] || (p[0] = (i) => R(n) ? n.value = i : null),
|
|
60
|
+
key: o(N)
|
|
61
|
+
}, o(v), U(o(V)), {
|
|
62
|
+
class: l.injectClass,
|
|
63
|
+
style: l.injectStyle,
|
|
64
|
+
options: o(M),
|
|
65
|
+
placeholder: o(v).placeholder || o(q).i18nt("render.hint.selectPlaceholder"),
|
|
66
|
+
props: o(H),
|
|
67
|
+
size: l.size
|
|
68
|
+
}), $({ _: 2 }, [
|
|
69
|
+
o(g) ? {
|
|
70
|
+
name: "empty",
|
|
71
|
+
fn: d(() => [
|
|
72
|
+
(s(), m(w(o(g))))
|
|
73
|
+
]),
|
|
74
|
+
key: "0"
|
|
75
|
+
} : void 0,
|
|
76
|
+
o(y) ? {
|
|
77
|
+
name: "default",
|
|
78
|
+
fn: d(({ node: i, data: a }) => [
|
|
79
|
+
(s(), m(w(o(y)), {
|
|
80
|
+
item: { node: i, data: a }
|
|
81
|
+
}, null, 8, ["item"]))
|
|
82
|
+
]),
|
|
83
|
+
key: "1"
|
|
84
|
+
} : void 0
|
|
85
|
+
]), 1040, ["modelValue", "class", "style", "options", "placeholder", "props", "size"]))
|
|
86
|
+
]),
|
|
87
|
+
_: 1
|
|
88
|
+
}, 16, ["propOptions"]);
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
export {
|
|
93
|
+
_e as default
|
|
94
|
+
};
|