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