@factorialco/f0-react 1.180.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (894) hide show
  1. package/README.md +86 -0
  2. package/assets/fonts/Inter-Italic.woff +0 -0
  3. package/assets/fonts/Inter-Medium.woff +0 -0
  4. package/assets/fonts/Inter-MediumItalic.woff +0 -0
  5. package/assets/fonts/Inter-Regular.woff +0 -0
  6. package/assets/fonts/Inter-SemiBold.woff +0 -0
  7. package/assets/fonts/Inter-SemiBoldItalic.woff +0 -0
  8. package/assets/fonts/style.css +43 -0
  9. package/dist/experimental.css +1 -0
  10. package/dist/experimental.d.ts +4816 -0
  11. package/dist/experimental.js +55408 -0
  12. package/dist/f0.d.ts +2058 -0
  13. package/dist/f0.js +951 -0
  14. package/dist/hooks-Dw9QbCh0.js +91326 -0
  15. package/dist/styles.css +1 -0
  16. package/icons/animated/BarGraph.d.ts +7 -0
  17. package/icons/animated/BarGraph.d.ts.map +1 -0
  18. package/icons/animated/BarGraph.js +34 -0
  19. package/icons/animated/Book.d.ts +7 -0
  20. package/icons/animated/Book.d.ts.map +1 -0
  21. package/icons/animated/Book.js +40 -0
  22. package/icons/animated/Building.d.ts +7 -0
  23. package/icons/animated/Building.d.ts.map +1 -0
  24. package/icons/animated/Building.js +22 -0
  25. package/icons/animated/Calendar.d.ts +7 -0
  26. package/icons/animated/Calendar.d.ts.map +1 -0
  27. package/icons/animated/Calendar.js +23 -0
  28. package/icons/animated/CheckCircle.d.ts +7 -0
  29. package/icons/animated/CheckCircle.d.ts.map +1 -0
  30. package/icons/animated/CheckCircle.js +36 -0
  31. package/icons/animated/CheckCircleLine.d.ts +7 -0
  32. package/icons/animated/CheckCircleLine.d.ts.map +1 -0
  33. package/icons/animated/CheckCircleLine.js +36 -0
  34. package/icons/animated/Clock.d.ts +7 -0
  35. package/icons/animated/Clock.d.ts.map +1 -0
  36. package/icons/animated/Clock.js +36 -0
  37. package/icons/animated/Desktop.d.ts +7 -0
  38. package/icons/animated/Desktop.d.ts.map +1 -0
  39. package/icons/animated/Desktop.js +34 -0
  40. package/icons/animated/Flag.d.ts +7 -0
  41. package/icons/animated/Flag.d.ts.map +1 -0
  42. package/icons/animated/Flag.js +25 -0
  43. package/icons/animated/FolderUser.d.ts +7 -0
  44. package/icons/animated/FolderUser.d.ts.map +1 -0
  45. package/icons/animated/FolderUser.js +36 -0
  46. package/icons/animated/Folders.d.ts +7 -0
  47. package/icons/animated/Folders.d.ts.map +1 -0
  48. package/icons/animated/Folders.js +36 -0
  49. package/icons/animated/Graph.d.ts +7 -0
  50. package/icons/animated/Graph.d.ts.map +1 -0
  51. package/icons/animated/Graph.js +52 -0
  52. package/icons/animated/Heart.d.ts +7 -0
  53. package/icons/animated/Heart.d.ts.map +1 -0
  54. package/icons/animated/Heart.js +20 -0
  55. package/icons/animated/Home.d.ts +7 -0
  56. package/icons/animated/Home.d.ts.map +1 -0
  57. package/icons/animated/Home.js +36 -0
  58. package/icons/animated/Inbox.d.ts +7 -0
  59. package/icons/animated/Inbox.d.ts.map +1 -0
  60. package/icons/animated/Inbox.js +24 -0
  61. package/icons/animated/MessageHeart.d.ts +7 -0
  62. package/icons/animated/MessageHeart.d.ts.map +1 -0
  63. package/icons/animated/MessageHeart.js +36 -0
  64. package/icons/animated/Money.d.ts +7 -0
  65. package/icons/animated/Money.d.ts.map +1 -0
  66. package/icons/animated/Money.js +66 -0
  67. package/icons/animated/MoneyBag.d.ts +7 -0
  68. package/icons/animated/MoneyBag.d.ts.map +1 -0
  69. package/icons/animated/MoneyBag.js +54 -0
  70. package/icons/animated/PalmTree.d.ts +7 -0
  71. package/icons/animated/PalmTree.d.ts.map +1 -0
  72. package/icons/animated/PalmTree.js +32 -0
  73. package/icons/animated/People.d.ts +7 -0
  74. package/icons/animated/People.d.ts.map +1 -0
  75. package/icons/animated/People.js +34 -0
  76. package/icons/animated/Person.d.ts +7 -0
  77. package/icons/animated/Person.d.ts.map +1 -0
  78. package/icons/animated/Person.js +22 -0
  79. package/icons/animated/Rocket.d.ts +7 -0
  80. package/icons/animated/Rocket.d.ts.map +1 -0
  81. package/icons/animated/Rocket.js +40 -0
  82. package/icons/animated/Schedule.d.ts +7 -0
  83. package/icons/animated/Schedule.d.ts.map +1 -0
  84. package/icons/animated/Schedule.js +36 -0
  85. package/icons/animated/SearchPerson.d.ts +7 -0
  86. package/icons/animated/SearchPerson.d.ts.map +1 -0
  87. package/icons/animated/SearchPerson.js +38 -0
  88. package/icons/animated/Settings.d.ts +7 -0
  89. package/icons/animated/Settings.d.ts.map +1 -0
  90. package/icons/animated/Settings.js +22 -0
  91. package/icons/animated/Sparkles.d.ts +7 -0
  92. package/icons/animated/Sparkles.d.ts.map +1 -0
  93. package/icons/animated/Sparkles.js +40 -0
  94. package/icons/animated/Split.d.ts +7 -0
  95. package/icons/animated/Split.d.ts.map +1 -0
  96. package/icons/animated/Split.js +29 -0
  97. package/icons/animated/Suitcase.d.ts +7 -0
  98. package/icons/animated/Suitcase.d.ts.map +1 -0
  99. package/icons/animated/Suitcase.js +37 -0
  100. package/icons/animated/Timer.d.ts +7 -0
  101. package/icons/animated/Timer.d.ts.map +1 -0
  102. package/icons/animated/Timer.js +22 -0
  103. package/icons/animated/Wallet.d.ts +7 -0
  104. package/icons/animated/Wallet.d.ts.map +1 -0
  105. package/icons/animated/Wallet.js +42 -0
  106. package/icons/animated/index.d.ts +31 -0
  107. package/icons/animated/index.d.ts.map +1 -0
  108. package/icons/animated/index.js +30 -0
  109. package/icons/app/AcademicCap.d.ts +4 -0
  110. package/icons/app/AcademicCap.d.ts.map +1 -0
  111. package/icons/app/AcademicCap.js +5 -0
  112. package/icons/app/Add.d.ts +4 -0
  113. package/icons/app/Add.d.ts.map +1 -0
  114. package/icons/app/Add.js +5 -0
  115. package/icons/app/Ai.d.ts +4 -0
  116. package/icons/app/Ai.d.ts.map +1 -0
  117. package/icons/app/Ai.js +5 -0
  118. package/icons/app/Alert.d.ts +4 -0
  119. package/icons/app/Alert.d.ts.map +1 -0
  120. package/icons/app/Alert.js +5 -0
  121. package/icons/app/AlertCircle.d.ts +4 -0
  122. package/icons/app/AlertCircle.d.ts.map +1 -0
  123. package/icons/app/AlertCircle.js +5 -0
  124. package/icons/app/AlertCircleLine.d.ts +4 -0
  125. package/icons/app/AlertCircleLine.d.ts.map +1 -0
  126. package/icons/app/AlertCircleLine.js +5 -0
  127. package/icons/app/AlignTextCenter.d.ts +4 -0
  128. package/icons/app/AlignTextCenter.d.ts.map +1 -0
  129. package/icons/app/AlignTextCenter.js +5 -0
  130. package/icons/app/AlignTextJustify.d.ts +4 -0
  131. package/icons/app/AlignTextJustify.d.ts.map +1 -0
  132. package/icons/app/AlignTextJustify.js +5 -0
  133. package/icons/app/AlignTextLeft.d.ts +4 -0
  134. package/icons/app/AlignTextLeft.d.ts.map +1 -0
  135. package/icons/app/AlignTextLeft.js +5 -0
  136. package/icons/app/AlignTextRight.d.ts +4 -0
  137. package/icons/app/AlignTextRight.d.ts.map +1 -0
  138. package/icons/app/AlignTextRight.js +5 -0
  139. package/icons/app/Appearance.d.ts +4 -0
  140. package/icons/app/Appearance.d.ts.map +1 -0
  141. package/icons/app/Appearance.js +5 -0
  142. package/icons/app/Archive.d.ts +4 -0
  143. package/icons/app/Archive.d.ts.map +1 -0
  144. package/icons/app/Archive.js +5 -0
  145. package/icons/app/ArchiveOpen.d.ts +4 -0
  146. package/icons/app/ArchiveOpen.d.ts.map +1 -0
  147. package/icons/app/ArchiveOpen.js +5 -0
  148. package/icons/app/ArrowCycle.d.ts +4 -0
  149. package/icons/app/ArrowCycle.d.ts.map +1 -0
  150. package/icons/app/ArrowCycle.js +5 -0
  151. package/icons/app/ArrowDown.d.ts +4 -0
  152. package/icons/app/ArrowDown.d.ts.map +1 -0
  153. package/icons/app/ArrowDown.js +5 -0
  154. package/icons/app/ArrowLeft.d.ts +4 -0
  155. package/icons/app/ArrowLeft.d.ts.map +1 -0
  156. package/icons/app/ArrowLeft.js +5 -0
  157. package/icons/app/ArrowRight.d.ts +4 -0
  158. package/icons/app/ArrowRight.d.ts.map +1 -0
  159. package/icons/app/ArrowRight.js +5 -0
  160. package/icons/app/ArrowUp.d.ts +4 -0
  161. package/icons/app/ArrowUp.d.ts.map +1 -0
  162. package/icons/app/ArrowUp.js +5 -0
  163. package/icons/app/Ascending.d.ts +4 -0
  164. package/icons/app/Ascending.d.ts.map +1 -0
  165. package/icons/app/Ascending.js +5 -0
  166. package/icons/app/Balance.d.ts +4 -0
  167. package/icons/app/Balance.d.ts.map +1 -0
  168. package/icons/app/Balance.js +5 -0
  169. package/icons/app/Bank.d.ts +4 -0
  170. package/icons/app/Bank.d.ts.map +1 -0
  171. package/icons/app/Bank.js +5 -0
  172. package/icons/app/BarGraph.d.ts +4 -0
  173. package/icons/app/BarGraph.d.ts.map +1 -0
  174. package/icons/app/BarGraph.js +5 -0
  175. package/icons/app/Bell.d.ts +4 -0
  176. package/icons/app/Bell.d.ts.map +1 -0
  177. package/icons/app/Bell.js +5 -0
  178. package/icons/app/Bold.d.ts +4 -0
  179. package/icons/app/Bold.d.ts.map +1 -0
  180. package/icons/app/Bold.js +5 -0
  181. package/icons/app/BookOpen.d.ts +4 -0
  182. package/icons/app/BookOpen.d.ts.map +1 -0
  183. package/icons/app/BookOpen.js +5 -0
  184. package/icons/app/Briefcase.d.ts +4 -0
  185. package/icons/app/Briefcase.d.ts.map +1 -0
  186. package/icons/app/Briefcase.js +5 -0
  187. package/icons/app/Bucket.d.ts +4 -0
  188. package/icons/app/Bucket.d.ts.map +1 -0
  189. package/icons/app/Bucket.js +5 -0
  190. package/icons/app/Building.d.ts +4 -0
  191. package/icons/app/Building.d.ts.map +1 -0
  192. package/icons/app/Building.js +5 -0
  193. package/icons/app/Bullet.d.ts +4 -0
  194. package/icons/app/Bullet.d.ts.map +1 -0
  195. package/icons/app/Bullet.js +5 -0
  196. package/icons/app/Calculator.d.ts +4 -0
  197. package/icons/app/Calculator.d.ts.map +1 -0
  198. package/icons/app/Calculator.js +5 -0
  199. package/icons/app/Calendar.d.ts +4 -0
  200. package/icons/app/Calendar.d.ts.map +1 -0
  201. package/icons/app/Calendar.js +5 -0
  202. package/icons/app/CalendarArrowDown.d.ts +4 -0
  203. package/icons/app/CalendarArrowDown.d.ts.map +1 -0
  204. package/icons/app/CalendarArrowDown.js +5 -0
  205. package/icons/app/CalendarArrowLeft.d.ts +4 -0
  206. package/icons/app/CalendarArrowLeft.d.ts.map +1 -0
  207. package/icons/app/CalendarArrowLeft.js +5 -0
  208. package/icons/app/CalendarArrowRight.d.ts +4 -0
  209. package/icons/app/CalendarArrowRight.d.ts.map +1 -0
  210. package/icons/app/CalendarArrowRight.js +5 -0
  211. package/icons/app/CameraPlus.d.ts +4 -0
  212. package/icons/app/CameraPlus.d.ts.map +1 -0
  213. package/icons/app/CameraPlus.js +5 -0
  214. package/icons/app/CardPin.d.ts +4 -0
  215. package/icons/app/CardPin.d.ts.map +1 -0
  216. package/icons/app/CardPin.js +5 -0
  217. package/icons/app/ChartLine.d.ts +4 -0
  218. package/icons/app/ChartLine.d.ts.map +1 -0
  219. package/icons/app/ChartLine.js +5 -0
  220. package/icons/app/ChartPie.d.ts +4 -0
  221. package/icons/app/ChartPie.d.ts.map +1 -0
  222. package/icons/app/ChartPie.js +5 -0
  223. package/icons/app/Check.d.ts +4 -0
  224. package/icons/app/Check.d.ts.map +1 -0
  225. package/icons/app/Check.js +5 -0
  226. package/icons/app/CheckCircle.d.ts +4 -0
  227. package/icons/app/CheckCircle.d.ts.map +1 -0
  228. package/icons/app/CheckCircle.js +5 -0
  229. package/icons/app/CheckCircleLine.d.ts +4 -0
  230. package/icons/app/CheckCircleLine.d.ts.map +1 -0
  231. package/icons/app/CheckCircleLine.js +5 -0
  232. package/icons/app/CheckDouble.d.ts +4 -0
  233. package/icons/app/CheckDouble.d.ts.map +1 -0
  234. package/icons/app/CheckDouble.js +5 -0
  235. package/icons/app/ChevronDown.d.ts +4 -0
  236. package/icons/app/ChevronDown.d.ts.map +1 -0
  237. package/icons/app/ChevronDown.js +5 -0
  238. package/icons/app/ChevronLeft.d.ts +4 -0
  239. package/icons/app/ChevronLeft.d.ts.map +1 -0
  240. package/icons/app/ChevronLeft.js +5 -0
  241. package/icons/app/ChevronRight.d.ts +4 -0
  242. package/icons/app/ChevronRight.d.ts.map +1 -0
  243. package/icons/app/ChevronRight.js +5 -0
  244. package/icons/app/ChevronUp.d.ts +4 -0
  245. package/icons/app/ChevronUp.d.ts.map +1 -0
  246. package/icons/app/ChevronUp.js +5 -0
  247. package/icons/app/Chip.d.ts +4 -0
  248. package/icons/app/Chip.d.ts.map +1 -0
  249. package/icons/app/Chip.js +5 -0
  250. package/icons/app/Circle.d.ts +4 -0
  251. package/icons/app/Circle.d.ts.map +1 -0
  252. package/icons/app/Circle.js +5 -0
  253. package/icons/app/Clock.d.ts +4 -0
  254. package/icons/app/Clock.d.ts.map +1 -0
  255. package/icons/app/Clock.js +5 -0
  256. package/icons/app/ClockBack.d.ts +4 -0
  257. package/icons/app/ClockBack.d.ts.map +1 -0
  258. package/icons/app/ClockBack.js +5 -0
  259. package/icons/app/Cloud.d.ts +4 -0
  260. package/icons/app/Cloud.d.ts.map +1 -0
  261. package/icons/app/Cloud.js +5 -0
  262. package/icons/app/Code.d.ts +4 -0
  263. package/icons/app/Code.d.ts.map +1 -0
  264. package/icons/app/Code.js +5 -0
  265. package/icons/app/Coffee.d.ts +4 -0
  266. package/icons/app/Coffee.d.ts.map +1 -0
  267. package/icons/app/Coffee.js +5 -0
  268. package/icons/app/Command.d.ts +4 -0
  269. package/icons/app/Command.d.ts.map +1 -0
  270. package/icons/app/Command.js +5 -0
  271. package/icons/app/Comment.d.ts +4 -0
  272. package/icons/app/Comment.d.ts.map +1 -0
  273. package/icons/app/Comment.js +5 -0
  274. package/icons/app/Completed.d.ts +4 -0
  275. package/icons/app/Completed.d.ts.map +1 -0
  276. package/icons/app/Completed.js +5 -0
  277. package/icons/app/Contactless.d.ts +4 -0
  278. package/icons/app/Contactless.d.ts.map +1 -0
  279. package/icons/app/Contactless.js +5 -0
  280. package/icons/app/CornerHandle.d.ts +4 -0
  281. package/icons/app/CornerHandle.d.ts.map +1 -0
  282. package/icons/app/CornerHandle.js +5 -0
  283. package/icons/app/CreditCard.d.ts +4 -0
  284. package/icons/app/CreditCard.d.ts.map +1 -0
  285. package/icons/app/CreditCard.js +5 -0
  286. package/icons/app/Cross.d.ts +4 -0
  287. package/icons/app/Cross.d.ts.map +1 -0
  288. package/icons/app/Cross.js +5 -0
  289. package/icons/app/CrossedCircle.d.ts +4 -0
  290. package/icons/app/CrossedCircle.d.ts.map +1 -0
  291. package/icons/app/CrossedCircle.js +5 -0
  292. package/icons/app/Crown.d.ts +4 -0
  293. package/icons/app/Crown.d.ts.map +1 -0
  294. package/icons/app/Crown.js +5 -0
  295. package/icons/app/Delete.d.ts +4 -0
  296. package/icons/app/Delete.d.ts.map +1 -0
  297. package/icons/app/Delete.js +5 -0
  298. package/icons/app/Deny.d.ts +4 -0
  299. package/icons/app/Deny.d.ts.map +1 -0
  300. package/icons/app/Deny.js +5 -0
  301. package/icons/app/Descending.d.ts +4 -0
  302. package/icons/app/Descending.d.ts.map +1 -0
  303. package/icons/app/Descending.js +5 -0
  304. package/icons/app/Desktop.d.ts +4 -0
  305. package/icons/app/Desktop.d.ts.map +1 -0
  306. package/icons/app/Desktop.js +5 -0
  307. package/icons/app/DollarBill.d.ts +4 -0
  308. package/icons/app/DollarBill.d.ts.map +1 -0
  309. package/icons/app/DollarBill.js +5 -0
  310. package/icons/app/DottedCircle.d.ts +4 -0
  311. package/icons/app/DottedCircle.d.ts.map +1 -0
  312. package/icons/app/DottedCircle.js +5 -0
  313. package/icons/app/Download.d.ts +4 -0
  314. package/icons/app/Download.d.ts.map +1 -0
  315. package/icons/app/Download.js +5 -0
  316. package/icons/app/DropdownDefault.d.ts +4 -0
  317. package/icons/app/DropdownDefault.d.ts.map +1 -0
  318. package/icons/app/DropdownDefault.js +5 -0
  319. package/icons/app/DropdownOpen.d.ts +4 -0
  320. package/icons/app/DropdownOpen.d.ts.map +1 -0
  321. package/icons/app/DropdownOpen.js +5 -0
  322. package/icons/app/Ellipsis.d.ts +4 -0
  323. package/icons/app/Ellipsis.d.ts.map +1 -0
  324. package/icons/app/Ellipsis.js +5 -0
  325. package/icons/app/EllipsisHorizontal.d.ts +4 -0
  326. package/icons/app/EllipsisHorizontal.d.ts.map +1 -0
  327. package/icons/app/EllipsisHorizontal.js +5 -0
  328. package/icons/app/Envelope.d.ts +4 -0
  329. package/icons/app/Envelope.d.ts.map +1 -0
  330. package/icons/app/Envelope.js +5 -0
  331. package/icons/app/EnvelopeOpen.d.ts +4 -0
  332. package/icons/app/EnvelopeOpen.d.ts.map +1 -0
  333. package/icons/app/EnvelopeOpen.js +5 -0
  334. package/icons/app/Equal.d.ts +4 -0
  335. package/icons/app/Equal.d.ts.map +1 -0
  336. package/icons/app/Equal.js +5 -0
  337. package/icons/app/Exit.d.ts +4 -0
  338. package/icons/app/Exit.d.ts.map +1 -0
  339. package/icons/app/Exit.js +5 -0
  340. package/icons/app/ExternalLink.d.ts +4 -0
  341. package/icons/app/ExternalLink.d.ts.map +1 -0
  342. package/icons/app/ExternalLink.js +5 -0
  343. package/icons/app/EyeInvisible.d.ts +4 -0
  344. package/icons/app/EyeInvisible.d.ts.map +1 -0
  345. package/icons/app/EyeInvisible.js +5 -0
  346. package/icons/app/EyeVisible.d.ts +4 -0
  347. package/icons/app/EyeVisible.d.ts.map +1 -0
  348. package/icons/app/EyeVisible.js +5 -0
  349. package/icons/app/FaceNegative.d.ts +4 -0
  350. package/icons/app/FaceNegative.d.ts.map +1 -0
  351. package/icons/app/FaceNegative.js +5 -0
  352. package/icons/app/FaceNeutral.d.ts +4 -0
  353. package/icons/app/FaceNeutral.d.ts.map +1 -0
  354. package/icons/app/FaceNeutral.js +5 -0
  355. package/icons/app/FacePositive.d.ts +4 -0
  356. package/icons/app/FacePositive.d.ts.map +1 -0
  357. package/icons/app/FacePositive.js +5 -0
  358. package/icons/app/FaceSuperNegative.d.ts +4 -0
  359. package/icons/app/FaceSuperNegative.d.ts.map +1 -0
  360. package/icons/app/FaceSuperNegative.js +5 -0
  361. package/icons/app/FaceSuperPositive.d.ts +4 -0
  362. package/icons/app/FaceSuperPositive.d.ts.map +1 -0
  363. package/icons/app/FaceSuperPositive.js +5 -0
  364. package/icons/app/Feed.d.ts +4 -0
  365. package/icons/app/Feed.d.ts.map +1 -0
  366. package/icons/app/Feed.js +5 -0
  367. package/icons/app/File.d.ts +4 -0
  368. package/icons/app/File.d.ts.map +1 -0
  369. package/icons/app/File.js +5 -0
  370. package/icons/app/FileFilled.d.ts +4 -0
  371. package/icons/app/FileFilled.d.ts.map +1 -0
  372. package/icons/app/FileFilled.js +5 -0
  373. package/icons/app/FileSigned.d.ts +4 -0
  374. package/icons/app/FileSigned.d.ts.map +1 -0
  375. package/icons/app/FileSigned.js +5 -0
  376. package/icons/app/Files.d.ts +4 -0
  377. package/icons/app/Files.d.ts.map +1 -0
  378. package/icons/app/Files.js +5 -0
  379. package/icons/app/Filter.d.ts +4 -0
  380. package/icons/app/Filter.d.ts.map +1 -0
  381. package/icons/app/Filter.js +5 -0
  382. package/icons/app/Flag.d.ts +4 -0
  383. package/icons/app/Flag.d.ts.map +1 -0
  384. package/icons/app/Flag.js +5 -0
  385. package/icons/app/Folder.d.ts +4 -0
  386. package/icons/app/Folder.d.ts.map +1 -0
  387. package/icons/app/Folder.js +5 -0
  388. package/icons/app/Folders.d.ts +4 -0
  389. package/icons/app/Folders.d.ts.map +1 -0
  390. package/icons/app/Folders.js +5 -0
  391. package/icons/app/Globe.d.ts +4 -0
  392. package/icons/app/Globe.d.ts.map +1 -0
  393. package/icons/app/Globe.js +5 -0
  394. package/icons/app/Graph.d.ts +4 -0
  395. package/icons/app/Graph.d.ts.map +1 -0
  396. package/icons/app/Graph.js +5 -0
  397. package/icons/app/GroupBy.d.ts +4 -0
  398. package/icons/app/GroupBy.d.ts.map +1 -0
  399. package/icons/app/GroupBy.js +5 -0
  400. package/icons/app/Handle.d.ts +4 -0
  401. package/icons/app/Handle.d.ts.map +1 -0
  402. package/icons/app/Handle.js +5 -0
  403. package/icons/app/Handshake.d.ts +4 -0
  404. package/icons/app/Handshake.d.ts.map +1 -0
  405. package/icons/app/Handshake.js +5 -0
  406. package/icons/app/HardDrive.d.ts +4 -0
  407. package/icons/app/HardDrive.d.ts.map +1 -0
  408. package/icons/app/HardDrive.js +5 -0
  409. package/icons/app/Heading1.d.ts +4 -0
  410. package/icons/app/Heading1.d.ts.map +1 -0
  411. package/icons/app/Heading1.js +5 -0
  412. package/icons/app/Heading2.d.ts +4 -0
  413. package/icons/app/Heading2.d.ts.map +1 -0
  414. package/icons/app/Heading2.js +5 -0
  415. package/icons/app/Heading3.d.ts +4 -0
  416. package/icons/app/Heading3.d.ts.map +1 -0
  417. package/icons/app/Heading3.js +5 -0
  418. package/icons/app/Headset.d.ts +4 -0
  419. package/icons/app/Headset.d.ts.map +1 -0
  420. package/icons/app/Headset.js +5 -0
  421. package/icons/app/Heart.d.ts +4 -0
  422. package/icons/app/Heart.d.ts.map +1 -0
  423. package/icons/app/Heart.js +5 -0
  424. package/icons/app/HoldHeart.d.ts +4 -0
  425. package/icons/app/HoldHeart.d.ts.map +1 -0
  426. package/icons/app/HoldHeart.js +5 -0
  427. package/icons/app/Home.d.ts +4 -0
  428. package/icons/app/Home.d.ts.map +1 -0
  429. package/icons/app/Home.js +5 -0
  430. package/icons/app/Hub.d.ts +4 -0
  431. package/icons/app/Hub.d.ts.map +1 -0
  432. package/icons/app/Hub.js +5 -0
  433. package/icons/app/Image.d.ts +4 -0
  434. package/icons/app/Image.d.ts.map +1 -0
  435. package/icons/app/Image.js +5 -0
  436. package/icons/app/InProgressTask.d.ts +4 -0
  437. package/icons/app/InProgressTask.d.ts.map +1 -0
  438. package/icons/app/InProgressTask.js +5 -0
  439. package/icons/app/Inbox.d.ts +4 -0
  440. package/icons/app/Inbox.d.ts.map +1 -0
  441. package/icons/app/Inbox.js +5 -0
  442. package/icons/app/Info.d.ts +4 -0
  443. package/icons/app/Info.d.ts.map +1 -0
  444. package/icons/app/Info.js +5 -0
  445. package/icons/app/InfoCircle.d.ts +4 -0
  446. package/icons/app/InfoCircle.d.ts.map +1 -0
  447. package/icons/app/InfoCircle.js +5 -0
  448. package/icons/app/InfoCircleLine.d.ts +4 -0
  449. package/icons/app/InfoCircleLine.d.ts.map +1 -0
  450. package/icons/app/InfoCircleLine.js +5 -0
  451. package/icons/app/InputField.d.ts +4 -0
  452. package/icons/app/InputField.d.ts.map +1 -0
  453. package/icons/app/InputField.js +5 -0
  454. package/icons/app/Italic.d.ts +4 -0
  455. package/icons/app/Italic.d.ts.map +1 -0
  456. package/icons/app/Italic.js +5 -0
  457. package/icons/app/Kanban.d.ts +4 -0
  458. package/icons/app/Kanban.d.ts.map +1 -0
  459. package/icons/app/Kanban.js +5 -0
  460. package/icons/app/Keyboard.d.ts +4 -0
  461. package/icons/app/Keyboard.d.ts.map +1 -0
  462. package/icons/app/Keyboard.js +5 -0
  463. package/icons/app/Laptop.d.ts +4 -0
  464. package/icons/app/Laptop.d.ts.map +1 -0
  465. package/icons/app/Laptop.js +5 -0
  466. package/icons/app/LayersFront.d.ts +4 -0
  467. package/icons/app/LayersFront.d.ts.map +1 -0
  468. package/icons/app/LayersFront.js +5 -0
  469. package/icons/app/Lightbulb.d.ts +4 -0
  470. package/icons/app/Lightbulb.d.ts.map +1 -0
  471. package/icons/app/Lightbulb.js +5 -0
  472. package/icons/app/Link.d.ts +4 -0
  473. package/icons/app/Link.d.ts.map +1 -0
  474. package/icons/app/Link.js +5 -0
  475. package/icons/app/LinkRemove.d.ts +4 -0
  476. package/icons/app/LinkRemove.d.ts.map +1 -0
  477. package/icons/app/LinkRemove.js +5 -0
  478. package/icons/app/List.d.ts +4 -0
  479. package/icons/app/List.d.ts.map +1 -0
  480. package/icons/app/List.js +5 -0
  481. package/icons/app/LockLocked.d.ts +4 -0
  482. package/icons/app/LockLocked.d.ts.map +1 -0
  483. package/icons/app/LockLocked.js +5 -0
  484. package/icons/app/LockUnlocked.d.ts +4 -0
  485. package/icons/app/LockUnlocked.d.ts.map +1 -0
  486. package/icons/app/LockUnlocked.js +5 -0
  487. package/icons/app/LogoAvatar.d.ts +4 -0
  488. package/icons/app/LogoAvatar.d.ts.map +1 -0
  489. package/icons/app/LogoAvatar.js +5 -0
  490. package/icons/app/LogoEruditai.d.ts +4 -0
  491. package/icons/app/LogoEruditai.d.ts.map +1 -0
  492. package/icons/app/LogoEruditai.js +5 -0
  493. package/icons/app/LogoTravelperk.d.ts +4 -0
  494. package/icons/app/LogoTravelperk.d.ts.map +1 -0
  495. package/icons/app/LogoTravelperk.js +5 -0
  496. package/icons/app/Masonry.d.ts +4 -0
  497. package/icons/app/Masonry.d.ts.map +1 -0
  498. package/icons/app/Masonry.js +5 -0
  499. package/icons/app/Maximize.d.ts +4 -0
  500. package/icons/app/Maximize.d.ts.map +1 -0
  501. package/icons/app/Maximize.js +5 -0
  502. package/icons/app/Megaphone.d.ts +4 -0
  503. package/icons/app/Megaphone.d.ts.map +1 -0
  504. package/icons/app/Megaphone.js +5 -0
  505. package/icons/app/Menu.d.ts +4 -0
  506. package/icons/app/Menu.d.ts.map +1 -0
  507. package/icons/app/Menu.js +5 -0
  508. package/icons/app/MessageFilled.d.ts +4 -0
  509. package/icons/app/MessageFilled.d.ts.map +1 -0
  510. package/icons/app/MessageFilled.js +5 -0
  511. package/icons/app/MessageFrown.d.ts +4 -0
  512. package/icons/app/MessageFrown.d.ts.map +1 -0
  513. package/icons/app/MessageFrown.js +5 -0
  514. package/icons/app/MessageHeart.d.ts +4 -0
  515. package/icons/app/MessageHeart.d.ts.map +1 -0
  516. package/icons/app/MessageHeart.js +5 -0
  517. package/icons/app/Messages.d.ts +4 -0
  518. package/icons/app/Messages.d.ts.map +1 -0
  519. package/icons/app/Messages.js +5 -0
  520. package/icons/app/Microphone.d.ts +4 -0
  521. package/icons/app/Microphone.d.ts.map +1 -0
  522. package/icons/app/Microphone.js +5 -0
  523. package/icons/app/MicrophoneNegative.d.ts +4 -0
  524. package/icons/app/MicrophoneNegative.d.ts.map +1 -0
  525. package/icons/app/MicrophoneNegative.js +5 -0
  526. package/icons/app/Minimize.d.ts +4 -0
  527. package/icons/app/Minimize.d.ts.map +1 -0
  528. package/icons/app/Minimize.js +5 -0
  529. package/icons/app/Minus.d.ts +4 -0
  530. package/icons/app/Minus.d.ts.map +1 -0
  531. package/icons/app/Minus.js +5 -0
  532. package/icons/app/Mobile.d.ts +4 -0
  533. package/icons/app/Mobile.d.ts.map +1 -0
  534. package/icons/app/Mobile.js +5 -0
  535. package/icons/app/Money.d.ts +4 -0
  536. package/icons/app/Money.d.ts.map +1 -0
  537. package/icons/app/Money.js +5 -0
  538. package/icons/app/MoneyBag.d.ts +4 -0
  539. package/icons/app/MoneyBag.d.ts.map +1 -0
  540. package/icons/app/MoneyBag.js +5 -0
  541. package/icons/app/Moon.d.ts +4 -0
  542. package/icons/app/Moon.d.ts.map +1 -0
  543. package/icons/app/Moon.js +5 -0
  544. package/icons/app/Mouse.d.ts +4 -0
  545. package/icons/app/Mouse.d.ts.map +1 -0
  546. package/icons/app/Mouse.js +5 -0
  547. package/icons/app/MoveDown.d.ts +4 -0
  548. package/icons/app/MoveDown.d.ts.map +1 -0
  549. package/icons/app/MoveDown.js +5 -0
  550. package/icons/app/MoveTop.d.ts +4 -0
  551. package/icons/app/MoveTop.d.ts.map +1 -0
  552. package/icons/app/MoveTop.js +5 -0
  553. package/icons/app/MoveUp.d.ts +4 -0
  554. package/icons/app/MoveUp.d.ts.map +1 -0
  555. package/icons/app/MoveUp.js +5 -0
  556. package/icons/app/Numbers.d.ts +4 -0
  557. package/icons/app/Numbers.d.ts.map +1 -0
  558. package/icons/app/Numbers.js +5 -0
  559. package/icons/app/Office.d.ts +4 -0
  560. package/icons/app/Office.d.ts.map +1 -0
  561. package/icons/app/Office.js +5 -0
  562. package/icons/app/OlList.d.ts +4 -0
  563. package/icons/app/OlList.d.ts.map +1 -0
  564. package/icons/app/OlList.js +5 -0
  565. package/icons/app/Organization.d.ts +4 -0
  566. package/icons/app/Organization.d.ts.map +1 -0
  567. package/icons/app/Organization.js +5 -0
  568. package/icons/app/PalmTree.d.ts +4 -0
  569. package/icons/app/PalmTree.d.ts.map +1 -0
  570. package/icons/app/PalmTree.js +5 -0
  571. package/icons/app/Paperclip.d.ts +4 -0
  572. package/icons/app/Paperclip.d.ts.map +1 -0
  573. package/icons/app/Paperclip.js +5 -0
  574. package/icons/app/PartiallyCompleted.d.ts +4 -0
  575. package/icons/app/PartiallyCompleted.d.ts.map +1 -0
  576. package/icons/app/PartiallyCompleted.js +5 -0
  577. package/icons/app/Password.d.ts +4 -0
  578. package/icons/app/Password.d.ts.map +1 -0
  579. package/icons/app/Password.js +5 -0
  580. package/icons/app/PauseCircle.d.ts +4 -0
  581. package/icons/app/PauseCircle.d.ts.map +1 -0
  582. package/icons/app/PauseCircle.js +5 -0
  583. package/icons/app/Pencil.d.ts +4 -0
  584. package/icons/app/Pencil.d.ts.map +1 -0
  585. package/icons/app/Pencil.js +5 -0
  586. package/icons/app/People.d.ts +4 -0
  587. package/icons/app/People.d.ts.map +1 -0
  588. package/icons/app/People.js +5 -0
  589. package/icons/app/Person.d.ts +4 -0
  590. package/icons/app/Person.d.ts.map +1 -0
  591. package/icons/app/Person.js +5 -0
  592. package/icons/app/PersonMinus.d.ts +4 -0
  593. package/icons/app/PersonMinus.d.ts.map +1 -0
  594. package/icons/app/PersonMinus.js +5 -0
  595. package/icons/app/PersonPlus.d.ts +4 -0
  596. package/icons/app/PersonPlus.d.ts.map +1 -0
  597. package/icons/app/PersonPlus.js +5 -0
  598. package/icons/app/Phone.d.ts +4 -0
  599. package/icons/app/Phone.d.ts.map +1 -0
  600. package/icons/app/Phone.js +5 -0
  601. package/icons/app/Pig.d.ts +4 -0
  602. package/icons/app/Pig.d.ts.map +1 -0
  603. package/icons/app/Pig.js +5 -0
  604. package/icons/app/Pin.d.ts +4 -0
  605. package/icons/app/Pin.d.ts.map +1 -0
  606. package/icons/app/Pin.js +5 -0
  607. package/icons/app/PixBrazil.d.ts +4 -0
  608. package/icons/app/PixBrazil.d.ts.map +1 -0
  609. package/icons/app/PixBrazil.js +5 -0
  610. package/icons/app/Placeholder.d.ts +4 -0
  611. package/icons/app/Placeholder.d.ts.map +1 -0
  612. package/icons/app/Placeholder.js +5 -0
  613. package/icons/app/Plane.d.ts +4 -0
  614. package/icons/app/Plane.d.ts.map +1 -0
  615. package/icons/app/Plane.js +5 -0
  616. package/icons/app/Plus.d.ts +4 -0
  617. package/icons/app/Plus.d.ts.map +1 -0
  618. package/icons/app/Plus.js +5 -0
  619. package/icons/app/Present.d.ts +4 -0
  620. package/icons/app/Present.d.ts.map +1 -0
  621. package/icons/app/Present.js +5 -0
  622. package/icons/app/Printer.d.ts +4 -0
  623. package/icons/app/Printer.d.ts.map +1 -0
  624. package/icons/app/Printer.js +5 -0
  625. package/icons/app/Proyector.d.ts +4 -0
  626. package/icons/app/Proyector.d.ts.map +1 -0
  627. package/icons/app/Proyector.js +5 -0
  628. package/icons/app/Question.d.ts +4 -0
  629. package/icons/app/Question.d.ts.map +1 -0
  630. package/icons/app/Question.js +5 -0
  631. package/icons/app/Quote.d.ts +4 -0
  632. package/icons/app/Quote.d.ts.map +1 -0
  633. package/icons/app/Quote.js +5 -0
  634. package/icons/app/Reaction.d.ts +4 -0
  635. package/icons/app/Reaction.d.ts.map +1 -0
  636. package/icons/app/Reaction.js +5 -0
  637. package/icons/app/Receipt.d.ts +4 -0
  638. package/icons/app/Receipt.d.ts.map +1 -0
  639. package/icons/app/Receipt.js +5 -0
  640. package/icons/app/Record.d.ts +4 -0
  641. package/icons/app/Record.d.ts.map +1 -0
  642. package/icons/app/Record.js +5 -0
  643. package/icons/app/RemoveFavorite.d.ts +4 -0
  644. package/icons/app/RemoveFavorite.d.ts.map +1 -0
  645. package/icons/app/RemoveFavorite.js +5 -0
  646. package/icons/app/Replace.d.ts +4 -0
  647. package/icons/app/Replace.d.ts.map +1 -0
  648. package/icons/app/Replace.js +5 -0
  649. package/icons/app/Reset.d.ts +4 -0
  650. package/icons/app/Reset.d.ts.map +1 -0
  651. package/icons/app/Reset.js +5 -0
  652. package/icons/app/Rocket.d.ts +4 -0
  653. package/icons/app/Rocket.d.ts.map +1 -0
  654. package/icons/app/Rocket.js +5 -0
  655. package/icons/app/Salad.d.ts +4 -0
  656. package/icons/app/Salad.d.ts.map +1 -0
  657. package/icons/app/Salad.js +5 -0
  658. package/icons/app/Save.d.ts +4 -0
  659. package/icons/app/Save.d.ts.map +1 -0
  660. package/icons/app/Save.js +5 -0
  661. package/icons/app/Schedule.d.ts +4 -0
  662. package/icons/app/Schedule.d.ts.map +1 -0
  663. package/icons/app/Schedule.js +5 -0
  664. package/icons/app/Search.d.ts +4 -0
  665. package/icons/app/Search.d.ts.map +1 -0
  666. package/icons/app/Search.js +5 -0
  667. package/icons/app/SearchPerson.d.ts +4 -0
  668. package/icons/app/SearchPerson.d.ts.map +1 -0
  669. package/icons/app/SearchPerson.js +5 -0
  670. package/icons/app/Settings.d.ts +4 -0
  671. package/icons/app/Settings.d.ts.map +1 -0
  672. package/icons/app/Settings.js +5 -0
  673. package/icons/app/Share.d.ts +4 -0
  674. package/icons/app/Share.d.ts.map +1 -0
  675. package/icons/app/Share.js +5 -0
  676. package/icons/app/SignPost.d.ts +4 -0
  677. package/icons/app/SignPost.d.ts.map +1 -0
  678. package/icons/app/SignPost.js +5 -0
  679. package/icons/app/Sliders.d.ts +4 -0
  680. package/icons/app/Sliders.d.ts.map +1 -0
  681. package/icons/app/Sliders.js +5 -0
  682. package/icons/app/SolidPause.d.ts +4 -0
  683. package/icons/app/SolidPause.d.ts.map +1 -0
  684. package/icons/app/SolidPause.js +5 -0
  685. package/icons/app/SolidPlay.d.ts +4 -0
  686. package/icons/app/SolidPlay.d.ts.map +1 -0
  687. package/icons/app/SolidPlay.js +5 -0
  688. package/icons/app/SolidStop.d.ts +4 -0
  689. package/icons/app/SolidStop.d.ts.map +1 -0
  690. package/icons/app/SolidStop.js +5 -0
  691. package/icons/app/Sort.d.ts +4 -0
  692. package/icons/app/Sort.d.ts.map +1 -0
  693. package/icons/app/Sort.js +5 -0
  694. package/icons/app/Sparkles.d.ts +4 -0
  695. package/icons/app/Sparkles.d.ts.map +1 -0
  696. package/icons/app/Sparkles.js +5 -0
  697. package/icons/app/Spinner.d.ts +4 -0
  698. package/icons/app/Spinner.d.ts.map +1 -0
  699. package/icons/app/Spinner.js +5 -0
  700. package/icons/app/Split.d.ts +4 -0
  701. package/icons/app/Split.d.ts.map +1 -0
  702. package/icons/app/Split.js +5 -0
  703. package/icons/app/Star.d.ts +4 -0
  704. package/icons/app/Star.d.ts.map +1 -0
  705. package/icons/app/Star.js +5 -0
  706. package/icons/app/StarFilled.d.ts +4 -0
  707. package/icons/app/StarFilled.d.ts.map +1 -0
  708. package/icons/app/StarFilled.js +5 -0
  709. package/icons/app/Strikethrough.d.ts +4 -0
  710. package/icons/app/Strikethrough.d.ts.map +1 -0
  711. package/icons/app/Strikethrough.js +5 -0
  712. package/icons/app/Suitcase.d.ts +4 -0
  713. package/icons/app/Suitcase.d.ts.map +1 -0
  714. package/icons/app/Suitcase.js +5 -0
  715. package/icons/app/Table.d.ts +4 -0
  716. package/icons/app/Table.d.ts.map +1 -0
  717. package/icons/app/Table.js +5 -0
  718. package/icons/app/Target.d.ts +4 -0
  719. package/icons/app/Target.d.ts.map +1 -0
  720. package/icons/app/Target.js +5 -0
  721. package/icons/app/TextSize.d.ts +4 -0
  722. package/icons/app/TextSize.d.ts.map +1 -0
  723. package/icons/app/TextSize.js +5 -0
  724. package/icons/app/ThumbsDown.d.ts +4 -0
  725. package/icons/app/ThumbsDown.d.ts.map +1 -0
  726. package/icons/app/ThumbsDown.js +5 -0
  727. package/icons/app/ThumbsDownFilled.d.ts +4 -0
  728. package/icons/app/ThumbsDownFilled.d.ts.map +1 -0
  729. package/icons/app/ThumbsDownFilled.js +5 -0
  730. package/icons/app/ThumbsUp.d.ts +4 -0
  731. package/icons/app/ThumbsUp.d.ts.map +1 -0
  732. package/icons/app/ThumbsUp.js +5 -0
  733. package/icons/app/ThumbsUpFilled.d.ts +4 -0
  734. package/icons/app/ThumbsUpFilled.d.ts.map +1 -0
  735. package/icons/app/ThumbsUpFilled.js +5 -0
  736. package/icons/app/Timer.d.ts +4 -0
  737. package/icons/app/Timer.d.ts.map +1 -0
  738. package/icons/app/Timer.js +5 -0
  739. package/icons/app/Underline.d.ts +4 -0
  740. package/icons/app/Underline.d.ts.map +1 -0
  741. package/icons/app/Underline.js +5 -0
  742. package/icons/app/Upload.d.ts +4 -0
  743. package/icons/app/Upload.d.ts.map +1 -0
  744. package/icons/app/Upload.js +5 -0
  745. package/icons/app/Upsell.d.ts +4 -0
  746. package/icons/app/Upsell.d.ts.map +1 -0
  747. package/icons/app/Upsell.js +5 -0
  748. package/icons/app/Video.d.ts +4 -0
  749. package/icons/app/Video.d.ts.map +1 -0
  750. package/icons/app/Video.js +5 -0
  751. package/icons/app/VideoRecorder.d.ts +4 -0
  752. package/icons/app/VideoRecorder.d.ts.map +1 -0
  753. package/icons/app/VideoRecorder.js +5 -0
  754. package/icons/app/VideoRecorderNegative.d.ts +4 -0
  755. package/icons/app/VideoRecorderNegative.d.ts.map +1 -0
  756. package/icons/app/VideoRecorderNegative.js +5 -0
  757. package/icons/app/Wallet.d.ts +4 -0
  758. package/icons/app/Wallet.d.ts.map +1 -0
  759. package/icons/app/Wallet.js +5 -0
  760. package/icons/app/Warning.d.ts +4 -0
  761. package/icons/app/Warning.d.ts.map +1 -0
  762. package/icons/app/Warning.js +5 -0
  763. package/icons/app/WhatsappChat.d.ts +4 -0
  764. package/icons/app/WhatsappChat.d.ts.map +1 -0
  765. package/icons/app/WhatsappChat.js +5 -0
  766. package/icons/app/Windows.d.ts +4 -0
  767. package/icons/app/Windows.d.ts.map +1 -0
  768. package/icons/app/Windows.js +5 -0
  769. package/icons/app/index.d.ts +221 -0
  770. package/icons/app/index.d.ts.map +1 -0
  771. package/icons/app/index.js +220 -0
  772. package/icons/modules/Benefits.d.ts +4 -0
  773. package/icons/modules/Benefits.d.ts.map +1 -0
  774. package/icons/modules/Benefits.js +5 -0
  775. package/icons/modules/Calendar.d.ts +4 -0
  776. package/icons/modules/Calendar.d.ts.map +1 -0
  777. package/icons/modules/Calendar.js +5 -0
  778. package/icons/modules/Cards.d.ts +4 -0
  779. package/icons/modules/Cards.d.ts.map +1 -0
  780. package/icons/modules/Cards.js +5 -0
  781. package/icons/modules/ClockIn.d.ts +4 -0
  782. package/icons/modules/ClockIn.d.ts.map +1 -0
  783. package/icons/modules/ClockIn.js +5 -0
  784. package/icons/modules/Complaints.d.ts +4 -0
  785. package/icons/modules/Complaints.d.ts.map +1 -0
  786. package/icons/modules/Complaints.js +5 -0
  787. package/icons/modules/Discover.d.ts +4 -0
  788. package/icons/modules/Discover.d.ts.map +1 -0
  789. package/icons/modules/Discover.js +5 -0
  790. package/icons/modules/Documents.d.ts +4 -0
  791. package/icons/modules/Documents.d.ts.map +1 -0
  792. package/icons/modules/Documents.js +5 -0
  793. package/icons/modules/Engagement.d.ts +4 -0
  794. package/icons/modules/Engagement.d.ts.map +1 -0
  795. package/icons/modules/Engagement.js +5 -0
  796. package/icons/modules/Finance.d.ts +4 -0
  797. package/icons/modules/Finance.d.ts.map +1 -0
  798. package/icons/modules/Finance.js +5 -0
  799. package/icons/modules/Goals.d.ts +4 -0
  800. package/icons/modules/Goals.d.ts.map +1 -0
  801. package/icons/modules/Goals.js +5 -0
  802. package/icons/modules/Home.d.ts +4 -0
  803. package/icons/modules/Home.d.ts.map +1 -0
  804. package/icons/modules/Home.js +5 -0
  805. package/icons/modules/Hub.d.ts +4 -0
  806. package/icons/modules/Hub.d.ts.map +1 -0
  807. package/icons/modules/Hub.js +5 -0
  808. package/icons/modules/ITManagement.d.ts +4 -0
  809. package/icons/modules/ITManagement.d.ts.map +1 -0
  810. package/icons/modules/ITManagement.js +5 -0
  811. package/icons/modules/Inbox.d.ts +4 -0
  812. package/icons/modules/Inbox.d.ts.map +1 -0
  813. package/icons/modules/Inbox.js +5 -0
  814. package/icons/modules/Kudos.d.ts +4 -0
  815. package/icons/modules/Kudos.d.ts.map +1 -0
  816. package/icons/modules/Kudos.js +5 -0
  817. package/icons/modules/Meetings.d.ts +4 -0
  818. package/icons/modules/Meetings.d.ts.map +1 -0
  819. package/icons/modules/Meetings.js +5 -0
  820. package/icons/modules/MyDocuments.d.ts +4 -0
  821. package/icons/modules/MyDocuments.d.ts.map +1 -0
  822. package/icons/modules/MyDocuments.js +5 -0
  823. package/icons/modules/Organization.d.ts +4 -0
  824. package/icons/modules/Organization.d.ts.map +1 -0
  825. package/icons/modules/Organization.js +5 -0
  826. package/icons/modules/Overviews.d.ts +4 -0
  827. package/icons/modules/Overviews.d.ts.map +1 -0
  828. package/icons/modules/Overviews.js +5 -0
  829. package/icons/modules/Pages.d.ts +4 -0
  830. package/icons/modules/Pages.d.ts.map +1 -0
  831. package/icons/modules/Pages.js +5 -0
  832. package/icons/modules/Payroll.d.ts +4 -0
  833. package/icons/modules/Payroll.d.ts.map +1 -0
  834. package/icons/modules/Payroll.js +5 -0
  835. package/icons/modules/Performance.d.ts +4 -0
  836. package/icons/modules/Performance.d.ts.map +1 -0
  837. package/icons/modules/Performance.js +5 -0
  838. package/icons/modules/Profile.d.ts +4 -0
  839. package/icons/modules/Profile.d.ts.map +1 -0
  840. package/icons/modules/Profile.js +5 -0
  841. package/icons/modules/Projects.d.ts +4 -0
  842. package/icons/modules/Projects.d.ts.map +1 -0
  843. package/icons/modules/Projects.js +5 -0
  844. package/icons/modules/Recruitment.d.ts +4 -0
  845. package/icons/modules/Recruitment.d.ts.map +1 -0
  846. package/icons/modules/Recruitment.js +5 -0
  847. package/icons/modules/Reports.d.ts +4 -0
  848. package/icons/modules/Reports.d.ts.map +1 -0
  849. package/icons/modules/Reports.js +5 -0
  850. package/icons/modules/Sales.d.ts +4 -0
  851. package/icons/modules/Sales.d.ts.map +1 -0
  852. package/icons/modules/Sales.js +5 -0
  853. package/icons/modules/Settings.d.ts +4 -0
  854. package/icons/modules/Settings.d.ts.map +1 -0
  855. package/icons/modules/Settings.js +5 -0
  856. package/icons/modules/Shifts.d.ts +4 -0
  857. package/icons/modules/Shifts.d.ts.map +1 -0
  858. package/icons/modules/Shifts.js +5 -0
  859. package/icons/modules/Social.d.ts +4 -0
  860. package/icons/modules/Social.d.ts.map +1 -0
  861. package/icons/modules/Social.js +5 -0
  862. package/icons/modules/Software.d.ts +4 -0
  863. package/icons/modules/Software.d.ts.map +1 -0
  864. package/icons/modules/Software.js +5 -0
  865. package/icons/modules/Spaces.d.ts +4 -0
  866. package/icons/modules/Spaces.d.ts.map +1 -0
  867. package/icons/modules/Spaces.js +5 -0
  868. package/icons/modules/Spending.d.ts +4 -0
  869. package/icons/modules/Spending.d.ts.map +1 -0
  870. package/icons/modules/Spending.js +5 -0
  871. package/icons/modules/Tasks.d.ts +4 -0
  872. package/icons/modules/Tasks.d.ts.map +1 -0
  873. package/icons/modules/Tasks.js +5 -0
  874. package/icons/modules/TimeOff.d.ts +4 -0
  875. package/icons/modules/TimeOff.d.ts.map +1 -0
  876. package/icons/modules/TimeOff.js +5 -0
  877. package/icons/modules/TimeTracking.d.ts +4 -0
  878. package/icons/modules/TimeTracking.d.ts.map +1 -0
  879. package/icons/modules/TimeTracking.js +5 -0
  880. package/icons/modules/Trainings.d.ts +4 -0
  881. package/icons/modules/Trainings.d.ts.map +1 -0
  882. package/icons/modules/Trainings.js +5 -0
  883. package/icons/modules/Treasury.d.ts +4 -0
  884. package/icons/modules/Treasury.d.ts.map +1 -0
  885. package/icons/modules/Treasury.js +5 -0
  886. package/icons/modules/Workflows.d.ts +4 -0
  887. package/icons/modules/Workflows.d.ts.map +1 -0
  888. package/icons/modules/Workflows.js +5 -0
  889. package/icons/modules/index.d.ts +40 -0
  890. package/icons/modules/index.d.ts.map +1 -0
  891. package/icons/modules/index.js +39 -0
  892. package/package.json +218 -0
  893. package/postcss.config.js +7 -0
  894. package/tailwind.config.ts +14 -0
