@a-ui/react 7.13.0-beta.6 → 7.13.0-beta.8

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 (450) hide show
  1. package/cjs/index10.js +1 -1
  2. package/cjs/index100.js +1 -1
  3. package/cjs/index101.js +1 -1
  4. package/cjs/index102.js +1 -1
  5. package/cjs/index103.js +1 -1
  6. package/cjs/index104.js +1 -1
  7. package/cjs/index105.js +1 -1
  8. package/cjs/index106.js +1 -1
  9. package/cjs/index107.js +1 -1
  10. package/cjs/index108.js +1 -1
  11. package/cjs/index109.js +1 -1
  12. package/cjs/index11.js +1 -1
  13. package/cjs/index110.js +1 -1
  14. package/cjs/index111.js +1 -1
  15. package/cjs/index112.js +1 -1
  16. package/cjs/index113.js +1 -1
  17. package/cjs/index114.js +1 -2
  18. package/cjs/index115.js +1 -1
  19. package/cjs/index116.js +1 -1
  20. package/cjs/index117.js +1 -1
  21. package/cjs/index118.js +1 -1
  22. package/cjs/index119.js +1 -10
  23. package/cjs/index12.js +1 -1
  24. package/cjs/index120.js +1 -1
  25. package/cjs/index121.js +1 -1
  26. package/cjs/index122.js +1 -1
  27. package/cjs/index123.js +1 -1
  28. package/cjs/index124.js +1 -1
  29. package/cjs/index125.js +1 -1
  30. package/cjs/index126.js +1 -5
  31. package/cjs/index127.js +1 -9
  32. package/cjs/index128.js +1 -1
  33. package/cjs/index129.js +1 -1
  34. package/cjs/index13.js +1 -1
  35. package/cjs/index130.js +1 -1
  36. package/cjs/index131.js +1 -1
  37. package/cjs/index132.js +1 -1
  38. package/cjs/index133.js +1 -1
  39. package/cjs/index134.js +1 -1
  40. package/cjs/index135.js +1 -1
  41. package/cjs/index136.js +1 -1
  42. package/cjs/index137.js +1 -1
  43. package/cjs/index138.js +1 -8
  44. package/cjs/index139.js +1 -8
  45. package/cjs/index14.js +1 -1
  46. package/cjs/index140.js +1 -5
  47. package/cjs/index141.js +1 -1
  48. package/cjs/index142.js +1 -1
  49. package/cjs/index143.js +1 -1
  50. package/cjs/index145.js +1 -11
  51. package/cjs/index146.js +1 -1
  52. package/cjs/index147.js +1 -1
  53. package/cjs/index148.js +1 -1
  54. package/cjs/index149.js +1 -1
  55. package/cjs/index150.js +1 -1
  56. package/cjs/index151.js +1 -1
  57. package/cjs/index152.js +1 -1
  58. package/cjs/index153.js +1 -1
  59. package/cjs/index154.js +1 -1
  60. package/cjs/index155.js +1 -1
  61. package/cjs/index156.js +1 -1
  62. package/cjs/index157.js +1 -1
  63. package/cjs/index158.js +1 -1
  64. package/cjs/index159.js +1 -1
  65. package/cjs/index16.js +1 -1
  66. package/cjs/index160.js +1 -1
  67. package/cjs/index161.js +1 -1
  68. package/cjs/index162.js +1 -1
  69. package/cjs/index163.js +1 -1
  70. package/cjs/index164.js +1 -1
  71. package/cjs/index165.js +1 -1
  72. package/cjs/index166.js +1 -1
  73. package/cjs/index167.js +1 -1
  74. package/cjs/index168.js +1 -1
  75. package/cjs/index169.js +1 -1
  76. package/cjs/index17.js +1 -1
  77. package/cjs/index170.js +1 -1
  78. package/cjs/index171.js +1 -1
  79. package/cjs/index172.js +1 -1
  80. package/cjs/index173.js +1 -1
  81. package/cjs/index174.js +1 -1
  82. package/cjs/index175.js +1 -1
  83. package/cjs/index176.js +1 -1
  84. package/cjs/index177.js +1 -1
  85. package/cjs/index178.js +1 -1
  86. package/cjs/index179.js +1 -1
  87. package/cjs/index18.js +1 -1
  88. package/cjs/index180.js +1 -1
  89. package/cjs/index181.js +1 -1
  90. package/cjs/index182.js +1 -1
  91. package/cjs/index183.js +1 -1
  92. package/cjs/index184.js +1 -1
  93. package/cjs/index185.js +1 -1
  94. package/cjs/index186.js +1 -1
  95. package/cjs/index187.js +1 -1
  96. package/cjs/index188.js +1 -1
  97. package/cjs/index189.js +1 -1
  98. package/cjs/index190.js +1 -1
  99. package/cjs/index191.js +1 -1
  100. package/cjs/index192.js +1 -1
  101. package/cjs/index193.js +1 -1
  102. package/cjs/index194.js +1 -1
  103. package/cjs/index195.js +1 -1
  104. package/cjs/index196.js +2 -1
  105. package/cjs/index197.js +1 -1
  106. package/cjs/index198.js +1 -1
  107. package/cjs/index199.js +1 -1
  108. package/cjs/index2.js +1 -1
  109. package/cjs/index20.js +1 -1
  110. package/cjs/index200.js +1 -1
  111. package/cjs/index201.js +10 -1
  112. package/cjs/index202.js +1 -1
  113. package/cjs/index203.js +1 -1
  114. package/cjs/index204.js +1 -1
  115. package/cjs/index205.js +1 -1
  116. package/cjs/index206.js +1 -1
  117. package/cjs/index207.js +1 -1
  118. package/cjs/index208.js +5 -1
  119. package/cjs/index209.js +9 -1
  120. package/cjs/index21.js +1 -1
  121. package/cjs/index210.js +1 -1
  122. package/cjs/index211.js +1 -1
  123. package/cjs/index212.js +1 -1
  124. package/cjs/index213.js +1 -1
  125. package/cjs/index214.js +1 -1
  126. package/cjs/index215.js +1 -1
  127. package/cjs/index216.js +1 -1
  128. package/cjs/index217.js +1 -1
  129. package/cjs/index218.js +1 -1
  130. package/cjs/index219.js +1 -1
  131. package/cjs/index22.js +1 -1
  132. package/cjs/index220.js +1 -1
  133. package/cjs/index221.js +1 -1
  134. package/cjs/index222.js +1 -1
  135. package/cjs/index223.js +8 -1
  136. package/cjs/index224.js +8 -1
  137. package/cjs/index225.js +5 -1
  138. package/cjs/index226.js +1 -1
  139. package/cjs/index227.js +1 -1
  140. package/cjs/index228.js +1 -1
  141. package/cjs/index229.js +11 -1
  142. package/cjs/index230.js +1 -1
  143. package/cjs/index231.js +1 -1
  144. package/cjs/index232.js +1 -1
  145. package/cjs/index233.js +1 -1
  146. package/cjs/index234.js +1 -1
  147. package/cjs/index235.js +1 -1
  148. package/cjs/index24.js +1 -1
  149. package/cjs/index25.js +1 -1
  150. package/cjs/index26.js +1 -1
  151. package/cjs/index27.js +1 -1
  152. package/cjs/index28.js +1 -1
  153. package/cjs/index3.js +1 -1
  154. package/cjs/index30.js +1 -1
  155. package/cjs/index31.js +1 -1
  156. package/cjs/index32.js +1 -1
  157. package/cjs/index33.js +1 -1
  158. package/cjs/index34.js +1 -1
  159. package/cjs/index36.js +1 -1
  160. package/cjs/index37.js +1 -1
  161. package/cjs/index38.js +1 -1
  162. package/cjs/index39.js +1 -1
  163. package/cjs/index4.js +1 -1
  164. package/cjs/index40.js +1 -1
  165. package/cjs/index41.js +1 -1
  166. package/cjs/index42.js +1 -1
  167. package/cjs/index43.js +1 -1
  168. package/cjs/index44.js +1 -1
  169. package/cjs/index45.js +1 -1
  170. package/cjs/index46.js +1 -1
  171. package/cjs/index47.js +1 -1
  172. package/cjs/index48.js +1 -1
  173. package/cjs/index49.js +1 -1
  174. package/cjs/index50.js +1 -1
  175. package/cjs/index51.js +7 -1
  176. package/cjs/index52.js +1 -1
  177. package/cjs/index53.js +1 -1
  178. package/cjs/index54.js +1 -1
  179. package/cjs/index55.js +1 -1
  180. package/cjs/index56.js +1 -1
  181. package/cjs/index57.js +1 -1
  182. package/cjs/index58.js +1 -1
  183. package/cjs/index59.js +1 -1
  184. package/cjs/index6.js +1 -1
  185. package/cjs/index60.js +1 -1
  186. package/cjs/index61.js +1 -7
  187. package/cjs/index62.js +1 -1
  188. package/cjs/index63.js +1 -1
  189. package/cjs/index64.js +1 -1
  190. package/cjs/index65.js +1 -1
  191. package/cjs/index66.js +1 -1
  192. package/cjs/index67.js +1 -1
  193. package/cjs/index68.js +1 -1
  194. package/cjs/index69.js +1 -1
  195. package/cjs/index70.js +1 -1
  196. package/cjs/index71.js +1 -1
  197. package/cjs/index72.js +1 -1
  198. package/cjs/index73.js +1 -1
  199. package/cjs/index74.js +1 -1
  200. package/cjs/index75.js +1 -1
  201. package/cjs/index76.js +1 -1
  202. package/cjs/index77.js +1 -1
  203. package/cjs/index78.js +1 -1
  204. package/cjs/index79.js +1 -1
  205. package/cjs/index8.js +1 -1
  206. package/cjs/index80.js +1 -1
  207. package/cjs/index81.js +1 -1
  208. package/cjs/index82.js +1 -1
  209. package/cjs/index83.js +1 -1
  210. package/cjs/index84.js +1 -1
  211. package/cjs/index85.js +1 -1
  212. package/cjs/index86.js +1 -1
  213. package/cjs/index87.js +1 -1
  214. package/cjs/index88.js +1 -1
  215. package/cjs/index89.js +1 -1
  216. package/cjs/index9.js +1 -1
  217. package/cjs/index90.js +1 -1
  218. package/cjs/index91.js +1 -1
  219. package/cjs/index94.js +1 -1
  220. package/cjs/index95.js +1 -1
  221. package/cjs/index96.js +1 -1
  222. package/cjs/index97.js +1 -1
  223. package/cjs/index98.js +1 -1
  224. package/cjs/index99.js +1 -1
  225. package/es/index10.mjs +4 -4
  226. package/es/index100.mjs +6 -4
  227. package/es/index101.mjs +6 -11
  228. package/es/index102.mjs +6 -247
  229. package/es/index103.mjs +4 -88
  230. package/es/index104.mjs +6 -14
  231. package/es/index105.mjs +7 -4
  232. package/es/index106.mjs +5 -2
  233. package/es/index107.mjs +67 -2
  234. package/es/index108.mjs +3 -2
  235. package/es/index109.mjs +4 -390
  236. package/es/index11.mjs +1 -1
  237. package/es/index110.mjs +10 -124
  238. package/es/index111.mjs +4 -133
  239. package/es/index112.mjs +5 -2
  240. package/es/index113.mjs +7 -8
  241. package/es/index114.mjs +12 -326
  242. package/es/index115.mjs +15 -49
  243. package/es/index116.mjs +9 -2
  244. package/es/index117.mjs +5 -64
  245. package/es/index118.mjs +6 -43
  246. package/es/index119.mjs +4 -59
  247. package/es/index12.mjs +14 -14
  248. package/es/index120.mjs +512 -43
  249. package/es/index121.mjs +47 -37
  250. package/es/index122.mjs +18 -2
  251. package/es/index123.mjs +18 -2
  252. package/es/index124.mjs +5 -2
  253. package/es/index125.mjs +7 -30
  254. package/es/index126.mjs +6 -19
  255. package/es/index127.mjs +4 -60
  256. package/es/index128.mjs +5 -62
  257. package/es/index129.mjs +8 -13
  258. package/es/index13.mjs +2 -2
  259. package/es/index130.mjs +4 -6
  260. package/es/index131.mjs +7 -6
  261. package/es/index132.mjs +11 -5
  262. package/es/index133.mjs +8 -5
  263. package/es/index134.mjs +8 -4
  264. package/es/index135.mjs +12 -6
  265. package/es/index136.mjs +3 -4
  266. package/es/index137.mjs +33 -2
  267. package/es/index138.mjs +65 -76
  268. package/es/index139.mjs +7 -92
  269. package/es/index14.mjs +3 -3
  270. package/es/index140.mjs +7 -51
  271. package/es/index141.mjs +6 -7
  272. package/es/index142.mjs +6 -4
  273. package/es/index143.mjs +13 -51
  274. package/es/index145.mjs +230 -53
  275. package/es/index146.mjs +2 -2
  276. package/es/index147.mjs +57 -2
  277. package/es/index148.mjs +21 -4
  278. package/es/index149.mjs +40 -4
  279. package/es/index150.mjs +61 -7
  280. package/es/index151.mjs +31 -12
  281. package/es/index152.mjs +12 -15
  282. package/es/index153.mjs +61 -8
  283. package/es/index154.mjs +61 -5
  284. package/es/index155.mjs +62 -5
  285. package/es/index156.mjs +62 -4
  286. package/es/index157.mjs +37 -510
  287. package/es/index158.mjs +38 -47
  288. package/es/index159.mjs +52 -17
  289. package/es/index16.mjs +1 -1
  290. package/es/index160.mjs +42 -17
  291. package/es/index161.mjs +36 -4
  292. package/es/index162.mjs +65 -7
  293. package/es/index163.mjs +65 -5
  294. package/es/index164.mjs +90 -4
  295. package/es/index165.mjs +40 -5
  296. package/es/index166.mjs +40 -8
  297. package/es/index167.mjs +40 -4
  298. package/es/index168.mjs +24 -7
  299. package/es/index169.mjs +23 -11
  300. package/es/index17.mjs +4 -4
  301. package/es/index170.mjs +23 -8
  302. package/es/index171.mjs +24 -8
  303. package/es/index172.mjs +23 -12
  304. package/es/index173.mjs +23 -3
  305. package/es/index174.mjs +11 -30
  306. package/es/index175.mjs +40 -65
  307. package/es/index176.mjs +39 -7
  308. package/es/index177.mjs +13 -7
  309. package/es/index178.mjs +13 -6
  310. package/es/index179.mjs +11 -7
  311. package/es/index18.mjs +8 -8
  312. package/es/index180.mjs +247 -14
  313. package/es/index181.mjs +89 -2
  314. package/es/index182.mjs +15 -4
  315. package/es/index183.mjs +4 -2
  316. package/es/index184.mjs +2 -57
  317. package/es/index185.mjs +2 -22
  318. package/es/index186.mjs +67 -40
  319. package/es/index187.mjs +31 -61
  320. package/es/index188.mjs +9 -32
  321. package/es/index189.mjs +151 -11
  322. package/es/index190.mjs +107 -61
  323. package/es/index191.mjs +17 -59
  324. package/es/index192.mjs +97 -59
  325. package/es/index193.mjs +47 -63
  326. package/es/index194.mjs +2 -40
  327. package/es/index195.mjs +7 -40
  328. package/es/index196.mjs +324 -50
  329. package/es/index197.mjs +47 -40
  330. package/es/index198.mjs +2 -37
  331. package/es/index199.mjs +62 -63
  332. package/es/index2.mjs +1 -1
  333. package/es/index20.mjs +2 -2
  334. package/es/index200.mjs +40 -63
  335. package/es/index201.mjs +58 -89
  336. package/es/index202.mjs +44 -41
  337. package/es/index203.mjs +37 -38
  338. package/es/index204.mjs +2 -41
  339. package/es/index205.mjs +2 -25
  340. package/es/index206.mjs +2 -24
  341. package/es/index207.mjs +29 -22
  342. package/es/index208.mjs +19 -25
  343. package/es/index209.mjs +57 -20
  344. package/es/index21.mjs +1 -1
  345. package/es/index210.mjs +67 -23
  346. package/es/index211.mjs +31 -14
  347. package/es/index212.mjs +9 -40
  348. package/es/index213.mjs +107 -39
  349. package/es/index214.mjs +106 -13
  350. package/es/index215.mjs +58 -13
  351. package/es/index216.mjs +9 -68
  352. package/es/index217.mjs +20 -31
  353. package/es/index218.mjs +7 -9
  354. package/es/index219.mjs +15 -152
  355. package/es/index22.mjs +1 -1
  356. package/es/index220.mjs +29 -108
  357. package/es/index221.mjs +12 -19
  358. package/es/index222.mjs +2 -101
  359. package/es/index223.mjs +76 -47
  360. package/es/index224.mjs +93 -68
  361. package/es/index225.mjs +52 -31
  362. package/es/index226.mjs +8 -9
  363. package/es/index227.mjs +5 -108
  364. package/es/index228.mjs +51 -106
  365. package/es/index229.mjs +58 -59
  366. package/es/index230.mjs +2 -9
  367. package/es/index231.mjs +2 -20
  368. package/es/index232.mjs +2 -7
  369. package/es/index233.mjs +2 -16
  370. package/es/index234.mjs +2 -29
  371. package/es/index235.mjs +2 -13
  372. package/es/index24.mjs +4 -4
  373. package/es/index25.mjs +2 -2
  374. package/es/index26.mjs +1 -1
  375. package/es/index27.mjs +1 -1
  376. package/es/index28.mjs +1 -1
  377. package/es/index3.mjs +1 -1
  378. package/es/index30.mjs +40 -38
  379. package/es/index31.mjs +2 -2
  380. package/es/index32.mjs +2 -2
  381. package/es/index33.mjs +3 -3
  382. package/es/index34.mjs +1 -1
  383. package/es/index36.mjs +3 -3
  384. package/es/index37.mjs +3 -3
  385. package/es/index38.mjs +3 -3
  386. package/es/index39.mjs +3 -3
  387. package/es/index4.mjs +2 -2
  388. package/es/index40.mjs +2 -2
  389. package/es/index41.mjs +1 -1
  390. package/es/index42.mjs +4 -4
  391. package/es/index43.mjs +1 -1
  392. package/es/index44.mjs +2 -2
  393. package/es/index45.mjs +3 -3
  394. package/es/index46.mjs +3 -3
  395. package/es/index47.mjs +2 -2
  396. package/es/index48.mjs +1 -1
  397. package/es/index49.mjs +2 -2
  398. package/es/index50.mjs +1 -1
  399. package/es/index51.mjs +409 -11
  400. package/es/index52.mjs +11 -8
  401. package/es/index53.mjs +28 -21
  402. package/es/index54.mjs +47 -6
  403. package/es/index55.mjs +8 -28
  404. package/es/index56.mjs +27 -46
  405. package/es/index57.mjs +6 -47
  406. package/es/index58.mjs +11 -30
  407. package/es/index59.mjs +21 -17
  408. package/es/index6.mjs +3 -3
  409. package/es/index60.mjs +30 -29
  410. package/es/index61.mjs +13 -408
  411. package/es/index62.mjs +57 -27
  412. package/es/index63.mjs +47 -36
  413. package/es/index64.mjs +59 -17
  414. package/es/index65.mjs +61 -34
  415. package/es/index66.mjs +60 -2
  416. package/es/index67.mjs +27 -72
  417. package/es/index68.mjs +2 -29
  418. package/es/index69.mjs +73 -35
  419. package/es/index70.mjs +28 -3
  420. package/es/index71.mjs +34 -33
  421. package/es/index72.mjs +3 -4
  422. package/es/index73.mjs +34 -4
  423. package/es/index74.mjs +4 -4
  424. package/es/index75.mjs +4 -4
  425. package/es/index76.mjs +4 -4
  426. package/es/index77.mjs +4 -16
  427. package/es/index78.mjs +4 -84
  428. package/es/index79.mjs +16 -5
  429. package/es/index8.mjs +3 -3
  430. package/es/index80.mjs +82 -22
  431. package/es/index81.mjs +5 -54
  432. package/es/index82.mjs +22 -82
  433. package/es/index83.mjs +54 -4
  434. package/es/index84.mjs +21 -115
  435. package/es/index85.mjs +4 -61
  436. package/es/index86.mjs +117 -58
  437. package/es/index87.mjs +17 -14
  438. package/es/index88.mjs +117 -57
  439. package/es/index89.mjs +5 -5
  440. package/es/index9.mjs +1 -1
  441. package/es/index90.mjs +3 -3
  442. package/es/index91.mjs +1 -1
  443. package/es/index93.mjs +2 -2
  444. package/es/index94.mjs +380 -224
  445. package/es/index95.mjs +125 -2
  446. package/es/index96.mjs +130 -63
  447. package/es/index97.mjs +63 -3
  448. package/es/index98.mjs +13 -4
  449. package/es/index99.mjs +6 -10
  450. package/package.json +1 -1
