@wikicasa-dev/components 2.4.1-alpha.0 → 2.4.1-alpha.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.
- package/dist/Swiper/autoplay.js +1 -1
- package/dist/Swiper/controller.js +1 -1
- package/dist/Swiper/keyboard.js +1 -1
- package/dist/Swiper/thumbs.js +1 -1
- package/dist/packages/components/lib/UIKit/BaseModal.vue.js +13 -13
- package/package.json +1 -1
- /package/dist/assets/{swiper-keyboard.css → swiper-autoplay.css} +0 -0
package/dist/Swiper/autoplay.js
CHANGED
package/dist/Swiper/keyboard.js
CHANGED
package/dist/Swiper/thumbs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as T, shallowRef as v, useTemplateRef as h, onUnmounted as
|
|
2
|
-
import { CloseIcon as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as T, shallowRef as v, useTemplateRef as h, onUnmounted as D, watch as $, createBlock as H, openBlock as r, Teleport as O, createVNode as y, Transition as F, withCtx as K, withDirectives as N, createElementVNode as l, normalizeClass as i, createElementBlock as C, createCommentVNode as w, renderSlot as d, withModifiers as S, unref as U, vShow as V } from "vue";
|
|
2
|
+
import { CloseIcon as A } from "@wikicasa-dev/svg-icons";
|
|
3
|
+
const P = ["id", "data-cy"], R = ["innerHTML"], q = /* @__PURE__ */ T({
|
|
4
4
|
__name: "BaseModal",
|
|
5
5
|
props: {
|
|
6
6
|
id: { default: "base-bt-modal" },
|
|
@@ -31,7 +31,7 @@ const R = ["id", "data-cy"], U = ["innerHTML"], G = /* @__PURE__ */ T({
|
|
|
31
31
|
}, f = () => {
|
|
32
32
|
document?.body.removeEventListener("keydown", m);
|
|
33
33
|
}, p = () => {
|
|
34
|
-
g(), document?.body.classList.add(
|
|
34
|
+
console.log("DEBUG:onBeforeEnter called"), g(), document?.body.classList.add(
|
|
35
35
|
"sm:uikit-pr-15px",
|
|
36
36
|
"sm:uikit-mr-0",
|
|
37
37
|
"uikit-overflow-hidden"
|
|
@@ -61,13 +61,13 @@ const R = ["id", "data-cy"], U = ["innerHTML"], G = /* @__PURE__ */ T({
|
|
|
61
61
|
s();
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
|
-
|
|
64
|
+
D(() => {
|
|
65
65
|
f(), document?.body.classList.remove(
|
|
66
66
|
"sm:uikit-pr-15px",
|
|
67
67
|
"sm:uikit-mr-0",
|
|
68
68
|
"uikit-overflow-hidden"
|
|
69
69
|
);
|
|
70
|
-
}),
|
|
70
|
+
}), $(
|
|
71
71
|
() => t.showModal,
|
|
72
72
|
async (e) => {
|
|
73
73
|
o.value = e;
|
|
@@ -79,7 +79,7 @@ const R = ["id", "data-cy"], U = ["innerHTML"], G = /* @__PURE__ */ T({
|
|
|
79
79
|
};
|
|
80
80
|
return (e, n) => (r(), H(O, { to: "body" }, [
|
|
81
81
|
y(F, {
|
|
82
|
-
appear:
|
|
82
|
+
appear: o.value,
|
|
83
83
|
name: "modal-transition",
|
|
84
84
|
duration: { enter: 500, leave: 250 },
|
|
85
85
|
onBeforeEnter: p,
|
|
@@ -130,7 +130,7 @@ const R = ["id", "data-cy"], U = ["innerHTML"], G = /* @__PURE__ */ T({
|
|
|
130
130
|
"aria-label": "Close",
|
|
131
131
|
onClick: n[0] || (n[0] = S((b) => o.value = !1, ["prevent", "stop"]))
|
|
132
132
|
}, [
|
|
133
|
-
y(
|
|
133
|
+
y(U(A), {
|
|
134
134
|
class: i(["bbt-close-icon uikit-box-border", t.closeIcon?.classes]),
|
|
135
135
|
width: t.closeIcon?.size || 20,
|
|
136
136
|
height: t.closeIcon?.size || 20
|
|
@@ -140,7 +140,7 @@ const R = ["id", "data-cy"], U = ["innerHTML"], G = /* @__PURE__ */ T({
|
|
|
140
140
|
l("span", {
|
|
141
141
|
class: i(["uikit-w-auto uikit-text-18 uikit-font-semibold sm:uikit-text-22", t.titleClasses]),
|
|
142
142
|
innerHTML: t.headerTitle
|
|
143
|
-
}, null, 10,
|
|
143
|
+
}, null, 10, R)
|
|
144
144
|
])
|
|
145
145
|
], 2),
|
|
146
146
|
l("div", {
|
|
@@ -155,16 +155,16 @@ const R = ["id", "data-cy"], U = ["innerHTML"], G = /* @__PURE__ */ T({
|
|
|
155
155
|
d(e.$slots, "footer", { closeModal: s })
|
|
156
156
|
], 2)) : w("", !0),
|
|
157
157
|
d(e.$slots, "fixed-bottom")
|
|
158
|
-
], 42,
|
|
158
|
+
], 42, P)
|
|
159
159
|
], 34), [
|
|
160
|
-
[
|
|
160
|
+
[V, o.value]
|
|
161
161
|
])
|
|
162
162
|
]),
|
|
163
163
|
_: 3
|
|
164
|
-
})
|
|
164
|
+
}, 8, ["appear"])
|
|
165
165
|
]));
|
|
166
166
|
}
|
|
167
167
|
});
|
|
168
168
|
export {
|
|
169
|
-
|
|
169
|
+
q as default
|
|
170
170
|
};
|
package/package.json
CHANGED
|
File without changes
|