@wikicasa-dev/components 2.0.12 → 2.0.13
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/CheckboxBtn.js +10 -6
- package/dist/assets/CheckboxBtn.css +1 -1
- package/package.json +1 -1
package/dist/CheckboxBtn.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as b, useId as f, computed as h, openBlock as
|
|
1
|
+
import { defineComponent as b, useId as f, computed as h, openBlock as s, createElementBlock as r, normalizeClass as l, withModifiers as o, createElementVNode as u, renderSlot as m, toDisplayString as C, createCommentVNode as g } from "vue";
|
|
2
2
|
import { _ as y } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
3
3
|
import './assets/CheckboxBtn.css';const v = ["id"], V = ["id", "data-cy", "checked", "disabled"], B = ["for"], w = /* @__PURE__ */ b({
|
|
4
4
|
__name: "CheckboxBtn",
|
|
@@ -30,9 +30,13 @@ import './assets/CheckboxBtn.css';const v = ["id"], V = ["id", "data-cy", "check
|
|
|
30
30
|
}, p = () => {
|
|
31
31
|
k(), i.handleLabelClick && a("click");
|
|
32
32
|
};
|
|
33
|
-
return (e, t) => (
|
|
33
|
+
return (e, t) => (s(), r("div", {
|
|
34
34
|
id: e.containerId,
|
|
35
|
-
class: l(["uikit-group uikit-relative uikit-items-center uikit-pl-30px hover:uikit-cursor-pointer", [
|
|
35
|
+
class: l(["uikit-group uikit-relative uikit-items-center uikit-pl-30px hover:uikit-cursor-pointer", [
|
|
36
|
+
{ "uikit-inline-flex": e.inline },
|
|
37
|
+
{ "uikit-flex": !e.inline },
|
|
38
|
+
e.$attrs["wrapper-classes"]
|
|
39
|
+
]]),
|
|
36
40
|
onClick: o(p, ["stop"])
|
|
37
41
|
}, [
|
|
38
42
|
u("input", {
|
|
@@ -57,7 +61,7 @@ import './assets/CheckboxBtn.css';const v = ["id"], V = ["id", "data-cy", "check
|
|
|
57
61
|
class: l(["uikit-text-sm group-hover:uikit-cursor-pointer", [e.labelClass, { "uikit-text-w-danger": e.isValid === !1 }]]),
|
|
58
62
|
for: n.value
|
|
59
63
|
}, C(e.label), 11, B),
|
|
60
|
-
e.required ? (
|
|
64
|
+
e.required ? (s(), r("span", {
|
|
61
65
|
key: 0,
|
|
62
66
|
class: l(["required after:uikit-content-['*']", [
|
|
63
67
|
e.isValid !== !1 ? "after:uikit-text-w-primary" : "after:uikit-text-w-danger"
|
|
@@ -66,7 +70,7 @@ import './assets/CheckboxBtn.css';const v = ["id"], V = ["id", "data-cy", "check
|
|
|
66
70
|
], !0)
|
|
67
71
|
], 10, v));
|
|
68
72
|
}
|
|
69
|
-
}),
|
|
73
|
+
}), $ = /* @__PURE__ */ y(w, [["__scopeId", "data-v-505c1129"]]);
|
|
70
74
|
export {
|
|
71
|
-
|
|
75
|
+
$ as default
|
|
72
76
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.checked-bg[data-v-
|
|
1
|
+
.checked-bg[data-v-505c1129]:checked{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg transform='translate(-307 -2432)'%3E%3Crect width='16' height='16' fill='%232b5dff' data-name='Rettangolo 2689' rx='3' transform='translate(307 2432)'/%3E%3Cpath fill='none' stroke='%23f4f7ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m319.499 2437.499-6 6Zm-9 3 3 3Z' data-name='Unione 5'/%3E%3C/g%3E%3C/svg%3E")}.checked-bg-invalid[data-v-505c1129]:checked{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cg transform='translate(-307 -2432)'%3E%3Crect width='16' height='16' fill='%23FA4F64' data-name='Rettangolo 2689' rx='3' transform='translate(307 2432)'/%3E%3Cpath fill='none' stroke='%23f4f7ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m319.499 2437.499-6 6Zm-9 3 3 3Z' data-name='Unione 5'/%3E%3C/g%3E%3C/svg%3E")}
|