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

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 (465) hide show
  1. package/package.json +3 -3
  2. package/index.js +0 -1
  3. package/index.mjs +0 -100
  4. package/index10.js +0 -1
  5. package/index10.mjs +0 -60
  6. package/index100.js +0 -1
  7. package/index100.mjs +0 -4
  8. package/index101.js +0 -1
  9. package/index101.mjs +0 -400
  10. package/index102.js +0 -5
  11. package/index102.mjs +0 -42
  12. package/index103.js +0 -1
  13. package/index103.mjs +0 -4
  14. package/index104.js +0 -1
  15. package/index104.mjs +0 -10
  16. package/index105.js +0 -2
  17. package/index105.mjs +0 -329
  18. package/index106.js +0 -1
  19. package/index106.mjs +0 -52
  20. package/index107.js +0 -1
  21. package/index107.mjs +0 -4
  22. package/index108.js +0 -1
  23. package/index108.mjs +0 -67
  24. package/index109.js +0 -1
  25. package/index109.mjs +0 -45
  26. package/index11.js +0 -1
  27. package/index11.mjs +0 -12
  28. package/index110.js +0 -10
  29. package/index110.mjs +0 -62
  30. package/index111.js +0 -1
  31. package/index111.mjs +0 -46
  32. package/index112.js +0 -1
  33. package/index112.mjs +0 -42
  34. package/index113.js +0 -1
  35. package/index113.mjs +0 -4
  36. package/index114.js +0 -1
  37. package/index114.mjs +0 -4
  38. package/index115.js +0 -1
  39. package/index115.mjs +0 -4
  40. package/index116.js +0 -1
  41. package/index116.mjs +0 -33
  42. package/index117.js +0 -5
  43. package/index117.mjs +0 -21
  44. package/index118.js +0 -9
  45. package/index118.mjs +0 -63
  46. package/index119.js +0 -1
  47. package/index119.mjs +0 -65
  48. package/index12.js +0 -1
  49. package/index12.mjs +0 -215
  50. package/index120.js +0 -1
  51. package/index120.mjs +0 -16
  52. package/index121.js +0 -1
  53. package/index121.mjs +0 -9
  54. package/index122.js +0 -1
  55. package/index122.mjs +0 -9
  56. package/index123.js +0 -1
  57. package/index123.mjs +0 -8
  58. package/index124.js +0 -1
  59. package/index124.mjs +0 -8
  60. package/index125.js +0 -1
  61. package/index125.mjs +0 -7
  62. package/index126.js +0 -1
  63. package/index126.mjs +0 -7
  64. package/index127.js +0 -1
  65. package/index127.mjs +0 -9
  66. package/index128.js +0 -1
  67. package/index128.mjs +0 -7
  68. package/index129.js +0 -1
  69. package/index129.mjs +0 -69
  70. package/index13.js +0 -1
  71. package/index13.mjs +0 -29
  72. package/index130.js +0 -1
  73. package/index130.mjs +0 -5
  74. package/index131.js +0 -1
  75. package/index131.mjs +0 -7
  76. package/index132.js +0 -1
  77. package/index132.mjs +0 -13
  78. package/index133.js +0 -1
  79. package/index133.mjs +0 -4
  80. package/index134.js +0 -1
  81. package/index134.mjs +0 -393
  82. package/index135.js +0 -1
  83. package/index135.mjs +0 -127
  84. package/index136.js +0 -1
  85. package/index136.mjs +0 -136
  86. package/index137.js +0 -1
  87. package/index137.mjs +0 -4
  88. package/index138.js +0 -1
  89. package/index138.mjs +0 -4
  90. package/index139.js +0 -8
  91. package/index139.mjs +0 -78
  92. package/index14.js +0 -1
  93. package/index14.mjs +0 -44
  94. package/index140.js +0 -8
  95. package/index140.mjs +0 -95
  96. package/index141.js +0 -5
  97. package/index141.mjs +0 -54
  98. package/index142.js +0 -1
  99. package/index142.mjs +0 -10
  100. package/index143.js +0 -1
  101. package/index143.mjs +0 -7
  102. package/index144.js +0 -1
  103. package/index144.mjs +0 -54
  104. package/index145.js +0 -11
  105. package/index145.mjs +0 -60
  106. package/index146.js +0 -1
  107. package/index146.mjs +0 -4
  108. package/index147.js +0 -1
  109. package/index147.mjs +0 -4
  110. package/index148.js +0 -1
  111. package/index148.mjs +0 -7
  112. package/index149.js +0 -1
  113. package/index149.mjs +0 -7
  114. package/index15.js +0 -1
  115. package/index15.mjs +0 -8
  116. package/index150.js +0 -1
  117. package/index150.mjs +0 -9
  118. package/index151.js +0 -1
  119. package/index151.mjs +0 -15
  120. package/index152.js +0 -1
  121. package/index152.mjs +0 -18
  122. package/index153.js +0 -1
  123. package/index153.mjs +0 -11
  124. package/index154.js +0 -1
  125. package/index154.mjs +0 -8
  126. package/index155.js +0 -1
  127. package/index155.mjs +0 -8
  128. package/index156.js +0 -1
  129. package/index156.mjs +0 -7
  130. package/index157.js +0 -1
  131. package/index157.mjs +0 -515
  132. package/index158.js +0 -1
  133. package/index158.mjs +0 -52
  134. package/index159.js +0 -1
  135. package/index159.mjs +0 -20
  136. package/index16.js +0 -1
  137. package/index16.mjs +0 -15
  138. package/index160.js +0 -1
  139. package/index160.mjs +0 -20
  140. package/index161.js +0 -1
  141. package/index161.mjs +0 -7
  142. package/index162.js +0 -1
  143. package/index162.mjs +0 -10
  144. package/index163.js +0 -1
  145. package/index163.mjs +0 -8
  146. package/index164.js +0 -1
  147. package/index164.mjs +0 -7
  148. package/index165.js +0 -1
  149. package/index165.mjs +0 -8
  150. package/index166.js +0 -1
  151. package/index166.mjs +0 -11
  152. package/index167.js +0 -1
  153. package/index167.mjs +0 -7
  154. package/index168.js +0 -1
  155. package/index168.mjs +0 -10
  156. package/index169.js +0 -1
  157. package/index169.mjs +0 -14
  158. package/index17.js +0 -1
  159. package/index17.mjs +0 -108
  160. package/index170.js +0 -1
  161. package/index170.mjs +0 -11
  162. package/index171.js +0 -1
  163. package/index171.mjs +0 -11
  164. package/index172.js +0 -1
  165. package/index172.mjs +0 -15
  166. package/index173.js +0 -1
  167. package/index173.mjs +0 -6
  168. package/index174.js +0 -1
  169. package/index174.mjs +0 -35
  170. package/index175.js +0 -1
  171. package/index175.mjs +0 -67
  172. package/index176.js +0 -1
  173. package/index176.mjs +0 -10
  174. package/index177.js +0 -1
  175. package/index177.mjs +0 -10
  176. package/index178.js +0 -1
  177. package/index178.mjs +0 -9
  178. package/index179.js +0 -1
  179. package/index179.mjs +0 -9
  180. package/index18.js +0 -1
  181. package/index18.mjs +0 -136
  182. package/index180.js +0 -1
  183. package/index180.mjs +0 -16
  184. package/index181.js +0 -1
  185. package/index181.mjs +0 -4
  186. package/index182.js +0 -1
  187. package/index182.mjs +0 -4
  188. package/index183.js +0 -1
  189. package/index183.mjs +0 -4
  190. package/index184.js +0 -1
  191. package/index184.mjs +0 -59
  192. package/index185.js +0 -1
  193. package/index185.mjs +0 -24
  194. package/index186.js +0 -1
  195. package/index186.mjs +0 -43
  196. package/index187.js +0 -1
  197. package/index187.mjs +0 -63
  198. package/index188.js +0 -1
  199. package/index188.mjs +0 -34
  200. package/index189.js +0 -1
  201. package/index189.mjs +0 -15
  202. package/index19.js +0 -1
  203. package/index19.mjs +0 -11
  204. package/index190.js +0 -1
  205. package/index190.mjs +0 -64
  206. package/index191.js +0 -1
  207. package/index191.mjs +0 -64
  208. package/index192.js +0 -1
  209. package/index192.mjs +0 -65
  210. package/index193.js +0 -1
  211. package/index193.mjs +0 -65
  212. package/index194.js +0 -1
  213. package/index194.mjs +0 -42
  214. package/index195.js +0 -1
  215. package/index195.mjs +0 -43
  216. package/index196.js +0 -1
  217. package/index196.mjs +0 -55
  218. package/index197.js +0 -1
  219. package/index197.mjs +0 -45
  220. package/index198.js +0 -1
  221. package/index198.mjs +0 -39
  222. package/index199.js +0 -1
  223. package/index199.mjs +0 -68
  224. package/index2.js +0 -1
  225. package/index2.mjs +0 -12
  226. package/index20.js +0 -1
  227. package/index20.mjs +0 -54
  228. package/index200.js +0 -1
  229. package/index200.mjs +0 -68
  230. package/index201.js +0 -1
  231. package/index201.mjs +0 -93
  232. package/index202.js +0 -1
  233. package/index202.mjs +0 -43
  234. package/index203.js +0 -1
  235. package/index203.mjs +0 -43
  236. package/index204.js +0 -1
  237. package/index204.mjs +0 -43
  238. package/index205.js +0 -1
  239. package/index205.mjs +0 -27
  240. package/index206.js +0 -1
  241. package/index206.mjs +0 -26
  242. package/index207.js +0 -1
  243. package/index207.mjs +0 -26
  244. package/index208.js +0 -1
  245. package/index208.mjs +0 -27
  246. package/index209.js +0 -1
  247. package/index209.mjs +0 -26
  248. package/index21.js +0 -1
  249. package/index21.mjs +0 -33
  250. package/index210.js +0 -1
  251. package/index210.mjs +0 -26
  252. package/index211.js +0 -1
  253. package/index211.mjs +0 -16
  254. package/index212.js +0 -1
  255. package/index212.mjs +0 -42
  256. package/index213.js +0 -1
  257. package/index213.mjs +0 -42
  258. package/index214.js +0 -1
  259. package/index214.mjs +0 -16
  260. package/index215.js +0 -1
  261. package/index215.mjs +0 -16
  262. package/index216.js +0 -1
  263. package/index216.mjs +0 -70
  264. package/index217.js +0 -1
  265. package/index217.mjs +0 -33
  266. package/index218.js +0 -1
  267. package/index218.mjs +0 -11
  268. package/index219.js +0 -1
  269. package/index219.mjs +0 -155
  270. package/index22.js +0 -1
  271. package/index22.mjs +0 -22
  272. package/index220.js +0 -1
  273. package/index220.mjs +0 -110
  274. package/index221.js +0 -1
  275. package/index221.mjs +0 -22
  276. package/index222.js +0 -1
  277. package/index222.mjs +0 -103
  278. package/index223.js +0 -1
  279. package/index223.mjs +0 -49
  280. package/index224.js +0 -1
  281. package/index224.mjs +0 -70
  282. package/index225.js +0 -1
  283. package/index225.mjs +0 -33
  284. package/index226.js +0 -1
  285. package/index226.mjs +0 -11
  286. package/index227.js +0 -1
  287. package/index227.mjs +0 -110
  288. package/index228.js +0 -1
  289. package/index228.mjs +0 -109
  290. package/index229.js +0 -1
  291. package/index229.mjs +0 -9
  292. package/index23.js +0 -1
  293. package/index23.mjs +0 -32
  294. package/index230.js +0 -1
  295. package/index230.mjs +0 -18
  296. package/index231.js +0 -1
  297. package/index231.mjs +0 -31
  298. package/index232.js +0 -1
  299. package/index232.mjs +0 -15
  300. package/index233.js +0 -1
  301. package/index233.mjs +0 -61
  302. package/index234.js +0 -1
  303. package/index234.mjs +0 -11
  304. package/index235.js +0 -1
  305. package/index235.mjs +0 -22
  306. package/index24.js +0 -2
  307. package/index24.mjs +0 -62
  308. package/index25.js +0 -1
  309. package/index25.mjs +0 -15
  310. package/index26.js +0 -1
  311. package/index26.mjs +0 -12
  312. package/index27.js +0 -1
  313. package/index27.mjs +0 -43
  314. package/index28.js +0 -1
  315. package/index28.mjs +0 -34
  316. package/index29.js +0 -1
  317. package/index29.mjs +0 -10
  318. package/index3.js +0 -1
  319. package/index3.mjs +0 -15
  320. package/index30.js +0 -1
  321. package/index30.mjs +0 -72
  322. package/index31.js +0 -1
  323. package/index31.mjs +0 -40
  324. package/index32.js +0 -1
  325. package/index32.mjs +0 -48
  326. package/index33.js +0 -1
  327. package/index33.mjs +0 -90
  328. package/index34.js +0 -1
  329. package/index34.mjs +0 -36
  330. package/index35.js +0 -1
  331. package/index35.mjs +0 -25
  332. package/index36.js +0 -1
  333. package/index36.mjs +0 -27
  334. package/index37.js +0 -1
  335. package/index37.mjs +0 -110
  336. package/index38.js +0 -1
  337. package/index38.mjs +0 -57
  338. package/index39.js +0 -1
  339. package/index39.mjs +0 -21
  340. package/index4.js +0 -1
  341. package/index4.mjs +0 -58
  342. package/index40.js +0 -1
  343. package/index40.mjs +0 -40
  344. package/index41.js +0 -1
  345. package/index41.mjs +0 -54
  346. package/index42.js +0 -1
  347. package/index42.mjs +0 -73
  348. package/index43.js +0 -1
  349. package/index43.mjs +0 -49
  350. package/index44.js +0 -1
  351. package/index44.mjs +0 -13
  352. package/index45.js +0 -1
  353. package/index45.mjs +0 -73
  354. package/index46.js +0 -1
  355. package/index46.mjs +0 -99
  356. package/index47.js +0 -1
  357. package/index47.mjs +0 -45
  358. package/index48.js +0 -1
  359. package/index48.mjs +0 -26
  360. package/index49.js +0 -1
  361. package/index49.mjs +0 -83
  362. package/index5.js +0 -1
  363. package/index5.mjs +0 -136
  364. package/index50.js +0 -1
  365. package/index50.mjs +0 -35
  366. package/index51.js +0 -1
  367. package/index51.mjs +0 -10
  368. package/index52.js +0 -1
  369. package/index52.mjs +0 -13
  370. package/index53.js +0 -1
  371. package/index53.mjs +0 -30
  372. package/index54.js +0 -1
  373. package/index54.mjs +0 -51
  374. package/index55.js +0 -1
  375. package/index55.mjs +0 -10
  376. package/index56.js +0 -1
  377. package/index56.mjs +0 -49
  378. package/index58.js +0 -1
  379. package/index58.mjs +0 -64
  380. package/index59.js +0 -1
  381. package/index59.mjs +0 -62
  382. package/index6.js +0 -1
  383. package/index6.mjs +0 -29
  384. package/index60.js +0 -1
  385. package/index60.mjs +0 -31
  386. package/index61.js +0 -1
  387. package/index61.mjs +0 -23
  388. package/index62.js +0 -1
  389. package/index62.mjs +0 -32
  390. package/index63.js +0 -1
  391. package/index63.mjs +0 -16
  392. package/index64.js +0 -1
  393. package/index64.mjs +0 -61
  394. package/index65.js +0 -1
  395. package/index65.mjs +0 -19
  396. package/index66.js +0 -7
  397. package/index66.mjs +0 -411
  398. package/index7.js +0 -1
  399. package/index7.mjs +0 -8
  400. package/index70.js +0 -1
  401. package/index70.mjs +0 -4
  402. package/index71.js +0 -1
  403. package/index71.mjs +0 -76
  404. package/index72.js +0 -1
  405. package/index72.mjs +0 -31
  406. package/index73.js +0 -1
  407. package/index73.mjs +0 -38
  408. package/index74.js +0 -1
  409. package/index74.mjs +0 -6
  410. package/index75.js +0 -1
  411. package/index75.mjs +0 -37
  412. package/index76.js +0 -1
  413. package/index76.mjs +0 -7
  414. package/index77.js +0 -1
  415. package/index77.mjs +0 -7
  416. package/index78.js +0 -1
  417. package/index78.mjs +0 -7
  418. package/index79.js +0 -1
  419. package/index79.mjs +0 -7
  420. package/index8.js +0 -1
  421. package/index8.mjs +0 -18
  422. package/index80.js +0 -1
  423. package/index80.mjs +0 -7
  424. package/index81.js +0 -1
  425. package/index81.mjs +0 -19
  426. package/index82.js +0 -1
  427. package/index82.mjs +0 -87
  428. package/index83.js +0 -1
  429. package/index83.mjs +0 -8
  430. package/index84.js +0 -1
  431. package/index84.mjs +0 -27
  432. package/index85.js +0 -1
  433. package/index85.mjs +0 -57
  434. package/index87.js +0 -1
  435. package/index87.mjs +0 -7
  436. package/index88.js +0 -1
  437. package/index88.mjs +0 -121
  438. package/index89.js +0 -1
  439. package/index89.mjs +0 -20
  440. package/index9.js +0 -1
  441. package/index9.mjs +0 -18
  442. package/index90.js +0 -1
  443. package/index90.mjs +0 -26
  444. package/index91.js +0 -1
  445. package/index91.mjs +0 -4
  446. package/index92.js +0 -1
  447. package/index92.mjs +0 -237
  448. package/index93.js +0 -1
  449. package/index93.mjs +0 -4
  450. package/index94.js +0 -1
  451. package/index94.mjs +0 -13
  452. package/index95.js +0 -1
  453. package/index95.mjs +0 -249
  454. package/index96.js +0 -1
  455. package/index96.mjs +0 -91
  456. package/index97.js +0 -1
  457. package/index97.mjs +0 -15
  458. package/index98.js +0 -1
  459. package/index98.mjs +0 -6
  460. package/index99.js +0 -1
  461. package/index99.mjs +0 -4
  462. package/packages/antwerp-ui/react-components/src/lib/atoms/input/text-field/TextField.css +0 -1
  463. package/packages/antwerp-ui/react-components/src/lib/atoms/tooltip/Tooltip.css +0 -1
  464. package/packages/antwerp-ui/react-components/src/lib/molecules/autocomplete/Autocomplete.css +0 -1
  465. package/packages/antwerp-ui/react-components/src/lib/molecules/datepicker/DateRangePicker.css +0 -1
