@okam/stack-ui 1.32.3 → 1.32.5

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 (331) hide show
  1. package/components/fields/Checkbox/index.d.ts +6 -0
  2. package/components/fields/CheckboxGroup/components/CheckboxGroupItem/index.d.ts +6 -0
  3. package/components/fields/Select/Select.d.ts +4 -1
  4. package/components/fields/Select/Select.interface.d.ts +1 -0
  5. package/components/fields/TextArea/index.d.ts +4 -1
  6. package/components/fields/TextInputField/index.d.ts +1 -1
  7. package/components/fields/TextInputField/interface.d.ts +1 -2
  8. package/index.d.ts +4 -2
  9. package/index.js +1 -1
  10. package/index.mjs +153 -151
  11. package/index124.js +1 -1
  12. package/index124.mjs +1 -1
  13. package/index125.js +1 -1
  14. package/index125.mjs +1 -1
  15. package/index139.js +1 -1
  16. package/index139.mjs +2 -2
  17. package/index140.js +1 -1
  18. package/index140.mjs +23 -23
  19. package/index141.js +1 -1
  20. package/index141.mjs +3 -3
  21. package/index146.js +1 -1
  22. package/index146.mjs +1 -1
  23. package/index150.js +1 -1
  24. package/index150.mjs +1 -1
  25. package/index151.js +1 -1
  26. package/index151.mjs +1 -1
  27. package/index153.js +1 -1
  28. package/index153.mjs +1 -1
  29. package/index154.js +1 -1
  30. package/index154.mjs +1 -1
  31. package/index155.js +1 -1
  32. package/index155.mjs +1 -1
  33. package/index156.js +1 -1
  34. package/index156.mjs +2 -2
  35. package/index158.js +1 -1
  36. package/index158.mjs +2 -2
  37. package/index159.js +1 -1
  38. package/index159.mjs +8 -8
  39. package/index16.js +1 -1
  40. package/index16.mjs +144 -67
  41. package/index17.js +1 -1
  42. package/index17.mjs +95 -26
  43. package/index173.js +1 -1
  44. package/index173.mjs +1 -1
  45. package/index175.js +1 -1
  46. package/index175.mjs +1 -1
  47. package/index176.js +1 -1
  48. package/index176.mjs +1 -1
  49. package/index177.js +1 -1
  50. package/index177.mjs +1 -1
  51. package/index178.js +1 -1
  52. package/index178.mjs +4 -4
  53. package/index179.js +1 -1
  54. package/index179.mjs +1 -1
  55. package/index198.js +1 -1
  56. package/index198.mjs +201 -70
  57. package/index199.js +1 -1
  58. package/index199.mjs +60 -91
  59. package/index20.js +1 -1
  60. package/index20.mjs +105 -31
  61. package/index200.js +1 -1
  62. package/index200.mjs +139 -151
  63. package/index201.js +1 -1
  64. package/index201.mjs +125 -72
  65. package/index202.js +1 -1
  66. package/index202.mjs +220 -38
  67. package/index203.js +1 -1
  68. package/index203.mjs +190 -5
  69. package/index204.js +1 -1
  70. package/index204.mjs +68 -60
  71. package/index205.js +1 -1
  72. package/index205.mjs +273 -53
  73. package/index206.js +1 -1
  74. package/index206.mjs +86 -191
  75. package/index207.js +1 -1
  76. package/index207.mjs +180 -56
  77. package/index208.js +1 -1
  78. package/index208.mjs +75 -134
  79. package/index209.js +1 -1
  80. package/index209.mjs +52 -118
  81. package/index21.js +1 -1
  82. package/index21.mjs +132 -59
  83. package/index210.js +1 -1
  84. package/index210.mjs +116 -214
  85. package/index211.js +1 -1
  86. package/index211.mjs +107 -181
  87. package/index212.js +1 -1
  88. package/index212.mjs +114 -61
  89. package/index213.js +1 -1
  90. package/index213.mjs +65 -272
  91. package/index214.js +1 -1
  92. package/index214.mjs +105 -93
  93. package/index215.js +1 -1
  94. package/index215.mjs +47 -183
  95. package/index216.js +1 -1
  96. package/index216.mjs +86 -77
  97. package/index217.js +1 -1
  98. package/index217.mjs +65 -53
  99. package/index218.js +1 -1
  100. package/index218.mjs +52 -122
  101. package/index219.js +1 -1
  102. package/index219.mjs +94 -111
  103. package/index22.js +1 -1
  104. package/index22.mjs +109 -102
  105. package/index220.js +5 -1
  106. package/index220.mjs +75 -117
  107. package/index221.js +1 -1
  108. package/index221.mjs +2016 -63
  109. package/index222.js +1 -1
  110. package/index222.mjs +54 -105
  111. package/index223.js +1 -1
  112. package/index223.mjs +186 -50
  113. package/index224.js +1 -1
  114. package/index224.mjs +68 -89
  115. package/index225.js +1 -1
  116. package/index225.mjs +93 -68
  117. package/index226.js +1 -1
  118. package/index226.mjs +151 -52
  119. package/index227.js +1 -1
  120. package/index227.mjs +72 -100
  121. package/index228.js +1 -5
  122. package/index228.mjs +40 -78
  123. package/index229.js +1 -1
  124. package/index229.mjs +5 -2025
  125. package/index230.js +1 -1
  126. package/index230.mjs +61 -59
  127. package/index231.js +1 -1
  128. package/index231.mjs +58 -187
  129. package/index266.js +1 -1
  130. package/index266.mjs +34 -34
  131. package/index270.js +1 -1
  132. package/index270.mjs +24 -48
  133. package/index271.js +1 -1
  134. package/index271.mjs +47 -9
  135. package/index272.js +1 -1
  136. package/index272.mjs +6 -16
  137. package/index273.js +1 -1
  138. package/index273.mjs +6 -16
  139. package/index274.js +1 -1
  140. package/index274.mjs +15 -16
  141. package/index275.js +1 -1
  142. package/index275.mjs +25 -16
  143. package/index276.js +1 -1
  144. package/index276.mjs +29 -16
  145. package/index277.js +1 -1
  146. package/index277.mjs +32 -16
  147. package/index278.js +1 -1
  148. package/index278.mjs +10 -16
  149. package/index279.js +1 -1
  150. package/index279.mjs +29 -16
  151. package/index280.js +1 -1
  152. package/index280.mjs +10 -16
  153. package/index281.js +1 -1
  154. package/index281.mjs +6 -16
  155. package/index282.js +1 -1
  156. package/index282.mjs +8 -16
  157. package/index283.js +1 -1
  158. package/index283.mjs +14 -16
  159. package/index284.js +1 -1
  160. package/index284.mjs +9 -16
  161. package/index285.js +1 -1
  162. package/index285.mjs +130 -15
  163. package/index286.js +1 -1
  164. package/index286.mjs +191 -16
  165. package/index287.js +1 -1
  166. package/index287.mjs +10 -16
  167. package/index288.js +1 -1
  168. package/index288.mjs +4 -16
  169. package/index289.js +1 -1
  170. package/index289.mjs +37 -16
  171. package/index290.js +1 -1
  172. package/index290.mjs +6 -16
  173. package/index291.js +1 -1
  174. package/index291.mjs +30 -16
  175. package/index292.js +1 -1
  176. package/index292.mjs +7 -16
  177. package/index293.js +1 -1
  178. package/index293.mjs +49 -16
  179. package/index294.js +1 -1
  180. package/index294.mjs +15 -15
  181. package/index295.js +1 -1
  182. package/index295.mjs +15 -15
  183. package/index296.js +1 -1
  184. package/index296.mjs +12 -12
  185. package/index297.js +1 -1
  186. package/index297.mjs +15 -15
  187. package/index298.js +1 -1
  188. package/index298.mjs +12 -12
  189. package/index299.js +1 -1
  190. package/index299.mjs +15 -15
  191. package/index300.js +1 -1
  192. package/index300.mjs +15 -15
  193. package/index301.js +1 -1
  194. package/index301.mjs +12 -12
  195. package/index302.js +1 -1
  196. package/index302.mjs +12 -12
  197. package/index303.js +1 -1
  198. package/index303.mjs +15 -15
  199. package/index304.js +1 -1
  200. package/index304.mjs +15 -15
  201. package/index305.js +1 -1
  202. package/index305.mjs +15 -15
  203. package/index306.js +1 -1
  204. package/index306.mjs +15 -130
  205. package/index307.js +1 -1
  206. package/index307.mjs +16 -191
  207. package/index308.js +1 -1
  208. package/index308.mjs +16 -10
  209. package/index309.js +1 -1
  210. package/index309.mjs +16 -4
  211. package/index310.js +1 -1
  212. package/index310.mjs +16 -37
  213. package/index311.js +1 -1
  214. package/index311.mjs +16 -6
  215. package/index312.js +1 -1
  216. package/index312.mjs +16 -30
  217. package/index313.js +1 -1
  218. package/index313.mjs +16 -7
  219. package/index314.js +1 -1
  220. package/index314.mjs +16 -25
  221. package/index315.js +1 -1
  222. package/index315.mjs +16 -48
  223. package/index316.js +1 -1
  224. package/index316.mjs +16 -6
  225. package/index317.js +1 -1
  226. package/index317.mjs +16 -6
  227. package/index318.js +1 -1
  228. package/index318.mjs +16 -15
  229. package/index319.js +1 -1
  230. package/index319.mjs +16 -25
  231. package/index320.js +1 -1
  232. package/index320.mjs +16 -29
  233. package/index321.js +1 -1
  234. package/index321.mjs +16 -32
  235. package/index322.js +1 -1
  236. package/index322.mjs +16 -29
  237. package/index323.js +1 -1
  238. package/index323.mjs +16 -10
  239. package/index324.js +1 -1
  240. package/index324.mjs +16 -6
  241. package/index325.js +1 -1
  242. package/index325.mjs +16 -8
  243. package/index326.js +1 -1
  244. package/index326.mjs +16 -14
  245. package/index327.js +1 -1
  246. package/index327.mjs +16 -9
  247. package/index328.js +1 -1
  248. package/index328.mjs +1 -1
  249. package/index332.js +1 -1
  250. package/index332.mjs +2 -2
  251. package/index333.js +1 -1
  252. package/index333.mjs +1 -1
  253. package/index339.js +1 -1
  254. package/index339.mjs +1 -1
  255. package/index340.js +1 -1
  256. package/index340.mjs +2 -2
  257. package/index345.js +1 -1
  258. package/index345.mjs +5 -117
  259. package/index346.js +1 -1
  260. package/index346.mjs +117 -71
  261. package/index347.js +1 -1
  262. package/index347.mjs +71 -7
  263. package/index348.js +1 -1
  264. package/index348.mjs +7 -7
  265. package/index349.js +1 -1
  266. package/index349.mjs +7 -7
  267. package/index350.js +1 -1
  268. package/index350.mjs +7 -7
  269. package/index351.js +1 -1
  270. package/index351.mjs +4 -4
  271. package/index352.js +1 -1
  272. package/index352.mjs +7 -7
  273. package/index353.js +1 -1
  274. package/index353.mjs +7 -7
  275. package/index354.js +1 -1
  276. package/index354.mjs +4 -4
  277. package/index355.js +1 -1
  278. package/index355.mjs +4 -4
  279. package/index356.js +1 -1
  280. package/index356.mjs +4 -4
  281. package/index357.js +1 -1
  282. package/index357.mjs +4 -4
  283. package/index358.js +1 -1
  284. package/index358.mjs +7 -7
  285. package/index359.js +1 -1
  286. package/index359.mjs +7 -7
  287. package/index360.js +1 -1
  288. package/index360.mjs +7 -7
  289. package/index361.js +1 -1
  290. package/index361.mjs +4 -4
  291. package/index362.js +1 -1
  292. package/index362.mjs +7 -7
  293. package/index363.js +1 -1
  294. package/index363.mjs +7 -7
  295. package/index364.js +1 -1
  296. package/index364.mjs +7 -7
  297. package/index365.js +1 -1
  298. package/index365.mjs +7 -7
  299. package/index366.js +1 -1
  300. package/index366.mjs +7 -7
  301. package/index367.js +1 -1
  302. package/index367.mjs +4 -4
  303. package/index368.js +1 -1
  304. package/index368.mjs +7 -7
  305. package/index369.js +1 -1
  306. package/index369.mjs +7 -7
  307. package/index370.js +1 -1
  308. package/index370.mjs +3 -3
  309. package/index371.js +1 -1
  310. package/index371.mjs +4 -4
  311. package/index372.js +1 -1
  312. package/index372.mjs +7 -7
  313. package/index373.js +1 -1
  314. package/index373.mjs +7 -7
  315. package/index374.js +1 -1
  316. package/index374.mjs +7 -7
  317. package/index375.js +1 -1
  318. package/index375.mjs +4 -4
  319. package/index376.js +1 -1
  320. package/index376.mjs +7 -7
  321. package/index377.js +1 -1
  322. package/index377.mjs +4 -4
  323. package/index378.js +1 -1
  324. package/index378.mjs +4 -4
  325. package/index379.js +1 -1
  326. package/index379.mjs +7 -7
  327. package/index380.js +1 -1
  328. package/index380.mjs +4 -4
  329. package/index381.js +1 -1
  330. package/index381.mjs +8 -6
  331. package/package.json +1 -1
