@ulu/frontend-vue 0.1.3-beta.7 → 0.1.3-beta.8
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/frontend-vue.js
CHANGED
|
@@ -3407,8 +3407,8 @@ const bh = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3407
3407
|
listStyleType: String
|
|
3408
3408
|
},
|
|
3409
3409
|
setup(e) {
|
|
3410
|
-
const s = e, t = S(() => s.ordered || s.forceOrdered ? "ol" : "ul");
|
|
3411
|
-
return (
|
|
3410
|
+
const s = e, t = S(() => s.ordered || s.forceOrdered), n = S(() => t.value ? "ol" : "ul");
|
|
3411
|
+
return (l, o) => (c(), _(F(n.value), {
|
|
3412
3412
|
class: m([
|
|
3413
3413
|
{
|
|
3414
3414
|
"list-ordered": e.ordered,
|
|
@@ -3421,19 +3421,19 @@ const bh = /* @__PURE__ */ j(Nl, [["render", Dl]]), Wl = { class: "card__body" }
|
|
|
3421
3421
|
style: X({
|
|
3422
3422
|
listStyleType: e.listStyleType
|
|
3423
3423
|
}),
|
|
3424
|
-
reversed: e.reversed,
|
|
3424
|
+
reversed: t.value ? e.reversed : null,
|
|
3425
3425
|
start: e.start
|
|
3426
3426
|
}, {
|
|
3427
3427
|
default: k(() => [
|
|
3428
|
-
(c(!0), f(x, null, B(e.items, (
|
|
3429
|
-
key:
|
|
3428
|
+
(c(!0), f(x, null, B(e.items, (r, a) => (c(), f("li", {
|
|
3429
|
+
key: a,
|
|
3430
3430
|
class: m(e.classes.listItem)
|
|
3431
3431
|
}, [
|
|
3432
|
-
g(
|
|
3433
|
-
item:
|
|
3434
|
-
index:
|
|
3432
|
+
g(l.$slots, "default", {
|
|
3433
|
+
item: r,
|
|
3434
|
+
index: a
|
|
3435
3435
|
}, () => [
|
|
3436
|
-
C(b(
|
|
3436
|
+
C(b(r), 1)
|
|
3437
3437
|
])
|
|
3438
3438
|
], 2))), 128))
|
|
3439
3439
|
]),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UluList.vue.d.ts","sourceRoot":"","sources":["../../../../lib/components/elements/UluList.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UluList.vue.d.ts","sourceRoot":"","sources":["../../../../lib/components/elements/UluList.vue"],"names":[],"mappings":"wBAyOqB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;;qBAEpD,CAAC,EAAE,CAAC;;;AARzB;YAGmB,OAAO,CAAC,OAAO,KAAK,CAAC;;;;;;;;;;;2OAErC;;;;;;;AAjJD;;;;;;;;;;;EA8CG"}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
:style="{
|
|
14
14
|
listStyleType: listStyleType
|
|
15
15
|
}"
|
|
16
|
-
:reversed="reversed"
|
|
16
|
+
:reversed="isOrdered ? reversed : null"
|
|
17
17
|
:start="start"
|
|
18
18
|
>
|
|
19
19
|
<li
|
|
@@ -79,7 +79,6 @@
|
|
|
79
79
|
listStyleType: String,
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
const
|
|
83
|
-
|
|
84
|
-
});
|
|
82
|
+
const isOrdered = computed(() => props.ordered || props.forceOrdered);
|
|
83
|
+
const listElement = computed(() => isOrdered.value ? "ol" : "ul");
|
|
85
84
|
</script>
|