@wikicasa-dev/components 1.7.39 → 1.7.40

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/BaseTabView.vue_vue_type_script_setup_true_lang.Ikt4-EHH.js";
1
+ import { _ as f } from "./chunks/BaseTabView.vue_vue_type_script_setup_true_lang.CbqroZ_c.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -11,7 +11,7 @@ declare const _default: import('vue').DefineComponent<{
11
11
  default: string;
12
12
  };
13
13
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
- tabClick: (args_0: MouseEvent) => void;
14
+ tabClick: (args_0: MouseEvent, args_1: number) => void;
15
15
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
16
16
  activeIdx: import('vue').PropType<number | undefined>;
17
17
  tabViewDescription: {
@@ -23,7 +23,7 @@ declare const _default: import('vue').DefineComponent<{
23
23
  default: string;
24
24
  };
25
25
  }>> & {
26
- onTabClick?: ((args_0: MouseEvent) => any) | undefined;
26
+ onTabClick?: ((args_0: MouseEvent, args_1: number) => any) | undefined;
27
27
  }, {
28
28
  tabListClasses: ClassType;
29
29
  }, {}>;
@@ -25,18 +25,18 @@ const O = ["id"], Q = ["aria-labelledby"], R = ["id", "aria-selected", "aria-con
25
25
  class: d(e)?.class || ""
26
26
  }), s = q(() => f.default ? f.default().reduce((e, t) => (t.children && Array.isArray(t.children) ? t.children.forEach((a) => {
27
27
  h(a) && e.push(k(a, e.length));
28
- }) : h(t) && e.push(k(t, e.length)), e), []) : []), u = (e) => c.value === e, A = (e) => m.value === e, b = (e) => `base-tab-${e}-${r.value}`, D = (e) => `base-tab-panel-${e}-${r.value}`, M = (e) => s.value.find((t) => t["active-tab-panel-idx"] === e)?.tabId, x = (e) => {
28
+ }) : h(t) && e.push(k(t, e.length)), e), []) : []), u = (e) => c.value === e, A = (e) => m.value === e, b = (e) => `base-tab-${e}-${r.value}`, D = (e) => `base-tab-panel-${e}-${r.value}`, M = (e) => s.value.find((t) => t["active-tab-panel-idx"] === e)?.tabId, E = (e) => {
29
29
  P.value = b(e);
30
- }, E = (e) => {
30
+ }, L = (e) => {
31
31
  const t = s.value.at(e ?? -1);
32
32
  m.value = t?.["active-tab-panel-idx"] ?? null;
33
- }, L = (e) => {
34
- x(e), c.value = e;
33
+ }, N = (e) => {
34
+ E(e), c.value = e;
35
35
  };
36
36
  return G(
37
37
  c,
38
38
  (e) => {
39
- E(e ?? -1);
39
+ L(e ?? -1);
40
40
  },
41
41
  {
42
42
  immediate: !0
@@ -70,8 +70,8 @@ const O = ["id"], Q = ["aria-labelledby"], R = ["id", "aria-selected", "aria-con
70
70
  },
71
71
  a.class
72
72
  ]),
73
- onClick: (N) => {
74
- L(n), w("tabClick", N);
73
+ onClick: (x) => {
74
+ N(n), w("tabClick", x, n);
75
75
  }
76
76
  }, [
77
77
  a["header-title"] ? (l(), i("span", W, T(a["header-title"]), 1)) : a.renderFn.children && a.renderFn.children.header ? (l(), p(g(a.renderFn.children.header), { key: 1 })) : $("", !0)
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import { _ as l } from "./chunks/SelectItem.vue_vue_type_script_setup_true_lang.
6
6
  import { default as d } from "./CheckboxBtn.js";
7
7
  import { _ as i } from "./chunks/CheckboxGroup.vue_vue_type_script_setup_true_lang.Bn9HoCj4.js";
8
8
  import { _ as n } from "./chunks/BaseTab.vue_vue_type_script_setup_true_lang.BRubYI9e.js";
9
- import { _ as b } from "./chunks/BaseTabView.vue_vue_type_script_setup_true_lang.Ikt4-EHH.js";
9
+ import { _ as b } from "./chunks/BaseTabView.vue_vue_type_script_setup_true_lang.CbqroZ_c.js";
10
10
  import { _ as g } from "./chunks/RadioButton.vue_vue_type_script_setup_true_lang.DR6a7QAi.js";
11
11
  import { _ as h } from "./chunks/RadioGroup.vue_vue_type_script_setup_true_lang.BYlMCUWP.js";
12
12
  import { _ as I } from "./chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang._TveE6SF.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wikicasa-dev/components",
3
- "version": "1.7.39",
3
+ "version": "1.7.40",
4
4
  "description": "Wikicasa frontend components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",