@wikicasa-dev/components 2.2.8-alpha.2 → 2.2.8-alpha.21

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,11 +1,11 @@
1
- import { defineComponent as L, mergeModels as b, useId as M, useModel as A, ref as h, computed as E, useTemplateRef as O, watch as d, onBeforeMount as W, onMounted as $, onUnmounted as H, createElementBlock as K, openBlock as c, withModifiers as y, normalizeClass as l, renderSlot as C, createBlock as g, createVNode as N, unref as n, withCtx as D, createElementVNode as T, createCommentVNode as V, resolveDynamicComponent as q } from "vue";
2
- import z from "./BaseButton.vue.js";
3
- import { ArrowIcon as R } from "@wikicasa-dev/svg-icons";
4
- import { useKeyboardController as U } from "@wikicasa-dev/vue-composables";
5
- const j = ["innerHTML"], X = /* @__PURE__ */ L({
1
+ import { defineComponent as L, mergeModels as C, useId as E, useModel as h, shallowRef as g, computed as O, useTemplateRef as W, watch as a, onBeforeMount as $, onMounted as T, onUnmounted as H, nextTick as N, createElementBlock as V, openBlock as f, normalizeClass as n, renderSlot as D, createBlock as x, createVNode as R, unref as d, withCtx as B, createElementVNode as q, createCommentVNode as z, resolveDynamicComponent as U, withModifiers as j } from "vue";
2
+ import F from "./BaseButton.vue.js";
3
+ import { ArrowIcon as G } from "@wikicasa-dev/svg-icons";
4
+ import { useKeyboardController as J } from "@wikicasa-dev/vue-composables";
5
+ const P = ["innerHTML"], ee = /* @__PURE__ */ L({
6
6
  inheritAttrs: !1,
7
7
  __name: "BaseDropDown",
8
- props: /* @__PURE__ */ b({
8
+ props: /* @__PURE__ */ C({
9
9
  dropdownClasses: { default: "" },
10
10
  btnClasses: { default: "" },
11
11
  withArrowIcon: { type: Boolean, default: !1 },
@@ -23,87 +23,103 @@ const j = ["innerHTML"], X = /* @__PURE__ */ L({
23
23
  dataCy: { default: "" }
24
24
  }, {
25
25
  toggleDropdown: { type: Boolean, default: void 0 },
26
- toggleDropdownModifiers: {}
26
+ toggleDropdownModifiers: {},
27
+ resetKeyboardController: { type: Boolean, default: !1 },
28
+ resetKeyboardControllerModifiers: {}
27
29
  }),
28
- emits: /* @__PURE__ */ b(["click", "update:dropdownState"], ["update:toggleDropdown"]),
29
- setup(t, { emit: B }) {
30
- const i = t, f = M(), k = B, w = A(t, "toggleDropdown"), o = h(!1), r = h([]), x = E(() => r.value.length), v = O("dropdown"), { activeIdx: m, selectedIdx: u } = U({
31
- optionsLength: x,
30
+ emits: /* @__PURE__ */ C(["click", "update:dropdownState"], ["update:toggleDropdown", "update:resetKeyboardController"]),
31
+ setup(t, { expose: I, emit: S }) {
32
+ const l = t, k = E(), w = S, v = h(t, "toggleDropdown"), m = h(
33
+ t,
34
+ "resetKeyboardController"
35
+ ), o = g(!1), s = g([]), M = O(() => s.value.length), p = W("dropdown"), { activeIdx: r, selectedIdx: i } = J({
36
+ optionsLength: M,
32
37
  isDropdownOpen: o,
33
- activate: i.activateKeyboardController
38
+ activate: l.activateKeyboardController
34
39
  });
35
- d(
36
- () => i.openDropdown,
40
+ a(
41
+ () => l.openDropdown,
37
42
  (e) => {
38
43
  o.value = e;
39
44
  },
40
45
  {
41
46
  immediate: !0
42
47
  }
43
- ), d(o, (e) => {
44
- k("update:dropdownState", e);
45
- }), d(w, (e) => {
46
- e && (o.value = !o.value, w.value = !1);
47
- }), d(u, (e) => {
48
- e !== -1 && r.value[e].querySelector("a")?.click();
48
+ ), a(o, (e) => {
49
+ w("update:dropdownState", e);
50
+ }), a(v, (e) => {
51
+ e && (o.value = !o.value, v.value = !1);
52
+ }), a(i, (e) => {
53
+ e !== -1 && s.value[e].querySelector("a")?.click();
49
54
  });
50
- const p = () => {
55
+ const b = () => {
51
56
  o.value = !1;
52
- }, s = () => {
53
- i.keepState === "closed" && !o.value || i.keepState === "opened" && o.value || (o.value = !o.value);
54
- }, I = (e) => {
55
- e != null && (m.value = e);
56
- }, S = (e) => {
57
- e != null && (u.value = e);
57
+ }, c = () => {
58
+ l.keepState === "closed" && !o.value || l.keepState === "opened" && o.value || (o.value = !o.value);
59
+ }, A = (e) => {
60
+ e != null && (r.value = e);
61
+ }, K = (e) => {
62
+ e != null && (i.value = e);
58
63
  };
59
- return W(() => {
60
- i.closeWhenClickedOutside && document.body.addEventListener("click", p);
61
- }), $(() => {
62
- v.value && (r.value = v.value.children || []);
64
+ $(() => {
65
+ l.closeWhenClickedOutside && document.addEventListener("click", b);
66
+ });
67
+ const y = () => {
68
+ p.value && (s.value = Array.from(p.value.children));
69
+ };
70
+ return T(() => {
71
+ y();
63
72
  }), H(() => {
64
- i.closeWhenClickedOutside && document.body.removeEventListener("click", p);
65
- }), (e, a) => (c(), K("div", {
66
- class: l(["uikit-relative uikit-block", e.$attrs.class]),
67
- onClick: a[1] || (a[1] = y((F) => {
68
- k("click"), s();
69
- }, ["stop"]))
73
+ l.closeWhenClickedOutside && document.removeEventListener("click", b);
74
+ }), a(m, (e) => {
75
+ e && (r.value = -1, i.value = -1, N(() => {
76
+ y(), m.value = !1;
77
+ }));
78
+ }), I({
79
+ activeIdx: r,
80
+ selectedIdx: i
81
+ }), (e, u) => (f(), V("div", {
82
+ class: n(["uikit-relative uikit-block", e.$attrs.class])
70
83
  }, [
71
- C(e.$slots, "btn_slot", {
72
- toggleDropdown: s,
84
+ D(e.$slots, "btn_slot", {
85
+ toggleDropdown: c,
73
86
  isOpen: o.value
74
87
  }, () => [
75
- N(z, {
76
- id: n(f),
88
+ R(F, {
89
+ id: d(k),
77
90
  type: "button",
78
91
  "data-cy": t.dataCy,
79
- class: l([
92
+ class: n([
80
93
  "!uikit-flex uikit-w-full uikit-items-center uikit-truncate",
81
94
  t.btnClasses
82
95
  ]),
83
96
  "aria-expanded": o.value,
84
- "btn-class": "uikit-btn-single-selection"
97
+ "btn-class": "uikit-btn-single-selection",
98
+ onClick: u[0] || (u[0] = (Q) => {
99
+ w("click"), c();
100
+ })
85
101
  }, {
86
- default: D(() => [
87
- T("span", {
88
- class: l(["uikit-mr-5px", t.labelClasses]),
102
+ default: B(() => [
103
+ q("span", {
104
+ class: n(["uikit-mr-5px", t.labelClasses]),
89
105
  innerHTML: t.btnLabel
90
- }, null, 10, j),
91
- t.withArrowIcon ? (c(), g(n(R), {
106
+ }, null, 10, P),
107
+ t.withArrowIcon ? (f(), x(d(G), {
92
108
  key: 0,
93
- class: l(["uikit-shrink-0 uikit-transition-transform motion-reduce:uikit-transition-none", o.value ? "uikit-rotate-180" : ""]),
109
+ class: n(["uikit-shrink-0 uikit-transition-transform motion-reduce:uikit-transition-none", o.value ? "uikit-rotate-180" : ""]),
94
110
  width: t.arrowWidth,
95
111
  height: t.arrowWidth,
96
112
  "stroke-color": t.arrowStrokeColor
97
- }, null, 8, ["class", "width", "height", "stroke-color"])) : V("", !0)
113
+ }, null, 8, ["class", "width", "height", "stroke-color"])) : z("", !0)
98
114
  ]),
99
115
  _: 1
100
116
  }, 8, ["id", "data-cy", "class", "aria-expanded"])
101
117
  ]),
102
- (c(), g(q(t.dropdownElement), {
103
- id: "dropdown_" + n(f),
118
+ (f(), x(U(t.dropdownElement), {
119
+ id: "dropdown_" + d(k),
104
120
  ref: "dropdown",
105
121
  "data-cy": t.dataCy && `${t.dataCy}_dropdown`,
106
- class: l(["uikit-dropdown-content uikit-w-full uikit-flex-col uikit-overflow-y-auto uikit-border uikit-border-solid uikit-bg-white uikit-pl-0 uikit-opacity-100 uikit-shadow uikit-no-scrollbar", [
122
+ class: n(["uikit-dropdown-content uikit-w-full uikit-flex-col uikit-overflow-y-auto uikit-border uikit-border-solid uikit-bg-white uikit-pl-0 uikit-opacity-100 uikit-shadow uikit-no-scrollbar", [
107
123
  t.dropdownClasses,
108
124
  o.value ? "uikit-flex" : "uikit-hidden",
109
125
  { "uikit-bottom-[55px] uikit-rounded-xs": t.direction === "up" },
@@ -111,17 +127,17 @@ const j = ["innerHTML"], X = /* @__PURE__ */ L({
111
127
  { "uikit-absolute": t.isAbsolute }
112
128
  ]]),
113
129
  "aria-hidden": !o.value,
114
- onClick: a[0] || (a[0] = y(() => {
130
+ onClick: u[1] || (u[1] = j(() => {
115
131
  }, ["stop"]))
116
132
  }, {
117
- default: D(() => [
118
- C(e.$slots, "default", {
133
+ default: B(() => [
134
+ D(e.$slots, "default", {
119
135
  isOpen: o.value,
120
- toggleDropdown: s,
121
- activeIdx: n(m),
122
- selectedIdx: n(u),
123
- setActiveIdx: I,
124
- setSelectedIdx: S
136
+ toggleDropdown: c,
137
+ activeIdx: d(r),
138
+ selectedIdx: d(i),
139
+ setActiveIdx: A,
140
+ setSelectedIdx: K
125
141
  })
126
142
  ]),
127
143
  _: 3
@@ -130,5 +146,5 @@ const j = ["innerHTML"], X = /* @__PURE__ */ L({
130
146
  }
131
147
  });
132
148
  export {
133
- X as default
149
+ ee as default
134
150
  };
@@ -1,7 +1,7 @@
1
- import { defineComponent as T, ref as n, useTemplateRef as z, onUnmounted as H, watch as I, createBlock as O, openBlock as r, Teleport as $, createElementVNode as l, normalizeClass as s, withModifiers as y, createElementBlock as h, createCommentVNode as w, renderSlot as d, createVNode as D, unref as K, nextTick as N } from "vue";
1
+ import { defineComponent as I, ref as n, useTemplateRef as T, onUnmounted as z, watch as H, createBlock as O, openBlock as r, Teleport as $, createElementVNode as l, normalizeClass as s, withModifiers as y, createElementBlock as h, createCommentVNode as w, renderSlot as d, createVNode as D, unref as K, nextTick as N } from "vue";
2
2
  import { isWindows as C, awaitableSetTimeout as S } from "@wikicasa-dev/utilities";
3
3
  import { CloseIcon as V } from "@wikicasa-dev/svg-icons";
4
- const F = ["id", "data-cy"], U = ["innerHTML"], R = /* @__PURE__ */ T({
4
+ const F = ["id", "data-cy"], U = ["innerHTML"], R = /* @__PURE__ */ I({
5
5
  __name: "BaseModal",
6
6
  props: {
7
7
  id: { default: "base-bt-modal" },
@@ -11,6 +11,7 @@ const F = ["id", "data-cy"], U = ["innerHTML"], R = /* @__PURE__ */ T({
11
11
  customModalHeaderClasses: {},
12
12
  customModalBodyClasses: {},
13
13
  customModalFooterClasses: {},
14
+ closeIcon: {},
14
15
  withCloseIcon: { type: Boolean, default: !0 },
15
16
  showModal: { type: Boolean, default: !0 },
16
17
  headerTitle: { default: "" },
@@ -24,7 +25,7 @@ const F = ["id", "data-cy"], U = ["innerHTML"], R = /* @__PURE__ */ T({
24
25
  },
25
26
  emits: ["closed", "opened", "dialogClick"],
26
27
  setup(e, { emit: g }) {
27
- const c = g, i = n(!1), m = n(null), a = z("modalDialog"), k = n(!1), u = n(!1), f = ({ key: t }) => {
28
+ const c = g, i = n(!1), m = n(null), a = T("modalDialog"), k = n(!1), u = n(!1), f = ({ key: t }) => {
28
29
  t === "Escape" && o();
29
30
  }, x = () => {
30
31
  document?.body.addEventListener("keydown", f);
@@ -53,9 +54,9 @@ const F = ["id", "data-cy"], U = ["innerHTML"], R = /* @__PURE__ */ T({
53
54
  m.value?.classList.add("uikit-hidden"), c("closed");
54
55
  }, 250);
55
56
  };
56
- return H(() => {
57
+ return z(() => {
57
58
  b(), document?.documentElement.classList.remove("uikit-no-scrolling"), C() ? document?.body.classList.remove("uikit-no-scrolling", "sm:uikit-pr-15px") : document?.body.classList.remove("uikit-no-scrolling");
58
- }), I(
59
+ }), H(
59
60
  () => e.showModal,
60
61
  async (t) => {
61
62
  !t && !i.value ? k.value = !0 : k.value = !1, t && !i.value && await p(), !t && i.value && await o(), i.value = t;
@@ -102,16 +103,16 @@ const F = ["id", "data-cy"], U = ["innerHTML"], R = /* @__PURE__ */ T({
102
103
  key: 0,
103
104
  id: "close-icon-btn",
104
105
  "data-cy": "bbt-default-close-icon-btn",
105
- class: s(["uikit-absolute uikit-right-15px uikit-top-15px uikit-z-10 uikit-bg-transparent", e.closeIconBtnClasses]),
106
+ class: s(["uikit-absolute uikit-right-15px uikit-top-15px uikit-z-10 uikit-bg-transparent uikit-p-5px", e.closeIconBtnClasses]),
106
107
  type: "button",
107
108
  "aria-label": "Close",
108
109
  onClick: y(o, ["prevent", "stop"])
109
110
  }, [
110
111
  D(K(V), {
111
- class: "bbt-close-icon uikit-box-border uikit-p-5px",
112
- width: 30,
113
- height: 30
114
- })
112
+ class: s(["bbt-close-icon uikit-box-border", e.closeIcon?.classes]),
113
+ width: e.closeIcon?.size || 30,
114
+ height: e.closeIcon?.size || 30
115
+ }, null, 8, ["class", "width", "height"])
115
116
  ], 2)) : w("", !0),
116
117
  d(t.$slots, "header", { closeModal: o }, () => [
117
118
  l("span", {
@@ -14,7 +14,7 @@ const N = ["for"], j = /* @__PURE__ */ m({
14
14
  label: { default: "" },
15
15
  modelValue: { type: Boolean, default: !1 }
16
16
  },
17
- emits: ["click", "change", "update:modelValue"],
17
+ emits: ["click", "update:modelValue", "change"],
18
18
  setup(e, { emit: r }) {
19
19
  const l = f(), d = h(() => `${e.id ?? l}`), a = r;
20
20
  b(
@@ -31,7 +31,7 @@ const N = ["for"], j = /* @__PURE__ */ m({
31
31
  }), a("update:modelValue", t));
32
32
  };
33
33
  return (t, o) => (u(), C("label", {
34
- class: "uikit-flex uikit-items-center uikit-gap-[12px] uikit-text-16",
34
+ class: "uikit-checkbox-btn uikit-flex uikit-items-center uikit-gap-[12px]",
35
35
  for: d.value,
36
36
  onClick: o[0] || (o[0] = (s) => a("click", s))
37
37
  }, [
@@ -40,7 +40,7 @@ const N = ["for"], j = /* @__PURE__ */ m({
40
40
  "model-value": e.modelValue,
41
41
  "data-cy": e.dataCy,
42
42
  disabled: e.disabled,
43
- class: y(["data-[state='unchecked']:uikit-border-w-lightgray uikit-inline-flex uikit-size-[20px] uikit-items-center uikit-justify-center uikit-rounded-[4px] uikit-p-0 data-[state='unchecked']:uikit-border data-[state='unchecked']:uikit-border-solid", [
43
+ class: y(["uikit-inline-flex uikit-size-[20px] uikit-items-center uikit-justify-center uikit-rounded-[4px] uikit-p-0 data-[state='unchecked']:uikit-border data-[state='unchecked']:uikit-border-solid data-[state='unchecked']:uikit-border-w-lightgray", [
44
44
  {
45
45
  "uikit-bg-white": !e.modelValue,
46
46
  "uikit-bg-w-primary": e.modelValue
@@ -1,7 +1,8 @@
1
- import { defineComponent as x, ref as p, computed as h, watch as v, renderSlot as b, createElementVNode as D, normalizeClass as E, createElementBlock as $, createCommentVNode as B, openBlock as g, Fragment as A, renderList as I, createBlock as R, unref as K } from "vue";
2
- import { stringToHyphened as V, isArrNullOrEmpty as L } from "@wikicasa-dev/utilities";
3
- import G from "./CheckboxBtn.vue.js";
4
- const N = ["id", "data-cy"], O = /* @__PURE__ */ x({
1
+ import { defineComponent as p, ref as v, computed as h, watch as D, renderSlot as b, createElementVNode as E, normalizeClass as $, createElementBlock as B, createCommentVNode as A, openBlock as g, Fragment as I, renderList as R, createBlock as K, unref as V } from "vue";
2
+ import { stringToHyphened as L, isArrNullOrEmpty as G } from "@wikicasa-dev/utilities";
3
+ import N from "./CheckboxBtn.vue.js";
4
+ import '../../../../../assets/CheckboxBtn.css';/* empty css */
5
+ const T = ["id", "data-cy"], j = /* @__PURE__ */ p({
5
6
  inheritAttrs: !1,
6
7
  __name: "CheckboxGroup",
7
8
  props: {
@@ -14,36 +15,38 @@ const N = ["id", "data-cy"], O = /* @__PURE__ */ x({
14
15
  autoCheckResetAll: { type: Boolean, default: !1 },
15
16
  autoCheckResetEmpty: { type: Boolean, default: !1 },
16
17
  manualToggleResetButton: { type: Boolean, default: !1 },
17
- getKey: { type: Function, default: (t) => typeof t == "string" || typeof t == "number" ? `${t}` : `${t.id}` },
18
+ getKey: { type: Function, default: (a) => typeof a == "string" || typeof a == "number" ? `${a}` : `${a.id}` },
18
19
  groupId: { default: "" },
19
20
  dataCy: { default: "" }
20
21
  },
21
22
  emits: ["resetted", "update:modelValue", "checkedGroup"],
22
- setup(t, { emit: C }) {
23
- const o = t, s = C, l = p(/* @__PURE__ */ new Map()), r = h(() => {
23
+ setup(a, { emit: C }) {
24
+ const o = a, s = C, l = v(
25
+ /* @__PURE__ */ new Map()
26
+ ), r = h(() => {
24
27
  for (const e of o.checkboxData)
25
28
  if (e.reset) return e;
26
29
  return null;
27
30
  }), y = h(() => o.checkboxData.length), f = h(() => {
28
31
  let e = 0;
29
- return l.value.forEach((a) => {
30
- a.checked && e++;
32
+ return l.value.forEach((t) => {
33
+ t.checked && e++;
31
34
  }), e;
32
35
  });
33
36
  (() => {
34
37
  const e = [];
35
- for (const a of o.checkboxData)
36
- a.checked = !!a.checked, l.value.set(
37
- `${a.id}`,
38
- a
39
- ), a.checked && e.push(a);
38
+ for (const t of o.checkboxData)
39
+ l.value.set(`${t.id}`, {
40
+ ...t,
41
+ checked: !!t.checked
42
+ }), t.checked && e.push(t);
40
43
  s("update:modelValue", e);
41
44
  })();
42
- const u = (e, a) => {
45
+ const u = (e, t) => {
43
46
  const c = l.value.get(e);
44
47
  if (c) {
45
- if (a) {
46
- l.value.set(e, { ...c, ...a });
48
+ if (t) {
49
+ l.value.set(e, { ...c, ...t });
47
50
  return;
48
51
  }
49
52
  l.value.set(e, { ...c, checked: !c.checked });
@@ -55,55 +58,55 @@ const N = ["id", "data-cy"], O = /* @__PURE__ */ x({
55
58
  }, m = () => {
56
59
  k(), s("update:modelValue", []), s("resetted");
57
60
  }, d = (e) => l.value.get(o.getKey(e))?.checked ?? !1, i = (e) => {
58
- if (L(o.checkboxData)) return;
59
- const a = l.value.get(e.id);
60
- a?.reset && e.checked ? k() : r.value && !a?.reset && u(o.getKey(r.value), { checked: !1 }), u(`${e.id}`), o.autoCheckResetAll && r.value && f.value === y.value - 1 && l.value.forEach((n) => {
61
+ if (G(o.checkboxData)) return;
62
+ const t = l.value.get(e.id);
63
+ t?.reset && e.checked ? k() : r.value && !t?.reset && u(o.getKey(r.value), { checked: !1 }), u(`${e.id}`), o.autoCheckResetAll && r.value && f.value === y.value - 1 && l.value.forEach((n) => {
61
64
  n.checked = !!n.reset;
62
- }), o.autoCheckResetEmpty && r.value && !f.value && (!o.manualToggleResetButton || !a?.reset) && u(o.getKey(r.value), { checked: !0 });
65
+ }), o.autoCheckResetEmpty && r.value && !f.value && (!o.manualToggleResetButton || !t?.reset) && u(o.getKey(r.value), { checked: !0 });
63
66
  const c = [];
64
67
  l.value.forEach((n) => {
65
68
  n.checked && c.push(n);
66
69
  }), s("update:modelValue", c), s("checkedGroup", o.groupId);
67
70
  };
68
- return v(
71
+ return D(
69
72
  () => o.reset,
70
73
  (e) => {
71
74
  e && m();
72
75
  }
73
- ), (e, a) => b(e.$slots, "default", {
76
+ ), (e, t) => b(e.$slots, "default", {
74
77
  isActive: d,
75
78
  handleChange: i,
76
- checkboxesData: t.checkboxData
79
+ checkboxesData: a.checkboxData
77
80
  }, () => [
78
- D("div", {
79
- id: t.groupId,
80
- class: E(["checkbox-group-container", e.$attrs.class || ""]),
81
- "data-cy": t.dataCy
81
+ E("div", {
82
+ id: a.groupId,
83
+ class: $(["checkbox-group-container", e.$attrs.class || ""]),
84
+ "data-cy": a.dataCy
82
85
  }, [
83
86
  b(e.$slots, "checkbox_elements", {
84
87
  isActive: d,
85
88
  handleChange: i,
86
- checkboxesData: t.checkboxData,
89
+ checkboxesData: a.checkboxData,
87
90
  reset: m
88
91
  }, () => [
89
- t.checkboxData ? (g(!0), $(A, { key: 0 }, I(t.checkboxData, (c, n) => (g(), R(G, {
90
- id: t.getKey(c),
92
+ a.checkboxData ? (g(!0), B(I, { key: 0 }, R(a.checkboxData, (c, n) => (g(), K(N, {
93
+ id: a.getKey(c),
91
94
  key: n,
92
- "data-cy": c.dataCy ?? `checkbox_${K(V)(`${c.label}`)}`,
95
+ "data-cy": c.dataCy ?? `checkbox_${V(L)(`${c.label}`)}`,
93
96
  label: c.label,
94
- inline: t.formCheckInline,
97
+ inline: a.formCheckInline,
95
98
  "model-value": d(c),
96
99
  "container-class": [
97
- t.formCheckInline ? "uikit-mr-10px" : "uikit-mb-10px",
98
- t.checkboxContainerClasses
100
+ a.formCheckInline ? "uikit-mr-10px" : "uikit-mb-10px",
101
+ a.checkboxContainerClasses
99
102
  ],
100
- onChange: i
101
- }, null, 8, ["id", "data-cy", "label", "inline", "model-value", "container-class"]))), 128)) : B("", !0)
103
+ onChange: t[0] || (t[0] = (x) => i(x))
104
+ }, null, 8, ["id", "data-cy", "label", "inline", "model-value", "container-class"]))), 128)) : A("", !0)
102
105
  ])
103
- ], 10, N)
106
+ ], 10, T)
104
107
  ]);
105
108
  }
106
109
  });
107
110
  export {
108
- O as default
111
+ j as default
109
112
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wikicasa-dev/components",
3
- "version": "2.2.8-alpha.2",
3
+ "version": "2.2.8-alpha.21",
4
4
  "description": "Wikicasa frontend components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -44,7 +44,7 @@
44
44
  "vue": "^3.5.0",
45
45
  "date-fns": "^4.0.0",
46
46
  "@wikicasa-dev/svg-icons": "^1.2.24",
47
- "@wikicasa-dev/vue-composables": "^0.0.25",
47
+ "@wikicasa-dev/vue-composables": "^0.0.27",
48
48
  "@wikicasa-dev/types": "^2.4.0",
49
49
  "@wikicasa-dev/utilities": "^1.2.0"
50
50
  },
@@ -64,7 +64,7 @@
64
64
  "@vue/eslint-config-prettier": "^10.2.0",
65
65
  "@vue/eslint-config-typescript": "^14.6.0",
66
66
  "@wikicasa-dev/svg-icons": "1.2.24",
67
- "@wikicasa-dev/vue-composables": "0.0.25",
67
+ "@wikicasa-dev/vue-composables": "0.0.27",
68
68
  "@wikicasa-dev/tailwind-plugins": "^0.0.3",
69
69
  "@wikicasa-dev/types": "2.4.6",
70
70
  "@wikicasa-dev/utilities": "1.2.0",