@atooyu/uxto-ui 1.1.4 → 1.1.5
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 +24 -25
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +24 -25
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +19 -20
- package/package.json +1 -1
- package/src/components/u-swiper/u-swiper.vue +2 -2
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$
|
|
15
|
+
const _hoisted_5$d = { 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$
|
|
79
|
+
createElementVNode("text", _hoisted_5$d, [
|
|
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$
|
|
102
|
+
const _hoisted_5$c = {
|
|
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$
|
|
195
|
+
_ctx.$slots.suffix || __props.suffixIcon ? (openBlock(), createElementBlock("view", _hoisted_5$c, [
|
|
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$
|
|
212
|
+
const _hoisted_5$b = { 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$
|
|
280
|
+
createElementVNode("view", _hoisted_5$b, [
|
|
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$
|
|
340
|
+
const _hoisted_5$a = { 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$
|
|
395
|
+
createElementVNode("view", _hoisted_5$a, [
|
|
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$
|
|
2073
|
+
const _hoisted_5$9 = { 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$
|
|
2143
|
+
createElementVNode("text", _hoisted_5$9, 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,16 +2153,17 @@ 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 = {
|
|
2156
|
+
const _hoisted_1$l = { class: "u-swiper" };
|
|
2157
|
+
const _hoisted_2$h = {
|
|
2157
2158
|
key: 0,
|
|
2158
2159
|
class: "u-swiper__loading"
|
|
2159
2160
|
};
|
|
2160
|
-
const
|
|
2161
|
+
const _hoisted_3$e = {
|
|
2161
2162
|
key: 1,
|
|
2162
2163
|
class: "u-swiper__title"
|
|
2163
2164
|
};
|
|
2164
|
-
const
|
|
2165
|
-
const
|
|
2165
|
+
const _hoisted_4$b = { class: "u-swiper__title-text" };
|
|
2166
|
+
const _hoisted_5$8 = {
|
|
2166
2167
|
key: 2,
|
|
2167
2168
|
class: "u-swiper__indicator"
|
|
2168
2169
|
};
|
|
@@ -2265,12 +2266,10 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
2265
2266
|
});
|
|
2266
2267
|
return (_ctx, _cache) => {
|
|
2267
2268
|
const _component_swiper = resolveComponent("swiper");
|
|
2268
|
-
return openBlock(), createElementBlock("view",
|
|
2269
|
-
class: "u-swiper",
|
|
2270
|
-
style: normalizeStyle({ "--swiper-height": swiperHeight.value })
|
|
2271
|
-
}, [
|
|
2269
|
+
return openBlock(), createElementBlock("view", _hoisted_1$l, [
|
|
2272
2270
|
createVNode(_component_swiper, {
|
|
2273
2271
|
class: "u-swiper__wrapper",
|
|
2272
|
+
style: normalizeStyle({ height: swiperHeight.value }),
|
|
2274
2273
|
autoplay: __props.autoplay,
|
|
2275
2274
|
interval: __props.interval,
|
|
2276
2275
|
duration: __props.duration,
|
|
@@ -2287,14 +2286,14 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
2287
2286
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
2288
2287
|
]),
|
|
2289
2288
|
_: 3
|
|
2290
|
-
}, 8, ["autoplay", "interval", "duration", "indicator-dots", "indicator-color", "indicator-active-color", "circular", "vertical", "current"]),
|
|
2291
|
-
__props.loading ? (openBlock(), createElementBlock("view",
|
|
2289
|
+
}, 8, ["style", "autoplay", "interval", "duration", "indicator-dots", "indicator-color", "indicator-active-color", "circular", "vertical", "current"]),
|
|
2290
|
+
__props.loading ? (openBlock(), createElementBlock("view", _hoisted_2$h, [..._cache[0] || (_cache[0] = [
|
|
2292
2291
|
createElementVNode("view", { class: "u-swiper__loading-icon" }, null, -1)
|
|
2293
2292
|
])])) : createCommentVNode("", true),
|
|
2294
|
-
__props.showTitle && currentTitle.value ? (openBlock(), createElementBlock("view",
|
|
2295
|
-
createElementVNode("text",
|
|
2293
|
+
__props.showTitle && currentTitle.value ? (openBlock(), createElementBlock("view", _hoisted_3$e, [
|
|
2294
|
+
createElementVNode("text", _hoisted_4$b, toDisplayString(currentTitle.value), 1)
|
|
2296
2295
|
])) : createCommentVNode("", true),
|
|
2297
|
-
showIndicator.value && indicatorSlot.value ? (openBlock(), createElementBlock("view",
|
|
2296
|
+
showIndicator.value && indicatorSlot.value ? (openBlock(), createElementBlock("view", _hoisted_5$8, [
|
|
2298
2297
|
renderSlot(_ctx.$slots, "indicator", {
|
|
2299
2298
|
current: currentIndex.value,
|
|
2300
2299
|
total: itemCount.value
|
|
@@ -2312,11 +2311,11 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
2312
2311
|
}, null, 2);
|
|
2313
2312
|
}), 128))
|
|
2314
2313
|
], 6)) : createCommentVNode("", true)
|
|
2315
|
-
]
|
|
2314
|
+
]);
|
|
2316
2315
|
};
|
|
2317
2316
|
}
|
|
2318
2317
|
});
|
|
2319
|
-
const uSwiper = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-
|
|
2318
|
+
const uSwiper = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-3e21a0fe"]]);
|
|
2320
2319
|
const __default__$o = {
|
|
2321
2320
|
options: {
|
|
2322
2321
|
virtualHost: true,
|