@wikicasa-dev/components 2.2.8-alpha.25 → 2.2.8-alpha.27

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,5 +1,5 @@
1
1
  import { Autoplay as t } from "swiper/modules";
2
- import '../assets/swiper-keyboard.css';/* empty css */
2
+ import '../assets/swiper-autoplay.css';/* empty css */
3
3
  export {
4
4
  t as Autoplay
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { Controller as e } from "swiper/modules";
2
- import '../assets/swiper-keyboard.css';/* empty css */
2
+ import '../assets/swiper-autoplay.css';/* empty css */
3
3
  export {
4
4
  e as Controller
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { Keyboard as m } from "swiper/modules";
2
- import '../assets/swiper-keyboard.css';/* empty css */
2
+ import '../assets/swiper-autoplay.css';/* empty css */
3
3
  export {
4
4
  m as Keyboard
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { Thumbs as p } from "swiper/modules";
2
- import '../assets/swiper-keyboard.css';/* empty css */
2
+ import '../assets/swiper-autoplay.css';/* empty css */
3
3
  export {
4
4
  p as Thumbs
5
5
  };
@@ -21,17 +21,17 @@ export interface ClearableAutocompleteProps<TID extends string | number | undefi
21
21
  declare const _default: <TID extends string | number | undefined, TPayload>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
22
22
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
23
23
  readonly "onUpdate:modelValue"?: ((value: Nullable<AccessibleSelectOptions<TPayload, TID>>) => any) | undefined;
24
- readonly onClick?: (() => any) | undefined;
24
+ readonly onClick?: ((args_0: MouseEvent) => any) | undefined;
25
25
  readonly onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
26
26
  readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
27
- readonly onInputClick?: (() => any) | undefined;
28
27
  readonly "onUpdate:inputValue"?: ((args_0: string) => any) | undefined;
29
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue" | "onClick" | "onKeydown" | "onUpdate:open" | "onInputClick" | "onUpdate:inputValue"> & ({
28
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue" | "onClick" | "onKeydown" | "onUpdate:open" | "onUpdate:inputValue"> & ({
30
29
  open?: boolean;
31
30
  modelValue?: Nullable<AccessibleSelectOptions<TPayload, TID>>;
32
31
  } & ClearableAutocompleteProps<TID, TPayload>) & Partial<{}>> & import('vue').PublicProps;
33
32
  expose(exposed: import('vue').ShallowUnwrapRef<{
34
33
  select: () => void;
34
+ getRootElement: () => HTMLDivElement | null | undefined;
35
35
  }>): void;
36
36
  attrs: any;
37
37
  slots: {
@@ -43,7 +43,7 @@ declare const _default: <TID extends string | number | undefined, TPayload>(__VL
43
43
  idx: number;
44
44
  }): any;
45
45
  };
46
- emit: (((evt: "click") => void) & ((evt: "keydown", args_0: KeyboardEvent) => void) & ((evt: "inputClick") => void) & ((evt: "update:inputValue", args_0: string) => void)) & (((evt: "update:modelValue", value: Nullable<AccessibleSelectOptions<TPayload, TID>>) => void) & ((evt: "update:open", value: boolean) => void));
46
+ emit: (((evt: "click", args_0: MouseEvent) => void) & ((evt: "keydown", args_0: KeyboardEvent) => void) & ((evt: "update:inputValue", args_0: string) => void)) & (((evt: "update:modelValue", value: Nullable<AccessibleSelectOptions<TPayload, TID>>) => void) & ((evt: "update:open", value: boolean) => void));
47
47
  }>) => import('vue').VNode & {
48
48
  __ctx?: Awaited<typeof __VLS_setup>;
49
49
  };
@@ -50,6 +50,7 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
50
50
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
51
51
  activeIdx: import('vue').Ref<number, number>;
52
52
  selectedIdx: import('vue').Ref<number, number>;
53
+ getRootElement: () => HTMLDivElement | null;
53
54
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
54
55
  click: () => any;
55
56
  "update:toggleDropdown": (value: Optional<boolean>) => any;
