sun-form-v3 1.0.120 → 1.0.121
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{index-iEzHMtJ6.js → index-B4f_u0Pp.js} +1 -1
- package/dist/{index-CDkXcvXV.js → index-BJVHRSvg.js} +1 -1
- package/dist/{index-BDfi_Ccr.js → index-D5Ty838k.js} +1 -1
- package/dist/{index-Cot8YloM.js → index-DVRd4rza.js} +1 -1
- package/dist/{index-seZY97YB.js → index-DbabiZa-.js} +1 -1
- package/dist/{index-BjwE1aQQ.js → index-Dr4QV2B_.js} +10179 -10119
- package/dist/index-kzElMYkk.js +256 -0
- package/dist/{index-BGwr07rO.js → index-y-p3rIHa.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 +99 -99
- package/package.json +1 -1
- package/dist/index-j-KEXzR8.js +0 -183
package/package.json
CHANGED
package/dist/index-j-KEXzR8.js
DELETED
@@ -1,183 +0,0 @@
|
|
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
|
-
__name: "index",
|
4
|
-
props: {
|
5
|
-
designer: {
|
6
|
-
type: Object,
|
7
|
-
default: {}
|
8
|
-
},
|
9
|
-
widget: {
|
10
|
-
type: Object,
|
11
|
-
default: {}
|
12
|
-
}
|
13
|
-
},
|
14
|
-
setup(w) {
|
15
|
-
let l = w;
|
16
|
-
return (x, t) => {
|
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
|
-
return V(), g(b, null, [
|
19
|
-
e(p, { label: "组件尺寸" }, {
|
20
|
-
default: a(() => [
|
21
|
-
e(i, {
|
22
|
-
modelValue: o(l).widget.props.size,
|
23
|
-
"onUpdate:modelValue": t[0] || (t[0] = (d) => o(l).widget.props.size = d)
|
24
|
-
}, {
|
25
|
-
default: a(() => [
|
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(p, { label: "组件类型" }, {
|
45
|
-
default: a(() => [
|
46
|
-
e(i, {
|
47
|
-
modelValue: o(l).widget.props.type,
|
48
|
-
"onUpdate:modelValue": t[1] || (t[1] = (d) => o(l).widget.props.type = d)
|
49
|
-
}, {
|
50
|
-
default: a(() => [
|
51
|
-
e(u, {
|
52
|
-
label: "文字",
|
53
|
-
value: "text"
|
54
|
-
}),
|
55
|
-
e(u, {
|
56
|
-
label: "密码",
|
57
|
-
value: "password"
|
58
|
-
}),
|
59
|
-
e(u, {
|
60
|
-
label: "文本域",
|
61
|
-
value: "textarea"
|
62
|
-
}),
|
63
|
-
e(u, {
|
64
|
-
label: "数字",
|
65
|
-
value: "number"
|
66
|
-
})
|
67
|
-
]),
|
68
|
-
_: 1
|
69
|
-
}, 8, ["modelValue"])
|
70
|
-
]),
|
71
|
-
_: 1
|
72
|
-
}),
|
73
|
-
e(p, { label: "占位文字" }, {
|
74
|
-
default: a(() => [
|
75
|
-
e(m, {
|
76
|
-
modelValue: o(l).widget.props.placeholder,
|
77
|
-
"onUpdate:modelValue": t[2] || (t[2] = (d) => o(l).widget.props.placeholder = d),
|
78
|
-
placeholder: "填写占位文字"
|
79
|
-
}, null, 8, ["modelValue"])
|
80
|
-
]),
|
81
|
-
_: 1
|
82
|
-
}),
|
83
|
-
e(p, { label: "前置内容文字" }, {
|
84
|
-
default: a(() => [
|
85
|
-
e(m, {
|
86
|
-
modelValue: o(l).widget.props.prependText,
|
87
|
-
"onUpdate:modelValue": t[3] || (t[3] = (d) => o(l).widget.props.prependText = d),
|
88
|
-
placeholder: "填写末尾按钮文字"
|
89
|
-
}, null, 8, ["modelValue"])
|
90
|
-
]),
|
91
|
-
_: 1
|
92
|
-
}),
|
93
|
-
e(p, { label: "末尾按钮文字" }, {
|
94
|
-
default: a(() => [
|
95
|
-
e(m, {
|
96
|
-
modelValue: o(l).widget.props.appendText,
|
97
|
-
"onUpdate:modelValue": t[4] || (t[4] = (d) => o(l).widget.props.appendText = d),
|
98
|
-
placeholder: "填写末尾按钮文字"
|
99
|
-
}, null, 8, ["modelValue"])
|
100
|
-
]),
|
101
|
-
_: 1
|
102
|
-
}),
|
103
|
-
e(p, { label: "最大输入长度" }, {
|
104
|
-
default: a(() => [
|
105
|
-
e(s, {
|
106
|
-
class: "w-full",
|
107
|
-
placeholder: "填写最大输入长度",
|
108
|
-
modelValue: o(l).widget.props.maxlength,
|
109
|
-
"onUpdate:modelValue": t[5] || (t[5] = (d) => o(l).widget.props.maxlength = d),
|
110
|
-
min: 0,
|
111
|
-
"controls-position": "right"
|
112
|
-
}, null, 8, ["modelValue"])
|
113
|
-
]),
|
114
|
-
_: 1
|
115
|
-
}),
|
116
|
-
o(l).widget.props.type == "textarea" ? (V(), f(p, {
|
117
|
-
key: 0,
|
118
|
-
label: "行数"
|
119
|
-
}, {
|
120
|
-
default: a(() => [
|
121
|
-
e(s, {
|
122
|
-
class: "w-full",
|
123
|
-
placeholder: "填写行数",
|
124
|
-
modelValue: o(l).widget.props.rows,
|
125
|
-
"onUpdate:modelValue": t[6] || (t[6] = (d) => o(l).widget.props.rows = d),
|
126
|
-
min: 0,
|
127
|
-
"controls-position": "right"
|
128
|
-
}, null, 8, ["modelValue"])
|
129
|
-
]),
|
130
|
-
_: 1
|
131
|
-
})) : _("", !0),
|
132
|
-
e(p, { label: "是否去空格" }, {
|
133
|
-
default: a(() => [
|
134
|
-
e(r, {
|
135
|
-
modelValue: o(l).widget.props.isTrim,
|
136
|
-
"onUpdate:modelValue": t[7] || (t[7] = (d) => o(l).widget.props.isTrim = d)
|
137
|
-
}, null, 8, ["modelValue"])
|
138
|
-
]),
|
139
|
-
_: 1
|
140
|
-
}),
|
141
|
-
e(p, { label: "是否必填" }, {
|
142
|
-
default: a(() => [
|
143
|
-
e(r, {
|
144
|
-
modelValue: o(l).widget.props.required,
|
145
|
-
"onUpdate:modelValue": t[8] || (t[8] = (d) => o(l).widget.props.required = d)
|
146
|
-
}, null, 8, ["modelValue"])
|
147
|
-
]),
|
148
|
-
_: 1
|
149
|
-
}),
|
150
|
-
e(p, { label: "是否只读" }, {
|
151
|
-
default: a(() => [
|
152
|
-
e(r, {
|
153
|
-
modelValue: o(l).widget.props.readonly,
|
154
|
-
"onUpdate:modelValue": t[9] || (t[9] = (d) => o(l).widget.props.readonly = d)
|
155
|
-
}, null, 8, ["modelValue"])
|
156
|
-
]),
|
157
|
-
_: 1
|
158
|
-
}),
|
159
|
-
e(p, { label: "是否禁用" }, {
|
160
|
-
default: a(() => [
|
161
|
-
e(r, {
|
162
|
-
modelValue: o(l).widget.props.disabled,
|
163
|
-
"onUpdate:modelValue": t[10] || (t[10] = (d) => o(l).widget.props.disabled = d)
|
164
|
-
}, null, 8, ["modelValue"])
|
165
|
-
]),
|
166
|
-
_: 1
|
167
|
-
}),
|
168
|
-
e(p, { label: "显示限制字数" }, {
|
169
|
-
default: a(() => [
|
170
|
-
e(r, {
|
171
|
-
modelValue: o(l).widget.props.showLimit,
|
172
|
-
"onUpdate:modelValue": t[11] || (t[11] = (d) => o(l).widget.props.showLimit = d)
|
173
|
-
}, null, 8, ["modelValue"])
|
174
|
-
]),
|
175
|
-
_: 1
|
176
|
-
})
|
177
|
-
], 64);
|
178
|
-
};
|
179
|
-
}
|
180
|
-
});
|
181
|
-
export {
|
182
|
-
v as default
|
183
|
-
};
|