@atooyu/uxto-ui 1.1.20 → 1.1.22

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/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const vue = require("vue");
4
- const _hoisted_1$F = ["disabled", "hover-class"];
5
- const _hoisted_2$v = {
4
+ const _hoisted_1$H = ["disabled", "hover-class"];
5
+ const _hoisted_2$x = {
6
6
  key: 0,
7
7
  class: "u-button__loading"
8
8
  };
9
- const _hoisted_3$p = {
9
+ const _hoisted_3$r = {
10
10
  key: 1,
11
11
  class: "u-button__content"
12
12
  };
@@ -15,14 +15,14 @@ const _hoisted_4$h = {
15
15
  class: "u-button__icon"
16
16
  };
17
17
  const _hoisted_5$d = { class: "u-button__text" };
18
- const __default__$L = {
18
+ const __default__$N = {
19
19
  options: {
20
20
  virtualHost: true,
21
21
  styleIsolation: "shared"
22
22
  }
23
23
  };
24
- const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
25
- ...__default__$L,
24
+ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
25
+ ...__default__$N,
26
26
  __name: "u-button",
27
27
  props: {
28
28
  type: { default: "default" },
@@ -74,15 +74,15 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
74
74
  "hover-class": __props.disabled || __props.loading ? "" : "u-button--active",
75
75
  onClick: handleClick
76
76
  }, [
77
- __props.loading ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$v, [..._cache[0] || (_cache[0] = [
77
+ __props.loading ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$x, [..._cache[0] || (_cache[0] = [
78
78
  vue.createElementVNode("view", { class: "u-button__loading-icon" }, null, -1)
79
- ])])) : (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$p, [
79
+ ])])) : (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$r, [
80
80
  __props.icon ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_4$h, vue.toDisplayString(__props.icon), 1)) : vue.createCommentVNode("", true),
81
81
  vue.createElementVNode("text", _hoisted_5$d, [
82
82
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
83
83
  ])
84
84
  ]))
85
- ], 14, _hoisted_1$F);
85
+ ], 14, _hoisted_1$H);
86
86
  };
87
87
  }
88
88
  });
@@ -93,27 +93,27 @@ const _export_sfc = (sfc, props) => {
93
93
  }
94
94
  return target;
95
95
  };
96
- const uButton = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-a51cb0bf"]]);
97
- const _hoisted_1$E = {
96
+ const uButton = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-a51cb0bf"]]);
97
+ const _hoisted_1$G = {
98
98
  key: 0,
99
99
  class: "u-input__prefix"
100
100
  };
101
- const _hoisted_2$u = { class: "u-input__icon" };
102
- const _hoisted_3$o = { class: "u-input__body" };
101
+ const _hoisted_2$w = { class: "u-input__icon" };
102
+ const _hoisted_3$q = { class: "u-input__body" };
103
103
  const _hoisted_4$g = ["type", "value", "placeholder", "placeholder-style", "disabled", "maxlength", "focus", "confirm-type", "adjust-position"];
104
104
  const _hoisted_5$c = {
105
105
  key: 2,
106
106
  class: "u-input__suffix"
107
107
  };
108
108
  const _hoisted_6$7 = { class: "u-input__icon" };
109
- const __default__$K = {
109
+ const __default__$M = {
110
110
  options: {
111
111
  virtualHost: true,
112
112
  styleIsolation: "shared"
113
113
  }
114
114
  };
115
- const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
116
- ...__default__$K,
115
+ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
116
+ ...__default__$M,
117
117
  __name: "u-input",
118
118
  props: {
119
119
  modelValue: { default: "" },
@@ -163,12 +163,12 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
163
163
  "u-input--focus": isFocus.value
164
164
  }])
165
165
  }, [
166
- _ctx.$slots.prefix || __props.prefixIcon ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$E, [
166
+ _ctx.$slots.prefix || __props.prefixIcon ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$G, [
167
167
  vue.renderSlot(_ctx.$slots, "prefix", {}, () => [
168
- vue.createElementVNode("text", _hoisted_2$u, vue.toDisplayString(__props.prefixIcon), 1)
168
+ vue.createElementVNode("text", _hoisted_2$w, vue.toDisplayString(__props.prefixIcon), 1)
169
169
  ], true)
170
170
  ])) : vue.createCommentVNode("", true),
171
- vue.createElementVNode("view", _hoisted_3$o, [
171
+ vue.createElementVNode("view", _hoisted_3$q, [
172
172
  vue.createElementVNode("input", {
173
173
  class: "u-input__control",
174
174
  type: __props.type,
@@ -203,13 +203,13 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
203
203
  };
204
204
  }
205
205
  });
206
- const uInput = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-2f635824"]]);
207
- const _hoisted_1$D = ["hover-class"];
208
- const _hoisted_2$t = {
206
+ const uInput = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-2f635824"]]);
207
+ const _hoisted_1$F = ["hover-class"];
208
+ const _hoisted_2$v = {
209
209
  key: 0,
210
210
  class: "u-cell__icon"
211
211
  };
212
- const _hoisted_3$n = ["src"];
212
+ const _hoisted_3$p = ["src"];
213
213
  const _hoisted_4$f = { class: "u-cell__content" };
214
214
  const _hoisted_5$b = { class: "u-cell__title" };
215
215
  const _hoisted_6$6 = { class: "u-cell__title-text" };
@@ -223,14 +223,14 @@ const _hoisted_10$3 = {
223
223
  key: 1,
224
224
  class: "u-cell__arrow"
225
225
  };
226
- const __default__$J = {
226
+ const __default__$L = {
227
227
  options: {
228
228
  virtualHost: true,
229
229
  styleIsolation: "shared"
230
230
  }
231
231
  };
232
- const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
233
- ...__default__$J,
232
+ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
233
+ ...__default__$L,
234
234
  __name: "u-cell",
235
235
  props: {
236
236
  title: { default: "" },
@@ -268,14 +268,14 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
268
268
  "hover-class": isClickable.value && !__props.disabled ? "u-cell--active" : "",
269
269
  onClick: handleClick
270
270
  }, [
271
- _ctx.$slots.icon || __props.icon ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$t, [
271
+ _ctx.$slots.icon || __props.icon ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$v, [
272
272
  vue.renderSlot(_ctx.$slots, "icon", {}, () => [
273
273
  __props.icon ? (vue.openBlock(), vue.createElementBlock("image", {
274
274
  key: 0,
275
275
  class: "u-cell__icon-img",
276
276
  src: __props.icon,
277
277
  mode: "aspectFit"
278
- }, null, 8, _hoisted_3$n)) : vue.createCommentVNode("", true)
278
+ }, null, 8, _hoisted_3$p)) : vue.createCommentVNode("", true)
279
279
  ], true)
280
280
  ])) : vue.createCommentVNode("", true),
281
281
  vue.createElementVNode("view", _hoisted_4$f, [
@@ -293,61 +293,61 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
293
293
  vue.createElementVNode("text", { class: "u-cell__arrow-icon" }, "›", -1)
294
294
  ])])) : vue.createCommentVNode("", true),
295
295
  vue.renderSlot(_ctx.$slots, "right-icon", {}, void 0, true)
296
- ], 10, _hoisted_1$D);
296
+ ], 10, _hoisted_1$F);
297
297
  };
298
298
  }
299
299
  });
300
- const uCell = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-c3a35a65"]]);
301
- const _hoisted_1$C = { class: "u-cell-group" };
302
- const _hoisted_2$s = {
300
+ const uCell = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-c3a35a65"]]);
301
+ const _hoisted_1$E = { class: "u-cell-group" };
302
+ const _hoisted_2$u = {
303
303
  key: 0,
304
304
  class: "u-cell-group__title"
305
305
  };
306
- const _hoisted_3$m = { class: "u-cell-group__body" };
307
- const __default__$I = {
306
+ const _hoisted_3$o = { class: "u-cell-group__body" };
307
+ const __default__$K = {
308
308
  options: {
309
309
  virtualHost: true,
310
310
  styleIsolation: "shared"
311
311
  }
312
312
  };
313
- const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
314
- ...__default__$I,
313
+ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
314
+ ...__default__$K,
315
315
  __name: "u-cell-group",
316
316
  props: {
317
317
  title: { default: "" }
318
318
  },
319
319
  setup(__props) {
320
320
  return (_ctx, _cache) => {
321
- return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$C, [
322
- __props.title || _ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$s, [
321
+ return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$E, [
322
+ __props.title || _ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$u, [
323
323
  vue.renderSlot(_ctx.$slots, "title", {}, () => [
324
324
  vue.createTextVNode(vue.toDisplayString(__props.title), 1)
325
325
  ], true)
326
326
  ])) : vue.createCommentVNode("", true),
327
- vue.createElementVNode("view", _hoisted_3$m, [
327
+ vue.createElementVNode("view", _hoisted_3$o, [
328
328
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
329
329
  ])
330
330
  ]);
331
331
  };
332
332
  }
333
333
  });
334
- const uCellGroup = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-f529bc69"]]);
335
- const _hoisted_1$B = {
334
+ const uCellGroup = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-f529bc69"]]);
335
+ const _hoisted_1$D = {
336
336
  key: 0,
337
337
  class: "u-modal__header"
338
338
  };
339
- const _hoisted_2$r = { class: "u-modal__title" };
340
- const _hoisted_3$l = { class: "u-modal__body" };
339
+ const _hoisted_2$t = { class: "u-modal__title" };
340
+ const _hoisted_3$n = { class: "u-modal__body" };
341
341
  const _hoisted_4$e = { class: "u-modal__message" };
342
342
  const _hoisted_5$a = { class: "u-modal__footer" };
343
- const __default__$H = {
343
+ const __default__$J = {
344
344
  options: {
345
345
  virtualHost: true,
346
346
  styleIsolation: "shared"
347
347
  }
348
348
  };
349
- const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
350
- ...__default__$H,
349
+ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
350
+ ...__default__$J,
351
351
  __name: "u-modal",
352
352
  props: {
353
353
  visible: { type: Boolean, default: false },
@@ -386,10 +386,10 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
386
386
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
387
387
  }, ["stop"]))
388
388
  }, [
389
- __props.title ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$B, [
390
- vue.createElementVNode("text", _hoisted_2$r, vue.toDisplayString(__props.title), 1)
389
+ __props.title ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$D, [
390
+ vue.createElementVNode("text", _hoisted_2$t, vue.toDisplayString(__props.title), 1)
391
391
  ])) : vue.createCommentVNode("", true),
392
- vue.createElementVNode("view", _hoisted_3$l, [
392
+ vue.createElementVNode("view", _hoisted_3$n, [
393
393
  vue.renderSlot(_ctx.$slots, "default", {}, () => [
394
394
  vue.createElementVNode("text", _hoisted_4$e, vue.toDisplayString(__props.message), 1)
395
395
  ], true)
@@ -414,7 +414,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
414
414
  };
415
415
  }
416
416
  });
417
- const uModal = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-9552a05f"]]);
417
+ const uModal = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-9552a05f"]]);
418
418
  const arrowDown = "data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M7.41%208.59L12%2013.17l4.59-4.58L18%2010l-6%206-6-6%201.41-1.41z'/%3e%3c/svg%3e";
419
419
  const arrowLeft = "data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M20%2011H7.83l5.59-5.59L12%204l-8%208%208%208%201.41-1.41L7.83%2013H20v-2z'/%3e%3c/svg%3e";
420
420
  const arrowRight = "data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M12%204l-1.41%201.41L16.17%2011H4v2h12.17l-5.58%205.59L12%2020l8-8z'/%3e%3c/svg%3e";
@@ -628,19 +628,19 @@ function getIconNames() {
628
628
  function addIcon(name, svg) {
629
629
  icons[name] = svg;
630
630
  }
631
- const _hoisted_1$A = ["src"];
632
- const _hoisted_2$q = {
631
+ const _hoisted_1$C = ["src"];
632
+ const _hoisted_2$s = {
633
633
  key: 1,
634
634
  class: "u-icon__inner"
635
635
  };
636
- const __default__$G = {
636
+ const __default__$I = {
637
637
  options: {
638
638
  virtualHost: true,
639
639
  styleIsolation: "shared"
640
640
  }
641
641
  };
642
- const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
643
- ...__default__$G,
642
+ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
643
+ ...__default__$I,
644
644
  __name: "u-icon",
645
645
  props: {
646
646
  name: {},
@@ -719,20 +719,20 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
719
719
  src: iconSrc.value,
720
720
  style: vue.normalizeStyle(svgStyle.value),
721
721
  mode: "aspectFit"
722
- }, null, 12, _hoisted_1$A)) : (vue.openBlock(), vue.createElementBlock("text", _hoisted_2$q, vue.toDisplayString(__props.name), 1))
722
+ }, null, 12, _hoisted_1$C)) : (vue.openBlock(), vue.createElementBlock("text", _hoisted_2$s, vue.toDisplayString(__props.name), 1))
723
723
  ], 6);
724
724
  };
725
725
  }
726
726
  });
727
- const UIcon = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-535b2661"]]);
728
- const __default__$F = {
727
+ const UIcon = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-535b2661"]]);
728
+ const __default__$H = {
729
729
  options: {
730
730
  virtualHost: true,
731
731
  styleIsolation: "shared"
732
732
  }
733
733
  };
734
- const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
735
- ...__default__$F,
734
+ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
735
+ ...__default__$H,
736
736
  __name: "u-loading",
737
737
  props: {
738
738
  size: { default: 30 },
@@ -770,16 +770,16 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
770
770
  };
771
771
  }
772
772
  });
