@okam/stack-ui 1.39.1 → 1.39.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.
Files changed (360) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/index123.js +2 -1
  3. package/index123.mjs +2 -1
  4. package/index125.js +1 -1
  5. package/index125.mjs +2 -2
  6. package/index126.js +2 -1
  7. package/index126.mjs +2 -1
  8. package/index131.js +1 -0
  9. package/index131.mjs +1 -0
  10. package/index132.js +1 -0
  11. package/index132.mjs +1 -0
  12. package/index133.js +1 -1
  13. package/index133.mjs +4 -4
  14. package/index134.js +1 -1
  15. package/index134.mjs +2 -2
  16. package/index135.js +1 -1
  17. package/index135.mjs +1 -1
  18. package/index136.js +1 -1
  19. package/index136.mjs +1 -1
  20. package/index137.js +1 -1
  21. package/index137.mjs +3 -3
  22. package/index141.js +1 -1
  23. package/index141.mjs +2 -2
  24. package/index142.js +1 -0
  25. package/index142.mjs +1 -0
  26. package/index143.js +1 -1
  27. package/index143.mjs +2 -2
  28. package/index144.js +1 -1
  29. package/index144.mjs +5 -5
  30. package/index145.js +1 -1
  31. package/index145.mjs +3 -3
  32. package/index146.js +1 -1
  33. package/index146.mjs +9 -9
  34. package/index150.js +1 -0
  35. package/index150.mjs +1 -0
  36. package/index151.js +1 -0
  37. package/index151.mjs +1 -0
  38. package/index152.js +1 -1
  39. package/index152.mjs +2 -2
  40. package/index156.js +1 -1
  41. package/index156.mjs +1 -1
  42. package/index158.js +1 -1
  43. package/index158.mjs +1 -1
  44. package/index159.js +1 -1
  45. package/index159.mjs +1 -1
  46. package/index161.js +1 -1
  47. package/index161.mjs +3 -3
  48. package/index162.js +1 -1
  49. package/index162.mjs +46 -12
  50. package/index163.js +2 -1
  51. package/index163.mjs +13 -46
  52. package/index164.js +1 -1
  53. package/index164.mjs +29 -11
  54. package/index165.js +1 -1
  55. package/index165.mjs +11 -29
  56. package/index168.js +1 -1
  57. package/index168.mjs +1 -1
  58. package/index169.js +1 -1
  59. package/index169.mjs +198 -120
  60. package/index170.js +1 -1
  61. package/index170.mjs +64 -27
  62. package/index171.js +1 -1
  63. package/index171.mjs +140 -70
  64. package/index172.js +1 -1
  65. package/index172.mjs +116 -373
  66. package/index173.js +1 -1
  67. package/index173.mjs +222 -44
  68. package/index174.js +1 -1
  69. package/index174.mjs +191 -4
  70. package/index175.js +1 -1
  71. package/index175.mjs +66 -21
  72. package/index176.js +1 -1
  73. package/index176.mjs +278 -46
  74. package/index177.js +1 -1
  75. package/index177.mjs +97 -4
  76. package/index178.js +1 -1
  77. package/index178.mjs +188 -24
  78. package/index179.js +1 -1
  79. package/index179.mjs +84 -12
  80. package/index180.js +1 -1
  81. package/index180.mjs +58 -4
  82. package/index181.js +1 -1
  83. package/index181.mjs +126 -14
  84. package/index182.js +1 -1
  85. package/index182.mjs +112 -38
  86. package/index183.js +1 -1
  87. package/index183.mjs +120 -55
  88. package/index184.js +1 -1
  89. package/index184.mjs +72 -41
  90. package/index185.js +1 -1
  91. package/index185.mjs +107 -25
  92. package/index186.js +1 -1
  93. package/index186.mjs +52 -31
  94. package/index187.js +1 -1
  95. package/index187.mjs +92 -13
  96. package/index188.js +1 -1
  97. package/index188.mjs +70 -10
  98. package/index189.js +1 -1
  99. package/index189.mjs +55 -27
  100. package/index190.js +1 -1
  101. package/index190.mjs +98 -8
  102. package/index191.js +5 -1
  103. package/index191.mjs +80 -6
  104. package/index192.js +1 -1
  105. package/index192.mjs +2025 -5
  106. package/index193.js +1 -1
  107. package/index193.mjs +59 -7
  108. package/index194.js +1 -1
  109. package/index194.mjs +186 -27
  110. package/index195.js +1 -1
  111. package/index195.mjs +122 -15
  112. package/index196.js +1 -1
  113. package/index196.mjs +26 -12
  114. package/index197.js +1 -1
  115. package/index197.mjs +70 -40
  116. package/index198.js +1 -1
  117. package/index198.mjs +380 -7
  118. package/index199.js +1 -1
  119. package/index199.mjs +45 -16
  120. package/index200.js +1 -1
  121. package/index200.mjs +4 -3
  122. package/index201.js +1 -1
  123. package/index201.mjs +24 -4
  124. package/index202.js +1 -1
  125. package/index202.mjs +47 -19
  126. package/index203.js +1 -1
  127. package/index203.mjs +4 -53
  128. package/index204.js +1 -1
  129. package/index204.mjs +23 -123
  130. package/index205.js +1 -1
  131. package/index205.mjs +11 -133
  132. package/index206.js +1 -1
  133. package/index206.mjs +4 -44
  134. package/index207.js +1 -1
  135. package/index207.mjs +13 -13
  136. package/index208.js +1 -1
  137. package/index208.mjs +39 -92
  138. package/index209.js +1 -1
  139. package/index209.mjs +53 -102
  140. package/index210.js +1 -1
  141. package/index210.mjs +41 -4
  142. package/index211.js +1 -1
  143. package/index211.mjs +28 -3
  144. package/index212.js +1 -1
  145. package/index212.mjs +31 -125
  146. package/index213.js +1 -1
  147. package/index213.mjs +14 -29
  148. package/index214.js +1 -1
  149. package/index214.mjs +10 -51
  150. package/index215.js +1 -1
  151. package/index215.mjs +28 -44
  152. package/index216.js +1 -1
  153. package/index216.mjs +9 -37
  154. package/index217.js +1 -1
  155. package/index217.mjs +6 -113
  156. package/index218.js +1 -1
  157. package/index218.mjs +5 -77
  158. package/index219.js +1 -1
  159. package/index219.mjs +7 -101
  160. package/index220.js +1 -1
  161. package/index220.mjs +30 -98
  162. package/index221.js +1 -1
  163. package/index221.mjs +15 -137
  164. package/index222.js +1 -1
  165. package/index222.mjs +13 -197
  166. package/index223.js +1 -1
  167. package/index223.mjs +43 -22
  168. package/index224.js +1 -1
  169. package/index224.mjs +8 -49
  170. package/index225.js +1 -1
  171. package/index225.mjs +14 -45
  172. package/index226.js +1 -1
  173. package/index226.mjs +3 -98
  174. package/index227.js +1 -1
  175. package/index227.mjs +5 -72
  176. package/index228.js +1 -1
  177. package/index228.mjs +19 -68
  178. package/index229.js +1 -1
  179. package/index229.mjs +54 -7
  180. package/index230.js +1 -1
  181. package/index230.mjs +123 -10
  182. package/index231.js +1 -1
  183. package/index231.mjs +129 -198
  184. package/index232.js +1 -1
  185. package/index232.mjs +43 -63
  186. package/index233.js +1 -1
  187. package/index233.mjs +14 -143
  188. package/index234.js +1 -1
  189. package/index234.mjs +88 -117
  190. package/index235.js +1 -1
  191. package/index235.mjs +102 -220
  192. package/index236.js +1 -1
  193. package/index236.mjs +4 -190
  194. package/index237.js +1 -1
  195. package/index237.mjs +3 -69
  196. package/index238.js +1 -1
  197. package/index238.mjs +115 -269
  198. package/index239.js +1 -1
  199. package/index239.mjs +24 -93
  200. package/index240.js +1 -1
  201. package/index240.mjs +43 -180
  202. package/index241.js +1 -1
  203. package/index241.mjs +44 -84
  204. package/index242.js +1 -1
  205. package/index242.mjs +36 -57
  206. package/index243.js +1 -1
  207. package/index243.mjs +109 -122
  208. package/index244.js +1 -1
  209. package/index244.mjs +74 -113
  210. package/index245.js +1 -1
  211. package/index245.mjs +101 -122
  212. package/index246.js +1 -1
  213. package/index246.mjs +98 -73
  214. package/index247.js +1 -1
  215. package/index247.mjs +137 -107
  216. package/index248.js +1 -1
  217. package/index248.mjs +197 -52
  218. package/index249.js +1 -1
  219. package/index249.mjs +22 -93
  220. package/index250.js +1 -1
  221. package/index250.mjs +46 -67
  222. package/index251.js +1 -1
  223. package/index251.mjs +47 -55
  224. package/index252.js +1 -1
  225. package/index252.mjs +96 -98
  226. package/index253.js +1 -5
  227. package/index253.mjs +72 -81
  228. package/index254.js +1 -1
  229. package/index254.mjs +58 -2015
  230. package/index255.js +1 -1
  231. package/index255.mjs +7 -59
  232. package/index256.js +1 -1
  233. package/index256.mjs +10 -187
  234. package/index258.js +1 -1
  235. package/index258.mjs +4 -4
  236. package/index260.js +1 -1
  237. package/index260.mjs +8 -8
  238. package/index261.js +1 -1
  239. package/index261.mjs +1 -1
  240. package/index262.js +1 -1
  241. package/index262.mjs +130 -3
  242. package/index263.js +1 -1
  243. package/index263.mjs +190 -4
  244. package/index264.js +1 -1
  245. package/index264.mjs +10 -5
  246. package/index265.js +1 -1
  247. package/index265.mjs +4 -5
  248. package/index266.js +1 -1
  249. package/index266.mjs +37 -5
  250. package/index267.js +1 -1
  251. package/index267.mjs +6 -5
  252. package/index268.js +1 -1
  253. package/index268.mjs +30 -5
  254. package/index269.js +1 -1
  255. package/index269.mjs +7 -5
  256. package/index270.js +1 -1
  257. package/index270.mjs +4 -5
  258. package/index271.js +1 -1
  259. package/index271.mjs +5 -5
  260. package/index272.js +1 -1
  261. package/index272.mjs +4 -4
  262. package/index273.js +1 -1
  263. package/index273.mjs +4 -4
  264. package/index274.js +1 -1
  265. package/index274.mjs +1 -1
  266. package/index275.js +1 -1
  267. package/index275.mjs +4 -4
  268. package/index276.js +1 -1
  269. package/index276.mjs +4 -4
  270. package/index277.js +1 -1
  271. package/index277.mjs +4 -4
  272. package/index278.js +1 -1
  273. package/index278.mjs +1 -1
  274. package/index279.js +1 -1
  275. package/index279.mjs +4 -4
  276. package/index280.js +1 -1
  277. package/index280.mjs +4 -4
  278. package/index281.js +1 -1
  279. package/index281.mjs +4 -4
  280. package/index282.js +1 -1
  281. package/index282.mjs +1 -1
  282. package/index283.js +1 -1
  283. package/index283.mjs +4 -4
  284. package/index284.js +1 -1
  285. package/index284.mjs +4 -4
  286. package/index285.js +1 -1
  287. package/index285.mjs +4 -4
  288. package/index286.js +1 -1
  289. package/index286.mjs +4 -4
  290. package/index287.js +1 -1
  291. package/index287.mjs +4 -4
  292. package/index288.js +1 -1
  293. package/index288.mjs +4 -4
  294. package/index289.js +1 -1
  295. package/index289.mjs +4 -4
  296. package/index290.js +1 -1
  297. package/index290.mjs +4 -4
  298. package/index291.js +1 -1
  299. package/index291.mjs +1 -1
  300. package/index292.js +1 -1
  301. package/index292.mjs +4 -4
  302. package/index293.js +1 -1
  303. package/index293.mjs +4 -4
  304. package/index294.js +1 -1
  305. package/index294.mjs +1 -1
  306. package/index295.js +1 -1
  307. package/index295.mjs +4 -4
  308. package/index296.js +1 -1
  309. package/index296.mjs +4 -4
  310. package/index297.js +1 -1
  311. package/index297.mjs +4 -4
  312. package/index298.js +1 -1
  313. package/index298.mjs +4 -130
  314. package/index299.js +1 -1
  315. package/index299.mjs +5 -191
  316. package/index300.js +1 -1
  317. package/index300.mjs +5 -10
  318. package/index301.js +1 -1
  319. package/index301.mjs +5 -4
  320. package/index302.js +1 -1
  321. package/index302.mjs +5 -37
  322. package/index303.js +1 -1
  323. package/index303.mjs +5 -6
  324. package/index304.js +1 -1
  325. package/index304.mjs +5 -30
  326. package/index305.js +1 -1
  327. package/index305.mjs +5 -7
  328. package/index306.js +1 -1
  329. package/index306.mjs +4 -4
  330. package/index307.js +1 -1
  331. package/index307.mjs +7 -30
  332. package/index308.js +1 -1
  333. package/index308.mjs +28 -7
  334. package/index309.js +1 -1
  335. package/index309.mjs +89 -24
  336. package/index310.js +1 -1
  337. package/index310.mjs +7 -90
  338. package/index311.js +1 -1
  339. package/index311.mjs +24 -8
  340. package/index312.js +1 -1
  341. package/index312.mjs +33 -25
  342. package/index313.js +1 -1
  343. package/index313.mjs +6 -33
  344. package/index314.js +1 -1
  345. package/index314.mjs +6 -6
  346. package/index315.js +1 -1
  347. package/index315.mjs +50 -6
  348. package/index316.js +1 -1
  349. package/index316.mjs +28 -49
  350. package/index317.js +1 -1
  351. package/index317.mjs +4 -4
  352. package/index318.js +1 -1
  353. package/index318.mjs +1 -1
  354. package/index322.js +1 -1
  355. package/index322.mjs +1 -1
  356. package/index41.js +1 -0
  357. package/index41.mjs +1 -0
  358. package/index94.js +1 -0
  359. package/index94.mjs +1 -0
  360. package/package.json +2 -2
