sun-form-v3 1.0.117 → 1.0.119
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-Bb57DL9x.js → index-B1b5cejN.js} +37 -19
- package/dist/{index-DaUdaYWj.js → index-Bl6kIsg1.js} +1 -1
- package/dist/{index-J40L3rCT.js → index-BwRxierB.js} +1 -1
- package/dist/{index-eJQFWCeP.js → index-CZZfzYn7.js} +32 -14
- package/dist/{index-4Ljo76X6.js → index-Ckj8sypD.js} +5080 -5047
- package/dist/{index-BUVPBgRs.js → index-CwosZ_y0.js} +1 -1
- package/dist/{index-C6OVoU-h.js → index-DA2Ihhl8.js} +1 -1
- package/dist/{index-dl_vLXJZ.js → index-DVWUSt1J.js} +1 -1
- package/dist/{index-BgKjpeMJ.js → index-D_2YbeG6.js} +1 -1
- package/dist/loader.min.js +4 -0
- package/dist/style.css +1 -1
- package/dist/sun-form-v3.es.js +1 -1
- package/dist/sun-form-v3.umd.js +113 -113
- package/package.json +1 -1
@@ -1,5 +1,5 @@
|
|
1
|
-
import { resolveComponent as
|
2
|
-
const
|
1
|
+
import { resolveComponent as u, openBlock as V, createElementBlock as g, Fragment as w, createVNode as e, withCtx as d, unref as t } from "vue";
|
2
|
+
const _ = /* @__PURE__ */ Object.assign({ name: "config-select" }, {
|
3
3
|
__name: "index",
|
4
4
|
props: {
|
5
5
|
designer: {
|
@@ -13,25 +13,25 @@ const f = /* @__PURE__ */ Object.assign({ name: "config-select" }, {
|
|
13
13
|
},
|
14
14
|
setup(s) {
|
15
15
|
let l = s;
|
16
|
-
return (
|
17
|
-
const
|
18
|
-
return
|
19
|
-
e(
|
16
|
+
return (b, o) => {
|
17
|
+
const r = u("el-option"), m = u("el-select"), p = u("common-label-container"), i = u("el-input"), n = u("el-switch");
|
18
|
+
return V(), g(w, null, [
|
19
|
+
e(p, { label: "组件尺寸" }, {
|
20
20
|
default: d(() => [
|
21
21
|
e(m, {
|
22
22
|
modelValue: t(l).widget.props.size,
|
23
23
|
"onUpdate:modelValue": o[0] || (o[0] = (a) => t(l).widget.props.size = a)
|
24
24
|
}, {
|
25
25
|
default: d(() => [
|
26
|
-
e(
|
26
|
+
e(r, {
|
27
27
|
label: "大尺寸",
|
28
28
|
value: "large"
|
29
29
|
}),
|
30
|
-
e(
|
30
|
+
e(r, {
|
31
31
|
label: "默认",
|
32
32
|
value: "default"
|
33
33
|
}),
|
34
|
-
e(
|
34
|
+
e(r, {
|
35
35
|
label: "小尺寸",
|
36
36
|
value: "small"
|
37
37
|
})
|
@@ -41,7 +41,7 @@ const f = /* @__PURE__ */ Object.assign({ name: "config-select" }, {
|
|
41
41
|
]),
|
42
42
|
_: 1
|
43
43
|
}),
|
44
|
-
e(
|
44
|
+
e(p, { label: "占位文字" }, {
|
45
45
|
default: d(() => [
|
46
46
|
e(i, {
|
47
47
|
modelValue: t(l).widget.props.placeholder,
|
@@ -51,29 +51,47 @@ const f = /* @__PURE__ */ Object.assign({ name: "config-select" }, {
|
|
51
51
|
]),
|
52
52
|
_: 1
|
53
53
|
}),
|
54
|
-
e(
|
54
|
+
e(p, { label: "是否必填" }, {
|
55
55
|
default: d(() => [
|
56
|
-
e(
|
56
|
+
e(n, {
|
57
57
|
modelValue: t(l).widget.props.required,
|
58
58
|
"onUpdate:modelValue": o[2] || (o[2] = (a) => t(l).widget.props.required = a)
|
59
59
|
}, null, 8, ["modelValue"])
|
60
60
|
]),
|
61
61
|
_: 1
|
62
62
|
}),
|
63
|
-
e(
|
63
|
+
e(p, { label: "下拉显示值" }, {
|
64
64
|
default: d(() => [
|
65
|
-
e(
|
65
|
+
e(n, {
|
66
|
+
modelValue: t(l).widget.props.showKeyValue,
|
67
|
+
"onUpdate:modelValue": o[3] || (o[3] = (a) => t(l).widget.props.showKeyValue = a)
|
68
|
+
}, null, 8, ["modelValue"])
|
69
|
+
]),
|
70
|
+
_: 1
|
71
|
+
}),
|
72
|
+
e(p, { label: "显示值反转" }, {
|
73
|
+
default: d(() => [
|
74
|
+
e(n, {
|
75
|
+
modelValue: t(l).widget.props.keyValueReverse,
|
76
|
+
"onUpdate:modelValue": o[4] || (o[4] = (a) => t(l).widget.props.keyValueReverse = a)
|
77
|
+
}, null, 8, ["modelValue"])
|
78
|
+
]),
|
79
|
+
_: 1
|
80
|
+
}),
|
81
|
+
e(p, { label: "是否可清除" }, {
|
82
|
+
default: d(() => [
|
83
|
+
e(n, {
|
66
84
|
modelValue: t(l).widget.props.clearable,
|
67
|
-
"onUpdate:modelValue": o[
|
85
|
+
"onUpdate:modelValue": o[5] || (o[5] = (a) => t(l).widget.props.clearable = a)
|
68
86
|
}, null, 8, ["modelValue"])
|
69
87
|
]),
|
70
88
|
_: 1
|
71
89
|
}),
|
72
|
-
e(
|
90
|
+
e(p, { label: "是否禁用" }, {
|
73
91
|
default: d(() => [
|
74
|
-
e(
|
92
|
+
e(n, {
|
75
93
|
modelValue: t(l).widget.props.disabled,
|
76
|
-
"onUpdate:modelValue": o[
|
94
|
+
"onUpdate:modelValue": o[6] || (o[6] = (a) => t(l).widget.props.disabled = a)
|
77
95
|
}, null, 8, ["modelValue"])
|
78
96
|
]),
|
79
97
|
_: 1
|
@@ -83,5 +101,5 @@ const f = /* @__PURE__ */ Object.assign({ name: "config-select" }, {
|
|
83
101
|
}
|
84
102
|
});
|
85
103
|
export {
|
86
|
-
|
104
|
+
_ as default
|
87
105
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { computed as j, ref as g, onMounted as $, resolveComponent as f, openBlock as v, createElementBlock as h, Fragment as x, createVNode as u, withCtx as o, createTextVNode as C, createElementVNode as a, 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-Ckj8sypD.js";
|
3
3
|
const R = { class: "flex-wrap flex" }, S = ["onClick"], T = { 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" }, z = { class: "lab border-t w-full text-center mt-1 font-bold" }, F = /* @__PURE__ */ Object.assign({ name: "chatChoose" }, {
|
4
4
|
__name: "chartChoose",
|
5
5
|
props: {
|
@@ -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-Ckj8sypD.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,4 +1,4 @@
|
|
1
|
-
import { resolveComponent as
|
1
|
+
import { resolveComponent as u, openBlock as g, createElementBlock as w, Fragment as b, createVNode as e, withCtx as d, unref as t } from "vue";
|
2
2
|
const c = /* @__PURE__ */ Object.assign({ name: "config-selects" }, {
|
3
3
|
__name: "index",
|
4
4
|
props: {
|
@@ -13,9 +13,9 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-selects" }, {
|
|
13
13
|
},
|
14
14
|
setup(m) {
|
15
15
|
let l = m;
|
16
|
-
return (
|
17
|
-
const
|
18
|
-
return
|
16
|
+
return (f, o) => {
|
17
|
+
const s = u("el-option"), r = u("el-select"), p = u("common-label-container"), i = u("el-input-number"), V = u("el-input"), n = u("el-switch");
|
18
|
+
return g(), w(b, null, [
|
19
19
|
e(p, { label: "组件尺寸" }, {
|
20
20
|
default: d(() => [
|
21
21
|
e(r, {
|
@@ -23,15 +23,15 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-selects" }, {
|
|
23
23
|
"onUpdate:modelValue": o[0] || (o[0] = (a) => t(l).widget.props.size = a)
|
24
24
|
}, {
|
25
25
|
default: d(() => [
|
26
|
-
e(
|
26
|
+
e(s, {
|
27
27
|
label: "大尺寸",
|
28
28
|
value: "large"
|
29
29
|
}),
|
30
|
-
e(
|
30
|
+
e(s, {
|
31
31
|
label: "默认",
|
32
32
|
value: "default"
|
33
33
|
}),
|
34
|
-
e(
|
34
|
+
e(s, {
|
35
35
|
label: "小尺寸",
|
36
36
|
value: "small"
|
37
37
|
})
|
@@ -69,7 +69,7 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-selects" }, {
|
|
69
69
|
}),
|
70
70
|
e(p, { label: "占位文字" }, {
|
71
71
|
default: d(() => [
|
72
|
-
e(
|
72
|
+
e(V, {
|
73
73
|
modelValue: t(l).widget.props.placeholder,
|
74
74
|
"onUpdate:modelValue": o[3] || (o[3] = (a) => t(l).widget.props.placeholder = a),
|
75
75
|
placeholder: "填写占位文字"
|
@@ -77,29 +77,47 @@ const c = /* @__PURE__ */ Object.assign({ name: "config-selects" }, {
|
|
77
77
|
]),
|
78
78
|
_: 1
|
79
79
|
}),
|
80
|
+
e(p, { label: "下拉显示值" }, {
|
81
|
+
default: d(() => [
|
82
|
+
e(n, {
|
83
|
+
modelValue: t(l).widget.props.showKeyValue,
|
84
|
+
"onUpdate:modelValue": o[4] || (o[4] = (a) => t(l).widget.props.showKeyValue = a)
|
85
|
+
}, null, 8, ["modelValue"])
|
86
|
+
]),
|
87
|
+
_: 1
|
88
|
+
}),
|
89
|
+
e(p, { label: "显示值反转" }, {
|
90
|
+
default: d(() => [
|
91
|
+
e(n, {
|
92
|
+
modelValue: t(l).widget.props.keyValueReverse,
|
93
|
+
"onUpdate:modelValue": o[5] || (o[5] = (a) => t(l).widget.props.keyValueReverse = a)
|
94
|
+
}, null, 8, ["modelValue"])
|
95
|
+
]),
|
96
|
+
_: 1
|
97
|
+
}),
|
80
98
|
e(p, { label: "是否必填" }, {
|
81
99
|
default: d(() => [
|
82
|
-
e(
|
100
|
+
e(n, {
|
83
101
|
modelValue: t(l).widget.props.required,
|
84
|
-
"onUpdate:modelValue": o[
|
102
|
+
"onUpdate:modelValue": o[6] || (o[6] = (a) => t(l).widget.props.required = a)
|
85
103
|
}, null, 8, ["modelValue"])
|
86
104
|
]),
|
87
105
|
_: 1
|
88
106
|
}),
|
89
107
|
e(p, { label: "是否可清除" }, {
|
90
108
|
default: d(() => [
|
91
|
-
e(
|
109
|
+
e(n, {
|
92
110
|
modelValue: t(l).widget.props.clearable,
|
93
|
-
"onUpdate:modelValue": o[
|
111
|
+
"onUpdate:modelValue": o[7] || (o[7] = (a) => t(l).widget.props.clearable = a)
|
94
112
|
}, null, 8, ["modelValue"])
|
95
113
|
]),
|
96
114
|
_: 1
|
97
115
|
}),
|
98
116
|
e(p, { label: "是否禁用" }, {
|
99
117
|
default: d(() => [
|
100
|
-
e(
|
118
|
+
e(n, {
|
101
119
|
modelValue: t(l).widget.props.disabled,
|
102
|
-
"onUpdate:modelValue": o[
|
120
|
+
"onUpdate:modelValue": o[8] || (o[8] = (a) => t(l).widget.props.disabled = a)
|
103
121
|
}, null, 8, ["modelValue"])
|
104
122
|
]),
|
105
123
|
_: 1
|