vuv-ui 1.0.10 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vuv-ui",
3
3
  "private": false,
4
- "version": "1.0.10",
4
+ "version": "1.0.12",
5
5
  "description": "基于UVUI 组件再次封装",
6
6
  "type": "module",
7
7
  "author": "lsq",
@@ -97,8 +97,9 @@
97
97
  </div>
98
98
  </template>
99
99
 
100
- <script setup lang="ts" name="ButtonData">
100
+ <script setup lang="ts" name="uvuiButtonData">
101
101
  import { ref, onMounted } from 'vue';
102
+
102
103
  const props = defineProps({
103
104
  data: {
104
105
  type: Object,
@@ -20,7 +20,7 @@
20
20
  </div>
21
21
  </template>
22
22
 
23
- <script setup lang="ts" name="ButtonView">
23
+ <script setup lang="ts" name="uvuiButtonView">
24
24
  import { uvButton } from 'uv-ui';
25
25
  const props = defineProps({
26
26
  data: {
@@ -1,5 +1,5 @@
1
- import ButtonView from './View.vue';
2
- import ButtonData from './Data.vue';
1
+ import uvuiButtonView from './View.vue';
2
+ import uvuiButtonData from './Data.vue';
3
3
 
4
4
  const buttonTypeList = {
5
5
  type: 'uvui-button',
@@ -7,8 +7,8 @@ const buttonTypeList = {
7
7
  icon: 'Postcard',
8
8
  fontIcon: 'icon-shangpinanniu_changtiaoanniu',
9
9
  page: 'index,activity',
10
- viewCom: ButtonView,
11
- editCom: ButtonData,
10
+ viewCom: uvuiButtonView,
11
+ editCom: uvuiButtonData,
12
12
  limit: 0
13
13
  };
14
14
 
@@ -1,4 +1,7 @@
1
1
  import { buttonTypeList, buttonOptions } from './button/index';
2
+ import uvuiButtonData from './button/Data.vue';
3
+ import uvuiButtonView from './button/View.vue';
4
+
2
5
  import { textareaTypeList, textareaOptions } from './textarea/index';
3
6
  import { numberBoxTypeList, numberBoxOptions } from './numberBxo/index';
4
7
  import { collapseTypeList, collapseOptions } from './collapse/index';
@@ -6,9 +9,14 @@ import { collapseTypeList, collapseOptions } from './collapse/index';
6
9
  export const uvUiList = { buttonTypeList, textareaTypeList, numberBoxTypeList, collapseTypeList };
7
10
  export const uvUIOptions = { buttonOptions, textareaOptions, numberBoxOptions, collapseOptions };
8
11
 
9
- const hsryvvuUI = {
10
- uvUiList,
11
- uvUIOptions
12
+ const component = [uvuiButtonData, uvuiButtonView];
13
+
14
+ const hsryvuvUI = {
15
+ install(App: any) {
16
+ component.forEach((item: any) => {
17
+ App.component(item.name, item);
18
+ });
19
+ }
12
20
  };
13
21
 
14
- export default hsryvvuUI;
22
+ export default hsryvuvUI;
@@ -219,227 +219,7 @@ export declare const uvUIOptions: {
219
219
  };
220
220
  };
221
221
  };
222
- declare const hsryvvuUI: {
223
- uvUiList: {
224
- buttonTypeList: {
225
- type: string;
226
- name: string;
227
- icon: string;
228
- fontIcon: string;
229
- page: string;
230
- viewCom: import('vue').DefineComponent<{
231
- data: {
232
- type: ObjectConstructor;
233
- default: () => void;
234
- };
235
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
236
- data: {
237
- type: ObjectConstructor;
238
- default: () => void;
239
- };
240
- }>>, {
241
- data: Record<string, any>;
242
- }>;
243
- editCom: import('vue').DefineComponent<{
244
- data: {
245
- type: ObjectConstructor;
246
- default: () => void;
247
- };
248
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
249
- data: {
250
- type: ObjectConstructor;
251
- default: () => void;
252
- };
253
- }>>, {
254
- data: Record<string, any>;
255
- }>;
256
- limit: number;
257
- };
258
- textareaTypeList: {
259
- type: string;
260
- name: string;
261
- icon: string;
262
- fontIcon: string;
263
- page: string;
264
- viewCom: import('vue').DefineComponent<{
265
- data: {
266
- type: ObjectConstructor;
267
- default: () => void;
268
- };
269
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
270
- data: {
271
- type: ObjectConstructor;
272
- default: () => void;
273
- };
274
- }>>, {
275
- data: Record<string, any>;
276
- }>;
277
- editCom: import('vue').DefineComponent<{
278
- data: {
279
- type: ObjectConstructor;
280
- default: () => void;
281
- };
282
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
283
- data: {
284
- type: ObjectConstructor;
285
- default: () => void;
286
- };
287
- }>>, {
288
- data: Record<string, any>;
289
- }>;
290
- limit: number;
291
- };
292
- numberBoxTypeList: {
293
- type: string;
294
- name: string;
295
- icon: string;
296
- fontIcon: string;
297
- page: string;
298
- viewCom: import('vue').DefineComponent<{
299
- data: {
300
- type: ObjectConstructor;
301
- default: () => void;
302
- };
303
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
304
- data: {
305
- type: ObjectConstructor;
306
- default: () => void;
307
- };
308
- }>>, {
309
- data: Record<string, any>;
310
- }>;
311
- editCom: import('vue').DefineComponent<{
312
- data: {
313
- type: ObjectConstructor;
314
- default: () => void;
315
- };
316
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
317
- data: {
318
- type: ObjectConstructor;
319
- default: () => void;
320
- };
321
- }>>, {
322
- data: Record<string, any>;
323
- }>;
324
- limit: number;
325
- };
326
- collapseTypeList: {
327
- type: string;
328
- name: string;
329
- icon: string;
330
- fontIcon: string;
331
- page: string;
332
- viewCom: import('vue').DefineComponent<{
333
- data: {
334
- type: ObjectConstructor;
335
- default: () => void;
336
- };
337
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
338
- data: {
339
- type: ObjectConstructor;
340
- default: () => void;
341
- };
342
- }>>, {
343
- data: Record<string, any>;
344
- }>;
345
- editCom: import('vue').DefineComponent<{
346
- data: {
347
- type: ObjectConstructor;
348
- default: () => void;
349
- };
350
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
351
- data: {
352
- type: ObjectConstructor;
353
- default: () => void;
354
- };
355
- }>>, {
356
- data: Record<string, any>;
357
- }>;
358
- limit: number;
359
- };
360
- };
361
- uvUIOptions: {
362
- buttonOptions: {
363
- data: {};
364
- options: {
365
- width: string;
366
- height: string;
367
- hairline: boolean;
368
- type: string;
369
- size: string;
370
- shape: string;
371
- position: string;
372
- plain: boolean;
373
- disabled: boolean;
374
- loading: boolean;
375
- loadingText: string;
376
- openType: string;
377
- pagePath: string;
378
- isTabBar: boolean;
379
- text: string;
380
- textColor: string;
381
- icon: string;
382
- color: string;
383
- customStyle: string;
384
- fill: boolean;
385
- };
386
- };
387
- textareaOptions: {
388
- type: string;
389
- data: {};
390
- options: {
391
- placeholder: string;
392
- height: string;
393
- confirmType: string;
394
- count: boolean;
395
- autoHeight: boolean;
396
- showConfirmBar: boolean;
397
- maxlength: number;
398
- border: string;
399
- customStyle: string;
400
- fill: boolean;
401
- };
402
- };
403
- numberBoxOptions: {
404
- data: {};
405
- options: {
406
- value: number;
407
- min: number;
408
- max: number;
409
- step: number;
410
- integer: boolean;
411
- disabled: boolean;
412
- disabledInput: boolean;
413
- inputWidth: number;
414
- showMinus: boolean;
415
- showPlus: boolean;
416
- decimalLength: number;
417
- longPress: boolean;
418
- color: string;
419
- buttonSize: number;
420
- bgColor: string;
421
- disablePlus: boolean;
422
- disableMinus: boolean;
423
- align: string;
424
- fill: boolean;
425
- };
426
- };
427
- collapseOptions: {
428
- data: {
429
- list: {
430
- title: string;
431
- value: string;
432
- label: string;
433
- disabled: boolean;
434
- isLink: boolean;
435
- clickable: boolean;
436
- border: boolean;
437
- }[];
438
- };
439
- options: {
440
- fill: boolean;
441
- };
442
- };
443
- };
222
+ declare const hsryvuvUI: {
223
+ install(App: any): void;
444
224
  };
445
- export default hsryvvuUI;
225
+ export default hsryvuvUI;
package/vuv-ui/style.css CHANGED
@@ -1 +1 @@
1
- .button_box[data-v-8b545b2a]{display:flex;align-items:center;margin-top:10px}.button_box[data-v-8b545b2a] .uv-button{width:100%;height:100%}.plain[data-v-8b545b2a] .uv-button{background-color:transparent!important}.banner-content[data-v-71f42822]{overflow-x:auto}.item-list[data-v-71f42822]{display:flex;justify-content:space-between;margin:10px;border:1px solid #c8c8c8;border-radius:4px;padding:5px}.item-list .l-info[data-v-71f42822]{font-size:12px;padding-top:4px;width:calc(100% - 100px)}.item-list .l-info p[data-v-71f42822]{margin:5px 0 0;white-space:nowrap;overflow:hidden;display:flex}.item-list .l-info p .link[data-v-71f42822]{color:#1b8bff;cursor:pointer}.item-list .l-info p .text[data-v-71f42822]{white-space:nowrap;text-align:-webkit-auto;text-overflow:ellipsis;overflow:hidden}.item-list .r-image[data-v-71f42822]{text-align:right}.item-list .r-image .el-icon-close[data-v-71f42822]{color:#999;font-size:12px;font-weight:600;margin-bottom:6px;cursor:pointer}.item-list .r-image .el-icon-close[data-v-71f42822]:hover{color:red}.item-list .r-image .image-box[data-v-71f42822]{width:100px;height:70px;border-radius:5px;overflow:hidden;position:relative;background:#fff;display:flex;justify-content:center;align-items:center}.item-list .r-image .image-box img[data-v-71f42822]{max-width:100%}.item-list .r-image .image-box .placeholder-text[data-v-71f42822]{color:#999;font-size:12px}.mt-5px[data-v-71f42822]{margin-top:5px}.mt-10px[data-v-71f42822]{margin-top:10px}.textarea_box[data-v-b4db5b9f]{display:flex;align-items:center;margin-top:10px}.banner-content[data-v-91c833b3]{overflow-x:auto}.item-list[data-v-91c833b3]{display:flex;justify-content:space-between;margin:10px;border:1px solid #c8c8c8;border-radius:4px;padding:5px}.item-list .l-info[data-v-91c833b3]{font-size:12px;padding-top:4px;width:calc(100% - 100px)}.item-list .l-info p[data-v-91c833b3]{margin:5px 0 0;white-space:nowrap;overflow:hidden;display:flex}.item-list .l-info p .link[data-v-91c833b3]{color:#1b8bff;cursor:pointer}.item-list .l-info p .text[data-v-91c833b3]{white-space:nowrap;text-align:-webkit-auto;text-overflow:ellipsis;overflow:hidden}.item-list .r-image[data-v-91c833b3]{text-align:right}.item-list .r-image .el-icon-close[data-v-91c833b3]{color:#999;font-size:12px;font-weight:600;margin-bottom:6px;cursor:pointer}.item-list .r-image .el-icon-close[data-v-91c833b3]:hover{color:red}.item-list .r-image .image-box[data-v-91c833b3]{width:100px;height:70px;border-radius:5px;overflow:hidden;position:relative;background:#fff;display:flex;justify-content:center;align-items:center}.item-list .r-image .image-box img[data-v-91c833b3]{max-width:100%}.item-list .r-image .image-box .placeholder-text[data-v-91c833b3]{color:#999;font-size:12px}.mt-5px[data-v-91c833b3]{margin-top:5px}.mt-10px[data-v-91c833b3]{margin-top:10px}.number-box-wrapper[data-v-d025175e]{background-color:#fff;display:flex;align-items:center;padding:10px}.banner-content[data-v-0130b026],.banner-content[data-v-c904acd0]{overflow-x:auto}.item-list[data-v-c904acd0]{display:flex;justify-content:space-between;margin:10px;border:1px solid #c8c8c8;border-radius:4px;padding:5px}.item-list .l-info[data-v-c904acd0]{font-size:12px;padding-top:4px;width:calc(100% - 100px)}.item-list .l-info p[data-v-c904acd0]{margin:5px 0 0;white-space:nowrap;overflow:hidden;display:flex}.item-list .l-info p .link[data-v-c904acd0]{color:#1b8bff;cursor:pointer}.item-list .l-info p .text[data-v-c904acd0]{white-space:nowrap;text-align:-webkit-auto;text-overflow:ellipsis;overflow:hidden}.item-list .r-image[data-v-c904acd0]{text-align:right}.item-list .r-image .el-icon-close[data-v-c904acd0]{color:#999;font-size:12px;font-weight:600;margin-bottom:6px;cursor:pointer}.item-list .r-image .el-icon-close[data-v-c904acd0]:hover{color:red}.item-list .r-image .image-box[data-v-c904acd0]{width:100px;height:70px;border-radius:5px;overflow:hidden;position:relative;background:#fff;display:flex;justify-content:center;align-items:center}.item-list .r-image .image-box img[data-v-c904acd0]{max-width:100%}.item-list .r-image .image-box .placeholder-text[data-v-c904acd0]{color:#999;font-size:12px}.mt-5px[data-v-c904acd0]{margin-top:5px}.mt-10px[data-v-c904acd0]{margin-top:10px}
1
+ .button_box[data-v-ddf92851]{display:flex;align-items:center;margin-top:10px}.button_box[data-v-ddf92851] .uv-button{width:100%;height:100%}.plain[data-v-ddf92851] .uv-button{background-color:transparent!important}.banner-content[data-v-3bbcd931]{overflow-x:auto}.item-list[data-v-3bbcd931]{display:flex;justify-content:space-between;margin:10px;border:1px solid #c8c8c8;border-radius:4px;padding:5px}.item-list .l-info[data-v-3bbcd931]{font-size:12px;padding-top:4px;width:calc(100% - 100px)}.item-list .l-info p[data-v-3bbcd931]{margin:5px 0 0;white-space:nowrap;overflow:hidden;display:flex}.item-list .l-info p .link[data-v-3bbcd931]{color:#1b8bff;cursor:pointer}.item-list .l-info p .text[data-v-3bbcd931]{white-space:nowrap;text-align:-webkit-auto;text-overflow:ellipsis;overflow:hidden}.item-list .r-image[data-v-3bbcd931]{text-align:right}.item-list .r-image .el-icon-close[data-v-3bbcd931]{color:#999;font-size:12px;font-weight:600;margin-bottom:6px;cursor:pointer}.item-list .r-image .el-icon-close[data-v-3bbcd931]:hover{color:red}.item-list .r-image .image-box[data-v-3bbcd931]{width:100px;height:70px;border-radius:5px;overflow:hidden;position:relative;background:#fff;display:flex;justify-content:center;align-items:center}.item-list .r-image .image-box img[data-v-3bbcd931]{max-width:100%}.item-list .r-image .image-box .placeholder-text[data-v-3bbcd931]{color:#999;font-size:12px}.mt-5px[data-v-3bbcd931]{margin-top:5px}.mt-10px[data-v-3bbcd931]{margin-top:10px}.textarea_box[data-v-b4db5b9f]{display:flex;align-items:center;margin-top:10px}.banner-content[data-v-91c833b3]{overflow-x:auto}.item-list[data-v-91c833b3]{display:flex;justify-content:space-between;margin:10px;border:1px solid #c8c8c8;border-radius:4px;padding:5px}.item-list .l-info[data-v-91c833b3]{font-size:12px;padding-top:4px;width:calc(100% - 100px)}.item-list .l-info p[data-v-91c833b3]{margin:5px 0 0;white-space:nowrap;overflow:hidden;display:flex}.item-list .l-info p .link[data-v-91c833b3]{color:#1b8bff;cursor:pointer}.item-list .l-info p .text[data-v-91c833b3]{white-space:nowrap;text-align:-webkit-auto;text-overflow:ellipsis;overflow:hidden}.item-list .r-image[data-v-91c833b3]{text-align:right}.item-list .r-image .el-icon-close[data-v-91c833b3]{color:#999;font-size:12px;font-weight:600;margin-bottom:6px;cursor:pointer}.item-list .r-image .el-icon-close[data-v-91c833b3]:hover{color:red}.item-list .r-image .image-box[data-v-91c833b3]{width:100px;height:70px;border-radius:5px;overflow:hidden;position:relative;background:#fff;display:flex;justify-content:center;align-items:center}.item-list .r-image .image-box img[data-v-91c833b3]{max-width:100%}.item-list .r-image .image-box .placeholder-text[data-v-91c833b3]{color:#999;font-size:12px}.mt-5px[data-v-91c833b3]{margin-top:5px}.mt-10px[data-v-91c833b3]{margin-top:10px}.number-box-wrapper[data-v-d025175e]{background-color:#fff;display:flex;align-items:center;padding:10px}.banner-content[data-v-0130b026],.banner-content[data-v-c904acd0]{overflow-x:auto}.item-list[data-v-c904acd0]{display:flex;justify-content:space-between;margin:10px;border:1px solid #c8c8c8;border-radius:4px;padding:5px}.item-list .l-info[data-v-c904acd0]{font-size:12px;padding-top:4px;width:calc(100% - 100px)}.item-list .l-info p[data-v-c904acd0]{margin:5px 0 0;white-space:nowrap;overflow:hidden;display:flex}.item-list .l-info p .link[data-v-c904acd0]{color:#1b8bff;cursor:pointer}.item-list .l-info p .text[data-v-c904acd0]{white-space:nowrap;text-align:-webkit-auto;text-overflow:ellipsis;overflow:hidden}.item-list .r-image[data-v-c904acd0]{text-align:right}.item-list .r-image .el-icon-close[data-v-c904acd0]{color:#999;font-size:12px;font-weight:600;margin-bottom:6px;cursor:pointer}.item-list .r-image .el-icon-close[data-v-c904acd0]:hover{color:red}.item-list .r-image .image-box[data-v-c904acd0]{width:100px;height:70px;border-radius:5px;overflow:hidden;position:relative;background:#fff;display:flex;justify-content:center;align-items:center}.item-list .r-image .image-box img[data-v-c904acd0]{max-width:100%}.item-list .r-image .image-box .placeholder-text[data-v-c904acd0]{color:#999;font-size:12px}.mt-5px[data-v-c904acd0]{margin-top:5px}.mt-10px[data-v-c904acd0]{margin-top:10px}
@@ -1,9 +1,9 @@
1
- import { defineComponent as c, openBlock as g, createElementBlock as C, normalizeClass as N, normalizeStyle as z, createVNode as e, unref as S, withCtx as t, createTextVNode as V, toDisplayString as $, createCommentVNode as k, ref as y, onMounted as P, resolveComponent as i, createBlock as L, watch as j, computed as E, Fragment as O, renderList as D, createElementVNode as f, pushScopeId as M, popScopeId as q } from "vue";
2
- import { uvButton as W, uvStepper as H, uvCollapse as A, uvCollapseItem as F } from "uv-ui";
3
- const G = c({
4
- name: "ButtonView"
5
- }), R = /* @__PURE__ */ c({
6
- ...G,
1
+ import { defineComponent as c, openBlock as g, createElementBlock as C, normalizeClass as E, normalizeStyle as z, createVNode as e, unref as S, withCtx as t, createTextVNode as V, toDisplayString as $, createCommentVNode as k, ref as y, onMounted as P, resolveComponent as i, createBlock as L, watch as M, computed as q, Fragment as O, renderList as D, createElementVNode as f, pushScopeId as W, popScopeId as H } from "vue";
2
+ import { uvButton as A, uvStepper as F, uvCollapse as G, uvCollapseItem as R } from "uv-ui";
3
+ const X = c({
4
+ name: "uvuiButtonView"
5
+ }), J = /* @__PURE__ */ c({
6
+ ...X,
7
7
  props: {
8
8
  data: {
9
9
  type: Object,
@@ -12,12 +12,12 @@ const G = c({
12
12
  }
13
13
  },
14
14
  setup(u) {
15
- return (s, l) => u.data && u.data.options ? (g(), C("div", {
15
+ return (d, l) => u.data && u.data.options ? (g(), C("div", {
16
16
  key: 0,
17
- class: N(["button_box", { plain: u.data.options.plain }]),
17
+ class: E(["button_box", { plain: u.data.options.plain }]),
18
18
  style: z({ "justify-content": u.data.options.position })
19
19
  }, [
20
- e(S(W), {
20
+ e(S(A), {
21
21
  type: u.data.options.type || "primary",
22
22
  bgColor: u.data.options.color,
23
23
  disabled: u.data.options.disabled,
@@ -40,18 +40,18 @@ const G = c({
40
40
  ], 6)) : k("", !0);
41
41
  }
42
42
  });
43
- const T = (u, s) => {
43
+ const T = (u, d) => {
44
44
  const l = u.__vccOpts || u;
45
- for (const [v, r] of s)
46
- l[v] = r;
45
+ for (const [_, r] of d)
46
+ l[_] = r;
47
47
  return l;
48
- }, X = /* @__PURE__ */ T(R, [["__scopeId", "data-v-8b545b2a"]]), J = {
48
+ }, N = /* @__PURE__ */ T(J, [["__scopeId", "data-v-ddf92851"]]), K = {
49
49
  key: 0,
50
50
  class: "banner-content"
51
- }, K = c({
52
- name: "ButtonData"
53
- }), Q = /* @__PURE__ */ c({
54
- ...K,
51
+ }, Q = c({
52
+ name: "uvuiButtonData"
53
+ }), Y = /* @__PURE__ */ c({
54
+ ...Q,
55
55
  props: {
56
56
  data: {
57
57
  type: Object,
@@ -60,37 +60,37 @@ const T = (u, s) => {
60
60
  }
61
61
  },
62
62
  setup(u) {
63
- const s = u, l = y(), v = y(), r = y(!1);
63
+ const d = u, l = y(), _ = y(), r = y(!1);
64
64
  return P(() => {
65
- console.log(s.data, s, "参数接收"), s.data && (v.value = s.data.data, l.value = s.data.options, r.value = !0);
65
+ console.log(d.data, d, "参数接收"), d.data && (_.value = d.data.data, l.value = d.data.options, r.value = !0);
66
66
  }), (w, a) => {
67
- const m = i("el-switch"), n = i("el-form-item"), _ = i("el-input-number"), p = i("el-option"), U = i("el-select"), x = i("el-radio-button"), h = i("el-radio-group"), o = i("el-input"), B = i("el-color-picker"), b = i("el-form");
68
- return r.value ? (g(), C("div", J, [
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
69
  e(b, { "label-width": "100px" }, {
70
70
  default: t(() => [
71
71
  e(n, { label: "显示边框" }, {
72
72
  default: t(() => [
73
73
  e(m, {
74
74
  modelValue: l.value.hairline,
75
- "onUpdate:modelValue": a[0] || (a[0] = (d) => l.value.hairline = d)
75
+ "onUpdate:modelValue": a[0] || (a[0] = (s) => l.value.hairline = s)
76
76
  }, null, 8, ["modelValue"])
77
77
  ]),
78
78
  _: 1
79
79
  }),
80
80
  e(n, { label: "宽度" }, {
81
81
  default: t(() => [
82
- e(_, {
82
+ e(v, {
83
83
  modelValue: l.value.width,
84
- "onUpdate:modelValue": a[1] || (a[1] = (d) => l.value.width = d)
84
+ "onUpdate:modelValue": a[1] || (a[1] = (s) => l.value.width = s)
85
85
  }, null, 8, ["modelValue"])
86
86
  ]),
87
87
  _: 1
88
88
  }),
89
89
  e(n, { label: "高度" }, {
90
90
  default: t(() => [
91
- e(_, {
91
+ e(v, {
92
92
  modelValue: l.value.height,
93
- "onUpdate:modelValue": a[2] || (a[2] = (d) => l.value.height = d)
93
+ "onUpdate:modelValue": a[2] || (a[2] = (s) => l.value.height = s)
94
94
  }, null, 8, ["modelValue"])
95
95
  ]),
96
96
  _: 1
@@ -99,7 +99,7 @@ const T = (u, s) => {
99
99
  default: t(() => [
100
100
  e(U, {
101
101
  modelValue: l.value.type,
102
- "onUpdate:modelValue": a[3] || (a[3] = (d) => l.value.type = d),
102
+ "onUpdate:modelValue": a[3] || (a[3] = (s) => l.value.type = s),
103
103
  placeholder: "请选择",
104
104
  style: { width: "180px" }
105
105
  }, {
@@ -134,7 +134,7 @@ const T = (u, s) => {
134
134
  default: t(() => [
135
135
  e(h, {
136
136
  modelValue: l.value.size,
137
- "onUpdate:modelValue": a[4] || (a[4] = (d) => l.value.size = d)
137
+ "onUpdate:modelValue": a[4] || (a[4] = (s) => l.value.size = s)
138
138
  }, {
139
139
  default: t(() => [
140
140
  e(x, { label: "normal" }, {
@@ -165,7 +165,7 @@ const T = (u, s) => {
165
165
  default: t(() => [
166
166
  e(h, {
167
167
  modelValue: l.value.position,
168
- "onUpdate:modelValue": a[5] || (a[5] = (d) => l.value.position = d)
168
+ "onUpdate:modelValue": a[5] || (a[5] = (s) => l.value.position = s)
169
169
  }, {
170
170
  default: t(() => [
171
171
  e(x, { label: "left" }, {
@@ -196,7 +196,7 @@ const T = (u, s) => {
196
196
  default: t(() => [
197
197
  e(h, {
198
198
  modelValue: l.value.shape,
199
- "onUpdate:modelValue": a[6] || (a[6] = (d) => l.value.shape = d)
199
+ "onUpdate:modelValue": a[6] || (a[6] = (s) => l.value.shape = s)
200
200
  }, {
201
201
  default: t(() => [
202
202
  e(x, { label: "square" }, {
@@ -221,7 +221,7 @@ const T = (u, s) => {
221
221
  default: t(() => [
222
222
  e(m, {
223
223
  modelValue: l.value.plain,
224
- "onUpdate:modelValue": a[7] || (a[7] = (d) => l.value.plain = d)
224
+ "onUpdate:modelValue": a[7] || (a[7] = (s) => l.value.plain = s)
225
225
  }, null, 8, ["modelValue"])
226
226
  ]),
227
227
  _: 1
@@ -230,7 +230,7 @@ const T = (u, s) => {
230
230
  default: t(() => [
231
231
  e(m, {
232
232
  modelValue: l.value.disabled,
233
- "onUpdate:modelValue": a[8] || (a[8] = (d) => l.value.disabled = d)
233
+ "onUpdate:modelValue": a[8] || (a[8] = (s) => l.value.disabled = s)
234
234
  }, null, 8, ["modelValue"])
235
235
  ]),
236
236
  _: 1
@@ -239,7 +239,7 @@ const T = (u, s) => {
239
239
  default: t(() => [
240
240
  e(m, {
241
241
  modelValue: l.value.fill,
242
- "onUpdate:modelValue": a[9] || (a[9] = (d) => l.value.fill = d)
242
+ "onUpdate:modelValue": a[9] || (a[9] = (s) => l.value.fill = s)
243
243
  }, null, 8, ["modelValue"])
244
244
  ]),
245
245
  _: 1
@@ -248,7 +248,7 @@ const T = (u, s) => {
248
248
  default: t(() => [
249
249
  e(m, {
250
250
  modelValue: l.value.loading,
251
- "onUpdate:modelValue": a[10] || (a[10] = (d) => l.value.loading = d)
251
+ "onUpdate:modelValue": a[10] || (a[10] = (s) => l.value.loading = s)
252
252
  }, null, 8, ["modelValue"])
253
253
  ]),
254
254
  _: 1
@@ -257,7 +257,7 @@ const T = (u, s) => {
257
257
  default: t(() => [
258
258
  e(o, {
259
259
  modelValue: l.value.loadingText,
260
- "onUpdate:modelValue": a[11] || (a[11] = (d) => l.value.loadingText = d),
260
+ "onUpdate:modelValue": a[11] || (a[11] = (s) => l.value.loadingText = s),
261
261
  style: { width: "180px" },
262
262
  placeholder: "请输入",
263
263
  clearable: ""
@@ -269,7 +269,7 @@ const T = (u, s) => {
269
269
  default: t(() => [
270
270
  e(U, {
271
271
  modelValue: l.value.openType,
272
- "onUpdate:modelValue": a[12] || (a[12] = (d) => l.value.openType = d),
272
+ "onUpdate:modelValue": a[12] || (a[12] = (s) => l.value.openType = s),
273
273
  placeholder: "请选择",
274
274
  style: { width: "180px" },
275
275
  clearable: ""
@@ -324,7 +324,7 @@ const T = (u, s) => {
324
324
  default: t(() => [
325
325
  e(o, {
326
326
  modelValue: l.value.pagePath,
327
- "onUpdate:modelValue": a[13] || (a[13] = (d) => l.value.pagePath = d),
327
+ "onUpdate:modelValue": a[13] || (a[13] = (s) => l.value.pagePath = s),
328
328
  style: { width: "180px" },
329
329
  placeholder: "请输入",
330
330
  clearable: ""
@@ -339,7 +339,7 @@ const T = (u, s) => {
339
339
  default: t(() => [
340
340
  e(m, {
341
341
  modelValue: l.value.isTabBar,
342
- "onUpdate:modelValue": a[14] || (a[14] = (d) => l.value.isTabBar = d)
342
+ "onUpdate:modelValue": a[14] || (a[14] = (s) => l.value.isTabBar = s)
343
343
  }, null, 8, ["modelValue"])
344
344
  ]),
345
345
  _: 1
@@ -348,7 +348,7 @@ const T = (u, s) => {
348
348
  default: t(() => [
349
349
  e(o, {
350
350
  modelValue: l.value.text,
351
- "onUpdate:modelValue": a[15] || (a[15] = (d) => l.value.text = d),
351
+ "onUpdate:modelValue": a[15] || (a[15] = (s) => l.value.text = s),
352
352
  style: { width: "180px" },
353
353
  placeholder: "请输入",
354
354
  clearable: ""
@@ -360,7 +360,7 @@ const T = (u, s) => {
360
360
  default: t(() => [
361
361
  e(B, {
362
362
  modelValue: l.value.color,
363
- "onUpdate:modelValue": a[16] || (a[16] = (d) => l.value.color = d),
363
+ "onUpdate:modelValue": a[16] || (a[16] = (s) => l.value.color = s),
364
364
  "show-alpha": ""
365
365
  }, null, 8, ["modelValue"])
366
366
  ]),
@@ -370,7 +370,7 @@ const T = (u, s) => {
370
370
  default: t(() => [
371
371
  e(B, {
372
372
  modelValue: l.value.textColor,
373
- "onUpdate:modelValue": a[17] || (a[17] = (d) => l.value.textColor = d),
373
+ "onUpdate:modelValue": a[17] || (a[17] = (s) => l.value.textColor = s),
374
374
  "show-alpha": ""
375
375
  }, null, 8, ["modelValue"])
376
376
  ]),
@@ -380,7 +380,7 @@ const T = (u, s) => {
380
380
  default: t(() => [
381
381
  e(o, {
382
382
  modelValue: l.value.customStyle,
383
- "onUpdate:modelValue": a[18] || (a[18] = (d) => l.value.customStyle = d),
383
+ "onUpdate:modelValue": a[18] || (a[18] = (s) => l.value.customStyle = s),
384
384
  style: { width: "240px" },
385
385
  placeholder: "分号分隔,如width: 100px;height: 50px;",
386
386
  type: "textarea",
@@ -396,14 +396,14 @@ const T = (u, s) => {
396
396
  };
397
397
  }
398
398
  });
399
- const Y = /* @__PURE__ */ T(Q, [["__scopeId", "data-v-71f42822"]]), Z = {
399
+ const j = /* @__PURE__ */ T(Y, [["__scopeId", "data-v-3bbcd931"]]), Z = {
400
400
  type: "uvui-button",
401
401
  name: "按钮",
402
402
  icon: "Postcard",
403
403
  fontIcon: "icon-shangpinanniu_changtiaoanniu",
404
404
  page: "index,activity",
405
- viewCom: X,
406
- editCom: Y,
405
+ viewCom: N,
406
+ editCom: j,
407
407
  limit: 0
408
408
  }, ee = {
409
409
  data: {},
@@ -464,13 +464,13 @@ const Y = /* @__PURE__ */ T(Q, [["__scopeId", "data-v-71f42822"]]), Z = {
464
464
  }
465
465
  },
466
466
  setup(u) {
467
- const s = y("");
468
- return (l, v) => {
467
+ const d = y("");
468
+ return (l, _) => {
469
469
  const r = i("el-input");
470
470
  return u.data && u.data.options ? (g(), C("div", le, [
471
471
  e(r, {
472
- modelValue: s.value,
473
- "onUpdate:modelValue": v[0] || (v[0] = (w) => s.value = w),
472
+ modelValue: d.value,
473
+ "onUpdate:modelValue": _[0] || (_[0] = (w) => d.value = w),
474
474
  placeholder: u.data.options.placeholder || "请输入",
475
475
  style: z({ width: "100%", height: u.data.options.height }),
476
476
  "show-word-limit": u.data.options.count,
@@ -498,11 +498,11 @@ const oe = /* @__PURE__ */ T(te, [["__scopeId", "data-v-b4db5b9f"]]), ue = {
498
498
  }
499
499
  },
500
500
  setup(u) {
501
- const s = u, l = y(), v = y(), r = y(!1);
501
+ const d = u, l = y(), _ = y(), r = y(!1);
502
502
  return P(() => {
503
- console.log(s.data, s, "参数接收"), s.data && (v.value = s.data.data, l.value = s.data.options, r.value = !0);
503
+ console.log(d.data, d, "参数接收"), d.data && (_.value = d.data.data, l.value = d.data.options, r.value = !0);
504
504
  }), (w, a) => {
505
- const m = i("el-input"), n = i("el-form-item"), _ = i("el-input-number"), p = i("el-switch"), U = i("el-radio-button"), x = i("el-radio-group"), h = i("el-form");
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
506
  return r.value ? (g(), C("div", ue, [
507
507
  e(h, { "label-width": "100px" }, {
508
508
  default: t(() => [
@@ -517,7 +517,7 @@ const oe = /* @__PURE__ */ T(te, [["__scopeId", "data-v-b4db5b9f"]]), ue = {
517
517
  }),
518
518
  e(n, { label: "高度" }, {
519
519
  default: t(() => [
520
- e(_, {
520
+ e(v, {
521
521
  modelValue: l.value.height,
522
522
  "onUpdate:modelValue": a[1] || (a[1] = (o) => l.value.height = o)
523
523
  }, null, 8, ["modelValue"])
@@ -562,7 +562,7 @@ const oe = /* @__PURE__ */ T(te, [["__scopeId", "data-v-b4db5b9f"]]), ue = {
562
562
  }),
563
563
  e(n, { label: "输入长度" }, {
564
564
  default: t(() => [
565
- e(_, {
565
+ e(v, {
566
566
  modelValue: l.value.maxlength,
567
567
  "onUpdate:modelValue": a[6] || (a[6] = (o) => l.value.maxlength = o)
568
568
  }, null, 8, ["modelValue"])
@@ -675,18 +675,18 @@ const se = /* @__PURE__ */ T(de, [["__scopeId", "data-v-91c833b3"]]), ie = {
675
675
  }
676
676
  },
677
677
  setup(u) {
678
- const s = u, l = y(1);
679
- return j(
680
- () => s.data.options,
681
- (v) => {
682
- l.value = v;
678
+ const d = u, l = y(1);
679
+ return M(
680
+ () => d.data.options,
681
+ (_) => {
682
+ l.value = _;
683
683
  }
684
- ), (v, r) => u.data && u.data.options ? (g(), C("div", {
684
+ ), (_, r) => u.data && u.data.options ? (g(), C("div", {
685
685
  key: 0,
686
686
  class: "number-box-wrapper",
687
687
  style: z({ "justify-content": u.data.options.align })
688
688
  }, [
689
- e(S(H), {
689
+ e(S(F), {
690
690
  min: u.data.options.min,
691
691
  modelValue: l.value,
692
692
  "onUpdate:modelValue": r[0] || (r[0] = (w) => l.value = w),
@@ -699,7 +699,7 @@ const se = /* @__PURE__ */ T(de, [["__scopeId", "data-v-91c833b3"]]), ie = {
699
699
  ], 4)) : k("", !0);
700
700
  }
701
701
  });
702
- const _e = /* @__PURE__ */ T(re, [["__scopeId", "data-v-d025175e"]]), ve = {
702
+ const ve = /* @__PURE__ */ T(re, [["__scopeId", "data-v-d025175e"]]), _e = {
703
703
  key: 0,
704
704
  class: "banner-content"
705
705
  }, Ve = c({
@@ -714,12 +714,12 @@ const _e = /* @__PURE__ */ T(re, [["__scopeId", "data-v-d025175e"]]), ve = {
714
714
  }
715
715
  },
716
716
  setup(u) {
717
- const s = u, l = y(), v = y(), r = y(!1);
717
+ const d = u, l = y(), _ = y(), r = y(!1);
718
718
  return P(() => {
719
- console.log(s.data, s, "参数接收"), s.data && (v.value = s.data.data, l.value = s.data.options, r.value = !0);
719
+ console.log(d.data, d, "参数接收"), d.data && (_.value = d.data.data, l.value = d.data.options, r.value = !0);
720
720
  }), (w, a) => {
721
- const m = i("el-input-number"), n = i("el-form-item"), _ = i("el-switch"), p = i("el-color-picker"), U = i("el-radio-button"), x = i("el-radio-group"), h = i("el-form");
722
- return r.value ? (g(), C("div", ve, [
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
723
  e(h, { "label-width": "120px" }, {
724
724
  default: t(() => [
725
725
  e(n, { label: "当前值" }, {
@@ -765,7 +765,7 @@ const _e = /* @__PURE__ */ T(re, [["__scopeId", "data-v-d025175e"]]), ve = {
765
765
  }),
766
766
  e(n, { label: "只能正整数" }, {
767
767
  default: t(() => [
768
- e(_, {
768
+ e(v, {
769
769
  modelValue: l.value.integer,
770
770
  "onUpdate:modelValue": a[4] || (a[4] = (o) => l.value.integer = o)
771
771
  }, null, 8, ["modelValue"])
@@ -774,7 +774,7 @@ const _e = /* @__PURE__ */ T(re, [["__scopeId", "data-v-d025175e"]]), ve = {
774
774
  }),
775
775
  e(n, { label: "禁用操作" }, {
776
776
  default: t(() => [
777
- e(_, {
777
+ e(v, {
778
778
  modelValue: l.value.disabled,
779
779
  "onUpdate:modelValue": a[5] || (a[5] = (o) => l.value.disabled = o)
780
780
  }, null, 8, ["modelValue"])
@@ -783,7 +783,7 @@ const _e = /* @__PURE__ */ T(re, [["__scopeId", "data-v-d025175e"]]), ve = {
783
783
  }),
784
784
  e(n, { label: "禁止输入框" }, {
785
785
  default: t(() => [
786
- e(_, {
786
+ e(v, {
787
787
  modelValue: l.value.disabledInput,
788
788
  "onUpdate:modelValue": a[6] || (a[6] = (o) => l.value.disabledInput = o)
789
789
  }, null, 8, ["modelValue"])
@@ -803,7 +803,7 @@ const _e = /* @__PURE__ */ T(re, [["__scopeId", "data-v-d025175e"]]), ve = {
803
803
  }),
804
804
  e(n, { label: "显示减少按钮" }, {
805
805
  default: t(() => [
806
- e(_, {
806
+ e(v, {
807
807
  modelValue: l.value.showMinus,
808
808
  "onUpdate:modelValue": a[8] || (a[8] = (o) => l.value.showMinus = o)
809
809
  }, null, 8, ["modelValue"])
@@ -812,7 +812,7 @@ const _e = /* @__PURE__ */ T(re, [["__scopeId", "data-v-d025175e"]]), ve = {
812
812
  }),
813
813
  e(n, { label: "显示增加按钮" }, {
814
814
  default: t(() => [
815
- e(_, {
815
+ e(v, {
816
816
  modelValue: l.value.showPlus,
817
817
  "onUpdate:modelValue": a[9] || (a[9] = (o) => l.value.showPlus = o)
818
818
  }, null, 8, ["modelValue"])
@@ -832,7 +832,7 @@ const _e = /* @__PURE__ */ T(re, [["__scopeId", "data-v-d025175e"]]), ve = {
832
832
  }),
833
833
  e(n, { label: "允许长按" }, {
834
834
  default: t(() => [
835
- e(_, {
835
+ e(v, {
836
836
  modelValue: l.value.longPress,
837
837
  "onUpdate:modelValue": a[11] || (a[11] = (o) => l.value.longPress = o)
838
838
  }, null, 8, ["modelValue"])
@@ -872,7 +872,7 @@ const _e = /* @__PURE__ */ T(re, [["__scopeId", "data-v-d025175e"]]), ve = {
872
872
  }),
873
873
  e(n, { label: "禁用增加按钮" }, {
874
874
  default: t(() => [
875
- e(_, {
875
+ e(v, {
876
876
  modelValue: l.value.disablePlus,
877
877
  "onUpdate:modelValue": a[15] || (a[15] = (o) => l.value.disablePlus = o)
878
878
  }, null, 8, ["modelValue"])
@@ -881,7 +881,7 @@ const _e = /* @__PURE__ */ T(re, [["__scopeId", "data-v-d025175e"]]), ve = {
881
881
  }),
882
882
  e(n, { label: "禁用减少按钮" }, {
883
883
  default: t(() => [
884
- e(_, {
884
+ e(v, {
885
885
  modelValue: l.value.disableMinus,
886
886
  "onUpdate:modelValue": a[16] || (a[16] = (o) => l.value.disableMinus = o)
887
887
  }, null, 8, ["modelValue"])
@@ -921,7 +921,7 @@ const _e = /* @__PURE__ */ T(re, [["__scopeId", "data-v-d025175e"]]), ve = {
921
921
  }),
922
922
  e(n, { label: "铺满" }, {
923
923
  default: t(() => [
924
- e(_, {
924
+ e(v, {
925
925
  modelValue: l.value.fill,
926
926
  "onUpdate:modelValue": a[18] || (a[18] = (o) => l.value.fill = o)
927
927
  }, null, 8, ["modelValue"])
@@ -941,7 +941,7 @@ const fe = /* @__PURE__ */ T(be, [["__scopeId", "data-v-0130b026"]]), ce = {
941
941
  icon: "Postcard",
942
942
  fontIcon: "icon-shangpinanniu_changtiaoanniu",
943
943
  page: "index,activity",
944
- viewCom: _e,
944
+ viewCom: ve,
945
945
  editCom: fe,
946
946
  limit: 0
947
947
  }, xe = {
@@ -1001,14 +1001,14 @@ const fe = /* @__PURE__ */ T(be, [["__scopeId", "data-v-0130b026"]]), ce = {
1001
1001
  }
1002
1002
  },
1003
1003
  setup(u) {
1004
- const s = u, l = y([]), v = E(() => s.data.data && s.data.data.list ? (l.value = s.data.data.list.map((r, w) => r.title + "_" + w), s.data.data.list) : []);
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
1005
  return (r, w) => u.data && u.data.options ? (g(), C("div", ye, [
1006
- e(S(A), {
1006
+ e(S(G), {
1007
1007
  modelValue: l.value,
1008
1008
  "onUpdate:modelValue": w[0] || (w[0] = (a) => l.value = a)
1009
1009
  }, {
1010
1010
  default: t(() => [
1011
- (g(!0), C(O, null, D(S(v), (a, m) => (g(), L(S(F), {
1011
+ (g(!0), C(O, null, D(S(_), (a, m) => (g(), L(S(R), {
1012
1012
  key: m,
1013
1013
  name: a.title + "_" + m
1014
1014
  }, {
@@ -1029,7 +1029,7 @@ const fe = /* @__PURE__ */ T(be, [["__scopeId", "data-v-0130b026"]]), ce = {
1029
1029
  ])) : k("", !0);
1030
1030
  }
1031
1031
  });
1032
- const Ue = /* @__PURE__ */ T(we, [["__scopeId", "data-v-cd08eed6"]]), I = (u) => (M("data-v-c904acd0"), u = u(), q(), u), he = {
1032
+ const Ue = /* @__PURE__ */ T(we, [["__scopeId", "data-v-cd08eed6"]]), I = (u) => (W("data-v-c904acd0"), u = u(), H(), u), he = {
1033
1033
  key: 0,
1034
1034
  class: "banner-content"
1035
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({
@@ -1044,10 +1044,10 @@ const Ue = /* @__PURE__ */ T(we, [["__scopeId", "data-v-cd08eed6"]]), I = (u) =>
1044
1044
  }
1045
1045
  },
1046
1046
  setup(u) {
1047
- const s = u, l = y(), v = y(), r = y(!1), w = (m) => {
1048
- v.value.list.splice(m, 1);
1047
+ const d = u, l = y(), _ = y(), r = y(!1), w = (m) => {
1048
+ _.value.list.splice(m, 1);
1049
1049
  }, a = () => {
1050
- v.value.list.push({
1050
+ _.value.list.push({
1051
1051
  title: "面板标题",
1052
1052
  // 面板标题
1053
1053
  value: "右侧内容",
@@ -1065,15 +1065,15 @@ const Ue = /* @__PURE__ */ T(we, [["__scopeId", "data-v-cd08eed6"]]), I = (u) =>
1065
1065
  });
1066
1066
  };
1067
1067
  return P(() => {
1068
- s.data && (v.value = s.data.data, l.value = s.data.options, r.value = !0);
1068
+ d.data && (_.value = d.data.data, l.value = d.data.options, r.value = !0);
1069
1069
  }), (m, n) => {
1070
- const _ = i("el-switch"), p = i("el-form-item"), U = i("el-form"), x = i("el-button"), h = i("el-input");
1070
+ const v = i("el-switch"), p = i("el-form-item"), U = i("el-form"), x = i("el-button"), h = i("el-input");
1071
1071
  return r.value ? (g(), C("div", he, [
1072
1072
  e(U, { "label-width": "100px" }, {
1073
1073
  default: t(() => [
1074
1074
  e(p, { label: "是否铺满" }, {
1075
1075
  default: t(() => [
1076
- e(_, {
1076
+ e(v, {
1077
1077
  modelValue: l.value.fill,
1078
1078
  "onUpdate:modelValue": n[0] || (n[0] = (o) => l.value.fill = o)
1079
1079
  }, null, 8, ["modelValue"])
@@ -1093,7 +1093,7 @@ const Ue = /* @__PURE__ */ T(we, [["__scopeId", "data-v-cd08eed6"]]), I = (u) =>
1093
1093
  ]),
1094
1094
  _: 1
1095
1095
  }),
1096
- (g(!0), C(O, null, D(v.value.list, (o, B) => (g(), C("div", {
1096
+ (g(!0), C(O, null, D(_.value.list, (o, B) => (g(), C("div", {
1097
1097
  class: "item-list",
1098
1098
  key: B
1099
1099
  }, [
@@ -1130,28 +1130,28 @@ const Ue = /* @__PURE__ */ T(we, [["__scopeId", "data-v-cd08eed6"]]), I = (u) =>
1130
1130
  ]),
1131
1131
  f("div", ze, [
1132
1132
  Pe,
1133
- e(_, {
1133
+ e(v, {
1134
1134
  modelValue: o.disabled,
1135
1135
  "onUpdate:modelValue": (b) => o.disabled = b
1136
1136
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
1137
1137
  ]),
1138
1138
  f("div", Le, [
1139
1139
  Oe,
1140
- e(_, {
1140
+ e(v, {
1141
1141
  modelValue: o.isLink,
1142
1142
  "onUpdate:modelValue": (b) => o.isLink = b
1143
1143
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
1144
1144
  ]),
1145
1145
  f("div", De, [
1146
1146
  Ne,
1147
- e(_, {
1147
+ e(v, {
1148
1148
  modelValue: o.clickable,
1149
1149
  "onUpdate:modelValue": (b) => o.clickable = b
1150
1150
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
1151
1151
  ]),
1152
1152
  f("div", je, [
1153
1153
  Ee,
1154
- e(_, {
1154
+ e(v, {
1155
1155
  modelValue: o.border,
1156
1156
  "onUpdate:modelValue": (b) => o.border = b
1157
1157
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
@@ -1208,12 +1208,15 @@ const He = /* @__PURE__ */ T(We, [["__scopeId", "data-v-c904acd0"]]), Ae = {
1208
1208
  fill: !1
1209
1209
  //组件是否铺满父容器
1210
1210
  }
1211
- }, Ge = { buttonTypeList: Z, textareaTypeList: ie, numberBoxTypeList: ce, collapseTypeList: Ae }, Re = { buttonOptions: ee, textareaOptions: me, numberBoxOptions: xe, collapseOptions: Fe }, Ke = {
1212
- uvUiList: Ge,
1213
- uvUIOptions: Re
1211
+ }, Je = { buttonTypeList: Z, textareaTypeList: ie, numberBoxTypeList: ce, collapseTypeList: Ae }, Ke = { buttonOptions: ee, textareaOptions: me, numberBoxOptions: xe, collapseOptions: Fe }, Ge = [j, N], Qe = {
1212
+ install(u) {
1213
+ Ge.forEach((d) => {
1214
+ u.component(d.name, d);
1215
+ });
1216
+ }
1214
1217
  };
1215
1218
  export {
1216
- Ke as default,
1217
- Re as uvUIOptions,
1218
- Ge as uvUiList
1219
+ Qe as default,
1220
+ Ke as uvUIOptions,
1221
+ Je as uvUiList
1219
1222
  };
@@ -1 +1 @@
1
- (function(b,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("uv-ui")):typeof define=="function"&&define.amd?define(["exports","vue","uv-ui"],e):(b=typeof globalThis<"u"?globalThis:b||self,e(b.VuvUi={},b.Vue,b.UvUi))})(this,function(b,e,h){"use strict";const U=e.defineComponent({name:"ButtonView"}),k=e.defineComponent({...U,props:{data:{type:Object,default:()=>{}}},setup(o){return(i,t)=>o.data&&o.data.options?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["button_box",{plain:o.data.options.plain}]),style:e.normalizeStyle({"justify-content":o.data.options.position})},[e.createVNode(e.unref(h.uvButton),{type:o.data.options.type||"primary",bgColor:o.data.options.color,disabled:o.data.options.disabled,color:o.data.options.textColor,round:o.data.options.shape=="circle",square:o.data.options.shape=="square",size:o.data.options.size,loading:o.data.options.loading,icon:o.data.options.icon,style:e.normalizeStyle({width:o.data.options.width+"px",height:o.data.options.height+"px"})},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.data.options.text||"按钮"),1)]),_:1},8,["type","bgColor","disabled","color","round","square","size","loading","icon","style"])],6)):e.createCommentVNode("",!0)}}),he="",N=(o,i)=>{const t=o.__vccOpts||o;for(const[c,m]of i)t[c]=m;return t},T=N(k,[["__scopeId","data-v-8b545b2a"]]),B={key:0,class:"banner-content"},E=e.defineComponent({name:"ButtonData"}),S=e.defineComponent({...E,props:{data:{type:Object,default:()=>{}}},setup(o){const i=o,t=e.ref(),c=e.ref(),m=e.ref(!1);return e.onMounted(()=>{console.log(i.data,i,"参数接收"),i.data&&(c.value=i.data.data,t.value=i.data.options,m.value=!0)}),(f,l)=>{const r=e.resolveComponent("el-switch"),d=e.resolveComponent("el-form-item"),p=e.resolveComponent("el-input-number"),s=e.resolveComponent("el-option"),_=e.resolveComponent("el-select"),u=e.resolveComponent("el-radio-button"),x=e.resolveComponent("el-radio-group"),a=e.resolveComponent("el-input"),w=e.resolveComponent("el-color-picker"),V=e.resolveComponent("el-form");return m.value?(e.openBlock(),e.createElementBlock("div",B,[e.createVNode(V,{"label-width":"100px"},{default:e.withCtx(()=>[e.createVNode(d,{label:"显示边框"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.hairline,"onUpdate:modelValue":l[0]||(l[0]=n=>t.value.hairline=n)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"宽度"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.width,"onUpdate:modelValue":l[1]||(l[1]=n=>t.value.width=n)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"高度"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.height,"onUpdate:modelValue":l[2]||(l[2]=n=>t.value.height=n)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"主题颜色"},{default:e.withCtx(()=>[e.createVNode(_,{modelValue:t.value.type,"onUpdate:modelValue":l[3]||(l[3]=n=>t.value.type=n),placeholder:"请选择",style:{width:"180px"}},{default:e.withCtx(()=>[e.createVNode(s,{label:"primary",value:"primary"}),e.createVNode(s,{label:"success",value:"success"}),e.createVNode(s,{label:"info",value:"info"}),e.createVNode(s,{label:"warning",value:"warning"}),e.createVNode(s,{label:"error",value:"error"})]),_:1},8,["modelValue"])]),_:1}),e.createVNode(d,{label:"大小"},{default:e.withCtx(()=>[e.createVNode(x,{modelValue:t.value.size,"onUpdate:modelValue":l[4]||(l[4]=n=>t.value.size=n)},{default:e.withCtx(()=>[e.createVNode(u,{label:"normal"},{default:e.withCtx(()=>[e.createTextVNode("normal")]),_:1}),e.createVNode(u,{label:"medium"},{default:e.withCtx(()=>[e.createTextVNode("medium")]),_:1}),e.createVNode(u,{label:"mini"},{default:e.withCtx(()=>[e.createTextVNode("mini")]),_:1})]),_:1},8,["modelValue"])]),_:1}),e.createVNode(d,{label:"按钮位置"},{default:e.withCtx(()=>[e.createVNode(x,{modelValue:t.value.position,"onUpdate:modelValue":l[5]||(l[5]=n=>t.value.position=n)},{default:e.withCtx(()=>[e.createVNode(u,{label:"left"},{default:e.withCtx(()=>[e.createTextVNode("居左")]),_:1}),e.createVNode(u,{label:"center"},{default:e.withCtx(()=>[e.createTextVNode("居中")]),_:1}),e.createVNode(u,{label:"right"},{default:e.withCtx(()=>[e.createTextVNode("居右")]),_:1})]),_:1},8,["modelValue"])]),_:1}),e.createVNode(d,{label:"形状"},{default:e.withCtx(()=>[e.createVNode(x,{modelValue:t.value.shape,"onUpdate:modelValue":l[6]||(l[6]=n=>t.value.shape=n)},{default:e.withCtx(()=>[e.createVNode(u,{label:"square"},{default:e.withCtx(()=>[e.createTextVNode("square")]),_:1}),e.createVNode(u,{label:"circle"},{default:e.withCtx(()=>[e.createTextVNode("circle")]),_:1})]),_:1},8,["modelValue"])]),_:1}),e.createVNode(d,{label:"镂空"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.plain,"onUpdate:modelValue":l[7]||(l[7]=n=>t.value.plain=n)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"禁用"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.disabled,"onUpdate:modelValue":l[8]||(l[8]=n=>t.value.disabled=n)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"铺满"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.fill,"onUpdate:modelValue":l[9]||(l[9]=n=>t.value.fill=n)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"loading图标"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.loading,"onUpdate:modelValue":l[10]||(l[10]=n=>t.value.loading=n)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"加载中文字"},{default:e.withCtx(()=>[e.createVNode(a,{modelValue:t.value.loadingText,"onUpdate:modelValue":l[11]||(l[11]=n=>t.value.loadingText=n),style:{width:"180px"},placeholder:"请输入",clearable:""},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"开放能力"},{default:e.withCtx(()=>[e.createVNode(_,{modelValue:t.value.openType,"onUpdate:modelValue":l[12]||(l[12]=n=>t.value.openType=n),placeholder:"请选择",style:{width:"180px"},clearable:""},{default:e.withCtx(()=>[e.createVNode(s,{label:"跳转页面",value:"navigateTo"}),e.createVNode(s,{label:"获取用户信息",value:"getUserInfo"}),e.createVNode(s,{label:"联系客服",value:"contact"}),e.createVNode(s,{label:"获取手机号",value:"getPhoneNumber"}),e.createVNode(s,{label:"打开授权设置",value:"openSetting"}),e.createVNode(s,{label:"获取用户头像",value:"chooseAvatar"}),e.createVNode(s,{label:"意见反馈",value:"feedback"}),e.createVNode(s,{label:"分享",value:"share"}),e.createVNode(s,{label:"自定义",value:"customize"})]),_:1},8,["modelValue"])]),_:1}),t.value.openType=="navigateTo"?(e.openBlock(),e.createBlock(d,{key:0,label:"页面路径"},{default:e.withCtx(()=>[e.createVNode(a,{modelValue:t.value.pagePath,"onUpdate:modelValue":l[13]||(l[13]=n=>t.value.pagePath=n),style:{width:"180px"},placeholder:"请输入",clearable:""},null,8,["modelValue"])]),_:1})):e.createCommentVNode("",!0),t.value.openType=="navigateTo"?(e.openBlock(),e.createBlock(d,{key:1,label:"tabbar页面"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.isTabBar,"onUpdate:modelValue":l[14]||(l[14]=n=>t.value.isTabBar=n)},null,8,["modelValue"])]),_:1})):e.createCommentVNode("",!0),e.createVNode(d,{label:"按钮文字"},{default:e.withCtx(()=>[e.createVNode(a,{modelValue:t.value.text,"onUpdate:modelValue":l[15]||(l[15]=n=>t.value.text=n),style:{width:"180px"},placeholder:"请输入",clearable:""},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"按钮颜色"},{default:e.withCtx(()=>[e.createVNode(w,{modelValue:t.value.color,"onUpdate:modelValue":l[16]||(l[16]=n=>t.value.color=n),"show-alpha":""},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"文字颜色"},{default:e.withCtx(()=>[e.createVNode(w,{modelValue:t.value.textColor,"onUpdate:modelValue":l[17]||(l[17]=n=>t.value.textColor=n),"show-alpha":""},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"自定义样式"},{default:e.withCtx(()=>[e.createVNode(a,{modelValue:t.value.customStyle,"onUpdate:modelValue":l[18]||(l[18]=n=>t.value.customStyle=n),style:{width:"240px"},placeholder:"分号分隔,如width: 100px;height: 50px;",type:"textarea",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})])):e.createCommentVNode("",!0)}}}),ye="",I={type:"uvui-button",name:"按钮",icon:"Postcard",fontIcon:"icon-shangpinanniu_changtiaoanniu",page:"index,activity",viewCom:T,editCom:N(S,[["__scopeId","data-v-71f42822"]]),limit:0},z={data:{},options:{width:"100",height:"45",hairline:!0,type:"primary",size:"normal",shape:"square",position:"left",plain:!1,disabled:!1,loading:!1,loadingText:"",openType:"navigateTo",pagePath:"",isTabBar:!1,text:"",textColor:"#ffffff",icon:"",color:"",customStyle:"",fill:!0}},D={key:0,class:"textarea_box"},$=e.defineComponent({name:"TextareaView"}),P=e.defineComponent({...$,props:{data:{type:Object,default:()=>{}}},setup(o){const i=e.ref("");return(t,c)=>{const m=e.resolveComponent("el-input");return o.data&&o.data.options?(e.openBlock(),e.createElementBlock("div",D,[e.createVNode(m,{modelValue:i.value,"onUpdate:modelValue":c[0]||(c[0]=f=>i.value=f),placeholder:o.data.options.placeholder||"请输入",style:e.normalizeStyle({width:"100%",height:o.data.options.height}),"show-word-limit":o.data.options.count,autosize:o.data.options.autoHeight,maxlength:o.data.options.maxlength,rows:2,type:"textarea"},null,8,["modelValue","placeholder","style","show-word-limit","autosize","maxlength"])])):e.createCommentVNode("",!0)}}}),Ue="",L=N(P,[["__scopeId","data-v-b4db5b9f"]]),O={key:0,class:"banner-content"},M=e.defineComponent({name:"TextareaData"}),j=e.defineComponent({...M,props:{data:{type:Object,default:()=>{}}},setup(o){const i=o,t=e.ref(),c=e.ref(),m=e.ref(!1);return e.onMounted(()=>{console.log(i.data,i,"参数接收"),i.data&&(c.value=i.data.data,t.value=i.data.options,m.value=!0)}),(f,l)=>{const r=e.resolveComponent("el-input"),d=e.resolveComponent("el-form-item"),p=e.resolveComponent("el-input-number"),s=e.resolveComponent("el-switch"),_=e.resolveComponent("el-radio-button"),u=e.resolveComponent("el-radio-group"),x=e.resolveComponent("el-form");return m.value?(e.openBlock(),e.createElementBlock("div",O,[e.createVNode(x,{"label-width":"100px"},{default:e.withCtx(()=>[e.createVNode(d,{label:"空值占位内容"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.placeholder,"onUpdate:modelValue":l[0]||(l[0]=a=>t.value.placeholder=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"高度"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.height,"onUpdate:modelValue":l[1]||(l[1]=a=>t.value.height=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"右下角按钮文字"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.confirmType,"onUpdate:modelValue":l[2]||(l[2]=a=>t.value.confirmType=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"显示字数统计"},{default:e.withCtx(()=>[e.createVNode(s,{modelValue:t.value.count,"onUpdate:modelValue":l[3]||(l[3]=a=>t.value.count=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"自动增高"},{default:e.withCtx(()=>[e.createVNode(s,{modelValue:t.value.autoHeight,"onUpdate:modelValue":l[4]||(l[4]=a=>t.value.autoHeight=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"显示完成按钮"},{default:e.withCtx(()=>[e.createVNode(s,{modelValue:t.value.showConfirmBar,"onUpdate:modelValue":l[5]||(l[5]=a=>t.value.showConfirmBar=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"输入长度"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.maxlength,"onUpdate:modelValue":l[6]||(l[6]=a=>t.value.maxlength=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"是否铺满"},{default:e.withCtx(()=>[e.createVNode(s,{modelValue:t.value.fill,"onUpdate:modelValue":l[7]||(l[7]=a=>t.value.fill=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"边框"},{default:e.withCtx(()=>[e.createVNode(u,{modelValue:t.value.size,"onUpdate:modelValue":l[8]||(l[8]=a=>t.value.size=a)},{default:e.withCtx(()=>[e.createVNode(_,{label:"surround"},{default:e.withCtx(()=>[e.createTextVNode("四周边框")]),_:1}),e.createVNode(_,{label:"none"},{default:e.withCtx(()=>[e.createTextVNode("无边框")]),_:1}),e.createVNode(_,{label:"bottom"},{default:e.withCtx(()=>[e.createTextVNode("底部边框")]),_:1})]),_:1},8,["modelValue"])]),_:1}),e.createVNode(d,{label:"自定义样式"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.customStyle,"onUpdate:modelValue":l[9]||(l[9]=a=>t.value.customStyle=a),style:{width:"240px"},placeholder:"分号分隔,如width: 100px;height: 50px;",type:"textarea",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})])):e.createCommentVNode("",!0)}}}),ke="",q={type:"uvui-textarea",name:"文本域",icon:"Textarea",fontIcon:"icon-24gl-grid",page:"index,activity",viewCom:L,editCom:N(j,[["__scopeId","data-v-91c833b3"]]),limit:0},W={type:"uvui-textarea",data:{},options:{placeholder:"请输入",height:"70",confirmType:"done",count:!1,autoHeight:!1,showConfirmBar:!1,maxlength:140,border:"surround",customStyle:"",fill:!0}},H=e.defineComponent({name:"NumberBoxView"}),A=e.defineComponent({...H,props:{data:{type:Object,default:()=>{}}},setup(o){const i=o,t=e.ref(1);return e.watch(()=>i.data.options,c=>{t.value=c}),(c,m)=>o.data&&o.data.options?(e.openBlock(),e.createElementBlock("div",{key:0,class:"number-box-wrapper",style:e.normalizeStyle({"justify-content":o.data.options.align})},[e.createVNode(e.unref(h.uvStepper),{min:o.data.options.min,modelValue:t.value,"onUpdate:modelValue":m[0]||(m[0]=f=>t.value=f),max:o.data.options.max,integer:o.data.options.integer,disabled:!0,inputWidth:o.data.options.inputWidth+"px",step:o.data.options.step},null,8,["min","modelValue","max","integer","inputWidth","step"])],4)):e.createCommentVNode("",!0)}}),Be="",F=N(A,[["__scopeId","data-v-d025175e"]]),G={key:0,class:"banner-content"},R=e.defineComponent({name:"NumberBoxData"}),X=e.defineComponent({...R,props:{data:{type:Object,default:()=>{}}},setup(o){const i=o,t=e.ref(),c=e.ref(),m=e.ref(!1);return e.onMounted(()=>{console.log(i.data,i,"参数接收"),i.data&&(c.value=i.data.data,t.value=i.data.options,m.value=!0)}),(f,l)=>{const r=e.resolveComponent("el-input-number"),d=e.resolveComponent("el-form-item"),p=e.resolveComponent("el-switch"),s=e.resolveComponent("el-color-picker"),_=e.resolveComponent("el-radio-button"),u=e.resolveComponent("el-radio-group"),x=e.resolveComponent("el-form");return m.value?(e.openBlock(),e.createElementBlock("div",G,[e.createVNode(x,{"label-width":"120px"},{default:e.withCtx(()=>[e.createVNode(d,{label:"当前值"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.value,"onUpdate:modelValue":l[0]||(l[0]=a=>t.value.value=a),min:t.value.min,max:t.value.max,step:t.value.step},null,8,["modelValue","min","max","step"])]),_:1}),e.createVNode(d,{label:"最小值"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.min,"onUpdate:modelValue":l[1]||(l[1]=a=>t.value.min=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"最大值"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.max,"onUpdate:modelValue":l[2]||(l[2]=a=>t.value.max=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"步长"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.step,"onUpdate:modelValue":l[3]||(l[3]=a=>t.value.step=a),min:0,precision:2},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"只能正整数"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.integer,"onUpdate:modelValue":l[4]||(l[4]=a=>t.value.integer=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"禁用操作"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.disabled,"onUpdate:modelValue":l[5]||(l[5]=a=>t.value.disabled=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"禁止输入框"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.disabledInput,"onUpdate:modelValue":l[6]||(l[6]=a=>t.value.disabledInput=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"输入框宽度(px)"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.inputWidth,"onUpdate:modelValue":l[7]||(l[7]=a=>t.value.inputWidth=a),min:20,max:200},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"显示减少按钮"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.showMinus,"onUpdate:modelValue":l[8]||(l[8]=a=>t.value.showMinus=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"显示增加按钮"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.showPlus,"onUpdate:modelValue":l[9]||(l[9]=a=>t.value.showPlus=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"小数位数"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.decimalLength,"onUpdate:modelValue":l[10]||(l[10]=a=>t.value.decimalLength=a),min:0,max:10},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"允许长按"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.longPress,"onUpdate:modelValue":l[11]||(l[11]=a=>t.value.longPress=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"文字颜色"},{default:e.withCtx(()=>[e.createVNode(s,{modelValue:t.value.color,"onUpdate:modelValue":l[12]||(l[12]=a=>t.value.color=a),"show-alpha":""},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"按钮大小(px)"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.buttonSize,"onUpdate:modelValue":l[13]||(l[13]=a=>t.value.buttonSize=a),min:20,max:100},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"背景颜色"},{default:e.withCtx(()=>[e.createVNode(s,{modelValue:t.value.bgColor,"onUpdate:modelValue":l[14]||(l[14]=a=>t.value.bgColor=a),"show-alpha":""},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"禁用增加按钮"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.disablePlus,"onUpdate:modelValue":l[15]||(l[15]=a=>t.value.disablePlus=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"禁用减少按钮"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.disableMinus,"onUpdate:modelValue":l[16]||(l[16]=a=>t.value.disableMinus=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"对齐方式"},{default:e.withCtx(()=>[e.createVNode(u,{modelValue:t.value.align,"onUpdate:modelValue":l[17]||(l[17]=a=>t.value.align=a)},{default:e.withCtx(()=>[e.createVNode(_,{label:"left"},{default:e.withCtx(()=>[e.createTextVNode("左对齐")]),_:1}),e.createVNode(_,{label:"center"},{default:e.withCtx(()=>[e.createTextVNode("居中对齐")]),_:1}),e.createVNode(_,{label:"right"},{default:e.withCtx(()=>[e.createTextVNode("右对齐")]),_:1})]),_:1},8,["modelValue"])]),_:1}),e.createVNode(d,{label:"铺满"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.fill,"onUpdate:modelValue":l[18]||(l[18]=a=>t.value.fill=a)},null,8,["modelValue"])]),_:1})]),_:1})])):e.createCommentVNode("",!0)}}}),Ee="",J={type:"uvui-numberBox",name:"步进器",icon:"Postcard",fontIcon:"icon-shangpinanniu_changtiaoanniu",page:"index,activity",viewCom:F,editCom:N(X,[["__scopeId","data-v-0130b026"]]),limit:0},K={data:{},options:{value:1,min:1,max:Number.MAX_SAFE_INTEGER,step:1,integer:!1,disabled:!1,disabledInput:!1,inputWidth:35,showMinus:!0,showPlus:!0,decimalLength:0,longPress:!0,color:"#323233",buttonSize:30,bgColor:"#EBECEE",disablePlus:!1,disableMinus:!1,align:"left",fill:!1}},Q={key:0,class:"cell_box"},Y=e.defineComponent({name:"CollapseView"}),Z=e.defineComponent({...Y,props:{data:{type:Object,default:()=>{}}},setup(o){const i=o,t=e.ref([]),c=e.computed(()=>i.data.data&&i.data.data.list?(t.value=i.data.data.list.map((m,f)=>m.title+"_"+f),i.data.data.list):[]);return(m,f)=>o.data&&o.data.options?(e.openBlock(),e.createElementBlock("div",Q,[e.createVNode(e.unref(h.uvCollapse),{modelValue:t.value,"onUpdate:modelValue":f[0]||(f[0]=l=>t.value=l)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(c),(l,r)=>(e.openBlock(),e.createBlock(e.unref(h.uvCollapseItem),{key:r,name:l.title+"_"+r},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.title),1)]),right:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value),1)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(l.label),1)]),_:2},1032,["name"]))),128))]),_:1},8,["modelValue"])])):e.createCommentVNode("",!0)}}),Ie="",v=N(Z,[["__scopeId","data-v-cd08eed6"]]),C=o=>(e.pushScopeId("data-v-c904acd0"),o=o(),e.popScopeId(),o),ee={key:0,class:"banner-content"},te={class:"l-info"},le={class:"mt-5px"},ae=C(()=>e.createElementVNode("span",null,"标题:",-1)),oe={class:"mt-5px"},de=C(()=>e.createElementVNode("span",null,"内容:",-1)),ne={class:"mt-5px"},ie=C(()=>e.createElementVNode("span",null,"描述:",-1)),re={class:"mt-5px"},se=C(()=>e.createElementVNode("span",null,"禁用:",-1)),me={class:"mt-5px"},pe=C(()=>e.createElementVNode("span",null,"右箭头:",-1)),ce={class:"mt-5px"},Ve=C(()=>e.createElementVNode("span",null,"点击反馈:",-1)),ue={class:"mt-5px"},fe=C(()=>e.createElementVNode("span",null,"显示内边框:",-1)),_e={class:"mt-5px"},xe=e.defineComponent({name:"CollapseData"}),be=e.defineComponent({...xe,props:{data:{type:Object,default:()=>{}}},setup(o){const i=o,t=e.ref(),c=e.ref(),m=e.ref(!1),f=r=>{c.value.list.splice(r,1)},l=()=>{c.value.list.push({title:"面板标题",value:"右侧内容",label:"",disabled:!1,isLink:!0,clickable:!0,border:!0})};return e.onMounted(()=>{i.data&&(c.value=i.data.data,t.value=i.data.options,m.value=!0)}),(r,d)=>{const p=e.resolveComponent("el-switch"),s=e.resolveComponent("el-form-item"),_=e.resolveComponent("el-form"),u=e.resolveComponent("el-button"),x=e.resolveComponent("el-input");return m.value?(e.openBlock(),e.createElementBlock("div",ee,[e.createVNode(_,{"label-width":"100px"},{default:e.withCtx(()=>[e.createVNode(s,{label:"是否铺满"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.fill,"onUpdate:modelValue":d[0]||(d[0]=a=>t.value.fill=a)},null,8,["modelValue"])]),_:1})]),_:1}),e.createVNode(u,{type:"primary",onClick:l,class:"mt-10px"},{default:e.withCtx(()=>[e.createTextVNode("添加项")]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value.list,(a,w)=>(e.openBlock(),e.createElementBlock("div",{class:"item-list",key:w},[e.createElementVNode("div",te,[e.createElementVNode("div",le,[ae,e.createVNode(x,{modelValue:a.title,"onUpdate:modelValue":V=>a.title=V,style:{width:"180px"},placeholder:"请输入",clearable:""},null,8,["modelValue","onUpdate:modelValue"])]),e.createElementVNode("div",oe,[de,e.createVNode(x,{modelValue:a.value,"onUpdate:modelValue":V=>a.value=V,style:{width:"180px"},placeholder:"请输入",clearable:""},null,8,["modelValue","onUpdate:modelValue"])]),e.createElementVNode("div",ne,[ie,e.createVNode(x,{modelValue:a.label,"onUpdate:modelValue":V=>a.label=V,style:{width:"180px"},placeholder:"请输入",clearable:""},null,8,["modelValue","onUpdate:modelValue"])]),e.createElementVNode("div",re,[se,e.createVNode(p,{modelValue:a.disabled,"onUpdate:modelValue":V=>a.disabled=V},null,8,["modelValue","onUpdate:modelValue"])]),e.createElementVNode("div",me,[pe,e.createVNode(p,{modelValue:a.isLink,"onUpdate:modelValue":V=>a.isLink=V},null,8,["modelValue","onUpdate:modelValue"])]),e.createElementVNode("div",ce,[Ve,e.createVNode(p,{modelValue:a.clickable,"onUpdate:modelValue":V=>a.clickable=V},null,8,["modelValue","onUpdate:modelValue"])]),e.createElementVNode("div",ue,[fe,e.createVNode(p,{modelValue:a.border,"onUpdate:modelValue":V=>a.border=V},null,8,["modelValue","onUpdate:modelValue"])]),e.createElementVNode("div",_e,[e.createVNode(u,{type:"danger",onClick:V=>f(w),size:"small"},{default:e.withCtx(()=>[e.createTextVNode("删除")]),_:2},1032,["onClick"])])])]))),128))])):e.createCommentVNode("",!0)}}}),ze="",Ne={type:"uvui-collapse",name:"折叠面板",icon:"Postcard",fontIcon:"icon-danyuange1",page:"index,activity",viewCom:v,editCom:N(be,[["__scopeId","data-v-c904acd0"]]),limit:0},Ce={data:{list:[{title:"面板标题",value:"右侧内容",label:"",disabled:!1,isLink:!0,clickable:!0,border:!0}]},options:{fill:!1}},y={buttonTypeList:I,textareaTypeList:q,numberBoxTypeList:J,collapseTypeList:Ne},g={buttonOptions:z,textareaOptions:W,numberBoxOptions:K,collapseOptions:Ce},we={uvUiList:y,uvUIOptions:g};b.default=we,b.uvUIOptions=g,b.uvUiList=y,Object.defineProperties(b,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
1
+ (function(b,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("uv-ui")):typeof define=="function"&&define.amd?define(["exports","vue","uv-ui"],e):(b=typeof globalThis<"u"?globalThis:b||self,e(b.VuvUi={},b.Vue,b.UvUi))})(this,function(b,e,h){"use strict";const U=e.defineComponent({name:"uvuiButtonView"}),k=e.defineComponent({...U,props:{data:{type:Object,default:()=>{}}},setup(o){return(n,t)=>o.data&&o.data.options?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["button_box",{plain:o.data.options.plain}]),style:e.normalizeStyle({"justify-content":o.data.options.position})},[e.createVNode(e.unref(h.uvButton),{type:o.data.options.type||"primary",bgColor:o.data.options.color,disabled:o.data.options.disabled,color:o.data.options.textColor,round:o.data.options.shape=="circle",square:o.data.options.shape=="square",size:o.data.options.size,loading:o.data.options.loading,icon:o.data.options.icon,style:e.normalizeStyle({width:o.data.options.width+"px",height:o.data.options.height+"px"})},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.data.options.text||"按钮"),1)]),_:1},8,["type","bgColor","disabled","color","round","square","size","loading","icon","style"])],6)):e.createCommentVNode("",!0)}}),ge="",N=(o,n)=>{const t=o.__vccOpts||o;for(const[c,m]of n)t[c]=m;return t},y=N(k,[["__scopeId","data-v-ddf92851"]]),T={key:0,class:"banner-content"},B=e.defineComponent({name:"uvuiButtonData"}),E=e.defineComponent({...B,props:{data:{type:Object,default:()=>{}}},setup(o){const n=o,t=e.ref(),c=e.ref(),m=e.ref(!1);return e.onMounted(()=>{console.log(n.data,n,"参数接收"),n.data&&(c.value=n.data.data,t.value=n.data.options,m.value=!0)}),(f,l)=>{const r=e.resolveComponent("el-switch"),d=e.resolveComponent("el-form-item"),p=e.resolveComponent("el-input-number"),s=e.resolveComponent("el-option"),_=e.resolveComponent("el-select"),u=e.resolveComponent("el-radio-button"),x=e.resolveComponent("el-radio-group"),a=e.resolveComponent("el-input"),w=e.resolveComponent("el-color-picker"),V=e.resolveComponent("el-form");return m.value?(e.openBlock(),e.createElementBlock("div",T,[e.createVNode(V,{"label-width":"100px"},{default:e.withCtx(()=>[e.createVNode(d,{label:"显示边框"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.hairline,"onUpdate:modelValue":l[0]||(l[0]=i=>t.value.hairline=i)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"宽度"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.width,"onUpdate:modelValue":l[1]||(l[1]=i=>t.value.width=i)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"高度"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.height,"onUpdate:modelValue":l[2]||(l[2]=i=>t.value.height=i)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"主题颜色"},{default:e.withCtx(()=>[e.createVNode(_,{modelValue:t.value.type,"onUpdate:modelValue":l[3]||(l[3]=i=>t.value.type=i),placeholder:"请选择",style:{width:"180px"}},{default:e.withCtx(()=>[e.createVNode(s,{label:"primary",value:"primary"}),e.createVNode(s,{label:"success",value:"success"}),e.createVNode(s,{label:"info",value:"info"}),e.createVNode(s,{label:"warning",value:"warning"}),e.createVNode(s,{label:"error",value:"error"})]),_:1},8,["modelValue"])]),_:1}),e.createVNode(d,{label:"大小"},{default:e.withCtx(()=>[e.createVNode(x,{modelValue:t.value.size,"onUpdate:modelValue":l[4]||(l[4]=i=>t.value.size=i)},{default:e.withCtx(()=>[e.createVNode(u,{label:"normal"},{default:e.withCtx(()=>[e.createTextVNode("normal")]),_:1}),e.createVNode(u,{label:"medium"},{default:e.withCtx(()=>[e.createTextVNode("medium")]),_:1}),e.createVNode(u,{label:"mini"},{default:e.withCtx(()=>[e.createTextVNode("mini")]),_:1})]),_:1},8,["modelValue"])]),_:1}),e.createVNode(d,{label:"按钮位置"},{default:e.withCtx(()=>[e.createVNode(x,{modelValue:t.value.position,"onUpdate:modelValue":l[5]||(l[5]=i=>t.value.position=i)},{default:e.withCtx(()=>[e.createVNode(u,{label:"left"},{default:e.withCtx(()=>[e.createTextVNode("居左")]),_:1}),e.createVNode(u,{label:"center"},{default:e.withCtx(()=>[e.createTextVNode("居中")]),_:1}),e.createVNode(u,{label:"right"},{default:e.withCtx(()=>[e.createTextVNode("居右")]),_:1})]),_:1},8,["modelValue"])]),_:1}),e.createVNode(d,{label:"形状"},{default:e.withCtx(()=>[e.createVNode(x,{modelValue:t.value.shape,"onUpdate:modelValue":l[6]||(l[6]=i=>t.value.shape=i)},{default:e.withCtx(()=>[e.createVNode(u,{label:"square"},{default:e.withCtx(()=>[e.createTextVNode("square")]),_:1}),e.createVNode(u,{label:"circle"},{default:e.withCtx(()=>[e.createTextVNode("circle")]),_:1})]),_:1},8,["modelValue"])]),_:1}),e.createVNode(d,{label:"镂空"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.plain,"onUpdate:modelValue":l[7]||(l[7]=i=>t.value.plain=i)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"禁用"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.disabled,"onUpdate:modelValue":l[8]||(l[8]=i=>t.value.disabled=i)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"铺满"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.fill,"onUpdate:modelValue":l[9]||(l[9]=i=>t.value.fill=i)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"loading图标"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.loading,"onUpdate:modelValue":l[10]||(l[10]=i=>t.value.loading=i)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"加载中文字"},{default:e.withCtx(()=>[e.createVNode(a,{modelValue:t.value.loadingText,"onUpdate:modelValue":l[11]||(l[11]=i=>t.value.loadingText=i),style:{width:"180px"},placeholder:"请输入",clearable:""},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"开放能力"},{default:e.withCtx(()=>[e.createVNode(_,{modelValue:t.value.openType,"onUpdate:modelValue":l[12]||(l[12]=i=>t.value.openType=i),placeholder:"请选择",style:{width:"180px"},clearable:""},{default:e.withCtx(()=>[e.createVNode(s,{label:"跳转页面",value:"navigateTo"}),e.createVNode(s,{label:"获取用户信息",value:"getUserInfo"}),e.createVNode(s,{label:"联系客服",value:"contact"}),e.createVNode(s,{label:"获取手机号",value:"getPhoneNumber"}),e.createVNode(s,{label:"打开授权设置",value:"openSetting"}),e.createVNode(s,{label:"获取用户头像",value:"chooseAvatar"}),e.createVNode(s,{label:"意见反馈",value:"feedback"}),e.createVNode(s,{label:"分享",value:"share"}),e.createVNode(s,{label:"自定义",value:"customize"})]),_:1},8,["modelValue"])]),_:1}),t.value.openType=="navigateTo"?(e.openBlock(),e.createBlock(d,{key:0,label:"页面路径"},{default:e.withCtx(()=>[e.createVNode(a,{modelValue:t.value.pagePath,"onUpdate:modelValue":l[13]||(l[13]=i=>t.value.pagePath=i),style:{width:"180px"},placeholder:"请输入",clearable:""},null,8,["modelValue"])]),_:1})):e.createCommentVNode("",!0),t.value.openType=="navigateTo"?(e.openBlock(),e.createBlock(d,{key:1,label:"tabbar页面"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.isTabBar,"onUpdate:modelValue":l[14]||(l[14]=i=>t.value.isTabBar=i)},null,8,["modelValue"])]),_:1})):e.createCommentVNode("",!0),e.createVNode(d,{label:"按钮文字"},{default:e.withCtx(()=>[e.createVNode(a,{modelValue:t.value.text,"onUpdate:modelValue":l[15]||(l[15]=i=>t.value.text=i),style:{width:"180px"},placeholder:"请输入",clearable:""},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"按钮颜色"},{default:e.withCtx(()=>[e.createVNode(w,{modelValue:t.value.color,"onUpdate:modelValue":l[16]||(l[16]=i=>t.value.color=i),"show-alpha":""},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"文字颜色"},{default:e.withCtx(()=>[e.createVNode(w,{modelValue:t.value.textColor,"onUpdate:modelValue":l[17]||(l[17]=i=>t.value.textColor=i),"show-alpha":""},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"自定义样式"},{default:e.withCtx(()=>[e.createVNode(a,{modelValue:t.value.customStyle,"onUpdate:modelValue":l[18]||(l[18]=i=>t.value.customStyle=i),style:{width:"240px"},placeholder:"分号分隔,如width: 100px;height: 50px;",type:"textarea",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})])):e.createCommentVNode("",!0)}}}),Ue="",g=N(E,[["__scopeId","data-v-3bbcd931"]]),S={type:"uvui-button",name:"按钮",icon:"Postcard",fontIcon:"icon-shangpinanniu_changtiaoanniu",page:"index,activity",viewCom:y,editCom:g,limit:0},I={data:{},options:{width:"100",height:"45",hairline:!0,type:"primary",size:"normal",shape:"square",position:"left",plain:!1,disabled:!1,loading:!1,loadingText:"",openType:"navigateTo",pagePath:"",isTabBar:!1,text:"",textColor:"#ffffff",icon:"",color:"",customStyle:"",fill:!0}},z={key:0,class:"textarea_box"},$=e.defineComponent({name:"TextareaView"}),D=e.defineComponent({...$,props:{data:{type:Object,default:()=>{}}},setup(o){const n=e.ref("");return(t,c)=>{const m=e.resolveComponent("el-input");return o.data&&o.data.options?(e.openBlock(),e.createElementBlock("div",z,[e.createVNode(m,{modelValue:n.value,"onUpdate:modelValue":c[0]||(c[0]=f=>n.value=f),placeholder:o.data.options.placeholder||"请输入",style:e.normalizeStyle({width:"100%",height:o.data.options.height}),"show-word-limit":o.data.options.count,autosize:o.data.options.autoHeight,maxlength:o.data.options.maxlength,rows:2,type:"textarea"},null,8,["modelValue","placeholder","style","show-word-limit","autosize","maxlength"])])):e.createCommentVNode("",!0)}}}),ke="",P=N(D,[["__scopeId","data-v-b4db5b9f"]]),L={key:0,class:"banner-content"},O=e.defineComponent({name:"TextareaData"}),M=e.defineComponent({...O,props:{data:{type:Object,default:()=>{}}},setup(o){const n=o,t=e.ref(),c=e.ref(),m=e.ref(!1);return e.onMounted(()=>{console.log(n.data,n,"参数接收"),n.data&&(c.value=n.data.data,t.value=n.data.options,m.value=!0)}),(f,l)=>{const r=e.resolveComponent("el-input"),d=e.resolveComponent("el-form-item"),p=e.resolveComponent("el-input-number"),s=e.resolveComponent("el-switch"),_=e.resolveComponent("el-radio-button"),u=e.resolveComponent("el-radio-group"),x=e.resolveComponent("el-form");return m.value?(e.openBlock(),e.createElementBlock("div",L,[e.createVNode(x,{"label-width":"100px"},{default:e.withCtx(()=>[e.createVNode(d,{label:"空值占位内容"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.placeholder,"onUpdate:modelValue":l[0]||(l[0]=a=>t.value.placeholder=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"高度"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.height,"onUpdate:modelValue":l[1]||(l[1]=a=>t.value.height=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"右下角按钮文字"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.confirmType,"onUpdate:modelValue":l[2]||(l[2]=a=>t.value.confirmType=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"显示字数统计"},{default:e.withCtx(()=>[e.createVNode(s,{modelValue:t.value.count,"onUpdate:modelValue":l[3]||(l[3]=a=>t.value.count=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"自动增高"},{default:e.withCtx(()=>[e.createVNode(s,{modelValue:t.value.autoHeight,"onUpdate:modelValue":l[4]||(l[4]=a=>t.value.autoHeight=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"显示完成按钮"},{default:e.withCtx(()=>[e.createVNode(s,{modelValue:t.value.showConfirmBar,"onUpdate:modelValue":l[5]||(l[5]=a=>t.value.showConfirmBar=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"输入长度"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.maxlength,"onUpdate:modelValue":l[6]||(l[6]=a=>t.value.maxlength=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"是否铺满"},{default:e.withCtx(()=>[e.createVNode(s,{modelValue:t.value.fill,"onUpdate:modelValue":l[7]||(l[7]=a=>t.value.fill=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"边框"},{default:e.withCtx(()=>[e.createVNode(u,{modelValue:t.value.size,"onUpdate:modelValue":l[8]||(l[8]=a=>t.value.size=a)},{default:e.withCtx(()=>[e.createVNode(_,{label:"surround"},{default:e.withCtx(()=>[e.createTextVNode("四周边框")]),_:1}),e.createVNode(_,{label:"none"},{default:e.withCtx(()=>[e.createTextVNode("无边框")]),_:1}),e.createVNode(_,{label:"bottom"},{default:e.withCtx(()=>[e.createTextVNode("底部边框")]),_:1})]),_:1},8,["modelValue"])]),_:1}),e.createVNode(d,{label:"自定义样式"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.customStyle,"onUpdate:modelValue":l[9]||(l[9]=a=>t.value.customStyle=a),style:{width:"240px"},placeholder:"分号分隔,如width: 100px;height: 50px;",type:"textarea",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})])):e.createCommentVNode("",!0)}}}),Te="",j={type:"uvui-textarea",name:"文本域",icon:"Textarea",fontIcon:"icon-24gl-grid",page:"index,activity",viewCom:P,editCom:N(M,[["__scopeId","data-v-91c833b3"]]),limit:0},q={type:"uvui-textarea",data:{},options:{placeholder:"请输入",height:"70",confirmType:"done",count:!1,autoHeight:!1,showConfirmBar:!1,maxlength:140,border:"surround",customStyle:"",fill:!0}},W=e.defineComponent({name:"NumberBoxView"}),H=e.defineComponent({...W,props:{data:{type:Object,default:()=>{}}},setup(o){const n=o,t=e.ref(1);return e.watch(()=>n.data.options,c=>{t.value=c}),(c,m)=>o.data&&o.data.options?(e.openBlock(),e.createElementBlock("div",{key:0,class:"number-box-wrapper",style:e.normalizeStyle({"justify-content":o.data.options.align})},[e.createVNode(e.unref(h.uvStepper),{min:o.data.options.min,modelValue:t.value,"onUpdate:modelValue":m[0]||(m[0]=f=>t.value=f),max:o.data.options.max,integer:o.data.options.integer,disabled:!0,inputWidth:o.data.options.inputWidth+"px",step:o.data.options.step},null,8,["min","modelValue","max","integer","inputWidth","step"])],4)):e.createCommentVNode("",!0)}}),Ee="",A=N(H,[["__scopeId","data-v-d025175e"]]),F={key:0,class:"banner-content"},G=e.defineComponent({name:"NumberBoxData"}),R=e.defineComponent({...G,props:{data:{type:Object,default:()=>{}}},setup(o){const n=o,t=e.ref(),c=e.ref(),m=e.ref(!1);return e.onMounted(()=>{console.log(n.data,n,"参数接收"),n.data&&(c.value=n.data.data,t.value=n.data.options,m.value=!0)}),(f,l)=>{const r=e.resolveComponent("el-input-number"),d=e.resolveComponent("el-form-item"),p=e.resolveComponent("el-switch"),s=e.resolveComponent("el-color-picker"),_=e.resolveComponent("el-radio-button"),u=e.resolveComponent("el-radio-group"),x=e.resolveComponent("el-form");return m.value?(e.openBlock(),e.createElementBlock("div",F,[e.createVNode(x,{"label-width":"120px"},{default:e.withCtx(()=>[e.createVNode(d,{label:"当前值"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.value,"onUpdate:modelValue":l[0]||(l[0]=a=>t.value.value=a),min:t.value.min,max:t.value.max,step:t.value.step},null,8,["modelValue","min","max","step"])]),_:1}),e.createVNode(d,{label:"最小值"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.min,"onUpdate:modelValue":l[1]||(l[1]=a=>t.value.min=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"最大值"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.max,"onUpdate:modelValue":l[2]||(l[2]=a=>t.value.max=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"步长"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.step,"onUpdate:modelValue":l[3]||(l[3]=a=>t.value.step=a),min:0,precision:2},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"只能正整数"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.integer,"onUpdate:modelValue":l[4]||(l[4]=a=>t.value.integer=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"禁用操作"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.disabled,"onUpdate:modelValue":l[5]||(l[5]=a=>t.value.disabled=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"禁止输入框"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.disabledInput,"onUpdate:modelValue":l[6]||(l[6]=a=>t.value.disabledInput=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"输入框宽度(px)"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.inputWidth,"onUpdate:modelValue":l[7]||(l[7]=a=>t.value.inputWidth=a),min:20,max:200},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"显示减少按钮"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.showMinus,"onUpdate:modelValue":l[8]||(l[8]=a=>t.value.showMinus=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"显示增加按钮"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.showPlus,"onUpdate:modelValue":l[9]||(l[9]=a=>t.value.showPlus=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"小数位数"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.decimalLength,"onUpdate:modelValue":l[10]||(l[10]=a=>t.value.decimalLength=a),min:0,max:10},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"允许长按"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.longPress,"onUpdate:modelValue":l[11]||(l[11]=a=>t.value.longPress=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"文字颜色"},{default:e.withCtx(()=>[e.createVNode(s,{modelValue:t.value.color,"onUpdate:modelValue":l[12]||(l[12]=a=>t.value.color=a),"show-alpha":""},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"按钮大小(px)"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:t.value.buttonSize,"onUpdate:modelValue":l[13]||(l[13]=a=>t.value.buttonSize=a),min:20,max:100},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"背景颜色"},{default:e.withCtx(()=>[e.createVNode(s,{modelValue:t.value.bgColor,"onUpdate:modelValue":l[14]||(l[14]=a=>t.value.bgColor=a),"show-alpha":""},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"禁用增加按钮"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.disablePlus,"onUpdate:modelValue":l[15]||(l[15]=a=>t.value.disablePlus=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"禁用减少按钮"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.disableMinus,"onUpdate:modelValue":l[16]||(l[16]=a=>t.value.disableMinus=a)},null,8,["modelValue"])]),_:1}),e.createVNode(d,{label:"对齐方式"},{default:e.withCtx(()=>[e.createVNode(u,{modelValue:t.value.align,"onUpdate:modelValue":l[17]||(l[17]=a=>t.value.align=a)},{default:e.withCtx(()=>[e.createVNode(_,{label:"left"},{default:e.withCtx(()=>[e.createTextVNode("左对齐")]),_:1}),e.createVNode(_,{label:"center"},{default:e.withCtx(()=>[e.createTextVNode("居中对齐")]),_:1}),e.createVNode(_,{label:"right"},{default:e.withCtx(()=>[e.createTextVNode("右对齐")]),_:1})]),_:1},8,["modelValue"])]),_:1}),e.createVNode(d,{label:"铺满"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.fill,"onUpdate:modelValue":l[18]||(l[18]=a=>t.value.fill=a)},null,8,["modelValue"])]),_:1})]),_:1})])):e.createCommentVNode("",!0)}}}),Se="",X={type:"uvui-numberBox",name:"步进器",icon:"Postcard",fontIcon:"icon-shangpinanniu_changtiaoanniu",page:"index,activity",viewCom:A,editCom:N(R,[["__scopeId","data-v-0130b026"]]),limit:0},J={data:{},options:{value:1,min:1,max:Number.MAX_SAFE_INTEGER,step:1,integer:!1,disabled:!1,disabledInput:!1,inputWidth:35,showMinus:!0,showPlus:!0,decimalLength:0,longPress:!0,color:"#323233",buttonSize:30,bgColor:"#EBECEE",disablePlus:!1,disableMinus:!1,align:"left",fill:!1}},K={key:0,class:"cell_box"},Q=e.defineComponent({name:"CollapseView"}),Y=e.defineComponent({...Q,props:{data:{type:Object,default:()=>{}}},setup(o){const n=o,t=e.ref([]),c=e.computed(()=>n.data.data&&n.data.data.list?(t.value=n.data.data.list.map((m,f)=>m.title+"_"+f),n.data.data.list):[]);return(m,f)=>o.data&&o.data.options?(e.openBlock(),e.createElementBlock("div",K,[e.createVNode(e.unref(h.uvCollapse),{modelValue:t.value,"onUpdate:modelValue":f[0]||(f[0]=l=>t.value=l)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(c),(l,r)=>(e.openBlock(),e.createBlock(e.unref(h.uvCollapseItem),{key:r,name:l.title+"_"+r},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.title),1)]),right:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value),1)]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(l.label),1)]),_:2},1032,["name"]))),128))]),_:1},8,["modelValue"])])):e.createCommentVNode("",!0)}}),ze="",Z=N(Y,[["__scopeId","data-v-cd08eed6"]]),C=o=>(e.pushScopeId("data-v-c904acd0"),o=o(),e.popScopeId(),o),v={key:0,class:"banner-content"},ee={class:"l-info"},te={class:"mt-5px"},le=C(()=>e.createElementVNode("span",null,"标题:",-1)),ae={class:"mt-5px"},oe=C(()=>e.createElementVNode("span",null,"内容:",-1)),de={class:"mt-5px"},ne=C(()=>e.createElementVNode("span",null,"描述:",-1)),ie={class:"mt-5px"},re=C(()=>e.createElementVNode("span",null,"禁用:",-1)),se={class:"mt-5px"},me=C(()=>e.createElementVNode("span",null,"右箭头:",-1)),pe={class:"mt-5px"},ce=C(()=>e.createElementVNode("span",null,"点击反馈:",-1)),Ve={class:"mt-5px"},ue=C(()=>e.createElementVNode("span",null,"显示内边框:",-1)),fe={class:"mt-5px"},_e=e.defineComponent({name:"CollapseData"}),xe=e.defineComponent({..._e,props:{data:{type:Object,default:()=>{}}},setup(o){const n=o,t=e.ref(),c=e.ref(),m=e.ref(!1),f=r=>{c.value.list.splice(r,1)},l=()=>{c.value.list.push({title:"面板标题",value:"右侧内容",label:"",disabled:!1,isLink:!0,clickable:!0,border:!0})};return e.onMounted(()=>{n.data&&(c.value=n.data.data,t.value=n.data.options,m.value=!0)}),(r,d)=>{const p=e.resolveComponent("el-switch"),s=e.resolveComponent("el-form-item"),_=e.resolveComponent("el-form"),u=e.resolveComponent("el-button"),x=e.resolveComponent("el-input");return m.value?(e.openBlock(),e.createElementBlock("div",v,[e.createVNode(_,{"label-width":"100px"},{default:e.withCtx(()=>[e.createVNode(s,{label:"是否铺满"},{default:e.withCtx(()=>[e.createVNode(p,{modelValue:t.value.fill,"onUpdate:modelValue":d[0]||(d[0]=a=>t.value.fill=a)},null,8,["modelValue"])]),_:1})]),_:1}),e.createVNode(u,{type:"primary",onClick:l,class:"mt-10px"},{default:e.withCtx(()=>[e.createTextVNode("添加项")]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value.list,(a,w)=>(e.openBlock(),e.createElementBlock("div",{class:"item-list",key:w},[e.createElementVNode("div",ee,[e.createElementVNode("div",te,[le,e.createVNode(x,{modelValue:a.title,"onUpdate:modelValue":V=>a.title=V,style:{width:"180px"},placeholder:"请输入",clearable:""},null,8,["modelValue","onUpdate:modelValue"])]),e.createElementVNode("div",ae,[oe,e.createVNode(x,{modelValue:a.value,"onUpdate:modelValue":V=>a.value=V,style:{width:"180px"},placeholder:"请输入",clearable:""},null,8,["modelValue","onUpdate:modelValue"])]),e.createElementVNode("div",de,[ne,e.createVNode(x,{modelValue:a.label,"onUpdate:modelValue":V=>a.label=V,style:{width:"180px"},placeholder:"请输入",clearable:""},null,8,["modelValue","onUpdate:modelValue"])]),e.createElementVNode("div",ie,[re,e.createVNode(p,{modelValue:a.disabled,"onUpdate:modelValue":V=>a.disabled=V},null,8,["modelValue","onUpdate:modelValue"])]),e.createElementVNode("div",se,[me,e.createVNode(p,{modelValue:a.isLink,"onUpdate:modelValue":V=>a.isLink=V},null,8,["modelValue","onUpdate:modelValue"])]),e.createElementVNode("div",pe,[ce,e.createVNode(p,{modelValue:a.clickable,"onUpdate:modelValue":V=>a.clickable=V},null,8,["modelValue","onUpdate:modelValue"])]),e.createElementVNode("div",Ve,[ue,e.createVNode(p,{modelValue:a.border,"onUpdate:modelValue":V=>a.border=V},null,8,["modelValue","onUpdate:modelValue"])]),e.createElementVNode("div",fe,[e.createVNode(u,{type:"danger",onClick:V=>f(w),size:"small"},{default:e.withCtx(()=>[e.createTextVNode("删除")]),_:2},1032,["onClick"])])])]))),128))])):e.createCommentVNode("",!0)}}}),$e="",be={type:"uvui-collapse",name:"折叠面板",icon:"Postcard",fontIcon:"icon-danyuange1",page:"index,activity",viewCom:Z,editCom:N(xe,[["__scopeId","data-v-c904acd0"]]),limit:0},Ne={data:{list:[{title:"面板标题",value:"右侧内容",label:"",disabled:!1,isLink:!0,clickable:!0,border:!0}]},options:{fill:!1}},Ce={buttonTypeList:S,textareaTypeList:j,numberBoxTypeList:X,collapseTypeList:be},we={buttonOptions:I,textareaOptions:q,numberBoxOptions:J,collapseOptions:Ne},he=[g,y],ye={install(o){he.forEach(n=>{o.component(n.name,n)})}};b.default=ye,b.uvUIOptions=we,b.uvUiList=Ce,Object.defineProperties(b,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});