sun-form-v3 1.0.79 → 1.0.81

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,79 @@
1
+ import { resolveComponent as a, openBlock as c, createElementBlock as _, Fragment as b, createVNode as e, withCtx as d, unref as o } from "vue";
2
+ const w = /* @__PURE__ */ Object.assign({ name: "config-switch" }, {
3
+ __name: "index",
4
+ props: {
5
+ designer: {
6
+ type: Object,
7
+ default: {}
8
+ },
9
+ widget: {
10
+ type: Object,
11
+ default: {}
12
+ }
13
+ },
14
+ setup(s) {
15
+ let l = s;
16
+ return (g, t) => {
17
+ const i = a("el-option"), m = a("el-select"), p = a("common-label-container"), u = a("el-input"), r = a("el-switch");
18
+ return c(), _(b, null, [
19
+ e(p, { label: "组件尺寸" }, {
20
+ default: d(() => [
21
+ e(m, {
22
+ modelValue: o(l).widget.props.size,
23
+ "onUpdate:modelValue": t[0] || (t[0] = (n) => o(l).widget.props.size = n)
24
+ }, {
25
+ default: d(() => [
26
+ e(i, {
27
+ label: "大尺寸",
28
+ value: "large"
29
+ }),
30
+ e(i, {
31
+ label: "默认",
32
+ value: "default"
33
+ }),
34
+ e(i, {
35
+ label: "小尺寸",
36
+ value: "small"
37
+ })
38
+ ]),
39
+ _: 1
40
+ }, 8, ["modelValue"])
41
+ ]),
42
+ _: 1
43
+ }),
44
+ e(p, { label: "打开文字" }, {
45
+ default: d(() => [
46
+ e(u, {
47
+ modelValue: o(l).widget.props.activeText,
48
+ "onUpdate:modelValue": t[1] || (t[1] = (n) => o(l).widget.props.activeText = n),
49
+ placeholder: "填写打开文字"
50
+ }, null, 8, ["modelValue"])
51
+ ]),
52
+ _: 1
53
+ }),
54
+ e(p, { label: "关闭文字" }, {
55
+ default: d(() => [
56
+ e(u, {
57
+ modelValue: o(l).widget.props.inactiveText,
58
+ "onUpdate:modelValue": t[2] || (t[2] = (n) => o(l).widget.props.inactiveText = n),
59
+ placeholder: "填写关闭文字"
60
+ }, null, 8, ["modelValue"])
61
+ ]),
62
+ _: 1
63
+ }),
64
+ e(p, { label: "是否禁用" }, {
65
+ default: d(() => [
66
+ e(r, {
67
+ modelValue: o(l).widget.props.disabled,
68
+ "onUpdate:modelValue": t[3] || (t[3] = (n) => o(l).widget.props.disabled = n)
69
+ }, null, 8, ["modelValue"])
70
+ ]),
71
+ _: 1
72
+ })
73
+ ], 64);
74
+ };
75
+ }
76
+ });
77
+ export {
78
+ w as default
79
+ };
@@ -1,5 +1,5 @@
1
- import { resolveComponent as n, openBlock as g, createElementBlock as w, Fragment as b, createVNode as e, withCtx as p, unref as t } from "vue";
2
- const x = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
1
+ import { resolveComponent as u, openBlock as V, createElementBlock as g, Fragment as b, createVNode as e, withCtx as p, unref as o, createBlock as f, createCommentVNode as _ } from "vue";
2
+ const y = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
3
3
  __name: "index",
4
4
  props: {
5
5
  designer: {
@@ -11,27 +11,27 @@ const x = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
11
11
  default: {}
12
12
  }
13
13
  },
