@boxcustodia/library 1.7.14 → 1.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (960) hide show
  1. package/dist/index.cjs.js +354 -0
  2. package/dist/index.es.js +66927 -289
  3. package/dist/theme.css +0 -27
  4. package/package.json +41 -39
  5. package/dist/index.d.ts +0 -1822
  6. package/dist/index.es10.js +0 -13
  7. package/dist/index.es100.js +0 -5
  8. package/dist/index.es101.js +0 -7
  9. package/dist/index.es102.js +0 -6
  10. package/dist/index.es103.js +0 -17
  11. package/dist/index.es104.js +0 -2751
  12. package/dist/index.es105.js +0 -5
  13. package/dist/index.es106.js +0 -5
  14. package/dist/index.es107.js +0 -6
  15. package/dist/index.es108.js +0 -17
  16. package/dist/index.es109.js +0 -7
  17. package/dist/index.es11.js +0 -18
  18. package/dist/index.es110.js +0 -59
  19. package/dist/index.es111.js +0 -57
  20. package/dist/index.es112.js +0 -63
  21. package/dist/index.es113.js +0 -115
  22. package/dist/index.es114.js +0 -45
  23. package/dist/index.es115.js +0 -26
  24. package/dist/index.es116.js +0 -32
  25. package/dist/index.es117.js +0 -29
  26. package/dist/index.es118.js +0 -28
  27. package/dist/index.es119.js +0 -312
  28. package/dist/index.es12.js +0 -20
  29. package/dist/index.es120.js +0 -15
  30. package/dist/index.es121.js +0 -60
  31. package/dist/index.es122.js +0 -1150
  32. package/dist/index.es123.js +0 -6
  33. package/dist/index.es124.js +0 -6
  34. package/dist/index.es125.js +0 -22
  35. package/dist/index.es126.js +0 -262
  36. package/dist/index.es127.js +0 -15
  37. package/dist/index.es128.js +0 -15
  38. package/dist/index.es129.js +0 -24
  39. package/dist/index.es13.js +0 -31
  40. package/dist/index.es130.js +0 -43
  41. package/dist/index.es131.js +0 -20
  42. package/dist/index.es132.js +0 -42
  43. package/dist/index.es133.js +0 -54
  44. package/dist/index.es134.js +0 -16
  45. package/dist/index.es135.js +0 -12
  46. package/dist/index.es136.js +0 -24
  47. package/dist/index.es137.js +0 -12
  48. package/dist/index.es138.js +0 -35
  49. package/dist/index.es139.js +0 -243
  50. package/dist/index.es14.js +0 -29
  51. package/dist/index.es140.js +0 -862
  52. package/dist/index.es141.js +0 -12
  53. package/dist/index.es142.js +0 -12
  54. package/dist/index.es143.js +0 -12
  55. package/dist/index.es144.js +0 -12
  56. package/dist/index.es145.js +0 -6
  57. package/dist/index.es146.js +0 -6
  58. package/dist/index.es147.js +0 -228
  59. package/dist/index.es148.js +0 -12
  60. package/dist/index.es149.js +0 -43
  61. package/dist/index.es15.js +0 -13
  62. package/dist/index.es150.js +0 -23
  63. package/dist/index.es151.js +0 -15
  64. package/dist/index.es152.js +0 -15
  65. package/dist/index.es153.js +0 -20
  66. package/dist/index.es154.js +0 -46
  67. package/dist/index.es155.js +0 -71
  68. package/dist/index.es156.js +0 -8
  69. package/dist/index.es157.js +0 -21
  70. package/dist/index.es158.js +0 -29
  71. package/dist/index.es159.js +0 -19
  72. package/dist/index.es16.js +0 -16
  73. package/dist/index.es160.js +0 -16
  74. package/dist/index.es161.js +0 -15
  75. package/dist/index.es162.js +0 -16
  76. package/dist/index.es163.js +0 -80
  77. package/dist/index.es164.js +0 -94
  78. package/dist/index.es165.js +0 -354
  79. package/dist/index.es166.js +0 -126
  80. package/dist/index.es167.js +0 -340
  81. package/dist/index.es168.js +0 -10
  82. package/dist/index.es169.js +0 -10
  83. package/dist/index.es17.js +0 -29
  84. package/dist/index.es170.js +0 -4
  85. package/dist/index.es171.js +0 -35
  86. package/dist/index.es172.js +0 -247
  87. package/dist/index.es173.js +0 -21
  88. package/dist/index.es174.js +0 -38
  89. package/dist/index.es175.js +0 -218
  90. package/dist/index.es176.js +0 -23
  91. package/dist/index.es177.js +0 -39
  92. package/dist/index.es178.js +0 -13
  93. package/dist/index.es179.js +0 -3677
  94. package/dist/index.es18.js +0 -27
  95. package/dist/index.es180.js +0 -8
  96. package/dist/index.es181.js +0 -4
  97. package/dist/index.es182.js +0 -47
  98. package/dist/index.es183.js +0 -9
  99. package/dist/index.es184.js +0 -29
  100. package/dist/index.es185.js +0 -70
  101. package/dist/index.es186.js +0 -13
  102. package/dist/index.es187.js +0 -127
  103. package/dist/index.es188.js +0 -137
  104. package/dist/index.es189.js +0 -16
  105. package/dist/index.es19.js +0 -36
  106. package/dist/index.es190.js +0 -32
  107. package/dist/index.es191.js +0 -17
  108. package/dist/index.es192.js +0 -11
  109. package/dist/index.es193.js +0 -52
  110. package/dist/index.es194.js +0 -50
  111. package/dist/index.es195.js +0 -17
  112. package/dist/index.es196.js +0 -257
  113. package/dist/index.es197.js +0 -35
  114. package/dist/index.es198.js +0 -207
  115. package/dist/index.es199.js +0 -6
  116. package/dist/index.es2.js +0 -47
  117. package/dist/index.es20.js +0 -20
  118. package/dist/index.es200.js +0 -48
  119. package/dist/index.es201.js +0 -10
  120. package/dist/index.es202.js +0 -221
  121. package/dist/index.es203.js +0 -32
  122. package/dist/index.es204.js +0 -50
  123. package/dist/index.es205.js +0 -13
  124. package/dist/index.es206.js +0 -8
  125. package/dist/index.es207.js +0 -32
  126. package/dist/index.es208.js +0 -32
  127. package/dist/index.es209.js +0 -50
  128. package/dist/index.es21.js +0 -14
  129. package/dist/index.es210.js +0 -32
  130. package/dist/index.es211.js +0 -652
  131. package/dist/index.es212.js +0 -37
  132. package/dist/index.es213.js +0 -120
  133. package/dist/index.es214.js +0 -28
  134. package/dist/index.es215.js +0 -2501
  135. package/dist/index.es216.js +0 -32
  136. package/dist/index.es217.js +0 -56
  137. package/dist/index.es218.js +0 -4
  138. package/dist/index.es219.js +0 -4
  139. package/dist/index.es22.js +0 -37
  140. package/dist/index.es220.js +0 -10
  141. package/dist/index.es221.js +0 -8
  142. package/dist/index.es222.js +0 -8
  143. package/dist/index.es223.js +0 -20
  144. package/dist/index.es224.js +0 -8
  145. package/dist/index.es225.js +0 -9
  146. package/dist/index.es226.js +0 -8
  147. package/dist/index.es227.js +0 -16
  148. package/dist/index.es228.js +0 -18
  149. package/dist/index.es229.js +0 -11
  150. package/dist/index.es23.js +0 -37
  151. package/dist/index.es230.js +0 -9
  152. package/dist/index.es231.js +0 -17
  153. package/dist/index.es232.js +0 -8
  154. package/dist/index.es233.js +0 -17
  155. package/dist/index.es234.js +0 -9
  156. package/dist/index.es235.js +0 -9
  157. package/dist/index.es236.js +0 -9
  158. package/dist/index.es237.js +0 -7
  159. package/dist/index.es238.js +0 -583
  160. package/dist/index.es239.js +0 -52
  161. package/dist/index.es24.js +0 -28
  162. package/dist/index.es240.js +0 -20
  163. package/dist/index.es241.js +0 -9
  164. package/dist/index.es242.js +0 -21
  165. package/dist/index.es243.js +0 -11
  166. package/dist/index.es244.js +0 -9
  167. package/dist/index.es245.js +0 -10
  168. package/dist/index.es246.js +0 -8
  169. package/dist/index.es247.js +0 -9
  170. package/dist/index.es248.js +0 -12
  171. package/dist/index.es249.js +0 -8
  172. package/dist/index.es25.js +0 -10
  173. package/dist/index.es250.js +0 -11
  174. package/dist/index.es251.js +0 -15
  175. package/dist/index.es252.js +0 -12
  176. package/dist/index.es253.js +0 -11
  177. package/dist/index.es254.js +0 -13
  178. package/dist/index.es255.js +0 -17
  179. package/dist/index.es256.js +0 -8
  180. package/dist/index.es257.js +0 -14
  181. package/dist/index.es258.js +0 -13
  182. package/dist/index.es259.js +0 -13
  183. package/dist/index.es26.js +0 -34
  184. package/dist/index.es260.js +0 -9
  185. package/dist/index.es261.js +0 -12
  186. package/dist/index.es262.js +0 -86
  187. package/dist/index.es263.js +0 -41
  188. package/dist/index.es264.js +0 -67
  189. package/dist/index.es265.js +0 -12
  190. package/dist/index.es266.js +0 -11
  191. package/dist/index.es267.js +0 -10
  192. package/dist/index.es268.js +0 -13
  193. package/dist/index.es269.js +0 -10
  194. package/dist/index.es27.js +0 -66
  195. package/dist/index.es270.js +0 -10
  196. package/dist/index.es271.js +0 -9
  197. package/dist/index.es272.js +0 -8
  198. package/dist/index.es273.js +0 -18
  199. package/dist/index.es274.js +0 -21
  200. package/dist/index.es275.js +0 -54
  201. package/dist/index.es276.js +0 -18
  202. package/dist/index.es277.js +0 -5
  203. package/dist/index.es278.js +0 -2
  204. package/dist/index.es279.js +0 -2056
  205. package/dist/index.es28.js +0 -137
  206. package/dist/index.es280.js +0 -36
  207. package/dist/index.es281.js +0 -14
  208. package/dist/index.es282.js +0 -32
  209. package/dist/index.es283.js +0 -32
  210. package/dist/index.es284.js +0 -27
  211. package/dist/index.es285.js +0 -24
  212. package/dist/index.es286.js +0 -41
  213. package/dist/index.es287.js +0 -20
  214. package/dist/index.es288.js +0 -9
  215. package/dist/index.es289.js +0 -32
  216. package/dist/index.es29.js +0 -44
  217. package/dist/index.es290.js +0 -127
  218. package/dist/index.es291.js +0 -137
  219. package/dist/index.es292.js +0 -16
  220. package/dist/index.es293.js +0 -71
  221. package/dist/index.es294.js +0 -17
  222. package/dist/index.es295.js +0 -50
  223. package/dist/index.es296.js +0 -207
  224. package/dist/index.es297.js +0 -24
  225. package/dist/index.es298.js +0 -32
  226. package/dist/index.es299.js +0 -27
  227. package/dist/index.es3.js +0 -24
  228. package/dist/index.es30.js +0 -47
  229. package/dist/index.es300.js +0 -395
  230. package/dist/index.es301.js +0 -32
  231. package/dist/index.es302.js +0 -33
  232. package/dist/index.es303.js +0 -50
  233. package/dist/index.es304.js +0 -36
  234. package/dist/index.es305.js +0 -183
  235. package/dist/index.es306.js +0 -50
  236. package/dist/index.es307.js +0 -14
  237. package/dist/index.es308.js +0 -10
  238. package/dist/index.es309.js +0 -5
  239. package/dist/index.es31.js +0 -17
  240. package/dist/index.es310.js +0 -47
  241. package/dist/index.es311.js +0 -31
  242. package/dist/index.es312.js +0 -59
  243. package/dist/index.es313.js +0 -22
  244. package/dist/index.es314.js +0 -24
  245. package/dist/index.es315.js +0 -47
  246. package/dist/index.es316.js +0 -34
  247. package/dist/index.es317.js +0 -86
  248. package/dist/index.es318.js +0 -9
  249. package/dist/index.es319.js +0 -17
  250. package/dist/index.es32.js +0 -29
  251. package/dist/index.es320.js +0 -46
  252. package/dist/index.es321.js +0 -36
  253. package/dist/index.es322.js +0 -30
  254. package/dist/index.es323.js +0 -28
  255. package/dist/index.es324.js +0 -10
  256. package/dist/index.es325.js +0 -423
  257. package/dist/index.es326.js +0 -15
  258. package/dist/index.es327.js +0 -37
  259. package/dist/index.es328.js +0 -17
  260. package/dist/index.es329.js +0 -5
  261. package/dist/index.es33.js +0 -60
  262. package/dist/index.es330.js +0 -7
  263. package/dist/index.es331.js +0 -59
  264. package/dist/index.es332.js +0 -33
  265. package/dist/index.es333.js +0 -49
  266. package/dist/index.es334.js +0 -69
  267. package/dist/index.es335.js +0 -40
  268. package/dist/index.es336.js +0 -21
  269. package/dist/index.es337.js +0 -75
  270. package/dist/index.es338.js +0 -75
  271. package/dist/index.es339.js +0 -77
  272. package/dist/index.es34.js +0 -78
  273. package/dist/index.es340.js +0 -77
  274. package/dist/index.es341.js +0 -48
  275. package/dist/index.es342.js +0 -49
  276. package/dist/index.es343.js +0 -61
  277. package/dist/index.es344.js +0 -51
  278. package/dist/index.es345.js +0 -49
  279. package/dist/index.es346.js +0 -80
  280. package/dist/index.es347.js +0 -80
  281. package/dist/index.es348.js +0 -105
  282. package/dist/index.es349.js +0 -49
  283. package/dist/index.es35.js +0 -26
  284. package/dist/index.es350.js +0 -49
  285. package/dist/index.es351.js +0 -49
  286. package/dist/index.es352.js +0 -33
  287. package/dist/index.es353.js +0 -32
  288. package/dist/index.es354.js +0 -32
  289. package/dist/index.es355.js +0 -33
  290. package/dist/index.es356.js +0 -32
  291. package/dist/index.es357.js +0 -32
  292. package/dist/index.es358.js +0 -22
  293. package/dist/index.es359.js +0 -48
  294. package/dist/index.es36.js +0 -77
  295. package/dist/index.es360.js +0 -48
  296. package/dist/index.es361.js +0 -22
  297. package/dist/index.es362.js +0 -22
  298. package/dist/index.es363.js +0 -10
  299. package/dist/index.es364.js +0 -4
  300. package/dist/index.es365.js +0 -25
  301. package/dist/index.es366.js +0 -25
  302. package/dist/index.es367.js +0 -23
  303. package/dist/index.es368.js +0 -4
  304. package/dist/index.es369.js +0 -9408
  305. package/dist/index.es37.js +0 -16
  306. package/dist/index.es370.js +0 -15314
  307. package/dist/index.es371.js +0 -5
  308. package/dist/index.es372.js +0 -63
  309. package/dist/index.es373.js +0 -12
  310. package/dist/index.es374.js +0 -5
  311. package/dist/index.es375.js +0 -7
  312. package/dist/index.es376.js +0 -27
  313. package/dist/index.es377.js +0 -31
  314. package/dist/index.es378.js +0 -7
  315. package/dist/index.es379.js +0 -50
  316. package/dist/index.es38.js +0 -87
  317. package/dist/index.es380.js +0 -50
  318. package/dist/index.es381.js +0 -50
  319. package/dist/index.es382.js +0 -32
  320. package/dist/index.es383.js +0 -50
  321. package/dist/index.es384.js +0 -50
  322. package/dist/index.es385.js +0 -12
  323. package/dist/index.es386.js +0 -12
  324. package/dist/index.es387.js +0 -7
  325. package/dist/index.es388.js +0 -7
  326. package/dist/index.es389.js +0 -7
  327. package/dist/index.es39.js +0 -119
  328. package/dist/index.es390.js +0 -9
  329. package/dist/index.es391.js +0 -336
  330. package/dist/index.es392.js +0 -21
  331. package/dist/index.es393.js +0 -6
  332. package/dist/index.es394.js +0 -7
  333. package/dist/index.es395.js +0 -5
  334. package/dist/index.es396.js +0 -74
  335. package/dist/index.es397.js +0 -6
  336. package/dist/index.es398.js +0 -32
  337. package/dist/index.es399.js +0 -133
  338. package/dist/index.es4.js +0 -15
  339. package/dist/index.es40.js +0 -126
  340. package/dist/index.es400.js +0 -219
  341. package/dist/index.es401.js +0 -32
  342. package/dist/index.es402.js +0 -50
  343. package/dist/index.es403.js +0 -6
  344. package/dist/index.es404.js +0 -5
  345. package/dist/index.es405.js +0 -70
  346. package/dist/index.es406.js +0 -33
  347. package/dist/index.es407.js +0 -11
  348. package/dist/index.es408.js +0 -155
  349. package/dist/index.es409.js +0 -110
  350. package/dist/index.es41.js +0 -141
  351. package/dist/index.es410.js +0 -4
  352. package/dist/index.es411.js +0 -4
  353. package/dist/index.es412.js +0 -4
  354. package/dist/index.es413.js +0 -10
  355. package/dist/index.es414.js +0 -4
  356. package/dist/index.es415.js +0 -22
  357. package/dist/index.es416.js +0 -103
  358. package/dist/index.es417.js +0 -49
  359. package/dist/index.es418.js +0 -70
  360. package/dist/index.es419.js +0 -33
  361. package/dist/index.es42.js +0 -50
  362. package/dist/index.es420.js +0 -18
  363. package/dist/index.es421.js +0 -143
  364. package/dist/index.es422.js +0 -116
  365. package/dist/index.es423.js +0 -7
  366. package/dist/index.es424.js +0 -5
  367. package/dist/index.es425.js +0 -26
  368. package/dist/index.es426.js +0 -112
  369. package/dist/index.es427.js +0 -18
  370. package/dist/index.es428.js +0 -279
  371. package/dist/index.es429.js +0 -4
  372. package/dist/index.es43.js +0 -21
  373. package/dist/index.es430.js +0 -110
  374. package/dist/index.es431.js +0 -79
  375. package/dist/index.es432.js +0 -41
  376. package/dist/index.es433.js +0 -70
  377. package/dist/index.es434.js +0 -39
  378. package/dist/index.es435.js +0 -71
  379. package/dist/index.es436.js +0 -118
  380. package/dist/index.es437.js +0 -99
  381. package/dist/index.es438.js +0 -48
  382. package/dist/index.es439.js +0 -30
  383. package/dist/index.es44.js +0 -198
  384. package/dist/index.es440.js +0 -4
  385. package/dist/index.es441.js +0 -246
  386. package/dist/index.es442.js +0 -389
  387. package/dist/index.es443.js +0 -170
  388. package/dist/index.es444.js +0 -155
  389. package/dist/index.es445.js +0 -145
  390. package/dist/index.es446.js +0 -202
  391. package/dist/index.es447.js +0 -4
  392. package/dist/index.es448.js +0 -50
  393. package/dist/index.es449.js +0 -525
  394. package/dist/index.es45.js +0 -86
  395. package/dist/index.es450.js +0 -129
  396. package/dist/index.es451.js +0 -131
  397. package/dist/index.es452.js +0 -8
  398. package/dist/index.es453.js +0 -17
  399. package/dist/index.es454.js +0 -4
  400. package/dist/index.es455.js +0 -10
  401. package/dist/index.es456.js +0 -329
  402. package/dist/index.es457.js +0 -52
  403. package/dist/index.es458.js +0 -6
  404. package/dist/index.es459.js +0 -50
  405. package/dist/index.es46.js +0 -57
  406. package/dist/index.es460.js +0 -27
  407. package/dist/index.es461.js +0 -8
  408. package/dist/index.es462.js +0 -130
  409. package/dist/index.es463.js +0 -27
  410. package/dist/index.es464.js +0 -7
  411. package/dist/index.es465.js +0 -15
  412. package/dist/index.es466.js +0 -45
  413. package/dist/index.es467.js +0 -60
  414. package/dist/index.es468.js +0 -44
  415. package/dist/index.es469.js +0 -31
  416. package/dist/index.es47.js +0 -35
  417. package/dist/index.es470.js +0 -34
  418. package/dist/index.es471.js +0 -17
  419. package/dist/index.es472.js +0 -13
  420. package/dist/index.es473.js +0 -13
  421. package/dist/index.es474.js +0 -12
  422. package/dist/index.es475.js +0 -9
  423. package/dist/index.es476.js +0 -8
  424. package/dist/index.es477.js +0 -10
  425. package/dist/index.es478.js +0 -32
  426. package/dist/index.es479.js +0 -21
  427. package/dist/index.es48.js +0 -48
  428. package/dist/index.es480.js +0 -16
  429. package/dist/index.es481.js +0 -46
  430. package/dist/index.es482.js +0 -11
  431. package/dist/index.es483.js +0 -5
  432. package/dist/index.es484.js +0 -7
  433. package/dist/index.es485.js +0 -27
  434. package/dist/index.es486.js +0 -30
  435. package/dist/index.es487.js +0 -95
  436. package/dist/index.es488.js +0 -110
  437. package/dist/index.es489.js +0 -57
  438. package/dist/index.es49.js +0 -129
  439. package/dist/index.es490.js +0 -12
  440. package/dist/index.es491.js +0 -28
  441. package/dist/index.es492.js +0 -384
  442. package/dist/index.es493.js +0 -36
  443. package/dist/index.es494.js +0 -9
  444. package/dist/index.es495.js +0 -9
  445. package/dist/index.es496.js +0 -7
  446. package/dist/index.es497.js +0 -9
  447. package/dist/index.es498.js +0 -53
  448. package/dist/index.es499.js +0 -17
  449. package/dist/index.es5.js +0 -16
  450. package/dist/index.es50.js +0 -11
  451. package/dist/index.es500.js +0 -57
  452. package/dist/index.es501.js +0 -8
  453. package/dist/index.es502.js +0 -284
  454. package/dist/index.es503.js +0 -39
  455. package/dist/index.es504.js +0 -22
  456. package/dist/index.es505.js +0 -34
  457. package/dist/index.es506.js +0 -32
  458. package/dist/index.es507.js +0 -10
  459. package/dist/index.es508.js +0 -4
  460. package/dist/index.es509.js +0 -55
  461. package/dist/index.es51.js +0 -20
  462. package/dist/index.es510.js +0 -67
  463. package/dist/index.es511.js +0 -59
  464. package/dist/index.es512.js +0 -15
  465. package/dist/index.es513.js +0 -24
  466. package/dist/index.es514.js +0 -62
  467. package/dist/index.es515.js +0 -36
  468. package/dist/index.es516.js +0 -174
  469. package/dist/index.es517.js +0 -124
  470. package/dist/index.es518.js +0 -10
  471. package/dist/index.es519.js +0 -22
  472. package/dist/index.es52.js +0 -25
  473. package/dist/index.es520.js +0 -36
  474. package/dist/index.es521.js +0 -23
  475. package/dist/index.es522.js +0 -47
  476. package/dist/index.es523.js +0 -32
  477. package/dist/index.es524.js +0 -11
  478. package/dist/index.es525.js +0 -234
  479. package/dist/index.es526.js +0 -24
  480. package/dist/index.es527.js +0 -32
  481. package/dist/index.es528.js +0 -121
  482. package/dist/index.es529.js +0 -40
  483. package/dist/index.es53.js +0 -36
  484. package/dist/index.es530.js +0 -74
  485. package/dist/index.es531.js +0 -23
  486. package/dist/index.es532.js +0 -170
  487. package/dist/index.es533.js +0 -52
  488. package/dist/index.es534.js +0 -4
  489. package/dist/index.es535.js +0 -233
  490. package/dist/index.es536.js +0 -236
  491. package/dist/index.es537.js +0 -9
  492. package/dist/index.es538.js +0 -18
  493. package/dist/index.es539.js +0 -31
  494. package/dist/index.es54.js +0 -25
  495. package/dist/index.es540.js +0 -15
  496. package/dist/index.es541.js +0 -71
  497. package/dist/index.es542.js +0 -11
  498. package/dist/index.es543.js +0 -16
  499. package/dist/index.es544.js +0 -64
  500. package/dist/index.es545.js +0 -67
  501. package/dist/index.es546.js +0 -4
  502. package/dist/index.es547.js +0 -30
  503. package/dist/index.es548.js +0 -4
  504. package/dist/index.es549.js +0 -4
  505. package/dist/index.es55.js +0 -16
  506. package/dist/index.es550.js +0 -29
  507. package/dist/index.es551.js +0 -100
  508. package/dist/index.es552.js +0 -56
  509. package/dist/index.es553.js +0 -20
  510. package/dist/index.es554.js +0 -4
  511. package/dist/index.es555.js +0 -31
  512. package/dist/index.es556.js +0 -4
  513. package/dist/index.es557.js +0 -4
  514. package/dist/index.es558.js +0 -4
  515. package/dist/index.es559.js +0 -4
  516. package/dist/index.es56.js +0 -31
  517. package/dist/index.es560.js +0 -4
  518. package/dist/index.es561.js +0 -13
  519. package/dist/index.es562.js +0 -4
  520. package/dist/index.es563.js +0 -4
  521. package/dist/index.es564.js +0 -50
  522. package/dist/index.es565.js +0 -4
  523. package/dist/index.es566.js +0 -4
  524. package/dist/index.es567.js +0 -10
  525. package/dist/index.es568.js +0 -4
  526. package/dist/index.es569.js +0 -274
  527. package/dist/index.es57.js +0 -150
  528. package/dist/index.es570.js +0 -82
  529. package/dist/index.es571.js +0 -168
  530. package/dist/index.es572.js +0 -4
  531. package/dist/index.es573.js +0 -78
  532. package/dist/index.es574.js +0 -95
  533. package/dist/index.es575.js +0 -54
  534. package/dist/index.es576.js +0 -10
  535. package/dist/index.es577.js +0 -7
  536. package/dist/index.es578.js +0 -54
  537. package/dist/index.es579.js +0 -7
  538. package/dist/index.es58.js +0 -30
  539. package/dist/index.es580.js +0 -6
  540. package/dist/index.es581.js +0 -7
  541. package/dist/index.es582.js +0 -11
  542. package/dist/index.es583.js +0 -4
  543. package/dist/index.es584.js +0 -4
  544. package/dist/index.es585.js +0 -44
  545. package/dist/index.es586.js +0 -74
  546. package/dist/index.es587.js +0 -8
  547. package/dist/index.es588.js +0 -8
  548. package/dist/index.es589.js +0 -8
  549. package/dist/index.es59.js +0 -252
  550. package/dist/index.es590.js +0 -8
  551. package/dist/index.es591.js +0 -8
  552. package/dist/index.es592.js +0 -8
  553. package/dist/index.es593.js +0 -8
  554. package/dist/index.es594.js +0 -8
  555. package/dist/index.es595.js +0 -8
  556. package/dist/index.es596.js +0 -8
  557. package/dist/index.es597.js +0 -8
  558. package/dist/index.es598.js +0 -8
  559. package/dist/index.es599.js +0 -8
  560. package/dist/index.es6.js +0 -15
  561. package/dist/index.es60.js +0 -87
  562. package/dist/index.es600.js +0 -8
  563. package/dist/index.es601.js +0 -8
  564. package/dist/index.es602.js +0 -8
  565. package/dist/index.es603.js +0 -8
  566. package/dist/index.es604.js +0 -8
  567. package/dist/index.es605.js +0 -8
  568. package/dist/index.es606.js +0 -8
  569. package/dist/index.es607.js +0 -8
  570. package/dist/index.es608.js +0 -8
  571. package/dist/index.es609.js +0 -8
  572. package/dist/index.es61.js +0 -98
  573. package/dist/index.es610.js +0 -8
  574. package/dist/index.es611.js +0 -8
  575. package/dist/index.es612.js +0 -8
  576. package/dist/index.es613.js +0 -8
  577. package/dist/index.es614.js +0 -8
  578. package/dist/index.es615.js +0 -8
  579. package/dist/index.es616.js +0 -8
  580. package/dist/index.es617.js +0 -8
  581. package/dist/index.es618.js +0 -8
  582. package/dist/index.es619.js +0 -8
  583. package/dist/index.es62.js +0 -51
  584. package/dist/index.es620.js +0 -8
  585. package/dist/index.es621.js +0 -4
  586. package/dist/index.es622.js +0 -4
  587. package/dist/index.es623.js +0 -4
  588. package/dist/index.es624.js +0 -33
  589. package/dist/index.es625.js +0 -4
  590. package/dist/index.es626.js +0 -27
  591. package/dist/index.es627.js +0 -30
  592. package/dist/index.es628.js +0 -34
  593. package/dist/index.es629.js +0 -27
  594. package/dist/index.es63.js +0 -39
  595. package/dist/index.es630.js +0 -31
  596. package/dist/index.es631.js +0 -55
  597. package/dist/index.es632.js +0 -42
  598. package/dist/index.es633.js +0 -27
  599. package/dist/index.es634.js +0 -29
  600. package/dist/index.es635.js +0 -27
  601. package/dist/index.es636.js +0 -27
  602. package/dist/index.es637.js +0 -29
  603. package/dist/index.es638.js +0 -4
  604. package/dist/index.es639.js +0 -35
  605. package/dist/index.es64.js +0 -46
  606. package/dist/index.es640.js +0 -32
  607. package/dist/index.es641.js +0 -38
  608. package/dist/index.es642.js +0 -35
  609. package/dist/index.es643.js +0 -33
  610. package/dist/index.es644.js +0 -32
  611. package/dist/index.es645.js +0 -78
  612. package/dist/index.es646.js +0 -32
  613. package/dist/index.es647.js +0 -38
  614. package/dist/index.es648.js +0 -50
  615. package/dist/index.es649.js +0 -32
  616. package/dist/index.es65.js +0 -48
  617. package/dist/index.es650.js +0 -52
  618. package/dist/index.es651.js +0 -129
  619. package/dist/index.es652.js +0 -52
  620. package/dist/index.es653.js +0 -33
  621. package/dist/index.es654.js +0 -32
  622. package/dist/index.es655.js +0 -32
  623. package/dist/index.es656.js +0 -32
  624. package/dist/index.es657.js +0 -29
  625. package/dist/index.es658.js +0 -36
  626. package/dist/index.es659.js +0 -32
  627. package/dist/index.es66.js +0 -129
  628. package/dist/index.es660.js +0 -27
  629. package/dist/index.es661.js +0 -32
  630. package/dist/index.es662.js +0 -54
  631. package/dist/index.es663.js +0 -124
  632. package/dist/index.es664.js +0 -30
  633. package/dist/index.es665.js +0 -42
  634. package/dist/index.es666.js +0 -50
  635. package/dist/index.es667.js +0 -61
  636. package/dist/index.es668.js +0 -50
  637. package/dist/index.es669.js +0 -32
  638. package/dist/index.es67.js +0 -7
  639. package/dist/index.es670.js +0 -49
  640. package/dist/index.es671.js +0 -42
  641. package/dist/index.es672.js +0 -68
  642. package/dist/index.es673.js +0 -42
  643. package/dist/index.es674.js +0 -29
  644. package/dist/index.es675.js +0 -32
  645. package/dist/index.es676.js +0 -36
  646. package/dist/index.es677.js +0 -27
  647. package/dist/index.es678.js +0 -32
  648. package/dist/index.es679.js +0 -49
  649. package/dist/index.es68.js +0 -32
  650. package/dist/index.es680.js +0 -34
  651. package/dist/index.es681.js +0 -48
  652. package/dist/index.es682.js +0 -34
  653. package/dist/index.es683.js +0 -34
  654. package/dist/index.es684.js +0 -38
  655. package/dist/index.es685.js +0 -32
  656. package/dist/index.es686.js +0 -27
  657. package/dist/index.es687.js +0 -27
  658. package/dist/index.es688.js +0 -49
  659. package/dist/index.es689.js +0 -32
  660. package/dist/index.es69.js +0 -22
  661. package/dist/index.es690.js +0 -36
  662. package/dist/index.es691.js +0 -39
  663. package/dist/index.es692.js +0 -42
  664. package/dist/index.es693.js +0 -37
  665. package/dist/index.es694.js +0 -49
  666. package/dist/index.es695.js +0 -40
  667. package/dist/index.es696.js +0 -42
  668. package/dist/index.es697.js +0 -47
  669. package/dist/index.es698.js +0 -36
  670. package/dist/index.es699.js +0 -27
  671. package/dist/index.es7.js +0 -13
  672. package/dist/index.es70.js +0 -148
  673. package/dist/index.es700.js +0 -40
  674. package/dist/index.es701.js +0 -39
  675. package/dist/index.es702.js +0 -47
  676. package/dist/index.es703.js +0 -43
  677. package/dist/index.es704.js +0 -35
  678. package/dist/index.es705.js +0 -32
  679. package/dist/index.es706.js +0 -32
  680. package/dist/index.es707.js +0 -32
  681. package/dist/index.es708.js +0 -34
  682. package/dist/index.es709.js +0 -34
  683. package/dist/index.es71.js +0 -71
  684. package/dist/index.es710.js +0 -35
  685. package/dist/index.es711.js +0 -36
  686. package/dist/index.es712.js +0 -27
  687. package/dist/index.es713.js +0 -37
  688. package/dist/index.es714.js +0 -112
  689. package/dist/index.es715.js +0 -32
  690. package/dist/index.es716.js +0 -27
  691. package/dist/index.es717.js +0 -34
  692. package/dist/index.es718.js +0 -27
  693. package/dist/index.es719.js +0 -33
  694. package/dist/index.es72.js +0 -81
  695. package/dist/index.es720.js +0 -27
  696. package/dist/index.es721.js +0 -32
  697. package/dist/index.es722.js +0 -4
  698. package/dist/index.es723.js +0 -38
  699. package/dist/index.es724.js +0 -38
  700. package/dist/index.es725.js +0 -38
  701. package/dist/index.es726.js +0 -38
  702. package/dist/index.es727.js +0 -35
  703. package/dist/index.es728.js +0 -38
  704. package/dist/index.es729.js +0 -38
  705. package/dist/index.es73.js +0 -94
  706. package/dist/index.es730.js +0 -35
  707. package/dist/index.es731.js +0 -38
  708. package/dist/index.es732.js +0 -38
  709. package/dist/index.es733.js +0 -38
  710. package/dist/index.es734.js +0 -38
  711. package/dist/index.es735.js +0 -38
  712. package/dist/index.es736.js +0 -38
  713. package/dist/index.es737.js +0 -38
  714. package/dist/index.es738.js +0 -38
  715. package/dist/index.es739.js +0 -38
  716. package/dist/index.es74.js +0 -98
  717. package/dist/index.es740.js +0 -38
  718. package/dist/index.es741.js +0 -38
  719. package/dist/index.es742.js +0 -38
  720. package/dist/index.es743.js +0 -33
  721. package/dist/index.es744.js +0 -38
  722. package/dist/index.es745.js +0 -38
  723. package/dist/index.es746.js +0 -38
  724. package/dist/index.es747.js +0 -35
  725. package/dist/index.es748.js +0 -38
  726. package/dist/index.es749.js +0 -38
  727. package/dist/index.es75.js +0 -4
  728. package/dist/index.es750.js +0 -35
  729. package/dist/index.es751.js +0 -38
  730. package/dist/index.es752.js +0 -37
  731. package/dist/index.es753.js +0 -38
  732. package/dist/index.es754.js +0 -38
  733. package/dist/index.es755.js +0 -38
  734. package/dist/index.es756.js +0 -38
  735. package/dist/index.es757.js +0 -32
  736. package/dist/index.es758.js +0 -38
  737. package/dist/index.es759.js +0 -38
  738. package/dist/index.es76.js +0 -96
  739. package/dist/index.es760.js +0 -38
  740. package/dist/index.es761.js +0 -38
  741. package/dist/index.es762.js +0 -4
  742. package/dist/index.es763.js +0 -48
  743. package/dist/index.es764.js +0 -52
  744. package/dist/index.es765.js +0 -33
  745. package/dist/index.es766.js +0 -6
  746. package/dist/index.es767.js +0 -25
  747. package/dist/index.es768.js +0 -4
  748. package/dist/index.es769.js +0 -4
  749. package/dist/index.es77.js +0 -74
  750. package/dist/index.es770.js +0 -15
  751. package/dist/index.es771.js +0 -4
  752. package/dist/index.es772.js +0 -81
  753. package/dist/index.es773.js +0 -98
  754. package/dist/index.es774.js +0 -24
  755. package/dist/index.es775.js +0 -85
  756. package/dist/index.es776.js +0 -4
  757. package/dist/index.es777.js +0 -4
  758. package/dist/index.es778.js +0 -16
  759. package/dist/index.es779.js +0 -16
  760. package/dist/index.es78.js +0 -28
  761. package/dist/index.es780.js +0 -16
  762. package/dist/index.es781.js +0 -16
  763. package/dist/index.es782.js +0 -16
  764. package/dist/index.es783.js +0 -16
  765. package/dist/index.es784.js +0 -16
  766. package/dist/index.es785.js +0 -16
  767. package/dist/index.es786.js +0 -16
  768. package/dist/index.es787.js +0 -16
  769. package/dist/index.es788.js +0 -16
  770. package/dist/index.es789.js +0 -16
  771. package/dist/index.es79.js +0 -18
  772. package/dist/index.es790.js +0 -16
  773. package/dist/index.es791.js +0 -16
  774. package/dist/index.es792.js +0 -16
  775. package/dist/index.es793.js +0 -16
  776. package/dist/index.es794.js +0 -16
  777. package/dist/index.es795.js +0 -16
  778. package/dist/index.es796.js +0 -16
  779. package/dist/index.es797.js +0 -16
  780. package/dist/index.es798.js +0 -16
  781. package/dist/index.es799.js +0 -16
  782. package/dist/index.es8.js +0 -14
  783. package/dist/index.es80.js +0 -107
  784. package/dist/index.es800.js +0 -16
  785. package/dist/index.es801.js +0 -16
  786. package/dist/index.es802.js +0 -16
  787. package/dist/index.es803.js +0 -16
  788. package/dist/index.es804.js +0 -16
  789. package/dist/index.es805.js +0 -16
  790. package/dist/index.es806.js +0 -16
  791. package/dist/index.es807.js +0 -16
  792. package/dist/index.es808.js +0 -16
  793. package/dist/index.es809.js +0 -16
  794. package/dist/index.es81.js +0 -57
  795. package/dist/index.es810.js +0 -16
  796. package/dist/index.es811.js +0 -16
  797. package/dist/index.es812.js +0 -25
  798. package/dist/index.es813.js +0 -4
  799. package/dist/index.es814.js +0 -4
  800. package/dist/index.es815.js +0 -4
  801. package/dist/index.es816.js +0 -4
  802. package/dist/index.es817.js +0 -4
  803. package/dist/index.es818.js +0 -4
  804. package/dist/index.es819.js +0 -4
  805. package/dist/index.es82.js +0 -28
  806. package/dist/index.es820.js +0 -4
  807. package/dist/index.es821.js +0 -4
  808. package/dist/index.es822.js +0 -4
  809. package/dist/index.es823.js +0 -4
  810. package/dist/index.es824.js +0 -4
  811. package/dist/index.es825.js +0 -4
  812. package/dist/index.es826.js +0 -4
  813. package/dist/index.es827.js +0 -4
  814. package/dist/index.es828.js +0 -4
  815. package/dist/index.es829.js +0 -4
  816. package/dist/index.es83.js +0 -47
  817. package/dist/index.es830.js +0 -4
  818. package/dist/index.es831.js +0 -4
  819. package/dist/index.es832.js +0 -4
  820. package/dist/index.es833.js +0 -4
  821. package/dist/index.es834.js +0 -4
  822. package/dist/index.es835.js +0 -4
  823. package/dist/index.es836.js +0 -4
  824. package/dist/index.es837.js +0 -4
  825. package/dist/index.es838.js +0 -4
  826. package/dist/index.es839.js +0 -4
  827. package/dist/index.es84.js +0 -13
  828. package/dist/index.es840.js +0 -4
  829. package/dist/index.es841.js +0 -4
  830. package/dist/index.es842.js +0 -4
  831. package/dist/index.es843.js +0 -4
  832. package/dist/index.es844.js +0 -4
  833. package/dist/index.es845.js +0 -4
  834. package/dist/index.es846.js +0 -4
  835. package/dist/index.es847.js +0 -4
  836. package/dist/index.es848.js +0 -4
  837. package/dist/index.es849.js +0 -4
  838. package/dist/index.es85.js +0 -13
  839. package/dist/index.es850.js +0 -4
  840. package/dist/index.es851.js +0 -4
  841. package/dist/index.es852.js +0 -4
  842. package/dist/index.es853.js +0 -4
  843. package/dist/index.es854.js +0 -4
  844. package/dist/index.es855.js +0 -4
  845. package/dist/index.es856.js +0 -4
  846. package/dist/index.es857.js +0 -4
  847. package/dist/index.es858.js +0 -4
  848. package/dist/index.es859.js +0 -4
  849. package/dist/index.es86.js +0 -32
  850. package/dist/index.es860.js +0 -4
  851. package/dist/index.es861.js +0 -4
  852. package/dist/index.es862.js +0 -4
  853. package/dist/index.es863.js +0 -4
  854. package/dist/index.es864.js +0 -4
  855. package/dist/index.es865.js +0 -4
  856. package/dist/index.es866.js +0 -4
  857. package/dist/index.es867.js +0 -4
  858. package/dist/index.es868.js +0 -4
  859. package/dist/index.es869.js +0 -4
  860. package/dist/index.es87.js +0 -45
  861. package/dist/index.es870.js +0 -4
  862. package/dist/index.es871.js +0 -4
  863. package/dist/index.es872.js +0 -4
  864. package/dist/index.es873.js +0 -4
  865. package/dist/index.es874.js +0 -4
  866. package/dist/index.es875.js +0 -4
  867. package/dist/index.es876.js +0 -4
  868. package/dist/index.es877.js +0 -4
  869. package/dist/index.es878.js +0 -4
  870. package/dist/index.es879.js +0 -4
  871. package/dist/index.es88.js +0 -19
  872. package/dist/index.es880.js +0 -4
  873. package/dist/index.es881.js +0 -4
  874. package/dist/index.es882.js +0 -4
  875. package/dist/index.es883.js +0 -4
  876. package/dist/index.es884.js +0 -4
  877. package/dist/index.es885.js +0 -4
  878. package/dist/index.es886.js +0 -4
  879. package/dist/index.es887.js +0 -4
  880. package/dist/index.es888.js +0 -4
  881. package/dist/index.es889.js +0 -4
  882. package/dist/index.es89.js +0 -144
  883. package/dist/index.es890.js +0 -4
  884. package/dist/index.es891.js +0 -4
  885. package/dist/index.es892.js +0 -4
  886. package/dist/index.es893.js +0 -4
  887. package/dist/index.es894.js +0 -4
  888. package/dist/index.es895.js +0 -4
  889. package/dist/index.es896.js +0 -4
  890. package/dist/index.es897.js +0 -4
  891. package/dist/index.es898.js +0 -4
  892. package/dist/index.es899.js +0 -4
  893. package/dist/index.es9.js +0 -9
  894. package/dist/index.es90.js +0 -89
  895. package/dist/index.es900.js +0 -4
  896. package/dist/index.es901.js +0 -4
  897. package/dist/index.es902.js +0 -4
  898. package/dist/index.es903.js +0 -4
  899. package/dist/index.es904.js +0 -4
  900. package/dist/index.es905.js +0 -4
  901. package/dist/index.es906.js +0 -4
  902. package/dist/index.es907.js +0 -4
  903. package/dist/index.es908.js +0 -4
  904. package/dist/index.es909.js +0 -15
  905. package/dist/index.es91.js +0 -54
  906. package/dist/index.es910.js +0 -30
  907. package/dist/index.es911.js +0 -7
  908. package/dist/index.es912.js +0 -4
  909. package/dist/index.es913.js +0 -4
  910. package/dist/index.es914.js +0 -4
  911. package/dist/index.es915.js +0 -4
  912. package/dist/index.es916.js +0 -4
  913. package/dist/index.es917.js +0 -4
  914. package/dist/index.es918.js +0 -4
  915. package/dist/index.es919.js +0 -4
  916. package/dist/index.es92.js +0 -10
  917. package/dist/index.es920.js +0 -4
  918. package/dist/index.es921.js +0 -4
  919. package/dist/index.es922.js +0 -4
  920. package/dist/index.es923.js +0 -4
  921. package/dist/index.es924.js +0 -4
  922. package/dist/index.es925.js +0 -4
  923. package/dist/index.es926.js +0 -4
  924. package/dist/index.es927.js +0 -4
  925. package/dist/index.es928.js +0 -4
  926. package/dist/index.es929.js +0 -4
  927. package/dist/index.es93.js +0 -10
  928. package/dist/index.es930.js +0 -4
  929. package/dist/index.es931.js +0 -4
  930. package/dist/index.es932.js +0 -4
  931. package/dist/index.es933.js +0 -4
  932. package/dist/index.es934.js +0 -4
  933. package/dist/index.es935.js +0 -4
  934. package/dist/index.es936.js +0 -4
  935. package/dist/index.es937.js +0 -4
  936. package/dist/index.es938.js +0 -4
  937. package/dist/index.es939.js +0 -4
  938. package/dist/index.es94.js +0 -12
  939. package/dist/index.es940.js +0 -4
  940. package/dist/index.es941.js +0 -4
  941. package/dist/index.es942.js +0 -4
  942. package/dist/index.es943.js +0 -4
  943. package/dist/index.es944.js +0 -4
  944. package/dist/index.es945.js +0 -4
  945. package/dist/index.es946.js +0 -4
  946. package/dist/index.es947.js +0 -4
  947. package/dist/index.es948.js +0 -4
  948. package/dist/index.es949.js +0 -4
  949. package/dist/index.es95.js +0 -4
  950. package/dist/index.es950.js +0 -4
  951. package/dist/index.es951.js +0 -4
  952. package/dist/index.es952.js +0 -4
  953. package/dist/index.es953.js +0 -4
  954. package/dist/index.es954.js +0 -4
  955. package/dist/index.es955.js +0 -4
  956. package/dist/index.es956.js +0 -4
  957. package/dist/index.es96.js +0 -10
  958. package/dist/index.es97.js +0 -13
  959. package/dist/index.es98.js +0 -13
  960. package/dist/index.es99.js +0 -11
