sun-form-v3 1.0.73 → 1.0.75
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/css.worker-Dwc4fr67.js +11 -0
- package/dist/{cssMode-BXBciaWt.js → cssMode-CyjUDoDD.js} +1 -1
- package/dist/editor.worker-D8X-wirG.js +11 -0
- package/dist/{freemarker2-CmygUpuu.js → freemarker2-CzU8Y7TO.js} +1 -1
- package/dist/{handlebars-DQf1H2VV.js → handlebars-DcPibhdm.js} +1 -1
- package/dist/{html-Xh9UOPja.js → html-B8maI1wg.js} +1 -1
- package/dist/html.worker-BrYAwuEC.js +11 -0
- package/dist/{htmlMode-B0QDpKvf.js → htmlMode-D8HgQk11.js} +1 -1
- package/dist/{index-BkAjoBLc.js → index-CcTbw1Tq.js} +12126 -12307
- package/dist/index-DmlyKQU2.js +150 -0
- package/dist/{javascript-lDZ3h7g8.js → javascript-L09o5l7-.js} +1 -1
- package/dist/json.worker-CrHwZjY-.js +11 -0
- package/dist/{jsonMode-C5XJ2eKG.js → jsonMode-dkd7Mp3R.js} +1 -1
- package/dist/{liquid-Cjj1frmx.js → liquid-CkWglRzZ.js} +1 -1
- package/dist/{mdx-CzfefEJ-.js → mdx-CCaTXl1c.js} +1 -1
- package/dist/{python-DyY6ldcy.js → python-4CtoY8go.js} +1 -1
- package/dist/{razor-Bg8q70Ua.js → razor-DwoBjqQV.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 +306 -306
- package/dist/ts.worker-yDFI3o-d.js +11 -0
- package/dist/{tsMode-CRd35KrT.js → tsMode-D2yB4q_y.js} +1 -1
- package/dist/{typescript-BYlzZUqk.js → typescript-B66xIknh.js} +1 -1
- package/dist/{xml-CuwYh5uN.js → xml-H71lCcfm.js} +1 -1
- package/dist/{yaml-CpETH-QO.js → yaml-DvTcXNYB.js} +1 -1
- 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
|
+
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { conf as t, language as e } from "./typescript-
|
1
|
+
import { conf as t, language as e } from "./typescript-B66xIknh.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 Ke } from "./index-
|
1
|
+
import { m as Ke } from "./index-CcTbw1Tq.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 "./index-
|
1
|
+
import { m as l } from "./index-CcTbw1Tq.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 "./index-
|
1
|
+
import { m as s } from "./index-CcTbw1Tq.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 i } from "./index-
|
1
|
+
import { m as i } from "./index-CcTbw1Tq.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 } from "./index-
|
1
|
+
import { m } from "./index-CcTbw1Tq.js";
|
2
2
|
/*!-----------------------------------------------------------------------------
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
4
4
|
* Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)
|