@@ -0,0 +1,4816 @@
1
+ import { AlertAvatarProps as AlertAvatarProps_2 } from '../../f0';
2
+ import { AlertTagCellValue } from './types/alertTag.tsx';
3
+ import { AlertTagCellValue as AlertTagCellValue_2 } from '../../value-display/types/alertTag';
4
+ import { AmountCellValue } from './types/amount.tsx';
5
+ import { AmountCellValue as AmountCellValue_2 } from '../../value-display/types/amount';
6
+ import { AnchorHTMLAttributes } from 'react';
7
+ import { AreaChartWidgetProps } from './AreaChartWidget';
8
+ import { AriaAttributes } from 'react';
9
+ import { AvatarListCellValue } from './types/avatarList.tsx';
10
+ import { AvatarListCellValue as AvatarListCellValue_2 } from '../../value-display/types/avatarList';
11
+ import * as AvatarPrimitive from '@radix-ui/react-avatar';
12
+ import { BarChartProps } from '../../../components/Charts/BarChart';
13
+ import { baseColors } from '@factorialco/f0-core';
14
+ import { ButtonHTMLAttributes } from 'react';
15
+ import { ClassValue } from 'cva';
16
+ import { CompanyCellValue } from './types/company.tsx';
17
+ import { CompanyCellValue as CompanyCellValue_2 } from '../../value-display/types/company';
18
+ import { ComponentProps } from 'react';
19
+ import { ControllerProps } from 'react-hook-form';
20
+ import { ControllerRenderProps } from 'react-hook-form';
21
+ import { CopilotKitProps } from '@copilotkit/react-core';
22
+ import { DateCellValue } from './types/date.tsx';
23
+ import { DateCellValue as DateCellValue_2 } from '../../value-display/types/date';
24
+ import { DateFilterOptions } from './DateFilter/DateFilter';
25
+ import { default as default_2 } from 'react';
26
+ import { Dispatch } from 'react';
27
+ import { DotTagCellValue } from './types/dotTag.tsx';
28
+ import { DotTagCellValue as DotTagCellValue_2 } from '../../value-display/types/dotTag';
29
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
30
+ import { Editor } from '@tiptap/react';
31
+ import { FC } from 'react';
32
+ import { FieldPath } from 'react-hook-form';
33
+ import { FieldValues } from 'react-hook-form';
34
+ import { FileCellValue } from './types/file.tsx';
35
+ import { FileCellValue as FileCellValue_2 } from '../../value-display/types/file';
36
+ import { FolderCellValue } from './types/folder.tsx';
37
+ import { FolderCellValue as FolderCellValue_2 } from '../../value-display/types/folder';
38
+ import { ForwardedRef } from 'react';
39
+ import { ForwardRefExoticComponent } from 'react';
40
+ import { HTMLAttributes } from 'react';
41
+ import { HTMLInputTypeAttribute } from 'react';
42
+ import { IconCellValue } from './types/icon.tsx';
43
+ import { IconType as IconType_2 } from '../../f0';
44
+ import { InFilterOptions } from './InFilter/types';
45
+ import { JSONContent } from '@tiptap/react';
46
+ import { JSONContent as JSONContent_2 } from '@tiptap/core';
47
+ import { JSX as JSX_2 } from 'react';
48
+ import { LineChartProps } from '../../../components/Charts/LineChart';
49
+ import { NumberCellValue } from './types/number.tsx';
50
+ import { NumberCellValue as NumberCellValue_2 } from '../../value-display/types/number';
51
+ import { Observable } from 'zen-observable-ts';
52
+ import { Path } from 'react-hook-form';
53
+ import { PercentageCellValue } from './types/percentage.tsx';
54
+ import { PersonCellValue } from './types/person.tsx';
55
+ import { PersonCellValue as PersonCellValue_2 } from '../../value-display/types/person';
56
+ import { PieChartProps } from '../../../components/Charts/PieChart';
57
+ import { PopoverProps } from '@radix-ui/react-popover';
58
+ import { PropsWithChildren } from 'react';
59
+ import * as React_2 from 'react';
60
+ import { ReactElement } from 'react';
61
+ import { ReactNode } from 'react';
62
+ import * as RechartsPrimitive from 'recharts';
63
+ import { RefAttributes } from 'react';
64
+ import { ScrollAreaProps } from '@radix-ui/react-scroll-area';
65
+ import { StatusCellValue } from './types/status.tsx';
66
+ import { StatusCellValue as StatusCellValue_2 } from '../../value-display/types/status';
67
+ import { SVGProps } from 'react';
68
+ import { TagCellValue } from './types/tag.tsx';
69
+ import { TagCellValue as TagCellValue_2 } from '../../value-display/types/tag';
70
+ import { TagListCellValue } from './types/tagList.tsx';
71
+ import { TagListCellValue as TagListCellValue_2 } from '../../value-display/types/tagList';
72
+ import { TeamCellValue } from './types/team.tsx';
73
+ import { TeamCellValue as TeamCellValue_2 } from '../../value-display/types/team';
74
+ import { TextCellValue } from './types/text.tsx';
75
+ import { TextCellValue as TextCellValue_2 } from '../../value-display/types/text';
76
+ import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
77
+ import { useForm } from 'react-hook-form';
78
+ import { UseFormHandleSubmit } from 'react-hook-form';
79
+ import { UseFormProps } from 'react-hook-form';
80
+ import { UseFormReturn } from 'react-hook-form';
81
+ import { ValueDisplayRendererContext as ValueDisplayRendererContext_2 } from '../../value-display';
82
+ import { VariantProps } from 'cva';
83
+ import { VerticalBarChartProps } from '../../../components/Charts/VerticalBarChart';
84
+ import { WidgetProps as WidgetProps_2 } from '../Widget';
85
+ import { z } from 'zod';
86
+ import { ZodType } from 'zod';
87
+
88
+ declare type Action = {
89
+ label: string;
90
+ onClick: () => void;
91
+ icon?: IconType;
92
+ variant?: ButtonVariant;
93
+ disabled?: boolean;
94
+ };
95
+
96
+ declare type Action_2 = {
97
+ label: string;
98
+ onClick: () => void;
99
+ icon?: IconType;
100
+ variant?: "default" | "outline" | "promote";
101
+ };
102
+
103
+ export declare type ActionDefinition = DropdownItemSeparator | (Omit<DropdownItemObject, "type" | "onClick"> & {
104
+ onClick: () => void;
105
+ enabled?: boolean;
106
+ type?: "primary" | "secondary" | "other";
107
+ });
108
+
109
+ export declare const ActionItem: ({ title, status }: ActionItemProps) => JSX_2.Element;
110
+
111
+ export declare interface ActionItemProps {
112
+ title: string;
113
+ status: "inProgress" | "executing" | "completed";
114
+ }
115
+
116
+ declare type ActionProps = {
117
+ /**
118
+ * The label of the action
119
+ */
120
+ label: string;
121
+ /**
122
+ * The click handler of the action
123
+ */
124
+ onClick: () => void;
125
+ /**
126
+ * The variant of the action
127
+ * @default "default"
128
+ * @optional
129
+ */
130
+ variant?: "default" | "outline" | "promote";
131
+ /**
132
+ * The icon of the action
133
+ * @optional
134
+ */
135
+ icon?: IconType;
136
+ } & ({
137
+ /**
138
+ * The type of the action
139
+ */
140
+ type: "upsell";
141
+ /**
142
+ * The error message of the action
143
+ */
144
+ errorMessage: ErrorMessageProps;
145
+ /**
146
+ * The success message of the action
147
+ */
148
+ successMessage: SuccessMessageProps;
149
+ /**
150
+ * The loading state of the action
151
+ */
152
+ loadingState: LoadingStateProps;
153
+ /**
154
+ * The next steps of the action
155
+ */
156
+ nextSteps: NextStepsProps;
157
+ /**
158
+ * The next steps of the action
159
+ */
160
+ closeLabel: string;
161
+ } | {
162
+ /**
163
+ * The type of the action
164
+ */
165
+ type?: "default";
166
+ });
167
+
168
+ declare type ActionType = CopyActionType | NavigateActionType;
169
+
170
+ export declare type actionType = {
171
+ label: string;
172
+ onClick: () => void;
173
+ disabled?: boolean;
174
+ variant: "default" | "outline" | "neutral" | undefined;
175
+ icon?: IconType;
176
+ };
177
+
178
+ declare type actionType_2 = {
179
+ label: string;
180
+ onClick: () => void;
181
+ disabled?: boolean;
182
+ icon?: IconType;
183
+ hideLabel?: boolean;
184
+ variant?: "default" | "outline" | "neutral";
185
+ };
186
+
187
+ export declare const ActivityItemList: (({ items, loadingMoreItems, onClickItem, onEndReached, onEndReachedItemsThreshold, }: ActivityItemListProps) => default_2.JSX.Element) & {
188
+ Skeleton: () => default_2.JSX.Element;
189
+ };
190
+
191
+ export declare type ActivityItemListProps = Pick<SectionProps, "items" | "onClickItem"> & {
192
+ onEndReached?: () => void;
193
+ onEndReachedItemsThreshold?: number;
194
+ loadingMoreItems?: boolean;
195
+ };
196
+
197
+ export declare const ActivityItemListSkeleton: () => default_2.JSX.Element;
198
+
199
+ declare type ActivityItemProps = {
200
+ id: string;
201
+ createdAt: Date;
202
+ title: string;
203
+ description?: string;
204
+ icon?: IconType;
205
+ category: string;
206
+ isUnread?: boolean;
207
+ onClick: (id: string) => void;
208
+ onVisible?: (id: string) => void;
209
+ };
210
+
211
+ declare interface AIBlockConfig {
212
+ buttons?: AIButton[];
213
+ onClick: (type: string) => Promise<JSONContent_2 | null>;
214
+ title: string;
215
+ }
216
+
217
+ declare interface AIBlockLabels {
218
+ reset: string;
219
+ resetDescription: string;
220
+ deleteBlock: string;
221
+ expand: string;
222
+ collapse: string;
223
+ }
224
+
225
+ declare type AIButton = {
226
+ type: string;
227
+ emoji: string;
228
+ label: string;
229
+ icon: IconType;
230
+ };
231
+
232
+ /**
233
+ * @experimental This is an experimental component use it at your own risk
234
+ */
235
+ export declare const AiChat: () => JSX_2.Element | null;
236
+
237
+ declare type AiChatMode = "popup" | "sidebar";
238
+
239
+ export declare const AiChatProvider: ({ enabled, mode, greeting, children, ...copilotKitProps }: AiChatProviderProps) => JSX_2.Element;
240
+
241
+ export declare type AiChatProviderProps = {
242
+ enabled?: boolean;
243
+ mode?: AiChatMode;
244
+ greeting?: string;
245
+ } & Pick<CopilotKitProps, "agent" | "credentials" | "children" | "runtimeUrl" | "showDevConsole" | "threadId" | "headers">;
246
+
247
+ declare type AiChatProviderReturnValue = {
248
+ mode: AiChatMode;
249
+ setMode: React.Dispatch<React.SetStateAction<AiChatMode>>;
250
+ enabled: boolean;
251
+ setEnabled: React.Dispatch<React.SetStateAction<boolean>>;
252
+ open: boolean;
253
+ setOpen: React.Dispatch<React.SetStateAction<boolean>>;
254
+ shouldPlayEntranceAnimation: boolean;
255
+ setShouldPlayEntranceAnimation: React.Dispatch<React.SetStateAction<boolean>>;
256
+ } & Pick<AiChatState, "greeting">;
257
+
258
+ declare interface AiChatState {
259
+ greeting?: string;
260
+ initialMode: AiChatMode;
261
+ enabled: boolean;
262
+ }
263
+
264
+ export declare const Alert: React_2.ForwardRefExoticComponent<Omit<React_2.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
265
+ variant?: "info" | "warning" | "positive" | "destructive" | undefined;
266
+ } & ({
267
+ class?: ClassValue;
268
+ className?: never;
269
+ } | {
270
+ class?: never;
271
+ className?: ClassValue;
272
+ })) | undefined) => string> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLElement | SVGElement>>;
273
+
274
+ declare type AlertAvatarProps = VariantProps<typeof alertAvatarVariants> & {
275
+ type: (typeof alertAvatarTypes)[number];
276
+ size?: (typeof alertAvatarSizes)[number];
277
+ } & Partial<Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">>;
278
+
279
+ declare const alertAvatarSizes: readonly ["sm", "md", "lg"];
280
+
281
+ declare const alertAvatarTypes: readonly ["critical", "warning", "info", "positive"];
282
+
283
+ declare const alertAvatarVariants: (props?: ({
284
+ type?: "info" | "critical" | "warning" | "positive" | undefined;
285
+ size?: "lg" | "md" | "sm" | undefined;
286
+ } & ({
287
+ class?: ClassValue;
288
+ className?: never;
289
+ } | {
290
+ class?: never;
291
+ className?: ClassValue;
292
+ })) | undefined) => string;
293
+
294
+ export declare const AlertDescription: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLParagraphElement> & React_2.RefAttributes<HTMLParagraphElement>>;
295
+
296
+ declare interface AlertProps extends VariantProps<typeof alertVariants> {
297
+ title: string;
298
+ description: string;
299
+ action: {
300
+ label: string;
301
+ onClick?: () => void;
302
+ };
303
+ link?: {
304
+ label: string;
305
+ href: string;
306
+ };
307
+ variant: AlertVariant;
308
+ }
309
+
310
+ export declare const AlertTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLHeadingElement> & React_2.RefAttributes<HTMLParagraphElement>>;
311
+
312
+ declare type AlertVariant = "info" | "warning" | "critical";
313
+
314
+ declare const alertVariants: (props?: ({
315
+ variant?: "info" | "critical" | "warning" | undefined;
316
+ } & ({
317
+ class?: ClassValue;
318
+ className?: never;
319
+ } | {
320
+ class?: never;
321
+ className?: ClassValue;
322
+ })) | undefined) => string;
323
+
324
+ export declare function ApplicationFrame({ children, sidebar, banner, ai, }: ApplicationFrameProps): JSX_2.Element;
325
+
326
+ declare interface ApplicationFrameProps {
327
+ ai?: Omit<AiChatProviderProps, "children">;
328
+ banner?: React.ReactNode;
329
+ sidebar: React.ReactNode;
330
+ children: React.ReactNode;
331
+ }
332
+
333
+ declare const ApprovalStep: FC<ApprovalStepProps>;
334
+
335
+ declare type ApprovalStepProps = {
336
+ title: string;
337
+ approvalsRequired?: number;
338
+ status: Status;
339
+ approvers: Approver[];
340
+ };
341
+
342
+ declare type Approver = {
343
+ firstName: string;
344
+ lastName: string;
345
+ avatar?: string;
346
+ status: Status;
347
+ };
348
+
349
+ export declare const AreaChartWidget: ForwardRefExoticComponent<Omit<AreaChartWidgetProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
350
+
351
+ export declare const AutoGrid: ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
352
+ tileSize?: "lg" | "md" | "sm" | undefined;
353
+ gap?: "2" | "4" | "8" | undefined;
354
+ } & ({
355
+ class?: ClassValue;
356
+ className?: never;
357
+ } | {
358
+ class?: never;
359
+ className?: ClassValue;
360
+ })) | undefined) => string> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
361
+
362
+ declare const Avatar: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & {
363
+ size?: (typeof internalAvatarSizes)[number];
364
+ type?: (typeof internalAvatarTypes)[number];
365
+ color?: (typeof internalAvatarColors)[number];
366
+ } & React_2.RefAttributes<HTMLSpanElement>>;
367
+
368
+ declare type AvatarBadge = ({
369
+ type: "module";
370
+ module: ModuleId;
371
+ } | {
372
+ type: Exclude<BadgeProps["type"], undefined>;
373
+ icon: BadgeProps["icon"];
374
+ }) & {
375
+ tooltip?: string;
376
+ };
377
+
378
+ declare type AvatarFileSize = (typeof avatarFileSizes)[number];
379
+
380
+ declare const avatarFileSizes: readonly ["xs", "sm", "md", "lg"];
381
+
382
+ declare type AvatarSize = (typeof avatarSizes)[number];
383
+
384
+ declare const avatarSizes: readonly ["xs", "sm", "md", "lg", "xl", "2xl"];
385
+
386
+ declare type AvatarVariant = DistributiveOmit<({
387
+ type: "person";
388
+ } & F0AvatarPersonProps) | ({
389
+ type: "team";
390
+ } & F0AvatarTeamProps) | ({
391
+ type: "company";
392
+ } & F0AvatarCompanyProps) | ({
393
+ type: "file";
394
+ } & F0AvatarFileProps), "size">;
395
+
396
+ export declare const Badge: ({ type, size, icon }: BadgeProps) => JSX_2.Element;
397
+
398
+ export declare interface BadgeProps extends VariantProps<typeof badgeVariants> {
399
+ icon: IconType;
400
+ type?: VariantProps<typeof badgeVariants>["type"];
401
+ size?: keyof typeof iconSizes;
402
+ }
403
+
404
+ declare const badgeVariants: (props?: ({
405
+ type?: "critical" | "warning" | "positive" | "neutral" | "highlight" | undefined;
406
+ size?: "lg" | "md" | "sm" | "xs" | undefined;
407
+ } & ({
408
+ class?: ClassValue;
409
+ className?: never;
410
+ } | {
411
+ class?: never;
412
+ className?: ClassValue;
413
+ })) | undefined) => string;
414
+
415
+ export declare type BannerAction = {
416
+ label: string;
417
+ onClick: () => void;
418
+ variant?: "default" | "outline" | "ghost";
419
+ icon?: IconType;
420
+ };
421
+
422
+ export declare const BarChartWidget: ForwardRefExoticComponent<Omit<WidgetProps_2 & {
423
+ chart: BarChartProps;
424
+ } & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
425
+
426
+ export declare const BaseActivityItemList: ({ items, loadingMoreItems, onClickItem, onEndReached, onEndReachedItemsThreshold, }: ActivityItemListProps) => default_2.JSX.Element;
427
+
428
+ declare const BaseAvatar: ForwardRefExoticComponent<BaseAvatarProps & RefAttributes<HTMLDivElement>>;
429
+
430
+ declare type BaseAvatarProps = {
431
+ /**
432
+ * The type of the avatar.
433
+ */
434
+ type: InternalAvatarProps["type"];
435
+ /**
436
+ * The name of the avatar.
437
+ */
438
+ name: string | string[];
439
+ /**
440
+ * The source of the avatar's image.
441
+ */
442
+ src?: string;
443
+ /**
444
+ * The color of the avatar.
445
+ * @default "random"
446
+ */
447
+ color?: InternalAvatarProps["color"] | "random";
448
+ /**
449
+ * The badge to display on the avatar. Can be a module badge or a custom badge.
450
+ */
451
+ badge?: AvatarBadge;
452
+ } & Partial<Pick<InternalAvatarProps, "aria-label" | "aria-labelledby">> & ({
453
+ size: AvatarSize;
454
+ } | {
455
+ /**
456
+ * @deprecated Use AvatarSize instead (xs, sm, md, lg, xl, 2xl)
457
+ */
458
+ size: InternalAvatarProps["size"];
459
+ });
460
+
461
+ declare type BaseAvatarProps_2 = ComponentProps<typeof BaseAvatar>;
462
+
463
+ export declare const BaseBanner: ForwardRefExoticComponent<BaseBannerProps & RefAttributes<HTMLDivElement>> & {
464
+ Skeleton: ForwardRefExoticComponent<RefAttributes<HTMLDivElement>>;
465
+ };
466
+
467
+ export declare type BaseBannerProps = {
468
+ title: string;
469
+ subtitle?: string;
470
+ mediaUrl: string;
471
+ primaryAction?: BannerAction;
472
+ secondaryAction?: BannerAction;
473
+ onClose?: () => void;
474
+ isLoading?: boolean;
475
+ children?: React.ReactNode;
476
+ };
477
+
478
+ export declare const BaseCelebration: ({ link, firstName, lastName, src, onClick, canReact, lastEmojiReaction, onReactionSelect, type, typeLabel, date, }: CelebrationProps) => JSX_2.Element;
479
+
480
+ declare type BaseColor = keyof typeof baseColors;
481
+
482
+ export declare const BaseCommunityPost: ({ id, author, group, createdAt, title, description, onClick, mediaUrl, event, counters, reactions, inLabel, comment, dropdownItems, noReactionsButton, noVideoPreload, }: CommunityPostProps) => JSX_2.Element;
483
+
484
+ /**
485
+ * Base data adapter configuration for non-paginated collections
486
+ * @template Record - The type of records in the collection
487
+ * @template Filters - The available filter configurations
488
+ */
489
+ export declare type BaseDataAdapter<Record extends RecordType, Filters extends FiltersDefinition, NavigationFilters extends NavigationFiltersDefinition> = {
490
+ /** Indicates this adapter doesn't use pagination */
491
+ paginationType?: never | undefined;
492
+ /**
493
+ * Function to fetch data based on filter options
494
+ * @param options - The filter options to apply when fetching data
495
+ * @returns Array of records, promise of records, or observable of records
496
+ */
497
+ fetchData: (options: BaseFetchOptions<Filters, NavigationFilters>) => BaseResponse<Record> | Promise<BaseResponse<Record>> | Observable<PromiseState<BaseResponse<Record>>>;
498
+ };
499
+
500
+ /**
501
+ * Base options for data fetching
502
+ * @template Filters - The available filter configurations
503
+ */
504
+ export declare type BaseFetchOptions<Filters extends FiltersDefinition, NavigationFilters extends NavigationFiltersDefinition> = {
505
+ /** Currently applied filters */
506
+ filters: FiltersState<Filters>;
507
+ sortings: SortingsStateMultiple;
508
+ search?: string;
509
+ navigationFilters?: NavigationFiltersState<NavigationFilters>;
510
+ };
511
+
512
+ /**
513
+ * Base definition for all filter types.
514
+ * Provides common properties that all filters must implement.
515
+ */
516
+ declare type BaseFilterDefinition<T extends FilterTypeKey> = {
517
+ /** Human-readable label for the filter */
518
+ label: string;
519
+ /** The type of filter */
520
+ type: T;
521
+ /**
522
+ * Whether to hide the selector for this filter
523
+ */
524
+ hideSelector?: boolean;
525
+ };
526
+
527
+ declare function BaseHeader({ title, avatar, description, primaryAction, secondaryActions, otherActions, status, metadata, }: BaseHeaderProps_2): JSX_2.Element;
528
+
529
+ declare type BaseHeaderProps = ComponentProps<typeof BaseHeader>;
530
+
531
+ declare interface BaseHeaderProps_2 {
532
+ title: string;
533
+ avatar?: {
534
+ type: "generic";
535
+ name: string;
536
+ src?: string;
537
+ } | AvatarVariant;
538
+ description?: string;
539
+ primaryAction?: PrimaryActionButton | PrimaryDropdownAction<string>;
540
+ secondaryActions?: SecondaryAction[];
541
+ otherActions?: (DropdownItem & {
542
+ isVisible?: boolean;
543
+ })[];
544
+ status?: {
545
+ label: string;
546
+ text: string;
547
+ variant: StatusVariant;
548
+ actions?: MetadataAction[];
549
+ };
550
+ metadata?: MetadataProps["items"];
551
+ }
552
+
553
+ /**
554
+ * Represents a base structure for paginated API responses, providing
555
+ * details about the records on the current page and pagination metadata.
556
+ *
557
+ * @template TRecord The type of each record in the paginated response.
558
+ *
559
+ * @property {TRecord[]} records The list of records for the current page.
560
+ * @property {number} total The total number of records available.
561
+ * @property {number} perPage The number of records displayed per page.
562
+ * @property {TRecord} [summaries] Optional summaries data for the collection.
563
+ */
564
+ export declare type BasePaginatedResponse<TRecord> = {
565
+ /** The records for the current page */
566
+ records: TRecord[];
567
+ /** Total number of records available */
568
+ total: number;
569
+ /** Number of records per page */
570
+ perPage: number;
571
+ /** Optional summaries data */
572
+ summaries?: TRecord;
573
+ };
574
+
575
+ /**
576
+ * Base response type for collection data
577
+ * @template Record - The type of records in the collection
578
+ */
579
+ export declare type BaseResponse<Record> = {
580
+ records: Record[];
581
+ summaries?: Record;
582
+ };
583
+
584
+ export declare const BaseTabs: React.FC<TabsProps>;
585
+
586
+ declare interface BaseTOCItem {
587
+ id: string;
588
+ label: string;
589
+ onClick?: (id: string) => void;
590
+ icon?: IconType;
591
+ disabled?: boolean;
592
+ otherActions?: TOCItemAction[];
593
+ }
594
+
595
+ declare type BreadcrumbBaseItemType = NavigationItem & {
596
+ id: string;
597
+ loading?: boolean;
598
+ label: string;
599
+ };
600
+
601
+ declare type BreadcrumbItemType = BreadcrumbLoadingItemType | BreadcrumbNavItemType | BreadcrumbSelectItemType;
602
+
603
+ declare type BreadcrumbLoadingItemType = Pick<BreadcrumbBaseItemType, "id"> & {
604
+ loading: true;
605
+ };
606
+
607
+ declare type BreadcrumbNavItemType = BreadcrumbBaseItemType & {
608
+ module?: ModuleId;
609
+ };
610
+
611
+ /**
612
+ * Responsive breadcrumb navigation component that automatically collapses items when space is limited.
613
+ *
614
+ * Features:
615
+ * - Responsive layout that adjusts to container width
616
+ * - Maintains first and last items visible
617
+ * - Collapses middle items into a dropdown when needed
618
+ * - Supports loading states
619
+ * - Animated transitions
620
+ *
621
+ * @example
622
+ * ```tsx
623
+ * <Breadcrumbs
624
+ * breadcrumbs={[
625
+ * { id: "home", label: "Home", href: "/" },
626
+ * { id: "section", label: "Section", href: "/section" },
627
+ * { id: "page", label: "Current Page" }
628
+ * ]}
629
+ * />
630
+ * ```
631
+ */
632
+ export declare function Breadcrumbs({ breadcrumbs, append }: BreadcrumbsProps): JSX_2.Element;
633
+
634
+ export declare function BreadcrumbSelect({ options, defaultItem, ...props }: BreadcrumbSelectProps): JSX_2.Element;
635
+
636
+ declare type BreadcrumbSelectItemType = BreadcrumbBaseItemType & {
637
+ type: "select";
638
+ searchbox?: boolean;
639
+ externalSearch?: boolean;
640
+ options: BreadcrumbSelectProps["options"];
641
+ onChange: BreadcrumbSelectProps["onChange"];
642
+ value?: string;
643
+ defaultItem?: SelectItemObject<string>;
644
+ };
645
+
646
+ export declare type BreadcrumbSelectProps = Omit<SelectProps<string>, "options" | "value"> & {
647
+ options: Options;
648
+ value?: string;
649
+ defaultItem?: SelectItemObject<string>;
650
+ };
651
+
652
+ export declare interface BreadcrumbsProps {
653
+ /** Array of breadcrumb items to display */
654
+ breadcrumbs: BreadcrumbItemType[];
655
+ append?: ReactNode;
656
+ }
657
+
658
+ declare interface BreakType {
659
+ id: string;
660
+ name: string;
661
+ duration?: string;
662
+ description?: string;
663
+ isPaid: boolean;
664
+ }
665
+
666
+ /**
667
+ * Represents a bulk action that can be performed on a collection.
668
+ */
669
+ export declare type BulkAction = string;
670
+
671
+ /**
672
+ * Represents a bulk action definition.
673
+ */
674
+ export declare type BulkActionDefinition = {
675
+ label: string;
676
+ icon?: IconType;
677
+ id: string;
678
+ keepSelection?: boolean;
679
+ };
680
+
681
+ declare const Button: React_2.ForwardRefExoticComponent<ButtonProps_2 & React_2.RefAttributes<HTMLButtonElement>>;
682
+
683
+ export declare interface ButtonConfig {
684
+ key: string;
685
+ icon: IconType;
686
+ active: (editor: Editor) => boolean;
687
+ onClick: (editor: Editor) => void;
688
+ tooltip: {
689
+ label: string;
690
+ shortcut: string[];
691
+ };
692
+ }
693
+
694
+ declare type ButtonInternalProps = Pick<ComponentProps<typeof Button>, "variant" | "size" | "disabled" | "type" | "round" | "className" | "pressed"> & DataAttributes & {
695
+ /**
696
+ * Callback fired when the button is clicked. Supports async functions for loading state.
697
+ */
698
+ onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void | Promise<unknown>;
699
+ /**
700
+ * The visible label for the button. Required for accessibility.
701
+ */
702
+ label: string;
703
+ /**
704
+ * Indicates that an action is in progress. Shows a loading spinner and blocks interaction.
705
+ */
706
+ loading?: boolean;
707
+ /**
708
+ * Adds an icon to the button, combined with the label for better clarity and recognition.
709
+ */
710
+ icon?: IconType;
711
+ /**
712
+ * Adds an emoji to the button, can be used as a special case of icon-only button.
713
+ */
714
+ emoji?: string;
715
+ /**
716
+ * Hides the label visually (for icon-only or emoji-only buttons), but keeps it accessible for screen readers.
717
+ */
718
+ hideLabel?: boolean;
719
+ /**
720
+ * Sets the button size. 'lg' for mobile, 'md' for desktop, 'sm' for compact/secondary actions.
721
+ */
722
+ size?: "sm" | "md" | "lg";
723
+ /**
724
+ * Appends a React node after the button content (for custom UI extensions).
725
+ */
726
+ append?: React.ReactNode;
727
+ /**
728
+ * Appends a React node as a separate button, visually grouped with the main button.
729
+ */
730
+ appendButton?: React.ReactNode;
731
+ /**
732
+ * If true, the button is inactive and does not respond to user interaction.
733
+ */
734
+ disabled?: boolean;
735
+ /**
736
+ * If true, the button is visually active or selected (pressed state).
737
+ */
738
+ pressed?: boolean;
739
+ };
740
+
741
+ declare type ButtonProps = Omit<ButtonInternalProps, (typeof privateProps)[number]>;
742
+
743
+ declare interface ButtonProps_2 extends React_2.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
744
+ asChild?: boolean;
745
+ round?: boolean;
746
+ size?: ButtonSize;
747
+ variant?: ButtonVariant;
748
+ appendButton?: React_2.ReactNode;
749
+ pressed?: boolean;
750
+ }
751
+
752
+ declare type ButtonSize = (typeof sizes)[number];
753
+
754
+ declare type ButtonVariant = (typeof variants_2)[number];
755
+
756
+ declare const buttonVariants: (props?: ({
757
+ disabled?: boolean | undefined;
758
+ pressed?: boolean | undefined;
759
+ variant?: "default" | "critical" | "promote" | "neutral" | "outline" | "ghost" | "outlinePromote" | undefined;
760
+ size?: "lg" | "md" | "sm" | undefined;
761
+ } & ({
762
+ class?: ClassValue;
763
+ className?: never;
764
+ } | {
765
+ class?: never;
766
+ className?: ClassValue;
767
+ })) | undefined) => string;
768
+
769
+ export declare type CalendarDate = {
770
+ day: number;
771
+ month: number;
772
+ year: number;
773
+ };
774
+
775
+ export declare const CalendarEvent: ForwardRefExoticComponent<CalendarEventProps & RefAttributes<HTMLDivElement>>;
776
+
777
+ export declare const CalendarEventList: FC<CalendarEventListProps>;
778
+
779
+ export declare interface CalendarEventListProps {
780
+ events: CalendarEventProps[];
781
+ gap?: number;
782
+ showAllItems?: boolean;
783
+ minSize?: number;
784
+ }
785
+
786
+ export declare interface CalendarEventProps {
787
+ label?: string;
788
+ title: string;
789
+ subtitle?: string;
790
+ description: string;
791
+ color: string;
792
+ isPending: boolean;
793
+ leftTags?: Tag[];
794
+ rightTags?: Tag[];
795
+ fromDate?: Date;
796
+ toDate?: Date;
797
+ noBackground?: boolean;
798
+ }
799
+
800
+ export declare type CalendarMode = "single" | "range";
801
+
802
+ export declare type CalendarView = "day" | "month" | "year" | "week" | "quarter" | "halfyear";
803
+
804
+ declare type CardAvatarVariant = AvatarVariant | {
805
+ type: "emoji";
806
+ emoji: string;
807
+ } | {
808
+ type: "file";
809
+ file: File;
810
+ } | {
811
+ type: "icon";
812
+ icon: IconType;
813
+ };
814
+
815
+ /**
816
+ * Card metadata property renderers.
817
+ * Each metadata item consists of an icon and a property with its data.
818
+ */
819
+ declare type CardMetadataProperty = {
820
+ [K in CardPropertyType]: {
821
+ type: K;
822
+ value: Parameters<(typeof valueDisplayRenderers)[K]>[0];
823
+ };
824
+ }[CardPropertyType];
825
+
826
+ declare type CardPropertyDefinition<T> = PropertyDefinition_2<T> & {
827
+ icon?: IconType;
828
+ };
829
+
830
+ declare const cardPropertyRenderers: {
831
+ readonly text: (args: TextCellValue_2) => default_2.JSX.Element;
832
+ readonly number: (args: NumberCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
833
+ readonly date: (args: DateCellValue_2) => default_2.JSX.Element;
834
+ readonly amount: (args: AmountCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
835
+ readonly person: (args: PersonCellValue_2) => default_2.JSX.Element;
836
+ readonly company: (args: CompanyCellValue_2) => default_2.JSX.Element;
837
+ readonly team: (args: TeamCellValue_2) => default_2.JSX.Element;
838
+ readonly status: (args: StatusCellValue_2) => default_2.JSX.Element;
839
+ readonly tag: (args: TagCellValue_2) => default_2.JSX.Element;
840
+ readonly avatarList: (args: AvatarListCellValue_2) => default_2.JSX.Element;
841
+ readonly tagList: (args: TagListCellValue_2) => default_2.JSX.Element;
842
+ readonly alertTag: (args: AlertTagCellValue_2) => default_2.JSX.Element;
843
+ readonly dotTag: (args: DotTagCellValue_2) => default_2.JSX.Element;
844
+ readonly file: (args: FileCellValue_2) => default_2.JSX.Element;
845
+ readonly folder: (args: FolderCellValue_2) => default_2.JSX.Element;
846
+ };
847
+
848
+ declare type CardPropertyType = keyof typeof cardPropertyRenderers;
849
+
850
+ declare type CardVisualizationOptions<T, _Filters extends FiltersDefinition, _Sortings extends SortingsDefinition> = {
851
+ cardProperties: ReadonlyArray<CardPropertyDefinition<T>>;
852
+ title: (record: T) => string;
853
+ description?: (record: T) => string;
854
+ avatar?: (record: T) => CardAvatarVariant;
855
+ image?: (record: T) => string;
856
+ compact?: boolean;
857
+ };
858
+
859
+ export declare const Carousel: ({ children, columns, showArrows, showDots, autoplay, delay, showPeek, doubleColumns, }: CarouselProps) => default_2.JSX.Element;
860
+
861
+ declare interface CarouselBreakpoints {
862
+ default?: ColumnNumber;
863
+ xs?: ColumnNumber;
864
+ sm?: ColumnNumber;
865
+ md?: ColumnNumber;
866
+ lg?: ColumnNumber;
867
+ xl?: ColumnNumber;
868
+ }
869
+
870
+ declare interface CarouselProps {
871
+ children: default_2.ReactNode;
872
+ showArrows?: boolean;
873
+ showDots?: boolean;
874
+ autoplay?: boolean;
875
+ delay?: number;
876
+ columns?: CarouselBreakpoints;
877
+ showPeek?: boolean;
878
+ doubleColumns?: {
879
+ index: number;
880
+ sizes: (keyof CarouselBreakpoints)[];
881
+ }[];
882
+ }
883
+
884
+ declare interface CategoryBarProps {
885
+ data: {
886
+ name: string;
887
+ value: number;
888
+ color?: string;
889
+ }[];
890
+ legend: boolean;
891
+ hideTooltip?: boolean;
892
+ }
893
+
894
+ export declare function CategoryBarSection({ title, subtitle, data, helpText, legend, hideTooltip, }: CategoryBarSectionProps): JSX_2.Element;
895
+
896
+ declare interface CategoryBarSectionProps {
897
+ title: string;
898
+ subtitle: string;
899
+ data: CategoryBarProps["data"];
900
+ helpText?: string;
901
+ legend?: boolean;
902
+ hideTooltip?: boolean;
903
+ }
904
+
905
+ export declare const Celebration: (({ link, firstName, lastName, src, onClick, canReact, lastEmojiReaction, onReactionSelect, type, typeLabel, date, }: CelebrationProps) => JSX_2.Element) & {
906
+ Skeleton: () => JSX_2.Element;
907
+ };
908
+
909
+ export declare type CelebrationProps = {
910
+ link: string;
911
+ firstName: string;
912
+ lastName: string;
913
+ src?: string;
914
+ onClick?: () => void;
915
+ canReact?: boolean;
916
+ lastEmojiReaction?: string;
917
+ onReactionSelect?: (emoji: string) => void;
918
+ type?: "birthday" | "anniversary" | "first-day";
919
+ typeLabel: string;
920
+ date: Date;
921
+ };
922
+
923
+ export declare const CelebrationSkeleton: () => JSX_2.Element;
924
+
925
+ declare type ChartConfig = Record<string, ChartConfig_2[keyof ChartConfig_2]>;
926
+
927
+ declare type ChartConfig_2 = {
928
+ [k in string]: {
929
+ label?: React_2.ReactNode;
930
+ icon?: React_2.ComponentType;
931
+ } & ({
932
+ color?: string;
933
+ theme?: never;
934
+ } | {
935
+ color?: never;
936
+ theme: Record<keyof typeof THEMES, string>;
937
+ });
938
+ };
939
+
940
+ declare const ChartContainer: React_2.ForwardRefExoticComponent<Omit<ChartContainerComponentProps, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
941
+
942
+ declare interface ChartContainerComponentProps extends React_2.ComponentProps<"div">, VariantProps<typeof variants> {
943
+ config: ChartConfig_2;
944
+ children: React_2.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
945
+ }
946
+
947
+ declare type ChartItem<K extends ChartConfig> = {
948
+ label: string;
949
+ values: {
950
+ [key in keyof K]: number;
951
+ };
952
+ };
953
+
954
+ export declare const ChartWidgetEmptyState: ForwardRefExoticComponent<Props_5 & RefAttributes<HTMLDivElement>>;
955
+
956
+ export declare type ChatWidgetEmptyStateProps = Props_5;
957
+
958
+ export declare function ClockInControls({ trackedMinutes, remainingMinutes, data, labels, locationId, locations, canShowLocation, locationSelectorDisabled, onClockIn, onClockOut, onBreak, breakTypes, onChangeBreakTypeId, canShowBreakButton, canSeeGraph, canSeeRemainingTime, onChangeLocationId, canShowProject, projectSelectorElement, breakTypeName, }: ClockInControlsProps): JSX_2.Element;
959
+
960
+ export declare interface ClockInControlsProps {
961
+ /** Optional remaining time in minutes */
962
+ remainingMinutes?: number;
963
+ /** Clock in entries data */
964
+ data: ClockInGraphProps["data"];
965
+ /** Tracked minutes */
966
+ trackedMinutes: number;
967
+ /** Labels for all text content */
968
+ labels: {
969
+ clockedOut: string;
970
+ clockedIn: string;
971
+ onBreak: string;
972
+ clockIn: string;
973
+ clockOut: string;
974
+ break: string;
975
+ resume: string;
976
+ remainingTime: string;
977
+ overtime: string;
978
+ selectLocation: string;
979
+ selectProject: string;
980
+ paid: string;
981
+ unpaid: string;
982
+ };
983
+ locationId?: string;
984
+ onChangeLocationId: Dispatch<string>;
985
+ locations: {
986
+ id: string;
987
+ name: string;
988
+ icon: IconType;
989
+ }[];
990
+ breakTypes?: BreakType[];
991
+ onChangeBreakTypeId?: Dispatch<string>;
992
+ canShowLocation?: boolean;
993
+ locationSelectorDisabled?: boolean;
994
+ canShowBreakButton?: boolean;
995
+ canSeeGraph?: boolean;
996
+ canSeeRemainingTime?: boolean;
997
+ /** Callback when Clock In button is clicked */
998
+ onClockIn?: () => void;
999
+ /** Callback when Clock Out button is clicked */
1000
+ onClockOut?: () => void;
1001
+ /** Callback when Break button is clicked */
1002
+ onBreak?: (breakTypeId?: string) => void;
1003
+ canShowProject?: boolean;
1004
+ projectSelectorElement?: React.ReactNode;
1005
+ breakTypeName?: string;
1006
+ }
1007
+
1008
+ declare interface ClockInGraphProps {
1009
+ trackedMinutes?: number;
1010
+ data?: {
1011
+ from: Date;
1012
+ to: Date;
1013
+ variant: ClockInStatus;
1014
+ }[];
1015
+ remainingMinutes?: number;
1016
+ }
1017
+
1018
+ declare type ClockInStatus = "clocked-in" | "break" | "clocked-out";
1019
+
1020
+ /**
1021
+ * Props for the Collection component.
1022
+ * @template Record - The type of records in the collection
1023
+ * @template Filters - The available filter configurations for the collection
1024
+ * @template ItemActions - The available actions that can be performed on records
1025
+ * @template VisualizationOptions - Additional options for visualizing the collection
1026
+ */
1027
+ export declare type CollectionProps<Record extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<Record>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<Record>, VisualizationOptions extends object> = {
1028
+ /** The data source configuration and state */
1029
+ source: DataSource<Record, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping>;
1030
+ /** Function to handle item selection */
1031
+ onSelectItems: OnSelectItemsCallback<Record, Filters>;
1032
+ /** Function to handle data load */
1033
+ onLoadData: OnLoadDataCallback<Record, Filters>;
1034
+ onLoadError: OnLoadErrorCallback;
1035
+ } & VisualizationOptions;
1036
+
1037
+ export declare type CollectionSearchOptions = {
1038
+ /** Whether search is enabled */
1039
+ enabled: boolean;
1040
+ /** Whether search is synchronous */
1041
+ sync?: boolean;
1042
+ /** Debounce time for search */
1043
+ debounceTime?: number;
1044
+ };
1045
+
1046
+ declare type ColumnNumber = 1 | 2 | 3 | 4 | 6;
1047
+
1048
+ declare type ColumnWidth = keyof typeof columnWidths | number;
1049
+
1050
+ declare const columnWidths: {
1051
+ readonly auto: undefined;
1052
+ readonly fit: 1;
1053
+ };
1054
+
1055
+ export declare const CommunityPost: (({ id, author, group, createdAt, title, description, onClick, mediaUrl, event, counters, reactions, inLabel, comment, dropdownItems, noReactionsButton, noVideoPreload, }: CommunityPostProps) => JSX_2.Element) & {
1056
+ Skeleton: ({ withEvent, withImage, }: CommunityPostSkeletonProps) => JSX_2.Element;
1057
+ };
1058
+
1059
+ export declare type CommunityPostProps = {
1060
+ id: string;
1061
+ author?: {
1062
+ firstName: string;
1063
+ lastName: string;
1064
+ avatarUrl?: string;
1065
+ url?: string;
1066
+ };
1067
+ group: {
1068
+ title: string;
1069
+ onClick: () => void;
1070
+ };
1071
+ createdAt: Date;
1072
+ title: string;
1073
+ description?: PostDescriptionProps["content"];
1074
+ mediaUrl?: string;
1075
+ event?: PostEventProps;
1076
+ counters: {
1077
+ views?: string;
1078
+ comments: string;
1079
+ };
1080
+ reactions?: ReactionsProps;
1081
+ inLabel: string;
1082
+ comment: {
1083
+ label: string;
1084
+ onClick: () => void;
1085
+ };
1086
+ noVideoPreload?: boolean;
1087
+ onClick: (id: string) => void;
1088
+ noReactionsButton?: boolean;
1089
+ dropdownItems?: DropdownItem[];
1090
+ };
1091
+
1092
+ export declare const CommunityPostSkeleton: ({ withEvent, withImage, }: CommunityPostSkeletonProps) => JSX_2.Element;
1093
+
1094
+ export declare type CommunityPostSkeletonProps = {
1095
+ withEvent?: boolean;
1096
+ withImage?: boolean;
1097
+ };
1098
+
1099
+ declare interface Company {
1100
+ id: string;
1101
+ name: string;
1102
+ logo?: string;
1103
+ }
1104
+
1105
+ declare type CompanyAvatarVariant = Extract<AvatarVariant, {
1106
+ type: "company";
1107
+ }>;
1108
+
1109
+ declare const CompanyItem: ForwardRefExoticComponent<CompanyItemProps & RefAttributes<HTMLLIElement>>;
1110
+
1111
+ declare type CompanyItemProps = {
1112
+ name: string;
1113
+ avatarUrl?: URL_2;
1114
+ action?: ActionType;
1115
+ };
1116
+
1117
+ export declare function CompanySelector({ companies, selected, onChange, isLoading, withNotification, additionalOptions, }: CompanySelectorProps): JSX_2.Element;
1118
+
1119
+ export declare type CompanySelectorProps = {
1120
+ companies: Company[];
1121
+ selected?: string;
1122
+ onChange: (value: string) => void;
1123
+ isLoading?: boolean;
1124
+ withNotification?: boolean;
1125
+ additionalOptions?: {
1126
+ label: string;
1127
+ value: string;
1128
+ icon?: IconType;
1129
+ description?: string;
1130
+ onClick?: () => void;
1131
+ }[];
1132
+ };
1133
+
1134
+ declare type CompareToDef = {
1135
+ label: string;
1136
+ value: {
1137
+ delta: number;
1138
+ units: GranularityDefinitionKey;
1139
+ } | ((value: DateRangeComplete) => DateRangeComplete | DateRangeComplete[]);
1140
+ };
1141
+
1142
+ declare type Content = (ComponentProps<typeof DataList.Item> & {
1143
+ type: "item";
1144
+ }) | (ComponentProps<typeof DataList.PersonItem> & {
1145
+ type: "person";
1146
+ }) | (ComponentProps<typeof DataList.CompanyItem> & {
1147
+ type: "company";
1148
+ }) | (ComponentProps<typeof DataList.TeamItem> & {
1149
+ type: "team";
1150
+ }) | (ComponentProps<typeof Weekdays> & {
1151
+ type: "weekdays";
1152
+ }) | (ComponentProps<typeof DataList.DotTagItem> & {
1153
+ type: "dot-tag";
1154
+ });
1155
+
1156
+ declare type CopyActionType = {
1157
+ type: "copy";
1158
+ text?: string;
1159
+ };
1160
+
1161
+ export declare function Counter({ size, type, value, maxValue }: CounterProps): JSX_2.Element;
1162
+
1163
+ declare type CounterProps = {
1164
+ value: number;
1165
+ maxValue?: number;
1166
+ } & VariantProps<typeof counterVariants>;
1167
+
1168
+ declare const counterVariants: (props?: ({
1169
+ size?: "md" | "sm" | undefined;
1170
+ type?: "bold" | "default" | "selected" | undefined;
1171
+ } & ({
1172
+ class?: ClassValue;
1173
+ className?: never;
1174
+ } | {
1175
+ class?: never;
1176
+ className?: ClassValue;
1177
+ })) | undefined) => string;
1178
+
1179
+ /**
1180
+ * Extracts the current filters type from filter options.
1181
+ * Creates a type mapping filter keys to their respective value types.
1182
+ * Used for type-safe access to filter values.
1183
+ * @template F - The filter options type
1184
+ */
1185
+ export declare type CurrentFilters<F extends FilterOptions<string>> = F extends {
1186
+ fields: Record<infer K extends string, FilterDefinition>;
1187
+ } ? {
1188
+ [Key in K]?: FilterValue<F["fields"][Key]>;
1189
+ } : Record<string, never>;
1190
+
1191
+ declare type CustomEmptyStates = Partial<Record<EmptyStateType, Partial<EmptyState>>>;
1192
+
1193
+ export declare const Dashboard: ForwardRefExoticComponent<DashboardProps & RefAttributes<HTMLDivElement>> & {
1194
+ Skeleton: () => JSX_2.Element;
1195
+ };
1196
+
1197
+ declare type DashboardProps = {
1198
+ widgetWidth?: WidgetWidth;
1199
+ children?: ReactNode[];
1200
+ };
1201
+
1202
+ declare type DashboardProps_2 = {
1203
+ children: ReactNode[];
1204
+ };
1205
+
1206
+ /**
1207
+ * Combined type for all possible data adapter configurations
1208
+ * @template Record - The type of records in the collection
1209
+ * @template Filters - The available filter configurations
1210
+ */
1211
+ export declare type DataAdapter<Record extends RecordType, Filters extends FiltersDefinition, NavigationFilters extends NavigationFiltersDefinition> = BaseDataAdapter<Record, Filters, NavigationFilters> | PaginatedDataAdapter<Record, Filters, NavigationFilters>;
1212
+
1213
+ /**
1214
+ * Represents an error that occurred during data fetching
1215
+ */
1216
+ declare interface DataError {
1217
+ message: string;
1218
+ cause?: unknown;
1219
+ }
1220
+
1221
+ declare const DataList: ForwardRefExoticComponent<DataListProps & RefAttributes<HTMLUListElement>> & {
1222
+ Item: ForwardRefExoticComponent<ItemProps & RefAttributes<HTMLLIElement>>;
1223
+ CompanyItem: ForwardRefExoticComponent<CompanyItemProps & RefAttributes<HTMLLIElement>>;
1224
+ PersonItem: ForwardRefExoticComponent<EmployeeItemProps & RefAttributes<HTMLLIElement>>;
1225
+ TeamItem: ForwardRefExoticComponent<TeamItemProps & RefAttributes<HTMLLIElement>>;
1226
+ DotTagItem: ForwardRefExoticComponent<Props_3 & RefAttributes<HTMLLIElement>>;
1227
+ };
1228
+
1229
+ declare type DataListProps = {
1230
+ children: ReactElement<Items>[] | ReactElement<Items>;
1231
+ label?: string;
1232
+ isHorizontal?: boolean;
1233
+ };
1234
+
1235
+ /**
1236
+ * Represents a data source with filtering capabilities and data fetching functionality.
1237
+ * Extends DataSourceDefinition with runtime properties for state management.
1238
+ * @template R - The type of records in the collection
1239
+ * @template Filters - The available filter configurations for the collection
1240
+ * @template ItemActions - The available actions that can be performed on records
1241
+ */
1242
+ export declare type DataSource<R extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<R>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<R>> = DataSourceDefinition<R, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping> & {
1243
+ /** Current state of applied filters */
1244
+ currentFilters: FiltersState<Filters>;
1245
+ /** Function to update the current filters state */
1246
+ setCurrentFilters: React.Dispatch<React.SetStateAction<FiltersState<Filters>>>;
1247
+ /** Current state of applied sortings */
1248
+ currentSortings: SortingsState<Sortings>;
1249
+ /** Function to update the current sortings state */
1250
+ setCurrentSortings: React.Dispatch<React.SetStateAction<SortingsState<Sortings>>>;
1251
+ currentSearch: undefined | string;
1252
+ debouncedCurrentSearch: undefined | string;
1253
+ setCurrentSearch: (search: string | undefined) => void;
1254
+ isLoading: boolean;
1255
+ setIsLoading: (loading: boolean) => void;
1256
+ currentNavigationFilters: NavigationFiltersState<NavigationFilters>;
1257
+ setCurrentNavigationFilters: React.Dispatch<React.SetStateAction<NavigationFiltersState<NavigationFilters>>>;
1258
+ /** Current state of applied grouping */
1259
+ currentGrouping?: Grouping["mandatory"] extends true ? Exclude<GroupingState<R, Grouping>, undefined> : GroupingState<R, Grouping>;
1260
+ /** Function to update the current grouping state */
1261
+ setCurrentGrouping: React.Dispatch<React.SetStateAction<GroupingState<R, Grouping>>>;
1262
+ /** Current summaries data */
1263
+ currentSummaries?: R;
1264
+ /** Function to update the current summaries data */
1265
+ setCurrentSummaries?: React.Dispatch<React.SetStateAction<R | undefined>>;
1266
+ /** Function to provide an id for a record, necessary for append mode */
1267
+ idProvider?: (item: R, index?: number) => string | number | symbol;
1268
+ /** Lanes data sources */
1269
+ lanes?: ReadonlyArray<LaneDataSource<Filters>>;
1270
+ };
1271
+
1272
+ /**
1273
+ * Defines the structure and configuration of a data source for a collection.
1274
+ * @template Record - The type of records in the collection
1275
+ * @template Filters - The available filter configurations for the collection
1276
+ * @template ItemActions - The available actions that can be performed on records
1277
+ * @template NavigationFilters - The available navigation filters for the collection
1278
+ * @template Sortings - The available sortings for the collection
1279
+ * @template ItemActions - The available actions that can be performed on records
1280
+ * @template PrimaryActions - The available primary actions that can be performed on the collection
1281
+ * @template SecondaryActions - The available actions that can be performed on the collection
1282
+ * @template OtherActions - The available actions that can be performed on the collection
1283
+ * @template Summaries - The available summaries for the collection
1284
+ */
1285
+ export declare type DataSourceDefinition<Record extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<Record>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<Record>> = {
1286
+ /** Available filter configurations */
1287
+ filters?: Filters;
1288
+ /** Navigation filters */
1289
+ navigationFilters?: NavigationFilters;
1290
+ /** Predefined filter configurations that can be applied */
1291
+ presets?: PresetsDefinition<Filters>;
1292
+ /** URL for a single item in the collection */
1293
+ itemUrl?: (item: Record) => string | undefined;
1294
+ /** Click handler for a single item in the collection */
1295
+ itemOnClick?: (item: Record) => () => void;
1296
+ /** Available actions that can be performed on records */
1297
+ itemActions?: ItemActions;
1298
+ /** Available primary actions that can be performed on the collection */
1299
+ primaryActions?: PrimaryActionsDefinition;
1300
+ /** Available secondary actions that can be performed on the collection */
1301
+ secondaryActions?: SecondaryActionsDefinition;
1302
+ /** Search configuration */
1303
+ search?: CollectionSearchOptions;
1304
+ /** Current state of applied filters */
1305
+ currentFilters?: FiltersState<Filters>;
1306
+ /** Current state of applied navigation filter */
1307
+ /** Available sorting fields. If not provided, sorting is not allowed. */
1308
+ sortings?: Sortings;
1309
+ defaultSorting?: SortingsState<Sortings>;
1310
+ /** Available summaries fields. If not provided, summaries is not allowed. */
1311
+ summaries?: Summaries & {
1312
+ label?: string;
1313
+ };
1314
+ /** Data adapter responsible for fetching and managing data */
1315
+ dataAdapter: DataAdapter<Record, Filters, NavigationFilters>;
1316
+ /** Selectable items value under the checkbox column (undefined if not selectable) */
1317
+ selectable?: (item: Record) => string | number | undefined;
1318
+ /** Default selected items */
1319
+ defaultSelectedItems?: SelectedItemsState;
1320
+ /** Bulk actions that can be performed on the collection */
1321
+ bulkActions?: (selectedItems: Parameters<OnBulkActionCallback<Record, Filters>>[1]) => {
1322
+ primary?: BulkActionDefinition[];
1323
+ secondary?: BulkActionDefinition[];
1324
+ } | {
1325
+ warningMessage: string;
1326
+ };
1327
+ totalItemSummary?: (totalItems: number) => string;
1328
+ /** Grouping configuration */
1329
+ grouping?: Grouping;
1330
+ currentGrouping?: GroupingState<Record, Grouping>;
1331
+ /** Lanes configuration */
1332
+ lanes?: ReadonlyArray<LaneDataSource<Filters>>;
1333
+ };
1334
+
1335
+ declare type DateFilterDefinition = BaseFilterDefinition<"date"> & {
1336
+ options?: DateFilterOptions_2;
1337
+ };
1338
+
1339
+ declare type DateFilterOptions_2 = {
1340
+ minDate?: Date;
1341
+ maxDate?: Date;
1342
+ mode?: CalendarMode;
1343
+ defaultSelected?: Date | DateRange | null;
1344
+ view?: CalendarView;
1345
+ };
1346
+
1347
+ export declare type DateNavigationOptions = {
1348
+ min?: Date;
1349
+ max?: Date;
1350
+ };
1351
+
1352
+ declare type DateNavigationOptions_2 = {
1353
+ granularity?: GranularityDefinitionKey[] | GranularityDefinitionKey;
1354
+ defaultGranularity?: GranularityDefinitionKey;
1355
+ min?: Date;
1356
+ max?: Date;
1357
+ presets?: DatePreset[];
1358
+ hideGoToCurrent?: boolean;
1359
+ };
1360
+
1361
+ declare type DateNavigatorFilterDefinition = NavigationFilterDefinitionBase<Date | DateRange | DateValue> & {
1362
+ type: "date-navigator";
1363
+ } & DateNavigationOptions_2;
1364
+
1365
+ declare type DatePickerCompareTo = Record<GranularityDefinitionKey, CompareToDef[]>;
1366
+
1367
+ export declare type DatePickerValue = {
1368
+ value: DateRangeComplete | undefined;
1369
+ granularity: GranularityDefinitionKey;
1370
+ };
1371
+
1372
+ export declare interface DatePreset {
1373
+ label: string;
1374
+ granularity: GranularityDefinitionKey;
1375
+ value: DateRange | (() => DateRange);
1376
+ }
1377
+
1378
+ export declare type DateRange = {
1379
+ from: Date;
1380
+ to?: Date;
1381
+ };
1382
+
1383
+ export declare type DateRangeComplete = Required<DateRange>;
1384
+
1385
+ export declare type DateRangeError = {
1386
+ from: boolean;
1387
+ to: boolean;
1388
+ };
1389
+
1390
+ export declare type DateRangeString = {
1391
+ from: string;
1392
+ to?: string;
1393
+ };
1394
+
1395
+ export declare type DateStringFormat = "default" | "long";
1396
+
1397
+ declare type DateValue = {
1398
+ value: DateRangeComplete;
1399
+ valueString: string;
1400
+ granularity: GranularityDefinitionKey;
1401
+ };
1402
+
1403
+ export declare function DaytimePage({ children, header, period, embedded, }: DaytimePageProps): JSX_2.Element;
1404
+
1405
+ export declare namespace DaytimePage {
1406
+ var displayName: string;
1407
+ }
1408
+
1409
+ export declare interface DaytimePageProps extends VariantProps<typeof daytimePageVariants> {
1410
+ children?: React.ReactNode;
1411
+ header?: {
1412
+ title: string;
1413
+ description?: string;
1414
+ employeeFirstName: string;
1415
+ employeeLastName: string;
1416
+ employeeAvatar?: string;
1417
+ pulse?: ComponentProps<typeof F0AvatarPulse>["pulse"];
1418
+ onPulseClick?: ComponentProps<typeof F0AvatarPulse>["onPulseClick"];
1419
+ };
1420
+ embedded?: boolean;
1421
+ }
1422
+
1423
+ declare const daytimePageVariants: (props?: ({
1424
+ period?: "evening" | "morning" | "afternoon" | undefined;
1425
+ } & ({
1426
+ class?: ClassValue;
1427
+ className?: never;
1428
+ } | {
1429
+ class?: never;
1430
+ className?: ClassValue;
1431
+ })) | undefined) => string;
1432
+
1433
+ declare const defaultTranslations: {
1434
+ readonly approvals: {
1435
+ readonly history: "Approval history";
1436
+ readonly statuses: {
1437
+ readonly waiting: "Waiting";
1438
+ readonly pending: "Pending";
1439
+ readonly approved: "Approved";
1440
+ readonly rejected: "Rejected";
1441
+ };
1442
+ readonly requiredNumbers: {
1443
+ readonly one: "One approval required";
1444
+ readonly other: "{{count}} approvals required";
1445
+ };
1446
+ };
1447
+ readonly navigation: {
1448
+ readonly sidebar: "Main navigation";
1449
+ readonly previous: "Previous";
1450
+ readonly next: "Next";
1451
+ };
1452
+ readonly actions: {
1453
+ readonly add: "Add";
1454
+ readonly edit: "Edit";
1455
+ readonly save: "Save";
1456
+ readonly cancel: "Cancel";
1457
+ readonly copy: "Copy";
1458
+ readonly close: "Close";
1459
+ readonly showAll: "Show all";
1460
+ readonly showLess: "Show less";
1461
+ readonly skipToContent: "Skip to content";
1462
+ readonly view: "View";
1463
+ readonly unselect: "Unselect";
1464
+ readonly search: "Search";
1465
+ readonly clear: "Clear";
1466
+ readonly more: "More";
1467
+ readonly moveUp: "Move up";
1468
+ readonly moveDown: "Move down";
1469
+ readonly thumbsUp: "Like";
1470
+ readonly thumbsDown: "Dislike";
1471
+ readonly other: "Other actions";
1472
+ readonly toggle: "Toggle";
1473
+ };
1474
+ readonly status: {
1475
+ readonly selected: {
1476
+ readonly singular: "Selected";
1477
+ readonly plural: "Selected";
1478
+ };
1479
+ };
1480
+ readonly filters: {
1481
+ readonly label: "Filters";
1482
+ readonly applyFilters: "Apply filters";
1483
+ readonly cancel: "Cancel";
1484
+ readonly failedToLoadOptions: "Failed to load options";
1485
+ readonly retry: "Retry";
1486
+ };
1487
+ readonly collections: {
1488
+ readonly sorting: {
1489
+ readonly noSorting: "No sorting";
1490
+ readonly toggleDirection: "Toggle sorting direction";
1491
+ readonly sortBy: "Sort by";
1492
+ };
1493
+ readonly grouping: {
1494
+ readonly noGrouping: "No grouping";
1495
+ readonly groupBy: "Group by";
1496
+ readonly toggleDirection: "Toggle direction";
1497
+ };
1498
+ readonly actions: {
1499
+ readonly actions: "Actions";
1500
+ };
1501
+ readonly visualizations: {
1502
+ readonly table: "Table view";
1503
+ readonly card: "Card view";
1504
+ readonly list: "List view";
1505
+ readonly kanban: "Kanban view";
1506
+ readonly pagination: {
1507
+ readonly of: "of";
1508
+ };
1509
+ };
1510
+ readonly itemsCount: "items";
1511
+ readonly emptyStates: {
1512
+ readonly noData: {
1513
+ readonly title: "No data";
1514
+ readonly description: "No data available";
1515
+ };
1516
+ readonly noResults: {
1517
+ readonly title: "No results";
1518
+ readonly description: "No results found try another search or clear the filters";
1519
+ readonly clearFilters: "Clear filters";
1520
+ };
1521
+ readonly error: {
1522
+ readonly title: "Error";
1523
+ readonly description: "An error occurred while loading the data";
1524
+ readonly retry: "Retry";
1525
+ };
1526
+ };
1527
+ readonly summaries: {
1528
+ readonly types: {
1529
+ readonly sum: "sum";
1530
+ };
1531
+ };
1532
+ };
1533
+ readonly shortcut: "Shortcut";
1534
+ readonly date: {
1535
+ readonly from: "From";
1536
+ readonly to: "To";
1537
+ readonly none: "None";
1538
+ readonly date: "Date";
1539
+ readonly custom: "Custom period";
1540
+ readonly selectDate: "Select Date";
1541
+ readonly compareTo: "Compare to";
1542
+ readonly presets: {
1543
+ readonly last7Days: "Last 7 days";
1544
+ readonly last30Days: "Last 30 days";
1545
+ readonly last3Months: "Last 3 months";
1546
+ readonly last6Months: "Last 6 months";
1547
+ readonly lastYear: "Last year";
1548
+ readonly last3Years: "Last 3 years";
1549
+ readonly last100Years: "Last 100 years";
1550
+ };
1551
+ readonly range: "Range";
1552
+ readonly selectedBy: "Selected by";
1553
+ readonly groups: {
1554
+ readonly today: "Today";
1555
+ readonly yesterday: "Yesterday";
1556
+ readonly lastWeek: "Last week";
1557
+ readonly lastMonth: "Last month";
1558
+ readonly other: "Other";
1559
+ };
1560
+ readonly granularities: {
1561
+ readonly day: {
1562
+ readonly currentDate: "Today";
1563
+ readonly label: "Day";
1564
+ };
1565
+ readonly week: {
1566
+ readonly currentDate: "This week";
1567
+ readonly label: "Week";
1568
+ readonly long: "Week of %{day} %{month} %{year}";
1569
+ };
1570
+ readonly month: {
1571
+ readonly currentDate: "This month";
1572
+ readonly label: "Month";
1573
+ };
1574
+ readonly quarter: {
1575
+ readonly currentDate: "This quarter";
1576
+ readonly label: "Quarter";
1577
+ };
1578
+ readonly halfyear: {
1579
+ readonly currentDate: "This half year";
1580
+ readonly label: "Half year";
1581
+ };
1582
+ readonly year: {
1583
+ readonly currentDate: "This year";
1584
+ readonly label: "Year";
1585
+ };
1586
+ readonly range: {
1587
+ readonly currentDate: "Today";
1588
+ readonly label: "Range";
1589
+ };
1590
+ };
1591
+ readonly month: {
1592
+ readonly january: "January";
1593
+ readonly february: "February";
1594
+ readonly march: "March";
1595
+ readonly april: "April";
1596
+ readonly may: "May";
1597
+ readonly june: "June";
1598
+ readonly july: "July";
1599
+ readonly august: "August";
1600
+ readonly september: "September";
1601
+ readonly october: "October";
1602
+ readonly november: "November";
1603
+ readonly december: "December";
1604
+ };
1605
+ };
1606
+ readonly favorites: {
1607
+ readonly favorites: "Favorites";
1608
+ readonly remove: "Remove favorite";
1609
+ };
1610
+ readonly notifications: "Notifications";
1611
+ readonly ai: {
1612
+ readonly description: "Chat with AI";
1613
+ readonly expandChat: "Expand chat";
1614
+ readonly minimizeChat: "Minimize chat window";
1615
+ readonly openChat: "Open Chat";
1616
+ readonly scrollToBottom: "Scroll to bottom";
1617
+ readonly welcome: "I'm One. Ask or make anything.";
1618
+ readonly initialMessage: "How can I help you today?";
1619
+ };
1620
+ };
1621
+
1622
+ export declare const DetailsItem: ForwardRefExoticComponent<DetailsItemType & RefAttributes<HTMLDivElement>>;
1623
+
1624
+ export declare const DetailsItemsList: default_2.ForwardRefExoticComponent<DetailsItemsListProps & default_2.RefAttributes<HTMLDivElement>>;
1625
+
1626
+ declare interface DetailsItemsListProps {
1627
+ title?: string;
1628
+ tableView?: boolean;
1629
+ details: DetailsItemType[];
1630
+ }
1631
+
1632
+ export declare interface DetailsItemType {
1633
+ title: string;
1634
+ content: Content | Content[];
1635
+ isHorizontal?: boolean;
1636
+ spacingAtTheBottom?: boolean;
1637
+ }
1638
+
1639
+ export declare const Dialog: ForwardRefExoticComponent<Omit<{
1640
+ header: {
1641
+ type: AlertAvatarProps_2["type"];
1642
+ title: string;
1643
+ description: string;
1644
+ };
1645
+ actions: {
1646
+ primary: {
1647
+ label: string;
1648
+ onClick?: ((event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void | Promise<unknown>) | undefined;
1649
+ disabled?: boolean | undefined | undefined;
1650
+ icon?: IconType_2 | undefined;
1651
+ } & {
1652
+ variant?: "default" | "critical" | "neutral";
1653
+ };
1654
+ secondary: {
1655
+ label: string;
1656
+ onClick?: ((event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void | Promise<unknown>) | undefined;
1657
+ disabled?: boolean | undefined | undefined;
1658
+ icon?: IconType_2 | undefined;
1659
+ };
1660
+ };
1661
+ open?: boolean;
1662
+ onClose?: () => void;
1663
+ } & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
1664
+
1665
+ /**
1666
+ * Remove a property from a union of objects.
1667
+ * @example
1668
+ * type Person = {
1669
+ * name: string
1670
+ * age: number
1671
+ * } | {
1672
+ * name: string
1673
+ * height: number
1674
+ * }
1675
+ *
1676
+ * type PersonWithoutName = DistributiveOmit<Person, "name">
1677
+ * // { age: number } | { height: number }
1678
+ */
1679
+ declare type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
1680
+
1681
+ export declare const Dropdown: (props: DropdownProps) => JSX_2.Element;
1682
+
1683
+ declare type DropdownInternalProps = {
1684
+ items: DropdownItem[];
1685
+ icon?: IconType;
1686
+ size?: ButtonProps["size"];
1687
+ children?: default_2.ReactNode;
1688
+ align?: "start" | "end";
1689
+ open?: boolean;
1690
+ onOpenChange?: (open: boolean) => void;
1691
+ } & DataAttributes;
1692
+
1693
+ export declare type DropdownItem = DropdownItemObject | DropdownItemSeparator;
1694
+
1695
+ export declare type DropdownItemObject = NavigationItem & {
1696
+ type?: "item";
1697
+ onClick?: () => void;
1698
+ icon?: IconType;
1699
+ description?: string;
1700
+ critical?: boolean;
1701
+ avatar?: AvatarVariant;
1702
+ };
1703
+
1704
+ declare type DropdownItemSeparator = {
1705
+ type: "separator";
1706
+ };
1707
+
1708
+ declare const DropdownMenu: React_2.FC<DropdownMenuPrimitive.DropdownMenuProps>;
1709
+
1710
+ declare const DropdownMenuItem: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
1711
+ inset?: boolean;
1712
+ } & React_2.RefAttributes<HTMLDivElement>>;
1713
+
1714
+ declare const DropdownMenuTrigger: React_2.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
1715
+
1716
+ declare type DropdownProps = Omit<DropdownInternalProps, (typeof privateProps_2)[number]> & {
1717
+ open?: boolean;
1718
+ onOpenChange?: (open: boolean) => void;
1719
+ };
1720
+
1721
+ export declare type editorStateType = {
1722
+ html: string;
1723
+ json: JSONContent | null;
1724
+ };
1725
+
1726
+ declare type EmployeeItemProps = {
1727
+ firstName: string;
1728
+ lastName: string;
1729
+ avatarUrl?: URL_2;
1730
+ action?: ActionType;
1731
+ };
1732
+
1733
+ declare type EmptyState = {
1734
+ emoji?: string;
1735
+ title: string;
1736
+ description?: string;
1737
+ actions?: ActionProps[];
1738
+ };
1739
+
1740
+ declare const emptyStatesTypes: readonly ["no-data", "no-results", "error"];
1741
+
1742
+ declare type EmptyStateType = (typeof emptyStatesTypes)[number];
1743
+
1744
+ export declare type enhanceConfig = {
1745
+ onEnhanceText: (params: enhanceTextParams) => Promise<enhancedTextResponse>;
1746
+ enhancementOptions?: EnhancementOption[];
1747
+ enhanceLabels: enhanceLabelsType;
1748
+ };
1749
+
1750
+ export declare type enhancedTextResponse = {
1751
+ success: boolean;
1752
+ text: string;
1753
+ error?: string;
1754
+ };
1755
+
1756
+ export declare type enhanceLabelsType = {
1757
+ defaultError: string;
1758
+ enhanceButtonLabel: string;
1759
+ acceptChangesButtonLabel: string;
1760
+ rejectChangesButtonLabel: string;
1761
+ repeatButtonLabel: string;
1762
+ customPromptPlaceholder: string;
1763
+ loadingEnhanceLabel: string;
1764
+ };
1765
+
1766
+ export declare type EnhancementOption = {
1767
+ id: string;
1768
+ label: string;
1769
+ subOptions?: EnhancementOption[];
1770
+ };
1771
+
1772
+ export declare type enhanceTextParams = {
1773
+ text: string;
1774
+ selectedIntent?: string;
1775
+ customIntent?: string;
1776
+ context?: string;
1777
+ };
1778
+
1779
+ export declare type EntityId = number | string;
1780
+
1781
+ export declare const EntitySelect: (props: EntitySelectProps & {
1782
+ children?: React.ReactNode;
1783
+ }) => JSX_2.Element;
1784
+
1785
+ declare interface EntitySelectCommonProps extends Omit<PopoverProps, "children" | "modal"> {
1786
+ entities: EntitySelectEntity[];
1787
+ groups: EntitySelectNamedGroup[];
1788
+ selectedGroup: string;
1789
+ triggerPlaceholder: string;
1790
+ triggerSelected: string;
1791
+ notFoundTitle: string;
1792
+ notFoundSubtitle: string;
1793
+ onItemExpandedChange: (id: EntityId, expanded: boolean) => void;
1794
+ onGroupChange: (value: string | null) => void;
1795
+ disabled?: boolean;
1796
+ zIndex?: number;
1797
+ loading?: boolean;
1798
+ searchPlaceholder?: string;
1799
+ selectAllLabel?: string;
1800
+ clearLabel?: string;
1801
+ selectedLabel?: string;
1802
+ selectedEntities?: EntitySelectEntity[];
1803
+ alwaysOpen?: boolean;
1804
+ defaultOpen?: boolean;
1805
+ width?: number;
1806
+ hiddenAvatar?: boolean;
1807
+ applySearchToGroup?: boolean;
1808
+ onCreate?: (partialName: string) => void;
1809
+ onCreateLabel?: string;
1810
+ actions?: Action[];
1811
+ }
1812
+
1813
+ export declare type EntitySelectEntity = {
1814
+ id: EntityId;
1815
+ name: string;
1816
+ avatar?: string;
1817
+ expanded?: boolean;
1818
+ searchKeys?: string[];
1819
+ subItems?: EntitySelectSubEntity[];
1820
+ };
1821
+
1822
+ export declare interface EntitySelectMultipleProps extends EntitySelectCommonProps {
1823
+ onSelect: (entities: EntitySelectEntity[]) => void;
1824
+ singleSelector: false | undefined;
1825
+ }
1826
+
1827
+ export declare type EntitySelectNamedGroup = {
1828
+ value: string;
1829
+ label: string;
1830
+ groupType?: "avatar" | "team";
1831
+ };
1832
+
1833
+ export declare type EntitySelectProps = EntitySelectSingleProps | EntitySelectMultipleProps;
1834
+
1835
+ export declare interface EntitySelectSingleProps extends EntitySelectCommonProps {
1836
+ onSelect: (entity: EntitySelectEntity | null) => void;
1837
+ singleSelector: true;
1838
+ }
1839
+
1840
+ export declare type EntitySelectSubEntity = {
1841
+ subId: EntityId;
1842
+ subName: string;
1843
+ subAvatar?: string;
1844
+ subSearchKeys?: string[];
1845
+ };
1846
+
1847
+ declare type Enumerate<N extends number, Acc extends number[] = []> = Acc["length"] extends N ? [...Acc, N][number] : Enumerate<N, [...Acc, Acc["length"]]>;
1848
+
1849
+ export declare type errorConfig = {
1850
+ onClose?: () => void;
1851
+ closeErrorButtonLabel?: string;
1852
+ };
1853
+
1854
+ declare interface ErrorMessageProps {
1855
+ title: string;
1856
+ description: string;
1857
+ }
1858
+
1859
+ /**
1860
+ * Extracts the property keys from a record type.
1861
+ * @template RecordType - The type containing the properties to extract
1862
+ */
1863
+ export declare type ExtractPropertyKeys<RecordType> = keyof RecordType;
1864
+
1865
+ declare const F0AvatarAlert: ({ type, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }: AlertAvatarProps) => JSX_2.Element;
1866
+
1867
+ declare type F0AvatarCompanyProps = {
1868
+ name: string;
1869
+ src?: string;
1870
+ size?: BaseAvatarProps["size"];
1871
+ badge?: AvatarBadge;
1872
+ } & Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">;
1873
+
1874
+ declare type F0AvatarFileProps = Omit<React.ComponentPropsWithoutRef<typeof Avatar>, "type" | "size"> & {
1875
+ file: FileDef;
1876
+ size?: AvatarFileSize;
1877
+ badge?: AvatarBadge;
1878
+ } & Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">;
1879
+
1880
+ /**
1881
+ * Module avatar
1882
+ * @description A component that displays a module avatar
1883
+ * @experimental
1884
+ * @returns
1885
+ */
1886
+ export declare function F0AvatarModule({ size, module, ...props }: F0AvatarModuleProps): JSX_2.Element;
1887
+
1888
+ export declare type F0AvatarModuleProps = VariantProps<typeof moduleAvatarVariants> & {
1889
+ module: ModuleId;
1890
+ } & Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">;
1891
+
1892
+ declare type F0AvatarPersonProps = {
1893
+ /**
1894
+ * The first name of the person.
1895
+ */
1896
+ firstName: string;
1897
+ /**
1898
+ * The last name of the person.
1899
+ */
1900
+ lastName: string;
1901
+ /**
1902
+ * The source of the person's image.
1903
+ */
1904
+ src?: string;
1905
+ /**
1906
+ * The size of the avatar.
1907
+ */
1908
+ size?: BaseAvatarProps["size"];
1909
+ /**
1910
+ * The badge to display on the avatar. Can be a module badge or a custom badge.
1911
+ */
1912
+ badge?: AvatarBadge;
1913
+ } & Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">;
1914
+
1915
+ declare const F0AvatarPulse: {
1916
+ ({ firstName, lastName, src, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, pulse, onPulseClick, }: F0AvatarPulseProps): JSX_2.Element;
1917
+ displayName: string;
1918
+ };
1919
+
1920
+ declare type F0AvatarPulseProps = {
1921
+ /**
1922
+ * The first name of the person.
1923
+ */
1924
+ firstName: string;
1925
+ /**
1926
+ * The last name of the person.
1927
+ */
1928
+ lastName: string;
1929
+ /**
1930
+ * The source of the person's image.
1931
+ */
1932
+ src?: string;
1933
+ /**
1934
+ * The pulse to display on the avatar.
1935
+ */
1936
+ pulse?: Pulse;
1937
+ /**
1938
+ * The callback to be called when the pulse is clicked.
1939
+ */
1940
+ onPulseClick: () => void;
1941
+ } & Pick<BaseAvatarProps_2, "aria-label" | "aria-labelledby">;
1942
+
1943
+ declare type F0AvatarTeamProps = {
1944
+ /**
1945
+ * The name of the team.
1946
+ */
1947
+ name: string;
1948
+ /**
1949
+ * The source of the team's image.
1950
+ */
1951
+ src?: string;
1952
+ /**
1953
+ * The size of the avatar.
1954
+ */
1955
+ size?: BaseAvatarProps["size"];
1956
+ /**
1957
+ * The badge to display on the avatar. Can be a module badge or a custom badge.
1958
+ */
1959
+ badge?: AvatarBadge;
1960
+ } & Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">;
1961
+
1962
+ export declare const F0ButtonToggle: ForwardRefExoticComponent<F0ButtonToggleProps & RefAttributes<HTMLButtonElement>>;
1963
+
1964
+ declare interface F0ButtonToggleProps {
1965
+ selected?: boolean;
1966
+ onSelectedChange?: (selected: boolean) => void;
1967
+ label: string;
1968
+ disabled?: boolean;
1969
+ icon: IconType;
1970
+ size?: "sm" | "md" | "lg";
1971
+ }
1972
+
1973
+ export declare function F0TableOfContent(props: TOCProps): JSX_2.Element;
1974
+
1975
+ declare const F0TagAlert: ForwardRefExoticComponent<Props_8 & RefAttributes<HTMLDivElement>>;
1976
+
1977
+ declare const F0TagRaw: ForwardRefExoticComponent<Props_4 & RefAttributes<HTMLDivElement>>;
1978
+
1979
+ export declare const F1SearchBox: ForwardRefExoticComponent< {
1980
+ value?: string;
1981
+ threshold?: number;
1982
+ debounceTime?: number;
1983
+ autoFocus?: boolean;
1984
+ onChange?: (value: string) => void;
1985
+ } & Pick<InputFieldProps<string>, "name" | "disabled" | "size" | "loading" | "placeholder" | "clearable"> & RefAttributes<HTMLInputElement>>;
1986
+
1987
+ declare type FavoriteMenuItem = ({
1988
+ type: "icon";
1989
+ icon: IconType;
1990
+ } | {
1991
+ type: "avatar";
1992
+ avatar?: AvatarVariant;
1993
+ }) & {
1994
+ tooltip?: string;
1995
+ } & NavigationItem;
1996
+
1997
+ export declare const FILE_TYPES: {
1998
+ readonly PDF: "pdf";
1999
+ readonly IMAGE: "image";
2000
+ readonly DOC: "doc";
2001
+ readonly EXCEL: "excel";
2002
+ readonly PPT: "ppt";
2003
+ readonly TXT: "txt";
2004
+ readonly VIDEO: "video";
2005
+ readonly AUDIO: "audio";
2006
+ readonly ARCHIVE: "archive";
2007
+ readonly CSV: "csv";
2008
+ readonly HTML: "html";
2009
+ readonly MARKDOWN: "markdown";
2010
+ };
2011
+
2012
+ export declare type FileAction = {
2013
+ icon?: IconType;
2014
+ label: string;
2015
+ onClick: () => void;
2016
+ critical?: boolean;
2017
+ };
2018
+
2019
+ declare type FileDef = {
2020
+ name: string;
2021
+ type: string;
2022
+ };
2023
+
2024
+ export declare const FileItem: ForwardRefExoticComponent<FileItemProps & RefAttributes<HTMLDivElement>>;
2025
+
2026
+ declare interface FileItemProps extends React.HTMLAttributes<HTMLDivElement> {
2027
+ file: File;
2028
+ actions?: FileAction[];
2029
+ disabled?: boolean;
2030
+ }
2031
+
2032
+ export declare type filesConfig = {
2033
+ onFiles: (files: File[]) => void;
2034
+ multipleFiles: boolean;
2035
+ maxFileSize?: number;
2036
+ acceptedFileType?: FileType[];
2037
+ };
2038
+
2039
+ export declare type FileType = (typeof FILE_TYPES)[keyof typeof FILE_TYPES];
2040
+
2041
+ /**
2042
+ * Filters the actions based on the enabled property
2043
+ * @param actions - The actions to filter
2044
+ * @returns An array of filtered actions
2045
+ */
2046
+ export declare const filterActions: (actions: SecondaryActionsDefinition) => SecondaryActionsItemDefinition[];
2047
+
2048
+ /**
2049
+ * Union of all available filter types.
2050
+ * Used to define possible filter configurations in a collection.
2051
+ * @template T - Type of values for the InFilterDefinition
2052
+ */
2053
+ export declare type FilterDefinition = FilterDefinitionsByType[keyof FilterDefinitionsByType];
2054
+
2055
+ /**
2056
+ * All the available filter types
2057
+ */
2058
+ declare type FilterDefinitionsByType<T = unknown> = {
2059
+ in: InFilterDefinition<T>;
2060
+ search: SearchFilterDefinition;
2061
+ date: DateFilterDefinition;
2062
+ };
2063
+
2064
+ /**
2065
+ * Filters the actions based on the enabled property
2066
+ * @param actions - The actions to filter
2067
+ * @param item - The item to filter the actions for
2068
+ * @returns An array of filtered actions
2069
+ */
2070
+ export declare const filterItemActions: <T extends RecordType>(actions: ItemActionsDefinition<T> | undefined, item: T) => ActionDefinition[];
2071
+
2072
+ /**
2073
+ * Configuration options for filters in a collection.
2074
+ * Defines the structure and behavior of available filters.
2075
+ * @template FilterKeys - String literal type for filter keys
2076
+ */
2077
+ export declare type FilterOptions<FilterKeys extends string> = Record<FilterKeys, FilterDefinition>;
2078
+
2079
+ /**
2080
+ * Record of filter definitions for a collection.
2081
+ * Maps filter keys to their respective definitions.
2082
+ * Used to configure the available filters for a collection.
2083
+ * @template Keys - String literal type for filter keys
2084
+ */
2085
+ export declare type FiltersDefinition<Keys extends string = string> = Record<Keys, FilterDefinition>;
2086
+
2087
+ /**
2088
+ * Current state of all filters in a collection.
2089
+ * Maps filter keys to their current values.
2090
+ * This represents the active filter selections at any given time.
2091
+ * @template Definition - Record of filter definitions
2092
+ */
2093
+ export declare type FiltersState<Definition extends Record<string, FilterDefinition>> = {
2094
+ [K in keyof Definition]?: FilterValue<Definition[K]>;
2095
+ };
2096
+
2097
+ declare type FilterTypeContext<Options extends object = never> = {
2098
+ schema: FilterTypeSchema<Options>;
2099
+ i18n: TranslationsType;
2100
+ };
2101
+
2102
+ declare type FilterTypeDefinition<Value = unknown, Options extends object = never, EmptyValue = Value> = {
2103
+ /** Check if the value is empty */
2104
+ emptyValue: EmptyValue;
2105
+ isEmpty: (value: Value, context: FilterTypeContext<Options>) => boolean;
2106
+ /** Render the filter form */
2107
+ render: <Schema extends FilterTypeSchema<Options>>(props: {
2108
+ schema: Schema;
2109
+ value: Value;
2110
+ onChange: (value: Value) => void;
2111
+ }) => React.ReactNode;
2112
+ /**
2113
+ * The value label to display in the filter chips
2114
+ */
2115
+ chipLabel: (value: Value, context: FilterTypeContext<Options>) => string | Promise<string>;
2116
+ /**
2117
+ * The default options to render a filter of this type, for example max and min date for a date filter, the list of options for an in filter, etc
2118
+ */
2119
+ defaultOptions?: Options;
2120
+ /**
2121
+ * The height of the filter form container in pixels
2122
+ */
2123
+ formHeight?: number;
2124
+ };
2125
+
2126
+ declare type FilterTypeKey = keyof typeof filterTypes;
2127
+
2128
+ declare const filterTypes: {
2129
+ readonly in: FilterTypeDefinition<string[], InFilterOptions<string>>;
2130
+ readonly search: FilterTypeDefinition<string>;
2131
+ readonly date: FilterTypeDefinition<Date | DateRange | undefined, DateFilterOptions>;
2132
+ };
2133
+
2134
+ declare type FilterTypeSchema<Options extends object = never> = {
2135
+ options: Options extends never ? never : Options;
2136
+ label: string;
2137
+ };
2138
+
2139
+ /**
2140
+ * Extracts the appropriate value type for a given filter:
2141
+ * - InFilter -> Array of selected values of type T
2142
+ * - SearchFilter -> Search string
2143
+ *
2144
+ * This type is used to ensure type safety when working with filter values.
2145
+ * @template T - The filter definition type
2146
+ */
2147
+ export declare type FilterValue<T extends FilterDefinition> = T extends InFilterDefinition<infer U> ? U[] : T extends SearchFilterDefinition ? string : T extends DateFilterDefinition ? DateRange | Date | undefined : never;
2148
+
2149
+ export declare type FlattenedItem = {
2150
+ parent: EntitySelectEntity | null;
2151
+ subItem: EntitySelectSubEntity & {
2152
+ expanded?: boolean;
2153
+ subItems?: EntitySelectSubEntity[];
2154
+ };
2155
+ };
2156
+
2157
+ export declare function Form<Schema extends SchemaType, FormData extends InferSchema<Schema>>({ onSubmit, children, ...form }: {
2158
+ children: React.ReactNode;
2159
+ } & FormType<Schema, FormData>): JSX_2.Element;
2160
+
2161
+ export declare function FormActions<Schema extends SchemaType, FormData extends InferSchema<Schema>>({ submitLabel, form, }: {
2162
+ submitLabel: string;
2163
+ form: FormType<Schema, FormData>;
2164
+ }): JSX_2.Element;
2165
+
2166
+ declare type FormError<Fields extends FieldValues> = {
2167
+ success: false;
2168
+ rootMessage?: string;
2169
+ errors: Partial<Record<Path<Fields>, string>>;
2170
+ };
2171
+
2172
+ export declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ label, description, children, ...props }: FormFieldProps<TFieldValues, TName> & {
2173
+ children: (field: ControllerRenderProps<TFieldValues>) => JSX.Element;
2174
+ }) => JSX_2.Element;
2175
+
2176
+ export declare type FormFieldProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>> = Pick<ControllerProps<TFieldValues, TName>, "name" | "control"> & {
2177
+ label: string;
2178
+ description?: string;
2179
+ };
2180
+
2181
+ declare type FormType<T extends SchemaType, FormType extends InferSchema<T>> = UseFormReturn<FormType, unknown, undefined> & {
2182
+ onSubmit: ReturnType<UseFormHandleSubmit<FormType>>;
2183
+ };
2184
+
2185
+ declare interface FrameContextType {
2186
+ isSmallScreen: boolean;
2187
+ sidebarState: SidebarState;
2188
+ prevSidebarState: SidebarState | null;
2189
+ toggleSidebar: () => void;
2190
+ }
2191
+
2192
+ export declare const getGranularityDefinition: (granularityKey: GranularityDefinitionKey) => GranularityDefinition;
2193
+
2194
+ export declare const getGranularitySimpleDefinition: (granularityKey: GranularityDefinitionKey) => GranularityDefinitionSimple;
2195
+
2196
+ /**
2197
+ * Get the secondaryActionsItems from the secondaryActionsDefinition or the actions property
2198
+ */
2199
+ export declare const getSecondaryActions: (secondaryActions: SecondaryActionsDefinition | undefined) => SecondaryActionsItemDefinition[];
2200
+
2201
+ export declare interface GranularityDefinition {
2202
+ calendarMode?: CalendarMode;
2203
+ calendarView: CalendarView;
2204
+ label: (viewDate: Date, i18n: TranslationsType) => ReactNode;
2205
+ toRangeString: (date: Date | DateRange | undefined | null, i18n: TranslationsType, format?: DateStringFormat) => DateRangeString;
2206
+ toRange: <T extends Date | DateRange | undefined | null>(date: T) => T extends Date | DateRange ? DateRangeComplete : T;
2207
+ toString: (date: Date | DateRange | undefined | null, i18n: TranslationsType, format?: DateStringFormat) => string;
2208
+ fromString: (dateStr: string | DateRangeString, i18n: TranslationsType) => DateRange | null;
2209
+ navigateUIView: (viewDate: Date, direction: -1 | 1) => Date;
2210
+ navigate: (date: Date, direction: -1 | 1) => Date;
2211
+ getViewDateFromDate: (date: Date) => Date;
2212
+ render: (renderProps: {
2213
+ mode: CalendarMode;
2214
+ selected: Date | DateRange | null;
2215
+ onSelect: (date: Date | DateRange | null) => void;
2216
+ month: Date;
2217
+ onMonthChange: (date: Date) => void;
2218
+ motionDirection: number;
2219
+ minDate?: Date;
2220
+ maxDate?: Date;
2221
+ setViewDate: (date: Date) => void;
2222
+ viewDate: Date;
2223
+ }) => ReactNode;
2224
+ add: (date: DateRangeComplete, delta: number) => DateRangeComplete;
2225
+ getPrevNext(date: DateRange, options: DateNavigationOptions): PrevNextDateNavigation;
2226
+ }
2227
+
2228
+ export declare type GranularityDefinitionKey = keyof typeof granularityDefinitions;
2229
+
2230
+ export declare const granularityDefinitions: Record<string, GranularityDefinition>;
2231
+
2232
+ export declare type GranularityDefinitionSimple = Pick<GranularityDefinition, "toRangeString" | "toString">;
2233
+
2234
+ /**
2235
+ * Defines the structure and configuration of a grouping options for a data source.
2236
+ * @template RecordType - The type of records in the collection
2237
+ */
2238
+ export declare type GroupingDefinition<R extends RecordType> = {
2239
+ /** Whether grouping is mandatory or the user can chose not to group */
2240
+ mandatory?: boolean;
2241
+ hideSelector?: boolean;
2242
+ groupBy: {
2243
+ [K in RecordPaths<R>]?: {
2244
+ /** The label for the grouping */
2245
+ name: string;
2246
+ /** The item count for the grouping */
2247
+ label: (groupId: RecordPathValue<R, K>, filters: FiltersState<FiltersDefinition>) => string | Promise<string>;
2248
+ itemCount?: (groupId: RecordPathValue<R, K>, filters: FiltersState<FiltersDefinition>) => number | undefined | Promise<number | undefined>;
2249
+ };
2250
+ };
2251
+ } & ({
2252
+ /** Whether the grouping is non collapsible */
2253
+ collapsible: true;
2254
+ /** The initial open groups */
2255
+ defaultOpenGroups?: boolean | string[];
2256
+ } | {
2257
+ collapsible?: false;
2258
+ defaultOpenGroups?: never;
2259
+ });
2260
+
2261
+ /**
2262
+ * The selected the grouping state
2263
+ * @template Grouping - The grouping definition
2264
+ */
2265
+ export declare type GroupingState<R extends RecordType, Grouping extends GroupingDefinition<R>> = {
2266
+ field: keyof Grouping["groupBy"];
2267
+ order: SortOrder;
2268
+ } | undefined;
2269
+
2270
+ declare type HeaderProps = {
2271
+ module: {
2272
+ id: ModuleId;
2273
+ name: string;
2274
+ href: string;
2275
+ };
2276
+ statusTag?: {
2277
+ text: string;
2278
+ variant: StatusVariant;
2279
+ tooltip?: string;
2280
+ };
2281
+ actions?: PageAction[];
2282
+ navigation?: NavigationProps;
2283
+ embedded?: boolean;
2284
+ breadcrumbs?: BreadcrumbsProps["breadcrumbs"];
2285
+ productUpdates?: {
2286
+ isVisible?: boolean;
2287
+ } & ProductUpdatesProp;
2288
+ favorites?: {
2289
+ isMarked: boolean;
2290
+ onChange: (newValue: boolean) => void;
2291
+ label: string;
2292
+ };
2293
+ };
2294
+
2295
+ export declare type heightType = "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | "auto";
2296
+
2297
+ export declare const HighlightBanner: ({ title, subtitle, buttonLabel, onClick, }: HighlightBannerProps) => JSX_2.Element;
2298
+
2299
+ declare type HighlightBannerProps = {
2300
+ title: string;
2301
+ subtitle: string;
2302
+ buttonLabel: string;
2303
+ onClick?: () => void;
2304
+ };
2305
+
2306
+ export declare const HILActionConfirmation: ({ text, confirmationText, onConfirm, cancelText, onCancel, }: HILActionConfirmationProps) => JSX_2.Element;
2307
+
2308
+ export declare type HILActionConfirmationProps = {
2309
+ text?: string;
2310
+ confirmationText: string;
2311
+ onConfirm: () => void;
2312
+ cancelText: string;
2313
+ onCancel: () => void;
2314
+ };
2315
+
2316
+ declare type HTMLString = string;
2317
+
2318
+ declare const iconSizes: {
2319
+ readonly xs: "xs";
2320
+ readonly sm: "xs";
2321
+ readonly md: "sm";
2322
+ readonly lg: "md";
2323
+ };
2324
+
2325
+ declare type IconType = ForwardRefExoticComponent<SVGProps<SVGSVGElement> & RefAttributes<SVGSVGElement> & {
2326
+ animate?: "normal" | "animate";
2327
+ }>;
2328
+
2329
+ declare type IdStructure = {
2330
+ id: string;
2331
+ children?: IdStructure[];
2332
+ };
2333
+
2334
+ declare const Indicator: ForwardRefExoticComponent<IndicatorProps & RefAttributes<HTMLDivElement>>;
2335
+
2336
+ declare type IndicatorProps = {
2337
+ content: string;
2338
+ label: string;
2339
+ color?: string;
2340
+ } & ({
2341
+ icon?: IconType;
2342
+ } | {
2343
+ emoji?: string;
2344
+ });
2345
+
2346
+ export declare const IndicatorsList: ForwardRefExoticComponent<IndicatorsListProps & RefAttributes<HTMLDivElement>>;
2347
+
2348
+ export declare interface IndicatorsListProps {
2349
+ items: ComponentProps<typeof Indicator>[];
2350
+ }
2351
+
2352
+ declare type InferSchema<T extends SchemaType> = z.infer<T>;
2353
+
2354
+ declare type InFilterDefinition<T = unknown> = BaseFilterDefinition<"in"> & {
2355
+ options: InFilterOptions_2<T>;
2356
+ };
2357
+
2358
+ /**
2359
+ * Represents a selectable option in filter components.
2360
+ * Used primarily with InFilterDefinition.
2361
+ * @template T - Type of the underlying value
2362
+ */
2363
+ declare type InFilterOptionItem<T = unknown> = {
2364
+ /** The value used for filtering */
2365
+ value: T;
2366
+ /** Human-readable label for the option */
2367
+ label: string;
2368
+ };
2369
+
2370
+ /**
2371
+ * Represents the options for the InFilter component.
2372
+ * @template T - Type of the underlying value
2373
+ */
2374
+ declare type InFilterOptions_2<T> = {
2375
+ cache?: boolean;
2376
+ options: Array<InFilterOptionItem<T>> | (() => Array<InFilterOptionItem<T>> | Promise<Array<InFilterOptionItem<T>>>);
2377
+ };
2378
+
2379
+ /**
2380
+ * Represents a paginated response structure tailored for infinite scroll implementations.
2381
+ *
2382
+ * @template TRecord The type of the individual record contained in the paginated response.
2383
+ *
2384
+ * @extends BasePaginatedResponse
2385
+ *
2386
+ * @property {"infinite-scroll"} type Identifies the pagination type as "infinite-scroll".
2387
+ * @property {string | null} cursor The current position cursor used to fetch the next set of records.
2388
+ * @property {boolean} hasMore Indicates whether there are additional records available for loading.
2389
+ */
2390
+ export declare type InfiniteScrollPaginatedResponse<TRecord> = BasePaginatedResponse<TRecord> & {
2391
+ type: Extract<PaginationType, "infinite-scroll">;
2392
+ /**
2393
+ * Represents the current position cursor for pagination.
2394
+ * This is typically a string (often Base64-encoded) that represents
2395
+ * the position of the last item in the current result set.
2396
+ * Used to fetch the next page of results.
2397
+ */
2398
+ cursor: string | null;
2399
+ /**
2400
+ * A boolean flag indicating whether there are more items available for fetching.
2401
+ * Used to determine if additional requests should be made for pagination.
2402
+ */
2403
+ hasMore: boolean;
2404
+ };
2405
+
2406
+ export declare const Input: <T extends string = string>(props: InputProps<T>) => JSX_2.Element;
2407
+
2408
+ declare const Input_2: React_2.ForwardRefExoticComponent<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size"> & Pick<InputFieldProps<string>, "label" | "onChange" | "role" | "status" | "disabled" | "size" | "icon" | "loading" | "hideLabel" | "append" | "maxLength" | "required" | "error" | "labelIcon" | "onClickContent" | "hint" | "clearable" | "isEmpty" | "emptyValue" | "hideMaxLength" | "appendTag" | "lengthProvider"> & React_2.RefAttributes<HTMLInputElement>>;
2409
+
2410
+ declare const INPUTFIELD_SIZES: readonly ["sm", "md"];
2411
+
2412
+ declare type InputFieldProps<T> = {
2413
+ label: string;
2414
+ placeholder?: string;
2415
+ labelIcon?: IconType;
2416
+ hideLabel?: boolean;
2417
+ hidePlaceholder?: boolean;
2418
+ name?: string;
2419
+ onClickPlaceholder?: () => void;
2420
+ onClickChildren?: () => void;
2421
+ onClickContent?: () => void;
2422
+ value?: T | undefined;
2423
+ onChange?: (value: T) => void;
2424
+ size?: InputFieldSize;
2425
+ error?: string | boolean;
2426
+ status?: InputFieldStatus;
2427
+ hint?: string;
2428
+ disabled?: boolean;
2429
+ className?: string;
2430
+ required?: boolean;
2431
+ readonly?: boolean;
2432
+ clearable?: boolean;
2433
+ role?: string;
2434
+ "aria-controls"?: AriaAttributes["aria-controls"];
2435
+ "aria-expanded"?: AriaAttributes["aria-expanded"];
2436
+ onClear?: () => void;
2437
+ onFocus?: () => void;
2438
+ onBlur?: () => void;
2439
+ canGrow?: boolean;
2440
+ children: React.ReactNode & {
2441
+ onFocus?: () => void;
2442
+ onBlur?: () => void;
2443
+ onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
2444
+ onChange?: (value: T | React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
2445
+ value?: T;
2446
+ };
2447
+ icon?: IconType;
2448
+ isEmpty?: (value: T | undefined) => boolean;
2449
+ emptyValue?: T;
2450
+ maxLength?: number;
2451
+ hideMaxLength?: boolean;
2452
+ append?: React.ReactNode;
2453
+ appendTag?: string;
2454
+ lengthProvider?: (value: T | undefined) => number;
2455
+ loading?: boolean;
2456
+ };
2457
+
2458
+ declare type InputFieldSize = (typeof INPUTFIELD_SIZES)[number];
2459
+
2460
+ declare type InputFieldStatus = {
2461
+ type: Exclude<InputFieldStatusType, "error">;
2462
+ message: string;
2463
+ } | {
2464
+ type: "error";
2465
+ message?: string;
2466
+ };
2467
+
2468
+ declare const inputFieldStatus: readonly ["default", "warning", "info", "error"];
2469
+
2470
+ declare type InputFieldStatusType = (typeof inputFieldStatus)[number];
2471
+
2472
+ export declare type InputProps<T extends string> = Pick<ComponentProps<typeof Input_2>, "ref"> & Pick<InputFieldProps<T>, "disabled" | "size" | "onChange" | "value" | "placeholder" | "clearable" | "maxLength" | "label" | "labelIcon" | "icon" | "hideLabel" | "name" | "error" | "status" | "hint"> & {
2473
+ type?: Exclude<HTMLInputTypeAttribute, "number">;
2474
+ };
2475
+
2476
+ declare const internalAvatarColors: readonly ["viridian", "malibu", "yellow", "purple", "lilac", "barbie", "smoke", "army", "flubber", "indigo", "camel"];
2477
+
2478
+ declare type InternalAvatarProps = React_2.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root> & {
2479
+ size?: (typeof internalAvatarSizes)[number];
2480
+ type?: (typeof internalAvatarTypes)[number];
2481
+ color?: (typeof internalAvatarColors)[number];
2482
+ };
2483
+
2484
+ declare const internalAvatarSizes: readonly ["xsmall", "small", "medium", "large", "xlarge", "xxlarge"];
2485
+
2486
+ declare const internalAvatarTypes: readonly ["base", "rounded"];
2487
+
2488
+ export declare function Item({ item, counter, isActive, collapsible, isExpanded, onToggleExpanded, sortable, children, }: TOCItemProps): JSX_2.Element;
2489
+
2490
+ declare const Item_2: ForwardRefExoticComponent<ItemProps & RefAttributes<HTMLLIElement>>;
2491
+
2492
+ export declare type ItemActionsDefinition<T extends RecordType> = (item: T) => ActionDefinition[] | undefined;
2493
+
2494
+ declare type ItemDefinition = {
2495
+ title: string;
2496
+ description?: string[];
2497
+ avatar?: AvatarVariant;
2498
+ };
2499
+
2500
+ declare type ItemProps = {
2501
+ text: string;
2502
+ icon?: IconType;
2503
+ action?: ActionType;
2504
+ };
2505
+
2506
+ declare type Items = typeof Item_2 | typeof PersonItem | typeof CompanyItem | typeof TeamItem;
2507
+
2508
+ declare type Items_2 = SelectItemObject<string>[];
2509
+
2510
+ export declare function ItemSectionHeader({ item, children, isActive, collapsible, isExpanded, onToggleExpanded, sortable, }: TOCItemSectionHeaderProps): JSX_2.Element;
2511
+
2512
+ declare type KanbanLaneDefinition = {
2513
+ id: string;
2514
+ title: string;
2515
+ variant?: Variant;
2516
+ };
2517
+
2518
+ declare type KanbanVisualizationOptions<Record extends RecordType, _Filters extends FiltersDefinition, _Sortings extends SortingsDefinition> = {
2519
+ lanes: ReadonlyArray<KanbanLaneDefinition>;
2520
+ title?: (record: Record) => string;
2521
+ description?: (record: Record) => string;
2522
+ avatar?: (record: Record) => CardAvatarVariant;
2523
+ metadata?: (record: Record) => ReadonlyArray<{
2524
+ icon: IconType;
2525
+ property: CardMetadataProperty;
2526
+ }>;
2527
+ onMove?: (fromLaneId: string, toLaneId: string, sourceId: string, toIndex: number | null) => Promise<void>;
2528
+ };
2529
+
2530
+ /**
2531
+ * Represents a single lane configuration with its own filters
2532
+ * @template Filters - The available filter configurations for this lane
2533
+ */
2534
+ export declare type LaneDataSource<Filters extends FiltersDefinition> = {
2535
+ /** Unique identifier for the lane */
2536
+ id: string;
2537
+ /** Current state of applied filters for this lane */
2538
+ filters: FiltersState<Filters>;
2539
+ };
2540
+
2541
+ /**
2542
+ * Data adapter configuration that supports lanes (must use infinite-scroll)
2543
+ * @template Record - The type of records in the collection
2544
+ * @template Filters - The available filter configurations
2545
+ */
2546
+ export declare type LanesSupportedDataAdapter<Record extends RecordType, Filters extends FiltersDefinition, NavigationFilters extends NavigationFiltersDefinition> = PaginatedDataAdapter<Record, Filters, NavigationFilters> & {
2547
+ /** Lanes require infinite-scroll pagination */
2548
+ paginationType: Extract<PaginationType, "infinite-scroll">;
2549
+ };
2550
+
2551
+ export declare type lastIntentType = {
2552
+ selectedIntent?: string;
2553
+ customIntent?: string;
2554
+ } | null;
2555
+
2556
+ declare type Level = "info" | "warning" | "critical";
2557
+
2558
+ export declare const LineChartWidget: ForwardRefExoticComponent<Omit<WidgetProps_2 & {
2559
+ chart: LineChartProps;
2560
+ } & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
2561
+
2562
+ declare type LinkProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
2563
+ exactMatch?: boolean;
2564
+ disabled?: boolean;
2565
+ };
2566
+
2567
+ declare type ListPropertyDefinition<R, Sortings extends SortingsDefinition> = WithOptionalSorting_2<R, Sortings> & PropertyDefinition_2<R>;
2568
+
2569
+ declare type ListVisualizationOptions<R extends RecordType, _Filters extends FiltersDefinition, Sortings extends SortingsDefinition> = {
2570
+ itemDefinition: (record: R) => ItemDefinition;
2571
+ fields: ReadonlyArray<ListPropertyDefinition<R, Sortings>>;
2572
+ };
2573
+
2574
+ declare interface LiveCompanionLabels {
2575
+ deleteBlock: string;
2576
+ expand: string;
2577
+ collapse: string;
2578
+ oneTopicWithCommentary: string;
2579
+ multipleTopicsWithCommentary: string;
2580
+ }
2581
+
2582
+ declare interface LoadingStateProps {
2583
+ label: string;
2584
+ }
2585
+
2586
+ export declare const MAX_EXPANDED_ACTIONS = 2;
2587
+
2588
+ export declare type MentionedUser = {
2589
+ id: number;
2590
+ label: string;
2591
+ image_url?: string;
2592
+ href?: string;
2593
+ };
2594
+
2595
+ export declare interface MentionItemComponentProps {
2596
+ item: MentionedUser;
2597
+ index: number;
2598
+ selected: boolean;
2599
+ }
2600
+
2601
+ export declare interface MentionListRef {
2602
+ onKeyDown: (props: {
2603
+ event: KeyboardEvent;
2604
+ }) => boolean;
2605
+ }
2606
+
2607
+ export declare interface MentionNodeAttrs {
2608
+ id: string;
2609
+ label: string;
2610
+ image_url?: string;
2611
+ href?: string;
2612
+ }
2613
+
2614
+ export declare type MentionsConfig = {
2615
+ onMentionQueryStringChanged?: (queryString: string) => Promise<MentionedUser[]> | undefined;
2616
+ users: MentionedUser[];
2617
+ };
2618
+
2619
+ export declare function Menu({ tree, onCollapse, onSort, onFavoritesChange, favorites, }: MenuProps): JSX_2.Element;
2620
+
2621
+ export declare interface MenuCategory {
2622
+ id: string;
2623
+ title: string;
2624
+ items: MenuItem[];
2625
+ isRoot?: boolean;
2626
+ isOpen?: boolean;
2627
+ isSortable?: boolean;
2628
+ }
2629
+
2630
+ export declare interface MenuItem extends NavigationItem {
2631
+ icon: IconType;
2632
+ badge?: number;
2633
+ }
2634
+
2635
+ export declare interface MenuProps {
2636
+ tree: MenuCategory[];
2637
+ favorites?: FavoriteMenuItem[];
2638
+ onCollapse?: (category: MenuCategory, isOpen: boolean) => void;
2639
+ onSort?: (categories: MenuCategory[]) => void;
2640
+ onFavoritesChange?: (favorites: FavoriteMenuItem[]) => void;
2641
+ }
2642
+
2643
+ export declare interface Message {
2644
+ userId: string;
2645
+ text: string;
2646
+ dateTime: string;
2647
+ }
2648
+
2649
+ declare type MetadataAction = {
2650
+ icon: IconType;
2651
+ label: string;
2652
+ onClick: () => void;
2653
+ type?: never;
2654
+ };
2655
+
2656
+ declare type MetadataCopyAction = {
2657
+ icon?: never;
2658
+ label?: never;
2659
+ onClick?: never;
2660
+ copyValue?: string;
2661
+ type: "copy";
2662
+ };
2663
+
2664
+ declare function MetadataItem({ item }: {
2665
+ item: MetadataItem;
2666
+ }): JSX_2.Element;
2667
+
2668
+ declare interface MetadataItem {
2669
+ label: string;
2670
+ value: MetadataItemValue;
2671
+ actions?: (MetadataAction | MetadataCopyAction)[];
2672
+ hideLabel?: boolean;
2673
+ /**
2674
+ * Optional info text. When provided, displays an info icon next to the label
2675
+ * that shows this text in a tooltip when hovered.
2676
+ */
2677
+ info?: {
2678
+ title: string;
2679
+ description?: string;
2680
+ };
2681
+ }
2682
+
2683
+ declare type MetadataItemValue = {
2684
+ type: "text";
2685
+ content: string;
2686
+ } | {
2687
+ type: "avatar";
2688
+ variant: AvatarVariant;
2689
+ text: string;
2690
+ } | {
2691
+ type: "status";
2692
+ label: string;
2693
+ variant: StatusVariant;
2694
+ } | ({
2695
+ type: "list";
2696
+ } & ({
2697
+ variant: "person";
2698
+ avatars: (PersonAvatarVariant | (PersonAvatarVariant & Record<string, unknown>))[];
2699
+ } | {
2700
+ variant: "team";
2701
+ avatars: (TeamAvatarVariant | (TeamAvatarVariant & Record<string, unknown>))[];
2702
+ } | {
2703
+ variant: "company";
2704
+ avatars: (CompanyAvatarVariant | (CompanyAvatarVariant & Record<string, unknown>))[];
2705
+ })) | {
2706
+ type: "data-list";
2707
+ data: string[];
2708
+ } | {
2709
+ type: "tag-list";
2710
+ tags: string[];
2711
+ } | {
2712
+ type: "dot-tag";
2713
+ label: string;
2714
+ color: NewColor;
2715
+ } | {
2716
+ type: "date";
2717
+ formattedDate: string;
2718
+ icon?: "warning" | "critical";
2719
+ };
2720
+
2721
+ declare type MetadataItemValue_2 = {
2722
+ type: "text";
2723
+ content: string;
2724
+ label: string;
2725
+ } | {
2726
+ type: "status";
2727
+ label: string;
2728
+ variant: StatusVariant;
2729
+ } | {
2730
+ type: "dot-tag";
2731
+ label: string;
2732
+ color: NewColor;
2733
+ };
2734
+
2735
+ declare interface MetadataProps {
2736
+ /**
2737
+ * Everything is not a MetadataItem is ignored.
2738
+ * Undefined and boolean enable conditional items
2739
+ **/
2740
+ items: (MetadataItem | undefined | boolean)[];
2741
+ /**
2742
+ * If true and the metadata type is a list, it will be collapsed to the first item
2743
+ */
2744
+ collapse?: boolean;
2745
+ }
2746
+
2747
+ export declare const MobileDropdown: ({ items, children }: DropdownProps) => JSX_2.Element;
2748
+
2749
+ declare type ModalPosition = "center" | "left" | "right" | "fullscreen";
2750
+
2751
+ declare const moduleAvatarVariants: (props?: ({
2752
+ size?: "lg" | "md" | "sm" | "xs" | "xxs" | undefined;
2753
+ } & ({
2754
+ class?: ClassValue;
2755
+ className?: never;
2756
+ } | {
2757
+ class?: never;
2758
+ className?: ClassValue;
2759
+ })) | undefined) => string;
2760
+
2761
+ export declare type ModuleId = keyof typeof modules;
2762
+
2763
+ export declare const modules: {
2764
+ readonly "ai-reports": ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2765
+ readonly analytics: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2766
+ readonly ats: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2767
+ readonly benefits: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2768
+ readonly billing: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2769
+ readonly calendar: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2770
+ readonly cards: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2771
+ readonly "clock-in": ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2772
+ readonly company_attendance: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2773
+ readonly company_documents: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2774
+ readonly company_projects: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2775
+ readonly company_trainings: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2776
+ readonly compensations: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2777
+ readonly complaints: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2778
+ readonly discover: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2779
+ readonly documents: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2780
+ readonly employee_attendance: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2781
+ readonly employees: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2782
+ readonly engagement: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2783
+ readonly engagement_insights: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2784
+ readonly my_surveys: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2785
+ readonly "finance-accounting": ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2786
+ readonly "finance-sales": ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2787
+ readonly "finance-spending": ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2788
+ readonly "finance-treasury": ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2789
+ readonly "finance-workspace": ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2790
+ readonly goals: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2791
+ readonly home: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2792
+ readonly hub: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2793
+ readonly it_management: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2794
+ readonly kudos: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2795
+ readonly meetings: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2796
+ readonly my_benefits: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2797
+ readonly my_documents: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2798
+ readonly my_projects: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2799
+ readonly my_spending: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2800
+ readonly my_trainings: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2801
+ readonly "new-trainings": ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2802
+ readonly notifications: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2803
+ readonly inbox: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2804
+ readonly overviews: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2805
+ readonly pages: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2806
+ readonly payroll_bundle: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2807
+ readonly performance_v2: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2808
+ readonly performance: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2809
+ readonly playground: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2810
+ readonly processes: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2811
+ readonly profile: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2812
+ readonly project_management: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2813
+ readonly reports: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2814
+ readonly settings: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2815
+ readonly personal_settings: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2816
+ readonly shift_management: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2817
+ readonly shifts: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2818
+ readonly social: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2819
+ readonly software: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2820
+ readonly space_control: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2821
+ readonly talent_analytics: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2822
+ readonly tasks: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2823
+ readonly "time-tracking": ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2824
+ readonly timeoff: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2825
+ readonly workflows: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
2826
+ };
2827
+
2828
+ declare interface MoodTrackerLabels {
2829
+ deleteBlock: string;
2830
+ expand: string;
2831
+ collapse: string;
2832
+ }
2833
+
2834
+ declare type NavigateActionType = {
2835
+ type: "navigate";
2836
+ href: string;
2837
+ };
2838
+
2839
+ export declare type NavigationFilter<T, InitialValue = T> = {
2840
+ /**
2841
+ * Converts the initial value to the correct type for the filter.
2842
+ * This is useful for filters that have a complex internal state but the initial value is a simple type, for example a navigation filter. The initial can be a simple date but the internal state converts it to a date range based on the granularity.
2843
+ * @param defaultValue - The initial value to convert
2844
+ * @param props - The props of the filter
2845
+ * @returns The converted value
2846
+ */
2847
+ valueConverter?: (defaultValue: InitialValue, filterDef: NavigationFilterComponentProps<T>["filter"], i18n: TranslationsType) => T;
2848
+ /**
2849
+ * Renders the filter component.
2850
+ * @param props - The props of the filter
2851
+ * @returns The rendered component
2852
+ */
2853
+ render: (props: NavigationFilterComponentProps<T>) => React.ReactNode;
2854
+ };
2855
+
2856
+ export declare type NavigationFilterComponentProps<T> = {
2857
+ filter: NavigationFilterDefinition;
2858
+ value: T;
2859
+ onChange: (value: T) => void;
2860
+ };
2861
+
2862
+ export declare type NavigationFilterDefinition = DateNavigatorFilterDefinition;
2863
+
2864
+ export declare type NavigationFilterDefinitionBase<T> = {
2865
+ type: string;
2866
+ defaultValue: T;
2867
+ };
2868
+
2869
+ /**
2870
+ * Record of navigation filter definitions for a collection.
2871
+ * Maps filter keys to their respective definitions.
2872
+ * Used to configure the available navigation filters for a collection.
2873
+ * @template Keys - String literal type for filter keys
2874
+ */
2875
+ export declare type NavigationFiltersDefinition<Keys extends string = string> = Record<Keys, NavigationFilterDefinition>;
2876
+
2877
+ /**
2878
+ * Current state of all navigation filters in a collection.
2879
+ * Maps filter keys to their current values.
2880
+ * This represents the active filter selections at any given time.
2881
+ * @template Definition - Record of filter definitions
2882
+ */
2883
+ export declare type NavigationFiltersState<Definition extends Record<string, NavigationFilterDefinition>> = {
2884
+ [K in keyof Definition]?: NavigationFilterValue<Definition[K]>;
2885
+ };
2886
+
2887
+ /**
2888
+ * Represents a navigation filter with its current value.
2889
+ * @template T - The type of the filter value
2890
+ */
2891
+ export declare type NavigationFilterValue<T> = T extends DateNavigatorFilterDefinition ? DateValue : T extends undefined ? undefined : never;
2892
+
2893
+ declare type NavigationItem = Pick<LinkProps, "href" | "exactMatch" | "onClick"> & {
2894
+ label: string;
2895
+ } & DataAttributes;
2896
+
2897
+ declare type NavigationProps = {
2898
+ previous?: {
2899
+ url: string;
2900
+ title: string;
2901
+ };
2902
+ next?: {
2903
+ url: string;
2904
+ title: string;
2905
+ };
2906
+ counter?: {
2907
+ current: number;
2908
+ total: number;
2909
+ };
2910
+ };
2911
+
2912
+ declare type NewColor = Extract<BaseColor, "viridian" | "malibu" | "yellow" | "purple" | "lilac" | "barbie" | "smoke" | "army" | "flubber" | "indigo" | "camel">;
2913
+
2914
+ declare type NextDepth<T> = T extends 1 ? 2 : T extends 2 ? 3 : T extends 3 ? 4 : never;
2915
+
2916
+ declare interface NextStepsProps {
2917
+ title: string;
2918
+ items: StepItemProps[];
2919
+ }
2920
+
2921
+ export declare const NotesTextEditor: ForwardRefExoticComponent<NotesTextEditorProps & RefAttributes<NotesTextEditorHandle>>;
2922
+
2923
+ export declare type NotesTextEditorHandle = {
2924
+ clear: () => void;
2925
+ focus: () => void;
2926
+ setContent: (content: string) => void;
2927
+ insertAIBlock: () => void;
2928
+ insertTranscript: (title: string, users: User[], messages: Message[]) => void;
2929
+ };
2930
+
2931
+ export declare interface NotesTextEditorProps {
2932
+ onChange: (value: {
2933
+ json: JSONContent | null;
2934
+ html: string | null;
2935
+ }) => void;
2936
+ placeholder: string;
2937
+ initialEditorState?: {
2938
+ content?: JSONContent | string;
2939
+ title?: string;
2940
+ };
2941
+ readonly?: boolean;
2942
+ aiBlockConfig?: AIBlockConfig;
2943
+ onTitleChange?: (title: string) => void;
2944
+ labels: {
2945
+ toolbarLabels: ToolbarLabels;
2946
+ slashCommandGroupLabels?: SlashCommandGroupLabels;
2947
+ aiBlockLabels?: AIBlockLabels;
2948
+ moodTrackerLabels?: MoodTrackerLabels;
2949
+ liveCompanionLabels?: LiveCompanionLabels;
2950
+ transcriptLabels?: TranscriptLabels;
2951
+ titlePlaceholder?: string;
2952
+ };
2953
+ actions?: actionType_2[];
2954
+ metadata?: MetadataItemValue_2[];
2955
+ withPadding?: boolean;
2956
+ }
2957
+
2958
+ export declare const NumberInput: ForwardRefExoticComponent<Omit<NumberInputProps, "ref"> & RefAttributes<HTMLInputElement>>;
2959
+
2960
+ export declare type NumberInputProps = Omit<InputProps<string>, "value" | "type" | "onChange"> & {
2961
+ locale: string;
2962
+ value?: number | null;
2963
+ step?: number;
2964
+ min?: number;
2965
+ max?: number;
2966
+ maxDecimals?: number;
2967
+ onChange?: (value: number | null) => void;
2968
+ units?: string;
2969
+ };
2970
+
2971
+ export declare function OmniButton({ label, options, hasNewUpdate }: OmniButtonProps): JSX_2.Element;
2972
+
2973
+ declare interface OmniButtonProps {
2974
+ label: string;
2975
+ options: Option_2[];
2976
+ hasNewUpdate?: boolean;
2977
+ }
2978
+
2979
+ export declare type OnBulkActionCallback<Record extends RecordType, Filters extends FiltersDefinition> = (...args: [
2980
+ action: BulkAction,
2981
+ ...Parameters<OnSelectItemsCallback<Record, Filters>>
2982
+ ]) => void;
2983
+
2984
+ export declare const OneAlert: ({ title, description, action, link, variant, }: AlertProps) => JSX_2.Element;
2985
+
2986
+ export declare const OneApprovalHistory: FC<OneApprovalHistoryProps>;
2987
+
2988
+ declare type OneApprovalHistoryProps = {
2989
+ steps: ApprovalStep[];
2990
+ };
2991
+
2992
+ export declare function OneCalendar({ mode, view, onSelect, defaultMonth, defaultSelected, showNavigation, showInput, minDate, maxDate, }: OneCalendarProps): JSX_2.Element;
2993
+
2994
+ export declare interface OneCalendarProps {
2995
+ mode: CalendarMode;
2996
+ view: CalendarView;
2997
+ onSelect?: (date: Date | DateRange | null) => void;
2998
+ defaultMonth?: Date;
2999
+ defaultSelected?: Date | DateRange | null;
3000
+ showNavigation?: boolean;
3001
+ showInput?: boolean;
3002
+ minDate?: Date;
3003
+ maxDate?: Date;
3004
+ }
3005
+
3006
+ /**
3007
+ * @experimental This is an experimental component use it at your own risk
3008
+ */
3009
+ export declare const OneDataCollection: <Record extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<Record>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<Record>>({ source, visualizations, onSelectItems, onBulkAction, emptyStates, fullHeight, }: {
3010
+ source: DataSource<Record, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping>;
3011
+ visualizations: ReadonlyArray<Visualization<Record, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping>>;
3012
+ onSelectItems?: OnSelectItemsCallback<Record, Filters>;
3013
+ onBulkAction?: OnBulkActionCallback<Record, Filters>;
3014
+ emptyStates?: CustomEmptyStates;
3015
+ onTotalItemsChange?: (totalItems: number) => void;
3016
+ fullHeight?: boolean;
3017
+ }) => JSX.Element;
3018
+
3019
+ export declare function OneDateNavigator({ onSelect, defaultValue, presets, granularities, hideNavigation, hideGoToCurrent, compareTo, onCompareToChange, ...props }: OneDatePickerProps): JSX_2.Element;
3020
+
3021
+ declare interface OneDatePickerPopupProps {
3022
+ onSelect?: (value: DatePickerValue | undefined) => void;
3023
+ value?: DatePickerValue;
3024
+ defaultValue?: DatePickerValue;
3025
+ presets?: DatePreset[];
3026
+ granularities?: GranularityDefinitionKey[];
3027
+ minDate?: Date;
3028
+ maxDate?: Date;
3029
+ disabled?: boolean;
3030
+ hideGoToCurrent?: boolean;
3031
+ children: React.ReactNode;
3032
+ open?: boolean;
3033
+ onOpenChange?: (open: boolean) => void;
3034
+ compareTo?: DatePickerCompareTo;
3035
+ onCompareToChange?: (compareTo: DateRangeComplete | DateRangeComplete[] | undefined) => void;
3036
+ }
3037
+
3038
+ export declare interface OneDatePickerProps extends Omit<OneDatePickerPopupProps, "children"> {
3039
+ hideNavigation?: boolean;
3040
+ hideGoToCurrent?: boolean;
3041
+ }
3042
+
3043
+ export declare const OneDropdownButton: ({ items, onClick, value, ...props }: OneDropdownButtonProps) => JSX_2.Element | undefined;
3044
+
3045
+ export declare type OneDropdownButtonItem<T = string> = {
3046
+ value: T;
3047
+ label: string;
3048
+ icon?: IconType;
3049
+ critical?: boolean;
3050
+ };
3051
+
3052
+ export declare type OneDropdownButtonProps<T = string> = {
3053
+ size?: OneDropdownButtonSize;
3054
+ items: OneDropdownButtonItem<T>[];
3055
+ variant?: OneDropdownButtonVariant;
3056
+ value?: T;
3057
+ disabled?: boolean;
3058
+ loading?: boolean;
3059
+ onClick: (value: T, item: OneDropdownButtonItem<T>) => void;
3060
+ };
3061
+
3062
+ declare type OneDropdownButtonSize = (typeof oneDropdownButtonSizes)[number];
3063
+
3064
+ declare const oneDropdownButtonSizes: readonly ["sm", "md", "lg"];
3065
+
3066
+ declare type OneDropdownButtonVariant = (typeof oneDropdownButtonVariants)[number];
3067
+
3068
+ declare const oneDropdownButtonVariants: readonly ["default", "outline", "neutral"];
3069
+
3070
+ export declare function OneEmptyState({ title, description, variant, emoji, actions, }: Types.OneEmptyStateProps): JSX_2.Element;
3071
+
3072
+ declare type OneEmptyStateProps = {
3073
+ /**
3074
+ * The title of the empty state
3075
+ */
3076
+ title: string;
3077
+ /**
3078
+ * If defined, a description will be displayed in the empty state
3079
+ * @optional
3080
+ */
3081
+ description?: string;
3082
+ /**
3083
+ * An array of action objects to display as buttons in the empty state.
3084
+ * Each action represents a user-interactable option, such as "Retry" or "Go Back",
3085
+ * and can include a label, click handler, optional icon, and button variant.
3086
+ * @optional
3087
+ */
3088
+ actions?: ActionProps[];
3089
+ } & ({
3090
+ /**
3091
+ * The variant of the empty state
3092
+ * @optional
3093
+ */
3094
+ variant?: "default";
3095
+ /**
3096
+ * An icon will be displayed in the empty state.
3097
+ * emoji string
3098
+ */
3099
+ emoji?: string;
3100
+ } | {
3101
+ /**
3102
+ * The variant of the empty state
3103
+ * @optional
3104
+ */
3105
+ variant: Exclude<AlertAvatarProps["type"], "positive">;
3106
+ emoji?: never;
3107
+ });
3108
+
3109
+ /**
3110
+ * OneFiltersPicker component to use as a single component
3111
+ */
3112
+ export declare const OneFilterPicker: {
3113
+ <Definition extends FiltersDefinition>(props: OneFilterPickerRootProps<Definition>): JSX_2.Element;
3114
+ displayName: string;
3115
+ };
3116
+
3117
+ /**
3118
+ * Props for the Filters component.
3119
+ * @template Definition - The type defining the structure of available filters
3120
+ */
3121
+ declare interface OneFilterPickerRootProps<Definition extends FiltersDefinition> {
3122
+ /** The definition of available filters and their configurations */
3123
+ filters?: Definition;
3124
+ /** Current state of applied filters */
3125
+ value: FiltersState<Definition>;
3126
+ /** Optional preset configurations that users can select */
3127
+ presets?: PresetsDefinition<Definition>;
3128
+ /** Callback fired when filters are changed */
3129
+ onChange: (value: FiltersState<Definition>) => void;
3130
+ /** The children of the component */
3131
+ children?: React.ReactNode;
3132
+ }
3133
+
3134
+ export declare const OneModal: OneModalComponent;
3135
+
3136
+ declare const OneModal_2: default_2.FC<OneModalProps>;
3137
+
3138
+ declare type OneModalComponent = typeof OneModal_2 & {
3139
+ Header: typeof OneModalHeader;
3140
+ Content: typeof OneModalContent;
3141
+ Footer: typeof OneModalFooter;
3142
+ };
3143
+
3144
+ declare const OneModalContent: ({ tabs, activeTabId, setActiveTabId, withPadding, children, }: OneModalContentProps) => JSX_2.Element;
3145
+
3146
+ declare type OneModalContentProps = {
3147
+ children: React.ReactNode;
3148
+ withPadding?: boolean;
3149
+ } & Partial<Pick<TabsProps, "tabs" | "activeTabId" | "setActiveTabId">>;
3150
+
3151
+ declare const OneModalFooter: ({ children }: OneModalFooterProps) => JSX_2.Element;
3152
+
3153
+ declare type OneModalFooterProps = {
3154
+ children: React.ReactNode;
3155
+ };
3156
+
3157
+ declare const OneModalHeader: ({ title, module, otherActions, }: OneModalHeaderProps) => JSX_2.Element;
3158
+
3159
+ declare type OneModalHeaderProps = {
3160
+ title?: string;
3161
+ /**
3162
+ * Module configuration for the header. Only works when modal position is set to "right".
3163
+ * Displays module icon and name in the header.
3164
+ */
3165
+ module?: {
3166
+ id: ModuleId;
3167
+ label: string;
3168
+ href: string;
3169
+ };
3170
+ otherActions?: DropdownInternalProps["items"];
3171
+ };
3172
+
3173
+ declare type OneModalProps = {
3174
+ /** Whether the modal is open */
3175
+ isOpen: boolean;
3176
+ /** Callback when modal is closed */
3177
+ onClose: () => void;
3178
+ /** Whether to render the modal as a bottom sheet on mobile */
3179
+ asBottomSheetInMobile?: boolean;
3180
+ position?: ModalPosition;
3181
+ /** Custom content to render in the modal. Only accepts OneModal.Header and OneModal.Content components */
3182
+ children: default_2.ReactElement<ComponentProps<typeof OneModalHeader> | ComponentProps<typeof OneModalContent>> | default_2.ReactElement<ComponentProps<typeof OneModalHeader> | ComponentProps<typeof OneModalContent>>[];
3183
+ } & Partial<Pick<TabsProps, "tabs" | "activeTabId" | "setActiveTabId">>;
3184
+
3185
+ export declare function OnePagination({ totalPages, currentPage, onPageChange, showControls, ariaLabel, visibleRange, hasNextPage, disabled, }: OnePaginationProps): JSX_2.Element;
3186
+
3187
+ declare interface OnePaginationProps {
3188
+ /**
3189
+ * The total number of pages. Pass 0 if the total is unknown.
3190
+ */
3191
+ totalPages: number;
3192
+ /**
3193
+ * The current page.
3194
+ * @default 1
3195
+ */
3196
+ currentPage?: number;
3197
+ /**
3198
+ * The callback function to handle page change.
3199
+ */
3200
+ onPageChange?: (page: number) => void;
3201
+ /**
3202
+ * Whether to show the controls.
3203
+ * @default true
3204
+ */
3205
+ showControls?: boolean;
3206
+ /**
3207
+ * Accessible label for the pagination navigation.
3208
+ * @default "Page navigation"
3209
+ */
3210
+ ariaLabel?: string;
3211
+ /**
3212
+ * The number of pages to show on the sides of the current page.
3213
+ * @default 3
3214
+ */
3215
+ visibleRange?: number;
3216
+ /**
3217
+ * Used in indeterminate state (totalPages = 0) to indicate if there are more pages available.
3218
+ * @default true
3219
+ */
3220
+ hasNextPage?: boolean;
3221
+ /**
3222
+ * Whether to disable the pagination.
3223
+ * @default false
3224
+ */
3225
+ disabled?: boolean;
3226
+ }
3227
+
3228
+ export declare const OnePersonListItem: default_2.ForwardRefExoticComponent<OnePersonListItemProps & default_2.RefAttributes<HTMLDivElement>> & {
3229
+ Skeleton: () => default_2.JSX.Element;
3230
+ };
3231
+
3232
+ export declare type OnePersonListItemProps = {
3233
+ person: {
3234
+ firstName: string;
3235
+ lastName: string;
3236
+ avatarUrl?: string;
3237
+ avatarBadge?: AvatarBadge;
3238
+ };
3239
+ description?: string;
3240
+ bottomTags: Omit<Props_4, "noBorder">[];
3241
+ rightTag?: Props_3;
3242
+ actions?: {
3243
+ primary?: {
3244
+ icon?: IconType;
3245
+ label: string;
3246
+ onClick: () => void;
3247
+ };
3248
+ secondary?: {
3249
+ icon: IconType;
3250
+ onClick: () => void;
3251
+ };
3252
+ };
3253
+ info?: string;
3254
+ onClick: () => void;
3255
+ withPointerCursor?: boolean;
3256
+ };
3257
+
3258
+ export declare type OnLoadDataCallback<Record extends RecordType, Filters extends FiltersDefinition> = (data: {
3259
+ totalItems: number | undefined;
3260
+ filters: FiltersState<Filters>;
3261
+ search: string | undefined;
3262
+ isInitialLoading: boolean;
3263
+ data: Record[];
3264
+ }) => void;
3265
+
3266
+ export declare type OnLoadErrorCallback = (error: DataError) => void;
3267
+
3268
+ export declare type OnSelectItemsCallback<R extends RecordType, Filters extends FiltersDefinition> = (selectedItems: {
3269
+ allSelected: boolean | "indeterminate";
3270
+ itemsStatus: ReadonlyArray<{
3271
+ item: R;
3272
+ checked: boolean;
3273
+ }>;
3274
+ groupsStatus: Record<string, boolean>;
3275
+ filters: FiltersState<Filters>;
3276
+ selectedCount: number;
3277
+ }, clearSelectedItems: () => void) => void;
3278
+
3279
+ declare type OnSubmitHandler<TFieldValues extends FieldValues, TTransformedValues extends FieldValues | undefined = undefined> = (data: ReturnType<UseFormHandleSubmit<TFieldValues, TTransformedValues>>) => Promise<Success | FormError<TFieldValues>> | Success | FormError<TFieldValues>;
3280
+
3281
+ declare interface Option_2 {
3282
+ title?: string;
3283
+ description?: string;
3284
+ href?: string;
3285
+ target?: string;
3286
+ onClick?: (event: any) => unknown;
3287
+ }
3288
+
3289
+ declare type Options = Items_2 | ((search?: string) => Promise<Items_2> | Items_2);
3290
+
3291
+ declare interface OverflowListProps<T> {
3292
+ items: T[];
3293
+ /**
3294
+ * What to render as a list item (items outside of the overflow list)
3295
+ * @param item - The item to render
3296
+ * @param index - The index of the item
3297
+ * @param isVisible - Whether this item is in the visible list (true) or measurement container (false)
3298
+ */
3299
+ renderListItem: (item: T, index: number, isVisible?: boolean) => ReactNode;
3300
+ /**
3301
+ * Additional styling for the container
3302
+ */
3303
+ className?: string;
3304
+ /**
3305
+ * The gap between items in pixels
3306
+ * @default 8
3307
+ */
3308
+ gap?: number;
3309
+ /**
3310
+ * The minimum size of the container
3311
+ * @default 0
3312
+ */
3313
+ minSize: number;
3314
+ /**
3315
+ * Callback when the visible items change
3316
+ * @param visibleItems - The visible items
3317
+ */
3318
+ onVisibleItemsChange?: (visibleItems: T[]) => void;
3319
+ }
3320
+
3321
+ export declare function Page({ children, header, embedded }: PageProps): JSX_2.Element;
3322
+
3323
+ export declare namespace Page {
3324
+ var displayName: string;
3325
+ }
3326
+
3327
+ export declare type PageAction = {
3328
+ label: string;
3329
+ icon: IconType;
3330
+ } & ({
3331
+ href: string;
3332
+ } | {
3333
+ actions: Array<{
3334
+ label: string;
3335
+ href: string;
3336
+ }>;
3337
+ });
3338
+
3339
+ /**
3340
+ * Represents a paginated response with page-based navigation.
3341
+ *
3342
+ * Combines the base pagination response with additional properties specific to
3343
+ * page-based pagination, allowing clients to navigate the dataset using page numbers.
3344
+ *
3345
+ * This type is useful for APIs returning data in discrete pages, where both the
3346
+ * current page index and the total number of pages are provided.
3347
+ *
3348
+ * @template TRecord - The type of the individual records in the dataset.
3349
+ *
3350
+ * @property {"pages"} type - Indicates the pagination type is page-based.
3351
+ * @property {number} currentPage - The index of the current page being viewed.
3352
+ * @property {number} pagesCount - The total number of pages available.
3353
+ */
3354
+ export declare type PageBasedPaginatedResponse<TRecord> = BasePaginatedResponse<TRecord> & {
3355
+ type: Extract<PaginationType, "pages">;
3356
+ /** Current page number (1-indexed) */
3357
+ currentPage: number;
3358
+ /** Total number of pages available */
3359
+ pagesCount: number;
3360
+ };
3361
+
3362
+ export declare function PageHeader({ module, statusTag, breadcrumbs, actions, embedded, navigation, productUpdates, favorites, }: HeaderProps): JSX_2.Element;
3363
+
3364
+ declare interface PageProps {
3365
+ children?: React.ReactNode;
3366
+ header?: React.ReactNode;
3367
+ embedded?: boolean;
3368
+ }
3369
+
3370
+ /**
3371
+ * Paginated data adapter configuration
3372
+ * @template Record - The type of records in the collection
3373
+ * @template Filters - The available filter configurations
3374
+ */
3375
+ export declare type PaginatedDataAdapter<Record extends RecordType, Filters extends FiltersDefinition, NavigationFilters extends NavigationFiltersDefinition> = {
3376
+ /** Indicates this adapter uses page-based pagination */
3377
+ paginationType: PaginationType;
3378
+ /** Default number of records per page */
3379
+ perPage?: number;
3380
+ /**
3381
+ * Function to fetch paginated data based on filter and pagination options
3382
+ * @param options - The filter and pagination options to apply when fetching data
3383
+ * @returns Paginated response with records and pagination info
3384
+ */
3385
+ fetchData: (options: PaginatedFetchOptions<Filters, NavigationFilters>) => PaginatedResponse<Record> | Promise<PaginatedResponse<Record>> | Observable<PromiseState<PaginatedResponse<Record>>>;
3386
+ };
3387
+
3388
+ export declare type PaginatedFetchOptions<Filters extends FiltersDefinition, NavigationFilters extends NavigationFiltersDefinition> = BaseFetchOptions<Filters, NavigationFilters> & {
3389
+ pagination: {
3390
+ perPage?: number;
3391
+ } & ({
3392
+ currentPage: number;
3393
+ cursor?: never;
3394
+ } | {
3395
+ cursor?: string | null;
3396
+ currentPage?: never;
3397
+ });
3398
+ };
3399
+
3400
+ /**
3401
+ * Response type for paginated collection data
3402
+ * @template Record - The type of records in the collection
3403
+ */
3404
+ export declare type PaginatedResponse<TRecord> = PageBasedPaginatedResponse<TRecord> | InfiniteScrollPaginatedResponse<TRecord>;
3405
+
3406
+ /**
3407
+ * Pagination state and controls
3408
+ */
3409
+ export declare type PaginationInfo = Omit<PageBasedPaginatedResponse<unknown> | InfiniteScrollPaginatedResponse<unknown>, "records">;
3410
+
3411
+ /**
3412
+ * Defines the available pagination types used throughout the application.
3413
+ * - "pages": Represents traditional page-based navigation with numbered pages.
3414
+ * - "infinite-scroll": Represents continuous loading of content as the user scrolls.
3415
+ */
3416
+ export declare type PaginationType = "pages" | "infinite-scroll";
3417
+
3418
+ declare type PersonAvatarVariant = Extract<AvatarVariant, {
3419
+ type: "person";
3420
+ }>;
3421
+
3422
+ declare const PersonItem: ForwardRefExoticComponent<EmployeeItemProps & RefAttributes<HTMLLIElement>>;
3423
+
3424
+ export declare const PieChartWidget: ForwardRefExoticComponent<Omit<WidgetProps_2 & {
3425
+ chart: PieChartProps;
3426
+ } & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
3427
+
3428
+ declare type PostDescriptionProps = {
3429
+ content: HTMLString;
3430
+ collapsed?: boolean;
3431
+ };
3432
+
3433
+ declare type PostEventProps = {
3434
+ title: string;
3435
+ imageUrl?: string;
3436
+ place?: string;
3437
+ date: Date;
3438
+ };
3439
+
3440
+ export declare const predefinedPresets: Record<string, DatePreset>;
3441
+
3442
+ /**
3443
+ * Defines preset filter configurations that can be applied to a collection.
3444
+ * @template Filters - The available filter configurations
3445
+ */
3446
+ export declare type PresetDefinition<Filters extends FiltersDefinition> = {
3447
+ /** Display name for the preset */
3448
+ label: string;
3449
+ /** Filter configuration to apply when this preset is selected */
3450
+ filter: FiltersState<Filters>;
3451
+ /** Function to count the number of items that match the filter */
3452
+ itemsCount?: (filters: FiltersState<Filters>) => Promise<number | undefined> | number | undefined;
3453
+ };
3454
+
3455
+ export declare type PresetsDefinition<Filters extends FiltersDefinition> = PresetDefinition<Filters>[];
3456
+
3457
+ export declare type PrevNextDateNavigation = {
3458
+ prev: DateRange | false;
3459
+ next: DateRange | false;
3460
+ };
3461
+
3462
+ declare interface PrimaryAction {
3463
+ disabled?: boolean;
3464
+ tooltip?: string;
3465
+ isVisible?: boolean;
3466
+ }
3467
+
3468
+ declare interface PrimaryActionButton extends PrimaryAction {
3469
+ label: string;
3470
+ icon?: IconType;
3471
+ onClick: () => void;
3472
+ }
3473
+
3474
+ /**
3475
+ * Defines the structure and configuration of the primary action that can be performed on a collection.
3476
+ * @returns An action
3477
+ */
3478
+ export declare type PrimaryActionsDefinition = () => Pick<DropdownItemObject, "onClick" | "label" | "icon"> | undefined;
3479
+
3480
+ export declare type primaryActionType = {
3481
+ action: actionType;
3482
+ subActions?: subActionType[];
3483
+ };
3484
+
3485
+ declare interface PrimaryDropdownAction<T> extends PrimaryAction {
3486
+ items: OneDropdownButtonItem<T>[];
3487
+ value?: T;
3488
+ onClick: (value: T, item: OneDropdownButtonItem<T>) => void;
3489
+ }
3490
+
3491
+ export declare const PrivateBox: FC<PropsWithChildren>;
3492
+
3493
+ declare const privateProps: readonly ["append", "appendButton", "className"];
3494
+
3495
+ declare const privateProps_2: readonly [];
3496
+
3497
+ declare type ProductUpdate = {
3498
+ title: string;
3499
+ href: string;
3500
+ mediaUrl: string;
3501
+ updated: string;
3502
+ unread?: boolean;
3503
+ onClick?: ComponentProps<typeof DropdownMenuItem>["onClick"];
3504
+ };
3505
+
3506
+ declare type ProductUpdatesProp = {
3507
+ label: string;
3508
+ updatesPageUrl: string;
3509
+ getUpdates: () => Promise<Array<ProductUpdate>>;
3510
+ hasUnread?: boolean;
3511
+ currentModule: string;
3512
+ onOpenChange?: ComponentProps<typeof DropdownMenu>["onOpenChange"];
3513
+ onHeaderClick?: ComponentProps<typeof DropdownMenuTrigger>["onClick"];
3514
+ onItemClick?: ComponentProps<typeof DropdownMenuItem>["onClick"];
3515
+ emptyScreen: {
3516
+ title: string;
3517
+ description: string;
3518
+ buttonText: string;
3519
+ };
3520
+ errorScreen: {
3521
+ title: string;
3522
+ description: string;
3523
+ buttonText: string;
3524
+ };
3525
+ crossSelling?: {
3526
+ isVisible: boolean;
3527
+ sectionTitle: string;
3528
+ onClose?: () => void;
3529
+ products: Array<{
3530
+ title: string;
3531
+ description: string;
3532
+ onClick: () => void;
3533
+ module: ModuleId;
3534
+ dismissable: boolean;
3535
+ onClose?: () => void;
3536
+ trackVisibility?: (open: boolean) => void;
3537
+ }>;
3538
+ };
3539
+ };
3540
+
3541
+ /**
3542
+ * Utility type for handling both Promise and Observable return types.
3543
+ * @template T - The type of the value being promised or observed
3544
+ */
3545
+ export declare type PromiseOrObservable<T> = T | Promise<T> | Observable<PromiseState<T>>;
3546
+
3547
+ declare interface PromiseState<T> {
3548
+ loading: boolean;
3549
+ error?: Error | null;
3550
+ data?: T | null;
3551
+ }
3552
+
3553
+ declare type PropertyDefinition_2<T> = {
3554
+ label: string;
3555
+ /**
3556
+ * Optional tooltip text. When provided, displays an info icon next to the header content
3557
+ * that shows this text in a tooltip when hovered.
3558
+ */
3559
+ info?: string;
3560
+ /**
3561
+ * Function that extracts and formats the value from an item.
3562
+ * Should return an object matching the expected args for the specified renderer type.
3563
+ *
3564
+ * Example usage:
3565
+ * {
3566
+ * render: (item) => ({
3567
+ * type: "avatar",
3568
+ * value: {
3569
+ * type: "person",
3570
+ * firstName: item.firstName,
3571
+ * lastName: item.lastName,
3572
+ * }
3573
+ * })
3574
+ * }
3575
+ */
3576
+ render: (item: T) => RendererDefinition | string | number | undefined;
3577
+ };
3578
+
3579
+ declare type Props = {} & Pick<BaseHeaderProps, "avatar" | "title" | "description" | "primaryAction" | "secondaryActions" | "otherActions" | "metadata" | "status">;
3580
+
3581
+ declare type Props_10<Id extends string | number = string | number> = {
3582
+ items: Omit<WidgetSimpleListItemProps<Id>, "onClick">[];
3583
+ minSize?: number;
3584
+ gap?: number;
3585
+ onClickItem?: (id: Id) => void;
3586
+ showAllItems?: boolean;
3587
+ };
3588
+
3589
+ declare type Props_2 = {
3590
+ /** Main heading text */
3591
+ title: string;
3592
+ /** Description text below the title */
3593
+ description: string;
3594
+ /** Complementary action specific to the section */
3595
+ action?: Pick<ButtonProps, "label" | "onClick"> & {
3596
+ icon?: IconType;
3597
+ variant?: "default" | "outline";
3598
+ };
3599
+ /** Optional link to related documentation (Help center or other link) */
3600
+ link?: {
3601
+ label: string;
3602
+ href: string;
3603
+ };
3604
+ /** If specified, a separator will be displayed above or below the content */
3605
+ separator?: "top" | "bottom";
3606
+ };
3607
+
3608
+ declare type Props_3 = {
3609
+ text: string;
3610
+ } & ({
3611
+ color: NewColor;
3612
+ } | {
3613
+ customColor: string;
3614
+ });
3615
+
3616
+ declare interface Props_4 {
3617
+ text?: string;
3618
+ additionalAccesibleText?: string;
3619
+ icon?: IconType;
3620
+ noBorder?: boolean;
3621
+ className?: string;
3622
+ }
3623
+
3624
+ declare interface Props_5 {
3625
+ title: string;
3626
+ content: string;
3627
+ buttonLabel?: string;
3628
+ buttonIcon?: IconType;
3629
+ buttonAction?: () => void;
3630
+ type: Type;
3631
+ }
3632
+
3633
+ declare type Props_6 = {
3634
+ label: string;
3635
+ icon: IconType;
3636
+ iconClassName?: string;
3637
+ count: number;
3638
+ onClick?: () => void;
3639
+ };
3640
+
3641
+ declare type Props_7<Id extends string | number = string | number> = {
3642
+ id: Id;
3643
+ module?: ModuleId;
3644
+ title: string;
3645
+ subtitle: string;
3646
+ onClick?: (id: Id) => void;
3647
+ };
3648
+
3649
+ declare type Props_8<Text extends string = string> = {
3650
+ text: Text extends "" ? never : Text;
3651
+ level: Level;
3652
+ };
3653
+
3654
+ declare type Props_9<Id extends string | number = string | number> = {
3655
+ items: Omit<WidgetInboxListItemProps<Id>, "onClick">[];
3656
+ minSize?: number;
3657
+ onClickItem?: (id: Id) => void;
3658
+ showAllItems?: boolean;
3659
+ } & Pick<ComponentProps<typeof VerticalOverflowList>, "onVisibleItemsChange">;
3660
+
3661
+ declare type Pulse = (typeof pulses)[number];
3662
+
3663
+ declare const pulses: readonly ["superNegative", "negative", "neutral", "positive", "superPositive"];
3664
+
3665
+ /**
3666
+ * @experimental This is an experimental component use it at your own risk
3667
+ */
3668
+ export declare const RadarChart: <K extends ChartConfig>(props: RadarChartProps<K> & RefAttributes<HTMLDivElement>) => React.ReactNode;
3669
+
3670
+ export declare const _RadarChart: <K extends ChartConfig>({ data, dataConfig, scaleMin, scaleMax, aspect }: RadarChartProps<K>, ref: ForwardedRef<HTMLDivElement>) => JSX_2.Element;
3671
+
3672
+ export declare type RadarChartProps<K extends ChartConfig> = {
3673
+ dataConfig: K;
3674
+ data: ChartItem<K>[];
3675
+ scaleMin?: number;
3676
+ scaleMax?: number;
3677
+ aspect?: ComponentProps<typeof ChartContainer>["aspect"];
3678
+ };
3679
+
3680
+ export declare const rangeSeparator = "\u2192";
3681
+
3682
+ declare interface ReactionProps {
3683
+ emoji: string;
3684
+ initialCount: number;
3685
+ hasReacted?: boolean;
3686
+ users?: User_2[];
3687
+ onInteraction?: (emoji: string) => void;
3688
+ }
3689
+
3690
+ declare interface ReactionsProps {
3691
+ items: ReactionProps[];
3692
+ onInteraction?: (emoji: string) => void;
3693
+ locale?: string;
3694
+ }
3695
+
3696
+ /**
3697
+ * Utility type to get all possible paths through an object using dot notation
3698
+ * @template T - The object type to traverse
3699
+ */
3700
+ declare type RecordPaths<T> = T extends Record<string, unknown> ? {
3701
+ [K in keyof T]: K extends string ? T[K] extends Record<string, unknown> ? K | `${K}.${RecordPaths<T[K]>}` : K : never;
3702
+ }[keyof T] : never;
3703
+
3704
+ /**
3705
+ * Utility type to get the value type at a given path
3706
+ * @template T - The object type
3707
+ * @template P - The path string
3708
+ */
3709
+ declare type RecordPathValue<T, P extends string> = P extends keyof T ? T[P] : P extends `${infer K}.${infer Rest}` ? K extends keyof T ? RecordPathValue<T[K], Rest> : never : never;
3710
+
3711
+ /**
3712
+ * Represents a record type with string keys and unknown values.
3713
+ * This type is used to represent the data structure of a collection.
3714
+ */
3715
+ export declare type RecordType = Record<string, unknown>;
3716
+
3717
+ declare type RendererDefinition = ValueDisplayRendererDefinition;
3718
+
3719
+ export declare const ResourceHeader: ({ avatar, title, description, primaryAction, secondaryActions, otherActions, status, metadata, }: Props) => JSX_2.Element;
3720
+
3721
+ export declare type resultType = {
3722
+ value: string | null;
3723
+ mentionIds?: number[];
3724
+ };
3725
+
3726
+ export declare const RichTextDisplay: ForwardRefExoticComponent<RichTextDisplayProps & RefAttributes<HTMLDivElement>>;
3727
+
3728
+ export declare type RichTextDisplayHandle = HTMLDivElement;
3729
+
3730
+ export declare interface RichTextDisplayProps extends HTMLAttributes<HTMLDivElement> {
3731
+ content: string;
3732
+ className?: string;
3733
+ }
3734
+
3735
+ export declare const RichTextEditor: ForwardRefExoticComponent<RichTextEditorProps & RefAttributes<RichTextEditorHandle>> & {
3736
+ Skeleton: ({ rows }: RichTextEditorSkeletonProps) => JSX_2.Element;
3737
+ };
3738
+
3739
+ export declare type RichTextEditorHandle = {
3740
+ clear: () => void;
3741
+ clearFiles: () => void;
3742
+ focus: () => void;
3743
+ setError: (error: string | null) => void;
3744
+ setContent: (content: string) => void;
3745
+ };
3746
+
3747
+ export declare interface RichTextEditorProps {
3748
+ mentionsConfig?: MentionsConfig;
3749
+ enhanceConfig?: enhanceConfig;
3750
+ filesConfig?: filesConfig;
3751
+ secondaryAction?: secondaryActionsType;
3752
+ primaryAction?: primaryActionType;
3753
+ onChange: (result: resultType) => void;
3754
+ maxCharacters?: number;
3755
+ placeholder: string;
3756
+ initialEditorState?: {
3757
+ content?: string;
3758
+ files?: File[];
3759
+ };
3760
+ toolbarLabels: ToolbarLabels;
3761
+ title: string;
3762
+ errorConfig?: errorConfig;
3763
+ height?: heightType;
3764
+ plainHtmlMode?: boolean;
3765
+ }
3766
+
3767
+ declare interface RichTextEditorSkeletonProps {
3768
+ rows?: number;
3769
+ }
3770
+
3771
+ declare type SchemaType = ZodType;
3772
+
3773
+ export declare const ScrollArea: ForwardRefExoticComponent<Omit<Omit<ScrollAreaProps & RefAttributes<HTMLDivElement>, "ref"> & {
3774
+ showBar?: boolean;
3775
+ viewportRef?: React.RefObject<HTMLDivElement>;
3776
+ } & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
3777
+
3778
+ export declare function SearchBar({ onClick, placeholder, shortcut, ...props }: SearchBarProps): JSX_2.Element;
3779
+
3780
+ declare interface SearchBarProps extends ButtonHTMLAttributes<HTMLButtonElement> {
3781
+ placeholder: string;
3782
+ shortcut?: string[];
3783
+ }
3784
+
3785
+ declare type SearchFilterDefinition = BaseFilterDefinition<"search">;
3786
+
3787
+ declare interface SecondaryAction extends PrimaryActionButton {
3788
+ variant?: "outline" | "critical" | "outlinePromote" | "promote";
3789
+ }
3790
+
3791
+ export declare type SecondaryActionsDefinition = {
3792
+ expanded: Enumerate<typeof MAX_EXPANDED_ACTIONS>;
3793
+ actions: () => Array<SecondaryActionsItemDefinition> | undefined;
3794
+ } | (() => Array<SecondaryActionsItemDefinition> | undefined);
3795
+
3796
+ /**
3797
+ * Defines the structure and configuration of secondary actions that can be performed on a collection.
3798
+ * @returns An array of actions
3799
+ */
3800
+ export declare type SecondaryActionsItemDefinition = DropdownItem & {
3801
+ enabled?: boolean;
3802
+ hideLabelWhenExpanded?: boolean;
3803
+ };
3804
+
3805
+ export declare type secondaryActionsType = secondaryActionType | secondaryActionType[];
3806
+
3807
+ export declare type secondaryActionType = (actionType | toggleActionType) & {
3808
+ type?: "button" | "switch";
3809
+ };
3810
+
3811
+ export declare const SectionHeader: ({ title, description, action, link, separator, }: Props_2) => JSX_2.Element;
3812
+
3813
+ declare type SectionProps = {
3814
+ title: string;
3815
+ items: Omit<ActivityItemProps, "onClick">[];
3816
+ onClickItem: (id: string) => void;
3817
+ onItemVisible?: (id: string) => void;
3818
+ };
3819
+
3820
+ export declare const Select: <T extends string = string, R = unknown>(props: SelectProps<T, R> & {
3821
+ ref?: React.Ref<HTMLButtonElement>;
3822
+ }) => React.ReactElement;
3823
+
3824
+ /**
3825
+ * Represents a collection of selected items.
3826
+ * @template T - The type of items in the collection
3827
+ */
3828
+ export declare type SelectedItems<T> = ReadonlyArray<T>;
3829
+
3830
+ /**
3831
+ * Represents the selected items by id
3832
+ */
3833
+ export declare type SelectedItemsState = {
3834
+ allSelected?: boolean | "indeterminate";
3835
+ items?: ReadonlyArray<{
3836
+ id: string;
3837
+ checked: boolean;
3838
+ }>;
3839
+ groups?: ReadonlyArray<{
3840
+ groupId: string;
3841
+ checked: boolean;
3842
+ }>;
3843
+ };
3844
+
3845
+ export declare type SelectItemObject<T, R = unknown> = {
3846
+ type?: "item";
3847
+ value: T;
3848
+ label: string;
3849
+ description?: string;
3850
+ avatar?: AvatarVariant;
3851
+ tag?: string;
3852
+ icon?: IconType;
3853
+ item?: R;
3854
+ };
3855
+
3856
+ export declare type SelectItemProps<T, R = unknown> = SelectItemObject<T, R> | {
3857
+ type: "separator";
3858
+ };
3859
+
3860
+ export declare type SelectProps<T, R = any> = {
3861
+ onChange: (value: T, item?: R) => void;
3862
+ value?: T;
3863
+ defaultItem?: SelectItemObject<T, R>;
3864
+ options: SelectItemProps<T, R>[];
3865
+ children?: React.ReactNode;
3866
+ disabled?: boolean;
3867
+ open?: boolean;
3868
+ showSearchBox?: boolean;
3869
+ searchBoxPlaceholder?: string;
3870
+ onSearchChange?: (value: string) => void;
3871
+ externalSearch?: boolean;
3872
+ searchValue?: string;
3873
+ onOpenChange?: (open: boolean) => void;
3874
+ searchEmptyMessage?: string;
3875
+ className?: string;
3876
+ selectContentClassName?: string;
3877
+ actions?: Action[];
3878
+ name?: string;
3879
+ } & Pick<InputFieldProps<T>, "loading" | "hideLabel" | "clearable" | "labelIcon" | "size" | "label" | "icon" | "placeholder" | "error" | "status" | "hint">;
3880
+
3881
+ export declare function Shortcut({ keys, variant }: ShortcutProps): JSX_2.Element | null;
3882
+
3883
+ declare interface ShortcutProps extends VariantProps<typeof shortcutVariants> {
3884
+ keys: string[];
3885
+ }
3886
+
3887
+ declare const shortcutVariants: (props?: ({
3888
+ variant?: "default" | "inverse" | undefined;
3889
+ } & ({
3890
+ class?: ClassValue;
3891
+ className?: never;
3892
+ } | {
3893
+ class?: never;
3894
+ className?: ClassValue;
3895
+ })) | undefined) => string;
3896
+
3897
+ export declare function Sidebar({ header, body, footer, onFooterDropdownClick, }: SidebarProps): JSX_2.Element;
3898
+
3899
+ export declare function SidebarFooter({ user, options, showActivityButton, activityButtonShortcut, onActivityButtonClick, onDropdownClick, hasActivityUpdates, }: SidebarFooterProps): JSX_2.Element;
3900
+
3901
+ declare interface SidebarFooterProps {
3902
+ user: {
3903
+ firstName: string;
3904
+ lastName: string;
3905
+ avatarUrl?: string;
3906
+ };
3907
+ showActivityButton?: boolean;
3908
+ hasActivityUpdates?: boolean;
3909
+ activityButtonShortcut?: string[];
3910
+ onActivityButtonClick?: () => void;
3911
+ onDropdownClick?: () => void;
3912
+ options: DropdownItem[];
3913
+ }
3914
+
3915
+ export declare function SidebarHeader({ companies, selected, onChange, withNotification, additionalOptions, }: SidebarHeaderProps): JSX_2.Element;
3916
+
3917
+ export declare type SidebarHeaderProps = CompanySelectorProps & SidebarIconProps;
3918
+
3919
+ declare type SidebarIconProps = {
3920
+ isExpanded: boolean;
3921
+ onClick?: () => void;
3922
+ };
3923
+
3924
+ declare interface SidebarProps {
3925
+ header?: ReactNode;
3926
+ body?: ReactNode;
3927
+ footer?: ReactNode;
3928
+ onFooterDropdownClick?: () => void;
3929
+ }
3930
+
3931
+ declare type SidebarState = "locked" | "unlocked" | "hidden";
3932
+
3933
+ declare const sizes: readonly ["sm", "md", "lg"];
3934
+
3935
+ declare const skeletonVariants: (props?: ({
3936
+ height?: "lg" | "md" | "sm" | undefined;
3937
+ } & ({
3938
+ class?: ClassValue;
3939
+ className?: never;
3940
+ } | {
3941
+ class?: never;
3942
+ className?: ClassValue;
3943
+ })) | undefined) => string;
3944
+
3945
+ declare interface SlashCommandGroupLabels {
3946
+ textStyles: string;
3947
+ lists: string;
3948
+ blocks: string;
3949
+ [key: string]: string;
3950
+ }
3951
+
3952
+ /**
3953
+ * Type helper to extract keys from a SortingsDefinition
3954
+ */
3955
+ export declare type SortingKey<Definition extends SortingsDefinition> = Definition extends readonly string[] ? Definition[number] : keyof Definition;
3956
+
3957
+ export declare type SortingsDefinition = Record<string, {
3958
+ label: string;
3959
+ }>;
3960
+
3961
+ export declare type SortingsState<Definition extends SortingsDefinition> = {
3962
+ field: keyof Definition;
3963
+ order: SortOrder;
3964
+ } | null;
3965
+
3966
+ /**
3967
+ * Type helper to create a multiple sortings state (the main sorting and the grouping sorting)
3968
+ */
3969
+ export declare type SortingsStateMultiple = {
3970
+ field: string;
3971
+ order: "asc" | "desc";
3972
+ }[];
3973
+
3974
+ export declare type SortOrder = "asc" | "desc";
3975
+
3976
+ export declare function Spinner({ size, className }: SpinnerProps): JSX_2.Element;
3977
+
3978
+ declare interface SpinnerProps extends VariantProps<typeof spinnerVariants> {
3979
+ className?: string;
3980
+ }
3981
+
3982
+ declare const spinnerVariants: (props?: ({
3983
+ size?: "small" | "large" | "medium" | undefined;
3984
+ } & ({
3985
+ class?: ClassValue;
3986
+ className?: never;
3987
+ } | {
3988
+ class?: never;
3989
+ className?: ClassValue;
3990
+ })) | undefined) => string;
3991
+
3992
+ export declare const Split: ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
3993
+ overflow?: "hidden" | "auto" | undefined;
3994
+ paddingX?: "none" | "p-2" | "p-4" | "p-8" | "p-12" | "p-16" | undefined;
3995
+ maxWidth?: "md" | "sm" | "xs" | "xl" | "screen-sm" | "screen-md" | "screen-lg" | "screen-xl" | "screen-2xl" | undefined;
3996
+ height?: "auto" | "full" | undefined;
3997
+ width?: "auto" | "full" | undefined;
3998
+ paddingY?: "none" | "p-2" | "p-4" | "p-8" | "p-12" | "p-16" | undefined;
3999
+ basis?: "0" | undefined;
4000
+ inline?: boolean | undefined;
4001
+ justifyContent?: "center" | "end" | "start" | "stretch" | "space-between" | undefined;
4002
+ alignItems?: "center" | "end" | "start" | "stretch" | "space-between" | undefined;
4003
+ grow?: boolean | undefined;
4004
+ shrink?: boolean | undefined;
4005
+ } & ({
4006
+ class?: ClassValue;
4007
+ className?: never;
4008
+ } | {
4009
+ class?: never;
4010
+ className?: ClassValue;
4011
+ })) | undefined) => string> & VariantProps<(props?: ({
4012
+ gap?: "2" | "4" | "8" | undefined;
4013
+ wrap?: boolean | undefined;
4014
+ } & ({
4015
+ class?: ClassValue;
4016
+ className?: never;
4017
+ } | {
4018
+ class?: never;
4019
+ className?: ClassValue;
4020
+ })) | undefined) => string> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
4021
+
4022
+ export declare const Stack: ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
4023
+ overflow?: "hidden" | "auto" | undefined;
4024
+ paddingX?: "none" | "p-2" | "p-4" | "p-8" | "p-12" | "p-16" | undefined;
4025
+ maxWidth?: "md" | "sm" | "xs" | "xl" | "screen-sm" | "screen-md" | "screen-lg" | "screen-xl" | "screen-2xl" | undefined;
4026
+ height?: "auto" | "full" | undefined;
4027
+ width?: "auto" | "full" | undefined;
4028
+ paddingY?: "none" | "p-2" | "p-4" | "p-8" | "p-12" | "p-16" | undefined;
4029
+ basis?: "0" | undefined;
4030
+ inline?: boolean | undefined;
4031
+ justifyContent?: "center" | "end" | "start" | "stretch" | "space-between" | undefined;
4032
+ alignItems?: "center" | "end" | "start" | "stretch" | "space-between" | undefined;
4033
+ grow?: boolean | undefined;
4034
+ shrink?: boolean | undefined;
4035
+ } & ({
4036
+ class?: ClassValue;
4037
+ className?: never;
4038
+ } | {
4039
+ class?: never;
4040
+ className?: ClassValue;
4041
+ })) | undefined) => string> & VariantProps<(props?: ({
4042
+ gap?: "2" | "4" | "8" | undefined;
4043
+ } & ({
4044
+ class?: ClassValue;
4045
+ className?: never;
4046
+ } | {
4047
+ class?: never;
4048
+ className?: ClassValue;
4049
+ })) | undefined) => string> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
4050
+
4051
+ declare type Status = "waiting" | "pending" | "approved" | "rejected";
4052
+
4053
+ declare type StatusVariant = Variant;
4054
+
4055
+ declare interface StepItemProps {
4056
+ text: string;
4057
+ isCompleted?: boolean;
4058
+ }
4059
+
4060
+ export declare type subActionType = {
4061
+ label: string;
4062
+ onClick: () => void;
4063
+ disabled?: boolean;
4064
+ icon?: IconType;
4065
+ };
4066
+
4067
+ declare type Success = {
4068
+ success: true;
4069
+ rootMessage?: never;
4070
+ errors?: never;
4071
+ };
4072
+
4073
+ declare interface SuccessMessageProps {
4074
+ title: string;
4075
+ description: string;
4076
+ buttonLabel?: string;
4077
+ buttonOnClick?: () => void;
4078
+ }
4079
+
4080
+ export declare type SummariesDefinition = Record<string, {
4081
+ type: SummaryType;
4082
+ }>;
4083
+
4084
+ export declare const SummariesWidget: ForwardRefExoticComponent<Omit<WidgetProps_2 & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
4085
+
4086
+ /**
4087
+ * Type helper to extract keys from a SummaryDefinition
4088
+ */
4089
+ export declare type SummaryKey<Definition extends SummariesDefinition> = Definition extends readonly string[] ? Definition[number] : keyof Definition;
4090
+
4091
+ export declare type SummaryType = "sum";
4092
+
4093
+ export declare function Switch({ title, onCheckedChange, id, disabled, checked, value, hideLabel, presentational, ...rest }: SwitchProps): JSX_2.Element;
4094
+
4095
+ declare interface SwitchProps extends DataAttributes {
4096
+ /**
4097
+ * The title of the switch
4098
+ */
4099
+ title?: string;
4100
+ /**
4101
+ * The id of the switch
4102
+ */
4103
+ id?: string;
4104
+ /**
4105
+ * The checked state of the switch
4106
+ * @default false
4107
+ */
4108
+ checked?: boolean;
4109
+ /**
4110
+ * The callback function that is called when the switch is toggled
4111
+ */
4112
+ onCheckedChange?: (checked: boolean) => void;
4113
+ /**
4114
+ * Whether the switch is disabled
4115
+ * @default false
4116
+ */
4117
+ disabled?: boolean;
4118
+ /**
4119
+ * The value of the switch
4120
+ */
4121
+ value?: string;
4122
+ /**
4123
+ * Whether to hide the label
4124
+ * @default false
4125
+ */
4126
+ hideLabel?: boolean;
4127
+ /**
4128
+ * Whether the switch is only presentational, so it does not have functionality
4129
+ * @default false
4130
+ */
4131
+ presentational?: boolean;
4132
+ }
4133
+
4134
+ export declare type TabItem = {
4135
+ label: string;
4136
+ index?: boolean;
4137
+ variant?: "default" | "upsell";
4138
+ } & DataAttributes & ({
4139
+ href: string;
4140
+ } | {
4141
+ id: string;
4142
+ });
4143
+
4144
+ declare type TableColumnDefinition<R extends RecordType, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition> = WithOptionalSorting<R, Sortings> & Pick<ComponentProps<typeof TableHead>, "hidden" | "info" | "infoIcon" | "sticky" | "width"> & {
4145
+ /**
4146
+ * Optional summary configuration for this column
4147
+ * References a key in the Summaries definition, similar to how sorting works
4148
+ */
4149
+ summary?: SummaryKey<Summaries>;
4150
+ };
4151
+
4152
+ declare function TableHead({ children, width, sortState, onSortClick, info, infoIcon, sticky, hidden, align, className, }: TableHeadProps): JSX_2.Element;
4153
+
4154
+ declare interface TableHeadProps {
4155
+ children: React.ReactNode;
4156
+ /**
4157
+ * The width of the header cell. If not provided, the width will be "auto"
4158
+ * @default "auto"
4159
+ */
4160
+ width?: ColumnWidth;
4161
+ /**
4162
+ * When true, the header cell will stick in the specified position when scrolling horizontally
4163
+ * @default undefined
4164
+ */
4165
+ sticky?: {
4166
+ left?: number;
4167
+ right?: never;
4168
+ } | {
4169
+ left?: never;
4170
+ right?: number;
4171
+ };
4172
+ /**
4173
+ * The current sort direction of this column. "none" indicates no sorting,
4174
+ * "asc" sorts ascending (A-Z, 1-9), and "desc" sorts descending (Z-A, 9-1)
4175
+ * @default "none"
4176
+ */
4177
+ sortState?: "none" | "asc" | "desc";
4178
+ /**
4179
+ * Callback fired when the sort button is clicked.
4180
+ * Use this to handle toggling between sort states.
4181
+ */
4182
+ onSortClick?: () => void;
4183
+ /**
4184
+ * Optional tooltip text. When provided, displays an info icon next to the header content
4185
+ * that shows this text in a tooltip when hovered.
4186
+ */
4187
+ info?: string;
4188
+ /**
4189
+ * Icon to display when info is provided.
4190
+ * @default InfoCircleLine
4191
+ */
4192
+ infoIcon?: IconType;
4193
+ /**
4194
+ * When true, the header cell will not be visible.
4195
+ * @default false
4196
+ */
4197
+ hidden?: boolean;
4198
+ /**
4199
+ * Alingment of the cell
4200
+ * @default "left"
4201
+ */
4202
+ align?: "left" | "right";
4203
+ /**
4204
+ * The class name of the header cell
4205
+ */
4206
+ className?: string;
4207
+ }
4208
+
4209
+ declare type TableVisualizationOptions<R extends RecordType, _Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition> = {
4210
+ columns: ReadonlyArray<TableColumnDefinition<R, Sortings, Summaries>>;
4211
+ frozenColumns?: 0 | 1 | 2;
4212
+ };
4213
+
4214
+ export declare const Tabs: FC<TabsProps> & {
4215
+ Skeleton: FC<Pick<TabsProps, "secondary">>;
4216
+ };
4217
+
4218
+ export declare interface TabsProps {
4219
+ tabs: TabItem[];
4220
+ activeTabId?: string;
4221
+ setActiveTabId?: Dispatch<string>;
4222
+ secondary?: boolean;
4223
+ embedded?: boolean;
4224
+ }
4225
+
4226
+ export declare const TabsSkeleton: React.FC<Pick<TabsProps, "secondary">>;
4227
+
4228
+ declare type Tag = {
4229
+ icon: IconType;
4230
+ label?: string;
4231
+ description?: string;
4232
+ };
4233
+
4234
+ declare interface Task {
4235
+ id: number | string;
4236
+ text: string;
4237
+ badge?: {
4238
+ text: string;
4239
+ isPastDue?: boolean;
4240
+ };
4241
+ counter?: number;
4242
+ }
4243
+
4244
+ export declare function TasksList({ tasks, onClickTask, hideIcons, maxTasksToShow, emptyMessage, }: TasksListProps): JSX_2.Element;
4245
+
4246
+ declare function TasksList({ tasks, onClickTask, hideIcons, maxTasksToShow, emptyMessage, }: TasksListProps): JSX_2.Element;
4247
+
4248
+ declare interface TasksList_2 {
4249
+ inProgress?: (Task | string)[];
4250
+ todo?: (Task | string)[];
4251
+ }
4252
+
4253
+ export declare interface TasksListProps {
4254
+ tasks: TasksList_2;
4255
+ maxTasksToShow?: number;
4256
+ onClickTask?: (task: Task) => void;
4257
+ emptyMessage?: string;
4258
+ hideIcons?: boolean;
4259
+ }
4260
+
4261
+ declare type TeamAvatarVariant = Extract<AvatarVariant, {
4262
+ type: "team";
4263
+ }>;
4264
+
4265
+ declare const TeamItem: ForwardRefExoticComponent<TeamItemProps & RefAttributes<HTMLLIElement>>;
4266
+
4267
+ declare type TeamItemProps = {
4268
+ name: string;
4269
+ action?: ActionType;
4270
+ };
4271
+
4272
+ export declare const Textarea: React.FC<TextareaProps>;
4273
+
4274
+ declare const Textarea_2: React_2.ForwardRefExoticComponent<Omit<React_2.TextareaHTMLAttributes<HTMLTextAreaElement>, "value" | "onChange" | "onFocus" | "onBlur"> & {
4275
+ value?: string;
4276
+ } & Pick<InputFieldProps<string>, "label" | "value" | "onChange" | "onFocus" | "onBlur" | "status" | "icon" | "hideLabel" | "maxLength" | "placeholder" | "error" | "labelIcon" | "hint" | "clearable" | "onClear"> & React_2.RefAttributes<HTMLTextAreaElement>>;
4277
+
4278
+ export declare type TextareaProps = Pick<ComponentProps<typeof Textarea_2>, "disabled" | "onChange" | "value" | "placeholder" | "rows" | "cols" | "label" | "labelIcon" | "icon" | "hideLabel" | "maxLength" | "clearable" | "onBlur" | "onFocus" | "name" | "status" | "hint" | "error">;
4279
+
4280
+ declare const THEMES: {
4281
+ readonly light: "";
4282
+ readonly dark: ".dark";
4283
+ };
4284
+
4285
+ export declare type TOCItem<Depth extends 1 | 2 | 3 | 4 = 1> = BaseTOCItem & {
4286
+ children?: NextDepth<Depth> extends never ? never : TOCItem<NextDepth<Depth>>[];
4287
+ };
4288
+
4289
+ export declare type TOCItemAction = {
4290
+ label: string;
4291
+ onClick: () => void;
4292
+ icon?: IconType;
4293
+ } | {
4294
+ type: "separator";
4295
+ };
4296
+
4297
+ declare interface TOCItemProps {
4298
+ item: TOCItem;
4299
+ counter?: number;
4300
+ isActive?: boolean;
4301
+ sortable: boolean;
4302
+ collapsible?: boolean;
4303
+ isExpanded?: boolean;
4304
+ onToggleExpanded?: (id: string) => void;
4305
+ children?: ReactNode;
4306
+ }
4307
+
4308
+ declare interface TOCItemSectionHeaderProps {
4309
+ item: TOCItem;
4310
+ children?: ReactNode;
4311
+ isActive?: boolean;
4312
+ collapsible?: boolean;
4313
+ isExpanded?: boolean;
4314
+ onToggleExpanded?: (id: string) => void;
4315
+ sortable: boolean;
4316
+ }
4317
+
4318
+ export declare interface TOCProps {
4319
+ title: string;
4320
+ items: TOCItem[];
4321
+ className?: string;
4322
+ activeItem?: string;
4323
+ collapsible?: boolean;
4324
+ sortable?: boolean;
4325
+ onReorder?: (reorderedIds: IdStructure[]) => void;
4326
+ }
4327
+
4328
+ declare type toggleActionType = {
4329
+ label: string;
4330
+ checked: boolean;
4331
+ onClick: (checked?: boolean) => void;
4332
+ disabled?: boolean;
4333
+ hideLabel?: boolean;
4334
+ };
4335
+
4336
+ export declare const ToggleGroup: React_2.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React_2.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React_2.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
4337
+ variant?: "default" | "outline" | undefined;
4338
+ size?: "lg" | "sm" | "default" | undefined;
4339
+ } & ({
4340
+ class?: ClassValue;
4341
+ className?: never;
4342
+ } | {
4343
+ class?: never;
4344
+ className?: ClassValue;
4345
+ })) | undefined) => string>) & React_2.RefAttributes<HTMLDivElement>>;
4346
+
4347
+ export declare const ToggleGroupItem: React_2.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
4348
+ variant?: "default" | "outline" | undefined;
4349
+ size?: "lg" | "sm" | "default" | undefined;
4350
+ } & ({
4351
+ class?: ClassValue;
4352
+ className?: never;
4353
+ } | {
4354
+ class?: never;
4355
+ className?: ClassValue;
4356
+ })) | undefined) => string> & React_2.RefAttributes<HTMLButtonElement>>;
4357
+
4358
+ export declare interface ToolbarButtonProps {
4359
+ onClick?: () => void;
4360
+ active?: boolean;
4361
+ label: string;
4362
+ disabled: boolean;
4363
+ icon: IconType;
4364
+ tooltip?: {
4365
+ description?: string;
4366
+ label?: string;
4367
+ shortcut?: ComponentProps<typeof Shortcut>["keys"];
4368
+ };
4369
+ showLabel?: boolean;
4370
+ }
4371
+
4372
+ export declare interface ToolbarDropdownItem {
4373
+ label: string;
4374
+ icon: IconType;
4375
+ onClick: () => void;
4376
+ isActive: boolean;
4377
+ }
4378
+
4379
+ export declare interface ToolbarLabels {
4380
+ bold: string;
4381
+ italic: string;
4382
+ underline: string;
4383
+ strike: string;
4384
+ highlight: string;
4385
+ heading1: string;
4386
+ heading2: string;
4387
+ heading3: string;
4388
+ left: string;
4389
+ center: string;
4390
+ right: string;
4391
+ justify: string;
4392
+ bulletList: string;
4393
+ orderedList: string;
4394
+ taskList: string;
4395
+ codeBlock: string;
4396
+ horizontalRule: string;
4397
+ quote: string;
4398
+ moreOptions: string;
4399
+ code: string;
4400
+ divider: string;
4401
+ bullet: string;
4402
+ ordered: string;
4403
+ task: string;
4404
+ linkPlaceholder: string;
4405
+ linkLabel: string;
4406
+ linkPaste: string;
4407
+ close: string;
4408
+ [key: string]: string;
4409
+ }
4410
+
4411
+ export declare interface ToolbarProps {
4412
+ editor: Editor;
4413
+ isFullscreen?: boolean;
4414
+ disableButtons: boolean;
4415
+ onClose?: () => void;
4416
+ animationComplete?: boolean;
4417
+ labels: ToolbarLabels;
4418
+ darkMode?: boolean;
4419
+ showEmojiPicker?: boolean;
4420
+ plainHtmlMode?: boolean;
4421
+ }
4422
+
4423
+ export declare function Tooltip({ label, description, children, shortcut, }: TooltipProps): default_2.JSX.Element;
4424
+
4425
+ declare type TooltipProps = {
4426
+ children: default_2.ReactNode;
4427
+ shortcut?: ComponentProps<typeof Shortcut>["keys"];
4428
+ } & ({
4429
+ label: string;
4430
+ description?: string;
4431
+ } | {
4432
+ label?: string;
4433
+ description: string;
4434
+ });
4435
+
4436
+ declare interface TranscriptLabels {
4437
+ deleteBlock: string;
4438
+ expand: string;
4439
+ collapse: string;
4440
+ messagesCount: string;
4441
+ messagesCountSingular: string;
4442
+ }
4443
+
4444
+ declare type TranslationShape<T> = {
4445
+ [K in keyof T]: T[K] extends string ? string : T[K] extends Record<string, string | Record<string, unknown>> ? TranslationShape<T[K]> : never;
4446
+ };
4447
+
4448
+ declare type TranslationsType = TranslationShape<typeof defaultTranslations>;
4449
+
4450
+ declare interface TwoColumnsItemType {
4451
+ title: string;
4452
+ info: string | ReactNode;
4453
+ }
4454
+
4455
+ export declare const TwoColumnsList: ForwardRefExoticComponent<TwoColumnsListType & RefAttributes<HTMLDivElement>>;
4456
+
4457
+ declare interface TwoColumnsListType {
4458
+ title?: string;
4459
+ list: TwoColumnsItemType[];
4460
+ }
4461
+
4462
+ declare type Type = "bar-chart" | "line-chart";
4463
+
4464
+ declare namespace Types {
4465
+ export {
4466
+ ActionProps,
4467
+ OneEmptyStateProps
4468
+ }
4469
+ }
4470
+
4471
+ declare type URL_2 = string;
4472
+
4473
+ export declare function useAiChat(): AiChatProviderReturnValue;
4474
+
4475
+ /**
4476
+ * A hook that manages data source state and filtering capabilities for a collection.
4477
+ * It creates and returns a reusable data source that can be shared across different
4478
+ * visualizations and components.
4479
+ *
4480
+ * This hook is intentionally separated from the rendering components to:
4481
+ * 1. Enable sharing the same data source across multiple components
4482
+ * 2. Allow for state management outside the rendering layer
4483
+ * 3. Support more complex data filtering, querying, and pagination logic
4484
+ * 4. Provide a clean separation between data management and visualization
4485
+ *
4486
+ * @template Record - The type of records in the collection
4487
+ * @template Filters - The definition of available filters for the collection
4488
+ * @template ItemActions - The definition of available item actions
4489
+ * @template Actions - The definition of available actions for the collection
4490
+ *
4491
+ * @param options - Configuration object containing:
4492
+ * - filters: Optional filter configurations for the collection
4493
+ * - currentFilters: Initial state of the filters
4494
+ * - dataAdapter: Adapter for data fetching and manipulation
4495
+ * - itemActions: Optional item actions available
4496
+ * - actions: Optional DataCollection actions
4497
+ * - presets: Optional filter presets
4498
+ * @param deps - Dependency array for memoization, similar to useEffect dependencies
4499
+ *
4500
+ * @returns A DataSource object containing:
4501
+ * - filters: The available filter configurations
4502
+ * - currentFilters: The current state of the filters
4503
+ * - setCurrentFilters: Function to update the filter state
4504
+ * - dataAdapter: The data adapter for fetching/manipulating data
4505
+ * - itemActions: Available actions for records (items)
4506
+ * - actions: Available actions for the collection
4507
+ * - presets: Available filter presets
4508
+ */
4509
+ export declare const useDataSource: <Record extends RecordType, FiltersSchema extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<Record>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<Record>>({ currentFilters: initialCurrentFilters, currentGrouping: initialCurrentGrouping, filters, navigationFilters, search, defaultSorting, summaries, dataAdapter, grouping, ...rest }: DataSourceDefinition<Record, FiltersSchema, Sortings, Summaries, ItemActions, NavigationFilters, Grouping>, deps?: ReadonlyArray<unknown>) => DataSource<Record, FiltersSchema, Sortings, Summaries, ItemActions, NavigationFilters, Grouping>;
4510
+
4511
+ export { useForm }
4512
+
4513
+ export declare function useFormSchema<Schema extends SchemaType, FormData extends InferSchema<Schema>>(schema: Schema, options: UseFormProps<FormData>, onSubmit: OnSubmitHandler<FormData>): FormType<Schema, FormData>;
4514
+
4515
+ export declare interface User {
4516
+ id: string;
4517
+ fullname: string;
4518
+ imageUrl: string;
4519
+ }
4520
+
4521
+ declare interface User_2 {
4522
+ name: string;
4523
+ }
4524
+
4525
+ export declare function useSidebar(): FrameContextType;
4526
+
4527
+ declare type ValueDisplayRendererContext = {
4528
+ visualization: ValueDisplayVisualizationType;
4529
+ };
4530
+
4531
+ /**
4532
+ * The definition of a renderer.
4533
+ * Union type of all possible renderer definitions to ensure the value is the type related the `type`{ [RenderedType]: RendererFuncArgument }.
4534
+ */
4535
+ declare type ValueDisplayRendererDefinition = {
4536
+ [K in keyof typeof valueDisplayRenderers]: {
4537
+ type: K;
4538
+ value: Parameters<(typeof valueDisplayRenderers)[K]>[0];
4539
+ };
4540
+ }[keyof typeof valueDisplayRenderers];
4541
+
4542
+ declare const valueDisplayRenderers: {
4543
+ readonly text: (args: TextCellValue) => JSX_2.Element;
4544
+ readonly number: (args: NumberCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
4545
+ readonly date: (args: DateCellValue) => JSX_2.Element;
4546
+ readonly amount: (args: AmountCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
4547
+ readonly avatarList: (args: AvatarListCellValue) => JSX_2.Element;
4548
+ readonly status: (args: StatusCellValue) => JSX_2.Element;
4549
+ readonly alertTag: (args: AlertTagCellValue) => JSX_2.Element;
4550
+ readonly person: (args: PersonCellValue) => JSX_2.Element;
4551
+ readonly percentage: (args: PercentageCellValue) => JSX_2.Element | null;
4552
+ readonly company: (args: CompanyCellValue) => JSX_2.Element;
4553
+ readonly team: (args: TeamCellValue) => JSX_2.Element;
4554
+ readonly tag: (args: TagCellValue) => JSX_2.Element;
4555
+ readonly dotTag: (args: DotTagCellValue) => JSX_2.Element;
4556
+ readonly tagList: (args: TagListCellValue) => JSX_2.Element;
4557
+ readonly icon: (args: IconCellValue) => JSX_2.Element;
4558
+ readonly file: (args: FileCellValue) => JSX_2.Element;
4559
+ readonly folder: (args: FolderCellValue) => JSX_2.Element;
4560
+ };
4561
+
4562
+ declare type ValueDisplayVisualizationType = "table" | "card" | "list" | (string & {});
4563
+
4564
+ declare type Variant = "neutral" | "info" | "positive" | "warning" | "critical";
4565
+
4566
+ declare const variants: (props?: ({
4567
+ aspect?: "small" | "square" | "wide" | undefined;
4568
+ } & ({
4569
+ class?: ClassValue;
4570
+ className?: never;
4571
+ } | {
4572
+ class?: never;
4573
+ className?: ClassValue;
4574
+ })) | undefined) => string;
4575
+
4576
+ declare const variants_2: readonly ["default", "outline", "critical", "neutral", "ghost", "promote", "outlinePromote"];
4577
+
4578
+ export declare const VerticalBarChartWidget: ForwardRefExoticComponent<Omit<WidgetProps_2 & {
4579
+ chart: VerticalBarChartProps;
4580
+ } & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
4581
+
4582
+ declare const VerticalOverflowList: {
4583
+ <T>({ items, renderListItem, className, gap, minSize, onVisibleItemsChange, }: OverflowListProps<T>): JSX_2.Element;
4584
+ displayName: string;
4585
+ };
4586
+
4587
+ /**
4588
+ * Represents a visualization configuration for displaying collection data.
4589
+ * Supports different visualization types (card, table, or custom) with their respective options.
4590
+ *
4591
+ * @template Record - The type of records in the collection
4592
+ * @template Filters - The filters type extending FiltersDefinition
4593
+ * @template ItemActions - The actions type extending Item ActionsDefinition
4594
+ */
4595
+ declare type Visualization<Record extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<Record>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<Record>> = {
4596
+ /** Card-based visualization type */
4597
+ type: "card";
4598
+ /** Configuration options for card visualization */
4599
+ options: CardVisualizationOptions<Record, Filters, Sortings>;
4600
+ } | {
4601
+ /** Kanban-based visualization type */
4602
+ type: "kanban";
4603
+ /** Configuration options for kanban visualization */
4604
+ options: KanbanVisualizationOptions<Record, Filters, Sortings>;
4605
+ } | {
4606
+ /** Table-based visualization type */
4607
+ type: "table";
4608
+ /** Configuration options for table visualization */
4609
+ options: TableVisualizationOptions<Record, Filters, Sortings, Summaries>;
4610
+ } | {
4611
+ /** List-based visualization type */
4612
+ type: "list";
4613
+ /** Configuration options for list visualization */
4614
+ options: ListVisualizationOptions<Record, Filters, Sortings>;
4615
+ } | {
4616
+ /** Human-readable label for the visualization */
4617
+ label: string;
4618
+ /** Icon to represent the visualization in UI */
4619
+ icon: IconType;
4620
+ /** Custom visualization type */
4621
+ type: "custom";
4622
+ /** Custom component to render the visualization */
4623
+ component: (props: {
4624
+ onSelectItems: OnSelectItemsCallback<Record, Filters>;
4625
+ onLoadData: OnLoadDataCallback<Record, Filters>;
4626
+ onLoadError: OnLoadErrorCallback;
4627
+ source: DataSource<Record, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping>;
4628
+ }) => JSX.Element;
4629
+ };
4630
+
4631
+ export declare const Weekdays: ForwardRefExoticComponent<WeekdaysProps & RefAttributes<HTMLDivElement>>;
4632
+
4633
+ declare interface WeekdaysProps {
4634
+ activatedDays?: number[];
4635
+ daysOfTheWeek?: string[];
4636
+ }
4637
+
4638
+ export declare const Widget: default_2.ForwardRefExoticComponent<WidgetProps & {
4639
+ children: ReactNode;
4640
+ } & default_2.RefAttributes<HTMLDivElement>> & {
4641
+ Skeleton: default_2.ForwardRefExoticComponent<WidgetSkeletonProps & default_2.RefAttributes<HTMLDivElement>>;
4642
+ };
4643
+
4644
+ export declare function WidgetAvatarsListItem({ id, title, subtitle, avatars, remainingCount, withPointerCursor, onClick, ...props }: WidgetAvatarsListItemProps): JSX_2.Element;
4645
+
4646
+ export declare type WidgetAvatarsListItemProps = {
4647
+ id: string | number;
4648
+ title: string;
4649
+ subtitle: string;
4650
+ avatars: Omit<PersonAvatarVariant, "type">[] & Record<string, unknown>[];
4651
+ remainingCount?: number;
4652
+ withPointerCursor?: boolean;
4653
+ onClick?: (id: string | number) => void;
4654
+ } & ({
4655
+ emoji: string;
4656
+ } | {
4657
+ alert: ComponentProps<typeof F0AvatarAlert>["type"];
4658
+ });
4659
+
4660
+ export declare function WidgetEmptyState({ title, description, emoji, actions, }: WidgetEmptyStateProps): JSX_2.Element;
4661
+
4662
+ export declare type WidgetEmptyStateProps = {
4663
+ title: string;
4664
+ description: string;
4665
+ emoji?: string;
4666
+ actions?: Action_2[];
4667
+ };
4668
+
4669
+ export declare function WidgetHighlightButton({ label, count, icon, iconClassName, onClick, }: Props_6): JSX_2.Element;
4670
+
4671
+ export declare function WidgetInboxList({ items, minSize, onClickItem, showAllItems, onVisibleItemsChange, }: Props_9): JSX_2.Element;
4672
+
4673
+ export declare function WidgetInboxListItem({ id, title, subtitle, onClick, module, }: Props_7): JSX_2.Element;
4674
+
4675
+ export declare type WidgetInboxListItemProps<Id extends string | number = string | number> = Props_7<Id>;
4676
+
4677
+ export declare type WidgetInboxListProps = Props_9;
4678
+
4679
+ export declare interface WidgetProps {
4680
+ header?: {
4681
+ title?: string;
4682
+ subtitle?: string;
4683
+ comment?: string;
4684
+ info?: string;
4685
+ canBeBlurred?: boolean;
4686
+ link?: {
4687
+ title: string;
4688
+ url?: string;
4689
+ onClick?: () => void;
4690
+ icon?: IconType;
4691
+ };
4692
+ count?: number;
4693
+ };
4694
+ action?: ButtonProps;
4695
+ summaries?: Array<{
4696
+ label: string;
4697
+ value: string | number;
4698
+ prefixUnit?: string;
4699
+ postfixUnit?: string;
4700
+ }>;
4701
+ alert?: string;
4702
+ status?: {
4703
+ text: string;
4704
+ variant: StatusVariant;
4705
+ };
4706
+ fullHeight?: boolean;
4707
+ }
4708
+
4709
+ export declare const WidgetSection: ForwardRefExoticComponent< {
4710
+ children?: ReactNode | undefined;
4711
+ } & {
4712
+ title?: string;
4713
+ } & RefAttributes<HTMLDivElement>>;
4714
+
4715
+ export declare function WidgetSimpleList({ items, gap, minSize, onClickItem, showAllItems, }: Props_10): JSX_2.Element;
4716
+
4717
+ export declare function WidgetSimpleListItem({ id, title, alert, rawTag, count, icon, rightIcon, iconClassName, rightIconClassName, onClick, }: WidgetSimpleListItemProps): JSX_2.Element;
4718
+
4719
+ export declare type WidgetSimpleListItemProps<Id extends string | number = string | number> = {
4720
+ id: Id;
4721
+ title: string;
4722
+ icon?: IconType;
4723
+ iconClassName?: string;
4724
+ rightIcon?: IconType;
4725
+ rightIconClassName?: string;
4726
+ count?: number;
4727
+ alert?: ComponentProps<typeof F0TagAlert>;
4728
+ rawTag?: ComponentProps<typeof F0TagRaw>;
4729
+ onClick?: (id: Id) => void;
4730
+ };
4731
+
4732
+ export declare type WidgetSimpleListProps = Props_10;
4733
+
4734
+ export declare type WidgetSkeletonProps = {
4735
+ header?: {
4736
+ title?: string;
4737
+ subtitle?: string;
4738
+ };
4739
+ } & (VariantProps<typeof skeletonVariants> | {
4740
+ height: "full";
4741
+ });
4742
+
4743
+ export declare const WidgetStrip: ForwardRefExoticComponent<DashboardProps_2 & RefAttributes<HTMLDivElement>> & {
4744
+ Skeleton: () => JSX_2.Element;
4745
+ };
4746
+
4747
+ declare type WidgetWidth = "sm" | "md" | "lg";
4748
+
4749
+ declare type WithOptionalSorting<R extends RecordType, Sortings extends SortingsDefinition> = PropertyDefinition_2<R> & {
4750
+ sorting?: SortingKey<Sortings>;
4751
+ /**
4752
+ * The alignment of the column. If not provided, the alignment will be "left"
4753
+ */
4754
+ align?: "left" | "right";
4755
+ /**
4756
+ * The width of the column. If not provided, the width will be "auto"
4757
+ */
4758
+ width?: number;
4759
+ };
4760
+
4761
+ declare type WithOptionalSorting_2<Record, Sortings extends SortingsDefinition> = PropertyDefinition_2<Record> & {
4762
+ sorting?: SortingKey<Sortings>;
4763
+ };
4764
+
4765
+ export { }
4766
+
4767
+
4768
+ declare global {
4769
+ interface Window {
4770
+ XRay: {
4771
+ enable: (filter?: ComponentTypes[]) => void;
4772
+ disable: () => void;
4773
+ };
4774
+ }
4775
+ }
4776
+
4777
+
4778
+ declare module "@tiptap/core" {
4779
+ interface Commands<ReturnType> {
4780
+ transcript: {
4781
+ insertTranscript: (data: TranscriptData, config?: TranscriptConfig) => ReturnType;
4782
+ };
4783
+ }
4784
+ }
4785
+
4786
+
4787
+ declare module "@tiptap/core" {
4788
+ interface Commands<ReturnType> {
4789
+ liveCompanion: {
4790
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
4791
+ };
4792
+ }
4793
+ }
4794
+
4795
+
4796
+ declare module "@tiptap/core" {
4797
+ interface Commands<ReturnType> {
4798
+ aiBlock: {
4799
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
4800
+ };
4801
+ }
4802
+ }
4803
+
4804
+
4805
+ declare module "@tiptap/core" {
4806
+ interface Commands<ReturnType> {
4807
+ moodTracker: {
4808
+ insertMoodTracker: (data: MoodTrackerData, config?: MoodTrackerConfig) => ReturnType;
4809
+ };
4810
+ }
4811
+ }
4812
+
4813
+
4814
+ declare namespace Calendar {
4815
+ var displayName: string;
4816
+ }