mada-design-system 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (691) hide show
  1. package/index.cjs10.js +1 -1
  2. package/index.cjs100.js +1 -1
  3. package/index.cjs101.js +1 -1
  4. package/index.cjs102.js +1 -1
  5. package/index.cjs103.js +4 -1
  6. package/index.cjs104.js +1 -5
  7. package/index.cjs105.js +1 -1
  8. package/index.cjs106.js +1 -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 +5 -1
  15. package/index.cjs113.js +1 -1
  16. package/index.cjs114.js +1 -1
  17. package/index.cjs115.js +1 -1
  18. package/index.cjs116.js +1 -1
  19. package/index.cjs117.js +1 -4
  20. package/index.cjs118.js +1 -1
  21. package/index.cjs119.js +1 -2
  22. package/index.cjs12.js +1 -1
  23. package/index.cjs120.js +1 -1
  24. package/index.cjs121.js +1 -2
  25. package/index.cjs122.js +1 -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 +2 -1
  30. package/index.cjs127.js +1 -1
  31. package/index.cjs128.js +2 -20
  32. package/index.cjs129.js +1 -1
  33. package/index.cjs13.js +1 -1
  34. package/index.cjs130.js +1 -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 +20 -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 +1 -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 +4 -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 -1
  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 -4
  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 -1
  98. package/index.cjs192.js +1 -3
  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 +1 -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 +3 -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.cjs228.js +1 -1
  138. package/index.cjs229.js +1 -1
  139. package/index.cjs23.js +1 -1
  140. package/index.cjs230.js +1 -1
  141. package/index.cjs231.js +1 -1
  142. package/index.cjs232.js +1 -2
  143. package/index.cjs233.js +1 -1
  144. package/index.cjs234.js +1 -1
  145. package/index.cjs235.js +1 -1
  146. package/index.cjs236.js +1 -1
  147. package/index.cjs237.js +1 -1
  148. package/index.cjs238.js +1 -1
  149. package/index.cjs239.js +1 -1
  150. package/index.cjs240.js +1 -1
  151. package/index.cjs241.js +1 -1
  152. package/index.cjs242.js +1 -1
  153. package/index.cjs243.js +2 -1
  154. package/index.cjs244.js +1 -1
  155. package/index.cjs245.js +1 -1
  156. package/index.cjs246.js +1 -1
  157. package/index.cjs247.js +1 -1
  158. package/index.cjs248.js +1 -2
  159. package/index.cjs249.js +1 -1
  160. package/index.cjs25.js +1 -1
  161. package/index.cjs250.js +1 -1
  162. package/index.cjs251.js +1 -1
  163. package/index.cjs252.js +1 -1
  164. package/index.cjs253.js +1 -1
  165. package/index.cjs254.js +1 -1
  166. package/index.cjs255.js +1 -1
  167. package/index.cjs256.js +1 -1
  168. package/index.cjs257.js +1 -1
  169. package/index.cjs258.js +1 -1
  170. package/index.cjs259.js +2 -15
  171. package/index.cjs260.js +1 -1
  172. package/index.cjs261.js +1 -1
  173. package/index.cjs262.js +1 -1
  174. package/index.cjs263.js +1 -1
  175. package/index.cjs264.js +15 -1
  176. package/index.cjs265.js +1 -1
  177. package/index.cjs266.js +1 -1
  178. package/index.cjs267.js +1 -1
  179. package/index.cjs268.js +1 -1
  180. package/index.cjs269.js +1 -1
  181. package/index.cjs27.js +1 -1
  182. package/index.cjs270.js +1 -1
  183. package/index.cjs271.js +1 -1
  184. package/index.cjs272.js +1 -1
  185. package/index.cjs273.js +1 -1
  186. package/index.cjs274.js +1 -1
  187. package/index.cjs275.js +1 -1
  188. package/index.cjs276.js +1 -1
  189. package/index.cjs277.js +1 -1
  190. package/index.cjs278.js +1 -1
  191. package/index.cjs279.js +1 -1
  192. package/index.cjs28.js +1 -1
  193. package/index.cjs280.js +1 -1
  194. package/index.cjs281.js +1 -1
  195. package/index.cjs282.js +1 -1
  196. package/index.cjs283.js +1 -1
  197. package/index.cjs284.js +1 -1
  198. package/index.cjs285.js +1 -1
  199. package/index.cjs286.js +1 -1
  200. package/index.cjs287.js +1 -1
  201. package/index.cjs288.js +1 -3
  202. package/index.cjs289.js +1 -1
  203. package/index.cjs29.js +1 -1
  204. package/index.cjs290.js +3 -1
  205. package/index.cjs291.js +1 -1
  206. package/index.cjs292.js +1 -1
  207. package/index.cjs293.js +1 -1
  208. package/index.cjs294.js +1 -1
  209. package/index.cjs295.js +1 -1
  210. package/index.cjs296.js +1 -1
  211. package/index.cjs297.js +1 -1
  212. package/index.cjs298.js +1 -1
  213. package/index.cjs299.js +1 -1
  214. package/index.cjs30.js +1 -1
  215. package/index.cjs300.js +1 -1
  216. package/index.cjs301.js +1 -1
  217. package/index.cjs302.js +1 -1
  218. package/index.cjs303.js +1 -1
  219. package/index.cjs304.js +1 -1
  220. package/index.cjs305.js +1 -1
  221. package/index.cjs306.js +1 -1
  222. package/index.cjs307.js +1 -1
  223. package/index.cjs308.js +1 -1
  224. package/index.cjs309.js +1 -1
  225. package/index.cjs31.js +1 -1
  226. package/index.cjs310.js +1 -1
  227. package/index.cjs311.js +1 -1
  228. package/index.cjs312.js +1 -1
  229. package/index.cjs313.js +1 -1
  230. package/index.cjs314.js +1 -1
  231. package/index.cjs315.js +1 -1
  232. package/index.cjs316.js +1 -1
  233. package/index.cjs317.js +1 -1
  234. package/index.cjs318.js +1 -1
  235. package/index.cjs319.js +1 -1
  236. package/index.cjs32.js +1 -1
  237. package/index.cjs320.js +1 -1
  238. package/index.cjs321.js +1 -1
  239. package/index.cjs322.js +1 -1
  240. package/index.cjs323.js +1 -1
  241. package/index.cjs324.js +1 -1
  242. package/index.cjs325.js +1 -1
  243. package/index.cjs326.js +1 -1
  244. package/index.cjs327.js +1 -1
  245. package/index.cjs328.js +1 -1
  246. package/index.cjs329.js +1 -1
  247. package/index.cjs33.js +1 -1
  248. package/index.cjs330.js +1 -1
  249. package/index.cjs331.js +1 -1
  250. package/index.cjs332.js +1 -1
  251. package/index.cjs333.js +1 -1
  252. package/index.cjs334.js +1 -1
  253. package/index.cjs335.js +1 -1
  254. package/index.cjs336.js +1 -1
  255. package/index.cjs337.js +1 -1
  256. package/index.cjs338.js +1 -1
  257. package/index.cjs339.js +1 -1
  258. package/index.cjs340.js +1 -1
  259. package/index.cjs341.js +1 -1
  260. package/index.cjs342.js +1 -1
  261. package/index.cjs343.js +1 -1
  262. package/index.cjs344.js +1 -1
  263. package/index.cjs345.js +1 -1
  264. package/index.cjs346.js +1 -1
  265. package/index.cjs347.js +1 -1
  266. package/index.cjs348.js +1 -1
  267. package/index.cjs349.js +1 -1
  268. package/index.cjs350.js +1 -1
  269. package/index.cjs351.js +1 -1
  270. package/index.cjs352.js +1 -1
  271. package/index.cjs353.js +1 -1
  272. package/index.cjs354.js +1 -1
  273. package/index.cjs355.js +1 -1
  274. package/index.cjs356.js +1 -1
  275. package/index.cjs357.js +1 -1
  276. package/index.cjs358.js +1 -2
  277. package/index.cjs359.js +1 -1
  278. package/index.cjs36.js +1 -1
  279. package/index.cjs360.js +1 -1
  280. package/index.cjs361.js +1 -1
  281. package/index.cjs362.js +1 -1
  282. package/index.cjs363.js +1 -1
  283. package/index.cjs364.js +2 -1
  284. package/index.cjs365.js +1 -1
  285. package/index.cjs366.js +1 -1
  286. package/index.cjs367.js +1 -1
  287. package/index.cjs368.js +1 -1
  288. package/index.cjs369.js +1 -1
  289. package/index.cjs37.js +1 -1
  290. package/index.cjs370.js +1 -1
  291. package/index.cjs374.js +1 -1
  292. package/index.cjs375.js +1 -1
  293. package/index.cjs376.js +1 -1
  294. package/index.cjs377.js +1 -74
  295. package/index.cjs378.js +74 -1
  296. package/index.cjs379.js +1 -1
  297. package/index.cjs38.js +1 -1
  298. package/index.cjs380.js +1 -1
  299. package/index.cjs381.js +1 -1
  300. package/index.cjs382.js +1 -1
  301. package/index.cjs383.js +1 -1
  302. package/index.cjs384.js +1 -1
  303. package/index.cjs39.js +1 -1
  304. package/index.cjs399.js +1 -1
  305. package/index.cjs4.js +1 -1
  306. package/index.cjs40.js +1 -1
  307. package/index.cjs401.js +1 -1
  308. package/index.cjs41.js +1 -1
  309. package/index.cjs42.js +1 -1
  310. package/index.cjs44.js +1 -1
  311. package/index.cjs45.js +1 -1
  312. package/index.cjs46.js +1 -1
  313. package/index.cjs47.js +1 -1
  314. package/index.cjs48.js +1 -1
  315. package/index.cjs50.js +1 -1
  316. package/index.cjs51.js +1 -1
  317. package/index.cjs52.js +1 -1
  318. package/index.cjs53.js +1 -1
  319. package/index.cjs54.js +1 -1
  320. package/index.cjs58.js +1 -1
  321. package/index.cjs60.js +1 -1
  322. package/index.cjs61.js +1 -1
  323. package/index.cjs63.js +1 -1
  324. package/index.cjs64.js +1 -1
  325. package/index.cjs69.js +1 -1
  326. package/index.cjs7.js +1 -1
  327. package/index.cjs70.js +1 -1
  328. package/index.cjs71.js +1 -1
  329. package/index.cjs72.js +1 -1
  330. package/index.cjs73.js +1 -1
  331. package/index.cjs78.js +1 -1
  332. package/index.cjs79.js +1 -1
  333. package/index.cjs8.js +1 -1
  334. package/index.cjs82.js +1 -1
  335. package/index.cjs83.js +1 -1
  336. package/index.cjs84.js +1 -1
  337. package/index.cjs85.js +1 -1
  338. package/index.cjs86.js +1 -1
  339. package/index.cjs89.js +1 -1
  340. package/index.cjs9.js +1 -1
  341. package/index.cjs93.js +1 -1
  342. package/index.cjs97.js +1 -1
  343. package/index.cjs98.js +1 -1
  344. package/index.cjs99.js +1 -1
  345. package/index.es10.js +3 -3
  346. package/index.es100.js +3 -21
  347. package/index.es101.js +2338 -24
  348. package/index.es102.js +20 -1712
  349. package/index.es103.js +2567 -33
  350. package/index.es104.js +2116 -2560
  351. package/index.es105.js +10 -321
  352. package/index.es106.js +470 -10
  353. package/index.es107.js +5 -5
  354. package/index.es108.js +87 -10
  355. package/index.es109.js +24 -8
  356. package/index.es110.js +1707 -27
  357. package/index.es111.js +35 -38
  358. package/index.es112.js +2596 -11
  359. package/index.es113.js +321 -10
  360. package/index.es114.js +5 -5
  361. package/index.es115.js +5 -5
  362. package/index.es116.js +4 -4
  363. package/index.es117.js +8 -2569
  364. package/index.es118.js +35 -143
  365. package/index.es119.js +37 -116
  366. package/index.es12.js +3 -3
  367. package/index.es120.js +11 -137
  368. package/index.es121.js +11 -223
  369. package/index.es122.js +11 -516
  370. package/index.es123.js +5 -5
  371. package/index.es124.js +5 -5
  372. package/index.es125.js +142 -12
  373. package/index.es126.js +117 -11
  374. package/index.es127.js +137 -11
  375. package/index.es128.js +218 -200
  376. package/index.es129.js +516 -11
  377. package/index.es13.js +2 -2
  378. package/index.es130.js +10 -4
  379. package/index.es131.js +5 -5
  380. package/index.es132.js +4 -4
  381. package/index.es133.js +4 -4
  382. package/index.es134.js +5 -5
  383. package/index.es135.js +205 -11
  384. package/index.es136.js +5 -5
  385. package/index.es137.js +4 -10
  386. package/index.es138.js +10 -1
  387. package/index.es139.js +11 -2
  388. package/index.es140.js +11 -2
  389. package/index.es141.js +11 -2
  390. package/index.es142.js +11 -2
  391. package/index.es143.js +11 -2
  392. package/index.es144.js +5 -5
  393. package/index.es145.js +2 -11
  394. package/index.es146.js +2 -11
  395. package/index.es147.js +2 -11
  396. package/index.es148.js +2 -3
  397. package/index.es149.js +2 -11
  398. package/index.es15.js +5 -5
  399. package/index.es150.js +2 -11
  400. package/index.es151.js +5 -5
  401. package/index.es152.js +5 -5
  402. package/index.es153.js +5 -5
  403. package/index.es154.js +5 -5
  404. package/index.es155.js +5 -5
  405. package/index.es156.js +4 -4
  406. package/index.es157.js +11 -22
  407. package/index.es158.js +4 -4
  408. package/index.es159.js +11 -22
  409. package/index.es160.js +5 -5
  410. package/index.es161.js +5 -5
  411. package/index.es162.js +11 -12
  412. package/index.es163.js +22 -11
  413. package/index.es164.js +5 -5
  414. package/index.es165.js +5 -5
  415. package/index.es166.js +5 -5
  416. package/index.es167.js +11 -138
  417. package/index.es168.js +11 -6
  418. package/index.es169.js +11 -2338
  419. package/index.es17.js +1 -1
  420. package/index.es170.js +11 -2152
  421. package/index.es171.js +11 -11
  422. package/index.es172.js +16 -3
  423. package/index.es173.js +8 -480
  424. package/index.es174.js +46 -229
  425. package/index.es175.js +5 -53
  426. package/index.es176.js +2 -6
  427. package/index.es177.js +2260 -38
  428. package/index.es178.js +3 -33
  429. package/index.es179.js +479 -11
  430. package/index.es180.js +2 -18
  431. package/index.es181.js +57 -34
  432. package/index.es182.js +56 -1223
  433. package/index.es183.js +13 -14
  434. package/index.es184.js +25 -8
  435. package/index.es185.js +10 -49
  436. package/index.es186.js +39 -2
  437. package/index.es187.js +1999 -2260
  438. package/index.es188.js +6 -10
  439. package/index.es189.js +71 -12
  440. package/index.es190.js +25 -13
  441. package/index.es191.js +4 -106
  442. package/index.es192.js +2 -25
  443. package/index.es193.js +231 -49
  444. package/index.es194.js +51 -368
  445. package/index.es195.js +38 -61
  446. package/index.es196.js +30 -47
  447. package/index.es197.js +12 -6
  448. package/index.es198.js +2 -5
  449. package/index.es199.js +8 -47
  450. package/index.es20.js +1 -1
  451. package/index.es200.js +2 -22
  452. package/index.es201.js +98 -6
  453. package/index.es202.js +26 -10
  454. package/index.es203.js +39 -11
  455. package/index.es204.js +16 -15
  456. package/index.es205.js +35 -230
  457. package/index.es206.js +1223 -24
  458. package/index.es207.js +2 -12
  459. package/index.es208.js +43 -277
  460. package/index.es209.js +51 -261
  461. package/index.es21.js +3 -3
  462. package/index.es210.js +9 -15
  463. package/index.es211.js +12 -14
  464. package/index.es212.js +13 -21
  465. package/index.es213.js +106 -8
  466. package/index.es214.js +25 -5
  467. package/index.es215.js +51 -5
  468. package/index.es216.js +371 -5
  469. package/index.es217.js +62 -2
  470. package/index.es218.js +47 -57
  471. package/index.es219.js +6 -57
  472. package/index.es22.js +1 -1
  473. package/index.es220.js +5 -13
  474. package/index.es221.js +46 -24
  475. package/index.es222.js +22 -11
  476. package/index.es223.js +6 -39
  477. package/index.es224.js +10 -2000
  478. package/index.es225.js +11 -7
  479. package/index.es226.js +16 -71
  480. package/index.es227.js +229 -24
  481. package/index.es228.js +24 -3
  482. package/index.es229.js +12 -2
  483. package/index.es23.js +6 -6
  484. package/index.es230.js +279 -2
  485. package/index.es231.js +261 -7
  486. package/index.es232.js +16 -326
  487. package/index.es233.js +14 -50
  488. package/index.es234.js +20 -29
  489. package/index.es235.js +8 -34
  490. package/index.es236.js +5 -53
  491. package/index.es237.js +5 -119
  492. package/index.es238.js +5 -9
  493. package/index.es239.js +2 -163
  494. package/index.es240.js +2 -310
  495. package/index.es241.js +2 -127
  496. package/index.es242.js +8 -180
  497. package/index.es243.js +325 -24
  498. package/index.es244.js +49 -60
  499. package/index.es245.js +30 -5
  500. package/index.es246.js +34 -36
  501. package/index.es247.js +53 -26
  502. package/index.es248.js +103 -170
  503. package/index.es249.js +9 -138
  504. package/index.es25.js +1 -1
  505. package/index.es250.js +163 -2
  506. package/index.es251.js +310 -8
  507. package/index.es252.js +127 -2
  508. package/index.es253.js +178 -96
  509. package/index.es254.js +24 -24
  510. package/index.es255.js +59 -36
  511. package/index.es256.js +5 -2
  512. package/index.es257.js +36 -60
  513. package/index.es258.js +25 -16
  514. package/index.es259.js +184 -242
  515. package/index.es260.js +138 -74
  516. package/index.es261.js +2 -5
  517. package/index.es262.js +58 -56
  518. package/index.es263.js +17 -11
  519. package/index.es264.js +243 -6
  520. package/index.es265.js +73 -35
  521. package/index.es266.js +4 -26
  522. package/index.es267.js +57 -290
  523. package/index.es268.js +11 -91
  524. package/index.es269.js +7 -3
  525. package/index.es27.js +1 -1
  526. package/index.es270.js +35 -7
  527. package/index.es271.js +25 -14
  528. package/index.es272.js +290 -146
  529. package/index.es273.js +91 -2
  530. package/index.es274.js +3 -69
  531. package/index.es275.js +7 -84
  532. package/index.es276.js +15 -47
  533. package/index.es277.js +146 -8
  534. package/index.es278.js +2 -5
  535. package/index.es279.js +63 -46
  536. package/index.es28.js +1 -1
  537. package/index.es280.js +85 -38
  538. package/index.es281.js +48 -3
  539. package/index.es282.js +9 -11
  540. package/index.es283.js +5 -120
  541. package/index.es284.js +51 -6
  542. package/index.es285.js +38 -8
  543. package/index.es286.js +3 -8
  544. package/index.es287.js +8 -348
  545. package/index.es288.js +7 -94
  546. package/index.es289.js +351 -10
  547. package/index.es29.js +2 -2
  548. package/index.es290.js +95 -3
  549. package/index.es291.js +10 -206
  550. package/index.es292.js +3 -116
  551. package/index.es293.js +206 -7
  552. package/index.es294.js +120 -8
  553. package/index.es295.js +6 -15
  554. package/index.es296.js +8 -2
  555. package/index.es297.js +114 -43
  556. package/index.es298.js +6 -51
  557. package/index.es299.js +8 -5
  558. package/index.es30.js +2 -2
  559. package/index.es300.js +16 -17
  560. package/index.es301.js +13 -17
  561. package/index.es302.js +143 -17
  562. package/index.es303.js +43 -17
  563. package/index.es304.js +3 -17
  564. package/index.es305.js +41 -17
  565. package/index.es306.js +8 -17
  566. package/index.es307.js +76 -13
  567. package/index.es308.js +55 -143
  568. package/index.es309.js +7 -42
  569. package/index.es31.js +3 -3
  570. package/index.es310.js +76 -3
  571. package/index.es311.js +23 -40
  572. package/index.es312.js +61 -7
  573. package/index.es313.js +4 -75
  574. package/index.es314.js +6 -54
  575. package/index.es315.js +31 -7
  576. package/index.es316.js +56 -73
  577. package/index.es317.js +12 -23
  578. package/index.es318.js +4 -62
  579. package/index.es319.js +9 -4
  580. package/index.es32.js +1 -1
  581. package/index.es320.js +55 -7
  582. package/index.es321.js +3 -31
  583. package/index.es322.js +5 -59
  584. package/index.es323.js +17 -13
  585. package/index.es324.js +17 -4
  586. package/index.es325.js +17 -10
  587. package/index.es326.js +17 -55
  588. package/index.es327.js +16 -3
  589. package/index.es328.js +17 -2
  590. package/index.es329.js +17 -2
  591. package/index.es33.js +1 -1
  592. package/index.es330.js +2 -6
  593. package/index.es331.js +2 -21
  594. package/index.es332.js +5 -23
  595. package/index.es333.js +24 -6
  596. package/index.es334.js +21 -3
  597. package/index.es335.js +6 -4
  598. package/index.es336.js +3 -19
  599. package/index.es337.js +3 -66
  600. package/index.es338.js +18 -15
  601. package/index.es339.js +65 -13
  602. package/index.es340.js +15 -4
  603. package/index.es341.js +15 -5
  604. package/index.es342.js +15 -6
  605. package/index.es343.js +7 -7
  606. package/index.es344.js +5 -19
  607. package/index.es345.js +5 -4
  608. package/index.es346.js +6 -5
  609. package/index.es347.js +19 -3
  610. package/index.es348.js +4 -72
  611. package/index.es349.js +6 -4
  612. package/index.es350.js +3 -16
  613. package/index.es351.js +71 -6
  614. package/index.es352.js +3 -29
  615. package/index.es353.js +6 -9
  616. package/index.es354.js +29 -7
  617. package/index.es355.js +9 -6
  618. package/index.es356.js +8 -2
  619. package/index.es357.js +7 -2
  620. package/index.es358.js +9 -78
  621. package/index.es359.js +8 -256
  622. package/index.es36.js +1 -1
  623. package/index.es360.js +3 -31
  624. package/index.es361.js +4 -6
  625. package/index.es362.js +43 -129
  626. package/index.es363.js +27 -17
  627. package/index.es364.js +78 -7
  628. package/index.es365.js +256 -8
  629. package/index.es366.js +31 -3
  630. package/index.es367.js +6 -9
  631. package/index.es368.js +131 -3
  632. package/index.es369.js +17 -48
  633. package/index.es37.js +1 -1
  634. package/index.es370.js +6 -24
  635. package/index.es374.js +2 -6
  636. package/index.es375.js +5 -3
  637. package/index.es376.js +4 -2
  638. package/index.es377.js +2 -251
  639. package/index.es378.js +251 -8
  640. package/index.es379.js +8 -3
  641. package/index.es38.js +1 -1
  642. package/index.es380.js +3 -2
  643. package/index.es381.js +1 -1
  644. package/index.es382.js +8 -8
  645. package/index.es383.js +1 -1
  646. package/index.es384.js +1 -1
  647. package/index.es39.js +2 -2
  648. package/index.es399.js +2 -2
  649. package/index.es4.js +4 -4
  650. package/index.es40.js +1 -1
  651. package/index.es401.js +2 -2
  652. package/index.es41.js +2 -2
  653. package/index.es42.js +7 -7
  654. package/index.es44.js +4 -4
  655. package/index.es45.js +4 -4
  656. package/index.es46.js +10 -10
  657. package/index.es47.js +2 -2
  658. package/index.es48.js +12 -12
  659. package/index.es50.js +1 -1
  660. package/index.es51.js +1 -1
  661. package/index.es52.js +2 -2
  662. package/index.es53.js +2 -2
  663. package/index.es54.js +3 -3
  664. package/index.es58.js +2 -2
  665. package/index.es60.js +2 -2
  666. package/index.es61.js +5 -5
  667. package/index.es63.js +7 -7
  668. package/index.es64.js +3 -3
  669. package/index.es69.js +1 -1
  670. package/index.es7.js +1 -1
  671. package/index.es70.js +1 -1
  672. package/index.es71.js +3 -3
  673. package/index.es72.js +4 -4
  674. package/index.es73.js +1 -1
  675. package/index.es78.js +1 -1
  676. package/index.es79.js +1 -1
  677. package/index.es8.js +1 -1
  678. package/index.es82.js +5 -5
  679. package/index.es83.js +1 -1
  680. package/index.es84.js +1 -1
  681. package/index.es85.js +2 -2
  682. package/index.es86.js +1 -1
  683. package/index.es89.js +1 -1
  684. package/index.es9.js +6 -6
  685. package/index.es93.js +2 -2
  686. package/index.es97.js +20 -469
  687. package/index.es98.js +138 -10
  688. package/index.es99.js +6 -88
  689. package/package.json +1 -1
  690. package/tsconfig.json +26 -8
  691. package/tsconfig.node.json +10 -0