package/es/index193.mjs CHANGED
@@ -1,65 +1,49 @@
1
- import { numericPatterns as a } from "./index223.mjs";
2
- import { Parser as i } from "./index221.mjs";
3
- import { mapValue as r, parseNDigits as l, parseNumericPattern as L } from "./index222.mjs";
4
- class d extends i {
5
- priority = 110;
6
- parse(e, n, t) {
7
- const o = (s) => s - 1;
8
- switch (n) {
9
- case "L":
10
- return r(
11
- L(a.month, e),
12
- o
13
- );
14
- case "LL":
15
- return r(l(2, e), o);
16
- case "Lo":
17
- return r(
18
- t.ordinalNumber(e, {
19
- unit: "month"
20
- }),
21
- o
22
- );
23
- case "LLL":
24
- return t.month(e, {
25
- width: "abbreviated",
26
- context: "standalone"
27
- }) || t.month(e, { width: "narrow", context: "standalone" });
28
- case "LLLLL":
29
- return t.month(e, {
30
- width: "narrow",
31
- context: "standalone"
32
- });
33
- case "LLLL":
34
- default:
35
- return t.month(e, { width: "wide", context: "standalone" }) || t.month(e, {
36
- width: "abbreviated",
37
- context: "standalone"
38
- }) || t.month(e, { width: "narrow", context: "standalone" });
39
- }
40
- }
41
- validate(e, n) {
42
- return n >= 0 && n <= 11;
43
- }
44
- set(e, n, t) {
45
- return e.setMonth(t, 1), e.setHours(0, 0, 0, 0), e;
46
- }
47
- incompatibleTokens = [
48
- "Y",
49
- "R",
50
- "q",
51
- "Q",
52
- "M",
53
- "w",
54
- "I",
55
- "D",
56
- "i",
57
- "e",
58
- "c",
59
- "t",
60
- "T"
61
- ];
62
- }
1
+ const d = {
2
+ month: /^(1[0-2]|0?\d)/,
3
+ // 0 to 12
4
+ date: /^(3[0-1]|[0-2]?\d)/,
5
+ // 0 to 31
6
+ dayOfYear: /^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,
7
+ // 0 to 366
8
+ week: /^(5[0-3]|[0-4]?\d)/,
9
+ // 0 to 53
10
+ hour23h: /^(2[0-3]|[0-1]?\d)/,
11
+ // 0 to 23
12
+ hour24h: /^(2[0-4]|[0-1]?\d)/,
13
+ // 0 to 24
14
+ hour11h: /^(1[0-1]|0?\d)/,
15
+ // 0 to 11
16
+ hour12h: /^(1[0-2]|0?\d)/,
17
+ // 0 to 12
18
+ minute: /^[0-5]?\d/,
19
+ // 0 to 59
20
+ second: /^[0-5]?\d/,
21
+ // 0 to 59
22
+ singleDigit: /^\d/,
23
+ // 0 to 9
24
+ twoDigits: /^\d{1,2}/,
25
+ // 0 to 99
26
+ threeDigits: /^\d{1,3}/,
27
+ // 0 to 999
28
+ fourDigits: /^\d{1,4}/,
29
+ // 0 to 9999
30
+ anyDigitsSigned: /^-?\d+/,
31
+ singleDigitSigned: /^-?\d/,
32
+ // 0 to 9, -0 to -9
33
+ twoDigitsSigned: /^-?\d{1,2}/,
34
+ // 0 to 99, -0 to -99
35
+ threeDigitsSigned: /^-?\d{1,3}/,
36
+ // 0 to 999, -0 to -999
37
+ fourDigitsSigned: /^-?\d{1,4}/
38
+ // 0 to 9999, -0 to -9999
39
+ }, i = {
40
+ basicOptionalMinutes: /^([+-])(\d{2})(\d{2})?|Z/,
41
+ basic: /^([+-])(\d{2})(\d{2})|Z/,
42
+ basicOptionalSeconds: /^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,
43
+ extended: /^([+-])(\d{2}):(\d{2})|Z/,
44
+ extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/
45
+ };
63
46
  export {
64
- d as StandAloneMonthParser
47
+ d as numericPatterns,
48
+ i as timezonePatterns
65
49
  };
