vuv-ui 1.0.11 → 1.0.12

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,10 +1,9 @@
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
- import { uvButton as W, uvStepper as H, uvCollapse as A, uvCollapseItem as F } from "uv-ui";
3
- import d from "element-plus";
4
- const G = _({
5
- name: "ButtonView"
6
- }), R = /* @__PURE__ */ _({
7
- ...G,
1
+ import { defineComponent as c, openBlock as g, createElementBlock as C, normalizeClass as E, 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 M, computed as q, Fragment as O, renderList as D, createElementVNode as f, pushScopeId as W, popScopeId as H } from "vue";
2
+ import { uvButton as A, uvStepper as F, uvCollapse as G, uvCollapseItem as R } from "uv-ui";
3
+ const X = c({
4
+ name: "uvuiButtonView"
5
+ }), J = /* @__PURE__ */ c({
6
+ ...X,
8
7
  props: {
9
8
  data: {
10
9
  type: Object,
@@ -12,47 +11,47 @@ const G = _({
12
11
  }
13
12
  }
14
13
  },
15
- setup(s) {
16
- return (i, l) => s.data && s.data.options ? (y(), w("div", {
14
+ setup(u) {
15
+ return (d, l) => u.data && u.data.options ? (g(), C("div", {
17
16
  key: 0,
18
- class: N(["button_box", { plain: s.data.options.plain }]),
19
- style: $({ "justify-content": s.data.options.position })
17
+ class: E(["button_box", { plain: u.data.options.plain }]),
18
+ style: z({ "justify-content": u.data.options.position })
20
19
  }, [
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"
20
+ e(S(A), {
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"
34
33
  })
35
34
  }, {
36
35
  default: t(() => [
37
- v(S(s.data.options.text || "按钮"), 1)
36
+ V($(u.data.options.text || "按钮"), 1)
38
37
  ]),
39
38
  _: 1
40
39
  }, 8, ["type", "bgColor", "disabled", "color", "round", "square", "size", "loading", "icon", "style"])
41
- ], 6)) : U("", !0);
40
+ ], 6)) : k("", !0);
42
41
  }
43
42
  });
44
- const k = (s, i) => {
45
- const l = s.__vccOpts || s;
46
- for (const [r, p] of i)
47
- l[r] = p;
43
+ const T = (u, d) => {
44
+ const l = u.__vccOpts || u;
45
+ for (const [_, r] of d)
46
+ l[_] = r;
48
47
  return l;
49
- }, X = /* @__PURE__ */ k(R, [["__scopeId", "data-v-8b545b2a"]]), J = {
48
+ }, N = /* @__PURE__ */ T(J, [["__scopeId", "data-v-ddf92851"]]), K = {
50
49
  key: 0,
51
50
  class: "banner-content"
52
- }, K = _({
53
- name: "ButtonData"
54
- }), Q = /* @__PURE__ */ _({
55
- ...K,
51
+ }, Q = c({
52
+ name: "uvuiButtonData"
53
+ }), Y = /* @__PURE__ */ c({
54
+ ...Q,
56
55
  props: {
57
56
  data: {
58
57
  type: Object,
@@ -60,348 +59,351 @@ const k = (s, i) => {
60
59
  }
61
60
  }
62
61
  },
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);
62
+ setup(u) {
63
+ const d = u, l = y(), _ = y(), r = y(!1);
64
+ return P(() => {
65
+ console.log(d.data, d, "参数接收"), d.data && (_.value = d.data.data, l.value = d.data.options, r.value = !0);
66
+ }), (w, a) => {
67
+ const m = i("el-switch"), n = i("el-form-item"), v = 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", K, [
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] = (s) => l.value.hairline = s)
76
+ }, null, 8, ["modelValue"])
77
+ ]),
78
+ _: 1
79
+ }),
80
+ e(n, { label: "宽度" }, {
81
+ default: t(() => [
82
+ e(v, {
83
+ modelValue: l.value.width,
84
+ "onUpdate:modelValue": a[1] || (a[1] = (s) => l.value.width = s)
85
+ }, null, 8, ["modelValue"])
86
+ ]),
87
+ _: 1
88
+ }),
89
+ e(n, { label: "高度" }, {
90
+ default: t(() => [
91
+ e(v, {
92
+ modelValue: l.value.height,
93
+ "onUpdate:modelValue": a[2] || (a[2] = (s) => l.value.height = s)
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] = (s) => l.value.type = s),
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] = (s) => l.value.size = s)
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] = (s) => l.value.position = s)
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] = (s) => l.value.shape = s)
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] = (s) => l.value.plain = s)
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] = (s) => l.value.disabled = s)
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] = (s) => l.value.fill = s)
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] = (s) => l.value.loading = s)
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] = (s) => l.value.loadingText = s),
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] = (s) => l.value.openType = s),
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] = (s) => l.value.pagePath = s),
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] = (s) => l.value.isTabBar = s)
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] = (s) => l.value.text = s),
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] = (s) => l.value.color = s),
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] = (s) => l.value.textColor = s),
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] = (s) => l.value.customStyle = s),
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
+ };
395
397
  }
396
398
  });
