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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2012) hide show
  1. package/ActionBarItem.d.ts +2 -21
  2. package/ActionBarItem.js +2 -2
  3. package/ActionBarItemList.d.ts +2 -5
  4. package/ActionBarItemList.js +2 -2
  5. package/ActionBarItemListItem.d.ts +2 -5
  6. package/ActionBarItemListItem.js +2 -2
  7. package/ActionBarItemListSeparator.d.ts +2 -5
  8. package/ActionBarItemListSeparator.js +2 -2
  9. package/Activity.d.ts +2 -11
  10. package/Activity.js +2 -2
  11. package/AnimatedNumber.d.ts +2 -5
  12. package/AnimatedNumber.js +2 -2
  13. package/AppNavigationBar.js +1 -1
  14. package/ApplicationHeader.d.ts +2 -5
  15. package/ApplicationHeader.js +2 -2
  16. package/ApplicationLayout.d.ts +2 -15
  17. package/ApplicationLayout.js +2 -2
  18. package/ApplicationLayoutBodyBanner.d.ts +2 -5
  19. package/ApplicationLayoutBodyBanner.js +2 -2
  20. package/ApplicationLayoutBodyBottomBar.d.ts +2 -5
  21. package/ApplicationLayoutBodyBottomBar.js +2 -2
  22. package/ApplicationLayoutBodyNavigation.d.ts +2 -5
  23. package/ApplicationLayoutBodyNavigation.js +2 -2
  24. package/Area.js +1 -1
  25. package/AreaChart.js +1 -1
  26. package/AreaGradient.js +1 -1
  27. package/AspectRatioPlaceholder.d.ts +2 -5
  28. package/AspectRatioPlaceholder.js +2 -2
  29. package/AssetTree.js +1 -1
  30. package/AutoSuggest.js +1 -1
  31. package/Bar.js +1 -1
  32. package/BarChart.js +1 -1
  33. package/BottomSheet.d.ts +2 -5
  34. package/BottomSheet.js +2 -2
  35. package/BrowserWarning.js +1 -1
  36. package/Button.js +1 -1
  37. package/ButtonDropdown.js +1 -1
  38. package/CalendarStripe.js +1 -1
  39. package/Carousel.js +1 -1
  40. package/ChartNeedle.js +1 -1
  41. package/ChartTooltip.js +1 -1
  42. package/Checkbox.js +1 -1
  43. package/Circle.js +1 -1
  44. package/ClearableInput.js +1 -1
  45. package/ClusterLayer.js +1 -1
  46. package/ClusterMapMarker.js +1 -1
  47. package/ClusterUtils.js +1 -1
  48. package/Collapse.js +1 -1
  49. package/ColorScheme.js +1 -1
  50. package/Colors.js +1 -1
  51. package/ConfirmationDialog.js +1 -1
  52. package/ContentLoader.js +1 -1
  53. package/ContextMenu.js +1 -1
  54. package/ContextMenuItem.js +1 -1
  55. package/CustomState.js +1 -1
  56. package/DataTab.js +1 -1
  57. package/DataTabs.js +1 -1
  58. package/DatePicker.js +1 -1
  59. package/DateRangePicker.js +1 -1
  60. package/DeviceUtils.js +2 -2
  61. package/Dialog.js +1 -1
  62. package/DomMarker.js +1 -1
  63. package/DropdownSubmenu.js +1 -1
  64. package/EmptyState.js +1 -1
  65. package/ErrorState.js +1 -1
  66. package/EventUtils.js +1 -1
  67. package/ExpanderList.js +1 -1
  68. package/ExpanderPanel.js +1 -1
  69. package/Fade.js +1 -1
  70. package/FilePicker.js +1 -1
  71. package/ForbiddenState.js +1 -1
  72. package/GroupSelectionUtil.d.ts +2 -0
  73. package/GroupSelectionUtil.js +1 -1
  74. package/ImagePreloader.js +1 -1
  75. package/IncidentsLayer.js +1 -1
  76. package/InfoDialog.js +1 -1
  77. package/Legend.js +1 -1
  78. package/Line.js +1 -1
  79. package/LineChart.js +1 -1
  80. package/ListMenu.js +1 -1
  81. package/LoadMoreButton.d.ts +2 -5
  82. package/LoadMoreButton.js +2 -2
  83. package/MaintenanceState.js +1 -1
  84. package/Map.js +1 -1
  85. package/MapBoundingBoxButton.js +1 -1
  86. package/MapCenterMarkerButton.js +1 -1
  87. package/MapClusterSettings.js +1 -1
  88. package/MapCustomerPoiSettingsItem.js +1 -1
  89. package/MapLayerGroup.js +1 -1
  90. package/MapLayerIncidentsItem.js +1 -1
  91. package/MapLayerRoadRestrictionsItem.js +1 -1
  92. package/MapLayerSettings.js +1 -1
  93. package/MapLayerTrafficItem.js +1 -1
  94. package/MapLockMarkerButton.js +1 -1
  95. package/MapSettings.js +1 -1
  96. package/MapSettingsItem.js +1 -1
  97. package/MapSettingsPanel.js +1 -1
  98. package/MapSettingsTile.js +1 -1
  99. package/MapTypeSettings.js +1 -1
  100. package/MapWorkshopPoiSettingsItem.js +1 -1
  101. package/Marker.js +1 -1
  102. package/MarkerLayer.js +1 -1
  103. package/MediaDialog.js +1 -1
  104. package/MenuItem.js +1 -1
  105. package/Multiselect.js +1 -1
  106. package/NoData.d.ts +2 -5
  107. package/NoData.js +2 -2
  108. package/NotBookedState.js +1 -1
  109. package/NotFoundState.js +1 -1
  110. package/Notification.js +1 -1
  111. package/NotificationsContainer.js +1 -1
  112. package/NumberControl.js +1 -1
  113. package/NumberInput.js +1 -1
  114. package/OnboardingTip.js +1 -1
  115. package/OverlayTrigger.d.ts +2 -29
  116. package/OverlayTrigger.js +2 -2
  117. package/Pager.js +1 -1
  118. package/PieChart.js +1 -1
  119. package/Polygon.js +1 -1
  120. package/Polyline.js +1 -1
  121. package/Popover.js +1 -1
  122. package/Position.js +1 -1
  123. package/PositionUtils.js +1 -1
  124. package/RadialBarChart.js +1 -1
  125. package/RadioButton.js +1 -1
  126. package/RangeSlider.js +1 -1
  127. package/ReleaseNotes.js +1 -1
  128. package/ReleaseNotesDialog.js +1 -1
  129. package/Resizer.js +1 -1
  130. package/ResponsiveColumnStripe.js +1 -1
  131. package/ResponsiveVideo.d.ts +2 -8
  132. package/ResponsiveVideo.js +2 -2
  133. package/Route.js +1 -1
  134. package/RuleConnector.js +1 -1
  135. package/RuleContainer.js +1 -1
  136. package/RulesWrapper.js +1 -1
  137. package/SaveDialog.js +1 -1
  138. package/SaveableInput.d.ts +2 -0
  139. package/SaveableInput.js +2 -0
  140. package/Select.js +1 -1
  141. package/Sidebar.js +1 -1
  142. package/SimpleButtonDropdown.js +1 -1
  143. package/SimpleClusterLayer.js +1 -1
  144. package/SimpleDialog.js +1 -1
  145. package/SimpleTooltip.d.ts +2 -29
  146. package/SimpleTooltip.js +2 -2
  147. package/SingleButtonDropdown.js +1 -1
  148. package/SingleMapMarker.js +1 -1
  149. package/Slider.js +1 -1
  150. package/SortArrowDown.js +1 -1
  151. package/SortArrowUp.js +1 -1
  152. package/SortArrows.js +1 -1
  153. package/SortDirection.js +1 -1
  154. package/SortUtils.js +1 -1
  155. package/Spinner.js +1 -1
  156. package/SplitButtonDropdown.js +1 -1
  157. package/SplitDialog.js +1 -1
  158. package/StatsWidget.js +1 -1
  159. package/StatsWidgetNumber.js +1 -1
  160. package/StatsWidgetSpacer.js +1 -1
  161. package/StatsWidgets.js +1 -1
  162. package/StatusBar.js +1 -1
  163. package/SteppedProgressBar.js +1 -1
  164. package/SubNavigation.js +1 -1
  165. package/SupportMarker.d.ts +9 -0
  166. package/SupportMarker.js +5 -5
  167. package/Switch.js +1 -1
  168. package/TableCardsSorting.js +1 -1
  169. package/TableSearch.js +1 -1
  170. package/TableSettingsDialog.js +1 -1
  171. package/TableToolbar.js +1 -1
  172. package/TableViewToggles.js +1 -1
  173. package/Tag.js +1 -1
  174. package/TagList.js +1 -1
  175. package/TagManager.js +1 -1
  176. package/Teaser.js +1 -1
  177. package/TeaserContainer.js +1 -1
  178. package/TextMarker.js +1 -1
  179. package/TimePicker.js +1 -1
  180. package/ToggleButton.js +1 -1
  181. package/Tooltip.d.ts +2 -32
  182. package/Tooltip.js +2 -2
  183. package/TrafficLayer.js +1 -1
  184. package/Tree.js +1 -1
  185. package/TreeCategory.js +1 -1
  186. package/TreeOption.js +1 -1
  187. package/TreeSearch.js +1 -1
  188. package/TreeSummary.js +1 -1
  189. package/TruckLayer.js +1 -1
  190. package/TypeCounter.js +1 -1
  191. package/VolkswagenApplicationHeader.js +1 -1
  192. package/components/actionBarItem/ActionBarItem.d.ts +29 -0
  193. package/components/actionBarItem/ActionBarItem.js +105 -195
  194. package/components/actionBarItem/ActionBarItemIcon.d.ts +9 -0
  195. package/components/actionBarItem/ActionBarItemIcon.js +9 -17
  196. package/components/actionBarItem/ActionBarItemList.d.ts +9 -0
  197. package/components/actionBarItem/ActionBarItemList.js +9 -17
  198. package/components/actionBarItem/ActionBarItemListItem.d.ts +12 -0
  199. package/components/actionBarItem/ActionBarItemListItem.js +11 -30
  200. package/components/actionBarItem/ActionBarItemListSeparator.d.ts +8 -0
  201. package/components/actionBarItem/ActionBarItemListSeparator.js +8 -16
  202. package/components/actionBarItem/ActionBarItemPopoverContent.d.ts +11 -0
  203. package/components/actionBarItem/ActionBarItemPopoverContent.js +10 -20
  204. package/components/actionBarItem/ActionBarOverlay.d.ts +18 -0
  205. package/components/actionBarItem/ActionBarOverlay.js +15 -52
  206. package/components/activity/Activity.d.ts +27 -0
  207. package/components/activity/Activity.js +26 -53
  208. package/components/animatedNumber/AnimatedNumber.d.ts +13 -0
  209. package/components/animatedNumber/AnimatedNumber.js +17 -58
  210. package/components/applicationHeader/AppMenu.d.ts +11 -0
  211. package/components/applicationHeader/AppMenu.js +11 -56
  212. package/components/applicationHeader/AppMenuContent.d.ts +8 -0
  213. package/components/applicationHeader/AppMenuContent.js +16 -0
  214. package/components/applicationHeader/AppMenuDropdown.d.ts +8 -0
  215. package/components/applicationHeader/AppMenuDropdown.js +29 -69
  216. package/components/applicationHeader/ApplicationActionBar.d.ts +8 -0
  217. package/components/applicationHeader/ApplicationActionBar.js +11 -21
  218. package/components/applicationHeader/ApplicationHeader.d.ts +19 -0
  219. package/components/applicationHeader/ApplicationHeader.js +25 -105
  220. package/components/applicationHeader/CollapsedNavItem.d.ts +11 -0
  221. package/components/applicationHeader/CollapsedNavItem.js +14 -0
  222. package/components/applicationHeader/MobileAppMenu.d.ts +11 -0
  223. package/components/applicationHeader/MobileAppMenu.js +14 -52
  224. package/components/applicationHeader/MobileHeaderModal.d.ts +10 -0
  225. package/components/applicationHeader/MobileHeaderModal.js +12 -66
  226. package/components/applicationHeader/MobileSubmoduleNavigation.d.ts +9 -0
  227. package/components/applicationHeader/MobileSubmoduleNavigation.js +18 -59
  228. package/components/applicationHeader/NavItems.d.ts +9 -0
  229. package/components/applicationHeader/NavItems.js +116 -189
  230. package/components/applicationHeader/modulePropTypes.d.ts +6 -0
  231. package/components/applicationHeader/modulePropTypes.js +3 -3
  232. package/components/applicationLayout/ApplicationLayout.d.ts +16 -0
  233. package/components/applicationLayout/ApplicationLayout.js +10 -22
  234. package/components/applicationLayout/ApplicationLayoutBody.d.ts +15 -0
  235. package/components/applicationLayout/ApplicationLayoutBody.js +39 -86
  236. package/components/applicationLayout/ApplicationLayoutBodyBanner.d.ts +11 -0
  237. package/components/applicationLayout/ApplicationLayoutBodyBanner.js +10 -29
  238. package/components/applicationLayout/ApplicationLayoutBodyBottomBar.d.ts +15 -0
  239. package/components/applicationLayout/ApplicationLayoutBodyBottomBar.js +8 -26
  240. package/components/applicationLayout/ApplicationLayoutBodyNavigation.d.ts +8 -0
  241. package/components/applicationLayout/ApplicationLayoutBodyNavigation.js +8 -19
  242. package/components/applicationLayout/ApplicationLayoutHeader.d.ts +8 -0
  243. package/components/applicationLayout/ApplicationLayoutHeader.js +9 -17
  244. package/components/applicationLayout/ApplicationLayoutSidebar.d.ts +8 -0
  245. package/components/applicationLayout/ApplicationLayoutSidebar.js +8 -19
  246. package/components/applicationLayout/SubNavigation.d.ts +8 -0
  247. package/components/applicationLayout/SubNavigation.js +8 -35
  248. package/components/aspectRatioPlaceholder/AspectRatioPlaceholder.d.ts +8 -0
  249. package/components/aspectRatioPlaceholder/AspectRatioPlaceholder.js +7 -24
  250. package/components/assetTree/AssetTree.d.ts +3 -0
  251. package/components/assetTree/AssetTree.js +116 -182
  252. package/components/assetTree/Tree.d.ts +4 -0
  253. package/components/assetTree/Tree.js +372 -615
  254. package/components/assetTree/TreeCategory.d.ts +12 -0
  255. package/components/assetTree/TreeCategory.js +6 -8
  256. package/components/assetTree/TreeLeaf.d.ts +3 -0
  257. package/components/assetTree/TreeLeaf.js +12 -42
  258. package/components/assetTree/TreeLeafList.d.ts +14 -0
  259. package/components/assetTree/TreeLeafList.js +19 -38
  260. package/components/assetTree/TreeNode.d.ts +3 -0
  261. package/components/assetTree/TreeNode.js +17 -49
  262. package/components/assetTree/TreeNodeContainer.d.ts +13 -0
  263. package/components/assetTree/TreeNodeContainer.js +6 -11
  264. package/components/assetTree/TreeNothingFound.d.ts +3 -0
  265. package/components/assetTree/TreeNothingFound.js +7 -9
  266. package/components/assetTree/TreeOption.d.ts +18 -0
  267. package/components/assetTree/TreeOption.js +13 -28
  268. package/components/assetTree/TreeOptions.d.ts +14 -0
  269. package/components/assetTree/TreeOptions.js +13 -25
  270. package/components/assetTree/TreeRoot.d.ts +12 -0
  271. package/components/assetTree/TreeRoot.js +6 -12
  272. package/components/assetTree/TreeSearch.d.ts +3 -0
  273. package/components/assetTree/TreeSearch.js +11 -26
  274. package/components/assetTree/TreeSelectAll.d.ts +27 -0
  275. package/components/assetTree/TreeSelectAll.js +19 -32
  276. package/components/assetTree/TreeSidebar.d.ts +3 -0
  277. package/components/assetTree/TreeSidebar.js +32 -63
  278. package/components/assetTree/TreeSummary.d.ts +3 -0
  279. package/components/assetTree/TreeSummary.js +19 -51
  280. package/components/assetTree/TypeCounter.d.ts +3 -0
  281. package/components/assetTree/TypeCounter.js +24 -44
  282. package/components/autosuggest/AutoSuggest.d.ts +115 -0
  283. package/components/autosuggest/AutoSuggest.js +273 -428
  284. package/components/bottomSheet/BottomSheet.d.ts +19 -0
  285. package/components/bottomSheet/BottomSheet.js +45 -123
  286. package/components/browserWarning/BrowserIcons.d.ts +2 -0
  287. package/components/browserWarning/BrowserIcons.js +3 -59
  288. package/components/browserWarning/BrowserWarning.d.ts +15 -0
  289. package/components/browserWarning/BrowserWarning.js +35 -58
  290. package/components/browserWarning/BrowserWarningMessageDE.d.ts +4 -0
  291. package/components/browserWarning/BrowserWarningMessageDE.js +4 -33
  292. package/components/browserWarning/BrowserWarningMessageEN.d.ts +4 -0
  293. package/components/browserWarning/BrowserWarningMessageEN.js +4 -33
  294. package/components/button/Button.d.ts +57 -0
  295. package/components/button/Button.js +68 -86
  296. package/components/button/ToggleButton.d.ts +30 -0
  297. package/components/button/ToggleButton.js +3 -7
  298. package/components/calendarStripe/CalendarStripe.d.ts +3 -0
  299. package/components/calendarStripe/CalendarStripe.js +129 -198
  300. package/components/carousel/Carousel.d.ts +2 -0
  301. package/components/carousel/Carousel.js +1 -4
  302. package/components/carousel/CarouselCaption.d.ts +13 -0
  303. package/components/carousel/CarouselCaption.js +10 -34
  304. package/components/carousel/CarouselItem.d.ts +36 -0
  305. package/components/carousel/CarouselItem.js +69 -112
  306. package/components/charts/Area.d.ts +13 -0
  307. package/components/charts/Area.js +9 -11
  308. package/components/charts/AreaChart.d.ts +17 -0
  309. package/components/charts/AreaChart.js +33 -91
  310. package/components/charts/AreaGradient.d.ts +11 -0
  311. package/components/charts/AreaGradient.js +5 -23
  312. package/components/charts/Bar.d.ts +10 -0
  313. package/components/charts/Bar.js +6 -8
  314. package/components/charts/BarChart.d.ts +18 -0
  315. package/components/charts/BarChart.js +37 -92
  316. package/components/charts/ChartNeedle.d.ts +12 -0
  317. package/components/charts/ChartNeedle.js +14 -37
  318. package/components/charts/ChartTooltip.d.ts +5 -0
  319. package/components/charts/ChartTooltip.js +2 -4
  320. package/components/charts/Legend.d.ts +11 -0
  321. package/components/charts/Legend.js +7 -9
  322. package/components/charts/Line.d.ts +12 -0
  323. package/components/charts/Line.js +8 -10
  324. package/components/charts/LineChart.d.ts +16 -0
  325. package/components/charts/LineChart.js +25 -75
  326. package/components/charts/PieChart.d.ts +20 -0
  327. package/components/charts/PieChart.js +40 -97
  328. package/components/charts/RadialBarChart.d.ts +20 -0
  329. package/components/charts/RadialBarChart.js +33 -105
  330. package/components/charts/chartHelper.d.ts +5 -0
  331. package/components/charts/chartHelper.js +16 -24
  332. package/components/checkbox/Checkbox.d.ts +57 -0
  333. package/components/checkbox/Checkbox.js +87 -148
  334. package/components/clearableInput/ClearableInput.d.ts +59 -0
  335. package/components/clearableInput/ClearableInput.js +93 -159
  336. package/components/collapse/Collapse.d.ts +59 -0
  337. package/components/collapse/Collapse.js +125 -194
  338. package/components/contentLoader/ContentLoader.d.ts +33 -0
  339. package/components/contentLoader/ContentLoader.js +35 -70
  340. package/components/dataTabs/DataTab.d.ts +20 -0
  341. package/components/dataTabs/DataTab.js +21 -47
  342. package/components/dataTabs/DataTabs.d.ts +56 -0
  343. package/components/dataTabs/DataTabs.js +70 -132
  344. package/components/datepicker/DatePicker.d.ts +3 -0
  345. package/components/datepicker/DatePicker.js +37 -58
  346. package/components/datepicker/DateRangePicker.d.ts +208 -0
  347. package/components/datepicker/DateRangePicker.js +318 -583
  348. package/components/dialog/ConfirmationDialog.d.ts +25 -0
  349. package/components/dialog/ConfirmationDialog.js +20 -46
  350. package/components/dialog/Dialog.d.ts +42 -0
  351. package/components/dialog/Dialog.js +61 -125
  352. package/components/dialog/DialogBody.d.ts +16 -0
  353. package/components/dialog/DialogBody.js +9 -14
  354. package/components/dialog/DialogFooter.d.ts +16 -0
  355. package/components/dialog/DialogFooter.js +9 -14
  356. package/components/dialog/DialogHeader.d.ts +18 -0
  357. package/components/dialog/DialogHeader.js +13 -39
  358. package/components/dialog/InfoDialog.d.ts +18 -0
  359. package/components/dialog/InfoDialog.js +7 -18
  360. package/components/dialog/MediaDialog.d.ts +58 -0
  361. package/components/dialog/MediaDialog.js +84 -193
  362. package/components/dialog/ReleaseNotesDialog.d.ts +20 -0
  363. package/components/dialog/ReleaseNotesDialog.js +25 -46
  364. package/components/dialog/SaveDialog.d.ts +31 -0
  365. package/components/dialog/SaveDialog.js +13 -53
  366. package/components/dialog/SimpleDialog.d.ts +21 -0
  367. package/components/dialog/SimpleDialog.js +8 -20
  368. package/components/dialog/SplitDialog.d.ts +32 -0
  369. package/components/dialog/SplitDialog.js +16 -40
  370. package/components/dialog/baseDialogPropTypes.d.ts +14 -0
  371. package/components/dialog/baseDialogPropTypes.js +11 -11
  372. package/components/driverName/DriverName.d.ts +18 -0
  373. package/components/driverName/DriverName.js +12 -18
  374. package/components/dropdown/ButtonDropdown.d.ts +66 -0
  375. package/components/dropdown/ButtonDropdown.js +103 -165
  376. package/components/dropdown/Caret.d.ts +2 -0
  377. package/components/dropdown/Caret.js +3 -6
  378. package/components/dropdown/DropdownSubmenu.d.ts +19 -0
  379. package/components/dropdown/DropdownSubmenu.js +14 -27
  380. package/components/dropdown/DropdownToggleButton.d.ts +3 -0
  381. package/components/dropdown/DropdownToggleButton.js +12 -27
  382. package/components/dropdown/SimpleButtonDropdown.d.ts +2 -0
  383. package/components/dropdown/SimpleButtonDropdown.js +3 -7
  384. package/components/dropdown/SingleButtonDropdown.d.ts +2 -0
  385. package/components/dropdown/SingleButtonDropdown.js +3 -4
  386. package/components/dropdown/SplitButtonDropdown.d.ts +2 -0
  387. package/components/dropdown/SplitButtonDropdown.js +3 -7
  388. package/components/dropdown/SplitCaretButton.d.ts +3 -0
  389. package/components/dropdown/SplitCaretButton.js +10 -19
  390. package/components/dropdown/menuItemsPropTypes.d.ts +9 -0
  391. package/components/dropdown/menuItemsPropTypes.js +6 -6
  392. package/components/expander/ExpanderList.d.ts +39 -0
  393. package/components/expander/ExpanderList.js +77 -137
  394. package/components/expander/ExpanderPanel.d.ts +51 -0
  395. package/components/expander/ExpanderPanel.js +62 -99
  396. package/components/fade/Fade.d.ts +46 -0
  397. package/components/fade/Fade.js +140 -235
  398. package/components/filepicker/FilePicker.d.ts +30 -0
  399. package/components/filepicker/FilePicker.js +37 -66
  400. package/components/listMenu/ListMenu.d.ts +44 -0
  401. package/components/listMenu/ListMenu.js +104 -221
  402. package/components/loadMore/LoadMoreButton.d.ts +14 -0
  403. package/components/loadMore/LoadMoreButton.js +10 -48
  404. package/components/loadMore/LoadMoreProgress.d.ts +12 -0
  405. package/components/loadMore/LoadMoreProgress.js +16 -32
  406. package/components/map/components/Map.d.ts +99 -0
  407. package/components/map/components/Map.js +267 -408
  408. package/components/map/components/constants.d.ts +12 -0
  409. package/components/map/components/constants.js +12 -12
  410. package/components/map/components/context.d.ts +2 -0
  411. package/components/map/components/context.js +2 -2
  412. package/components/map/components/features/ContextMenu.d.ts +2 -0
  413. package/components/map/components/features/ContextMenu.js +104 -135
  414. package/components/map/components/features/ContextMenuItem.d.ts +28 -0
  415. package/components/map/components/features/ContextMenuItem.js +22 -24
  416. package/components/map/components/features/MapSettings.d.ts +22 -0
  417. package/components/map/components/features/MapSettings.js +48 -61
  418. package/components/map/components/features/Route.d.ts +48 -0
  419. package/components/map/components/features/Route.js +78 -148
  420. package/components/map/components/features/basics/Circle.d.ts +21 -0
  421. package/components/map/components/features/basics/Circle.js +29 -45
  422. package/components/map/components/features/basics/MapLayerGroup.d.ts +23 -0
  423. package/components/map/components/features/basics/MapLayerGroup.js +36 -57
  424. package/components/map/components/features/basics/Polygon.d.ts +17 -0
  425. package/components/map/components/features/basics/Polygon.js +34 -45
  426. package/components/map/components/features/basics/Polyline.d.ts +20 -0
  427. package/components/map/components/features/basics/Polyline.js +65 -92
  428. package/components/map/components/features/basics/marker/DomMarker.d.ts +33 -0
  429. package/components/map/components/features/basics/marker/DomMarker.js +37 -65
  430. package/components/map/components/features/basics/marker/Marker.d.ts +21 -0
  431. package/components/map/components/features/basics/marker/Marker.js +97 -115
  432. package/components/map/components/features/basics/marker/TextMarker.d.ts +17 -0
  433. package/components/map/components/features/basics/marker/TextMarker.js +19 -21
  434. package/components/map/components/features/layers/IncidentsLayer.d.ts +2 -0
  435. package/components/map/components/features/layers/IncidentsLayer.js +4 -8
  436. package/components/map/components/features/layers/Layer.d.ts +16 -0
  437. package/components/map/components/features/layers/Layer.js +19 -22
  438. package/components/map/components/features/layers/MarkerLayer.d.ts +14 -0
  439. package/components/map/components/features/layers/MarkerLayer.js +14 -28
  440. package/components/map/components/features/layers/RoadRestrictionLayer.d.ts +2 -0
  441. package/components/map/components/features/layers/RoadRestrictionLayer.js +14 -20
  442. package/components/map/components/features/layers/TrafficLayer.d.ts +2 -0
  443. package/components/map/components/features/layers/TrafficLayer.js +22 -28
  444. package/components/map/components/features/layers/baselayers/DefaultRasterLayer.d.ts +2 -0
  445. package/components/map/components/features/layers/baselayers/DefaultRasterLayer.js +13 -16
  446. package/components/map/components/features/layers/baselayers/DefaultVectorLayer.d.ts +2 -0
  447. package/components/map/components/features/layers/baselayers/DefaultVectorLayer.js +11 -12
  448. package/components/map/components/features/layers/baselayers/FleetStyleLayer.d.ts +2 -0
  449. package/components/map/components/features/layers/baselayers/FleetStyleLayer.js +12 -13
  450. package/components/map/components/features/layers/baselayers/NightLayer.d.ts +2 -0
  451. package/components/map/components/features/layers/baselayers/NightLayer.js +10 -13
  452. package/components/map/components/features/layers/baselayers/SatelliteLayer.d.ts +2 -0
  453. package/components/map/components/features/layers/baselayers/SatelliteLayer.js +12 -13
  454. package/components/map/components/features/layers/baselayers/TerrainLayer.d.ts +2 -0
  455. package/components/map/components/features/layers/baselayers/TerrainLayer.js +12 -13
  456. package/components/map/components/features/layers/baselayers/useBaseLayer.d.ts +2 -0
  457. package/components/map/components/features/layers/baselayers/useBaseLayer.js +32 -49
  458. package/components/map/components/features/layers/clustering/ClusterLayer.d.ts +29 -0
  459. package/components/map/components/features/layers/clustering/ClusterLayer.js +57 -78
  460. package/components/map/components/features/layers/clustering/SimpleClusterLayer.d.ts +10 -0
  461. package/components/map/components/features/layers/clustering/SimpleClusterLayer.js +8 -14
  462. package/components/map/components/features/settings/MapSettingsItem.d.ts +20 -0
  463. package/components/map/components/features/settings/MapSettingsItem.js +21 -25
  464. package/components/map/components/features/settings/MapSettingsPanel.d.ts +12 -0
  465. package/components/map/components/features/settings/MapSettingsPanel.js +11 -26
  466. package/components/map/components/features/settings/MapSettingsTile.d.ts +20 -0
  467. package/components/map/components/features/settings/MapSettingsTile.js +42 -72
  468. package/components/map/components/features/settings/ZoomButtons.d.ts +12 -0
  469. package/components/map/components/features/settings/ZoomButtons.js +7 -28
  470. package/components/map/components/features/settings/builtinSettings/MapClusterSettings.d.ts +19 -0
  471. package/components/map/components/features/settings/builtinSettings/MapClusterSettings.js +17 -57
  472. package/components/map/components/features/settings/builtinSettings/MapLayerSettings.d.ts +22 -0
  473. package/components/map/components/features/settings/builtinSettings/MapLayerSettings.js +19 -38
  474. package/components/map/components/features/settings/builtinSettings/MapTypeSettings.d.ts +17 -0
  475. package/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +36 -116
  476. package/components/map/components/features/settings/buttons/MapBoundingBoxButton.d.ts +14 -0
  477. package/components/map/components/features/settings/buttons/MapBoundingBoxButton.js +9 -24
  478. package/components/map/components/features/settings/buttons/MapCenterMarkerButton.d.ts +14 -0
  479. package/components/map/components/features/settings/buttons/MapCenterMarkerButton.js +9 -24
  480. package/components/map/components/features/settings/buttons/MapLockMarkerButton.d.ts +14 -0
  481. package/components/map/components/features/settings/buttons/MapLockMarkerButton.js +9 -24
  482. package/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.d.ts +16 -0
  483. package/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.js +11 -30
  484. package/components/map/components/features/settings/items/MapLayerIncidentsItem.d.ts +19 -0
  485. package/components/map/components/features/settings/items/MapLayerIncidentsItem.js +16 -30
  486. package/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.d.ts +19 -0
  487. package/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.js +16 -30
  488. package/components/map/components/features/settings/items/MapLayerTrafficItem.d.ts +19 -0
  489. package/components/map/components/features/settings/items/MapLayerTrafficItem.js +16 -30
  490. package/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.d.ts +16 -0
  491. package/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.js +11 -30
  492. package/components/map/components/mapUtils.d.ts +50 -0
  493. package/components/map/components/mapUtils.js +138 -183
  494. package/components/map/exceptions/MapException.d.ts +8 -0
  495. package/components/map/exceptions/MapException.js +4 -4
  496. package/components/map/herePolyfill.d.ts +0 -0
  497. package/components/map/herePolyfill.js +5 -4
  498. package/components/map/icons/MapIcon.d.ts +40 -0
  499. package/components/map/icons/MapIcon.js +79 -499
  500. package/components/map/utils/clustering.d.ts +9 -0
  501. package/components/map/utils/clustering.js +51 -56
  502. package/components/map/utils/eventHandling.d.ts +47 -0
  503. package/components/map/utils/eventHandling.js +105 -134
  504. package/components/map/utils/hooks.d.ts +2 -0
  505. package/components/map/utils/hooks.js +18 -19
  506. package/components/map/utils/localization.d.ts +2 -0
  507. package/components/map/utils/localization.js +399 -398
  508. package/components/map/utils/positions.d.ts +10 -0
  509. package/components/map/utils/positions.js +40 -41
  510. package/components/map/utils/proptypes.d.ts +47 -0
  511. package/components/map/utils/proptypes.js +42 -42
  512. package/components/map/utils/validation.d.ts +2 -0
  513. package/components/map/utils/validation.js +5 -7
  514. package/components/mapMarker/ClusterMapMarker.d.ts +26 -0
  515. package/components/mapMarker/ClusterMapMarker.js +38 -56
  516. package/components/mapMarker/SingleMapMarker.d.ts +29 -0
  517. package/components/mapMarker/SingleMapMarker.js +48 -78
  518. package/components/menuItems/MenuItem.d.ts +25 -0
  519. package/components/menuItems/MenuItem.js +37 -55
  520. package/components/menuItems/MenuItems.d.ts +3 -0
  521. package/components/menuItems/MenuItems.js +7 -15
  522. package/components/menuItems/getMenuItems.d.ts +2 -0
  523. package/components/menuItems/getMenuItems.js +4 -12
  524. package/components/navigation/AppNavigationBar.d.ts +3 -0
  525. package/components/navigation/AppNavigationBar.js +13 -31
  526. package/components/noData/NoData.d.ts +12 -0
  527. package/components/noData/NoData.js +13 -44
  528. package/components/notification/Notification.d.ts +1 -0
  529. package/components/notification/Notification.js +1 -3
  530. package/components/notification/NotificationsContainer.d.ts +14 -0
  531. package/components/notification/NotificationsContainer.js +7 -9
  532. package/components/numberControl/NumberControl.d.ts +3 -0
  533. package/components/numberControl/NumberControl.js +118 -191
  534. package/components/numberInput/NumberInput.d.ts +10 -0
  535. package/components/numberInput/NumberInput.js +111 -164
  536. package/components/onboarding/OnboardingTip.d.ts +63 -0
  537. package/components/onboarding/OnboardingTip.js +74 -91
  538. package/components/overlay/OverlayTrigger.d.ts +37 -0
  539. package/components/overlay/OverlayTrigger.js +31 -49
  540. package/components/pager/Pager.d.ts +25 -0
  541. package/components/pager/Pager.js +33 -76
  542. package/components/popover/Popover.d.ts +3 -0
  543. package/components/popover/Popover.js +11 -24
  544. package/components/position/Position.d.ts +10 -0
  545. package/components/position/Position.js +20 -22
  546. package/components/preloader/ImagePreloader.d.ts +22 -0
  547. package/components/preloader/ImagePreloader.js +41 -58
  548. package/components/radiobutton/RadioButton.d.ts +45 -0
  549. package/components/radiobutton/RadioButton.js +74 -128
  550. package/components/releaseNotes/ReleaseNotes.d.ts +9 -0
  551. package/components/releaseNotes/ReleaseNotes.js +15 -45
  552. package/components/resizer/Resizer.d.ts +65 -0
  553. package/components/resizer/Resizer.js +100 -150
  554. package/components/responsiveColumnStripe/ResponsiveColumnStripe.d.ts +3 -0
  555. package/components/responsiveColumnStripe/ResponsiveColumnStripe.js +149 -239
  556. package/components/rules/RuleConnector.d.ts +39 -0
  557. package/components/rules/RuleConnector.js +33 -65
  558. package/components/rules/RuleContainer.d.ts +28 -0
  559. package/components/rules/RuleContainer.js +30 -61
  560. package/components/rules/RulesWrapper.d.ts +8 -0
  561. package/components/rules/RulesWrapper.js +6 -13
  562. package/components/saveableInput/SaveableInput.d.ts +14 -0
  563. package/components/saveableInput/SaveableInput.js +90 -0
  564. package/components/selects/BaseDropdownMenu.d.ts +83 -0
  565. package/components/selects/BaseDropdownMenu.js +225 -347
  566. package/components/selects/DropdownHeader.d.ts +14 -0
  567. package/components/selects/DropdownHeader.js +9 -16
  568. package/components/selects/Multiselect.d.ts +98 -0
  569. package/components/selects/Multiselect.js +279 -453
  570. package/components/selects/Select.d.ts +97 -0
  571. package/components/selects/Select.js +244 -410
  572. package/components/sidebars/Sidebar.d.ts +112 -0
  573. package/components/sidebars/Sidebar.js +184 -333
  574. package/components/slider/RangeSlider.d.ts +33 -0
  575. package/components/slider/RangeSlider.js +113 -205
  576. package/components/slider/Slider.d.ts +38 -0
  577. package/components/slider/Slider.js +48 -88
  578. package/components/spinner/Spinner.d.ts +28 -0
  579. package/components/spinner/Spinner.js +32 -53
  580. package/components/states/CustomState.d.ts +15 -0
  581. package/components/states/CustomState.js +46 -106
  582. package/components/states/EmptyState.d.ts +9 -0
  583. package/components/states/EmptyState.js +4 -5
  584. package/components/states/ErrorState.d.ts +9 -0
  585. package/components/states/ErrorState.js +4 -5
  586. package/components/states/ForbiddenState.d.ts +9 -0
  587. package/components/states/ForbiddenState.js +4 -5
  588. package/components/states/MaintenanceState.d.ts +9 -0
  589. package/components/states/MaintenanceState.js +4 -5
  590. package/components/states/NotBookedState.d.ts +20 -0
  591. package/components/states/NotBookedState.js +18 -31
  592. package/components/states/NotFoundState.d.ts +9 -0
  593. package/components/states/NotFoundState.js +4 -5
  594. package/components/states/baseStatePropTypes.d.ts +26 -0
  595. package/components/states/baseStatePropTypes.js +25 -25
  596. package/components/statsWidget/StatsWidget.d.ts +22 -0
  597. package/components/statsWidget/StatsWidget.js +13 -25
  598. package/components/statsWidget/StatsWidgetBody.d.ts +13 -0
  599. package/components/statsWidget/StatsWidgetBody.js +10 -20
  600. package/components/statsWidget/StatsWidgetFooter.d.ts +2 -0
  601. package/components/statsWidget/StatsWidgetFooter.js +7 -12
  602. package/components/statsWidget/StatsWidgetHeader.d.ts +2 -0
  603. package/components/statsWidget/StatsWidgetHeader.js +7 -12
  604. package/components/statsWidget/StatsWidgetNumber.d.ts +21 -0
  605. package/components/statsWidget/StatsWidgetNumber.js +16 -32
  606. package/components/statsWidget/StatsWidgetSpacer.d.ts +2 -0
  607. package/components/statsWidget/StatsWidgetSpacer.js +7 -11
  608. package/components/statsWidget/StatsWidgets.d.ts +8 -0
  609. package/components/statsWidget/StatsWidgets.js +8 -13
  610. package/components/statusBar/StatusBar.d.ts +55 -0
  611. package/components/statusBar/StatusBar.js +120 -200
  612. package/components/steppedProgressBar/SteppedProgressBar.d.ts +35 -0
  613. package/components/steppedProgressBar/SteppedProgressBar.js +52 -71
  614. package/components/supportMarker/toggleSupportMarker.d.ts +3 -0
  615. package/components/supportMarker/toggleSupportMarker.js +24 -22
  616. package/components/switch/Switch.d.ts +29 -0
  617. package/components/switch/Switch.js +31 -67
  618. package/components/table/SortArrows.d.ts +5 -0
  619. package/components/table/SortArrows.js +4 -16
  620. package/components/table/TableCardsSorting.d.ts +37 -0
  621. package/components/table/TableCardsSorting.js +46 -93
  622. package/components/table/TableSearch.d.ts +9 -0
  623. package/components/table/TableSearch.js +7 -12
  624. package/components/table/TableSettingsColumnButtons.d.ts +28 -0
  625. package/components/table/TableSettingsColumnButtons.js +31 -60
  626. package/components/table/TableSettingsColumnDetails.d.ts +19 -0
  627. package/components/table/TableSettingsColumnDetails.js +23 -66
  628. package/components/table/TableSettingsDialog.d.ts +107 -0
  629. package/components/table/TableSettingsDialog.js +300 -493
  630. package/components/table/TableSettingsDialogFooter.d.ts +43 -0
  631. package/components/table/TableSettingsDialogFooter.js +30 -81
  632. package/components/table/TableSettingsListContainer.d.ts +9 -0
  633. package/components/table/TableSettingsListContainer.js +20 -45
  634. package/components/table/TableSettingsListItem.d.ts +27 -0
  635. package/components/table/TableSettingsListItem.js +48 -109
  636. package/components/table/TableToolbar.d.ts +12 -0
  637. package/components/table/TableToolbar.js +6 -9
  638. package/components/table/TableViewToggles.d.ts +30 -0
  639. package/components/table/TableViewToggles.js +69 -95
  640. package/components/table/tableSettingsPropTypes.d.ts +8 -0
  641. package/components/table/tableSettingsPropTypes.js +5 -5
  642. package/components/tag/Tag.d.ts +37 -0
  643. package/components/tag/Tag.js +27 -44
  644. package/components/tag/TagList.d.ts +17 -0
  645. package/components/tag/TagList.js +13 -22
  646. package/components/tagManager/CustomSuggestionItem.d.ts +13 -0
  647. package/components/tagManager/CustomSuggestionItem.js +8 -15
  648. package/components/tagManager/TagManager.d.ts +27 -0
  649. package/components/tagManager/TagManager.js +115 -174
  650. package/components/tagManager/TagManagerItemList.d.ts +14 -0
  651. package/components/tagManager/TagManagerItemList.js +14 -24
  652. package/components/teaser/Teaser.d.ts +51 -0
  653. package/components/teaser/Teaser.js +109 -182
  654. package/components/teaser/TeaserContainer.d.ts +13 -0
  655. package/components/teaser/TeaserContainer.js +37 -39
  656. package/components/timepicker/TimePicker.d.ts +27 -0
  657. package/components/timepicker/TimePicker.js +74 -119
  658. package/components/tooltip/SimpleTooltip.d.ts +21 -0
  659. package/components/tooltip/SimpleTooltip.js +14 -38
  660. package/components/tooltip/Tooltip.d.ts +32 -0
  661. package/components/tooltip/Tooltip.js +30 -80
  662. package/components/video/ResponsiveVideo.d.ts +13 -0
  663. package/components/video/ResponsiveVideo.js +7 -24
  664. package/framer-motion.js +1 -1
  665. package/hooks/useAfterMount.d.ts +1 -0
  666. package/hooks/useAfterMount.js +8 -8
  667. package/hooks/useClickOutside.d.ts +1 -0
  668. package/hooks/useClickOutside.js +15 -21
  669. package/hooks/useClipboard.d.ts +8 -0
  670. package/hooks/useClipboard.js +27 -48
  671. package/hooks/useDarkMode.d.ts +2 -0
  672. package/hooks/useDarkMode.js +20 -25
  673. package/hooks/useDebugInfo.d.ts +6 -0
  674. package/hooks/useDebugInfo.js +32 -35
  675. package/hooks/useEffectOnce.d.ts +1 -0
  676. package/hooks/useEffectOnce.js +2 -2
  677. package/hooks/useElementSize.d.ts +1 -0
  678. package/hooks/useElementSize.js +18 -37
  679. package/hooks/useEsc.d.ts +1 -0
  680. package/hooks/useEsc.js +2 -4
  681. package/hooks/useEvent.d.ts +1 -0
  682. package/hooks/useEvent.js +6 -10
  683. package/hooks/useFullscreen.d.ts +8 -0
  684. package/hooks/useFullscreen.js +101 -157
  685. package/hooks/useInterval.d.ts +1 -0
  686. package/hooks/useInterval.js +14 -20
  687. package/hooks/useKey.d.ts +1 -0
  688. package/hooks/useKey.js +8 -14
  689. package/hooks/useMutationObserver.d.ts +6 -0
  690. package/hooks/useMutationObserver.js +18 -35
  691. package/hooks/useOnMount.d.ts +1 -0
  692. package/hooks/useOnMount.js +8 -8
  693. package/hooks/useOnScreen.d.ts +3 -0
  694. package/hooks/useOnScreen.js +17 -28
  695. package/hooks/useOnlineStatus.d.ts +1 -0
  696. package/hooks/useOnlineStatus.js +5 -13
  697. package/hooks/usePrevious.d.ts +1 -0
  698. package/hooks/usePrevious.js +11 -16
  699. package/hooks/useRenderCount.d.ts +1 -0
  700. package/hooks/useRenderCount.js +6 -6
  701. package/hooks/useResizeObserver.d.ts +3 -0
  702. package/hooks/useResizeObserver.js +18 -35
  703. package/hooks/useScrollPosition.d.ts +2 -0
  704. package/hooks/useScrollPosition.js +53 -65
  705. package/hooks/useStateWithValidation.d.ts +1 -0
  706. package/hooks/useStateWithValidation.js +9 -18
  707. package/hooks/useStorage.d.ts +2 -0
  708. package/hooks/useStorage.js +23 -27
  709. package/hooks/useTimeout.d.ts +1 -0
  710. package/hooks/useTimeout.js +14 -20
  711. package/hooks/useWindowResize.d.ts +2 -0
  712. package/hooks/useWindowResize.js +9 -10
  713. package/index.d.ts +261 -275
  714. package/index.js +30 -22
  715. package/lib/es/ActionBarItem.d.ts +2 -21
  716. package/lib/es/ActionBarItem.js +6 -12
  717. package/lib/es/ActionBarItemList.d.ts +2 -5
  718. package/lib/es/ActionBarItemList.js +6 -12
  719. package/lib/es/ActionBarItemListItem.d.ts +2 -5
  720. package/lib/es/ActionBarItemListItem.js +6 -12
  721. package/lib/es/ActionBarItemListSeparator.d.ts +2 -5
  722. package/lib/es/ActionBarItemListSeparator.js +6 -12
  723. package/lib/es/Activity.d.ts +2 -11
  724. package/lib/es/Activity.js +6 -12
  725. package/lib/es/AnimatedNumber.d.ts +2 -5
  726. package/lib/es/AnimatedNumber.js +6 -12
  727. package/lib/es/AppNavigationBar.js +5 -12
  728. package/lib/es/ApplicationHeader.d.ts +2 -5
  729. package/lib/es/ApplicationHeader.js +6 -12
  730. package/lib/es/ApplicationLayout.d.ts +2 -15
  731. package/lib/es/ApplicationLayout.js +6 -12
  732. package/lib/es/ApplicationLayoutBodyBanner.d.ts +2 -5
  733. package/lib/es/ApplicationLayoutBodyBanner.js +6 -12
  734. package/lib/es/ApplicationLayoutBodyBottomBar.d.ts +2 -5
  735. package/lib/es/ApplicationLayoutBodyBottomBar.js +6 -12
  736. package/lib/es/ApplicationLayoutBodyNavigation.d.ts +2 -5
  737. package/lib/es/ApplicationLayoutBodyNavigation.js +6 -12
  738. package/lib/es/Area.js +5 -12
  739. package/lib/es/AreaChart.js +5 -12
  740. package/lib/es/AreaGradient.js +5 -12
  741. package/lib/es/AspectRatioPlaceholder.d.ts +2 -5
  742. package/lib/es/AspectRatioPlaceholder.js +6 -12
  743. package/lib/es/AssetTree.js +5 -12
  744. package/lib/es/AutoSuggest.js +5 -12
  745. package/lib/es/Bar.js +5 -12
  746. package/lib/es/BarChart.js +5 -12
  747. package/lib/es/BottomSheet.d.ts +2 -5
  748. package/lib/es/BottomSheet.js +6 -12
  749. package/lib/es/BrowserWarning.js +5 -12
  750. package/lib/es/Button.js +5 -12
  751. package/lib/es/ButtonDropdown.js +5 -12
  752. package/lib/es/CalendarStripe.js +5 -12
  753. package/lib/es/Carousel.js +5 -12
  754. package/lib/es/ChartNeedle.js +5 -12
  755. package/lib/es/ChartTooltip.js +5 -12
  756. package/lib/es/Checkbox.js +5 -12
  757. package/lib/es/Circle.js +5 -12
  758. package/lib/es/ClearableInput.js +5 -12
  759. package/lib/es/ClusterLayer.js +5 -12
  760. package/lib/es/ClusterMapMarker.js +5 -12
  761. package/lib/es/ClusterUtils.js +4 -11
  762. package/lib/es/Collapse.js +5 -12
  763. package/lib/es/ColorScheme.js +5 -17
  764. package/lib/es/Colors.js +5 -12
  765. package/lib/es/ConfirmationDialog.js +5 -12
  766. package/lib/es/ContentLoader.js +5 -12
  767. package/lib/es/ContextMenu.js +5 -12
  768. package/lib/es/ContextMenuItem.js +5 -12
  769. package/lib/es/CustomState.js +5 -12
  770. package/lib/es/DataTab.js +5 -12
  771. package/lib/es/DataTabs.js +5 -12
  772. package/lib/es/DatePicker.js +5 -12
  773. package/lib/es/DateRangePicker.js +5 -12
  774. package/lib/es/DeviceUtils.js +14 -71
  775. package/lib/es/Dialog.js +5 -12
  776. package/lib/es/DomMarker.js +5 -12
  777. package/lib/es/DropdownSubmenu.js +5 -12
  778. package/lib/es/EmptyState.js +5 -12
  779. package/lib/es/ErrorState.js +5 -12
  780. package/lib/es/EventUtils.js +4 -11
  781. package/lib/es/ExpanderList.js +5 -12
  782. package/lib/es/ExpanderPanel.js +5 -12
  783. package/lib/es/Fade.js +5 -12
  784. package/lib/es/FilePicker.js +5 -12
  785. package/lib/es/ForbiddenState.js +5 -12
  786. package/lib/es/GroupSelectionUtil.d.ts +2 -0
  787. package/lib/es/GroupSelectionUtil.js +4 -11
  788. package/lib/es/ImagePreloader.js +5 -12
  789. package/lib/es/IncidentsLayer.js +5 -12
  790. package/lib/es/InfoDialog.js +5 -12
  791. package/lib/es/Legend.js +5 -12
  792. package/lib/es/Line.js +5 -12
  793. package/lib/es/LineChart.js +5 -12
  794. package/lib/es/ListMenu.js +5 -12
  795. package/lib/es/LoadMoreButton.d.ts +2 -5
  796. package/lib/es/LoadMoreButton.js +6 -12
  797. package/lib/es/MaintenanceState.js +5 -12
  798. package/lib/es/Map.js +5 -12
  799. package/lib/es/MapBoundingBoxButton.js +5 -12
  800. package/lib/es/MapCenterMarkerButton.js +5 -12
  801. package/lib/es/MapClusterSettings.js +5 -12
  802. package/lib/es/MapCustomerPoiSettingsItem.js +5 -12
  803. package/lib/es/MapLayerGroup.js +5 -12
  804. package/lib/es/MapLayerIncidentsItem.js +5 -12
  805. package/lib/es/MapLayerRoadRestrictionsItem.js +5 -12
  806. package/lib/es/MapLayerSettings.js +5 -12
  807. package/lib/es/MapLayerTrafficItem.js +5 -12
  808. package/lib/es/MapLockMarkerButton.js +5 -12
  809. package/lib/es/MapSettings.js +5 -12
  810. package/lib/es/MapSettingsItem.js +5 -12
  811. package/lib/es/MapSettingsPanel.js +5 -12
  812. package/lib/es/MapSettingsTile.js +5 -12
  813. package/lib/es/MapTypeSettings.js +5 -12
  814. package/lib/es/MapWorkshopPoiSettingsItem.js +5 -12
  815. package/lib/es/Marker.js +5 -12
  816. package/lib/es/MarkerLayer.js +5 -12
  817. package/lib/es/MediaDialog.js +5 -12
  818. package/lib/es/MenuItem.js +5 -12
  819. package/lib/es/Multiselect.js +5 -12
  820. package/lib/es/NoData.d.ts +2 -5
  821. package/lib/es/NoData.js +6 -12
  822. package/lib/es/NotBookedState.js +5 -12
  823. package/lib/es/NotFoundState.js +5 -12
  824. package/lib/es/Notification.js +5 -12
  825. package/lib/es/NotificationsContainer.js +5 -12
  826. package/lib/es/NumberControl.js +5 -12
  827. package/lib/es/NumberInput.js +5 -12
  828. package/lib/es/OnboardingTip.js +5 -12
  829. package/lib/es/OverlayTrigger.d.ts +2 -29
  830. package/lib/es/OverlayTrigger.js +6 -12
  831. package/lib/es/Pager.js +5 -12
  832. package/lib/es/PieChart.js +5 -12
  833. package/lib/es/Polygon.js +5 -12
  834. package/lib/es/Polyline.js +5 -12
  835. package/lib/es/Popover.js +5 -12
  836. package/lib/es/Position.js +5 -12
  837. package/lib/es/PositionUtils.js +4 -11
  838. package/lib/es/RadialBarChart.js +5 -12
  839. package/lib/es/RadioButton.js +5 -12
  840. package/lib/es/RangeSlider.js +5 -12
  841. package/lib/es/ReleaseNotes.js +5 -12
  842. package/lib/es/ReleaseNotesDialog.js +5 -12
  843. package/lib/es/Resizer.js +5 -12
  844. package/lib/es/ResponsiveColumnStripe.js +5 -12
  845. package/lib/es/ResponsiveVideo.d.ts +2 -8
  846. package/lib/es/ResponsiveVideo.js +6 -12
  847. package/lib/es/Route.js +5 -12
  848. package/lib/es/RuleConnector.js +5 -12
  849. package/lib/es/RuleContainer.js +5 -12
  850. package/lib/es/RulesWrapper.js +5 -12
  851. package/lib/es/SaveDialog.js +5 -12
  852. package/lib/es/SaveableInput.d.ts +2 -0
  853. package/lib/es/SaveableInput.js +7 -0
  854. package/lib/es/Select.js +5 -12
  855. package/lib/es/Sidebar.js +5 -12
  856. package/lib/es/SimpleButtonDropdown.js +5 -12
  857. package/lib/es/SimpleClusterLayer.js +5 -12
  858. package/lib/es/SimpleDialog.js +5 -12
  859. package/lib/es/SimpleTooltip.d.ts +2 -29
  860. package/lib/es/SimpleTooltip.js +6 -12
  861. package/lib/es/SingleButtonDropdown.js +5 -12
  862. package/lib/es/SingleMapMarker.js +5 -12
  863. package/lib/es/Slider.js +5 -12
  864. package/lib/es/SortArrowDown.js +4 -11
  865. package/lib/es/SortArrowUp.js +4 -11
  866. package/lib/es/SortArrows.js +4 -11
  867. package/lib/es/SortDirection.js +4 -11
  868. package/lib/es/SortUtils.js +5 -17
  869. package/lib/es/Spinner.js +5 -12
  870. package/lib/es/SplitButtonDropdown.js +5 -12
  871. package/lib/es/SplitDialog.js +5 -12
  872. package/lib/es/StatsWidget.js +5 -12
  873. package/lib/es/StatsWidgetNumber.js +5 -12
  874. package/lib/es/StatsWidgetSpacer.js +5 -12
  875. package/lib/es/StatsWidgets.js +5 -12
  876. package/lib/es/StatusBar.js +5 -12
  877. package/lib/es/SteppedProgressBar.js +5 -12
  878. package/lib/es/SubNavigation.js +5 -12
  879. package/lib/es/SupportMarker.d.ts +9 -0
  880. package/lib/es/SupportMarker.js +6 -11
  881. package/lib/es/Switch.js +5 -12
  882. package/lib/es/TableCardsSorting.js +5 -12
  883. package/lib/es/TableSearch.js +5 -12
  884. package/lib/es/TableSettingsDialog.js +5 -12
  885. package/lib/es/TableToolbar.js +5 -12
  886. package/lib/es/TableViewToggles.js +5 -12
  887. package/lib/es/Tag.js +5 -12
  888. package/lib/es/TagList.js +5 -12
  889. package/lib/es/TagManager.js +5 -12
  890. package/lib/es/Teaser.js +5 -12
  891. package/lib/es/TeaserContainer.js +5 -12
  892. package/lib/es/TextMarker.js +5 -12
  893. package/lib/es/TimePicker.js +5 -12
  894. package/lib/es/ToggleButton.js +5 -12
  895. package/lib/es/Tooltip.d.ts +2 -32
  896. package/lib/es/Tooltip.js +6 -12
  897. package/lib/es/TrafficLayer.js +5 -12
  898. package/lib/es/Tree.js +5 -12
  899. package/lib/es/TreeCategory.js +5 -12
  900. package/lib/es/TreeOption.js +5 -12
  901. package/lib/es/TreeSearch.js +5 -12
  902. package/lib/es/TreeSummary.js +5 -12
  903. package/lib/es/TruckLayer.js +5 -12
  904. package/lib/es/TypeCounter.js +5 -12
  905. package/lib/es/VolkswagenApplicationHeader.js +5 -12
  906. package/lib/es/components/actionBarItem/ActionBarItem.d.ts +29 -0
  907. package/lib/es/components/actionBarItem/ActionBarItem.js +116 -216
  908. package/lib/es/components/actionBarItem/ActionBarItemIcon.d.ts +9 -0
  909. package/lib/es/components/actionBarItem/ActionBarItemIcon.js +11 -26
  910. package/lib/es/components/actionBarItem/ActionBarItemList.d.ts +9 -0
  911. package/lib/es/components/actionBarItem/ActionBarItemList.js +11 -26
  912. package/lib/es/components/actionBarItem/ActionBarItemListItem.d.ts +12 -0
  913. package/lib/es/components/actionBarItem/ActionBarItemListItem.js +13 -39
  914. package/lib/es/components/actionBarItem/ActionBarItemListSeparator.d.ts +8 -0
  915. package/lib/es/components/actionBarItem/ActionBarItemListSeparator.js +10 -25
  916. package/lib/es/components/actionBarItem/ActionBarItemPopoverContent.d.ts +11 -0
  917. package/lib/es/components/actionBarItem/ActionBarItemPopoverContent.js +13 -30
  918. package/lib/es/components/actionBarItem/ActionBarOverlay.d.ts +18 -0
  919. package/lib/es/components/actionBarItem/ActionBarOverlay.js +18 -62
  920. package/lib/es/components/activity/Activity.d.ts +27 -0
  921. package/lib/es/components/activity/Activity.js +28 -64
  922. package/lib/es/components/animatedNumber/AnimatedNumber.d.ts +13 -0
  923. package/lib/es/components/animatedNumber/AnimatedNumber.js +20 -70
  924. package/lib/es/components/applicationHeader/AppMenu.d.ts +11 -0
  925. package/lib/es/components/applicationHeader/AppMenu.js +14 -65
  926. package/lib/es/components/applicationHeader/AppMenuContent.d.ts +8 -0
  927. package/lib/es/components/applicationHeader/AppMenuContent.js +18 -0
  928. package/lib/es/components/applicationHeader/AppMenuDropdown.d.ts +8 -0
  929. package/lib/es/components/applicationHeader/AppMenuDropdown.js +36 -83
  930. package/lib/es/components/applicationHeader/ApplicationActionBar.d.ts +8 -0
  931. package/lib/es/components/applicationHeader/ApplicationActionBar.js +11 -27
  932. package/lib/es/components/applicationHeader/ApplicationHeader.d.ts +19 -0
  933. package/lib/es/components/applicationHeader/ApplicationHeader.js +33 -122
  934. package/lib/es/components/applicationHeader/CollapsedNavItem.d.ts +11 -0
  935. package/lib/es/components/applicationHeader/CollapsedNavItem.js +17 -0
  936. package/lib/es/components/applicationHeader/MobileAppMenu.d.ts +11 -0
  937. package/lib/es/components/applicationHeader/MobileAppMenu.js +18 -64
  938. package/lib/es/components/applicationHeader/MobileHeaderModal.d.ts +10 -0
  939. package/lib/es/components/applicationHeader/MobileHeaderModal.js +19 -78
  940. package/lib/es/components/applicationHeader/MobileSubmoduleNavigation.d.ts +9 -0
  941. package/lib/es/components/applicationHeader/MobileSubmoduleNavigation.js +23 -72
  942. package/lib/es/components/applicationHeader/NavItems.d.ts +9 -0
  943. package/lib/es/components/applicationHeader/NavItems.js +123 -203
  944. package/lib/es/components/applicationHeader/modulePropTypes.d.ts +6 -0
  945. package/lib/es/components/applicationHeader/modulePropTypes.js +6 -11
  946. package/lib/es/components/applicationLayout/ApplicationLayout.d.ts +16 -0
  947. package/lib/es/components/applicationLayout/ApplicationLayout.js +20 -40
  948. package/lib/es/components/applicationLayout/ApplicationLayoutBody.d.ts +15 -0
  949. package/lib/es/components/applicationLayout/ApplicationLayoutBody.js +42 -99
  950. package/lib/es/components/applicationLayout/ApplicationLayoutBodyBanner.d.ts +11 -0
  951. package/lib/es/components/applicationLayout/ApplicationLayoutBodyBanner.js +12 -41
  952. package/lib/es/components/applicationLayout/ApplicationLayoutBodyBottomBar.d.ts +15 -0
  953. package/lib/es/components/applicationLayout/ApplicationLayoutBodyBottomBar.js +10 -38
  954. package/lib/es/components/applicationLayout/ApplicationLayoutBodyNavigation.d.ts +8 -0
  955. package/lib/es/components/applicationLayout/ApplicationLayoutBodyNavigation.js +10 -31
  956. package/lib/es/components/applicationLayout/ApplicationLayoutHeader.d.ts +8 -0
  957. package/lib/es/components/applicationLayout/ApplicationLayoutHeader.js +12 -30
  958. package/lib/es/components/applicationLayout/ApplicationLayoutSidebar.d.ts +8 -0
  959. package/lib/es/components/applicationLayout/ApplicationLayoutSidebar.js +10 -31
  960. package/lib/es/components/applicationLayout/SubNavigation.d.ts +8 -0
  961. package/lib/es/components/applicationLayout/SubNavigation.js +10 -47
  962. package/lib/es/components/aspectRatioPlaceholder/AspectRatioPlaceholder.d.ts +8 -0
  963. package/lib/es/components/aspectRatioPlaceholder/AspectRatioPlaceholder.js +8 -31
  964. package/lib/es/components/assetTree/AssetTree.d.ts +3 -0
  965. package/lib/es/components/assetTree/AssetTree.js +125 -200
  966. package/lib/es/components/assetTree/Tree.d.ts +4 -0
  967. package/lib/es/components/assetTree/Tree.js +408 -658
  968. package/lib/es/components/assetTree/TreeCategory.d.ts +12 -0
  969. package/lib/es/components/assetTree/TreeCategory.js +9 -16
  970. package/lib/es/components/assetTree/TreeLeaf.d.ts +3 -0
  971. package/lib/es/components/assetTree/TreeLeaf.js +20 -55
  972. package/lib/es/components/assetTree/TreeLeafList.d.ts +14 -0
  973. package/lib/es/components/assetTree/TreeLeafList.js +26 -50
  974. package/lib/es/components/assetTree/TreeNode.d.ts +3 -0
  975. package/lib/es/components/assetTree/TreeNode.js +23 -60
  976. package/lib/es/components/assetTree/TreeNodeContainer.d.ts +13 -0
  977. package/lib/es/components/assetTree/TreeNodeContainer.js +11 -21
  978. package/lib/es/components/assetTree/TreeNothingFound.d.ts +3 -0
  979. package/lib/es/components/assetTree/TreeNothingFound.js +11 -18
  980. package/lib/es/components/assetTree/TreeOption.d.ts +18 -0
  981. package/lib/es/components/assetTree/TreeOption.js +18 -39
  982. package/lib/es/components/assetTree/TreeOptions.d.ts +14 -0
  983. package/lib/es/components/assetTree/TreeOptions.js +20 -37
  984. package/lib/es/components/assetTree/TreeRoot.d.ts +12 -0
  985. package/lib/es/components/assetTree/TreeRoot.js +11 -22
  986. package/lib/es/components/assetTree/TreeSearch.d.ts +3 -0
  987. package/lib/es/components/assetTree/TreeSearch.js +17 -37
  988. package/lib/es/components/assetTree/TreeSelectAll.d.ts +27 -0
  989. package/lib/es/components/assetTree/TreeSelectAll.js +24 -42
  990. package/lib/es/components/assetTree/TreeSidebar.d.ts +3 -0
  991. package/lib/es/components/assetTree/TreeSidebar.js +38 -75
  992. package/lib/es/components/assetTree/TreeSummary.d.ts +3 -0
  993. package/lib/es/components/assetTree/TreeSummary.js +25 -62
  994. package/lib/es/components/assetTree/TypeCounter.d.ts +3 -0
  995. package/lib/es/components/assetTree/TypeCounter.js +28 -57
  996. package/lib/es/components/autosuggest/AutoSuggest.d.ts +115 -0
  997. package/lib/es/components/autosuggest/AutoSuggest.js +289 -452
  998. package/lib/es/components/bottomSheet/BottomSheet.d.ts +19 -0
  999. package/lib/es/components/bottomSheet/BottomSheet.js +50 -137
  1000. package/lib/es/components/browserWarning/BrowserIcons.d.ts +2 -0
  1001. package/lib/es/components/browserWarning/BrowserIcons.js +7 -67
  1002. package/lib/es/components/browserWarning/BrowserWarning.d.ts +15 -0
  1003. package/lib/es/components/browserWarning/BrowserWarning.js +42 -73
  1004. package/lib/es/components/browserWarning/BrowserWarningMessageDE.d.ts +4 -0
  1005. package/lib/es/components/browserWarning/BrowserWarningMessageDE.js +8 -42
  1006. package/lib/es/components/browserWarning/BrowserWarningMessageEN.d.ts +4 -0
  1007. package/lib/es/components/browserWarning/BrowserWarningMessageEN.js +8 -42
  1008. package/lib/es/components/button/Button.d.ts +57 -0
  1009. package/lib/es/components/button/Button.js +73 -100
  1010. package/lib/es/components/button/ToggleButton.d.ts +30 -0
  1011. package/lib/es/components/button/ToggleButton.js +9 -18
  1012. package/lib/es/components/calendarStripe/CalendarStripe.d.ts +3 -0
  1013. package/lib/es/components/calendarStripe/CalendarStripe.js +138 -215
  1014. package/lib/es/components/carousel/Carousel.d.ts +2 -0
  1015. package/lib/es/components/carousel/Carousel.js +12 -13
  1016. package/lib/es/components/carousel/CarouselCaption.d.ts +13 -0
  1017. package/lib/es/components/carousel/CarouselCaption.js +14 -42
  1018. package/lib/es/components/carousel/CarouselItem.d.ts +36 -0
  1019. package/lib/es/components/carousel/CarouselItem.js +76 -123
  1020. package/lib/es/components/charts/Area.d.ts +13 -0
  1021. package/lib/es/components/charts/Area.js +10 -17
  1022. package/lib/es/components/charts/AreaChart.d.ts +17 -0
  1023. package/lib/es/components/charts/AreaChart.js +38 -102
  1024. package/lib/es/components/charts/AreaGradient.d.ts +11 -0
  1025. package/lib/es/components/charts/AreaGradient.js +9 -32
  1026. package/lib/es/components/charts/Bar.d.ts +10 -0
  1027. package/lib/es/components/charts/Bar.js +7 -14
  1028. package/lib/es/components/charts/BarChart.d.ts +18 -0
  1029. package/lib/es/components/charts/BarChart.js +41 -102
  1030. package/lib/es/components/charts/ChartNeedle.d.ts +12 -0
  1031. package/lib/es/components/charts/ChartNeedle.js +17 -44
  1032. package/lib/es/components/charts/ChartTooltip.d.ts +5 -0
  1033. package/lib/es/components/charts/ChartTooltip.js +3 -10
  1034. package/lib/es/components/charts/Legend.d.ts +11 -0
  1035. package/lib/es/components/charts/Legend.js +8 -15
  1036. package/lib/es/components/charts/Line.d.ts +12 -0
  1037. package/lib/es/components/charts/Line.js +9 -16
  1038. package/lib/es/components/charts/LineChart.d.ts +16 -0
  1039. package/lib/es/components/charts/LineChart.js +29 -84
  1040. package/lib/es/components/charts/PieChart.d.ts +20 -0
  1041. package/lib/es/components/charts/PieChart.js +46 -109
  1042. package/lib/es/components/charts/RadialBarChart.d.ts +20 -0
  1043. package/lib/es/components/charts/RadialBarChart.js +38 -116
  1044. package/lib/es/components/charts/chartHelper.d.ts +5 -0
  1045. package/lib/es/components/charts/chartHelper.js +21 -34
  1046. package/lib/es/components/checkbox/Checkbox.d.ts +57 -0
  1047. package/lib/es/components/checkbox/Checkbox.js +91 -161
  1048. package/lib/es/components/clearableInput/ClearableInput.d.ts +59 -0
  1049. package/lib/es/components/clearableInput/ClearableInput.js +101 -174
  1050. package/lib/es/components/collapse/Collapse.d.ts +59 -0
  1051. package/lib/es/components/collapse/Collapse.js +133 -209
  1052. package/lib/es/components/contentLoader/ContentLoader.d.ts +33 -0
  1053. package/lib/es/components/contentLoader/ContentLoader.js +41 -82
  1054. package/lib/es/components/dataTabs/DataTab.d.ts +20 -0
  1055. package/lib/es/components/dataTabs/DataTab.js +25 -57
  1056. package/lib/es/components/dataTabs/DataTabs.d.ts +56 -0
  1057. package/lib/es/components/dataTabs/DataTabs.js +75 -146
  1058. package/lib/es/components/datepicker/DatePicker.d.ts +3 -0
  1059. package/lib/es/components/datepicker/DatePicker.js +43 -71
  1060. package/lib/es/components/datepicker/DateRangePicker.d.ts +208 -0
  1061. package/lib/es/components/datepicker/DateRangePicker.js +335 -605
  1062. package/lib/es/components/dialog/ConfirmationDialog.d.ts +25 -0
  1063. package/lib/es/components/dialog/ConfirmationDialog.js +24 -55
  1064. package/lib/es/components/dialog/Dialog.d.ts +42 -0
  1065. package/lib/es/components/dialog/Dialog.js +75 -148
  1066. package/lib/es/components/dialog/DialogBody.d.ts +16 -0
  1067. package/lib/es/components/dialog/DialogBody.js +13 -24
  1068. package/lib/es/components/dialog/DialogFooter.d.ts +16 -0
  1069. package/lib/es/components/dialog/DialogFooter.js +13 -24
  1070. package/lib/es/components/dialog/DialogHeader.d.ts +18 -0
  1071. package/lib/es/components/dialog/DialogHeader.js +16 -48
  1072. package/lib/es/components/dialog/InfoDialog.d.ts +18 -0
  1073. package/lib/es/components/dialog/InfoDialog.js +13 -29
  1074. package/lib/es/components/dialog/MediaDialog.d.ts +58 -0
  1075. package/lib/es/components/dialog/MediaDialog.js +93 -210
  1076. package/lib/es/components/dialog/ReleaseNotesDialog.d.ts +20 -0
  1077. package/lib/es/components/dialog/ReleaseNotesDialog.js +31 -57
  1078. package/lib/es/components/dialog/SaveDialog.d.ts +31 -0
  1079. package/lib/es/components/dialog/SaveDialog.js +18 -63
  1080. package/lib/es/components/dialog/SimpleDialog.d.ts +21 -0
  1081. package/lib/es/components/dialog/SimpleDialog.js +14 -30
  1082. package/lib/es/components/dialog/SplitDialog.d.ts +32 -0
  1083. package/lib/es/components/dialog/SplitDialog.js +22 -52
  1084. package/lib/es/components/dialog/baseDialogPropTypes.d.ts +14 -0
  1085. package/lib/es/components/dialog/baseDialogPropTypes.js +14 -19
  1086. package/lib/es/components/driverName/DriverName.d.ts +18 -0
  1087. package/lib/es/components/driverName/DriverName.js +17 -28
  1088. package/lib/es/components/dropdown/ButtonDropdown.d.ts +66 -0
  1089. package/lib/es/components/dropdown/ButtonDropdown.js +120 -191
  1090. package/lib/es/components/dropdown/Caret.d.ts +2 -0
  1091. package/lib/es/components/dropdown/Caret.js +6 -14
  1092. package/lib/es/components/dropdown/DropdownSubmenu.d.ts +19 -0
  1093. package/lib/es/components/dropdown/DropdownSubmenu.js +21 -40
  1094. package/lib/es/components/dropdown/DropdownToggleButton.d.ts +3 -0
  1095. package/lib/es/components/dropdown/DropdownToggleButton.js +17 -38
  1096. package/lib/es/components/dropdown/SimpleButtonDropdown.d.ts +2 -0
  1097. package/lib/es/components/dropdown/SimpleButtonDropdown.js +7 -16
  1098. package/lib/es/components/dropdown/SingleButtonDropdown.d.ts +2 -0
  1099. package/lib/es/components/dropdown/SingleButtonDropdown.js +7 -13
  1100. package/lib/es/components/dropdown/SplitButtonDropdown.d.ts +2 -0
  1101. package/lib/es/components/dropdown/SplitButtonDropdown.js +7 -16
  1102. package/lib/es/components/dropdown/SplitCaretButton.d.ts +3 -0
  1103. package/lib/es/components/dropdown/SplitCaretButton.js +16 -31
  1104. package/lib/es/components/dropdown/menuItemsPropTypes.d.ts +9 -0
  1105. package/lib/es/components/dropdown/menuItemsPropTypes.js +9 -14
  1106. package/lib/es/components/expander/ExpanderList.d.ts +39 -0
  1107. package/lib/es/components/expander/ExpanderList.js +86 -152
  1108. package/lib/es/components/expander/ExpanderPanel.d.ts +51 -0
  1109. package/lib/es/components/expander/ExpanderPanel.js +67 -113
  1110. package/lib/es/components/fade/Fade.d.ts +46 -0
  1111. package/lib/es/components/fade/Fade.js +150 -253
  1112. package/lib/es/components/filepicker/FilePicker.d.ts +30 -0
  1113. package/lib/es/components/filepicker/FilePicker.js +42 -80
  1114. package/lib/es/components/listMenu/ListMenu.d.ts +44 -0
  1115. package/lib/es/components/listMenu/ListMenu.js +113 -237
  1116. package/lib/es/components/loadMore/LoadMoreButton.d.ts +14 -0
  1117. package/lib/es/components/loadMore/LoadMoreButton.js +14 -57
  1118. package/lib/es/components/loadMore/LoadMoreProgress.d.ts +12 -0
  1119. package/lib/es/components/loadMore/LoadMoreProgress.js +20 -40
  1120. package/lib/es/components/map/components/Map.d.ts +99 -0
  1121. package/lib/es/components/map/components/Map.js +302 -451
  1122. package/lib/es/components/map/components/constants.d.ts +12 -0
  1123. package/lib/es/components/map/components/constants.js +14 -29
  1124. package/lib/es/components/map/components/context.d.ts +2 -0
  1125. package/lib/es/components/map/components/context.js +4 -9
  1126. package/lib/es/components/map/components/features/ContextMenu.d.ts +2 -0
  1127. package/lib/es/components/map/components/features/ContextMenu.js +109 -146
  1128. package/lib/es/components/map/components/features/ContextMenuItem.d.ts +28 -0
  1129. package/lib/es/components/map/components/features/ContextMenuItem.js +25 -33
  1130. package/lib/es/components/map/components/features/MapSettings.d.ts +22 -0
  1131. package/lib/es/components/map/components/features/MapSettings.js +61 -82
  1132. package/lib/es/components/map/components/features/Route.d.ts +48 -0
  1133. package/lib/es/components/map/components/features/Route.js +90 -168
  1134. package/lib/es/components/map/components/features/basics/Circle.d.ts +21 -0
  1135. package/lib/es/components/map/components/features/basics/Circle.js +36 -58
  1136. package/lib/es/components/map/components/features/basics/MapLayerGroup.d.ts +23 -0
  1137. package/lib/es/components/map/components/features/basics/MapLayerGroup.js +42 -70
  1138. package/lib/es/components/map/components/features/basics/Polygon.d.ts +17 -0
  1139. package/lib/es/components/map/components/features/basics/Polygon.js +42 -59
  1140. package/lib/es/components/map/components/features/basics/Polyline.d.ts +20 -0
  1141. package/lib/es/components/map/components/features/basics/Polyline.js +75 -107
  1142. package/lib/es/components/map/components/features/basics/marker/DomMarker.d.ts +33 -0
  1143. package/lib/es/components/map/components/features/basics/marker/DomMarker.js +43 -74
  1144. package/lib/es/components/map/components/features/basics/marker/Marker.d.ts +21 -0
  1145. package/lib/es/components/map/components/features/basics/marker/Marker.js +108 -135
  1146. package/lib/es/components/map/components/features/basics/marker/TextMarker.d.ts +17 -0
  1147. package/lib/es/components/map/components/features/basics/marker/TextMarker.js +26 -35
  1148. package/lib/es/components/map/components/features/layers/IncidentsLayer.d.ts +2 -0
  1149. package/lib/es/components/map/components/features/layers/IncidentsLayer.js +8 -18
  1150. package/lib/es/components/map/components/features/layers/Layer.d.ts +16 -0
  1151. package/lib/es/components/map/components/features/layers/Layer.js +25 -33
  1152. package/lib/es/components/map/components/features/layers/MarkerLayer.d.ts +14 -0
  1153. package/lib/es/components/map/components/features/layers/MarkerLayer.js +22 -44
  1154. package/lib/es/components/map/components/features/layers/RoadRestrictionLayer.d.ts +2 -0
  1155. package/lib/es/components/map/components/features/layers/RoadRestrictionLayer.js +18 -30
  1156. package/lib/es/components/map/components/features/layers/TrafficLayer.d.ts +2 -0
  1157. package/lib/es/components/map/components/features/layers/TrafficLayer.js +26 -38
  1158. package/lib/es/components/map/components/features/layers/baselayers/DefaultRasterLayer.d.ts +2 -0
  1159. package/lib/es/components/map/components/features/layers/baselayers/DefaultRasterLayer.js +16 -23
  1160. package/lib/es/components/map/components/features/layers/baselayers/DefaultVectorLayer.d.ts +2 -0
  1161. package/lib/es/components/map/components/features/layers/baselayers/DefaultVectorLayer.js +14 -20
  1162. package/lib/es/components/map/components/features/layers/baselayers/FleetStyleLayer.d.ts +2 -0
  1163. package/lib/es/components/map/components/features/layers/baselayers/FleetStyleLayer.js +15 -21
  1164. package/lib/es/components/map/components/features/layers/baselayers/NightLayer.d.ts +2 -0
  1165. package/lib/es/components/map/components/features/layers/baselayers/NightLayer.js +13 -20
  1166. package/lib/es/components/map/components/features/layers/baselayers/SatelliteLayer.d.ts +2 -0
  1167. package/lib/es/components/map/components/features/layers/baselayers/SatelliteLayer.js +15 -21
  1168. package/lib/es/components/map/components/features/layers/baselayers/TerrainLayer.d.ts +2 -0
  1169. package/lib/es/components/map/components/features/layers/baselayers/TerrainLayer.js +15 -21
  1170. package/lib/es/components/map/components/features/layers/baselayers/useBaseLayer.d.ts +2 -0
  1171. package/lib/es/components/map/components/features/layers/baselayers/useBaseLayer.js +37 -57
  1172. package/lib/es/components/map/components/features/layers/clustering/ClusterLayer.d.ts +29 -0
  1173. package/lib/es/components/map/components/features/layers/clustering/ClusterLayer.js +64 -91
  1174. package/lib/es/components/map/components/features/layers/clustering/SimpleClusterLayer.d.ts +10 -0
  1175. package/lib/es/components/map/components/features/layers/clustering/SimpleClusterLayer.js +13 -25
  1176. package/lib/es/components/map/components/features/settings/MapSettingsItem.d.ts +20 -0
  1177. package/lib/es/components/map/components/features/settings/MapSettingsItem.js +27 -36
  1178. package/lib/es/components/map/components/features/settings/MapSettingsPanel.d.ts +12 -0
  1179. package/lib/es/components/map/components/features/settings/MapSettingsPanel.js +17 -37
  1180. package/lib/es/components/map/components/features/settings/MapSettingsTile.d.ts +20 -0
  1181. package/lib/es/components/map/components/features/settings/MapSettingsTile.js +51 -90
  1182. package/lib/es/components/map/components/features/settings/ZoomButtons.d.ts +12 -0
  1183. package/lib/es/components/map/components/features/settings/ZoomButtons.js +13 -39
  1184. package/lib/es/components/map/components/features/settings/builtinSettings/MapClusterSettings.d.ts +19 -0
  1185. package/lib/es/components/map/components/features/settings/builtinSettings/MapClusterSettings.js +23 -69
  1186. package/lib/es/components/map/components/features/settings/builtinSettings/MapLayerSettings.d.ts +22 -0
  1187. package/lib/es/components/map/components/features/settings/builtinSettings/MapLayerSettings.js +30 -55
  1188. package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.d.ts +17 -0
  1189. package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +42 -131
  1190. package/lib/es/components/map/components/features/settings/buttons/MapBoundingBoxButton.d.ts +14 -0
  1191. package/lib/es/components/map/components/features/settings/buttons/MapBoundingBoxButton.js +14 -35
  1192. package/lib/es/components/map/components/features/settings/buttons/MapCenterMarkerButton.d.ts +14 -0
  1193. package/lib/es/components/map/components/features/settings/buttons/MapCenterMarkerButton.js +14 -35
  1194. package/lib/es/components/map/components/features/settings/buttons/MapLockMarkerButton.d.ts +14 -0
  1195. package/lib/es/components/map/components/features/settings/buttons/MapLockMarkerButton.js +14 -35
  1196. package/lib/es/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.d.ts +16 -0
  1197. package/lib/es/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.js +16 -41
  1198. package/lib/es/components/map/components/features/settings/items/MapLayerIncidentsItem.d.ts +19 -0
  1199. package/lib/es/components/map/components/features/settings/items/MapLayerIncidentsItem.js +22 -42
  1200. package/lib/es/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.d.ts +19 -0
  1201. package/lib/es/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.js +22 -42
  1202. package/lib/es/components/map/components/features/settings/items/MapLayerTrafficItem.d.ts +19 -0
  1203. package/lib/es/components/map/components/features/settings/items/MapLayerTrafficItem.js +22 -42
  1204. package/lib/es/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.d.ts +16 -0
  1205. package/lib/es/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.js +16 -41
  1206. package/lib/es/components/map/components/mapUtils.d.ts +50 -0
  1207. package/lib/es/components/map/components/mapUtils.js +146 -192
  1208. package/lib/es/components/map/exceptions/MapException.d.ts +8 -0
  1209. package/lib/es/components/map/exceptions/MapException.js +6 -9
  1210. package/lib/es/components/map/herePolyfill.d.ts +0 -0
  1211. package/lib/es/components/map/herePolyfill.js +4 -5
  1212. package/lib/es/components/map/icons/MapIcon.d.ts +40 -0
  1213. package/lib/es/components/map/icons/MapIcon.js +83 -541
  1214. package/lib/es/components/map/utils/clustering.d.ts +9 -0
  1215. package/lib/es/components/map/utils/clustering.js +54 -64
  1216. package/lib/es/components/map/utils/eventHandling.d.ts +47 -0
  1217. package/lib/es/components/map/utils/eventHandling.js +114 -149
  1218. package/lib/es/components/map/utils/hooks.d.ts +2 -0
  1219. package/lib/es/components/map/utils/hooks.js +23 -27
  1220. package/lib/es/components/map/utils/localization.d.ts +2 -0
  1221. package/lib/es/components/map/utils/localization.js +403 -404
  1222. package/lib/es/components/map/utils/positions.d.ts +10 -0
  1223. package/lib/es/components/map/utils/positions.js +40 -45
  1224. package/lib/es/components/map/utils/proptypes.d.ts +47 -0
  1225. package/lib/es/components/map/utils/proptypes.js +45 -51
  1226. package/lib/es/components/map/utils/validation.d.ts +2 -0
  1227. package/lib/es/components/map/utils/validation.js +11 -16
  1228. package/lib/es/components/mapMarker/ClusterMapMarker.d.ts +26 -0
  1229. package/lib/es/components/mapMarker/ClusterMapMarker.js +43 -66
  1230. package/lib/es/components/mapMarker/SingleMapMarker.d.ts +29 -0
  1231. package/lib/es/components/mapMarker/SingleMapMarker.js +53 -88
  1232. package/lib/es/components/menuItems/MenuItem.d.ts +25 -0
  1233. package/lib/es/components/menuItems/MenuItem.js +44 -67
  1234. package/lib/es/components/menuItems/MenuItems.d.ts +3 -0
  1235. package/lib/es/components/menuItems/MenuItems.js +10 -24
  1236. package/lib/es/components/menuItems/getMenuItems.d.ts +2 -0
  1237. package/lib/es/components/menuItems/getMenuItems.js +8 -21
  1238. package/lib/es/components/navigation/AppNavigationBar.d.ts +3 -0
  1239. package/lib/es/components/navigation/AppNavigationBar.js +21 -48
  1240. package/lib/es/components/noData/NoData.d.ts +12 -0
  1241. package/lib/es/components/noData/NoData.js +16 -53
  1242. package/lib/es/components/notification/Notification.d.ts +1 -0
  1243. package/lib/es/components/notification/Notification.js +3 -8
  1244. package/lib/es/components/notification/NotificationsContainer.d.ts +14 -0
  1245. package/lib/es/components/notification/NotificationsContainer.js +13 -20
  1246. package/lib/es/components/numberControl/NumberControl.d.ts +3 -0
  1247. package/lib/es/components/numberControl/NumberControl.js +123 -205
  1248. package/lib/es/components/numberInput/NumberInput.d.ts +10 -0
  1249. package/lib/es/components/numberInput/NumberInput.js +117 -179
  1250. package/lib/es/components/onboarding/OnboardingTip.d.ts +63 -0
  1251. package/lib/es/components/onboarding/OnboardingTip.js +97 -118
  1252. package/lib/es/components/overlay/OverlayTrigger.d.ts +37 -0
  1253. package/lib/es/components/overlay/OverlayTrigger.js +32 -59
  1254. package/lib/es/components/pager/Pager.d.ts +25 -0
  1255. package/lib/es/components/pager/Pager.js +37 -89
  1256. package/lib/es/components/popover/Popover.d.ts +3 -0
  1257. package/lib/es/components/popover/Popover.js +21 -40
  1258. package/lib/es/components/position/Position.d.ts +10 -0
  1259. package/lib/es/components/position/Position.js +24 -31
  1260. package/lib/es/components/preloader/ImagePreloader.d.ts +22 -0
  1261. package/lib/es/components/preloader/ImagePreloader.js +45 -70
  1262. package/lib/es/components/radiobutton/RadioButton.d.ts +45 -0
  1263. package/lib/es/components/radiobutton/RadioButton.js +78 -141
  1264. package/lib/es/components/releaseNotes/ReleaseNotes.d.ts +9 -0
  1265. package/lib/es/components/releaseNotes/ReleaseNotes.js +22 -57
  1266. package/lib/es/components/resizer/Resizer.d.ts +65 -0
  1267. package/lib/es/components/resizer/Resizer.js +107 -165
  1268. package/lib/es/components/responsiveColumnStripe/ResponsiveColumnStripe.d.ts +3 -0
  1269. package/lib/es/components/responsiveColumnStripe/ResponsiveColumnStripe.js +160 -259
  1270. package/lib/es/components/rules/RuleConnector.d.ts +39 -0
  1271. package/lib/es/components/rules/RuleConnector.js +37 -75
  1272. package/lib/es/components/rules/RuleContainer.d.ts +28 -0
  1273. package/lib/es/components/rules/RuleContainer.js +36 -73
  1274. package/lib/es/components/rules/RulesWrapper.d.ts +8 -0
  1275. package/lib/es/components/rules/RulesWrapper.js +9 -22
  1276. package/lib/es/components/saveableInput/SaveableInput.d.ts +14 -0
  1277. package/lib/es/components/saveableInput/SaveableInput.js +92 -0
  1278. package/lib/es/components/selects/BaseDropdownMenu.d.ts +83 -0
  1279. package/lib/es/components/selects/BaseDropdownMenu.js +231 -358
  1280. package/lib/es/components/selects/DropdownHeader.d.ts +14 -0
  1281. package/lib/es/components/selects/DropdownHeader.js +13 -25
  1282. package/lib/es/components/selects/Multiselect.d.ts +98 -0
  1283. package/lib/es/components/selects/Multiselect.js +291 -472
  1284. package/lib/es/components/selects/Select.d.ts +97 -0
  1285. package/lib/es/components/selects/Select.js +258 -431
  1286. package/lib/es/components/sidebars/Sidebar.d.ts +112 -0
  1287. package/lib/es/components/sidebars/Sidebar.js +196 -352
  1288. package/lib/es/components/slider/RangeSlider.d.ts +33 -0
  1289. package/lib/es/components/slider/RangeSlider.js +117 -218
  1290. package/lib/es/components/slider/Slider.d.ts +38 -0
  1291. package/lib/es/components/slider/Slider.js +52 -101
  1292. package/lib/es/components/spinner/Spinner.d.ts +28 -0
  1293. package/lib/es/components/spinner/Spinner.js +38 -65
  1294. package/lib/es/components/states/CustomState.d.ts +15 -0
  1295. package/lib/es/components/states/CustomState.js +52 -118
  1296. package/lib/es/components/states/EmptyState.d.ts +9 -0
  1297. package/lib/es/components/states/EmptyState.js +10 -16
  1298. package/lib/es/components/states/ErrorState.d.ts +9 -0
  1299. package/lib/es/components/states/ErrorState.js +10 -16
  1300. package/lib/es/components/states/ForbiddenState.d.ts +9 -0
  1301. package/lib/es/components/states/ForbiddenState.js +10 -16
  1302. package/lib/es/components/states/MaintenanceState.d.ts +9 -0
  1303. package/lib/es/components/states/MaintenanceState.js +10 -16
  1304. package/lib/es/components/states/NotBookedState.d.ts +20 -0
  1305. package/lib/es/components/states/NotBookedState.js +24 -43
  1306. package/lib/es/components/states/NotFoundState.d.ts +9 -0
  1307. package/lib/es/components/states/NotFoundState.js +10 -16
  1308. package/lib/es/components/states/baseStatePropTypes.d.ts +26 -0
  1309. package/lib/es/components/states/baseStatePropTypes.js +28 -35
  1310. package/lib/es/components/statsWidget/StatsWidget.d.ts +22 -0
  1311. package/lib/es/components/statsWidget/StatsWidget.js +23 -41
  1312. package/lib/es/components/statsWidget/StatsWidgetBody.d.ts +13 -0
  1313. package/lib/es/components/statsWidget/StatsWidgetBody.js +14 -30
  1314. package/lib/es/components/statsWidget/StatsWidgetFooter.d.ts +2 -0
  1315. package/lib/es/components/statsWidget/StatsWidgetFooter.js +10 -21
  1316. package/lib/es/components/statsWidget/StatsWidgetHeader.d.ts +2 -0
  1317. package/lib/es/components/statsWidget/StatsWidgetHeader.js +10 -21
  1318. package/lib/es/components/statsWidget/StatsWidgetNumber.d.ts +21 -0
  1319. package/lib/es/components/statsWidget/StatsWidgetNumber.js +20 -42
  1320. package/lib/es/components/statsWidget/StatsWidgetSpacer.d.ts +2 -0
  1321. package/lib/es/components/statsWidget/StatsWidgetSpacer.js +10 -20
  1322. package/lib/es/components/statsWidget/StatsWidgets.d.ts +8 -0
  1323. package/lib/es/components/statsWidget/StatsWidgets.js +12 -23
  1324. package/lib/es/components/statusBar/StatusBar.d.ts +55 -0
  1325. package/lib/es/components/statusBar/StatusBar.js +126 -212
  1326. package/lib/es/components/steppedProgressBar/SteppedProgressBar.d.ts +35 -0
  1327. package/lib/es/components/steppedProgressBar/SteppedProgressBar.js +59 -86
  1328. package/lib/es/components/supportMarker/toggleSupportMarker.d.ts +3 -0
  1329. package/lib/es/components/supportMarker/toggleSupportMarker.js +26 -28
  1330. package/lib/es/components/switch/Switch.d.ts +29 -0
  1331. package/lib/es/components/switch/Switch.js +36 -78
  1332. package/lib/es/components/table/SortArrows.d.ts +5 -0
  1333. package/lib/es/components/table/SortArrows.js +10 -25
  1334. package/lib/es/components/table/TableCardsSorting.d.ts +37 -0
  1335. package/lib/es/components/table/TableCardsSorting.js +54 -109
  1336. package/lib/es/components/table/TableSearch.d.ts +9 -0
  1337. package/lib/es/components/table/TableSearch.js +13 -23
  1338. package/lib/es/components/table/TableSettingsColumnButtons.d.ts +28 -0
  1339. package/lib/es/components/table/TableSettingsColumnButtons.js +38 -70
  1340. package/lib/es/components/table/TableSettingsColumnDetails.d.ts +19 -0
  1341. package/lib/es/components/table/TableSettingsColumnDetails.js +31 -77
  1342. package/lib/es/components/table/TableSettingsDialog.d.ts +107 -0
  1343. package/lib/es/components/table/TableSettingsDialog.js +317 -518
  1344. package/lib/es/components/table/TableSettingsDialogFooter.d.ts +43 -0
  1345. package/lib/es/components/table/TableSettingsDialogFooter.js +37 -91
  1346. package/lib/es/components/table/TableSettingsListContainer.d.ts +9 -0
  1347. package/lib/es/components/table/TableSettingsListContainer.js +29 -61
  1348. package/lib/es/components/table/TableSettingsListItem.d.ts +27 -0
  1349. package/lib/es/components/table/TableSettingsListItem.js +62 -128
  1350. package/lib/es/components/table/TableToolbar.d.ts +12 -0
  1351. package/lib/es/components/table/TableToolbar.js +11 -19
  1352. package/lib/es/components/table/TableViewToggles.d.ts +30 -0
  1353. package/lib/es/components/table/TableViewToggles.js +75 -109
  1354. package/lib/es/components/table/tableSettingsPropTypes.d.ts +8 -0
  1355. package/lib/es/components/table/tableSettingsPropTypes.js +7 -11
  1356. package/lib/es/components/tag/Tag.d.ts +37 -0
  1357. package/lib/es/components/tag/Tag.js +31 -54
  1358. package/lib/es/components/tag/TagList.d.ts +17 -0
  1359. package/lib/es/components/tag/TagList.js +17 -32
  1360. package/lib/es/components/tagManager/CustomSuggestionItem.d.ts +13 -0
  1361. package/lib/es/components/tagManager/CustomSuggestionItem.js +13 -25
  1362. package/lib/es/components/tagManager/TagManager.d.ts +27 -0
  1363. package/lib/es/components/tagManager/TagManager.js +125 -193
  1364. package/lib/es/components/tagManager/TagManagerItemList.d.ts +14 -0
  1365. package/lib/es/components/tagManager/TagManagerItemList.js +21 -36
  1366. package/lib/es/components/teaser/Teaser.d.ts +51 -0
  1367. package/lib/es/components/teaser/Teaser.js +116 -197
  1368. package/lib/es/components/teaser/TeaserContainer.d.ts +13 -0
  1369. package/lib/es/components/teaser/TeaserContainer.js +42 -49
  1370. package/lib/es/components/timepicker/TimePicker.d.ts +27 -0
  1371. package/lib/es/components/timepicker/TimePicker.js +82 -136
  1372. package/lib/es/components/tooltip/SimpleTooltip.d.ts +21 -0
  1373. package/lib/es/components/tooltip/SimpleTooltip.js +16 -48
  1374. package/lib/es/components/tooltip/Tooltip.d.ts +32 -0
  1375. package/lib/es/components/tooltip/Tooltip.js +34 -91
  1376. package/lib/es/components/video/ResponsiveVideo.d.ts +13 -0
  1377. package/lib/es/components/video/ResponsiveVideo.js +10 -32
  1378. package/lib/es/framer-motion.js +3 -15
  1379. package/lib/es/hooks/useAfterMount.d.ts +1 -0
  1380. package/lib/es/hooks/useAfterMount.js +11 -14
  1381. package/lib/es/hooks/useClickOutside.d.ts +1 -0
  1382. package/lib/es/hooks/useClickOutside.js +18 -27
  1383. package/lib/es/hooks/useClipboard.d.ts +8 -0
  1384. package/lib/es/hooks/useClipboard.js +32 -56
  1385. package/lib/es/hooks/useDarkMode.d.ts +2 -0
  1386. package/lib/es/hooks/useDarkMode.js +25 -35
  1387. package/lib/es/hooks/useDebugInfo.d.ts +6 -0
  1388. package/lib/es/hooks/useDebugInfo.js +38 -43
  1389. package/lib/es/hooks/useEffectOnce.d.ts +1 -0
  1390. package/lib/es/hooks/useEffectOnce.js +5 -8
  1391. package/lib/es/hooks/useElementSize.d.ts +1 -0
  1392. package/lib/es/hooks/useElementSize.js +21 -44
  1393. package/lib/es/hooks/useEsc.d.ts +1 -0
  1394. package/lib/es/hooks/useEsc.js +6 -11
  1395. package/lib/es/hooks/useEvent.d.ts +1 -0
  1396. package/lib/es/hooks/useEvent.js +9 -16
  1397. package/lib/es/hooks/useFullscreen.d.ts +8 -0
  1398. package/lib/es/hooks/useFullscreen.js +105 -165
  1399. package/lib/es/hooks/useInterval.d.ts +1 -0
  1400. package/lib/es/hooks/useInterval.js +17 -25
  1401. package/lib/es/hooks/useKey.d.ts +1 -0
  1402. package/lib/es/hooks/useKey.js +11 -20
  1403. package/lib/es/hooks/useMutationObserver.d.ts +6 -0
  1404. package/lib/es/hooks/useMutationObserver.js +20 -43
  1405. package/lib/es/hooks/useOnMount.d.ts +1 -0
  1406. package/lib/es/hooks/useOnMount.js +11 -14
  1407. package/lib/es/hooks/useOnScreen.d.ts +3 -0
  1408. package/lib/es/hooks/useOnScreen.js +20 -36
  1409. package/lib/es/hooks/useOnlineStatus.d.ts +1 -0
  1410. package/lib/es/hooks/useOnlineStatus.js +10 -22
  1411. package/lib/es/hooks/usePrevious.d.ts +1 -0
  1412. package/lib/es/hooks/usePrevious.js +14 -23
  1413. package/lib/es/hooks/useRenderCount.d.ts +1 -0
  1414. package/lib/es/hooks/useRenderCount.js +9 -13
  1415. package/lib/es/hooks/useResizeObserver.d.ts +3 -0
  1416. package/lib/es/hooks/useResizeObserver.js +19 -42
  1417. package/lib/es/hooks/useScrollPosition.d.ts +2 -0
  1418. package/lib/es/hooks/useScrollPosition.js +55 -73
  1419. package/lib/es/hooks/useStateWithValidation.d.ts +1 -0
  1420. package/lib/es/hooks/useStateWithValidation.js +12 -25
  1421. package/lib/es/hooks/useStorage.d.ts +2 -0
  1422. package/lib/es/hooks/useStorage.js +28 -36
  1423. package/lib/es/hooks/useTimeout.d.ts +1 -0
  1424. package/lib/es/hooks/useTimeout.js +17 -25
  1425. package/lib/es/hooks/useWindowResize.d.ts +2 -0
  1426. package/lib/es/hooks/useWindowResize.js +13 -19
  1427. package/lib/es/index.d.ts +261 -275
  1428. package/lib/es/index.js +306 -1173
  1429. package/lib/es/mapIndex.d.ts +38 -0
  1430. package/lib/es/mapIndex.js +78 -264
  1431. package/lib/es/routeUtils.d.ts +5 -0
  1432. package/lib/es/routeUtils.js +7 -29
  1433. package/lib/es/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.d.ts +3 -0
  1434. package/lib/es/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +39 -87
  1435. package/lib/es/themes/Volkswagen/components/applicationHeader/modulePropTypes.d.ts +6 -0
  1436. package/lib/es/themes/Volkswagen/components/applicationHeader/modulePropTypes.js +6 -11
  1437. package/lib/es/types.d.ts +1664 -0
  1438. package/lib/es/types.js +40 -0
  1439. package/lib/es/useAfterMount.js +5 -12
  1440. package/lib/es/useClickOutside.js +5 -12
  1441. package/lib/es/useClipboard.js +5 -12
  1442. package/lib/es/useDarkMode.js +5 -12
  1443. package/lib/es/useDebugInfo.js +5 -12
  1444. package/lib/es/useEffectOnce.js +5 -12
  1445. package/lib/es/useElementSize.js +5 -12
  1446. package/lib/es/useEsc.js +5 -12
  1447. package/lib/es/useEvent.js +5 -12
  1448. package/lib/es/useFullscreen.js +5 -12
  1449. package/lib/es/useInterval.js +5 -12
  1450. package/lib/es/useKey.js +5 -12
  1451. package/lib/es/useLocalStorage.js +4 -11
  1452. package/lib/es/useMutationObserver.js +5 -12
  1453. package/lib/es/useOnMount.d.ts +2 -0
  1454. package/lib/es/useOnMount.js +5 -12
  1455. package/lib/es/useOnScreen.js +5 -12
  1456. package/lib/es/useOnlineStatus.js +5 -12
  1457. package/lib/es/usePrevious.js +5 -12
  1458. package/lib/es/useRenderCount.js +5 -12
  1459. package/lib/es/useResizeObserver.js +5 -12
  1460. package/lib/es/useScrollPosition.js +5 -12
  1461. package/lib/es/useSessionStorage.js +4 -11
  1462. package/lib/es/useStateWithValidation.js +5 -12
  1463. package/lib/es/useTimeout.js +5 -12
  1464. package/lib/es/useWindowResize.js +5 -12
  1465. package/lib/es/utils/GroupSelectionUtil.d.ts +1 -0
  1466. package/lib/es/utils/GroupSelectionUtil.js +80 -90
  1467. package/lib/es/utils/ObjectValues.d.ts +1 -0
  1468. package/lib/es/utils/ObjectValues.js +2 -0
  1469. package/lib/es/utils/RefComponent.d.ts +5 -0
  1470. package/lib/es/utils/RefComponent.js +2 -0
  1471. package/lib/es/utils/SortUtils.d.ts +6 -0
  1472. package/lib/es/utils/SortUtils.js +27 -39
  1473. package/lib/es/utils/addEventListener.d.ts +3 -0
  1474. package/lib/es/utils/addEventListener.js +13 -17
  1475. package/lib/es/utils/addFocusListener.d.ts +3 -0
  1476. package/lib/es/utils/addFocusListener.js +14 -22
  1477. package/lib/es/utils/arrayMove.d.ts +2 -0
  1478. package/lib/es/utils/arrayMove.js +10 -18
  1479. package/lib/es/utils/buttonEffect.d.ts +1 -0
  1480. package/lib/es/utils/buttonEffect.js +58 -59
  1481. package/lib/es/utils/colorScheme.d.ts +9 -0
  1482. package/lib/es/utils/colorScheme.js +52 -84
  1483. package/lib/es/utils/cssuseragent.d.ts +1 -0
  1484. package/lib/es/utils/cssuseragent.js +299 -301
  1485. package/lib/es/utils/darkModeCDN.d.ts +3 -0
  1486. package/lib/es/utils/darkModeCDN.js +35 -45
  1487. package/lib/es/utils/deviceUtils.d.ts +11 -0
  1488. package/lib/es/utils/deviceUtils.js +59 -77
  1489. package/lib/es/utils/getDropDirection.d.ts +7 -0
  1490. package/lib/es/utils/getDropDirection.js +23 -27
  1491. package/lib/es/utils/getOffsetTopWholeScreen.d.ts +1 -0
  1492. package/lib/es/utils/getOffsetTopWholeScreen.js +7 -10
  1493. package/lib/es/utils/init.d.ts +2 -0
  1494. package/lib/es/utils/init.js +87 -134
  1495. package/lib/es/utils/logDeprecatedWarnings.d.ts +3 -0
  1496. package/lib/es/utils/logDeprecatedWarnings.js +23 -25
  1497. package/lib/es/utils/logPropError.d.ts +3 -0
  1498. package/lib/es/utils/logPropError.js +24 -25
  1499. package/lib/es/utils/ownerDocument.d.ts +1 -0
  1500. package/lib/es/utils/ownerDocument.js +8 -12
  1501. package/lib/es/utils/portalRoot.d.ts +2 -0
  1502. package/lib/es/utils/portalRoot.js +8 -12
  1503. package/lib/es/utils/routeUtils.d.ts +15 -0
  1504. package/lib/es/utils/routeUtils.js +52 -76
  1505. package/lib/es/utils/scrollItemIntoView.d.ts +3 -0
  1506. package/lib/es/utils/scrollItemIntoView.js +27 -33
  1507. package/lib/es/utils/searchNormalized.d.ts +2 -0
  1508. package/lib/es/utils/searchNormalized.js +4 -11
  1509. package/lib/es/values/Placement.d.ts +19 -0
  1510. package/lib/es/values/Placement.js +20 -0
  1511. package/lib/es/values/TextAlignment.d.ts +7 -0
  1512. package/lib/es/values/TextAlignment.js +8 -0
  1513. package/lib/es/values/Trigger.d.ts +9 -0
  1514. package/lib/es/values/Trigger.js +8 -0
  1515. package/lib/es/version.json +1 -1
  1516. package/mapIndex.d.ts +38 -0
  1517. package/mapIndex.js +3 -6
  1518. package/package.json +23 -18
  1519. package/routeUtils.d.ts +5 -0
  1520. package/routeUtils.js +2 -2
  1521. package/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.d.ts +3 -0
  1522. package/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +28 -67
  1523. package/themes/Volkswagen/components/applicationHeader/modulePropTypes.d.ts +6 -0
  1524. package/themes/Volkswagen/components/applicationHeader/modulePropTypes.js +3 -3
  1525. package/types.d.ts +1664 -0
  1526. package/types.js +37 -0
  1527. package/useAfterMount.js +1 -1
  1528. package/useClickOutside.js +1 -1
  1529. package/useClipboard.js +1 -1
  1530. package/useDarkMode.js +1 -1
  1531. package/useDebugInfo.js +1 -1
  1532. package/useEffectOnce.js +1 -1
  1533. package/useElementSize.js +1 -1
  1534. package/useEsc.js +1 -1
  1535. package/useEvent.js +1 -1
  1536. package/useFullscreen.js +1 -1
  1537. package/useInterval.js +1 -1
  1538. package/useKey.js +1 -1
  1539. package/useLocalStorage.js +1 -1
  1540. package/useMutationObserver.js +1 -1
  1541. package/useOnMount.d.ts +2 -0
  1542. package/useOnMount.js +1 -1
  1543. package/useOnScreen.js +1 -1
  1544. package/useOnlineStatus.js +1 -1
  1545. package/usePrevious.js +1 -1
  1546. package/useRenderCount.js +1 -1
  1547. package/useResizeObserver.js +1 -1
  1548. package/useScrollPosition.js +1 -1
  1549. package/useSessionStorage.js +1 -1
  1550. package/useStateWithValidation.js +1 -1
  1551. package/useTimeout.js +1 -1
  1552. package/useWindowResize.js +1 -1
  1553. package/utils/GroupSelectionUtil.d.ts +1 -0
  1554. package/utils/GroupSelectionUtil.js +73 -81
  1555. package/utils/ObjectValues.d.ts +1 -0
  1556. package/utils/ObjectValues.js +1 -0
  1557. package/utils/RefComponent.d.ts +5 -0
  1558. package/utils/RefComponent.js +1 -0
  1559. package/utils/SortUtils.d.ts +6 -0
  1560. package/utils/SortUtils.js +20 -28
  1561. package/utils/addEventListener.d.ts +3 -0
  1562. package/utils/addEventListener.js +7 -7
  1563. package/utils/addFocusListener.d.ts +3 -0
  1564. package/utils/addFocusListener.js +12 -17
  1565. package/utils/arrayMove.d.ts +2 -0
  1566. package/utils/arrayMove.js +9 -11
  1567. package/utils/buttonEffect.d.ts +1 -0
  1568. package/utils/buttonEffect.js +56 -53
  1569. package/utils/colorScheme.d.ts +9 -0
  1570. package/utils/colorScheme.js +50 -72
  1571. package/utils/cssuseragent.d.ts +1 -0
  1572. package/utils/cssuseragent.js +298 -297
  1573. package/utils/darkModeCDN.d.ts +3 -0
  1574. package/utils/darkModeCDN.js +36 -43
  1575. package/utils/deviceUtils.d.ts +11 -0
  1576. package/utils/deviceUtils.js +54 -65
  1577. package/utils/getDropDirection.d.ts +7 -0
  1578. package/utils/getDropDirection.js +21 -22
  1579. package/utils/getOffsetTopWholeScreen.d.ts +1 -0
  1580. package/utils/getOffsetTopWholeScreen.js +5 -5
  1581. package/utils/init.d.ts +2 -0
  1582. package/utils/init.js +80 -122
  1583. package/utils/logDeprecatedWarnings.d.ts +3 -0
  1584. package/utils/logDeprecatedWarnings.js +19 -16
  1585. package/utils/logPropError.d.ts +3 -0
  1586. package/utils/logPropError.js +20 -16
  1587. package/utils/ownerDocument.d.ts +1 -0
  1588. package/utils/ownerDocument.js +2 -2
  1589. package/utils/portalRoot.d.ts +2 -0
  1590. package/utils/portalRoot.js +7 -7
  1591. package/utils/routeUtils.d.ts +15 -0
  1592. package/utils/routeUtils.js +43 -63
  1593. package/utils/scrollItemIntoView.d.ts +3 -0
  1594. package/utils/scrollItemIntoView.js +24 -25
  1595. package/utils/searchNormalized.d.ts +2 -0
  1596. package/utils/searchNormalized.js +2 -6
  1597. package/values/Placement.d.ts +19 -0
  1598. package/values/Placement.js +17 -0
  1599. package/values/TextAlignment.d.ts +7 -0
  1600. package/values/TextAlignment.js +5 -0
  1601. package/values/Trigger.d.ts +9 -0
  1602. package/values/Trigger.js +5 -0
  1603. package/version.json +1 -1
  1604. package/.DS_Store +0 -0
  1605. package/Init.d.ts +0 -3
  1606. package/Init.js +0 -2
  1607. package/components/browserWarning/chrome.svg +0 -1
  1608. package/components/browserWarning/firefox.svg +0 -1
  1609. package/components/map/assets/icon_map_settings_bounding_box_active.svg +0 -1
  1610. package/components/map/assets/icon_map_settings_bounding_box_inactive.svg +0 -1
  1611. package/components/map/assets/icon_map_settings_center_marker_active.svg +0 -1
  1612. package/components/map/assets/icon_map_settings_center_marker_inactive.svg +0 -1
  1613. package/components/map/assets/icon_map_settings_cluster_active.svg +0 -1
  1614. package/components/map/assets/icon_map_settings_cluster_inactive.svg +0 -1
  1615. package/components/map/assets/icon_map_settings_construction_active.svg +0 -1
  1616. package/components/map/assets/icon_map_settings_construction_inactive.svg +0 -1
  1617. package/components/map/assets/icon_map_settings_layer_active.svg +0 -1
  1618. package/components/map/assets/icon_map_settings_layer_inactive.svg +0 -1
  1619. package/components/map/assets/icon_map_settings_lock_active.svg +0 -1
  1620. package/components/map/assets/icon_map_settings_lock_inactive.svg +0 -1
  1621. package/components/map/assets/icon_map_settings_maptype_flat_active.svg +0 -1
  1622. package/components/map/assets/icon_map_settings_maptype_flat_inactive.svg +0 -1
  1623. package/components/map/assets/icon_map_settings_maptype_flat_truck_active.svg +0 -1
  1624. package/components/map/assets/icon_map_settings_maptype_flat_truck_inactive.svg +0 -1
  1625. package/components/map/assets/icon_map_settings_maptype_night_active.svg +0 -1
  1626. package/components/map/assets/icon_map_settings_maptype_night_inactive.svg +0 -1
  1627. package/components/map/assets/icon_map_settings_maptype_satelite_active.svg +0 -1
  1628. package/components/map/assets/icon_map_settings_maptype_satelite_inactive.svg +0 -1
  1629. package/components/map/assets/icon_map_settings_maptype_terrain_active.svg +0 -1
  1630. package/components/map/assets/icon_map_settings_maptype_terrain_inactive.svg +0 -1
  1631. package/components/map/assets/icon_map_settings_no_cluster_active.svg +0 -1
  1632. package/components/map/assets/icon_map_settings_no_cluster_inactive.svg +0 -1
  1633. package/components/map/assets/icon_map_settings_road_restrictions_active.svg +0 -1
  1634. package/components/map/assets/icon_map_settings_road_restrictions_inactive.svg +0 -1
  1635. package/components/map/assets/icon_map_settings_system_pois_active.svg +0 -1
  1636. package/components/map/assets/icon_map_settings_system_pois_inactive.svg +0 -1
  1637. package/components/map/assets/icon_map_settings_traffic_active.svg +0 -1
  1638. package/components/map/assets/icon_map_settings_traffic_inactive.svg +0 -1
  1639. package/components/map/assets/icon_map_settings_workshop_pois_active.svg +0 -1
  1640. package/components/map/assets/icon_map_settings_workshop_pois_inactive.svg +0 -1
  1641. package/components/map/assets/icon_zoom_in.svg +0 -1
  1642. package/components/map/assets/icon_zoom_out.svg +0 -1
  1643. package/lib/es/Init.d.ts +0 -3
  1644. package/lib/es/Init.js +0 -12
  1645. package/lib/es/components/browserWarning/chrome.svg +0 -1
  1646. package/lib/es/components/browserWarning/firefox.svg +0 -1
  1647. package/lib/es/components/map/assets/icon_map_settings_bounding_box_active.svg +0 -1
  1648. package/lib/es/components/map/assets/icon_map_settings_bounding_box_inactive.svg +0 -1
  1649. package/lib/es/components/map/assets/icon_map_settings_center_marker_active.svg +0 -1
  1650. package/lib/es/components/map/assets/icon_map_settings_center_marker_inactive.svg +0 -1
  1651. package/lib/es/components/map/assets/icon_map_settings_cluster_active.svg +0 -1
  1652. package/lib/es/components/map/assets/icon_map_settings_cluster_inactive.svg +0 -1
  1653. package/lib/es/components/map/assets/icon_map_settings_construction_active.svg +0 -1
  1654. package/lib/es/components/map/assets/icon_map_settings_construction_inactive.svg +0 -1
  1655. package/lib/es/components/map/assets/icon_map_settings_layer_active.svg +0 -1
  1656. package/lib/es/components/map/assets/icon_map_settings_layer_inactive.svg +0 -1
  1657. package/lib/es/components/map/assets/icon_map_settings_lock_active.svg +0 -1
  1658. package/lib/es/components/map/assets/icon_map_settings_lock_inactive.svg +0 -1
  1659. package/lib/es/components/map/assets/icon_map_settings_maptype_flat_active.svg +0 -1
  1660. package/lib/es/components/map/assets/icon_map_settings_maptype_flat_inactive.svg +0 -1
  1661. package/lib/es/components/map/assets/icon_map_settings_maptype_flat_truck_active.svg +0 -1
  1662. package/lib/es/components/map/assets/icon_map_settings_maptype_flat_truck_inactive.svg +0 -1
  1663. package/lib/es/components/map/assets/icon_map_settings_maptype_night_active.svg +0 -1
  1664. package/lib/es/components/map/assets/icon_map_settings_maptype_night_inactive.svg +0 -1
  1665. package/lib/es/components/map/assets/icon_map_settings_maptype_satelite_active.svg +0 -1
  1666. package/lib/es/components/map/assets/icon_map_settings_maptype_satelite_inactive.svg +0 -1
  1667. package/lib/es/components/map/assets/icon_map_settings_maptype_terrain_active.svg +0 -1
  1668. package/lib/es/components/map/assets/icon_map_settings_maptype_terrain_inactive.svg +0 -1
  1669. package/lib/es/components/map/assets/icon_map_settings_no_cluster_active.svg +0 -1
  1670. package/lib/es/components/map/assets/icon_map_settings_no_cluster_inactive.svg +0 -1
  1671. package/lib/es/components/map/assets/icon_map_settings_road_restrictions_active.svg +0 -1
  1672. package/lib/es/components/map/assets/icon_map_settings_road_restrictions_inactive.svg +0 -1
  1673. package/lib/es/components/map/assets/icon_map_settings_system_pois_active.svg +0 -1
  1674. package/lib/es/components/map/assets/icon_map_settings_system_pois_inactive.svg +0 -1
  1675. package/lib/es/components/map/assets/icon_map_settings_traffic_active.svg +0 -1
  1676. package/lib/es/components/map/assets/icon_map_settings_traffic_inactive.svg +0 -1
  1677. package/lib/es/components/map/assets/icon_map_settings_workshop_pois_active.svg +0 -1
  1678. package/lib/es/components/map/assets/icon_map_settings_workshop_pois_inactive.svg +0 -1
  1679. package/lib/es/components/map/assets/icon_zoom_in.svg +0 -1
  1680. package/lib/es/components/map/assets/icon_zoom_out.svg +0 -1
  1681. package/lib/es/styles/animations/_imports.less +0 -10
  1682. package/lib/es/styles/animations/collapse.less +0 -16
  1683. package/lib/es/styles/animations/fade.less +0 -28
  1684. package/lib/es/styles/animations/pinging.less +0 -7
  1685. package/lib/es/styles/animations/pulsing.less +0 -5
  1686. package/lib/es/styles/animations/rotate.less +0 -52
  1687. package/lib/es/styles/animations/scale.less +0 -35
  1688. package/lib/es/styles/animations/slide.less +0 -39
  1689. package/lib/es/styles/animations/spinning.less +0 -4
  1690. package/lib/es/styles/animations/transition.less +0 -129
  1691. package/lib/es/styles/animations/translate.less +0 -28
  1692. package/lib/es/styles/components/Activity.less +0 -92
  1693. package/lib/es/styles/components/ApplicationHeader.less +0 -507
  1694. package/lib/es/styles/components/ApplicationLayout.less +0 -238
  1695. package/lib/es/styles/components/AssetTree.less +0 -441
  1696. package/lib/es/styles/components/AutoSuggest.less +0 -22
  1697. package/lib/es/styles/components/BottomSheet.less +0 -22
  1698. package/lib/es/styles/components/Carousel.less +0 -215
  1699. package/lib/es/styles/components/Checkbox.less +0 -223
  1700. package/lib/es/styles/components/ClearableInput.less +0 -120
  1701. package/lib/es/styles/components/Counter.less +0 -142
  1702. package/lib/es/styles/components/DataTabs.less +0 -121
  1703. package/lib/es/styles/components/DatePicker.less +0 -390
  1704. package/lib/es/styles/components/Dialog.less +0 -512
  1705. package/lib/es/styles/components/Dropdown.less +0 -190
  1706. package/lib/es/styles/components/Expander.less +0 -196
  1707. package/lib/es/styles/components/FilePicker.less +0 -8
  1708. package/lib/es/styles/components/ListMenu.less +0 -75
  1709. package/lib/es/styles/components/MapHere.less +0 -92
  1710. package/lib/es/styles/components/MapMarker.less +0 -552
  1711. package/lib/es/styles/components/MapSettings.less +0 -133
  1712. package/lib/es/styles/components/NoData.less +0 -8
  1713. package/lib/es/styles/components/Notification.less +0 -234
  1714. package/lib/es/styles/components/RadioButton.less +0 -172
  1715. package/lib/es/styles/components/Resizer.less +0 -43
  1716. package/lib/es/styles/components/Select.less +0 -289
  1717. package/lib/es/styles/components/Sidebar.less +0 -174
  1718. package/lib/es/styles/components/Slider.less +0 -278
  1719. package/lib/es/styles/components/Spinner.less +0 -49
  1720. package/lib/es/styles/components/StatsWidget.less +0 -111
  1721. package/lib/es/styles/components/SteppedProgressBar.less +0 -313
  1722. package/lib/es/styles/components/SupportMarker.less +0 -34
  1723. package/lib/es/styles/components/Switch.less +0 -145
  1724. package/lib/es/styles/components/TableSettingsDialog.less +0 -96
  1725. package/lib/es/styles/components/TableSortArrows.less +0 -55
  1726. package/lib/es/styles/components/TableToolbar.less +0 -121
  1727. package/lib/es/styles/components/Tag.less +0 -246
  1728. package/lib/es/styles/components/TagManager.less +0 -4
  1729. package/lib/es/styles/components/Teaser.less +0 -12
  1730. package/lib/es/styles/components/Timeline.less +0 -71
  1731. package/lib/es/styles/components/Tooltip.less +0 -222
  1732. package/lib/es/styles/design/alerts.less +0 -53
  1733. package/lib/es/styles/design/aspect-ratio.less +0 -24
  1734. package/lib/es/styles/design/badges.less +0 -120
  1735. package/lib/es/styles/design/blockquote.less +0 -49
  1736. package/lib/es/styles/design/blur.less +0 -7
  1737. package/lib/es/styles/design/border.less +0 -229
  1738. package/lib/es/styles/design/box-sizing.less +0 -8
  1739. package/lib/es/styles/design/breadcrumbs.less +0 -20
  1740. package/lib/es/styles/design/button-groups.less +0 -215
  1741. package/lib/es/styles/design/buttons.less +0 -427
  1742. package/lib/es/styles/design/callouts.less +0 -28
  1743. package/lib/es/styles/design/caret.less +0 -28
  1744. package/lib/es/styles/design/close.less +0 -12
  1745. package/lib/es/styles/design/code.less +0 -43
  1746. package/lib/es/styles/design/colors.less +0 -212
  1747. package/lib/es/styles/design/cols.less +0 -57
  1748. package/lib/es/styles/design/container.less +0 -29
  1749. package/lib/es/styles/design/cursors.less +0 -19
  1750. package/lib/es/styles/design/custom.less +0 -20
  1751. package/lib/es/styles/design/divider.less +0 -90
  1752. package/lib/es/styles/design/ellipsis.less +0 -46
  1753. package/lib/es/styles/design/flexgrid.less +0 -7
  1754. package/lib/es/styles/design/fonts.less +0 -458
  1755. package/lib/es/styles/design/form-input-groups.less +0 -243
  1756. package/lib/es/styles/design/form-inputs.less +0 -655
  1757. package/lib/es/styles/design/iframe.less +0 -80
  1758. package/lib/es/styles/design/images.less +0 -47
  1759. package/lib/es/styles/design/labels.less +0 -66
  1760. package/lib/es/styles/design/list-group.less +0 -98
  1761. package/lib/es/styles/design/navs.less +0 -267
  1762. package/lib/es/styles/design/normalize.less +0 -146
  1763. package/lib/es/styles/design/opacity.less +0 -26
  1764. package/lib/es/styles/design/overflow.less +0 -1
  1765. package/lib/es/styles/design/pagination.less +0 -158
  1766. package/lib/es/styles/design/panels.less +0 -105
  1767. package/lib/es/styles/design/popovers.less +0 -119
  1768. package/lib/es/styles/design/position.less +0 -16
  1769. package/lib/es/styles/design/progress-bars.less +0 -131
  1770. package/lib/es/styles/design/resets.less +0 -7
  1771. package/lib/es/styles/design/responsive/_imports.less +0 -68
  1772. package/lib/es/styles/design/responsive/backgrounds.less +0 -32
  1773. package/lib/es/styles/design/responsive/display.less +0 -9
  1774. package/lib/es/styles/design/responsive/flexgrid.less +0 -76
  1775. package/lib/es/styles/design/responsive/floating.less +0 -4
  1776. package/lib/es/styles/design/responsive/gap.less +0 -33
  1777. package/lib/es/styles/design/responsive/margin.less +0 -127
  1778. package/lib/es/styles/design/responsive/overflow.less +0 -16
  1779. package/lib/es/styles/design/responsive/padding.less +0 -71
  1780. package/lib/es/styles/design/responsive/position.less +0 -108
  1781. package/lib/es/styles/design/responsive/sizing.less +0 -102
  1782. package/lib/es/styles/design/responsive/spacing.less +0 -25
  1783. package/lib/es/styles/design/responsive/text.less +0 -71
  1784. package/lib/es/styles/design/responsive-embed.less +0 -31
  1785. package/lib/es/styles/design/responsive-video.less +0 -22
  1786. package/lib/es/styles/design/rioglyph.less +0 -13
  1787. package/lib/es/styles/design/rounded.less +0 -44
  1788. package/lib/es/styles/design/sanityCheck.less +0 -11
  1789. package/lib/es/styles/design/shadows.less +0 -78
  1790. package/lib/es/styles/design/sizing.less +0 -18
  1791. package/lib/es/styles/design/tables.less +0 -791
  1792. package/lib/es/styles/design/text.less +0 -202
  1793. package/lib/es/styles/design/theme.less +0 -204
  1794. package/lib/es/styles/design/thumbnails.less +0 -27
  1795. package/lib/es/styles/design/transition.less +0 -33
  1796. package/lib/es/styles/design/type.less +0 -159
  1797. package/lib/es/styles/design/utilities.less +0 -73
  1798. package/lib/es/styles/design/visibility.less +0 -186
  1799. package/lib/es/styles/design/wells.less +0 -17
  1800. package/lib/es/styles/design/z-index.less +0 -21
  1801. package/lib/es/styles/filter/_imports.less +0 -1
  1802. package/lib/es/styles/filter/blur.less +0 -17
  1803. package/lib/es/styles/mapping/breakpoint-map.less +0 -44
  1804. package/lib/es/styles/mapping/color-map.less +0 -212
  1805. package/lib/es/styles/mapping/cols-map.less +0 -15
  1806. package/lib/es/styles/mapping/numbers-map.less +0 -16
  1807. package/lib/es/styles/mapping/positions-map.less +0 -29
  1808. package/lib/es/styles/mapping/sizes-map.less +0 -129
  1809. package/lib/es/styles/mapping/spacings-map.less +0 -33
  1810. package/lib/es/styles/mixins/_imports.less +0 -14
  1811. package/lib/es/styles/mixins/border-radius.less +0 -16
  1812. package/lib/es/styles/mixins/buttons.less +0 -85
  1813. package/lib/es/styles/mixins/clearfix.less +0 -9
  1814. package/lib/es/styles/mixins/cols.less +0 -59
  1815. package/lib/es/styles/mixins/forms.less +0 -25
  1816. package/lib/es/styles/mixins/hsl.less +0 -19
  1817. package/lib/es/styles/mixins/panels.less +0 -27
  1818. package/lib/es/styles/mixins/placeholder.less +0 -17
  1819. package/lib/es/styles/mixins/reset.less +0 -27
  1820. package/lib/es/styles/mixins/sizings.less +0 -21
  1821. package/lib/es/styles/mixins/spinner.less +0 -30
  1822. package/lib/es/styles/mixins/table.less +0 -26
  1823. package/lib/es/styles/mixins/tabs.less +0 -4
  1824. package/lib/es/styles/mixins/text.less +0 -5
  1825. package/lib/es/styles/print/print.less +0 -195
  1826. package/lib/es/styles/rio-uikit-core.less +0 -118
  1827. package/lib/es/styles/rio-uikit-print-utilities.less +0 -17
  1828. package/lib/es/styles/rio-uikit-responsive-utilities.less +0 -16
  1829. package/lib/es/styles/variables/_index.less +0 -196
  1830. package/lib/es/styles/variables/concated_css_variables.less +0 -72
  1831. package/lib/es/styles/variables/dark_colors.less +0 -96
  1832. package/lib/es/styles/variables/dark_css_variables.less +0 -28
  1833. package/lib/es/styles/variables/dark_css_variables_map.less +0 -104
  1834. package/lib/es/styles/variables/light_colors.less +0 -100
  1835. package/lib/es/styles/variables/light_css_variables.less +0 -17
  1836. package/lib/es/styles/variables/light_css_variables_map.less +0 -108
  1837. package/lib/es/styles/variables/screens.less +0 -7
  1838. package/lib/es/styles/variables/text.less +0 -23
  1839. package/lib/es/themes/BuyButton/styles/rio-buyButton.less +0 -191
  1840. package/lib/es/themes/MAN/styles/man-uikit.less +0 -54
  1841. package/lib/es/themes/RIO/styles/rio-uikit.less +0 -23
  1842. package/lib/es/themes/SCANIA/styles/scania-uikit.less +0 -42
  1843. package/lib/es/themes/Volkswagen/styles/vw-uikit.less +0 -207
  1844. package/lib/es/themes/Website/styles/rio-website.less +0 -2300
  1845. package/lib/es/themes/Xmas/styles/rio-xmas.less +0 -66
  1846. package/lib/es/types.ts +0 -2275
  1847. package/styles/animations/_imports.less +0 -10
  1848. package/styles/animations/collapse.less +0 -16
  1849. package/styles/animations/fade.less +0 -28
  1850. package/styles/animations/pinging.less +0 -7
  1851. package/styles/animations/pulsing.less +0 -5
  1852. package/styles/animations/rotate.less +0 -52
  1853. package/styles/animations/scale.less +0 -35
  1854. package/styles/animations/slide.less +0 -39
  1855. package/styles/animations/spinning.less +0 -4
  1856. package/styles/animations/transition.less +0 -129
  1857. package/styles/animations/translate.less +0 -28
  1858. package/styles/components/Activity.less +0 -92
  1859. package/styles/components/ApplicationHeader.less +0 -507
  1860. package/styles/components/ApplicationLayout.less +0 -238
  1861. package/styles/components/AssetTree.less +0 -441
  1862. package/styles/components/AutoSuggest.less +0 -22
  1863. package/styles/components/BottomSheet.less +0 -22
  1864. package/styles/components/Carousel.less +0 -215
  1865. package/styles/components/Checkbox.less +0 -223
  1866. package/styles/components/ClearableInput.less +0 -120
  1867. package/styles/components/Counter.less +0 -142
  1868. package/styles/components/DataTabs.less +0 -121
  1869. package/styles/components/DatePicker.less +0 -390
  1870. package/styles/components/Dialog.less +0 -512
  1871. package/styles/components/Dropdown.less +0 -190
  1872. package/styles/components/Expander.less +0 -196
  1873. package/styles/components/FilePicker.less +0 -8
  1874. package/styles/components/ListMenu.less +0 -75
  1875. package/styles/components/MapHere.less +0 -92
  1876. package/styles/components/MapMarker.less +0 -552
  1877. package/styles/components/MapSettings.less +0 -133
  1878. package/styles/components/NoData.less +0 -8
  1879. package/styles/components/Notification.less +0 -234
  1880. package/styles/components/RadioButton.less +0 -172
  1881. package/styles/components/Resizer.less +0 -43
  1882. package/styles/components/Select.less +0 -289
  1883. package/styles/components/Sidebar.less +0 -174
  1884. package/styles/components/Slider.less +0 -278
  1885. package/styles/components/Spinner.less +0 -49
  1886. package/styles/components/StatsWidget.less +0 -111
  1887. package/styles/components/SteppedProgressBar.less +0 -313
  1888. package/styles/components/SupportMarker.less +0 -34
  1889. package/styles/components/Switch.less +0 -145
  1890. package/styles/components/TableSettingsDialog.less +0 -96
  1891. package/styles/components/TableSortArrows.less +0 -55
  1892. package/styles/components/TableToolbar.less +0 -121
  1893. package/styles/components/Tag.less +0 -246
  1894. package/styles/components/TagManager.less +0 -4
  1895. package/styles/components/Teaser.less +0 -12
  1896. package/styles/components/Timeline.less +0 -71
  1897. package/styles/components/Tooltip.less +0 -222
  1898. package/styles/design/alerts.less +0 -53
  1899. package/styles/design/aspect-ratio.less +0 -24
  1900. package/styles/design/badges.less +0 -120
  1901. package/styles/design/blockquote.less +0 -49
  1902. package/styles/design/blur.less +0 -7
  1903. package/styles/design/border.less +0 -229
  1904. package/styles/design/box-sizing.less +0 -8
  1905. package/styles/design/breadcrumbs.less +0 -20
  1906. package/styles/design/button-groups.less +0 -215
  1907. package/styles/design/buttons.less +0 -427
  1908. package/styles/design/callouts.less +0 -28
  1909. package/styles/design/caret.less +0 -28
  1910. package/styles/design/close.less +0 -12
  1911. package/styles/design/code.less +0 -43
  1912. package/styles/design/colors.less +0 -212
  1913. package/styles/design/cols.less +0 -57
  1914. package/styles/design/container.less +0 -29
  1915. package/styles/design/cursors.less +0 -19
  1916. package/styles/design/custom.less +0 -20
  1917. package/styles/design/divider.less +0 -90
  1918. package/styles/design/ellipsis.less +0 -46
  1919. package/styles/design/flexgrid.less +0 -7
  1920. package/styles/design/fonts.less +0 -458
  1921. package/styles/design/form-input-groups.less +0 -243
  1922. package/styles/design/form-inputs.less +0 -655
  1923. package/styles/design/iframe.less +0 -80
  1924. package/styles/design/images.less +0 -47
  1925. package/styles/design/labels.less +0 -66
  1926. package/styles/design/list-group.less +0 -98
  1927. package/styles/design/navs.less +0 -267
  1928. package/styles/design/normalize.less +0 -146
  1929. package/styles/design/opacity.less +0 -26
  1930. package/styles/design/overflow.less +0 -1
  1931. package/styles/design/pagination.less +0 -158
  1932. package/styles/design/panels.less +0 -105
  1933. package/styles/design/popovers.less +0 -119
  1934. package/styles/design/position.less +0 -16
  1935. package/styles/design/progress-bars.less +0 -131
  1936. package/styles/design/resets.less +0 -7
  1937. package/styles/design/responsive/_imports.less +0 -68
  1938. package/styles/design/responsive/backgrounds.less +0 -32
  1939. package/styles/design/responsive/display.less +0 -9
  1940. package/styles/design/responsive/flexgrid.less +0 -76
  1941. package/styles/design/responsive/floating.less +0 -4
  1942. package/styles/design/responsive/gap.less +0 -33
  1943. package/styles/design/responsive/margin.less +0 -127
  1944. package/styles/design/responsive/overflow.less +0 -16
  1945. package/styles/design/responsive/padding.less +0 -71
  1946. package/styles/design/responsive/position.less +0 -108
  1947. package/styles/design/responsive/sizing.less +0 -102
  1948. package/styles/design/responsive/spacing.less +0 -25
  1949. package/styles/design/responsive/text.less +0 -71
  1950. package/styles/design/responsive-embed.less +0 -31
  1951. package/styles/design/responsive-video.less +0 -22
  1952. package/styles/design/rioglyph.less +0 -13
  1953. package/styles/design/rounded.less +0 -44
  1954. package/styles/design/sanityCheck.less +0 -11
  1955. package/styles/design/shadows.less +0 -78
  1956. package/styles/design/sizing.less +0 -18
  1957. package/styles/design/tables.less +0 -791
  1958. package/styles/design/text.less +0 -202
  1959. package/styles/design/theme.less +0 -204
  1960. package/styles/design/thumbnails.less +0 -27
  1961. package/styles/design/transition.less +0 -33
  1962. package/styles/design/type.less +0 -159
  1963. package/styles/design/utilities.less +0 -73
  1964. package/styles/design/visibility.less +0 -186
  1965. package/styles/design/wells.less +0 -17
  1966. package/styles/design/z-index.less +0 -21
  1967. package/styles/filter/_imports.less +0 -1
  1968. package/styles/filter/blur.less +0 -17
  1969. package/styles/mapping/breakpoint-map.less +0 -44
  1970. package/styles/mapping/color-map.less +0 -212
  1971. package/styles/mapping/cols-map.less +0 -15
  1972. package/styles/mapping/numbers-map.less +0 -16
  1973. package/styles/mapping/positions-map.less +0 -29
  1974. package/styles/mapping/sizes-map.less +0 -129
  1975. package/styles/mapping/spacings-map.less +0 -33
  1976. package/styles/mixins/_imports.less +0 -14
  1977. package/styles/mixins/border-radius.less +0 -16
  1978. package/styles/mixins/buttons.less +0 -85
  1979. package/styles/mixins/clearfix.less +0 -9
  1980. package/styles/mixins/cols.less +0 -59
  1981. package/styles/mixins/forms.less +0 -25
  1982. package/styles/mixins/hsl.less +0 -19
  1983. package/styles/mixins/panels.less +0 -27
  1984. package/styles/mixins/placeholder.less +0 -17
  1985. package/styles/mixins/reset.less +0 -27
  1986. package/styles/mixins/sizings.less +0 -21
  1987. package/styles/mixins/spinner.less +0 -30
  1988. package/styles/mixins/table.less +0 -26
  1989. package/styles/mixins/tabs.less +0 -4
  1990. package/styles/mixins/text.less +0 -5
  1991. package/styles/print/print.less +0 -195
  1992. package/styles/rio-uikit-core.less +0 -118
  1993. package/styles/rio-uikit-print-utilities.less +0 -17
  1994. package/styles/rio-uikit-responsive-utilities.less +0 -16
  1995. package/styles/variables/_index.less +0 -196
  1996. package/styles/variables/concated_css_variables.less +0 -72
  1997. package/styles/variables/dark_colors.less +0 -96
  1998. package/styles/variables/dark_css_variables.less +0 -28
  1999. package/styles/variables/dark_css_variables_map.less +0 -104
  2000. package/styles/variables/light_colors.less +0 -100
  2001. package/styles/variables/light_css_variables.less +0 -17
  2002. package/styles/variables/light_css_variables_map.less +0 -108
  2003. package/styles/variables/screens.less +0 -7
  2004. package/styles/variables/text.less +0 -23
  2005. package/themes/BuyButton/styles/rio-buyButton.less +0 -191
  2006. package/themes/MAN/styles/man-uikit.less +0 -54
  2007. package/themes/RIO/styles/rio-uikit.less +0 -23
  2008. package/themes/SCANIA/styles/scania-uikit.less +0 -42
  2009. package/themes/Volkswagen/styles/vw-uikit.less +0 -207
  2010. package/themes/Website/styles/rio-website.less +0 -2300
  2011. package/themes/Xmas/styles/rio-xmas.less +0 -66
  2012. package/types.ts +0 -2275