773
- const uLoading = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-ce769006"]]);
774
- const _hoisted_1$z = { class: "u-tag__text" };
775
- const __default__$E = {
773
+ const uLoading = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-ce769006"]]);
774
+ const _hoisted_1$B = { class: "u-tag__text" };
775
+ const __default__$G = {
776
776
  options: {
777
777
  virtualHost: true,
778
778
  styleIsolation: "shared"
779
779
  }
780
780
  };
781
- const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
782
- ...__default__$E,
781
+ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
782
+ ...__default__$G,
783
783
  __name: "u-tag",
784
784
  props: {
785
785
  type: { default: "default" },
@@ -811,7 +811,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
811
811
  class: vue.normalizeClass(["u-tag", [`u-tag--${__props.type}`, `u-tag--${__props.size}`, { "u-tag--plain": __props.plain, "u-tag--round": __props.round }]]),
812
812
  style: vue.normalizeStyle(tagStyle.value)
813
813
  }, [
814
- vue.createElementVNode("text", _hoisted_1$z, [
814
+ vue.createElementVNode("text", _hoisted_1$B, [
815
815
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
816
816
  ]),
817
817
  __props.closable ? (vue.openBlock(), vue.createElementBlock("view", {
@@ -825,15 +825,15 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
825
825
  };
826
826
  }
827
827
  });
828
- const uTag = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-dff28fc4"]]);
829
- const __default__$D = {
828
+ const uTag = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-dff28fc4"]]);
829
+ const __default__$F = {
830
830
  options: {
831
831
  virtualHost: true,
832
832
  styleIsolation: "shared"
833
833
  }
834
834
  };
835
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
836
- ...__default__$D,
835
+ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
836
+ ...__default__$F,
837
837
  __name: "u-switch",
838
838
  props: {
839
839
  modelValue: { type: Boolean, default: false },
@@ -891,24 +891,24 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
891
891
  };
892
892
  }
893
893
  });
894
- const uSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-8922fa66"]]);
895
- const _hoisted_1$y = ["src", "mode", "lazy-load", "fade"];
896
- const _hoisted_2$p = {
894
+ const uSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-8922fa66"]]);
895
+ const _hoisted_1$A = ["src", "mode", "lazy-load", "fade"];
896
+ const _hoisted_2$r = {
897
897
  key: 0,
898
898
  class: "u-image__loading"
899
899
  };
900
- const _hoisted_3$k = {
900
+ const _hoisted_3$m = {
901
901
  key: 1,
902
902
  class: "u-image__error"
903
903
  };
904
- const __default__$C = {
904
+ const __default__$E = {
905
905
  options: {
906
906
  virtualHost: true,
907
907
  styleIsolation: "shared"
908
908
  }
909
909
  };
910
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
911
- ...__default__$C,
910
+ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
911
+ ...__default__$E,
912
912
  __name: "u-image",
913
913
  props: {
914
914
  src: {},
@@ -946,13 +946,13 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
946
946
  fade: __props.fade,
947
947
  onLoad: handleLoad,
948
948
  onError: handleError
949
- }, null, 40, _hoisted_1$y),
950
- __props.loading && !loaded.value ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$p, [
949
+ }, null, 40, _hoisted_1$A),
950
+ __props.loading && !loaded.value ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$r, [
951
951
  vue.renderSlot(_ctx.$slots, "loading", {}, () => [
952
952
  vue.createVNode(_component_u_loading, { size: 20 })
953
953
  ], true)
954
954
  ])) : vue.createCommentVNode("", true),
955
- __props.error && !loaded.value ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$k, [
955
+ __props.error && !loaded.value ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$m, [
956
956
  vue.renderSlot(_ctx.$slots, "error", {}, () => [
957
957
  _cache[0] || (_cache[0] = vue.createElementVNode("text", { class: "u-image__error-text" }, "加载失败", -1))
958
958
  ], true)
@@ -961,19 +961,19 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
961
961
  };
962
962
  }
963
963
  });
964
- const uImage = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-55a4498e"]]);
965
- const _hoisted_1$x = {
964
+ const uImage = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-55a4498e"]]);
965
+ const _hoisted_1$z = {
966
966
  key: 0,
967
967
  class: "u-divider__text"
968
968
  };
969
- const __default__$B = {
969
+ const __default__$D = {
970
970
  options: {
971
971
  virtualHost: true,
972
972
  styleIsolation: "shared"
973
973
  }
974
974
  };
975
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
976
- ...__default__$B,
975
+ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
976
+ ...__default__$D,
977
977
  __name: "u-divider",
978
978
  props: {
979
979
  content: { default: "" },
@@ -985,7 +985,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
985
985
  return vue.openBlock(), vue.createElementBlock("view", {
986
986
  class: vue.normalizeClass(["u-divider", { "u-divider--hairline": __props.hairline, "u-divider--dashed": __props.dashed }])
987
987
  }, [
988
- _ctx.$slots.default || __props.content ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$x, [
988
+ _ctx.$slots.default || __props.content ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$z, [
989
989
  vue.renderSlot(_ctx.$slots, "default", {}, () => [
990
990
  vue.createTextVNode(vue.toDisplayString(__props.content), 1)
991
991
  ], true)
@@ -994,25 +994,25 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
994
994
  };
995
995
  }
996
996
  });
997
- const uDivider = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-7f88d163"]]);
998
- const _hoisted_1$w = {
997
+ const uDivider = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-7f88d163"]]);
998
+ const _hoisted_1$y = {
999
999
  key: 0,
1000
1000
  class: "u-notice-bar__left-icon"
1001
1001
  };
1002
- const _hoisted_2$o = { class: "u-notice-bar__text-item" };
1003
- const _hoisted_3$j = { class: "u-notice-bar__text-item" };
1002
+ const _hoisted_2$q = { class: "u-notice-bar__text-item" };
1003
+ const _hoisted_3$l = { class: "u-notice-bar__text-item" };
1004
1004
  const _hoisted_4$d = {
1005
1005
  key: 1,
1006
1006
  class: "u-notice-bar__text"
1007
1007
  };
1008
- const __default__$A = {
1008
+ const __default__$C = {
1009
1009
  options: {
1010
1010
  virtualHost: true,
1011
1011
  styleIsolation: "shared"
1012
1012
  }
1013
1013
  };
1014
- const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
1015
- ...__default__$A,
1014
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
1015
+ ...__default__$C,
1016
1016
  __name: "u-notice-bar",
1017
1017
  props: {
1018
1018
  text: {},
@@ -1035,7 +1035,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
1035
1035
  class: vue.normalizeClass(["u-notice-bar", { "u-notice-bar--wrapable": __props.wrapable }]),
1036
1036
  style: vue.normalizeStyle({ color: __props.color, background: __props.background })
1037
1037
  }, [
1038
- _ctx.$slots.leftIcon || __props.leftIcon ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$w, [
1038
+ _ctx.$slots.leftIcon || __props.leftIcon ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$y, [
1039
1039
  vue.renderSlot(_ctx.$slots, "leftIcon", {}, () => [
1040
1040
  vue.createElementVNode("text", null, vue.toDisplayString(__props.leftIcon), 1)
1041
1041
  ], true)
@@ -1048,8 +1048,8 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
1048
1048
  class: "u-notice-bar__text",
1049
1049
  style: vue.normalizeStyle({ animationDuration: __props.speed + "s" })
1050
1050
  }, [
1051
- vue.createElementVNode("text", _hoisted_2$o, vue.toDisplayString(__props.text), 1),
1052
- vue.createElementVNode("text", _hoisted_3$j, vue.toDisplayString(__props.text), 1)
1051
+ vue.createElementVNode("text", _hoisted_2$q, vue.toDisplayString(__props.text), 1),
1052
+ vue.createElementVNode("text", _hoisted_3$l, vue.toDisplayString(__props.text), 1)
1053
1053
  ], 4)) : (vue.openBlock(), vue.createElementBlock("text", _hoisted_4$d, vue.toDisplayString(__props.text), 1))
1054
1054
  ], 2),
1055
1055
  _ctx.$slots.rightIcon || __props.rightIcon ? (vue.openBlock(), vue.createElementBlock("view", {
@@ -1065,24 +1065,24 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
1065
1065
  };
1066
1066
  }
1067
1067
  });
1068
- const uNoticeBar = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-f80a744d"]]);
1069
- const _hoisted_1$v = {
1068
+ const uNoticeBar = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-f80a744d"]]);
1069
+ const _hoisted_1$x = {
1070
1070
  key: 0,
1071
1071
  class: "u-layout__header"
1072
1072
  };
1073
- const _hoisted_2$n = { class: "u-layout__content" };
1074
- const _hoisted_3$i = {
1073
+ const _hoisted_2$p = { class: "u-layout__content" };
1074
+ const _hoisted_3$k = {
1075
1075
  key: 1,
1076
1076
  class: "u-layout__footer"
1077
1077
  };
1078
- const __default__$z = {
1078
+ const __default__$B = {
1079
1079
  options: {
1080
1080
  virtualHost: true,
1081
1081
  styleIsolation: "shared"
1082
1082
  }
1083
1083
  };
1084
- const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
1085
- ...__default__$z,
1084
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
1085
+ ...__default__$B,
1086
1086
  __name: "u-layout",
1087
1087
  setup(__props) {
1088
1088
  const slots = vue.useSlots();
@@ -1091,32 +1091,32 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
1091
1091
  return vue.openBlock(), vue.createElementBlock("view", {
1092
1092
  class: vue.normalizeClass(["u-layout", { "u-layout--has-footer": hasFooter.value }])
1093
1093
  }, [
1094
- _ctx.$slots.header ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$v, [
1094
+ _ctx.$slots.header ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$x, [
1095
1095
  vue.renderSlot(_ctx.$slots, "header", {}, void 0, true)
1096
1096
  ])) : vue.createCommentVNode("", true),
1097
- vue.createElementVNode("view", _hoisted_2$n, [
1097
+ vue.createElementVNode("view", _hoisted_2$p, [
1098
1098
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
1099
1099
  ]),
1100
- _ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$i, [
1100
+ _ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$k, [
1101
1101
  vue.renderSlot(_ctx.$slots, "footer", {}, void 0, true)
1102
1102
  ])) : vue.createCommentVNode("", true)
1103
1103
  ], 2);
1104
1104
  };
1105
1105
  }
1106
1106
  });
1107
- const uLayout = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-1682e77a"]]);
1108
- const _hoisted_1$u = {
1107
+ const uLayout = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-1682e77a"]]);
1108
+ const _hoisted_1$w = {
1109
1109
  key: 0,
1110
1110
  class: "u-badge__text"
1111
1111
  };
1112
- const __default__$y = {
1112
+ const __default__$A = {
1113
1113
  options: {
1114
1114
  virtualHost: true,
1115
1115
  styleIsolation: "shared"
1116
1116
  }
1117
1117
  };
1118
- const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
1119
- ...__default__$y,
1118
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
1119
+ ...__default__$A,
1120
1120
  __name: "u-badge",
1121
1121
  props: {
1122
1122
  value: {},
@@ -1161,26 +1161,26 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
1161
1161
  class: vue.normalizeClass(["u-badge__content", [`u-badge__content--${__props.type}`, { "u-badge__content--dot": __props.dot, "u-badge__content--alone": !_ctx.$slots.default }]]),
1162
1162
  style: vue.normalizeStyle(badgeStyle.value)
1163
1163
  }, [
1164
- !__props.dot && displayValue.value ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_1$u, vue.toDisplayString(displayValue.value), 1)) : vue.createCommentVNode("", true)
1164
+ !__props.dot && displayValue.value ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_1$w, vue.toDisplayString(displayValue.value), 1)) : vue.createCommentVNode("", true)
1165
1165
  ], 6)) : vue.createCommentVNode("", true)
1166
1166
  ], 2);
1167
1167
  };
1168
1168
  }
1169
1169
  });
1170
- const uBadge = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-56dd42ed"]]);
1171
- const _hoisted_1$t = {
1170
+ const uBadge = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-56dd42ed"]]);
1171
+ const _hoisted_1$v = {
1172
1172
  key: 0,
1173
1173
  class: "u-loading-page"
1174
1174
  };
1175
- const _hoisted_2$m = { class: "u-loading-page__content" };
1176
- const __default__$x = {
1175
+ const _hoisted_2$o = { class: "u-loading-page__content" };
1176
+ const __default__$z = {
1177
1177
  options: {
1178
1178
  virtualHost: true,
1179
1179
  styleIsolation: "shared"
1180
1180
  }
1181
1181
  };
1182
- const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
1183
- ...__default__$x,
1182
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
1183
+ ...__default__$z,
1184
1184
  __name: "u-loading-page",
1185
1185
  props: {
1186
1186
  visible: { type: Boolean, default: false },
@@ -1191,8 +1191,8 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
1191
1191
  },
1192
1192
  setup(__props) {
1193
1193
  return (_ctx, _cache) => {
1194
- return __props.visible ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$t, [
1195
- vue.createElementVNode("view", _hoisted_2$m, [
1194
+ return __props.visible ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$v, [
1195
+ vue.createElementVNode("view", _hoisted_2$o, [
1196
1196
  vue.createElementVNode("view", {
1197
1197
  class: "u-loading-page__spinner",
1198
1198
  style: vue.normalizeStyle({ width: __props.size + "px", height: __props.size + "px" })
@@ -1218,16 +1218,16 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
1218
1218
  };
1219
1219
  }
1220
1220
  });
1221
- const uLoadingPage = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-ddf92cf6"]]);
1222
- const _hoisted_1$s = { class: "u-parse" };
1223
- const __default__$w = {
1221
+ const uLoadingPage = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-ddf92cf6"]]);
1222
+ const _hoisted_1$u = { class: "u-parse" };
1223
+ const __default__$y = {
1224
1224
  options: {
1225
1225
  virtualHost: true,
1226
1226
  styleIsolation: "shared"
1227
1227
  }
1228
1228
  };
1229
- const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
1230
- ...__default__$w,
1229
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
1230
+ ...__default__$y,
1231
1231
  __name: "u-parse",
1232
1232
  props: {
1233
1233
  content: { default: "" },
@@ -1325,7 +1325,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
1325
1325
  };
1326
1326
  return (_ctx, _cache) => {
1327
1327
  const _component_rich_text = vue.resolveComponent("rich-text");
1328
- return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$s, [
1328
+ return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$u, [
1329
1329
  vue.createVNode(_component_rich_text, {
1330
1330
  nodes: parsedNodes.value,
1331
1331
  selectable: __props.selectable,
@@ -1336,18 +1336,18 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
1336
1336
  };
1337
1337
  }
1338
1338
  });
1339
- const uParse = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-5361245b"]]);
1340
- const _hoisted_1$r = { class: "u-keyboard__header" };
1341
- const _hoisted_2$l = { class: "u-keyboard__title" };
1342
- const _hoisted_3$h = ["onClick"];
1343
- const __default__$v = {
1339
+ const uParse = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-5361245b"]]);
1340
+ const _hoisted_1$t = { class: "u-keyboard__header" };
1341
+ const _hoisted_2$n = { class: "u-keyboard__title" };
1342
+ const _hoisted_3$j = ["onClick"];
1343
+ const __default__$x = {
1344
1344
  options: {
1345
1345
  virtualHost: true,
1346
1346
  styleIsolation: "shared"
1347
1347
  }
1348
1348
  };
1349
- const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
1350
- ...__default__$v,
1349
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
1350
+ ...__default__$x,
1351
1351
  __name: "u-keyboard",
1352
1352
  props: {
1353
1353
  visible: { type: Boolean, default: false },
@@ -1469,8 +1469,8 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
1469
1469
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
1470
1470
  }, ["stop"]))
1471
1471
  }, [
1472
- vue.createElementVNode("view", _hoisted_1$r, [
1473
- vue.createElementVNode("text", _hoisted_2$l, vue.toDisplayString(__props.title), 1),
1472
+ vue.createElementVNode("view", _hoisted_1$t, [
1473
+ vue.createElementVNode("text", _hoisted_2$n, vue.toDisplayString(__props.title), 1),
1474
1474
  vue.createElementVNode("text", {
1475
1475
  class: "u-keyboard__close",
1476
1476
  onClick: handleClose
@@ -1489,7 +1489,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
1489
1489
  onClick: ($event) => handleKeyClick(key)
1490
1490
  }, [
1491
1491
  vue.createElementVNode("text", null, vue.toDisplayString(key), 1)
1492
- ], 10, _hoisted_3$h);
1492
+ ], 10, _hoisted_3$j);
1493
1493
  }), 128))
1494
1494
  ], 2)
1495
1495
  ])
@@ -1497,21 +1497,21 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
1497
1497
  };
1498
1498
  }
1499
1499
  });
