vuv-ui 1.0.13 → 1.0.14

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