sun-form-v3 1.0.191 → 1.0.193
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-Dfbv9OKZ.js → index-4OUDg-2l.js} +1 -1
- package/dist/{index-DM5DPltp.js → index-B2ieNi21.js} +20 -11
- package/dist/{index-tm1eQlWB.js → index-BMf9YpSm.js} +1 -1
- package/dist/{index-Bvmo0Q3e.js → index-C-mnAALF.js} +1 -1
- package/dist/{index-CZZfzYn7.js → index-CE0gDB6E.js} +21 -12
- package/dist/{index-wrg71Jcd.js → index-DBcnAIDk.js} +1 -1
- package/dist/{index-_u80MhNO.js → index-DDpbQHSl.js} +17145 -17085
- package/dist/index-DyMlsLMs.js +1 -0
- package/dist/{index-BL3Q1E5n.js → index-N1g1Zm6p.js} +1 -1
- package/dist/{index-yT1UgM4h.js → index-n6CXtJq6.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 +202 -202
- package/package.json +1 -1
- package/dist/index-CuX3nTmq.js +0 -1
|
@@ -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 { _ as T } from "./index-
|
|
2
|
+
import { _ as T } from "./index-DDpbQHSl.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: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveComponent as
|
|
1
|
+
import { resolveComponent as p, openBlock as m, createElementBlock as g, Fragment as V, createVNode as e, withCtx as a, unref as t } from "vue";
|
|
2
2
|
const f = /* @__PURE__ */ Object.assign({ name: "config-checkbox" }, {
|
|
3
3
|
__name: "index",
|
|
4
4
|
props: {
|
|
@@ -13,12 +13,12 @@ const f = /* @__PURE__ */ Object.assign({ name: "config-checkbox" }, {
|
|
|
13
13
|
},
|
|
14
14
|
setup(i) {
|
|
15
15
|
let l = i;
|
|
16
|
-
return (
|
|
17
|
-
const s =
|
|
18
|
-
return
|
|
16
|
+
return (b, o) => {
|
|
17
|
+
const s = p("el-option"), r = p("el-select"), n = p("common-label-container"), u = p("el-switch");
|
|
18
|
+
return m(), g(V, null, [
|
|
19
19
|
e(n, { label: "组件尺寸" }, {
|
|
20
20
|
default: a(() => [
|
|
21
|
-
e(
|
|
21
|
+
e(r, {
|
|
22
22
|
modelValue: t(l).widget.props.size,
|
|
23
23
|
"onUpdate:modelValue": o[0] || (o[0] = (d) => t(l).widget.props.size = d)
|
|
24
24
|
}, {
|
|
@@ -43,7 +43,7 @@ const f = /* @__PURE__ */ Object.assign({ name: "config-checkbox" }, {
|
|
|
43
43
|
}),
|
|
44
44
|
e(n, { label: "是否按钮" }, {
|
|
45
45
|
default: a(() => [
|
|
46
|
-
e(
|
|
46
|
+
e(u, {
|
|
47
47
|
modelValue: t(l).widget.props.isButton,
|
|
48
48
|
"onUpdate:modelValue": o[1] || (o[1] = (d) => t(l).widget.props.isButton = d)
|
|
49
49
|
}, null, 8, ["modelValue"])
|
|
@@ -52,27 +52,36 @@ const f = /* @__PURE__ */ Object.assign({ name: "config-checkbox" }, {
|
|
|
52
52
|
}),
|
|
53
53
|
e(n, { label: "是否块状" }, {
|
|
54
54
|
default: a(() => [
|
|
55
|
-
e(
|
|
55
|
+
e(u, {
|
|
56
56
|
modelValue: t(l).widget.props.isBlock,
|
|
57
57
|
"onUpdate:modelValue": o[2] || (o[2] = (d) => t(l).widget.props.isBlock = d)
|
|
58
58
|
}, null, 8, ["modelValue"])
|
|
59
59
|
]),
|
|
60
60
|
_: 1
|
|
61
61
|
}),
|
|
62
|
+
e(n, { label: "值为字符串" }, {
|
|
63
|
+
default: a(() => [
|
|
64
|
+
e(u, {
|
|
65
|
+
modelValue: t(l).widget.props.valueAsString,
|
|
66
|
+
"onUpdate:modelValue": o[3] || (o[3] = (d) => t(l).widget.props.valueAsString = d)
|
|
67
|
+
}, null, 8, ["modelValue"])
|
|
68
|
+
]),
|
|
69
|
+
_: 1
|
|
70
|
+
}),
|
|
62
71
|
e(n, { label: "是否必填" }, {
|
|
63
72
|
default: a(() => [
|
|
64
|
-
e(
|
|
73
|
+
e(u, {
|
|
65
74
|
modelValue: t(l).widget.props.required,
|
|
66
|
-
"onUpdate:modelValue": o[
|
|
75
|
+
"onUpdate:modelValue": o[4] || (o[4] = (d) => t(l).widget.props.required = d)
|
|
67
76
|
}, null, 8, ["modelValue"])
|
|
68
77
|
]),
|
|
69
78
|
_: 1
|
|
70
79
|
}),
|
|
71
80
|
e(n, { label: "是否禁用" }, {
|
|
72
81
|
default: a(() => [
|
|
73
|
-
e(
|
|
82
|
+
e(u, {
|
|
74
83
|
modelValue: t(l).widget.props.disabled,
|
|
75
|
-
"onUpdate:modelValue": o[
|
|
84
|
+
"onUpdate:modelValue": o[5] || (o[5] = (d) => t(l).widget.props.disabled = d)
|
|
76
85
|
}, null, 8, ["modelValue"])
|
|
77
86
|
]),
|
|
78
87
|
_: 1
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as j, ref as y, resolveComponent as i, openBlock as h, 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 { _ as E, c as H } from "./index-
|
|
2
|
+
import { _ as E, c as H } from "./index-DDpbQHSl.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 C, resolveComponent as m, openBlock as k, createElementBlock as S, Fragment as M, createVNode as e, unref as l, withCtx as a, createTextVNode as b, isRef as j, createElementVNode as g, toDisplayString as T, createCommentVNode as O, pushScopeId as q, popScopeId as J, createBlock as K } from "vue";
|
|
2
|
-
import { _ as Q } from "./index-
|
|
2
|
+
import { _ as Q } from "./index-DDpbQHSl.js";
|
|
3
3
|
const A = (_) => (q("data-v-75dc2686"), _ = _(), J(), _), W = /* @__PURE__ */ A(() => /* @__PURE__ */ g("span", null, "复杂表头配置", -1)), h = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "flex h-full flex-col"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { resolveComponent as
|
|
2
|
-
const
|
|
1
|
+
import { resolveComponent as n, openBlock as g, createElementBlock as w, Fragment as b, createVNode as e, withCtx as d, unref as t } from "vue";
|
|
2
|
+
const U = /* @__PURE__ */ Object.assign({ name: "config-selects" }, {
|
|
3
3
|
__name: "index",
|
|
4
4
|
props: {
|
|
5
5
|
designer: {
|
|
@@ -14,7 +14,7 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-selects" }, {
|
|
|
14
14
|
setup(m) {
|
|
15
15
|
let l = m;
|
|
16
16
|
return (f, o) => {
|
|
17
|
-
const s =
|
|
17
|
+
const s = n("el-option"), r = n("el-select"), p = n("common-label-container"), i = n("el-input-number"), V = n("el-input"), u = n("el-switch");
|
|
18
18
|
return g(), w(b, null, [
|
|
19
19
|
e(p, { label: "组件尺寸" }, {
|
|
20
20
|
default: d(() => [
|
|
@@ -79,7 +79,7 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-selects" }, {
|
|
|
79
79
|
}),
|
|
80
80
|
e(p, { label: "下拉显示值" }, {
|
|
81
81
|
default: d(() => [
|
|
82
|
-
e(
|
|
82
|
+
e(u, {
|
|
83
83
|
modelValue: t(l).widget.props.showKeyValue,
|
|
84
84
|
"onUpdate:modelValue": o[4] || (o[4] = (a) => t(l).widget.props.showKeyValue = a)
|
|
85
85
|
}, null, 8, ["modelValue"])
|
|
@@ -88,36 +88,45 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-selects" }, {
|
|
|
88
88
|
}),
|
|
89
89
|
e(p, { label: "显示值反转" }, {
|
|
90
90
|
default: d(() => [
|
|
91
|
-
e(
|
|
91
|
+
e(u, {
|
|
92
92
|
modelValue: t(l).widget.props.keyValueReverse,
|
|
93
93
|
"onUpdate:modelValue": o[5] || (o[5] = (a) => t(l).widget.props.keyValueReverse = a)
|
|
94
94
|
}, null, 8, ["modelValue"])
|
|
95
95
|
]),
|
|
96
96
|
_: 1
|
|
97
97
|
}),
|
|
98
|
+
e(p, { label: "值为字符串" }, {
|
|
99
|
+
default: d(() => [
|
|
100
|
+
e(u, {
|
|
101
|
+
modelValue: t(l).widget.props.valueAsString,
|
|
102
|
+
"onUpdate:modelValue": o[6] || (o[6] = (a) => t(l).widget.props.valueAsString = a)
|
|
103
|
+
}, null, 8, ["modelValue"])
|
|
104
|
+
]),
|
|
105
|
+
_: 1
|
|
106
|
+
}),
|
|
98
107
|
e(p, { label: "是否必填" }, {
|
|
99
108
|
default: d(() => [
|
|
100
|
-
e(
|
|
109
|
+
e(u, {
|
|
101
110
|
modelValue: t(l).widget.props.required,
|
|
102
|
-
"onUpdate:modelValue": o[
|
|
111
|
+
"onUpdate:modelValue": o[7] || (o[7] = (a) => t(l).widget.props.required = a)
|
|
103
112
|
}, null, 8, ["modelValue"])
|
|
104
113
|
]),
|
|
105
114
|
_: 1
|
|
106
115
|
}),
|
|
107
116
|
e(p, { label: "是否可清除" }, {
|
|
108
117
|
default: d(() => [
|
|
109
|
-
e(
|
|
118
|
+
e(u, {
|
|
110
119
|
modelValue: t(l).widget.props.clearable,
|
|
111
|
-
"onUpdate:modelValue": o[
|
|
120
|
+
"onUpdate:modelValue": o[8] || (o[8] = (a) => t(l).widget.props.clearable = a)
|
|
112
121
|
}, null, 8, ["modelValue"])
|
|
113
122
|
]),
|
|
114
123
|
_: 1
|
|
115
124
|
}),
|
|
116
125
|
e(p, { label: "是否禁用" }, {
|
|
117
126
|
default: d(() => [
|
|
118
|
-
e(
|
|
127
|
+
e(u, {
|
|
119
128
|
modelValue: t(l).widget.props.disabled,
|
|
120
|
-
"onUpdate:modelValue": o[
|
|
129
|
+
"onUpdate:modelValue": o[9] || (o[9] = (a) => t(l).widget.props.disabled = a)
|
|
121
130
|
}, null, 8, ["modelValue"])
|
|
122
131
|
]),
|
|
123
132
|
_: 1
|
|
@@ -127,5 +136,5 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-selects" }, {
|
|
|
127
136
|
}
|
|
128
137
|
});
|
|
129
138
|
export {
|
|
130
|
-
|
|
139
|
+
U as default
|
|
131
140
|
};
|
|
@@ -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-DDpbQHSl.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: {
|