@atooyu/uxto-ui 1.1.48 → 1.1.49

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.mjs CHANGED
@@ -106,7 +106,7 @@ const _hoisted_5$c = {
106
106
  key: 2,
107
107
  class: "u-input__suffix"
108
108
  };
109
- const _hoisted_6$8 = { class: "u-input__icon" };
109
+ const _hoisted_6$7 = { class: "u-input__icon" };
110
110
  const __default__$M = {
111
111
  options: {
112
112
  virtualHost: true,
@@ -197,7 +197,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
197
197
  ])])) : createCommentVNode("", true),
198
198
  _ctx.$slots.suffix || __props.suffixIcon ? (openBlock(), createElementBlock("view", _hoisted_5$c, [
199
199
  renderSlot(_ctx.$slots, "suffix", {}, () => [
200
- createElementVNode("text", _hoisted_6$8, toDisplayString(__props.suffixIcon), 1)
200
+ createElementVNode("text", _hoisted_6$7, toDisplayString(__props.suffixIcon), 1)
201
201
  ], true)
202
202
  ])) : createCommentVNode("", true)
203
203
  ], 2);
@@ -213,8 +213,8 @@ const _hoisted_2$u = {
213
213
  const _hoisted_3$o = ["src"];
214
214
  const _hoisted_4$f = { class: "u-cell__content" };
215
215
  const _hoisted_5$b = { class: "u-cell__title" };
216
- const _hoisted_6$7 = { class: "u-cell__title-text" };
217
- const _hoisted_7$6 = {
216
+ const _hoisted_6$6 = { class: "u-cell__title-text" };
217
+ const _hoisted_7$5 = {
218
218
  key: 0,
219
219
  class: "u-cell__label"
220
220
  };
@@ -281,8 +281,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
281
281
  ])) : createCommentVNode("", true),
