@wikicasa-dev/components 2.1.26 → 2.1.28-alpha.0

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 (30) hide show
  1. package/dist/packages/components/lazyModules/Swiper/autoplay.js +1 -1
  2. package/dist/packages/components/lazyModules/Swiper/controller.js +1 -1
  3. package/dist/packages/components/lazyModules/Swiper/keyboard.js +1 -1
  4. package/dist/packages/components/lazyModules/Swiper/thumbs.js +1 -1
  5. package/dist/packages/components/lib/UIKit/AccessibleSelect.vue.js +5 -6
  6. package/dist/packages/components/lib/UIKit/Accordion/BaseAccordion.vue.js +10 -9
  7. package/dist/packages/components/lib/UIKit/Accordion/BaseAccordionBtn.vue.js +3 -4
  8. package/dist/packages/components/lib/UIKit/Accordion/BaseAccordionItem.vue.js +3 -4
  9. package/dist/packages/components/lib/UIKit/BaseAutocomplete.vue.js +5 -4
  10. package/dist/packages/components/lib/UIKit/BaseBreadcrumb.vue.js +9 -10
  11. package/dist/packages/components/lib/UIKit/BaseDropDown.vue.js +4 -5
  12. package/dist/packages/components/lib/UIKit/BaseModal.vue.js +4 -4
  13. package/dist/packages/components/lib/UIKit/BasePagination.vue.js +3 -4
  14. package/dist/packages/components/lib/UIKit/BaseSnackbar.vue.js +3 -4
  15. package/dist/packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js +11 -10
  16. package/dist/packages/components/lib/components/carousel/SwiperCarousel.vue.js +30 -29
  17. package/package.json +17 -17
  18. package/dist/packages/components/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js +0 -2
  19. /package/dist/assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/{keyboard.css → autoplay.css} +0 -0
  20. /package/dist/{packages/components → node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_}/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js +0 -0
  21. /package/dist/{packages/components → node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_}/node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js +0 -0
  22. /package/dist/{packages/components → node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_}/node_modules/@wikicasa-dev/svg-icons/dist/DefaultValues-CpabIgVz.js +0 -0
  23. /package/dist/{packages/components → node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_}/node_modules/@wikicasa-dev/svg-icons/dist/WarningIconRounded.js +0 -0
  24. /package/dist/node_modules/.pnpm/{@wikicasa-dev_utilities@1.1.21 → @wikicasa-dev_utilities@1.1.22_date-fns@4.1.0_google-polyline@1.0.3_js-cookie@3.0.5}/node_modules/@wikicasa-dev/utilities/dist/utils/ArrayUtils.js +0 -0
  25. /package/dist/node_modules/.pnpm/{@wikicasa-dev_utilities@1.1.21 → @wikicasa-dev_utilities@1.1.22_date-fns@4.1.0_google-polyline@1.0.3_js-cookie@3.0.5}/node_modules/@wikicasa-dev/utilities/dist/utils/DeviceDetectionUtils.js +0 -0
  26. /package/dist/node_modules/.pnpm/{@wikicasa-dev_utilities@1.1.21 → @wikicasa-dev_utilities@1.1.22_date-fns@4.1.0_google-polyline@1.0.3_js-cookie@3.0.5}/node_modules/@wikicasa-dev/utilities/dist/utils/FunctionUtils.js +0 -0
  27. /package/dist/node_modules/.pnpm/{@wikicasa-dev_utilities@1.1.21 → @wikicasa-dev_utilities@1.1.22_date-fns@4.1.0_google-polyline@1.0.3_js-cookie@3.0.5}/node_modules/@wikicasa-dev/utilities/dist/utils/GenericUtils.js +0 -0
  28. /package/dist/node_modules/.pnpm/{@wikicasa-dev_utilities@1.1.21 → @wikicasa-dev_utilities@1.1.22_date-fns@4.1.0_google-polyline@1.0.3_js-cookie@3.0.5}/node_modules/@wikicasa-dev/utilities/dist/utils/ObjectUtils.js +0 -0
  29. /package/dist/node_modules/.pnpm/{@wikicasa-dev_utilities@1.1.21 → @wikicasa-dev_utilities@1.1.22_date-fns@4.1.0_google-polyline@1.0.3_js-cookie@3.0.5}/node_modules/@wikicasa-dev/utilities/dist/utils/StringUtils.js +0 -0
  30. /package/dist/{packages/components → node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.25_vue@3.5.25_typescript@5.9.3_}/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js +0 -0
@@ -1,5 +1,5 @@
1
1
  import { default as p } from "../../../../node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/autoplay.js";