package/index230.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index231.js"),p=require("./index229.js");function d(n,i){n===void 0&&(n={}),i===void 0&&(i=!0);const t={on:{}},f={},s={};o.e(t,p.d),t._emitClasses=!0,t.init=!1;const e={},l=o.p.map(a=>a.replace(/_/,"")),r=Object.assign({},n);return Object.keys(r).forEach(a=>{typeof n[a]>"u"||(l.indexOf(a)>=0?o.i(n[a])?(t[a]={},s[a]={},o.e(t[a],n[a]),o.e(s[a],n[a])):(t[a]=n[a],s[a]=n[a]):a.search(/on[A-Z]/)===0&&typeof n[a]=="function"?i?f[`${a[2].toLowerCase()}${a.substr(3)}`]=n[a]:t.on[`${a[2].toLowerCase()}${a.substr(3)}`]=n[a]:e[a]=n[a])}),["navigation","pagination","scrollbar"].forEach(a=>{t[a]===!0&&(t[a]={}),t[a]===!1&&delete t[a]}),{params:t,passedParams:s,rest:e,events:f}}function m(n,i){let{el:t,nextEl:f,prevEl:s,paginationEl:e,scrollbarEl:l,swiper:r}=n;o.n(i)&&f&&s&&(r.params.navigation.nextEl=f,r.originalParams.navigation.nextEl=f,r.params.navigation.prevEl=s,r.originalParams.navigation.prevEl=s),o.a(i)&&e&&(r.params.pagination.el=e,r.originalParams.pagination.el=e),o.b(i)&&l&&(r.params.scrollbar.el=l,r.originalParams.scrollbar.el=l),r.init(t)}function h(n,i,t,f,s){const e=[];if(!i)return e;const l=a=>{e.indexOf(a)<0&&e.push(a)};if(t&&f){const a=f.map(s),u=t.map(s);a.join("")!==u.join("")&&l("children"),f.length!==t.length&&l("children")}return o.p.filter(a=>a[0]==="_").map(a=>a.replace(/_/,"")).forEach(a=>{if(a in n&&a in i)if(o.i(n[a])&&o.i(i[a])){const u=Object.keys(n[a]),g=Object.keys(i[a]);u.length!==g.length?l(a):(u.forEach(c=>{n[a][c]!==i[a][c]&&l(a)}),g.forEach(c=>{n[a][c]!==i[a][c]&&l(a)}))}else n[a]!==i[a]&&l(a)}),e}const v=n=>{!n||n.destroyed||!n.params.virtual||n.params.virtual&&!n.params.virtual.enabled||(n.updateSlides(),n.updateProgress(),n.updateSlidesClasses(),n.parallax&&n.params.parallax&&n.params.parallax.enabled&&n.parallax.setTranslate())};exports.a=h;exports.g=d;exports.m=m;exports.u=v;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index273.js"),w=require("./index174.js"),m=require("./index284.js");require("react");let d=null,L=new Set,u=new Map,a=!1,s=!1;function c(e,n){for(let t of L)t(e,n)}function y(e){return!(e.metaKey||!w.isMac()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function f(e){a=!0,y(e)&&(d="keyboard",c("keyboard",e))}function o(e){d="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(a=!0,c("pointer",e))}function l(e){m.isVirtualClick(e)&&(a=!0,d="virtual")}function b(e){e.target===window||e.target===document||(!a&&!s&&(d="virtual",c("virtual",e)),a=!1,s=!1)}function $(){a=!1,s=!0}function v(e){if(typeof window>"u"||u.get(i.getOwnerWindow(e)))return;const n=i.getOwnerWindow(e),t=i.getOwnerDocument(e);let r=n.HTMLElement.prototype.focus;n.HTMLElement.prototype.focus=function(){a=!0,r.apply(this,arguments)},t.addEventListener("keydown",f,!0),t.addEventListener("keyup",f,!0),t.addEventListener("click",l,!0),n.addEventListener("focus",b,!0),n.addEventListener("blur",$,!1),typeof PointerEvent<"u"?(t.addEventListener("pointerdown",o,!0),t.addEventListener("pointermove",o,!0),t.addEventListener("pointerup",o,!0)):(t.addEventListener("mousedown",o,!0),t.addEventListener("mousemove",o,!0),t.addEventListener("mouseup",o,!0)),n.addEventListener("beforeunload",()=>{p(e)},{once:!0}),u.set(n,{focus:r})}const p=(e,n)=>{const t=i.getOwnerWindow(e),r=i.getOwnerDocument(e);n&&r.removeEventListener("DOMContentLoaded",n),u.has(t)&&(t.HTMLElement.prototype.focus=u.get(t).focus,r.removeEventListener("keydown",f,!0),r.removeEventListener("keyup",f,!0),r.removeEventListener("click",l,!0),t.removeEventListener("focus",b,!0),t.removeEventListener("blur",$,!1),typeof PointerEvent<"u"?(r.removeEventListener("pointerdown",o,!0),r.removeEventListener("pointermove",o,!0),r.removeEventListener("pointerup",o,!0)):(r.removeEventListener("mousedown",o,!0),r.removeEventListener("mousemove",o,!0),r.removeEventListener("mouseup",o,!0)),u.delete(t))};function E(e){const n=i.getOwnerDocument(e);let t;return n.readyState!=="loading"?v(e):(t=()=>{v(e)},n.addEventListener("DOMContentLoaded",t)),()=>p(e,t)}typeof document<"u"&&E();function g(){return d}function k(e){d=e,c(e,null)}exports.addWindowFocusTracking=E;exports.getInteractionModality=g;exports.hasSetupGlobalListeners=u;exports.setInteractionModality=k;
package/index230.mjs CHANGED
@@ -1,62 +1,64 @@
1
- import { e as u, p as d, i as g, n as m, a as h, b as v } from "./index231.mjs";
2
- import { d as x } from "./index229.mjs";
3
- function b(n, i) {
4
- n === void 0 && (n = {}), i === void 0 && (i = !0);
5
- const t = {
6
- on: {}
7
- }, e = {}, r = {};
8
- u(t, x), t._emitClasses = !0, t.init = !1;
9
- const o = {}, s = d.map((a) => a.replace(/_/, "")), l = Object.assign({}, n);
10
- return Object.keys(l).forEach((a) => {
11
- typeof n[a] > "u" || (s.indexOf(a) >= 0 ? g(n[a]) ? (t[a] = {}, r[a] = {}, u(t[a], n[a]), u(r[a], n[a])) : (t[a] = n[a], r[a] = n[a]) : a.search(/on[A-Z]/) === 0 && typeof n[a] == "function" ? i ? e[`${a[2].toLowerCase()}${a.substr(3)}`] = n[a] : t.on[`${a[2].toLowerCase()}${a.substr(3)}`] = n[a] : o[a] = n[a]);
12
- }), ["navigation", "pagination", "scrollbar"].forEach((a) => {
13
- t[a] === !0 && (t[a] = {}), t[a] === !1 && delete t[a];
14
- }), {
15
- params: t,
16
- passedParams: r,
17
- rest: o,
18
- events: e
19
- };
20
- }
21
- function C(n, i) {
22
- let {
23
- el: t,
24
- nextEl: e,
25
- prevEl: r,
26
- paginationEl: o,
27
- scrollbarEl: s,
28
- swiper: l
29
- } = n;
30
- m(i) && e && r && (l.params.navigation.nextEl = e, l.originalParams.navigation.nextEl = e, l.params.navigation.prevEl = r, l.originalParams.navigation.prevEl = r), h(i) && o && (l.params.pagination.el = o, l.originalParams.pagination.el = o), v(i) && s && (l.params.scrollbar.el = s, l.originalParams.scrollbar.el = s), l.init(t);
31
- }
32
- function S(n, i, t, e, r) {
33
- const o = [];
34
- if (!i) return o;
35
- const s = (a) => {
36
- o.indexOf(a) < 0 && o.push(a);
37
- };
38
- if (t && e) {
39
- const a = e.map(r), c = t.map(r);
40
- a.join("") !== c.join("") && s("children"), e.length !== t.length && s("children");
41
- }
42
- return d.filter((a) => a[0] === "_").map((a) => a.replace(/_/, "")).forEach((a) => {
43
- if (a in n && a in i)
44
- if (g(n[a]) && g(i[a])) {
45
- const c = Object.keys(n[a]), p = Object.keys(i[a]);
46
- c.length !== p.length ? s(a) : (c.forEach((f) => {
47
- n[a][f] !== i[a][f] && s(a);
48
- }), p.forEach((f) => {
49
- n[a][f] !== i[a][f] && s(a);
50
- }));
51
- } else n[a] !== i[a] && s(a);
52
- }), o;
53
- }
54
- const _ = (n) => {
55
- !n || n.destroyed || !n.params.virtual || n.params.virtual && !n.params.virtual.enabled || (n.updateSlides(), n.updateProgress(), n.updateSlidesClasses(), n.parallax && n.params.parallax && n.params.parallax.enabled && n.parallax.setTranslate());
1
+ import { getOwnerDocument as v, getOwnerWindow as s } from "./index273.mjs";
2
+ import { isMac as m } from "./index174.mjs";
3
+ import { isVirtualClick as L } from "./index284.mjs";
4
+ import "react";
5
+ let f = null, y = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Map(), a = !1, c = !1;
6
+ function u(e, n) {
7
+ for (let t of y) t(e, n);
8
+ }
9
+ function w(e) {
10
+ return !(e.metaKey || !m() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
11
+ }
12
+ function d(e) {
13
+ a = !0, w(e) && (f = "keyboard", u("keyboard", e));
14
+ }
15
+ function o(e) {
16
+ f = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && (a = !0, u("pointer", e));
17
+ }
18
+ function b(e) {
19
+ L(e) && (a = !0, f = "virtual");
20
+ }
21
+ function l(e) {
22
+ e.target === window || e.target === document || (!a && !c && (f = "virtual", u("virtual", e)), a = !1, c = !1);
23
+ }
24
+ function p() {
25
+ a = !1, c = !0;
26
+ }
27
+ function $(e) {
28
+ if (typeof window > "u" || i.get(s(e))) return;
29
+ const n = s(e), t = v(e);
30
+ let r = n.HTMLElement.prototype.focus;
31
+ n.HTMLElement.prototype.focus = function() {
32
+ a = !0, r.apply(this, arguments);
33
+ }, t.addEventListener("keydown", d, !0), t.addEventListener("keyup", d, !0), t.addEventListener("click", b, !0), n.addEventListener("focus", l, !0), n.addEventListener("blur", p, !1), typeof PointerEvent < "u" ? (t.addEventListener("pointerdown", o, !0), t.addEventListener("pointermove", o, !0), t.addEventListener("pointerup", o, !0)) : (t.addEventListener("mousedown", o, !0), t.addEventListener("mousemove", o, !0), t.addEventListener("mouseup", o, !0)), n.addEventListener("beforeunload", () => {
34
+ E(e);
35
+ }, {
36
+ once: !0
37
+ }), i.set(n, {
38
+ focus: r
39
+ });
40
+ }
41
+ const E = (e, n) => {
42
+ const t = s(e), r = v(e);
43
+ n && r.removeEventListener("DOMContentLoaded", n), i.has(t) && (t.HTMLElement.prototype.focus = i.get(t).focus, r.removeEventListener("keydown", d, !0), r.removeEventListener("keyup", d, !0), r.removeEventListener("click", b, !0), t.removeEventListener("focus", l, !0), t.removeEventListener("blur", p, !1), typeof PointerEvent < "u" ? (r.removeEventListener("pointerdown", o, !0), r.removeEventListener("pointermove", o, !0), r.removeEventListener("pointerup", o, !0)) : (r.removeEventListener("mousedown", o, !0), r.removeEventListener("mousemove", o, !0), r.removeEventListener("mouseup", o, !0)), i.delete(t));
56
44
  };
45
+ function g(e) {
46
+ const n = v(e);
47
+ let t;
48
+ return n.readyState !== "loading" ? $(e) : (t = () => {
49
+ $(e);
50
+ }, n.addEventListener("DOMContentLoaded", t)), () => E(e, t);
51
+ }
52
+ typeof document < "u" && g();
53
+ function O() {
54
+ return f;
55
+ }
56
+ function C(e) {
57
+ f = e, u(e, null);
58
+ }
57
59
  export {
58
- S as a,
59
- b as g,
60
- C as m,
61
- _ as u
60
+ g as addWindowFocusTracking,
61
+ O as getInteractionModality,
62
+ i as hasSetupGlobalListeners,
63
+ C as setInteractionModality
62
64
  };
package/index231.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function g(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function j(t,i){const r=["__proto__","constructor","prototype"];Object.keys(i).filter(e=>r.indexOf(e)<0).forEach(e=>{typeof t[e]>"u"?t[e]=i[e]:g(i[e])&&g(t[e])&&Object.keys(i[e]).length>0?i[e].__swiper__?t[e]=i[e]:j(t[e],i[e]):t[e]=i[e]})}function z(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function B(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function I(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function L(t){t===void 0&&(t="");const i=t.split(" ").map(e=>e.trim()).filter(e=>!!e),r=[];return i.forEach(e=>{r.indexOf(e)<0&&r.push(e)}),r.join(" ")}function N(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function A(t){let{swiper:i,slides:r,passedParams:e,changedParams:o,nextEl:s,prevEl:a,scrollbarEl:d,paginationEl:c}=t;const h=o.filter(n=>n!=="children"&&n!=="direction"&&n!=="wrapperClass"),{params:l,pagination:p,navigation:f,scrollbar:v,virtual:u,thumbs:E}=i;let S,_,P,C,x,m,O,b;o.includes("thumbs")&&e.thumbs&&e.thumbs.swiper&&!e.thumbs.swiper.destroyed&&l.thumbs&&(!l.thumbs.swiper||l.thumbs.swiper.destroyed)&&(S=!0),o.includes("controller")&&e.controller&&e.controller.control&&l.controller&&!l.controller.control&&(_=!0),o.includes("pagination")&&e.pagination&&(e.pagination.el||c)&&(l.pagination||l.pagination===!1)&&p&&!p.el&&(P=!0),o.includes("scrollbar")&&e.scrollbar&&(e.scrollbar.el||d)&&(l.scrollbar||l.scrollbar===!1)&&v&&!v.el&&(C=!0),o.includes("navigation")&&e.navigation&&(e.navigation.prevEl||a)&&(e.navigation.nextEl||s)&&(l.navigation||l.navigation===!1)&&f&&!f.prevEl&&!f.nextEl&&(x=!0);const T=n=>{i[n]&&(i[n].destroy(),n==="navigation"?(i.isElement&&(i[n].prevEl.remove(),i[n].nextEl.remove()),l[n].prevEl=void 0,l[n].nextEl=void 0,i[n].prevEl=void 0,i[n].nextEl=void 0):(i.isElement&&i[n].el.remove(),l[n].el=void 0,i[n].el=void 0))};o.includes("loop")&&i.isElement&&(l.loop&&!e.loop?m=!0:!l.loop&&e.loop?O=!0:b=!0),h.forEach(n=>{if(g(l[n])&&g(e[n]))Object.assign(l[n],e[n]),(n==="navigation"||n==="pagination"||n==="scrollbar")&&"enabled"in e[n]&&!e[n].enabled&&T(n);else{const w=e[n];(w===!0||w===!1)&&(n==="navigation"||n==="pagination"||n==="scrollbar")?w===!1&&T(n):l[n]=e[n]}}),h.includes("controller")&&!_&&i.controller&&i.controller.control&&l.controller&&l.controller.control&&(i.controller.control=l.controller.control),o.includes("children")&&r&&u&&l.virtual.enabled?(u.slides=r,u.update(!0)):o.includes("virtual")&&u&&l.virtual.enabled&&(r&&(u.slides=r),u.update(!0)),o.includes("children")&&r&&l.loop&&(b=!0),S&&E.init()&&E.update(!0),_&&(i.controller.control=l.controller.control),P&&(i.isElement&&(!c||typeof c=="string")&&(c=document.createElement("div"),c.classList.add("swiper-pagination"),c.part.add("pagination"),i.el.appendChild(c)),c&&(l.pagination.el=c),p.init(),p.render(),p.update()),C&&(i.isElement&&(!d||typeof d=="string")&&(d=document.createElement("div"),d.classList.add("swiper-scrollbar"),d.part.add("scrollbar"),i.el.appendChild(d)),d&&(l.scrollbar.el=d),v.init(),v.updateSize(),v.setTranslate()),x&&(i.isElement&&((!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-next"),s.innerHTML=i.hostEl.constructor.nextButtonSvg,s.part.add("button-next"),i.el.appendChild(s)),(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-button-prev"),a.innerHTML=i.hostEl.constructor.prevButtonSvg,a.part.add("button-prev"),i.el.appendChild(a))),s&&(l.navigation.nextEl=s),a&&(l.navigation.prevEl=a),f.init(),f.update()),o.includes("allowSlideNext")&&(i.allowSlideNext=e.allowSlideNext),o.includes("allowSlidePrev")&&(i.allowSlidePrev=e.allowSlidePrev),o.includes("direction")&&i.changeDirection(e.direction,!1),(m||b)&&i.loopDestroy(),(O||b)&&i.loopCreate(),i.update()}exports.a=B;exports.b=I;exports.d=L;exports.e=j;exports.i=g;exports.n=z;exports.p=M;exports.u=A;exports.w=N;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const $=require("./index170.js"),i=require("./index152.js");function b(e,r,f){return r!=null&&e.compare(r)<0||f!=null&&e.compare(f)>0}function D(e,r,f,n,s){let t={};for(let c in r)t[c]=Math.floor(r[c]/2),t[c]>0&&r[c]%2===0&&t[c]--;let o=l(e,r,f).subtract(t);return a(e,o,r,f,n,s)}function l(e,r,f,n,s){let t=e;return r.years?t=i.startOfYear(e):r.months?t=i.startOfMonth(e):r.weeks&&(t=i.startOfWeek(e,f)),a(e,t,r,f,n,s)}function p(e,r,f,n,s){let t={...r};t.days?t.days--:t.weeks?t.weeks--:t.months?t.months--:t.years&&t.years--;let o=l(e,r,f).subtract(t);return a(e,o,r,f,n,s)}function a(e,r,f,n,s,t){if(s&&e.compare(s)>=0){let o=i.maxDate(r,l($.toCalendarDate(s),f,n));o&&(r=o)}if(t&&e.compare(t)<=0){let o=i.minDate(r,p($.toCalendarDate(t),f,n));o&&(r=o)}return r}function u(e,r,f){if(r){let n=i.maxDate(e,$.toCalendarDate(r));n&&(e=n)}if(f){let n=i.minDate(e,$.toCalendarDate(f));n&&(e=n)}return e}function y(e,r,f){if(!f)return e;for(;e.compare(r)>=0&&f(e);)e=e.subtract({days:1});return e.compare(r)>=0?e:null}exports.alignCenter=D;exports.alignEnd=p;exports.alignStart=l;exports.constrainStart=a;exports.constrainValue=u;exports.isInvalid=b;exports.previousAvailableDate=y;
package/index231.mjs CHANGED
@@ -1,191 +1,62 @@
1
- const z = [
2
- "eventsPrefix",
3
- "injectStyles",
4
- "injectStylesUrls",
5
- "modules",
6
- "init",
7
- "_direction",
8
- "oneWayMovement",
9
- "swiperElementNodeName",
10
- "touchEventsTarget",
11
- "initialSlide",
12
- "_speed",
13
- "cssMode",
14
- "updateOnWindowResize",
15
- "resizeObserver",
16
- "nested",
17
- "focusableElements",
18
- "_enabled",
19
- "_width",
20
- "_height",
21
- "preventInteractionOnTransition",
22
- "userAgent",
23
- "url",
24
- "_edgeSwipeDetection",
25
- "_edgeSwipeThreshold",
26
- "_freeMode",
27
- "_autoHeight",
28
- "setWrapperSize",
29
- "virtualTranslate",
30
- "_effect",
31
- "breakpoints",
32
- "breakpointsBase",
33
- "_spaceBetween",
34
- "_slidesPerView",
35
- "maxBackfaceHiddenSlides",
36
- "_grid",
37
- "_slidesPerGroup",
38
- "_slidesPerGroupSkip",
39
- "_slidesPerGroupAuto",
40
- "_centeredSlides",
41
- "_centeredSlidesBounds",
42
- "_slidesOffsetBefore",
43
- "_slidesOffsetAfter",
44
- "normalizeSlideIndex",
45
- "_centerInsufficientSlides",
46
- "_watchOverflow",
47
- "roundLengths",
48
- "touchRatio",
49
- "touchAngle",
50
- "simulateTouch",
51
- "_shortSwipes",
52
- "_longSwipes",
53
- "longSwipesRatio",
54
- "longSwipesMs",
55
- "_followFinger",
56
- "allowTouchMove",
57
- "_threshold",
58
- "touchMoveStopPropagation",
59
- "touchStartPreventDefault",
60
- "touchStartForcePreventDefault",
61
- "touchReleaseOnEdges",
62
- "uniqueNavElements",
63
- "_resistance",
64
- "_resistanceRatio",
65
- "_watchSlidesProgress",
66
- "_grabCursor",
67
- "preventClicks",
68
- "preventClicksPropagation",
69
- "_slideToClickedSlide",
70
- "_loop",
71
- "loopAdditionalSlides",
72
- "loopAddBlankSlides",
73
- "loopPreventsSliding",
74
- "_rewind",
75
- "_allowSlidePrev",
76
- "_allowSlideNext",
77
- "_swipeHandler",
78
- "_noSwiping",
79
- "noSwipingClass",
80
- "noSwipingSelector",
81
- "passiveListeners",
82
- "containerModifierClass",
83
- "slideClass",
84
- "slideActiveClass",
85
- "slideVisibleClass",
86
- "slideFullyVisibleClass",
87
- "slideNextClass",
88
- "slidePrevClass",
89
- "slideBlankClass",
90
- "wrapperClass",
91
- "lazyPreloaderClass",
92
- "lazyPreloadPrevNext",
93
- "runCallbacksOnInit",
94
- "observer",
95
- "observeParents",
96
- "observeSlideChildren",
97
- // modules
98
- "a11y",
99
- "_autoplay",
100
- "_controller",
101
- "coverflowEffect",
102
- "cubeEffect",
103
- "fadeEffect",
104
- "flipEffect",
105
- "creativeEffect",
106
- "cardsEffect",
107
- "hashNavigation",
108
- "history",
109
- "keyboard",
110
- "mousewheel",
111
- "_navigation",
112
- "_pagination",
113
- "parallax",
114
- "_scrollbar",
115
- "_thumbs",
116
- "virtual",
117
- "zoom",
118
- "control"
119
- ];
120
- function b(t) {
121
- return typeof t == "object" && t !== null && t.constructor && Object.prototype.toString.call(t).slice(8, -1) === "Object" && !t.__swiper__;
122
- }
123
- function j(t, i) {
124
- const r = ["__proto__", "constructor", "prototype"];
125
- Object.keys(i).filter((e) => r.indexOf(e) < 0).forEach((e) => {
126
- typeof t[e] > "u" ? t[e] = i[e] : b(i[e]) && b(t[e]) && Object.keys(i[e]).length > 0 ? i[e].__swiper__ ? t[e] = i[e] : j(t[e], i[e]) : t[e] = i[e];
127
- });
128
- }
129
- function M(t) {
130
- return t === void 0 && (t = {}), t.navigation && typeof t.navigation.nextEl > "u" && typeof t.navigation.prevEl > "u";
131
- }
132
- function B(t) {
133
- return t === void 0 && (t = {}), t.pagination && typeof t.pagination.el > "u";
134
- }
135
- function I(t) {
136
- return t === void 0 && (t = {}), t.scrollbar && typeof t.scrollbar.el > "u";
137
- }
138
- function L(t) {
139
- t === void 0 && (t = "");
140
- const i = t.split(" ").map((e) => e.trim()).filter((e) => !!e), r = [];
141
- return i.forEach((e) => {
142
- r.indexOf(e) < 0 && r.push(e);
143
- }), r.join(" ");
144
- }
145
- function N(t) {
146
- return t === void 0 && (t = ""), t ? t.includes("swiper-wrapper") ? t : `swiper-wrapper ${t}` : "swiper-wrapper";
147
- }
148
- function A(t) {
149
- let {
150
- swiper: i,
151
- slides: r,
152
- passedParams: e,
153
- changedParams: o,
154
- nextEl: s,
155
- prevEl: a,
156
- scrollbarEl: d,
157
- paginationEl: c
158
- } = t;
159
- const h = o.filter((n) => n !== "children" && n !== "direction" && n !== "wrapperClass"), {
160
- params: l,
161
- pagination: p,
162
- navigation: f,
163
- scrollbar: v,
164
- virtual: u,
165
- thumbs: E
166
- } = i;
167
- let S, _, x, C, P, m, O, g;
168
- o.includes("thumbs") && e.thumbs && e.thumbs.swiper && !e.thumbs.swiper.destroyed && l.thumbs && (!l.thumbs.swiper || l.thumbs.swiper.destroyed) && (S = !0), o.includes("controller") && e.controller && e.controller.control && l.controller && !l.controller.control && (_ = !0), o.includes("pagination") && e.pagination && (e.pagination.el || c) && (l.pagination || l.pagination === !1) && p && !p.el && (x = !0), o.includes("scrollbar") && e.scrollbar && (e.scrollbar.el || d) && (l.scrollbar || l.scrollbar === !1) && v && !v.el && (C = !0), o.includes("navigation") && e.navigation && (e.navigation.prevEl || a) && (e.navigation.nextEl || s) && (l.navigation || l.navigation === !1) && f && !f.prevEl && !f.nextEl && (P = !0);
169
- const T = (n) => {
170
- i[n] && (i[n].destroy(), n === "navigation" ? (i.isElement && (i[n].prevEl.remove(), i[n].nextEl.remove()), l[n].prevEl = void 0, l[n].nextEl = void 0, i[n].prevEl = void 0, i[n].nextEl = void 0) : (i.isElement && i[n].el.remove(), l[n].el = void 0, i[n].el = void 0));
1
+ import { toCalendarDate as o } from "./index170.mjs";
2
+ import { startOfYear as l, startOfMonth as x, startOfWeek as w, maxDate as i, minDate as b } from "./index152.mjs";
3
+ function m(f, e, t) {
4
+ return e != null && f.compare(e) < 0 || t != null && f.compare(t) > 0;
5
+ }
6
+ function u(f, e, t, s, $) {
7
+ let r = {};
8
+ for (let n in e)
9
+ r[n] = Math.floor(e[n] / 2), r[n] > 0 && e[n] % 2 === 0 && r[n]--;
10
+ let c = a(f, e, t).subtract(r);
11
+ return p(f, c, e, t, s, $);
12
+ }
13
+ function a(f, e, t, s, $) {
14
+ let r = f;
15
+ return e.years ? r = l(f) : e.months ? r = x(f) : e.weeks && (r = w(f, t)), p(f, r, e, t, s, $);
16
+ }
17
+ function D(f, e, t, s, $) {
18
+ let r = {
19
+ ...e
171
20
  };
172
- o.includes("loop") && i.isElement && (l.loop && !e.loop ? m = !0 : !l.loop && e.loop ? O = !0 : g = !0), h.forEach((n) => {
173
- if (b(l[n]) && b(e[n]))
174
- Object.assign(l[n], e[n]), (n === "navigation" || n === "pagination" || n === "scrollbar") && "enabled" in e[n] && !e[n].enabled && T(n);
175
- else {
176
- const w = e[n];
177
- (w === !0 || w === !1) && (n === "navigation" || n === "pagination" || n === "scrollbar") ? w === !1 && T(n) : l[n] = e[n];
178
- }
179
- }), h.includes("controller") && !_ && i.controller && i.controller.control && l.controller && l.controller.control && (i.controller.control = l.controller.control), o.includes("children") && r && u && l.virtual.enabled ? (u.slides = r, u.update(!0)) : o.includes("virtual") && u && l.virtual.enabled && (r && (u.slides = r), u.update(!0)), o.includes("children") && r && l.loop && (g = !0), S && E.init() && E.update(!0), _ && (i.controller.control = l.controller.control), x && (i.isElement && (!c || typeof c == "string") && (c = document.createElement("div"), c.classList.add("swiper-pagination"), c.part.add("pagination"), i.el.appendChild(c)), c && (l.pagination.el = c), p.init(), p.render(), p.update()), C && (i.isElement && (!d || typeof d == "string") && (d = document.createElement("div"), d.classList.add("swiper-scrollbar"), d.part.add("scrollbar"), i.el.appendChild(d)), d && (l.scrollbar.el = d), v.init(), v.updateSize(), v.setTranslate()), P && (i.isElement && ((!s || typeof s == "string") && (s = document.createElement("div"), s.classList.add("swiper-button-next"), s.innerHTML = i.hostEl.constructor.nextButtonSvg, s.part.add("button-next"), i.el.appendChild(s)), (!a || typeof a == "string") && (a = document.createElement("div"), a.classList.add("swiper-button-prev"), a.innerHTML = i.hostEl.constructor.prevButtonSvg, a.part.add("button-prev"), i.el.appendChild(a))), s && (l.navigation.nextEl = s), a && (l.navigation.prevEl = a), f.init(), f.update()), o.includes("allowSlideNext") && (i.allowSlideNext = e.allowSlideNext), o.includes("allowSlidePrev") && (i.allowSlidePrev = e.allowSlidePrev), o.includes("direction") && i.changeDirection(e.direction, !1), (m || g) && i.loopDestroy(), (O || g) && i.loopCreate(), i.update();
21
+ r.days ? r.days-- : r.weeks ? r.weeks-- : r.months ? r.months-- : r.years && r.years--;
22
+ let c = a(f, e, t).subtract(r);
23
+ return p(f, c, e, t, s, $);
24
+ }
25
+ function p(f, e, t, s, $, r) {
26
+ if ($ && f.compare($) >= 0) {
27
+ let c = i(e, a(o($), t, s));
28
+ c && (e = c);
29
+ }
30
+ if (r && f.compare(r) <= 0) {
31
+ let c = b(e, D(o(r), t, s));
32
+ c && (e = c);
33
+ }
34
+ return e;
35
+ }
36
+ function k(f, e, t) {
37
+ if (e) {
38
+ let s = i(f, o(e));
39
+ s && (f = s);
40
+ }
41
+ if (t) {
42
+ let s = b(f, o(t));
43
+ s && (f = s);
44
+ }
45
+ return f;
46
+ }
47
+ function O(f, e, t) {
48
+ if (!t) return f;
49
+ for (; f.compare(e) >= 0 && t(f); ) f = f.subtract({
50
+ days: 1
51
+ });
52
+ return f.compare(e) >= 0 ? f : null;
180
53
  }
181
54
  export {
182
- B as a,
183
- I as b,
184
- L as d,
185
- j as e,
186
- b as i,
187
- M as n,
188
- z as p,
189
- A as u,
190
- N as w
55
+ u as alignCenter,
56
+ D as alignEnd,
57
+ a as alignStart,
58
+ p as constrainStart,
59
+ k as constrainValue,
60
+ m as isInvalid,
61
+ O as previousAvailableDate
191
62
  };
package/index266.js CHANGED
@@ -1 +1 @@
1
- "use strict";const e=require("./index347.js"),r=require("./index348.js"),t=require("./index349.js"),s=require("./index350.js"),u=require("./index351.js"),n=require("./index352.js"),i=require("./index353.js"),o=require("./index354.js"),c=require("./index355.js"),q=require("./index356.js"),R=require("./index357.js"),l=require("./index358.js"),E=require("./index359.js"),S=require("./index360.js"),h=require("./index361.js"),L=require("./index362.js"),T=require("./index363.js"),a=require("./index364.js"),I=require("./index365.js"),P=require("./index366.js"),U=require("./index367.js"),d=require("./index368.js"),f=require("./index369.js"),p=require("./index370.js"),k=require("./index371.js"),K=require("./index372.js"),N=require("./index373.js"),b=require("./index374.js"),v=require("./index375.js"),z=require("./index376.js"),A=require("./index377.js"),B=require("./index378.js"),C=require("./index379.js"),D=require("./index380.js");exports.default={};exports.default={"ar-AE":e,"bg-BG":r,"cs-CZ":t,"da-DK":s,"de-DE":u,"el-GR":n,"en-US":i,"es-ES":o,"et-EE":c,"fi-FI":q,"fr-FR":R,"he-IL":l,"hr-HR":E,"hu-HU":S,"it-IT":h,"ja-JP":L,"ko-KR":T,"lt-LT":a,"lv-LV":I,"nb-NO":P,"nl-NL":U,"pl-PL":d,"pt-BR":f,"pt-PT":p,"ro-RO":k,"ru-RU":K,"sk-SK":N,"sl-SI":b,"sr-SP":v,"sv-SE":z,"tr-TR":A,"uk-UA":B,"zh-CN":C,"zh-TW":D};module.exports=exports.default;
1
+ "use strict";const e=require("./index348.js"),r=require("./index349.js"),t=require("./index350.js"),s=require("./index351.js"),u=require("./index352.js"),n=require("./index353.js"),i=require("./index354.js"),o=require("./index355.js"),c=require("./index356.js"),q=require("./index357.js"),R=require("./index358.js"),l=require("./index359.js"),E=require("./index360.js"),S=require("./index361.js"),h=require("./index362.js"),L=require("./index363.js"),T=require("./index364.js"),a=require("./index365.js"),I=require("./index366.js"),P=require("./index367.js"),U=require("./index368.js"),d=require("./index369.js"),f=require("./index370.js"),p=require("./index371.js"),k=require("./index372.js"),K=require("./index373.js"),N=require("./index374.js"),b=require("./index375.js"),v=require("./index376.js"),z=require("./index377.js"),A=require("./index378.js"),B=require("./index379.js"),C=require("./index380.js"),D=require("./index381.js");exports.default={};exports.default={"ar-AE":e,"bg-BG":r,"cs-CZ":t,"da-DK":s,"de-DE":u,"el-GR":n,"en-US":i,"es-ES":o,"et-EE":c,"fi-FI":q,"fr-FR":R,"he-IL":l,"hr-HR":E,"hu-HU":S,"it-IT":h,"ja-JP":L,"ko-KR":T,"lt-LT":a,"lv-LV":I,"nb-NO":P,"nl-NL":U,"pl-PL":d,"pt-BR":f,"pt-PT":p,"ro-RO":k,"ru-RU":K,"sk-SK":N,"sl-SI":b,"sr-SP":v,"sv-SE":z,"tr-TR":A,"uk-UA":B,"zh-CN":C,"zh-TW":D};module.exports=exports.default;
package/index266.mjs CHANGED
@@ -1,37 +1,37 @@
1
- import r from "./index347.mjs";
2
- import o from "./index348.mjs";
3
- import e from "./index349.mjs";
4
- import t from "./index350.mjs";
5
- import p from "./index351.mjs";
6
- import $ from "./index352.mjs";
7
- import m from "./index353.mjs";
8
- import f from "./index354.mjs";
9
- import a from "./index355.mjs";
10
- import s from "./index356.mjs";
11
- import c from "./index357.mjs";
12
- import d from "./index358.mjs";
13
- import i from "./index359.mjs";
14
- import x from "./index360.mjs";
15
- import b from "./index361.mjs";
16
- import R from "./index362.mjs";
17
- import l from "./index363.mjs";
18
- import E from "./index364.mjs";
19
- import S from "./index365.mjs";
20
- import h from "./index366.mjs";
21
- import L from "./index367.mjs";
22
- import T from "./index368.mjs";
23
- import u from "./index369.mjs";
24
- import I from "./index370.mjs";
25
- import P from "./index371.mjs";
26
- import U from "./index372.mjs";
27
- import k from "./index373.mjs";
28
- import n from "./index374.mjs";
29
- import v from "./index375.mjs";
30
- import K from "./index376.mjs";
31
- import N from "./index377.mjs";
32
- import z from "./index378.mjs";
33
- import A from "./index379.mjs";
34
- import B from "./index380.mjs";
1
+ import r from "./index348.mjs";
2
+ import o from "./index349.mjs";
3
+ import e from "./index350.mjs";
4
+ import t from "./index351.mjs";
5
+ import p from "./index352.mjs";
6
+ import $ from "./index353.mjs";
7
+ import m from "./index354.mjs";
8
+ import f from "./index355.mjs";
9
+ import a from "./index356.mjs";
10
+ import s from "./index357.mjs";
11
+ import c from "./index358.mjs";
12
+ import d from "./index359.mjs";
13
+ import i from "./index360.mjs";
14
+ import x from "./index361.mjs";
15
+ import b from "./index362.mjs";
16
+ import R from "./index363.mjs";
17
+ import l from "./index364.mjs";
18
+ import E from "./index365.mjs";
19
+ import S from "./index366.mjs";
20
+ import h from "./index367.mjs";
21
+ import L from "./index368.mjs";
22
+ import T from "./index369.mjs";
23
+ import u from "./index370.mjs";
24
+ import I from "./index371.mjs";
25
+ import P from "./index372.mjs";
26
+ import U from "./index373.mjs";
27
+ import k from "./index374.mjs";
28
+ import n from "./index375.mjs";
29
+ import v from "./index376.mjs";
30
+ import K from "./index377.mjs";
31
+ import N from "./index378.mjs";
32
+ import z from "./index379.mjs";
33
+ import A from "./index380.mjs";
34
+ import B from "./index381.mjs";
35
35
  var C = {};
36
36
  C = {
37
37
  "ar-AE": r,
package/index270.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=7e3;let t=null;function s(o,e="assertive",i=r){t?t.announce(o,e,i):(t=new c,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?t.announce(o,e,i):setTimeout(()=>{t!=null&&t.isAttached()&&(t==null||t.announce(o,e,i))},100))}function u(o){t&&t.clear(o)}class c{isAttached(){var e;return(e=this.node)===null||e===void 0?void 0:e.isConnected}createLog(e){let i=document.createElement("div");return i.setAttribute("role","log"),i.setAttribute("aria-live",e),i.setAttribute("aria-relevant","additions"),i}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(e,i="assertive",a=r){var d,l;if(!this.node)return;let n=document.createElement("div");typeof e=="object"?(n.setAttribute("role","img"),n.setAttribute("aria-labelledby",e["aria-labelledby"])):n.textContent=e,i==="assertive"?(d=this.assertiveLog)===null||d===void 0||d.appendChild(n):(l=this.politeLog)===null||l===void 0||l.appendChild(n),e!==""&&setTimeout(()=>{n.remove()},a)}clear(e){this.node&&((!e||e==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!e||e==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}}exports.announce=s;exports.clearAnnouncer=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index283.js"),a=require("./index172.js"),n=require("react");function o(c){let[u,l]=n.useState(c),e=n.useRef(null),r=f.useEffectEvent(()=>{if(!e.current)return;let t=e.current.next();if(t.done){e.current=null;return}u===t.value?r():l(t.value)});a.useLayoutEffect(()=>{e.current&&r()});let s=f.useEffectEvent(t=>{e.current=t(u),r()});return[u,s]}exports.useValueEffect=o;
package/index270.mjs CHANGED
@@ -1,51 +1,27 @@
1
- let t = null;
2
- function s(o, e = "assertive", i = 7e3) {
3
- t ? t.announce(o, e, i) : (t = new a(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? t.announce(o, e, i) : setTimeout(() => {
4
- t != null && t.isAttached() && (t == null || t.announce(o, e, i));
5
- }, 100));
6
- }
7
- function h(o) {
8
- t && t.clear(o);
9
- }
10
- class a {
11
- isAttached() {
12
- var e;
13
- return (e = this.node) === null || e === void 0 ? void 0 : e.isConnected;
14
- }
15
- createLog(e) {
16
- let i = document.createElement("div");
17
- return i.setAttribute("role", "log"), i.setAttribute("aria-live", e), i.setAttribute("aria-relevant", "additions"), i;
18
- }
19
- destroy() {
20
- this.node && (document.body.removeChild(this.node), this.node = null);
21
- }
22
- announce(e, i = "assertive", r = 7e3) {
23
- var d, l;
24
- if (!this.node) return;
25
- let n = document.createElement("div");
26
- typeof e == "object" ? (n.setAttribute("role", "img"), n.setAttribute("aria-labelledby", e["aria-labelledby"])) : n.textContent = e, i === "assertive" ? (d = this.assertiveLog) === null || d === void 0 || d.appendChild(n) : (l = this.politeLog) === null || l === void 0 || l.appendChild(n), e !== "" && setTimeout(() => {
27
- n.remove();
28
- }, r);
29
- }
30
- clear(e) {
31
- this.node && ((!e || e === "assertive") && this.assertiveLog && (this.assertiveLog.innerHTML = ""), (!e || e === "polite") && this.politeLog && (this.politeLog.innerHTML = ""));
32
- }
33
- constructor() {
34
- this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {
35
- border: 0,
36
- clip: "rect(0 0 0 0)",
37
- clipPath: "inset(50%)",
38
- height: "1px",
39
- margin: "-1px",
40
- overflow: "hidden",
41
- padding: 0,
42
- position: "absolute",
43
- width: "1px",
44
- whiteSpace: "nowrap"
45
- }), this.assertiveLog = this.createLog("assertive"), this.node.appendChild(this.assertiveLog), this.politeLog = this.createLog("polite"), this.node.appendChild(this.politeLog), document.body.prepend(this.node));
46
- }
1
+ import { useEffectEvent as u } from "./index283.mjs";
2
+ import { useLayoutEffect as l } from "./index172.mjs";
3
+ import { useState as o, useRef as s } from "react";
4
+ function p(a) {
5
+ let [f, c] = o(a), e = s(null), r = u(() => {
6
+ if (!e.current) return;
7
+ let t = e.current.next();
8
+ if (t.done) {
9
+ e.current = null;
10
+ return;
11
+ }
12
+ f === t.value ? r() : c(t.value);
13
+ });
14
+ l(() => {
15
+ e.current && r();
16
+ });
17
+ let n = u((t) => {
18
+ e.current = t(f), r();
19
+ });
20
+ return [
21
+ f,
22
+ n
23
+ ];
47
24
  }
48
25
  export {
49
- s as announce,
50
- h as clearAnnouncer
26
+ p as useValueEffect
51
27
  };
package/index271.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react");function n(f,r){const e=t.useRef(!0),u=t.useRef(null);t.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.useEffect(()=>{e.current?e.current=!1:(!u.current||r.some((c,s)=>!Object.is(c,u[s])))&&f(),u.current=r},r)}exports.useUpdateEffect=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),u={prefix:String(Math.round(Math.random()*1e10)),current:0},d=e.createContext(u),l=e.createContext(!1);let f=!!(typeof window<"u"&&window.document&&window.document.createElement),s=new WeakMap;function v(r=!1){let t=e.useContext(d),n=e.useRef(null);if(n.current===null&&!r){var a,c;let o=(c=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||c===void 0||(a=c.ReactCurrentOwner)===null||a===void 0?void 0:a.current;if(o){let i=s.get(o);i==null?s.set(o,{id:t.current,state:o.memoizedState}):o.memoizedState!==i.state&&(t.current=i.id,s.delete(o))}n.current=++t.current}return n.current}function S(r){let t=e.useContext(d);t===u&&!f&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let n=v(!!r),a=t===u&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return r||`${a}-${n}`}function p(r){let t=e.useId(),[n]=e.useState($()),a=n||process.env.NODE_ENV==="test"?"react-aria":`react-aria${u.prefix}`;return r||`${a}-${t}`}const b=typeof e.useId=="function"?p:S;function x(){return!1}function m(){return!0}function g(r){return()=>{}}function $(){return typeof e.useSyncExternalStore=="function"?e.useSyncExternalStore(g,x,m):e.useContext(l)}exports.useIsSSR=$;exports.useSSRSafeId=b;