mada-design-system 0.4.0 → 0.5.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 (836) hide show
  1. package/index.cjs.js +1 -1
  2. package/index.cjs10.js +1 -1
  3. package/index.cjs100.js +1 -1
  4. package/index.cjs101.js +1 -1
  5. package/index.cjs102.js +1 -1
  6. package/index.cjs103.js +1 -1
  7. package/index.cjs104.js +1 -1
  8. package/index.cjs105.js +1 -5
  9. package/index.cjs106.js +1 -1
  10. package/index.cjs107.js +1 -1
  11. package/index.cjs108.js +1 -1
  12. package/index.cjs109.js +1 -1
  13. package/index.cjs11.js +1 -1
  14. package/index.cjs110.js +1 -1
  15. package/index.cjs111.js +5 -1
  16. package/index.cjs112.js +1 -1
  17. package/index.cjs113.js +1 -1
  18. package/index.cjs114.js +1 -1
  19. package/index.cjs115.js +1 -1
  20. package/index.cjs116.js +1 -1
  21. package/index.cjs117.js +1 -1
  22. package/index.cjs118.js +1 -4
  23. package/index.cjs119.js +1 -1
  24. package/index.cjs12.js +1 -1
  25. package/index.cjs120.js +1 -2
  26. package/index.cjs121.js +1 -1
  27. package/index.cjs122.js +1 -2
  28. package/index.cjs123.js +1 -1
  29. package/index.cjs124.js +4 -1
  30. package/index.cjs125.js +1 -1
  31. package/index.cjs126.js +2 -1
  32. package/index.cjs127.js +1 -1
  33. package/index.cjs128.js +2 -1
  34. package/index.cjs129.js +1 -20
  35. package/index.cjs13.js +1 -1
  36. package/index.cjs130.js +1 -1
  37. package/index.cjs131.js +1 -1
  38. package/index.cjs132.js +1 -1
  39. package/index.cjs133.js +1 -1
  40. package/index.cjs134.js +1 -1
  41. package/index.cjs135.js +1 -1
  42. package/index.cjs136.js +1 -1
  43. package/index.cjs137.js +20 -1
  44. package/index.cjs138.js +1 -1
  45. package/index.cjs139.js +1 -1
  46. package/index.cjs140.js +1 -1
  47. package/index.cjs141.js +1 -1
  48. package/index.cjs142.js +1 -1
  49. package/index.cjs143.js +1 -1
  50. package/index.cjs144.js +1 -1
  51. package/index.cjs145.js +1 -1
  52. package/index.cjs146.js +1 -1
  53. package/index.cjs147.js +1 -1
  54. package/index.cjs148.js +1 -1
  55. package/index.cjs149.js +1 -1
  56. package/index.cjs15.js +1 -1
  57. package/index.cjs150.js +1 -1
  58. package/index.cjs151.js +1 -1
  59. package/index.cjs152.js +1 -1
  60. package/index.cjs153.js +1 -1
  61. package/index.cjs154.js +1 -1
  62. package/index.cjs155.js +1 -1
  63. package/index.cjs156.js +1 -1
  64. package/index.cjs157.js +1 -1
  65. package/index.cjs158.js +1 -1
  66. package/index.cjs159.js +1 -1
  67. package/index.cjs16.js +1 -1
  68. package/index.cjs160.js +1 -1
  69. package/index.cjs161.js +1 -1
  70. package/index.cjs162.js +1 -1
  71. package/index.cjs163.js +1 -1
  72. package/index.cjs164.js +1 -1
  73. package/index.cjs165.js +1 -1
  74. package/index.cjs166.js +1 -1
  75. package/index.cjs167.js +1 -1
  76. package/index.cjs168.js +1 -1
  77. package/index.cjs169.js +1 -1
  78. package/index.cjs17.js +1 -1
  79. package/index.cjs170.js +1 -1
  80. package/index.cjs171.js +1 -1
  81. package/index.cjs172.js +1 -1
  82. package/index.cjs173.js +1 -1
  83. package/index.cjs174.js +1 -1
  84. package/index.cjs175.js +1 -1
  85. package/index.cjs176.js +1 -1
  86. package/index.cjs177.js +1 -1
  87. package/index.cjs178.js +1 -1
  88. package/index.cjs179.js +1 -1
  89. package/index.cjs18.js +1 -1
  90. package/index.cjs180.js +1 -1
  91. package/index.cjs181.js +1 -1
  92. package/index.cjs182.js +1 -1
  93. package/index.cjs183.js +1 -1
  94. package/index.cjs185.js +1 -1
  95. package/index.cjs186.js +1 -1
  96. package/index.cjs187.js +1 -1
  97. package/index.cjs188.js +1 -1
  98. package/index.cjs189.js +1 -1
  99. package/index.cjs19.js +1 -1
  100. package/index.cjs190.js +1 -1
  101. package/index.cjs191.js +1 -1
  102. package/index.cjs192.js +1 -1
  103. package/index.cjs193.js +1 -4
  104. package/index.cjs194.js +1 -1
  105. package/index.cjs195.js +1 -1
  106. package/index.cjs196.js +1 -1
  107. package/index.cjs197.js +1 -1
  108. package/index.cjs198.js +1 -3
  109. package/index.cjs199.js +1 -1
  110. package/index.cjs20.js +1 -1
  111. package/index.cjs200.js +1 -1
  112. package/index.cjs201.js +4 -1
  113. package/index.cjs202.js +1 -1
  114. package/index.cjs203.js +1 -1
  115. package/index.cjs204.js +1 -1
  116. package/index.cjs205.js +1 -1
  117. package/index.cjs206.js +1 -1
  118. package/index.cjs207.js +1 -1
  119. package/index.cjs208.js +1 -1
  120. package/index.cjs209.js +3 -1
  121. package/index.cjs21.js +1 -1
  122. package/index.cjs210.js +1 -1
  123. package/index.cjs211.js +1 -1
  124. package/index.cjs212.js +1 -1
  125. package/index.cjs213.js +1 -1
  126. package/index.cjs214.js +1 -1
  127. package/index.cjs215.js +1 -1
  128. package/index.cjs216.js +1 -1
  129. package/index.cjs217.js +1 -1
  130. package/index.cjs218.js +1 -1
  131. package/index.cjs219.js +1 -1
  132. package/index.cjs22.js +1 -1
  133. package/index.cjs220.js +1 -1
  134. package/index.cjs221.js +1 -1
  135. package/index.cjs222.js +1 -1
  136. package/index.cjs223.js +1 -1
  137. package/index.cjs224.js +1 -1
  138. package/index.cjs225.js +1 -1
  139. package/index.cjs226.js +1 -1
  140. package/index.cjs227.js +1 -1
  141. package/index.cjs228.js +1 -1
  142. package/index.cjs229.js +1 -1
  143. package/index.cjs23.js +1 -1
  144. package/index.cjs230.js +1 -1
  145. package/index.cjs231.js +1 -1
  146. package/index.cjs232.js +1 -1
  147. package/index.cjs233.js +1 -1
  148. package/index.cjs234.js +1 -1
  149. package/index.cjs235.js +1 -1
  150. package/index.cjs236.js +1 -1
  151. package/index.cjs237.js +1 -1
  152. package/index.cjs238.js +1 -2
  153. package/index.cjs239.js +1 -1
  154. package/index.cjs24.js +1 -1
  155. package/index.cjs240.js +3 -1
  156. package/index.cjs241.js +1 -1
  157. package/index.cjs242.js +1 -1
  158. package/index.cjs243.js +1 -1
  159. package/index.cjs244.js +1 -1
  160. package/index.cjs245.js +1 -1
  161. package/index.cjs246.js +1 -1
  162. package/index.cjs247.js +1 -1
  163. package/index.cjs248.js +1 -1
  164. package/index.cjs249.js +1 -1
  165. package/index.cjs25.js +1 -1
  166. package/index.cjs250.js +1 -1
  167. package/index.cjs251.js +1 -1
  168. package/index.cjs252.js +1 -1
  169. package/index.cjs253.js +1 -1
  170. package/index.cjs254.js +1 -2
  171. package/index.cjs255.js +2 -1
  172. package/index.cjs256.js +1 -1
  173. package/index.cjs257.js +1 -1
  174. package/index.cjs258.js +1 -1
  175. package/index.cjs259.js +1 -1
  176. package/index.cjs26.js +1 -1
  177. package/index.cjs260.js +1 -1
  178. package/index.cjs261.js +1 -1
  179. package/index.cjs262.js +1 -1
  180. package/index.cjs263.js +1 -1
  181. package/index.cjs264.js +1 -1
  182. package/index.cjs265.js +1 -15
  183. package/index.cjs266.js +1 -1
  184. package/index.cjs267.js +1 -1
  185. package/index.cjs268.js +1 -1
  186. package/index.cjs269.js +1 -1
  187. package/index.cjs27.js +1 -1
  188. package/index.cjs270.js +1 -1
  189. package/index.cjs271.js +2 -1
  190. package/index.cjs272.js +1 -1
  191. package/index.cjs273.js +1 -1
  192. package/index.cjs274.js +1 -1
  193. package/index.cjs275.js +1 -1
  194. package/index.cjs276.js +1 -1
  195. package/index.cjs277.js +1 -1
  196. package/index.cjs278.js +1 -1
  197. package/index.cjs279.js +1 -1
  198. package/index.cjs28.js +1 -1
  199. package/index.cjs280.js +1 -1
  200. package/index.cjs281.js +1 -1
  201. package/index.cjs282.js +1 -1
  202. package/index.cjs283.js +1 -1
  203. package/index.cjs284.js +1 -1
  204. package/index.cjs285.js +1 -1
  205. package/index.cjs286.js +15 -1
  206. package/index.cjs287.js +1 -1
  207. package/index.cjs288.js +1 -1
  208. package/index.cjs289.js +1 -1
  209. package/index.cjs29.js +1 -1
  210. package/index.cjs290.js +1 -1
  211. package/index.cjs291.js +1 -1
  212. package/index.cjs292.js +1 -1
  213. package/index.cjs293.js +1 -1
  214. package/index.cjs294.js +1 -3
  215. package/index.cjs295.js +1 -1
  216. package/index.cjs296.js +1 -1
  217. package/index.cjs297.js +1 -1
  218. package/index.cjs298.js +1 -1
  219. package/index.cjs299.js +1 -1
  220. package/index.cjs3.js +1 -1
  221. package/index.cjs30.js +1 -1
  222. package/index.cjs300.js +1 -1
  223. package/index.cjs301.js +1 -1
  224. package/index.cjs302.js +1 -1
  225. package/index.cjs303.js +1 -1
  226. package/index.cjs304.js +1 -1
  227. package/index.cjs305.js +1 -1
  228. package/index.cjs306.js +1 -1
  229. package/index.cjs307.js +1 -1
  230. package/index.cjs308.js +1 -1
  231. package/index.cjs309.js +1 -1
  232. package/index.cjs31.js +1 -1
  233. package/index.cjs310.js +1 -1
  234. package/index.cjs311.js +1 -1
  235. package/index.cjs312.js +1 -1
  236. package/index.cjs313.js +1 -1
  237. package/index.cjs314.js +1 -1
  238. package/index.cjs315.js +1 -1
  239. package/index.cjs316.js +1 -1
  240. package/index.cjs317.js +1 -1
  241. package/index.cjs318.js +1 -1
  242. package/index.cjs319.js +1 -1
  243. package/index.cjs32.js +1 -1
  244. package/index.cjs320.js +1 -1
  245. package/index.cjs321.js +1 -1
  246. package/index.cjs322.js +1 -1
  247. package/index.cjs323.js +1 -1
  248. package/index.cjs324.js +1 -1
  249. package/index.cjs325.js +1 -1
  250. package/index.cjs327.js +1 -1
  251. package/index.cjs329.js +1 -1
  252. package/index.cjs33.js +1 -1
  253. package/index.cjs330.js +1 -1
  254. package/index.cjs334.js +1 -1
  255. package/index.cjs339.js +1 -1
  256. package/index.cjs34.js +1 -1
  257. package/index.cjs340.js +1 -1
  258. package/index.cjs341.js +1 -1
  259. package/index.cjs342.js +1 -1
  260. package/index.cjs343.js +1 -1
  261. package/index.cjs344.js +1 -1
  262. package/index.cjs345.js +1 -1
  263. package/index.cjs346.js +1 -1
  264. package/index.cjs347.js +1 -1
  265. package/index.cjs348.js +1 -1
  266. package/index.cjs349.js +1 -1
  267. package/index.cjs35.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 -1
  277. package/index.cjs359.js +1 -1
  278. package/index.cjs36.js +1 -5
  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 +1 -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 +5 -1
  290. package/index.cjs370.js +1 -1
  291. package/index.cjs371.js +1 -1
  292. package/index.cjs372.js +1 -1
  293. package/index.cjs373.js +1 -2
  294. package/index.cjs374.js +1 -1
  295. package/index.cjs375.js +1 -1
  296. package/index.cjs376.js +1 -1
  297. package/index.cjs377.js +1 -1
  298. package/index.cjs378.js +1 -1
  299. package/index.cjs379.js +1 -1
  300. package/index.cjs38.js +1 -1
  301. package/index.cjs380.js +1 -1
  302. package/index.cjs381.js +1 -1
  303. package/index.cjs382.js +1 -1
  304. package/index.cjs383.js +1 -74
  305. package/index.cjs384.js +1 -1
  306. package/index.cjs385.js +1 -1
  307. package/index.cjs386.js +1 -1
  308. package/index.cjs387.js +1 -1
  309. package/index.cjs388.js +1 -1
  310. package/index.cjs389.js +1 -1
  311. package/index.cjs39.js +1 -1
  312. package/index.cjs390.js +1 -1
  313. package/index.cjs391.js +1 -1
  314. package/index.cjs392.js +2 -1
  315. package/index.cjs393.js +1 -1
  316. package/index.cjs394.js +1 -1
  317. package/index.cjs395.js +1 -1
  318. package/index.cjs396.js +1 -1
  319. package/index.cjs397.js +1 -1
  320. package/index.cjs398.js +1 -1
  321. package/index.cjs399.js +1 -1
  322. package/index.cjs4.js +1 -1
  323. package/index.cjs40.js +1 -1
  324. package/index.cjs400.js +1 -1
  325. package/index.cjs401.js +1 -1
  326. package/index.cjs402.js +1 -1
  327. package/index.cjs403.js +1 -1
  328. package/index.cjs404.js +1 -1
  329. package/index.cjs405.js +74 -1
  330. package/index.cjs406.js +1 -1
  331. package/index.cjs407.js +1 -1
  332. package/index.cjs408.js +1 -0
  333. package/index.cjs409.js +1 -0
  334. package/index.cjs41.js +1 -1
  335. package/index.cjs410.js +1 -0
  336. package/index.cjs411.js +1 -0
  337. package/index.cjs412.js +1 -0
  338. package/index.cjs413.js +1 -0
  339. package/index.cjs414.js +1 -0
  340. package/index.cjs415.js +1 -0
  341. package/index.cjs416.js +1 -0
  342. package/index.cjs417.js +1 -0
  343. package/index.cjs418.js +1 -0
  344. package/index.cjs419.js +1 -0
  345. package/index.cjs42.js +1 -6
  346. package/index.cjs420.js +1 -0
  347. package/index.cjs421.js +1 -0
  348. package/index.cjs422.js +1 -0
  349. package/index.cjs423.js +1 -0
  350. package/index.cjs424.js +1 -0
  351. package/index.cjs425.js +1 -0
  352. package/index.cjs426.js +1 -0
  353. package/index.cjs427.js +1 -0
  354. package/index.cjs428.js +1 -0
  355. package/index.cjs429.js +1 -0
  356. package/index.cjs43.js +6 -1
  357. package/index.cjs430.js +1 -0
  358. package/index.cjs44.js +1 -1
  359. package/index.cjs45.js +1 -1
  360. package/index.cjs46.js +1 -1
  361. package/index.cjs47.js +1 -9
  362. package/index.cjs48.js +9 -1
  363. package/index.cjs49.js +1 -7
  364. package/index.cjs50.js +7 -1
  365. package/index.cjs51.js +1 -1
  366. package/index.cjs52.js +1 -1
  367. package/index.cjs53.js +1 -1
  368. package/index.cjs54.js +1 -1
  369. package/index.cjs55.js +1 -1
  370. package/index.cjs56.js +1 -1
  371. package/index.cjs57.js +1 -3
  372. package/index.cjs58.js +3 -1
  373. package/index.cjs59.js +1 -1
  374. package/index.cjs60.js +1 -7
  375. package/index.cjs61.js +7 -1
  376. package/index.cjs62.js +1 -1
  377. package/index.cjs63.js +1 -6
  378. package/index.cjs64.js +6 -1
  379. package/index.cjs65.js +1 -1
  380. package/index.cjs66.js +1 -1
  381. package/index.cjs67.js +1 -1
  382. package/index.cjs68.js +1 -1
  383. package/index.cjs69.js +1 -11
  384. package/index.cjs7.js +1 -1
  385. package/index.cjs70.js +11 -1
  386. package/index.cjs71.js +1 -1
  387. package/index.cjs72.js +1 -5
  388. package/index.cjs73.js +5 -11
  389. package/index.cjs74.js +11 -1
  390. package/index.cjs75.js +1 -33
  391. package/index.cjs76.js +33 -1
  392. package/index.cjs77.js +1 -1
  393. package/index.cjs78.js +1 -1
  394. package/index.cjs79.js +1 -1
  395. package/index.cjs8.js +1 -1
  396. package/index.cjs80.js +1 -1
  397. package/index.cjs81.js +1 -1
  398. package/index.cjs82.js +1 -1
  399. package/index.cjs83.js +1 -1
  400. package/index.cjs84.js +1 -1
  401. package/index.cjs85.js +1 -1
  402. package/index.cjs86.js +1 -1
  403. package/index.cjs87.js +1 -1
  404. package/index.cjs88.js +1 -1
  405. package/index.cjs89.js +1 -1
  406. package/index.cjs9.js +1 -1
  407. package/index.cjs90.js +1 -1
  408. package/index.cjs91.js +1 -1
  409. package/index.cjs92.js +1 -1
  410. package/index.cjs93.js +1 -1
  411. package/index.cjs94.js +1 -1
  412. package/index.cjs95.js +1 -1
  413. package/index.cjs96.js +1 -1
  414. package/index.cjs97.js +1 -1
  415. package/index.cjs98.js +1 -1
  416. package/index.cjs99.js +1 -1
  417. package/index.es.d.ts +15 -3
  418. package/index.es.js +316 -314
  419. package/index.es10.js +7 -7
  420. package/index.es100.js +469 -86
  421. package/index.es101.js +21 -20
  422. package/index.es102.js +137 -22
  423. package/index.es103.js +6 -1709
  424. package/index.es104.js +3 -35
  425. package/index.es105.js +11 -2596
  426. package/index.es106.js +80 -314
  427. package/index.es107.js +21 -11
  428. package/index.es108.js +24 -11
  429. package/index.es109.js +1713 -11
  430. package/index.es11.js +2 -2
  431. package/index.es110.js +35 -8
  432. package/index.es111.js +2590 -27
  433. package/index.es112.js +321 -37
  434. package/index.es113.js +4 -4
  435. package/index.es114.js +5 -5
  436. package/index.es115.js +5 -5
  437. package/index.es116.js +7 -10
  438. package/index.es117.js +32 -10
  439. package/index.es118.js +37 -2568
  440. package/index.es119.js +12 -142
  441. package/index.es12.js +7 -7
  442. package/index.es120.js +11 -117
  443. package/index.es121.js +11 -137
  444. package/index.es122.js +11 -223
  445. package/index.es123.js +11 -516
  446. package/index.es124.js +2567 -9
  447. package/index.es125.js +142 -12
  448. package/index.es126.js +117 -11
  449. package/index.es127.js +137 -11
  450. package/index.es128.js +223 -11
  451. package/index.es129.js +513 -202
  452. package/index.es13.js +4 -4
  453. package/index.es130.js +4 -4
  454. package/index.es131.js +10 -4
  455. package/index.es132.js +5 -5
  456. package/index.es133.js +378 -10
  457. package/index.es134.js +5 -5
  458. package/index.es135.js +5 -5
  459. package/index.es136.js +5 -5
  460. package/index.es137.js +205 -11
  461. package/index.es138.js +5 -5
  462. package/index.es139.js +5 -2
  463. package/index.es140.js +10 -1
  464. package/index.es141.js +11 -2
  465. package/index.es142.js +11 -2
  466. package/index.es143.js +11 -2
  467. package/index.es144.js +11 -2
  468. package/index.es145.js +5 -5
  469. package/index.es146.js +5 -5
  470. package/index.es147.js +2 -11
  471. package/index.es148.js +2 -11
  472. package/index.es149.js +2 -3
  473. package/index.es15.js +9 -9
  474. package/index.es150.js +2 -11
  475. package/index.es151.js +2 -11
  476. package/index.es152.js +2 -11
  477. package/index.es153.js +5 -5
  478. package/index.es154.js +5 -5
  479. package/index.es155.js +11 -2
  480. package/index.es156.js +11 -2
  481. package/index.es157.js +5 -5
  482. package/index.es158.js +5 -5
  483. package/index.es159.js +5 -5
  484. package/index.es16.js +1 -1
  485. package/index.es160.js +5 -5
  486. package/index.es161.js +2 -11
  487. package/index.es162.js +2 -22
  488. package/index.es163.js +5 -5
  489. package/index.es164.js +11 -22
  490. package/index.es165.js +5 -5
  491. package/index.es166.js +5 -5
  492. package/index.es167.js +11 -12
  493. package/index.es168.js +22 -11
  494. package/index.es169.js +5 -5
  495. package/index.es17.js +2 -2
  496. package/index.es170.js +5 -5
  497. package/index.es171.js +5 -5
  498. package/index.es172.js +10 -469
  499. package/index.es173.js +10 -138
  500. package/index.es174.js +11 -6
  501. package/index.es175.js +11 -2338
  502. package/index.es176.js +11 -2152
  503. package/index.es177.js +2338 -11
  504. package/index.es178.js +2154 -3
  505. package/index.es179.js +10 -479
  506. package/index.es18.js +1 -1
  507. package/index.es180.js +13 -232
  508. package/index.es181.js +8 -54
  509. package/index.es182.js +3 -33
  510. package/index.es183.js +479 -11
  511. package/index.es185.js +2 -39
  512. package/index.es186.js +57 -17
  513. package/index.es187.js +56 -34
  514. package/index.es188.js +30 -1223
  515. package/index.es189.js +12 -14
  516. package/index.es19.js +1 -1
  517. package/index.es190.js +233 -8
  518. package/index.es191.js +51 -47
  519. package/index.es192.js +39 -2
  520. package/index.es193.js +2 -2261
  521. package/index.es194.js +7 -10
  522. package/index.es195.js +2 -13
  523. package/index.es196.js +18 -13
  524. package/index.es197.js +34 -105
  525. package/index.es198.js +1223 -24
  526. package/index.es199.js +49 -50
  527. package/index.es20.js +2 -2
  528. package/index.es200.js +2 -371
  529. package/index.es201.js +2260 -61
  530. package/index.es202.js +2 -48
  531. package/index.es203.js +45 -6
  532. package/index.es204.js +52 -5
  533. package/index.es205.js +11 -47
  534. package/index.es206.js +13 -22
  535. package/index.es207.js +13 -6
  536. package/index.es208.js +106 -10
  537. package/index.es209.js +25 -11
  538. package/index.es21.js +6 -6
  539. package/index.es210.js +50 -16
  540. package/index.es211.js +358 -217
  541. package/index.es212.js +61 -24
  542. package/index.es213.js +48 -12
  543. package/index.es214.js +6 -279
  544. package/index.es215.js +5 -262
  545. package/index.es216.js +47 -17
  546. package/index.es217.js +22 -15
  547. package/index.es218.js +7 -21
  548. package/index.es219.js +10 -8
  549. package/index.es22.js +3 -3
  550. package/index.es220.js +11 -5
  551. package/index.es221.js +17 -5
  552. package/index.es222.js +230 -5
  553. package/index.es223.js +25 -2
  554. package/index.es224.js +11 -57
  555. package/index.es225.js +278 -56
  556. package/index.es226.js +261 -3
  557. package/index.es227.js +17 -2
  558. package/index.es228.js +14 -12
  559. package/index.es229.js +20 -24
  560. package/index.es23.js +16 -8
  561. package/index.es230.js +7 -10
  562. package/index.es231.js +5 -39
  563. package/index.es232.js +5 -2000
  564. package/index.es233.js +5 -7
  565. package/index.es234.js +3 -72
  566. package/index.es235.js +6 -24
  567. package/index.es236.js +28 -2
  568. package/index.es237.js +160 -7
  569. package/index.es238.js +237 -326
  570. package/index.es239.js +9 -50
  571. package/index.es24.js +1 -1
  572. package/index.es240.js +95 -30
  573. package/index.es241.js +4 -34
  574. package/index.es242.js +2 -53
  575. package/index.es243.js +13 -119
  576. package/index.es244.js +24 -8
  577. package/index.es245.js +11 -163
  578. package/index.es246.js +38 -309
  579. package/index.es247.js +1992 -119
  580. package/index.es248.js +6 -179
  581. package/index.es249.js +71 -25
  582. package/index.es25.js +2 -2
  583. package/index.es250.js +22 -59
  584. package/index.es251.js +2 -5
  585. package/index.es252.js +2 -36
  586. package/index.es253.js +2 -26
  587. package/index.es254.js +8 -186
  588. package/index.es255.js +327 -138
  589. package/index.es256.js +51 -2
  590. package/index.es257.js +30 -8
  591. package/index.es258.js +34 -2
  592. package/index.es259.js +53 -98
  593. package/index.es26.js +1 -1
  594. package/index.es260.js +116 -23
  595. package/index.es261.js +8 -38
  596. package/index.es262.js +163 -2
  597. package/index.es263.js +308 -58
  598. package/index.es264.js +125 -15
  599. package/index.es265.js +178 -242
  600. package/index.es266.js +25 -73
  601. package/index.es267.js +61 -4
  602. package/index.es268.js +5 -58
  603. package/index.es269.js +36 -11
  604. package/index.es27.js +5 -5
  605. package/index.es270.js +25 -6
  606. package/index.es271.js +185 -35
  607. package/index.es272.js +138 -27
  608. package/index.es273.js +97 -290
  609. package/index.es274.js +23 -88
  610. package/index.es275.js +39 -3
  611. package/index.es276.js +2 -8
  612. package/index.es277.js +68 -15
  613. package/index.es278.js +83 -145
  614. package/index.es279.js +48 -2
  615. package/index.es28.js +1 -1
  616. package/index.es280.js +8 -68
  617. package/index.es281.js +4 -84
  618. package/index.es282.js +47 -43
  619. package/index.es283.js +2 -9
  620. package/index.es284.js +59 -4
  621. package/index.es285.js +14 -49
  622. package/index.es286.js +242 -36
  623. package/index.es287.js +74 -3
  624. package/index.es288.js +5 -11
  625. package/index.es289.js +57 -119
  626. package/index.es29.js +6 -6
  627. package/index.es290.js +11 -7
  628. package/index.es291.js +6 -7
  629. package/index.es292.js +35 -7
  630. package/index.es293.js +27 -351
  631. package/index.es294.js +291 -95
  632. package/index.es295.js +89 -8
  633. package/index.es296.js +3 -3
  634. package/index.es297.js +8 -206
  635. package/index.es298.js +16 -116
  636. package/index.es299.js +146 -6
  637. package/index.es3.js +1 -1
  638. package/index.es30.js +36 -97
  639. package/index.es300.js +38 -8
  640. package/index.es301.js +10 -15
  641. package/index.es302.js +8 -2
  642. package/index.es303.js +348 -42
  643. package/index.es304.js +3 -52
  644. package/index.es305.js +206 -6
  645. package/index.es306.js +119 -23
  646. package/index.es307.js +6 -20
  647. package/index.es308.js +7 -31
  648. package/index.es309.js +116 -6
  649. package/index.es31.js +90 -115
  650. package/index.es310.js +7 -3
  651. package/index.es311.js +7 -6
  652. package/index.es312.js +15 -3
  653. package/index.es313.js +15 -19
  654. package/index.es314.js +5 -67
  655. package/index.es315.js +7 -15
  656. package/index.es316.js +3 -15
  657. package/index.es317.js +3 -4
  658. package/index.es318.js +3 -5
  659. package/index.es319.js +6 -17
  660. package/index.es32.js +117 -65
  661. package/index.es320.js +5 -17
  662. package/index.es321.js +4 -17
  663. package/index.es322.js +117 -17
  664. package/index.es323.js +3 -16
  665. package/index.es324.js +2 -17
  666. package/index.es325.js +2 -17
  667. package/index.es327.js +1 -1
  668. package/index.es329.js +1 -1
  669. package/index.es33.js +69 -53
  670. package/index.es330.js +1 -1
  671. package/index.es334.js +1 -1
  672. package/index.es339.js +6 -58
  673. package/index.es34.js +53 -70
  674. package/index.es340.js +31 -12
  675. package/index.es341.js +59 -4
  676. package/index.es342.js +12 -9
  677. package/index.es343.js +4 -55
  678. package/index.es344.js +10 -2
  679. package/index.es345.js +55 -2
  680. package/index.es346.js +3 -15
  681. package/index.es347.js +5 -336
  682. package/index.es348.js +17 -5
  683. package/index.es349.js +17 -5
  684. package/index.es35.js +69 -1208
  685. package/index.es350.js +17 -7
  686. package/index.es351.js +17 -19
  687. package/index.es352.js +17 -4
  688. package/index.es353.js +17 -6
  689. package/index.es354.js +17 -3
  690. package/index.es355.js +5 -71
  691. package/index.es356.js +24 -4
  692. package/index.es357.js +20 -6
  693. package/index.es358.js +6 -30
  694. package/index.es359.js +3 -10
  695. package/index.es36.js +1203 -55
  696. package/index.es360.js +18 -7
  697. package/index.es361.js +66 -6
  698. package/index.es362.js +16 -2
  699. package/index.es363.js +5 -2
  700. package/index.es364.js +4 -10
  701. package/index.es365.js +6 -3
  702. package/index.es366.js +335 -8
  703. package/index.es367.js +19 -4
  704. package/index.es368.js +4 -46
  705. package/index.es369.js +4 -23
  706. package/index.es37.js +55 -43
  707. package/index.es370.js +3 -2
  708. package/index.es371.js +69 -64
  709. package/index.es372.js +4 -66
  710. package/index.es373.js +15 -77
  711. package/index.es374.js +6 -258
  712. package/index.es375.js +29 -31
  713. package/index.es376.js +8 -6
  714. package/index.es377.js +9 -131
  715. package/index.es378.js +9 -17
  716. package/index.es379.js +2 -7
  717. package/index.es38.js +50 -17
  718. package/index.es380.js +2 -6
  719. package/index.es381.js +2 -2
  720. package/index.es382.js +70 -3
  721. package/index.es383.js +92 -251
  722. package/index.es384.js +2 -8
  723. package/index.es385.js +2 -3
  724. package/index.es386.js +9 -2
  725. package/index.es387.js +10 -1
  726. package/index.es388.js +4 -174
  727. package/index.es389.js +4 -2
  728. package/index.es39.js +13 -240
  729. package/index.es390.js +46 -2
  730. package/index.es391.js +25 -2
  731. package/index.es392.js +78 -2
  732. package/index.es393.js +258 -7
  733. package/index.es394.js +31 -6
  734. package/index.es395.js +6 -20
  735. package/index.es396.js +132 -51
  736. package/index.es397.js +17 -251
  737. package/index.es398.js +6 -42
  738. package/index.es399.js +2 -16
  739. package/index.es4.js +6 -6
  740. package/index.es40.js +245 -18
  741. package/index.es400.js +67 -10
  742. package/index.es401.js +65 -47
  743. package/index.es402.js +5 -25
  744. package/index.es403.js +3 -128
  745. package/index.es404.js +2 -112
  746. package/index.es405.js +242 -64
  747. package/index.es406.js +7 -8
  748. package/index.es407.js +3 -7
  749. package/index.es408.js +176 -0
  750. package/index.es409.js +4 -0
  751. package/index.es41.js +18 -116
  752. package/index.es410.js +4 -0
  753. package/index.es411.js +4 -0
  754. package/index.es412.js +4 -0
  755. package/index.es413.js +9 -0
  756. package/index.es414.js +10 -0
  757. package/index.es415.js +9 -0
  758. package/index.es416.js +22 -0
  759. package/index.es417.js +53 -0
  760. package/index.es418.js +251 -0
  761. package/index.es419.js +45 -0
  762. package/index.es42.js +109 -283
  763. package/index.es420.js +18 -0
  764. package/index.es421.js +12 -0
  765. package/index.es422.js +50 -0
  766. package/index.es423.js +28 -0
  767. package/index.es424.js +131 -0
  768. package/index.es425.js +114 -0
  769. package/index.es426.js +4 -0
  770. package/index.es427.js +4 -0
  771. package/index.es428.js +75 -0
  772. package/index.es429.js +11 -0
  773. package/index.es43.js +289 -13
  774. package/index.es430.js +9 -0
  775. package/index.es44.js +13 -306
  776. package/index.es45.js +297 -208
  777. package/index.es46.js +207 -139
  778. package/index.es47.js +141 -81
  779. package/index.es48.js +82 -166
  780. package/index.es49.js +167 -201
  781. package/index.es50.js +201 -43
  782. package/index.es51.js +48 -79
  783. package/index.es52.js +79 -41
  784. package/index.es53.js +40 -36
  785. package/index.es54.js +36 -57
  786. package/index.es55.js +54 -80
  787. package/index.es56.js +80 -261
  788. package/index.es57.js +264 -30
  789. package/index.es58.js +29 -19
  790. package/index.es59.js +22 -37
  791. package/index.es60.js +37 -52
  792. package/index.es61.js +51 -26
  793. package/index.es62.js +27 -71
  794. package/index.es63.js +67 -137
  795. package/index.es64.js +138 -14
  796. package/index.es65.js +14 -130
  797. package/index.es66.js +111 -400
  798. package/index.es67.js +422 -5
  799. package/index.es68.js +6 -12
  800. package/index.es69.js +11 -37
  801. package/index.es7.js +8 -8
  802. package/index.es70.js +33 -45
  803. package/index.es71.js +42 -124
  804. package/index.es72.js +122 -65
  805. package/index.es73.js +63 -89
  806. package/index.es74.js +101 -35
  807. package/index.es75.js +35 -75
  808. package/index.es76.js +74 -36
  809. package/index.es77.js +36 -20
  810. package/index.es78.js +20 -92
  811. package/index.es79.js +90 -19
  812. package/index.es8.js +2 -2
  813. package/index.es80.js +22 -8
  814. package/index.es81.js +7 -79
  815. package/index.es82.js +79 -6
  816. package/index.es83.js +7 -4
  817. package/index.es84.js +4 -79
  818. package/index.es85.js +79 -32
  819. package/index.es86.js +28 -44
  820. package/index.es87.js +48 -8
  821. package/index.es88.js +8 -16
  822. package/index.es89.js +16 -45
  823. package/index.es9.js +10 -10
  824. package/index.es90.js +45 -4
  825. package/index.es91.js +4 -115
  826. package/index.es92.js +114 -4
  827. package/index.es93.js +5 -7
  828. package/index.es94.js +7 -29
  829. package/index.es95.js +29 -28
  830. package/index.es96.js +28 -11
  831. package/index.es97.js +11 -126
  832. package/index.es98.js +110 -110
  833. package/index.es99.js +126 -11
  834. package/package.json +1 -3
  835. package/style.css +1 -1
  836. package/dist +0 -10