package/dist/index.d.ts DELETED
@@ -1,1822 +0,0 @@
1
- import { ButtonHTMLAttributes } from 'react';
2
- import { ClassNameValue } from 'tailwind-merge';
3
- import { ClassProp } from 'class-variance-authority/types';
4
- import { ClassValue } from 'clsx';
5
- import { Collection } from 'react-aria-components';
6
- import { Command } from 'cmdk';
7
- import { ComponentProps } from 'react';
8
- import { ComponentPropsWithoutRef } from 'react';
9
- import { ComponentType } from 'react';
10
- import { ControllerRenderProps } from 'react-hook-form';
11
- import { CSSProperties } from 'react';
12
- import { default as default_2 } from 'react';
13
- import { DependencyList } from 'react';
14
- import * as DialogPrimitive from '@radix-ui/react-dialog';
15
- import { DialogProps } from '@radix-ui/react-dialog';
16
- import { Dispatch } from 'react';
17
- import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
18
- import { ElementType } from 'react';
19
- import { FieldError } from 'react-hook-form';
20
- import { FieldPath } from 'react-hook-form';
21
- import { FieldValues } from 'react-hook-form';
22
- import { FormEvent } from 'react';
23
- import { HTMLProps } from 'react';
24
- import { JSX } from 'react/jsx-runtime';
25
- import { JSXElementConstructor } from 'react';
26
- import { ListIterateeCustom } from 'lodash';
27
- import { LucideIcon } from 'lucide-react';
28
- import { LucideProps } from 'lucide-react';
29
- import { MutableRefObject } from 'react';
30
- import { Omit as Omit_2 } from 'lodash';
31
- import * as PopoverPrimitive from '@radix-ui/react-popover';
32
- import { Presence } from '@radix-ui/react-presence';
33
- import * as React_2 from 'react';
34
- import { ReactElement } from 'react';
35
- import { ReactNode } from 'react';
36
- import { ReactPortal } from 'react';
37
- import { RefObject } from 'react';
38
- import * as SelectPrimitive from '@radix-ui/react-select';
39
- import { SetStateAction } from 'react';
40
- import { Slot } from '@radix-ui/react-slot';
41
- import { StoreApi } from 'zustand';
42
- import * as TooltipPrimitive from '@radix-ui/react-tooltip';
43
- import { TreeItemContent as TreeItemContent_2 } from 'react-aria-components';
44
- import { TreeItemProps } from 'react-aria-components';
45
- import { TreeProps } from 'react-aria-components';
46
- import { UseBoundStore } from 'zustand';
47
- import { useControllableState } from '@radix-ui/react-use-controllable-state';
48
- import { UseFormProps } from 'react-hook-form';
49
- import { UseFormReturn } from 'react-hook-form';
50
- import { VariantProps } from 'class-variance-authority';
51
- import { ZodType } from 'zod';
52
-
53
- export declare const AlertDialog: ({ title, description, trigger, onClose, onAction, variant, triggerProps, contentProps, headerProps, titleProps, descriptionProps, footerProps, closeProps, closeText, actionText, actionProps, ...props }: AlertDialogProps) => JSX.Element;
54
-
55
- declare type AlertDialogProps = React.ComponentPropsWithoutRef<typeof DialogRoot> & {
56
- title?: React.ReactNode;
57
- description?: React.ReactNode;
58
- trigger?: React.ReactNode;
59
- onClose?: () => void;
60
- onAction?: () => void;
61
- variant?: "default" | "error";
62
- triggerProps?: ComponentProps<typeof DialogTrigger>;
63
- contentProps?: ComponentProps<typeof DialogContent>;
64
- headerProps?: ComponentProps<typeof DialogHeader>;
65
- titleProps?: ComponentProps<typeof DialogTitle>;
66
- descriptionProps?: ComponentProps<typeof DialogDescription>;
67
- footerProps?: ComponentProps<typeof DialogFooter>;
68
- closeProps?: ComponentProps<typeof DialogClose> & VariantProps<typeof Button>;
69
- actionProps?: ComponentProps<typeof DialogClose> & VariantProps<typeof Button>;
70
- closeText?: React.ReactNode;
71
- actionText?: React.ReactNode;
72
- };
73
-
74
- export declare type ArrayUnion<V, T extends ReadonlyArray<V>> = T[number];
75
-
76
- declare interface AsyncState<T> {
77
- loading: boolean;
78
- error: Error | null;
79
- data: T | null;
80
- refetch: () => void;
81
- }
82
-
83
- export declare type AtLeastOne<T> = [T, ...T[]];
84
-
85
- export declare const AutoComplete: ({ items, placeholder, emptyMessage, onSelect, containerClassName, containerProps, inputClassName, inputProps, listClassName, listProps, itemClassName, itemProps, emptyClassName, emptyProps, }: Props_3) => JSX.Element;
86
-
87
- export declare const AutoCompleteDialog: ({ children, ...props }: AutoCompleteDialogProps) => JSX.Element;
88
-
89
- declare interface AutoCompleteDialogProps extends DialogProps {
90
- }
91
-
92
- export declare const AutoCompleteEmpty: (props: React_2.ComponentProps<typeof Command.Empty>) => JSX.Element;
93
-
94
- export declare const AutoCompleteGroup: ({ className, ...props }: React_2.ComponentProps<typeof Command.Group>) => JSX.Element;
95
-
96
- export declare const AutoCompleteInput: ({ className, ...props }: React_2.ComponentProps<typeof Command.Input>) => JSX.Element;
97
-
98
- export declare const AutoCompleteItem: ({ className, ...props }: React_2.ComponentProps<typeof Command.Item>) => JSX.Element;
99
-
100
- export declare const AutoCompleteList: ({ className, ...props }: React_2.ComponentProps<typeof Command.List>) => JSX.Element;
101
-
102
- export declare const AutoCompleteRoot: ({ className, ...props }: React_2.ComponentProps<typeof Command>) => JSX.Element;
103
-
104
- export declare const AutoCompleteSeparator: ({ className, ...props }: React_2.ComponentProps<typeof Command.Separator>) => JSX.Element;
105
-
106
- export declare const AutoCompleteShortcut: ({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>) => JSX.Element;
107
-
108
- export declare const Avatar: ({ variant, size, fallback, alt, src, className, imageProps, ...props }: AvatarProps) => JSX.Element;
109
-
110
- declare type AvatarProps = OverrideProps<HTMLProps<HTMLDivElement>, VariantProps<typeof avatarVariants> & {
111
- fallback?: ReactNode;
112
- alt: string;
113
- src: string;
114
- imageProps?: HTMLProps<HTMLImageElement>;
115
- }>;
116
-
117
- declare const avatarVariants: (props?: ({
118
- variant?: "circle" | "square" | null | undefined;
119
- size?: "sm" | "lg" | "md" | null | undefined;
120
- } & ClassProp) | undefined) => string;
121
-
122
- export declare const BackgroundImage: ({ src, ...props }: Props_4) => JSX.Element;
123
-
124
- export declare const BaseButton: ({ asChild, onClick, loading: prop, showLoader, icon, iconPosition, loaderReplace, style, ...props }: Props_2) => JSX.Element;
125
-
126
- declare type BaseButtonProps = ComponentProps<typeof BaseButton>;
127
-
128
- export declare type BaseEntity = {
129
- id: string;
130
- createdAt: Date;
131
- };
132
-
133
- declare type BaseProps = {
134
- icon?: React.ReactNode;
135
- rounded?: TagVariant["rounded"];
136
- } & StyleProps & React.HTMLAttributes<HTMLDivElement>;
137
-
138
- export declare const Button: (props: Props) => JSX.Element;
139
-
140
- declare type ButtonProps = ComponentProps<typeof Button>;
141
-
142
- declare const buttonVariants: (props?: ({
143
- variant?: "link" | "default" | "error" | "success" | "outline" | "secondary" | "ghost" | null | undefined;
144
- size?: "default" | "icon" | "sm" | "lg" | null | undefined;
145
- shape?: "circle" | "rounded" | "square" | null | undefined;
146
- } & ClassProp) | undefined) => string;
147
-
148
- export declare const Calendar: <T extends Mode>(props: CalendarProps<T>) => JSX.Element;
149
-
150
- export declare type CalendarBaseProps<T extends Mode> = {
151
- disabled?: (date: Date) => boolean;
152
- mode: T;
153
- };
154
-
155
- export declare type CalendarModeProps<T extends Mode> = CalendarBaseProps<T> & {
156
- single: SingleDateValue;
157
- range: RangeDateValue;
158
- multiple: MultipleDateValue;
159
- }[T];
160
-
161
- declare interface CalendarNavigationProps {
162
- view: CalendarView;
163
- setView: (view: CalendarView) => void;
164
- value: Date;
165
- previousMonth: () => void;
166
- nextMonth: () => void;
167
- previousYear: () => void;
168
- nextYear: () => void;
169
- previousDecade: () => void;
170
- nextDecade: () => void;
171
- goBackProps?: Omit<ButtonProps, "onClick">;
172
- goNextProps?: Omit<ButtonProps, "onClick">;
173
- changeViewProps?: Omit<HTMLProps<HTMLButtonElement>, "onClick">;
174
- }
175
-
176
- declare type CalendarProps<T extends Mode> = CalendarModeProps<T> & NavigationProps & {
177
- initialView?: CalendarView;
178
- view?: CalendarView;
179
- onChangeView?: (view: CalendarView, navigationDate: Date) => void;
180
- initialDate?: Date;
181
- monthViewProps?: Omit<MonthViewProps, "navigationDate">;
182
- className?: ClassName;
183
- };
184
-
185
- declare type CalendarProps_2<T extends Mode> = ComponentProps<typeof Calendar<T>>;
186
-
187
- export declare type CalendarState = {
188
- defaultStartDate: Date;
189
- mode: Mode;
190
- isSingleMode: boolean;
191
- isRangeMode: boolean;
192
- selected: DateMatcher;
193
- selectDate: (date: Date) => void;
194
- isSelected: (day: Date) => boolean;
195
- isInRange: (day: Date) => boolean;
196
- isFirstDayFromRange: (day: Date) => boolean;
197
- isLastDayFromRange: (day: Date) => boolean;
198
- };
199
-
200
- export declare type CalendarView = "month" | "year" | "decade";
201
-
202
- export declare const Card: ({ className, ...props }: default_2.HTMLAttributes<HTMLDivElement>) => JSX.Element;
203
-
204
- export declare const CardContent: ({ className, ...props }: default_2.HTMLAttributes<HTMLDivElement>) => JSX.Element;
205
-
206
- export declare const CardDescription: ({ className, ...props }: default_2.HTMLAttributes<HTMLParagraphElement>) => JSX.Element;
207
-
208
- export declare const CardFooter: ({ className, ...props }: default_2.HTMLAttributes<HTMLDivElement>) => JSX.Element;
209
-
210
- export declare const CardHeader: ({ className, ...props }: default_2.HTMLAttributes<HTMLDivElement>) => JSX.Element;
211
-
212
- export declare const CardTitle: ({ className, ...props }: default_2.HTMLAttributes<HTMLHeadingElement>) => JSX.Element;
213
-
214
- export declare const Center: ({ className, ...props }: ComponentPropsWithoutRef<"div">) => JSX.Element;
215
-
216
- export declare const Checkbox: ({ checked, onChange, defaultChecked, className, size, children, containerClassName, containerProps, ...props }: Props_5) => JSX.Element;
217
-
218
- export declare type ClassName = string | undefined;
219
-
220
- export declare const click: (element: HTMLElement) => void;
221
-
222
- export declare type ClickEvent = React.MouseEvent<HTMLButtonElement, MouseEvent>;
223
-
224
- declare type ClosableProps = BaseProps & {
225
- closable: true;
226
- onClose: () => void;
227
- };
228
-
229
- export declare function cn(...args: ClassValue[]): string;
230
-
231
- export { Collection }
232
-
233
- declare type ColorProps = {
234
- color: string;
235
- variant?: "outline" | "borderless";
236
- };
237
-
238
- export declare type ColumnDef<T> = {
239
- /**
240
- * Header de la columna
241
- */
242
- header: string | (() => ReactNode);
243
- /**
244
- * Clave que identifica la columna
245
- */
246
- key: keyof T;
247
- /**
248
- * Elemento que se renderiza en la celda
249
- */
250
- cell?: (row: T, index: number) => ReactNode;
251
- /**
252
- * Ancho de la columna
253
- */
254
- width?: string | number;
255
- };
256
-
257
- export declare function Combobox<TItem extends Record<string, any>>({ items, valueKey, labelKey, placeholder, searchPlaceholder, emptyMessage, searchProps, className, triggerProps, itemProps, itemClassName, contentProps, contentClassName, value: prop, onChange, defaultValue: defaultProp, renderOption, commandProps, ...props }: Props_6<TItem>): JSX.Element;
258
-
259
- declare type ContainerProps = React_2.ComponentProps<"div">;
260
-
261
- export declare type Controllable<C, T extends NonNullable<unknown>> = OverrideProps<HTMLProps<C>, ControllableState<T>>;
262
-
263
- export declare type ControllableState<T> = {
264
- value?: T;
265
- defaultValue?: T;
266
- onChange?: (state: T) => void;
267
- };
268
-
269
- declare type CopiedValue = string | null;
270
-
271
- declare type CopyFunction = (text: string) => Promise<boolean>;
272
-
273
- export declare const createSafeContext: <T>() => readonly [() => T & ({} | undefined), default_2.Provider<T | null>];
274
-
275
- export declare type DateMatcher = DateSingle | DateRange | DateMultiple;
276
-
277
- export declare type DateMultiple = Date[];
278
-
279
- export declare const DatePicker: <T extends Mode = "single">(props: Props_8<T>) => JSX.Element;
280
-
281
- export declare type DatePickerFooterProps<T extends Mode> = {
282
- mode: Mode;
283
- value: CalendarProps_2<T>["value"];
284
- clear: () => void;
285
- selectToday: () => void;
286
- setValue: (value: CalendarProps_2<T>["value"]) => void;
287
- };
288
-
289
- export declare type DateRange = {
290
- start: DateSingle;
291
- end: DateSingle;
292
- };
293
-
294
- export declare type DateSingle = Date | null;
295
-
296
- declare type DayProps = {
297
- day: Date;
298
- navigationDate: Date;
299
- } & HTMLProps<HTMLButtonElement>;
300
-
301
- export declare const Dialog: ({ trigger, title, description, children, footer, focus, triggerProps, headerProps, headerClassName, titleProps, titleClassName, descriptionProps, descriptionClassName, contentProps, contentClassName, footerProps, footerClassName, ...props }: Props_9) => JSX.Element;
302
-
303
- export declare const DialogClose: ({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Close>) => JSX.Element;
304
-
305
- export declare const DialogContent: ({ className, children, focus, hideClose, ...props }: React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> & {
306
- focus?: boolean;
307
- hideClose?: boolean;
308
- }) => JSX.Element;
309
-
310
- export declare const DialogDescription: ({ className, ...props }: React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>) => JSX.Element;
311
-
312
- export declare const DialogFooter: ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>) => JSX.Element;
313
-
314
- export declare const DialogHeader: ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>) => JSX.Element;
315
-
316
- export declare const DialogOverlay: ({ className, ...props }: React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>) => JSX.Element;
317
-
318
- export declare const DialogPortal: ({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Portal>) => JSX.Element;
319
-
320
- export declare const DialogRoot: ({ onClose, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Root> & {
321
- onClose?: () => any;
322
- }) => JSX.Element;
323
-
324
- export declare const DialogTitle: ({ className, ...props }: React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>) => JSX.Element;
325
-
326
- export declare const DialogTrigger: ({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Trigger>) => JSX.Element;
327
-
328
- export declare const Divider: (props: Props_10) => JSX.Element;
329
-
330
- export declare const DOTS = "...";
331
-
332
- export declare const Dropzone: ({ onFileAdd, onFileRemove, onChangeFiles, files, maxFiles, allowedExtensions, maxFileSize, multiple, renderAcceptedFile, renderRejectedFile, showRejected, className, icon: Icon, iconSize, onError, ...props }: DropzoneProps) => JSX.Element;
333
-
334
- export declare type DropzoneProps = {
335
- /**
336
- * Función que se ejecuta cuando se agregan archivos
337
- */
338
- onFileAdd?: (files: File[]) => void;
339
- /**
340
- * Función que se ejecuta cuando se elimina un archivo
341
- */
342
- onFileRemove?: (index: number, type: "accepted" | "rejected") => void;
343
- /**
344
- * Evento que captura cambios en lista de archivos
345
- * @default () => {}
346
- */
347
- onChangeFiles?: (files: File[]) => void;
348
- /**
349
- * Lista de archivos
350
- * @default []
351
- */
352
- files?: File[];
353
- /**
354
- * Número máximo de archivos permitidos
355
- * @default 1
356
- */
357
- maxFiles?: number;
358
- /**
359
- * Lista de extensiones permitidas (e.j. ["image/jpeg", "image/png"])
360
- * @default []
361
- */
362
- allowedExtensions?: FileTypeValue[];
363
- /**
364
- * Tamaño máximo de archivo en bytes
365
- * @default 5MB
366
- */
367
- maxFileSize?: number;
368
- /**
369
- * Permite seleccionar múltiples archivos
370
- */
371
- multiple?: boolean;
372
- /**
373
- * Función para renderizar cada archivo aceptado
374
- */
375
- renderAcceptedFile?: (file: File, removeItem: () => void) => React.ReactNode;
376
- /**
377
- * Función para renderizar cada archivo rechazado
378
- */
379
- renderRejectedFile?: (file: File, removeItem: () => void) => React.ReactNode;
380
- /**
381
- * Mostrar archivos rechazados
382
- * @default false
383
- */
384
- showRejected?: boolean;
385
- /**
386
- * Clase CSS para el contenedor
387
- */
388
- className?: string;
389
- /**
390
- * Icono personalizado para el dropzone
391
- * @default UploadCloud
392
- */
393
- icon?: LucideIcon;
394
- /**
395
- * Tamaño del icono
396
- * @default 40
397
- */
398
- iconSize?: number;
399
- /**
400
- * Función que se ejecuta cuando se rechazan archivos
401
- */
402
- onError?: (fileErrors: FileError[]) => void;
403
- } & Omit<ComponentPropsWithoutRef<"div">, "onDrop" | "onError">;
404
-
405
- export declare const EmptyState: ({ icon, title, description, className, children, ...props }: Props_11) => JSX.Element;
406
-
407
- export declare const ensureReactElement: <P>({ children, as: Wrapper, props, }: EnsureReactElementProps<P>) => ReactElement;
408
-
409
- declare type EnsureReactElementProps<P = {}> = {
410
- children: Renderable<P>;
411
- as?: default_2.ElementType;
412
- props?: P;
413
- };
414
-
415
- export declare type Entity<T> = {
416
- [K in keyof T]: T[K];
417
- } & BaseEntity;
418
-
419
- declare interface ExtendedProps {
420
- containerClassName: ClassName;
421
- inputClassName: ClassName;
422
- listClassName: ClassName;
423
- itemClassName: ClassName;
424
- emptyClassName: ClassName;
425
- containerProps: ComponentProps<typeof AutoCompleteRoot>;
426
- inputProps: ComponentProps<typeof AutoCompleteInput>;
427
- listProps: ComponentProps<typeof AutoCompleteList>;
428
- itemProps: ComponentProps<typeof AutoCompleteItem>;
429
- emptyProps: ComponentProps<typeof AutoCompleteEmpty>;
430
- }
431
-
432
- declare interface ExtendedProps_2 {
433
- triggerProps?: ComponentPropsWithoutRef<typeof DialogTrigger>;
434
- headerProps?: ComponentPropsWithoutRef<typeof DialogHeader>;
435
- headerClassName?: ClassName;
436
- titleProps?: ComponentPropsWithoutRef<typeof DialogTitle>;
437
- titleClassName?: ClassName;
438
- descriptionProps?: ComponentPropsWithoutRef<typeof DialogDescription>;
439
- descriptionClassName?: ClassName;
440
- contentProps?: ComponentPropsWithoutRef<typeof DialogContent>;
441
- contentClassName?: ClassName;
442
- footerProps?: ComponentPropsWithoutRef<typeof DialogFooter>;
443
- footerClassName?: ClassName;
444
- }
445
-
446
- declare interface ExtendedProps_3 {
447
- theadClassName?: ClassName;
448
- theadProps?: HTMLProps<HTMLTableSectionElement>;
449
- tbodyClassName?: ClassName;
450
- tbodyProps?: HTMLProps<HTMLTableSectionElement>;
451
- trClassName?: ClassName;
452
- trProps?: HTMLProps<HTMLTableRowElement>;
453
- thClassName?: ClassName;
454
- thProps?: HTMLProps<HTMLTableCellElement>;
455
- tdClassName?: ClassName;
456
- tdProps?: Omit<HTMLProps<HTMLTableCellElement>, "onDoubleClick">;
457
- }
458
-
459
- /**
460
- * Extracts the initials from a string.
461
- * @param {string} string - The input string.
462
- * @returns {string} The initials extracted from the input string.
463
- */
464
- export declare const extractInitials: (string: string) => string;
465
-
466
- export declare const Field: ({ label, labelClassName, labelProps, error, errorClassName, errorProps, children, className, ...props }: Props_12) => JSX.Element;
467
-
468
- declare type FileError = {
469
- file: File;
470
- errorMessage: string;
471
- errorCode: FileErrorCode;
472
- };
473
-
474
- declare type FileErrorCode = 'INVALID_EXTENSION' | 'FILE_TOO_LARGE' | 'MAX_FILES_EXCEEDED';
475
-
476
- export declare const FileType: {
477
- readonly JPEG: "image/jpeg";
478
- readonly JPG: "image/jpg";
479
- readonly PNG: "image/png";
480
- readonly GIF: "image/gif";
481
- readonly WEBP: "image/webp";
482
- readonly SVG: "image/svg+xml";
483
- readonly PDF: "application/pdf";
484
- readonly DOC: "application/msword";
485
- readonly DOCX: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
486
- readonly XLS: "application/vnd.ms-excel";
487
- readonly XLSX: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
488
- readonly PPT: "application/vnd.ms-powerpoint";
489
- readonly PPTX: "application/vnd.openxmlformats-officedocument.presentationml.presentation";
490
- readonly TXT: "text/plain";
491
- readonly CSV: "text/csv";
492
- readonly ZIP: "application/zip";
493
- readonly RAR: "application/x-rar-compressed";
494
- readonly MP3: "audio/mpeg";
495
- readonly WAV: "audio/wav";
496
- readonly MP4: "video/mp4";
497
- readonly WEBM: "video/webm";
498
- readonly JSON: "application/json";
499
- readonly XML: "application/xml";
500
- };
501
-
502
- export declare const FileTypeGroups: Record<string, FileTypeValue[]>;
503
-
504
- export declare type FileTypeValue = (typeof FileType)[keyof typeof FileType];
505
-
506
- export declare const Form: <TFieldValues extends FieldValues>({ onSubmit, id, form, children, className, }: Props_13<TFieldValues>) => JSX.Element;
507
-
508
- export declare const FormControl: ({ className, ...props }: React_2.ComponentProps<typeof Slot>) => JSX.Element;
509
-
510
- export declare const FormDescription: ({ className, ...props }: React_2.ComponentProps<"p">) => JSX.Element;
511
-
512
- export declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ name, label, description, className, render, itemProps, labelProps, controlProps, descriptionProps, messageProps, }: FormFieldProps<TFieldValues, TName>) => JSX.Element;
513
-
514
- declare type FormFieldProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
515
- name: TName;
516
- label?: string;
517
- description?: string;
518
- render: (field: ControllerRenderProps<TFieldValues, TName>) => React_2.ReactNode;
519
- className?: string;
520
- itemProps?: React_2.ComponentProps<typeof FormItem>;
521
- labelProps?: React_2.ComponentProps<typeof FormLabel>;
522
- controlProps?: React_2.ComponentProps<typeof FormControl>;
523
- descriptionProps?: React_2.ComponentProps<typeof FormDescription>;
524
- messageProps?: React_2.ComponentProps<typeof FormMessage>;
525
- };
526
-
527
- export declare const FormItem: ({ className, ...props }: React_2.ComponentProps<"div">) => JSX.Element;
528
-
529
- export declare const FormLabel: ({ className, ...props }: React_2.ComponentProps<"label">) => JSX.Element;
530
-
531
- export declare const FormMessage: ({ className, children, ...props }: React_2.ComponentProps<"p">) => JSX.Element | null;
532
-
533
- export declare interface GenericMenuProps {
534
- trigger: default_2.ReactNode;
535
- items: MenuItemType[];
536
- side?: "top" | "right" | "bottom" | "left";
537
- offset?: ComponentPropsWithoutRef<typeof MenuContent>["sideOffset"];
538
- contentProps?: ComponentPropsWithoutRef<typeof MenuContent>;
539
- }
540
-
541
- export declare type GenericObject<T = any> = {
542
- [key: string]: T;
543
- };
544
-
545
- declare type GenericObject_2 = Record<string, any>;
546
-
547
- export declare const getFormData: (event: FormEvent<HTMLFormElement>) => Record<string, string>;
548
-
549
- export declare const Heading: <C extends React.ElementType = "h2">({ className, size, weight, as, ...props }: Props_14<C>) => JSX.Element;
550
-
551
- declare const HeadingVariants: (props?: ({
552
- size?: "sm" | "lg" | "md" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | null | undefined;
553
- weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
554
- } & ClassProp) | undefined) => string;
555
-
556
- declare type HotkeyEventName = "keydown" | "keypress" | "keyup";
557
-
558
- declare type HotkeyOptions = {
559
- watch?: boolean;
560
- eventName?: HotkeyEventName;
561
- preventDefault?: boolean;
562
- ignoreInputFields?: boolean;
563
- };
564
-
565
- export declare type ID = string | number;
566
-
567
- export declare const Input: ({ value: prop, onChange, defaultValue: defaultProp, ...rest }: Props_15) => JSX.Element;
568
-
569
- declare interface ItemTimeline {
570
- content?: ReactNode;
571
- icon?: ReactNode;
572
- status?: "done" | "pending" | "error";
573
- color?: string;
574
- }
575
-
576
- export declare interface IToast {
577
- id: number | string;
578
- title?: string;
579
- description: ReactNode;
580
- type: ToastType;
581
- }
582
-
583
- export declare const Kbd: ({ variant, size, className, ...props }: Props_16) => JSX.Element;
584
-
585
- export declare const KbdGroup: ({ className, ...props }: ComponentPropsWithoutRef<"kbd">) => JSX.Element;
586
-
587
- declare const KbdVariants: (props?: ({
588
- variant?: "default" | "error" | "outline" | "secondary" | null | undefined;
589
- size?: "default" | "sm" | "lg" | null | undefined;
590
- } & ClassProp) | undefined) => string;
591
-
592
- declare type Keys = string | string[];
593
-
594
- export declare const Label: ({ className, ...props }: Props_17) => JSX.Element;
595
-
596
- export declare const Loader: ({ center, containerClassName, variant, size, ...props }: Props_18) => JSX.Element;
597
-
598
- declare type LoaderVariants = VariantProps<typeof loaderVariants>;
599
-
600
- declare const loaderVariants: (props?: ({
601
- variant?: "error" | "success" | "secondary" | "ghost" | "primary" | null | undefined;
602
- size?: "default" | "sm" | "lg" | null | undefined;
603
- } & ClassProp) | undefined) => string;
604
-
605
- export declare type Loose<T> = T | (string & {});
606
-
607
- export declare type Maybe<T> = T | undefined | null;
608
-
609
- export declare type MaybeRef<T> = T | MutableRefObject<T>;
610
-
611
- declare type MaybeReturn<TState> = Return<TState | undefined, ((state: TState | undefined) => Partial<TState>) | Partial<TState>>;
612
-
613
- export declare const Menu: ({ trigger, items, contentProps, side, offset, }: GenericMenuProps) => JSX.Element;
614
-
615
- export declare const MenuCheckboxItem: ({ className, children, checked, ...props }: MenuCheckboxItemProps) => JSX.Element;
616
-
617
- declare type MenuCheckboxItemProps = React_2.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>;
618
-
619
- export declare const MenuContent: ({ className, sideOffset, ...props }: MenuContentProps) => JSX.Element;
620
-
621
- declare type MenuContentProps = React_2.ComponentProps<typeof DropdownMenuPrimitive.Content>;
622
-
623
- export declare const MenuGroup: (props: React_2.ComponentProps<typeof DropdownMenuPrimitive.Group>) => JSX.Element;
624
-
625
- export declare const MenuItem: ({ className, inset, ...props }: MenuItemProps) => JSX.Element;
626
-
627
- declare type MenuItemBase<T extends ElementType> = ComponentPropsWithoutRef<T> & {
628
- label?: ReactNode;
629
- type: string;
630
- } & Shortcut;
631
-
632
- declare type MenuItemCheckbox = MenuItemBase<typeof MenuCheckboxItem> & {
633
- type: "checkbox";
634
- };
635
-
636
- declare type MenuItemItem = MenuItemBase<typeof MenuItem> & {
637
- type: "item";
638
- };
639
-
640
- declare type MenuItemLabel = MenuItemBase<typeof MenuLabel> & {
641
- type: "label";
642
- };
643
-
644
- declare type MenuItemProps = React_2.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
645
- inset?: boolean;
646
- };
647
-
648
- declare type MenuItemRadio = MenuItemBase<typeof MenuRadioItem> & {
649
- type: "radio";
650
- };
651
-
652
- declare type MenuItemSeparator = MenuItemBase<typeof MenuSeparator> & {
653
- type: "separator";
654
- };
655
-
656
- declare type MenuItemSubmenu = MenuItemBase<typeof MenuSubTrigger> & {
657
- type: "submenu";
658
- items: MenuItemType[];
659
- };
660
-
661
- export declare type MenuItemType = MenuItemItem | MenuItemCheckbox | MenuItemRadio | MenuItemLabel | MenuItemSeparator | MenuItemSubmenu;
662
-
663
- export declare const MenuLabel: ({ className, inset, ...props }: MenuLabelProps) => JSX.Element;
664
-
665
- declare type MenuLabelProps = React_2.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
666
- inset?: boolean;
667
- };
668
-
669
- export declare const MenuPortal: (props: React_2.ComponentProps<typeof DropdownMenuPrimitive.Portal>) => JSX.Element;
670
-
671
- export declare const MenuRadioGroup: (props: React_2.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>) => JSX.Element;
672
-
673
- export declare const MenuRadioItem: ({ className, children, ...props }: MenuRadioItemProps) => JSX.Element;
674
-
675
- declare type MenuRadioItemProps = React_2.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>;
676
-
677
- export declare const MenuRoot: (props: React_2.ComponentProps<typeof DropdownMenuPrimitive.Root>) => JSX.Element;
678
-
679
- export declare const MenuSeparator: ({ className, ...props }: MenuSeparatorProps) => JSX.Element;
680
-
681
- declare type MenuSeparatorProps = React_2.ComponentProps<typeof DropdownMenuPrimitive.Separator>;
682
-
683
- export declare const MenuShortcut: ({ className, keys, handler, options, ...props }: MenuShortcutProps) => JSX.Element;
684
-
685
- declare type MenuShortcutProps = React_2.ComponentPropsWithoutRef<"span"> & {
686
- keys: Keys;
687
- handler: (event: KeyboardEvent) => any;
688
- options?: HotkeyOptions;
689
- };
690
-
691
- declare type MenuShortcutProps_2 = ComponentPropsWithoutRef<typeof MenuShortcut>;
692
-
693
- export declare const MenuSub: (props: React_2.ComponentProps<typeof DropdownMenuPrimitive.Sub>) => JSX.Element;
694
-
695
- export declare const MenuSubContent: ({ className, ...props }: MenuSubContentProps) => JSX.Element;
696
-
697
- declare type MenuSubContentProps = React_2.ComponentProps<typeof DropdownMenuPrimitive.SubContent>;
698
-
699
- export declare const MenuSubTrigger: ({ className, inset, children, ...props }: MenuSubTriggerProps) => JSX.Element;
700
-
701
- declare type MenuSubTriggerProps = React_2.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
702
- inset?: boolean;
703
- };
704
-
705
- export declare const MenuTrigger: (props: React_2.ComponentProps<typeof DropdownMenuPrimitive.Trigger>) => JSX.Element;
706
-
707
- export declare function mergeRefs<T = any>(refs: Array<React_2.MutableRefObject<T> | React_2.LegacyRef<T> | undefined | null>): React_2.RefCallback<T>;
708
-
709
- export declare type Mode = "single" | "range" | "multiple";
710
-
711
- export declare const monthNames: readonly ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"];
712
-
713
- declare type MonthViewProps = {
714
- navigationDate: Date;
715
- disabled?: (date: Date) => boolean;
716
- dayClassName?: ClassName;
717
- dayProps?: DayProps;
718
- weekDaysClassName?: ClassName;
719
- weekDaysProps?: WeekDaysProps;
720
- };
721
-
722
- export declare type MultipleDateValue = {
723
- value?: Date[];
724
- defaultValue?: Date[];
725
- onChange?: (dates: Date[]) => void;
726
- };
727
-
728
- export declare const MultiSelect: <TItem extends Record<string, any> = Option_2>({ items, value, valueKey, labelKey, onChange, variant, defaultValue, placeholder, maxCount, className, renderOption, withCheckbox, showSearch, showSelectAll, rootProps, ...props }: MultiSelectProps<TItem>) => JSX.Element;
729
-
730
- declare type MultiSelectProps<TItem extends Record<string, any>> = OverrideProps<React_2.ButtonHTMLAttributes<HTMLButtonElement> & OpenProps & VariantProps<typeof multiSelectVariants>, {
731
- items: TItem[];
732
- /**
733
- * Identificador del valor del elemento
734
- * @default "value"
735
- */
736
- valueKey?: keyof TItem;
737
- /**
738
- * Identificador del label del elemento
739
- * @default "label"
740
- */
741
- value?: string[];
742
- onChange?: (value: string[]) => void;
743
- defaultValue?: string[];
744
- labelKey?: keyof TItem;
745
- placeholder?: string;
746
- /**
747
- * Cantidad máxima de elementos que se van a visualizar
748
- * @default 3
749
- */
750
- maxCount?: number;
751
- className?: string;
752
- renderOption?: (item: TItem) => React_2.ReactNode;
753
- withCheckbox?: boolean;
754
- /**
755
- * Para mostrar o no la barra de búsqueda
756
- * @default true
757
- */
758
- showSearch?: boolean;
759
- /**
760
- * Para mostrar o no el "Seleccionar todos"
761
- * @default true
762
- */
763
- showSelectAll?: boolean;
764
- /**
765
- * Props del PopoverRoot
766
- */
767
- rootProps?: React_2.ComponentPropsWithoutRef<typeof PopoverRoot>;
768
- }>;
769
-
770
- declare const multiSelectVariants: (props?: ({
771
- variant?: "default" | "error" | "secondary" | "primary" | null | undefined;
772
- } & ClassProp) | undefined) => string;
773
-
774
- declare type Mutation<TArgs extends any[], TReturn> = (...args: TArgs) => Promise<TReturn>;
775
-
776
- declare type NavigationProps = Pick<CalendarNavigationProps, "goNextProps" | "goBackProps" | "changeViewProps">;
777
-
778
- declare type NonClosableProps = BaseProps & {
779
- closable?: false;
780
- onClose?: never;
781
- };
782
-
783
- declare type noop = (this: any, ...args: any[]) => any;
784
-
785
- export declare type Nullable<T> = T | null;
786
-
787
- export declare const NumberInput: ({ value: prop, onChange, defaultValue: defaultProp, className, min, max, ...props }: Props_19) => JSX.Element;
788
-
789
- declare type OpenProps = {
790
- open?: boolean;
791
- onOpenChange?: (open: boolean) => void;
792
- defaultOpen?: boolean;
793
- };
794
-
795
- declare interface Option_2<TValue = string> {
796
- label: string;
797
- value: TValue;
798
- disabled?: boolean;
799
- }
800
- export { Option_2 as Option }
801
-
802
- export declare type OverrideProps<T, TOverridden> = Omit<T, keyof TOverridden> & TOverridden;
803
-
804
- export declare type PageSize = (typeof TABLE_PAGE_SIZES)[number];
805
-
806
- export declare const Pagination: ({ optionProps, className, containerProps, ...rangeProps }: Props_20) => JSX.Element;
807
-
808
- declare interface PaginationOptionProps extends ButtonHTMLAttributes<HTMLButtonElement> {
809
- isActive?: boolean;
810
- }
811
-
812
- export declare const Password: ({ className, containerClassName, showIcon, hideIcon, onShow, onHide, toggleable, ...rest }: Props_21) => JSX.Element;
813
-
814
- export declare const Popover: (props: Props_22) => JSX.Element;
815
-
816
- export declare const PopoverContent: ({ className, align, sideOffset, matchTriggerWidth, style, focus, ...props }: PopoverContentProps) => JSX.Element;
817
-
818
- declare type PopoverContentProps = React_2.ComponentProps<typeof PopoverPrimitive.Content> & {
819
- matchTriggerWidth?: boolean;
820
- focus?: boolean;
821
- };
822
-
823
- export declare const PopoverRoot: (props: React_2.ComponentProps<typeof PopoverPrimitive.Root>) => JSX.Element;
824
-
825
- export declare const PopoverTrigger: (props: React_2.ComponentProps<typeof PopoverPrimitive.Trigger>) => JSX.Element;
826
-
827
- declare type Props = BaseButtonProps & VariantProps<typeof buttonVariants>;
828
-
829
- declare type Props_10 = {
830
- orientation?: "horizontal" | "vertical";
831
- } & HTMLProps<HTMLHRElement>;
832
-
833
- declare type Props_11 = ComponentPropsWithoutRef<"div"> & {
834
- icon?: ReactNode;
835
- title?: ReactNode;
836
- description?: ReactNode;
837
- };
838
-
839
- declare interface Props_12 extends ComponentProps<"div"> {
840
- label?: ReactNode;
841
- labelClassName?: string;
842
- labelProps?: ComponentPropsWithoutRef<"label">;
843
- error?: ReactNode;
844
- errorClassName?: string;
845
- errorProps?: ComponentPropsWithoutRef<"p">;
846
- }
847
-
848
- declare type Props_13<TFieldValues extends FieldValues> = {
849
- onSubmit: (data: TFieldValues) => void;
850
- form: UseFormReturn<TFieldValues>;
851
- children: React_2.ReactNode;
852
- className?: string;
853
- id?: string;
854
- };
855
-
856
- declare type Props_14<C extends React.ElementType> = VariantProps<typeof HeadingVariants> & {
857
- as?: C;
858
- } & Omit<React.ComponentPropsWithoutRef<C>, "as">;
859
-
860
- declare type Props_15 = OverrideProps<ComponentProps<"input">, {
861
- /** valor del input */
862
- value?: string;
863
- /** functión a ejecutar cuando el valor cambia */
864
- onChange?: (value: string) => void;
865
- /** valor por defecto del input */
866
- defaultValue?: string;
867
- }>;
868
-
869
- declare type Props_16 = ComponentPropsWithoutRef<"kbd"> & VariantProps<typeof KbdVariants>;
870
-
871
- declare type Props_17 = React_2.ComponentProps<"label">;
872
-
873
- declare type Props_18 = LucideProps & LoaderVariants & {
874
- center?: boolean;
875
- containerClassName?: string;
876
- };
877
-
878
- declare type Props_19 = OverrideProps<ComponentProps<"input">, {
879
- /** valor del input */
880
- value?: number;
881
- /** functión a ejecutar cuando el valor cambia */
882
- onChange?: (value: number) => void;
883
- /** valor por defecto del input */
884
- defaultValue?: number;
885
- /** valor mínimo del input */
886
- min?: number;
887
- /** valor máximo del input */
888
- max?: number;
889
- }>;
890
-
891
- declare interface Props_2 extends ComponentProps<"button"> {
892
- asChild?: boolean;
893
- loading?: boolean;
894
- showLoader?: boolean;
895
- icon?: ReactNode;
896
- iconPosition?: "start" | "end";
897
- loaderReplace?: true;
898
- }
899
-
900
- declare interface Props_20 extends useRangePaginationProps {
901
- optionProps?: PaginationOptionProps;
902
- className?: string;
903
- containerProps?: HTMLProps<HTMLDivElement>;
904
- }
905
-
906
- declare type Props_21 = OverrideProps<ComponentProps<typeof Input>, {
907
- /** Clase CSS para el contenedor */
908
- containerClassName?: string;
909
- /** Ícono para mostrar la contraseña */
910
- showIcon?: ReactNode;
911
- /** Ícono para ocultar la contraseña */
912
- hideIcon?: ReactNode;
913
- /** Callback cuando se muestra la contraseña */
914
- onShow?: () => void;
915
- /** Callback cuando se oculta la contraseña */
916
- onHide?: () => void;
917
- /** Habilita/deshabilita el botón de mostrar/ocultar contraseña */
918
- toggleable?: boolean;
919
- }>;
920
-
921
- declare interface Props_22 {
922
- trigger?: ReactNode;
923
- children: ReactNode;
924
- rootProps?: ComponentPropsWithoutRef<typeof PopoverRoot>;
925
- triggerProps?: ComponentPropsWithoutRef<typeof PopoverTrigger>;
926
- triggerClassName?: ClassName;
927
- contentProps?: ComponentPropsWithoutRef<typeof PopoverContent>;
928
- contentClassName?: ClassName;
929
- matchTriggerWidth?: ComponentPropsWithoutRef<typeof PopoverContent>["matchTriggerWidth"];
930
- triggerAsChild?: ComponentPropsWithoutRef<typeof PopoverTrigger>["asChild"];
931
- side?: "left" | "right" | "top" | "bottom";
932
- offset?: ComponentPropsWithoutRef<typeof PopoverContent>["sideOffset"];
933
- }
934
-
935
- declare interface Props_23 extends ComponentPropsWithoutRef<typeof Slot> {
936
- /** Si el componente está presente o no */
937
- when: ComponentProps<typeof Presence>["present"];
938
- }
939
-
940
- declare interface Props_24 extends HTMLProps<HTMLDivElement> {
941
- /**
942
- * Determina si el skeleton es isCircle para redondearlo
943
- */
944
- isCircle?: boolean;
945
- /**
946
- * Ancho del componente
947
- */
948
- width?: string;
949
- /**
950
- * Alto del componente
951
- */
952
- height?: string;
953
- /**
954
- * Determina si el skeleton es visible
955
- */
956
- isLoading?: boolean;
957
- }
958
-
959
- declare type Props_25 = OverrideProps<ComponentProps<"input">, {
960
- checked?: boolean;
961
- onChange?: (value: boolean) => void;
962
- defaultChecked?: boolean;
963
- containerClassName?: string;
964
- containerProps?: Omit<ComponentProps<"div">, "className">;
965
- }>;
966
-
967
- declare type Props_26<T> = {
968
- data: T[];
969
- columns: ColumnDef<T>[];
970
- onRowClick?: (row: T) => void;
971
- onDoubleClick?: (row: T) => void;
972
- selected?: (row: T) => boolean;
973
- } & ExtendedProps_3 & Omit<ComponentPropsWithoutRef<typeof TableRoot>, "data" | "selected" | "onDoubleClick">;
974
-
975
- declare type Props_27 = {
976
- setPageSize?: (value: PageSize) => void;
977
- pageSize?: PageSize;
978
- } & Omit<usePaginationProps, "pageSize"> & TablePaginationExtendedProps;
979
-
980
- declare type Props_28 = ClosableProps | NonClosableProps;
981
-
982
- declare type Props_29 = {
983
- titleClassName?: ClassName;
984
- titleProps?: HTMLProps<HTMLHeadingElement>;
985
- descriptionClassName?: ClassName;
986
- descriptionProps?: HTMLProps<HTMLParagraphElement>;
987
- iconClassName?: ClassName;
988
- } & Omit_2<HTMLProps<HTMLDivElement>, "id"> & Omit_2<IToast, "id">;
989
-
990
- declare interface Props_3 extends ExtendedProps {
991
- items: AutoCompleteItem[];
992
- placeholder?: string;
993
- emptyMessage?: string;
994
- onSelect?: (value: AutoCompleteItem["value"], item: AutoCompleteItem) => any;
995
- }
996
-
997
- declare type Props_30 = ComponentProps<typeof TooltipTrigger> & {
998
- /**
999
- * El texto que aparecera en el tooltip
1000
- */
1001
- label: ReactNode;
1002
- open?: boolean;
1003
- defaultOpen?: boolean;
1004
- onOpenChange?: (open: boolean) => any;
1005
- side?: "top" | "right" | "bottom" | "left";
1006
- offset?: ComponentPropsWithoutRef<typeof TooltipContent>["sideOffset"];
1007
- arrowClassName?: string;
1008
- };
1009
-
1010
- declare type Props_31<T extends TreeNode> = TreeRootProps & {
1011
- items: T[];
1012
- };
1013
-
1014
- declare interface Props_32<T> extends UseAsyncOptions<T> {
1015
- fn: () => Promise<T>;
1016
- dependencies?: DependencyList;
1017
- }
1018
-
1019
- declare interface Props_4 extends HTMLProps<HTMLDivElement> {
1020
- /**
1021
- * La URL de la imagen
1022
- */
1023
- src: string;
1024
- }
1025
-
1026
- declare type Props_5 = OverrideProps<ComponentProps<"input">, {
1027
- /**
1028
- * Valor controlado del checkbox.
1029
- */
1030
- checked?: boolean;
1031
- /**
1032
- * Función que se ejecuta cuando el valor del checkbox cambia.
1033
- */
1034
- onChange?: (value: boolean) => void;
1035
- /**
1036
- * Valor por defecto del checkbox.
1037
- */
1038
- defaultChecked?: boolean;
1039
- size?: string | number;
1040
- containerClassName?: string;
1041
- containerProps?: Omit<ComponentProps<"div">, "className">;
1042
- }>;
1043
-
1044
- declare type Props_6<TItem extends Record<string, any>> = {
1045
- emptyMessage?: string;
1046
- commandProps?: ComponentProps<typeof AutoCompleteRoot>;
1047
- } & SearchProps & SelectProps<TItem>;
1048
-
1049
- declare type Props_7<TItem extends Record<string, any>> = OverrideProps<ComponentProps<typeof SelectRoot> & Omit<ControllableState<string>, "onChange">, {
1050
- onChange?: (value: string, item: TItem) => void;
1051
- /**
1052
- * Listado de elementos a mostrar
1053
- * @default []
1054
- */
1055
- items: TItem[];
1056
- /**
1057
- * Identificador del valor del elemento
1058
- * @default "value"
1059
- */
1060
- valueKey?: keyof TItem;
1061
- /**
1062
- * Identificador del label del elemento
1063
- * @default "label"
1064
- */
1065
- labelKey?: keyof TItem;
1066
- /**
1067
- * Función que renderiza el label del elemento
1068
- * Por defecto renderiza el label del elemento
1069
- */
1070
- renderOption?: (item: TItem) => ReactNode;
1071
- className?: ClassName;
1072
- triggerProps?: ComponentProps<typeof SelectTrigger>;
1073
- contentClassName?: ClassName;
1074
- contentProps?: ComponentProps<typeof SelectContent>;
1075
- itemClassName?: ClassName;
1076
- itemProps?: ComponentProps<typeof SelectItem>;
1077
- placeholder?: string;
1078
- }>;
1079
-
1080
- declare type Props_8<T extends Mode> = ComponentProps<"input"> & {
1081
- mode?: T;
1082
- disabledDate?: (date: Date) => boolean;
1083
- hideFooter?: boolean;
1084
- renderFooter?: (props: DatePickerFooterProps<T>) => ReactNode;
1085
- } & Omit<CalendarProps_2<T>, "disabled" | "mode">;
1086
-
1087
- declare type Props_9 = ComponentPropsWithoutRef<typeof DialogRoot> & ExtendedProps_2 & {
1088
- trigger?: ReactNode;
1089
- title?: ReactNode;
1090
- description?: ReactNode;
1091
- children: ReactNode;
1092
- footer?: ReactNode;
1093
- focus?: boolean;
1094
- };
1095
-
1096
- declare type PropsWithoutValue<T> = Omit<T, "value" | "onChange" | "defaultValue">;
1097
-
1098
- export declare type RangeDateValue = {
1099
- value?: DateRange;
1100
- defaultValue?: DateRange;
1101
- onChange?: (date: DateRange) => void;
1102
- };
1103
-
1104
- export declare type Renderable<T> = ReactNode | ((props: T) => ReactElement);
1105
-
1106
- declare type Return<TState, TArgs = ((state: TState) => Partial<TState>) | Partial<TState>> = [TState, (arg: TArgs) => void, () => void];
1107
-
1108
- declare type Return_2<T> = {
1109
- /**
1110
- * Indica si todos los elementos están seleccionados.
1111
- */
1112
- isAllSelected: boolean;
1113
- /**
1114
- * Indica si ningun elemento está seleccionado.
1115
- */
1116
- isNoneSelected: boolean;
1117
- /**
1118
- * Función que devuelve true si el elemento dado está seleccionado, false de lo contrario.
1119
- * @param item El elemento a verificar.
1120
- * @returns true si el elemento está seleccionado, false de lo contrario.
1121
- */
1122
- isSelected: (item: T) => boolean;
1123
- /**
1124
- * Array de elementos seleccionados.
1125
- */
1126
- selected: T[];
1127
- /**
1128
- * Establece los elementos seleccionados.
1129
- * @param items Los elementos seleccionados.
1130
- */
1131
- setSelected: (items: T[]) => void;
1132
- /**
1133
- * Selecciona un elemento.
1134
- * @param item El elemento a seleccionar.
1135
- */
1136
- select: (item: T) => void;
1137
- /**
1138
- * Deselecciona un elemento.
1139
- * @param item El elemento a deseleccionar.
1140
- */
1141
- unselect: (item: T) => void;
1142
- /**
1143
- * Alterna la selección de un elemento (si está seleccionado, lo deselecciona y viceversa).
1144
- * @param item El elemento cuya selección se alternará.
1145
- */
1146
- toggle: (item: T) => void;
1147
- /**
1148
- * Alterna la selección de todos los elementos (si todos están seleccionados, los deselecciona; de lo contrario, los selecciona).
1149
- */
1150
- toggleAll: () => void;
1151
- /**
1152
- * Deselecciona todos los elementos.
1153
- */
1154
- clear: () => void;
1155
- };
1156
-
1157
- declare interface Return_3<T = ReactNode> {
1158
- currentStepIndex: number;
1159
- step: T;
1160
- steps: T[];
1161
- isFirstStep: boolean;
1162
- isLastStep: boolean;
1163
- goTo: (i: number) => void;
1164
- next: () => void;
1165
- back: () => void;
1166
- findAndGo: (callback: ListIterateeCustom<T, boolean>) => void;
1167
- }
1168
-
1169
- declare type Return_4 = [boolean, (newValue?: boolean) => void];
1170
-
1171
- export declare type SafeOmit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
1172
-
1173
- declare interface SearchProps {
1174
- search?: string;
1175
- searchDefaultValue?: string;
1176
- onSearchChange?: (search: string) => void;
1177
- searchProps?: ComponentProps<typeof AutoCompleteInput>;
1178
- searchPlaceholder?: string;
1179
- }
1180
-
1181
- export declare const Select: <TItem extends Record<string, any> = Option_2>({ items, valueKey, labelKey, value: prop, onChange, defaultValue: defaultProp, renderOption, triggerProps, contentClassName, contentProps, itemClassName, itemProps, className, placeholder, ...props }: Props_7<TItem>) => JSX.Element;
1182
-
1183
- export declare const SelectContent: ({ className, children, position, ...props }: SelectContentProps) => JSX.Element;
1184
-
1185
- declare type SelectContentProps = React_2.ComponentProps<typeof SelectPrimitive.Content>;
1186
-
1187
- export declare const SelectGroup: React_2.FC<SelectGroupProps>;
1188
-
1189
- declare interface SelectGroupProps extends React_2.ComponentProps<typeof SelectPrimitive.Group> {
1190
- heading?: string;
1191
- }
1192
-
1193
- export declare const SelectItem: ({ className, children, ...props }: SelectItemProps) => JSX.Element;
1194
-
1195
- declare type SelectItemProps = React_2.ComponentProps<typeof SelectPrimitive.Item>;
1196
-
1197
- export declare const SelectLabel: ({ className, ...props }: SelectLabelProps) => JSX.Element;
1198
-
1199
- declare type SelectLabelProps = React_2.ComponentProps<typeof SelectPrimitive.Label>;
1200
-
1201
- declare type SelectProps<TItem extends Record<string, any>> = ComponentProps<typeof Select<TItem>>;
1202
-
1203
- export declare const SelectRoot: (props: React_2.ComponentProps<typeof SelectPrimitive.Root>) => JSX.Element;
1204
-
1205
- export declare const SelectScrollDownButton: ({ className, ...props }: SelectScrollDownButtonProps) => JSX.Element;
1206
-
1207
- declare type SelectScrollDownButtonProps = React_2.ComponentProps<typeof SelectPrimitive.ScrollDownButton>;
1208
-
1209
- export declare const SelectScrollUpButton: ({ className, ...props }: SelectScrollUpButtonProps) => JSX.Element;
1210
-
1211
- declare type SelectScrollUpButtonProps = React_2.ComponentProps<typeof SelectPrimitive.ScrollUpButton>;
1212
-
1213
- export declare const SelectSeparator: ({ className, ...props }: SelectSeparatorProps) => JSX.Element;
1214
-
1215
- declare type SelectSeparatorProps = React_2.ComponentProps<typeof SelectPrimitive.Separator>;
1216
-
1217
- export declare const SelectTrigger: ({ className, children, ...props }: SelectTriggerProps) => JSX.Element;
1218
-
1219
- declare type SelectTriggerProps = React_2.ComponentProps<typeof SelectPrimitive.Trigger>;
1220
-
1221
- export declare const SelectValue: (props: React_2.ComponentProps<typeof SelectPrimitive.Value>) => JSX.Element;
1222
-
1223
- export declare type SetState<T> = Dispatch<SetStateAction<T>>;
1224
-
1225
- declare type Shortcut = Partial<{
1226
- shortcut: MenuShortcutProps_2["keys"];
1227
- onShortcut: MenuShortcutProps_2["handler"];
1228
- shortcutOptions: MenuShortcutProps_2["options"];
1229
- }>;
1230
-
1231
- export declare const Show: ({ when, ...props }: Props_23) => JSX.Element;
1232
-
1233
- export declare type SingleDateValue = {
1234
- value?: DateSingle;
1235
- defaultValue?: DateSingle;
1236
- onChange?: (date: DateSingle) => void;
1237
- };
1238
-
1239
- export declare const Skeleton: ({ isCircle, width, height, isLoading, ...props }: Props_24) => string | number | bigint | true | Iterable<ReactNode> | Promise<string | number | bigint | boolean | ReactPortal | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | JSX.Element;
1240
-
1241
- export declare const Stack: ({ inline, justify, align, direction, gap, style, ...props }: StackProps) => JSX.Element;
1242
-
1243
- declare interface StackProps extends ComponentProps<"div"> {
1244
- inline?: boolean;
1245
- justify?: CSSProperties["justifyContent"];
1246
- align?: CSSProperties["alignItems"];
1247
- direction?: "horizontal" | "vertical";
1248
- gap?: CSSProperties["gap"];
1249
- }
1250
-
1251
- export declare type State<T> = [T, SetState<T>];
1252
-
1253
- export declare function Stepper({ items, current, onChange, className, classNameList, classNameItem, classNameButton, classNameIndicator, classNameContent, }: StepperProps): JSX.Element;
1254
-
1255
- export declare function StepperContainer({ current: prop, onChange, className, ...props }: StepperContainerProps): JSX.Element;
1256
-
1257
- declare interface StepperContainerProps extends Omit<HTMLProps<HTMLDivElement>, "onChange"> {
1258
- current?: number;
1259
- onChange?: (index: number) => void;
1260
- className?: ClassName;
1261
- }
1262
-
1263
- export declare function StepperContent({ value, className, ...props }: StepperContentProps): JSX.Element | null;
1264
-
1265
- declare interface StepperContentProps extends HTMLProps<HTMLDivElement> {
1266
- value: number;
1267
- }
1268
-
1269
- declare interface StepperItemProps {
1270
- indicator?: ReactNode;
1271
- title: ReactNode;
1272
- content?: ReactNode;
1273
- disabled?: boolean;
1274
- }
1275
-
1276
- export declare function StepperList({ children, className, ...props }: StepperListProps): JSX.Element;
1277
-
1278
- declare interface StepperListProps extends HTMLProps<HTMLUListElement> {
1279
- }
1280
-
1281
- declare interface StepperProps extends Omit<HTMLProps<HTMLDivElement>, "onChange"> {
1282
- items?: StepperItemProps[];
1283
- current?: number;
1284
- onChange?: (index: number) => void;
1285
- className?: ClassName;
1286
- classNameList?: ClassName;
1287
- classNameItem?: ClassName;
1288
- classNameButton?: ClassName;
1289
- classNameIndicator?: ClassName;
1290
- classNameContent?: ClassName;
1291
- }
1292
-
1293
- export declare function StepperTrigger({ disabled, value, title, indicator, classNameItem, classNameButton, classNameIndicator, }: StepperTriggerProps): JSX.Element;
1294
-
1295
- declare interface StepperTriggerProps {
1296
- indicator?: ReactNode;
1297
- title: ReactNode;
1298
- value: number;
1299
- disabled?: boolean;
1300
- classNameItem?: ClassNameValue;
1301
- classNameButton?: ClassNameValue;
1302
- classNameIndicator?: ClassNameValue;
1303
- }
1304
-
1305
- declare type StyleProps = ColorProps | VariantProps_2;
1306
-
1307
- export declare const Switch: ({ className, children, containerProps, containerClassName, ...props }: Props_25) => JSX.Element;
1308
-
1309
- export declare const TabContent: ({ value, ...props }: TabContentProps) => JSX.Element | null;
1310
-
1311
- export declare interface TabContentProps extends HTMLProps<HTMLDivElement> {
1312
- value: string;
1313
- }
1314
-
1315
- export declare const Table: <T>({ data, columns, onRowClick, onDoubleClick, selected, theadClassName, theadProps, tbodyClassName, tbodyProps, trClassName, trProps, thClassName, thProps, tdClassName, tdProps, ...tableProps }: Props_26<T>) => JSX.Element;
1316
-
1317
- export declare const TABLE_PAGE_SIZES: number[];
1318
-
1319
- export declare const TableBody: ({ className, ...props }: TableBodyProps) => JSX.Element;
1320
-
1321
- declare type TableBodyProps = React_2.ComponentProps<"tbody">;
1322
-
1323
- export declare const TableCaption: ({ className, ...props }: TableCaptionProps) => JSX.Element;
1324
-
1325
- declare type TableCaptionProps = React_2.ComponentProps<"caption">;
1326
-
1327
- export declare const TableCell: ({ className, ...props }: TableCellProps) => JSX.Element;
1328
-
1329
- declare type TableCellProps = React_2.ComponentProps<"td">;
1330
-
1331
- export declare const TableFooter: ({ className, ...props }: TableFooterProps) => JSX.Element;
1332
-
1333
- declare type TableFooterProps = React_2.ComponentProps<"tfoot">;
1334
-
1335
- export declare const TableHead: ({ className, ...props }: TableHeadProps) => JSX.Element;
1336
-
1337
- export declare const TableHeader: ({ className, ...props }: TableHeaderProps) => JSX.Element;
1338
-
1339
- declare type TableHeaderProps = React_2.ComponentProps<"thead">;
1340
-
1341
- declare type TableHeadProps = React_2.ComponentProps<"th">;
1342
-
1343
- export declare const TablePagination: ({ containerClassName, containerProps, selectClassName, selectProps, sizes, ...props }: Props_27) => JSX.Element;
1344
-
1345
- declare interface TablePaginationExtendedProps {
1346
- containerClassName?: ClassName;
1347
- containerProps?: HTMLProps<HTMLDivElement>;
1348
- selectClassName?: ClassName;
1349
- selectProps?: HTMLProps<HTMLSelectElement>;
1350
- sizes?: PageSize[] | false;
1351
- }
1352
-
1353
- declare type TableProps = React_2.ComponentProps<"table">;
1354
-
1355
- export declare const TableRoot: ({ className, containerClassName, containerProps, ...props }: TableRootProps) => JSX.Element;
1356
-
1357
- declare type TableRootProps = TableProps & {
1358
- containerClassName?: ContainerProps["className"];
1359
- containerProps?: ContainerProps;
1360
- };
1361
-
1362
- export declare const TableRow: ({ className, ...props }: TableRowProps) => JSX.Element;
1363
-
1364
- declare type TableRowProps = React_2.ComponentProps<"tr">;
1365
-
1366
- export declare const TabList: ({ children, className, indicatorClassName }: TabListProps) => JSX.Element;
1367
-
1368
- export declare interface TabListProps {
1369
- children: ReactNode;
1370
- className?: string;
1371
- indicatorClassName?: string;
1372
- }
1373
-
1374
- export declare const Tabs: ({ children, value: prop, onChange, defaultValue, variant, ...props }: TabsProps) => JSX.Element;
1375
-
1376
- export declare interface TabsExtendedProps extends TabsProps {
1377
- listClassName: TabListProps["className"];
1378
- listProps: TabListProps;
1379
- triggerClassName: TabTriggerProps["className"];
1380
- triggerProps: TabTriggerProps;
1381
- contentClassName: TabContentProps["className"];
1382
- contentProps: TabContentProps;
1383
- }
1384
-
1385
- export declare interface TabsProps extends Omit<HTMLProps<HTMLDivElement>, "value" | "defaultValue" | "onChange"> {
1386
- value?: string;
1387
- onChange?: (tab: string) => void;
1388
- defaultValue?: string;
1389
- variant?: "default" | "background";
1390
- }
1391
-
1392
- export declare const TabTrigger: ({ value, className, ...props }: TabTriggerProps) => JSX.Element;
1393
-
1394
- export declare interface TabTriggerProps extends Omit<HTMLProps<HTMLButtonElement>, "onClick" | "type"> {
1395
- value: string;
1396
- }
1397
-
1398
- export declare const Tag: ({ className, color, variant, rounded, icon, closable, onClose, children, ...props }: Props_28) => JSX.Element;
1399
-
1400
- export declare type TagVariant = VariantProps<typeof tagVariants>;
1401
-
1402
- export declare const tagVariants: (props?: ({
1403
- rounded?: "default" | "square" | "full" | null | undefined;
1404
- variant?: "error" | "success" | "outline" | "secondary" | "primary" | "borderless" | null | undefined;
1405
- } & ClassProp) | undefined) => string;
1406
-
1407
- export declare const Textarea: ({ className, ...props }: TextAreaProps) => JSX.Element;
1408
-
1409
- declare type TextAreaProps = HTMLProps<HTMLTextAreaElement>;
1410
-
1411
- export declare type Theme = {
1412
- Button?: ThemeProps<ComponentProps<typeof Button>, "asChild" | "loading">;
1413
- Input?: Partial<PropsWithoutValue<ComponentProps<typeof Input>>>;
1414
- Tooltip?: ThemeProps<ComponentProps<typeof Tooltip>, "label" | "open" | "defaultOpen" | "onOpenChange">;
1415
- Popover?: ThemeProps<ComponentProps<typeof Popover>, "open" | "defaultOpen" | "onOpenChange" | "trigger">;
1416
- };
1417
-
1418
- declare type ThemeProps<T, TOverridden> = Partial<Omit<T, keyof TOverridden>>;
1419
-
1420
- export declare const ThemeProvider: ({ children, theme, }: ThemeProviderProps) => JSX.Element;
1421
-
1422
- declare type ThemeProviderProps = {
1423
- children: ReactNode;
1424
- theme?: Theme;
1425
- };
1426
-
1427
- export declare const Timeline: ({ items, classNameContainer, containerProps, ...itemsProps }: TimelineProps) => JSX.Element;
1428
-
1429
- export declare const TimelineItemContent: (props: HTMLProps<HTMLDivElement>) => JSX.Element;
1430
-
1431
- export declare const TimelineItemDot: ({ icon, status, color, classNameDot, classNameContainerDot, }: TimelineItemDotProps) => JSX.Element;
1432
-
1433
- declare interface TimelineItemDotProps {
1434
- icon?: ReactNode;
1435
- status?: "done" | "pending" | "error";
1436
- color?: string;
1437
- classNameDot?: string;
1438
- classNameContainerDot?: string;
1439
- }
1440
-
1441
- export declare const TimelineListItem: ({ icon, status, color, classNameItemDot, classNameItemContainerDot, classNameItemContent, itemsProps, children, ...props }: TimelineListItemProps) => JSX.Element;
1442
-
1443
- declare interface TimelineListItemProps extends HTMLProps<HTMLLIElement> {
1444
- icon?: ReactNode;
1445
- status?: "done" | "pending" | "error";
1446
- color?: string;
1447
- itemsProps?: HTMLProps<HTMLDivElement>;
1448
- classNameContainer?: string;
1449
- classNameItemDot?: string;
1450
- classNameItemContainerDot?: string;
1451
- classNameItemContent?: string;
1452
- }
1453
-
1454
- declare interface TimelineProps {
1455
- items: ItemTimeline[];
1456
- itemsProps?: HTMLProps<HTMLDivElement>;
1457
- containerProps?: HTMLProps<HTMLUListElement>;
1458
- classNameContainer?: string;
1459
- classNameItem?: string;
1460
- classNameItemDot?: string;
1461
- classNameItemContainerDot?: string;
1462
- classNameItemContent?: string;
1463
- }
1464
-
1465
- export declare const TimelineRoot: (props: HTMLProps<HTMLUListElement>) => JSX.Element;
1466
-
1467
- export declare const Toast: ({ title, description, type, iconClassName, ...props }: Props_29) => JSX.Element;
1468
-
1469
- export declare const toast: ((args: ToastProperties) => number) & {
1470
- info: (args: ToastArgs) => number;
1471
- success: (args: ToastArgs) => number;
1472
- error: (args: ToastArgs) => number;
1473
- promise: <T>(promise: Promise<T>, options: ToastPromiseOptions<T>) => Promise<T>;
1474
- };
1475
-
1476
- export declare type ToastArgs = string | Omit<ToastProperties, "type">;
1477
-
1478
- export declare const Toaster: ({ iconClassName, ...props }: ToasterProps) => JSX.Element;
1479
-
1480
- export declare type ToasterProps = React.ComponentProps<"div"> & {
1481
- iconClassName?: string;
1482
- };
1483
-
1484
- export declare const ToastIcons: Record<ToastType, ComponentType<LucideProps>>;
1485
-
1486
- export declare interface ToastPromiseOptions<T> {
1487
- loading: string;
1488
- success: string | ((data: T) => string);
1489
- error: string | ((error: any) => string);
1490
- }
1491
-
1492
- export declare interface ToastProperties extends Omit<IToast, "id"> {
1493
- duration?: number;
1494
- }
1495
-
1496
- declare interface ToastStore {
1497
- toasts: IToast[];
1498
- addToast: (toast: Omit<IToast, "id"> & {
1499
- duration?: number;
1500
- }) => number;
1501
- removeToast: (id: number) => void;
1502
- updateToast: (id: number, toast: Partial<Omit<IToast, "id">>) => void;
1503
- promise: <T>(promise: Promise<T>, options: ToastPromiseOptions<T>) => Promise<T>;
1504
- }
1505
-
1506
- export declare type ToastType = "info" | "success" | "error" | "loading";
1507
-
1508
- export declare const Tooltip: ({ label, open: prop, defaultOpen: defaultProp, onOpenChange: onChange, ...rest }: Props_30) => JSX.Element;
1509
-
1510
- export declare const TooltipContent: ({ className, sideOffset, children, arrowClassName, ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Content> & {
1511
- arrowClassName?: string;
1512
- }) => JSX.Element;
1513
-
1514
- export declare const TooltipProvider: ({ delayDuration, ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Provider>) => JSX.Element;
1515
-
1516
- export declare const TooltipRoot: ({ ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Root>) => JSX.Element;
1517
-
1518
- export declare const TooltipTrigger: ({ ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Trigger>) => JSX.Element;
1519
-
1520
- export declare function Tree<T extends TreeNode>({ items, ...props }: Props_31<T>): JSX.Element;
1521
-
1522
- export declare const TreeItem: <T extends object>({ className, ...props }: OverrideProps<TreeItemProps<T>, {
1523
- id: string | number;
1524
- }>) => JSX.Element;
1525
-
1526
- export declare const TreeItemContent: (props: React_2.ComponentProps<typeof TreeItemContent_2>) => JSX.Element;
1527
-
1528
- export declare const TreeItemIndicator: () => JSX.Element;
1529
-
1530
- export declare const TreeItemLabel: (props: React_2.HtmlHTMLAttributes<HTMLSpanElement>) => JSX.Element;
1531
-
1532
- export declare interface TreeNode {
1533
- id: string | number;
1534
- title: string;
1535
- children: TreeNode[];
1536
- }
1537
-
1538
- export declare const TreeRoot: <T extends object>({ className, ...props }: TreeProps<T>) => JSX.Element;
1539
-
1540
- declare type TreeRootProps = React_2.ComponentProps<typeof TreeRoot>;
1541
-
1542
- export declare const twMerge: (...classLists: ClassNameValue[]) => string;
1543
-
1544
- export declare const type: (element: HTMLElement, value: string) => void;
1545
-
1546
- export declare const UploadAcceptedFiles: (props: UploadFilesProps) => JSX.Element;
1547
-
1548
- export declare const UploadContent: ({ className, ...props }: UploadContentProps) => JSX.Element;
1549
-
1550
- declare type UploadContentProps = ComponentPropsWithoutRef<"div"> & {
1551
- renderRejectedFile?: (file: File) => ReactNode;
1552
- };
1553
-
1554
- declare type UploadFilesListProps = {
1555
- files: File[];
1556
- handleFileRemove: (index: number, type: "accepted" | "rejected") => void;
1557
- fileType: "accepted" | "rejected";
1558
- children?: ReactNode;
1559
- renderFile?: (file: File, removeItem: () => void) => ReactNode;
1560
- };
1561
-
1562
- declare type UploadFilesProps = Omit<UploadFilesListProps, "fileType" | "handleFileRemove" | "files">;
1563
-
1564
- export declare const UploadItem: ({ file, onRemove, className, renderIcon, ...props }: UploadItemProps) => JSX.Element;
1565
-
1566
- declare type UploadItemProps = ComponentPropsWithoutRef<"div"> & {
1567
- file: File;
1568
- onRemove: () => void;
1569
- renderIcon?: (file: File) => ReactNode;
1570
- };
1571
-
1572
- export declare const UploadRejectedFiles: (props: UploadFilesProps) => JSX.Element;
1573
-
1574
- export declare const UploadRoot: ({ onFileAdd, onFileRemove, onChangeFiles, files: prop, maxFiles, allowedExtensions, maxFileSize, multiple, children, onError, ...props }: UploadRootProps) => JSX.Element;
1575
-
1576
- declare type UploadRootProps = {
1577
- onFileAdd?: (files: File[]) => void;
1578
- onFileRemove?: (index: number, type: "accepted" | "rejected") => void;
1579
- onChangeFiles?: (files: File[]) => void;
1580
- files?: File[];
1581
- maxFiles?: number;
1582
- allowedExtensions?: string[];
1583
- maxFileSize?: number;
1584
- multiple?: true;
1585
- className?: string;
1586
- children?: ReactNode;
1587
- onError?: (fileErrors: FileError[]) => void;
1588
- };
1589
-
1590
- export declare const UploadTrigger: ({ asChild, ...props }: UploadTriggerProps) => JSX.Element;
1591
-
1592
- declare type UploadTriggerProps = {
1593
- asChild?: boolean;
1594
- } & ComponentPropsWithoutRef<"button">;
1595
-
1596
- export declare function useArray<T>(defaultProp: T[]): readonly [T[], {
1597
- readonly insertAt: (index: number, item: T) => void;
1598
- readonly removeAt: (index: number) => void;
1599
- readonly updateAt: (index: number, newItem: T) => void;
1600
- readonly clear: () => void;
1601
- readonly reset: () => void;
1602
- readonly push: (item: T) => void;
1603
- readonly set: (newList: T[]) => void;
1604
- readonly pop: () => void;
1605
- readonly update: (predicate: ListIterateeCustom<T, boolean>, newItem: T | ((item: T) => T)) => void;
1606
- }];
1607
-
1608
- export declare function useAsync<T>({ fn, dependencies, onError, onSuccess, onFinish, }: Props_32<T>): AsyncState<T>;
1609
-
1610
- declare interface UseAsyncOptions<T> {
1611
- onError?: (error: Error) => void;
1612
- onSuccess?: (data: T) => void;
1613
- onFinish?: () => void;
1614
- }
1615
-
1616
- export declare const useClickOutside: <T extends HTMLElement = HTMLElement>(callback: () => void, watch?: boolean) => RefObject<T | null>;
1617
-
1618
- export declare function useClipboard(): [CopiedValue, CopyFunction];
1619
-
1620
- export { useControllableState }
1621
-
1622
- export declare function useDebouncedCallback<T extends (...args: any[]) => any>(callback: T, delay: number): (...args: Parameters<T>) => void;
1623
-
1624
- export declare function useDebouncedValue<T>(value: T, delay: number): T;
1625
-
1626
- export declare function useDisclosure(initialState?: boolean, callbacks?: {
1627
- onOpen?: () => void;
1628
- onClose?: () => void;
1629
- }): readonly [boolean, {
1630
- readonly open: () => void;
1631
- readonly close: () => void;
1632
- readonly toggle: () => void;
1633
- }];
1634
-
1635
- export declare function useDocumentTitle(title: string): void;
1636
-
1637
- export declare function useEventListener<K extends keyof HTMLElementEventMap, T extends HTMLElement = any>(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): RefObject<T | null>;
1638
-
1639
- export declare function useFocusTrap(active?: boolean): (instance: HTMLElement | null) => void;
1640
-
1641
- export declare function useForm<T extends FieldValues = FieldValues>(schema: ZodType<T>, options?: Partial<UseFormProps<T>>): UseFormReturn<T, any, T>;
1642
-
1643
- export declare const useFormField: () => {
1644
- invalid: boolean;
1645
- isDirty: boolean;
1646
- isTouched: boolean;
1647
- isValidating: boolean;
1648
- error?: FieldError;
1649
- id: string;
1650
- name: string;
1651
- formItemId: string;
1652
- formDescriptionId: string;
1653
- formMessageId: string;
1654
- };
1655
-
1656
- export declare function useHotkey(keys: string | string[], handler: (event: KeyboardEvent) => void, options?: HotkeyOptions): RefObject<any>;
1657
-
1658
- export declare function useHover<T extends HTMLElement>(options?: UseHoverOptions): {
1659
- ref: React.RefObject<T | null>;
1660
- isHovering: boolean;
1661
- };
1662
-
1663
- declare type UseHoverOptions = {
1664
- onHoverStart?: (event: MouseEvent) => void;
1665
- onHoverEnd?: (event: MouseEvent) => void;
1666
- };
1667
-
1668
- export declare function useIsVisible<T extends HTMLElement>({ onVisible, root, rootMargin, threshold, }?: UseIsVisibleProps): UseIsVisibleReturn<T>;
1669
-
1670
- declare interface UseIsVisibleProps extends IntersectionObserverInit {
1671
- onVisible?: () => void;
1672
- }
1673
-
1674
- declare interface UseIsVisibleReturn<T> {
1675
- ref: RefObject<T | null>;
1676
- isVisible: boolean;
1677
- }
1678
-
1679
- export declare function useLocalStorage<T>(key: string): [T | undefined, (value: T) => void, () => void];
1680
-
1681
- export declare function useLocalStorage<T>(key: string, initialValue: T): [T, (value: T) => void, () => void];
1682
-
1683
- export declare const useMediaQuery: (query: string) => boolean;
1684
-
1685
- export declare function useMemoizedFn<T extends noop>(fn: T): T;
1686
-
1687
- export declare const useMutation: <TArgs extends any[], TReturn>(opts: UseMutationOptions<TArgs, TReturn>) => UseMutationReturn<TArgs, TReturn>;
1688
-
1689
- declare interface UseMutationOptions<TArgs extends any[], TReturn> {
1690
- fn: Mutation<TArgs, TReturn>;
1691
- onError?: (error: Error) => void;
1692
- onSuccess?: (data: TReturn) => void;
1693
- onFinish?: () => void;
1694
- }
1695
-
1696
- declare interface UseMutationReturn<TArgs extends any[], TReturn> {
1697
- mutate: Mutation<TArgs, TReturn>;
1698
- loading: boolean;
1699
- error: Error | null;
1700
- data: TReturn | null;
1701
- }
1702
-
1703
- export declare function useObject<T extends GenericObject_2>(): MaybeReturn<T>;
1704
-
1705
- export declare function useObject<T extends GenericObject_2>(initialValue: T): Return<T>;
1706
-
1707
- export declare function usePagination({ totalItems, pageSize, initialCurrentPage, onChange, }: usePaginationProps): {
1708
- next: () => void;
1709
- prev: () => void;
1710
- goTo: (page: number) => void;
1711
- currentPage: number;
1712
- maxPage: number;
1713
- isFirstPage: boolean;
1714
- isLastPage: boolean;
1715
- range: {
1716
- start: number;
1717
- end: number;
1718
- };
1719
- };
1720
-
1721
- export declare type usePaginationProps = {
1722
- /**
1723
- * Cantidad total de elementos
1724
- */
1725
- totalItems: number;
1726
- /**
1727
- * Cantidad de elementos por página
1728
- */
1729
- pageSize: number;
1730
- /**
1731
- * Pagina inicial
1732
- */
1733
- initialCurrentPage?: number;
1734
- /**
1735
- * Callback que se ejecuta cuando cambia la pagina
1736
- */
1737
- onChange?: (value: {
1738
- currentPage: number;
1739
- pageSize: number;
1740
- }) => void;
1741
- siblingCount?: number;
1742
- };
1743
-
1744
- export declare function usePortal(id: string): {
1745
- render: (children: ReactNode) => ReactPortal | null;
1746
- };
1747
-
1748
- export declare function usePreventCloseWindow({ shouldPrevent, message, }: UsePreventUnloadProps): void;
1749
-
1750
- declare interface UsePreventUnloadProps {
1751
- /**
1752
- * Propiedad que determina si la ventana se puede cerrar o no
1753
- */
1754
- shouldPrevent: boolean;
1755
- /**
1756
- * Mensaje que se va a mostrar al usuario antes de cerrar la ventana
1757
- * @deprecated ya no es soportado por los navegadores modernos
1758
- */
1759
- message?: string;
1760
- }
1761
-
1762
- export declare const useRangePagination: ({ siblingCount, ...paginationProps }: useRangePaginationProps) => {
1763
- paginationRange: (string | number)[];
1764
- next: () => void;
1765
- prev: () => void;
1766
- goTo: (page: number) => void;
1767
- currentPage: number;
1768
- maxPage: number;
1769
- isFirstPage: boolean;
1770
- isLastPage: boolean;
1771
- range: {
1772
- start: number;
1773
- end: number;
1774
- };
1775
- };
1776
-
1777
- export declare type useRangePaginationProps = {
1778
- /**
1779
- * Cantidad de elementos visibles al lado de la pagina actual
1780
- */
1781
- siblingCount?: number;
1782
- } & usePaginationProps;
1783
-
1784
- export declare function useSelection<T>(items: T[]): Return_2<T>;
1785
-
1786
- export declare function useStep<T = ReactNode>(steps: T[], amountSteps?: number): Return_3<T>;
1787
-
1788
- export declare const useTheme: () => {
1789
- theme: Theme;
1790
- };
1791
-
1792
- /**
1793
- * Hook que permite obtener y combinar las propiedades de un componente con las del tema.
1794
- *
1795
- * El orden de prioridad de las propiedades es:
1796
- * 1. Props pasadas directamente al componente
1797
- * 2. Props definidas en el ThemeProvider
1798
- * 3. Props por defecto del componente
1799
- */
1800
- export declare const useThemeProps: <TComponent extends keyof Theme, TProps>(componentName: TComponent, props: TProps, defaultProps?: Partial<TProps>) => TProps;
1801
-
1802
- export declare const useToastStore: UseBoundStore<StoreApi<ToastStore>>;
1803
-
1804
- export declare function useToggle(initialValue?: boolean): Return_4;
1805
-
1806
- export declare type ValuesUnion<T extends Record<string, any>> = T[keyof T];
1807
-
1808
- declare type VariantProps_2 = {
1809
- color?: never;
1810
- variant?: TagVariant["variant"];
1811
- };
1812
-
1813
- export declare interface ViewProps {
1814
- value: Date;
1815
- onChange: (date: Date) => void;
1816
- }
1817
-
1818
- declare type WeekDaysProps = HTMLProps<HTMLDivElement>;
1819
-
1820
- export declare const weeksDays: string[];
1821
-
1822
- export { }