1500
- const uKeyboard = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-b318be29"]]);
1501
- const _hoisted_1$q = { class: "u-picker__toolbar" };
1502
- const _hoisted_2$k = { class: "u-picker__title" };
1503
- const _hoisted_3$g = {
1500
+ const uKeyboard = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-b318be29"]]);
1501
+ const _hoisted_1$s = { class: "u-picker__toolbar" };
1502
+ const _hoisted_2$m = { class: "u-picker__title" };
1503
+ const _hoisted_3$i = {
1504
1504
  key: 0,
1505
1505
  class: "u-picker__loading"
1506
1506
  };
1507
- const __default__$u = {
1507
+ const __default__$w = {
1508
1508
  options: {
1509
1509
  virtualHost: true,
1510
1510
  styleIsolation: "shared"
1511
1511
  }
1512
1512
  };
1513
- const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
1514
- ...__default__$u,
1513
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
1514
+ ...__default__$w,
1515
1515
  __name: "u-picker",
1516
1516
  props: {
1517
1517
  visible: { type: Boolean, default: false },
@@ -1596,18 +1596,18 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
1596
1596
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
1597
1597
  }, ["stop"]))
1598
1598
  }, [
1599
- vue.createElementVNode("view", _hoisted_1$q, [
1599
+ vue.createElementVNode("view", _hoisted_1$s, [
1600
1600
  vue.createElementVNode("text", {
1601
1601
  class: "u-picker__action",
1602
1602
  onClick: handleCancel
1603
1603
  }, "取消"),
1604
- vue.createElementVNode("text", _hoisted_2$k, vue.toDisplayString(__props.title), 1),
1604
+ vue.createElementVNode("text", _hoisted_2$m, vue.toDisplayString(__props.title), 1),
1605
1605
  vue.createElementVNode("text", {
1606
1606
  class: "u-picker__action u-picker__action--confirm",
1607
1607
  onClick: handleConfirm
1608
1608
  }, "确定")
1609
1609
  ]),
1610
- __props.loading ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$g, [..._cache[1] || (_cache[1] = [
1610
+ __props.loading ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$i, [..._cache[1] || (_cache[1] = [
1611
1611
  vue.createElementVNode("text", null, "加载中...", -1)
1612
1612
  ])])) : (vue.openBlock(), vue.createBlock(_component_picker_view, {
1613
1613
  key: 1,
@@ -1640,17 +1640,17 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
1640
1640
  };
1641
1641
  }
1642
1642
  });
1643
- const uPicker = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-54bd44d7"]]);
1644
- const _hoisted_1$p = { class: "u-datetime-picker__toolbar" };
1645
- const _hoisted_2$j = { class: "u-datetime-picker__title" };
1646
- const __default__$t = {
1643
+ const uPicker = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-54bd44d7"]]);
1644
+ const _hoisted_1$r = { class: "u-datetime-picker__toolbar" };
1645
+ const _hoisted_2$l = { class: "u-datetime-picker__title" };
1646
+ const __default__$v = {
1647
1647
  options: {
1648
1648
  virtualHost: true,
1649
1649
  styleIsolation: "shared"
1650
1650
  }
1651
1651
  };
1652
- const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
1653
- ...__default__$t,
1652
+ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
1653
+ ...__default__$v,
1654
1654
  __name: "u-datetime-picker",
1655
1655
  props: {
1656
1656
  visible: { type: Boolean, default: false },
@@ -1870,12 +1870,12 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
1870
1870
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
1871
1871
  }, ["stop"]))
1872
1872
  }, [
1873
- vue.createElementVNode("view", _hoisted_1$p, [
1873
+ vue.createElementVNode("view", _hoisted_1$r, [
1874
1874
  vue.createElementVNode("text", {
1875
1875
  class: "u-datetime-picker__action",
1876
1876
  onClick: handleCancel
1877
1877
  }, "取消"),
1878
- vue.createElementVNode("text", _hoisted_2$j, vue.toDisplayString(__props.title), 1),
1878
+ vue.createElementVNode("text", _hoisted_2$l, vue.toDisplayString(__props.title), 1),
1879
1879
  vue.createElementVNode("text", {
1880
1880
  class: "u-datetime-picker__action u-datetime-picker__action--confirm",
1881
1881
  onClick: handleConfirm
@@ -1911,16 +1911,16 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
1911
1911
  };
1912
1912
  }
1913
1913
  });
1914
- const uDatetimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-45acbf1d"]]);
1915
- const _hoisted_1$o = ["onClick"];
1916
- const __default__$s = {
1914
+ const uDatetimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-45acbf1d"]]);
1915
+ const _hoisted_1$q = ["onClick"];
1916
+ const __default__$u = {
1917
1917
  options: {
1918
1918
  virtualHost: true,
1919
1919
  styleIsolation: "shared"
1920
1920
  }
1921
1921
  };
1922
- const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
1923
- ...__default__$s,
1922
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
1923
+ ...__default__$u,
1924
1924
  __name: "u-rate",
1925
1925
  props: {
1926
1926
  modelValue: { default: 0 },
@@ -2018,22 +2018,22 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
2018
2018
  style: vue.normalizeStyle(activeStyle.value)
2019
2019
  }, "★", 4)
2020
2020
  ], 4)
2021
- ], 12, _hoisted_1$o);
2021
+ ], 12, _hoisted_1$q);
2022
2022
  }), 128))
2023
2023
  ], 2);
2024
2024
  };
2025
2025
  }
2026
2026
  });
2027
- const uRate = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-62d85215"]]);
2028
- const _hoisted_1$n = { class: "u-grid" };
2029
- const __default__$r = {
2027
+ const uRate = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-62d85215"]]);
2028
+ const _hoisted_1$p = { class: "u-grid" };
2029
+ const __default__$t = {
2030
2030
  options: {
2031
2031
  virtualHost: true,
2032
2032
  styleIsolation: "shared"
2033
2033
  }
2034
2034
  };
2035
- const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
2036
- ...__default__$r,
2035
+ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
2036
+ ...__default__$t,
2037
2037
  __name: "u-grid",
2038
2038
  props: {
2039
2039
  column: { default: 4 },
@@ -2062,19 +2062,19 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
2062
2062
  onItemClick
2063
2063
  });
2064
2064
  return (_ctx, _cache) => {
2065
- return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$n, [
2065
+ return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$p, [
2066
2066
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
2067
2067
  ]);
2068
2068
  };
2069
2069
  }
2070
2070
  });
2071
- const uGrid = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-d005bea6"]]);
2072
- const _hoisted_1$m = {
2071
+ const uGrid = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-d005bea6"]]);
2072
+ const _hoisted_1$o = {
2073
2073
  key: 0,
2074
2074
  class: "u-grid-item__icon"
2075
2075
  };
2076
- const _hoisted_2$i = ["src"];
2077
- const _hoisted_3$f = {
2076
+ const _hoisted_2$k = ["src"];
2077
+ const _hoisted_3$h = {
2078
2078
  key: 1,
2079
2079
  class: "u-grid-item__icon-text"
2080
2080
  };
@@ -2087,14 +2087,14 @@ const _hoisted_6$5 = {
2087
2087
  key: 1,
2088
2088
  class: "u-grid-item__text"
2089
2089
  };
2090
- const __default__$q = {
2090
+ const __default__$s = {
2091
2091
  options: {
2092
2092
  virtualHost: true,
2093
2093
  styleIsolation: "shared"
2094
2094
  }
2095
2095
  };
2096
- const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
2097
- ...__default__$q,
2096
+ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
2097
+ ...__default__$s,
2098
2098
  __name: "u-grid-item",
2099
2099
  props: {
2100
2100
  text: { default: "" },
@@ -2142,14 +2142,14 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
2142
2142
  style: vue.normalizeStyle(itemStyle.value),
2143
2143
  onClick: handleClick
2144
2144
  }, [
2145
- _ctx.$slots.icon || __props.icon || __props.iconUrl ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$m, [
2145
+ _ctx.$slots.icon || __props.icon || __props.iconUrl ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$o, [
2146
2146
  vue.renderSlot(_ctx.$slots, "icon", {}, () => [
2147
2147
  __props.iconUrl ? (vue.openBlock(), vue.createElementBlock("image", {
2148
2148
  key: 0,
2149
2149
  class: "u-grid-item__icon-image",
2150
2150
  src: __props.iconUrl,
2151
2151
  mode: "aspectFit"
2152
- }, null, 8, _hoisted_2$i)) : __props.icon ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_3$f, vue.toDisplayString(__props.icon), 1)) : vue.createCommentVNode("", true)
2152
+ }, null, 8, _hoisted_2$k)) : __props.icon ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_3$h, vue.toDisplayString(__props.icon), 1)) : vue.createCommentVNode("", true)
2153
2153
  ], true),
2154
2154
  __props.badge !== void 0 && __props.badge !== null && __props.badge !== "" ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_4$c, [
2155
2155
  vue.createElementVNode("text", _hoisted_5$9, vue.toDisplayString(__props.badge), 1)
@@ -2164,13 +2164,13 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
2164
2164
  };
2165
2165
  }
2166
2166
  });
2167
- const uGridItem = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-de6f40c1"]]);
2168
- const _hoisted_1$l = { class: "u-swiper" };
2169
- const _hoisted_2$h = {
2167
+ const uGridItem = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-de6f40c1"]]);
2168
+ const _hoisted_1$n = { class: "u-swiper" };
2169
+ const _hoisted_2$j = {
2170
2170
  key: 0,
2171
2171
  class: "u-swiper__loading"
2172
2172
  };
2173
- const _hoisted_3$e = {
2173
+ const _hoisted_3$g = {
2174
2174
  key: 1,
2175
2175
  class: "u-swiper__title"
2176
2176
  };
@@ -2179,14 +2179,14 @@ const _hoisted_5$8 = {
2179
2179
  key: 2,
2180
2180
  class: "u-swiper__indicator"
2181
2181
  };
2182
- const __default__$p = {
2182
+ const __default__$r = {
2183
2183
  options: {
2184
2184
  virtualHost: true,
2185
2185
  styleIsolation: "shared"
2186
2186
  }
2187
2187
  };
2188
- const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
2189
- ...__default__$p,
2188
+ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
2189
+ ...__default__$r,
2190
2190
  __name: "u-swiper",
2191
2191
  props: {
2192
2192
  autoplay: { type: Boolean, default: true },
@@ -2278,7 +2278,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
2278
2278
  });
2279
2279
  return (_ctx, _cache) => {
2280
2280
  const _component_swiper = vue.resolveComponent("swiper");
2281
- return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$l, [
2281
+ return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$n, [
2282
2282
  vue.createVNode(_component_swiper, {
2283
2283
  class: "u-swiper__wrapper",
2284
2284
  style: vue.normalizeStyle({ height: swiperHeight.value }),
@@ -2297,10 +2297,10 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
2297
2297
  ]),
2298
2298
  _: 3
2299
2299
  }, 8, ["style", "autoplay", "interval", "duration", "circular", "vertical", "current"]),
2300
- __props.loading ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$h, [..._cache[0] || (_cache[0] = [
2300
+ __props.loading ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$j, [..._cache[0] || (_cache[0] = [
2301
2301
  vue.createElementVNode("view", { class: "u-swiper__loading-icon" }, null, -1)
2302
2302
  ])])) : vue.createCommentVNode("", true),
2303
- __props.showTitle && currentTitle.value ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$e, [
2303
+ __props.showTitle && currentTitle.value ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$g, [
2304
2304
  vue.createElementVNode("text", _hoisted_4$b, vue.toDisplayString(currentTitle.value), 1)
2305
2305
  ])) : vue.createCommentVNode("", true),
2306
2306
  showIndicator.value && indicatorSlot.value ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_5$8, [
@@ -2325,15 +2325,15 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
2325
2325
  };
2326
2326
  }
2327
2327
  });
2328
- const uSwiper = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-cd609e89"]]);
2329
- const __default__$o = {
2328
+ const uSwiper = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-cd609e89"]]);
2329
+ const __default__$q = {
2330
2330
  options: {
2331
2331
  virtualHost: true,
2332
2332
  styleIsolation: "shared"
2333
2333
  }
2334
2334
  };
2335
- const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
2336
- ...__default__$o,
2335
+ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
2336
+ ...__default__$q,
2337
2337
  __name: "u-swiper-item",
2338
2338
  props: {
2339
2339
  title: { default: "" }
@@ -2379,22 +2379,22 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
2379
2379
  };
2380
2380
  }
2381
2381
  });
