sun-form-v3 1.0.97 → 1.0.99

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,20 @@
1
+ import "vue";
2
+ const c = /* @__PURE__ */ Object.assign({ name: "config-title" }, {
3
+ __name: "index",
4
+ props: {
5
+ designer: {
6
+ type: Object,
7
+ default: {}
8
+ },
9
+ widget: {
10
+ type: Object,
11
+ default: {}
12
+ }
13
+ },
14
+ setup(e) {
15
+ return (t, n) => null;
16
+ }
17
+ });
18
+ export {
19
+ c as default
20
+ };
@@ -0,0 +1,116 @@
1
+ import { resolveComponent as n, openBlock as V, createElementBlock as b, Fragment as g, createVNode as e, withCtx as p, unref as t } from "vue";
2
+ const _ = /* @__PURE__ */ Object.assign({ name: "config-cascader" }, {
3
+ __name: "index",
4
+ props: {
5
+ designer: {
6
+ type: Object,
7
+ default: {}
8
+ },
9
+ widget: {
10
+ type: Object,
11
+ default: {}
12
+ }
13
+ },
14
+ setup(m) {
15
+ let l = m;
16
+ return (w, o) => {
17
+ const r = n("el-option"), i = n("el-select"), a = n("common-label-container"), s = n("el-input"), u = n("el-switch");
18
+ return V(), b(g, null, [
19
+ e(a, { label: "组件尺寸" }, {
20
+ default: p(() => [
21
+ e(i, {
22
+ modelValue: t(l).widget.props.size,
23
+ "onUpdate:modelValue": o[0] || (o[0] = (d) => t(l).widget.props.size = d)
24
+ }, {
25
+ default: p(() => [
26
+ e(r, {
27
+ label: "大尺寸",
28
+ value: "large"
29
+ }),
30
+ e(r, {
31
+ label: "默认",
32
+ value: "default"
33
+ }),
34
+ e(r, {
35
+ label: "小尺寸",
36
+ value: "small"
37
+ })
38
+ ]),
39
+ _: 1
40
+ }, 8, ["modelValue"])
41
+ ]),
42
+ _: 1
43
+ }),
44
+ e(a, { label: "数据源真实值" }, {
45
+ default: p(() => [
46
+ e(s, {
47
+ modelValue: t(l).widget.props.propsKey,
48
+ "onUpdate:modelValue": o[1] || (o[1] = (d) => t(l).widget.props.propsKey = d),
49
+ placeholder: "填写数据源真实值"
50
+ }, null, 8, ["modelValue"])
51
+ ]),
52
+ _: 1
53
+ }),
54
+ e(a, { label: "数据源显示值" }, {
55
+ default: p(() => [
56
+ e(s, {
57
+ modelValue: t(l).widget.props.propsLabel,
58
+ "onUpdate:modelValue": o[2] || (o[2] = (d) => t(l).widget.props.propsLabel = d),
59
+ placeholder: "填写数据源显示值"
60
+ }, null, 8, ["modelValue"])
61
+ ]),
62
+ _: 1
63
+ }),
64
+ e(a, { label: "数据源子级" }, {
65
+ default: p(() => [
66
+ e(s, {
67
+ modelValue: t(l).widget.props.propsChildren,
68
+ "onUpdate:modelValue": o[3] || (o[3] = (d) => t(l).widget.props.propsChildren = d),
69
+ placeholder: "填写数据源子级"
70
+ }, null, 8, ["modelValue"])
71
+ ]),
72
+ _: 1
73
+ }),
74
+ e(a, { label: "是否必填" }, {
75
+ default: p(() => [
76
+ e(u, {
77
+ modelValue: t(l).widget.props.required,
78
+ "onUpdate:modelValue": o[4] || (o[4] = (d) => t(l).widget.props.required = d)
79
+ }, null, 8, ["modelValue"])
80
+ ]),
81
+ _: 1
82
+ }),
83
+ e(a, { label: "是否禁用" }, {
84
+ default: p(() => [
85
+ e(u, {
86
+ modelValue: t(l).widget.props.disabled,
87
+ "onUpdate:modelValue": o[5] || (o[5] = (d) => t(l).widget.props.disabled = d)
88
+ }, null, 8, ["modelValue"])
89
+ ]),
90
+ _: 1
91
+ }),
92
+ e(a, { label: "显示全部级" }, {
93
+ default: p(() => [
94
+ e(u, {
95
+ modelValue: t(l).widget.props.showAllLevels,
96
+ "onUpdate:modelValue": o[6] || (o[6] = (d) => t(l).widget.props.showAllLevels = d)
97
+ }, null, 8, ["modelValue"])
98
+ ]),
99
+ _: 1
100
+ }),
101
+ e(a, { label: "是否可清除" }, {
102
+ default: p(() => [
103
+ e(u, {
104
+ modelValue: t(l).widget.props.clearable,
105
+ "onUpdate:modelValue": o[7] || (o[7] = (d) => t(l).widget.props.clearable = d)
106
+ }, null, 8, ["modelValue"])
107
+ ]),
108
+ _: 1
109
+ })
110
+ ], 64);
111
+ };
112
+ }
113
+ });
114
+ export {
115
+ _ as default
116
+ };