@memobit/libs 1.0.1 → 1.0.3

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 (743) hide show
  1. package/dist/index.d.ts +2 -2833
  2. package/dist/index.esm.js +2408 -2409
  3. package/dist/src/components/Accordion/Accordion.d.ts +17 -0
  4. package/dist/src/components/Accordion/index.d.ts +2 -0
  5. package/dist/src/components/AlertDialog/AlertDialog.d.ts +10 -0
  6. package/dist/src/components/AlertDialog/index.d.ts +1 -0
  7. package/dist/src/components/AppHeader/AppHeader.d.ts +13 -0
  8. package/dist/src/components/AppHeader/index.d.ts +2 -0
  9. package/dist/src/components/Auth/ChangePasswordModal/ChangePasswordModal.d.ts +7 -0
  10. package/dist/src/components/Auth/ChangePasswordModal/index.d.ts +1 -0
  11. package/dist/src/components/Auth/Login/Login.d.ts +5 -0
  12. package/dist/src/components/Auth/Login/index.d.ts +1 -0
  13. package/dist/src/components/Auth/index.d.ts +3 -0
  14. package/dist/src/components/AvatarInitials/AvatarInitials.d.ts +11 -0
  15. package/dist/src/components/AvatarInitials/index.d.ts +1 -0
  16. package/dist/src/components/BMI/BMI.d.ts +12 -0
  17. package/dist/src/components/BMI/bmiUtils.d.ts +15 -0
  18. package/dist/src/components/BMI/index.d.ts +2 -0
  19. package/dist/src/components/Badge/Badge.d.ts +14 -0
  20. package/dist/src/components/Badge/index.d.ts +1 -0
  21. package/dist/src/components/Banner/Banner.d.ts +17 -0
  22. package/dist/src/components/Banner/index.d.ts +1 -0
  23. package/dist/src/components/Breadcrumb/Breadcrumb.d.ts +13 -0
  24. package/dist/src/components/Breadcrumb/index.d.ts +2 -0
  25. package/dist/src/components/BulkActionBar/BulkActionBar.d.ts +29 -0
  26. package/dist/src/components/BulkActionBar/index.d.ts +1 -0
  27. package/dist/src/components/Button/Button.d.ts +26 -0
  28. package/dist/src/components/Button/index.d.ts +1 -0
  29. package/dist/src/components/Calendar/Calendar.d.ts +25 -0
  30. package/dist/src/components/Calendar/index.d.ts +2 -0
  31. package/dist/src/components/CalendarHeatmap/CalendarHeatmap.d.ts +13 -0
  32. package/dist/src/components/CalendarHeatmap/index.d.ts +1 -0
  33. package/dist/src/components/Card/Card.d.ts +24 -0
  34. package/dist/src/components/Card/index.d.ts +2 -0
  35. package/dist/src/components/ChatBot/ChatBot.d.ts +5 -0
  36. package/dist/src/components/ChatBot/index.d.ts +1 -0
  37. package/dist/src/components/Checkbox/Checkbox.d.ts +13 -0
  38. package/dist/src/components/Checkbox/index.d.ts +1 -0
  39. package/dist/src/components/Chip/Chip.d.ts +17 -0
  40. package/dist/src/components/Chip/index.d.ts +1 -0
  41. package/dist/src/components/CollapsibleSection/CollapsibleSection.d.ts +23 -0
  42. package/dist/src/components/CollapsibleSection/index.d.ts +1 -0
  43. package/dist/src/components/ColorPicker/ColorPicker.d.ts +6 -0
  44. package/dist/src/components/ColorPicker/index.d.ts +1 -0
  45. package/dist/src/components/CommandPalette/CommandPalette.d.ts +18 -0
  46. package/dist/src/components/CommandPalette/index.d.ts +1 -0
  47. package/dist/src/components/Confetti/Confetti.d.ts +15 -0
  48. package/dist/src/components/Confetti/index.d.ts +2 -0
  49. package/dist/src/components/ConfirmDialog/ConfirmDialog.d.ts +12 -0
  50. package/dist/src/components/ConfirmDialog/index.d.ts +1 -0
  51. package/dist/src/components/ConfirmPopover/ConfirmPopover.d.ts +24 -0
  52. package/dist/src/components/ConfirmPopover/index.d.ts +1 -0
  53. package/dist/src/components/ContextMenu/ContextMenu.d.ts +9 -0
  54. package/dist/src/components/ContextMenu/index.d.ts +1 -0
  55. package/dist/src/components/ContextToast/ContextToast.d.ts +30 -0
  56. package/dist/src/components/ContextToast/index.d.ts +1 -0
  57. package/dist/src/components/ControlPanel/ControlPanel.d.ts +4 -0
  58. package/dist/src/components/ControlPanel/ControlPanel.types.d.ts +206 -0
  59. package/dist/src/components/ControlPanel/ControlPanelContext.d.ts +15 -0
  60. package/dist/src/components/ControlPanel/ControlPanelFilter.d.ts +8 -0
  61. package/dist/src/components/ControlPanel/ControlPanelNav.d.ts +7 -0
  62. package/dist/src/components/ControlPanel/ControlPanelOptions.d.ts +11 -0
  63. package/dist/src/components/ControlPanel/index.d.ts +2 -0
  64. package/dist/src/components/CopyButton/CopyButton.d.ts +20 -0
  65. package/dist/src/components/CopyButton/index.d.ts +1 -0
  66. package/dist/src/components/CountryWithFlag/CountryWithFlag.d.ts +9 -0
  67. package/dist/src/components/CountryWithFlag/index.d.ts +1 -0
  68. package/dist/src/components/DataView/DataView.CardView.d.ts +29 -0
  69. package/dist/src/components/DataView/DataView.MiniSort.d.ts +10 -0
  70. package/dist/src/components/DataView/DataView.d.ts +2 -0
  71. package/dist/src/components/DataView/DataView.types.d.ts +133 -0
  72. package/dist/src/components/DataView/index.d.ts +2 -0
  73. package/dist/src/components/DatePicker/DatePicker.d.ts +16 -0
  74. package/dist/src/components/DatePicker/index.d.ts +2 -0
  75. package/dist/src/components/DateRangePicker/DateRangePicker.d.ts +21 -0
  76. package/dist/src/components/DateRangePicker/index.d.ts +1 -0
  77. package/dist/src/components/DiffViewer/DiffViewer.d.ts +15 -0
  78. package/dist/src/components/DiffViewer/index.d.ts +2 -0
  79. package/dist/src/components/Drawer/Drawer.d.ts +45 -0
  80. package/dist/src/components/Drawer/index.d.ts +2 -0
  81. package/dist/src/components/Dropdown/Dropdown.d.ts +37 -0
  82. package/dist/src/components/Dropdown/index.d.ts +1 -0
  83. package/dist/src/components/EmojiPicker/EmojiPicker.d.ts +6 -0
  84. package/dist/src/components/EmojiPicker/emojiKeywords/activities.d.ts +1 -0
  85. package/dist/src/components/EmojiPicker/emojiKeywords/animals.d.ts +1 -0
  86. package/dist/src/components/EmojiPicker/emojiKeywords/food.d.ts +1 -0
  87. package/dist/src/components/EmojiPicker/emojiKeywords/index.d.ts +1 -0
  88. package/dist/src/components/EmojiPicker/emojiKeywords/objects.d.ts +1 -0
  89. package/dist/src/components/EmojiPicker/emojiKeywords/people.d.ts +1 -0
  90. package/dist/src/components/EmojiPicker/emojiKeywords/smileys.d.ts +1 -0
  91. package/dist/src/components/EmojiPicker/emojiKeywords/symbols.d.ts +1 -0
  92. package/dist/src/components/EmojiPicker/emojiKeywords/travel.d.ts +1 -0
  93. package/dist/src/components/EmojiPicker/index.d.ts +1 -0
  94. package/dist/src/components/EmptyState/EmptyState.d.ts +13 -0
  95. package/dist/src/components/EmptyState/index.d.ts +1 -0
  96. package/dist/src/components/ErrorBoundary/ErrorBoundary.d.ts +30 -0
  97. package/dist/src/components/ErrorBoundary/index.d.ts +1 -0
  98. package/dist/src/components/FileDropzone/FileDropzone.d.ts +9 -0
  99. package/dist/src/components/FileDropzone/index.d.ts +1 -0
  100. package/dist/src/components/Flag/Flag.d.ts +8 -0
  101. package/dist/src/components/Flag/index.d.ts +1 -0
  102. package/dist/src/components/FloatButton/FloatButton.d.ts +12 -0
  103. package/dist/src/components/FloatButton/index.d.ts +2 -0
  104. package/dist/src/components/FolderBrowserModal/FolderBrowserModal.d.ts +26 -0
  105. package/dist/src/components/FolderBrowserModal/index.d.ts +2 -0
  106. package/dist/src/components/Icon/Icon.d.ts +18 -0
  107. package/dist/src/components/Icon/iconMap.d.ts +3 -0
  108. package/dist/src/components/Icon/iconNames.d.ts +1 -0
  109. package/dist/src/components/Icon/index.d.ts +2 -0
  110. package/dist/src/components/InfiniteScroll/InfiniteScroll.d.ts +23 -0
  111. package/dist/src/components/InfiniteScroll/index.d.ts +2 -0
  112. package/dist/src/components/InputDate/InputDate.d.ts +25 -0
  113. package/dist/src/components/InputDate/index.d.ts +1 -0
  114. package/dist/src/components/InputEmail/InputEmail.d.ts +26 -0
  115. package/dist/src/components/InputEmail/index.d.ts +2 -0
  116. package/dist/src/components/InputFile/InputFile.d.ts +18 -0
  117. package/dist/src/components/InputFile/index.d.ts +1 -0
  118. package/dist/src/components/InputMask/InputMask.d.ts +59 -0
  119. package/dist/src/components/InputMask/index.d.ts +1 -0
  120. package/dist/src/components/InputNumber/InputNumber.d.ts +23 -0
  121. package/dist/src/components/InputNumber/index.d.ts +1 -0
  122. package/dist/src/components/InputPassword/InputPassword.d.ts +23 -0
  123. package/dist/src/components/InputPassword/index.d.ts +1 -0
  124. package/dist/src/components/InputPhone/InputPhone.d.ts +21 -0
  125. package/dist/src/components/InputPhone/index.d.ts +1 -0
  126. package/dist/src/components/InputSearch/InputSearch.d.ts +19 -0
  127. package/dist/src/components/InputSearch/index.d.ts +2 -0
  128. package/dist/src/components/InputText/InputText.d.ts +23 -0
  129. package/dist/src/components/InputText/index.d.ts +1 -0
  130. package/dist/src/components/InputTextarea/InputTextarea.d.ts +23 -0
  131. package/dist/src/components/InputTextarea/index.d.ts +1 -0
  132. package/dist/src/components/InputTime/InputTime.d.ts +22 -0
  133. package/dist/src/components/InputTime/index.d.ts +1 -0
  134. package/dist/src/components/InputUrl/InputUrl.d.ts +24 -0
  135. package/dist/src/components/InputUrl/index.d.ts +1 -0
  136. package/dist/src/components/JourneyWizard/JourneyWizard.d.ts +23 -0
  137. package/dist/src/components/JourneyWizard/index.d.ts +1 -0
  138. package/dist/src/components/List/List.d.ts +16 -0
  139. package/dist/src/components/List/index.d.ts +1 -0
  140. package/dist/src/components/Loading/Loading.d.ts +2 -0
  141. package/dist/src/components/Loading/index.d.ts +1 -0
  142. package/dist/src/components/MenuHamburger/MenuHamburger.d.ts +19 -0
  143. package/dist/src/components/MenuHamburger/index.d.ts +2 -0
  144. package/dist/src/components/MiniSort/MiniSort.d.ts +23 -0
  145. package/dist/src/components/MiniSort/index.d.ts +2 -0
  146. package/dist/src/components/MiniStatsCard/MiniStatsCard.d.ts +34 -0
  147. package/dist/src/components/MiniStatsCard/index.d.ts +2 -0
  148. package/dist/src/components/Minimap/Minimap.d.ts +24 -0
  149. package/dist/src/components/Minimap/index.d.ts +2 -0
  150. package/dist/src/components/Modal/Modal.d.ts +20 -0
  151. package/dist/src/components/Modal/index.d.ts +1 -0
  152. package/dist/src/components/NavBar/NavBar.d.ts +22 -0
  153. package/dist/src/components/NavBar/index.d.ts +1 -0
  154. package/dist/src/components/NotificationPanel/NotificationPanel.d.ts +14 -0
  155. package/dist/src/components/NotificationPanel/index.d.ts +2 -0
  156. package/dist/src/components/Pagination/Pagination.d.ts +15 -0
  157. package/dist/src/components/Pagination/index.d.ts +1 -0
  158. package/dist/src/components/PieChart/PieChart.d.ts +19 -0
  159. package/dist/src/components/PieChart/index.d.ts +1 -0
  160. package/dist/src/components/Popover/Popover.d.ts +18 -0
  161. package/dist/src/components/Popover/hooks/Popover.hook.d.ts +11 -0
  162. package/dist/src/components/Popover/index.d.ts +2 -0
  163. package/dist/src/components/ProgressBar/ProgressBar.d.ts +20 -0
  164. package/dist/src/components/ProgressBar/index.d.ts +1 -0
  165. package/dist/src/components/ProgressRing/ProgressRing.d.ts +16 -0
  166. package/dist/src/components/ProgressRing/index.d.ts +1 -0
  167. package/dist/src/components/QuantitySelector/QuantitySelector.d.ts +17 -0
  168. package/dist/src/components/QuantitySelector/index.d.ts +1 -0
  169. package/dist/src/components/QuickAdd/QuickAdd.d.ts +14 -0
  170. package/dist/src/components/QuickAdd/index.d.ts +1 -0
  171. package/dist/src/components/QuickNumberUpdate/QuickNumberUpdate.d.ts +14 -0
  172. package/dist/src/components/QuickNumberUpdate/index.d.ts +1 -0
  173. package/dist/src/components/QuickOptionUpdate/QuickOptionUpdate.d.ts +16 -0
  174. package/dist/src/components/QuickOptionUpdate/index.d.ts +1 -0
  175. package/dist/src/components/Radio/Radio.d.ts +12 -0
  176. package/dist/src/components/Radio/index.d.ts +1 -0
  177. package/dist/src/components/Rating/Rating.d.ts +17 -0
  178. package/dist/src/components/Rating/RatingIcon.d.ts +12 -0
  179. package/dist/src/components/Rating/index.d.ts +1 -0
  180. package/dist/src/components/RichTextEditor/RichTextEditor.d.ts +16 -0
  181. package/dist/src/components/RichTextEditor/RteLinkPrompt.d.ts +12 -0
  182. package/dist/src/components/RichTextEditor/RteTableToolbar.d.ts +15 -0
  183. package/dist/src/components/RichTextEditor/RteToolbar.d.ts +14 -0
  184. package/dist/src/components/RichTextEditor/helpers.d.ts +17 -0
  185. package/dist/src/components/RichTextEditor/hooks/useEditorHistory.d.ts +6 -0
  186. package/dist/src/components/RichTextEditor/hooks/useLinkPrompt.d.ts +18 -0
  187. package/dist/src/components/RichTextEditor/hooks/useTableOps.d.ts +24 -0
  188. package/dist/src/components/RichTextEditor/index.d.ts +1 -0
  189. package/dist/src/components/ScrollToTop/ScrollToTop.d.ts +8 -0
  190. package/dist/src/components/ScrollToTop/index.d.ts +1 -0
  191. package/dist/src/components/Separator/Separator.d.ts +14 -0
  192. package/dist/src/components/Separator/index.d.ts +2 -0
  193. package/dist/src/components/Sidebar/Sidebar.d.ts +39 -0
  194. package/dist/src/components/Sidebar/SidebarContext.d.ts +15 -0
  195. package/dist/src/components/Sidebar/index.d.ts +2 -0
  196. package/dist/src/components/SignalStrength/SignalStrength.d.ts +13 -0
  197. package/dist/src/components/SignalStrength/index.d.ts +1 -0
  198. package/dist/src/components/Skeleton/Skeleton.d.ts +13 -0
  199. package/dist/src/components/Skeleton/index.d.ts +2 -0
  200. package/dist/src/components/Slider/Slider.d.ts +25 -0
  201. package/dist/src/components/Slider/index.d.ts +1 -0
  202. package/dist/src/components/SplitPanel/SplitPanel.d.ts +20 -0
  203. package/dist/src/components/SplitPanel/index.d.ts +1 -0
  204. package/dist/src/components/StackedBar/StackedBar.d.ts +22 -0
  205. package/dist/src/components/StackedBar/index.d.ts +1 -0
  206. package/dist/src/components/Stats/Stats.d.ts +20 -0
  207. package/dist/src/components/Stats/index.d.ts +2 -0
  208. package/dist/src/components/StickyBar/StickyBar.d.ts +19 -0
  209. package/dist/src/components/StickyBar/index.d.ts +2 -0
  210. package/dist/src/components/SuggestionsList/SuggestionsList.d.ts +15 -0
  211. package/dist/src/components/SuggestionsList/index.d.ts +1 -0
  212. package/dist/src/components/ThemeSettings/ThemeContext.d.ts +10 -0
  213. package/dist/src/components/ThemeSettings/ThemeContextValue.d.ts +19 -0
  214. package/dist/src/components/ThemeSettings/ThemeSettings.d.ts +12 -0
  215. package/dist/src/components/ThemeSettings/index.d.ts +5 -0
  216. package/dist/src/components/ThemeSettings/themeConfig.d.ts +14 -0
  217. package/dist/src/components/ThemeSettings/useTheme.d.ts +2 -0
  218. package/dist/src/components/Timeline/Timeline.d.ts +28 -0
  219. package/dist/src/components/Timeline/index.d.ts +1 -0
  220. package/dist/src/components/TimelineMarkers/TimelineMarkers.d.ts +26 -0
  221. package/dist/src/components/TimelineMarkers/index.d.ts +1 -0
  222. package/dist/src/components/TipsOfTheDay/TipsOfTheDay.d.ts +6 -0
  223. package/dist/src/components/TipsOfTheDay/index.d.ts +1 -0
  224. package/dist/src/components/Toast/Toast.d.ts +19 -0
  225. package/dist/src/components/Toast/index.d.ts +1 -0
  226. package/dist/src/components/ToggleButtons/ToggleButtons.d.ts +19 -0
  227. package/dist/src/components/ToggleButtons/index.d.ts +1 -0
  228. package/dist/src/components/ToggleSwitch/ToggleSwitch.d.ts +14 -0
  229. package/dist/src/components/ToggleSwitch/index.d.ts +1 -0
  230. package/dist/src/components/Toolbar/Toolbar.d.ts +70 -0
  231. package/dist/src/components/Toolbar/index.d.ts +1 -0
  232. package/dist/src/components/Tooltip/Tooltip.d.ts +14 -0
  233. package/dist/src/components/Tooltip/index.d.ts +2 -0
  234. package/dist/src/components/TourHud/TourHud.d.ts +22 -0
  235. package/dist/src/components/TourHud/index.d.ts +2 -0
  236. package/dist/src/components/Tree/Tree.d.ts +28 -0
  237. package/dist/src/components/Tree/index.d.ts +1 -0
  238. package/dist/src/components/WHtR/WHtR.d.ts +10 -0
  239. package/dist/src/components/WHtR/index.d.ts +1 -0
  240. package/dist/src/contexts/AuthContext/AuthContext.d.ts +9 -0
  241. package/dist/src/contexts/AuthContext/index.d.ts +1 -0
  242. package/dist/src/helpers/AppPersistenceStorage.d.ts +12 -0
  243. package/dist/src/helpers/Datetime.d.ts +61 -0
  244. package/dist/src/helpers/Format.d.ts +3 -0
  245. package/dist/src/helpers/Highlight.d.ts +2 -0
  246. package/dist/src/helpers/HtmlContent.d.ts +24 -0
  247. package/dist/src/helpers/LogicalOperators.d.ts +2 -0
  248. package/dist/src/helpers/Numbers.d.ts +6 -0
  249. package/dist/src/helpers/Pagination.d.ts +1 -0
  250. package/dist/src/helpers/Search.d.ts +2 -0
  251. package/dist/src/helpers/Strings.d.ts +6 -0
  252. package/dist/src/helpers/Urls.d.ts +3 -0
  253. package/dist/src/helpers/VersionInfo.d.ts +18 -0
  254. package/dist/src/hooks/useAppPersistence.d.ts +13 -0
  255. package/dist/src/hooks/useAuth/index.d.ts +1 -0
  256. package/dist/src/hooks/useAuth/useAuth.d.ts +2 -0
  257. package/dist/src/hooks/useBodyScrollLock.d.ts +1 -0
  258. package/dist/src/hooks/useBreakpoint.d.ts +32 -0
  259. package/dist/src/hooks/useComponentEffect.d.ts +1 -0
  260. package/dist/src/icons/active.d.ts +1 -0
  261. package/dist/src/icons/afternoon.d.ts +1 -0
  262. package/dist/src/icons/ajax.d.ts +1 -0
  263. package/dist/src/icons/alarm.d.ts +1 -0
  264. package/dist/src/icons/analysis.d.ts +1 -0
  265. package/dist/src/icons/angular.d.ts +1 -0
  266. package/dist/src/icons/announcement.d.ts +1 -0
  267. package/dist/src/icons/anomaly.d.ts +1 -0
  268. package/dist/src/icons/ant.d.ts +1 -0
  269. package/dist/src/icons/antenna.d.ts +1 -0
  270. package/dist/src/icons/api.d.ts +1 -0
  271. package/dist/src/icons/appliances.d.ts +1 -0
  272. package/dist/src/icons/archive.d.ts +1 -0
  273. package/dist/src/icons/arrow-bidirectional-horizontal.d.ts +1 -0
  274. package/dist/src/icons/arrow-bidirectional-vertical.d.ts +1 -0
  275. package/dist/src/icons/arrow-down.d.ts +1 -0
  276. package/dist/src/icons/arrow-left.d.ts +1 -0
  277. package/dist/src/icons/arrow-right.d.ts +1 -0
  278. package/dist/src/icons/arrow-up.d.ts +1 -0
  279. package/dist/src/icons/atom.d.ts +1 -0
  280. package/dist/src/icons/avocado.d.ts +1 -0
  281. package/dist/src/icons/badge.d.ts +1 -0
  282. package/dist/src/icons/ball.d.ts +1 -0
  283. package/dist/src/icons/balloon.d.ts +1 -0
  284. package/dist/src/icons/banana.d.ts +1 -0
  285. package/dist/src/icons/bank.d.ts +1 -0
  286. package/dist/src/icons/bat.d.ts +1 -0
  287. package/dist/src/icons/bath.d.ts +1 -0
  288. package/dist/src/icons/battery-charging.d.ts +1 -0
  289. package/dist/src/icons/battery-empty.d.ts +1 -0
  290. package/dist/src/icons/battery-full.d.ts +1 -0
  291. package/dist/src/icons/battery-half.d.ts +1 -0
  292. package/dist/src/icons/beans.d.ts +1 -0
  293. package/dist/src/icons/bear.d.ts +1 -0
  294. package/dist/src/icons/bed.d.ts +1 -0
  295. package/dist/src/icons/bee.d.ts +1 -0
  296. package/dist/src/icons/beer.d.ts +1 -0
  297. package/dist/src/icons/bell.d.ts +1 -0
  298. package/dist/src/icons/benefit.d.ts +1 -0
  299. package/dist/src/icons/birthday-cake.d.ts +1 -0
  300. package/dist/src/icons/blood.d.ts +1 -0
  301. package/dist/src/icons/blueberries.d.ts +1 -0
  302. package/dist/src/icons/bones.d.ts +1 -0
  303. package/dist/src/icons/book.d.ts +1 -0
  304. package/dist/src/icons/bow.d.ts +1 -0
  305. package/dist/src/icons/brain.d.ts +1 -0
  306. package/dist/src/icons/bread.d.ts +1 -0
  307. package/dist/src/icons/breakfast.d.ts +1 -0
  308. package/dist/src/icons/briefcase.d.ts +1 -0
  309. package/dist/src/icons/brightness.d.ts +1 -0
  310. package/dist/src/icons/broken-heart.d.ts +1 -0
  311. package/dist/src/icons/broom.d.ts +1 -0
  312. package/dist/src/icons/bug.d.ts +1 -0
  313. package/dist/src/icons/building.d.ts +1 -0
  314. package/dist/src/icons/bullet.d.ts +1 -0
  315. package/dist/src/icons/bunny.d.ts +1 -0
  316. package/dist/src/icons/burst.d.ts +1 -0
  317. package/dist/src/icons/bus.d.ts +1 -0
  318. package/dist/src/icons/butterfly.d.ts +1 -0
  319. package/dist/src/icons/button-device.d.ts +1 -0
  320. package/dist/src/icons/cake.d.ts +1 -0
  321. package/dist/src/icons/calculator.d.ts +1 -0
  322. package/dist/src/icons/calendar-day.d.ts +1 -0
  323. package/dist/src/icons/calendar-month.d.ts +1 -0
  324. package/dist/src/icons/calendar-week.d.ts +1 -0
  325. package/dist/src/icons/calendar-year.d.ts +1 -0
  326. package/dist/src/icons/calendar.d.ts +1 -0
  327. package/dist/src/icons/calibrate.d.ts +1 -0
  328. package/dist/src/icons/camera.d.ts +1 -0
  329. package/dist/src/icons/candy.d.ts +1 -0
  330. package/dist/src/icons/car.d.ts +1 -0
  331. package/dist/src/icons/carbs.d.ts +1 -0
  332. package/dist/src/icons/caret-down.d.ts +1 -0
  333. package/dist/src/icons/caret-left.d.ts +1 -0
  334. package/dist/src/icons/caret-right.d.ts +1 -0
  335. package/dist/src/icons/caret-up.d.ts +1 -0
  336. package/dist/src/icons/carrot.d.ts +1 -0
  337. package/dist/src/icons/cat.d.ts +1 -0
  338. package/dist/src/icons/categories.d.ts +1 -0
  339. package/dist/src/icons/caterpillar.d.ts +1 -0
  340. package/dist/src/icons/cd-dvd.d.ts +1 -0
  341. package/dist/src/icons/certificate.d.ts +1 -0
  342. package/dist/src/icons/chart.d.ts +1 -0
  343. package/dist/src/icons/checkmark.d.ts +1 -0
  344. package/dist/src/icons/cheese.d.ts +1 -0
  345. package/dist/src/icons/cherries.d.ts +1 -0
  346. package/dist/src/icons/chestnut.d.ts +1 -0
  347. package/dist/src/icons/chicken.d.ts +1 -0
  348. package/dist/src/icons/chocolate.d.ts +1 -0
  349. package/dist/src/icons/christmas-tree.d.ts +1 -0
  350. package/dist/src/icons/cigarette.d.ts +1 -0
  351. package/dist/src/icons/clear.d.ts +1 -0
  352. package/dist/src/icons/clipboard.d.ts +1 -0
  353. package/dist/src/icons/cloud.d.ts +1 -0
  354. package/dist/src/icons/coffee.d.ts +1 -0
  355. package/dist/src/icons/comment.d.ts +1 -0
  356. package/dist/src/icons/compass.d.ts +1 -0
  357. package/dist/src/icons/confetti.d.ts +1 -0
  358. package/dist/src/icons/connected.d.ts +1 -0
  359. package/dist/src/icons/context.d.ts +1 -0
  360. package/dist/src/icons/cook.d.ts +1 -0
  361. package/dist/src/icons/cookies.d.ts +1 -0
  362. package/dist/src/icons/cooling.d.ts +1 -0
  363. package/dist/src/icons/corn.d.ts +1 -0
  364. package/dist/src/icons/correlation.d.ts +1 -0
  365. package/dist/src/icons/cow.d.ts +1 -0
  366. package/dist/src/icons/cpu.d.ts +1 -0
  367. package/dist/src/icons/credit-card.d.ts +1 -0
  368. package/dist/src/icons/crystal-globe.d.ts +1 -0
  369. package/dist/src/icons/cube.d.ts +1 -0
  370. package/dist/src/icons/cucumber.d.ts +1 -0
  371. package/dist/src/icons/dashboard.d.ts +1 -0
  372. package/dist/src/icons/death.d.ts +1 -0
  373. package/dist/src/icons/defect.d.ts +1 -0
  374. package/dist/src/icons/delete.d.ts +1 -0
  375. package/dist/src/icons/dental.d.ts +1 -0
  376. package/dist/src/icons/deselect-all.d.ts +1 -0
  377. package/dist/src/icons/dessert.d.ts +1 -0
  378. package/dist/src/icons/detach.d.ts +1 -0
  379. package/dist/src/icons/devices.d.ts +1 -0
  380. package/dist/src/icons/digestive.d.ts +1 -0
  381. package/dist/src/icons/dinner.d.ts +1 -0
  382. package/dist/src/icons/dinosaur.d.ts +1 -0
  383. package/dist/src/icons/dishwasher.d.ts +1 -0
  384. package/dist/src/icons/dns.d.ts +1 -0
  385. package/dist/src/icons/doctor.d.ts +1 -0
  386. package/dist/src/icons/document.d.ts +1 -0
  387. package/dist/src/icons/documents.d.ts +1 -0
  388. package/dist/src/icons/dog.d.ts +1 -0
  389. package/dist/src/icons/dolphin.d.ts +1 -0
  390. package/dist/src/icons/door.d.ts +1 -0
  391. package/dist/src/icons/dot.d.ts +1 -0
  392. package/dist/src/icons/download.d.ts +1 -0
  393. package/dist/src/icons/dragon.d.ts +1 -0
  394. package/dist/src/icons/drying-machine.d.ts +1 -0
  395. package/dist/src/icons/duck.d.ts +1 -0
  396. package/dist/src/icons/duplicates.d.ts +1 -0
  397. package/dist/src/icons/ears.d.ts +1 -0
  398. package/dist/src/icons/earth.d.ts +1 -0
  399. package/dist/src/icons/edit.d.ts +1 -0
  400. package/dist/src/icons/egg.d.ts +1 -0
  401. package/dist/src/icons/eggplant.d.ts +1 -0
  402. package/dist/src/icons/elephant.d.ts +1 -0
  403. package/dist/src/icons/empty.d.ts +1 -0
  404. package/dist/src/icons/endocrine.d.ts +1 -0
  405. package/dist/src/icons/enlarge.d.ts +1 -0
  406. package/dist/src/icons/equalizer.d.ts +1 -0
  407. package/dist/src/icons/evening.d.ts +1 -0
  408. package/dist/src/icons/expense.d.ts +1 -0
  409. package/dist/src/icons/export.d.ts +1 -0
  410. package/dist/src/icons/external-link.d.ts +1 -0
  411. package/dist/src/icons/fan.d.ts +1 -0
  412. package/dist/src/icons/favorite.d.ts +1 -0
  413. package/dist/src/icons/fibers.d.ts +1 -0
  414. package/dist/src/icons/file.d.ts +1 -0
  415. package/dist/src/icons/filetype-avi.d.ts +1 -0
  416. package/dist/src/icons/filetype-bat.d.ts +1 -0
  417. package/dist/src/icons/filetype-c.d.ts +1 -0
  418. package/dist/src/icons/filetype-css.d.ts +1 -0
  419. package/dist/src/icons/filetype-csv.d.ts +1 -0
  420. package/dist/src/icons/filetype-doc.d.ts +1 -0
  421. package/dist/src/icons/filetype-docx.d.ts +1 -0
  422. package/dist/src/icons/filetype-gif.d.ts +1 -0
  423. package/dist/src/icons/filetype-html.d.ts +1 -0
  424. package/dist/src/icons/filetype-ico.d.ts +1 -0
  425. package/dist/src/icons/filetype-ini.d.ts +1 -0
  426. package/dist/src/icons/filetype-javascript.d.ts +1 -0
  427. package/dist/src/icons/filetype-jpeg.d.ts +1 -0
  428. package/dist/src/icons/filetype-jpg.d.ts +1 -0
  429. package/dist/src/icons/filetype-json.d.ts +1 -0
  430. package/dist/src/icons/filetype-less.d.ts +1 -0
  431. package/dist/src/icons/filetype-mp3.d.ts +1 -0
  432. package/dist/src/icons/filetype-mp4.d.ts +1 -0
  433. package/dist/src/icons/filetype-mpg.d.ts +1 -0
  434. package/dist/src/icons/filetype-pdf.d.ts +1 -0
  435. package/dist/src/icons/filetype-php.d.ts +1 -0
  436. package/dist/src/icons/filetype-png.d.ts +1 -0
  437. package/dist/src/icons/filetype-ppt.d.ts +1 -0
  438. package/dist/src/icons/filetype-psd.d.ts +1 -0
  439. package/dist/src/icons/filetype-rar.d.ts +1 -0
  440. package/dist/src/icons/filetype-sass.d.ts +1 -0
  441. package/dist/src/icons/filetype-sql.d.ts +1 -0
  442. package/dist/src/icons/filetype-tiff.d.ts +1 -0
  443. package/dist/src/icons/filetype-txt.d.ts +1 -0
  444. package/dist/src/icons/filetype-typescript.d.ts +1 -0
  445. package/dist/src/icons/filetype-wav.d.ts +1 -0
  446. package/dist/src/icons/filetype-xls.d.ts +1 -0
  447. package/dist/src/icons/filetype-xlsx.d.ts +1 -0
  448. package/dist/src/icons/filetype-xml.d.ts +1 -0
  449. package/dist/src/icons/filetype-zip.d.ts +1 -0
  450. package/dist/src/icons/filters.d.ts +1 -0
  451. package/dist/src/icons/fire.d.ts +1 -0
  452. package/dist/src/icons/firewall.d.ts +1 -0
  453. package/dist/src/icons/fireworks.d.ts +1 -0
  454. package/dist/src/icons/fish.d.ts +1 -0
  455. package/dist/src/icons/fishing-rod.d.ts +1 -0
  456. package/dist/src/icons/fog.d.ts +1 -0
  457. package/dist/src/icons/folder-open.d.ts +1 -0
  458. package/dist/src/icons/folder.d.ts +1 -0
  459. package/dist/src/icons/fondue.d.ts +1 -0
  460. package/dist/src/icons/food.d.ts +1 -0
  461. package/dist/src/icons/french-fries.d.ts +1 -0
  462. package/dist/src/icons/fridge.d.ts +1 -0
  463. package/dist/src/icons/fruits.d.ts +1 -0
  464. package/dist/src/icons/gallery.d.ts +1 -0
  465. package/dist/src/icons/gas-detector.d.ts +1 -0
  466. package/dist/src/icons/gateway.d.ts +1 -0
  467. package/dist/src/icons/gauge-high.d.ts +1 -0
  468. package/dist/src/icons/gauge-low.d.ts +1 -0
  469. package/dist/src/icons/gauge-medium.d.ts +1 -0
  470. package/dist/src/icons/gift-box.d.ts +1 -0
  471. package/dist/src/icons/girl.d.ts +1 -0
  472. package/dist/src/icons/github.d.ts +1 -0
  473. package/dist/src/icons/glass.d.ts +1 -0
  474. package/dist/src/icons/gloves.d.ts +1 -0
  475. package/dist/src/icons/glycemic-index.d.ts +1 -0
  476. package/dist/src/icons/goat.d.ts +1 -0
  477. package/dist/src/icons/graduation.d.ts +1 -0
  478. package/dist/src/icons/grid.d.ts +1 -0
  479. package/dist/src/icons/group.d.ts +1 -0
  480. package/dist/src/icons/gun.d.ts +1 -0
  481. package/dist/src/icons/hammer.d.ts +1 -0
  482. package/dist/src/icons/handshake.d.ts +1 -0
  483. package/dist/src/icons/hd.d.ts +1 -0
  484. package/dist/src/icons/headphones.d.ts +1 -0
  485. package/dist/src/icons/heart.d.ts +1 -0
  486. package/dist/src/icons/heating.d.ts +1 -0
  487. package/dist/src/icons/help.d.ts +1 -0
  488. package/dist/src/icons/hiking.d.ts +1 -0
  489. package/dist/src/icons/history.d.ts +1 -0
  490. package/dist/src/icons/home.d.ts +1 -0
  491. package/dist/src/icons/hospital.d.ts +1 -0
  492. package/dist/src/icons/humidity.d.ts +1 -0
  493. package/dist/src/icons/ice-cream.d.ts +1 -0
  494. package/dist/src/icons/identity.d.ts +1 -0
  495. package/dist/src/icons/image.d.ts +1 -0
  496. package/dist/src/icons/import.d.ts +1 -0
  497. package/dist/src/icons/inactive.d.ts +1 -0
  498. package/dist/src/icons/incognito.d.ts +1 -0
  499. package/dist/src/icons/information.d.ts +1 -0
  500. package/dist/src/icons/ingredients.d.ts +1 -0
  501. package/dist/src/icons/ink-cartridge.d.ts +1 -0
  502. package/dist/src/icons/ir-emitter.d.ts +1 -0
  503. package/dist/src/icons/joystick.d.ts +1 -0
  504. package/dist/src/icons/jupiter.d.ts +1 -0
  505. package/dist/src/icons/key.d.ts +1 -0
  506. package/dist/src/icons/knife.d.ts +1 -0
  507. package/dist/src/icons/laboratory.d.ts +1 -0
  508. package/dist/src/icons/language.d.ts +1 -0
  509. package/dist/src/icons/lantern.d.ts +1 -0
  510. package/dist/src/icons/layers.d.ts +1 -0
  511. package/dist/src/icons/leaf.d.ts +1 -0
  512. package/dist/src/icons/lemon.d.ts +1 -0
  513. package/dist/src/icons/light-bulb.d.ts +1 -0
  514. package/dist/src/icons/light-switch.d.ts +1 -0
  515. package/dist/src/icons/lightning.d.ts +1 -0
  516. package/dist/src/icons/link.d.ts +1 -0
  517. package/dist/src/icons/linkedin.d.ts +1 -0
  518. package/dist/src/icons/lipids.d.ts +1 -0
  519. package/dist/src/icons/list.d.ts +1 -0
  520. package/dist/src/icons/liver.d.ts +1 -0
  521. package/dist/src/icons/location.d.ts +1 -0
  522. package/dist/src/icons/lock-open.d.ts +1 -0
  523. package/dist/src/icons/lock.d.ts +1 -0
  524. package/dist/src/icons/logout.d.ts +1 -0
  525. package/dist/src/icons/lollipop.d.ts +1 -0
  526. package/dist/src/icons/lunch.d.ts +1 -0
  527. package/dist/src/icons/lungs.d.ts +1 -0
  528. package/dist/src/icons/magnet.d.ts +1 -0
  529. package/dist/src/icons/mail.d.ts +1 -0
  530. package/dist/src/icons/manage.d.ts +1 -0
  531. package/dist/src/icons/map.d.ts +1 -0
  532. package/dist/src/icons/mapping.d.ts +1 -0
  533. package/dist/src/icons/mars.d.ts +1 -0
  534. package/dist/src/icons/meat.d.ts +1 -0
  535. package/dist/src/icons/melon.d.ts +1 -0
  536. package/dist/src/icons/memory.d.ts +1 -0
  537. package/dist/src/icons/mental.d.ts +1 -0
  538. package/dist/src/icons/menu-hamburger.d.ts +1 -0
  539. package/dist/src/icons/mercury.d.ts +1 -0
  540. package/dist/src/icons/microphone.d.ts +1 -0
  541. package/dist/src/icons/microscope.d.ts +1 -0
  542. package/dist/src/icons/microwave.d.ts +1 -0
  543. package/dist/src/icons/milk.d.ts +1 -0
  544. package/dist/src/icons/minimum.d.ts +1 -0
  545. package/dist/src/icons/minus.d.ts +1 -0
  546. package/dist/src/icons/money.d.ts +1 -0
  547. package/dist/src/icons/monitor.d.ts +1 -0
  548. package/dist/src/icons/monkey.d.ts +1 -0
  549. package/dist/src/icons/moon.d.ts +1 -0
  550. package/dist/src/icons/morning.d.ts +1 -0
  551. package/dist/src/icons/motion.d.ts +1 -0
  552. package/dist/src/icons/mouse.d.ts +1 -0
  553. package/dist/src/icons/movie.d.ts +1 -0
  554. package/dist/src/icons/mushroom.d.ts +1 -0
  555. package/dist/src/icons/musical-note.d.ts +1 -0
  556. package/dist/src/icons/mute.d.ts +1 -0
  557. package/dist/src/icons/nas.d.ts +1 -0
  558. package/dist/src/icons/neptune.d.ts +1 -0
  559. package/dist/src/icons/nervous.d.ts +1 -0
  560. package/dist/src/icons/network.d.ts +1 -0
  561. package/dist/src/icons/next.d.ts +1 -0
  562. package/dist/src/icons/night.d.ts +1 -0
  563. package/dist/src/icons/ninja.d.ts +1 -0
  564. package/dist/src/icons/noon.d.ts +1 -0
  565. package/dist/src/icons/nose.d.ts +1 -0
  566. package/dist/src/icons/not-found.d.ts +1 -0
  567. package/dist/src/icons/notes.d.ts +1 -0
  568. package/dist/src/icons/notice.d.ts +1 -0
  569. package/dist/src/icons/offline.d.ts +1 -0
  570. package/dist/src/icons/olives.d.ts +1 -0
  571. package/dist/src/icons/online.d.ts +1 -0
  572. package/dist/src/icons/optimization.d.ts +1 -0
  573. package/dist/src/icons/other.d.ts +1 -0
  574. package/dist/src/icons/outdoor.d.ts +1 -0
  575. package/dist/src/icons/ownership.d.ts +1 -0
  576. package/dist/src/icons/pause.d.ts +1 -0
  577. package/dist/src/icons/pawn.d.ts +1 -0
  578. package/dist/src/icons/peanut.d.ts +1 -0
  579. package/dist/src/icons/pear.d.ts +1 -0
  580. package/dist/src/icons/penguin.d.ts +1 -0
  581. package/dist/src/icons/pepper.d.ts +1 -0
  582. package/dist/src/icons/pharmacy.d.ts +1 -0
  583. package/dist/src/icons/phone.d.ts +1 -0
  584. package/dist/src/icons/pig.d.ts +1 -0
  585. package/dist/src/icons/pill.d.ts +1 -0
  586. package/dist/src/icons/pin.d.ts +1 -0
  587. package/dist/src/icons/pizza.d.ts +1 -0
  588. package/dist/src/icons/plane.d.ts +1 -0
  589. package/dist/src/icons/play.d.ts +1 -0
  590. package/dist/src/icons/plug.d.ts +1 -0
  591. package/dist/src/icons/plus.d.ts +1 -0
  592. package/dist/src/icons/pluto.d.ts +1 -0
  593. package/dist/src/icons/polenta.d.ts +1 -0
  594. package/dist/src/icons/police-man.d.ts +1 -0
  595. package/dist/src/icons/police.d.ts +1 -0
  596. package/dist/src/icons/popcorn.d.ts +1 -0
  597. package/dist/src/icons/portions.d.ts +1 -0
  598. package/dist/src/icons/potato.d.ts +1 -0
  599. package/dist/src/icons/power.d.ts +1 -0
  600. package/dist/src/icons/predictions.d.ts +1 -0
  601. package/dist/src/icons/prescription.d.ts +1 -0
  602. package/dist/src/icons/previous.d.ts +1 -0
  603. package/dist/src/icons/printer.d.ts +1 -0
  604. package/dist/src/icons/proteins.d.ts +1 -0
  605. package/dist/src/icons/pudding.d.ts +1 -0
  606. package/dist/src/icons/pumpkin.d.ts +1 -0
  607. package/dist/src/icons/purifier.d.ts +1 -0
  608. package/dist/src/icons/puzzle.d.ts +1 -0
  609. package/dist/src/icons/radio.d.ts +1 -0
  610. package/dist/src/icons/rain.d.ts +1 -0
  611. package/dist/src/icons/rainbow.d.ts +1 -0
  612. package/dist/src/icons/raspberry.d.ts +1 -0
  613. package/dist/src/icons/reading.d.ts +1 -0
  614. package/dist/src/icons/referral.d.ts +1 -0
  615. package/dist/src/icons/reload.d.ts +1 -0
  616. package/dist/src/icons/repeat.d.ts +1 -0
  617. package/dist/src/icons/report.d.ts +1 -0
  618. package/dist/src/icons/reproductive.d.ts +1 -0
  619. package/dist/src/icons/return.d.ts +1 -0
  620. package/dist/src/icons/rice.d.ts +1 -0
  621. package/dist/src/icons/robot.d.ts +1 -0
  622. package/dist/src/icons/rocket.d.ts +1 -0
  623. package/dist/src/icons/romania-flag.d.ts +1 -0
  624. package/dist/src/icons/rooms.d.ts +1 -0
  625. package/dist/src/icons/router.d.ts +1 -0
  626. package/dist/src/icons/ruler.d.ts +1 -0
  627. package/dist/src/icons/running.d.ts +1 -0
  628. package/dist/src/icons/salad.d.ts +1 -0
  629. package/dist/src/icons/salt.d.ts +1 -0
  630. package/dist/src/icons/santa.d.ts +1 -0
  631. package/dist/src/icons/satellite.d.ts +1 -0
  632. package/dist/src/icons/saturn.d.ts +1 -0
  633. package/dist/src/icons/save.d.ts +1 -0
  634. package/dist/src/icons/scales.d.ts +1 -0
  635. package/dist/src/icons/scan.d.ts +1 -0
  636. package/dist/src/icons/school.d.ts +1 -0
  637. package/dist/src/icons/scissors.d.ts +1 -0
  638. package/dist/src/icons/score.d.ts +1 -0
  639. package/dist/src/icons/scss.d.ts +1 -0
  640. package/dist/src/icons/sd.d.ts +1 -0
  641. package/dist/src/icons/search.d.ts +1 -0
  642. package/dist/src/icons/security.d.ts +1 -0
  643. package/dist/src/icons/seeds.d.ts +1 -0
  644. package/dist/src/icons/sequence.d.ts +1 -0
  645. package/dist/src/icons/settings.d.ts +1 -0
  646. package/dist/src/icons/shield.d.ts +1 -0
  647. package/dist/src/icons/ship.d.ts +1 -0
  648. package/dist/src/icons/shopping-cart.d.ts +1 -0
  649. package/dist/src/icons/shrink.d.ts +1 -0
  650. package/dist/src/icons/signal-full.d.ts +1 -0
  651. package/dist/src/icons/signal-low.d.ts +1 -0
  652. package/dist/src/icons/signal-medium.d.ts +1 -0
  653. package/dist/src/icons/skin.d.ts +1 -0
  654. package/dist/src/icons/skull.d.ts +1 -0
  655. package/dist/src/icons/smartphone.d.ts +1 -0
  656. package/dist/src/icons/smb.d.ts +1 -0
  657. package/dist/src/icons/smoke-detector.d.ts +1 -0
  658. package/dist/src/icons/snake.d.ts +1 -0
  659. package/dist/src/icons/snow.d.ts +1 -0
  660. package/dist/src/icons/snowman.d.ts +1 -0
  661. package/dist/src/icons/soft-drink.d.ts +1 -0
  662. package/dist/src/icons/soup.d.ts +1 -0
  663. package/dist/src/icons/sources.d.ts +1 -0
  664. package/dist/src/icons/sparkle.d.ts +1 -0
  665. package/dist/src/icons/speaker.d.ts +1 -0
  666. package/dist/src/icons/speedometer.d.ts +1 -0
  667. package/dist/src/icons/square.d.ts +1 -0
  668. package/dist/src/icons/ssl.d.ts +1 -0
  669. package/dist/src/icons/staple.d.ts +1 -0
  670. package/dist/src/icons/star.d.ts +1 -0
  671. package/dist/src/icons/status.d.ts +1 -0
  672. package/dist/src/icons/stethoscope.d.ts +1 -0
  673. package/dist/src/icons/stop-sign.d.ts +1 -0
  674. package/dist/src/icons/stop.d.ts +1 -0
  675. package/dist/src/icons/storm.d.ts +1 -0
  676. package/dist/src/icons/strawberry.d.ts +1 -0
  677. package/dist/src/icons/streaming.d.ts +1 -0
  678. package/dist/src/icons/strength.d.ts +1 -0
  679. package/dist/src/icons/sugar.d.ts +1 -0
  680. package/dist/src/icons/sun.d.ts +1 -0
  681. package/dist/src/icons/surgery.d.ts +1 -0
  682. package/dist/src/icons/synchronize.d.ts +1 -0
  683. package/dist/src/icons/table.d.ts +1 -0
  684. package/dist/src/icons/target.d.ts +1 -0
  685. package/dist/src/icons/taxi.d.ts +1 -0
  686. package/dist/src/icons/technical.d.ts +1 -0
  687. package/dist/src/icons/teeth.d.ts +1 -0
  688. package/dist/src/icons/telescope.d.ts +1 -0
  689. package/dist/src/icons/theater.d.ts +1 -0
  690. package/dist/src/icons/theme-picker.d.ts +1 -0
  691. package/dist/src/icons/thermometer.d.ts +1 -0
  692. package/dist/src/icons/threshold.d.ts +1 -0
  693. package/dist/src/icons/time.d.ts +1 -0
  694. package/dist/src/icons/toggle-off.d.ts +1 -0
  695. package/dist/src/icons/toggle-on.d.ts +1 -0
  696. package/dist/src/icons/tomato.d.ts +1 -0
  697. package/dist/src/icons/toolbox.d.ts +1 -0
  698. package/dist/src/icons/train.d.ts +1 -0
  699. package/dist/src/icons/transactions.d.ts +1 -0
  700. package/dist/src/icons/transport-box.d.ts +1 -0
  701. package/dist/src/icons/tree.d.ts +1 -0
  702. package/dist/src/icons/trend-down.d.ts +1 -0
  703. package/dist/src/icons/trend-up.d.ts +1 -0
  704. package/dist/src/icons/trip.d.ts +1 -0
  705. package/dist/src/icons/trophy.d.ts +1 -0
  706. package/dist/src/icons/turkey.d.ts +1 -0
  707. package/dist/src/icons/turtle.d.ts +1 -0
  708. package/dist/src/icons/tv.d.ts +1 -0
  709. package/dist/src/icons/unarchive.d.ts +1 -0
  710. package/dist/src/icons/unassociated.d.ts +1 -0
  711. package/dist/src/icons/ungroup.d.ts +1 -0
  712. package/dist/src/icons/unmute.d.ts +1 -0
  713. package/dist/src/icons/upload.d.ts +1 -0
  714. package/dist/src/icons/upnp.d.ts +1 -0
  715. package/dist/src/icons/uranus.d.ts +1 -0
  716. package/dist/src/icons/user.d.ts +1 -0
  717. package/dist/src/icons/users.d.ts +1 -0
  718. package/dist/src/icons/vacuum.d.ts +1 -0
  719. package/dist/src/icons/vegetables.d.ts +1 -0
  720. package/dist/src/icons/venus.d.ts +1 -0
  721. package/dist/src/icons/vertical-dots.d.ts +1 -0
  722. package/dist/src/icons/video.d.ts +1 -0
  723. package/dist/src/icons/view.d.ts +1 -0
  724. package/dist/src/icons/virus.d.ts +1 -0
  725. package/dist/src/icons/wait.d.ts +1 -0
  726. package/dist/src/icons/wan.d.ts +1 -0
  727. package/dist/src/icons/warning.d.ts +1 -0
  728. package/dist/src/icons/washing-machine.d.ts +1 -0
  729. package/dist/src/icons/water-leak.d.ts +1 -0
  730. package/dist/src/icons/web.d.ts +1 -0
  731. package/dist/src/icons/website-crawl.d.ts +1 -0
  732. package/dist/src/icons/wifi.d.ts +1 -0
  733. package/dist/src/icons/wind.d.ts +1 -0
  734. package/dist/src/icons/workout.d.ts +1 -0
  735. package/dist/src/icons/wrench.d.ts +1 -0
  736. package/dist/src/icons/yoga.d.ts +1 -0
  737. package/dist/src/icons/youtube.d.ts +1 -0
  738. package/dist/src/index.d.ts +123 -0
  739. package/dist/src/types/auth.types.d.ts +37 -0
  740. package/dist/src/validators/Vin.d.ts +5 -0
  741. package/dist/src/version.d.ts +5 -0
  742. package/dist/version.json +4 -4
  743. package/package.json +14 -3
