@wikicasa-dev/components 2.4.1-alpha.11 → 2.4.1-alpha.12

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-controller.css';/* empty css */
2
+ import '../assets/swiper-thumbs.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-controller.css';/* empty css */
2
+ import '../assets/swiper-thumbs.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-controller.css';/* empty css */
2
+ import '../assets/swiper-thumbs.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-controller.css';/* empty css */
2
+ import '../assets/swiper-thumbs.css';/* empty css */
3
3
  export {
4
4
  p as Thumbs
5
5
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as O, mergeModels as h, useModel as A, useTemplateRef as y, shallowRef as C, onUnmounted as F, createBlock as K, openBlock as k, Teleport as N, createVNode as w, Transition as S, unref as p, withCtx as V, withDirectives as P, createElementVNode as l, normalizeClass as i, createElementBlock as x, createCommentVNode as g, renderSlot as d, withModifiers as R, vShow as U } from "vue";
1
+ import { defineComponent as O, mergeModels as h, useModel as F, useTemplateRef as y, shallowRef as C, onUnmounted as A, createBlock as K, openBlock as k, Teleport as N, createVNode as w, Transition as S, unref as p, withCtx as V, withDirectives as P, createElementVNode as l, normalizeClass as i, createElementBlock as x, createCommentVNode as g, renderSlot as d, withModifiers as R, vShow as U } from "vue";
2
2
  import { CloseIcon as j } from "@wikicasa-dev/svg-icons";
3
3
  const q = ["id", "data-cy"], G = ["innerHTML"], W = /* @__PURE__ */ O({
4
4
  __name: "BaseModal",
@@ -26,7 +26,7 @@ const q = ["id", "data-cy"], G = ["innerHTML"], W = /* @__PURE__ */ O({
26
26
  }),
27
27
  emits: /* @__PURE__ */ h(["closed", "opened", "dialogClick"], ["update:showModal"]),
28
28
  setup(e, { emit: M }) {
29
- const r = M, o = A(e, "showModal"), B = o.value, m = y("backdrop"), a = y("modalDialog"), u = C(!1), c = C(!1), f = ({ key: t }) => {
29
+ const r = M, o = F(e, "showModal"), B = o.value, m = y("backdrop"), a = y("modalDialog"), u = C(!1), c = C(!1), f = ({ key: t }) => {
30
30
  t === "Escape" && s();
31
31
  }, E = () => {
32
32
  document?.body.addEventListener("keydown", f);
@@ -63,7 +63,7 @@ const q = ["id", "data-cy"], G = ["innerHTML"], W = /* @__PURE__ */ O({
63
63
  s();
64
64
  }
65
65
  };
66
- F(() => {
66
+ A(() => {
67
67
  b(), document?.body.classList.remove(
68
68
  "sm:uikit-pr-15px",
69
69
  "sm:uikit-mr-0",
@@ -80,7 +80,7 @@ const q = ["id", "data-cy"], G = ["innerHTML"], W = /* @__PURE__ */ O({
80
80
  duration: { enter: 500, leave: 250 },
81
81
  onBeforeEnter: I,
82
82
  onAfterEnter: L,
83
- onAfterLeave: z
83
+ onLeave: z
84
84
  }, {
85
85
  default: V(() => [
86
86
  P(l("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wikicasa-dev/components",
3
- "version": "2.4.1-alpha.11",
3
+ "version": "2.4.1-alpha.12",
4
4
  "description": "Wikicasa frontend components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",