package/es/index194.mjs CHANGED
@@ -1,42 +1,4 @@
1
- import { setWeek as a } from "./index179.mjs";
2
- import { startOfWeek as i } from "./index131.mjs";
3
- import { numericPatterns as m } from "./index223.mjs";
4
- import { Parser as o } from "./index221.mjs";
5
- import { parseNDigits as n, parseNumericPattern as p } from "./index222.mjs";
6
- class d extends o {
7
- priority = 100;
8
- parse(r, e, t) {
9
- switch (e) {
10
- case "w":
11
- return p(m.week, r);
12
- case "wo":
13
- return t.ordinalNumber(r, { unit: "week" });
14
- default:
15
- return n(e.length, r);
16
- }
17
- }
18
- validate(r, e) {
19
- return e >= 1 && e <= 53;
20
- }
21
- set(r, e, t, s) {
22
- return i(a(r, t, s), s);
23
- }
24
- incompatibleTokens = [
25
- "y",
26
- "R",
27
- "u",
28
- "q",
29
- "Q",
30
- "M",
31
- "L",
32
- "I",
33
- "d",
34
- "D",
35
- "i",
36
- "t",
37
- "T"
38
- ];
39
- }
1
+ var p = { exports: {} };
40
2
  export {
41
- d as LocalWeekParser
3
+ p as __module
42
4
  };
