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
@@ -1,5 +1,5 @@
|
|
1
1
|
import { computed as j, ref as y, resolveComponent as i, openBlock as h, createElementBlock as k, Fragment as U, createVNode as e, withCtx as l, createTextVNode as V, unref as d, isRef as z, createElementVNode as m, pushScopeId as I, popScopeId as J } from "vue";
|
2
|
-
import { _ as E, c as H } from "./index-
|
2
|
+
import { _ as E, c as H } from "./index-BuGa4h8p.js";
|
3
3
|
const B = (r) => (I("data-v-657a5bea"), r = r(), J(), r), T = /* @__PURE__ */ B(() => /* @__PURE__ */ m("span", null, "数据配置", -1)), D = { class: "h-full flex flex-col" }, F = { class: "flex-1 overflow-hidden" }, M = /* @__PURE__ */ Object.assign({ name: "commonStyleConfig" }, {
|
4
4
|
__name: "dataConfig",
|
5
5
|
props: {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { resolveComponent as p, openBlock as w, createElementBlock as
|
2
|
-
const
|
1
|
+
import { resolveComponent as p, openBlock as w, createElementBlock as g, Fragment as V, createVNode as e, withCtx as d, unref as t } from "vue";
|
2
|
+
const _ = /* @__PURE__ */ Object.assign({ name: "config-rate" }, {
|
3
3
|
__name: "index",
|
4
4
|
props: {
|
5
5
|
designer: {
|
@@ -11,27 +11,27 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-rate" }, {
|
|
11
11
|
default: {}
|
12
12
|
}
|
13
13
|
},
|
14
|
-
setup(
|
15
|
-
let l =
|
16
|
-
return (
|
17
|
-
const
|
18
|
-
return w(),
|
19
|
-
e(
|
20
|
-
default:
|
21
|
-
e(
|
14
|
+
setup(s) {
|
15
|
+
let l = s;
|
16
|
+
return (b, o) => {
|
17
|
+
const r = p("el-option"), m = p("el-select"), n = p("common-label-container"), i = p("el-input-number"), u = p("el-switch");
|
18
|
+
return w(), g(V, null, [
|
19
|
+
e(n, { label: "组件尺寸" }, {
|
20
|
+
default: d(() => [
|
21
|
+
e(m, {
|
22
22
|
modelValue: t(l).widget.props.size,
|
23
23
|
"onUpdate:modelValue": o[0] || (o[0] = (a) => t(l).widget.props.size = a)
|
24
24
|
}, {
|
25
|
-
default:
|
26
|
-
e(
|
25
|
+
default: d(() => [
|
26
|
+
e(r, {
|
27
27
|
label: "大尺寸",
|
28
28
|
value: "large"
|
29
29
|
}),
|
30
|
-
e(
|
30
|
+
e(r, {
|
31
31
|
label: "默认",
|
32
32
|
value: "default"
|
33
33
|
}),
|
34
|
-
e(
|
34
|
+
e(r, {
|
35
35
|
label: "小尺寸",
|
36
36
|
value: "small"
|
37
37
|
})
|
@@ -41,8 +41,8 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-rate" }, {
|
|
41
41
|
]),
|
42
42
|
_: 1
|
43
43
|
}),
|
44
|
-
e(
|
45
|
-
default:
|
44
|
+
e(n, { label: "最大分值" }, {
|
45
|
+
default: d(() => [
|
46
46
|
e(i, {
|
47
47
|
class: "w-full",
|
48
48
|
placeholder: "填写最大输入长度",
|
@@ -54,37 +54,46 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-rate" }, {
|
|
54
54
|
]),
|
55
55
|
_: 1
|
56
56
|
}),
|
57
|
-
e(
|
58
|
-
default:
|
59
|
-
e(
|
57
|
+
e(n, { label: "是否禁用" }, {
|
58
|
+
default: d(() => [
|
59
|
+
e(u, {
|
60
60
|
modelValue: t(l).widget.props.disabled,
|
61
61
|
"onUpdate:modelValue": o[2] || (o[2] = (a) => t(l).widget.props.disabled = a)
|
62
62
|
}, null, 8, ["modelValue"])
|
63
63
|
]),
|
64
64
|
_: 1
|
65
65
|
}),
|
66
|
-
e(
|
67
|
-
default:
|
68
|
-
e(
|
66
|
+
e(n, { label: "是否可半选" }, {
|
67
|
+
default: d(() => [
|
68
|
+
e(u, {
|
69
69
|
modelValue: t(l).widget.props.allowHalf,
|
70
70
|
"onUpdate:modelValue": o[3] || (o[3] = (a) => t(l).widget.props.allowHalf = a)
|
71
71
|
}, null, 8, ["modelValue"])
|
72
72
|
]),
|
73
73
|
_: 1
|
74
74
|
}),
|
75
|
-
e(
|
76
|
-
default:
|
77
|
-
e(
|
75
|
+
e(n, { label: "是否显示分数" }, {
|
76
|
+
default: d(() => [
|
77
|
+
e(u, {
|
78
78
|
modelValue: t(l).widget.props.showScore,
|
79
79
|
"onUpdate:modelValue": o[4] || (o[4] = (a) => t(l).widget.props.showScore = a)
|
80
80
|
}, null, 8, ["modelValue"])
|
81
81
|
]),
|
82
82
|
_: 1
|
83
|
+
}),
|
84
|
+
e(n, { label: "是否必填" }, {
|
85
|
+
default: d(() => [
|
86
|
+
e(u, {
|
87
|
+
modelValue: t(l).widget.props.required,
|
88
|
+
"onUpdate:modelValue": o[5] || (o[5] = (a) => t(l).widget.props.required = a)
|
89
|
+
}, null, 8, ["modelValue"])
|
90
|
+
]),
|
91
|
+
_: 1
|
83
92
|
})
|
84
93
|
], 64);
|
85
94
|
};
|
86
95
|
}
|
87
96
|
});
|
88
97
|
export {
|
89
|
-
|
98
|
+
_ as default
|
90
99
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { computed as N, ref as h, resolveComponent as u, openBlock as C, createElementBlock as U, Fragment as k, createVNode as e, withCtx as l, createTextVNode as g, unref as d, isRef as j, createElementVNode as c, pushScopeId as I, popScopeId as J } from "vue";
|
2
|
-
import { _ as T } from "./index-
|
2
|
+
import { _ as T } from "./index-BuGa4h8p.js";
|
3
3
|
const E = (m) => (I("data-v-ede8dcab"), m = m(), J(), m), H = /* @__PURE__ */ E(() => /* @__PURE__ */ c("span", null, "数据配置", -1)), B = { class: "h-full flex flex-col" }, D = { class: "flex-1 overflow-hidden" }, F = {
|
4
4
|
__name: "dataConfig",
|
5
5
|
props: {
|