@rio-cloud/rio-uikit 0.16.4-beta.2 → 0.16.4-beta.4

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 (463) hide show
  1. package/DeviceUtils.js +2 -2
  2. package/components/actionBarItem/ActionBarItemIcon.d.ts +1 -1
  3. package/components/activity/Activity.d.ts +26 -0
  4. package/components/animatedNumber/AnimatedNumber.d.ts +8 -0
  5. package/components/bottomSheet/BottomSheet.d.ts +50 -1
  6. package/components/bottomSheet/BottomSheet.js +9 -4
  7. package/components/map/utils/eventHandling.d.ts +10 -10
  8. package/components/map/utils/eventHandling.js +29 -29
  9. package/lib/es/AppNavigationBar.d.ts +2 -5
  10. package/lib/es/Area.d.ts +2 -5
  11. package/lib/es/AreaChart.d.ts +2 -5
  12. package/lib/es/AreaGradient.d.ts +2 -5
  13. package/lib/es/AssetTree.d.ts +2 -5
  14. package/lib/es/AutoSuggest.d.ts +2 -6
  15. package/lib/es/AutoSuggest.js +3 -2
  16. package/lib/es/Bar.d.ts +2 -8
  17. package/lib/es/BarChart.d.ts +2 -5
  18. package/lib/es/BrowserWarning.d.ts +2 -5
  19. package/lib/es/Button.d.ts +2 -27
  20. package/lib/es/ButtonDropdown.d.ts +2 -5
  21. package/lib/es/CalendarStripe.d.ts +2 -5
  22. package/lib/es/Carousel.d.ts +2 -11
  23. package/lib/es/ChartNeedle.d.ts +2 -5
  24. package/lib/es/ChartTooltip.d.ts +2 -5
  25. package/lib/es/Checkbox.d.ts +2 -5
  26. package/lib/es/Checkbox.js +3 -2
  27. package/lib/es/Circle.d.ts +2 -5
  28. package/lib/es/ClearableInput.d.ts +2 -5
  29. package/lib/es/ClearableInput.js +3 -2
  30. package/lib/es/ClusterLayer.d.ts +2 -5
  31. package/lib/es/ClusterMapMarker.d.ts +2 -5
  32. package/lib/es/ClusterUtils.d.ts +2 -5
  33. package/lib/es/Collapse.d.ts +2 -5
  34. package/lib/es/ColorScheme.d.ts +3 -4
  35. package/lib/es/Colors.d.ts +2 -21
  36. package/lib/es/ConfirmationDialog.d.ts +2 -14
  37. package/lib/es/ContentLoader.d.ts +2 -8
  38. package/lib/es/ContentLoader.js +3 -2
  39. package/lib/es/ContextMenu.d.ts +2 -5
  40. package/lib/es/ContextMenuItem.d.ts +2 -5
  41. package/lib/es/CustomState.d.ts +2 -5
  42. package/lib/es/DataTab.d.ts +2 -5
  43. package/lib/es/DataTabs.d.ts +2 -5
  44. package/lib/es/DatePicker.d.ts +2 -5
  45. package/lib/es/DateRangePicker.d.ts +2 -5
  46. package/lib/es/DeviceUtils.d.ts +13 -13
  47. package/lib/es/DeviceUtils.js +2 -1
  48. package/lib/es/Dialog.d.ts +2 -15
  49. package/lib/es/DomMarker.d.ts +2 -5
  50. package/lib/es/DropdownSubmenu.d.ts +2 -5
  51. package/lib/es/EditableContent.d.ts +2 -0
  52. package/lib/es/EditableContent.js +7 -0
  53. package/lib/es/EmptyState.d.ts +2 -5
  54. package/lib/es/ErrorState.d.ts +2 -5
  55. package/lib/es/EventUtils.d.ts +2 -36
  56. package/lib/es/ExpanderList.d.ts +2 -5
  57. package/lib/es/ExpanderPanel.d.ts +2 -5
  58. package/lib/es/Fade.d.ts +2 -14
  59. package/lib/es/FilePicker.d.ts +2 -9
  60. package/lib/es/ForbiddenState.d.ts +2 -5
  61. package/lib/es/ImagePreloader.d.ts +2 -5
  62. package/lib/es/IncidentsLayer.d.ts +2 -4
  63. package/lib/es/InfoDialog.d.ts +2 -5
  64. package/lib/es/Legend.d.ts +2 -5
  65. package/lib/es/Line.d.ts +2 -5
  66. package/lib/es/LineChart.d.ts +2 -5
  67. package/lib/es/ListMenu.d.ts +2 -6
  68. package/lib/es/MaintenanceState.d.ts +2 -5
  69. package/lib/es/Map.d.ts +2 -12
  70. package/lib/es/MapBoundingBoxButton.d.ts +2 -5
  71. package/lib/es/MapCenterMarkerButton.d.ts +2 -5
  72. package/lib/es/MapClusterSettings.d.ts +2 -5
  73. package/lib/es/MapCustomerPoiSettingsItem.d.ts +2 -5
  74. package/lib/es/MapLayerGroup.d.ts +2 -5
  75. package/lib/es/MapLayerIncidentsItem.d.ts +2 -5
  76. package/lib/es/MapLayerRoadRestrictionsItem.d.ts +2 -5
  77. package/lib/es/MapLayerSettings.d.ts +2 -5
  78. package/lib/es/MapLayerTrafficItem.d.ts +2 -5
  79. package/lib/es/MapLockMarkerButton.d.ts +2 -5
  80. package/lib/es/MapSettings.d.ts +2 -5
  81. package/lib/es/MapSettingsItem.d.ts +2 -5
  82. package/lib/es/MapSettingsPanel.d.ts +2 -5
  83. package/lib/es/MapSettingsTile.d.ts +2 -5
  84. package/lib/es/MapTypeSettings.d.ts +2 -5
  85. package/lib/es/MapWorkshopPoiSettingsItem.d.ts +2 -5
  86. package/lib/es/Marker.d.ts +2 -5
  87. package/lib/es/MarkerLayer.d.ts +2 -5
  88. package/lib/es/MediaDialog.d.ts +2 -9
  89. package/lib/es/MenuItem.d.ts +2 -5
  90. package/lib/es/Multiselect.d.ts +2 -12
  91. package/lib/es/NotBookedState.d.ts +2 -5
  92. package/lib/es/NotFoundState.d.ts +2 -5
  93. package/lib/es/Notification.d.ts +2 -9
  94. package/lib/es/NotificationsContainer.d.ts +2 -5
  95. package/lib/es/NumberControl.d.ts +2 -8
  96. package/lib/es/NumberControl.js +3 -2
  97. package/lib/es/NumberInput.d.ts +2 -8
  98. package/lib/es/NumberInput.js +3 -2
  99. package/lib/es/OnboardingTip.d.ts +2 -30
  100. package/lib/es/Pager.d.ts +2 -11
  101. package/lib/es/Pager.js +3 -2
  102. package/lib/es/PieChart.d.ts +2 -5
  103. package/lib/es/Polygon.d.ts +2 -5
  104. package/lib/es/Polyline.d.ts +2 -5
  105. package/lib/es/Popover.d.ts +2 -11
  106. package/lib/es/Position.d.ts +2 -5
  107. package/lib/es/PositionUtils.d.ts +2 -8
  108. package/lib/es/RadialBarChart.d.ts +2 -5
  109. package/lib/es/RadioButton.d.ts +2 -5
  110. package/lib/es/RangeSlider.d.ts +2 -5
  111. package/lib/es/ReleaseNotes.d.ts +2 -5
  112. package/lib/es/ReleaseNotesDialog.d.ts +2 -5
  113. package/lib/es/ReleaseNotesDialog.js +3 -2
  114. package/lib/es/Resizer.d.ts +2 -13
  115. package/lib/es/Resizer.js +3 -2
  116. package/lib/es/ResponsiveColumnStripe.d.ts +2 -5
  117. package/lib/es/Route.d.ts +2 -5
  118. package/lib/es/RuleConnector.d.ts +2 -10
  119. package/lib/es/RuleContainer.d.ts +2 -6
  120. package/lib/es/RulesWrapper.d.ts +2 -6
  121. package/lib/es/SaveDialog.d.ts +2 -14
  122. package/lib/es/Select.d.ts +2 -5
  123. package/lib/es/Sidebar.d.ts +2 -11
  124. package/lib/es/SimpleButtonDropdown.d.ts +2 -5
  125. package/lib/es/SimpleClusterLayer.d.ts +2 -5
  126. package/lib/es/SimpleDialog.d.ts +2 -14
  127. package/lib/es/SingleButtonDropdown.d.ts +2 -5
  128. package/lib/es/SingleMapMarker.d.ts +2 -5
  129. package/lib/es/Slider.d.ts +2 -5
  130. package/lib/es/SortArrowDown.d.ts +2 -5
  131. package/lib/es/SortArrowUp.d.ts +2 -5
  132. package/lib/es/SortArrows.d.ts +2 -5
  133. package/lib/es/SortDirection.d.ts +2 -11
  134. package/lib/es/SortUtils.d.ts +3 -16
  135. package/lib/es/Spinner.d.ts +2 -5
  136. package/lib/es/Spinner.js +3 -2
  137. package/lib/es/SplitButtonDropdown.d.ts +2 -5
  138. package/lib/es/SplitDialog.d.ts +2 -14
  139. package/lib/es/StatsWidget.d.ts +2 -10
  140. package/lib/es/StatsWidget.js +3 -2
  141. package/lib/es/StatsWidgetNumber.d.ts +2 -5
  142. package/lib/es/StatsWidgetNumber.js +3 -2
  143. package/lib/es/StatsWidgetSpacer.d.ts +2 -5
  144. package/lib/es/StatsWidgetSpacer.js +3 -2
  145. package/lib/es/StatsWidgets.d.ts +1 -5
  146. package/lib/es/StatsWidgets.js +5 -3
  147. package/lib/es/StatusBar.d.ts +2 -5
  148. package/lib/es/StatusBar.js +3 -2
  149. package/lib/es/SteppedProgressBar.d.ts +2 -9
  150. package/lib/es/SubNavigation.d.ts +2 -5
  151. package/lib/es/Switch.d.ts +2 -8
  152. package/lib/es/Switch.js +3 -2
  153. package/lib/es/TableCardsSorting.d.ts +2 -5
  154. package/lib/es/TableSearch.d.ts +2 -5
  155. package/lib/es/TableSettingsDialog.d.ts +2 -5
  156. package/lib/es/TableToolbar.d.ts +2 -5
  157. package/lib/es/TableViewToggles.d.ts +2 -12
  158. package/lib/es/Tag.d.ts +2 -5
  159. package/lib/es/TagList.d.ts +2 -5
  160. package/lib/es/TagManager.d.ts +2 -5
  161. package/lib/es/Teaser.d.ts +2 -5
  162. package/lib/es/TeaserContainer.d.ts +2 -5
  163. package/lib/es/TextMarker.d.ts +2 -5
  164. package/lib/es/TimePicker.d.ts +2 -5
  165. package/lib/es/ToggleButton.d.ts +2 -5
  166. package/lib/es/TrafficLayer.d.ts +2 -4
  167. package/lib/es/Tree.d.ts +2 -5
  168. package/lib/es/TreeCategory.d.ts +2 -5
  169. package/lib/es/TreeOption.d.ts +2 -5
  170. package/lib/es/TreeSearch.d.ts +2 -5
  171. package/lib/es/TreeSummary.d.ts +2 -5
  172. package/lib/es/TruckLayer.d.ts +2 -4
  173. package/lib/es/TypeCounter.d.ts +2 -5
  174. package/lib/es/VolkswagenApplicationHeader.d.ts +2 -5
  175. package/lib/es/components/actionBarItem/ActionBarItem.d.ts +21 -0
  176. package/lib/es/components/actionBarItem/ActionBarItemIcon.d.ts +2 -2
  177. package/lib/es/components/actionBarItem/ActionBarItemList.d.ts +4 -1
  178. package/lib/es/components/actionBarItem/ActionBarItemListItem.d.ts +19 -2
  179. package/lib/es/components/actionBarItem/ActionBarItemListSeparator.d.ts +4 -1
  180. package/lib/es/components/actionBarItem/ActionBarItemPopoverContent.d.ts +7 -1
  181. package/lib/es/components/activity/Activity.d.ts +27 -0
  182. package/lib/es/components/animatedNumber/AnimatedNumber.d.ts +8 -0
  183. package/lib/es/components/applicationHeader/AppMenu.d.ts +1 -1
  184. package/lib/es/components/applicationHeader/AppMenu.js +2 -2
  185. package/lib/es/components/applicationHeader/AppMenuContent.d.ts +1 -1
  186. package/lib/es/components/applicationHeader/AppMenuDropdown.d.ts +1 -1
  187. package/lib/es/components/applicationHeader/ApplicationActionBar.d.ts +1 -1
  188. package/lib/es/components/applicationHeader/ApplicationHeader.d.ts +52 -1
  189. package/lib/es/components/applicationHeader/MobileAppMenu.d.ts +1 -1
  190. package/lib/es/components/applicationHeader/MobileHeaderModal.d.ts +1 -1
  191. package/lib/es/components/applicationHeader/MobileSubmoduleNavigation.d.ts +1 -1
  192. package/lib/es/components/applicationHeader/NavItems.d.ts +1 -1
  193. package/lib/es/components/applicationLayout/ApplicationLayout.d.ts +7 -1
  194. package/lib/es/components/applicationLayout/ApplicationLayoutBody.d.ts +29 -2
  195. package/lib/es/components/applicationLayout/ApplicationLayoutBodyBanner.d.ts +15 -0
  196. package/lib/es/components/applicationLayout/ApplicationLayoutBodyBottomBar.d.ts +15 -0
  197. package/lib/es/components/applicationLayout/ApplicationLayoutBodyNavigation.d.ts +3 -0
  198. package/lib/es/components/applicationLayout/ApplicationLayoutHeader.d.ts +3 -0
  199. package/lib/es/components/applicationLayout/ApplicationLayoutSidebar.d.ts +3 -0
  200. package/lib/es/components/aspectRatioPlaceholder/AspectRatioPlaceholder.d.ts +4 -1
  201. package/lib/es/components/assetTree/Tree.js +1 -2
  202. package/lib/es/components/assetTree/TreeLeafList.d.ts +1 -1
  203. package/lib/es/components/assetTree/TreeNodeContainer.d.ts +1 -1
  204. package/lib/es/components/assetTree/TreeNothingFound.d.ts +1 -1
  205. package/lib/es/components/assetTree/TreeOption.d.ts +1 -1
  206. package/lib/es/components/assetTree/TreeOption.js +2 -2
  207. package/lib/es/components/assetTree/TreeOptions.d.ts +1 -1
  208. package/lib/es/components/assetTree/TreeOptions.js +2 -2
  209. package/lib/es/components/assetTree/TreeRoot.d.ts +1 -1
  210. package/lib/es/components/assetTree/TreeSelectAll.d.ts +1 -1
  211. package/lib/es/components/assetTree/TreeSummary.js +1 -1
  212. package/lib/es/components/assetTree/TypeCounter.js +2 -2
  213. package/lib/es/components/autosuggest/AutoSuggest.d.ts +200 -115
  214. package/lib/es/components/autosuggest/AutoSuggest.js +144 -258
  215. package/lib/es/components/autosuggest/AutoSuggestAddons.d.ts +8 -0
  216. package/lib/es/components/autosuggest/AutoSuggestAddons.js +9 -0
  217. package/lib/es/components/autosuggest/DropdownSpinner.d.ts +4 -0
  218. package/lib/es/components/autosuggest/DropdownSpinner.js +8 -0
  219. package/lib/es/components/autosuggest/NoItemMessage.d.ts +5 -0
  220. package/lib/es/components/autosuggest/NoItemMessage.js +7 -0
  221. package/lib/es/components/bottomSheet/BottomSheet.d.ts +50 -1
  222. package/lib/es/components/bottomSheet/BottomSheet.js +9 -4
  223. package/lib/es/components/browserWarning/BrowserIcons.d.ts +2 -2
  224. package/lib/es/components/browserWarning/BrowserWarning.d.ts +1 -1
  225. package/lib/es/components/browserWarning/BrowserWarningMessageDE.d.ts +1 -1
  226. package/lib/es/components/browserWarning/BrowserWarningMessageEN.d.ts +1 -1
  227. package/lib/es/components/button/Button.d.ts +1 -1
  228. package/lib/es/components/button/ToggleButton.d.ts +1 -1
  229. package/lib/es/components/carousel/CarouselCaption.d.ts +1 -1
  230. package/lib/es/components/carousel/CarouselItem.d.ts +1 -1
  231. package/lib/es/components/charts/AreaChart.d.ts +2 -2
  232. package/lib/es/components/charts/AreaGradient.d.ts +1 -1
  233. package/lib/es/components/charts/BarChart.d.ts +2 -2
  234. package/lib/es/components/charts/ChartNeedle.d.ts +1 -1
  235. package/lib/es/components/charts/LineChart.d.ts +2 -2
  236. package/lib/es/components/charts/PieChart.d.ts +3 -3
  237. package/lib/es/components/charts/RadialBarChart.d.ts +2 -2
  238. package/lib/es/components/checkbox/Checkbox.d.ts +126 -56
  239. package/lib/es/components/checkbox/Checkbox.js +25 -65
  240. package/lib/es/components/checkbox/CheckboxIcon.d.ts +9 -0
  241. package/lib/es/components/checkbox/CheckboxIcon.js +15 -0
  242. package/lib/es/components/clearableInput/ClearableInput.d.ts +95 -58
  243. package/lib/es/components/clearableInput/ClearableInput.js +47 -97
  244. package/lib/es/components/collapse/Collapse.d.ts +1 -1
  245. package/lib/es/components/contentLoader/ContentLoader.d.ts +54 -32
  246. package/lib/es/components/contentLoader/ContentLoader.js +36 -33
  247. package/lib/es/components/dataTabs/DataTabs.d.ts +1 -1
  248. package/lib/es/components/datepicker/DateRangePicker.d.ts +6 -6
  249. package/lib/es/components/dialog/ConfirmationDialog.d.ts +1 -1
  250. package/lib/es/components/dialog/Dialog.js +14 -3
  251. package/lib/es/components/dialog/DialogBody.d.ts +1 -1
  252. package/lib/es/components/dialog/DialogFooter.d.ts +1 -1
  253. package/lib/es/components/dialog/DialogHeader.d.ts +1 -1
  254. package/lib/es/components/dialog/InfoDialog.d.ts +1 -1
  255. package/lib/es/components/dialog/MediaDialog.d.ts +6 -6
  256. package/lib/es/components/dialog/ReleaseNotesDialog.d.ts +1 -1
  257. package/lib/es/components/dialog/SaveDialog.d.ts +1 -1
  258. package/lib/es/components/dialog/SimpleDialog.d.ts +1 -1
  259. package/lib/es/components/dialog/SplitDialog.d.ts +1 -1
  260. package/lib/es/components/driverName/DriverName.d.ts +1 -1
  261. package/lib/es/components/dropdown/ButtonDropdown.d.ts +1 -1
  262. package/lib/es/components/dropdown/Caret.d.ts +1 -1
  263. package/lib/es/components/dropdown/DropdownSubmenu.d.ts +1 -1
  264. package/lib/es/components/dropdown/SimpleButtonDropdown.d.ts +1 -1
  265. package/lib/es/components/dropdown/SingleButtonDropdown.d.ts +1 -1
  266. package/lib/es/components/dropdown/SplitButtonDropdown.d.ts +1 -1
  267. package/lib/es/components/editableContent/EditableContent.d.ts +86 -0
  268. package/lib/es/components/editableContent/EditableContent.js +112 -0
  269. package/lib/es/components/expander/ExpanderList.d.ts +3 -3
  270. package/lib/es/components/expander/ExpanderPanel.d.ts +1 -1
  271. package/lib/es/components/fade/Fade.d.ts +1 -1
  272. package/lib/es/components/filepicker/FilePicker.d.ts +1 -1
  273. package/lib/es/components/listMenu/ListMenu.d.ts +1 -1
  274. package/lib/es/components/loadMore/LoadMoreButton.d.ts +31 -3
  275. package/lib/es/components/loadMore/LoadMoreProgress.d.ts +1 -1
  276. package/lib/es/components/map/components/Map.d.ts +1 -1
  277. package/lib/es/components/map/components/features/MapSettings.d.ts +1 -1
  278. package/lib/es/components/map/components/features/Route.d.ts +1 -1
  279. package/lib/es/components/map/components/features/basics/MapLayerGroup.d.ts +1 -1
  280. package/lib/es/components/map/components/features/basics/marker/TextMarker.d.ts +1 -1
  281. package/lib/es/components/map/components/features/layers/IncidentsLayer.d.ts +1 -1
  282. package/lib/es/components/map/components/features/layers/MarkerLayer.d.ts +1 -1
  283. package/lib/es/components/map/components/features/layers/RoadRestrictionLayer.d.ts +1 -1
  284. package/lib/es/components/map/components/features/layers/TrafficLayer.d.ts +1 -1
  285. package/lib/es/components/map/components/features/layers/clustering/SimpleClusterLayer.d.ts +1 -1
  286. package/lib/es/components/map/components/features/settings/MapSettingsItem.d.ts +1 -1
  287. package/lib/es/components/map/components/features/settings/MapSettingsPanel.d.ts +1 -1
  288. package/lib/es/components/map/components/features/settings/MapSettingsTile.d.ts +1 -1
  289. package/lib/es/components/map/components/features/settings/ZoomButtons.d.ts +1 -1
  290. package/lib/es/components/map/components/features/settings/builtinSettings/MapClusterSettings.d.ts +1 -1
  291. package/lib/es/components/map/components/features/settings/builtinSettings/MapLayerSettings.d.ts +1 -1
  292. package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.d.ts +1 -1
  293. package/lib/es/components/map/components/features/settings/buttons/MapBoundingBoxButton.d.ts +1 -1
  294. package/lib/es/components/map/components/features/settings/buttons/MapCenterMarkerButton.d.ts +1 -1
  295. package/lib/es/components/map/components/features/settings/buttons/MapLockMarkerButton.d.ts +1 -1
  296. package/lib/es/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.d.ts +1 -1
  297. package/lib/es/components/map/components/features/settings/items/MapLayerIncidentsItem.d.ts +1 -1
  298. package/lib/es/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.d.ts +1 -1
  299. package/lib/es/components/map/components/features/settings/items/MapLayerTrafficItem.d.ts +1 -1
  300. package/lib/es/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.d.ts +1 -1
  301. package/lib/es/components/map/utils/eventHandling.d.ts +10 -10
  302. package/lib/es/components/map/utils/eventHandling.js +30 -30
  303. package/lib/es/components/mapMarker/ClusterMapMarker.d.ts +1 -1
  304. package/lib/es/components/mapMarker/SingleMapMarker.d.ts +1 -1
  305. package/lib/es/components/menuItems/MenuItem.d.ts +13 -24
  306. package/lib/es/components/menuItems/MenuItem.js +8 -23
  307. package/lib/es/components/navigation/AppNavigationBar.js +1 -1
  308. package/lib/es/components/noData/NoData.d.ts +27 -2
  309. package/lib/es/components/notification/NotificationsContainer.d.ts +1 -1
  310. package/lib/es/components/numberControl/NumberControl.d.ts +4 -2
  311. package/lib/es/components/numberControl/NumberControl.js +22 -34
  312. package/lib/es/components/numberInput/NumberInput.d.ts +76 -9
  313. package/lib/es/components/numberInput/NumberInput.js +80 -47
  314. package/lib/es/components/overlay/OverlayTrigger.d.ts +4 -16
  315. package/lib/es/components/overlay/OverlayTrigger.js +4 -2
  316. package/lib/es/components/pager/Pager.d.ts +52 -24
  317. package/lib/es/components/pager/Pager.js +10 -20
  318. package/lib/es/components/position/Position.d.ts +1 -1
  319. package/lib/es/components/radiobutton/RadioButton.d.ts +1 -1
  320. package/lib/es/components/radiobutton/RadioButton.js +3 -3
  321. package/lib/es/components/releaseNotes/ReleaseNotes.d.ts +34 -8
  322. package/lib/es/components/releaseNotes/ReleaseNotes.js +8 -18
  323. package/lib/es/components/resizer/Resizer.d.ts +57 -64
  324. package/lib/es/components/resizer/Resizer.js +109 -109
  325. package/lib/es/components/rules/RuleConnector.d.ts +1 -1
  326. package/lib/es/components/rules/RuleContainer.d.ts +1 -1
  327. package/lib/es/components/rules/RulesWrapper.d.ts +1 -1
  328. package/lib/es/components/saveableInput/SaveableInput.d.ts +34 -2
  329. package/lib/es/components/selects/BaseDropdownMenu.d.ts +2 -2
  330. package/lib/es/components/selects/DropdownHeader.d.ts +1 -1
  331. package/lib/es/components/selects/Multiselect.d.ts +7 -7
  332. package/lib/es/components/selects/Select.d.ts +7 -7
  333. package/lib/es/components/sidebars/Sidebar.d.ts +1 -1
  334. package/lib/es/components/slider/RangeSlider.d.ts +1 -1
  335. package/lib/es/components/slider/Slider.d.ts +1 -1
  336. package/lib/es/components/spinner/Spinner.d.ts +47 -27
  337. package/lib/es/components/spinner/Spinner.js +12 -31
  338. package/lib/es/components/states/CustomState.d.ts +1 -1
  339. package/lib/es/components/states/EmptyState.d.ts +1 -1
  340. package/lib/es/components/states/ErrorState.d.ts +1 -1
  341. package/lib/es/components/states/ForbiddenState.d.ts +1 -1
  342. package/lib/es/components/states/MaintenanceState.d.ts +1 -1
  343. package/lib/es/components/states/NotBookedState.d.ts +1 -1
  344. package/lib/es/components/states/NotFoundState.d.ts +1 -1
  345. package/lib/es/components/statsWidget/StatsWidget.d.ts +25 -21
  346. package/lib/es/components/statsWidget/StatsWidget.js +8 -16
  347. package/lib/es/components/statsWidget/StatsWidgetBody.d.ts +13 -12
  348. package/lib/es/components/statsWidget/StatsWidgetBody.js +6 -13
  349. package/lib/es/components/statsWidget/StatsWidgetFooter.d.ts +9 -2
  350. package/lib/es/components/statsWidget/StatsWidgetFooter.js +6 -5
  351. package/lib/es/components/statsWidget/StatsWidgetHeader.d.ts +8 -1
  352. package/lib/es/components/statsWidget/StatsWidgetHeader.js +5 -4
  353. package/lib/es/components/statsWidget/StatsWidgetNumber.d.ts +30 -20
  354. package/lib/es/components/statsWidget/StatsWidgetNumber.js +6 -19
  355. package/lib/es/components/statsWidget/StatsWidgetSpacer.d.ts +7 -1
  356. package/lib/es/components/statsWidget/StatsWidgetSpacer.js +4 -4
  357. package/lib/es/components/statsWidget/StatsWidgets.d.ts +8 -7
  358. package/lib/es/components/statsWidget/StatsWidgets.js +5 -8
  359. package/lib/es/components/statusBar/StatusBar.d.ts +32 -54
  360. package/lib/es/components/statusBar/StatusBar.js +51 -127
  361. package/lib/es/components/statusBar/StatusBar.types.d.ts +85 -0
  362. package/lib/es/components/statusBar/StatusBar.types.js +2 -0
  363. package/lib/es/components/statusBar/StatusBarConstants.d.ts +8 -0
  364. package/lib/es/components/statusBar/StatusBarConstants.js +16 -0
  365. package/lib/es/components/statusBar/StatusBarIcon.d.ts +7 -0
  366. package/lib/es/components/statusBar/StatusBarIcon.js +19 -0
  367. package/lib/es/components/statusBar/StatusBarLabel.d.ts +8 -0
  368. package/lib/es/components/statusBar/StatusBarLabel.js +23 -0
  369. package/lib/es/components/statusBar/StatusBarProgressBar.d.ts +8 -0
  370. package/lib/es/components/statusBar/StatusBarProgressBar.js +21 -0
  371. package/lib/es/components/steppedProgressBar/SteppedProgressBar.d.ts +1 -1
  372. package/lib/es/components/switch/Switch.d.ts +50 -28
  373. package/lib/es/components/switch/Switch.js +11 -27
  374. package/lib/es/components/table/SortArrows.d.ts +3 -3
  375. package/lib/es/components/table/TableCardsSorting.d.ts +1 -1
  376. package/lib/es/components/table/TableSearch.d.ts +1 -1
  377. package/lib/es/components/table/TableSettingsColumnButtons.d.ts +1 -1
  378. package/lib/es/components/table/TableSettingsColumnDetails.d.ts +1 -1
  379. package/lib/es/components/table/TableSettingsDialog.d.ts +4 -4
  380. package/lib/es/components/table/TableSettingsDialogFooter.d.ts +1 -1
  381. package/lib/es/components/table/TableSettingsListContainer.d.ts +1 -1
  382. package/lib/es/components/table/TableSettingsListItem.d.ts +1 -1
  383. package/lib/es/components/table/TableToolbar.d.ts +1 -1
  384. package/lib/es/components/table/TableViewToggles.d.ts +1 -1
  385. package/lib/es/components/tag/Tag.d.ts +1 -1
  386. package/lib/es/components/tag/TagList.d.ts +1 -1
  387. package/lib/es/components/tagManager/CustomSuggestionItem.d.ts +1 -1
  388. package/lib/es/components/tagManager/TagManager.d.ts +1 -1
  389. package/lib/es/components/tagManager/TagManagerItemList.d.ts +1 -1
  390. package/lib/es/components/teaser/Teaser.d.ts +8 -8
  391. package/lib/es/components/teaser/TeaserContainer.d.ts +1 -1
  392. package/lib/es/components/timepicker/TimePicker.d.ts +1 -1
  393. package/lib/es/components/tooltip/SimpleTooltip.d.ts +1 -1
  394. package/lib/es/components/video/ResponsiveVideo.d.ts +25 -5
  395. package/lib/es/components/video/ResponsiveVideo.js +4 -2
  396. package/lib/es/framer-motion.d.ts +1 -1
  397. package/lib/es/hooks/useEsc.d.ts +2 -1
  398. package/lib/es/hooks/useEsc.js +2 -2
  399. package/lib/es/hooks/useEvent.d.ts +2 -1
  400. package/lib/es/hooks/useEvent.js +9 -4
  401. package/lib/es/hooks/useFocusTrap.d.ts +16 -0
  402. package/lib/es/hooks/useFocusTrap.js +64 -0
  403. package/lib/es/hooks/useHover.d.ts +3 -0
  404. package/lib/es/hooks/useHover.js +31 -0
  405. package/lib/es/hooks/useKey.d.ts +3 -1
  406. package/lib/es/hooks/useKey.js +8 -4
  407. package/lib/es/hooks/usePrevious.d.ts +21 -1
  408. package/lib/es/hooks/usePrevious.js +30 -11
  409. package/lib/es/index.d.ts +35 -31
  410. package/lib/es/index.js +58 -35
  411. package/lib/es/types.d.ts +1 -239
  412. package/lib/es/types.js +1 -19
  413. package/lib/es/useAfterMount.d.ts +2 -4
  414. package/lib/es/useClickOutside.d.ts +2 -4
  415. package/lib/es/useClipboard.d.ts +2 -4
  416. package/lib/es/useDarkMode.d.ts +2 -4
  417. package/lib/es/useDebugInfo.d.ts +2 -4
  418. package/lib/es/useEffectOnce.d.ts +2 -4
  419. package/lib/es/useElementSize.d.ts +2 -4
  420. package/lib/es/useEsc.d.ts +1 -4
  421. package/lib/es/useEsc.js +5 -3
  422. package/lib/es/useEvent.d.ts +1 -4
  423. package/lib/es/useEvent.js +5 -3
  424. package/lib/es/useFocusTrap.d.ts +1 -0
  425. package/lib/es/useFocusTrap.js +8 -0
  426. package/lib/es/useFullscreen.d.ts +2 -4
  427. package/lib/es/useHover.d.ts +1 -0
  428. package/lib/es/useHover.js +8 -0
  429. package/lib/es/useInterval.d.ts +2 -4
  430. package/lib/es/useKey.d.ts +1 -4
  431. package/lib/es/useKey.js +5 -3
  432. package/lib/es/useLocalStorage.d.ts +2 -4
  433. package/lib/es/useMutationObserver.d.ts +2 -4
  434. package/lib/es/useOnScreen.d.ts +2 -4
  435. package/lib/es/useOnlineStatus.d.ts +2 -4
  436. package/lib/es/usePrevious.d.ts +2 -4
  437. package/lib/es/usePrevious.js +3 -2
  438. package/lib/es/useRenderCount.d.ts +2 -4
  439. package/lib/es/useResizeObserver.d.ts +2 -4
  440. package/lib/es/useScrollPosition.d.ts +2 -4
  441. package/lib/es/useSessionStorage.d.ts +2 -4
  442. package/lib/es/useStateWithValidation.d.ts +2 -4
  443. package/lib/es/useTimeout.d.ts +2 -4
  444. package/lib/es/useWindowResize.d.ts +2 -4
  445. package/lib/es/utils/buttonEffect.js +7 -2
  446. package/lib/es/utils/colorScheme.d.ts +1 -1
  447. package/lib/es/utils/darkModeCDN.d.ts +1 -1
  448. package/lib/es/utils/deviceUtils.d.ts +1 -0
  449. package/lib/es/utils/deviceUtils.js +3 -1
  450. package/lib/es/utils/getDropDirection.d.ts +2 -4
  451. package/lib/es/utils/getDropDirection.js +12 -8
  452. package/lib/es/utils/init.d.ts +2 -2
  453. package/lib/es/utils/init.js +29 -6
  454. package/lib/es/utils/logDeprecatedWarnings.d.ts +8 -2
  455. package/lib/es/utils/logDeprecatedWarnings.js +2 -3
  456. package/lib/es/utils/useDropDirection.d.ts +12 -0
  457. package/lib/es/utils/useDropDirection.js +26 -0
  458. package/lib/es/version.json +1 -1
  459. package/package.json +1 -1
  460. package/utils/buttonEffect.js +2 -1
  461. package/utils/deviceUtils.d.ts +1 -0
  462. package/utils/deviceUtils.js +1 -0
  463. package/version.json +1 -1
