@okam/stack-ui 1.26.0 → 1.27.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 (446) hide show
  1. package/components/Alerts/interface.d.ts +3 -28
  2. package/components/Button/index.d.ts +2 -2
  3. package/components/Button/interface.d.ts +2 -2
  4. package/components/Carousel/components/CarouselNavigationButton.d.ts +8 -0
  5. package/components/Carousel/components/CarouselSlide.d.ts +3 -0
  6. package/components/Carousel/components/CarouselSwiper.d.ts +3 -0
  7. package/components/Carousel/components/pagination/CarouselPagination.d.ts +3 -0
  8. package/components/Carousel/components/pagination/CarouselPaginationBullet.d.ts +3 -0
  9. package/components/Carousel/interface.d.ts +34 -17
  10. package/index.d.ts +2 -2
  11. package/index.js +1 -1
  12. package/index.mjs +150 -149
  13. package/index100.js +2 -1
  14. package/index100.mjs +11 -64
  15. package/index101.js +1 -1
  16. package/index101.mjs +44 -141
  17. package/index102.js +1 -1
  18. package/index102.mjs +62 -119
  19. package/index103.js +1 -1
  20. package/index103.mjs +28 -217
  21. package/index104.js +1 -1
  22. package/index104.mjs +4 -175
  23. package/index105.js +1 -1
  24. package/index105.mjs +11 -127
  25. package/index106.js +1 -1
  26. package/index106.mjs +13 -240
  27. package/index107.js +1 -1
  28. package/index107.mjs +23 -4
  29. package/index108.js +1 -1
  30. package/index108.mjs +23 -11
  31. package/index109.js +1 -1
  32. package/index109.mjs +39 -14
  33. package/index11.js +1 -1
  34. package/index11.mjs +67 -60
  35. package/index110.js +2 -1
  36. package/index110.mjs +11 -21
  37. package/index111.js +1 -1
  38. package/index111.mjs +8 -23
  39. package/index112.js +1 -1
  40. package/index112.mjs +20 -37
  41. package/index113.js +1 -2
  42. package/index113.mjs +38 -12
  43. package/index114.js +1 -1
  44. package/index114.mjs +49 -7
  45. package/index115.js +1 -1
  46. package/index115.mjs +40 -21
  47. package/index116.js +1 -1
  48. package/index116.mjs +13 -38
  49. package/index117.js +1 -1
  50. package/index117.mjs +26 -50
  51. package/index118.js +1 -1
  52. package/index118.mjs +20 -41
  53. package/index119.js +1 -1
  54. package/index119.mjs +9 -14
  55. package/index120.js +1 -1
  56. package/index120.mjs +30 -26
  57. package/index121.js +1 -1
  58. package/index121.mjs +13 -18
  59. package/index122.js +1 -1
  60. package/index122.mjs +16 -8
  61. package/index123.js +1 -1
  62. package/index123.mjs +5 -30
  63. package/index124.js +1 -1
  64. package/index124.mjs +21 -15
  65. package/index125.js +1 -1
  66. package/index125.mjs +11 -17
  67. package/index126.js +1 -1
  68. package/index126.mjs +42 -5
  69. package/index127.js +2 -1
  70. package/index127.mjs +21 -20
  71. package/index128.js +1 -1
  72. package/index128.mjs +12 -11
  73. package/index129.js +1 -1
  74. package/index129.mjs +46 -104
  75. package/index13.js +1 -1
  76. package/index13.mjs +3 -3
  77. package/index130.js +1 -1
  78. package/index130.mjs +237 -38
  79. package/index131.js +1 -1
  80. package/index131.mjs +12 -21
  81. package/index132.js +1 -1
  82. package/index132.mjs +29 -11
  83. package/index133.js +1 -1
  84. package/index133.mjs +49 -19
  85. package/index134.js +1 -1
  86. package/index134.mjs +25 -49
  87. package/index135.js +1 -1
  88. package/index135.mjs +19 -25
  89. package/index136.js +1 -1
  90. package/index136.mjs +4 -25
  91. package/index137.js +4 -1
  92. package/index137.mjs +247 -46
  93. package/index138.js +1 -2
  94. package/index138.mjs +61 -11
  95. package/index139.js +1 -0
  96. package/index139.mjs +97 -0
  97. package/index140.js +1 -0
  98. package/index140.mjs +34 -0
  99. package/index141.js +1 -1
  100. package/index141.mjs +119 -39
  101. package/index142.js +1 -1
  102. package/index142.mjs +28 -29
  103. package/index143.js +1 -1
  104. package/index143.mjs +122 -197
  105. package/index144.js +1 -1
  106. package/index144.mjs +131 -187
  107. package/index145.js +1 -1
  108. package/index145.mjs +14 -69
  109. package/index146.js +1 -1
  110. package/index146.mjs +85 -248
  111. package/index147.js +1 -1
  112. package/index147.mjs +102 -93
  113. package/index148.js +1 -1
  114. package/index148.mjs +5 -84
  115. package/index149.js +1 -1
  116. package/index149.mjs +3 -58
  117. package/index15.js +1 -1
  118. package/index15.mjs +2 -2
  119. package/index150.js +1 -1
  120. package/index150.mjs +121 -112
  121. package/index151.js +1 -1
  122. package/index151.mjs +26 -119
  123. package/index152.js +1 -1
  124. package/index152.mjs +51 -72
  125. package/index153.js +1 -1
  126. package/index153.mjs +41 -107
  127. package/index154.js +1 -1
  128. package/index154.mjs +36 -51
  129. package/index155.js +1 -1
  130. package/index155.mjs +111 -91
  131. package/index156.js +1 -1
  132. package/index156.mjs +77 -70
  133. package/index157.js +1 -1
  134. package/index157.mjs +101 -56
  135. package/index158.js +1 -1
  136. package/index158.mjs +98 -100
  137. package/index159.js +1 -5
  138. package/index159.mjs +2 -81
  139. package/index160.js +1 -1
  140. package/index160.mjs +5 -2011
  141. package/index161.js +1 -1
  142. package/index161.mjs +64 -59
  143. package/index162.js +1 -1
  144. package/index162.mjs +25 -187
  145. package/index163.js +1 -1
  146. package/index163.mjs +54 -5
  147. package/index164.js +1 -4
  148. package/index164.mjs +148 -239
  149. package/index165.js +1 -1
  150. package/index165.mjs +23 -31
  151. package/index166.js +1 -1
  152. package/index166.mjs +18 -60
  153. package/index167.js +1 -1
  154. package/index167.mjs +38 -93
  155. package/index168.js +1 -1
  156. package/index168.mjs +82 -31
  157. package/index169.js +1 -1
  158. package/index169.mjs +28 -128
  159. package/index17.js +1 -1
  160. package/index17.mjs +1 -1
  161. package/index170.js +1 -1
  162. package/index170.mjs +19 -177
  163. package/index171.js +1 -1
  164. package/index171.mjs +52 -8
  165. package/index172.js +1 -1
  166. package/index172.mjs +2 -4
  167. package/index173.js +11 -1
  168. package/index173.mjs +114 -35
  169. package/index174.js +1 -1
  170. package/index174.mjs +199 -5
  171. package/index175.js +1 -1
  172. package/index175.mjs +61 -26
  173. package/index176.js +1 -1
  174. package/index176.mjs +141 -6
  175. package/index177.js +1 -1
  176. package/index177.mjs +114 -116
  177. package/index178.js +1 -1
  178. package/index178.mjs +217 -27
  179. package/index179.js +1 -1
  180. package/index179.mjs +188 -122
  181. package/index18.js +1 -1
  182. package/index18.mjs +2 -2
  183. package/index180.js +1 -1
  184. package/index180.mjs +67 -132
  185. package/index181.js +1 -1
  186. package/index181.mjs +258 -14
  187. package/index182.js +1 -1
  188. package/index182.mjs +92 -90
  189. package/index183.js +1 -1
  190. package/index183.mjs +172 -104
  191. package/index184.js +1 -1
  192. package/index184.mjs +84 -5
  193. package/index185.js +1 -1
  194. package/index185.mjs +58 -3
  195. package/index186.js +1 -1
  196. package/index186.mjs +123 -122
  197. package/index187.js +1 -1
  198. package/index187.mjs +113 -26
  199. package/index188.js +1 -1
  200. package/index188.mjs +119 -48
  201. package/index189.js +1 -1
  202. package/index189.mjs +72 -44
  203. package/index19.js +1 -1
  204. package/index19.mjs +1 -1
  205. package/index190.js +1 -1
  206. package/index190.mjs +107 -34
  207. package/index191.js +1 -1
  208. package/index191.mjs +50 -111
  209. package/index192.js +1 -1
  210. package/index192.mjs +93 -77
  211. package/index193.js +1 -1
  212. package/index193.mjs +70 -101
  213. package/index194.js +1 -1
  214. package/index194.mjs +57 -98
  215. package/index195.js +1 -1
  216. package/index195.mjs +100 -2
  217. package/index196.js +5 -1
  218. package/index196.mjs +80 -5
  219. package/index197.js +1 -1
  220. package/index197.mjs +2005 -58
  221. package/index198.js +1 -1
  222. package/index198.mjs +59 -26
  223. package/index199.js +1 -1
  224. package/index199.mjs +187 -53
  225. package/index200.js +1 -1
  226. package/index200.mjs +5 -155
  227. package/index201.js +1 -1
  228. package/index201.mjs +2 -23
  229. package/index202.js +1 -1
  230. package/index202.mjs +47 -14
  231. package/index203.js +1 -1
  232. package/index203.mjs +17 -36
  233. package/index204.js +1 -1
  234. package/index204.mjs +18 -77
  235. package/index205.js +1 -1
  236. package/index205.mjs +23 -27
  237. package/index206.js +1 -1
  238. package/index206.mjs +40 -15
  239. package/index207.js +1 -1
  240. package/index207.mjs +2 -61
  241. package/index208.js +1 -1
  242. package/index208.mjs +21 -2
  243. package/index209.js +1 -11
  244. package/index209.mjs +2 -116
  245. package/index210.js +1 -1
  246. package/index210.mjs +29 -2
  247. package/index211.js +1 -1
  248. package/index211.mjs +2 -6
  249. package/index212.mjs +2 -2
  250. package/index213.js +1 -1
  251. package/index213.mjs +18 -48
  252. package/index214.js +1 -1
  253. package/index214.mjs +2 -21
  254. package/index215.js +1 -1
  255. package/index215.mjs +2 -24
  256. package/index216.js +1 -1
  257. package/index216.mjs +2 -27
  258. package/index217.js +1 -1
  259. package/index217.mjs +34 -43
  260. package/index218.js +1 -1
  261. package/index218.mjs +2 -2
  262. package/index219.js +1 -1
  263. package/index219.mjs +12 -12
  264. package/index22.js +1 -1
  265. package/index22.mjs +3 -3
  266. package/index220.js +1 -1
  267. package/index220.mjs +23 -2
  268. package/index221.js +1 -1
  269. package/index221.mjs +2 -29
  270. package/index222.js +1 -1
  271. package/index222.mjs +23 -2
  272. package/index223.mjs +2 -2
  273. package/index224.js +1 -1
  274. package/index224.mjs +311 -20
  275. package/index225.js +1 -1
  276. package/index225.mjs +193 -2
  277. package/index226.js +1 -1
  278. package/index226.mjs +9 -2
  279. package/index227.js +1 -1
  280. package/index227.mjs +27 -2
  281. package/index228.js +1 -1
  282. package/index228.mjs +55 -37
  283. package/index229.js +1 -1
  284. package/index229.mjs +47 -2
  285. package/index23.js +1 -1
  286. package/index23.mjs +4 -4
  287. package/index230.js +1 -1
  288. package/index230.mjs +124 -20
  289. package/index231.js +1 -1
  290. package/index231.mjs +128 -20
  291. package/index232.js +1 -1
  292. package/index232.mjs +180 -2
  293. package/index233.js +1 -1
  294. package/index233.mjs +8 -21
  295. package/index234.js +1 -1
  296. package/index234.mjs +4 -2
  297. package/index235.js +1 -1
  298. package/index235.mjs +35 -312
  299. package/index236.js +1 -1
  300. package/index236.mjs +5 -192
  301. package/index237.js +1 -1
  302. package/index237.mjs +29 -8
  303. package/index238.js +1 -1
  304. package/index238.mjs +6 -26
  305. package/index239.js +1 -1
  306. package/index239.mjs +2 -56
  307. package/index240.js +1 -1
  308. package/index240.mjs +2 -47
  309. package/index241.js +1 -1
  310. package/index241.mjs +2 -125
  311. package/index242.js +1 -1
  312. package/index242.mjs +17 -5
  313. package/index243.js +1 -1
  314. package/index243.mjs +27 -2
  315. package/index244.mjs +2 -2
  316. package/index245.js +1 -1
  317. package/index245.mjs +89 -2
  318. package/index246.js +1 -1
  319. package/index246.mjs +11 -9
  320. package/index247.js +1 -1
  321. package/index247.mjs +2 -27
  322. package/index248.js +1 -1
  323. package/index248.mjs +38 -2
  324. package/index249.js +1 -1
  325. package/index249.mjs +131 -83
  326. package/index25.js +1 -1
  327. package/index25.mjs +2 -2
  328. package/index250.js +1 -1
  329. package/index250.mjs +2 -20
  330. package/index251.js +1 -1
  331. package/index251.mjs +23 -2
  332. package/index252.js +1 -1
  333. package/index252.mjs +2 -38
  334. package/index253.js +1 -1
  335. package/index253.mjs +2 -137
  336. package/index254.mjs +2 -2
  337. package/index255.js +1 -1
  338. package/index255.mjs +2 -23
  339. package/index256.js +1 -1
  340. package/index256.mjs +23 -2
  341. package/index257.js +1 -1
  342. package/index257.mjs +2 -2
  343. package/index258.js +1 -1
  344. package/index258.mjs +26 -2
  345. package/index259.js +1 -1
  346. package/index259.mjs +2 -2
  347. package/index26.js +1 -1
  348. package/index26.mjs +3 -3
  349. package/index260.js +1 -1
  350. package/index260.mjs +2 -23
  351. package/index261.js +1 -1
  352. package/index261.mjs +2 -2
  353. package/index262.js +1 -1
  354. package/index262.mjs +2 -26
  355. package/index264.js +1 -1
  356. package/index264.mjs +72 -2
  357. package/index265.mjs +2 -2
  358. package/index267.js +1 -1
  359. package/index267.mjs +19 -2
  360. package/index268.js +1 -1
  361. package/index268.mjs +2 -72
  362. package/index269.js +1 -1
  363. package/index269.mjs +6 -2
  364. package/index270.mjs +2 -2
  365. package/index271.js +1 -1
  366. package/index271.mjs +2 -19
  367. package/index272.js +1 -1
  368. package/index272.mjs +29 -2
  369. package/index273.js +1 -1
  370. package/index273.mjs +7 -2
  371. package/index274.js +1 -1
  372. package/index274.mjs +8 -2
  373. package/index275.js +1 -1
  374. package/index275.mjs +7 -28
  375. package/index276.js +1 -1
  376. package/index276.mjs +2 -7
  377. package/index277.js +1 -1
  378. package/index277.mjs +36 -7
  379. package/index278.js +1 -1
  380. package/index278.mjs +2 -8
  381. package/index279.js +1 -1
  382. package/index279.mjs +5 -2
  383. package/index28.js +1 -1
  384. package/index28.mjs +1 -1
  385. package/index280.js +1 -1
  386. package/index280.mjs +5 -36
  387. package/index281.js +1 -1
  388. package/index281.mjs +10 -2
  389. package/index282.js +1 -1
  390. package/index282.mjs +2 -5
  391. package/index283.js +1 -1
  392. package/index283.mjs +17 -5
  393. package/index284.js +1 -1
  394. package/index284.mjs +30 -9
  395. package/index285.mjs +2 -2
  396. package/index286.js +1 -1
  397. package/index286.mjs +2 -18
  398. package/index30.js +1 -1
  399. package/index30.mjs +2 -2
  400. package/index31.js +1 -1
  401. package/index31.mjs +1 -1
  402. package/index32.js +1 -1
  403. package/index32.mjs +1 -1
  404. package/index33.js +1 -1
  405. package/index33.mjs +1 -1
  406. package/index34.js +1 -1
  407. package/index34.mjs +30 -29
  408. package/index35.js +1 -1
  409. package/index35.mjs +16 -15
  410. package/index37.js +1 -1
  411. package/index37.mjs +1 -1
  412. package/index65.js +1 -1
  413. package/index65.mjs +1 -1
  414. package/index66.js +1 -1
  415. package/index66.mjs +1 -1
  416. package/index67.js +1 -1
  417. package/index67.mjs +1 -1
  418. package/index69.js +1 -1
  419. package/index69.mjs +1 -1
  420. package/index70.js +1 -1
  421. package/index70.mjs +1 -1
  422. package/index79.js +1 -1
  423. package/index79.mjs +13 -13
  424. package/index83.js +9 -1
  425. package/index83.mjs +52 -17
  426. package/index96.js +1 -1
  427. package/index96.mjs +3 -3
  428. package/index97.js +1 -1
  429. package/index97.mjs +1 -1
  430. package/package.json +1 -1
  431. package/providers/Swiper/index.d.ts +4 -0
  432. package/providers/{Alerts → Swiper}/interface.d.ts +2 -2
  433. package/theme/Alerts/index.d.ts +1 -1
  434. package/theme/Carousel/index.d.ts +216 -8
  435. package/components/Alerts/components/AlertsNavigationButton.d.ts +0 -8
  436. package/components/Alerts/components/AlertsSwiper.d.ts +0 -3
  437. package/components/Alerts/components/pagination/AlertsPagination.d.ts +0 -3
  438. package/components/Alerts/components/pagination/AlertsPaginationBullet.d.ts +0 -3
  439. package/index287.js +0 -1
  440. package/index287.mjs +0 -33
  441. package/index288.js +0 -1
  442. package/index288.mjs +0 -4
  443. package/index289.js +0 -1
  444. package/index289.mjs +0 -4
  445. package/providers/Alerts/index.d.ts +0 -4
  446. package/style.css +0 -1
