sun-form-v3 1.0.103 → 1.0.105
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{index-BJKJenOa.js → index-BIG4FGFF.js} +1 -1
- package/dist/{index-DUUT1Lpr.js → index-BstwILdL.js} +28174 -28044
- package/dist/{index-9iJ7hx7j.js → index-Cix0i3lE.js} +1 -1
- package/dist/{index-C-9fyBm3.js → index-DVz8EMiB.js} +1 -1
- package/dist/{index-DesJTlKq.js → index-DXuc7Gzm.js} +1 -1
- package/dist/{index-Bj3H16fJ.js → index-Db0ZhMv8.js} +1 -1
- package/dist/{index-Bk9FfOX6.js → index-fkB3ZIXm.js} +1 -1
- package/dist/{index-BYSQOsYK.js → index-j-KEXzR8.js} +40 -36
- package/dist/{index-D0pFRR74.js → index-vN8Pef9j.js} +23 -14
- package/dist/sun-form-v3.es.js +1 -1
- package/dist/sun-form-v3.umd.js +145 -137
- package/package.json +2 -1
@@ -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-BstwILdL.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
1
|
import { ref as C, resolveComponent as r, openBlock as H, createElementBlock as T, Fragment as R, createVNode as e, unref as l, withCtx as a, createTextVNode as b, isRef as I, createElementVNode as f, toDisplayString as c, createCommentVNode as F, pushScopeId as $, popScopeId as A } from "vue";
|
2
|
-
import { _ as J } from "./index-
|
2
|
+
import { _ as J } from "./index-BstwILdL.js";
|
3
3
|
const j = (v) => ($("data-v-75dc2686"), v = v(), A(), v), Q = /* @__PURE__ */ j(() => /* @__PURE__ */ f("span", null, "复杂表头配置", -1)), K = {
|
4
4
|
key: 0,
|
5
5
|
class: "flex h-full flex-col"
|
@@ -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-BstwILdL.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 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-BstwILdL.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: {
|
@@ -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-BstwILdL.js";
|
3
3
|
const k = /* @__PURE__ */ Object.assign({ name: "config-text" }, {
|
4
4
|
__name: "index",
|
5
5
|
props: {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { resolveComponent as
|
2
|
-
const
|
1
|
+
import { resolveComponent as n, openBlock as V, createElementBlock as g, Fragment as b, createVNode as e, withCtx as a, unref as o, createBlock as f, createCommentVNode as _ } from "vue";
|
2
|
+
const v = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
|
3
3
|
__name: "index",
|
4
4
|
props: {
|
5
5
|
designer: {
|
@@ -14,24 +14,24 @@ const y = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
|
|
14
14
|
setup(w) {
|
15
15
|
let l = w;
|
16
16
|
return (x, t) => {
|
17
|
-
const
|
17
|
+
const u = n("el-option"), i = n("el-select"), p = n("common-label-container"), m = n("el-input"), s = n("el-input-number"), r = n("el-switch");
|
18
18
|
return V(), g(b, null, [
|
19
|
-
e(
|
20
|
-
default:
|
19
|
+
e(p, { label: "组件尺寸" }, {
|
20
|
+
default: a(() => [
|
21
21
|
e(i, {
|
22
22
|
modelValue: o(l).widget.props.size,
|
23
23
|
"onUpdate:modelValue": t[0] || (t[0] = (d) => o(l).widget.props.size = d)
|
24
24
|
}, {
|
25
|
-
default:
|
26
|
-
e(
|
25
|
+
default: a(() => [
|
26
|
+
e(u, {
|
27
27
|
label: "大尺寸",
|
28
28
|
value: "large"
|
29
29
|
}),
|
30
|
-
e(
|
30
|
+
e(u, {
|
31
31
|
label: "默认",
|
32
32
|
value: "default"
|
33
33
|
}),
|
34
|
-
e(
|
34
|
+
e(u, {
|
35
35
|
label: "小尺寸",
|
36
36
|
value: "small"
|
37
37
|
})
|
@@ -41,24 +41,28 @@ const y = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
|
|
41
41
|
]),
|
42
42
|
_: 1
|
43
43
|
}),
|
44
|
-
e(
|
45
|
-
default:
|
44
|
+
e(p, { label: "组件类型" }, {
|
45
|
+
default: a(() => [
|
46
46
|
e(i, {
|
47
47
|
modelValue: o(l).widget.props.type,
|
48
48
|
"onUpdate:modelValue": t[1] || (t[1] = (d) => o(l).widget.props.type = d)
|
49
49
|
}, {
|
50
|
-
default:
|
51
|
-
e(
|
50
|
+
default: a(() => [
|
51
|
+
e(u, {
|
52
52
|
label: "文字",
|
53
53
|
value: "text"
|
54
54
|
}),
|
55
|
-
e(
|
55
|
+
e(u, {
|
56
56
|
label: "密码",
|
57
57
|
value: "password"
|
58
58
|
}),
|
59
|
-
e(
|
59
|
+
e(u, {
|
60
60
|
label: "文本域",
|
61
61
|
value: "textarea"
|
62
|
+
}),
|
63
|
+
e(u, {
|
64
|
+
label: "数字",
|
65
|
+
value: "number"
|
62
66
|
})
|
63
67
|
]),
|
64
68
|
_: 1
|
@@ -66,8 +70,8 @@ const y = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
|
|
66
70
|
]),
|
67
71
|
_: 1
|
68
72
|
}),
|
69
|
-
e(
|
70
|
-
default:
|
73
|
+
e(p, { label: "占位文字" }, {
|
74
|
+
default: a(() => [
|
71
75
|
e(m, {
|
72
76
|
modelValue: o(l).widget.props.placeholder,
|
73
77
|
"onUpdate:modelValue": t[2] || (t[2] = (d) => o(l).widget.props.placeholder = d),
|
@@ -76,8 +80,8 @@ const y = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
|
|
76
80
|
]),
|
77
81
|
_: 1
|
78
82
|
}),
|
79
|
-
e(
|
80
|
-
default:
|
83
|
+
e(p, { label: "前置内容文字" }, {
|
84
|
+
default: a(() => [
|
81
85
|
e(m, {
|
82
86
|
modelValue: o(l).widget.props.prependText,
|
83
87
|
"onUpdate:modelValue": t[3] || (t[3] = (d) => o(l).widget.props.prependText = d),
|
@@ -86,8 +90,8 @@ const y = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
|
|
86
90
|
]),
|
87
91
|
_: 1
|
88
92
|
}),
|
89
|
-
e(
|
90
|
-
default:
|
93
|
+
e(p, { label: "末尾按钮文字" }, {
|
94
|
+
default: a(() => [
|
91
95
|
e(m, {
|
92
96
|
modelValue: o(l).widget.props.appendText,
|
93
97
|
"onUpdate:modelValue": t[4] || (t[4] = (d) => o(l).widget.props.appendText = d),
|
@@ -96,8 +100,8 @@ const y = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
|
|
96
100
|
]),
|
97
101
|
_: 1
|
98
102
|
}),
|
99
|
-
e(
|
100
|
-
default:
|
103
|
+
e(p, { label: "最大输入长度" }, {
|
104
|
+
default: a(() => [
|
101
105
|
e(s, {
|
102
106
|
class: "w-full",
|
103
107
|
placeholder: "填写最大输入长度",
|
@@ -109,11 +113,11 @@ const y = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
|
|
109
113
|
]),
|
110
114
|
_: 1
|
111
115
|
}),
|
112
|
-
o(l).widget.props.type == "textarea" ? (V(), f(
|
116
|
+
o(l).widget.props.type == "textarea" ? (V(), f(p, {
|
113
117
|
key: 0,
|
114
118
|
label: "行数"
|
115
119
|
}, {
|
116
|
-
default:
|
120
|
+
default: a(() => [
|
117
121
|
e(s, {
|
118
122
|
class: "w-full",
|
119
123
|
placeholder: "填写行数",
|
@@ -125,8 +129,8 @@ const y = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
|
|
125
129
|
]),
|
126
130
|
_: 1
|
127
131
|
})) : _("", !0),
|
128
|
-
e(
|
129
|
-
default:
|
132
|
+
e(p, { label: "是否去空格" }, {
|
133
|
+
default: a(() => [
|
130
134
|
e(r, {
|
131
135
|
modelValue: o(l).widget.props.isTrim,
|
132
136
|
"onUpdate:modelValue": t[7] || (t[7] = (d) => o(l).widget.props.isTrim = d)
|
@@ -134,8 +138,8 @@ const y = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
|
|
134
138
|
]),
|
135
139
|
_: 1
|
136
140
|
}),
|
137
|
-
e(
|
138
|
-
default:
|
141
|
+
e(p, { label: "是否必填" }, {
|
142
|
+
default: a(() => [
|
139
143
|
e(r, {
|
140
144
|
modelValue: o(l).widget.props.required,
|
141
145
|
"onUpdate:modelValue": t[8] || (t[8] = (d) => o(l).widget.props.required = d)
|
@@ -143,8 +147,8 @@ const y = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
|
|
143
147
|
]),
|
144
148
|
_: 1
|
145
149
|
}),
|
146
|
-
e(
|
147
|
-
default:
|
150
|
+
e(p, { label: "是否只读" }, {
|
151
|
+
default: a(() => [
|
148
152
|
e(r, {
|
149
153
|
modelValue: o(l).widget.props.readonly,
|
150
154
|
"onUpdate:modelValue": t[9] || (t[9] = (d) => o(l).widget.props.readonly = d)
|
@@ -152,8 +156,8 @@ const y = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
|
|
152
156
|
]),
|
153
157
|
_: 1
|
154
158
|
}),
|
155
|
-
e(
|
156
|
-
default:
|
159
|
+
e(p, { label: "是否禁用" }, {
|
160
|
+
default: a(() => [
|
157
161
|
e(r, {
|
158
162
|
modelValue: o(l).widget.props.disabled,
|
159
163
|
"onUpdate:modelValue": t[10] || (t[10] = (d) => o(l).widget.props.disabled = d)
|
@@ -161,8 +165,8 @@ const y = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
|
|
161
165
|
]),
|
162
166
|
_: 1
|
163
167
|
}),
|
164
|
-
e(
|
165
|
-
default:
|
168
|
+
e(p, { label: "显示限制字数" }, {
|
169
|
+
default: a(() => [
|
166
170
|
e(r, {
|
167
171
|
modelValue: o(l).widget.props.showLimit,
|
168
172
|
"onUpdate:modelValue": t[11] || (t[11] = (d) => o(l).widget.props.showLimit = d)
|
@@ -175,5 +179,5 @@ const y = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
|
|
175
179
|
}
|
176
180
|
});
|
177
181
|
export {
|
178
|
-
|
182
|
+
v as default
|
179
183
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { resolveComponent as
|
1
|
+
import { resolveComponent as u, openBlock as V, createElementBlock as g, Fragment as w, createVNode as e, withCtx as p, unref as t } from "vue";
|
2
2
|
const _ = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
|
3
3
|
__name: "index",
|
4
4
|
props: {
|
@@ -13,9 +13,9 @@ const _ = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
|
|
13
13
|
},
|
14
14
|
setup(m) {
|
15
15
|
let l = m;
|
16
|
-
return (
|
17
|
-
const
|
18
|
-
return V(),
|
16
|
+
return (b, o) => {
|
17
|
+
const s = u("el-option"), i = u("el-select"), a = u("common-label-container"), r = u("el-input"), n = u("el-switch");
|
18
|
+
return V(), g(w, null, [
|
19
19
|
e(a, { label: "组件尺寸" }, {
|
20
20
|
default: p(() => [
|
21
21
|
e(i, {
|
@@ -23,15 +23,15 @@ const _ = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
|
|
23
23
|
"onUpdate:modelValue": o[0] || (o[0] = (d) => t(l).widget.props.size = d)
|
24
24
|
}, {
|
25
25
|
default: p(() => [
|
26
|
-
e(
|
26
|
+
e(s, {
|
27
27
|
label: "大尺寸",
|
28
28
|
value: "large"
|
29
29
|
}),
|
30
|
-
e(
|
30
|
+
e(s, {
|
31
31
|
label: "默认",
|
32
32
|
value: "default"
|
33
33
|
}),
|
34
|
-
e(
|
34
|
+
e(s, {
|
35
35
|
label: "小尺寸",
|
36
36
|
value: "small"
|
37
37
|
})
|
@@ -43,7 +43,7 @@ const _ = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
|
|
43
43
|
}),
|
44
44
|
e(a, { label: "数据源真实值" }, {
|
45
45
|
default: p(() => [
|
46
|
-
e(
|
46
|
+
e(r, {
|
47
47
|
modelValue: t(l).widget.props.propsKey,
|
48
48
|
"onUpdate:modelValue": o[1] || (o[1] = (d) => t(l).widget.props.propsKey = d),
|
49
49
|
placeholder: "填写数据源真实值"
|
@@ -53,7 +53,7 @@ const _ = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
|
|
53
53
|
}),
|
54
54
|
e(a, { label: "数据源显示值" }, {
|
55
55
|
default: p(() => [
|
56
|
-
e(
|
56
|
+
e(r, {
|
57
57
|
modelValue: t(l).widget.props.propsLabel,
|
58
58
|
"onUpdate:modelValue": o[2] || (o[2] = (d) => t(l).widget.props.propsLabel = d),
|
59
59
|
placeholder: "填写数据源显示值"
|
@@ -63,7 +63,7 @@ const _ = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
|
|
63
63
|
}),
|
64
64
|
e(a, { label: "数据源子级" }, {
|
65
65
|
default: p(() => [
|
66
|
-
e(
|
66
|
+
e(r, {
|
67
67
|
modelValue: t(l).widget.props.propsChildren,
|
68
68
|
"onUpdate:modelValue": o[3] || (o[3] = (d) => t(l).widget.props.propsChildren = d),
|
69
69
|
placeholder: "填写数据源子级"
|
@@ -73,7 +73,7 @@ const _ = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
|
|
73
73
|
}),
|
74
74
|
e(a, { label: "是否必填" }, {
|
75
75
|
default: p(() => [
|
76
|
-
e(
|
76
|
+
e(n, {
|
77
77
|
modelValue: t(l).widget.props.required,
|
78
78
|
"onUpdate:modelValue": o[4] || (o[4] = (d) => t(l).widget.props.required = d)
|
79
79
|
}, null, 8, ["modelValue"])
|
@@ -82,7 +82,7 @@ const _ = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
|
|
82
82
|
}),
|
83
83
|
e(a, { label: "是否禁用" }, {
|
84
84
|
default: p(() => [
|
85
|
-
e(
|
85
|
+
e(n, {
|
86
86
|
modelValue: t(l).widget.props.disabled,
|
87
87
|
"onUpdate:modelValue": o[5] || (o[5] = (d) => t(l).widget.props.disabled = d)
|
88
88
|
}, null, 8, ["modelValue"])
|
@@ -91,7 +91,7 @@ const _ = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
|
|
91
91
|
}),
|
92
92
|
e(a, { label: "显示全部级" }, {
|
93
93
|
default: p(() => [
|
94
|
-
e(
|
94
|
+
e(n, {
|
95
95
|
modelValue: t(l).widget.props.showAllLevels,
|
96
96
|
"onUpdate:modelValue": o[6] || (o[6] = (d) => t(l).widget.props.showAllLevels = d)
|
97
97
|
}, null, 8, ["modelValue"])
|
@@ -100,12 +100,21 @@ const _ = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
|
|
100
100
|
}),
|
101
101
|
e(a, { label: "是否可清除" }, {
|
102
102
|
default: p(() => [
|
103
|
-
e(
|
103
|
+
e(n, {
|
104
104
|
modelValue: t(l).widget.props.clearable,
|
105
105
|
"onUpdate:modelValue": o[7] || (o[7] = (d) => t(l).widget.props.clearable = d)
|
106
106
|
}, null, 8, ["modelValue"])
|
107
107
|
]),
|
108
108
|
_: 1
|
109
|
+
}),
|
110
|
+
e(a, { label: "是否只传末级" }, {
|
111
|
+
default: p(() => [
|
112
|
+
e(n, {
|
113
|
+
modelValue: t(l).widget.props.postLastLevel,
|
114
|
+
"onUpdate:modelValue": o[8] || (o[8] = (d) => t(l).widget.props.postLastLevel = d)
|
115
|
+
}, null, 8, ["modelValue"])
|
116
|
+
]),
|
117
|
+
_: 1
|
109
118
|
})
|
110
119
|
], 64);
|
111
120
|
};
|
package/dist/sun-form-v3.es.js
CHANGED