@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,697 +1,432 @@
1
- import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
- import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
- import _createClass from "@babel/runtime/helpers/createClass";
4
- import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
5
- import _inherits from "@babel/runtime/helpers/inherits";
6
- import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
7
- import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
8
- 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; }
9
- 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; }
10
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
11
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
12
- /**
13
- * @fileOverview: Wrapper component for React-Datetime.
14
- */
15
-
16
- import React, { Component } from 'react';
17
- import PropTypes from 'prop-types';
18
- import ReactDOM from 'react-dom';
19
- import DatePicker from './DatePicker';
20
- import onClickOutside from 'react-onclickoutside';
21
- import moment from 'moment';
22
- import classNames from 'classnames';
23
- import isNil from 'lodash/fp/isNil';
24
- import isNull from 'lodash/fp/isNull';
25
- import isEqual from 'lodash/fp/isEqual';
26
- import getDropDirection from '../../utils/getDropDirection';
27
- var Placeholder = function Placeholder(_ref) {
28
- var text = _ref.text;
29
- return /*#__PURE__*/React.createElement("span", {
30
- className: 'placeholder'
31
- }, text);
32
- };
33
-
34
- /**
35
- * The DateRangePicker
36
- */
37
-
38
- var propTypes = {
39
- startValue: PropTypes.object,
40
- endValue: PropTypes.object,
41
- defaultStartValue: PropTypes.object,
42
- defaultEndValue: PropTypes.object,
43
- minValue: PropTypes.object,
44
- maxValue: PropTypes.object,
45
- onRangeChange: PropTypes.func,
46
- locale: PropTypes.string,
47
- textDefault: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
48
- textToday: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
49
- textLastWeek: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
50
- textLastMonth: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
51
- textLastYear: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
52
- textCustom: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
53
- textApply: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
54
- textCancel: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
55
- textFrom: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
56
- textTo: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
57
- className: PropTypes.string,
58
- dropdownClass: PropTypes.string,
59
- dropdownMenuClass: PropTypes.string,
60
- hasTimePicker: PropTypes.bool,
61
- customRangeOnly: PropTypes.bool,
62
- customPresets: PropTypes.arrayOf(PropTypes.shape({
63
- startValue: PropTypes.object.isRequired,
64
- endValue: PropTypes.object.isRequired,
65
- text: PropTypes.string.isRequired,
66
- onSelect: PropTypes.func
67
- })),
68
- dropup: PropTypes.bool,
69
- pullRight: PropTypes.bool,
70
- autoDropDirection: PropTypes.bool,
71
- clearable: PropTypes.bool,
72
- onClear: PropTypes.func
73
- };
74
- var defaultProps = {
75
- defaultStartValue: moment().startOf('day'),
76
- defaultEndValue: moment().endOf('day'),
77
- minValue: null,
78
- maxValue: null,
79
- locale: 'en-GB',
80
- textDefault: 'Select date range ...',
81
- textToday: 'Today',
82
- textLastWeek: 'Last week',
83
- textLastMonth: 'Last month',
84
- textCustom: 'Custom',
85
- textFrom: 'From',
86
- textTo: 'To',
87
- textApply: 'Apply',
88
- textCancel: 'Cancel',
89
- dropdownClass: '',
90
- dropdownMenuClass: '',
91
- hasTimePicker: false,
92
- customRangeOnly: false,
93
- customPresets: [{
94
- text: 'Today',
95
- startValue: moment().startOf('day'),
96
- endValue: moment().endOf('day')
97
- }, {
98
- text: 'Last week',
99
- startValue: moment().subtract(1, 'weeks').startOf('isoWeek'),
100
- endValue: moment().subtract(1, 'weeks').endOf('isoWeek')
101
- }, {
102
- text: 'Last Month',
103
- startValue: moment().subtract(1, 'months').startOf('month'),
104
- endValue: moment().subtract(1, 'months').endOf('month')
105
- }],
106
- onRangeChange: function onRangeChange() {
107
- // function when range changes
108
- },
109
- autoDropDirection: true,
110
- dropup: false,
111
- pullRight: false,
112
- clearable: false,
113
- onClear: function onClear() {
114
- return undefined;
115
- }
116
- };
117
- var LOCAL_DATE_FORMAT = 'dd L LT';
118
- var LOCAL_DATE_FORMAT_NO_TIME = 'dd L';
119
- var DROPDOWN_WIDTH = 600;
120
- var DateRangePicker = /*#__PURE__*/function (_Component) {
121
- _inherits(DateRangePicker, _Component);
122
- var _super = _createSuper(DateRangePicker);
123
- function DateRangePicker(props) {
124
- var _this;
125
- _classCallCheck(this, DateRangePicker);
126
- _this = _super.call(this, props);
127
- var customRangeStartValue = props.startValue ? props.startValue : props.defaultStartValue;
128
- var customRangeEndValue = props.endValue ? props.endValue : props.defaultEndValue;
129
- _this.state = {
130
- internalStartValue: props.startValue,
131
- internalEndValue: props.endValue,
132
- isMounted: false,
133
- isCustomVisible: props.customRangeOnly,
134
- isDropdownOpen: false,
135
- customRangeStartValue: moment(customRangeStartValue),
136
- // default value for individual datepickers
137
- customRangeEndValue: moment(customRangeEndValue),
138
- // default value for individual datepickers
139
- isStartValid: true,
140
- isEndValid: true,
141
- dropdownToggleText: /*#__PURE__*/React.createElement(Placeholder, {
142
- text: props.textDefault
143
- }),
144
- dropup: props.dropup,
145
- pullRight: props.pullRight
146
- };
147
- _this.toggleDropdownOpen = _this.toggleDropdownOpen.bind(_assertThisInitialized(_this));
148
- _this.handleCustomToggle = _this.handleCustomToggle.bind(_assertThisInitialized(_this));
149
- _this.handleCustomApply = _this.handleCustomApply.bind(_assertThisInitialized(_this));
150
- _this.onStartChange = _this.onStartChange.bind(_assertThisInitialized(_this));
151
- _this.getValidStartDates = _this.getValidStartDates.bind(_assertThisInitialized(_this));
152
- _this.onEndChange = _this.onEndChange.bind(_assertThisInitialized(_this));
153
- _this.getValidEndDates = _this.getValidEndDates.bind(_assertThisInitialized(_this));
154
- _this.handleResetInternalState = _this.handleResetInternalState.bind(_assertThisInitialized(_this));
155
- return _this;
156
- }
157
- _createClass(DateRangePicker, [{
158
- key: "componentDidMount",
159
- value: function componentDidMount() {
160
- var _this$props = this.props,
161
- startValue = _this$props.startValue,
162
- endValue = _this$props.endValue,
163
- locale = _this$props.locale;
164
- if (!this.state.isMounted) {
165
- this.setState({
166
- isMounted: true
167
- });
168
- }
169
-
170
- // initial mount value
171
- if (startValue && endValue) {
172
- this.update(startValue, endValue, locale);
173
- }
174
- }
175
-
176
- /**
177
- * Responsible for handling start/end values given from outside (controlled component context).
178
- * @param {object} nextProps - The next props.
179
- * @returns {undefined}
180
- */
181
- // eslint-disable-next-line camelcase
182
- }, {
183
- key: "UNSAFE_componentWillReceiveProps",
184
- value: function UNSAFE_componentWillReceiveProps(nextProps) {
185
- var startValue = nextProps.startValue,
186
- endValue = nextProps.endValue,
187
- textDefault = nextProps.textDefault,
188
- customRangeOnly = nextProps.customRangeOnly,
189
- locale = nextProps.locale,
190
- defaultStartValue = nextProps.defaultStartValue,
191
- defaultEndValue = nextProps.defaultEndValue;
192
- var _this$state = this.state,
193
- internalStartValue = _this$state.internalStartValue,
194
- internalEndValue = _this$state.internalEndValue;
195
-
196
- // handle reset:
197
- // reset condition 1 is for uncontrolled components,
198
- // making sure that when a time is selected, and then the locale changed, that the selection remains
199
- var resetCondition1 = isNil(startValue) && isNil(endValue) && isNil(internalStartValue) && isNil(internalEndValue);
200
-
201
- // reset condition 2 is for controlled components,
202
- // when a time is set / defined, and the controlling component wants a hard reset
203
- var resetCondition2 = isNull(startValue) && isNull(endValue);
204
-
205
- // reset to original state
206
- if (resetCondition1 || resetCondition2) {
207
- this.setState({
208
- internalStartValue: undefined,
209
- internalEndValue: undefined,
210
- customRangeStartValue: defaultStartValue,
211
- customRangeEndValue: defaultEndValue,
212
- dropdownToggleText: /*#__PURE__*/React.createElement(Placeholder, {
213
- text: textDefault
214
- }),
215
- isCustomVisible: customRangeOnly,
216
- isDropdownOpen: false,
217
- isStartValid: true,
218
- isEndValid: true,
219
- pullRight: nextProps.pullRight,
220
- dropup: nextProps.dropup
221
- });
222
- } else if (startValue !== this.props.startValue || endValue !== this.props.endValue) {
223
- this.update(startValue, endValue, locale);
224
- } else {
225
- this.update(internalStartValue, internalEndValue, locale);
226
- }
227
- }
228
-
229
- /**
230
- * Converts start/end values to moments, makes them readable,
231
- * crafts a dropdownToggleText and updates state.
232
- * @param {object} startValue - the start date (date or moment).
233
- * @param {object} endValue - the start date (date or moment).
234
- * @param {object} locale - the locale to use.
235
- * @param {object} extras - additional state, which needs to update.
236
- * @param {object} callback - callback to be called, after state has changed.
237
- * @returns {undefined}
238
- */
239
- }, {
240
- key: "update",
241
- value: function update(startValue, endValue, locale, extras, callback) {
242
- var hasTimePicker = this.props.hasTimePicker;
243
- var format = hasTimePicker ? LOCAL_DATE_FORMAT : LOCAL_DATE_FORMAT_NO_TIME;
244
-
245
- // necessary to set start to startOf / end day to endOf, when selecting "without time"
246
- var finalStartValue = hasTimePicker ? moment(startValue) : moment(startValue).startOf('day');
247
- var finalEndValue = hasTimePicker ? moment(endValue) : moment(endValue).endOf('day');
248
-
249
- // composition of dropdownToggleText
250
- var startValueText = "".concat(finalStartValue.locale(locale).format(format));
251
- var endValueText = "".concat(finalEndValue.locale(locale).format(format));
252
- var dropdownToggleText = startValueText === endValueText ? startValueText : "".concat(startValueText, " \u2192 ").concat(endValueText);
253
-
254
- // set state, and call callback
255
- this.setState(_objectSpread({
256
- internalStartValue: finalStartValue,
257
- internalEndValue: finalEndValue,
258
- customRangeStartValue: finalStartValue,
259
- customRangeEndValue: finalEndValue,
260
- dropdownToggleText: dropdownToggleText,
261
- startValueText: startValueText,
262
- endValueText: endValueText,
263
- isStartValid: true,
264
- isEndValid: !finalEndValue.isBefore(finalStartValue)
265
- }, extras), function () {
266
- callback && callback(finalStartValue, finalEndValue);
267
- });
268
- }
269
- }, {
270
- key: "handleResetInternalState",
271
- value: function handleResetInternalState(event) {
272
- if (event) {
273
- event.preventDefault();
274
- event.stopPropagation();
275
- }
276
- var _this$props2 = this.props,
277
- textDefault = _this$props2.textDefault,
278
- customRangeOnly = _this$props2.customRangeOnly,
279
- defaultStartValue = _this$props2.defaultStartValue,
280
- defaultEndValue = _this$props2.defaultEndValue,
281
- pullRight = _this$props2.pullRight,
282
- dropup = _this$props2.dropup,
283
- onClear = _this$props2.onClear;
284
- this.setState({
285
- internalStartValue: undefined,
286
- internalEndValue: undefined,
287
- customRangeStartValue: defaultStartValue,
288
- customRangeEndValue: defaultEndValue,
289
- dropdownToggleText: /*#__PURE__*/React.createElement(Placeholder, {
290
- text: textDefault
291
- }),
292
- isCustomVisible: customRangeOnly,
293
- isDropdownOpen: false,
294
- isStartValid: true,
295
- isEndValid: true,
296
- startValueText: null,
297
- endValueText: null,
298
- pullRight: pullRight,
299
- dropup: dropup
300
- });
301
- onClear();
302
- }
303
-
304
- /**
305
- * Gets called by wrapper component "onClickOutside".
306
- * Responsible for closing the dropdown when a click occured outside.
307
- * @returns {undefined}
308
- */
309
- }, {
310
- key: "handleClickOutside",
311
- value: function handleClickOutside() {
312
- if (this.state.isMounted) {
313
- this.setState({
314
- isDropdownOpen: false
315
- });
316
- }
317
- }
318
-
319
- /**
320
- * Toggles dropdown open status and visibility of custom range area.
321
- * @param {object} event - mouse event on toggle dropdown
322
- * @returns {undefined}
323
- */
324
- }, {
325
- key: "toggleDropdownOpen",
326
- value: function toggleDropdownOpen(event) {
327
- var _this2 = this;
328
- var toggleNode = ReactDOM.findDOMNode(this.refDropdownToggle);
329
- var menuNode = ReactDOM.findDOMNode(this.refDropdownMenu);
330
- var dropDirection = this.isAutoDropActive() && !this.state.isDropdownOpen ? getDropDirection(toggleNode, menuNode) : {};
331
- var left = event.currentTarget.getBoundingClientRect().left;
332
- this.setState(function (prevState) {
333
- return _objectSpread(_objectSpread({
334
- isDropdownOpen: !prevState.isDropdownOpen,
335
- isCustomVisible: _this2.props.customRangeOnly
336
- }, dropDirection), {}, {
337
- pullRight: left + DROPDOWN_WIDTH > document.body.clientWidth
338
- });
339
- });
340
- }
341
- }, {
342
- key: "isAutoDropActive",
343
- value: function isAutoDropActive() {
344
- return !(!this.props.autoDropDirection || this.props.dropup || this.props.pullRight);
345
- }
346
-
347
- /**
348
- * Only gets called on manual change of datePicker (user interaction).
349
- * Has influence the validity of the end date.
350
- *
351
- * Important to note that the start date is not limited,
352
- * whereas the end date is limited by the start date (see 'getValidEndDates').
353
- *
354
- * @param {object} startValue - the start date (date or moment).
355
- * @param {object} isValidDate - if the date is valid or not.
356
- * @returns {undefined}
357
- */
358
- }, {
359
- key: "onStartChange",
360
- value: function onStartChange(startValue, isValidDate) {
361
- var newState = {
362
- isStartValid: false
363
- };
364
- var _this$props3 = this.props,
365
- hasTimePicker = _this$props3.hasTimePicker,
366
- minValue = _this$props3.minValue,
367
- maxValue = _this$props3.maxValue;
368
- var customRangeEndValue = this.state.customRangeEndValue;
369
- if (moment.isMoment(startValue)) {
370
- // necessary to set start to startOf / end day to endOf, when selecting "without time"
371
- var finalStartValue = hasTimePicker ? startValue : moment(startValue).startOf('day');
372
-
373
- // check validity of input (min/max)
374
- var passesMin = minValue ? finalStartValue.isSameOrAfter(moment(minValue)) : true;
375
- var passesMax = maxValue ? finalStartValue.isSameOrBefore(moment(maxValue)) : true;
376
- var isValidInput = isValidDate && passesMin && passesMax;
377
- newState.isStartValid = isValidInput;
378
- if (isValidDate) {
379
- newState.customRangeStartValue = finalStartValue;
380
- newState.isEndValid = !customRangeEndValue.isBefore(finalStartValue);
381
- }
382
- }
383
- this.setState(newState);
384
- }
385
-
386
- /**
387
- * Only gets called on manual change of datePicker (user interaction)
388
- * @param {object} endValue - the start date (date or moment).
389
- * @param {object} isValidDate - if the date is valid or not.
390
- * @returns {undefined}
391
- */
392
- }, {
393
- key: "onEndChange",
394
- value: function onEndChange(endValue, isValidDate) {
395
- var newState = {
396
- isEndValid: false
397
- };
398
- var _this$props4 = this.props,
399
- hasTimePicker = _this$props4.hasTimePicker,
400
- minValue = _this$props4.minValue,
401
- maxValue = _this$props4.maxValue;
402
- var customRangeStartValue = this.state.customRangeStartValue;
403
- // let isValidInput = false;
404
-
405
- if (moment.isMoment(endValue)) {
406
- // necessary to set end of seconds and milliseconds for every end value
407
- var correctedEndValue = isValidDate ? endValue.endOf('minute') : endValue;
408
-
409
- // necessary to set start to startOf / end day to endOf, when selecting "without time"
410
- var finalEndValue = hasTimePicker ? correctedEndValue : moment(endValue).endOf('day');
411
-
412
- // check validity of input (min/max)
413
- var passesMin = minValue ? finalEndValue.isSameOrAfter(moment(minValue)) : true;
414
- var passesMax = maxValue ? finalEndValue.isSameOrBefore(moment(maxValue)) : true;
415
- var isValidInput = isValidDate && passesMin && passesMax && finalEndValue.isAfter(customRangeStartValue);
416
- newState.isEndValid = isValidInput;
417
- if (isValidDate) {
418
- newState.customRangeEndValue = finalEndValue;
419
- }
420
- }
421
- this.setState(newState);
422
- }
423
-
424
- /**
425
- * Callback method for DatePicker to limit selection in DatePicker.
426
- * @param {object} current - Current date in the loop.
427
- * @returns {undefined}
428
- */
429
- }, {
430
- key: "getValidStartDates",
431
- value: function getValidStartDates(current) {
432
- var _this$props5 = this.props,
433
- minValue = _this$props5.minValue,
434
- maxValue = _this$props5.maxValue;
435
- var customRangeEndValue = moment(this.state.customRangeEndValue);
436
- if (current.isSame(customRangeEndValue, 'day')) {
437
- return true;
438
- }
439
- var passesMin = minValue ? current.isSameOrAfter(moment(minValue)) : true;
440
- var passesMax = maxValue ? current.isSameOrBefore(moment(maxValue)) : true;
441
- return passesMin && passesMax;
442
- }
443
-
444
- /**
445
- * Callback method for DatePicker to limit selection in DatePicker.
446
- * End date has to be after start date.
447
- * @param {object} current - Current date in the loop.
448
- * @returns {undefined}
449
- */
450
- }, {
451
- key: "getValidEndDates",
452
- value: function getValidEndDates(current) {
453
- var _this$props6 = this.props,
454
- minValue = _this$props6.minValue,
455
- maxValue = _this$props6.maxValue;
456
- var customRangeStartValue = moment(this.state.customRangeStartValue);
457
- if (current.isSame(customRangeStartValue, 'day')) {
458
- return true;
459
- }
460
- var passesMin = minValue ? current.isSameOrAfter(moment(minValue)) : true;
461
- var passesMax = maxValue ? current.isSameOrBefore(moment(maxValue)) : true;
462
- var isAfterStart = current.isAfter(customRangeStartValue);
463
- return passesMin && passesMax && isAfterStart;
464
- }
465
-
466
- /**
467
- * Gets called when "custom ..." has been selected.
468
- * @returns {undefined}
469
- */
470
- }, {
471
- key: "handleCustomToggle",
472
- value: function handleCustomToggle() {
473
- this.setState(function (prevState) {
474
- return {
475
- isCustomVisible: !prevState.isCustomVisible
476
- };
477
- });
478
- }
479
- }, {
480
- key: "handleCustomPresetSelect",
481
- value: function handleCustomPresetSelect(preset) {
482
- if (typeof preset.onSelect === 'function') {
483
- preset.onSelect();
484
- }
485
- this.handleSelect(preset.startValue, preset.endValue);
486
- }
487
-
488
- /**
489
- * Gets called when a preset has been selected.
490
- * @param {object} startValue - the start date (date or moment).
491
- * @param {object} endValue - the start date (date or moment).
492
- * @returns {undefined}
493
- */
494
- }, {
495
- key: "handleSelect",
496
- value: function handleSelect(startValue, endValue) {
497
- var _this$props7 = this.props,
498
- onRangeChange = _this$props7.onRangeChange,
499
- locale = _this$props7.locale;
500
- var extras = {
501
- isDropdownOpen: false
502
- };
503
- this.update(startValue, endValue, locale, extras, onRangeChange);
504
- }
505
-
506
- /**
507
- * Gets called user clicks the apply button.
508
- * @returns {undefined}
509
- */
510
- }, {
511
- key: "handleCustomApply",
512
- value: function handleCustomApply() {
513
- var _this$state2 = this.state,
514
- customRangeStartValue = _this$state2.customRangeStartValue,
515
- customRangeEndValue = _this$state2.customRangeEndValue,
516
- isStartValid = _this$state2.isStartValid,
517
- isEndValid = _this$state2.isEndValid;
518
- var _this$props8 = this.props,
519
- onRangeChange = _this$props8.onRangeChange,
520
- locale = _this$props8.locale;
521
- if (isStartValid && isEndValid) {
522
- var extras = {
523
- isDropdownOpen: false
524
- };
525
- this.update(customRangeStartValue, customRangeEndValue, locale, extras, onRangeChange);
526
- }
527
- }
528
- }, {
529
- key: "getDropdownToggle",
530
- value: function getDropdownToggle(dropdownToggleText) {
531
- var _this3 = this;
532
- var _this$props9 = this.props,
533
- children = _this$props9.children,
534
- clearable = _this$props9.clearable;
535
- var _this$state3 = this.state,
536
- startValueText = _this$state3.startValueText,
537
- endValueText = _this$state3.endValueText;
538
- var isClearable = clearable && dropdownToggleText.type !== Placeholder;
539
- var labelClassNames = classNames(isClearable && 'withClearButton');
540
- var isRenderCallback = children && typeof children === 'function';
541
-
542
- // Note: due to issues with nested events in Firefox (for toggle and inside the clear)
543
- // the toggle element must not be a <button> but a div.
544
- return /*#__PURE__*/React.createElement("div", {
545
- type: 'button',
546
- className: 'DateRangePickerToggle form-control dropdown-toggle text-left',
547
- "aria-haspopup": 'true',
548
- "aria-expanded": 'true',
549
- onClick: this.toggleDropdownOpen,
550
- ref: function ref(node) {
551
- return _this3.refDropdownToggle = node;
552
- }
553
- }, isRenderCallback ? this.props.children(startValueText, endValueText) : /*#__PURE__*/React.createElement("span", {
554
- className: labelClassNames
555
- }, dropdownToggleText), isClearable && this.getClearButton(), /*#__PURE__*/React.createElement("span", {
556
- className: 'caret'
557
- }));
558
- }
559
- }, {
560
- key: "getClearButton",
561
- value: function getClearButton() {
562
- return /*#__PURE__*/React.createElement("span", {
563
- className: 'clearButton',
564
- onClick: this.handleResetInternalState
565
- }, /*#__PURE__*/React.createElement("span", {
566
- className: 'clearButtonIcon rioglyph rioglyph-remove-sign'
567
- }));
568
- }
569
- }, {
570
- key: "getCustomPanelToggle",
571
- value: function getCustomPanelToggle(isCustomVisible, textCustom) {
572
- return /*#__PURE__*/React.createElement("li", {
573
- className: classNames('custom-panel-toggle', isCustomVisible && 'hidden')
574
- }, /*#__PURE__*/React.createElement("a", {
575
- role: 'button',
576
- onClick: this.handleCustomToggle
577
- }, textCustom, " ..."));
578
- }
579
- }, {
580
- key: "getCustomPanelButtons",
581
- value: function getCustomPanelButtons(isCustomVisible, isStartValid, isEndValid, textApply, textCancel) {
582
- return /*#__PURE__*/React.createElement("li", {
583
- className: classNames('custom-panel-buttons', 'margin-20', !isCustomVisible && 'hidden')
584
- }, /*#__PURE__*/React.createElement("div", {
585
- className: 'btn-toolbar'
586
- }, /*#__PURE__*/React.createElement("button", {
587
- type: 'button',
588
- disabled: !isStartValid || !isEndValid,
589
- onClick: this.handleCustomApply,
590
- className: 'btn btn-primary pull-right'
591
- }, textApply), /*#__PURE__*/React.createElement("button", {
592
- type: 'button',
593
- onClick: this.toggleDropdownOpen,
594
- className: 'btn btn-default pull-right'
595
- }, textCancel)));
596
- }
597
-
598
- // eslint-disable-next-line complexity
599
- }, {
600
- key: "render",
601
- value: function render() {
602
- var _this4 = this;
603
- var _this$props10 = this.props,
604
- locale = _this$props10.locale,
605
- textCustom = _this$props10.textCustom,
606
- textApply = _this$props10.textApply,
607
- textCancel = _this$props10.textCancel,
608
- textFrom = _this$props10.textFrom,
609
- textTo = _this$props10.textTo,
610
- textToday = _this$props10.textToday,
611
- textLastWeek = _this$props10.textLastWeek,
612
- textLastMonth = _this$props10.textLastMonth,
613
- className = _this$props10.className,
614
- clearable = _this$props10.clearable,
615
- dropdownClass = _this$props10.dropdownClass,
616
- dropdownMenuClass = _this$props10.dropdownMenuClass,
617
- customPresets = _this$props10.customPresets,
618
- hasTimePicker = _this$props10.hasTimePicker;
619
- var _this$state4 = this.state,
620
- customRangeStartValue = _this$state4.customRangeStartValue,
621
- customRangeEndValue = _this$state4.customRangeEndValue,
622
- isStartValid = _this$state4.isStartValid,
623
- isEndValid = _this$state4.isEndValid,
624
- isCustomVisible = _this$state4.isCustomVisible,
625
- isDropdownOpen = _this$state4.isDropdownOpen,
626
- dropdownToggleText = _this$state4.dropdownToggleText;
627
- var pullRight = this.isAutoDropActive() ? this.state.pullRight : this.props.pullRight;
628
- var dropup = this.isAutoDropActive() ? this.state.dropup : this.props.dropup;
629
- if (customPresets && isEqual(customPresets, defaultProps.customPresets)) {
630
- // support backward compatibility to override default drop down text values
631
- customPresets[0].text = textToday;
632
- customPresets[1].text = textLastWeek;
633
- customPresets[2].text = textLastMonth;
634
- }
635
- var classes = classNames('DateRangePicker', className && className);
636
- var dropDownClassNames = classNames('select', 'dropdown', dropdownClass, isDropdownOpen && 'open', dropup && 'dropup');
637
- return /*#__PURE__*/React.createElement("div", {
638
- className: classes
639
- }, /*#__PURE__*/React.createElement("div", {
640
- className: dropDownClassNames
641
- }, this.getDropdownToggle(dropdownToggleText, clearable), /*#__PURE__*/React.createElement("ul", {
642
- className: classNames('dropdown-menu', pullRight && 'pull-right', dropdownMenuClass),
643
- ref: function ref(node) {
644
- return _this4.refDropdownMenu = node;
645
- }
646
- }, customPresets.map(function (preset, i) {
647
- return /*#__PURE__*/React.createElement("li", {
648
- key: "preset-".concat(i),
649
- title: preset.disabled && preset.disabledText || null,
650
- className: classNames(preset.disabled && 'disabled')
651
- }, /*#__PURE__*/React.createElement("a", {
652
- role: 'button',
653
- className: classNames(isCustomVisible && 'hidden'),
654
- onClick: !preset.disabled ? _this4.handleCustomPresetSelect.bind(_this4, preset) : undefined
655
- }, preset.text));
656
- }), /*#__PURE__*/React.createElement("li", {
657
- role: 'separator',
658
- className: classNames('divider', isCustomVisible && 'hidden')
659
- }), this.getCustomPanelToggle(isCustomVisible, textCustom), /*#__PURE__*/React.createElement("li", {
660
- className: classNames('custom-panel', !isCustomVisible && 'hidden')
661
- }, /*#__PURE__*/React.createElement("div", {
662
- className: 'row'
663
- }, /*#__PURE__*/React.createElement("div", {
664
- className: 'col-sm-6'
665
- }, /*#__PURE__*/React.createElement("label", null, textFrom), /*#__PURE__*/React.createElement(DatePicker, {
666
- locale: locale,
667
- open: true,
668
- autoDropDirection: false,
669
- dateFormat: true,
670
- timeFormat: hasTimePicker,
671
- initialValue: customRangeStartValue,
672
- onChange: this.onStartChange,
673
- closeOnSelect: true,
674
- isValidDate: this.getValidStartDates,
675
- className: classNames('DatePicker', !isStartValid && 'has-error')
676
- })), /*#__PURE__*/React.createElement("div", {
677
- className: 'col-sm-6'
678
- }, /*#__PURE__*/React.createElement("label", null, textTo), /*#__PURE__*/React.createElement(DatePicker, {
679
- locale: locale,
680
- open: true,
681
- autoDropDirection: false,
682
- dateFormat: true,
683
- timeFormat: hasTimePicker,
684
- initialValue: customRangeEndValue,
685
- onChange: this.onEndChange,
686
- closeOnSelect: true,
687
- isValidDate: this.getValidEndDates,
688
- className: classNames('DatePicker', !isEndValid && 'has-error')
689
- })))), this.getCustomPanelButtons(isCustomVisible, isStartValid, isEndValid, textApply, textCancel))));
690
- }
691
- }]);
692
- return DateRangePicker;
693
- }(Component);
694
- DateRangePicker.propTypes = propTypes;
695
- DateRangePicker.defaultProps = defaultProps;
696
- export default onClickOutside(DateRangePicker);
697
- export { DateRangePicker as DateRangePickerPure };
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /**
3
+ * @fileOverview: Wrapper component for React-Datetime.
4
+ */
5
+ import React, { Component } from 'react';
6
+ import PropTypes from 'prop-types';
7
+ import ReactDOM from 'react-dom';
8
+ import DatePicker from './DatePicker';
9
+ import onClickOutside from 'react-onclickoutside';
10
+ import moment from 'moment';
11
+ import classNames from 'classnames';
12
+ import isNil from 'lodash/fp/isNil';
13
+ import isNull from 'lodash/fp/isNull';
14
+ import isEqual from 'lodash/fp/isEqual';
15
+ import getDropDirection from '../../utils/getDropDirection';
16
+ const Placeholder = ({ text }) => _jsx("span", Object.assign({ className: 'placeholder' }, { children: text }));
17
+ /**
18
+ * The DateRangePicker
19
+ */
20
+ const propTypes = {
21
+ startValue: PropTypes.object,
22
+ endValue: PropTypes.object,
23
+ defaultStartValue: PropTypes.object,
24
+ defaultEndValue: PropTypes.object,
25
+ minValue: PropTypes.object,
26
+ maxValue: PropTypes.object,
27
+ onRangeChange: PropTypes.func,
28
+ locale: PropTypes.string,
29
+ textDefault: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
30
+ textToday: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
31
+ textLastWeek: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
32
+ textLastMonth: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
33
+ textLastYear: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
34
+ textCustom: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
35
+ textApply: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
36
+ textCancel: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
37
+ textFrom: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
38
+ textTo: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
39
+ className: PropTypes.string,
40
+ dropdownClass: PropTypes.string,
41
+ dropdownMenuClass: PropTypes.string,
42
+ hasTimePicker: PropTypes.bool,
43
+ customRangeOnly: PropTypes.bool,
44
+ customPresets: PropTypes.arrayOf(PropTypes.shape({
45
+ startValue: PropTypes.object.isRequired,
46
+ endValue: PropTypes.object.isRequired,
47
+ text: PropTypes.string.isRequired,
48
+ onSelect: PropTypes.func,
49
+ })),
50
+ dropup: PropTypes.bool,
51
+ pullRight: PropTypes.bool,
52
+ autoDropDirection: PropTypes.bool,
53
+ clearable: PropTypes.bool,
54
+ onClear: PropTypes.func,
55
+ };
56
+ const defaultProps = {
57
+ defaultStartValue: moment().startOf('day'),
58
+ defaultEndValue: moment().endOf('day'),
59
+ minValue: null,
60
+ maxValue: null,
61
+ locale: 'en-GB',
62
+ textDefault: 'Select date range ...',
63
+ textToday: 'Today',
64
+ textLastWeek: 'Last week',
65
+ textLastMonth: 'Last month',
66
+ textCustom: 'Custom',
67
+ textFrom: 'From',
68
+ textTo: 'To',
69
+ textApply: 'Apply',
70
+ textCancel: 'Cancel',
71
+ dropdownClass: '',
72
+ dropdownMenuClass: '',
73
+ hasTimePicker: false,
74
+ customRangeOnly: false,
75
+ customPresets: [
76
+ {
77
+ text: 'Today',
78
+ startValue: moment().startOf('day'),
79
+ endValue: moment().endOf('day'),
80
+ },
81
+ {
82
+ text: 'Last week',
83
+ startValue: moment().subtract(1, 'weeks').startOf('isoWeek'),
84
+ endValue: moment().subtract(1, 'weeks').endOf('isoWeek'),
85
+ },
86
+ {
87
+ text: 'Last Month',
88
+ startValue: moment().subtract(1, 'months').startOf('month'),
89
+ endValue: moment().subtract(1, 'months').endOf('month'),
90
+ },
91
+ ],
92
+ onRangeChange: () => {
93
+ // function when range changes
94
+ },
95
+ autoDropDirection: true,
96
+ dropup: false,
97
+ pullRight: false,
98
+ clearable: false,
99
+ onClear: () => undefined,
100
+ };
101
+ const LOCAL_DATE_FORMAT = 'dd L LT';
102
+ const LOCAL_DATE_FORMAT_NO_TIME = 'dd L';
103
+ const DROPDOWN_WIDTH = 600;
104
+ class DateRangePicker extends Component {
105
+ constructor(props) {
106
+ super(props);
107
+ const customRangeStartValue = props.startValue ? props.startValue : props.defaultStartValue;
108
+ const customRangeEndValue = props.endValue ? props.endValue : props.defaultEndValue;
109
+ this.state = {
110
+ internalStartValue: props.startValue,
111
+ internalEndValue: props.endValue,
112
+ isMounted: false,
113
+ isCustomVisible: props.customRangeOnly,
114
+ isDropdownOpen: false,
115
+ customRangeStartValue: moment(customRangeStartValue),
116
+ customRangeEndValue: moment(customRangeEndValue),
117
+ isStartValid: true,
118
+ isEndValid: true,
119
+ dropdownToggleText: _jsx(Placeholder, { text: props.textDefault }),
120
+ dropup: props.dropup,
121
+ pullRight: props.pullRight,
122
+ };
123
+ this.toggleDropdownOpen = this.toggleDropdownOpen.bind(this);
124
+ this.handleCustomToggle = this.handleCustomToggle.bind(this);
125
+ this.handleCustomApply = this.handleCustomApply.bind(this);
126
+ this.onStartChange = this.onStartChange.bind(this);
127
+ this.getValidStartDates = this.getValidStartDates.bind(this);
128
+ this.onEndChange = this.onEndChange.bind(this);
129
+ this.getValidEndDates = this.getValidEndDates.bind(this);
130
+ this.handleResetInternalState = this.handleResetInternalState.bind(this);
131
+ }
132
+ componentDidMount() {
133
+ const { startValue, endValue, locale } = this.props;
134
+ if (!this.state.isMounted) {
135
+ this.setState({
136
+ isMounted: true,
137
+ });
138
+ }
139
+ // initial mount value
140
+ if (startValue && endValue) {
141
+ this.update(startValue, endValue, locale);
142
+ }
143
+ }
144
+ /**
145
+ * Responsible for handling start/end values given from outside (controlled component context).
146
+ * @param {object} nextProps - The next props.
147
+ * @returns {undefined}
148
+ */
149
+ // eslint-disable-next-line camelcase
150
+ UNSAFE_componentWillReceiveProps(nextProps) {
151
+ const { startValue, endValue, textDefault, customRangeOnly, locale, defaultStartValue, defaultEndValue } = nextProps;
152
+ const { internalStartValue, internalEndValue } = this.state;
153
+ // handle reset:
154
+ // reset condition 1 is for uncontrolled components,
155
+ // making sure that when a time is selected, and then the locale changed, that the selection remains
156
+ const resetCondition1 = isNil(startValue) && isNil(endValue) && isNil(internalStartValue) && isNil(internalEndValue);
157
+ // reset condition 2 is for controlled components,
158
+ // when a time is set / defined, and the controlling component wants a hard reset
159
+ const resetCondition2 = isNull(startValue) && isNull(endValue);
160
+ // reset to original state
161
+ if (resetCondition1 || resetCondition2) {
162
+ this.setState({
163
+ internalStartValue: undefined,
164
+ internalEndValue: undefined,
165
+ customRangeStartValue: defaultStartValue,
166
+ customRangeEndValue: defaultEndValue,
167
+ dropdownToggleText: _jsx(Placeholder, { text: textDefault }),
168
+ isCustomVisible: customRangeOnly,
169
+ isDropdownOpen: false,
170
+ isStartValid: true,
171
+ isEndValid: true,
172
+ pullRight: nextProps.pullRight,
173
+ dropup: nextProps.dropup,
174
+ });
175
+ }
176
+ else if (startValue !== this.props.startValue || endValue !== this.props.endValue) {
177
+ this.update(startValue, endValue, locale);
178
+ }
179
+ else {
180
+ this.update(internalStartValue, internalEndValue, locale);
181
+ }
182
+ }
183
+ /**
184
+ * Converts start/end values to moments, makes them readable,
185
+ * crafts a dropdownToggleText and updates state.
186
+ * @param {object} startValue - the start date (date or moment).
187
+ * @param {object} endValue - the start date (date or moment).
188
+ * @param {object} locale - the locale to use.
189
+ * @param {object} extras - additional state, which needs to update.
190
+ * @param {object} callback - callback to be called, after state has changed.
191
+ * @returns {undefined}
192
+ */
193
+ update(startValue, endValue, locale, extras, callback) {
194
+ const { hasTimePicker } = this.props;
195
+ const format = hasTimePicker ? LOCAL_DATE_FORMAT : LOCAL_DATE_FORMAT_NO_TIME;
196
+ // necessary to set start to startOf / end day to endOf, when selecting "without time"
197
+ const finalStartValue = hasTimePicker ? moment(startValue) : moment(startValue).startOf('day');
198
+ const finalEndValue = hasTimePicker ? moment(endValue) : moment(endValue).endOf('day');
199
+ // composition of dropdownToggleText
200
+ const startValueText = `${finalStartValue.locale(locale).format(format)}`;
201
+ const endValueText = `${finalEndValue.locale(locale).format(format)}`;
202
+ const dropdownToggleText = startValueText === endValueText ? startValueText : `${startValueText} ${endValueText}`;
203
+ // set state, and call callback
204
+ this.setState(Object.assign({ internalStartValue: finalStartValue, internalEndValue: finalEndValue, customRangeStartValue: finalStartValue, customRangeEndValue: finalEndValue, dropdownToggleText,
205
+ startValueText,
206
+ endValueText, isStartValid: true, isEndValid: !finalEndValue.isBefore(finalStartValue) }, extras), () => {
207
+ callback && callback(finalStartValue, finalEndValue);
208
+ });
209
+ }
210
+ handleResetInternalState(event) {
211
+ if (event) {
212
+ event.preventDefault();
213
+ event.stopPropagation();
214
+ }
215
+ const { textDefault, customRangeOnly, defaultStartValue, defaultEndValue, pullRight, dropup, onClear } = this.props;
216
+ this.setState({
217
+ internalStartValue: undefined,
218
+ internalEndValue: undefined,
219
+ customRangeStartValue: defaultStartValue,
220
+ customRangeEndValue: defaultEndValue,
221
+ dropdownToggleText: _jsx(Placeholder, { text: textDefault }),
222
+ isCustomVisible: customRangeOnly,
223
+ isDropdownOpen: false,
224
+ isStartValid: true,
225
+ isEndValid: true,
226
+ startValueText: null,
227
+ endValueText: null,
228
+ pullRight: pullRight,
229
+ dropup: dropup,
230
+ });
231
+ onClear();
232
+ }
233
+ /**
234
+ * Gets called by wrapper component "onClickOutside".
235
+ * Responsible for closing the dropdown when a click occured outside.
236
+ * @returns {undefined}
237
+ */
238
+ handleClickOutside() {
239
+ if (this.state.isMounted) {
240
+ this.setState({
241
+ isDropdownOpen: false,
242
+ });
243
+ }
244
+ }
245
+ /**
246
+ * Toggles dropdown open status and visibility of custom range area.
247
+ * @param {object} event - mouse event on toggle dropdown
248
+ * @returns {undefined}
249
+ */
250
+ toggleDropdownOpen(event) {
251
+ const toggleNode = ReactDOM.findDOMNode(this.refDropdownToggle);
252
+ const menuNode = ReactDOM.findDOMNode(this.refDropdownMenu);
253
+ const dropDirection = this.isAutoDropActive() && !this.state.isDropdownOpen ? getDropDirection(toggleNode, menuNode) : {};
254
+ const left = event.currentTarget.getBoundingClientRect().left;
255
+ this.setState(prevState => (Object.assign(Object.assign({ isDropdownOpen: !prevState.isDropdownOpen, isCustomVisible: this.props.customRangeOnly }, dropDirection), { pullRight: left + DROPDOWN_WIDTH > document.body.clientWidth })));
256
+ }
257
+ isAutoDropActive() {
258
+ return !(!this.props.autoDropDirection || this.props.dropup || this.props.pullRight);
259
+ }
260
+ /**
261
+ * Only gets called on manual change of datePicker (user interaction).
262
+ * Has influence the validity of the end date.
263
+ *
264
+ * Important to note that the start date is not limited,
265
+ * whereas the end date is limited by the start date (see 'getValidEndDates').
266
+ *
267
+ * @param {object} startValue - the start date (date or moment).
268
+ * @param {object} isValidDate - if the date is valid or not.
269
+ * @returns {undefined}
270
+ */
271
+ onStartChange(startValue, isValidDate) {
272
+ const newState = { isStartValid: false };
273
+ const { hasTimePicker, minValue, maxValue } = this.props;
274
+ const { customRangeEndValue } = this.state;
275
+ if (moment.isMoment(startValue)) {
276
+ // necessary to set start to startOf / end day to endOf, when selecting "without time"
277
+ const finalStartValue = hasTimePicker ? startValue : moment(startValue).startOf('day');
278
+ // check validity of input (min/max)
279
+ const passesMin = minValue ? finalStartValue.isSameOrAfter(moment(minValue)) : true;
280
+ const passesMax = maxValue ? finalStartValue.isSameOrBefore(moment(maxValue)) : true;
281
+ const isValidInput = isValidDate && passesMin && passesMax;
282
+ newState.isStartValid = isValidInput;
283
+ if (isValidDate) {
284
+ newState.customRangeStartValue = finalStartValue;
285
+ newState.isEndValid = !customRangeEndValue.isBefore(finalStartValue);
286
+ }
287
+ }
288
+ this.setState(newState);
289
+ }
290
+ /**
291
+ * Only gets called on manual change of datePicker (user interaction)
292
+ * @param {object} endValue - the start date (date or moment).
293
+ * @param {object} isValidDate - if the date is valid or not.
294
+ * @returns {undefined}
295
+ */
296
+ onEndChange(endValue, isValidDate) {
297
+ const newState = { isEndValid: false };
298
+ const { hasTimePicker, minValue, maxValue } = this.props;
299
+ const { customRangeStartValue } = this.state;
300
+ // let isValidInput = false;
301
+ if (moment.isMoment(endValue)) {
302
+ // necessary to set end of seconds and milliseconds for every end value
303
+ const correctedEndValue = isValidDate ? endValue.endOf('minute') : endValue;
304
+ // necessary to set start to startOf / end day to endOf, when selecting "without time"
305
+ const finalEndValue = hasTimePicker ? correctedEndValue : moment(endValue).endOf('day');
306
+ // check validity of input (min/max)
307
+ const passesMin = minValue ? finalEndValue.isSameOrAfter(moment(minValue)) : true;
308
+ const passesMax = maxValue ? finalEndValue.isSameOrBefore(moment(maxValue)) : true;
309
+ const isValidInput = isValidDate && passesMin && passesMax && finalEndValue.isAfter(customRangeStartValue);
310
+ newState.isEndValid = isValidInput;
311
+ if (isValidDate) {
312
+ newState.customRangeEndValue = finalEndValue;
313
+ }
314
+ }
315
+ this.setState(newState);
316
+ }
317
+ /**
318
+ * Callback method for DatePicker to limit selection in DatePicker.
319
+ * @param {object} current - Current date in the loop.
320
+ * @returns {undefined}
321
+ */
322
+ getValidStartDates(current) {
323
+ const { minValue, maxValue } = this.props;
324
+ const customRangeEndValue = moment(this.state.customRangeEndValue);
325
+ if (current.isSame(customRangeEndValue, 'day')) {
326
+ return true;
327
+ }
328
+ const passesMin = minValue ? current.isSameOrAfter(moment(minValue)) : true;
329
+ const passesMax = maxValue ? current.isSameOrBefore(moment(maxValue)) : true;
330
+ return passesMin && passesMax;
331
+ }
332
+ /**
333
+ * Callback method for DatePicker to limit selection in DatePicker.
334
+ * End date has to be after start date.
335
+ * @param {object} current - Current date in the loop.
336
+ * @returns {undefined}
337
+ */
338
+ getValidEndDates(current) {
339
+ const { minValue, maxValue } = this.props;
340
+ const customRangeStartValue = moment(this.state.customRangeStartValue);
341
+ if (current.isSame(customRangeStartValue, 'day')) {
342
+ return true;
343
+ }
344
+ const passesMin = minValue ? current.isSameOrAfter(moment(minValue)) : true;
345
+ const passesMax = maxValue ? current.isSameOrBefore(moment(maxValue)) : true;
346
+ const isAfterStart = current.isAfter(customRangeStartValue);
347
+ return passesMin && passesMax && isAfterStart;
348
+ }
349
+ /**
350
+ * Gets called when "custom ..." has been selected.
351
+ * @returns {undefined}
352
+ */
353
+ handleCustomToggle() {
354
+ this.setState(prevState => {
355
+ return {
356
+ isCustomVisible: !prevState.isCustomVisible,
357
+ };
358
+ });
359
+ }
360
+ handleCustomPresetSelect(preset) {
361
+ if (typeof preset.onSelect === 'function') {
362
+ preset.onSelect();
363
+ }
364
+ this.handleSelect(preset.startValue, preset.endValue);
365
+ }
366
+ /**
367
+ * Gets called when a preset has been selected.
368
+ * @param {object} startValue - the start date (date or moment).
369
+ * @param {object} endValue - the start date (date or moment).
370
+ * @returns {undefined}
371
+ */
372
+ handleSelect(startValue, endValue) {
373
+ const { onRangeChange, locale } = this.props;
374
+ const extras = { isDropdownOpen: false };
375
+ this.update(startValue, endValue, locale, extras, onRangeChange);
376
+ }
377
+ /**
378
+ * Gets called user clicks the apply button.
379
+ * @returns {undefined}
380
+ */
381
+ handleCustomApply() {
382
+ const { customRangeStartValue, customRangeEndValue, isStartValid, isEndValid } = this.state;
383
+ const { onRangeChange, locale } = this.props;
384
+ if (isStartValid && isEndValid) {
385
+ const extras = { isDropdownOpen: false };
386
+ this.update(customRangeStartValue, customRangeEndValue, locale, extras, onRangeChange);
387
+ }
388
+ }
389
+ getDropdownToggle(dropdownToggleText) {
390
+ const { children, clearable } = this.props;
391
+ const { startValueText, endValueText } = this.state;
392
+ const isClearable = clearable && dropdownToggleText.type !== Placeholder;
393
+ const labelClassNames = classNames(isClearable && 'withClearButton');
394
+ const isRenderCallback = children && typeof children === 'function';
395
+ // Note: due to issues with nested events in Firefox (for toggle and inside the clear)
396
+ // the toggle element must not be a <button> but a div.
397
+ return (_jsxs("div", Object.assign({ type: 'button', className: 'DateRangePickerToggle form-control dropdown-toggle text-left', "aria-haspopup": 'true', "aria-expanded": 'true', onClick: this.toggleDropdownOpen, ref: node => (this.refDropdownToggle = node) }, { children: [isRenderCallback ? (this.props.children(startValueText, endValueText)) : (_jsx("span", Object.assign({ className: labelClassNames }, { children: dropdownToggleText }))), isClearable && this.getClearButton(), _jsx("span", { className: 'caret' })] })));
398
+ }
399
+ getClearButton() {
400
+ return (_jsx("span", Object.assign({ className: 'clearButton', onClick: this.handleResetInternalState }, { children: _jsx("span", { className: 'clearButtonIcon rioglyph rioglyph-remove-sign' }) })));
401
+ }
402
+ getCustomPanelToggle(isCustomVisible, textCustom) {
403
+ return (_jsx("li", Object.assign({ className: classNames('custom-panel-toggle', isCustomVisible && 'hidden') }, { children: _jsxs("a", Object.assign({ role: 'button', onClick: this.handleCustomToggle }, { children: [textCustom, " ..."] })) })));
404
+ }
405
+ getCustomPanelButtons(isCustomVisible, isStartValid, isEndValid, textApply, textCancel) {
406
+ return (_jsx("li", Object.assign({ className: classNames('custom-panel-buttons', 'margin-20', !isCustomVisible && 'hidden') }, { children: _jsxs("div", Object.assign({ className: 'btn-toolbar' }, { children: [_jsx("button", Object.assign({ type: 'button', disabled: !isStartValid || !isEndValid, onClick: this.handleCustomApply, className: 'btn btn-primary pull-right' }, { children: textApply })), _jsx("button", Object.assign({ type: 'button', onClick: this.toggleDropdownOpen, className: 'btn btn-default pull-right' }, { children: textCancel }))] })) })));
407
+ }
408
+ // eslint-disable-next-line complexity
409
+ render() {
410
+ const { locale, textCustom, textApply, textCancel, textFrom, textTo, textToday, textLastWeek, textLastMonth, className, clearable, dropdownClass, dropdownMenuClass, customPresets, hasTimePicker, } = this.props;
411
+ const { customRangeStartValue, customRangeEndValue, isStartValid, isEndValid, isCustomVisible, isDropdownOpen, dropdownToggleText, } = this.state;
412
+ const pullRight = this.isAutoDropActive() ? this.state.pullRight : this.props.pullRight;
413
+ const dropup = this.isAutoDropActive() ? this.state.dropup : this.props.dropup;
414
+ if (customPresets && isEqual(customPresets, defaultProps.customPresets)) {
415
+ // support backward compatibility to override default drop down text values
416
+ customPresets[0].text = textToday;
417
+ customPresets[1].text = textLastWeek;
418
+ customPresets[2].text = textLastMonth;
419
+ }
420
+ const classes = classNames('DateRangePicker', className && className);
421
+ const dropDownClassNames = classNames('select', 'dropdown', dropdownClass, isDropdownOpen && 'open', dropup && 'dropup');
422
+ return (_jsx("div", Object.assign({ className: classes }, { children: _jsxs("div", Object.assign({ className: dropDownClassNames }, { children: [this.getDropdownToggle(dropdownToggleText, clearable), _jsxs("ul", Object.assign({ className: classNames('dropdown-menu', pullRight && 'pull-right', dropdownMenuClass), ref: node => (this.refDropdownMenu = node) }, { children: [customPresets.map((preset, i) => {
423
+ return (_jsx("li", Object.assign({ title: (preset.disabled && preset.disabledText) || null, className: classNames(preset.disabled && 'disabled') }, { children: _jsx("a", Object.assign({ role: 'button', className: classNames(isCustomVisible && 'hidden'), onClick: !preset.disabled
424
+ ? this.handleCustomPresetSelect.bind(this, preset)
425
+ : undefined }, { children: preset.text })) }), `preset-${i}`));
426
+ }), _jsx("li", { role: 'separator', className: classNames('divider', isCustomVisible && 'hidden') }), this.getCustomPanelToggle(isCustomVisible, textCustom), _jsx("li", Object.assign({ className: classNames('custom-panel', !isCustomVisible && 'hidden') }, { children: _jsxs("div", Object.assign({ className: 'row' }, { children: [_jsxs("div", Object.assign({ className: 'col-sm-6' }, { children: [_jsx("label", { children: textFrom }), _jsx(DatePicker, { locale: locale, open: true, autoDropDirection: false, dateFormat: true, timeFormat: hasTimePicker, initialValue: customRangeStartValue, onChange: this.onStartChange, closeOnSelect: true, isValidDate: this.getValidStartDates, className: classNames('DatePicker', !isStartValid && 'has-error') })] })), _jsxs("div", Object.assign({ className: 'col-sm-6' }, { children: [_jsx("label", { children: textTo }), _jsx(DatePicker, { locale: locale, open: true, autoDropDirection: false, dateFormat: true, timeFormat: hasTimePicker, initialValue: customRangeEndValue, onChange: this.onEndChange, closeOnSelect: true, isValidDate: this.getValidEndDates, className: classNames('DatePicker', !isEndValid && 'has-error') })] }))] })) })), this.getCustomPanelButtons(isCustomVisible, isStartValid, isEndValid, textApply, textCancel)] }))] })) })));
427
+ }
428
+ }
429
+ DateRangePicker.propTypes = propTypes;
430
+ DateRangePicker.defaultProps = defaultProps;
431
+ export default onClickOutside(DateRangePicker);
432
+ export { DateRangePicker as DateRangePickerPure };