@a-ui/react 7.13.0-beta.0 → 7.13.0-beta.1

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 (475) hide show
  1. package/constants/settings.d.ts +1 -1
  2. package/constants/stories.settings.d.ts +11 -0
  3. package/index.js +1 -62
  4. package/index.mjs +98 -9098
  5. package/index10.js +1 -0
  6. package/index10.mjs +60 -0
  7. package/index100.js +1 -0
  8. package/index100.mjs +4 -0
  9. package/index101.js +1 -0
  10. package/index101.mjs +400 -0
  11. package/index102.js +5 -0
  12. package/index102.mjs +42 -0
  13. package/index103.js +1 -0
  14. package/index103.mjs +4 -0
  15. package/index104.js +1 -0
  16. package/index104.mjs +10 -0
  17. package/index105.js +2 -0
  18. package/index105.mjs +329 -0
  19. package/index106.js +1 -0
  20. package/index106.mjs +52 -0
  21. package/index107.js +1 -0
  22. package/index107.mjs +4 -0
  23. package/index108.js +1 -0
  24. package/index108.mjs +67 -0
  25. package/index109.js +1 -0
  26. package/index109.mjs +45 -0
  27. package/index11.js +1 -0
  28. package/index11.mjs +12 -0
  29. package/index110.js +10 -0
  30. package/index110.mjs +62 -0
  31. package/index111.js +1 -0
  32. package/index111.mjs +46 -0
  33. package/index112.js +1 -0
  34. package/index112.mjs +42 -0
  35. package/index113.js +1 -0
  36. package/index113.mjs +4 -0
  37. package/index114.js +1 -0
  38. package/index114.mjs +4 -0
  39. package/index115.js +1 -0
  40. package/index115.mjs +4 -0
  41. package/index116.js +1 -0
  42. package/index116.mjs +33 -0
  43. package/index117.js +5 -0
  44. package/index117.mjs +21 -0
  45. package/index118.js +9 -0
  46. package/index118.mjs +63 -0
  47. package/index119.js +1 -0
  48. package/index119.mjs +65 -0
  49. package/index12.js +1 -0
  50. package/index12.mjs +215 -0
  51. package/index120.js +1 -0
  52. package/index120.mjs +16 -0
  53. package/index121.js +1 -0
  54. package/index121.mjs +9 -0
  55. package/index122.js +1 -0
  56. package/index122.mjs +9 -0
  57. package/index123.js +1 -0
  58. package/index123.mjs +8 -0
  59. package/index124.js +1 -0
  60. package/index124.mjs +8 -0
  61. package/index125.js +1 -0
  62. package/index125.mjs +7 -0
  63. package/index126.js +1 -0
  64. package/index126.mjs +7 -0
  65. package/index127.js +1 -0
  66. package/index127.mjs +9 -0
  67. package/index128.js +1 -0
  68. package/index128.mjs +7 -0
  69. package/index129.js +1 -0
  70. package/index129.mjs +69 -0
  71. package/index13.js +1 -0
  72. package/index13.mjs +29 -0
  73. package/index130.js +1 -0
  74. package/index130.mjs +5 -0
  75. package/index131.js +1 -0
  76. package/index131.mjs +7 -0
  77. package/index132.js +1 -0
  78. package/index132.mjs +13 -0
  79. package/index133.js +1 -0
  80. package/index133.mjs +4 -0
  81. package/index134.js +1 -0
  82. package/index134.mjs +393 -0
  83. package/index135.js +1 -0
  84. package/index135.mjs +127 -0
  85. package/index136.js +1 -0
  86. package/index136.mjs +136 -0
  87. package/index137.js +1 -0
  88. package/index137.mjs +4 -0
  89. package/index138.js +1 -0
  90. package/index138.mjs +4 -0
  91. package/index139.js +8 -0
  92. package/index139.mjs +78 -0
  93. package/index14.js +1 -0
  94. package/index14.mjs +44 -0
  95. package/index140.js +8 -0
  96. package/index140.mjs +95 -0
  97. package/index141.js +5 -0
  98. package/index141.mjs +54 -0
  99. package/index142.js +1 -0
  100. package/index142.mjs +10 -0
  101. package/index143.js +1 -0
  102. package/index143.mjs +7 -0
  103. package/index144.js +1 -0
  104. package/index144.mjs +54 -0
  105. package/index145.js +11 -0
  106. package/index145.mjs +60 -0
  107. package/index146.js +1 -0
  108. package/index146.mjs +4 -0
  109. package/index147.js +1 -0
  110. package/index147.mjs +4 -0
  111. package/index148.js +1 -0
  112. package/index148.mjs +7 -0
  113. package/index149.js +1 -0
  114. package/index149.mjs +7 -0
  115. package/index15.js +1 -0
  116. package/index15.mjs +8 -0
  117. package/index150.js +1 -0
  118. package/index150.mjs +9 -0
  119. package/index151.js +1 -0
  120. package/index151.mjs +15 -0
  121. package/index152.js +1 -0
  122. package/index152.mjs +18 -0
  123. package/index153.js +1 -0
  124. package/index153.mjs +11 -0
  125. package/index154.js +1 -0
  126. package/index154.mjs +8 -0
  127. package/index155.js +1 -0
  128. package/index155.mjs +8 -0
  129. package/index156.js +1 -0
  130. package/index156.mjs +7 -0
  131. package/index157.js +1 -0
  132. package/index157.mjs +515 -0
  133. package/index158.js +1 -0
  134. package/index158.mjs +52 -0
  135. package/index159.js +1 -0
  136. package/index159.mjs +20 -0
  137. package/index16.js +1 -0
  138. package/index16.mjs +15 -0
  139. package/index160.js +1 -0
  140. package/index160.mjs +20 -0
  141. package/index161.js +1 -0
  142. package/index161.mjs +7 -0
  143. package/index162.js +1 -0
  144. package/index162.mjs +10 -0
  145. package/index163.js +1 -0
  146. package/index163.mjs +8 -0
  147. package/index164.js +1 -0
  148. package/index164.mjs +7 -0
  149. package/index165.js +1 -0
  150. package/index165.mjs +8 -0
  151. package/index166.js +1 -0
  152. package/index166.mjs +11 -0
  153. package/index167.js +1 -0
  154. package/index167.mjs +7 -0
  155. package/index168.js +1 -0
  156. package/index168.mjs +10 -0
  157. package/index169.js +1 -0
  158. package/index169.mjs +14 -0
  159. package/index17.js +1 -0
  160. package/index17.mjs +108 -0
  161. package/index170.js +1 -0
  162. package/index170.mjs +11 -0
  163. package/index171.js +1 -0
  164. package/index171.mjs +11 -0
  165. package/index172.js +1 -0
  166. package/index172.mjs +15 -0
  167. package/index173.js +1 -0
  168. package/index173.mjs +6 -0
  169. package/index174.js +1 -0
  170. package/index174.mjs +35 -0
  171. package/index175.js +1 -0
  172. package/index175.mjs +67 -0
  173. package/index176.js +1 -0
  174. package/index176.mjs +10 -0
  175. package/index177.js +1 -0
  176. package/index177.mjs +10 -0
  177. package/index178.js +1 -0
  178. package/index178.mjs +9 -0
  179. package/index179.js +1 -0
  180. package/index179.mjs +9 -0
  181. package/index18.js +1 -0
  182. package/index18.mjs +136 -0
  183. package/index180.js +1 -0
  184. package/index180.mjs +16 -0
  185. package/index181.js +1 -0
  186. package/index181.mjs +4 -0
  187. package/index182.js +1 -0
  188. package/index182.mjs +4 -0
  189. package/index183.js +1 -0
  190. package/index183.mjs +4 -0
  191. package/index184.js +1 -0
  192. package/index184.mjs +59 -0
  193. package/index185.js +1 -0
  194. package/index185.mjs +24 -0
  195. package/index186.js +1 -0
  196. package/index186.mjs +43 -0
  197. package/index187.js +1 -0
  198. package/index187.mjs +63 -0
  199. package/index188.js +1 -0
  200. package/index188.mjs +34 -0
  201. package/index189.js +1 -0
  202. package/index189.mjs +15 -0
  203. package/index19.js +1 -0
  204. package/index19.mjs +11 -0
  205. package/index190.js +1 -0
  206. package/index190.mjs +64 -0
  207. package/index191.js +1 -0
  208. package/index191.mjs +64 -0
  209. package/index192.js +1 -0
  210. package/index192.mjs +65 -0
  211. package/index193.js +1 -0
  212. package/index193.mjs +65 -0
  213. package/index194.js +1 -0
  214. package/index194.mjs +42 -0
  215. package/index195.js +1 -0
  216. package/index195.mjs +43 -0
  217. package/index196.js +1 -0
  218. package/index196.mjs +55 -0
  219. package/index197.js +1 -0
  220. package/index197.mjs +45 -0
  221. package/index198.js +1 -0
  222. package/index198.mjs +39 -0
  223. package/index199.js +1 -0
  224. package/index199.mjs +68 -0
  225. package/index2.js +1 -0
  226. package/index2.mjs +12 -0
  227. package/index20.js +1 -0
  228. package/index20.mjs +54 -0
  229. package/index200.js +1 -0
  230. package/index200.mjs +68 -0
  231. package/index201.js +1 -0
  232. package/index201.mjs +93 -0
  233. package/index202.js +1 -0
  234. package/index202.mjs +43 -0
  235. package/index203.js +1 -0
  236. package/index203.mjs +43 -0
  237. package/index204.js +1 -0
  238. package/index204.mjs +43 -0
  239. package/index205.js +1 -0
  240. package/index205.mjs +27 -0
  241. package/index206.js +1 -0
  242. package/index206.mjs +26 -0
  243. package/index207.js +1 -0
  244. package/index207.mjs +26 -0
  245. package/index208.js +1 -0
  246. package/index208.mjs +27 -0
  247. package/index209.js +1 -0
  248. package/index209.mjs +26 -0
  249. package/index21.js +1 -0
  250. package/index21.mjs +33 -0
  251. package/index210.js +1 -0
  252. package/index210.mjs +26 -0
  253. package/index211.js +1 -0
  254. package/index211.mjs +16 -0
  255. package/index212.js +1 -0
  256. package/index212.mjs +42 -0
  257. package/index213.js +1 -0
  258. package/index213.mjs +42 -0
  259. package/index214.js +1 -0
  260. package/index214.mjs +16 -0
  261. package/index215.js +1 -0
  262. package/index215.mjs +16 -0
  263. package/index216.js +1 -0
  264. package/index216.mjs +70 -0
  265. package/index217.js +1 -0
  266. package/index217.mjs +33 -0
  267. package/index218.js +1 -0
  268. package/index218.mjs +11 -0
  269. package/index219.js +1 -0
  270. package/index219.mjs +155 -0
  271. package/index22.js +1 -0
  272. package/index22.mjs +22 -0
  273. package/index220.js +1 -0
  274. package/index220.mjs +110 -0
  275. package/index221.js +1 -0
  276. package/index221.mjs +22 -0
  277. package/index222.js +1 -0
  278. package/index222.mjs +103 -0
  279. package/index223.js +1 -0
  280. package/index223.mjs +49 -0
  281. package/index224.js +1 -0
  282. package/index224.mjs +70 -0
  283. package/index225.js +1 -0
  284. package/index225.mjs +33 -0
  285. package/index226.js +1 -0
  286. package/index226.mjs +11 -0
  287. package/index227.js +1 -0
  288. package/index227.mjs +110 -0
  289. package/index228.js +1 -0
  290. package/index228.mjs +109 -0
  291. package/index229.js +1 -0
  292. package/index229.mjs +9 -0
  293. package/index23.js +1 -0
  294. package/index23.mjs +32 -0
  295. package/index230.js +1 -0
  296. package/index230.mjs +18 -0
  297. package/index231.js +1 -0
  298. package/index231.mjs +31 -0
  299. package/index232.js +1 -0
  300. package/index232.mjs +15 -0
  301. package/index233.js +1 -0
  302. package/index233.mjs +61 -0
  303. package/index234.js +1 -0
  304. package/index234.mjs +11 -0
  305. package/index235.js +1 -0
  306. package/index235.mjs +22 -0
  307. package/index24.js +2 -0
  308. package/index24.mjs +62 -0
  309. package/index25.js +1 -0
  310. package/index25.mjs +15 -0
  311. package/index26.js +1 -0
  312. package/index26.mjs +12 -0
  313. package/index27.js +1 -0
  314. package/index27.mjs +43 -0
  315. package/index28.js +1 -0
  316. package/index28.mjs +34 -0
  317. package/index29.js +1 -0
  318. package/index29.mjs +10 -0
  319. package/index3.js +1 -0
  320. package/index3.mjs +15 -0
  321. package/index30.js +1 -0
  322. package/index30.mjs +72 -0
  323. package/index31.js +1 -0
  324. package/index31.mjs +40 -0
  325. package/index32.js +1 -0
  326. package/index32.mjs +48 -0
  327. package/index33.js +1 -0
  328. package/index33.mjs +90 -0
  329. package/index34.js +1 -0
  330. package/index34.mjs +36 -0
  331. package/index35.js +1 -0
  332. package/index35.mjs +25 -0
  333. package/index36.js +1 -0
  334. package/index36.mjs +27 -0
  335. package/index37.js +1 -0
  336. package/index37.mjs +110 -0
  337. package/index38.js +1 -0
  338. package/index38.mjs +57 -0
  339. package/index39.js +1 -0
  340. package/index39.mjs +21 -0
  341. package/index4.js +1 -0
  342. package/index4.mjs +58 -0
  343. package/index40.js +1 -0
  344. package/index40.mjs +40 -0
  345. package/index41.js +1 -0
  346. package/index41.mjs +54 -0
  347. package/index42.js +1 -0
  348. package/index42.mjs +73 -0
  349. package/index43.js +1 -0
  350. package/index43.mjs +49 -0
  351. package/index44.js +1 -0
  352. package/index44.mjs +13 -0
  353. package/index45.js +1 -0
  354. package/index45.mjs +73 -0
  355. package/index46.js +1 -0
  356. package/index46.mjs +99 -0
  357. package/index47.js +1 -0
  358. package/index47.mjs +45 -0
  359. package/index48.js +1 -0
  360. package/index48.mjs +26 -0
  361. package/index49.js +1 -0
  362. package/index49.mjs +83 -0
  363. package/index5.js +1 -0
  364. package/index5.mjs +136 -0
  365. package/index50.js +1 -0
  366. package/index50.mjs +35 -0
  367. package/index51.js +1 -0
  368. package/index51.mjs +10 -0
  369. package/index52.js +1 -0
  370. package/index52.mjs +13 -0
  371. package/index53.js +1 -0
  372. package/index53.mjs +30 -0
  373. package/index54.js +1 -0
  374. package/index54.mjs +51 -0
  375. package/index55.js +1 -0
  376. package/index55.mjs +10 -0
  377. package/index56.js +1 -0
  378. package/index56.mjs +49 -0
  379. package/index58.js +1 -0
  380. package/index58.mjs +64 -0
  381. package/index59.js +1 -0
  382. package/index59.mjs +62 -0
  383. package/index6.js +1 -0
  384. package/index6.mjs +29 -0
  385. package/index60.js +1 -0
  386. package/index60.mjs +31 -0
  387. package/index61.js +1 -0
  388. package/index61.mjs +23 -0
  389. package/index62.js +1 -0
  390. package/index62.mjs +32 -0
  391. package/index63.js +1 -0
  392. package/index63.mjs +16 -0
  393. package/index64.js +1 -0
  394. package/index64.mjs +61 -0
  395. package/index65.js +1 -0
  396. package/index65.mjs +19 -0
  397. package/index66.js +7 -0
  398. package/index66.mjs +411 -0
  399. package/index7.js +1 -0
  400. package/index7.mjs +8 -0
  401. package/index70.js +1 -0
  402. package/index70.mjs +4 -0
  403. package/index71.js +1 -0
  404. package/index71.mjs +76 -0
  405. package/index72.js +1 -0
  406. package/index72.mjs +31 -0
  407. package/index73.js +1 -0
  408. package/index73.mjs +38 -0
  409. package/index74.js +1 -0
  410. package/index74.mjs +6 -0
  411. package/index75.js +1 -0
  412. package/index75.mjs +37 -0
  413. package/index76.js +1 -0
  414. package/index76.mjs +7 -0
  415. package/index77.js +1 -0
  416. package/index77.mjs +7 -0
  417. package/index78.js +1 -0
  418. package/index78.mjs +7 -0
  419. package/index79.js +1 -0
  420. package/index79.mjs +7 -0
  421. package/index8.js +1 -0
  422. package/index8.mjs +18 -0
  423. package/index80.js +1 -0
  424. package/index80.mjs +7 -0
  425. package/index81.js +1 -0
  426. package/index81.mjs +19 -0
  427. package/index82.js +1 -0
  428. package/index82.mjs +87 -0
  429. package/index83.js +1 -0
  430. package/index83.mjs +8 -0
  431. package/index84.js +1 -0
  432. package/index84.mjs +27 -0
  433. package/index85.js +1 -0
  434. package/index85.mjs +57 -0
  435. package/index87.js +1 -0
  436. package/index87.mjs +7 -0
  437. package/index88.js +1 -0
  438. package/index88.mjs +121 -0
  439. package/index89.js +1 -0
  440. package/index89.mjs +20 -0
  441. package/index9.js +1 -0
  442. package/index9.mjs +18 -0
  443. package/index90.js +1 -0
  444. package/index90.mjs +26 -0
  445. package/index91.js +1 -0
  446. package/index91.mjs +4 -0
  447. package/index92.js +1 -0
  448. package/index92.mjs +237 -0
  449. package/index93.js +1 -0
  450. package/index93.mjs +4 -0
  451. package/index94.js +1 -0
  452. package/index94.mjs +13 -0
  453. package/index95.js +1 -0
  454. package/index95.mjs +249 -0
  455. package/index96.js +1 -0
  456. package/index96.mjs +91 -0
  457. package/index97.js +1 -0
  458. package/index97.mjs +15 -0
  459. package/index98.js +1 -0
  460. package/index98.mjs +6 -0
  461. package/index99.js +1 -0
  462. package/index99.mjs +4 -0
  463. package/lib/atoms/input/text-field/TextField.d.ts +1 -1
  464. package/lib/atoms/select/Select.types.d.ts +1 -1
  465. package/lib/base/icon/Icon.d.ts +1 -1
  466. package/lib/molecules/datepicker/Calendar.d.ts +1 -1
  467. package/lib/molecules/flyout/Flyout.d.ts +1 -1
  468. package/lib/molecules/tag/Tag.d.ts +1 -1
  469. package/package.json +4 -1
  470. package/packages/antwerp-ui/react-components/src/lib/atoms/input/text-field/TextField.css +1 -0
  471. package/packages/antwerp-ui/react-components/src/lib/atoms/tooltip/Tooltip.css +1 -0
  472. package/packages/antwerp-ui/react-components/src/lib/molecules/autocomplete/Autocomplete.css +1 -0
  473. package/packages/antwerp-ui/react-components/src/lib/molecules/datepicker/DateRangePicker.css +1 -0
  474. package/utils/math.utils.d.ts +1 -1
  475. package/index.css +0 -1