package/index111.mjs DELETED
@@ -1,46 +0,0 @@
1
- import { __exports as r } from "./index114.mjs";
2
- Object.defineProperty(r, "__esModule", {
3
- value: !0
4
- });
5
- r.log = c;
6
- r.resetState = l;
7
- function i(s, e) {
8
- if (!(s instanceof e))
9
- throw new TypeError("Cannot call a class as a function");
10
- }
11
- var a = function s() {
12
- var e = this;
13
- i(this, s), this.register = function(n) {
14
- if (e.openInstances.indexOf(n) !== -1) {
15
- process.env.NODE_ENV !== "production" && console.warn("React-Modal: Cannot register modal instance that's already open");
16
- return;
17
- }
18
- e.openInstances.push(n), e.emit("register");
19
- }, this.deregister = function(n) {
20
- var t = e.openInstances.indexOf(n);
21
- if (t === -1) {
22
- process.env.NODE_ENV !== "production" && console.warn("React-Modal: Unable to deregister " + n + " as it was never registered");
23
- return;
24
- }
25
- e.openInstances.splice(t, 1), e.emit("deregister");
26
- }, this.subscribe = function(n) {
27
- e.subscribers.push(n);
28
- }, this.emit = function(n) {
29
- e.subscribers.forEach(function(t) {
30
- return t(
31
- n,
32
- // shallow copy to avoid accidental mutation
33
- e.openInstances.slice()
34
- );
35
- });
36
- }, this.openInstances = [], this.subscribers = [];
37
- }, o = new a();
38
- function c() {
39
- console.log("portalOpenInstances ----------"), console.log(o.openInstances.length), o.openInstances.forEach(function(s) {
40
- return console.log(s);
41
- }), console.log("end portalOpenInstances ----------");
42
- }
43
- function l() {
44
- o = new a();
45
- }
46
- r.default = o;
package/index112.js DELETED
@@ -1 +0,0 @@
1
- "use strict";const s=require("./index147.js");require("./index111.js");const i=require("./index114.js");Object.defineProperty(s.__exports,"__esModule",{value:!0});s.__exports.resetState=f;s.__exports.log=v;var c=i.__exports,u=p(c);function p(t){return t&&t.__esModule?t:{default:t}}var e=void 0,n=void 0,r=[];function f(){for(var t=[e,n],o=0;o<t.length;o++){var a=t[o];a&&a.parentNode&&a.parentNode.removeChild(a)}e=n=null,r=[]}function v(){console.log("bodyTrap ----------"),console.log(r.length);for(var t=[e,n],o=0;o<t.length;o++){var a=t[o],l=a||{};console.log(l.nodeName,l.className,l.id)}console.log("edn bodyTrap ----------")}function d(){if(r.length===0){process.env.NODE_ENV!=="production"&&console.warn("React-Modal: Open instances > 0 expected");return}r[r.length-1].focusContent()}function _(t,o){!e&&!n&&(e=document.createElement("div"),e.setAttribute("data-react-modal-body-trap",""),e.style.position="absolute",e.style.opacity="0",e.setAttribute("tabindex","0"),e.addEventListener("focus",d),n=e.cloneNode(),n.addEventListener("focus",d)),r=o,r.length>0?(document.body.firstChild!==e&&document.body.insertBefore(e,document.body.firstChild),document.body.lastChild!==n&&document.body.appendChild(n)):(e.parentElement&&e.parentElement.removeChild(e),n.parentElement&&n.parentElement.removeChild(n))}u.default.subscribe(_);module.exports=s.__exports;
package/index112.mjs DELETED
@@ -1,42 +0,0 @@
1
- import { __exports as d } from "./index147.mjs";
2
- import "./index111.mjs";
3
- import { __exports as i } from "./index114.mjs";
4
- Object.defineProperty(d, "__esModule", {
5
- value: !0
6
- });
7
- d.resetState = f;
8
- d.log = v;
9
- var p = i, c = u(p);
10
- function u(t) {
11
- return t && t.__esModule ? t : { default: t };
12
- }
13
- var e = void 0, o = void 0, r = [];
14
- function f() {
15
- for (var t = [e, o], n = 0; n < t.length; n++) {
16
- var a = t[n];
17
- a && a.parentNode && a.parentNode.removeChild(a);
18
- }
19
- e = o = null, r = [];
20
- }
21
- function v() {
22
- console.log("bodyTrap ----------"), console.log(r.length);
23
- for (var t = [e, o], n = 0; n < t.length; n++) {
24
- var a = t[n], l = a || {};
25
- console.log(l.nodeName, l.className, l.id);
26
- }
27
- console.log("edn bodyTrap ----------");
28
- }
29
- function s() {
30
- if (r.length === 0) {
31
- process.env.NODE_ENV !== "production" && console.warn("React-Modal: Open instances > 0 expected");
32
- return;
33
- }
34
- r[r.length - 1].focusContent();
35
- }
36
- function m(t, n) {
37
- !e && !o && (e = document.createElement("div"), e.setAttribute("data-react-modal-body-trap", ""), e.style.position = "absolute", e.style.opacity = "0", e.setAttribute("tabindex", "0"), e.addEventListener("focus", s), o = e.cloneNode(), o.addEventListener("focus", s)), r = n, r.length > 0 ? (document.body.firstChild !== e && document.body.insertBefore(e, document.body.firstChild), document.body.lastChild !== o && document.body.appendChild(o)) : (e.parentElement && e.parentElement.removeChild(e), o.parentElement && o.parentElement.removeChild(o));
38
- }
39
- c.default.subscribe(m);
40
- export {
41
- d as default
42
- };
package/index113.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
package/index113.mjs DELETED
@@ -1,4 +0,0 @@
1
- var s = {};
2
- export {
3
- s as __exports
4
- };
package/index114.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
package/index114.mjs DELETED
@@ -1,4 +0,0 @@
1
- var a = {};
2
- export {
3
- a as __exports
4
- };
package/index115.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
package/index115.mjs DELETED
@@ -1,4 +0,0 @@
1
- var a = {};
2
- export {
3
- a as __exports
4
- };
package/index116.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var g=process.env.NODE_ENV!=="production",i=function(){};if(g){var c=function(a,r){var e=arguments.length;r=new Array(e>1?e-1:0);for(var n=1;n<e;n++)r[n-1]=arguments[n];var u=0,o="Warning: "+a.replace(/%s/g,function(){return r[u++]});typeof console<"u"&&console.error(o);try{throw new Error(o)}catch{}};i=function(t,a,r){var e=arguments.length;r=new Array(e>2?e-2:0);for(var n=2;n<e;n++)r[n-2]=arguments[n];if(a===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");t||c.apply(null,[a].concat(r))}}var f=i;exports.warning_1=f;
package/index116.mjs DELETED
@@ -1,33 +0,0 @@
1
- var c = process.env.NODE_ENV !== "production", i = function() {
2
- };
3
- if (c) {
4
- var g = function(e, r) {
5
- var a = arguments.length;
6
- r = new Array(a > 1 ? a - 1 : 0);
7
- for (var n = 1; n < a; n++)
8
- r[n - 1] = arguments[n];
9
- var u = 0, t = "Warning: " + e.replace(/%s/g, function() {
10
- return r[u++];
11
- });
12
- typeof console < "u" && console.error(t);
13
- try {
14
- throw new Error(t);
15
- } catch {
16
- }
17
- };
18
- i = function(o, e, r) {
19
- var a = arguments.length;
20
- r = new Array(a > 2 ? a - 2 : 0);
21
- for (var n = 2; n < a; n++)
22
- r[n - 2] = arguments[n];
23
- if (e === void 0)
24
- throw new Error(
25
- "`warning(condition, format, ...args)` requires a warning message argument"
26
- );
27
- o || g.apply(null, [e].concat(r));
28
- };
29
- }
30
- var s = i;
31
- export {
32
- s as w
33
- };
package/index117.js DELETED
@@ -1,5 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index137.js");/*!
2
- Copyright (c) 2015 Jed Watson.
3
- Based on code that is Copyright 2013-2015, Facebook, Inc.
4
- All rights reserved.
5
- */(function(n){(function(){var e=!!(typeof window<"u"&&window.document&&window.document.createElement),t={canUseDOM:e,canUseWorkers:typeof Worker<"u",canUseEventListeners:e&&!!(window.addEventListener||window.attachEvent),canUseViewport:e&&!!window.screen};n.exports?n.exports=t:window.ExecutionEnvironment=t})()})(o.__module);var r=o.__module.exports;exports.exenvExports=r;
package/index117.mjs DELETED
@@ -1,21 +0,0 @@
1
- import { __module as t } from "./index137.mjs";
2
- /*!
3
- Copyright (c) 2015 Jed Watson.
4
- Based on code that is Copyright 2013-2015, Facebook, Inc.
5
- All rights reserved.
6
- */
7
- (function(n) {
8
- (function() {
9
- var e = !!(typeof window < "u" && window.document && window.document.createElement), o = {
10
- canUseDOM: e,
11
- canUseWorkers: typeof Worker < "u",
12
- canUseEventListeners: e && !!(window.addEventListener || window.attachEvent),
13
- canUseViewport: e && !!window.screen
14
- };
15
- n.exports ? n.exports = o : window.ExecutionEnvironment = o;
16
- })();
17
- })(t);
18
- var i = t.exports;
19
- export {
20
- i as e
21
- };
package/index118.js DELETED
@@ -1,9 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function l(){var t=this.constructor.getDerivedStateFromProps(this.props,this.state);t!=null&&this.setState(t)}function r(t){function e(o){var n=this.constructor.getDerivedStateFromProps(t,o);return n??null}this.setState(e.bind(this))}function p(t,e){try{var o=this.props,n=this.state;this.props=t,this.state=e,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(o,n)}finally{this.props=o,this.state=n}}l.__suppressDeprecationWarning=!0;r.__suppressDeprecationWarning=!0;p.__suppressDeprecationWarning=!0;function m(t){var e=t.prototype;if(!e||!e.isReactComponent)throw new Error("Can only polyfill class components");if(typeof t.getDerivedStateFromProps!="function"&&typeof e.getSnapshotBeforeUpdate!="function")return t;var o=null,n=null,i=null;if(typeof e.componentWillMount=="function"?o="componentWillMount":typeof e.UNSAFE_componentWillMount=="function"&&(o="UNSAFE_componentWillMount"),typeof e.componentWillReceiveProps=="function"?n="componentWillReceiveProps":typeof e.UNSAFE_componentWillReceiveProps=="function"&&(n="UNSAFE_componentWillReceiveProps"),typeof e.componentWillUpdate=="function"?i="componentWillUpdate":typeof e.UNSAFE_componentWillUpdate=="function"&&(i="UNSAFE_componentWillUpdate"),o!==null||n!==null||i!==null){var a=t.displayName||t.name,s=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
2
-
3
- `+a+" uses "+s+" but also contains the following legacy lifecycles:"+(o!==null?`
4
- `+o:"")+(n!==null?`
5
- `+n:"")+(i!==null?`
6
- `+i:"")+`
7
-
8
- The above lifecycles should be removed. Learn more about this warning here:
9
- https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof t.getDerivedStateFromProps=="function"&&(e.componentWillMount=l,e.componentWillReceiveProps=r),typeof e.getSnapshotBeforeUpdate=="function"){if(typeof e.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");e.componentWillUpdate=p;var c=e.componentDidUpdate;e.componentDidUpdate=function(f,u,d){var h=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:d;c.call(this,f,u,h)}}return t}exports.polyfill=m;
package/index118.mjs DELETED
@@ -1,63 +0,0 @@
1
- function l() {
2
- var t = this.constructor.getDerivedStateFromProps(this.props, this.state);
3
- t != null && this.setState(t);
4
- }
5
- function p(t) {
6
- function e(o) {
7
- var n = this.constructor.getDerivedStateFromProps(t, o);
8
- return n ?? null;
9
- }
10
- this.setState(e.bind(this));
11
- }
12
- function r(t, e) {
13
- try {
14
- var o = this.props, n = this.state;
15
- this.props = t, this.state = e, this.__reactInternalSnapshotFlag = !0, this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate(
16
- o,
17
- n
18
- );
19
- } finally {
20
- this.props = o, this.state = n;
21
- }
22
- }
23
- l.__suppressDeprecationWarning = !0;
24
- p.__suppressDeprecationWarning = !0;
25
- r.__suppressDeprecationWarning = !0;
26
- function y(t) {
27
- var e = t.prototype;
28
- if (!e || !e.isReactComponent)
29
- throw new Error("Can only polyfill class components");
30
- if (typeof t.getDerivedStateFromProps != "function" && typeof e.getSnapshotBeforeUpdate != "function")
31
- return t;
32
- var o = null, n = null, i = null;
33
- if (typeof e.componentWillMount == "function" ? o = "componentWillMount" : typeof e.UNSAFE_componentWillMount == "function" && (o = "UNSAFE_componentWillMount"), typeof e.componentWillReceiveProps == "function" ? n = "componentWillReceiveProps" : typeof e.UNSAFE_componentWillReceiveProps == "function" && (n = "UNSAFE_componentWillReceiveProps"), typeof e.componentWillUpdate == "function" ? i = "componentWillUpdate" : typeof e.UNSAFE_componentWillUpdate == "function" && (i = "UNSAFE_componentWillUpdate"), o !== null || n !== null || i !== null) {
34
- var a = t.displayName || t.name, s = typeof t.getDerivedStateFromProps == "function" ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()";
35
- throw Error(
36
- `Unsafe legacy lifecycles will not be called for components using new component APIs.
37
-
38
- ` + a + " uses " + s + " but also contains the following legacy lifecycles:" + (o !== null ? `
39
- ` + o : "") + (n !== null ? `
40
- ` + n : "") + (i !== null ? `
41
- ` + i : "") + `
42
-
43
- The above lifecycles should be removed. Learn more about this warning here:
44
- https://fb.me/react-async-component-lifecycle-hooks`
45
- );
46
- }
47
- if (typeof t.getDerivedStateFromProps == "function" && (e.componentWillMount = l, e.componentWillReceiveProps = p), typeof e.getSnapshotBeforeUpdate == "function") {
48
- if (typeof e.componentDidUpdate != "function")
49
- throw new Error(
50
- "Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype"
51
- );
52
- e.componentWillUpdate = r;
53
- var c = e.componentDidUpdate;
54
- e.componentDidUpdate = function(f, u, d) {
55
- var h = this.__reactInternalSnapshotFlag ? this.__reactInternalSnapshot : d;
56
- c.call(this, f, u, h);
57
- };
58
- }
59
- return t;
60
- }
61
- export {
62
- y as polyfill
63
- };
package/index119.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),O=require("./index51.js"),c=require("react"),D=require("./index75.js"),r=require("./index132.js"),p=require("./index131.js"),w=require("./index123.js"),E=require("./index125.js"),R=require("./index124.js"),S=require("./index85.js");function $({date:e,monthYear:u,unavailable:i,unavailableFrom:a,unavailableTo:m,value:n,onChange:d,highlight:s,ariaLabelCurrentDay:b,onMouseEnter:f,onMouseLeave:y,hoverStyle:j}){const o=c.useMemo(()=>D.isInRange(e,a,m,i),[i,a,m,e]),M=c.useMemo(()=>!!n&&r.isSameDay(n,e)&&!(s&&(s[0]||s[1])),[n,e,s]),x=c.useMemo(()=>!!s&&(s[0]&&r.isSameDay(new Date(s[0]),e)||s[1]&&r.isSameDay(new Date(s[1]),e)||s[0]&&s[1]&&D.isBetween(e,s[0],s[1])),[s,e]),q=r.isSameDay(e,new Date),B=O.classNames({"is-current":q,"is-faded":p.isBefore(e,w.startOfMonth(u))||E.isAfter(e,R.endOfMonth(u)),"is-unavailable":o,"is-selected":M||!!x,"is-hovered":!!j});return t.jsx("td",{children:t.jsx("button",{className:B,tabIndex:o?-1:void 0,disabled:o,type:"button","aria-pressed":M,"aria-label":`${S.format(e,"EEEE d MMMM yyyy")}${q?`, ${b}`:""}`,onClick:()=>{d(e)},onMouseEnter:()=>{f&&f(e)},onMouseLeave:()=>{y&&y(e)},children:t.jsx("span",{children:S.format(e,"d")})})})}exports.DayButton=$;
package/index119.mjs DELETED
@@ -1,65 +0,0 @@
1
- import { jsx as m } from "react/jsx-runtime";
2
- import { classNames as $ } from "./index51.mjs";
3
- import { useMemo as f } from "react";
4
- import { isInRange as a, isBetween as C } from "./index75.mjs";
5
- import { isSameDay as s } from "./index132.mjs";
6
- import { isBefore as I } from "./index131.mjs";
7
- import { startOfMonth as N } from "./index123.mjs";
8
- import { isAfter as O } from "./index125.mjs";
9
- import { endOfMonth as S } from "./index124.mjs";
10
- import { format as u } from "./index85.mjs";
11
- function K({
12
- date: r,
13
- monthYear: c,
14
- unavailable: p,
15
- unavailableFrom: t,
16
- unavailableTo: i,
17
- value: n,
18
- onChange: w,
19
- highlight: o,
20
- ariaLabelCurrentDay: E,
21
- onMouseEnter: y,
22
- onMouseLeave: M,
23
- hoverStyle: d
24
- }) {
25
- const e = f(
26
- () => a(r, t, i, p),
27
- [p, t, i, r]
28
- ), D = f(
29
- () => !!n && s(n, r) && !(o && (o[0] || o[1])),
30
- [n, r, o]
31
- ), x = f(
32
- () => !!o && (o[0] && s(new Date(o[0]), r) || o[1] && s(new Date(o[1]), r) || o[0] && o[1] && C(r, o[0], o[1])),
33
- [o, r]
34
- ), b = s(r, /* @__PURE__ */ new Date()), B = $({
35
- "is-current": b,
36
- "is-faded": I(r, N(c)) || O(r, S(c)),
37
- "is-unavailable": e,
38
- "is-selected": D || !!x,
39
- "is-hovered": !!d
40
- });
41
- return /* @__PURE__ */ m("td", { children: /* @__PURE__ */ m(
42
- "button",
43
- {
44
- className: B,
45
- tabIndex: e ? -1 : void 0,
46
- disabled: e,
47
- type: "button",
48
- "aria-pressed": D,
49
- "aria-label": `${u(r, "EEEE d MMMM yyyy")}${b ? `, ${E}` : ""}`,
50
- onClick: () => {
51
- w(r);
52
- },
53
- onMouseEnter: () => {
54
- y && y(r);
55
- },
56
- onMouseLeave: () => {
57
- M && M(r);
58
- },
59
- children: /* @__PURE__ */ m("span", { children: u(r, "d") })
60
- }
61
- ) });
62
- }
63
- export {
64
- K as DayButton
65
- };
package/index12.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("react/jsx-runtime"),t=require("./index70.js"),ee=require("./index51.js"),te=require("./index71.js"),d=require("react"),ae=require("./index52.js"),ne=require("./index72.js"),re=require("./index73.js"),ie=require("./index74.js"),l=require("./index75.js"),M=require("./index76.js"),v=require("./index77.js"),se=require("./index78.js"),oe=require("./index79.js"),ce=require("./index80.js"),de=require("./index81.js"),ue=require("./index24.js"),O=require("./index10.js"),$=d.forwardRef(({ariaLabel:F="Kalender",ariaLabelCurrentDay:H="Huidige dag",ariaLabelNextMonth:b="Ga naar de volgende maand",ariaLabelNextYear:k="Ga naar het volgend jaar",ariaLabelNextYears:q="Ga naar de volgende jaren",ariaLabelPreviousMonth:T="Ga naar de vorige maand",ariaLabelPreviousYear:j="Ga naar het vorig jaar",ariaLabelPreviousYears:E="Ga naar de voorgaande jaren",className:x,highlightDates:G,isOpen:_=!0,locale:o=ae.DEFAULT_LOCALE,onBlur:W,onChange:R,qa:B,unavailable:I=[],unavailableFrom:K,unavailableTo:P,value:u,hoverStart:L,isModal:S=!1},w)=>{const[D,V]=d.useState(u?new Date(u):void 0),[n,m]=d.useState(M.getYear(new Date(u||new Date))),[r,f]=d.useState(v.getMonth(new Date(u||new Date))),[a,p]=d.useState(t.CalendarView.DAYS),[h,Y]=d.useState(n-7);d.useEffect(()=>{const e=u?new Date(u):void 0;if(isNaN(e?.getTime())){f(v.getMonth(new Date)),m(M.getYear(new Date)),Y(M.getYear(new Date)-7),V(void 0);return}return V(e)},[u]),d.useEffect(()=>{if(S&&w&&"current"in w&&w.current){const e=w.current,i=Array.from(e.querySelectorAll("button")).filter(c=>!c.disabled),y=i[0],C=i[i.length-1];e.contains(document.activeElement)||y.focus();const N=c=>{c.key==="Tab"&&c.shiftKey&&document.activeElement===y?(C.focus(),c.preventDefault()):c.key==="Tab"&&!c.shiftKey&&document.activeElement===C&&(y.focus(),c.preventDefault())};return e.addEventListener("keydown",N),function(){e?.removeEventListener("keydown",N)}}},[w,S,a,r,n]);const g=d.useMemo(()=>{const e=new Date(n,r);return{[t.CalendarView.DAYS]:{main:ie.titleize(l.formatWithFallback(e,"MMMM yyyy",o)),next:`${b}, ${l.formatWithFallback(de.addMonths(e,1),"MMMM yyyy",o)}`,prev:`${T}, ${l.formatWithFallback(ce.subMonths(e),"MMMM yyyy",o)}`},[t.CalendarView.MONTHS]:{main:l.formatWithFallback(e,"yyyy",o),next:`${k}, ${l.formatWithFallback(oe.addYears(e,1),"yyyy",o)}`,prev:`${j}, ${l.formatWithFallback(se.subYears(e),"yyyy",o)}`},[t.CalendarView.YEARS]:{main:`${h} - ${h+17}`,next:q,prev:E}}[a]},[a,n,r,h,b,k,q,T,j,E,o]),U=()=>{if(a===t.CalendarView.DAYS)return m(r===0?n-1:n),f(r===0?11:r-1);if(a===t.CalendarView.MONTHS)return m(n-1);if(a===t.CalendarView.YEARS)return Y(h-18)},z=()=>{if(a===t.CalendarView.DAYS)return m(r===11?n+1:n),f((r+1)%12);if(a===t.CalendarView.MONTHS)return m(n+1);if(a===t.CalendarView.YEARS)return Y(h+18)},J=()=>{const e=[t.CalendarView.DAYS,t.CalendarView.MONTHS,t.CalendarView.YEARS];p(e[(e.findIndex(i=>i===a)+1)%e.length])},A=e=>{if(a===t.CalendarView.DAYS){V(e);const i=e.getFullYear(),y=e.getMonth(),C=e.getDate();return R&&R(l.toUtcMidnightInBrussels(i,y,C))}else{if(a===t.CalendarView.MONTHS)return f(v.getMonth(e)),p(t.CalendarView.DAYS);if(a===t.CalendarView.YEARS)return m(M.getYear(e)),p(t.CalendarView.MONTHS)}},Q=()=>{switch(a){case t.CalendarView.DAYS:return s.jsx(te.DaysView,{highlight:G,locale:o,ariaLabelCurrentDay:H,activeMonth:r,activeYear:n,value:D,onChange:A,unavailableFrom:K,unavailableTo:P,unavailable:I,hoverStart:L});case t.CalendarView.MONTHS:return s.jsx(ne.MonthsView,{locale:o,value:D,onChange:A,activeYear:n});case t.CalendarView.YEARS:return s.jsx(re.YearsView,{value:D,onChange:A,yearsRowsStart:h,activeMonth:r})}},X=ee.classNames({"m-datepicker":!0,"is-open":!!_,[`${x}`]:!!x}),Z=S?{role:"dialog","aria-modal":!0}:{};return s.jsxs("div",{ref:w,"aria-label":F,className:X,"aria-hidden":!_,"data-qa":B,onBlur:W,onMouseDownCapture:e=>{const i=e.currentTarget;i.setAttribute("data-mousedown-inside","true"),setTimeout(()=>i.removeAttribute("data-mousedown-inside"),0)},onClick:e=>e.stopPropagation(),...Z,children:[s.jsxs("div",{className:"m-datepicker__nav",children:[s.jsxs("button",{type:"button",className:"m-datepicker__nav-title","aria-label":g.main,onClick:J,children:[g.main,s.jsx(ue.Icon,{name:a===t.CalendarView.DAYS?"arrow-down-1":"arrow-up-1"})]}),s.jsxs("div",{className:"m-datepicker__nav-pagination",children:[s.jsx(O.Button,{ariaLabel:g.prev,emphasis:"low",addOn:{type:"icon",iconProps:{name:"arrow-left-1"}},onClick:U}),s.jsx(O.Button,{ariaLabel:g.next,emphasis:"low",addOn:{type:"icon",iconProps:{name:"arrow-right-1"}},onClick:z})]})]}),Q()]})});exports.Calendar=$;exports.default=$;
package/index12.mjs DELETED
@@ -1,215 +0,0 @@
1
- import { jsxs as g, jsx as f } from "react/jsx-runtime";
2
- import { CalendarView as t } from "./index70.mjs";
3
- import { classNames as ee } from "./index51.mjs";
4
- import { DaysView as te } from "./index71.mjs";
5
- import { forwardRef as ne, useState as y, useEffect as x, useMemo as re } from "react";
6
- import { DEFAULT_LOCALE as ae } from "./index52.mjs";
7
- import { MonthsView as oe } from "./index72.mjs";
8
- import { YearsView as ie } from "./index73.mjs";
9
- import { titleize as se } from "./index74.mjs";
10
- import { formatWithFallback as p, toUtcMidnightInBrussels as ce } from "./index75.mjs";
11
- import { getYear as S } from "./index76.mjs";
12
- import { getMonth as C } from "./index77.mjs";
13
- import { subYears as me } from "./index78.mjs";
14
- import { addYears as de } from "./index79.mjs";
15
- import { subMonths as ue } from "./index80.mjs";
16
- import { addMonths as fe } from "./index81.mjs";
17
- import { Icon as pe } from "./index24.mjs";
18
- import { Button as G } from "./index10.mjs";
19
- const Re = ne(
20
- ({
21
- ariaLabel: F = "Kalender",
22
- ariaLabelCurrentDay: I = "Huidige dag",
23
- ariaLabelNextMonth: b = "Ga naar de volgende maand",
24
- ariaLabelNextYear: E = "Ga naar het volgend jaar",
25
- ariaLabelNextYears: N = "Ga naar de volgende jaren",
26
- ariaLabelPreviousMonth: $ = "Ga naar de vorige maand",
27
- ariaLabelPreviousYear: O = "Ga naar het vorig jaar",
28
- ariaLabelPreviousYears: R = "Ga naar de voorgaande jaren",
29
- className: H,
30
- highlightDates: K,
31
- isOpen: V = !0,
32
- locale: i = ae,
33
- onBlur: P,
34
- onChange: _,
35
- qa: q,
36
- unavailable: B = [],
37
- unavailableFrom: L,
38
- unavailableTo: U,
39
- value: c,
40
- hoverStart: z,
41
- isModal: A = !1
42
- }, m) => {
43
- const [M, v] = y(c ? new Date(c) : void 0), [r, d] = y(S(new Date(c || /* @__PURE__ */ new Date()))), [a, h] = y(C(new Date(c || /* @__PURE__ */ new Date()))), [n, Y] = y(t.DAYS), [u, k] = y(r - 7);
44
- x(() => {
45
- const e = c ? new Date(c) : void 0;
46
- if (isNaN(e?.getTime())) {
47
- h(C(/* @__PURE__ */ new Date())), d(S(/* @__PURE__ */ new Date())), k(S(/* @__PURE__ */ new Date()) - 7), v(void 0);
48
- return;
49
- }
50
- return v(e);
51
- }, [c]), x(() => {
52
- if (A && m && "current" in m && m.current) {
53
- const e = m.current, o = Array.from(e.querySelectorAll("button")).filter((s) => !s.disabled), l = o[0], D = o[o.length - 1];
54
- e.contains(document.activeElement) || l.focus();
55
- const j = (s) => {
56
- s.key === "Tab" && s.shiftKey && document.activeElement === l ? (D.focus(), s.preventDefault()) : s.key === "Tab" && !s.shiftKey && document.activeElement === D && (l.focus(), s.preventDefault());
57
- };
58
- return e.addEventListener("keydown", j), function() {
59
- e?.removeEventListener("keydown", j);
60
- };
61
- }
62
- }, [m, A, n, a, r]);
63
- const w = re(() => {
64
- const e = new Date(r, a);
65
- return {
66
- [t.DAYS]: {
67
- main: se(p(e, "MMMM yyyy", i)),
68
- next: `${b}, ${p(fe(e, 1), "MMMM yyyy", i)}`,
69
- prev: `${$}, ${p(ue(e), "MMMM yyyy", i)}`
70
- },
71
- [t.MONTHS]: {
72
- main: p(e, "yyyy", i),
73
- next: `${E}, ${p(de(e, 1), "yyyy", i)}`,
74
- prev: `${O}, ${p(me(e), "yyyy", i)}`
75
- },
76
- [t.YEARS]: {
77
- main: `${u} - ${u + 17}`,
78
- next: N,
79
- prev: R
80
- }
81
- }[n];
82
- }, [
83
- n,
84
- r,
85
- a,
86
- u,
87
- b,
88
- E,
89
- N,
90
- $,
91
- O,
92
- R,
93
- i
94
- ]), W = () => {
95
- if (n === t.DAYS)
96
- return d(a === 0 ? r - 1 : r), h(a === 0 ? 11 : a - 1);
97
- if (n === t.MONTHS)
98
- return d(r - 1);
99
- if (n === t.YEARS)
100
- return k(u - 18);
101
- }, J = () => {
102
- if (n === t.DAYS)
103
- return d(a === 11 ? r + 1 : r), h((a + 1) % 12);
104
- if (n === t.MONTHS)
105
- return d(r + 1);
106
- if (n === t.YEARS)
107
- return k(u + 18);
108
- }, Q = () => {
109
- const e = [t.DAYS, t.MONTHS, t.YEARS];
110
- Y(e[(e.findIndex((o) => o === n) + 1) % e.length]);
111
- }, T = (e) => {
112
- if (n === t.DAYS) {
113
- v(e);
114
- const o = e.getFullYear(), l = e.getMonth(), D = e.getDate();
115
- return _ && _(ce(o, l, D));
116
- } else {
117
- if (n === t.MONTHS)
118
- return h(C(e)), Y(t.DAYS);
119
- if (n === t.YEARS)
120
- return d(S(e)), Y(t.MONTHS);
121
- }
122
- }, X = () => {
123
- switch (n) {
124
- case t.DAYS:
125
- return /* @__PURE__ */ f(
126
- te,
127
- {
128
- highlight: K,
129
- locale: i,
130
- ariaLabelCurrentDay: I,
131
- activeMonth: a,
132
- activeYear: r,
133
- value: M,
134
- onChange: T,
135
- unavailableFrom: L,
136
- unavailableTo: U,
137
- unavailable: B,
138
- hoverStart: z
139
- }
140
- );
141
- case t.MONTHS:
142
- return /* @__PURE__ */ f(oe, { locale: i, value: M, onChange: T, activeYear: r });
143
- case t.YEARS:
144
- return /* @__PURE__ */ f(
145
- ie,
146
- {
147
- value: M,
148
- onChange: T,
149
- yearsRowsStart: u,
150
- activeMonth: a
151
- }
152
- );
153
- }
154
- }, Z = ee({ "m-datepicker": !0, "is-open": !!V, [`${H}`]: !!H });
155
- return /* @__PURE__ */ g(
156
- "div",
157
- {
158
- ref: m,
159
- "aria-label": F,
160
- className: Z,
161
- "aria-hidden": !V,
162
- "data-qa": q,
163
- onBlur: P,
164
- onMouseDownCapture: (e) => {
165
- const o = e.currentTarget;
166
- o.setAttribute("data-mousedown-inside", "true"), setTimeout(() => o.removeAttribute("data-mousedown-inside"), 0);
167
- },
168
- onClick: (e) => e.stopPropagation(),
169
- ...A ? { role: "dialog", "aria-modal": !0 } : {},
170
- children: [
171
- /* @__PURE__ */ g("div", { className: "m-datepicker__nav", children: [
172
- /* @__PURE__ */ g(
173
- "button",
174
- {
175
- type: "button",
176
- className: "m-datepicker__nav-title",
177
- "aria-label": w.main,
178
- onClick: Q,
179
- children: [
180
- w.main,
181
- /* @__PURE__ */ f(pe, { name: n === t.DAYS ? "arrow-down-1" : "arrow-up-1" })
182
- ]
183
- }
184
- ),
185
- /* @__PURE__ */ g("div", { className: "m-datepicker__nav-pagination", children: [
186
- /* @__PURE__ */ f(
187
- G,
188
- {
189
- ariaLabel: w.prev,
190
- emphasis: "low",
191
- addOn: { type: "icon", iconProps: { name: "arrow-left-1" } },
192
- onClick: W
193
- }
194
- ),
195
- /* @__PURE__ */ f(
196
- G,
197
- {
198
- ariaLabel: w.next,
199
- emphasis: "low",
200
- addOn: { type: "icon", iconProps: { name: "arrow-right-1" } },
201
- onClick: J
202
- }
203
- )
204
- ] })
205
- ] }),
206
- X()
207
- ]
208
- }
209
- );
210
- }
211
- );
212
- export {
213
- Re as Calendar,
214
- Re as default
215
- };
package/index120.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index155.js"),i=require("./index148.js");function d(o,a){const{start:t,end:r}=u.normalizeInterval(a?.in,o);let n=+t>+r;const c=n?+t:+r,e=n?r:t;e.setHours(0,0,0,0);let l=1;const s=[];for(;+e<=c;)s.push(i.constructFrom(t,e)),e.setDate(e.getDate()+l),e.setHours(0,0,0,0);return n?s.reverse():s}exports.eachDayOfInterval=d;
package/index120.mjs DELETED
@@ -1,16 +0,0 @@
1
- import { normalizeInterval as m } from "./index155.mjs";
2
- import { constructFrom as l } from "./index148.mjs";
3
- function p(n, a) {
4
- const { start: t, end: r } = m(a?.in, n);
5
- let s = +t > +r;
6
- const c = s ? +t : +r, e = s ? r : t;
7
- e.setHours(0, 0, 0, 0);
8
- let i = 1;
9
- const o = [];
10
- for (; +e <= c; )
11
- o.push(l(t, e)), e.setDate(e.getDate() + i), e.setHours(0, 0, 0, 0);
12
- return s ? o.reverse() : o;
13
- }
14
- export {
15
- p as eachDayOfInterval
16
- };
package/index121.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index156.js"),i=require("./index149.js");function u(a,t){const n=c.getDefaultOptions(),o=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,e=i.toDate(a,t?.in),s=e.getDay(),r=(s<o?-7:0)+6-(s-o);return e.setDate(e.getDate()+r),e.setHours(23,59,59,999),e}exports.endOfWeek=u;
package/index121.mjs DELETED
@@ -1,9 +0,0 @@
1
- import { getDefaultOptions as c } from "./index156.mjs";
2
- import { toDate as f } from "./index149.mjs";
3
- function k(s, e) {
4
- const n = c(), o = e?.weekStartsOn ?? e?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, t = f(s, e?.in), a = t.getDay(), r = (a < o ? -7 : 0) + 6 - (a - o);
5
- return t.setDate(t.getDate() + r), t.setHours(23, 59, 59, 999), t;
6
- }
7
- export {
8
- k as endOfWeek
9
- };
package/index122.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index156.js"),i=require("./index149.js");function u(o,e){const s=c.getDefaultOptions(),a=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??s.weekStartsOn??s.locale?.options?.weekStartsOn??0,t=i.toDate(o,e?.in),n=t.getDay(),r=(n<a?7:0)+n-a;return t.setDate(t.getDate()-r),t.setHours(0,0,0,0),t}exports.startOfWeek=u;
package/index122.mjs DELETED
@@ -1,9 +0,0 @@
1
- import { getDefaultOptions as c } from "./index156.mjs";
2
- import { toDate as f } from "./index149.mjs";
3
- function k(s, e) {
4
- const o = c(), a = e?.weekStartsOn ?? e?.locale?.options?.weekStartsOn ?? o.weekStartsOn ?? o.locale?.options?.weekStartsOn ?? 0, t = f(s, e?.in), n = t.getDay(), r = (n < a ? 7 : 0) + n - a;
5
- return t.setDate(t.getDate() - r), t.setHours(0, 0, 0, 0), t;
6
- }
7
- export {
8
- k as startOfWeek
9
- };
package/index123.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index149.js");function n(e,o){const t=r.toDate(e,o?.in);return t.setDate(1),t.setHours(0,0,0,0),t}exports.startOfMonth=n;
package/index123.mjs DELETED
@@ -1,8 +0,0 @@
1
- import { toDate as r } from "./index149.mjs";
2
- function s(o, e) {
3
- const t = r(o, e?.in);
4
- return t.setDate(1), t.setHours(0, 0, 0, 0), t;
5
- }
6
- export {
7
- s as startOfMonth
8
- };
package/index124.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index149.js");function u(e,n){const t=r.toDate(e,n?.in),o=t.getMonth();return t.setFullYear(t.getFullYear(),o+1,0),t.setHours(23,59,59,999),t}exports.endOfMonth=u;
package/index124.mjs DELETED
@@ -1,8 +0,0 @@
1
- import { toDate as r } from "./index149.mjs";
2
- function u(e, o) {
3
- const t = r(e, o?.in), n = t.getMonth();
4
- return t.setFullYear(t.getFullYear(), n + 1, 0), t.setHours(23, 59, 59, 999), t;
5
- }
6
- export {
7
- u as endOfMonth
8
- };
package/index125.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index149.js");function o(e,r){return+t.toDate(e)>+t.toDate(r)}exports.isAfter=o;
package/index125.mjs DELETED
@@ -1,7 +0,0 @@
1
- import { toDate as t } from "./index149.mjs";
2
- function f(r, o) {
3
- return +t(r) > +t(o);
4
- }
5
- export {
6
- f as isAfter
7
- };