2
- import '../../../../assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/keyboard.css';/* empty css */
2
+ import '../../../../assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/autoplay.css';/* empty css */
3
3
  export {
4
4
  p as Autoplay
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { default as e } from "../../../../node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/controller.js";
2
- import '../../../../assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/keyboard.css';/* empty css */
2
+ import '../../../../assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/autoplay.css';/* empty css */
3
3
  export {
4
4
  e as Controller
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { default as e } from "../../../../node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/keyboard.js";
2
- import '../../../../assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/keyboard.css';/* empty css */
2
+ import '../../../../assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/autoplay.css';/* empty css */
3
3
  export {
4
4
  e as Keyboard
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { default as t } from "../../../../node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/thumbs.js";
2
- import '../../../../assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/keyboard.css';/* empty css */
2
+ import '../../../../assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/autoplay.css';/* empty css */
3
3
  export {
4
4
  t as Thumbs
5
5
  };
@@ -1,9 +1,8 @@
1
1
  import { defineComponent as D, mergeModels as $, useModel as p, useId as F, computed as M, ref as V, watch as h, onMounted as A, onUnmounted as E, createElementBlock as u, openBlock as n, normalizeClass as a, createElementVNode as o, createCommentVNode as r, withModifiers as c, renderSlot as P, unref as b, createBlock as z, createVNode as N, Fragment as L, renderList as O } from "vue";
2
- import { useKeyboardController as S } from "../../node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js";
3
- import { ArrowIcon as q } from "../../node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
4
- import { WarningIconRounded as j } from "../../node_modules/@wikicasa-dev/svg-icons/dist/WarningIconRounded.js";
5
- import "../../node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
6
- const K = ["id", "innerHTML"], R = ["id", "data-cy", "aria-required", "aria-controls", "aria-labelledby", "aria-expanded", "aria-activedescendant", "aria-invalid", "aria-describedby"], U = ["innerHTML"], W = { class: "uikit-pointer-events-none uikit-mt-1 uikit-inline-flex" }, G = ["innerHTML"], J = ["data-cy"], Q = ["id", "aria-selected", "onClick", "onMouseover"], X = { class: "uikit-inline-block uikit-cursor-pointer uikit-text-sm" }, Y = ["name", "checked", "onInput"], Z = ["innerHTML"], _ = ["id", "arial-live", "innerHTML"], ee = ["id", "arial-live", "innerHTML"], oe = /* @__PURE__ */ D({
2
+ import { useKeyboardController as S } from "../../../../node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.25_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js";
3
+ import { ArrowIcon as q } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
4
+ import { WarningIconRounded as j } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/svg-icons/dist/WarningIconRounded.js";
5
+ const K = ["id", "innerHTML"], R = ["id", "data-cy", "aria-required", "aria-controls", "aria-labelledby", "aria-expanded", "aria-activedescendant", "aria-invalid", "aria-describedby"], U = ["innerHTML"], W = { class: "uikit-pointer-events-none uikit-mt-1 uikit-inline-flex" }, G = ["innerHTML"], J = ["data-cy"], Q = ["id", "aria-selected", "onClick", "onMouseover"], X = { class: "uikit-inline-block uikit-cursor-pointer uikit-text-sm" }, Y = ["name", "checked", "onInput"], Z = ["innerHTML"], _ = ["id", "arial-live", "innerHTML"], ee = ["id", "arial-live", "innerHTML"], ne = /* @__PURE__ */ D({
7
6
  inheritAttrs: !1,
8
7
  __name: "AccessibleSelect",
9
8
  props: /* @__PURE__ */ $({
@@ -207,5 +206,5 @@ const K = ["id", "innerHTML"], R = ["id", "data-cy", "aria-required", "aria-cont
207
206
  }
208
207
  });
209
208
  export {
210
- oe as default
209
+ ne as default
211
210
  };
@@ -1,8 +1,9 @@
1
- import { defineComponent as p, ref as u, provide as c, renderSlot as d } from "vue";
1
+ import { defineComponent as s, ref as u, provide as i, renderSlot as d } from "vue";
2
2
  import "../../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js";
3
- import { isEmptyObject as f } from "../../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/ObjectUtils.js";
3
+ import { isEmptyObject as f } from "../../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22_date-fns@4.1.0_google-polyline@1.0.3_js-cookie@3.0.5/node_modules/@wikicasa-dev/utilities/dist/utils/ObjectUtils.js";
4
+ import "date-fns";
4
5
  import "../../../../../_virtual/polyline.js";
5
- const k = /* @__PURE__ */ p({
6
+ const y = /* @__PURE__ */ s({
6
7
  __name: "BaseAccordion",
7
8
  props: {
8
9
  autoClose: { type: Boolean, default: !0 },
@@ -11,23 +12,23 @@ const k = /* @__PURE__ */ p({
11
12
  setup(l) {
12
13
  const n = u(null), o = u(
13
14
  {}
14
- ), i = (e, t) => {
15
+ ), c = (e, t) => {
15
16
  if (l.autoClose && t && !f(t))
16
17
  for (const a in t)
17
18
  a !== `${e}` && (t[a].active = !1);
18
- }, s = (e, t) => {
19
+ }, p = (e, t) => {
19
20
  t && (t[e].active = !(t[e].active ?? !1));
20
21
  }, r = (e, t) => {
21
- i(e.id, t ?? o.value), n.value = e, s(e.id, t ?? o.value);
22
+ c(e.id, t ?? o.value), n.value = e, p(e.id, t ?? o.value);
22
23
  };
23
- return c("handleClick", (e) => {
24
+ return i("handleClick", (e) => {
24
25
  l.autoUpdate && r(e);
25
- }), c("accordionItems", o), (e, t) => d(e.$slots, "default", {
26
+ }), i("accordionItems", o), (e, t) => d(e.$slots, "default", {
26
27
  updatePrev: r,
27
28
  prev: n.value
28
29
  });
29
30
  }
30
31
  });
31
32
  export {
32
- k as default
33
+ y as default
33
34
  };
@@ -1,7 +1,6 @@
1
1
  import { defineComponent as s, createElementBlock as l, openBlock as d, normalizeClass as n, renderSlot as i, createElementVNode as u, withModifiers as k, createVNode as m, unref as f } from "vue";
2
- import { ArrowIcon as g } from "../../../node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
3
- import "../../../node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
4
- const C = ["id"], w = ["aria-expanded", "aria-controls"], A = /* @__PURE__ */ s({
2
+ import { ArrowIcon as g } from "../../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
3
+ const C = ["id"], w = ["aria-expanded", "aria-controls"], b = /* @__PURE__ */ s({
5
4
  inheritAttrs: !1,
6
5
  __name: "BaseAccordionBtn",
7
6
  props: {
@@ -53,5 +52,5 @@ const C = ["id"], w = ["aria-expanded", "aria-controls"], A = /* @__PURE__ */ s(
53
52
  }
54
53
  });
55
54
  export {
56
- A as default
55
+ b as default
57
56
  };
@@ -1,9 +1,8 @@
1
1
  import { defineComponent as $, ref as y, inject as v, watch as r, unref as d, createElementBlock as f, openBlock as u, normalizeClass as m, createBlock as g, createCommentVNode as O, renderSlot as a, createElementVNode as k, withModifiers as A, createVNode as w, withCtx as n } from "vue";
2
2
  import B from "./BaseAccordionBtn.vue.js";
3
3
  import E from "./BaseAccordionContent.vue.js";
4
- import { ArrowIcon as W } from "../../../node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
5
- import "../../../node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
6
- const x = { key: 0 }, I = ["id", "data-cy", "aria-expanded", "aria-controls"], M = ["itemprop", "innerHTML"], P = /* @__PURE__ */ $({
4
+ import { ArrowIcon as W } from "../../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
5
+ const x = { key: 0 }, I = ["id", "data-cy", "aria-expanded", "aria-controls"], M = ["itemprop", "innerHTML"], L = /* @__PURE__ */ $({
7
6
  inheritAttrs: !1,
8
7
  __name: "BaseAccordionItem",
9
8
  props: {
@@ -136,5 +135,5 @@ const x = { key: 0 }, I = ["id", "data-cy", "aria-expanded", "aria-controls"], M
136
135
  }
137
136
  });
138
137
  export {
139
- P as default
138
+ L as default
140
139
  };
@@ -2,11 +2,12 @@ import { defineComponent as P, mergeModels as y, useModel as F, ref as d, comput
2
2
  import W from "../../../../UIKit/BaseInput.js";
3
3
  import j from "./BaseDropDown.vue.js";
4
4
  import "../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js";
5
- import { debounce as q } from "../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/FunctionUtils.js";
5
+ import "date-fns";
6
+ import { debounce as q } from "../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22_date-fns@4.1.0_google-polyline@1.0.3_js-cookie@3.0.5/node_modules/@wikicasa-dev/utilities/dist/utils/FunctionUtils.js";
6
7
  import "../../../../_virtual/polyline.js";
7
8
  import G from "./BaseSelect/SelectItem.vue.js";
8
- import { useKeyboardController as J } from "../../node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js";
9
- const Q = ["innerHTML"], ae = /* @__PURE__ */ P({
9
+ import { useKeyboardController as J } from "../../../../node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.25_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js";
10
+ const Q = ["innerHTML"], oe = /* @__PURE__ */ P({
10
11
  __name: "BaseAutocomplete",
11
12
  props: /* @__PURE__ */ y({
12
13
  isValid: { type: [Boolean, null], default: null },
@@ -188,5 +189,5 @@ const Q = ["innerHTML"], ae = /* @__PURE__ */ P({
188
189
  }
189
190
  });
190
191
  export {
191
- ae as default
192
+ oe as default
192
193
  };
@@ -1,7 +1,6 @@
1
- import { defineComponent as d, computed as k, createElementBlock as i, openBlock as l, createElementVNode as n, normalizeClass as r, Fragment as u, renderList as h, renderSlot as c, toDisplayString as b, createVNode as p, unref as f } from "vue";
2
- import { ArrowIcon as C } from "../../node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
3
- import "../../node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
4
- const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], I = ["href"], $ = /* @__PURE__ */ d({
1
+ import { defineComponent as d, computed as k, createElementBlock as l, openBlock as i, createElementVNode as n, normalizeClass as r, Fragment as u, renderList as h, renderSlot as c, toDisplayString as b, createVNode as f, unref as p } from "vue";
2
+ import { ArrowIcon as C } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
3
+ const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], I = ["href"], y = /* @__PURE__ */ d({
5
4
  __name: "BaseBreadcrumb",
6
5
  props: {
7
6
  items: {},
@@ -16,12 +15,12 @@ const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], I = ["href"], $
16
15
  a.push({ ...t.items[e], idx: e }), e < t.items.length - 1 && a.push({ arrowIcon: !0 }), e++;
17
16
  return a;
18
17
  });
19
- return (e, a) => (l(), i("nav", g, [
18
+ return (e, a) => (i(), l("nav", g, [
20
19
  n("ol", {
21
20
  class: r(["uikit-flex uikit-items-center uikit-gap-10px uikit-p-0", t.listClasses])
22
21
  }, [
23
- (l(!0), i(u, null, h(m.value, (s, o) => (l(), i(u, null, [
24
- s?.label ? (l(), i("li", {
22
+ (i(!0), l(u, null, h(m.value, (s, o) => (i(), l(u, null, [
23
+ s?.label ? (i(), l("li", {
25
24
  key: `breadcrumb-li-${o}`,
26
25
  class: r(["uikit-list-none", t.listItemClasses]),
27
26
  "data-tooltip": s.dataTooltip
@@ -34,13 +33,13 @@ const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], I = ["href"], $
34
33
  href: s.link
35
34
  }, b(s.label), 11, I)
36
35
  ])
37
- ], 10, w)) : (l(), i("li", {
36
+ ], 10, w)) : (i(), l("li", {
38
37
  key: `breadcrumb-li-no-label-${o}`,
39
38
  class: r(["uikit-list-none", t.listItemClasses]),
40
39
  "aria-hidden": "true"
41
40
  }, [
42
41
  c(e.$slots, "separator", {}, () => [
43
- p(f(C), {
42
+ f(p(C), {
44
43
  class: "-uikit-rotate-90",
45
44
  "stroke-color": "#222",
46
45
  width: 10,
@@ -54,5 +53,5 @@ const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], I = ["href"], $
54
53
  }
55
54
  });
56
55
  export {
57
- $ as default
56
+ y as default
58
57
  };
@@ -1,9 +1,8 @@
1
1
  import { defineComponent as A, mergeModels as b, useId as L, useModel as M, 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 a, withCtx as D, createElementVNode as T, createCommentVNode as V, resolveDynamicComponent as q } from "vue";
2
2
  import z from "./BaseButton.vue.js";
3
- import { ArrowIcon as R } from "../../node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
4
- import "../../node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
5
- import { useKeyboardController as U } from "../../node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js";
6
- const j = ["innerHTML"], Y = /* @__PURE__ */ A({
3
+ import { ArrowIcon as R } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
4
+ import { useKeyboardController as U } from "../../../../node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.25_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js";
5
+ const j = ["innerHTML"], X = /* @__PURE__ */ A({
7
6
  inheritAttrs: !1,
8
7
  __name: "BaseDropDown",
9
8
  props: /* @__PURE__ */ b({
@@ -131,5 +130,5 @@ const j = ["innerHTML"], Y = /* @__PURE__ */ A({
131
130
  }
132
131
  });
133
132
  export {
134
- Y as default
133
+ X as default
135
134
  };
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as T, ref as n, useTemplateRef as z, onUnmounted as H, watch as I, createBlock as O, openBlock as k, 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 "../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js";
3
- import { isWindows as C } from "../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/DeviceDetectionUtils.js";
4
- import { awaitableSetTimeout as S } from "../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/GenericUtils.js";
3
+ import "date-fns";
4
+ import { isWindows as C } from "../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22_date-fns@4.1.0_google-polyline@1.0.3_js-cookie@3.0.5/node_modules/@wikicasa-dev/utilities/dist/utils/DeviceDetectionUtils.js";
5
+ import { awaitableSetTimeout as S } from "../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22_date-fns@4.1.0_google-polyline@1.0.3_js-cookie@3.0.5/node_modules/@wikicasa-dev/utilities/dist/utils/GenericUtils.js";
5
6
  import "../../../../_virtual/polyline.js";
6
- import { CloseIcon as V } from "../../node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js";
7
- import "../../node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
7
+ import { CloseIcon as V } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js";
8
8
  const F = ["id", "data-cy"], U = ["innerHTML"], J = /* @__PURE__ */ T({
9
9
  __name: "BaseModal",
10
10
  props: {
@@ -1,6 +1,5 @@
1
1
  import { defineComponent as O, mergeModels as V, useModel as A, computed as s, createElementBlock as o, openBlock as a, createCommentVNode as k, createElementVNode as P, createBlock as v, resolveDynamicComponent as m, mergeProps as h, withCtx as f, createVNode as $, unref as p, toDisplayString as g, Fragment as w, createTextVNode as x, renderList as j } from "vue";
2
- import { ArrowIcon as B } from "../../node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
3
- import "../../node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
2
+ import { ArrowIcon as B } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
4
3
  const Q = {
5
4
  "aria-label": "Page navigation",
6
5
  class: "uikit-overflow-auto"
@@ -19,7 +18,7 @@ const Q = {
19
18
  }, K = ["data-cy"], W = {
20
19
  key: 0,
21
20
  class: "uikit-mx-10px uikit-select-none"
22
- }, I = /* @__PURE__ */ O({
21
+ }, Z = /* @__PURE__ */ O({
23
22
  __name: "BasePagination",
24
23
  props: /* @__PURE__ */ V({
25
24
  count: { default: 0 },
@@ -225,5 +224,5 @@ const Q = {
225
224
  }
226
225
  });
227
226
  export {
228
- I as default
227
+ Z as default
229
228
  };
@@ -1,8 +1,7 @@
1
1
  import { defineComponent as x, mergeModels as I, useModel as w, ref as b, watch as y, nextTick as $, createBlock as s, openBlock as r, unref as i, withCtx as a, renderSlot as f, createVNode as n, normalizeClass as m, createCommentVNode as p, normalizeStyle as B } from "vue";
2
- import { CloseIcon as V } from "../../node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js";
3
- import "../../node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
2
+ import { CloseIcon as V } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js";
4
3
  import { ToastProvider as D, ToastRoot as M, ToastTitle as P, ToastDescription as z, ToastClose as S, ToastAction as A, ProgressRoot as N, ProgressIndicator as R, ToastPortal as U, ToastViewport as h } from "reka-ui";
5
- const E = /* @__PURE__ */ x({
4
+ const q = /* @__PURE__ */ x({
6
5
  inheritAttrs: !1,
7
6
  __name: "BaseSnackbar",
8
7
  props: /* @__PURE__ */ I({
@@ -142,5 +141,5 @@ const E = /* @__PURE__ */ x({
142
141
  }
143
142
  });
144
143
  export {
145
- E as default
144
+ q as default
146
145
  };
@@ -1,10 +1,11 @@
1
1
  import { defineComponent as x, ref as y, computed as h, watch as v, renderSlot as b, createElementVNode as D, normalizeClass as E, createElementBlock as $, createCommentVNode as B, openBlock as C, Fragment as A, renderList as I, createBlock as R, unref as K } from "vue";
2
- import { isArrNullOrEmpty as V } from "../../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/ArrayUtils.js";
2
+ import { isArrNullOrEmpty as V } from "../../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22_date-fns@4.1.0_google-polyline@1.0.3_js-cookie@3.0.5/node_modules/@wikicasa-dev/utilities/dist/utils/ArrayUtils.js";
3
3
  import "../../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js";
4
- import { stringToHyphened as L } from "../../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/StringUtils.js";
4
+ import "date-fns";
5
+ import { stringToHyphened as L } from "../../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22_date-fns@4.1.0_google-polyline@1.0.3_js-cookie@3.0.5/node_modules/@wikicasa-dev/utilities/dist/utils/StringUtils.js";
5
6
  import "../../../../../_virtual/polyline.js";
6
7
  import G from "../../../../../UIKit/Checkbox/CheckboxBtn.js";
7
- const N = ["id", "data-cy"], z = /* @__PURE__ */ x({
8
+ const N = ["id", "data-cy"], H = /* @__PURE__ */ x({
8
9
  inheritAttrs: !1,
9
10
  __name: "CheckboxGroup",
10
11
  props: {
@@ -23,7 +24,7 @@ const N = ["id", "data-cy"], z = /* @__PURE__ */ x({
23
24
  },
24
25
  emits: ["resetted", "update:modelValue", "checkedGroup"],
25
26
  setup(t, { emit: g }) {
26
- const o = t, s = g, l = y(/* @__PURE__ */ new Map()), r = h(() => {
27
+ const o = t, r = g, l = y(/* @__PURE__ */ new Map()), s = h(() => {
27
28
  for (const e of o.checkboxData)
28
29
  if (e.reset) return e;
29
30
  return null;
@@ -40,7 +41,7 @@ const N = ["id", "data-cy"], z = /* @__PURE__ */ x({
40
41
  `${a.id}`,
41
42
  a
42
43
  ), a.checked && e.push(a);
43
- s("update:modelValue", e);
44
+ r("update:modelValue", e);
44
45
  })();
45
46
  const u = (e, a) => {
46
47
  const c = l.value.get(e);
@@ -56,17 +57,17 @@ const N = ["id", "data-cy"], z = /* @__PURE__ */ x({
56
57
  e.checked = !1;
57
58
  });
58
59
  }, m = () => {
59
- k(), s("update:modelValue", []), s("resetted");
60
+ k(), r("update:modelValue", []), r("resetted");
60
61
  }, d = (e) => l.value.get(o.getKey(e))?.checked ?? !1, i = (e) => {
61
62
  if (V(o.checkboxData)) return;
62
63
  const a = l.value.get(e.id);
63
- 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 === p.value - 1 && l.value.forEach((n) => {
64
+ a?.reset && e.checked ? k() : s.value && !a?.reset && u(o.getKey(s.value), { checked: !1 }), u(`${e.id}`), o.autoCheckResetAll && s.value && f.value === p.value - 1 && l.value.forEach((n) => {
64
65
  n.checked = !!n.reset;
65
- }), o.autoCheckResetEmpty && r.value && !f.value && (!o.manualToggleResetButton || !a?.reset) && u(o.getKey(r.value), { checked: !0 });
66
+ }), o.autoCheckResetEmpty && s.value && !f.value && (!o.manualToggleResetButton || !a?.reset) && u(o.getKey(s.value), { checked: !0 });
66
67
  const c = [];
67
68
  l.value.forEach((n) => {
68
69
  n.checked && c.push(n);
69
- }), s("update:modelValue", c), s("checkedGroup", o.groupId);
70
+ }), r("update:modelValue", c), r("checkedGroup", o.groupId);
70
71
  };
71
72
  return v(
72
73
  () => o.reset,
@@ -108,5 +109,5 @@ const N = ["id", "data-cy"], z = /* @__PURE__ */ x({
108
109
  }
109
110
  });
110
111
  export {
111
- z as default
112
+ H as default
112
113
  };
@@ -1,12 +1,13 @@
1
- import { defineComponent as Q, reactive as U, ref as k, useId as X, computed as f, onMounted as Y, watch as x, nextTick as V, createElementBlock as l, openBlock as u, normalizeClass as d, createElementVNode as v, createCommentVNode as $, renderSlot as M, Fragment as P, renderList as E, mergeProps as F, withModifiers as O } from "vue";
1
+ import { defineComponent as Q, reactive as U, ref as k, useId as X, computed as f, onMounted as Y, watch as x, nextTick as V, createElementBlock as l, openBlock as p, normalizeClass as u, createElementVNode as v, createCommentVNode as $, renderSlot as M, Fragment as P, renderList as E, mergeProps as F, withModifiers as O } from "vue";
2
2
  import { Swiper as T } from "swiper";
3
3
  import _ from "../../../../../node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/zoom.js";
4
4
  import '../../../../../assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/zoom.css';import '../../../../../assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/swiper.css';/* empty css */
5
5
  /* empty css */
6
6
  import "../../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js";
7
- import { shallowCopyObjectTo as ee } from "../../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/ObjectUtils.js";
7
+ import { shallowCopyObjectTo as ee } from "../../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22_date-fns@4.1.0_google-polyline@1.0.3_js-cookie@3.0.5/node_modules/@wikicasa-dev/utilities/dist/utils/ObjectUtils.js";
8
+ import "date-fns";
8
9
  import "../../../../../_virtual/polyline.js";
9
- const te = ["id"], se = ["id", "data-cy"], ie = ["data-idx", "alt", "width", "height", "onLoad"], ae = ["id"], re = ["alt"], fe = /* @__PURE__ */ Q({
10
+ const te = ["id"], se = ["id", "data-cy"], ie = ["data-idx", "alt", "width", "height", "onLoad"], ae = ["id"], re = ["alt"], ve = /* @__PURE__ */ Q({
10
11
  inheritAttrs: !1,
11
12
  __name: "SwiperCarousel",
12
13
  props: {
@@ -25,7 +26,7 @@ const te = ["id"], se = ["id", "data-cy"], ie = ["data-idx", "alt", "width", "he
25
26
  swiperParams: { modules: [_] },
26
27
  swiper: null,
27
28
  initCarousel: !1
28
- }), S = k(), j = k(!1), A = X(), p = f(() => s.id ?? A), N = f(() => a.swiper), g = f(() => s.swiperOptions?.slidesPerView || 1), W = f(() => !!s.swiperOptions?.keyboard), C = f(() => !!s.swiperOptions.navigation), I = f(() => !!s.swiperOptions.pagination), q = f(() => !!s.swiperOptions.autoplay), K = f(
29
+ }), S = k(), j = k(!1), A = X(), d = f(() => s.id ?? A), N = f(() => a.swiper), g = f(() => s.swiperOptions?.slidesPerView || 1), W = f(() => !!s.swiperOptions?.keyboard), C = f(() => !!s.swiperOptions.navigation), I = f(() => !!s.swiperOptions.pagination), q = f(() => !!s.swiperOptions.autoplay), K = f(
29
30
  () => s.swiperOptions?.effect || "slider"
30
31
  ), R = () => {
31
32
  s.swiperOptions && ee(s.swiperOptions, a.swiperParams);
@@ -127,14 +128,14 @@ const te = ["id"], se = ["id", "data-cy"], ie = ["data-idx", "alt", "width", "he
127
128
  import("../../../lazyModules/Swiper/free-mode.js"),
128
129
  import("../../../lazyModules/Swiper/controller.js")
129
130
  ]);
130
- a.swiperParams.modules?.push(t.Thumbs), a.swiperParams.modules?.push(o.Controller), i = new T(`#thumb_${p.value}`, {
131
+ a.swiperParams.modules?.push(t.Thumbs), a.swiperParams.modules?.push(o.Controller), i = new T(`#thumb_${d.value}`, {
131
132
  ...s.thumbSwiperOptions,
132
133
  modules: [r.FreeMode]
133
134
  }), e.thumbs = {
134
135
  swiper: i
135
136
  };
136
137
  }
137
- e.lazyPreloadPrevNext = 1, a.swiper = new T(`#${p.value}`, e), S.value?.classList.remove("uikit-hidden");
138
+ e.lazyPreloadPrevNext = 1, a.swiper = new T(`#${d.value}`, e), S.value?.classList.remove("uikit-hidden");
138
139
  }), x(
139
140
  () => s.images,
140
141
  () => {
@@ -150,42 +151,42 @@ const te = ["id"], se = ["id", "data-cy"], ie = ["data-idx", "alt", "width", "he
150
151
  updateSlidesPerView: (e) => {
151
152
  !a.swiper || a.swiper.params.slidesPerView === e || (a.swiper.params.slidesPerView = e, a.swiper.update());
152
153
  }
153
- }), (e, i) => (u(), l("div", {
154
- id: `root-${p.value}`,
154
+ }), (e, i) => (p(), l("div", {
155
+ id: `root-${d.value}`,
155
156
  ref_key: "root",
156
157
  ref: L,
157
- class: d(["swiper-carousel-root", e.$attrs["root-classes"]])
158
+ class: u(["swiper-carousel-root", e.$attrs["root-classes"]])
158
159
  }, [
159
160
  v("div", {
160
- id: p.value,
161
+ id: d.value,
161
162
  "data-cy": e.$attrs["data-cy"],
162
- class: d(["swiper", e.$attrs["swiper-classes"]])
163
+ class: u(["swiper", e.$attrs["swiper-classes"]])
163
164
  }, [
164
165
  v("div", {
165
166
  ref_key: "swiperWrapper",
166
167
  ref: S,
167
- class: d(["swiper-wrapper", [
168
+ class: u(["swiper-wrapper", [
168
169
  e.$attrs["swiper-wrapper-classes"],
169
170
  K.value === "none" && "no-transition"
170
171
  ]]),
171
172
  onClick: i[0] || (i[0] = (t) => y("click"))
172
173
  }, [
173
174
  M(e.$slots, "default", {}, () => [
174
- (u(!0), l(P, null, E(s.images, (t, r) => (u(), l("div", {
175
- key: `swiper_${p.value}_${r}`,
176
- class: d(["swiper-slide", e.$attrs["swiper-slide-classes"]])
175
+ (p(!0), l(P, null, E(s.images, (t, r) => (p(), l("div", {
176
+ key: `swiper_${d.value}_${r}`,
177
+ class: u(["swiper-slide", e.$attrs["swiper-slide-classes"]])
177
178
  }, [
178
179
  v("div", {
179
- class: d(["swiper-zoom-container", e.$attrs["swiper-zoom-container-classes"]])
180
+ class: u(["swiper-zoom-container", e.$attrs["swiper-zoom-container-classes"]])
180
181
  }, [
181
- s.backgroundImage ? $("", !0) : (u(), l("img", F({
182
+ s.backgroundImage ? $("", !0) : (p(), l("img", F({
182
183
  key: 0,
183
184
  ref_for: !0,
184
185
  ref: (o) => {
185
186
  h.push(o);
186
187
  },
187
188
  class: ["disable-select", [e.$attrs["slide-img-classes"] || t.classes]],
188
- "data-idx": `${p.value}-slide-img-${r}`
189
+ "data-idx": `${d.value}-slide-img-${r}`
189
190
  }, { ref_for: !0 }, z(t, r), {
190
191
  alt: t.alt,
191
192
  itemprop: "image",
@@ -198,13 +199,13 @@ const te = ["id"], se = ["id", "data-cy"], ie = ["data-idx", "alt", "width", "he
198
199
  M(e.$slots, "last_slide", {}, void 0, !0)
199
200
  ], !0)
200
201
  ], 2),
201
- I.value ? (u(), l("div", {
202
+ I.value ? (p(), l("div", {
202
203
  key: 0,
203
- class: d([e.$attrs["swiper-pagination-classes"], "swiper-pagination [&.swiper-pagination-fraction]:uikit-flex [&.swiper-pagination-fraction]:uikit-justify-center"]),
204
+ class: u([e.$attrs["swiper-pagination-classes"], "swiper-pagination [&.swiper-pagination-fraction]:uikit-flex [&.swiper-pagination-fraction]:uikit-justify-center"]),
204
205
  onClick: i[1] || (i[1] = O(() => {
205
206
  }, ["stop"]))
206
207
  }, null, 2)) : $("", !0),
207
- C.value ? (u(), l(P, { key: 1 }, [
208
+ C.value ? (p(), l(P, { key: 1 }, [
208
209
  v("div", {
209
210
  class: "swiper-button-prev",
210
211
  "data-cy": "swiper-button-prev",
@@ -219,18 +220,18 @@ const te = ["id"], se = ["id", "data-cy"], ie = ["data-idx", "alt", "width", "he
219
220
  })
220
221
  ], 64)) : $("", !0)
221
222
  ], 10, se),
222
- s.thumbSwiperOptions ? (u(), l("div", {
223
+ s.thumbSwiperOptions ? (p(), l("div", {
223
224
  key: 0,
224
- id: `thumb_${p.value}`,
225
+ id: `thumb_${d.value}`,
225
226
  thumbsSlider: "",
226
- class: d(["swiper", e.$attrs["thumb-swiper-classes"]])
227
+ class: u(["swiper", e.$attrs["thumb-swiper-classes"]])
227
228
  }, [
228
229
  v("div", {
229
- class: d(["swiper-wrapper", e.$attrs["thumb-swiper-wrapper-classes"]])
230
+ class: u(["swiper-wrapper", e.$attrs["thumb-swiper-wrapper-classes"]])
230
231
  }, [
231
- (u(!0), l(P, null, E(s.images, (t, r) => (u(), l("div", {
232
- key: `thumb_${p.value}_${r}`,
233
- class: d(["swiper-slide", e.$attrs["thumb-img-wrapper-classes"]])
232
+ (p(!0), l(P, null, E(s.images, (t, r) => (p(), l("div", {
233
+ key: `thumb_${d.value}_${r}`,
234
+ class: u(["swiper-slide", e.$attrs["thumb-img-wrapper-classes"]])
234
235
  }, [
235
236
  v("img", F({
236
237
  class: e.$attrs["thumb-img-classes"]
@@ -244,5 +245,5 @@ const te = ["id"], se = ["id", "data-cy"], ie = ["data-idx", "alt", "width", "he
244
245
  }
245
246
  });
246
247
  export {
247
- fe as default
248
+ ve as default
248
249
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wikicasa-dev/components",
3
- "version": "2.1.26",
3
+ "version": "2.1.28-alpha.0",
4
4
  "description": "Wikicasa frontend components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -40,16 +40,17 @@
40
40
  "url": "https://bitbucket.org/wikicasa/wikicasa-fe/issues"
41
41
  },
42
42
  "homepage": "https://bitbucket.org/wikicasa/wikicasa-fe#readme",
43
+ "peerDependencies": {
44
+ "vue": "^3.5.0",
45
+ "date-fns": "^4.0.0"
46
+ },
43
47
  "dependencies": {
44
- "caniuse-lite": "^1.0.30001756",
45
48
  "chart.js": "4.5.1",
46
49
  "chartjs-adapter-date-fns": "3.0.0",
47
- "date-fns": "4.1.0",
48
- "reka-ui": "^2.6.0",
50
+ "reka-ui": "^2.6.1",
49
51
  "swiper": "^12.0.3",
50
- "vue": "^3.5.24",
51
- "vue-chartjs": "5.3.3",
52
- "vue-router": "^4.6.3"
52
+ "vue": "^3.5.25",
53
+ "vue-chartjs": "5.3.3"
53
54
  },
54
55
  "devDependencies": {
55
56
  "@babel/eslint-parser": "^7.28.5",
@@ -58,30 +59,29 @@
58
59
  "@vitejs/plugin-vue": "^6.0.2",
59
60
  "@vue/eslint-config-prettier": "^10.2.0",
60
61
  "@vue/eslint-config-typescript": "^14.6.0",
61
- "@wikicasa-dev/svg-icons": "1.2.21",
62
- "@wikicasa-dev/vue-composables": "0.0.24",
62
+ "@wikicasa-dev/svg-icons": "1.2.24-alpha.0",
63
+ "@wikicasa-dev/vue-composables": "0.0.25",
63
64
  "@wikicasa-dev/tailwind-plugins": "^0.0.3",
64
65
  "@wikicasa-dev/types": "2.4.6",
65
66
  "@wikicasa-dev/utilities": "1.1.22",
66
67
  "autoprefixer": "^10.4.22",
68
+ "date-fns": "4.1.0",
67
69
  "eslint": "^9.39",
68
- "eslint-plugin-vue": "^10.5.1",
70
+ "eslint-plugin-vue": "^10.6.2",
69
71
  "jiti": "^2.6.1",
70
72
  "glob": "^13.0.0",
71
73
  "histoire": "^1.0.0-alpha.5",
72
74
  "postcss": "^8.5.6",
73
- "prettier": "^3.6.2",
74
- "prettier-plugin-tailwindcss": "^0.7.1",
75
+ "prettier": "^3.7.4",
76
+ "prettier-plugin-tailwindcss": "^0.7.2",
75
77
  "rollup-plugin-visualizer": "^6.0.5",
76
78
  "tailwindcss": "3.4.15",
77
79
  "typescript": "^5.9.3",
78
- "vite": "7.2.4",
80
+ "vite": "7.2.6",
79
81
  "vite-plugin-dts": "^4.5.4",
80
82
  "vite-plugin-lib-inject-css": "^2.2.2",
81
- "vue-tsc": "3.1.4"
82
- },
83
- "peerDependencies": {
84
- "vue": "^3.5.0"
83
+ "vue-router": "^4.6.3",
84
+ "vue-tsc": "3.1.5"
85
85
  },
86
86
  "readme": "ERROR: No README data found!",
87
87
  "scripts": {
@@ -1,2 +0,0 @@
1
- import { h as w } from "vue";
2
- w("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 17 17" });