@okam/stack-ui 1.44.0 → 1.44.3
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/CHANGELOG.md +82 -4
- package/components/Popover/interface.d.ts +3 -3
- package/components/TagGroup/interface.d.ts +2 -2
- package/index.d.ts +2 -0
- package/index149.js +1 -1
- package/index149.mjs +4 -4
- package/index155.js +1 -1
- package/index155.mjs +4 -4
- package/index157.js +1 -1
- package/index157.mjs +4 -4
- package/index158.js +1 -1
- package/index158.mjs +2 -2
- package/index159.js +1 -1
- package/index159.mjs +1 -1
- package/index160.js +1 -1
- package/index160.mjs +1 -1
- package/index161.js +1 -2
- package/index161.mjs +39 -12
- package/index162.js +1 -1
- package/index162.mjs +12 -38
- package/index163.js +2 -1
- package/index163.mjs +26 -11
- package/index164.js +2 -1
- package/index164.mjs +38 -13
- package/index165.js +1 -1
- package/index165.mjs +21 -38
- package/index166.js +1 -2
- package/index166.mjs +44 -24
- package/index167.js +1 -1
- package/index167.mjs +25 -22
- package/index168.js +1 -1
- package/index168.mjs +40 -45
- package/index169.js +2 -1
- package/index169.mjs +57 -25
- package/index170.js +1 -1
- package/index170.mjs +39 -41
- package/index171.js +1 -2
- package/index171.mjs +30 -57
- package/index172.js +2 -1
- package/index172.mjs +8 -38
- package/index173.js +2 -1
- package/index173.mjs +9 -30
- package/index174.js +1 -2
- package/index174.mjs +32 -9
- package/index175.js +1 -2
- package/index175.mjs +14 -9
- package/index176.js +1 -1
- package/index176.mjs +16 -31
- package/index177.js +1 -1
- package/index177.mjs +11 -15
- package/index178.js +2 -1
- package/index178.mjs +47 -16
- package/index179.js +1 -2
- package/index179.mjs +36 -46
- package/index180.js +1 -1
- package/index180.mjs +31 -36
- package/index181.js +1 -1
- package/index181.mjs +20 -31
- package/index182.js +1 -1
- package/index182.mjs +32 -18
- package/index183.js +1 -1
- package/index183.mjs +14 -36
- package/index185.js +1 -1
- package/index185.mjs +3 -3
- package/index186.js +1 -1
- package/index186.mjs +23 -23
- package/index188.js +1 -1
- package/index188.mjs +5 -2025
- package/index189.js +2 -1
- package/index189.mjs +48 -58
- package/index190.js +1 -1
- package/index190.mjs +2010 -174
- package/index191.js +1 -1
- package/index191.mjs +59 -5
- package/index192.js +1 -2
- package/index192.mjs +186 -47
- package/index193.js +1 -1
- package/index193.mjs +203 -11
- package/index194.js +1 -1
- package/index194.mjs +51 -190
- package/index195.js +1 -1
- package/index195.mjs +130 -51
- package/index196.js +1 -1
- package/index196.mjs +111 -130
- package/index197.js +1 -1
- package/index197.mjs +205 -105
- package/index198.js +1 -1
- package/index198.mjs +169 -203
- package/index199.js +1 -1
- package/index199.mjs +61 -182
- package/index2.mjs +35 -35
- package/index200.js +1 -1
- package/index200.mjs +270 -60
- package/index201.js +1 -1
- package/index201.mjs +89 -270
- package/index202.js +1 -1
- package/index202.mjs +182 -92
- package/index203.js +1 -1
- package/index203.mjs +78 -182
- package/index204.js +1 -1
- package/index204.mjs +49 -75
- package/index205.js +1 -1
- package/index205.mjs +117 -49
- package/index206.js +1 -1
- package/index206.mjs +108 -118
- package/index207.js +1 -1
- package/index207.mjs +112 -106
- package/index208.js +1 -1
- package/index208.mjs +63 -113
- package/index209.js +1 -1
- package/index209.mjs +108 -70
- package/index210.js +1 -1
- package/index210.mjs +50 -108
- package/index211.js +1 -1
- package/index211.mjs +75 -34
- package/index212.js +1 -1
- package/index212.mjs +48 -71
- package/index213.js +1 -1
- package/index213.mjs +43 -57
- package/index214.js +1 -1
- package/index214.mjs +86 -43
- package/index215.js +5 -1
- package/index215.mjs +62 -81
- package/index216.js +1 -5
- package/index216.mjs +11 -80
- package/index217.js +1 -1
- package/index217.mjs +119 -125
- package/index218.js +1 -1
- package/index218.mjs +129 -185
- package/index219.js +1 -1
- package/index219.mjs +72 -121
- package/index220.js +1 -1
- package/index220.mjs +12 -132
- package/index221.js +1 -1
- package/index221.mjs +89 -69
- package/index222.js +1 -1
- package/index222.mjs +104 -12
- package/index223.js +1 -1
- package/index223.mjs +4 -95
- package/index224.js +1 -1
- package/index224.mjs +3 -106
- package/index225.js +1 -1
- package/index225.mjs +125 -4
- package/index226.js +1 -1
- package/index226.mjs +29 -3
- package/index227.js +1 -1
- package/index227.mjs +39 -113
- package/index228.js +1 -1
- package/index228.mjs +34 -19
- package/index229.js +1 -1
- package/index229.mjs +26 -40
- package/index230.js +1 -1
- package/index230.mjs +98 -29
- package/index231.js +1 -1
- package/index231.mjs +68 -28
- package/index232.js +1 -1
- package/index232.mjs +78 -90
- package/index233.js +1 -1
- package/index233.mjs +98 -78
- package/index234.js +1 -1
- package/index234.mjs +125 -96
- package/index235.js +1 -1
- package/index235.mjs +191 -98
- package/index236.js +1 -1
- package/index236.mjs +4 -126
- package/index237.js +1 -1
- package/index237.mjs +20 -67
- package/index238.js +1 -7
- package/index238.mjs +39 -431
- package/index239.js +1 -1
- package/index239.mjs +4 -57
- package/index240.js +1 -1
- package/index240.mjs +24 -3
- package/index241.js +1 -1
- package/index241.mjs +12 -25
- package/index242.js +1 -1
- package/index242.mjs +4 -47
- package/index243.js +1 -1
- package/index243.mjs +14 -5
- package/index244.js +1 -1
- package/index244.mjs +40 -22
- package/index245.js +1 -1
- package/index245.mjs +57 -11
- package/index246.js +1 -1
- package/index246.mjs +43 -4
- package/index247.js +1 -1
- package/index247.mjs +31 -13
- package/index248.js +1 -1
- package/index248.mjs +31 -42
- package/index249.js +1 -1
- package/index249.mjs +13 -57
- package/index250.js +1 -1
- package/index250.mjs +10 -43
- package/index251.js +1 -1
- package/index251.mjs +28 -31
- package/index252.js +1 -1
- package/index252.mjs +14 -30
- package/index253.js +1 -1
- package/index253.mjs +9 -14
- package/index254.js +1 -1
- package/index254.mjs +6 -10
- package/index255.js +1 -1
- package/index255.mjs +5 -29
- package/index256.js +1 -1
- package/index256.mjs +7 -15
- package/index257.js +1 -1
- package/index257.mjs +29 -9
- package/index258.js +1 -1
- package/index258.mjs +17 -6
- package/index259.js +1 -1
- package/index259.mjs +44 -5
- package/index260.js +1 -1
- package/index260.mjs +8 -7
- package/index261.js +1 -1
- package/index261.mjs +13 -26
- package/index262.js +1 -1
- package/index262.mjs +3 -18
- package/index263.js +1 -1
- package/index263.mjs +18 -43
- package/index264.js +1 -1
- package/index264.mjs +33 -7
- package/index265.js +1 -1
- package/index265.mjs +22 -16
- package/index266.js +1 -1
- package/index266.mjs +10 -3
- package/index267.js +1 -1
- package/index267.mjs +2 -18
- package/index268.js +1 -1
- package/index268.mjs +36 -34
- package/index269.js +1 -1
- package/index269.mjs +5 -22
- package/index270.js +1 -1
- package/index270.mjs +28 -53
- package/index271.js +1 -1
- package/index271.mjs +6 -27
- package/index272.js +1 -1
- package/index272.mjs +9 -144
- package/index273.js +1 -1
- package/index273.mjs +127 -207
- package/index274.js +1 -1
- package/index274.mjs +43 -22
- package/index275.js +1 -1
- package/index275.mjs +226 -44
- package/index276.js +1 -1
- package/index276.mjs +121 -42
- package/index277.js +1 -6
- package/index277.mjs +64 -105
- package/index278.js +7 -1
- package/index278.mjs +440 -72
- package/index279.js +1 -1
- package/index279.mjs +56 -72
- package/index28.js +1 -1
- package/index28.mjs +38 -94
- package/index280.js +1 -1
- package/index280.mjs +54 -7
- package/index281.js +1 -1
- package/index281.mjs +27 -11
- package/index282.js +1 -1
- package/index282.mjs +31 -9
- package/index283.js +1 -1
- package/index283.mjs +136 -125
- package/index284.js +1 -1
- package/index284.mjs +209 -39
- package/index285.js +1 -1
- package/index285.mjs +19 -228
- package/index286.js +1 -1
- package/index286.mjs +46 -28
- package/index287.js +1 -1
- package/index287.mjs +45 -8
- package/index288.js +6 -1
- package/index288.mjs +113 -3
- package/index289.js +1 -1
- package/index289.mjs +72 -37
- package/index29.js +1 -1
- package/index29.mjs +2 -2
- package/index290.js +1 -1
- package/index290.mjs +74 -5
- package/index291.js +1 -1
- package/index291.mjs +7 -29
- package/index292.js +1 -1
- package/index292.mjs +11 -6
- package/index30.js +1 -1
- package/index30.mjs +1 -1
- package/index329.js +1 -1
- package/index329.mjs +17 -59
- package/index33.js +1 -1
- package/index33.mjs +2 -2
- package/index330.js +1 -1
- package/index330.mjs +30 -7
- package/index331.js +1 -1
- package/index331.mjs +63 -27
- package/index332.js +1 -1
- package/index332.mjs +15 -87
- package/index333.js +1 -1
- package/index333.mjs +48 -7
- package/index334.js +1 -1
- package/index334.mjs +7 -26
- package/index335.js +1 -1
- package/index335.mjs +26 -32
- package/index336.js +1 -1
- package/index336.mjs +87 -6
- package/index337.js +1 -1
- package/index337.mjs +9 -6
- package/index338.js +1 -1
- package/index338.mjs +23 -48
- package/index339.js +1 -1
- package/index339.mjs +32 -28
- package/index34.js +1 -1
- package/index34.mjs +3 -3
- package/index340.js +1 -1
- package/index340.mjs +6 -15
- package/index341.js +1 -1
- package/index341.mjs +6 -21
- package/index342.js +1 -1
- package/index342.mjs +28 -28
- package/index345.js +1 -1
- package/index345.mjs +1 -1
- package/index35.js +1 -1
- package/index35.mjs +1 -1
- package/index36.js +1 -1
- package/index36.mjs +2 -2
- package/index38.js +1 -1
- package/index38.mjs +3 -3
- package/index39.js +1 -1
- package/index39.mjs +3 -3
- package/index40.js +1 -1
- package/index40.mjs +3 -3
- package/index42.js +1 -1
- package/index42.mjs +1 -1
- package/index44.js +1 -1
- package/index44.mjs +2 -2
- package/index45.js +1 -1
- package/index45.mjs +1 -1
- package/index48.js +1 -1
- package/index48.mjs +2 -2
- package/index52.js +1 -1
- package/index52.mjs +1 -1
- package/index54.js +1 -1
- package/index54.mjs +3 -3
- package/index56.js +1 -1
- package/index56.mjs +2 -2
- package/index57.js +1 -1
- package/index57.mjs +1 -1
- package/index59.js +1 -1
- package/index59.mjs +2 -2
- package/logger.d.ts +2 -2
- package/package.json +2 -2
package/index264.mjs
CHANGED
|
@@ -1,11 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { isElementVisible as n } from "./index265.mjs";
|
|
2
|
+
const t = [
|
|
3
|
+
"input:not([disabled]):not([type=hidden])",
|
|
4
|
+
"select:not([disabled])",
|
|
5
|
+
"textarea:not([disabled])",
|
|
6
|
+
"button:not([disabled])",
|
|
7
|
+
"a[href]",
|
|
8
|
+
"area[href]",
|
|
9
|
+
"summary",
|
|
10
|
+
"iframe",
|
|
11
|
+
"object",
|
|
12
|
+
"embed",
|
|
13
|
+
"audio[controls]",
|
|
14
|
+
"video[controls]",
|
|
15
|
+
'[contenteditable]:not([contenteditable^="false"])',
|
|
16
|
+
"permission"
|
|
17
|
+
], o = t.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
|
|
18
|
+
t.push('[tabindex]:not([tabindex="-1"]):not([disabled])');
|
|
19
|
+
const i = t.join(':not([hidden]):not([tabindex="-1"]),');
|
|
20
|
+
function r(b) {
|
|
21
|
+
return b.matches(o) && n(b) && !a(b);
|
|
4
22
|
}
|
|
5
|
-
function
|
|
6
|
-
return
|
|
23
|
+
function s(b) {
|
|
24
|
+
return b.matches(i) && n(b) && !a(b);
|
|
25
|
+
}
|
|
26
|
+
function a(b) {
|
|
27
|
+
let e = b;
|
|
28
|
+
for (; e != null; ) {
|
|
29
|
+
if (e instanceof e.ownerDocument.defaultView.HTMLElement && e.inert) return !0;
|
|
30
|
+
e = e.parentElement;
|
|
31
|
+
}
|
|
32
|
+
return !1;
|
|
7
33
|
}
|
|
8
34
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
35
|
+
r as isFocusable,
|
|
36
|
+
s as isTabbable
|
|
11
37
|
};
|
package/index265.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 c=require("./index241.js"),u=typeof Element<"u"&&"checkVisibility"in Element.prototype;function l(i){const t=c.getOwnerWindow(i);if(!(i instanceof t.HTMLElement)&&!(i instanceof t.SVGElement))return!1;let{display:o,visibility:a}=i.style,e=o!=="none"&&a!=="hidden"&&a!=="collapse";if(e){const{getComputedStyle:n}=i.ownerDocument.defaultView;let{display:d,visibility:s}=n(i);e=d!=="none"&&s!=="hidden"&&s!=="collapse"}return e}function p(i,t){return!i.hasAttribute("hidden")&&!i.hasAttribute("data-react-aria-prevent-focus")&&(i.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?i.hasAttribute("open"):!0)}function r(i,t){return u?i.checkVisibility({visibilityProperty:!0})&&!i.closest("[data-react-aria-prevent-focus]"):i.nodeName!=="#comment"&&l(i)&&p(i,t)&&(!i.parentElement||r(i.parentElement,i))}exports.isElementVisible=r;
|
package/index265.mjs
CHANGED
|
@@ -1,19 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
function
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
let
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { getOwnerWindow as d } from "./index241.mjs";
|
|
2
|
+
const c = typeof Element < "u" && "checkVisibility" in Element.prototype;
|
|
3
|
+
function p(i) {
|
|
4
|
+
const t = d(i);
|
|
5
|
+
if (!(i instanceof t.HTMLElement) && !(i instanceof t.SVGElement)) return !1;
|
|
6
|
+
let { display: o, visibility: e } = i.style, a = o !== "none" && e !== "hidden" && e !== "collapse";
|
|
7
|
+
if (a) {
|
|
8
|
+
const { getComputedStyle: r } = i.ownerDocument.defaultView;
|
|
9
|
+
let { display: n, visibility: s } = r(i);
|
|
10
|
+
a = n !== "none" && s !== "hidden" && s !== "collapse";
|
|
11
|
+
}
|
|
12
|
+
return a;
|
|
13
|
+
}
|
|
14
|
+
function u(i, t) {
|
|
15
|
+
return !i.hasAttribute("hidden") && // Ignore HiddenSelect when tree walking.
|
|
16
|
+
!i.hasAttribute("data-react-aria-prevent-focus") && (i.nodeName === "DETAILS" && t && t.nodeName !== "SUMMARY" ? i.hasAttribute("open") : !0);
|
|
17
|
+
}
|
|
18
|
+
function f(i, t) {
|
|
19
|
+
return c ? i.checkVisibility({
|
|
20
|
+
visibilityProperty: !0
|
|
21
|
+
}) && !i.closest("[data-react-aria-prevent-focus]") : i.nodeName !== "#comment" && p(i) && u(i, t) && (!i.parentElement || f(i.parentElement, i));
|
|
16
22
|
}
|
|
17
23
|
export {
|
|
18
|
-
|
|
24
|
+
f as isElementVisible
|
|
19
25
|
};
|
package/index266.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 u=require("./index235.js");function o(i,f,l,n){return i.params.createElements&&Object.keys(n).forEach(e=>{if(!l[e]&&l.auto===!0){let t=u.e(i.el,`.${n[e]}`)[0];t||(t=u.c("div",n[e]),t.className=n[e],i.el.append(t)),l[e]=t,f[e]=t}}),l}exports.c=o;
|
package/index266.mjs
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import { e as i, c as m } from "./index235.mjs";
|
|
2
|
+
function o(f, a, n, l) {
|
|
3
|
+
return f.params.createElements && Object.keys(l).forEach((e) => {
|
|
4
|
+
if (!n[e] && n.auto === !0) {
|
|
5
|
+
let t = i(f.el, `.${l[e]}`)[0];
|
|
6
|
+
t || (t = m("div", l[e]), t.className = l[e], f.el.append(t)), n[e] = t, a[e] = t;
|
|
7
|
+
}
|
|
8
|
+
}), n;
|
|
9
|
+
}
|
|
2
10
|
export {
|
|
3
|
-
|
|
4
|
-
c as FOCUS_EVENT
|
|
11
|
+
o as c
|
|
5
12
|
};
|
package/index267.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function r(e){return e===void 0&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}exports.c=r;
|
package/index267.mjs
CHANGED
|
@@ -1,22 +1,6 @@
|
|
|
1
|
-
import { isMac as n } from "./index250.mjs";
|
|
2
|
-
function o(e) {
|
|
3
|
-
return n() ? e.metaKey : e.ctrlKey;
|
|
4
|
-
}
|
|
5
|
-
const a = /* @__PURE__ */ new Set([
|
|
6
|
-
"checkbox",
|
|
7
|
-
"radio",
|
|
8
|
-
"range",
|
|
9
|
-
"color",
|
|
10
|
-
"file",
|
|
11
|
-
"image",
|
|
12
|
-
"button",
|
|
13
|
-
"submit",
|
|
14
|
-
"reset"
|
|
15
|
-
]);
|
|
16
1
|
function r(e) {
|
|
17
|
-
return e
|
|
2
|
+
return e === void 0 && (e = ""), `.${e.trim().replace(/([\.:!+\/])/g, "\\$1").replace(/ /g, ".")}`;
|
|
18
3
|
}
|
|
19
4
|
export {
|
|
20
|
-
|
|
21
|
-
r as willOpenKeyboard
|
|
5
|
+
r as c
|
|
22
6
|
};
|
package/index268.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function m(d){const{effect:s,swiper:e,on:r,setTranslate:n,setTransition:p,overwriteParams:f,perspective:o,recreateShadows:l,getEffectParams:c}=d;r("beforeInit",()=>{if(e.params.effect!==s)return;e.classNames.push(`${e.params.containerModifierClass}${s}`),o&&o()&&e.classNames.push(`${e.params.containerModifierClass}3d`);const t=f?f():{};Object.assign(e.params,t),Object.assign(e.originalParams,t)}),r("setTranslate",()=>{e.params.effect===s&&n()}),r("setTransition",(t,i)=>{e.params.effect===s&&p(i)}),r("transitionEnd",()=>{if(e.params.effect===s&&l){if(!c||!c().slideShadows)return;e.slides.forEach(t=>{t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(i=>i.remove())}),l()}});let a;r("virtualUpdate",()=>{e.params.effect===s&&(e.slides.length||(a=!0),requestAnimationFrame(()=>{a&&e.slides&&e.slides.length&&(n(),a=!1)}))})}exports.e=m;
|
package/index268.mjs
CHANGED
|
@@ -1,37 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
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
|
-
|
|
1
|
+
function m(d) {
|
|
2
|
+
const {
|
|
3
|
+
effect: s,
|
|
4
|
+
swiper: e,
|
|
5
|
+
on: r,
|
|
6
|
+
setTranslate: f,
|
|
7
|
+
setTransition: p,
|
|
8
|
+
overwriteParams: n,
|
|
9
|
+
perspective: o,
|
|
10
|
+
recreateShadows: l,
|
|
11
|
+
getEffectParams: c
|
|
12
|
+
} = d;
|
|
13
|
+
r("beforeInit", () => {
|
|
14
|
+
if (e.params.effect !== s) return;
|
|
15
|
+
e.classNames.push(`${e.params.containerModifierClass}${s}`), o && o() && e.classNames.push(`${e.params.containerModifierClass}3d`);
|
|
16
|
+
const a = n ? n() : {};
|
|
17
|
+
Object.assign(e.params, a), Object.assign(e.originalParams, a);
|
|
18
|
+
}), r("setTranslate", () => {
|
|
19
|
+
e.params.effect === s && f();
|
|
20
|
+
}), r("setTransition", (a, i) => {
|
|
21
|
+
e.params.effect === s && p(i);
|
|
22
|
+
}), r("transitionEnd", () => {
|
|
23
|
+
if (e.params.effect === s && l) {
|
|
24
|
+
if (!c || !c().slideShadows) return;
|
|
25
|
+
e.slides.forEach((a) => {
|
|
26
|
+
a.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((i) => i.remove());
|
|
27
|
+
}), l();
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
let t;
|
|
31
|
+
r("virtualUpdate", () => {
|
|
32
|
+
e.params.effect === s && (e.slides.length || (t = !0), requestAnimationFrame(() => {
|
|
33
|
+
t && e.slides && e.slides.length && (f(), t = !1);
|
|
34
|
+
}));
|
|
35
|
+
});
|
|
33
36
|
}
|
|
34
37
|
export {
|
|
35
|
-
|
|
36
|
-
s as isTabbable
|
|
38
|
+
m as e
|
|
37
39
|
};
|
package/index269.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 i=require("./index235.js");function r(c,t){const e=i.g(t);return e!==t&&(e.style.backfaceVisibility="hidden",e.style["-webkit-backface-visibility"]="hidden"),e}exports.e=r;
|
package/index269.mjs
CHANGED
|
@@ -1,25 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
if (!(i instanceof t.HTMLElement) && !(i instanceof t.SVGElement)) return !1;
|
|
6
|
-
let { display: o, visibility: e } = i.style, a = o !== "none" && e !== "hidden" && e !== "collapse";
|
|
7
|
-
if (a) {
|
|
8
|
-
const { getComputedStyle: r } = i.ownerDocument.defaultView;
|
|
9
|
-
let { display: n, visibility: s } = r(i);
|
|
10
|
-
a = n !== "none" && s !== "hidden" && s !== "collapse";
|
|
11
|
-
}
|
|
12
|
-
return a;
|
|
13
|
-
}
|
|
14
|
-
function u(i, t) {
|
|
15
|
-
return !i.hasAttribute("hidden") && // Ignore HiddenSelect when tree walking.
|
|
16
|
-
!i.hasAttribute("data-react-aria-prevent-focus") && (i.nodeName === "DETAILS" && t && t.nodeName !== "SUMMARY" ? i.hasAttribute("open") : !0);
|
|
17
|
-
}
|
|
18
|
-
function f(i, t) {
|
|
19
|
-
return c ? i.checkVisibility({
|
|
20
|
-
visibilityProperty: !0
|
|
21
|
-
}) && !i.closest("[data-react-aria-prevent-focus]") : i.nodeName !== "#comment" && p(i) && u(i, t) && (!i.parentElement || f(i.parentElement, i));
|
|
1
|
+
import { g as i } from "./index235.mjs";
|
|
2
|
+
function r(a, t) {
|
|
3
|
+
const e = i(t);
|
|
4
|
+
return e !== t && (e.style.backfaceVisibility = "hidden", e.style["-webkit-backface-visibility"] = "hidden"), e;
|
|
22
5
|
}
|
|
23
6
|
export {
|
|
24
|
-
|
|
7
|
+
r as e
|
|
25
8
|
};
|
package/index270.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 c=require("./index235.js");function f(a){let{swiper:e,duration:l,transformElements:s,allSlides:o}=a;const{activeIndex:d}=e,u=n=>n.parentElement?n.parentElement:e.slides.filter(t=>t.shadowRoot&&t.shadowRoot===n.parentNode)[0];if(e.params.virtualTranslate&&l!==0){let n=!1,r;o?r=s:r=s.filter(t=>{const i=t.classList.contains("swiper-slide-transform")?u(t):t;return e.getSlideIndex(i)===d}),r.forEach(t=>{c.k(t,()=>{if(n||!e||e.destroyed)return;n=!0,e.animating=!1;const i=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(i)})})}}exports.e=f;
|
package/index270.mjs
CHANGED
|
@@ -1,57 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}, [
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
r
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
});
|
|
27
|
-
W(d, f);
|
|
28
|
-
let m = v(d);
|
|
29
|
-
n(m);
|
|
30
|
-
}
|
|
31
|
-
}, {
|
|
32
|
-
capture: !0
|
|
1
|
+
import { k as f } from "./index235.mjs";
|
|
2
|
+
function p(a) {
|
|
3
|
+
let {
|
|
4
|
+
swiper: e,
|
|
5
|
+
duration: o,
|
|
6
|
+
transformElements: s,
|
|
7
|
+
allSlides: l
|
|
8
|
+
} = a;
|
|
9
|
+
const {
|
|
10
|
+
activeIndex: d
|
|
11
|
+
} = e, c = (n) => n.parentElement ? n.parentElement : e.slides.filter((t) => t.shadowRoot && t.shadowRoot === n.parentNode)[0];
|
|
12
|
+
if (e.params.virtualTranslate && o !== 0) {
|
|
13
|
+
let n = !1, r;
|
|
14
|
+
l ? r = s : r = s.filter((t) => {
|
|
15
|
+
const i = t.classList.contains("swiper-slide-transform") ? c(t) : t;
|
|
16
|
+
return e.getSlideIndex(i) === d;
|
|
17
|
+
}), r.forEach((t) => {
|
|
18
|
+
f(t, () => {
|
|
19
|
+
if (n || !e || e.destroyed) return;
|
|
20
|
+
n = !0, e.animating = !1;
|
|
21
|
+
const i = new window.CustomEvent("transitionend", {
|
|
22
|
+
bubbles: !0,
|
|
23
|
+
cancelable: !0
|
|
24
|
+
});
|
|
25
|
+
e.wrapperEl.dispatchEvent(i);
|
|
33
26
|
});
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
o,
|
|
37
|
-
t,
|
|
38
|
-
u,
|
|
39
|
-
c,
|
|
40
|
-
n
|
|
41
|
-
]);
|
|
42
|
-
return h ? {
|
|
43
|
-
focusWithinProps: {
|
|
44
|
-
// These cannot be null, that would conflict in mergeProps
|
|
45
|
-
onFocus: void 0,
|
|
46
|
-
onBlur: void 0
|
|
47
|
-
}
|
|
48
|
-
} : {
|
|
49
|
-
focusWithinProps: {
|
|
50
|
-
onFocus: g,
|
|
51
|
-
onBlur: n
|
|
52
|
-
}
|
|
53
|
-
};
|
|
27
|
+
});
|
|
28
|
+
}
|
|
54
29
|
}
|
|
55
30
|
export {
|
|
56
|
-
|
|
31
|
+
p as e
|
|
57
32
|
};
|
package/index271.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 r=require("./index235.js");function l(t,a,o){const s=`swiper-slide-shadow${o?`-${o}`:""}${t?` swiper-slide-shadow-${t}`:""}`,i=r.g(a);let e=i.querySelector(`.${s.split(" ").join(".")}`);return e||(e=r.c("div",s.split(" ")),i.append(e)),e}exports.c=l;
|
package/index271.mjs
CHANGED
|
@@ -1,30 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
let [u, $] = R(r || i), c = d(u), f = d(r !== void 0), t = r !== void 0;
|
|
7
|
-
V(() => {
|
|
8
|
-
let e = f.current;
|
|
9
|
-
e !== t && process.env.NODE_ENV !== "production" && console.warn(`WARN: A component changed from ${e ? "controlled" : "uncontrolled"} to ${t ? "controlled" : "uncontrolled"}.`), f.current = t;
|
|
10
|
-
}, [
|
|
11
|
-
t
|
|
12
|
-
]);
|
|
13
|
-
let a = t ? r : u;
|
|
14
|
-
y(() => {
|
|
15
|
-
c.current = a;
|
|
16
|
-
});
|
|
17
|
-
let [, p] = m(() => ({}), {}), E = _((e, ...b) => {
|
|
18
|
-
let n = typeof e == "function" ? e(c.current) : e;
|
|
19
|
-
Object.is(c.current, n) || (c.current = n, $(n), p(), o == null || o(n, ...b));
|
|
20
|
-
}, [
|
|
21
|
-
o
|
|
22
|
-
]);
|
|
23
|
-
return [
|
|
24
|
-
a,
|
|
25
|
-
E
|
|
26
|
-
];
|
|
1
|
+
import { g as i, c as l } from "./index235.mjs";
|
|
2
|
+
function d(s, r, o) {
|
|
3
|
+
const a = `swiper-slide-shadow${o ? `-${o}` : ""}${s ? ` swiper-slide-shadow-${s}` : ""}`, t = i(r);
|
|
4
|
+
let e = t.querySelector(`.${a.split(" ").join(".")}`);
|
|
5
|
+
return e || (e = l("div", a.split(" ")), t.append(e)), e;
|
|
27
6
|
}
|
|
28
7
|
export {
|
|
29
|
-
|
|
8
|
+
d as c
|
|
30
9
|
};
|
package/index272.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=new WeakMap;function a(t,e,n){if(!t)return"";typeof e=="string"&&(e=e.replace(/\s+/g,""));let r=o.get(t);return process.env.NODE_ENV!=="production"&&!r&&console.error("There is no tab id, please check if you have rendered the tab panel before the tab list."),`${r}-${n}-${e}`}exports.generateId=a;exports.tabsIds=o;
|
package/index272.mjs
CHANGED
|
@@ -1,147 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
function le(n) {
|
|
9
|
-
let { direction: $ } = X(), { arrowSize: b, targetRef: v, overlayRef: i, arrowRef: s, scrollRef: d = i, placement: L = "bottom", containerPadding: C = 12, shouldFlip: B = !0, boundaryElement: h = typeof document < "u" ? document.body : null, offset: S = 0, crossOffset: T = 0, shouldUpdatePosition: A = !0, isOpen: p = !0, onClose: m, maxHeight: x, arrowBoundaryOffset: F = 0 } = n, [e, q] = Q(null), N = [
|
|
10
|
-
A,
|
|
11
|
-
L,
|
|
12
|
-
i.current,
|
|
13
|
-
v.current,
|
|
14
|
-
s == null ? void 0 : s.current,
|
|
15
|
-
d.current,
|
|
16
|
-
C,
|
|
17
|
-
B,
|
|
18
|
-
h,
|
|
19
|
-
S,
|
|
20
|
-
T,
|
|
21
|
-
p,
|
|
22
|
-
$,
|
|
23
|
-
x,
|
|
24
|
-
F,
|
|
25
|
-
b
|
|
26
|
-
], U = j(t == null ? void 0 : t.scale);
|
|
27
|
-
W(() => {
|
|
28
|
-
p && (U.current = t == null ? void 0 : t.scale);
|
|
29
|
-
}, [
|
|
30
|
-
p
|
|
31
|
-
]);
|
|
32
|
-
let u = k(() => {
|
|
33
|
-
if (A === !1 || !p || !i.current || !v.current || !h || (t == null ? void 0 : t.scale) !== U.current) return;
|
|
34
|
-
let o = null;
|
|
35
|
-
if (d.current && d.current.contains(document.activeElement)) {
|
|
36
|
-
var a;
|
|
37
|
-
let r = (a = document.activeElement) === null || a === void 0 ? void 0 : a.getBoundingClientRect(), y = d.current.getBoundingClientRect();
|
|
38
|
-
var f;
|
|
39
|
-
if (o = {
|
|
40
|
-
type: "top",
|
|
41
|
-
offset: ((f = r == null ? void 0 : r.top) !== null && f !== void 0 ? f : 0) - y.top
|
|
42
|
-
}, o.offset > y.height / 2) {
|
|
43
|
-
o.type = "bottom";
|
|
44
|
-
var E;
|
|
45
|
-
o.offset = ((E = r == null ? void 0 : r.bottom) !== null && E !== void 0 ? E : 0) - y.bottom;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
let l = i.current;
|
|
49
|
-
if (!x && i.current) {
|
|
50
|
-
var P;
|
|
51
|
-
l.style.top = "0px", l.style.bottom = "";
|
|
52
|
-
var z;
|
|
53
|
-
l.style.maxHeight = ((z = (P = window.visualViewport) === null || P === void 0 ? void 0 : P.height) !== null && z !== void 0 ? z : window.innerHeight) + "px";
|
|
54
|
-
}
|
|
55
|
-
let c = J({
|
|
56
|
-
placement: Z(L, $),
|
|
57
|
-
overlayNode: i.current,
|
|
58
|
-
targetNode: v.current,
|
|
59
|
-
scrollNode: d.current || i.current,
|
|
60
|
-
padding: C,
|
|
61
|
-
shouldFlip: B,
|
|
62
|
-
boundaryElement: h,
|
|
63
|
-
offset: S,
|
|
64
|
-
crossOffset: T,
|
|
65
|
-
maxHeight: x,
|
|
66
|
-
arrowSize: b ?? (s != null && s.current ? K(s.current, !0).width : 0),
|
|
67
|
-
arrowBoundaryOffset: F
|
|
68
|
-
});
|
|
69
|
-
if (c.position) {
|
|
70
|
-
if (l.style.top = "", l.style.bottom = "", l.style.left = "", l.style.right = "", Object.keys(c.position).forEach((r) => l.style[r] = c.position[r] + "px"), l.style.maxHeight = c.maxHeight != null ? c.maxHeight + "px" : "", o && document.activeElement && d.current) {
|
|
71
|
-
let r = document.activeElement.getBoundingClientRect(), y = d.current.getBoundingClientRect(), G = r[o.type] - y[o.type];
|
|
72
|
-
d.current.scrollTop += G - o.offset;
|
|
73
|
-
}
|
|
74
|
-
q(c);
|
|
75
|
-
}
|
|
76
|
-
}, N);
|
|
77
|
-
H(u, N), Y(u), I({
|
|
78
|
-
ref: i,
|
|
79
|
-
onResize: u
|
|
80
|
-
}), I({
|
|
81
|
-
ref: v,
|
|
82
|
-
onResize: u
|
|
83
|
-
});
|
|
84
|
-
let g = j(!1);
|
|
85
|
-
H(() => {
|
|
86
|
-
let o, a = () => {
|
|
87
|
-
g.current = !0, clearTimeout(o), o = setTimeout(() => {
|
|
88
|
-
g.current = !1;
|
|
89
|
-
}, 500), u();
|
|
90
|
-
}, f = () => {
|
|
91
|
-
g.current && a();
|
|
92
|
-
};
|
|
93
|
-
return t == null || t.addEventListener("resize", a), t == null || t.addEventListener("scroll", f), () => {
|
|
94
|
-
t == null || t.removeEventListener("resize", a), t == null || t.removeEventListener("scroll", f);
|
|
95
|
-
};
|
|
96
|
-
}, [
|
|
97
|
-
u
|
|
98
|
-
]);
|
|
99
|
-
let D = k(() => {
|
|
100
|
-
g.current || m == null || m();
|
|
101
|
-
}, [
|
|
102
|
-
m,
|
|
103
|
-
g
|
|
104
|
-
]);
|
|
105
|
-
M({
|
|
106
|
-
triggerRef: v,
|
|
107
|
-
isOpen: p,
|
|
108
|
-
onClose: m && D
|
|
109
|
-
});
|
|
110
|
-
var R, O, w;
|
|
111
|
-
return {
|
|
112
|
-
overlayProps: {
|
|
113
|
-
style: {
|
|
114
|
-
position: e ? "absolute" : "fixed",
|
|
115
|
-
top: e ? void 0 : 0,
|
|
116
|
-
left: e ? void 0 : 0,
|
|
117
|
-
zIndex: 1e5,
|
|
118
|
-
...e == null ? void 0 : e.position,
|
|
119
|
-
maxHeight: (R = e == null ? void 0 : e.maxHeight) !== null && R !== void 0 ? R : "100vh"
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
placement: (O = e == null ? void 0 : e.placement) !== null && O !== void 0 ? O : null,
|
|
123
|
-
triggerAnchorPoint: (w = e == null ? void 0 : e.triggerAnchorPoint) !== null && w !== void 0 ? w : null,
|
|
124
|
-
arrowProps: {
|
|
125
|
-
"aria-hidden": "true",
|
|
126
|
-
role: "presentation",
|
|
127
|
-
style: {
|
|
128
|
-
left: e == null ? void 0 : e.arrowOffsetLeft,
|
|
129
|
-
top: e == null ? void 0 : e.arrowOffsetTop
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
updatePosition: u
|
|
133
|
-
};
|
|
134
|
-
}
|
|
135
|
-
function Y(n) {
|
|
136
|
-
H(() => (window.addEventListener("resize", n, !1), () => {
|
|
137
|
-
window.removeEventListener("resize", n, !1);
|
|
138
|
-
}), [
|
|
139
|
-
n
|
|
140
|
-
]);
|
|
141
|
-
}
|
|
142
|
-
function Z(n, $) {
|
|
143
|
-
return $ === "rtl" ? n.replace("start", "right").replace("end", "left") : n.replace("start", "left").replace("end", "right");
|
|
1
|
+
const o = /* @__PURE__ */ new WeakMap();
|
|
2
|
+
function n(r, e, a) {
|
|
3
|
+
if (!r)
|
|
4
|
+
return "";
|
|
5
|
+
typeof e == "string" && (e = e.replace(/\s+/g, ""));
|
|
6
|
+
let t = o.get(r);
|
|
7
|
+
return process.env.NODE_ENV !== "production" && !t && console.error("There is no tab id, please check if you have rendered the tab panel before the tab list."), `${t}-${a}-${e}`;
|
|
144
8
|
}
|
|
145
9
|
export {
|
|
146
|
-
|
|
10
|
+
n as generateId,
|
|
11
|
+
o as tabsIds
|
|
147
12
|
};
|