@wikicasa-dev/components 1.9.34 → 1.10.1

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.
Files changed (44) hide show
  1. package/dist/AccessibleSelect.js +1 -1
  2. package/dist/BaseAccordion.js +1 -1
  3. package/dist/BaseAccordionBtn.js +1 -1
  4. package/dist/BaseAccordionContent.js +1 -1
  5. package/dist/BaseAccordionItem.js +1 -1
  6. package/dist/BaseAutocomplete.js +1 -1
  7. package/dist/BaseBreadcrumb.js +1 -1
  8. package/dist/BaseDropDown.js +1 -1
  9. package/dist/BaseModal.js +1 -1
  10. package/dist/BasePagination.js +1 -1
  11. package/dist/BaseSnackbar.js +2 -2
  12. package/dist/BaseTabView.js +1 -1
  13. package/dist/CheckboxBtn.js +30 -32
  14. package/dist/UIKit/Accordion/BaseAccordion.vue.d.ts +9 -5
  15. package/dist/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +3 -5
  16. package/dist/UIKit/Accordion/BaseAccordionContent.vue.d.ts +7 -0
  17. package/dist/UIKit/Accordion/BaseAccordionItem.vue.d.ts +26 -6
  18. package/dist/UIKit/BasePagination.vue.d.ts +1 -1
  19. package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +26 -18
  20. package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +4 -2
  21. package/dist/UIKit/Radio/RadioGroup.vue.d.ts +2 -2
  22. package/dist/UIKit/types.d.ts +2 -1
  23. package/dist/assets/CheckboxBtn.css +1 -1
  24. package/dist/assets/index.css +1 -1
  25. package/dist/chunks/{AccessibleSelect.vue_vue_type_script_setup_true_lang.B8sZx5ag.js → AccessibleSelect.vue_vue_type_script_setup_true_lang.BlYI8zO3.js} +43 -43
  26. package/dist/chunks/{ArrowIcon.B7Oqov4Y.js → ArrowIcon.CCFMdsq6.js} +9 -9
  27. package/dist/chunks/BaseAccordion.vue_vue_type_script_setup_true_lang.R7qkuKlw.js +32 -0
  28. package/dist/chunks/{BaseAccordionBtn.vue_vue_type_script_setup_true_lang.2iAIiz6F.js → BaseAccordionBtn.vue_vue_type_script_setup_true_lang.DsDqk9iP.js} +14 -12
  29. package/dist/chunks/BaseAccordionContent.vue_vue_type_script_setup_true_lang.C0aiiljz.js +34 -0
  30. package/dist/chunks/BaseAccordionItem.vue_vue_type_script_setup_true_lang.Caagpb9M.js +143 -0
  31. package/dist/chunks/{BaseAutocomplete.vue_vue_type_script_setup_true_lang.lynxd7Sj.js → BaseAutocomplete.vue_vue_type_script_setup_true_lang.FVR77AHA.js} +1 -1
  32. package/dist/chunks/{BaseBreadcrumb.vue_vue_type_script_setup_true_lang.B0owkt0c.js → BaseBreadcrumb.vue_vue_type_script_setup_true_lang.BH2c3gOe.js} +2 -2
  33. package/dist/chunks/{BaseDropDown.vue_vue_type_script_setup_true_lang.CVDnCMnS.js → BaseDropDown.vue_vue_type_script_setup_true_lang.B6bPMnvl.js} +2 -2
  34. package/dist/chunks/{BaseModal.vue_vue_type_style_index_0_lang.9RKUM3fd.js → BaseModal.vue_vue_type_style_index_0_lang.Bl0EkSNw.js} +2 -2
  35. package/dist/chunks/{BasePagination.vue_vue_type_script_setup_true_lang.CC-83EJ7.js → BasePagination.vue_vue_type_script_setup_true_lang.DxPb8OYe.js} +2 -2
  36. package/dist/chunks/{CloseIcon.YLxieTr1.js → CloseIcon.DIkr4soH.js} +13 -13
  37. package/dist/chunks/PharmacyIcon.56ql_DYl.js +19 -0
  38. package/dist/index.js +11 -11
  39. package/package.json +2 -2
  40. package/dist/chunks/BaseAccordion.vue_vue_type_script_setup_true_lang.CoE2D2rV.js +0 -19
  41. package/dist/chunks/BaseAccordionContent.vue_vue_type_script_setup_true_lang.8ErZghvk.js +0 -30
  42. package/dist/chunks/BaseAccordionItem.vue_vue_type_script_setup_true_lang.CR-nWss7.js +0 -111
  43. package/dist/chunks/PharmacyIcon.qIkuSERu.js +0 -41
  44. package/dist/chunks/{BaseTabView.vue_vue_type_script_setup_true_lang.nuPyOFsi.js → BaseTabView.vue_vue_type_script_setup_true_lang.CrzWV8VV.js} +1 -1
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.B8sZx5ag.js";
1
+ import { _ as f } from "./chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.BlYI8zO3.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./chunks/BaseAccordion.vue_vue_type_script_setup_true_lang.CoE2D2rV.js";
1
+ import { _ as f } from "./chunks/BaseAccordion.vue_vue_type_script_setup_true_lang.R7qkuKlw.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./chunks/BaseAccordionBtn.vue_vue_type_script_setup_true_lang.2iAIiz6F.js";
1
+ import { _ as f } from "./chunks/BaseAccordionBtn.vue_vue_type_script_setup_true_lang.DsDqk9iP.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./chunks/BaseAccordionContent.vue_vue_type_script_setup_true_lang.8ErZghvk.js";
1
+ import { _ as f } from "./chunks/BaseAccordionContent.vue_vue_type_script_setup_true_lang.C0aiiljz.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./chunks/BaseAccordionItem.vue_vue_type_script_setup_true_lang.CR-nWss7.js";
1
+ import { _ as f } from "./chunks/BaseAccordionItem.vue_vue_type_script_setup_true_lang.Caagpb9M.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./chunks/BaseAutocomplete.vue_vue_type_script_setup_true_lang.lynxd7Sj.js";
1
+ import { _ as f } from "./chunks/BaseAutocomplete.vue_vue_type_script_setup_true_lang.FVR77AHA.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./chunks/BaseBreadcrumb.vue_vue_type_script_setup_true_lang.B0owkt0c.js";
1
+ import { _ as f } from "./chunks/BaseBreadcrumb.vue_vue_type_script_setup_true_lang.BH2c3gOe.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./chunks/BaseDropDown.vue_vue_type_script_setup_true_lang.CVDnCMnS.js";
1
+ import { _ as f } from "./chunks/BaseDropDown.vue_vue_type_script_setup_true_lang.B6bPMnvl.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/dist/BaseModal.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./chunks/BaseModal.vue_vue_type_style_index_0_lang.9RKUM3fd.js";
1
+ import { _ as f } from "./chunks/BaseModal.vue_vue_type_style_index_0_lang.Bl0EkSNw.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./chunks/BasePagination.vue_vue_type_script_setup_true_lang.CC-83EJ7.js";
1
+ import { _ as f } from "./chunks/BasePagination.vue_vue_type_script_setup_true_lang.DxPb8OYe.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as b, ref as u, onBeforeMount as f, openBlock as i, createBlock as h, Teleport as y, createElementVNode as e, normalizeClass as x, withModifiers as l, createElementBlock as a, createCommentVNode as s, createVNode as _, unref as v } from "vue";
2
- import { l as g } from "./chunks/CloseIcon.YLxieTr1.js";
3
- import "./chunks/PharmacyIcon.qIkuSERu.js";
2
+ import { l as g } from "./chunks/CloseIcon.DIkr4soH.js";
3
+ import "./chunks/PharmacyIcon.56ql_DYl.js";
4
4
  import { _ as C } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
