sun-form-v3 1.0.59 → 1.0.60
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/abap-DfvySaIJ.js +1404 -0
- package/dist/apex-B__0irD3.js +332 -0
- package/dist/assets/css.worker-OK053IOu.js +84 -0
- package/dist/assets/editor.worker-D9iUZyMP.js +11 -0
- package/dist/assets/html.worker-CL40hqKM.js +458 -0
- package/dist/assets/json.worker-6f9bhSHY.js +42 -0
- package/dist/assets/ts.worker-B6g3wjaE.js +37021 -0
- package/dist/azcli-CDMGhRmx.js +74 -0
- package/dist/bat-0Mk8aqzx.js +106 -0
- package/dist/bicep-BBi_I06Z.js +108 -0
- package/dist/cameligo-D0G_Zm6X.js +180 -0
- package/dist/clojure-o2ZKLeMp.js +767 -0
- package/dist/coffee-DOQff5VC.js +238 -0
- package/dist/cpp-CQGJnWhD.js +395 -0
- package/dist/csharp-C1jLsHl8.js +332 -0
- package/dist/csp-C_ttMQaW.js +59 -0
- package/dist/css-BC202kVV.js +193 -0
- package/dist/cssMode-rHL6jOGC.js +1541 -0
- package/dist/cypher-DwtEH7Fi.js +269 -0
- package/dist/dart-D9XknsP2.js +287 -0
- package/dist/dockerfile-DgsNjqqa.js +136 -0
- package/dist/ecl-BAMCHBl6.js +462 -0
- package/dist/elixir-CegIttP8.js +575 -0
- package/dist/flow9-9608t7UV.js +148 -0
- package/dist/freemarker2-BZYTdwtv.js +995 -0
- package/dist/fsharp-CCtt9-1_.js +223 -0
- package/dist/go-CGUIPbct.js +224 -0
- package/dist/graphql-BNRIFFIn.js +157 -0
- package/dist/handlebars-gW69neyY.js +425 -0
- package/dist/hcl-C__KLIXe.js +189 -0
- package/dist/html-Dr1OrytT.js +314 -0
- package/dist/htmlMode-mperM5iD.js +1551 -0
- package/dist/index-DmlyKQU2.js +150 -0
- package/dist/index2-BfMceNiT.js +110271 -0
- package/dist/ini-CeKYn_zA.js +77 -0
- package/dist/java-Dm24deQl.js +238 -0
- package/dist/javascript-Bbw32J4I.js +76 -0
- package/dist/jsonMode-DeJ8fVyV.js +1957 -0
- package/dist/julia-BImNW7VE.js +517 -0
- package/dist/kotlin-BfE79GEb.js +259 -0
- package/dist/less-DglNOcaC.js +168 -0
- package/dist/lexon-BA0dRz9Q.js +163 -0
- package/dist/liquid-XuI8V67E.js +246 -0
- package/dist/lua-DMkWzJcm.js +168 -0
- package/dist/m3-sA-5shO8.js +216 -0
- package/dist/markdown-OYRB1igA.js +235 -0
- package/dist/mdx-DBomgcTS.js +171 -0
- package/dist/mips-rRzkJ_7G.js +204 -0
- package/dist/msdax-DoVJdUhd.js +381 -0
- package/dist/mysql-Ty44IHXo.js +884 -0
- package/dist/objective-c-VUfyhYrA.js +189 -0
- package/dist/pascal-DkASiYyw.js +257 -0
- package/dist/pascaligo-p-ELPlVO.js +170 -0
- package/dist/perl-Cjl1FxLZ.js +632 -0
- package/dist/pgsql-DjVenF7s.js +857 -0
- package/dist/php-CwvGzZOO.js +506 -0
- package/dist/pla-Br1iaBIV.js +143 -0
- package/dist/postiats-BaeP8zZY.js +913 -0
- package/dist/powerquery-CLCshuo8.js +896 -0
- package/dist/powershell-CZV50w5N.js +245 -0
- package/dist/protobuf-MV3XTewJ.js +426 -0
- package/dist/pug-DkDg4c4l.js +408 -0
- package/dist/python-DCfUl-X2.js +282 -0
- package/dist/qsharp-BAtiKA97.js +291 -0
- package/dist/r-8ocrd-h-.js +249 -0
- package/dist/razor-ounwL9iS.js +556 -0
- package/dist/redis-9sZiddxc.js +308 -0
- package/dist/redshift-DQfTOGC0.js +815 -0
- package/dist/restructuredtext-DXU-vkgr.js +180 -0
- package/dist/ruby-DotfqwMf.js +517 -0
- package/dist/rust-BIauJ5KN.js +349 -0
- package/dist/sb-CmWMvDEV.js +121 -0
- package/dist/scala-C81brEbk.js +376 -0
- package/dist/scheme-D0pcFz2x.js +114 -0
- package/dist/scss-BOdN2fGG.js +268 -0
- package/dist/shell-6E09eAkU.js +227 -0
- package/dist/solidity-CWStzA1K.js +1373 -0
- package/dist/sophia-76Sb6CWe.js +205 -0
- package/dist/sparql-BmZTkOWT.js +207 -0
- package/dist/sql-Cs9TBAW5.js +859 -0
- package/dist/st-B-rqE1Bu.js +422 -0
- package/dist/style.css +1 -1
- package/dist/sun-form-v3.es.js +2 -6117
- package/dist/sun-form-v3.umd.js +1881 -10
- package/dist/swift-Btsj6YxQ.js +318 -0
- package/dist/systemverilog-B3RHBRa2.js +582 -0
- package/dist/tcl-Dpj776pn.js +238 -0
- package/dist/tsMode-Du_thaOP.js +885 -0
- package/dist/twig-Bb9JmBsE.js +398 -0
- package/dist/typescript-Cza_KHgf.js +349 -0
- package/dist/typespec-CDWeg3SU.js +123 -0
- package/dist/vb-DEXnYwEI.js +378 -0
- package/dist/wgsl-D602c1lx.js +445 -0
- package/dist/xml-CI50xz1e.js +101 -0
- package/dist/yaml-V4qxGImt.js +212 -0
- package/package.json +1 -1
@@ -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
|
+
};
|