package/index135.mjs CHANGED
@@ -1,29 +1,23 @@
1
- import { jsx as c } from "react/jsx-runtime";
2
- import { isSameDay as g, getDayOfWeek as v } from "./index134.mjs";
3
- import { useCalendarCell as O } from "@react-aria/calendar";
4
- import { useFocusRing as T } from "@react-aria/focus";
5
- import { mergeProps as F } from "@react-aria/utils";
6
- import { useRef as I } from "react";
7
- import { useLocale as L } from "react-aria";
8
- import r from "./index64.mjs";
9
- function w({ themeName: l = "calendar", tokens: n, state: e, date: o }) {
10
- const s = I(null), { cellProps: u, buttonProps: p, isSelected: i, isOutsideVisibleRange: R, isDisabled: d, formattedDate: $, isInvalid: f } = O({ date: o }, e, s), a = e != null && e.highlightedRange ? g(o, e == null ? void 0 : e.highlightedRange.start) : i, m = e != null && e.highlightedRange ? g(o, e == null ? void 0 : e.highlightedRange.end) : i, { locale: C } = L(), h = v(o, C), D = i && (a || h === 0 || o.day === 1), y = i && (m || h === 6 || o.day === o.calendar.getDaysInMonth(o)), { focusProps: b, isFocusVisible: x } = T(), S = r(`${l}.cellContainer`, { ...n, isFocusVisible: x }), t = r(`${l}.cell`, {
11
- ...n,
12
- isSelected: i,
13
- isInvalid: f,
14
- isDisabled: d,
15
- isRoundedLeft: D,
16
- isRoundedRight: y
17
- }), P = r(`${l}.cellDate`, {
18
- ...n,
19
- isSelected: i,
20
- isInvalid: f,
21
- isDisabled: d,
22
- isSelectionStart: a,
23
- isSelectionEnd: m
1
+ import { generateId as i } from "./index269.mjs";
2
+ import { useLabels as n, mergeProps as c } from "@react-aria/utils";
3
+ import { useHasTabbableChild as f } from "@react-aria/focus";
4
+ function m(a, e, l) {
5
+ let r = f(l) ? void 0 : 0;
6
+ var d;
7
+ const b = i(e, (d = a.id) !== null && d !== void 0 ? d : e == null ? void 0 : e.selectedKey, "tabpanel"), o = n({
8
+ ...a,
9
+ id: b,
10
+ "aria-labelledby": i(e, e == null ? void 0 : e.selectedKey, "tab")
24
11
  });
25
- return /* @__PURE__ */ c("td", { ...u, "aria-disabled": !1, className: S, children: /* @__PURE__ */ c("div", { ...F(p, b), ref: s, hidden: R, className: t, children: /* @__PURE__ */ c("div", { className: P, children: $ }) }) });
12
+ return {
13
+ tabPanelProps: c(o, {
14
+ tabIndex: r,
15
+ role: "tabpanel",
16
+ "aria-describedby": a["aria-describedby"],
17
+ "aria-details": a["aria-details"]
18
+ })
19
+ };
26
20
  }
27
21
  export {
28
- w as default
22
+ m as useTabPanel
29
23
  };
package/index136.js CHANGED
@@ -1 +1 @@
1
- "use strict";const c=require("./index163.js"),h=require("./index210.js");(function(t,A){(function(i,s,n){t.exports=n(),t.exports.default=n()})("slugify",c.commonjsGlobal,function(){var i=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),s=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function n(o,e){if(typeof o!="string")throw new Error("slugify: string argument expected");e=typeof e=="string"?{replacement:e}:e||{};var d=s[e.locale]||{},l=e.replacement===void 0?"-":e.replacement,m=e.trim===void 0?!0:e.trim,a=o.normalize().split("").reduce(function(f,u){var r=d[u];return r===void 0&&(r=i[u]),r===void 0&&(r=u),r===l&&(r=" "),f+r.replace(e.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return e.strict&&(a=a.replace(/[^A-Za-z0-9\s]/g,"")),m&&(a=a.trim()),a=a.replace(/\s+/g,l),e.lower&&(a=a.toLowerCase()),a}return n.extend=function(o){Object.assign(i,o)},n})})(h.__module);var E=h.__module.exports;const y=c.getDefaultExportFromCjs(E);module.exports=y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}exports.getDefaultExportFromCjs=e;
package/index136.mjs CHANGED
@@ -1,27 +1,6 @@
1
- import { commonjsGlobal as f, getDefaultExportFromCjs as E } from "./index163.mjs";
2
- import { __module as c } from "./index210.mjs";
3
- (function(t, A) {
4
- (function(i, s, n) {
5
- t.exports = n(), t.exports.default = n();
6
- })("slugify", f, function() {
7
- var i = JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`), s = JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');
8
- function n(o, e) {
9
- if (typeof o != "string")
10
- throw new Error("slugify: string argument expected");
11
- e = typeof e == "string" ? { replacement: e } : e || {};
12
- var h = s[e.locale] || {}, l = e.replacement === void 0 ? "-" : e.replacement, d = e.trim === void 0 ? !0 : e.trim, a = o.normalize().split("").reduce(function(m, u) {
13
- var r = h[u];
14
- return r === void 0 && (r = i[u]), r === void 0 && (r = u), r === l && (r = " "), m + r.replace(e.remove || /[^\w\s$*_+~.()'"!\-:@]+/g, "");
15
- }, "");
16
- return e.strict && (a = a.replace(/[^A-Za-z0-9\s]/g, "")), d && (a = a.trim()), a = a.replace(/\s+/g, l), e.lower && (a = a.toLowerCase()), a;
17
- }
18
- return n.extend = function(o) {
19
- Object.assign(i, o);
20
- }, n;
21
- });
22
- })(c);
23
- var y = c.exports;
24
- const O = /* @__PURE__ */ E(y);
1
+ function e(t) {
2
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
3
+ }
25
4
  export {
26
- O as default
5
+ e as getDefaultExportFromCjs
27
6
  };
package/index137.js CHANGED
@@ -1 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index143.js"),r=require("./index100.js"),t=require("./index101.js"),o=require("./index102.js"),i=require("./index103.js"),a=require("./index144.js"),c=require("./index145.js"),n=require("./index146.js"),u=require("./index147.js"),s=require("./index104.js"),f=require("./index148.js"),l=require("./index149.js"),q=require("./index105.js"),d=require("./index150.js"),b=require("./index151.js"),v=require("./index152.js"),y=require("./index153.js"),g=require("./index154.js"),p=require("./index155.js"),C=require("./index156.js"),h=require("./index157.js"),m=require("./index158.js"),E=require("./index159.js");exports.Virtual=e;exports.Keyboard=r;exports.Mousewheel=t;exports.Navigation=o;exports.Pagination=i;exports.Scrollbar=a;exports.Parallax=c;exports.Zoom=n;exports.Controller=u;exports.A11y=s;exports.History=f;exports.HashNavigation=l;exports.Autoplay=q;exports.Thumbs=d;exports.FreeMode=b;exports.Grid=v;exports.Manipulation=y;exports.EffectFade=g;exports.EffectCube=p;exports.EffectFlip=C;exports.EffectCoverflow=h;exports.EffectCreative=m;exports.EffectCards=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("./index159.js");require("./index160.js");const ae=require("react/jsx-runtime"),fe=require("react"),de=require("./index161.js"),pe=require("./index162.js"),he=require("./index163.js"),_e=require("./index164.js"),me=require("./index165.js"),ve=require("./index166.js"),we=require("./index167.js"),ge=require("./index168.js"),ye=require("./index169.js"),be=require("./index170.js"),Ee=require("./index171.js"),qe=require("./index172.js");(function(z,p){"use client";Object.defineProperty(p,"__esModule",{value:!0}),Object.defineProperty(p,"default",{enumerable:!0,get:function(){return se}});const J=qe.__exports,D=ae,l=J._(fe),O=de.__require(),S=pe.__require(),Q=he.__require(),X=_e.__require(),Y=me.__require(),Z=ve.__require(),ee=we.__require(),te=ge.__require(),re=ye.__require(),oe=be.__require(),U=Ee.__require(),V=new Set;function j(o,r,a,n,s,f){if(typeof window>"u"||!f&&!(0,S.isLocalURL)(r))return;if(!n.bypassPrefetchedCheck){const g=typeof n.locale<"u"?n.locale:"locale"in o?o.locale:void 0,y=r+"%"+a+"%"+g;if(V.has(y))return;V.add(y)}const b=f?o.prefetch(r,s):o.prefetch(r,a,n);Promise.resolve(b).catch(g=>{if(process.env.NODE_ENV!=="production")throw g})}function ne(o){const a=o.currentTarget.getAttribute("target");return a&&a!=="_self"||o.metaKey||o.ctrlKey||o.shiftKey||o.altKey||o.nativeEvent&&o.nativeEvent.which===2}function ie(o,r,a,n,s,f,b,g,y){const{nodeName:T}=o.currentTarget;if(T.toUpperCase()==="A"&&(ne(o)||!y&&!(0,S.isLocalURL)(a)))return;o.preventDefault();const C=()=>{const h=b??!0;"beforePopState"in r?r[s?"replace":"push"](a,n,{shallow:f,locale:g,scroll:h}):r[s?"replace":"push"](n||a,{scroll:h})};y?l.default.startTransition(C):C()}function H(o){return typeof o=="string"?o:(0,Q.formatUrl)(o)}const se=l.default.forwardRef(function(r,a){let n;const{href:s,as:f,children:b,prefetch:g=null,passHref:y,replace:T,shallow:A,scroll:C,locale:h,onClick:k,onMouseEnter:M,onTouchStart:B,legacyBehavior:d=!1,...ce}=r;n=b,d&&(typeof n=="string"||typeof n=="number")&&(n=(0,D.jsx)("a",{children:n}));const i=l.default.useContext(Z.RouterContext),le=l.default.useContext(ee.AppRouterContext),_=i??le,m=!i,L=g!==!1,x=g===null?U.PrefetchKind.AUTO:U.PrefetchKind.FULL;if(process.env.NODE_ENV!=="production"){let e=function(t){return new Error("Failed prop type: The prop `"+t.key+"` expects a "+t.expected+" in `<Link>`, but got `"+t.actual+"` instead."+(typeof window<"u"?`
2
+ Open your browser's console to view the Component stack trace.`:""))};Object.keys({href:!0}).forEach(t=>{if(t==="href"&&(r[t]==null||typeof r[t]!="string"&&typeof r[t]!="object"))throw e({key:t,expected:"`string` or `object`",actual:r[t]===null?"null":typeof r[t]})}),Object.keys({as:!0,replace:!0,scroll:!0,shallow:!0,passHref:!0,prefetch:!0,locale:!0,onClick:!0,onMouseEnter:!0,onTouchStart:!0,legacyBehavior:!0}).forEach(t=>{const w=typeof r[t];if(t==="as"){if(r[t]&&w!=="string"&&w!=="object")throw e({key:t,expected:"`string` or `object`",actual:w})}else if(t==="locale"){if(r[t]&&w!=="string")throw e({key:t,expected:"`string`",actual:w})}else if(t==="onClick"||t==="onMouseEnter"||t==="onTouchStart"){if(r[t]&&w!=="function")throw e({key:t,expected:"`function`",actual:w})}else if((t==="replace"||t==="scroll"||t==="shallow"||t==="passHref"||t==="prefetch"||t==="legacyBehavior")&&r[t]!=null&&w!=="boolean")throw e({key:t,expected:"`boolean`",actual:w})});const F=l.default.useRef(!1);r.prefetch&&!F.current&&!m&&(F.current=!0,console.warn("Next.js auto-prefetches automatically based on viewport. The prefetch attribute is no longer needed. More: https://nextjs.org/docs/messages/prefetch-true-deprecated"))}if(process.env.NODE_ENV!=="production"&&m&&!f){let e;if(typeof s=="string"?e=s:typeof s=="object"&&typeof s.pathname=="string"&&(e=s.pathname),e&&e.split("/").some(q=>q.startsWith("[")&&q.endsWith("]")))throw new Error("Dynamic href `"+e+"` found in <Link> while using the `/app` router, this is not supported. Read more: https://nextjs.org/docs/messages/app-dir-dynamic-href")}const{href:v,as:u}=l.default.useMemo(()=>{if(!i){const q=H(s);return{href:q,as:f?H(f):q}}const[e,P]=(0,O.resolveHref)(i,s,!0);return{href:e,as:f?(0,O.resolveHref)(i,f):P||e}},[i,s,f]),K=l.default.useRef(v),G=l.default.useRef(u);let c;if(d)if(process.env.NODE_ENV==="development"){k&&console.warn('"onClick" was passed to <Link> with `href` of `'+s+'` but "legacyBehavior" was set. The legacy behavior requires onClick be set on the child of next/link'),M&&console.warn('"onMouseEnter" was passed to <Link> with `href` of `'+s+'` but "legacyBehavior" was set. The legacy behavior requires onMouseEnter be set on the child of next/link');try{c=l.default.Children.only(n)}catch{throw n?new Error("Multiple children were passed to <Link> with `href` of `"+s+"` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children"+(typeof window<"u"?`
3
+ Open your browser's console to view the Component stack trace.`:"")):new Error("No children were passed to <Link> with `href` of `"+s+"` but one child is required https://nextjs.org/docs/messages/link-no-children")}}else c=l.default.Children.only(n);else if(process.env.NODE_ENV==="development"&&(n==null?void 0:n.type)==="a")throw new Error(`Invalid <Link> with <a> child. Please remove <a> or use <Link legacyBehavior>.
4
+ Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`);const E=d?c&&typeof c=="object"&&c.ref:a,[I,W,$]=(0,te.useIntersection)({rootMargin:"200px"}),ue=l.default.useCallback(e=>{(G.current!==u||K.current!==v)&&($(),G.current=u,K.current=v),I(e),E&&(typeof E=="function"?E(e):typeof E=="object"&&(E.current=e))},[u,E,v,$,I]);l.default.useEffect(()=>{process.env.NODE_ENV==="production"&&_&&(!W||!L||j(_,v,u,{locale:h},{kind:x},m))},[u,v,W,h,L,i==null?void 0:i.locale,_,m,x]);const N={ref:ue,onClick(e){if(process.env.NODE_ENV!=="production"&&!e)throw new Error('Component rendered inside next/link has to pass click event to "onClick" prop.');!d&&typeof k=="function"&&k(e),d&&c.props&&typeof c.props.onClick=="function"&&c.props.onClick(e),_&&(e.defaultPrevented||ie(e,_,v,u,T,A,C,h,m))},onMouseEnter(e){!d&&typeof M=="function"&&M(e),d&&c.props&&typeof c.props.onMouseEnter=="function"&&c.props.onMouseEnter(e),_&&((!L||process.env.NODE_ENV==="development")&&m||j(_,v,u,{locale:h,priority:!0,bypassPrefetchedCheck:!0},{kind:x},m))},onTouchStart(e){!d&&typeof B=="function"&&B(e),d&&c.props&&typeof c.props.onTouchStart=="function"&&c.props.onTouchStart(e),_&&(!L&&m||j(_,v,u,{locale:h,priority:!0,bypassPrefetchedCheck:!0},{kind:x},m))}};if((0,X.isAbsoluteUrl)(u))N.href=u;else if(!d||y||c.type==="a"&&!("href"in c.props)){const e=typeof h<"u"?h:i==null?void 0:i.locale,P=(i==null?void 0:i.isLocaleDomain)&&(0,re.getDomainLocale)(u,e,i==null?void 0:i.locales,i==null?void 0:i.domainLocales);N.href=P||(0,oe.addBasePath)((0,Y.addLocale)(u,e,i==null?void 0:i.defaultLocale))}return d?l.default.cloneElement(c,N):(0,D.jsx)("a",{...ce,...N,children:n})});(typeof p.default=="function"||typeof p.default=="object"&&p.default!==null)&&typeof p.default.__esModule>"u"&&(Object.defineProperty(p.default,"__esModule",{value:!0}),Object.assign(p.default,p),z.exports=p.default)})(R.__module,R.__module.exports);var Pe=R.__module.exports;exports.linkExports=Pe;
package/index137.mjs CHANGED
@@ -1,48 +1,249 @@
1
- import { default as o } from "./index143.mjs";
2
- import { default as f } from "./index100.mjs";
3
- import { default as l } from "./index101.mjs";
4
- import { default as d } from "./index102.mjs";
5
- import { default as p } from "./index103.mjs";
6
- import { default as x } from "./index144.mjs";
7
- import { default as c } from "./index145.mjs";
8
- import { default as E } from "./index146.mjs";
9
- import { default as b } from "./index147.mjs";
10
- import { default as y } from "./index104.mjs";
11
- import { default as h } from "./index148.mjs";
12
- import { default as M } from "./index149.mjs";
13
- import { default as A } from "./index105.mjs";
14
- import { default as N } from "./index150.mjs";
15
- import { default as G } from "./index151.mjs";
16
- import { default as S } from "./index152.mjs";
17
- import { default as V } from "./index153.mjs";
18
- import { default as j } from "./index154.mjs";
19
- import { default as q } from "./index155.mjs";
20
- import { default as B } from "./index156.mjs";
21
- import { default as I } from "./index157.mjs";
22
- import { default as L } from "./index158.mjs";
23
- import { default as Q } from "./index159.mjs";
1
+ import { __module as M } from "./index159.mjs";
2
+ import "./index160.mjs";
3
+ import ue from "react/jsx-runtime";
4
+ import fe from "react";
5
+ import { __require as de } from "./index161.mjs";
6
+ import { __require as pe } from "./index162.mjs";
7
+ import { __require as he } from "./index163.mjs";
8
+ import { __require as me } from "./index164.mjs";
9
+ import { __require as _e } from "./index165.mjs";
10
+ import { __require as ve } from "./index166.mjs";
11
+ import { __require as we } from "./index167.mjs";
12
+ import { __require as ge } from "./index168.mjs";
13
+ import { __require as ye } from "./index169.mjs";
14
+ import { __require as Ee } from "./index170.mjs";
15
+ import { __require as be } from "./index171.mjs";
16
+ import { __exports as Pe } from "./index172.mjs";
17
+ (function(z, p) {
18
+ "use client";
19
+ Object.defineProperty(p, "__esModule", {
20
+ value: !0
21
+ }), Object.defineProperty(p, "default", {
22
+ enumerable: !0,
23
+ get: function() {
24
+ return se;
25
+ }
26
+ });
27
+ const J = Pe, D = ue, a = /* @__PURE__ */ J._(fe), O = de(), U = pe(), Q = he(), X = me(), Y = _e(), Z = ve(), ee = we(), te = ge(), re = ye(), oe = Ee(), A = be(), S = /* @__PURE__ */ new Set();
28
+ function j(o, r, u, n, s, f) {
29
+ if (typeof window > "u" || !f && !(0, U.isLocalURL)(r))
30
+ return;
31
+ if (!n.bypassPrefetchedCheck) {
32
+ const g = (
33
+ // Let the link's locale prop override the default router locale.
34
+ typeof n.locale < "u" ? n.locale : "locale" in o ? o.locale : void 0
35
+ ), y = r + "%" + u + "%" + g;
36
+ if (S.has(y))
37
+ return;
38
+ S.add(y);
39
+ }
40
+ const E = f ? o.prefetch(r, s) : o.prefetch(r, u, n);
41
+ Promise.resolve(E).catch((g) => {
42
+ if (process.env.NODE_ENV !== "production")
43
+ throw g;
44
+ });
45
+ }
46
+ function ne(o) {
47
+ const u = o.currentTarget.getAttribute("target");
48
+ return u && u !== "_self" || o.metaKey || o.ctrlKey || o.shiftKey || o.altKey || // triggers resource download
49
+ o.nativeEvent && o.nativeEvent.which === 2;
50
+ }
51
+ function ie(o, r, u, n, s, f, E, g, y) {
52
+ const { nodeName: R } = o.currentTarget;
53
+ if (R.toUpperCase() === "A" && (ne(o) || // app-router supports external urls out of the box so it shouldn't short-circuit here as support for e.g. `replace` is added in the app-router.
54
+ !y && !(0, U.isLocalURL)(u)))
55
+ return;
56
+ o.preventDefault();
57
+ const C = () => {
58
+ const h = E ?? !0;
59
+ "beforePopState" in r ? r[s ? "replace" : "push"](u, n, {
60
+ shallow: f,
61
+ locale: g,
62
+ scroll: h
63
+ }) : r[s ? "replace" : "push"](n || u, {
64
+ scroll: h
65
+ });
66
+ };
67
+ y ? a.default.startTransition(C) : C();
68
+ }
69
+ function V(o) {
70
+ return typeof o == "string" ? o : (0, Q.formatUrl)(o);
71
+ }
72
+ const se = /* @__PURE__ */ a.default.forwardRef(function(r, u) {
73
+ let n;
74
+ const { href: s, as: f, children: E, prefetch: g = null, passHref: y, replace: R, shallow: H, scroll: C, locale: h, onClick: T, onMouseEnter: k, onTouchStart: B, legacyBehavior: d = !1, ...ce } = r;
75
+ n = E, d && (typeof n == "string" || typeof n == "number") && (n = /* @__PURE__ */ (0, D.jsx)("a", {
76
+ children: n
77
+ }));
78
+ const i = a.default.useContext(Z.RouterContext), ae = a.default.useContext(ee.AppRouterContext), m = i ?? ae, _ = !i, L = g !== !1, x = g === null ? A.PrefetchKind.AUTO : A.PrefetchKind.FULL;
79
+ if (process.env.NODE_ENV !== "production") {
80
+ let e = function(t) {
81
+ return new Error("Failed prop type: The prop `" + t.key + "` expects a " + t.expected + " in `<Link>`, but got `" + t.actual + "` instead." + (typeof window < "u" ? `
82
+ Open your browser's console to view the Component stack trace.` : ""));
83
+ };
84
+ Object.keys({
85
+ href: !0
86
+ }).forEach((t) => {
87
+ if (t === "href" && (r[t] == null || typeof r[t] != "string" && typeof r[t] != "object"))
88
+ throw e({
89
+ key: t,
90
+ expected: "`string` or `object`",
91
+ actual: r[t] === null ? "null" : typeof r[t]
92
+ });
93
+ }), Object.keys({
94
+ as: !0,
95
+ replace: !0,
96
+ scroll: !0,
97
+ shallow: !0,
98
+ passHref: !0,
99
+ prefetch: !0,
100
+ locale: !0,
101
+ onClick: !0,
102
+ onMouseEnter: !0,
103
+ onTouchStart: !0,
104
+ legacyBehavior: !0
105
+ }).forEach((t) => {
106
+ const w = typeof r[t];
107
+ if (t === "as") {
108
+ if (r[t] && w !== "string" && w !== "object")
109
+ throw e({
110
+ key: t,
111
+ expected: "`string` or `object`",
112
+ actual: w
113
+ });
114
+ } else if (t === "locale") {
115
+ if (r[t] && w !== "string")
116
+ throw e({
117
+ key: t,
118
+ expected: "`string`",
119
+ actual: w
120
+ });
121
+ } else if (t === "onClick" || t === "onMouseEnter" || t === "onTouchStart") {
122
+ if (r[t] && w !== "function")
123
+ throw e({
124
+ key: t,
125
+ expected: "`function`",
126
+ actual: w
127
+ });
128
+ } else if ((t === "replace" || t === "scroll" || t === "shallow" || t === "passHref" || t === "prefetch" || t === "legacyBehavior") && r[t] != null && w !== "boolean")
129
+ throw e({
130
+ key: t,
131
+ expected: "`boolean`",
132
+ actual: w
133
+ });
134
+ });
135
+ const $ = a.default.useRef(!1);
136
+ r.prefetch && !$.current && !_ && ($.current = !0, console.warn("Next.js auto-prefetches automatically based on viewport. The prefetch attribute is no longer needed. More: https://nextjs.org/docs/messages/prefetch-true-deprecated"));
137
+ }
138
+ if (process.env.NODE_ENV !== "production" && _ && !f) {
139
+ let e;
140
+ if (typeof s == "string" ? e = s : typeof s == "object" && typeof s.pathname == "string" && (e = s.pathname), e && e.split("/").some((P) => P.startsWith("[") && P.endsWith("]")))
141
+ throw new Error("Dynamic href `" + e + "` found in <Link> while using the `/app` router, this is not supported. Read more: https://nextjs.org/docs/messages/app-dir-dynamic-href");
142
+ }
143
+ const { href: v, as: l } = a.default.useMemo(() => {
144
+ if (!i) {
145
+ const P = V(s);
146
+ return {
147
+ href: P,
148
+ as: f ? V(f) : P
149
+ };
150
+ }
151
+ const [e, q] = (0, O.resolveHref)(i, s, !0);
152
+ return {
153
+ href: e,
154
+ as: f ? (0, O.resolveHref)(i, f) : q || e
155
+ };
156
+ }, [
157
+ i,
158
+ s,
159
+ f
160
+ ]), K = a.default.useRef(v), G = a.default.useRef(l);
161
+ let c;
162
+ if (d)
163
+ if (process.env.NODE_ENV === "development") {
164
+ T && console.warn('"onClick" was passed to <Link> with `href` of `' + s + '` but "legacyBehavior" was set. The legacy behavior requires onClick be set on the child of next/link'), k && console.warn('"onMouseEnter" was passed to <Link> with `href` of `' + s + '` but "legacyBehavior" was set. The legacy behavior requires onMouseEnter be set on the child of next/link');
165
+ try {
166
+ c = a.default.Children.only(n);
167
+ } catch {
168
+ throw n ? new Error("Multiple children were passed to <Link> with `href` of `" + s + "` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children" + (typeof window < "u" ? `
169
+ Open your browser's console to view the Component stack trace.` : "")) : new Error("No children were passed to <Link> with `href` of `" + s + "` but one child is required https://nextjs.org/docs/messages/link-no-children");
170
+ }
171
+ } else
172
+ c = a.default.Children.only(n);
173
+ else if (process.env.NODE_ENV === "development" && (n == null ? void 0 : n.type) === "a")
174
+ throw new Error(`Invalid <Link> with <a> child. Please remove <a> or use <Link legacyBehavior>.
175
+ Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`);
176
+ const b = d ? c && typeof c == "object" && c.ref : u, [I, F, W] = (0, te.useIntersection)({
177
+ rootMargin: "200px"
178
+ }), le = a.default.useCallback((e) => {
179
+ (G.current !== l || K.current !== v) && (W(), G.current = l, K.current = v), I(e), b && (typeof b == "function" ? b(e) : typeof b == "object" && (b.current = e));
180
+ }, [
181
+ l,
182
+ b,
183
+ v,
184
+ W,
185
+ I
186
+ ]);
187
+ a.default.useEffect(() => {
188
+ process.env.NODE_ENV === "production" && m && (!F || !L || j(m, v, l, {
189
+ locale: h
190
+ }, {
191
+ kind: x
192
+ }, _));
193
+ }, [
194
+ l,
195
+ v,
196
+ F,
197
+ h,
198
+ L,
199
+ i == null ? void 0 : i.locale,
200
+ m,
201
+ _,
202
+ x
203
+ ]);
204
+ const N = {
205
+ ref: le,
206
+ onClick(e) {
207
+ if (process.env.NODE_ENV !== "production" && !e)
208
+ throw new Error('Component rendered inside next/link has to pass click event to "onClick" prop.');
209
+ !d && typeof T == "function" && T(e), d && c.props && typeof c.props.onClick == "function" && c.props.onClick(e), m && (e.defaultPrevented || ie(e, m, v, l, R, H, C, h, _));
210
+ },
211
+ onMouseEnter(e) {
212
+ !d && typeof k == "function" && k(e), d && c.props && typeof c.props.onMouseEnter == "function" && c.props.onMouseEnter(e), m && ((!L || process.env.NODE_ENV === "development") && _ || j(m, v, l, {
213
+ locale: h,
214
+ priority: !0,
215
+ // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
216
+ bypassPrefetchedCheck: !0
217
+ }, {
218
+ kind: x
219
+ }, _));
220
+ },
221
+ onTouchStart(e) {
222
+ !d && typeof B == "function" && B(e), d && c.props && typeof c.props.onTouchStart == "function" && c.props.onTouchStart(e), m && (!L && _ || j(m, v, l, {
223
+ locale: h,
224
+ priority: !0,
225
+ // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
226
+ bypassPrefetchedCheck: !0
227
+ }, {
228
+ kind: x
229
+ }, _));
230
+ }
231
+ };
232
+ if ((0, X.isAbsoluteUrl)(l))
233
+ N.href = l;
234
+ else if (!d || y || c.type === "a" && !("href" in c.props)) {
235
+ const e = typeof h < "u" ? h : i == null ? void 0 : i.locale, q = (i == null ? void 0 : i.isLocaleDomain) && (0, re.getDomainLocale)(l, e, i == null ? void 0 : i.locales, i == null ? void 0 : i.domainLocales);
236
+ N.href = q || (0, oe.addBasePath)((0, Y.addLocale)(l, e, i == null ? void 0 : i.defaultLocale));
237
+ }
238
+ return d ? /* @__PURE__ */ a.default.cloneElement(c, N) : /* @__PURE__ */ (0, D.jsx)("a", {
239
+ ...ce,
240
+ ...N,
241
+ children: n
242
+ });
243
+ });
244
+ (typeof p.default == "function" || typeof p.default == "object" && p.default !== null) && typeof p.default.__esModule > "u" && (Object.defineProperty(p.default, "__esModule", { value: !0 }), Object.assign(p.default, p), z.exports = p.default);
245
+ })(M, M.exports);
246
+ var Ge = M.exports;
24
247
  export {
25
- y as A11y,
26
- A as Autoplay,
27
- b as Controller,
28
- Q as EffectCards,
29
- I as EffectCoverflow,
30
- L as EffectCreative,
31
- q as EffectCube,
32
- j as EffectFade,
33
- B as EffectFlip,
34
- G as FreeMode,
35
- S as Grid,
36
- M as HashNavigation,
37
- h as History,
38
- f as Keyboard,
39
- V as Manipulation,
40
- l as Mousewheel,
41
- d as Navigation,
42
- p as Pagination,
43
- c as Parallax,
44
- x as Scrollbar,
45
- N as Thumbs,
46
- o as Virtual,
47
- E as Zoom
248
+ Ge as l
48
249
  };
package/index138.js CHANGED
@@ -1,2 +1 @@
1
- "use client";
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),s=require("./index131.js"),c=require("react"),[u,r]=s.createCtxNullable();function i(t){const{controller:e,children:o}=t,l=c.useMemo(()=>({controller:e}),[e]);return n.jsx(r,{value:l,children:o})}exports.AlertsControllerContextProvider=i;exports.AlertsControllerProvider=r;exports.useAlertsController=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("@react-aria/utils"),O=require("@react-aria/focus"),m=require("./index224.js");function S(s,o){let{elementType:r="button",isDisabled:e,onPress:l,onPressStart:u,onPressEnd:P,onPressUp:p,onPressChange:c,preventFocusOnPress:b,allowFocusWhenDisabled:f,onClick:i,href:g,target:h,rel:y,type:d="button"}=s,n;r==="button"?n={type:d,disabled:e}:n={role:"button",tabIndex:e?void 0:0,href:r==="a"&&e?void 0:g,target:r==="a"?h:void 0,type:r==="input"?d:void 0,disabled:r==="input"?e:void 0,"aria-disabled":!e||r==="input"?void 0:e,rel:r==="a"?y:void 0};let{pressProps:C,isPressed:x}=m.usePress({onPressStart:u,onPressEnd:P,onPressChange:c,onPress:l,onPressUp:p,isDisabled:e,preventFocusOnPress:b,ref:o}),{focusableProps:t}=O.useFocusable(s,o);f&&(t.tabIndex=e?-1:t.tabIndex);let D=a.mergeProps(t,C,a.filterDOMProps(s,{labelable:!0}));return{isPressed:x,buttonProps:a.mergeProps(n,D,{"aria-haspopup":s["aria-haspopup"],"aria-expanded":s["aria-expanded"],"aria-controls":s["aria-controls"],"aria-pressed":s["aria-pressed"],onClick:F=>{i&&(i(F),console.warn("onClick is deprecated, please use onPress"))}})}}exports.useButton=S;
package/index138.mjs CHANGED
@@ -1,14 +1,64 @@
1
- "use client";
2
- import { jsx as l } from "react/jsx-runtime";
3
- import { createCtxNullable as n } from "./index131.mjs";
4
- import { useMemo as s } from "react";
5
- const [C, c] = n();
6
- function f(o) {
7
- const { controller: r, children: e } = o, t = s(() => ({ controller: r }), [r]);
8
- return /* @__PURE__ */ l(c, { value: t, children: e });
1
+ import { mergeProps as i, filterDOMProps as F } from "@react-aria/utils";
2
+ import { useFocusable as $ } from "@react-aria/focus";
3
+ import { usePress as O } from "./index224.mjs";
4
+ function E(s, t) {
5
+ let {
6
+ elementType: r = "button",
7
+ isDisabled: e,
8
+ onPress: l,
9
+ onPressStart: u,
10
+ onPressEnd: p,
11
+ onPressUp: P,
12
+ onPressChange: c,
13
+ preventFocusOnPress: f,
14
+ allowFocusWhenDisabled: b,
15
+ // @ts-ignore
16
+ onClick: o,
17
+ href: h,
18
+ target: m,
19
+ rel: x,
20
+ type: d = "button"
21
+ } = s, n;
22
+ r === "button" ? n = {
23
+ type: d,
24
+ disabled: e
25
+ } : n = {
26
+ role: "button",
27
+ tabIndex: e ? void 0 : 0,
28
+ href: r === "a" && e ? void 0 : h,
29
+ target: r === "a" ? m : void 0,
30
+ type: r === "input" ? d : void 0,
31
+ disabled: r === "input" ? e : void 0,
32
+ "aria-disabled": !e || r === "input" ? void 0 : e,
33
+ rel: r === "a" ? x : void 0
34
+ };
35
+ let { pressProps: g, isPressed: C } = O({
36
+ onPressStart: u,
37
+ onPressEnd: p,
38
+ onPressChange: c,
39
+ onPress: l,
40
+ onPressUp: P,
41
+ isDisabled: e,
42
+ preventFocusOnPress: f,
43
+ ref: t
44
+ }), { focusableProps: a } = $(s, t);
45
+ b && (a.tabIndex = e ? -1 : a.tabIndex);
46
+ let y = i(a, g, F(s, {
47
+ labelable: !0
48
+ }));
49
+ return {
50
+ isPressed: C,
51
+ buttonProps: i(n, y, {
52
+ "aria-haspopup": s["aria-haspopup"],
53
+ "aria-expanded": s["aria-expanded"],
54
+ "aria-controls": s["aria-controls"],
55
+ "aria-pressed": s["aria-pressed"],
56
+ onClick: (D) => {
57
+ o && (o(D), console.warn("onClick is deprecated, please use onPress"));
58
+ }
59
+ })
60
+ };
9
61
  }
10
62
  export {
11
- f as AlertsControllerContextProvider,
12
- c as AlertsControllerProvider,
13
- C as useAlertsController
63
+ E as useButton
14
64
  };
package/index139.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("./index226.js"),x=require("@react-aria/focus"),T=require("@react-aria/utils"),V=require("./index224.js"),j=require("./index229.js"),v=require("react");function N(o){let{selectionManager:t,key:s,ref:c,shouldSelectOnPressUp:L,shouldUseVirtualFocus:d,focus:D,isDisabled:n,onAction:b,allowsDifferentPressOrigin:C,linkBehavior:u="action"}=o,F=T.useRouter(),a=e=>{if(e.pointerType==="keyboard"&&A.isNonContiguousSelectionModifier(e))t.toggleSelection(s);else{if(t.selectionMode==="none")return;if(t.isLink(s)){if(u==="selection"){let f=t.getItemProps(s);F.open(c.current,e,f.href,f.routerOptions),t.setSelectedKeys(t.selectedKeys);return}else if(u==="override"||u==="none")return}t.selectionMode==="single"?t.isSelected(s)&&!t.disallowEmptySelection?t.toggleSelection(s):t.replaceSelection(s):e&&e.shiftKey?t.extendSelection(s):t.selectionBehavior==="toggle"||e&&(A.isCtrlKeyPressed(e)||e.pointerType==="touch"||e.pointerType==="virtual")?t.toggleSelection(s):t.replaceSelection(s)}};v.useEffect(()=>{s===t.focusedKey&&t.isFocused&&!d&&(D?D():document.activeElement!==c.current&&x.focusSafely(c.current))},[c,s,t.focusedKey,t.childFocusStrategy,t.isFocused,d]),n=n||t.isDisabled(s);let y={};!d&&!n?y={tabIndex:s===t.focusedKey?0:-1,onFocus(e){e.target===c.current&&t.setFocusedKey(s)}}:n&&(y.onMouseDown=e=>{e.preventDefault()});let E=t.isLink(s)&&u==="override",O=t.isLink(s)&&u!=="selection"&&u!=="none",r=!n&&t.canSelectItem(s)&&!E,k=(b||O)&&!n,l=k&&(t.selectionBehavior==="replace"?!r:!r||t.isEmpty),h=k&&r&&t.selectionBehavior==="replace",p=l||h,P=v.useRef(null),g=p&&r,m=v.useRef(!1),w=v.useRef(!1),S=e=>{if(b&&b(),O){let f=t.getItemProps(s);F.open(c.current,e,f.href,f.routerOptions)}},i={};L?(i.onPressStart=e=>{P.current=e.pointerType,m.current=g,e.pointerType==="keyboard"&&(!p||$())&&a(e)},C?(i.onPressUp=l?null:e=>{e.pointerType!=="keyboard"&&r&&a(e)},i.onPress=l?S:null):i.onPress=e=>{if(l||h&&e.pointerType!=="mouse"){if(e.pointerType==="keyboard"&&!K())return;S(e)}else e.pointerType!=="keyboard"&&r&&a(e)}):(i.onPressStart=e=>{P.current=e.pointerType,m.current=g,w.current=l,r&&(e.pointerType==="mouse"&&!l||e.pointerType==="keyboard"&&(!k||$()))&&a(e)},i.onPress=e=>{(e.pointerType==="touch"||e.pointerType==="pen"||e.pointerType==="virtual"||e.pointerType==="keyboard"&&p&&K()||e.pointerType==="mouse"&&w.current)&&(p?S(e):r&&a(e))}),y["data-key"]=s,i.preventFocusOnPress=d;let{pressProps:q,isPressed:B}=V.usePress(i),M=h?e=>{P.current==="mouse"&&(e.stopPropagation(),e.preventDefault(),S(e))}:void 0,{longPressProps:I}=j.useLongPress({isDisabled:!g,onLongPress(e){e.pointerType==="touch"&&(a(e),t.setSelectionBehavior("toggle"))}}),R=e=>{P.current==="touch"&&m.current&&e.preventDefault()},U=t.isLink(s)?e=>{T.openLink.isOpening||e.preventDefault()}:void 0;return{itemProps:T.mergeProps(y,r||l?q:{},g?I:{},{onDoubleClick:M,onDragStartCapture:R,onClick:U}),isPressed:B,isSelected:t.isSelected(s),isFocused:t.isFocused&&t.focusedKey===s,isDisabled:n,allowsSelection:r,hasAction:p}}function K(){let o=window.event;return(o==null?void 0:o.key)==="Enter"}function $(){let o=window.event;return(o==null?void 0:o.key)===" "||(o==null?void 0:o.code)==="Space"}exports.useSelectableItem=N;