@rio-cloud/rio-uikit 0.16.3 → 0.16.4-beta.10

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 (2136) 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 +2 -2
  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 +2 -2
  25. package/AreaChart.js +2 -2
  26. package/AreaGradient.js +2 -2
  27. package/AspectRatioPlaceholder.d.ts +2 -5
  28. package/AspectRatioPlaceholder.js +2 -2
  29. package/AssetTree.js +2 -2
  30. package/AutoSuggest.d.ts +2 -6
  31. package/AutoSuggest.js +2 -2
  32. package/Bar.js +2 -2
  33. package/BarChart.js +2 -2
  34. package/BottomSheet.d.ts +2 -5
  35. package/BottomSheet.js +2 -2
  36. package/BrowserWarning.js +2 -2
  37. package/Button.d.ts +2 -27
  38. package/Button.js +2 -2
  39. package/ButtonDropdown.js +2 -2
  40. package/CalendarStripe.js +2 -2
  41. package/Carousel.js +2 -2
  42. package/ChartNeedle.js +2 -2
  43. package/ChartTooltip.js +2 -2
  44. package/Checkbox.d.ts +2 -5
  45. package/Checkbox.js +2 -2
  46. package/Circle.js +2 -2
  47. package/ClearableInput.d.ts +2 -5
  48. package/ClearableInput.js +2 -2
  49. package/ClusterLayer.js +2 -2
  50. package/ClusterMapMarker.js +2 -2
  51. package/ClusterUtils.js +2 -2
  52. package/Collapse.js +2 -2
  53. package/ColorScheme.js +2 -2
  54. package/Colors.js +2 -2
  55. package/ConfirmationDialog.js +2 -2
  56. package/ContentLoader.d.ts +2 -8
  57. package/ContentLoader.js +2 -2
  58. package/ContextMenu.js +2 -2
  59. package/ContextMenuItem.js +2 -2
  60. package/CustomState.js +2 -2
  61. package/DataTab.d.ts +2 -5
  62. package/DataTab.js +2 -2
  63. package/DataTabs.d.ts +2 -5
  64. package/DataTabs.js +2 -2
  65. package/DatePicker.js +2 -2
  66. package/DateRangePicker.js +2 -2
  67. package/DeviceUtils.js +2 -2
  68. package/Dialog.js +2 -2
  69. package/DomMarker.js +2 -2
  70. package/DropdownSubmenu.js +2 -2
  71. package/EditableContent.d.ts +2 -0
  72. package/EditableContent.js +2 -0
  73. package/EmptyState.js +2 -2
  74. package/ErrorState.js +2 -2
  75. package/EventUtils.js +2 -2
  76. package/ExpanderList.js +2 -2
  77. package/ExpanderPanel.js +2 -2
  78. package/Fade.js +2 -2
  79. package/FilePicker.js +2 -2
  80. package/ForbiddenState.js +2 -2
  81. package/GroupSelectionUtil.d.ts +2 -0
  82. package/GroupSelectionUtil.js +2 -2
  83. package/ImagePreloader.js +2 -2
  84. package/IncidentsLayer.js +2 -2
  85. package/InfoDialog.js +2 -2
  86. package/LICENSE +201 -201
  87. package/Legend.js +2 -2
  88. package/Line.js +2 -2
  89. package/LineChart.js +2 -2
  90. package/ListMenu.js +2 -2
  91. package/LoadMoreButton.d.ts +2 -5
  92. package/LoadMoreButton.js +2 -2
  93. package/MaintenanceState.js +2 -2
  94. package/Map.js +2 -2
  95. package/MapBoundingBoxButton.js +2 -2
  96. package/MapCenterMarkerButton.js +2 -2
  97. package/MapClusterSettings.js +2 -2
  98. package/MapCustomerPoiSettingsItem.js +2 -2
  99. package/MapLayerGroup.js +2 -2
  100. package/MapLayerIncidentsItem.js +2 -2
  101. package/MapLayerRoadRestrictionsItem.js +2 -2
  102. package/MapLayerSettings.js +2 -2
  103. package/MapLayerTrafficItem.js +2 -2
  104. package/MapLockMarkerButton.js +2 -2
  105. package/MapSettings.js +2 -2
  106. package/MapSettingsItem.js +2 -2
  107. package/MapSettingsPanel.js +2 -2
  108. package/MapSettingsTile.js +2 -2
  109. package/MapTypeSettings.js +2 -2
  110. package/MapWorkshopPoiSettingsItem.js +2 -2
  111. package/Marker.js +2 -2
  112. package/MarkerLayer.js +2 -2
  113. package/MediaDialog.js +2 -2
  114. package/MenuItem.js +2 -2
  115. package/Multiselect.js +2 -2
  116. package/NoData.d.ts +2 -5
  117. package/NoData.js +2 -2
  118. package/NotBookedState.js +2 -2
  119. package/NotFoundState.js +2 -2
  120. package/Notification.js +2 -2
  121. package/NotificationsContainer.js +2 -2
  122. package/NumberControl.d.ts +2 -8
  123. package/NumberControl.js +2 -2
  124. package/NumberInput.d.ts +2 -8
  125. package/NumberInput.js +2 -2
  126. package/OnboardingTip.js +2 -2
  127. package/OverlayTrigger.d.ts +2 -29
  128. package/OverlayTrigger.js +2 -2
  129. package/Pager.d.ts +2 -11
  130. package/Pager.js +2 -2
  131. package/PieChart.js +2 -2
  132. package/Polygon.js +2 -2
  133. package/Polyline.js +2 -2
  134. package/Popover.js +2 -2
  135. package/Position.js +2 -2
  136. package/PositionUtils.js +2 -2
  137. package/README.md +295 -295
  138. package/RadialBarChart.js +2 -2
  139. package/RadioButton.js +2 -2
  140. package/RangeSlider.js +2 -2
  141. package/ReleaseNotes.d.ts +2 -5
  142. package/ReleaseNotes.js +2 -2
  143. package/ReleaseNotesDialog.js +2 -2
  144. package/Resizer.d.ts +2 -13
  145. package/Resizer.js +2 -2
  146. package/ResponsiveColumnStripe.js +2 -2
  147. package/ResponsiveVideo.d.ts +2 -8
  148. package/ResponsiveVideo.js +2 -2
  149. package/Route.js +2 -2
  150. package/RuleConnector.js +2 -2
  151. package/RuleContainer.js +2 -2
  152. package/RulesWrapper.js +2 -2
  153. package/SaveDialog.js +2 -2
  154. package/SaveableInput.d.ts +2 -0
  155. package/SaveableInput.js +2 -0
  156. package/Select.js +2 -2
  157. package/Sidebar.js +2 -2
  158. package/SimpleButtonDropdown.js +2 -2
  159. package/SimpleClusterLayer.js +2 -2
  160. package/SimpleDialog.js +2 -2
  161. package/SimpleTooltip.d.ts +2 -29
  162. package/SimpleTooltip.js +2 -2
  163. package/SingleButtonDropdown.js +2 -2
  164. package/SingleMapMarker.js +2 -2
  165. package/Slider.js +2 -2
  166. package/SortArrowDown.js +2 -2
  167. package/SortArrowUp.js +2 -2
  168. package/SortArrows.js +2 -2
  169. package/SortDirection.js +2 -2
  170. package/SortUtils.js +2 -2
  171. package/Spinner.d.ts +2 -5
  172. package/Spinner.js +2 -2
  173. package/SplitButtonDropdown.js +2 -2
  174. package/SplitDialog.js +2 -2
  175. package/StatsWidget.d.ts +2 -10
  176. package/StatsWidget.js +2 -2
  177. package/StatsWidgetNumber.d.ts +2 -5
  178. package/StatsWidgetNumber.js +2 -2
  179. package/StatsWidgetSpacer.d.ts +2 -5
  180. package/StatsWidgetSpacer.js +2 -2
  181. package/StatsWidgets.d.ts +1 -5
  182. package/StatsWidgets.js +1 -2
  183. package/StatusBar.d.ts +2 -5
  184. package/StatusBar.js +2 -2
  185. package/SteppedProgressBar.js +2 -2
  186. package/SubNavigation.js +2 -2
  187. package/SupportMarker.d.ts +9 -0
  188. package/SupportMarker.js +6 -6
  189. package/Switch.d.ts +2 -8
  190. package/Switch.js +2 -2
  191. package/TableCardsSorting.js +2 -2
  192. package/TableSearch.js +2 -2
  193. package/TableSettingsDialog.js +2 -2
  194. package/TableToolbar.js +2 -2
  195. package/TableViewToggles.js +2 -2
  196. package/Tag.js +2 -2
  197. package/TagList.js +2 -2
  198. package/TagManager.js +2 -2
  199. package/Teaser.js +2 -2
  200. package/TeaserContainer.js +2 -2
  201. package/TextMarker.js +2 -2
  202. package/TimePicker.js +2 -2
  203. package/ToggleButton.d.ts +2 -5
  204. package/ToggleButton.js +2 -2
  205. package/Tooltip.d.ts +2 -32
  206. package/Tooltip.js +2 -2
  207. package/TrafficLayer.js +2 -2
  208. package/Tree.js +2 -2
  209. package/TreeCategory.js +2 -2
  210. package/TreeOption.js +2 -2
  211. package/TreeSearch.js +2 -2
  212. package/TreeSummary.js +2 -2
  213. package/TruckLayer.js +2 -2
  214. package/TypeCounter.js +2 -2
  215. package/VolkswagenApplicationHeader.js +2 -2
  216. package/components/actionBarItem/ActionBarItem.d.ts +50 -0
  217. package/components/actionBarItem/ActionBarItem.js +118 -208
  218. package/components/actionBarItem/ActionBarItemIcon.d.ts +9 -0
  219. package/components/actionBarItem/ActionBarItemIcon.js +12 -20
  220. package/components/actionBarItem/ActionBarItemList.d.ts +12 -0
  221. package/components/actionBarItem/ActionBarItemList.js +12 -20
  222. package/components/actionBarItem/ActionBarItemListItem.d.ts +29 -0
  223. package/components/actionBarItem/ActionBarItemListItem.js +14 -33
  224. package/components/actionBarItem/ActionBarItemListSeparator.d.ts +11 -0
  225. package/components/actionBarItem/ActionBarItemListSeparator.js +11 -19
  226. package/components/actionBarItem/ActionBarItemPopoverContent.d.ts +17 -0
  227. package/components/actionBarItem/ActionBarItemPopoverContent.js +14 -24
  228. package/components/actionBarItem/ActionBarOverlay.d.ts +18 -0
  229. package/components/actionBarItem/ActionBarOverlay.js +18 -55
  230. package/components/activity/Activity.d.ts +54 -0
  231. package/components/activity/Activity.js +29 -56
  232. package/components/animatedNumber/AnimatedNumber.d.ts +21 -0
  233. package/components/animatedNumber/AnimatedNumber.js +20 -61
  234. package/components/applicationHeader/AppMenu.d.ts +11 -0
  235. package/components/applicationHeader/AppMenu.js +14 -59
  236. package/components/applicationHeader/AppMenuContent.d.ts +8 -0
  237. package/components/applicationHeader/AppMenuContent.js +16 -0
  238. package/components/applicationHeader/AppMenuDropdown.d.ts +8 -0
  239. package/components/applicationHeader/AppMenuDropdown.js +37 -77
  240. package/components/applicationHeader/ApplicationActionBar.d.ts +8 -0
  241. package/components/applicationHeader/ApplicationActionBar.js +11 -21
  242. package/components/applicationHeader/ApplicationHeader.d.ts +70 -0
  243. package/components/applicationHeader/ApplicationHeader.js +32 -113
  244. package/components/applicationHeader/CollapsedNavItem.d.ts +11 -0
  245. package/components/applicationHeader/CollapsedNavItem.js +14 -0
  246. package/components/applicationHeader/MobileAppMenu.d.ts +11 -0
  247. package/components/applicationHeader/MobileAppMenu.js +17 -55
  248. package/components/applicationHeader/MobileHeaderModal.d.ts +10 -0
  249. package/components/applicationHeader/MobileHeaderModal.js +18 -72
  250. package/components/applicationHeader/MobileSubmoduleNavigation.d.ts +9 -0
  251. package/components/applicationHeader/MobileSubmoduleNavigation.js +22 -63
  252. package/components/applicationHeader/NavItems.d.ts +9 -0
  253. package/components/applicationHeader/NavItems.js +122 -195
  254. package/components/applicationLayout/ApplicationLayout.d.ts +22 -0
  255. package/components/applicationLayout/ApplicationLayout.js +20 -32
  256. package/components/applicationLayout/ApplicationLayoutBody.d.ts +42 -0
  257. package/components/applicationLayout/ApplicationLayoutBody.js +42 -89
  258. package/components/applicationLayout/ApplicationLayoutBodyBanner.d.ts +26 -0
  259. package/components/applicationLayout/ApplicationLayoutBodyBanner.js +12 -31
  260. package/components/applicationLayout/ApplicationLayoutBodyBottomBar.d.ts +30 -0
  261. package/components/applicationLayout/ApplicationLayoutBodyBottomBar.js +12 -30
  262. package/components/applicationLayout/ApplicationLayoutBodyNavigation.d.ts +11 -0
  263. package/components/applicationLayout/ApplicationLayoutBodyNavigation.js +10 -21
  264. package/components/applicationLayout/ApplicationLayoutHeader.d.ts +11 -0
  265. package/components/applicationLayout/ApplicationLayoutHeader.js +14 -22
  266. package/components/applicationLayout/ApplicationLayoutSidebar.d.ts +11 -0
  267. package/components/applicationLayout/ApplicationLayoutSidebar.js +10 -21
  268. package/components/applicationLayout/SubNavigation.d.ts +8 -0
  269. package/components/applicationLayout/SubNavigation.js +10 -37
  270. package/components/aspectRatioPlaceholder/AspectRatioPlaceholder.d.ts +11 -0
  271. package/components/aspectRatioPlaceholder/AspectRatioPlaceholder.js +8 -25
  272. package/components/assetTree/AssetTree.d.ts +3 -0
  273. package/components/assetTree/AssetTree.js +135 -201
  274. package/components/assetTree/Tree.d.ts +4 -0
  275. package/components/assetTree/Tree.js +428 -672
  276. package/components/assetTree/TreeCategory.d.ts +12 -0
  277. package/components/assetTree/TreeCategory.js +10 -12
  278. package/components/assetTree/TreeLeaf.d.ts +12 -0
  279. package/components/assetTree/TreeLeaf.js +13 -53
  280. package/components/assetTree/TreeLeafList.d.ts +14 -0
  281. package/components/assetTree/TreeLeafList.js +28 -47
  282. package/components/assetTree/TreeNode.d.ts +3 -0
  283. package/components/assetTree/TreeNode.js +27 -59
  284. package/components/assetTree/TreeNodeContainer.d.ts +13 -0
  285. package/components/assetTree/TreeNodeContainer.js +13 -18
  286. package/components/assetTree/TreeNothingFound.d.ts +3 -0
  287. package/components/assetTree/TreeNothingFound.js +14 -16
  288. package/components/assetTree/TreeOption.d.ts +18 -0
  289. package/components/assetTree/TreeOption.js +23 -38
  290. package/components/assetTree/TreeOptions.d.ts +14 -0
  291. package/components/assetTree/TreeOptions.js +24 -36
  292. package/components/assetTree/TreeRoot.d.ts +12 -0
  293. package/components/assetTree/TreeRoot.js +13 -19
  294. package/components/assetTree/TreeSearch.d.ts +3 -0
  295. package/components/assetTree/TreeSearch.js +21 -36
  296. package/components/assetTree/TreeSelectAll.d.ts +27 -0
  297. package/components/assetTree/TreeSelectAll.js +28 -41
  298. package/components/assetTree/TreeSidebar.d.ts +3 -0
  299. package/components/assetTree/TreeSidebar.js +44 -75
  300. package/components/assetTree/TreeSummary.d.ts +3 -0
  301. package/components/assetTree/TreeSummary.js +30 -62
  302. package/components/assetTree/TypeCounter.d.ts +3 -0
  303. package/components/assetTree/TypeCounter.js +32 -52
  304. package/components/autosuggest/AutoSuggest.d.ts +199 -0
  305. package/components/autosuggest/AutoSuggest.js +203 -473
  306. package/components/autosuggest/AutoSuggestAddons.d.ts +8 -0
  307. package/components/autosuggest/AutoSuggestAddons.js +7 -0
  308. package/components/autosuggest/DropdownSpinner.d.ts +4 -0
  309. package/components/autosuggest/DropdownSpinner.js +5 -0
  310. package/components/autosuggest/NoItemMessage.d.ts +5 -0
  311. package/components/autosuggest/NoItemMessage.js +5 -0
  312. package/components/bottomSheet/BottomSheet.d.ts +68 -0
  313. package/components/bottomSheet/BottomSheet.js +55 -128
  314. package/components/browserWarning/BrowserIcons.d.ts +2 -0
  315. package/components/browserWarning/BrowserIcons.js +5 -61
  316. package/components/browserWarning/BrowserWarning.d.ts +15 -0
  317. package/components/browserWarning/BrowserWarning.js +46 -69
  318. package/components/browserWarning/BrowserWarningMessageDE.d.ts +4 -0
  319. package/components/browserWarning/BrowserWarningMessageDE.js +6 -35
  320. package/components/browserWarning/BrowserWarningMessageEN.d.ts +4 -0
  321. package/components/browserWarning/BrowserWarningMessageEN.js +6 -35
  322. package/components/button/Button.d.ts +122 -0
  323. package/components/button/Button.js +79 -115
  324. package/components/button/ToggleButton.d.ts +7 -0
  325. package/components/button/ToggleButton.js +6 -11
  326. package/components/calendarStripe/CalendarStripe.d.ts +3 -0
  327. package/components/calendarStripe/CalendarStripe.js +145 -214
  328. package/components/carousel/Carousel.d.ts +2 -0
  329. package/components/carousel/Carousel.js +9 -12
  330. package/components/carousel/CarouselCaption.d.ts +13 -0
  331. package/components/carousel/CarouselCaption.js +18 -42
  332. package/components/carousel/CarouselItem.d.ts +36 -0
  333. package/components/carousel/CarouselItem.js +85 -128
  334. package/components/charts/Area.d.ts +13 -0
  335. package/components/charts/Area.js +11 -13
  336. package/components/charts/AreaChart.d.ts +17 -0
  337. package/components/charts/AreaChart.js +40 -98
  338. package/components/charts/AreaGradient.d.ts +11 -0
  339. package/components/charts/AreaGradient.js +9 -27
  340. package/components/charts/Bar.d.ts +10 -0
  341. package/components/charts/Bar.js +8 -10
  342. package/components/charts/BarChart.d.ts +18 -0
  343. package/components/charts/BarChart.js +43 -98
  344. package/components/charts/ChartNeedle.d.ts +12 -0
  345. package/components/charts/ChartNeedle.js +18 -41
  346. package/components/charts/ChartTooltip.d.ts +5 -0
  347. package/components/charts/ChartTooltip.js +3 -5
  348. package/components/charts/Legend.d.ts +11 -0
  349. package/components/charts/Legend.js +9 -11
  350. package/components/charts/Line.d.ts +12 -0
  351. package/components/charts/Line.js +10 -12
  352. package/components/charts/LineChart.d.ts +16 -0
  353. package/components/charts/LineChart.js +31 -81
  354. package/components/charts/PieChart.d.ts +20 -0
  355. package/components/charts/PieChart.js +48 -105
  356. package/components/charts/RadialBarChart.d.ts +20 -0
  357. package/components/charts/RadialBarChart.js +40 -112
  358. package/components/charts/chartHelper.d.ts +5 -0
  359. package/components/charts/chartHelper.js +18 -26
  360. package/components/checkbox/Checkbox.d.ts +127 -0
  361. package/components/checkbox/Checkbox.js +58 -159
  362. package/components/checkbox/CheckboxIcon.d.ts +9 -0
  363. package/components/checkbox/CheckboxIcon.js +11 -0
  364. package/components/clearableInput/ClearableInput.d.ts +96 -0
  365. package/components/clearableInput/ClearableInput.js +68 -184
  366. package/components/collapse/Collapse.d.ts +59 -0
  367. package/components/collapse/Collapse.js +148 -217
  368. package/components/contentLoader/ContentLoader.d.ts +55 -0
  369. package/components/contentLoader/ContentLoader.js +50 -82
  370. package/components/dataTabs/DataTab.d.ts +29 -0
  371. package/components/dataTabs/DataTab.js +22 -56
  372. package/components/dataTabs/DataTabHeader.d.ts +18 -0
  373. package/components/dataTabs/DataTabHeader.js +10 -0
  374. package/components/dataTabs/DataTabs.d.ts +80 -0
  375. package/components/dataTabs/DataTabs.js +52 -142
  376. package/components/datepicker/DatePicker.d.ts +3 -0
  377. package/components/datepicker/DatePicker.js +48 -69
  378. package/components/datepicker/DateRangePicker.d.ts +208 -0
  379. package/components/datepicker/DateRangePicker.js +432 -697
  380. package/components/dialog/ConfirmationDialog.d.ts +25 -0
  381. package/components/dialog/ConfirmationDialog.js +31 -57
  382. package/components/dialog/Dialog.d.ts +42 -0
  383. package/components/dialog/Dialog.js +96 -149
  384. package/components/dialog/DialogBody.d.ts +16 -0
  385. package/components/dialog/DialogBody.js +17 -22
  386. package/components/dialog/DialogFooter.d.ts +16 -0
  387. package/components/dialog/DialogFooter.js +17 -22
  388. package/components/dialog/DialogHeader.d.ts +18 -0
  389. package/components/dialog/DialogHeader.js +20 -46
  390. package/components/dialog/InfoDialog.d.ts +18 -0
  391. package/components/dialog/InfoDialog.js +12 -23
  392. package/components/dialog/MediaDialog.d.ts +58 -0
  393. package/components/dialog/MediaDialog.js +107 -216
  394. package/components/dialog/ReleaseNotesDialog.d.ts +20 -0
  395. package/components/dialog/ReleaseNotesDialog.js +37 -58
  396. package/components/dialog/SaveDialog.d.ts +31 -0
  397. package/components/dialog/SaveDialog.js +23 -63
  398. package/components/dialog/SimpleDialog.d.ts +21 -0
  399. package/components/dialog/SimpleDialog.js +18 -30
  400. package/components/dialog/SplitDialog.d.ts +32 -0
  401. package/components/dialog/SplitDialog.js +24 -48
  402. package/components/dialog/baseDialogPropTypes.d.ts +14 -0
  403. package/components/dialog/baseDialogPropTypes.js +13 -13
  404. package/components/driverName/DriverName.d.ts +18 -0
  405. package/components/driverName/DriverName.js +18 -24
  406. package/components/dropdown/ButtonDropdown.d.ts +66 -0
  407. package/components/dropdown/ButtonDropdown.js +127 -189
  408. package/components/dropdown/Caret.d.ts +2 -0
  409. package/components/dropdown/Caret.js +4 -7
  410. package/components/dropdown/DropdownSubmenu.d.ts +19 -0
  411. package/components/dropdown/DropdownSubmenu.js +25 -38
  412. package/components/dropdown/DropdownToggleButton.d.ts +3 -0
  413. package/components/dropdown/DropdownToggleButton.js +19 -34
  414. package/components/dropdown/SimpleButtonDropdown.d.ts +2 -0
  415. package/components/dropdown/SimpleButtonDropdown.js +5 -9
  416. package/components/dropdown/SingleButtonDropdown.d.ts +2 -0
  417. package/components/dropdown/SingleButtonDropdown.js +5 -6
  418. package/components/dropdown/SplitButtonDropdown.d.ts +2 -0
  419. package/components/dropdown/SplitButtonDropdown.js +5 -9
  420. package/components/dropdown/SplitCaretButton.d.ts +3 -0
  421. package/components/dropdown/SplitCaretButton.js +17 -26
  422. package/components/dropdown/menuItemsPropTypes.d.ts +9 -0
  423. package/components/dropdown/menuItemsPropTypes.js +8 -8
  424. package/components/editableContent/EditableContent.d.ts +86 -0
  425. package/components/editableContent/EditableContent.js +109 -0
  426. package/components/expander/ExpanderList.d.ts +39 -0
  427. package/components/expander/ExpanderList.js +97 -157
  428. package/components/expander/ExpanderPanel.d.ts +51 -0
  429. package/components/expander/ExpanderPanel.js +71 -108
  430. package/components/fade/Fade.d.ts +46 -0
  431. package/components/fade/Fade.js +177 -272
  432. package/components/filepicker/FilePicker.d.ts +30 -0
  433. package/components/filepicker/FilePicker.js +49 -78
  434. package/components/listMenu/ListMenu.d.ts +44 -0
  435. package/components/listMenu/ListMenu.js +129 -246
  436. package/components/loadMore/LoadMoreButton.d.ts +42 -0
  437. package/components/loadMore/LoadMoreButton.js +13 -51
  438. package/components/loadMore/LoadMoreProgress.d.ts +12 -0
  439. package/components/loadMore/LoadMoreProgress.js +19 -35
  440. package/components/map/components/Map.d.ts +99 -0
  441. package/components/map/components/Map.js +322 -463
  442. package/components/map/components/constants.d.ts +12 -0
  443. package/components/map/components/constants.js +12 -12
  444. package/components/map/components/context.d.ts +2 -0
  445. package/components/map/components/context.js +3 -3
  446. package/components/map/components/features/ContextMenu.d.ts +2 -0
  447. package/components/map/components/features/ContextMenu.js +115 -146
  448. package/components/map/components/features/ContextMenuItem.d.ts +28 -0
  449. package/components/map/components/features/ContextMenuItem.js +29 -31
  450. package/components/map/components/features/MapSettings.d.ts +22 -0
  451. package/components/map/components/features/MapSettings.js +64 -77
  452. package/components/map/components/features/Route.d.ts +48 -0
  453. package/components/map/components/features/Route.js +94 -164
  454. package/components/map/components/features/basics/Circle.d.ts +21 -0
  455. package/components/map/components/features/basics/Circle.js +38 -54
  456. package/components/map/components/features/basics/MapLayerGroup.d.ts +23 -0
  457. package/components/map/components/features/basics/MapLayerGroup.js +45 -66
  458. package/components/map/components/features/basics/Polygon.d.ts +17 -0
  459. package/components/map/components/features/basics/Polygon.js +46 -57
  460. package/components/map/components/features/basics/Polyline.d.ts +20 -0
  461. package/components/map/components/features/basics/Polyline.js +76 -103
  462. package/components/map/components/features/basics/marker/DomMarker.d.ts +33 -0
  463. package/components/map/components/features/basics/marker/DomMarker.js +55 -83
  464. package/components/map/components/features/basics/marker/Marker.d.ts +21 -0
  465. package/components/map/components/features/basics/marker/Marker.js +116 -134
  466. package/components/map/components/features/basics/marker/Marker2.d.ts +21 -0
  467. package/components/map/components/features/basics/marker/Marker2.js +215 -0
  468. package/components/map/components/features/basics/marker/TextMarker.d.ts +17 -0
  469. package/components/map/components/features/basics/marker/TextMarker.js +28 -30
  470. package/components/map/components/features/layers/IncidentsLayer.d.ts +2 -0
  471. package/components/map/components/features/layers/IncidentsLayer.js +9 -13
  472. package/components/map/components/features/layers/Layer.d.ts +16 -0
  473. package/components/map/components/features/layers/Layer.js +26 -29
  474. package/components/map/components/features/layers/MarkerLayer.d.ts +14 -0
  475. package/components/map/components/features/layers/MarkerLayer.js +27 -41
  476. package/components/map/components/features/layers/RoadRestrictionLayer.d.ts +2 -0
  477. package/components/map/components/features/layers/RoadRestrictionLayer.js +20 -26
  478. package/components/map/components/features/layers/TrafficLayer.d.ts +2 -0
  479. package/components/map/components/features/layers/TrafficLayer.js +28 -34
  480. package/components/map/components/features/layers/baselayers/DefaultRasterLayer.d.ts +2 -0
  481. package/components/map/components/features/layers/baselayers/DefaultRasterLayer.js +17 -20
  482. package/components/map/components/features/layers/baselayers/DefaultVectorLayer.d.ts +2 -0
  483. package/components/map/components/features/layers/baselayers/DefaultVectorLayer.js +14 -15
  484. package/components/map/components/features/layers/baselayers/FleetStyleLayer.d.ts +2 -0
  485. package/components/map/components/features/layers/baselayers/FleetStyleLayer.js +15 -16
  486. package/components/map/components/features/layers/baselayers/NightLayer.d.ts +2 -0
  487. package/components/map/components/features/layers/baselayers/NightLayer.js +14 -17
  488. package/components/map/components/features/layers/baselayers/SatelliteLayer.d.ts +2 -0
  489. package/components/map/components/features/layers/baselayers/SatelliteLayer.js +15 -16
  490. package/components/map/components/features/layers/baselayers/TerrainLayer.d.ts +2 -0
  491. package/components/map/components/features/layers/baselayers/TerrainLayer.js +15 -16
  492. package/components/map/components/features/layers/baselayers/useBaseLayer.d.ts +2 -0
  493. package/components/map/components/features/layers/baselayers/useBaseLayer.js +39 -56
  494. package/components/map/components/features/layers/clustering/ClusterLayer.d.ts +29 -0
  495. package/components/map/components/features/layers/clustering/ClusterLayer.js +67 -88
  496. package/components/map/components/features/layers/clustering/SimpleClusterLayer.d.ts +10 -0
  497. package/components/map/components/features/layers/clustering/SimpleClusterLayer.js +15 -21
  498. package/components/map/components/features/settings/MapSettingsItem.d.ts +20 -0
  499. package/components/map/components/features/settings/MapSettingsItem.js +30 -34
  500. package/components/map/components/features/settings/MapSettingsPanel.d.ts +12 -0
  501. package/components/map/components/features/settings/MapSettingsPanel.js +20 -35
  502. package/components/map/components/features/settings/MapSettingsTile.d.ts +20 -0
  503. package/components/map/components/features/settings/MapSettingsTile.js +56 -86
  504. package/components/map/components/features/settings/ZoomButtons.d.ts +12 -0
  505. package/components/map/components/features/settings/ZoomButtons.js +14 -35
  506. package/components/map/components/features/settings/builtinSettings/MapClusterSettings.d.ts +19 -0
  507. package/components/map/components/features/settings/builtinSettings/MapClusterSettings.js +28 -68
  508. package/components/map/components/features/settings/builtinSettings/MapLayerSettings.d.ts +22 -0
  509. package/components/map/components/features/settings/builtinSettings/MapLayerSettings.js +35 -54
  510. package/components/map/components/features/settings/builtinSettings/MapTypeSettings.d.ts +17 -0
  511. package/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +48 -128
  512. package/components/map/components/features/settings/buttons/MapBoundingBoxButton.d.ts +14 -0
  513. package/components/map/components/features/settings/buttons/MapBoundingBoxButton.js +19 -34
  514. package/components/map/components/features/settings/buttons/MapCenterMarkerButton.d.ts +14 -0
  515. package/components/map/components/features/settings/buttons/MapCenterMarkerButton.js +19 -34
  516. package/components/map/components/features/settings/buttons/MapLockMarkerButton.d.ts +14 -0
  517. package/components/map/components/features/settings/buttons/MapLockMarkerButton.js +19 -34
  518. package/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.d.ts +16 -0
  519. package/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.js +21 -40
  520. package/components/map/components/features/settings/items/MapLayerIncidentsItem.d.ts +19 -0
  521. package/components/map/components/features/settings/items/MapLayerIncidentsItem.js +27 -41
  522. package/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.d.ts +19 -0
  523. package/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.js +27 -41
  524. package/components/map/components/features/settings/items/MapLayerTrafficItem.d.ts +19 -0
  525. package/components/map/components/features/settings/items/MapLayerTrafficItem.js +27 -41
  526. package/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.d.ts +16 -0
  527. package/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.js +21 -40
  528. package/components/map/components/mapUtils.d.ts +50 -0
  529. package/components/map/components/mapUtils.js +148 -193
  530. package/components/map/exceptions/MapException.d.ts +8 -0
  531. package/components/map/exceptions/MapException.js +7 -7
  532. package/components/map/herePolyfill.d.ts +0 -0
  533. package/components/map/herePolyfill.js +7 -6
  534. package/components/map/icons/MapIcon.d.ts +40 -0
  535. package/components/map/icons/MapIcon.js +82 -502
  536. package/components/map/utils/clustering.d.ts +9 -0
  537. package/components/map/utils/clustering.js +57 -62
  538. package/components/map/utils/eventHandling.d.ts +47 -0
  539. package/components/map/utils/eventHandling.js +114 -143
  540. package/components/map/utils/hooks.d.ts +2 -0
  541. package/components/map/utils/hooks.js +22 -23
  542. package/components/map/utils/localization.d.ts +2 -0
  543. package/components/map/utils/localization.js +401 -400
  544. package/components/map/utils/positions.d.ts +10 -0
  545. package/components/map/utils/positions.js +46 -47
  546. package/components/map/utils/proptypes.d.ts +47 -0
  547. package/components/map/utils/proptypes.js +50 -50
  548. package/components/map/utils/validation.d.ts +2 -0
  549. package/components/map/utils/validation.js +8 -10
  550. package/components/mapMarker/ClusterMapMarker.d.ts +26 -0
  551. package/components/mapMarker/ClusterMapMarker.js +47 -65
  552. package/components/mapMarker/SingleMapMarker.d.ts +35 -0
  553. package/components/mapMarker/SingleMapMarker.js +62 -88
  554. package/components/menuItems/MenuItem.d.ts +14 -0
  555. package/components/menuItems/MenuItem.js +34 -67
  556. package/components/menuItems/MenuItems.d.ts +3 -0
  557. package/components/menuItems/MenuItems.js +10 -18
  558. package/components/menuItems/getMenuItems.d.ts +2 -0
  559. package/components/menuItems/getMenuItems.js +7 -15
  560. package/components/navigation/AppNavigationBar.d.ts +3 -0
  561. package/components/navigation/AppNavigationBar.js +22 -40
  562. package/components/noData/NoData.d.ts +37 -0
  563. package/components/noData/NoData.js +16 -47
  564. package/components/notification/Notification.d.ts +1 -0
  565. package/components/notification/Notification.js +4 -6
  566. package/components/notification/NotificationsContainer.d.ts +14 -0
  567. package/components/notification/NotificationsContainer.js +16 -18
  568. package/components/numberControl/NumberControl.d.ts +5 -0
  569. package/components/numberControl/NumberControl.js +113 -198
  570. package/components/numberInput/NumberInput.d.ts +77 -0
  571. package/components/numberInput/NumberInput.js +158 -179
  572. package/components/onboarding/OnboardingTip.d.ts +63 -0
  573. package/components/onboarding/OnboardingTip.js +99 -116
  574. package/components/overlay/OverlayTrigger.d.ts +25 -0
  575. package/components/overlay/OverlayTrigger.js +33 -50
  576. package/components/pager/Pager.d.ts +53 -0
  577. package/components/pager/Pager.js +32 -86
  578. package/components/popover/Popover.d.ts +3 -0
  579. package/components/popover/Popover.js +23 -36
  580. package/components/position/Position.d.ts +10 -0
  581. package/components/position/Position.js +27 -29
  582. package/components/preloader/ImagePreloader.d.ts +22 -0
  583. package/components/preloader/ImagePreloader.js +60 -77
  584. package/components/radiobutton/RadioButton.d.ts +45 -0
  585. package/components/radiobutton/RadioButton.js +85 -139
  586. package/components/releaseNotes/ReleaseNotes.d.ts +35 -0
  587. package/components/releaseNotes/ReleaseNotes.js +17 -56
  588. package/components/resizer/Resizer.d.ts +58 -0
  589. package/components/resizer/Resizer.js +131 -178
  590. package/components/responsiveColumnStripe/ResponsiveColumnStripe.d.ts +3 -0
  591. package/components/responsiveColumnStripe/ResponsiveColumnStripe.js +165 -255
  592. package/components/rules/RuleConnector.d.ts +39 -0
  593. package/components/rules/RuleConnector.js +44 -76
  594. package/components/rules/RuleContainer.d.ts +28 -0
  595. package/components/rules/RuleContainer.js +41 -72
  596. package/components/rules/RulesWrapper.d.ts +8 -0
  597. package/components/rules/RulesWrapper.js +10 -17
  598. package/components/saveableInput/SaveableInput.d.ts +46 -0
  599. package/components/saveableInput/SaveableInput.js +90 -0
  600. package/components/selects/BaseDropdownMenu.d.ts +83 -0
  601. package/components/selects/BaseDropdownMenu.js +255 -377
  602. package/components/selects/DropdownHeader.d.ts +14 -0
  603. package/components/selects/DropdownHeader.js +16 -23
  604. package/components/selects/Multiselect.d.ts +98 -0
  605. package/components/selects/Multiselect.js +321 -495
  606. package/components/selects/Select.d.ts +97 -0
  607. package/components/selects/Select.js +280 -446
  608. package/components/sidebars/Sidebar.d.ts +112 -0
  609. package/components/sidebars/Sidebar.js +216 -365
  610. package/components/slider/RangeSlider.d.ts +33 -0
  611. package/components/slider/RangeSlider.js +122 -214
  612. package/components/slider/Slider.d.ts +38 -0
  613. package/components/slider/Slider.js +56 -96
  614. package/components/spinner/Spinner.d.ts +48 -0
  615. package/components/spinner/Spinner.js +24 -64
  616. package/components/states/CustomState.d.ts +15 -0
  617. package/components/states/CustomState.js +58 -118
  618. package/components/states/EmptyState.d.ts +9 -0
  619. package/components/states/EmptyState.js +10 -11
  620. package/components/states/ErrorState.d.ts +9 -0
  621. package/components/states/ErrorState.js +10 -11
  622. package/components/states/ForbiddenState.d.ts +9 -0
  623. package/components/states/ForbiddenState.js +10 -11
  624. package/components/states/MaintenanceState.d.ts +9 -0
  625. package/components/states/MaintenanceState.js +10 -11
  626. package/components/states/NotBookedState.d.ts +20 -0
  627. package/components/states/NotBookedState.js +28 -41
  628. package/components/states/NotFoundState.d.ts +9 -0
  629. package/components/states/NotFoundState.js +10 -11
  630. package/components/states/baseStatePropTypes.d.ts +26 -0
  631. package/components/states/baseStatePropTypes.js +26 -26
  632. package/components/statsWidget/StatsWidget.d.ts +26 -0
  633. package/components/statsWidget/StatsWidget.js +19 -39
  634. package/components/statsWidget/StatsWidgetBody.d.ts +14 -0
  635. package/components/statsWidget/StatsWidgetBody.js +11 -28
  636. package/components/statsWidget/StatsWidgetFooter.d.ts +9 -0
  637. package/components/statsWidget/StatsWidgetFooter.js +11 -15
  638. package/components/statsWidget/StatsWidgetHeader.d.ts +9 -0
  639. package/components/statsWidget/StatsWidgetHeader.js +11 -15
  640. package/components/statsWidget/StatsWidgetNumber.d.ts +31 -0
  641. package/components/statsWidget/StatsWidgetNumber.js +11 -40
  642. package/components/statsWidget/StatsWidgetSpacer.d.ts +8 -0
  643. package/components/statsWidget/StatsWidgetSpacer.js +10 -14
  644. package/components/statsWidget/StatsWidgets.d.ts +9 -0
  645. package/components/statsWidget/StatsWidgets.js +11 -19
  646. package/components/statusBar/StatusBar.d.ts +33 -0
  647. package/components/statusBar/StatusBar.js +56 -213
  648. package/components/statusBar/StatusBar.types.d.ts +85 -0
  649. package/components/statusBar/StatusBar.types.js +1 -0
  650. package/components/statusBar/StatusBarConstants.d.ts +8 -0
  651. package/components/statusBar/StatusBarConstants.js +12 -0
  652. package/components/statusBar/StatusBarIcon.d.ts +7 -0
  653. package/components/statusBar/StatusBarIcon.js +16 -0
  654. package/components/statusBar/StatusBarLabel.d.ts +8 -0
  655. package/components/statusBar/StatusBarLabel.js +20 -0
  656. package/components/statusBar/StatusBarProgressBar.d.ts +8 -0
  657. package/components/statusBar/StatusBarProgressBar.js +16 -0
  658. package/components/steppedProgressBar/SteppedProgressBar.d.ts +35 -0
  659. package/components/steppedProgressBar/SteppedProgressBar.js +65 -84
  660. package/components/supportMarker/toggleSupportMarker.d.ts +3 -0
  661. package/components/supportMarker/toggleSupportMarker.js +25 -23
  662. package/components/switch/Switch.d.ts +51 -0
  663. package/components/switch/Switch.js +25 -77
  664. package/components/table/SortArrows.d.ts +5 -0
  665. package/components/table/SortArrows.js +6 -18
  666. package/components/table/TableCardsSorting.d.ts +37 -0
  667. package/components/table/TableCardsSorting.js +61 -108
  668. package/components/table/TableSearch.d.ts +9 -0
  669. package/components/table/TableSearch.js +15 -20
  670. package/components/table/TableSettingsColumnButtons.d.ts +28 -0
  671. package/components/table/TableSettingsColumnButtons.js +38 -67
  672. package/components/table/TableSettingsColumnDetails.d.ts +19 -0
  673. package/components/table/TableSettingsColumnDetails.js +31 -74
  674. package/components/table/TableSettingsDialog.d.ts +107 -0
  675. package/components/table/TableSettingsDialog.js +345 -538
  676. package/components/table/TableSettingsDialogFooter.d.ts +43 -0
  677. package/components/table/TableSettingsDialogFooter.js +37 -88
  678. package/components/table/TableSettingsListContainer.d.ts +9 -0
  679. package/components/table/TableSettingsListContainer.js +30 -55
  680. package/components/table/TableSettingsListItem.d.ts +27 -0
  681. package/components/table/TableSettingsListItem.js +64 -125
  682. package/components/table/TableToolbar.d.ts +12 -0
  683. package/components/table/TableToolbar.js +13 -16
  684. package/components/table/TableViewToggles.d.ts +30 -0
  685. package/components/table/TableViewToggles.js +83 -109
  686. package/components/table/tableSettingsPropTypes.d.ts +8 -0
  687. package/components/table/tableSettingsPropTypes.js +6 -6
  688. package/components/tag/Tag.d.ts +37 -0
  689. package/components/tag/Tag.js +35 -52
  690. package/components/tag/TagList.d.ts +17 -0
  691. package/components/tag/TagList.js +21 -30
  692. package/components/tagManager/CustomSuggestionItem.d.ts +13 -0
  693. package/components/tagManager/CustomSuggestionItem.js +15 -22
  694. package/components/tagManager/TagManager.d.ts +27 -0
  695. package/components/tagManager/TagManager.js +137 -196
  696. package/components/tagManager/TagManagerItemList.d.ts +14 -0
  697. package/components/tagManager/TagManagerItemList.js +23 -33
  698. package/components/teaser/Teaser.d.ts +51 -0
  699. package/components/teaser/Teaser.js +128 -201
  700. package/components/teaser/TeaserContainer.d.ts +13 -0
  701. package/components/teaser/TeaserContainer.js +46 -48
  702. package/components/timepicker/TimePicker.d.ts +27 -0
  703. package/components/timepicker/TimePicker.js +88 -133
  704. package/components/tooltip/SimpleTooltip.d.ts +36 -0
  705. package/components/tooltip/SimpleTooltip.js +16 -39
  706. package/components/tooltip/Tooltip.d.ts +65 -0
  707. package/components/tooltip/Tooltip.js +35 -85
  708. package/components/video/ResponsiveVideo.d.ts +33 -0
  709. package/components/video/ResponsiveVideo.js +13 -28
  710. package/framer-motion.js +1 -1
  711. package/hooks/useAfterMount.d.ts +8 -0
  712. package/hooks/useAfterMount.js +17 -10
  713. package/hooks/useClickOutside.d.ts +1 -0
  714. package/hooks/useClickOutside.js +19 -25
  715. package/hooks/useClipboard.d.ts +8 -0
  716. package/hooks/useClipboard.js +30 -51
  717. package/hooks/useDarkMode.d.ts +2 -0
  718. package/hooks/useDarkMode.js +25 -30
  719. package/hooks/useDebugInfo.d.ts +6 -0
  720. package/hooks/useDebugInfo.js +36 -39
  721. package/hooks/useEffectOnce.d.ts +1 -0
  722. package/hooks/useEffectOnce.js +4 -4
  723. package/hooks/useElementSize.d.ts +1 -0
  724. package/hooks/useElementSize.js +20 -39
  725. package/hooks/useEsc.d.ts +2 -0
  726. package/hooks/useEsc.js +5 -6
  727. package/hooks/useEvent.d.ts +2 -0
  728. package/hooks/useEvent.js +13 -11
  729. package/hooks/useFocusTrap.d.ts +16 -0
  730. package/hooks/useFocusTrap.js +62 -0
  731. package/hooks/useFullscreen.d.ts +8 -0
  732. package/hooks/useFullscreen.js +151 -207
  733. package/hooks/useHover.d.ts +3 -0
  734. package/hooks/useHover.js +29 -0
  735. package/hooks/useInterval.d.ts +1 -0
  736. package/hooks/useInterval.js +17 -23
  737. package/hooks/useKey.d.ts +3 -0
  738. package/hooks/useKey.js +14 -15
  739. package/hooks/useMutationObserver.d.ts +6 -0
  740. package/hooks/useMutationObserver.js +21 -38
  741. package/hooks/useOnMount.d.ts +1 -0
  742. package/hooks/useOnMount.js +10 -10
  743. package/hooks/useOnScreen.d.ts +3 -0
  744. package/hooks/useOnScreen.js +19 -30
  745. package/hooks/useOnlineStatus.d.ts +1 -0
  746. package/hooks/useOnlineStatus.js +9 -17
  747. package/hooks/usePrevious.d.ts +21 -0
  748. package/hooks/usePrevious.js +34 -18
  749. package/hooks/useRenderCount.d.ts +1 -0
  750. package/hooks/useRenderCount.js +9 -9
  751. package/hooks/useResizeObserver.d.ts +3 -0
  752. package/hooks/useResizeObserver.js +20 -37
  753. package/hooks/useScrollPosition.d.ts +2 -0
  754. package/hooks/useScrollPosition.js +59 -71
  755. package/hooks/useStateWithValidation.d.ts +1 -0
  756. package/hooks/useStateWithValidation.js +11 -20
  757. package/hooks/useStorage.d.ts +2 -0
  758. package/hooks/useStorage.js +30 -34
  759. package/hooks/useTimeout.d.ts +1 -0
  760. package/hooks/useTimeout.js +17 -23
  761. package/hooks/useWindowResize.d.ts +2 -0
  762. package/hooks/useWindowResize.js +12 -13
  763. package/index.d.ts +265 -275
  764. package/index.js +267 -255
  765. package/lib/es/ActionBarItem.d.ts +2 -21
  766. package/lib/es/ActionBarItem.js +7 -13
  767. package/lib/es/ActionBarItemList.d.ts +2 -5
  768. package/lib/es/ActionBarItemList.js +7 -13
  769. package/lib/es/ActionBarItemListItem.d.ts +2 -5
  770. package/lib/es/ActionBarItemListItem.js +7 -13
  771. package/lib/es/ActionBarItemListSeparator.d.ts +2 -5
  772. package/lib/es/ActionBarItemListSeparator.js +7 -13
  773. package/lib/es/Activity.d.ts +2 -11
  774. package/lib/es/Activity.js +7 -13
  775. package/lib/es/AnimatedNumber.d.ts +2 -5
  776. package/lib/es/AnimatedNumber.js +7 -13
  777. package/lib/es/AppNavigationBar.js +6 -13
  778. package/lib/es/ApplicationHeader.d.ts +2 -5
  779. package/lib/es/ApplicationHeader.js +7 -13
  780. package/lib/es/ApplicationLayout.d.ts +2 -15
  781. package/lib/es/ApplicationLayout.js +7 -13
  782. package/lib/es/ApplicationLayoutBodyBanner.d.ts +2 -5
  783. package/lib/es/ApplicationLayoutBodyBanner.js +7 -13
  784. package/lib/es/ApplicationLayoutBodyBottomBar.d.ts +2 -5
  785. package/lib/es/ApplicationLayoutBodyBottomBar.js +7 -13
  786. package/lib/es/ApplicationLayoutBodyNavigation.d.ts +2 -5
  787. package/lib/es/ApplicationLayoutBodyNavigation.js +7 -13
  788. package/lib/es/Area.js +6 -13
  789. package/lib/es/AreaChart.js +6 -13
  790. package/lib/es/AreaGradient.js +6 -13
  791. package/lib/es/AspectRatioPlaceholder.d.ts +2 -5
  792. package/lib/es/AspectRatioPlaceholder.js +7 -13
  793. package/lib/es/AssetTree.js +6 -13
  794. package/lib/es/AutoSuggest.d.ts +2 -6
  795. package/lib/es/AutoSuggest.js +7 -13
  796. package/lib/es/Bar.js +6 -13
  797. package/lib/es/BarChart.js +6 -13
  798. package/lib/es/BottomSheet.d.ts +2 -5
  799. package/lib/es/BottomSheet.js +7 -13
  800. package/lib/es/BrowserWarning.js +6 -13
  801. package/lib/es/Button.d.ts +2 -27
  802. package/lib/es/Button.js +7 -13
  803. package/lib/es/ButtonDropdown.js +6 -13
  804. package/lib/es/CalendarStripe.js +6 -13
  805. package/lib/es/Carousel.js +6 -13
  806. package/lib/es/ChartNeedle.js +6 -13
  807. package/lib/es/ChartTooltip.js +6 -13
  808. package/lib/es/Checkbox.d.ts +2 -5
  809. package/lib/es/Checkbox.js +7 -13
  810. package/lib/es/Circle.js +6 -13
  811. package/lib/es/ClearableInput.d.ts +2 -5
  812. package/lib/es/ClearableInput.js +7 -13
  813. package/lib/es/ClusterLayer.js +6 -13
  814. package/lib/es/ClusterMapMarker.js +6 -13
  815. package/lib/es/ClusterUtils.js +5 -12
  816. package/lib/es/Collapse.js +6 -13
  817. package/lib/es/ColorScheme.js +6 -18
  818. package/lib/es/Colors.js +6 -13
  819. package/lib/es/ConfirmationDialog.js +6 -13
  820. package/lib/es/ContentLoader.d.ts +2 -8
  821. package/lib/es/ContentLoader.js +7 -13
  822. package/lib/es/ContextMenu.js +6 -13
  823. package/lib/es/ContextMenuItem.js +6 -13
  824. package/lib/es/CustomState.js +6 -13
  825. package/lib/es/DataTab.d.ts +2 -5
  826. package/lib/es/DataTab.js +7 -13
  827. package/lib/es/DataTabs.d.ts +2 -5
  828. package/lib/es/DataTabs.js +7 -13
  829. package/lib/es/DatePicker.js +6 -13
  830. package/lib/es/DateRangePicker.js +6 -13
  831. package/lib/es/DeviceUtils.js +16 -72
  832. package/lib/es/Dialog.js +6 -13
  833. package/lib/es/DomMarker.js +6 -13
  834. package/lib/es/DropdownSubmenu.js +6 -13
  835. package/lib/es/EditableContent.d.ts +2 -0
  836. package/lib/es/EditableContent.js +7 -0
  837. package/lib/es/EmptyState.js +6 -13
  838. package/lib/es/ErrorState.js +6 -13
  839. package/lib/es/EventUtils.js +5 -12
  840. package/lib/es/ExpanderList.js +6 -13
  841. package/lib/es/ExpanderPanel.js +6 -13
  842. package/lib/es/Fade.js +6 -13
  843. package/lib/es/FilePicker.js +6 -13
  844. package/lib/es/ForbiddenState.js +6 -13
  845. package/lib/es/GroupSelectionUtil.d.ts +2 -0
  846. package/lib/es/GroupSelectionUtil.js +5 -12
  847. package/lib/es/ImagePreloader.js +6 -13
  848. package/lib/es/IncidentsLayer.js +6 -13
  849. package/lib/es/InfoDialog.js +6 -13
  850. package/lib/es/Legend.js +6 -13
  851. package/lib/es/Line.js +6 -13
  852. package/lib/es/LineChart.js +6 -13
  853. package/lib/es/ListMenu.js +6 -13
  854. package/lib/es/LoadMoreButton.d.ts +2 -5
  855. package/lib/es/LoadMoreButton.js +7 -13
  856. package/lib/es/MaintenanceState.js +6 -13
  857. package/lib/es/Map.js +6 -13
  858. package/lib/es/MapBoundingBoxButton.js +6 -13
  859. package/lib/es/MapCenterMarkerButton.js +6 -13
  860. package/lib/es/MapClusterSettings.js +6 -13
  861. package/lib/es/MapCustomerPoiSettingsItem.js +6 -13
  862. package/lib/es/MapLayerGroup.js +6 -13
  863. package/lib/es/MapLayerIncidentsItem.js +6 -13
  864. package/lib/es/MapLayerRoadRestrictionsItem.js +6 -13
  865. package/lib/es/MapLayerSettings.js +6 -13
  866. package/lib/es/MapLayerTrafficItem.js +6 -13
  867. package/lib/es/MapLockMarkerButton.js +6 -13
  868. package/lib/es/MapSettings.js +6 -13
  869. package/lib/es/MapSettingsItem.js +6 -13
  870. package/lib/es/MapSettingsPanel.js +6 -13
  871. package/lib/es/MapSettingsTile.js +6 -13
  872. package/lib/es/MapTypeSettings.js +6 -13
  873. package/lib/es/MapWorkshopPoiSettingsItem.js +6 -13
  874. package/lib/es/Marker.js +6 -13
  875. package/lib/es/MarkerLayer.js +6 -13
  876. package/lib/es/MediaDialog.js +6 -13
  877. package/lib/es/MenuItem.js +6 -13
  878. package/lib/es/Multiselect.js +6 -13
  879. package/lib/es/NoData.d.ts +2 -5
  880. package/lib/es/NoData.js +7 -13
  881. package/lib/es/NotBookedState.js +6 -13
  882. package/lib/es/NotFoundState.js +6 -13
  883. package/lib/es/Notification.js +6 -13
  884. package/lib/es/NotificationsContainer.js +6 -13
  885. package/lib/es/NumberControl.d.ts +2 -8
  886. package/lib/es/NumberControl.js +7 -13
  887. package/lib/es/NumberInput.d.ts +2 -8
  888. package/lib/es/NumberInput.js +7 -13
  889. package/lib/es/OnboardingTip.js +6 -13
  890. package/lib/es/OverlayTrigger.d.ts +2 -29
  891. package/lib/es/OverlayTrigger.js +7 -13
  892. package/lib/es/Pager.d.ts +2 -11
  893. package/lib/es/Pager.js +7 -13
  894. package/lib/es/PieChart.js +6 -13
  895. package/lib/es/Polygon.js +6 -13
  896. package/lib/es/Polyline.js +6 -13
  897. package/lib/es/Popover.js +6 -13
  898. package/lib/es/Position.js +6 -13
  899. package/lib/es/PositionUtils.js +5 -12
  900. package/lib/es/RadialBarChart.js +6 -13
  901. package/lib/es/RadioButton.js +6 -13
  902. package/lib/es/RangeSlider.js +6 -13
  903. package/lib/es/ReleaseNotes.d.ts +2 -5
  904. package/lib/es/ReleaseNotes.js +6 -13
  905. package/lib/es/ReleaseNotesDialog.js +7 -13
  906. package/lib/es/Resizer.d.ts +2 -13
  907. package/lib/es/Resizer.js +7 -13
  908. package/lib/es/ResponsiveColumnStripe.js +6 -13
  909. package/lib/es/ResponsiveVideo.d.ts +2 -8
  910. package/lib/es/ResponsiveVideo.js +7 -13
  911. package/lib/es/Route.js +6 -13
  912. package/lib/es/RuleConnector.js +6 -13
  913. package/lib/es/RuleContainer.js +6 -13
  914. package/lib/es/RulesWrapper.js +6 -13
  915. package/lib/es/SaveDialog.js +6 -13
  916. package/lib/es/SaveableInput.d.ts +2 -0
  917. package/lib/es/SaveableInput.js +7 -0
  918. package/lib/es/Select.js +6 -13
  919. package/lib/es/Sidebar.js +6 -13
  920. package/lib/es/SimpleButtonDropdown.js +6 -13
  921. package/lib/es/SimpleClusterLayer.js +6 -13
  922. package/lib/es/SimpleDialog.js +6 -13
  923. package/lib/es/SimpleTooltip.d.ts +2 -29
  924. package/lib/es/SimpleTooltip.js +7 -13
  925. package/lib/es/SingleButtonDropdown.js +6 -13
  926. package/lib/es/SingleMapMarker.js +6 -13
  927. package/lib/es/Slider.js +6 -13
  928. package/lib/es/SortArrowDown.js +5 -12
  929. package/lib/es/SortArrowUp.js +5 -12
  930. package/lib/es/SortArrows.js +5 -12
  931. package/lib/es/SortDirection.js +5 -12
  932. package/lib/es/SortUtils.js +6 -18
  933. package/lib/es/Spinner.d.ts +2 -5
  934. package/lib/es/Spinner.js +7 -13
  935. package/lib/es/SplitButtonDropdown.js +6 -13
  936. package/lib/es/SplitDialog.js +6 -13
  937. package/lib/es/StatsWidget.d.ts +2 -10
  938. package/lib/es/StatsWidget.js +7 -13
  939. package/lib/es/StatsWidgetNumber.d.ts +2 -5
  940. package/lib/es/StatsWidgetNumber.js +7 -13
  941. package/lib/es/StatsWidgetSpacer.d.ts +2 -5
  942. package/lib/es/StatsWidgetSpacer.js +7 -13
  943. package/lib/es/StatsWidgets.d.ts +1 -5
  944. package/lib/es/StatsWidgets.js +8 -13
  945. package/lib/es/StatusBar.d.ts +2 -5
  946. package/lib/es/StatusBar.js +7 -13
  947. package/lib/es/SteppedProgressBar.js +6 -13
  948. package/lib/es/SubNavigation.js +6 -13
  949. package/lib/es/SupportMarker.d.ts +9 -0
  950. package/lib/es/SupportMarker.js +8 -13
  951. package/lib/es/Switch.d.ts +2 -8
  952. package/lib/es/Switch.js +7 -13
  953. package/lib/es/TableCardsSorting.js +6 -13
  954. package/lib/es/TableSearch.js +6 -13
  955. package/lib/es/TableSettingsDialog.js +6 -13
  956. package/lib/es/TableToolbar.js +6 -13
  957. package/lib/es/TableViewToggles.js +6 -13
  958. package/lib/es/Tag.js +6 -13
  959. package/lib/es/TagList.js +6 -13
  960. package/lib/es/TagManager.js +6 -13
  961. package/lib/es/Teaser.js +6 -13
  962. package/lib/es/TeaserContainer.js +6 -13
  963. package/lib/es/TextMarker.js +6 -13
  964. package/lib/es/TimePicker.js +6 -13
  965. package/lib/es/ToggleButton.d.ts +2 -5
  966. package/lib/es/ToggleButton.js +7 -13
  967. package/lib/es/Tooltip.d.ts +2 -32
  968. package/lib/es/Tooltip.js +7 -13
  969. package/lib/es/TrafficLayer.js +6 -13
  970. package/lib/es/Tree.js +6 -13
  971. package/lib/es/TreeCategory.js +6 -13
  972. package/lib/es/TreeOption.js +6 -13
  973. package/lib/es/TreeSearch.js +6 -13
  974. package/lib/es/TreeSummary.js +6 -13
  975. package/lib/es/TruckLayer.js +6 -13
  976. package/lib/es/TypeCounter.js +6 -13
  977. package/lib/es/VolkswagenApplicationHeader.js +6 -13
  978. package/lib/es/components/actionBarItem/ActionBarItem.d.ts +50 -0
  979. package/lib/es/components/actionBarItem/ActionBarItem.js +120 -220
  980. package/lib/es/components/actionBarItem/ActionBarItemIcon.d.ts +9 -0
  981. package/lib/es/components/actionBarItem/ActionBarItemIcon.js +14 -29
  982. package/lib/es/components/actionBarItem/ActionBarItemList.d.ts +12 -0
  983. package/lib/es/components/actionBarItem/ActionBarItemList.js +14 -29
  984. package/lib/es/components/actionBarItem/ActionBarItemListItem.d.ts +29 -0
  985. package/lib/es/components/actionBarItem/ActionBarItemListItem.js +16 -42
  986. package/lib/es/components/actionBarItem/ActionBarItemListSeparator.d.ts +11 -0
  987. package/lib/es/components/actionBarItem/ActionBarItemListSeparator.js +13 -28
  988. package/lib/es/components/actionBarItem/ActionBarItemPopoverContent.d.ts +17 -0
  989. package/lib/es/components/actionBarItem/ActionBarItemPopoverContent.js +16 -33
  990. package/lib/es/components/actionBarItem/ActionBarOverlay.d.ts +18 -0
  991. package/lib/es/components/actionBarItem/ActionBarOverlay.js +20 -64
  992. package/lib/es/components/activity/Activity.d.ts +54 -0
  993. package/lib/es/components/activity/Activity.js +31 -67
  994. package/lib/es/components/animatedNumber/AnimatedNumber.d.ts +21 -0
  995. package/lib/es/components/animatedNumber/AnimatedNumber.js +23 -73
  996. package/lib/es/components/applicationHeader/AppMenu.d.ts +11 -0
  997. package/lib/es/components/applicationHeader/AppMenu.js +16 -67
  998. package/lib/es/components/applicationHeader/AppMenuContent.d.ts +8 -0
  999. package/lib/es/components/applicationHeader/AppMenuContent.js +18 -0
  1000. package/lib/es/components/applicationHeader/AppMenuDropdown.d.ts +8 -0
  1001. package/lib/es/components/applicationHeader/AppMenuDropdown.js +42 -89
  1002. package/lib/es/components/applicationHeader/ApplicationActionBar.d.ts +8 -0
  1003. package/lib/es/components/applicationHeader/ApplicationActionBar.js +13 -29
  1004. package/lib/es/components/applicationHeader/ApplicationHeader.d.ts +70 -0
  1005. package/lib/es/components/applicationHeader/ApplicationHeader.js +35 -125
  1006. package/lib/es/components/applicationHeader/CollapsedNavItem.d.ts +11 -0
  1007. package/lib/es/components/applicationHeader/CollapsedNavItem.js +17 -0
  1008. package/lib/es/components/applicationHeader/MobileAppMenu.d.ts +11 -0
  1009. package/lib/es/components/applicationHeader/MobileAppMenu.js +20 -66
  1010. package/lib/es/components/applicationHeader/MobileHeaderModal.d.ts +10 -0
  1011. package/lib/es/components/applicationHeader/MobileHeaderModal.js +21 -80
  1012. package/lib/es/components/applicationHeader/MobileSubmoduleNavigation.d.ts +9 -0
  1013. package/lib/es/components/applicationHeader/MobileSubmoduleNavigation.js +25 -74
  1014. package/lib/es/components/applicationHeader/NavItems.d.ts +9 -0
  1015. package/lib/es/components/applicationHeader/NavItems.js +127 -207
  1016. package/lib/es/components/applicationLayout/ApplicationLayout.d.ts +22 -0
  1017. package/lib/es/components/applicationLayout/ApplicationLayout.js +22 -42
  1018. package/lib/es/components/applicationLayout/ApplicationLayoutBody.d.ts +42 -0
  1019. package/lib/es/components/applicationLayout/ApplicationLayoutBody.js +44 -101
  1020. package/lib/es/components/applicationLayout/ApplicationLayoutBodyBanner.d.ts +26 -0
  1021. package/lib/es/components/applicationLayout/ApplicationLayoutBodyBanner.js +14 -43
  1022. package/lib/es/components/applicationLayout/ApplicationLayoutBodyBottomBar.d.ts +30 -0
  1023. package/lib/es/components/applicationLayout/ApplicationLayoutBodyBottomBar.js +14 -42
  1024. package/lib/es/components/applicationLayout/ApplicationLayoutBodyNavigation.d.ts +11 -0
  1025. package/lib/es/components/applicationLayout/ApplicationLayoutBodyNavigation.js +12 -33
  1026. package/lib/es/components/applicationLayout/ApplicationLayoutHeader.d.ts +11 -0
  1027. package/lib/es/components/applicationLayout/ApplicationLayoutHeader.js +16 -34
  1028. package/lib/es/components/applicationLayout/ApplicationLayoutSidebar.d.ts +11 -0
  1029. package/lib/es/components/applicationLayout/ApplicationLayoutSidebar.js +12 -33
  1030. package/lib/es/components/applicationLayout/SubNavigation.d.ts +8 -0
  1031. package/lib/es/components/applicationLayout/SubNavigation.js +12 -49
  1032. package/lib/es/components/aspectRatioPlaceholder/AspectRatioPlaceholder.d.ts +11 -0
  1033. package/lib/es/components/aspectRatioPlaceholder/AspectRatioPlaceholder.js +10 -33
  1034. package/lib/es/components/assetTree/AssetTree.d.ts +3 -0
  1035. package/lib/es/components/assetTree/AssetTree.js +137 -212
  1036. package/lib/es/components/assetTree/Tree.d.ts +4 -0
  1037. package/lib/es/components/assetTree/Tree.js +432 -683
  1038. package/lib/es/components/assetTree/TreeCategory.d.ts +12 -0
  1039. package/lib/es/components/assetTree/TreeCategory.js +13 -20
  1040. package/lib/es/components/assetTree/TreeLeaf.d.ts +12 -0
  1041. package/lib/es/components/assetTree/TreeLeaf.js +16 -61
  1042. package/lib/es/components/assetTree/TreeLeafList.d.ts +14 -0
  1043. package/lib/es/components/assetTree/TreeLeafList.js +31 -55
  1044. package/lib/es/components/assetTree/TreeNode.d.ts +3 -0
  1045. package/lib/es/components/assetTree/TreeNode.js +30 -67
  1046. package/lib/es/components/assetTree/TreeNodeContainer.d.ts +13 -0
  1047. package/lib/es/components/assetTree/TreeNodeContainer.js +16 -26
  1048. package/lib/es/components/assetTree/TreeNothingFound.d.ts +3 -0
  1049. package/lib/es/components/assetTree/TreeNothingFound.js +17 -24
  1050. package/lib/es/components/assetTree/TreeOption.d.ts +18 -0
  1051. package/lib/es/components/assetTree/TreeOption.js +25 -46
  1052. package/lib/es/components/assetTree/TreeOptions.d.ts +14 -0
  1053. package/lib/es/components/assetTree/TreeOptions.js +27 -44
  1054. package/lib/es/components/assetTree/TreeRoot.d.ts +12 -0
  1055. package/lib/es/components/assetTree/TreeRoot.js +16 -27
  1056. package/lib/es/components/assetTree/TreeSearch.d.ts +3 -0
  1057. package/lib/es/components/assetTree/TreeSearch.js +24 -44
  1058. package/lib/es/components/assetTree/TreeSelectAll.d.ts +27 -0
  1059. package/lib/es/components/assetTree/TreeSelectAll.js +31 -49
  1060. package/lib/es/components/assetTree/TreeSidebar.d.ts +3 -0
  1061. package/lib/es/components/assetTree/TreeSidebar.js +46 -83
  1062. package/lib/es/components/assetTree/TreeSummary.d.ts +3 -0
  1063. package/lib/es/components/assetTree/TreeSummary.js +33 -70
  1064. package/lib/es/components/assetTree/TypeCounter.d.ts +3 -0
  1065. package/lib/es/components/assetTree/TypeCounter.js +34 -63
  1066. package/lib/es/components/autosuggest/AutoSuggest.d.ts +199 -0
  1067. package/lib/es/components/autosuggest/AutoSuggest.js +207 -485
  1068. package/lib/es/components/autosuggest/AutoSuggestAddons.d.ts +8 -0
  1069. package/lib/es/components/autosuggest/AutoSuggestAddons.js +9 -0
  1070. package/lib/es/components/autosuggest/DropdownSpinner.d.ts +4 -0
  1071. package/lib/es/components/autosuggest/DropdownSpinner.js +8 -0
  1072. package/lib/es/components/autosuggest/NoItemMessage.d.ts +5 -0
  1073. package/lib/es/components/autosuggest/NoItemMessage.js +7 -0
  1074. package/lib/es/components/bottomSheet/BottomSheet.d.ts +68 -0
  1075. package/lib/es/components/bottomSheet/BottomSheet.js +57 -139
  1076. package/lib/es/components/browserWarning/BrowserIcons.d.ts +2 -0
  1077. package/lib/es/components/browserWarning/BrowserIcons.js +11 -71
  1078. package/lib/es/components/browserWarning/BrowserWarning.d.ts +15 -0
  1079. package/lib/es/components/browserWarning/BrowserWarning.js +49 -80
  1080. package/lib/es/components/browserWarning/BrowserWarningMessageDE.d.ts +4 -0
  1081. package/lib/es/components/browserWarning/BrowserWarningMessageDE.js +9 -43
  1082. package/lib/es/components/browserWarning/BrowserWarningMessageEN.d.ts +4 -0
  1083. package/lib/es/components/browserWarning/BrowserWarningMessageEN.js +9 -43
  1084. package/lib/es/components/button/Button.d.ts +122 -0
  1085. package/lib/es/components/button/Button.js +81 -126
  1086. package/lib/es/components/button/ToggleButton.d.ts +7 -0
  1087. package/lib/es/components/button/ToggleButton.js +9 -19
  1088. package/lib/es/components/calendarStripe/CalendarStripe.d.ts +3 -0
  1089. package/lib/es/components/calendarStripe/CalendarStripe.js +148 -225
  1090. package/lib/es/components/carousel/Carousel.d.ts +2 -0
  1091. package/lib/es/components/carousel/Carousel.js +13 -14
  1092. package/lib/es/components/carousel/CarouselCaption.d.ts +13 -0
  1093. package/lib/es/components/carousel/CarouselCaption.js +20 -48
  1094. package/lib/es/components/carousel/CarouselItem.d.ts +36 -0
  1095. package/lib/es/components/carousel/CarouselItem.js +87 -134
  1096. package/lib/es/components/charts/Area.d.ts +13 -0
  1097. package/lib/es/components/charts/Area.js +13 -20
  1098. package/lib/es/components/charts/AreaChart.d.ts +17 -0
  1099. package/lib/es/components/charts/AreaChart.js +42 -106
  1100. package/lib/es/components/charts/AreaGradient.d.ts +11 -0
  1101. package/lib/es/components/charts/AreaGradient.js +12 -35
  1102. package/lib/es/components/charts/Bar.d.ts +10 -0
  1103. package/lib/es/components/charts/Bar.js +10 -17
  1104. package/lib/es/components/charts/BarChart.d.ts +18 -0
  1105. package/lib/es/components/charts/BarChart.js +45 -106
  1106. package/lib/es/components/charts/ChartNeedle.d.ts +12 -0
  1107. package/lib/es/components/charts/ChartNeedle.js +21 -48
  1108. package/lib/es/components/charts/ChartTooltip.d.ts +5 -0
  1109. package/lib/es/components/charts/ChartTooltip.js +5 -12
  1110. package/lib/es/components/charts/Legend.d.ts +11 -0
  1111. package/lib/es/components/charts/Legend.js +11 -18
  1112. package/lib/es/components/charts/Line.d.ts +12 -0
  1113. package/lib/es/components/charts/Line.js +12 -19
  1114. package/lib/es/components/charts/LineChart.d.ts +16 -0
  1115. package/lib/es/components/charts/LineChart.js +33 -88
  1116. package/lib/es/components/charts/PieChart.d.ts +20 -0
  1117. package/lib/es/components/charts/PieChart.js +50 -113
  1118. package/lib/es/components/charts/RadialBarChart.d.ts +20 -0
  1119. package/lib/es/components/charts/RadialBarChart.js +42 -120
  1120. package/lib/es/components/charts/chartHelper.d.ts +5 -0
  1121. package/lib/es/components/charts/chartHelper.js +25 -38
  1122. package/lib/es/components/checkbox/Checkbox.d.ts +127 -0
  1123. package/lib/es/components/checkbox/Checkbox.js +60 -170
  1124. package/lib/es/components/checkbox/CheckboxIcon.d.ts +9 -0
  1125. package/lib/es/components/checkbox/CheckboxIcon.js +15 -0
  1126. package/lib/es/components/clearableInput/ClearableInput.d.ts +96 -0
  1127. package/lib/es/components/clearableInput/ClearableInput.js +71 -194
  1128. package/lib/es/components/collapse/Collapse.d.ts +59 -0
  1129. package/lib/es/components/collapse/Collapse.js +151 -227
  1130. package/lib/es/components/contentLoader/ContentLoader.d.ts +55 -0
  1131. package/lib/es/components/contentLoader/ContentLoader.js +52 -90
  1132. package/lib/es/components/dataTabs/DataTab.d.ts +29 -0
  1133. package/lib/es/components/dataTabs/DataTab.js +24 -64
  1134. package/lib/es/components/dataTabs/DataTabHeader.d.ts +18 -0
  1135. package/lib/es/components/dataTabs/DataTabHeader.js +13 -0
  1136. package/lib/es/components/dataTabs/DataTabs.d.ts +80 -0
  1137. package/lib/es/components/dataTabs/DataTabs.js +54 -153
  1138. package/lib/es/components/datepicker/DatePicker.d.ts +3 -0
  1139. package/lib/es/components/datepicker/DatePicker.js +50 -78
  1140. package/lib/es/components/datepicker/DateRangePicker.d.ts +208 -0
  1141. package/lib/es/components/datepicker/DateRangePicker.js +436 -706
  1142. package/lib/es/components/dialog/ConfirmationDialog.d.ts +25 -0
  1143. package/lib/es/components/dialog/ConfirmationDialog.js +33 -64
  1144. package/lib/es/components/dialog/Dialog.d.ts +42 -0
  1145. package/lib/es/components/dialog/Dialog.js +98 -160
  1146. package/lib/es/components/dialog/DialogBody.d.ts +16 -0
  1147. package/lib/es/components/dialog/DialogBody.js +19 -30
  1148. package/lib/es/components/dialog/DialogFooter.d.ts +16 -0
  1149. package/lib/es/components/dialog/DialogFooter.js +19 -30
  1150. package/lib/es/components/dialog/DialogHeader.d.ts +18 -0
  1151. package/lib/es/components/dialog/DialogHeader.js +22 -54
  1152. package/lib/es/components/dialog/InfoDialog.d.ts +18 -0
  1153. package/lib/es/components/dialog/InfoDialog.js +15 -31
  1154. package/lib/es/components/dialog/MediaDialog.d.ts +58 -0
  1155. package/lib/es/components/dialog/MediaDialog.js +109 -226
  1156. package/lib/es/components/dialog/ReleaseNotesDialog.d.ts +20 -0
  1157. package/lib/es/components/dialog/ReleaseNotesDialog.js +40 -66
  1158. package/lib/es/components/dialog/SaveDialog.d.ts +31 -0
  1159. package/lib/es/components/dialog/SaveDialog.js +25 -70
  1160. package/lib/es/components/dialog/SimpleDialog.d.ts +21 -0
  1161. package/lib/es/components/dialog/SimpleDialog.js +21 -37
  1162. package/lib/es/components/dialog/SplitDialog.d.ts +32 -0
  1163. package/lib/es/components/dialog/SplitDialog.js +26 -56
  1164. package/lib/es/components/dialog/baseDialogPropTypes.d.ts +14 -0
  1165. package/lib/es/components/dialog/baseDialogPropTypes.js +16 -21
  1166. package/lib/es/components/driverName/DriverName.d.ts +18 -0
  1167. package/lib/es/components/driverName/DriverName.js +23 -34
  1168. package/lib/es/components/dropdown/ButtonDropdown.d.ts +66 -0
  1169. package/lib/es/components/dropdown/ButtonDropdown.js +129 -200
  1170. package/lib/es/components/dropdown/Caret.d.ts +2 -0
  1171. package/lib/es/components/dropdown/Caret.js +7 -15
  1172. package/lib/es/components/dropdown/DropdownSubmenu.d.ts +19 -0
  1173. package/lib/es/components/dropdown/DropdownSubmenu.js +27 -46
  1174. package/lib/es/components/dropdown/DropdownToggleButton.d.ts +3 -0
  1175. package/lib/es/components/dropdown/DropdownToggleButton.js +21 -42
  1176. package/lib/es/components/dropdown/SimpleButtonDropdown.d.ts +2 -0
  1177. package/lib/es/components/dropdown/SimpleButtonDropdown.js +8 -17
  1178. package/lib/es/components/dropdown/SingleButtonDropdown.d.ts +2 -0
  1179. package/lib/es/components/dropdown/SingleButtonDropdown.js +8 -14
  1180. package/lib/es/components/dropdown/SplitButtonDropdown.d.ts +2 -0
  1181. package/lib/es/components/dropdown/SplitButtonDropdown.js +8 -17
  1182. package/lib/es/components/dropdown/SplitCaretButton.d.ts +3 -0
  1183. package/lib/es/components/dropdown/SplitCaretButton.js +19 -34
  1184. package/lib/es/components/dropdown/menuItemsPropTypes.d.ts +9 -0
  1185. package/lib/es/components/dropdown/menuItemsPropTypes.js +11 -16
  1186. package/lib/es/components/editableContent/EditableContent.d.ts +86 -0
  1187. package/lib/es/components/editableContent/EditableContent.js +111 -0
  1188. package/lib/es/components/expander/ExpanderList.d.ts +39 -0
  1189. package/lib/es/components/expander/ExpanderList.js +101 -167
  1190. package/lib/es/components/expander/ExpanderPanel.d.ts +51 -0
  1191. package/lib/es/components/expander/ExpanderPanel.js +73 -119
  1192. package/lib/es/components/fade/Fade.d.ts +46 -0
  1193. package/lib/es/components/fade/Fade.js +180 -283
  1194. package/lib/es/components/filepicker/FilePicker.d.ts +30 -0
  1195. package/lib/es/components/filepicker/FilePicker.js +51 -89
  1196. package/lib/es/components/listMenu/ListMenu.d.ts +44 -0
  1197. package/lib/es/components/listMenu/ListMenu.js +131 -255
  1198. package/lib/es/components/loadMore/LoadMoreButton.d.ts +42 -0
  1199. package/lib/es/components/loadMore/LoadMoreButton.js +17 -60
  1200. package/lib/es/components/loadMore/LoadMoreProgress.d.ts +12 -0
  1201. package/lib/es/components/loadMore/LoadMoreProgress.js +24 -44
  1202. package/lib/es/components/map/components/Map.d.ts +99 -0
  1203. package/lib/es/components/map/components/Map.js +326 -475
  1204. package/lib/es/components/map/components/constants.d.ts +12 -0
  1205. package/lib/es/components/map/components/constants.js +15 -30
  1206. package/lib/es/components/map/components/context.d.ts +2 -0
  1207. package/lib/es/components/map/components/context.js +6 -11
  1208. package/lib/es/components/map/components/features/ContextMenu.d.ts +2 -0
  1209. package/lib/es/components/map/components/features/ContextMenu.js +118 -155
  1210. package/lib/es/components/map/components/features/ContextMenuItem.d.ts +28 -0
  1211. package/lib/es/components/map/components/features/ContextMenuItem.js +32 -40
  1212. package/lib/es/components/map/components/features/MapSettings.d.ts +22 -0
  1213. package/lib/es/components/map/components/features/MapSettings.js +67 -88
  1214. package/lib/es/components/map/components/features/Route.d.ts +48 -0
  1215. package/lib/es/components/map/components/features/Route.js +98 -176
  1216. package/lib/es/components/map/components/features/basics/Circle.d.ts +21 -0
  1217. package/lib/es/components/map/components/features/basics/Circle.js +41 -63
  1218. package/lib/es/components/map/components/features/basics/MapLayerGroup.d.ts +23 -0
  1219. package/lib/es/components/map/components/features/basics/MapLayerGroup.js +48 -76
  1220. package/lib/es/components/map/components/features/basics/Polygon.d.ts +17 -0
  1221. package/lib/es/components/map/components/features/basics/Polygon.js +49 -66
  1222. package/lib/es/components/map/components/features/basics/Polyline.d.ts +20 -0
  1223. package/lib/es/components/map/components/features/basics/Polyline.js +80 -112
  1224. package/lib/es/components/map/components/features/basics/marker/DomMarker.d.ts +33 -0
  1225. package/lib/es/components/map/components/features/basics/marker/DomMarker.js +58 -89
  1226. package/lib/es/components/map/components/features/basics/marker/Marker.d.ts +21 -0
  1227. package/lib/es/components/map/components/features/basics/marker/Marker.js +123 -150
  1228. package/lib/es/components/map/components/features/basics/marker/Marker2.d.ts +21 -0
  1229. package/lib/es/components/map/components/features/basics/marker/Marker2.js +222 -0
  1230. package/lib/es/components/map/components/features/basics/marker/TextMarker.d.ts +17 -0
  1231. package/lib/es/components/map/components/features/basics/marker/TextMarker.js +31 -40
  1232. package/lib/es/components/map/components/features/layers/IncidentsLayer.d.ts +2 -0
  1233. package/lib/es/components/map/components/features/layers/IncidentsLayer.js +12 -22
  1234. package/lib/es/components/map/components/features/layers/Layer.d.ts +16 -0
  1235. package/lib/es/components/map/components/features/layers/Layer.js +29 -37
  1236. package/lib/es/components/map/components/features/layers/MarkerLayer.d.ts +14 -0
  1237. package/lib/es/components/map/components/features/layers/MarkerLayer.js +29 -51
  1238. package/lib/es/components/map/components/features/layers/RoadRestrictionLayer.d.ts +2 -0
  1239. package/lib/es/components/map/components/features/layers/RoadRestrictionLayer.js +22 -34
  1240. package/lib/es/components/map/components/features/layers/TrafficLayer.d.ts +2 -0
  1241. package/lib/es/components/map/components/features/layers/TrafficLayer.js +30 -42
  1242. package/lib/es/components/map/components/features/layers/baselayers/DefaultRasterLayer.d.ts +2 -0
  1243. package/lib/es/components/map/components/features/layers/baselayers/DefaultRasterLayer.js +19 -26
  1244. package/lib/es/components/map/components/features/layers/baselayers/DefaultVectorLayer.d.ts +2 -0
  1245. package/lib/es/components/map/components/features/layers/baselayers/DefaultVectorLayer.js +16 -22
  1246. package/lib/es/components/map/components/features/layers/baselayers/FleetStyleLayer.d.ts +2 -0
  1247. package/lib/es/components/map/components/features/layers/baselayers/FleetStyleLayer.js +17 -23
  1248. package/lib/es/components/map/components/features/layers/baselayers/NightLayer.d.ts +2 -0
  1249. package/lib/es/components/map/components/features/layers/baselayers/NightLayer.js +16 -23
  1250. package/lib/es/components/map/components/features/layers/baselayers/SatelliteLayer.d.ts +2 -0
  1251. package/lib/es/components/map/components/features/layers/baselayers/SatelliteLayer.js +17 -23
  1252. package/lib/es/components/map/components/features/layers/baselayers/TerrainLayer.d.ts +2 -0
  1253. package/lib/es/components/map/components/features/layers/baselayers/TerrainLayer.js +17 -23
  1254. package/lib/es/components/map/components/features/layers/baselayers/useBaseLayer.d.ts +2 -0
  1255. package/lib/es/components/map/components/features/layers/baselayers/useBaseLayer.js +44 -64
  1256. package/lib/es/components/map/components/features/layers/clustering/ClusterLayer.d.ts +29 -0
  1257. package/lib/es/components/map/components/features/layers/clustering/ClusterLayer.js +70 -97
  1258. package/lib/es/components/map/components/features/layers/clustering/SimpleClusterLayer.d.ts +10 -0
  1259. package/lib/es/components/map/components/features/layers/clustering/SimpleClusterLayer.js +17 -29
  1260. package/lib/es/components/map/components/features/settings/MapSettingsItem.d.ts +20 -0
  1261. package/lib/es/components/map/components/features/settings/MapSettingsItem.js +33 -42
  1262. package/lib/es/components/map/components/features/settings/MapSettingsPanel.d.ts +12 -0
  1263. package/lib/es/components/map/components/features/settings/MapSettingsPanel.js +23 -43
  1264. package/lib/es/components/map/components/features/settings/MapSettingsTile.d.ts +20 -0
  1265. package/lib/es/components/map/components/features/settings/MapSettingsTile.js +58 -97
  1266. package/lib/es/components/map/components/features/settings/ZoomButtons.d.ts +12 -0
  1267. package/lib/es/components/map/components/features/settings/ZoomButtons.js +17 -43
  1268. package/lib/es/components/map/components/features/settings/builtinSettings/MapClusterSettings.d.ts +19 -0
  1269. package/lib/es/components/map/components/features/settings/builtinSettings/MapClusterSettings.js +30 -76
  1270. package/lib/es/components/map/components/features/settings/builtinSettings/MapLayerSettings.d.ts +22 -0
  1271. package/lib/es/components/map/components/features/settings/builtinSettings/MapLayerSettings.js +37 -62
  1272. package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.d.ts +17 -0
  1273. package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +50 -139
  1274. package/lib/es/components/map/components/features/settings/buttons/MapBoundingBoxButton.d.ts +14 -0
  1275. package/lib/es/components/map/components/features/settings/buttons/MapBoundingBoxButton.js +21 -42
  1276. package/lib/es/components/map/components/features/settings/buttons/MapCenterMarkerButton.d.ts +14 -0
  1277. package/lib/es/components/map/components/features/settings/buttons/MapCenterMarkerButton.js +21 -42
  1278. package/lib/es/components/map/components/features/settings/buttons/MapLockMarkerButton.d.ts +14 -0
  1279. package/lib/es/components/map/components/features/settings/buttons/MapLockMarkerButton.js +21 -42
  1280. package/lib/es/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.d.ts +16 -0
  1281. package/lib/es/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.js +23 -48
  1282. package/lib/es/components/map/components/features/settings/items/MapLayerIncidentsItem.d.ts +19 -0
  1283. package/lib/es/components/map/components/features/settings/items/MapLayerIncidentsItem.js +29 -49
  1284. package/lib/es/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.d.ts +19 -0
  1285. package/lib/es/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.js +29 -49
  1286. package/lib/es/components/map/components/features/settings/items/MapLayerTrafficItem.d.ts +19 -0
  1287. package/lib/es/components/map/components/features/settings/items/MapLayerTrafficItem.js +29 -49
  1288. package/lib/es/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.d.ts +16 -0
  1289. package/lib/es/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.js +23 -48
  1290. package/lib/es/components/map/components/mapUtils.d.ts +50 -0
  1291. package/lib/es/components/map/components/mapUtils.js +154 -200
  1292. package/lib/es/components/map/exceptions/MapException.d.ts +8 -0
  1293. package/lib/es/components/map/exceptions/MapException.js +10 -13
  1294. package/lib/es/components/map/herePolyfill.d.ts +0 -0
  1295. package/lib/es/components/map/herePolyfill.js +7 -8
  1296. package/lib/es/components/map/icons/MapIcon.d.ts +40 -0
  1297. package/lib/es/components/map/icons/MapIcon.js +87 -545
  1298. package/lib/es/components/map/utils/clustering.d.ts +9 -0
  1299. package/lib/es/components/map/utils/clustering.js +61 -71
  1300. package/lib/es/components/map/utils/eventHandling.d.ts +47 -0
  1301. package/lib/es/components/map/utils/eventHandling.js +125 -160
  1302. package/lib/es/components/map/utils/hooks.d.ts +2 -0
  1303. package/lib/es/components/map/utils/hooks.js +27 -31
  1304. package/lib/es/components/map/utils/localization.d.ts +2 -0
  1305. package/lib/es/components/map/utils/localization.js +406 -407
  1306. package/lib/es/components/map/utils/positions.d.ts +10 -0
  1307. package/lib/es/components/map/utils/positions.js +49 -54
  1308. package/lib/es/components/map/utils/proptypes.d.ts +47 -0
  1309. package/lib/es/components/map/utils/proptypes.js +53 -59
  1310. package/lib/es/components/map/utils/validation.d.ts +2 -0
  1311. package/lib/es/components/map/utils/validation.js +14 -19
  1312. package/lib/es/components/mapMarker/ClusterMapMarker.d.ts +26 -0
  1313. package/lib/es/components/mapMarker/ClusterMapMarker.js +50 -73
  1314. package/lib/es/components/mapMarker/SingleMapMarker.d.ts +35 -0
  1315. package/lib/es/components/mapMarker/SingleMapMarker.js +65 -96
  1316. package/lib/es/components/menuItems/MenuItem.d.ts +14 -0
  1317. package/lib/es/components/menuItems/MenuItem.js +37 -75
  1318. package/lib/es/components/menuItems/MenuItems.d.ts +3 -0
  1319. package/lib/es/components/menuItems/MenuItems.js +12 -26
  1320. package/lib/es/components/menuItems/getMenuItems.d.ts +2 -0
  1321. package/lib/es/components/menuItems/getMenuItems.js +10 -23
  1322. package/lib/es/components/navigation/AppNavigationBar.d.ts +3 -0
  1323. package/lib/es/components/navigation/AppNavigationBar.js +25 -52
  1324. package/lib/es/components/noData/NoData.d.ts +37 -0
  1325. package/lib/es/components/noData/NoData.js +18 -55
  1326. package/lib/es/components/notification/Notification.d.ts +1 -0
  1327. package/lib/es/components/notification/Notification.js +6 -11
  1328. package/lib/es/components/notification/NotificationsContainer.d.ts +14 -0
  1329. package/lib/es/components/notification/NotificationsContainer.js +19 -26
  1330. package/lib/es/components/numberControl/NumberControl.d.ts +5 -0
  1331. package/lib/es/components/numberControl/NumberControl.js +115 -209
  1332. package/lib/es/components/numberInput/NumberInput.d.ts +77 -0
  1333. package/lib/es/components/numberInput/NumberInput.js +162 -192
  1334. package/lib/es/components/onboarding/OnboardingTip.d.ts +63 -0
  1335. package/lib/es/components/onboarding/OnboardingTip.js +104 -125
  1336. package/lib/es/components/overlay/OverlayTrigger.d.ts +25 -0
  1337. package/lib/es/components/overlay/OverlayTrigger.js +36 -61
  1338. package/lib/es/components/pager/Pager.d.ts +53 -0
  1339. package/lib/es/components/pager/Pager.js +35 -97
  1340. package/lib/es/components/popover/Popover.d.ts +3 -0
  1341. package/lib/es/components/popover/Popover.js +25 -44
  1342. package/lib/es/components/position/Position.d.ts +10 -0
  1343. package/lib/es/components/position/Position.js +30 -37
  1344. package/lib/es/components/preloader/ImagePreloader.d.ts +22 -0
  1345. package/lib/es/components/preloader/ImagePreloader.js +63 -88
  1346. package/lib/es/components/radiobutton/RadioButton.d.ts +45 -0
  1347. package/lib/es/components/radiobutton/RadioButton.js +87 -150
  1348. package/lib/es/components/releaseNotes/ReleaseNotes.d.ts +35 -0
  1349. package/lib/es/components/releaseNotes/ReleaseNotes.js +19 -64
  1350. package/lib/es/components/resizer/Resizer.d.ts +58 -0
  1351. package/lib/es/components/resizer/Resizer.js +133 -189
  1352. package/lib/es/components/responsiveColumnStripe/ResponsiveColumnStripe.d.ts +3 -0
  1353. package/lib/es/components/responsiveColumnStripe/ResponsiveColumnStripe.js +167 -266
  1354. package/lib/es/components/rules/RuleConnector.d.ts +39 -0
  1355. package/lib/es/components/rules/RuleConnector.js +46 -84
  1356. package/lib/es/components/rules/RuleContainer.d.ts +28 -0
  1357. package/lib/es/components/rules/RuleContainer.js +43 -80
  1358. package/lib/es/components/rules/RulesWrapper.d.ts +8 -0
  1359. package/lib/es/components/rules/RulesWrapper.js +12 -25
  1360. package/lib/es/components/saveableInput/SaveableInput.d.ts +46 -0
  1361. package/lib/es/components/saveableInput/SaveableInput.js +92 -0
  1362. package/lib/es/components/selects/BaseDropdownMenu.d.ts +83 -0
  1363. package/lib/es/components/selects/BaseDropdownMenu.js +260 -387
  1364. package/lib/es/components/selects/DropdownHeader.d.ts +14 -0
  1365. package/lib/es/components/selects/DropdownHeader.js +19 -31
  1366. package/lib/es/components/selects/Multiselect.d.ts +98 -0
  1367. package/lib/es/components/selects/Multiselect.js +326 -507
  1368. package/lib/es/components/selects/Select.d.ts +97 -0
  1369. package/lib/es/components/selects/Select.js +285 -458
  1370. package/lib/es/components/sidebars/Sidebar.d.ts +112 -0
  1371. package/lib/es/components/sidebars/Sidebar.js +219 -375
  1372. package/lib/es/components/slider/RangeSlider.d.ts +33 -0
  1373. package/lib/es/components/slider/RangeSlider.js +124 -225
  1374. package/lib/es/components/slider/Slider.d.ts +38 -0
  1375. package/lib/es/components/slider/Slider.js +58 -107
  1376. package/lib/es/components/spinner/Spinner.d.ts +48 -0
  1377. package/lib/es/components/spinner/Spinner.js +26 -72
  1378. package/lib/es/components/states/CustomState.d.ts +15 -0
  1379. package/lib/es/components/states/CustomState.js +60 -126
  1380. package/lib/es/components/states/EmptyState.d.ts +9 -0
  1381. package/lib/es/components/states/EmptyState.js +13 -19
  1382. package/lib/es/components/states/ErrorState.d.ts +9 -0
  1383. package/lib/es/components/states/ErrorState.js +13 -19
  1384. package/lib/es/components/states/ForbiddenState.d.ts +9 -0
  1385. package/lib/es/components/states/ForbiddenState.js +13 -19
  1386. package/lib/es/components/states/MaintenanceState.d.ts +9 -0
  1387. package/lib/es/components/states/MaintenanceState.js +13 -19
  1388. package/lib/es/components/states/NotBookedState.d.ts +20 -0
  1389. package/lib/es/components/states/NotBookedState.js +30 -49
  1390. package/lib/es/components/states/NotFoundState.d.ts +9 -0
  1391. package/lib/es/components/states/NotFoundState.js +13 -19
  1392. package/lib/es/components/states/baseStatePropTypes.d.ts +26 -0
  1393. package/lib/es/components/states/baseStatePropTypes.js +30 -37
  1394. package/lib/es/components/statsWidget/StatsWidget.d.ts +26 -0
  1395. package/lib/es/components/statsWidget/StatsWidget.js +21 -47
  1396. package/lib/es/components/statsWidget/StatsWidgetBody.d.ts +14 -0
  1397. package/lib/es/components/statsWidget/StatsWidgetBody.js +13 -36
  1398. package/lib/es/components/statsWidget/StatsWidgetFooter.d.ts +9 -0
  1399. package/lib/es/components/statsWidget/StatsWidgetFooter.js +13 -23
  1400. package/lib/es/components/statsWidget/StatsWidgetHeader.d.ts +9 -0
  1401. package/lib/es/components/statsWidget/StatsWidgetHeader.js +13 -23
  1402. package/lib/es/components/statsWidget/StatsWidgetNumber.d.ts +31 -0
  1403. package/lib/es/components/statsWidget/StatsWidgetNumber.js +13 -48
  1404. package/lib/es/components/statsWidget/StatsWidgetSpacer.d.ts +8 -0
  1405. package/lib/es/components/statsWidget/StatsWidgetSpacer.js +12 -22
  1406. package/lib/es/components/statsWidget/StatsWidgets.d.ts +9 -0
  1407. package/lib/es/components/statsWidget/StatsWidgets.js +13 -27
  1408. package/lib/es/components/statusBar/StatusBar.d.ts +33 -0
  1409. package/lib/es/components/statusBar/StatusBar.js +59 -221
  1410. package/lib/es/components/statusBar/StatusBar.types.d.ts +85 -0
  1411. package/lib/es/components/statusBar/StatusBar.types.js +2 -0
  1412. package/lib/es/components/statusBar/StatusBarConstants.d.ts +8 -0
  1413. package/lib/es/components/statusBar/StatusBarConstants.js +16 -0
  1414. package/lib/es/components/statusBar/StatusBarIcon.d.ts +7 -0
  1415. package/lib/es/components/statusBar/StatusBarIcon.js +19 -0
  1416. package/lib/es/components/statusBar/StatusBarLabel.d.ts +8 -0
  1417. package/lib/es/components/statusBar/StatusBarLabel.js +23 -0
  1418. package/lib/es/components/statusBar/StatusBarProgressBar.d.ts +8 -0
  1419. package/lib/es/components/statusBar/StatusBarProgressBar.js +21 -0
  1420. package/lib/es/components/steppedProgressBar/SteppedProgressBar.d.ts +35 -0
  1421. package/lib/es/components/steppedProgressBar/SteppedProgressBar.js +68 -95
  1422. package/lib/es/components/supportMarker/toggleSupportMarker.d.ts +3 -0
  1423. package/lib/es/components/supportMarker/toggleSupportMarker.js +30 -32
  1424. package/lib/es/components/switch/Switch.d.ts +51 -0
  1425. package/lib/es/components/switch/Switch.js +27 -85
  1426. package/lib/es/components/table/SortArrows.d.ts +5 -0
  1427. package/lib/es/components/table/SortArrows.js +13 -28
  1428. package/lib/es/components/table/TableCardsSorting.d.ts +37 -0
  1429. package/lib/es/components/table/TableCardsSorting.js +64 -119
  1430. package/lib/es/components/table/TableSearch.d.ts +9 -0
  1431. package/lib/es/components/table/TableSearch.js +18 -28
  1432. package/lib/es/components/table/TableSettingsColumnButtons.d.ts +28 -0
  1433. package/lib/es/components/table/TableSettingsColumnButtons.js +43 -75
  1434. package/lib/es/components/table/TableSettingsColumnDetails.d.ts +19 -0
  1435. package/lib/es/components/table/TableSettingsColumnDetails.js +36 -82
  1436. package/lib/es/components/table/TableSettingsDialog.d.ts +107 -0
  1437. package/lib/es/components/table/TableSettingsDialog.js +348 -549
  1438. package/lib/es/components/table/TableSettingsDialogFooter.d.ts +43 -0
  1439. package/lib/es/components/table/TableSettingsDialogFooter.js +42 -96
  1440. package/lib/es/components/table/TableSettingsListContainer.d.ts +9 -0
  1441. package/lib/es/components/table/TableSettingsListContainer.js +35 -67
  1442. package/lib/es/components/table/TableSettingsListItem.d.ts +27 -0
  1443. package/lib/es/components/table/TableSettingsListItem.js +69 -135
  1444. package/lib/es/components/table/TableToolbar.d.ts +12 -0
  1445. package/lib/es/components/table/TableToolbar.js +16 -24
  1446. package/lib/es/components/table/TableViewToggles.d.ts +30 -0
  1447. package/lib/es/components/table/TableViewToggles.js +85 -119
  1448. package/lib/es/components/table/tableSettingsPropTypes.d.ts +8 -0
  1449. package/lib/es/components/table/tableSettingsPropTypes.js +10 -14
  1450. package/lib/es/components/tag/Tag.d.ts +37 -0
  1451. package/lib/es/components/tag/Tag.js +37 -60
  1452. package/lib/es/components/tag/TagList.d.ts +17 -0
  1453. package/lib/es/components/tag/TagList.js +23 -38
  1454. package/lib/es/components/tagManager/CustomSuggestionItem.d.ts +13 -0
  1455. package/lib/es/components/tagManager/CustomSuggestionItem.js +18 -30
  1456. package/lib/es/components/tagManager/TagManager.d.ts +27 -0
  1457. package/lib/es/components/tagManager/TagManager.js +139 -207
  1458. package/lib/es/components/tagManager/TagManagerItemList.d.ts +14 -0
  1459. package/lib/es/components/tagManager/TagManagerItemList.js +26 -41
  1460. package/lib/es/components/teaser/Teaser.d.ts +51 -0
  1461. package/lib/es/components/teaser/Teaser.js +133 -214
  1462. package/lib/es/components/teaser/TeaserContainer.d.ts +13 -0
  1463. package/lib/es/components/teaser/TeaserContainer.js +49 -56
  1464. package/lib/es/components/timepicker/TimePicker.d.ts +27 -0
  1465. package/lib/es/components/timepicker/TimePicker.js +90 -144
  1466. package/lib/es/components/tooltip/SimpleTooltip.d.ts +36 -0
  1467. package/lib/es/components/tooltip/SimpleTooltip.js +18 -50
  1468. package/lib/es/components/tooltip/Tooltip.d.ts +65 -0
  1469. package/lib/es/components/tooltip/Tooltip.js +37 -94
  1470. package/lib/es/components/video/ResponsiveVideo.d.ts +33 -0
  1471. package/lib/es/components/video/ResponsiveVideo.js +16 -36
  1472. package/lib/es/framer-motion.js +4 -16
  1473. package/lib/es/hooks/useAfterMount.d.ts +8 -0
  1474. package/lib/es/hooks/useAfterMount.js +19 -16
  1475. package/lib/es/hooks/useClickOutside.d.ts +1 -0
  1476. package/lib/es/hooks/useClickOutside.js +22 -31
  1477. package/lib/es/hooks/useClipboard.d.ts +8 -0
  1478. package/lib/es/hooks/useClipboard.js +34 -58
  1479. package/lib/es/hooks/useDarkMode.d.ts +2 -0
  1480. package/lib/es/hooks/useDarkMode.js +28 -38
  1481. package/lib/es/hooks/useDebugInfo.d.ts +6 -0
  1482. package/lib/es/hooks/useDebugInfo.js +40 -45
  1483. package/lib/es/hooks/useEffectOnce.d.ts +1 -0
  1484. package/lib/es/hooks/useEffectOnce.js +7 -10
  1485. package/lib/es/hooks/useElementSize.d.ts +1 -0
  1486. package/lib/es/hooks/useElementSize.js +23 -46
  1487. package/lib/es/hooks/useEsc.d.ts +2 -0
  1488. package/lib/es/hooks/useEsc.js +8 -13
  1489. package/lib/es/hooks/useEvent.d.ts +2 -0
  1490. package/lib/es/hooks/useEvent.js +15 -17
  1491. package/lib/es/hooks/useFocusTrap.d.ts +16 -0
  1492. package/lib/es/hooks/useFocusTrap.js +64 -0
  1493. package/lib/es/hooks/useFullscreen.d.ts +8 -0
  1494. package/lib/es/hooks/useFullscreen.js +153 -213
  1495. package/lib/es/hooks/useHover.d.ts +3 -0
  1496. package/lib/es/hooks/useHover.js +31 -0
  1497. package/lib/es/hooks/useInterval.d.ts +1 -0
  1498. package/lib/es/hooks/useInterval.js +20 -28
  1499. package/lib/es/hooks/useKey.d.ts +3 -0
  1500. package/lib/es/hooks/useKey.js +16 -21
  1501. package/lib/es/hooks/useMutationObserver.d.ts +6 -0
  1502. package/lib/es/hooks/useMutationObserver.js +23 -46
  1503. package/lib/es/hooks/useOnMount.d.ts +1 -0
  1504. package/lib/es/hooks/useOnMount.js +13 -16
  1505. package/lib/es/hooks/useOnScreen.d.ts +3 -0
  1506. package/lib/es/hooks/useOnScreen.js +22 -38
  1507. package/lib/es/hooks/useOnlineStatus.d.ts +1 -0
  1508. package/lib/es/hooks/useOnlineStatus.js +13 -25
  1509. package/lib/es/hooks/usePrevious.d.ts +21 -0
  1510. package/lib/es/hooks/usePrevious.js +37 -25
  1511. package/lib/es/hooks/useRenderCount.d.ts +1 -0
  1512. package/lib/es/hooks/useRenderCount.js +12 -16
  1513. package/lib/es/hooks/useResizeObserver.d.ts +3 -0
  1514. package/lib/es/hooks/useResizeObserver.js +22 -45
  1515. package/lib/es/hooks/useScrollPosition.d.ts +2 -0
  1516. package/lib/es/hooks/useScrollPosition.js +61 -79
  1517. package/lib/es/hooks/useStateWithValidation.d.ts +1 -0
  1518. package/lib/es/hooks/useStateWithValidation.js +14 -27
  1519. package/lib/es/hooks/useStorage.d.ts +2 -0
  1520. package/lib/es/hooks/useStorage.js +35 -43
  1521. package/lib/es/hooks/useTimeout.d.ts +1 -0
  1522. package/lib/es/hooks/useTimeout.js +20 -28
  1523. package/lib/es/hooks/useWindowResize.d.ts +2 -0
  1524. package/lib/es/hooks/useWindowResize.js +15 -21
  1525. package/lib/es/index.d.ts +265 -275
  1526. package/lib/es/index.js +335 -1175
  1527. package/lib/es/mapIndex.d.ts +38 -0
  1528. package/lib/es/mapIndex.js +79 -265
  1529. package/lib/es/routeUtils.d.ts +5 -0
  1530. package/lib/es/routeUtils.js +8 -30
  1531. package/lib/es/styles/variables/colors.json +74 -74
  1532. package/lib/es/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.d.ts +3 -0
  1533. package/lib/es/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +42 -90
  1534. package/lib/es/themes/Volkswagen/components/applicationHeader/modulePropTypes.d.ts +6 -0
  1535. package/lib/es/themes/Volkswagen/components/applicationHeader/modulePropTypes.js +8 -13
  1536. package/lib/es/types.d.ts +1383 -0
  1537. package/lib/es/types.js +22 -0
  1538. package/lib/es/useAfterMount.d.ts +1 -4
  1539. package/lib/es/useAfterMount.js +8 -13
  1540. package/lib/es/useClickOutside.js +6 -13
  1541. package/lib/es/useClipboard.js +6 -13
  1542. package/lib/es/useDarkMode.js +6 -13
  1543. package/lib/es/useDebugInfo.js +6 -13
  1544. package/lib/es/useEffectOnce.js +6 -13
  1545. package/lib/es/useElementSize.js +6 -13
  1546. package/lib/es/useEsc.d.ts +1 -4
  1547. package/lib/es/useEsc.js +8 -13
  1548. package/lib/es/useEvent.d.ts +1 -4
  1549. package/lib/es/useEvent.js +8 -13
  1550. package/lib/es/useFocusTrap.d.ts +1 -0
  1551. package/lib/es/useFocusTrap.js +8 -0
  1552. package/lib/es/useFullscreen.js +6 -13
  1553. package/lib/es/useHover.d.ts +1 -0
  1554. package/lib/es/useHover.js +8 -0
  1555. package/lib/es/useInterval.js +6 -13
  1556. package/lib/es/useKey.d.ts +1 -4
  1557. package/lib/es/useKey.js +8 -13
  1558. package/lib/es/useLocalStorage.js +5 -12
  1559. package/lib/es/useMutationObserver.js +6 -13
  1560. package/lib/es/useOnMount.d.ts +2 -0
  1561. package/lib/es/useOnMount.js +6 -13
  1562. package/lib/es/useOnScreen.js +6 -13
  1563. package/lib/es/useOnlineStatus.js +6 -13
  1564. package/lib/es/usePrevious.d.ts +2 -4
  1565. package/lib/es/usePrevious.js +7 -13
  1566. package/lib/es/useRenderCount.js +6 -13
  1567. package/lib/es/useResizeObserver.js +6 -13
  1568. package/lib/es/useScrollPosition.js +6 -13
  1569. package/lib/es/useSessionStorage.js +5 -12
  1570. package/lib/es/useStateWithValidation.js +6 -13
  1571. package/lib/es/useTimeout.js +6 -13
  1572. package/lib/es/useWindowResize.js +6 -13
  1573. package/lib/es/utils/GroupSelectionUtil.d.ts +1 -0
  1574. package/lib/es/utils/GroupSelectionUtil.js +85 -95
  1575. package/lib/es/utils/ObjectValues.d.ts +1 -0
  1576. package/lib/es/utils/ObjectValues.js +2 -0
  1577. package/lib/es/utils/RefComponent.d.ts +5 -0
  1578. package/lib/es/utils/RefComponent.js +2 -0
  1579. package/lib/es/utils/SortUtils.d.ts +6 -0
  1580. package/lib/es/utils/SortUtils.js +30 -42
  1581. package/lib/es/utils/addEventListener.d.ts +3 -0
  1582. package/lib/es/utils/addEventListener.js +17 -21
  1583. package/lib/es/utils/addFocusListener.d.ts +3 -0
  1584. package/lib/es/utils/addFocusListener.js +24 -32
  1585. package/lib/es/utils/arrayMove.d.ts +2 -0
  1586. package/lib/es/utils/arrayMove.js +15 -23
  1587. package/lib/es/utils/buttonEffect.d.ts +1 -0
  1588. package/lib/es/utils/buttonEffect.js +69 -65
  1589. package/lib/es/utils/colorScheme.d.ts +9 -0
  1590. package/lib/es/utils/colorScheme.js +60 -92
  1591. package/lib/es/utils/cssuseragent.d.ts +1 -0
  1592. package/lib/es/utils/cssuseragent.js +325 -327
  1593. package/lib/es/utils/darkModeCDN.d.ts +3 -0
  1594. package/lib/es/utils/darkModeCDN.js +39 -49
  1595. package/lib/es/utils/deviceUtils.d.ts +12 -0
  1596. package/lib/es/utils/deviceUtils.js +78 -94
  1597. package/lib/es/utils/getDropDirection.d.ts +5 -0
  1598. package/lib/es/utils/getDropDirection.js +31 -31
  1599. package/lib/es/utils/getOffsetTopWholeScreen.d.ts +1 -0
  1600. package/lib/es/utils/getOffsetTopWholeScreen.js +9 -12
  1601. package/lib/es/utils/init.d.ts +2 -0
  1602. package/lib/es/utils/init.js +129 -143
  1603. package/lib/es/utils/logDeprecatedWarnings.d.ts +9 -0
  1604. package/lib/es/utils/logDeprecatedWarnings.js +27 -30
  1605. package/lib/es/utils/logPropError.d.ts +3 -0
  1606. package/lib/es/utils/logPropError.js +28 -29
  1607. package/lib/es/utils/ownerDocument.d.ts +1 -0
  1608. package/lib/es/utils/ownerDocument.js +12 -16
  1609. package/lib/es/utils/portalRoot.d.ts +2 -0
  1610. package/lib/es/utils/portalRoot.js +11 -15
  1611. package/lib/es/utils/routeUtils.d.ts +15 -0
  1612. package/lib/es/utils/routeUtils.js +56 -80
  1613. package/lib/es/utils/scrollItemIntoView.d.ts +3 -0
  1614. package/lib/es/utils/scrollItemIntoView.js +29 -35
  1615. package/lib/es/utils/searchNormalized.d.ts +2 -0
  1616. package/lib/es/utils/searchNormalized.js +7 -14
  1617. package/lib/es/utils/useDropDirection.d.ts +12 -0
  1618. package/lib/es/utils/useDropDirection.js +26 -0
  1619. package/lib/es/values/Placement.d.ts +19 -0
  1620. package/lib/es/values/Placement.js +20 -0
  1621. package/lib/es/values/TextAlignment.d.ts +7 -0
  1622. package/lib/es/values/TextAlignment.js +8 -0
  1623. package/lib/es/values/Trigger.d.ts +9 -0
  1624. package/lib/es/values/Trigger.js +8 -0
  1625. package/lib/es/version.json +1 -1
  1626. package/mapIndex.d.ts +38 -0
  1627. package/mapIndex.js +39 -42
  1628. package/package.json +151 -145
  1629. package/routeUtils.d.ts +5 -0
  1630. package/routeUtils.js +2 -2
  1631. package/styles/variables/colors.json +74 -74
  1632. package/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.d.ts +3 -0
  1633. package/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +39 -78
  1634. package/themes/Volkswagen/components/applicationHeader/modulePropTypes.d.ts +6 -0
  1635. package/themes/Volkswagen/components/applicationHeader/modulePropTypes.js +5 -5
  1636. package/types.d.ts +1383 -0
  1637. package/types.js +19 -0
  1638. package/useAfterMount.d.ts +1 -4
  1639. package/useAfterMount.js +1 -2
  1640. package/useClickOutside.js +2 -2
  1641. package/useClipboard.js +2 -2
  1642. package/useDarkMode.js +2 -2
  1643. package/useDebugInfo.js +2 -2
  1644. package/useEffectOnce.js +2 -2
  1645. package/useElementSize.js +2 -2
  1646. package/useEsc.d.ts +1 -4
  1647. package/useEsc.js +1 -2
  1648. package/useEvent.d.ts +1 -4
  1649. package/useEvent.js +1 -2
  1650. package/useFocusTrap.d.ts +1 -0
  1651. package/useFocusTrap.js +1 -0
  1652. package/useFullscreen.js +2 -2
  1653. package/useHover.d.ts +1 -0
  1654. package/useHover.js +1 -0
  1655. package/useInterval.js +2 -2
  1656. package/useKey.d.ts +1 -4
  1657. package/useKey.js +1 -2
  1658. package/useLocalStorage.js +2 -2
  1659. package/useMutationObserver.js +2 -2
  1660. package/useOnMount.d.ts +2 -0
  1661. package/useOnMount.js +2 -2
  1662. package/useOnScreen.js +2 -2
  1663. package/useOnlineStatus.js +2 -2
  1664. package/usePrevious.d.ts +2 -4
  1665. package/usePrevious.js +2 -2
  1666. package/useRenderCount.js +2 -2
  1667. package/useResizeObserver.js +2 -2
  1668. package/useScrollPosition.js +2 -2
  1669. package/useSessionStorage.js +2 -2
  1670. package/useStateWithValidation.js +2 -2
  1671. package/useTimeout.js +2 -2
  1672. package/useWindowResize.js +2 -2
  1673. package/utils/GroupSelectionUtil.d.ts +1 -0
  1674. package/utils/GroupSelectionUtil.js +80 -88
  1675. package/utils/ObjectValues.d.ts +1 -0
  1676. package/utils/ObjectValues.js +1 -0
  1677. package/utils/RefComponent.d.ts +5 -0
  1678. package/utils/RefComponent.js +1 -0
  1679. package/utils/SortUtils.d.ts +6 -0
  1680. package/utils/SortUtils.js +24 -32
  1681. package/utils/addEventListener.d.ts +3 -0
  1682. package/utils/addEventListener.js +13 -13
  1683. package/utils/addFocusListener.d.ts +3 -0
  1684. package/utils/addFocusListener.js +21 -26
  1685. package/utils/arrayMove.d.ts +2 -0
  1686. package/utils/arrayMove.js +13 -15
  1687. package/utils/buttonEffect.d.ts +1 -0
  1688. package/utils/buttonEffect.js +65 -57
  1689. package/utils/colorScheme.d.ts +9 -0
  1690. package/utils/colorScheme.js +54 -76
  1691. package/utils/cssuseragent.d.ts +1 -0
  1692. package/utils/cssuseragent.js +321 -320
  1693. package/utils/darkModeCDN.d.ts +3 -0
  1694. package/utils/darkModeCDN.js +39 -46
  1695. package/utils/deviceUtils.d.ts +12 -0
  1696. package/utils/deviceUtils.js +68 -78
  1697. package/utils/getDropDirection.d.ts +5 -0
  1698. package/utils/getDropDirection.js +29 -25
  1699. package/utils/getOffsetTopWholeScreen.d.ts +1 -0
  1700. package/utils/getOffsetTopWholeScreen.js +6 -6
  1701. package/utils/init.d.ts +2 -0
  1702. package/utils/init.js +125 -134
  1703. package/utils/logDeprecatedWarnings.d.ts +9 -0
  1704. package/utils/logDeprecatedWarnings.js +22 -20
  1705. package/utils/logPropError.d.ts +3 -0
  1706. package/utils/logPropError.js +23 -19
  1707. package/utils/ownerDocument.d.ts +1 -0
  1708. package/utils/ownerDocument.js +8 -8
  1709. package/utils/portalRoot.d.ts +2 -0
  1710. package/utils/portalRoot.js +7 -7
  1711. package/utils/routeUtils.d.ts +15 -0
  1712. package/utils/routeUtils.js +48 -68
  1713. package/utils/scrollItemIntoView.d.ts +3 -0
  1714. package/utils/scrollItemIntoView.js +25 -26
  1715. package/utils/searchNormalized.d.ts +2 -0
  1716. package/utils/searchNormalized.js +2 -6
  1717. package/utils/useDropDirection.d.ts +12 -0
  1718. package/utils/useDropDirection.js +21 -0
  1719. package/values/Placement.d.ts +19 -0
  1720. package/values/Placement.js +17 -0
  1721. package/values/TextAlignment.d.ts +7 -0
  1722. package/values/TextAlignment.js +5 -0
  1723. package/values/Trigger.d.ts +9 -0
  1724. package/values/Trigger.js +5 -0
  1725. package/version.json +1 -1
  1726. package/.DS_Store +0 -0
  1727. package/Init.d.ts +0 -3
  1728. package/Init.js +0 -2
  1729. package/components/applicationHeader/modulePropTypes.js +0 -5
  1730. package/components/browserWarning/chrome.svg +0 -1
  1731. package/components/browserWarning/firefox.svg +0 -1
  1732. package/components/map/assets/icon_map_settings_bounding_box_active.svg +0 -1
  1733. package/components/map/assets/icon_map_settings_bounding_box_inactive.svg +0 -1
  1734. package/components/map/assets/icon_map_settings_center_marker_active.svg +0 -1
  1735. package/components/map/assets/icon_map_settings_center_marker_inactive.svg +0 -1
  1736. package/components/map/assets/icon_map_settings_cluster_active.svg +0 -1
  1737. package/components/map/assets/icon_map_settings_cluster_inactive.svg +0 -1
  1738. package/components/map/assets/icon_map_settings_construction_active.svg +0 -1
  1739. package/components/map/assets/icon_map_settings_construction_inactive.svg +0 -1
  1740. package/components/map/assets/icon_map_settings_layer_active.svg +0 -1
  1741. package/components/map/assets/icon_map_settings_layer_inactive.svg +0 -1
  1742. package/components/map/assets/icon_map_settings_lock_active.svg +0 -1
  1743. package/components/map/assets/icon_map_settings_lock_inactive.svg +0 -1
  1744. package/components/map/assets/icon_map_settings_maptype_flat_active.svg +0 -1
  1745. package/components/map/assets/icon_map_settings_maptype_flat_inactive.svg +0 -1
  1746. package/components/map/assets/icon_map_settings_maptype_flat_truck_active.svg +0 -1
  1747. package/components/map/assets/icon_map_settings_maptype_flat_truck_inactive.svg +0 -1
  1748. package/components/map/assets/icon_map_settings_maptype_night_active.svg +0 -1
  1749. package/components/map/assets/icon_map_settings_maptype_night_inactive.svg +0 -1
  1750. package/components/map/assets/icon_map_settings_maptype_satelite_active.svg +0 -1
  1751. package/components/map/assets/icon_map_settings_maptype_satelite_inactive.svg +0 -1
  1752. package/components/map/assets/icon_map_settings_maptype_terrain_active.svg +0 -1
  1753. package/components/map/assets/icon_map_settings_maptype_terrain_inactive.svg +0 -1
  1754. package/components/map/assets/icon_map_settings_no_cluster_active.svg +0 -1
  1755. package/components/map/assets/icon_map_settings_no_cluster_inactive.svg +0 -1
  1756. package/components/map/assets/icon_map_settings_road_restrictions_active.svg +0 -1
  1757. package/components/map/assets/icon_map_settings_road_restrictions_inactive.svg +0 -1
  1758. package/components/map/assets/icon_map_settings_system_pois_active.svg +0 -1
  1759. package/components/map/assets/icon_map_settings_system_pois_inactive.svg +0 -1
  1760. package/components/map/assets/icon_map_settings_traffic_active.svg +0 -1
  1761. package/components/map/assets/icon_map_settings_traffic_inactive.svg +0 -1
  1762. package/components/map/assets/icon_map_settings_workshop_pois_active.svg +0 -1
  1763. package/components/map/assets/icon_map_settings_workshop_pois_inactive.svg +0 -1
  1764. package/components/map/assets/icon_zoom_in.svg +0 -1
  1765. package/components/map/assets/icon_zoom_out.svg +0 -1
  1766. package/lib/es/Init.d.ts +0 -3
  1767. package/lib/es/Init.js +0 -12
  1768. package/lib/es/components/applicationHeader/modulePropTypes.js +0 -13
  1769. package/lib/es/components/browserWarning/chrome.svg +0 -1
  1770. package/lib/es/components/browserWarning/firefox.svg +0 -1
  1771. package/lib/es/components/map/assets/icon_map_settings_bounding_box_active.svg +0 -1
  1772. package/lib/es/components/map/assets/icon_map_settings_bounding_box_inactive.svg +0 -1
  1773. package/lib/es/components/map/assets/icon_map_settings_center_marker_active.svg +0 -1
  1774. package/lib/es/components/map/assets/icon_map_settings_center_marker_inactive.svg +0 -1
  1775. package/lib/es/components/map/assets/icon_map_settings_cluster_active.svg +0 -1
  1776. package/lib/es/components/map/assets/icon_map_settings_cluster_inactive.svg +0 -1
  1777. package/lib/es/components/map/assets/icon_map_settings_construction_active.svg +0 -1
  1778. package/lib/es/components/map/assets/icon_map_settings_construction_inactive.svg +0 -1
  1779. package/lib/es/components/map/assets/icon_map_settings_layer_active.svg +0 -1
  1780. package/lib/es/components/map/assets/icon_map_settings_layer_inactive.svg +0 -1
  1781. package/lib/es/components/map/assets/icon_map_settings_lock_active.svg +0 -1
  1782. package/lib/es/components/map/assets/icon_map_settings_lock_inactive.svg +0 -1
  1783. package/lib/es/components/map/assets/icon_map_settings_maptype_flat_active.svg +0 -1
  1784. package/lib/es/components/map/assets/icon_map_settings_maptype_flat_inactive.svg +0 -1
  1785. package/lib/es/components/map/assets/icon_map_settings_maptype_flat_truck_active.svg +0 -1
  1786. package/lib/es/components/map/assets/icon_map_settings_maptype_flat_truck_inactive.svg +0 -1
  1787. package/lib/es/components/map/assets/icon_map_settings_maptype_night_active.svg +0 -1
  1788. package/lib/es/components/map/assets/icon_map_settings_maptype_night_inactive.svg +0 -1
  1789. package/lib/es/components/map/assets/icon_map_settings_maptype_satelite_active.svg +0 -1
  1790. package/lib/es/components/map/assets/icon_map_settings_maptype_satelite_inactive.svg +0 -1
  1791. package/lib/es/components/map/assets/icon_map_settings_maptype_terrain_active.svg +0 -1
  1792. package/lib/es/components/map/assets/icon_map_settings_maptype_terrain_inactive.svg +0 -1
  1793. package/lib/es/components/map/assets/icon_map_settings_no_cluster_active.svg +0 -1
  1794. package/lib/es/components/map/assets/icon_map_settings_no_cluster_inactive.svg +0 -1
  1795. package/lib/es/components/map/assets/icon_map_settings_road_restrictions_active.svg +0 -1
  1796. package/lib/es/components/map/assets/icon_map_settings_road_restrictions_inactive.svg +0 -1
  1797. package/lib/es/components/map/assets/icon_map_settings_system_pois_active.svg +0 -1
  1798. package/lib/es/components/map/assets/icon_map_settings_system_pois_inactive.svg +0 -1
  1799. package/lib/es/components/map/assets/icon_map_settings_traffic_active.svg +0 -1
  1800. package/lib/es/components/map/assets/icon_map_settings_traffic_inactive.svg +0 -1
  1801. package/lib/es/components/map/assets/icon_map_settings_workshop_pois_active.svg +0 -1
  1802. package/lib/es/components/map/assets/icon_map_settings_workshop_pois_inactive.svg +0 -1
  1803. package/lib/es/components/map/assets/icon_zoom_in.svg +0 -1
  1804. package/lib/es/components/map/assets/icon_zoom_out.svg +0 -1
  1805. package/lib/es/styles/animations/_imports.less +0 -10
  1806. package/lib/es/styles/animations/collapse.less +0 -16
  1807. package/lib/es/styles/animations/fade.less +0 -28
  1808. package/lib/es/styles/animations/pinging.less +0 -7
  1809. package/lib/es/styles/animations/pulsing.less +0 -5
  1810. package/lib/es/styles/animations/rotate.less +0 -52
  1811. package/lib/es/styles/animations/scale.less +0 -35
  1812. package/lib/es/styles/animations/slide.less +0 -39
  1813. package/lib/es/styles/animations/spinning.less +0 -4
  1814. package/lib/es/styles/animations/transition.less +0 -129
  1815. package/lib/es/styles/animations/translate.less +0 -28
  1816. package/lib/es/styles/components/Activity.less +0 -92
  1817. package/lib/es/styles/components/ApplicationHeader.less +0 -507
  1818. package/lib/es/styles/components/ApplicationLayout.less +0 -238
  1819. package/lib/es/styles/components/AssetTree.less +0 -441
  1820. package/lib/es/styles/components/AutoSuggest.less +0 -22
  1821. package/lib/es/styles/components/BottomSheet.less +0 -22
  1822. package/lib/es/styles/components/Carousel.less +0 -215
  1823. package/lib/es/styles/components/Checkbox.less +0 -223
  1824. package/lib/es/styles/components/ClearableInput.less +0 -120
  1825. package/lib/es/styles/components/Counter.less +0 -142
  1826. package/lib/es/styles/components/DataTabs.less +0 -121
  1827. package/lib/es/styles/components/DatePicker.less +0 -390
  1828. package/lib/es/styles/components/Dialog.less +0 -512
  1829. package/lib/es/styles/components/Dropdown.less +0 -190
  1830. package/lib/es/styles/components/Expander.less +0 -196
  1831. package/lib/es/styles/components/FilePicker.less +0 -8
  1832. package/lib/es/styles/components/ListMenu.less +0 -75
  1833. package/lib/es/styles/components/MapHere.less +0 -92
  1834. package/lib/es/styles/components/MapMarker.less +0 -552
  1835. package/lib/es/styles/components/MapSettings.less +0 -133
  1836. package/lib/es/styles/components/NoData.less +0 -8
  1837. package/lib/es/styles/components/Notification.less +0 -234
  1838. package/lib/es/styles/components/RadioButton.less +0 -172
  1839. package/lib/es/styles/components/Resizer.less +0 -43
  1840. package/lib/es/styles/components/Select.less +0 -289
  1841. package/lib/es/styles/components/Sidebar.less +0 -174
  1842. package/lib/es/styles/components/Slider.less +0 -278
  1843. package/lib/es/styles/components/Spinner.less +0 -49
  1844. package/lib/es/styles/components/StatsWidget.less +0 -111
  1845. package/lib/es/styles/components/SteppedProgressBar.less +0 -313
  1846. package/lib/es/styles/components/SupportMarker.less +0 -34
  1847. package/lib/es/styles/components/Switch.less +0 -145
  1848. package/lib/es/styles/components/TableSettingsDialog.less +0 -96
  1849. package/lib/es/styles/components/TableSortArrows.less +0 -55
  1850. package/lib/es/styles/components/TableToolbar.less +0 -121
  1851. package/lib/es/styles/components/Tag.less +0 -246
  1852. package/lib/es/styles/components/TagManager.less +0 -4
  1853. package/lib/es/styles/components/Teaser.less +0 -12
  1854. package/lib/es/styles/components/Timeline.less +0 -71
  1855. package/lib/es/styles/components/Tooltip.less +0 -222
  1856. package/lib/es/styles/design/alerts.less +0 -53
  1857. package/lib/es/styles/design/aspect-ratio.less +0 -24
  1858. package/lib/es/styles/design/badges.less +0 -120
  1859. package/lib/es/styles/design/blockquote.less +0 -49
  1860. package/lib/es/styles/design/blur.less +0 -7
  1861. package/lib/es/styles/design/border.less +0 -229
  1862. package/lib/es/styles/design/box-sizing.less +0 -8
  1863. package/lib/es/styles/design/breadcrumbs.less +0 -20
  1864. package/lib/es/styles/design/button-groups.less +0 -215
  1865. package/lib/es/styles/design/buttons.less +0 -427
  1866. package/lib/es/styles/design/callouts.less +0 -28
  1867. package/lib/es/styles/design/caret.less +0 -28
  1868. package/lib/es/styles/design/close.less +0 -12
  1869. package/lib/es/styles/design/code.less +0 -43
  1870. package/lib/es/styles/design/colors.less +0 -212
  1871. package/lib/es/styles/design/cols.less +0 -57
  1872. package/lib/es/styles/design/container.less +0 -29
  1873. package/lib/es/styles/design/cursors.less +0 -19
  1874. package/lib/es/styles/design/custom.less +0 -20
  1875. package/lib/es/styles/design/divider.less +0 -90
  1876. package/lib/es/styles/design/ellipsis.less +0 -46
  1877. package/lib/es/styles/design/flexgrid.less +0 -7
  1878. package/lib/es/styles/design/fonts.less +0 -458
  1879. package/lib/es/styles/design/form-input-groups.less +0 -243
  1880. package/lib/es/styles/design/form-inputs.less +0 -655
  1881. package/lib/es/styles/design/iframe.less +0 -80
  1882. package/lib/es/styles/design/images.less +0 -47
  1883. package/lib/es/styles/design/labels.less +0 -66
  1884. package/lib/es/styles/design/list-group.less +0 -98
  1885. package/lib/es/styles/design/navs.less +0 -267
  1886. package/lib/es/styles/design/normalize.less +0 -146
  1887. package/lib/es/styles/design/opacity.less +0 -26
  1888. package/lib/es/styles/design/overflow.less +0 -1
  1889. package/lib/es/styles/design/pagination.less +0 -158
  1890. package/lib/es/styles/design/panels.less +0 -105
  1891. package/lib/es/styles/design/popovers.less +0 -119
  1892. package/lib/es/styles/design/position.less +0 -16
  1893. package/lib/es/styles/design/progress-bars.less +0 -131
  1894. package/lib/es/styles/design/resets.less +0 -7
  1895. package/lib/es/styles/design/responsive/_imports.less +0 -68
  1896. package/lib/es/styles/design/responsive/backgrounds.less +0 -32
  1897. package/lib/es/styles/design/responsive/display.less +0 -9
  1898. package/lib/es/styles/design/responsive/flexgrid.less +0 -76
  1899. package/lib/es/styles/design/responsive/floating.less +0 -4
  1900. package/lib/es/styles/design/responsive/gap.less +0 -33
  1901. package/lib/es/styles/design/responsive/margin.less +0 -127
  1902. package/lib/es/styles/design/responsive/overflow.less +0 -16
  1903. package/lib/es/styles/design/responsive/padding.less +0 -71
  1904. package/lib/es/styles/design/responsive/position.less +0 -108
  1905. package/lib/es/styles/design/responsive/sizing.less +0 -102
  1906. package/lib/es/styles/design/responsive/spacing.less +0 -25
  1907. package/lib/es/styles/design/responsive/text.less +0 -71
  1908. package/lib/es/styles/design/responsive-embed.less +0 -31
  1909. package/lib/es/styles/design/responsive-video.less +0 -22
  1910. package/lib/es/styles/design/rioglyph.less +0 -13
  1911. package/lib/es/styles/design/rounded.less +0 -44
  1912. package/lib/es/styles/design/sanityCheck.less +0 -11
  1913. package/lib/es/styles/design/shadows.less +0 -78
  1914. package/lib/es/styles/design/sizing.less +0 -18
  1915. package/lib/es/styles/design/tables.less +0 -791
  1916. package/lib/es/styles/design/text.less +0 -202
  1917. package/lib/es/styles/design/theme.less +0 -204
  1918. package/lib/es/styles/design/thumbnails.less +0 -27
  1919. package/lib/es/styles/design/transition.less +0 -33
  1920. package/lib/es/styles/design/type.less +0 -159
  1921. package/lib/es/styles/design/utilities.less +0 -73
  1922. package/lib/es/styles/design/visibility.less +0 -186
  1923. package/lib/es/styles/design/wells.less +0 -17
  1924. package/lib/es/styles/design/z-index.less +0 -21
  1925. package/lib/es/styles/filter/_imports.less +0 -1
  1926. package/lib/es/styles/filter/blur.less +0 -17
  1927. package/lib/es/styles/mapping/breakpoint-map.less +0 -44
  1928. package/lib/es/styles/mapping/color-map.less +0 -212
  1929. package/lib/es/styles/mapping/cols-map.less +0 -15
  1930. package/lib/es/styles/mapping/numbers-map.less +0 -16
  1931. package/lib/es/styles/mapping/positions-map.less +0 -29
  1932. package/lib/es/styles/mapping/sizes-map.less +0 -129
  1933. package/lib/es/styles/mapping/spacings-map.less +0 -33
  1934. package/lib/es/styles/mixins/_imports.less +0 -14
  1935. package/lib/es/styles/mixins/border-radius.less +0 -16
  1936. package/lib/es/styles/mixins/buttons.less +0 -85
  1937. package/lib/es/styles/mixins/clearfix.less +0 -9
  1938. package/lib/es/styles/mixins/cols.less +0 -59
  1939. package/lib/es/styles/mixins/forms.less +0 -25
  1940. package/lib/es/styles/mixins/hsl.less +0 -19
  1941. package/lib/es/styles/mixins/panels.less +0 -27
  1942. package/lib/es/styles/mixins/placeholder.less +0 -17
  1943. package/lib/es/styles/mixins/reset.less +0 -27
  1944. package/lib/es/styles/mixins/sizings.less +0 -21
  1945. package/lib/es/styles/mixins/spinner.less +0 -30
  1946. package/lib/es/styles/mixins/table.less +0 -26
  1947. package/lib/es/styles/mixins/tabs.less +0 -4
  1948. package/lib/es/styles/mixins/text.less +0 -5
  1949. package/lib/es/styles/print/print.less +0 -195
  1950. package/lib/es/styles/rio-uikit-core.less +0 -118
  1951. package/lib/es/styles/rio-uikit-print-utilities.less +0 -17
  1952. package/lib/es/styles/rio-uikit-responsive-utilities.less +0 -16
  1953. package/lib/es/styles/variables/_index.less +0 -196
  1954. package/lib/es/styles/variables/concated_css_variables.less +0 -72
  1955. package/lib/es/styles/variables/dark_colors.less +0 -96
  1956. package/lib/es/styles/variables/dark_css_variables.less +0 -28
  1957. package/lib/es/styles/variables/dark_css_variables_map.less +0 -104
  1958. package/lib/es/styles/variables/light_colors.less +0 -100
  1959. package/lib/es/styles/variables/light_css_variables.less +0 -17
  1960. package/lib/es/styles/variables/light_css_variables_map.less +0 -108
  1961. package/lib/es/styles/variables/screens.less +0 -7
  1962. package/lib/es/styles/variables/text.less +0 -23
  1963. package/lib/es/themes/BuyButton/styles/rio-buyButton.less +0 -191
  1964. package/lib/es/themes/MAN/styles/man-uikit.less +0 -54
  1965. package/lib/es/themes/RIO/styles/rio-uikit.less +0 -23
  1966. package/lib/es/themes/SCANIA/styles/scania-uikit.less +0 -42
  1967. package/lib/es/themes/Volkswagen/styles/vw-uikit.less +0 -207
  1968. package/lib/es/themes/Website/styles/rio-website.less +0 -2300
  1969. package/lib/es/themes/Xmas/styles/rio-xmas.less +0 -66
  1970. package/lib/es/types.ts +0 -2275
  1971. package/styles/animations/_imports.less +0 -10
  1972. package/styles/animations/collapse.less +0 -16
  1973. package/styles/animations/fade.less +0 -28
  1974. package/styles/animations/pinging.less +0 -7
  1975. package/styles/animations/pulsing.less +0 -5
  1976. package/styles/animations/rotate.less +0 -52
  1977. package/styles/animations/scale.less +0 -35
  1978. package/styles/animations/slide.less +0 -39
  1979. package/styles/animations/spinning.less +0 -4
  1980. package/styles/animations/transition.less +0 -129
  1981. package/styles/animations/translate.less +0 -28
  1982. package/styles/components/Activity.less +0 -92
  1983. package/styles/components/ApplicationHeader.less +0 -507
  1984. package/styles/components/ApplicationLayout.less +0 -238
  1985. package/styles/components/AssetTree.less +0 -441
  1986. package/styles/components/AutoSuggest.less +0 -22
  1987. package/styles/components/BottomSheet.less +0 -22
  1988. package/styles/components/Carousel.less +0 -215
  1989. package/styles/components/Checkbox.less +0 -223
  1990. package/styles/components/ClearableInput.less +0 -120
  1991. package/styles/components/Counter.less +0 -142
  1992. package/styles/components/DataTabs.less +0 -121
  1993. package/styles/components/DatePicker.less +0 -390
  1994. package/styles/components/Dialog.less +0 -512
  1995. package/styles/components/Dropdown.less +0 -190
  1996. package/styles/components/Expander.less +0 -196
  1997. package/styles/components/FilePicker.less +0 -8
  1998. package/styles/components/ListMenu.less +0 -75
  1999. package/styles/components/MapHere.less +0 -92
  2000. package/styles/components/MapMarker.less +0 -552
  2001. package/styles/components/MapSettings.less +0 -133
  2002. package/styles/components/NoData.less +0 -8
  2003. package/styles/components/Notification.less +0 -234
  2004. package/styles/components/RadioButton.less +0 -172
  2005. package/styles/components/Resizer.less +0 -43
  2006. package/styles/components/Select.less +0 -289
  2007. package/styles/components/Sidebar.less +0 -174
  2008. package/styles/components/Slider.less +0 -278
  2009. package/styles/components/Spinner.less +0 -49
  2010. package/styles/components/StatsWidget.less +0 -111
  2011. package/styles/components/SteppedProgressBar.less +0 -313
  2012. package/styles/components/SupportMarker.less +0 -34
  2013. package/styles/components/Switch.less +0 -145
  2014. package/styles/components/TableSettingsDialog.less +0 -96
  2015. package/styles/components/TableSortArrows.less +0 -55
  2016. package/styles/components/TableToolbar.less +0 -121
  2017. package/styles/components/Tag.less +0 -246
  2018. package/styles/components/TagManager.less +0 -4
  2019. package/styles/components/Teaser.less +0 -12
  2020. package/styles/components/Timeline.less +0 -71
  2021. package/styles/components/Tooltip.less +0 -222
  2022. package/styles/design/alerts.less +0 -53
  2023. package/styles/design/aspect-ratio.less +0 -24
  2024. package/styles/design/badges.less +0 -120
  2025. package/styles/design/blockquote.less +0 -49
  2026. package/styles/design/blur.less +0 -7
  2027. package/styles/design/border.less +0 -229
  2028. package/styles/design/box-sizing.less +0 -8
  2029. package/styles/design/breadcrumbs.less +0 -20
  2030. package/styles/design/button-groups.less +0 -215
  2031. package/styles/design/buttons.less +0 -427
  2032. package/styles/design/callouts.less +0 -28
  2033. package/styles/design/caret.less +0 -28
  2034. package/styles/design/close.less +0 -12
  2035. package/styles/design/code.less +0 -43
  2036. package/styles/design/colors.less +0 -212
  2037. package/styles/design/cols.less +0 -57
  2038. package/styles/design/container.less +0 -29
  2039. package/styles/design/cursors.less +0 -19
  2040. package/styles/design/custom.less +0 -20
  2041. package/styles/design/divider.less +0 -90
  2042. package/styles/design/ellipsis.less +0 -46
  2043. package/styles/design/flexgrid.less +0 -7
  2044. package/styles/design/fonts.less +0 -458
  2045. package/styles/design/form-input-groups.less +0 -243
  2046. package/styles/design/form-inputs.less +0 -655
  2047. package/styles/design/iframe.less +0 -80
  2048. package/styles/design/images.less +0 -47
  2049. package/styles/design/labels.less +0 -66
  2050. package/styles/design/list-group.less +0 -98
  2051. package/styles/design/navs.less +0 -267
  2052. package/styles/design/normalize.less +0 -146
  2053. package/styles/design/opacity.less +0 -26
  2054. package/styles/design/overflow.less +0 -1
  2055. package/styles/design/pagination.less +0 -158
  2056. package/styles/design/panels.less +0 -105
  2057. package/styles/design/popovers.less +0 -119
  2058. package/styles/design/position.less +0 -16
  2059. package/styles/design/progress-bars.less +0 -131
  2060. package/styles/design/resets.less +0 -7
  2061. package/styles/design/responsive/_imports.less +0 -68
  2062. package/styles/design/responsive/backgrounds.less +0 -32
  2063. package/styles/design/responsive/display.less +0 -9
  2064. package/styles/design/responsive/flexgrid.less +0 -76
  2065. package/styles/design/responsive/floating.less +0 -4
  2066. package/styles/design/responsive/gap.less +0 -33
  2067. package/styles/design/responsive/margin.less +0 -127
  2068. package/styles/design/responsive/overflow.less +0 -16
  2069. package/styles/design/responsive/padding.less +0 -71
  2070. package/styles/design/responsive/position.less +0 -108
  2071. package/styles/design/responsive/sizing.less +0 -102
  2072. package/styles/design/responsive/spacing.less +0 -25
  2073. package/styles/design/responsive/text.less +0 -71
  2074. package/styles/design/responsive-embed.less +0 -31
  2075. package/styles/design/responsive-video.less +0 -22
  2076. package/styles/design/rioglyph.less +0 -13
  2077. package/styles/design/rounded.less +0 -44
  2078. package/styles/design/sanityCheck.less +0 -11
  2079. package/styles/design/shadows.less +0 -78
  2080. package/styles/design/sizing.less +0 -18
  2081. package/styles/design/tables.less +0 -791
  2082. package/styles/design/text.less +0 -202
  2083. package/styles/design/theme.less +0 -204
  2084. package/styles/design/thumbnails.less +0 -27
  2085. package/styles/design/transition.less +0 -33
  2086. package/styles/design/type.less +0 -159
  2087. package/styles/design/utilities.less +0 -73
  2088. package/styles/design/visibility.less +0 -186
  2089. package/styles/design/wells.less +0 -17
  2090. package/styles/design/z-index.less +0 -21
  2091. package/styles/filter/_imports.less +0 -1
  2092. package/styles/filter/blur.less +0 -17
  2093. package/styles/mapping/breakpoint-map.less +0 -44
  2094. package/styles/mapping/color-map.less +0 -212
  2095. package/styles/mapping/cols-map.less +0 -15
  2096. package/styles/mapping/numbers-map.less +0 -16
  2097. package/styles/mapping/positions-map.less +0 -29
  2098. package/styles/mapping/sizes-map.less +0 -129
  2099. package/styles/mapping/spacings-map.less +0 -33
  2100. package/styles/mixins/_imports.less +0 -14
  2101. package/styles/mixins/border-radius.less +0 -16
  2102. package/styles/mixins/buttons.less +0 -85
  2103. package/styles/mixins/clearfix.less +0 -9
  2104. package/styles/mixins/cols.less +0 -59
  2105. package/styles/mixins/forms.less +0 -25
  2106. package/styles/mixins/hsl.less +0 -19
  2107. package/styles/mixins/panels.less +0 -27
  2108. package/styles/mixins/placeholder.less +0 -17
  2109. package/styles/mixins/reset.less +0 -27
  2110. package/styles/mixins/sizings.less +0 -21
  2111. package/styles/mixins/spinner.less +0 -30
  2112. package/styles/mixins/table.less +0 -26
  2113. package/styles/mixins/tabs.less +0 -4
  2114. package/styles/mixins/text.less +0 -5
  2115. package/styles/print/print.less +0 -195
  2116. package/styles/rio-uikit-core.less +0 -118
  2117. package/styles/rio-uikit-print-utilities.less +0 -17
  2118. package/styles/rio-uikit-responsive-utilities.less +0 -16
  2119. package/styles/variables/_index.less +0 -196
  2120. package/styles/variables/concated_css_variables.less +0 -72
  2121. package/styles/variables/dark_colors.less +0 -96
  2122. package/styles/variables/dark_css_variables.less +0 -28
  2123. package/styles/variables/dark_css_variables_map.less +0 -104
  2124. package/styles/variables/light_colors.less +0 -100
  2125. package/styles/variables/light_css_variables.less +0 -17
  2126. package/styles/variables/light_css_variables_map.less +0 -108
  2127. package/styles/variables/screens.less +0 -7
  2128. package/styles/variables/text.less +0 -23
  2129. package/themes/BuyButton/styles/rio-buyButton.less +0 -191
  2130. package/themes/MAN/styles/man-uikit.less +0 -54
  2131. package/themes/RIO/styles/rio-uikit.less +0 -23
  2132. package/themes/SCANIA/styles/scania-uikit.less +0 -42
  2133. package/themes/Volkswagen/styles/vw-uikit.less +0 -207
  2134. package/themes/Website/styles/rio-website.less +0 -2300
  2135. package/themes/Xmas/styles/rio-xmas.less +0 -66
  2136. package/types.ts +0 -2275