package/index.cjs74.js CHANGED
@@ -1 +1,11 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("./index.cjs73.js"),d=require("./index.cjs78.js"),x=require("./index.cjs85.js"),j=require("./index.cjs170.js"),f=require("./index.cjs171.js"),n=require("./index.cjs169.js"),T=require("./index.cjs154.js"),m={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 g({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&&m[a.variant]}),e.jsxs("div",{className:"grid flex-1 items-center 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=g;
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.cjs110.js"),w=require("react"),n=require("./index.cjs85.js"),y=require("./index.cjs22.js"),T=require("./index.cjs113.js"),h=require("./index.cjs174.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
+ 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
+ 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
+ data-[swipe=end]:animate-out data-[state=closed]:fade-out-80
5
+ before:w-space-02 before:top-0 before:bottom-0 before:absolute before:start-0 before:opacity-70`,{variants:{variant:{default:"before:bg-background-neutral-100",destructive:"destructive group before:bg-background-error",success:"success group before:bg-background-success",info:"info group before:bg-background-info",warning:"warning group before:bg-background-warning"},position:{top:"data-[state=closed]:slide-out-to-top-full data-[state=open]:slide-in-from-top-full",bottom:"data-[state=closed]:slide-out-to-bottom-full data-[state=open]:slide-in-from-bottom-full","top-right":"data-[state=closed]:slide-out-to-top-full data-[state=open]:slide-in-from-top-full","top-left":"data-[state=closed]:slide-out-to-top-full data-[state=open]:slide-in-from-top-full","bottom-right":"data-[state=closed]:slide-out-to-bottom-full data-[state=open]:slide-in-from-bottom-full","bottom-left":"data-[state=closed]:slide-out-to-bottom-full data-[state=open]:slide-in-from-bottom-full"}},defaultVariants:{variant:"default",position:"bottom"}}),u=i.forwardRef(({className:t,variant:e,position:o,...r},x)=>s.jsx(a.Root,{ref:x,className:n.cn(k({variant:e,position:o}),t),...r}));u.displayName=a.Root.displayName;const p=i.forwardRef(({className:t,...e},o)=>s.jsx(a.Action,{ref:o,className:n.cn("inline-flex h-[32px] items-center justify-center gap-space-01 rounded border-none bg-transparent px-space-03 py-[6px] text-body-01 font-medium text-text-default transition-colors hover:bg-button-background-neutral-hovered focus:bg-transparent focus:outline focus:outline-2 focus:outline-offset-1 focus:outline-border-black active:bg-button-background-neutral-pressed disabled:pointer-events-none disabled:cursor-not-allowed disabled:text-disabled-text-default-disabled [&>svg]:size-[20px]",t),...e}));p.displayName=a.Action.displayName;const f=i.forwardRef(({...t},e)=>s.jsx(a.Close,{ref:e,asChild:!0,"toast-close":"",...t,children:s.jsx(y.Button,{variant:"text",colors:"neutral",size:"icon-sm",rounded:"default",children:s.jsx(T.default,{})})}));f.displayName=a.Close.displayName;const m=i.forwardRef(({className:t,...e},o)=>s.jsx(a.Title,{ref:o,className:n.cn("text-body-02 font-semibold text-text-display",t),...e}));m.displayName=a.Title.displayName;const b=i.forwardRef(({className:t,...e},o)=>s.jsx(a.Description,{ref:o,className:n.cn("content-center text-body-01 text-text-paragraph-primary",t),...e}));b.displayName=a.Description.displayName;const g=({icon:t})=>s.jsx("div",{className:`flex size-space-07 items-center justify-center rounded-full bg-background-neutral-50 p-[10px]
6
+ group-[.destructive]:bg-icon-background-error-light group-[.info]:bg-icon-background-info-light
7
+ group-[.success]:bg-icon-background-success-light group-[.warning]:bg-icon-background-warning-light
8
+ [&>svg]:size-[20px] [&>svg]:shrink-0
9
+ group-[.destructive]:[&>svg]:fill-icon-error group-[.info]:[&>svg]:fill-icon-info
10
+ group-[.success]:[&>svg]:fill-icon-success group-[.warning]:[&>svg]:fill-icon-warning
11
+ `,children:t||s.jsx(h.default,{})});g.displayName="ToastIcon";exports.Toast=u;exports.ToastAction=p;exports.ToastClose=f;exports.ToastDescription=b;exports.ToastIcon=g;exports.ToastProvider=N;exports.ToastTitle=m;exports.ToastViewport=d;
package/index.cjs75.js CHANGED
@@ -1,33 +1 @@
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.cjs104.js"),l=require("react"),p=require("./index.cjs84.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
- 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
- `,{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
- hover:border-button-background-primary-light-hovered
5
- hover:text-text-primary
6
- active:text-text-primary
7
- data-[state=on]:bg-button-background-primary
8
- data-[state=on]:text-text-oncolor-primary
9
- hover:data-[state=on]:bg-button-background-primary-hovered
10
- hover:data-[state=on]:border-button-background-primary-hovered
11
- hover:data-[state=on]:text-text-oncolor-primary
12
- active:data-[state=on]:text-text-oncolor-primary
13
- active:bg-button-background-primary-light-pressed
14
- active:border-button-background-primary-light-pressed
15
- active:data-[state=on]:bg-button-background-primary-pressed`,gray:`hover:bg-button-background-neutral-pressed
16
- active:bg-button-background-neutral-selected
17
- active:data-[state=on]:bg-button-background-black-pressed
18
- data-[state=on]:bg-button-background-black
19
- data-[state=on]:text-text-oncolor-primary
20
- hover:data-[state=on]:bg-button-background-black-hovered
21
- hover:data-[state=on]:text-text-oncolor-primary
22
- `,oncolor:`border-border-white-40 text-text-oncolor-primary
23
- hover:bg-button-background-transparent-hovered
24
- active:bg-button-background-transparent-pressed
25
- data-[state=on]:bg-button-background-oncolor
26
- data-[state=on]:text-text-default
27
- hover:data-[state=on]:bg-button-background-oncolor-hovered
28
- active:data-[state=on]:bg-button-background-oncolor-pressed
29
- disabled:text-disabled-text-default-oncolor-disabled
30
- disabled:border-disabled-icon-default-oncolor-disabled
31
- focus:data-[state=off]:outline-border-white-40
32
- focus:-outline-offset-[3px]
33
- `}},defaultVariants:{variant:"default",size:"default",colors:"default",rounded:"default"}}),s=g.forwardRef(({className:e,variant:a,size:t,...o},i)=>c.jsx(n.Root,{ref:i,className:p.cn(d({variant:a,size:t,className:e})),...o}));s.displayName=n.Root.displayName;exports.Toggle=s;exports.toggleVariants=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("./index.cjs74.js"),d=require("./index.cjs79.js"),x=require("./index.cjs86.js"),j=require("./index.cjs175.js"),f=require("./index.cjs176.js"),n=require("./index.cjs174.js"),T=require("./index.cjs160.js"),m={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 g({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&&m[a.variant]}),e.jsxs("div",{className:"grid flex-1 items-center 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=g;
package/index.cjs76.js CHANGED
@@ -1 +1,33 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),j=require("@radix-ui/react-toggle-group"),v=require("react"),x=require("./index.cjs75.js"),d=require("./index.cjs84.js"),y=require("./index.cjs47.js");function p(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const c=p(j),a=p(v),m=a.createContext({size:"default",variant:"default",colors:"default",rounded:"default"}),f=a.forwardRef(({className:e,variant:o,size:t,colors:r,rounded:i,children:l,...u},g)=>s.jsx(y.ResponsiveScroll,{buttonClassName:"bg-background",children:s.jsx(c.Root,{ref:g,className:d.cn("flex items-center justify-center gap-space-01",e),...u,children:s.jsx(m.Provider,{value:{variant:o,size:t,colors:r,rounded:i},children:l})})}));f.displayName=c.Root.displayName;const b=a.forwardRef(({className:e,children:o,variant:t,size:r,colors:i,rounded:l,...u},g)=>{const n=a.useContext(m);return s.jsx(c.Item,{ref:g,className:d.cn(x.toggleVariants({variant:n.variant||t,size:n.size||r,colors:n.colors||i,rounded:n.rounded||l}),"shrink-0",e),...u,children:o})});b.displayName=c.Item.displayName;exports.ToggleGroup=f;exports.ToggleGroupItem=b;
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.cjs110.js"),l=require("react"),p=require("./index.cjs85.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
+ 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
+ `,{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
+ hover:border-button-background-primary-light-hovered
5
+ hover:text-text-primary
6
+ active:text-text-primary
7
+ data-[state=on]:bg-button-background-primary
8
+ data-[state=on]:text-text-oncolor-primary
9
+ hover:data-[state=on]:bg-button-background-primary-hovered
10
+ hover:data-[state=on]:border-button-background-primary-hovered
11
+ hover:data-[state=on]:text-text-oncolor-primary
12
+ active:data-[state=on]:text-text-oncolor-primary
13
+ active:bg-button-background-primary-light-pressed
14
+ active:border-button-background-primary-light-pressed
15
+ active:data-[state=on]:bg-button-background-primary-pressed`,gray:`hover:bg-button-background-neutral-pressed
16
+ active:bg-button-background-neutral-selected
17
+ active:data-[state=on]:bg-button-background-black-pressed
18
+ data-[state=on]:bg-button-background-black
19
+ data-[state=on]:text-text-oncolor-primary
20
+ hover:data-[state=on]:bg-button-background-black-hovered
21
+ hover:data-[state=on]:text-text-oncolor-primary
22
+ `,oncolor:`border-border-white-40 text-text-oncolor-primary
23
+ hover:bg-button-background-transparent-hovered
24
+ active:bg-button-background-transparent-pressed
25
+ data-[state=on]:bg-button-background-oncolor
26
+ data-[state=on]:text-text-default
27
+ hover:data-[state=on]:bg-button-background-oncolor-hovered
28
+ active:data-[state=on]:bg-button-background-oncolor-pressed
29
+ disabled:text-disabled-text-default-oncolor-disabled
30
+ disabled:border-disabled-icon-default-oncolor-disabled
31
+ focus:data-[state=off]:outline-border-white-40
32
+ focus:-outline-offset-[3px]
33
+ `}},defaultVariants:{variant:"default",size:"default",colors:"default",rounded:"default"}}),s=g.forwardRef(({className:e,variant:a,size:t,...o},i)=>c.jsx(n.Root,{ref:i,className:p.cn(d({variant:a,size:t,className:e})),...o}));s.displayName=n.Root.displayName;exports.Toggle=s;exports.toggleVariants=d;
package/index.cjs77.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),s=require("@radix-ui/react-tooltip"),l=require("react"),c=require("./index.cjs84.js");function n(t){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(o,e,r.get?r:{enumerable:!0,get:()=>t[e]})}}return o.default=t,Object.freeze(o)}const i=n(s),p=n(l),m=i.Provider,u=i.Root,f=i.Trigger,a=p.forwardRef(({className:t,sideOffset:o=4,...e},r)=>d.jsx(i.Content,{ref:r,sideOffset:o,className:c.cn("z-[10000] overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-body-01 text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...e}));a.displayName=i.Content.displayName;exports.Tooltip=u;exports.TooltipContent=a;exports.TooltipProvider=m;exports.TooltipTrigger=f;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),j=require("@radix-ui/react-toggle-group"),v=require("react"),x=require("./index.cjs76.js"),d=require("./index.cjs85.js"),y=require("./index.cjs48.js");function p(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const c=p(j),a=p(v),m=a.createContext({size:"default",variant:"default",colors:"default",rounded:"default"}),f=a.forwardRef(({className:e,variant:o,size:t,colors:r,rounded:i,children:l,...u},g)=>s.jsx(y.ResponsiveScroll,{buttonClassName:"bg-background",children:s.jsx(c.Root,{ref:g,className:d.cn("flex items-center justify-center gap-space-01",e),...u,children:s.jsx(m.Provider,{value:{variant:o,size:t,colors:r,rounded:i},children:l})})}));f.displayName=c.Root.displayName;const b=a.forwardRef(({className:e,children:o,variant:t,size:r,colors:i,rounded:l,...u},g)=>{const n=a.useContext(m);return s.jsx(c.Item,{ref:g,className:d.cn(x.toggleVariants({variant:n.variant||t,size:n.size||r,colors:n.colors||i,rounded:n.rounded||l}),"shrink-0",e),...u,children:o})});b.displayName=c.Item.displayName;exports.ToggleGroup=f;exports.ToggleGroupItem=b;
package/index.cjs78.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("react");function O(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const s in t)if(s!=="default"){const o=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(e,s,o.get?o:{enumerable:!0,get:()=>t[s]})}}return e.default=t,Object.freeze(e)}const T=O(p),l=1,A=1e6;let a=0;function m(){return a=(a+1)%Number.MAX_VALUE,a.toString()}const i=new Map,d=t=>{if(i.has(t))return;const e=setTimeout(()=>{i.delete(t),n({type:"REMOVE_TOAST",toastId:t})},A);i.set(t,e)},S=(t,e)=>{switch(e.type){case"ADD_TOAST":return{...t,toasts:[e.toast,...t.toasts].slice(0,l)};case"UPDATE_TOAST":return{...t,toasts:t.toasts.map(s=>s.id===e.toast.id?{...s,...e.toast}:s)};case"DISMISS_TOAST":{const{toastId:s}=e;return s?d(s):t.toasts.forEach(o=>{d(o.id)}),{...t,toasts:t.toasts.map(o=>o.id===s||s===void 0?{...o,open:!1}:o)}}case"REMOVE_TOAST":return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(s=>s.id!==e.toastId)}}},r=[];let u={toasts:[]};function n(t){u=S(u,t),r.forEach(e=>{e(u)})}function f({...t}){const e=m(),s=c=>n({type:"UPDATE_TOAST",toast:{...c,id:e}}),o=()=>n({type:"DISMISS_TOAST",toastId:e});return n({type:"ADD_TOAST",toast:{...t,id:e,open:!0,onOpenChange:c=>{c||o()}}}),{id:e,dismiss:o,update:s}}function _(){const[t,e]=T.useState(u);return T.useEffect(()=>(r.push(e),()=>{const s=r.indexOf(e);s>-1&&r.splice(s,1)}),[t]),{...t,toast:f,dismiss:s=>n({type:"DISMISS_TOAST",toastId:s})}}exports.reducer=S;exports.toast=f;exports.useToast=_;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),s=require("@radix-ui/react-tooltip"),l=require("react"),c=require("./index.cjs85.js");function n(t){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(o,e,r.get?r:{enumerable:!0,get:()=>t[e]})}}return o.default=t,Object.freeze(o)}const i=n(s),p=n(l),m=i.Provider,u=i.Root,f=i.Trigger,a=p.forwardRef(({className:t,sideOffset:o=4,...e},r)=>d.jsx(i.Content,{ref:r,sideOffset:o,className:c.cn("z-[10000] overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-body-01 text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...e}));a.displayName=i.Content.displayName;exports.Tooltip=u;exports.TooltipContent=a;exports.TooltipProvider=m;exports.TooltipTrigger=f;
package/index.cjs79.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("@tanstack/react-query");function r(c,t,a){const n=t.getQueryData(c),s=t.getQueryState(c),o=i.useIsFetching({queryKey:c},t);return{data:a?a(n):n,status:(s==null?void 0:s.status)??"idle",isError:!!(s!=null&&s.error),error:s==null?void 0:s.error,isFetching:!!o,isPending:(s==null?void 0:s.status)==="pending",isSuccess:(s==null?void 0:s.status)==="success",refetch:()=>{t.resetQueries({queryKey:c})}}}exports.useCachedData=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("react");function O(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const s in t)if(s!=="default"){const o=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(e,s,o.get?o:{enumerable:!0,get:()=>t[s]})}}return e.default=t,Object.freeze(e)}const T=O(p),l=1,A=1e6;let a=0;function m(){return a=(a+1)%Number.MAX_VALUE,a.toString()}const i=new Map,d=t=>{if(i.has(t))return;const e=setTimeout(()=>{i.delete(t),n({type:"REMOVE_TOAST",toastId:t})},A);i.set(t,e)},S=(t,e)=>{switch(e.type){case"ADD_TOAST":return{...t,toasts:[e.toast,...t.toasts].slice(0,l)};case"UPDATE_TOAST":return{...t,toasts:t.toasts.map(s=>s.id===e.toast.id?{...s,...e.toast}:s)};case"DISMISS_TOAST":{const{toastId:s}=e;return s?d(s):t.toasts.forEach(o=>{d(o.id)}),{...t,toasts:t.toasts.map(o=>o.id===s||s===void 0?{...o,open:!1}:o)}}case"REMOVE_TOAST":return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(s=>s.id!==e.toastId)}}},r=[];let u={toasts:[]};function n(t){u=S(u,t),r.forEach(e=>{e(u)})}function f({...t}){const e=m(),s=c=>n({type:"UPDATE_TOAST",toast:{...c,id:e}}),o=()=>n({type:"DISMISS_TOAST",toastId:e});return n({type:"ADD_TOAST",toast:{...t,id:e,open:!0,onOpenChange:c=>{c||o()}}}),{id:e,dismiss:o,update:s}}function _(){const[t,e]=T.useState(u);return T.useEffect(()=>(r.push(e),()=>{const s=r.indexOf(e);s>-1&&r.splice(s,1)}),[t]),{...t,toast:f,dismiss:s=>n({type:"DISMISS_TOAST",toastId:s})}}exports.reducer=S;exports.toast=f;exports.useToast=_;
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.cjs104.js"),i=require("react"),n=require("./index.cjs84.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.cjs110.js"),i=require("react"),n=require("./index.cjs85.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.cjs80.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("./index.cjs172.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.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("@tanstack/react-query");function r(c,t,a){const n=t.getQueryData(c),s=t.getQueryState(c),o=i.useIsFetching({queryKey:c},t);return{data:a?a(n):n,status:(s==null?void 0:s.status)??"idle",isError:!!(s!=null&&s.error),error:s==null?void 0:s.error,isFetching:!!o,isPending:(s==null?void 0:s.status)==="pending",isSuccess:(s==null?void 0:s.status)==="success",refetch:()=>{t.resetQueries({queryKey:c})}}}exports.useCachedData=r;
package/index.cjs81.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.cjs175.js"),h=require("./index.cjs94.js");require("./index.cjs2.js");const l=require("./index.cjs86.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";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("./index.cjs100.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.cjs82.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./index.cjs86.js"),e=()=>{const{isAuthenticated:t,user:u,nationalId:s}=a.default(r=>r);return{isAuthenticated:t,user:u,nationalId:s}};exports.default=e;exports.useAuth=e;
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.cjs177.js"),h=require("./index.cjs95.js");require("./index.cjs2.js");const l=require("./index.cjs87.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.cjs83.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),e=require("./index.cjs90.js"),o=()=>t.useContext(e.AuthContext);exports.useOIDCAuth=o;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./index.cjs87.js"),e=()=>{const{isAuthenticated:t,user:u,nationalId:s}=a.default(r=>r);return{isAuthenticated:t,user:u,nationalId:s}};exports.default=e;exports.useAuth=e;
package/index.cjs84.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs101.js"),o=require("./index.cjs118.js"),c=require("./index.cjs176.js"),l=require("./index.cjs96.js"),i=require("./index.cjs149.js"),d=require("./index.cjs88.js"),m=require("./index.cjs177.js"),g=require("./index.cjs78.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 t=require("react"),e=require("./index.cjs91.js"),o=()=>t.useContext(e.AuthContext);exports.useOIDCAuth=o;
package/index.cjs85.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("./index.cjs164.js"),u=require("./index.cjs87.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.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs107.js"),o=require("./index.cjs124.js"),c=require("./index.cjs178.js"),l=require("./index.cjs97.js"),i=require("./index.cjs104.js"),d=require("./index.cjs89.js"),m=require("./index.cjs179.js"),g=require("./index.cjs79.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.cjs86.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./index.cjs164.js"),i=require("./index.cjs87.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 s=require("./index.cjs101.js"),u=require("./index.cjs88.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.cjs87.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./index.cjs173.js"),s=require("./index.cjs174.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 r=require("./index.cjs101.js"),i=require("./index.cjs88.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.cjs88.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("./index.cjs164.js"),o=require("./index.cjs87.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 o=require("./index.cjs102.js"),s=require("./index.cjs103.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.cjs89.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=(r,e)=>{switch(e.type){case"INITIALISED":case"USER_LOADED":return{...r,user:e.user,isLoading:!1,isAuthenticated:e.user?!e.user.expired:!1,error:void 0};case"USER_SIGNED_OUT":case"USER_UNLOADED":return{...r,user:void 0,isAuthenticated:!1};case"NAVIGATOR_INIT":return{...r,isLoading:!0,activeNavigator:e.method};case"NAVIGATOR_CLOSE":return{...r,isLoading:!1,activeNavigator:void 0};case"ERROR":return{...r,isLoading:!1,error:e.error};default:return{...r,isLoading:!1,error:new Error(`unknown type ${e.type}`)}}};exports.reducer=s;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("./index.cjs101.js"),o=require("./index.cjs88.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.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.cjs105.js"),C=require("./index.cjs106.js"),O=require("react"),w=require("react-dom"),W=require("./index.cjs84.js"),F=require("./index.cjs96.js"),H=require("./index.cjs3.js"),j=require("./index.cjs22.js"),L=require("./index.cjs64.js"),V=require("./index.cjs41.js"),J=require("./index.cjs107.js"),K=require("./index.cjs108.js"),Q=require("./index.cjs109.js"),U=require("./index.cjs110.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.cjs111.js"),C=require("./index.cjs112.js"),O=require("react"),w=require("react-dom"),W=require("./index.cjs85.js"),F=require("./index.cjs97.js"),H=require("./index.cjs3.js"),j=require("./index.cjs22.js"),L=require("./index.cjs65.js"),V=require("./index.cjs42.js"),J=require("./index.cjs113.js"),K=require("./index.cjs114.js"),Q=require("./index.cjs115.js"),U=require("./index.cjs116.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.cjs90.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),t=e.createContext(void 0);t.displayName="AuthContext";exports.AuthContext=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=(r,e)=>{switch(e.type){case"INITIALISED":case"USER_LOADED":return{...r,user:e.user,isLoading:!1,isAuthenticated:e.user?!e.user.expired:!1,error:void 0};case"USER_SIGNED_OUT":case"USER_UNLOADED":return{...r,user:void 0,isAuthenticated:!1};case"NAVIGATOR_INIT":return{...r,isLoading:!0,activeNavigator:e.method};case"NAVIGATOR_CLOSE":return{...r,isLoading:!1,activeNavigator:void 0};case"ERROR":return{...r,isLoading:!1,error:e.error};default:return{...r,isLoading:!1,error:new Error(`unknown type ${e.type}`)}}};exports.reducer=s;
package/index.cjs91.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.cjs175.js"),C=require("./index.cjs90.js"),b=require("./index.cjs92.js"),I=require("./index.cjs89.js"),d=require("./index.cjs93.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 e=require("react"),t=e.createContext(void 0);t.displayName="AuthContext";exports.AuthContext=t;
package/index.cjs92.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t={isLoading:!0,isAuthenticated:!1};exports.initialAuthState=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react/jsx-runtime"),s=require("react"),A=require("./index.cjs177.js"),C=require("./index.cjs91.js"),b=require("./index.cjs93.js"),I=require("./index.cjs90.js"),d=require("./index.cjs94.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.cjs93.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=(e=window.location)=>{let r=new URLSearchParams(e.search);return!!((r.get("code")||r.get("error"))&&r.get("state")||(r=new URLSearchParams(e.hash.replace("#","?")),(r.get("code")||r.get("error"))&&r.get("state")))},t=e=>r=>r instanceof Error?r:new Error(e),a=t("Sign-in failed"),o=t("Sign-out failed");exports.hasAuthParams=n;exports.signinError=a;exports.signoutError=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t={isLoading:!0,isAuthenticated:!1};exports.initialAuthState=t;
package/index.cjs94.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=e=>({authority:e.authUrl,client_id:e.clientId,client_secret:e.clientSecret,redirect_uri:`${e.baseUrl}/login/sso/callback`,login:e.authUrl,automaticSilentRenew:!1,loadUserInfo:!1,silent_redirect_uri:`${e.baseUrl}/login/sso/callback`,post_logout_redirect_uri:`${e.baseUrl}/logout/sso`,audience:e.baseUrl,responseType:"code",grantType:"authorization_code",scope:"openid NationalID offline_access",webAuthResponseType:"code",disablePKCE:e.disablePKCE??!1}),i=(e,t)=>({issuer:"https://iam-dev.moe.gov.sa",jwks_uri:`${e}/jwks/${t}`,authorization_endpoint:`${e}/authorize`,token_endpoint:`${e}/token`,userinfo_endpoint:`${e}/userinfo`,end_session_endpoint:`${e}/revoke`,check_session_iframe:`${e}/checksession`,revocation_endpoint:`${e}/revoke`,introspection_endpoint:`${e}/introspect`});exports.createIdentityConfig=o;exports.createMetadataConfig=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=(e=window.location)=>{let r=new URLSearchParams(e.search);return!!((r.get("code")||r.get("error"))&&r.get("state")||(r=new URLSearchParams(e.hash.replace("#","?")),(r.get("code")||r.get("error"))&&r.get("state")))},t=e=>r=>r instanceof Error?r:new Error(e),a=t("Sign-in failed"),o=t("Sign-out failed");exports.hasAuthParams=n;exports.signinError=a;exports.signoutError=o;
package/index.cjs95.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs164.js"),e=require("./index.cjs149.js"),d=require("./index.cjs87.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 o=e=>({authority:e.authUrl,client_id:e.clientId,client_secret:e.clientSecret,redirect_uri:`${e.baseUrl}/login/sso/callback`,login:e.authUrl,automaticSilentRenew:!1,loadUserInfo:!1,silent_redirect_uri:`${e.baseUrl}/login/sso/callback`,post_logout_redirect_uri:`${e.baseUrl}/logout/sso`,audience:e.baseUrl,responseType:"code",grantType:"authorization_code",scope:"openid NationalID offline_access",webAuthResponseType:"code",disablePKCE:e.disablePKCE??!1}),i=(e,t)=>({issuer:"https://iam-dev.moe.gov.sa",jwks_uri:`${e}/jwks/${t}`,authorization_endpoint:`${e}/authorize`,token_endpoint:`${e}/token`,userinfo_endpoint:`${e}/userinfo`,end_session_endpoint:`${e}/revoke`,check_session_iframe:`${e}/checksession`,revocation_endpoint:`${e}/revoke`,introspection_endpoint:`${e}/introspect`});exports.createIdentityConfig=o;exports.createMetadataConfig=i;
package/index.cjs96.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react-localization"),r=require("./index.cjs97.js"),s=require("./index.cjs98.js"),t=new e({ar:r.ar,en:s.en}),a=n=>t.setLanguage(n);exports.default=e;exports.setLanguage=a;exports.strings=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs101.js"),e=require("./index.cjs104.js"),d=require("./index.cjs88.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"});const e={messages:{exceedlimitedField:"{0} يجب ان لا يتجاوز {1} حرف",required:"{0} اجباري"},Shared:{trialVersion:"نسخة تجريبية",soon:"قريبًا",NationalId:"الهوية الوطنية",ResidentID:"الإقامة",Welcome:"أهلًا ",Login:"تسجيل الدخول",Logout:"تسجيل الخروج",InformationPanel:"لوحة المعلومات",AccountSettings:"إعدادات الحساب",Chat:"تواصل معنا",TechnicalSupport:"الدعم الفني",FullName:"الاسم الكامل",PersonalInformation:"المعلومات الشخصية",TicketInformation:"معلومات التذكرة",TicketDetails:"تفاصيل التذكرة",Title:"العنوان",Description:"الوصف",Enter:"ادخل",AddSupportingFiles:"أرفق ملفات داعمة",Send:"إرسال",Submit:"إرسال الطلب",Cancel:"إلغاء",Main:"الرئيسية",Select:"اختر",NotRobot:"الرجاء التحقق",Search:"بحث",Number:"الرقم",Date:"التاريخ",hijriCalendar:"التاريخ الهجري",male:"ذكر",female:"أنثى",submit:"ارسال",next:"التالي",previous:"السابق",morePages:"المزيد",Total:"الإجمالي",YearTitle:"السنة",MonthTitle:"الشهر",PaginationDesc:"الصفحة {0} من {1}",LinesPerPage:"عدد السطور بالصفحة",Actions:"الإجراءات",ViewDetails:"عرض التفاصيل",Language:"اللغة",Specify:"حدد",ServerError:"عفوًا، حدث خطأ ما",BackToHome:"العودة للصفحة الرئيسية",NoDataFound:"لا توجد بيانات",showResults:"عرض النتائج",reset:"إعادة التعيين",CopiedSuccessfully:"تم النسخ بنجاح",comma:"،",accessibilityTools:"أداة سهولة الوصول",sortBy:"تصنيف حسب",siteLanguageText:"English",lightMode:"الوضع الفاتح",darkMode:"الوضع الداكن",showLess:"أظهر أقل",showMore:"أظهر أكثر",noResultsFound:"لا توجد نتائج",Clear:"مسح"},Footer:{KSA:"وزارة التعليم - المملكة العربية السعودية",TermsAndConditions:"الشروط والأحكام",PolicyAndPrivacy:"سياسة الخصوصية",RegulationsPolicies:"اللوائح والسياسات",Rights:" جميع الحقوق محفوظة لوزارة التعليم © {0}",Version:"نسخة رقم ",DevelopedByTetco:"تطوير وتشغيل شركة تطوير لتقنيات التعليم"},DragAndDrop:{SaveCustomization:"حفظ",Delete:"إزالة",Half:"تصغير",Full:"توسيع",Width:"العرض",Show:"اظهار",AddToDashboard:"تخصيص العرض"},Attachments:{error:"عفوًا، صيغة أو حجم المرفق غير مسموح بها",Attachments:"المرفقات",AddAttachment:"أرفق الملفات",dragFiles:"اسحب و أفلت الملفات هنا للرفع",browseFile:"تصفح الملفات",uploadFiles:"رفع المرفقات",allowedFormats:"وتشمل الصيغ المدعومة {0}",maxSize:"الحد الأقصى لحجم الملف المسموح به هو {0} ميجابايت",ApplyFile:"تقديم الملف",maxAcceptedFilesCount:"أقصى عدد من الملفات التي يمكنك إرفاقها هنا هو {0} ملفات",attachedFile:"مرفق ملف"},Accessibility:{Accessibility:"تمكين الوصول",FontSize:"حجم الخط",IncreaseFontSize:"تكبير حجم الخط",DecreaseFontSize:"تصغير حجم الخط",ColorContrast:"تباين الألوان",SignLanguage:"دعم لغة الإشارة",VoiceCommands:"الأوامر الصوتية"},DigitalSignatureContent:{secureTitle:"المواقع الالكترونية الحكومية تستخدم بروتوكول {0} للتشفير و الأمان.",secureDesc:"المواقع الالكترونية الآمنة في المملكة العربية السعودية تستخدم بروتوكول HTTPS للتشفير.",registered:"مسجل لدى هيئة الحكومة الرقمية برقم :",howCheck:"كيف تتحقق؟",officialSite:"موقع حكومي رسمي تابع لحكومة المملكة العربية السعودية",govSaTitle:"روابط المواقع الالكترونية الرسمية السعودية تنتهي بـ {0} ",govSaDesc:"جميع روابط المواقع الرسمية التابعة للجهات الحكومية في المملكة العربية السعودية تنتهي بـ .gov.sa",eduSaTitle:"روابط المواقع الالكترونية الرسمية السعودية تنتهي بـ {0} ",eduSaDesc:"جميع روابط المواقع الرسمية التعليمية في المملكة العربية السعودية تنتهي بـ sch.sa أو edu.sa",orgSaTitle:"روابط المواقع الالكترونية الرسمية السعودية تنتهي بـ {0} ",orgSaDesc:"جميع روابط المواقع الرسمية للمؤسسات الغير ربحية في المملكة العربية السعودية تنتهي بـ org.sa",saTitle:"روابط المواقع الالكترونية الرسمية السعودية تنتهي بـ {0} ",saDesc:"جميع روابط المواقع الرسمية للأنشطة والمبادرات في المملكة العربية السعودية تنتهي بـ sa.",schSaTitle:"روابط المواقع الالكترونية الرسمية السعودية تنتهي بـ {0} ",schSaDesc:"جميع روابط المواقع الرسمية التعليمية في المملكة العربية السعودية تنتهي بـ sch.sa أو edu.sa"}};exports.ar=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react-localization"),r=require("./index.cjs98.js"),s=require("./index.cjs99.js"),t=new e({ar:r.ar,en:s.en}),a=n=>t.setLanguage(n);exports.default=e;exports.setLanguage=a;exports.strings=t;
package/index.cjs98.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={messages:{exceedlimitedField:"{0} field size is {1} characters",required:"{0} is required"},Shared:{trialVersion:"Beta version",soon:"soon",NationalId:"National ID",ResidentID:"Resident ID",Welcome:"Hi ",Login:"Login",Logout:"Log out",InformationPanel:"Information Panel",AccountSettings:"Account Settings",Chat:"Chat Now",TechnicalSupport:"Technical Support",FullName:"Full Name",PersonalInformation:"Personal Information",TicketInformation:"Ticket Information",TicketDetails:"Ticket Details",Title:"Title",Description:"Description",Enter:"Enter",AddSupportingFiles:"Attachments",Send:"Submit",Submit:"Submit Request",Cancel:"Cancel",Main:"Home",Select:"Select",NotRobot:"Please verify you are not a robot",Search:"Search",Number:"Number",Date:"Date",hijriCalendar:"Hijri Calendar",male:"Male",female:"Female",submit:"Submit",next:"Next",previous:"Previous",morePages:"More pages",Total:"Total",YearTitle:"Year",MonthTitle:"Month",PaginationDesc:"Page {0} of {1}",LinesPerPage:"Lines per page",Actions:"Actions",ViewDetails:"View Details",Language:"Language",Specify:"Specify",ServerError:"Sorry, something went wrong",BackToHome:"Back to Main Page",NoDataFound:"No data found",showResults:"Show results",reset:"Reset",CopiedSuccessfully:"Copied successfully",comma:",",accessibilityTools:" Accessibility Tools",sortBy:"Sort by",siteLanguageText:"العربية",lightMode:"Light mode",darkMode:"Dark mode",showLess:"Show less",showMore:"Show more",noResultsFound:"No results found",Clear:"Clear"},Footer:{KSA:"Ministry of Education - Saudia Arabia",TermsAndConditions:"Terms & conditions",PolicyAndPrivacy:" Privacy policy",RegulationsPolicies:"Regulations & Policies",Rights:"All rights reserved to the Ministry of Education © {0}",Version:"Version ",DevelopedByTetco:"Developed and operated by Tatweer Educational Technologies Company"},DragAndDrop:{SaveCustomization:"Save",Delete:"Remove",Half:"Minimize",Full:"Expand",Width:"Width",Show:"Show",AddToDashboard:"Custom display"},Attachments:{error:"Sorry! The format or the size of the attachment is not allowed.",Attachments:"Attachments",AddAttachment:"Attach files",dragFiles:"Drag and drop files here to upload ",browseFile:"Browse Files",uploadFiles:"Upload Files",allowedFormats:"supported file formats include {0}",maxSize:"Maximum file size allowed is {0}MB",ApplyFile:"Apply File",maxAcceptedFilesCount:"the maximum number of files you can drop here {0} files",attachedFile:"Attached File"},Accessibility:{Accessibility:"Accessibility",FontSize:"Font size",IncreaseFontSize:"Increase font size",DecreaseFontSize:"Decrease font size",ColorContrast:"Color contrast",SignLanguage:"Sign language",VoiceCommands:"Voice commands"},DigitalSignatureContent:{secureTitle:"Government websites use the {0} protocol for encryption and security.",secureDesc:"Secure websites in the Kingdom of Saudi Arabia use the HTTPS protocol for encryption.",registered:"Registered with the Digital Government Authority under number :",howCheck:"How to verify?",officialSite:"Official government website of the Government of the Kingdom of Saudi Arabia",govSaTitle:"Official Saudi Government website URL ends with {0} ",govSaDesc:"Website belongs to an official government organization in the Kingdom of Saudi Arabia always ends with .gov.sa .",eduSaTitle:"Official Saudi Government website URL ends with {0} ",eduSaDesc:"Website belongs to an official educational in the Kingdom of Saudi Arabia always ends with .edu.sa or sch.sa .",orgSaTitle:"Official Saudi Government website URL ends with {0} ",orgSaDesc:"Website belongs to an official non-profit organizations in the Kingdom of Saudi Arabia always ends with .org.sa .",saTitle:"Official Saudi Government website URL ends with {0} ",saDesc:"Website belongs to an official activities and initiatives in the Kingdom of Saudi Arabia always ends with .sa .",schSaTitle:"Official Saudi Government website URL ends with {0} ",schSaDesc:"Website belongs to an official educational in the Kingdom of Saudi Arabia always ends with .edu.sa or sch.sa ."}};exports.en=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={messages:{exceedlimitedField:"{0} يجب ان لا يتجاوز {1} حرف",required:"{0} اجباري"},Shared:{trialVersion:"نسخة تجريبية",soon:"قريبًا",NationalId:"الهوية الوطنية",ResidentID:"الإقامة",Welcome:"أهلًا ",Login:"تسجيل الدخول",Logout:"تسجيل الخروج",InformationPanel:"لوحة المعلومات",AccountSettings:"إعدادات الحساب",Chat:"تواصل معنا",TechnicalSupport:"الدعم الفني",FullName:"الاسم الكامل",PersonalInformation:"المعلومات الشخصية",TicketInformation:"معلومات التذكرة",TicketDetails:"تفاصيل التذكرة",Title:"العنوان",Description:"الوصف",Enter:"ادخل",AddSupportingFiles:"أرفق ملفات داعمة",Send:"إرسال",Submit:"إرسال الطلب",Cancel:"إلغاء",Main:"الرئيسية",Select:"اختر",NotRobot:"الرجاء التحقق",Search:"بحث",Number:"الرقم",Date:"التاريخ",hijriCalendar:"التاريخ الهجري",male:"ذكر",female:"أنثى",submit:"ارسال",next:"التالي",previous:"السابق",morePages:"المزيد",Total:"الإجمالي",YearTitle:"السنة",MonthTitle:"الشهر",PaginationDesc:"الصفحة {0} من {1}",LinesPerPage:"عدد السطور بالصفحة",Actions:"الإجراءات",ViewDetails:"عرض التفاصيل",Language:"اللغة",Specify:"حدد",ServerError:"عفوًا، حدث خطأ ما",BackToHome:"العودة للصفحة الرئيسية",NoDataFound:"لا توجد بيانات",showResults:"عرض النتائج",reset:"إعادة التعيين",CopiedSuccessfully:"تم النسخ بنجاح",comma:"،",accessibilityTools:"أداة سهولة الوصول",sortBy:"تصنيف حسب",siteLanguageText:"English",lightMode:"الوضع الفاتح",darkMode:"الوضع الداكن",showLess:"أظهر أقل",showMore:"أظهر أكثر",noResultsFound:"لا توجد نتائج",Clear:"مسح"},Footer:{KSA:"وزارة التعليم - المملكة العربية السعودية",TermsAndConditions:"الشروط والأحكام",PolicyAndPrivacy:"سياسة الخصوصية",RegulationsPolicies:"اللوائح والسياسات",Rights:" جميع الحقوق محفوظة لوزارة التعليم © {0}",Version:"نسخة رقم ",DevelopedByTetco:"تطوير وتشغيل شركة تطوير لتقنيات التعليم"},DragAndDrop:{SaveCustomization:"حفظ",Delete:"إزالة",Half:"تصغير",Full:"توسيع",Width:"العرض",Show:"اظهار",AddToDashboard:"تخصيص العرض"},Attachments:{error:"عفوًا، صيغة أو حجم المرفق غير مسموح بها",Attachments:"المرفقات",AddAttachment:"أرفق الملفات",dragFiles:"اسحب و أفلت الملفات هنا للرفع",browseFile:"تصفح الملفات",uploadFiles:"رفع المرفقات",allowedFormats:"وتشمل الصيغ المدعومة {0}",maxSize:"الحد الأقصى لحجم الملف المسموح به هو {0} ميجابايت",ApplyFile:"تقديم الملف",maxAcceptedFilesCount:"أقصى عدد من الملفات التي يمكنك إرفاقها هنا هو {0} ملفات",attachedFile:"مرفق ملف"},Accessibility:{Accessibility:"تمكين الوصول",FontSize:"حجم الخط",IncreaseFontSize:"تكبير حجم الخط",DecreaseFontSize:"تصغير حجم الخط",ColorContrast:"تباين الألوان",SignLanguage:"دعم لغة الإشارة",VoiceCommands:"الأوامر الصوتية"},DigitalSignatureContent:{secureTitle:"المواقع الالكترونية الحكومية تستخدم بروتوكول {0} للتشفير و الأمان.",secureDesc:"المواقع الالكترونية الآمنة في المملكة العربية السعودية تستخدم بروتوكول HTTPS للتشفير.",registered:"مسجل لدى هيئة الحكومة الرقمية برقم :",howCheck:"كيف تتحقق؟",officialSite:"موقع حكومي رسمي تابع لحكومة المملكة العربية السعودية",govSaTitle:"روابط المواقع الالكترونية الرسمية السعودية تنتهي بـ {0} ",govSaDesc:"جميع روابط المواقع الرسمية التابعة للجهات الحكومية في المملكة العربية السعودية تنتهي بـ .gov.sa",eduSaTitle:"روابط المواقع الالكترونية الرسمية السعودية تنتهي بـ {0} ",eduSaDesc:"جميع روابط المواقع الرسمية التعليمية في المملكة العربية السعودية تنتهي بـ sch.sa أو edu.sa",orgSaTitle:"روابط المواقع الالكترونية الرسمية السعودية تنتهي بـ {0} ",orgSaDesc:"جميع روابط المواقع الرسمية للمؤسسات الغير ربحية في المملكة العربية السعودية تنتهي بـ org.sa",saTitle:"روابط المواقع الالكترونية الرسمية السعودية تنتهي بـ {0} ",saDesc:"جميع روابط المواقع الرسمية للأنشطة والمبادرات في المملكة العربية السعودية تنتهي بـ sa.",schSaTitle:"روابط المواقع الالكترونية الرسمية السعودية تنتهي بـ {0} ",schSaDesc:"جميع روابط المواقع الرسمية التعليمية في المملكة العربية السعودية تنتهي بـ sch.sa أو edu.sa"}};exports.ar=e;
package/index.cjs99.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.cjs182.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 e={messages:{exceedlimitedField:"{0} field size is {1} characters",required:"{0} is required"},Shared:{trialVersion:"Beta version",soon:"soon",NationalId:"National ID",ResidentID:"Resident ID",Welcome:"Hi ",Login:"Login",Logout:"Log out",InformationPanel:"Information Panel",AccountSettings:"Account Settings",Chat:"Chat Now",TechnicalSupport:"Technical Support",FullName:"Full Name",PersonalInformation:"Personal Information",TicketInformation:"Ticket Information",TicketDetails:"Ticket Details",Title:"Title",Description:"Description",Enter:"Enter",AddSupportingFiles:"Attachments",Send:"Submit",Submit:"Submit Request",Cancel:"Cancel",Main:"Home",Select:"Select",NotRobot:"Please verify you are not a robot",Search:"Search",Number:"Number",Date:"Date",hijriCalendar:"Hijri Calendar",male:"Male",female:"Female",submit:"Submit",next:"Next",previous:"Previous",morePages:"More pages",Total:"Total",YearTitle:"Year",MonthTitle:"Month",PaginationDesc:"Page {0} of {1}",LinesPerPage:"Lines per page",Actions:"Actions",ViewDetails:"View Details",Language:"Language",Specify:"Specify",ServerError:"Sorry, something went wrong",BackToHome:"Back to Main Page",NoDataFound:"No data found",showResults:"Show results",reset:"Reset",CopiedSuccessfully:"Copied successfully",comma:",",accessibilityTools:" Accessibility Tools",sortBy:"Sort by",siteLanguageText:"العربية",lightMode:"Light mode",darkMode:"Dark mode",showLess:"Show less",showMore:"Show more",noResultsFound:"No results found",Clear:"Clear"},Footer:{KSA:"Ministry of Education - Saudia Arabia",TermsAndConditions:"Terms & conditions",PolicyAndPrivacy:" Privacy policy",RegulationsPolicies:"Regulations & Policies",Rights:"All rights reserved to the Ministry of Education © {0}",Version:"Version ",DevelopedByTetco:"Developed and operated by Tatweer Educational Technologies Company"},DragAndDrop:{SaveCustomization:"Save",Delete:"Remove",Half:"Minimize",Full:"Expand",Width:"Width",Show:"Show",AddToDashboard:"Custom display"},Attachments:{error:"Sorry! The format or the size of the attachment is not allowed.",Attachments:"Attachments",AddAttachment:"Attach files",dragFiles:"Drag and drop files here to upload ",browseFile:"Browse Files",uploadFiles:"Upload Files",allowedFormats:"supported file formats include {0}",maxSize:"Maximum file size allowed is {0}MB",ApplyFile:"Apply File",maxAcceptedFilesCount:"the maximum number of files you can drop here {0} files",attachedFile:"Attached File"},Accessibility:{Accessibility:"Accessibility",FontSize:"Font size",IncreaseFontSize:"Increase font size",DecreaseFontSize:"Decrease font size",ColorContrast:"Color contrast",SignLanguage:"Sign language",VoiceCommands:"Voice commands"},DigitalSignatureContent:{secureTitle:"Government websites use the {0} protocol for encryption and security.",secureDesc:"Secure websites in the Kingdom of Saudi Arabia use the HTTPS protocol for encryption.",registered:"Registered with the Digital Government Authority under number :",howCheck:"How to verify?",officialSite:"Official government website of the Government of the Kingdom of Saudi Arabia",govSaTitle:"Official Saudi Government website URL ends with {0} ",govSaDesc:"Website belongs to an official government organization in the Kingdom of Saudi Arabia always ends with .gov.sa .",eduSaTitle:"Official Saudi Government website URL ends with {0} ",eduSaDesc:"Website belongs to an official educational in the Kingdom of Saudi Arabia always ends with .edu.sa or sch.sa .",orgSaTitle:"Official Saudi Government website URL ends with {0} ",orgSaDesc:"Website belongs to an official non-profit organizations in the Kingdom of Saudi Arabia always ends with .org.sa .",saTitle:"Official Saudi Government website URL ends with {0} ",saDesc:"Website belongs to an official activities and initiatives in the Kingdom of Saudi Arabia always ends with .sa .",schSaTitle:"Official Saudi Government website URL ends with {0} ",schSaDesc:"Website belongs to an official educational in the Kingdom of Saudi Arabia always ends with .edu.sa or sch.sa ."}};exports.en=e;
package/index.es.d.ts CHANGED
@@ -24,6 +24,7 @@ import { default as default_3 } from 'embla-carousel-react';
24
24
  import { DevtoolsOptions } from 'zustand/middleware';
25
25
  import * as DialogPrimitive from '@radix-ui/react-dialog';
26
26
  import { DialogProps } from '@radix-ui/react-dialog';
27
+ import { DigitalClockProps } from '@mui/x-date-pickers';
27
28
  import { Draft } from 'immer';
28
29
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
29
30
  import { FC } from 'react';
@@ -767,7 +768,7 @@ declare interface CustomCarouselProps {
767
768
  showPartial?: boolean;
768
769
  dir?: 'ltr' | 'rtl';
769
770
  type?: 'single' | 'multiple';
770
- slidesToScroll: number | 'auto';
771
+ slidesToScroll?: number | 'auto';
771
772
  }
772
773
 
773
774
  export declare function DataTable<TData, TValue>({ columns, data, loading, NoDataComponent, itemsPerPage, hasPagination, onClickRow, isFirstRowSelected, ...rest }: DataTableProps<TData, TValue>): JSX_2.Element | null;
@@ -1128,7 +1129,7 @@ export declare const Heading: default_2.ForwardRefExoticComponent<{
1128
1129
  as?: AllowedElements | undefined;
1129
1130
  asChild?: boolean;
1130
1131
  children?: ReactNode;
1131
- } & Omit<default_2.DetailedHTMLProps<default_2.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & default_2.RefAttributes<"symbol" | "object" | "code" | "map" | "filter" | "search" | "big" | "link" | "small" | "sub" | "sup" | "stop" | "label" | "s" | "dd" | "a" | "button" | "div" | "form" | "h2" | "h3" | "img" | "input" | "li" | "nav" | "ol" | "p" | "span" | "svg" | "ul" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "canvas" | "caption" | "center" | "cite" | "col" | "colgroup" | "data" | "datalist" | "del" | "details" | "dfn" | "dialog" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "h1" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "ins" | "kbd" | "keygen" | "legend" | "main" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "noindex" | "noscript" | "optgroup" | "option" | "output" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "samp" | "slot" | "script" | "section" | "select" | "source" | "strong" | "style" | "summary" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "var" | "video" | "wbr" | "webview" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | default_2.ComponentClass<any, any> | default_2.FunctionComponent<any>>>;
1132
+ } & Omit<default_2.DetailedHTMLProps<default_2.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & default_2.RefAttributes<"symbol" | "object" | "code" | "map" | "filter" | "search" | "big" | "link" | "small" | "sub" | "sup" | "stop" | "label" | "s" | "dd" | "a" | "button" | "div" | "form" | "h2" | "h3" | "img" | "input" | "li" | "nav" | "ol" | "p" | "select" | "span" | "svg" | "ul" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "canvas" | "caption" | "center" | "cite" | "col" | "colgroup" | "data" | "datalist" | "del" | "details" | "dfn" | "dialog" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "h1" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "ins" | "kbd" | "keygen" | "legend" | "main" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "noindex" | "noscript" | "optgroup" | "option" | "output" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "samp" | "slot" | "script" | "section" | "source" | "strong" | "style" | "summary" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "var" | "video" | "wbr" | "webview" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | default_2.ComponentClass<any, any> | default_2.FunctionComponent<any>>>;
1132
1133
 
1133
1134
  export declare const HoverCard: React_2.FC<HoverCardPrimitive.HoverCardProps>;
1134
1135
 
@@ -1597,6 +1598,15 @@ declare interface Props_3 extends VariantProps<typeof selectVariants> {
1597
1598
  className?: string;
1598
1599
  }
1599
1600
 
1601
+ declare interface Props_4 extends VariantProps<typeof selectVariants> {
1602
+ lang: 'ar' | 'en';
1603
+ placeholder?: string | null;
1604
+ value: string | null | undefined;
1605
+ onChange: (time: string | null | undefined) => void;
1606
+ className?: string;
1607
+ ampm?: boolean;
1608
+ }
1609
+
1600
1610
  declare type PropsBreadcrumb = {
1601
1611
  items: Item[];
1602
1612
  dir?: 'rtl' | 'ltr';
@@ -2290,7 +2300,7 @@ export declare const tabVariants: (props?: ({
2290
2300
  orientation?: "horizontal" | "vertical" | null | undefined;
2291
2301
  } & ClassProp) | undefined) => string;
2292
2302
 
2293
- declare const Text_2: default_2.ForwardRefExoticComponent<TextProps<AllowedElements_2> & default_2.RefAttributes<"symbol" | "object" | "code" | "map" | "filter" | "search" | "big" | "link" | "small" | "sub" | "sup" | "stop" | "label" | "s" | "dd" | "a" | "button" | "div" | "form" | "h2" | "h3" | "img" | "input" | "li" | "nav" | "ol" | "p" | "span" | "svg" | "ul" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "canvas" | "caption" | "center" | "cite" | "col" | "colgroup" | "data" | "datalist" | "del" | "details" | "dfn" | "dialog" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "h1" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "ins" | "kbd" | "keygen" | "legend" | "main" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "noindex" | "noscript" | "optgroup" | "option" | "output" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "samp" | "slot" | "script" | "section" | "select" | "source" | "strong" | "style" | "summary" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "var" | "video" | "wbr" | "webview" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | default_2.ComponentClass<any, any> | default_2.FunctionComponent<any>>>;
2303
+ declare const Text_2: default_2.ForwardRefExoticComponent<TextProps<AllowedElements_2> & default_2.RefAttributes<"symbol" | "object" | "code" | "map" | "filter" | "search" | "big" | "link" | "small" | "sub" | "sup" | "stop" | "label" | "s" | "dd" | "a" | "button" | "div" | "form" | "h2" | "h3" | "img" | "input" | "li" | "nav" | "ol" | "p" | "select" | "span" | "svg" | "ul" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "canvas" | "caption" | "center" | "cite" | "col" | "colgroup" | "data" | "datalist" | "del" | "details" | "dfn" | "dialog" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "h1" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "ins" | "kbd" | "keygen" | "legend" | "main" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "noindex" | "noscript" | "optgroup" | "option" | "output" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "samp" | "slot" | "script" | "section" | "source" | "strong" | "style" | "summary" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "var" | "video" | "wbr" | "webview" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | default_2.ComponentClass<any, any> | default_2.FunctionComponent<any>>>;
2294
2304
  export { Text_2 as Text }
2295
2305
 
2296
2306
  export declare const Textarea: React_2.ForwardRefExoticComponent<TextareaProps & React_2.RefAttributes<HTMLTextAreaElement>>;
@@ -2332,6 +2342,8 @@ declare interface ThemeStore {
2332
2342
  setTheme: (newTheme: THEME) => void;
2333
2343
  }
2334
2344
 
2345
+ export declare const TimePicker: ({ placeholder, value, onChange, rounded, lang, variant, className, colors, size, ...rest }: Props_4 & Omit<DigitalClockProps<Moment>, "value" | "onChange">) => JSX_2.Element;
2346
+
2335
2347
  export declare const Toast: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React_2.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
2336
2348
  variant?: "default" | "destructive" | "success" | "info" | "warning" | null | undefined;
2337
2349
  position?: "top" | "bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left" | null | undefined;