sun-form-v3 1.0.61 → 1.0.63
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{cssMode-DWwV46Yy.js → cssMode-N8KjBr9j.js} +1 -1
- package/dist/{freemarker2-BVlB-x4G.js → freemarker2-fFzWj11o.js} +1 -1
- package/dist/{handlebars-pCi8UOTm.js → handlebars-CBnXNE_R.js} +1 -1
- package/dist/{html-DWvfqtKD.js → html-B4pPsYcI.js} +1 -1
- package/dist/{htmlMode-Bfa2Bher.js → htmlMode-D1u4PQlj.js} +1 -1
- package/dist/index-DmlyKQU2.js +150 -0
- package/dist/{index2-B3cLsOke.js → index2-G10m0fqf.js} +115033 -115934
- package/dist/{javascript-oWiWgnB8.js → javascript-CiOULkAm.js} +1 -1
- package/dist/{jsonMode-JNqAkiDp.js → jsonMode-H23200TY.js} +1 -1
- package/dist/{liquid-uVCDNMuK.js → liquid-klq1uW9z.js} +1 -1
- package/dist/{mdx-CWEd_lWX.js → mdx-DGoFC4Le.js} +1 -1
- package/dist/{python-iUJZHr3n.js → python-Cf7rNwq_.js} +1 -1
- package/dist/{razor-DPayOemd.js → razor-h2t03jNC.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 +380 -380
- package/dist/{tsMode-CB3QHkAX.js → tsMode-CoBdAvfC.js} +1 -1
- package/dist/{typescript-ilTjwbbS.js → typescript-pzoRX7oq.js} +1 -1
- package/dist/{xml-CDRrzAeF.js → xml-Ba1yYfKr.js} +1 -1
- package/dist/{yaml-DFEpUU2s.js → yaml-BkOB4QAZ.js} +1 -1
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { m as Le } from "./index2-
|
1
|
+
import { m as Le } from "./index2-G10m0fqf.js";
|
2
2
|
/*!-----------------------------------------------------------------------------
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
4
4
|
* Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { m as f } from "./index2-
|
1
|
+
import { m as f } from "./index2-G10m0fqf.js";
|
2
2
|
/*!-----------------------------------------------------------------------------
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
4
4
|
* Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { m as l } from "./index2-
|
1
|
+
import { m as l } from "./index2-G10m0fqf.js";
|
2
2
|
/*!-----------------------------------------------------------------------------
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
4
4
|
* Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { m as s } from "./index2-
|
1
|
+
import { m as s } from "./index2-G10m0fqf.js";
|
2
2
|
/*!-----------------------------------------------------------------------------
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
4
4
|
* Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { m as $e } from "./index2-
|
1
|
+
import { m as $e } from "./index2-G10m0fqf.js";
|
2
2
|
/*!-----------------------------------------------------------------------------
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
4
4
|
* Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)
|
@@ -0,0 +1,150 @@
|
|
1
|
+
import { resolveComponent as n, openBlock as g, createElementBlock as w, Fragment as b, createVNode as e, withCtx as p, unref as t } from "vue";
|
2
|
+
const x = /* @__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(s) {
|
15
|
+
let l = s;
|
16
|
+
return (f, o) => {
|
17
|
+
const u = n("el-option"), i = n("el-select"), a = n("common-label-container"), m = n("el-input"), V = n("el-input-number"), r = n("el-switch");
|
18
|
+
return g(), w(b, null, [
|
19
|
+
e(a, { label: "组件尺寸" }, {
|
20
|
+
default: p(() => [
|
21
|
+
e(i, {
|
22
|
+
modelValue: t(l).widget.props.size,
|
23
|
+
"onUpdate:modelValue": o[0] || (o[0] = (d) => t(l).widget.props.size = d)
|
24
|
+
}, {
|
25
|
+
default: p(() => [
|
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(a, { label: "组件类型" }, {
|
45
|
+
default: p(() => [
|
46
|
+
e(i, {
|
47
|
+
modelValue: t(l).widget.props.type,
|
48
|
+
"onUpdate:modelValue": o[1] || (o[1] = (d) => t(l).widget.props.type = d)
|
49
|
+
}, {
|
50
|
+
default: p(() => [
|
51
|
+
e(u, {
|
52
|
+
label: "文字",
|
53
|
+
value: "text"
|
54
|
+
}),
|
55
|
+
e(u, {
|
56
|
+
label: "密码",
|
57
|
+
value: "password"
|
58
|
+
})
|
59
|
+
]),
|
60
|
+
_: 1
|
61
|
+
}, 8, ["modelValue"])
|
62
|
+
]),
|
63
|
+
_: 1
|
64
|
+
}),
|
65
|
+
e(a, { label: "占位文字" }, {
|
66
|
+
default: p(() => [
|
67
|
+
e(m, {
|
68
|
+
modelValue: t(l).widget.props.placeholder,
|
69
|
+
"onUpdate:modelValue": o[2] || (o[2] = (d) => t(l).widget.props.placeholder = d),
|
70
|
+
placeholder: "填写占位文字"
|
71
|
+
}, null, 8, ["modelValue"])
|
72
|
+
]),
|
73
|
+
_: 1
|
74
|
+
}),
|
75
|
+
e(a, { label: "前置内容文字" }, {
|
76
|
+
default: p(() => [
|
77
|
+
e(m, {
|
78
|
+
modelValue: t(l).widget.props.prependText,
|
79
|
+
"onUpdate:modelValue": o[3] || (o[3] = (d) => t(l).widget.props.prependText = d),
|
80
|
+
placeholder: "填写末尾按钮文字"
|
81
|
+
}, null, 8, ["modelValue"])
|
82
|
+
]),
|
83
|
+
_: 1
|
84
|
+
}),
|
85
|
+
e(a, { label: "末尾按钮文字" }, {
|
86
|
+
default: p(() => [
|
87
|
+
e(m, {
|
88
|
+
modelValue: t(l).widget.props.appendText,
|
89
|
+
"onUpdate:modelValue": o[4] || (o[4] = (d) => t(l).widget.props.appendText = d),
|
90
|
+
placeholder: "填写末尾按钮文字"
|
91
|
+
}, null, 8, ["modelValue"])
|
92
|
+
]),
|
93
|
+
_: 1
|
94
|
+
}),
|
95
|
+
e(a, { label: "最大输入长度" }, {
|
96
|
+
default: p(() => [
|
97
|
+
e(V, {
|
98
|
+
class: "w-full",
|
99
|
+
placeholder: "填写最大输入长度",
|
100
|
+
modelValue: t(l).widget.props.maxlength,
|
101
|
+
"onUpdate:modelValue": o[5] || (o[5] = (d) => t(l).widget.props.maxlength = d),
|
102
|
+
min: 0,
|
103
|
+
"controls-position": "right"
|
104
|
+
}, null, 8, ["modelValue"])
|
105
|
+
]),
|
106
|
+
_: 1
|
107
|
+
}),
|
108
|
+
e(a, { label: "是否去空格" }, {
|
109
|
+
default: p(() => [
|
110
|
+
e(r, {
|
111
|
+
modelValue: t(l).widget.props.isTrim,
|
112
|
+
"onUpdate:modelValue": o[6] || (o[6] = (d) => t(l).widget.props.isTrim = d)
|
113
|
+
}, null, 8, ["modelValue"])
|
114
|
+
]),
|
115
|
+
_: 1
|
116
|
+
}),
|
117
|
+
e(a, { label: "是否必填" }, {
|
118
|
+
default: p(() => [
|
119
|
+
e(r, {
|
120
|
+
modelValue: t(l).widget.props.required,
|
121
|
+
"onUpdate:modelValue": o[7] || (o[7] = (d) => t(l).widget.props.required = d)
|
122
|
+
}, null, 8, ["modelValue"])
|
123
|
+
]),
|
124
|
+
_: 1
|
125
|
+
}),
|
126
|
+
e(a, { label: "是否只读" }, {
|
127
|
+
default: p(() => [
|
128
|
+
e(r, {
|
129
|
+
modelValue: t(l).widget.props.readonly,
|
130
|
+
"onUpdate:modelValue": o[8] || (o[8] = (d) => t(l).widget.props.readonly = d)
|
131
|
+
}, null, 8, ["modelValue"])
|
132
|
+
]),
|
133
|
+
_: 1
|
134
|
+
}),
|
135
|
+
e(a, { label: "是否禁用" }, {
|
136
|
+
default: p(() => [
|
137
|
+
e(r, {
|
138
|
+
modelValue: t(l).widget.props.disabled,
|
139
|
+
"onUpdate:modelValue": o[9] || (o[9] = (d) => t(l).widget.props.disabled = d)
|
140
|
+
}, null, 8, ["modelValue"])
|
141
|
+
]),
|
142
|
+
_: 1
|
143
|
+
})
|
144
|
+
], 64);
|
145
|
+
};
|
146
|
+
}
|
147
|
+
});
|
148
|
+
export {
|
149
|
+
x as default
|
150
|
+
};
|