@@ -6,5 +6,5 @@ export type MobileHeaderModalProps = {
6
6
  onClose?: () => void;
7
7
  className?: string;
8
8
  };
9
- declare const MobileHeaderModal: (props: PropsWithChildren<MobileHeaderModalProps>) => JSX.Element;
9
+ declare const MobileHeaderModal: (props: PropsWithChildren<MobileHeaderModalProps>) => import("react/jsx-runtime").JSX.Element;
10
10
  export default MobileHeaderModal;
@@ -5,5 +5,5 @@ export type MobileSubmoduleNavigationProps = {
5
5
  navItems?: ModulePropType[];
6
6
  className?: string;
7
7
  };
8
- declare const MobileSubmoduleNavigation: (props: MobileSubmoduleNavigationProps) => JSX.Element;
8
+ declare const MobileSubmoduleNavigation: (props: MobileSubmoduleNavigationProps) => import("react/jsx-runtime").JSX.Element;
9
9
  export default MobileSubmoduleNavigation;
@@ -5,5 +5,5 @@ export type NavItemsProps = {
5
5
  containerWidth: number;
6
6
  actionBarItems?: React.ReactNode[];
7
7
  };
8
- export declare const NavItems: (props: NavItemsProps) => JSX.Element;
8
+ export declare const NavItems: (props: NavItemsProps) => import("react/jsx-runtime").JSX.Element;
9
9
  export default NavItems;
