evo-vue-carousel 2.1.6 → 2.2.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/evo-vue-carousel.js +738 -665
- package/package.json +10 -10
package/dist/evo-vue-carousel.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { Comment as e, Fragment as t, Static as n, Teleport as r, Text as i, Transition as a, cloneVNode as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, getCurrentInstance as h, getCurrentScope as g, h as _, hasInjectionContext as v, inject as y, isRef as b, isVNode as x, mergeModels as ee, mergeProps as S, nextTick as C, normalizeClass as w, onMounted as T, onScopeDispose as te, onUnmounted as ne, openBlock as E, provide as D,
|
|
2
|
-
import './main.css';//#region node_modules/.pnpm/@evomark+vue-forward-slots@6.2.2_vue@3.5.
|
|
3
|
-
function
|
|
1
|
+
import { Comment as e, Fragment as t, Static as n, Teleport as r, Text as i, Transition as a, cloneVNode as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, getCurrentInstance as h, getCurrentScope as g, h as _, hasInjectionContext as v, inject as y, isRef as b, isVNode as x, mergeModels as ee, mergeProps as S, nextTick as C, normalizeClass as w, onMounted as T, onScopeDispose as te, onUnmounted as ne, openBlock as E, provide as D, reactive as O, readonly as k, ref as A, renderList as re, renderSlot as j, shallowReadonly as M, shallowRef as N, toDisplayString as P, toValue as F, unref as I, useCssVars as L, useId as R, useModel as ie, useSlots as ae, useTemplateRef as z, watch as B, watchEffect as oe, withCtx as V } from "vue";
|
|
2
|
+
import './main.css';//#region node_modules/.pnpm/@evomark+vue-forward-slots@6.2.2_vue@3.5.43_typescript@6.0.3_/node_modules/@evomark/vue-forward-slots/dist/vue-forward-slots.js
|
|
3
|
+
function se(e) {
|
|
4
4
|
return typeof e == "string" || e instanceof RegExp || Array.isArray(e);
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function ce(e) {
|
|
7
7
|
return Array.isArray(e) || (e = [e]), e.filter(Boolean);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
let r =
|
|
11
|
-
return Object.entries(e).filter(([e]) =>
|
|
9
|
+
function le(e, t, n) {
|
|
10
|
+
let r = ce(t.only), i = ce(t.except);
|
|
11
|
+
return Object.entries(e).filter(([e]) => de(e, r, i, n, t.filterNative)).reduce((e, [t, n]) => (e[t] = (e) => n(e), e), {});
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function ue(e) {
|
|
14
14
|
if (e instanceof RegExp) return e;
|
|
15
15
|
{
|
|
16
16
|
let t = e.replace(/[-\/\\^$+?.()|[\]{}]/g, "\\$&").replace(/^\*/, ".*").replace(/\*$/, ".*");
|
|
17
17
|
return t.includes(".*") ? RegExp(`^${t}$`) : e;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
function
|
|
21
|
-
return t.length ? t.some((t) => (t =
|
|
20
|
+
function de(e, t, n, r, i) {
|
|
21
|
+
return t.length ? t.some((t) => (t = ue(t), r.includes(e) && i !== !0 ? !0 : t instanceof RegExp ? t.test(e) : t === e)) : n.every((t) => (t = ue(t), r.includes(e) && i !== !0 ? !0 : t instanceof RegExp ? t.test(e) === !1 : t !== e));
|
|
22
22
|
}
|
|
23
|
-
function
|
|
24
|
-
return _(e, r,
|
|
23
|
+
function fe(e, t, n, r, i) {
|
|
24
|
+
return _(e, r, le(n, t, i));
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var pe = m({
|
|
27
27
|
name: "ForwardSlots",
|
|
28
28
|
inheritAttrs: !1,
|
|
29
29
|
props: {
|
|
@@ -39,7 +39,7 @@ var me = m({
|
|
|
39
39
|
Array
|
|
40
40
|
],
|
|
41
41
|
default: () => [],
|
|
42
|
-
validator:
|
|
42
|
+
validator: se
|
|
43
43
|
},
|
|
44
44
|
except: {
|
|
45
45
|
type: [
|
|
@@ -48,7 +48,7 @@ var me = m({
|
|
|
48
48
|
Array
|
|
49
49
|
],
|
|
50
50
|
default: () => [],
|
|
51
|
-
validator:
|
|
51
|
+
validator: se
|
|
52
52
|
},
|
|
53
53
|
inheritAttrs: {
|
|
54
54
|
type: Boolean,
|
|
@@ -64,37 +64,37 @@ var me = m({
|
|
|
64
64
|
var a;
|
|
65
65
|
if (n.type === t && Array.isArray(n.children) && (a = n.children) != null && a.length) return n.children.map(i);
|
|
66
66
|
let o = Object.keys(n.children ?? {});
|
|
67
|
-
return
|
|
67
|
+
return fe(n, e, Object.assign({}, e.slots, n.children), e.inheritAttrs ? r : {}, o);
|
|
68
68
|
};
|
|
69
69
|
return () => (n.default && typeof n.default == "function" ? n.default() : []).map(i);
|
|
70
70
|
}
|
|
71
71
|
});
|
|
72
72
|
//#endregion
|
|
73
|
-
//#region node_modules/.pnpm/@vueuse+shared@
|
|
74
|
-
function
|
|
73
|
+
//#region node_modules/.pnpm/@vueuse+shared@15.0.0_vue@3.5.43_typescript@6.0.3_/node_modules/@vueuse/shared/dist/index.js
|
|
74
|
+
function me(e, t) {
|
|
75
75
|
return g() ? (te(e, t), !0) : !1;
|
|
76
76
|
}
|
|
77
|
-
var
|
|
77
|
+
var he = /* @__PURE__ */ new WeakMap(), ge = /* @__NO_SIDE_EFFECTS__ */ (...e) => {
|
|
78
78
|
let t = e[0], n = h()?.proxy ?? g();
|
|
79
79
|
if (n == null && !v()) throw Error("injectLocal must be called in setup");
|
|
80
|
-
return n &&
|
|
81
|
-
},
|
|
80
|
+
return n && he.has(n) && t in he.get(n) ? he.get(n)[t] : y(...e);
|
|
81
|
+
}, _e = typeof window < "u" && typeof document < "u";
|
|
82
82
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
83
|
-
var
|
|
84
|
-
function
|
|
83
|
+
var ve = (e) => e != null, ye = Object.prototype.toString, be = (e) => ye.call(e) === "[object Object]", xe = () => {};
|
|
84
|
+
function Se(e) {
|
|
85
85
|
return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function Ce(e) {
|
|
88
88
|
return Array.isArray(e) ? e : [e];
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function we(e) {
|
|
91
91
|
return e || h();
|
|
92
92
|
}
|
|
93
|
-
function
|
|
94
|
-
|
|
93
|
+
function Te(e, t = !0, n) {
|
|
94
|
+
we(n) ? T(e, n) : t ? e() : C(e);
|
|
95
95
|
}
|
|
96
|
-
function
|
|
97
|
-
let { immediate: r = !0, immediateCallback: i = !1 } = n, a = null, o =
|
|
96
|
+
function Ee(e, t = 1e3, n = {}) {
|
|
97
|
+
let { immediate: r = !0, immediateCallback: i = !1 } = n, a = null, o = N(!1);
|
|
98
98
|
function s() {
|
|
99
99
|
a &&= (clearInterval(a), null);
|
|
100
100
|
}
|
|
@@ -102,89 +102,89 @@ function De(e, t = 1e3, n = {}) {
|
|
|
102
102
|
o.value = !1, s();
|
|
103
103
|
}
|
|
104
104
|
function l() {
|
|
105
|
-
let n =
|
|
105
|
+
let n = F(t);
|
|
106
106
|
n <= 0 || (o.value = !0, i && e(), s(), o.value && (a = setInterval(e, n)));
|
|
107
107
|
}
|
|
108
|
-
return r &&
|
|
109
|
-
o.value &&
|
|
110
|
-
})),
|
|
111
|
-
isActive:
|
|
108
|
+
return r && _e && l(), (b(t) || typeof t == "function") && me(B(t, () => {
|
|
109
|
+
o.value && _e && l();
|
|
110
|
+
})), me(c), {
|
|
111
|
+
isActive: M(o),
|
|
112
112
|
pause: c,
|
|
113
113
|
resume: l
|
|
114
114
|
};
|
|
115
115
|
}
|
|
116
|
-
function
|
|
117
|
-
return
|
|
116
|
+
function De(e, t, n) {
|
|
117
|
+
return B(e, t, {
|
|
118
118
|
...n,
|
|
119
119
|
immediate: !0
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
122
|
//#endregion
|
|
123
|
-
//#region node_modules/.pnpm/@vueuse+core@
|
|
124
|
-
var
|
|
125
|
-
|
|
126
|
-
function
|
|
127
|
-
let t =
|
|
123
|
+
//#region node_modules/.pnpm/@vueuse+core@15.0.0_vue@3.5.43_typescript@6.0.3_/node_modules/@vueuse/core/dist/index.js
|
|
124
|
+
var H = _e ? window : void 0;
|
|
125
|
+
_e && window.document, _e && window.navigator, _e && window.location;
|
|
126
|
+
function U(e) {
|
|
127
|
+
let t = F(e);
|
|
128
128
|
return t?.$el ?? t;
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function W(...e) {
|
|
131
131
|
let t = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), n = s(() => {
|
|
132
|
-
let t =
|
|
132
|
+
let t = Ce(F(e[0])).filter((e) => e != null);
|
|
133
133
|
return t.every((e) => typeof e != "string") ? t : void 0;
|
|
134
134
|
});
|
|
135
|
-
return
|
|
136
|
-
n.value?.map((e) =>
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
135
|
+
return De(() => [
|
|
136
|
+
n.value?.map((e) => U(e)) ?? [H].filter((e) => e != null),
|
|
137
|
+
Ce(F(n.value ? e[1] : e[0])),
|
|
138
|
+
Ce(I(n.value ? e[2] : e[1])),
|
|
139
|
+
F(n.value ? e[3] : e[2])
|
|
140
140
|
], ([e, n, r, i], a, o) => {
|
|
141
141
|
if (!e?.length || !n?.length || !r?.length) return;
|
|
142
|
-
let s =
|
|
142
|
+
let s = be(i) ? { ...i } : i, c = e.flatMap((e) => n.flatMap((n) => r.map((r) => t(e, n, r, s))));
|
|
143
143
|
o(() => {
|
|
144
144
|
c.forEach((e) => e());
|
|
145
145
|
});
|
|
146
146
|
}, { flush: "post" });
|
|
147
147
|
}
|
|
148
|
-
function
|
|
149
|
-
let e =
|
|
148
|
+
function Oe() {
|
|
149
|
+
let e = N(!1), t = h();
|
|
150
150
|
return t && T(() => {
|
|
151
151
|
e.value = !0;
|
|
152
152
|
}, t), e;
|
|
153
153
|
}
|
|
154
154
|
/* @__NO_SIDE_EFFECTS__ */
|
|
155
|
-
function
|
|
156
|
-
let t =
|
|
155
|
+
function ke(e) {
|
|
156
|
+
let t = Oe();
|
|
157
157
|
return s(() => (t.value, !!e()));
|
|
158
158
|
}
|
|
159
|
-
function
|
|
160
|
-
let { window: r =
|
|
159
|
+
function Ae(e, t, n = {}) {
|
|
160
|
+
let { window: r = H, ...i } = n, a, o = /* @__PURE__ */ ke(() => r && "MutationObserver" in r), c = () => {
|
|
161
161
|
a &&= (a.disconnect(), void 0);
|
|
162
|
-
}, l =
|
|
163
|
-
let t =
|
|
162
|
+
}, l = s(() => {
|
|
163
|
+
let t = Ce(F(e)).map(U).filter(ve);
|
|
164
164
|
return new Set(t);
|
|
165
|
-
}), (e) => {
|
|
165
|
+
}), u = B(l, (e) => {
|
|
166
166
|
c(), o.value && e.size && (a = new MutationObserver(t), e.forEach((e) => a.observe(e, i)));
|
|
167
167
|
}, {
|
|
168
168
|
immediate: !0,
|
|
169
169
|
flush: "post"
|
|
170
|
-
}),
|
|
171
|
-
|
|
170
|
+
}), d = () => a?.takeRecords(), f = () => {
|
|
171
|
+
u(), c();
|
|
172
172
|
};
|
|
173
|
-
return
|
|
173
|
+
return me(f), {
|
|
174
174
|
isSupported: o,
|
|
175
|
-
stop:
|
|
176
|
-
takeRecords:
|
|
175
|
+
stop: f,
|
|
176
|
+
takeRecords: d
|
|
177
177
|
};
|
|
178
178
|
}
|
|
179
|
-
function
|
|
180
|
-
let { window: r =
|
|
181
|
-
if (!r || !i) return
|
|
179
|
+
function je(e, t, n = {}) {
|
|
180
|
+
let { window: r = H, document: i = r?.document, flush: a = "sync" } = n;
|
|
181
|
+
if (!r || !i) return xe;
|
|
182
182
|
let o, s = (e) => {
|
|
183
183
|
o?.(), o = e;
|
|
184
|
-
}, c =
|
|
185
|
-
let n =
|
|
184
|
+
}, c = oe(() => {
|
|
185
|
+
let n = U(e);
|
|
186
186
|
if (n) {
|
|
187
|
-
let { stop: e } =
|
|
187
|
+
let { stop: e } = Ae(i, (e) => {
|
|
188
188
|
e.map((e) => [...e.removedNodes]).flat().some((e) => e === n || e.contains(n)) && t(e);
|
|
189
189
|
}, {
|
|
190
190
|
window: r,
|
|
@@ -196,82 +196,82 @@ function Ne(e, t, n = {}) {
|
|
|
196
196
|
}, { flush: a }), l = () => {
|
|
197
197
|
c(), s();
|
|
198
198
|
};
|
|
199
|
-
return
|
|
199
|
+
return me(l), l;
|
|
200
200
|
}
|
|
201
|
-
var
|
|
201
|
+
var Me = Symbol("vueuse-ssr-width");
|
|
202
202
|
/* @__NO_SIDE_EFFECTS__ */
|
|
203
|
-
function
|
|
204
|
-
let e = v() ?
|
|
203
|
+
function Ne() {
|
|
204
|
+
let e = v() ? /* @__PURE__ */ ge(Me, null) : null;
|
|
205
205
|
return typeof e == "number" ? e : void 0;
|
|
206
206
|
}
|
|
207
|
-
function
|
|
208
|
-
let { window: n =
|
|
209
|
-
return
|
|
207
|
+
function Pe(e, t = {}) {
|
|
208
|
+
let { window: n = H, ssrWidth: r = /* @__PURE__ */ Ne() } = t, i = /* @__PURE__ */ ke(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), a = N(typeof r == "number"), o = N(), c = N(!1);
|
|
209
|
+
return oe(() => {
|
|
210
210
|
if (a.value) {
|
|
211
211
|
a.value = !i.value;
|
|
212
|
-
let t =
|
|
212
|
+
let t = F(e).split(",");
|
|
213
213
|
c.value = t.some((e) => {
|
|
214
214
|
let t = e.includes("not all"), n = e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), i = e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), a = !!(n || i);
|
|
215
|
-
return n && a && (a = r >=
|
|
215
|
+
return n && a && (a = r >= Se(n[1])), i && a && (a = r <= Se(i[1])), t ? !a : a;
|
|
216
216
|
});
|
|
217
217
|
return;
|
|
218
218
|
}
|
|
219
|
-
i.value && (o.value = n.matchMedia(
|
|
220
|
-
}),
|
|
219
|
+
i.value && (o.value = n.matchMedia(F(e)), c.value = o.value.matches);
|
|
220
|
+
}), W(o, "change", (e) => {
|
|
221
221
|
c.value = e.matches;
|
|
222
222
|
}, { passive: !0 }), s(() => c.value);
|
|
223
223
|
}
|
|
224
|
-
function
|
|
225
|
-
let { window: r =
|
|
224
|
+
function Fe(e, t, n = {}) {
|
|
225
|
+
let { window: r = H, ...i } = n, a, o = /* @__PURE__ */ ke(() => r && "ResizeObserver" in r), c = () => {
|
|
226
226
|
a &&= (a.disconnect(), void 0);
|
|
227
|
-
}, l =
|
|
228
|
-
let t =
|
|
229
|
-
return Array.isArray(t) ? t.map((e) =>
|
|
230
|
-
}), (e) => {
|
|
227
|
+
}, l = s(() => {
|
|
228
|
+
let t = F(e);
|
|
229
|
+
return Array.isArray(t) ? t.map((e) => U(e)) : [U(t)];
|
|
230
|
+
}), u = B(l, (e) => {
|
|
231
231
|
if (c(), o.value && r) {
|
|
232
232
|
a = new ResizeObserver(t);
|
|
233
|
-
for (let t of e) t && a.observe(t, i);
|
|
233
|
+
for (let t of e) t instanceof Element && a.observe(t, i);
|
|
234
234
|
}
|
|
235
235
|
}, {
|
|
236
236
|
immediate: !0,
|
|
237
237
|
flush: "post"
|
|
238
|
-
}),
|
|
239
|
-
c(),
|
|
238
|
+
}), d = () => {
|
|
239
|
+
c(), u();
|
|
240
240
|
};
|
|
241
|
-
return
|
|
241
|
+
return me(d), {
|
|
242
242
|
isSupported: o,
|
|
243
|
-
stop:
|
|
243
|
+
stop: d
|
|
244
244
|
};
|
|
245
245
|
}
|
|
246
|
-
function
|
|
247
|
-
let { delayEnter: n = 0, delayLeave: r = 0, triggerOnRemoval: i = !1, window: a =
|
|
246
|
+
function Ie(e, t = {}) {
|
|
247
|
+
let { delayEnter: n = 0, delayLeave: r = 0, triggerOnRemoval: i = !1, window: a = H } = t, o = N(!1), c, l = (e) => {
|
|
248
248
|
let t = e ? n : r;
|
|
249
249
|
c &&= (clearTimeout(c), void 0), t ? c = setTimeout(() => o.value = e, t) : o.value = e;
|
|
250
250
|
};
|
|
251
|
-
return a ? (
|
|
251
|
+
return a ? (W(e, "mouseenter", () => l(!0), { passive: !0 }), W(e, "mouseleave", () => l(!1), { passive: !0 }), i && je(s(() => U(e)), () => l(!1)), o) : o;
|
|
252
252
|
}
|
|
253
|
-
function
|
|
253
|
+
function Le(e, t = {
|
|
254
254
|
width: 0,
|
|
255
255
|
height: 0
|
|
256
256
|
}, n = {}) {
|
|
257
|
-
let { window: r =
|
|
257
|
+
let { window: r = H, box: i = "content-box" } = n, a = s(() => {
|
|
258
258
|
var t;
|
|
259
|
-
return (t =
|
|
260
|
-
}), o =
|
|
259
|
+
return (t = U(e)) == null || (t = t.namespaceURI) == null ? void 0 : t.includes("svg");
|
|
260
|
+
}), o = N(t.width), c = N(t.height), { stop: l } = Fe(e, ([t]) => {
|
|
261
261
|
let n = i === "border-box" ? t.borderBoxSize : i === "content-box" ? t.contentBoxSize : t.devicePixelContentBoxSize;
|
|
262
262
|
if (r && a.value) {
|
|
263
|
-
let t =
|
|
263
|
+
let t = U(e);
|
|
264
264
|
if (t) {
|
|
265
265
|
let e = t.getBoundingClientRect();
|
|
266
266
|
o.value = e.width, c.value = e.height;
|
|
267
267
|
}
|
|
268
268
|
} else if (n) {
|
|
269
|
-
let e =
|
|
269
|
+
let e = Ce(n);
|
|
270
270
|
o.value = e.reduce((e, { inlineSize: t }) => e + t, 0), c.value = e.reduce((e, { blockSize: t }) => e + t, 0);
|
|
271
271
|
} else o.value = t.contentRect.width, c.value = t.contentRect.height;
|
|
272
272
|
}, n);
|
|
273
|
-
|
|
274
|
-
let n =
|
|
273
|
+
Te(() => {
|
|
274
|
+
let n = U(e);
|
|
275
275
|
if (n && "offsetWidth" in n) {
|
|
276
276
|
if (i === "content-box" && r) {
|
|
277
277
|
let e = r.getComputedStyle(n), t = Number.parseFloat(e.paddingLeft) + Number.parseFloat(e.paddingRight), i = Number.parseFloat(e.paddingTop) + Number.parseFloat(e.paddingBottom), a = Number.parseFloat(e.borderLeftWidth) + Number.parseFloat(e.borderRightWidth), s = Number.parseFloat(e.borderTopWidth) + Number.parseFloat(e.borderBottomWidth);
|
|
@@ -279,7 +279,7 @@ function ze(e, t = {
|
|
|
279
279
|
} else o.value = n.offsetWidth, c.value = n.offsetHeight;
|
|
280
280
|
} else n && (o.value = t.width, c.value = t.height);
|
|
281
281
|
});
|
|
282
|
-
let u =
|
|
282
|
+
let u = B(() => U(e), (e) => {
|
|
283
283
|
o.value = e ? t.width : 0, c.value = e ? t.height : 0;
|
|
284
284
|
});
|
|
285
285
|
function d() {
|
|
@@ -291,8 +291,47 @@ function ze(e, t = {
|
|
|
291
291
|
stop: d
|
|
292
292
|
};
|
|
293
293
|
}
|
|
294
|
-
function
|
|
295
|
-
let {
|
|
294
|
+
function Re(e, t = {}) {
|
|
295
|
+
let { threshold: n = 50, onSwipe: r, onSwipeEnd: i, onSwipeStart: a, passive: o = !0 } = t, c = O({
|
|
296
|
+
x: 0,
|
|
297
|
+
y: 0
|
|
298
|
+
}), l = O({
|
|
299
|
+
x: 0,
|
|
300
|
+
y: 0
|
|
301
|
+
}), u = s(() => c.x - l.x), d = s(() => c.y - l.y), { max: f, abs: p } = Math, m = s(() => f(p(u.value), p(d.value)) >= n), h = N(!1), g = s(() => m.value ? p(u.value) > p(d.value) ? u.value > 0 ? "left" : "right" : d.value > 0 ? "up" : "down" : "none"), _ = (e) => [e.touches[0].clientX, e.touches[0].clientY], v = (e, t) => {
|
|
302
|
+
c.x = e, c.y = t;
|
|
303
|
+
}, y = (e, t) => {
|
|
304
|
+
l.x = e, l.y = t;
|
|
305
|
+
}, b = {
|
|
306
|
+
passive: o,
|
|
307
|
+
capture: !o
|
|
308
|
+
}, x = [
|
|
309
|
+
W(e, "touchstart", (e) => {
|
|
310
|
+
if (e.touches.length !== 1) return;
|
|
311
|
+
let [t, n] = _(e);
|
|
312
|
+
v(t, n), y(t, n), a?.(e);
|
|
313
|
+
}, b),
|
|
314
|
+
W(e, "touchmove", (e) => {
|
|
315
|
+
if (e.touches.length !== 1) return;
|
|
316
|
+
let [t, n] = _(e);
|
|
317
|
+
y(t, n), b.capture && !b.passive && Math.abs(u.value) > Math.abs(d.value) && e.preventDefault(), !h.value && m.value && (h.value = !0), h.value && r?.(e);
|
|
318
|
+
}, b),
|
|
319
|
+
W(e, ["touchend", "touchcancel"], (e) => {
|
|
320
|
+
h.value && i?.(e, g.value), h.value = !1;
|
|
321
|
+
}, b)
|
|
322
|
+
];
|
|
323
|
+
return {
|
|
324
|
+
isSwiping: h,
|
|
325
|
+
direction: g,
|
|
326
|
+
coordsStart: c,
|
|
327
|
+
coordsEnd: l,
|
|
328
|
+
lengthX: u,
|
|
329
|
+
lengthY: d,
|
|
330
|
+
stop: () => x.forEach((e) => e())
|
|
331
|
+
};
|
|
332
|
+
}
|
|
333
|
+
function ze(e = {}) {
|
|
334
|
+
let { window: t = H, initialWidth: n = Infinity, initialHeight: r = Infinity, listenOrientation: i = !0, includeScrollbar: a = !0, type: o = "inner" } = e, s = N(n), c = N(r), l = () => {
|
|
296
335
|
if (t) {
|
|
297
336
|
if (o === "outer") s.value = t.outerWidth, c.value = t.outerHeight;
|
|
298
337
|
else if (o === "visual" && t.visualViewport) {
|
|
@@ -301,25 +340,29 @@ function Be(e = {}) {
|
|
|
301
340
|
} else a ? (s.value = t.innerWidth, c.value = t.innerHeight) : (s.value = t.document.documentElement.clientWidth, c.value = t.document.documentElement.clientHeight);
|
|
302
341
|
}
|
|
303
342
|
};
|
|
304
|
-
l(),
|
|
343
|
+
l(), Te(l);
|
|
305
344
|
let u = { passive: !0 };
|
|
306
|
-
|
|
345
|
+
if (W("resize", l, u), t && o === "visual" && t.visualViewport && W(t.visualViewport, "resize", l, u), i) {
|
|
346
|
+
let e = Pe("(orientation: portrait)");
|
|
347
|
+
B(e, () => l());
|
|
348
|
+
}
|
|
349
|
+
return {
|
|
307
350
|
width: s,
|
|
308
351
|
height: c
|
|
309
352
|
};
|
|
310
353
|
}
|
|
311
354
|
//#endregion
|
|
312
355
|
//#region src/utils/constants.js
|
|
313
|
-
var
|
|
356
|
+
var Be = {
|
|
314
357
|
SLIDER: "slider",
|
|
315
358
|
GALLERY: "gallery"
|
|
316
|
-
},
|
|
317
|
-
let r = n.value.mode ===
|
|
359
|
+
}, Ve = (e, t, n) => {
|
|
360
|
+
let r = n.value.mode === Be.GALLERY, i = n.value.wrap === !0, a = n.value.perPage, o = Math.max(t - a, 0);
|
|
318
361
|
return r ? e < 0 && i === !1 || o < 0 || e > t ? 0 : e : i === !1 && e <= 0 ? 0 : i === !1 && e >= o ? o : e;
|
|
319
362
|
};
|
|
320
363
|
//#endregion
|
|
321
364
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/array/chunk.mjs
|
|
322
|
-
function
|
|
365
|
+
function He(e, t) {
|
|
323
366
|
if (!Number.isInteger(t) || t <= 0) throw Error("Size must be an integer greater than zero.");
|
|
324
367
|
let n = Math.ceil(e.length / t), r = Array(n);
|
|
325
368
|
for (let i = 0; i < n; i++) {
|
|
@@ -330,7 +373,7 @@ function Ue(e, t) {
|
|
|
330
373
|
}
|
|
331
374
|
//#endregion
|
|
332
375
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/array/flatten.mjs
|
|
333
|
-
function
|
|
376
|
+
function Ue(e, t = 1) {
|
|
334
377
|
let n = [], r = Math.floor(t), i = (e, t) => {
|
|
335
378
|
for (let a = 0; a < e.length; a++) {
|
|
336
379
|
let o = e[a];
|
|
@@ -341,12 +384,12 @@ function We(e, t = 1) {
|
|
|
341
384
|
}
|
|
342
385
|
//#endregion
|
|
343
386
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/_internal/globalThis.mjs
|
|
344
|
-
var
|
|
387
|
+
var We = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
|
|
345
388
|
return this;
|
|
346
389
|
})();
|
|
347
390
|
//#endregion
|
|
348
391
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/function/debounce.mjs
|
|
349
|
-
function
|
|
392
|
+
function Ge(e, t, { signal: n, edges: r } = {}) {
|
|
350
393
|
let i, a = null, o = r != null && r.includes("leading"), s = r == null || r.includes("trailing"), c = () => {
|
|
351
394
|
a !== null && (e.apply(i, a), i = void 0, a = null);
|
|
352
395
|
}, l = () => {
|
|
@@ -371,12 +414,12 @@ function Ke(e, t, { signal: n, edges: r } = {}) {
|
|
|
371
414
|
}
|
|
372
415
|
//#endregion
|
|
373
416
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/function/identity.mjs
|
|
374
|
-
function
|
|
417
|
+
function Ke(e) {
|
|
375
418
|
return e;
|
|
376
419
|
}
|
|
377
420
|
//#endregion
|
|
378
421
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/math/range.mjs
|
|
379
|
-
function
|
|
422
|
+
function qe(e, t, n = 1) {
|
|
380
423
|
if (t ?? (t = e, e = 0), !Number.isInteger(n) || n === 0) throw Error("The step value must be a non-zero integer.");
|
|
381
424
|
let r = Math.max(Math.ceil((t - e) / n), 0), i = Array(r);
|
|
382
425
|
for (let t = 0; t < r; t++) i[t] = e + t * n;
|
|
@@ -384,46 +427,46 @@ function Je(e, t, n = 1) {
|
|
|
384
427
|
}
|
|
385
428
|
//#endregion
|
|
386
429
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
|
|
387
|
-
function
|
|
430
|
+
function Je(e) {
|
|
388
431
|
return e == null || typeof e != "object" && typeof e != "function";
|
|
389
432
|
}
|
|
390
433
|
//#endregion
|
|
391
434
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
|
|
392
|
-
function
|
|
435
|
+
function Ye(e) {
|
|
393
436
|
return ArrayBuffer.isView(e) && !(e instanceof DataView);
|
|
394
437
|
}
|
|
395
438
|
//#endregion
|
|
396
439
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/predicate/isBuffer.mjs
|
|
397
|
-
function
|
|
398
|
-
return
|
|
440
|
+
function Xe(e) {
|
|
441
|
+
return We.Buffer !== void 0 && We.Buffer.isBuffer(e);
|
|
399
442
|
}
|
|
400
443
|
//#endregion
|
|
401
444
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
|
|
402
|
-
function
|
|
445
|
+
function Ze(e) {
|
|
403
446
|
return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
|
|
404
447
|
}
|
|
405
448
|
//#endregion
|
|
406
449
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
|
|
407
|
-
function
|
|
450
|
+
function Qe(e) {
|
|
408
451
|
return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
|
|
409
452
|
}
|
|
410
453
|
//#endregion
|
|
411
454
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/_internal/tags.mjs
|
|
412
|
-
var
|
|
455
|
+
var $e = "[object RegExp]", et = "[object String]", tt = "[object Number]", nt = "[object Boolean]", rt = "[object Arguments]", it = "[object Symbol]", at = "[object Date]", ot = "[object Map]", st = "[object Set]", ct = "[object Array]", lt = "[object ArrayBuffer]", ut = "[object Object]", dt = "[object DataView]", ft = "[object Uint8Array]", pt = "[object Uint8ClampedArray]", mt = "[object Uint16Array]", ht = "[object Uint32Array]", gt = "[object Int8Array]", _t = "[object Int16Array]", vt = "[object Int32Array]", yt = "[object Float32Array]", bt = "[object Float64Array]";
|
|
413
456
|
//#endregion
|
|
414
457
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
|
|
415
|
-
function
|
|
416
|
-
return
|
|
458
|
+
function xt(e, t) {
|
|
459
|
+
return St(e, void 0, e, /* @__PURE__ */ new Map(), t);
|
|
417
460
|
}
|
|
418
|
-
function
|
|
461
|
+
function St(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
|
|
419
462
|
let a = i?.(e, t, n, r);
|
|
420
463
|
if (a !== void 0) return a;
|
|
421
|
-
if (
|
|
464
|
+
if (Je(e)) return e;
|
|
422
465
|
if (r.has(e)) return r.get(e);
|
|
423
466
|
if (Array.isArray(e)) {
|
|
424
467
|
let t = Array(e.length);
|
|
425
468
|
r.set(e, t);
|
|
426
|
-
for (let a = 0; a < e.length; a++) t[a] =
|
|
469
|
+
for (let a = 0; a < e.length; a++) t[a] = St(e[a], a, n, r, i);
|
|
427
470
|
return Object.hasOwn(e, "index") && (t.index = e.index), Object.hasOwn(e, "input") && (t.input = e.input), t;
|
|
428
471
|
}
|
|
429
472
|
if (e instanceof Date) return new Date(e.getTime());
|
|
@@ -434,95 +477,95 @@ function H(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
|
|
|
434
477
|
if (e instanceof Map) {
|
|
435
478
|
let t = /* @__PURE__ */ new Map();
|
|
436
479
|
r.set(e, t);
|
|
437
|
-
for (let [a, o] of e) t.set(a,
|
|
480
|
+
for (let [a, o] of e) t.set(a, St(o, a, n, r, i));
|
|
438
481
|
return t;
|
|
439
482
|
}
|
|
440
483
|
if (e instanceof Set) {
|
|
441
484
|
let t = /* @__PURE__ */ new Set();
|
|
442
485
|
r.set(e, t);
|
|
443
|
-
for (let a of e) t.add(
|
|
486
|
+
for (let a of e) t.add(St(a, void 0, n, r, i));
|
|
444
487
|
return t;
|
|
445
488
|
}
|
|
446
|
-
if (
|
|
447
|
-
if (
|
|
489
|
+
if (Xe(e)) return e.subarray();
|
|
490
|
+
if (Ye(e)) {
|
|
448
491
|
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
|
|
449
492
|
r.set(e, t);
|
|
450
|
-
for (let a = 0; a < e.length; a++) t[a] =
|
|
493
|
+
for (let a = 0; a < e.length; a++) t[a] = St(e[a], a, n, r, i);
|
|
451
494
|
return t;
|
|
452
495
|
}
|
|
453
496
|
if (e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer) return e.slice(0);
|
|
454
497
|
if (e instanceof DataView) {
|
|
455
498
|
let t = new DataView(e.buffer.slice(0), e.byteOffset, e.byteLength);
|
|
456
|
-
return r.set(e, t),
|
|
499
|
+
return r.set(e, t), G(t, e, n, r, i), t;
|
|
457
500
|
}
|
|
458
501
|
if (typeof File < "u" && e instanceof File) {
|
|
459
502
|
let t = new File([e], e.name, { type: e.type });
|
|
460
|
-
return r.set(e, t),
|
|
503
|
+
return r.set(e, t), G(t, e, n, r, i), t;
|
|
461
504
|
}
|
|
462
505
|
if (typeof Blob < "u" && e instanceof Blob) {
|
|
463
506
|
let t = new Blob([e], { type: e.type });
|
|
464
|
-
return r.set(e, t),
|
|
507
|
+
return r.set(e, t), G(t, e, n, r, i), t;
|
|
465
508
|
}
|
|
466
509
|
if (e instanceof Error) {
|
|
467
510
|
let t = structuredClone(e);
|
|
468
|
-
return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor,
|
|
511
|
+
return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, G(t, e, n, r, i), t;
|
|
469
512
|
}
|
|
470
513
|
if (e instanceof Boolean) {
|
|
471
514
|
let t = new Boolean(e.valueOf());
|
|
472
|
-
return r.set(e, t),
|
|
515
|
+
return r.set(e, t), G(t, e, n, r, i), t;
|
|
473
516
|
}
|
|
474
517
|
if (e instanceof Number) {
|
|
475
518
|
let t = new Number(e.valueOf());
|
|
476
|
-
return r.set(e, t),
|
|
519
|
+
return r.set(e, t), G(t, e, n, r, i), t;
|
|
477
520
|
}
|
|
478
521
|
if (e instanceof String) {
|
|
479
522
|
let t = new String(e.valueOf());
|
|
480
|
-
return r.set(e, t),
|
|
523
|
+
return r.set(e, t), G(t, e, n, r, i), t;
|
|
481
524
|
}
|
|
482
525
|
if (typeof e == "object" && Ct(e)) {
|
|
483
526
|
let t = Object.create(Object.getPrototypeOf(e));
|
|
484
|
-
return r.set(e, t),
|
|
527
|
+
return r.set(e, t), G(t, e, n, r, i), t;
|
|
485
528
|
}
|
|
486
529
|
return e;
|
|
487
530
|
}
|
|
488
|
-
function
|
|
489
|
-
let a = [...Object.keys(t), ...
|
|
531
|
+
function G(e, t, n = e, r, i) {
|
|
532
|
+
let a = [...Object.keys(t), ...Ze(t)];
|
|
490
533
|
for (let o = 0; o < a.length; o++) {
|
|
491
534
|
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
|
|
492
|
-
(c == null || c.writable) && (e[s] =
|
|
535
|
+
(c == null || c.writable) && (e[s] = St(t[s], s, n, r, i));
|
|
493
536
|
}
|
|
494
537
|
}
|
|
495
538
|
function Ct(e) {
|
|
496
|
-
switch (
|
|
497
|
-
case it:
|
|
498
|
-
case lt:
|
|
499
|
-
case ut:
|
|
500
|
-
case ft:
|
|
539
|
+
switch (Qe(e)) {
|
|
501
540
|
case rt:
|
|
502
|
-
case
|
|
541
|
+
case ct:
|
|
542
|
+
case lt:
|
|
543
|
+
case dt:
|
|
544
|
+
case nt:
|
|
545
|
+
case at:
|
|
546
|
+
case yt:
|
|
503
547
|
case bt:
|
|
504
|
-
case
|
|
548
|
+
case gt:
|
|
505
549
|
case _t:
|
|
506
550
|
case vt:
|
|
507
|
-
case
|
|
551
|
+
case ot:
|
|
552
|
+
case tt:
|
|
553
|
+
case ut:
|
|
554
|
+
case $e:
|
|
508
555
|
case st:
|
|
509
|
-
case nt:
|
|
510
|
-
case dt:
|
|
511
556
|
case et:
|
|
512
|
-
case
|
|
513
|
-
case
|
|
514
|
-
case at:
|
|
557
|
+
case it:
|
|
558
|
+
case ft:
|
|
515
559
|
case pt:
|
|
516
560
|
case mt:
|
|
517
|
-
case ht:
|
|
518
|
-
case gt: return !0;
|
|
561
|
+
case ht: return !0;
|
|
519
562
|
default: return !1;
|
|
520
563
|
}
|
|
521
564
|
}
|
|
522
565
|
//#endregion
|
|
523
566
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/object/cloneDeep.mjs
|
|
524
567
|
function wt(e) {
|
|
525
|
-
return
|
|
568
|
+
return St(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
|
|
526
569
|
}
|
|
527
570
|
//#endregion
|
|
528
571
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/object/mapValues.mjs
|
|
@@ -596,7 +639,7 @@ function Mt(e, t) {
|
|
|
596
639
|
}
|
|
597
640
|
}
|
|
598
641
|
var Nt = (e, t = !1) => {
|
|
599
|
-
let { width: n } =
|
|
642
|
+
let { width: n } = ze(), r = s(() => Dt(e, jt)), i = s(() => Object.entries(e.responsive).map(([e, t]) => [parseInt(e), Dt(t, jt)]).filter((e) => isNaN(e[0]) === !1).sort((e, t) => t[0] - e[0])), a = s(() => {
|
|
600
643
|
let e = i.value.find((e) => n.value >= e[0]);
|
|
601
644
|
return e ? e[1] : {};
|
|
602
645
|
});
|
|
@@ -605,42 +648,45 @@ var Nt = (e, t = !1) => {
|
|
|
605
648
|
return Tt(e, Mt.bind(e));
|
|
606
649
|
});
|
|
607
650
|
}, Pt = Symbol.for("evo-vue-carousel__config"), Ft = Symbol.for("evo-vue-carousel__slide-count"), It = Symbol.for("evo-vue-carousel__current-index"), Lt = Symbol.for("evo-vue-carousel__is-hovered"), Rt = Symbol.for("evo-vue-carousel__is-navigating"), zt = Symbol.for("evo-vue-carousel__autoplay-fn"), Bt = (e, t, n, r, i = !1) => {
|
|
608
|
-
let a =
|
|
651
|
+
let a = A(!1), o = A(!1), c = Nt(t, i), l = Ie(r, {
|
|
609
652
|
delayEnter: +t.hoverDelayEnter,
|
|
610
653
|
delayLeave: +t.hoverDelayLeave
|
|
611
|
-
}), u =
|
|
612
|
-
n > 0 && (t.developer && console.log("[useCarousel]: slideCount watch callback called"), e.value =
|
|
654
|
+
}), u = B(n, async (n) => {
|
|
655
|
+
n > 0 && (t.developer && console.log("[useCarousel]: slideCount watch callback called"), e.value = Ve(e.value, n, c), a.value = !0, await C(), u());
|
|
613
656
|
}, { immediate: !0 });
|
|
614
|
-
|
|
657
|
+
B(e, (e) => {
|
|
615
658
|
f(e);
|
|
616
659
|
}, { flush: "pre" });
|
|
617
660
|
let d = s(() => c.value.autoplay ?? 0), f = (t) => {
|
|
618
|
-
e.value =
|
|
619
|
-
}, { pause: p, resume: m, isActive: h } =
|
|
661
|
+
e.value = Ve(t, n.value, c);
|
|
662
|
+
}, { pause: p, resume: m, isActive: h } = Ee(() => {
|
|
620
663
|
o.value || f(e.value + c.value.slideBy);
|
|
621
664
|
}, d);
|
|
622
|
-
return D(Pt, c), D(Ft,
|
|
665
|
+
return D(Pt, c), D(Ft, k(n)), D(It, e), D(Lt, l), D(Rt, o), D(zt, {
|
|
623
666
|
pauseAutoplay: p,
|
|
624
667
|
resumeAutoplay: m,
|
|
625
668
|
autoplayIsActive: h
|
|
626
669
|
}), {
|
|
627
670
|
config: c,
|
|
628
|
-
currentIndex:
|
|
671
|
+
currentIndex: k(e),
|
|
672
|
+
setCurrentIndex: f,
|
|
629
673
|
isHovered: l,
|
|
630
674
|
isInit: a,
|
|
631
|
-
isNavigating: o
|
|
675
|
+
isNavigating: o,
|
|
676
|
+
pauseAutoplay: p,
|
|
677
|
+
resumeAutoplay: m
|
|
632
678
|
};
|
|
633
679
|
}, Vt = () => {
|
|
634
680
|
let e = y(Pt), t = y(It), n = y(Ft), r = y(Lt), i = y(Rt), a = y(zt);
|
|
635
681
|
return {
|
|
636
682
|
config: e,
|
|
637
|
-
currentIndex:
|
|
683
|
+
currentIndex: k(t),
|
|
638
684
|
setCurrentIndex: (r) => {
|
|
639
|
-
t.value =
|
|
685
|
+
t.value = Ve(r, n.value, e);
|
|
640
686
|
},
|
|
641
687
|
slideCount: n,
|
|
642
688
|
isHovered: r,
|
|
643
|
-
isNavigating:
|
|
689
|
+
isNavigating: k(i),
|
|
644
690
|
setIsNavigating: (e) => {
|
|
645
691
|
i.value = e;
|
|
646
692
|
},
|
|
@@ -651,13 +697,13 @@ var Nt = (e, t = !1) => {
|
|
|
651
697
|
setup(e) {
|
|
652
698
|
let { pauseAutoplay: t, resumeAutoplay: n, autoplayIsActive: r } = Vt();
|
|
653
699
|
return (e, i) => j(e.$slots, "controls", {
|
|
654
|
-
pause:
|
|
655
|
-
play:
|
|
656
|
-
playing:
|
|
700
|
+
pause: I(t),
|
|
701
|
+
play: I(n),
|
|
702
|
+
playing: I(r)
|
|
657
703
|
});
|
|
658
704
|
}
|
|
659
705
|
}, Ut = Symbol.for("evo-vue-carousel__register-slide-client"), Wt = () => {
|
|
660
|
-
let e =
|
|
706
|
+
let e = A(/* @__PURE__ */ new Map()), t = A(!1), n = s(() => e.value.size), r = Ge(() => {
|
|
661
707
|
t.value = !0;
|
|
662
708
|
}, 5);
|
|
663
709
|
return D(Ut, {
|
|
@@ -675,9 +721,9 @@ var Nt = (e, t = !1) => {
|
|
|
675
721
|
e.value.delete(t);
|
|
676
722
|
}
|
|
677
723
|
}), {
|
|
678
|
-
slides:
|
|
679
|
-
slideCount:
|
|
680
|
-
isInit:
|
|
724
|
+
slides: k(e),
|
|
725
|
+
slideCount: k(n),
|
|
726
|
+
isInit: k(t)
|
|
681
727
|
};
|
|
682
728
|
}, Gt = () => y(Ut), Kt = ["aria-label"], qt = { class: "evo-vue-carousel__content h-full max-h-full relative" }, Jt = {
|
|
683
729
|
key: 0,
|
|
@@ -718,13 +764,26 @@ var Nt = (e, t = !1) => {
|
|
|
718
764
|
},
|
|
719
765
|
mode: {
|
|
720
766
|
type: String,
|
|
721
|
-
default:
|
|
722
|
-
validator: (e) => Object.values(
|
|
767
|
+
default: Be.SLIDER,
|
|
768
|
+
validator: (e) => Object.values(Be).includes(e)
|
|
723
769
|
},
|
|
724
770
|
gap: {
|
|
725
771
|
type: [String, Number],
|
|
726
772
|
default: 0
|
|
727
773
|
},
|
|
774
|
+
swipeAxis: {
|
|
775
|
+
type: String,
|
|
776
|
+
default: "horizontal",
|
|
777
|
+
validator: (e) => ["horizontal", "vertical"].includes(e)
|
|
778
|
+
},
|
|
779
|
+
swipeThreshold: {
|
|
780
|
+
type: Number,
|
|
781
|
+
default: 50
|
|
782
|
+
},
|
|
783
|
+
disableSwipe: {
|
|
784
|
+
type: Boolean,
|
|
785
|
+
default: !1
|
|
786
|
+
},
|
|
728
787
|
viewportClass: {
|
|
729
788
|
type: String,
|
|
730
789
|
default: ""
|
|
@@ -806,8 +865,8 @@ var Nt = (e, t = !1) => {
|
|
|
806
865
|
default: "Image Carousel"
|
|
807
866
|
},
|
|
808
867
|
transitionDuration: {
|
|
809
|
-
type:
|
|
810
|
-
default:
|
|
868
|
+
type: Number,
|
|
869
|
+
default: null
|
|
811
870
|
},
|
|
812
871
|
developer: {
|
|
813
872
|
type: Boolean,
|
|
@@ -820,37 +879,51 @@ var Nt = (e, t = !1) => {
|
|
|
820
879
|
},
|
|
821
880
|
modelModifiers: {}
|
|
822
881
|
}),
|
|
823
|
-
emits: [
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
882
|
+
emits: /*@__PURE__*/ ee([
|
|
883
|
+
"swipe-start",
|
|
884
|
+
"swipe",
|
|
885
|
+
"swipe-end"
|
|
886
|
+
], ["update:modelValue"]),
|
|
887
|
+
setup(e, { emit: t }) {
|
|
888
|
+
let n = ie(e, "modelValue"), r = e, i = A(null), a = ae(), { slideCount: o, isInit: s } = Wt(), { config: f, isHovered: m, isInit: h, isNavigating: g, currentIndex: _, setCurrentIndex: v, pauseAutoplay: y, resumeAutoplay: b } = Bt(n, r, o, i, !!a.controls), { direction: x } = Re(i, { threshold: r.swipeThreshold });
|
|
889
|
+
return B(x, (e) => {
|
|
890
|
+
if (r.disableSwipe) return;
|
|
891
|
+
let t = () => {
|
|
892
|
+
y(), b();
|
|
893
|
+
}, n = () => {
|
|
894
|
+
v(_.value + f.value.slideBy), t();
|
|
895
|
+
}, i = () => {
|
|
896
|
+
v(_.value - f.value.slideBy), t();
|
|
897
|
+
};
|
|
898
|
+
r.swipeAxis === "horizontal" ? e === "left" ? n() : e === "right" && i() : r.swipeAxis === "vertical" && (e === "up" ? n() : e === "down" && i());
|
|
899
|
+
}), (e, t) => (E(), u("div", {
|
|
827
900
|
ref_key: "sliderRef",
|
|
828
|
-
ref:
|
|
901
|
+
ref: i,
|
|
829
902
|
role: "region",
|
|
830
903
|
"aria-roledescription": "carousel",
|
|
831
|
-
"aria-label":
|
|
832
|
-
class: w(["evo-vue-carousel relative max-h-full", { "is-hovered":
|
|
904
|
+
"aria-label": r.label,
|
|
905
|
+
class: w(["evo-vue-carousel relative max-h-full", { "is-hovered": I(m) }])
|
|
833
906
|
}, [
|
|
834
907
|
d("div", qt, [
|
|
835
|
-
p(
|
|
908
|
+
p(I(pe), {
|
|
836
909
|
slots: e.$slots,
|
|
837
910
|
only: ["default"]
|
|
838
911
|
}, {
|
|
839
|
-
default:
|
|
912
|
+
default: V(() => [I(f).mode === "gallery" ? (E(), c(I(Qi), {
|
|
840
913
|
key: 0,
|
|
841
|
-
"total-slides":
|
|
842
|
-
"is-init":
|
|
843
|
-
developer:
|
|
914
|
+
"total-slides": I(o),
|
|
915
|
+
"is-init": I(s),
|
|
916
|
+
developer: r.developer
|
|
844
917
|
}, null, 8, [
|
|
845
918
|
"total-slides",
|
|
846
919
|
"is-init",
|
|
847
920
|
"developer"
|
|
848
|
-
])) : (E(), c(
|
|
921
|
+
])) : (E(), c(I(Xi), {
|
|
849
922
|
key: 1,
|
|
850
|
-
class: w(
|
|
851
|
-
"total-slides":
|
|
852
|
-
"is-init":
|
|
853
|
-
developer:
|
|
923
|
+
class: w(r.viewportClass),
|
|
924
|
+
"total-slides": I(o),
|
|
925
|
+
"is-init": I(s),
|
|
926
|
+
developer: r.developer
|
|
854
927
|
}, null, 8, [
|
|
855
928
|
"class",
|
|
856
929
|
"total-slides",
|
|
@@ -860,7 +933,7 @@ var Nt = (e, t = !1) => {
|
|
|
860
933
|
_: 1
|
|
861
934
|
}, 8, ["slots"]),
|
|
862
935
|
e.$slots.overlay ? (E(), u("div", Jt, [j(e.$slots, "overlay")])) : l("", !0),
|
|
863
|
-
|
|
936
|
+
I(f).hideNavigation === !0 ? l("", !0) : (E(), c(I(pe), {
|
|
864
937
|
key: 1,
|
|
865
938
|
slots: e.$slots,
|
|
866
939
|
only: [
|
|
@@ -869,14 +942,14 @@ var Nt = (e, t = !1) => {
|
|
|
869
942
|
"navigation"
|
|
870
943
|
]
|
|
871
944
|
}, {
|
|
872
|
-
default:
|
|
873
|
-
class: w(
|
|
874
|
-
"item-class":
|
|
875
|
-
"item-size-class":
|
|
876
|
-
"prev-class":
|
|
877
|
-
"next-class":
|
|
878
|
-
"total-slides":
|
|
879
|
-
"disable-on-navigation":
|
|
945
|
+
default: V(() => [p(I(Si), {
|
|
946
|
+
class: w(r.navigationClass),
|
|
947
|
+
"item-class": r.navigationItemClass,
|
|
948
|
+
"item-size-class": r.navigationItemSizeClass,
|
|
949
|
+
"prev-class": r.navigationPrevClass,
|
|
950
|
+
"next-class": r.navigationNextClass,
|
|
951
|
+
"total-slides": I(o),
|
|
952
|
+
"disable-on-navigation": r.disableOnNavigation
|
|
880
953
|
}, null, 8, [
|
|
881
954
|
"class",
|
|
882
955
|
"item-class",
|
|
@@ -889,23 +962,23 @@ var Nt = (e, t = !1) => {
|
|
|
889
962
|
_: 1
|
|
890
963
|
}, 8, ["slots"]))
|
|
891
964
|
]),
|
|
892
|
-
|
|
965
|
+
I(f).hidePagination === !0 ? l("", !0) : (E(), c(I(pe), {
|
|
893
966
|
key: 0,
|
|
894
967
|
slots: e.$slots,
|
|
895
968
|
only: ["pagination", "pagination-item"]
|
|
896
969
|
}, {
|
|
897
|
-
default:
|
|
898
|
-
class: w(
|
|
899
|
-
"background-class":
|
|
900
|
-
"item-class":
|
|
901
|
-
"item-size-class":
|
|
902
|
-
"item-active-class":
|
|
903
|
-
"item-dot-class":
|
|
904
|
-
"item-dot-active-class":
|
|
905
|
-
"total-slides":
|
|
906
|
-
"per-page":
|
|
907
|
-
wrap:
|
|
908
|
-
"disable-on-navigation":
|
|
970
|
+
default: V(() => [p(I(fi), {
|
|
971
|
+
class: w(r.paginationClass),
|
|
972
|
+
"background-class": r.paginationBackgroundClass,
|
|
973
|
+
"item-class": r.paginationItemClass,
|
|
974
|
+
"item-size-class": r.paginationItemSizeClass,
|
|
975
|
+
"item-active-class": r.paginationItemActiveClass,
|
|
976
|
+
"item-dot-class": r.paginationItemDotClass,
|
|
977
|
+
"item-dot-active-class": r.paginationItemDotActiveClass,
|
|
978
|
+
"total-slides": I(o),
|
|
979
|
+
"per-page": I(f).perPage,
|
|
980
|
+
wrap: I(f).wrap,
|
|
981
|
+
"disable-on-navigation": r.disableOnNavigation
|
|
909
982
|
}, null, 8, [
|
|
910
983
|
"class",
|
|
911
984
|
"background-class",
|
|
@@ -921,18 +994,18 @@ var Nt = (e, t = !1) => {
|
|
|
921
994
|
])]),
|
|
922
995
|
_: 1
|
|
923
996
|
}, 8, ["slots"])),
|
|
924
|
-
p(
|
|
997
|
+
p(I(pe), {
|
|
925
998
|
slots: e.$slots,
|
|
926
999
|
only: "controls"
|
|
927
1000
|
}, {
|
|
928
|
-
default:
|
|
1001
|
+
default: V(() => [p(Ht)]),
|
|
929
1002
|
_: 1
|
|
930
1003
|
}, 8, ["slots"]),
|
|
931
|
-
|
|
932
|
-
d("tr", $t, [t[0] ||= d("td", { class: "px-2 py-1" }, "Current Index:", -1), d("td", en,
|
|
933
|
-
d("tr", tn, [t[1] ||= d("td", { class: "px-2 py-1" }, "Is Init:", -1), d("td", nn,
|
|
934
|
-
d("tr", rn, [t[2] ||= d("td", { class: "px-2 py-1" }, "Is Navigating:", -1), d("td", an,
|
|
935
|
-
d("tr", on, [t[3] ||= d("td", { class: "px-2 py-1" }, "Slide Count:", -1), d("td", sn,
|
|
1004
|
+
r.developer ? (E(), u("div", Yt, [d("div", Xt, [d("table", Zt, [d("tbody", Qt, [
|
|
1005
|
+
d("tr", $t, [t[0] ||= d("td", { class: "px-2 py-1" }, "Current Index:", -1), d("td", en, P(I(_)), 1)]),
|
|
1006
|
+
d("tr", tn, [t[1] ||= d("td", { class: "px-2 py-1" }, "Is Init:", -1), d("td", nn, P(I(h)), 1)]),
|
|
1007
|
+
d("tr", rn, [t[2] ||= d("td", { class: "px-2 py-1" }, "Is Navigating:", -1), d("td", an, P(I(g)), 1)]),
|
|
1008
|
+
d("tr", on, [t[3] ||= d("td", { class: "px-2 py-1" }, "Slide Count:", -1), d("td", sn, P(I(o)), 1)])
|
|
936
1009
|
])])])])) : l("", !0)
|
|
937
1010
|
], 10, Kt));
|
|
938
1011
|
}
|
|
@@ -950,7 +1023,7 @@ function un(e) {
|
|
|
950
1023
|
//#endregion
|
|
951
1024
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/array/concat.mjs
|
|
952
1025
|
function dn(...e) {
|
|
953
|
-
return
|
|
1026
|
+
return Ue(e);
|
|
954
1027
|
}
|
|
955
1028
|
//#endregion
|
|
956
1029
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/predicate/isSymbol.mjs
|
|
@@ -1084,9 +1157,9 @@ function Tn(e, t, n, r, i = !1) {
|
|
|
1084
1157
|
if (t instanceof Set) return On(e, t, n, r);
|
|
1085
1158
|
let a = Object.keys(t);
|
|
1086
1159
|
if (e == null) return i && a.length === 0;
|
|
1087
|
-
if (i)
|
|
1160
|
+
if (i) Je(e) && (e = Object(e));
|
|
1088
1161
|
else {
|
|
1089
|
-
let t =
|
|
1162
|
+
let t = Qe(e);
|
|
1090
1163
|
if (t !== "[object Object]" && t !== "[object Arguments]") return !1;
|
|
1091
1164
|
}
|
|
1092
1165
|
if (a.length === 0) return !0;
|
|
@@ -1142,24 +1215,24 @@ function An(e) {
|
|
|
1142
1215
|
//#endregion
|
|
1143
1216
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
|
|
1144
1217
|
function jn(e, t) {
|
|
1145
|
-
return
|
|
1218
|
+
return xt(e, (n, r, i, a) => {
|
|
1146
1219
|
let o = t?.(n, r, i, a);
|
|
1147
1220
|
if (o !== void 0) return o;
|
|
1148
1221
|
if (typeof e == "object") {
|
|
1149
|
-
if (
|
|
1222
|
+
if (Qe(e) === "[object Object]" && typeof e.constructor != "function") {
|
|
1150
1223
|
let t = {};
|
|
1151
|
-
return a.set(e, t),
|
|
1224
|
+
return a.set(e, t), G(t, e, i, a), t;
|
|
1152
1225
|
}
|
|
1153
1226
|
switch (Object.prototype.toString.call(e)) {
|
|
1154
|
-
case nt:
|
|
1155
1227
|
case tt:
|
|
1156
|
-
case
|
|
1228
|
+
case et:
|
|
1229
|
+
case nt: {
|
|
1157
1230
|
let t = new e.constructor(e?.valueOf());
|
|
1158
|
-
return
|
|
1231
|
+
return G(t, e), t;
|
|
1159
1232
|
}
|
|
1160
|
-
case
|
|
1233
|
+
case rt: {
|
|
1161
1234
|
let t = {};
|
|
1162
|
-
return
|
|
1235
|
+
return G(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
|
|
1163
1236
|
}
|
|
1164
1237
|
default: return;
|
|
1165
1238
|
}
|
|
@@ -1174,7 +1247,7 @@ function Mn(e) {
|
|
|
1174
1247
|
//#endregion
|
|
1175
1248
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
|
|
1176
1249
|
function Nn(e) {
|
|
1177
|
-
return typeof e == "object" && !!e &&
|
|
1250
|
+
return typeof e == "object" && !!e && Qe(e) === "[object Arguments]";
|
|
1178
1251
|
}
|
|
1179
1252
|
//#endregion
|
|
1180
1253
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
|
|
@@ -1236,7 +1309,7 @@ function Vn(e, t, n) {
|
|
|
1236
1309
|
}
|
|
1237
1310
|
//#endregion
|
|
1238
1311
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/array/findLastIndex.mjs
|
|
1239
|
-
function Hn(e, t =
|
|
1312
|
+
function Hn(e, t = Ke, n = e ? e.length - 1 : 0) {
|
|
1240
1313
|
if (!e) return -1;
|
|
1241
1314
|
let r = Bn(n);
|
|
1242
1315
|
n = n < 0 ? Math.max(e.length + r, 0) : Math.min(r, e.length - 1);
|
|
@@ -1492,17 +1565,17 @@ var Wn = (e, t) => {
|
|
|
1492
1565
|
return i(e, a), a;
|
|
1493
1566
|
};
|
|
1494
1567
|
return a = o, (...e) => a(yr(...e));
|
|
1495
|
-
}, Sr = [],
|
|
1568
|
+
}, Sr = [], K = (e) => {
|
|
1496
1569
|
let t = (t) => t[e] || Sr;
|
|
1497
1570
|
return t.isThemeGetter = !0, t.themeKey = e, t;
|
|
1498
|
-
}, Cr = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, wr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Tr = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Er = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Dr = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Or = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, kr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ar = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,
|
|
1571
|
+
}, Cr = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, wr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Tr = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Er = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Dr = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Or = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, kr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ar = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, q = (e) => Tr.test(e), J = (e) => !!e && !Number.isNaN(Number(e)), Y = (e) => !!e && Number.isInteger(Number(e)), jr = (e) => e.endsWith("%") && J(e.slice(0, -1)), X = (e) => Er.test(e), Mr = () => !0, Nr = (e) => Dr.test(e) && !Or.test(e), Pr = () => !1, Fr = (e) => kr.test(e), Ir = (e) => Ar.test(e), Lr = (e) => !Z(e) && !Q(e), Rr = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), zr = (e) => $(e, ri, Pr), Z = (e) => Cr.test(e), Br = (e) => $(e, ii, Nr), Vr = (e) => $(e, ai, J), Hr = (e) => $(e, si, Mr), Ur = (e) => $(e, oi, Pr), Wr = (e) => $(e, ti, Pr), Gr = (e) => $(e, ni, Ir), Kr = (e) => $(e, ci, Fr), Q = (e) => wr.test(e), qr = (e) => ei(e, ii), Jr = (e) => ei(e, oi), Yr = (e) => ei(e, ti), Xr = (e) => ei(e, ri), Zr = (e) => ei(e, ni), Qr = (e) => ei(e, ci, !0), $r = (e) => ei(e, si, !0), $ = (e, t, n) => {
|
|
1499
1572
|
let r = Cr.exec(e);
|
|
1500
1573
|
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
1501
|
-
},
|
|
1574
|
+
}, ei = (e, t, n = !1) => {
|
|
1502
1575
|
let r = wr.exec(e);
|
|
1503
1576
|
return r ? r[1] ? t(r[1]) : n : !1;
|
|
1504
|
-
},
|
|
1505
|
-
let e =
|
|
1577
|
+
}, ti = (e) => e === "position" || e === "percentage", ni = (e) => e === "image" || e === "url", ri = (e) => e === "length" || e === "size" || e === "bg-size", ii = (e) => e === "length", ai = (e) => e === "number", oi = (e) => e === "family-name", si = (e) => e === "number" || e === "weight", ci = (e) => e === "shadow", li = /*#__PURE__*/ xr(() => {
|
|
1578
|
+
let e = K("color"), t = K("font"), n = K("text"), r = K("font-weight"), i = K("tracking"), a = K("leading"), o = K("breakpoint"), s = K("container"), c = K("spacing"), l = K("radius"), u = K("shadow"), d = K("inset-shadow"), f = K("text-shadow"), p = K("drop-shadow"), m = K("blur"), h = K("perspective"), g = K("aspect"), _ = K("ease"), v = K("animate"), y = () => [
|
|
1506
1579
|
"auto",
|
|
1507
1580
|
"avoid",
|
|
1508
1581
|
"all",
|
|
@@ -1527,8 +1600,8 @@ var Wn = (e, t) => {
|
|
|
1527
1600
|
"left-bottom"
|
|
1528
1601
|
], x = () => [
|
|
1529
1602
|
...b(),
|
|
1530
|
-
|
|
1531
|
-
|
|
1603
|
+
Q,
|
|
1604
|
+
Z
|
|
1532
1605
|
], ee = () => [
|
|
1533
1606
|
"auto",
|
|
1534
1607
|
"hidden",
|
|
@@ -1540,43 +1613,43 @@ var Wn = (e, t) => {
|
|
|
1540
1613
|
"contain",
|
|
1541
1614
|
"none"
|
|
1542
1615
|
], C = () => [
|
|
1616
|
+
Q,
|
|
1543
1617
|
Z,
|
|
1544
|
-
Y,
|
|
1545
1618
|
c
|
|
1546
1619
|
], w = () => [
|
|
1547
|
-
|
|
1620
|
+
q,
|
|
1548
1621
|
"full",
|
|
1549
1622
|
"auto",
|
|
1550
1623
|
...C()
|
|
1551
1624
|
], T = () => [
|
|
1552
|
-
|
|
1625
|
+
Y,
|
|
1553
1626
|
"none",
|
|
1554
1627
|
"subgrid",
|
|
1555
|
-
|
|
1556
|
-
|
|
1628
|
+
Q,
|
|
1629
|
+
Z
|
|
1557
1630
|
], te = () => [
|
|
1558
1631
|
"auto",
|
|
1559
1632
|
{ span: [
|
|
1560
1633
|
"full",
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1634
|
+
Y,
|
|
1635
|
+
Q,
|
|
1636
|
+
Z
|
|
1564
1637
|
] },
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1638
|
+
Y,
|
|
1639
|
+
Q,
|
|
1640
|
+
Z
|
|
1568
1641
|
], ne = () => [
|
|
1569
|
-
|
|
1642
|
+
Y,
|
|
1570
1643
|
"auto",
|
|
1571
|
-
|
|
1572
|
-
|
|
1644
|
+
Q,
|
|
1645
|
+
Z
|
|
1573
1646
|
], E = () => [
|
|
1574
1647
|
"auto",
|
|
1575
1648
|
"min",
|
|
1576
1649
|
"max",
|
|
1577
1650
|
"fr",
|
|
1578
|
-
|
|
1579
|
-
|
|
1651
|
+
Q,
|
|
1652
|
+
Z
|
|
1580
1653
|
], D = () => [
|
|
1581
1654
|
"start",
|
|
1582
1655
|
"end",
|
|
@@ -1596,7 +1669,7 @@ var Wn = (e, t) => {
|
|
|
1596
1669
|
"center-safe",
|
|
1597
1670
|
"end-safe"
|
|
1598
1671
|
], k = () => ["auto", ...C()], A = () => [
|
|
1599
|
-
|
|
1672
|
+
q,
|
|
1600
1673
|
"auto",
|
|
1601
1674
|
"full",
|
|
1602
1675
|
"dvw",
|
|
@@ -1609,9 +1682,9 @@ var Wn = (e, t) => {
|
|
|
1609
1682
|
"max",
|
|
1610
1683
|
"fit",
|
|
1611
1684
|
...C()
|
|
1612
|
-
],
|
|
1685
|
+
], re = () => [
|
|
1613
1686
|
s,
|
|
1614
|
-
|
|
1687
|
+
q,
|
|
1615
1688
|
"screen",
|
|
1616
1689
|
"full",
|
|
1617
1690
|
"dvw",
|
|
@@ -1621,8 +1694,8 @@ var Wn = (e, t) => {
|
|
|
1621
1694
|
"max",
|
|
1622
1695
|
"fit",
|
|
1623
1696
|
...C()
|
|
1624
|
-
],
|
|
1625
|
-
|
|
1697
|
+
], j = () => [
|
|
1698
|
+
q,
|
|
1626
1699
|
"screen",
|
|
1627
1700
|
"full",
|
|
1628
1701
|
"lh",
|
|
@@ -1635,13 +1708,13 @@ var Wn = (e, t) => {
|
|
|
1635
1708
|
...C()
|
|
1636
1709
|
], M = () => [
|
|
1637
1710
|
e,
|
|
1638
|
-
|
|
1639
|
-
|
|
1711
|
+
Q,
|
|
1712
|
+
Z
|
|
1640
1713
|
], N = () => [
|
|
1641
1714
|
...b(),
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
{ position: [
|
|
1715
|
+
Yr,
|
|
1716
|
+
Wr,
|
|
1717
|
+
{ position: [Q, Z] }
|
|
1645
1718
|
], P = () => ["no-repeat", { repeat: [
|
|
1646
1719
|
"",
|
|
1647
1720
|
"x",
|
|
@@ -1652,31 +1725,31 @@ var Wn = (e, t) => {
|
|
|
1652
1725
|
"auto",
|
|
1653
1726
|
"cover",
|
|
1654
1727
|
"contain",
|
|
1655
|
-
|
|
1728
|
+
Xr,
|
|
1656
1729
|
zr,
|
|
1657
|
-
{ size: [
|
|
1658
|
-
], ie = () => [
|
|
1659
|
-
jr,
|
|
1660
|
-
Kr,
|
|
1661
|
-
X
|
|
1730
|
+
{ size: [Q, Z] }
|
|
1662
1731
|
], I = () => [
|
|
1732
|
+
jr,
|
|
1733
|
+
qr,
|
|
1734
|
+
Br
|
|
1735
|
+
], L = () => [
|
|
1663
1736
|
"",
|
|
1664
1737
|
"none",
|
|
1665
1738
|
"full",
|
|
1666
1739
|
l,
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
],
|
|
1740
|
+
Q,
|
|
1741
|
+
Z
|
|
1742
|
+
], R = () => [
|
|
1670
1743
|
"",
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
],
|
|
1744
|
+
J,
|
|
1745
|
+
qr,
|
|
1746
|
+
Br
|
|
1747
|
+
], ie = () => [
|
|
1675
1748
|
"solid",
|
|
1676
1749
|
"dashed",
|
|
1677
1750
|
"dotted",
|
|
1678
1751
|
"double"
|
|
1679
|
-
],
|
|
1752
|
+
], ae = () => [
|
|
1680
1753
|
"normal",
|
|
1681
1754
|
"multiply",
|
|
1682
1755
|
"screen",
|
|
@@ -1693,33 +1766,33 @@ var Wn = (e, t) => {
|
|
|
1693
1766
|
"saturation",
|
|
1694
1767
|
"color",
|
|
1695
1768
|
"luminosity"
|
|
1696
|
-
],
|
|
1697
|
-
|
|
1769
|
+
], z = () => [
|
|
1770
|
+
J,
|
|
1698
1771
|
jr,
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
],
|
|
1772
|
+
Yr,
|
|
1773
|
+
Wr
|
|
1774
|
+
], B = () => [
|
|
1702
1775
|
"",
|
|
1703
1776
|
"none",
|
|
1704
1777
|
m,
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
],
|
|
1778
|
+
Q,
|
|
1779
|
+
Z
|
|
1780
|
+
], oe = () => [
|
|
1708
1781
|
"none",
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
],
|
|
1782
|
+
J,
|
|
1783
|
+
Q,
|
|
1784
|
+
Z
|
|
1785
|
+
], V = () => [
|
|
1713
1786
|
"none",
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
],
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
],
|
|
1722
|
-
|
|
1787
|
+
J,
|
|
1788
|
+
Q,
|
|
1789
|
+
Z
|
|
1790
|
+
], se = () => [
|
|
1791
|
+
J,
|
|
1792
|
+
Q,
|
|
1793
|
+
Z
|
|
1794
|
+
], ce = () => [
|
|
1795
|
+
q,
|
|
1723
1796
|
"full",
|
|
1724
1797
|
...C()
|
|
1725
1798
|
];
|
|
@@ -1733,11 +1806,11 @@ var Wn = (e, t) => {
|
|
|
1733
1806
|
"bounce"
|
|
1734
1807
|
],
|
|
1735
1808
|
aspect: ["video"],
|
|
1736
|
-
blur: [
|
|
1737
|
-
breakpoint: [
|
|
1809
|
+
blur: [X],
|
|
1810
|
+
breakpoint: [X],
|
|
1738
1811
|
color: [Mr],
|
|
1739
|
-
container: [
|
|
1740
|
-
"drop-shadow": [
|
|
1812
|
+
container: [X],
|
|
1813
|
+
"drop-shadow": [X],
|
|
1741
1814
|
ease: [
|
|
1742
1815
|
"in",
|
|
1743
1816
|
"out",
|
|
@@ -1755,7 +1828,7 @@ var Wn = (e, t) => {
|
|
|
1755
1828
|
"extrabold",
|
|
1756
1829
|
"black"
|
|
1757
1830
|
],
|
|
1758
|
-
"inset-shadow": [
|
|
1831
|
+
"inset-shadow": [X],
|
|
1759
1832
|
leading: [
|
|
1760
1833
|
"none",
|
|
1761
1834
|
"tight",
|
|
@@ -1772,11 +1845,11 @@ var Wn = (e, t) => {
|
|
|
1772
1845
|
"distant",
|
|
1773
1846
|
"none"
|
|
1774
1847
|
],
|
|
1775
|
-
radius: [
|
|
1776
|
-
shadow: [
|
|
1777
|
-
spacing: ["px",
|
|
1778
|
-
text: [
|
|
1779
|
-
"text-shadow": [
|
|
1848
|
+
radius: [X],
|
|
1849
|
+
shadow: [X],
|
|
1850
|
+
spacing: ["px", J],
|
|
1851
|
+
text: [X],
|
|
1852
|
+
"text-shadow": [X],
|
|
1780
1853
|
tracking: [
|
|
1781
1854
|
"tighter",
|
|
1782
1855
|
"tight",
|
|
@@ -1790,9 +1863,9 @@ var Wn = (e, t) => {
|
|
|
1790
1863
|
aspect: [{ aspect: [
|
|
1791
1864
|
"auto",
|
|
1792
1865
|
"square",
|
|
1793
|
-
|
|
1794
|
-
Y,
|
|
1866
|
+
q,
|
|
1795
1867
|
Z,
|
|
1868
|
+
Q,
|
|
1796
1869
|
g
|
|
1797
1870
|
] }],
|
|
1798
1871
|
container: ["container"],
|
|
@@ -1800,15 +1873,15 @@ var Wn = (e, t) => {
|
|
|
1800
1873
|
"",
|
|
1801
1874
|
"normal",
|
|
1802
1875
|
"size",
|
|
1803
|
-
|
|
1804
|
-
|
|
1876
|
+
Q,
|
|
1877
|
+
Z
|
|
1805
1878
|
] }],
|
|
1806
1879
|
"container-named": [Rr],
|
|
1807
1880
|
columns: [{ columns: [
|
|
1808
|
-
|
|
1881
|
+
J,
|
|
1809
1882
|
"auto",
|
|
1810
|
-
Y,
|
|
1811
1883
|
Z,
|
|
1884
|
+
Q,
|
|
1812
1885
|
s
|
|
1813
1886
|
] }],
|
|
1814
1887
|
"break-after": [{ "break-after": y() }],
|
|
@@ -1905,13 +1978,13 @@ var Wn = (e, t) => {
|
|
|
1905
1978
|
"collapse"
|
|
1906
1979
|
],
|
|
1907
1980
|
z: [{ z: [
|
|
1908
|
-
|
|
1981
|
+
Y,
|
|
1909
1982
|
"auto",
|
|
1910
|
-
|
|
1911
|
-
|
|
1983
|
+
Q,
|
|
1984
|
+
Z
|
|
1912
1985
|
] }],
|
|
1913
1986
|
basis: [{ basis: [
|
|
1914
|
-
|
|
1987
|
+
q,
|
|
1915
1988
|
"full",
|
|
1916
1989
|
"auto",
|
|
1917
1990
|
s,
|
|
@@ -1929,32 +2002,32 @@ var Wn = (e, t) => {
|
|
|
1929
2002
|
"wrap-reverse"
|
|
1930
2003
|
] }],
|
|
1931
2004
|
flex: [{ flex: [
|
|
1932
|
-
|
|
1933
|
-
|
|
2005
|
+
J,
|
|
2006
|
+
q,
|
|
1934
2007
|
"auto",
|
|
1935
2008
|
"initial",
|
|
1936
2009
|
"none",
|
|
1937
|
-
|
|
2010
|
+
Z
|
|
1938
2011
|
] }],
|
|
1939
2012
|
grow: [{ grow: [
|
|
1940
2013
|
"",
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
2014
|
+
J,
|
|
2015
|
+
Q,
|
|
2016
|
+
Z
|
|
1944
2017
|
] }],
|
|
1945
2018
|
shrink: [{ shrink: [
|
|
1946
2019
|
"",
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
2020
|
+
J,
|
|
2021
|
+
Q,
|
|
2022
|
+
Z
|
|
1950
2023
|
] }],
|
|
1951
2024
|
order: [{ order: [
|
|
1952
|
-
|
|
2025
|
+
Y,
|
|
1953
2026
|
"first",
|
|
1954
2027
|
"last",
|
|
1955
2028
|
"none",
|
|
1956
|
-
|
|
1957
|
-
|
|
2029
|
+
Q,
|
|
2030
|
+
Z
|
|
1958
2031
|
] }],
|
|
1959
2032
|
"grid-cols": [{ "grid-cols": T() }],
|
|
1960
2033
|
"col-start-end": [{ col: te() }],
|
|
@@ -2016,12 +2089,12 @@ var Wn = (e, t) => {
|
|
|
2016
2089
|
"space-y": [{ "space-y": C() }],
|
|
2017
2090
|
"space-y-reverse": ["space-y-reverse"],
|
|
2018
2091
|
size: [{ size: A() }],
|
|
2019
|
-
"inline-size": [{ inline: ["auto", ...
|
|
2020
|
-
"min-inline-size": [{ "min-inline": ["auto", ...
|
|
2021
|
-
"max-inline-size": [{ "max-inline": ["none", ...
|
|
2022
|
-
"block-size": [{ block: ["auto", ...
|
|
2023
|
-
"min-block-size": [{ "min-block": ["auto", ...
|
|
2024
|
-
"max-block-size": [{ "max-block": ["none", ...
|
|
2092
|
+
"inline-size": [{ inline: ["auto", ...re()] }],
|
|
2093
|
+
"min-inline-size": [{ "min-inline": ["auto", ...re()] }],
|
|
2094
|
+
"max-inline-size": [{ "max-inline": ["none", ...re()] }],
|
|
2095
|
+
"block-size": [{ block: ["auto", ...j()] }],
|
|
2096
|
+
"min-block-size": [{ "min-block": ["auto", ...j()] }],
|
|
2097
|
+
"max-block-size": [{ "max-block": ["none", ...j()] }],
|
|
2025
2098
|
w: [{ w: [
|
|
2026
2099
|
s,
|
|
2027
2100
|
"screen",
|
|
@@ -2061,15 +2134,15 @@ var Wn = (e, t) => {
|
|
|
2061
2134
|
"font-size": [{ text: [
|
|
2062
2135
|
"base",
|
|
2063
2136
|
n,
|
|
2064
|
-
|
|
2065
|
-
|
|
2137
|
+
qr,
|
|
2138
|
+
Br
|
|
2066
2139
|
] }],
|
|
2067
2140
|
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
2068
2141
|
"font-style": ["italic", "not-italic"],
|
|
2069
2142
|
"font-weight": [{ font: [
|
|
2070
2143
|
r,
|
|
2071
|
-
|
|
2072
|
-
|
|
2144
|
+
$r,
|
|
2145
|
+
Hr
|
|
2073
2146
|
] }],
|
|
2074
2147
|
"font-stretch": [{ "font-stretch": [
|
|
2075
2148
|
"ultra-condensed",
|
|
@@ -2082,14 +2155,14 @@ var Wn = (e, t) => {
|
|
|
2082
2155
|
"extra-expanded",
|
|
2083
2156
|
"ultra-expanded",
|
|
2084
2157
|
jr,
|
|
2085
|
-
|
|
2158
|
+
Z
|
|
2086
2159
|
] }],
|
|
2087
2160
|
"font-family": [{ font: [
|
|
2088
|
-
|
|
2089
|
-
|
|
2161
|
+
Jr,
|
|
2162
|
+
Ur,
|
|
2090
2163
|
t
|
|
2091
2164
|
] }],
|
|
2092
|
-
"font-features": [{ "font-features": [
|
|
2165
|
+
"font-features": [{ "font-features": [Z] }],
|
|
2093
2166
|
"fvn-normal": ["normal-nums"],
|
|
2094
2167
|
"fvn-ordinal": ["ordinal"],
|
|
2095
2168
|
"fvn-slashed-zero": ["slashed-zero"],
|
|
@@ -2098,14 +2171,14 @@ var Wn = (e, t) => {
|
|
|
2098
2171
|
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
|
|
2099
2172
|
tracking: [{ tracking: [
|
|
2100
2173
|
i,
|
|
2101
|
-
|
|
2102
|
-
|
|
2174
|
+
Q,
|
|
2175
|
+
Z
|
|
2103
2176
|
] }],
|
|
2104
2177
|
"line-clamp": [{ "line-clamp": [
|
|
2105
|
-
|
|
2178
|
+
J,
|
|
2106
2179
|
"none",
|
|
2107
|
-
|
|
2108
|
-
|
|
2180
|
+
Q,
|
|
2181
|
+
Vr
|
|
2109
2182
|
] }],
|
|
2110
2183
|
leading: [{ leading: [
|
|
2111
2184
|
"none",
|
|
@@ -2114,16 +2187,16 @@ var Wn = (e, t) => {
|
|
|
2114
2187
|
] }],
|
|
2115
2188
|
"list-image": [{ "list-image": [
|
|
2116
2189
|
"none",
|
|
2117
|
-
|
|
2118
|
-
|
|
2190
|
+
Q,
|
|
2191
|
+
Z
|
|
2119
2192
|
] }],
|
|
2120
2193
|
"list-style-position": [{ list: ["inside", "outside"] }],
|
|
2121
2194
|
"list-style-type": [{ list: [
|
|
2122
2195
|
"disc",
|
|
2123
2196
|
"decimal",
|
|
2124
2197
|
"none",
|
|
2125
|
-
|
|
2126
|
-
|
|
2198
|
+
Q,
|
|
2199
|
+
Z
|
|
2127
2200
|
] }],
|
|
2128
2201
|
"text-alignment": [{ text: [
|
|
2129
2202
|
"left",
|
|
@@ -2141,20 +2214,20 @@ var Wn = (e, t) => {
|
|
|
2141
2214
|
"line-through",
|
|
2142
2215
|
"no-underline"
|
|
2143
2216
|
],
|
|
2144
|
-
"text-decoration-style": [{ decoration: [...
|
|
2217
|
+
"text-decoration-style": [{ decoration: [...ie(), "wavy"] }],
|
|
2145
2218
|
"text-decoration-thickness": [{ decoration: [
|
|
2146
|
-
|
|
2219
|
+
J,
|
|
2147
2220
|
"from-font",
|
|
2148
2221
|
"auto",
|
|
2149
|
-
|
|
2150
|
-
|
|
2222
|
+
Q,
|
|
2223
|
+
Br
|
|
2151
2224
|
] }],
|
|
2152
2225
|
"text-decoration-color": [{ decoration: M() }],
|
|
2153
2226
|
"underline-offset": [{ "underline-offset": [
|
|
2154
|
-
|
|
2227
|
+
J,
|
|
2155
2228
|
"auto",
|
|
2156
|
-
|
|
2157
|
-
|
|
2229
|
+
Q,
|
|
2230
|
+
Z
|
|
2158
2231
|
] }],
|
|
2159
2232
|
"text-transform": [
|
|
2160
2233
|
"uppercase",
|
|
@@ -2175,9 +2248,9 @@ var Wn = (e, t) => {
|
|
|
2175
2248
|
] }],
|
|
2176
2249
|
indent: [{ indent: C() }],
|
|
2177
2250
|
"tab-size": [{ tab: [
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2251
|
+
Y,
|
|
2252
|
+
Q,
|
|
2253
|
+
Z
|
|
2181
2254
|
] }],
|
|
2182
2255
|
"vertical-align": [{ align: [
|
|
2183
2256
|
"baseline",
|
|
@@ -2188,8 +2261,8 @@ var Wn = (e, t) => {
|
|
|
2188
2261
|
"text-bottom",
|
|
2189
2262
|
"sub",
|
|
2190
2263
|
"super",
|
|
2191
|
-
|
|
2192
|
-
|
|
2264
|
+
Q,
|
|
2265
|
+
Z
|
|
2193
2266
|
] }],
|
|
2194
2267
|
whitespace: [{ whitespace: [
|
|
2195
2268
|
"normal",
|
|
@@ -2217,8 +2290,8 @@ var Wn = (e, t) => {
|
|
|
2217
2290
|
] }],
|
|
2218
2291
|
content: [{ content: [
|
|
2219
2292
|
"none",
|
|
2220
|
-
|
|
2221
|
-
|
|
2293
|
+
Q,
|
|
2294
|
+
Z
|
|
2222
2295
|
] }],
|
|
2223
2296
|
"bg-attachment": [{ bg: [
|
|
2224
2297
|
"fixed",
|
|
@@ -2253,69 +2326,69 @@ var Wn = (e, t) => {
|
|
|
2253
2326
|
"l",
|
|
2254
2327
|
"tl"
|
|
2255
2328
|
] },
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2329
|
+
Y,
|
|
2330
|
+
Q,
|
|
2331
|
+
Z
|
|
2259
2332
|
],
|
|
2260
2333
|
radial: [
|
|
2261
2334
|
"",
|
|
2262
|
-
|
|
2263
|
-
|
|
2335
|
+
Q,
|
|
2336
|
+
Z
|
|
2264
2337
|
],
|
|
2265
2338
|
conic: [
|
|
2266
2339
|
"",
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2340
|
+
Y,
|
|
2341
|
+
Q,
|
|
2342
|
+
Z
|
|
2270
2343
|
]
|
|
2271
2344
|
},
|
|
2272
|
-
|
|
2273
|
-
|
|
2345
|
+
Zr,
|
|
2346
|
+
Gr
|
|
2274
2347
|
] }],
|
|
2275
2348
|
"bg-color": [{ bg: M() }],
|
|
2276
|
-
"gradient-from-pos": [{ from:
|
|
2277
|
-
"gradient-via-pos": [{ via:
|
|
2278
|
-
"gradient-to-pos": [{ to:
|
|
2349
|
+
"gradient-from-pos": [{ from: I() }],
|
|
2350
|
+
"gradient-via-pos": [{ via: I() }],
|
|
2351
|
+
"gradient-to-pos": [{ to: I() }],
|
|
2279
2352
|
"gradient-from": [{ from: M() }],
|
|
2280
2353
|
"gradient-via": [{ via: M() }],
|
|
2281
2354
|
"gradient-to": [{ to: M() }],
|
|
2282
|
-
rounded: [{ rounded:
|
|
2283
|
-
"rounded-s": [{ "rounded-s":
|
|
2284
|
-
"rounded-e": [{ "rounded-e":
|
|
2285
|
-
"rounded-t": [{ "rounded-t":
|
|
2286
|
-
"rounded-r": [{ "rounded-r":
|
|
2287
|
-
"rounded-b": [{ "rounded-b":
|
|
2288
|
-
"rounded-l": [{ "rounded-l":
|
|
2289
|
-
"rounded-ss": [{ "rounded-ss":
|
|
2290
|
-
"rounded-se": [{ "rounded-se":
|
|
2291
|
-
"rounded-ee": [{ "rounded-ee":
|
|
2292
|
-
"rounded-es": [{ "rounded-es":
|
|
2293
|
-
"rounded-tl": [{ "rounded-tl":
|
|
2294
|
-
"rounded-tr": [{ "rounded-tr":
|
|
2295
|
-
"rounded-br": [{ "rounded-br":
|
|
2296
|
-
"rounded-bl": [{ "rounded-bl":
|
|
2297
|
-
"border-w": [{ border:
|
|
2298
|
-
"border-w-x": [{ "border-x":
|
|
2299
|
-
"border-w-y": [{ "border-y":
|
|
2300
|
-
"border-w-s": [{ "border-s":
|
|
2301
|
-
"border-w-e": [{ "border-e":
|
|
2302
|
-
"border-w-bs": [{ "border-bs":
|
|
2303
|
-
"border-w-be": [{ "border-be":
|
|
2304
|
-
"border-w-t": [{ "border-t":
|
|
2305
|
-
"border-w-r": [{ "border-r":
|
|
2306
|
-
"border-w-b": [{ "border-b":
|
|
2307
|
-
"border-w-l": [{ "border-l":
|
|
2308
|
-
"divide-x": [{ "divide-x":
|
|
2355
|
+
rounded: [{ rounded: L() }],
|
|
2356
|
+
"rounded-s": [{ "rounded-s": L() }],
|
|
2357
|
+
"rounded-e": [{ "rounded-e": L() }],
|
|
2358
|
+
"rounded-t": [{ "rounded-t": L() }],
|
|
2359
|
+
"rounded-r": [{ "rounded-r": L() }],
|
|
2360
|
+
"rounded-b": [{ "rounded-b": L() }],
|
|
2361
|
+
"rounded-l": [{ "rounded-l": L() }],
|
|
2362
|
+
"rounded-ss": [{ "rounded-ss": L() }],
|
|
2363
|
+
"rounded-se": [{ "rounded-se": L() }],
|
|
2364
|
+
"rounded-ee": [{ "rounded-ee": L() }],
|
|
2365
|
+
"rounded-es": [{ "rounded-es": L() }],
|
|
2366
|
+
"rounded-tl": [{ "rounded-tl": L() }],
|
|
2367
|
+
"rounded-tr": [{ "rounded-tr": L() }],
|
|
2368
|
+
"rounded-br": [{ "rounded-br": L() }],
|
|
2369
|
+
"rounded-bl": [{ "rounded-bl": L() }],
|
|
2370
|
+
"border-w": [{ border: R() }],
|
|
2371
|
+
"border-w-x": [{ "border-x": R() }],
|
|
2372
|
+
"border-w-y": [{ "border-y": R() }],
|
|
2373
|
+
"border-w-s": [{ "border-s": R() }],
|
|
2374
|
+
"border-w-e": [{ "border-e": R() }],
|
|
2375
|
+
"border-w-bs": [{ "border-bs": R() }],
|
|
2376
|
+
"border-w-be": [{ "border-be": R() }],
|
|
2377
|
+
"border-w-t": [{ "border-t": R() }],
|
|
2378
|
+
"border-w-r": [{ "border-r": R() }],
|
|
2379
|
+
"border-w-b": [{ "border-b": R() }],
|
|
2380
|
+
"border-w-l": [{ "border-l": R() }],
|
|
2381
|
+
"divide-x": [{ "divide-x": R() }],
|
|
2309
2382
|
"divide-x-reverse": ["divide-x-reverse"],
|
|
2310
|
-
"divide-y": [{ "divide-y":
|
|
2383
|
+
"divide-y": [{ "divide-y": R() }],
|
|
2311
2384
|
"divide-y-reverse": ["divide-y-reverse"],
|
|
2312
2385
|
"border-style": [{ border: [
|
|
2313
|
-
...
|
|
2386
|
+
...ie(),
|
|
2314
2387
|
"hidden",
|
|
2315
2388
|
"none"
|
|
2316
2389
|
] }],
|
|
2317
2390
|
"divide-style": [{ divide: [
|
|
2318
|
-
...
|
|
2391
|
+
...ie(),
|
|
2319
2392
|
"hidden",
|
|
2320
2393
|
"none"
|
|
2321
2394
|
] }],
|
|
@@ -2332,20 +2405,20 @@ var Wn = (e, t) => {
|
|
|
2332
2405
|
"border-color-l": [{ "border-l": M() }],
|
|
2333
2406
|
"divide-color": [{ divide: M() }],
|
|
2334
2407
|
"outline-style": [{ outline: [
|
|
2335
|
-
...
|
|
2408
|
+
...ie(),
|
|
2336
2409
|
"none",
|
|
2337
2410
|
"hidden"
|
|
2338
2411
|
] }],
|
|
2339
2412
|
"outline-offset": [{ "outline-offset": [
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2413
|
+
J,
|
|
2414
|
+
Q,
|
|
2415
|
+
Z
|
|
2343
2416
|
] }],
|
|
2344
2417
|
"outline-w": [{ outline: [
|
|
2345
2418
|
"",
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2419
|
+
J,
|
|
2420
|
+
qr,
|
|
2421
|
+
Br
|
|
2349
2422
|
] }],
|
|
2350
2423
|
"outline-color": [{ outline: M() }],
|
|
2351
2424
|
shadow: [{ shadow: [
|
|
@@ -2353,42 +2426,42 @@ var Wn = (e, t) => {
|
|
|
2353
2426
|
"inner",
|
|
2354
2427
|
"none",
|
|
2355
2428
|
u,
|
|
2356
|
-
|
|
2357
|
-
|
|
2429
|
+
Qr,
|
|
2430
|
+
Kr
|
|
2358
2431
|
] }],
|
|
2359
2432
|
"shadow-color": [{ shadow: M() }],
|
|
2360
2433
|
"inset-shadow": [{ "inset-shadow": [
|
|
2361
2434
|
"none",
|
|
2362
2435
|
d,
|
|
2363
|
-
|
|
2364
|
-
|
|
2436
|
+
Qr,
|
|
2437
|
+
Kr
|
|
2365
2438
|
] }],
|
|
2366
2439
|
"inset-shadow-color": [{ "inset-shadow": M() }],
|
|
2367
|
-
"ring-w": [{ ring:
|
|
2440
|
+
"ring-w": [{ ring: R() }],
|
|
2368
2441
|
"ring-w-inset": ["ring-inset"],
|
|
2369
2442
|
"ring-color": [{ ring: M() }],
|
|
2370
|
-
"ring-offset-w": [{ "ring-offset": [
|
|
2443
|
+
"ring-offset-w": [{ "ring-offset": [J, Br] }],
|
|
2371
2444
|
"ring-offset-color": [{ "ring-offset": M() }],
|
|
2372
|
-
"inset-ring-w": [{ "inset-ring":
|
|
2445
|
+
"inset-ring-w": [{ "inset-ring": R() }],
|
|
2373
2446
|
"inset-ring-color": [{ "inset-ring": M() }],
|
|
2374
2447
|
"text-shadow": [{ "text-shadow": [
|
|
2375
2448
|
"none",
|
|
2376
2449
|
f,
|
|
2377
|
-
|
|
2378
|
-
|
|
2450
|
+
Qr,
|
|
2451
|
+
Kr
|
|
2379
2452
|
] }],
|
|
2380
2453
|
"text-shadow-color": [{ "text-shadow": M() }],
|
|
2381
2454
|
opacity: [{ opacity: [
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2455
|
+
J,
|
|
2456
|
+
Q,
|
|
2457
|
+
Z
|
|
2385
2458
|
] }],
|
|
2386
2459
|
"mix-blend": [{ "mix-blend": [
|
|
2387
|
-
...
|
|
2460
|
+
...ae(),
|
|
2388
2461
|
"plus-darker",
|
|
2389
2462
|
"plus-lighter"
|
|
2390
2463
|
] }],
|
|
2391
|
-
"bg-blend": [{ "bg-blend":
|
|
2464
|
+
"bg-blend": [{ "bg-blend": ae() }],
|
|
2392
2465
|
"mask-clip": [{ "mask-clip": [
|
|
2393
2466
|
"border",
|
|
2394
2467
|
"padding",
|
|
@@ -2403,38 +2476,38 @@ var Wn = (e, t) => {
|
|
|
2403
2476
|
"intersect",
|
|
2404
2477
|
"exclude"
|
|
2405
2478
|
] }],
|
|
2406
|
-
"mask-image-linear-pos": [{ "mask-linear": [
|
|
2407
|
-
"mask-image-linear-from-pos": [{ "mask-linear-from":
|
|
2408
|
-
"mask-image-linear-to-pos": [{ "mask-linear-to":
|
|
2479
|
+
"mask-image-linear-pos": [{ "mask-linear": [J] }],
|
|
2480
|
+
"mask-image-linear-from-pos": [{ "mask-linear-from": z() }],
|
|
2481
|
+
"mask-image-linear-to-pos": [{ "mask-linear-to": z() }],
|
|
2409
2482
|
"mask-image-linear-from-color": [{ "mask-linear-from": M() }],
|
|
2410
2483
|
"mask-image-linear-to-color": [{ "mask-linear-to": M() }],
|
|
2411
|
-
"mask-image-t-from-pos": [{ "mask-t-from":
|
|
2412
|
-
"mask-image-t-to-pos": [{ "mask-t-to":
|
|
2484
|
+
"mask-image-t-from-pos": [{ "mask-t-from": z() }],
|
|
2485
|
+
"mask-image-t-to-pos": [{ "mask-t-to": z() }],
|
|
2413
2486
|
"mask-image-t-from-color": [{ "mask-t-from": M() }],
|
|
2414
2487
|
"mask-image-t-to-color": [{ "mask-t-to": M() }],
|
|
2415
|
-
"mask-image-r-from-pos": [{ "mask-r-from":
|
|
2416
|
-
"mask-image-r-to-pos": [{ "mask-r-to":
|
|
2488
|
+
"mask-image-r-from-pos": [{ "mask-r-from": z() }],
|
|
2489
|
+
"mask-image-r-to-pos": [{ "mask-r-to": z() }],
|
|
2417
2490
|
"mask-image-r-from-color": [{ "mask-r-from": M() }],
|
|
2418
2491
|
"mask-image-r-to-color": [{ "mask-r-to": M() }],
|
|
2419
|
-
"mask-image-b-from-pos": [{ "mask-b-from":
|
|
2420
|
-
"mask-image-b-to-pos": [{ "mask-b-to":
|
|
2492
|
+
"mask-image-b-from-pos": [{ "mask-b-from": z() }],
|
|
2493
|
+
"mask-image-b-to-pos": [{ "mask-b-to": z() }],
|
|
2421
2494
|
"mask-image-b-from-color": [{ "mask-b-from": M() }],
|
|
2422
2495
|
"mask-image-b-to-color": [{ "mask-b-to": M() }],
|
|
2423
|
-
"mask-image-l-from-pos": [{ "mask-l-from":
|
|
2424
|
-
"mask-image-l-to-pos": [{ "mask-l-to":
|
|
2496
|
+
"mask-image-l-from-pos": [{ "mask-l-from": z() }],
|
|
2497
|
+
"mask-image-l-to-pos": [{ "mask-l-to": z() }],
|
|
2425
2498
|
"mask-image-l-from-color": [{ "mask-l-from": M() }],
|
|
2426
2499
|
"mask-image-l-to-color": [{ "mask-l-to": M() }],
|
|
2427
|
-
"mask-image-x-from-pos": [{ "mask-x-from":
|
|
2428
|
-
"mask-image-x-to-pos": [{ "mask-x-to":
|
|
2500
|
+
"mask-image-x-from-pos": [{ "mask-x-from": z() }],
|
|
2501
|
+
"mask-image-x-to-pos": [{ "mask-x-to": z() }],
|
|
2429
2502
|
"mask-image-x-from-color": [{ "mask-x-from": M() }],
|
|
2430
2503
|
"mask-image-x-to-color": [{ "mask-x-to": M() }],
|
|
2431
|
-
"mask-image-y-from-pos": [{ "mask-y-from":
|
|
2432
|
-
"mask-image-y-to-pos": [{ "mask-y-to":
|
|
2504
|
+
"mask-image-y-from-pos": [{ "mask-y-from": z() }],
|
|
2505
|
+
"mask-image-y-to-pos": [{ "mask-y-to": z() }],
|
|
2433
2506
|
"mask-image-y-from-color": [{ "mask-y-from": M() }],
|
|
2434
2507
|
"mask-image-y-to-color": [{ "mask-y-to": M() }],
|
|
2435
|
-
"mask-image-radial": [{ "mask-radial": [
|
|
2436
|
-
"mask-image-radial-from-pos": [{ "mask-radial-from":
|
|
2437
|
-
"mask-image-radial-to-pos": [{ "mask-radial-to":
|
|
2508
|
+
"mask-image-radial": [{ "mask-radial": [Q, Z] }],
|
|
2509
|
+
"mask-image-radial-from-pos": [{ "mask-radial-from": z() }],
|
|
2510
|
+
"mask-image-radial-to-pos": [{ "mask-radial-to": z() }],
|
|
2438
2511
|
"mask-image-radial-from-color": [{ "mask-radial-from": M() }],
|
|
2439
2512
|
"mask-image-radial-to-color": [{ "mask-radial-to": M() }],
|
|
2440
2513
|
"mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
|
|
@@ -2443,9 +2516,9 @@ var Wn = (e, t) => {
|
|
|
2443
2516
|
farthest: ["side", "corner"]
|
|
2444
2517
|
}] }],
|
|
2445
2518
|
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
|
|
2446
|
-
"mask-image-conic-pos": [{ "mask-conic": [
|
|
2447
|
-
"mask-image-conic-from-pos": [{ "mask-conic-from":
|
|
2448
|
-
"mask-image-conic-to-pos": [{ "mask-conic-to":
|
|
2519
|
+
"mask-image-conic-pos": [{ "mask-conic": [J] }],
|
|
2520
|
+
"mask-image-conic-from-pos": [{ "mask-conic-from": z() }],
|
|
2521
|
+
"mask-image-conic-to-pos": [{ "mask-conic-to": z() }],
|
|
2449
2522
|
"mask-image-conic-from-color": [{ "mask-conic-from": M() }],
|
|
2450
2523
|
"mask-image-conic-to-color": [{ "mask-conic-to": M() }],
|
|
2451
2524
|
"mask-mode": [{ mask: [
|
|
@@ -2467,111 +2540,111 @@ var Wn = (e, t) => {
|
|
|
2467
2540
|
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
|
|
2468
2541
|
"mask-image": [{ mask: [
|
|
2469
2542
|
"none",
|
|
2470
|
-
|
|
2471
|
-
|
|
2543
|
+
Q,
|
|
2544
|
+
Z
|
|
2472
2545
|
] }],
|
|
2473
2546
|
filter: [{ filter: [
|
|
2474
2547
|
"",
|
|
2475
2548
|
"none",
|
|
2476
|
-
|
|
2477
|
-
|
|
2549
|
+
Q,
|
|
2550
|
+
Z
|
|
2478
2551
|
] }],
|
|
2479
|
-
blur: [{ blur:
|
|
2552
|
+
blur: [{ blur: B() }],
|
|
2480
2553
|
brightness: [{ brightness: [
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2554
|
+
J,
|
|
2555
|
+
Q,
|
|
2556
|
+
Z
|
|
2484
2557
|
] }],
|
|
2485
2558
|
contrast: [{ contrast: [
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2559
|
+
J,
|
|
2560
|
+
Q,
|
|
2561
|
+
Z
|
|
2489
2562
|
] }],
|
|
2490
2563
|
"drop-shadow": [{ "drop-shadow": [
|
|
2491
2564
|
"",
|
|
2492
2565
|
"none",
|
|
2493
2566
|
p,
|
|
2494
|
-
|
|
2495
|
-
|
|
2567
|
+
Qr,
|
|
2568
|
+
Kr
|
|
2496
2569
|
] }],
|
|
2497
2570
|
"drop-shadow-color": [{ "drop-shadow": M() }],
|
|
2498
2571
|
grayscale: [{ grayscale: [
|
|
2499
2572
|
"",
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2573
|
+
J,
|
|
2574
|
+
Q,
|
|
2575
|
+
Z
|
|
2503
2576
|
] }],
|
|
2504
2577
|
"hue-rotate": [{ "hue-rotate": [
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2578
|
+
J,
|
|
2579
|
+
Q,
|
|
2580
|
+
Z
|
|
2508
2581
|
] }],
|
|
2509
2582
|
invert: [{ invert: [
|
|
2510
2583
|
"",
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2584
|
+
J,
|
|
2585
|
+
Q,
|
|
2586
|
+
Z
|
|
2514
2587
|
] }],
|
|
2515
2588
|
saturate: [{ saturate: [
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2589
|
+
J,
|
|
2590
|
+
Q,
|
|
2591
|
+
Z
|
|
2519
2592
|
] }],
|
|
2520
2593
|
sepia: [{ sepia: [
|
|
2521
2594
|
"",
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2595
|
+
J,
|
|
2596
|
+
Q,
|
|
2597
|
+
Z
|
|
2525
2598
|
] }],
|
|
2526
2599
|
"backdrop-filter": [{ "backdrop-filter": [
|
|
2527
2600
|
"",
|
|
2528
2601
|
"none",
|
|
2529
|
-
|
|
2530
|
-
|
|
2602
|
+
Q,
|
|
2603
|
+
Z
|
|
2531
2604
|
] }],
|
|
2532
|
-
"backdrop-blur": [{ "backdrop-blur":
|
|
2605
|
+
"backdrop-blur": [{ "backdrop-blur": B() }],
|
|
2533
2606
|
"backdrop-brightness": [{ "backdrop-brightness": [
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2607
|
+
J,
|
|
2608
|
+
Q,
|
|
2609
|
+
Z
|
|
2537
2610
|
] }],
|
|
2538
2611
|
"backdrop-contrast": [{ "backdrop-contrast": [
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2612
|
+
J,
|
|
2613
|
+
Q,
|
|
2614
|
+
Z
|
|
2542
2615
|
] }],
|
|
2543
2616
|
"backdrop-grayscale": [{ "backdrop-grayscale": [
|
|
2544
2617
|
"",
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2618
|
+
J,
|
|
2619
|
+
Q,
|
|
2620
|
+
Z
|
|
2548
2621
|
] }],
|
|
2549
2622
|
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2623
|
+
J,
|
|
2624
|
+
Q,
|
|
2625
|
+
Z
|
|
2553
2626
|
] }],
|
|
2554
2627
|
"backdrop-invert": [{ "backdrop-invert": [
|
|
2555
2628
|
"",
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2629
|
+
J,
|
|
2630
|
+
Q,
|
|
2631
|
+
Z
|
|
2559
2632
|
] }],
|
|
2560
2633
|
"backdrop-opacity": [{ "backdrop-opacity": [
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2634
|
+
J,
|
|
2635
|
+
Q,
|
|
2636
|
+
Z
|
|
2564
2637
|
] }],
|
|
2565
2638
|
"backdrop-saturate": [{ "backdrop-saturate": [
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2639
|
+
J,
|
|
2640
|
+
Q,
|
|
2641
|
+
Z
|
|
2569
2642
|
] }],
|
|
2570
2643
|
"backdrop-sepia": [{ "backdrop-sepia": [
|
|
2571
2644
|
"",
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2645
|
+
J,
|
|
2646
|
+
Q,
|
|
2647
|
+
Z
|
|
2575
2648
|
] }],
|
|
2576
2649
|
"border-collapse": [{ border: ["collapse", "separate"] }],
|
|
2577
2650
|
"border-spacing": [{ "border-spacing": C() }],
|
|
@@ -2587,56 +2660,56 @@ var Wn = (e, t) => {
|
|
|
2587
2660
|
"shadow",
|
|
2588
2661
|
"transform",
|
|
2589
2662
|
"none",
|
|
2590
|
-
|
|
2591
|
-
|
|
2663
|
+
Q,
|
|
2664
|
+
Z
|
|
2592
2665
|
] }],
|
|
2593
2666
|
"transition-behavior": [{ transition: ["normal", "discrete"] }],
|
|
2594
2667
|
duration: [{ duration: [
|
|
2595
|
-
|
|
2668
|
+
J,
|
|
2596
2669
|
"initial",
|
|
2597
|
-
|
|
2598
|
-
|
|
2670
|
+
Q,
|
|
2671
|
+
Z
|
|
2599
2672
|
] }],
|
|
2600
2673
|
ease: [{ ease: [
|
|
2601
2674
|
"linear",
|
|
2602
2675
|
"initial",
|
|
2603
2676
|
_,
|
|
2604
|
-
|
|
2605
|
-
|
|
2677
|
+
Q,
|
|
2678
|
+
Z
|
|
2606
2679
|
] }],
|
|
2607
2680
|
delay: [{ delay: [
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2681
|
+
J,
|
|
2682
|
+
Q,
|
|
2683
|
+
Z
|
|
2611
2684
|
] }],
|
|
2612
2685
|
animate: [{ animate: [
|
|
2613
2686
|
"none",
|
|
2614
2687
|
v,
|
|
2615
|
-
|
|
2616
|
-
|
|
2688
|
+
Q,
|
|
2689
|
+
Z
|
|
2617
2690
|
] }],
|
|
2618
2691
|
backface: [{ backface: ["hidden", "visible"] }],
|
|
2619
2692
|
perspective: [{ perspective: [
|
|
2620
2693
|
h,
|
|
2621
|
-
|
|
2622
|
-
|
|
2694
|
+
Q,
|
|
2695
|
+
Z
|
|
2623
2696
|
] }],
|
|
2624
2697
|
"perspective-origin": [{ "perspective-origin": x() }],
|
|
2625
|
-
rotate: [{ rotate:
|
|
2626
|
-
"rotate-x": [{ "rotate-x":
|
|
2627
|
-
"rotate-y": [{ "rotate-y":
|
|
2628
|
-
"rotate-z": [{ "rotate-z":
|
|
2629
|
-
scale: [{ scale:
|
|
2630
|
-
"scale-x": [{ "scale-x":
|
|
2631
|
-
"scale-y": [{ "scale-y":
|
|
2632
|
-
"scale-z": [{ "scale-z":
|
|
2698
|
+
rotate: [{ rotate: oe() }],
|
|
2699
|
+
"rotate-x": [{ "rotate-x": oe() }],
|
|
2700
|
+
"rotate-y": [{ "rotate-y": oe() }],
|
|
2701
|
+
"rotate-z": [{ "rotate-z": oe() }],
|
|
2702
|
+
scale: [{ scale: V() }],
|
|
2703
|
+
"scale-x": [{ "scale-x": V() }],
|
|
2704
|
+
"scale-y": [{ "scale-y": V() }],
|
|
2705
|
+
"scale-z": [{ "scale-z": V() }],
|
|
2633
2706
|
"scale-3d": ["scale-3d"],
|
|
2634
|
-
skew: [{ skew:
|
|
2635
|
-
"skew-x": [{ "skew-x":
|
|
2636
|
-
"skew-y": [{ "skew-y":
|
|
2707
|
+
skew: [{ skew: se() }],
|
|
2708
|
+
"skew-x": [{ "skew-x": se() }],
|
|
2709
|
+
"skew-y": [{ "skew-y": se() }],
|
|
2637
2710
|
transform: [{ transform: [
|
|
2711
|
+
Q,
|
|
2638
2712
|
Z,
|
|
2639
|
-
Y,
|
|
2640
2713
|
"",
|
|
2641
2714
|
"none",
|
|
2642
2715
|
"gpu",
|
|
@@ -2644,15 +2717,15 @@ var Wn = (e, t) => {
|
|
|
2644
2717
|
] }],
|
|
2645
2718
|
"transform-origin": [{ origin: x() }],
|
|
2646
2719
|
"transform-style": [{ transform: ["3d", "flat"] }],
|
|
2647
|
-
translate: [{ translate:
|
|
2648
|
-
"translate-x": [{ "translate-x":
|
|
2649
|
-
"translate-y": [{ "translate-y":
|
|
2650
|
-
"translate-z": [{ "translate-z":
|
|
2720
|
+
translate: [{ translate: ce() }],
|
|
2721
|
+
"translate-x": [{ "translate-x": ce() }],
|
|
2722
|
+
"translate-y": [{ "translate-y": ce() }],
|
|
2723
|
+
"translate-z": [{ "translate-z": ce() }],
|
|
2651
2724
|
"translate-none": ["translate-none"],
|
|
2652
2725
|
zoom: [{ zoom: [
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2726
|
+
Y,
|
|
2727
|
+
Q,
|
|
2728
|
+
Z
|
|
2656
2729
|
] }],
|
|
2657
2730
|
accent: [{ accent: M() }],
|
|
2658
2731
|
appearance: [{ appearance: ["none", "auto"] }],
|
|
@@ -2702,8 +2775,8 @@ var Wn = (e, t) => {
|
|
|
2702
2775
|
"nwse-resize",
|
|
2703
2776
|
"zoom-in",
|
|
2704
2777
|
"zoom-out",
|
|
2705
|
-
|
|
2706
|
-
|
|
2778
|
+
Q,
|
|
2779
|
+
Z
|
|
2707
2780
|
] }],
|
|
2708
2781
|
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
|
|
2709
2782
|
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
|
|
@@ -2789,15 +2862,15 @@ var Wn = (e, t) => {
|
|
|
2789
2862
|
"scroll",
|
|
2790
2863
|
"contents",
|
|
2791
2864
|
"transform",
|
|
2792
|
-
|
|
2793
|
-
|
|
2865
|
+
Q,
|
|
2866
|
+
Z
|
|
2794
2867
|
] }],
|
|
2795
2868
|
fill: [{ fill: ["none", ...M()] }],
|
|
2796
2869
|
"stroke-w": [{ stroke: [
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2870
|
+
J,
|
|
2871
|
+
qr,
|
|
2872
|
+
Br,
|
|
2873
|
+
Vr
|
|
2801
2874
|
] }],
|
|
2802
2875
|
stroke: [{ stroke: ["none", ...M()] }],
|
|
2803
2876
|
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
|
|
@@ -3055,7 +3128,7 @@ var Wn = (e, t) => {
|
|
|
3055
3128
|
"selection"
|
|
3056
3129
|
]
|
|
3057
3130
|
};
|
|
3058
|
-
}),
|
|
3131
|
+
}), ui = ["aria-label"], di = /*@__PURE__*/ Object.assign({ inheritAttrs: !1 }, {
|
|
3059
3132
|
__name: "PaginationItem",
|
|
3060
3133
|
props: {
|
|
3061
3134
|
class: {
|
|
@@ -3095,7 +3168,7 @@ var Wn = (e, t) => {
|
|
|
3095
3168
|
let t = e, { setCurrentIndex: n, pauseAutoplay: r, resumeAutoplay: i } = Vt(), a = (e) => {
|
|
3096
3169
|
if (t.disabled) return !1;
|
|
3097
3170
|
n(e[0]), r(), i();
|
|
3098
|
-
}, o = s(() =>
|
|
3171
|
+
}, o = s(() => li(t.class, t.isActive && t.activeClass, t.disabled && "pointer-events-none")), c = s(() => li(t.dotClass, t.isActive && t.dotActiveClass));
|
|
3099
3172
|
return (e, n) => j(e.$slots, "pagination-item", {
|
|
3100
3173
|
isCurrentPage: t.isActive,
|
|
3101
3174
|
page: t.page,
|
|
@@ -3108,9 +3181,9 @@ var Wn = (e, t) => {
|
|
|
3108
3181
|
class: o.value,
|
|
3109
3182
|
"aria-label": `Navigate to page ${t.pageIndex + 1}`,
|
|
3110
3183
|
onClick: n[0] ||= (e) => a(t.page, t.pageIndex)
|
|
3111
|
-
}), [d("div", { class: w(c.value) }, null, 2)], 16,
|
|
3184
|
+
}), [d("div", { class: w(c.value) }, null, 2)], 16, ui)]);
|
|
3112
3185
|
}
|
|
3113
|
-
}),
|
|
3186
|
+
}), fi = {
|
|
3114
3187
|
__name: "Pagination",
|
|
3115
3188
|
props: {
|
|
3116
3189
|
totalSlides: {
|
|
@@ -3155,7 +3228,7 @@ var Wn = (e, t) => {
|
|
|
3155
3228
|
}
|
|
3156
3229
|
},
|
|
3157
3230
|
setup(e) {
|
|
3158
|
-
let n = e, { currentIndex: r, isNavigating: i } = Vt(), a = s(() =>
|
|
3231
|
+
let n = e, { currentIndex: r, isNavigating: i } = Vt(), a = s(() => He(Array.from(Array(n.totalSlides).keys()), n.perPage).map((e) => {
|
|
3159
3232
|
let t = e[0] - 1;
|
|
3160
3233
|
for (; e.length < n.perPage;) e.unshift(t), t--;
|
|
3161
3234
|
return e;
|
|
@@ -3167,13 +3240,13 @@ var Wn = (e, t) => {
|
|
|
3167
3240
|
}, [j(e.$slots, "pagination", {
|
|
3168
3241
|
page: a.value,
|
|
3169
3242
|
isCurrentPage: o,
|
|
3170
|
-
isNavigating:
|
|
3171
|
-
}, () => [(E(!0), u(t, null,
|
|
3243
|
+
isNavigating: I(i)
|
|
3244
|
+
}, () => [(E(!0), u(t, null, re(a.value, (t, r) => (E(), c(I(pe), {
|
|
3172
3245
|
key: t,
|
|
3173
3246
|
slots: e.$slots,
|
|
3174
3247
|
only: "pagination-item"
|
|
3175
3248
|
}, {
|
|
3176
|
-
default:
|
|
3249
|
+
default: V(() => [p(di, {
|
|
3177
3250
|
class: w(n.itemClass),
|
|
3178
3251
|
"active-class": n.itemActiveClass,
|
|
3179
3252
|
"dot-class": w([n.itemDotClass, n.itemSizeClass]),
|
|
@@ -3181,8 +3254,8 @@ var Wn = (e, t) => {
|
|
|
3181
3254
|
page: t,
|
|
3182
3255
|
"page-index": r,
|
|
3183
3256
|
"is-active": o(r),
|
|
3184
|
-
disabled: n.disableOnNavigation &&
|
|
3185
|
-
"aria-disabled": n.disableOnNavigation &&
|
|
3257
|
+
disabled: n.disableOnNavigation && I(i),
|
|
3258
|
+
"aria-disabled": n.disableOnNavigation && I(i) || o(r)
|
|
3186
3259
|
}, null, 8, [
|
|
3187
3260
|
"class",
|
|
3188
3261
|
"active-class",
|
|
@@ -3197,7 +3270,7 @@ var Wn = (e, t) => {
|
|
|
3197
3270
|
_: 2
|
|
3198
3271
|
}, 1032, ["slots"]))), 128))])], 2));
|
|
3199
3272
|
}
|
|
3200
|
-
},
|
|
3273
|
+
}, pi = { transform: "rotate(var(--r, 0deg)) scale(var(--sx, 1), var(--sy, 1))" }, mi = {
|
|
3201
3274
|
mdi: {
|
|
3202
3275
|
size: 24,
|
|
3203
3276
|
viewbox: "0 0 24 24"
|
|
@@ -3210,7 +3283,7 @@ var Wn = (e, t) => {
|
|
|
3210
3283
|
size: 0,
|
|
3211
3284
|
viewbox: "0 0 0 0"
|
|
3212
3285
|
}
|
|
3213
|
-
},
|
|
3286
|
+
}, hi = {
|
|
3214
3287
|
props: {
|
|
3215
3288
|
type: {
|
|
3216
3289
|
type: String,
|
|
@@ -3239,7 +3312,7 @@ var Wn = (e, t) => {
|
|
|
3239
3312
|
style: { fill: "currentcolor" }
|
|
3240
3313
|
});
|
|
3241
3314
|
}
|
|
3242
|
-
},
|
|
3315
|
+
}, gi = {
|
|
3243
3316
|
name: "icon",
|
|
3244
3317
|
props: {
|
|
3245
3318
|
type: {
|
|
@@ -3292,9 +3365,9 @@ var Wn = (e, t) => {
|
|
|
3292
3365
|
},
|
|
3293
3366
|
setup(e) {
|
|
3294
3367
|
if (!e.path && !e.faIcon) return console.warn("vue3-icon requires either a 'path' or an 'fa-icon' property"), () => _("div");
|
|
3295
|
-
let t = s(() => e.faIcon?.prefix || e.type), n = s(() => parseInt(e.rotate, 10)), r = s(() =>
|
|
3368
|
+
let t = s(() => e.faIcon?.prefix || e.type), n = s(() => parseInt(e.rotate, 10)), r = s(() => mi[t.value] || mi.default), i = s(() => parseInt(e.size, 10) || r.value.size), a = s(() => e.faIcon ? `0 0 ${e.faIcon.icon[0]} ${e.faIcon.icon[1]}` : !1), o = s(() => a.value || e.viewbox || r.value.viewbox), c = s(() => {
|
|
3296
3369
|
if (e.noStyles !== !0) return {
|
|
3297
|
-
...
|
|
3370
|
+
...pi,
|
|
3298
3371
|
"--sx": ["both", "horizontal"].includes(e.flip) ? "-1" : "1",
|
|
3299
3372
|
"--sy": ["both", "vertical"].includes(e.flip) ? "-1" : "1",
|
|
3300
3373
|
"--r": isNaN(n.value) ? n.value : n.value + "deg"
|
|
@@ -3307,7 +3380,7 @@ var Wn = (e, t) => {
|
|
|
3307
3380
|
width: e.noDimensions === !0 ? void 0 : i.value,
|
|
3308
3381
|
height: e.noDimensions === !0 ? void 0 : i.value,
|
|
3309
3382
|
viewBox: o.value
|
|
3310
|
-
}, [_(
|
|
3383
|
+
}, [_(hi, {
|
|
3311
3384
|
path: e.path,
|
|
3312
3385
|
type: t.value,
|
|
3313
3386
|
pathString: l.value
|
|
@@ -3316,13 +3389,13 @@ var Wn = (e, t) => {
|
|
|
3316
3389
|
};
|
|
3317
3390
|
//#endregion
|
|
3318
3391
|
//#region src/utils/loopedValue.js
|
|
3319
|
-
function
|
|
3392
|
+
function _i(e, t = 0, n) {
|
|
3320
3393
|
let r = n - t;
|
|
3321
3394
|
return ((e - t) % r + r) % r + t;
|
|
3322
3395
|
}
|
|
3323
3396
|
//#endregion
|
|
3324
3397
|
//#region src/component/controls/Navigation.vue
|
|
3325
|
-
var
|
|
3398
|
+
var vi = ["disabled", "aria-disabled"], yi = ["disabled", "aria-disabled"], bi = "M31.884 8.366a1.25 1.25 0 0 1 0 1.768L18.018 24l13.866 13.866a1.25 1.25 0 0 1-1.768 1.768l-14.75-14.75a1.25 1.25 0 0 1 0-1.768l14.75-14.75a1.25 1.25 0 0 1 1.768 0z", xi = "M16.116 39.634a1.25 1.25 0 0 1 0-1.768L29.982 24L16.116 10.134a1.25 1.25 0 0 1 1.768-1.768l14.75 14.75a1.25 1.25 0 0 1 0 1.768l-14.75 14.75a1.25 1.25 0 0 1-1.768 0z", Si = /*@__PURE__*/ Object.assign({ inheritAttrs: !1 }, {
|
|
3326
3399
|
__name: "Navigation",
|
|
3327
3400
|
props: {
|
|
3328
3401
|
itemClass: {
|
|
@@ -3351,9 +3424,9 @@ var gi = ["disabled", "aria-disabled"], _i = ["disabled", "aria-disabled"], vi =
|
|
|
3351
3424
|
}
|
|
3352
3425
|
},
|
|
3353
3426
|
setup(e) {
|
|
3354
|
-
let t = e, { config: n, currentIndex: r, setCurrentIndex: i, isNavigating: a, pauseAutoplay: o, resumeAutoplay: c } = Vt(), l = s(() => r.value + n.value.perPage), u = s(() => !n.value.wrap && r.value === 0 || t.disableOnNavigation && a.value === !0), f = s(() => !n.value.wrap && l.value === t.totalSlides || t.disableOnNavigation && a.value === !0), m = s(() =>
|
|
3355
|
-
if (n.value.mode !==
|
|
3356
|
-
if (n.value.wrap === !0) return
|
|
3427
|
+
let t = e, { config: n, currentIndex: r, setCurrentIndex: i, isNavigating: a, pauseAutoplay: o, resumeAutoplay: c } = Vt(), l = s(() => r.value + n.value.perPage), u = s(() => !n.value.wrap && r.value === 0 || t.disableOnNavigation && a.value === !0), f = s(() => !n.value.wrap && l.value === t.totalSlides || t.disableOnNavigation && a.value === !0), m = s(() => li(t.itemClass, t.itemSizeClass, t.prevClass)), h = s(() => li(t.itemClass, t.itemSizeClass, t.nextClass)), g = (e) => {
|
|
3428
|
+
if (n.value.mode !== Be.GALLERY) return e;
|
|
3429
|
+
if (n.value.wrap === !0) return _i(e, 0, t.totalSlides);
|
|
3357
3430
|
let r = e + n.value.perPage;
|
|
3358
3431
|
return e < 0 ? 0 : r >= t.totalSlides ? t.totalSlides - n.value.perPage : e;
|
|
3359
3432
|
}, _ = () => {
|
|
@@ -3368,15 +3441,15 @@ var gi = ["disabled", "aria-disabled"], _i = ["disabled", "aria-disabled"], vi =
|
|
|
3368
3441
|
return (e, t) => j(e.$slots, "navigation", {
|
|
3369
3442
|
onPrev: v,
|
|
3370
3443
|
onNext: y,
|
|
3371
|
-
currentIndex:
|
|
3372
|
-
config:
|
|
3444
|
+
currentIndex: I(r),
|
|
3445
|
+
config: I(n)
|
|
3373
3446
|
}, () => [d("div", S({
|
|
3374
3447
|
class: "evo-vue-carousel__navigation",
|
|
3375
3448
|
role: "group",
|
|
3376
3449
|
"aria-label": "Slide Navigation Controls"
|
|
3377
3450
|
}, e.$attrs), [j(e.$slots, "navigation-prev", {
|
|
3378
3451
|
onClick: v,
|
|
3379
|
-
currentIndex:
|
|
3452
|
+
currentIndex: I(r),
|
|
3380
3453
|
disabled: u.value
|
|
3381
3454
|
}, () => [d("button", {
|
|
3382
3455
|
class: w(["evo-vue-carousel__navigation-item evo-vue-carousel__navigation-prev", m.value]),
|
|
@@ -3384,13 +3457,13 @@ var gi = ["disabled", "aria-disabled"], _i = ["disabled", "aria-disabled"], vi =
|
|
|
3384
3457
|
"aria-disabled": u.value,
|
|
3385
3458
|
"aria-label": "Previous Slide",
|
|
3386
3459
|
onClick: v
|
|
3387
|
-
}, [p(
|
|
3388
|
-
path:
|
|
3460
|
+
}, [p(I(gi), {
|
|
3461
|
+
path: bi,
|
|
3389
3462
|
viewBox: "0 0 48 48",
|
|
3390
3463
|
class: "w-full h-full"
|
|
3391
|
-
})], 10,
|
|
3464
|
+
})], 10, vi)]), j(e.$slots, "navigation-next", {
|
|
3392
3465
|
onClick: y,
|
|
3393
|
-
currentIndex:
|
|
3466
|
+
currentIndex: I(r),
|
|
3394
3467
|
disabled: f.value
|
|
3395
3468
|
}, () => [d("button", {
|
|
3396
3469
|
class: w(["evo-vue-carousel__navigation-item evo-vue-carousel__navigation-next", h.value]),
|
|
@@ -3398,17 +3471,17 @@ var gi = ["disabled", "aria-disabled"], _i = ["disabled", "aria-disabled"], vi =
|
|
|
3398
3471
|
"aria-disabled": f.value,
|
|
3399
3472
|
"aria-label": "Next Slide",
|
|
3400
3473
|
onClick: y
|
|
3401
|
-
}, [p(
|
|
3402
|
-
path:
|
|
3474
|
+
}, [p(I(gi), {
|
|
3475
|
+
path: xi,
|
|
3403
3476
|
viewBox: "0 0 48 48",
|
|
3404
3477
|
class: "w-full h-full"
|
|
3405
|
-
})], 10,
|
|
3478
|
+
})], 10, yi)])], 16)]);
|
|
3406
3479
|
}
|
|
3407
|
-
}),
|
|
3480
|
+
}), Ci = (e = 1) => e <= 1 ? new Promise((e) => requestAnimationFrame(e)) : new Promise((t) => requestAnimationFrame(() => Ci(e - 1).then(t))), wi = (e) => Ei(e) === "fragment", Ti = (e) => {
|
|
3408
3481
|
if (typeof e == "string") return e;
|
|
3409
3482
|
if (typeof e == "number") return String(e);
|
|
3410
3483
|
if (x(e) && e.type === i) return String(e.children);
|
|
3411
|
-
},
|
|
3484
|
+
}, Ei = (r) => {
|
|
3412
3485
|
let a = typeof r;
|
|
3413
3486
|
if (r == null || a === "boolean") return "comment";
|
|
3414
3487
|
if (a === "string" || a === "number") return "text";
|
|
@@ -3423,36 +3496,36 @@ var gi = ["disabled", "aria-disabled"], _i = ["disabled", "aria-disabled"], vi =
|
|
|
3423
3496
|
} else if (o === "string") return "element";
|
|
3424
3497
|
else if (o === "object" || o === "function") return "component";
|
|
3425
3498
|
}
|
|
3426
|
-
},
|
|
3499
|
+
}, Di = (e, t) => {
|
|
3427
3500
|
console.warn(`[${e}] ${t}`);
|
|
3428
|
-
},
|
|
3501
|
+
}, Oi = (e, t, n) => {
|
|
3429
3502
|
for (let r = 0; r < t.length; ++r) {
|
|
3430
|
-
let i =
|
|
3431
|
-
a !== i &&
|
|
3503
|
+
let i = ki(t[r]), a = n[r];
|
|
3504
|
+
a !== i && Di(e, `Argument ${r + 1} was ${i}, should be ${a}`);
|
|
3432
3505
|
}
|
|
3433
|
-
},
|
|
3506
|
+
}, ki = (e) => {
|
|
3434
3507
|
let t = typeof e;
|
|
3435
3508
|
return t === "object" && (e === null ? t = "null" : Array.isArray(e) ? t = "array" : x(e) ? t = "vnode" : e instanceof Date ? t = "date" : e instanceof RegExp && (t = "regexp")), t;
|
|
3436
|
-
},
|
|
3509
|
+
}, Ai = (e) => {
|
|
3437
3510
|
if (Array.isArray(e)) return e;
|
|
3438
3511
|
let { children: t } = e;
|
|
3439
|
-
return Array.isArray(t) ? t : (process.env.NODE_ENV !== "production" &&
|
|
3512
|
+
return Array.isArray(t) ? t : (process.env.NODE_ENV !== "production" && Di("getFragmentChildren", `Unknown children for fragment: ${ki(t)}`), []);
|
|
3440
3513
|
};
|
|
3441
|
-
function
|
|
3514
|
+
function ji(e) {
|
|
3442
3515
|
return process.env.NODE_ENV === "production" ? e : Object.freeze(e);
|
|
3443
3516
|
}
|
|
3444
|
-
var
|
|
3517
|
+
var Mi = /* @__PURE__ */ ji({
|
|
3445
3518
|
element: !0,
|
|
3446
3519
|
component: !0
|
|
3447
|
-
}),
|
|
3520
|
+
}), Ni = /* @__PURE__ */ ji({
|
|
3448
3521
|
element: !0,
|
|
3449
3522
|
component: !0,
|
|
3450
3523
|
text: !0,
|
|
3451
3524
|
static: !0
|
|
3452
|
-
}),
|
|
3453
|
-
let n =
|
|
3454
|
-
return !n || n === "fragment" || !t[n] ? null : x(e) ? e : n === "text" ? f(
|
|
3455
|
-
},
|
|
3525
|
+
}), Pi = (e, t) => {
|
|
3526
|
+
let n = Ei(e);
|
|
3527
|
+
return !n || n === "fragment" || !t[n] ? null : x(e) ? e : n === "text" ? f(Ti(e)) : l();
|
|
3528
|
+
}, Fi = (e, t, n = Ni) => (process.env.NODE_ENV !== "production" && Oi("replaceChildren", [
|
|
3456
3529
|
e,
|
|
3457
3530
|
t,
|
|
3458
3531
|
n
|
|
@@ -3460,33 +3533,33 @@ var Ai = /* @__PURE__ */ ki({
|
|
|
3460
3533
|
"array",
|
|
3461
3534
|
"function",
|
|
3462
3535
|
"object"
|
|
3463
|
-
]),
|
|
3536
|
+
]), Ii(e, t, n)), Ii = (e, t, n) => {
|
|
3464
3537
|
let r = null;
|
|
3465
3538
|
for (let i = 0; i < e.length; ++i) {
|
|
3466
3539
|
let a = e[i];
|
|
3467
|
-
if (
|
|
3468
|
-
let s =
|
|
3540
|
+
if (wi(a)) {
|
|
3541
|
+
let s = Ai(a), c = Ii(s, t, n), l = a;
|
|
3469
3542
|
s !== c && (r ??= e.slice(0, i), Array.isArray(a) ? l = c : (l = o(a), l.children = c)), r && r.push(l);
|
|
3470
3543
|
} else {
|
|
3471
|
-
let o =
|
|
3544
|
+
let o = Pi(a, n);
|
|
3472
3545
|
if (o) {
|
|
3473
3546
|
let n = t(o) ?? o;
|
|
3474
3547
|
if (process.env.NODE_ENV !== "production") {
|
|
3475
|
-
let e =
|
|
3548
|
+
let e = ki(n);
|
|
3476
3549
|
[
|
|
3477
3550
|
"array",
|
|
3478
3551
|
"vnode",
|
|
3479
3552
|
"string",
|
|
3480
3553
|
"number",
|
|
3481
3554
|
"undefined"
|
|
3482
|
-
].includes(e) ||
|
|
3555
|
+
].includes(e) || Di("replaceChildren", `Callback returned unexpected ${e} ${String(n)}`);
|
|
3483
3556
|
}
|
|
3484
3557
|
n !== a && (r ??= e.slice(0, i)), Array.isArray(n) ? r && r.push(...n) : r && r.push(n);
|
|
3485
3558
|
} else r && r.push(a);
|
|
3486
3559
|
}
|
|
3487
3560
|
}
|
|
3488
3561
|
return r ?? e;
|
|
3489
|
-
},
|
|
3562
|
+
}, Li = {
|
|
3490
3563
|
name: "EvoVueCarouselSlide",
|
|
3491
3564
|
props: {
|
|
3492
3565
|
isClone: {
|
|
@@ -3499,10 +3572,10 @@ var Ai = /* @__PURE__ */ ki({
|
|
|
3499
3572
|
}
|
|
3500
3573
|
},
|
|
3501
3574
|
setup(e, { slots: t }) {
|
|
3502
|
-
let n =
|
|
3575
|
+
let n = A(null), r = R(), i = h(), { width: a, height: o, stop: s } = Le(n), { registerSlide: c, updateSlide: l, unregisterSlide: u } = Gt();
|
|
3503
3576
|
return e.isClone === !1 ? c(r, i) : s(), ne(() => {
|
|
3504
3577
|
e.isClone === !1 && u(r);
|
|
3505
|
-
}),
|
|
3578
|
+
}), B([a, o], ([t, n]) => {
|
|
3506
3579
|
e.isClone === !1 && l(r, {
|
|
3507
3580
|
width: t,
|
|
3508
3581
|
height: n
|
|
@@ -3515,11 +3588,11 @@ var Ai = /* @__PURE__ */ ki({
|
|
|
3515
3588
|
tabindex: e.isVisible ? void 0 : -1
|
|
3516
3589
|
}, t.default());
|
|
3517
3590
|
}
|
|
3518
|
-
},
|
|
3591
|
+
}, Ri = (e, t) => {
|
|
3519
3592
|
let n = e.__vccOpts || e;
|
|
3520
3593
|
for (let [e, r] of t) n[e] = r;
|
|
3521
3594
|
return n;
|
|
3522
|
-
},
|
|
3595
|
+
}, zi = ["data-width", "data-height"], Bi = { class: "border-b odd:bg-zinc-100 last:border-0 hover:bg-zinc-200/50" }, Vi = { class: "px-2 py-1" }, Hi = { class: "border-b odd:bg-zinc-100 last:border-0 hover:bg-zinc-200/50" }, Ui = { class: "px-2 py-1" }, Wi = { class: "border-b odd:bg-zinc-100 last:border-0 hover:bg-zinc-200/50" }, Gi = { class: "px-2 py-1" }, Ki = { class: "border-b odd:bg-zinc-100 last:border-0 hover:bg-zinc-200/50" }, qi = { class: "px-2 py-1" }, Ji = { class: "border-b odd:bg-zinc-100 last:border-0 hover:bg-zinc-200/50" }, Yi = { class: "px-2 py-1" }, Xi = /*#__PURE__*/ Ri(/* @__PURE__ */ Object.assign({ name: "EvoVueCarouselSlider" }, {
|
|
3523
3596
|
__name: "Slider",
|
|
3524
3597
|
props: {
|
|
3525
3598
|
totalSlides: {
|
|
@@ -3536,19 +3609,19 @@ var Ai = /* @__PURE__ */ ki({
|
|
|
3536
3609
|
}
|
|
3537
3610
|
},
|
|
3538
3611
|
setup(e) {
|
|
3539
|
-
|
|
3612
|
+
L((e) => ({ v494ff48e: re.value }));
|
|
3540
3613
|
let t = typeof window < "u" && window.matchMedia("(prefers-reduced-motion: reduce)").matches, n = Object.freeze({
|
|
3541
3614
|
element: !0,
|
|
3542
3615
|
component: !0,
|
|
3543
3616
|
static: !0,
|
|
3544
3617
|
comment: !1,
|
|
3545
3618
|
text: !1
|
|
3546
|
-
}), i = e, { config: a, currentIndex: o, setCurrentIndex: f, isHovered: m, isNavigating: h, setIsNavigating: g, pauseAutoplay: v, resumeAutoplay: y, autoplayIsActive: b } = Vt(), x =
|
|
3619
|
+
}), i = e, { config: a, currentIndex: o, setCurrentIndex: f, isHovered: m, isNavigating: h, setIsNavigating: g, pauseAutoplay: v, resumeAutoplay: y, autoplayIsActive: b } = Vt(), x = A(!0), ee = (e, t) => a.value.transitionDuration ? a.value.transitionDuration : e / t * 100, S = A(0), C = A(0), T = A(0), te = s(() => qe(T.value + 1, T.value + 1 + a.value.perPage)), ne = s(() => ({
|
|
3547
3620
|
transform: `translate3d(${S.value}px, 0, 0)`,
|
|
3548
|
-
transitionDuration: `${ee(
|
|
3621
|
+
transitionDuration: `${ee(j.value, a.value.transitionSpeed)}ms`
|
|
3549
3622
|
})), D = (e) => {
|
|
3550
3623
|
i.developer && console.log("[Slider.vue]: called updateOffset with " + e);
|
|
3551
|
-
let t = parseFloat(
|
|
3624
|
+
let t = parseFloat(re.value);
|
|
3552
3625
|
T.value = a.value.wrap ? i.totalSlides + e : e;
|
|
3553
3626
|
let n = (t + a.value.gap) * T.value;
|
|
3554
3627
|
return i.developer && console.table({
|
|
@@ -3561,35 +3634,35 @@ var Ai = /* @__PURE__ */ ki({
|
|
|
3561
3634
|
centre: n,
|
|
3562
3635
|
returnValue: n * -1
|
|
3563
3636
|
}), n * -1;
|
|
3564
|
-
}, { width: O, height:
|
|
3637
|
+
}, { width: O, height: k } = Le(z("viewport")), re = s(() => {
|
|
3565
3638
|
let e = a.value.gap > 0 ? a.value.gap * (a.value.perPage - 1) : 0;
|
|
3566
3639
|
return (O.value - e) / a.value.perPage + "px";
|
|
3567
3640
|
});
|
|
3568
|
-
|
|
3569
|
-
e && (i.developer && console.log("[Slider.vue]: props.isInit watcher callback called with true"), S.value = D(o.value), i.developer && console.log("[Slider.vue]: props.isInit watch callback updated offset to " + S.value), await
|
|
3641
|
+
B(() => i.isInit, async (e) => {
|
|
3642
|
+
e && (i.developer && console.log("[Slider.vue]: props.isInit watcher callback called with true"), S.value = D(o.value), i.developer && console.log("[Slider.vue]: props.isInit watch callback updated offset to " + S.value), await Ci(2), x.value = !1);
|
|
3570
3643
|
}, { immediate: !0 });
|
|
3571
|
-
let
|
|
3572
|
-
|
|
3644
|
+
let j = s(() => Math.abs(S.value - C.value));
|
|
3645
|
+
B(o, (e) => {
|
|
3573
3646
|
i.developer && (console.log("[Slider.vue]: currentIndex watch callback"), console.table({
|
|
3574
3647
|
isInit: i.isInit,
|
|
3575
3648
|
currentIndex: e,
|
|
3576
3649
|
isNavigating: h.value
|
|
3577
|
-
})), i.isInit && (h.value === !1 && (C.value = S.value, i.developer && console.log("[Slider.vue]: currentIndex watch callback updated offsetStart to " + C.value)), S.value = D(e), i.developer && console.log("[Slider.vue]: currentIndex watch callback updated offset to " + S.value), t &&
|
|
3650
|
+
})), i.isInit && (h.value === !1 && (C.value = S.value, i.developer && console.log("[Slider.vue]: currentIndex watch callback updated offsetStart to " + C.value)), S.value = D(e), i.developer && console.log("[Slider.vue]: currentIndex watch callback updated offset to " + S.value), t && N());
|
|
3578
3651
|
}, { immediate: !0 });
|
|
3579
3652
|
let M = (e) => {
|
|
3580
3653
|
e.target.classList.contains("evo-vue-carousel__viewport-track") !== !1 && (i.developer && console.log("[Slider.vue]: onSlideTransitionStart called"), g(!0));
|
|
3581
|
-
},
|
|
3654
|
+
}, N = async (e) => {
|
|
3582
3655
|
if (e.target.classList.contains("evo-vue-carousel__viewport-track") === !1) return;
|
|
3583
|
-
i.developer && console.log("[Slider.vue]: onSlideTransitionEnd called"), x.value = !0, await
|
|
3656
|
+
i.developer && console.log("[Slider.vue]: onSlideTransitionEnd called"), x.value = !0, await Ci();
|
|
3584
3657
|
let t = i.totalSlides;
|
|
3585
|
-
f(
|
|
3658
|
+
f(_i(o.value, 0, t)), await Ci(), x.value = !1, g(!1);
|
|
3586
3659
|
};
|
|
3587
|
-
|
|
3660
|
+
B(m, (e) => {
|
|
3588
3661
|
a.value.pauseOnHover === !0 && (e ? v() : y());
|
|
3589
|
-
}),
|
|
3590
|
-
e !== 0 && i.isInit && t === 0 && (x.value = !0, await
|
|
3662
|
+
}), B(O, async (e, t) => {
|
|
3663
|
+
e !== 0 && i.isInit && t === 0 && (x.value = !0, await Ci(), S.value = D(o.value), C.value = S.value, await Ci(), x.value = !1);
|
|
3591
3664
|
}, { immediate: !0 });
|
|
3592
|
-
let
|
|
3665
|
+
let F = (e, t) => (t === "prefix" ? 0 : t === "suffix" ? i.totalSlides * 2 : i.totalSlides) + e, R = {
|
|
3593
3666
|
props: { gap: {
|
|
3594
3667
|
type: Number,
|
|
3595
3668
|
default: 0
|
|
@@ -3597,10 +3670,10 @@ var Ai = /* @__PURE__ */ ki({
|
|
|
3597
3670
|
setup(e, { slots: t }) {
|
|
3598
3671
|
let r = () => t.default?.() || [], i = (t) => {
|
|
3599
3672
|
let i = 0, a = t ? `_${t}` : "";
|
|
3600
|
-
return
|
|
3673
|
+
return Fi(r(), (n) => {
|
|
3601
3674
|
i++;
|
|
3602
|
-
let r =
|
|
3603
|
-
return _(
|
|
3675
|
+
let r = F(i, t);
|
|
3676
|
+
return _(Li, {
|
|
3604
3677
|
class: w(["evo-vue-carousel__slide shrink-0 grow-0", {
|
|
3605
3678
|
"evo-vue-carousel__slide-clone": !!t,
|
|
3606
3679
|
"evo-vue-carousel__slide-prefix": t === "prefix",
|
|
@@ -3630,34 +3703,34 @@ var Ai = /* @__PURE__ */ ki({
|
|
|
3630
3703
|
role: "list",
|
|
3631
3704
|
style: ne.value,
|
|
3632
3705
|
onTransitionstart: M,
|
|
3633
|
-
onTransitionend:
|
|
3706
|
+
onTransitionend: N
|
|
3634
3707
|
}, a.value.wrap ? dn(i("prefix"), i(), i("suffix")) : i());
|
|
3635
3708
|
}
|
|
3636
3709
|
};
|
|
3637
3710
|
return (e, t) => (E(), u("div", {
|
|
3638
3711
|
ref: "viewport",
|
|
3639
3712
|
class: "evo-vue-carousel__viewport evo-vue-carousel__viewport--slider relative flex w-full h-full max-h-full overflow-hidden",
|
|
3640
|
-
"data-width":
|
|
3641
|
-
"data-height":
|
|
3642
|
-
}, [p(
|
|
3713
|
+
"data-width": I(O),
|
|
3714
|
+
"data-height": I(k)
|
|
3715
|
+
}, [p(I(pe), {
|
|
3643
3716
|
slots: e.$slots,
|
|
3644
3717
|
only: "default"
|
|
3645
3718
|
}, {
|
|
3646
|
-
default:
|
|
3719
|
+
default: V(() => [p(R, { gap: I(a).gap }, null, 8, ["gap"])]),
|
|
3647
3720
|
_: 1
|
|
3648
3721
|
}, 8, ["slots"]), i.developer ? (E(), c(r, {
|
|
3649
3722
|
key: 0,
|
|
3650
3723
|
to: "#dev-stats",
|
|
3651
3724
|
defer: ""
|
|
3652
3725
|
}, [
|
|
3653
|
-
d("tr",
|
|
3654
|
-
d("tr",
|
|
3655
|
-
d("tr",
|
|
3656
|
-
d("tr",
|
|
3657
|
-
d("tr",
|
|
3658
|
-
])) : l("", !0)], 8,
|
|
3659
|
-
}
|
|
3660
|
-
}), [["__scopeId", "data-v-c6f970f9"]]),
|
|
3726
|
+
d("tr", Bi, [t[0] ||= d("td", { class: "px-2 py-1" }, "Offset:", -1), d("td", Vi, P(S.value), 1)]),
|
|
3727
|
+
d("tr", Hi, [t[1] ||= d("td", { class: "px-2 py-1" }, "Offset Start:", -1), d("td", Ui, P(C.value), 1)]),
|
|
3728
|
+
d("tr", Wi, [t[2] ||= d("td", { class: "px-2 py-1" }, "Offset Slides:", -1), d("td", Gi, P(T.value), 1)]),
|
|
3729
|
+
d("tr", Ki, [t[3] ||= d("td", { class: "px-2 py-1" }, "Visible Slides:", -1), d("td", qi, P(te.value), 1)]),
|
|
3730
|
+
d("tr", Ji, [t[4] ||= d("td", { class: "px-2 py-1" }, "Is Hovered:", -1), d("td", Yi, P(I(m)), 1)])
|
|
3731
|
+
])) : l("", !0)], 8, zi));
|
|
3732
|
+
}
|
|
3733
|
+
}), [["__scopeId", "data-v-c6f970f9"]]), Zi = ["data-height"], Qi = {
|
|
3661
3734
|
__name: "Gallery",
|
|
3662
3735
|
props: {
|
|
3663
3736
|
totalSlides: {
|
|
@@ -3670,8 +3743,8 @@ var Ai = /* @__PURE__ */ ki({
|
|
|
3670
3743
|
}
|
|
3671
3744
|
},
|
|
3672
3745
|
setup(e) {
|
|
3673
|
-
let n = e, { config: r, currentIndex: i, isNavigating: o, isHovered: l, setIsNavigating: d, pauseAutoplay: f, resumeAutoplay: m } = Vt(), h =
|
|
3674
|
-
|
|
3746
|
+
let n = e, { config: r, currentIndex: i, isNavigating: o, isHovered: l, setIsNavigating: d, pauseAutoplay: f, resumeAutoplay: m } = Vt(), h = A(null), { height: g } = Le(h);
|
|
3747
|
+
B(l, (e) => {
|
|
3675
3748
|
r.value.pauseOnHover === !0 && (e ? f() : m());
|
|
3676
3749
|
});
|
|
3677
3750
|
function v(e, t, n) {
|
|
@@ -3685,15 +3758,15 @@ var Ai = /* @__PURE__ */ ki({
|
|
|
3685
3758
|
return () => {
|
|
3686
3759
|
let e = a.default?.() || [];
|
|
3687
3760
|
for (; Array.isArray(e) && e[0]?.type === t;) e = e[0].children;
|
|
3688
|
-
let n = 0, r =
|
|
3689
|
-
let t = _(
|
|
3761
|
+
let n = 0, r = Fi(e, (e) => {
|
|
3762
|
+
let t = _(Li, {
|
|
3690
3763
|
class: w(["evo-vue-carousel__slide evo-vue-carousel__slide--visible w-full h-full", { hidden: o.value.includes(n) === !1 }]),
|
|
3691
3764
|
role: "listitem",
|
|
3692
3765
|
isVisible: o.value.includes(n) === !1,
|
|
3693
3766
|
isClone: !1
|
|
3694
3767
|
}, { default: () => [e] });
|
|
3695
3768
|
return n++, t;
|
|
3696
|
-
},
|
|
3769
|
+
}, Mi), s = dn(Un(r, i.value), Un(r, 0, i.value));
|
|
3697
3770
|
return _("div", {
|
|
3698
3771
|
role: "list",
|
|
3699
3772
|
class: w(["flex h-full overflow-hidden"])
|
|
@@ -3703,23 +3776,23 @@ var Ai = /* @__PURE__ */ ki({
|
|
|
3703
3776
|
return (e, t) => (E(), u("div", {
|
|
3704
3777
|
ref_key: "galleryRef",
|
|
3705
3778
|
ref: h,
|
|
3706
|
-
class: w(["evo-vue-carousel__viewport evo-vue-carousel__viewport--gallery min-h-12 h-full relative w-full overflow-hidden", { "is-navigating":
|
|
3707
|
-
"data-height":
|
|
3779
|
+
class: w(["evo-vue-carousel__viewport evo-vue-carousel__viewport--gallery min-h-12 h-full relative w-full overflow-hidden", { "is-navigating": I(o) }]),
|
|
3780
|
+
"data-height": I(g)
|
|
3708
3781
|
}, [p(a, {
|
|
3709
3782
|
mode: "in-out",
|
|
3710
3783
|
"enter-active-class": "transition-all duration-1000 motion-reduce:transition-none motion-reduce:duration-0 absolute inset-0",
|
|
3711
3784
|
"leave-active-class": "transition-none absolute hidden",
|
|
3712
3785
|
"enter-from-class": "opacity-0",
|
|
3713
|
-
onBeforeEnter: t[0] ||= (e) =>
|
|
3714
|
-
onAfterLeave: t[1] ||= (e) =>
|
|
3786
|
+
onBeforeEnter: t[0] ||= (e) => I(d)(!0),
|
|
3787
|
+
onAfterLeave: t[1] ||= (e) => I(d)(!1)
|
|
3715
3788
|
}, {
|
|
3716
|
-
default:
|
|
3717
|
-
default:
|
|
3789
|
+
default: V(() => [(E(), c(y, { key: I(i) }, {
|
|
3790
|
+
default: V(() => [j(e.$slots, "default")]),
|
|
3718
3791
|
_: 3
|
|
3719
3792
|
}))]),
|
|
3720
3793
|
_: 3
|
|
3721
|
-
})], 10,
|
|
3794
|
+
})], 10, Zi));
|
|
3722
3795
|
}
|
|
3723
3796
|
};
|
|
3724
3797
|
//#endregion
|
|
3725
|
-
export {
|
|
3798
|
+
export { Be as EVO_VUE_CAROUSEL_MODE, cn as EvoVueCarousel, Si as EvoVueCarouselNavigation, fi as EvoVueCarouselPagination, Qi as EvoVueCarouselViewportGallery, Xi as EvoVueCarouselViewportSlider };
|