vuv-ui 1.0.12 → 1.0.13

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