package/index245.mjs CHANGED
@@ -1,125 +1,104 @@
1
- import { d as v, k as h } from "./index299.mjs";
2
- function z(g) {
3
- let {
4
- swiper: e,
5
- extendParams: x,
6
- emit: c,
7
- once: S
8
- } = g;
9
- x({
10
- freeMode: {
11
- enabled: !1,
12
- momentum: !0,
13
- momentumRatio: 1,
14
- momentumBounce: !0,
15
- momentumBounceRatio: 1,
16
- momentumVelocityRatio: 1,
17
- sticky: !1,
18
- minimumVelocity: 0.02
19
- }
20
- });
21
- function E() {
22
- if (e.params.cssMode) return;
23
- const s = e.getTranslate();
24
- e.setTranslate(s), e.setTransition(0), e.touchEventsData.velocities.length = 0, e.freeMode.onTouchEnd({
25
- currentPos: e.rtl ? e.translate : -e.translate
26
- });
27
- }
28
- function B() {
29
- if (e.params.cssMode) return;
30
- const {
31
- touchEventsData: s,
32
- touches: m
33
- } = e;
34
- s.velocities.length === 0 && s.velocities.push({
35
- position: m[e.isHorizontal() ? "startX" : "startY"],
36
- time: s.touchStartTime
37
- }), s.velocities.push({
38
- position: m[e.isHorizontal() ? "currentX" : "currentY"],
39
- time: v()
40
- });
41
- }
42
- function b(s) {
43
- let {
44
- currentPos: m
45
- } = s;
46
- if (e.params.cssMode) return;
47
- const {
48
- params: o,
49
- wrapperEl: f,
50
- rtlTranslate: p,
51
- snapGrid: a,
52
- touchEventsData: r
53
- } = e, w = v() - r.touchStartTime;
54
- if (m < -e.minTranslate()) {
55
- e.slideTo(e.activeIndex);
56
- return;
57
- }
58
- if (m > -e.maxTranslate()) {
59
- e.slides.length < a.length ? e.slideTo(a.length - 1) : e.slideTo(e.slides.length - 1);
60
- return;
61
- }
62
- if (o.freeMode.momentum) {
63
- if (r.velocities.length > 1) {
64
- const i = r.velocities.pop(), n = r.velocities.pop(), P = i.position - n.position, y = i.time - n.time;
65
- e.velocity = P / y, e.velocity /= 2, Math.abs(e.velocity) < o.freeMode.minimumVelocity && (e.velocity = 0), (y > 150 || v() - i.time > 300) && (e.velocity = 0);
66
- } else
67
- e.velocity = 0;
68
- e.velocity *= o.freeMode.momentumVelocityRatio, r.velocities.length = 0;
69
- let l = 1e3 * o.freeMode.momentumRatio;
70
- const D = e.velocity * l;
71
- let t = e.translate + D;
72
- p && (t = -t);
73
- let M = !1, u;
74
- const d = Math.abs(e.velocity) * 20 * o.freeMode.momentumBounceRatio;
75
- let T;
76
- if (t < e.maxTranslate())
77
- o.freeMode.momentumBounce ? (t + e.maxTranslate() < -d && (t = e.maxTranslate() - d), u = e.maxTranslate(), M = !0, r.allowMomentumBounce = !0) : t = e.maxTranslate(), o.loop && o.centeredSlides && (T = !0);
78
- else if (t > e.minTranslate())
79
- o.freeMode.momentumBounce ? (t - e.minTranslate() > d && (t = e.minTranslate() + d), u = e.minTranslate(), M = !0, r.allowMomentumBounce = !0) : t = e.minTranslate(), o.loop && o.centeredSlides && (T = !0);
80
- else if (o.freeMode.sticky) {
81
- let i;
82
- for (let n = 0; n < a.length; n += 1)
83
- if (a[n] > -t) {
84
- i = n;
85
- break;
86
- }
87
- Math.abs(a[i] - t) < Math.abs(a[i - 1] - t) || e.swipeDirection === "next" ? t = a[i] : t = a[i - 1], t = -t;
88
- }
89
- if (T && S("transitionEnd", () => {
90
- e.loopFix();
91
- }), e.velocity !== 0) {
92
- if (p ? l = Math.abs((-t - e.translate) / e.velocity) : l = Math.abs((t - e.translate) / e.velocity), o.freeMode.sticky) {
93
- const i = Math.abs((p ? -t : t) - e.translate), n = e.slidesSizesGrid[e.activeIndex];
94
- i < n ? l = o.speed : i < 2 * n ? l = o.speed * 1.5 : l = o.speed * 2.5;
95
- }
96
- } else if (o.freeMode.sticky) {
97
- e.slideToClosest();
98
- return;
99
- }
100
- o.freeMode.momentumBounce && M ? (e.updateProgress(u), e.setTransition(l), e.setTranslate(t), e.transitionStart(!0, e.swipeDirection), e.animating = !0, h(f, () => {
101
- !e || e.destroyed || !r.allowMomentumBounce || (c("momentumBounce"), e.setTransition(o.speed), setTimeout(() => {
102
- e.setTranslate(u), h(f, () => {
103
- !e || e.destroyed || e.transitionEnd();
104
- });
105
- }, 0));
106
- })) : e.velocity ? (c("_freeModeNoMomentumRelease"), e.updateProgress(t), e.setTransition(l), e.setTranslate(t), e.transitionStart(!0, e.swipeDirection), e.animating || (e.animating = !0, h(f, () => {
107
- !e || e.destroyed || e.transitionEnd();
108
- }))) : e.updateProgress(t), e.updateActiveIndex(), e.updateSlidesClasses();
109
- } else if (o.freeMode.sticky) {
110
- e.slideToClosest();
111
- return;
112
- } else o.freeMode && c("_freeModeNoMomentumRelease");
113
- (!o.freeMode.momentum || w >= o.longSwipesMs) && (c("_freeModeStaticRelease"), e.updateProgress(), e.updateActiveIndex(), e.updateSlidesClasses());
114
- }
115
- Object.assign(e, {
116
- freeMode: {
117
- onTouchStart: E,
118
- onTouchMove: B,
119
- onTouchEnd: b
120
- }
121
- });
1
+ import { CalendarDate as s } from "./index230.mjs";
2
+ const i = 1723856, $ = 1824665, c = 5500;
3
+ function f(a, r, e, t) {
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
+ }
122
99
  }
