@atooyu/uxto-ui 1.1.3 → 1.1.4

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
@@ -12,7 +12,7 @@ const _hoisted_4$g = {
12
12
  key: 0,
13
13
  class: "u-button__icon"
14
14
  };
15
- const _hoisted_5$d = { class: "u-button__text" };
15
+ const _hoisted_5$c = { class: "u-button__text" };
16
16
  const __default__$L = {
17
17
  options: {
18
18
  virtualHost: true,
@@ -76,7 +76,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
76
76
  createElementVNode("view", { class: "u-button__loading-icon" }, null, -1)
77
77
  ])])) : (openBlock(), createElementBlock("view", _hoisted_3$o, [
78
78
  __props.icon ? (openBlock(), createElementBlock("text", _hoisted_4$g, toDisplayString(__props.icon), 1)) : createCommentVNode("", true),
79
- createElementVNode("text", _hoisted_5$d, [
79
+ createElementVNode("text", _hoisted_5$c, [
80
80
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
81
81
  ])
82
82
  ]))
@@ -99,7 +99,7 @@ const _hoisted_1$E = {
99
99
  const _hoisted_2$u = { class: "u-input__icon" };
100
100
  const _hoisted_3$n = { class: "u-input__body" };
101
101
  const _hoisted_4$f = ["type", "value", "placeholder", "placeholder-style", "disabled", "maxlength", "focus", "confirm-type", "adjust-position"];
102
- const _hoisted_5$c = {
102
+ const _hoisted_5$b = {
103
103
  key: 2,
104
104
  class: "u-input__suffix"
105
105
  };
@@ -192,7 +192,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
192
192
  }, [..._cache[0] || (_cache[0] = [
193
193
  createElementVNode("text", { class: "u-input__clear-icon" }, "×", -1)
194
194
  ])])) : createCommentVNode("", true),
195
- _ctx.$slots.suffix || __props.suffixIcon ? (openBlock(), createElementBlock("view", _hoisted_5$c, [
195
+ _ctx.$slots.suffix || __props.suffixIcon ? (openBlock(), createElementBlock("view", _hoisted_5$b, [
196
196
  renderSlot(_ctx.$slots, "suffix", {}, () => [
197
197
  createElementVNode("text", _hoisted_6$7, toDisplayString(__props.suffixIcon), 1)
198
198
  ], true)
@@ -209,7 +209,7 @@ const _hoisted_2$t = {
209
209
  };
210
210
  const _hoisted_3$m = ["src"];
211
211
  const _hoisted_4$e = { class: "u-cell__content" };
212
- const _hoisted_5$b = { class: "u-cell__title" };
212
+ const _hoisted_5$a = { class: "u-cell__title" };
213
213
  const _hoisted_6$6 = { class: "u-cell__title-text" };
214
214
  const _hoisted_7$5 = {
215
215
  key: 0,
@@ -277,7 +277,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
277
277
  ], true)
278
278
  ])) : createCommentVNode("", true),
279
279
  createElementVNode("view", _hoisted_4$e, [
280
- createElementVNode("view", _hoisted_5$b, [
280
+ createElementVNode("view", _hoisted_5$a, [
281
281
  createElementVNode("text", _hoisted_6$6, toDisplayString(__props.title), 1),
282
282
  __props.label ? (openBlock(), createElementBlock("text", _hoisted_7$5, toDisplayString(__props.label), 1)) : createCommentVNode("", true)
283
283
  ]),
@@ -337,7 +337,7 @@ const _hoisted_1$B = {
337
337
  const _hoisted_2$r = { class: "u-modal__title" };
338
338
  const _hoisted_3$k = { class: "u-modal__body" };
339
339
  const _hoisted_4$d = { class: "u-modal__message" };
340
- const _hoisted_5$a = { class: "u-modal__footer" };
340
+ const _hoisted_5$9 = { class: "u-modal__footer" };
341
341
  const __default__$H = {
342
342
  options: {
343
343
  virtualHost: true,
@@ -392,7 +392,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
392
392
  createElementVNode("text", _hoisted_4$d, toDisplayString(__props.message), 1)
393
393
  ], true)
394
394
  ]),
395
- createElementVNode("view", _hoisted_5$a, [
395
+ createElementVNode("view", _hoisted_5$9, [
396
396
  __props.showCancel ? (openBlock(), createElementBlock("view", {
397
397
  key: 0,
398
398
  class: "u-modal__button u-modal__button--cancel",
@@ -2070,7 +2070,7 @@ const _hoisted_4$c = {
2070
2070
  key: 0,
2071
2071
  class: "u-grid-item__badge"
2072
2072
  };
2073
- const _hoisted_5$9 = { class: "u-grid-item__badge-text" };
2073
+ const _hoisted_5$8 = { class: "u-grid-item__badge-text" };
2074
2074
  const _hoisted_6$5 = {
2075
2075
  key: 1,
2076
2076
  class: "u-grid-item__text"
@@ -2140,7 +2140,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
2140
2140
  }, null, 8, _hoisted_2$i)) : __props.icon ? (openBlock(), createElementBlock("text", _hoisted_3$f, toDisplayString(__props.icon), 1)) : createCommentVNode("", true)
2141
2141
  ], true),
2142
2142
  __props.badge !== void 0 && __props.badge !== null && __props.badge !== "" ? (openBlock(), createElementBlock("view", _hoisted_4$c, [
2143
- createElementVNode("text", _hoisted_5$9, toDisplayString(__props.badge), 1)
2143
+ createElementVNode("text", _hoisted_5$8, toDisplayString(__props.badge), 1)
2144
2144
  ])) : createCommentVNode("", true)
2145
2145
  ])) : createCommentVNode("", true),
2146
2146
  __props.text || _ctx.$slots.default ? (openBlock(), createElementBlock("view", _hoisted_6$5, [
@@ -2153,17 +2153,16 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
2153
2153
  }
2154
2154
  });
2155
2155
  const uGridItem = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-de6f40c1"]]);
2156
- const _hoisted_1$l = { class: "u-swiper" };
2157
- const _hoisted_2$h = {
2156
+ const _hoisted_1$l = {
2158
2157
  key: 0,
2159
2158
  class: "u-swiper__loading"
2160
2159
  };
2161
- const _hoisted_3$e = {
2160
+ const _hoisted_2$h = {
2162
2161
  key: 1,
2163
2162
  class: "u-swiper__title"
2164
2163
  };
2165
- const _hoisted_4$b = { class: "u-swiper__title-text" };
2166
- const _hoisted_5$8 = {
2164
+ const _hoisted_3$e = { class: "u-swiper__title-text" };
2165
+ const _hoisted_4$b = {
2167
2166
  key: 2,
2168
2167
  class: "u-swiper__indicator"
2169
2168
  };
@@ -2266,7 +2265,10 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
2266
2265
  });
2267
2266
  return (_ctx, _cache) => {
2268
2267
  const _component_swiper = resolveComponent("swiper");
2269
- return openBlock(), createElementBlock("view", _hoisted_1$l, [
2268
+ return openBlock(), createElementBlock("view", {
2269
+ class: "u-swiper",
2270
+ style: normalizeStyle({ "--swiper-height": swiperHeight.value })
2271
+ }, [
2270
2272
  createVNode(_component_swiper, {
2271
2273
  class: "u-swiper__wrapper",
2272
2274
  autoplay: __props.autoplay,
@@ -2286,13 +2288,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
2286
2288
  ]),
2287
2289
  _: 3
2288
2290
  }, 8, ["autoplay", "interval", "duration", "indicator-dots", "indicator-color", "indicator-active-color", "circular", "vertical", "current"]),
2289
- __props.loading ? (openBlock(), createElementBlock("view", _hoisted_2$h, [..._cache[0] || (_cache[0] = [
2291
+ __props.loading ? (openBlock(), createElementBlock("view", _hoisted_1$l, [..._cache[0] || (_cache[0] = [
2290
2292
  createElementVNode("view", { class: "u-swiper__loading-icon" }, null, -1)
2291
2293
  ])])) : createCommentVNode("", true),
2292
- __props.showTitle && currentTitle.value ? (openBlock(), createElementBlock("view", _hoisted_3$e, [
2293
- createElementVNode("text", _hoisted_4$b, toDisplayString(currentTitle.value), 1)
2294
+ __props.showTitle && currentTitle.value ? (openBlock(), createElementBlock("view", _hoisted_2$h, [
2295
+ createElementVNode("text", _hoisted_3$e, toDisplayString(currentTitle.value), 1)
2294
2296
  ])) : createCommentVNode("", true),
2295
- showIndicator.value && indicatorSlot.value ? (openBlock(), createElementBlock("view", _hoisted_5$8, [
2297
+ showIndicator.value && indicatorSlot.value ? (openBlock(), createElementBlock("view", _hoisted_4$b, [
2296
2298
  renderSlot(_ctx.$slots, "indicator", {
2297
2299
  current: currentIndex.value,
2298
2300
  total: itemCount.value
@@ -2310,11 +2312,11 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
2310
2312
  }, null, 2);
2311
2313
  }), 128))
2312
2314
  ], 6)) : createCommentVNode("", true)
2313
- ]);
2315
+ ], 4);
2314
2316
  };
2315
2317
  }
2316
2318
  });
2317
- const uSwiper = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-aa989e67"]]);
2319
+ const uSwiper = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-58aa8214"]]);
2318
2320
  const __default__$o = {
2319
2321
  options: {
2320
2322
  virtualHost: true,