@okam/stack-ui 1.32.5 → 1.32.6
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/index115.js +1 -1
- package/index115.mjs +6 -6
- package/index116.js +1 -1
- package/index116.mjs +4 -4
- package/index118.js +1 -1
- package/index118.mjs +3 -3
- package/index119.js +1 -1
- package/index119.mjs +3 -3
- package/index120.js +1 -1
- package/index120.mjs +6 -6
- package/index121.js +1 -1
- package/index121.mjs +4 -4
- package/index122.js +1 -1
- package/index122.mjs +2 -2
- package/index123.js +1 -1
- package/index123.mjs +1 -1
- package/index124.js +1 -1
- package/index124.mjs +1 -1
- package/index125.js +1 -1
- package/index125.mjs +4 -4
- package/index139.js +1 -1
- package/index139.mjs +1 -1
- package/index140.js +1 -1
- package/index140.mjs +23 -23
- package/index141.js +1 -1
- package/index141.mjs +3 -3
- package/index144.js +1 -1
- package/index144.mjs +23 -21
- package/index145.js +1 -1
- package/index145.mjs +113 -38
- package/index146.js +1 -1
- package/index146.mjs +22 -25
- package/index147.js +1 -1
- package/index147.mjs +35 -251
- package/index148.js +1 -1
- package/index148.mjs +25 -106
- package/index149.js +1 -1
- package/index149.mjs +242 -320
- package/index150.js +1 -1
- package/index150.mjs +105 -23
- package/index151.js +1 -1
- package/index151.mjs +323 -104
- package/index152.js +1 -1
- package/index152.mjs +1 -1
- package/index153.js +1 -1
- package/index153.mjs +2 -2
- package/index154.js +1 -1
- package/index154.mjs +1 -1
- package/index155.js +1 -1
- package/index155.mjs +2 -2
- package/index158.js +1 -1
- package/index158.mjs +2 -2
- package/index159.js +1 -1
- package/index159.mjs +2 -2
- package/index160.js +1 -1
- package/index160.mjs +2 -2
- package/index163.js +1 -1
- package/index163.mjs +136 -71
- package/index164.js +1 -1
- package/index164.mjs +132 -50
- package/index165.js +1 -1
- package/index165.mjs +96 -21
- package/index166.js +1 -1
- package/index166.mjs +24 -27
- package/index167.js +1 -1
- package/index167.mjs +381 -33
- package/index168.js +1 -1
- package/index168.mjs +90 -24
- package/index169.js +1 -1
- package/index169.mjs +72 -217
- package/index170.js +1 -1
- package/index170.mjs +50 -132
- package/index171.js +1 -1
- package/index171.mjs +21 -14
- package/index172.js +1 -1
- package/index172.mjs +30 -4
- package/index173.js +1 -1
- package/index173.mjs +33 -6
- package/index174.js +1 -1
- package/index174.mjs +27 -35
- package/index175.js +1 -1
- package/index175.mjs +215 -17
- package/index176.js +1 -1
- package/index176.mjs +14 -43
- package/index177.js +1 -1
- package/index177.mjs +4 -154
- package/index178.js +1 -1
- package/index178.mjs +6 -100
- package/index179.js +1 -1
- package/index179.mjs +37 -17
- package/index180.js +1 -1
- package/index180.mjs +16 -134
- package/index181.js +1 -1
- package/index181.mjs +40 -93
- package/index182.js +1 -1
- package/index182.mjs +151 -24
- package/index183.js +1 -1
- package/index183.mjs +100 -381
- package/index184.js +1 -1
- package/index184.mjs +16 -94
- package/index185.js +1 -1
- package/index185.mjs +2 -2
- package/index186.js +1 -1
- package/index186.mjs +2 -2
- package/index189.js +1 -1
- package/index189.mjs +2 -2
- package/index190.js +1 -1
- package/index190.mjs +2 -2
- package/index191.js +1 -1
- package/index191.mjs +2 -2
- package/index192.js +1 -1
- package/index192.mjs +1 -1
- package/index193.js +1 -1
- package/index193.mjs +2 -2
- package/index194.js +1 -1
- package/index194.mjs +1 -1
- package/index195.js +1 -1
- package/index195.mjs +1 -1
- package/index196.js +1 -1
- package/index196.mjs +1 -1
- package/index198.js +1 -1
- package/index198.mjs +70 -201
- package/index199.js +1 -1
- package/index199.mjs +91 -60
- package/index200.js +1 -1
- package/index200.mjs +151 -139
- package/index201.js +1 -1
- package/index201.mjs +72 -125
- package/index202.js +1 -1
- package/index202.mjs +38 -220
- package/index203.js +1 -1
- package/index203.mjs +5 -190
- package/index204.js +1 -1
- package/index204.mjs +60 -68
- package/index205.js +1 -1
- package/index205.mjs +53 -273
- package/index206.js +1 -1
- package/index206.mjs +191 -86
- package/index207.js +1 -1
- package/index207.mjs +56 -180
- package/index208.js +1 -1
- package/index208.mjs +134 -75
- package/index209.js +1 -1
- package/index209.mjs +118 -52
- package/index21.js +1 -1
- package/index21.mjs +96 -92
- package/index210.js +1 -1
- package/index210.mjs +214 -116
- package/index211.js +1 -1
- package/index211.mjs +181 -107
- package/index212.js +1 -1
- package/index212.mjs +61 -114
- package/index213.js +1 -1
- package/index213.mjs +272 -65
- package/index214.js +1 -1
- package/index214.mjs +93 -105
- package/index215.js +1 -1
- package/index215.mjs +183 -47
- package/index216.js +1 -1
- package/index216.mjs +77 -86
- package/index217.js +1 -1
- package/index217.mjs +53 -65
- package/index218.js +1 -1
- package/index218.mjs +122 -52
- package/index219.js +1 -1
- package/index219.mjs +111 -94
- package/index220.js +1 -5
- package/index220.mjs +117 -75
- package/index221.js +1 -1
- package/index221.mjs +63 -2016
- package/index222.js +1 -1
- package/index222.mjs +105 -54
- package/index223.js +1 -1
- package/index223.mjs +50 -186
- package/index224.js +1 -1
- package/index224.mjs +89 -68
- package/index225.js +1 -1
- package/index225.mjs +68 -93
- package/index226.js +1 -1
- package/index226.mjs +52 -151
- package/index227.js +1 -1
- package/index227.mjs +100 -72
- package/index228.js +5 -1
- package/index228.mjs +78 -40
- package/index229.js +1 -1
- package/index229.mjs +2025 -5
- package/index230.js +1 -1
- package/index230.mjs +59 -61
- package/index231.js +1 -1
- package/index231.mjs +187 -58
- package/index232.js +1 -1
- package/index232.mjs +71 -19
- package/index233.js +1 -1
- package/index233.mjs +45 -20
- package/index234.js +1 -1
- package/index234.mjs +30 -20
- package/index235.js +1 -1
- package/index235.mjs +19 -19
- package/index236.js +1 -1
- package/index236.mjs +19 -19
- package/index237.js +1 -1
- package/index237.mjs +19 -19
- package/index238.js +1 -1
- package/index238.mjs +15 -15
- package/index239.js +1 -1
- package/index239.mjs +19 -19
- package/index240.js +1 -1
- package/index240.mjs +19 -19
- package/index241.js +1 -1
- package/index241.mjs +19 -19
- package/index242.js +1 -1
- package/index242.mjs +16 -16
- package/index243.js +1 -1
- package/index243.mjs +19 -19
- package/index244.js +1 -1
- package/index244.mjs +16 -16
- package/index245.js +1 -1
- package/index245.mjs +16 -16
- package/index246.js +1 -1
- package/index246.mjs +19 -19
- package/index247.js +1 -1
- package/index247.mjs +19 -19
- package/index248.js +1 -1
- package/index248.mjs +19 -19
- package/index249.js +1 -1
- package/index249.mjs +18 -18
- package/index250.js +1 -1
- package/index250.mjs +19 -19
- package/index251.js +1 -1
- package/index251.mjs +19 -19
- package/index252.js +1 -1
- package/index252.mjs +19 -19
- package/index253.js +1 -1
- package/index253.mjs +16 -16
- package/index254.js +1 -1
- package/index254.mjs +19 -19
- package/index255.js +1 -1
- package/index255.mjs +19 -19
- package/index256.js +1 -1
- package/index256.mjs +16 -16
- package/index257.js +1 -1
- package/index257.mjs +18 -18
- package/index258.js +1 -1
- package/index258.mjs +16 -16
- package/index259.js +1 -1
- package/index259.mjs +16 -16
- package/index260.js +1 -1
- package/index260.mjs +16 -16
- package/index261.js +1 -1
- package/index261.mjs +19 -19
- package/index262.js +1 -1
- package/index262.mjs +16 -16
- package/index263.js +1 -1
- package/index263.mjs +15 -15
- package/index264.js +1 -1
- package/index264.mjs +19 -19
- package/index265.js +1 -1
- package/index265.mjs +19 -19
- package/index266.js +1 -1
- package/index266.mjs +19 -71
- package/index267.js +1 -1
- package/index267.mjs +20 -45
- package/index268.js +1 -1
- package/index268.mjs +20 -30
- package/index270.js +1 -1
- package/index270.mjs +1 -1
- package/index275.js +1 -1
- package/index275.mjs +2 -2
- package/index280.js +1 -1
- package/index280.mjs +1 -1
- package/index283.js +1 -1
- package/index283.mjs +1 -1
- package/index284.js +1 -1
- package/index284.mjs +1 -1
- package/index285.js +1 -1
- package/index285.mjs +44 -126
- package/index286.js +1 -1
- package/index286.mjs +16 -191
- package/index287.js +1 -1
- package/index287.mjs +16 -10
- package/index288.js +1 -1
- package/index288.mjs +16 -4
- package/index289.js +1 -1
- package/index289.mjs +16 -37
- package/index290.js +1 -1
- package/index290.mjs +16 -6
- package/index291.js +1 -1
- package/index291.mjs +16 -30
- package/index292.js +1 -1
- package/index292.mjs +16 -7
- package/index293.js +1 -1
- package/index293.mjs +16 -49
- package/index294.js +1 -1
- package/index294.mjs +15 -15
- package/index295.js +1 -1
- package/index295.mjs +15 -15
- package/index296.js +1 -1
- package/index296.mjs +12 -12
- package/index297.js +1 -1
- package/index297.mjs +15 -15
- package/index298.js +1 -1
- package/index298.mjs +15 -15
- package/index299.js +1 -1
- package/index299.mjs +15 -15
- package/index300.js +1 -1
- package/index300.mjs +15 -15
- package/index301.js +1 -1
- package/index301.mjs +15 -15
- package/index302.js +1 -1
- package/index302.mjs +15 -15
- package/index303.js +1 -1
- package/index303.mjs +15 -15
- package/index304.js +1 -1
- package/index304.mjs +12 -12
- package/index305.js +1 -1
- package/index305.mjs +15 -15
- package/index306.js +1 -1
- package/index306.mjs +15 -15
- package/index307.js +1 -1
- package/index307.mjs +15 -15
- package/index308.js +1 -1
- package/index308.mjs +12 -12
- package/index309.js +1 -1
- package/index309.mjs +15 -15
- package/index310.js +1 -1
- package/index310.mjs +15 -15
- package/index311.js +1 -1
- package/index311.mjs +15 -15
- package/index312.js +1 -1
- package/index312.mjs +12 -12
- package/index313.js +1 -1
- package/index313.mjs +15 -15
- package/index314.js +1 -1
- package/index314.mjs +15 -15
- package/index315.js +1 -1
- package/index315.mjs +15 -15
- package/index316.js +1 -1
- package/index316.mjs +12 -12
- package/index317.js +1 -1
- package/index317.mjs +15 -15
- package/index318.js +1 -1
- package/index318.mjs +15 -15
- package/index319.js +1 -1
- package/index319.mjs +12 -12
- package/index320.js +1 -1
- package/index320.mjs +130 -15
- package/index321.js +1 -1
- package/index321.mjs +191 -16
- package/index322.js +1 -1
- package/index322.mjs +10 -16
- package/index323.js +1 -1
- package/index323.mjs +4 -16
- package/index324.js +1 -1
- package/index324.mjs +37 -16
- package/index325.js +1 -1
- package/index325.mjs +6 -16
- package/index326.js +1 -1
- package/index326.mjs +30 -16
- package/index327.js +1 -1
- package/index327.mjs +7 -16
- package/index328.js +1 -1
- package/index328.mjs +1 -1
- package/index329.js +1 -1
- package/index329.mjs +1 -1
- package/index333.js +1 -1
- package/index333.mjs +3 -3
- package/index339.js +1 -1
- package/index339.mjs +1 -1
- package/index340.js +1 -1
- package/index340.mjs +1 -1
- package/index343.js +1 -1
- package/index343.mjs +1 -1
- package/index345.js +1 -1
- package/index345.mjs +8 -6
- package/index346.js +1 -1
- package/index346.mjs +7 -117
- package/index347.js +1 -1
- package/index347.mjs +7 -71
- package/index348.js +1 -1
- package/index348.mjs +7 -7
- package/index349.js +1 -1
- package/index349.mjs +7 -7
- package/index350.js +1 -1
- package/index350.mjs +7 -7
- package/index351.js +1 -1
- package/index351.mjs +4 -4
- package/index352.js +1 -1
- package/index352.mjs +4 -4
- package/index353.js +1 -1
- package/index353.mjs +7 -7
- package/index354.js +1 -1
- package/index354.mjs +4 -4
- package/index355.js +1 -1
- package/index355.mjs +4 -4
- package/index356.js +1 -1
- package/index356.mjs +7 -7
- package/index357.js +1 -1
- package/index357.mjs +7 -7
- package/index358.js +1 -1
- package/index358.mjs +4 -4
- package/index359.js +1 -1
- package/index359.mjs +7 -7
- package/index360.js +1 -1
- package/index360.mjs +4 -4
- package/index361.js +1 -1
- package/index361.mjs +7 -7
- package/index362.js +1 -1
- package/index362.mjs +7 -7
- package/index363.js +1 -1
- package/index363.mjs +7 -7
- package/index364.js +1 -1
- package/index364.mjs +7 -7
- package/index365.js +1 -1
- package/index365.mjs +7 -7
- package/index366.js +1 -1
- package/index366.mjs +4 -4
- package/index367.js +1 -1
- package/index367.mjs +4 -4
- package/index368.js +1 -1
- package/index368.mjs +4 -4
- package/index369.js +1 -1
- package/index369.mjs +7 -7
- package/index370.js +1 -1
- package/index370.mjs +7 -7
- package/index371.js +1 -1
- package/index371.mjs +4 -4
- package/index372.js +1 -1
- package/index372.mjs +7 -7
- package/index373.js +1 -1
- package/index373.mjs +7 -7
- package/index374.js +1 -1
- package/index374.mjs +4 -4
- package/index375.js +1 -1
- package/index375.mjs +7 -7
- package/index376.js +1 -1
- package/index376.mjs +7 -7
- package/index377.js +1 -1
- package/index377.mjs +7 -7
- package/index378.js +1 -1
- package/index378.mjs +7 -7
- package/index379.js +1 -1
- package/index379.mjs +117 -7
- package/index380.js +1 -1
- package/index380.mjs +71 -7
- package/index381.js +1 -1
- package/index381.mjs +6 -8
- package/package.json +1 -1
package/index325.mjs
CHANGED
|
@@ -1,18 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
maximumDate: "Остання доступна дата",
|
|
7
|
-
minimumDate: "Перша доступна дата",
|
|
8
|
-
next: "Наступний",
|
|
9
|
-
previous: "Попередній",
|
|
10
|
-
selectedDateDescription: (u) => `Вибрана дата: ${u.date}`,
|
|
11
|
-
selectedRangeDescription: (u) => `Вибраний діапазон: ${u.dateRange}`,
|
|
12
|
-
startRangeSelectionPrompt: "Натисніть, щоб почати вибір діапазону дат",
|
|
13
|
-
todayDate: (u) => `Сьогодні, ${u.date}`,
|
|
14
|
-
todayDateSelected: (u) => `Сьогодні, вибрано ${u.date}`
|
|
15
|
-
};
|
|
1
|
+
import { g as i } from "./index321.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;
|
|
5
|
+
}
|
|
16
6
|
export {
|
|
17
|
-
|
|
7
|
+
r as e
|
|
18
8
|
};
|
package/index326.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index321.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/index326.mjs
CHANGED
|
@@ -1,18 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { k as f } from "./index321.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);
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
16
30
|
export {
|
|
17
|
-
|
|
31
|
+
p as e
|
|
18
32
|
};
|
package/index327.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index321.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/index327.mjs
CHANGED
|
@@ -1,18 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
minimumDate: "第一個可用日期",
|
|
8
|
-
next: "下一頁",
|
|
9
|
-
previous: "上一頁",
|
|
10
|
-
selectedDateDescription: (u) => `選定的日期:${u.date}`,
|
|
11
|
-
selectedRangeDescription: (u) => `選定的範圍:${u.dateRange}`,
|
|
12
|
-
startRangeSelectionPrompt: "按一下以開始選取日期範圍",
|
|
13
|
-
todayDate: (u) => `今天,${u.date}`,
|
|
14
|
-
todayDateSelected: (u) => `已選取今天,${u.date}`
|
|
15
|
-
};
|
|
1
|
+
import { g as i, c as l } from "./index321.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;
|
|
6
|
+
}
|
|
16
7
|
export {
|
|
17
|
-
|
|
8
|
+
d as c
|
|
18
9
|
};
|
package/index328.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("./index329.js"),A=require("./index330.js"),f=require("react"),P=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("./index329.js"),A=require("./index330.js"),f=require("react"),P=require("./index177.js"),j=require("./index279.js"),D=require("@react-aria/i18n");let e=typeof document<"u"?window.visualViewport:null;function G(n){let{direction:h}=D.useLocale(),{arrowSize:$=0,targetRef:v,overlayRef:i,scrollRef:s=i,placement:w="bottom",containerPadding:C=12,shouldFlip:H=!0,boundaryElement:R=typeof document<"u"?document.body:null,offset:S=0,crossOffset:B=0,shouldUpdatePosition:q=!0,isOpen:p=!0,onClose:m,maxHeight:O,arrowBoundaryOffset:T=0}=n,[t,k]=f.useState(null),F=[q,w,i.current,v.current,s.current,C,H,R,S,B,p,h,O,T,$],N=f.useRef(e==null?void 0:e.scale);f.useEffect(()=>{p&&(N.current=e==null?void 0:e.scale)},[p]);let u=f.useCallback(()=>{if(q===!1||!p||!i.current||!v.current||!R||(e==null?void 0:e.scale)!==N.current)return;let o=null;if(s.current&&s.current.contains(document.activeElement)){var a;let r=(a=document.activeElement)===null||a===void 0?void 0:a.getBoundingClientRect(),g=s.current.getBoundingClientRect();var d;if(o={type:"top",offset:((d=r==null?void 0:r.top)!==null&&d!==void 0?d:0)-g.top},o.offset>g.height/2){o.type="bottom";var x;o.offset=((x=r==null?void 0:r.bottom)!==null&&x!==void 0?x:0)-g.bottom}}let l=i.current;if(!O&&i.current){var z;l.style.top="0px",l.style.bottom="";var L;l.style.maxHeight=((L=(z=window.visualViewport)===null||z===void 0?void 0:z.height)!==null&&L!==void 0?L:window.innerHeight)+"px"}let c=M.calculatePosition({placement:K(w,h),overlayNode:i.current,targetNode:v.current,scrollNode:s.current||i.current,padding:C,shouldFlip:H,boundaryElement:R,offset:S,crossOffset:B,maxHeight:O,arrowSize:$,arrowBoundaryOffset:T});if(c.position){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&&s.current){let r=document.activeElement.getBoundingClientRect(),g=s.current.getBoundingClientRect(),I=r[o.type]-g[o.type];s.current.scrollTop+=I-o.offset}k(c)}},F);P.useLayoutEffect(u,F),J(u),j.useResizeObserver({ref:i,onResize:u}),j.useResizeObserver({ref:v,onResize:u});let y=f.useRef(!1);P.useLayoutEffect(()=>{let o,a=()=>{y.current=!0,clearTimeout(o),o=setTimeout(()=>{y.current=!1},500),u()},d=()=>{y.current&&a()};return e==null||e.addEventListener("resize",a),e==null||e.addEventListener("scroll",d),()=>{e==null||e.removeEventListener("resize",a),e==null||e.removeEventListener("scroll",d)}},[u]);let U=f.useCallback(()=>{y.current||m==null||m()},[m,y]);A.useCloseOnScroll({triggerRef:v,isOpen:p,onClose:m&&U});var b,E;return{overlayProps:{style:{position:"absolute",zIndex:1e5,...t==null?void 0:t.position,maxHeight:(b=t==null?void 0:t.maxHeight)!==null&&b!==void 0?b:"100vh"}},placement:(E=t==null?void 0:t.placement)!==null&&E!==void 0?E:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:t==null?void 0:t.arrowOffsetLeft,top:t==null?void 0:t.arrowOffsetTop}},updatePosition:u}}function J(n){P.useLayoutEffect(()=>(window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)}),[n])}function K(n,h){return h==="rtl"?n.replace("start","right").replace("end","left"):n.replace("start","left").replace("end","right")}exports.useOverlayPosition=G;
|
package/index328.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { calculatePosition as D } from "./index329.mjs";
|
|
2
2
|
import { useCloseOnScroll as G } from "./index330.mjs";
|
|
3
3
|
import { useState as J, useRef as U, useEffect as K, useCallback as j } from "react";
|
|
4
|
-
import { useLayoutEffect as z } from "./
|
|
4
|
+
import { useLayoutEffect as z } from "./index177.mjs";
|
|
5
5
|
import { useResizeObserver as k } from "./index279.mjs";
|
|
6
6
|
import { useLocale as M } from "@react-aria/i18n";
|
|
7
7
|
let e = typeof document < "u" ? window.visualViewport : null;
|
package/index329.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const it=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const it=require("./index179.js"),q=require("./index344.js"),x={top:"top",bottom:"top",left:"left",right:"left"},z={top:"bottom",bottom:"top",left:"right",right:"left"},ct={top:"left",left:"top"},j={top:"height",left:"width"},B={width:"totalWidth",height:"totalHeight"},H={};let $=typeof document<"u"?window.visualViewport:null;function G(e){let t=0,o=0,c=0,i=0,r=0,f=0,l={};var v;let p=((v=$==null?void 0:$.scale)!==null&&v!==void 0?v:1)>1;if(e.tagName==="BODY"){let h=document.documentElement;c=h.clientWidth,i=h.clientHeight;var s;t=(s=$==null?void 0:$.width)!==null&&s!==void 0?s:c;var d;o=(d=$==null?void 0:$.height)!==null&&d!==void 0?d:i,l.top=h.scrollTop||e.scrollTop,l.left=h.scrollLeft||e.scrollLeft,$&&(r=$.offsetTop,f=$.offsetLeft)}else({width:t,height:o,top:r,left:f}=M(e)),l.top=e.scrollTop,l.left=e.scrollLeft,c=t,i=o;if(it.isWebKit()&&(e.tagName==="BODY"||e.tagName==="HTML")&&p){l.top=0,l.left=0;var g;r=(g=$==null?void 0:$.pageTop)!==null&&g!==void 0?g:0;var n;f=(n=$==null?void 0:$.pageLeft)!==null&&n!==void 0?n:0}return{width:t,height:o,totalWidth:c,totalHeight:i,scroll:l,top:r,left:f}}function nt(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function K(e,t,o,c,i,r,f){var l;let v=(l=i.scroll[e])!==null&&l!==void 0?l:0,p=c[j[e]],s=c.scroll[x[e]]+r,d=p+c.scroll[x[e]]-r,g=t-v+f[e]-c[x[e]],n=t-v+o+f[e]-c[x[e]];return g<s?s-g:n>d?Math.max(d-n,s-g):0}function rt(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}function J(e){if(H[e])return H[e];let[t,o]=e.split(" "),c=x[t]||"right",i=ct[c];x[o]||(o="center");let r=j[c],f=j[i];return H[e]={placement:t,crossPlacement:o,axis:c,crossAxis:i,size:r,crossSize:f},H[e]}function Z(e,t,o,c,i,r,f,l,v,p){let{placement:s,crossPlacement:d,axis:g,crossAxis:n,size:h,crossSize:u}=c,a={};var w;a[n]=(w=e[n])!==null&&w!==void 0?w:0;var m,P,E,T;d==="center"?a[n]+=(((m=e[u])!==null&&m!==void 0?m:0)-((P=o[u])!==null&&P!==void 0?P:0))/2:d!==n&&(a[n]+=((E=e[u])!==null&&E!==void 0?E:0)-((T=o[u])!==null&&T!==void 0?T:0)),a[n]+=r;const _=e[n]-o[u]+v+p,S=e[n]+e[u]-v-p;if(a[n]=q.clamp(a[n],_,S),s===g){const L=l?f[h]:t[B[h]];a[z[g]]=Math.floor(L-e[g]+i)}else a[g]=Math.floor(e[g]+e[h]+i);return a}function at(e,t,o,c,i,r,f,l){const v=c?o.height:t[B.height];var p;let s=e.top!=null?o.top+e.top:o.top+(v-((p=e.bottom)!==null&&p!==void 0?p:0)-f);var d,g,n,h,u,a;let w=l!=="top"?Math.max(0,t.height+t.top+((d=t.scroll.top)!==null&&d!==void 0?d:0)-s-(((g=i.top)!==null&&g!==void 0?g:0)+((n=i.bottom)!==null&&n!==void 0?n:0)+r)):Math.max(0,s+f-(t.top+((h=t.scroll.top)!==null&&h!==void 0?h:0))-(((u=i.top)!==null&&u!==void 0?u:0)+((a=i.bottom)!==null&&a!==void 0?a:0)+r));return Math.min(t.height-r*2,w)}function Q(e,t,o,c,i,r){let{placement:f,axis:l,size:v}=r;var p,s;if(f===l)return Math.max(0,o[l]-e[l]-((p=e.scroll[l])!==null&&p!==void 0?p:0)+t[l]-((s=c[l])!==null&&s!==void 0?s:0)-c[z[l]]-i);var d;return Math.max(0,e[v]+e[l]+e.scroll[l]-t[l]-o[l]-o[v]-((d=c[l])!==null&&d!==void 0?d:0)-c[z[l]]-i)}function V(e,t,o,c,i,r,f,l,v,p,s,d,g,n,h,u){let a=J(e),{size:w,crossAxis:m,crossSize:P,placement:E,crossPlacement:T}=a,_=Z(t,l,o,a,s,d,p,g,h,u),S=s,L=Q(l,p,t,i,r+s,a);if(f&&c[w]>L){let X=J(`${z[E]} ${T}`),ot=Z(t,l,o,X,s,d,p,g,h,u);Q(l,p,t,i,r+s,X)>L&&(a=X,_=ot,S=s)}let b="bottom";a.axis==="top"?a.placement==="top"?b="top":a.placement==="bottom"&&(b="bottom"):a.crossAxis==="top"&&(a.crossPlacement==="top"?b="bottom":a.crossPlacement==="bottom"&&(b="top"));let I=K(m,_[m],o[P],l,v,r,p);_[m]+=I;let C=at(_,l,p,g,i,r,o.height,b);n&&n<C&&(C=n),o.height=Math.min(o.height,C),_=Z(t,l,o,a,S,d,p,g,h,u),I=K(m,_[m],o[P],l,v,r,p),_[m]+=I;let A={},k=t[m]+.5*t[P]-_[m]-i[x[m]];const D=h/2+u;var F,N,R,Y;const O=x[m]==="left"?((F=i.left)!==null&&F!==void 0?F:0)+((N=i.right)!==null&&N!==void 0?N:0):((R=i.top)!==null&&R!==void 0?R:0)+((Y=i.bottom)!==null&&Y!==void 0?Y:0),y=o[P]-O-h/2-u,tt=t[m]+h/2-(_[m]+i[x[m]]),et=t[m]+t[P]-h/2-(_[m]+i[x[m]]),lt=q.clamp(k,tt,et);return A[m]=q.clamp(lt,D,y),{position:_,maxHeight:C,arrowOffsetLeft:A.left,arrowOffsetTop:A.top,placement:a.placement}}function pt(e){let{placement:t,targetNode:o,overlayNode:c,scrollNode:i,padding:r,shouldFlip:f,boundaryElement:l,offset:v,crossOffset:p,maxHeight:s,arrowSize:d=0,arrowBoundaryOffset:g=0}=e,n=c instanceof HTMLElement?st(c):document.documentElement,h=n===document.documentElement;const u=window.getComputedStyle(n).position;let a=!!u&&u!=="static",w=h?M(o):U(o,n);if(!h){let{marginTop:A,marginLeft:k}=window.getComputedStyle(o);w.top+=parseInt(A,10)||0,w.left+=parseInt(k,10)||0}let m=M(c),P=rt(c);var E,T;m.width+=((E=P.left)!==null&&E!==void 0?E:0)+((T=P.right)!==null&&T!==void 0?T:0);var _,S;m.height+=((_=P.top)!==null&&_!==void 0?_:0)+((S=P.bottom)!==null&&S!==void 0?S:0);let L=nt(i),b=G(l),I=G(n),C=l.tagName==="BODY"?M(n):U(n,l);return n.tagName==="HTML"&&l.tagName==="BODY"&&(I.scroll.top=0,I.scroll.left=0),V(t,w,m,L,P,r,f,b,I,C,v,p,a,s,d,g)}function M(e){let{top:t,left:o,width:c,height:i}=e.getBoundingClientRect(),{scrollTop:r,scrollLeft:f,clientTop:l,clientLeft:v}=document.documentElement;return{top:t+r-l,left:o+f-v,width:c,height:i}}function U(e,t){let o=window.getComputedStyle(e),c;if(o.position==="fixed"){let{top:i,left:r,width:f,height:l}=e.getBoundingClientRect();c={top:i,left:r,width:f,height:l}}else{c=M(e);let i=M(t),r=window.getComputedStyle(t);i.top+=(parseInt(r.borderTopWidth,10)||0)-t.scrollTop,i.left+=(parseInt(r.borderLeftWidth,10)||0)-t.scrollLeft,c.top-=i.top,c.left-=i.left}return c.top-=parseInt(o.marginTop,10)||0,c.left-=parseInt(o.marginLeft,10)||0,c}function st(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!W(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!W(t);)t=t.parentElement;return t||document.documentElement}function W(e){let t=window.getComputedStyle(e);return t.transform!=="none"||/transform|perspective/.test(t.willChange)||t.filter!=="none"||t.contain==="paint"||"backdropFilter"in t&&t.backdropFilter!=="none"||"WebkitBackdropFilter"in t&&t.WebkitBackdropFilter!=="none"}exports.calculatePosition=pt;exports.calculatePositionInternal=V;
|
package/index329.mjs
CHANGED
package/index333.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("./index272.js"),y=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("./index272.js"),y=require("./index177.js"),g=require("./index178.js"),S=require("./index179.js"),m=typeof document<"u"&&window.visualViewport,T=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let s=0,f;function b(e={}){let{isDisabled:t}=e;y.useLayoutEffect(()=>{if(!t)return s++,s===1&&(S.isIOS()?f=L():f=x()),()=>{s--,s===0&&f()}},[t])}function x(){return v.chain(l(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),l(document.documentElement,"overflow","hidden"))}function L(){let e,t,n=r=>{e=g.getScrollParent(r.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=l(e,"overscrollBehavior","contain"))},o=r=>{if(!e||e===document.documentElement||e===document.body){r.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&r.preventDefault()},u=r=>{let c=r.target;h(c)&&c!==document.activeElement&&(r.preventDefault(),p(),c.style.transform="translateY(-2000px)",c.focus(),requestAnimationFrame(()=>{c.style.transform=""})),t&&t()},a=r=>{let c=r.target;h(c)&&(p(),c.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{c.style.transform="",m&&(m.height<window.innerHeight?requestAnimationFrame(()=>{w(c)}):m.addEventListener("resize",()=>w(c),{once:!0}))}))},i=null,p=()=>{if(i)return;let r=()=>{window.scrollTo(0,0)},c=window.pageXOffset,$=window.pageYOffset;i=v.chain(d(window,"scroll",r),l(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),l(document.documentElement,"overflow","hidden"),l(document.body,"marginTop",`-${$}px`),()=>{window.scrollTo(c,$)}),window.scrollTo(0,0)},E=v.chain(d(document,"touchstart",n,{passive:!1,capture:!0}),d(document,"touchmove",o,{passive:!1,capture:!0}),d(document,"touchend",u,{passive:!1,capture:!0}),d(document,"focus",a,!0));return()=>{t==null||t(),i==null||i(),E()}}function l(e,t,n){let o=e.style[t];return e.style[t]=n,()=>{e.style[t]=o}}function d(e,t,n,o){return e.addEventListener(t,n,o),()=>{e.removeEventListener(t,n,o)}}function w(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t;){let o=g.getScrollParent(n);if(o!==document.documentElement&&o!==document.body&&o!==n){let u=o.getBoundingClientRect().top,a=n.getBoundingClientRect().top;a>u+n.clientHeight&&(o.scrollTop+=a-u)}n=o.parentElement}}function h(e){return e instanceof HTMLInputElement&&!T.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}exports.usePreventScroll=b;
|
package/index333.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { chain as $ } from "./index272.mjs";
|
|
2
|
-
import { useLayoutEffect as b } from "./
|
|
3
|
-
import { getScrollParent as E } from "./
|
|
4
|
-
import { isIOS as y } from "./
|
|
2
|
+
import { useLayoutEffect as b } from "./index177.mjs";
|
|
3
|
+
import { getScrollParent as E } from "./index178.mjs";
|
|
4
|
+
import { isIOS as y } from "./index179.mjs";
|
|
5
5
|
const m = typeof document < "u" && window.visualViewport, T = /* @__PURE__ */ new Set([
|
|
6
6
|
"checkbox",
|
|
7
7
|
"radio",
|
package/index339.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react"),l=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react"),l=require("./index177.js"),d=require("./index283.js");class i{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,e){this.nativeEvent=e,this.target=e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget,this.bubbles=e.bubbles,this.cancelable=e.cancelable,this.defaultPrevented=e.defaultPrevented,this.eventPhase=e.eventPhase,this.isTrusted=e.isTrusted,this.timeStamp=e.timeStamp,this.type=t}}function b(u){let t=c.useRef({isFocused:!1,observer:null});l.useLayoutEffect(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let e=d.useEffectEvent(r=>{u==null||u(r)});return c.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let s=r.target,o=n=>{t.current.isFocused=!1,s.disabled&&e(new i("blur",n)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};s.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&s.disabled){var n;(n=t.current.observer)===null||n===void 0||n.disconnect();let a=s===document.activeElement?null:document.activeElement;s.dispatchEvent(new FocusEvent("blur",{relatedTarget:a})),s.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:a}))}}),t.current.observer.observe(s,{attributes:!0,attributeFilter:["disabled"]})}},[e])}exports.SyntheticFocusEvent=i;exports.useSyntheticBlurEvent=b;
|
package/index339.mjs
CHANGED
package/index340.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index273.js"),c=require("./index276.js"),o=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index273.js"),c=require("./index276.js"),o=require("./index179.js");let n="default",s="",l=new WeakMap;function r(e){if(o.isIOS()){if(n==="default"){const t=i.getOwnerDocument(e);s=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}n="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(l.set(e,e.style.userSelect),e.style.userSelect="none")}function u(e){if(o.isIOS()){if(n!=="disabled")return;n="restoring",setTimeout(()=>{c.runAfterTransition(()=>{if(n==="restoring"){const t=i.getOwnerDocument(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=s||""),s="",n="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&l.has(e)){let t=l.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),l.delete(e)}}exports.disableTextSelection=r;exports.restoreTextSelection=u;
|
package/index340.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getOwnerDocument as c } from "./index273.mjs";
|
|
2
2
|
import { runAfterTransition as i } from "./index276.mjs";
|
|
3
|
-
import { isIOS as o } from "./
|
|
3
|
+
import { isIOS as o } from "./index179.mjs";
|
|
4
4
|
let n = "default", l = "", s = /* @__PURE__ */ new WeakMap();
|
|
5
5
|
function r(e) {
|
|
6
6
|
if (o()) {
|
package/index343.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index139.js"),u=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index139.js"),u=require("./index176.js");function n(t){let{id:l,label:s,"aria-labelledby":e,"aria-label":b,labelElementType:o="label"}=t;l=r.useId(l);let a=r.useId(),i={};s?(e=e?`${a} ${e}`:a,i={id:a,htmlFor:o==="label"?l:void 0}):!e&&!b&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let d=u.useLabels({id:l,"aria-label":b,"aria-labelledby":e});return{labelProps:i,fieldProps:d}}exports.useLabel=n;
|
package/index343.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useId as r } from "./index139.mjs";
|
|
2
|
-
import { useLabels as f } from "./
|
|
2
|
+
import { useLabels as f } from "./index176.mjs";
|
|
3
3
|
function $(o) {
|
|
4
4
|
let { id: l, label: d, "aria-labelledby": e, "aria-label": b, labelElementType: t = "label" } = o;
|
|
5
5
|
l = r(l);
|
package/index345.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";exports.default={};exports.default={rangeOverflow:u=>`يجب أن تكون القيمة ${u.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:u=>`يجب أن تكون القيمة ${u.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."};module.exports=exports.default;
|
package/index345.mjs
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
var A = {};
|
|
2
|
+
A = {
|
|
3
|
+
rangeOverflow: (u) => `يجب أن تكون القيمة ${u.maxValue} أو قبل ذلك.`,
|
|
4
|
+
rangeReversed: "تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",
|
|
5
|
+
rangeUnderflow: (u) => `يجب أن تكون القيمة ${u.minValue} أو بعد ذلك.`,
|
|
6
|
+
unavailableDate: "البيانات المحددة غير متاحة."
|
|
7
|
+
};
|
|
5
8
|
export {
|
|
6
|
-
|
|
7
|
-
f as tabsIds
|
|
9
|
+
A as default
|
|
8
10
|
};
|
package/index346.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";exports.default={};exports.default={rangeOverflow:u=>`Стойността трябва да е ${u.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:u=>`Стойността трябва да е ${u.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."};module.exports=exports.default;
|
package/index346.mjs
CHANGED
|
@@ -1,120 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
let l = !1;
|
|
9
|
-
try {
|
|
10
|
-
l = new Intl.NumberFormat("de-DE", {
|
|
11
|
-
style: "unit",
|
|
12
|
-
unit: "degree"
|
|
13
|
-
}).resolvedOptions().style === "unit";
|
|
14
|
-
} catch {
|
|
15
|
-
}
|
|
16
|
-
const c = {
|
|
17
|
-
degree: {
|
|
18
|
-
narrow: {
|
|
19
|
-
default: "°",
|
|
20
|
-
"ja-JP": " 度",
|
|
21
|
-
"zh-TW": "度",
|
|
22
|
-
"sl-SI": " °"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
1
|
+
var e = {};
|
|
2
|
+
e = {
|
|
3
|
+
rangeOverflow: (u) => `Стойността трябва да е ${u.maxValue} или по-ранна.`,
|
|
4
|
+
rangeReversed: "Началната дата трябва да е преди крайната.",
|
|
5
|
+
rangeUnderflow: (u) => `Стойността трябва да е ${u.minValue} или по-късно.`,
|
|
6
|
+
unavailableDate: "Избраната дата не е налична."
|
|
25
7
|
};
|
|
26
|
-
class d {
|
|
27
|
-
/** Formats a number value as a string, according to the locale and options provided to the constructor. */
|
|
28
|
-
format(t) {
|
|
29
|
-
let e = "";
|
|
30
|
-
if (!f && this.options.signDisplay != null ? e = m(this.numberFormatter, this.options.signDisplay, t) : e = this.numberFormatter.format(t), this.options.style === "unit" && !l) {
|
|
31
|
-
var i;
|
|
32
|
-
let { unit: a, unitDisplay: s = "short", locale: n } = this.resolvedOptions();
|
|
33
|
-
if (!a) return e;
|
|
34
|
-
let o = (i = c[a]) === null || i === void 0 ? void 0 : i[s];
|
|
35
|
-
e += o[n] || o.default;
|
|
36
|
-
}
|
|
37
|
-
return e;
|
|
38
|
-
}
|
|
39
|
-
/** Formats a number to an array of parts such as separators, digits, punctuation, and more. */
|
|
40
|
-
formatToParts(t) {
|
|
41
|
-
return this.numberFormatter.formatToParts(t);
|
|
42
|
-
}
|
|
43
|
-
/** Formats a number range as a string. */
|
|
44
|
-
formatRange(t, e) {
|
|
45
|
-
if (typeof this.numberFormatter.formatRange == "function") return this.numberFormatter.formatRange(t, e);
|
|
46
|
-
if (e < t) throw new RangeError("End date must be >= start date");
|
|
47
|
-
return `${this.format(t)} – ${this.format(e)}`;
|
|
48
|
-
}
|
|
49
|
-
/** Formats a number range as an array of parts. */
|
|
50
|
-
formatRangeToParts(t, e) {
|
|
51
|
-
if (typeof this.numberFormatter.formatRangeToParts == "function") return this.numberFormatter.formatRangeToParts(t, e);
|
|
52
|
-
if (e < t) throw new RangeError("End date must be >= start date");
|
|
53
|
-
let i = this.numberFormatter.formatToParts(t), a = this.numberFormatter.formatToParts(e);
|
|
54
|
-
return [
|
|
55
|
-
...i.map((s) => ({
|
|
56
|
-
...s,
|
|
57
|
-
source: "startRange"
|
|
58
|
-
})),
|
|
59
|
-
{
|
|
60
|
-
type: "literal",
|
|
61
|
-
value: " – ",
|
|
62
|
-
source: "shared"
|
|
63
|
-
},
|
|
64
|
-
...a.map((s) => ({
|
|
65
|
-
...s,
|
|
66
|
-
source: "endRange"
|
|
67
|
-
}))
|
|
68
|
-
];
|
|
69
|
-
}
|
|
70
|
-
/** Returns the resolved formatting options based on the values passed to the constructor. */
|
|
71
|
-
resolvedOptions() {
|
|
72
|
-
let t = this.numberFormatter.resolvedOptions();
|
|
73
|
-
return !f && this.options.signDisplay != null && (t = {
|
|
74
|
-
...t,
|
|
75
|
-
signDisplay: this.options.signDisplay
|
|
76
|
-
}), !l && this.options.style === "unit" && (t = {
|
|
77
|
-
...t,
|
|
78
|
-
style: "unit",
|
|
79
|
-
unit: this.options.unit,
|
|
80
|
-
unitDisplay: this.options.unitDisplay
|
|
81
|
-
}), t;
|
|
82
|
-
}
|
|
83
|
-
constructor(t, e = {}) {
|
|
84
|
-
this.numberFormatter = p(t, e), this.options = e;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
function p(r, t = {}) {
|
|
88
|
-
let { numberingSystem: e } = t;
|
|
89
|
-
if (e && r.includes("-nu-") && (r.includes("-u-") || (r += "-u-"), r += `-nu-${e}`), t.style === "unit" && !l) {
|
|
90
|
-
var i;
|
|
91
|
-
let { unit: n, unitDisplay: o = "short" } = t;
|
|
92
|
-
if (!n) throw new Error('unit option must be provided with style: "unit"');
|
|
93
|
-
if (!(!((i = c[n]) === null || i === void 0) && i[o])) throw new Error(`Unsupported unit ${n} with unitDisplay = ${o}`);
|
|
94
|
-
t = {
|
|
95
|
-
...t,
|
|
96
|
-
style: "decimal"
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
let a = r + (t ? Object.entries(t).sort((n, o) => n[0] < o[0] ? -1 : 1).join() : "");
|
|
100
|
-
if (u.has(a)) return u.get(a);
|
|
101
|
-
let s = new Intl.NumberFormat(r, t);
|
|
102
|
-
return u.set(a, s), s;
|
|
103
|
-
}
|
|
104
|
-
function m(r, t, e) {
|
|
105
|
-
if (t === "auto") return r.format(e);
|
|
106
|
-
if (t === "never") return r.format(Math.abs(e));
|
|
107
|
-
{
|
|
108
|
-
let i = !1;
|
|
109
|
-
if (t === "always" ? i = e > 0 || Object.is(e, 0) : t === "exceptZero" && (Object.is(e, -0) || Object.is(e, 0) ? e = Math.abs(e) : i = e > 0), i) {
|
|
110
|
-
let a = r.format(-e), s = r.format(e), n = a.replace(s, "").replace(/\u200e|\u061C/, "");
|
|
111
|
-
return [
|
|
112
|
-
...n
|
|
113
|
-
].length !== 1 && console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"), a.replace(s, "!!!").replace(n, "+").replace("!!!", s);
|
|
114
|
-
} else return r.format(e);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
8
|
export {
|
|
118
|
-
|
|
119
|
-
m as numberFormatSignDisplayPolyfill
|
|
9
|
+
e as default
|
|
120
10
|
};
|
package/index347.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";exports.default={};exports.default={rangeOverflow:e=>`Hodnota musí být ${e.maxValue} nebo dřívější.`,rangeReversed:"Datum zahájení musí předcházet datu ukončení.",rangeUnderflow:e=>`Hodnota musí být ${e.minValue} nebo pozdější.`,unavailableDate:"Vybrané datum není k dispozici."};module.exports=exports.default;
|
package/index347.mjs
CHANGED
|
@@ -1,74 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import $ from "./index425.mjs";
|
|
8
|
-
import m from "./index426.mjs";
|
|
9
|
-
import c from "./index427.mjs";
|
|
10
|
-
import b from "./index428.mjs";
|
|
11
|
-
import s from "./index429.mjs";
|
|
12
|
-
import a from "./index430.mjs";
|
|
13
|
-
import i from "./index431.mjs";
|
|
14
|
-
import x from "./index432.mjs";
|
|
15
|
-
import d from "./index433.mjs";
|
|
16
|
-
import R from "./index434.mjs";
|
|
17
|
-
import l from "./index435.mjs";
|
|
18
|
-
import E from "./index436.mjs";
|
|
19
|
-
import S from "./index437.mjs";
|
|
20
|
-
import h from "./index438.mjs";
|
|
21
|
-
import L from "./index439.mjs";
|
|
22
|
-
import T from "./index440.mjs";
|
|
23
|
-
import u from "./index441.mjs";
|
|
24
|
-
import I from "./index442.mjs";
|
|
25
|
-
import P from "./index443.mjs";
|
|
26
|
-
import U from "./index444.mjs";
|
|
27
|
-
import k from "./index445.mjs";
|
|
28
|
-
import n from "./index446.mjs";
|
|
29
|
-
import v from "./index447.mjs";
|
|
30
|
-
import K from "./index448.mjs";
|
|
31
|
-
import N from "./index449.mjs";
|
|
32
|
-
import z from "./index450.mjs";
|
|
33
|
-
import A from "./index451.mjs";
|
|
34
|
-
import B from "./index452.mjs";
|
|
35
|
-
var C = {};
|
|
36
|
-
C = {
|
|
37
|
-
"ar-AE": r,
|
|
38
|
-
"bg-BG": o,
|
|
39
|
-
"cs-CZ": e,
|
|
40
|
-
"da-DK": t,
|
|
41
|
-
"de-DE": f,
|
|
42
|
-
"el-GR": p,
|
|
43
|
-
"en-US": $,
|
|
44
|
-
"es-ES": m,
|
|
45
|
-
"et-EE": c,
|
|
46
|
-
"fi-FI": b,
|
|
47
|
-
"fr-FR": s,
|
|
48
|
-
"he-IL": a,
|
|
49
|
-
"hr-HR": i,
|
|
50
|
-
"hu-HU": x,
|
|
51
|
-
"it-IT": d,
|
|
52
|
-
"ja-JP": R,
|
|
53
|
-
"ko-KR": l,
|
|
54
|
-
"lt-LT": E,
|
|
55
|
-
"lv-LV": S,
|
|
56
|
-
"nb-NO": h,
|
|
57
|
-
"nl-NL": L,
|
|
58
|
-
"pl-PL": T,
|
|
59
|
-
"pt-BR": u,
|
|
60
|
-
"pt-PT": I,
|
|
61
|
-
"ro-RO": P,
|
|
62
|
-
"ru-RU": U,
|
|
63
|
-
"sk-SK": k,
|
|
64
|
-
"sl-SI": n,
|
|
65
|
-
"sr-SP": v,
|
|
66
|
-
"sv-SE": K,
|
|
67
|
-
"tr-TR": N,
|
|
68
|
-
"uk-UA": z,
|
|
69
|
-
"zh-CN": A,
|
|
70
|
-
"zh-TW": B
|
|
1
|
+
var d = {};
|
|
2
|
+
d = {
|
|
3
|
+
rangeOverflow: (e) => `Hodnota musí být ${e.maxValue} nebo dřívější.`,
|
|
4
|
+
rangeReversed: "Datum zahájení musí předcházet datu ukončení.",
|
|
5
|
+
rangeUnderflow: (e) => `Hodnota musí být ${e.minValue} nebo pozdější.`,
|
|
6
|
+
unavailableDate: "Vybrané datum není k dispozici."
|
|
71
7
|
};
|
|
72
8
|
export {
|
|
73
|
-
|
|
9
|
+
d as default
|
|
74
10
|
};
|
package/index348.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.default={};exports.default={rangeOverflow:
|
|
1
|
+
"use strict";exports.default={};exports.default={rangeOverflow:e=>`Værdien skal være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen skal være før slutdatoen.",rangeUnderflow:e=>`Værdien skal være ${e.minValue} eller nyere.`,unavailableDate:"Den valgte dato er ikke tilgængelig."};module.exports=exports.default;
|
package/index348.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
var
|
|
2
|
-
|
|
3
|
-
rangeOverflow: (
|
|
4
|
-
rangeReversed: "
|
|
5
|
-
rangeUnderflow: (
|
|
6
|
-
unavailableDate: "
|
|
1
|
+
var a = {};
|
|
2
|
+
a = {
|
|
3
|
+
rangeOverflow: (e) => `Værdien skal være ${e.maxValue} eller tidligere.`,
|
|
4
|
+
rangeReversed: "Startdatoen skal være før slutdatoen.",
|
|
5
|
+
rangeUnderflow: (e) => `Værdien skal være ${e.minValue} eller nyere.`,
|
|
6
|
+
unavailableDate: "Den valgte dato er ikke tilgængelig."
|
|
7
7
|
};
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
a as default
|
|
10
10
|
};
|
package/index349.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.default={};exports.default={rangeOverflow:
|
|
1
|
+
"use strict";exports.default={};exports.default={rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder früher sein.`,rangeReversed:"Das Anfangsdatum muss vor dem Enddatum liegen.",rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder später sein.`,unavailableDate:"Das ausgewählte Datum ist nicht verfügbar."};module.exports=exports.default;
|
package/index349.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
var
|
|
2
|
-
|
|
3
|
-
rangeOverflow: (
|
|
4
|
-
rangeReversed: "
|
|
5
|
-
rangeUnderflow: (
|
|
6
|
-
unavailableDate: "
|
|
1
|
+
var a = {};
|
|
2
|
+
a = {
|
|
3
|
+
rangeOverflow: (e) => `Der Wert muss ${e.maxValue} oder früher sein.`,
|
|
4
|
+
rangeReversed: "Das Anfangsdatum muss vor dem Enddatum liegen.",
|
|
5
|
+
rangeUnderflow: (e) => `Der Wert muss ${e.minValue} oder später sein.`,
|
|
6
|
+
unavailableDate: "Das ausgewählte Datum ist nicht verfügbar."
|
|
7
7
|
};
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
a as default
|
|
10
10
|
};
|
package/index350.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.default={};exports.default={rangeOverflow:
|
|
1
|
+
"use strict";exports.default={};exports.default={rangeOverflow:u=>`Η τιμή πρέπει να είναι ${u.maxValue} ή παλαιότερη.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:u=>`Η τιμή πρέπει να είναι ${u.minValue} ή μεταγενέστερη.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."};module.exports=exports.default;
|
package/index350.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
var
|
|
2
|
-
|
|
3
|
-
rangeOverflow: (
|
|
4
|
-
rangeReversed: "
|
|
5
|
-
rangeUnderflow: (
|
|
6
|
-
unavailableDate: "
|
|
1
|
+
var B = {};
|
|
2
|
+
B = {
|
|
3
|
+
rangeOverflow: (u) => `Η τιμή πρέπει να είναι ${u.maxValue} ή παλαιότερη.`,
|
|
4
|
+
rangeReversed: "Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",
|
|
5
|
+
rangeUnderflow: (u) => `Η τιμή πρέπει να είναι ${u.minValue} ή μεταγενέστερη.`,
|
|
6
|
+
unavailableDate: "Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."
|
|
7
7
|
};
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
B as default
|
|
10
10
|
};
|