package/dist/index.d.ts CHANGED
@@ -1,2833 +1,2 @@
1
- import { Component } from 'react';
2
- import { Context } from 'react';
3
- import { CSSProperties } from 'react';
4
- import { default as default_2 } from 'react';
5
- import { ErrorInfo } from 'react';
6
- import { FC } from 'react';
7
- import { FocusEvent as FocusEvent_2 } from 'react';
8
- import { ForwardRefExoticComponent } from 'react';
9
- import { JSX } from 'react/jsx-runtime';
10
- import { KeyboardEvent as KeyboardEvent_2 } from 'react';
11
- import { MouseEvent as MouseEvent_2 } from 'react';
12
- import { ReactElement } from 'react';
13
- import { ReactNode } from 'react';
14
- import { ReactPortal } from 'react';
15
- import { RefAttributes } from 'react';
16
-
17
- export declare const Accordion: default_2.FC<AccordionProps>;
18
-
19
- export declare interface AccordionItemData {
20
- id: string;
21
- title: string | ReactNode;
22
- content: string | ReactNode;
23
- icon?: IconName;
24
- disabled?: boolean;
25
- }
26
-
27
- export declare interface AccordionProps {
28
- items: AccordionItemData[];
29
- allowMultiple?: boolean;
30
- defaultExpanded?: string[];
31
- onChange?: (expandedIds: string[]) => void;
32
- className?: string;
33
- }
34
-
35
- /**
36
- * Adds days to a date
37
- */
38
- export declare const addDays: (date: Date, days: number) => Date;
39
-
40
- /**
41
- * Adds months to a date
42
- */
43
- export declare const addMonths: (date: Date, months: number) => Date;
44
-
45
- export declare const ADULT_RANGES: BMIRange[];
46
-
47
- export declare const AlertDialog: default_2.FC<AlertDialogProps>;
48
-
49
- declare interface AlertDialogProps {
50
- isOpen: boolean;
51
- message: string;
52
- primary?: ExternalButtonConfig;
53
- title: string;
54
- }
55
-
56
- export declare const APP_DATE_FORMAT = "DD MMM YYYY";
57
-
58
- export declare const APP_DATE_TIME_FORMAT = "DD MMM YYYY HH:mm";
59
-
60
- declare interface AppData<TPages, TTheme> {
61
- pages: TPages;
62
- theme: TTheme;
63
- }
64
-
65
- export declare const AppHeader: default_2.FC<AppHeaderProps>;
66
-
67
- export declare interface AppHeaderProps {
68
- icon?: IconName;
69
- emoji?: string;
70
- svg?: ReactNode;
71
- appName?: string;
72
- heading?: string;
73
- onClick?: () => void;
74
- className?: string;
75
- showSeparator?: boolean;
76
- }
77
-
78
- export declare interface AppPersistenceDefaults<TPages, TTheme> {
79
- pages?: TPages;
80
- theme: TTheme;
81
- }
82
-
83
- export declare class AppPersistenceStorage {
84
- private static getData;
85
- private static saveData;
86
- static load<TPages, TTheme>(appId: string, defaults: AppData<TPages, TTheme>): AppData<TPages, TTheme>;
87
- static save<TPages, TTheme>(appId: string, data: AppData<TPages, TTheme>): void;
88
- static clearAll(appId: string): void;
89
- }
90
-
91
- declare interface AppVersionInfo {
92
- app: string;
93
- commit: string;
94
- buildDate: string;
95
- }
96
-
97
- export declare interface AuthConfig {
98
- apiBaseUrl: string;
99
- appName?: string;
100
- }
101
-
102
- export declare const AuthContext: default_2.Context<AuthContextValue | undefined>;
103
-
104
- export declare interface AuthContextValue {
105
- user: User | null;
106
- isAuthenticated: boolean;
107
- isLoading: boolean;
108
- config: AuthConfig;
109
- login: (credentials: LoginCredentials) => Promise<void>;
110
- logout: () => Promise<void>;
111
- }
112
-
113
- export declare function AuthLogin({ redirectPath }: LoginProps): ReactElement;
114
-
115
- export declare function AuthProvider({ children, config }: AuthProviderProps): JSX.Element;
116
-
117
- declare interface AuthProviderProps {
118
- children: default_2.ReactNode;
119
- config: AuthConfig;
120
- }
121
-
122
- export declare const AvatarInitials: default_2.FC<AvatarInitialsProps>;
123
-
124
- declare interface AvatarInitialsProps {
125
- name: string;
126
- size?: AvatarSize;
127
- shape?: AvatarShape;
128
- className?: string;
129
- }
130
-
131
- declare type AvatarShape = 'rounded' | 'squared';
132
-
133
- declare type AvatarSize = 'small' | 'medium' | 'large';
134
-
135
- export declare const Badge: FC<BadgeProps>;
136
-
137
- export declare interface BadgeProps {
138
- children: ReactNode;
139
- className?: string;
140
- size?: 'xsmall' | 'small' | 'medium';
141
- variant?: BadgeVariant;
142
- /** Custom accent color — overrides variant, drives border/bg/hover/active styles */
143
- customColor?: string;
144
- isActive?: boolean;
145
- onClick?: (event: MouseEvent_2<HTMLSpanElement> | KeyboardEvent_2<HTMLSpanElement>) => void;
146
- onClear?: () => void;
147
- }
148
-
149
- export declare type BadgeVariant = 'default' | 'success' | 'info' | 'warning' | 'danger';
150
-
151
- export declare const Banner: default_2.FC<BannerProps>;
152
-
153
- export declare interface BannerProps {
154
- action?: ExternalButtonConfig;
155
- /** Optional secondary button rendered next to `action`. */
156
- secondaryAction?: ExternalButtonConfig;
157
- className?: string;
158
- description: default_2.ReactNode;
159
- dismissLabel?: string;
160
- onDismiss?: () => void;
161
- /** Show the corner dismiss (✕) button. Default: true. */
162
- showDismiss?: boolean;
163
- title: default_2.ReactNode;
164
- variant?: BannerVariant;
165
- }
166
-
167
- export declare type BannerVariant = 'default' | 'success' | 'info' | 'warning' | 'danger';
168
-
169
- export declare const BMI: default_2.FC<BMIProps>;
170
-
171
- declare interface BMIProps {
172
- weight: number;
173
- height: number;
174
- age?: number;
175
- sex?: 'male' | 'female';
176
- isSimplified?: boolean;
177
- showLabels?: boolean;
178
- showIndicator?: boolean;
179
- }
180
-
181
- export declare interface BMIRange {
182
- min: number;
183
- max: number;
184
- label: string;
185
- shortLabel?: string;
186
- color: string;
187
- percentage: number;
188
- }
189
-
190
- export declare const Breadcrumb: default_2.FC<BreadcrumbProps>;
191
-
192
- export declare interface BreadcrumbItem {
193
- label: string;
194
- href?: string;
195
- onClick?: () => void;
196
- }
197
-
198
- declare interface BreadcrumbProps {
199
- items: BreadcrumbItem[];
200
- separator?: string;
201
- className?: string;
202
- }
203
-
204
- export declare type Breakpoint = 'mobile' | 'tablet' | 'desktop' | 'largeDesktop';
205
-
206
- export declare const breakpoints: {
207
- readonly mobile: {
208
- readonly min: 0;
209
- readonly max: 767;
210
- };
211
- readonly tablet: {
212
- readonly min: 768;
213
- readonly max: 991;
214
- };
215
- readonly desktop: {
216
- readonly min: 992;
217
- readonly max: 1199;
218
- };
219
- readonly largeDesktop: {
220
- readonly min: 1200;
221
- readonly max: number;
222
- };
223
- };
224
-
225
- export declare interface BulkAction {
226
- key: string;
227
- label: string;
228
- icon?: IconName;
229
- variant?: ButtonVariant;
230
- disabled?: boolean;
231
- title?: string;
232
- onClick: () => void | Promise<void>;
233
- }
234
-
235
- export declare const BulkActionBar: default_2.FC<BulkActionBarProps>;
236
-
237
- export declare interface BulkActionBarProgress {
238
- done: number;
239
- total: number;
240
- label?: string;
241
- }
242
-
243
- export declare interface BulkActionBarProps {
244
- selectionCount: number;
245
- visible?: boolean;
246
- label?: ReactNode;
247
- progress?: BulkActionBarProgress;
248
- actions: BulkAction[];
249
- onClear?: () => void;
250
- clearLabel?: string;
251
- position?: 'top' | 'bottom';
252
- className?: string;
253
- }
254
-
255
- export declare const Button: default_2.ForwardRefExoticComponent<ButtonProps & default_2.RefAttributes<HTMLButtonElement>>;
256
-
257
- declare interface ButtonProps {
258
- borders?: 'sharp' | 'rounded';
259
- children?: default_2.ReactNode;
260
- className?: string;
261
- fullWidth?: boolean;
262
- disabled?: boolean;
263
- /** Icon rendered before children. Accepts an IconName string or a ReactElement. */
264
- icon?: IconName | default_2.ReactElement;
265
- iconVariant?: IconVariant;
266
- loading?: boolean;
267
- onClick?: (event: MouseEvent_2<HTMLButtonElement>) => void;
268
- emojiIcon?: string;
269
- size?: 'small' | 'medium' | 'large';
270
- style?: default_2.CSSProperties;
271
- sufixIcon?: string;
272
- type?: 'button' | 'submit' | 'reset';
273
- title?: string;
274
- variant?: ButtonVariant;
275
- }
276
-
277
- export declare type ButtonVariant = 'plain' | 'ghost' | 'default' | 'success' | 'info' | 'warning' | 'danger';
278
-
279
- export declare const calculateBMI: (weight: number, height: number) => number;
280
-
281
- export declare const calculateTimelineMarkers: <T extends TimelineMarkersItem>(items: T[], granularity?: "day" | "month") => Map<number, TimelineMarkerInfo>;
282
-
283
- export declare const Calendar: default_2.FC<CalendarProps>;
284
-
285
- export declare interface CalendarDateRange {
286
- start: Date;
287
- end: Date;
288
- }
289
-
290
- export declare const CalendarHeatmap: FC<CalendarHeatmapProps>;
291
-
292
- export declare interface CalendarHeatmapDataPoint {
293
- date: string;
294
- count: number;
295
- }
296
-
297
- export declare interface CalendarHeatmapProps {
298
- data: CalendarHeatmapDataPoint[];
299
- startDate: Date;
300
- endDate?: Date;
301
- colorFn?: (count: number) => string;
302
- countLabel?: string;
303
- }
304
-
305
- export declare type CalendarMode = 'single' | 'range' | 'multiple';
306
-
307
- export declare interface CalendarProps {
308
- value?: Date | CalendarDateRange | Date[];
309
- onChange?: (value: Date | CalendarDateRange | Date[] | undefined) => void;
310
- mode?: CalendarMode;
311
- minDate?: Date;
312
- maxDate?: Date;
313
- disabledDates?: Date[] | ((date: Date) => boolean);
314
- firstDayOfWeek?: 0 | 1;
315
- showToday?: boolean;
316
- yearOnly?: boolean;
317
- className?: string;
318
- currentMonth?: Date;
319
- onMonthChange?: (month: Date) => void;
320
- showHeader?: boolean;
321
- rangeStart?: Date | null;
322
- onRangeStartChange?: (date: Date | null) => void;
323
- }
324
-
325
- export declare const Card: default_2.FC<CardProps>;
326
-
327
- declare interface CardProps {
328
- children?: default_2.ReactNode;
329
- className?: string;
330
- footerContent?: default_2.ReactNode;
331
- icon?: IconName;
332
- isCollapsed?: boolean;
333
- isCollapsible?: boolean;
334
- isFooterCollapsible?: boolean;
335
- isHighlighted?: boolean;
336
- noPadding?: boolean;
337
- onClick?: () => void;
338
- title?: string;
339
- /**
340
- * Semantic accent. Adds a coloured left border (and matching tinted background)
341
- * using the rating-color-* tokens. Use sparingly to flag destructive or
342
- * informational sections (e.g. warning for "danger zone" cards).
343
- */
344
- variant?: CardVariant;
345
- }
346
-
347
- export declare type CardVariant = 'default' | 'success' | 'warning' | 'danger' | 'info';
348
-
349
- export declare function ChangePasswordModal({ isOpen, onClose }: ChangePasswordModalProps): ReactElement;
350
-
351
- declare interface ChangePasswordModalProps {
352
- isOpen: boolean;
353
- onClose: () => void;
354
- }
355
-
356
- export declare const ChatBot: FC<ChatBotProp>;
357
-
358
- declare interface ChatBotProp {
359
- }
360
-
361
- export declare const Checkbox: FC<CheckboxProps>;
362
-
363
- declare interface CheckboxProps {
364
- checked?: boolean;
365
- onChange?: (checked: boolean) => void;
366
- label?: string;
367
- icon?: IconName;
368
- disabled?: boolean;
369
- id?: string;
370
- indeterminate?: boolean;
371
- }
372
-
373
- export declare const Chip: default_2.FC<ChipProps>;
374
-
375
- export declare interface ChipProps {
376
- children: ReactNode;
377
- className?: string;
378
- color?: string;
379
- count?: number | string;
380
- disabled?: boolean;
381
- onClick?: () => void;
382
- selected?: boolean;
383
- size?: ChipSize;
384
- title?: string;
385
- type?: 'button' | 'submit' | 'reset';
386
- variant?: ChipVariant;
387
- }
388
-
389
- export declare type ChipSize = 'xsmall' | 'small' | 'medium' | 'large';
390
-
391
- export declare type ChipVariant = 'plain' | 'default' | 'success' | 'info' | 'warning' | 'danger';
392
-
393
- export declare const CollapsibleSection: default_2.FC<CollapsibleSectionProps>;
394
-
395
- declare interface CollapsibleSectionProps {
396
- children: ReactNode;
397
- className?: string;
398
- defaultCollapsed?: boolean;
399
- icon?: IconName;
400
- isCollapsed?: boolean;
401
- onToggle?: (isCollapsed: boolean) => void;
402
- rightDetails?: string;
403
- title?: ReactNode;
404
- toggleAccent?: boolean;
405
- toggleHighlight?: boolean;
406
- toggleMiddleIcon?: IconName;
407
- toggleSize?: 'small' | 'medium';
408
- toggleSpaceBetween?: boolean;
409
- toggleSwap?: boolean;
410
- toggleTint?: 'plain' | 'default' | 'success' | 'info' | 'warning' | 'danger';
411
- toggleVariant?: 'success' | 'info' | 'warning' | 'danger';
412
- withCard?: boolean;
413
- }
414
-
415
- export declare const ColorPicker: default_2.FC<ColorPickerProps>;
416
-
417
- export declare interface ColorPickerProps {
418
- value?: string;
419
- onChange?: (hex: string) => void;
420
- }
421
-
422
- export declare interface CommandItem {
423
- id: string;
424
- label: string;
425
- keywords?: string[];
426
- icon?: default_2.ReactNode;
427
- shortcut?: string;
428
- group?: string;
429
- onSelect: () => void;
430
- }
431
-
432
- export declare const CommandPalette: default_2.FC<CommandPaletteProps>;
433
-
434
- export declare interface CommandPaletteProps {
435
- items: CommandItem[];
436
- isOpen?: boolean;
437
- onOpenChange?: (open: boolean) => void;
438
- placeholder?: string;
439
- enableHotkey?: boolean;
440
- }
441
-
442
- export declare const Confetti: ForwardRefExoticComponent<ConfettiProps & RefAttributes<ConfettiHandle>>;
443
-
444
- export declare interface ConfettiHandle {
445
- trigger: () => void;
446
- }
447
-
448
- declare interface ConfettiProps {
449
- colors?: string[];
450
- duration?: number;
451
- scope?: ConfettiScope;
452
- variant?: ConfettiVariant;
453
- particleCount?: number;
454
- }
455
-
456
- declare type ConfettiScope = 'fullscreen' | 'container';
457
-
458
- declare type ConfettiVariant = 'confetti' | 'burst' | 'fireworks';
459
-
460
- export declare const ConfirmDialog: default_2.FC<ConfirmDialogProps>;
461
-
462
- declare interface ConfirmDialogProps {
463
- isOpen: boolean;
464
- message: string;
465
- title: string;
466
- confirm?: Partial<ExternalButtonConfig>;
467
- cancel?: Partial<ExternalButtonConfig>;
468
- usePortal?: boolean;
469
- }
470
-
471
- export declare const ConfirmPopover: FC<ConfirmPopoverProps>;
472
-
473
- export declare interface ConfirmPopoverButton {
474
- text?: string;
475
- icon?: IconName;
476
- variant?: ButtonVariant;
477
- onClick?: () => void;
478
- }
479
-
480
- export declare interface ConfirmPopoverProps {
481
- visible: boolean;
482
- onClose: () => void;
483
- anchorEl: HTMLElement | null;
484
- title?: ReactNode;
485
- message?: ReactNode;
486
- icon?: IconName;
487
- confirm: ConfirmPopoverButton & {
488
- onClick: () => void;
489
- };
490
- cancel?: ConfirmPopoverButton;
491
- placement?: 'top' | 'bottom' | 'left' | 'right' | 'auto';
492
- offset?: number;
493
- }
494
-
495
- export declare const ContextMenu: ({ target, onClose, children, autoClose }: ContextMenuProps) => ReactPortal | null;
496
-
497
- declare interface ContextMenuProps {
498
- autoClose?: boolean;
499
- children: ReactElement;
500
- onClose?: () => void;
501
- target: EventTarget;
502
- }
503
-
504
- export declare interface ContextToastAction {
505
- label: string;
506
- onClick: () => void;
507
- }
508
-
509
- export declare const ControlPanel: default_2.FC<ControlPanelProps>;
510
-
511
- export declare interface ControlPanelAction {
512
- id: string;
513
- label: string;
514
- onClick?: ButtonProps['onClick'];
515
- icon?: IconName;
516
- suffixIcon?: string;
517
- variant?: ButtonProps['variant'];
518
- size?: ButtonProps['size'];
519
- fullWidth?: boolean;
520
- disabled?: boolean;
521
- /** When set, clicking the action opens a small confirmation popover anchored
522
- * to the button instead of firing onClick directly. onClick fires only after
523
- * the user picks the confirm option inside the popover. */
524
- confirm?: ControlPanelActionConfirm;
525
- }
526
-
527
- declare interface ControlPanelActionConfirm {
528
- /** Short heading shown above the message. Defaults to the action's label. */
529
- title?: string;
530
- /** Optional explanatory body. */
531
- message?: string;
532
- /** Optional leading icon next to the title. */
533
- icon?: IconName;
534
- /** Popover placement relative to the action button. Defaults to 'right'
535
- * so the popover floats out into the main content area instead of
536
- * obscuring the rest of the sidebar. */
537
- placement?: 'top' | 'bottom' | 'left' | 'right' | 'auto';
538
- /** Overrides for the confirm (primary) button label/icon/variant.
539
- * The click handler always comes from the parent `ControlPanelAction.onClick`. */
540
- confirm?: ControlPanelActionConfirmButton;
541
- /** Overrides for the cancel (secondary) button. */
542
- cancel?: ControlPanelActionConfirmButton;
543
- }
544
-
545
- declare interface ControlPanelActionConfirmButton {
546
- text?: string;
547
- icon?: IconName;
548
- variant?: ButtonProps['variant'];
549
- }
550
-
551
- export declare interface ControlPanelClearFiltersEvent {
552
- source: 'control-panel';
553
- }
554
-
555
- declare interface ControlPanelContextValue {
556
- isMobile: boolean;
557
- isOpen: boolean;
558
- toggle: () => void;
559
- open: () => void;
560
- close: () => void;
561
- }
562
-
563
- declare interface ControlPanelDateRangePreset {
564
- label: string;
565
- days: number;
566
- }
567
-
568
- export declare interface ControlPanelFilter {
569
- id: string;
570
- label: string;
571
- icon?: IconName;
572
- type: ControlPanelFilterType;
573
- options?: ControlPanelFilterOption[];
574
- value?: ControlPanelFilterValue;
575
- count?: number | string;
576
- placeholder?: string;
577
- multiple?: boolean;
578
- searchable?: boolean;
579
- min?: number;
580
- max?: number;
581
- step?: number;
582
- maxRate?: number;
583
- ratingIcon?: 'star' | 'bullet';
584
- ratingVariant?: 'success' | 'info' | 'warning' | 'danger';
585
- minDate?: string;
586
- maxDate?: string;
587
- presets?: ControlPanelDateRangePreset[];
588
- isActive?: boolean;
589
- /** Optional cap on the rendered options area. When set, the chip/option
590
- * list becomes vertically scrollable past this height. Number is taken as
591
- * px; string is passed through (`'40vh'`, `'320px'`, etc.). Omit to let
592
- * the list expand freely. Honored by the `chips` filter today. */
593
- maxHeight?: string | number;
594
- }
595
-
596
- export declare interface ControlPanelFilterChangeEvent {
597
- filterId: string;
598
- type: ControlPanelFilterType;
599
- value: ControlPanelFilterValue;
600
- option?: ControlPanelFilterOption | null;
601
- options?: ControlPanelFilterOption[];
602
- }
603
-
604
- export declare interface ControlPanelFilterOption extends DropdownOption {
605
- color?: string;
606
- count?: number | string;
607
- /** Optional image URL rendered as a small round avatar before the option label.
608
- * Used by the `chips` filter to show a face crop / product thumbnail / etc. */
609
- imageUrl?: string;
610
- }
611
-
612
- export declare type ControlPanelFilterType = 'radio' | 'chips' | 'dropdown' | 'text' | 'number' | 'rating' | 'range' | 'date-range' | 'search' | 'date' | 'checkbox';
613
-
614
- export declare type ControlPanelFilterValue = string | number | boolean | string[] | number[] | null;
615
-
616
- export declare interface ControlPanelGroupByConfig {
617
- value: string | null;
618
- options: Array<{
619
- value: string;
620
- label: string;
621
- }>;
622
- onChange: (value: string | null) => void;
623
- }
624
-
625
- export declare interface ControlPanelHeader {
626
- icon?: IconName;
627
- emoji?: string;
628
- svg?: ReactNode;
629
- appName?: string;
630
- siteName?: string;
631
- heading?: string;
632
- onClick?: () => void;
633
- }
634
-
635
- export declare interface ControlPanelNavItem {
636
- id: string;
637
- label: string;
638
- isActive: boolean;
639
- /** Visually fades the item (e.g. a toggled-off entry) while keeping it clickable. */
640
- dimmed?: boolean;
641
- onClick?: () => void;
642
- icon?: IconName;
643
- color?: string;
644
- count?: number | string;
645
- badges?: ControlPanelNavItemBadge[];
646
- children?: ControlPanelNavItem[];
647
- isOpen?: boolean;
648
- onOpenChange?: (isOpen: boolean, item: ControlPanelNavItem) => void;
649
- }
650
-
651
- export declare interface ControlPanelNavItemBadge {
652
- count: number;
653
- variant: 'danger' | 'warning';
654
- }
655
-
656
- export declare type ControlPanelOption = {
657
- id: string;
658
- label: string;
659
- type: 'checkbox';
660
- value?: boolean;
661
- } | {
662
- id: string;
663
- label?: string;
664
- type: 'radio';
665
- value?: string | number;
666
- options: ControlPanelOptionItem[];
667
- } | {
668
- id: string;
669
- label?: string;
670
- type: 'chips';
671
- value: Array<string | number>;
672
- options: ControlPanelOptionItem[];
673
- };
674
-
675
- export declare interface ControlPanelOptionChangeEvent {
676
- optionId: string;
677
- value: boolean | string | number | Array<string | number>;
678
- }
679
-
680
- export declare interface ControlPanelOptionGroup {
681
- id?: string;
682
- label?: string;
683
- options: ControlPanelOption[];
684
- }
685
-
686
- export declare interface ControlPanelOptionItem {
687
- value: string | number;
688
- label: string;
689
- /** Optional hover tooltip describing the option. */
690
- title?: string;
691
- }
692
-
693
- export declare interface ControlPanelProps {
694
- width?: string;
695
- className?: string;
696
- isOpen?: boolean;
697
- onClose?: () => void;
698
- isMobile?: boolean;
699
- showOverlay?: boolean;
700
- contained?: boolean;
701
- /** Removes the desktop margin and border-radius so the panel sits flush against content. */
702
- flush?: boolean;
703
- shadow?: string;
704
- header?: ControlPanelHeader;
705
- navigation?: ControlPanelNavItem[];
706
- actions?: ControlPanelAction[];
707
- filters?: ControlPanelFilter[];
708
- filtersCount?: number;
709
- onFilterChange?: (event: ControlPanelFilterChangeEvent) => void;
710
- onClearFilters?: (event: ControlPanelClearFiltersEvent) => void;
711
- options?: ControlPanelOption[] | ControlPanelOptionGroup[];
712
- onOptionChange?: (event: ControlPanelOptionChangeEvent) => void;
713
- viewToggle?: ControlPanelViewToggleConfig;
714
- groupBy?: ControlPanelGroupByConfig;
715
- visibleColumns?: ControlPanelVisibleColumnsConfig;
716
- }
717
-
718
- export declare const ControlPanelProvider: default_2.FC<ControlPanelProviderProps>;
719
-
720
- declare interface ControlPanelProviderProps {
721
- children: default_2.ReactNode;
722
- }
723
-
724
- export declare type ControlPanelViewMode = 'table' | 'cards' | 'gallery';
725
-
726
- export declare interface ControlPanelViewToggleConfig {
727
- value: string;
728
- showGallery?: boolean;
729
- /** Override the default Grid/Table/Gallery buttons with custom labels and icons. */
730
- options?: ControlPanelViewToggleOption[];
731
- onChange: (value: ControlPanelViewMode) => void;
732
- }
733
-
734
- export declare interface ControlPanelViewToggleOption {
735
- value: ControlPanelViewMode;
736
- label: string;
737
- icon: IconName;
738
- }
739
-
740
- export declare interface ControlPanelVisibleColumnsConfig {
741
- value: string[];
742
- options: Array<{
743
- value: string;
744
- label: string;
745
- }>;
746
- onChange: (next: string[]) => void;
747
- }
748
-
749
- export declare const CopyButton: default_2.FC<CopyButtonProps>;
750
-
751
- export declare interface CopyButtonProps {
752
- children?: default_2.ReactNode;
753
- className?: string;
754
- copiedLabel?: string;
755
- disabled?: boolean;
756
- errorLabel?: string;
757
- iconOnly?: boolean;
758
- label?: string;
759
- onCopy?: (value: string) => void;
760
- onError?: (error: unknown) => void;
761
- resetDelay?: number;
762
- size?: 'small' | 'medium' | 'large';
763
- title?: string;
764
- value: string;
765
- variant?: ButtonVariant;
766
- }
767
-
768
- export declare type CopyButtonStatus = 'idle' | 'copied' | 'error';
769
-
770
- export declare const CountryWithFlag: default_2.FC<CountryWithFlagProps>;
771
-
772
- declare interface CountryWithFlagProps {
773
- code: string;
774
- label?: string;
775
- size?: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
776
- className?: string;
777
- }
778
-
779
- declare function DataView_2<T>({ columns, data, rowKey, selectable, onSelectionChange, selectedIds: controlledSelectedIds, pageSizeOptions, initialPageSize, showPageSize, card, actions, actionsWidth, timeline, onRowClick, rowHref, rowClassName, empty, initialSortKey, initialSortDirection, sortKey: controlledSortKey, sortDirection: controlledSortDirection, onSortChange, miniSort, showCardSortControls, desktopView, cardMaxWidth, className, onPageChange, onPageSizeChange, currentPage: controlledCurrentPage, totalItems: controlledTotalItems, group, showResultsCount, totalCount, itemNoun, }: DataViewProps<T>): JSX.Element;
780
- export { DataView_2 as DataView }
781
-
782
- export declare interface DataViewCardConfig<T> {
783
- icon?: (row: T) => IconName | undefined;
784
- /** Renders above the card header. Use for thumbnails / hero images. */
785
- media?: (row: T) => default_2.ReactNode;
786
- title: (row: T) => default_2.ReactNode;
787
- subtitle?: (row: T) => default_2.ReactNode;
788
- badges?: (row: T) => default_2.ReactNode;
789
- }
790
-
791
- export declare interface DataViewColumn<T> {
792
- key: string;
793
- header: default_2.ReactNode;
794
- icon?: IconName;
795
- /** Optional per-row icon rendered before the cell value. */
796
- cellIcon?: (row: T) => IconName | undefined;
797
- /** Optional filter input rendered below the column header (table) or in the filter bar (card) */
798
- filter?: default_2.ReactNode;
799
- accessor?: (row: T) => default_2.ReactNode;
800
- sortAccessor?: (row: T) => string | number;
801
- sortable?: boolean;
802
- width?: number;
803
- minWidth?: number;
804
- hideInCard?: boolean;
805
- hideInTable?: boolean;
806
- /** Hide this column only on mobile breakpoint (not when cards are used on desktop). */
807
- hideInMobile?: boolean;
808
- }
809
-
810
- export declare type DataViewDisplayMode = 'table' | 'cards';
811
-
812
- export declare interface DataViewEmptyConfig {
813
- title: string;
814
- description?: string;
815
- icon?: default_2.ReactNode;
816
- primary?: ExternalButtonConfig;
817
- secondary?: ExternalButtonConfig;
818
- }
819
-
820
- export declare interface DataViewGroup<T> {
821
- key: DataViewGroupKey;
822
- label: default_2.ReactNode;
823
- items: T[];
824
- totalCount: number;
825
- }
826
-
827
- export declare interface DataViewGroupConfig<T> {
828
- /** Extract group key from row. Return null for ungrouped/uncategorized items. */
829
- groupBy: (row: T) => DataViewGroupKey;
830
- /** Display label for a group header. */
831
- groupLabel: (groupKey: DataViewGroupKey) => default_2.ReactNode;
832
- /** Optional comparator to order groups; default keeps first-encountered order with null last. */
833
- sortGroups?: (a: DataViewGroup<T>, b: DataViewGroup<T>) => number;
834
- /** Show item count badge next to group label. Default: true. */
835
- showCount?: boolean;
836
- /** Allow users to collapse/expand individual groups by clicking the header. */
837
- collapsible?: boolean;
838
- }
839
-
840
- export declare type DataViewGroupKey = string | number | null;
841
-
842
- export declare interface DataViewMiniSortConfig {
843
- align?: 'left' | 'center' | 'right';
844
- columns?: DataViewMiniSortItem[];
845
- /** Alias for `columns`, supported for concise configs like `{ column: [...] }`. */
846
- column?: DataViewMiniSortItem[];
847
- }
848
-
849
- export declare interface DataViewMiniSortItem {
850
- column: string;
851
- direction?: SortDirection;
852
- icon?: IconName;
853
- label?: default_2.ReactNode;
854
- }
855
-
856
- export declare interface DataViewProps<T> {
857
- columns: DataViewColumn<T>[];
858
- data: T[];
859
- rowKey?: (row: T, index: number) => string | number;
860
- selectable?: boolean;
861
- onSelectionChange?: (rows: T[]) => void;
862
- /** Controlled selection. When provided, DataView reflects this array of row keys instead of its internal state. */
863
- selectedIds?: Array<string | number>;
864
- pageSizeOptions?: number[];
865
- initialPageSize?: number;
866
- showPageSize?: boolean;
867
- card?: DataViewCardConfig<T>;
868
- actions?: (row: T) => default_2.ReactNode;
869
- actionsWidth?: number;
870
- timeline?: DataViewTimelineConfig<T>;
871
- onRowClick?: (row: T) => void;
872
- /** When provided, each row/card renders as a real link so middle-click,
873
- * Ctrl/Cmd-click, and the browser's "Open in new tab" all work natively.
874
- * Plain left-click still calls `onRowClick` (or follows the href if no
875
- * click handler is set). Return `undefined` to opt a specific row out. */
876
- rowHref?: (row: T) => string | undefined;
877
- rowClassName?: (row: T) => string;
878
- empty?: DataViewEmptyConfig;
879
- /** Initial sorted column key for uncontrolled sorting. */
880
- initialSortKey?: string | null;
881
- /** Initial sort direction for uncontrolled sorting. */
882
- initialSortDirection?: SortDirection;
883
- /** Controlled sorted column key. */
884
- sortKey?: string | null;
885
- /** Controlled sort direction. */
886
- sortDirection?: SortDirection;
887
- onSortChange?: (sort: {
888
- key: string | null;
889
- direction: SortDirection;
890
- }) => void;
891
- /** Optional desktop quick-sort nav. Hidden by default. */
892
- miniSort?: DataViewMiniSortConfig;
893
- /** Show the built-in sort controls above cards. */
894
- showCardSortControls?: boolean;
895
- /** Selected layout mode. */
896
- desktopView?: DataViewDisplayMode;
897
- /** Maximum width for each card. Number values are treated as px. */
898
- cardMaxWidth?: number | string;
899
- className?: string;
900
- onPageChange?: (page: number) => void;
901
- onPageSizeChange?: (pageSize: number) => void;
902
- /** Controlled current page (1-indexed). When provided, DataView uses this instead of its internal state. */
903
- currentPage?: number;
904
- /** When set, DataView assumes `data` is already a server-paged slice and uses this for the pagination total. */
905
- totalItems?: number;
906
- /** Group rows by a key. Rows render in group sections within the paginated slice. */
907
- group?: DataViewGroupConfig<T>;
908
- /** Display the "Showing X-Y of Z" results-count label above the data. Default: true. */
909
- showResultsCount?: boolean;
910
- /** Unfiltered total used to render the "filtered (... total)" form when smaller than this value. Defaults to `data.length`. */
911
- totalCount?: number;
912
- /** Noun appended to the results-count label, e.g. "books". */
913
- itemNoun?: string;
914
- }
915
-
916
- export declare interface DataViewTimelineConfig<T> {
917
- dateAccessor: (row: T) => string;
918
- idAccessor: (row: T) => string | number;
919
- granularity?: 'day' | 'month';
920
- }
921
-
922
- export declare const DatePicker: default_2.FC<DatePickerProps>;
923
-
924
- export declare interface DatePickerProps extends Omit<CalendarProps, 'onChange' | 'value'> {
925
- value?: Date | CalendarDateRange | Date[];
926
- onChange?: (value: Date | CalendarDateRange | Date[] | undefined) => void;
927
- withTime?: boolean;
928
- timeFormat?: '12h' | '24h';
929
- withSeconds?: boolean;
930
- dateFormat?: string;
931
- placeholder?: string;
932
- disabled?: boolean;
933
- clearable?: boolean;
934
- autoClose?: boolean;
935
- alwaysOpen?: boolean;
936
- }
937
-
938
- declare interface DateRange {
939
- start?: string;
940
- end?: string;
941
- }
942
-
943
- export declare const DateRangePicker: default_2.FC<DateRangePickerProps>;
944
-
945
- export declare interface DateRangePickerProps {
946
- label?: string;
947
- value?: DateRange;
948
- onChange?: (range: DateRange) => void;
949
- min?: string;
950
- max?: string;
951
- alwaysOpen?: boolean;
952
- autoClose?: boolean;
953
- presets?: DateRangePreset[];
954
- }
955
-
956
- export declare interface DateRangePreset {
957
- label: string;
958
- days: number;
959
- }
960
-
961
- declare type DiffLang = 'javascript' | 'typescript' | 'jsx' | 'tsx' | 'css' | 'scss' | 'html' | 'json' | 'python' | 'bash' | 'plaintext';
962
-
963
- declare type DiffMode = 'split' | 'inline';
964
-
965
- declare type DiffType = 'text' | 'code';
966
-
967
- export declare const DiffViewer: ({ oldValue, newValue, mode, type, oldTitle, newTitle, showLineNumbers, }: DiffViewerProps) => JSX.Element;
968
-
969
- declare interface DiffViewerProps {
970
- oldValue: string;
971
- newValue: string;
972
- mode?: DiffMode;
973
- type?: DiffType;
974
- language?: DiffLang;
975
- oldTitle?: string;
976
- newTitle?: string;
977
- showLineNumbers?: boolean;
978
- }
979
-
980
- export declare const Drawer: default_2.FC<DrawerProps>;
981
-
982
- export declare interface DrawerHeaderAction {
983
- id: string;
984
- label?: string;
985
- icon?: IconName;
986
- emojiIcon?: string;
987
- title?: string;
988
- variant?: ButtonProps['variant'];
989
- size?: ButtonProps['size'];
990
- disabled?: boolean;
991
- onClick?: ButtonProps['onClick'];
992
- }
993
-
994
- export declare type DrawerPosition = 'left' | 'right';
995
-
996
- export declare interface DrawerProps {
997
- isOpen: boolean;
998
- onClose: () => void;
999
- position?: DrawerPosition;
1000
- /** CSS width for the drawer. Accepts any CSS length or expression. */
1001
- width?: string;
1002
- /** Optional CSS max-width for responsive drawers. */
1003
- maxWidth?: string | number;
1004
- margin?: string | number;
1005
- borderRadius?: string | number;
1006
- shadow?: string;
1007
- children: default_2.ReactNode;
1008
- title?: string;
1009
- icon?: IconName;
1010
- className?: string;
1011
- showOverlay?: boolean;
1012
- /** When false, the drawer does not lock body scroll — use for persistent side panels. */
1013
- lockScroll?: boolean;
1014
- /** When true, the header close (×) button is not rendered — use for persistent panels. */
1015
- hideClose?: boolean;
1016
- actions?: DrawerHeaderAction[];
1017
- /** Optional back action rendered on the LEFT side of the header — typically a navigation affordance. */
1018
- onBack?: () => void;
1019
- /** Tooltip for the back button. */
1020
- backLabel?: string;
1021
- primary?: ExternalButtonConfig;
1022
- secondary?: ExternalButtonConfig;
1023
- footer?: default_2.ReactNode;
1024
- }
1025
-
1026
- export declare const Dropdown: default_2.FC<DropdownProps>;
1027
-
1028
- export declare interface DropdownOption {
1029
- className?: string;
1030
- details?: default_2.ReactNode;
1031
- icon?: IconName;
1032
- label: string;
1033
- /** Custom node rendered before the icon/label (e.g. an avatar). */
1034
- prefix?: default_2.ReactNode;
1035
- suffixIcon?: IconName;
1036
- value: string | number;
1037
- }
1038
-
1039
- declare interface DropdownProps {
1040
- allowCustomValue?: boolean;
1041
- autofocus?: boolean;
1042
- className?: string;
1043
- disabled?: boolean;
1044
- error?: string;
1045
- highlighted?: boolean;
1046
- id?: string;
1047
- label?: string;
1048
- multiple?: boolean;
1049
- name: string;
1050
- onChange: (option: DropdownOption | DropdownOption[] | null, name: string) => void;
1051
- onSearchChange?: (search: string) => void;
1052
- options: DropdownOption[];
1053
- placeholder?: string;
1054
- searchable?: boolean;
1055
- searchValue?: string;
1056
- selectedCountDisplay?: DropdownSelectedCountDisplay;
1057
- success?: string;
1058
- usePortal?: boolean;
1059
- value?: number | number[] | string | string[] | null;
1060
- valueAsChip?: boolean;
1061
- }
1062
-
1063
- export declare type DropdownSelectedCountDisplay = 'inline' | 'floating' | 'none';
1064
-
1065
- export declare const EmojiPicker: default_2.FC<EmojiPickerProps>;
1066
-
1067
- export declare interface EmojiPickerProps {
1068
- value?: string;
1069
- onChange?: (emoji: string) => void;
1070
- }
1071
-
1072
- export declare const EmptyState: default_2.FC<EmptyStateProps>;
1073
-
1074
- export declare interface EmptyStateProps {
1075
- icon?: default_2.ReactNode | IconName;
1076
- title: string;
1077
- description?: string;
1078
- noCard?: boolean;
1079
- primary?: ExternalButtonConfig;
1080
- secondary?: ExternalButtonConfig;
1081
- children?: default_2.ReactNode;
1082
- }
1083
-
1084
- /**
1085
- * Normalizes a value into HTML suitable for rendering via dangerouslySetInnerHTML
1086
- * or feeding to the RichTextEditor. If the value already contains HTML tags, it
1087
- * is returned as-is; otherwise, plain text is escaped and converted into
1088
- * paragraph/line-break markup.
1089
- */
1090
- export declare const ensureHtml: (value: string | undefined | null) => string;
1091
-
1092
- export declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {
1093
- state: ErrorBoundaryState;
1094
- static getDerivedStateFromError(error: Error): ErrorBoundaryState;
1095
- componentDidCatch(error: Error, info: ErrorInfo): void;
1096
- private reset;
1097
- render(): ReactNode;
1098
- }
1099
-
1100
- export declare interface ErrorBoundaryProps {
1101
- /** Content to render while no error has been thrown. */
1102
- children: ReactNode;
1103
- /** Title shown above the error message. Defaults to "Something went wrong". */
1104
- title?: string;
1105
- /** Label for the reset button. Defaults to "Try again". */
1106
- resetLabel?: string;
1107
- /**
1108
- * Optional callback invoked when an error is caught. Use this to forward to
1109
- * a logging service. Console logging is always done as a fallback.
1110
- */
1111
- onError?: (error: Error, info: ErrorInfo) => void;
1112
- /**
1113
- * Optional render override for the fallback UI. When provided, the default
1114
- * EmptyState fallback is bypassed and the caller is fully in control.
1115
- */
1116
- fallback?: (error: Error, reset: () => void) => ReactNode;
1117
- }
1118
-
1119
- declare interface ErrorBoundaryState {
1120
- error: Error | null;
1121
- }
1122
-
1123
- declare interface ExternalButtonConfig extends ButtonProps {
1124
- text: string;
1125
- }
1126
-
1127
- export declare const extractDomainFromUrl: (url: string) => string;
1128
-
1129
- export declare const FileDropzone: default_2.FC<FileDropzoneProps>;
1130
-
1131
- export declare interface FileDropzoneProps {
1132
- label?: string;
1133
- accept?: string;
1134
- multiple?: boolean;
1135
- showPreview?: boolean;
1136
- onFiles?: (files: File[]) => void;
1137
- }
1138
-
1139
- export declare const Flag: default_2.FC<FlagsProps>;
1140
-
1141
- declare interface FlagsProps {
1142
- code: string;
1143
- size?: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
1144
- className?: string;
1145
- }
1146
-
1147
- export declare const FloatButton: FC<FloatButtonProps>;
1148
-
1149
- declare interface FloatButtonAction {
1150
- label: string;
1151
- icon: IconName;
1152
- onClick: () => void;
1153
- }
1154
-
1155
- declare interface FloatButtonProps {
1156
- actions: FloatButtonAction[];
1157
- }
1158
-
1159
- export declare const foldDiacritics: (input: string) => string;
1160
-
1161
- export declare interface FolderBrowserEntry {
1162
- name: string;
1163
- path: string;
1164
- }
1165
-
1166
- export declare interface FolderBrowserListing {
1167
- /** Absolute path currently shown, or null when listing drive roots. */
1168
- current: string | null;
1169
- /** Parent path, or null when there is no navigable parent. */
1170
- parent: string | null;
1171
- /** Drive roots (e.g. `C:\`) used as the top level of the tree. */
1172
- drives: string[];
1173
- directories: FolderBrowserEntry[];
1174
- error?: string;
1175
- }
1176
-
1177
- export declare const FolderBrowserModal: ({ isOpen, title, initialPath, loadDirectory, onSelect, onClose, selectLabel, }: FolderBrowserModalProps) => JSX.Element;
1178
-
1179
- export declare interface FolderBrowserModalProps {
1180
- isOpen: boolean;
1181
- title?: string;
1182
- /** Path to open the browser at. Omit to start from the drive list. */
1183
- initialPath?: string;
1184
- /** Loads a directory listing. Called with no argument to list drive roots. */
1185
- loadDirectory: (path?: string) => Promise<FolderBrowserListing>;
1186
- onSelect: (path: string) => void;
1187
- onClose: () => void;
1188
- selectLabel?: string;
1189
- }
1190
-
1191
- export declare const format2Digits: (val: number | string) => number;
1192
-
1193
- export declare const formatAppDate: (dateStr: string) => string;
1194
-
1195
- export declare const formatAppDateTime: (dateStr: string) => string;
1196
-
1197
- export declare const formatBigNumber: (value: number) => string;
1198
-
1199
- export declare const formatBytes: (bytes: number, decimals?: number) => string;
1200
-
1201
- /**
1202
- * Formats a date according to the specified format string
1203
- * Supported tokens: YYYY, MMM, MM, DD, HH, mm, ss
1204
- */
1205
- export declare const formatDate: (date: Date, format: string) => string;
1206
-
1207
- export declare const formatDateLocale: (dateStr: string) => string;
1208
-
1209
- export declare const formatDuration: (minutes: number) => string;
1210
-
1211
- export declare const formatMoney: (value: number) => string;
1212
-
1213
- export declare const formatRelativeDuration: (days: number) => string;
1214
-
1215
- export declare const formatRelativeTime: (dateValue?: string) => string | null;
1216
-
1217
- /**
1218
- * Converts seconds to a human-readable time format
1219
- * @param seconds - The number of seconds to convert
1220
- * @returns Formatted time string (e.g., "1:23:45" or "3:45")
1221
- */
1222
- export declare const formatSecondsToMediaTime: (seconds: number | undefined) => string;
1223
-
1224
- export declare const fuzzyMatch: (text: string, query: string) => boolean;
1225
-
1226
- /**
1227
- * Gets the number of days in a specific month
1228
- */
1229
- export declare const getDaysInMonth: (year: number, month: number) => number;
1230
-
1231
- export declare const getIndicatorColor: (bmi: number, ranges: BMIRange[]) => string;
1232
-
1233
- export declare const getIndicatorPosition: (bmi: number, ranges: BMIRange[]) => number;
1234
-
1235
- /**
1236
- * Generates a matrix of dates for calendar display
1237
- * Returns a 2D array where each sub-array represents a week
1238
- */
1239
- export declare const getMonthMatrix: (year: number, month: number, firstDayOfWeek?: 0 | 1) => Date[][];
1240
-
1241
- export declare const getPediatricRanges: (p5: number, p85: number, p95: number) => BMIRange[];
1242
-
1243
- export declare const getPercent: (value: number, total: number) => number;
1244
-
1245
- export declare const getPercentsOf2Numbers: (aInput: number, bInput: number) => {
1246
- a: number;
1247
- b: number;
1248
- };
1249
-
1250
- export declare const getRangeLabel: (range: BMIRange, index: number, total: number) => string;
1251
-
1252
- export declare const getResultsCount: (visiblePageSize: number, filteredItemsCount: number, totalItemsCount: number, currentPage: number, itemNoun?: string) => string;
1253
-
1254
- export declare const getThemeConfig: (themeValue: string) => ThemeConfig | undefined;
1255
-
1256
- export declare const getTodayDateString: () => string;
1257
-
1258
- export declare function highlightText(text: string, searchTerm: string): ReactNode;
1259
-
1260
- /**
1261
- * Converts an HTML fragment into its Markdown equivalent. Used by components
1262
- * such as the RichTextEditor to optionally emit Markdown output instead of
1263
- * HTML.
1264
- */
1265
- export declare const htmlToMarkdown: (html: string) => string;
1266
-
1267
- /**
1268
- * Converts an HTML string into plain text by leveraging the browser DOM parser.
1269
- * Used for search matching and helpers that expect plain text input.
1270
- */
1271
- export declare const htmlToPlainText: (html: string | undefined | null) => string;
1272
-
1273
- export declare const Icon: default_2.FC<IconProps>;
1274
-
1275
- export declare type IconName = 'active' | 'afternoon' | 'ajax' | 'alarm' | 'analysis' | 'angular' | 'announcement' | 'anomaly' | 'ant' | 'antenna' | 'api' | 'appliances' | 'archive' | 'arrow-bidirectional-horizontal' | 'arrow-bidirectional-vertical' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'atom' | 'avocado' | 'badge' | 'ball' | 'balloon' | 'banana' | 'bank' | 'bat' | 'bath' | 'battery-charging' | 'battery-empty' | 'battery-full' | 'battery-half' | 'beans' | 'bear' | 'bed' | 'bee' | 'beer' | 'bell' | 'benefit' | 'birthday-cake' | 'blood' | 'blueberries' | 'bones' | 'book' | 'bow' | 'brain' | 'bread' | 'breakfast' | 'briefcase' | 'brightness' | 'broken-heart' | 'broom' | 'bug' | 'building' | 'bullet' | 'bunny' | 'burst' | 'bus' | 'butterfly' | 'button-device' | 'cake' | 'calculator' | 'calendar' | 'calendar-day' | 'calendar-month' | 'calendar-week' | 'calendar-year' | 'calibrate' | 'camera' | 'candy' | 'car' | 'carbs' | 'caret-down' | 'caret-left' | 'caret-right' | 'caret-up' | 'carrot' | 'cat' | 'categories' | 'caterpillar' | 'cd-dvd' | 'certificate' | 'chart' | 'checkmark' | 'cheese' | 'cherries' | 'chestnut' | 'chicken' | 'chocolate' | 'christmas-tree' | 'cigarette' | 'clear' | 'clipboard' | 'cloud' | 'coffee' | 'comment' | 'compass' | 'confetti' | 'connected' | 'context' | 'cook' | 'cookies' | 'cooling' | 'corn' | 'correlation' | 'cow' | 'cpu' | 'credit-card' | 'crystal-globe' | 'cube' | 'cucumber' | 'dashboard' | 'death' | 'defect' | 'delete' | 'dental' | 'deselect-all' | 'dessert' | 'detach' | 'devices' | 'digestive' | 'dinner' | 'dinosaur' | 'dishwasher' | 'dns' | 'doctor' | 'document' | 'documents' | 'dog' | 'dolphin' | 'door' | 'dot' | 'download' | 'dragon' | 'drying-machine' | 'duck' | 'duplicates' | 'ears' | 'earth' | 'edit' | 'egg' | 'eggplant' | 'elephant' | 'empty' | 'endocrine' | 'enlarge' | 'equalizer' | 'evening' | 'expense' | 'export' | 'external-link' | 'fan' | 'favorite' | 'fibers' | 'file' | 'filetype-avi' | 'filetype-bat' | 'filetype-c' | 'filetype-css' | 'filetype-csv' | 'filetype-doc' | 'filetype-docx' | 'filetype-gif' | 'filetype-html' | 'filetype-ico' | 'filetype-ini' | 'filetype-javascript' | 'filetype-jpeg' | 'filetype-jpg' | 'filetype-json' | 'filetype-less' | 'filetype-mp3' | 'filetype-mp4' | 'filetype-mpg' | 'filetype-pdf' | 'filetype-php' | 'filetype-png' | 'filetype-ppt' | 'filetype-psd' | 'filetype-rar' | 'filetype-sass' | 'filetype-sql' | 'filetype-tiff' | 'filetype-txt' | 'filetype-typescript' | 'filetype-wav' | 'filetype-xls' | 'filetype-xlsx' | 'filetype-xml' | 'filetype-zip' | 'filters' | 'fire' | 'firewall' | 'fireworks' | 'fish' | 'fishing-rod' | 'fog' | 'folder' | 'folder-open' | 'fondue' | 'food' | 'french-fries' | 'fridge' | 'fruits' | 'gallery' | 'gas-detector' | 'gateway' | 'gauge-high' | 'gauge-low' | 'gauge-medium' | 'gift-box' | 'girl' | 'github' | 'glass' | 'gloves' | 'glycemic-index' | 'goat' | 'graduation' | 'grid' | 'group' | 'gun' | 'hammer' | 'handshake' | 'hd' | 'headphones' | 'heart' | 'heating' | 'help' | 'hiking' | 'history' | 'home' | 'hospital' | 'humidity' | 'ice-cream' | 'identity' | 'image' | 'import' | 'inactive' | 'incognito' | 'information' | 'ingredients' | 'ink-cartridge' | 'ir-emitter' | 'joystick' | 'jupiter' | 'key' | 'knife' | 'laboratory' | 'language' | 'lantern' | 'layers' | 'leaf' | 'lemon' | 'light-bulb' | 'light-switch' | 'lightning' | 'link' | 'linkedin' | 'lipids' | 'list' | 'liver' | 'location' | 'lock' | 'lock-open' | 'logout' | 'lollipop' | 'lunch' | 'lungs' | 'magnet' | 'mail' | 'manage' | 'map' | 'mapping' | 'mars' | 'meat' | 'melon' | 'memory' | 'mental' | 'menu-hamburger' | 'mercury' | 'microphone' | 'microscope' | 'microwave' | 'milk' | 'minimum' | 'minus' | 'money' | 'monitor' | 'monkey' | 'moon' | 'morning' | 'motion' | 'mouse' | 'movie' | 'mushroom' | 'musical-note' | 'mute' | 'nas' | 'neptune' | 'nervous' | 'network' | 'next' | 'night' | 'ninja' | 'noon' | 'nose' | 'not-found' | 'notes' | 'notice' | 'offline' | 'olives' | 'online' | 'optimization' | 'other' | 'outdoor' | 'ownership' | 'pause' | 'pawn' | 'peanut' | 'pear' | 'penguin' | 'pepper' | 'pharmacy' | 'phone' | 'pig' | 'pill' | 'pin' | 'pizza' | 'plane' | 'play' | 'plug' | 'plus' | 'pluto' | 'polenta' | 'police' | 'police-man' | 'popcorn' | 'portions' | 'potato' | 'power' | 'predictions' | 'prescription' | 'previous' | 'printer' | 'proteins' | 'pudding' | 'pumpkin' | 'purifier' | 'puzzle' | 'radio' | 'rain' | 'rainbow' | 'raspberry' | 'reading' | 'referral' | 'reload' | 'repeat' | 'report' | 'reproductive' | 'return' | 'rice' | 'robot' | 'rocket' | 'romania-flag' | 'rooms' | 'router' | 'ruler' | 'running' | 'salad' | 'salt' | 'santa' | 'satellite' | 'saturn' | 'save' | 'scales' | 'scan' | 'school' | 'scissors' | 'score' | 'scss' | 'sd' | 'search' | 'security' | 'seeds' | 'sequence' | 'settings' | 'shield' | 'ship' | 'shopping-cart' | 'shrink' | 'signal-full' | 'signal-low' | 'signal-medium' | 'skin' | 'skull' | 'smartphone' | 'smb' | 'smoke-detector' | 'snake' | 'snow' | 'snowman' | 'soft-drink' | 'soup' | 'sources' | 'sparkle' | 'speaker' | 'speedometer' | 'square' | 'ssl' | 'staple' | 'star' | 'status' | 'stethoscope' | 'stop' | 'stop-sign' | 'storm' | 'strawberry' | 'streaming' | 'strength' | 'sugar' | 'sun' | 'surgery' | 'synchronize' | 'table' | 'target' | 'taxi' | 'technical' | 'teeth' | 'telescope' | 'theater' | 'theme-picker' | 'thermometer' | 'threshold' | 'time' | 'toggle-off' | 'toggle-on' | 'tomato' | 'toolbox' | 'train' | 'transactions' | 'transport-box' | 'tree' | 'trend-down' | 'trend-up' | 'trip' | 'trophy' | 'turkey' | 'turtle' | 'tv' | 'unarchive' | 'unassociated' | 'ungroup' | 'unmute' | 'upload' | 'upnp' | 'uranus' | 'user' | 'users' | 'vacuum' | 'vegetables' | 'venus' | 'vertical-dots' | 'video' | 'view' | 'virus' | 'wait' | 'wan' | 'warning' | 'washing-machine' | 'water-leak' | 'web' | 'website-crawl' | 'wifi' | 'wind' | 'workout' | 'wrench' | 'yoga' | 'youtube';
1276
-
1277
- declare interface IconProps {
1278
- className?: string;
1279
- name: IconName;
1280
- fade?: boolean;
1281
- fadeOnHover?: boolean;
1282
- pulse?: boolean;
1283
- pulseOnHover?: boolean;
1284
- size?: IconSize;
1285
- spin?: boolean;
1286
- spinOnHover?: boolean;
1287
- variant?: IconVariant;
1288
- }
1289
-
1290
- export declare type IconSize = 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl';
1291
-
1292
- export declare type IconVariant = 'default' | 'muted' | 'accent' | 'info' | 'success' | 'warning' | 'danger';
1293
-
1294
- export declare const InfiniteScroll: ({ children, onLoadMore, hasMore, isLoading, threshold, rootMargin, height, onScrollChange, endMessage, className, }: InfiniteScrollProps) => JSX.Element;
1295
-
1296
- declare interface InfiniteScrollProps {
1297
- children: ReactNode;
1298
- onLoadMore: () => void;
1299
- hasMore: boolean;
1300
- isLoading?: boolean;
1301
- threshold?: number;
1302
- rootMargin?: string;
1303
- height?: CSSProperties['height'];
1304
- onScrollChange?: (info: ScrollInfo) => void;
1305
- endMessage?: ReactNode;
1306
- className?: string;
1307
- }
1308
-
1309
- export declare const initVersionInfo: (appInfo: AppVersionInfo) => void;
1310
-
1311
- export declare const InputDate: ForwardRefExoticComponent<InputDateProps & RefAttributes<HTMLInputElement>>;
1312
-
1313
- declare interface InputDateProps {
1314
- autoComplete?: 'on' | 'off';
1315
- autoFocus?: boolean;
1316
- clearable?: boolean;
1317
- disabled?: boolean;
1318
- error?: string;
1319
- highlighted?: boolean;
1320
- id?: string;
1321
- label?: string;
1322
- max?: string;
1323
- min?: string;
1324
- onBlur?: (event: FocusEvent_2<HTMLInputElement>) => void;
1325
- onChange?: (value: string | undefined) => void;
1326
- onClick?: (event: MouseEvent_2<HTMLInputElement>) => void;
1327
- onKeyDown?: (event: KeyboardEvent_2<HTMLInputElement>) => void;
1328
- onKeyUp?: (event: KeyboardEvent_2<HTMLInputElement>) => void;
1329
- readOnly?: boolean;
1330
- required?: boolean;
1331
- success?: string;
1332
- type?: 'datetime' | 'date';
1333
- value?: string;
1334
- }
1335
-
1336
- export declare const InputEmail: ForwardRefExoticComponent<InputEmailProps & RefAttributes<HTMLInputElement>>;
1337
-
1338
- export declare interface InputEmailProps {
1339
- autoComplete?: 'on' | 'off';
1340
- autoFocus?: boolean;
1341
- disabled?: boolean;
1342
- error?: string;
1343
- highlighted?: boolean;
1344
- id?: string;
1345
- label?: string;
1346
- maxLength?: number;
1347
- onBlur?: (event: FocusEvent_2<HTMLInputElement>) => void;
1348
- onChange?: (value: string) => void;
1349
- onClick?: (event: MouseEvent_2<HTMLInputElement>) => void;
1350
- onKeyDown?: (event: KeyboardEvent_2<HTMLInputElement>) => void;
1351
- onKeyUp?: (event: KeyboardEvent_2<HTMLInputElement>) => void;
1352
- onValidate?: (isValid: boolean) => void;
1353
- placeholder?: string;
1354
- readOnly?: boolean;
1355
- required?: boolean;
1356
- showValidation?: boolean;
1357
- success?: string;
1358
- validateOn?: 'blur' | 'change' | 'both';
1359
- value?: string;
1360
- }
1361
-
1362
- export declare const InputFile: ForwardRefExoticComponent<InputFileProps & RefAttributes<HTMLInputElement>>;
1363
-
1364
- declare interface InputFileProps {
1365
- accept?: string;
1366
- disabled?: boolean;
1367
- error?: string;
1368
- highlighted?: boolean;
1369
- id?: string;
1370
- label?: string;
1371
- onChange?: (value: FileList | null) => void;
1372
- onClick?: (event: MouseEvent_2<HTMLInputElement>) => void;
1373
- onKeyDown?: (event: KeyboardEvent_2<HTMLInputElement>) => void;
1374
- placeholder?: string;
1375
- required?: boolean;
1376
- success?: string;
1377
- value?: string;
1378
- }
1379
-
1380
- export declare const InputMask: default_2.ForwardRefExoticComponent<InputMaskProps & default_2.RefAttributes<InputMaskHandle>>;
1381
-
1382
- /**
1383
- * Mask format characters:
1384
- * 9 → digit (0-9)
1385
- * a → letter (a-z, A-Z)
1386
- * * → alphanumeric
1387
- * \ → escape next character (treat literally)
1388
- * Everything else is a literal separator (auto-inserted).
1389
- */
1390
- declare type InputMaskFormat = string;
1391
-
1392
- export declare interface InputMaskHandle {
1393
- focus(): void;
1394
- clear(): void;
1395
- getRawValue(): string;
1396
- }
1397
-
1398
- export declare const InputMaskPresets: {
1399
- readonly creditCard: "9999 9999 9999 9999";
1400
- readonly iban: "aa99 9999 9999 9999 9999 99";
1401
- readonly cvv: "999";
1402
- readonly expiry: "99/99";
1403
- readonly phone: "+99 (999) 999-9999";
1404
- readonly ssn: "999-99-9999";
1405
- readonly ipv4: "999.999.999.999";
1406
- readonly serialNumber: "***-***-***-***";
1407
- readonly date: "99/99/9999";
1408
- readonly time: "99:99";
1409
- readonly uuid: "********-****-****-****-************";
1410
- };
1411
-
1412
- declare interface InputMaskProps {
1413
- /** Mask pattern, e.g. "9999 9999 9999 9999" for credit cards */
1414
- mask: InputMaskFormat;
1415
- value?: string;
1416
- onChange?: (raw: string, masked: string) => void;
1417
- onComplete?: (raw: string, masked: string) => void;
1418
- placeholder?: string;
1419
- label?: string;
1420
- hint?: string;
1421
- error?: string;
1422
- highlighted?: boolean;
1423
- size?: InputMaskSize;
1424
- variant?: InputMaskVariant;
1425
- disabled?: boolean;
1426
- readOnly?: boolean;
1427
- /** Character shown for unfilled positions in the input */
1428
- maskChar?: string;
1429
- /** Show a monospaced font for structured formats */
1430
- mono?: boolean;
1431
- /** Icon rendered on the left */
1432
- icon?: default_2.ReactNode;
1433
- /** Icon rendered on the right (e.g. copy button) */
1434
- suffix?: default_2.ReactNode;
1435
- className?: string;
1436
- id?: string;
1437
- name?: string;
1438
- autoComplete?: string;
1439
- }
1440
-
1441
- declare type InputMaskSize = 'sm' | 'md' | 'lg';
1442
-
1443
- declare type InputMaskVariant = 'default' | 'success' | 'danger';
1444
-
1445
- export declare const InputNumber: ForwardRefExoticComponent<InputNumberProps & RefAttributes<HTMLInputElement>>;
1446
-
1447
- declare interface InputNumberProps {
1448
- autoComplete?: 'on' | 'off';
1449
- autoFocus?: boolean;
1450
- disabled?: boolean;
1451
- error?: string;
1452
- hideNativeControls?: boolean;
1453
- highlighted?: boolean;
1454
- id?: string;
1455
- label?: string;
1456
- max?: number;
1457
- min?: number;
1458
- onChange?: (value: number | undefined) => void;
1459
- onClick?: (event: MouseEvent_2<HTMLInputElement>) => void;
1460
- onKeyDown?: (event: KeyboardEvent_2<HTMLInputElement>) => void;
1461
- placeholder?: string;
1462
- required?: boolean;
1463
- step?: number;
1464
- success?: string;
1465
- value?: number;
1466
- }
1467
-
1468
- export declare const InputPassword: ForwardRefExoticComponent<InputPasswordProps & RefAttributes<HTMLInputElement>>;
1469
-
1470
- declare interface InputPasswordProps {
1471
- autoComplete?: 'on' | 'off';
1472
- autoFocus?: boolean;
1473
- disabled?: boolean;
1474
- error?: string;
1475
- highlighted?: boolean;
1476
- id?: string;
1477
- label?: string;
1478
- maxLength?: number;
1479
- onBlur?: (event: FocusEvent_2<HTMLInputElement>) => void;
1480
- onChange?: (value: string) => void;
1481
- onClick?: (event: MouseEvent_2<HTMLInputElement>) => void;
1482
- onKeyDown?: (event: KeyboardEvent_2<HTMLInputElement>) => void;
1483
- onKeyUp?: (event: KeyboardEvent_2<HTMLInputElement>) => void;
1484
- placeholder?: string;
1485
- readOnly?: boolean;
1486
- required?: boolean;
1487
- success?: string;
1488
- value?: string;
1489
- }
1490
-
1491
- export declare const InputPhone: ForwardRefExoticComponent<InputPhoneProps & RefAttributes<HTMLInputElement>>;
1492
-
1493
- declare interface InputPhoneProps {
1494
- autoFocus?: boolean;
1495
- disabled?: boolean;
1496
- error?: string;
1497
- format?: string;
1498
- highlighted?: boolean;
1499
- id?: string;
1500
- label?: string;
1501
- onBlur?: (event: FocusEvent_2<HTMLInputElement>) => void;
1502
- onChange?: (value: string, digits: string) => void;
1503
- onClick?: (event: MouseEvent_2<HTMLInputElement>) => void;
1504
- onKeyDown?: (event: KeyboardEvent_2<HTMLInputElement>) => void;
1505
- placeholder?: string;
1506
- readOnly?: boolean;
1507
- required?: boolean;
1508
- success?: string;
1509
- value?: string;
1510
- }
1511
-
1512
- export declare const InputSearch: ForwardRefExoticComponent<InputSearchProps & RefAttributes<HTMLInputElement>>;
1513
-
1514
- export declare interface InputSearchProps {
1515
- autoComplete?: 'on' | 'off';
1516
- autoFocus?: boolean;
1517
- disabled?: boolean;
1518
- id?: string;
1519
- label?: string;
1520
- onBlur?: (event: FocusEvent_2<HTMLInputElement>) => void;
1521
- onChange?: (value: string) => void;
1522
- onClick?: (event: MouseEvent_2<HTMLInputElement>) => void;
1523
- onKeyDown?: (event: KeyboardEvent_2<HTMLInputElement>) => void;
1524
- onKeyUp?: (event: KeyboardEvent_2<HTMLInputElement>) => void;
1525
- placeholder?: string;
1526
- readOnly?: boolean;
1527
- required?: boolean;
1528
- value?: string;
1529
- className?: string;
1530
- }
1531
-
1532
- export declare const InputText: ForwardRefExoticComponent<InputTextProps & RefAttributes<HTMLInputElement>>;
1533
-
1534
- export declare const InputTextarea: ForwardRefExoticComponent<InputTextareaProps & RefAttributes<HTMLTextAreaElement>>;
1535
-
1536
- declare interface InputTextareaProps {
1537
- autoComplete?: 'on' | 'off';
1538
- autoFocus?: boolean;
1539
- cols?: number;
1540
- disabled?: boolean;
1541
- error?: string;
1542
- id?: string;
1543
- label?: string;
1544
- maxLength?: number;
1545
- onBlur?: (event: FocusEvent_2<HTMLTextAreaElement>) => void;
1546
- onChange?: (value: string) => void;
1547
- onClick?: (event: MouseEvent_2<HTMLTextAreaElement>) => void;
1548
- onKeyDown?: (event: KeyboardEvent_2<HTMLTextAreaElement>) => void;
1549
- onKeyUp?: (event: KeyboardEvent_2<HTMLTextAreaElement>) => void;
1550
- placeholder?: string;
1551
- rows?: number;
1552
- required?: boolean;
1553
- success?: string;
1554
- value?: string;
1555
- }
1556
-
1557
- declare interface InputTextProps {
1558
- autoComplete?: 'on' | 'off';
1559
- autoFocus?: boolean;
1560
- disabled?: boolean;
1561
- error?: string;
1562
- highlighted?: boolean;
1563
- id?: string;
1564
- label?: string;
1565
- maxLength?: number;
1566
- onBlur?: (event: FocusEvent_2<HTMLInputElement>) => void;
1567
- onChange?: (value: string) => void;
1568
- onClick?: (event: MouseEvent_2<HTMLInputElement>) => void;
1569
- onKeyDown?: (event: KeyboardEvent_2<HTMLInputElement>) => void;
1570
- onKeyUp?: (event: KeyboardEvent_2<HTMLInputElement>) => void;
1571
- placeholder?: string;
1572
- readOnly?: boolean;
1573
- required?: boolean;
1574
- success?: string;
1575
- value?: string;
1576
- }
1577
-
1578
- export declare const InputTime: ForwardRefExoticComponent<InputTimeProps & RefAttributes<HTMLInputElement>>;
1579
-
1580
- declare interface InputTimeProps {
1581
- autoFocus?: boolean;
1582
- disabled?: boolean;
1583
- error?: string;
1584
- highlighted?: boolean;
1585
- id?: string;
1586
- label?: string;
1587
- max?: string;
1588
- min?: string;
1589
- onBlur?: (event: FocusEvent_2<HTMLInputElement>) => void;
1590
- onChange?: (value: string | undefined) => void;
1591
- onClick?: (event: MouseEvent_2<HTMLInputElement>) => void;
1592
- onKeyDown?: (event: KeyboardEvent_2<HTMLInputElement>) => void;
1593
- onKeyUp?: (event: KeyboardEvent_2<HTMLInputElement>) => void;
1594
- readOnly?: boolean;
1595
- required?: boolean;
1596
- success?: string;
1597
- value?: string;
1598
- }
1599
-
1600
- export declare const InputUrl: ForwardRefExoticComponent<InputUrlProps & RefAttributes<HTMLInputElement>>;
1601
-
1602
- declare interface InputUrlProps {
1603
- autoFocus?: boolean;
1604
- disabled?: boolean;
1605
- error?: string;
1606
- highlighted?: boolean;
1607
- id?: string;
1608
- label?: string;
1609
- maxLength?: number;
1610
- onBlur?: (event: FocusEvent_2<HTMLInputElement>) => void;
1611
- onChange?: (value: string) => void;
1612
- onClick?: (event: MouseEvent_2<HTMLInputElement>) => void;
1613
- onKeyDown?: (event: KeyboardEvent_2<HTMLInputElement>) => void;
1614
- onKeyUp?: (event: KeyboardEvent_2<HTMLInputElement>) => void;
1615
- onValidationChange?: (isValid: boolean) => void;
1616
- placeholder?: string;
1617
- readOnly?: boolean;
1618
- required?: boolean;
1619
- success?: string;
1620
- validationErrorMessage?: string;
1621
- value?: string;
1622
- }
1623
-
1624
- /**
1625
- * Checks if date is after another date (ignoring time)
1626
- */
1627
- export declare const isAfter: (date: Date, compareDate: Date) => boolean;
1628
-
1629
- /**
1630
- * Checks if date is before another date (ignoring time)
1631
- */
1632
- export declare const isBefore: (date: Date, compareDate: Date) => boolean;
1633
-
1634
- /**
1635
- * Checks if a date is within a range (inclusive)
1636
- */
1637
- export declare const isDateInRange: (date: Date, start: Date, end: Date) => boolean;
1638
-
1639
- /**
1640
- * Checks if two dates are the same day (ignoring time)
1641
- */
1642
- export declare const isSameDay: (date1: Date, date2: Date) => boolean;
1643
-
1644
- /**
1645
- * Checks if a date is today
1646
- */
1647
- export declare const isToday: (date: Date) => boolean;
1648
-
1649
- /**
1650
- * Checks if a date is a weekend (Saturday or Sunday)
1651
- */
1652
- export declare const isWeekend: (date: Date) => boolean;
1653
-
1654
- export declare interface JourneyStep {
1655
- id: string;
1656
- title: string;
1657
- subtitle?: string;
1658
- content: ReactNode;
1659
- /** Controls whether Next/Save is enabled. Defaults to true if omitted. */
1660
- canProceed?: boolean;
1661
- /** Controls whether Back is enabled. Defaults to true if omitted. */
1662
- canGoBack?: boolean;
1663
- }
1664
-
1665
- export declare const JourneyWizard: default_2.FC<JourneyWizardProps>;
1666
-
1667
- export declare type JourneyWizardPresentation = 'drawer' | 'modal' | 'inline';
1668
-
1669
- export declare interface JourneyWizardProps {
1670
- isOpen: boolean;
1671
- onClose: () => void;
1672
- onComplete: () => void;
1673
- steps: JourneyStep[];
1674
- title?: string;
1675
- presentation?: JourneyWizardPresentation;
1676
- /** Used when presentation is 'drawer'. */
1677
- width?: string;
1678
- }
1679
-
1680
- export declare const LIB_BUILD_DATE: string;
1681
-
1682
- export declare const LIB_BUILD_ID: string;
1683
-
1684
- export declare const LIB_BUILD_NUMBER: number;
1685
-
1686
- export declare const LIB_COMMIT: string;
1687
-
1688
- export declare const LIB_VERSION: string;
1689
-
1690
- export declare const List: default_2.FC<ListProps>;
1691
-
1692
- declare interface ListItem {
1693
- id: string | number;
1694
- label: default_2.ReactNode;
1695
- disabled?: boolean;
1696
- }
1697
-
1698
- declare interface ListProps {
1699
- items: ListItem[];
1700
- direction?: 'vertical' | 'horizontal';
1701
- selectable?: boolean;
1702
- defaultSelectedId?: string | number;
1703
- onSelect?: (item: ListItem) => void;
1704
- className?: string;
1705
- }
1706
-
1707
- export declare const Loading: default_2.FC;
1708
-
1709
- export declare type LogicalOperator = 'and' | 'or';
1710
-
1711
- export declare interface LoginCredentials {
1712
- username: string;
1713
- password: string;
1714
- rememberMe: boolean;
1715
- }
1716
-
1717
- declare interface LoginProps {
1718
- redirectPath?: string;
1719
- }
1720
-
1721
- export declare interface LoginResponse {
1722
- user: {
1723
- id: string;
1724
- username: string;
1725
- createdAt: string;
1726
- };
1727
- expiresAt?: string;
1728
- }
1729
-
1730
- export declare const matchStringsByLogicalOperator: (searchItems: string[], targetString: string, operator: LogicalOperator) => boolean;
1731
-
1732
- export declare const MenuHamburger: FC<MenuHamburgerProps>;
1733
-
1734
- export declare interface MenuHamburgerItem {
1735
- label: string;
1736
- icon?: IconName;
1737
- onClick: () => void;
1738
- isActive: boolean;
1739
- separator?: boolean;
1740
- }
1741
-
1742
- declare interface MenuHamburgerProps {
1743
- icon?: IconName;
1744
- isCompact?: boolean;
1745
- items: MenuHamburgerItem[];
1746
- label?: string;
1747
- showLabel?: boolean;
1748
- disableResponsive?: boolean;
1749
- }
1750
-
1751
- export declare const Minimap: default_2.FC<MinimapProps>;
1752
-
1753
- export declare interface MinimapBand {
1754
- /** Region start as a fraction of total width (0..1). */
1755
- start: number;
1756
- /** Region end as a fraction of total width (0..1). */
1757
- end: number;
1758
- color: string;
1759
- }
1760
-
1761
- export declare interface MinimapProps {
1762
- /** Density value per bucket, ordered left to right. */
1763
- buckets: number[];
1764
- /** Visible window start as a fraction of total width (0..1). */
1765
- viewportStart: number;
1766
- /** Visible window end as a fraction of total width (0..1). */
1767
- viewportEnd: number;
1768
- /** Called with the desired window start fraction (0..1) when the user scrubs. */
1769
- onScrub: (startFraction: number) => void;
1770
- /** Optional colored regions drawn beneath the density bars. */
1771
- bands?: MinimapBand[];
1772
- /** Optional caption shown above the strip. */
1773
- caption?: string;
1774
- className?: string;
1775
- }
1776
-
1777
- export declare const MiniSort: default_2.FC<MiniSortProps>;
1778
-
1779
- export declare type MiniSortAlign = 'left' | 'center' | 'right';
1780
-
1781
- export declare type MiniSortDirection = 'asc' | 'desc';
1782
-
1783
- export declare interface MiniSortItem {
1784
- value: string;
1785
- label?: default_2.ReactNode;
1786
- icon?: IconName;
1787
- /** Fixed direction for this item. Used only when `showDirectionToggle` is false. */
1788
- direction?: MiniSortDirection;
1789
- disabled?: boolean;
1790
- }
1791
-
1792
- export declare interface MiniSortProps {
1793
- items: MiniSortItem[];
1794
- sortKey: string | null;
1795
- sortDirection: MiniSortDirection;
1796
- onSort: (value: string, direction: MiniSortDirection) => void;
1797
- align?: MiniSortAlign;
1798
- /** Render a trailing button that flips the active sort direction. */
1799
- showDirectionToggle?: boolean;
1800
- className?: string;
1801
- }
1802
-
1803
- export declare const MiniStatsCard: default_2.FC<MiniStatsCardProps>;
1804
-
1805
- export declare type MiniStatsCardAlign = 'left' | 'center' | 'right';
1806
-
1807
- export declare type MiniStatsCardLabelPosition = 'top' | 'bottom';
1808
-
1809
- export declare interface MiniStatsCardProps {
1810
- /** The label/title of the stat */
1811
- label: string;
1812
- /** The main value to display */
1813
- value: string | number;
1814
- /** Optional unit text (e.g., "km", "kg", "min") */
1815
- unit?: string;
1816
- /** Color variant for the value */
1817
- variant?: MiniStatsCardVariant;
1818
- /** Content alignment */
1819
- align?: MiniStatsCardAlign;
1820
- /** Label position */
1821
- labelPosition?: MiniStatsCardLabelPosition;
1822
- /** Optional trend value (percentage by default) */
1823
- trend?: number;
1824
- /** Unit for the trend value (defaults to '%') */
1825
- trendUnit?: string;
1826
- /** Optional label displayed after the trend (overrides trendUnit) */
1827
- trendLabel?: string;
1828
- /** Color variant for the trend */
1829
- trendVariant?: MiniStatsCardTrendVariant;
1830
- /** Optional footer content */
1831
- footer?: default_2.ReactNode;
1832
- /** Tint the whole card with a soft background matching the variant. */
1833
- filled?: boolean;
1834
- /** Additional CSS class */
1835
- className?: string;
1836
- }
1837
-
1838
- export declare type MiniStatsCardTrendVariant = 'success' | 'danger' | 'warning';
1839
-
1840
- export declare type MiniStatsCardVariant = 'default' | 'success' | 'warning' | 'danger' | 'info';
1841
-
1842
- export declare const Modal: FC<ModalProps>;
1843
-
1844
- declare interface ModalProps {
1845
- children?: ReactNode;
1846
- className?: string;
1847
- isOpen: boolean;
1848
- noPadding?: boolean;
1849
- onClose?: () => void;
1850
- onOverlayClick?: (event: MouseEvent_2) => void;
1851
- primary?: ExternalButtonConfig;
1852
- secondary?: ExternalButtonConfig;
1853
- size?: 'small' | 'medium' | 'large' | 'auto';
1854
- tertiary?: ExternalButtonConfig;
1855
- title?: string;
1856
- titleIcon?: IconName;
1857
- usePortal?: boolean;
1858
- }
1859
-
1860
- export declare const NavBar: default_2.FC<NavBarProps>;
1861
-
1862
- export declare interface NavBarItem {
1863
- id: string;
1864
- label: string;
1865
- isActive?: boolean;
1866
- onClick?: () => void;
1867
- icon?: IconName;
1868
- disabled?: boolean;
1869
- }
1870
-
1871
- declare interface NavBarProps {
1872
- items: NavBarItem[];
1873
- logo?: ReactNode;
1874
- actions?: ReactNode;
1875
- position?: 'fixed' | 'sticky' | 'static';
1876
- className?: string;
1877
- renderItem?: (item: NavBarItem) => ReactNode;
1878
- collapsible?: boolean;
1879
- noPadding?: boolean;
1880
- }
1881
-
1882
- export declare const NotificationPanel: FC<NotificationPanelProps>;
1883
-
1884
- export declare interface NotificationPanelItem {
1885
- id: string;
1886
- severity: 'critical' | 'warning';
1887
- message: string;
1888
- }
1889
-
1890
- declare interface NotificationPanelProps {
1891
- items: NotificationPanelItem[];
1892
- buttonLabel?: string;
1893
- panelTitle?: string;
1894
- emptyMessage?: string;
1895
- }
1896
-
1897
- declare type OutputFormat = 'html' | 'markdown';
1898
-
1899
- export declare const Pagination: FC<PaginationProps>;
1900
-
1901
- declare interface PaginationProps {
1902
- currentPage: number;
1903
- totalPages: number;
1904
- totalItems?: number;
1905
- onPageChange: (page: number) => void;
1906
- showPagesNumbers?: boolean;
1907
- pageSizeOptions?: number[];
1908
- pageSize?: number;
1909
- onPageSizeChange?: (pageSize: number) => void;
1910
- pageSizeLabel?: string;
1911
- horizontalAlign?: 'left' | 'center' | 'right';
1912
- }
1913
-
1914
- export declare const PEDIATRIC_THRESHOLDS: Record<'male' | 'female', Record<number, [number, number, number]>>;
1915
-
1916
- export declare const PieChart: default_2.FC<PieChartProps>;
1917
-
1918
- export declare interface PieChartDataPoint {
1919
- value: number;
1920
- variant?: PieChartVariant;
1921
- customColor?: string;
1922
- }
1923
-
1924
- export declare interface PieChartProps {
1925
- className?: string;
1926
- data?: PieChartDataPoint[];
1927
- emptyLabel?: default_2.ReactNode;
1928
- gap?: number;
1929
- size?: PieChartSize;
1930
- valueFormatter?: (value: number, slice: PieChartDataPoint, index: number) => default_2.ReactNode;
1931
- valuePosition?: PieChartValuePosition;
1932
- }
1933
-
1934
- export declare type PieChartSize = 'small' | 'medium' | 'large';
1935
-
1936
- export declare type PieChartValuePosition = 'inside' | 'outside' | 'none';
1937
-
1938
- export declare type PieChartVariant = 'default' | 'warning' | 'danger' | 'info' | 'success' | 'random' | 'custom';
1939
-
1940
- declare type Placement = 'top' | 'bottom' | 'left' | 'right' | 'auto';
1941
-
1942
- export declare const Popover: FC<PopoverProps>;
1943
-
1944
- declare interface PopoverProps {
1945
- /** Popover content */
1946
- children: ReactNode;
1947
- /** Whether the popover is visible */
1948
- visible: boolean;
1949
- /** Function to close the popover */
1950
- onClose: () => void;
1951
- /** Reference to the trigger element */
1952
- anchorEl: HTMLElement | null;
1953
- /** Offset from the anchor element */
1954
- offset?: number;
1955
- /** Preferred placement of the popover (defaults to 'auto' which picks the best position) */
1956
- placement?: Placement;
1957
- }
1958
-
1959
- export declare const ProgressBar: ({ animated, height, label, labelAfterValue, labelAlign, labelPosition, orientation, showPercentage, state, striped, thin, value, }: ProgressBarProps) => JSX.Element;
1960
-
1961
- export declare type ProgressBarLabelAlign = 'left' | 'center' | 'right';
1962
-
1963
- export declare type ProgressBarLabelPosition = 'inside' | 'above' | 'below' | 'before' | 'after';
1964
-
1965
- export declare type ProgressBarOrientation = 'horizontal' | 'vertical';
1966
-
1967
- export declare interface ProgressBarProps {
1968
- animated?: boolean;
1969
- height?: CSSProperties['height'];
1970
- label?: string;
1971
- labelAfterValue?: boolean;
1972
- labelAlign?: ProgressBarLabelAlign;
1973
- labelPosition?: ProgressBarLabelPosition;
1974
- orientation?: ProgressBarOrientation;
1975
- showPercentage?: boolean;
1976
- state?: ProgressBarState;
1977
- striped?: boolean;
1978
- thin?: boolean;
1979
- value: number;
1980
- }
1981
-
1982
- export declare type ProgressBarState = 'default' | 'danger' | 'success' | 'warning' | 'info';
1983
-
1984
- export declare const ProgressRing: default_2.FC<ProgressRingProps>;
1985
-
1986
- export declare interface ProgressRingProps {
1987
- children?: default_2.ReactNode;
1988
- className?: string;
1989
- label?: default_2.ReactNode;
1990
- labelPosition?: 'inside' | 'below';
1991
- rounded?: boolean;
1992
- showPercentage?: boolean;
1993
- size?: ProgressRingSize;
1994
- state?: ProgressRingState;
1995
- thickness?: number;
1996
- value: number;
1997
- }
1998
-
1999
- export declare type ProgressRingSize = 'small' | 'medium' | 'large' | number;
2000
-
2001
- export declare type ProgressRingState = 'default' | 'danger' | 'success' | 'warning' | 'info';
2002
-
2003
- export declare const QuantitySelector: ForwardRefExoticComponent<QuantitySelectorProps & RefAttributes<HTMLInputElement>>;
2004
-
2005
- export declare interface QuantitySelectorProps {
2006
- disabled?: boolean;
2007
- error?: string;
2008
- id?: string;
2009
- inputWidth?: number;
2010
- label?: string;
2011
- max?: number;
2012
- min?: number;
2013
- onChange?: (value: number | undefined) => void;
2014
- readOnlyInput?: boolean;
2015
- required?: boolean;
2016
- step?: number;
2017
- success?: string;
2018
- value?: number;
2019
- }
2020
-
2021
- export declare const QuickAdd: default_2.FC<QuickAddProps>;
2022
-
2023
- declare interface QuickAddProps {
2024
- isOpen?: boolean;
2025
- placeholder: string;
2026
- title: string;
2027
- onClose: () => void;
2028
- onSave: (value: string | undefined) => Promise<void> | void;
2029
- titleIcon?: IconName;
2030
- value?: string;
2031
- usePortal?: boolean;
2032
- }
2033
-
2034
- export declare const QuickNumberUpdate: FC<QuickNumberUpdateProps>;
2035
-
2036
- declare interface QuickNumberUpdateProps {
2037
- icon?: IconName;
2038
- isOpen?: boolean;
2039
- max?: number;
2040
- min?: number;
2041
- onClose: () => void;
2042
- onSave: (value: number | undefined) => Promise<void> | void;
2043
- title: string;
2044
- value: number;
2045
- }
2046
-
2047
- export declare const QuickOptionUpdate: default_2.FC<QuickOptionUpdateProps>;
2048
-
2049
- declare interface QuickOptionUpdateProps {
2050
- icon?: IconName;
2051
- isOpen: boolean;
2052
- list: {
2053
- key: string;
2054
- label: string;
2055
- }[];
2056
- onClose: () => void;
2057
- onSave: (value: string | number) => Promise<void> | void;
2058
- title: string;
2059
- value: string;
2060
- }
2061
-
2062
- export declare const Radio: FC<RadioProps>;
2063
-
2064
- export declare interface RadioProps {
2065
- checked?: boolean;
2066
- onChange?: (value: string | number | boolean) => void;
2067
- label?: ReactNode;
2068
- disabled?: boolean;
2069
- name?: string;
2070
- value?: string | number;
2071
- id?: string;
2072
- className?: string;
2073
- }
2074
-
2075
- export declare const Rating: FC<RatingProps>;
2076
-
2077
- declare type RatingIconType = 'star' | 'bullet' | 'bar';
2078
-
2079
- declare interface RatingProps {
2080
- align?: 'left' | 'right' | 'space-between';
2081
- icon?: RatingIconType;
2082
- maxRate?: number;
2083
- onHover?: (value: number) => void;
2084
- onHoverEnd?: () => void;
2085
- onSelect?: (value: number) => void;
2086
- rating: number;
2087
- selectable?: boolean;
2088
- showValue?: boolean;
2089
- useHalf?: boolean;
2090
- variant?: RatingVariant;
2091
- }
2092
-
2093
- declare type RatingVariant = 'success' | 'info' | 'warning' | 'danger';
2094
-
2095
- export declare const RichTextEditor: ({ advanced, error, format, id, label, onBlur, onChange, placeholder, required, value, }: RichTextEditorProps) => JSX.Element;
2096
-
2097
- declare interface RichTextEditorProps {
2098
- advanced?: boolean;
2099
- error?: string;
2100
- format?: OutputFormat;
2101
- id?: string;
2102
- label?: string;
2103
- onBlur?: (event: FocusEvent_2<HTMLDivElement>) => void;
2104
- onChange?: (value: string) => void;
2105
- placeholder?: string;
2106
- required?: boolean;
2107
- value?: string;
2108
- }
2109
-
2110
- export declare interface ScrollInfo {
2111
- scrollTop: number;
2112
- scrollHeight: number;
2113
- clientHeight: number;
2114
- scrollPercent: number;
2115
- isAtTop: boolean;
2116
- isAtBottom: boolean;
2117
- }
2118
-
2119
- export declare const ScrollToTop: FC<ScrollToTopProps>;
2120
-
2121
- declare interface ScrollToTopProps {
2122
- scrollContainer?: HTMLElement | null;
2123
- scrollThreshold?: number;
2124
- className?: string;
2125
- }
2126
-
2127
- export declare const Separator: default_2.FC<SeparatorProps>;
2128
-
2129
- export declare type SeparatorAlign = 'left' | 'center' | 'right';
2130
-
2131
- export declare type SeparatorOrientation = 'horizontal' | 'vertical';
2132
-
2133
- export declare interface SeparatorProps {
2134
- orientation?: SeparatorOrientation;
2135
- style?: SeparatorStyle;
2136
- thickness?: number;
2137
- spacing?: number;
2138
- label?: string;
2139
- labelAlign?: SeparatorAlign;
2140
- className?: string;
2141
- }
2142
-
2143
- export declare type SeparatorStyle = 'solid' | 'dashed' | 'dotted';
2144
-
2145
- export declare const shortenText: (text: string, startChars?: number, endChars?: number, separator?: string) => string;
2146
-
2147
- export declare const Sidebar: default_2.FC<SidebarProps>;
2148
-
2149
- declare interface SidebarContextValue {
2150
- isMobile: boolean;
2151
- isOpen: boolean;
2152
- toggle: () => void;
2153
- open: () => void;
2154
- close: () => void;
2155
- }
2156
-
2157
- export declare interface SidebarItem {
2158
- id: string;
2159
- label: string;
2160
- isActive?: boolean;
2161
- onClick?: () => void;
2162
- className?: string;
2163
- icon?: IconName;
2164
- emoji?: string;
2165
- bulletColor?: string;
2166
- count?: number | string;
2167
- countLabel?: string;
2168
- }
2169
-
2170
- export declare interface SidebarProps {
2171
- sections: SidebarSection[];
2172
- width?: string;
2173
- className?: string;
2174
- appHeaderProps?: AppHeaderProps;
2175
- renderItem?: (item: SidebarItem) => ReactNode;
2176
- isOpen?: boolean;
2177
- onClose?: () => void;
2178
- isMobile?: boolean;
2179
- showOverlay?: boolean;
2180
- contained?: boolean;
2181
- shadow?: string;
2182
- searchPlaceholder?: string;
2183
- }
2184
-
2185
- export declare const SidebarProvider: default_2.FC<SidebarProviderProps>;
2186
-
2187
- declare interface SidebarProviderProps {
2188
- children: default_2.ReactNode;
2189
- }
2190
-
2191
- export declare interface SidebarSection {
2192
- id?: string;
2193
- title?: string;
2194
- heading?: string;
2195
- icon?: IconName;
2196
- description?: string;
2197
- items: SidebarItem[];
2198
- showDivider?: boolean;
2199
- }
2200
-
2201
- export declare function SignalStrength({ value, state, size, className }: SignalStrengthProps): ReactElement;
2202
-
2203
- declare interface SignalStrengthProps {
2204
- /** Signal strength value (0-100) */
2205
- value: number;
2206
- /** Signal state: excellent, good, fair, weak, unknown */
2207
- state?: 'excellent' | 'good' | 'fair' | 'weak' | 'unknown';
2208
- /** Size of the icon in pixels */
2209
- size?: number;
2210
- /** Optional class name */
2211
- className?: string;
2212
- }
2213
-
2214
- export declare const Skeleton: default_2.FC<SkeletonProps>;
2215
-
2216
- export declare type SkeletonAnimation = 'pulse' | 'wave' | 'none';
2217
-
2218
- export declare interface SkeletonProps {
2219
- variant?: SkeletonVariant;
2220
- animation?: SkeletonAnimation;
2221
- width?: string | number;
2222
- height?: string | number;
2223
- borderRadius?: string | number;
2224
- count?: number;
2225
- className?: string;
2226
- }
2227
-
2228
- export declare type SkeletonVariant = 'text' | 'circular' | 'rectangular' | 'rounded';
2229
-
2230
- export declare const Slider: FC<SliderProps>;
2231
-
2232
- declare interface SliderProps {
2233
- disabled?: boolean;
2234
- min?: number;
2235
- max?: number;
2236
- step?: number;
2237
- value: number;
2238
- onChange: (value: number) => void;
2239
- showValues?: boolean;
2240
- /**
2241
- * When true, render the value as a label to the right of the slider track
2242
- * instead of as a large block below it. Ignored when `vertical` is true.
2243
- */
2244
- showValueAtTheRight?: boolean;
2245
- largeValueState?: 'danger' | 'warning' | 'info' | 'success';
2246
- /** Explicit font size for the value label. Overrides the thin default when combined. */
2247
- valueSize?: ValueSize;
2248
- /** Renders a thinner track and smaller thumb. */
2249
- thin?: boolean;
2250
- /** Renders the slider vertically (bottom = min, top = max). */
2251
- vertical?: boolean;
2252
- }
2253
-
2254
- export declare const slugify: (text: string) => string;
2255
-
2256
- export declare type SortDirection = 'asc' | 'desc';
2257
-
2258
- /**
2259
- * Splits a piece of content (HTML or plain text) into discrete steps using
2260
- * block-level HTML elements when available, falling back to a single step
2261
- * otherwise.
2262
- */
2263
- export declare const splitHtmlIntoSteps: (content: string | undefined | null) => string[];
2264
-
2265
- export declare const SplitPanel: default_2.FC<SplitPanelProps>;
2266
-
2267
- declare interface SplitPanelProps {
2268
- /** Left pane content (main page) */
2269
- children: default_2.ReactNode;
2270
- /** Right pane content (detail panel) */
2271
- panel: default_2.ReactNode;
2272
- isPanelOpen: boolean;
2273
- onPanelClose: () => void;
2274
- /** Optional title shown in the right pane header */
2275
- panelTitle?: string;
2276
- /** Initial left pane width as a percentage (default: 55) */
2277
- defaultLeftPercent?: number;
2278
- /** Minimum left pane width percentage (default: 25) */
2279
- minLeftPercent?: number;
2280
- /** Minimum right pane width percentage (default: 20) */
2281
- minRightPercent?: number;
2282
- className?: string;
2283
- }
2284
-
2285
- export declare const StackedBar: ({ animated, height, normalize, orientation, segments, showLabels, showPercentage, thin, width, }: StackedBarProps) => JSX.Element;
2286
-
2287
- export declare type StackedBarOrientation = 'horizontal' | 'vertical';
2288
-
2289
- export declare interface StackedBarProps {
2290
- animated?: boolean;
2291
- height?: CSSProperties['height'];
2292
- normalize?: boolean;
2293
- orientation?: StackedBarOrientation;
2294
- segments: StackedBarSegment[];
2295
- showLabels?: boolean;
2296
- showPercentage?: boolean;
2297
- thin?: boolean;
2298
- width?: CSSProperties['width'];
2299
- }
2300
-
2301
- export declare interface StackedBarSegment {
2302
- label?: string;
2303
- pattern?: StackedBarSegmentPattern;
2304
- state?: StackedBarSegmentState;
2305
- value: number;
2306
- }
2307
-
2308
- export declare type StackedBarSegmentPattern = 'solid' | 'striped' | 'hatched';
2309
-
2310
- export declare type StackedBarSegmentState = 'default' | 'danger' | 'success' | 'warning' | 'info';
2311
-
2312
- export declare const Stats: default_2.FC<StatsProps>;
2313
-
2314
- export declare type StatsAlign = 'left' | 'center';
2315
-
2316
- export declare interface StatsItem {
2317
- label: string;
2318
- value: ReactNode;
2319
- variant?: StatsValueVariant;
2320
- }
2321
-
2322
- export declare interface StatsProps {
2323
- items: StatsItem[];
2324
- /** Show vertical dividers between items. Default: true. */
2325
- dividers?: boolean;
2326
- /** Content alignment within the strip. Default: 'left'. */
2327
- align?: StatsAlign;
2328
- /** Visual size. Default: 'medium'. */
2329
- size?: StatsSize;
2330
- className?: string;
2331
- }
2332
-
2333
- export declare type StatsSize = 'small' | 'medium';
2334
-
2335
- declare type StatsValueVariant = 'default' | 'success' | 'warning' | 'danger' | 'info';
2336
-
2337
- export declare const StickyBar: default_2.FC<StickyBarProps>;
2338
-
2339
- export declare type StickyBarAlign = 'start' | 'center' | 'end' | 'between';
2340
-
2341
- export declare type StickyBarPosition = 'top' | 'bottom';
2342
-
2343
- export declare interface StickyBarProps {
2344
- children: ReactNode;
2345
- /** Edge the bar sticks to. Default: 'bottom'. */
2346
- position?: StickyBarPosition;
2347
- /** Horizontal distribution of children. Default: 'between'. */
2348
- align?: StickyBarAlign;
2349
- /** When false the bar is not rendered. Default: true. */
2350
- visible?: boolean;
2351
- /** When provided, a close button is rendered that calls this handler. */
2352
- onClose?: () => void;
2353
- closeLabel?: string;
2354
- /** Pixel offset from the edge, used to stack multiple bars. Default: 0. */
2355
- offset?: number;
2356
- className?: string;
2357
- }
2358
-
2359
- export declare const stripQueryString: (url: string) => string;
2360
-
2361
- export declare const stripTrackingParams: (url: string) => string;
2362
-
2363
- export declare const SuggestionsList: ({ data, label, title, tooltip, enableSearch, onRowClick }: SuggestionsListProps) => JSX.Element;
2364
-
2365
- export declare interface SuggestionsListElement {
2366
- name: string;
2367
- value: number | string;
2368
- unit: string;
2369
- }
2370
-
2371
- declare interface SuggestionsListProps {
2372
- data: SuggestionsListElement[];
2373
- label?: string;
2374
- title?: string;
2375
- tooltip?: string;
2376
- enableSearch?: boolean;
2377
- onRowClick?: (item: SuggestionsListElement) => void;
2378
- }
2379
-
2380
- export declare type Theme = 'amber-meridian' | 'archive-indigo' | 'arctic-blue' | 'asphalt-code' | 'atelier-media' | 'audit-ember' | 'azure-night' | 'blossom-meadow' | 'blueprint-clay' | 'blush-market' | 'brass-chronicle' | 'carbon-velocity' | 'chalk-circuit' | 'chrono-atlas' | 'clinical-aqua' | 'cobalt-pulse' | 'citrus-vital' | 'command-slate' | 'crawler-dusk' | 'crimson-dusk' | 'cyber-forest' | 'dashdarkx' | 'ember-night' | 'emerald-ledger' | 'frost-petal' | 'garden-harvest' | 'gilded-bear' | 'graphite-shell' | 'horizon-amber' | 'horizon-drift' | 'ivory-serif' | 'lavender-mist' | 'light-blue' | 'lumen' | 'luna' | 'mesh-circuit' | 'midnight-atlas' | 'midnight-amber' | 'midnight-folio' | 'mint-meadow' | 'mintone' | 'neon-tokyo' | 'noir-marquee' | 'ocean-breeze' | 'ocean-depths' | 'orbital-night' | 'sandstone' | 'sandy-parchment' | 'screening-room' | 'signal-burst' | 'signal-clarity' | 'slate-focus' | 'slate-bazaar' | 'spectrum-vault' | 'tailwind-vue-dark' | 'terminal-phosphor' | 'terracotta-kitchen' | 'twilight-pulse' | 'vault-guard' | 'velvet-reel' | 'velvet-tome' | 'verdant-pulse' | 'vital-aurora' | 'vital-signal';
2381
-
2382
- export declare const THEME_CONFIGS: ThemeConfig[];
2383
-
2384
- export declare interface ThemeConfig {
2385
- value: string;
2386
- label: string;
2387
- fontUrl: string;
2388
- fontUrlDisplay?: string;
2389
- fontUrlMono?: string;
2390
- recommendedApps?: string[];
2391
- }
2392
-
2393
- export declare const ThemeContext: Context<ThemeContextType | undefined>;
2394
-
2395
- declare interface ThemeContextType {
2396
- theme: Theme;
2397
- effects: ThemeEffects;
2398
- setPreviewTheme: (theme: Theme) => void;
2399
- setPreviewEffects: (effects: ThemeEffects) => void;
2400
- commitPreview: () => void;
2401
- clearPreview: () => void;
2402
- }
2403
-
2404
- export declare interface ThemeEffects {
2405
- effect: string;
2406
- components: string[];
2407
- }
2408
-
2409
- export declare const ThemeProvider: FC<ThemeProviderProps>;
2410
-
2411
- export declare interface ThemeProviderProps {
2412
- children: ReactNode;
2413
- theme: Theme;
2414
- effects: ThemeEffects;
2415
- onSave?: (value: ThemeSaveValue) => void;
2416
- allowedThemes?: string[];
2417
- }
2418
-
2419
- export declare interface ThemeSaveValue {
2420
- theme: Theme;
2421
- effects: ThemeEffects;
2422
- }
2423
-
2424
- export declare const ThemeSettings: FC<ThemeSettingsProps>;
2425
-
2426
- export declare interface ThemeSettingsProps {
2427
- isOpen: boolean;
2428
- onClose: () => void;
2429
- allowedThemes?: string[];
2430
- currentApp?: string;
2431
- showEffects?: boolean;
2432
- showSearch?: boolean;
2433
- showFavorites?: boolean;
2434
- showAppearanceFilter?: boolean;
2435
- }
2436
-
2437
- export declare const Timeline: default_2.FC<TimelineProps>;
2438
-
2439
- export declare interface TimelineItem {
2440
- id: string | number;
2441
- title: string;
2442
- description?: string;
2443
- timestamp?: string;
2444
- variant?: TimelineVariant;
2445
- icon?: default_2.ReactNode;
2446
- badge?: string;
2447
- /** Mark as the currently active/highlighted step */
2448
- active?: boolean;
2449
- /** Render item as faded/incomplete */
2450
- muted?: boolean;
2451
- }
2452
-
2453
- export declare const TimelineMarkerDot: ({ marker, onClick }: {
2454
- marker: TimelineMarkerInfo;
2455
- onClick?: (e: React.MouseEvent) => void;
2456
- }) => JSX.Element;
2457
-
2458
- export declare interface TimelineMarkerInfo {
2459
- showYear: boolean;
2460
- showDate: boolean;
2461
- yearLabel: string;
2462
- dateLabel: string;
2463
- }
2464
-
2465
- export declare const TimelineMarkers: <T extends TimelineMarkersItem>({ items, renderItem, className, }: TimelineMarkersProps<T>) => JSX.Element;
2466
-
2467
- export declare interface TimelineMarkersItem {
2468
- id: string | number;
2469
- date: string;
2470
- }
2471
-
2472
- declare interface TimelineMarkersProps<T extends TimelineMarkersItem> {
2473
- items: T[];
2474
- renderItem: (item: T, marker: TimelineMarkerInfo) => ReactNode;
2475
- className?: string;
2476
- }
2477
-
2478
- export declare const TimelineMobileSeparator: ({ marker }: {
2479
- marker: TimelineMarkerInfo;
2480
- }) => JSX.Element | null;
2481
-
2482
- export declare type TimelineOrientation = 'vertical' | 'horizontal';
2483
-
2484
- declare interface TimelineProps {
2485
- items: TimelineItem[];
2486
- orientation?: TimelineOrientation;
2487
- size?: TimelineSize;
2488
- /** Show connector line between nodes */
2489
- connected?: boolean;
2490
- /** Animate items in on mount */
2491
- animated?: boolean;
2492
- className?: string;
2493
- }
2494
-
2495
- export declare type TimelineSize = 'sm' | 'md' | 'lg';
2496
-
2497
- declare type TimelineVariant = 'default' | 'info' | 'success' | 'warning' | 'danger';
2498
-
2499
- export declare const TipsOfTheDay: FC<TipsOfTheDayProps>;
2500
-
2501
- declare interface TipsOfTheDayProps {
2502
- list: string[];
2503
- }
2504
-
2505
- export declare const Toast: FC<ToastProps>;
2506
-
2507
- export declare interface ToastAction {
2508
- label: string;
2509
- onClick: () => void;
2510
- }
2511
-
2512
- export declare const ToastContainer: ({ position, showDismissButton }: ToastContainerProps) => JSX.Element;
2513
-
2514
- export declare type ToastContainerPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' | 'top' | 'bottom' | 'left' | 'right';
2515
-
2516
- declare interface ToastContainerProps {
2517
- position?: ToastContainerPosition;
2518
- showDismissButton?: boolean;
2519
- }
2520
-
2521
- declare interface ToastContextValue {
2522
- toasts: ToastItem[];
2523
- addToast: (message: string, type?: ToastType, timeout?: number, action?: ContextToastAction) => string;
2524
- removeToast: (id: string) => void;
2525
- }
2526
-
2527
- export declare interface ToastDetails {
2528
- message: string;
2529
- type?: 'success' | 'danger' | 'warning' | 'info';
2530
- action?: ToastAction;
2531
- position?: ToastPosition;
2532
- showDismissButton?: boolean;
2533
- timeout?: number;
2534
- }
2535
-
2536
- declare interface ToastItem {
2537
- id: string;
2538
- message: string;
2539
- type: ToastType;
2540
- timeout: number;
2541
- action?: ContextToastAction;
2542
- }
2543
-
2544
- export declare type ToastPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top' | 'bottom' | 'left' | 'right';
2545
-
2546
- declare interface ToastProps extends ToastDetails {
2547
- onClose: () => void;
2548
- }
2549
-
2550
- export declare const ToastProvider: default_2.FC<ToastProviderProps>;
2551
-
2552
- declare interface ToastProviderProps {
2553
- children: default_2.ReactNode;
2554
- }
2555
-
2556
- export declare type ToastType = 'info' | 'success' | 'warning' | 'danger';
2557
-
2558
- export declare const ToggleButtons: FC<ToggleProps>;
2559
-
2560
- declare interface ToggleProps {
2561
- activeVariant?: ButtonVariant;
2562
- onToggleChange: (mode: string) => void;
2563
- state: string;
2564
- layout?: 'buttons' | 'cards';
2565
- size?: 'small' | 'medium' | 'large';
2566
- states: ToggleState[];
2567
- }
2568
-
2569
- declare interface ToggleState {
2570
- label: string;
2571
- key: string;
2572
- icon?: IconName;
2573
- description?: string;
2574
- }
2575
-
2576
- export declare const ToggleSwitch: default_2.FC<ToggleSwitchProps>;
2577
-
2578
- export declare interface ToggleSwitchProps {
2579
- checked?: boolean;
2580
- className?: string;
2581
- disabled?: boolean;
2582
- offLabel?: string;
2583
- onChange?: (checked: boolean) => void;
2584
- onLabel?: string;
2585
- showLabels?: boolean;
2586
- size?: 'small' | 'medium' | 'large';
2587
- variant?: ToggleSwitchVariant;
2588
- }
2589
-
2590
- export declare type ToggleSwitchVariant = 'plain' | 'default' | 'success' | 'info' | 'warning' | 'danger';
2591
-
2592
- export declare const Toolbar: default_2.FC<ToolbarProps>;
2593
-
2594
- export declare interface ToolbarControlPanelToggleConfig {
2595
- label?: string;
2596
- }
2597
-
2598
- export declare interface ToolbarHeadingConfig {
2599
- title: string;
2600
- description?: string;
2601
- /** Brand icon shown left of the title. Pass one of svg / icon / emoji. */
2602
- svg?: ReactNode;
2603
- icon?: IconName;
2604
- emoji?: string;
2605
- /** Makes the heading clickable (e.g. to navigate home). */
2606
- onClick?: () => void;
2607
- }
2608
-
2609
- export declare interface ToolbarNotificationsConfig {
2610
- items: NotificationPanelItem[];
2611
- buttonLabel?: string;
2612
- panelTitle?: string;
2613
- emptyMessage?: string;
2614
- }
2615
-
2616
- export declare interface ToolbarProps {
2617
- children?: ReactNode;
2618
- className?: string;
2619
- controlPanelToggle?: boolean | ToolbarControlPanelToggleConfig;
2620
- /** Descriptive headline shown at the far left of the toolbar. */
2621
- heading?: ToolbarHeadingConfig;
2622
- /** When true, drops the toolbar's card chrome (background, border, radius, padding). */
2623
- noCard?: boolean;
2624
- menuItems: MenuHamburgerItem[];
2625
- notifications?: ToolbarNotificationsConfig;
2626
- search?: ToolbarSearchConfig;
2627
- sort?: ToolbarSortConfig;
2628
- }
2629
-
2630
- export declare interface ToolbarSearchConfig extends Omit<InputSearchProps, 'className'> {
2631
- className?: string;
2632
- }
2633
-
2634
- export declare type ToolbarSortConfig = ToolbarSortConfigWithFields | ToolbarSortConfigWithOptions;
2635
-
2636
- declare interface ToolbarSortConfigBase {
2637
- className?: string;
2638
- highlighted?: boolean;
2639
- label?: string;
2640
- name?: string;
2641
- placeholder?: string;
2642
- searchable?: boolean;
2643
- }
2644
-
2645
- export declare interface ToolbarSortConfigWithFields extends ToolbarSortConfigBase {
2646
- fields: ToolbarSortField[];
2647
- onChange: (value: ToolbarSortValue) => void;
2648
- value?: ToolbarSortValue;
2649
- }
2650
-
2651
- export declare interface ToolbarSortConfigWithOptions extends ToolbarSortConfigBase {
2652
- onChange: (value: string, option: DropdownOption | null) => void;
2653
- options: DropdownOption[];
2654
- value?: number | string | null;
2655
- }
2656
-
2657
- export declare interface ToolbarSortField {
2658
- label: string;
2659
- value: string;
2660
- }
2661
-
2662
- export declare interface ToolbarSortValue {
2663
- direction: 'asc' | 'desc';
2664
- field: string;
2665
- }
2666
-
2667
- export declare const Tooltip: default_2.FC<TooltipProps>;
2668
-
2669
- export declare type TooltipPosition = 'top' | 'bottom' | 'left' | 'right';
2670
-
2671
- declare interface TooltipProps {
2672
- title: default_2.ReactNode;
2673
- position?: TooltipPosition;
2674
- delay?: number;
2675
- children: default_2.ReactNode;
2676
- disabled?: boolean;
2677
- className?: string;
2678
- maxWidth?: number | string;
2679
- maxHeight?: number | string;
2680
- }
2681
-
2682
- /** Floating heads-up display for step-through ("history mode") navigation. */
2683
- export declare const TourHud: default_2.FC<TourHudProps>;
2684
-
2685
- export declare interface TourHudProps {
2686
- /** Context label, e.g. a dataset or tour name. */
2687
- label: string;
2688
- /** Optional descriptor shown after the step counter, e.g. a year. */
2689
- stepLabel?: string;
2690
- /** Zero-based index of the current step. */
2691
- index: number;
2692
- total: number;
2693
- /** Primary line - the current step's title. */
2694
- title: string;
2695
- /** Optional secondary line, rendered italic. */
2696
- note?: string;
2697
- onPrev: () => void;
2698
- onNext: () => void;
2699
- onExit: () => void;
2700
- /** Fixed HUD width. Numbers are treated as px. */
2701
- width?: number | string;
2702
- className?: string;
2703
- }
2704
-
2705
- export declare const Tree: default_2.FC<TreeProps>;
2706
-
2707
- export declare interface TreeNode {
2708
- id: string | number;
2709
- label: string;
2710
- icon?: default_2.ReactNode;
2711
- variant?: TreeVariant;
2712
- badge?: string | number;
2713
- disabled?: boolean;
2714
- /** Pre-expanded on first render */
2715
- defaultExpanded?: boolean;
2716
- children?: TreeNode[];
2717
- }
2718
-
2719
- declare interface TreeProps {
2720
- nodes: TreeNode[];
2721
- /** Allow selecting a single node */
2722
- selectable?: boolean;
2723
- /** Callback fired when a node is selected */
2724
- onSelect?: (node: TreeNode) => void;
2725
- /** Show indent guide lines */
2726
- showGuides?: boolean;
2727
- /** Animate expand/collapse */
2728
- animated?: boolean;
2729
- /** Pre-selected node id */
2730
- defaultSelectedId?: string | number;
2731
- className?: string;
2732
- }
2733
-
2734
- declare type TreeVariant = 'default' | 'info' | 'success' | 'warning' | 'danger';
2735
-
2736
- export declare const truncateText: (text: string, maxLength?: number, separator?: string) => string;
2737
-
2738
- export declare function useAppPersistence<TPages, TTheme>(appId: string, defaults: AppPersistenceDefaults<TPages, TTheme>): UseAppPersistenceReturn<TPages, TTheme>;
2739
-
2740
- export declare interface UseAppPersistenceReturn<TPages, TTheme> {
2741
- pages: TPages;
2742
- theme: TTheme;
2743
- setPage: <K extends keyof TPages>(key: K, value: TPages[K]) => void;
2744
- setTheme: (theme: TTheme) => void;
2745
- clearPage: <K extends keyof TPages>(key: K) => void;
2746
- clearAll: () => void;
2747
- }
2748
-
2749
- export declare const useAuth: () => AuthContextValue;
2750
-
2751
- export declare const useBodyScrollLock: (isLocked: boolean) => void;
2752
-
2753
- export declare const useBreakpoint: () => UseBreakpointReturn;
2754
-
2755
- declare interface UseBreakpointReturn {
2756
- currentBreakpoint: Breakpoint;
2757
- isMobile: boolean;
2758
- isTablet: boolean;
2759
- isDesktop: boolean;
2760
- isLargeDesktop: boolean;
2761
- isAbove: (breakpoint: Breakpoint) => boolean;
2762
- isBelow: (breakpoint: Breakpoint) => boolean;
2763
- isAtLeast: (breakpoint: Breakpoint) => boolean;
2764
- isAtMost: (breakpoint: Breakpoint) => boolean;
2765
- }
2766
-
2767
- export declare const useComponentEffect: (componentName: string) => string;
2768
-
2769
- export declare const useControlPanel: () => ControlPanelContextValue;
2770
-
2771
- export declare const useControlPanelContext: () => ControlPanelContextValue | null;
2772
-
2773
- /**
2774
- * Hook pentru multiple popover-uri cu ID-uri
2775
- * Util când ai multe popover-uri și vrei să le controlezi individual
2776
- */
2777
- export declare const usePopover: () => {
2778
- show: (id: string, element: HTMLElement | React.MouseEvent) => void;
2779
- hide: (id: string) => void;
2780
- toggle: (id: string, element: HTMLElement | React.MouseEvent) => void;
2781
- isVisible: (id: string) => boolean;
2782
- getAnchorEl: (id: string) => HTMLElement | null;
2783
- };
2784
-
2785
- export declare interface User {
2786
- id: string;
2787
- username: string;
2788
- createdAt: Date;
2789
- }
2790
-
2791
- export declare const useSidebar: () => SidebarContextValue;
2792
-
2793
- export declare const useTheme: () => ThemeContextType;
2794
-
2795
- export declare const useToast: () => ToastContextValue;
2796
-
2797
- export declare const validateEmail: (email: string) => boolean;
2798
-
2799
- export declare function validateVin(vin: string): VinValidationResult;
2800
-
2801
- declare type ValueSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
2802
-
2803
- export declare interface VerifyResponse {
2804
- user: {
2805
- id: string;
2806
- username: string;
2807
- createdAt: string;
2808
- };
2809
- }
2810
-
2811
- export declare interface VinValidationResult {
2812
- valid: boolean;
2813
- error?: string;
2814
- }
2815
-
2816
- export declare const WHtR: default_2.FC<WHtRProps>;
2817
-
2818
- declare interface WHtRProps {
2819
- belly: number;
2820
- height: number;
2821
- isSimplified?: boolean;
2822
- showLabels?: boolean;
2823
- showIndicator?: boolean;
2824
- }
2825
-
2826
- export { }
2827
-
2828
-
2829
- declare global {
2830
- interface Window {
2831
- __VERSIONS__: FullVersionInfo;
2832
- }
2833
- }
1
+ export * from './src/index'
2
+ export {}