@wikicasa-dev/components 2.6.9-alpha.2 → 2.6.11-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.
- package/dist/UIKit/BasePagination.vue.js +18 -16
- package/dist/assets/SwiperCarousel.css +1 -1
- package/dist/assets/swiperPaginationBullet.css +1 -0
- package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.js +2 -3
- package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.vue.js +4 -3
- package/dist/components/carousel/SwiperCarousel.js +2 -3
- package/dist/components/carousel/SwiperCarousel.vue.js +22 -21
- package/dist/index.js +133 -134
- package/package.json +16 -19
- package/dist/assets/SwiperCarousel2.css +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as O, useModel as V, computed as s, openBlock as a, createElementBlock as o, createElementVNode as P, createBlock as v, resolveDynamicComponent as m, mergeProps as h, withCtx as f, createVNode as $, unref as p, toDisplayString as
|
|
1
|
+
import { defineComponent as O, useModel as V, computed as s, openBlock as a, createElementBlock as o, createElementVNode as P, createBlock as v, resolveDynamicComponent as m, mergeProps as h, withCtx as f, createVNode as $, unref as p, toDisplayString as x, createCommentVNode as k, Fragment as w, createTextVNode as g, renderList as j, mergeModels as A } from "vue";
|
|
2
2
|
import { ArrowIcon as B } from "@wikicasa-dev/svg-icons";
|
|
3
3
|
const Q = {
|
|
4
4
|
"aria-label": "Page navigation",
|
|
@@ -45,15 +45,17 @@ const Q = {
|
|
|
45
45
|
const u = V(e, "pageNumber"), y = s(() => (u.value || 1) + 1), b = s(() => (u.value || 1) - 1), c = s(() => e.baseUrl ? e.linkTag : "span"), r = s(() => Math.ceil((e.count + e.additionalCount) / e.limit)), D = (l = 1) => l < 1, S = (l = 1) => l === r.value, C = s(() => (u.value || 0) > e.siblings + 2), N = s(
|
|
46
46
|
() => (u.value || 0) < r.value - e.siblings - 1
|
|
47
47
|
), L = s(() => {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
const l = u.value || 0;
|
|
49
|
+
let t = 0;
|
|
50
|
+
for (let i = l; i > 2 && t < e.siblings; i--)
|
|
51
|
+
t++;
|
|
52
|
+
return t;
|
|
52
53
|
}), M = s(() => {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
const l = u.value || 0;
|
|
55
|
+
let t = 0;
|
|
56
|
+
for (let i = l; i < r.value - 1 && t < e.siblings; i++)
|
|
57
|
+
t++;
|
|
58
|
+
return t;
|
|
57
59
|
}), U = s(() => {
|
|
58
60
|
const l = L.value + /* Filling with the remaining right siblings */
|
|
59
61
|
Math.abs(M.value - e.siblings) + /* If there is no suspension points on the right, let's fill it */
|
|
@@ -109,7 +111,7 @@ const Q = {
|
|
|
109
111
|
"stroke-color": u.value === 1 ? "#8996A9" : e.arrowColor,
|
|
110
112
|
class: "uikit-inline-block uikit-rotate-90"
|
|
111
113
|
}, null, 8, ["stroke-color"]),
|
|
112
|
-
e.small && e.prevLabel ? (a(), o("span", q,
|
|
114
|
+
e.small && e.prevLabel ? (a(), o("span", q, x(e.prevLabel), 1)) : k("", !0)
|
|
113
115
|
]),
|
|
114
116
|
_: 1
|
|
115
117
|
}, 16, ["href", "to", "class"]))
|
|
@@ -125,7 +127,7 @@ const Q = {
|
|
|
125
127
|
class: "page uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-select-none uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px uikit-no-underline hover:uikit-bg-w-primary hover:uikit-text-white"
|
|
126
128
|
}, e.linkProps), {
|
|
127
129
|
default: f(() => [...t[4] || (t[4] = [
|
|
128
|
-
|
|
130
|
+
g(" 1 ", -1)
|
|
129
131
|
])]),
|
|
130
132
|
_: 1
|
|
131
133
|
}, 16, ["href", "to"]))
|
|
@@ -141,7 +143,7 @@ const Q = {
|
|
|
141
143
|
class: "uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-select-none uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px uikit-no-underline hover:uikit-bg-w-primary hover:uikit-text-white"
|
|
142
144
|
}, { ref_for: !0 }, e.linkProps), {
|
|
143
145
|
default: f(() => [
|
|
144
|
-
x(
|
|
146
|
+
g(x(e.formatter ? e.formatter(i) : i), 1)
|
|
145
147
|
]),
|
|
146
148
|
_: 2
|
|
147
149
|
}, 1040, ["href", "to"]))
|
|
@@ -156,7 +158,7 @@ const Q = {
|
|
|
156
158
|
}]
|
|
157
159
|
}, e.linkProps), {
|
|
158
160
|
default: f(() => [
|
|
159
|
-
x(
|
|
161
|
+
g(x(e.formatter ? e.formatter(u.value) : u.value), 1)
|
|
160
162
|
]),
|
|
161
163
|
_: 1
|
|
162
164
|
}, 16, ["href", "to", "class"]))
|
|
@@ -172,7 +174,7 @@ const Q = {
|
|
|
172
174
|
class: "uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-select-none uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px uikit-text-w-black uikit-no-underline hover:uikit-bg-w-primary hover:uikit-text-white"
|
|
173
175
|
}, { ref_for: !0 }, e.linkProps), {
|
|
174
176
|
default: f(() => [
|
|
175
|
-
x(
|
|
177
|
+
g(x(e.formatter ? e.formatter(i) : i), 1)
|
|
176
178
|
]),
|
|
177
179
|
_: 2
|
|
178
180
|
}, 1040, ["href", "to"]))
|
|
@@ -188,7 +190,7 @@ const Q = {
|
|
|
188
190
|
class: "uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-select-none uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px uikit-no-underline hover:uikit-bg-w-primary hover:uikit-text-white"
|
|
189
191
|
}, e.linkProps), {
|
|
190
192
|
default: f(() => [
|
|
191
|
-
x(
|
|
193
|
+
g(x(e.formatter ? e.formatter(r.value) : r.value), 1)
|
|
192
194
|
]),
|
|
193
195
|
_: 1
|
|
194
196
|
}, 16, ["href", "to"]))
|
|
@@ -208,7 +210,7 @@ const Q = {
|
|
|
208
210
|
}]
|
|
209
211
|
}, e.linkProps), {
|
|
210
212
|
default: f(() => [
|
|
211
|
-
e.small && e.nextLabel ? (a(), o("span", W,
|
|
213
|
+
e.small && e.nextLabel ? (a(), o("span", W, x(e.nextLabel), 1)) : k("", !0),
|
|
212
214
|
$(p(B), {
|
|
213
215
|
"stroke-color": (u.value || 0) === r.value ? "#8996A9" : e.arrowColor,
|
|
214
216
|
width: 20,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.no-transition[data-v-39725047]{transition-duration:0ms!important}.disable-select[data-v-39725047]{-webkit-user-select:none;-moz-user-select:none;user-select:none}.swiper-button-disabled[data-v-39725047]{pointer-events:auto!important}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.swiper-pagination-bullet{--swiper-pagination-color: #ccc}.swiper-pagination-bullet-active{--swiper-pagination-color: #fff}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { defineComponent as r, inject as a, openBlock as p, createElementBlock as s, withModifiers as d } from "vue";
|
|
2
2
|
import { addModuleDescriptorKey as c } from "./SwiperRootPrimitive.vue.js";
|
|
3
|
-
import '../../../assets/SwiperRootPrimitive2.css';import '../../../assets/SwiperRootPrimitive.css';/* empty css */
|
|
3
|
+
import '../../../assets/swiperPaginationBullet.css';import '../../../assets/SwiperRootPrimitive2.css';import '../../../assets/SwiperRootPrimitive.css';/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { PaginationModule as u } from "../../../lazyModules/Swiper/Pagination/factory.js";
|
|
6
|
-
|
|
6
|
+
/* empty css */
|
|
7
|
+
const x = /* @__PURE__ */ r({
|
|
7
8
|
__name: "SwiperPaginationPrimitive",
|
|
8
9
|
props: {
|
|
9
10
|
options: { type: [Object, Boolean], default: !0 }
|
|
@@ -30,5 +31,5 @@ const b = /* @__PURE__ */ r({
|
|
|
30
31
|
}
|
|
31
32
|
});
|
|
32
33
|
export {
|
|
33
|
-
|
|
34
|
+
x as default
|
|
34
35
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import o from "./SwiperCarousel.vue.js";
|
|
2
|
-
import '../../assets/
|
|
3
|
-
/* empty css */
|
|
2
|
+
import '../../assets/SwiperCarousel.css';/* empty css */
|
|
4
3
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
4
|
+
const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-39725047"]]);
|
|
6
5
|
export {
|
|
7
6
|
e as default
|
|
8
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as W, shallowRef as L, useTemplateRef as V, useId as X, computed as Y, onMounted as x, watch as _, nextTick as S, openBlock as n, createElementBlock as l, Fragment as $, withDirectives as ee, createElementVNode as
|
|
1
|
+
import { defineComponent as W, shallowRef as L, useTemplateRef as V, useId as X, computed as Y, onMounted as x, watch as _, nextTick as S, openBlock as n, createElementBlock as l, Fragment as $, withDirectives as ee, createElementVNode as w, normalizeClass as u, unref as te, renderSlot as I, renderList as R, mergeProps as T, createCommentVNode as h, withModifiers as P, vShow as ie } from "vue";
|
|
2
2
|
import { createSwiper as B } from "../../lazyModules/Swiper/factory.js";
|
|
3
3
|
import { AutoplayModule as se } from "../../lazyModules/Swiper/Autoplay/factory.js";
|
|
4
4
|
import { FreemodeModule as ae } from "../../lazyModules/Swiper/FreeMode/factory.js";
|
|
@@ -7,7 +7,8 @@ import { NavigationModule as oe } from "../../lazyModules/Swiper/Navigation/fact
|
|
|
7
7
|
import { PaginationModule as ne } from "../../lazyModules/Swiper/Pagination/factory.js";
|
|
8
8
|
import { ThumbsModule as le } from "../../lazyModules/Swiper/Thumbs/factory.js";
|
|
9
9
|
import { ZoomModule as ue } from "../../lazyModules/Swiper/Zoom/factory.js";
|
|
10
|
-
|
|
10
|
+
import '../../assets/swiperPaginationBullet.css';/* empty css */
|
|
11
|
+
const de = ["id", "data-cy"], ce = ["data-idx", "alt", "width", "height", "onLoad"], pe = ["id"], me = ["alt"], Se = /* @__PURE__ */ W({
|
|
11
12
|
inheritAttrs: !1,
|
|
12
13
|
__name: "SwiperCarousel",
|
|
13
14
|
props: {
|
|
@@ -22,7 +23,7 @@ const de = ["id", "data-cy"], ce = ["data-idx", "alt", "width", "height", "onLoa
|
|
|
22
23
|
},
|
|
23
24
|
emits: ["moved", "click", "firstSlideLoaded", "init"],
|
|
24
25
|
setup(t, { expose: D, emit: F }) {
|
|
25
|
-
const b = F, d = L(null), k = V("swiperRef"), A = V("thumbsRef"), O = L(!1), E = X(),
|
|
26
|
+
const b = F, d = L(null), k = V("swiperRef"), A = V("thumbsRef"), O = L(!1), E = X(), f = Y(() => t.id ?? E), v = t.swiperOptions?.slidesPerView || 1, N = !!t.swiperOptions?.keyboard, z = !!t.swiperOptions.navigation, M = !!t.swiperOptions.pagination, j = !!t.swiperOptions.autoplay, q = t.swiperOptions?.effect || "slider", C = (e, i = -1, s = !1) => {
|
|
26
27
|
if (!e.images)
|
|
27
28
|
return { src: e.src || "" };
|
|
28
29
|
let a = "", r = "", g = "";
|
|
@@ -32,12 +33,12 @@ const de = ["id", "data-cy"], ce = ["data-idx", "alt", "width", "height", "onLoa
|
|
|
32
33
|
p && (g += g ? `,${c} ${parseInt(p)}px` : `${c} ${parseInt(p)}px`);
|
|
33
34
|
}
|
|
34
35
|
r = e.images.reduce((o, c, p) => {
|
|
35
|
-
const
|
|
36
|
-
return !
|
|
36
|
+
const m = Object.values(t.artDirection)[p];
|
|
37
|
+
return !m || !m.width || (o += o ? `, ${c.storagePath} ${m.width}` : `${c.storagePath} ${m.width}`), o;
|
|
37
38
|
}, ""), a = e.images[0].storagePath;
|
|
38
39
|
} else {
|
|
39
40
|
let o = e.images;
|
|
40
|
-
e.images.length > 3 ? o = e.images.slice(2, 5) : t.shiftFirstImage && (o[0] = o[1]), r = o.reduce((c, p,
|
|
41
|
+
e.images.length > 3 ? o = e.images.slice(2, 5) : t.shiftFirstImage && (o[0] = o[1]), r = o.reduce((c, p, m) => (m === 0 && (a = `${p.storagePath}`), m > 0 && (c += ", "), `${c}${p.storagePath} ${m + 1}x`), "");
|
|
41
42
|
}
|
|
42
43
|
const Q = a, U = r;
|
|
43
44
|
return typeof v == "number" && i > v ? (a = "", r = "", { sizes: g, "data-src": Q, "data-srcset": U }) : s ? {
|
|
@@ -127,16 +128,16 @@ const de = ["id", "data-cy"], ce = ["data-idx", "alt", "width", "height", "onLoa
|
|
|
127
128
|
},
|
|
128
129
|
updateSlidesPerView: J
|
|
129
130
|
}), (e, i) => (n(), l($, null, [
|
|
130
|
-
ee(
|
|
131
|
+
ee(w("div", {
|
|
131
132
|
class: u(["swiper-carousel-root", e.$attrs["root-classes"]])
|
|
132
133
|
}, [
|
|
133
|
-
|
|
134
|
+
w("div", {
|
|
134
135
|
ref: "swiperRef",
|
|
135
|
-
id:
|
|
136
|
+
id: f.value,
|
|
136
137
|
"data-cy": e.$attrs["data-cy"],
|
|
137
138
|
class: u(["swiper uikit-carousel", e.$attrs["swiper-classes"]])
|
|
138
139
|
}, [
|
|
139
|
-
|
|
140
|
+
w("div", {
|
|
140
141
|
class: u(["swiper-wrapper", [
|
|
141
142
|
e.$attrs["swiper-wrapper-classes"],
|
|
142
143
|
te(q) === "none" && "no-transition"
|
|
@@ -145,10 +146,10 @@ const de = ["id", "data-cy"], ce = ["data-idx", "alt", "width", "height", "onLoa
|
|
|
145
146
|
}, [
|
|
146
147
|
I(e.$slots, "default", {}, () => [
|
|
147
148
|
(n(!0), l($, null, R(t.images, (s, a) => (n(), l("div", {
|
|
148
|
-
key: `swiper_${
|
|
149
|
+
key: `swiper_${f.value}_${a}`,
|
|
149
150
|
class: u(["swiper-slide", e.$attrs["swiper-slide-classes"]])
|
|
150
151
|
}, [
|
|
151
|
-
|
|
152
|
+
w("div", {
|
|
152
153
|
class: u([
|
|
153
154
|
"swiper-zoom-container",
|
|
154
155
|
e.$attrs["swiper-zoom-container-classes"]
|
|
@@ -163,7 +164,7 @@ const de = ["id", "data-cy"], ce = ["data-idx", "alt", "width", "height", "onLoa
|
|
|
163
164
|
class: ["disable-select", [
|
|
164
165
|
e.$attrs["slide-img-classes"] || s.classes
|
|
165
166
|
]],
|
|
166
|
-
"data-idx": `${
|
|
167
|
+
"data-idx": `${f.value}-slide-img-${a}`
|
|
167
168
|
}, { ref_for: !0 }, C(s, a), {
|
|
168
169
|
alt: s.alt,
|
|
169
170
|
itemprop: "image",
|
|
@@ -183,13 +184,13 @@ const de = ["id", "data-cy"], ce = ["data-idx", "alt", "width", "height", "onLoa
|
|
|
183
184
|
}, ["stop"]))
|
|
184
185
|
}, null, 2)) : h("", !0),
|
|
185
186
|
z ? (n(), l($, { key: 1 }, [
|
|
186
|
-
|
|
187
|
+
w("div", {
|
|
187
188
|
class: "swiper-button-prev",
|
|
188
189
|
"data-cy": "swiper-button-prev",
|
|
189
190
|
onClick: i[2] || (i[2] = P(() => {
|
|
190
191
|
}, ["stop"]))
|
|
191
192
|
}),
|
|
192
|
-
|
|
193
|
+
w("div", {
|
|
193
194
|
class: "swiper-button-next",
|
|
194
195
|
"data-cy": "swiper-button-next",
|
|
195
196
|
onClick: i[3] || (i[3] = P(() => {
|
|
@@ -199,23 +200,23 @@ const de = ["id", "data-cy"], ce = ["data-idx", "alt", "width", "height", "onLoa
|
|
|
199
200
|
], 10, de),
|
|
200
201
|
t.thumbSwiperOptions ? (n(), l("div", {
|
|
201
202
|
key: 0,
|
|
202
|
-
id: `thumb_${
|
|
203
|
+
id: `thumb_${f.value}`,
|
|
203
204
|
ref: "thumbsRef",
|
|
204
205
|
class: u(["swiper", e.$attrs["thumb-swiper-classes"]]),
|
|
205
206
|
thumbsSlider: ""
|
|
206
207
|
}, [
|
|
207
|
-
|
|
208
|
+
w("div", {
|
|
208
209
|
class: u(["swiper-wrapper", e.$attrs["thumb-swiper-wrapper-classes"]])
|
|
209
210
|
}, [
|
|
210
211
|
(n(!0), l($, null, R(t.images, (s, a) => (n(), l("div", {
|
|
211
|
-
key: `thumb_${
|
|
212
|
+
key: `thumb_${f.value}_${a}`,
|
|
212
213
|
class: u(["swiper-slide", e.$attrs["thumb-img-wrapper-classes"]])
|
|
213
214
|
}, [
|
|
214
|
-
|
|
215
|
+
w("img", T({
|
|
215
216
|
class: e.$attrs["thumb-img-classes"]
|
|
216
217
|
}, { ref_for: !0 }, C(s, -1, !1), {
|
|
217
218
|
alt: s.alt
|
|
218
|
-
}), null, 16,
|
|
219
|
+
}), null, 16, me)
|
|
219
220
|
], 2))), 128))
|
|
220
221
|
], 2)
|
|
221
222
|
], 10, pe)) : h("", !0)
|
|
@@ -227,5 +228,5 @@ const de = ["id", "data-cy"], ce = ["data-idx", "alt", "width", "height", "onLoa
|
|
|
227
228
|
}
|
|
228
229
|
});
|
|
229
230
|
export {
|
|
230
|
-
|
|
231
|
+
Se as default
|
|
231
232
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,151 +1,150 @@
|
|
|
1
|
-
import { default as
|
|
2
|
-
import { default as
|
|
3
|
-
import './assets/baseCard.css';import './assets/SwiperSlideImagePrimitive.css';import './assets/
|
|
4
|
-
import { default as
|
|
5
|
-
import { default as
|
|
6
|
-
import { default as
|
|
7
|
-
import { default as
|
|
8
|
-
import { default as
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as
|
|
11
|
-
import { default as
|
|
1
|
+
import { default as b } from "./UIKit/Accordion/BaseAccordion.vue.js";
|
|
2
|
+
import { default as g } from "./UIKit/Accordion/BaseAccordionItem.vue.js";
|
|
3
|
+
import './assets/baseCard.css';import './assets/SwiperSlideImagePrimitive.css';import './assets/BaseSnackbar.css';import './assets/baseModal.css';import './assets/BaseDropDown.css';import './assets/BaseBadge.css';import './assets/ClearableAutocomplete.css';import './assets/BaseAutocomplete.css';import './assets/baseAlert.css';import './assets/AccessibleSelect.css';import './assets/RadioButtonItem.css';import './assets/BaseTabsIndicator.css';import './assets/BaseTabs.css';import './assets/CheckboxBtn.css';import './assets/BaseAccordionItem.css';/* empty css */
|
|
4
|
+
import { default as C } from "./UIKit/Accordion/AccordionItemPrimitive.vue.js";
|
|
5
|
+
import { default as T } from "./UIKit/Accordion/AccordionHeaderPrimitive.vue.js";
|
|
6
|
+
import { default as A } from "./UIKit/Accordion/AccordionTriggerPrimitive.vue.js";
|
|
7
|
+
import { default as R } from "./UIKit/Accordion/AccordionContentPrimitive.vue.js";
|
|
8
|
+
import { default as k } from "./UIKit/BaseSelect/SelectItem.vue.js";
|
|
9
|
+
import { default as D } from "./UIKit/ProgressBar/ProgressRootPrimitive.vue.js";
|
|
10
|
+
import { default as F } from "./UIKit/ProgressBar/ProgressIndicatorPrimitive.vue.js";
|
|
11
|
+
import { default as H } from "./UIKit/Checkbox/CheckboxBtn.vue.js";
|
|
12
12
|
/* empty css */
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
19
|
-
import { default as
|
|
13
|
+
import { default as U } from "./UIKit/Checkbox/CheckboxGroup.vue.js";
|
|
14
|
+
import { default as j } from "./UIKit/Checkbox/v2/CheckboxButtonGroup.vue.js";
|
|
15
|
+
import { default as y } from "./UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue.js";
|
|
16
|
+
import { default as E } from "./UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.vue.js";
|
|
17
|
+
import { default as K } from "./UIKit/Tab/BaseTabView.vue.js";
|
|
18
|
+
import { default as W } from "./UIKit/Tab/BaseTab.vue.js";
|
|
19
|
+
import { default as Y } from "./UIKit/Tab/v2/BaseTabs.vue.js";
|
|
20
20
|
/* empty css */
|
|
21
|
-
import { default as
|
|
22
|
-
import { default as
|
|
21
|
+
import { default as _ } from "./UIKit/Tab/v2/BaseTabsContent.vue.js";
|
|
22
|
+
import { default as ee } from "./UIKit/Tab/v2/BaseTabsIndicator.vue.js";
|
|
23
23
|
/* empty css */
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
24
|
+
import { default as te } from "./UIKit/Tab/v2/BaseTabsList.vue.js";
|
|
25
|
+
import { default as ae } from "./UIKit/Tab/v2/BaseTabsTrigger.vue.js";
|
|
26
|
+
import { default as ie } from "./UIKit/Radio/RadioButton.vue.js";
|
|
27
|
+
import { default as se } from "./UIKit/Radio/RadioGroup.vue.js";
|
|
28
|
+
import { default as de } from "./UIKit/Radio/v2/RadioButtonGroup.vue.js";
|
|
29
|
+
import { default as ue } from "./UIKit/Radio/v2/RadioButtonItem.vue.js";
|
|
30
30
|
/* empty css */
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as
|
|
31
|
+
import { default as ne } from "./UIKit/Radio/v2/RadioGroupItemPrimitive.vue.js";
|
|
32
|
+
import { default as ce } from "./UIKit/AccessibleSelect.vue.js";
|
|
33
33
|
/* empty css */
|
|
34
|
-
import { default as
|
|
34
|
+
import { default as be } from "./UIKit/BaseAlert.vue.js";
|
|
35
35
|
/* empty css */
|
|
36
|
-
import { default as
|
|
36
|
+
import { default as ge } from "./UIKit/BaseAutocomplete.vue.js";
|
|
37
37
|
/* empty css */
|
|
38
|
-
import { default as
|
|
38
|
+
import { default as Ce } from "./UIKit/Autocomplete/ClearableAutocomplete.vue.js";
|
|
39
39
|
/* empty css */
|
|
40
|
-
import { default as
|
|
40
|
+
import { default as Te } from "./UIKit/BaseBadge.vue.js";
|
|
41
41
|
/* empty css */
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
42
|
+
import { default as Ae } from "./UIKit/BaseButton.vue.js";
|
|
43
|
+
import { default as Re } from "./UIKit/BaseComplexToggle.js";
|
|
44
|
+
import { default as ke } from "./UIKit/BaseDropDown.vue.js";
|
|
45
45
|
/* empty css */
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
46
|
+
import { default as De } from "./UIKit/BaseFloatingLabel.js";
|
|
47
|
+
import { default as Fe } from "./UIKit/BaseInput.js";
|
|
48
|
+
import { default as He } from "./UIKit/BasePagination.vue.js";
|
|
49
|
+
import { default as Ue } from "./UIKit/BaseSlider.js";
|
|
50
|
+
import { default as je } from "./UIKit/BaseTextarea.js";
|
|
51
|
+
import { default as ye } from "./UIKit/BaseToggle.vue.js";
|
|
52
|
+
import { default as Ee } from "./UIKit/BaseTooltip.js";
|
|
53
|
+
import { default as Ke } from "./UIKit/BaseUploadFile.vue.js";
|
|
54
|
+
import { default as We } from "./UIKit/BaseModal.vue.js";
|
|
55
55
|
/* empty css */
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
56
|
+
import { default as Ye } from "./UIKit/StaticSpinner.js";
|
|
57
|
+
import { default as _e } from "./UIKit/ShimmerLoader/BaseShimmerLoader.js";
|
|
58
|
+
import { default as er } from "./UIKit/ShimmerLoader/ShimmerMultiLine.vue.js";
|
|
59
|
+
import { default as tr } from "./chart/DoughnutChart.vue.js";
|
|
60
|
+
import { default as ar } from "./chart/LineChart.vue.js";
|
|
61
|
+
import { default as ir } from "./UIKit/Slider/SimpleSlider.js";
|
|
62
|
+
import { default as sr } from "./UIKit/BaseSnackbar.vue.js";
|
|
63
63
|
/* empty css */
|
|
64
|
-
import { default as
|
|
65
|
-
import { default as
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as
|
|
69
|
-
import { default as
|
|
70
|
-
import { default as
|
|
71
|
-
import { default as
|
|
72
|
-
import { default as
|
|
64
|
+
import { default as dr } from "./components/IntersectionObserver/IntersectionObservable.vue.js";
|
|
65
|
+
import { default as ur } from "./components/IntersectionObserver/IntersectionObserver.vue.js";
|
|
66
|
+
import { default as nr } from "./components/IntersectionObserver/v2/IntersectionObserverProvider.vue.js";
|
|
67
|
+
import { default as cr } from "./components/IntersectionObserver/v2/IntersectionObserverTarget.vue.js";
|
|
68
|
+
import { default as br } from "./components/carousel/SwiperCarousel.js";
|
|
69
|
+
import { default as gr } from "./components/carousel/SwiperSlide.js";
|
|
70
|
+
import { default as Cr } from "./components/carousel/Primitive/SwiperRootPrimitive.js";
|
|
71
|
+
import { default as Tr } from "./components/carousel/Primitive/SwiperPrimitive.vue.js";
|
|
72
|
+
import { default as Ar } from "./components/carousel/Primitive/SwiperPaginationPrimitive.vue.js";
|
|
73
|
+
import { default as Rr } from "./components/carousel/Primitive/SwiperNavigationPrimitive.vue.js";
|
|
74
|
+
import { default as kr } from "./components/carousel/Primitive/SwiperSlideImagePrimitive.vue.js";
|
|
73
75
|
/* empty css */
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as Lr } from "./components/carousel/Primitive/SwiperSlideImagePrimitive.vue.js";
|
|
76
|
-
/* empty css */
|
|
77
|
-
import { default as Or } from "./UIKit/Card/BaseCard.vue.js";
|
|
76
|
+
import { default as Dr } from "./UIKit/Card/BaseCard.vue.js";
|
|
78
77
|
/* empty css */
|
|
79
|
-
import { default as
|
|
78
|
+
import { default as Fr } from "./UIKit/Card/CardRootPrimitive.vue.js";
|
|
80
79
|
/* empty css */
|
|
81
|
-
import { default as
|
|
82
|
-
import { default as
|
|
83
|
-
import { default as
|
|
80
|
+
import { default as Hr } from "./UIKit/Card/CardDescriptionPrimitive.js";
|
|
81
|
+
import { default as Ur } from "./UIKit/Card/CardImagePrimitive.vue.js";
|
|
82
|
+
import { default as jr } from "./UIKit/BaseBreadcrumb.vue.js";
|
|
84
83
|
export {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
84
|
+
ce as AccessibleSelect,
|
|
85
|
+
R as AccordionContentPrimitive,
|
|
86
|
+
T as AccordionHeaderPrimitive,
|
|
87
|
+
C as AccordionItemPrimitive,
|
|
88
|
+
A as AccordionTriggerPrimitive,
|
|
89
|
+
b as BaseAccordion,
|
|
90
|
+
g as BaseAccordionItem,
|
|
91
|
+
be as BaseAlert,
|
|
92
|
+
ge as BaseAutocomplete,
|
|
93
|
+
Te as BaseBadge,
|
|
94
|
+
jr as BaseBreadcrumb,
|
|
95
|
+
Ae as BaseButton,
|
|
96
|
+
Dr as BaseCard,
|
|
97
|
+
Re as BaseComplexToggle,
|
|
98
|
+
ke as BaseDropDown,
|
|
99
|
+
De as BaseFloatingLabel,
|
|
100
|
+
Fe as BaseInput,
|
|
101
|
+
We as BaseModal,
|
|
102
|
+
He as BasePagination,
|
|
103
|
+
_e as BaseShimmerLoader,
|
|
104
|
+
Ue as BaseSlider,
|
|
105
|
+
sr as BaseSnackbar,
|
|
106
|
+
W as BaseTab,
|
|
107
|
+
K as BaseTabView,
|
|
108
|
+
Y as BaseTabs,
|
|
109
|
+
_ as BaseTabsContent,
|
|
110
|
+
ee as BaseTabsIndicator,
|
|
111
|
+
te as BaseTabsList,
|
|
112
|
+
ae as BaseTabsTrigger,
|
|
113
|
+
je as BaseTextarea,
|
|
114
|
+
ye as BaseToggle,
|
|
115
|
+
Ee as BaseTooltip,
|
|
116
|
+
Ke as BaseUploadFile,
|
|
117
|
+
Hr as CardDescriptionPrimitive,
|
|
118
|
+
Ur as CardImagePrimitive,
|
|
119
|
+
Fr as CardRootPrimitive,
|
|
120
|
+
H as CheckboxBtn,
|
|
121
|
+
j as CheckboxButtonGroup,
|
|
122
|
+
U as CheckboxGroup,
|
|
123
|
+
E as CheckboxGroupItemPrimitive,
|
|
124
|
+
y as CheckboxGroupPrimitive,
|
|
125
|
+
Ce as ClearableAutocomplete,
|
|
126
|
+
tr as DoughnutChart,
|
|
127
|
+
dr as IntersectionObservable,
|
|
128
|
+
ur as IntersectionObserver,
|
|
129
|
+
nr as IntersectionObserverProvider,
|
|
130
|
+
cr as IntersectionObserverTarget,
|
|
131
|
+
ar as LineChart,
|
|
132
|
+
F as ProgressIndicatorPrimitive,
|
|
133
|
+
D as ProgressRootPrimitive,
|
|
134
|
+
ie as RadioButton,
|
|
135
|
+
de as RadioButtonGroup,
|
|
136
|
+
ue as RadioButtonItem,
|
|
137
|
+
se as RadioGroup,
|
|
138
|
+
ne as RadioGroupItemPrimitive,
|
|
139
|
+
k as SelectItem,
|
|
140
|
+
er as ShimmerMultiLine,
|
|
141
|
+
ir as SimpleSlider,
|
|
142
|
+
Ye as StaticSpinner,
|
|
143
|
+
br as SwiperCarousel,
|
|
144
|
+
Rr as SwiperNavigationPrimitive,
|
|
145
|
+
Ar as SwiperPaginationPrimitive,
|
|
146
|
+
Tr as SwiperPrimitive,
|
|
147
|
+
Cr as SwiperRootPrimitive,
|
|
148
|
+
gr as SwiperSlide,
|
|
149
|
+
kr as SwiperSlideImagePrimitive
|
|
151
150
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wikicasa-dev/components",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.11-alpha.0",
|
|
4
4
|
"description": "Wikicasa frontend components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
},
|
|
43
43
|
"homepage": "https://bitbucket.org/wikicasa/wikicasa-fe#readme",
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@wikicasa-dev/svg-icons": "1.3.6",
|
|
46
|
-
"@wikicasa-dev/types": "2.5.8",
|
|
47
|
-
"@wikicasa-dev/utilities": "1.2.
|
|
48
|
-
"@wikicasa-dev/vue-composables": "0.1.6",
|
|
45
|
+
"@wikicasa-dev/svg-icons": "^1.3.6",
|
|
46
|
+
"@wikicasa-dev/types": "^2.5.8",
|
|
47
|
+
"@wikicasa-dev/utilities": "^1.2.10",
|
|
48
|
+
"@wikicasa-dev/vue-composables": "^0.1.6",
|
|
49
49
|
"date-fns": "^4.0.0",
|
|
50
50
|
"vue": "^3.5.0"
|
|
51
51
|
},
|
|
@@ -54,7 +54,6 @@
|
|
|
54
54
|
"chartjs-adapter-date-fns": "3.0.0",
|
|
55
55
|
"reka-ui": "^2.9.9",
|
|
56
56
|
"swiper": "^12.2.0",
|
|
57
|
-
"vue": "^3.5.35",
|
|
58
57
|
"vue-chartjs": "5.3.3"
|
|
59
58
|
},
|
|
60
59
|
"devDependencies": {
|
|
@@ -62,18 +61,9 @@
|
|
|
62
61
|
"@types/node": "^25.9.1",
|
|
63
62
|
"@vitejs/plugin-vue": "^6.0.7",
|
|
64
63
|
"@vitest/browser-playwright": "^4.1.8",
|
|
65
|
-
"@vue/eslint-config-typescript": "^14.8.0",
|
|
66
|
-
"@wikicasa-dev/svg-icons": "^1.3.6",
|
|
67
|
-
"@wikicasa-dev/tailwind-plugins": "^0.0.6",
|
|
68
|
-
"@wikicasa-dev/types": "^2.5.8",
|
|
69
|
-
"@wikicasa-dev/utilities": "^1.2.5",
|
|
70
|
-
"@wikicasa-dev/vue-composables": "^0.1.6",
|
|
71
64
|
"autoprefixer": "^10.5.0",
|
|
72
65
|
"date-fns": "4.4.0",
|
|
73
66
|
"eslint": "^10.4",
|
|
74
|
-
"eslint-config-prettier": "^10.1.8",
|
|
75
|
-
"eslint-plugin-oxlint": "~1.68.0",
|
|
76
|
-
"eslint-plugin-vue": "~10.9.2",
|
|
77
67
|
"glob": "^13.0.6",
|
|
78
68
|
"histoire": "^1.0.0-beta.1",
|
|
79
69
|
"jiti": "^2.7.0",
|
|
@@ -81,6 +71,7 @@
|
|
|
81
71
|
"oxfmt": "^0.53.0",
|
|
82
72
|
"oxlint": "~1.68.0",
|
|
83
73
|
"postcss": "^8.5.15",
|
|
74
|
+
"rollup": "4.61.1",
|
|
84
75
|
"rollup-plugin-visualizer": "^7.0.1",
|
|
85
76
|
"tailwindcss": "3.4.15",
|
|
86
77
|
"typescript": "~6.0.3",
|
|
@@ -90,11 +81,18 @@
|
|
|
90
81
|
"vitest": "^4.1.8",
|
|
91
82
|
"vitest-browser-vue": "^2.1.0",
|
|
92
83
|
"vue-router": "^5.1.0",
|
|
93
|
-
"vue-tsc": "3.3.3"
|
|
84
|
+
"vue-tsc": "3.3.3",
|
|
85
|
+
"@wikicasa-dev/tsconfig": "0.0.0",
|
|
86
|
+
"@wikicasa-dev/svg-icons": "1.3.6",
|
|
87
|
+
"@wikicasa-dev/tailwind-plugins": "0.0.7",
|
|
88
|
+
"@wikicasa-dev/vue-composables": "0.1.6",
|
|
89
|
+
"@wikicasa-dev/eslint-config": "0.0.0",
|
|
90
|
+
"@wikicasa-dev/utilities": "1.2.10",
|
|
91
|
+
"@wikicasa-dev/types": "2.5.8"
|
|
94
92
|
},
|
|
95
93
|
"readme": "ERROR: No README data found!",
|
|
96
94
|
"scripts": {
|
|
97
|
-
"dev": "vite",
|
|
95
|
+
"dev": "turbo run build --filter=@wikicasa-dev/components^... && vite",
|
|
98
96
|
"build": "vue-tsc --p ./tsconfig-build.json --noEmit && TAILWIND_MODE=library vite --config vite-build.config.ts build",
|
|
99
97
|
"build-app": "vite --config vite-app.config.ts build",
|
|
100
98
|
"preview": "vite preview",
|
|
@@ -102,10 +100,9 @@
|
|
|
102
100
|
"story:dev": "histoire dev",
|
|
103
101
|
"story:build": "histoire build",
|
|
104
102
|
"story:preview": "histoire preview",
|
|
105
|
-
"release:alpha": "pnpm version prerelease --preid=alpha && pnpm publish --tag alpha --no-git-checks",
|
|
106
103
|
"tsc": "vue-tsc --p ./tsconfig-build.json",
|
|
107
104
|
"lint": "run-s lint:*",
|
|
108
|
-
"lint:oxlint": "oxlint . --fix",
|
|
105
|
+
"lint:oxlint": "oxlint --config ../eslint-config/oxlint-base.json . --fix",
|
|
109
106
|
"lint:eslint": "eslint . --fix --cache",
|
|
110
107
|
"format": "oxfmt src/",
|
|
111
108
|
"test:browser": "vitest --config=vitest.browser.config.ts"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.no-transition[data-v-c4229b26]{transition-duration:0ms!important}.disable-select[data-v-c4229b26]{-webkit-user-select:none;-moz-user-select:none;user-select:none}.swiper-button-disabled[data-v-c4229b26]{pointer-events:auto!important}
|