2382
- const uSwiperItem = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-ef481687"]]);
2383
- const _hoisted_1$k = {
2382
+ const uSwiperItem = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-ef481687"]]);
2383
+ const _hoisted_1$m = {
2384
2384
  key: 0,
2385
2385
  class: "u-search__icon"
2386
2386
  };
2387
- const _hoisted_2$g = { class: "u-search__body" };
2388
- const _hoisted_3$d = ["type", "value", "placeholder", "placeholder-style", "disabled", "maxlength", "focus", "confirm-type", "adjust-position"];
2387
+ const _hoisted_2$i = { class: "u-search__body" };
2388
+ const _hoisted_3$f = ["type", "value", "placeholder", "placeholder-style", "disabled", "maxlength", "focus", "confirm-type", "adjust-position"];
2389
2389
  const _hoisted_4$a = { class: "u-search__action-text" };
2390
- const __default__$n = {
2390
+ const __default__$p = {
2391
2391
  options: {
2392
2392
  virtualHost: true,
2393
2393
  styleIsolation: "shared"
2394
2394
  }
2395
2395
  };
2396
- const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
2397
- ...__default__$n,
2396
+ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
2397
+ ...__default__$p,
2398
2398
  __name: "u-search",
2399
2399
  props: {
2400
2400
  modelValue: { default: "" },
@@ -2466,10 +2466,10 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
2466
2466
  class: "u-search__content",
2467
2467
  style: vue.normalizeStyle(contentStyle.value)
2468
2468
  }, [
2469
- __props.showSearchIcon ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$k, [..._cache[0] || (_cache[0] = [
2469
+ __props.showSearchIcon ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$m, [..._cache[0] || (_cache[0] = [
2470
2470
  vue.createElementVNode("text", { class: "u-search__icon-text" }, "🔍", -1)
2471
2471
  ])])) : vue.createCommentVNode("", true),
2472
- vue.createElementVNode("view", _hoisted_2$g, [
2472
+ vue.createElementVNode("view", _hoisted_2$i, [
2473
2473
  vue.createElementVNode("input", {
2474
2474
  class: "u-search__control",
2475
2475
  type: __props.type,
@@ -2486,7 +2486,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
2486
2486
  onFocus: handleFocus,
2487
2487
  onBlur: handleBlur,
2488
2488
  onConfirm: handleSearch
2489
- }, null, 40, _hoisted_3$d)
2489
+ }, null, 40, _hoisted_3$f)
2490
2490
  ]),
2491
2491
  __props.clearable && __props.modelValue ? (vue.openBlock(), vue.createElementBlock("view", {
2492
2492
  key: 1,
@@ -2509,16 +2509,16 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
2509
2509
  };
2510
2510
  }
2511
2511
  });
2512
- const uSearch = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-223b845c"]]);
2513
- const _hoisted_1$j = ["type", "value", "disabled"];
2514
- const __default__$m = {
2512
+ const uSearch = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-223b845c"]]);
2513
+ const _hoisted_1$l = ["type", "value", "disabled"];
2514
+ const __default__$o = {
2515
2515
  options: {
2516
2516
  virtualHost: true,
2517
2517
  styleIsolation: "shared"
2518
2518
  }
2519
2519
  };
2520
- const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
2521
- ...__default__$m,
2520
+ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
2521
+ ...__default__$o,
2522
2522
  __name: "u-number-box",
2523
2523
  props: {
2524
2524
  modelValue: { default: 0 },
@@ -2658,7 +2658,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
2658
2658
  onInput: handleInput,
2659
2659
  onBlur: handleBlur,
2660
2660
  onFocus: handleFocus
2661
- }, null, 46, _hoisted_1$j),
2661
+ }, null, 46, _hoisted_1$l),
2662
2662
  vue.createElementVNode("view", {
2663
2663
  class: vue.normalizeClass(["u-number-box__btn u-number-box__btn--plus", {
2664
2664
  "u-number-box__btn--disabled": plusDisabled.value
@@ -2675,10 +2675,10 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
2675
2675
  };
2676
2676
  }
2677
2677
  });
2678
- const uNumberBox = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-86153bb8"]]);
2679
- const _hoisted_1$i = { class: "u-upload" };
2680
- const _hoisted_2$f = { class: "u-upload__list" };
2681
- const _hoisted_3$c = ["src", "onClick"];
2678
+ const uNumberBox = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-86153bb8"]]);
2679
+ const _hoisted_1$k = { class: "u-upload" };
2680
+ const _hoisted_2$h = { class: "u-upload__list" };
2681
+ const _hoisted_3$e = ["src", "onClick"];
2682
2682
  const _hoisted_4$9 = {
2683
2683
  key: 1,
2684
2684
  class: "u-upload__video"
@@ -2700,14 +2700,14 @@ const _hoisted_12 = {
2700
2700
  key: 0,
2701
2701
  class: "u-upload__trigger-text"
2702
2702
  };
2703
- const __default__$l = {
2703
+ const __default__$n = {
2704
2704
  options: {
2705
2705
  virtualHost: true,
2706
2706
  styleIsolation: "shared"
2707
2707
  }
2708
2708
  };
2709
- const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
2710
- ...__default__$l,
2709
+ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
2710
+ ...__default__$n,
2711
2711
  __name: "u-upload",
2712
2712
  props: {
2713
2713
  modelValue: { default: () => [] },
@@ -2807,8 +2807,8 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
2807
2807
  fileList
2808
2808
  });
2809
2809
  return (_ctx, _cache) => {
2810
- return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$i, [
2811
- vue.createElementVNode("view", _hoisted_2$f, [
2810
+ return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$k, [
2811
+ vue.createElementVNode("view", _hoisted_2$h, [
2812
2812
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(fileList.value, (file, index) => {
2813
2813
  return vue.openBlock(), vue.createElementBlock("view", {
2814
2814
  key: index,
@@ -2823,7 +2823,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
2823
2823
  src: file.url || file.thumb,
2824
2824
  mode: "aspectFill",
2825
2825
  onClick: ($event) => handlePreview(file, index)
2826
- }, null, 8, _hoisted_3$c)) : isVideo(file) ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_4$9, [
2826
+ }, null, 8, _hoisted_3$e)) : isVideo(file) ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_4$9, [
2827
2827
  vue.createElementVNode("image", {
2828
2828
  class: "u-upload__preview",
2829
2829
  src: file.thumb || defaultVideoThumb,
@@ -2878,21 +2878,21 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
2878
2878
  };
2879
2879
  }
2880
2880
  });
2881
- const uUpload = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-172bcb23"]]);
2882
- const _hoisted_1$h = ["value", "placeholder", "placeholder-style", "disabled", "maxlength", "focus", "auto-height", "fixed", "cursor-spacing", "show-confirm-bar", "adjust-position"];
2883
- const _hoisted_2$e = {
2881
+ const uUpload = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-172bcb23"]]);
2882
+ const _hoisted_1$j = ["value", "placeholder", "placeholder-style", "disabled", "maxlength", "focus", "auto-height", "fixed", "cursor-spacing", "show-confirm-bar", "adjust-position"];
2883
+ const _hoisted_2$g = {
2884
2884
  key: 0,
2885
2885
  class: "u-textarea__limit"
2886
2886
  };
2887
- const _hoisted_3$b = { class: "u-textarea__limit-text" };
2888
- const __default__$k = {
2887
+ const _hoisted_3$d = { class: "u-textarea__limit-text" };
2888
+ const __default__$m = {
2889
2889
  options: {
2890
2890
  virtualHost: true,
2891
2891
  styleIsolation: "shared"
2892
2892
  }
2893
2893
  };
2894
- const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
2895
- ...__default__$k,
2894
+ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
2895
+ ...__default__$m,
2896
2896
  __name: "u-textarea",
2897
2897
  props: {
2898
2898
  modelValue: { default: "" },
@@ -2971,21 +2971,21 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
2971
2971
  onBlur: handleBlur,
2972
2972
  onConfirm: handleConfirm,
2973
2973
  onLinechange: handleLineChange
2974
- }, null, 44, _hoisted_1$h),
2975
- __props.showWordLimit && __props.maxlength ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$e, [
2976
- vue.createElementVNode("text", _hoisted_3$b, vue.toDisplayString(currentLength.value) + "/" + vue.toDisplayString(__props.maxlength), 1)
2974
+ }, null, 44, _hoisted_1$j),
2975
+ __props.showWordLimit && __props.maxlength ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$g, [
2976
+ vue.createElementVNode("text", _hoisted_3$d, vue.toDisplayString(currentLength.value) + "/" + vue.toDisplayString(__props.maxlength), 1)
2977
2977
  ])) : vue.createCommentVNode("", true)
2978
2978
  ], 2);
2979
2979
  };
2980
2980
  }
2981
2981
  });
2982
- const uTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-82478b77"]]);
2983
- const _hoisted_1$g = {
2982
+ const uTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-82478b77"]]);
2983
+ const _hoisted_1$i = {
2984
2984
  key: 0,
2985
2985
  class: "u-slider__min"
2986
2986
  };
2987
- const _hoisted_2$d = { class: "u-slider__label" };
2988
- const _hoisted_3$a = {
2987
+ const _hoisted_2$f = { class: "u-slider__label" };
2988
+ const _hoisted_3$c = {
2989
2989
  key: 0,
2990
2990
  class: "u-slider__tooltip"
2991
2991
  };
@@ -3009,14 +3009,14 @@ const _hoisted_10$1 = {
3009
3009
  class: "u-slider__max"
3010
3010
  };
3011
3011
  const _hoisted_11$1 = { class: "u-slider__label" };
3012
- const __default__$j = {
3012
+ const __default__$l = {
3013
3013
  options: {
3014
3014
  virtualHost: true,
3015
3015
  styleIsolation: "shared"
3016
3016
  }
3017
3017
  };
3018
- const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
3019
- ...__default__$j,
3018
+ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
3019
+ ...__default__$l,
3020
3020
  __name: "u-slider",
3021
3021
  props: {
3022
3022
  modelValue: { default: 0 },
@@ -3229,8 +3229,8 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
3229
3229
  "u-slider--disabled": __props.disabled
3230
3230
  }])
3231
3231
  }, [
3232
- __props.showMinMax ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$g, [
3233
- vue.createElementVNode("text", _hoisted_2$d, vue.toDisplayString(__props.min), 1)
3232
+ __props.showMinMax ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$i, [
3233
+ vue.createElementVNode("text", _hoisted_2$f, vue.toDisplayString(__props.min), 1)
3234
3234
  ])) : vue.createCommentVNode("", true),
3235
3235
  vue.createElementVNode("view", {
3236
3236
  class: "u-slider__track",
@@ -3253,7 +3253,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
3253
3253
  onTouchmove: vue.withModifiers(handleButtonTouchMove, ["stop"]),
3254
3254
  onTouchend: vue.withModifiers(handleButtonTouchEnd, ["stop"])
3255
3255
  }, [
3256
- __props.showValue ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$a, [
3256
+ __props.showValue ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$c, [
3257
3257
  vue.createElementVNode("text", _hoisted_4$8, vue.toDisplayString(currentValue.value), 1)
3258
3258
  ])) : vue.createCommentVNode("", true)
3259
3259
  ], 36)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
@@ -3298,13 +3298,13 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
3298
3298
  };
3299
3299
  }
3300
3300
  });
3301
- const uSlider = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-c099c413"]]);
3302
- const _hoisted_1$f = { class: "u-list" };
3303
- const _hoisted_2$c = {
3301
+ const uSlider = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-c099c413"]]);
3302
+ const _hoisted_1$h = { class: "u-list" };
3303
+ const _hoisted_2$e = {
3304
3304
  key: 0,
3305
3305
  class: "u-list__header"
3306
3306
  };
3307
- const _hoisted_3$9 = { class: "u-list__content" };
3307
+ const _hoisted_3$b = { class: "u-list__content" };
3308
3308
  const _hoisted_4$7 = {
3309
3309
  key: 1,
3310
3310
  class: "u-list__loading"
@@ -3320,14 +3320,14 @@ const _hoisted_9$1 = {
3320
3320
  key: 4,
3321
3321
  class: "u-list__footer"
3322
3322
  };
3323
- const __default__$i = {
3323
+ const __default__$k = {
3324
3324
  options: {
3325
3325
  virtualHost: true,
3326
3326
  styleIsolation: "shared"
3327
3327
  }
3328
3328
  };
3329
- const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
3330
- ...__default__$i,
3329
+ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
3330
+ ...__default__$k,
3331
3331
  __name: "u-list",
3332
3332
  props: {
3333
3333
  loading: { type: Boolean, default: false },
@@ -3350,13 +3350,13 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
3350
3350
  emit("load");
3351
3351
  };
3352
3352
  return (_ctx, _cache) => {
3353
- return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$f, [
3354
- _ctx.$slots.header || __props.header ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$c, [
3353
+ return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$h, [
3354
+ _ctx.$slots.header || __props.header ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$e, [
3355
3355
  vue.renderSlot(_ctx.$slots, "header", {}, () => [
3356
3356
  vue.createTextVNode(vue.toDisplayString(__props.header), 1)
3357
3357
  ], true)
3358
3358
  ])) : vue.createCommentVNode("", true),
3359
- vue.createElementVNode("view", _hoisted_3$9, [
3359
+ vue.createElementVNode("view", _hoisted_3$b, [
3360
3360
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
3361
3361
  ]),
3362
3362
  __props.loading ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_4$7, [
@@ -3382,13 +3382,13 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
3382
3382
  };
3383
3383
  }
3384
3384
  });
3385
- const uList = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-6d331927"]]);
3386
- const _hoisted_1$e = {
3385
+ const uList = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-6d331927"]]);
3386
+ const _hoisted_1$g = {
3387
3387
  key: 0,
3388
3388
  class: "u-list-item__icon"
3389
3389
  };
3390
- const _hoisted_2$b = ["src"];
3391
- const _hoisted_3$8 = {
3390
+ const _hoisted_2$d = ["src"];
3391
+ const _hoisted_3$a = {
3392
3392
  key: 1,
3393
3393
  class: "u-list-item__icon-text"
3394
3394
  };
@@ -3421,14 +3421,14 @@ const _hoisted_11 = {
3421
3421
  key: 0,
3422
3422
  class: "u-list-item__arrow"
3423
3423
  };
3424
- const __default__$h = {
3424
+ const __default__$j = {
3425
3425
  options: {
3426
3426
  virtualHost: true,
3427
3427
  styleIsolation: "shared"
3428
3428
  }
3429
3429
  };
3430
- const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
3431
- ...__default__$h,
3430
+ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
3431
+ ...__default__$j,
3432
3432
  __name: "u-list-item",
3433
3433
  props: {
3434
3434
  title: { default: "" },
@@ -3457,14 +3457,14 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
3457
3457
  }]),
3458
3458
  onClick: handleClick
3459
3459
  }, [
3460
- _ctx.$slots.icon || __props.icon || __props.thumb ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$e, [
3460
+ _ctx.$slots.icon || __props.icon || __props.thumb ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$g, [
3461
3461
  vue.renderSlot(_ctx.$slots, "icon", {}, () => [
3462
3462
  __props.thumb ? (vue.openBlock(), vue.createElementBlock("image", {
3463
3463
  key: 0,
3464
3464
  class: "u-list-item__thumb",
3465
3465
  src: __props.thumb,
3466
3466
  mode: "aspectFill"
3467
- }, null, 8, _hoisted_2$b)) : __props.icon ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_3$8, vue.toDisplayString(__props.icon), 1)) : vue.createCommentVNode("", true)
3467
+ }, null, 8, _hoisted_2$d)) : __props.icon ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_3$a, vue.toDisplayString(__props.icon), 1)) : vue.createCommentVNode("", true)
3468
3468
  ], true)
3469
3469
  ])) : vue.createCommentVNode("", true),