@@ -1,463 +1,322 @@
1
- import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
- import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
- import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
- var _PropTypes$shape;
5
- 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; }
6
- 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; }
7
- import React, { useRef, useState, useEffect } from 'react';
8
- import PropTypes from 'prop-types';
9
- import isFunction from 'lodash/fp/isFunction';
10
- import map from 'lodash/fp/map';
11
- import isEmpty from 'lodash/fp/isEmpty';
12
- import throttle from 'lodash/fp/throttle';
13
- import cloneDeep from 'lodash/fp/cloneDeep';
14
- import mapProps from '../utils/proptypes';
15
- import addEventListener from '../../../utils/addEventListener';
16
- import '../herePolyfill';
17
- import { MAP_TYPE_DEFAULT, MAP_TYPE_FLEET_STYLE, MAP_TYPE_SATELLITE, MAP_TYPE_TERRAIN, MAP_TYPE_NIGHT, MAP_LAYER_INCIDENTS, MAP_LAYER_TRAFFIC, MAP_LAYER_ROAD_RESTRICTIONS } from './constants';
18
- import ZoomButtons from './features/settings/ZoomButtons';
19
- import IncidentsLayer from './features/layers/IncidentsLayer';
20
- import TrafficLayer from './features/layers/TrafficLayer';
21
- import RoadRestrictionLayer from './features/layers/RoadRestrictionLayer';
22
- import DefaultVectorLayer from './features/layers/baselayers/DefaultVectorLayer';
23
- import DefaultRasterLayer from './features/layers/baselayers/DefaultRasterLayer';
24
- import FleetStyleLayer from './features/layers/baselayers/FleetStyleLayer';
25
- import SatelliteLayer from './features/layers/baselayers/SatelliteLayer';
26
- import TerrainLayer from './features/layers/baselayers/TerrainLayer';
27
- import NightLayer from './features/layers/baselayers/NightLayer';
28
- import { getDefaultBaseLayer } from './features/layers/baselayers/useBaseLayer';
29
- import { addEventListenerMap, removeEventListenerMap } from '../utils/eventHandling';
30
- import { MapContext, MapSettingsContext } from './context';
31
- import { createUtils, getPPI } from './mapUtils';
32
- import useDarkMode from '../../../hooks/useDarkMode';
33
- export var NO_CREDENTIALS_ERROR_MESSAGE = 'Cannot instantiate the Map. Missing credentials property.';
34
- var RESIZE_THROTTLE = 1100; // 100 more than the ApplicationLayout handler
35
-
36
- // Note: "apikey" used by Here v3.1 whereas "app_id" and "app_code" are used by the 3.0 API
37
- // The Here API 3.1 works a little different and by default uses WebGL rendering
38
- // See Migration guide: https://developer.here.com/documentation/maps/3.1.37.0/dev_guide/topics/migration.html
39
- var getPlatform = function getPlatform(credentials) {
40
- return new H.service.Platform({
41
- apikey: credentials.apikey || credentials.api_key,
42
- app_id: credentials.app_id,
43
- app_code: credentials.app_code
44
- });
45
- };
46
- var getHereUi = function getHereUi(hereMap, defaultLayers, showScaleBar) {
47
- var hereUi = H.ui.UI.createDefault(hereMap, defaultLayers);
48
- if (hereUi) {
49
- hereUi.getControl('scalebar').setVisibility(showScaleBar);
50
- hereUi.getControl('scalebar').setAlignment('bottom-left');
51
- hereUi.getControl('mapsettings').setVisibility(false);
52
- hereUi.removeControl('zoom');
53
- }
54
- return hereUi;
55
- };
56
- var getBounds = function getBounds(boundingBox) {
57
- var top = boundingBox.top,
58
- left = boundingBox.left,
59
- bottom = boundingBox.bottom,
60
- right = boundingBox.right;
61
- return new H.geo.Rect(top, left, bottom, right);
62
- };
63
- var getLayer = function getLayer(api, layer, language, enableWebGL) {
64
- switch (layer) {
65
- case MAP_LAYER_TRAFFIC:
66
- return /*#__PURE__*/React.createElement(TrafficLayer, {
67
- api: api,
68
- language: language,
69
- key: layer,
70
- useWebGL: enableWebGL
71
- });
72
- case MAP_LAYER_INCIDENTS:
73
- return /*#__PURE__*/React.createElement(IncidentsLayer, {
74
- api: api,
75
- language: language,
76
- key: layer
77
- });
78
- case MAP_LAYER_ROAD_RESTRICTIONS:
79
- return /*#__PURE__*/React.createElement(RoadRestrictionLayer, {
80
- api: api,
81
- language: language,
82
- key: layer,
83
- useWebGL: enableWebGL
84
- });
85
- default:
86
- null;
87
- }
88
- };
89
- var getBaseLayer = function getBaseLayer(api, baseLayer, language, enableWebGL, darkMode) {
90
- switch (baseLayer) {
91
- case MAP_TYPE_DEFAULT:
92
- {
93
- return !darkMode && enableWebGL ? /*#__PURE__*/React.createElement(DefaultVectorLayer, {
94
- api: api,
95
- language: language,
96
- key: baseLayer
97
- }) : /*#__PURE__*/React.createElement(DefaultRasterLayer, {
98
- api: api,
99
- language: language,
100
- key: baseLayer,
101
- darkMode: darkMode
102
- });
103
- }
104
- case MAP_TYPE_FLEET_STYLE:
105
- return /*#__PURE__*/React.createElement(FleetStyleLayer, {
106
- api: api,
107
- language: language,
108
- key: baseLayer
109
- });
110
- case MAP_TYPE_SATELLITE:
111
- return /*#__PURE__*/React.createElement(SatelliteLayer, {
112
- api: api,
113
- language: language,
114
- key: baseLayer
115
- });
116
- case MAP_TYPE_TERRAIN:
117
- return /*#__PURE__*/React.createElement(TerrainLayer, {
118
- api: api,
119
- language: language,
120
- key: baseLayer
121
- });
122
- case MAP_TYPE_NIGHT:
123
- return /*#__PURE__*/React.createElement(NightLayer, {
124
- api: api,
125
- language: language,
126
- key: baseLayer
127
- });
128
- default:
129
- null;
130
- }
131
- };
132
- var enrichChildrenWithApi = function enrichChildrenWithApi(children, api) {
133
- return React.Children.map(children, function (child) {
134
- if (child) {
135
- return /*#__PURE__*/React.cloneElement(child, {
136
- api: api
137
- });
138
- }
139
- });
140
- };
141
- var getStyle = function getStyle(height, width) {
142
- var style = {};
143
- if (height) {
144
- style.height = height;
145
- }
146
- if (width) {
147
- style.width = width;
148
- }
149
- return style;
150
- };
151
- var Map = function Map(props) {
152
- var children = props.children,
153
- credentials = props.credentials,
154
- width = props.width,
155
- height = props.height,
156
- language = props.language,
157
- center = props.center,
158
- zoom = props.zoom,
159
- zoomAnimation = props.zoomAnimation,
160
- boundingBox = props.boundingBox,
161
- hideClusterSettings = props.hideClusterSettings,
162
- hideMapLayerSettings = props.hideMapLayerSettings,
163
- disableMapEvents = props.disableMapEvents,
164
- disableBehavior = props.disableBehavior,
165
- eventListenerMap = props.eventListenerMap,
166
- mapType = props.mapType,
167
- mapLayer = props.mapLayer,
168
- externalShowCluster = props.showCluster,
169
- showScaleBar = props.showScaleBar,
170
- onMapLayerChange = props.onMapLayerChange,
171
- onMapTypeChange = props.onMapTypeChange,
172
- onShowClusterChange = props.onShowClusterChange,
173
- onZoomIn = props.onZoomIn,
174
- onZoomOut = props.onZoomOut,
175
- mapSettingsTooltip = props.mapSettingsTooltip,
176
- mapSettings = props.mapSettings,
177
- enableWebGL = props.enableWebGL,
178
- enableDevicePixelRatio = props.enableDevicePixelRatio,
179
- darkMode = props.darkMode;
180
- var mapRef = useRef(null);
181
- var _useState = useState(false),
182
- _useState2 = _slicedToArray(_useState, 2),
183
- isMapInitialized = _useState2[0],
184
- setMapInitialized = _useState2[1];
185
- var _useState3 = useState(),
186
- _useState4 = _slicedToArray(_useState3, 2),
187
- api = _useState4[0],
188
- setApi = _useState4[1];
189
- var _useState5 = useState(mapType),
190
- _useState6 = _slicedToArray(_useState5, 2),
191
- baseLayer = _useState6[0],
192
- setBaseLayer = _useState6[1];
193
- var _useState7 = useState(mapLayer),
194
- _useState8 = _slicedToArray(_useState7, 2),
195
- activeLayers = _useState8[0],
196
- setActiveLayers = _useState8[1];
197
- var _useState9 = useState(externalShowCluster),
198
- _useState10 = _slicedToArray(_useState9, 2),
199
- showCluster = _useState10[0],
200
- setShowCluster = _useState10[1];
201
- var devicePixelRatio = enableDevicePixelRatio ? window.devicePixelRatio || 1 : 1;
202
- useEffect(function () {
203
- console.debug('initialize here map');
204
- var bounds = boundingBox && getBounds(boundingBox);
205
- var platform = getPlatform(credentials);
206
- var defaultLayers = platform.createDefaultLayers();
207
- var defaultLayer = getDefaultBaseLayer(defaultLayers, baseLayer, enableWebGL);
208
-
209
- // Instantiate (and display) a map object:
210
- var mapConfig = {
211
- zoom: zoom,
212
- center: center,
213
- bounds: bounds,
214
- pixelRatio: devicePixelRatio,
215
- // need to be set for better performence of legacy map
216
- engineType: enableWebGL ? undefined : H.map.render.RenderEngine.EngineType.P2D
217
- };
218
- var hereMap = new H.Map(mapRef.current, defaultLayer, mapConfig);
219
-
220
- // Add a resize listener to make sure that the map occupies the whole container
221
- var resizeListener = addEventListener(window, 'resize', throttle(RESIZE_THROTTLE, function () {
222
- return hereMap.getViewPort().resize();
223
- }));
224
- var orientationChangeListener = addEventListener(window, 'orientationchange', throttle(RESIZE_THROTTLE, function () {
225
- return hereMap.getViewPort().resize();
226
- }));
227
- setMapInitialized(true);
228
- var hereMapEvents = !disableMapEvents && new H.mapevents.MapEvents(hereMap);
229
- var hereBehavior = !(disableMapEvents || disableBehavior) && new H.mapevents.Behavior(hereMapEvents);
230
- addEventListenerMap(hereMap, eventListenerMap, hereMap);
231
-
232
- // The api will be passed to services when using a render function.
233
- // This allows the service to access the map internals
234
- setApi({
235
- credentials: credentials,
236
- defaultLayers: defaultLayers,
237
- map: hereMap,
238
- mapEvents: hereMapEvents,
239
- behavior: hereBehavior,
240
- platform: platform,
241
- ui: getHereUi(hereMap, defaultLayers, showScaleBar),
242
- utils: createUtils(hereMap),
243
- settings: {
244
- enableWebGL: enableWebGL,
245
- baseLayer: baseLayer,
246
- mapLayer: activeLayers,
247
- showCluster: showCluster
248
- }
249
- });
250
- return function () {
251
- if (hereMap) {
252
- removeEventListenerMap(hereMap);
253
- if (hereMapEvents) {
254
- hereMapEvents.dispose();
255
- }
256
- if (resizeListener) {
257
- resizeListener.remove();
258
- }
259
- if (orientationChangeListener) {
260
- orientationChangeListener.remove();
261
- }
262
- hereMap.dispose();
263
- }
264
- };
265
- }, [enableWebGL, enableDevicePixelRatio]);
266
- var isDarkMode = useDarkMode();
267
- useEffect(function () {
268
- // Toggle night map only if current map type is default
269
- if (isDarkMode && baseLayer === MAP_TYPE_DEFAULT) {
270
- handleMapTypeChange(MAP_TYPE_NIGHT);
271
- }
272
- // Toggle back to default map only if current map type is night
273
- else if (!isDarkMode && baseLayer === MAP_TYPE_NIGHT) {
274
- handleMapTypeChange(MAP_TYPE_DEFAULT);
275
- }
276
- }, [isDarkMode]);
277
-
278
- // Update BoundingBox from outside
279
- useEffect(function () {
280
- if (api && boundingBox) {
281
- var top = boundingBox.top,
282
- left = boundingBox.left,
283
- bottom = boundingBox.bottom,
284
- right = boundingBox.right;
285
- api.map.getViewModel().setLookAtData({
286
- bounds: new H.geo.Rect(top, left, bottom, right)
287
- }, zoomAnimation);
288
- }
289
- }, [boundingBox]);
290
-
291
- // Update Zoom from outside if value is different
292
- useEffect(function () {
293
- if (!api) {
294
- return;
295
- }
296
- var currentMapZoom = api.utils.getZoom();
297
- if (zoom && currentMapZoom !== zoom) {
298
- api.utils.setZoom(zoom, zoomAnimation);
299
- }
300
- }, [zoom]);
301
-
302
- // Update Lat & Lng from outside if value is different
303
- useEffect(function () {
304
- if (!(api && center)) {
305
- return;
306
- }
307
- var currentMapCenter = api.utils.getCenter();
308
- if (currentMapCenter.lat !== center.lat || currentMapCenter.lng !== center.lng) {
309
- api.utils.setCenter(center, zoomAnimation);
310
- }
311
- }, [center]);
312
-
313
- // Update MapType from outside
314
- useEffect(function () {
315
- return handleMapTypeChange(mapType);
316
- }, [mapType]);
317
-
318
- // Update MapLayer from outside
319
- useEffect(function () {
320
- return setActiveLayers(mapLayer);
321
- }, [mapLayer]);
322
-
323
- // Update Cluster setting from outside
324
- useEffect(function () {
325
- return setShowCluster(externalShowCluster);
326
- }, [externalShowCluster]);
327
- var handleMapTypeChange = function handleMapTypeChange(newMapType) {
328
- setBaseLayer(newMapType);
329
- onMapTypeChange(newMapType, mapType);
330
- if (api) {
331
- setApi(_objectSpread(_objectSpread({}, api), {}, {
332
- settings: _objectSpread(_objectSpread({}, api.settings), {}, {
333
- baseLayer: newMapType
334
- })
335
- }));
336
- }
337
- };
338
- var handleMapLayerChange = function handleMapLayerChange(layer) {
339
- var removeLayer = function removeLayer(layerToRemove) {
340
- return activeLayers.filter(function (item) {
341
- return item !== layerToRemove;
342
- });
343
- };
344
- var newActiveLayers = activeLayers.includes(layer) ? removeLayer(layer) : [].concat(_toConsumableArray(activeLayers), [layer]);
345
- setActiveLayers(newActiveLayers);
346
- onMapLayerChange(newActiveLayers, activeLayers);
347
- setApi(_objectSpread(_objectSpread({}, api), {}, {
348
- settings: _objectSpread(_objectSpread({}, api.settings), {}, {
349
- mapLayer: newActiveLayers
350
- })
351
- }));
352
- };
353
- var handleShowClusterChange = function handleShowClusterChange(newShowCluster) {
354
- setShowCluster(newShowCluster);
355
- onShowClusterChange(newShowCluster, showCluster);
356
- setApi(_objectSpread(_objectSpread({}, api), {}, {
357
- settings: _objectSpread(_objectSpread({}, api.settings), {}, {
358
- showCluster: newShowCluster
359
- })
360
- }));
361
- };
362
- var handleZoomIn = function handleZoomIn() {
363
- var z = api.utils.getZoom();
364
- var newZoom = z + 1;
365
- onZoomIn(newZoom, z);
366
- api.utils.setZoom(newZoom, zoomAnimation);
367
- };
368
- var handleZoomOut = function handleZoomOut() {
369
- var z = api.utils.getZoom();
370
- var newZoom = z - 1;
371
- onZoomOut(newZoom, z);
372
- api.utils.setZoom(newZoom, zoomAnimation);
373
- };
374
- var style = getStyle(height, width);
375
- var autoHeightClass = isEmpty(style) ? 'height-100pct' : '';
376
- var hideZoomButtons = disableBehavior;
377
- return /*#__PURE__*/React.createElement("div", {
378
- className: "Map position-relative map-type-".concat(baseLayer.toLowerCase(), " ").concat(autoHeightClass),
379
- style: style,
380
- ref: mapRef
381
- }, isMapInitialized && /*#__PURE__*/React.createElement(MapContext.Provider, {
382
- value: {
383
- api: api
384
- }
385
- }, !hideZoomButtons && /*#__PURE__*/React.createElement(ZoomButtons, {
386
- onZoomIn: handleZoomIn,
387
- onZoomOut: handleZoomOut
388
- }), mapSettings && /*#__PURE__*/React.createElement(MapSettingsContext.Provider, {
389
- value: {
390
- mapType: baseLayer,
391
- activeBuiltinLayers: activeLayers,
392
- showCluster: showCluster,
393
- hideMapLayerSettings: hideMapLayerSettings,
394
- hideClusterSettings: hideClusterSettings,
395
- onMapTypeChange: handleMapTypeChange,
396
- onMapLayerChange: handleMapLayerChange,
397
- onShowClusterChange: handleShowClusterChange,
398
- mapSettingsTooltip: mapSettingsTooltip
399
- }
400
- }, mapSettings), getBaseLayer(api, baseLayer, language, enableWebGL, darkMode), map(function (layer) {
401
- return getLayer(api, layer, language, enableWebGL);
402
- }, activeLayers), children && /*#__PURE__*/React.createElement("div", {
403
- className: 'MapElements'
404
- }, isFunction(children) ? children(api) : enrichChildrenWithApi(children, api))));
405
- };
406
- Map.TYPE_DEFAULT = MAP_TYPE_DEFAULT;
407
- Map.TYPE_FLEET_STYLE = MAP_TYPE_FLEET_STYLE;
408
- Map.TYPE_SATELLITE = MAP_TYPE_SATELLITE;
409
- Map.TYPE_TERRAIN = MAP_TYPE_TERRAIN;
410
- Map.TYPE_NIGHT = MAP_TYPE_NIGHT;
411
- Map.LAYER_INCIDENTS = MAP_LAYER_INCIDENTS;
412
- Map.LAYER_TRAFFIC = MAP_LAYER_TRAFFIC;
413
- Map.LAYER_ROAD_RESTRICTIONS = MAP_LAYER_ROAD_RESTRICTIONS;
414
- Map.defaultProps = {
415
- language: 'en',
416
- zoomAnimation: false,
417
- hideMapSettings: false,
418
- hideClusterSettings: false,
419
- hideMapLayerSettings: false,
420
- mapType: MAP_TYPE_DEFAULT,
421
- mapLayer: [],
422
- showCluster: true,
423
- showScaleBar: false,
424
- onMapTypeChange: function onMapTypeChange() {},
425
- onMapLayerChange: function onMapLayerChange() {},
426
- onShowClusterChange: function onShowClusterChange() {},
427
- onZoomIn: function onZoomIn() {},
428
- onZoomOut: function onZoomOut() {},
429
- enableWebGL: true,
430
- enableDevicePixelRatio: true,
431
- darkMode: false
432
- };
433
- Map.propTypes = {
434
- credentials: PropTypes.shape((_PropTypes$shape = {}, _defineProperty(_PropTypes$shape, 'app_id', PropTypes.string), _defineProperty(_PropTypes$shape, 'app_code', PropTypes.string), _defineProperty(_PropTypes$shape, 'api_key', PropTypes.string), _defineProperty(_PropTypes$shape, "apikey", PropTypes.string), _PropTypes$shape)).isRequired,
435
- height: PropTypes.number,
436
- width: PropTypes.number,
437
- language: PropTypes.string,
438
- zoom: PropTypes.number,
439
- center: mapProps.position,
440
- boundingBox: mapProps.rect,
441
- disableMapEvents: PropTypes.bool,
442
- disableBehavior: PropTypes.bool,
443
- eventListenerMap: PropTypes.object,
444
- hideMapSettings: PropTypes.bool,
445
- hideClusterSettings: PropTypes.bool,
446
- hideMapLayerSettings: PropTypes.bool,
447
- mapType: PropTypes.oneOf([Map.TYPE_DEFAULT, Map.TYPE_FLEET_STYLE, Map.TYPE_SATELLITE, Map.TYPE_TERRAIN, Map.TYPE_NIGHT]),
448
- mapLayer: PropTypes.arrayOf(PropTypes.string),
449
- showCluster: PropTypes.bool,
450
- showScaleBar: PropTypes.bool,
451
- onMapTypeChange: PropTypes.func,
452
- onMapLayerChange: PropTypes.func,
453
- onShowClusterChange: PropTypes.func,
454
- onZoomIn: PropTypes.func,
455
- onZoomOut: PropTypes.func,
456
- getApi: PropTypes.func,
457
- mapSettingsTooltip: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
458
- mapSettings: PropTypes.node,
459
- enableWebGL: PropTypes.bool,
460
- enableDevicePixelRatio: PropTypes.bool,
461
- darkMode: PropTypes.bool
462
- };
463
- export default Map;
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import React, { useRef, useState, useEffect } from 'react';
3
+ import PropTypes from 'prop-types';
4
+ import isFunction from 'lodash/fp/isFunction';
5
+ import map from 'lodash/fp/map';
6
+ import isEmpty from 'lodash/fp/isEmpty';
7
+ import throttle from 'lodash/fp/throttle';
8
+ import cloneDeep from 'lodash/fp/cloneDeep';
9
+ import mapProps from '../utils/proptypes';
10
+ import addEventListener from '../../../utils/addEventListener';
11
+ import '../herePolyfill';
12
+ import { MAP_TYPE_DEFAULT, MAP_TYPE_FLEET_STYLE, MAP_TYPE_SATELLITE, MAP_TYPE_TERRAIN, MAP_TYPE_NIGHT, MAP_LAYER_INCIDENTS, MAP_LAYER_TRAFFIC, MAP_LAYER_ROAD_RESTRICTIONS, } from './constants';
13
+ import ZoomButtons from './features/settings/ZoomButtons';
14
+ import IncidentsLayer from './features/layers/IncidentsLayer';
15
+ import TrafficLayer from './features/layers/TrafficLayer';
16
+ import RoadRestrictionLayer from './features/layers/RoadRestrictionLayer';
17
+ import DefaultVectorLayer from './features/layers/baselayers/DefaultVectorLayer';
18
+ import DefaultRasterLayer from './features/layers/baselayers/DefaultRasterLayer';
19
+ import FleetStyleLayer from './features/layers/baselayers/FleetStyleLayer';
20
+ import SatelliteLayer from './features/layers/baselayers/SatelliteLayer';
21
+ import TerrainLayer from './features/layers/baselayers/TerrainLayer';
22
+ import NightLayer from './features/layers/baselayers/NightLayer';
23
+ import { getDefaultBaseLayer } from './features/layers/baselayers/useBaseLayer';
24
+ import { addEventListenerMap, removeEventListenerMap } from '../utils/eventHandling';
25
+ import { MapContext, MapSettingsContext } from './context';
26
+ import { createUtils, getPPI } from './mapUtils';
27
+ import useDarkMode from '../../../hooks/useDarkMode';
28
+ export const NO_CREDENTIALS_ERROR_MESSAGE = 'Cannot instantiate the Map. Missing credentials property.';
29
+ const RESIZE_THROTTLE = 1100; // 100 more than the ApplicationLayout handler
30
+ // Note: "apikey" used by Here v3.1 whereas "app_id" and "app_code" are used by the 3.0 API
31
+ // The Here API 3.1 works a little different and by default uses WebGL rendering
32
+ // See Migration guide: https://developer.here.com/documentation/maps/3.1.37.0/dev_guide/topics/migration.html
33
+ const getPlatform = credentials => new H.service.Platform({
34
+ apikey: credentials.apikey || credentials.api_key,
35
+ app_id: credentials.app_id,
36
+ app_code: credentials.app_code,
37
+ });
38
+ const getHereUi = (hereMap, defaultLayers, showScaleBar) => {
39
+ const hereUi = H.ui.UI.createDefault(hereMap, defaultLayers);
40
+ if (hereUi) {
41
+ hereUi.getControl('scalebar').setVisibility(showScaleBar);
42
+ hereUi.getControl('scalebar').setAlignment('bottom-left');
43
+ hereUi.getControl('mapsettings').setVisibility(false);
44
+ hereUi.removeControl('zoom');
45
+ }
46
+ return hereUi;
47
+ };
48
+ const getBounds = boundingBox => {
49
+ const { top, left, bottom, right } = boundingBox;
50
+ return new H.geo.Rect(top, left, bottom, right);
51
+ };
52
+ const getLayer = (api, layer, language, enableWebGL) => {
53
+ switch (layer) {
54
+ case MAP_LAYER_TRAFFIC:
55
+ return _jsx(TrafficLayer, { api: api, language: language, useWebGL: enableWebGL }, layer);
56
+ case MAP_LAYER_INCIDENTS:
57
+ return _jsx(IncidentsLayer, { api: api, language: language }, layer);
58
+ case MAP_LAYER_ROAD_RESTRICTIONS:
59
+ return _jsx(RoadRestrictionLayer, { api: api, language: language, useWebGL: enableWebGL }, layer);
60
+ default:
61
+ null;
62
+ }
63
+ };
64
+ const getBaseLayer = (api, baseLayer, language, enableWebGL, darkMode) => {
65
+ switch (baseLayer) {
66
+ case MAP_TYPE_DEFAULT: {
67
+ return !darkMode && enableWebGL ? (_jsx(DefaultVectorLayer, { api: api, language: language }, baseLayer)) : (_jsx(DefaultRasterLayer, { api: api, language: language, darkMode: darkMode }, baseLayer));
68
+ }
69
+ case MAP_TYPE_FLEET_STYLE:
70
+ return _jsx(FleetStyleLayer, { api: api, language: language }, baseLayer);
71
+ case MAP_TYPE_SATELLITE:
72
+ return _jsx(SatelliteLayer, { api: api, language: language }, baseLayer);
73
+ case MAP_TYPE_TERRAIN:
74
+ return _jsx(TerrainLayer, { api: api, language: language }, baseLayer);
75
+ case MAP_TYPE_NIGHT:
76
+ return _jsx(NightLayer, { api: api, language: language }, baseLayer);
77
+ default:
78
+ null;
79
+ }
80
+ };
81
+ const enrichChildrenWithApi = (children, api) => React.Children.map(children, child => {
82
+ if (child) {
83
+ return React.cloneElement(child, {
84
+ api,
85
+ });
86
+ }
87
+ });
88
+ const getStyle = (height, width) => {
89
+ const style = {};
90
+ if (height) {
91
+ style.height = height;
92
+ }
93
+ if (width) {
94
+ style.width = width;
95
+ }
96
+ return style;
97
+ };
98
+ const Map = props => {
99
+ const { children, credentials, width, height, language, center, zoom, zoomAnimation, boundingBox, hideClusterSettings, hideMapLayerSettings, disableMapEvents, disableBehavior, eventListenerMap, mapType, mapLayer, showCluster: externalShowCluster, showScaleBar, onMapLayerChange, onMapTypeChange, onShowClusterChange, onZoomIn, onZoomOut, mapSettingsTooltip, mapSettings, enableWebGL, enableDevicePixelRatio, darkMode, } = props;
100
+ const mapRef = useRef(null);
101
+ const [isMapInitialized, setMapInitialized] = useState(false);
102
+ const [api, setApi] = useState();
103
+ const [baseLayer, setBaseLayer] = useState(mapType);
104
+ const [activeLayers, setActiveLayers] = useState(mapLayer);
105
+ const [showCluster, setShowCluster] = useState(externalShowCluster);
106
+ const devicePixelRatio = enableDevicePixelRatio ? window.devicePixelRatio || 1 : 1;
107
+ useEffect(() => {
108
+ console.debug('initialize here map');
109
+ const bounds = boundingBox && getBounds(boundingBox);
110
+ const platform = getPlatform(credentials);
111
+ const defaultLayers = platform.createDefaultLayers();
112
+ const defaultLayer = getDefaultBaseLayer(defaultLayers, baseLayer, enableWebGL);
113
+ // Instantiate (and display) a map object:
114
+ const mapConfig = {
115
+ zoom,
116
+ center,
117
+ bounds,
118
+ pixelRatio: devicePixelRatio,
119
+ // need to be set for better performence of legacy map
120
+ engineType: enableWebGL ? undefined : H.map.render.RenderEngine.EngineType.P2D,
121
+ };
122
+ const hereMap = new H.Map(mapRef.current, defaultLayer, mapConfig);
123
+ // Add a resize listener to make sure that the map occupies the whole container
124
+ const resizeListener = addEventListener(window, 'resize', throttle(RESIZE_THROTTLE, () => hereMap.getViewPort().resize()));
125
+ const orientationChangeListener = addEventListener(window, 'orientationchange', throttle(RESIZE_THROTTLE, () => hereMap.getViewPort().resize()));
126
+ setMapInitialized(true);
127
+ const hereMapEvents = !disableMapEvents && new H.mapevents.MapEvents(hereMap);
128
+ const hereBehavior = !(disableMapEvents || disableBehavior) && new H.mapevents.Behavior(hereMapEvents);
129
+ addEventListenerMap(hereMap, eventListenerMap, hereMap);
130
+ // The api will be passed to services when using a render function.
131
+ // This allows the service to access the map internals
132
+ setApi({
133
+ credentials,
134
+ defaultLayers,
135
+ map: hereMap,
136
+ mapEvents: hereMapEvents,
137
+ behavior: hereBehavior,
138
+ platform,
139
+ ui: getHereUi(hereMap, defaultLayers, showScaleBar),
140
+ utils: createUtils(hereMap),
141
+ settings: {
142
+ enableWebGL,
143
+ baseLayer: baseLayer,
144
+ mapLayer: activeLayers,
145
+ showCluster: showCluster,
146
+ },
147
+ });
148
+ return () => {
149
+ if (hereMap) {
150
+ removeEventListenerMap(hereMap);
151
+ if (hereMapEvents) {
152
+ hereMapEvents.dispose();
153
+ }
154
+ if (resizeListener) {
155
+ resizeListener.remove();
156
+ }
157
+ if (orientationChangeListener) {
158
+ orientationChangeListener.remove();
159
+ }
160
+ hereMap.dispose();
161
+ }
162
+ };
163
+ }, [enableWebGL, enableDevicePixelRatio]);
164
+ const isDarkMode = useDarkMode();
165
+ useEffect(() => {
166
+ // Toggle night map only if current map type is default
167
+ if (isDarkMode && baseLayer === MAP_TYPE_DEFAULT) {
168
+ handleMapTypeChange(MAP_TYPE_NIGHT);
169
+ }
170
+ // Toggle back to default map only if current map type is night
171
+ else if (!isDarkMode && baseLayer === MAP_TYPE_NIGHT) {
172
+ handleMapTypeChange(MAP_TYPE_DEFAULT);
173
+ }
174
+ }, [isDarkMode]);
175
+ // Update BoundingBox from outside
176
+ useEffect(() => {
177
+ if (api && boundingBox) {
178
+ const { top, left, bottom, right } = boundingBox;
179
+ api.map.getViewModel().setLookAtData({ bounds: new H.geo.Rect(top, left, bottom, right) }, zoomAnimation);
180
+ }
181
+ }, [boundingBox]);
182
+ // Update Zoom from outside if value is different
183
+ useEffect(() => {
184
+ if (!api) {
185
+ return;
186
+ }
187
+ const currentMapZoom = api.utils.getZoom();
188
+ if (zoom && currentMapZoom !== zoom) {
189
+ api.utils.setZoom(zoom, zoomAnimation);
190
+ }
191
+ }, [zoom]);
192
+ // Update Lat & Lng from outside if value is different
193
+ useEffect(() => {
194
+ if (!(api && center)) {
195
+ return;
196
+ }
197
+ const currentMapCenter = api.utils.getCenter();
198
+ if (currentMapCenter.lat !== center.lat || currentMapCenter.lng !== center.lng) {
199
+ api.utils.setCenter(center, zoomAnimation);
200
+ }
201
+ }, [center]);
202
+ // Update MapType from outside
203
+ useEffect(() => handleMapTypeChange(mapType), [mapType]);
204
+ // Update MapLayer from outside
205
+ useEffect(() => setActiveLayers(mapLayer), [mapLayer]);
206
+ // Update Cluster setting from outside
207
+ useEffect(() => setShowCluster(externalShowCluster), [externalShowCluster]);
208
+ const handleMapTypeChange = newMapType => {
209
+ setBaseLayer(newMapType);
210
+ onMapTypeChange(newMapType, mapType);
211
+ if (api) {
212
+ setApi(Object.assign(Object.assign({}, api), { settings: Object.assign(Object.assign({}, api.settings), { baseLayer: newMapType }) }));
213
+ }
214
+ };
215
+ const handleMapLayerChange = layer => {
216
+ const removeLayer = layerToRemove => activeLayers.filter(item => item !== layerToRemove);
217
+ const newActiveLayers = activeLayers.includes(layer) ? removeLayer(layer) : [...activeLayers, layer];
218
+ setActiveLayers(newActiveLayers);
219
+ onMapLayerChange(newActiveLayers, activeLayers);
220
+ setApi(Object.assign(Object.assign({}, api), { settings: Object.assign(Object.assign({}, api.settings), { mapLayer: newActiveLayers }) }));
221
+ };
222
+ const handleShowClusterChange = newShowCluster => {
223
+ setShowCluster(newShowCluster);
224
+ onShowClusterChange(newShowCluster, showCluster);
225
+ setApi(Object.assign(Object.assign({}, api), { settings: Object.assign(Object.assign({}, api.settings), { showCluster: newShowCluster }) }));
226
+ };
227
+ const handleZoomIn = () => {
228
+ const z = api.utils.getZoom();
229
+ const newZoom = z + 1;
230
+ onZoomIn(newZoom, z);
231
+ api.utils.setZoom(newZoom, zoomAnimation);
232
+ };
233
+ const handleZoomOut = () => {
234
+ const z = api.utils.getZoom();
235
+ const newZoom = z - 1;
236
+ onZoomOut(newZoom, z);
237
+ api.utils.setZoom(newZoom, zoomAnimation);
238
+ };
239
+ const style = getStyle(height, width);
240
+ const autoHeightClass = isEmpty(style) ? 'height-100pct' : '';
241
+ const hideZoomButtons = disableBehavior;
242
+ return (_jsx("div", Object.assign({ className: `Map position-relative map-type-${baseLayer.toLowerCase()} ${autoHeightClass}`, style: style, ref: mapRef }, { children: isMapInitialized && (_jsxs(MapContext.Provider, Object.assign({ value: { api } }, { children: [!hideZoomButtons && _jsx(ZoomButtons, { onZoomIn: handleZoomIn, onZoomOut: handleZoomOut }), mapSettings && (_jsx(MapSettingsContext.Provider, Object.assign({ value: {
243
+ mapType: baseLayer,
244
+ activeBuiltinLayers: activeLayers,
245
+ showCluster: showCluster,
246
+ hideMapLayerSettings: hideMapLayerSettings,
247
+ hideClusterSettings: hideClusterSettings,
248
+ onMapTypeChange: handleMapTypeChange,
249
+ onMapLayerChange: handleMapLayerChange,
250
+ onShowClusterChange: handleShowClusterChange,
251
+ mapSettingsTooltip: mapSettingsTooltip,
252
+ } }, { children: mapSettings }))), getBaseLayer(api, baseLayer, language, enableWebGL, darkMode), map(layer => getLayer(api, layer, language, enableWebGL), activeLayers), children && (_jsx("div", Object.assign({ className: 'MapElements' }, { children: isFunction(children) ? children(api) : enrichChildrenWithApi(children, api) })))] }))) })));
253
+ };
254
+ Map.TYPE_DEFAULT = MAP_TYPE_DEFAULT;
255
+ Map.TYPE_FLEET_STYLE = MAP_TYPE_FLEET_STYLE;
256
+ Map.TYPE_SATELLITE = MAP_TYPE_SATELLITE;
257
+ Map.TYPE_TERRAIN = MAP_TYPE_TERRAIN;
258
+ Map.TYPE_NIGHT = MAP_TYPE_NIGHT;
259
+ Map.LAYER_INCIDENTS = MAP_LAYER_INCIDENTS;
260
+ Map.LAYER_TRAFFIC = MAP_LAYER_TRAFFIC;
261
+ Map.LAYER_ROAD_RESTRICTIONS = MAP_LAYER_ROAD_RESTRICTIONS;
262
+ Map.defaultProps = {
263
+ language: 'en',
264
+ zoomAnimation: false,
265
+ hideMapSettings: false,
266
+ hideClusterSettings: false,
267
+ hideMapLayerSettings: false,
268
+ mapType: MAP_TYPE_DEFAULT,
269
+ mapLayer: [],
270
+ showCluster: true,
271
+ showScaleBar: false,
272
+ onMapTypeChange: () => { },
273
+ onMapLayerChange: () => { },
274
+ onShowClusterChange: () => { },
275
+ onZoomIn: () => { },
276
+ onZoomOut: () => { },
277
+ enableWebGL: true,
278
+ enableDevicePixelRatio: true,
279
+ darkMode: false,
280
+ };
281
+ Map.propTypes = {
282
+ credentials: PropTypes.shape({
283
+ ['app_id']: PropTypes.string,
284
+ ['app_code']: PropTypes.string,
285
+ ['api_key']: PropTypes.string,
286
+ apikey: PropTypes.string,
287
+ }).isRequired,
288
+ height: PropTypes.number,
289
+ width: PropTypes.number,
290
+ language: PropTypes.string,
291
+ zoom: PropTypes.number,
292
+ center: mapProps.position,
293
+ boundingBox: mapProps.rect,
294
+ disableMapEvents: PropTypes.bool,
295
+ disableBehavior: PropTypes.bool,
296
+ eventListenerMap: PropTypes.object,
297
+ hideMapSettings: PropTypes.bool,
298
+ hideClusterSettings: PropTypes.bool,
299
+ hideMapLayerSettings: PropTypes.bool,
300
+ mapType: PropTypes.oneOf([
301
+ Map.TYPE_DEFAULT,
302
+ Map.TYPE_FLEET_STYLE,
303
+ Map.TYPE_SATELLITE,
304
+ Map.TYPE_TERRAIN,
305
+ Map.TYPE_NIGHT,
306
+ ]),
307
+ mapLayer: PropTypes.arrayOf(PropTypes.string),
308
+ showCluster: PropTypes.bool,
309
+ showScaleBar: PropTypes.bool,
310
+ onMapTypeChange: PropTypes.func,
311
+ onMapLayerChange: PropTypes.func,
312
+ onShowClusterChange: PropTypes.func,
313
+ onZoomIn: PropTypes.func,
314
+ onZoomOut: PropTypes.func,
315
+ getApi: PropTypes.func,
316
+ mapSettingsTooltip: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
317
+ mapSettings: PropTypes.node,
318
+ enableWebGL: PropTypes.bool,
319
+ enableDevicePixelRatio: PropTypes.bool,
320
+ darkMode: PropTypes.bool,
321
+ };
322
+ export default Map;