282
282
  createElementVNode("view", _hoisted_4$f, [
283
283
  createElementVNode("view", _hoisted_5$b, [
284
- createElementVNode("text", _hoisted_6$7, toDisplayString(__props.title), 1),
285
- __props.label ? (openBlock(), createElementBlock("text", _hoisted_7$6, toDisplayString(__props.label), 1)) : createCommentVNode("", true)
284
+ createElementVNode("text", _hoisted_6$6, toDisplayString(__props.title), 1),
285
+ __props.label ? (openBlock(), createElementBlock("text", _hoisted_7$5, toDisplayString(__props.label), 1)) : createCommentVNode("", true)
286
286
  ]),
287
287
  createElementVNode("view", _hoisted_8$4, [
288
288
  renderSlot(_ctx.$slots, "value", {}, () => [
@@ -2084,7 +2084,7 @@ const _hoisted_4$c = {
2084
2084
  class: "u-grid-item__badge"
2085
2085
  };
2086
2086
  const _hoisted_5$9 = { class: "u-grid-item__badge-text" };
2087
- const _hoisted_6$6 = {
2087
+ const _hoisted_6$5 = {
2088
2088
  key: 1,
2089
2089
  class: "u-grid-item__text"
2090
2090
  };
@@ -2156,7 +2156,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
2156
2156
  createElementVNode("text", _hoisted_5$9, toDisplayString(__props.badge), 1)
2157
2157
  ])) : createCommentVNode("", true)
2158
2158
  ])) : createCommentVNode("", true),
2159
- __props.text || _ctx.$slots.default ? (openBlock(), createElementBlock("view", _hoisted_6$6, [
2159
+ __props.text || _ctx.$slots.default ? (openBlock(), createElementBlock("view", _hoisted_6$5, [
2160
2160
  renderSlot(_ctx.$slots, "default", {}, () => [
2161
2161
  createTextVNode(toDisplayString(__props.text), 1)
2162
2162
  ], true)
@@ -2685,8 +2685,8 @@ const _hoisted_4$9 = {
2685
2685
  class: "u-upload__video"
2686
2686
  };
2687
2687
  const _hoisted_5$7 = ["src", "onClick"];
2688
- const _hoisted_6$5 = ["onClick"];
2689
- const _hoisted_7$5 = { class: "u-upload__file-name" };
2688
+ const _hoisted_6$4 = ["onClick"];
2689
+ const _hoisted_7$4 = { class: "u-upload__file-name" };
2690
2690
  const _hoisted_8$3 = {
2691
2691
  key: 3,
2692
2692
  class: "u-upload__progress"
@@ -2840,8 +2840,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
2840
2840
  onClick: ($event) => handlePreview(file, index)
2841
2841
  }, [
2842
2842
  _cache[1] || (_cache[1] = createElementVNode("text", { class: "u-upload__file-icon" }, "📄", -1)),
2843
- createElementVNode("text", _hoisted_7$5, toDisplayString(getFileName(file)), 1)
2844
- ], 8, _hoisted_6$5)),
2843
+ createElementVNode("text", _hoisted_7$4, toDisplayString(getFileName(file)), 1)
2844
+ ], 8, _hoisted_6$4)),
2845
2845
  file.status === "uploading" ? (openBlock(), createElementBlock("view", _hoisted_8$3, [
2846
2846
  createElementVNode("view", {
2847
2847
  class: "u-upload__progress-bar",
@@ -2995,8 +2995,8 @@ const _hoisted_5$6 = {
2995
2995
  key: 0,
2996
2996
  class: "u-slider__tooltip"
2997
2997
  };
2998
- const _hoisted_6$4 = { class: "u-slider__tooltip-text" };
2999
- const _hoisted_7$4 = {
2998
+ const _hoisted_6$3 = { class: "u-slider__tooltip-text" };
2999
+ const _hoisted_7$3 = {
3000
3000
  key: 0,
3001
3001
  class: "u-slider__tooltip"
3002
3002
  };
@@ -3266,7 +3266,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
3266
3266
  onTouchend: withModifiers(handleButtonTouchEnd, ["stop"])
3267
3267
  }, [
3268
3268
  __props.showValue ? (openBlock(), createElementBlock("view", _hoisted_5$6, [
3269
- createElementVNode("text", _hoisted_6$4, toDisplayString(startValue.value), 1)
3269
+ createElementVNode("text", _hoisted_6$3, toDisplayString(startValue.value), 1)
3270
3270
  ])) : createCommentVNode("", true)
3271
3271
  ], 36),
3272
3272
  createElementVNode("view", {
@@ -3276,7 +3276,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
3276
3276
  onTouchmove: withModifiers(handleEndButtonTouchMove, ["stop"]),
3277
3277
  onTouchend: withModifiers(handleButtonTouchEnd, ["stop"])
3278
3278
  }, [
3279
- __props.showValue ? (openBlock(), createElementBlock("view", _hoisted_7$4, [
3279
+ __props.showValue ? (openBlock(), createElementBlock("view", _hoisted_7$3, [
3280
3280
  createElementVNode("text", _hoisted_8$2, toDisplayString(endValue.value), 1)
3281
3281
  ])) : createCommentVNode("", true)
3282
3282
  ], 36)
@@ -3311,11 +3311,11 @@ const _hoisted_4$7 = {
3311
3311
  class: "u-list__loading"
3312
3312
  };
3313
3313
  const _hoisted_5$5 = { class: "u-list__loading-text" };
3314
- const _hoisted_6$3 = {
3314
+ const _hoisted_6$2 = {
3315
3315
  key: 2,
3316
3316
  class: "u-list__finished"
3317
3317
  };
3318
- const _hoisted_7$3 = { class: "u-list__finished-text" };
3318
+ const _hoisted_7$2 = { class: "u-list__finished-text" };
3319
3319
  const _hoisted_8$1 = { class: "u-list__error-text" };
3320
3320
  const _hoisted_9$1 = {
3321
3321
  key: 4,
@@ -3364,8 +3364,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
3364
3364
  _cache[0] || (_cache[0] = createElementVNode("view", { class: "u-list__loading-icon" }, null, -1)),
3365
3365
  createElementVNode("text", _hoisted_5$5, toDisplayString(__props.loadingText), 1)
3366
3366
  ])) : createCommentVNode("", true),
3367
- __props.finished && !__props.loading ? (openBlock(), createElementBlock("view", _hoisted_6$3, [
3368
- createElementVNode("text", _hoisted_7$3, toDisplayString(__props.finishedText), 1)
3367
+ __props.finished && !__props.loading ? (openBlock(), createElementBlock("view", _hoisted_6$2, [
3368
+ createElementVNode("text", _hoisted_7$2, toDisplayString(__props.finishedText), 1)
3369
3369
  ])) : createCommentVNode("", true),
3370
3370
  __props.error && !__props.loading ? (openBlock(), createElementBlock("view", {
3371
3371
  key: 3,
@@ -3398,11 +3398,11 @@ const _hoisted_5$4 = {
3398
3398
  key: 0,
3399
3399
  class: "u-list-item__title"
3400
3400
  };
3401
- const _hoisted_6$2 = {
3401
+ const _hoisted_6$1 = {
3402
3402
  key: 1,
3403
3403
  class: "u-list-item__desc"
3404
3404
  };
3405
- const _hoisted_7$2 = {
3405
+ const _hoisted_7$1 = {
3406
3406
  key: 2,
3407
3407
  class: "u-list-item__content"
3408
3408
  };
@@ -3474,12 +3474,12 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
3474
3474
  createTextVNode(toDisplayString(__props.title), 1)
3475
3475
  ], true)
3476
3476
  ])) : createCommentVNode("", true),
3477
- __props.desc || _ctx.$slots.desc ? (openBlock(), createElementBlock("view", _hoisted_6$2, [
3477
+ __props.desc || _ctx.$slots.desc ? (openBlock(), createElementBlock("view", _hoisted_6$1, [
3478
3478
  renderSlot(_ctx.$slots, "desc", {}, () => [
3479
3479
  createTextVNode(toDisplayString(__props.desc), 1)
3480
3480
  ], true)
3481
3481
  ])) : createCommentVNode("", true),
3482
- _ctx.$slots.default ? (openBlock(), createElementBlock("view", _hoisted_7$2, [
3482
+ _ctx.$slots.default ? (openBlock(), createElementBlock("view", _hoisted_7$1, [
3483
3483
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
3484
3484
  ])) : createCommentVNode("", true)
3485
3485
  ]),
@@ -4510,11 +4510,11 @@ const _hoisted_5$1 = {
4510
4510
  key: 2,
4511
4511
  class: "u-code-input__placeholder"
4512
4512
  };
4513
- const _hoisted_6$1 = {
4513
+ const _hoisted_6 = {
4514
4514
  key: 3,
4515
4515
  class: "u-code-input__cursor"
4516
4516
  };
4517
- const _hoisted_7$1 = ["value", "maxlength", "disabled", "focus", "password"];
4517
+ const _hoisted_7 = ["value", "maxlength", "disabled", "focus", "password"];
4518
4518
  const __default__$7 = {
4519
4519
  options: {
4520
4520
  virtualHost: true,
@@ -4604,7 +4604,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
4604
4604
  style: normalizeStyle(itemStyle.value)
4605
4605
  }, [
4606
4606
  values.value[i - 1] && !__props.password ? (openBlock(), createElementBlock("text", _hoisted_3$4, toDisplayString(values.value[i - 1]), 1)) : values.value[i - 1] && __props.password ? (openBlock(), createElementBlock("view", _hoisted_4$1)) : (openBlock(), createElementBlock("view", _hoisted_5$1, toDisplayString(__props.placeholderChar), 1)),
4607
- __props.focus && i - 1 === currentIndex.value ? (openBlock(), createElementBlock("view", _hoisted_6$1)) : createCommentVNode("", true)
4607
+ __props.focus && i - 1 === currentIndex.value ? (openBlock(), createElementBlock("view", _hoisted_6)) : createCommentVNode("", true)
4608
4608
  ], 6);
4609
4609
  }), 128))
4610
4610
  ]),
@@ -4619,7 +4619,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
4619
4619
  onInput: handleInput,
4620
4620
  onFocus: handleFocus,
4621
4621
  onBlur: handleBlur
4622
- }, null, 40, _hoisted_7$1)
4622
+ }, null, 40, _hoisted_7)
4623
4623
  ]);
4624
4624
  };
4625
4625
  }
@@ -4928,11 +4928,9 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
4928
4928
  const uReadMore = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-b31720eb"]]);
4929
4929
  const _hoisted_1$1 = { class: "u-tabbar" };
4930
4930
  const _hoisted_2$1 = { class: "u-tabbar__nav-wrap" };
4931
- const _hoisted_3$1 = { class: "u-tabbar__tab-content" };
4932
- const _hoisted_4 = { class: "u-tabbar__center" };
4933
- const _hoisted_5 = { class: "u-tabbar__center-brand" };
4934
- const _hoisted_6 = { class: "u-tabbar__center-text" };
4935
- const _hoisted_7 = { class: "u-tabbar__tab-content" };
4931
+ const _hoisted_3$1 = { class: "u-tabbar__center" };
4932
+ const _hoisted_4 = { class: "u-tabbar__center-brand" };
4933
+ const _hoisted_5 = { class: "u-tabbar__center-text" };
4936
4934
  const __default__$2 = {
4937
4935
  options: {
4938
4936
  virtualHost: false,
@@ -4964,56 +4962,52 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
4964
4962
  createElementVNode("view", _hoisted_2$1, [
4965
4963
  createElementVNode("view", {
4966
4964
  class: normalizeClass(["u-tabbar__tab-btn", { "u-tabbar__tab-btn--active": __props.modelValue === __props.leftTab.value }]),
4967
- onTap: _cache[0] || (_cache[0] = withModifiers(($event) => switchTab(__props.leftTab.value), ["stop", "prevent"]))
4965
+ onTap: _cache[0] || (_cache[0] = ($event) => switchTab(__props.leftTab.value))
4968
4966
  }, [
4969
- createElementVNode("view", _hoisted_3$1, [
4970
- __props.leftTab.icon ? (openBlock(), createBlock(UIcon, {
4971
- key: 0,
4972
- name: __props.leftTab.icon,
4973
- size: 16,
4974
- color: __props.modelValue === __props.leftTab.value ? __props.activeColor : __props.inactiveColor
4975
- }, null, 8, ["name", "color"])) : createCommentVNode("", true),
4976
- createElementVNode("text", {
4977
- class: "u-tabbar__tab-text",
4978
- style: normalizeStyle({ color: __props.modelValue === __props.leftTab.value ? __props.activeColor : __props.inactiveColor })
4979
- }, toDisplayString(__props.leftTab.label), 5)
4980
- ])
4967
+ __props.leftTab.icon ? (openBlock(), createBlock(UIcon, {
4968
+ key: 0,
4969
+ name: __props.leftTab.icon,
4970
+ size: 16,
4971
+ color: __props.modelValue === __props.leftTab.value ? __props.activeColor : __props.inactiveColor
4972
+ }, null, 8, ["name", "color"])) : createCommentVNode("", true),
4973
+ createElementVNode("text", {
4974
+ class: "u-tabbar__tab-text",
4975
+ style: normalizeStyle({ color: __props.modelValue === __props.leftTab.value ? __props.activeColor : __props.inactiveColor })
4976
+ }, toDisplayString(__props.leftTab.label), 5)
4981
4977
  ], 34),
4982
- createElementVNode("view", _hoisted_4, [
4978
+ createElementVNode("view", _hoisted_3$1, [
4983
4979
  createElementVNode("view", {
4984
4980
  class: normalizeClass(["u-tabbar__center-btn", {
4985
4981
  "u-tabbar__center-btn--active": __props.modelValue === __props.centerTab.value,
4986
4982
  "u-tabbar__center-btn--side-active": __props.modelValue === __props.leftTab.value || __props.modelValue === __props.rightTab.value
4987
4983
  }]),
4988
- onTap: _cache[1] || (_cache[1] = withModifiers(($event) => switchTab(__props.centerTab.value), ["stop", "prevent"]))
4984
+ onTap: _cache[1] || (_cache[1] = ($event) => switchTab(__props.centerTab.value))
4989
4985
  }, [
4990
- createElementVNode("text", _hoisted_5, toDisplayString(__props.centerBrand), 1),
4991
- createElementVNode("text", _hoisted_6, toDisplayString(__props.centerLabel), 1)
4986
+ createElementVNode("text", _hoisted_4, toDisplayString(__props.centerBrand), 1),
4987
+ createElementVNode("text", _hoisted_5, toDisplayString(__props.centerLabel), 1)
4992
4988
  ], 34)
4993
4989
  ]),
4994
4990
  createElementVNode("view", {
4995
4991
  class: normalizeClass(["u-tabbar__tab-btn", { "u-tabbar__tab-btn--active": __props.modelValue === __props.rightTab.value }]),
4996
- onTap: _cache[2] || (_cache[2] = withModifiers(($event) => switchTab(__props.rightTab.value), ["stop", "prevent"]))
4992
+ onTap: _cache[2] || (_cache[2] = ($event) => switchTab(__props.rightTab.value))
4997
4993
  }, [
4998
- createElementVNode("view", _hoisted_7, [
4999
- __props.rightTab.icon ? (openBlock(), createBlock(UIcon, {
5000
- key: 0,
5001
- name: __props.rightTab.icon,
5002
- size: 16,
5003
- color: __props.modelValue === __props.rightTab.value ? __props.activeColor : __props.inactiveColor
5004
- }, null, 8, ["name", "color"])) : createCommentVNode("", true),
5005
- createElementVNode("text", {
5006
- class: "u-tabbar__tab-text",
5007
- style: normalizeStyle({ color: __props.modelValue === __props.rightTab.value ? __props.activeColor : __props.inactiveColor })
5008
- }, toDisplayString(__props.rightTab.label), 5)
5009
- ])
4994
+ __props.rightTab.icon ? (openBlock(), createBlock(UIcon, {
4995
+ key: 0,
4996
+ name: __props.rightTab.icon,
4997
+ size: 16,
4998
+ color: __props.modelValue === __props.rightTab.value ? __props.activeColor : __props.inactiveColor
4999
+ }, null, 8, ["name", "color"])) : createCommentVNode("", true),
5000
+ createElementVNode("text", {
5001
+ class: "u-tabbar__tab-text",
5002
+ style: normalizeStyle({ color: __props.modelValue === __props.rightTab.value ? __props.activeColor : __props.inactiveColor })
5003
+ }, toDisplayString(__props.rightTab.label), 5)
5010
5004
  ], 34)
5011
5005
  ])
5012
5006
  ]);
5013
5007
  };
5014
5008
  }
5015
5009
  });
5016
- const uTabbar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-eb2ab9a2"]]);
5010
+ const uTabbar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-745a84ac"]]);
5017
5011
  const __default__$1 = {
5018
5012
  options: {
5019
5013
  virtualHost: true,