@wikicasa-dev/components 1.2.54 → 1.2.55

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.
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./chunks/RadioButton.vue_vue_type_script_setup_true_lang.CJE9e0tE.js";
1
+ import { _ as f } from "./chunks/RadioButton.vue_vue_type_script_setup_true_lang.SVKzj6co.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./chunks/RadioGroup.vue_vue_type_script_setup_true_lang.C2qvBRnU.js";
1
+ import { _ as f } from "./chunks/RadioGroup.vue_vue_type_script_setup_true_lang.BCllOKE6.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as d, ref as h, openBlock as m, createElementBlock as p, normalizeClass as t, withModifiers as a, createElementVNode as s, createTextVNode as b, toDisplayString as f, useAttrs as C } from "vue";
2
- const _ = ["id", "value", "name", "checked"], w = ["for"], v = /* @__PURE__ */ d({
1
+ import { defineComponent as h, useAttrs as m, ref as p, openBlock as b, createElementBlock as f, normalizeClass as t, withModifiers as o, createElementVNode as s, createTextVNode as C, toDisplayString as _ } from "vue";
2
+ const w = ["id", "value", "name", "checked"], y = ["for"], $ = /* @__PURE__ */ h({
3
3
  inheritAttrs: !1,
4
4
  __name: "RadioButton",
5
5
  props: {
@@ -7,22 +7,21 @@ const _ = ["id", "value", "name", "checked"], w = ["for"], v = /* @__PURE__ */ d
7
7
  isChecked: { type: Boolean, default: !1 }
8
8
  },
9
9
  emits: ["change"],
10
- setup(o, { emit: r }) {
11
- const l = o, u = r, n = () => {
12
- const e = C();
13
- u("change", {
14
- id: e.id,
15
- label: l.label,
16
- name: e.name
10
+ setup(r, { emit: l }) {
11
+ const u = r, c = l, n = m(), a = () => {
12
+ c("change", {
13
+ id: n.id,
14
+ label: u.label,
15
+ name: n.name
17
16
  });
18
- }, i = h(null), c = () => {
19
- i.value && (i.value.checked = !i.value.checked, n());
20
- }, k = () => {
21
- n();
17
+ }, i = p(null), k = () => {
18
+ i.value && (i.value.checked = !i.value.checked, a());
19
+ }, d = () => {
20
+ a();
22
21
  };
23
- return (e, y) => (m(), p("div", {
22
+ return (e, g) => (b(), f("div", {
24
23
  class: t([e.$attrs.class, "uikit-mb-4 uikit-mr-4 uikit-inline-block"]),
25
- onClick: a(c, ["stop"])
24
+ onClick: o(k, ["stop"])
26
25
  }, [
27
26
  s("input", {
28
27
  id: e.$attrs.id,
@@ -33,8 +32,8 @@ const _ = ["id", "value", "name", "checked"], w = ["for"], v = /* @__PURE__ */ d
33
32
  value: e.label,
34
33
  name: e.$attrs.name,
35
34
  checked: e.isChecked,
36
- onChange: a(k, ["stop"])
37
- }, null, 40, _),
35
+ onChange: o(d, ["stop"])
36
+ }, null, 40, w),
38
37
  s("label", {
39
38
  class: t([e.$attrs["label-classes"], "uikit-flex uikit-cursor-pointer uikit-items-center uikit-text-sm"]),
40
39
  for: e.$attrs.id
@@ -44,11 +43,11 @@ const _ = ["id", "value", "name", "checked"], w = ["for"], v = /* @__PURE__ */ d
44
43
  "uikit-border-w-primary uikit-bg-w-primary uikit-shadow-[0_0_0_2px_white_inset]": e.isChecked
45
44
  }])
46
45
  }, null, 2),
47
- b(" " + f(e.label), 1)
48
- ], 10, w)
46
+ C(" " + _(e.label), 1)
47
+ ], 10, y)
49
48
  ], 2));
50
49
  }
51
50
  });
52
51
  export {
53
- v as _
52
+ $ as _
54
53
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, ref as f, watch as h, onBeforeMount as v, renderSlot as o, createElementVNode as V, normalizeClass as k, openBlock as u, createElementBlock as _, Fragment as C, renderList as $, createBlock as b } from "vue";
2
- import { _ as y } from "./RadioButton.vue_vue_type_script_setup_true_lang.CJE9e0tE.js";
2
+ import { _ as y } from "./RadioButton.vue_vue_type_script_setup_true_lang.SVKzj6co.js";
3
3
  const B = ["data-cy"], E = /* @__PURE__ */ p({
4
4
  inheritAttrs: !1,
5
5
  __name: "RadioGroup",
package/dist/index.js CHANGED
@@ -6,8 +6,8 @@ import { _ as m } from "./chunks/BaseAccordionItem.vue_vue_type_script_setup_tru
6
6
  import { _ as l } from "./chunks/SelectItem.vue_vue_type_script_setup_true_lang.BOLdDTLM.js";
7
7
  import { default as B } from "./CheckboxBtn.js";
8
8
  import { _ as n } from "./chunks/CheckboxGroup.vue_vue_type_script_setup_true_lang.DDtN9_Bg.js";
9
- import { _ as c } from "./chunks/RadioButton.vue_vue_type_script_setup_true_lang.CJE9e0tE.js";
10
- import { _ as b } from "./chunks/RadioGroup.vue_vue_type_script_setup_true_lang.C2qvBRnU.js";
9
+ import { _ as c } from "./chunks/RadioButton.vue_vue_type_script_setup_true_lang.SVKzj6co.js";
10
+ import { _ as b } from "./chunks/RadioGroup.vue_vue_type_script_setup_true_lang.BCllOKE6.js";
11
11
  import { _ as A } from "./chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.lyHlWiC5.js";
12
12
  import { _ as C } from "./chunks/BaseAlert.vue_vue_type_script_setup_true_lang.HqYdk4yE.js";
13
13
  import { _ as T } from "./chunks/BaseAutocomplete.vue_vue_type_script_setup_true_lang.3aynnDI5.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wikicasa-dev/components",
3
- "version": "1.2.54",
3
+ "version": "1.2.55",
4
4
  "description": "Wikicasa frontend components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",