@@ -1,11 +1,5 @@
1
- import _extends from "@babel/runtime/helpers/extends";
2
- import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
3
- import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
- import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
5
- import _defineProperty from "@babel/runtime/helpers/defineProperty";
6
- var _excluded = ["groups", "items", "selectedGroups", "selectedItems", "onSelectionChange", "hasMultiselect", "showRadioButtons", "hideSearch", "hideTreeHead", "summary", "hideSummary", "search", "searchPlaceholder", "onSearchChange", "className", "scrollHeight", "expandedGroups", "onExpandGroupsChange", "showEmptyGroups", "treeOptions"];
7
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
8
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1
+ import { __rest } from "tslib";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
3
  /* eslint-disable no-use-before-define */
10
4
  import React, { useReducer, useEffect, useRef } from 'react';
11
5
  import PropTypes from 'prop-types';
@@ -40,633 +34,396 @@ import TreeOptions from './TreeOptions';
40
34
  import TreeRoot from './TreeRoot';
41
35
  import TypeCounter from './TypeCounter';
42
36
  import { searchNormalized } from '../../utils/searchNormalized';
43
- var SEARCH_DEBOUNCE = 100;
44
- var otherwise = stubTrue;
45
- var notEqual = negate(isEqual);
46
- var notEmpty = negate(isEmpty);
47
- var Divider = function Divider() {
48
- return /*#__PURE__*/React.createElement("div", {
49
- className: 'TreeSelectAllDivider bg-light width-2 height-15 ' + 'margin-top-2 margin-bottom-0 margin-left-10 margin-right-10'
50
- });
37
+ const SEARCH_DEBOUNCE = 100;
38
+ const otherwise = stubTrue;
39
+ const notEqual = negate(isEqual);
40
+ const notEmpty = negate(isEmpty);
41
+ const Divider = () => (_jsx("div", { className: 'TreeSelectAllDivider bg-light width-2 height-15 ' +
42
+ 'margin-top-2 margin-bottom-0 margin-left-10 margin-right-10' }));
43
+ const isNameObject = item => isObject(item.name);
44
+ const getFullName = item => `${item.name.firstName} ${item.name.lastName}`;
45
+ const getName = item => (isNameObject(item) ? getFullName(item) : item.name);
46
+ const getLowerCaseName = item => getOr('', 'name')(item).toLowerCase();
47
+ const getLowerCaseLastName = item => getOr('', 'name.lastName')(item).toLowerCase();
48
+ const orderByName = orderBy([item => (isNameObject(item) ? getLowerCaseLastName(item) : getLowerCaseName(item))], ['asc']);
49
+ const filterEmptyGroups = filter(group => notEmpty(group.items));
50
+ const filterAssetByType = (types = []) => filter(asset => types.includes(asset.type));
51
+ const sortGroupsByName = groups => {
52
+ const fixedGroups = {};
53
+ const sortableGroups = {};
54
+ map(group => {
55
+ if (group.position === 'last') {
56
+ fixedGroups[group.id] = Object.assign({}, group);
57
+ }
58
+ else {
59
+ sortableGroups[group.id] = Object.assign({}, group);
60
+ }
61
+ })(groups);
62
+ const sortedGroups = orderByName(sortableGroups);
63
+ return isEmpty(fixedGroups) ? sortedGroups : Object.assign(Object.assign({}, sortedGroups), fixedGroups);
51
64
  };
52
- var isNameObject = function isNameObject(item) {
53
- return isObject(item.name);
65
+ const sortGroupItemsByName = groups => {
66
+ const sortedGroups = {};
67
+ map(group => {
68
+ sortedGroups[group.id] = Object.assign(Object.assign({}, group), { items: orderByName(group.items) });
69
+ })(groups);
70
+ return sortedGroups;
54
71
  };
55
- var getFullName = function getFullName(item) {
56
- return "".concat(item.name.firstName, " ").concat(item.name.lastName);
57
- };
58
- var getName = function getName(item) {
59
- return isNameObject(item) ? getFullName(item) : item.name;
60
- };
61
- var getLowerCaseName = function getLowerCaseName(item) {
62
- return getOr('', 'name')(item).toLowerCase();
63
- };
64
- var getLowerCaseLastName = function getLowerCaseLastName(item) {
65
- return getOr('', 'name.lastName')(item).toLowerCase();
66
- };
67
- var orderByName = orderBy([function (item) {
68
- return isNameObject(item) ? getLowerCaseLastName(item) : getLowerCaseName(item);
69
- }], ['asc']);
70
- var filterEmptyGroups = filter(function (group) {
71
- return notEmpty(group.items);
72
- });
73
- var filterAssetByType = function filterAssetByType() {
74
- var types = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
75
- return filter(function (asset) {
76
- return types.includes(asset.type);
77
- });
78
- };
79
- var sortGroupsByName = function sortGroupsByName(groups) {
80
- var fixedGroups = {};
81
- var sortableGroups = {};
82
- map(function (group) {
83
- if (group.position === 'last') {
84
- fixedGroups[group.id] = _objectSpread({}, group);
85
- } else {
86
- sortableGroups[group.id] = _objectSpread({}, group);
87
- }
88
- })(groups);
89
- var sortedGroups = orderByName(sortableGroups);
90
- return isEmpty(fixedGroups) ? sortedGroups : _objectSpread(_objectSpread({}, sortedGroups), fixedGroups);
91
- };
92
- var sortGroupItemsByName = function sortGroupItemsByName(groups) {
93
- var sortedGroups = {};
94
- map(function (group) {
95
- sortedGroups[group.id] = _objectSpread(_objectSpread({}, group), {}, {
96
- items: orderByName(group.items)
97
- });
98
- })(groups);
99
- return sortedGroups;
100
- };
101
- var getMappedItemsToGroups = function getMappedItemsToGroups(groups, items) {
102
- var mappedGroups = {};
103
-
104
- // build an object for listing the groups by id
105
- groups.forEach(function (group) {
106
- mappedGroups[group.id] = _objectSpread(_objectSpread({}, group), {}, {
107
- items: []
72
+ const getMappedItemsToGroups = (groups, items) => {
73
+ const mappedGroups = {};
74
+ // build an object for listing the groups by id
75
+ groups.forEach(group => {
76
+ mappedGroups[group.id] = Object.assign(Object.assign({}, group), { items: [] });
108
77
  });
109
- });
110
- items.forEach(function (item) {
111
- // add items to the respective group
112
- var groupIds = item.groupIds || [];
113
- groupIds.forEach(function (groupId) {
114
- var mappedGroup = mappedGroups[groupId];
115
- if (mappedGroup) {
116
- mappedGroup.items.push(item);
117
- }
78
+ items.forEach(item => {
79
+ // add items to the respective group
80
+ const groupIds = item.groupIds || [];
81
+ groupIds.forEach(groupId => {
82
+ const mappedGroup = mappedGroups[groupId];
83
+ if (mappedGroup) {
84
+ mappedGroup.items.push(item);
85
+ }
86
+ });
118
87
  });
119
- });
120
- return mappedGroups;
88
+ return mappedGroups;
121
89
  };
122
- var filterByName = function filterByName(searchValue) {
123
- return function (item) {
90
+ const filterByName = searchValue => item => {
124
91
  if (searchValue) {
125
- return searchNormalized(getName(item), searchValue);
92
+ return searchNormalized(getName(item), searchValue);
126
93
  }
127
94
  return true;
128
- };
129
- };
130
- var filterOutByItemId = function filterOutByItemId(list) {
131
- return function (item) {
132
- return !list.includes(item.id);
133
- };
134
- };
135
- var containsItemById = function containsItemById(list) {
136
- return function (item) {
137
- return list.includes(item.id);
138
- };
139
- };
140
- var getFlatItems = function getFlatItems(items, searchValue) {
141
- return flow(filter(filterByName(searchValue)), orderByName)(items);
142
- };
143
- var getListIds = function getListIds(list) {
144
- return list.map(function (listItem) {
145
- return listItem.id;
146
- });
147
- };
148
- export var excludeFromList = function excludeFromList(list, itemId) {
149
- return list.filter(function (item) {
150
- return item !== itemId;
151
- });
152
- };
153
- var getAssetTypeCounts = function getAssetTypeCounts(items) {
154
- return countBy(function (item) {
155
- return item.type;
156
- }, items);
157
- };
158
- var debounceFn = function debounceFn(fn) {
159
- return debounce(SEARCH_DEBOUNCE, fn);
160
- };
161
- var filterProps = omit(['expandedGroups', 'onExpandGroupsChange', 'onSearchChange', 'onSelectionChange', 'treeOptions']);
162
- var customCompare = function customCompare(prevProps, nextProps) {
163
- return isEqual(filterProps(prevProps), filterProps(nextProps));
164
- };
165
- var assetCounted = function assetCounted(payload) {
166
- return {
167
- type: 'assetCounted',
168
- payload: payload
169
- };
170
- };
171
- var allCheckedChanged = function allCheckedChanged(payload) {
172
- return {
173
- type: 'allCheckedChanged',
174
- payload: payload
175
- };
176
- };
177
- var searchValueChanged = function searchValueChanged(payload) {
178
- return {
179
- type: 'searchValueChanged',
180
- payload: payload
181
- };
182
- };
183
- var flatItemsChanged = function flatItemsChanged(payload) {
184
- return {
185
- type: 'flatItemsChanged',
186
- payload: payload
187
- };
188
- };
189
- var groupedItemsChanged = function groupedItemsChanged(payload) {
190
- return {
191
- type: 'groupedItemsChanged',
192
- payload: payload
193
- };
194
95
  };
195
- var typeFilterChanged = function typeFilterChanged(payload) {
196
- return {
197
- type: 'typeFilterChanged',
198
- payload: payload
199
- };
200
- };
201
- var visibleTypeCountersChanged = function visibleTypeCountersChanged(payload) {
202
- return {
203
- type: 'visibleTypeCountersChanged',
204
- payload: payload
205
- };
206
- };
207
- var emptyGroupsChanged = function emptyGroupsChanged(payload) {
208
- return {
209
- type: 'emptyGroupsChanged',
210
- payload: payload
211
- };
212
- };
213
- var treeReducer = function treeReducer(state, action) {
214
- switch (action.type) {
215
- case 'assetCounted':
216
- return _objectSpread(_objectSpread({}, state), {}, {
217
- assetCounts: action.payload
218
- });
219
- case 'allCheckedChanged':
220
- return _objectSpread(_objectSpread({}, state), {}, {
221
- allChecked: action.payload
222
- });
223
- case 'searchValueChanged':
224
- return _objectSpread(_objectSpread({}, state), {}, {
225
- searchValue: action.payload,
226
- allChecked: false
227
- });
228
- case 'flatItemsChanged':
229
- return _objectSpread(_objectSpread({}, state), {}, {
230
- flatItems: action.payload
231
- });
232
- case 'groupedItemsChanged':
233
- return _objectSpread(_objectSpread({}, state), {}, {
234
- groupedItems: action.payload
235
- });
236
- case 'typeFilterChanged':
237
- return _objectSpread(_objectSpread({}, state), {}, {
238
- typeFilter: action.payload
239
- });
240
- case 'visibleTypeCountersChanged':
241
- return _objectSpread(_objectSpread({}, state), {}, {
242
- visibleTypeCounters: action.payload
243
- });
244
- case 'emptyGroupsChanged':
245
- return _objectSpread(_objectSpread({}, state), {}, {
246
- emptyGroups: action.payload
247
- });
248
- default:
249
- throw new Error();
250
- }
251
- };
252
- var Tree = /*#__PURE__*/React.memo(function (props) {
253
- var groups = props.groups,
254
- items = props.items,
255
- selectedGroups = props.selectedGroups,
256
- selectedItems = props.selectedItems,
257
- onSelectionChange = props.onSelectionChange,
258
- hasMultiselect = props.hasMultiselect,
259
- showRadioButtons = props.showRadioButtons,
260
- hideSearch = props.hideSearch,
261
- hideTreeHead = props.hideTreeHead,
262
- summary = props.summary,
263
- hideSummary = props.hideSummary,
264
- search = props.search,
265
- searchPlaceholder = props.searchPlaceholder,
266
- onSearchChange = props.onSearchChange,
267
- className = props.className,
268
- scrollHeight = props.scrollHeight,
269
- expandedGroups = props.expandedGroups,
270
- onExpandGroupsChange = props.onExpandGroupsChange,
271
- showEmptyGroups = props.showEmptyGroups,
272
- treeOptions = props.treeOptions,
273
- remainingProps = _objectWithoutProperties(props, _excluded);
274
- var _useReducer = useReducer(treeReducer, {
275
- groupedItems: [],
276
- flatItems: [],
277
- allChecked: false,
278
- searchValue: '',
279
- assetCounts: {},
280
- typeFilter: [],
281
- visibleTypeCounters: [],
282
- emptyGroups: []
283
- }),
284
- _useReducer2 = _slicedToArray(_useReducer, 2),
285
- state = _useReducer2[0],
286
- dispatch = _useReducer2[1];
287
- var treeRef = useRef();
288
- var previousItems = useRef();
289
- var previousGroups = useRef();
290
- var previousSearchValue = useRef('');
291
- var internalExpandedGroups = useRef(expandedGroups);
292
- useEffect(function () {
293
- // Update Tree when items or groups have changed
294
- if (notEqual(previousItems.current, items) || notEqual(previousGroups.current, groups)) {
295
- previousItems.current = items;
296
- previousGroups.current = groups;
297
- var typeCounts = getAssetTypeCounts(items);
298
- dispatch(assetCounted(typeCounts));
299
- var allChecked = checkAllSelected({
300
- items: items,
301
- groups: groups,
302
- selectedItems: selectedItems,
303
- selectedGroups: selectedGroups
304
- }, state.flatItems);
305
- dispatch(allCheckedChanged(allChecked));
306
-
307
- // Get the distinct asset types from the asset list that is passed into the component
308
- // to know which asset type counter to render
309
- dispatch(visibleTypeCountersChanged(Object.keys(typeCounts)));
310
- makeTree(groups, items);
311
- }
312
- }, [items, groups]);
313
- var debouncedMakeTree = debounceFn(function (losGroupos, losItems) {
314
- return makeTree(losGroupos, losItems);
315
- });
316
- useEffect(function () {
317
- // To prevent executing the effect on first render, use a ref to check previous render values
318
- if (notEqual(previousSearchValue.current, state.searchValue)) {
319
- debouncedMakeTree(groups, items);
320
- previousSearchValue.current = state.searchValue;
321
- }
322
- }, [state.searchValue]);
323
- useEffect(function () {
324
- return makeTree(groups, items);
325
- }, [state.typeFilter]);
326
-
327
- // Update tree when empty groups are toggled from outside
328
- useEffect(function () {
329
- return makeTree(groups, items);
330
- }, [showEmptyGroups]);
331
-
332
- // Update "select all" state from outside when groups are selected outside programatically
333
- // without using the "select all" checkbox
334
- useEffect(function () {
335
- var numOfAllGroups = size(groups);
336
- var numOfSelectedGroups = size(selectedGroups);
337
- if (numOfSelectedGroups !== numOfAllGroups && state.allChecked) {
338
- dispatch(allCheckedChanged(false));
339
- } else if (numOfSelectedGroups === numOfAllGroups && !state.allChecked) {
340
- dispatch(allCheckedChanged(true));
96
+ const filterOutByItemId = list => item => !list.includes(item.id);
97
+ const containsItemById = list => item => list.includes(item.id);
98
+ const getFlatItems = (items, searchValue) => flow(filter(filterByName(searchValue)), orderByName)(items);
99
+ const getListIds = list => list.map(listItem => listItem.id);
100
+ export const excludeFromList = (list, itemId) => list.filter(item => item !== itemId);
101
+ const getAssetTypeCounts = items => countBy(item => item.type, items);
102
+ const debounceFn = fn => debounce(SEARCH_DEBOUNCE, fn);
103
+ const filterProps = omit([
104
+ 'expandedGroups',
105
+ 'onExpandGroupsChange',
106
+ 'onSearchChange',
107
+ 'onSelectionChange',
108
+ 'treeOptions',
109
+ ]);
110
+ const customCompare = (prevProps, nextProps) => isEqual(filterProps(prevProps), filterProps(nextProps));
111
+ const assetCounted = payload => ({ type: 'assetCounted', payload });
112
+ const allCheckedChanged = payload => ({ type: 'allCheckedChanged', payload });
113
+ const searchValueChanged = payload => ({ type: 'searchValueChanged', payload });
114
+ const flatItemsChanged = payload => ({ type: 'flatItemsChanged', payload });
115
+ const groupedItemsChanged = payload => ({ type: 'groupedItemsChanged', payload });
116
+ const typeFilterChanged = payload => ({ type: 'typeFilterChanged', payload });
117
+ const visibleTypeCountersChanged = payload => ({ type: 'visibleTypeCountersChanged', payload });
118
+ const emptyGroupsChanged = payload => ({ type: 'emptyGroupsChanged', payload });
119
+ const treeReducer = (state, action) => {
120
+ switch (action.type) {
121
+ case 'assetCounted':
122
+ return Object.assign(Object.assign({}, state), { assetCounts: action.payload });
123
+ case 'allCheckedChanged':
124
+ return Object.assign(Object.assign({}, state), { allChecked: action.payload });
125
+ case 'searchValueChanged':
126
+ return Object.assign(Object.assign({}, state), { searchValue: action.payload, allChecked: false });
127
+ case 'flatItemsChanged':
128
+ return Object.assign(Object.assign({}, state), { flatItems: action.payload });
129
+ case 'groupedItemsChanged':
130
+ return Object.assign(Object.assign({}, state), { groupedItems: action.payload });
131
+ case 'typeFilterChanged':
132
+ return Object.assign(Object.assign({}, state), { typeFilter: action.payload });
133
+ case 'visibleTypeCountersChanged':
134
+ return Object.assign(Object.assign({}, state), { visibleTypeCounters: action.payload });
135
+ case 'emptyGroupsChanged':
136
+ return Object.assign(Object.assign({}, state), { emptyGroups: action.payload });
137
+ default:
138
+ throw new Error();
341
139
  }
342
- }, [selectedGroups]);
343
- var checkAllSelected = function checkAllSelected(updatedProps, flatItems) {
344
- var updatedItems = updatedProps.items,
345
- updatedGroups = updatedProps.groups,
346
- updatedSelectedItems = updatedProps.selectedItems,
347
- updatedSelectedGroups = updatedProps.selectedGroups;
348
- if (!hasGroups() && isEmpty(updatedSelectedItems) || hasNoSearchAndGroups() && isEmpty(updatedSelectedGroups) || hasSearchAndGroups() && isEmpty(updatedSelectedItems)) {
349
- return false;
350
- }
351
- if (hasNoSearchAndGroups()) {
352
- var unselectedGroups = filter(filterOutByItemId(updatedSelectedGroups))(updatedGroups);
353
- return isEmpty(unselectedGroups);
354
- } else if (hasSearchAndGroups()) {
355
- var unselectedSearchItems = filter(filterOutByItemId(updatedSelectedItems))(flatItems);
356
- return isEmpty(unselectedSearchItems);
357
- }
358
- var unselectedItems = updatedItems.filter(filterOutByItemId(updatedSelectedItems));
359
- return isEmpty(unselectedItems);
360
- };
361
- var handleToggleNode = function handleToggleNode(nodeId) {
362
- var newExpandedNodes = internalExpandedGroups.current.includes(nodeId) ? internalExpandedGroups.current.filter(function (item) {
363
- return item !== nodeId;
364
- }) : [].concat(_toConsumableArray(internalExpandedGroups.current), [nodeId]);
365
-
366
- // Performance improvement to skip on render cycle and change "open" class directly
367
- if (internalExpandedGroups.current.includes(nodeId)) {
368
- getNodeContainerDomElementById(nodeId).classList.remove('open');
369
- } else {
370
- getNodeContainerDomElementById(nodeId).classList.add('open');
371
- }
372
- internalExpandedGroups.current = newExpandedNodes;
373
- onExpandGroupsChange(newExpandedNodes);
374
- };
375
- var getNodeContainerDomElementById = function getNodeContainerDomElementById(nodeId) {
376
- return treeRef.current.querySelector(".TreeNodeContainer[data-id=\"".concat(nodeId, "\"]"));
377
- };
378
- var selectAllSearchResultItems = function selectAllSearchResultItems(shouldSelect) {
379
- return selectAllFlatItems(shouldSelect);
380
- };
381
- var handeSelectAll = function handeSelectAll(shouldSelect, isIndeterminate) {
382
- var shouldSelectAll = shouldSelect && !isIndeterminate;
383
- dispatch(allCheckedChanged(shouldSelectAll));
384
- cond([[hasNoSearchAndGroups, function () {
385
- return selectAllGroups(shouldSelectAll);
386
- }], [hasSearchAndGroups, function () {
387
- return selectAllSearchResultItems(shouldSelectAll);
388
- }], [otherwise, function () {
389
- return selectAllFlatItems(shouldSelectAll);
390
- }]])();
391
- };
392
- var selectAllGroups = function selectAllGroups(shouldSelect) {
393
- return respondSelection([], shouldSelect ? getListIds(groups) : []);
394
- };
395
- var selectAllFlatItems = function selectAllFlatItems(shouldSelect) {
396
- return respondSelection(shouldSelect ? getListIds(state.flatItems) : [], []);
397
- };
398
- var respondSelection = function respondSelection(updatedSelectedItems, updatedSelectedGroups) {
399
- onSelectionChange({
400
- items: updatedSelectedItems,
401
- groups: updatedSelectedGroups
140
+ };
141
+ const Tree = React.memo(props => {
142
+ const { groups, items, selectedGroups, selectedItems, onSelectionChange, hasMultiselect, showRadioButtons, hideSearch, hideTreeHead, summary, hideSummary, search, searchPlaceholder, onSearchChange, className, scrollHeight, expandedGroups, onExpandGroupsChange, showEmptyGroups, treeOptions } = props, remainingProps = __rest(props, ["groups", "items", "selectedGroups", "selectedItems", "onSelectionChange", "hasMultiselect", "showRadioButtons", "hideSearch", "hideTreeHead", "summary", "hideSummary", "search", "searchPlaceholder", "onSearchChange", "className", "scrollHeight", "expandedGroups", "onExpandGroupsChange", "showEmptyGroups", "treeOptions"]);
143
+ const [state, dispatch] = useReducer(treeReducer, {
144
+ groupedItems: [],
145
+ flatItems: [],
146
+ allChecked: false,
147
+ searchValue: '',
148
+ assetCounts: {},
149
+ typeFilter: [],
150
+ visibleTypeCounters: [],
151
+ emptyGroups: [],
402
152
  });
403
- };
404
- var handleGroupSelection = function handleGroupSelection(group, isIndeterminate) {
405
- var groupId = group.id;
406
- var isSelected = selectedGroups.includes(groupId);
407
- var shouldSelectGroup = !isSelected && !isIndeterminate;
408
-
409
- // handle group selection
410
- var newSelectedGroups = shouldSelectGroup ? [].concat(_toConsumableArray(selectedGroups), [groupId]) : excludeFromList(selectedGroups, groupId);
411
-
412
- // deselect all items of a node since they will be selected inherently via the group itself
413
- var itemsInGroup = find(function (entry) {
414
- return entry.id === groupId;
415
- })(state.groupedItems);
416
- var itemIdsOfGroup = map(function (item) {
417
- return item.id;
418
- })(itemsInGroup.items);
419
- var updatedSelectedItems = without(itemIdsOfGroup, selectedItems);
420
-
421
- // check if all groups are selected to change the state of TreeSelectAll
422
- var groupAmount = groups.length;
423
- var emptyGroupAmount = showEmptyGroups ? 0 : state.emptyGroups.length;
424
- var totalGroupAmount = groupAmount - emptyGroupAmount;
425
- var areAllGroupsChecked = totalGroupAmount === newSelectedGroups.length;
426
- dispatch(allCheckedChanged(areAllGroupsChecked));
427
- respondSelection(updatedSelectedItems, newSelectedGroups);
428
- };
429
- var handleSearchChange = function handleSearchChange(updatedSearchValue) {
430
- onSearchChange(updatedSearchValue);
431
- dispatch(searchValueChanged(updatedSearchValue));
432
- };
433
- var hasGroups = function hasGroups() {
434
- return groups && notEmpty(groups);
435
- };
436
- var hasSearchAndGroups = function hasSearchAndGroups() {
437
- return hasInternalSearchValue() && hasGroups();
438
- };
439
- var hasNoSearchAndGroups = function hasNoSearchAndGroups() {
440
- return !hasInternalSearchValue() && hasGroups();
441
- };
442
- var setFlatItemList = function setFlatItemList(updtedItems, searchValue) {
443
- var flatItems = getFlatItems(updtedItems, searchValue);
444
- dispatch(assetCounted(getAssetTypeCounts(flatItems)));
445
- dispatch(flatItemsChanged(flatItems));
446
- };
447
- var setGroupedItemList = function setGroupedItemList(groupsToProcess, itemsToProcess, considerEmptyGroups) {
448
- // Map items to groups with filtered items
449
- var mappedItemsToGroups = getMappedItemsToGroups(groupsToProcess, itemsToProcess);
450
- var newGroupedItems = flow(sortGroupsByName, sortGroupItemsByName)(mappedItemsToGroups);
451
- var groupedItems = considerEmptyGroups ? newGroupedItems : filterEmptyGroups(newGroupedItems);
452
-
453
- // Keep the empty groups in memory for later access in select all, without re-iterating on every
454
- // group selection
455
- var emptyGroups = filter(function (group) {
456
- return isEmpty(group.items);
457
- })(newGroupedItems);
458
- dispatch(emptyGroupsChanged(emptyGroups));
459
- dispatch(assetCounted(getAssetTypeCounts(items)));
460
- dispatch(groupedItemsChanged(groupedItems));
461
- };
462
- var makeTree = function makeTree(updatedGroups, updatedItems) {
463
- var internalSearchValue = state.searchValue;
464
- var internalTypeFilter = state.typeFilter;
465
- var groupsToProcess = updatedGroups;
466
- var itemsToProcess = updatedItems;
467
- var hasGroupList = function hasGroupList(groupList) {
468
- return groupList && notEmpty(groupList);
153
+ const treeRef = useRef();
154
+ const previousItems = useRef();
155
+ const previousGroups = useRef();
156
+ const previousSearchValue = useRef('');
157
+ const internalExpandedGroups = useRef(expandedGroups);
158
+ useEffect(() => {
159
+ // Update Tree when items or groups have changed
160
+ if (notEqual(previousItems.current, items) || notEqual(previousGroups.current, groups)) {
161
+ previousItems.current = items;
162
+ previousGroups.current = groups;
163
+ const typeCounts = getAssetTypeCounts(items);
164
+ dispatch(assetCounted(typeCounts));
165
+ const allChecked = checkAllSelected({ items, groups, selectedItems, selectedGroups }, state.flatItems);
166
+ dispatch(allCheckedChanged(allChecked));
167
+ // Get the distinct asset types from the asset list that is passed into the component
168
+ // to know which asset type counter to render
169
+ dispatch(visibleTypeCountersChanged(Object.keys(typeCounts)));
170
+ makeTree(groups, items);
171
+ }
172
+ }, [items, groups]);
173
+ const debouncedMakeTree = debounceFn((losGroupos, losItems) => makeTree(losGroupos, losItems));
174
+ useEffect(() => {
175
+ // To prevent executing the effect on first render, use a ref to check previous render values
176
+ if (notEqual(previousSearchValue.current, state.searchValue)) {
177
+ debouncedMakeTree(groups, items);
178
+ previousSearchValue.current = state.searchValue;
179
+ }
180
+ }, [state.searchValue]);
181
+ useEffect(() => makeTree(groups, items), [state.typeFilter]);
182
+ // Update tree when empty groups are toggled from outside
183
+ useEffect(() => makeTree(groups, items), [showEmptyGroups]);
184
+ // Update "select all" state from outside when groups are selected outside programatically
185
+ // without using the "select all" checkbox
186
+ useEffect(() => {
187
+ const numOfAllGroups = size(groups);
188
+ const numOfSelectedGroups = size(selectedGroups);
189
+ if (numOfSelectedGroups !== numOfAllGroups && state.allChecked) {
190
+ dispatch(allCheckedChanged(false));
191
+ }
192
+ else if (numOfSelectedGroups === numOfAllGroups && !state.allChecked) {
193
+ dispatch(allCheckedChanged(true));
194
+ }
195
+ }, [selectedGroups]);
196
+ const checkAllSelected = (updatedProps, flatItems) => {
197
+ const { items: updatedItems, groups: updatedGroups, selectedItems: updatedSelectedItems, selectedGroups: updatedSelectedGroups, } = updatedProps;
198
+ if ((!hasGroups() && isEmpty(updatedSelectedItems)) ||
199
+ (hasNoSearchAndGroups() && isEmpty(updatedSelectedGroups)) ||
200
+ (hasSearchAndGroups() && isEmpty(updatedSelectedItems))) {
201
+ return false;
202
+ }
203
+ if (hasNoSearchAndGroups()) {
204
+ const unselectedGroups = filter(filterOutByItemId(updatedSelectedGroups))(updatedGroups);
205
+ return isEmpty(unselectedGroups);
206
+ }
207
+ else if (hasSearchAndGroups()) {
208
+ const unselectedSearchItems = filter(filterOutByItemId(updatedSelectedItems))(flatItems);
209
+ return isEmpty(unselectedSearchItems);
210
+ }
211
+ const unselectedItems = updatedItems.filter(filterOutByItemId(updatedSelectedItems));
212
+ return isEmpty(unselectedItems);
469
213
  };
470
- var hasNoInternalSearchAndGroups = function hasNoInternalSearchAndGroups() {
471
- return isEmpty(internalSearchValue) && hasGroupList(groupsToProcess);
214
+ const handleToggleNode = nodeId => {
215
+ const newExpandedNodes = internalExpandedGroups.current.includes(nodeId)
216
+ ? internalExpandedGroups.current.filter(item => item !== nodeId)
217
+ : [...internalExpandedGroups.current, nodeId];
218
+ // Performance improvement to skip on render cycle and change "open" class directly
219
+ if (internalExpandedGroups.current.includes(nodeId)) {
220
+ getNodeContainerDomElementById(nodeId).classList.remove('open');
221
+ }
222
+ else {
223
+ getNodeContainerDomElementById(nodeId).classList.add('open');
224
+ }
225
+ internalExpandedGroups.current = newExpandedNodes;
226
+ onExpandGroupsChange(newExpandedNodes);
472
227
  };
473
- var hasInternalSearchAndGroups = function hasInternalSearchAndGroups() {
474
- return notEmpty(internalSearchValue) && hasGroupList(groupsToProcess);
228
+ const getNodeContainerDomElementById = nodeId => {
229
+ return treeRef.current.querySelector(`.TreeNodeContainer[data-id="${nodeId}"]`);
475
230
  };
476
- var filteredItems = isEmpty(internalTypeFilter) ? itemsToProcess : filterAssetByType(internalTypeFilter)(itemsToProcess);
477
- var setGroupedItems = function setGroupedItems() {
478
- return setGroupedItemList(groupsToProcess, filteredItems, showEmptyGroups);
231
+ const selectAllSearchResultItems = shouldSelect => selectAllFlatItems(shouldSelect);
232
+ const handeSelectAll = (shouldSelect, isIndeterminate) => {
233
+ const shouldSelectAll = shouldSelect && !isIndeterminate;
234
+ dispatch(allCheckedChanged(shouldSelectAll));
235
+ cond([
236
+ [hasNoSearchAndGroups, () => selectAllGroups(shouldSelectAll)],
237
+ [hasSearchAndGroups, () => selectAllSearchResultItems(shouldSelectAll)],
238
+ [otherwise, () => selectAllFlatItems(shouldSelectAll)],
239
+ ])();
479
240
  };
480
- var setFlatItems = function setFlatItems() {
481
- return setFlatItemList(filteredItems, internalSearchValue);
241
+ const selectAllGroups = shouldSelect => respondSelection([], shouldSelect ? getListIds(groups) : []);
242
+ const selectAllFlatItems = shouldSelect => respondSelection(shouldSelect ? getListIds(state.flatItems) : [], []);
243
+ const respondSelection = (updatedSelectedItems, updatedSelectedGroups) => {
244
+ onSelectionChange({ items: updatedSelectedItems, groups: updatedSelectedGroups });
482
245
  };
483
- cond([[hasNoInternalSearchAndGroups, setGroupedItems], [hasInternalSearchAndGroups, setFlatItems], [otherwise, setFlatItems]])();
484
- };
485
- var renderTree = function renderTree() {
486
- var groupedItems = state.groupedItems;
487
- if (isEmpty(groupedItems)) {
488
- return /*#__PURE__*/React.createElement(TreeNothingFound, null);
489
- }
490
- var result = map(function (group) {
491
- var groupId = group.id;
492
- var groupItems = group.items;
493
- var isOpen = expandedGroups.includes(groupId);
494
- var numSelectedGroupItems = filter(containsItemById(selectedItems))(groupItems).length;
495
- var isGroupSelected = selectedGroups.includes(groupId);
496
- var isIndeterminate = !isGroupSelected && numSelectedGroupItems > 0;
497
- return /*#__PURE__*/React.createElement(TreeNodeContainer, {
498
- key: groupId,
499
- groupId: groupId,
500
- isOpen: isOpen
501
- }, /*#__PURE__*/React.createElement(TreeNode, {
502
- node: group,
503
- hasMultiselect: hasMultiselect,
504
- onToggleNode: handleToggleNode,
505
- onSelect: handleGroupSelection,
506
- isSelected: isGroupSelected,
507
- isIndeterminate: isIndeterminate
508
- }), /*#__PURE__*/React.createElement(TreeLeafList, {
509
- leafList: groupItems,
510
- hasMultiselect: hasMultiselect,
511
- showRadioButtons: showRadioButtons,
512
- selectedItems: selectedItems,
513
- selectedGroups: selectedGroups,
514
- onSelectionChange: respondSelection
515
- }));
516
- })(groupedItems);
517
- return result;
518
- };
519
- var renderFlatList = function renderFlatList() {
520
- var flatItems = state.flatItems;
521
- var hasLeafs = isEmpty(flatItems);
522
- var getLeafs = function getLeafs() {
523
- return /*#__PURE__*/React.createElement(TreeLeafList, {
524
- leafList: flatItems,
525
- hasMultiselect: hasMultiselect,
526
- showRadioButtons: showRadioButtons,
527
- selectedItems: selectedItems,
528
- selectedGroups: selectedGroups,
529
- onSelectionChange: respondSelection
530
- });
246
+ const handleGroupSelection = (group, isIndeterminate) => {
247
+ const groupId = group.id;
248
+ const isSelected = selectedGroups.includes(groupId);
249
+ const shouldSelectGroup = !isSelected && !isIndeterminate;
250
+ // handle group selection
251
+ const newSelectedGroups = shouldSelectGroup
252
+ ? [...selectedGroups, groupId]
253
+ : excludeFromList(selectedGroups, groupId);
254
+ // deselect all items of a node since they will be selected inherently via the group itself
255
+ const itemsInGroup = find(entry => entry.id === groupId)(state.groupedItems);
256
+ const itemIdsOfGroup = map(item => item.id)(itemsInGroup.items);
257
+ const updatedSelectedItems = without(itemIdsOfGroup, selectedItems);
258
+ // check if all groups are selected to change the state of TreeSelectAll
259
+ const groupAmount = groups.length;
260
+ const emptyGroupAmount = showEmptyGroups ? 0 : state.emptyGroups.length;
261
+ const totalGroupAmount = groupAmount - emptyGroupAmount;
262
+ const areAllGroupsChecked = totalGroupAmount === newSelectedGroups.length;
263
+ dispatch(allCheckedChanged(areAllGroupsChecked));
264
+ respondSelection(updatedSelectedItems, newSelectedGroups);
531
265
  };
532
- return /*#__PURE__*/React.createElement(TreeNodeContainer, {
533
- isOpen: true
534
- }, hasLeafs ? /*#__PURE__*/React.createElement(TreeNothingFound, null) : getLeafs());
535
- };
536
- var hasExternalGroups = notEmpty(groups);
537
- var hasInternalSearchValue = function hasInternalSearchValue() {
538
- return notEmpty(state.searchValue);
539
- };
540
- var hasSelectedAllItems = function hasSelectedAllItems() {
541
- return isEqual(size(selectedItems), size(state.flatItems));
542
- };
543
- var hasPartialySelectedItems = function hasPartialySelectedItems() {
544
- return notEmpty(selectedItems) && !hasSelectedAllItems();
545
- };
546
- var hasSelectedAllGroups = function hasSelectedAllGroups() {
547
- var emptyGroupAmount = showEmptyGroups ? 0 : state.emptyGroups.length;
548
- return isEqual(size(selectedGroups), size(groups) - emptyGroupAmount);
549
- };
550
- var hasPartialySelectedGroups = function hasPartialySelectedGroups() {
551
- return hasExternalGroups && notEmpty(selectedGroups) && !hasSelectedAllGroups();
552
- };
553
- var hasSearchAndNoItems = hasInternalSearchValue() && isEmpty(state.flatItems);
554
- var hasSearchAndNoGroups = hasInternalSearchValue() && isEmpty(state.groupedItems) && hasExternalGroups;
555
- var hideSelectAll = hasSearchAndNoItems || hasSearchAndNoGroups;
556
- var isIndeterminate = hasPartialySelectedGroups() || hasPartialySelectedItems();
557
- var treeClassNames = classNames('Tree', className);
558
- var treeHeadClasses = classNames('TreeHead', 'display-flex align-items-center', 'padding-15');
559
- var shouldRenderTree = function shouldRenderTree() {
560
- return hasGroups() && !hasInternalSearchValue();
561
- };
562
- var content = cond([[shouldRenderTree, function () {
563
- return renderTree();
564
- }], [otherwise, function () {
565
- return renderFlatList();
566
- }]])();
567
- var handleFilterByType = function handleFilterByType(type) {
568
- var currentTypeFilter = new Set(state.typeFilter);
569
- if (currentTypeFilter.has(type)) {
570
- currentTypeFilter["delete"](type);
571
- } else {
572
- currentTypeFilter.add(type);
573
- }
574
- dispatch(typeFilterChanged(_toConsumableArray(currentTypeFilter)));
575
- };
576
- var isClickable = size(keys(state.assetCounts)) > 1;
577
- var isFilterActive = notEmpty(state.typeFilter);
578
- var showTreeHead = !hideTreeHead;
579
- var showSelectAll = !hideSelectAll;
580
- var showSearch = !hideSearch;
581
- var showSummary = !hideSummary;
582
- var hasCustomSearch = !isNil(search);
583
- return /*#__PURE__*/React.createElement("div", _extends({}, remainingProps, {
584
- className: treeClassNames,
585
- ref: treeRef
586
- }), /*#__PURE__*/React.createElement("div", {
587
- className: "TreeHeader"
588
- }, showSearch && !hasCustomSearch && /*#__PURE__*/React.createElement(TreeSearch, {
589
- value: state.searchValue,
590
- onChange: handleSearchChange,
591
- placeholder: searchPlaceholder
592
- }), hasCustomSearch && search, showTreeHead && /*#__PURE__*/React.createElement("div", {
593
- className: treeHeadClasses
594
- }, showSelectAll && /*#__PURE__*/React.createElement(TreeSelectAll, {
595
- isChecked: state.allChecked,
596
- isEnabled: hasMultiselect,
597
- isIndeterminate: isIndeterminate,
598
- onSelect: handeSelectAll
599
- }), showSelectAll && hasMultiselect && showSummary && /*#__PURE__*/React.createElement(Divider, null), /*#__PURE__*/React.createElement("div", {
600
- className: "display-flex justify-content-between align-items-center width-100pct"
601
- }, showSummary ? summary || /*#__PURE__*/React.createElement(TreeSummary, null, map(function (typeCounter) {
602
- return /*#__PURE__*/React.createElement(TypeCounter, {
603
- key: typeCounter,
604
- type: typeCounter,
605
- icon: "".concat(typeCounter),
606
- value: state.assetCounts[typeCounter],
607
- onClick: handleFilterByType,
608
- isActive: state.typeFilter.includes(typeCounter),
609
- hasFilter: isFilterActive,
610
- enableActivity: isClickable
611
- });
612
- })(state.visibleTypeCounters)) : null, /*#__PURE__*/React.createElement(TreeOptions, {
613
- treeOptions: treeOptions
614
- })))), /*#__PURE__*/React.createElement(TreeRoot, {
615
- maxHeight: scrollHeight
616
- }, content));
266
+ const handleSearchChange = updatedSearchValue => {
267
+ onSearchChange(updatedSearchValue);
268
+ dispatch(searchValueChanged(updatedSearchValue));
269
+ };
270
+ const hasGroups = () => groups && notEmpty(groups);
271
+ const hasSearchAndGroups = () => hasInternalSearchValue() && hasGroups();
272
+ const hasNoSearchAndGroups = () => !hasInternalSearchValue() && hasGroups();
273
+ const setFlatItemList = (updtedItems, searchValue) => {
274
+ const flatItems = getFlatItems(updtedItems, searchValue);
275
+ dispatch(assetCounted(getAssetTypeCounts(flatItems)));
276
+ dispatch(flatItemsChanged(flatItems));
277
+ };
278
+ const setGroupedItemList = (groupsToProcess, itemsToProcess, considerEmptyGroups) => {
279
+ // Map items to groups with filtered items
280
+ const mappedItemsToGroups = getMappedItemsToGroups(groupsToProcess, itemsToProcess);
281
+ const newGroupedItems = flow(sortGroupsByName, sortGroupItemsByName)(mappedItemsToGroups);
282
+ const groupedItems = considerEmptyGroups ? newGroupedItems : filterEmptyGroups(newGroupedItems);
283
+ // Keep the empty groups in memory for later access in select all, without re-iterating on every
284
+ // group selection
285
+ const emptyGroups = filter(group => isEmpty(group.items))(newGroupedItems);
286
+ dispatch(emptyGroupsChanged(emptyGroups));
287
+ dispatch(assetCounted(getAssetTypeCounts(items)));
288
+ dispatch(groupedItemsChanged(groupedItems));
289
+ };
290
+ const makeTree = (updatedGroups, updatedItems) => {
291
+ const internalSearchValue = state.searchValue;
292
+ const internalTypeFilter = state.typeFilter;
293
+ const groupsToProcess = updatedGroups;
294
+ const itemsToProcess = updatedItems;
295
+ const hasGroupList = groupList => groupList && notEmpty(groupList);
296
+ const hasNoInternalSearchAndGroups = () => isEmpty(internalSearchValue) && hasGroupList(groupsToProcess);
297
+ const hasInternalSearchAndGroups = () => notEmpty(internalSearchValue) && hasGroupList(groupsToProcess);
298
+ const filteredItems = isEmpty(internalTypeFilter)
299
+ ? itemsToProcess
300
+ : filterAssetByType(internalTypeFilter)(itemsToProcess);
301
+ const setGroupedItems = () => setGroupedItemList(groupsToProcess, filteredItems, showEmptyGroups);
302
+ const setFlatItems = () => setFlatItemList(filteredItems, internalSearchValue);
303
+ cond([
304
+ [hasNoInternalSearchAndGroups, setGroupedItems],
305
+ [hasInternalSearchAndGroups, setFlatItems],
306
+ [otherwise, setFlatItems],
307
+ ])();
308
+ };
309
+ const renderTree = () => {
310
+ const { groupedItems } = state;
311
+ if (isEmpty(groupedItems)) {
312
+ return _jsx(TreeNothingFound, {});
313
+ }
314
+ const result = map(group => {
315
+ const groupId = group.id;
316
+ const groupItems = group.items;
317
+ const isOpen = expandedGroups.includes(groupId);
318
+ const numSelectedGroupItems = filter(containsItemById(selectedItems))(groupItems).length;
319
+ const isGroupSelected = selectedGroups.includes(groupId);
320
+ const isIndeterminate = !isGroupSelected && numSelectedGroupItems > 0;
321
+ return (_jsxs(TreeNodeContainer, Object.assign({ groupId: groupId, isOpen: isOpen }, { children: [_jsx(TreeNode, { node: group, hasMultiselect: hasMultiselect, onToggleNode: handleToggleNode, onSelect: handleGroupSelection, isSelected: isGroupSelected, isIndeterminate: isIndeterminate }), _jsx(TreeLeafList, { leafList: groupItems, hasMultiselect: hasMultiselect, showRadioButtons: showRadioButtons, selectedItems: selectedItems, selectedGroups: selectedGroups, onSelectionChange: respondSelection })] }), groupId));
322
+ })(groupedItems);
323
+ return result;
324
+ };
325
+ const renderFlatList = () => {
326
+ const { flatItems } = state;
327
+ const hasLeafs = isEmpty(flatItems);
328
+ const getLeafs = () => (_jsx(TreeLeafList, { leafList: flatItems, hasMultiselect: hasMultiselect, showRadioButtons: showRadioButtons, selectedItems: selectedItems, selectedGroups: selectedGroups, onSelectionChange: respondSelection }));
329
+ return _jsx(TreeNodeContainer, Object.assign({ isOpen: true }, { children: hasLeafs ? _jsx(TreeNothingFound, {}) : getLeafs() }));
330
+ };
331
+ const hasExternalGroups = notEmpty(groups);
332
+ const hasInternalSearchValue = () => notEmpty(state.searchValue);
333
+ const hasSelectedAllItems = () => isEqual(size(selectedItems), size(state.flatItems));
334
+ const hasPartialySelectedItems = () => notEmpty(selectedItems) && !hasSelectedAllItems();
335
+ const hasSelectedAllGroups = () => {
336
+ const emptyGroupAmount = showEmptyGroups ? 0 : state.emptyGroups.length;
337
+ return isEqual(size(selectedGroups), size(groups) - emptyGroupAmount);
338
+ };
339
+ const hasPartialySelectedGroups = () => hasExternalGroups && notEmpty(selectedGroups) && !hasSelectedAllGroups();
340
+ const hasSearchAndNoItems = hasInternalSearchValue() && isEmpty(state.flatItems);
341
+ const hasSearchAndNoGroups = hasInternalSearchValue() && isEmpty(state.groupedItems) && hasExternalGroups;
342
+ const hideSelectAll = hasSearchAndNoItems || hasSearchAndNoGroups;
343
+ const isIndeterminate = hasPartialySelectedGroups() || hasPartialySelectedItems();
344
+ const treeClassNames = classNames('Tree', className);
345
+ const treeHeadClasses = classNames('TreeHead', 'display-flex align-items-center', 'padding-15');
346
+ const shouldRenderTree = () => hasGroups() && !hasInternalSearchValue();
347
+ const content = cond([
348
+ [shouldRenderTree, () => renderTree()],
349
+ [otherwise, () => renderFlatList()],
350
+ ])();
351
+ const handleFilterByType = type => {
352
+ const currentTypeFilter = new Set(state.typeFilter);
353
+ if (currentTypeFilter.has(type)) {
354
+ currentTypeFilter.delete(type);
355
+ }
356
+ else {
357
+ currentTypeFilter.add(type);
358
+ }
359
+ dispatch(typeFilterChanged([...currentTypeFilter]));
360
+ };
361
+ const isClickable = size(keys(state.assetCounts)) > 1;
362
+ const isFilterActive = notEmpty(state.typeFilter);
363
+ const showTreeHead = !hideTreeHead;
364
+ const showSelectAll = !hideSelectAll;
365
+ const showSearch = !hideSearch;
366
+ const showSummary = !hideSummary;
367
+ const hasCustomSearch = !isNil(search);
368
+ return (_jsxs("div", Object.assign({}, remainingProps, { className: treeClassNames, ref: treeRef }, { children: [_jsxs("div", Object.assign({ className: 'TreeHeader' }, { children: [showSearch && !hasCustomSearch && (_jsx(TreeSearch, { value: state.searchValue, onChange: handleSearchChange, placeholder: searchPlaceholder })), hasCustomSearch && search, showTreeHead && (_jsxs("div", Object.assign({ className: treeHeadClasses }, { children: [showSelectAll && (_jsx(TreeSelectAll, { isChecked: state.allChecked, isEnabled: hasMultiselect, isIndeterminate: isIndeterminate, onSelect: handeSelectAll })), showSelectAll && hasMultiselect && showSummary && _jsx(Divider, {}), _jsxs("div", Object.assign({ className: 'display-flex justify-content-between align-items-center width-100pct' }, { children: [showSummary
369
+ ? summary || (_jsx(TreeSummary, { children: map(typeCounter => (_jsx(TypeCounter, { type: typeCounter, icon: `${typeCounter}`, value: state.assetCounts[typeCounter], onClick: handleFilterByType, isActive: state.typeFilter.includes(typeCounter), hasFilter: isFilterActive, enableActivity: isClickable }, typeCounter)))(state.visibleTypeCounters) }))
370
+ : null, _jsx(TreeOptions, { treeOptions: treeOptions })] }))] })))] })), _jsx(TreeRoot, Object.assign({ maxHeight: scrollHeight }, { children: content }))] })));
617
371
  }, customCompare);
618
372
  Tree.displayName = 'Tree';
619
373
  Tree.defaultProps = {
620
- hasMultiselect: true,
621
- showRadioButtons: false,
622
- hideSearch: false,
623
- hideSummary: false,
624
- showEmptyGroups: true,
625
- selectedGroups: [],
626
- selectedItems: [],
627
- onSelectionChange: function onSelectionChange() {},
628
- onExpandGroupsChange: function onExpandGroupsChange() {},
629
- onSearchChange: function onSearchChange() {},
630
- searchPlaceholder: 'Type here to filter by name',
631
- treeOptions: [],
632
- groups: []
374
+ hasMultiselect: true,
375
+ showRadioButtons: false,
376
+ hideSearch: false,
377
+ hideSummary: false,
378
+ showEmptyGroups: true,
379
+ selectedGroups: [],
380
+ selectedItems: [],
381
+ onSelectionChange: () => { },
382
+ onExpandGroupsChange: () => { },
383
+ onSearchChange: () => { },
384
+ searchPlaceholder: 'Type here to filter by name',
385
+ treeOptions: [],
386
+ groups: [],
633
387
  };
634
388
  Tree.propTypes = {
635
- groups: PropTypes.arrayOf(PropTypes.shape({
636
- id: PropTypes.string.isRequired,
637
- name: PropTypes.string.isRequired,
638
- icon: PropTypes.string,
639
- className: PropTypes.string
640
- })),
641
- items: PropTypes.arrayOf(PropTypes.shape({
642
- id: PropTypes.string.isRequired,
643
- name: PropTypes.oneOfType([PropTypes.string, PropTypes.shape({
644
- firstName: PropTypes.string,
645
- lastName: PropTypes.string.isRequired
646
- })]).isRequired,
647
- info: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
648
- type: PropTypes.string.isRequired,
649
- groupIds: PropTypes.arrayOf(PropTypes.string),
650
- className: PropTypes.string
651
- })),
652
- selectedGroups: PropTypes.arrayOf(PropTypes.string),
653
- selectedItems: PropTypes.arrayOf(PropTypes.string),
654
- onSelectionChange: PropTypes.func,
655
- hasMultiselect: PropTypes.bool,
656
- showRadioButtons: PropTypes.bool,
657
- hideSearch: PropTypes.bool,
658
- summary: PropTypes.node,
659
- hideSummary: PropTypes.bool,
660
- hideTreeHead: PropTypes.bool,
661
- // This defines a custom search component.
662
- search: PropTypes.node,
663
- searchPlaceholder: PropTypes.string,
664
- onSearchChange: PropTypes.func,
665
- className: PropTypes.string,
666
- scrollHeight: PropTypes.number,
667
- expandedGroups: PropTypes.arrayOf(PropTypes.string),
668
- onExpandGroupsChange: PropTypes.func,
669
- showEmptyGroups: PropTypes.bool,
670
- treeOptions: PropTypes.arrayOf(PropTypes.node)
389
+ groups: PropTypes.arrayOf(PropTypes.shape({
390
+ id: PropTypes.string.isRequired,
391
+ name: PropTypes.string.isRequired,
392
+ icon: PropTypes.string,
393
+ className: PropTypes.string,
394
+ })),
395
+ items: PropTypes.arrayOf(PropTypes.shape({
396
+ id: PropTypes.string.isRequired,
397
+ name: PropTypes.oneOfType([
398
+ PropTypes.string,
399
+ PropTypes.shape({
400
+ firstName: PropTypes.string,
401
+ lastName: PropTypes.string.isRequired,
402
+ }),
403
+ ]).isRequired,
404
+ info: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
405
+ type: PropTypes.string.isRequired,
406
+ groupIds: PropTypes.arrayOf(PropTypes.string),
407
+ className: PropTypes.string,
408
+ })),
409
+ selectedGroups: PropTypes.arrayOf(PropTypes.string),
410
+ selectedItems: PropTypes.arrayOf(PropTypes.string),
411
+ onSelectionChange: PropTypes.func,
412
+ hasMultiselect: PropTypes.bool,
413
+ showRadioButtons: PropTypes.bool,
414
+ hideSearch: PropTypes.bool,
415
+ summary: PropTypes.node,
416
+ hideSummary: PropTypes.bool,
417
+ hideTreeHead: PropTypes.bool,
418
+ // This defines a custom search component.
419
+ search: PropTypes.node,
420
+ searchPlaceholder: PropTypes.string,
421
+ onSearchChange: PropTypes.func,
422
+ className: PropTypes.string,
423
+ scrollHeight: PropTypes.number,
424
+ expandedGroups: PropTypes.arrayOf(PropTypes.string),
425
+ onExpandGroupsChange: PropTypes.func,
426
+ showEmptyGroups: PropTypes.bool,
427
+ treeOptions: PropTypes.arrayOf(PropTypes.node),
671
428
  };
672
- export default Tree;
429
+ export default Tree;