package/es/index195.mjs CHANGED
@@ -1,43 +1,10 @@
1
- import { setISOWeek as s } from "./index178.mjs";
2
- import { startOfISOWeek as a } from "./index167.mjs";
3
- import { numericPatterns as i } from "./index223.mjs";
4
- import { Parser as o } from "./index221.mjs";
5
- import { parseNDigits as m, parseNumericPattern as n } from "./index222.mjs";
6
- class I extends o {
7
- priority = 100;
8
- parse(e, r, t) {
9
- switch (r) {
10
- case "I":
11
- return n(i.week, e);
12
- case "Io":
13
- return t.ordinalNumber(e, { unit: "week" });
14
- default:
15
- return m(r.length, e);
16
- }
17
- }
18
- validate(e, r) {
19
- return r >= 1 && r <= 53;
20
- }
21
- set(e, r, t) {
22
- return a(s(e, t));
23
- }
24
- incompatibleTokens = [
25
- "y",
26
- "Y",
27
- "u",
28
- "q",
29
- "Q",
30
- "M",
31
- "L",
32
- "w",
33
- "d",
34
- "D",
35
- "e",
36
- "c",
37
- "t",
38
- "T"
39
- ];
1
+ import { __module as e } from "./index222.mjs";
2
+ import { __require as o } from "./index223.mjs";
3
+ import { __require as t } from "./index224.mjs";
4
+ var r;
5
+ function p() {
6
+ return r ? e.exports : (r = 1, process.env.NODE_ENV === "production" ? e.exports = o() : e.exports = t(), e.exports);
40
7
  }
41
8
  export {
42
- I as ISOWeekParser
9
+ p as __require
43
10
  };
package/es/index196.mjs CHANGED
@@ -1,55 +1,329 @@
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);
1
+ import { __require as F } from "./index195.mjs";
2
+ import { __require as N } from "./index225.mjs";
3
+ import { __require as ee } from "./index226.mjs";
4
+ import { __require as re } from "./index227.mjs";
5
+ import { __require as ne } from "./index228.mjs";
6
+ var A, C;
7
+ function oe() {
8
+ if (C) return A;
9
+ C = 1;
10
+ var k = F(), W = N(), h = ee(), j = re(), R = ne(), T = function() {
11
+ };
12
+ process.env.NODE_ENV !== "production" && (T = function(x) {
13
+ var S = "Warning: " + x;
14
+ typeof console < "u" && console.error(S);
15
+ try {
16
+ throw new Error(S);
17
+ } catch {
29
18
  }
19
+ });
20
+ function E() {
21
+ return null;
30
22
  }
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
- ];
23
+ return A = function(x, S) {
24
+ var _ = typeof Symbol == "function" && Symbol.iterator, D = "@@iterator";
25
+ function m(e) {
26
+ var r = e && (_ && e[_] || e[D]);
27
+ if (typeof r == "function")
28
+ return r;
29
+ }
30
+ var P = "<<anonymous>>", w = {
31
+ array: p("array"),
32
+ bigint: p("bigint"),
33
+ bool: p("boolean"),
34
+ func: p("function"),
35
+ number: p("number"),
36
+ object: p("object"),
37
+ string: p("string"),
38
+ symbol: p("symbol"),
39
+ any: M(),
40
+ arrayOf: U,
41
+ element: B(),
42
+ elementType: J(),
43
+ instanceOf: z,
44
+ node: G(),
45
+ objectOf: H,
46
+ oneOf: L,
47
+ oneOfType: X,
48
+ shape: K,
49
+ exact: Q
50
+ };
51
+ function Y(e, r) {
52
+ return e === r ? e !== 0 || 1 / e === 1 / r : e !== e && r !== r;
53
+ }
54
+ function d(e, r) {
55
+ this.message = e, this.data = r && typeof r == "object" ? r : {}, this.stack = "";
56
+ }
57
+ d.prototype = Error.prototype;
58
+ function v(e) {
59
+ if (process.env.NODE_ENV !== "production")
60
+ var r = {}, u = 0;
61
+ function i(f, t, a, o, c, s, y) {
62
+ if (o = o || P, s = s || a, y !== h) {
63
+ if (S) {
64
+ var l = new Error(
65
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
66
+ );
67
+ throw l.name = "Invariant Violation", l;
68
+ } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
69
+ var b = o + ":" + a;
70
+ !r[b] && // Avoid spamming the console because they are often not actionable except for lib authors
71
+ u < 3 && (T(
72
+ "You are manually calling a React.PropTypes validation function for the `" + s + "` prop on `" + o + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
73
+ ), r[b] = !0, u++);
74
+ }
75
+ }
76
+ return t[a] == null ? f ? t[a] === null ? new d("The " + c + " `" + s + "` is marked as required " + ("in `" + o + "`, but its value is `null`.")) : new d("The " + c + " `" + s + "` is marked as required in " + ("`" + o + "`, but its value is `undefined`.")) : null : e(t, a, o, c, s);
77
+ }
78
+ var n = i.bind(null, !1);
79
+ return n.isRequired = i.bind(null, !0), n;
80
+ }
81
+ function p(e) {
82
+ function r(u, i, n, f, t, a) {
83
+ var o = u[i], c = g(o);
84
+ if (c !== e) {
85
+ var s = O(o);
86
+ return new d(
87
+ "Invalid " + f + " `" + t + "` of type " + ("`" + s + "` supplied to `" + n + "`, expected ") + ("`" + e + "`."),
88
+ { expectedType: e }
89
+ );
90
+ }
91
+ return null;
92
+ }
93
+ return v(r);
94
+ }
95
+ function M() {
96
+ return v(E);
97
+ }
98
+ function U(e) {
99
+ function r(u, i, n, f, t) {
100
+ if (typeof e != "function")
101
+ return new d("Property `" + t + "` of component `" + n + "` has invalid PropType notation inside arrayOf.");
102
+ var a = u[i];
103
+ if (!Array.isArray(a)) {
104
+ var o = g(a);
105
+ return new d("Invalid " + f + " `" + t + "` of type " + ("`" + o + "` supplied to `" + n + "`, expected an array."));
106
+ }
107
+ for (var c = 0; c < a.length; c++) {
108
+ var s = e(a, c, n, f, t + "[" + c + "]", h);
109
+ if (s instanceof Error)
110
+ return s;
111
+ }
112
+ return null;
113
+ }
114
+ return v(r);
115
+ }
116
+ function B() {
117
+ function e(r, u, i, n, f) {
118
+ var t = r[u];
119
+ if (!x(t)) {
120
+ var a = g(t);
121
+ return new d("Invalid " + n + " `" + f + "` of type " + ("`" + a + "` supplied to `" + i + "`, expected a single ReactElement."));
122
+ }
123
+ return null;
124
+ }
125
+ return v(e);
126
+ }
127
+ function J() {
128
+ function e(r, u, i, n, f) {
129
+ var t = r[u];
130
+ if (!k.isValidElementType(t)) {
131
+ var a = g(t);
132
+ return new d("Invalid " + n + " `" + f + "` of type " + ("`" + a + "` supplied to `" + i + "`, expected a single ReactElement type."));
133
+ }
134
+ return null;
135
+ }
136
+ return v(e);
137
+ }
138
+ function z(e) {
139
+ function r(u, i, n, f, t) {
140
+ if (!(u[i] instanceof e)) {
141
+ var a = e.name || P, o = V(u[i]);
142
+ return new d("Invalid " + f + " `" + t + "` of type " + ("`" + o + "` supplied to `" + n + "`, expected ") + ("instance of `" + a + "`."));
143
+ }
144
+ return null;
145
+ }
146
+ return v(r);
147
+ }
148
+ function L(e) {
149
+ if (!Array.isArray(e))
150
+ return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? T(
151
+ "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
152
+ ) : T("Invalid argument supplied to oneOf, expected an array.")), E;
153
+ function r(u, i, n, f, t) {
154
+ for (var a = u[i], o = 0; o < e.length; o++)
155
+ if (Y(a, e[o]))
156
+ return null;
157
+ var c = JSON.stringify(e, function(y, l) {
158
+ var b = O(l);
159
+ return b === "symbol" ? String(l) : l;
160
+ });
161
+ return new d("Invalid " + f + " `" + t + "` of value `" + String(a) + "` " + ("supplied to `" + n + "`, expected one of " + c + "."));
162
+ }
163
+ return v(r);
164
+ }
165
+ function H(e) {
166
+ function r(u, i, n, f, t) {
167
+ if (typeof e != "function")
168
+ return new d("Property `" + t + "` of component `" + n + "` has invalid PropType notation inside objectOf.");
169
+ var a = u[i], o = g(a);
170
+ if (o !== "object")
171
+ return new d("Invalid " + f + " `" + t + "` of type " + ("`" + o + "` supplied to `" + n + "`, expected an object."));
172
+ for (var c in a)
173
+ if (j(a, c)) {
174
+ var s = e(a, c, n, f, t + "." + c, h);
175
+ if (s instanceof Error)
176
+ return s;
177
+ }
178
+ return null;
179
+ }
180
+ return v(r);
181
+ }
182
+ function X(e) {
183
+ if (!Array.isArray(e))
184
+ return process.env.NODE_ENV !== "production" && T("Invalid argument supplied to oneOfType, expected an instance of array."), E;
185
+ for (var r = 0; r < e.length; r++) {
186
+ var u = e[r];
187
+ if (typeof u != "function")
188
+ return T(
189
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + $(u) + " at index " + r + "."
190
+ ), E;
191
+ }
192
+ function i(n, f, t, a, o) {
193
+ for (var c = [], s = 0; s < e.length; s++) {
194
+ var y = e[s], l = y(n, f, t, a, o, h);
195
+ if (l == null)
196
+ return null;
197
+ l.data && j(l.data, "expectedType") && c.push(l.data.expectedType);
198
+ }
199
+ var b = c.length > 0 ? ", expected one of type [" + c.join(", ") + "]" : "";
200
+ return new d("Invalid " + a + " `" + o + "` supplied to " + ("`" + t + "`" + b + "."));
201
+ }
202
+ return v(i);
203
+ }
204
+ function G() {
205
+ function e(r, u, i, n, f) {
206
+ return I(r[u]) ? null : new d("Invalid " + n + " `" + f + "` supplied to " + ("`" + i + "`, expected a ReactNode."));
207
+ }
208
+ return v(e);
209
+ }
210
+ function q(e, r, u, i, n) {
211
+ return new d(
212
+ (e || "React class") + ": " + r + " type `" + u + "." + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + n + "`."
213
+ );
214
+ }
215
+ function K(e) {
216
+ function r(u, i, n, f, t) {
217
+ var a = u[i], o = g(a);
218
+ if (o !== "object")
219
+ return new d("Invalid " + f + " `" + t + "` of type `" + o + "` " + ("supplied to `" + n + "`, expected `object`."));
220
+ for (var c in e) {
221
+ var s = e[c];
222
+ if (typeof s != "function")
223
+ return q(n, f, t, c, O(s));
224
+ var y = s(a, c, n, f, t + "." + c, h);
225
+ if (y)
226
+ return y;
227
+ }
228
+ return null;
229
+ }
230
+ return v(r);
231
+ }
232
+ function Q(e) {
233
+ function r(u, i, n, f, t) {
234
+ var a = u[i], o = g(a);
235
+ if (o !== "object")
236
+ return new d("Invalid " + f + " `" + t + "` of type `" + o + "` " + ("supplied to `" + n + "`, expected `object`."));
237
+ var c = W({}, u[i], e);
238
+ for (var s in c) {
239
+ var y = e[s];
240
+ if (j(e, s) && typeof y != "function")
241
+ return q(n, f, t, s, O(y));
242
+ if (!y)
243
+ return new d(
244
+ "Invalid " + f + " `" + t + "` key `" + s + "` supplied to `" + n + "`.\nBad object: " + JSON.stringify(u[i], null, " ") + `
245
+ Valid keys: ` + JSON.stringify(Object.keys(e), null, " ")
246
+ );
247
+ var l = y(a, s, n, f, t + "." + s, h);
248
+ if (l)
249
+ return l;
250
+ }
251
+ return null;
252
+ }
253
+ return v(r);
254
+ }
255
+ function I(e) {
256
+ switch (typeof e) {
257
+ case "number":
258
+ case "string":
259
+ case "undefined":
260
+ return !0;
261
+ case "boolean":
262
+ return !e;
263
+ case "object":
264
+ if (Array.isArray(e))
265
+ return e.every(I);
266
+ if (e === null || x(e))
267
+ return !0;
268
+ var r = m(e);
269
+ if (r) {
270
+ var u = r.call(e), i;
271
+ if (r !== e.entries) {
272
+ for (; !(i = u.next()).done; )
273
+ if (!I(i.value))
274
+ return !1;
275
+ } else
276
+ for (; !(i = u.next()).done; ) {
277
+ var n = i.value;
278
+ if (n && !I(n[1]))
279
+ return !1;
280
+ }
281
+ } else
282
+ return !1;
283
+ return !0;
284
+ default:
285
+ return !1;
286
+ }
287
+ }
288
+ function Z(e, r) {
289
+ return e === "symbol" ? !0 : r ? r["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && r instanceof Symbol : !1;
290
+ }
291
+ function g(e) {
292
+ var r = typeof e;
293
+ return Array.isArray(e) ? "array" : e instanceof RegExp ? "object" : Z(r, e) ? "symbol" : r;
294
+ }
295
+ function O(e) {
296
+ if (typeof e > "u" || e === null)
297
+ return "" + e;
298
+ var r = g(e);
299
+ if (r === "object") {
300
+ if (e instanceof Date)
301
+ return "date";
302
+ if (e instanceof RegExp)
303
+ return "regexp";
304
+ }
305
+ return r;
306
+ }
307
+ function $(e) {
308
+ var r = O(e);
309
+ switch (r) {
310
+ case "array":
311
+ case "object":
312
+ return "an " + r;
313
+ case "boolean":
314
+ case "date":
315
+ case "regexp":
316
+ return "a " + r;
317
+ default:
318
+ return r;
319
+ }
320
+ }
321
+ function V(e) {
322
+ return !e.constructor || !e.constructor.name ? P : e.constructor.name;
323
+ }
324
+ return w.checkPropTypes = R, w.resetWarningCache = R.resetWarningCache, w.PropTypes = w, w;
325
+ }, A;
52
326
  }
