hldesigner 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/FileSaver.min-b57403e6.js +103 -0
- package/_commonjsHelpers-e7ea1525.js +36 -0
- package/_plugin-vue_export-helper-dad06003.js +9 -0
- package/affix-widget-94198099.js +38 -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-77003871.js +57 -0
- package/auto-complete-widget-8d76ea70.js +74 -0
- package/avatar-widget-3cd63f01.js +38 -0
- package/backtop-widget-6fc3db98.js +38 -0
- package/badge-widget-f36a769c.js +44 -0
- package/baseImp-8c4be88e.js +11050 -0
- package/breadcrumb-widget-422a9d28.js +79 -0
- package/button-widget-918dde3f.js +48 -0
- package/cache-widget-a1637f5f.js +53 -0
- package/card-widget-2db8e9d4.js +112 -0
- package/carousel-widget-838cc8c9.js +75 -0
- package/cascader-widget-42482528.js +97 -0
- package/chart-widget-ac07a466.js +44285 -0
- package/checkbox-widget-ee1fcb0c.js +79 -0
- package/clipboard-fc4d858d.js +497 -0
- package/code-cf4fbc89.js +82 -0
- package/collapse-widget-1a93bdb5.js +89 -0
- package/color-picker-widget-e893711a.js +56 -0
- package/common-editor-76ac2e32.js +24 -0
- package/common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-634a504e.js +25 -0
- package/configItem-6bfa74e0.js +113 -0
- package/cont-cell-widget-42f96421.js +8 -0
- package/cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-d3be593a.js +59 -0
- package/cont-widget-9dda9135.js +42 -0
- package/content-wrapper-20c559ac.js +14 -0
- package/content-wrapper.vue_vue_type_script_setup_true_lang-4a97c453.js +37 -0
- package/customClass-editor-9088a8cf.js +43 -0
- package/date-picker-range-widget-b9287f93.js +72 -0
- package/date-picker-widget-21595fd5.js +78 -0
- package/default-slot-widget-fc87ed0a.js +24 -0
- package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-0fb8e1cc.js +59 -0
- package/descriptions-widget-33a02f1a.js +83 -0
- package/designer.es.js +42 -0
- package/designer.style.css +11 -0
- package/designer.umd.js +161882 -0
- package/dialog-5e196819.js +124 -0
- package/dialog-widget-22714c34.js +33 -0
- package/divider-widget-adf656f2.js +38 -0
- package/drag-wrapper-f9fb1533.js +259 -0
- package/drawer-widget-404cb6db.js +33 -0
- package/dropdown-widget-a4a1e2f7.js +92 -0
- package/editor-wrapper-e6b30023.js +779 -0
- package/emitter-2b9b9409.js +53 -0
- package/empty-widget-c53b07dd.js +64 -0
- package/enum-type-255ade69.js +543 -0
- package/enum-type-287a50b6.js +2054 -0
- package/expression-ea95606e.js +2181 -0
- package/feedback-widget-c041b474.js +26 -0
- package/feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-efe168a5.js +82 -0
- package/field-base-5547436d.js +7 -0
- package/field-editor-3e1ce4f3.js +69 -0
- package/file-upload-widget-941b9493.js +98 -0
- package/form-item-wrapper-8039c512.js +113 -0
- package/form-widget-98a02c28.js +184 -0
- package/grid-col-widget-3ea371ea.js +8 -0
- package/grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-f40c8e16.js +41 -0
- package/grid-widget-f0635d43.js +43 -0
- package/html-text-widget-c440e86d.js +50 -0
- package/icon-2bb9fa65.js +129 -0
- package/iframe-widget-37ef665f.js +77 -0
- package/image-widget-871d5987.js +64 -0
- package/import-config-1eb9a66b.js +13156 -0
- package/index-0a2f2997.js +225 -0
- package/index-12505eec.js +42 -0
- package/index-18720c06.js +138 -0
- package/index-188b745d.js +132 -0
- package/index-28f32a55.js +216 -0
- package/index-2936e7cf.js +3265 -0
- package/index-2d29f8d3.js +7233 -0
- package/index-3d5d5fac.js +23 -0
- package/index-50c3e002.js +227 -0
- package/index-6a276ef7.js +131 -0
- package/index-6d56f058.js +45 -0
- package/index-7b38fd82.js +330 -0
- package/index-7c2a8e33.js +17993 -0
- package/index-7fa591e3.js +4817 -0
- package/index-82f2c56a.js +135 -0
- package/index-8713c192.js +344 -0
- package/index-8d537d38.js +2393 -0
- package/index-9fd4a537.js +99 -0
- package/index-ad538d7e.js +832 -0
- package/index-c1b1f59f.js +88 -0
- package/index-d6fa09d6.js +39 -0
- package/index-db2305dc.js +117 -0
- package/index-ddd23411.js +4884 -0
- package/index-e795786b.js +119 -0
- package/index-f146282d.js +1356 -0
- package/index-f849ef29.js +216 -0
- package/index-ffbcbc43.js +65 -0
- package/input-number-widget-64f89b9d.js +66 -0
- package/input-widget-0fe7c3d7.js +71 -0
- package/install-designer-bed2e18a.js +4752 -0
- package/item-4be3cb5b.js +34 -0
- package/item-ddbdee11.js +24 -0
- package/itemDetail-b31192a5.js +43 -0
- package/label-wrapper-91b95fb0.js +12 -0
- package/label-wrapper.vue_vue_type_style_index_0_lang-0a7f6bdd.js +80 -0
- package/link-widget-0f2bb61c.js +56 -0
- package/ltable-col-widget-9f26b93d.js +8 -0
- package/ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-639ee976.js +256 -0
- package/ltable-widget-b78a72ee.js +69 -0
- package/menu-widget-15fdd710.js +96 -0
- package/model-widget-3f2b1368.js +122 -0
- package/multirow-e1e1205c.js +292 -0
- package/multirow-widget copy-671ebd9c.js +858 -0
- package/multirow-widget-d256cac6.js +694 -0
- package/name-editor-05685151.js +104 -0
- package/optionItem-0ac4a3ae.js +4667 -0
- package/package.json +13 -0
- package/pagination-widget-31a7301d.js +81 -0
- package/picture-upload-widget-46ea42a0.js +102 -0
- package/postcss-2c4d92ea.js +2285 -0
- package/progress-widget-fc1f9557.js +52 -0
- package/property-base-e63e2f28.js +78 -0
- package/propresult-8fdf23e2.js +22 -0
- package/radio-widget-fbc63c11.js +79 -0
- package/range-widget-b0882319.js +74 -0
- package/rate-widget-9719ca7d.js +56 -0
- package/reg-editor.vue_vue_type_script_setup_true_lang-56504fb0.js +61 -0
- package/result-widget-925a5426.js +67 -0
- package/rich-editor-widget-426f0b19.js +77 -0
- package/router-widget-209f0eb1.js +54 -0
- package/schemaData-ab87bd49.js +333 -0
- package/select-widget-0b560a2f.js +288 -0
- package/setView-de8aaf40.js +84 -0
- package/sfc-10e3d29c.js +2570 -0
- package/share-editor-27d43940.js +448 -0
- package/share-event-dd8ff2ba.js +26 -0
- package/share-field-451430de.js +690 -0
- package/share-file-124a4d83.js +121 -0
- package/size-editor-ea05760c.js +92 -0
- package/slider-widget-fb4efa96.js +62 -0
- package/slot-04a83a27.js +17 -0
- package/static-text-widget-2efdd909.js +51 -0
- package/steps-widget-6f283f21.js +91 -0
- package/subMenu-widget-77e295cb.js +16 -0
- package/subMenu-widget.vue_vue_type_script_setup_true_lang-b051a10e.js +69 -0
- package/switch-widget-f1120b6c.js +56 -0
- package/tab-pane-widget-99c21615.js +8 -0
- package/tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-bc962788.js +35 -0
- package/table-col-widget-d6d5d21f.js +23 -0
- package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-2efa4d60.js +80 -0
- package/table-widget-9b8d9798.js +163 -0
- package/tabs-widget-88393072.js +68 -0
- package/tag-widget-33c17c06.js +38 -0
- package/target-code-48e9d055.js +33 -0
- package/target-datasource-35dfcb1d.js +221 -0
- package/target-link-3ffd0149.js +126 -0
- package/target-saveForm-012b7de1.js +136 -0
- package/target-widget-3d7f6104.js +59 -0
- package/target-window-7556d301.js +54 -0
- package/template-c30585f4.js +251740 -0
- package/text-widget-8b5ece83.js +38 -0
- package/textarea-widget-e7c1d9ed.js +56 -0
- package/time-picker-range-widget-b8dfcc3b.js +58 -0
- package/time-picker-widget-73bde0a3.js +57 -0
- package/time-select-widget-08008b76.js +57 -0
- package/tmpl-widget-7d245d41.js +92 -0
- package/tooltip-wrapper-2922e49e.js +31 -0
- package/tree-select-widget-67231123.js +94 -0
- package/tree-widget-ab91165f.js +90 -0
- package/uuid-39f0308a.js +196 -0
- package/value-editor-27783d6c.js +89 -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-bbe0cabe.js +277 -0
- package/wrapper-widget-5702502d.js +78 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { defineComponent as y, resolveComponent as f, openBlock as o, createBlock as t, mergeProps as l, unref as r, withCtx as p, 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-bbe0cabe.js";
|
|
4
|
+
import { c as H } from "./share-field-451430de.js";
|
|
5
|
+
import { w as J } from "./template-c30585f4.js";
|
|
6
|
+
import { f as K } from "./enum-type-287a50b6.js";
|
|
7
|
+
import { c as s } from "./uuid-39f0308a.js";
|
|
8
|
+
import "./widget-base-4c2d6265.js";
|
|
9
|
+
import "./index-f146282d.js";
|
|
10
|
+
import "./enum-type-255ade69.js";
|
|
11
|
+
import "./optionItem-0ac4a3ae.js";
|
|
12
|
+
import "./baseImp-8c4be88e.js";
|
|
13
|
+
import "./icon-2bb9fa65.js";
|
|
14
|
+
import "./dialog-5e196819.js";
|
|
15
|
+
import "element-plus";
|
|
16
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
+
import "./index-7fa591e3.js";
|
|
18
|
+
import "./index-ffbcbc43.js";
|
|
19
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
+
import "./emitter-2b9b9409.js";
|
|
21
|
+
import "./multirow-e1e1205c.js";
|
|
22
|
+
import "./slot-04a83a27.js";
|
|
23
|
+
const L = ["href", "target"], R = y({ componentName: J.FieldWidget }), ce = /* @__PURE__ */ y({
|
|
24
|
+
...R,
|
|
25
|
+
__name: "breadcrumb-widget",
|
|
26
|
+
props: { ...$ },
|
|
27
|
+
setup(k, { expose: g }) {
|
|
28
|
+
const h = k, { exposed: j, fieldEditor: w, fieldKey: x, attrs: C, events: E, optionItems: F, fieldObj: O } = H(h);
|
|
29
|
+
return g({ ...j }), (B, T) => {
|
|
30
|
+
const n = f("el-breadcrumb-item"), I = f("el-breadcrumb");
|
|
31
|
+
return o(), t(D, l(B.$props, {
|
|
32
|
+
propOptions: { fieldObj: r(O) }
|
|
33
|
+
}), {
|
|
34
|
+
default: p(({ data: a }) => [
|
|
35
|
+
(o(), t(I, l({
|
|
36
|
+
ref_key: "fieldEditor",
|
|
37
|
+
ref: w,
|
|
38
|
+
key: r(x)
|
|
39
|
+
}, r(C), V(r(E)), {
|
|
40
|
+
class: a.injectClass,
|
|
41
|
+
style: a.injectStyle
|
|
42
|
+
}), {
|
|
43
|
+
default: p(() => [
|
|
44
|
+
(o(!0), _(u, null, v(r(F), (e, N) => {
|
|
45
|
+
var m, i;
|
|
46
|
+
return o(), _(u, { key: N }, [
|
|
47
|
+
(m = r(s)(e)) != null && m.useRouter ? (o(), t(n, l({ key: 0 }, e, {
|
|
48
|
+
to: r(K)((i = r(s)(e)) == null ? void 0 : i.to)
|
|
49
|
+
}), {
|
|
50
|
+
default: p(() => [
|
|
51
|
+
P(b(e == null ? void 0 : e.label), 1)
|
|
52
|
+
]),
|
|
53
|
+
_: 2
|
|
54
|
+
}, 1040, ["to"])) : (o(), t(n, { key: 1 }, {
|
|
55
|
+
default: p(() => {
|
|
56
|
+
var c, d;
|
|
57
|
+
return [
|
|
58
|
+
S("a", {
|
|
59
|
+
href: ((c = r(s)(e)) == null ? void 0 : c.to) || null,
|
|
60
|
+
target: ((d = r(s)(e)) == null ? void 0 : d.replace) === !0 ? "_self" : "_blank"
|
|
61
|
+
}, b(e == null ? void 0 : e.label), 9, L)
|
|
62
|
+
];
|
|
63
|
+
}),
|
|
64
|
+
_: 2
|
|
65
|
+
}, 1024))
|
|
66
|
+
], 64);
|
|
67
|
+
}), 128))
|
|
68
|
+
]),
|
|
69
|
+
_: 2
|
|
70
|
+
}, 1040, ["class", "style"]))
|
|
71
|
+
]),
|
|
72
|
+
_: 1
|
|
73
|
+
}, 16, ["propOptions"]);
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
export {
|
|
78
|
+
ce as default
|
|
79
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { defineComponent as e, openBlock as l, createBlock as _, mergeProps as d, unref as t, withCtx as f, createVNode as u } from "vue";
|
|
2
|
+
import { I as x } from "./field-base-5547436d.js";
|
|
3
|
+
import { _ as b } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-0fb8e1cc.js";
|
|
4
|
+
import { w as g } from "./template-c30585f4.js";
|
|
5
|
+
import { c as w } from "./share-field-451430de.js";
|
|
6
|
+
import { _ as O } from "./content-wrapper.vue_vue_type_script_setup_true_lang-4a97c453.js";
|
|
7
|
+
import "./widget-base-4c2d6265.js";
|
|
8
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-bbe0cabe.js";
|
|
9
|
+
import "./uuid-39f0308a.js";
|
|
10
|
+
import "./enum-type-287a50b6.js";
|
|
11
|
+
import "./index-f146282d.js";
|
|
12
|
+
import "./enum-type-255ade69.js";
|
|
13
|
+
import "./optionItem-0ac4a3ae.js";
|
|
14
|
+
import "./baseImp-8c4be88e.js";
|
|
15
|
+
import "./icon-2bb9fa65.js";
|
|
16
|
+
import "./dialog-5e196819.js";
|
|
17
|
+
import "element-plus";
|
|
18
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
19
|
+
import "./index-7fa591e3.js";
|
|
20
|
+
import "./index-ffbcbc43.js";
|
|
21
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
22
|
+
import "./slot-04a83a27.js";
|
|
23
|
+
import "./emitter-2b9b9409.js";
|
|
24
|
+
import "./multirow-e1e1205c.js";
|
|
25
|
+
const P = e({ componentName: g.FieldWidget }), Q = /* @__PURE__ */ e({
|
|
26
|
+
...P,
|
|
27
|
+
__name: "button-widget",
|
|
28
|
+
props: { ...x },
|
|
29
|
+
setup(p, { expose: m }) {
|
|
30
|
+
const i = p, { attrs: o, extendAttrs: n, exposed: s, fieldObj: a } = w(i);
|
|
31
|
+
return m({ ...s }), (c, C) => (l(), _(b, d(c.$props, {
|
|
32
|
+
propOptions: { elementName: "el-button", fieldObj: t(a) }
|
|
33
|
+
}), {
|
|
34
|
+
contentSlot: f(() => {
|
|
35
|
+
var r;
|
|
36
|
+
return [
|
|
37
|
+
u(O, {
|
|
38
|
+
allProps: { content: t(o).content || t(n).content, customClass: [(r = t(o)) != null && r.autoInsertSpace ? "el-button__text--expand" : ""] }
|
|
39
|
+
}, null, 8, ["allProps"])
|
|
40
|
+
];
|
|
41
|
+
}),
|
|
42
|
+
_: 1
|
|
43
|
+
}, 16, ["propOptions"]));
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
export {
|
|
47
|
+
Q as default
|
|
48
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { defineComponent as m, openBlock as i, createBlock as w, mergeProps as p, unref as t, withCtx as g, withDirectives as j, createElementBlock as v, isRef as F, toHandlers as O, vModelDynamic as b } from "vue";
|
|
2
|
+
import { I as h } from "./field-base-5547436d.js";
|
|
3
|
+
import { c as x } from "./share-field-451430de.js";
|
|
4
|
+
import B from "./form-item-wrapper-8039c512.js";
|
|
5
|
+
import { w as C } from "./template-c30585f4.js";
|
|
6
|
+
import "./widget-base-4c2d6265.js";
|
|
7
|
+
import "./enum-type-287a50b6.js";
|
|
8
|
+
import "./emitter-2b9b9409.js";
|
|
9
|
+
import "./icon-2bb9fa65.js";
|
|
10
|
+
import "./baseImp-8c4be88e.js";
|
|
11
|
+
import "./uuid-39f0308a.js";
|
|
12
|
+
import "./enum-type-255ade69.js";
|
|
13
|
+
import "./dialog-5e196819.js";
|
|
14
|
+
import "element-plus";
|
|
15
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
+
import "./multirow-e1e1205c.js";
|
|
17
|
+
import "./index-f146282d.js";
|
|
18
|
+
import "./optionItem-0ac4a3ae.js";
|
|
19
|
+
import "./index-7fa591e3.js";
|
|
20
|
+
import "./slot-04a83a27.js";
|
|
21
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-bbe0cabe.js";
|
|
22
|
+
import "./index-ffbcbc43.js";
|
|
23
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
24
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-0a7f6bdd.js";
|
|
25
|
+
const E = m({ componentName: C.FieldWidget }), tt = /* @__PURE__ */ m({
|
|
26
|
+
...E,
|
|
27
|
+
__name: "cache-widget",
|
|
28
|
+
props: { ...h },
|
|
29
|
+
setup(l, { expose: s }) {
|
|
30
|
+
const n = l, { fieldEditor: d, fieldKey: a, fieldModel: e, attrs: f, events: c, exposed: u, fieldObj: _ } = x(n);
|
|
31
|
+
return s({ ...u }), (y, o) => (i(), w(B, p(y.$props, {
|
|
32
|
+
propOptions: { fieldObj: t(_) }
|
|
33
|
+
}), {
|
|
34
|
+
default: g(({ data: r }) => [
|
|
35
|
+
j((i(), v("input", p({
|
|
36
|
+
ref_key: "fieldEditor",
|
|
37
|
+
ref: d,
|
|
38
|
+
"onUpdate:modelValue": o[0] || (o[0] = (k) => F(e) ? e.value = k : null),
|
|
39
|
+
key: t(a)
|
|
40
|
+
}, t(f), O(t(c), !0), {
|
|
41
|
+
class: [r.injectClass, "hide-spin-button"],
|
|
42
|
+
style: r.injectStyle
|
|
43
|
+
}), null, 16)), [
|
|
44
|
+
[b, t(e)]
|
|
45
|
+
])
|
|
46
|
+
]),
|
|
47
|
+
_: 1
|
|
48
|
+
}, 16, ["propOptions"]));
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
export {
|
|
52
|
+
tt as default
|
|
53
|
+
};
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { defineComponent as S, computed as B, resolveComponent as s, openBlock as t, createBlock as a, 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-287a50b6.js";
|
|
3
|
+
import { I as J } from "./widget-base-4c2d6265.js";
|
|
4
|
+
import { D as u } from "./drag-wrapper-f9fb1533.js";
|
|
5
|
+
import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-bbe0cabe.js";
|
|
6
|
+
import { s as k, w as L } from "./template-c30585f4.js";
|
|
7
|
+
import { c as T } from "./share-field-451430de.js";
|
|
8
|
+
import { g as q } from "./slot-04a83a27.js";
|
|
9
|
+
import { S as w } from "./index-ffbcbc43.js";
|
|
10
|
+
import { _ as G } from "./_plugin-vue_export-helper-dad06003.js";
|
|
11
|
+
import "./baseImp-8c4be88e.js";
|
|
12
|
+
import "./uuid-39f0308a.js";
|
|
13
|
+
import "./enum-type-255ade69.js";
|
|
14
|
+
import "./icon-2bb9fa65.js";
|
|
15
|
+
import "./dialog-5e196819.js";
|
|
16
|
+
import "element-plus";
|
|
17
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
|
+
import "./index-f146282d.js";
|
|
19
|
+
import "./optionItem-0ac4a3ae.js";
|
|
20
|
+
import "./index-7fa591e3.js";
|
|
21
|
+
import "./multirow-e1e1205c.js";
|
|
22
|
+
import "./emitter-2b9b9409.js";
|
|
23
|
+
const M = S({ componentName: L.ContainerWidget }), Q = /* @__PURE__ */ S({
|
|
24
|
+
...M,
|
|
25
|
+
__name: "card-widget",
|
|
26
|
+
props: { ...J },
|
|
27
|
+
setup(b, { expose: v }) {
|
|
28
|
+
const C = b, { exposed: h, fieldKey: N, attrs: _, extendAttrs: o, events: F, slots: V, fieldObj: W, setFieldOptions: $ } = T(C), j = () => {
|
|
29
|
+
$("folded", !o.value.folded);
|
|
30
|
+
}, D = B(() => H(o.value.bodyStyle));
|
|
31
|
+
return v({ ...h }), (p, R) => {
|
|
32
|
+
const y = s("el-col"), I = s("el-row"), x = s("el-card");
|
|
33
|
+
return t(), a(K, i(p.$props, {
|
|
34
|
+
"prop-options": { class: [], fieldObj: r(W) }
|
|
35
|
+
}), {
|
|
36
|
+
default: m(({ data: g }) => [
|
|
37
|
+
(t(), a(x, i({ key: r(N) }, r(_), O(r(F)), {
|
|
38
|
+
"body-style": r(D),
|
|
39
|
+
class: [r(o).folded ? "folded" : "", ...g.injectClass],
|
|
40
|
+
style: g.injectStyle
|
|
41
|
+
}), z({ _: 2 }, [
|
|
42
|
+
P(r(q)(r(V), !0), (e) => ({
|
|
43
|
+
name: e.slotName,
|
|
44
|
+
fn: m(() => [
|
|
45
|
+
(e == null ? void 0 : e.slotName) === r(k).header ? (t(), a(I, { key: 0 }, {
|
|
46
|
+
default: m(() => [
|
|
47
|
+
l(y, {
|
|
48
|
+
span: r(o).showFold ? 23 : 24
|
|
49
|
+
}, {
|
|
50
|
+
default: m(() => [
|
|
51
|
+
r(o).slotable ? (t(), d(c, { key: 0 }, [
|
|
52
|
+
e != null && e.default ? (t(), a(f(e == null ? void 0 : e.default), {
|
|
53
|
+
key: 0,
|
|
54
|
+
item: r(o)
|
|
55
|
+
}, null, 8, ["item"])) : n("", !0)
|
|
56
|
+
], 64)) : (t(), d(c, { key: 1 }, [
|
|
57
|
+
A(E(r(_).label || r(o).label), 1)
|
|
58
|
+
], 64)),
|
|
59
|
+
r(o).slotable ? (t(), a(u, i({ key: 2 }, p.$props, { widget: e }), null, 16, ["widget"])) : n("", !0)
|
|
60
|
+
]),
|
|
61
|
+
_: 2
|
|
62
|
+
}, 1032, ["span"]),
|
|
63
|
+
l(y, {
|
|
64
|
+
span: r(o).showFold ? 1 : 0
|
|
65
|
+
}, {
|
|
66
|
+
default: m(() => [
|
|
67
|
+
r(o).showFold ? (t(), d("i", {
|
|
68
|
+
key: 0,
|
|
69
|
+
class: "float-right",
|
|
70
|
+
onClick: j
|
|
71
|
+
}, [
|
|
72
|
+
r(o).folded ? (t(), a(w, {
|
|
73
|
+
key: 1,
|
|
74
|
+
name: "@el-arrow-up"
|
|
75
|
+
})) : (t(), a(w, {
|
|
76
|
+
key: 0,
|
|
77
|
+
name: "@el-arrow-down"
|
|
78
|
+
}))
|
|
79
|
+
])) : n("", !0)
|
|
80
|
+
]),
|
|
81
|
+
_: 1
|
|
82
|
+
}, 8, ["span"])
|
|
83
|
+
]),
|
|
84
|
+
_: 2
|
|
85
|
+
}, 1024)) : (e == null ? void 0 : e.slotName) === r(k).default ? (t(), d(c, { key: 1 }, [
|
|
86
|
+
p.designState || !r(o).folded ? (t(), d(c, { key: 0 }, [
|
|
87
|
+
e != null && e.default ? (t(), a(f(e == null ? void 0 : e.default), { key: 0 })) : n("", !0),
|
|
88
|
+
l(u, i(p.$props, {
|
|
89
|
+
widget: e,
|
|
90
|
+
"drag-class": "dragSize1"
|
|
91
|
+
}), null, 16, ["widget"])
|
|
92
|
+
], 64)) : n("", !0)
|
|
93
|
+
], 64)) : (t(), d(c, { key: 2 }, [
|
|
94
|
+
e != null && e.default ? (t(), a(f(e == null ? void 0 : e.default), { key: 0 })) : n("", !0),
|
|
95
|
+
l(u, i(p.$props, {
|
|
96
|
+
widget: e,
|
|
97
|
+
"drag-class": "dragSize1"
|
|
98
|
+
}), null, 16, ["widget"])
|
|
99
|
+
], 64))
|
|
100
|
+
])
|
|
101
|
+
}))
|
|
102
|
+
]), 1040, ["body-style", "class", "style"]))
|
|
103
|
+
]),
|
|
104
|
+
_: 1
|
|
105
|
+
}, 16, ["prop-options"]);
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
const ke = /* @__PURE__ */ G(Q, [["__scopeId", "data-v-e8e0f73e"]]);
|
|
110
|
+
export {
|
|
111
|
+
ke as default
|
|
112
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { defineComponent as d, computed as h, ref as K, resolveComponent as m, openBlock as r, createBlock as n, mergeProps as u, unref as o, withCtx as l, toHandlers as R, createElementBlock as S, Fragment as $, renderList as D, resolveDynamicComponent as G } from "vue";
|
|
2
|
+
import { I as H } from "./field-base-5547436d.js";
|
|
3
|
+
import { _ as L } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-bbe0cabe.js";
|
|
4
|
+
import { c as N } from "./share-field-451430de.js";
|
|
5
|
+
import { w as q } from "./template-c30585f4.js";
|
|
6
|
+
import { K as z, b as A } from "./baseImp-8c4be88e.js";
|
|
7
|
+
import { u as J } from "./icon-2bb9fa65.js";
|
|
8
|
+
import { u as M } from "./propresult-8fdf23e2.js";
|
|
9
|
+
import "./widget-base-4c2d6265.js";
|
|
10
|
+
import "./uuid-39f0308a.js";
|
|
11
|
+
import "./enum-type-287a50b6.js";
|
|
12
|
+
import "./index-f146282d.js";
|
|
13
|
+
import "./enum-type-255ade69.js";
|
|
14
|
+
import "./optionItem-0ac4a3ae.js";
|
|
15
|
+
import "./index-7fa591e3.js";
|
|
16
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
+
import "./index-ffbcbc43.js";
|
|
18
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
|
+
import "./emitter-2b9b9409.js";
|
|
20
|
+
import "./multirow-e1e1205c.js";
|
|
21
|
+
import "./slot-04a83a27.js";
|
|
22
|
+
import "./dialog-5e196819.js";
|
|
23
|
+
import "element-plus";
|
|
24
|
+
const Q = d({ componentName: q.FieldWidget }), ye = /* @__PURE__ */ d({
|
|
25
|
+
...Q,
|
|
26
|
+
__name: "carousel-widget",
|
|
27
|
+
props: { ...H },
|
|
28
|
+
setup(f, { expose: _ }) {
|
|
29
|
+
const s = f, { exposed: g, fieldEditor: v, fieldKey: y, attrs: b, events: x, optionItems: F, activeOptionItemIndex: I, fieldObj: k } = N(s), p = h(() => a.value || I.value), a = K(), C = () => p.value, O = (t) => {
|
|
30
|
+
a.value = t;
|
|
31
|
+
}, { instance: w } = J(), P = z({ instance: w }), { getPropResultForm: V } = M(s), j = (t) => {
|
|
32
|
+
const { getWidgetOptionByPropValue: i } = A(s.widget, V());
|
|
33
|
+
return i(t);
|
|
34
|
+
};
|
|
35
|
+
return _({ ...g, getValue: C, setValue: O }), (t, i) => {
|
|
36
|
+
const B = m("el-carousel-item"), E = m("el-carousel");
|
|
37
|
+
return r(), n(L, u(t.$props, {
|
|
38
|
+
propOptions: { fieldObj: o(k) }
|
|
39
|
+
}), {
|
|
40
|
+
default: l(({ data: c }) => [
|
|
41
|
+
(r(), n(E, u({
|
|
42
|
+
ref_key: "fieldEditor",
|
|
43
|
+
ref: v,
|
|
44
|
+
key: o(y)
|
|
45
|
+
}, o(b), R(o(x)), {
|
|
46
|
+
class: c.injectClass,
|
|
47
|
+
style: c.injectStyle,
|
|
48
|
+
initialIndex: o(p)
|
|
49
|
+
}), {
|
|
50
|
+
default: l(() => [
|
|
51
|
+
(r(!0), S($, null, D(o(F), (e, W) => (r(), n(B, {
|
|
52
|
+
key: W,
|
|
53
|
+
name: e == null ? void 0 : e.name,
|
|
54
|
+
label: e == null ? void 0 : e.label
|
|
55
|
+
}, {
|
|
56
|
+
default: l(() => [
|
|
57
|
+
(r(), n(G(j(e == null ? void 0 : e.slotContent)), {
|
|
58
|
+
scope: e,
|
|
59
|
+
ctx: o(P)
|
|
60
|
+
}, null, 8, ["scope", "ctx"]))
|
|
61
|
+
]),
|
|
62
|
+
_: 2
|
|
63
|
+
}, 1032, ["name", "label"]))), 128))
|
|
64
|
+
]),
|
|
65
|
+
_: 2
|
|
66
|
+
}, 1040, ["class", "style", "initialIndex"]))
|
|
67
|
+
]),
|
|
68
|
+
_: 1
|
|
69
|
+
}, 16, ["propOptions"]);
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
export {
|
|
74
|
+
ye as default
|
|
75
|
+
};
|
|
@@ -0,0 +1,97 @@
|
|
|
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-287a50b6.js";
|
|
3
|
+
import { I as G } from "./field-base-5547436d.js";
|
|
4
|
+
import { c as J } from "./share-field-451430de.js";
|
|
5
|
+
import Q from "./form-item-wrapper-8039c512.js";
|
|
6
|
+
import { w as X } from "./template-c30585f4.js";
|
|
7
|
+
import "./widget-base-4c2d6265.js";
|
|
8
|
+
import "./emitter-2b9b9409.js";
|
|
9
|
+
import "./icon-2bb9fa65.js";
|
|
10
|
+
import "./baseImp-8c4be88e.js";
|
|
11
|
+
import "./uuid-39f0308a.js";
|
|
12
|
+
import "./enum-type-255ade69.js";
|
|
13
|
+
import "./dialog-5e196819.js";
|
|
14
|
+
import "element-plus";
|
|
15
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
+
import "./multirow-e1e1205c.js";
|
|
17
|
+
import "./index-f146282d.js";
|
|
18
|
+
import "./optionItem-0ac4a3ae.js";
|
|
19
|
+
import "./index-7fa591e3.js";
|
|
20
|
+
import "./slot-04a83a27.js";
|
|
21
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-bbe0cabe.js";
|
|
22
|
+
import "./index-ffbcbc43.js";
|
|
23
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
24
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-0a7f6bdd.js";
|
|
25
|
+
const Y = E({ componentName: X.FieldWidget }), Ce = /* @__PURE__ */ E({
|
|
26
|
+
...Y,
|
|
27
|
+
__name: "cascader-widget",
|
|
28
|
+
props: { ...G },
|
|
29
|
+
setup(F, { expose: I }) {
|
|
30
|
+
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(() => {
|
|
31
|
+
var t, l, i, a, _, P, k, C, z, b, O, S;
|
|
32
|
+
const r = {
|
|
33
|
+
lazy: (t = e.value) == null ? void 0 : t.lazy,
|
|
34
|
+
lazyLoad: (l = e == null ? void 0 : e.value) == null ? void 0 : l.lazyLoad
|
|
35
|
+
}, p = {
|
|
36
|
+
checkStrictly: (i = e.value) == null ? void 0 : i.checkStrictly,
|
|
37
|
+
multiple: (a = e.value) == null ? void 0 : a.multiple,
|
|
38
|
+
expandTrigger: (_ = e.value) == null ? void 0 : _.expandTrigger,
|
|
39
|
+
emitPath: (P = e.value) == null ? void 0 : P.emitPath,
|
|
40
|
+
hoverThreshold: (k = e.value) == null ? void 0 : k.hoverThreshold,
|
|
41
|
+
value: (C = e == null ? void 0 : e.value) == null ? void 0 : C.valueProp,
|
|
42
|
+
label: (z = e == null ? void 0 : e.value) == null ? void 0 : z.labelProp,
|
|
43
|
+
disabled: (b = e == null ? void 0 : e.value) == null ? void 0 : b.disabledProp,
|
|
44
|
+
children: (O = e == null ? void 0 : e.value) == null ? void 0 : O.childrenProp,
|
|
45
|
+
leaf: (S = e == null ? void 0 : e.value) == null ? void 0 : S.leafProp
|
|
46
|
+
};
|
|
47
|
+
return u.designState ? p : { ...p, ...r };
|
|
48
|
+
}), y = c(() => h("optionDefault")), g = c(() => h("empty"));
|
|
49
|
+
return I({ ...W, getCheckedNodes: () => {
|
|
50
|
+
var r;
|
|
51
|
+
return (r = f.value) == null ? void 0 : r.getCheckedNodes();
|
|
52
|
+
} }), (r, p) => {
|
|
53
|
+
const t = K("el-cascader");
|
|
54
|
+
return s(), m(Q, j(r.$props, {
|
|
55
|
+
propOptions: { fieldObj: o(L), rules: o(T), isError: o(B), errorMsg: o(D) }
|
|
56
|
+
}), {
|
|
57
|
+
default: d(({ data: l }) => [
|
|
58
|
+
(s(), m(t, j({
|
|
59
|
+
ref_key: "fieldEditor",
|
|
60
|
+
ref: f,
|
|
61
|
+
modelValue: o(n),
|
|
62
|
+
"onUpdate:modelValue": p[0] || (p[0] = (i) => R(n) ? n.value = i : null),
|
|
63
|
+
key: o(N)
|
|
64
|
+
}, o(v), U(o(V)), {
|
|
65
|
+
class: l.injectClass,
|
|
66
|
+
style: l.injectStyle,
|
|
67
|
+
options: o(M),
|
|
68
|
+
placeholder: o(v).placeholder || o(q).i18nt("render.hint.selectPlaceholder"),
|
|
69
|
+
props: o(H),
|
|
70
|
+
size: l.size
|
|
71
|
+
}), $({ _: 2 }, [
|
|
72
|
+
o(g) ? {
|
|
73
|
+
name: "empty",
|
|
74
|
+
fn: d(() => [
|
|
75
|
+
(s(), m(w(o(g))))
|
|
76
|
+
]),
|
|
77
|
+
key: "0"
|
|
78
|
+
} : void 0,
|
|
79
|
+
o(y) ? {
|
|
80
|
+
name: "default",
|
|
81
|
+
fn: d(({ node: i, data: a }) => [
|
|
82
|
+
(s(), m(w(o(y)), {
|
|
83
|
+
item: { node: i, data: a }
|
|
84
|
+
}, null, 8, ["item"]))
|
|
85
|
+
]),
|
|
86
|
+
key: "1"
|
|
87
|
+
} : void 0
|
|
88
|
+
]), 1040, ["modelValue", "class", "style", "options", "placeholder", "props", "size"]))
|
|
89
|
+
]),
|
|
90
|
+
_: 1
|
|
91
|
+
}, 16, ["propOptions"]);
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
export {
|
|
96
|
+
Ce as default
|
|
97
|
+
};
|