mada-design-system 0.2.4 → 0.2.5

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 (600) hide show
  1. package/index.cjs10.js +1 -1
  2. package/index.cjs100.js +1 -1
  3. package/index.cjs101.js +1 -5
  4. package/index.cjs102.js +1 -1
  5. package/index.cjs103.js +1 -1
  6. package/index.cjs104.js +1 -1
  7. package/index.cjs105.js +1 -1
  8. package/index.cjs106.js +5 -1
  9. package/index.cjs107.js +1 -1
  10. package/index.cjs108.js +1 -1
  11. package/index.cjs109.js +1 -1
  12. package/index.cjs110.js +1 -1
  13. package/index.cjs111.js +1 -1
  14. package/index.cjs112.js +1 -1
  15. package/index.cjs113.js +1 -1
  16. package/index.cjs114.js +1 -4
  17. package/index.cjs115.js +1 -1
  18. package/index.cjs116.js +1 -2
  19. package/index.cjs117.js +1 -1
  20. package/index.cjs118.js +1 -2
  21. package/index.cjs119.js +1 -1
  22. package/index.cjs12.js +1 -1
  23. package/index.cjs120.js +2 -1
  24. package/index.cjs121.js +1 -1
  25. package/index.cjs122.js +2 -1
  26. package/index.cjs123.js +1 -1
  27. package/index.cjs124.js +1 -1
  28. package/index.cjs125.js +1 -1
  29. package/index.cjs126.js +1 -20
  30. package/index.cjs127.js +1 -1
  31. package/index.cjs128.js +1 -1
  32. package/index.cjs129.js +1 -1
  33. package/index.cjs13.js +1 -1
  34. package/index.cjs130.js +20 -1
  35. package/index.cjs131.js +1 -1
  36. package/index.cjs132.js +1 -1
  37. package/index.cjs133.js +1 -1
  38. package/index.cjs134.js +1 -1
  39. package/index.cjs135.js +1 -1
  40. package/index.cjs136.js +1 -1
  41. package/index.cjs137.js +1 -1
  42. package/index.cjs138.js +1 -1
  43. package/index.cjs139.js +1 -1
  44. package/index.cjs140.js +1 -1
  45. package/index.cjs141.js +1 -1
  46. package/index.cjs142.js +1 -1
  47. package/index.cjs143.js +1 -1
  48. package/index.cjs144.js +1 -1
  49. package/index.cjs145.js +1 -1
  50. package/index.cjs146.js +1 -1
  51. package/index.cjs147.js +1 -1
  52. package/index.cjs148.js +1 -1
  53. package/index.cjs149.js +1 -1
  54. package/index.cjs15.js +1 -1
  55. package/index.cjs150.js +1 -1
  56. package/index.cjs151.js +1 -1
  57. package/index.cjs152.js +1 -1
  58. package/index.cjs153.js +1 -1
  59. package/index.cjs154.js +1 -1
  60. package/index.cjs155.js +1 -1
  61. package/index.cjs156.js +1 -1
  62. package/index.cjs157.js +1 -1
  63. package/index.cjs158.js +1 -1
  64. package/index.cjs159.js +1 -1
  65. package/index.cjs160.js +1 -1
  66. package/index.cjs161.js +1 -1
  67. package/index.cjs162.js +1 -1
  68. package/index.cjs163.js +1 -1
  69. package/index.cjs164.js +1 -1
  70. package/index.cjs165.js +1 -1
  71. package/index.cjs166.js +1 -1
  72. package/index.cjs167.js +1 -1
  73. package/index.cjs168.js +1 -1
  74. package/index.cjs169.js +1 -1
  75. package/index.cjs17.js +1 -1
  76. package/index.cjs170.js +1 -1
  77. package/index.cjs171.js +1 -1
  78. package/index.cjs172.js +4 -1
  79. package/index.cjs173.js +1 -1
  80. package/index.cjs174.js +1 -1
  81. package/index.cjs175.js +1 -1
  82. package/index.cjs176.js +1 -1
  83. package/index.cjs177.js +1 -1
  84. package/index.cjs178.js +1 -1
  85. package/index.cjs179.js +1 -1
  86. package/index.cjs180.js +1 -1
  87. package/index.cjs181.js +1 -1
  88. package/index.cjs182.js +1 -1
  89. package/index.cjs183.js +1 -4
  90. package/index.cjs184.js +1 -1
  91. package/index.cjs185.js +1 -1
  92. package/index.cjs186.js +1 -1
  93. package/index.cjs187.js +1 -1
  94. package/index.cjs188.js +1 -1
  95. package/index.cjs189.js +1 -1
  96. package/index.cjs190.js +1 -1
  97. package/index.cjs191.js +1 -3
  98. package/index.cjs192.js +1 -1
  99. package/index.cjs193.js +1 -1
  100. package/index.cjs194.js +1 -1
  101. package/index.cjs195.js +1 -1
  102. package/index.cjs196.js +1 -1
  103. package/index.cjs197.js +1 -1
  104. package/index.cjs198.js +1 -1
  105. package/index.cjs199.js +1 -1
  106. package/index.cjs20.js +1 -1
  107. package/index.cjs200.js +1 -1
  108. package/index.cjs201.js +1 -1
  109. package/index.cjs202.js +1 -1
  110. package/index.cjs203.js +3 -1
  111. package/index.cjs204.js +1 -1
  112. package/index.cjs205.js +1 -1
  113. package/index.cjs206.js +1 -1
  114. package/index.cjs207.js +1 -1
  115. package/index.cjs208.js +1 -1
  116. package/index.cjs209.js +1 -1
  117. package/index.cjs21.js +1 -1
  118. package/index.cjs210.js +1 -1
  119. package/index.cjs211.js +1 -1
  120. package/index.cjs212.js +1 -1
  121. package/index.cjs213.js +1 -1
  122. package/index.cjs214.js +1 -1
  123. package/index.cjs215.js +1 -1
  124. package/index.cjs216.js +1 -1
  125. package/index.cjs217.js +1 -1
  126. package/index.cjs218.js +1 -1
  127. package/index.cjs219.js +1 -1
  128. package/index.cjs22.js +1 -1
  129. package/index.cjs220.js +1 -1
  130. package/index.cjs221.js +1 -1
  131. package/index.cjs222.js +1 -1
  132. package/index.cjs223.js +1 -1
  133. package/index.cjs224.js +1 -1
  134. package/index.cjs225.js +1 -1
  135. package/index.cjs226.js +1 -1
  136. package/index.cjs227.js +1 -1
  137. package/index.cjs229.js +1 -1
  138. package/index.cjs23.js +1 -1
  139. package/index.cjs230.js +1 -2
  140. package/index.cjs231.js +1 -1
  141. package/index.cjs232.js +1 -1
  142. package/index.cjs233.js +2 -1
  143. package/index.cjs234.js +1 -1
  144. package/index.cjs235.js +1 -1
  145. package/index.cjs236.js +1 -1
  146. package/index.cjs237.js +1 -1
  147. package/index.cjs238.js +1 -1
  148. package/index.cjs239.js +1 -1
  149. package/index.cjs240.js +1 -1
  150. package/index.cjs241.js +1 -1
  151. package/index.cjs242.js +1 -1
  152. package/index.cjs243.js +1 -1
  153. package/index.cjs244.js +1 -1
  154. package/index.cjs245.js +1 -1
  155. package/index.cjs246.js +1 -2
  156. package/index.cjs247.js +1 -1
  157. package/index.cjs248.js +1 -1
  158. package/index.cjs249.js +2 -1
  159. package/index.cjs25.js +1 -1
  160. package/index.cjs250.js +1 -1
  161. package/index.cjs251.js +1 -1
  162. package/index.cjs252.js +1 -1
  163. package/index.cjs253.js +1 -1
  164. package/index.cjs261.js +1 -1
  165. package/index.cjs262.js +1 -1
  166. package/index.cjs263.js +1 -1
  167. package/index.cjs264.js +1 -15
  168. package/index.cjs265.js +15 -1
  169. package/index.cjs266.js +1 -1
  170. package/index.cjs267.js +1 -1
  171. package/index.cjs268.js +1 -1
  172. package/index.cjs269.js +1 -1
  173. package/index.cjs27.js +1 -1
  174. package/index.cjs270.js +1 -1
  175. package/index.cjs271.js +1 -1
  176. package/index.cjs272.js +1 -1
  177. package/index.cjs273.js +1 -1
  178. package/index.cjs274.js +1 -1
  179. package/index.cjs275.js +1 -1
  180. package/index.cjs276.js +1 -1
  181. package/index.cjs277.js +1 -1
  182. package/index.cjs278.js +1 -1
  183. package/index.cjs279.js +1 -1
  184. package/index.cjs28.js +1 -1
  185. package/index.cjs281.js +1 -1
  186. package/index.cjs282.js +1 -1
  187. package/index.cjs283.js +1 -1
  188. package/index.cjs286.js +1 -1
  189. package/index.cjs287.js +1 -1
  190. package/index.cjs288.js +1 -1
  191. package/index.cjs289.js +1 -1
  192. package/index.cjs29.js +1 -1
  193. package/index.cjs290.js +1 -1
  194. package/index.cjs291.js +1 -1
  195. package/index.cjs292.js +1 -1
  196. package/index.cjs293.js +1 -1
  197. package/index.cjs30.js +1 -1
  198. package/index.cjs300.js +1 -1
  199. package/index.cjs301.js +1 -1
  200. package/index.cjs303.js +1 -1
  201. package/index.cjs304.js +1 -1
  202. package/index.cjs305.js +1 -1
  203. package/index.cjs309.js +1 -1
  204. package/index.cjs31.js +1 -1
  205. package/index.cjs310.js +1 -1
  206. package/index.cjs311.js +1 -1
  207. package/index.cjs313.js +1 -1
  208. package/index.cjs315.js +1 -1
  209. package/index.cjs32.js +1 -1
  210. package/index.cjs320.js +1 -1
  211. package/index.cjs325.js +1 -1
  212. package/index.cjs329.js +1 -1
  213. package/index.cjs338.js +1 -1
  214. package/index.cjs339.js +1 -1
  215. package/index.cjs340.js +1 -1
  216. package/index.cjs341.js +1 -1
  217. package/index.cjs342.js +1 -1
  218. package/index.cjs343.js +1 -1
  219. package/index.cjs344.js +1 -1
  220. package/index.cjs345.js +1 -1
  221. package/index.cjs346.js +1 -1
  222. package/index.cjs347.js +1 -1
  223. package/index.cjs348.js +1 -1
  224. package/index.cjs349.js +1 -1
  225. package/index.cjs35.js +1 -1
  226. package/index.cjs350.js +1 -1
  227. package/index.cjs351.js +1 -1
  228. package/index.cjs352.js +1 -1
  229. package/index.cjs353.js +1 -1
  230. package/index.cjs356.js +1 -1
  231. package/index.cjs357.js +1 -1
  232. package/index.cjs358.js +1 -1
  233. package/index.cjs359.js +1 -2
  234. package/index.cjs36.js +1 -1
  235. package/index.cjs360.js +1 -1
  236. package/index.cjs361.js +1 -1
  237. package/index.cjs362.js +1 -1
  238. package/index.cjs363.js +1 -1
  239. package/index.cjs364.js +1 -1
  240. package/index.cjs365.js +2 -1
  241. package/index.cjs366.js +1 -1
  242. package/index.cjs367.js +1 -1
  243. package/index.cjs368.js +1 -1
  244. package/index.cjs369.js +1 -1
  245. package/index.cjs37.js +1 -1
  246. package/index.cjs370.js +1 -1
  247. package/index.cjs371.js +1 -1
  248. package/index.cjs372.js +1 -1
  249. package/index.cjs373.js +1 -1
  250. package/index.cjs374.js +1 -1
  251. package/index.cjs376.js +1 -1
  252. package/index.cjs377.js +1 -1
  253. package/index.cjs378.js +1 -1
  254. package/index.cjs38.js +1 -1
  255. package/index.cjs380.js +1 -1
  256. package/index.cjs381.js +1 -1
  257. package/index.cjs39.js +1 -1
  258. package/index.cjs397.js +1 -1
  259. package/index.cjs399.js +1 -1
  260. package/index.cjs4.js +1 -1
  261. package/index.cjs40.js +1 -1
  262. package/index.cjs41.js +1 -1
  263. package/index.cjs43.js +1 -1
  264. package/index.cjs44.js +1 -1
  265. package/index.cjs45.js +1 -1
  266. package/index.cjs46.js +1 -1
  267. package/index.cjs47.js +1 -1
  268. package/index.cjs49.js +1 -1
  269. package/index.cjs50.js +1 -1
  270. package/index.cjs51.js +1 -1
  271. package/index.cjs54.js +1 -1
  272. package/index.cjs56.js +1 -1
  273. package/index.cjs57.js +1 -1
  274. package/index.cjs59.js +1 -1
  275. package/index.cjs60.js +1 -1
  276. package/index.cjs65.js +1 -1
  277. package/index.cjs66.js +1 -1
  278. package/index.cjs67.js +1 -1
  279. package/index.cjs68.js +1 -1
  280. package/index.cjs69.js +1 -1
  281. package/index.cjs7.js +1 -1
  282. package/index.cjs73.js +1 -1
  283. package/index.cjs75.js +1 -1
  284. package/index.cjs76.js +1 -1
  285. package/index.cjs79.js +1 -1
  286. package/index.cjs8.js +1 -1
  287. package/index.cjs80.js +1 -1
  288. package/index.cjs81.js +1 -1
  289. package/index.cjs82.js +1 -1
  290. package/index.cjs83.js +1 -1
  291. package/index.cjs86.js +1 -1
  292. package/index.cjs9.js +1 -1
  293. package/index.cjs90.js +1 -1
  294. package/index.cjs94.js +1 -1
  295. package/index.cjs95.js +1 -1
  296. package/index.cjs96.js +4 -1
  297. package/index.cjs97.js +1 -1
  298. package/index.cjs98.js +1 -1
  299. package/index.cjs99.js +1 -1
  300. package/index.es10.js +3 -3
  301. package/index.es100.js +470 -34
  302. package/index.es101.js +11 -2596
  303. package/index.es102.js +80 -314
  304. package/index.es103.js +24 -11
  305. package/index.es104.js +1709 -11
  306. package/index.es105.js +35 -11
  307. package/index.es106.js +2596 -8
  308. package/index.es107.js +319 -30
  309. package/index.es108.js +11 -38
  310. package/index.es109.js +5 -5
  311. package/index.es110.js +5 -5
  312. package/index.es111.js +7 -10
  313. package/index.es112.js +32 -10
  314. package/index.es113.js +38 -11
  315. package/index.es114.js +9 -2567
  316. package/index.es115.js +12 -142
  317. package/index.es116.js +11 -117
  318. package/index.es117.js +11 -137
  319. package/index.es118.js +11 -223
  320. package/index.es119.js +142 -517
  321. package/index.es12.js +3 -3
  322. package/index.es120.js +116 -309
  323. package/index.es121.js +137 -11
  324. package/index.es122.js +223 -11
  325. package/index.es123.js +516 -11
  326. package/index.es124.js +310 -11
  327. package/index.es125.js +5 -5
  328. package/index.es126.js +11 -205
  329. package/index.es127.js +5 -5
  330. package/index.es128.js +10 -4
  331. package/index.es129.js +5 -5
  332. package/index.es13.js +2 -2
  333. package/index.es130.js +205 -11
  334. package/index.es131.js +5 -5
  335. package/index.es132.js +4 -10
  336. package/index.es133.js +5 -5
  337. package/index.es134.js +5 -5
  338. package/index.es135.js +5 -5
  339. package/index.es136.js +11 -2
  340. package/index.es137.js +11 -2
  341. package/index.es138.js +11 -2
  342. package/index.es139.js +11 -2
  343. package/index.es140.js +1 -1
  344. package/index.es141.js +1 -1
  345. package/index.es142.js +2 -11
  346. package/index.es143.js +2 -11
  347. package/index.es144.js +2 -11
  348. package/index.es145.js +2 -11
  349. package/index.es146.js +11 -3
  350. package/index.es147.js +5 -5
  351. package/index.es148.js +5 -5
  352. package/index.es149.js +5 -5
  353. package/index.es15.js +5 -5
  354. package/index.es150.js +5 -5
  355. package/index.es151.js +5 -5
  356. package/index.es152.js +5 -5
  357. package/index.es153.js +11 -22
  358. package/index.es154.js +5 -5
  359. package/index.es155.js +11 -22
  360. package/index.es156.js +22 -11
  361. package/index.es157.js +5 -5
  362. package/index.es158.js +21 -11
  363. package/index.es159.js +5 -5
  364. package/index.es160.js +5 -5
  365. package/index.es161.js +12 -11
  366. package/index.es162.js +5 -5
  367. package/index.es163.js +4 -4
  368. package/index.es164.js +4 -4
  369. package/index.es165.js +10 -138
  370. package/index.es166.js +11 -6
  371. package/index.es167.js +11 -2338
  372. package/index.es168.js +136 -2149
  373. package/index.es169.js +6 -11
  374. package/index.es17.js +1 -1
  375. package/index.es170.js +8 -3
  376. package/index.es171.js +2 -233
  377. package/index.es172.js +2260 -53
  378. package/index.es173.js +49 -5
  379. package/index.es174.js +3 -33
  380. package/index.es175.js +233 -12
  381. package/index.es176.js +51 -477
  382. package/index.es177.js +3 -17
  383. package/index.es178.js +2 -35
  384. package/index.es179.js +9 -1220
  385. package/index.es180.js +25 -14
  386. package/index.es181.js +11 -8
  387. package/index.es182.js +39 -2
  388. package/index.es183.js +1999 -2260
  389. package/index.es184.js +6 -49
  390. package/index.es185.js +72 -39
  391. package/index.es186.js +23 -9
  392. package/index.es187.js +31 -13
  393. package/index.es188.js +12 -13
  394. package/index.es189.js +478 -13
  395. package/index.es190.js +94 -102
  396. package/index.es191.js +26 -25
  397. package/index.es192.js +38 -50
  398. package/index.es193.js +16 -369
  399. package/index.es194.js +32 -59
  400. package/index.es195.js +1221 -45
  401. package/index.es196.js +14 -6
  402. package/index.es197.js +8 -5
  403. package/index.es198.js +37 -45
  404. package/index.es199.js +11 -22
  405. package/index.es20.js +1 -1
  406. package/index.es200.js +13 -6
  407. package/index.es201.js +13 -10
  408. package/index.es202.js +106 -11
  409. package/index.es203.js +25 -17
  410. package/index.es204.js +47 -226
  411. package/index.es205.js +369 -23
  412. package/index.es206.js +61 -11
  413. package/index.es207.js +47 -278
  414. package/index.es208.js +6 -262
  415. package/index.es209.js +5 -17
  416. package/index.es21.js +3 -3
  417. package/index.es210.js +46 -20
  418. package/index.es211.js +22 -8
  419. package/index.es212.js +6 -5
  420. package/index.es213.js +10 -5
  421. package/index.es214.js +11 -5
  422. package/index.es215.js +17 -2
  423. package/index.es216.js +229 -57
  424. package/index.es217.js +24 -56
  425. package/index.es218.js +11 -3
  426. package/index.es219.js +279 -2
  427. package/index.es22.js +1 -1
  428. package/index.es220.js +261 -12
  429. package/index.es221.js +16 -24
  430. package/index.es222.js +14 -10
  431. package/index.es223.js +20 -38
  432. package/index.es224.js +7 -1999
  433. package/index.es225.js +5 -7
  434. package/index.es226.js +5 -72
  435. package/index.es227.js +5 -25
  436. package/index.es228.js +2 -2
  437. package/index.es229.js +57 -7
  438. package/index.es23.js +6 -6
  439. package/index.es230.js +54 -324
  440. package/index.es231.js +2 -51
  441. package/index.es232.js +8 -30
  442. package/index.es233.js +327 -34
  443. package/index.es234.js +51 -53
  444. package/index.es235.js +30 -119
  445. package/index.es236.js +34 -9
  446. package/index.es237.js +53 -163
  447. package/index.es238.js +105 -296
  448. package/index.es239.js +8 -126
  449. package/index.es240.js +131 -148
  450. package/index.es241.js +308 -24
  451. package/index.es242.js +124 -59
  452. package/index.es243.js +180 -5
  453. package/index.es244.js +26 -36
  454. package/index.es245.js +60 -24
  455. package/index.es246.js +5 -186
  456. package/index.es247.js +36 -138
  457. package/index.es248.js +26 -2
  458. package/index.es249.js +186 -8
  459. package/index.es25.js +1 -1
  460. package/index.es250.js +138 -2
  461. package/index.es251.js +2 -98
  462. package/index.es252.js +7 -25
  463. package/index.es253.js +2 -39
  464. package/index.es261.js +11 -2
  465. package/index.es262.js +2 -60
  466. package/index.es263.js +57 -14
  467. package/index.es264.js +16 -243
  468. package/index.es265.js +241 -71
  469. package/index.es266.js +73 -4
  470. package/index.es267.js +4 -57
  471. package/index.es268.js +58 -11
  472. package/index.es269.js +11 -7
  473. package/index.es27.js +2 -2
  474. package/index.es270.js +6 -35
  475. package/index.es271.js +35 -26
  476. package/index.es272.js +27 -291
  477. package/index.es273.js +290 -90
  478. package/index.es274.js +91 -3
  479. package/index.es275.js +3 -8
  480. package/index.es276.js +7 -15
  481. package/index.es277.js +14 -145
  482. package/index.es278.js +146 -10
  483. package/index.es279.js +1 -1
  484. package/index.es28.js +2 -2
  485. package/index.es281.js +2 -2
  486. package/index.es282.js +8 -8
  487. package/index.es283.js +2 -2
  488. package/index.es286.js +9 -9
  489. package/index.es287.js +6 -6
  490. package/index.es288.js +2 -2
  491. package/index.es289.js +2 -2
  492. package/index.es29.js +2 -2
  493. package/index.es290.js +5 -5
  494. package/index.es291.js +2 -2
  495. package/index.es292.js +2 -2
  496. package/index.es293.js +1 -1
  497. package/index.es30.js +3 -3
  498. package/index.es300.js +1 -1
  499. package/index.es301.js +1 -1
  500. package/index.es303.js +3 -3
  501. package/index.es304.js +1 -1
  502. package/index.es305.js +1 -1
  503. package/index.es309.js +16 -15
  504. package/index.es31.js +1 -1
  505. package/index.es310.js +15 -4
  506. package/index.es311.js +3 -15
  507. package/index.es313.js +1 -1
  508. package/index.es315.js +1 -1
  509. package/index.es32.js +1 -1
  510. package/index.es320.js +1 -1
  511. package/index.es325.js +2 -2
  512. package/index.es329.js +3 -3
  513. package/index.es338.js +15 -4
  514. package/index.es339.js +335 -4
  515. package/index.es340.js +4 -6
  516. package/index.es341.js +4 -335
  517. package/index.es342.js +7 -19
  518. package/index.es343.js +19 -4
  519. package/index.es344.js +4 -6
  520. package/index.es345.js +6 -3
  521. package/index.es346.js +3 -72
  522. package/index.es347.js +72 -4
  523. package/index.es348.js +4 -16
  524. package/index.es349.js +2 -2
  525. package/index.es35.js +1 -1
  526. package/index.es350.js +4 -4
  527. package/index.es351.js +1 -1
  528. package/index.es352.js +2 -2
  529. package/index.es353.js +2 -2
  530. package/index.es356.js +11 -2
  531. package/index.es357.js +3 -66
  532. package/index.es358.js +3 -65
  533. package/index.es359.js +44 -76
  534. package/index.es36.js +1 -1
  535. package/index.es360.js +22 -256
  536. package/index.es361.js +8 -31
  537. package/index.es362.js +2 -6
  538. package/index.es363.js +61 -126
  539. package/index.es364.js +68 -17
  540. package/index.es365.js +78 -7
  541. package/index.es366.js +258 -5
  542. package/index.es367.js +31 -3
  543. package/index.es368.js +6 -11
  544. package/index.es369.js +131 -3
  545. package/index.es37.js +1 -1
  546. package/index.es370.js +17 -6
  547. package/index.es371.js +6 -45
  548. package/index.es372.js +2 -25
  549. package/index.es373.js +5 -8
  550. package/index.es374.js +4 -2
  551. package/index.es376.js +8 -8
  552. package/index.es377.js +2 -2
  553. package/index.es378.js +1 -1
  554. package/index.es38.js +2 -2
  555. package/index.es380.js +7 -7
  556. package/index.es381.js +1 -1
  557. package/index.es39.js +1 -1
  558. package/index.es397.js +2 -2
  559. package/index.es399.js +2 -2
  560. package/index.es4.js +4 -4
  561. package/index.es40.js +2 -2
  562. package/index.es41.js +7 -7
  563. package/index.es43.js +4 -4
  564. package/index.es44.js +4 -4
  565. package/index.es45.js +10 -10
  566. package/index.es46.js +2 -2
  567. package/index.es47.js +12 -12
  568. package/index.es49.js +1 -1
  569. package/index.es50.js +2 -2
  570. package/index.es51.js +3 -3
  571. package/index.es54.js +2 -2
  572. package/index.es56.js +2 -2
  573. package/index.es57.js +5 -5
  574. package/index.es59.js +7 -7
  575. package/index.es60.js +3 -3
  576. package/index.es65.js +1 -1
  577. package/index.es66.js +1 -1
  578. package/index.es67.js +3 -3
  579. package/index.es68.js +4 -4
  580. package/index.es69.js +1 -1
  581. package/index.es7.js +1 -1
  582. package/index.es73.js +2 -2
  583. package/index.es75.js +1 -1
  584. package/index.es76.js +1 -1
  585. package/index.es79.js +5 -5
  586. package/index.es8.js +1 -1
  587. package/index.es80.js +1 -1
  588. package/index.es81.js +1 -1
  589. package/index.es82.js +2 -2
  590. package/index.es83.js +1 -1
  591. package/index.es86.js +1 -1
  592. package/index.es9.js +6 -6
  593. package/index.es90.js +2 -2
  594. package/index.es94.js +2310 -443
  595. package/index.es95.js +21 -11
  596. package/index.es96.js +2563 -82
  597. package/index.es97.js +2152 -21
  598. package/index.es98.js +3 -24
  599. package/index.es99.js +10 -1708
  600. package/package.json +1 -2
