@okam/stack-ui 1.44.0 → 1.44.1
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 +26 -4
- package/components/Popover/interface.d.ts +3 -3
- package/components/TagGroup/interface.d.ts +2 -2
- package/index.d.ts +2 -0
- package/index145.js +1 -1
- package/index145.mjs +1 -1
- package/index149.mjs +1 -1
- 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/index187.js +1 -1
- package/index187.mjs +12 -12
- package/index188.js +1 -1
- package/index188.mjs +104 -105
- package/index191.js +1 -1
- package/index191.mjs +203 -5
- package/index192.js +1 -2
- package/index192.mjs +62 -47
- package/index193.js +1 -1
- package/index193.mjs +141 -9
- package/index194.js +1 -1
- package/index194.mjs +110 -189
- package/index195.js +1 -1
- package/index195.mjs +213 -53
- package/index196.js +1 -1
- package/index196.mjs +176 -129
- package/index197.js +1 -1
- package/index197.mjs +61 -116
- package/index198.js +1 -1
- package/index198.mjs +265 -210
- package/index199.js +1 -1
- package/index199.mjs +88 -180
- package/index2.mjs +35 -35
- package/index200.js +1 -1
- package/index200.mjs +179 -60
- package/index201.js +1 -1
- package/index201.mjs +71 -266
- package/index202.js +1 -1
- package/index202.mjs +52 -92
- package/index203.js +1 -1
- package/index203.mjs +120 -182
- package/index204.js +1 -1
- package/index204.mjs +108 -76
- package/index205.js +1 -1
- package/index205.mjs +114 -50
- package/index206.js +1 -1
- package/index206.mjs +64 -118
- package/index207.js +1 -1
- package/index207.mjs +105 -111
- package/index208.js +1 -1
- package/index208.mjs +47 -117
- package/index209.js +1 -1
- package/index209.mjs +88 -67
- package/index210.js +1 -1
- package/index210.mjs +68 -108
- package/index211.js +1 -1
- package/index211.mjs +45 -41
- package/index212.js +1 -1
- package/index212.mjs +83 -77
- package/index213.js +5 -1
- package/index213.mjs +59 -49
- package/index214.js +1 -1
- package/index214.mjs +12 -57
- package/index215.js +1 -1
- package/index215.mjs +5 -99
- package/index216.js +2 -5
- package/index216.mjs +48 -79
- package/index217.js +1 -1
- package/index217.mjs +9 -130
- package/index218.js +1 -1
- package/index218.mjs +52 -184
- package/index219.js +1 -1
- package/index219.mjs +130 -121
- package/index220.js +1 -1
- package/index220.mjs +14 -134
- package/index221.js +1 -1
- package/index221.mjs +41 -73
- package/index222.js +1 -1
- package/index222.mjs +231 -14
- package/index223.js +1 -1
- package/index223.mjs +120 -90
- package/index224.js +1 -1
- package/index224.mjs +66 -100
- package/index225.js +7 -1
- package/index225.mjs +439 -4
- package/index226.js +1 -1
- package/index226.mjs +58 -3
- package/index227.js +1 -1
- package/index227.mjs +52 -123
- package/index228.js +1 -1
- package/index228.mjs +4 -30
- package/index229.js +1 -1
- package/index229.mjs +24 -50
- package/index230.js +1 -1
- package/index230.mjs +46 -43
- package/index231.js +1 -1
- package/index231.mjs +5 -37
- package/index232.js +1 -1
- package/index232.mjs +24 -113
- package/index233.js +1 -1
- package/index233.mjs +11 -76
- package/index234.js +1 -1
- package/index234.mjs +4 -101
- package/index235.js +1 -1
- package/index235.mjs +15 -98
- package/index236.js +1 -1
- package/index236.mjs +36 -119
- package/index237.js +1 -1
- package/index237.mjs +41 -70
- package/index238.js +1 -7
- package/index238.mjs +27 -434
- package/index239.js +1 -1
- package/index239.mjs +30 -57
- package/index240.js +1 -1
- package/index240.mjs +11 -4
- package/index241.js +1 -1
- package/index241.mjs +27 -23
- package/index242.js +1 -1
- package/index242.mjs +15 -47
- package/index243.js +1 -1
- package/index243.mjs +9 -5
- package/index244.js +1 -1
- package/index244.mjs +6 -24
- package/index245.js +1 -1
- package/index245.mjs +5 -12
- package/index246.js +1 -1
- package/index246.mjs +7 -4
- package/index247.js +1 -1
- package/index247.mjs +29 -14
- package/index248.js +1 -1
- package/index248.mjs +17 -42
- package/index249.js +1 -1
- package/index249.mjs +41 -55
- package/index250.js +1 -1
- package/index250.mjs +7 -42
- package/index251.js +1 -1
- package/index251.mjs +15 -31
- package/index252.js +1 -1
- package/index252.mjs +3 -32
- package/index253.js +1 -1
- package/index253.mjs +19 -14
- package/index254.js +1 -1
- package/index254.mjs +34 -10
- package/index255.js +1 -1
- package/index255.mjs +21 -28
- package/index256.js +1 -1
- package/index256.mjs +26 -14
- package/index257.js +1 -1
- package/index257.mjs +129 -8
- package/index258.js +1 -1
- package/index258.mjs +190 -6
- package/index259.js +1 -1
- package/index259.mjs +9 -5
- package/index260.js +1 -1
- package/index260.mjs +3 -7
- package/index261.js +1 -1
- package/index261.mjs +35 -28
- package/index262.js +1 -1
- package/index262.mjs +5 -17
- package/index263.js +1 -1
- package/index263.mjs +27 -42
- package/index264.js +1 -1
- package/index264.mjs +6 -8
- package/index265.js +1 -1
- package/index265.mjs +124 -16
- package/index266.js +1 -1
- package/index266.mjs +135 -3
- package/index267.js +1 -1
- package/index267.mjs +75 -19
- package/index268.js +1 -1
- package/index268.mjs +12 -32
- package/index269.js +1 -1
- package/index269.mjs +93 -20
- package/index270.js +1 -1
- package/index270.mjs +105 -53
- package/index271.js +1 -1
- package/index271.mjs +4 -27
- package/index272.js +1 -1
- package/index272.mjs +3 -144
- package/index273.js +1 -1
- package/index273.mjs +119 -207
- package/index274.js +1 -1
- package/index274.mjs +29 -22
- package/index275.js +1 -1
- package/index275.mjs +51 -49
- package/index276.js +1 -1
- package/index276.mjs +43 -45
- package/index277.js +1 -6
- package/index277.mjs +35 -111
- package/index278.js +1 -1
- package/index278.mjs +114 -72
- package/index279.js +1 -1
- package/index279.mjs +76 -73
- package/index28.js +1 -1
- package/index28.mjs +38 -94
- package/index280.js +1 -1
- package/index280.mjs +101 -7
- package/index281.js +1 -1
- package/index281.mjs +98 -12
- package/index282.js +1 -1
- package/index282.mjs +144 -9
- package/index283.js +1 -1
- package/index283.mjs +207 -127
- package/index284.js +1 -1
- package/index284.mjs +22 -43
- package/index285.js +1 -1
- package/index285.mjs +44 -226
- package/index286.js +1 -1
- package/index286.mjs +45 -30
- package/index287.js +6 -1
- package/index287.mjs +112 -8
- package/index288.js +1 -1
- package/index288.mjs +72 -4
- package/index289.js +1 -1
- package/index289.mjs +71 -33
- package/index29.js +1 -1
- package/index29.mjs +2 -2
- package/index290.js +1 -1
- package/index290.mjs +7 -5
- package/index291.js +1 -1
- package/index291.mjs +11 -29
- package/index292.js +1 -1
- package/index292.mjs +31 -6
- package/index293.js +1 -1
- package/index293.mjs +3 -4
- package/index294.js +1 -1
- package/index294.mjs +4 -3
- 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/package.json +1 -1
package/index233.mjs
CHANGED
|
@@ -1,80 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
const t = (o) => {
|
|
2
|
+
var n;
|
|
3
|
+
return (n = o == null ? void 0 : o.ownerDocument) !== null && n !== void 0 ? n : document;
|
|
4
|
+
}, e = (o) => o && "window" in o && o.window === o ? o : t(o).defaultView || window;
|
|
5
|
+
function d(o) {
|
|
6
|
+
return o !== null && typeof o == "object" && "nodeType" in o && typeof o.nodeType == "number";
|
|
6
7
|
}
|
|
7
|
-
function
|
|
8
|
-
|
|
9
|
-
return y(3 * (f + 1), 7) < 3 && (f += 1), f;
|
|
10
|
-
}
|
|
11
|
-
function p(e) {
|
|
12
|
-
let r = i(e - 1), t = i(e);
|
|
13
|
-
return i(e + 1) - t === 356 ? 2 : t - r === 382 ? 1 : 0;
|
|
14
|
-
}
|
|
15
|
-
function c(e) {
|
|
16
|
-
return i(e) + p(e);
|
|
17
|
-
}
|
|
18
|
-
function Y(e) {
|
|
19
|
-
return c(e + 1) - c(e);
|
|
20
|
-
}
|
|
21
|
-
function A(e) {
|
|
22
|
-
let r = Y(e);
|
|
23
|
-
switch (r > 380 && (r -= 30), r) {
|
|
24
|
-
case 353:
|
|
25
|
-
return 0;
|
|
26
|
-
case 354:
|
|
27
|
-
return 1;
|
|
28
|
-
case 355:
|
|
29
|
-
return 2;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
function s(e, r) {
|
|
33
|
-
if (r >= 6 && !a(e) && r++, r === 4 || r === 7 || r === 9 || r === 11 || r === 13) return 29;
|
|
34
|
-
let t = A(e);
|
|
35
|
-
return r === 2 ? t === 2 ? 30 : 29 : r === 3 ? t === 0 ? 29 : 30 : r === 6 ? a(e) ? 30 : 0 : 30;
|
|
36
|
-
}
|
|
37
|
-
class O {
|
|
38
|
-
fromJulianDay(r) {
|
|
39
|
-
let t = r - b, f = t * M / w, n = Math.floor((19 * f + 234) / 235) + 1, u = c(n), o = Math.floor(t - u);
|
|
40
|
-
for (; o < 1; )
|
|
41
|
-
n--, u = c(n), o = Math.floor(t - u);
|
|
42
|
-
let $ = 1, l = 0;
|
|
43
|
-
for (; l < o; )
|
|
44
|
-
l += s(n, $), $++;
|
|
45
|
-
$--, l -= s(n, $);
|
|
46
|
-
let g = o - l;
|
|
47
|
-
return new v(this, n, $, g);
|
|
48
|
-
}
|
|
49
|
-
toJulianDay(r) {
|
|
50
|
-
let t = c(r.year);
|
|
51
|
-
for (let f = 1; f < r.month; f++) t += s(r.year, f);
|
|
52
|
-
return t + r.day + b;
|
|
53
|
-
}
|
|
54
|
-
getDaysInMonth(r) {
|
|
55
|
-
return s(r.year, r.month);
|
|
56
|
-
}
|
|
57
|
-
getMonthsInYear(r) {
|
|
58
|
-
return a(r.year) ? 13 : 12;
|
|
59
|
-
}
|
|
60
|
-
getDaysInYear(r) {
|
|
61
|
-
return Y(r.year);
|
|
62
|
-
}
|
|
63
|
-
getYearsInEra() {
|
|
64
|
-
return 9999;
|
|
65
|
-
}
|
|
66
|
-
getEras() {
|
|
67
|
-
return [
|
|
68
|
-
"AM"
|
|
69
|
-
];
|
|
70
|
-
}
|
|
71
|
-
balanceYearMonth(r, t) {
|
|
72
|
-
t.year !== r.year && (a(t.year) && !a(r.year) && t.month > 6 ? r.month-- : !a(t.year) && a(r.year) && t.month > 6 && r.month++);
|
|
73
|
-
}
|
|
74
|
-
constructor() {
|
|
75
|
-
this.identifier = "hebrew";
|
|
76
|
-
}
|
|
8
|
+
function c(o) {
|
|
9
|
+
return d(o) && o.nodeType === Node.DOCUMENT_FRAGMENT_NODE && "host" in o;
|
|
77
10
|
}
|
|
78
11
|
export {
|
|
79
|
-
|
|
12
|
+
t as getOwnerDocument,
|
|
13
|
+
e as getOwnerWindow,
|
|
14
|
+
c as isShadowRoot
|
|
80
15
|
};
|
package/index234.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});let e=!1;function t(){return e}exports.shadowDOM=t;
|
package/index234.mjs
CHANGED
|
@@ -1,104 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
return a + 365 * r + Math.floor(r / 4) + 30 * (e - 1) + t - 1;
|
|
5
|
-
}
|
|
6
|
-
function u(a, r) {
|
|
7
|
-
let e = Math.floor(4 * (r - a) / 1461), t = 1 + Math.floor((r - f(a, e, 1, 1)) / 30), n = r + 1 - f(a, e, t, 1);
|
|
8
|
-
return [
|
|
9
|
-
e,
|
|
10
|
-
t,
|
|
11
|
-
n
|
|
12
|
-
];
|
|
13
|
-
}
|
|
14
|
-
function l(a) {
|
|
15
|
-
return Math.floor(a % 4 / 3);
|
|
16
|
-
}
|
|
17
|
-
function y(a, r) {
|
|
18
|
-
return r % 13 !== 0 ? 30 : l(a) + 5;
|
|
19
|
-
}
|
|
20
|
-
class b {
|
|
21
|
-
fromJulianDay(r) {
|
|
22
|
-
let [e, t, n] = u(i, r), o = "AM";
|
|
23
|
-
return e <= 0 && (o = "AA", e += c), new s(this, o, e, t, n);
|
|
24
|
-
}
|
|
25
|
-
toJulianDay(r) {
|
|
26
|
-
let e = r.year;
|
|
27
|
-
return r.era === "AA" && (e -= c), f(i, e, r.month, r.day);
|
|
28
|
-
}
|
|
29
|
-
getDaysInMonth(r) {
|
|
30
|
-
return y(r.year, r.month);
|
|
31
|
-
}
|
|
32
|
-
getMonthsInYear() {
|
|
33
|
-
return 13;
|
|
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
|
-
}
|
|
1
|
+
let e = !1;
|
|
2
|
+
function f() {
|
|
3
|
+
return e;
|
|
99
4
|
}
|
|
100
5
|
export {
|
|
101
|
-
|
|
102
|
-
h as EthiopicAmeteAlemCalendar,
|
|
103
|
-
b as EthiopicCalendar
|
|
6
|
+
f as shadowDOM
|
|
104
7
|
};
|
package/index235.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function n(r){var o,e,t="";if(typeof r=="string"||typeof r=="number")t+=r;else if(typeof r=="object")if(Array.isArray(r)){var u=r.length;for(o=0;o<u;o++)r[o]&&(e=n(r[o]))&&(t&&(t+=" "),t+=e)}else for(e in r)r[e]&&(t&&(t+=" "),t+=e);return t}function f(){for(var r,o,e=0,t="",u=arguments.length;e<u;e++)(r=arguments[e])&&(o=n(r))&&(t&&(t+=" "),t+=o);return t}exports.clsx=f;exports.default=f;
|
package/index235.mjs
CHANGED
|
@@ -1,100 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
AZ: 1,
|
|
15
|
-
BA: 1,
|
|
16
|
-
BE: 1,
|
|
17
|
-
BG: 1,
|
|
18
|
-
BH: 6,
|
|
19
|
-
BM: 1,
|
|
20
|
-
BN: 1,
|
|
21
|
-
BY: 1,
|
|
22
|
-
CH: 1,
|
|
23
|
-
CL: 1,
|
|
24
|
-
CM: 1,
|
|
25
|
-
CN: 1,
|
|
26
|
-
CR: 1,
|
|
27
|
-
CY: 1,
|
|
28
|
-
CZ: 1,
|
|
29
|
-
DE: 1,
|
|
30
|
-
DJ: 6,
|
|
31
|
-
DK: 1,
|
|
32
|
-
DZ: 6,
|
|
33
|
-
EC: 1,
|
|
34
|
-
EE: 1,
|
|
35
|
-
EG: 6,
|
|
36
|
-
ES: 1,
|
|
37
|
-
FI: 1,
|
|
38
|
-
FJ: 1,
|
|
39
|
-
FO: 1,
|
|
40
|
-
FR: 1,
|
|
41
|
-
GB: 1,
|
|
42
|
-
GE: 1,
|
|
43
|
-
GF: 1,
|
|
44
|
-
GP: 1,
|
|
45
|
-
GR: 1,
|
|
46
|
-
HR: 1,
|
|
47
|
-
HU: 1,
|
|
48
|
-
IE: 1,
|
|
49
|
-
IQ: 6,
|
|
50
|
-
IR: 6,
|
|
51
|
-
IS: 1,
|
|
52
|
-
IT: 1,
|
|
53
|
-
JO: 6,
|
|
54
|
-
KG: 1,
|
|
55
|
-
KW: 6,
|
|
56
|
-
KZ: 1,
|
|
57
|
-
LB: 1,
|
|
58
|
-
LI: 1,
|
|
59
|
-
LK: 1,
|
|
60
|
-
LT: 1,
|
|
61
|
-
LU: 1,
|
|
62
|
-
LV: 1,
|
|
63
|
-
LY: 6,
|
|
64
|
-
MC: 1,
|
|
65
|
-
MD: 1,
|
|
66
|
-
ME: 1,
|
|
67
|
-
MK: 1,
|
|
68
|
-
MN: 1,
|
|
69
|
-
MQ: 1,
|
|
70
|
-
MV: 5,
|
|
71
|
-
MY: 1,
|
|
72
|
-
NL: 1,
|
|
73
|
-
NO: 1,
|
|
74
|
-
NZ: 1,
|
|
75
|
-
OM: 6,
|
|
76
|
-
PL: 1,
|
|
77
|
-
QA: 6,
|
|
78
|
-
RE: 1,
|
|
79
|
-
RO: 1,
|
|
80
|
-
RS: 1,
|
|
81
|
-
RU: 1,
|
|
82
|
-
SD: 6,
|
|
83
|
-
SE: 1,
|
|
84
|
-
SI: 1,
|
|
85
|
-
SK: 1,
|
|
86
|
-
SM: 1,
|
|
87
|
-
SY: 6,
|
|
88
|
-
TJ: 1,
|
|
89
|
-
TM: 1,
|
|
90
|
-
TR: 1,
|
|
91
|
-
UA: 1,
|
|
92
|
-
UY: 1,
|
|
93
|
-
UZ: 1,
|
|
94
|
-
VA: 1,
|
|
95
|
-
VN: 1,
|
|
96
|
-
XK: 1
|
|
97
|
-
};
|
|
1
|
+
function a(r) {
|
|
2
|
+
var n, f, t = "";
|
|
3
|
+
if (typeof r == "string" || typeof r == "number") t += r;
|
|
4
|
+
else if (typeof r == "object") if (Array.isArray(r)) {
|
|
5
|
+
var o = r.length;
|
|
6
|
+
for (n = 0; n < o; n++) r[n] && (f = a(r[n])) && (t && (t += " "), t += f);
|
|
7
|
+
} else for (f in r) r[f] && (t && (t += " "), t += f);
|
|
8
|
+
return t;
|
|
9
|
+
}
|
|
10
|
+
function i() {
|
|
11
|
+
for (var r, n, f = 0, t = "", o = arguments.length; f < o; f++) (r = arguments[f]) && (n = a(r)) && (t && (t += " "), t += n);
|
|
12
|
+
return t;
|
|
13
|
+
}
|
|
98
14
|
export {
|
|
99
|
-
|
|
15
|
+
i as clsx,
|
|
16
|
+
i as default
|
|
100
17
|
};
|
package/index236.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 c(l){if(n())l.focus({preventScroll:!0});else{let e=s(l);l.focus(),f(e)}}let r=null;function n(){if(r==null){r=!1;try{document.createElement("div").focus({get preventScroll(){return r=!0,!0}})}catch{}}return r}function s(l){let e=l.parentNode,o=[],t=document.scrollingElement||document.documentElement;for(;e instanceof HTMLElement&&e!==t;)(e.offsetHeight<e.scrollHeight||e.offsetWidth<e.scrollWidth)&&o.push({element:e,scrollTop:e.scrollTop,scrollLeft:e.scrollLeft}),e=e.parentNode;return t instanceof HTMLElement&&o.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),o}function f(l){for(let{element:e,scrollTop:o,scrollLeft:t}of l)e.scrollTop=o,e.scrollLeft=t}exports.focusWithoutScrolling=c;
|
package/index236.mjs
CHANGED
|
@@ -1,128 +1,45 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
stepMismatch: !1,
|
|
9
|
-
tooLong: !1,
|
|
10
|
-
tooShort: !1,
|
|
11
|
-
typeMismatch: !1,
|
|
12
|
-
valueMissing: !1,
|
|
13
|
-
valid: !0
|
|
14
|
-
}, L = {
|
|
15
|
-
...D,
|
|
16
|
-
customError: !0,
|
|
17
|
-
valid: !1
|
|
18
|
-
}, u = {
|
|
19
|
-
isInvalid: !1,
|
|
20
|
-
validationDetails: D,
|
|
21
|
-
validationErrors: []
|
|
22
|
-
}, B = O({}), h = "__formValidationState" + Date.now();
|
|
23
|
-
function P(a) {
|
|
24
|
-
if (a[h]) {
|
|
25
|
-
let { realtimeValidation: e, displayValidation: t, updateValidation: i, resetValidation: o, commitValidation: l } = a[h];
|
|
26
|
-
return {
|
|
27
|
-
realtimeValidation: e,
|
|
28
|
-
displayValidation: t,
|
|
29
|
-
updateValidation: i,
|
|
30
|
-
resetValidation: o,
|
|
31
|
-
commitValidation: l
|
|
32
|
-
};
|
|
1
|
+
function f(l) {
|
|
2
|
+
if (c()) l.focus({
|
|
3
|
+
preventScroll: !0
|
|
4
|
+
});
|
|
5
|
+
else {
|
|
6
|
+
let e = n(l);
|
|
7
|
+
l.focus(), s(e);
|
|
33
8
|
}
|
|
34
|
-
return Q(a);
|
|
35
9
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}, [
|
|
48
|
-
d,
|
|
49
|
-
o
|
|
50
|
-
]);
|
|
51
|
-
l != null && l.validationDetails.valid && (l = void 0);
|
|
52
|
-
let s = U(B), A = I(() => i ? Array.isArray(i) ? i.flatMap((r) => S(s[r])) : S(s[i]) : [], [
|
|
53
|
-
s,
|
|
54
|
-
i
|
|
55
|
-
]), [M, _] = f(s), [x, m] = f(!1);
|
|
56
|
-
s !== M && (_(s), m(!1));
|
|
57
|
-
let $ = I(() => C(x ? [] : A), [
|
|
58
|
-
x,
|
|
59
|
-
A
|
|
60
|
-
]), g = T(u), [b, E] = f(u), c = T(u), w = () => {
|
|
61
|
-
if (!F) return;
|
|
62
|
-
p(!1);
|
|
63
|
-
let r = V || l || g.current;
|
|
64
|
-
y(r, c.current) || (c.current = r, E(r));
|
|
65
|
-
}, [F, p] = f(!1);
|
|
66
|
-
return R(w), {
|
|
67
|
-
realtimeValidation: v || $ || V || l || u,
|
|
68
|
-
displayValidation: n === "native" ? v || $ || b : v || $ || V || l || b,
|
|
69
|
-
updateValidation(r) {
|
|
70
|
-
n === "aria" && !y(b, r) ? E(r) : g.current = r;
|
|
71
|
-
},
|
|
72
|
-
resetValidation() {
|
|
73
|
-
let r = u;
|
|
74
|
-
y(r, c.current) || (c.current = r, E(r)), n === "native" && p(!1), m(!0);
|
|
75
|
-
},
|
|
76
|
-
commitValidation() {
|
|
77
|
-
n === "native" && p(!0), m(!0);
|
|
10
|
+
let r = null;
|
|
11
|
+
function c() {
|
|
12
|
+
if (r == null) {
|
|
13
|
+
r = !1;
|
|
14
|
+
try {
|
|
15
|
+
document.createElement("div").focus({
|
|
16
|
+
get preventScroll() {
|
|
17
|
+
return r = !0, !0;
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
} catch {
|
|
78
21
|
}
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
function S(a) {
|
|
82
|
-
return a ? Array.isArray(a) ? a : [
|
|
83
|
-
a
|
|
84
|
-
] : [];
|
|
85
|
-
}
|
|
86
|
-
function Y(a, e) {
|
|
87
|
-
if (typeof a == "function") {
|
|
88
|
-
let t = a(e);
|
|
89
|
-
if (t && typeof t != "boolean") return S(t);
|
|
90
22
|
}
|
|
91
|
-
return
|
|
23
|
+
return r;
|
|
92
24
|
}
|
|
93
|
-
function
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
25
|
+
function n(l) {
|
|
26
|
+
let e = l.parentNode, o = [], t = document.scrollingElement || document.documentElement;
|
|
27
|
+
for (; e instanceof HTMLElement && e !== t; )
|
|
28
|
+
(e.offsetHeight < e.scrollHeight || e.offsetWidth < e.scrollWidth) && o.push({
|
|
29
|
+
element: e,
|
|
30
|
+
scrollTop: e.scrollTop,
|
|
31
|
+
scrollLeft: e.scrollLeft
|
|
32
|
+
}), e = e.parentNode;
|
|
33
|
+
return t instanceof HTMLElement && o.push({
|
|
34
|
+
element: t,
|
|
35
|
+
scrollTop: t.scrollTop,
|
|
36
|
+
scrollLeft: t.scrollLeft
|
|
37
|
+
}), o;
|
|
99
38
|
}
|
|
100
|
-
function
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
function k(...a) {
|
|
104
|
-
let e = /* @__PURE__ */ new Set(), t = !1, i = {
|
|
105
|
-
...D
|
|
106
|
-
};
|
|
107
|
-
for (let d of a) {
|
|
108
|
-
var o, l;
|
|
109
|
-
for (let n of d.validationErrors) e.add(n);
|
|
110
|
-
t || (t = d.isInvalid);
|
|
111
|
-
for (let n in i) (o = i)[l = n] || (o[l] = d.validationDetails[n]);
|
|
112
|
-
}
|
|
113
|
-
return i.valid = !t, {
|
|
114
|
-
isInvalid: t,
|
|
115
|
-
validationErrors: [
|
|
116
|
-
...e
|
|
117
|
-
],
|
|
118
|
-
validationDetails: i
|
|
119
|
-
};
|
|
39
|
+
function s(l) {
|
|
40
|
+
for (let { element: e, scrollTop: o, scrollLeft: t } of l)
|
|
41
|
+
e.scrollTop = o, e.scrollLeft = t;
|
|
120
42
|
}
|
|
121
43
|
export {
|
|
122
|
-
|
|
123
|
-
B as FormValidationContext,
|
|
124
|
-
D as VALID_VALIDITY_STATE,
|
|
125
|
-
k as mergeValidation,
|
|
126
|
-
h as privateValidationStateProp,
|
|
127
|
-
P as useFormValidationState
|
|
44
|
+
f as focusWithoutScrolling
|
|
128
45
|
};
|
package/index237.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 a(t){var e;if(typeof window>"u"||window.navigator==null)return!1;let i=(e=window.navigator.userAgentData)===null||e===void 0?void 0:e.brands;return Array.isArray(i)&&i.some($=>t.test($.brand))||t.test(window.navigator.userAgent)}function r(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function n(t){if(process.env.NODE_ENV==="test")return t;let e=null;return()=>(e==null&&(e=t()),e)}const o=n(function(){return r(/^Mac/i)}),c=n(function(){return r(/^iPhone/i)}),u=n(function(){return r(/^iPad/i)||o()&&navigator.maxTouchPoints>1}),s=n(function(){return c()||u()}),f=n(function(){return o()||s()}),l=n(function(){return a(/AppleWebKit/i)&&!d()}),d=n(function(){return a(/Chrome/i)}),v=n(function(){return a(/Android/i)}),w=n(function(){return a(/Firefox/i)});exports.isAndroid=v;exports.isAppleDevice=f;exports.isChrome=d;exports.isFirefox=w;exports.isIOS=s;exports.isIPad=u;exports.isIPhone=c;exports.isMac=o;exports.isWebKit=l;
|
package/index237.mjs
CHANGED
|
@@ -1,75 +1,46 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
let { validationBehavior: v, focus: s } = a;
|
|
7
|
-
p(() => {
|
|
8
|
-
if (v === "native" && (t != null && t.current) && !t.current.disabled) {
|
|
9
|
-
let n = e.realtimeValidation.isInvalid ? e.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";
|
|
10
|
-
t.current.setCustomValidity(n), t.current.hasAttribute("title") || (t.current.title = ""), e.realtimeValidation.isInvalid || e.updateValidation(h(t.current));
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
let r = g(!1), u = d(() => {
|
|
14
|
-
r.current || e.resetValidation();
|
|
15
|
-
}), c = d((n) => {
|
|
16
|
-
var i;
|
|
17
|
-
e.displayValidation.isInvalid || e.commitValidation();
|
|
18
|
-
let o = t == null || (i = t.current) === null || i === void 0 ? void 0 : i.form;
|
|
19
|
-
if (!n.defaultPrevented && t && o && y(o) === t.current) {
|
|
20
|
-
var l;
|
|
21
|
-
s ? s() : (l = t.current) === null || l === void 0 || l.focus(), f("keyboard");
|
|
22
|
-
}
|
|
23
|
-
n.preventDefault();
|
|
24
|
-
}), m = d(() => {
|
|
25
|
-
e.commitValidation();
|
|
26
|
-
});
|
|
27
|
-
$(() => {
|
|
28
|
-
let n = t == null ? void 0 : t.current;
|
|
29
|
-
if (!n) return;
|
|
30
|
-
let i = n.form, o = i == null ? void 0 : i.reset;
|
|
31
|
-
return i && (i.reset = () => {
|
|
32
|
-
r.current = !window.event || window.event.type === "message" && window.event.target instanceof MessagePort, o == null || o.call(i), r.current = !1;
|
|
33
|
-
}), n.addEventListener("invalid", c), n.addEventListener("change", m), i == null || i.addEventListener("reset", u), () => {
|
|
34
|
-
n.removeEventListener("invalid", c), n.removeEventListener("change", m), i == null || i.removeEventListener("reset", u), i && (i.reset = o);
|
|
35
|
-
};
|
|
36
|
-
}, [
|
|
37
|
-
t,
|
|
38
|
-
v
|
|
39
|
-
]);
|
|
1
|
+
function t(a) {
|
|
2
|
+
var e;
|
|
3
|
+
if (typeof window > "u" || window.navigator == null) return !1;
|
|
4
|
+
let o = (e = window.navigator.userAgentData) === null || e === void 0 ? void 0 : e.brands;
|
|
5
|
+
return Array.isArray(o) && o.some((c) => a.test(c.brand)) || a.test(window.navigator.userAgent);
|
|
40
6
|
}
|
|
41
|
-
function
|
|
42
|
-
|
|
43
|
-
return
|
|
44
|
-
badInput: e.badInput,
|
|
45
|
-
customError: e.customError,
|
|
46
|
-
patternMismatch: e.patternMismatch,
|
|
47
|
-
rangeOverflow: e.rangeOverflow,
|
|
48
|
-
rangeUnderflow: e.rangeUnderflow,
|
|
49
|
-
stepMismatch: e.stepMismatch,
|
|
50
|
-
tooLong: e.tooLong,
|
|
51
|
-
tooShort: e.tooShort,
|
|
52
|
-
typeMismatch: e.typeMismatch,
|
|
53
|
-
valueMissing: e.valueMissing,
|
|
54
|
-
valid: e.valid
|
|
55
|
-
};
|
|
7
|
+
function r(a) {
|
|
8
|
+
var e;
|
|
9
|
+
return typeof window < "u" && window.navigator != null ? a.test(((e = window.navigator.userAgentData) === null || e === void 0 ? void 0 : e.platform) || window.navigator.platform) : !1;
|
|
56
10
|
}
|
|
57
|
-
function
|
|
58
|
-
return
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
validationErrors: a.validationMessage ? [
|
|
62
|
-
a.validationMessage
|
|
63
|
-
] : []
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
function y(a) {
|
|
67
|
-
for (let e = 0; e < a.elements.length; e++) {
|
|
68
|
-
let t = a.elements[e];
|
|
69
|
-
if (!t.validity.valid) return t;
|
|
70
|
-
}
|
|
71
|
-
return null;
|
|
11
|
+
function n(a) {
|
|
12
|
+
if (process.env.NODE_ENV === "test") return a;
|
|
13
|
+
let e = null;
|
|
14
|
+
return () => (e == null && (e = a()), e);
|
|
72
15
|
}
|
|
16
|
+
const i = n(function() {
|
|
17
|
+
return r(/^Mac/i);
|
|
18
|
+
}), s = n(function() {
|
|
19
|
+
return r(/^iPhone/i);
|
|
20
|
+
}), u = n(function() {
|
|
21
|
+
return r(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
|
|
22
|
+
i() && navigator.maxTouchPoints > 1;
|
|
23
|
+
}), $ = n(function() {
|
|
24
|
+
return s() || u();
|
|
25
|
+
}), f = n(function() {
|
|
26
|
+
return i() || $();
|
|
27
|
+
}), l = n(function() {
|
|
28
|
+
return t(/AppleWebKit/i) && !d();
|
|
29
|
+
}), d = n(function() {
|
|
30
|
+
return t(/Chrome/i);
|
|
31
|
+
}), v = n(function() {
|
|
32
|
+
return t(/Android/i);
|
|
33
|
+
}), w = n(function() {
|
|
34
|
+
return t(/Firefox/i);
|
|
35
|
+
});
|
|
73
36
|
export {
|
|
74
|
-
|
|
37
|
+
v as isAndroid,
|
|
38
|
+
f as isAppleDevice,
|
|
39
|
+
d as isChrome,
|
|
40
|
+
w as isFirefox,
|
|
41
|
+
$ as isIOS,
|
|
42
|
+
u as isIPad,
|
|
43
|
+
s as isIPhone,
|
|
44
|
+
i as isMac,
|
|
45
|
+
l as isWebKit
|
|
75
46
|
};
|