abl-ui 0.2.95 → 0.2.96
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/lib/abl-ui.es.js +9 -4
- package/lib/abl-ui.umd.js +2 -2
- package/lib/iconfont/demo_index.html +29 -6
- package/lib/iconfont/iconfont.css +10 -6
- package/lib/iconfont/iconfont.eot +0 -0
- package/lib/iconfont/iconfont.js +1 -1
- package/lib/iconfont/iconfont.json +7 -0
- package/lib/iconfont/iconfont.svg +2 -0
- package/lib/iconfont/iconfont.ttf +0 -0
- package/lib/iconfont/iconfont.woff +0 -0
- package/lib/iconfont/iconfont.woff2 +0 -0
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/abl-ui.es.js
CHANGED
|
@@ -166,11 +166,12 @@ const Rn = { class: "abl-tabs" }, In = {
|
|
|
166
166
|
const n = t, a = De(), o = e, l = w({}), r = w(), i = w([]), s = w(), d = w(0), g = w(!1), f = w(!1), p = w(!0);
|
|
167
167
|
(b = a.default()) == null || b.map(({ props: S }) => {
|
|
168
168
|
if (S) {
|
|
169
|
-
const { title: $, value: L, icon: k } = S;
|
|
169
|
+
const { title: $, value: L, icon: k, afterIcon: y } = S;
|
|
170
170
|
i.value.push({
|
|
171
171
|
title: $,
|
|
172
172
|
value: L,
|
|
173
|
-
icon: k
|
|
173
|
+
icon: k,
|
|
174
|
+
afterIcon: y
|
|
174
175
|
});
|
|
175
176
|
}
|
|
176
177
|
}), Ie("active", d);
|
|
@@ -237,7 +238,11 @@ const Rn = { class: "abl-tabs" }, In = {
|
|
|
237
238
|
key: 0,
|
|
238
239
|
class: B(["iconfont-abl tab-icon", k.icon])
|
|
239
240
|
}, null, 2)) : E("", !0),
|
|
240
|
-
G(N(k.title), 1)
|
|
241
|
+
G(N(k.title) + " ", 1),
|
|
242
|
+
k.afterIcon ? (u(), h("i", {
|
|
243
|
+
key: 1,
|
|
244
|
+
class: B(["iconfont-abl tab-icon-after", k.afterIcon])
|
|
245
|
+
}, null, 2)) : E("", !0)
|
|
241
246
|
], 10, Tn))), 128)),
|
|
242
247
|
(L = l.value) != null && L.width ? (u(), h("div", {
|
|
243
248
|
key: 0,
|
|
@@ -262,7 +267,7 @@ const Rn = { class: "abl-tabs" }, In = {
|
|
|
262
267
|
]);
|
|
263
268
|
};
|
|
264
269
|
}
|
|
265
|
-
}, Mn = /* @__PURE__ */ Q(Nn, [["__scopeId", "data-v-
|
|
270
|
+
}, Mn = /* @__PURE__ */ Q(Nn, [["__scopeId", "data-v-a102bbbb"]]), Dn = {
|
|
266
271
|
name: "AblSwitch"
|
|
267
272
|
}, Pn = /* @__PURE__ */ Ke({
|
|
268
273
|
...Dn,
|