sun-form-v3 1.0.104 → 1.0.106
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{index-CKPZyWM6.js → index--pY_ZDNw.js} +1 -1
- package/dist/{index-BKkjZBwB.js → index-2SCP8Vtm.js} +1 -1
- package/dist/{index-CPCPClgh.js → index-B1s0J4ay.js} +1 -1
- package/dist/{index-GUroS4-X.js → index-BTGdGVc5.js} +1 -1
- package/dist/{index-DX_xKbfY.js → index-BV4CqN1T.js} +13863 -13873
- package/dist/{index-DO0mZHN0.js → index-CPxCwGIW.js} +1 -1
- package/dist/{index-D0fk1LnV.js → index-X8_KRfiC.js} +1 -1
- package/dist/{index-BYSQOsYK.js → index-j-KEXzR8.js} +40 -36
- package/dist/style.css +1 -1
- package/dist/sun-form-v3.es.js +1 -1
- package/dist/sun-form-v3.umd.js +110 -110
- package/package.json +1 -1
@@ -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-BV4CqN1T.js";
|
3
3
|
const k = /* @__PURE__ */ Object.assign({ name: "config-text" }, {
|
4
4
|
__name: "index",
|
5
5
|
props: {
|
@@ -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-BV4CqN1T.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
|
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
|
};
|