sun-form-v3 1.0.126 → 1.0.128
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{index-DWnqqDOD.js → index-BWMhD1KV.js} +1 -1
- package/dist/{index-COUoU4R6.js → index-C2FdJI3a.js} +1 -1
- package/dist/{index-xucgP60Y.js → index-CKvtn0DY.js} +1227 -1224
- package/dist/{index-CBOoC0MV.js → index-CUI4gWhA.js} +1 -1
- package/dist/{index-r0bPWMwM.js → index-DBKMwcLc.js} +1 -1
- package/dist/{index-DBgA8HFP.js → index-DLIjzu1r.js} +1 -1
- package/dist/{index-CBGumyeR.js → index-Ddnm0WbP.js} +1 -1
- package/dist/{index-BTVP3Lpa.js → index-DsyWW00w.js} +50 -34
- package/dist/sun-form-v3.es.js +1 -1
- package/dist/sun-form-v3.umd.js +3 -3
- package/package.json +1 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref as C, resolveComponent as m, openBlock as H, createElementBlock as T, Fragment as A, createVNode as e, unref as l, withCtx as a, createTextVNode as b, isRef as L, createElementVNode as f, toDisplayString as k, createCommentVNode as R } from "vue";
|
2
|
-
import { _ as $ } from "./index-
|
2
|
+
import { _ as $ } from "./index-CKvtn0DY.js";
|
3
3
|
const J = {
|
4
4
|
key: 0,
|
5
5
|
class: "flex h-full flex-col"
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { computed as S, ref as C, resolveComponent as p, openBlock as U, createElementBlock as k, Fragment as O, createVNode as e, withCtx as l, createTextVNode as g, unref as i, isRef as J, createElementVNode as f } from "vue";
|
2
|
-
import { _ as T } from "./index-
|
2
|
+
import { _ as T } from "./index-CKvtn0DY.js";
|
3
3
|
const E = { class: "h-full flex flex-col" }, H = { class: "flex-1 overflow-hidden" }, B = {
|
4
4
|
__name: "dataConfig",
|
5
5
|
props: {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { computed as S, ref as C, resolveComponent as u, openBlock as k, createElementBlock as O, Fragment as U, createVNode as e, withCtx as l, createTextVNode as f, unref as i, isRef as J, createElementVNode as c } from "vue";
|
2
|
-
import { _ as E } from "./index-
|
2
|
+
import { _ as E } from "./index-CKvtn0DY.js";
|
3
3
|
const H = { class: "h-full flex flex-col" }, B = { class: "flex-1 overflow-hidden" }, T = {
|
4
4
|
__name: "dataConfig",
|
5
5
|
props: {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { computed as z, ref as x, resolveComponent as p, openBlock as k, createElementBlock as U, Fragment as O, createVNode as e, withCtx as l, createTextVNode as V, unref as u, isRef as J, createElementVNode as m } from "vue";
|
2
|
-
import { _ as E, c as H } from "./index-
|
2
|
+
import { _ as E, c as H } from "./index-CKvtn0DY.js";
|
3
3
|
const h = { class: "h-full flex flex-col" }, B = { class: "flex-1 overflow-hidden" }, T = /* @__PURE__ */ Object.assign({ name: "commonStyleConfig" }, {
|
4
4
|
__name: "dataConfig",
|
5
5
|
props: {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { resolveComponent as n, openBlock as
|
2
|
-
const
|
1
|
+
import { resolveComponent as n, openBlock as b, createElementBlock as f, Fragment as _, createVNode as e, withCtx as d, unref as t } from "vue";
|
2
|
+
const L = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
|
3
3
|
__name: "index",
|
4
4
|
props: {
|
5
5
|
designer: {
|
@@ -13,25 +13,30 @@ const _ = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
|
|
13
13
|
},
|
14
14
|
setup(m) {
|
15
15
|
let l = m;
|
16
|
-
|
17
|
-
|
18
|
-
|
16
|
+
const V = (s) => {
|
17
|
+
s && (l.widget.props.postLastLevel = !1);
|
18
|
+
}, g = (s) => {
|
19
|
+
s && (l.widget.props.multiple = !1);
|
20
|
+
};
|
21
|
+
return (s, o) => {
|
22
|
+
const r = n("el-option"), w = n("el-select"), a = n("common-label-container"), i = n("el-input"), u = n("el-switch");
|
23
|
+
return b(), f(_, null, [
|
19
24
|
e(a, { label: "组件尺寸" }, {
|
20
|
-
default:
|
21
|
-
e(
|
25
|
+
default: d(() => [
|
26
|
+
e(w, {
|
22
27
|
modelValue: t(l).widget.props.size,
|
23
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
28
|
+
"onUpdate:modelValue": o[0] || (o[0] = (p) => t(l).widget.props.size = p)
|
24
29
|
}, {
|
25
|
-
default:
|
26
|
-
e(
|
30
|
+
default: d(() => [
|
31
|
+
e(r, {
|
27
32
|
label: "大尺寸",
|
28
33
|
value: "large"
|
29
34
|
}),
|
30
|
-
e(
|
35
|
+
e(r, {
|
31
36
|
label: "默认",
|
32
37
|
value: "default"
|
33
38
|
}),
|
34
|
-
e(
|
39
|
+
e(r, {
|
35
40
|
label: "小尺寸",
|
36
41
|
value: "small"
|
37
42
|
})
|
@@ -42,85 +47,96 @@ const _ = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
|
|
42
47
|
_: 1
|
43
48
|
}),
|
44
49
|
e(a, { label: "数据源真实值" }, {
|
45
|
-
default:
|
46
|
-
e(
|
50
|
+
default: d(() => [
|
51
|
+
e(i, {
|
47
52
|
modelValue: t(l).widget.props.propsKey,
|
48
|
-
"onUpdate:modelValue": o[1] || (o[1] = (
|
53
|
+
"onUpdate:modelValue": o[1] || (o[1] = (p) => t(l).widget.props.propsKey = p),
|
49
54
|
placeholder: "填写数据源真实值"
|
50
55
|
}, null, 8, ["modelValue"])
|
51
56
|
]),
|
52
57
|
_: 1
|
53
58
|
}),
|
54
59
|
e(a, { label: "数据源显示值" }, {
|
55
|
-
default:
|
56
|
-
e(
|
60
|
+
default: d(() => [
|
61
|
+
e(i, {
|
57
62
|
modelValue: t(l).widget.props.propsLabel,
|
58
|
-
"onUpdate:modelValue": o[2] || (o[2] = (
|
63
|
+
"onUpdate:modelValue": o[2] || (o[2] = (p) => t(l).widget.props.propsLabel = p),
|
59
64
|
placeholder: "填写数据源显示值"
|
60
65
|
}, null, 8, ["modelValue"])
|
61
66
|
]),
|
62
67
|
_: 1
|
63
68
|
}),
|
64
69
|
e(a, { label: "数据源子级" }, {
|
65
|
-
default:
|
66
|
-
e(
|
70
|
+
default: d(() => [
|
71
|
+
e(i, {
|
67
72
|
modelValue: t(l).widget.props.propsChildren,
|
68
|
-
"onUpdate:modelValue": o[3] || (o[3] = (
|
73
|
+
"onUpdate:modelValue": o[3] || (o[3] = (p) => t(l).widget.props.propsChildren = p),
|
69
74
|
placeholder: "填写数据源子级"
|
70
75
|
}, null, 8, ["modelValue"])
|
71
76
|
]),
|
72
77
|
_: 1
|
73
78
|
}),
|
74
79
|
e(a, { label: "是否必填" }, {
|
75
|
-
default:
|
80
|
+
default: d(() => [
|
76
81
|
e(u, {
|
77
82
|
modelValue: t(l).widget.props.required,
|
78
|
-
"onUpdate:modelValue": o[4] || (o[4] = (
|
83
|
+
"onUpdate:modelValue": o[4] || (o[4] = (p) => t(l).widget.props.required = p)
|
79
84
|
}, null, 8, ["modelValue"])
|
80
85
|
]),
|
81
86
|
_: 1
|
82
87
|
}),
|
83
88
|
e(a, { label: "是否禁用" }, {
|
84
|
-
default:
|
89
|
+
default: d(() => [
|
85
90
|
e(u, {
|
86
91
|
modelValue: t(l).widget.props.disabled,
|
87
|
-
"onUpdate:modelValue": o[5] || (o[5] = (
|
92
|
+
"onUpdate:modelValue": o[5] || (o[5] = (p) => t(l).widget.props.disabled = p)
|
88
93
|
}, null, 8, ["modelValue"])
|
89
94
|
]),
|
90
95
|
_: 1
|
91
96
|
}),
|
92
97
|
e(a, { label: "显示全部级" }, {
|
93
|
-
default:
|
98
|
+
default: d(() => [
|
94
99
|
e(u, {
|
95
100
|
modelValue: t(l).widget.props.showAllLevels,
|
96
|
-
"onUpdate:modelValue": o[6] || (o[6] = (
|
101
|
+
"onUpdate:modelValue": o[6] || (o[6] = (p) => t(l).widget.props.showAllLevels = p)
|
97
102
|
}, null, 8, ["modelValue"])
|
98
103
|
]),
|
99
104
|
_: 1
|
100
105
|
}),
|
101
106
|
e(a, { label: "是否可清除" }, {
|
102
|
-
default:
|
107
|
+
default: d(() => [
|
103
108
|
e(u, {
|
104
109
|
modelValue: t(l).widget.props.clearable,
|
105
|
-
"onUpdate:modelValue": o[7] || (o[7] = (
|
110
|
+
"onUpdate:modelValue": o[7] || (o[7] = (p) => t(l).widget.props.clearable = p)
|
106
111
|
}, null, 8, ["modelValue"])
|
107
112
|
]),
|
108
113
|
_: 1
|
109
114
|
}),
|
110
115
|
e(a, { label: "是否只传末级" }, {
|
111
|
-
default:
|
116
|
+
default: d(() => [
|
112
117
|
e(u, {
|
118
|
+
onChange: g,
|
113
119
|
modelValue: t(l).widget.props.postLastLevel,
|
114
|
-
"onUpdate:modelValue": o[8] || (o[8] = (
|
120
|
+
"onUpdate:modelValue": o[8] || (o[8] = (p) => t(l).widget.props.postLastLevel = p)
|
115
121
|
}, null, 8, ["modelValue"])
|
116
122
|
]),
|
117
123
|
_: 1
|
118
124
|
}),
|
119
125
|
e(a, { label: "是否可选任一级" }, {
|
120
|
-
default:
|
126
|
+
default: d(() => [
|
121
127
|
e(u, {
|
122
128
|
modelValue: t(l).widget.props.checkStrictly,
|
123
|
-
"onUpdate:modelValue": o[9] || (o[9] = (
|
129
|
+
"onUpdate:modelValue": o[9] || (o[9] = (p) => t(l).widget.props.checkStrictly = p)
|
130
|
+
}, null, 8, ["modelValue"])
|
131
|
+
]),
|
132
|
+
_: 1
|
133
|
+
}),
|
134
|
+
e(a, { label: "是否多选" }, {
|
135
|
+
default: d(() => [
|
136
|
+
e(u, {
|
137
|
+
onChange: V,
|
138
|
+
modelValue: t(l).widget.props.multiple,
|
139
|
+
"onUpdate:modelValue": o[10] || (o[10] = (p) => t(l).widget.props.multiple = p)
|
124
140
|
}, null, 8, ["modelValue"])
|
125
141
|
]),
|
126
142
|
_: 1
|
@@ -130,5 +146,5 @@ const _ = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
|
|
130
146
|
}
|
131
147
|
});
|
132
148
|
export {
|
133
|
-
|
149
|
+
L as default
|
134
150
|
};
|
package/dist/sun-form-v3.es.js
CHANGED