53
327
  export {
54
- f as DateParser
328
+ oe as __require
55
329
  };
package/es/index197.mjs CHANGED
@@ -1,45 +1,52 @@
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;
1
+ import { __require as u } from "./index226.mjs";
2
+ var o, p;
3
+ function g() {
4
+ if (p) return o;
5
+ p = 1;
6
+ var c = u();
7
+ function n() {
21
8
  }
22
- set(r, e, s) {
23
- return r.setMonth(0, s), r.setHours(0, 0, 0, 0), r;
9
+ function i() {
24
10
  }
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
- ];
11
+ return i.resetWarningCache = n, o = function() {
12
+ function e(h, y, m, f, l, s) {
13
+ if (s !== c) {
14
+ var a = new Error(
15
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
16
+ );
17
+ throw a.name = "Invariant Violation", a;
18
+ }
19
+ }
20
+ e.isRequired = e;
21
+ function r() {
22
+ return e;
23
+ }
24
+ var t = {
25
+ array: e,
26
+ bigint: e,
27
+ bool: e,
28
+ func: e,
29
+ number: e,
30
+ object: e,
31
+ string: e,
32
+ symbol: e,
33
+ any: e,
34
+ arrayOf: r,
35
+ element: e,
36
+ elementType: e,
37
+ instanceOf: r,
38
+ node: e,
39
+ objectOf: r,
40
+ oneOf: r,
41
+ oneOfType: r,
42
+ shape: r,
43
+ exact: r,
44
+ checkPropTypes: i,
45
+ resetWarningCache: n
46
+ };
47
+ return t.PropTypes = t, t;
48
+ }, o;
42
49
  }
43
50
  export {
44
- l as DayOfYearParser
51
+ g as __require
45
52
  };