@ulu/frontend-vue 0.1.3-beta.6 → 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
|
]),
|
|
@@ -4016,11 +4016,11 @@ const $h = /* @__PURE__ */ j(Zl, [["render", tr]]), Ch = {
|
|
|
4016
4016
|
/**
|
|
4017
4017
|
* The value of the selected radio button in the group (for v-model).
|
|
4018
4018
|
*/
|
|
4019
|
-
modelValue: String,
|
|
4019
|
+
modelValue: [String, Number],
|
|
4020
4020
|
/**
|
|
4021
4021
|
* The value of this radio button.
|
|
4022
4022
|
*/
|
|
4023
|
-
value: String,
|
|
4023
|
+
value: [String, Number],
|
|
4024
4024
|
/**
|
|
4025
4025
|
* The name of the radio button group.
|
|
4026
4026
|
*/
|
|
@@ -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"}
|
|
@@ -7,10 +7,10 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
7
7
|
$emit: typeof __VLS_emit;
|
|
8
8
|
$props: Partial<typeof __VLS_props>;
|
|
9
9
|
required: boolean;
|
|
10
|
-
value?: string | undefined;
|
|
10
|
+
value?: string | number | undefined;
|
|
11
11
|
name?: string | undefined;
|
|
12
12
|
label?: string | undefined;
|
|
13
|
-
modelValue?: string | undefined;
|
|
13
|
+
modelValue?: string | number | undefined;
|
|
14
14
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
15
15
|
type __VLS_Slots = {
|
|
16
16
|
default?: ((props: {}) => any) | undefined;
|
|
@@ -18,9 +18,9 @@ type __VLS_Slots = {
|
|
|
18
18
|
declare const __VLS_emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
19
19
|
declare const __VLS_props: {
|
|
20
20
|
readonly required: boolean;
|
|
21
|
-
readonly value?: string | undefined;
|
|
21
|
+
readonly value?: string | number | undefined;
|
|
22
22
|
readonly name?: string | undefined;
|
|
23
23
|
readonly label?: string | undefined;
|
|
24
|
-
readonly modelValue?: string | undefined;
|
|
24
|
+
readonly modelValue?: string | number | undefined;
|
|
25
25
|
};
|
|
26
26
|
//# sourceMappingURL=UluFormRadio.vue.d.ts.map
|
|
@@ -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>
|
|
@@ -27,11 +27,11 @@ defineProps({
|
|
|
27
27
|
/**
|
|
28
28
|
* The value of the selected radio button in the group (for v-model).
|
|
29
29
|
*/
|
|
30
|
-
modelValue: String,
|
|
30
|
+
modelValue: [String, Number],
|
|
31
31
|
/**
|
|
32
32
|
* The value of this radio button.
|
|
33
33
|
*/
|
|
34
|
-
value: String,
|
|
34
|
+
value: [String, Number],
|
|
35
35
|
/**
|
|
36
36
|
* The name of the radio button group.
|
|
37
37
|
*/
|