package/index.cjs7.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),f=require("./index.cjs82.js"),P=require("./index.cjs86.js"),C=require("./index.cjs27.js"),T=require("./index.cjs34.js"),j=require("./index.cjs56.js"),G=require("./index.cjs59.js"),h=require("react"),w=require("./index.cjs94.js"),O=require("./index.cjs3.js"),A=require("./index.cjs14.js"),E=require("./index.cjs61.js"),k=require("./index.cjs98.js"),q=j.Popover,R=C.CommandInput,I=C.CommandEmpty,y=C.CommandItem,v=h.forwardRef(({className:e,children:a,...n},s)=>r.jsx(j.PopoverContent,{className:"min-w-[var(--radix-popover-trigger-width)] p-space-02",ref:s,...n,children:r.jsx(C.Command,{children:a})}));v.displayName="ComboboxContent";const S=h.forwardRef(({className:e,children:a,variant:n,colors:s,size:d,rounded:m,placeholder:l,isLoading:b,isForm:o=!0,...i},u)=>{const g={ref:u,role:"combobox","aria-expanded":!1,"aria-label":l||"Select an option",title:l||"Select an option",disabled:b,className:f.cn(E.selectVariants({variant:n,colors:s,size:d,rounded:m}),e),...i},x=r.jsxs(r.Fragment,{children:[l&&!a&&r.jsx("span",{className:"pointer-events-none text-body-01 text-form-field-text-placeholder",children:l}),a&&r.jsx("span",{className:"flex-1 text-right",children:a}),b?r.jsx(O.default,{}):r.jsx(k.default,{className:"size-[20px] shrink-0 transition-transform duration-300 ease-in-out group-data-[state=open]:rotate-180","aria-hidden":!0})]});return o?r.jsx(j.PopoverTrigger,{asChild:!0,children:r.jsx(T.FormControl,{children:r.jsx("button",{...g,children:x})})}):r.jsx(j.PopoverTrigger,{asChild:!0,children:r.jsx("button",{...g,children:x})})});S.displayName="ComboboxTrigger";const N=h.forwardRef(({className:e,children:a,...n},s)=>{const{dir:d}=P.default(),m=h.Children.count(a);return r.jsxs(v,{children:[m>9&&r.jsxs(r.Fragment,{children:[r.jsx(R,{placeholder:n==null?void 0:n.placeholder}),r.jsx(I,{children:w.strings.Shared.NoDataFound})]}),r.jsx(G.ScrollArea,{className:f.cn({"h-auto":m<=7,"h-48 sm:h-64":m>7}),dir:d,children:r.jsx(C.CommandGroup,{ref:s,...n,dir:document.dir,children:a})})]})});N.displayName="ComboboxGroup";const z=({options:e,optionLabel:a,placeholder:n,isLoading:s,optionValue:d,onChange:m,value:l,triggerProps:b,...o})=>{var x;const[i,u]=h.useState(!1),g=(e==null?void 0:e.length)&&((x=e==null?void 0:e.find(c=>String(c[d])===l))==null?void 0:x[a])||"";return r.jsxs(q,{open:i,onOpenChange:c=>u(c),children:[r.jsx(S,{...b,placeholder:n,isLoading:s,disabled:o==null?void 0:o.disabled,...o,children:g.toString()}),r.jsx(N,{placeholder:n,className:"w-space-10",children:!!(e!=null&&e.length)&&(e==null?void 0:e.map(c=>r.jsx(y,{className:f.cn({relative:!0,"after:absolute after:bottom-auto after:right-space-01 after:top-auto after:h-[75%] after:w-[2px] after:rounded-full after:bg-primary":String(c[d])===l}),value:String(c[a]),onSelect:()=>{m(String(c[d])),u(!1)},children:String(c==null?void 0:c[a])},String(c[d]))))})]})},D=({options:e,optionLabel:a,placeholder:n,isLoading:s,optionValue:d,onChange:m,value:l,triggerProps:b,isDate:o,disabledOption:i,...u})=>{var F;const[g,x]=h.useState(!1),c=(e==null?void 0:e.length)&&((F=e==null?void 0:e.find(t=>String(t[d])===l))==null?void 0:F[a])||"";return r.jsxs(q,{open:g,onOpenChange:t=>x(t),children:[r.jsx(S,{isForm:!1,...b,placeholder:n,isLoading:s,disabled:u==null?void 0:u.disabled,...u,children:o?f.dateFormatter({date:String(c)??"",format:"long"}):c.toString()}),r.jsxs(N,{placeholder:n,children:[r.jsx(A.ShouldRender,{shouldRender:!e||(e==null?void 0:e.length)<1,children:r.jsx("span",{className:"flex items-center justify-center",children:w.strings.Shared.NoDataFound})}),!!(e!=null&&e.length)&&(e==null?void 0:e.map(t=>r.jsx(y,{className:f.cn({relative:!0,"after:absolute after:bottom-auto after:start-space-01 after:top-auto after:h-[50%] after:w-[2px] after:rounded-full after:bg-primary":String(t[d])===l}),value:String(t[a]),disabled:i&&i(t),onSelect:()=>{m(String(t[d])),x(!1)},children:o?f.dateFormatter({date:String(t==null?void 0:t[a])??"",format:"long"}):String(t==null?void 0:t[a])},String(t[d]))))]})]})};exports.Combobox=q;exports.ComboboxContent=v;exports.ComboboxControl=z;exports.ComboboxControlNoForm=D;exports.ComboboxEmpty=I;exports.ComboboxGroup=N;exports.ComboboxInput=R;exports.ComboboxItem=y;exports.ComboboxTrigger=S;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),f=require("./index.cjs82.js"),P=require("./index.cjs86.js"),C=require("./index.cjs27.js"),T=require("./index.cjs34.js"),j=require("./index.cjs56.js"),G=require("./index.cjs59.js"),h=require("react"),w=require("./index.cjs94.js"),O=require("./index.cjs3.js"),A=require("./index.cjs14.js"),E=require("./index.cjs61.js"),k=require("./index.cjs107.js"),q=j.Popover,R=C.CommandInput,I=C.CommandEmpty,y=C.CommandItem,v=h.forwardRef(({className:e,children:a,...n},s)=>r.jsx(j.PopoverContent,{className:"min-w-[var(--radix-popover-trigger-width)] p-space-02",ref:s,...n,children:r.jsx(C.Command,{children:a})}));v.displayName="ComboboxContent";const S=h.forwardRef(({className:e,children:a,variant:n,colors:s,size:d,rounded:m,placeholder:l,isLoading:b,isForm:o=!0,...i},u)=>{const g={ref:u,role:"combobox","aria-expanded":!1,"aria-label":l||"Select an option",title:l||"Select an option",disabled:b,className:f.cn(E.selectVariants({variant:n,colors:s,size:d,rounded:m}),e),...i},x=r.jsxs(r.Fragment,{children:[l&&!a&&r.jsx("span",{className:"pointer-events-none text-body-01 text-form-field-text-placeholder",children:l}),a&&r.jsx("span",{className:"flex-1 text-right",children:a}),b?r.jsx(O.default,{}):r.jsx(k.default,{className:"size-[20px] shrink-0 transition-transform duration-300 ease-in-out group-data-[state=open]:rotate-180","aria-hidden":!0})]});return o?r.jsx(j.PopoverTrigger,{asChild:!0,children:r.jsx(T.FormControl,{children:r.jsx("button",{...g,children:x})})}):r.jsx(j.PopoverTrigger,{asChild:!0,children:r.jsx("button",{...g,children:x})})});S.displayName="ComboboxTrigger";const N=h.forwardRef(({className:e,children:a,...n},s)=>{const{dir:d}=P.default(),m=h.Children.count(a);return r.jsxs(v,{children:[m>9&&r.jsxs(r.Fragment,{children:[r.jsx(R,{placeholder:n==null?void 0:n.placeholder}),r.jsx(I,{children:w.strings.Shared.NoDataFound})]}),r.jsx(G.ScrollArea,{className:f.cn({"h-auto":m<=7,"h-48 sm:h-64":m>7}),dir:d,children:r.jsx(C.CommandGroup,{ref:s,...n,dir:document.dir,children:a})})]})});N.displayName="ComboboxGroup";const z=({options:e,optionLabel:a,placeholder:n,isLoading:s,optionValue:d,onChange:m,value:l,triggerProps:b,...o})=>{var x;const[i,u]=h.useState(!1),g=(e==null?void 0:e.length)&&((x=e==null?void 0:e.find(c=>String(c[d])===l))==null?void 0:x[a])||"";return r.jsxs(q,{open:i,onOpenChange:c=>u(c),children:[r.jsx(S,{...b,placeholder:n,isLoading:s,disabled:o==null?void 0:o.disabled,...o,children:g.toString()}),r.jsx(N,{placeholder:n,className:"w-space-10",children:!!(e!=null&&e.length)&&(e==null?void 0:e.map(c=>r.jsx(y,{className:f.cn({relative:!0,"after:absolute after:bottom-auto after:right-space-01 after:top-auto after:h-[75%] after:w-[2px] after:rounded-full after:bg-primary":String(c[d])===l}),value:String(c[a]),onSelect:()=>{m(String(c[d])),u(!1)},children:String(c==null?void 0:c[a])},String(c[d]))))})]})},D=({options:e,optionLabel:a,placeholder:n,isLoading:s,optionValue:d,onChange:m,value:l,triggerProps:b,isDate:o,disabledOption:i,...u})=>{var F;const[g,x]=h.useState(!1),c=(e==null?void 0:e.length)&&((F=e==null?void 0:e.find(t=>String(t[d])===l))==null?void 0:F[a])||"";return r.jsxs(q,{open:g,onOpenChange:t=>x(t),children:[r.jsx(S,{isForm:!1,...b,placeholder:n,isLoading:s,disabled:u==null?void 0:u.disabled,...u,children:o?f.dateFormatter({date:String(c)??"",format:"long"}):c.toString()}),r.jsxs(N,{placeholder:n,children:[r.jsx(A.ShouldRender,{shouldRender:!e||(e==null?void 0:e.length)<1,children:r.jsx("span",{className:"flex items-center justify-center",children:w.strings.Shared.NoDataFound})}),!!(e!=null&&e.length)&&(e==null?void 0:e.map(t=>r.jsx(y,{className:f.cn({relative:!0,"after:absolute after:bottom-auto after:start-space-01 after:top-auto after:h-[50%] after:w-[2px] after:rounded-full after:bg-primary":String(t[d])===l}),value:String(t[a]),disabled:i&&i(t),onSelect:()=>{m(String(t[d])),x(!1)},children:o?f.dateFormatter({date:String(t==null?void 0:t[a])??"",format:"long"}):String(t==null?void 0:t[a])},String(t[d]))))]})]})};exports.Combobox=q;exports.ComboboxContent=v;exports.ComboboxControl=z;exports.ComboboxControlNoForm=D;exports.ComboboxEmpty=I;exports.ComboboxGroup=N;exports.ComboboxInput=R;exports.ComboboxItem=y;exports.ComboboxTrigger=S;
package/index.cjs70.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),b=require("./index.cjs103.js"),m=require("react"),x=require("./index.cjs82.js"),h=require("./index.cjs14.js");require("./index.cjs34.js");const v=require("./index.cjs35.js");function g(a){const d=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const t in a)if(t!=="default"){const l=Object.getOwnPropertyDescriptor(a,t);Object.defineProperty(d,t,l.get?l:{enumerable:!0,get:()=>a[t]})}}return d.default=a,Object.freeze(d)}const w=g(m),j=b.cva(`flex relative overflow-hidden min-h-[10rem] w-full ps-space-04 text-body-02 overflow-hidden text-form-field-text-filled
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),b=require("./index.cjs111.js"),m=require("react"),x=require("./index.cjs82.js"),h=require("./index.cjs14.js");require("./index.cjs34.js");const v=require("./index.cjs35.js");function g(a){const d=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const t in a)if(t!=="default"){const l=Object.getOwnPropertyDescriptor(a,t);Object.defineProperty(d,t,l.get?l:{enumerable:!0,get:()=>a[t]})}}return d.default=a,Object.freeze(d)}const w=g(m),j=b.cva(`flex relative overflow-hidden min-h-[10rem] w-full ps-space-04 text-body-02 overflow-hidden text-form-field-text-filled
2
2
  aria-[disabled=true]:cursor-not-allowed aria-[disabled=true]:text-disabled-text-default-disabled
3
3
  aria-[invalid=true]:border-form-field-border-error focus-within:aria-[invalid=true]:after:bg-form-field-border-error focus-within:shadow-md
4
4
  after:absolute after:bottom-0 after:w-0 after:h-[2px] ltr:after:-translate-x-1/2 rtl:after:translate-x-1/2 after:start-1/2 after:bg-form-field-border-pressed after:ease-in-out after:transition-all focus-within:after:w-full
package/index.cjs71.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),v=require("@radix-ui/react-toast"),l=require("./index.cjs103.js"),w=require("react"),n=require("./index.cjs82.js"),y=require("./index.cjs22.js"),T=require("./index.cjs106.js"),h=require("./index.cjs164.js");function c(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const r=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(e,o,r.get?r:{enumerable:!0,get:()=>t[o]})}}return e.default=t,Object.freeze(e)}const a=c(v),i=c(w),N=a.Provider,j=l.cva("fixed z-[10000000000000] flex max-h-screen w-full flex-col p-4 lg:max-w-[500px] ",{variants:{position:{top:"ltr:sm:right-1/2 ltr:sm:translate-x-1/2 rtl:sm:left-1/2 rtl:sm:-translate-x-1/2 sm:top-10 sm:bottom-auto top-space-05",bottom:"ltr:sm:right-1/2 ltr:sm:translate-x-1/2 rtl:sm:left-1/2 rtl:sm:-translate-x-1/2 sm:bottom-10 sm:top-auto bottom-space-05","top-right":"end-0 sm:top-10 sm:bottom-auto top-space-05","top-left":"start-0 sm:top-10 sm:bottom-auto top-space-05","bottom-right":"end-0 sm:bottom-10 sm:top-auto bottom-space-05","bottom-left":"start-0 sm:bottom-10 sm:top-auto bottom-space-05"}},defaultVariants:{position:"bottom"}}),d=i.forwardRef(({className:t,position:e,...o},r)=>s.jsx(a.Viewport,{ref:r,className:n.cn(j({position:e}),t),...o}));d.displayName=a.Viewport.displayName;const k=l.cva(`group pointer-events-auto gap-space-03 relative bg-background-notification-white flex sm:flex-row w-full items-center space-x-4 overflow-hidden
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),v=require("@radix-ui/react-toast"),l=require("./index.cjs111.js"),w=require("react"),n=require("./index.cjs82.js"),y=require("./index.cjs22.js"),T=require("./index.cjs114.js"),h=require("./index.cjs169.js");function c(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const r=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(e,o,r.get?r:{enumerable:!0,get:()=>t[o]})}}return e.default=t,Object.freeze(e)}const a=c(v),i=c(w),N=a.Provider,j=l.cva("fixed z-[10000000000000] flex max-h-screen w-full flex-col p-4 lg:max-w-[500px] ",{variants:{position:{top:"ltr:sm:right-1/2 ltr:sm:translate-x-1/2 rtl:sm:left-1/2 rtl:sm:-translate-x-1/2 sm:top-10 sm:bottom-auto top-space-05",bottom:"ltr:sm:right-1/2 ltr:sm:translate-x-1/2 rtl:sm:left-1/2 rtl:sm:-translate-x-1/2 sm:bottom-10 sm:top-auto bottom-space-05","top-right":"end-0 sm:top-10 sm:bottom-auto top-space-05","top-left":"start-0 sm:top-10 sm:bottom-auto top-space-05","bottom-right":"end-0 sm:bottom-10 sm:top-auto bottom-space-05","bottom-left":"start-0 sm:bottom-10 sm:top-auto bottom-space-05"}},defaultVariants:{position:"bottom"}}),d=i.forwardRef(({className:t,position:e,...o},r)=>s.jsx(a.Viewport,{ref:r,className:n.cn(j({position:e}),t),...o}));d.displayName=a.Viewport.displayName;const k=l.cva(`group pointer-events-auto gap-space-03 relative bg-background-notification-white flex sm:flex-row w-full items-center space-x-4 overflow-hidden
2
2
  rounded-1 border border-border-primary px-space-05 py-space-04 shadow-3xl transition-all data-[swipe=cancel]:translate-y-0 data-[swipe=end]:translate-y-[var(--radix-toast-swipe-end-x)]
3
3
  data-[swipe=move]:translate-y-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out
4
4
  data-[swipe=end]:animate-out data-[state=closed]:fade-out-80
package/index.cjs72.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("./index.cjs71.js"),d=require("./index.cjs76.js"),x=require("./index.cjs83.js"),j=require("./index.cjs165.js"),f=require("./index.cjs166.js"),n=require("./index.cjs164.js"),T=require("./index.cjs153.js"),g={destructive:e.jsx(j.default,{}),success:e.jsx(f.default,{}),default:e.jsx(n.default,{}),info:e.jsx(n.default,{}),warning:e.jsx(T.default,{})};function m({position:r="bottom"}){const{toasts:l}=d.useToast(),u=x.default(t=>t.isActive);return e.jsxs(s.ToastProvider,{children:[l.map(function({id:t,title:c,description:i,action:o,...a}){return e.jsx(s.Toast,{...a,className:`${u?"grayscale":"grayscale-0"}`,position:r,children:e.jsxs("div",{className:"flex grow flex-col justify-between gap-space-04",children:[e.jsxs("div",{className:"flex w-full gap-space-03",children:[e.jsx(s.ToastIcon,{icon:a.variant&&g[a.variant]}),e.jsxs("div",{className:"grid flex-1 gap-space-01",children:[c&&e.jsx(s.ToastTitle,{children:c}),i&&e.jsx(s.ToastDescription,{children:i})]}),e.jsx(s.ToastClose,{})]}),o&&e.jsx("div",{className:"mx-space-07",children:o})]})},t)}),e.jsx(s.ToastViewport,{position:r})]})}exports.Toaster=m;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("./index.cjs71.js"),d=require("./index.cjs76.js"),x=require("./index.cjs83.js"),j=require("./index.cjs170.js"),f=require("./index.cjs171.js"),n=require("./index.cjs169.js"),T=require("./index.cjs159.js"),g={destructive:e.jsx(j.default,{}),success:e.jsx(f.default,{}),default:e.jsx(n.default,{}),info:e.jsx(n.default,{}),warning:e.jsx(T.default,{})};function m({position:r="bottom"}){const{toasts:l}=d.useToast(),u=x.default(t=>t.isActive);return e.jsxs(s.ToastProvider,{children:[l.map(function({id:t,title:c,description:i,action:o,...a}){return e.jsx(s.Toast,{...a,className:`${u?"grayscale":"grayscale-0"}`,position:r,children:e.jsxs("div",{className:"flex grow flex-col justify-between gap-space-04",children:[e.jsxs("div",{className:"flex w-full gap-space-03",children:[e.jsx(s.ToastIcon,{icon:a.variant&&g[a.variant]}),e.jsxs("div",{className:"grid flex-1 gap-space-01",children:[c&&e.jsx(s.ToastTitle,{children:c}),i&&e.jsx(s.ToastDescription,{children:i})]}),e.jsx(s.ToastClose,{})]}),o&&e.jsx("div",{className:"mx-space-07",children:o})]})},t)}),e.jsx(s.ToastViewport,{position:r})]})}exports.Toaster=m;
package/index.cjs73.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),b=require("@radix-ui/react-toggle"),u=require("./index.cjs103.js"),l=require("react"),p=require("./index.cjs82.js");function r(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return a.default=e,Object.freeze(a)}const n=r(b),g=r(l),d=u.cva(`group inline-flex items-center justify-center gap-space-01 transition-colors text-text-default data-[state=on]:font-semibold
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),b=require("@radix-ui/react-toggle"),u=require("./index.cjs111.js"),l=require("react"),p=require("./index.cjs82.js");function r(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(a,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return a.default=e,Object.freeze(a)}const n=r(b),g=r(l),d=u.cva(`group inline-flex items-center justify-center gap-space-01 transition-colors text-text-default data-[state=on]:font-semibold
2
2
  disabled:text-disabled-text-default-disabled disabled:pointer-events-none disabled:cursor-not-allowed focus:outline focus:outline-2 focus:outline-offset-1 focus:outline-black
3
3
  `,{variants:{variant:{default:"",outline:"border border-border-neutral-primary disabled:border-disabled disabled:data-[state=on]:bg-disabled-background-disabled disabled:data-[state=on]:border-none"},size:{default:"px-space-04 py-space-02 h-[40px] text-body-02 font-medium [&>svg]:size-space-05",sm:"px-space-03 py-space-01 h-[32px] text-body-01 [&>svg]:size-[20px]",xs:"px-space-03 py-space-01 h-[24px] text-caption-01 [&>svg]:size-space-04",icon:"p-space-02 size-[40px] [&>svg]:size-space-05","icon-sm":"p-space-02 size-[32px] [&>svg]:size-[20px]","icon-xs":"p-space-01 size-[24px] [&>svg]:size-space-04",fit:""},rounded:{default:"rounded",full:"rounded-full"},colors:{default:`hover:bg-button-background-primary-light-hovered
4
4
  hover:border-button-background-primary-light-hovered
package/index.cjs78.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("./index.cjs97.js"),t=a=>(u,e)=>{a.setQueryData(u,r=>typeof e!="function"?e:d.produce(r,c=>{e(c)}))};exports.default=t;exports.useUpdateCachedData=t;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("./index.cjs106.js"),t=a=>(u,e)=>{a.setQueryData(u,r=>typeof e!="function"?e:d.produce(r,c=>{e(c)}))};exports.default=t;exports.useUpdateCachedData=t;
package/index.cjs79.js CHANGED
@@ -1 +1 @@
1
- "use strict";var d=Object.defineProperty;var g=(n,e,t)=>e in n?d(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var i=(n,e,t)=>(g(n,typeof e!="symbol"?e+"":e,t),t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs169.js"),h=require("./index.cjs92.js");require("./index.cjs2.js");const l=require("./index.cjs84.js"),s=class s{constructor(e){i(this,"userManager");i(this,"config");i(this,"user");i(this,"isLoading");i(this,"isAuthenticated");i(this,"error");i(this,"signout",async(e="")=>{var t;this.isLoading=!1,window.location.href=`${(t=this.config)==null?void 0:t.oauth20LogoutUrl}${e}`});this.config=e,this.userManager=new r.UserManager({...h.createIdentityConfig(e),metadata:h.createMetadataConfig(e.authUrl,(e==null?void 0:e.jwks)??"UP_Definition")}),this.isAuthenticated=!1,this.isLoading=!1,this.user=null,this.error=void 0,r.Log.setLogger(console),r.Log.setLevel(r.Log.DEBUG),this.setupEventListeners()}static getInstance(e){return s.instance||(s.instance=new s(e)),s.instance}setupEventListeners(){this.userManager.events.addUserLoaded(e=>{this.user=e,this.isAuthenticated=!(e!=null&&e.expired),this.error=void 0,this.isLoading=!1}),this.userManager.events.addUserUnloaded(()=>{this.isAuthenticated=!1,this.isLoading=!1,this.user=null,this.error=void 0}),this.userManager.events.addSilentRenewError(e=>{this.error=e,this.user=null,this.isAuthenticated=!1,this.isLoading=!1}),this.userManager.events.addAccessTokenExpired(()=>{this.refreshToken().then(e=>{if(!e){const{setExpireSession:t}=l.default.getState();t()}})}),this.userManager.events.addUserSignedIn(()=>{this.isLoading=!1,this.error=void 0})}hasAuthParams(e=window.location){let t=new URLSearchParams(e.search);return!!((t.get("code")||t.get("error"))&&t.get("state")||(t=new URLSearchParams(e.hash.replace("#","?")),(t.get("code")||t.get("error"))&&t.get("state")))}signin(e={}){return this.isLoading=!0,this.error=void 0,this.user=null,this.userManager.signinRedirect({state:e})}completeSignIn(){return this.userManager.signinRedirectCallback().then(async e=>(this.isLoading=!1,e?(this.user=e,this.isAuthenticated=!(e!=null&&e.expired)):this.user=await this.userManager.getUser(),e)).catch(e=>{throw this.isLoading=!1,this.error=e,Error(e)})}getUser(){return this.isLoading=!0,this.userManager.getUser().then(e=>(e&&(this.user=e,this.isAuthenticated=!(e!=null&&e.expired),this.isLoading=!1),e)).catch(e=>{throw this.error=e,this.isLoading=!1,e})}async refreshToken(){return this.userManager.signinSilent().then(e=>(e&&(this.user=e,this.isAuthenticated=!(e!=null&&e.expired),localStorage.setItem("accessToken",(e==null?void 0:e.id_token)??"")),e)).catch(e=>(this.error=e,null))}async clearSession(){return new Promise((e,t)=>{const o=window.open("https://iam-dev.moe.gov.sa/pkmslogout","_blank","width=800,height=600,noopener");o?setTimeout(()=>{o.close(),e()},1e3):t(new Error("Unable to open new popup window"))})}};i(s,"instance",null);let a=s;exports.AuthService=a;
1
+ "use strict";var d=Object.defineProperty;var g=(n,e,t)=>e in n?d(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var i=(n,e,t)=>(g(n,typeof e!="symbol"?e+"":e,t),t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs101.js"),h=require("./index.cjs92.js");require("./index.cjs2.js");const l=require("./index.cjs84.js"),s=class s{constructor(e){i(this,"userManager");i(this,"config");i(this,"user");i(this,"isLoading");i(this,"isAuthenticated");i(this,"error");i(this,"signout",async(e="")=>{var t;this.isLoading=!1,window.location.href=`${(t=this.config)==null?void 0:t.oauth20LogoutUrl}${e}`});this.config=e,this.userManager=new r.UserManager({...h.createIdentityConfig(e),metadata:h.createMetadataConfig(e.authUrl,(e==null?void 0:e.jwks)??"UP_Definition")}),this.isAuthenticated=!1,this.isLoading=!1,this.user=null,this.error=void 0,r.Log.setLogger(console),r.Log.setLevel(r.Log.DEBUG),this.setupEventListeners()}static getInstance(e){return s.instance||(s.instance=new s(e)),s.instance}setupEventListeners(){this.userManager.events.addUserLoaded(e=>{this.user=e,this.isAuthenticated=!(e!=null&&e.expired),this.error=void 0,this.isLoading=!1}),this.userManager.events.addUserUnloaded(()=>{this.isAuthenticated=!1,this.isLoading=!1,this.user=null,this.error=void 0}),this.userManager.events.addSilentRenewError(e=>{this.error=e,this.user=null,this.isAuthenticated=!1,this.isLoading=!1}),this.userManager.events.addAccessTokenExpired(()=>{this.refreshToken().then(e=>{if(!e){const{setExpireSession:t}=l.default.getState();t()}})}),this.userManager.events.addUserSignedIn(()=>{this.isLoading=!1,this.error=void 0})}hasAuthParams(e=window.location){let t=new URLSearchParams(e.search);return!!((t.get("code")||t.get("error"))&&t.get("state")||(t=new URLSearchParams(e.hash.replace("#","?")),(t.get("code")||t.get("error"))&&t.get("state")))}signin(e={}){return this.isLoading=!0,this.error=void 0,this.user=null,this.userManager.signinRedirect({state:e})}completeSignIn(){return this.userManager.signinRedirectCallback().then(async e=>(this.isLoading=!1,e?(this.user=e,this.isAuthenticated=!(e!=null&&e.expired)):this.user=await this.userManager.getUser(),e)).catch(e=>{throw this.isLoading=!1,this.error=e,Error(e)})}getUser(){return this.isLoading=!0,this.userManager.getUser().then(e=>(e&&(this.user=e,this.isAuthenticated=!(e!=null&&e.expired),this.isLoading=!1),e)).catch(e=>{throw this.error=e,this.isLoading=!1,e})}async refreshToken(){return this.userManager.signinSilent().then(e=>(e&&(this.user=e,this.isAuthenticated=!(e!=null&&e.expired),localStorage.setItem("accessToken",(e==null?void 0:e.id_token)??"")),e)).catch(e=>(this.error=e,null))}async clearSession(){return new Promise((e,t)=>{const o=window.open("https://iam-dev.moe.gov.sa/pkmslogout","_blank","width=800,height=600,noopener");o?setTimeout(()=>{o.close(),e()},1e3):t(new Error("Unable to open new popup window"))})}};i(s,"instance",null);let a=s;exports.AuthService=a;
package/index.cjs8.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),b=require("./index.cjs103.js"),i=require("react"),n=require("./index.cjs82.js"),h=b.cva("grid border-b border-border-secondary",{variants:{variant:{default:"[&>dt]:text-foreground-secondary",list:"[&>dd]:text-card-foreground"},size:{default:"text-body-01",sm:"text-caption-01"},orientation:{vertical:"grid-cols-1 gap-space-01",horizental:"grid-cols-1 gap-space-02 sm:grid-cols-[min(50%,theme(spacing.80))_auto]"},lastItem:{true:"border-none"},stretch:{true:""},padding:{default:"p-space-04",none:"p-space-00"}},compoundVariants:[{orientation:"horizental",stretch:!0,className:"sm:grid-cols-2 sm:[&>dd]:text-end"}],defaultVariants:{orientation:"horizental",variant:"default",padding:"default",size:"default"}}),o=i.forwardRef(({children:t,className:r,...a},s)=>e.jsx("div",{ref:s,className:n.cn("rounded-2 bg-background",r),...a,children:t}));o.displayName="Description";const d=i.forwardRef(({icon:t,variant:r,title:a,children:s,orientation:c,stretch:l,lastItem:u,size:p,padding:m,className:g,...f},x)=>e.jsxs("dl",{ref:x,className:n.cn(h({variant:r,orientation:c,size:p,stretch:l,lastItem:u,padding:m}),g),...f,children:[e.jsxs("dt",{className:"col-start-1 inline-flex items-center gap-space-01",children:[t&&e.jsx(t,{className:"h-8 w-8 shrink-0"}),a,":"]}),e.jsx("dd",{className:"line-clamp-1",children:s})]}));d.displayName="DescriptionItem";exports.Description=o;exports.DescriptionItem=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),b=require("./index.cjs111.js"),i=require("react"),n=require("./index.cjs82.js"),h=b.cva("grid border-b border-border-secondary",{variants:{variant:{default:"[&>dt]:text-foreground-secondary",list:"[&>dd]:text-card-foreground"},size:{default:"text-body-01",sm:"text-caption-01"},orientation:{vertical:"grid-cols-1 gap-space-01",horizental:"grid-cols-1 gap-space-02 sm:grid-cols-[min(50%,theme(spacing.80))_auto]"},lastItem:{true:"border-none"},stretch:{true:""},padding:{default:"p-space-04",none:"p-space-00"}},compoundVariants:[{orientation:"horizental",stretch:!0,className:"sm:grid-cols-2 sm:[&>dd]:text-end"}],defaultVariants:{orientation:"horizental",variant:"default",padding:"default",size:"default"}}),o=i.forwardRef(({children:t,className:r,...a},s)=>e.jsx("div",{ref:s,className:n.cn("rounded-2 bg-background",r),...a,children:t}));o.displayName="Description";const d=i.forwardRef(({icon:t,variant:r,title:a,children:s,orientation:c,stretch:l,lastItem:u,size:p,padding:m,className:g,...f},x)=>e.jsxs("dl",{ref:x,className:n.cn(h({variant:r,orientation:c,size:p,stretch:l,lastItem:u,padding:m}),g),...f,children:[e.jsxs("dt",{className:"col-start-1 inline-flex items-center gap-space-01",children:[t&&e.jsx(t,{className:"h-8 w-8 shrink-0"}),a,":"]}),e.jsx("dd",{className:"line-clamp-1",children:s})]}));d.displayName="DescriptionItem";exports.Description=o;exports.DescriptionItem=d;
package/index.cjs82.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs100.js"),o=require("./index.cjs117.js"),c=require("./index.cjs170.js"),l=require("./index.cjs94.js"),i=require("./index.cjs148.js"),d=require("./index.cjs86.js"),m=require("./index.cjs171.js"),g=require("./index.cjs76.js"),u=m.extendTailwindMerge({classGroups:{"font-size":["text-caption-01","text-caption-02","text-subtitle-01","text-subtitle-02","text-body-01","text-body-02"]}});function f(...e){return u(s.clsx(e))}const Y={enRegex:/^[a-zA-Z- ]+$/,arRegex:/^[\u0621-\u064A- ]+$/,bothArAndEnRegexonlyLetters:/^[a-zA-Z-\u0621-\u064A ]+$/,bothArAndEnRegexonlyLettersAndNumbers:/^[a-zA-Z0-9-\u0621-\u064A ]+$/,enletterAndNumbersRegex:/^[a-zA-Z0-9]*$/,mobileNumber:/^(5)(\d){8}$/,TelPhone:/^(0096611)(\d){7}$/,nationalId:/^1(\d){9}$/,nationalOrResidentId:/^[12](\d){9}$/,nonSaudianNationalId:/^2(\d){9}$/,tags:/<[^>]*>?/gm,specialCharcter:/[!@#$%^&*()_+\-'~<>/\\?|÷×]/,arSpaceRegex:/^[\u0621-\u064A\s]+$/},h=(e,t)=>(!/^[0-9\u0660-\u0669]+$/.test(e.target.value)&&e.target.value!==""&&(e.target.value=t),e.target.value=e.target.value.replace(/[٠١٢٣٤٥٦٧٨٩]/g,n=>String(n.charCodeAt(0)-1632)).replace(/[۰۱۲۳۴۵۶۷۸۹]/g,n=>String(n.charCodeAt(0)-1776)),e),b=(...e)=>e.map(t=>t.split(" ").map(r=>process.env.NODE_ENV==="production"?`er-${r}`:r).join(" ")).join(" "),x=()=>{const{lang:e}=d.default(t=>t);return(t="",r="")=>String(e).toLocaleLowerCase()==="ar"?t:r||t};function A(e,t){let r=null;return function(...n){const a=()=>{r=null,e.apply(this,n)};r!==null&&clearTimeout(r),r=setTimeout(a,t)}}const p=e=>new Intl.DateTimeFormat(e==="rtl"?"ar":"en",{day:"2-digit",month:"short",year:"numeric"}),D=e=>new Intl.DateTimeFormat(e==="rtl"?"ar":"en",{timeStyle:"short"}),S=({date:e,format:t,isHijri:r=!1,hasHijriFormat:n})=>{const a=document.dir==="rtl";switch(o.default.updateLocale(a?"ar-sa":"en",{}),t){case"short":return o.default(e).format(a?i.DateFormat.ArShort:i.DateFormat.EnShort);case"mid":return o.default(e).format("dddd");case"long":return r?c.default(e,n?"iDD/iMM/iYYYY":void 0).format(a?"iYYYY/iM/iD":"iD/iM/iYYYY"):o.default(new Date(e??""),"DD-MM-YYYY").format(a?"YYYY/M/D":"D/M/YYYY")}},w=e=>{const{toast:t}=g.useToast();navigator.clipboard.writeText(e).then(()=>{t({description:l.strings.Shared.CopiedSuccessfully})})};exports.cn=f;exports.dateFormatter=S;exports.debounce=A;exports.formatter=p;exports.formatterTime=D;exports.handleArabicNumbers=h;exports.langRegex=Y;exports.tw=b;exports.twMerge=u;exports.useShareLink=w;exports.useSwitchData=x;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs102.js"),o=require("./index.cjs103.js"),c=require("./index.cjs104.js"),l=require("./index.cjs94.js"),i=require("./index.cjs100.js"),d=require("./index.cjs86.js"),m=require("./index.cjs105.js"),g=require("./index.cjs76.js"),u=m.extendTailwindMerge({classGroups:{"font-size":["text-caption-01","text-caption-02","text-subtitle-01","text-subtitle-02","text-body-01","text-body-02"]}});function f(...e){return u(s.clsx(e))}const Y={enRegex:/^[a-zA-Z- ]+$/,arRegex:/^[\u0621-\u064A- ]+$/,bothArAndEnRegexonlyLetters:/^[a-zA-Z-\u0621-\u064A ]+$/,bothArAndEnRegexonlyLettersAndNumbers:/^[a-zA-Z0-9-\u0621-\u064A ]+$/,enletterAndNumbersRegex:/^[a-zA-Z0-9]*$/,mobileNumber:/^(5)(\d){8}$/,TelPhone:/^(0096611)(\d){7}$/,nationalId:/^1(\d){9}$/,nationalOrResidentId:/^[12](\d){9}$/,nonSaudianNationalId:/^2(\d){9}$/,tags:/<[^>]*>?/gm,specialCharcter:/[!@#$%^&*()_+\-'~<>/\\?|÷×]/,arSpaceRegex:/^[\u0621-\u064A\s]+$/},h=(e,t)=>(!/^[0-9\u0660-\u0669]+$/.test(e.target.value)&&e.target.value!==""&&(e.target.value=t),e.target.value=e.target.value.replace(/[٠١٢٣٤٥٦٧٨٩]/g,n=>String(n.charCodeAt(0)-1632)).replace(/[۰۱۲۳۴۵۶۷۸۹]/g,n=>String(n.charCodeAt(0)-1776)),e),b=(...e)=>e.map(t=>t.split(" ").map(r=>process.env.NODE_ENV==="production"?`er-${r}`:r).join(" ")).join(" "),x=()=>{const{lang:e}=d.default(t=>t);return(t="",r="")=>String(e).toLocaleLowerCase()==="ar"?t:r||t};function A(e,t){let r=null;return function(...n){const a=()=>{r=null,e.apply(this,n)};r!==null&&clearTimeout(r),r=setTimeout(a,t)}}const p=e=>new Intl.DateTimeFormat(e==="rtl"?"ar":"en",{day:"2-digit",month:"short",year:"numeric"}),D=e=>new Intl.DateTimeFormat(e==="rtl"?"ar":"en",{timeStyle:"short"}),S=({date:e,format:t,isHijri:r=!1,hasHijriFormat:n})=>{const a=document.dir==="rtl";switch(o.default.updateLocale(a?"ar-sa":"en",{}),t){case"short":return o.default(e).format(a?i.DateFormat.ArShort:i.DateFormat.EnShort);case"mid":return o.default(e).format("dddd");case"long":return r?c.default(e,n?"iDD/iMM/iYYYY":void 0).format(a?"iYYYY/iM/iD":"iD/iM/iYYYY"):o.default(new Date(e??""),"DD-MM-YYYY").format(a?"YYYY/M/D":"D/M/YYYY")}},w=e=>{const{toast:t}=g.useToast();navigator.clipboard.writeText(e).then(()=>{t({description:l.strings.Shared.CopiedSuccessfully})})};exports.cn=f;exports.dateFormatter=S;exports.debounce=A;exports.formatter=p;exports.formatterTime=D;exports.handleArabicNumbers=h;exports.langRegex=Y;exports.tw=b;exports.twMerge=u;exports.useShareLink=w;exports.useSwitchData=x;
package/index.cjs83.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("./index.cjs159.js"),u=require("./index.cjs85.js"),c=({state:e})=>{var o,i,n,t,l,r;e.isDesktop&&Number((o=e.fontSize)==null?void 0:o.substring(0,e.fontSize.length-2))<12&&(document.documentElement.style.setProperty("font-size",`calc(${e.fontSize} + 1px)`),e.fontSize=(i=getComputedStyle(document.documentElement))==null?void 0:i.getPropertyValue("font-size"),e.isMax=Number((n=e.fontSize)==null?void 0:n.substring(0,e.fontSize.length-2))>=12,e.isMin=!1),!e.isDesktop&&Number((t=e.fontSize)==null?void 0:t.substring(0,e.fontSize.length-2))<10.2&&(document.documentElement.style.setProperty("font-size",`calc(${e.fontSize} + 0.7px)`),e.fontSize=(l=getComputedStyle(document.documentElement))==null?void 0:l.getPropertyValue("font-size"),e.isMax=Number((r=e.fontSize)==null?void 0:r.substring(0,e.fontSize.length-2))>=10.2,e.isMin=!1)},f=({state:e})=>{var o,i,n,t,l,r;e.isDesktop&&Number((o=e.fontSize)==null?void 0:o.substring(0,e.fontSize.length-2))>8&&(document.documentElement.style.setProperty("font-size",`calc(${e.fontSize} - 1px)`),e.fontSize=(i=getComputedStyle(document.documentElement))==null?void 0:i.getPropertyValue("font-size"),e.isMin=Number((n=e.fontSize)==null?void 0:n.substring(0,e.fontSize.length-2))<=8,e.isMax=!1),!e.isDesktop&&Number((t=e.fontSize)==null?void 0:t.substring(0,e.fontSize.length-2))>7.4&&(document.documentElement.style.setProperty("font-size",`calc(${e.fontSize} - 0.7px)`),e.fontSize=(l=getComputedStyle(document.documentElement))==null?void 0:l.getPropertyValue("font-size"),e.isMin=Number((r=e.fontSize)==null?void 0:r.substring(0,e.fontSize.length-2))<=7.4,e.isMax=!1)},m=s.create()(u.default(e=>({isActive:!!localStorage.getItem("Colors"),toggleColors:()=>e(o=>(o.isActive?localStorage.removeItem("Colors"):localStorage.setItem("Colors","true"),{isActive:!o.isActive})),isDesktop:window.innerWidth>=640||!1,fontSize:window.innerWidth>=640?"10px":"8.8px",isMax:!1,isMin:!1,increaseSize:()=>e(o=>{c({state:o})}),decreaseSize:()=>e(o=>{f({state:o})}),defaultSize:()=>e(o=>{var i;o.isDesktop?document.documentElement.style.setProperty("font-size","10px"):document.documentElement.style.setProperty("font-size","8.8px"),o.fontSize=(i=getComputedStyle(document.documentElement))==null?void 0:i.getPropertyValue("font-size"),o.isMax=!1,o.isMin=!1})}),{name:"accessibilityTools"})),d=m;exports.default=d;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("./index.cjs97.js"),u=require("./index.cjs85.js"),c=({state:e})=>{var o,i,n,t,l,r;e.isDesktop&&Number((o=e.fontSize)==null?void 0:o.substring(0,e.fontSize.length-2))<12&&(document.documentElement.style.setProperty("font-size",`calc(${e.fontSize} + 1px)`),e.fontSize=(i=getComputedStyle(document.documentElement))==null?void 0:i.getPropertyValue("font-size"),e.isMax=Number((n=e.fontSize)==null?void 0:n.substring(0,e.fontSize.length-2))>=12,e.isMin=!1),!e.isDesktop&&Number((t=e.fontSize)==null?void 0:t.substring(0,e.fontSize.length-2))<10.2&&(document.documentElement.style.setProperty("font-size",`calc(${e.fontSize} + 0.7px)`),e.fontSize=(l=getComputedStyle(document.documentElement))==null?void 0:l.getPropertyValue("font-size"),e.isMax=Number((r=e.fontSize)==null?void 0:r.substring(0,e.fontSize.length-2))>=10.2,e.isMin=!1)},f=({state:e})=>{var o,i,n,t,l,r;e.isDesktop&&Number((o=e.fontSize)==null?void 0:o.substring(0,e.fontSize.length-2))>8&&(document.documentElement.style.setProperty("font-size",`calc(${e.fontSize} - 1px)`),e.fontSize=(i=getComputedStyle(document.documentElement))==null?void 0:i.getPropertyValue("font-size"),e.isMin=Number((n=e.fontSize)==null?void 0:n.substring(0,e.fontSize.length-2))<=8,e.isMax=!1),!e.isDesktop&&Number((t=e.fontSize)==null?void 0:t.substring(0,e.fontSize.length-2))>7.4&&(document.documentElement.style.setProperty("font-size",`calc(${e.fontSize} - 0.7px)`),e.fontSize=(l=getComputedStyle(document.documentElement))==null?void 0:l.getPropertyValue("font-size"),e.isMin=Number((r=e.fontSize)==null?void 0:r.substring(0,e.fontSize.length-2))<=7.4,e.isMax=!1)},m=s.create()(u.default(e=>({isActive:!!localStorage.getItem("Colors"),toggleColors:()=>e(o=>(o.isActive?localStorage.removeItem("Colors"):localStorage.setItem("Colors","true"),{isActive:!o.isActive})),isDesktop:window.innerWidth>=640||!1,fontSize:window.innerWidth>=640?"10px":"8.8px",isMax:!1,isMin:!1,increaseSize:()=>e(o=>{c({state:o})}),decreaseSize:()=>e(o=>{f({state:o})}),defaultSize:()=>e(o=>{var i;o.isDesktop?document.documentElement.style.setProperty("font-size","10px"):document.documentElement.style.setProperty("font-size","8.8px"),o.fontSize=(i=getComputedStyle(document.documentElement))==null?void 0:i.getPropertyValue("font-size"),o.isMax=!1,o.isMin=!1})}),{name:"accessibilityTools"})),d=m;exports.default=d;
package/index.cjs84.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./index.cjs159.js"),i=require("./index.cjs85.js"),m=r.create()(i.default(a=>({isAuthenticated:!!localStorage.getItem("nationalId")&&!!localStorage.getItem("accessToken"),accessToken:localStorage.getItem("accessToken")||void 0,refreshToken:localStorage.getItem("refreshToken")||void 0,nationalId:localStorage.getItem("nationalId"),sessionExpired:!1,user:{firstName:"",secondName:"",thridName:"",lastName:"",Id:"",roles:[],email:"",ssoEmail:"",defaultRole:localStorage.getItem("defaultRole")},login:e=>a(()=>(localStorage.setItem("nationalId",e),{isAuthenticated:!0,nationalId:e,sessionExpired:!1})),setUser:e=>a(()=>(e.defaultRole&&localStorage.setItem("defaultRole",e.defaultRole),localStorage.setItem("displayName",`${e.firstName} ${e.lastName}`),{user:e})),updateUser:e=>a(o=>(e.defaultRole&&localStorage.setItem("defaultRole",e.defaultRole),e.firstName&&e.lastName&&localStorage.setItem("displayName",`${e.firstName} ${e.lastName}`),{user:{...o==null?void 0:o.user,...e}})),logout:()=>a(e=>{var o,l;return localStorage.removeItem("nationalId"),localStorage.removeItem("accessToken"),localStorage.removeItem("refreshToken"),localStorage.removeItem("displayName"),localStorage.removeItem("defaultRole"),localStorage.removeItem("jwt"),localStorage.removeItem("ERAlertHidden"),localStorage.removeItem("registrationStartDate"),localStorage.removeItem("registrationEndDate"),(l=(o=e==null?void 0:e.user)==null?void 0:o.roles)==null||l.map(t=>{localStorage.removeItem(`${t}-evaluationCounter`),localStorage.removeItem(`${t}-evaluationSkipCounter`),localStorage.removeItem(`${t}-onBoardingSkipCounter`)}),localStorage.removeItem("email"),{isAuthenticated:!1,nationalId:void 0,user:{roles:[]},accessToken:void 0,refreshToken:void 0,sessionExpired:!1}}),setExpireSession:()=>a(()=>({sessionExpired:!0})),setDefaultRole:e=>a(o=>{e&&(o!=null&&o.user)&&(localStorage.setItem("defaultRole",e),o.user.defaultRole=e)})}),{name:"auth"})),n=m;exports.default=n;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./index.cjs97.js"),i=require("./index.cjs85.js"),m=r.create()(i.default(a=>({isAuthenticated:!!localStorage.getItem("nationalId")&&!!localStorage.getItem("accessToken"),accessToken:localStorage.getItem("accessToken")||void 0,refreshToken:localStorage.getItem("refreshToken")||void 0,nationalId:localStorage.getItem("nationalId"),sessionExpired:!1,user:{firstName:"",secondName:"",thridName:"",lastName:"",Id:"",roles:[],email:"",ssoEmail:"",defaultRole:localStorage.getItem("defaultRole")},login:e=>a(()=>(localStorage.setItem("nationalId",e),{isAuthenticated:!0,nationalId:e,sessionExpired:!1})),setUser:e=>a(()=>(e.defaultRole&&localStorage.setItem("defaultRole",e.defaultRole),localStorage.setItem("displayName",`${e.firstName} ${e.lastName}`),{user:e})),updateUser:e=>a(o=>(e.defaultRole&&localStorage.setItem("defaultRole",e.defaultRole),e.firstName&&e.lastName&&localStorage.setItem("displayName",`${e.firstName} ${e.lastName}`),{user:{...o==null?void 0:o.user,...e}})),logout:()=>a(e=>{var o,l;return localStorage.removeItem("nationalId"),localStorage.removeItem("accessToken"),localStorage.removeItem("refreshToken"),localStorage.removeItem("displayName"),localStorage.removeItem("defaultRole"),localStorage.removeItem("jwt"),localStorage.removeItem("ERAlertHidden"),localStorage.removeItem("registrationStartDate"),localStorage.removeItem("registrationEndDate"),(l=(o=e==null?void 0:e.user)==null?void 0:o.roles)==null||l.map(t=>{localStorage.removeItem(`${t}-evaluationCounter`),localStorage.removeItem(`${t}-evaluationSkipCounter`),localStorage.removeItem(`${t}-onBoardingSkipCounter`)}),localStorage.removeItem("email"),{isAuthenticated:!1,nationalId:void 0,user:{roles:[]},accessToken:void 0,refreshToken:void 0,sessionExpired:!1}}),setExpireSession:()=>a(()=>({sessionExpired:!0})),setDefaultRole:e=>a(o=>{e&&(o!=null&&o.user)&&(localStorage.setItem("defaultRole",e),o.user.defaultRole=e)})}),{name:"auth"})),n=m;exports.default=n;
package/index.cjs85.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./index.cjs167.js"),s=require("./index.cjs168.js"),l={name:"Store",enabled:!0,serialize:{options:!1}},r=(e,t=l)=>o.devtools(s.immer(e),t),i=r;exports.default=i;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./index.cjs98.js"),s=require("./index.cjs99.js"),l={name:"Store",enabled:!0,serialize:{options:!1}},r=(e,t=l)=>o.devtools(s.immer(e),t),i=r;exports.default=i;
package/index.cjs86.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("./index.cjs159.js"),o=require("./index.cjs85.js"),a=l.create()(o.default(n=>({lang:localStorage.getItem("lang")??"ar",dir:localStorage.getItem("lang")==="en"?"ltr":"rtl",changeLang:e=>n(t=>{e!==t.lang&&(localStorage.setItem("lang",e),window.location.pathname==="/login/verification"?window.location.replace("/login"):window.location.reload())})}),{name:"lanugage"})),g=a;exports.default=g;exports.useLanguage=a;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("./index.cjs97.js"),o=require("./index.cjs85.js"),a=l.create()(o.default(n=>({lang:localStorage.getItem("lang")??"ar",dir:localStorage.getItem("lang")==="en"?"ltr":"rtl",changeLang:e=>n(t=>{e!==t.lang&&(localStorage.setItem("lang",e),window.location.pathname==="/login/verification"?window.location.replace("/login"):window.location.reload())})}),{name:"lanugage"})),g=a;exports.default=g;exports.useLanguage=a;
package/index.cjs89.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react/jsx-runtime"),s=require("react"),A=require("./index.cjs169.js"),C=require("./index.cjs88.js"),b=require("./index.cjs90.js"),I=require("./index.cjs87.js"),d=require("./index.cjs91.js"),M=["clearStaleState","querySessionStatus","revokeTokens","startSilentRenew","stopSilentRenew"],q=["signinPopup","signinSilent","signinRedirect","signinResourceOwnerCredentials","signoutPopup","signoutRedirect","signoutSilent"],g=i=>()=>{throw new Error(`UserManager#${i} was called from an unsupported context. If this is a server-rendered page, defer this call with useEffect() or pass a custom UserManager implementation.`)},h=typeof window>"u"?null:A.UserManager,P=i=>{const{children:m,onSigninCallback:o,skipSigninCallback:p,matchSignoutCallback:u,onSignoutCallback:c,onRemoveUser:R,userManager:E=null,...S}=i,[e]=s.useState(()=>E??(h?new h(S):{settings:S})),[f,n]=s.useReducer(I.reducer,b.initialAuthState),w=s.useMemo(()=>Object.assign({settings:e.settings,events:e.events},Object.fromEntries(M.map(t=>{var r;return[t,((r=e[t])==null?void 0:r.bind(e))??g(t)]})),Object.fromEntries(q.map(t=>[t,e[t]?async r=>{n({type:"NAVIGATOR_INIT",method:t});try{return await e[t](r)}catch(a){return n({type:"ERROR",error:a}),null}finally{n({type:"NAVIGATOR_CLOSE"})}}:g(t)]))),[e]),v=s.useRef(!1);s.useEffect(()=>{!e||v.current||(v.current=!0,(async()=>{let t=null;try{d.hasAuthParams()&&!p&&(t=await e.signinCallback(),o&&await o(t)),t=t||await e.getUser(),n({type:"INITIALISED",user:t})}catch(r){n({type:"ERROR",error:d.signinError(r)})}try{u&&u(e.settings)&&(await e.signoutCallback(),c&&await c())}catch(r){n({type:"ERROR",error:d.signoutError(r)})}})())},[e,p,o,c,u]),s.useEffect(()=>{if(!e)return;const t=l=>{n({type:"USER_LOADED",user:l})};e.events.addUserLoaded(t);const r=()=>{n({type:"USER_UNLOADED"})};e.events.addUserUnloaded(r);const a=()=>{n({type:"USER_SIGNED_OUT"})};e.events.addUserSignedOut(a);const U=l=>{n({type:"ERROR",error:l})};return e.events.addSilentRenewError(U),()=>{e.events.removeUserLoaded(t),e.events.removeUserUnloaded(r),e.events.removeUserSignedOut(a),e.events.removeSilentRenewError(U)}},[e]);const O=s.useCallback(e?()=>e.removeUser().then(R):g("removeUser"),[e,R]);return y.jsx(C.AuthContext.Provider,{value:{...f,...w,removeUser:O},children:m})};exports.AuthProvider=P;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react/jsx-runtime"),s=require("react"),A=require("./index.cjs101.js"),C=require("./index.cjs88.js"),b=require("./index.cjs90.js"),I=require("./index.cjs87.js"),d=require("./index.cjs91.js"),M=["clearStaleState","querySessionStatus","revokeTokens","startSilentRenew","stopSilentRenew"],q=["signinPopup","signinSilent","signinRedirect","signinResourceOwnerCredentials","signoutPopup","signoutRedirect","signoutSilent"],g=i=>()=>{throw new Error(`UserManager#${i} was called from an unsupported context. If this is a server-rendered page, defer this call with useEffect() or pass a custom UserManager implementation.`)},h=typeof window>"u"?null:A.UserManager,P=i=>{const{children:m,onSigninCallback:o,skipSigninCallback:p,matchSignoutCallback:u,onSignoutCallback:c,onRemoveUser:R,userManager:E=null,...S}=i,[e]=s.useState(()=>E??(h?new h(S):{settings:S})),[f,n]=s.useReducer(I.reducer,b.initialAuthState),w=s.useMemo(()=>Object.assign({settings:e.settings,events:e.events},Object.fromEntries(M.map(t=>{var r;return[t,((r=e[t])==null?void 0:r.bind(e))??g(t)]})),Object.fromEntries(q.map(t=>[t,e[t]?async r=>{n({type:"NAVIGATOR_INIT",method:t});try{return await e[t](r)}catch(a){return n({type:"ERROR",error:a}),null}finally{n({type:"NAVIGATOR_CLOSE"})}}:g(t)]))),[e]),v=s.useRef(!1);s.useEffect(()=>{!e||v.current||(v.current=!0,(async()=>{let t=null;try{d.hasAuthParams()&&!p&&(t=await e.signinCallback(),o&&await o(t)),t=t||await e.getUser(),n({type:"INITIALISED",user:t})}catch(r){n({type:"ERROR",error:d.signinError(r)})}try{u&&u(e.settings)&&(await e.signoutCallback(),c&&await c())}catch(r){n({type:"ERROR",error:d.signoutError(r)})}})())},[e,p,o,c,u]),s.useEffect(()=>{if(!e)return;const t=l=>{n({type:"USER_LOADED",user:l})};e.events.addUserLoaded(t);const r=()=>{n({type:"USER_UNLOADED"})};e.events.addUserUnloaded(r);const a=()=>{n({type:"USER_SIGNED_OUT"})};e.events.addUserSignedOut(a);const U=l=>{n({type:"ERROR",error:l})};return e.events.addSilentRenewError(U),()=>{e.events.removeUserLoaded(t),e.events.removeUserUnloaded(r),e.events.removeUserSignedOut(a),e.events.removeSilentRenewError(U)}},[e]);const O=s.useCallback(e?()=>e.removeUser().then(R):g("removeUser"),[e,R]);return y.jsx(C.AuthContext.Provider,{value:{...f,...w,removeUser:O},children:m})};exports.AuthProvider=P;
package/index.cjs9.js CHANGED
@@ -1,3 +1,3 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),l=require("./index.cjs104.js"),C=require("./index.cjs105.js"),O=require("react"),w=require("react-dom"),W=require("./index.cjs82.js"),F=require("./index.cjs94.js"),H=require("./index.cjs3.js"),j=require("./index.cjs22.js"),L=require("./index.cjs62.js"),V=require("./index.cjs41.js"),J=require("./index.cjs106.js"),K=require("./index.cjs107.js"),Q=require("./index.cjs108.js"),U=require("./index.cjs109.js");function X({configs:r,isEditMode:o,componentMap:p,onConfigChange:f,onOrderChange:g,onSave:d,onCancel:y,onReset:S,onAdd:D,isSidePanelShown:q,isSaving:u}){const[x,N]=O.useState(null),[z,k]=O.useState(null),A=l.useSensor(l.MouseSensor,{activationConstraint:{distance:5}}),_=l.useSensor(l.TouchSensor,{activationConstraint:{delay:100,tolerance:5}}),$=l.useSensors(A,_),B=e=>{N(e.active.id)},P=e=>{const{over:t}=e;k(t?t.id:null)},R=e=>{const{active:t,over:n}=e;if(N(null),k(null),!n||t.id===n.id)return;if(n.id.toString().startsWith("placeholder-")){const c=parseInt(n.id.toString().split("-")[1]),m=r.find(h=>h.alias===t.id);if(m&&m.size==="half"){const h=r.findIndex(T=>T.alias===t.id),I=[...r];I.splice(c+1,0,...I.splice(h,1)),g(I)}return}const a=r.findIndex(c=>c.alias===t.id),i=r.findIndex(c=>c.alias===n.id),b=C.arrayMove(r,a,i);g(b)},v=r.filter(e=>(e==null?void 0:e.isVisible)&&p[e.alias]),G=Array(v.length).fill(0).map((e,t)=>`placeholder-${t}`);return s.jsxs(s.Fragment,{children:[u&&w.createPortal(s.jsx("div",{className:W.cn("fixed inset-0 z-[60000] bg-black transition-all duration-200",u?"opacity-50":"pointer-events-none opacity-0")}),document.body),s.jsxs(l.DndContext,{sensors:$,collisionDetection:l.closestCenter,onDragStart:B,onDragEnd:R,onDragOver:P,children:[s.jsx(C.SortableContext,{items:[...r.map(e=>e.alias),...G],children:s.jsx("div",{className:"grid grid-cols-1 items-center justify-center gap-space-05 px-space-04 pt-space-04 sm:grid-cols-2 sm:items-stretch sm:justify-stretch sm:px-space-06 xl:px-space-05",children:(()=>{let e=0;const t=[],n=r.find(a=>a.alias===x);for(let a=0;a<v.length;a++){const i=v[a],b=p[i.alias];if(!b)continue;t.push(s.jsx(b,{config:i,isEditMode:o,onConfigChange:f,isOver:i.alias===z,isDragging:i.alias===x},i.alias));const c=i.size==="full"?2:1;if(e+=c,o&&i.size==="half"&&e%2===1){const m=v[a+1];if(!m||m.size==="full"){const h=`placeholder-${a}`;t.push(s.jsx(Y,{id:h,isEditMode:o,activeId:x,overId:z,draggedWidgetSize:n==null?void 0:n.size},h)),e+=1}}}return t})()})}),s.jsx(l.DragOverlay,{children:x&&(()=>{const e=r.find(n=>n.alias===x);if(!e)return null;const t=p[e.alias];return t?s.jsx(t,{config:e,isEditMode:o,onConfigChange:f,isDragOverlay:!0,isOver:e.alias===z,isDragging:e.alias===x},e.alias):null})()})]}),w.createPortal(s.jsx("div",{className:`fixed bottom-4 left-0 right-0 flex justify-center transition-all duration-300 ${o?"z-[50000] opacity-100":"pointer-events-none opacity-0"}
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),l=require("./index.cjs112.js"),C=require("./index.cjs113.js"),O=require("react"),w=require("react-dom"),W=require("./index.cjs82.js"),F=require("./index.cjs94.js"),H=require("./index.cjs3.js"),j=require("./index.cjs22.js"),L=require("./index.cjs62.js"),V=require("./index.cjs41.js"),J=require("./index.cjs114.js"),K=require("./index.cjs115.js"),Q=require("./index.cjs116.js"),U=require("./index.cjs117.js");function X({configs:r,isEditMode:o,componentMap:p,onConfigChange:f,onOrderChange:g,onSave:d,onCancel:y,onReset:S,onAdd:D,isSidePanelShown:q,isSaving:u}){const[x,N]=O.useState(null),[z,k]=O.useState(null),A=l.useSensor(l.MouseSensor,{activationConstraint:{distance:5}}),_=l.useSensor(l.TouchSensor,{activationConstraint:{delay:100,tolerance:5}}),$=l.useSensors(A,_),B=e=>{N(e.active.id)},P=e=>{const{over:t}=e;k(t?t.id:null)},R=e=>{const{active:t,over:n}=e;if(N(null),k(null),!n||t.id===n.id)return;if(n.id.toString().startsWith("placeholder-")){const c=parseInt(n.id.toString().split("-")[1]),m=r.find(h=>h.alias===t.id);if(m&&m.size==="half"){const h=r.findIndex(T=>T.alias===t.id),I=[...r];I.splice(c+1,0,...I.splice(h,1)),g(I)}return}const a=r.findIndex(c=>c.alias===t.id),i=r.findIndex(c=>c.alias===n.id),b=C.arrayMove(r,a,i);g(b)},v=r.filter(e=>(e==null?void 0:e.isVisible)&&p[e.alias]),G=Array(v.length).fill(0).map((e,t)=>`placeholder-${t}`);return s.jsxs(s.Fragment,{children:[u&&w.createPortal(s.jsx("div",{className:W.cn("fixed inset-0 z-[60000] bg-black transition-all duration-200",u?"opacity-50":"pointer-events-none opacity-0")}),document.body),s.jsxs(l.DndContext,{sensors:$,collisionDetection:l.closestCenter,onDragStart:B,onDragEnd:R,onDragOver:P,children:[s.jsx(C.SortableContext,{items:[...r.map(e=>e.alias),...G],children:s.jsx("div",{className:"grid grid-cols-1 items-center justify-center gap-space-05 px-space-04 pt-space-04 sm:grid-cols-2 sm:items-stretch sm:justify-stretch sm:px-space-06 xl:px-space-05",children:(()=>{let e=0;const t=[],n=r.find(a=>a.alias===x);for(let a=0;a<v.length;a++){const i=v[a],b=p[i.alias];if(!b)continue;t.push(s.jsx(b,{config:i,isEditMode:o,onConfigChange:f,isOver:i.alias===z,isDragging:i.alias===x},i.alias));const c=i.size==="full"?2:1;if(e+=c,o&&i.size==="half"&&e%2===1){const m=v[a+1];if(!m||m.size==="full"){const h=`placeholder-${a}`;t.push(s.jsx(Y,{id:h,isEditMode:o,activeId:x,overId:z,draggedWidgetSize:n==null?void 0:n.size},h)),e+=1}}}return t})()})}),s.jsx(l.DragOverlay,{children:x&&(()=>{const e=r.find(n=>n.alias===x);if(!e)return null;const t=p[e.alias];return t?s.jsx(t,{config:e,isEditMode:o,onConfigChange:f,isDragOverlay:!0,isOver:e.alias===z,isDragging:e.alias===x},e.alias):null})()})]}),w.createPortal(s.jsx("div",{className:`fixed bottom-4 left-0 right-0 flex justify-center transition-all duration-300 ${o?"z-[50000] opacity-100":"pointer-events-none opacity-0"}
2
2
  ${q?"hidden xl:flex":""}
3
3
  `,children:s.jsxs("div",{className:`flex transform items-center gap-space-04 rounded-full border-t bg-background-brand p-space-02 shadow-card-shadow transition-all duration-300 ${o?"translate-y-[-10px]":"translate-y-full"}`,children:[s.jsxs(V.Stack,{gap:4,alignItems:"center",children:[s.jsx(j.Button,{variant:"outline",colors:"gray",size:"icon-sm",onClick:y,children:s.jsx(J.default,{})}),s.jsx(j.Button,{variant:"outline",colors:"gray",size:"icon-sm",onClick:S,children:s.jsx(K.default,{})}),s.jsx(L.Separator,{orientation:"vertical",className:"h-space-06"})]}),s.jsx(j.Button,{variant:"outline",colors:"primary",size:"icon-sm",className:"xl:hidden",onClick:D,children:s.jsx(Q.default,{})}),s.jsxs(j.Button,{variant:"default",onClick:d,size:"sm",colors:"primary",className:"gap-space-02",disabled:u,children:[s.jsx(U.default,{className:"size-space-05"}),F.strings.DragAndDrop.SaveCustomization,u&&s.jsx(H.default,{})]})]})}),document.body)]})}const Y=({id:r,isEditMode:o,activeId:p,overId:f,draggedWidgetSize:g})=>{const d=g==="half",{attributes:y,listeners:S,isOver:D,setNodeRef:q}=C.useSortable({id:r,disabled:!o||!d}),u=D||f===r;return s.jsx("div",{ref:q,...d?y:{},...d?S:{},className:W.cn("hidden sm:block","h-[440px] rounded-3 border-2 border-dashed transition-all duration-200",u?"border-primary":"border-border",!d&&p?"cursor-not-allowed":"cursor-default")})};exports.DraggableGrid=X;
package/index.cjs93.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs159.js"),e=require("./index.cjs148.js"),d=require("./index.cjs85.js"),r=()=>{window.matchMedia("(prefers-color-scheme: dark)").matches?document.body.classList.add("dark"):document.body.classList.remove("dark")},o=a.create()(d.default(s=>({theme:e.THEME.SYSTEM,setTheme:t=>{switch(localStorage.setItem("defaultTheme",String(t)),+t){case e.THEME.LIGHT:document.body.classList.remove("dark");break;case e.THEME.DARK:document.body.classList.add("dark");break;case e.THEME.SYSTEM:r(),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",r),window.matchMedia("(prefers-color-scheme: light)").addEventListener("change",r);break}return s({theme:t})}}),{name:"theme"}));exports.useThemeStore=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs97.js"),e=require("./index.cjs100.js"),d=require("./index.cjs85.js"),r=()=>{window.matchMedia("(prefers-color-scheme: dark)").matches?document.body.classList.add("dark"):document.body.classList.remove("dark")},o=a.create()(d.default(s=>({theme:e.THEME.SYSTEM,setTheme:t=>{switch(localStorage.setItem("defaultTheme",String(t)),+t){case e.THEME.LIGHT:document.body.classList.remove("dark");break;case e.THEME.DARK:document.body.classList.add("dark");break;case e.THEME.SYSTEM:r(),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",r),window.matchMedia("(prefers-color-scheme: light)").addEventListener("change",r);break}return s({theme:t})}}),{name:"theme"}));exports.useThemeStore=o;
package/index.cjs97.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var R=Symbol.for("immer-nothing"),A=Symbol.for("immer-draftable"),u=Symbol.for("immer-state"),Z=process.env.NODE_ENV!=="production"?[function(e){return`The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`},function(e){return`produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${e}'`},"This object has been frozen and should not be mutated",function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.","Immer forbids circular references","The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(e){return`'current' expects a draft, got: ${e}`},"Object.defineProperty() cannot be used on an Immer draft","Object.setPrototypeOf() cannot be used on an Immer draft","Immer only supports deleting array indices","Immer only supports setting array indices and the 'length' property",function(e){return`'original' expects a draft, got: ${e}`}]:[];function f(e,...t){if(process.env.NODE_ENV!=="production"){const r=Z[e],n=typeof r=="function"?r.apply(null,t):r;throw new Error(`[Immer] ${n}`)}throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var p=Object.getPrototypeOf;function y(e){return!!e&&!!e[u]}function d(e){var t;return e?U(e)||Array.isArray(e)||!!e[A]||!!((t=e.constructor)!=null&&t[A])||D(e)||O(e):!1}var L=Object.prototype.constructor.toString();function U(e){if(!e||typeof e!="object")return!1;const t=p(e);if(t===null)return!0;const r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object?!0:typeof r=="function"&&Function.toString.call(r)===L}function b(e,t){z(e)===0?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function z(e){const t=e[u];return t?t.type_:Array.isArray(e)?1:D(e)?2:O(e)?3:0}function N(e,t){return z(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function B(e,t,r){const n=z(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function V(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function D(e){return e instanceof Map}function O(e){return e instanceof Set}function _(e){return e.copy_||e.base_}function C(e,t){if(D(e))return new Map(e);if(O(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const r=U(e);if(t===!0||t==="class_only"&&!r){const n=Object.getOwnPropertyDescriptors(e);delete n[u];let i=Reflect.ownKeys(n);for(let o=0;o<i.length;o++){const c=i[o],s=n[c];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(n[c]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[c]})}return Object.create(p(e),n)}else{const n=p(e);if(n!==null&&r)return{...e};const i=Object.create(n);return Object.assign(i,e)}}function S(e,t=!1){return F(e)||y(e)||!d(e)||(z(e)>1&&(e.set=e.add=e.clear=e.delete=ee),Object.freeze(e),t&&Object.entries(e).forEach(([r,n])=>S(n,!0))),e}function ee(){f(2)}function F(e){return Object.isFrozen(e)}var te={};function m(e){const t=te[e];return t||f(0,e),t}var h;function G(){return h}function re(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function x(e,t){t&&(m("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function I(e){k(e),e.drafts_.forEach(ne),e.drafts_=null}function k(e){e===h&&(h=e.parent_)}function $(e){return h=re(h,e)}function ne(e){const t=e[u];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function K(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[u].modified_&&(I(t),f(4)),d(e)&&(e=g(t,e),t.parent_||w(t,e)),t.patches_&&m("Patches").generateReplacementPatches_(r[u].base_,e,t.patches_,t.inversePatches_)):e=g(t,r,[]),I(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==R?e:void 0}function g(e,t,r){if(F(t))return t;const n=t[u];if(!n)return b(t,(i,o)=>W(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return w(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const i=n.copy_;let o=i,c=!1;n.type_===3&&(o=new Set(i),i.clear(),c=!0),b(o,(s,l)=>W(e,n,i,s,l,r,c)),w(e,i,!1),r&&e.patches_&&m("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function W(e,t,r,n,i,o,c){if(process.env.NODE_ENV!=="production"&&i===r&&f(5),y(i)){const s=o&&t&&t.type_!==3&&!N(t.assigned_,n)?o.concat(n):void 0,l=g(e,i,s);if(B(r,n,l),y(l))e.canAutoFreeze_=!1;else return}else c&&r.add(i);if(d(i)&&!F(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;g(e,i),(!t||!t.scope_.parent_)&&typeof n!="symbol"&&Object.prototype.propertyIsEnumerable.call(r,n)&&w(e,i)}}function w(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&S(t,r)}function ie(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:G(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,o=j;r&&(i=[n],o=P);const{revoke:c,proxy:s}=Proxy.revocable(i,o);return n.draft_=s,n.revoke_=c,s}var j={get(e,t){if(t===u)return e;const r=_(e);if(!N(r,t))return oe(e,r,t);const n=r[t];return e.finalized_||!d(n)?n:n===E(e.base_,t)?(v(e),e.copy_[t]=M(n,e)):n},has(e,t){return t in _(e)},ownKeys(e){return Reflect.ownKeys(_(e))},set(e,t,r){const n=H(_(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=E(_(e),t),o=i==null?void 0:i[u];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(V(r,i)&&(r!==void 0||N(e.base_,t)))return!0;v(e),T(e)}return e.copy_[t]===r&&(r!==void 0||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_[t]=!0),!0},deleteProperty(e,t){return E(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,v(e),T(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=_(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){f(11)},getPrototypeOf(e){return p(e.base_)},setPrototypeOf(){f(12)}},P={};b(j,(e,t)=>{P[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});P.deleteProperty=function(e,t){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(t))&&f(13),P.set.call(this,e,t,void 0)};P.set=function(e,t,r){return process.env.NODE_ENV!=="production"&&t!=="length"&&isNaN(parseInt(t))&&f(14),j.set.call(this,e[0],t,r,e[0])};function E(e,t){const r=e[u];return(r?_(r):e)[t]}function oe(e,t,r){var i;const n=H(t,r);return n?"value"in n?n.value:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function H(e,t){if(!(t in e))return;let r=p(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=p(r)}}function T(e){e.modified_||(e.modified_=!0,e.parent_&&T(e.parent_))}function v(e){e.copy_||(e.copy_=C(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var X=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,r,n)=>{if(typeof t=="function"&&typeof r!="function"){const o=r;r=t;const c=this;return function(l=o,...Q){return c.produce(l,Y=>r.call(this,Y,...Q))}}typeof r!="function"&&f(6),n!==void 0&&typeof n!="function"&&f(7);let i;if(d(t)){const o=$(this),c=M(t,void 0);let s=!0;try{i=r(c),s=!1}finally{s?I(o):k(o)}return x(o,n),K(i,o)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===R&&(i=void 0),this.autoFreeze_&&S(i,!0),n){const o=[],c=[];m("Patches").generateReplacementPatches_(t,i,o,c),n(o,c)}return i}else f(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(c,...s)=>this.produceWithPatches(c,l=>t(l,...s));let n,i;return[this.produce(t,r,(c,s)=>{n=c,i=s}),n,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){d(e)||f(8),y(e)&&(e=q(e));const t=$(this),r=M(e,void 0);return r[u].isManual_=!0,k(t),r}finishDraft(e,t){const r=e&&e[u];(!r||!r.isManual_)&&f(9);const{scope_:n}=r;return x(n,t),K(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){const i=t[r];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}r>-1&&(t=t.slice(r+1));const n=m("Patches").applyPatches_;return y(e)?n(e,t):this.produce(e,i=>n(i,t))}};function M(e,t){const r=D(e)?m("MapSet").proxyMap_(e,t):O(e)?m("MapSet").proxySet_(e,t):ie(e,t);return(t?t.scope_:G()).drafts_.push(r),r}function q(e){return y(e)||f(10,e),J(e)}function J(e){if(!d(e)||F(e))return e;const t=e[u];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=C(e,t.scope_.immer_.useStrictShallowCopy_)}else r=C(e,!0);return b(r,(n,i)=>{B(r,n,J(i))}),t&&(t.finalized_=!1),r}var a=new X,ce=a.produce;a.produceWithPatches.bind(a);a.setAutoFreeze.bind(a);a.setUseStrictShallowCopy.bind(a);a.applyPatches.bind(a);a.createDraft.bind(a);a.finishDraft.bind(a);exports.Immer=X;exports.current=q;exports.freeze=S;exports.immerable=A;exports.isDraft=y;exports.isDraftable=d;exports.nothing=R;exports.produce=ce;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.cjs172.js"),a=require("react"),c=require("./index.cjs173.js"),{useDebugValue:l}=a,{useSyncExternalStoreWithSelector:E}=c.default;const d=e=>e;function s(e,t=d,o){const r=E(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,o);return l(r),r}const n=e=>{const t=typeof e=="function"?i.createStore(e):e,o=(r,u)=>s(t,r,u);return Object.assign(o,t),o},S=e=>e?n(e):n;exports.createStore=i.createStore;exports.create=S;exports.useStore=s;
package/index.cjs98.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.cjs178.js");const t=e.default("ExpandMore",[["path",{d:"M16.59 8.29492L12 12.8749L7.41 8.29492L6 9.70492L12 15.7049L18 9.70492L16.59 8.29492Z",key:"1h4imv"}]]);exports.default=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=new Map,v=d=>{const a=y.get(d);return a?Object.fromEntries(Object.entries(a.stores).map(([i,c])=>[i,c.getState()])):{}},O=(d,a,i)=>{if(d===void 0)return{type:"untracked",connection:a.connect(i)};const c=y.get(i.name);if(c)return{type:"tracked",store:d,...c};const n={connection:a.connect(i),stores:{}};return y.set(i.name,n),{type:"tracked",store:d,...n}},R=(d,a={})=>(i,c,n)=>{const{enabled:A,anonymousActionType:C,store:r,...f}=a;let E;try{E=(A??!1)&&window.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!E)return d(i,c,n);const{connection:t,...p}=O(r,E,f);let _=!0;n.setState=(o,l,e)=>{const s=i(o,l);if(!_)return s;const T=e===void 0?{type:C||"anonymous"}:typeof e=="string"?{type:e}:e;return r===void 0?(t==null||t.send(T,c()),s):(t==null||t.send({...T,type:`${r}/${T.type}`},{...v(f.name),[r]:n.getState()}),s)};const u=(...o)=>{const l=_;_=!1,i(...o),_=l},S=d(n.setState,c,n);if(p.type==="untracked"?t==null||t.init(S):(p.stores[p.store]=n,t==null||t.init(Object.fromEntries(Object.entries(p.stores).map(([o,l])=>[o,o===p.store?S:l.getState()])))),n.dispatchFromDevtools&&typeof n.dispatch=="function"){let o=!1;const l=n.dispatch;n.dispatch=(...e)=>{l(...e)}}return t.subscribe(o=>{var l;switch(o.type){case"ACTION":return typeof o.payload!="string"?void 0:I(o.payload,e=>{if(e.type==="__setState"){if(r===void 0){u(e.state);return}Object.keys(e.state).length;const s=e.state[r];if(s==null)return;JSON.stringify(n.getState())!==JSON.stringify(s)&&u(s);return}n.dispatchFromDevtools&&typeof n.dispatch=="function"&&n.dispatch(e)});case"DISPATCH":switch(o.payload.type){case"RESET":return u(S),r===void 0?t==null?void 0:t.init(n.getState()):t==null?void 0:t.init(v(f.name));case"COMMIT":if(r===void 0){t==null||t.init(n.getState());return}return t==null?void 0:t.init(v(f.name));case"ROLLBACK":return I(o.state,e=>{if(r===void 0){u(e),t==null||t.init(n.getState());return}u(e[r]),t==null||t.init(v(f.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return I(o.state,e=>{if(r===void 0){u(e);return}JSON.stringify(n.getState())!==JSON.stringify(e[r])&&u(e[r])});case"IMPORT_STATE":{const{nextLiftedState:e}=o.payload,s=(l=e.computedStates.slice(-1)[0])==null?void 0:l.state;if(!s)return;u(r===void 0?s:s[r]),t==null||t.send(null,e);return}case"PAUSE_RECORDING":return _=!_}return}}),S},h=R,I=(d,a)=>{let i;try{i=JSON.parse(d)}catch{}i!==void 0&&a(i)};exports.devtools=h;
package/index.cjs99.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react"),e=require("./index.cjs102.js");function c(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const i=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,i.get?i:{enumerable:!0,get:()=>t[o]})}}return n.default=t,Object.freeze(n)}const r=c(s);function g(t,n){return t?d(t)?r.createElement(t,n):t:null}function d(t){return m(t)||typeof t=="function"||f(t)}function m(t){return typeof t=="function"&&(()=>{const n=Object.getPrototypeOf(t);return n.prototype&&n.prototype.isReactComponent})()}function f(t){return typeof t=="object"&&typeof t.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(t.$$typeof.description)}function p(t){const n={state:{},onStateChange:()=>{},renderFallbackValue:null,...t},[o]=r.useState(()=>({current:e.createTable(n)})),[i,l]=r.useState(()=>o.current.initialState);return o.current.setOptions(u=>({...u,...t,state:{...i,...t.state},onStateChange:a=>{l(a),t.onStateChange==null||t.onStateChange(a)}})),o.current}exports.ColumnFaceting=e.ColumnFaceting;exports.ColumnFiltering=e.ColumnFiltering;exports.ColumnGrouping=e.ColumnGrouping;exports.ColumnOrdering=e.ColumnOrdering;exports.ColumnPinning=e.ColumnPinning;exports.ColumnSizing=e.ColumnSizing;exports.ColumnVisibility=e.ColumnVisibility;exports.GlobalFaceting=e.GlobalFaceting;exports.GlobalFiltering=e.GlobalFiltering;exports.Headers=e.Headers;exports.RowExpanding=e.RowExpanding;exports.RowPagination=e.RowPagination;exports.RowPinning=e.RowPinning;exports.RowSelection=e.RowSelection;exports.RowSorting=e.RowSorting;exports._getVisibleLeafColumns=e._getVisibleLeafColumns;exports.aggregationFns=e.aggregationFns;exports.buildHeaderGroups=e.buildHeaderGroups;exports.createCell=e.createCell;exports.createColumn=e.createColumn;exports.createRow=e.createRow;exports.createTable=e.createTable;exports.defaultColumnSizing=e.defaultColumnSizing;exports.expandRows=e.expandRows;exports.filterFns=e.filterFns;exports.flattenBy=e.flattenBy;exports.functionalUpdate=e.functionalUpdate;exports.getCoreRowModel=e.getCoreRowModel;exports.getMemoOptions=e.getMemoOptions;exports.getPaginationRowModel=e.getPaginationRowModel;exports.isFunction=e.isFunction;exports.isNumberArray=e.isNumberArray;exports.isRowSelected=e.isRowSelected;exports.isSubRowSelected=e.isSubRowSelected;exports.makeStateUpdater=e.makeStateUpdater;exports.memo=e.memo;exports.orderColumns=e.orderColumns;exports.passiveEventSupported=e.passiveEventSupported;exports.reSplitAlphaNumeric=e.reSplitAlphaNumeric;exports.selectRowsFn=e.selectRowsFn;exports.shouldAutoRemoveFilter=e.shouldAutoRemoveFilter;exports.sortingFns=e.sortingFns;exports.flexRender=g;exports.useReactTable=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs106.js"),u=n=>(r,m,e)=>(e.setState=(t,i,...o)=>{const c=typeof t=="function"?s.produce(t):t;return r(c,i,...o)},n(e.setState,m,e)),S=u;exports.immer=S;
package/index.es10.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsxs as o, jsx as r, Fragment as R } from "react/jsx-runtime";
2
- import { useVirtualizer as I } from "./index.es110.js";
2
+ import { useVirtualizer as I } from "./index.es118.js";
3
3
  import x, { useCallback as L, useMemo as j } from "react";
4
- import { useToggle as B } from "./index.es101.js";
4
+ import { useToggle as B } from "./index.es109.js";
5
5
  import { strings as E } from "./index.es94.js";
6
6
  import M from "./index.es3.js";
7
7
  import { ShouldRender as S } from "./index.es14.js";
@@ -12,7 +12,7 @@ import { Command as _, CommandInput as $, CommandList as A, CommandEmpty as G, C
12
12
  import { Popover as D, PopoverTrigger as H, PopoverContent as J } from "./index.es56.js";
13
13
  import { selectVariants as K } from "./index.es61.js";
14
14
  import { debounce as Q, cn as U } from "./index.es82.js";
15
- import W from "./index.es98.js";
15
+ import W from "./index.es107.js";
16
16
  function fr({
17
17
  placeholder: i,
18
18
  options: e,
package/index.es100.js CHANGED
@@ -1,23 +1,5 @@
1
- function a(r) {
2
- var n, f, t = "";
3
- if (typeof r == "string" || typeof r == "number")
4
- t += r;
5
- else if (typeof r == "object")
6
- if (Array.isArray(r)) {
7
- var o = r.length;
8
- for (n = 0; n < o; n++)
9
- r[n] && (f = a(r[n])) && (t && (t += " "), t += f);
10
- } else
11
- for (f in r)
12
- r[f] && (t && (t += " "), t += f);
13
- return t;
14
- }
15
- function i() {
16
- for (var r, n, f = 0, t = "", o = arguments.length; f < o; f++)
17
- (r = arguments[f]) && (n = a(r)) && (t && (t += " "), t += n);
18
- return t;
19
- }
1
+ var r = /* @__PURE__ */ ((Y) => (Y.ArShort = "DD MMMM YYYY", Y.EnShort = "MMM DD, YYYY", Y))(r || {}), S = /* @__PURE__ */ ((Y) => (Y[Y.LIGHT = 1] = "LIGHT", Y[Y.DARK = 2] = "DARK", Y[Y.SYSTEM = 3] = "SYSTEM", Y))(S || {});
20
2
  export {
21
- i as clsx,
22
- i as default
3
+ r as DateFormat,
4
+ S as THEME
23
5
  };