@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/index196.mjs DELETED
@@ -1,55 +0,0 @@
1
- import { numericPatterns as o } from "./index223.mjs";
2
- import { Parser as i } from "./index221.mjs";
3
- import { parseNDigits as a, parseNumericPattern as c, isLeapYearIndex as m } from "./index222.mjs";
4
- const p = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], u = [
5
- 31,
6
- 29,
7
- 31,
8
- 30,
9
- 31,
10
- 30,
11
- 31,
12
- 31,
13
- 30,
14
- 31,
15
- 30,
16
- 31
17
- ];
18
- class f extends i {
19
- priority = 90;
20
- subPriority = 1;
21
- parse(r, e, t) {
22
- switch (e) {
23
- case "d":
24
- return c(o.date, r);
25
- case "do":
26
- return t.ordinalNumber(r, { unit: "date" });
27
- default:
28
- return a(e.length, r);
29
- }
30
- }
31
- validate(r, e) {
32
- const t = r.getFullYear(), n = m(t), s = r.getMonth();
33
- return n ? e >= 1 && e <= u[s] : e >= 1 && e <= p[s];
34
- }
35
- set(r, e, t) {
36
- return r.setDate(t), r.setHours(0, 0, 0, 0), r;
37
- }
38
- incompatibleTokens = [
39
- "Y",
40
- "R",
41
- "q",
42
- "Q",
43
- "w",
44
- "I",
45
- "D",
46
- "i",
47
- "e",
48
- "c",
49
- "t",
50
- "T"
51
- ];
52
- }
53
- export {
54
- f as DateParser
55
- };
package/index197.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index223.js"),i=require("./index221.js"),t=require("./index222.js");class n extends i.Parser{priority=90;subpriority=1;parse(e,r,s){switch(r){case"D":case"DD":return t.parseNumericPattern(a.numericPatterns.dayOfYear,e);case"Do":return s.ordinalNumber(e,{unit:"date"});default:return t.parseNDigits(r.length,e)}}validate(e,r){const s=e.getFullYear();return t.isLeapYearIndex(s)?r>=1&&r<=366:r>=1&&r<=365}set(e,r,s){return e.setMonth(0,s),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}exports.DayOfYearParser=n;
package/index197.mjs DELETED
@@ -1,45 +0,0 @@
1
- import { numericPatterns as t } from "./index223.mjs";
2
- import { Parser as a } from "./index221.mjs";
3
- import { parseNDigits as i, parseNumericPattern as n, isLeapYearIndex as o } from "./index222.mjs";
4
- class l extends a {
5
- priority = 90;
6
- subpriority = 1;
7
- parse(r, e, s) {
8
- switch (e) {
9
- case "D":
10
- case "DD":
11
- return n(t.dayOfYear, r);
12
- case "Do":
13
- return s.ordinalNumber(r, { unit: "date" });
14
- default:
15
- return i(e.length, r);
16
- }
17
- }
18
- validate(r, e) {
19
- const s = r.getFullYear();
20
- return o(s) ? e >= 1 && e <= 366 : e >= 1 && e <= 365;
21
- }
22
- set(r, e, s) {
23
- return r.setMonth(0, s), r.setHours(0, 0, 0, 0), r;
24
- }
25
- incompatibleTokens = [
26
- "Y",
27
- "R",
28
- "q",
29
- "Q",
30
- "M",
31
- "L",
32
- "w",
33
- "I",
34
- "d",
35
- "E",
36
- "i",
37
- "e",
38
- "c",
39
- "t",
40
- "T"
41
- ];
42
- }
43
- export {
44
- l as DayOfYearParser
45
- };
package/index198.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index176.js"),s=require("./index221.js");class n extends s.Parser{priority=90;parse(t,e,r){switch(e){case"E":case"EE":case"EEE":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,r,o){return t=a.setDay(t,r,o),t.setHours(0,0,0,0),t}incompatibleTokens=["D","i","e","c","t","T"]}exports.DayParser=n;
package/index198.mjs DELETED
@@ -1,39 +0,0 @@
1
- import { setDay as a } from "./index176.mjs";
2
- import { Parser as n } from "./index221.mjs";
3
- class w extends n {
4
- priority = 90;
5
- parse(t, o, r) {
6
- switch (o) {
7
- case "E":
8
- case "EE":
9
- case "EEE":
10
- return r.day(t, {
11
- width: "abbreviated",
12
- context: "formatting"
13
- }) || r.day(t, { width: "short", context: "formatting" }) || r.day(t, { width: "narrow", context: "formatting" });
14
- case "EEEEE":
15
- return r.day(t, {
16
- width: "narrow",
17
- context: "formatting"
18
- });
19
- case "EEEEEE":
20
- return r.day(t, { width: "short", context: "formatting" }) || r.day(t, { width: "narrow", context: "formatting" });
21
- case "EEEE":
22
- default:
23
- return r.day(t, { width: "wide", context: "formatting" }) || r.day(t, {
24
- width: "abbreviated",
25
- context: "formatting"
26
- }) || r.day(t, { width: "short", context: "formatting" }) || r.day(t, { width: "narrow", context: "formatting" });
27
- }
28
- }
29
- validate(t, o) {
30
- return o >= 0 && o <= 6;
31
- }
32
- set(t, o, r, e) {
33
- return t = a(t, r, e), t.setHours(0, 0, 0, 0), t;
34
- }
35
- incompatibleTokens = ["D", "i", "e", "c", "t", "T"];
36
- }
37
- export {
38
- w as DayParser
39
- };
package/index199.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index176.js"),c=require("./index221.js"),a=require("./index222.js");class y extends c.Parser{priority=90;parse(e,r,t,o){const s=n=>{const i=Math.floor((n-1)/7)*7;return(n+o.weekStartsOn+6)%7+i};switch(r){case"e":case"ee":return a.mapValue(a.parseNDigits(r.length,e),s);case"eo":return a.mapValue(t.ordinalNumber(e,{unit:"day"}),s);case"eee":return t.day(e,{width:"abbreviated",context:"formatting"})||t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"});case"eeeee":return t.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return t.day(e,{width:"wide",context:"formatting"})||t.day(e,{width:"abbreviated",context:"formatting"})||t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"})}}validate(e,r){return r>=0&&r<=6}set(e,r,t,o){return e=u.setDay(e,t,o),e.setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}exports.LocalDayParser=y;
package/index199.mjs DELETED
@@ -1,68 +0,0 @@
1
- import { setDay as w } from "./index176.mjs";
2
- import { Parser as d } from "./index221.mjs";
3
- import { mapValue as s, parseNDigits as f } from "./index222.mjs";
4
- class x extends d {
5
- priority = 90;
6
- parse(e, r, t, o) {
7
- const a = (n) => {
8
- const i = Math.floor((n - 1) / 7) * 7;
9
- return (n + o.weekStartsOn + 6) % 7 + i;
10
- };
11
- switch (r) {
12
- case "e":
13
- case "ee":
14
- return s(f(r.length, e), a);
15
- case "eo":
16
- return s(
17
- t.ordinalNumber(e, {
18
- unit: "day"
19
- }),
20
- a
21
- );
22
- case "eee":
23
- return t.day(e, {
24
- width: "abbreviated",
25
- context: "formatting"
26
- }) || t.day(e, { width: "short", context: "formatting" }) || t.day(e, { width: "narrow", context: "formatting" });
27
- case "eeeee":
28
- return t.day(e, {
29
- width: "narrow",
30
- context: "formatting"
31
- });
32
- case "eeeeee":
33
- return t.day(e, { width: "short", context: "formatting" }) || t.day(e, { width: "narrow", context: "formatting" });
34
- case "eeee":
35
- default:
36
- return t.day(e, { width: "wide", context: "formatting" }) || t.day(e, {
37
- width: "abbreviated",
38
- context: "formatting"
39
- }) || t.day(e, { width: "short", context: "formatting" }) || t.day(e, { width: "narrow", context: "formatting" });
40
- }
41
- }
42
- validate(e, r) {
43
- return r >= 0 && r <= 6;
44
- }
45
- set(e, r, t, o) {
46
- return e = w(e, t, o), e.setHours(0, 0, 0, 0), e;
47
- }
48
- incompatibleTokens = [
49
- "y",
50
- "R",
51
- "u",
52
- "q",
53
- "Q",
54
- "M",
55
- "L",
56
- "I",
57
- "d",
58
- "D",
59
- "E",
60
- "i",
61
- "c",
62
- "t",
63
- "T"
64
- ];
65
- }
66
- export {
67
- x as LocalDayParser
68
- };
package/index2.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),s=require("./index51.js");function t({children:o=[],type:c,qa:e}){const n=s.classNames({"m-accordion":!0,"m-accordion--open":c==="open"});return r.jsx("div",{className:n,"data-qa":e,children:o})}exports.Accordion=t;
package/index2.mjs DELETED
@@ -1,12 +0,0 @@
1
- import { jsx as n } from "react/jsx-runtime";
2
- import { classNames as s } from "./index51.mjs";
3
- function t({ children: o = [], type: c, qa: r }) {
4
- const a = s({
5
- "m-accordion": !0,
6
- "m-accordion--open": c === "open"
7
- });
8
- return /* @__PURE__ */ n("div", { className: a, "data-qa": r, children: o });
9
- }
10
- export {
11
- t as Accordion
12
- };
package/index20.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react/jsx-runtime"),e=require("react"),p=require("./index53.js"),v=require("./index51.js"),w=e.forwardRef(function({trigger:c,open:u,hasPadding:_=!0,className:f="",orientation:l="bottom-left",size:i,children:E,scrollable:d=!1,onStateChange:n,qa:g},h){const[x,m]=e.useState(!!u),s=u===!1||u===!0?u:x,o=e.useRef(null);e.useImperativeHandle(h,()=>o.current);const a=e.useCallback(t=>{const r=o.current;r&&(t.target===r.lastChild&&t.preventDefault(),r.contains(t.target)||(m(!1),n?.(!1)))},[n]);e.useEffect(()=>{if(s)return document.addEventListener("mousedown",a,!1),()=>{document.removeEventListener("mousedown",a,!1)}},[s,a]);const I=()=>{const t=!s;m(t),n?.(t)},b=v.classNames({"m-flyout":!0,[f]:!!f,"is-open":!!s,"u-text-right":!!l?.includes("right"),[`m-flyout--${l}`]:!!l,[`m-flyout--${p.SIZE_MAP[i||p.DEFAULT_SIZE]}`]:!!i,"m-flyout--scrollable":!!d}),q=v.classNames({"m-flyout__content":!0,"has-padding":!!_});return c?y.jsxs("div",{className:b,ref:o,"data-qa":g,children:[e.cloneElement(c,{onClick:I,"aria-haspopup":!0,"aria-expanded":s}),y.jsx("div",{className:q,...d?{tabIndex:0}:{},children:E})]}):null});exports.Flyout=w;
package/index20.mjs DELETED
@@ -1,54 +0,0 @@
1
- import { jsxs as w, jsx as C } from "react/jsx-runtime";
2
- import { forwardRef as F, useState as O, useRef as b, useImperativeHandle as g, useCallback as k, useEffect as L, cloneElement as R } from "react";
3
- import { SIZE_MAP as j, DEFAULT_SIZE as A } from "./index53.mjs";
4
- import { classNames as d } from "./index51.mjs";
5
- const q = F(function({
6
- trigger: a,
7
- open: s,
8
- hasPadding: p = !0,
9
- className: f = "",
10
- orientation: o = "bottom-left",
11
- size: c,
12
- children: y,
13
- scrollable: m = !1,
14
- onStateChange: l,
15
- qa: v
16
- }, E) {
17
- const [h, i] = O(!!s), e = s === !1 || s === !0 ? s : h, n = b(null);
18
- g(E, () => n.current);
19
- const u = k(
20
- (t) => {
21
- const r = n.current;
22
- r && (t.target === r.lastChild && t.preventDefault(), r.contains(t.target) || (i(!1), l?.(!1)));
23
- },
24
- [l]
25
- );
26
- L(() => {
27
- if (e)
28
- return document.addEventListener("mousedown", u, !1), () => {
29
- document.removeEventListener("mousedown", u, !1);
30
- };
31
- }, [e, u]);
32
- const x = () => {
33
- const t = !e;
34
- i(t), l?.(t);
35
- }, I = d({
36
- "m-flyout": !0,
37
- [f]: !!f,
38
- "is-open": !!e,
39
- "u-text-right": !!o?.includes("right"),
40
- [`m-flyout--${o}`]: !!o,
41
- [`m-flyout--${j[c || A]}`]: !!c,
42
- "m-flyout--scrollable": !!m
43
- }), _ = d({
44
- "m-flyout__content": !0,
45
- "has-padding": !!p
46
- });
47
- return a ? /* @__PURE__ */ w("div", { className: I, ref: n, "data-qa": v, children: [
48
- R(a, { onClick: x, "aria-haspopup": !0, "aria-expanded": e }),
49
- /* @__PURE__ */ C("div", { className: _, ...m ? { tabIndex: 0 } : {}, children: y })
50
- ] }) : null;
51
- });
52
- export {
53
- q as Flyout
54
- };
package/index200.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index176.js"),l=require("./index221.js"),o=require("./index222.js");class u extends l.Parser{priority=90;parse(e,t,a,n){const s=r=>{const c=Math.floor((r-1)/7)*7;return(r+n.weekStartsOn+6)%7+c};switch(t){case"c":case"cc":return o.mapValue(o.parseNDigits(t.length,e),s);case"co":return o.mapValue(a.ordinalNumber(e,{unit:"day"}),s);case"ccc":return a.day(e,{width:"abbreviated",context:"standalone"})||a.day(e,{width:"short",context:"standalone"})||a.day(e,{width:"narrow",context:"standalone"});case"ccccc":return a.day(e,{width:"narrow",context:"standalone"});case"cccccc":return a.day(e,{width:"short",context:"standalone"})||a.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return a.day(e,{width:"wide",context:"standalone"})||a.day(e,{width:"abbreviated",context:"standalone"})||a.day(e,{width:"short",context:"standalone"})||a.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,a,n){return e=d.setDay(e,a,n),e.setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}exports.StandAloneLocalDayParser=u;
package/index200.mjs DELETED
@@ -1,68 +0,0 @@
1
- import { setDay as d } from "./index176.mjs";
2
- import { Parser as l } from "./index221.mjs";
3
- import { mapValue as s, parseNDigits as w } from "./index222.mjs";
4
- class p extends l {
5
- priority = 90;
6
- parse(e, a, o, n) {
7
- const t = (r) => {
8
- const c = Math.floor((r - 1) / 7) * 7;
9
- return (r + n.weekStartsOn + 6) % 7 + c;
10
- };
11
- switch (a) {
12
- case "c":
13
- case "cc":
14
- return s(w(a.length, e), t);
15
- case "co":
16
- return s(
17
- o.ordinalNumber(e, {
18
- unit: "day"
19
- }),
20
- t
21
- );
22
- case "ccc":
23
- return o.day(e, {
24
- width: "abbreviated",
25
- context: "standalone"
26
- }) || o.day(e, { width: "short", context: "standalone" }) || o.day(e, { width: "narrow", context: "standalone" });
27
- case "ccccc":
28
- return o.day(e, {
29
- width: "narrow",
30
- context: "standalone"
31
- });
32
- case "cccccc":
33
- return o.day(e, { width: "short", context: "standalone" }) || o.day(e, { width: "narrow", context: "standalone" });
34
- case "cccc":
35
- default:
36
- return o.day(e, { width: "wide", context: "standalone" }) || o.day(e, {
37
- width: "abbreviated",
38
- context: "standalone"
39
- }) || o.day(e, { width: "short", context: "standalone" }) || o.day(e, { width: "narrow", context: "standalone" });
40
- }
41
- }
42
- validate(e, a) {
43
- return a >= 0 && a <= 6;
44
- }
45
- set(e, a, o, n) {
46
- return e = d(e, o, n), e.setHours(0, 0, 0, 0), e;
47
- }
48
- incompatibleTokens = [
49
- "y",
50
- "R",
51
- "u",
52
- "q",
53
- "Q",
54
- "M",
55
- "L",
56
- "I",
57
- "d",
58
- "D",
59
- "E",
60
- "i",
61
- "e",
62
- "t",
63
- "T"
64
- ];
65
- }
66
- export {
67
- p as StandAloneLocalDayParser
68
- };
package/index201.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index177.js"),n=require("./index221.js"),i=require("./index222.js");class u extends n.Parser{priority=90;parse(r,e,t){const a=o=>o===0?7:o;switch(e){case"i":case"ii":return i.parseNDigits(e.length,r);case"io":return t.ordinalNumber(r,{unit:"day"});case"iii":return i.mapValue(t.day(r,{width:"abbreviated",context:"formatting"})||t.day(r,{width:"short",context:"formatting"})||t.day(r,{width:"narrow",context:"formatting"}),a);case"iiiii":return i.mapValue(t.day(r,{width:"narrow",context:"formatting"}),a);case"iiiiii":return i.mapValue(t.day(r,{width:"short",context:"formatting"})||t.day(r,{width:"narrow",context:"formatting"}),a);case"iiii":default:return i.mapValue(t.day(r,{width:"wide",context:"formatting"})||t.day(r,{width:"abbreviated",context:"formatting"})||t.day(r,{width:"short",context:"formatting"})||t.day(r,{width:"narrow",context:"formatting"}),a)}}validate(r,e){return e>=1&&e<=7}set(r,e,t){return r=s.setISODay(r,t),r.setHours(0,0,0,0),r}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}exports.ISODayParser=u;
package/index201.mjs DELETED
@@ -1,93 +0,0 @@
1
- import { setISODay as n } from "./index177.mjs";
2
- import { Parser as s } from "./index221.mjs";
3
- import { mapValue as e, parseNDigits as w } from "./index222.mjs";
4
- class c extends s {
5
- priority = 90;
6
- parse(r, t, i) {
7
- const o = (a) => a === 0 ? 7 : a;
8
- switch (t) {
9
- case "i":
10
- case "ii":
11
- return w(t.length, r);
12
- case "io":
13
- return i.ordinalNumber(r, { unit: "day" });
14
- case "iii":
15
- return e(
16
- i.day(r, {
17
- width: "abbreviated",
18
- context: "formatting"
19
- }) || i.day(r, {
20
- width: "short",
21
- context: "formatting"
22
- }) || i.day(r, {
23
- width: "narrow",
24
- context: "formatting"
25
- }),
26
- o
27
- );
28
- case "iiiii":
29
- return e(
30
- i.day(r, {
31
- width: "narrow",
32
- context: "formatting"
33
- }),
34
- o
35
- );
36
- case "iiiiii":
37
- return e(
38
- i.day(r, {
39
- width: "short",
40
- context: "formatting"
41
- }) || i.day(r, {
42
- width: "narrow",
43
- context: "formatting"
44
- }),
45
- o
46
- );
47
- case "iiii":
48
- default:
49
- return e(
50
- i.day(r, {
51
- width: "wide",
52
- context: "formatting"
53
- }) || i.day(r, {
54
- width: "abbreviated",
55
- context: "formatting"
56
- }) || i.day(r, {
57
- width: "short",
58
- context: "formatting"
59
- }) || i.day(r, {
60
- width: "narrow",
61
- context: "formatting"
62
- }),
63
- o
64
- );
65
- }
66
- }
67
- validate(r, t) {
68
- return t >= 1 && t <= 7;
69
- }
70
- set(r, t, i) {
71
- return r = n(r, i), r.setHours(0, 0, 0, 0), r;
72
- }
73
- incompatibleTokens = [
74
- "y",
75
- "Y",
76
- "u",
77
- "q",
78
- "Q",
79
- "M",
80
- "L",
81
- "w",
82
- "d",
83
- "D",
84
- "E",
85
- "e",
86
- "c",
87
- "t",
88
- "T"
89
- ];
90
- }
91
- export {
92
- c as ISODayParser
93
- };
package/index202.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index221.js"),o=require("./index222.js");class i extends t.Parser{priority=80;parse(r,a,e){switch(a){case"a":case"aa":case"aaa":return e.dayPeriod(r,{width:"abbreviated",context:"formatting"})||e.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaaa":return e.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return e.dayPeriod(r,{width:"wide",context:"formatting"})||e.dayPeriod(r,{width:"abbreviated",context:"formatting"})||e.dayPeriod(r,{width:"narrow",context:"formatting"})}}set(r,a,e){return r.setHours(o.dayPeriodEnumToHours(e),0,0,0),r}incompatibleTokens=["b","B","H","k","t","T"]}exports.AMPMParser=i;
package/index202.mjs DELETED
@@ -1,43 +0,0 @@
1
- import { Parser as e } from "./index221.mjs";
2
- import { dayPeriodEnumToHours as t } from "./index222.mjs";
3
- class s extends e {
4
- priority = 80;
5
- parse(r, o, a) {
6
- switch (o) {
7
- case "a":
8
- case "aa":
9
- case "aaa":
10
- return a.dayPeriod(r, {
11
- width: "abbreviated",
12
- context: "formatting"
13
- }) || a.dayPeriod(r, {
14
- width: "narrow",
15
- context: "formatting"
16
- });
17
- case "aaaaa":
18
- return a.dayPeriod(r, {
19
- width: "narrow",
20
- context: "formatting"
21
- });
22
- case "aaaa":
23
- default:
24
- return a.dayPeriod(r, {
25
- width: "wide",
26
- context: "formatting"
27
- }) || a.dayPeriod(r, {
28
- width: "abbreviated",
29
- context: "formatting"
30
- }) || a.dayPeriod(r, {
31
- width: "narrow",
32
- context: "formatting"
33
- });
34
- }
35
- }
36
- set(r, o, a) {
37
- return r.setHours(t(a), 0, 0, 0), r;
38
- }
39
- incompatibleTokens = ["b", "B", "H", "k", "t", "T"];
40
- }
41
- export {
42
- s as AMPMParser
43
- };
package/index203.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index221.js"),i=require("./index222.js");class a extends o.Parser{priority=80;parse(r,t,e){switch(t){case"b":case"bb":case"bbb":return e.dayPeriod(r,{width:"abbreviated",context:"formatting"})||e.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbbb":return e.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return e.dayPeriod(r,{width:"wide",context:"formatting"})||e.dayPeriod(r,{width:"abbreviated",context:"formatting"})||e.dayPeriod(r,{width:"narrow",context:"formatting"})}}set(r,t,e){return r.setHours(i.dayPeriodEnumToHours(e),0,0,0),r}incompatibleTokens=["a","B","H","k","t","T"]}exports.AMPMMidnightParser=a;
package/index203.mjs DELETED
@@ -1,43 +0,0 @@
1
- import { Parser as t } from "./index221.mjs";
2
- import { dayPeriodEnumToHours as i } from "./index222.mjs";
3
- class n extends t {
4
- priority = 80;
5
- parse(r, e, o) {
6
- switch (e) {
7
- case "b":
8
- case "bb":
9
- case "bbb":
10
- return o.dayPeriod(r, {
11
- width: "abbreviated",
12
- context: "formatting"
13
- }) || o.dayPeriod(r, {
14
- width: "narrow",
15
- context: "formatting"
16
- });
17
- case "bbbbb":
18
- return o.dayPeriod(r, {
19
- width: "narrow",
20
- context: "formatting"
21
- });
22
- case "bbbb":
23
- default:
24
- return o.dayPeriod(r, {
25
- width: "wide",
26
- context: "formatting"
27
- }) || o.dayPeriod(r, {
28
- width: "abbreviated",
29
- context: "formatting"
30
- }) || o.dayPeriod(r, {
31
- width: "narrow",
32
- context: "formatting"
33
- });
34
- }
35
- }
36
- set(r, e, o) {
37
- return r.setHours(i(o), 0, 0, 0), r;
38
- }
39
- incompatibleTokens = ["a", "B", "H", "k", "t", "T"];
40
- }
41
- export {
42
- n as AMPMMidnightParser
43
- };
package/index204.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index221.js"),i=require("./index222.js");class a extends o.Parser{priority=80;parse(r,t,e){switch(t){case"B":case"BB":case"BBB":return e.dayPeriod(r,{width:"abbreviated",context:"formatting"})||e.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBBB":return e.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return e.dayPeriod(r,{width:"wide",context:"formatting"})||e.dayPeriod(r,{width:"abbreviated",context:"formatting"})||e.dayPeriod(r,{width:"narrow",context:"formatting"})}}set(r,t,e){return r.setHours(i.dayPeriodEnumToHours(e),0,0,0),r}incompatibleTokens=["a","b","t","T"]}exports.DayPeriodParser=a;
package/index204.mjs DELETED
@@ -1,43 +0,0 @@
1
- import { Parser as t } from "./index221.mjs";
2
- import { dayPeriodEnumToHours as i } from "./index222.mjs";
3
- class s extends t {
4
- priority = 80;
5
- parse(r, e, o) {
6
- switch (e) {
7
- case "B":
8
- case "BB":
9
- case "BBB":
10
- return o.dayPeriod(r, {
11
- width: "abbreviated",
12
- context: "formatting"
13
- }) || o.dayPeriod(r, {
14
- width: "narrow",
15
- context: "formatting"
16
- });
17
- case "BBBBB":
18
- return o.dayPeriod(r, {
19
- width: "narrow",
20
- context: "formatting"
21
- });
22
- case "BBBB":
23
- default:
24
- return o.dayPeriod(r, {
25
- width: "wide",
26
- context: "formatting"
27
- }) || o.dayPeriod(r, {
28
- width: "abbreviated",
29
- context: "formatting"
30
- }) || o.dayPeriod(r, {
31
- width: "narrow",
32
- context: "formatting"
33
- });
34
- }
35
- }
36
- set(r, e, o) {
37
- return r.setHours(i(o), 0, 0, 0), r;
38
- }
39
- incompatibleTokens = ["a", "b", "t", "T"];
40
- }
41
- export {
42
- s as DayPeriodParser
43
- };
package/index205.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index223.js"),i=require("./index221.js"),o=require("./index222.js");class n extends i.Parser{priority=70;parse(r,e,s){switch(e){case"h":return o.parseNumericPattern(u.numericPatterns.hour12h,r);case"ho":return s.ordinalNumber(r,{unit:"hour"});default:return o.parseNDigits(e.length,r)}}validate(r,e){return e>=1&&e<=12}set(r,e,s){const t=r.getHours()>=12;return t&&s<12?r.setHours(s+12,0,0,0):!t&&s===12?r.setHours(0,0,0,0):r.setHours(s,0,0,0),r}incompatibleTokens=["H","K","k","t","T"]}exports.Hour1to12Parser=n;
package/index205.mjs DELETED
@@ -1,27 +0,0 @@
1
- import { numericPatterns as o } from "./index223.mjs";
2
- import { Parser as i } from "./index221.mjs";
3
- import { parseNDigits as u, parseNumericPattern as n } from "./index222.mjs";
4
- class f extends i {
5
- priority = 70;
6
- parse(r, s, e) {
7
- switch (s) {
8
- case "h":
9
- return n(o.hour12h, r);
10
- case "ho":
11
- return e.ordinalNumber(r, { unit: "hour" });
12
- default:
13
- return u(s.length, r);
14
- }
15
- }
16
- validate(r, s) {
17
- return s >= 1 && s <= 12;
18
- }
19
- set(r, s, e) {
20
- const t = r.getHours() >= 12;
21
- return t && e < 12 ? r.setHours(e + 12, 0, 0, 0) : !t && e === 12 ? r.setHours(0, 0, 0, 0) : r.setHours(e, 0, 0, 0), r;
22
- }
23
- incompatibleTokens = ["H", "K", "k", "t", "T"];
24
- }
25
- export {
26
- f as Hour1to12Parser
27
- };
package/index206.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index223.js"),a=require("./index221.js"),s=require("./index222.js");class o extends a.Parser{priority=70;parse(r,e,t){switch(e){case"H":return s.parseNumericPattern(u.numericPatterns.hour23h,r);case"Ho":return t.ordinalNumber(r,{unit:"hour"});default:return s.parseNDigits(e.length,r)}}validate(r,e){return e>=0&&e<=23}set(r,e,t){return r.setHours(t,0,0,0),r}incompatibleTokens=["a","b","h","K","k","t","T"]}exports.Hour0to23Parser=o;