3470
3470
  vue.createElementVNode("view", _hoisted_4$6, [
@@ -3495,23 +3495,23 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
3495
3495
  };
3496
3496
  }
3497
3497
  });
3498
- const uListItem = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-8c31b17c"]]);
3499
- const _hoisted_1$d = {
3498
+ const uListItem = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-8c31b17c"]]);
3499
+ const _hoisted_1$f = {
3500
3500
  key: 0,
3501
3501
  class: "u-line-progress__text u-line-progress__text--inside"
3502
3502
  };
3503
- const _hoisted_2$a = {
3503
+ const _hoisted_2$c = {
3504
3504
  key: 0,
3505
3505
  class: "u-line-progress__text"
3506
3506
  };
3507
- const __default__$g = {
3507
+ const __default__$i = {
3508
3508
  options: {
3509
3509
  virtualHost: true,
3510
3510
  styleIsolation: "shared"
3511
3511
  }
3512
3512
  };
3513
- const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
3514
- ...__default__$g,
3513
+ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
3514
+ ...__default__$i,
3515
3515
  __name: "u-line-progress",
3516
3516
  props: {
3517
3517
  percentage: { default: 0 },
@@ -3569,24 +3569,24 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
3569
3569
  }]),
3570
3570
  style: vue.normalizeStyle(barStyle.value)
3571
3571
  }, [
3572
- __props.showText && __props.textInside && __props.percentage <= 100 ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_1$d, vue.toDisplayString(textContent.value), 1)) : vue.createCommentVNode("", true)
3572
+ __props.showText && __props.textInside && __props.percentage <= 100 ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_1$f, vue.toDisplayString(textContent.value), 1)) : vue.createCommentVNode("", true)
3573
3573
  ], 6)
3574
3574
  ], 4),
3575
- __props.showText && !__props.textInside ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_2$a, vue.toDisplayString(textContent.value), 1)) : vue.createCommentVNode("", true)
3575
+ __props.showText && !__props.textInside ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_2$c, vue.toDisplayString(textContent.value), 1)) : vue.createCommentVNode("", true)
3576
3576
  ], 4);
3577
3577
  };
3578
3578
  }
3579
3579
  });
3580
- const uLineProgress = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-99121563"]]);
3581
- const _hoisted_1$c = { class: "u-count-down" };
3582
- const __default__$f = {
3580
+ const uLineProgress = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-99121563"]]);
3581
+ const _hoisted_1$e = { class: "u-count-down" };
3582
+ const __default__$h = {
3583
3583
  options: {
3584
3584
  virtualHost: true,
3585
3585
  styleIsolation: "shared"
3586
3586
  }
3587
3587
  };
3588
- const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
3589
- ...__default__$f,
3588
+ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
3589
+ ...__default__$h,
3590
3590
  __name: "u-count-down",
3591
3591
  props: {
3592
3592
  time: { default: 0 },
@@ -3701,7 +3701,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
3701
3701
  timeData
3702
3702
  });
3703
3703
  return (_ctx, _cache) => {
3704
- return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$c, [
3704
+ return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$e, [
3705
3705
  vue.renderSlot(_ctx.$slots, "default", {
3706
3706
  time: timeData.value,
3707
3707
  current: current.value
@@ -3715,23 +3715,23 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
3715
3715
  };
3716
3716
  }
3717
3717
  });
3718
- const uCountDown = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-da70e500"]]);
3719
- const _hoisted_1$b = { class: "u-tooltip__content" };
3720
- const _hoisted_2$9 = {
3718
+ const uCountDown = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-da70e500"]]);
3719
+ const _hoisted_1$d = { class: "u-tooltip__content" };
3720
+ const _hoisted_2$b = {
3721
3721
  key: 0,
3722
3722
  class: "u-tooltip__actions"
3723
3723
  };
3724
- const _hoisted_3$7 = ["onClick"];
3724
+ const _hoisted_3$9 = ["onClick"];
3725
3725
  const _hoisted_4$5 = { class: "u-tooltip__action-text" };
3726
3726
  const _hoisted_5$3 = { class: "u-tooltip__text" };
3727
- const __default__$e = {
3727
+ const __default__$g = {
3728
3728
  options: {
3729
3729
  virtualHost: true,
3730
3730
  styleIsolation: "shared"
3731
3731
  }
3732
3732
  };
3733
- const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
3734
- ...__default__$e,
3733
+ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
3734
+ ...__default__$g,
3735
3735
  __name: "u-tooltip",
3736
3736
  props: {
3737
3737
  content: { default: "" },
@@ -3894,8 +3894,8 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
3894
3894
  vue.createElementVNode("view", {
3895
3895
  class: vue.normalizeClass(["u-tooltip__arrow", `u-tooltip__arrow--${actualPlacement.value}`])
3896
3896
  }, null, 2),
3897
- vue.createElementVNode("view", _hoisted_1$b, [
3898
- __props.actions.length ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$9, [
3897
+ vue.createElementVNode("view", _hoisted_1$d, [
3898
+ __props.actions.length ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$b, [
3899
3899
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.actions, (action, index) => {
3900
3900
  return vue.openBlock(), vue.createElementBlock("view", {
3901
3901
  key: index,
@@ -3903,7 +3903,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
3903
3903
  onClick: vue.withModifiers(($event) => handleActionClick(action, index), ["stop"])
3904
3904
  }, [
3905
3905
  vue.createElementVNode("text", _hoisted_4$5, vue.toDisplayString(action.text), 1)
3906
- ], 10, _hoisted_3$7);
3906
+ ], 10, _hoisted_3$9);
3907
3907
  }), 128))
3908
3908
  ])) : vue.renderSlot(_ctx.$slots, "content", { key: 1 }, () => [
3909
3909
  vue.createElementVNode("text", _hoisted_5$3, vue.toDisplayString(__props.content), 1)
@@ -3914,13 +3914,13 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
3914
3914
  };
3915
3915
  }
3916
3916
  });
3917
- const uTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-dd1bff02"]]);
3918
- const _hoisted_1$a = ["src"];
3919
- const _hoisted_2$8 = {
3917
+ const uTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-dd1bff02"]]);
3918
+ const _hoisted_1$c = ["src"];
3919
+ const _hoisted_2$a = {
3920
3920
  key: 1,
3921
3921
  class: "u-avatar__text"
3922
3922
  };
3923
- const _hoisted_3$6 = {
3923
+ const _hoisted_3$8 = {
3924
3924
  key: 2,
3925
3925
  class: "u-avatar__icon"
3926
3926
  };
@@ -3928,14 +3928,14 @@ const _hoisted_4$4 = {
3928
3928
  key: 0,
3929
3929
  class: "u-avatar__badge-text"
3930
3930
  };
3931
- const __default__$d = {
3931
+ const __default__$f = {
3932
3932
  options: {
3933
3933
  virtualHost: true,
3934
3934
  styleIsolation: "shared"
3935
3935
  }
3936
3936
  };
3937
- const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
3938
- ...__default__$d,
3937
+ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
3938
+ ...__default__$f,
3939
3939
  __name: "u-avatar",
3940
3940
  props: {
3941
3941
  src: { default: "" },
@@ -4014,7 +4014,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
4014
4014
  src: __props.src,
4015
4015
  mode: "aspectFill",
4016
4016
  onError: handleError
4017
- }, null, 40, _hoisted_1$a)) : __props.text ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_2$8, vue.toDisplayString(displayText.value), 1)) : (vue.openBlock(), vue.createElementBlock("text", _hoisted_3$6, vue.toDisplayString(__props.icon || "👤"), 1))
4017
+ }, null, 40, _hoisted_1$c)) : __props.text ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_2$a, vue.toDisplayString(displayText.value), 1)) : (vue.openBlock(), vue.createElementBlock("text", _hoisted_3$8, vue.toDisplayString(__props.icon || "👤"), 1))
4018
4018
  ], true),
4019
4019
  __props.badge && !badgeSlot.value ? (vue.openBlock(), vue.createElementBlock("view", {
4020
4020
  key: 0,
@@ -4027,10 +4027,10 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
4027
4027
  };
4028
4028
  }
4029
4029
  });
4030
- const uAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-10f478fe"]]);
4031
- const _hoisted_1$9 = { class: "u-empty__image" };
4032
- const _hoisted_2$7 = ["src"];
4033
- const _hoisted_3$5 = {
4030
+ const uAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-10f478fe"]]);
4031
+ const _hoisted_1$b = { class: "u-empty__image" };
4032
+ const _hoisted_2$9 = ["src"];
4033
+ const _hoisted_3$7 = {
4034
4034
  key: 1,
4035
4035
  class: "u-empty__image-default"
4036
4036
  };
@@ -4042,14 +4042,14 @@ const _hoisted_5$2 = {
4042
4042
  key: 1,
4043
4043
  class: "u-empty__bottom"
4044
4044
  };
4045
- const __default__$c = {
4045
+ const __default__$e = {
4046
4046
  options: {
4047
4047
  virtualHost: true,
4048
4048
  styleIsolation: "shared"
4049
4049
  }
4050
4050
  };
4051
- const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
4052
- ...__default__$c,
4051
+ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
4052
+ ...__default__$e,
4053
4053
  __name: "u-empty",
4054
4054
  props: {
4055
4055
  image: { default: "" },
@@ -4061,14 +4061,14 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
4061
4061
  return vue.openBlock(), vue.createElementBlock("view", {
4062
4062
  class: vue.normalizeClass(["u-empty", { "u-empty--inline": __props.inline }])
4063
4063
  }, [
4064
- vue.createElementVNode("view", _hoisted_1$9, [
4064
+ vue.createElementVNode("view", _hoisted_1$b, [
4065
4065
  vue.renderSlot(_ctx.$slots, "image", {}, () => [
4066
4066
  __props.image ? (vue.openBlock(), vue.createElementBlock("image", {
4067
4067
  key: 0,
4068
4068
  class: "u-empty__image-src",
4069
4069
  src: __props.image,
4070
4070
  mode: "aspectFit"
4071
- }, null, 8, _hoisted_2$7)) : (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$5, [..._cache[0] || (_cache[0] = [
4071
+ }, null, 8, _hoisted_2$9)) : (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$7, [..._cache[0] || (_cache[0] = [
4072
4072
  vue.createElementVNode("text", { class: "u-empty__icon" }, "📭", -1)
4073
4073
  ])]))
4074
4074
  ], true)
@@ -4085,23 +4085,23 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
4085
4085
  };
4086
4086
  }
4087
4087
  });
4088
- const uEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-853e089d"]]);
4089
- const _hoisted_1$8 = {
4088
+ const uEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-853e089d"]]);
4089
+ const _hoisted_1$a = {
4090
4090
  key: 0,
4091
4091
  class: "u-checkbox__check"
4092
4092
  };
4093
- const _hoisted_2$6 = {
4093
+ const _hoisted_2$8 = {
4094
4094
  key: 0,
4095
4095
  class: "u-checkbox__label"
4096
4096
  };
4097
- const __default__$b = {
4097
+ const __default__$d = {
4098
4098
  options: {
4099
4099
  virtualHost: true,
4100
4100
  styleIsolation: "shared"
4101
4101
  }
4102
4102
  };
4103
- const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
4104
- ...__default__$b,
4103
+ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
4104
+ ...__default__$d,
4105
4105
  __name: "u-checkbox",
4106
4106
  props: {
4107
4107
  value: { default: "" },
@@ -4169,9 +4169,9 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
4169
4169
  class: vue.normalizeClass(["u-checkbox__icon", iconClass.value]),
4170
4170
  style: vue.normalizeStyle(iconStyle.value)
4171
4171
  }, [
4172
- checked.value ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_1$8, "✓")) : vue.createCommentVNode("", true)
4172
+ checked.value ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_1$a, "✓")) : vue.createCommentVNode("", true)
4173
4173
  ], 6),
4174
- __props.label || _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$6, [
4174
+ __props.label || _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$8, [
4175
4175
  vue.renderSlot(_ctx.$slots, "default", {}, () => [
4176
4176
  vue.createTextVNode(vue.toDisplayString(__props.label), 1)
4177
4177
  ], true)
@@ -4180,16 +4180,16 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
4180
4180
  };
4181
4181
  }
4182
4182
  });
4183
- const uCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-6f3ea0c6"]]);
4184
- const _hoisted_1$7 = { class: "u-checkbox-group" };
4185
- const __default__$a = {
4183
+ const uCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-6f3ea0c6"]]);
4184
+ const _hoisted_1$9 = { class: "u-checkbox-group" };
4185
+ const __default__$c = {
4186
4186
  options: {
4187
4187
  virtualHost: true,
4188
4188
  styleIsolation: "shared"
4189
4189
  }
4190
4190
  };
4191
- const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
4192
- ...__default__$a,
4191
+ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
4192
+ ...__default__$c,
4193
4193
  __name: "u-checkbox-group",
4194
4194
  props: {
4195
4195
  modelValue: { default: () => [] },
@@ -4224,29 +4224,29 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
4224
4224
  toggle
4225
4225
  });
4226
4226
  return (_ctx, _cache) => {
4227
- return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$7, [
4227
+ return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$9, [
4228
4228
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
4229
4229
  ]);
4230
4230
  };
4231
4231
  }
4232
4232
  });
4233
- const uCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-4e51c49e"]]);
4234
- const _hoisted_1$6 = {
4233
+ const uCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-4e51c49e"]]);
4234
+ const _hoisted_1$8 = {
4235
4235
  key: 0,
4236
4236
  class: "u-radio__dot"
4237
4237
  };
4238
- const _hoisted_2$5 = {
4238
+ const _hoisted_2$7 = {
4239
4239
  key: 0,
4240
4240
  class: "u-radio__label"
4241
4241
  };
4242
- const __default__$9 = {
4242
+ const __default__$b = {
4243
4243
  options: {
4244
4244
  virtualHost: true,
4245
4245
  styleIsolation: "shared"
4246
4246
  }
4247
4247
  };
4248
- const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
4249
- ...__default__$9,
4248
+ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
4249
+ ...__default__$b,
4250
4250
  __name: "u-radio",
4251
4251
  props: {
4252
4252
  value: { default: "" },
@@ -4311,9 +4311,9 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
4311
4311
  class: vue.normalizeClass(["u-radio__icon", iconClass.value]),
4312
4312
  style: vue.normalizeStyle(iconStyle.value)
4313
4313
  }, [
4314
- checked.value ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$6)) : vue.createCommentVNode("", true)
4314
+ checked.value ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$8)) : vue.createCommentVNode("", true)
4315
4315
  ], 6),