123
100
  export {
124
- z as default
101
+ C as CopticCalendar,
102
+ h as EthiopicAmeteAlemCalendar,
103
+ b as EthiopicCalendar
125
104
  };
package/index246.js CHANGED
@@ -1 +1 @@
1
- "use strict";function B(x){let{swiper:e,extendParams:C,on:w}=x;C({grid:{rows:1,fill:"column"}});let c,h,f,g;const M=()=>{let t=e.params.spaceBetween;return typeof t=="string"&&t.indexOf("%")>=0?t=parseFloat(t.replace("%",""))/100*e.size:typeof t=="string"&&(t=parseFloat(t)),t},L=t=>{const{slidesPerView:s}=e.params,{rows:i,fill:a}=e.params.grid,l=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:t.length;f=Math.floor(l/i),Math.floor(l/i)===l/i?c=l:c=Math.ceil(l/i)*i,s!=="auto"&&a==="row"&&(c=Math.max(c,s*i)),h=c/i},y=()=>{e.slides&&e.slides.forEach(t=>{t.swiperSlideGridSet&&(t.style.height="",t.style[e.getDirectionLabel("margin-top")]="")})},$=(t,s,i)=>{const{slidesPerGroup:a}=e.params,l=M(),{rows:r,fill:u}=e.params.grid,d=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:i.length;let p,n,o;if(u==="row"&&a>1){const m=Math.floor(t/(a*r)),S=t-r*a*m,v=m===0?a:Math.min(Math.ceil((d-m*r*a)/r),a);o=Math.floor(S/v),n=S-o*v+m*a,p=n+o*c/r,s.style.order=p}else u==="column"?(n=Math.floor(t/r),o=t-n*r,(n>f||n===f&&o===r-1)&&(o+=1,o>=r&&(o=0,n+=1))):(o=Math.floor(t/h),n=t-o*h);s.row=o,s.column=n,s.style.height=`calc((100% - ${(r-1)*l}px) / ${r})`,s.style[e.getDirectionLabel("margin-top")]=o!==0?l&&`${l}px`:"",s.swiperSlideGridSet=!0},z=(t,s)=>{const{centeredSlides:i,roundLengths:a}=e.params,l=M(),{rows:r}=e.params.grid;if(e.virtualSize=(t+l)*c,e.virtualSize=Math.ceil(e.virtualSize/r)-l,e.params.cssMode||(e.wrapperEl.style[e.getDirectionLabel("width")]=`${e.virtualSize+l}px`),i){const u=[];for(let d=0;d<s.length;d+=1){let p=s[d];a&&(p=Math.floor(p)),s[d]<e.virtualSize+s[0]&&u.push(p)}s.splice(0,s.length),s.push(...u)}},I=()=>{g=e.params.grid&&e.params.grid.rows>1},b=()=>{const{params:t,el:s}=e,i=t.grid&&t.grid.rows>1;g&&!i?(s.classList.remove(`${t.containerModifierClass}grid`,`${t.containerModifierClass}grid-column`),f=1,e.emitContainerClasses()):!g&&i&&(s.classList.add(`${t.containerModifierClass}grid`),t.grid.fill==="column"&&s.classList.add(`${t.containerModifierClass}grid-column`),e.emitContainerClasses()),g=i};w("init",I),w("update",b),e.grid={initSlides:L,unsetSlides:y,updateSlide:$,updateWrapperSize:z}}module.exports=B;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};exports.weekStartData=A;
package/index246.mjs CHANGED
@@ -1,75 +1,100 @@
1
- function B(x) {
2
- let {
3
- swiper: e,
4
- extendParams: C,
5
- on: w
6
- } = x;
7
- C({
8
- grid: {
9
- rows: 1,
10
- fill: "column"
11
- }
12
- });
13
- let c, h, f, g;
14
- const M = () => {
15
- let t = e.params.spaceBetween;
16
- return typeof t == "string" && t.indexOf("%") >= 0 ? t = parseFloat(t.replace("%", "")) / 100 * e.size : typeof t == "string" && (t = parseFloat(t)), t;
17
- }, L = (t) => {
18
- const {
19
- slidesPerView: s
20
- } = e.params, {
21
- rows: i,
22
- fill: a
23
- } = e.params.grid, l = e.virtual && e.params.virtual.enabled ? e.virtual.slides.length : t.length;
24
- f = Math.floor(l / i), Math.floor(l / i) === l / i ? c = l : c = Math.ceil(l / i) * i, s !== "auto" && a === "row" && (c = Math.max(c, s * i)), h = c / i;
25
- }, y = () => {
26
- e.slides && e.slides.forEach((t) => {
27
- t.swiperSlideGridSet && (t.style.height = "", t.style[e.getDirectionLabel("margin-top")] = "");
28
- });
29
- }, $ = (t, s, i) => {
30
- const {
31
- slidesPerGroup: a
32
- } = e.params, l = M(), {
33
- rows: r,
34
- fill: u
35
- } = e.params.grid, d = e.virtual && e.params.virtual.enabled ? e.virtual.slides.length : i.length;
36
- let p, n, o;
37
- if (u === "row" && a > 1) {
38
- const m = Math.floor(t / (a * r)), S = t - r * a * m, v = m === 0 ? a : Math.min(Math.ceil((d - m * r * a) / r), a);
39
- o = Math.floor(S / v), n = S - o * v + m * a, p = n + o * c / r, s.style.order = p;
40
- } else u === "column" ? (n = Math.floor(t / r), o = t - n * r, (n > f || n === f && o === r - 1) && (o += 1, o >= r && (o = 0, n += 1))) : (o = Math.floor(t / h), n = t - o * h);
41
- s.row = o, s.column = n, s.style.height = `calc((100% - ${(r - 1) * l}px) / ${r})`, s.style[e.getDirectionLabel("margin-top")] = o !== 0 ? l && `${l}px` : "", s.swiperSlideGridSet = !0;
42
- }, z = (t, s) => {
43
- const {
44
- centeredSlides: i,
45
- roundLengths: a
46
- } = e.params, l = M(), {
47
- rows: r
48
- } = e.params.grid;
49
- if (e.virtualSize = (t + l) * c, e.virtualSize = Math.ceil(e.virtualSize / r) - l, e.params.cssMode || (e.wrapperEl.style[e.getDirectionLabel("width")] = `${e.virtualSize + l}px`), i) {
50
- const u = [];
51
- for (let d = 0; d < s.length; d += 1) {
52
- let p = s[d];
53
- a && (p = Math.floor(p)), s[d] < e.virtualSize + s[0] && u.push(p);
54
- }
55
- s.splice(0, s.length), s.push(...u);
56
- }
57
- }, I = () => {
58
- g = e.params.grid && e.params.grid.rows > 1;
59
- }, b = () => {
60
- const {
61
- params: t,
62
- el: s
63
- } = e, i = t.grid && t.grid.rows > 1;
64
- g && !i ? (s.classList.remove(`${t.containerModifierClass}grid`, `${t.containerModifierClass}grid-column`), f = 1, e.emitContainerClasses()) : !g && i && (s.classList.add(`${t.containerModifierClass}grid`), t.grid.fill === "column" && s.classList.add(`${t.containerModifierClass}grid-column`), e.emitContainerClasses()), g = i;
65
- };
66
- w("init", I), w("update", b), e.grid = {
67
- initSlides: L,
68
- unsetSlides: y,
69
- updateSlide: $,
70
- updateWrapperSize: z
71
- };
72
- }
1
+ const A = {
2
+ "001": 1,
3
+ AD: 1,
4
+ AE: 6,
5
+ AF: 6,
6
+ AI: 1,
7
+ AL: 1,
8
+ AM: 1,
9
+ AN: 1,
10
+ AR: 1,
11
+ AT: 1,
12
+ AU: 1,
13
+ AX: 1,
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
+ };
73
98
  export {
74
- B as default
99
+ A as weekStartData
75
100
  };
