sun-form-v3 1.0.97 → 1.0.99
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{index-BJXeqFJS.js → index-B0UQdhgL.js} +1 -1
- package/dist/{index-XP0bVDnU.js → index-B0fldwhm.js} +35 -26
- package/dist/{index-DczZx0GR.js → index-BYYYhiEo.js} +1 -1
- package/dist/{index-BbWDcT04.js → index-BuGa4h8p.js} +35616 -33615
- package/dist/index-C78PiK5v.js +20 -0
- package/dist/index-D0pFRR74.js +116 -0
- package/dist/{index-Dfv9seN-.js → index-D1dRd5aJ.js} +261 -164
- package/dist/index-DQ3y00Pa.js +65 -0
- package/dist/index-Dag4zSq7.js +88 -0
- package/dist/{index-Dx-h4mWh.js → index-Dn8znu7x.js} +1 -1
- package/dist/{index-DeE43ND3.js → index-JOkFbK8f.js} +1 -1
- package/dist/{index-D8bMmfww.js → index-SBwD5MZI.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/sun-form-v3.es.js +1 -1
- package/dist/sun-form-v3.umd.js +166 -161
- package/package.json +2 -1
- package/dist/index-BVfC-7wG.js +0 -79
@@ -0,0 +1,65 @@
|
|
1
|
+
import { resolveComponent as r, openBlock as i, createElementBlock as m, Fragment as s, createVNode as o, withCtx as d, unref as t } from "vue";
|
2
|
+
const V = /* @__PURE__ */ Object.assign({ name: "config-transfer" }, {
|
3
|
+
__name: "index",
|
4
|
+
props: {
|
5
|
+
designer: {
|
6
|
+
type: Object,
|
7
|
+
default: {}
|
8
|
+
},
|
9
|
+
widget: {
|
10
|
+
type: Object,
|
11
|
+
default: {}
|
12
|
+
}
|
13
|
+
},
|
14
|
+
setup(u) {
|
15
|
+
let e = u;
|
16
|
+
return (g, l) => {
|
17
|
+
const n = r("el-input"), a = r("common-label-container");
|
18
|
+
return i(), m(s, null, [
|
19
|
+
o(a, { label: "左侧标题" }, {
|
20
|
+
default: d(() => [
|
21
|
+
o(n, {
|
22
|
+
modelValue: t(e).widget.props.leftTitle,
|
23
|
+
"onUpdate:modelValue": l[0] || (l[0] = (p) => t(e).widget.props.leftTitle = p),
|
24
|
+
placeholder: "填写备选项"
|
25
|
+
}, null, 8, ["modelValue"])
|
26
|
+
]),
|
27
|
+
_: 1
|
28
|
+
}),
|
29
|
+
o(a, { label: "右侧标题" }, {
|
30
|
+
default: d(() => [
|
31
|
+
o(n, {
|
32
|
+
modelValue: t(e).widget.props.rightTitle,
|
33
|
+
"onUpdate:modelValue": l[1] || (l[1] = (p) => t(e).widget.props.rightTitle = p),
|
34
|
+
placeholder: "填写已选项"
|
35
|
+
}, null, 8, ["modelValue"])
|
36
|
+
]),
|
37
|
+
_: 1
|
38
|
+
}),
|
39
|
+
o(a, { label: "数据源真实值" }, {
|
40
|
+
default: d(() => [
|
41
|
+
o(n, {
|
42
|
+
modelValue: t(e).widget.props.propsKey,
|
43
|
+
"onUpdate:modelValue": l[2] || (l[2] = (p) => t(e).widget.props.propsKey = p),
|
44
|
+
placeholder: "填写数据源真实值"
|
45
|
+
}, null, 8, ["modelValue"])
|
46
|
+
]),
|
47
|
+
_: 1
|
48
|
+
}),
|
49
|
+
o(a, { label: "数据源显示值" }, {
|
50
|
+
default: d(() => [
|
51
|
+
o(n, {
|
52
|
+
modelValue: t(e).widget.props.propsLabel,
|
53
|
+
"onUpdate:modelValue": l[3] || (l[3] = (p) => t(e).widget.props.propsLabel = p),
|
54
|
+
placeholder: "填写数据源显示值"
|
55
|
+
}, null, 8, ["modelValue"])
|
56
|
+
]),
|
57
|
+
_: 1
|
58
|
+
})
|
59
|
+
], 64);
|
60
|
+
};
|
61
|
+
}
|
62
|
+
});
|
63
|
+
export {
|
64
|
+
V as default
|
65
|
+
};
|
@@ -0,0 +1,88 @@
|
|
1
|
+
import { resolveComponent as p, openBlock as c, createElementBlock as _, Fragment as g, createVNode as e, withCtx as n, unref as o } from "vue";
|
2
|
+
const w = /* @__PURE__ */ Object.assign({ name: "config-switch" }, {
|
3
|
+
__name: "index",
|
4
|
+
props: {
|
5
|
+
designer: {
|
6
|
+
type: Object,
|
7
|
+
default: {}
|
8
|
+
},
|
9
|
+
widget: {
|
10
|
+
type: Object,
|
11
|
+
default: {}
|
12
|
+
}
|
13
|
+
},
|
14
|
+
setup(r) {
|
15
|
+
let l = r;
|
16
|
+
return (V, t) => {
|
17
|
+
const u = p("el-option"), m = p("el-select"), d = p("common-label-container"), i = p("el-input"), s = p("el-switch");
|
18
|
+
return c(), _(g, null, [
|
19
|
+
e(d, { label: "组件尺寸" }, {
|
20
|
+
default: n(() => [
|
21
|
+
e(m, {
|
22
|
+
modelValue: o(l).widget.props.size,
|
23
|
+
"onUpdate:modelValue": t[0] || (t[0] = (a) => o(l).widget.props.size = a)
|
24
|
+
}, {
|
25
|
+
default: n(() => [
|
26
|
+
e(u, {
|
27
|
+
label: "大尺寸",
|
28
|
+
value: "large"
|
29
|
+
}),
|
30
|
+
e(u, {
|
31
|
+
label: "默认",
|
32
|
+
value: "default"
|
33
|
+
}),
|
34
|
+
e(u, {
|
35
|
+
label: "小尺寸",
|
36
|
+
value: "small"
|
37
|
+
})
|
38
|
+
]),
|
39
|
+
_: 1
|
40
|
+
}, 8, ["modelValue"])
|
41
|
+
]),
|
42
|
+
_: 1
|
43
|
+
}),
|
44
|
+
e(d, { label: "打开文字" }, {
|
45
|
+
default: n(() => [
|
46
|
+
e(i, {
|
47
|
+
modelValue: o(l).widget.props.activeText,
|
48
|
+
"onUpdate:modelValue": t[1] || (t[1] = (a) => o(l).widget.props.activeText = a),
|
49
|
+
placeholder: "填写打开文字"
|
50
|
+
}, null, 8, ["modelValue"])
|
51
|
+
]),
|
52
|
+
_: 1
|
53
|
+
}),
|
54
|
+
e(d, { label: "关闭文字" }, {
|
55
|
+
default: n(() => [
|
56
|
+
e(i, {
|
57
|
+
modelValue: o(l).widget.props.inactiveText,
|
58
|
+
"onUpdate:modelValue": t[2] || (t[2] = (a) => o(l).widget.props.inactiveText = a),
|
59
|
+
placeholder: "填写关闭文字"
|
60
|
+
}, null, 8, ["modelValue"])
|
61
|
+
]),
|
62
|
+
_: 1
|
63
|
+
}),
|
64
|
+
e(d, { label: "是否禁用" }, {
|
65
|
+
default: n(() => [
|
66
|
+
e(s, {
|
67
|
+
modelValue: o(l).widget.props.disabled,
|
68
|
+
"onUpdate:modelValue": t[3] || (t[3] = (a) => o(l).widget.props.disabled = a)
|
69
|
+
}, null, 8, ["modelValue"])
|
70
|
+
]),
|
71
|
+
_: 1
|
72
|
+
}),
|
73
|
+
e(d, { label: "是否必填" }, {
|
74
|
+
default: n(() => [
|
75
|
+
e(s, {
|
76
|
+
modelValue: o(l).widget.props.required,
|
77
|
+
"onUpdate:modelValue": t[4] || (t[4] = (a) => o(l).widget.props.required = a)
|
78
|
+
}, null, 8, ["modelValue"])
|
79
|
+
]),
|
80
|
+
_: 1
|
81
|
+
})
|
82
|
+
], 64);
|
83
|
+
};
|
84
|
+
}
|
85
|
+
});
|
86
|
+
export {
|
87
|
+
w as default
|
88
|
+
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { computed as N, ref as y, resolveComponent as i, openBlock as C, createElementBlock as k, Fragment as O, createVNode as e, withCtx as l, createTextVNode as m, unref as d, isRef as j, createElementVNode as _, pushScopeId as I, popScopeId as J } from "vue";
|
2
|
-
import { _ as E } from "./index-
|
2
|
+
import { _ as E } from "./index-BuGa4h8p.js";
|
3
3
|
const H = (p) => (I("data-v-4c8b2df2"), p = p(), J(), p), B = /* @__PURE__ */ H(() => /* @__PURE__ */ _("span", null, "数据配置", -1)), T = { class: "h-full flex flex-col" }, D = { class: "flex-1 overflow-hidden" }, F = {
|
4
4
|
__name: "dataConfig",
|
5
5
|
props: {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { computed as j, ref as g, onMounted as $, resolveComponent as f, openBlock as _, createElementBlock as v, Fragment as x, createVNode as r, withCtx as o, createTextVNode as C, createElementVNode as u, renderList as B, unref as V, toDisplayString as N, nextTick as U, createBlock as D } from "vue";
|
2
|
-
import { e as E, i as M } from "./index-
|
2
|
+
import { e as E, i as M } from "./index-BuGa4h8p.js";
|
3
3
|
const R = /* @__PURE__ */ u("span", null, "图表选择", -1), S = { class: "flex-wrap flex" }, T = ["onClick"], z = { class: "inner cursor-pointer hover:shadow-md hover:shadow-blue-200 border w-full h-full p-1 flex flex-col overflow-hidden items-center rounded-md shadow-sm" }, F = { class: "lab border-t w-full text-center mt-1 font-bold" }, L = /* @__PURE__ */ Object.assign({ name: "chatChoose" }, {
|
4
4
|
__name: "chartChoose",
|
5
5
|
props: {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref as g, resolveComponent as u, openBlock as b, createElementBlock as V, Fragment as w, createVNode as e, withCtx as n, unref as a } from "vue";
|
2
|
-
import { c } from "./index-
|
2
|
+
import { c } from "./index-BuGa4h8p.js";
|
3
3
|
const k = /* @__PURE__ */ Object.assign({ name: "config-text" }, {
|
4
4
|
__name: "index",
|
5
5
|
props: {
|