vuv-ui 1.0.9 → 1.0.11

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.
@@ -1,8 +1,9 @@
1
- import { defineComponent as c, openBlock as g, createElementBlock as C, normalizeClass as N, normalizeStyle as z, createVNode as e, unref as S, withCtx as t, createTextVNode as V, toDisplayString as $, createCommentVNode as k, ref as y, onMounted as P, resolveComponent as i, createBlock as L, watch as j, computed as E, Fragment as O, renderList as D, createElementVNode as f, pushScopeId as M, popScopeId as q } from "vue";
1
+ import { defineComponent as _, openBlock as y, createElementBlock as w, normalizeClass as N, normalizeStyle as $, createVNode as e, unref as u, withCtx as t, createTextVNode as v, toDisplayString as S, createCommentVNode as U, ref as c, onMounted as z, createBlock as P, resolveComponent as V, watch as j, computed as E, Fragment as O, renderList as D, createElementVNode as f, pushScopeId as M, popScopeId as q } from "vue";
2
2
  import { uvButton as W, uvStepper as H, uvCollapse as A, uvCollapseItem as F } from "uv-ui";
3
- const G = c({
3
+ import d from "element-plus";
4
+ const G = _({
4
5
  name: "ButtonView"
5
- }), R = /* @__PURE__ */ c({
6
+ }), R = /* @__PURE__ */ _({
6
7
  ...G,
7
8
  props: {
8
9
  data: {
@@ -11,46 +12,46 @@ const G = c({
11
12
  }
12
13
  }
13
14
  },
14
- setup(u) {
15
- return (s, l) => u.data && u.data.options ? (g(), C("div", {
15
+ setup(s) {
16
+ return (i, l) => s.data && s.data.options ? (y(), w("div", {
16
17
  key: 0,
17
- class: N(["button_box", { plain: u.data.options.plain }]),
18
- style: z({ "justify-content": u.data.options.position })
18
+ class: N(["button_box", { plain: s.data.options.plain }]),
19
+ style: $({ "justify-content": s.data.options.position })
19
20
  }, [
20
- e(S(W), {
21
- type: u.data.options.type || "primary",
22
- bgColor: u.data.options.color,
23
- disabled: u.data.options.disabled,
24
- color: u.data.options.textColor,
25
- round: u.data.options.shape == "circle",
26
- square: u.data.options.shape == "square",
27
- size: u.data.options.size,
28
- loading: u.data.options.loading,
29
- icon: u.data.options.icon,
30
- style: z({
31
- width: u.data.options.width + "px",
32
- height: u.data.options.height + "px"
21
+ e(u(W), {
22
+ type: s.data.options.type || "primary",
23
+ bgColor: s.data.options.color,
24
+ disabled: s.data.options.disabled,
25
+ color: s.data.options.textColor,
26
+ round: s.data.options.shape == "circle",
27
+ square: s.data.options.shape == "square",
28
+ size: s.data.options.size,
29
+ loading: s.data.options.loading,
30
+ icon: s.data.options.icon,
31
+ style: $({
32
+ width: s.data.options.width + "px",
33
+ height: s.data.options.height + "px"
33
34
  })
34
35
  }, {
35
36
  default: t(() => [
36
- V($(u.data.options.text || "按钮"), 1)
37
+ v(S(s.data.options.text || "按钮"), 1)
37
38
  ]),
38
39
  _: 1
39
40
  }, 8, ["type", "bgColor", "disabled", "color", "round", "square", "size", "loading", "icon", "style"])
40
- ], 6)) : k("", !0);
41
+ ], 6)) : U("", !0);
41
42
  }
42
43
  });
43
- const T = (u, s) => {
44
- const l = u.__vccOpts || u;
45
- for (const [v, r] of s)
46
- l[v] = r;
44
+ const k = (s, i) => {
45
+ const l = s.__vccOpts || s;
46
+ for (const [r, p] of i)
47
+ l[r] = p;
47
48
  return l;
48
- }, X = /* @__PURE__ */ T(R, [["__scopeId", "data-v-8b545b2a"]]), J = {
49
+ }, X = /* @__PURE__ */ k(R, [["__scopeId", "data-v-8b545b2a"]]), J = {
49
50
  key: 0,
50
51
  class: "banner-content"
51
- }, K = c({
52
+ }, K = _({
52
53
  name: "ButtonData"
53
- }), Q = /* @__PURE__ */ c({
54
+ }), Q = /* @__PURE__ */ _({
54
55
  ...K,
55
56
  props: {
56
57
  data: {
@@ -59,344 +60,341 @@ const T = (u, s) => {
59
60
  }
60
61
  }
61
62
  },
62
- setup(u) {
63
- const s = u, l = y(), v = y(), r = y(!1);
64
- return P(() => {
65
- console.log(s.data, s, "参数接收"), s.data && (v.value = s.data.data, l.value = s.data.options, r.value = !0);
66
- }), (w, a) => {
67
- const m = i("el-switch"), n = i("el-form-item"), _ = i("el-input-number"), p = i("el-option"), U = i("el-select"), x = i("el-radio-button"), h = i("el-radio-group"), o = i("el-input"), B = i("el-color-picker"), b = i("el-form");
68
- return r.value ? (g(), C("div", J, [
69
- e(b, { "label-width": "100px" }, {
70
- default: t(() => [
71
- e(n, { label: "显示边框" }, {
72
- default: t(() => [
73
- e(m, {
74
- modelValue: l.value.hairline,
75
- "onUpdate:modelValue": a[0] || (a[0] = (d) => l.value.hairline = d)
76
- }, null, 8, ["modelValue"])
77
- ]),
78
- _: 1
79
- }),
80
- e(n, { label: "宽度" }, {
81
- default: t(() => [
82
- e(_, {
83
- modelValue: l.value.width,
84
- "onUpdate:modelValue": a[1] || (a[1] = (d) => l.value.width = d)
85
- }, null, 8, ["modelValue"])
86
- ]),
87
- _: 1
88
- }),
89
- e(n, { label: "高度" }, {
90
- default: t(() => [
91
- e(_, {
92
- modelValue: l.value.height,
93
- "onUpdate:modelValue": a[2] || (a[2] = (d) => l.value.height = d)
94
- }, null, 8, ["modelValue"])
95
- ]),
96
- _: 1
97
- }),
98
- e(n, { label: "主题颜色" }, {
99
- default: t(() => [
100
- e(U, {
101
- modelValue: l.value.type,
102
- "onUpdate:modelValue": a[3] || (a[3] = (d) => l.value.type = d),
103
- placeholder: "请选择",
104
- style: { width: "180px" }
105
- }, {
106
- default: t(() => [
107
- e(p, {
108
- label: "primary",
109
- value: "primary"
110
- }),
111
- e(p, {
112
- label: "success",
113
- value: "success"
114
- }),
115
- e(p, {
116
- label: "info",
117
- value: "info"
118
- }),
119
- e(p, {
120
- label: "warning",
121
- value: "warning"
122
- }),
123
- e(p, {
124
- label: "error",
125
- value: "error"
126
- })
127
- ]),
128
- _: 1
129
- }, 8, ["modelValue"])
130
- ]),
131
- _: 1
132
- }),
133
- e(n, { label: "大小" }, {
134
- default: t(() => [
135
- e(h, {
136
- modelValue: l.value.size,
137
- "onUpdate:modelValue": a[4] || (a[4] = (d) => l.value.size = d)
138
- }, {
139
- default: t(() => [
140
- e(x, { label: "normal" }, {
141
- default: t(() => [
142
- V("normal")
143
- ]),
144
- _: 1
145
- }),
146
- e(x, { label: "medium" }, {
147
- default: t(() => [
148
- V("medium")
149
- ]),
150
- _: 1
151
- }),
152
- e(x, { label: "mini" }, {
153
- default: t(() => [
154
- V("mini")
155
- ]),
156
- _: 1
157
- })
158
- ]),
159
- _: 1
160
- }, 8, ["modelValue"])
161
- ]),
162
- _: 1
163
- }),
164
- e(n, { label: "按钮位置" }, {
165
- default: t(() => [
166
- e(h, {
167
- modelValue: l.value.position,
168
- "onUpdate:modelValue": a[5] || (a[5] = (d) => l.value.position = d)
169
- }, {
170
- default: t(() => [
171
- e(x, { label: "left" }, {
172
- default: t(() => [
173
- V("居左")
174
- ]),
175
- _: 1
176
- }),
177
- e(x, { label: "center" }, {
178
- default: t(() => [
179
- V("居中")
180
- ]),
181
- _: 1
182
- }),
183
- e(x, { label: "right" }, {
184
- default: t(() => [
185
- V("居右")
186
- ]),
187
- _: 1
188
- })
189
- ]),
190
- _: 1
191
- }, 8, ["modelValue"])
192
- ]),
193
- _: 1
194
- }),
195
- e(n, { label: "形状" }, {
196
- default: t(() => [
197
- e(h, {
198
- modelValue: l.value.shape,
199
- "onUpdate:modelValue": a[6] || (a[6] = (d) => l.value.shape = d)
200
- }, {
201
- default: t(() => [
202
- e(x, { label: "square" }, {
203
- default: t(() => [
204
- V("square")
205
- ]),
206
- _: 1
207
- }),
208
- e(x, { label: "circle" }, {
209
- default: t(() => [
210
- V("circle")
211
- ]),
212
- _: 1
213
- })
214
- ]),
215
- _: 1
216
- }, 8, ["modelValue"])
217
- ]),
218
- _: 1
219
- }),
220
- e(n, { label: "镂空" }, {
221
- default: t(() => [
222
- e(m, {
223
- modelValue: l.value.plain,
224
- "onUpdate:modelValue": a[7] || (a[7] = (d) => l.value.plain = d)
225
- }, null, 8, ["modelValue"])
226
- ]),
227
- _: 1
228
- }),
229
- e(n, { label: "禁用" }, {
230
- default: t(() => [
231
- e(m, {
232
- modelValue: l.value.disabled,
233
- "onUpdate:modelValue": a[8] || (a[8] = (d) => l.value.disabled = d)
234
- }, null, 8, ["modelValue"])
235
- ]),
236
- _: 1
237
- }),
238
- e(n, { label: "铺满" }, {
239
- default: t(() => [
240
- e(m, {
241
- modelValue: l.value.fill,
242
- "onUpdate:modelValue": a[9] || (a[9] = (d) => l.value.fill = d)
243
- }, null, 8, ["modelValue"])
244
- ]),
245
- _: 1
246
- }),
247
- e(n, { label: "loading图标" }, {
248
- default: t(() => [
249
- e(m, {
250
- modelValue: l.value.loading,
251
- "onUpdate:modelValue": a[10] || (a[10] = (d) => l.value.loading = d)
252
- }, null, 8, ["modelValue"])
253
- ]),
254
- _: 1
255
- }),
256
- e(n, { label: "加载中文字" }, {
257
- default: t(() => [
258
- e(o, {
259
- modelValue: l.value.loadingText,
260
- "onUpdate:modelValue": a[11] || (a[11] = (d) => l.value.loadingText = d),
261
- style: { width: "180px" },
262
- placeholder: "请输入",
263
- clearable: ""
264
- }, null, 8, ["modelValue"])
265
- ]),
266
- _: 1
267
- }),
268
- e(n, { label: "开放能力" }, {
269
- default: t(() => [
270
- e(U, {
271
- modelValue: l.value.openType,
272
- "onUpdate:modelValue": a[12] || (a[12] = (d) => l.value.openType = d),
273
- placeholder: "请选择",
274
- style: { width: "180px" },
275
- clearable: ""
276
- }, {
277
- default: t(() => [
278
- e(p, {
279
- label: "跳转页面",
280
- value: "navigateTo"
281
- }),
282
- e(p, {
283
- label: "获取用户信息",
284
- value: "getUserInfo"
285
- }),
286
- e(p, {
287
- label: "联系客服",
288
- value: "contact"
289
- }),
290
- e(p, {
291
- label: "获取手机号",
292
- value: "getPhoneNumber"
293
- }),
294
- e(p, {
295
- label: "打开授权设置",
296
- value: "openSetting"
297
- }),
298
- e(p, {
299
- label: "获取用户头像",
300
- value: "chooseAvatar"
301
- }),
302
- e(p, {
303
- label: "意见反馈",
304
- value: "feedback"
305
- }),
306
- e(p, {
307
- label: "分享",
308
- value: "share"
309
- }),
310
- e(p, {
311
- label: "自定义",
312
- value: "customize"
313
- })
314
- ]),
315
- _: 1
316
- }, 8, ["modelValue"])
317
- ]),
318
- _: 1
319
- }),
320
- l.value.openType == "navigateTo" ? (g(), L(n, {
321
- key: 0,
322
- label: "页面路径"
323
- }, {
324
- default: t(() => [
325
- e(o, {
326
- modelValue: l.value.pagePath,
327
- "onUpdate:modelValue": a[13] || (a[13] = (d) => l.value.pagePath = d),
328
- style: { width: "180px" },
329
- placeholder: "请输入",
330
- clearable: ""
331
- }, null, 8, ["modelValue"])
332
- ]),
333
- _: 1
334
- })) : k("", !0),
335
- l.value.openType == "navigateTo" ? (g(), L(n, {
336
- key: 1,
337
- label: "tabbar页面"
338
- }, {
339
- default: t(() => [
340
- e(m, {
341
- modelValue: l.value.isTabBar,
342
- "onUpdate:modelValue": a[14] || (a[14] = (d) => l.value.isTabBar = d)
343
- }, null, 8, ["modelValue"])
344
- ]),
345
- _: 1
346
- })) : k("", !0),
347
- e(n, { label: "按钮文字" }, {
348
- default: t(() => [
349
- e(o, {
350
- modelValue: l.value.text,
351
- "onUpdate:modelValue": a[15] || (a[15] = (d) => l.value.text = d),
352
- style: { width: "180px" },
353
- placeholder: "请输入",
354
- clearable: ""
355
- }, null, 8, ["modelValue"])
356
- ]),
357
- _: 1
358
- }),
359
- e(n, { label: "按钮颜色" }, {
360
- default: t(() => [
361
- e(B, {
362
- modelValue: l.value.color,
363
- "onUpdate:modelValue": a[16] || (a[16] = (d) => l.value.color = d),
364
- "show-alpha": ""
365
- }, null, 8, ["modelValue"])
366
- ]),
367
- _: 1
368
- }),
369
- e(n, { label: "文字颜色" }, {
370
- default: t(() => [
371
- e(B, {
372
- modelValue: l.value.textColor,
373
- "onUpdate:modelValue": a[17] || (a[17] = (d) => l.value.textColor = d),
374
- "show-alpha": ""
375
- }, null, 8, ["modelValue"])
376
- ]),
377
- _: 1
378
- }),
379
- e(n, { label: "自定义样式" }, {
380
- default: t(() => [
381
- e(o, {
382
- modelValue: l.value.customStyle,
383
- "onUpdate:modelValue": a[18] || (a[18] = (d) => l.value.customStyle = d),
384
- style: { width: "240px" },
385
- placeholder: "分号分隔,如width: 100px;height: 50px;",
386
- type: "textarea",
387
- clearable: ""
388
- }, null, 8, ["modelValue"])
389
- ]),
390
- _: 1
391
- })
392
- ]),
393
- _: 1
394
- })
395
- ])) : k("", !0);
396
- };
63
+ setup(s) {
64
+ const i = s, l = c(), r = c(), p = c(!1);
65
+ return z(() => {
66
+ console.log(i.data, i, "参数接收"), i.data && (r.value = i.data.data, l.value = i.data.options, p.value = !0);
67
+ }), (g, a) => p.value ? (y(), w("div", J, [
68
+ e(u(d), { "label-width": "100px" }, {
69
+ default: t(() => [
70
+ e(u(d), { label: "显示边框" }, {
71
+ default: t(() => [
72
+ e(u(d), {
73
+ modelValue: l.value.hairline,
74
+ "onUpdate:modelValue": a[0] || (a[0] = (n) => l.value.hairline = n)
75
+ }, null, 8, ["modelValue"])
76
+ ]),
77
+ _: 1
78
+ }),
79
+ e(u(d), { label: "宽度" }, {
80
+ default: t(() => [
81
+ e(u(d), {
82
+ modelValue: l.value.width,
83
+ "onUpdate:modelValue": a[1] || (a[1] = (n) => l.value.width = n)
84
+ }, null, 8, ["modelValue"])
85
+ ]),
86
+ _: 1
87
+ }),
88
+ e(u(d), { label: "高度" }, {
89
+ default: t(() => [
90
+ e(u(d), {
91
+ modelValue: l.value.height,
92
+ "onUpdate:modelValue": a[2] || (a[2] = (n) => l.value.height = n)
93
+ }, null, 8, ["modelValue"])
94
+ ]),
95
+ _: 1
96
+ }),
97
+ e(u(d), { label: "主题颜色" }, {
98
+ default: t(() => [
99
+ e(u(d), {
100
+ modelValue: l.value.type,
101
+ "onUpdate:modelValue": a[3] || (a[3] = (n) => l.value.type = n),
102
+ placeholder: "请选择",
103
+ style: { width: "180px" }
104
+ }, {
105
+ default: t(() => [
106
+ e(u(d), {
107
+ label: "primary",
108
+ value: "primary"
109
+ }),
110
+ e(u(d), {
111
+ label: "success",
112
+ value: "success"
113
+ }),
114
+ e(u(d), {
115
+ label: "info",
116
+ value: "info"
117
+ }),
118
+ e(u(d), {
119
+ label: "warning",
120
+ value: "warning"
121
+ }),
122
+ e(u(d), {
123
+ label: "error",
124
+ value: "error"
125
+ })
126
+ ]),
127
+ _: 1
128
+ }, 8, ["modelValue"])
129
+ ]),
130
+ _: 1
131
+ }),
132
+ e(u(d), { label: "大小" }, {
133
+ default: t(() => [
134
+ e(u(d), {
135
+ modelValue: l.value.size,
136
+ "onUpdate:modelValue": a[4] || (a[4] = (n) => l.value.size = n)
137
+ }, {
138
+ default: t(() => [
139
+ e(u(d), { label: "normal" }, {
140
+ default: t(() => [
141
+ v("normal")
142
+ ]),
143
+ _: 1
144
+ }),
145
+ e(u(d), { label: "medium" }, {
146
+ default: t(() => [
147
+ v("medium")
148
+ ]),
149
+ _: 1
150
+ }),
151
+ e(u(d), { label: "mini" }, {
152
+ default: t(() => [
153
+ v("mini")
154
+ ]),
155
+ _: 1
156
+ })
157
+ ]),
158
+ _: 1
159
+ }, 8, ["modelValue"])
160
+ ]),
161
+ _: 1
162
+ }),
163
+ e(u(d), { label: "按钮位置" }, {
164
+ default: t(() => [
165
+ e(u(d), {
166
+ modelValue: l.value.position,
167
+ "onUpdate:modelValue": a[5] || (a[5] = (n) => l.value.position = n)
168
+ }, {
169
+ default: t(() => [
170
+ e(u(d), { label: "left" }, {
171
+ default: t(() => [
172
+ v("居左")
173
+ ]),
174
+ _: 1
175
+ }),
176
+ e(u(d), { label: "center" }, {
177
+ default: t(() => [
178
+ v("居中")
179
+ ]),
180
+ _: 1
181
+ }),
182
+ e(u(d), { label: "right" }, {
183
+ default: t(() => [
184
+ v("居右")
185
+ ]),
186
+ _: 1
187
+ })
188
+ ]),
189
+ _: 1
190
+ }, 8, ["modelValue"])
191
+ ]),
192
+ _: 1
193
+ }),
194
+ e(u(d), { label: "形状" }, {
195
+ default: t(() => [
196
+ e(u(d), {
197
+ modelValue: l.value.shape,
198
+ "onUpdate:modelValue": a[6] || (a[6] = (n) => l.value.shape = n)
199
+ }, {
200
+ default: t(() => [
201
+ e(u(d), { label: "square" }, {
202
+ default: t(() => [
203
+ v("square")
204
+ ]),
205
+ _: 1
206
+ }),
207
+ e(u(d), { label: "circle" }, {
208
+ default: t(() => [
209
+ v("circle")
210
+ ]),
211
+ _: 1
212
+ })
213
+ ]),
214
+ _: 1
215
+ }, 8, ["modelValue"])
216
+ ]),
217
+ _: 1
218
+ }),
219
+ e(u(d), { label: "镂空" }, {
220
+ default: t(() => [
221
+ e(u(d), {
222
+ modelValue: l.value.plain,
223
+ "onUpdate:modelValue": a[7] || (a[7] = (n) => l.value.plain = n)
224
+ }, null, 8, ["modelValue"])
225
+ ]),
226
+ _: 1
227
+ }),
228
+ e(u(d), { label: "禁用" }, {
229
+ default: t(() => [
230
+ e(u(d), {
231
+ modelValue: l.value.disabled,
232
+ "onUpdate:modelValue": a[8] || (a[8] = (n) => l.value.disabled = n)
233
+ }, null, 8, ["modelValue"])
234
+ ]),
235
+ _: 1
236
+ }),
237
+ e(u(d), { label: "铺满" }, {
238
+ default: t(() => [
239
+ e(u(d), {
240
+ modelValue: l.value.fill,
241
+ "onUpdate:modelValue": a[9] || (a[9] = (n) => l.value.fill = n)
242
+ }, null, 8, ["modelValue"])
243
+ ]),
244
+ _: 1
245
+ }),
246
+ e(u(d), { label: "loading图标" }, {
247
+ default: t(() => [
248
+ e(u(d), {
249
+ modelValue: l.value.loading,
250
+ "onUpdate:modelValue": a[10] || (a[10] = (n) => l.value.loading = n)
251
+ }, null, 8, ["modelValue"])
252
+ ]),
253
+ _: 1
254
+ }),
255
+ e(u(d), { label: "加载中文字" }, {
256
+ default: t(() => [
257
+ e(u(d), {
258
+ modelValue: l.value.loadingText,
259
+ "onUpdate:modelValue": a[11] || (a[11] = (n) => l.value.loadingText = n),
260
+ style: { width: "180px" },
261
+ placeholder: "请输入",
262
+ clearable: ""
263
+ }, null, 8, ["modelValue"])
264
+ ]),
265
+ _: 1
266
+ }),
267
+ e(u(d), { label: "开放能力" }, {
268
+ default: t(() => [
269
+ e(u(d), {
270
+ modelValue: l.value.openType,
271
+ "onUpdate:modelValue": a[12] || (a[12] = (n) => l.value.openType = n),
272
+ placeholder: "请选择",
273
+ style: { width: "180px" },
274
+ clearable: ""
275
+ }, {
276
+ default: t(() => [
277
+ e(u(d), {
278
+ label: "跳转页面",
279
+ value: "navigateTo"
280
+ }),
281
+ e(u(d), {
282
+ label: "获取用户信息",
283
+ value: "getUserInfo"
284
+ }),
285
+ e(u(d), {
286
+ label: "联系客服",
287
+ value: "contact"
288
+ }),
289
+ e(u(d), {
290
+ label: "获取手机号",
291
+ value: "getPhoneNumber"
292
+ }),
293
+ e(u(d), {
294
+ label: "打开授权设置",
295
+ value: "openSetting"
296
+ }),
297
+ e(u(d), {
298
+ label: "获取用户头像",
299
+ value: "chooseAvatar"
300
+ }),
301
+ e(u(d), {
302
+ label: "意见反馈",
303
+ value: "feedback"
304
+ }),
305
+ e(u(d), {
306
+ label: "分享",
307
+ value: "share"
308
+ }),
309
+ e(u(d), {
310
+ label: "自定义",
311
+ value: "customize"
312
+ })
313
+ ]),
314
+ _: 1
315
+ }, 8, ["modelValue"])
316
+ ]),
317
+ _: 1
318
+ }),
319
+ l.value.openType == "navigateTo" ? (y(), P(u(d), {
320
+ key: 0,
321
+ label: "页面路径"
322
+ }, {
323
+ default: t(() => [
324
+ e(u(d), {
325
+ modelValue: l.value.pagePath,
326
+ "onUpdate:modelValue": a[13] || (a[13] = (n) => l.value.pagePath = n),
327
+ style: { width: "180px" },
328
+ placeholder: "请输入",
329
+ clearable: ""
330
+ }, null, 8, ["modelValue"])
331
+ ]),
332
+ _: 1
333
+ })) : U("", !0),
334
+ l.value.openType == "navigateTo" ? (y(), P(u(d), {
335
+ key: 1,
336
+ label: "tabbar页面"
337
+ }, {
338
+ default: t(() => [
339
+ e(u(d), {
340
+ modelValue: l.value.isTabBar,
341
+ "onUpdate:modelValue": a[14] || (a[14] = (n) => l.value.isTabBar = n)
342
+ }, null, 8, ["modelValue"])
343
+ ]),
344
+ _: 1
345
+ })) : U("", !0),
346
+ e(u(d), { label: "按钮文字" }, {
347
+ default: t(() => [
348
+ e(u(d), {
349
+ modelValue: l.value.text,
350
+ "onUpdate:modelValue": a[15] || (a[15] = (n) => l.value.text = n),
351
+ style: { width: "180px" },
352
+ placeholder: "请输入",
353
+ clearable: ""
354
+ }, null, 8, ["modelValue"])
355
+ ]),
356
+ _: 1
357
+ }),
358
+ e(u(d), { label: "按钮颜色" }, {
359
+ default: t(() => [
360
+ e(u(d), {
361
+ modelValue: l.value.color,
362
+ "onUpdate:modelValue": a[16] || (a[16] = (n) => l.value.color = n),
363
+ "show-alpha": ""
364
+ }, null, 8, ["modelValue"])
365
+ ]),
366
+ _: 1
367
+ }),
368
+ e(u(d), { label: "文字颜色" }, {
369
+ default: t(() => [
370
+ e(u(d), {
371
+ modelValue: l.value.textColor,
372
+ "onUpdate:modelValue": a[17] || (a[17] = (n) => l.value.textColor = n),
373
+ "show-alpha": ""
374
+ }, null, 8, ["modelValue"])
375
+ ]),
376
+ _: 1
377
+ }),
378
+ e(u(d), { label: "自定义样式" }, {
379
+ default: t(() => [
380
+ e(u(d), {
381
+ modelValue: l.value.customStyle,
382
+ "onUpdate:modelValue": a[18] || (a[18] = (n) => l.value.customStyle = n),
383
+ style: { width: "240px" },
384
+ placeholder: "分号分隔,如width: 100px;height: 50px;",
385
+ type: "textarea",
386
+ clearable: ""
387
+ }, null, 8, ["modelValue"])
388
+ ]),
389
+ _: 1
390
+ })
391
+ ]),
392
+ _: 1
393
+ })
394
+ ])) : U("", !0);
397
395
  }
398
396
  });
399
- const Y = /* @__PURE__ */ T(Q, [["__scopeId", "data-v-71f42822"]]), Z = {
397
+ const Y = /* @__PURE__ */ k(Q, [["__scopeId", "data-v-f4e926bb"]]), Z = {
400
398
  type: "uvui-button",
401
399
  name: "按钮",
402
400
  icon: "Postcard",
@@ -452,9 +450,9 @@ const Y = /* @__PURE__ */ T(Q, [["__scopeId", "data-v-71f42822"]]), Z = {
452
450
  }, le = {
453
451
  key: 0,
454
452
  class: "textarea_box"
455
- }, ae = c({
453
+ }, ae = _({
456
454
  name: "TextareaView"
457
- }), te = /* @__PURE__ */ c({
455
+ }), te = /* @__PURE__ */ _({
458
456
  ...ae,
459
457
  props: {
460
458
  data: {
@@ -463,33 +461,33 @@ const Y = /* @__PURE__ */ T(Q, [["__scopeId", "data-v-71f42822"]]), Z = {
463
461
  }
464
462
  }
465
463
  },
466
- setup(u) {
467
- const s = y("");
468
- return (l, v) => {
469
- const r = i("el-input");
470
- return u.data && u.data.options ? (g(), C("div", le, [
471
- e(r, {
472
- modelValue: s.value,
473
- "onUpdate:modelValue": v[0] || (v[0] = (w) => s.value = w),
474
- placeholder: u.data.options.placeholder || "请输入",
475
- style: z({ width: "100%", height: u.data.options.height }),
476
- "show-word-limit": u.data.options.count,
477
- autosize: u.data.options.autoHeight,
478
- maxlength: u.data.options.maxlength,
464
+ setup(s) {
465
+ const i = c("");
466
+ return (l, r) => {
467
+ const p = V("el-input");
468
+ return s.data && s.data.options ? (y(), w("div", le, [
469
+ e(p, {
470
+ modelValue: i.value,
471
+ "onUpdate:modelValue": r[0] || (r[0] = (g) => i.value = g),
472
+ placeholder: s.data.options.placeholder || "请输入",
473
+ style: $({ width: "100%", height: s.data.options.height }),
474
+ "show-word-limit": s.data.options.count,
475
+ autosize: s.data.options.autoHeight,
476
+ maxlength: s.data.options.maxlength,
479
477
  rows: 2,
480
478
  type: "textarea"
481
479
  }, null, 8, ["modelValue", "placeholder", "style", "show-word-limit", "autosize", "maxlength"])
482
- ])) : k("", !0);
480
+ ])) : U("", !0);
483
481
  };
484
482
  }
485
483
  });
486
- const oe = /* @__PURE__ */ T(te, [["__scopeId", "data-v-b4db5b9f"]]), ue = {
484
+ const oe = /* @__PURE__ */ k(te, [["__scopeId", "data-v-b4db5b9f"]]), ue = {
487
485
  key: 0,
488
486
  class: "banner-content"
489
- }, ne = c({
487
+ }, de = _({
490
488
  name: "TextareaData"
491
- }), de = /* @__PURE__ */ c({
492
- ...ne,
489
+ }), ne = /* @__PURE__ */ _({
490
+ ...de,
493
491
  props: {
494
492
  data: {
495
493
  type: Object,
@@ -497,109 +495,109 @@ const oe = /* @__PURE__ */ T(te, [["__scopeId", "data-v-b4db5b9f"]]), ue = {
497
495
  }
498
496
  }
499
497
  },
500
- setup(u) {
501
- const s = u, l = y(), v = y(), r = y(!1);
502
- return P(() => {
503
- console.log(s.data, s, "参数接收"), s.data && (v.value = s.data.data, l.value = s.data.options, r.value = !0);
504
- }), (w, a) => {
505
- const m = i("el-input"), n = i("el-form-item"), _ = i("el-input-number"), p = i("el-switch"), U = i("el-radio-button"), x = i("el-radio-group"), h = i("el-form");
506
- return r.value ? (g(), C("div", ue, [
507
- e(h, { "label-width": "100px" }, {
498
+ setup(s) {
499
+ const i = s, l = c(), r = c(), p = c(!1);
500
+ return z(() => {
501
+ console.log(i.data, i, "参数接收"), i.data && (r.value = i.data.data, l.value = i.data.options, p.value = !0);
502
+ }), (g, a) => {
503
+ const n = V("el-input"), m = V("el-form-item"), b = V("el-input-number"), h = V("el-switch"), C = V("el-radio-button"), B = V("el-radio-group"), T = V("el-form");
504
+ return p.value ? (y(), w("div", ue, [
505
+ e(T, { "label-width": "100px" }, {
508
506
  default: t(() => [
509
- e(n, { label: "空值占位内容" }, {
507
+ e(m, { label: "空值占位内容" }, {
510
508
  default: t(() => [
511
- e(m, {
509
+ e(n, {
512
510
  modelValue: l.value.placeholder,
513
511
  "onUpdate:modelValue": a[0] || (a[0] = (o) => l.value.placeholder = o)
514
512
  }, null, 8, ["modelValue"])
515
513
  ]),
516
514
  _: 1
517
515
  }),
518
- e(n, { label: "高度" }, {
516
+ e(m, { label: "高度" }, {
519
517
  default: t(() => [
520
- e(_, {
518
+ e(b, {
521
519
  modelValue: l.value.height,
522
520
  "onUpdate:modelValue": a[1] || (a[1] = (o) => l.value.height = o)
523
521
  }, null, 8, ["modelValue"])
524
522
  ]),
525
523
  _: 1
526
524
  }),
527
- e(n, { label: "右下角按钮文字" }, {
525
+ e(m, { label: "右下角按钮文字" }, {
528
526
  default: t(() => [
529
- e(m, {
527
+ e(n, {
530
528
  modelValue: l.value.confirmType,
531
529
  "onUpdate:modelValue": a[2] || (a[2] = (o) => l.value.confirmType = o)
532
530
  }, null, 8, ["modelValue"])
533
531
  ]),
534
532
  _: 1
535
533
  }),
536
- e(n, { label: "显示字数统计" }, {
534
+ e(m, { label: "显示字数统计" }, {
537
535
  default: t(() => [
538
- e(p, {
536
+ e(h, {
539
537
  modelValue: l.value.count,
540
538
  "onUpdate:modelValue": a[3] || (a[3] = (o) => l.value.count = o)
541
539
  }, null, 8, ["modelValue"])
542
540
  ]),
543
541
  _: 1
544
542
  }),
545
- e(n, { label: "自动增高" }, {
543
+ e(m, { label: "自动增高" }, {
546
544
  default: t(() => [
547
- e(p, {
545
+ e(h, {
548
546
  modelValue: l.value.autoHeight,
549
547
  "onUpdate:modelValue": a[4] || (a[4] = (o) => l.value.autoHeight = o)
550
548
  }, null, 8, ["modelValue"])
551
549
  ]),
552
550
  _: 1
553
551
  }),
554
- e(n, { label: "显示完成按钮" }, {
552
+ e(m, { label: "显示完成按钮" }, {
555
553
  default: t(() => [
556
- e(p, {
554
+ e(h, {
557
555
  modelValue: l.value.showConfirmBar,
558
556
  "onUpdate:modelValue": a[5] || (a[5] = (o) => l.value.showConfirmBar = o)
559
557
  }, null, 8, ["modelValue"])
560
558
  ]),
561
559
  _: 1
562
560
  }),
563
- e(n, { label: "输入长度" }, {
561
+ e(m, { label: "输入长度" }, {
564
562
  default: t(() => [
565
- e(_, {
563
+ e(b, {
566
564
  modelValue: l.value.maxlength,
567
565
  "onUpdate:modelValue": a[6] || (a[6] = (o) => l.value.maxlength = o)
568
566
  }, null, 8, ["modelValue"])
569
567
  ]),
570
568
  _: 1
571
569
  }),
572
- e(n, { label: "是否铺满" }, {
570
+ e(m, { label: "是否铺满" }, {
573
571
  default: t(() => [
574
- e(p, {
572
+ e(h, {
575
573
  modelValue: l.value.fill,
576
574
  "onUpdate:modelValue": a[7] || (a[7] = (o) => l.value.fill = o)
577
575
  }, null, 8, ["modelValue"])
578
576
  ]),
579
577
  _: 1
580
578
  }),
581
- e(n, { label: "边框" }, {
579
+ e(m, { label: "边框" }, {
582
580
  default: t(() => [
583
- e(x, {
581
+ e(B, {
584
582
  modelValue: l.value.size,
585
583
  "onUpdate:modelValue": a[8] || (a[8] = (o) => l.value.size = o)
586
584
  }, {
587
585
  default: t(() => [
588
- e(U, { label: "surround" }, {
586
+ e(C, { label: "surround" }, {
589
587
  default: t(() => [
590
- V("四周边框")
588
+ v("四周边框")
591
589
  ]),
592
590
  _: 1
593
591
  }),
594
- e(U, { label: "none" }, {
592
+ e(C, { label: "none" }, {
595
593
  default: t(() => [
596
- V("无边框")
594
+ v("无边框")
597
595
  ]),
598
596
  _: 1
599
597
  }),
600
- e(U, { label: "bottom" }, {
598
+ e(C, { label: "bottom" }, {
601
599
  default: t(() => [
602
- V("底部边框")
600
+ v("底部边框")
603
601
  ]),
604
602
  _: 1
605
603
  })
@@ -609,9 +607,9 @@ const oe = /* @__PURE__ */ T(te, [["__scopeId", "data-v-b4db5b9f"]]), ue = {
609
607
  ]),
610
608
  _: 1
611
609
  }),
612
- e(n, { label: "自定义样式" }, {
610
+ e(m, { label: "自定义样式" }, {
613
611
  default: t(() => [
614
- e(m, {
612
+ e(n, {
615
613
  modelValue: l.value.customStyle,
616
614
  "onUpdate:modelValue": a[9] || (a[9] = (o) => l.value.customStyle = o),
617
615
  style: { width: "240px" },
@@ -625,11 +623,11 @@ const oe = /* @__PURE__ */ T(te, [["__scopeId", "data-v-b4db5b9f"]]), ue = {
625
623
  ]),
626
624
  _: 1
627
625
  })
628
- ])) : k("", !0);
626
+ ])) : U("", !0);
629
627
  };
630
628
  }
631
629
  });
632
- const se = /* @__PURE__ */ T(de, [["__scopeId", "data-v-91c833b3"]]), ie = {
630
+ const se = /* @__PURE__ */ k(ne, [["__scopeId", "data-v-91c833b3"]]), ie = {
633
631
  type: "uvui-textarea",
634
632
  name: "文本域",
635
633
  icon: "Textarea",
@@ -663,9 +661,9 @@ const se = /* @__PURE__ */ T(de, [["__scopeId", "data-v-91c833b3"]]), ie = {
663
661
  fill: !0
664
662
  //组件是否铺满父容器
665
663
  }
666
- }, pe = c({
664
+ }, pe = _({
667
665
  name: "NumberBoxView"
668
- }), re = /* @__PURE__ */ c({
666
+ }), re = /* @__PURE__ */ _({
669
667
  ...pe,
670
668
  props: {
671
669
  data: {
@@ -674,38 +672,38 @@ const se = /* @__PURE__ */ T(de, [["__scopeId", "data-v-91c833b3"]]), ie = {
674
672
  }
675
673
  }
676
674
  },
677
- setup(u) {
678
- const s = u, l = y(1);
675
+ setup(s) {
676
+ const i = s, l = c(1);
679
677
  return j(
680
- () => s.data.options,
681
- (v) => {
682
- l.value = v;
678
+ () => i.data.options,
679
+ (r) => {
680
+ l.value = r;
683
681
  }
684
- ), (v, r) => u.data && u.data.options ? (g(), C("div", {
682
+ ), (r, p) => s.data && s.data.options ? (y(), w("div", {
685
683
  key: 0,
686
684
  class: "number-box-wrapper",
687
- style: z({ "justify-content": u.data.options.align })
685
+ style: $({ "justify-content": s.data.options.align })
688
686
  }, [
689
- e(S(H), {
690
- min: u.data.options.min,
687
+ e(u(H), {
688
+ min: s.data.options.min,
691
689
  modelValue: l.value,
692
- "onUpdate:modelValue": r[0] || (r[0] = (w) => l.value = w),
693
- max: u.data.options.max,
694
- integer: u.data.options.integer,
690
+ "onUpdate:modelValue": p[0] || (p[0] = (g) => l.value = g),
691
+ max: s.data.options.max,
692
+ integer: s.data.options.integer,
695
693
  disabled: !0,
696
- inputWidth: u.data.options.inputWidth + "px",
697
- step: u.data.options.step
694
+ inputWidth: s.data.options.inputWidth + "px",
695
+ step: s.data.options.step
698
696
  }, null, 8, ["min", "modelValue", "max", "integer", "inputWidth", "step"])
699
- ], 4)) : k("", !0);
697
+ ], 4)) : U("", !0);
700
698
  }
701
699
  });
702
- const _e = /* @__PURE__ */ T(re, [["__scopeId", "data-v-d025175e"]]), ve = {
700
+ const ve = /* @__PURE__ */ k(re, [["__scopeId", "data-v-d025175e"]]), Ve = {
703
701
  key: 0,
704
702
  class: "banner-content"
705
- }, Ve = c({
703
+ }, be = _({
706
704
  name: "NumberBoxData"
707
- }), be = /* @__PURE__ */ c({
708
- ...Ve,
705
+ }), fe = /* @__PURE__ */ _({
706
+ ...be,
709
707
  props: {
710
708
  data: {
711
709
  type: Object,
@@ -713,18 +711,18 @@ const _e = /* @__PURE__ */ T(re, [["__scopeId", "data-v-d025175e"]]), ve = {
713
711
  }
714
712
  }
715
713
  },
716
- setup(u) {
717
- const s = u, l = y(), v = y(), r = y(!1);
718
- return P(() => {
719
- console.log(s.data, s, "参数接收"), s.data && (v.value = s.data.data, l.value = s.data.options, r.value = !0);
720
- }), (w, a) => {
721
- const m = i("el-input-number"), n = i("el-form-item"), _ = i("el-switch"), p = i("el-color-picker"), U = i("el-radio-button"), x = i("el-radio-group"), h = i("el-form");
722
- return r.value ? (g(), C("div", ve, [
723
- e(h, { "label-width": "120px" }, {
714
+ setup(s) {
715
+ const i = s, l = c(), r = c(), p = c(!1);
716
+ return z(() => {
717
+ console.log(i.data, i, "参数接收"), i.data && (r.value = i.data.data, l.value = i.data.options, p.value = !0);
718
+ }), (g, a) => {
719
+ const n = V("el-input-number"), m = V("el-form-item"), b = V("el-switch"), h = V("el-color-picker"), C = V("el-radio-button"), B = V("el-radio-group"), T = V("el-form");
720
+ return p.value ? (y(), w("div", Ve, [
721
+ e(T, { "label-width": "120px" }, {
724
722
  default: t(() => [
725
- e(n, { label: "当前值" }, {
723
+ e(m, { label: "当前值" }, {
726
724
  default: t(() => [
727
- e(m, {
725
+ e(n, {
728
726
  modelValue: l.value.value,
729
727
  "onUpdate:modelValue": a[0] || (a[0] = (o) => l.value.value = o),
730
728
  min: l.value.min,
@@ -734,27 +732,27 @@ const _e = /* @__PURE__ */ T(re, [["__scopeId", "data-v-d025175e"]]), ve = {
734
732
  ]),
735
733
  _: 1
736
734
  }),
737
- e(n, { label: "最小值" }, {
735
+ e(m, { label: "最小值" }, {
738
736
  default: t(() => [
739
- e(m, {
737
+ e(n, {
740
738
  modelValue: l.value.min,
741
739
  "onUpdate:modelValue": a[1] || (a[1] = (o) => l.value.min = o)
742
740
  }, null, 8, ["modelValue"])
743
741
  ]),
744
742
  _: 1
745
743
  }),
746
- e(n, { label: "最大值" }, {
744
+ e(m, { label: "最大值" }, {
747
745
  default: t(() => [
748
- e(m, {
746
+ e(n, {
749
747
  modelValue: l.value.max,
750
748
  "onUpdate:modelValue": a[2] || (a[2] = (o) => l.value.max = o)
751
749
  }, null, 8, ["modelValue"])
752
750
  ]),
753
751
  _: 1
754
752
  }),
755
- e(n, { label: "步长" }, {
753
+ e(m, { label: "步长" }, {
756
754
  default: t(() => [
757
- e(m, {
755
+ e(n, {
758
756
  modelValue: l.value.step,
759
757
  "onUpdate:modelValue": a[3] || (a[3] = (o) => l.value.step = o),
760
758
  min: 0,
@@ -763,36 +761,36 @@ const _e = /* @__PURE__ */ T(re, [["__scopeId", "data-v-d025175e"]]), ve = {
763
761
  ]),
764
762
  _: 1
765
763
  }),
766
- e(n, { label: "只能正整数" }, {
764
+ e(m, { label: "只能正整数" }, {
767
765
  default: t(() => [
768
- e(_, {
766
+ e(b, {
769
767
  modelValue: l.value.integer,
770
768
  "onUpdate:modelValue": a[4] || (a[4] = (o) => l.value.integer = o)
771
769
  }, null, 8, ["modelValue"])
772
770
  ]),
773
771
  _: 1
774
772
  }),
775
- e(n, { label: "禁用操作" }, {
773
+ e(m, { label: "禁用操作" }, {
776
774
  default: t(() => [
777
- e(_, {
775
+ e(b, {
778
776
  modelValue: l.value.disabled,
779
777
  "onUpdate:modelValue": a[5] || (a[5] = (o) => l.value.disabled = o)
780
778
  }, null, 8, ["modelValue"])
781
779
  ]),
782
780
  _: 1
783
781
  }),
784
- e(n, { label: "禁止输入框" }, {
782
+ e(m, { label: "禁止输入框" }, {
785
783
  default: t(() => [
786
- e(_, {
784
+ e(b, {
787
785
  modelValue: l.value.disabledInput,
788
786
  "onUpdate:modelValue": a[6] || (a[6] = (o) => l.value.disabledInput = o)
789
787
  }, null, 8, ["modelValue"])
790
788
  ]),
791
789
  _: 1
792
790
  }),
793
- e(n, { label: "输入框宽度(px)" }, {
791
+ e(m, { label: "输入框宽度(px)" }, {
794
792
  default: t(() => [
795
- e(m, {
793
+ e(n, {
796
794
  modelValue: l.value.inputWidth,
797
795
  "onUpdate:modelValue": a[7] || (a[7] = (o) => l.value.inputWidth = o),
798
796
  min: 20,
@@ -801,27 +799,27 @@ const _e = /* @__PURE__ */ T(re, [["__scopeId", "data-v-d025175e"]]), ve = {
801
799
  ]),
802
800
  _: 1
803
801
  }),
804
- e(n, { label: "显示减少按钮" }, {
802
+ e(m, { label: "显示减少按钮" }, {
805
803
  default: t(() => [
806
- e(_, {
804
+ e(b, {
807
805
  modelValue: l.value.showMinus,
808
806
  "onUpdate:modelValue": a[8] || (a[8] = (o) => l.value.showMinus = o)
809
807
  }, null, 8, ["modelValue"])
810
808
  ]),
811
809
  _: 1
812
810
  }),
813
- e(n, { label: "显示增加按钮" }, {
811
+ e(m, { label: "显示增加按钮" }, {
814
812
  default: t(() => [
815
- e(_, {
813
+ e(b, {
816
814
  modelValue: l.value.showPlus,
817
815
  "onUpdate:modelValue": a[9] || (a[9] = (o) => l.value.showPlus = o)
818
816
  }, null, 8, ["modelValue"])
819
817
  ]),
820
818
  _: 1
821
819
  }),
822
- e(n, { label: "小数位数" }, {
820
+ e(m, { label: "小数位数" }, {
823
821
  default: t(() => [
824
- e(m, {
822
+ e(n, {
825
823
  modelValue: l.value.decimalLength,
826
824
  "onUpdate:modelValue": a[10] || (a[10] = (o) => l.value.decimalLength = o),
827
825
  min: 0,
@@ -830,18 +828,18 @@ const _e = /* @__PURE__ */ T(re, [["__scopeId", "data-v-d025175e"]]), ve = {
830
828
  ]),
831
829
  _: 1
832
830
  }),
833
- e(n, { label: "允许长按" }, {
831
+ e(m, { label: "允许长按" }, {
834
832
  default: t(() => [
835
- e(_, {
833
+ e(b, {
836
834
  modelValue: l.value.longPress,
837
835
  "onUpdate:modelValue": a[11] || (a[11] = (o) => l.value.longPress = o)
838
836
  }, null, 8, ["modelValue"])
839
837
  ]),
840
838
  _: 1
841
839
  }),
842
- e(n, { label: "文字颜色" }, {
840
+ e(m, { label: "文字颜色" }, {
843
841
  default: t(() => [
844
- e(p, {
842
+ e(h, {
845
843
  modelValue: l.value.color,
846
844
  "onUpdate:modelValue": a[12] || (a[12] = (o) => l.value.color = o),
847
845
  "show-alpha": ""
@@ -849,9 +847,9 @@ const _e = /* @__PURE__ */ T(re, [["__scopeId", "data-v-d025175e"]]), ve = {
849
847
  ]),
850
848
  _: 1
851
849
  }),
852
- e(n, { label: "按钮大小(px)" }, {
850
+ e(m, { label: "按钮大小(px)" }, {
853
851
  default: t(() => [
854
- e(m, {
852
+ e(n, {
855
853
  modelValue: l.value.buttonSize,
856
854
  "onUpdate:modelValue": a[13] || (a[13] = (o) => l.value.buttonSize = o),
857
855
  min: 20,
@@ -860,9 +858,9 @@ const _e = /* @__PURE__ */ T(re, [["__scopeId", "data-v-d025175e"]]), ve = {
860
858
  ]),
861
859
  _: 1
862
860
  }),
863
- e(n, { label: "背景颜色" }, {
861
+ e(m, { label: "背景颜色" }, {
864
862
  default: t(() => [
865
- e(p, {
863
+ e(h, {
866
864
  modelValue: l.value.bgColor,
867
865
  "onUpdate:modelValue": a[14] || (a[14] = (o) => l.value.bgColor = o),
868
866
  "show-alpha": ""
@@ -870,46 +868,46 @@ const _e = /* @__PURE__ */ T(re, [["__scopeId", "data-v-d025175e"]]), ve = {
870
868
  ]),
871
869
  _: 1
872
870
  }),
873
- e(n, { label: "禁用增加按钮" }, {
871
+ e(m, { label: "禁用增加按钮" }, {
874
872
  default: t(() => [
875
- e(_, {
873
+ e(b, {
876
874
  modelValue: l.value.disablePlus,
877
875
  "onUpdate:modelValue": a[15] || (a[15] = (o) => l.value.disablePlus = o)
878
876
  }, null, 8, ["modelValue"])
879
877
  ]),
880
878
  _: 1
881
879
  }),
882
- e(n, { label: "禁用减少按钮" }, {
880
+ e(m, { label: "禁用减少按钮" }, {
883
881
  default: t(() => [
884
- e(_, {
882
+ e(b, {
885
883
  modelValue: l.value.disableMinus,
886
884
  "onUpdate:modelValue": a[16] || (a[16] = (o) => l.value.disableMinus = o)
887
885
  }, null, 8, ["modelValue"])
888
886
  ]),
889
887
  _: 1
890
888
  }),
891
- e(n, { label: "对齐方式" }, {
889
+ e(m, { label: "对齐方式" }, {
892
890
  default: t(() => [
893
- e(x, {
891
+ e(B, {
894
892
  modelValue: l.value.align,
895
893
  "onUpdate:modelValue": a[17] || (a[17] = (o) => l.value.align = o)
896
894
  }, {
897
895
  default: t(() => [
898
- e(U, { label: "left" }, {
896
+ e(C, { label: "left" }, {
899
897
  default: t(() => [
900
- V("左对齐")
898
+ v("左对齐")
901
899
  ]),
902
900
  _: 1
903
901
  }),
904
- e(U, { label: "center" }, {
902
+ e(C, { label: "center" }, {
905
903
  default: t(() => [
906
- V("居中对齐")
904
+ v("居中对齐")
907
905
  ]),
908
906
  _: 1
909
907
  }),
910
- e(U, { label: "right" }, {
908
+ e(C, { label: "right" }, {
911
909
  default: t(() => [
912
- V("右对齐")
910
+ v("右对齐")
913
911
  ]),
914
912
  _: 1
915
913
  })
@@ -919,9 +917,9 @@ const _e = /* @__PURE__ */ T(re, [["__scopeId", "data-v-d025175e"]]), ve = {
919
917
  ]),
920
918
  _: 1
921
919
  }),
922
- e(n, { label: "铺满" }, {
920
+ e(m, { label: "铺满" }, {
923
921
  default: t(() => [
924
- e(_, {
922
+ e(b, {
925
923
  modelValue: l.value.fill,
926
924
  "onUpdate:modelValue": a[18] || (a[18] = (o) => l.value.fill = o)
927
925
  }, null, 8, ["modelValue"])
@@ -931,18 +929,18 @@ const _e = /* @__PURE__ */ T(re, [["__scopeId", "data-v-d025175e"]]), ve = {
931
929
  ]),
932
930
  _: 1
933
931
  })
934
- ])) : k("", !0);
932
+ ])) : U("", !0);
935
933
  };
936
934
  }
937
935
  });
938
- const fe = /* @__PURE__ */ T(be, [["__scopeId", "data-v-0130b026"]]), ce = {
936
+ const _e = /* @__PURE__ */ k(fe, [["__scopeId", "data-v-0130b026"]]), ce = {
939
937
  type: "uvui-numberBox",
940
938
  name: "步进器",
941
939
  icon: "Postcard",
942
940
  fontIcon: "icon-shangpinanniu_changtiaoanniu",
943
941
  page: "index,activity",
944
- viewCom: _e,
945
- editCom: fe,
942
+ viewCom: ve,
943
+ editCom: _e,
946
944
  limit: 0
947
945
  }, xe = {
948
946
  data: {},
@@ -989,9 +987,9 @@ const fe = /* @__PURE__ */ T(be, [["__scopeId", "data-v-0130b026"]]), ce = {
989
987
  }, ye = {
990
988
  key: 0,
991
989
  class: "cell_box"
992
- }, ge = c({
990
+ }, ge = _({
993
991
  name: "CollapseView"
994
- }), we = /* @__PURE__ */ c({
992
+ }), we = /* @__PURE__ */ _({
995
993
  ...ge,
996
994
  props: {
997
995
  data: {
@@ -1000,41 +998,41 @@ const fe = /* @__PURE__ */ T(be, [["__scopeId", "data-v-0130b026"]]), ce = {
1000
998
  }
1001
999
  }
1002
1000
  },
1003
- setup(u) {
1004
- const s = u, l = y([]), v = E(() => s.data.data && s.data.data.list ? (l.value = s.data.data.list.map((r, w) => r.title + "_" + w), s.data.data.list) : []);
1005
- return (r, w) => u.data && u.data.options ? (g(), C("div", ye, [
1006
- e(S(A), {
1001
+ setup(s) {
1002
+ const i = s, l = c([]), r = E(() => i.data.data && i.data.data.list ? (l.value = i.data.data.list.map((p, g) => p.title + "_" + g), i.data.data.list) : []);
1003
+ return (p, g) => s.data && s.data.options ? (y(), w("div", ye, [
1004
+ e(u(A), {
1007
1005
  modelValue: l.value,
1008
- "onUpdate:modelValue": w[0] || (w[0] = (a) => l.value = a)
1006
+ "onUpdate:modelValue": g[0] || (g[0] = (a) => l.value = a)
1009
1007
  }, {
1010
1008
  default: t(() => [
1011
- (g(!0), C(O, null, D(S(v), (a, m) => (g(), L(S(F), {
1012
- key: m,
1013
- name: a.title + "_" + m
1009
+ (y(!0), w(O, null, D(u(r), (a, n) => (y(), P(u(F), {
1010
+ key: n,
1011
+ name: a.title + "_" + n
1014
1012
  }, {
1015
1013
  title: t(() => [
1016
- V($(a.title), 1)
1014
+ v(S(a.title), 1)
1017
1015
  ]),
1018
1016
  right: t(() => [
1019
- V($(a.value), 1)
1017
+ v(S(a.value), 1)
1020
1018
  ]),
1021
1019
  default: t(() => [
1022
- V(" " + $(a.label), 1)
1020
+ v(" " + S(a.label), 1)
1023
1021
  ]),
1024
1022
  _: 2
1025
1023
  }, 1032, ["name"]))), 128))
1026
1024
  ]),
1027
1025
  _: 1
1028
1026
  }, 8, ["modelValue"])
1029
- ])) : k("", !0);
1027
+ ])) : U("", !0);
1030
1028
  }
1031
1029
  });
1032
- const Ue = /* @__PURE__ */ T(we, [["__scopeId", "data-v-cd08eed6"]]), I = (u) => (M("data-v-c904acd0"), u = u(), q(), u), he = {
1030
+ const Ue = /* @__PURE__ */ k(we, [["__scopeId", "data-v-cd08eed6"]]), I = (s) => (M("data-v-c904acd0"), s = s(), q(), s), he = {
1033
1031
  key: 0,
1034
1032
  class: "banner-content"
1035
- }, Ce = { class: "l-info" }, ke = { class: "mt-5px" }, Te = /* @__PURE__ */ I(() => /* @__PURE__ */ f("span", null, "标题:", -1)), Ie = { class: "mt-5px" }, Be = /* @__PURE__ */ I(() => /* @__PURE__ */ f("span", null, "内容:", -1)), Se = { class: "mt-5px" }, $e = /* @__PURE__ */ I(() => /* @__PURE__ */ f("span", null, "描述:", -1)), ze = { class: "mt-5px" }, Pe = /* @__PURE__ */ I(() => /* @__PURE__ */ f("span", null, "禁用:", -1)), Le = { class: "mt-5px" }, Oe = /* @__PURE__ */ I(() => /* @__PURE__ */ f("span", null, "右箭头:", -1)), De = { class: "mt-5px" }, Ne = /* @__PURE__ */ I(() => /* @__PURE__ */ f("span", null, "点击反馈:", -1)), je = { class: "mt-5px" }, Ee = /* @__PURE__ */ I(() => /* @__PURE__ */ f("span", null, "显示内边框:", -1)), Me = { class: "mt-5px" }, qe = c({
1033
+ }, Ce = { class: "l-info" }, ke = { class: "mt-5px" }, Te = /* @__PURE__ */ I(() => /* @__PURE__ */ f("span", null, "标题:", -1)), Ie = { class: "mt-5px" }, Be = /* @__PURE__ */ I(() => /* @__PURE__ */ f("span", null, "内容:", -1)), Se = { class: "mt-5px" }, $e = /* @__PURE__ */ I(() => /* @__PURE__ */ f("span", null, "描述:", -1)), ze = { class: "mt-5px" }, Pe = /* @__PURE__ */ I(() => /* @__PURE__ */ f("span", null, "禁用:", -1)), Le = { class: "mt-5px" }, Oe = /* @__PURE__ */ I(() => /* @__PURE__ */ f("span", null, "右箭头:", -1)), De = { class: "mt-5px" }, Ne = /* @__PURE__ */ I(() => /* @__PURE__ */ f("span", null, "点击反馈:", -1)), je = { class: "mt-5px" }, Ee = /* @__PURE__ */ I(() => /* @__PURE__ */ f("span", null, "显示内边框:", -1)), Me = { class: "mt-5px" }, qe = _({
1036
1034
  name: "CollapseData"
1037
- }), We = /* @__PURE__ */ c({
1035
+ }), We = /* @__PURE__ */ _({
1038
1036
  ...qe,
1039
1037
  props: {
1040
1038
  data: {
@@ -1043,11 +1041,11 @@ const Ue = /* @__PURE__ */ T(we, [["__scopeId", "data-v-cd08eed6"]]), I = (u) =>
1043
1041
  }
1044
1042
  }
1045
1043
  },
1046
- setup(u) {
1047
- const s = u, l = y(), v = y(), r = y(!1), w = (m) => {
1048
- v.value.list.splice(m, 1);
1044
+ setup(s) {
1045
+ const i = s, l = c(), r = c(), p = c(!1), g = (n) => {
1046
+ r.value.list.splice(n, 1);
1049
1047
  }, a = () => {
1050
- v.value.list.push({
1048
+ r.value.list.push({
1051
1049
  title: "面板标题",
1052
1050
  // 面板标题
1053
1051
  value: "右侧内容",
@@ -1064,18 +1062,18 @@ const Ue = /* @__PURE__ */ T(we, [["__scopeId", "data-v-cd08eed6"]]), I = (u) =>
1064
1062
  //是否显示内边框
1065
1063
  });
1066
1064
  };
1067
- return P(() => {
1068
- s.data && (v.value = s.data.data, l.value = s.data.options, r.value = !0);
1069
- }), (m, n) => {
1070
- const _ = i("el-switch"), p = i("el-form-item"), U = i("el-form"), x = i("el-button"), h = i("el-input");
1071
- return r.value ? (g(), C("div", he, [
1072
- e(U, { "label-width": "100px" }, {
1065
+ return z(() => {
1066
+ i.data && (r.value = i.data.data, l.value = i.data.options, p.value = !0);
1067
+ }), (n, m) => {
1068
+ const b = V("el-switch"), h = V("el-form-item"), C = V("el-form"), B = V("el-button"), T = V("el-input");
1069
+ return p.value ? (y(), w("div", he, [
1070
+ e(C, { "label-width": "100px" }, {
1073
1071
  default: t(() => [
1074
- e(p, { label: "是否铺满" }, {
1072
+ e(h, { label: "是否铺满" }, {
1075
1073
  default: t(() => [
1076
- e(_, {
1074
+ e(b, {
1077
1075
  modelValue: l.value.fill,
1078
- "onUpdate:modelValue": n[0] || (n[0] = (o) => l.value.fill = o)
1076
+ "onUpdate:modelValue": m[0] || (m[0] = (o) => l.value.fill = o)
1079
1077
  }, null, 8, ["modelValue"])
1080
1078
  ]),
1081
1079
  _: 1
@@ -1083,26 +1081,26 @@ const Ue = /* @__PURE__ */ T(we, [["__scopeId", "data-v-cd08eed6"]]), I = (u) =>
1083
1081
  ]),
1084
1082
  _: 1
1085
1083
  }),
1086
- e(x, {
1084
+ e(B, {
1087
1085
  type: "primary",
1088
1086
  onClick: a,
1089
1087
  class: "mt-10px"
1090
1088
  }, {
1091
1089
  default: t(() => [
1092
- V("添加项")
1090
+ v("添加项")
1093
1091
  ]),
1094
1092
  _: 1
1095
1093
  }),
1096
- (g(!0), C(O, null, D(v.value.list, (o, B) => (g(), C("div", {
1094
+ (y(!0), w(O, null, D(r.value.list, (o, L) => (y(), w("div", {
1097
1095
  class: "item-list",
1098
- key: B
1096
+ key: L
1099
1097
  }, [
1100
1098
  f("div", Ce, [
1101
1099
  f("div", ke, [
1102
1100
  Te,
1103
- e(h, {
1101
+ e(T, {
1104
1102
  modelValue: o.title,
1105
- "onUpdate:modelValue": (b) => o.title = b,
1103
+ "onUpdate:modelValue": (x) => o.title = x,
1106
1104
  style: { width: "180px" },
1107
1105
  placeholder: "请输入",
1108
1106
  clearable: ""
@@ -1110,9 +1108,9 @@ const Ue = /* @__PURE__ */ T(we, [["__scopeId", "data-v-cd08eed6"]]), I = (u) =>
1110
1108
  ]),
1111
1109
  f("div", Ie, [
1112
1110
  Be,
1113
- e(h, {
1111
+ e(T, {
1114
1112
  modelValue: o.value,
1115
- "onUpdate:modelValue": (b) => o.value = b,
1113
+ "onUpdate:modelValue": (x) => o.value = x,
1116
1114
  style: { width: "180px" },
1117
1115
  placeholder: "请输入",
1118
1116
  clearable: ""
@@ -1120,9 +1118,9 @@ const Ue = /* @__PURE__ */ T(we, [["__scopeId", "data-v-cd08eed6"]]), I = (u) =>
1120
1118
  ]),
1121
1119
  f("div", Se, [
1122
1120
  $e,
1123
- e(h, {
1121
+ e(T, {
1124
1122
  modelValue: o.label,
1125
- "onUpdate:modelValue": (b) => o.label = b,
1123
+ "onUpdate:modelValue": (x) => o.label = x,
1126
1124
  style: { width: "180px" },
1127
1125
  placeholder: "请输入",
1128
1126
  clearable: ""
@@ -1130,51 +1128,51 @@ const Ue = /* @__PURE__ */ T(we, [["__scopeId", "data-v-cd08eed6"]]), I = (u) =>
1130
1128
  ]),
1131
1129
  f("div", ze, [
1132
1130
  Pe,
1133
- e(_, {
1131
+ e(b, {
1134
1132
  modelValue: o.disabled,
1135
- "onUpdate:modelValue": (b) => o.disabled = b
1133
+ "onUpdate:modelValue": (x) => o.disabled = x
1136
1134
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
1137
1135
  ]),
1138
1136
  f("div", Le, [
1139
1137
  Oe,
1140
- e(_, {
1138
+ e(b, {
1141
1139
  modelValue: o.isLink,
1142
- "onUpdate:modelValue": (b) => o.isLink = b
1140
+ "onUpdate:modelValue": (x) => o.isLink = x
1143
1141
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
1144
1142
  ]),
1145
1143
  f("div", De, [
1146
1144
  Ne,
1147
- e(_, {
1145
+ e(b, {
1148
1146
  modelValue: o.clickable,
1149
- "onUpdate:modelValue": (b) => o.clickable = b
1147
+ "onUpdate:modelValue": (x) => o.clickable = x
1150
1148
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
1151
1149
  ]),
1152
1150
  f("div", je, [
1153
1151
  Ee,
1154
- e(_, {
1152
+ e(b, {
1155
1153
  modelValue: o.border,
1156
- "onUpdate:modelValue": (b) => o.border = b
1154
+ "onUpdate:modelValue": (x) => o.border = x
1157
1155
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
1158
1156
  ]),
1159
1157
  f("div", Me, [
1160
- e(x, {
1158
+ e(B, {
1161
1159
  type: "danger",
1162
- onClick: (b) => w(B),
1160
+ onClick: (x) => g(L),
1163
1161
  size: "small"
1164
1162
  }, {
1165
1163
  default: t(() => [
1166
- V("删除")
1164
+ v("删除")
1167
1165
  ]),
1168
1166
  _: 2
1169
1167
  }, 1032, ["onClick"])
1170
1168
  ])
1171
1169
  ])
1172
1170
  ]))), 128))
1173
- ])) : k("", !0);
1171
+ ])) : U("", !0);
1174
1172
  };
1175
1173
  }
1176
1174
  });
1177
- const He = /* @__PURE__ */ T(We, [["__scopeId", "data-v-c904acd0"]]), Ae = {
1175
+ const He = /* @__PURE__ */ k(We, [["__scopeId", "data-v-c904acd0"]]), Ae = {
1178
1176
  type: "uvui-collapse",
1179
1177
  name: "折叠面板",
1180
1178
  icon: "Postcard",
@@ -1208,12 +1206,12 @@ const He = /* @__PURE__ */ T(We, [["__scopeId", "data-v-c904acd0"]]), Ae = {
1208
1206
  fill: !1
1209
1207
  //组件是否铺满父容器
1210
1208
  }
1211
- }, Ge = { buttonTypeList: Z, textareaTypeList: ie, numberBoxTypeList: ce, collapseTypeList: Ae }, Re = { buttonOptions: ee, textareaOptions: me, numberBoxOptions: xe, collapseOptions: Fe }, Ke = {
1209
+ }, Ge = { buttonTypeList: Z, textareaTypeList: ie, numberBoxTypeList: ce, collapseTypeList: Ae }, Re = { buttonOptions: ee, textareaOptions: me, numberBoxOptions: xe, collapseOptions: Fe }, Qe = {
1212
1210
  uvUiList: Ge,
1213
1211
  uvUIOptions: Re
1214
1212
  };
1215
1213
  export {
1216
- Ke as default,
1214
+ Qe as default,
1217
1215
  Re as uvUIOptions,
1218
1216
  Ge as uvUiList
1219
1217
  };