@okam/stack-ui 1.32.2 → 1.32.4
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/components/fields/TextInputField/index.d.ts +1 -1
- package/components/fields/TextInputField/interface.d.ts +1 -2
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/index.mjs +145 -144
- package/index101.js +1 -1
- package/index101.mjs +1 -1
- package/index102.js +1 -1
- package/index102.mjs +3 -3
- package/index103.js +1 -1
- package/index103.mjs +1 -1
- package/index115.js +1 -1
- package/index115.mjs +2 -2
- package/index118.js +1 -1
- package/index118.mjs +3 -3
- package/index119.js +1 -1
- package/index119.mjs +3 -3
- package/index120.js +1 -1
- package/index120.mjs +2 -2
- package/index122.js +1 -1
- package/index122.mjs +2 -2
- package/index123.js +1 -1
- package/index123.mjs +8 -8
- package/index124.js +1 -1
- package/index124.mjs +1 -1
- package/index125.js +1 -1
- package/index125.mjs +1 -1
- package/index139.js +1 -1
- package/index139.mjs +52 -46
- package/index140.js +1 -1
- package/index140.mjs +46 -241
- package/index141.js +1 -2
- package/index141.mjs +241 -13
- package/index142.js +2 -1
- package/index142.mjs +12 -29
- package/index143.js +1 -1
- package/index143.mjs +30 -52
- package/index144.js +1 -1
- package/index144.mjs +23 -21
- package/index145.js +1 -1
- package/index145.mjs +113 -38
- package/index146.js +1 -1
- package/index146.mjs +22 -25
- package/index147.js +1 -1
- package/index147.mjs +35 -251
- package/index148.js +1 -1
- package/index148.mjs +25 -106
- package/index149.js +1 -1
- package/index149.mjs +242 -320
- package/index150.js +1 -1
- package/index150.mjs +105 -23
- package/index151.js +1 -1
- package/index151.mjs +323 -104
- package/index153.js +1 -1
- package/index153.mjs +1 -1
- package/index154.js +1 -1
- package/index154.mjs +1 -1
- package/index155.js +1 -1
- package/index155.mjs +1 -1
- package/index158.js +1 -1
- package/index158.mjs +3 -3
- package/index159.js +1 -1
- package/index159.mjs +2 -2
- package/index160.js +1 -1
- package/index160.mjs +9 -9
- package/index167.js +1 -1
- package/index167.mjs +1 -1
- package/index169.js +1 -1
- package/index169.mjs +3 -3
- package/index170.js +1 -1
- package/index170.mjs +1 -1
- package/index171.js +1 -1
- package/index171.mjs +1 -1
- package/index173.js +1 -1
- package/index173.mjs +1 -1
- package/index175.js +1 -1
- package/index175.mjs +1 -1
- package/index176.js +1 -1
- package/index176.mjs +1 -1
- package/index177.js +1 -1
- package/index177.mjs +1 -1
- package/index178.js +1 -1
- package/index178.mjs +4 -4
- package/index179.js +1 -1
- package/index179.mjs +1 -1
- package/index184.js +1 -1
- package/index184.mjs +1 -1
- package/index185.js +1 -1
- package/index185.mjs +197 -205
- package/index186.js +1 -1
- package/index186.mjs +64 -24
- package/index187.js +1 -1
- package/index187.mjs +143 -4
- package/index188.js +1 -1
- package/index188.mjs +124 -3
- package/index189.js +1 -1
- package/index189.mjs +215 -116
- package/index190.js +1 -1
- package/index190.mjs +184 -23
- package/index191.js +1 -1
- package/index191.mjs +69 -51
- package/index192.js +1 -1
- package/index192.mjs +278 -43
- package/index193.js +1 -1
- package/index193.mjs +92 -31
- package/index194.js +1 -1
- package/index194.mjs +184 -109
- package/index195.js +1 -1
- package/index195.mjs +84 -77
- package/index196.js +1 -1
- package/index196.mjs +58 -101
- package/index197.js +1 -1
- package/index197.mjs +127 -98
- package/index198.js +1 -1
- package/index198.mjs +114 -70
- package/index199.js +1 -1
- package/index199.mjs +118 -91
- package/index200.js +1 -1
- package/index200.mjs +69 -152
- package/index201.js +1 -1
- package/index201.mjs +111 -72
- package/index202.js +1 -1
- package/index202.mjs +51 -41
- package/index203.js +1 -1
- package/index203.mjs +93 -5
- package/index204.js +1 -1
- package/index204.mjs +69 -60
- package/index205.js +1 -1
- package/index205.mjs +55 -58
- package/index206.js +1 -1
- package/index206.mjs +92 -196
- package/index207.js +5 -1
- package/index207.mjs +75 -59
- package/index208.js +1 -1
- package/index208.mjs +2008 -126
- package/index209.js +1 -1
- package/index209.mjs +56 -121
- package/index210.js +1 -1
- package/index210.mjs +185 -221
- package/index211.js +1 -1
- package/index211.mjs +206 -185
- package/index212.js +1 -1
- package/index212.mjs +24 -69
- package/index213.js +1 -1
- package/index213.mjs +4 -279
- package/index214.js +1 -1
- package/index214.mjs +3 -98
- package/index215.js +1 -1
- package/index215.mjs +116 -179
- package/index216.js +1 -1
- package/index216.mjs +29 -84
- package/index217.js +1 -1
- package/index217.mjs +51 -58
- package/index218.js +1 -1
- package/index218.mjs +43 -125
- package/index219.js +1 -1
- package/index219.mjs +33 -112
- package/index22.js +1 -1
- package/index22.mjs +109 -102
- package/index220.js +1 -1
- package/index220.mjs +110 -119
- package/index221.js +1 -1
- package/index221.mjs +77 -72
- package/index222.js +1 -1
- package/index222.mjs +96 -105
- package/index223.js +1 -1
- package/index223.mjs +98 -53
- package/index224.js +1 -1
- package/index224.mjs +68 -89
- package/index225.js +1 -1
- package/index225.mjs +93 -68
- package/index226.js +1 -1
- package/index226.mjs +151 -52
- package/index227.js +1 -1
- package/index227.mjs +72 -100
- package/index228.js +1 -5
- package/index228.mjs +40 -78
- package/index229.js +1 -1
- package/index229.mjs +5 -2025
- package/index230.js +1 -1
- package/index230.mjs +61 -59
- package/index231.js +1 -1
- package/index231.mjs +58 -187
- package/index269.js +1 -1
- package/index269.mjs +130 -4
- package/index270.js +1 -1
- package/index270.mjs +184 -42
- package/index271.js +1 -1
- package/index271.mjs +9 -9
- package/index272.js +1 -1
- package/index272.mjs +4 -16
- package/index273.js +1 -1
- package/index273.mjs +37 -16
- package/index274.js +1 -1
- package/index274.mjs +6 -16
- package/index275.js +1 -1
- package/index275.mjs +30 -16
- package/index276.js +1 -1
- package/index276.mjs +7 -16
- package/index277.js +1 -1
- package/index277.mjs +141 -16
- package/index278.js +1 -1
- package/index278.mjs +198 -16
- package/index279.js +1 -1
- package/index279.mjs +23 -16
- package/index280.js +1 -1
- package/index280.mjs +29 -16
- package/index281.js +1 -1
- package/index281.mjs +47 -16
- package/index282.js +1 -1
- package/index282.mjs +49 -16
- package/index283.js +1 -1
- package/index283.mjs +101 -16
- package/index284.js +1 -1
- package/index284.mjs +6 -16
- package/index285.js +1 -1
- package/index285.mjs +71 -15
- package/index286.js +1 -1
- package/index286.mjs +59 -16
- package/index287.js +1 -1
- package/index287.mjs +8 -16
- package/index288.js +1 -1
- package/index288.mjs +12 -16
- package/index289.js +1 -1
- package/index289.mjs +48 -16
- package/index290.js +1 -1
- package/index290.mjs +25 -16
- package/index291.js +1 -1
- package/index291.mjs +6 -16
- package/index292.js +1 -1
- package/index292.mjs +15 -16
- package/index293.js +1 -1
- package/index293.mjs +25 -16
- package/index294.js +1 -1
- package/index294.mjs +29 -16
- package/index295.js +1 -1
- package/index295.mjs +32 -16
- package/index296.js +1 -1
- package/index296.mjs +10 -16
- package/index297.js +1 -1
- package/index297.mjs +10 -16
- package/index298.js +1 -1
- package/index298.mjs +6 -16
- package/index299.js +1 -1
- package/index299.mjs +8 -16
- package/index300.js +1 -1
- package/index300.mjs +14 -16
- package/index301.js +1 -1
- package/index301.mjs +9 -16
- package/index302.js +1 -1
- package/index302.mjs +5 -16
- package/index303.js +1 -1
- package/index303.mjs +49 -16
- package/index304.js +1 -1
- package/index304.mjs +12 -12
- package/index305.js +1 -1
- package/index305.mjs +12 -12
- package/index306.js +1 -1
- package/index306.mjs +15 -130
- package/index307.js +1 -1
- package/index307.mjs +16 -191
- package/index308.js +1 -1
- package/index308.mjs +16 -10
- package/index309.js +1 -1
- package/index309.mjs +16 -4
- package/index310.js +1 -1
- package/index310.mjs +16 -37
- package/index311.js +1 -1
- package/index311.mjs +16 -6
- package/index312.js +1 -1
- package/index312.mjs +16 -30
- package/index313.js +1 -1
- package/index313.mjs +16 -7
- package/index314.js +1 -1
- package/index314.mjs +16 -141
- package/index315.js +1 -1
- package/index315.mjs +16 -198
- package/index316.js +1 -1
- package/index316.mjs +16 -23
- package/index317.js +1 -1
- package/index317.mjs +16 -29
- package/index318.js +1 -1
- package/index318.mjs +16 -47
- package/index319.js +1 -1
- package/index319.mjs +16 -49
- package/index320.js +1 -1
- package/index320.mjs +16 -101
- package/index321.js +1 -1
- package/index321.mjs +16 -6
- package/index322.js +1 -1
- package/index322.mjs +15 -71
- package/index323.js +1 -1
- package/index323.mjs +16 -59
- package/index324.js +1 -1
- package/index324.mjs +16 -8
- package/index325.js +1 -1
- package/index325.mjs +16 -12
- package/index326.js +1 -1
- package/index326.mjs +16 -48
- package/index327.js +1 -1
- package/index327.mjs +16 -25
- package/index328.js +1 -1
- package/index328.mjs +16 -6
- package/index329.js +1 -1
- package/index329.mjs +16 -15
- package/index330.js +1 -1
- package/index330.mjs +16 -25
- package/index331.js +1 -1
- package/index331.mjs +16 -29
- package/index332.js +1 -1
- package/index332.mjs +16 -32
- package/index333.js +1 -1
- package/index333.mjs +16 -10
- package/index334.js +1 -1
- package/index334.mjs +16 -6
- package/index335.js +1 -1
- package/index335.mjs +16 -8
- package/index336.js +1 -1
- package/index336.mjs +16 -14
- package/index337.js +1 -1
- package/index337.mjs +16 -9
- package/index340.js +1 -1
- package/index340.mjs +1 -1
- package/index341.js +1 -1
- package/index341.mjs +2 -2
- package/index344.js +1 -1
- package/index344.mjs +1 -1
- package/index345.js +1 -1
- package/index345.mjs +71 -117
- package/index346.js +1 -1
- package/index346.mjs +117 -71
- package/package.json +1 -1
package/index209.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index210.js"),p=require("./index208.js");function d(n,i){n===void 0&&(n={}),i===void 0&&(i=!0);const t={on:{}},f={},s={};o.e(t,p.d),t._emitClasses=!0,t.init=!1;const e={},l=o.p.map(a=>a.replace(/_/,"")),r=Object.assign({},n);return Object.keys(r).forEach(a=>{typeof n[a]>"u"||(l.indexOf(a)>=0?o.i(n[a])?(t[a]={},s[a]={},o.e(t[a],n[a]),o.e(s[a],n[a])):(t[a]=n[a],s[a]=n[a]):a.search(/on[A-Z]/)===0&&typeof n[a]=="function"?i?f[`${a[2].toLowerCase()}${a.substr(3)}`]=n[a]:t.on[`${a[2].toLowerCase()}${a.substr(3)}`]=n[a]:e[a]=n[a])}),["navigation","pagination","scrollbar"].forEach(a=>{t[a]===!0&&(t[a]={}),t[a]===!1&&delete t[a]}),{params:t,passedParams:s,rest:e,events:f}}function m(n,i){let{el:t,nextEl:f,prevEl:s,paginationEl:e,scrollbarEl:l,swiper:r}=n;o.n(i)&&f&&s&&(r.params.navigation.nextEl=f,r.originalParams.navigation.nextEl=f,r.params.navigation.prevEl=s,r.originalParams.navigation.prevEl=s),o.a(i)&&e&&(r.params.pagination.el=e,r.originalParams.pagination.el=e),o.b(i)&&l&&(r.params.scrollbar.el=l,r.originalParams.scrollbar.el=l),r.init(t)}function h(n,i,t,f,s){const e=[];if(!i)return e;const l=a=>{e.indexOf(a)<0&&e.push(a)};if(t&&f){const a=f.map(s),u=t.map(s);a.join("")!==u.join("")&&l("children"),f.length!==t.length&&l("children")}return o.p.filter(a=>a[0]==="_").map(a=>a.replace(/_/,"")).forEach(a=>{if(a in n&&a in i)if(o.i(n[a])&&o.i(i[a])){const u=Object.keys(n[a]),g=Object.keys(i[a]);u.length!==g.length?l(a):(u.forEach(c=>{n[a][c]!==i[a][c]&&l(a)}),g.forEach(c=>{n[a][c]!==i[a][c]&&l(a)}))}else n[a]!==i[a]&&l(a)}),e}const v=n=>{!n||n.destroyed||!n.params.virtual||n.params.virtual&&!n.params.virtual.enabled||(n.updateSlides(),n.updateProgress(),n.updateSlidesClasses(),n.parallax&&n.params.parallax&&n.params.parallax.enabled&&n.parallax.setTranslate())};exports.a=h;exports.g=d;exports.m=m;exports.u=v;
|
package/index209.mjs
CHANGED
|
@@ -1,127 +1,62 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
function
|
|
1
|
+
import { e as u, p as d, i as g, n as m, a as h, b as v } from "./index210.mjs";
|
|
2
|
+
import { d as x } from "./index208.mjs";
|
|
3
|
+
function b(n, i) {
|
|
4
|
+
n === void 0 && (n = {}), i === void 0 && (i = !0);
|
|
5
|
+
const t = {
|
|
6
|
+
on: {}
|
|
7
|
+
}, e = {}, r = {};
|
|
8
|
+
u(t, x), t._emitClasses = !0, t.init = !1;
|
|
9
|
+
const o = {}, s = d.map((a) => a.replace(/_/, "")), l = Object.assign({}, n);
|
|
10
|
+
return Object.keys(l).forEach((a) => {
|
|
11
|
+
typeof n[a] > "u" || (s.indexOf(a) >= 0 ? g(n[a]) ? (t[a] = {}, r[a] = {}, u(t[a], n[a]), u(r[a], n[a])) : (t[a] = n[a], r[a] = n[a]) : a.search(/on[A-Z]/) === 0 && typeof n[a] == "function" ? i ? e[`${a[2].toLowerCase()}${a.substr(3)}`] = n[a] : t.on[`${a[2].toLowerCase()}${a.substr(3)}`] = n[a] : o[a] = n[a]);
|
|
12
|
+
}), ["navigation", "pagination", "scrollbar"].forEach((a) => {
|
|
13
|
+
t[a] === !0 && (t[a] = {}), t[a] === !1 && delete t[a];
|
|
14
|
+
}), {
|
|
15
|
+
params: t,
|
|
16
|
+
passedParams: r,
|
|
17
|
+
rest: o,
|
|
18
|
+
events: e
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function C(n, i) {
|
|
4
22
|
let {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
}), a.navigation = {
|
|
21
|
-
nextEl: null,
|
|
22
|
-
prevEl: null
|
|
23
|
+
el: t,
|
|
24
|
+
nextEl: e,
|
|
25
|
+
prevEl: r,
|
|
26
|
+
paginationEl: o,
|
|
27
|
+
scrollbarEl: s,
|
|
28
|
+
swiper: l
|
|
29
|
+
} = n;
|
|
30
|
+
m(i) && e && r && (l.params.navigation.nextEl = e, l.originalParams.navigation.nextEl = e, l.params.navigation.prevEl = r, l.originalParams.navigation.prevEl = r), h(i) && o && (l.params.pagination.el = o, l.originalParams.pagination.el = o), v(i) && s && (l.params.scrollbar.el = s, l.originalParams.scrollbar.el = s), l.init(t);
|
|
31
|
+
}
|
|
32
|
+
function S(n, i, t, e, r) {
|
|
33
|
+
const o = [];
|
|
34
|
+
if (!i) return o;
|
|
35
|
+
const s = (a) => {
|
|
36
|
+
o.indexOf(a) < 0 && o.push(a);
|
|
23
37
|
};
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
function f(i, n) {
|
|
29
|
-
const t = a.params.navigation;
|
|
30
|
-
i = l(i), i.forEach((e) => {
|
|
31
|
-
e && (e.classList[n ? "add" : "remove"](...t.disabledClass.split(" ")), e.tagName === "BUTTON" && (e.disabled = n), a.params.watchOverflow && a.enabled && e.classList[a.isLocked ? "add" : "remove"](t.lockClass));
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
function d() {
|
|
35
|
-
const {
|
|
36
|
-
nextEl: i,
|
|
37
|
-
prevEl: n
|
|
38
|
-
} = a.navigation;
|
|
39
|
-
if (a.params.loop) {
|
|
40
|
-
f(n, !1), f(i, !1);
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
f(n, a.isBeginning && !a.params.rewind), f(i, a.isEnd && !a.params.rewind);
|
|
44
|
-
}
|
|
45
|
-
function E(i) {
|
|
46
|
-
i.preventDefault(), !(a.isBeginning && !a.params.loop && !a.params.rewind) && (a.slidePrev(), g("navigationPrev"));
|
|
38
|
+
if (t && e) {
|
|
39
|
+
const a = e.map(r), c = t.map(r);
|
|
40
|
+
a.join("") !== c.join("") && s("children"), e.length !== t.length && s("children");
|
|
47
41
|
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
nextEl: n,
|
|
60
|
-
prevEl: t
|
|
61
|
-
}), n = l(n), t = l(t);
|
|
62
|
-
const e = (s, p) => {
|
|
63
|
-
s && s.addEventListener("click", p === "next" ? h : E), !a.enabled && s && s.classList.add(...i.lockClass.split(" "));
|
|
64
|
-
};
|
|
65
|
-
n.forEach((s) => e(s, "next")), t.forEach((s) => e(s, "prev"));
|
|
66
|
-
}
|
|
67
|
-
function m() {
|
|
68
|
-
let {
|
|
69
|
-
nextEl: i,
|
|
70
|
-
prevEl: n
|
|
71
|
-
} = a.navigation;
|
|
72
|
-
i = l(i), n = l(n);
|
|
73
|
-
const t = (e, s) => {
|
|
74
|
-
e.removeEventListener("click", s === "next" ? h : E), e.classList.remove(...a.params.navigation.disabledClass.split(" "));
|
|
75
|
-
};
|
|
76
|
-
i.forEach((e) => t(e, "next")), n.forEach((e) => t(e, "prev"));
|
|
77
|
-
}
|
|
78
|
-
c("init", () => {
|
|
79
|
-
a.params.navigation.enabled === !1 ? b() : (v(), d());
|
|
80
|
-
}), c("toEdge fromEdge lock unlock", () => {
|
|
81
|
-
d();
|
|
82
|
-
}), c("destroy", () => {
|
|
83
|
-
m();
|
|
84
|
-
}), c("enable disable", () => {
|
|
85
|
-
let {
|
|
86
|
-
nextEl: i,
|
|
87
|
-
prevEl: n
|
|
88
|
-
} = a.navigation;
|
|
89
|
-
if (i = l(i), n = l(n), a.enabled) {
|
|
90
|
-
d();
|
|
91
|
-
return;
|
|
92
|
-
}
|
|
93
|
-
[...i, ...n].filter((t) => !!t).forEach((t) => t.classList.add(a.params.navigation.lockClass));
|
|
94
|
-
}), c("click", (i, n) => {
|
|
95
|
-
let {
|
|
96
|
-
nextEl: t,
|
|
97
|
-
prevEl: e
|
|
98
|
-
} = a.navigation;
|
|
99
|
-
t = l(t), e = l(e);
|
|
100
|
-
const s = n.target;
|
|
101
|
-
let p = e.includes(s) || t.includes(s);
|
|
102
|
-
if (a.isElement && !p) {
|
|
103
|
-
const o = n.path || n.composedPath && n.composedPath();
|
|
104
|
-
o && (p = o.find((r) => t.includes(r) || e.includes(r)));
|
|
105
|
-
}
|
|
106
|
-
if (a.params.navigation.hideOnClick && !p) {
|
|
107
|
-
if (a.pagination && a.params.pagination && a.params.pagination.clickable && (a.pagination.el === s || a.pagination.el.contains(s))) return;
|
|
108
|
-
let o;
|
|
109
|
-
t.length ? o = t[0].classList.contains(a.params.navigation.hiddenClass) : e.length && (o = e[0].classList.contains(a.params.navigation.hiddenClass)), g(o === !0 ? "navigationShow" : "navigationHide"), [...t, ...e].filter((r) => !!r).forEach((r) => r.classList.toggle(a.params.navigation.hiddenClass));
|
|
110
|
-
}
|
|
111
|
-
});
|
|
112
|
-
const k = () => {
|
|
113
|
-
a.el.classList.remove(...a.params.navigation.navigationDisabledClass.split(" ")), v(), d();
|
|
114
|
-
}, b = () => {
|
|
115
|
-
a.el.classList.add(...a.params.navigation.navigationDisabledClass.split(" ")), m();
|
|
116
|
-
};
|
|
117
|
-
Object.assign(a.navigation, {
|
|
118
|
-
enable: k,
|
|
119
|
-
disable: b,
|
|
120
|
-
update: d,
|
|
121
|
-
init: v,
|
|
122
|
-
destroy: m
|
|
123
|
-
});
|
|
42
|
+
return d.filter((a) => a[0] === "_").map((a) => a.replace(/_/, "")).forEach((a) => {
|
|
43
|
+
if (a in n && a in i)
|
|
44
|
+
if (g(n[a]) && g(i[a])) {
|
|
45
|
+
const c = Object.keys(n[a]), p = Object.keys(i[a]);
|
|
46
|
+
c.length !== p.length ? s(a) : (c.forEach((f) => {
|
|
47
|
+
n[a][f] !== i[a][f] && s(a);
|
|
48
|
+
}), p.forEach((f) => {
|
|
49
|
+
n[a][f] !== i[a][f] && s(a);
|
|
50
|
+
}));
|
|
51
|
+
} else n[a] !== i[a] && s(a);
|
|
52
|
+
}), o;
|
|
124
53
|
}
|
|
54
|
+
const _ = (n) => {
|
|
55
|
+
!n || n.destroyed || !n.params.virtual || n.params.virtual && !n.params.virtual.enabled || (n.updateSlides(), n.updateProgress(), n.updateSlidesClasses(), n.parallax && n.params.parallax && n.params.parallax.enabled && n.parallax.setTranslate());
|
|
56
|
+
};
|
|
125
57
|
export {
|
|
126
|
-
|
|
58
|
+
S as a,
|
|
59
|
+
b as g,
|
|
60
|
+
C as m,
|
|
61
|
+
_ as u
|
|
127
62
|
};
|
package/index210.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function g(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function j(t,i){const r=["__proto__","constructor","prototype"];Object.keys(i).filter(e=>r.indexOf(e)<0).forEach(e=>{typeof t[e]>"u"?t[e]=i[e]:g(i[e])&&g(t[e])&&Object.keys(i[e]).length>0?i[e].__swiper__?t[e]=i[e]:j(t[e],i[e]):t[e]=i[e]})}function z(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function B(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function I(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function L(t){t===void 0&&(t="");const i=t.split(" ").map(e=>e.trim()).filter(e=>!!e),r=[];return i.forEach(e=>{r.indexOf(e)<0&&r.push(e)}),r.join(" ")}function N(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function A(t){let{swiper:i,slides:r,passedParams:e,changedParams:o,nextEl:s,prevEl:a,scrollbarEl:d,paginationEl:c}=t;const h=o.filter(n=>n!=="children"&&n!=="direction"&&n!=="wrapperClass"),{params:l,pagination:p,navigation:f,scrollbar:v,virtual:u,thumbs:E}=i;let S,_,P,C,x,m,O,b;o.includes("thumbs")&&e.thumbs&&e.thumbs.swiper&&!e.thumbs.swiper.destroyed&&l.thumbs&&(!l.thumbs.swiper||l.thumbs.swiper.destroyed)&&(S=!0),o.includes("controller")&&e.controller&&e.controller.control&&l.controller&&!l.controller.control&&(_=!0),o.includes("pagination")&&e.pagination&&(e.pagination.el||c)&&(l.pagination||l.pagination===!1)&&p&&!p.el&&(P=!0),o.includes("scrollbar")&&e.scrollbar&&(e.scrollbar.el||d)&&(l.scrollbar||l.scrollbar===!1)&&v&&!v.el&&(C=!0),o.includes("navigation")&&e.navigation&&(e.navigation.prevEl||a)&&(e.navigation.nextEl||s)&&(l.navigation||l.navigation===!1)&&f&&!f.prevEl&&!f.nextEl&&(x=!0);const T=n=>{i[n]&&(i[n].destroy(),n==="navigation"?(i.isElement&&(i[n].prevEl.remove(),i[n].nextEl.remove()),l[n].prevEl=void 0,l[n].nextEl=void 0,i[n].prevEl=void 0,i[n].nextEl=void 0):(i.isElement&&i[n].el.remove(),l[n].el=void 0,i[n].el=void 0))};o.includes("loop")&&i.isElement&&(l.loop&&!e.loop?m=!0:!l.loop&&e.loop?O=!0:b=!0),h.forEach(n=>{if(g(l[n])&&g(e[n]))Object.assign(l[n],e[n]),(n==="navigation"||n==="pagination"||n==="scrollbar")&&"enabled"in e[n]&&!e[n].enabled&&T(n);else{const w=e[n];(w===!0||w===!1)&&(n==="navigation"||n==="pagination"||n==="scrollbar")?w===!1&&T(n):l[n]=e[n]}}),h.includes("controller")&&!_&&i.controller&&i.controller.control&&l.controller&&l.controller.control&&(i.controller.control=l.controller.control),o.includes("children")&&r&&u&&l.virtual.enabled?(u.slides=r,u.update(!0)):o.includes("virtual")&&u&&l.virtual.enabled&&(r&&(u.slides=r),u.update(!0)),o.includes("children")&&r&&l.loop&&(b=!0),S&&E.init()&&E.update(!0),_&&(i.controller.control=l.controller.control),P&&(i.isElement&&(!c||typeof c=="string")&&(c=document.createElement("div"),c.classList.add("swiper-pagination"),c.part.add("pagination"),i.el.appendChild(c)),c&&(l.pagination.el=c),p.init(),p.render(),p.update()),C&&(i.isElement&&(!d||typeof d=="string")&&(d=document.createElement("div"),d.classList.add("swiper-scrollbar"),d.part.add("scrollbar"),i.el.appendChild(d)),d&&(l.scrollbar.el=d),v.init(),v.updateSize(),v.setTranslate()),x&&(i.isElement&&((!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-next"),s.innerHTML=i.hostEl.constructor.nextButtonSvg,s.part.add("button-next"),i.el.appendChild(s)),(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-button-prev"),a.innerHTML=i.hostEl.constructor.prevButtonSvg,a.part.add("button-prev"),i.el.appendChild(a))),s&&(l.navigation.nextEl=s),a&&(l.navigation.prevEl=a),f.init(),f.update()),o.includes("allowSlideNext")&&(i.allowSlideNext=e.allowSlideNext),o.includes("allowSlidePrev")&&(i.allowSlidePrev=e.allowSlidePrev),o.includes("direction")&&i.changeDirection(e.direction,!1),(m||b)&&i.loopDestroy(),(O||b)&&i.loopCreate(),i.update()}exports.a=B;exports.b=I;exports.d=L;exports.e=j;exports.i=g;exports.n=z;exports.p=M;exports.u=A;exports.w=N;
|