14
- setup(s) {
15
- let l = s;
16
- return (f, o) => {
17
- const u = n("el-option"), i = n("el-select"), a = n("common-label-container"), m = n("el-input"), V = n("el-input-number"), r = n("el-switch");
18
- return g(), w(b, null, [
14
+ setup(w) {
15
+ let l = w;
16
+ return (x, t) => {
17
+ const n = u("el-option"), i = u("el-select"), a = u("common-label-container"), m = u("el-input"), s = u("el-input-number"), r = u("el-switch");
18
+ return V(), g(b, null, [
19
19
  e(a, { label: "组件尺寸" }, {
20
20
  default: p(() => [
21
21
  e(i, {
22
- modelValue: t(l).widget.props.size,
23
- "onUpdate:modelValue": o[0] || (o[0] = (d) => t(l).widget.props.size = d)
22
+ modelValue: o(l).widget.props.size,
23
+ "onUpdate:modelValue": t[0] || (t[0] = (d) => o(l).widget.props.size = d)
24
24
  }, {
25
25
  default: p(() => [
26
- e(u, {
26
+ e(n, {
27
27
  label: "大尺寸",
28
28
  value: "large"
29
29
  }),
30
- e(u, {
30
+ e(n, {
31
31
  label: "默认",
32
32
  value: "default"
33
33
  }),
34
- e(u, {
34
+ e(n, {
35
35
  label: "小尺寸",
36
36
  value: "small"
37
37
  })
@@ -44,17 +44,21 @@ const x = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
44
44
  e(a, { label: "组件类型" }, {
45
45
  default: p(() => [
46
46
  e(i, {
47
- modelValue: t(l).widget.props.type,
48
- "onUpdate:modelValue": o[1] || (o[1] = (d) => t(l).widget.props.type = d)
47
+ modelValue: o(l).widget.props.type,
48
+ "onUpdate:modelValue": t[1] || (t[1] = (d) => o(l).widget.props.type = d)
49
49
  }, {
50
50
  default: p(() => [
51
- e(u, {
51
+ e(n, {
52
52
  label: "文字",
53
53
  value: "text"
54
54
  }),
55
- e(u, {
55
+ e(n, {
56
56
  label: "密码",
57
57
  value: "password"
58
+ }),
59
+ e(n, {
60
+ label: "文本域",
61
+ value: "textarea"
58
62
  })
59
63
  ]),
60
64
  _: 1
@@ -65,8 +69,8 @@ const x = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
65
69
  e(a, { label: "占位文字" }, {
66
70
  default: p(() => [
67
71
  e(m, {
68
- modelValue: t(l).widget.props.placeholder,
69
- "onUpdate:modelValue": o[2] || (o[2] = (d) => t(l).widget.props.placeholder = d),
72
+ modelValue: o(l).widget.props.placeholder,
73
+ "onUpdate:modelValue": t[2] || (t[2] = (d) => o(l).widget.props.placeholder = d),
70
74
  placeholder: "填写占位文字"
71
75
  }, null, 8, ["modelValue"])
72
76
  ]),
@@ -75,8 +79,8 @@ const x = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
75
79
  e(a, { label: "前置内容文字" }, {
76
80
  default: p(() => [
77
81
  e(m, {
78
- modelValue: t(l).widget.props.prependText,
79
- "onUpdate:modelValue": o[3] || (o[3] = (d) => t(l).widget.props.prependText = d),
82
+ modelValue: o(l).widget.props.prependText,
83
+ "onUpdate:modelValue": t[3] || (t[3] = (d) => o(l).widget.props.prependText = d),
80
84
  placeholder: "填写末尾按钮文字"
81
85
  }, null, 8, ["modelValue"])
82
86
  ]),
@@ -85,8 +89,8 @@ const x = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
85
89
  e(a, { label: "末尾按钮文字" }, {
86
90
  default: p(() => [
87
91
  e(m, {
88
- modelValue: t(l).widget.props.appendText,
89
- "onUpdate:modelValue": o[4] || (o[4] = (d) => t(l).widget.props.appendText = d),
92
+ modelValue: o(l).widget.props.appendText,
93
+ "onUpdate:modelValue": t[4] || (t[4] = (d) => o(l).widget.props.appendText = d),
90
94
  placeholder: "填写末尾按钮文字"
91
95
  }, null, 8, ["modelValue"])
92
96
  ]),
@@ -94,22 +98,38 @@ const x = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
94
98
  }),
95
99
  e(a, { label: "最大输入长度" }, {
96
100
  default: p(() => [
97
- e(V, {
101
+ e(s, {
98
102
  class: "w-full",
99
103
  placeholder: "填写最大输入长度",
100
- modelValue: t(l).widget.props.maxlength,
101
- "onUpdate:modelValue": o[5] || (o[5] = (d) => t(l).widget.props.maxlength = d),
104
+ modelValue: o(l).widget.props.maxlength,
105
+ "onUpdate:modelValue": t[5] || (t[5] = (d) => o(l).widget.props.maxlength = d),
102
106
  min: 0,
103
107
  "controls-position": "right"
104
108
  }, null, 8, ["modelValue"])
105
109
  ]),
106
110
  _: 1
107
111
  }),
112
+ o(l).widget.props.type == "textarea" ? (V(), f(a, {
113
+ key: 0,
114
+ label: "行数"
115
+ }, {
116
+ default: p(() => [
117
+ e(s, {
118
+ class: "w-full",
119
+ placeholder: "填写行数",
120
+ modelValue: o(l).widget.props.rows,
121
+ "onUpdate:modelValue": t[6] || (t[6] = (d) => o(l).widget.props.rows = d),
122
+ min: 0,
123
+ "controls-position": "right"
124
+ }, null, 8, ["modelValue"])
125
+ ]),
126
+ _: 1
127
+ })) : _("", !0),
108
128
  e(a, { label: "是否去空格" }, {
109
129
  default: p(() => [
110
130
  e(r, {
111
- modelValue: t(l).widget.props.isTrim,
112
- "onUpdate:modelValue": o[6] || (o[6] = (d) => t(l).widget.props.isTrim = d)
131
+ modelValue: o(l).widget.props.isTrim,
132
+ "onUpdate:modelValue": t[7] || (t[7] = (d) => o(l).widget.props.isTrim = d)
113
133
  }, null, 8, ["modelValue"])
114
134
  ]),
115
135
  _: 1
@@ -117,8 +137,8 @@ const x = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
117
137
  e(a, { label: "是否必填" }, {
118
138
  default: p(() => [
119
139
  e(r, {
120
- modelValue: t(l).widget.props.required,
121
- "onUpdate:modelValue": o[7] || (o[7] = (d) => t(l).widget.props.required = d)
140
+ modelValue: o(l).widget.props.required,
141
+ "onUpdate:modelValue": t[8] || (t[8] = (d) => o(l).widget.props.required = d)
122
142
  }, null, 8, ["modelValue"])
123
143
  ]),
124
144
  _: 1
@@ -126,8 +146,8 @@ const x = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
126
146
  e(a, { label: "是否只读" }, {
127
147
  default: p(() => [
128
148
  e(r, {
129
- modelValue: t(l).widget.props.readonly,
130
- "onUpdate:modelValue": o[8] || (o[8] = (d) => t(l).widget.props.readonly = d)
149
+ modelValue: o(l).widget.props.readonly,
150
+ "onUpdate:modelValue": t[9] || (t[9] = (d) => o(l).widget.props.readonly = d)
131
151
  }, null, 8, ["modelValue"])
132
152
  ]),
133
153
  _: 1
@@ -135,8 +155,17 @@ const x = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
135
155
  e(a, { label: "是否禁用" }, {
136
156
  default: p(() => [
137
157
  e(r, {
138
- modelValue: t(l).widget.props.disabled,
139
- "onUpdate:modelValue": o[9] || (o[9] = (d) => t(l).widget.props.disabled = d)
158
+ modelValue: o(l).widget.props.disabled,
159
+ "onUpdate:modelValue": t[10] || (t[10] = (d) => o(l).widget.props.disabled = d)
160
+ }, null, 8, ["modelValue"])
161
+ ]),
162
+ _: 1
163
+ }),
164
+ e(a, { label: "显示限制字数" }, {
165
+ default: p(() => [
166
+ e(r, {
167
+ modelValue: o(l).widget.props.showLimit,
168
+ "onUpdate:modelValue": t[11] || (t[11] = (d) => o(l).widget.props.showLimit = d)
140
169
  }, null, 8, ["modelValue"])
141
170
  ]),
142
171
  _: 1
@@ -146,5 +175,5 @@ const x = /* @__PURE__ */ Object.assign({ name: "config-input" }, {
146
175
  }
147
176
  });
148
177
  export {
149
- x as default
178
+ y as default
150
179
  };
@@ -0,0 +1,87 @@
1
+ import { resolveComponent as p, openBlock as _, createElementBlock as b, Fragment as c, createVNode as e, withCtx as d, unref as t } from "vue";
2
+ const f = /* @__PURE__ */ Object.assign({ name: "config-select" }, {
3
+ __name: "index",
4
+ props: {
5
+ designer: {
6
+ type: Object,
7
+ default: {}
8
+ },
9
+ widget: {
10
+ type: Object,
11
+ default: {}
12
+ }
13
+ },
14
+ setup(s) {
15
+ let l = s;
16
+ return (g, o) => {
17
+ const u = p("el-option"), m = p("el-select"), n = p("common-label-container"), i = p("el-input"), r = p("el-switch");
18
+ return _(), b(c, null, [
19
+ e(n, { label: "组件尺寸" }, {
20
+ default: d(() => [
21
+ e(m, {
22
+ modelValue: t(l).widget.props.size,
23
+ "onUpdate:modelValue": o[0] || (o[0] = (a) => t(l).widget.props.size = a)
24
+ }, {
25
+ default: d(() => [
26
+ e(u, {
27
+ label: "大尺寸",
28
+ value: "large"
29
+ }),
30
+ e(u, {
31
+ label: "默认",
32
+ value: "default"
33
+ }),
34
+ e(u, {
35
+ label: "小尺寸",
36
+ value: "small"
37
+ })
38
+ ]),
39
+ _: 1
40
+ }, 8, ["modelValue"])
41
+ ]),
42
+ _: 1
43
+ }),
44
+ e(n, { label: "占位文字" }, {
45
+ default: d(() => [
46
+ e(i, {
47
+ modelValue: t(l).widget.props.placeholder,
48
+ "onUpdate:modelValue": o[1] || (o[1] = (a) => t(l).widget.props.placeholder = a),
49
+ placeholder: "填写占位文字"
50
+ }, null, 8, ["modelValue"])
51
+ ]),
52
+ _: 1
53
+ }),
54
+ e(n, { label: "是否必填" }, {
55
+ default: d(() => [
56
+ e(r, {
57
+ modelValue: t(l).widget.props.required,
58
+ "onUpdate:modelValue": o[2] || (o[2] = (a) => t(l).widget.props.required = a)
59
+ }, null, 8, ["modelValue"])
60
+ ]),
61
+ _: 1
62
+ }),
63
+ e(n, { label: "是否可清除" }, {
64
+ default: d(() => [
65
+ e(r, {
66
+ modelValue: t(l).widget.props.clearable,
67
+ "onUpdate:modelValue": o[3] || (o[3] = (a) => t(l).widget.props.clearable = a)
68
+ }, null, 8, ["modelValue"])
69
+ ]),
70
+ _: 1
71
+ }),
72
+ e(n, { label: "是否禁用" }, {
73
+ default: d(() => [
74
+ e(r, {
75
+ modelValue: t(l).widget.props.disabled,
76
+ "onUpdate:modelValue": o[4] || (o[4] = (a) => t(l).widget.props.disabled = a)
77
+ }, null, 8, ["modelValue"])
78
+ ]),
79
+ _: 1
80
+ })
81
+ ], 64);
82
+ };
83
+ }
84
+ });
85
+ export {
86
+ f as default
87
+ };
@@ -0,0 +1,252 @@
1
+ import { resolveComponent as m, openBlock as M, createElementBlock as D, Fragment as i, createVNode as e, withCtx as t, unref as o } from "vue";
2
+ const g = /* @__PURE__ */ Object.assign({ name: "config-date" }, {
3
+ __name: "index",
4
+ props: {
5
+ designer: {
6
+ type: Object,
7
+ default: {}
8
+ },
9
+ widget: {
10
+ type: Object,
11
+ default: {}
12
+ }
13
+ },
14
+ setup(n) {
15
+ let a = n;
16
+ return (b, Y) => {
17
+ const l = m("el-option"), p = m("el-select"), u = m("common-label-container"), s = m("el-input"), r = m("el-switch");
18
+ return M(), D(i, null, [
19
+ e(u, { label: "组件尺寸" }, {
20
+ default: t(() => [
21
+ e(p, {
22
+ modelValue: o(a).widget.props.size,
23
+ "onUpdate:modelValue": Y[0] || (Y[0] = (d) => o(a).widget.props.size = d)
24
+ }, {
25
+ default: t(() => [
26
+ e(l, {
27
+ label: "大尺寸",
28
+ value: "large"
29
+ }),
30
+ e(l, {
31
+ label: "默认",
32
+ value: "default"
33
+ }),
34
+ e(l, {
35
+ label: "小尺寸",
36
+ value: "small"
37
+ })
38
+ ]),
39
+ _: 1
40
+ }, 8, ["modelValue"])
41
+ ]),
42
+ _: 1
43
+ }),
44
+ e(u, { label: "组件类型" }, {
45
+ default: t(() => [
46
+ e(p, {
47
+ modelValue: o(a).widget.props.type,
48
+ "onUpdate:modelValue": Y[1] || (Y[1] = (d) => o(a).widget.props.type = d)
49
+ }, {
50
+ default: t(() => [
51
+ e(l, {
52
+ label: "日期",
53
+ value: "date"
54
+ }),
55
+ e(l, {
56
+ label: "年",
57
+ value: "year"
58
+ }),
59
+ e(l, {
60
+ label: "月",
61
+ value: "month"
62
+ }),
63
+ e(l, {
64
+ label: "周",
65
+ value: "week"
66
+ }),
67
+ e(l, {
68
+ label: "日期时间",
69
+ value: "datetime"
70
+ }),
71
+ e(l, {
72
+ label: "日期区间",
73
+ value: "daterange"
74
+ }),
75
+ e(l, {
76
+ label: "日期时间区间",
77
+ value: "datetimerange"
78
+ })
79
+ ]),
80
+ _: 1
81
+ }, 8, ["modelValue"])
82
+ ]),
83
+ _: 1
84
+ }),
85
+ e(u, { label: "显示格式" }, {
86
+ default: t(() => [
87
+ e(p, {
88
+ modelValue: o(a).widget.props.format,
89
+ "onUpdate:modelValue": Y[2] || (Y[2] = (d) => o(a).widget.props.format = d)
90
+ }, {
91
+ default: t(() => [
92
+ e(l, {
93
+ label: "YYYY",
94
+ value: "YYYY"
95
+ }),
96
+ e(l, {
97
+ label: "YYYY-MM",
98
+ value: "YYYY-MM"
99
+ }),
100
+ e(l, {
101
+ label: "YYYY-MM-DD",
102
+ value: "YYYY-MM-DD"
103
+ }),
104
+ e(l, {
105
+ label: "YYYY/MM/DD",
106
+ value: "YYYY/MM/DD"
107
+ }),
108
+ e(l, {
109
+ label: "YYYY年MM月DD",
110
+ value: "YYYY年MM月DD"
111
+ }),
112
+ e(l, {
113
+ label: "YYYY-MM-DD HH:mm:ss",
114
+ value: "YYYY-MM-DD HH:mm:ss"
115
+ }),
116
+ e(l, {
117
+ label: "YYYY/MM/DD HH:mm:ss",
118
+ value: "YYYY/MM/DD HH:mm:ss"
119
+ }),
120
+ e(l, {
121
+ label: "YYYY-MM-DD hh:mm:ss",
122
+ value: "YYYY-MM-DD hh:mm:ss"
123
+ }),
124
+ e(l, {
125
+ label: "YYYY/MM/DD hh:mm:ss",
126
+ value: "YYYY/MM/DD hh:mm:ss"
127
+ })
128
+ ]),
129
+ _: 1
130
+ }, 8, ["modelValue"])
131
+ ]),
132
+ _: 1
133
+ }),
134
+ e(u, { label: "输出格式" }, {
135
+ default: t(() => [
136
+ e(p, {
137
+ modelValue: o(a).widget.props.valueFormat,
138
+ "onUpdate:modelValue": Y[3] || (Y[3] = (d) => o(a).widget.props.valueFormat = d)
139
+ }, {
140
+ default: t(() => [
141
+ e(l, {
142
+ label: "YYYY",
143
+ value: "YYYY"
144
+ }),
145
+ e(l, {
146
+ label: "YYYY-MM",
147
+ value: "YYYY-MM"
148
+ }),
149
+ e(l, {
150
+ label: "YYYY-MM-DD",
151
+ value: "YYYY-MM-DD"
152
+ }),
153
+ e(l, {
154
+ label: "YYYY/MM/DD",
155
+ value: "YYYY/MM/DD"
156
+ }),
157
+ e(l, {
158
+ label: "YYYY-MM-DD HH:mm:ss",
159
+ value: "YYYY-MM-DD HH:mm:ss"
160
+ }),
161
+ e(l, {
162
+ label: "YYYY/MM/DD HH:mm:ss",
163
+ value: "YYYY/MM/DD HH:mm:ss"
164
+ }),
165
+ e(l, {
166
+ label: "YYYY-MM-DD hh:mm:ss",
167
+ value: "YYYY-MM-DD hh:mm:ss"
168
+ }),
169
+ e(l, {
170
+ label: "YYYY/MM/DD hh:mm:ss",
171
+ value: "YYYY/MM/DD hh:mm:ss"
172
+ })
173
+ ]),
174
+ _: 1
175
+ }, 8, ["modelValue"])
176
+ ]),
177
+ _: 1
178
+ }),
179
+ e(u, { label: "分隔符" }, {
180
+ default: t(() => [
181
+ e(s, {
182
+ modelValue: o(a).widget.props.rangeSeparator,
183
+ "onUpdate:modelValue": Y[4] || (Y[4] = (d) => o(a).widget.props.rangeSeparator = d),
184
+ placeholder: "填写分隔符"
185
+ }, null, 8, ["modelValue"])
186
+ ]),
187
+ _: 1
188
+ }),
189
+ e(u, { label: "开始占位内容" }, {
190
+ default: t(() => [
191
+ e(s, {
192
+ modelValue: o(a).widget.props.startPlaceholder,
193
+ "onUpdate:modelValue": Y[5] || (Y[5] = (d) => o(a).widget.props.startPlaceholder = d),
194
+ placeholder: "填写开始占位内容"
195
+ }, null, 8, ["modelValue"])
196
+ ]),
197
+ _: 1
198
+ }),
199
+ e(u, { label: "结束占位内容" }, {
200
+ default: t(() => [
201
+ e(s, {
202
+ modelValue: o(a).widget.props.endPlaceholder,
203
+ "onUpdate:modelValue": Y[6] || (Y[6] = (d) => o(a).widget.props.endPlaceholder = d),
204
+ placeholder: "填写结束占位内容"
205
+ }, null, 8, ["modelValue"])
206
+ ]),
207
+ _: 1
208
+ }),
209
+ e(u, { label: "占位文字" }, {
210
+ default: t(() => [
211
+ e(s, {
212
+ modelValue: o(a).widget.props.placeholder,
213
+ "onUpdate:modelValue": Y[7] || (Y[7] = (d) => o(a).widget.props.placeholder = d),
214
+ placeholder: "填写占位文字"
215
+ }, null, 8, ["modelValue"])
216
+ ]),
217
+ _: 1
218
+ }),
219
+ e(u, { label: "是否必填" }, {
220
+ default: t(() => [
221
+ e(r, {
222
+ modelValue: o(a).widget.props.required,
223
+ "onUpdate:modelValue": Y[8] || (Y[8] = (d) => o(a).widget.props.required = d)
224
+ }, null, 8, ["modelValue"])
225
+ ]),
226
+ _: 1
227
+ }),
228
+ e(u, { label: "是否只读" }, {
229
+ default: t(() => [
230
+ e(r, {
231
+ modelValue: o(a).widget.props.readonly,
232
+ "onUpdate:modelValue": Y[9] || (Y[9] = (d) => o(a).widget.props.readonly = d)
233
+ }, null, 8, ["modelValue"])
234
+ ]),
235
+ _: 1
236
+ }),
237
+ e(u, { label: "是否禁用" }, {
238
+ default: t(() => [
239
+ e(r, {
240
+ modelValue: o(a).widget.props.disabled,
241
+ "onUpdate:modelValue": Y[10] || (Y[10] = (d) => o(a).widget.props.disabled = d)
242
+ }, null, 8, ["modelValue"])
243
+ ]),
244
+ _: 1
245
+ })
246
+ ], 64);
247
+ };
248
+ }
249
+ });
250
+ export {
251
+ g as default
252
+ };
@@ -0,0 +1,33 @@
1
+ import { resolveComponent as o, openBlock as c, createBlock as i, withCtx as m, createVNode as d, unref as n } from "vue";
2
+ const _ = /* @__PURE__ */ Object.assign({ name: "config-homepage" }, {
3
+ __name: "index",
4
+ props: {
5
+ designer: {
6
+ type: Object,
7
+ default: {}
8
+ },
9
+ widget: {
10
+ type: Object,
11
+ default: {}
12
+ }
13
+ },
14
+ setup(l) {
15
+ let e = l;
16
+ return (s, t) => {
17
+ const p = o("el-input"), a = o("common-label-container");
18
+ return c(), i(a, { label: "页面高度" }, {
19
+ default: m(() => [
20
+ d(p, {
21
+ modelValue: n(e).widget.props.height,
22
+ "onUpdate:modelValue": t[0] || (t[0] = (r) => n(e).widget.props.height = r),
23
+ placeholder: "填写页面高度"
24
+ }, null, 8, ["modelValue"])
25
+ ]),
26
+ _: 1
27
+ });
28
+ };
29
+ }
30
+ });
31
+ export {
32
+ _ as default
33
+ };