package/index88.mjs ADDED
@@ -0,0 +1,121 @@
1
+ import { millisecondsInHour as p, millisecondsInMinute as N } from "./index150.mjs";
2
+ import { constructFrom as T } from "./index148.mjs";
3
+ import { toDate as D } from "./index149.mjs";
4
+ function v(t, e) {
5
+ const n = () => T(e?.in, NaN), i = I(t);
6
+ let s;
7
+ if (i.date) {
8
+ const a = x(i.date, 2);
9
+ s = Y(a.restDateString, a.year);
10
+ }
11
+ if (!s || isNaN(+s)) return n();
12
+ const u = +s;
13
+ let o = 0, c;
14
+ if (i.time && (o = w(i.time), isNaN(o)))
15
+ return n();
16
+ if (i.timezone) {
17
+ if (c = y(i.timezone), isNaN(c)) return n();
18
+ } else {
19
+ const a = new Date(u + o), d = D(0, e?.in);
20
+ return d.setFullYear(
21
+ a.getUTCFullYear(),
22
+ a.getUTCMonth(),
23
+ a.getUTCDate()
24
+ ), d.setHours(
25
+ a.getUTCHours(),
26
+ a.getUTCMinutes(),
27
+ a.getUTCSeconds(),
28
+ a.getUTCMilliseconds()
29
+ ), d;
30
+ }
31
+ return D(u + o + c, e?.in);
32
+ }
33
+ const f = {
34
+ dateTimeDelimiter: /[T ]/,
35
+ timeZoneDelimiter: /[Z ]/i,
36
+ timezone: /([Z+-].*)$/
37
+ }, U = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/, h = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/, C = /^([+-])(\d{2})(?::?(\d{2}))?$/;
38
+ function I(t) {
39
+ const e = {}, n = t.split(f.dateTimeDelimiter);
40
+ let r;
41
+ if (n.length > 2)
42
+ return e;
43
+ if (/:/.test(n[0]) ? r = n[0] : (e.date = n[0], r = n[1], f.timeZoneDelimiter.test(e.date) && (e.date = t.split(f.timeZoneDelimiter)[0], r = t.substr(
44
+ e.date.length,
45
+ t.length
46
+ ))), r) {
47
+ const i = f.timezone.exec(r);
48
+ i ? (e.time = r.replace(i[1], ""), e.timezone = i[1]) : e.time = r;
49
+ }
50
+ return e;
51
+ }
52
+ function x(t, e) {
53
+ const n = new RegExp(
54
+ "^(?:(\\d{4}|[+-]\\d{" + (4 + e) + "})|(\\d{2}|[+-]\\d{" + (2 + e) + "})$)"
55
+ ), r = t.match(n);
56
+ if (!r) return { year: NaN, restDateString: "" };
57
+ const i = r[1] ? parseInt(r[1]) : null, s = r[2] ? parseInt(r[2]) : null;
58
+ return {
59
+ year: s === null ? i : s * 100,
60
+ restDateString: t.slice((r[1] || r[2]).length)
61
+ };
62
+ }
63
+ function Y(t, e) {
64
+ if (e === null) return /* @__PURE__ */ new Date(NaN);
65
+ const n = t.match(U);
66
+ if (!n) return /* @__PURE__ */ new Date(NaN);
67
+ const r = !!n[4], i = l(n[1]), s = l(n[2]) - 1, u = l(n[3]), o = l(n[4]), c = l(n[5]) - 1;
68
+ if (r)
69
+ return Z(e, o, c) ? z(e, o, c) : /* @__PURE__ */ new Date(NaN);
70
+ {
71
+ const a = /* @__PURE__ */ new Date(0);
72
+ return !M(e, s, u) || !O(e, i) ? /* @__PURE__ */ new Date(NaN) : (a.setUTCFullYear(e, s, Math.max(i, u)), a);
73
+ }
74
+ }
75
+ function l(t) {
76
+ return t ? parseInt(t) : 1;
77
+ }
78
+ function w(t) {
79
+ const e = t.match(h);
80
+ if (!e) return NaN;
81
+ const n = m(e[1]), r = m(e[2]), i = m(e[3]);
82
+ return k(n, r, i) ? n * p + r * N + i * 1e3 : NaN;
83
+ }
84
+ function m(t) {
85
+ return t && parseFloat(t.replace(",", ".")) || 0;
86
+ }
87
+ function y(t) {
88
+ if (t === "Z") return 0;
89
+ const e = t.match(C);
90
+ if (!e) return 0;
91
+ const n = e[1] === "+" ? -1 : 1, r = parseInt(e[2]), i = e[3] && parseInt(e[3]) || 0;
92
+ return R(r, i) ? n * (r * p + i * N) : NaN;
93
+ }
94
+ function z(t, e, n) {
95
+ const r = /* @__PURE__ */ new Date(0);
96
+ r.setUTCFullYear(t, 0, 4);
97
+ const i = r.getUTCDay() || 7, s = (e - 1) * 7 + n + 1 - i;
98
+ return r.setUTCDate(r.getUTCDate() + s), r;
99
+ }
100
+ const F = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
101
+ function g(t) {
102
+ return t % 400 === 0 || t % 4 === 0 && t % 100 !== 0;
103
+ }
104
+ function M(t, e, n) {
105
+ return e >= 0 && e <= 11 && n >= 1 && n <= (F[e] || (g(t) ? 29 : 28));
106
+ }
107
+ function O(t, e) {
108
+ return e >= 1 && e <= (g(t) ? 366 : 365);
109
+ }
110
+ function Z(t, e, n) {
111
+ return e >= 1 && e <= 53 && n >= 0 && n <= 6;
112
+ }
113
+ function k(t, e, n) {
114
+ return t === 24 ? e === 0 && n === 0 : n >= 0 && n < 60 && e >= 0 && e < 60 && t >= 0 && t < 25;
115
+ }
116
+ function R(t, e) {
117
+ return e >= 0 && e <= 59;
118
+ }
119
+ export {
120
+ v as parseISO
121
+ };
package/index89.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index224.js"),e=require("./index225.js"),o=require("./index226.js"),a=require("./index227.js"),r=require("./index228.js"),n={code:"nl-BE",formatDistance:t.formatDistance,formatLong:e.formatLong,formatRelative:o.formatRelative,localize:a.localize,match:r.match,options:{weekStartsOn:1,firstWeekContainsDate:4}};exports.nlBE=n;
package/index89.mjs ADDED
@@ -0,0 +1,20 @@
1
+ import { formatDistance as o } from "./index224.mjs";
2
+ import { formatLong as t } from "./index225.mjs";
3
+ import { formatRelative as r } from "./index226.mjs";
4
+ import { localize as m } from "./index227.mjs";
5
+ import { match as a } from "./index228.mjs";
6
+ const l = {
7
+ code: "nl-BE",
8
+ formatDistance: o,
9
+ formatLong: t,
10
+ formatRelative: r,
11
+ localize: m,
12
+ match: a,
13
+ options: {
14
+ weekStartsOn: 1,
15
+ firstWeekContainsDate: 4
16
+ }
17
+ };
18
+ export {
19
+ l as nlBE
20
+ };
package/index9.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),d=require("./index54.js");function t({title:r,items:n=[],renderLinkFunction:s,qa:l}){const u=()=>Array.isArray(n)?n.map(e=>a.jsx("li",{children:s?s(e):d.renderHTMLLink(e)},`${e.id}`)):null,c=()=>{if(r&&r.label){const e=r.tag||"h1";return a.jsx(e,{className:`${r.className||""} u-margin-top-xxs`,children:r.label})}return null};return a.jsxs(a.Fragment,{children:[a.jsx("ul",{className:"a-breadcrumb","data-qa":l,children:u()}),c()]})}exports.Breadcrumb=t;
package/index9.mjs ADDED
@@ -0,0 +1,18 @@
1
+ import { jsxs as m, Fragment as u, jsx as e } from "react/jsx-runtime";
2
+ import { renderHTMLLink as o } from "./index54.mjs";
3
+ function b({ title: r, items: n = [], renderLinkFunction: l, qa: s }) {
4
+ const c = () => Array.isArray(n) ? n.map((a) => /* @__PURE__ */ e("li", { children: l ? l(a) : o(a) }, `${a.id}`)) : null, d = () => {
5
+ if (r && r.label) {
6
+ const a = r.tag || "h1";
7
+ return /* @__PURE__ */ e(a, { className: `${r.className || ""} u-margin-top-xxs`, children: r.label });
8
+ }
9
+ return null;
10
+ };
11
+ return /* @__PURE__ */ m(u, { children: [
12
+ /* @__PURE__ */ e("ul", { className: "a-breadcrumb", "data-qa": s, children: c() }),
13
+ d()
14
+ ] });
15
+ }
16
+ export {
17
+ b as Breadcrumb
18
+ };
package/index90.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function c(e){if(e.__esModule)return e;var o=e.default;if(typeof o=="function"){var t=function r(){return this instanceof r?Reflect.construct(o,arguments,this.constructor):o.apply(this,arguments)};t.prototype=o.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var u=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,u.get?u:{enumerable:!0,get:function(){return e[r]}})}),t}exports.getAugmentedNamespace=c;exports.getDefaultExportFromCjs=n;
package/index90.mjs ADDED
@@ -0,0 +1,26 @@
1
+ function n(e) {
2
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
3
+ }
4
+ function c(e) {
5
+ if (e.__esModule) return e;
6
+ var o = e.default;
7
+ if (typeof o == "function") {
8
+ var t = function r() {
9
+ return this instanceof r ? Reflect.construct(o, arguments, this.constructor) : o.apply(this, arguments);
10
+ };
11
+ t.prototype = o.prototype;
12
+ } else t = {};
13
+ return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(r) {
14
+ var u = Object.getOwnPropertyDescriptor(e, r);
15
+ Object.defineProperty(t, r, u.get ? u : {
16
+ enumerable: !0,
17
+ get: function() {
18
+ return e[r];
19
+ }
20
+ });
21
+ }), t;
22
+ }
23
+ export {
24
+ c as getAugmentedNamespace,
25
+ n as getDefaultExportFromCjs
26
+ };
package/index91.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
package/index91.mjs ADDED
@@ -0,0 +1,4 @@
1
+ var e = { exports: {} };
2
+ export {
3
+ e as __module
4
+ };
package/index92.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";const d=require("./index93.js"),x=require("react"),N=require("react-dom"),T=require("./index94.js"),q=require("./index95.js");require("./index96.js");require("./index97.js");const A=require("./index98.js"),D=require("./index99.js"),w=require("./index100.js");Object.defineProperty(d.__exports,"__esModule",{value:!0});d.__exports.bodyOpenClassName=d.__exports.portalClassName=void 0;var g=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var o=arguments[e];for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(r[a]=o[a])}return r},H=function(){function r(e,o){for(var a=0;a<o.length;a++){var n=o[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(e,o,a){return o&&r(e.prototype,o),a&&r(e,a),e}}(),R=x,_=m(R),L=N,O=m(L),U=T.propTypesExports,t=m(U),k=q.ModalPortalExports,C=m(k),W=w.__exports,F=B(W),i=D.__exports,M=m(i),$=A;function B(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);return e.default=r,e}function m(r){return r&&r.__esModule?r:{default:r}}function j(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function P(r,e){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:r}function I(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(r,e):r.__proto__=e)}var V=d.__exports.portalClassName="ReactModalPortal",z=d.__exports.bodyOpenClassName="ReactModal__Body--open",f=i.canUseDOM&&O.default.createPortal!==void 0,b=function(e){return document.createElement(e)},E=function(){return f?O.default.createPortal:O.default.unstable_renderSubtreeIntoContainer};function y(r){return r()}var p=function(r){I(e,r);function e(){var o,a,n,l;j(this,e);for(var c=arguments.length,v=Array(c),s=0;s<c;s++)v[s]=arguments[s];return l=(a=(n=P(this,(o=e.__proto__||Object.getPrototypeOf(e)).call.apply(o,[this].concat(v))),n),n.removePortal=function(){!f&&O.default.unmountComponentAtNode(n.node);var u=y(n.props.parentSelector);u&&u.contains(n.node)?u.removeChild(n.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},n.portalRef=function(u){n.portal=u},n.renderPortal=function(u){var h=E(),S=h(n,_.default.createElement(C.default,g({defaultStyles:e.defaultStyles},u)),n.node);n.portalRef(S)},a),P(n,l)}return H(e,[{key:"componentDidMount",value:function(){if(i.canUseDOM){f||(this.node=b("div")),this.node.className=this.props.portalClassName;var a=y(this.props.parentSelector);a.appendChild(this.node),!f&&this.renderPortal(this.props)}}},{key:"getSnapshotBeforeUpdate",value:function(a){var n=y(a.parentSelector),l=y(this.props.parentSelector);return{prevParent:n,nextParent:l}}},{key:"componentDidUpdate",value:function(a,n,l){if(i.canUseDOM){var c=this.props,v=c.isOpen,s=c.portalClassName;a.portalClassName!==s&&(this.node.className=s);var u=l.prevParent,h=l.nextParent;h!==u&&(u.removeChild(this.node),h.appendChild(this.node)),!(!a.isOpen&&!v)&&!f&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(!(!i.canUseDOM||!this.node||!this.portal)){var a=this.portal.state,n=Date.now(),l=a.isOpen&&this.props.closeTimeoutMS&&(a.closesAt||n+this.props.closeTimeoutMS);l?(a.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,l-n)):this.removePortal()}}},{key:"render",value:function(){if(!i.canUseDOM||!f)return null;!this.node&&f&&(this.node=b("div"));var a=E();return a(_.default.createElement(C.default,g({ref:this.portalRef,defaultStyles:e.defaultStyles},this.props)),this.node)}}],[{key:"setAppElement",value:function(a){F.setElement(a)}}]),e}(R.Component);p.propTypes={isOpen:t.default.bool.isRequired,style:t.default.shape({content:t.default.object,overlay:t.default.object}),portalClassName:t.default.string,bodyOpenClassName:t.default.string,htmlOpenClassName:t.default.string,className:t.default.oneOfType([t.default.string,t.default.shape({base:t.default.string.isRequired,afterOpen:t.default.string.isRequired,beforeClose:t.default.string.isRequired})]),overlayClassName:t.default.oneOfType([t.default.string,t.default.shape({base:t.default.string.isRequired,afterOpen:t.default.string.isRequired,beforeClose:t.default.string.isRequired})]),appElement:t.default.oneOfType([t.default.instanceOf(M.default),t.default.instanceOf(i.SafeHTMLCollection),t.default.instanceOf(i.SafeNodeList),t.default.arrayOf(t.default.instanceOf(M.default))]),onAfterOpen:t.default.func,onRequestClose:t.default.func,closeTimeoutMS:t.default.number,ariaHideApp:t.default.bool,shouldFocusAfterRender:t.default.bool,shouldCloseOnOverlayClick:t.default.bool,shouldReturnFocusAfterClose:t.default.bool,preventScroll:t.default.bool,parentSelector:t.default.func,aria:t.default.object,data:t.default.object,role:t.default.string,contentLabel:t.default.string,shouldCloseOnEsc:t.default.bool,overlayRef:t.default.func,contentRef:t.default.func,id:t.default.string,overlayElement:t.default.func,contentElement:t.default.func};p.defaultProps={isOpen:!1,portalClassName:V,bodyOpenClassName:z,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,o){return _.default.createElement("div",e,o)},contentElement:function(e,o){return _.default.createElement("div",e,o)}};p.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}};(0,$.polyfill)(p);process.env.NODE_ENV!=="production"&&(p.setCreateHTMLElement=function(r){return b=r});d.__exports.default=p;
package/index92.mjs ADDED
@@ -0,0 +1,237 @@
1
+ import { __exports as p } from "./index93.mjs";
2
+ import N from "react";
3
+ import T from "react-dom";
4
+ import { p as x } from "./index94.mjs";
5
+ import { M as A } from "./index95.mjs";
6
+ import "./index96.mjs";
7
+ import "./index97.mjs";
8
+ import D from "./index98.mjs";
9
+ import { __exports as w } from "./index99.mjs";
10
+ import { __exports as q } from "./index100.mjs";
11
+ Object.defineProperty(p, "__esModule", {
12
+ value: !0
13
+ });
14
+ p.bodyOpenClassName = p.portalClassName = void 0;
15
+ var g = Object.assign || function(r) {
16
+ for (var e = 1; e < arguments.length; e++) {
17
+ var o = arguments[e];
18
+ for (var a in o)
19
+ Object.prototype.hasOwnProperty.call(o, a) && (r[a] = o[a]);
20
+ }
21
+ return r;
22
+ }, H = /* @__PURE__ */ function() {
23
+ function r(e, o) {
24
+ for (var a = 0; a < o.length; a++) {
25
+ var n = o[a];
26
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);
27
+ }
28
+ }
29
+ return function(e, o, a) {
30
+ return o && r(e.prototype, o), a && r(e, a), e;
31
+ };
32
+ }(), R = N, O = m(R), U = T, _ = m(U), L = x, t = m(L), k = A, C = m(k), $ = q, W = B($), u = w, M = m(u), F = D;
33
+ function B(r) {
34
+ if (r && r.__esModule)
35
+ return r;
36
+ var e = {};
37
+ if (r != null)
38
+ for (var o in r)
39
+ Object.prototype.hasOwnProperty.call(r, o) && (e[o] = r[o]);
40
+ return e.default = r, e;
41
+ }
42
+ function m(r) {
43
+ return r && r.__esModule ? r : { default: r };
44
+ }
45
+ function j(r, e) {
46
+ if (!(r instanceof e))
47
+ throw new TypeError("Cannot call a class as a function");
48
+ }
49
+ function E(r, e) {
50
+ if (!r)
51
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
52
+ return e && (typeof e == "object" || typeof e == "function") ? e : r;
53
+ }
54
+ function I(r, e) {
55
+ if (typeof e != "function" && e !== null)
56
+ throw new TypeError("Super expression must either be null or a function, not " + typeof e);
57
+ r.prototype = Object.create(e && e.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(r, e) : r.__proto__ = e);
58
+ }
59
+ var V = p.portalClassName = "ReactModalPortal", z = p.bodyOpenClassName = "ReactModal__Body--open", s = u.canUseDOM && _.default.createPortal !== void 0, b = function(e) {
60
+ return document.createElement(e);
61
+ }, P = function() {
62
+ return s ? _.default.createPortal : _.default.unstable_renderSubtreeIntoContainer;
63
+ };
64
+ function y(r) {
65
+ return r();
66
+ }
67
+ var d = function(r) {
68
+ I(e, r);
69
+ function e() {
70
+ var o, a, n, l;
71
+ j(this, e);
72
+ for (var c = arguments.length, v = Array(c), f = 0; f < c; f++)
73
+ v[f] = arguments[f];
74
+ return l = (a = (n = E(this, (o = e.__proto__ || Object.getPrototypeOf(e)).call.apply(o, [this].concat(v))), n), n.removePortal = function() {
75
+ !s && _.default.unmountComponentAtNode(n.node);
76
+ var i = y(n.props.parentSelector);
77
+ i && i.contains(n.node) ? i.removeChild(n.node) : console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.');
78
+ }, n.portalRef = function(i) {
79
+ n.portal = i;
80
+ }, n.renderPortal = function(i) {
81
+ var h = P(), S = h(n, O.default.createElement(C.default, g({ defaultStyles: e.defaultStyles }, i)), n.node);
82
+ n.portalRef(S);
83
+ }, a), E(n, l);
84
+ }
85
+ return H(e, [{
86
+ key: "componentDidMount",
87
+ value: function() {
88
+ if (u.canUseDOM) {
89
+ s || (this.node = b("div")), this.node.className = this.props.portalClassName;
90
+ var a = y(this.props.parentSelector);
91
+ a.appendChild(this.node), !s && this.renderPortal(this.props);
92
+ }
93
+ }
94
+ }, {
95
+ key: "getSnapshotBeforeUpdate",
96
+ value: function(a) {
97
+ var n = y(a.parentSelector), l = y(this.props.parentSelector);
98
+ return { prevParent: n, nextParent: l };
99
+ }
100
+ }, {
101
+ key: "componentDidUpdate",
102
+ value: function(a, n, l) {
103
+ if (u.canUseDOM) {
104
+ var c = this.props, v = c.isOpen, f = c.portalClassName;
105
+ a.portalClassName !== f && (this.node.className = f);
106
+ var i = l.prevParent, h = l.nextParent;
107
+ h !== i && (i.removeChild(this.node), h.appendChild(this.node)), !(!a.isOpen && !v) && !s && this.renderPortal(this.props);
108
+ }
109
+ }
110
+ }, {
111
+ key: "componentWillUnmount",
112
+ value: function() {
113
+ if (!(!u.canUseDOM || !this.node || !this.portal)) {
114
+ var a = this.portal.state, n = Date.now(), l = a.isOpen && this.props.closeTimeoutMS && (a.closesAt || n + this.props.closeTimeoutMS);
115
+ l ? (a.beforeClose || this.portal.closeWithTimeout(), setTimeout(this.removePortal, l - n)) : this.removePortal();
116
+ }
117
+ }
118
+ }, {
119
+ key: "render",
120
+ value: function() {
121
+ if (!u.canUseDOM || !s)
122
+ return null;
123
+ !this.node && s && (this.node = b("div"));
124
+ var a = P();
125
+ return a(O.default.createElement(C.default, g({
126
+ ref: this.portalRef,
127
+ defaultStyles: e.defaultStyles
128
+ }, this.props)), this.node);
129
+ }
130
+ }], [{
131
+ key: "setAppElement",
132
+ value: function(a) {
133
+ W.setElement(a);
134
+ }
135
+ /* eslint-disable react/no-unused-prop-types */
136
+ /* eslint-enable react/no-unused-prop-types */
137
+ }]), e;
138
+ }(R.Component);
139
+ d.propTypes = {
140
+ isOpen: t.default.bool.isRequired,
141
+ style: t.default.shape({
142
+ content: t.default.object,
143
+ overlay: t.default.object
144
+ }),
145
+ portalClassName: t.default.string,
146
+ bodyOpenClassName: t.default.string,
147
+ htmlOpenClassName: t.default.string,
148
+ className: t.default.oneOfType([t.default.string, t.default.shape({
149
+ base: t.default.string.isRequired,
150
+ afterOpen: t.default.string.isRequired,
151
+ beforeClose: t.default.string.isRequired
152
+ })]),
153
+ overlayClassName: t.default.oneOfType([t.default.string, t.default.shape({
154
+ base: t.default.string.isRequired,
155
+ afterOpen: t.default.string.isRequired,
156
+ beforeClose: t.default.string.isRequired
157
+ })]),
158
+ appElement: t.default.oneOfType([t.default.instanceOf(M.default), t.default.instanceOf(u.SafeHTMLCollection), t.default.instanceOf(u.SafeNodeList), t.default.arrayOf(t.default.instanceOf(M.default))]),
159
+ onAfterOpen: t.default.func,
160
+ onRequestClose: t.default.func,
161
+ closeTimeoutMS: t.default.number,
162
+ ariaHideApp: t.default.bool,
163
+ shouldFocusAfterRender: t.default.bool,
164
+ shouldCloseOnOverlayClick: t.default.bool,
165
+ shouldReturnFocusAfterClose: t.default.bool,
166
+ preventScroll: t.default.bool,
167
+ parentSelector: t.default.func,
168
+ aria: t.default.object,
169
+ data: t.default.object,
170
+ role: t.default.string,
171
+ contentLabel: t.default.string,
172
+ shouldCloseOnEsc: t.default.bool,
173
+ overlayRef: t.default.func,
174
+ contentRef: t.default.func,
175
+ id: t.default.string,
176
+ overlayElement: t.default.func,
177
+ contentElement: t.default.func
178
+ };
179
+ d.defaultProps = {
180
+ isOpen: !1,
181
+ portalClassName: V,
182
+ bodyOpenClassName: z,
183
+ role: "dialog",
184
+ ariaHideApp: !0,
185
+ closeTimeoutMS: 0,
186
+ shouldFocusAfterRender: !0,
187
+ shouldCloseOnEsc: !0,
188
+ shouldCloseOnOverlayClick: !0,
189
+ shouldReturnFocusAfterClose: !0,
190
+ preventScroll: !1,
191
+ parentSelector: function() {
192
+ return document.body;
193
+ },
194
+ overlayElement: function(e, o) {
195
+ return O.default.createElement(
196
+ "div",
197
+ e,
198
+ o
199
+ );
200
+ },
201
+ contentElement: function(e, o) {
202
+ return O.default.createElement(
203
+ "div",
204
+ e,
205
+ o
206
+ );
207
+ }
208
+ };
209
+ d.defaultStyles = {
210
+ overlay: {
211
+ position: "fixed",
212
+ top: 0,
213
+ left: 0,
214
+ right: 0,
215
+ bottom: 0,
216
+ backgroundColor: "rgba(255, 255, 255, 0.75)"
217
+ },
218
+ content: {
219
+ position: "absolute",
220
+ top: "40px",
221
+ left: "40px",
222
+ right: "40px",
223
+ bottom: "40px",
224
+ border: "1px solid #ccc",
225
+ background: "#fff",
226
+ overflow: "auto",
227
+ WebkitOverflowScrolling: "touch",
228
+ borderRadius: "4px",
229
+ outline: "none",
230
+ padding: "20px"
231
+ }
232
+ };
233
+ (0, F.polyfill)(d);
234
+ process.env.NODE_ENV !== "production" && (d.setCreateHTMLElement = function(r) {
235
+ return b = r;
236
+ });
237
+ p.default = d;
package/index93.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
package/index93.mjs ADDED
@@ -0,0 +1,4 @@
1
+ var a = {};
2
+ export {
3
+ a as __exports
4
+ };
package/index94.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index103.js"),r=require("./index104.js"),o=require("./index105.js"),t=require("./index106.js");if(process.env.NODE_ENV!=="production"){var i=r.__require(),s=!0;e.__module.exports=o.__require()(i.isElement,s)}else e.__module.exports=t.__require()();var p=e.__module.exports;exports.propTypesExports=p;
package/index94.mjs ADDED
@@ -0,0 +1,13 @@
1
+ import { __module as r } from "./index103.mjs";
2
+ import { __require as e } from "./index104.mjs";
3
+ import { __require as o } from "./index105.mjs";
4
+ import { __require as p } from "./index106.mjs";
5
+ if (process.env.NODE_ENV !== "production") {
6
+ var s = e(), i = !0;
7
+ r.exports = o()(s.isElement, i);
8
+ } else
9
+ r.exports = p()();
10
+ var _ = r.exports;
11
+ export {
12
+ _ as p
13
+ };
package/index95.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("./index107.js"),$=require("react"),V=require("./index94.js");require("./index108.js");const z=require("./index109.js");require("./index96.js");require("./index110.js");require("./index97.js");require("./index111.js");require("./index112.js");const G=require("./index99.js"),J=require("./index113.js"),Q=require("./index100.js"),X=require("./index114.js"),Y=require("./index115.js");(function(E,O){Object.defineProperty(O,"__esModule",{value:!0});var c=Object.assign||function(s){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(s[e]=r[e])}return s},A=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},g=function(){function s(n,r){for(var e=0;e<r.length;e++){var t=r[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}return function(n,r,e){return r&&s(n.prototype,r),e&&s(n,e),n}}(),R=$,w=V.propTypesExports,o=m(w),q=Y.__exports,p=C(q),D=z.scopeTabExports,F=m(D),H=Q.__exports,S=C(H),k=J.__exports,d=C(k),v=G.__exports,M=m(v),x=X.__exports,N=m(x);function C(s){if(s&&s.__esModule)return s;var n={};if(s!=null)for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(n[r]=s[r]);return n.default=s,n}function m(s){return s&&s.__esModule?s:{default:s}}function P(s,n){if(!(s instanceof n))throw new TypeError("Cannot call a class as a function")}function L(s,n){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:s}function j(s,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);s.prototype=Object.create(n&&n.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(s,n):s.__proto__=n)}var b={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},W=function(n){return n.code==="Tab"||n.keyCode===9},I=function(n){return n.code==="Escape"||n.keyCode===27},h=0,_=function(s){j(n,s);function n(r){P(this,n);var e=L(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,r));return e.setOverlayRef=function(t){e.overlay=t,e.props.overlayRef&&e.props.overlayRef(t)},e.setContentRef=function(t){e.content=t,e.props.contentRef&&e.props.contentRef(t)},e.afterClose=function(){var t=e.props,l=t.appElement,u=t.ariaHideApp,a=t.htmlOpenClassName,i=t.bodyOpenClassName,f=t.parentSelector,y=f&&f().ownerDocument||document;i&&d.remove(y.body,i),a&&d.remove(y.getElementsByTagName("html")[0],a),u&&h>0&&(h-=1,h===0&&S.show(l)),e.props.shouldFocusAfterRender&&(e.props.shouldReturnFocusAfterClose?(p.returnFocus(e.props.preventScroll),p.teardownScopedFocus()):p.popWithoutFocus()),e.props.onAfterClose&&e.props.onAfterClose(),N.default.deregister(e)},e.open=function(){e.beforeOpen(),e.state.afterOpen&&e.state.beforeClose?(clearTimeout(e.closeTimer),e.setState({beforeClose:!1})):(e.props.shouldFocusAfterRender&&(p.setupScopedFocus(e.node),p.markForFocusLater()),e.setState({isOpen:!0},function(){e.openAnimationFrame=requestAnimationFrame(function(){e.setState({afterOpen:!0}),e.props.isOpen&&e.props.onAfterOpen&&e.props.onAfterOpen({overlayEl:e.overlay,contentEl:e.content})})}))},e.close=function(){e.props.closeTimeoutMS>0?e.closeWithTimeout():e.closeWithoutTimeout()},e.focusContent=function(){return e.content&&!e.contentHasFocus()&&e.content.focus({preventScroll:!0})},e.closeWithTimeout=function(){var t=Date.now()+e.props.closeTimeoutMS;e.setState({beforeClose:!0,closesAt:t},function(){e.closeTimer=setTimeout(e.closeWithoutTimeout,e.state.closesAt-Date.now())})},e.closeWithoutTimeout=function(){e.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},e.afterClose)},e.handleKeyDown=function(t){W(t)&&(0,F.default)(e.content,t),e.props.shouldCloseOnEsc&&I(t)&&(t.stopPropagation(),e.requestClose(t))},e.handleOverlayOnClick=function(t){e.shouldClose===null&&(e.shouldClose=!0),e.shouldClose&&e.props.shouldCloseOnOverlayClick&&(e.ownerHandlesClose()?e.requestClose(t):e.focusContent()),e.shouldClose=null},e.handleContentOnMouseUp=function(){e.shouldClose=!1},e.handleOverlayOnMouseDown=function(t){!e.props.shouldCloseOnOverlayClick&&t.target==e.overlay&&t.preventDefault()},e.handleContentOnClick=function(){e.shouldClose=!1},e.handleContentOnMouseDown=function(){e.shouldClose=!1},e.requestClose=function(t){return e.ownerHandlesClose()&&e.props.onRequestClose(t)},e.ownerHandlesClose=function(){return e.props.onRequestClose},e.shouldBeClosed=function(){return!e.state.isOpen&&!e.state.beforeClose},e.contentHasFocus=function(){return document.activeElement===e.content||e.content.contains(document.activeElement)},e.buildClassName=function(t,l){var u=(typeof l>"u"?"undefined":A(l))==="object"?l:{base:b[t],afterOpen:b[t]+"--after-open",beforeClose:b[t]+"--before-close"},a=u.base;return e.state.afterOpen&&(a=a+" "+u.afterOpen),e.state.beforeClose&&(a=a+" "+u.beforeClose),typeof l=="string"&&l?a+" "+l:a},e.attributesFromObject=function(t,l){return Object.keys(l).reduce(function(u,a){return u[t+"-"+a]=l[a],u},{})},e.state={afterOpen:!1,beforeClose:!1},e.shouldClose=null,e.moveFromContentToOverlay=null,e}return g(n,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){process.env.NODE_ENV!=="production"&&(e.bodyOpenClassName!==this.props.bodyOpenClassName&&console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'),e.htmlOpenClassName!==this.props.htmlOpenClassName&&console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')),this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,l=e.ariaHideApp,u=e.htmlOpenClassName,a=e.bodyOpenClassName,i=e.parentSelector,f=i&&i().ownerDocument||document;a&&d.add(f.body,a),u&&d.add(f.getElementsByTagName("html")[0],u),l&&(h+=1,S.hide(t)),N.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,l=e.className,u=e.overlayClassName,a=e.defaultStyles,i=e.children,f=l?{}:a.content,y=u?{}:a.overlay;if(this.shouldBeClosed())return null;var K={ref:this.setOverlayRef,className:this.buildClassName("overlay",u),style:c({},y,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},U=c({id:t,ref:this.setContentRef,style:c({},f,this.props.style.content),className:this.buildClassName("content",l),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",c({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),B=this.props.contentElement(U,i);return this.props.overlayElement(K,B)}}]),n}(R.Component);_.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},_.propTypes={isOpen:o.default.bool.isRequired,defaultStyles:o.default.shape({content:o.default.object,overlay:o.default.object}),style:o.default.shape({content:o.default.object,overlay:o.default.object}),className:o.default.oneOfType([o.default.string,o.default.object]),overlayClassName:o.default.oneOfType([o.default.string,o.default.object]),parentSelector:o.default.func,bodyOpenClassName:o.default.string,htmlOpenClassName:o.default.string,ariaHideApp:o.default.bool,appElement:o.default.oneOfType([o.default.instanceOf(M.default),o.default.instanceOf(v.SafeHTMLCollection),o.default.instanceOf(v.SafeNodeList),o.default.arrayOf(o.default.instanceOf(M.default))]),onAfterOpen:o.default.func,onAfterClose:o.default.func,onRequestClose:o.default.func,closeTimeoutMS:o.default.number,shouldFocusAfterRender:o.default.bool,shouldCloseOnOverlayClick:o.default.bool,shouldReturnFocusAfterClose:o.default.bool,preventScroll:o.default.bool,role:o.default.string,contentLabel:o.default.string,aria:o.default.object,data:o.default.object,children:o.default.node,shouldCloseOnEsc:o.default.bool,overlayRef:o.default.func,contentRef:o.default.func,id:o.default.string,overlayElement:o.default.func,contentElement:o.default.func,testId:o.default.string},O.default=_,E.exports=O.default})(T.__module,T.__module.exports);var Z=T.__module.exports;exports.ModalPortalExports=Z;