sun-form-v3 1.0.201 → 1.0.203
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-CGEuqz3v.js → index-1A8YsI7X.js} +1 -1
- package/dist/{index-C5mM44JH.js → index-BiTxtXHN.js} +1 -1
- package/dist/index-CHAFY_vi.js +159 -0
- package/dist/{index-cMaI-Z74.js → index-D7Bs20F_.js} +1 -1
- package/dist/{index-DNWlm1D8.js → index-DCdqwiDC.js} +1 -1
- package/dist/{index-BsFLc-40.js → index-DZ6VzYwE.js} +1 -1
- package/dist/{index-OK9JjSTt.js → index-DrDwgRvk.js} +1 -1
- package/dist/{index-CAjxJvw7.js → index-Dz0oAjyp.js} +34006 -33659
- package/dist/index-FVwll8uc.js +124 -0
- package/dist/{index-OgDQ-5p1.js → index-N38EnyKe.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 +371 -371
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as k, resolveComponent as m, openBlock as f, createElementBlock as H, Fragment as I, createVNode as e, unref as l, withCtx as a, createTextVNode as v, isRef as M, createElementVNode as V, toDisplayString as S, createCommentVNode as T, pushScopeId as J, popScopeId as K, createBlock as N, renderList as Q } from "vue";
|
|
2
|
-
import { ae as W } from "./index-
|
|
2
|
+
import { ae as W } from "./index-Dz0oAjyp.js";
|
|
3
3
|
const A = (_) => (J("data-v-75dc2686"), _ = _(), K(), _), G = /* @__PURE__ */ A(() => /* @__PURE__ */ V("span", null, "复杂表头配置", -1)), X = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "flex h-full flex-col"
|
|
@@ -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 { ae as E } from "./index-
|
|
2
|
+
import { ae as E } from "./index-Dz0oAjyp.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: {
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { resolveComponent as n, openBlock as m, createElementBlock as f, Fragment as U, createVNode as t, withCtx as d, unref as l, createBlock as g, createCommentVNode as V } from "vue";
|
|
2
|
+
const S = /* @__PURE__ */ Object.assign({ name: "config-flowForm" }, {
|
|
3
|
+
__name: "index",
|
|
4
|
+
props: {
|
|
5
|
+
designer: {
|
|
6
|
+
type: Object,
|
|
7
|
+
default: {}
|
|
8
|
+
},
|
|
9
|
+
widget: {
|
|
10
|
+
type: Object,
|
|
11
|
+
default: {}
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
setup(r) {
|
|
15
|
+
let e = r;
|
|
16
|
+
return (B, o) => {
|
|
17
|
+
const b = n("el-input"), p = n("common-label-container"), u = n("el-radio-button"), w = n("el-radio-group"), i = n("el-switch"), s = n("common-api-config");
|
|
18
|
+
return m(), f(U, null, [
|
|
19
|
+
t(p, { label: "提交按钮文字" }, {
|
|
20
|
+
default: d(() => [
|
|
21
|
+
t(b, {
|
|
22
|
+
modelValue: l(e).widget.props.submitButtonText,
|
|
23
|
+
"onUpdate:modelValue": o[0] || (o[0] = (a) => l(e).widget.props.submitButtonText = a),
|
|
24
|
+
placeholder: "填写提交按钮文字"
|
|
25
|
+
}, null, 8, ["modelValue"])
|
|
26
|
+
]),
|
|
27
|
+
_: 1
|
|
28
|
+
}),
|
|
29
|
+
t(p, { label: "表单类型" }, {
|
|
30
|
+
default: d(() => [
|
|
31
|
+
t(w, {
|
|
32
|
+
modelValue: l(e).widget.props.formType,
|
|
33
|
+
"onUpdate:modelValue": o[1] || (o[1] = (a) => l(e).widget.props.formType = a)
|
|
34
|
+
}, {
|
|
35
|
+
default: d(() => [
|
|
36
|
+
t(u, {
|
|
37
|
+
value: "Create",
|
|
38
|
+
label: "新增"
|
|
39
|
+
}),
|
|
40
|
+
t(u, {
|
|
41
|
+
value: "Update",
|
|
42
|
+
label: "修改"
|
|
43
|
+
}),
|
|
44
|
+
t(u, {
|
|
45
|
+
value: "Detail",
|
|
46
|
+
label: "详情"
|
|
47
|
+
})
|
|
48
|
+
]),
|
|
49
|
+
_: 1
|
|
50
|
+
}, 8, ["modelValue"])
|
|
51
|
+
]),
|
|
52
|
+
_: 1
|
|
53
|
+
}),
|
|
54
|
+
t(p, { label: "按钮位置" }, {
|
|
55
|
+
default: d(() => [
|
|
56
|
+
t(w, {
|
|
57
|
+
modelValue: l(e).widget.props.buttonAlign,
|
|
58
|
+
"onUpdate:modelValue": o[2] || (o[2] = (a) => l(e).widget.props.buttonAlign = a)
|
|
59
|
+
}, {
|
|
60
|
+
default: d(() => [
|
|
61
|
+
t(u, {
|
|
62
|
+
value: "left",
|
|
63
|
+
label: "左侧"
|
|
64
|
+
}),
|
|
65
|
+
t(u, {
|
|
66
|
+
value: "right",
|
|
67
|
+
label: "右侧"
|
|
68
|
+
})
|
|
69
|
+
]),
|
|
70
|
+
_: 1
|
|
71
|
+
}, 8, ["modelValue"])
|
|
72
|
+
]),
|
|
73
|
+
_: 1
|
|
74
|
+
}),
|
|
75
|
+
t(p, { label: "是否有边框" }, {
|
|
76
|
+
default: d(() => [
|
|
77
|
+
t(i, {
|
|
78
|
+
modelValue: l(e).widget.props.hasBorder,
|
|
79
|
+
"onUpdate:modelValue": o[3] || (o[3] = (a) => l(e).widget.props.hasBorder = a)
|
|
80
|
+
}, null, 8, ["modelValue"])
|
|
81
|
+
]),
|
|
82
|
+
_: 1
|
|
83
|
+
}),
|
|
84
|
+
t(p, { label: "底部显示底色" }, {
|
|
85
|
+
default: d(() => [
|
|
86
|
+
t(i, {
|
|
87
|
+
modelValue: l(e).widget.props.hasFooterBg,
|
|
88
|
+
"onUpdate:modelValue": o[4] || (o[4] = (a) => l(e).widget.props.hasFooterBg = a)
|
|
89
|
+
}, null, 8, ["modelValue"])
|
|
90
|
+
]),
|
|
91
|
+
_: 1
|
|
92
|
+
}),
|
|
93
|
+
t(p, { label: "是否显示底部" }, {
|
|
94
|
+
default: d(() => [
|
|
95
|
+
t(i, {
|
|
96
|
+
modelValue: l(e).widget.props.hasFooter,
|
|
97
|
+
"onUpdate:modelValue": o[5] || (o[5] = (a) => l(e).widget.props.hasFooter = a)
|
|
98
|
+
}, null, 8, ["modelValue"])
|
|
99
|
+
]),
|
|
100
|
+
_: 1
|
|
101
|
+
}),
|
|
102
|
+
t(p, { label: "显示提交按钮" }, {
|
|
103
|
+
default: d(() => [
|
|
104
|
+
t(i, {
|
|
105
|
+
modelValue: l(e).widget.props.hasSubmitButton,
|
|
106
|
+
"onUpdate:modelValue": o[6] || (o[6] = (a) => l(e).widget.props.hasSubmitButton = a)
|
|
107
|
+
}, null, 8, ["modelValue"])
|
|
108
|
+
]),
|
|
109
|
+
_: 1
|
|
110
|
+
}),
|
|
111
|
+
t(p, { label: "显示重置按钮" }, {
|
|
112
|
+
default: d(() => [
|
|
113
|
+
t(i, {
|
|
114
|
+
modelValue: l(e).widget.props.hasResetButton,
|
|
115
|
+
"onUpdate:modelValue": o[7] || (o[7] = (a) => l(e).widget.props.hasResetButton = a)
|
|
116
|
+
}, null, 8, ["modelValue"])
|
|
117
|
+
]),
|
|
118
|
+
_: 1
|
|
119
|
+
}),
|
|
120
|
+
t(p, { label: "新增数据" }, {
|
|
121
|
+
default: d(() => [
|
|
122
|
+
l(e).widget.props.apiSetCreate ? (m(), g(s, {
|
|
123
|
+
key: 0,
|
|
124
|
+
designer: r.designer,
|
|
125
|
+
modelValue: l(e).widget.props.apiSetCreate,
|
|
126
|
+
"onUpdate:modelValue": o[8] || (o[8] = (a) => l(e).widget.props.apiSetCreate = a)
|
|
127
|
+
}, null, 8, ["designer", "modelValue"])) : V("", !0)
|
|
128
|
+
]),
|
|
129
|
+
_: 1
|
|
130
|
+
}),
|
|
131
|
+
t(p, { label: "修改数据" }, {
|
|
132
|
+
default: d(() => [
|
|
133
|
+
l(e).widget.props.apiSetUpdate ? (m(), g(s, {
|
|
134
|
+
key: 0,
|
|
135
|
+
designer: r.designer,
|
|
136
|
+
modelValue: l(e).widget.props.apiSetUpdate,
|
|
137
|
+
"onUpdate:modelValue": o[9] || (o[9] = (a) => l(e).widget.props.apiSetUpdate = a)
|
|
138
|
+
}, null, 8, ["designer", "modelValue"])) : V("", !0)
|
|
139
|
+
]),
|
|
140
|
+
_: 1
|
|
141
|
+
}),
|
|
142
|
+
t(p, { label: "详情数据" }, {
|
|
143
|
+
default: d(() => [
|
|
144
|
+
l(e).widget.props.apiSetDetail ? (m(), g(s, {
|
|
145
|
+
key: 0,
|
|
146
|
+
designer: r.designer,
|
|
147
|
+
modelValue: l(e).widget.props.apiSetDetail,
|
|
148
|
+
"onUpdate:modelValue": o[10] || (o[10] = (a) => l(e).widget.props.apiSetDetail = a)
|
|
149
|
+
}, null, 8, ["designer", "modelValue"])) : V("", !0)
|
|
150
|
+
]),
|
|
151
|
+
_: 1
|
|
152
|
+
})
|
|
153
|
+
], 64);
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
export {
|
|
158
|
+
S as default
|
|
159
|
+
};
|
|
@@ -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 { af as E, ag as M } from "./index-
|
|
2
|
+
import { af as E, ag as M } from "./index-Dz0oAjyp.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: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as j, ref as y, resolveComponent as i, openBlock as C, createElementBlock as k, Fragment as U, createVNode as e, withCtx as l, createTextVNode as V, unref as d, isRef as z, createElementVNode as m, pushScopeId as I, popScopeId as J } from "vue";
|
|
2
|
-
import { ae as E, ah as H } from "./index-
|
|
2
|
+
import { ae as E, ah as H } from "./index-Dz0oAjyp.js";
|
|
3
3
|
const B = (r) => (I("data-v-657a5bea"), r = r(), J(), r), T = /* @__PURE__ */ B(() => /* @__PURE__ */ m("span", null, "数据配置", -1)), D = { class: "h-full flex flex-col" }, F = { class: "flex-1 overflow-hidden" }, M = /* @__PURE__ */ Object.assign({ name: "commonStyleConfig" }, {
|
|
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 { ah as c } from "./index-
|
|
2
|
+
import { ah as c } from "./index-Dz0oAjyp.js";
|
|
3
3
|
const k = /* @__PURE__ */ Object.assign({ name: "config-text" }, {
|
|
4
4
|
__name: "index",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as N, ref as h, resolveComponent as u, openBlock as C, createElementBlock as U, Fragment as k, createVNode as e, withCtx as l, createTextVNode as g, unref as d, isRef as j, createElementVNode as c, pushScopeId as I, popScopeId as J } from "vue";
|
|
2
|
-
import { ae as T } from "./index-
|
|
2
|
+
import { ae as T } from "./index-Dz0oAjyp.js";
|
|
3
3
|
const E = (m) => (I("data-v-ede8dcab"), m = m(), J(), m), H = /* @__PURE__ */ E(() => /* @__PURE__ */ c("span", null, "数据配置", -1)), B = { class: "h-full flex flex-col" }, D = { class: "flex-1 overflow-hidden" }, F = {
|
|
4
4
|
__name: "dataConfig",
|
|
5
5
|
props: {
|