sun-form-v3 1.0.127 → 1.0.129

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sun-form-v3",
3
3
  "private": false,
4
- "version": "1.0.127",
4
+ "version": "1.0.129",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -1,151 +0,0 @@
1
- import { resolveComponent as s, openBlock as b, createElementBlock as f, Fragment as _, createVNode as l, withCtx as d, unref as t } from "vue";
2
- const L = /* @__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(g) {
15
- let e = g;
16
- const V = (u) => {
17
- e.widget.props.postLastLevel = !u, e.widget.props.checkStrictly = !u;
18
- }, m = (u) => {
19
- u && (e.widget.props.multiple = !1);
20
- };
21
- return (u, o) => {
22
- const r = s("el-option"), w = s("el-select"), a = s("common-label-container"), i = s("el-input"), n = s("el-switch");
23
- return b(), f(_, null, [
24
- l(a, { label: "组件尺寸" }, {
25
- default: d(() => [
26
- l(w, {
27
- modelValue: t(e).widget.props.size,
28
- "onUpdate:modelValue": o[0] || (o[0] = (p) => t(e).widget.props.size = p)
29
- }, {
30
- default: d(() => [
31
- l(r, {
32
- label: "大尺寸",
33
- value: "large"
34
- }),
35
- l(r, {
36
- label: "默认",
37
- value: "default"
38
- }),
39
- l(r, {
40
- label: "小尺寸",
41
- value: "small"
42
- })
43
- ]),
44
- _: 1
45
- }, 8, ["modelValue"])
46
- ]),
47
- _: 1
48
- }),
49
- l(a, { label: "数据源真实值" }, {
50
- default: d(() => [
51
- l(i, {
52
- modelValue: t(e).widget.props.propsKey,
53
- "onUpdate:modelValue": o[1] || (o[1] = (p) => t(e).widget.props.propsKey = p),
54
- placeholder: "填写数据源真实值"
55
- }, null, 8, ["modelValue"])
56
- ]),
57
- _: 1
58
- }),
59
- l(a, { label: "数据源显示值" }, {
60
- default: d(() => [
61
- l(i, {
62
- modelValue: t(e).widget.props.propsLabel,
63
- "onUpdate:modelValue": o[2] || (o[2] = (p) => t(e).widget.props.propsLabel = p),
64
- placeholder: "填写数据源显示值"
65
- }, null, 8, ["modelValue"])
66
- ]),
67
- _: 1
68
- }),
69
- l(a, { label: "数据源子级" }, {
70
- default: d(() => [
71
- l(i, {
72
- modelValue: t(e).widget.props.propsChildren,
73
- "onUpdate:modelValue": o[3] || (o[3] = (p) => t(e).widget.props.propsChildren = p),
74
- placeholder: "填写数据源子级"
75
- }, null, 8, ["modelValue"])
76
- ]),
77
- _: 1
78
- }),
79
- l(a, { label: "是否必填" }, {
80
- default: d(() => [
81
- l(n, {
82
- modelValue: t(e).widget.props.required,
83
- "onUpdate:modelValue": o[4] || (o[4] = (p) => t(e).widget.props.required = p)
84
- }, null, 8, ["modelValue"])
85
- ]),
86
- _: 1
87
- }),
88
- l(a, { label: "是否禁用" }, {
89
- default: d(() => [
90
- l(n, {
91
- modelValue: t(e).widget.props.disabled,
92
- "onUpdate:modelValue": o[5] || (o[5] = (p) => t(e).widget.props.disabled = p)
93
- }, null, 8, ["modelValue"])
94
- ]),
95
- _: 1
96
- }),
97
- l(a, { label: "显示全部级" }, {
98
- default: d(() => [
99
- l(n, {
100
- modelValue: t(e).widget.props.showAllLevels,
101
- "onUpdate:modelValue": o[6] || (o[6] = (p) => t(e).widget.props.showAllLevels = p)
102
- }, null, 8, ["modelValue"])
103
- ]),
104
- _: 1
105
- }),
106
- l(a, { label: "是否可清除" }, {
107
- default: d(() => [
108
- l(n, {
109
- modelValue: t(e).widget.props.clearable,
110
- "onUpdate:modelValue": o[7] || (o[7] = (p) => t(e).widget.props.clearable = p)
111
- }, null, 8, ["modelValue"])
112
- ]),
113
- _: 1
114
- }),
115
- l(a, { label: "是否只传末级" }, {
116
- default: d(() => [
117
- l(n, {
118
- onChange: m,
119
- modelValue: t(e).widget.props.postLastLevel,
120
- "onUpdate:modelValue": o[8] || (o[8] = (p) => t(e).widget.props.postLastLevel = p)
121
- }, null, 8, ["modelValue"])
122
- ]),
123
- _: 1
124
- }),
125
- l(a, { label: "是否可选任一级" }, {
126
- default: d(() => [
127
- l(n, {
128
- onChange: m,
129
- modelValue: t(e).widget.props.checkStrictly,
130
- "onUpdate:modelValue": o[9] || (o[9] = (p) => t(e).widget.props.checkStrictly = p)
131
- }, null, 8, ["modelValue"])
132
- ]),
133
- _: 1
134
- }),
135
- l(a, { label: "是否多选" }, {
136
- default: d(() => [
137
- l(n, {
138
- onChange: V,
139
- modelValue: t(e).widget.props.multiple,
140
- "onUpdate:modelValue": o[10] || (o[10] = (p) => t(e).widget.props.multiple = p)
141
- }, null, 8, ["modelValue"])
142
- ]),
143
- _: 1
144
- })
145
- ], 64);
146
- };
147
- }
148
- });
149
- export {
150
- L as default
151
- };