@rio-cloud/rio-uikit 1.0.0 → 1.2.0

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 (370) hide show
  1. package/.DS_Store +0 -0
  2. package/DropdownHeader.d.ts +2 -0
  3. package/DropdownHeader.js +2 -0
  4. package/FeedbackInlineButtons.d.ts +2 -0
  5. package/FeedbackInlineButtons.js +2 -0
  6. package/FeedbackRating.d.ts +2 -0
  7. package/FeedbackRating.js +2 -0
  8. package/FeedbackReactions.d.ts +2 -0
  9. package/FeedbackReactions.js +2 -0
  10. package/MapAdditionalLayerSettings.d.ts +2 -0
  11. package/MapAdditionalLayerSettings.js +2 -0
  12. package/MapSettingsDropdownHeader.d.ts +2 -0
  13. package/MapSettingsDropdownHeader.js +2 -0
  14. package/SmoothScrollbars.d.ts +2 -0
  15. package/SmoothScrollbars.js +2 -0
  16. package/components/.DS_Store +0 -0
  17. package/components/actionBarItem/ActionBarItemListItem.js +2 -2
  18. package/components/assetTree/AssetTree.js +2 -1
  19. package/components/assetTree/Tree.d.ts +4 -0
  20. package/components/assetTree/Tree.js +2 -2
  21. package/components/assetTree/TreeOptions.d.ts +1 -0
  22. package/components/assetTree/TreeOptions.js +16 -2
  23. package/components/assetTree/TreeSidebarCategories.js +1 -1
  24. package/components/calendarStripe/CalendarStripe.js +2 -2
  25. package/components/feedback/FeedbackInlineButtons.d.ts +13 -0
  26. package/components/feedback/FeedbackInlineButtons.js +9 -0
  27. package/components/feedback/FeedbackRating.d.ts +65 -0
  28. package/components/feedback/FeedbackRating.js +23 -0
  29. package/components/feedback/FeedbackReactions.d.ts +71 -0
  30. package/components/feedback/FeedbackReactions.js +26 -0
  31. package/components/listMenu/ListMenu.d.ts +5 -1
  32. package/components/listMenu/ListMenu.js +2 -2
  33. package/components/map/.DS_Store +0 -0
  34. package/components/map/components/.DS_Store +0 -0
  35. package/components/map/components/features/basics/Marker.js +1 -1
  36. package/components/map/components/features/settings/MapSettingsItem.d.ts +1 -0
  37. package/components/map/components/features/settings/MapSettingsItem.js +14 -11
  38. package/components/map/components/features/settings/MapSettingsTile.d.ts +3 -2
  39. package/components/map/components/features/settings/MapSettingsTile.js +40 -5
  40. package/components/map/components/features/settings/builtinSettings/MapAdditionalLayerSettings.d.ts +9 -0
  41. package/components/map/components/features/settings/builtinSettings/MapAdditionalLayerSettings.js +15 -0
  42. package/components/map/components/features/settings/builtinSettings/MapClusterSettings.d.ts +3 -0
  43. package/components/map/components/features/settings/builtinSettings/MapClusterSettings.js +8 -2
  44. package/components/map/components/features/settings/builtinSettings/MapLayerSettings.js +15 -9
  45. package/components/map/components/features/settings/builtinSettings/MapTypeSettings.d.ts +6 -0
  46. package/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +20 -2
  47. package/components/map/components/features/settings/buttons/MapCenterMarkerButton.js +2 -2
  48. package/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.d.ts +2 -0
  49. package/components/map/components/features/settings/items/MapLayerIncidentsItem.d.ts +2 -0
  50. package/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.d.ts +2 -0
  51. package/components/map/components/features/settings/items/MapLayerTrafficItem.d.ts +2 -0
  52. package/components/map/components/features/settings/items/MapSettingsDropdownHeader.d.ts +4 -0
  53. package/components/map/components/features/settings/items/MapSettingsDropdownHeader.js +9 -0
  54. package/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.d.ts +2 -0
  55. package/components/map/icons/MapIcon.d.ts +1 -2
  56. package/components/map/icons/MapIcon.js +3 -1
  57. package/components/map/utils/mapTypes.d.ts +1 -1
  58. package/components/map/utils/mapTypes.js +12 -4
  59. package/components/mapMarker/ClusterMapMarker.d.ts +8 -0
  60. package/components/mapMarker/ClusterMapMarker.js +5 -4
  61. package/components/mapMarker/SingleMapMarker.d.ts +40 -5
  62. package/components/mapMarker/SingleMapMarker.js +19 -6
  63. package/components/selects/DropdownHeader.d.ts +1 -0
  64. package/components/selects/DropdownHeader.js +2 -2
  65. package/components/selects/Multiselect.js +2 -2
  66. package/components/selects/MultiselectToggleFilter.js +1 -1
  67. package/components/states/CustomState.js +21 -8
  68. package/components/states/StateButton.d.ts +8 -1
  69. package/components/states/StateButton.js +5 -4
  70. package/hooks/useAfterMount.js +8 -4
  71. package/lib/.DS_Store +0 -0
  72. package/lib/es/.DS_Store +0 -0
  73. package/lib/es/DropdownHeader.d.ts +2 -0
  74. package/lib/es/DropdownHeader.js +7 -0
  75. package/lib/es/FeedbackInlineButtons.d.ts +2 -0
  76. package/lib/es/FeedbackInlineButtons.js +7 -0
  77. package/lib/es/FeedbackRating.d.ts +2 -0
  78. package/lib/es/FeedbackRating.js +7 -0
  79. package/lib/es/FeedbackReactions.d.ts +2 -0
  80. package/lib/es/FeedbackReactions.js +7 -0
  81. package/lib/es/MapAdditionalLayerSettings.d.ts +2 -0
  82. package/lib/es/MapAdditionalLayerSettings.js +7 -0
  83. package/lib/es/MapSettingsDropdownHeader.d.ts +2 -0
  84. package/lib/es/MapSettingsDropdownHeader.js +7 -0
  85. package/lib/es/SmoothScrollbars.d.ts +2 -0
  86. package/lib/es/SmoothScrollbars.js +7 -0
  87. package/lib/es/components/.DS_Store +0 -0
  88. package/lib/es/components/actionBarItem/ActionBarItemListItem.js +2 -2
  89. package/lib/es/components/assetTree/AssetTree.js +2 -1
  90. package/lib/es/components/assetTree/Tree.d.ts +4 -0
  91. package/lib/es/components/assetTree/Tree.js +2 -2
  92. package/lib/es/components/assetTree/TreeOptions.d.ts +1 -0
  93. package/lib/es/components/assetTree/TreeOptions.js +16 -2
  94. package/lib/es/components/assetTree/TreeSidebarCategories.js +1 -1
  95. package/lib/es/components/calendarStripe/CalendarStripe.js +1 -1
  96. package/lib/es/components/feedback/FeedbackInlineButtons.d.ts +13 -0
  97. package/lib/es/components/feedback/FeedbackInlineButtons.js +11 -0
  98. package/lib/es/components/feedback/FeedbackRating.d.ts +65 -0
  99. package/lib/es/components/feedback/FeedbackRating.js +25 -0
  100. package/lib/es/components/feedback/FeedbackReactions.d.ts +71 -0
  101. package/lib/es/components/feedback/FeedbackReactions.js +28 -0
  102. package/lib/es/components/listMenu/ListMenu.d.ts +5 -1
  103. package/lib/es/components/listMenu/ListMenu.js +2 -2
  104. package/lib/es/components/map/components/features/basics/Marker.js +1 -1
  105. package/lib/es/components/map/components/features/settings/MapSettingsItem.d.ts +1 -0
  106. package/lib/es/components/map/components/features/settings/MapSettingsItem.js +13 -10
  107. package/lib/es/components/map/components/features/settings/MapSettingsTile.d.ts +3 -2
  108. package/lib/es/components/map/components/features/settings/MapSettingsTile.js +39 -4
  109. package/lib/es/components/map/components/features/settings/builtinSettings/MapAdditionalLayerSettings.d.ts +9 -0
  110. package/lib/es/components/map/components/features/settings/builtinSettings/MapAdditionalLayerSettings.js +17 -0
  111. package/lib/es/components/map/components/features/settings/builtinSettings/MapClusterSettings.d.ts +3 -0
  112. package/lib/es/components/map/components/features/settings/builtinSettings/MapClusterSettings.js +8 -2
  113. package/lib/es/components/map/components/features/settings/builtinSettings/MapLayerSettings.js +14 -8
  114. package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.d.ts +6 -0
  115. package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +20 -2
  116. package/lib/es/components/map/components/features/settings/buttons/MapCenterMarkerButton.js +1 -1
  117. package/lib/es/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.d.ts +2 -0
  118. package/lib/es/components/map/components/features/settings/items/MapLayerIncidentsItem.d.ts +2 -0
  119. package/lib/es/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.d.ts +2 -0
  120. package/lib/es/components/map/components/features/settings/items/MapLayerTrafficItem.d.ts +2 -0
  121. package/lib/es/components/map/components/features/settings/items/MapSettingsDropdownHeader.d.ts +4 -0
  122. package/lib/es/components/map/components/features/settings/items/MapSettingsDropdownHeader.js +11 -0
  123. package/lib/es/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.d.ts +2 -0
  124. package/lib/es/components/map/icons/MapIcon.d.ts +1 -2
  125. package/lib/es/components/map/icons/MapIcon.js +3 -1
  126. package/lib/es/components/map/utils/mapTypes.d.ts +1 -1
  127. package/lib/es/components/map/utils/mapTypes.js +12 -4
  128. package/lib/es/components/mapMarker/ClusterMapMarker.d.ts +8 -0
  129. package/lib/es/components/mapMarker/ClusterMapMarker.js +5 -4
  130. package/lib/es/components/mapMarker/SingleMapMarker.d.ts +40 -5
  131. package/lib/es/components/mapMarker/SingleMapMarker.js +18 -5
  132. package/lib/es/components/selects/DropdownHeader.d.ts +1 -0
  133. package/lib/es/components/selects/DropdownHeader.js +2 -2
  134. package/lib/es/components/selects/Multiselect.js +1 -1
  135. package/lib/es/components/selects/MultiselectToggleFilter.js +1 -1
  136. package/lib/es/components/states/CustomState.js +20 -7
  137. package/lib/es/components/states/StateButton.d.ts +8 -1
  138. package/lib/es/components/states/StateButton.js +5 -4
  139. package/lib/es/hooks/useAfterMount.js +8 -4
  140. package/lib/es/styles/variables/colors/colors.json +8 -10
  141. package/lib/es/utils/deviceUtils.d.ts +1 -0
  142. package/lib/es/utils/deviceUtils.js +3 -1
  143. package/lib/es/version.json +1 -1
  144. package/package.json +30 -27
  145. package/styles/variables/colors/colors.json +8 -10
  146. package/utils/deviceUtils.d.ts +1 -0
  147. package/utils/deviceUtils.js +1 -0
  148. package/version.json +1 -1
  149. package/BrowserWarning.d.ts +0 -5
  150. package/BrowserWarning.js +0 -2
  151. package/DomMarker.d.ts +0 -5
  152. package/DomMarker.js +0 -2
  153. package/EnhancedMapEvent.d.ts +0 -11
  154. package/GroupSelectionUtil.d.ts +0 -2
  155. package/GroupSelectionUtil.js +0 -2
  156. package/IncidentsLayer.d.ts +0 -4
  157. package/IncidentsLayer.js +0 -2
  158. package/TrafficLayer.d.ts +0 -4
  159. package/TrafficLayer.js +0 -2
  160. package/TruckLayer.d.ts +0 -4
  161. package/TruckLayer.js +0 -2
  162. package/components/assetTree/excludeFromList.d.ts +0 -1
  163. package/components/assetTree/excludeFromList.js +0 -1
  164. package/components/browserWarning/BrowserIcons.d.ts +0 -2
  165. package/components/browserWarning/BrowserIcons.js +0 -5
  166. package/components/browserWarning/BrowserWarning.d.ts +0 -15
  167. package/components/browserWarning/BrowserWarning.js +0 -46
  168. package/components/browserWarning/BrowserWarningMessageDE.d.ts +0 -4
  169. package/components/browserWarning/BrowserWarningMessageDE.js +0 -6
  170. package/components/browserWarning/BrowserWarningMessageEN.d.ts +0 -4
  171. package/components/browserWarning/BrowserWarningMessageEN.js +0 -6
  172. package/components/carousel/CarouselCaption.d.ts +0 -13
  173. package/components/carousel/CarouselCaption.js +0 -18
  174. package/components/carousel/CarouselItem.d.ts +0 -36
  175. package/components/carousel/CarouselItem.js +0 -85
  176. package/components/dialog/baseDialogPropTypes.d.ts +0 -14
  177. package/components/dialog/baseDialogPropTypes.js +0 -13
  178. package/components/driverName/DriverName.d.ts +0 -18
  179. package/components/driverName/DriverName.js +0 -18
  180. package/components/dropdown/menuItemsPropTypes.d.ts +0 -9
  181. package/components/dropdown/menuItemsPropTypes.js +0 -8
  182. package/components/map/components/MapSettingContext.d.ts +0 -15
  183. package/components/map/components/MapSettingContext.js +0 -5
  184. package/components/map/components/context.d.ts +0 -2
  185. package/components/map/components/context.js +0 -3
  186. package/components/map/components/features/basics/MapLayerGroup.d.ts +0 -23
  187. package/components/map/components/features/basics/MapLayerGroup.js +0 -45
  188. package/components/map/components/features/basics/marker/DomMarker.d.ts +0 -33
  189. package/components/map/components/features/basics/marker/DomMarker.js +0 -55
  190. package/components/map/components/features/basics/marker/Marker.d.ts +0 -21
  191. package/components/map/components/features/basics/marker/Marker.js +0 -116
  192. package/components/map/components/features/basics/marker/TextMarker.d.ts +0 -17
  193. package/components/map/components/features/basics/marker/TextMarker.js +0 -28
  194. package/components/map/components/features/layers/IncidentsLayer.d.ts +0 -2
  195. package/components/map/components/features/layers/IncidentsLayer.js +0 -25
  196. package/components/map/components/features/layers/Layer.d.ts +0 -15
  197. package/components/map/components/features/layers/Layer.js +0 -23
  198. package/components/map/components/features/layers/RoadRestrictionLayer.d.ts +0 -2
  199. package/components/map/components/features/layers/RoadRestrictionLayer.js +0 -26
  200. package/components/map/components/features/layers/TrafficLayer.d.ts +0 -2
  201. package/components/map/components/features/layers/TrafficLayer.js +0 -39
  202. package/components/map/components/features/layers/baselayers/DefaultRasterLayer.d.ts +0 -2
  203. package/components/map/components/features/layers/baselayers/DefaultRasterLayer.js +0 -17
  204. package/components/map/components/features/layers/baselayers/DefaultVectorLayer.d.ts +0 -2
  205. package/components/map/components/features/layers/baselayers/DefaultVectorLayer.js +0 -14
  206. package/components/map/components/features/layers/baselayers/FleetStyleLayer.d.ts +0 -2
  207. package/components/map/components/features/layers/baselayers/FleetStyleLayer.js +0 -15
  208. package/components/map/components/features/layers/baselayers/NightLayer.d.ts +0 -2
  209. package/components/map/components/features/layers/baselayers/NightLayer.js +0 -14
  210. package/components/map/components/features/layers/baselayers/SatelliteLayer.d.ts +0 -2
  211. package/components/map/components/features/layers/baselayers/SatelliteLayer.js +0 -15
  212. package/components/map/components/features/layers/baselayers/TerrainLayer.d.ts +0 -2
  213. package/components/map/components/features/layers/baselayers/TerrainLayer.js +0 -15
  214. package/components/map/components/features/layers/baselayers/useBaseLayer.d.ts +0 -2
  215. package/components/map/components/features/layers/baselayers/useBaseLayer.js +0 -47
  216. package/components/map/components/mapUtils.d.ts +0 -50
  217. package/components/map/components/mapUtils.js +0 -148
  218. package/components/map/herePolyfill.d.ts +0 -0
  219. package/components/map/herePolyfill.js +0 -7
  220. package/components/map/utils/proptypes.d.ts +0 -47
  221. package/components/map/utils/proptypes.js +0 -50
  222. package/components/map/utils/validation.d.ts +0 -2
  223. package/components/map/utils/validation.js +0 -8
  224. package/components/mapMarker/MarkerColor.d.ts +0 -3
  225. package/components/mapMarker/MarkerColor.js +0 -12
  226. package/components/menuItems/getMenuItems.d.ts +0 -2
  227. package/components/menuItems/getMenuItems.js +0 -7
  228. package/components/selects/BaseDropdownMenu.d.ts +0 -83
  229. package/components/selects/BaseDropdownMenu.js +0 -255
  230. package/components/selects/WithFeedback.d.ts +0 -27
  231. package/components/selects/WithFeedback.js +0 -12
  232. package/components/states/baseStatePropTypes.d.ts +0 -26
  233. package/components/states/baseStatePropTypes.js +0 -26
  234. package/components/table/tableSettingsPropTypes.d.ts +0 -8
  235. package/components/table/tableSettingsPropTypes.js +0 -6
  236. package/lib/es/BrowserWarning.d.ts +0 -5
  237. package/lib/es/BrowserWarning.js +0 -6
  238. package/lib/es/DomMarker.d.ts +0 -5
  239. package/lib/es/DomMarker.js +0 -6
  240. package/lib/es/EnhancedMapEvent.d.ts +0 -11
  241. package/lib/es/GroupSelectionUtil.d.ts +0 -2
  242. package/lib/es/GroupSelectionUtil.js +0 -5
  243. package/lib/es/IncidentsLayer.d.ts +0 -4
  244. package/lib/es/IncidentsLayer.js +0 -6
  245. package/lib/es/TrafficLayer.d.ts +0 -4
  246. package/lib/es/TrafficLayer.js +0 -6
  247. package/lib/es/TruckLayer.d.ts +0 -4
  248. package/lib/es/TruckLayer.js +0 -6
  249. package/lib/es/components/assetTree/autoAnimateFrames.d.ts +0 -1
  250. package/lib/es/components/assetTree/autoAnimateFrames.js +0 -55
  251. package/lib/es/components/assetTree/excludeFromList.d.ts +0 -1
  252. package/lib/es/components/assetTree/excludeFromList.js +0 -5
  253. package/lib/es/components/browserWarning/BrowserIcons.d.ts +0 -2
  254. package/lib/es/components/browserWarning/BrowserIcons.js +0 -11
  255. package/lib/es/components/browserWarning/BrowserWarning.d.ts +0 -15
  256. package/lib/es/components/browserWarning/BrowserWarning.js +0 -49
  257. package/lib/es/components/browserWarning/BrowserWarningMessageDE.d.ts +0 -4
  258. package/lib/es/components/browserWarning/BrowserWarningMessageDE.js +0 -9
  259. package/lib/es/components/browserWarning/BrowserWarningMessageEN.d.ts +0 -4
  260. package/lib/es/components/browserWarning/BrowserWarningMessageEN.js +0 -9
  261. package/lib/es/components/carousel/CarouselCaption.d.ts +0 -13
  262. package/lib/es/components/carousel/CarouselCaption.js +0 -20
  263. package/lib/es/components/carousel/CarouselItem.d.ts +0 -36
  264. package/lib/es/components/carousel/CarouselItem.js +0 -87
  265. package/lib/es/components/charts/Sector.d.ts +0 -0
  266. package/lib/es/components/charts/Sector.js +0 -1
  267. package/lib/es/components/dialog/baseDialogPropTypes.d.ts +0 -14
  268. package/lib/es/components/dialog/baseDialogPropTypes.js +0 -16
  269. package/lib/es/components/driverName/DriverName.d.ts +0 -18
  270. package/lib/es/components/driverName/DriverName.js +0 -23
  271. package/lib/es/components/dropdown/menuItemsPropTypes.d.ts +0 -9
  272. package/lib/es/components/dropdown/menuItemsPropTypes.js +0 -11
  273. package/lib/es/components/map/components/MapSettingContext.d.ts +0 -15
  274. package/lib/es/components/map/components/MapSettingContext.js +0 -8
  275. package/lib/es/components/map/components/context.d.ts +0 -2
  276. package/lib/es/components/map/components/context.js +0 -6
  277. package/lib/es/components/map/components/features/basics/MapLayerGroup.d.ts +0 -23
  278. package/lib/es/components/map/components/features/basics/MapLayerGroup.js +0 -48
  279. package/lib/es/components/map/components/features/basics/marker/DomMarker.d.ts +0 -33
  280. package/lib/es/components/map/components/features/basics/marker/DomMarker.js +0 -58
  281. package/lib/es/components/map/components/features/basics/marker/Marker.d.ts +0 -21
  282. package/lib/es/components/map/components/features/basics/marker/Marker.js +0 -123
  283. package/lib/es/components/map/components/features/basics/marker/TextMarker.d.ts +0 -17
  284. package/lib/es/components/map/components/features/basics/marker/TextMarker.js +0 -31
  285. package/lib/es/components/map/components/features/layers/IncidentsLayer.d.ts +0 -2
  286. package/lib/es/components/map/components/features/layers/IncidentsLayer.js +0 -27
  287. package/lib/es/components/map/components/features/layers/Layer.d.ts +0 -15
  288. package/lib/es/components/map/components/features/layers/Layer.js +0 -26
  289. package/lib/es/components/map/components/features/layers/MapBaseLayer.d.ts +0 -8
  290. package/lib/es/components/map/components/features/layers/MapBaseLayer.js +0 -35
  291. package/lib/es/components/map/components/features/layers/RoadRestrictionLayer.d.ts +0 -2
  292. package/lib/es/components/map/components/features/layers/RoadRestrictionLayer.js +0 -28
  293. package/lib/es/components/map/components/features/layers/TrafficLayer.d.ts +0 -2
  294. package/lib/es/components/map/components/features/layers/TrafficLayer.js +0 -41
  295. package/lib/es/components/map/components/features/layers/baselayers/DefaultRasterLayer.d.ts +0 -4
  296. package/lib/es/components/map/components/features/layers/baselayers/DefaultRasterLayer.js +0 -36
  297. package/lib/es/components/map/components/features/layers/baselayers/DefaultVectorLayer.d.ts +0 -4
  298. package/lib/es/components/map/components/features/layers/baselayers/DefaultVectorLayer.js +0 -16
  299. package/lib/es/components/map/components/features/layers/baselayers/FleetStyleLayer.d.ts +0 -4
  300. package/lib/es/components/map/components/features/layers/baselayers/FleetStyleLayer.js +0 -17
  301. package/lib/es/components/map/components/features/layers/baselayers/NightLayer.d.ts +0 -4
  302. package/lib/es/components/map/components/features/layers/baselayers/NightLayer.js +0 -16
  303. package/lib/es/components/map/components/features/layers/baselayers/SatelliteLayer.d.ts +0 -4
  304. package/lib/es/components/map/components/features/layers/baselayers/SatelliteLayer.js +0 -34
  305. package/lib/es/components/map/components/features/layers/baselayers/TerrainLayer.d.ts +0 -4
  306. package/lib/es/components/map/components/features/layers/baselayers/TerrainLayer.js +0 -17
  307. package/lib/es/components/map/components/features/layers/baselayers/useBaseLayer.d.ts +0 -11
  308. package/lib/es/components/map/components/features/layers/baselayers/useBaseLayer.js +0 -76
  309. package/lib/es/components/map/components/mapUtils.d.ts +0 -50
  310. package/lib/es/components/map/components/mapUtils.js +0 -154
  311. package/lib/es/components/map/herePolyfill.d.ts +0 -0
  312. package/lib/es/components/map/herePolyfill.js +0 -7
  313. package/lib/es/components/map/utils/proptypes.d.ts +0 -47
  314. package/lib/es/components/map/utils/proptypes.js +0 -53
  315. package/lib/es/components/map/utils/validation.d.ts +0 -2
  316. package/lib/es/components/map/utils/validation.js +0 -14
  317. package/lib/es/components/mapMarker/MarkerColor.d.ts +0 -3
  318. package/lib/es/components/mapMarker/MarkerColor.js +0 -15
  319. package/lib/es/components/menuItems/getMenuItems.d.ts +0 -2
  320. package/lib/es/components/menuItems/getMenuItems.js +0 -10
  321. package/lib/es/components/selects/BaseDropdownMenu.d.ts +0 -83
  322. package/lib/es/components/selects/BaseDropdownMenu.js +0 -260
  323. package/lib/es/components/selects/WithFeedback.d.ts +0 -27
  324. package/lib/es/components/selects/WithFeedback.js +0 -15
  325. package/lib/es/components/states/baseStatePropTypes.d.ts +0 -26
  326. package/lib/es/components/states/baseStatePropTypes.js +0 -30
  327. package/lib/es/components/table/tableSettingsPropTypes.d.ts +0 -8
  328. package/lib/es/components/table/tableSettingsPropTypes.js +0 -10
  329. package/lib/es/mapIndex.d.ts +0 -38
  330. package/lib/es/mapIndex.js +0 -77
  331. package/lib/es/styles/variables/colors.json +0 -74
  332. package/lib/es/themes/Volkswagen/components/applicationHeader/modulePropTypes.d.ts +0 -6
  333. package/lib/es/themes/Volkswagen/components/applicationHeader/modulePropTypes.js +0 -8
  334. package/lib/es/types.d.ts +0 -71
  335. package/lib/es/types.js +0 -2
  336. package/lib/es/utils/GroupSelectionUtil.d.ts +0 -1
  337. package/lib/es/utils/GroupSelectionUtil.js +0 -85
  338. package/lib/es/utils/addEventListener.d.ts +0 -3
  339. package/lib/es/utils/addEventListener.js +0 -17
  340. package/lib/es/utils/addFocusListener.d.ts +0 -3
  341. package/lib/es/utils/addFocusListener.js +0 -24
  342. package/lib/es/utils/getOffsetTopWholeScreen.d.ts +0 -1
  343. package/lib/es/utils/getOffsetTopWholeScreen.js +0 -9
  344. package/lib/es/utils/init.d.ts +0 -2
  345. package/lib/es/utils/init.js +0 -121
  346. package/lib/es/utils/logPropError.d.ts +0 -3
  347. package/lib/es/utils/logPropError.js +0 -28
  348. package/lib/es/utils/ownerDocument.d.ts +0 -1
  349. package/lib/es/utils/ownerDocument.js +0 -12
  350. package/mapIndex.d.ts +0 -38
  351. package/mapIndex.js +0 -42
  352. package/styles/variables/colors.json +0 -74
  353. package/themes/Volkswagen/components/applicationHeader/modulePropTypes.d.ts +0 -6
  354. package/themes/Volkswagen/components/applicationHeader/modulePropTypes.js +0 -5
  355. package/types.d.ts +0 -71
  356. package/types.js +0 -1
  357. package/utils/GroupSelectionUtil.d.ts +0 -1
  358. package/utils/GroupSelectionUtil.js +0 -80
  359. package/utils/addEventListener.d.ts +0 -3
  360. package/utils/addEventListener.js +0 -13
  361. package/utils/addFocusListener.d.ts +0 -3
  362. package/utils/addFocusListener.js +0 -21
  363. package/utils/getOffsetTopWholeScreen.d.ts +0 -1
  364. package/utils/getOffsetTopWholeScreen.js +0 -6
  365. package/utils/init.d.ts +0 -2
  366. package/utils/init.js +0 -117
  367. package/utils/logPropError.d.ts +0 -3
  368. package/utils/logPropError.js +0 -23
  369. package/utils/ownerDocument.d.ts +0 -1
  370. package/utils/ownerDocument.js +0 -8
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FirefoxIcon = exports.ChromeIcon = void 0;
4
- const tslib_1 = require("tslib");
5
- const jsx_runtime_1 = require("react/jsx-runtime");
6
- /* eslint-disable max-len */
7
- const react_1 = tslib_1.__importDefault(require("react"));
8
- const ChromeIcon = () => ((0, jsx_runtime_1.jsxs)("svg", Object.assign({ xmlns: 'http://www.w3.org/2000/svg', xmlnsXlink: 'http://www.w3.org/1999/xlink', width: '100', height: '138' }, { children: [(0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("path", { id: 'a', d: 'M61.815 19.373a31.29 31.29 0 0 1 2.537 12.378c0 17.536-14.406 31.751-32.176 31.751-.6 0-1.196-.016-1.788-.048l13.011-22.296a14.36 14.36 0 0 0 3.502-9.407c0-5.233-2.804-9.82-7.009-12.378zm-56.638-4.9l13.587 23.284c2.316 5.028 7.45 8.524 13.412 8.524 2.384 0 4.635-.559 6.627-1.55l-10.8 18.507C12.202 61.218 0 47.89 0 31.75a31.302 31.302 0 0 1 5.177-17.279zm26.999 5.977c6.325 0 11.453 5.06 11.453 11.301 0 6.242-5.128 11.301-11.453 11.301-6.325 0-11.452-5.06-11.452-11.3 0-6.242 5.127-11.302 11.452-11.302zm0-20.45C44.64 0 55.449 6.993 60.792 17.22l-29.161.001v.01c-7.7.276-13.892 6.388-14.17 13.987L6.56 12.535C12.437 4.917 21.725 0 32.176 0z' }) }), (0, jsx_runtime_1.jsxs)("g", Object.assign({ fill: 'none', fillRule: 'evenodd', transform: 'translate(18 20)' }, { children: [(0, jsx_runtime_1.jsx)("path", { fill: '#555', fillRule: 'nonzero', d: 'M8.962 95.186c1.436 0 2.569-.389 3.397-1.167.828-.778 1.316-1.867 1.463-3.268h-1.495a4.202 4.202 0 0 1-.283 1.277 2.974 2.974 0 0 1-1.644 1.688c-.382.16-.82.241-1.312.241-.672 0-1.248-.124-1.73-.373A3.37 3.37 0 0 1 6.17 92.58a4.278 4.278 0 0 1-.684-1.478 7.128 7.128 0 0 1-.22-1.798c0-.58.073-1.14.22-1.68.147-.54.375-1.02.684-1.44a3.39 3.39 0 0 1 1.18-1.004c.477-.249 1.05-.373 1.722-.373.786 0 1.465.197 2.037.591.571.395.94.986 1.108 1.774h1.495a4.105 4.105 0 0 0-.535-1.564 3.862 3.862 0 0 0-1.023-1.128 4.5 4.5 0 0 0-1.4-.685 5.83 5.83 0 0 0-1.666-.233c-.86 0-1.623.153-2.289.46a4.724 4.724 0 0 0-1.667 1.252 5.476 5.476 0 0 0-1.014 1.86 7.34 7.34 0 0 0-.346 2.28c0 .808.107 1.566.322 2.271.215.706.537 1.318.967 1.836.43.52.97.926 1.62 1.222.65.296 1.41.443 2.28.443zm7.832-.249v-4.543c0-.364.05-.698.15-1.004.1-.306.249-.573.448-.802.2-.228.448-.404.747-.529.299-.124.653-.186 1.062-.186.513 0 .917.145 1.21.435.294.29.441.685.441 1.183v5.447h1.337v-5.291c0-.436-.045-.833-.134-1.19a2.245 2.245 0 0 0-.464-.927 2.198 2.198 0 0 0-.865-.607c-.356-.145-.802-.218-1.337-.218-.24 0-.49.026-.747.078a3.329 3.329 0 0 0-.739.241 2.505 2.505 0 0 0-.637.42 1.76 1.76 0 0 0-.44.63h-.032v-4.247h-1.337v11.11h1.337zm8.698 0v-3.579c0-.518.052-.977.157-1.377.105-.4.273-.739.503-1.02.23-.28.535-.492.912-.637.378-.145.834-.218 1.369-.218v-1.4c-.724-.021-1.321.124-1.793.435s-.87.794-1.196 1.447h-.031v-1.696h-1.258v8.046h1.337zm7.172.172c.65 0 1.218-.107 1.706-.32.488-.212.9-.508 1.235-.886.335-.379.587-.823.755-1.33a5.233 5.233 0 0 0 .251-1.65c0-.592-.084-1.144-.251-1.658a3.744 3.744 0 0 0-.755-1.338 3.572 3.572 0 0 0-1.235-.895c-.488-.218-1.056-.327-1.706-.327-.64 0-1.206.11-1.699.327a3.555 3.555 0 0 0-1.243.895 3.744 3.744 0 0 0-.754 1.338 5.306 5.306 0 0 0-.252 1.658c0 .591.084 1.14.252 1.65.167.507.419.951.754 1.33.336.378.75.674 1.243.887.493.212 1.059.319 1.699.319zm0-1.152c-.346 0-.674-.067-.983-.202-.31-.135-.58-.33-.81-.584a2.711 2.711 0 0 1-.543-.949 3.964 3.964 0 0 1-.197-1.3c0-.487.066-.92.197-1.299.131-.378.312-.697.543-.957.23-.26.5-.456.81-.591.309-.135.637-.202.983-.202s.673.067.983.202c.309.135.579.332.81.591.23.26.411.579.542.957.131.379.197.812.197 1.3 0 .487-.066.92-.197 1.299a2.711 2.711 0 0 1-.542.95c-.231.253-.501.448-.81.583-.31.135-.637.202-.983.202zm6.857.98v-5.01c0-.156.04-.35.118-.584a2.24 2.24 0 0 1 1.054-1.237c.277-.156.61-.233.998-.233.304 0 .553.044.747.132.194.088.35.213.464.373.116.161.197.35.244.568.047.218.07.457.07.716v5.275h1.338v-5.01c0-.623.189-1.12.566-1.494.377-.374.897-.56 1.557-.56.325 0 .59.046.794.14.205.093.365.22.48.38.115.162.194.351.236.569.042.218.063.451.063.7v5.275h1.337V89.04c0-.415-.066-.77-.197-1.066a1.872 1.872 0 0 0-.55-.724 2.31 2.31 0 0 0-.85-.412 4.3 4.3 0 0 0-1.108-.133c-.535 0-1.025.12-1.471.358a2.826 2.826 0 0 0-1.077 1.012c-.168-.498-.456-.85-.865-1.058a2.98 2.98 0 0 0-1.369-.312c-1.143 0-2.018.457-2.626 1.37h-.032v-1.183h-1.258v8.046h1.337zm15.539.172c.923 0 1.688-.229 2.296-.685.608-.456 1.002-1.136 1.18-2.039h-1.321c-.116.53-.354.924-.716 1.183-.362.26-.826.39-1.392.39-.44 0-.823-.073-1.148-.219a2.249 2.249 0 0 1-.802-.583 2.266 2.266 0 0 1-.456-.84 3.162 3.162 0 0 1-.126-1.004h6.087a6.34 6.34 0 0 0-.134-1.54 4.432 4.432 0 0 0-.598-1.495 3.543 3.543 0 0 0-1.148-1.128c-.477-.296-1.077-.444-1.8-.444-.556 0-1.068.104-1.534.312-.467.207-.87.498-1.211.871-.34.374-.606.815-.794 1.323a4.795 4.795 0 0 0-.283 1.68c.02.613.112 1.178.275 1.697.162.518.406.965.731 1.338.325.373.726.664 1.203.871.477.208 1.04.312 1.691.312zm2.186-4.964h-4.671a2.73 2.73 0 0 1 .204-.88c.116-.275.273-.516.472-.723.2-.208.438-.371.716-.49.278-.12.59-.18.936-.18a2.308 2.308 0 0 1 1.643.662c.205.202.367.443.488.724.12.28.191.575.212.887z' }), (0, jsx_runtime_1.jsx)("mask", Object.assign({ id: 'b', fill: '#fff' }, { children: (0, jsx_runtime_1.jsx)("use", { xlinkHref: '#a' }) })), (0, jsx_runtime_1.jsx)("use", { fill: '#56AFEF', xlinkHref: '#a' }), (0, jsx_runtime_1.jsx)("path", { fill: '#FA6758', mask: 'url(#b)', d: 'M4.847 9.575l12.885 24.513 1.69-7.141 4.728-5.935 8.179-2.137 8.312-.468 30.519-.416L39.496-3.862 17.686.058z' }), (0, jsx_runtime_1.jsx)("path", { fill: '#F5D923', mask: 'url(#b)', d: 'M37.006 18.316l4.94 5.004 3.177 5.005v4.204l-2.375 6.465-13.905 25.851 7.369.399 15.999-5.327 11.28-13.79 3.778-13.859-1.621-10.862-2.032-2.874z' }), (0, jsx_runtime_1.jsx)("path", { fill: '#6CE84E', mask: 'url(#b)', d: 'M5.003 12.634l5.539 9.194 8.038 12.068 4.051 6.664 3.513 2.606 4.533 1.269 6.155-.139 3.529-1.407L27.796 65.55 5.712 57.086l-9.183-19.785 1.013-14.866z' })] }))] })));
9
- exports.ChromeIcon = ChromeIcon;
10
- const FirefoxIcon = () => ((0, jsx_runtime_1.jsx)("svg", Object.assign({ xmlns: 'http://www.w3.org/2000/svg', width: '100', height: '138' }, { children: (0, jsx_runtime_1.jsxs)("g", Object.assign({ fill: 'none', fillRule: 'evenodd' }, { children: [(0, jsx_runtime_1.jsx)("path", { fill: '#555', fillRule: 'nonzero', d: 'M28.908 114.938v-5.09h5.116v-1.244h-5.116v-3.532h5.834v-1.245h-7.316v11.11h1.482zm8.657-9.493v-1.618h-1.326v1.618h1.326zm0 9.493v-8.046h-1.326v8.046h1.326zm3.338 0v-3.58c0-.518.052-.977.156-1.377.104-.4.27-.739.5-1.02.228-.28.53-.492.904-.637.374-.145.827-.218 1.357-.218v-1.4c-.718-.021-1.31.124-1.778.435-.468.311-.863.794-1.186 1.447h-.031v-1.696h-1.248v8.046h1.326zm7.066.17c.915 0 1.674-.228 2.277-.684.604-.456.994-1.136 1.17-2.039h-1.31c-.114.53-.35.924-.71 1.183-.358.26-.819.39-1.38.39-.437 0-.816-.073-1.139-.219a2.231 2.231 0 0 1-.795-.583 2.272 2.272 0 0 1-.453-.84 3.186 3.186 0 0 1-.124-1.004h6.036a6.39 6.39 0 0 0-.132-1.54 4.454 4.454 0 0 0-.593-1.495 3.528 3.528 0 0 0-1.139-1.128c-.473-.296-1.068-.444-1.786-.444-.551 0-1.058.104-1.52.312a3.574 3.574 0 0 0-1.202.871c-.338.374-.6.815-.788 1.323a4.83 4.83 0 0 0-.28 1.68c.02.613.111 1.178.273 1.697a3.7 3.7 0 0 0 .725 1.338c.322.373.72.664 1.193.871.473.208 1.032.312 1.677.312zm2.168-4.963h-4.632a2.75 2.75 0 0 1 .202-.88c.115-.275.27-.516.468-.723.198-.208.434-.371.71-.49.276-.12.585-.18.928-.18a2.273 2.273 0 0 1 1.63.662c.203.202.364.443.484.724.12.28.19.575.21.887zm4.649 4.793v-6.879h1.56v-1.167h-1.56v-1.12c0-.353.088-.592.265-.716.177-.125.426-.187.748-.187.115 0 .24.008.375.024.135.015.26.044.374.085v-1.151a2.292 2.292 0 0 0-.429-.094 3.403 3.403 0 0 0-.429-.03c-.728 0-1.281.168-1.66.505-.38.337-.57.832-.57 1.486v1.198h-1.357v1.167h1.357v6.879h1.326zm6.223.17c.645 0 1.21-.106 1.693-.318a3.46 3.46 0 0 0 1.224-.887c.333-.379.583-.823.749-1.33.166-.51.25-1.059.25-1.65 0-.592-.084-1.144-.25-1.658a3.753 3.753 0 0 0-.749-1.338 3.544 3.544 0 0 0-1.224-.895c-.484-.218-1.048-.327-1.693-.327-.634 0-1.196.11-1.684.327-.489.218-.9.516-1.233.895a3.753 3.753 0 0 0-.748 1.338 5.347 5.347 0 0 0-.25 1.658c0 .591.083 1.14.25 1.65.166.507.416.951.748 1.33.333.378.744.674 1.233.887.488.212 1.05.319 1.684.319zm0-1.15c-.343 0-.668-.068-.975-.203a2.335 2.335 0 0 1-.803-.584 2.717 2.717 0 0 1-.538-.949 3.994 3.994 0 0 1-.195-1.3c0-.487.065-.92.195-1.299.13-.378.31-.697.538-.957.229-.26.497-.456.803-.591.307-.135.632-.202.975-.202.344 0 .668.067.975.202.307.135.575.332.804.591.228.26.408.579.538.957.13.379.195.812.195 1.3 0 .487-.065.92-.195 1.299-.13.379-.31.695-.538.95a2.335 2.335 0 0 1-.804.583 2.396 2.396 0 0 1-.975.202zm6.224.98l2.246-3.33 2.246 3.33h1.7l-3.119-4.342 2.777-3.704H71.49l-2.012 2.817-1.934-2.817h-1.7l2.808 3.813-3.027 4.233h1.607z' }), (0, jsx_runtime_1.jsxs)("g", Object.assign({ fill: '#F5A623' }, { children: [(0, jsx_runtime_1.jsx)("path", { d: 'M49.376 20c17.88 0 32.375 14.215 32.375 31.751S67.256 83.502 49.376 83.502C31.495 83.502 17 69.287 17 51.752 17 34.214 31.495 20 49.376 20zm.076 2.153c-12.338 0-22.954 7.21-27.675 17.552-1.68 3.68-.581 7.757-.581 12.046 0 16.347 12.368 26.07 29.096 26.07s25.971-9.723 25.971-26.07c0-10.034-3.7-17.942-11.119-23.295-.517-.373.57-1.688 0-2.026-4.576-2.715-9.947-4.277-15.692-4.277z' }), (0, jsx_runtime_1.jsx)("path", { d: 'M22.869 26.675l4.353 6.161 7.467.665 7.238-4.07-2.279 4.735s1.109 1.6 1.109 3.106h7.209s1.448.93.2 2.371c-1.248 1.442-6.374 5.347-6.374 5.347l-.035 4.14-4.727.1s-.144 5.626 3.654 6.663c3.797 1.038 8.788-1.498 8.788-1.498s3.813-.577 5.261 1.103 1.286 2.21-.564 2.813c-1.85.604-6.022 4.097-9.217 4.097-3.195 0-4.199-.134-4.199-.134s1.302 1.964 3.956 2.802c2.654.837 14.941 3.831 21.067-6.86 1.25-2.718 1.215-7.868 1.215-7.868l2.619 1.737s1.71-6.64 0-10.727l2.074-.277s-3.62-7.605-11.955-9.627l4.824-1.26s-3.256-3.03-8.467-3.998l9.163.235 9.602 8.859 4.087 12.86-1.375 12.99-6.327 10.396-8.14 6.695-10.347 2.867-16.34-2.198L21.61 65.64l-2.95-20.058 2.344-8.663 1.864-10.244z' })] }))] })) })));
11
- exports.FirefoxIcon = FirefoxIcon;
@@ -1,15 +0,0 @@
1
- export default BrowserWarning;
2
- declare function BrowserWarning(props: any): import("react/jsx-runtime").JSX.Element;
3
- declare namespace BrowserWarning {
4
- namespace defaultProps {
5
- function onClose(): void;
6
- function onBrowserSelect(): void;
7
- }
8
- namespace propTypes {
9
- const onClose_1: PropTypes.Requireable<(...args: any[]) => any>;
10
- export { onClose_1 as onClose };
11
- const onBrowserSelect_1: PropTypes.Requireable<(...args: any[]) => any>;
12
- export { onBrowserSelect_1 as onBrowserSelect };
13
- }
14
- }
15
- import PropTypes from "prop-types";
@@ -1,49 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- const react_1 = tslib_1.__importStar(require("react"));
6
- const prop_types_1 = tslib_1.__importDefault(require("prop-types"));
7
- const Dialog_1 = tslib_1.__importDefault(require("../dialog/Dialog"));
8
- const BrowserWarningMessageDE_1 = tslib_1.__importDefault(require("./BrowserWarningMessageDE"));
9
- const BrowserWarningMessageEN_1 = tslib_1.__importDefault(require("./BrowserWarningMessageEN"));
10
- const UNSUPPORTED_BROWSER_TAG = 'ua-ie';
11
- const getLanguage = () => {
12
- if (window) {
13
- return window.navigator.language.toLowerCase();
14
- }
15
- return '';
16
- };
17
- const BrowserWarning = props => {
18
- const { show, onClose, onBrowserSelect } = props;
19
- const [showWarning, setShowWarning] = (0, react_1.useState)(show);
20
- const handleClose = () => {
21
- setShowWarning(false);
22
- onClose(false);
23
- };
24
- // Force to show the dialog from outside
25
- (0, react_1.useEffect)(() => setShowWarning(show), [show]);
26
- // check HTML tag for browsers only on mount
27
- (0, react_1.useEffect)(() => {
28
- if (document &&
29
- document.documentElement &&
30
- document.documentElement.classList.contains(UNSUPPORTED_BROWSER_TAG)) {
31
- setShowWarning(true);
32
- }
33
- }, []);
34
- const lang = getLanguage();
35
- const isDE = lang.startsWith('de');
36
- const body = isDE ? ((0, jsx_runtime_1.jsx)(BrowserWarningMessageDE_1.default, { onBrowserSelect: onBrowserSelect })) : ((0, jsx_runtime_1.jsx)(BrowserWarningMessageEN_1.default, { onBrowserSelect: onBrowserSelect }));
37
- const footerText = isDE ? 'Weiter im IE11' : 'Continue with IE11';
38
- const footer = ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: 'display-flex justify-content-end' }, { children: (0, jsx_runtime_1.jsx)("button", Object.assign({ type: 'button', className: 'btn btn-link', onClick: handleClose }, { children: footerText })) })));
39
- return (0, jsx_runtime_1.jsx)(Dialog_1.default, { show: showWarning, className: 'backdrop-blured', body: body, footer: footer, onHide: handleClose });
40
- };
41
- BrowserWarning.defaultProps = {
42
- onClose: () => { },
43
- onBrowserSelect: () => { },
44
- };
45
- BrowserWarning.propTypes = {
46
- onClose: prop_types_1.default.func,
47
- onBrowserSelect: prop_types_1.default.func,
48
- };
49
- exports.default = BrowserWarning;
@@ -1,4 +0,0 @@
1
- export default BrowserWarningMessageDE;
2
- declare function BrowserWarningMessageDE({ onBrowserSelect }: {
3
- onBrowserSelect: any;
4
- }): import("react/jsx-runtime").JSX.Element;
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- const react_1 = tslib_1.__importDefault(require("react"));
6
- const BrowserIcons_1 = require("./BrowserIcons");
7
- const BrowserWarningMessageDE = ({ onBrowserSelect }) => ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({ className: 'text-center padding-right-1pct padding-left-1pct' }, { children: [(0, jsx_runtime_1.jsx)("h1", Object.assign({ className: 'margin-bottom-25 padding-top-25' }, { children: "Sie nutzen einen veralteten Browser" })), (0, jsx_runtime_1.jsxs)("p", Object.assign({ className: 'text-size-18 margin-bottom-25' }, { children: ['Der ', (0, jsx_runtime_1.jsx)("b", { children: "Internet Explorer" }), ' ist mit seinen knapp 7 Jahren nun langsam ins hohe Alter gekommen und kann ', 'in Sachen ', (0, jsx_runtime_1.jsx)("b", { children: "Schnelligkeit" }), ', ', (0, jsx_runtime_1.jsx)("b", { children: "Features" }), ' aber vor allem in Punkto ', (0, jsx_runtime_1.jsx)("b", { children: "Sicherheit" }), ", nicht mehr mit modernen Browsern mithalten."] })), (0, jsx_runtime_1.jsxs)("p", Object.assign({ className: 'text-size-18 margin-bottom-25' }, { children: ['Wir bei RIO haben uns das Ziel gesetzt, Ihnen die ', (0, jsx_runtime_1.jsx)("b", { children: "bestm\u00F6gliche Software" }), ' bereitzustellen um Ihnen ein ', (0, jsx_runtime_1.jsx)("b", { children: "optimales Nutzungserlebnis" }), ' zu bieten. Daher haben wir uns dazu entschlossen den Support für ', "den IE11 einzustellen."] })), (0, jsx_runtime_1.jsx)("p", Object.assign({ className: 'text-size-18' }, { children: (0, jsx_runtime_1.jsx)("b", { children: "Erleben Sie RIO von einer ganz neuen Seite, z.B. mit einem der folgenden Browser:" }) }))] })), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `display-flex justify-content-center justify-content-around flex-wrap
8
- padding-right-2pct-ls padding-left-2pct-ls` }, { children: [(0, jsx_runtime_1.jsx)("a", Object.assign({ href: 'https://www.google.com/chrome/', target: '_blank', rel: 'noopener noreferrer', className: 'display-block hover-scale-110', onClick: () => onBrowserSelect('chrome') }, { children: (0, jsx_runtime_1.jsx)(BrowserIcons_1.ChromeIcon, {}) })), (0, jsx_runtime_1.jsx)("a", Object.assign({ href: 'https://www.mozilla.org/firefox/new/', target: '_blank', rel: 'noopener noreferrer', className: 'display-block hover-scale-110', onClick: () => onBrowserSelect('firefox') }, { children: (0, jsx_runtime_1.jsx)(BrowserIcons_1.FirefoxIcon, {}) }))] }))] }));
9
- exports.default = BrowserWarningMessageDE;
@@ -1,4 +0,0 @@
1
- export default BrowserWarningMessageEN;
2
- declare function BrowserWarningMessageEN({ onBrowserSelect }: {
3
- onBrowserSelect: any;
4
- }): import("react/jsx-runtime").JSX.Element;
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- const react_1 = tslib_1.__importDefault(require("react"));
6
- const BrowserIcons_1 = require("./BrowserIcons");
7
- const BrowserWarningMessageEN = ({ onBrowserSelect }) => ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({ className: 'text-center padding-right-1pct padding-left-1pct' }, { children: [(0, jsx_runtime_1.jsx)("h1", Object.assign({ className: 'margin-bottom-25 padding-top-25' }, { children: "You are using an outdated browser" })), (0, jsx_runtime_1.jsxs)("p", Object.assign({ className: 'text-size-18 margin-bottom-25' }, { children: ['With just under 7 years the ', (0, jsx_runtime_1.jsx)("b", { children: "Internet Explorer" }), ' is slowly getting old and can no longer keep up with modern browsers in terms of ', (0, jsx_runtime_1.jsx)("b", { children: "speed" }), ', ', (0, jsx_runtime_1.jsx)("b", { children: "functionality" }), ' but above all in terms of ', (0, jsx_runtime_1.jsx)("b", { children: "security" }), "."] })), (0, jsx_runtime_1.jsxs)("p", Object.assign({ className: 'text-size-18 margin-bottom-25' }, { children: ['We at RIO, have set ourselves the goal of providing you with the ', (0, jsx_runtime_1.jsx)("b", { children: "best possible software" }), ' to offer you the ', (0, jsx_runtime_1.jsx)("b", { children: "best possible user experience" }), ". Therefore, we have decided to end the support for the IE11."] })), (0, jsx_runtime_1.jsx)("p", Object.assign({ className: 'text-size-18' }, { children: (0, jsx_runtime_1.jsx)("b", { children: "Experience RIO from a whole new side with a modern browser:" }) }))] })), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `display-flex justify-content-center justify-content-around flex-wrap
8
- padding-right-2pct-ls padding-left-2pct-ls` }, { children: [(0, jsx_runtime_1.jsx)("a", Object.assign({ href: 'https://www.google.com/chrome/', target: '_blank', rel: 'noopener noreferrer', className: 'display-block hover-scale-110', onClick: () => onBrowserSelect('chrome') }, { children: (0, jsx_runtime_1.jsx)(BrowserIcons_1.ChromeIcon, {}) })), (0, jsx_runtime_1.jsx)("a", Object.assign({ href: 'https://www.mozilla.org/firefox/new/', target: '_blank', rel: 'noopener noreferrer', className: 'display-block hover-scale-110', onClick: () => onBrowserSelect('firefox') }, { children: (0, jsx_runtime_1.jsx)(BrowserIcons_1.FirefoxIcon, {}) }))] }))] }));
9
- exports.default = BrowserWarningMessageEN;
@@ -1,13 +0,0 @@
1
- export default CarouselCaption;
2
- declare class CarouselCaption extends React.Component<any, any, any> {
3
- constructor(props: any);
4
- constructor(props: any, context: any);
5
- render(): import("react/jsx-runtime").JSX.Element;
6
- }
7
- declare namespace CarouselCaption {
8
- namespace defaultProps {
9
- const componentClass: string;
10
- }
11
- const propTypes: {};
12
- }
13
- import React from "react";
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- // https://github.com/react-bootstrap/react-bootstrap/blob/v0.32.0/src/CarouselCaption.js
6
- const classnames_1 = tslib_1.__importDefault(require("classnames"));
7
- const react_1 = tslib_1.__importDefault(require("react"));
8
- class CarouselCaption extends react_1.default.Component {
9
- render() {
10
- const _a = this.props, { componentClass: Component, className } = _a, remainingProps = tslib_1.__rest(_a, ["componentClass", "className"]);
11
- return (0, jsx_runtime_1.jsx)(Component, Object.assign({}, remainingProps, { className: (0, classnames_1.default)('carousel-caption', className) }));
12
- }
13
- }
14
- CarouselCaption.defaultProps = {
15
- componentClass: 'div',
16
- };
17
- CarouselCaption.propTypes = {
18
- // componentClass: elementType,
19
- };
20
- exports.default = CarouselCaption;
@@ -1,36 +0,0 @@
1
- export default CarouselItem;
2
- declare class CarouselItem extends React.Component<any, any, any> {
3
- constructor(props: any, context: any);
4
- handleAnimateOutEnd(): void;
5
- state: {
6
- direction: null;
7
- };
8
- isUnmounted: boolean;
9
- UNSAFE_componentWillReceiveProps(nextProps: any): void;
10
- componentDidUpdate(prevProps: any): void;
11
- componentWillUnmount(): void;
12
- startAnimation(): void;
13
- render(): import("react/jsx-runtime").JSX.Element;
14
- }
15
- declare namespace CarouselItem {
16
- export { propTypes };
17
- export { defaultProps };
18
- }
19
- import React from "react";
20
- declare namespace propTypes {
21
- const direction: PropTypes.Requireable<string>;
22
- const onAnimateOutEnd: PropTypes.Requireable<(...args: any[]) => any>;
23
- const active: PropTypes.Requireable<boolean>;
24
- const animateIn: PropTypes.Requireable<boolean>;
25
- const animateOut: PropTypes.Requireable<boolean>;
26
- const index: PropTypes.Requireable<number>;
27
- }
28
- declare namespace defaultProps {
29
- const active_1: boolean;
30
- export { active_1 as active };
31
- const animateIn_1: boolean;
32
- export { animateIn_1 as animateIn };
33
- const animateOut_1: boolean;
34
- export { animateOut_1 as animateOut };
35
- }
36
- import PropTypes from "prop-types";
@@ -1,87 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- // https://github.com/react-bootstrap/react-bootstrap/blob/v0.32.0/src/CarouselItem.js
6
- const classnames_1 = tslib_1.__importDefault(require("classnames"));
7
- const react_1 = tslib_1.__importDefault(require("react"));
8
- const prop_types_1 = tslib_1.__importDefault(require("prop-types"));
9
- const react_dom_1 = tslib_1.__importDefault(require("react-dom"));
10
- const transitionEnd_1 = tslib_1.__importDefault(require("dom-helpers/transitionEnd"));
11
- const propTypes = {
12
- direction: prop_types_1.default.oneOf(['prev', 'next']),
13
- onAnimateOutEnd: prop_types_1.default.func,
14
- active: prop_types_1.default.bool,
15
- animateIn: prop_types_1.default.bool,
16
- animateOut: prop_types_1.default.bool,
17
- index: prop_types_1.default.number,
18
- };
19
- const defaultProps = {
20
- active: false,
21
- animateIn: false,
22
- animateOut: false,
23
- };
24
- class CarouselItem extends react_1.default.Component {
25
- constructor(props, context) {
26
- super(props, context);
27
- this.handleAnimateOutEnd = this.handleAnimateOutEnd.bind(this);
28
- this.state = {
29
- direction: null,
30
- };
31
- this.isUnmounted = false;
32
- }
33
- // eslint-disable-next-line camelcase
34
- UNSAFE_componentWillReceiveProps(nextProps) {
35
- if (this.props.active !== nextProps.active) {
36
- this.setState({ direction: null });
37
- }
38
- }
39
- componentDidUpdate(prevProps) {
40
- const { active } = this.props;
41
- const prevActive = prevProps.active;
42
- if (!active && prevActive) {
43
- (0, transitionEnd_1.default)(react_dom_1.default.findDOMNode(this), this.handleAnimateOutEnd);
44
- }
45
- if (active !== prevActive) {
46
- setTimeout(() => this.startAnimation(), 20);
47
- }
48
- }
49
- componentWillUnmount() {
50
- this.isUnmounted = true;
51
- }
52
- handleAnimateOutEnd() {
53
- if (this.isUnmounted) {
54
- return;
55
- }
56
- if (this.props.onAnimateOutEnd) {
57
- this.props.onAnimateOutEnd(this.props.index);
58
- }
59
- }
60
- startAnimation() {
61
- if (this.isUnmounted) {
62
- return;
63
- }
64
- this.setState({
65
- direction: this.props.direction === 'prev' ? 'right' : 'left',
66
- });
67
- }
68
- render() {
69
- const _a = this.props, { direction, active, animateIn, animateOut, className } = _a, props = tslib_1.__rest(_a, ["direction", "active", "animateIn", "animateOut", "className"]);
70
- delete props.onAnimateOutEnd;
71
- delete props.index;
72
- const classes = {
73
- item: true,
74
- active: (active && !animateIn) || animateOut,
75
- };
76
- if (direction && active && animateIn) {
77
- classes[direction] = true;
78
- }
79
- if (this.state.direction && (animateIn || animateOut)) {
80
- classes[this.state.direction] = true;
81
- }
82
- return (0, jsx_runtime_1.jsx)("div", Object.assign({}, props, { className: (0, classnames_1.default)(className, classes) }));
83
- }
84
- }
85
- CarouselItem.propTypes = propTypes;
86
- CarouselItem.defaultProps = defaultProps;
87
- exports.default = CarouselItem;
File without changes
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,14 +0,0 @@
1
- declare namespace _default {
2
- const show: PropTypes.Validator<boolean>;
3
- const title: PropTypes.Requireable<PropTypes.ReactNodeLike>;
4
- const subtitle: PropTypes.Requireable<PropTypes.ReactNodeLike>;
5
- const iconNavigation: PropTypes.Requireable<PropTypes.ReactNodeLike>;
6
- const showCloseButton: PropTypes.Requireable<boolean>;
7
- const onClose: PropTypes.Requireable<(...args: any[]) => any>;
8
- const bsSize: PropTypes.Requireable<string>;
9
- const disableEsc: PropTypes.Requireable<boolean>;
10
- const useOverflow: PropTypes.Requireable<boolean>;
11
- const className: PropTypes.Requireable<string>;
12
- }
13
- export default _default;
14
- import PropTypes from "prop-types";
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- const prop_types_1 = tslib_1.__importDefault(require("prop-types"));
5
- exports.default = {
6
- show: prop_types_1.default.bool.isRequired,
7
- title: prop_types_1.default.node,
8
- subtitle: prop_types_1.default.node,
9
- iconNavigation: prop_types_1.default.node,
10
- showCloseButton: prop_types_1.default.bool,
11
- onClose: prop_types_1.default.func,
12
- bsSize: prop_types_1.default.oneOf(['sm', 'md', 'lg', 'xl', 'full', 'fullscreen']),
13
- disableEsc: prop_types_1.default.bool,
14
- useOverflow: prop_types_1.default.bool,
15
- className: prop_types_1.default.string,
16
- };
@@ -1,18 +0,0 @@
1
- export function formatDriverName({ firstName, lastName }: {
2
- firstName: any;
3
- lastName: any;
4
- }): any;
5
- export function DriverName({ driver, ...remainingProps }: {
6
- [x: string]: any;
7
- driver: any;
8
- }): import("react/jsx-runtime").JSX.Element;
9
- export namespace DriverName {
10
- namespace propTypes {
11
- const driver: PropTypes.Requireable<PropTypes.InferProps<{
12
- firstName: PropTypes.Requireable<string>;
13
- lastName: PropTypes.Validator<string>;
14
- }>>;
15
- }
16
- }
17
- export default DriverName;
18
- import PropTypes from "prop-types";
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DriverName = exports.formatDriverName = void 0;
4
- const tslib_1 = require("tslib");
5
- const jsx_runtime_1 = require("react/jsx-runtime");
6
- const react_1 = tslib_1.__importDefault(require("react"));
7
- const prop_types_1 = tslib_1.__importDefault(require("prop-types"));
8
- const formatDriverName = ({ firstName, lastName }) => {
9
- return lastName && firstName ? [lastName, firstName].join(', ') : lastName;
10
- };
11
- exports.formatDriverName = formatDriverName;
12
- const DriverName = (_a) => {
13
- var { driver } = _a, remainingProps = tslib_1.__rest(_a, ["driver"]);
14
- return ((0, jsx_runtime_1.jsx)("span", Object.assign({}, remainingProps, { className: 'DriverName' }, { children: (0, exports.formatDriverName)(driver) })));
15
- };
16
- exports.DriverName = DriverName;
17
- exports.DriverName.propTypes = {
18
- driver: prop_types_1.default.shape({
19
- firstName: prop_types_1.default.string,
20
- lastName: prop_types_1.default.string.isRequired,
21
- }),
22
- };
23
- exports.default = exports.DriverName;
@@ -1,9 +0,0 @@
1
- declare const _default: PropTypes.Requireable<(PropTypes.InferProps<{
2
- value: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
3
- disabled: PropTypes.Requireable<boolean>;
4
- divider: PropTypes.Requireable<boolean>;
5
- header: PropTypes.Requireable<boolean>;
6
- onSelect: PropTypes.Requireable<(...args: any[]) => any>;
7
- }> | null | undefined)[]>;
8
- export default _default;
9
- import PropTypes from "prop-types";
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- const prop_types_1 = tslib_1.__importDefault(require("prop-types"));
5
- exports.default = prop_types_1.default.arrayOf(prop_types_1.default.shape({
6
- value: prop_types_1.default.oneOfType([prop_types_1.default.string, prop_types_1.default.node]),
7
- disabled: prop_types_1.default.bool,
8
- divider: prop_types_1.default.bool,
9
- header: prop_types_1.default.bool,
10
- onSelect: prop_types_1.default.func,
11
- }));
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- import type { MapLayer, MapType } from '../utils/mapTypes';
3
- export type MapSettingContextType = {
4
- onMapTypeChange?: (type: MapType) => void;
5
- onMapLayerChange?: (layer: MapLayer) => void;
6
- onShowClusterChange?: (showCluster: boolean) => void;
7
- mapType?: string;
8
- activeBuiltinLayers?: string[];
9
- showCluster?: boolean;
10
- mapSettingsTooltip?: string | React.ReactNode;
11
- hideMapLayerSettings?: boolean;
12
- hideClusterSettings?: boolean;
13
- };
14
- export declare const defaultMapSettingsContext: MapSettingContextType;
15
- export declare const MapSettingsContext: import("react").Context<MapSettingContextType>;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MapSettingsContext = exports.defaultMapSettingsContext = void 0;
4
- const react_1 = require("react");
5
- exports.defaultMapSettingsContext = {
6
- showCluster: true,
7
- };
8
- exports.MapSettingsContext = (0, react_1.createContext)(exports.defaultMapSettingsContext);
@@ -1,2 +0,0 @@
1
- export const MapContext: import("react").Context<{}>;
2
- export const MapSettingsContext: import("react").Context<{}>;
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MapSettingsContext = exports.MapContext = void 0;
4
- const react_1 = require("react");
5
- exports.MapContext = (0, react_1.createContext)({});
6
- exports.MapSettingsContext = (0, react_1.createContext)({});
@@ -1,23 +0,0 @@
1
- export default MapLayerGroup;
2
- declare function MapLayerGroup({ children, minZoom, maxZoom, isVisible }: {
3
- children: any;
4
- minZoom: any;
5
- maxZoom: any;
6
- isVisible: any;
7
- }): import("react/jsx-runtime").JSX.Element;
8
- declare namespace MapLayerGroup {
9
- namespace propTypes {
10
- const isVisible: PropTypes.Requireable<boolean>;
11
- const minZoom: PropTypes.Requireable<number>;
12
- const maxZoom: PropTypes.Requireable<number>;
13
- }
14
- namespace defaultProps {
15
- const isVisible_1: boolean;
16
- export { isVisible_1 as isVisible };
17
- const minZoom_1: number;
18
- export { minZoom_1 as minZoom };
19
- const maxZoom_1: number;
20
- export { maxZoom_1 as maxZoom };
21
- }
22
- }
23
- import PropTypes from "prop-types";
@@ -1,48 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- /* eslint-disable no-undef */
6
- const react_1 = tslib_1.__importStar(require("react"));
7
- const prop_types_1 = tslib_1.__importDefault(require("prop-types"));
8
- const context_1 = require("../../context");
9
- const MapLayerGroup = ({ children, minZoom, maxZoom, isVisible }) => {
10
- const context = (0, react_1.useContext)(context_1.MapContext);
11
- const api = context.api;
12
- const [group, setGroup] = (0, react_1.useState)();
13
- const [childApi, setChildApi] = (0, react_1.useState)();
14
- (0, react_1.useEffect)(() => {
15
- const newGroup = new H.map.Group({
16
- min: parseFloat(minZoom),
17
- max: parseFloat(maxZoom),
18
- });
19
- newGroup.setVisibility(isVisible);
20
- api.map.addObject(newGroup);
21
- setGroup(newGroup);
22
- const newChildApi = Object.assign(Object.assign({}, context), { api: Object.assign(Object.assign({}, api), { group: newGroup }) });
23
- setChildApi(newChildApi);
24
- return () => {
25
- if (api.map.getObjects().includes(newGroup)) {
26
- api.map.removeObject(newGroup);
27
- }
28
- newGroup.dispose();
29
- };
30
- }, [api.map]);
31
- (0, react_1.useEffect)(() => {
32
- if (group) {
33
- group.setVisibility(isVisible);
34
- }
35
- }, [isVisible]);
36
- return ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: 'MapLayerGroup' }, { children: childApi ? (0, jsx_runtime_1.jsx)(context_1.MapContext.Provider, Object.assign({ value: childApi }, { children: children })) : null })));
37
- };
38
- MapLayerGroup.propTypes = {
39
- isVisible: prop_types_1.default.bool,
40
- minZoom: prop_types_1.default.number,
41
- maxZoom: prop_types_1.default.number,
42
- };
43
- MapLayerGroup.defaultProps = {
44
- isVisible: true,
45
- minZoom: -Infinity,
46
- maxZoom: Infinity,
47
- };
48
- exports.default = MapLayerGroup;
@@ -1,33 +0,0 @@
1
- export default DomMarker;
2
- declare class DomMarker extends React.Component<any, any, any> {
3
- constructor(props: any, context: any);
4
- marker: H.map.DomMarker;
5
- UNSAFE_componentWillReceiveProps(nextProps: any): void;
6
- shouldComponentUpdate(): boolean;
7
- componentWillUnmount(): void;
8
- render(): null;
9
- convertPosition(pos: any): any;
10
- }
11
- declare namespace DomMarker {
12
- namespace contextTypes {
13
- const api: PropTypes.Requireable<PropTypes.InferProps<{
14
- map: PropTypes.Requireable<H.Map>;
15
- platform: PropTypes.Requireable<H.service.Platform>;
16
- defaultLayers: PropTypes.Requireable<object>;
17
- group: PropTypes.Requireable<NonNullable<H.Map | H.map.Group | null | undefined>>;
18
- }>>;
19
- }
20
- namespace propTypes {
21
- const element: PropTypes.Validator<object>;
22
- const eventListenerMap: PropTypes.Requireable<object>;
23
- const position: PropTypes.Validator<NonNullable<NonNullable<PropTypes.InferProps<{
24
- lat: PropTypes.Validator<number>;
25
- lng: PropTypes.Validator<number>;
26
- }> | (PropTypes.InferProps<{
27
- lat: PropTypes.Validator<number>;
28
- lng: PropTypes.Validator<number>;
29
- }> | null | undefined)[] | null | undefined>>>;
30
- }
31
- }
32
- import React from "react";
33
- import PropTypes from "prop-types";
@@ -1,58 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- /* eslint-disable no-undef */
5
- const react_1 = tslib_1.__importDefault(require("react"));
6
- const prop_types_1 = tslib_1.__importDefault(require("prop-types"));
7
- const proptypes_1 = tslib_1.__importDefault(require("../../../../utils/proptypes"));
8
- const eventHandling_1 = require("../../../../utils/eventHandling");
9
- // Should be deprecated...
10
- // Here Documentation:
11
- // It should be only used where small numbers of markers with dynamic style and/or scripted icons are to be displayed
12
- // on the map (for example animated interactive SVG). Otherwise a H.map.Marker should be preferred for performance reasons.
13
- //
14
- class DomMarker extends react_1.default.Component {
15
- constructor(props, context) {
16
- super(props, context);
17
- const icon = new H.map.DomIcon(props.element);
18
- this.marker = new H.map.DomMarker(this.convertPosition(props.position), { icon });
19
- context.api.map.addObject(this.marker);
20
- (0, eventHandling_1.addEventListenerMap)(this.marker, props.eventListenerMap, this.context.api.map);
21
- }
22
- // eslint-disable-next-line camelcase
23
- UNSAFE_componentWillReceiveProps(nextProps) {
24
- (0, eventHandling_1.checkAndUpdateEventListenerMap)(this.marker, this.props, nextProps);
25
- if (this.props.position !== nextProps.position) {
26
- this.marker.setGeometry(this.convertPosition(nextProps.position));
27
- }
28
- if (this.props.element !== nextProps.element) {
29
- const icon = new H.map.DomIcon(nextProps.element);
30
- this.marker.setIcon(icon);
31
- }
32
- }
33
- shouldComponentUpdate() {
34
- return false;
35
- }
36
- componentWillUnmount() {
37
- (0, eventHandling_1.removeEventListenerMap)(this.marker);
38
- if (this.context.api.map.includes(this.marker)) {
39
- this.context.api.map.removeObject(this.marker);
40
- }
41
- this.marker.dispose();
42
- }
43
- render() {
44
- return null;
45
- }
46
- convertPosition(pos) {
47
- return Array.isArray(pos) ? new H.geo.MultiPoint(pos) : pos;
48
- }
49
- }
50
- DomMarker.contextTypes = {
51
- api: proptypes_1.default.api,
52
- };
53
- DomMarker.propTypes = {
54
- element: prop_types_1.default.object.isRequired,
55
- eventListenerMap: prop_types_1.default.object,
56
- position: prop_types_1.default.oneOfType([proptypes_1.default.position, proptypes_1.default.positions]).isRequired,
57
- };
58
- exports.default = DomMarker;
@@ -1,21 +0,0 @@
1
- export function getOrCreateIcon(icon: any): H.map.DomIcon | undefined;
2
- export function isHMapIcon(icon: any): boolean;
3
- export function isDomMakerNeeded(icon: any): boolean;
4
- export default Marker;
5
- declare function Marker(props: any): null;
6
- declare namespace Marker {
7
- namespace propTypes {
8
- const position: PropTypes.Validator<NonNullable<NonNullable<PropTypes.InferProps<{
9
- lat: PropTypes.Validator<number>;
10
- lng: PropTypes.Validator<number>;
11
- }> | (PropTypes.InferProps<{
12
- lat: PropTypes.Validator<number>;
13
- lng: PropTypes.Validator<number>;
14
- }> | null | undefined)[] | null | undefined>>>;
15
- const icon: PropTypes.Requireable<H.map.DomIcon>;
16
- const eventListenerMap: PropTypes.Requireable<object>;
17
- const customData: PropTypes.Requireable<object>;
18
- const draggable: PropTypes.Requireable<boolean>;
19
- }
20
- }
21
- import PropTypes from "prop-types";