@okam/stack-ui 1.31.1 → 1.32.0

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 (418) hide show
  1. package/components/fields/Select/Select.interface.d.ts +2 -2
  2. package/components/fields/TextInputField/index.d.ts +5 -1
  3. package/components/fields/TextInputField/interface.d.ts +3 -1
  4. package/index110.js +1 -1
  5. package/index110.mjs +5 -5
  6. package/index111.js +1 -1
  7. package/index111.mjs +2 -2
  8. package/index112.js +1 -1
  9. package/index112.mjs +1 -1
  10. package/index113.js +1 -1
  11. package/index113.mjs +2 -2
  12. package/index115.js +1 -1
  13. package/index115.mjs +3 -3
  14. package/index116.js +1 -1
  15. package/index116.mjs +2 -2
  16. package/index120.js +1 -1
  17. package/index120.mjs +3 -3
  18. package/index121.js +1 -1
  19. package/index121.mjs +2 -2
  20. package/index123.js +1 -1
  21. package/index123.mjs +8 -8
  22. package/index124.js +1 -1
  23. package/index124.mjs +1 -1
  24. package/index125.js +1 -1
  25. package/index125.mjs +3 -3
  26. package/index126.js +1 -1
  27. package/index126.mjs +3 -3
  28. package/index130.js +1 -1
  29. package/index130.mjs +2 -2
  30. package/index133.js +1 -1
  31. package/index133.mjs +1 -1
  32. package/index138.js +1 -1
  33. package/index138.mjs +2 -2
  34. package/index140.js +1 -1
  35. package/index140.mjs +23 -23
  36. package/index141.js +1 -1
  37. package/index141.mjs +3 -3
  38. package/index144.js +1 -1
  39. package/index144.mjs +1 -1
  40. package/index145.js +1 -1
  41. package/index145.mjs +5 -5
  42. package/index146.js +1 -1
  43. package/index146.mjs +3 -3
  44. package/index147.js +1 -1
  45. package/index147.mjs +1 -1
  46. package/index148.js +1 -1
  47. package/index148.mjs +3 -3
  48. package/index149.js +1 -1
  49. package/index149.mjs +3 -3
  50. package/index150.js +1 -1
  51. package/index150.mjs +1 -1
  52. package/index151.js +1 -1
  53. package/index151.mjs +3 -3
  54. package/index152.js +1 -1
  55. package/index152.mjs +106 -20
  56. package/index153.js +1 -1
  57. package/index153.mjs +83 -107
  58. package/index154.js +1 -1
  59. package/index154.mjs +26 -83
  60. package/index155.js +1 -1
  61. package/index155.mjs +20 -25
  62. package/index156.js +1 -1
  63. package/index156.mjs +17 -123
  64. package/index157.js +1 -1
  65. package/index157.mjs +122 -24
  66. package/index158.js +1 -1
  67. package/index158.mjs +71 -17
  68. package/index159.js +1 -1
  69. package/index159.mjs +338 -62
  70. package/index160.js +1 -1
  71. package/index160.mjs +42 -346
  72. package/index161.js +1 -1
  73. package/index161.mjs +29 -43
  74. package/index162.js +1 -1
  75. package/index162.mjs +24 -28
  76. package/index164.js +1 -1
  77. package/index164.mjs +2 -2
  78. package/index167.js +1 -1
  79. package/index167.mjs +2 -2
  80. package/index169.js +1 -1
  81. package/index169.mjs +4 -4
  82. package/index170.js +1 -1
  83. package/index170.mjs +2 -2
  84. package/index173.js +1 -1
  85. package/index173.mjs +1 -1
  86. package/index175.js +1 -1
  87. package/index175.mjs +1 -1
  88. package/index176.js +1 -1
  89. package/index176.mjs +1 -1
  90. package/index178.js +1 -1
  91. package/index178.mjs +3 -3
  92. package/index179.js +1 -1
  93. package/index179.mjs +1 -1
  94. package/index180.js +1 -1
  95. package/index180.mjs +2 -2
  96. package/index182.js +1 -1
  97. package/index182.mjs +1 -1
  98. package/index184.js +1 -1
  99. package/index184.mjs +1 -1
  100. package/index185.js +1 -1
  101. package/index185.mjs +205 -197
  102. package/index186.js +1 -1
  103. package/index186.mjs +24 -64
  104. package/index187.js +1 -1
  105. package/index187.mjs +4 -143
  106. package/index188.js +1 -1
  107. package/index188.mjs +3 -124
  108. package/index189.js +1 -1
  109. package/index189.mjs +116 -215
  110. package/index190.js +1 -1
  111. package/index190.mjs +23 -184
  112. package/index191.js +1 -1
  113. package/index191.mjs +51 -69
  114. package/index192.js +1 -1
  115. package/index192.mjs +43 -278
  116. package/index193.js +1 -1
  117. package/index193.mjs +31 -92
  118. package/index194.js +1 -1
  119. package/index194.mjs +109 -184
  120. package/index195.js +1 -1
  121. package/index195.mjs +77 -84
  122. package/index196.js +1 -1
  123. package/index196.mjs +101 -58
  124. package/index197.js +1 -1
  125. package/index197.mjs +98 -127
  126. package/index198.js +1 -1
  127. package/index198.mjs +70 -114
  128. package/index199.js +1 -1
  129. package/index199.mjs +91 -118
  130. package/index200.js +1 -1
  131. package/index200.mjs +152 -69
  132. package/index201.js +1 -1
  133. package/index201.mjs +72 -111
  134. package/index202.js +1 -1
  135. package/index202.mjs +41 -51
  136. package/index203.js +1 -1
  137. package/index203.mjs +5 -93
  138. package/index204.js +1 -1
  139. package/index204.mjs +60 -69
  140. package/index205.js +1 -1
  141. package/index205.mjs +58 -55
  142. package/index206.js +1 -1
  143. package/index206.mjs +196 -92
  144. package/index207.js +1 -5
  145. package/index207.mjs +59 -75
  146. package/index208.js +1 -1
  147. package/index208.mjs +126 -2008
  148. package/index209.js +1 -1
  149. package/index209.mjs +121 -56
  150. package/index210.js +1 -1
  151. package/index210.mjs +221 -185
  152. package/index211.js +1 -1
  153. package/index211.mjs +185 -206
  154. package/index212.js +1 -1
  155. package/index212.mjs +69 -24
  156. package/index213.js +1 -1
  157. package/index213.mjs +279 -4
  158. package/index214.js +1 -1
  159. package/index214.mjs +98 -3
  160. package/index215.js +1 -1
  161. package/index215.mjs +179 -116
  162. package/index216.js +1 -1
  163. package/index216.mjs +84 -29
  164. package/index217.js +1 -1
  165. package/index217.mjs +58 -51
  166. package/index218.js +1 -1
  167. package/index218.mjs +125 -43
  168. package/index219.js +1 -1
  169. package/index219.mjs +112 -33
  170. package/index22.js +1 -1
  171. package/index22.mjs +148 -61
  172. package/index220.js +1 -1
  173. package/index220.mjs +119 -110
  174. package/index221.js +1 -1
  175. package/index221.mjs +72 -77
  176. package/index222.js +1 -1
  177. package/index222.mjs +105 -96
  178. package/index223.js +1 -1
  179. package/index223.mjs +53 -98
  180. package/index224.js +1 -1
  181. package/index224.mjs +89 -68
  182. package/index225.js +1 -1
  183. package/index225.mjs +68 -93
  184. package/index226.js +1 -1
  185. package/index226.mjs +52 -151
  186. package/index227.js +1 -1
  187. package/index227.mjs +100 -72
  188. package/index228.js +5 -1
  189. package/index228.mjs +78 -40
  190. package/index229.js +1 -1
  191. package/index229.mjs +2025 -5
  192. package/index230.js +1 -1
  193. package/index230.mjs +59 -61
  194. package/index231.js +1 -1
  195. package/index231.mjs +187 -58
  196. package/index269.js +1 -1
  197. package/index269.mjs +4 -24
  198. package/index270.js +1 -1
  199. package/index270.mjs +46 -45
  200. package/index271.js +1 -1
  201. package/index271.mjs +9 -5
  202. package/index272.js +1 -1
  203. package/index272.mjs +16 -6
  204. package/index273.js +1 -1
  205. package/index273.mjs +16 -15
  206. package/index274.js +1 -1
  207. package/index274.mjs +16 -25
  208. package/index275.js +1 -1
  209. package/index275.mjs +16 -29
  210. package/index276.js +1 -1
  211. package/index276.mjs +16 -32
  212. package/index277.js +1 -1
  213. package/index277.mjs +16 -10
  214. package/index278.js +1 -1
  215. package/index278.mjs +16 -29
  216. package/index279.js +1 -1
  217. package/index279.mjs +16 -10
  218. package/index280.js +1 -1
  219. package/index280.mjs +16 -6
  220. package/index281.js +1 -1
  221. package/index281.mjs +16 -8
  222. package/index282.js +1 -1
  223. package/index282.mjs +16 -14
  224. package/index283.js +1 -1
  225. package/index283.mjs +16 -9
  226. package/index284.js +1 -1
  227. package/index284.mjs +15 -130
  228. package/index285.js +1 -1
  229. package/index285.mjs +16 -191
  230. package/index286.js +1 -1
  231. package/index286.mjs +16 -10
  232. package/index287.js +1 -1
  233. package/index287.mjs +16 -4
  234. package/index288.js +1 -1
  235. package/index288.mjs +16 -37
  236. package/index289.js +1 -1
  237. package/index289.mjs +16 -6
  238. package/index290.js +1 -1
  239. package/index290.mjs +16 -30
  240. package/index291.js +1 -1
  241. package/index291.mjs +16 -7
  242. package/index292.js +1 -1
  243. package/index292.mjs +16 -141
  244. package/index293.js +1 -1
  245. package/index293.mjs +16 -198
  246. package/index294.js +1 -1
  247. package/index294.mjs +16 -23
  248. package/index295.js +1 -1
  249. package/index295.mjs +16 -47
  250. package/index296.js +1 -1
  251. package/index296.mjs +16 -49
  252. package/index297.js +1 -1
  253. package/index297.mjs +16 -101
  254. package/index298.js +1 -1
  255. package/index298.mjs +15 -71
  256. package/index299.js +1 -1
  257. package/index299.mjs +16 -59
  258. package/index300.js +1 -1
  259. package/index300.mjs +16 -8
  260. package/index301.js +1 -1
  261. package/index301.mjs +16 -12
  262. package/index302.js +1 -1
  263. package/index302.mjs +16 -5
  264. package/index303.js +1 -1
  265. package/index303.mjs +16 -49
  266. package/index304.js +1 -1
  267. package/index304.mjs +12 -12
  268. package/index305.js +1 -1
  269. package/index305.mjs +12 -12
  270. package/index306.js +1 -1
  271. package/index306.mjs +25 -16
  272. package/index307.js +1 -1
  273. package/index307.mjs +48 -16
  274. package/index308.js +1 -1
  275. package/index308.mjs +6 -16
  276. package/index309.js +1 -1
  277. package/index309.mjs +6 -16
  278. package/index310.js +1 -1
  279. package/index310.mjs +15 -16
  280. package/index311.js +1 -1
  281. package/index311.mjs +25 -16
  282. package/index312.js +1 -1
  283. package/index312.mjs +29 -16
  284. package/index313.js +1 -1
  285. package/index313.mjs +32 -16
  286. package/index314.js +1 -1
  287. package/index314.mjs +29 -16
  288. package/index315.js +1 -1
  289. package/index315.mjs +10 -16
  290. package/index316.js +1 -1
  291. package/index316.mjs +6 -16
  292. package/index317.js +1 -1
  293. package/index317.mjs +8 -16
  294. package/index318.js +1 -1
  295. package/index318.mjs +14 -16
  296. package/index319.js +1 -1
  297. package/index319.mjs +9 -16
  298. package/index320.js +1 -1
  299. package/index320.mjs +130 -15
  300. package/index321.js +1 -1
  301. package/index321.mjs +191 -16
  302. package/index322.js +1 -1
  303. package/index322.mjs +10 -16
  304. package/index323.js +1 -1
  305. package/index323.mjs +4 -16
  306. package/index324.js +1 -1
  307. package/index324.mjs +37 -16
  308. package/index325.js +1 -1
  309. package/index325.mjs +6 -16
  310. package/index326.js +1 -1
  311. package/index326.mjs +30 -16
  312. package/index327.js +1 -1
  313. package/index327.mjs +7 -16
  314. package/index328.js +1 -1
  315. package/index328.mjs +141 -16
  316. package/index329.js +1 -1
  317. package/index329.mjs +198 -16
  318. package/index330.js +1 -1
  319. package/index330.mjs +23 -16
  320. package/index331.js +1 -1
  321. package/index331.mjs +47 -16
  322. package/index332.js +1 -1
  323. package/index332.mjs +49 -16
  324. package/index333.js +1 -1
  325. package/index333.mjs +101 -16
  326. package/index334.js +1 -1
  327. package/index334.mjs +71 -15
  328. package/index335.js +1 -1
  329. package/index335.mjs +59 -16
  330. package/index336.js +1 -1
  331. package/index336.mjs +8 -16
  332. package/index337.js +1 -1
  333. package/index337.mjs +12 -16
  334. package/index338.js +1 -1
  335. package/index338.mjs +7 -4
  336. package/index339.js +1 -1
  337. package/index339.mjs +68 -6
  338. package/index340.js +1 -1
  339. package/index340.mjs +27 -65
  340. package/index341.js +1 -1
  341. package/index341.mjs +6 -30
  342. package/index342.js +1 -1
  343. package/index342.mjs +6 -6
  344. package/index343.js +1 -1
  345. package/index343.mjs +20 -6
  346. package/index344.js +1 -1
  347. package/index344.mjs +3 -20
  348. package/index381.js +1 -1
  349. package/index381.mjs +6 -5
  350. package/index382.js +1 -1
  351. package/index382.mjs +1 -1
  352. package/index383.js +1 -1
  353. package/index383.mjs +4 -4
  354. package/index384.js +1 -1
  355. package/index384.mjs +1 -1
  356. package/index385.js +1 -1
  357. package/index385.mjs +1 -1
  358. package/index386.js +1 -1
  359. package/index386.mjs +4 -4
  360. package/index387.js +1 -1
  361. package/index387.mjs +4 -4
  362. package/index388.js +1 -1
  363. package/index388.mjs +1 -1
  364. package/index389.js +1 -1
  365. package/index389.mjs +4 -4
  366. package/index390.js +1 -1
  367. package/index390.mjs +4 -4
  368. package/index391.js +1 -1
  369. package/index391.mjs +1 -1
  370. package/index392.js +1 -1
  371. package/index392.mjs +4 -4
  372. package/index393.js +1 -1
  373. package/index393.mjs +4 -4
  374. package/index394.js +1 -1
  375. package/index394.mjs +1 -1
  376. package/index395.js +1 -1
  377. package/index395.mjs +1 -1
  378. package/index396.js +1 -1
  379. package/index396.mjs +4 -4
  380. package/index397.js +1 -1
  381. package/index397.mjs +4 -4
  382. package/index398.js +1 -1
  383. package/index398.mjs +1 -1
  384. package/index399.js +1 -1
  385. package/index399.mjs +4 -4
  386. package/index400.js +1 -1
  387. package/index400.mjs +4 -4
  388. package/index401.js +1 -1
  389. package/index401.mjs +4 -4
  390. package/index402.js +1 -1
  391. package/index402.mjs +1 -1
  392. package/index403.js +1 -1
  393. package/index403.mjs +4 -4
  394. package/index404.js +1 -1
  395. package/index404.mjs +4 -4
  396. package/index405.js +1 -1
  397. package/index405.mjs +4 -4
  398. package/index406.js +1 -1
  399. package/index406.mjs +4 -4
  400. package/index407.js +1 -1
  401. package/index407.mjs +4 -4
  402. package/index408.js +1 -1
  403. package/index408.mjs +1 -1
  404. package/index409.js +1 -1
  405. package/index409.mjs +1 -1
  406. package/index410.js +1 -1
  407. package/index410.mjs +1 -1
  408. package/index411.js +1 -1
  409. package/index411.mjs +4 -4
  410. package/index412.js +1 -1
  411. package/index412.mjs +4 -4
  412. package/index413.js +1 -1
  413. package/index413.mjs +4 -4
  414. package/index414.js +1 -1
  415. package/index414.mjs +4 -4
  416. package/index415.js +1 -1
  417. package/index415.mjs +5 -6
  418. package/package.json +1 -1
