@okam/stack-ui 1.35.0 → 1.35.2
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/SearchField/interface.d.ts +1 -0
- package/components/fields/Select/Select.d.ts +1 -1
- package/index125.js +1 -1
- package/index125.mjs +9 -9
- package/index141.js +1 -1
- package/index141.mjs +23 -23
- package/index142.js +1 -1
- package/index142.mjs +3 -3
- package/index147.js +1 -1
- package/index147.mjs +1 -1
- package/index152.js +1 -1
- package/index152.mjs +1 -1
- package/index16.js +1 -1
- package/index16.mjs +133 -131
- package/index178.js +1 -1
- package/index178.mjs +122 -201
- package/index179.js +1 -1
- package/index179.mjs +130 -60
- package/index18.js +1 -1
- package/index18.mjs +22 -22
- package/index180.js +1 -1
- package/index180.mjs +44 -143
- package/index181.js +1 -1
- package/index181.mjs +14 -124
- package/index182.js +1 -1
- package/index182.mjs +87 -216
- package/index183.js +1 -1
- package/index183.mjs +102 -186
- package/index184.js +1 -1
- package/index184.mjs +4 -69
- package/index185.js +1 -1
- package/index185.mjs +3 -279
- package/index186.js +1 -1
- package/index186.mjs +119 -92
- package/index187.js +1 -1
- package/index187.mjs +23 -182
- package/index188.js +1 -1
- package/index188.mjs +51 -84
- package/index189.js +1 -1
- package/index189.mjs +44 -58
- package/index190.js +1 -1
- package/index190.mjs +35 -124
- package/index191.js +1 -1
- package/index191.mjs +110 -113
- package/index192.js +1 -1
- package/index192.mjs +74 -119
- package/index193.js +1 -1
- package/index193.mjs +101 -72
- package/index194.js +1 -1
- package/index194.mjs +98 -111
- package/index195.js +1 -1
- package/index195.mjs +197 -46
- package/index196.js +1 -1
- package/index196.mjs +57 -86
- package/index197.js +1 -1
- package/index197.mjs +138 -65
- package/index198.js +1 -1
- package/index198.mjs +121 -53
- package/index199.js +1 -1
- package/index199.mjs +218 -93
- package/index200.js +1 -5
- package/index200.mjs +187 -77
- package/index201.js +1 -1
- package/index201.mjs +60 -2016
- package/index202.js +1 -1
- package/index202.mjs +277 -57
- package/index203.js +1 -1
- package/index203.mjs +95 -185
- package/index204.js +1 -1
- package/index204.mjs +179 -115
- package/index205.js +1 -1
- package/index205.mjs +81 -131
- package/index206.js +1 -1
- package/index206.mjs +58 -44
- package/index207.js +1 -1
- package/index207.mjs +126 -14
- package/index208.js +1 -1
- package/index208.mjs +113 -92
- package/index209.js +1 -1
- package/index209.mjs +119 -103
- package/index210.js +1 -1
- package/index210.mjs +72 -4
- package/index211.js +1 -1
- package/index211.mjs +110 -3
- package/index212.js +1 -1
- package/index212.mjs +51 -124
- package/index213.js +1 -1
- package/index213.mjs +93 -29
- package/index214.js +1 -1
- package/index214.mjs +70 -51
- package/index215.js +1 -1
- package/index215.mjs +56 -44
- package/index216.js +1 -1
- package/index216.mjs +98 -36
- package/index217.js +5 -1
- package/index217.mjs +78 -111
- package/index218.js +1 -1
- package/index218.mjs +2021 -73
- package/index219.js +1 -1
- package/index219.mjs +57 -99
- package/index220.js +1 -1
- package/index220.mjs +189 -98
- package/index232.js +1 -1
- package/index232.mjs +4 -130
- package/index233.js +1 -1
- package/index233.mjs +123 -183
- package/index234.js +1 -1
- package/index234.mjs +189 -8
- package/index235.js +1 -1
- package/index235.mjs +9 -3
- package/index236.js +1 -1
- package/index236.mjs +3 -36
- package/index237.js +1 -1
- package/index237.mjs +36 -5
- package/index238.js +1 -1
- package/index238.mjs +5 -29
- package/index239.js +1 -1
- package/index239.mjs +29 -6
- package/index240.js +1 -1
- package/index240.mjs +6 -4
- package/package.json +2 -29
package/index219.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index220.js"),p=require("./index218.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/index219.mjs
CHANGED
|
@@ -1,104 +1,62 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
function
|
|
4
|
-
|
|
1
|
+
import { e as u, p as d, i as g, n as m, a as h, b as v } from "./index220.mjs";
|
|
2
|
+
import { d as x } from "./index218.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
|
+
};
|
|
5
20
|
}
|
|
6
|
-
function
|
|
7
|
-
let
|
|
8
|
-
|
|
9
|
-
e,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
21
|
+
function C(n, i) {
|
|
22
|
+
let {
|
|
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);
|
|
13
31
|
}
|
|
14
|
-
function
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
getDaysInYear(r) {
|
|
36
|
-
return 365 + l(r.year);
|
|
37
|
-
}
|
|
38
|
-
getYearsInEra(r) {
|
|
39
|
-
return r.era === "AA" ? 9999 : 9991;
|
|
40
|
-
}
|
|
41
|
-
getEras() {
|
|
42
|
-
return [
|
|
43
|
-
"AA",
|
|
44
|
-
"AM"
|
|
45
|
-
];
|
|
46
|
-
}
|
|
47
|
-
constructor() {
|
|
48
|
-
this.identifier = "ethiopic";
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
class h extends b {
|
|
52
|
-
fromJulianDay(r) {
|
|
53
|
-
let [e, t, n] = u(i, r);
|
|
54
|
-
return e += c, new s(this, "AA", e, t, n);
|
|
55
|
-
}
|
|
56
|
-
getEras() {
|
|
57
|
-
return [
|
|
58
|
-
"AA"
|
|
59
|
-
];
|
|
60
|
-
}
|
|
61
|
-
getYearsInEra() {
|
|
62
|
-
return 9999;
|
|
63
|
-
}
|
|
64
|
-
constructor(...r) {
|
|
65
|
-
super(...r), this.identifier = "ethioaa";
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
class C extends b {
|
|
69
|
-
fromJulianDay(r) {
|
|
70
|
-
let [e, t, n] = u($, r), o = "CE";
|
|
71
|
-
return e <= 0 && (o = "BCE", e = 1 - e), new s(this, o, e, t, n);
|
|
72
|
-
}
|
|
73
|
-
toJulianDay(r) {
|
|
74
|
-
let e = r.year;
|
|
75
|
-
return r.era === "BCE" && (e = 1 - e), f($, e, r.month, r.day);
|
|
76
|
-
}
|
|
77
|
-
getDaysInMonth(r) {
|
|
78
|
-
let e = r.year;
|
|
79
|
-
return r.era === "BCE" && (e = 1 - e), y(e, r.month);
|
|
80
|
-
}
|
|
81
|
-
isInverseEra(r) {
|
|
82
|
-
return r.era === "BCE";
|
|
83
|
-
}
|
|
84
|
-
balanceDate(r) {
|
|
85
|
-
r.year <= 0 && (r.era = r.era === "BCE" ? "CE" : "BCE", r.year = 1 - r.year);
|
|
86
|
-
}
|
|
87
|
-
getEras() {
|
|
88
|
-
return [
|
|
89
|
-
"BCE",
|
|
90
|
-
"CE"
|
|
91
|
-
];
|
|
92
|
-
}
|
|
93
|
-
getYearsInEra(r) {
|
|
94
|
-
return r.era === "BCE" ? 9999 : 9715;
|
|
95
|
-
}
|
|
96
|
-
constructor(...r) {
|
|
97
|
-
super(...r), this.identifier = "coptic";
|
|
98
|
-
}
|
|
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);
|
|
37
|
+
};
|
|
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");
|
|
41
|
+
}
|
|
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;
|
|
99
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
|
+
};
|
|
100
57
|
export {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
58
|
+
S as a,
|
|
59
|
+
b as g,
|
|
60
|
+
C as m,
|
|
61
|
+
_ as u
|
|
104
62
|
};
|
package/index220.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
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;
|
package/index220.mjs
CHANGED
|
@@ -1,100 +1,191 @@
|
|
|
1
|
-
const
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
1
|
+
const z = [
|
|
2
|
+
"eventsPrefix",
|
|
3
|
+
"injectStyles",
|
|
4
|
+
"injectStylesUrls",
|
|
5
|
+
"modules",
|
|
6
|
+
"init",
|
|
7
|
+
"_direction",
|
|
8
|
+
"oneWayMovement",
|
|
9
|
+
"swiperElementNodeName",
|
|
10
|
+
"touchEventsTarget",
|
|
11
|
+
"initialSlide",
|
|
12
|
+
"_speed",
|
|
13
|
+
"cssMode",
|
|
14
|
+
"updateOnWindowResize",
|
|
15
|
+
"resizeObserver",
|
|
16
|
+
"nested",
|
|
17
|
+
"focusableElements",
|
|
18
|
+
"_enabled",
|
|
19
|
+
"_width",
|
|
20
|
+
"_height",
|
|
21
|
+
"preventInteractionOnTransition",
|
|
22
|
+
"userAgent",
|
|
23
|
+
"url",
|
|
24
|
+
"_edgeSwipeDetection",
|
|
25
|
+
"_edgeSwipeThreshold",
|
|
26
|
+
"_freeMode",
|
|
27
|
+
"_autoHeight",
|
|
28
|
+
"setWrapperSize",
|
|
29
|
+
"virtualTranslate",
|
|
30
|
+
"_effect",
|
|
31
|
+
"breakpoints",
|
|
32
|
+
"breakpointsBase",
|
|
33
|
+
"_spaceBetween",
|
|
34
|
+
"_slidesPerView",
|
|
35
|
+
"maxBackfaceHiddenSlides",
|
|
36
|
+
"_grid",
|
|
37
|
+
"_slidesPerGroup",
|
|
38
|
+
"_slidesPerGroupSkip",
|
|
39
|
+
"_slidesPerGroupAuto",
|
|
40
|
+
"_centeredSlides",
|
|
41
|
+
"_centeredSlidesBounds",
|
|
42
|
+
"_slidesOffsetBefore",
|
|
43
|
+
"_slidesOffsetAfter",
|
|
44
|
+
"normalizeSlideIndex",
|
|
45
|
+
"_centerInsufficientSlides",
|
|
46
|
+
"_watchOverflow",
|
|
47
|
+
"roundLengths",
|
|
48
|
+
"touchRatio",
|
|
49
|
+
"touchAngle",
|
|
50
|
+
"simulateTouch",
|
|
51
|
+
"_shortSwipes",
|
|
52
|
+
"_longSwipes",
|
|
53
|
+
"longSwipesRatio",
|
|
54
|
+
"longSwipesMs",
|
|
55
|
+
"_followFinger",
|
|
56
|
+
"allowTouchMove",
|
|
57
|
+
"_threshold",
|
|
58
|
+
"touchMoveStopPropagation",
|
|
59
|
+
"touchStartPreventDefault",
|
|
60
|
+
"touchStartForcePreventDefault",
|
|
61
|
+
"touchReleaseOnEdges",
|
|
62
|
+
"uniqueNavElements",
|
|
63
|
+
"_resistance",
|
|
64
|
+
"_resistanceRatio",
|
|
65
|
+
"_watchSlidesProgress",
|
|
66
|
+
"_grabCursor",
|
|
67
|
+
"preventClicks",
|
|
68
|
+
"preventClicksPropagation",
|
|
69
|
+
"_slideToClickedSlide",
|
|
70
|
+
"_loop",
|
|
71
|
+
"loopAdditionalSlides",
|
|
72
|
+
"loopAddBlankSlides",
|
|
73
|
+
"loopPreventsSliding",
|
|
74
|
+
"_rewind",
|
|
75
|
+
"_allowSlidePrev",
|
|
76
|
+
"_allowSlideNext",
|
|
77
|
+
"_swipeHandler",
|
|
78
|
+
"_noSwiping",
|
|
79
|
+
"noSwipingClass",
|
|
80
|
+
"noSwipingSelector",
|
|
81
|
+
"passiveListeners",
|
|
82
|
+
"containerModifierClass",
|
|
83
|
+
"slideClass",
|
|
84
|
+
"slideActiveClass",
|
|
85
|
+
"slideVisibleClass",
|
|
86
|
+
"slideFullyVisibleClass",
|
|
87
|
+
"slideNextClass",
|
|
88
|
+
"slidePrevClass",
|
|
89
|
+
"slideBlankClass",
|
|
90
|
+
"wrapperClass",
|
|
91
|
+
"lazyPreloaderClass",
|
|
92
|
+
"lazyPreloadPrevNext",
|
|
93
|
+
"runCallbacksOnInit",
|
|
94
|
+
"observer",
|
|
95
|
+
"observeParents",
|
|
96
|
+
"observeSlideChildren",
|
|
97
|
+
// modules
|
|
98
|
+
"a11y",
|
|
99
|
+
"_autoplay",
|
|
100
|
+
"_controller",
|
|
101
|
+
"coverflowEffect",
|
|
102
|
+
"cubeEffect",
|
|
103
|
+
"fadeEffect",
|
|
104
|
+
"flipEffect",
|
|
105
|
+
"creativeEffect",
|
|
106
|
+
"cardsEffect",
|
|
107
|
+
"hashNavigation",
|
|
108
|
+
"history",
|
|
109
|
+
"keyboard",
|
|
110
|
+
"mousewheel",
|
|
111
|
+
"_navigation",
|
|
112
|
+
"_pagination",
|
|
113
|
+
"parallax",
|
|
114
|
+
"_scrollbar",
|
|
115
|
+
"_thumbs",
|
|
116
|
+
"virtual",
|
|
117
|
+
"zoom",
|
|
118
|
+
"control"
|
|
119
|
+
];
|
|
120
|
+
function b(t) {
|
|
121
|
+
return typeof t == "object" && t !== null && t.constructor && Object.prototype.toString.call(t).slice(8, -1) === "Object" && !t.__swiper__;
|
|
122
|
+
}
|
|
123
|
+
function j(t, i) {
|
|
124
|
+
const r = ["__proto__", "constructor", "prototype"];
|
|
125
|
+
Object.keys(i).filter((e) => r.indexOf(e) < 0).forEach((e) => {
|
|
126
|
+
typeof t[e] > "u" ? t[e] = i[e] : b(i[e]) && b(t[e]) && Object.keys(i[e]).length > 0 ? i[e].__swiper__ ? t[e] = i[e] : j(t[e], i[e]) : t[e] = i[e];
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
function M(t) {
|
|
130
|
+
return t === void 0 && (t = {}), t.navigation && typeof t.navigation.nextEl > "u" && typeof t.navigation.prevEl > "u";
|
|
131
|
+
}
|
|
132
|
+
function B(t) {
|
|
133
|
+
return t === void 0 && (t = {}), t.pagination && typeof t.pagination.el > "u";
|
|
134
|
+
}
|
|
135
|
+
function I(t) {
|
|
136
|
+
return t === void 0 && (t = {}), t.scrollbar && typeof t.scrollbar.el > "u";
|
|
137
|
+
}
|
|
138
|
+
function L(t) {
|
|
139
|
+
t === void 0 && (t = "");
|
|
140
|
+
const i = t.split(" ").map((e) => e.trim()).filter((e) => !!e), r = [];
|
|
141
|
+
return i.forEach((e) => {
|
|
142
|
+
r.indexOf(e) < 0 && r.push(e);
|
|
143
|
+
}), r.join(" ");
|
|
144
|
+
}
|
|
145
|
+
function N(t) {
|
|
146
|
+
return t === void 0 && (t = ""), t ? t.includes("swiper-wrapper") ? t : `swiper-wrapper ${t}` : "swiper-wrapper";
|
|
147
|
+
}
|
|
148
|
+
function A(t) {
|
|
149
|
+
let {
|
|
150
|
+
swiper: i,
|
|
151
|
+
slides: r,
|
|
152
|
+
passedParams: e,
|
|
153
|
+
changedParams: o,
|
|
154
|
+
nextEl: s,
|
|
155
|
+
prevEl: a,
|
|
156
|
+
scrollbarEl: d,
|
|
157
|
+
paginationEl: c
|
|
158
|
+
} = t;
|
|
159
|
+
const h = o.filter((n) => n !== "children" && n !== "direction" && n !== "wrapperClass"), {
|
|
160
|
+
params: l,
|
|
161
|
+
pagination: p,
|
|
162
|
+
navigation: f,
|
|
163
|
+
scrollbar: v,
|
|
164
|
+
virtual: u,
|
|
165
|
+
thumbs: E
|
|
166
|
+
} = i;
|
|
167
|
+
let S, _, x, C, P, m, O, g;
|
|
168
|
+
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 && (x = !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 && (P = !0);
|
|
169
|
+
const T = (n) => {
|
|
170
|
+
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));
|
|
171
|
+
};
|
|
172
|
+
o.includes("loop") && i.isElement && (l.loop && !e.loop ? m = !0 : !l.loop && e.loop ? O = !0 : g = !0), h.forEach((n) => {
|
|
173
|
+
if (b(l[n]) && b(e[n]))
|
|
174
|
+
Object.assign(l[n], e[n]), (n === "navigation" || n === "pagination" || n === "scrollbar") && "enabled" in e[n] && !e[n].enabled && T(n);
|
|
175
|
+
else {
|
|
176
|
+
const w = e[n];
|
|
177
|
+
(w === !0 || w === !1) && (n === "navigation" || n === "pagination" || n === "scrollbar") ? w === !1 && T(n) : l[n] = e[n];
|
|
178
|
+
}
|
|
179
|
+
}), 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 && (g = !0), S && E.init() && E.update(!0), _ && (i.controller.control = l.controller.control), x && (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()), P && (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 || g) && i.loopDestroy(), (O || g) && i.loopCreate(), i.update();
|
|
180
|
+
}
|
|
98
181
|
export {
|
|
99
|
-
|
|
182
|
+
B as a,
|
|
183
|
+
I as b,
|
|
184
|
+
L as d,
|
|
185
|
+
j as e,
|
|
186
|
+
b as i,
|
|
187
|
+
M as n,
|
|
188
|
+
z as p,
|
|
189
|
+
A as u,
|
|
190
|
+
N as w
|
|
100
191
|
};
|
package/index232.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function i(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}exports._=i;
|
package/index232.mjs
CHANGED
|
@@ -1,133 +1,7 @@
|
|
|
1
|
-
function
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
function o(e, n) {
|
|
5
|
-
e === void 0 && (e = {}), n === void 0 && (n = {}), Object.keys(n).forEach((t) => {
|
|
6
|
-
typeof e[t] > "u" ? e[t] = n[t] : r(n[t]) && r(e[t]) && Object.keys(n[t]).length > 0 && o(e[t], n[t]);
|
|
7
|
-
});
|
|
8
|
-
}
|
|
9
|
-
const u = {
|
|
10
|
-
body: {},
|
|
11
|
-
addEventListener() {
|
|
12
|
-
},
|
|
13
|
-
removeEventListener() {
|
|
14
|
-
},
|
|
15
|
-
activeElement: {
|
|
16
|
-
blur() {
|
|
17
|
-
},
|
|
18
|
-
nodeName: ""
|
|
19
|
-
},
|
|
20
|
-
querySelector() {
|
|
21
|
-
return null;
|
|
22
|
-
},
|
|
23
|
-
querySelectorAll() {
|
|
24
|
-
return [];
|
|
25
|
-
},
|
|
26
|
-
getElementById() {
|
|
27
|
-
return null;
|
|
28
|
-
},
|
|
29
|
-
createEvent() {
|
|
30
|
-
return {
|
|
31
|
-
initEvent() {
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
},
|
|
35
|
-
createElement() {
|
|
36
|
-
return {
|
|
37
|
-
children: [],
|
|
38
|
-
childNodes: [],
|
|
39
|
-
style: {},
|
|
40
|
-
setAttribute() {
|
|
41
|
-
},
|
|
42
|
-
getElementsByTagName() {
|
|
43
|
-
return [];
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
},
|
|
47
|
-
createElementNS() {
|
|
48
|
-
return {};
|
|
49
|
-
},
|
|
50
|
-
importNode() {
|
|
51
|
-
return null;
|
|
52
|
-
},
|
|
53
|
-
location: {
|
|
54
|
-
hash: "",
|
|
55
|
-
host: "",
|
|
56
|
-
hostname: "",
|
|
57
|
-
href: "",
|
|
58
|
-
origin: "",
|
|
59
|
-
pathname: "",
|
|
60
|
-
protocol: "",
|
|
61
|
-
search: ""
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
function c() {
|
|
65
|
-
const e = typeof document < "u" ? document : {};
|
|
66
|
-
return o(e, u), e;
|
|
67
|
-
}
|
|
68
|
-
const i = {
|
|
69
|
-
document: u,
|
|
70
|
-
navigator: {
|
|
71
|
-
userAgent: ""
|
|
72
|
-
},
|
|
73
|
-
location: {
|
|
74
|
-
hash: "",
|
|
75
|
-
host: "",
|
|
76
|
-
hostname: "",
|
|
77
|
-
href: "",
|
|
78
|
-
origin: "",
|
|
79
|
-
pathname: "",
|
|
80
|
-
protocol: "",
|
|
81
|
-
search: ""
|
|
82
|
-
},
|
|
83
|
-
history: {
|
|
84
|
-
replaceState() {
|
|
85
|
-
},
|
|
86
|
-
pushState() {
|
|
87
|
-
},
|
|
88
|
-
go() {
|
|
89
|
-
},
|
|
90
|
-
back() {
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
CustomEvent: function() {
|
|
94
|
-
return this;
|
|
95
|
-
},
|
|
96
|
-
addEventListener() {
|
|
97
|
-
},
|
|
98
|
-
removeEventListener() {
|
|
99
|
-
},
|
|
100
|
-
getComputedStyle() {
|
|
101
|
-
return {
|
|
102
|
-
getPropertyValue() {
|
|
103
|
-
return "";
|
|
104
|
-
}
|
|
105
|
-
};
|
|
106
|
-
},
|
|
107
|
-
Image() {
|
|
108
|
-
},
|
|
109
|
-
Date() {
|
|
110
|
-
},
|
|
111
|
-
screen: {},
|
|
112
|
-
setTimeout() {
|
|
113
|
-
},
|
|
114
|
-
clearTimeout() {
|
|
115
|
-
},
|
|
116
|
-
matchMedia() {
|
|
117
|
-
return {};
|
|
118
|
-
},
|
|
119
|
-
requestAnimationFrame(e) {
|
|
120
|
-
return typeof setTimeout > "u" ? (e(), null) : setTimeout(e, 0);
|
|
121
|
-
},
|
|
122
|
-
cancelAnimationFrame(e) {
|
|
123
|
-
typeof setTimeout > "u" || clearTimeout(e);
|
|
124
|
-
}
|
|
125
|
-
};
|
|
126
|
-
function s() {
|
|
127
|
-
const e = typeof window < "u" ? window : {};
|
|
128
|
-
return o(e, i), e;
|
|
1
|
+
function a(e, t) {
|
|
2
|
+
if (t.has(e))
|
|
3
|
+
throw new TypeError("Cannot initialize the same private elements twice on an object");
|
|
129
4
|
}
|
|
130
5
|
export {
|
|
131
|
-
|
|
132
|
-
c as g
|
|
6
|
+
a as _
|
|
133
7
|
};
|