package/index247.js CHANGED
@@ -1 +1 @@
1
- "use strict";function a(o){const e=this,{params:t,slidesEl:p}=e;t.loop&&e.loopDestroy();const f=n=>{if(typeof n=="string"){const i=document.createElement("div");i.innerHTML=n,p.append(i.children[0]),i.innerHTML=""}else p.append(n)};if(typeof o=="object"&&"length"in o)for(let n=0;n<o.length;n+=1)o[n]&&f(o[n]);else f(o);e.recalcSlides(),t.loop&&e.loopCreate(),(!t.observer||e.isElement)&&e.update()}function m(o){const e=this,{params:t,activeIndex:p,slidesEl:f}=e;t.loop&&e.loopDestroy();let n=p+1;const i=l=>{if(typeof l=="string"){const c=document.createElement("div");c.innerHTML=l,f.prepend(c.children[0]),c.innerHTML=""}else f.prepend(l)};if(typeof o=="object"&&"length"in o){for(let l=0;l<o.length;l+=1)o[l]&&i(o[l]);n=p+o.length}else i(o);e.recalcSlides(),t.loop&&e.loopCreate(),(!t.observer||e.isElement)&&e.update(),e.slideTo(n,0,!1)}function h(o,e){const t=this,{params:p,activeIndex:f,slidesEl:n}=t;let i=f;p.loop&&(i-=t.loopedSlides,t.loopDestroy(),t.recalcSlides());const l=t.slides.length;if(o<=0){t.prependSlide(e);return}if(o>=l){t.appendSlide(e);return}let c=i>o?i+1:i;const s=[];for(let r=l-1;r>=o;r-=1){const d=t.slides[r];d.remove(),s.unshift(d)}if(typeof e=="object"&&"length"in e){for(let r=0;r<e.length;r+=1)e[r]&&n.append(e[r]);c=i>o?i+e.length:i}else n.append(e);for(let r=0;r<s.length;r+=1)n.append(s[r]);t.recalcSlides(),p.loop&&t.loopCreate(),(!p.observer||t.isElement)&&t.update(),p.loop?t.slideTo(c+t.loopedSlides,0,!1):t.slideTo(c,0,!1)}function v(o){const e=this,{params:t,activeIndex:p}=e;let f=p;t.loop&&(f-=e.loopedSlides,e.loopDestroy());let n=f,i;if(typeof o=="object"&&"length"in o){for(let l=0;l<o.length;l+=1)i=o[l],e.slides[i]&&e.slides[i].remove(),i<n&&(n-=1);n=Math.max(n,0)}else i=o,e.slides[i]&&e.slides[i].remove(),i<n&&(n-=1),n=Math.max(n,0);e.recalcSlides(),t.loop&&e.loopCreate(),(!t.observer||e.isElement)&&e.update(),t.loop?e.slideTo(n+e.loopedSlides,0,!1):e.slideTo(n,0,!1)}function S(){const o=this,e=[];for(let t=0;t<o.slides.length;t+=1)e.push(t);o.removeSlide(e)}function u(o){let{swiper:e}=o;Object.assign(e,{appendSlide:a.bind(e),prependSlide:m.bind(e),addSlide:h.bind(e),removeSlide:v.bind(e),removeAllSlides:S.bind(e)})}module.exports=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("./index248.js"),A=require("./index249.js"),f=require("react"),P=require("./index200.js"),j=require("./index215.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;