5
5
  import './assets/BaseSnackbar.css';const T = { class: "snackbar-container uikit-fixed uikit-bottom-10px uikit-left-10px uikit-z-[2000] max-sm:uikit-left-0 max-sm:uikit-w-full" }, w = ["data-cy"], B = ["src", "alt"], L = {
6
6
  key: 1,
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./chunks/BaseTabView.vue_vue_type_script_setup_true_lang.nuPyOFsi.js";
1
+ import { _ as f } from "./chunks/BaseTabView.vue_vue_type_script_setup_true_lang.CrzWV8VV.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as m, mergeModels as s, useId as g, useAttrs as C, useModel as y, openBlock as d, createElementBlock as u, normalizeClass as a, withModifiers as r, createElementVNode as k, unref as c, renderSlot as v, toDisplayString as V, createCommentVNode as w } from "vue";
2
- import { _ as $ } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
3
- import './assets/CheckboxBtn.css';const B = ["id"], I = ["id", "data-cy", "checked", "disabled"], M = ["for"], q = /* @__PURE__ */ m({
1
+ import { defineComponent as f, useId as h, useAttrs as m, openBlock as o, createElementBlock as s, normalizeClass as a, withModifiers as r, createElementVNode as d, unref as u, renderSlot as g, toDisplayString as C, createCommentVNode as y } from "vue";
2
+ import { _ as V } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
3
+ import './assets/CheckboxBtn.css';const v = ["id"], w = ["id", "data-cy", "checked", "disabled"], $ = ["for"], B = /* @__PURE__ */ f({
4
4
  __name: "CheckboxBtn",
5
- props: /* @__PURE__ */ s({
5
+ props: {
6
6
  id: {},
7
7
  inputClass: {},
8
8
  inline: { type: Boolean, default: !1 },
@@ -11,24 +11,22 @@ import './assets/CheckboxBtn.css';const B = ["id"], I = ["id", "data-cy", "check
11
11
  isValid: { default: null },
12
12
  containerId: {},
13
13
  containerClass: {},
14
- handleLabelClick: { type: Boolean, default: !0 }
15
- }, {
16
- modelValue: { type: Boolean, default: !1 },
17
- modelModifiers: {}
18
- }),
19
- emits: /* @__PURE__ */ s(["click", "change"], ["update:modelValue"]),
20
- setup(i, { emit: p }) {
21
- const l = g(), f = C(), n = y(i, "modelValue"), o = p, b = () => {
22
- const e = f.checked ?? n.value;
23
- o("change", {
14
+ handleLabelClick: { type: Boolean, default: !0 },
15
+ modelValue: { type: Boolean, default: !1 }
16
+ },
17
+ emits: ["click", "change", "udpate:modelValue"],
18
+ setup(i, { emit: k }) {
19
+ const l = h(), c = m(), n = k, p = () => {
20
+ const e = c.checked ?? i.modelValue;
21
+ n("change", {
24
22
  id: i.id ?? l,
25
23
  label: i.label,
26
24
  checked: !e
27
- }), n.value = !e;
28
- }, h = () => {
29
- b(), i.handleLabelClick && o("click");
25
+ }), n("udpate:modelValue", !e);
26
+ }, b = () => {
27
+ p(), i.handleLabelClick && n("click");
30
28
  };
31
- return (e, t) => (d(), u("div", {
29
+ return (e, t) => (o(), s("div", {
32
30
  id: e.containerId,
33
31
  class: a(["uikit-group uikit-relative uikit-block uikit-pl-25px hover:uikit-cursor-pointer", [
34
32
  { "uikit-mr-4 uikit-inline-flex uikit-items-center": e.inline },
@@ -36,10 +34,10 @@ import './assets/CheckboxBtn.css';const B = ["id"], I = ["id", "data-cy", "check
36
34
  e.$attrs["wrapper-margin-y"],
37
35
  e.containerClass
38
36
  ]]),
39
- onClick: r(h, ["stop"])
37
+ onClick: r(b, ["stop"])
40
38
  }, [
41
- k("input", {
42
- id: `${e.id ?? c(l)}`,
39
+ d("input", {
40
+ id: `${e.id ?? u(l)}`,
43
41
  ref: "checkbox",
44
42
  "data-cy": e.$attrs["data-cy"],
45
43
  class: a(["uikit-pointer-events-none uikit-absolute uikit-left-0 uikit-h-4 uikit-w-4 uikit-appearance-none uikit-rounded-3xs uikit-border uikit-border-solid uikit-border-w-secondary uikit-bg-white checked:uikit-bg-center checked:uikit-bg-no-repeat group-hover:uikit-cursor-pointer", [
@@ -48,28 +46,28 @@ import './assets/CheckboxBtn.css';const B = ["id"], I = ["id", "data-cy", "check
48
46
  e.isValid === !1 ? "checked-bg-invalid" : "checked-bg"
49
47
  ]]),
50
48
  type: "checkbox",
51
- checked: e.$attrs.checked ?? n.value,
49
+ checked: e.$attrs.checked ?? e.modelValue,
52
50
  disabled: e.$attrs.disabled,
53
51
  onChange: t[0] || (t[0] = r(() => {
54
52
  }, ["prevent", "stop"])),
55
53
  onClick: t[1] || (t[1] = r(() => {
56
54
  }, ["prevent", "stop"]))
57
- }, null, 42, I),
58
- v(e.$slots, "label", {}, () => [
59
- k("label", {
55
+ }, null, 42, w),
56
+ g(e.$slots, "label", {}, () => [
57
+ d("label", {
60
58
  class: a(["uikit-pl-10px uikit-text-sm group-hover:uikit-cursor-pointer", [e.labelClass, { "uikit-text-w-danger": e.isValid === !1 }]]),
61
- for: `${e.id ?? c(l)}`
62
- }, V(e.label), 11, M),
63
- e.$attrs.required ? (d(), u("span", {
59
+ for: `${e.id ?? u(l)}`
60
+ }, C(e.label), 11, $),
61
+ e.$attrs.required ? (o(), s("span", {
64
62
  key: 0,
65
63
  class: a(["required after:uikit-content-['*']", [
66
64
  e.isValid !== !1 ? "after:uikit-text-w-primary" : "after:uikit-text-w-danger"
67
65
  ]])
68
- }, null, 2)) : w("", !0)
66
+ }, null, 2)) : y("", !0)
69
67
  ], !0)
70
- ], 10, B));
68
+ ], 10, v));
71
69
  }
72
- }), N = /* @__PURE__ */ $(q, [["__scopeId", "data-v-c8d2c078"]]);
70
+ }), E = /* @__PURE__ */ V(B, [["__scopeId", "data-v-978e72e3"]]);
73
71
  export {
74
- N as default
72
+ E as default
75
73
  };
@@ -1,9 +1,9 @@
1
1
  import { AccordionItem } from '@wikicasa-dev/types';
2
- type AccordionItemDecorated<T> = Record<string | number, T & Partial<AccordionItem>>;
2
+ import { AccordionItemDecorated } from '../types';
3
3
  declare function __VLS_template(): {
4
4
  slots: {
5
5
  default?(_: {
6
- updatePrev: <T>(a: AccordionItem, _accordionItems: AccordionItemDecorated<T>) => void;
6
+ updatePrev: <T>(a: AccordionItem, _accordionItems?: AccordionItemDecorated<T>) => void;
7
7
  prev: {
8
8
  title?: string | undefined;
9
9
  id: string | number;
@@ -16,12 +16,16 @@ declare function __VLS_template(): {
16
16
  };
17
17
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
18
  declare const __VLS_component: import('vue').DefineComponent<{
19
+ /** If true, there will be just one accordion open */
19
20
  autoClose?: boolean;
21
+ /** If true, the prevAccordion will be updated when you click on the accordion button */
22
+ autoUpdate?: boolean;
20
23
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
24
+ /** If true, there will be just one accordion open */
21
25
  autoClose?: boolean;
22
- }> & Readonly<{}>, {
23
- autoClose: boolean;
24
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
+ /** If true, the prevAccordion will be updated when you click on the accordion button */
27
+ autoUpdate?: boolean;
28
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
29
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
30
  export default _default;
27
31
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -14,6 +14,7 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
14
  declare const __VLS_component: import('vue').DefineComponent<{
15
15
  id: string | number;
16
16
  arrowWidth?: number;
17
+ arrowColor?: `#${string}`;
17
18
  onContainerClickExpand?: boolean;
18
19
  accordionOpen?: boolean;
19
20
  toggleAccordion: () => void;
@@ -22,16 +23,13 @@ declare const __VLS_component: import('vue').DefineComponent<{
22
23
  }, string, import('vue').PublicProps, Readonly<{
23
24
  id: string | number;
24
25
  arrowWidth?: number;
26
+ arrowColor?: `#${string}`;
25
27
  onContainerClickExpand?: boolean;
26
28
  accordionOpen?: boolean;
27
29
  toggleAccordion: () => void;
28
30
  }> & Readonly<{
29
31
  onClick?: (() => any) | undefined;
30
- }>, {
31
- arrowWidth: number;
32
- onContainerClickExpand: boolean;
33
- accordionOpen: boolean;
34
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
32
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
35
33
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
36
34
  export default _default;
37
35
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,3 +1,4 @@
1
+ import { ClassType } from '@wikicasa-dev/types';
1
2
  declare function __VLS_template(): {
2
3
  slots: {
3
4
  custom_accordion_content?(_: {
@@ -14,9 +15,15 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
15
  declare const __VLS_component: import('vue').DefineComponent<{
15
16
  id: string | number;
16
17
  accordionOpen: boolean;
18
+ accordionOpenClasses?: ClassType;
19
+ accordionClosedClasses?: ClassType;
20
+ accordionContentClasses?: ClassType;
17
21
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
18
22
  id: string | number;
19
23
  accordionOpen: boolean;
24
+ accordionOpenClasses?: ClassType;
25
+ accordionClosedClasses?: ClassType;
26
+ accordionContentClasses?: ClassType;
20
27
  }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
28
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
29
  export default _default;
@@ -1,4 +1,4 @@
1
- import { AccordionItem } from '@wikicasa-dev/types';
1
+ import { AccordionItem, ClassType } from '@wikicasa-dev/types';
2
2
  declare function __VLS_template(): {
3
3
  slots: {
4
4
  custom_content?(_: {}): any;
@@ -24,26 +24,46 @@ declare function __VLS_template(): {
24
24
  };
25
25
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
26
26
  declare const __VLS_component: import('vue').DefineComponent<AccordionItem & {
27
+ arrowColor?: `#${string}`;
27
28
  arrowWidth?: number;
29
+ /** If true, when you click the container of the button and the title of the accordion, the accordion will expand */
28
30
  onContainerClickExpand?: boolean;
31
+ rootClasses?: ClassType;
32
+ dataCy?: string;
33
+ btnClasses?: ClassType;
34
+ itemProp?: string;
35
+ arrowClasses?: ClassType;
36
+ btnWrapperClasses?: ClassType;
37
+ accordionContentClasses?: ClassType;
38
+ accordionOpenClasses?: ClassType;
39
+ accordionCloseClasses?: ClassType;
40
+ accordionClasses?: ClassType;
29
41
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
30
42
  click: () => any;
31
43
  accordionOpened: (a: AccordionItem) => any;
32
44
  accordionClosed: (a: AccordionItem) => any;
33
45
  "update:accordionState": (args_0: boolean) => any;
34
46
  }, string, import('vue').PublicProps, Readonly<AccordionItem & {
47
+ arrowColor?: `#${string}`;
35
48
  arrowWidth?: number;
49
+ /** If true, when you click the container of the button and the title of the accordion, the accordion will expand */
36
50
  onContainerClickExpand?: boolean;
51
+ rootClasses?: ClassType;
52
+ dataCy?: string;
53
+ btnClasses?: ClassType;
54
+ itemProp?: string;
55
+ arrowClasses?: ClassType;
56
+ btnWrapperClasses?: ClassType;
57
+ accordionContentClasses?: ClassType;
58
+ accordionOpenClasses?: ClassType;
59
+ accordionCloseClasses?: ClassType;
60
+ accordionClasses?: ClassType;
37
61
  }> & Readonly<{
38
62
  onClick?: (() => any) | undefined;
39
63
  onAccordionOpened?: ((a: AccordionItem) => any) | undefined;
40
64
  onAccordionClosed?: ((a: AccordionItem) => any) | undefined;
41
65
  "onUpdate:accordionState"?: ((args_0: boolean) => any) | undefined;
42
- }>, {
43
- active: boolean;
44
- arrowWidth: number;
45
- onContainerClickExpand: boolean;
46
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
66
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
47
67
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
48
68
  export default _default;
49
69
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -17,12 +17,12 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
17
17
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
18
18
  "onUpdate:pageNumber"?: ((pageNumber: Optional<number>) => any) | undefined;
19
19
  }>, {
20
+ arrowColor: string;
20
21
  small: boolean;
21
22
  count: number;
22
23
  limit: number;
23
24
  siblings: number;
24
25
  additionalCount: number;
25
- arrowColor: string;
26
26
  prevLabel: string;
27
27
  nextLabel: string;
28
28
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -1,23 +1,9 @@
1
1
  import { Nullable } from '@wikicasa-dev/types';
2
- declare let __VLS_typeProps: {
3
- id?: string | number;
4
- inputClass?: string;
5
- inline?: boolean;
6
- label?: string | number;
7
- labelClass?: string;
8
- isValid?: Nullable<boolean>;
9
- containerId?: string;
10
- containerClass?: string;
11
- handleLabelClick?: boolean;
12
- };
13
2
  type EventPayload = {
14
3
  id: string | number;
15
4
  label: string | number;
16
5
  checked: boolean;
17
6
  };
18
- type __VLS_PublicProps = {
19
- modelValue?: boolean | undefined;
20
- } & typeof __VLS_typeProps;
21
7
  declare function __VLS_template(): {
22
8
  slots: {
23
9
  label?(_: {}): any;
@@ -28,14 +14,36 @@ declare function __VLS_template(): {
28
14
  attrs: Partial<{}>;
29
15
  };
30
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
31
- declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
+ declare const __VLS_component: import('vue').DefineComponent<{
18
+ id?: string | number;
19
+ inputClass?: string;
20
+ inline?: boolean;
21
+ label?: string | number;
22
+ labelClass?: string;
23
+ isValid?: Nullable<boolean>;
24
+ containerId?: string;
25
+ containerClass?: string;
26
+ handleLabelClick?: boolean;
27
+ modelValue?: boolean;
28
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
32
29
  click: () => any;
33
30
  change: (args_0: EventPayload) => any;
34
- "update:modelValue": (modelValue: boolean | undefined) => any;
35
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
31
+ "udpate:modelValue": (args_0: boolean) => any;
32
+ }, string, import('vue').PublicProps, Readonly<{
33
+ id?: string | number;
34
+ inputClass?: string;
35
+ inline?: boolean;
36
+ label?: string | number;
37
+ labelClass?: string;
38
+ isValid?: Nullable<boolean>;
39
+ containerId?: string;
40
+ containerClass?: string;
41
+ handleLabelClick?: boolean;
42
+ modelValue?: boolean;
43
+ }> & Readonly<{
36
44
  onClick?: (() => any) | undefined;
37
45
  onChange?: ((args_0: EventPayload) => any) | undefined;
38
- "onUpdate:modelValue"?: ((modelValue: boolean | undefined) => any) | undefined;
46
+ "onUdpate:modelValue"?: ((args_0: boolean) => any) | undefined;
39
47
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
40
48
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
41
49
  export default _default;
@@ -22,6 +22,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
22
22
  formCheckInline?: boolean;
23
23
  customClass?: string;
24
24
  reset?: boolean;
25
+ /** If true, when you check all the checkboxes but the reset one, all the selected checkboxes will be unchecked and the reset one will be checked */
25
26
  autoCheckResetAll?: boolean;
26
27
  autoCheckResetEmpty?: boolean;
27
28
  /**
@@ -30,14 +31,15 @@ declare const __VLS_component: import('vue').DefineComponent<{
30
31
  manualToggleResetButton?: boolean;
31
32
  getKey?: GetterIdType;
32
33
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
33
- "update:modelValue": (args_0: CheckboxButtonType[]) => any;
34
34
  resetted: () => any;
35
+ "update:modelValue": (args_0: CheckboxButtonType[]) => any;
35
36
  checkedGroup: (args_0: string) => any;
36
37
  }, string, import('vue').PublicProps, Readonly<{
37
38
  valuesObj?: CheckboxGroupData;
38
39
  formCheckInline?: boolean;
39
40
  customClass?: string;
40
41
  reset?: boolean;
42
+ /** If true, when you check all the checkboxes but the reset one, all the selected checkboxes will be unchecked and the reset one will be checked */
41
43
  autoCheckResetAll?: boolean;
42
44
  autoCheckResetEmpty?: boolean;
43
45
  /**
@@ -46,8 +48,8 @@ declare const __VLS_component: import('vue').DefineComponent<{
46
48
  manualToggleResetButton?: boolean;
47
49
  getKey?: GetterIdType;
48
50
  }> & Readonly<{
49
- "onUpdate:modelValue"?: ((args_0: CheckboxButtonType[]) => any) | undefined;
50
51
  onResetted?: (() => any) | undefined;
52
+ "onUpdate:modelValue"?: ((args_0: CheckboxButtonType[]) => any) | undefined;
51
53
  onCheckedGroup?: ((args_0: string) => any) | undefined;
52
54
  }>, {
53
55
  reset: boolean;
@@ -32,15 +32,15 @@ declare const __VLS_component: import('vue').DefineComponent<{
32
32
  radioValues?: RadioButtonType[];
33
33
  resetRadio?: boolean;
34
34
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
35
- "update:modelValue": (args_0: Nullable<RadioButtonType>) => any;
36
35
  resetted: () => any;
36
+ "update:modelValue": (args_0: Nullable<RadioButtonType>) => any;
37
37
  }, string, import('vue').PublicProps, Readonly<{
38
38
  initialValue?: RadioButtonType;
39
39
  radioValues?: RadioButtonType[];
40
40
  resetRadio?: boolean;
41
41
  }> & Readonly<{
42
- "onUpdate:modelValue"?: ((args_0: Nullable<RadioButtonType>) => any) | undefined;
43
42
  onResetted?: (() => any) | undefined;
43
+ "onUpdate:modelValue"?: ((args_0: Nullable<RadioButtonType>) => any) | undefined;
44
44
  }>, {
45
45
  resetRadio: boolean;
46
46
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -1,4 +1,4 @@
1
- import { ClassType, Icon, LabelItem, IconItem } from '@wikicasa-dev/types';
1
+ import { ClassType, Icon, LabelItem, IconItem, AccordionItem } from '@wikicasa-dev/types';
2
2
  export type CardTypes = "mini" | "vertical" | "news" | "";
3
3
  export type CardRootTypes = "div" | "article";
4
4
  /** Toggle types */
@@ -50,3 +50,4 @@ export type RadioButtonType<T = unknown> = {
50
50
  label: string | number;
51
51
  payload?: T;
52
52
  };
53
+ export type AccordionItemDecorated<T = unknown> = Record<string | number, T & Partial<AccordionItem>>;
@@ -1 +1 @@
1
- .checked-bg[data-v-c8d2c078]: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-c8d2c078]: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")}
1
+ .checked-bg[data-v-978e72e3]: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-978e72e3]: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")}