@@ -1,9 +1,9 @@
1
- import { defineComponent as L, mergeModels as B, useModel as M, useTemplateRef as C, shallowRef as d, onBeforeMount as N, watch as b, nextTick as W, createBlock as V, openBlock as c, withCtx as y, createElementBlock as $, Fragment as I, renderList as A, renderSlot as f, createElementVNode as p, withModifiers as w, normalizeClass as v, withDirectives as H, createCommentVNode as G, vModelText as P, toDisplayString as X, normalizeStyle as j, createTextVNode as q } from "vue";
2
- import J from "../BaseDropDown.vue.js";
1
+ import { defineComponent as K, mergeModels as B, useModel as V, useTemplateRef as b, shallowRef as s, onBeforeMount as L, watch as y, nextTick as N, createBlock as M, openBlock as c, withCtx as C, createElementBlock as F, Fragment as W, renderList as I, renderSlot as f, createElementVNode as d, normalizeClass as v, withDirectives as A, createCommentVNode as H, vModelText as G, toDisplayString as P, normalizeStyle as X, createTextVNode as j } from "vue";
2
+ import q from "../BaseDropDown.vue.js";
3
3
  import '../../../../../assets/BaseDropDown.css';/* empty css */
4
- import Q from "../BaseSelect/SelectItem.vue.js";
5
- import { debounce as Y } from "@wikicasa-dev/utilities";
6
- const Z = ["readonly", "placeholder"], _ = ["innerHTML"], ie = /* @__PURE__ */ L({
4
+ import J from "../BaseSelect/SelectItem.vue.js";
5
+ import { debounce as Q } from "@wikicasa-dev/utilities";
6
+ const Y = ["readonly", "placeholder"], Z = ["innerHTML"], ae = /* @__PURE__ */ K({
7
7
  __name: "ClearableAutocomplete",
8
8
  props: /* @__PURE__ */ B({
9
9
  dataCy: {},
@@ -23,28 +23,28 @@ const Z = ["readonly", "placeholder"], _ = ["innerHTML"], ie = /* @__PURE__ */ L
23
23
  modelValue: { default: null },
24
24
  modelModifiers: {}
25
25
  }),
26
- emits: /* @__PURE__ */ B(["click", "inputClick", "update:inputValue", "keydown"], ["update:open", "update:modelValue"]),
27
- setup(l, { expose: F, emit: O }) {
28
- const u = M(l, "open"), a = M(l, "modelValue"), r = O, U = C("inputRef"), o = d(a.value?.label || ""), k = d(0), m = d(!1), h = d(null), i = d([]), x = C("dropdownRef"), g = C("hiddenSpan"), E = () => {
29
- o.value = "", a.value = null, r("update:inputValue", "");
30
- }, R = async (t) => {
31
- if (r("update:inputValue", t), !t) {
26
+ emits: /* @__PURE__ */ B(["click", "update:inputValue", "keydown"], ["update:open", "update:modelValue"]),
27
+ setup(l, { expose: $, emit: E }) {
28
+ const u = V(l, "open"), a = V(l, "modelValue"), p = E, O = b("inputRef"), o = s(a.value?.label || ""), k = s(0), m = s(!1), w = s(null), i = s([]), g = b("dropdownRef"), h = b("hiddenSpan"), R = () => {
29
+ o.value = "", a.value = null, p("update:inputValue", "");
30
+ }, U = async (t) => {
31
+ if (p("update:inputValue", t), !t) {
32
32
  i.value = [], u.value = !1;
33
33
  return;
34
34
  }
35
- i.value = await h.value?.(t) || [], m.value = !0, u.value = !!i.value.length;
35
+ i.value = await w.value?.(t) || [], m.value = !0, u.value = !!i.value.length;
36
36
  }, S = (t = -1) => {
37
37
  const e = i.value[t];
38
38
  !e || e.id === a.value?.id || (l.onOptionSelectedCb?.(e), o.value = e.label, u.value = !1, a.value = e, i.value = []);
39
- }, z = () => {
40
- U.value?.select();
39
+ }, x = () => {
40
+ O.value?.select();
41
41
  };
42
- return N(() => {
43
- h.value = Y({ delay: 300 }, l.onInputChangeCb);
44
- }), b(
45
- [o, () => g.value],
42
+ return L(() => {
43
+ w.value = Q({ delay: 300 }, l.onInputChangeCb);
44
+ }), y(
45
+ [o, () => h.value],
46
46
  ([t, e]) => {
47
- e && W(() => {
47
+ e && N(() => {
48
48
  if (!e) return;
49
49
  const n = e.offsetWidth;
50
50
  n !== k.value && (console.log("DEBUG:updating icon positioning", {
@@ -53,21 +53,22 @@ const Z = ["readonly", "placeholder"], _ = ["innerHTML"], ie = /* @__PURE__ */ L
53
53
  });
54
54
  },
55
55
  { immediate: !0 }
56
- ), b(
57
- () => x.value?.selectedIdx,
56
+ ), y(
57
+ () => g.value?.selectedIdx,
58
58
  (t) => {
59
59
  const e = t ?? -1;
60
60
  e !== -1 && S(e);
61
61
  }
62
- ), b(
62
+ ), y(
63
63
  a,
64
64
  (t, e) => {
65
65
  t === e || t?.label === o.value || (o.value = t?.label || "");
66
66
  },
67
67
  { immediate: !0 }
68
- ), F({
69
- select: z
70
- }), (t, e) => (c(), V(J, {
68
+ ), $({
69
+ select: x,
70
+ getRootElement: () => g.value?.getRootElement()
71
+ }), (t, e) => (c(), M(q, {
71
72
  ref: "dropdownRef",
72
73
  class: "uikit-clearable-autocomplete",
73
74
  "data-cy": l.dataCy,
@@ -77,23 +78,23 @@ const Z = ["readonly", "placeholder"], _ = ["innerHTML"], ie = /* @__PURE__ */ L
77
78
  "keep-state": !i.value.length || l.keepState === "closed" ? "closed" : "opened",
78
79
  "activate-keyboard-controller": l.enableKeyboardController,
79
80
  "reset-keyboard-controller": m.value,
80
- "onUpdate:resetKeyboardController": e[4] || (e[4] = (n) => m.value = n),
81
- "onUpdate:dropdownState": e[5] || (e[5] = (n) => u.value = n)
81
+ "onUpdate:resetKeyboardController": e[3] || (e[3] = (n) => m.value = n),
82
+ "onUpdate:dropdownState": e[4] || (e[4] = (n) => u.value = n)
82
83
  }, {
83
- btn_slot: y(() => [
84
- p("div", {
84
+ btn_slot: C(() => [
85
+ d("div", {
85
86
  class: v(["uikit-text-16", l.triggerWrapperClasses]),
86
- onClick: e[3] || (e[3] = w((n) => r("click"), ["stop"]))
87
+ onClick: e[2] || (e[2] = (n) => p("click", n))
87
88
  }, [
88
89
  f(t.$slots, "left-icon"),
89
- p("div", {
90
+ d("div", {
90
91
  class: v(["uikit-relative", l.inputWrapperClasses])
91
92
  }, [
92
- H(p("input", {
93
+ A(d("input", {
93
94
  ref: "inputRef",
94
95
  "onUpdate:modelValue": [
95
96
  e[0] || (e[0] = (n) => o.value = n),
96
- R
97
+ U
97
98
  ],
98
99
  readonly: !!a.value?.label,
99
100
  class: v(["uikit-w-full uikit-border-none focus-visible:uikit-outline-none", l.inputClasses]),
@@ -102,54 +103,53 @@ const Z = ["readonly", "placeholder"], _ = ["innerHTML"], ie = /* @__PURE__ */ L
102
103
  fontSize: "inherit"
103
104
  },
104
105
  placeholder: l.placeholder,
105
- onKeydown: e[1] || (e[1] = (n) => r("keydown", n)),
106
- onClick: e[2] || (e[2] = w((n) => r("inputClick"), ["stop"]))
107
- }, null, 42, Z), [
108
- [P, o.value]
106
+ onKeydown: e[1] || (e[1] = (n) => p("keydown", n))
107
+ }, null, 42, Y), [
108
+ [G, o.value]
109
109
  ]),
110
- p("span", {
110
+ d("span", {
111
111
  ref_key: "hiddenSpan",
112
- ref: g,
112
+ ref: h,
113
113
  class: "uikit-invisible uikit-absolute uikit-left-0 uikit-top-0 uikit-whitespace-pre",
114
114
  style: {
115
115
  font: "inherit",
116
116
  fontSize: "inherit"
117
117
  }
118
- }, X(o.value), 513),
119
- a.value?.label ? (c(), $("button", {
118
+ }, P(o.value), 513),
119
+ a.value?.label ? (c(), F("button", {
120
120
  key: 0,
121
121
  type: "button",
122
122
  class: v(["uikit-clear-btn uikit-absolute uikit-top-1/2 -uikit-translate-y-1/2 uikit-appearance-none", l.clearButton?.classes]),
123
123
  "aria-label": "Clear input",
124
- style: j({
124
+ style: X({
125
125
  left: `${k.value + (l.clearButton?.offset || 10)}px`
126
126
  }),
127
- onClick: w(E, ["stop"])
127
+ onClick: R
128
128
  }, [
129
129
  f(t.$slots, "clear-icon", {}, () => [
130
- e[6] || (e[6] = q("X", -1))
130
+ e[5] || (e[5] = j("X", -1))
131
131
  ])
132
- ], 6)) : G("", !0)
132
+ ], 6)) : H("", !0)
133
133
  ], 2),
134
134
  f(t.$slots, "right-icon")
135
135
  ], 2)
136
136
  ]),
137
- default: y(({ activeIdx: n, setActiveIdx: D }) => [
138
- (c(!0), $(I, null, A(i.value, (T, s) => (c(), V(Q, {
139
- key: s,
140
- active: n === s,
137
+ default: C(({ activeIdx: n, setActiveIdx: z }) => [
138
+ (c(!0), F(W, null, I(i.value, (T, r) => (c(), M(J, {
139
+ key: r,
140
+ active: n === r,
141
141
  class: "uikit-m-1 uikit-rounded-[5px] uikit-px-5 uikit-py-10px hover:uikit-cursor-pointer",
142
- onClick: (K) => S(s),
143
- onMouseover: (K) => D(s)
142
+ onClick: (D) => S(r),
143
+ onMouseover: (D) => z(r)
144
144
  }, {
145
- default: y(() => [
145
+ default: C(() => [
146
146
  f(t.$slots, "option-content", {
147
147
  option: T,
148
- idx: s
148
+ idx: r
149
149
  }, () => [
150
- p("span", {
150
+ d("span", {
151
151
  innerHTML: T.label
152
- }, null, 8, _)
152
+ }, null, 8, Z)
153
153
  ])
154
154
  ]),
155
155
  _: 2
@@ -160,5 +160,5 @@ const Z = ["readonly", "placeholder"], _ = ["innerHTML"], ie = /* @__PURE__ */ L
160
160
  }
161
161
  });
162
162
  export {
163
- ie as default
163
+ ae as default
164
164
  };
@@ -1,11 +1,11 @@
1
- import { defineComponent as T, mergeModels as D, useId as H, useModel as E, shallowRef as x, computed as N, useTemplateRef as B, onMounted as V, onUnmounted as z, watch as l, nextTick as R, createElementBlock as U, openBlock as c, normalizeClass as a, renderSlot as I, createBlock as L, createVNode as q, unref as r, withCtx as S, createElementVNode as G, createCommentVNode as j, resolveDynamicComponent as F } from "vue";
1
+ import { defineComponent as T, mergeModels as E, useId as H, useModel as D, shallowRef as x, computed as N, useTemplateRef as B, onMounted as R, onUnmounted as V, watch as l, nextTick as z, createElementBlock as U, openBlock as f, normalizeClass as i, renderSlot as I, createBlock as L, createVNode as q, unref as r, withCtx as S, createElementVNode as G, createCommentVNode as j, resolveDynamicComponent as F } from "vue";
2
2
  import J from "./BaseButton.vue.js";
3
3
  import { ArrowIcon as P } from "@wikicasa-dev/svg-icons";
4
4
  import { useKeyboardController as Q } from "@wikicasa-dev/vue-composables";
5
5
  const X = ["innerHTML"], oe = /* @__PURE__ */ T({
6
6
  inheritAttrs: !1,
7
7
  __name: "BaseDropDown",
8
- props: /* @__PURE__ */ D({
8
+ props: /* @__PURE__ */ E({
9
9
  dropdownClasses: { default: "" },
10
10
  btnClasses: { default: "" },
11
11
  withArrowIcon: { type: Boolean, default: !1 },
@@ -27,38 +27,38 @@ const X = ["innerHTML"], oe = /* @__PURE__ */ T({
27
27
  resetKeyboardController: { type: Boolean, default: !1 },
28
28
  resetKeyboardControllerModifiers: {}
29
29
  }),
30
- emits: /* @__PURE__ */ D(["click", "update:dropdownState"], ["update:toggleDropdown", "update:resetKeyboardController"]),
30
+ emits: /* @__PURE__ */ E(["click", "update:dropdownState"], ["update:toggleDropdown", "update:resetKeyboardController"]),
31
31
  setup(o, { expose: K, emit: A }) {
32
- const n = o, f = H(), k = A, v = E(o, "toggleDropdown"), w = E(
32
+ const n = o, k = H(), v = A, m = D(o, "toggleDropdown"), w = D(
33
33
  o,
34
34
  "resetKeyboardController"
35
35
  );
36
- let m = !1;
37
- const t = x(!1), u = x([]), M = N(() => u.value.length), p = B("container"), y = B("dropdown"), { activeIdx: d, selectedIdx: i } = Q({
36
+ let p = !1;
37
+ const t = x(!1), u = x([]), M = N(() => u.value.length), s = B("container"), y = B("dropdown"), { activeIdx: d, selectedIdx: a } = Q({
38
38
  optionsLength: M,
39
39
  isDropdownOpen: t,
40
40
  activate: n.activateKeyboardController
41
41
  }), O = () => {
42
42
  t.value = !1;
43
43
  }, b = ({ target: e }) => {
44
- p.value?.contains(e) || O();
44
+ s.value?.contains(e) || O();
45
45
  }, C = (e) => {
46
- t.value && p.value?.contains(document.activeElement) && (console.log("DEBUG:closing dropdown", document.activeElement), e.key === "Tab" && (t.value = !1));
47
- }, s = () => {
46
+ t.value && s.value?.contains(document.activeElement) && (console.log("DEBUG:closing dropdown", document.activeElement), e.key === "Tab" && (t.value = !1));
47
+ }, c = () => {
48
48
  n.keepState === "closed" && !t.value || n.keepState === "opened" && t.value || (t.value = !t.value);
49
49
  }, W = (e) => {
50
50
  e != null && (d.value = e);
51
51
  }, $ = (e) => {
52
- e != null && (i.value = e);
52
+ e != null && (a.value = e);
53
53
  }, h = () => {
54
54
  y.value && (u.value = Array.from(y.value.children));
55
55
  };
56
- return V(() => {
56
+ return R(() => {
57
57
  h();
58
- }), z(() => {
58
+ }), V(() => {
59
59
  n.closeWhenClickedOutside && (document.removeEventListener("click", b), document.removeEventListener("keydown", C));
60
60
  }), l(w, (e) => {
61
- e && (d.value = -1, i.value = -1, R(() => {
61
+ e && (d.value = -1, a.value = -1, z(() => {
62
62
  h(), w.value = !1;
63
63
  }));
64
64
  }), l(
@@ -70,46 +70,47 @@ const X = ["innerHTML"], oe = /* @__PURE__ */ T({
70
70
  immediate: !0
71
71
  }
72
72
  ), l(t, (e) => {
73
- k("update:dropdownState", e);
73
+ v("update:dropdownState", e);
74
74
  }), l(t, (e) => {
75
- !e || m || !n.closeWhenClickedOutside || (document.addEventListener("click", b), document.addEventListener("keydown", C), m = !0);
76
- }), l(v, (e) => {
77
- e && (t.value = !t.value, v.value = !1);
78
- }), l(i, (e) => {
75
+ !e || p || !n.closeWhenClickedOutside || (document.addEventListener("click", b), document.addEventListener("keydown", C), p = !0);
76
+ }), l(m, (e) => {
77
+ e && (t.value = !t.value, m.value = !1);
78
+ }), l(a, (e) => {
79
79
  e !== -1 && u.value[e].querySelector("a")?.click();
80
80
  }), K({
81
81
  activeIdx: d,
82
- selectedIdx: i
83
- }), (e, g) => (c(), U("div", {
82
+ selectedIdx: a,
83
+ getRootElement: () => s.value
84
+ }), (e, g) => (f(), U("div", {
84
85
  ref: "container",
85
- class: a(["uikit-relative uikit-block", e.$attrs.class])
86
+ class: i(["uikit-relative uikit-block", e.$attrs.class])
86
87
  }, [
87
88
  I(e.$slots, "btn_slot", {
88
- toggleDropdown: s,
89
+ toggleDropdown: c,
89
90
  isOpen: t.value
90
91
  }, () => [
91
92
  q(J, {
92
- id: r(f),
93
+ id: r(k),
93
94
  type: "button",
94
95
  "data-cy": o.dataCy,
95
- class: a([
96
+ class: i([
96
97
  "!uikit-flex uikit-w-full uikit-items-center uikit-truncate",
97
98
  o.btnClasses
98
99
  ]),
99
100
  "aria-expanded": t.value,
100
101
  "btn-class": "uikit-btn-single-selection",
101
102
  onClick: g[0] || (g[0] = (Y) => {
102
- k("click"), s();
103
+ v("click"), c();
103
104
  })
104
105
  }, {
105
106
  default: S(() => [
106
107
  G("span", {
107
- class: a(["uikit-mr-5px", o.labelClasses]),
108
+ class: i(["uikit-mr-5px", o.labelClasses]),
108
109
  innerHTML: o.btnLabel
109
110
  }, null, 10, X),
110
- o.withArrowIcon ? (c(), L(r(P), {
111
+ o.withArrowIcon ? (f(), L(r(P), {
111
112
  key: 0,
112
- class: a(["uikit-shrink-0 uikit-transition-transform motion-reduce:uikit-transition-none", t.value ? "uikit-rotate-180" : ""]),
113
+ class: i(["uikit-shrink-0 uikit-transition-transform motion-reduce:uikit-transition-none", t.value ? "uikit-rotate-180" : ""]),
113
114
  width: o.arrowWidth,
114
115
  height: o.arrowWidth,
115
116
  "stroke-color": o.arrowStrokeColor
@@ -118,11 +119,11 @@ const X = ["innerHTML"], oe = /* @__PURE__ */ T({
118
119
  _: 1
119
120
  }, 8, ["id", "data-cy", "class", "aria-expanded"])
120
121
  ]),
121
- (c(), L(F(o.dropdownElement), {
122
- id: "dropdown_" + r(f),
122
+ (f(), L(F(o.dropdownElement), {
123
+ id: "dropdown_" + r(k),
123
124
  ref: "dropdown",
124
125
  "data-cy": o.dataCy && `${o.dataCy}_dropdown`,
125
- class: a(["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", [
126
+ class: i(["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", [
126
127
  o.dropdownClasses,
127
128
  t.value ? "uikit-flex" : "uikit-hidden",
128
129
  { "uikit-bottom-[55px] uikit-rounded-xs": o.direction === "up" },
@@ -134,9 +135,9 @@ const X = ["innerHTML"], oe = /* @__PURE__ */ T({
134
135
  default: S(() => [
135
136
  I(e.$slots, "default", {
136
137
  isOpen: t.value,
137
- toggleDropdown: s,
138
+ toggleDropdown: c,
138
139
  activeIdx: r(d),
139
- selectedIdx: r(i),
140
+ selectedIdx: r(a),
140
141
  setActiveIdx: W,
141
142
  setSelectedIdx: $
142
143
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wikicasa-dev/components",
3
- "version": "2.2.8-alpha.25",
3
+ "version": "2.2.8-alpha.27",
4
4
  "description": "Wikicasa frontend components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",