397
- const Y = /* @__PURE__ */ k(Q, [["__scopeId", "data-v-f4e926bb"]]), Z = {
399
+ const j = /* @__PURE__ */ T(Y, [["__scopeId", "data-v-3bbcd931"]]), Z = {
398
400
  type: "uvui-button",
399
401
  name: "按钮",
400
402
  icon: "Postcard",
401
403
  fontIcon: "icon-shangpinanniu_changtiaoanniu",
402
404
  page: "index,activity",
403
- viewCom: X,
404
- editCom: Y,
405
+ viewCom: N,
406
+ editCom: j,
405
407
  limit: 0
406
408
  }, ee = {
407
409
  data: {},
@@ -450,9 +452,9 @@ const Y = /* @__PURE__ */ k(Q, [["__scopeId", "data-v-f4e926bb"]]), Z = {
450
452
  }, le = {
451
453
  key: 0,
452
454
  class: "textarea_box"
453
- }, ae = _({
455
+ }, ae = c({
454
456
  name: "TextareaView"
455
- }), te = /* @__PURE__ */ _({
457
+ }), te = /* @__PURE__ */ c({
456
458
  ...ae,
457
459
  props: {
458
460
  data: {
@@ -461,33 +463,33 @@ const Y = /* @__PURE__ */ k(Q, [["__scopeId", "data-v-f4e926bb"]]), Z = {
461
463
  }
462
464
  }
463
465
  },
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,
466
+ setup(u) {
467
+ const d = y("");
468
+ return (l, _) => {
469
+ const r = i("el-input");
470
+ return u.data && u.data.options ? (g(), C("div", le, [
471
+ e(r, {
472
+ modelValue: d.value,
473
+ "onUpdate:modelValue": _[0] || (_[0] = (w) => d.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,
477
479
  rows: 2,
478
480
  type: "textarea"
479
481
  }, null, 8, ["modelValue", "placeholder", "style", "show-word-limit", "autosize", "maxlength"])
480
- ])) : U("", !0);
482
+ ])) : k("", !0);
481
483
  };
482
484
  }
483
485
  });
484
- const oe = /* @__PURE__ */ k(te, [["__scopeId", "data-v-b4db5b9f"]]), ue = {
486
+ const oe = /* @__PURE__ */ T(te, [["__scopeId", "data-v-b4db5b9f"]]), ue = {
485
487
  key: 0,
486
488
  class: "banner-content"
487
- }, de = _({
489
+ }, ne = c({
488
490
  name: "TextareaData"
489
- }), ne = /* @__PURE__ */ _({
490
- ...de,
491
+ }), de = /* @__PURE__ */ c({
492
+ ...ne,
491
493
  props: {
492
494
  data: {
493
495
  type: Object,
@@ -495,109 +497,109 @@ const oe = /* @__PURE__ */ k(te, [["__scopeId", "data-v-b4db5b9f"]]), ue = {
495
497
  }
496
498
  }
497
499
  },
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" }, {
500
+ setup(u) {
501
+ const d = u, l = y(), _ = y(), r = y(!1);
502
+ return P(() => {
503
+ console.log(d.data, d, "参数接收"), d.data && (_.value = d.data.data, l.value = d.data.options, r.value = !0);
504
+ }), (w, a) => {
505
+ const m = i("el-input"), n = i("el-form-item"), v = 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" }, {
506
508
  default: t(() => [
507
- e(m, { label: "空值占位内容" }, {
509
+ e(n, { label: "空值占位内容" }, {
508
510
  default: t(() => [
509
- e(n, {
511
+ e(m, {
510
512
  modelValue: l.value.placeholder,
511
513
  "onUpdate:modelValue": a[0] || (a[0] = (o) => l.value.placeholder = o)
512
514
  }, null, 8, ["modelValue"])
513
515
  ]),
514
516
  _: 1
515
517
  }),
516
- e(m, { label: "高度" }, {
518
+ e(n, { label: "高度" }, {
517
519
  default: t(() => [
518
- e(b, {
520
+ e(v, {
519
521
  modelValue: l.value.height,
520
522
  "onUpdate:modelValue": a[1] || (a[1] = (o) => l.value.height = o)
521
523
  }, null, 8, ["modelValue"])
522
524
  ]),
523
525
  _: 1
524
526
  }),
525
- e(m, { label: "右下角按钮文字" }, {
527
+ e(n, { label: "右下角按钮文字" }, {
526
528
  default: t(() => [
527
- e(n, {
529
+ e(m, {
528
530
  modelValue: l.value.confirmType,
529
531
  "onUpdate:modelValue": a[2] || (a[2] = (o) => l.value.confirmType = o)
530
532
  }, null, 8, ["modelValue"])
531
533
  ]),
532
534
  _: 1
533
535
  }),
534
- e(m, { label: "显示字数统计" }, {
536
+ e(n, { label: "显示字数统计" }, {
535
537
  default: t(() => [
536
- e(h, {
538
+ e(p, {
537
539
  modelValue: l.value.count,
538
540
  "onUpdate:modelValue": a[3] || (a[3] = (o) => l.value.count = o)
539
541
  }, null, 8, ["modelValue"])
540
542
  ]),
541
543
  _: 1
542
544
  }),
543
- e(m, { label: "自动增高" }, {
545
+ e(n, { label: "自动增高" }, {
544
546
  default: t(() => [
545
- e(h, {
547
+ e(p, {
546
548
  modelValue: l.value.autoHeight,
547
549
  "onUpdate:modelValue": a[4] || (a[4] = (o) => l.value.autoHeight = o)
548
550
  }, null, 8, ["modelValue"])
549
551
  ]),
550
552
  _: 1
551
553
  }),
552
- e(m, { label: "显示完成按钮" }, {
554
+ e(n, { label: "显示完成按钮" }, {
553
555
  default: t(() => [
554
- e(h, {
556
+ e(p, {
555
557
  modelValue: l.value.showConfirmBar,
556
558
  "onUpdate:modelValue": a[5] || (a[5] = (o) => l.value.showConfirmBar = o)
557
559
  }, null, 8, ["modelValue"])
558
560
  ]),
559
561
  _: 1
560
562
  }),
561
- e(m, { label: "输入长度" }, {
563
+ e(n, { label: "输入长度" }, {
562
564
  default: t(() => [
563
- e(b, {
565
+ e(v, {
564
566
  modelValue: l.value.maxlength,
565
567
  "onUpdate:modelValue": a[6] || (a[6] = (o) => l.value.maxlength = o)
566
568
  }, null, 8, ["modelValue"])
567
569
  ]),
568
570
  _: 1
569
571
  }),
570
- e(m, { label: "是否铺满" }, {
572
+ e(n, { label: "是否铺满" }, {
571
573
  default: t(() => [
572
- e(h, {
574
+ e(p, {
573
575
  modelValue: l.value.fill,
574
576
  "onUpdate:modelValue": a[7] || (a[7] = (o) => l.value.fill = o)
575
577
  }, null, 8, ["modelValue"])
576
578
  ]),
577
579
  _: 1
578
580
  }),
579
- e(m, { label: "边框" }, {
581
+ e(n, { label: "边框" }, {
580
582
  default: t(() => [
581
- e(B, {
583
+ e(x, {
582
584
  modelValue: l.value.size,
583
585
  "onUpdate:modelValue": a[8] || (a[8] = (o) => l.value.size = o)
584
586
  }, {
585
587
  default: t(() => [
586
- e(C, { label: "surround" }, {
588
+ e(U, { label: "surround" }, {
587
589
  default: t(() => [
588
- v("四周边框")
590
+ V("四周边框")
589
591
  ]),
590
592
  _: 1
591
593
  }),
592
- e(C, { label: "none" }, {
594
+ e(U, { label: "none" }, {
593
595
  default: t(() => [
594
- v("无边框")
596
+ V("无边框")
595
597
  ]),
596
598
  _: 1
597
599
  }),
598
- e(C, { label: "bottom" }, {
600
+ e(U, { label: "bottom" }, {
599
601
  default: t(() => [
600
- v("底部边框")
602
+ V("底部边框")
601
603
  ]),
602
604
  _: 1
603
605
  })
@@ -607,9 +609,9 @@ const oe = /* @__PURE__ */ k(te, [["__scopeId", "data-v-b4db5b9f"]]), ue = {
607
609
  ]),
608
610
  _: 1
609
611
  }),
610
- e(m, { label: "自定义样式" }, {
612
+ e(n, { label: "自定义样式" }, {
611
613
  default: t(() => [
612
- e(n, {
614
+ e(m, {
613
615
  modelValue: l.value.customStyle,
614
616
  "onUpdate:modelValue": a[9] || (a[9] = (o) => l.value.customStyle = o),
615
617
  style: { width: "240px" },
@@ -623,11 +625,11 @@ const oe = /* @__PURE__ */ k(te, [["__scopeId", "data-v-b4db5b9f"]]), ue = {
623
625
  ]),
624
626
  _: 1
625
627
  })
626
- ])) : U("", !0);
628
+ ])) : k("", !0);
627
629
  };
628
630
  }
629
631
  });
630
- const se = /* @__PURE__ */ k(ne, [["__scopeId", "data-v-91c833b3"]]), ie = {
632
+ const se = /* @__PURE__ */ T(de, [["__scopeId", "data-v-91c833b3"]]), ie = {
631
633
  type: "uvui-textarea",
632
634
  name: "文本域",
633
635
  icon: "Textarea",
@@ -661,9 +663,9 @@ const se = /* @__PURE__ */ k(ne, [["__scopeId", "data-v-91c833b3"]]), ie = {
661
663
  fill: !0
662
664
  //组件是否铺满父容器
663
665
  }
664
- }, pe = _({
666
+ }, pe = c({
665
667
  name: "NumberBoxView"
666
- }), re = /* @__PURE__ */ _({
668
+ }), re = /* @__PURE__ */ c({
667
669
  ...pe,
668
670
  props: {
669
671
  data: {
@@ -672,38 +674,38 @@ const se = /* @__PURE__ */ k(ne, [["__scopeId", "data-v-91c833b3"]]), ie = {
672
674
  }
673
675
  }
674
676
  },
675
- setup(s) {
676
- const i = s, l = c(1);
677
- return j(
678
- () => i.data.options,
679
- (r) => {
680
- l.value = r;
677
+ setup(u) {
678
+ const d = u, l = y(1);
679
+ return M(
680
+ () => d.data.options,
681
+ (_) => {
682
+ l.value = _;
681
683
  }
682
- ), (r, p) => s.data && s.data.options ? (y(), w("div", {
684
+ ), (_, r) => u.data && u.data.options ? (g(), C("div", {
683
685
  key: 0,
684
686
  class: "number-box-wrapper",
685
- style: $({ "justify-content": s.data.options.align })
687
+ style: z({ "justify-content": u.data.options.align })
686
688
  }, [
687
- e(u(H), {
688
- min: s.data.options.min,
689
+ e(S(F), {
690
+ min: u.data.options.min,
689
691
  modelValue: l.value,
690
- "onUpdate:modelValue": p[0] || (p[0] = (g) => l.value = g),
691
- max: s.data.options.max,
692
- integer: s.data.options.integer,
692
+ "onUpdate:modelValue": r[0] || (r[0] = (w) => l.value = w),
693
+ max: u.data.options.max,
694
+ integer: u.data.options.integer,
693
695
  disabled: !0,
694
- inputWidth: s.data.options.inputWidth + "px",
695
- step: s.data.options.step
696
+ inputWidth: u.data.options.inputWidth + "px",
697
+ step: u.data.options.step
696
698
  }, null, 8, ["min", "modelValue", "max", "integer", "inputWidth", "step"])
697
- ], 4)) : U("", !0);
699
+ ], 4)) : k("", !0);
698
700
  }
699
701
  });
700
- const ve = /* @__PURE__ */ k(re, [["__scopeId", "data-v-d025175e"]]), Ve = {
702
+ const ve = /* @__PURE__ */ T(re, [["__scopeId", "data-v-d025175e"]]), _e = {
701
703
  key: 0,
702
704
  class: "banner-content"
703
- }, be = _({
705
+ }, Ve = c({
704
706
  name: "NumberBoxData"
705
- }), fe = /* @__PURE__ */ _({
706
- ...be,
707
+ }), be = /* @__PURE__ */ c({
708
+ ...Ve,
707
709
  props: {
708
710
  data: {
709
711
  type: Object,
@@ -711,18 +713,18 @@ const ve = /* @__PURE__ */ k(re, [["__scopeId", "data-v-d025175e"]]), Ve = {
711
713
  }
712
714
  }
713
715
  },
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" }, {
716
+ setup(u) {
717
+ const d = u, l = y(), _ = y(), r = y(!1);
718
+ return P(() => {
719
+ console.log(d.data, d, "参数接收"), d.data && (_.value = d.data.data, l.value = d.data.options, r.value = !0);
720
+ }), (w, a) => {
721
+ const m = i("el-input-number"), n = i("el-form-item"), v = 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", _e, [
723
+ e(h, { "label-width": "120px" }, {
722
724
  default: t(() => [
723
- e(m, { label: "当前值" }, {
725
+ e(n, { label: "当前值" }, {
724
726
  default: t(() => [
725
- e(n, {
727
+ e(m, {
726
728
  modelValue: l.value.value,
727
729
  "onUpdate:modelValue": a[0] || (a[0] = (o) => l.value.value = o),
728
730
  min: l.value.min,
@@ -732,27 +734,27 @@ const ve = /* @__PURE__ */ k(re, [["__scopeId", "data-v-d025175e"]]), Ve = {
732
734
  ]),
733
735
  _: 1
734
736
  }),
735
- e(m, { label: "最小值" }, {
737
+ e(n, { label: "最小值" }, {
736
738
  default: t(() => [
737
- e(n, {
739
+ e(m, {
738
740
  modelValue: l.value.min,
739
741
  "onUpdate:modelValue": a[1] || (a[1] = (o) => l.value.min = o)
740
742
  }, null, 8, ["modelValue"])
741
743
  ]),
742
744
  _: 1
743
745
  }),
744
- e(m, { label: "最大值" }, {
746
+ e(n, { label: "最大值" }, {
745
747
  default: t(() => [
746
- e(n, {
748
+ e(m, {
747
749
  modelValue: l.value.max,
748
750
  "onUpdate:modelValue": a[2] || (a[2] = (o) => l.value.max = o)
749
751
  }, null, 8, ["modelValue"])
750
752
  ]),
751
753
  _: 1
752
754
  }),
753
- e(m, { label: "步长" }, {
755
+ e(n, { label: "步长" }, {
754
756
  default: t(() => [
755
- e(n, {
757
+ e(m, {
756
758
  modelValue: l.value.step,
757
759
  "onUpdate:modelValue": a[3] || (a[3] = (o) => l.value.step = o),
758
760
  min: 0,
@@ -761,36 +763,36 @@ const ve = /* @__PURE__ */ k(re, [["__scopeId", "data-v-d025175e"]]), Ve = {
761
763
  ]),
762
764
  _: 1
763
765
  }),
764
- e(m, { label: "只能正整数" }, {
766
+ e(n, { label: "只能正整数" }, {
765
767
  default: t(() => [
766
- e(b, {
768
+ e(v, {
767
769
  modelValue: l.value.integer,
768
770
  "onUpdate:modelValue": a[4] || (a[4] = (o) => l.value.integer = o)
769
771
  }, null, 8, ["modelValue"])
770
772
  ]),
771
773
  _: 1
772
774
  }),
773
- e(m, { label: "禁用操作" }, {
775
+ e(n, { label: "禁用操作" }, {
774
776
  default: t(() => [
775
- e(b, {
777
+ e(v, {
776
778
  modelValue: l.value.disabled,
777
779
  "onUpdate:modelValue": a[5] || (a[5] = (o) => l.value.disabled = o)
778
780
  }, null, 8, ["modelValue"])
779
781
  ]),
780
782
  _: 1
781
783
  }),
782
- e(m, { label: "禁止输入框" }, {
784
+ e(n, { label: "禁止输入框" }, {
783
785
  default: t(() => [
784
- e(b, {
786
+ e(v, {
785
787
  modelValue: l.value.disabledInput,
786
788
  "onUpdate:modelValue": a[6] || (a[6] = (o) => l.value.disabledInput = o)
787
789
  }, null, 8, ["modelValue"])
788
790
  ]),
789
791
  _: 1
790
792
  }),
791
- e(m, { label: "输入框宽度(px)" }, {
793
+ e(n, { label: "输入框宽度(px)" }, {
792
794
  default: t(() => [
793
- e(n, {
795
+ e(m, {
794
796
  modelValue: l.value.inputWidth,
795
797
  "onUpdate:modelValue": a[7] || (a[7] = (o) => l.value.inputWidth = o),
796
798
  min: 20,
@@ -799,27 +801,27 @@ const ve = /* @__PURE__ */ k(re, [["__scopeId", "data-v-d025175e"]]), Ve = {
799
801
  ]),
800
802
  _: 1
801
803
  }),
802
- e(m, { label: "显示减少按钮" }, {
804
+ e(n, { label: "显示减少按钮" }, {
803
805
  default: t(() => [
804
- e(b, {
806
+ e(v, {
805
807
  modelValue: l.value.showMinus,
806
808
  "onUpdate:modelValue": a[8] || (a[8] = (o) => l.value.showMinus = o)
807
809
  }, null, 8, ["modelValue"])
808
810
  ]),
809
811
  _: 1
810
812
  }),
811
- e(m, { label: "显示增加按钮" }, {
813
+ e(n, { label: "显示增加按钮" }, {
812
814
  default: t(() => [
813
- e(b, {
815
+ e(v, {
814
816
  modelValue: l.value.showPlus,
815
817
  "onUpdate:modelValue": a[9] || (a[9] = (o) => l.value.showPlus = o)
816
818
  }, null, 8, ["modelValue"])
817
819
  ]),
818
820
  _: 1
819
821
  }),
820
- e(m, { label: "小数位数" }, {
822
+ e(n, { label: "小数位数" }, {
821
823
  default: t(() => [
822
- e(n, {
824
+ e(m, {
823
825
  modelValue: l.value.decimalLength,
824
826
  "onUpdate:modelValue": a[10] || (a[10] = (o) => l.value.decimalLength = o),
825
827
  min: 0,
@@ -828,18 +830,18 @@ const ve = /* @__PURE__ */ k(re, [["__scopeId", "data-v-d025175e"]]), Ve = {
828
830
  ]),
829
831
  _: 1
830
832
  }),
831
- e(m, { label: "允许长按" }, {
833
+ e(n, { label: "允许长按" }, {
832
834
  default: t(() => [
833
- e(b, {
835
+ e(v, {
834
836
  modelValue: l.value.longPress,
835
837
  "onUpdate:modelValue": a[11] || (a[11] = (o) => l.value.longPress = o)
836
838
  }, null, 8, ["modelValue"])
837
839
  ]),
838
840
  _: 1
839
841
  }),
840
- e(m, { label: "文字颜色" }, {
842
+ e(n, { label: "文字颜色" }, {
841
843
  default: t(() => [
842
- e(h, {
844
+ e(p, {
843
845
  modelValue: l.value.color,
844
846
  "onUpdate:modelValue": a[12] || (a[12] = (o) => l.value.color = o),
845
847
  "show-alpha": ""
@@ -847,9 +849,9 @@ const ve = /* @__PURE__ */ k(re, [["__scopeId", "data-v-d025175e"]]), Ve = {
847
849
  ]),
848
850
  _: 1
849
851
  }),
850
- e(m, { label: "按钮大小(px)" }, {
852
+ e(n, { label: "按钮大小(px)" }, {
851
853
  default: t(() => [
852
- e(n, {
854
+ e(m, {
853
855
  modelValue: l.value.buttonSize,
854
856
  "onUpdate:modelValue": a[13] || (a[13] = (o) => l.value.buttonSize = o),
855
857
  min: 20,
@@ -858,9 +860,9 @@ const ve = /* @__PURE__ */ k(re, [["__scopeId", "data-v-d025175e"]]), Ve = {
858
860
  ]),
859
861
  _: 1
860
862
  }),
861
- e(m, { label: "背景颜色" }, {
863
+ e(n, { label: "背景颜色" }, {
862
864
  default: t(() => [
863
- e(h, {
865
+ e(p, {
864
866
  modelValue: l.value.bgColor,
865
867
  "onUpdate:modelValue": a[14] || (a[14] = (o) => l.value.bgColor = o),
866
868
  "show-alpha": ""
@@ -868,46 +870,46 @@ const ve = /* @__PURE__ */ k(re, [["__scopeId", "data-v-d025175e"]]), Ve = {
868
870
  ]),
869
871
  _: 1
870
872
  }),
871
- e(m, { label: "禁用增加按钮" }, {
873
+ e(n, { label: "禁用增加按钮" }, {
872
874
  default: t(() => [
873
- e(b, {
875
+ e(v, {
874
876
  modelValue: l.value.disablePlus,
875
877
  "onUpdate:modelValue": a[15] || (a[15] = (o) => l.value.disablePlus = o)
876
878
  }, null, 8, ["modelValue"])
877
879
  ]),
878
880
  _: 1
879
881
  }),
880
- e(m, { label: "禁用减少按钮" }, {
882
+ e(n, { label: "禁用减少按钮" }, {
881
883
  default: t(() => [
882
- e(b, {
884
+ e(v, {
883
885
  modelValue: l.value.disableMinus,
884
886
  "onUpdate:modelValue": a[16] || (a[16] = (o) => l.value.disableMinus = o)
885
887
  }, null, 8, ["modelValue"])
886
888
  ]),
887
889
  _: 1
888
890
  }),
889
- e(m, { label: "对齐方式" }, {
891
+ e(n, { label: "对齐方式" }, {
890
892
  default: t(() => [
891
- e(B, {
893
+ e(x, {
892
894
  modelValue: l.value.align,
893
895
  "onUpdate:modelValue": a[17] || (a[17] = (o) => l.value.align = o)
894
896
  }, {
895
897
  default: t(() => [
896
- e(C, { label: "left" }, {
898
+ e(U, { label: "left" }, {
897
899
  default: t(() => [
898
- v("左对齐")
900
+ V("左对齐")
899
901
  ]),
900
902
  _: 1
901
903
  }),
902
- e(C, { label: "center" }, {
904
+ e(U, { label: "center" }, {
903
905
  default: t(() => [
904
- v("居中对齐")
906
+ V("居中对齐")
905
907
  ]),
906
908
  _: 1
907
909
  }),
908
- e(C, { label: "right" }, {
910
+ e(U, { label: "right" }, {
909
911
  default: t(() => [
910
- v("右对齐")
912
+ V("右对齐")
911
913
  ]),
912
914
  _: 1
913
915
  })
@@ -917,9 +919,9 @@ const ve = /* @__PURE__ */ k(re, [["__scopeId", "data-v-d025175e"]]), Ve = {
917
919
  ]),
918
920
  _: 1
919
921
  }),
920
- e(m, { label: "铺满" }, {
922
+ e(n, { label: "铺满" }, {
921
923
  default: t(() => [
922
- e(b, {
924
+ e(v, {
923
925
  modelValue: l.value.fill,
924
926
  "onUpdate:modelValue": a[18] || (a[18] = (o) => l.value.fill = o)
925
927
  }, null, 8, ["modelValue"])
@@ -929,18 +931,18 @@ const ve = /* @__PURE__ */ k(re, [["__scopeId", "data-v-d025175e"]]), Ve = {
929
931
  ]),
930
932
  _: 1
931
933
  })
932
- ])) : U("", !0);
934
+ ])) : k("", !0);
933
935
  };
934
936
  }
935
937
  });
936
- const _e = /* @__PURE__ */ k(fe, [["__scopeId", "data-v-0130b026"]]), ce = {
938
+ const fe = /* @__PURE__ */ T(be, [["__scopeId", "data-v-0130b026"]]), ce = {
937
939
  type: "uvui-numberBox",
938
940
  name: "步进器",
939
941
  icon: "Postcard",
940
942
  fontIcon: "icon-shangpinanniu_changtiaoanniu",
941
943
  page: "index,activity",
942
944
  viewCom: ve,
943
- editCom: _e,
945
+ editCom: fe,
944
946
  limit: 0
945
947
  }, xe = {
946
948
  data: {},
@@ -987,9 +989,9 @@ const _e = /* @__PURE__ */ k(fe, [["__scopeId", "data-v-0130b026"]]), ce = {
987
989
  }, ye = {
988
990
  key: 0,
989
991
  class: "cell_box"
990
- }, ge = _({
992
+ }, ge = c({
991
993
  name: "CollapseView"
992
- }), we = /* @__PURE__ */ _({
994
+ }), we = /* @__PURE__ */ c({
993
995
  ...ge,
994
996
  props: {
995
997
  data: {
@@ -998,41 +1000,41 @@ const _e = /* @__PURE__ */ k(fe, [["__scopeId", "data-v-0130b026"]]), ce = {
998
1000
  }
999
1001
  }
1000
1002
  },
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), {
1003
+ setup(u) {
1004
+ const d = u, l = y([]), _ = q(() => d.data.data && d.data.data.list ? (l.value = d.data.data.list.map((r, w) => r.title + "_" + w), d.data.data.list) : []);
1005
+ return (r, w) => u.data && u.data.options ? (g(), C("div", ye, [
1006
+ e(S(G), {
1005
1007
  modelValue: l.value,
1006
- "onUpdate:modelValue": g[0] || (g[0] = (a) => l.value = a)
1008
+ "onUpdate:modelValue": w[0] || (w[0] = (a) => l.value = a)
1007
1009
  }, {
1008
1010
  default: t(() => [
1009
- (y(!0), w(O, null, D(u(r), (a, n) => (y(), P(u(F), {
1010
- key: n,
1011
- name: a.title + "_" + n
1011
+ (g(!0), C(O, null, D(S(_), (a, m) => (g(), L(S(R), {
1012
+ key: m,
1013
+ name: a.title + "_" + m
1012
1014
  }, {
1013
1015
  title: t(() => [
1014
- v(S(a.title), 1)
1016
+ V($(a.title), 1)
1015
1017
  ]),
1016
1018
  right: t(() => [
1017
- v(S(a.value), 1)
1019
+ V($(a.value), 1)
1018
1020
  ]),
1019
1021
  default: t(() => [
1020
- v(" " + S(a.label), 1)
1022
+ V(" " + $(a.label), 1)
1021
1023
  ]),
1022
1024
  _: 2
1023
1025
  }, 1032, ["name"]))), 128))
1024
1026
  ]),
1025
1027
  _: 1
1026
1028
  }, 8, ["modelValue"])
1027
- ])) : U("", !0);
1029
+ ])) : k("", !0);
1028
1030
  }
1029
1031
  });
1030
- const Ue = /* @__PURE__ */ k(we, [["__scopeId", "data-v-cd08eed6"]]), I = (s) => (M("data-v-c904acd0"), s = s(), q(), s), he = {
1032
+ const Ue = /* @__PURE__ */ T(we, [["__scopeId", "data-v-cd08eed6"]]), I = (u) => (W("data-v-c904acd0"), u = u(), H(), u), he = {
1031
1033
  key: 0,
1032
1034
  class: "banner-content"
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 = _({
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({
1034
1036
  name: "CollapseData"
1035
- }), We = /* @__PURE__ */ _({
1037
+ }), We = /* @__PURE__ */ c({
1036
1038
  ...qe,
1037
1039
  props: {
1038
1040
  data: {
@@ -1041,11 +1043,11 @@ const Ue = /* @__PURE__ */ k(we, [["__scopeId", "data-v-cd08eed6"]]), I = (s) =>
1041
1043
  }
1042
1044
  }
1043
1045
  },
1044
- setup(s) {
1045
- const i = s, l = c(), r = c(), p = c(!1), g = (n) => {
1046
- r.value.list.splice(n, 1);
1046
+ setup(u) {
1047
+ const d = u, l = y(), _ = y(), r = y(!1), w = (m) => {
1048
+ _.value.list.splice(m, 1);
1047
1049
  }, a = () => {
1048
- r.value.list.push({
1050
+ _.value.list.push({
1049
1051
  title: "面板标题",
1050
1052
  // 面板标题
1051
1053
  value: "右侧内容",
@@ -1062,18 +1064,18 @@ const Ue = /* @__PURE__ */ k(we, [["__scopeId", "data-v-cd08eed6"]]), I = (s) =>
1062
1064
  //是否显示内边框
1063
1065
  });
1064
1066
  };
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" }, {
1067
+ return P(() => {
1068
+ d.data && (_.value = d.data.data, l.value = d.data.options, r.value = !0);
1069
+ }), (m, n) => {
1070
+ const v = 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" }, {
1071
1073
  default: t(() => [
1072
- e(h, { label: "是否铺满" }, {
1074
+ e(p, { label: "是否铺满" }, {
1073
1075
  default: t(() => [
1074
- e(b, {
1076
+ e(v, {
1075
1077
  modelValue: l.value.fill,
1076
- "onUpdate:modelValue": m[0] || (m[0] = (o) => l.value.fill = o)
1078
+ "onUpdate:modelValue": n[0] || (n[0] = (o) => l.value.fill = o)
1077
1079
  }, null, 8, ["modelValue"])
1078
1080
  ]),
1079
1081
  _: 1
@@ -1081,26 +1083,26 @@ const Ue = /* @__PURE__ */ k(we, [["__scopeId", "data-v-cd08eed6"]]), I = (s) =>
1081
1083
  ]),
1082
1084
  _: 1
1083
1085
  }),
1084
- e(B, {
1086
+ e(x, {
1085
1087
  type: "primary",
1086
1088
  onClick: a,
1087
1089
  class: "mt-10px"
1088
1090
  }, {
1089
1091
  default: t(() => [
1090
- v("添加项")
1092
+ V("添加项")
1091
1093
  ]),
1092
1094
  _: 1
1093
1095
  }),
1094
- (y(!0), w(O, null, D(r.value.list, (o, L) => (y(), w("div", {
1096
+ (g(!0), C(O, null, D(_.value.list, (o, B) => (g(), C("div", {
1095
1097
  class: "item-list",
1096
- key: L
1098
+ key: B
1097
1099
  }, [
1098
1100
  f("div", Ce, [
1099
1101
  f("div", ke, [
1100
1102
  Te,
1101
- e(T, {
1103
+ e(h, {
1102
1104
  modelValue: o.title,
1103
- "onUpdate:modelValue": (x) => o.title = x,
1105
+ "onUpdate:modelValue": (b) => o.title = b,
1104
1106
  style: { width: "180px" },
1105
1107
  placeholder: "请输入",
1106
1108
  clearable: ""
@@ -1108,9 +1110,9 @@ const Ue = /* @__PURE__ */ k(we, [["__scopeId", "data-v-cd08eed6"]]), I = (s) =>
1108
1110
  ]),
1109
1111
  f("div", Ie, [
1110
1112
  Be,
1111
- e(T, {
1113
+ e(h, {
1112
1114
  modelValue: o.value,
1113
- "onUpdate:modelValue": (x) => o.value = x,
1115
+ "onUpdate:modelValue": (b) => o.value = b,
1114
1116
  style: { width: "180px" },
1115
1117
  placeholder: "请输入",
1116
1118
  clearable: ""
@@ -1118,9 +1120,9 @@ const Ue = /* @__PURE__ */ k(we, [["__scopeId", "data-v-cd08eed6"]]), I = (s) =>
1118
1120
  ]),
1119
1121
  f("div", Se, [
1120
1122
  $e,
1121
- e(T, {
1123
+ e(h, {
1122
1124
  modelValue: o.label,
1123
- "onUpdate:modelValue": (x) => o.label = x,
1125
+ "onUpdate:modelValue": (b) => o.label = b,
1124
1126
  style: { width: "180px" },
1125
1127
  placeholder: "请输入",
1126
1128
  clearable: ""
@@ -1128,51 +1130,51 @@ const Ue = /* @__PURE__ */ k(we, [["__scopeId", "data-v-cd08eed6"]]), I = (s) =>
1128
1130
  ]),
1129
1131
  f("div", ze, [
1130
1132
  Pe,
1131
- e(b, {
1133
+ e(v, {
1132
1134
  modelValue: o.disabled,
1133
- "onUpdate:modelValue": (x) => o.disabled = x
1135
+ "onUpdate:modelValue": (b) => o.disabled = b
1134
1136
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
1135
1137
  ]),
1136
1138
  f("div", Le, [
1137
1139
  Oe,
1138
- e(b, {
1140
+ e(v, {
1139
1141
  modelValue: o.isLink,
1140
- "onUpdate:modelValue": (x) => o.isLink = x
1142
+ "onUpdate:modelValue": (b) => o.isLink = b
1141
1143
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
1142
1144
  ]),
1143
1145
  f("div", De, [
1144
1146
  Ne,
1145
- e(b, {
1147
+ e(v, {
1146
1148
  modelValue: o.clickable,
1147
- "onUpdate:modelValue": (x) => o.clickable = x
1149
+ "onUpdate:modelValue": (b) => o.clickable = b
1148
1150
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
1149
1151
  ]),
1150
1152
  f("div", je, [
1151
1153
  Ee,
1152
- e(b, {
1154
+ e(v, {
1153
1155
  modelValue: o.border,
1154
- "onUpdate:modelValue": (x) => o.border = x
1156
+ "onUpdate:modelValue": (b) => o.border = b
1155
1157
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
1156
1158
  ]),
1157
1159
  f("div", Me, [
1158
- e(B, {
1160
+ e(x, {
1159
1161
  type: "danger",
1160
- onClick: (x) => g(L),
1162
+ onClick: (b) => w(B),
1161
1163
  size: "small"
1162
1164
  }, {
1163
1165
  default: t(() => [
1164
- v("删除")
1166
+ V("删除")
1165
1167
  ]),
1166
1168
  _: 2
1167
1169
  }, 1032, ["onClick"])
1168
1170
  ])
1169
1171
  ])
1170
1172
  ]))), 128))
1171
- ])) : U("", !0);
1173
+ ])) : k("", !0);
1172
1174
  };
1173
1175
  }
1174
1176
  });
1175
- const He = /* @__PURE__ */ k(We, [["__scopeId", "data-v-c904acd0"]]), Ae = {
1177
+ const He = /* @__PURE__ */ T(We, [["__scopeId", "data-v-c904acd0"]]), Ae = {
1176
1178
  type: "uvui-collapse",
1177
1179
  name: "折叠面板",
1178
1180
  icon: "Postcard",
@@ -1206,12 +1208,15 @@ const He = /* @__PURE__ */ k(We, [["__scopeId", "data-v-c904acd0"]]), Ae = {
1206
1208
  fill: !1
1207
1209
  //组件是否铺满父容器
1208
1210
  }
1209
- }, Ge = { buttonTypeList: Z, textareaTypeList: ie, numberBoxTypeList: ce, collapseTypeList: Ae }, Re = { buttonOptions: ee, textareaOptions: me, numberBoxOptions: xe, collapseOptions: Fe }, Qe = {
1210
- uvUiList: Ge,
1211
- uvUIOptions: Re
1211
+ }, Je = { buttonTypeList: Z, textareaTypeList: ie, numberBoxTypeList: ce, collapseTypeList: Ae }, Ke = { buttonOptions: ee, textareaOptions: me, numberBoxOptions: xe, collapseOptions: Fe }, Ge = [j, N], Qe = {
1212
+ install(u) {
1213
+ Ge.forEach((d) => {
1214
+ u.component(d.name, d);
1215
+ });
1216
+ }
1212
1217
  };
1213
1218
  export {
1214
1219
  Qe as default,
1215
- Re as uvUIOptions,
1216
- Ge as uvUiList
1220
+ Ke as uvUIOptions,
1221
+ Je as uvUiList
1217
1222
  };