sun-form-v3 1.0.54 → 1.0.56
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/style.css +1 -1
- package/dist/sun-form-v3.es.js +176 -2
- package/dist/sun-form-v3.umd.js +1 -1909
- package/package.json +1 -1
- package/dist/abap-DfvySaIJ.js +0 -1404
- package/dist/apex-B__0irD3.js +0 -332
- package/dist/assets/css.worker-OK053IOu.js +0 -84
- package/dist/assets/editor.worker-D9iUZyMP.js +0 -11
- package/dist/assets/html.worker-CL40hqKM.js +0 -458
- package/dist/assets/json.worker-6f9bhSHY.js +0 -42
- package/dist/assets/ts.worker-B6g3wjaE.js +0 -37021
- package/dist/azcli-CDMGhRmx.js +0 -74
- package/dist/bat-0Mk8aqzx.js +0 -106
- package/dist/bicep-BBi_I06Z.js +0 -108
- package/dist/cameligo-D0G_Zm6X.js +0 -180
- package/dist/clojure-o2ZKLeMp.js +0 -767
- package/dist/coffee-DOQff5VC.js +0 -238
- package/dist/cpp-CQGJnWhD.js +0 -395
- package/dist/csharp-C1jLsHl8.js +0 -332
- package/dist/csp-C_ttMQaW.js +0 -59
- package/dist/css-BC202kVV.js +0 -193
- package/dist/cssMode-CijMoTZZ.js +0 -1541
- package/dist/cypher-DwtEH7Fi.js +0 -269
- package/dist/dart-D9XknsP2.js +0 -287
- package/dist/dockerfile-DgsNjqqa.js +0 -136
- package/dist/ecl-BAMCHBl6.js +0 -462
- package/dist/elixir-CegIttP8.js +0 -575
- package/dist/flow9-9608t7UV.js +0 -148
- package/dist/freemarker2-D9YBhhWM.js +0 -995
- package/dist/fsharp-CCtt9-1_.js +0 -223
- package/dist/go-CGUIPbct.js +0 -224
- package/dist/graphql-BNRIFFIn.js +0 -157
- package/dist/handlebars-Dhqjd5tc.js +0 -425
- package/dist/hcl-C__KLIXe.js +0 -189
- package/dist/html-B-mTv9go.js +0 -314
- package/dist/htmlMode-B0tRSzS3.js +0 -1551
- package/dist/index2-Bdli2NxK.js +0 -124568
- package/dist/ini-CeKYn_zA.js +0 -77
- package/dist/java-Dm24deQl.js +0 -238
- package/dist/javascript-D2ymRpX4.js +0 -76
- package/dist/jsonMode-CGIrxPxy.js +0 -1957
- package/dist/julia-BImNW7VE.js +0 -517
- package/dist/kotlin-BfE79GEb.js +0 -259
- package/dist/less-DglNOcaC.js +0 -168
- package/dist/lexon-BA0dRz9Q.js +0 -163
- package/dist/liquid-k0lS69v2.js +0 -246
- package/dist/lua-DMkWzJcm.js +0 -168
- package/dist/m3-sA-5shO8.js +0 -216
- package/dist/markdown-OYRB1igA.js +0 -235
- package/dist/mdx-CxifJq1N.js +0 -171
- package/dist/mips-rRzkJ_7G.js +0 -204
- package/dist/msdax-DoVJdUhd.js +0 -381
- package/dist/mysql-Ty44IHXo.js +0 -884
- package/dist/objective-c-VUfyhYrA.js +0 -189
- package/dist/pascal-DkASiYyw.js +0 -257
- package/dist/pascaligo-p-ELPlVO.js +0 -170
- package/dist/perl-Cjl1FxLZ.js +0 -632
- package/dist/pgsql-DjVenF7s.js +0 -857
- package/dist/php-CwvGzZOO.js +0 -506
- package/dist/pla-Br1iaBIV.js +0 -143
- package/dist/postiats-BaeP8zZY.js +0 -913
- package/dist/powerquery-CLCshuo8.js +0 -896
- package/dist/powershell-CZV50w5N.js +0 -245
- package/dist/protobuf-MV3XTewJ.js +0 -426
- package/dist/pug-DkDg4c4l.js +0 -408
- package/dist/python-C6Cj0Gak.js +0 -282
- package/dist/qsharp-BAtiKA97.js +0 -291
- package/dist/r-8ocrd-h-.js +0 -249
- package/dist/razor-Bv4FKN67.js +0 -556
- package/dist/redis-9sZiddxc.js +0 -308
- package/dist/redshift-DQfTOGC0.js +0 -815
- package/dist/restructuredtext-DXU-vkgr.js +0 -180
- package/dist/ruby-DotfqwMf.js +0 -517
- package/dist/rust-BIauJ5KN.js +0 -349
- package/dist/sb-CmWMvDEV.js +0 -121
- package/dist/scala-C81brEbk.js +0 -376
- package/dist/scheme-D0pcFz2x.js +0 -114
- package/dist/scss-BOdN2fGG.js +0 -268
- package/dist/shell-6E09eAkU.js +0 -227
- package/dist/solidity-CWStzA1K.js +0 -1373
- package/dist/sophia-76Sb6CWe.js +0 -205
- package/dist/sparql-BmZTkOWT.js +0 -207
- package/dist/sql-Cs9TBAW5.js +0 -859
- package/dist/st-B-rqE1Bu.js +0 -422
- package/dist/swift-Btsj6YxQ.js +0 -318
- package/dist/systemverilog-B3RHBRa2.js +0 -582
- package/dist/tcl-Dpj776pn.js +0 -238
- package/dist/tsMode-B9h9b9mp.js +0 -886
- package/dist/twig-Bb9JmBsE.js +0 -398
- package/dist/typescript-zCW2a0Fk.js +0 -349
- package/dist/typespec-CDWeg3SU.js +0 -123
- package/dist/vb-DEXnYwEI.js +0 -378
- package/dist/wgsl-D602c1lx.js +0 -445
- package/dist/xml-BJSUmOQK.js +0 -101
- package/dist/yaml-DFDANPGB.js +0 -212
package/dist/sun-form-v3.es.js
CHANGED
@@ -1,4 +1,178 @@
|
|
1
|
-
import {
|
1
|
+
import { resolveComponent as n, openBlock as w, createElementBlock as b, Fragment as f, createVNode as e, withCtx as p, unref as t } from "vue";
|
2
|
+
const _ = /* @__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(m) {
|
15
|
+
let l = m;
|
16
|
+
return (U, o) => {
|
17
|
+
const u = n("el-option"), V = n("el-select"), a = n("common-label-container"), i = n("el-input"), g = n("el-input-number"), r = n("el-switch");
|
18
|
+
return w(), b(f, null, [
|
19
|
+
e(a, { label: "组件尺寸" }, {
|
20
|
+
default: p(() => [
|
21
|
+
e(V, {
|
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(V, {
|
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(i, {
|
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(i, {
|
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(i, {
|
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(g, {
|
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
|
+
let s = {
|
149
|
+
//通用
|
150
|
+
// commonApiConfig,
|
151
|
+
// commonCard,
|
152
|
+
// commonCodeEditor,
|
153
|
+
// commonCollapseCard,
|
154
|
+
// commonContainer,
|
155
|
+
// commonJsonInput,
|
156
|
+
// commonLabelContainer,
|
157
|
+
// commonSidetree,
|
158
|
+
// commonTypeInput,
|
159
|
+
// commonWidgetLabelContainer,
|
160
|
+
//配置
|
161
|
+
configInput: _
|
162
|
+
//组件
|
163
|
+
// widgetForm,
|
164
|
+
// widgetHomepage,
|
165
|
+
// widgetInput,
|
166
|
+
// widgetSelect,
|
167
|
+
//组件
|
168
|
+
// index,
|
169
|
+
};
|
170
|
+
const x = (m) => {
|
171
|
+
for (let l in s)
|
172
|
+
m.component(s[l].name, s[l]);
|
173
|
+
}, v = {
|
174
|
+
install: x
|
175
|
+
};
|
2
176
|
export {
|
3
|
-
|
177
|
+
v as default
|
4
178
|
};
|