ablok-components 0.3.141 → 0.3.142
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.
|
@@ -8,6 +8,9 @@ declare const __VLS_export: import('../../../../vue/dist/vue.esm-bundler.js').De
|
|
|
8
8
|
label: {
|
|
9
9
|
type: StringConstructor;
|
|
10
10
|
};
|
|
11
|
+
className: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
};
|
|
11
14
|
error: {
|
|
12
15
|
type: StringConstructor;
|
|
13
16
|
};
|
|
@@ -53,6 +56,9 @@ declare const __VLS_export: import('../../../../vue/dist/vue.esm-bundler.js').De
|
|
|
53
56
|
label: {
|
|
54
57
|
type: StringConstructor;
|
|
55
58
|
};
|
|
59
|
+
className: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
};
|
|
56
62
|
error: {
|
|
57
63
|
type: StringConstructor;
|
|
58
64
|
};
|
package/dist/components/atoms/input-checkbox/input-checkbox.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { sanitizeHtml as e } from "../../../composables/useSanitize.js";
|
|
2
|
-
import { computed as t, createElementBlock as n, createElementVNode as r, defineComponent as i,
|
|
2
|
+
import { computed as t, createElementBlock as n, createElementVNode as r, defineComponent as i, normalizeClass as a, openBlock as o, unref as s, vModelCheckbox as c, withDirectives as l } from "vue";
|
|
3
3
|
//#region src/components/atoms/input-checkbox/input-checkbox.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
-
var
|
|
4
|
+
var u = [
|
|
5
5
|
"value",
|
|
6
6
|
"id",
|
|
7
7
|
"name",
|
|
@@ -15,6 +15,7 @@ var l = { class: "form-check input input--checkbox" }, u = [
|
|
|
15
15
|
id: { type: String },
|
|
16
16
|
name: { type: String },
|
|
17
17
|
label: { type: String },
|
|
18
|
+
className: { type: String },
|
|
18
19
|
error: { type: String },
|
|
19
20
|
disabled: {
|
|
20
21
|
type: Boolean,
|
|
@@ -50,7 +51,7 @@ var l = { class: "form-check input input--checkbox" }, u = [
|
|
|
50
51
|
m("update:checked", e), m("update:modelValue", e);
|
|
51
52
|
}
|
|
52
53
|
});
|
|
53
|
-
return (t, f) => (
|
|
54
|
+
return (t, f) => (o(), n("div", { class: a(["form-check input input--checkbox", i.className]) }, [l(r("input", {
|
|
54
55
|
ref: "input",
|
|
55
56
|
"onUpdate:modelValue": f[0] ||= (e) => h.value = e,
|
|
56
57
|
value: i.value,
|
|
@@ -62,11 +63,11 @@ var l = { class: "form-check input input--checkbox" }, u = [
|
|
|
62
63
|
class: "form-check-input",
|
|
63
64
|
"true-value": i.trueValue,
|
|
64
65
|
"false-value": i.falseValue
|
|
65
|
-
}, null, 8, u), [[
|
|
66
|
+
}, null, 8, u), [[c, h.value]]), r("label", {
|
|
66
67
|
class: "input__label form-check-label",
|
|
67
68
|
for: i.id,
|
|
68
|
-
innerHTML:
|
|
69
|
-
}, null, 8, d)]));
|
|
69
|
+
innerHTML: s(e)(i.label || "")
|
|
70
|
+
}, null, 8, d)], 2));
|
|
70
71
|
}
|
|
71
72
|
});
|
|
72
73
|
//#endregion
|