package/index.es120.js CHANGED
@@ -1,312 +1,119 @@
1
- import { a as se } from "./index.es177.js";
2
- import * as V from "@radix-ui/react-dialog";
3
- import * as t from "react";
4
- var fe = '[cmdk-list-sizer=""]', K = '[cmdk-group=""]', H = '[cmdk-group-items=""]', me = '[cmdk-group-heading=""]', B = '[cmdk-item=""]', ne = `${B}:not([aria-disabled="true"])`, W = "cmdk-item-select", w = "data-value", ve = (r, o) => se(r, o), le = t.createContext(void 0), P = () => t.useContext(le), ae = t.createContext(void 0), Q = () => t.useContext(ae), ue = t.createContext(void 0), oe = t.forwardRef((r, o) => {
5
- let n = t.useRef(null), u = I(() => {
6
- var e, a, i;
7
- return { search: "", value: (i = (a = r.value) != null ? a : (e = r.defaultValue) == null ? void 0 : e.toLowerCase()) != null ? i : "", filtered: { count: 0, items: /* @__PURE__ */ new Map(), groups: /* @__PURE__ */ new Set() } };
8
- }), c = I(() => /* @__PURE__ */ new Set()), d = I(() => /* @__PURE__ */ new Map()), s = I(() => /* @__PURE__ */ new Map()), v = I(() => /* @__PURE__ */ new Set()), f = ie(r), { label: b, children: p, value: E, onValueChange: A, filter: L, shouldFilter: k, vimBindings: D = !0, ...C } = r, U = t.useId(), J = t.useId(), X = t.useId(), y = Re();
9
- M(() => {
10
- if (E !== void 0) {
11
- let e = E.trim().toLowerCase();
12
- u.current.value = e, y(6, Z), m.emit();
13
- }
14
- }, [E]);
15
- let m = t.useMemo(() => ({ subscribe: (e) => (v.current.add(e), () => v.current.delete(e)), snapshot: () => u.current, setState: (e, a, i) => {
16
- var l, g, h;
17
- if (!Object.is(u.current[e], a)) {
18
- if (u.current[e] = a, e === "search")
19
- z(), O(), y(1, j);
20
- else if (e === "value")
21
- if (((l = f.current) == null ? void 0 : l.value) !== void 0) {
22
- let S = a ?? "";
23
- (h = (g = f.current).onValueChange) == null || h.call(g, S);
24
- return;
25
- } else
26
- i || y(5, Z);
27
- m.emit();
28
- }
29
- }, emit: () => {
30
- v.current.forEach((e) => e());
31
- } }), []), x = t.useMemo(() => ({ value: (e, a) => {
32
- a !== s.current.get(e) && (s.current.set(e, a), u.current.filtered.items.set(e, Y(a)), y(2, () => {
33
- O(), m.emit();
34
- }));
35
- }, item: (e, a) => (c.current.add(e), a && (d.current.has(a) ? d.current.get(a).add(e) : d.current.set(a, /* @__PURE__ */ new Set([e]))), y(3, () => {
36
- z(), O(), u.current.value || j(), m.emit();
37
- }), () => {
38
- s.current.delete(e), c.current.delete(e), u.current.filtered.items.delete(e);
39
- let i = $();
40
- y(4, () => {
41
- z(), (i == null ? void 0 : i.getAttribute("id")) === e && j(), m.emit();
1
+ import k from "./index.es199.js";
2
+ import A from "./index.es200.js";
3
+ import * as r from "react";
4
+ import e from "./index.es201.js";
5
+ import { jsx as L } from "react/jsx-runtime";
6
+ import M from "./index.es222.js";
7
+ const b = ["localeText"], n = /* @__PURE__ */ r.createContext(null);
8
+ process.env.NODE_ENV !== "production" && (n.displayName = "MuiPickersAdapterContext");
9
+ const v = function(i) {
10
+ var s;
11
+ const {
12
+ localeText: l
13
+ } = i, x = A(i, b), {
14
+ utils: o,
15
+ localeText: d
16
+ } = (s = r.useContext(n)) != null ? s : {
17
+ utils: void 0,
18
+ localeText: void 0
19
+ }, T = M({
20
+ // We don't want to pass the `localeText` prop to the theme, that way it will always return the theme value,
21
+ // We will then merge this theme value with our value manually
22
+ props: x,
23
+ name: "MuiLocalizationProvider"
24
+ }), {
25
+ children: D,
26
+ dateAdapter: a,
27
+ dateFormats: m,
28
+ dateLibInstance: c,
29
+ adapterLocale: u,
30
+ localeText: p
31
+ } = T, h = r.useMemo(() => k({}, p, d, l), [p, d, l]), t = r.useMemo(() => {
32
+ if (!a)
33
+ return o || null;
34
+ const g = new a({
35
+ locale: u,
36
+ formats: m,
37
+ instance: c
42
38
  });
43
- }), group: (e) => (d.current.has(e) || d.current.set(e, /* @__PURE__ */ new Set()), () => {
44
- s.current.delete(e), d.current.delete(e);
45
- }), filter: () => f.current.shouldFilter, label: b || r["aria-label"], commandRef: n, listId: U, inputId: X, labelId: J }), []);
46
- function Y(e) {
47
- var a, i;
48
- let l = (i = (a = f.current) == null ? void 0 : a.filter) != null ? i : ve;
49
- return e ? l(e, u.current.search) : 0;
50
- }
51
- function O() {
52
- if (!n.current || !u.current.search || f.current.shouldFilter === !1)
53
- return;
54
- let e = u.current.filtered.items, a = [];
55
- u.current.filtered.groups.forEach((l) => {
56
- let g = d.current.get(l), h = 0;
57
- g.forEach((S) => {
58
- let T = e.get(S);
59
- h = Math.max(T, h);
60
- }), a.push([l, h]);
61
- });
62
- let i = n.current.querySelector(fe);
63
- F().sort((l, g) => {
64
- var h, S;
65
- let T = l.getAttribute(w), de = g.getAttribute(w);
66
- return ((h = e.get(de)) != null ? h : 0) - ((S = e.get(T)) != null ? S : 0);
67
- }).forEach((l) => {
68
- let g = l.closest(H);
69
- g ? g.appendChild(l.parentElement === g ? l : l.closest(`${H} > *`)) : i.appendChild(l.parentElement === i ? l : l.closest(`${H} > *`));
70
- }), a.sort((l, g) => g[1] - l[1]).forEach((l) => {
71
- let g = n.current.querySelector(`${K}[${w}="${l[0]}"]`);
72
- g == null || g.parentElement.appendChild(g);
73
- });
74
- }
75
- function j() {
76
- let e = F().find((i) => !i.ariaDisabled), a = e == null ? void 0 : e.getAttribute(w);
77
- m.setState("value", a || void 0);
78
- }
79
- function z() {
80
- if (!u.current.search || f.current.shouldFilter === !1) {
81
- u.current.filtered.count = c.current.size;
82
- return;
83
- }
84
- u.current.filtered.groups = /* @__PURE__ */ new Set();
85
- let e = 0;
86
- for (let a of c.current) {
87
- let i = s.current.get(a), l = Y(i);
88
- u.current.filtered.items.set(a, l), l > 0 && e++;
89
- }
90
- for (let [a, i] of d.current)
91
- for (let l of i)
92
- if (u.current.filtered.items.get(l) > 0) {
93
- u.current.filtered.groups.add(a);
94
- break;
95
- }
96
- u.current.filtered.count = e;
97
- }
98
- function Z() {
99
- var e, a, i;
100
- let l = $();
101
- l && (((e = l.parentElement) == null ? void 0 : e.firstChild) === l && ((i = (a = l.closest(K)) == null ? void 0 : a.querySelector(me)) == null || i.scrollIntoView({ block: "nearest" })), l.scrollIntoView({ block: "nearest" }));
102
- }
103
- function $() {
104
- var e;
105
- return (e = n.current) == null ? void 0 : e.querySelector(`${B}[aria-selected="true"]`);
106
- }
107
- function F() {
108
- return Array.from(n.current.querySelectorAll(ne));
109
- }
110
- function N(e) {
111
- let a = F()[e];
112
- a && m.setState("value", a.getAttribute(w));
113
- }
114
- function G(e) {
115
- var a;
116
- let i = $(), l = F(), g = l.findIndex((S) => S === i), h = l[g + e];
117
- (a = f.current) != null && a.loop && (h = g + e < 0 ? l[l.length - 1] : g + e === l.length ? l[0] : l[g + e]), h && m.setState("value", h.getAttribute(w));
118
- }
119
- function _(e) {
120
- let a = $(), i = a == null ? void 0 : a.closest(K), l;
121
- for (; i && !l; )
122
- i = e > 0 ? Se(i, K) : ke(i, K), l = i == null ? void 0 : i.querySelector(ne);
123
- l ? m.setState("value", l.getAttribute(w)) : G(e);
124
- }
125
- let ee = () => N(F().length - 1), te = (e) => {
126
- e.preventDefault(), e.metaKey ? ee() : e.altKey ? _(1) : G(1);
127
- }, re = (e) => {
128
- e.preventDefault(), e.metaKey ? N(0) : e.altKey ? _(-1) : G(-1);
129
- };
130
- return t.createElement("div", { ref: q([n, o]), ...C, "cmdk-root": "", onKeyDown: (e) => {
131
- var a;
132
- if ((a = C.onKeyDown) == null || a.call(C, e), !e.defaultPrevented)
133
- switch (e.key) {
134
- case "n":
135
- case "j": {
136
- D && e.ctrlKey && te(e);
137
- break;
138
- }
139
- case "ArrowDown": {
140
- te(e);
141
- break;
142
- }
143
- case "p":
144
- case "k": {
145
- D && e.ctrlKey && re(e);
146
- break;
147
- }
148
- case "ArrowUp": {
149
- re(e);
150
- break;
151
- }
152
- case "Home": {
153
- e.preventDefault(), N(0);
154
- break;
155
- }
156
- case "End": {
157
- e.preventDefault(), ee();
158
- break;
159
- }
160
- case "Enter":
161
- if (!e.nativeEvent.isComposing) {
162
- e.preventDefault();
163
- let i = $();
164
- if (i) {
165
- let l = new Event(W);
166
- i.dispatchEvent(l);
167
- }
168
- }
169
- }
170
- } }, t.createElement("label", { "cmdk-label": "", htmlFor: x.inputId, id: x.labelId, style: xe }, b), t.createElement(ae.Provider, { value: m }, t.createElement(le.Provider, { value: x }, p)));
171
- }), pe = t.forwardRef((r, o) => {
172
- var n, u;
173
- let c = t.useId(), d = t.useRef(null), s = t.useContext(ue), v = P(), f = ie(r), b = (u = (n = f.current) == null ? void 0 : n.forceMount) != null ? u : s == null ? void 0 : s.forceMount;
174
- M(() => v.item(c, s == null ? void 0 : s.id), []);
175
- let p = ce(c, d, [r.value, r.children, d]), E = Q(), A = R((m) => m.value && m.value === p.current), L = R((m) => b || v.filter() === !1 ? !0 : m.search ? m.filtered.items.get(c) > 0 : !0);
176
- t.useEffect(() => {
177
- let m = d.current;
178
- if (!(!m || r.disabled))
179
- return m.addEventListener(W, k), () => m.removeEventListener(W, k);
180
- }, [L, r.onSelect, r.disabled]);
181
- function k() {
182
- var m, x;
183
- D(), (x = (m = f.current).onSelect) == null || x.call(m, p.current);
184
- }
185
- function D() {
186
- E.setState("value", p.current, !0);
187
- }
188
- if (!L)
189
- return null;
190
- let { disabled: C, value: U, onSelect: J, forceMount: X, ...y } = r;
191
- return t.createElement("div", { ref: q([d, o]), ...y, id: c, "cmdk-item": "", role: "option", "aria-disabled": C || void 0, "aria-selected": A || void 0, "data-disabled": C || void 0, "data-selected": A || void 0, onPointerMove: C ? void 0 : D, onClick: C ? void 0 : k }, r.children);
192
- }), ge = t.forwardRef((r, o) => {
193
- let { heading: n, children: u, forceMount: c, ...d } = r, s = t.useId(), v = t.useRef(null), f = t.useRef(null), b = t.useId(), p = P(), E = R((k) => c || p.filter() === !1 ? !0 : k.search ? k.filtered.groups.has(s) : !0);
194
- M(() => p.group(s), []), ce(s, v, [r.value, r.heading, f]);
195
- let A = t.useMemo(() => ({ id: s, forceMount: c }), [c]), L = t.createElement(ue.Provider, { value: A }, u);
196
- return t.createElement("div", { ref: q([v, o]), ...d, "cmdk-group": "", role: "presentation", hidden: E ? void 0 : !0 }, n && t.createElement("div", { ref: f, "cmdk-group-heading": "", "aria-hidden": !0, id: b }, n), t.createElement("div", { "cmdk-group-items": "", role: "group", "aria-labelledby": n ? b : void 0 }, L));
197
- }), he = t.forwardRef((r, o) => {
198
- let { alwaysRender: n, ...u } = r, c = t.useRef(null), d = R((s) => !s.search);
199
- return !n && !d ? null : t.createElement("div", { ref: q([c, o]), ...u, "cmdk-separator": "", role: "separator" });
200
- }), be = t.forwardRef((r, o) => {
201
- let { onValueChange: n, ...u } = r, c = r.value != null, d = Q(), s = R((p) => p.search), v = R((p) => p.value), f = P(), b = t.useMemo(() => {
202
- var p;
203
- let E = (p = f.commandRef.current) == null ? void 0 : p.querySelector(`${B}[${w}="${v}"]`);
204
- return E == null ? void 0 : E.getAttribute("id");
205
- }, [v, f.commandRef]);
206
- return t.useEffect(() => {
207
- r.value != null && d.setState("search", r.value);
208
- }, [r.value]), t.createElement("input", { ref: o, ...u, "cmdk-input": "", autoComplete: "off", autoCorrect: "off", spellCheck: !1, "aria-autocomplete": "list", role: "combobox", "aria-expanded": !0, "aria-controls": f.listId, "aria-labelledby": f.labelId, "aria-activedescendant": b, id: f.inputId, type: "text", value: c ? r.value : s, onChange: (p) => {
209
- c || d.setState("search", p.target.value), n == null || n(p.target.value);
210
- } });
211
- }), Ee = t.forwardRef((r, o) => {
212
- let { children: n, ...u } = r, c = t.useRef(null), d = t.useRef(null), s = P();
213
- return t.useEffect(() => {
214
- if (d.current && c.current) {
215
- let v = d.current, f = c.current, b, p = new ResizeObserver(() => {
216
- b = requestAnimationFrame(() => {
217
- let E = v.offsetHeight;
218
- f.style.setProperty("--cmdk-list-height", E.toFixed(1) + "px");
219
- });
220
- });
221
- return p.observe(v), () => {
222
- cancelAnimationFrame(b), p.unobserve(v);
223
- };
224
- }
225
- }, []), t.createElement("div", { ref: q([c, o]), ...u, "cmdk-list": "", role: "listbox", "aria-label": "Suggestions", id: s.listId, "aria-labelledby": s.inputId }, t.createElement("div", { ref: d, "cmdk-list-sizer": "" }, n));
226
- }), we = t.forwardRef((r, o) => {
227
- let { open: n, onOpenChange: u, overlayClassName: c, contentClassName: d, container: s, ...v } = r;
228
- return t.createElement(V.Root, { open: n, onOpenChange: u }, t.createElement(V.Portal, { container: s }, t.createElement(V.Overlay, { "cmdk-overlay": "", className: c }), t.createElement(V.Content, { "aria-label": r.label, "cmdk-dialog": "", className: d }, t.createElement(oe, { ref: o, ...v }))));
229
- }), Ce = t.forwardRef((r, o) => {
230
- let n = t.useRef(!0), u = R((c) => c.filtered.count === 0);
231
- return t.useEffect(() => {
232
- n.current = !1;
233
- }, []), n.current || !u ? null : t.createElement("div", { ref: o, ...r, "cmdk-empty": "", role: "presentation" });
234
- }), ye = t.forwardRef((r, o) => {
235
- let { progress: n, children: u, ...c } = r;
236
- return t.createElement("div", { ref: o, ...c, "cmdk-loading": "", role: "progressbar", "aria-valuenow": n, "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": "Loading..." }, t.createElement("div", { "aria-hidden": !0 }, u));
237
- }), Me = Object.assign(oe, { List: Ee, Item: pe, Input: be, Group: ge, Separator: he, Dialog: we, Empty: Ce, Loading: ye });
238
- function Se(r, o) {
239
- let n = r.nextElementSibling;
240
- for (; n; ) {
241
- if (n.matches(o))
242
- return n;
243
- n = n.nextElementSibling;
244
- }
245
- }
246
- function ke(r, o) {
247
- let n = r.previousElementSibling;
248
- for (; n; ) {
249
- if (n.matches(o))
250
- return n;
251
- n = n.previousElementSibling;
252
- }
253
- }
254
- function ie(r) {
255
- let o = t.useRef(r);
256
- return M(() => {
257
- o.current = r;
258
- }), o;
259
- }
260
- var M = typeof window > "u" ? t.useEffect : t.useLayoutEffect;
261
- function I(r) {
262
- let o = t.useRef();
263
- return o.current === void 0 && (o.current = r()), o;
264
- }
265
- function q(r) {
266
- return (o) => {
267
- r.forEach((n) => {
268
- typeof n == "function" ? n(o) : n != null && (n.current = o);
269
- });
270
- };
271
- }
272
- function R(r) {
273
- let o = Q(), n = () => r(o.snapshot());
274
- return t.useSyncExternalStore(o.subscribe, n, n);
275
- }
276
- function ce(r, o, n) {
277
- let u = t.useRef(), c = P();
278
- return M(() => {
279
- var d;
280
- let s = (() => {
281
- var v;
282
- for (let f of n) {
283
- if (typeof f == "string")
284
- return f.trim().toLowerCase();
285
- if (typeof f == "object" && "current" in f)
286
- return f.current ? (v = f.current.textContent) == null ? void 0 : v.trim().toLowerCase() : u.current;
287
- }
288
- })();
289
- c.value(r, s), (d = o.current) == null || d.setAttribute(w, s), u.current = s;
290
- }), u;
291
- }
292
- var Re = () => {
293
- let [r, o] = t.useState(), n = I(() => /* @__PURE__ */ new Map());
294
- return M(() => {
295
- n.current.forEach((u) => u()), n.current = /* @__PURE__ */ new Map();
296
- }, [r]), (u, c) => {
297
- n.current.set(u, c), o({});
298
- };
299
- }, xe = { position: "absolute", width: "1px", height: "1px", padding: "0", margin: "-1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0" };
39
+ if (!g.isMUIAdapter)
40
+ throw new Error(["MUI: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`", "For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`", "More information on the installation documentation: https://mui.com/x/react-date-pickers/getting-started/#installation"].join(`
41
+ `));
42
+ return g;
43
+ }, [a, u, m, c, o]), f = r.useMemo(() => t ? {
44
+ minDate: t.date("1900-01-01T00:00:00.000"),
45
+ maxDate: t.date("2099-12-31T00:00:00.000")
46
+ } : null, [t]), y = r.useMemo(() => ({
47
+ utils: t,
48
+ defaultDates: f,
49
+ localeText: h
50
+ }), [f, t, h]);
51
+ return /* @__PURE__ */ L(n.Provider, {
52
+ value: y,
53
+ children: D
54
+ });
55
+ };
56
+ process.env.NODE_ENV !== "production" && (v.propTypes = {
57
+ // ----------------------------- Warning --------------------------------
58
+ // | These PropTypes are generated from the TypeScript type definitions |
59
+ // | To update them edit the TypeScript types and run "yarn proptypes" |
60
+ // ----------------------------------------------------------------------
61
+ /**
62
+ * Locale for the date library you are using
63
+ */
64
+ adapterLocale: e.any,
65
+ children: e.node,
66
+ /**
67
+ * Date library adapter class function.
68
+ * @see See the localization provider {@link https://mui.com/x/react-date-pickers/getting-started/#setup-your-date-library-adapter date adapter setup section} for more details.
69
+ */
70
+ dateAdapter: e.func,
71
+ /**
72
+ * Formats that are used for any child pickers
73
+ */
74
+ dateFormats: e.shape({
75
+ dayOfMonth: e.string,
76
+ fullDate: e.string,
77
+ fullDateTime: e.string,
78
+ fullDateTime12h: e.string,
79
+ fullDateTime24h: e.string,
80
+ fullDateWithWeekday: e.string,
81
+ fullTime: e.string,
82
+ fullTime12h: e.string,
83
+ fullTime24h: e.string,
84
+ hours12h: e.string,
85
+ hours24h: e.string,
86
+ keyboardDate: e.string,
87
+ keyboardDateTime: e.string,
88
+ keyboardDateTime12h: e.string,
89
+ keyboardDateTime24h: e.string,
90
+ meridiem: e.string,
91
+ minutes: e.string,
92
+ month: e.string,
93
+ monthAndDate: e.string,
94
+ monthAndYear: e.string,
95
+ monthShort: e.string,
96
+ normalDate: e.string,
97
+ normalDateWithWeekday: e.string,
98
+ seconds: e.string,
99
+ shortDate: e.string,
100
+ weekday: e.string,
101
+ weekdayShort: e.string,
102
+ year: e.string
103
+ }),
104
+ /**
105
+ * Date library instance you are using, if it has some global overrides
106
+ * ```jsx
107
+ * dateLibInstance={momentTimeZone}
108
+ * ```
109
+ */
110
+ dateLibInstance: e.any,
111
+ /**
112
+ * Locale for components texts
113
+ */
114
+ localeText: e.object
115
+ });
300
116
  export {
301
- Me as Command,
302
- we as CommandDialog,
303
- Ce as CommandEmpty,
304
- ge as CommandGroup,
305
- be as CommandInput,
306
- pe as CommandItem,
307
- Ee as CommandList,
308
- ye as CommandLoading,
309
- oe as CommandRoot,
310
- he as CommandSeparator,
311
- R as useCommandState
117
+ v as LocalizationProvider,
118
+ n as MuiPickersAdapterContext
312
119
  };
package/index.es121.js CHANGED
@@ -1,13 +1,139 @@
1
- import C from "./index.es174.js";
2
- const e = C("Search", [
3
- [
4
- "path",
5
- {
6
- d: "M15.7549 14.2549H14.9649L14.6849 13.9849C15.6649 12.8449 16.2549 11.3649 16.2549 9.75488C16.2549 6.16488 13.3449 3.25488 9.75488 3.25488C6.16488 3.25488 3.25488 6.16488 3.25488 9.75488C3.25488 13.3449 6.16488 16.2549 9.75488 16.2549C11.3649 16.2549 12.8449 15.6649 13.9849 14.6849L14.2549 14.9649V15.7549L19.2549 20.7449L20.7449 19.2549L15.7549 14.2549ZM9.75488 14.2549C7.26488 14.2549 5.25488 12.2449 5.25488 9.75488C5.25488 7.26488 7.26488 5.25488 9.75488 5.25488C12.2449 5.25488 14.2549 7.26488 14.2549 9.75488C14.2549 12.2449 12.2449 14.2549 9.75488 14.2549Z",
7
- key: "1ac8z8"
8
- }
9
- ]
10
- ]);
1
+ import m from "./index.es199.js";
2
+ import M from "./index.es97.js";
3
+ import { AdapterMoment as d } from "./index.es122.js";
4
+ const l = {
5
+ // Year
6
+ iY: {
7
+ sectionType: "year",
8
+ contentType: "letter"
9
+ },
10
+ iYY: {
11
+ sectionType: "year",
12
+ contentType: "letter"
13
+ },
14
+ iYYYY: {
15
+ sectionType: "year",
16
+ contentType: "letter"
17
+ },
18
+ // Month
19
+ iM: "month",
20
+ iMM: "month",
21
+ iMMM: {
22
+ sectionType: "month",
23
+ contentType: "letter"
24
+ },
25
+ iMMMM: {
26
+ sectionType: "month",
27
+ contentType: "letter"
28
+ },
29
+ // Day of the month
30
+ iD: {
31
+ sectionType: "day",
32
+ contentType: "digit",
33
+ maxLength: 2
34
+ },
35
+ iDD: "day",
36
+ // Meridiem
37
+ A: "meridiem",
38
+ a: "meridiem",
39
+ // Hours
40
+ H: {
41
+ sectionType: "hours",
42
+ contentType: "digit",
43
+ maxLength: 2
44
+ },
45
+ HH: "hours",
46
+ h: {
47
+ sectionType: "hours",
48
+ contentType: "digit",
49
+ maxLength: 2
50
+ },
51
+ hh: "hours",
52
+ // Minutes
53
+ m: {
54
+ sectionType: "minutes",
55
+ contentType: "digit",
56
+ maxLength: 2
57
+ },
58
+ mm: "minutes",
59
+ // Seconds
60
+ s: {
61
+ sectionType: "seconds",
62
+ contentType: "digit",
63
+ maxLength: 2
64
+ },
65
+ ss: "seconds"
66
+ }, c = {
67
+ year: "iYYYY",
68
+ month: "iMMMM",
69
+ monthShort: "iMMM",
70
+ dayOfMonth: "iD",
71
+ weekday: "dddd",
72
+ weekdayShort: "ddd",
73
+ hours24h: "HH",
74
+ hours12h: "hh",
75
+ meridiem: "A",
76
+ minutes: "mm",
77
+ seconds: "ss",
78
+ fullDate: "iYYYY, iMMMM Do",
79
+ fullDateWithWeekday: "iYYYY, iMMMM Do, dddd",
80
+ keyboardDateTime: "iYYYY/iMM/iDD LT",
81
+ shortDate: "iD iMMM",
82
+ normalDate: "dddd, iD iMMM",
83
+ normalDateWithWeekday: "DD iMMMM",
84
+ monthAndYear: "iMMMM iYYYY",
85
+ monthAndDate: "iD iMMMM",
86
+ fullTime: "LT",
87
+ fullTime12h: "hh:mm A",
88
+ fullTime24h: "HH:mm",
89
+ fullDateTime: "iYYYY, iMMMM Do, hh:mm A",
90
+ fullDateTime12h: "iD iMMMM hh:mm A",
91
+ fullDateTime24h: "iD iMMMM HH:mm",
92
+ keyboardDate: "iYYYY/iMM/iDD",
93
+ keyboardDateTime12h: "iYYYY/iMM/iDD hh:mm A",
94
+ keyboardDateTime24h: "iYYYY/iMM/iDD HH:mm"
95
+ }, u = {
96
+ 1: "١",
97
+ 2: "٢",
98
+ 3: "٣",
99
+ 4: "٤",
100
+ 5: "٥",
101
+ 6: "٦",
102
+ 7: "٧",
103
+ 8: "٨",
104
+ 9: "٩",
105
+ 0: "٠"
106
+ };
107
+ class y extends d {
108
+ constructor({
109
+ formats: h,
110
+ instance: a
111
+ } = {}) {
112
+ super({
113
+ locale: "ar-SA",
114
+ instance: a
115
+ }), this.lib = "moment-hijri", this.moment = void 0, this.isTimezoneCompatible = !1, this.formatTokenMap = l, this.date = (e) => e === null ? null : this.moment(e).locale("ar-SA"), this.dateWithTimezone = (e) => this.date(e), this.getTimezone = () => "default", this.setTimezone = (e) => e, this.parse = (e, t) => e === "" ? null : this.moment(e, t, !0).locale("ar-SA"), this.getFormatHelperText = (e) => this.expandFormat(e).replace(/a/gi, "(a|p)m").replace("iY", "Y").replace("iM", "M").replace("iD", "D").toLocaleLowerCase(), this.formatNumber = (e) => e.replace(/\d/g, (t) => u[t]).replace(/,/g, "،"), this.isEqual = (e, t) => e === null && t === null ? !0 : this.moment(e).isSame(t), this.startOfYear = (e) => e.clone().startOf("iYear"), this.startOfMonth = (e) => e.clone().startOf("iMonth"), this.endOfYear = (e) => e.clone().endOf("iYear"), this.endOfMonth = (e) => e.clone().endOf("iMonth"), this.addYears = (e, t) => t < 0 ? e.clone().subtract(Math.abs(t), "iYear") : e.clone().add(t, "iYear"), this.addMonths = (e, t) => t < 0 ? e.clone().subtract(Math.abs(t), "iMonth") : e.clone().add(t, "iMonth"), this.getYear = (e) => e.iYear(), this.getMonth = (e) => e.iMonth(), this.getDate = (e) => e.iDate(), this.setYear = (e, t) => e.clone().iYear(t), this.setMonth = (e, t) => e.clone().iMonth(t), this.setDate = (e, t) => e.clone().iDate(t), this.getNextMonth = (e) => e.clone().add(1, "iMonth"), this.getPreviousMonth = (e) => e.clone().subtract(1, "iMonth"), this.getWeekdays = () => [0, 1, 2, 3, 4, 5, 6].map((e) => this.date().weekday(e).format("dd")), this.getWeekArray = (e) => {
116
+ const t = e.clone().startOf("iMonth").startOf("week"), o = e.clone().endOf("iMonth").endOf("week");
117
+ let n = 0, r = t;
118
+ const i = [];
119
+ for (; r.isBefore(o); ) {
120
+ const s = Math.floor(n / 7);
121
+ i[s] = i[s] || [], i[s].push(r), r = r.clone().add(1, "day"), n += 1;
122
+ }
123
+ return i;
124
+ }, this.getWeekNumber = (e) => e.iWeek(), this.getYearRange = (e, t) => {
125
+ if (e.isBefore("1937-03-14"))
126
+ throw new Error("min date must be on or after 1356-01-01 H (1937-03-14)");
127
+ if (t.isAfter("2076-11-26"))
128
+ throw new Error("max date must be on or before 1499-12-29 H (2076-11-26)");
129
+ const o = this.moment(e).startOf("iYear"), n = this.moment(t).endOf("iYear"), r = [];
130
+ let i = o;
131
+ for (; i.isBefore(n); )
132
+ r.push(i), i = i.clone().add(1, "iYear");
133
+ return r;
134
+ }, this.getMeridiemText = (e) => e === "am" ? this.date().hours(2).format("A") : this.date().hours(14).format("A"), this.moment = a || M, this.locale = "ar-SA", this.formats = m({}, c, h);
135
+ }
136
+ }
11
137
  export {
12
- e as default
138
+ y as AdapterMomentHijri
13
139
  };