sun-form-v3 1.0.175 → 1.0.177
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index-IO52-czG.js → index-BTbXk0Ul.js} +1 -1
- package/dist/{index-BMb3KRB8.js → index-BlPvyPrd.js} +1 -1
- package/dist/{index-CO1r29AW.js → index-Bw9BT5oa.js} +1 -1
- package/dist/{index-BuowarKI.js → index-C9c2A8iR.js} +22740 -22502
- package/dist/{index-D3D3vnoP.js → index-ChKyOvXt.js} +1 -1
- package/dist/index-DT6ZcAmA.js +1 -0
- package/dist/{index-DVLLlCbx.js → index-DmwitUZc.js} +1 -1
- package/dist/{index-ChFuZHQ3.js → index-DuyOBhEf.js} +1 -1
- package/dist/{index-B-asaa8Z.js → index-nY_E-1Gm.js} +45 -36
- package/dist/style.css +1 -1
- package/dist/sun-form-v3.es.js +1 -1
- package/dist/sun-form-v3.umd.js +335 -335
- package/package.json +1 -1
- package/dist/index-C2TpEDQ6.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as j, ref as g, onMounted as $, resolveComponent as f, openBlock as _, createElementBlock as v, Fragment as x, createVNode as r, withCtx as o, createTextVNode as C, createElementVNode as u, renderList as B, unref as V, toDisplayString as N, nextTick as U, createBlock as D } from "vue";
|
|
2
|
-
import { e as E, i as M } from "./index-
|
|
2
|
+
import { e as E, i as M } from "./index-C9c2A8iR.js";
|
|
3
3
|
const R = /* @__PURE__ */ u("span", null, "图表选择", -1), S = { class: "flex-wrap flex" }, T = ["onClick"], z = { class: "inner cursor-pointer hover:shadow-md hover:shadow-blue-200 border w-full h-full p-1 flex flex-col overflow-hidden items-center rounded-md shadow-sm" }, F = { class: "lab border-t w-full text-center mt-1 font-bold" }, L = /* @__PURE__ */ Object.assign({ name: "chatChoose" }, {
|
|
4
4
|
__name: "chartChoose",
|
|
5
5
|
props: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./index-C9c2A8iR.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as N, ref as y, resolveComponent as i, openBlock as C, createElementBlock as k, Fragment as O, createVNode as e, withCtx as l, createTextVNode as m, unref as d, isRef as j, createElementVNode as _, pushScopeId as I, popScopeId as J } from "vue";
|
|
2
|
-
import { _ as E } from "./index-
|
|
2
|
+
import { _ as E } from "./index-C9c2A8iR.js";
|
|
3
3
|
const H = (p) => (I("data-v-4c8b2df2"), p = p(), J(), p), B = /* @__PURE__ */ H(() => /* @__PURE__ */ _("span", null, "数据配置", -1)), T = { class: "h-full flex flex-col" }, D = { class: "flex-1 overflow-hidden" }, F = {
|
|
4
4
|
__name: "dataConfig",
|
|
5
5
|
props: {
|
|
@@ -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-C9c2A8iR.js";
|
|
3
3
|
const k = /* @__PURE__ */ Object.assign({ name: "config-text" }, {
|
|
4
4
|
__name: "index",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { resolveComponent as
|
|
2
|
-
const
|
|
1
|
+
import { resolveComponent as i, openBlock as g, createElementBlock as V, Fragment as w, createVNode as l, withCtx as a, unref as d } from "vue";
|
|
2
|
+
const U = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
|
|
3
3
|
__name: "index",
|
|
4
4
|
props: {
|
|
5
5
|
designer: {
|
|
@@ -14,24 +14,24 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
|
|
|
14
14
|
setup(f) {
|
|
15
15
|
let e = f;
|
|
16
16
|
return (b, o) => {
|
|
17
|
-
const
|
|
17
|
+
const u = i("el-option"), r = i("el-select"), p = i("common-label-container"), n = i("el-input"), s = i("el-input-number"), m = i("el-switch");
|
|
18
18
|
return g(), V(w, null, [
|
|
19
19
|
l(p, { label: "组件尺寸" }, {
|
|
20
20
|
default: a(() => [
|
|
21
|
-
l(
|
|
22
|
-
modelValue:
|
|
23
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
21
|
+
l(r, {
|
|
22
|
+
modelValue: d(e).widget.props.size,
|
|
23
|
+
"onUpdate:modelValue": o[0] || (o[0] = (t) => d(e).widget.props.size = t)
|
|
24
24
|
}, {
|
|
25
25
|
default: a(() => [
|
|
26
|
-
l(
|
|
26
|
+
l(u, {
|
|
27
27
|
label: "大尺寸",
|
|
28
28
|
value: "large"
|
|
29
29
|
}),
|
|
30
|
-
l(
|
|
30
|
+
l(u, {
|
|
31
31
|
label: "默认",
|
|
32
32
|
value: "default"
|
|
33
33
|
}),
|
|
34
|
-
l(
|
|
34
|
+
l(u, {
|
|
35
35
|
label: "小尺寸",
|
|
36
36
|
value: "small"
|
|
37
37
|
})
|
|
@@ -44,8 +44,8 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
|
|
|
44
44
|
l(p, { label: "上传字段" }, {
|
|
45
45
|
default: a(() => [
|
|
46
46
|
l(n, {
|
|
47
|
-
modelValue:
|
|
48
|
-
"onUpdate:modelValue": o[1] || (o[1] = (
|
|
47
|
+
modelValue: d(e).widget.props.fileField,
|
|
48
|
+
"onUpdate:modelValue": o[1] || (o[1] = (t) => d(e).widget.props.fileField = t),
|
|
49
49
|
placeholder: "填写上传字段"
|
|
50
50
|
}, null, 8, ["modelValue"])
|
|
51
51
|
]),
|
|
@@ -54,8 +54,8 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
|
|
|
54
54
|
l(p, { label: "文件ID字段" }, {
|
|
55
55
|
default: a(() => [
|
|
56
56
|
l(n, {
|
|
57
|
-
modelValue:
|
|
58
|
-
"onUpdate:modelValue": o[2] || (o[2] = (
|
|
57
|
+
modelValue: d(e).widget.props.fileIdField,
|
|
58
|
+
"onUpdate:modelValue": o[2] || (o[2] = (t) => d(e).widget.props.fileIdField = t),
|
|
59
59
|
placeholder: "填写文件ID字段"
|
|
60
60
|
}, null, 8, ["modelValue"])
|
|
61
61
|
]),
|
|
@@ -64,8 +64,8 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
|
|
|
64
64
|
l(p, { label: "文件名称字段" }, {
|
|
65
65
|
default: a(() => [
|
|
66
66
|
l(n, {
|
|
67
|
-
modelValue:
|
|
68
|
-
"onUpdate:modelValue": o[3] || (o[3] = (
|
|
67
|
+
modelValue: d(e).widget.props.fileNameField,
|
|
68
|
+
"onUpdate:modelValue": o[3] || (o[3] = (t) => d(e).widget.props.fileNameField = t),
|
|
69
69
|
placeholder: "填写文件名称字段"
|
|
70
70
|
}, null, 8, ["modelValue"])
|
|
71
71
|
]),
|
|
@@ -74,8 +74,8 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
|
|
|
74
74
|
l(p, { label: "文件URL字段" }, {
|
|
75
75
|
default: a(() => [
|
|
76
76
|
l(n, {
|
|
77
|
-
modelValue:
|
|
78
|
-
"onUpdate:modelValue": o[4] || (o[4] = (
|
|
77
|
+
modelValue: d(e).widget.props.fileUrlField,
|
|
78
|
+
"onUpdate:modelValue": o[4] || (o[4] = (t) => d(e).widget.props.fileUrlField = t),
|
|
79
79
|
placeholder: "填写文件URL字段"
|
|
80
80
|
}, null, 8, ["modelValue"])
|
|
81
81
|
]),
|
|
@@ -86,8 +86,8 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
|
|
|
86
86
|
l(s, {
|
|
87
87
|
class: "w-full",
|
|
88
88
|
placeholder: "填写最大文件大小",
|
|
89
|
-
modelValue:
|
|
90
|
-
"onUpdate:modelValue": o[5] || (o[5] = (
|
|
89
|
+
modelValue: d(e).widget.props.fileSize,
|
|
90
|
+
"onUpdate:modelValue": o[5] || (o[5] = (t) => d(e).widget.props.fileSize = t),
|
|
91
91
|
min: 0,
|
|
92
92
|
"controls-position": "right"
|
|
93
93
|
}, null, 8, ["modelValue"])
|
|
@@ -99,8 +99,8 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
|
|
|
99
99
|
l(s, {
|
|
100
100
|
class: "w-full",
|
|
101
101
|
placeholder: "限制文件个数",
|
|
102
|
-
modelValue:
|
|
103
|
-
"onUpdate:modelValue": o[6] || (o[6] = (
|
|
102
|
+
modelValue: d(e).widget.props.limit,
|
|
103
|
+
"onUpdate:modelValue": o[6] || (o[6] = (t) => d(e).widget.props.limit = t),
|
|
104
104
|
min: 0,
|
|
105
105
|
"controls-position": "right"
|
|
106
106
|
}, null, 8, ["modelValue"])
|
|
@@ -109,32 +109,32 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
|
|
|
109
109
|
}),
|
|
110
110
|
l(p, { label: "上传限制类型" }, {
|
|
111
111
|
default: a(() => [
|
|
112
|
-
l(
|
|
113
|
-
modelValue:
|
|
114
|
-
"onUpdate:modelValue": o[7] || (o[7] = (
|
|
112
|
+
l(r, {
|
|
113
|
+
modelValue: d(e).widget.props.accept,
|
|
114
|
+
"onUpdate:modelValue": o[7] || (o[7] = (t) => d(e).widget.props.accept = t),
|
|
115
115
|
multiple: "",
|
|
116
116
|
placeholder: "选择允许的文件类型",
|
|
117
117
|
"collapse-tags": "",
|
|
118
118
|
"collapse-tags-tooltip": ""
|
|
119
119
|
}, {
|
|
120
120
|
default: a(() => [
|
|
121
|
-
l(
|
|
121
|
+
l(u, {
|
|
122
122
|
label: "图片文件 (jpg,png,gif等)",
|
|
123
123
|
value: "img"
|
|
124
124
|
}),
|
|
125
|
-
l(
|
|
125
|
+
l(u, {
|
|
126
126
|
label: "视频文件 (mp4,avi,mov等)",
|
|
127
127
|
value: "video"
|
|
128
128
|
}),
|
|
129
|
-
l(
|
|
129
|
+
l(u, {
|
|
130
130
|
label: "音频文件 (mp3,wav,aac等)",
|
|
131
131
|
value: "audio"
|
|
132
132
|
}),
|
|
133
|
-
l(
|
|
133
|
+
l(u, {
|
|
134
134
|
label: "文档文件 (pdf,doc,xls等)",
|
|
135
135
|
value: "document"
|
|
136
136
|
}),
|
|
137
|
-
l(
|
|
137
|
+
l(u, {
|
|
138
138
|
label: "Excel文件 (xls,xlsx等)",
|
|
139
139
|
value: "excel"
|
|
140
140
|
})
|
|
@@ -146,18 +146,27 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
|
|
|
146
146
|
}),
|
|
147
147
|
l(p, { label: "支持多文件" }, {
|
|
148
148
|
default: a(() => [
|
|
149
|
-
l(
|
|
150
|
-
modelValue:
|
|
151
|
-
"onUpdate:modelValue": o[8] || (o[8] = (
|
|
149
|
+
l(m, {
|
|
150
|
+
modelValue: d(e).widget.props.multiple,
|
|
151
|
+
"onUpdate:modelValue": o[8] || (o[8] = (t) => d(e).widget.props.multiple = t)
|
|
152
152
|
}, null, 8, ["modelValue"])
|
|
153
153
|
]),
|
|
154
154
|
_: 1
|
|
155
155
|
}),
|
|
156
156
|
l(p, { label: "是否只读" }, {
|
|
157
157
|
default: a(() => [
|
|
158
|
-
l(
|
|
159
|
-
modelValue:
|
|
160
|
-
"onUpdate:modelValue": o[9] || (o[9] = (
|
|
158
|
+
l(m, {
|
|
159
|
+
modelValue: d(e).widget.props.readonly,
|
|
160
|
+
"onUpdate:modelValue": o[9] || (o[9] = (t) => d(e).widget.props.readonly = t)
|
|
161
|
+
}, null, 8, ["modelValue"])
|
|
162
|
+
]),
|
|
163
|
+
_: 1
|
|
164
|
+
}),
|
|
165
|
+
l(p, { label: "是否必填" }, {
|
|
166
|
+
default: a(() => [
|
|
167
|
+
l(m, {
|
|
168
|
+
modelValue: d(e).widget.props.required,
|
|
169
|
+
"onUpdate:modelValue": o[10] || (o[10] = (t) => d(e).widget.props.required = t)
|
|
161
170
|
}, null, 8, ["modelValue"])
|
|
162
171
|
]),
|
|
163
172
|
_: 1
|
|
@@ -167,5 +176,5 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-file" }, {
|
|
|
167
176
|
}
|
|
168
177
|
});
|
|
169
178
|
export {
|
|
170
|
-
|
|
179
|
+
U as default
|
|
171
180
|
};
|