package/index230.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index272.js"),w=require("./index174.js"),m=require("./index283.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;
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;
package/index230.mjs CHANGED
@@ -1,64 +1,62 @@
1
- import { getOwnerDocument as v, getOwnerWindow as s } from "./index272.mjs";
2
- import { isMac as m } from "./index174.mjs";
3
- import { isVirtualClick as L } from "./index283.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));
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());
44
56
  };
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
- }
59
57
  export {
60
- g as addWindowFocusTracking,
61
- O as getInteractionModality,
62
- i as hasSetupGlobalListeners,
63
- C as setInteractionModality
58
+ S as a,
59
+ b as g,
60
+ C as m,
61
+ _ as u
64
62
  };
package/index231.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const $=require("./index170.js"),i=require("./index153.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;
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;
package/index231.mjs CHANGED
@@ -1,62 +1,191 @@
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 "./index153.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
20
- };
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
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];
51
127
  });
52
- return f.compare(e) >= 0 ? f : null;
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));
171
+ };
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();
53
180
  }
54
181
  export {
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
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
62
191
  };
package/index269.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index282.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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function i(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}exports._=i;
package/index269.mjs CHANGED
@@ -1,27 +1,7 @@
1
- import { useEffectEvent as u } from "./index282.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
- ];
1
+ function a(e, t) {
2
+ if (t.has(e))
3
+ throw new TypeError("Cannot initialize the same private elements twice on an object");
24
4
  }
