@rio-cloud/rio-uikit 0.16.1-beta.23 → 0.16.1
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.
- package/ActionBarItem.d.ts +1 -1
- package/ActionBarItemList.d.ts +1 -1
- package/ActionBarItemListItem.d.ts +1 -1
- package/ActionBarItemListSeparator.d.ts +1 -1
- package/Activity.d.ts +1 -1
- package/AnimatedNumber.d.ts +1 -1
- package/AppNavigationBar.d.ts +1 -1
- package/ApplicationHeader.d.ts +1 -1
- package/ApplicationLayout.d.ts +1 -1
- package/ApplicationLayoutBodyBanner.d.ts +1 -1
- package/ApplicationLayoutBodyBottomBar.d.ts +1 -1
- package/ApplicationLayoutBodyNavigation.d.ts +1 -1
- package/Area.d.ts +1 -1
- package/AreaChart.d.ts +1 -1
- package/AreaGradient.d.ts +1 -1
- package/AssetTree.d.ts +1 -1
- package/AutoSuggest.d.ts +6 -5
- package/Bar.d.ts +5 -2
- package/BarChart.d.ts +1 -1
- package/BottomSheet.d.ts +1 -1
- package/BrowserWarning.d.ts +1 -1
- package/Button.d.ts +24 -2
- package/ButtonDropdown.d.ts +1 -1
- package/Carousel.d.ts +3 -1
- package/ChartNeedle.d.ts +1 -1
- package/ChartTooltip.d.ts +1 -1
- package/Checkbox.d.ts +1 -1
- package/Circle.d.ts +1 -1
- package/ClearableInput.d.ts +1 -1
- package/ClusterLayer.d.ts +1 -1
- package/ClusterMapMarker.d.ts +1 -1
- package/ClusterUtils.d.ts +1 -1
- package/Collapse.d.ts +1 -1
- package/Colors.d.ts +1 -1
- package/ConfirmationDialog.d.ts +9 -2
- package/ContentLoader.d.ts +5 -2
- package/ContextMenu.d.ts +1 -1
- package/ContextMenuItem.d.ts +1 -1
- package/CustomState.d.ts +1 -1
- package/DataTab.d.ts +1 -1
- package/DataTabs.d.ts +1 -1
- package/DatePicker.d.ts +1 -1
- package/DateRangePicker.d.ts +1 -1
- package/DeviceUtils.d.ts +1 -1
- package/Dialog.d.ts +1 -1
- package/DomMarker.d.ts +1 -1
- package/DropdownSubmenu.d.ts +1 -1
- package/EmptyState.d.ts +1 -1
- package/EnhancedMapEvent.d.ts +1 -1
- package/ErrorState.d.ts +1 -1
- package/EventUtils.d.ts +1 -1
- package/ExpanderList.d.ts +5 -5
- package/ExpanderPanel.d.ts +1 -1
- package/Fade.d.ts +11 -2
- package/FilePicker.d.ts +6 -2
- package/ForbiddenState.d.ts +1 -1
- package/ImagePreloader.d.ts +1 -1
- package/IncidentsLayer.d.ts +1 -1
- package/InfoDialog.d.ts +1 -1
- package/Legend.d.ts +1 -1
- package/Line.d.ts +1 -1
- package/LineChart.d.ts +1 -1
- package/ListMenu.d.ts +6 -5
- package/LoadMoreButton.d.ts +1 -1
- package/MaintenanceState.d.ts +1 -1
- package/Map.d.ts +10 -7
- package/MapBoundingBoxButton.d.ts +1 -1
- package/MapCenterMarkerButton.d.ts +1 -1
- package/MapClusterSettings.d.ts +1 -1
- package/MapCustomerPoiSettingsItem.d.ts +1 -1
- package/MapLayerGroup.d.ts +1 -1
- package/MapLayerIncidentsItem.d.ts +1 -1
- package/MapLayerRoadRestrictionsItem.d.ts +1 -1
- package/MapLayerSettings.d.ts +1 -1
- package/MapLayerTrafficItem.d.ts +1 -1
- package/MapLockMarkerButton.d.ts +1 -1
- package/MapSettings.d.ts +1 -1
- package/MapSettingsItem.d.ts +1 -1
- package/MapSettingsPanel.d.ts +1 -1
- package/MapSettingsTile.d.ts +1 -1
- package/MapTypeSettings.d.ts +1 -1
- package/MapWorkshopPoiSettingsItem.d.ts +1 -1
- package/Marker.d.ts +1 -1
- package/MarkerLayer.d.ts +1 -1
- package/MediaDialog.d.ts +8 -4
- package/MenuItem.d.ts +2 -2
- package/Multiselect.d.ts +11 -4
- package/NoData.d.ts +1 -1
- package/NotBookedState.d.ts +1 -1
- package/NotFoundState.d.ts +1 -1
- package/Notification.d.ts +1 -1
- package/NotificationsContainer.d.ts +1 -1
- package/NumberControl.d.ts +5 -2
- package/NumberInput.d.ts +5 -2
- package/OnboardingTip.d.ts +27 -2
- package/OverlayTrigger.d.ts +26 -2
- package/Pager.d.ts +1 -1
- package/PieChart.d.ts +1 -1
- package/Polygon.d.ts +1 -1
- package/Polyline.d.ts +1 -1
- package/Popover.d.ts +8 -2
- package/Position.d.ts +1 -1
- package/PositionUtils.d.ts +1 -1
- package/RadialBarChart.d.ts +1 -1
- package/RadioButton.d.ts +1 -1
- package/RangeSlider.d.ts +1 -1
- package/ReleaseNotes.d.ts +1 -1
- package/ReleaseNotesDialog.d.ts +1 -1
- package/Resizer.d.ts +10 -2
- package/ResponsiveVideo.d.ts +5 -2
- package/Route.d.ts +1 -1
- package/RuleConnector.d.ts +9 -0
- package/RuleConnector.js +2 -0
- package/RuleContainer.d.ts +5 -0
- package/RuleContainer.js +2 -0
- package/RulesWrapper.d.ts +5 -0
- package/RulesWrapper.js +2 -0
- package/SaveDialog.d.ts +9 -2
- package/Select.d.ts +5 -5
- package/Sidebar.d.ts +8 -2
- package/SimpleButtonDropdown.d.ts +1 -1
- package/SimpleClusterLayer.d.ts +1 -1
- package/SimpleDialog.d.ts +9 -2
- package/SimpleTooltip.d.ts +26 -2
- package/SingleButtonDropdown.d.ts +1 -1
- package/SingleMapMarker.d.ts +1 -1
- package/Slider.d.ts +1 -1
- package/SortArrowDown.d.ts +1 -1
- package/SortArrowUp.d.ts +1 -1
- package/SortArrows.d.ts +1 -1
- package/SortDirection.d.ts +1 -1
- package/SortUtils.d.ts +1 -1
- package/Spinner.d.ts +1 -1
- package/SplitButtonDropdown.d.ts +1 -1
- package/SplitDialog.d.ts +9 -2
- package/StatsWidget.d.ts +1 -1
- package/StatsWidgetNumber.d.ts +1 -1
- package/StatsWidgetSpacer.d.ts +1 -1
- package/StatsWidgets.d.ts +1 -1
- package/StatusBar.d.ts +1 -1
- package/SteppedProgressBar.d.ts +6 -2
- package/SubNavigation.d.ts +1 -1
- package/Switch.d.ts +5 -2
- package/TableCardsSorting.d.ts +1 -1
- package/TableSearch.d.ts +1 -1
- package/TableSettingsDialog.d.ts +1 -1
- package/TableToolbar.d.ts +1 -1
- package/TableViewToggles.d.ts +1 -1
- package/Tag.d.ts +1 -1
- package/TagList.d.ts +1 -1
- package/TagManager.d.ts +5 -5
- package/Teaser.d.ts +1 -1
- package/TeaserContainer.d.ts +1 -1
- package/TextMarker.d.ts +1 -1
- package/TimePicker.d.ts +1 -1
- package/ToggleButton.d.ts +1 -1
- package/Tooltip.d.ts +29 -2
- package/TrafficLayer.d.ts +1 -1
- package/Tree.d.ts +1 -1
- package/TreeCategory.d.ts +1 -1
- package/TreeOption.d.ts +1 -1
- package/TreeSearch.d.ts +1 -1
- package/TreeSummary.d.ts +1 -1
- package/TruckLayer.d.ts +1 -1
- package/TypeCounter.d.ts +1 -1
- package/VolkswagenApplicationHeader.d.ts +1 -1
- package/components/button/Button.js +6 -3
- package/components/datepicker/DatePicker.js +5 -2
- package/components/dialog/SplitDialog.js +5 -2
- package/components/dropdown/ButtonDropdown.js +9 -3
- package/components/map/components/Map.js +24 -1
- package/components/overlay/OverlayTrigger.js +2 -1
- package/components/rules/RuleConnector.js +76 -0
- package/components/rules/RuleContainer.js +68 -0
- package/components/rules/RulesWrapper.js +17 -0
- package/components/selects/BaseDropdownMenu.js +40 -26
- package/components/selects/Multiselect.js +5 -3
- package/components/selects/Select.js +7 -5
- package/framer-motion.d.ts +1 -0
- package/index.d.ts +7 -1
- package/index.js +6 -0
- package/lib/es/AutoSuggest.d.ts +6 -5
- package/lib/es/Bar.d.ts +4 -1
- package/lib/es/Button.d.ts +23 -1
- package/lib/es/Carousel.d.ts +2 -0
- package/lib/es/ConfirmationDialog.d.ts +8 -1
- package/lib/es/ContentLoader.d.ts +4 -1
- package/lib/es/ExpanderList.d.ts +5 -5
- package/lib/es/Fade.d.ts +10 -1
- package/lib/es/FilePicker.d.ts +5 -1
- package/lib/es/ListMenu.d.ts +6 -5
- package/lib/es/Map.d.ts +10 -7
- package/lib/es/MediaDialog.d.ts +8 -4
- package/lib/es/MenuItem.d.ts +1 -1
- package/lib/es/Multiselect.d.ts +11 -4
- package/lib/es/NumberControl.d.ts +4 -1
- package/lib/es/NumberInput.d.ts +4 -1
- package/lib/es/OnboardingTip.d.ts +26 -1
- package/lib/es/OverlayTrigger.d.ts +25 -1
- package/lib/es/Popover.d.ts +7 -1
- package/lib/es/Resizer.d.ts +9 -1
- package/lib/es/ResponsiveVideo.d.ts +4 -1
- package/lib/es/RuleConnector.d.ts +9 -0
- package/lib/es/RuleConnector.js +13 -0
- package/lib/es/RuleContainer.d.ts +5 -0
- package/lib/es/RuleContainer.js +13 -0
- package/lib/es/RulesWrapper.d.ts +5 -0
- package/lib/es/RulesWrapper.js +13 -0
- package/lib/es/SaveDialog.d.ts +8 -1
- package/lib/es/Select.d.ts +5 -5
- package/lib/es/Sidebar.d.ts +7 -1
- package/lib/es/SimpleDialog.d.ts +8 -1
- package/lib/es/SimpleTooltip.d.ts +25 -1
- package/lib/es/SplitDialog.d.ts +8 -1
- package/lib/es/SteppedProgressBar.d.ts +5 -1
- package/lib/es/Switch.d.ts +4 -1
- package/lib/es/TagManager.d.ts +5 -5
- package/lib/es/Tooltip.d.ts +28 -1
- package/lib/es/components/button/Button.js +6 -3
- package/lib/es/components/datepicker/DatePicker.js +3 -3
- package/lib/es/components/dialog/SplitDialog.js +5 -2
- package/lib/es/components/dropdown/ButtonDropdown.js +9 -3
- package/lib/es/components/map/components/Map.js +24 -1
- package/lib/es/components/overlay/OverlayTrigger.js +2 -1
- package/lib/es/components/rules/RuleConnector.js +84 -0
- package/lib/es/components/rules/RuleContainer.js +76 -0
- package/lib/es/components/rules/RulesWrapper.js +25 -0
- package/lib/es/components/selects/BaseDropdownMenu.js +40 -26
- package/lib/es/components/selects/Multiselect.js +5 -3
- package/lib/es/components/selects/Select.js +7 -5
- package/lib/es/framer-motion.d.ts +1 -0
- package/lib/es/index.d.ts +8 -2
- package/lib/es/index.js +24 -0
- package/lib/es/styles/components/Dialog.less +10 -0
- package/lib/es/styles/components/Dropdown.less +11 -2
- package/lib/es/styles/components/Select.less +5 -6
- package/lib/es/styles/design/box-sizing.less +8 -0
- package/lib/es/styles/design/fonts.less +23 -23
- package/lib/es/styles/design/normalize.less +0 -2
- package/lib/es/styles/design/responsive/flexgrid.less +4 -6
- package/lib/es/styles/design/responsive/sizing.less +3 -0
- package/lib/es/styles/design/tables.less +5 -0
- package/lib/es/styles/mixins/panels.less +3 -3
- package/lib/es/styles/print/print.less +36 -4
- package/lib/es/styles/rio-uikit-core.less +2 -1
- package/lib/es/styles/rio-uikit-print-utilities.less +1 -0
- package/lib/es/themes/Website/styles/rio-website.less +2 -2
- package/lib/es/types.ts +40 -16
- package/lib/es/utils/init.js +1 -1
- package/lib/es/version.json +1 -1
- package/package.json +13 -11
- package/styles/components/Dialog.less +10 -0
- package/styles/components/Dropdown.less +11 -2
- package/styles/components/Select.less +5 -6
- package/styles/design/box-sizing.less +8 -0
- package/styles/design/fonts.less +23 -23
- package/styles/design/normalize.less +0 -2
- package/styles/design/responsive/flexgrid.less +4 -6
- package/styles/design/responsive/sizing.less +3 -0
- package/styles/design/tables.less +5 -0
- package/styles/mixins/panels.less +3 -3
- package/styles/print/print.less +36 -4
- package/styles/rio-uikit-core.less +2 -1
- package/styles/rio-uikit-print-utilities.less +1 -0
- package/themes/Website/styles/rio-website.less +2 -2
- package/types.ts +40 -16
- package/useAfterMount.d.ts +1 -1
- package/useClickOutside.d.ts +1 -1
- package/useClipboard.d.ts +1 -1
- package/useDebugInfo.d.ts +1 -1
- package/useEffectOnce.d.ts +1 -1
- package/useElementSize.d.ts +1 -1
- package/useEsc.d.ts +1 -1
- package/useEvent.d.ts +1 -1
- package/useFullscreen.d.ts +1 -1
- package/useInterval.d.ts +1 -1
- package/useKey.d.ts +1 -1
- package/useLocalStorage.d.ts +1 -1
- package/useOnScreen.d.ts +1 -1
- package/useOnlineStatus.d.ts +1 -1
- package/useRenderCount.d.ts +1 -1
- package/useResizeObserver.d.ts +1 -1
- package/useSessionStorage.d.ts +1 -1
- package/useStateWithValidation.d.ts +1 -1
- package/useTimeout.d.ts +1 -1
- package/useWindowResize.d.ts +1 -1
- package/utils/init.js +1 -1
- package/version.json +1 -1
- package/.DS_Store +0 -0
- package/components/.DS_Store +0 -0
- package/components/map/.DS_Store +0 -0
- package/lib/.DS_Store +0 -0
- package/lib/es/.DS_Store +0 -0
- package/lib/es/components/.DS_Store +0 -0
- package/lib/es/styles/.DS_Store +0 -0
- package/lib/es/themes/.DS_Store +0 -0
- package/styles/.DS_Store +0 -0
- package/themes/.DS_Store +0 -0
- package/themes/Volkswagen/.DS_Store +0 -0
package/SplitButtonDropdown.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module '@rio-cloud/rio-uikit/
|
|
1
|
+
declare module '@rio-cloud/rio-uikit/SplitButtonDropdown' {
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { SplitButtonDropdownProps } from './types';
|
|
4
4
|
export default class SplitButtonDropdown extends React.Component<SplitButtonDropdownProps> {}
|
package/SplitDialog.d.ts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
declare module '@rio-cloud/rio-uikit/
|
|
1
|
+
declare module '@rio-cloud/rio-uikit/SplitDialog' {
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { SplitDialogProps } from './types';
|
|
4
|
-
export default class SplitDialog extends React.Component<SplitDialogProps> {
|
|
4
|
+
export default class SplitDialog extends React.Component<SplitDialogProps> {
|
|
5
|
+
static SIZE_SM = 'sm';
|
|
6
|
+
static SIZE_MD = 'md';
|
|
7
|
+
static SIZE_LG = 'lg';
|
|
8
|
+
static SIZE_XL = 'xl';
|
|
9
|
+
static SIZE_FULL = 'full';
|
|
10
|
+
static SIZE_FULL_SCREEN = 'fullscreen';
|
|
11
|
+
}
|
|
5
12
|
}
|
package/StatsWidget.d.ts
CHANGED
package/StatsWidgetNumber.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module '@rio-cloud/rio-uikit/
|
|
1
|
+
declare module '@rio-cloud/rio-uikit/StatsWidgetNumber' {
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { StatsWidgetNumberProps } from './types';
|
|
4
4
|
export default class StatsWidgetNumber extends React.Component<StatsWidgetNumberProps> {}
|
package/StatsWidgetSpacer.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module '@rio-cloud/rio-uikit/
|
|
1
|
+
declare module '@rio-cloud/rio-uikit/StatsWidgetSpacer' {
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { StatsWidgetSpacerProps } from './types';
|
|
4
4
|
export default class StatsWidgetSpacer extends React.Component<StatsWidgetSpacerProps> {}
|
package/StatsWidgets.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module '@rio-cloud/rio-uikit/
|
|
1
|
+
declare module '@rio-cloud/rio-uikit/StatsWidgets' {
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { StatsWidgetsProps } from './types';
|
|
4
4
|
export default class StatsWidgets extends React.Component<StatsWidgetsProps> {}
|
package/StatusBar.d.ts
CHANGED
package/SteppedProgressBar.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
declare module '@rio-cloud/rio-uikit/
|
|
1
|
+
declare module '@rio-cloud/rio-uikit/SteppedProgressBar' {
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { SteppedProgressBarProps } from './types';
|
|
4
|
-
export default class SteppedProgressBar extends React.Component<SteppedProgressBarProps> {
|
|
4
|
+
export default class SteppedProgressBar extends React.Component<SteppedProgressBarProps> {
|
|
5
|
+
static VARIANT_CIRCLE = 'circle';
|
|
6
|
+
static VARIANT_RECTANGLE = 'rectangle';
|
|
7
|
+
static VARIANT_ROADSIGN = 'roadsign';
|
|
8
|
+
}
|
|
5
9
|
}
|
package/SubNavigation.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module '@rio-cloud/rio-uikit/
|
|
1
|
+
declare module '@rio-cloud/rio-uikit/SubNavigation' {
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { SubNavigationProps } from './types';
|
|
4
4
|
export default class SubNavigation extends React.Component<SubNavigationProps> {}
|
package/Switch.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
declare module '@rio-cloud/rio-uikit/
|
|
1
|
+
declare module '@rio-cloud/rio-uikit/Switch' {
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { SwitchProps } from './types';
|
|
4
|
-
export default class Switch extends React.Component<SwitchProps> {
|
|
4
|
+
export default class Switch extends React.Component<SwitchProps> {
|
|
5
|
+
static LABEL_POSITION_LEFT = 'left';
|
|
6
|
+
static LABEL_POSITION_RIGHT = 'right';
|
|
7
|
+
}
|
|
5
8
|
}
|
package/TableCardsSorting.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module '@rio-cloud/rio-uikit/
|
|
1
|
+
declare module '@rio-cloud/rio-uikit/TableCardsSorting' {
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { TableCardsSortingProps } from './types';
|
|
4
4
|
export default class TableCardsSorting extends React.Component<TableCardsSortingProps> {}
|
package/TableSearch.d.ts
CHANGED
package/TableSettingsDialog.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module '@rio-cloud/rio-uikit/
|
|
1
|
+
declare module '@rio-cloud/rio-uikit/TableSettingsDialog' {
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { TableSettingsDialogProps } from './types';
|
|
4
4
|
export default class TableSettingsDialog extends React.Component<TableSettingsDialogProps> {}
|
package/TableToolbar.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module '@rio-cloud/rio-uikit/
|
|
1
|
+
declare module '@rio-cloud/rio-uikit/TableToolbar' {
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { TableToolbarProps } from './types';
|
|
4
4
|
export default class TableToolbar extends React.Component<TableToolbarProps> {}
|
package/TableViewToggles.d.ts
CHANGED
package/Tag.d.ts
CHANGED
package/TagList.d.ts
CHANGED
package/TagManager.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TagManagerProps } from './types';
|
|
3
|
+
|
|
4
|
+
export { TagManagerTag } from './types';
|
|
5
|
+
export default class TagManager extends React.Component<TagManagerProps> {}
|
package/Teaser.d.ts
CHANGED
package/TeaserContainer.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module '@rio-cloud/rio-uikit/
|
|
1
|
+
declare module '@rio-cloud/rio-uikit/TeaserContainer' {
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { TeaserContainerProps } from './types';
|
|
4
4
|
export default class TeaserContainer extends React.Component<TeaserContainerProps> {}
|
package/TextMarker.d.ts
CHANGED
package/TimePicker.d.ts
CHANGED
package/ToggleButton.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module '@rio-cloud/rio-uikit/
|
|
1
|
+
declare module '@rio-cloud/rio-uikit/ToggleButton' {
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ToggleButtonProps } from './types';
|
|
4
4
|
export default class ToggleButton extends React.Component<ToggleButtonProps> {}
|
package/Tooltip.d.ts
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
|
-
declare module '@rio-cloud/rio-uikit/
|
|
1
|
+
declare module '@rio-cloud/rio-uikit/Tooltip' {
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { TooltipProps } from './types';
|
|
4
|
-
export default class Tooltip extends React.Component<TooltipProps> {
|
|
4
|
+
export default class Tooltip extends React.Component<TooltipProps> {
|
|
5
|
+
static STYLE_DEFAULT = 'default';
|
|
6
|
+
static STYLE_ONBOARDING = 'onboarding';
|
|
7
|
+
|
|
8
|
+
static AUTO_START = 'auto-start';
|
|
9
|
+
static AUTO = 'auto';
|
|
10
|
+
static AUTO_END = 'auto-end';
|
|
11
|
+
|
|
12
|
+
static TOP_START = 'top-start';
|
|
13
|
+
static TOP = 'top';
|
|
14
|
+
static TOP_END = 'top-end';
|
|
15
|
+
|
|
16
|
+
static BOTTOM_START = 'bottom-start';
|
|
17
|
+
static BOTTOM = 'bottom';
|
|
18
|
+
static BOTTOM_END = 'bottom-end';
|
|
19
|
+
|
|
20
|
+
static RIGHT_START = 'right-start';
|
|
21
|
+
static RIGHT = 'right';
|
|
22
|
+
static RIGHT_END = 'right-end';
|
|
23
|
+
|
|
24
|
+
static LEFT_START = 'left-start';
|
|
25
|
+
static LEFT = 'left';
|
|
26
|
+
static LEFT_END = 'left-end';
|
|
27
|
+
|
|
28
|
+
static TEXT_ALIGNMENT_LEFT = 'left';
|
|
29
|
+
static TEXT_ALIGNMENT_CENTER = 'center';
|
|
30
|
+
static TEXT_ALIGNMENT_RIGHT = 'right';
|
|
31
|
+
}
|
|
5
32
|
}
|
package/TrafficLayer.d.ts
CHANGED
package/Tree.d.ts
CHANGED
package/TreeCategory.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module '@rio-cloud/rio-uikit/
|
|
1
|
+
declare module '@rio-cloud/rio-uikit/TreeCategory' {
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { TreeCategoryProps } from './types';
|
|
4
4
|
export default class TreeCategory extends React.Component<TreeCategoryProps> {}
|
package/TreeOption.d.ts
CHANGED
package/TreeSearch.d.ts
CHANGED
package/TreeSummary.d.ts
CHANGED
package/TruckLayer.d.ts
CHANGED
package/TypeCounter.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module '@rio-cloud/rio-uikit/
|
|
1
|
+
declare module '@rio-cloud/rio-uikit/VolkswagenApplicationHeader' {
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ApplicationHeaderProps } from './types';
|
|
4
4
|
export default class VolkswagenApplicationHeader extends React.Component<ApplicationHeaderProps> {}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
|
-
var _excluded = ["active", "disabled", "asToggle", "onClick", "bsStyle", "bsSize", "variant", "iconOnly", "multiline", "block", "className", "children"];
|
|
4
|
+
var _excluded = ["active", "disabled", "asToggle", "onClick", "bsStyle", "bsSize", "variant", "iconOnly", "multiline", "block", "className", "noRippleEffect", "children"];
|
|
5
5
|
import React, { useState, useRef, useEffect } from 'react';
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
7
|
import classNames from 'classnames';
|
|
@@ -18,6 +18,7 @@ var Button = function Button(props) {
|
|
|
18
18
|
multiline = props.multiline,
|
|
19
19
|
block = props.block,
|
|
20
20
|
className = props.className,
|
|
21
|
+
noRippleEffect = props.noRippleEffect,
|
|
21
22
|
children = props.children,
|
|
22
23
|
remainingProps = _objectWithoutProperties(props, _excluded);
|
|
23
24
|
var _useState = useState(active),
|
|
@@ -35,7 +36,7 @@ var Button = function Button(props) {
|
|
|
35
36
|
// Register a dedicated click event on the button to interrupt
|
|
36
37
|
// the actual 'onClick' callback passed into the component from outside
|
|
37
38
|
useEffect(function () {
|
|
38
|
-
if (!btnRef.current) {
|
|
39
|
+
if (noRippleEffect || !btnRef.current) {
|
|
39
40
|
return;
|
|
40
41
|
}
|
|
41
42
|
var mouseListener = btnRef.current.addEventListener('mousedown', createButtonRipple, false);
|
|
@@ -44,7 +45,7 @@ var Button = function Button(props) {
|
|
|
44
45
|
mouseListener && btnRef.current.removeEventListener('mousedown', createButtonRipple, false);
|
|
45
46
|
touchListener && btnRef.current.removeEventListener('touchstart', createButtonRipple, false);
|
|
46
47
|
};
|
|
47
|
-
}, [btnRef.current]);
|
|
48
|
+
}, [btnRef.current, noRippleEffect]);
|
|
48
49
|
|
|
49
50
|
// Intercept click handler only for toggle button to update
|
|
50
51
|
// internal state and blur after click
|
|
@@ -92,6 +93,7 @@ Button.defaultProps = {
|
|
|
92
93
|
iconOnly: false,
|
|
93
94
|
multiline: false,
|
|
94
95
|
block: false,
|
|
96
|
+
noRippleEffect: false,
|
|
95
97
|
onClick: function onClick() {},
|
|
96
98
|
className: '',
|
|
97
99
|
bsStyle: 'default'
|
|
@@ -107,6 +109,7 @@ Button.propTypes = {
|
|
|
107
109
|
bsStyle: PropTypes.oneOf([Button.DEFAULT, Button.PRIMARY, Button.SECONDARY, Button.INFO, Button.WARNING, Button.DANGER, Button.SUCCESS, Button.MUTED]),
|
|
108
110
|
bsSize: PropTypes.oneOf([Button.XS, Button.SM, Button.MD, Button.LG]),
|
|
109
111
|
variant: PropTypes.oneOf([Button.VARIANT_LINK, Button.VARIANT_LINK_INLINE, Button.VARIANT_OUTLINE, Button.VARIANT_ACTION]),
|
|
112
|
+
noRippleEffect: PropTypes.bool,
|
|
110
113
|
className: PropTypes.string
|
|
111
114
|
};
|
|
112
115
|
export default Button;
|
|
@@ -5,9 +5,12 @@ import _typeof from "@babel/runtime/helpers/typeof";
|
|
|
5
5
|
var _excluded = ["dropup", "alignRight", "onChange", "className", "mandatory", "dateValidation"];
|
|
6
6
|
import React, { useState } from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
|
-
import Datetime from 'react-datetime';
|
|
9
|
-
import moment from 'moment';
|
|
10
8
|
import classNames from 'classnames';
|
|
9
|
+
|
|
10
|
+
// This workaround fixes the react minified #130 error for using external commonjs libs
|
|
11
|
+
// see https://github.com/vitejs/vite/issues/2139
|
|
12
|
+
import RDT from 'react-datetime';
|
|
13
|
+
var Datetime = RDT["default"] ? RDT["default"] : RDT;
|
|
11
14
|
var isValidDate = function isValidDate(date) {
|
|
12
15
|
return _typeof(date) === 'object';
|
|
13
16
|
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
|
+
var _excluded = ["leftContent", "rightContent", "onClose", "className"];
|
|
3
5
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
6
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5
7
|
import React from 'react';
|
|
@@ -11,7 +13,8 @@ var SplitDialog = function SplitDialog(props) {
|
|
|
11
13
|
var leftContent = props.leftContent,
|
|
12
14
|
rightContent = props.rightContent,
|
|
13
15
|
onClose = props.onClose,
|
|
14
|
-
className = props.className
|
|
16
|
+
className = props.className,
|
|
17
|
+
remainingProps = _objectWithoutProperties(props, _excluded);
|
|
15
18
|
var dialogClassName = "split-dialog ".concat(className);
|
|
16
19
|
var dividerClasses = classNames('split-divider', 'bg-lighter');
|
|
17
20
|
var body = /*#__PURE__*/React.createElement("div", {
|
|
@@ -23,7 +26,7 @@ var SplitDialog = function SplitDialog(props) {
|
|
|
23
26
|
})), /*#__PURE__*/React.createElement("div", {
|
|
24
27
|
className: "split-right"
|
|
25
28
|
}, rightContent));
|
|
26
|
-
return /*#__PURE__*/React.createElement(Dialog, _extends({},
|
|
29
|
+
return /*#__PURE__*/React.createElement(Dialog, _extends({}, remainingProps, {
|
|
27
30
|
body: body,
|
|
28
31
|
onHide: onClose,
|
|
29
32
|
className: dialogClassName
|
|
@@ -65,11 +65,16 @@ var ButtonDropdown = function ButtonDropdown(props) {
|
|
|
65
65
|
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
66
66
|
refDropdownMenu = _React$useState4[0],
|
|
67
67
|
setRefDropdownMenu = _React$useState4[1];
|
|
68
|
+
var _React$useState5 = React.useState(null),
|
|
69
|
+
_React$useState6 = _slicedToArray(_React$useState5, 2),
|
|
70
|
+
refSplitButtonToggle = _React$useState6[0],
|
|
71
|
+
setRefSplitButtonToggle = _React$useState6[1];
|
|
68
72
|
var defaultPopperConfig = {
|
|
69
73
|
placement: getPlacement(pullRight, dropup),
|
|
70
74
|
modifiers: []
|
|
71
75
|
};
|
|
72
|
-
var
|
|
76
|
+
var popperParentRef = splitButton && pullRight ? refSplitButtonToggle : refDropdownToggle;
|
|
77
|
+
var _usePopper = usePopper(popperParentRef, refDropdownMenu, popperConfig || defaultPopperConfig),
|
|
73
78
|
styles = _usePopper.styles,
|
|
74
79
|
attributes = _usePopper.attributes;
|
|
75
80
|
var wrapperRef = useClickOutside(function () {
|
|
@@ -111,7 +116,7 @@ var ButtonDropdown = function ButtonDropdown(props) {
|
|
|
111
116
|
var handleDropdownButtonClick = splitButton ? handleSplitLabelButtonClick : toggleOpen;
|
|
112
117
|
var isOpen = isUncontrolled ? internalOpen : open;
|
|
113
118
|
var wrapperClasses = classNames('dropdown', 'btn-group', isOpen && 'open', className);
|
|
114
|
-
var dropdownClasses = classNames(usePortal && 'dropdown-portal', dropdownClassName);
|
|
119
|
+
var dropdownClasses = classNames(usePortal && 'dropdown-portal', splitButton && pullRight && 'pull-right', dropdownClassName);
|
|
115
120
|
var dropdownMenu = /*#__PURE__*/React.createElement(MenuItems, _extends({
|
|
116
121
|
className: dropdownClasses,
|
|
117
122
|
ref: setRefDropdownMenu,
|
|
@@ -135,7 +140,8 @@ var ButtonDropdown = function ButtonDropdown(props) {
|
|
|
135
140
|
bsStyle: bsStyle,
|
|
136
141
|
disabled: disabled,
|
|
137
142
|
className: toggleClassName,
|
|
138
|
-
onClick: toggleOpen
|
|
143
|
+
onClick: toggleOpen,
|
|
144
|
+
ref: setRefSplitButtonToggle
|
|
139
145
|
}), isOpen && usePortal && /*#__PURE__*/ReactDOM.createPortal(dropdownMenu, dropdownRoot), isOpen && !usePortal && dropdownMenu);
|
|
140
146
|
};
|
|
141
147
|
ButtonDropdown.defaultProps = {
|
|
@@ -131,6 +131,7 @@ var Map = function Map(props) {
|
|
|
131
131
|
eventListenerMap = props.eventListenerMap,
|
|
132
132
|
mapType = props.mapType,
|
|
133
133
|
mapLayer = props.mapLayer,
|
|
134
|
+
externalShowCluster = props.showCluster,
|
|
134
135
|
showScaleBar = props.showScaleBar,
|
|
135
136
|
onMapLayerChange = props.onMapLayerChange,
|
|
136
137
|
onMapTypeChange = props.onMapTypeChange,
|
|
@@ -160,7 +161,7 @@ var Map = function Map(props) {
|
|
|
160
161
|
_useState10 = _slicedToArray(_useState9, 2),
|
|
161
162
|
activeLayers = _useState10[0],
|
|
162
163
|
setActiveLayers = _useState10[1];
|
|
163
|
-
var _useState11 = useState(
|
|
164
|
+
var _useState11 = useState(externalShowCluster),
|
|
164
165
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
165
166
|
showCluster = _useState12[0],
|
|
166
167
|
setShowCluster = _useState12[1];
|
|
@@ -247,6 +248,8 @@ var Map = function Map(props) {
|
|
|
247
248
|
};
|
|
248
249
|
}
|
|
249
250
|
}, []);
|
|
251
|
+
|
|
252
|
+
// Update BoundingBox from outside
|
|
250
253
|
useEffect(function () {
|
|
251
254
|
if (api && boundingBox) {
|
|
252
255
|
var top = boundingBox.top,
|
|
@@ -258,16 +261,35 @@ var Map = function Map(props) {
|
|
|
258
261
|
}, zoomAnimation);
|
|
259
262
|
}
|
|
260
263
|
}, [boundingBox]);
|
|
264
|
+
|
|
265
|
+
// Update Zoom from outside
|
|
261
266
|
useEffect(function () {
|
|
262
267
|
if (api && zoom) {
|
|
263
268
|
api.map.setZoom(zoom, zoomAnimation);
|
|
264
269
|
}
|
|
265
270
|
}, [zoom]);
|
|
271
|
+
|
|
272
|
+
// Update Lat & Lng from outside
|
|
266
273
|
useEffect(function () {
|
|
267
274
|
if (api && center) {
|
|
268
275
|
api.map.setCenter(center, zoomAnimation);
|
|
269
276
|
}
|
|
270
277
|
}, [center]);
|
|
278
|
+
|
|
279
|
+
// Update MapType from outside
|
|
280
|
+
useEffect(function () {
|
|
281
|
+
return setBaseLayer(mapType);
|
|
282
|
+
}, [mapType]);
|
|
283
|
+
|
|
284
|
+
// Update MapLayer from outside
|
|
285
|
+
useEffect(function () {
|
|
286
|
+
return setActiveLayers(mapLayer);
|
|
287
|
+
}, [mapLayer]);
|
|
288
|
+
|
|
289
|
+
// Update Cluster setting from outside
|
|
290
|
+
useEffect(function () {
|
|
291
|
+
return setShowCluster(externalShowCluster);
|
|
292
|
+
}, [externalShowCluster]);
|
|
271
293
|
var handleMapTypeChange = function handleMapTypeChange(newMapType) {
|
|
272
294
|
setBaseLayer(newMapType);
|
|
273
295
|
onMapTypeChange(newMapType, mapType);
|
|
@@ -349,6 +371,7 @@ var Map = function Map(props) {
|
|
|
349
371
|
return getLayer(api, layer, language);
|
|
350
372
|
}, activeLayers), renderChildren()));
|
|
351
373
|
};
|
|
374
|
+
;
|
|
352
375
|
Map.TYPE_DEFAULT = MAP_TYPE_DEFAULT;
|
|
353
376
|
Map.TYPE_FLEET_STYLE = MAP_TYPE_FLEET_STYLE;
|
|
354
377
|
Map.TYPE_SATELLITE = MAP_TYPE_SATELLITE;
|
|
@@ -3,7 +3,8 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
var _excluded = ["rootClose"];
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
|
-
import
|
|
6
|
+
import OT from 'react-bootstrap/OverlayTrigger';
|
|
7
|
+
var _OverlayTrigger = OT["default"] ? OT["default"] : OT;
|
|
7
8
|
export default function OverlayTrigger(props) {
|
|
8
9
|
var rootClose = props.rootClose,
|
|
9
10
|
remainingProps = _objectWithoutProperties(props, _excluded);
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["placement", "icon", "hidden", "background", "pageBackground", "contentClassName", "hasBorder", "borderColor", "className", "children"];
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import PropTypes from 'prop-types';
|
|
6
|
+
import classNames from 'classnames';
|
|
7
|
+
var getBorderColorFromBg = function getBorderColorFromBg(bg) {
|
|
8
|
+
return bg.replace('bg', 'border-color');
|
|
9
|
+
};
|
|
10
|
+
var RuleConnector = function RuleConnector(props) {
|
|
11
|
+
var placement = props.placement,
|
|
12
|
+
icon = props.icon,
|
|
13
|
+
hidden = props.hidden,
|
|
14
|
+
background = props.background,
|
|
15
|
+
pageBackground = props.pageBackground,
|
|
16
|
+
contentClassName = props.contentClassName,
|
|
17
|
+
hasBorder = props.hasBorder,
|
|
18
|
+
borderColor = props.borderColor,
|
|
19
|
+
className = props.className,
|
|
20
|
+
children = props.children,
|
|
21
|
+
remainingProps = _objectWithoutProperties(props, _excluded);
|
|
22
|
+
var wrapperClassNames = classNames('RuleConnector', 'height-20', 'display-flex', "justify-content-".concat(placement), 'align-items-center', 'position-relative', hidden && 'opacity-0', className);
|
|
23
|
+
var commonRoundedClasses = classNames('width-20', 'height-20', 'rounded-circle', 'position-relative', 'z-index-2', 'box-sizing-content-box');
|
|
24
|
+
var commonRoundedBorderClippingClasses = classNames('position-relative', 'width-20', 'height-20');
|
|
25
|
+
var leftRoundedBox = classNames('margin-right--10', commonRoundedClasses, pageBackground, hasBorder && "border ".concat(borderColor));
|
|
26
|
+
var leftRoundedBoxBorderClipping = classNames('right-50pct', commonRoundedBorderClippingClasses, pageBackground);
|
|
27
|
+
var contentWrapperClassNames = classNames('padding-left-20 padding-right-20', 'z-index-1', background, hasBorder && "border ".concat(getBorderColorFromBg(background)));
|
|
28
|
+
var rightRoundedBox = classNames('margin-left--10', commonRoundedClasses, pageBackground, hasBorder && "border ".concat(borderColor));
|
|
29
|
+
var rightRoundedBoxBorderClipping = classNames('left-50pct', commonRoundedBorderClippingClasses, pageBackground);
|
|
30
|
+
return /*#__PURE__*/React.createElement("div", _extends({
|
|
31
|
+
"data-testid": "ruleConnector"
|
|
32
|
+
}, remainingProps, {
|
|
33
|
+
className: wrapperClassNames
|
|
34
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
35
|
+
className: leftRoundedBox
|
|
36
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
37
|
+
className: leftRoundedBoxBorderClipping
|
|
38
|
+
})), /*#__PURE__*/React.createElement("span", {
|
|
39
|
+
className: contentWrapperClassNames
|
|
40
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
41
|
+
className: contentClassName
|
|
42
|
+
}, children ? children : /*#__PURE__*/React.createElement("span", {
|
|
43
|
+
className: "rioglyph ".concat(icon),
|
|
44
|
+
"data-testid": "ruleConnectorIcon"
|
|
45
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
46
|
+
className: rightRoundedBox
|
|
47
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
48
|
+
className: rightRoundedBoxBorderClipping
|
|
49
|
+
})));
|
|
50
|
+
};
|
|
51
|
+
RuleConnector.START = 'start';
|
|
52
|
+
RuleConnector.CENTER = 'center';
|
|
53
|
+
RuleConnector.END = 'end';
|
|
54
|
+
RuleConnector.defaultProps = {
|
|
55
|
+
placement: 'center',
|
|
56
|
+
icon: 'rioglyph-plus',
|
|
57
|
+
hidden: false,
|
|
58
|
+
background: 'bg-lightest',
|
|
59
|
+
pageBackground: 'bg-white',
|
|
60
|
+
contentClassName: 'text-color-light',
|
|
61
|
+
hasBorder: false,
|
|
62
|
+
borderColor: '',
|
|
63
|
+
className: ''
|
|
64
|
+
};
|
|
65
|
+
RuleConnector.propTypes = {
|
|
66
|
+
placement: PropTypes.oneOf([RuleConnector.START, RuleConnector.CENTER, RuleConnector.END]),
|
|
67
|
+
icon: PropTypes.string,
|
|
68
|
+
hidden: PropTypes.bool,
|
|
69
|
+
background: PropTypes.string,
|
|
70
|
+
pageBackground: PropTypes.string,
|
|
71
|
+
contentClassName: PropTypes.string,
|
|
72
|
+
hasBorder: PropTypes.bool,
|
|
73
|
+
borderColor: PropTypes.string,
|
|
74
|
+
className: PropTypes.string
|
|
75
|
+
};
|
|
76
|
+
export default RuleConnector;
|