@@ -3,8 +3,14 @@ import ApplicationLayoutHeader from './ApplicationLayoutHeader';
3
3
  import ApplicationLayoutSidebar from './ApplicationLayoutSidebar';
4
4
  import ApplicationLayoutBody from './ApplicationLayoutBody';
5
5
  export type ApplicationLayoutProps = {
6
- className?: string;
6
+ /**
7
+ * A React ref function assigned to the wrapper element.
8
+ */
7
9
  layoutRef?: MutableRefObject<HTMLDivElement>;
10
+ /**
11
+ * Additional class names that are added to the respective component
12
+ */
13
+ className?: string;
8
14
  };
9
15
  type Props = PropsWithChildren<ApplicationLayoutProps>;
10
16
  type ApplicationLayoutType = ForwardRefExoticComponent<Props & RefAttributes<HTMLDivElement>> & {
@@ -1,13 +1,40 @@
1
1
  import React from 'react';
2
2
  export type ApplicationLayoutBodyProps = {
3
- className?: string;
4
- innerClassName?: string;
3
+ /**
4
+ * Show scroll to top button after scrolling the content.
5
+ * @default true
6
+ */
5
7
  enableScrollToTop?: boolean;
8
+ /**
9
+ * Always show vertical scrollbar to prevent the content from jumping.
10
+ * @default false
11
+ */
6
12
  forceScrollbar?: boolean;
13
+ /**
14
+ * The ApplicationLayoutBodyBanner component.
15
+ */
7
16
  banner?: React.ReactNode;
17
+ /**
18
+ * The `ApplicationLayoutBodyNavigation` component.
19
+ */
8
20
  navigation?: React.ReactNode;
21
+ /**
22
+ * Optional bottom bar component or a simple string.
23
+ */
9
24
  bottomBar?: React.ReactNode;
25
+ /**
26
+ * Height of the bottomBar in pixel.
27
+ * @default 54
28
+ */
10
29
  bottomBarHeight?: number;
30
+ /**
31
+ * Additional class names that are added to the inner module-content component.
32
+ */
33
+ innerClassName?: string;
34
+ /**
35
+ * Additional class names that are added to the respective component.
36
+ */
37
+ className?: string;
11
38
  };
12
39
  declare const ApplicationLayoutBody: React.ForwardRefExoticComponent<ApplicationLayoutBodyProps & {
13
40
  children?: React.ReactNode;
@@ -1,8 +1,23 @@
1
1
  import React from 'react';
2
2
  export type ApplicationLayoutBodyBannerProps = {
3
+ /**
4
+ * One of the `text-color` utility classes.
5
+ * @default `text-color-white`
6
+ */
3
7
  textColor?: string;
8
+ /**
9
+ * One of the `bg-color` utility classes.
10
+ * @default `bg-primary`
11
+ */
4
12
  backgroundColor?: string;
13
+ /**
14
+ * Allows sticky banner while scrolling.
15
+ * @default false
16
+ */
5
17
  isSticky?: boolean;
18
+ /**
19
+ * Additional class names that are added to the respective component.
20
+ */
6
21
  className?: string;
7
22
  };
8
23
  declare const ApplicationLayoutBodyBanner: React.ForwardRefExoticComponent<ApplicationLayoutBodyBannerProps & {
@@ -2,8 +2,23 @@ import { type PropsWithChildren, type ForwardRefExoticComponent, type RefAttribu
2
2
  type ButtonAlignmentLeft = 'left';
3
3
  type ButtonAlignmentRight = 'right';
4
4
  export type ApplicationLayoutBodyBottomBarProps = {
5
+ /**
6
+ * Additional class names that are added to the respective component
7
+ */
5
8
  className?: string;
9
+ /**
10
+ * Use same paddings (left and right) as the ApplicationLayoutBody.
11
+ * @default false
12
+ */
6
13
  useBodyPaddings?: boolean;
14
+ /**
15
+ * Tells the buttons if they are left or right aligned.
16
+ * Default behavior is: 1st button left and 2nd button right.
17
+ *
18
+ * Possible values are:
19
+ * `ApplicationLayoutBodyBottomBar.LEFT`, `ApplicationLayoutBodyBottomBar.RIGHT` or
20
+ * `left`, `right`
21
+ */
7
22
  buttonAlignment?: ButtonAlignmentLeft | ButtonAlignmentRight;
8
23
  };
9
24
  type Props = PropsWithChildren<ApplicationLayoutBodyBottomBarProps>;
@@ -1,5 +1,8 @@
1
1
  import React from 'react';
2
2
  export type ApplicationLayoutBodyNavigationProps = {
3
+ /**
4
+ * Additional class names that are added to the respective component. Example: `has-offset`.
5
+ */
3
6
  className?: string;
4
7
  };
5
8
  declare const ApplicationLayoutBodyNavigation: React.ForwardRefExoticComponent<ApplicationLayoutBodyNavigationProps & {
@@ -1,5 +1,8 @@
1
1
  import React from 'react';
2
2
  export type ApplicationLayoutHeaderProps = {
3
+ /**
4
+ * Additional class names that are added to the respective component.
5
+ */
3
6
  className?: string;
4
7
  };
5
8
  declare const ApplicationLayoutHeader: React.ForwardRefExoticComponent<ApplicationLayoutHeaderProps & {
@@ -1,5 +1,8 @@
1
1
  import React from 'react';
2
2
  export type ApplicationLayoutSidebarProps = {
3
+ /**
4
+ * Additional class names that are added to the respective component
5
+ */
3
6
  className?: string;
4
7
  };
5
8
  declare const ApplicationLayoutSidebar: React.ForwardRefExoticComponent<ApplicationLayoutSidebarProps & {
@@ -1,8 +1,11 @@
1
1
  import { type PropsWithChildren } from 'react';
2
2
  export type AspectRatioPlaceholderProps = {
3
+ /** Defines the aspect ratio width. @default 16 */
3
4
  height?: number;
5
+ /** Defines the aspect ratio height. @default 9 */
4
6
  width?: number;
7
+ /** Additional class names that are added to the wrapping element. */
5
8
  className?: string;
6
9
  };
7
- declare const AspectRatioPlaceholder: (props: AspectRatioPlaceholderProps & PropsWithChildren) => JSX.Element;
10
+ declare const AspectRatioPlaceholder: (props: AspectRatioPlaceholderProps & PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
8
11
  export default AspectRatioPlaceholder;
@@ -41,8 +41,7 @@ const SEARCH_DEBOUNCE = 100;
41
41
  const otherwise = stubTrue_1.default;
42
42
  const notEqual = (0, negate_1.default)(isEqual_1.default);
43
43
  const notEmpty = (0, negate_1.default)(isEmpty_1.default);
44
- const Divider = () => ((0, jsx_runtime_1.jsx)("div", { className: 'TreeSelectAllDivider bg-light width-2 height-15 ' +
45
- 'margin-top-2 margin-bottom-0 margin-left-10 margin-right-10' }));
44
+ const Divider = () => (0, jsx_runtime_1.jsx)("div", { className: 'TreeSelectDivider bg-light padding-left-1 height-10 margin-top-2 margin-x-10' });
46
45
  const isNameObject = item => (0, isObject_1.default)(item.name);
47
46
  const getFullName = item => `${item.name.firstName} ${item.name.lastName}`;
48
47
  const getName = item => (isNameObject(item) ? getFullName(item) : item.name);
@@ -1,5 +1,5 @@
1
1
  export default TreeLeafList;
2
- declare function TreeLeafList(props: any): JSX.Element[];
2
+ declare function TreeLeafList(props: any): import("react/jsx-runtime").JSX.Element[];
3
3
  declare namespace TreeLeafList {
4
4
  const displayName: string;
5
5
  namespace propTypes {
@@ -3,7 +3,7 @@ declare function TreeNodeContainer({ isOpen, groupId, children }: {
3
3
  isOpen: any;
4
4
  groupId: any;
5
5
  children: any;
6
- }): JSX.Element;
6
+ }): import("react/jsx-runtime").JSX.Element;
7
7
  declare namespace TreeNodeContainer {
8
8
  const displayName: string;
9
9
  namespace propTypes {
@@ -1,3 +1,3 @@
1
1
  export default TreeNothingFound;
2
- declare const TreeNothingFound: React.MemoExoticComponent<() => JSX.Element>;
2
+ declare const TreeNothingFound: React.MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
3
3
  import React from "react";
@@ -1,5 +1,5 @@
1
1
  export default TreeOption;
2
- declare function TreeOption(props: any): JSX.Element;
2
+ declare function TreeOption(props: any): import("react/jsx-runtime").JSX.Element;
3
3
  declare namespace TreeOption {
4
4
  const displayName: string;
5
5
  namespace defaultProps {
@@ -8,8 +8,8 @@ const classnames_1 = tslib_1.__importDefault(require("classnames"));
8
8
  const Switch_1 = tslib_1.__importDefault(require("../switch/Switch"));
9
9
  const TreeOption = props => {
10
10
  const { isChecked, className, label, onChange } = props, remainingProps = tslib_1.__rest(props, ["isChecked", "className", "label", "onChange"]);
11
- const optionClasses = (0, classnames_1.default)('TreeOption', 'display-flex', 'justify-content-start', 'cursor-pointer', className);
12
- return ((0, jsx_runtime_1.jsxs)("div", Object.assign({}, remainingProps, { className: optionClasses, onClick: onChange }, { children: [(0, jsx_runtime_1.jsx)("span", Object.assign({ className: 'pointer-events-none scale-80' }, { children: (0, jsx_runtime_1.jsx)(Switch_1.default, { keyName: 'TreeOption-switch', checked: isChecked }) })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: 'margin-left-5 padding-top-2' }, { children: label }))] })));
11
+ const optionClasses = (0, classnames_1.default)('TreeOption', 'display-flex', 'justify-content-start', 'align-items-center', 'gap-10', 'cursor-pointer', className);
12
+ return ((0, jsx_runtime_1.jsxs)("div", Object.assign({}, remainingProps, { className: optionClasses, onClick: onChange }, { children: [(0, jsx_runtime_1.jsx)("span", Object.assign({ className: 'flex-1-1' }, { children: label })), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: 'pointer-events-none scale-80' }, { children: (0, jsx_runtime_1.jsx)(Switch_1.default, { keyName: 'TreeOption-switch', checked: isChecked }) }))] })));
13
13
  };
14
14
  TreeOption.displayName = 'TreeOption';
15
15
  TreeOption.defaultProps = {
@@ -1,5 +1,5 @@
1
1
  export default TreeOptions;
2
- declare function TreeOptions(props: any): JSX.Element | null;
2
+ declare function TreeOptions(props: any): import("react/jsx-runtime").JSX.Element | null;
3
3
  declare namespace TreeOptions {
4
4
  const displayName: string;
5
5
  namespace defaultProps {
@@ -5,14 +5,14 @@ const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const react_1 = tslib_1.__importDefault(require("react"));
6
6
  const prop_types_1 = tslib_1.__importDefault(require("prop-types"));
7
7
  const classnames_1 = tslib_1.__importDefault(require("classnames"));
8
- const ButtonDropdown_1 = tslib_1.__importDefault(require("../dropdown/ButtonDropdown"));
9
8
  const lodash_1 = require("lodash");
9
+ const ButtonDropdown_1 = tslib_1.__importDefault(require("../dropdown/ButtonDropdown"));
10
10
  const TreeOptions = props => {
11
11
  const { treeOptions, className } = props;
12
12
  if ((0, lodash_1.isEmpty)(treeOptions)) {
13
13
  return null;
14
14
  }
15
- const dropdownClasses = (0, classnames_1.default)('width-250', 'padding-10', className);
15
+ const dropdownClasses = (0, classnames_1.default)('display-flex flex-column gap-10', 'width-250', 'padding-15', className);
16
16
  const customDropdown = (0, jsx_runtime_1.jsx)("div", Object.assign({ className: dropdownClasses }, { children: treeOptions }));
17
17
  return ((0, jsx_runtime_1.jsx)(ButtonDropdown_1.default, { title: (0, jsx_runtime_1.jsx)("span", { className: 'rioglyph rioglyph-option-vertical', "aria-hidden": 'true' }), bsStyle: 'muted', customDropdown: customDropdown, className: 'TreeHeaderOptions', pullRight: true, iconOnly: true }));
18
18
  };
@@ -2,7 +2,7 @@ export default TreeRoot;
2
2
  declare function TreeRoot({ maxHeight, children }: {
3
3
  maxHeight: any;
4
4
  children: any;
5
- }): JSX.Element;
5
+ }): import("react/jsx-runtime").JSX.Element;
6
6
  declare namespace TreeRoot {
7
7
  const displayName: string;
8
8
  namespace propTypes {
@@ -1,5 +1,5 @@
1
1
  export default TreeSelectAll;
2
- declare function TreeSelectAll(props: any): JSX.Element | null;
2
+ declare function TreeSelectAll(props: any): import("react/jsx-runtime").JSX.Element | null;
3
3
  declare namespace TreeSelectAll {
4
4
  const displayName: string;
5
5
  namespace defaultProps {
@@ -12,7 +12,7 @@ const DefaultAssetCounts = ({ assetCounts }) => {
12
12
  };
13
13
  const TreeSummary = react_1.default.memo(props => {
14
14
  const { className, assetCounts, children } = props;
15
- const classes = (0, classnames_1.default)('TreeSummary', 'display-flex', 'align-items-center', className);
15
+ const classes = (0, classnames_1.default)('TreeSummary', 'display-flex', 'flex-wrap', 'align-items-center', 'column-gap-15', 'row-gap-5', className);
16
16
  return (0, jsx_runtime_1.jsx)("div", Object.assign({ className: classes }, { children: children || (0, jsx_runtime_1.jsx)(DefaultAssetCounts, { assetCounts: assetCounts }) }));
17
17
  });
18
18
  TreeSummary.displayName = 'TreeSummary';
@@ -7,13 +7,13 @@ const prop_types_1 = tslib_1.__importDefault(require("prop-types"));
7
7
  const classnames_1 = tslib_1.__importDefault(require("classnames"));
8
8
  const TypeCounter = (0, react_1.forwardRef)((props, ref) => {
9
9
  const { icon, value, isActive, hasFilter, enableActivity, onClick, type, hideOnZero } = props, remainingProps = tslib_1.__rest(props, ["icon", "value", "isActive", "hasFilter", "enableActivity", "onClick", "type", "hideOnZero"]);
10
- const wrapperClassName = (0, classnames_1.default)('TypeCounter', 'display-flex align-items-center', 'user-select-none margin-right-15', enableActivity ? 'cursor-pointer' : 'pointer-events-none', enableActivity && hasFilter && !isActive && 'opacity-50');
10
+ const wrapperClassName = (0, classnames_1.default)('TypeCounter', 'display-flex align-items-center', 'user-select-none', enableActivity ? 'cursor-pointer' : 'pointer-events-none', enableActivity && hasFilter && !isActive && 'opacity-50');
11
11
  const counterClassNames = (0, classnames_1.default)('TreeLabelCount', 'label label-condensed', isActive ? 'label-primary' : 'label-muted label-filled');
12
12
  const handleClick = () => onClick(type);
13
13
  if (hideOnZero && !value) {
14
14
  return null;
15
15
  }
16
- return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ ref: ref }, remainingProps, { className: wrapperClassName, onClick: handleClick }, { children: [(0, jsx_runtime_1.jsx)("span", { className: `rioglyph rioglyph-${icon} text-size-16 margin-right-2` }), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: counterClassNames }, { children: value || 0 }))] })));
16
+ return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ ref: ref }, remainingProps, { className: wrapperClassName, onClick: handleClick }, { children: [(0, jsx_runtime_1.jsx)("span", { className: `rioglyph rioglyph-${icon} text-size-16 margin-right-2 margin-left--4` }), (0, jsx_runtime_1.jsx)("span", Object.assign({ className: counterClassNames }, { children: value || 0 }))] })));
17
17
  });
18
18
  TypeCounter.defaultProps = {
19
19
  hideOnZero: false,
@@ -1,115 +1,200 @@
1
- export class AutoSuggest extends React.Component<any, any, any> {
2
- constructor(props: any);
3
- state: {
4
- open: boolean;
5
- value: any;
6
- dropup: any;
7
- pullRight: any;
8
- highlightedItemIndex: number;
9
- };
10
- openMenu(): void;
11
- closeMenu(): void;
12
- setInputValue(newValue: any, event?: {}, shouldCloseMenu?: boolean): void;
13
- clearInputValue(event: any): void;
14
- handleKeyDown(event: any): void;
15
- handleInputChange(value: any, event: any): void;
16
- handleFocus(event: any): void;
17
- onMouseEnter(event: any): void;
18
- UNSAFE_componentWillMount(): void;
19
- componentDidUpdate(prevProps: any, prevState: any): void;
20
- getHighlightedSuggestion(): any;
21
- handleClickOutside(): void;
22
- isAutoDropActive(): boolean;
23
- getDropdownDOMNode(): Element | Text | null;
24
- getOptionNodes(): any;
25
- getFocusedOptionNode(): any;
26
- getInputNode(): HTMLInputElement;
27
- onSuggestionClicked(event: any, suggestion: any): void;
28
- wrapAddons(iconClass: any, leadingInputAddons: any, child: any, trailingInputAddons: any): JSX.Element;
29
- renderInput(): JSX.Element;
30
- renderLoadingIndicator(dropdownMenuClasses: any): JSX.Element;
31
- renderDropdownMenu(): JSX.Element | null;
32
- refDropdownMenu: HTMLUListElement | null | undefined;
33
- render(): JSX.Element;
34
- refComponent: HTMLDivElement | null | undefined;
35
- }
36
- export namespace AutoSuggest {
37
- namespace defaultProps {
38
- function onSuggestionSelected(): void;
39
- function onSuggestionsFetchRequested(): void;
40
- function renderSuggestion(suggestion: any): any;
41
- function getSuggestionValue(suggestion: any): any;
42
- const suggestions: never[];
43
- const autoDropDirection: boolean;
44
- const pullRight: boolean;
45
- const dropup: boolean;
46
- const isLoading: boolean;
47
- const openOnFocus: boolean;
48
- const closeOnSelect: boolean;
49
- const showSelectedItemsInInput: boolean;
50
- const autoComplete: string;
51
- namespace inputProps {
52
- const disabled: boolean;
53
- function onChange(): void;
54
- function onClear(): void;
55
- function onBlur(): void;
56
- function onFocus(): void;
57
- const placeholder: string;
58
- const hasError: boolean;
59
- const tabIndex: number;
60
- }
61
- }
62
- namespace propTypes {
63
- const onSuggestionSelected_1: PropTypes.Validator<(...args: any[]) => any>;
64
- export { onSuggestionSelected_1 as onSuggestionSelected };
65
- const onSuggestionsFetchRequested_1: PropTypes.Validator<(...args: any[]) => any>;
66
- export { onSuggestionsFetchRequested_1 as onSuggestionsFetchRequested };
67
- export const onSuggestionHighlighted: PropTypes.Requireable<(...args: any[]) => any>;
68
- const suggestions_1: PropTypes.Validator<any[]>;
69
- export { suggestions_1 as suggestions };
70
- const renderSuggestion_1: PropTypes.Requireable<(...args: any[]) => any>;
71
- export { renderSuggestion_1 as renderSuggestion };
72
- const getSuggestionValue_1: PropTypes.Requireable<(...args: any[]) => any>;
73
- export { getSuggestionValue_1 as getSuggestionValue };
74
- const dropup_1: PropTypes.Requireable<boolean>;
75
- export { dropup_1 as dropup };
76
- const pullRight_1: PropTypes.Requireable<boolean>;
77
- export { pullRight_1 as pullRight };
78
- const autoDropDirection_1: PropTypes.Requireable<boolean>;
79
- export { autoDropDirection_1 as autoDropDirection };
80
- export const className: PropTypes.Requireable<string>;
81
- export const dropdownClassName: PropTypes.Requireable<string>;
82
- const isLoading_1: PropTypes.Requireable<boolean>;
83
- export { isLoading_1 as isLoading };
84
- const openOnFocus_1: PropTypes.Requireable<boolean>;
85
- export { openOnFocus_1 as openOnFocus };
86
- const closeOnSelect_1: PropTypes.Requireable<boolean>;
87
- export { closeOnSelect_1 as closeOnSelect };
88
- const showSelectedItemsInInput_1: PropTypes.Requireable<boolean>;
89
- export { showSelectedItemsInInput_1 as showSelectedItemsInInput };
90
- const autoComplete_1: PropTypes.Requireable<string>;
91
- export { autoComplete_1 as autoComplete };
92
- export const noItemMessage: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
93
- const inputProps_1: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
94
- disabled: PropTypes.Requireable<boolean>;
95
- onChange: PropTypes.Requireable<(...args: any[]) => any>;
96
- onClear: PropTypes.Requireable<(...args: any[]) => any>;
97
- onFocus: PropTypes.Requireable<(...args: any[]) => any>;
98
- onBlur: PropTypes.Requireable<(...args: any[]) => any>;
99
- className: PropTypes.Requireable<string>;
100
- placeholder: PropTypes.Requireable<string>;
101
- icon: PropTypes.Requireable<string>;
102
- value: PropTypes.Requireable<string>;
103
- hasError: PropTypes.Requireable<boolean>;
104
- tabIndex: PropTypes.Requireable<number>;
105
- inputRef: PropTypes.Requireable<(...args: any[]) => any>;
106
- }>>>;
107
- export { inputProps_1 as inputProps };
108
- export const leadingInputAddons: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
109
- export const trailingInputAddons: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
110
- }
111
- }
112
- declare const _default: any;
113
- export default _default;
114
- import React from "react";
115
- import PropTypes from "prop-types";
1
+ import React from 'react';
2
+ export type AutoSuggestSuggestion = {
3
+ label: string;
4
+ disabled?: boolean;
5
+ [name: string]: string | React.ReactNode;
6
+ };
7
+ export type SelectedSuggestion = {
8
+ highlightedItemIndex: -1;
9
+ suggestionValue: string | React.ReactElement;
10
+ suggestion: AutoSuggestSuggestion;
11
+ };
12
+ export type AutoSuggestInputProps = {
13
+ /**
14
+ * The value to be set for the input. Using this prop the input can be controlled from the outside.
15
+ */
16
+ value?: string;
17
+ /**
18
+ * String that will be displayed inside the input when nothing is typed in.
19
+ * @default `Start typing ...`
20
+ */
21
+ placeholder?: string | React.ReactNode;
22
+ /**
23
+ * Icon class name that shall be used. If defined, the input element is wrapped in an input-group
24
+ * and the icon will be set in an input-addon. Example: `rioglyph-search`.
25
+ */
26
+ icon?: string;
27
+ /**
28
+ * Callback function which will be called when the input changes. __This is usually not needed__ as
29
+ * the "onSuggestionsFetchRequested" callback takes care of any input change. It is listed here
30
+ * for completeness and for certain edge cases.
31
+ *
32
+ * __Note:__ It might be removed in the future when not needed.'
33
+ * @deprecated please use `onSuggestionsFetchRequested` instead
34
+ * @param changeEvent
35
+ * @param changeProps
36
+ * @returns
37
+ */
38
+ onChange?: (changeEvent: React.SyntheticEvent, changeProps: {
39
+ newValue: string;
40
+ }) => void;
41
+ /**
42
+ * Callback function which gets triggered when the input gaines focus.
43
+ */
44
+ onFocus?: VoidFunction;
45
+ /**
46
+ * Callback function which gets triggered when the input looses the focus.
47
+ */
48
+ onBlur?: VoidFunction;
49
+ /**
50
+ * Callback function which will be called when the input is cleared. __This is usually not needed__ as
51
+ * the "onSuggestionsFetchRequested" callback takes care of any input change. It is listed here
52
+ * for completeness and for certain edge cases.
53
+ *
54
+ * __Note:__ It might be removed in the future when not needed.
55
+ */
56
+ onClear?: VoidFunction;
57
+ /**
58
+ * Boolean value that adds the class `has-error` to the input
59
+ * component. Use this for validation use cases. The Autosuggest component
60
+ * should be wrapped in a `form-group` element with the class `has-feedback`.
61
+ * @default false
62
+ */
63
+ hasError?: boolean;
64
+ /**
65
+ * Defines the tab index to be added to the input element.
66
+ * @default 0
67
+ */
68
+ tabIndex?: number;
69
+ /**
70
+ * Boolean value that disabled the input component.
71
+ * @default false
72
+ */
73
+ disabled?: boolean;
74
+ /**
75
+ * The React ref for the underlying input.
76
+ */
77
+ inputRef?: React.MutableRefObject<HTMLInputElement>;
78
+ /**
79
+ * Additional class names that are added to the input component.
80
+ */
81
+ className?: string;
82
+ };
83
+ export type AutoSuggestProps = {
84
+ /**
85
+ * Object to define properties for the input component. For the input, the ClearableInput
86
+ * component is used.
87
+ */
88
+ inputProps?: AutoSuggestInputProps;
89
+ /**
90
+ * Array of items which will be displayed. Items can be arbitrary objects as long as they
91
+ * have a label defined.
92
+ */
93
+ suggestions?: AutoSuggestSuggestion[];
94
+ /**
95
+ * Text that will be shown when there is not match found. If nothing is defined the dropdown-menu
96
+ * will not be rendered.
97
+ */
98
+ noItemMessage?: string | React.ReactNode;
99
+ /**
100
+ * Callback function which will be called every time you need to recalculate suggestions e.i.
101
+ * when the filter is updates after each input. It will also be called when the input is
102
+ * cleared. The value would be an empty string in this case.
103
+ * @param result
104
+ * @returns
105
+ */
106
+ onSuggestionsFetchRequested?: (result: {
107
+ value: string;
108
+ }) => void;
109
+ /**
110
+ * Callback function which will be called when a suggestion is selected from the dropdown menu.
111
+ * @param event
112
+ * @param selectedSuggestion
113
+ * @returns
114
+ */
115
+ onSuggestionSelected?: (event: React.MouseEvent<HTMLLIElement> | React.KeyboardEvent<HTMLDivElement>, selectedSuggestion: SelectedSuggestion) => void;
116
+ /**
117
+ * Callback function which will be called every time the highlighted selection changes.
118
+ * @param suggestion
119
+ * @returns
120
+ */
121
+ onSuggestionHighlighted?: (suggestion: AutoSuggestSuggestion | null) => void;
122
+ /**
123
+ * Function that returns a string which will be displayed inside the input.
124
+ * This is required when a custom render function for suggestions is provided.
125
+ * Overwrite this function to provide the value to be used for a suggestion.
126
+ * Default implementation is: `suggestion => suggestion.label`
127
+ *
128
+ * @param suggestion
129
+ * @returns
130
+ */
131
+ getSuggestionValue?: (suggestion: AutoSuggestSuggestion) => string;
132
+ /**
133
+ * Function that defines how suggestions are rendered on the dropdown-menu.
134
+ * Use this to customize the appearance for instance when you want to show an icon
135
+ * for a suggestion.
136
+ * Default implementation is: `suggestion => suggestion.label`
137
+ *
138
+ * @param suggestion
139
+ * @returns
140
+ */
141
+ renderSuggestion?: (suggestion: AutoSuggestSuggestion) => React.ReactNode;
142
+ /**
143
+ * Boolean that disabled autoDropDirection and opens the dropdown-menu be above the toggle.
144
+ * @default false
145
+ */
146
+ dropup?: boolean;
147
+ /**
148
+ * Defines whether the dropdown opens right aligned or not.
149
+ * Set to true additionally disables autoDrop feature.
150
+ * @default false
151
+ */
152
+ pullRight?: boolean;
153
+ /**
154
+ * Boolean that enables autoDrop feature.
155
+ * @default true
156
+ */
157
+ autoDropDirection?: boolean;
158
+ /**
159
+ * Shows a loading spinner instead of the items if set to true.
160
+ * @default false
161
+ */
162
+ isLoading?: boolean;
163
+ /**
164
+ * Boolean that enables opening the dropdown menu when gaining focus.
165
+ * @default false
166
+ */
167
+ openOnFocus?: boolean;
168
+ /**
169
+ * Boolean that enables the selection of an item to close the dropdown or not.
170
+ * @default true
171
+ */
172
+ closeOnSelect?: boolean;
173
+ /**
174
+ * Defines whether or not a selected item is shown in the input after it was selected.
175
+ * @default true
176
+ */
177
+ showSelectedItemsInInput?: boolean;
178
+ /**
179
+ * Sets autocomplete value for autosuggest forms.
180
+ */
181
+ autoComplete?: string;
182
+ /**
183
+ * Adds a list of input-addons elements in front of the input.
184
+ */
185
+ leadingInputAddons?: React.ReactNode[];
186
+ /**
187
+ * Adds a list of input-addons elements after the input.
188
+ */
189
+ trailingInputAddons?: React.ReactNode[];
190
+ /**
191
+ * Additional class names that are added to the dropdown element.
192
+ */
193
+ dropdownClassName?: string;
194
+ /**
195
+ * Additional class names that are added to the wrapping element.
196
+ */
197
+ className?: string;
198
+ };
199
+ export declare const AutoSuggest: (props: AutoSuggestProps) => import("react/jsx-runtime").JSX.Element;
200
+ export default AutoSuggest;