25
5
  export {
26
- p as useValueEffect
6
+ a as _
27
7
  };
package/index270.js CHANGED
@@ -1 +1 @@
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;
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;
package/index270.mjs CHANGED
@@ -1,50 +1,51 @@
1
- import a, { useContext as s, useState as f, useRef as l } from "react";
2
- const c = {
3
- prefix: String(Math.round(Math.random() * 1e10)),
4
- current: 0
5
- }, $ = /* @__PURE__ */ a.createContext(c), p = /* @__PURE__ */ a.createContext(!1);
6
- let v = !!(typeof window < "u" && window.document && window.document.createElement), d = /* @__PURE__ */ new WeakMap();
7
- function S(t = !1) {
8
- let e = s($), r = l(null);
9
- if (r.current === null && !t) {
10
- var n, u;
11
- let o = (u = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) === null || u === void 0 || (n = u.ReactCurrentOwner) === null || n === void 0 ? void 0 : n.current;
12
- if (o) {
13
- let i = d.get(o);
14
- i == null ? d.set(o, {
15
- id: e.current,
16
- state: o.memoizedState
17
- }) : o.memoizedState !== i.state && (e.current = i.id, d.delete(o));
18
- }
19
- r.current = ++e.current;
20
- }
21
- return r.current;
22
- }
23
- function b(t) {
24
- let e = s($);
25
- e === c && !v && console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");
26
- let r = S(!!t), n = e === c && process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${e.prefix}`;
27
- return t || `${n}-${r}`;
28
- }
29
- function x(t) {
30
- let e = a.useId(), [r] = f(y()), n = r || process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${c.prefix}`;
31
- return t || `${n}-${e}`;
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));
32
6
  }