4316
- __props.label || _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$5, [
4316
+ __props.label || _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$7, [
4317
4317
  vue.renderSlot(_ctx.$slots, "default", {}, () => [
4318
4318
  vue.createTextVNode(vue.toDisplayString(__props.label), 1)
4319
4319
  ], true)
@@ -4322,16 +4322,16 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
4322
4322
  };
4323
4323
  }
4324
4324
  });
4325
- const uRadio = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-3b4f8627"]]);
4326
- const _hoisted_1$5 = { class: "u-radio-group" };
4327
- const __default__$8 = {
4325
+ const uRadio = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-3b4f8627"]]);
4326
+ const _hoisted_1$7 = { class: "u-radio-group" };
4327
+ const __default__$a = {
4328
4328
  options: {
4329
4329
  virtualHost: true,
4330
4330
  styleIsolation: "shared"
4331
4331
  }
4332
4332
  };
4333
- const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
4334
- ...__default__$8,
4333
+ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
4334
+ ...__default__$a,
4335
4335
  __name: "u-radio-group",
4336
4336
  props: {
4337
4337
  modelValue: { default: "" },
@@ -4357,19 +4357,19 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
4357
4357
  select
4358
4358
  });
4359
4359
  return (_ctx, _cache) => {
4360
- return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$5, [
4360
+ return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$7, [
4361
4361
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
4362
4362
  ]);
4363
4363
  };
4364
4364
  }
4365
4365
  });
4366
- const uRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-04ea4949"]]);
4367
- const _hoisted_1$4 = { class: "u-toast__content" };
4368
- const _hoisted_2$4 = {
4366
+ const uRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-04ea4949"]]);
4367
+ const _hoisted_1$6 = { class: "u-toast__content" };
4368
+ const _hoisted_2$6 = {
4369
4369
  key: 0,
4370
4370
  class: "u-toast__loading"
4371
4371
  };
4372
- const _hoisted_3$4 = {
4372
+ const _hoisted_3$6 = {
4373
4373
  key: 1,
4374
4374
  class: "u-toast__icon"
4375
4375
  };
@@ -4377,14 +4377,14 @@ const _hoisted_4$2 = {
4377
4377
  key: 2,
4378
4378
  class: "u-toast__text"
4379
4379
  };
4380
- const __default__$7 = {
4380
+ const __default__$9 = {
4381
4381
  options: {
4382
4382
  virtualHost: true,
4383
4383
  styleIsolation: "shared"
4384
4384
  }
4385
4385
  };
4386
- const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
4387
- ...__default__$7,
4386
+ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
4387
+ ...__default__$9,
4388
4388
  __name: "u-toast",
4389
4389
  props: {
4390
4390
  message: { default: "" },
@@ -4448,25 +4448,25 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
4448
4448
  class: vue.normalizeClass(["u-toast", toastClass.value]),
4449
4449
  style: vue.normalizeStyle(toastStyle.value)
4450
4450
  }, [
4451
- vue.createElementVNode("view", _hoisted_1$4, [
4452
- __props.type === "loading" ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$4, [..._cache[0] || (_cache[0] = [
4451
+ vue.createElementVNode("view", _hoisted_1$6, [
4452
+ __props.type === "loading" ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$6, [..._cache[0] || (_cache[0] = [
4453
4453
  vue.createElementVNode("view", { class: "u-toast__loading-icon" }, null, -1)
4454
- ])])) : __props.icon ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_3$4, vue.toDisplayString(__props.icon), 1)) : vue.createCommentVNode("", true),
4454
+ ])])) : __props.icon ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_3$6, vue.toDisplayString(__props.icon), 1)) : vue.createCommentVNode("", true),
4455
4455
  __props.message ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_4$2, vue.toDisplayString(__props.message), 1)) : vue.createCommentVNode("", true)
4456
4456
  ])
4457
4457
  ], 6)) : vue.createCommentVNode("", true);
4458
4458
  };
4459
4459
  }
4460
4460
  });
4461
- const uToast = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-ffefead4"]]);
4462
- const __default__$6 = {
4461
+ const uToast = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-ffefead4"]]);
4462
+ const __default__$8 = {
4463
4463
  options: {
4464
4464
  virtualHost: true,
4465
4465
  styleIsolation: "shared"
4466
4466
  }
4467
4467
  };
4468
- const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
4469
- ...__default__$6,
4468
+ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
4469
+ ...__default__$8,
4470
4470
  __name: "u-popup",
4471
4471
  props: {
4472
4472
  visible: { type: Boolean, default: false },
@@ -4558,10 +4558,10 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
4558
4558
  };
4559
4559
  }
4560
4560
  });
4561
- const uPopup = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-850475f0"]]);
4562
- const _hoisted_1$3 = { class: "u-code-input" };
4563
- const _hoisted_2$3 = { class: "u-code-input__wrapper" };
4564
- const _hoisted_3$3 = {
4561
+ const uPopup = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-137619a7"]]);
4562
+ const _hoisted_1$5 = { class: "u-code-input" };
4563
+ const _hoisted_2$5 = { class: "u-code-input__wrapper" };
4564
+ const _hoisted_3$5 = {
4565
4565
  key: 0,
4566
4566
  class: "u-code-input__char"
4567
4567
  };
@@ -4578,14 +4578,14 @@ const _hoisted_6 = {
4578
4578
  class: "u-code-input__cursor"
4579
4579
  };
4580
4580
  const _hoisted_7 = ["value", "maxlength", "disabled", "focus", "password"];
4581
- const __default__$5 = {
4581
+ const __default__$7 = {
4582
4582
  options: {
4583
4583
  virtualHost: true,
4584
4584
  styleIsolation: "shared"
4585
4585
  }
4586
4586
  };
4587
- const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
4588
- ...__default__$5,
4587
+ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
4588
+ ...__default__$7,
4589
4589
  __name: "u-code-input",
4590
4590
  props: {
4591
4591
  value: { default: "" },
@@ -4658,15 +4658,15 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
4658
4658
  emit("blur");
4659
4659
  };
4660
4660
  return (_ctx, _cache) => {
4661
- return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$3, [
4662
- vue.createElementVNode("view", _hoisted_2$3, [
4661
+ return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$5, [
4662
+ vue.createElementVNode("view", _hoisted_2$5, [
4663
4663
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.length, (i) => {
4664
4664
  return vue.openBlock(), vue.createElementBlock("view", {
4665
4665
  key: i,
4666
4666
  class: vue.normalizeClass(["u-code-input__item", itemClass(i)]),
4667
4667
  style: vue.normalizeStyle(itemStyle.value)
4668
4668
  }, [
4669
- values.value[i - 1] && !__props.password ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_3$3, vue.toDisplayString(values.value[i - 1]), 1)) : values.value[i - 1] && __props.password ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_4$1)) : (vue.openBlock(), vue.createElementBlock("view", _hoisted_5$1, vue.toDisplayString(__props.placeholderChar), 1)),
4669
+ values.value[i - 1] && !__props.password ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_3$5, vue.toDisplayString(values.value[i - 1]), 1)) : values.value[i - 1] && __props.password ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_4$1)) : (vue.openBlock(), vue.createElementBlock("view", _hoisted_5$1, vue.toDisplayString(__props.placeholderChar), 1)),
4670
4670
  __props.focus && i - 1 === currentIndex.value ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_6)) : vue.createCommentVNode("", true)
4671
4671
  ], 6);
4672
4672
  }), 128))
@@ -4687,21 +4687,21 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
4687
4687
  };
4688
4688
  }
4689
4689
  });