33
- const C = typeof a.useId == "function" ? x : b;
34
- function m() {
35
- return !1;
7
+ function h(o) {
8
+ t && t.clear(o);
36
9
  }
37
- function w() {
38
- return !0;
39
- }
40
- function g(t) {
41
- return () => {
42
- };
43
- }
44
- function y() {
45
- return typeof a.useSyncExternalStore == "function" ? a.useSyncExternalStore(g, m, w) : s(p);
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
+ }
46
47
  }
47
48
  export {
48
- y as useIsSSR,
49
- C as useSSRSafeId
49
+ s as announce,
50
+ h as clearAnnouncer
50
51
  };
package/index271.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function o(...t){return(...f)=>{for(let e of t)typeof e=="function"&&e(...f)}}exports.chain=o;
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;
package/index271.mjs CHANGED
@@ -1,8 +1,12 @@
1
- function o(...f) {
2
- return (...c) => {
3
- for (let e of f) typeof e == "function" && e(...c);
4
- };
1
+ import { useRef as f, useEffect as u } from "react";
2
+ function a(c, r) {
3
+ const t = f(!0), e = f(null);
4
+ u(() => (t.current = !0, () => {
5
+ t.current = !1;
6
+ }), []), u(() => {
7
+ t.current ? t.current = !1 : (!e.current || r.some((s, n) => !Object.is(s, e[n]))) && c(), e.current = r;
8
+ }, r);
5
9
  }
6
10
  export {
7
- o as chain
11
+ a as useUpdateEffect
8
12
  };
package/index272.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=o=>{var n;return(n=o==null?void 0:o.ownerDocument)!==null&&n!==void 0?n:document},e=o=>o&&"window"in o&&o.window===o?o:t(o).defaultView||window;exports.getOwnerDocument=t;exports.getOwnerWindow=e;
1
+ "use strict";exports.default={};exports.default={dateRange:u=>`${u.startDate} إلى ${u.endDate}`,dateSelected:u=>`${u.date} المحدد`,finishRangeSelectionPrompt:"انقر لإنهاء عملية تحديد نطاق التاريخ",maximumDate:"آخر تاريخ متاح",minimumDate:"أول تاريخ متاح",next:"التالي",previous:"السابق",selectedDateDescription:u=>`تاريخ محدد: ${u.date}`,selectedRangeDescription:u=>`المدى الزمني المحدد: ${u.dateRange}`,startRangeSelectionPrompt:"انقر لبدء عملية تحديد نطاق التاريخ",todayDate:u=>`اليوم، ${u.date}`,todayDateSelected:u=>`اليوم، ${u.date} محدد`};module.exports=exports.default;