4690
- const uCodeInput = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-9fffa23f"]]);
4691
- const _hoisted_1$2 = {
4690
+ const uCodeInput = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-9fffa23f"]]);
4691
+ const _hoisted_1$4 = {
4692
4692
  key: 0,
4693
4693
  class: "u-skeleton__content"
4694
4694
  };
4695
- const _hoisted_2$2 = { class: "u-skeleton__content" };
4696
- const _hoisted_3$2 = { class: "u-skeleton__paragraphs" };
4697
- const __default__$4 = {
4695
+ const _hoisted_2$4 = { class: "u-skeleton__content" };
4696
+ const _hoisted_3$4 = { class: "u-skeleton__paragraphs" };
4697
+ const __default__$6 = {
4698
4698
  options: {
4699
4699
  virtualHost: true,
4700
4700
  styleIsolation: "shared"
4701
4701
  }
4702
4702
  };
4703
- const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
4704
- ...__default__$4,
4703
+ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
4704
+ ...__default__$6,
4705
4705
  __name: "u-skeleton",
4706
4706
  props: {
4707
4707
  loading: { type: Boolean, default: true },
@@ -4754,7 +4754,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
4754
4754
  return style;
4755
4755
  };
4756
4756
  return (_ctx, _cache) => {
4757
- return !__props.loading ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$2, [
4757
+ return !__props.loading ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$4, [
4758
4758
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
4759
4759
  ])) : (vue.openBlock(), vue.createElementBlock("view", {
4760
4760
  key: 1,
@@ -4765,13 +4765,13 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
4765
4765
  class: vue.normalizeClass(["u-skeleton__avatar", `u-skeleton__avatar--${__props.avatarShape}`]),
4766
4766
  style: vue.normalizeStyle(avatarStyle.value)
4767
4767
  }, null, 6)) : vue.createCommentVNode("", true),
4768
- vue.createElementVNode("view", _hoisted_2$2, [
4768
+ vue.createElementVNode("view", _hoisted_2$4, [
4769
4769
  __props.title ? (vue.openBlock(), vue.createElementBlock("view", {
4770
4770
  key: 0,
4771
4771
  class: "u-skeleton__title",
4772
4772
  style: vue.normalizeStyle(titleStyle.value)
4773
4773
  }, null, 4)) : vue.createCommentVNode("", true),
4774
- vue.createElementVNode("view", _hoisted_3$2, [
4774
+ vue.createElementVNode("view", _hoisted_3$4, [
4775
4775
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(rowList.value, (row, index) => {
4776
4776
  return vue.openBlock(), vue.createElementBlock("view", {
4777
4777
  key: index,
@@ -4785,15 +4785,15 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
4785
4785
  };
4786
4786
  }
4787
4787
  });
4788
- const uSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-1fde8489"]]);
4789
- const __default__$3 = {
4788
+ const uSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-1fde8489"]]);
4789
+ const __default__$5 = {
4790
4790
  options: {
4791
4791
  virtualHost: true,
4792
4792
  styleIsolation: "shared"
4793
4793
  }
4794
4794
  };
4795
- const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
4796
- ...__default__$3,
4795
+ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
4796
+ ...__default__$5,
4797
4797
  __name: "u-transition",
4798
4798
  props: {
4799
4799
  show: { type: Boolean, default: false },
@@ -4862,15 +4862,15 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
4862
4862
  };
4863
4863
  }
4864
4864
  });
4865
- const uTransition = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-13f0f85c"]]);
4866
- const __default__$2 = {
4865
+ const uTransition = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-13f0f85c"]]);
4866
+ const __default__$4 = {
4867
4867
  options: {
4868
4868
  virtualHost: true,
4869
4869
  styleIsolation: "shared"
4870
4870
  }
4871
4871
  };
4872
- const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
4873
- ...__default__$2,
4872
+ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
4873
+ ...__default__$4,
4874
4874
  __name: "u-link",
4875
4875
  props: {
4876
4876
  text: { default: "" },
@@ -4918,18 +4918,18 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
4918
4918
  };
4919
4919
  }
4920
4920
  });
4921
- const uLink = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-f60d6c27"]]);
4922
- const _hoisted_1$1 = { class: "u-read-more" };
4923
- const _hoisted_2$1 = { class: "u-read-more__toggle-text" };
4924
- const _hoisted_3$1 = { class: "u-read-more__toggle-icon" };
4925
- const __default__$1 = {
4921
+ const uLink = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-f60d6c27"]]);
4922
+ const _hoisted_1$3 = { class: "u-read-more" };
4923
+ const _hoisted_2$3 = { class: "u-read-more__toggle-text" };
4924
+ const _hoisted_3$3 = { class: "u-read-more__toggle-icon" };
4925
+ const __default__$3 = {
4926
4926
  options: {
4927
4927
  virtualHost: true,
4928
4928
  styleIsolation: "shared"
4929
4929
  }
4930
4930
  };
4931
- const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
4932
- ...__default__$1,
4931
+ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
4932
+ ...__default__$3,
4933
4933
  __name: "u-read-more",
4934
4934
  props: {
4935
4935
  maxLength: { default: 200 },
@@ -4968,7 +4968,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
4968
4968
  }
4969
4969
  };
4970
4970
  return (_ctx, _cache) => {
4971
- return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$1, [
4971
+ return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$3, [
4972
4972
  vue.createElementVNode("view", {
4973
4973
  class: "u-read-more__content",
4974
4974
  style: vue.normalizeStyle(contentStyle.value)
@@ -4980,27 +4980,27 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
4980
4980
  class: "u-read-more__toggle",
4981
4981
  onClick: handleToggle
4982
4982
  }, [
4983
- vue.createElementVNode("text", _hoisted_2$1, vue.toDisplayString(toggleText.value), 1),
4984
- vue.createElementVNode("text", _hoisted_3$1, vue.toDisplayString(expanded.value ? "↑" : "↓"), 1)
4983
+ vue.createElementVNode("text", _hoisted_2$3, vue.toDisplayString(toggleText.value), 1),
4984
+ vue.createElementVNode("text", _hoisted_3$3, vue.toDisplayString(expanded.value ? "↑" : "↓"), 1)
4985
4985
  ])) : vue.createCommentVNode("", true)
4986
4986
  ]);
4987
4987
  };
4988
4988
  }
4989
4989
  });
4990
- const uReadMore = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-b31720eb"]]);
4991
- const _hoisted_1 = { class: "u-tabbar" };
4992
- const _hoisted_2 = { class: "u-tabbar__nav-wrap" };
4993
- const _hoisted_3 = { class: "u-tabbar__center" };
4990
+ const uReadMore = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-b31720eb"]]);
4991
+ const _hoisted_1$2 = { class: "u-tabbar" };
4992
+ const _hoisted_2$2 = { class: "u-tabbar__nav-wrap" };
4993
+ const _hoisted_3$2 = { class: "u-tabbar__center" };
4994
4994
  const _hoisted_4 = { class: "u-tabbar__center-brand" };
4995
4995
  const _hoisted_5 = { class: "u-tabbar__center-text" };
4996
- const __default__ = {
4996
+ const __default__$2 = {
4997
4997
  options: {
4998
4998
  virtualHost: true,
4999
4999
  styleIsolation: "shared"
5000
5000
  }
5001
5001
  };
5002
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
5003
- ...__default__,
5002
+ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
5003
+ ...__default__$2,
5004
5004
  __name: "u-tabbar",
5005
5005
  props: {
5006
5006
  modelValue: { default: "home" },
@@ -5020,8 +5020,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
5020
5020
  emit("tab-change", tab);
5021
5021
  };
5022
5022
  return (_ctx, _cache) => {
5023
- return vue.openBlock(), vue.createElementBlock("view", _hoisted_1, [
5024
- vue.createElementVNode("view", _hoisted_2, [
5023
+ return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$2, [
5024
+ vue.createElementVNode("view", _hoisted_2$2, [
5025
5025
  vue.createElementVNode("view", {
5026
5026
  class: vue.normalizeClass(["u-tabbar__tab-btn", { "u-tabbar__tab-btn--active": __props.modelValue === __props.leftTab.value }]),
5027
5027
  onClick: _cache[0] || (_cache[0] = ($event) => switchTab(__props.leftTab.value))
@@ -5037,7 +5037,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
5037
5037
  style: vue.normalizeStyle({ color: __props.modelValue === __props.leftTab.value ? __props.activeColor : __props.inactiveColor })
5038
5038
  }, vue.toDisplayString(__props.leftTab.label), 5)
5039
5039
  ], 2),
5040
- vue.createElementVNode("view", _hoisted_3, [
5040
+ vue.createElementVNode("view", _hoisted_3$2, [
5041
5041
  vue.createElementVNode("view", {
5042
5042
  class: vue.normalizeClass(["u-tabbar__center-btn", {
5043
5043
  "u-tabbar__center-btn--active": __props.modelValue === __props.centerTab.value,
@@ -5069,9 +5069,684 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
5069
5069
  };
5070
5070
  }
5071
5071
  });
5072
- const uTabbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-10cb84bc"]]);
5072
+ const uTabbar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-10cb84bc"]]);
5073
+ const _hoisted_1$1 = { class: "u-qrcode" };
5074
+ const _hoisted_2$1 = ["canvas-id"];
5075
+ const _hoisted_3$1 = ["src"];
5076
+ const __default__$1 = {
5077
+ options: {
5078
+ virtualHost: true,
5079
+ styleIsolation: "shared"
5080
+ }
5081
+ };
5082
+ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
5083
+ ...__default__$1,
5084
+ __name: "u-qrcode",
5085
+ props: {
5086
+ value: { default: "" },
5087
+ size: { default: 200 },
5088
+ color: { default: "#000000" },
5089
+ bgColor: { default: "#ffffff" },
5090
+ errorCorrectLevel: { default: "M" }
5091
+ },
5092
+ setup(__props) {
5093
+ const props = __props;
5094
+ const canvasId = vue.ref(`qrcode_${Date.now()}_${Math.random().toString(36).slice(2, 8)}`);
5095
+ const canvasWidth = vue.ref(0);
5096
+ const imageUrl = vue.ref("");
5097
+ const QRCode = {
5098
+ // 错误纠正级别
5099
+ ECL: { L: 1, M: 0, Q: 3, H: 2 },
5100
+ // 版本容量表
5101
+ getCapacity(version, ecl) {
5102
+ const capacities = [
5103
+ 0,
5104
+ 17,
5105
+ 32,
5106
+ 53,
5107
+ 78,
5108
+ 106,
5109
+ 134,
5110
+ 154,
5111
+ 192,
5112
+ 230,
5113
+ 271,
5114
+ 321,
5115
+ 367,
5116
+ 425,
5117
+ 458,
5118
+ 520,
5119
+ 586,
5120
+ 644,
5121
+ 718,
5122
+ 792,
5123
+ 858,
5124
+ 929,
5125
+ 1003,
5126
+ 1091,
5127
+ 1171,
5128
+ 1273,
5129
+ 1367,
5130
+ 1465,
5131
+ 1528,
5132
+ 1628,
5133
+ 1732,
5134
+ 1840,
5135
+ 1952,
5136
+ 2068,
5137
+ 2188,
5138
+ 2303,
5139
+ 2431,
5140
+ 2563,
5141
+ 2699,
5142
+ 2809,
5143
+ 2953
5144
+ ];
5145
+ return capacities[version] || 0;
5146
+ },
5147
+ // 获取版本
5148
+ getVersion(length, ecl) {
5149
+ for (let v = 1; v <= 40; v++) {
5150
+ if (this.getCapacity(v, ecl) >= length) return v;
5151
+ }
5152
+ return 40;
5153
+ },
5154
+ // 生成二维码矩阵
5155
+ generate(data, ecl) {
5156
+ const level = this.ECL[ecl] || 0;
5157
+ const version = this.getVersion(data.length, level);
5158
+ const size = version * 4 + 17;
5159
+ const matrix = [];
5160
+ for (let i = 0; i < size; i++) {
5161
+ matrix[i] = new Array(size).fill(-1);
5162
+ }
5163
+ this.addFinderPattern(matrix, 0, 0);
5164
+ this.addFinderPattern(matrix, size - 7, 0);
5165
+ this.addFinderPattern(matrix, 0, size - 7);
5166
+ this.addSeparator(matrix, size);
5167
+ this.addAlignmentPattern(matrix, version);
5168
+ this.addTimingPattern(matrix, size);
5169
+ this.addFormatInfo(matrix, size);
5170
+ this.fillData(matrix, data, version, size);
5171
+ return matrix;
5172
+ },
5173
+ addFinderPattern(matrix, row, col) {
5174
+ for (let r = 0; r < 7; r++) {
5175
+ for (let c = 0; c < 7; c++) {
5176
+ if (row + r < matrix.length && col + c < matrix.length) {
5177
+ if (r === 0 || r === 6 || c === 0 || c === 6 || r >= 2 && r <= 4 && c >= 2 && c <= 4) {
5178
+ matrix[row + r][col + c] = 1;
5179
+ } else {
5180
+ matrix[row + r][col + c] = 0;
5181
+ }
5182
+ }
5183
+ }
5184
+ }
5185
+ },
5186
+ addSeparator(matrix, size) {
5187
+ for (let i = 0; i < 8; i++) {
5188
+ if (i < size && matrix[7]) matrix[7][i] = 0;
5189
+ if (i < size && matrix[i]) matrix[i][7] = 0;
5190
+ if (size - 8 + i < size && matrix[7]) matrix[7][size - 8 + i] = 0;
5191
+ if (i < size && matrix[i]) matrix[i][size - 8] = 0;
5192
+ if (i < size && matrix[size - 8]) matrix[size - 8][i] = 0;
5193
+ if (size - 8 + i < size && matrix[size - 1 - i]) matrix[size - 1 - i][7] = 0;
5194
+ }
5195
+ },
5196
+ addAlignmentPattern(matrix, version) {
5197
+ if (version < 2) return;
5198
+ const positions = this.getAlignmentPositions(version);
5199
+ for (const row of positions) {
5200
+ for (const col of positions) {
5201
+ if (matrix[row][col] === -1) {
5202
+ this.addAlignmentPatternAt(matrix, row, col);
5203
+ }
5204
+ }
5205
+ }
5206
+ },
5207
+ getAlignmentPositions(version) {
5208
+ if (version === 1) return [];
5209
+ const intervals = Math.floor(version / 7) + 1;
5210
+ const size = version * 4 + 17;
5211
+ const step = Math.ceil((size - 13) / intervals);
5212
+ const positions = [6];
5213
+ for (let i = 1; i <= intervals; i++) {
5214
+ positions.push(size - 7 + (i - intervals) * step);
5215
+ }
5216
+ return [...new Set(positions)].sort((a, b) => a - b);
5217
+ },
5218
+ addAlignmentPatternAt(matrix, row, col) {
5219
+ for (let r = -2; r <= 2; r++) {
5220
+ for (let c = -2; c <= 2; c++) {
5221
+ if (row + r >= 0 && row + r < matrix.length && col + c >= 0 && col + c < matrix.length) {
5222
+ if (Math.abs(r) === 2 || Math.abs(c) === 2 || r === 0 && c === 0) {
5223
+ matrix[row + r][col + c] = 1;
5224
+ } else {
5225
+ matrix[row + r][col + c] = 0;
5226
+ }
5227
+ }
5228
+ }
5229
+ }
5230
+ },
5231
+ addTimingPattern(matrix, size) {
5232
+ for (let i = 8; i < size - 8; i++) {
5233
+ if (matrix[6][i] === -1) matrix[6][i] = i % 2 === 0 ? 1 : 0;
5234
+ if (matrix[i][6] === -1) matrix[i][6] = i % 2 === 0 ? 1 : 0;
5235
+ }
5236
+ },
5237
+ addFormatInfo(matrix, size) {
5238
+ for (let i = 0; i < 9; i++) {
5239
+ if (matrix[8][i] === -1) matrix[8][i] = 0;
5240
+ if (matrix[i][8] === -1) matrix[i][8] = 0;
5241
+ }
5242
+ for (let i = 0; i < 8; i++) {
5243
+ if (matrix[8][size - 1 - i] === -1) matrix[8][size - 1 - i] = 0;
5244
+ if (matrix[size - 1 - i][8] === -1) matrix[size - 1 - i][8] = 0;
5245
+ }
5246
+ },
5247
+ fillData(matrix, data, version, size) {
5248
+ const bytes = this.encodeData(data);
5249
+ let bitIndex = 0;
5250
+ let upward = true;
5251
+ for (let col = size - 1; col >= 1; col -= 2) {
5252
+ if (col === 6) col = 5;
5253
+ for (let row = upward ? size - 1 : 0; upward ? row >= 0 : row < size; upward ? row-- : row++) {
5254
+ for (let c = 0; c < 2; c++) {
5255
+ const currentCol = col - c;
5256
+ if (matrix[row][currentCol] === -1) {
5257
+ const bit = bitIndex < bytes.length * 8 ? bytes[Math.floor(bitIndex / 8)] >> 7 - bitIndex % 8 & 1 : bitIndex % 2 === 0 ? 1 : 0;
5258
+ matrix[row][currentCol] = bit;
5259
+ bitIndex++;
5260
+ }
5261
+ }
5262
+ }
5263
+ upward = !upward;
5264
+ }
5265
+ },
5266
+ encodeData(data) {
5267
+ const bytes = [];
5268
+ bytes.push(64);
5269
+ const len = data.length;
5270
+ if (len < 256) {
5271
+ bytes.push(len);
5272
+ }
5273
+ for (let i = 0; i < data.length; i++) {
5274
+ bytes.push(data.charCodeAt(i));
5275
+ }
5276
+ bytes.push(0);
5277
+ bytes.push(0);
5278
+ bytes.push(0);
5279
+ bytes.push(0);
5280
+ return bytes;
5281
+ }
5282
+ };
5283
+ const generateQRCode = async () => {
5284
+ if (!props.value) return;
5285
+ const dpr = uni.getSystemInfoSync().pixelRatio || 2;
5286
+ canvasWidth.value = props.size * dpr;
5287
+ await vue.nextTick();
5288
+ const matrix = QRCode.generate(props.value, props.errorCorrectLevel);
5289
+ const size = matrix.length;
5290
+ const cellSize = canvasWidth.value / size;
5291
+ const ctx = uni.createCanvasContext(canvasId.value);
5292
+ ctx.setFillStyle(props.bgColor);
5293
+ ctx.fillRect(0, 0, canvasWidth.value, canvasWidth.value);
5294
+ ctx.setFillStyle(props.color);
5295
+ for (let row = 0; row < size; row++) {
5296
+ for (let col = 0; col < size; col++) {
5297
+ if (matrix[row][col] === 1) {
5298
+ ctx.fillRect(col * cellSize, row * cellSize, cellSize, cellSize);
5299
+ }
5300
+ }
5301
+ }
5302
+ ctx.draw(false, () => {
5303
+ setTimeout(() => {
5304
+ uni.canvasToTempFilePath({
5305
+ canvasId: canvasId.value,
5306
+ width: canvasWidth.value,
5307
+ height: canvasWidth.value,
5308
+ success: (res) => {
5309
+ imageUrl.value = res.tempFilePath;
5310
+ },
5311
+ fail: (err) => {
5312
+ console.error("生成二维码失败:", err);
5313
+ }
5314
+ });
5315
+ }, 100);
5316
+ });
5317
+ };
5318
+ vue.watch(() => props.value, generateQRCode);
5319
+ vue.watch(() => props.size, generateQRCode);
5320
+ vue.watch(() => props.color, generateQRCode);
5321
+ vue.watch(() => props.bgColor, generateQRCode);
5322
+ vue.onMounted(() => {
5323
+ generateQRCode();
5324
+ });
5325
+ return (_ctx, _cache) => {
5326
+ return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$1, [
5327
+ canvasWidth.value > 0 ? (vue.openBlock(), vue.createElementBlock("canvas", {
5328
+ key: 0,
5329
+ "canvas-id": canvasId.value,
5330
+ style: vue.normalizeStyle({ width: `${canvasWidth.value}px`, height: `${canvasWidth.value}px` }),
5331
+ class: "u-qrcode__canvas"
5332
+ }, null, 12, _hoisted_2$1)) : vue.createCommentVNode("", true),
5333
+ imageUrl.value ? (vue.openBlock(), vue.createElementBlock("image", {
5334
+ key: 1,
5335
+ src: imageUrl.value,
5336
+ style: vue.normalizeStyle({ width: `${__props.size}px`, height: `${__props.size}px` }),
5337
+ class: "u-qrcode__image",
5338
+ mode: "aspectFit"
5339
+ }, null, 12, _hoisted_3$1)) : vue.createCommentVNode("", true)
5340
+ ]);
5341
+ };
5342
+ }
5343
+ });
5344
+ const uQrcode = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-3211a6f2"]]);
5345
+ const _hoisted_1 = { class: "u-barcode" };
5346
+ const _hoisted_2 = ["canvas-id"];
5347
+ const _hoisted_3 = ["src"];
5348
+ const __default__ = {
5349
+ options: {
5350
+ virtualHost: true,
5351
+ styleIsolation: "shared"
5352
+ }
5353
+ };
5354
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
5355
+ ...__default__,
5356
+ __name: "u-barcode",
5357
+ props: {
5358
+ value: { default: "" },
5359
+ width: { default: 200 },
5360
+ height: { default: 80 },
5361
+ lineWidth: { default: 2 },
5362
+ lineColor: { default: "#000000" },
5363
+ bgColor: { default: "#ffffff" },
5364
+ showValue: { type: Boolean, default: true },
5365
+ textColor: { default: "#000000" },
5366
+ format: { default: "CODE128" }
5367
+ },
5368
+ setup(__props) {
5369
+ const props = __props;
5370
+ const canvasId = vue.ref(`barcode_${Date.now()}_${Math.random().toString(36).slice(2, 8)}`);
5371
+ const canvasWidth = vue.ref(0);
5372
+ const canvasHeight = vue.ref(0);
5373
+ const imageUrl = vue.ref("");
5374
+ const CODE128 = {
5375
+ START_B: 104,
5376
+ STOP: 106,
5377
+ PATTERNS: [
5378
+ "11011001100",
5379
+ "11001101100",
5380
+ "11001100110",
5381
+ "10010011000",
5382
+ "10010001100",
5383
+ "10001001100",
5384
+ "10011001000",
5385
+ "10011000100",
5386
+ "10001100100",
5387
+ "11001001000",
5388
+ "11001000100",
5389
+ "11000100100",
5390
+ "10110011100",
5391
+ "10011011100",
5392
+ "10011001110",
5393
+ "10111001100",
5394
+ "10011101100",
5395
+ "10011100110",
5396
+ "11001110010",
5397
+ "11001011100",
5398
+ "11001001110",
5399
+ "11011100100",
5400
+ "11001110100",
5401
+ "11101101110",
5402
+ "11101001100",
5403
+ "11100101100",
5404
+ "11100100110",
5405
+ "11101100100",
5406
+ "11100110100",
5407
+ "11100110010",
5408
+ "11011011000",
5409
+ "11011000110",
5410
+ "11000110110",
5411
+ "10100011000",
5412
+ "10001011000",
5413
+ "10001000110",
5414
+ "10110001000",
5415
+ "10001101000",
5416
+ "10001100010",
5417
+ "11010001000",
5418
+ "11000101000",
5419
+ "11000100010",
5420
+ "10110111000",
5421
+ "10110001110",
5422
+ "10001101110",
5423
+ "10111011000",
5424
+ "10111000110",
5425
+ "10001110110",
5426
+ "11101110110",
5427
+ "11010001110",
5428
+ "11000101110",
5429
+ "11011101000",
5430
+ "11011100010",
5431
+ "11011101110",
5432
+ "11101011000",
5433
+ "11101000110",
5434
+ "11100010110",
5435
+ "11101101000",
5436
+ "11101100010",
5437
+ "11100011010",
5438
+ "11101111010",
5439
+ "11001000010",
5440
+ "11110001010",
5441
+ "10100110000",
5442
+ "10100001100",
5443
+ "10010110000",
5444
+ "10010000110",
5445
+ "10000101100",
5446
+ "10000100110",
5447
+ "10110010000",
5448
+ "10110000100",
5449
+ "10011010000",
5450
+ "10011000010",
5451
+ "10000110100",
5452
+ "10000110010",
5453
+ "11000010010",
5454
+ "11001010000",
5455
+ "11110111010",
5456
+ "11000010100",
5457
+ "10001111010",
5458
+ "10100111100",
5459
+ "10010111100",
5460
+ "10010011110",
5461
+ "10111100100",
5462
+ "10011110100",
5463
+ "10011110010",
5464
+ "11110100100",
5465
+ "11110010100",
5466
+ "11110010010",
5467
+ "11011011110",
5468
+ "11011110110",
5469
+ "11110110110",
5470
+ "10101111000",
5471
+ "10100011110",
5472
+ "10001011110",
5473
+ "10111101000",
5474
+ "10111100010",
5475
+ "11110101000",
5476
+ "11110100010",
5477
+ "10111011110",
5478
+ "10111101110",
5479
+ "11101011110",
5480
+ "11110101110",
5481
+ "11010000100",
5482
+ "11010010000",
5483
+ "11010011100",
5484
+ "1100011101011"
5485
+ ],
5486
+ getValue(char) {
5487
+ return char.charCodeAt(0) - 32;
5488
+ },
5489
+ encode(data) {
5490
+ let code2 = this.PATTERNS[this.START_B];
5491
+ let checksum = this.START_B;
5492
+ for (let i = 0; i < data.length; i++) {
5493
+ const val = this.getValue(data[i]);
5494
+ code2 += this.PATTERNS[val];
5495
+ checksum += val * (i + 1);
5496
+ }
5497
+ checksum = checksum % 103;
5498
+ code2 += this.PATTERNS[checksum];
5499
+ code2 += this.PATTERNS[this.STOP];
5500
+ return code2;
5501
+ }
5502
+ };
5503
+ const CODE39 = {
5504
+ CHARS: "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%*",
5505
+ PATTERNS: [
5506
+ "101001101101",
5507
+ "110100101011",
5508
+ "101100101011",
5509
+ "110110010101",
5510
+ "101001101011",
5511
+ "110100110101",
5512
+ "101100110101",
5513
+ "101001011011",
5514
+ "110100101101",
5515
+ "101100101101",
5516
+ "110101001011",
5517
+ "101101001011",
5518
+ "110110100101",
5519
+ "101011001011",
5520
+ "110101100101",
5521
+ "101101100101",
5522
+ "101010011011",
5523
+ "110101001101",
5524
+ "101101001101",
5525
+ "101011001101",
5526
+ "110101010011",
5527
+ "101101010011",
5528
+ "110110101001",
5529
+ "101011010011",
5530
+ "110101101001",
5531
+ "101101101001",
5532
+ "101010110011",
5533
+ "110101011001",
5534
+ "101101011001",
5535
+ "101011011001",
5536
+ "110010101011",
5537
+ "100110101011",
5538
+ "110011010101",
5539
+ "100101101011",
5540
+ "110010110101",
5541
+ "100110110101",
5542
+ "100101011011",
5543
+ "110010101101",
5544
+ "100110101101",
5545
+ "100100100101",
5546
+ "100100101001",
5547
+ "100101001001",
5548
+ "101001001001",
5549
+ "100101101101"
5550
+ ],
5551
+ encode(data) {
5552
+ const start = "101001101101";
5553
+ let code2 = start + "0";
5554
+ for (const char of data.toUpperCase()) {
5555
+ const index = this.CHARS.indexOf(char);
5556
+ if (index >= 0) {
5557
+ code2 += this.PATTERNS[index] + "0";
5558
+ }
5559
+ }
5560
+ code2 += start;
5561
+ return code2;
5562
+ }
5563
+ };
5564
+ const EAN13 = {
5565
+ L_PATTERNS: [
5566
+ "0001101",
5567
+ "0011001",
5568
+ "0010011",
5569
+ "0111101",
5570
+ "0100011",
5571
+ "0110001",
5572
+ "0101111",
5573
+ "0111011",
5574
+ "0110111",
5575
+ "0001011"
5576
+ ],
5577
+ G_PATTERNS: [
5578
+ "0100111",
5579
+ "0110011",
5580
+ "0011011",
5581
+ "0100001",
5582
+ "0011101",
5583
+ "0111001",
5584
+ "0000101",
5585
+ "0010001",
5586
+ "0001001",
5587
+ "0010111"
5588
+ ],
5589
+ R_PATTERNS: [
5590
+ "1110010",
5591
+ "1100110",
5592
+ "1101100",
5593
+ "1000010",
5594
+ "1011100",
5595
+ "1001110",
5596
+ "1010000",
5597
+ "1000100",
5598
+ "1001000",
5599
+ "1110100"
5600
+ ],
5601
+ FIRST_DIGIT_PATTERNS: ["LLLLLL", "LLGLGG", "LLGGLG", "LLGGGL", "LGLLGG", "LGGLLG", "LGGGLL", "LGLGLG", "LGLGGL", "LGGLGL"],
5602
+ encode(data) {
5603
+ if (data.length === 12) {
5604
+ data = this.addChecksum(data);
5605
+ }
5606
+ if (data.length !== 13) return "";
5607
+ const firstDigit = parseInt(data[0]);
5608
+ const pattern = this.FIRST_DIGIT_PATTERNS[firstDigit];
5609
+ let code2 = "101";
5610
+ for (let i = 1; i <= 6; i++) {
5611
+ const digit = parseInt(data[i]);
5612
+ if (pattern[i - 1] === "L") {
5613
+ code2 += this.L_PATTERNS[digit];
5614
+ } else {
5615
+ code2 += this.G_PATTERNS[digit];
5616
+ }
5617
+ }
5618
+ code2 += "01010";
5619
+ for (let i = 7; i <= 12; i++) {
5620
+ const digit = parseInt(data[i]);
5621
+ code2 += this.R_PATTERNS[digit];
5622
+ }
5623
+ code2 += "101";
5624
+ return code2;
5625
+ },
5626
+ addChecksum(data) {
5627
+ let sum = 0;
5628
+ for (let i = 0; i < 12; i++) {
5629
+ const digit = parseInt(data[i]);
5630
+ sum += i % 2 === 0 ? digit : digit * 3;
5631
+ }
5632
+ const checksum = (10 - sum % 10) % 10;
5633
+ return data + checksum;
5634
+ }
5635
+ };
5636
+ const EAN8 = {
5637
+ L_PATTERNS: EAN13.L_PATTERNS,
5638
+ R_PATTERNS: EAN13.R_PATTERNS,
5639
+ encode(data) {
5640
+ if (data.length === 7) {
5641
+ data = this.addChecksum(data);
5642
+ }
5643
+ if (data.length !== 8) return "";
5644
+ let code2 = "101";
5645
+ for (let i = 0; i < 4; i++) {
5646
+ code2 += this.L_PATTERNS[parseInt(data[i])];
5647
+ }
5648
+ code2 += "01010";
5649
+ for (let i = 4; i < 8; i++) {
5650
+ code2 += this.R_PATTERNS[parseInt(data[i])];
5651
+ }
5652
+ code2 += "101";
5653
+ return code2;
5654
+ },
5655
+ addChecksum(data) {
5656
+ let sum = 0;
5657
+ for (let i = 0; i < 7; i++) {
5658
+ const digit = parseInt(data[i]);
5659
+ sum += i % 2 === 0 ? digit * 3 : digit;
5660
+ }
5661
+ const checksum = (10 - sum % 10) % 10;
5662
+ return data + checksum;
5663
+ }
5664
+ };
5665
+ const generateBarcode = async () => {
5666
+ if (!props.value) return;
5667
+ const dpr = uni.getSystemInfoSync().pixelRatio || 2;
5668
+ canvasWidth.value = props.width * dpr;
5669
+ canvasHeight.value = props.height * dpr;
5670
+ await vue.nextTick();
5671
+ let pattern = "";
5672
+ switch (props.format) {
5673
+ case "CODE128":
5674
+ pattern = CODE128.encode(props.value);
5675
+ break;
5676
+ case "CODE39":
5677
+ pattern = CODE39.encode(props.value);
5678
+ break;
5679
+ case "EAN13":
5680
+ pattern = EAN13.encode(props.value);
5681
+ break;
5682
+ case "EAN8":
5683
+ pattern = EAN8.encode(props.value);
5684
+ break;
5685
+ default:
5686
+ pattern = CODE128.encode(props.value);
5687
+ }
5688
+ if (!pattern) return;
5689
+ const barWidth = canvasWidth.value / pattern.length;
5690
+ const ctx = uni.createCanvasContext(canvasId.value);
5691
+ ctx.setFillStyle(props.bgColor);
5692
+ ctx.fillRect(0, 0, canvasWidth.value, canvasHeight.value);
5693
+ ctx.setFillStyle(props.lineColor);
5694
+ for (let i = 0; i < pattern.length; i++) {
5695
+ if (pattern[i] === "1") {
5696
+ ctx.fillRect(i * barWidth, 0, barWidth, canvasHeight.value);
5697
+ }
5698
+ }
5699
+ ctx.draw(false, () => {
5700
+ setTimeout(() => {
5701
+ uni.canvasToTempFilePath({
5702
+ canvasId: canvasId.value,
5703
+ width: canvasWidth.value,
5704
+ height: canvasHeight.value,
5705
+ success: (res) => {
5706
+ imageUrl.value = res.tempFilePath;
5707
+ },
5708
+ fail: (err) => {
5709
+ console.error("生成条形码失败:", err);
5710
+ }
5711
+ });
5712
+ }, 100);
5713
+ });
5714
+ };
5715
+ vue.watch(() => props.value, generateBarcode);
5716
+ vue.watch(() => props.width, generateBarcode);
5717
+ vue.watch(() => props.height, generateBarcode);
5718
+ vue.watch(() => props.format, generateBarcode);
5719
+ vue.onMounted(() => {
5720
+ generateBarcode();
5721
+ });
5722
+ return (_ctx, _cache) => {
5723
+ return vue.openBlock(), vue.createElementBlock("view", _hoisted_1, [
5724
+ canvasWidth.value > 0 ? (vue.openBlock(), vue.createElementBlock("canvas", {
5725
+ key: 0,
5726
+ "canvas-id": canvasId.value,
5727
+ style: vue.normalizeStyle({ width: `${canvasWidth.value}px`, height: `${canvasHeight.value}px` }),
5728
+ class: "u-barcode__canvas"
5729
+ }, null, 12, _hoisted_2)) : vue.createCommentVNode("", true),
5730
+ imageUrl.value ? (vue.openBlock(), vue.createElementBlock("image", {
5731
+ key: 1,
5732
+ src: imageUrl.value,
5733
+ style: vue.normalizeStyle({ width: `${__props.width}px`, height: `${__props.height}px` }),
5734
+ class: "u-barcode__image",
5735
+ mode: "aspectFit"
5736
+ }, null, 12, _hoisted_3)) : vue.createCommentVNode("", true),
5737
+ __props.showValue ? (vue.openBlock(), vue.createElementBlock("text", {
5738
+ key: 2,
5739
+ class: "u-barcode__value",
5740
+ style: vue.normalizeStyle({ color: __props.textColor })
5741
+ }, vue.toDisplayString(__props.value), 5)) : vue.createCommentVNode("", true)
5742
+ ]);
5743
+ };
5744
+ }
5745
+ });
5746
+ const uBarcode = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4ecc744d"]]);
5073
5747
  exports.UAvatar = uAvatar;
5074
5748
  exports.UBadge = uBadge;
5749
+ exports.UBarcode = uBarcode;
5075
5750
  exports.UButton = uButton;
5076
5751
  exports.UCell = uCell;
5077
5752
  exports.UCellGroup = uCellGroup;
@@ -5101,6 +5776,7 @@ exports.UNumberBox = uNumberBox;
5101
5776
  exports.UParse = uParse;
5102
5777
  exports.UPicker = uPicker;
5103
5778
  exports.UPopup = uPopup;
5779
+ exports.UQrcode = uQrcode;
5104
5780
  exports.URadio = uRadio;
5105
5781
  exports.URadioGroup = uRadioGroup;
5106
5782
  exports.URate = uRate;