@conboai/storybook.components 0.5.98 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/dist/assets/icons/ErrorIcon.d.ts +3 -1
  2. package/dist/assets/icons/InfoIcon.d.ts +3 -1
  3. package/dist/assets/icons/SuccessIcon.d.ts +3 -1
  4. package/dist/assets/icons/ThreeDotsIcon.d.ts +3 -1
  5. package/dist/assets/icons/WarningIcon.d.ts +3 -1
  6. package/dist/components/ActionButton/ActionButton.d.ts +2 -1
  7. package/dist/components/ActionSelect/ActionSelect.d.ts +2 -1
  8. package/dist/components/AppTitleBar/AppTitleBar.d.ts +2 -1
  9. package/dist/components/BreadCrumbs/BreadCrumbs.d.ts +3 -1
  10. package/dist/components/ChipsMultiSelect/ChipsMultiSelect.d.ts +3 -1
  11. package/dist/components/CircularProgressBar/CircularProgressBar.d.ts +2 -1
  12. package/dist/components/CircularProgressBar/CircularProgressWithLabel.d.ts +2 -1
  13. package/dist/components/CustomInput/CustomInput.d.ts +6 -6
  14. package/dist/components/CustomSelect/CustomSelect.d.ts +2 -2
  15. package/dist/components/DatePicker/ActionBar.d.ts +2 -1
  16. package/dist/components/DatePicker/DatePicker.d.ts +2 -1
  17. package/dist/components/DatePicker/constants.d.ts +5 -4
  18. package/dist/components/Delimiter/Delimiter.d.ts +3 -1
  19. package/dist/components/Filter/components/Filter.d.ts +2 -1
  20. package/dist/components/Filter/components/FilterActionButtons.d.ts +2 -1
  21. package/dist/components/Filter/components/FilterBody.d.ts +2 -1
  22. package/dist/components/Filter/components/FilterContent.d.ts +2 -2
  23. package/dist/components/Filter/components/FilterContentFooter.d.ts +2 -1
  24. package/dist/components/Filter/components/FilterFooter.d.ts +2 -1
  25. package/dist/components/Filter/components/FilterHeader.d.ts +2 -1
  26. package/dist/components/Filter/components/FilterTabPanels.d.ts +2 -1
  27. package/dist/components/Filter/components/FilterTabs.d.ts +2 -1
  28. package/dist/components/FilterBox/FilterBox.d.ts +2 -1
  29. package/dist/components/Geo/Geo.d.ts +2 -1
  30. package/dist/components/Geo/components/NumericMarker/index.d.ts +2 -1
  31. package/dist/components/Geo/components/PointMarker/index.d.ts +2 -1
  32. package/dist/components/Geo/components/Polygon/index.d.ts +2 -1
  33. package/dist/components/Geo/components/Polyline/index.d.ts +2 -1
  34. package/dist/components/Geo/components/ShapeDrawer/index.d.ts +2 -2
  35. package/dist/components/Geo/types.d.ts +1 -1
  36. package/dist/components/GoogleMap/GoogleMap.d.ts +2 -2
  37. package/dist/components/Header/Header.d.ts +2 -2
  38. package/dist/components/HomeLink/HomeLink.d.ts +2 -2
  39. package/dist/components/ImageBox/ImageBox.d.ts +2 -2
  40. package/dist/components/ImagePlayer/ImagePlayer.d.ts +2 -2
  41. package/dist/components/MediaModal/MediaModal.d.ts +2 -2
  42. package/dist/components/MetroMap/MetroMap.d.ts +3 -2
  43. package/dist/components/NotificationBar/NotificationBar.d.ts +3 -1
  44. package/dist/components/OptimusWidgetBar/OptimusWidgetBar.d.ts +3 -1
  45. package/dist/components/PlayerPanel/PlayerPanel.d.ts +2 -2
  46. package/dist/components/PointFinder/EditablePoint.d.ts +3 -1
  47. package/dist/components/PointFinder/MapPoint.d.ts +2 -1
  48. package/dist/components/PointFinder/PointFinder.d.ts +2 -1
  49. package/dist/components/PointFinder/PointFinderImage.d.ts +2 -1
  50. package/dist/components/SearchInput/SearchInput.d.ts +3 -1
  51. package/dist/components/Shapes/Header/index.d.ts +2 -1
  52. package/dist/components/Shapes/Menu/index.d.ts +2 -1
  53. package/dist/components/Shapes/MousePoint/index.d.ts +2 -1
  54. package/dist/components/Shapes/NumericMarker/index.d.ts +2 -1
  55. package/dist/components/Shapes/Shapes.d.ts +2 -1
  56. package/dist/components/Shapes/Text/index.d.ts +2 -1
  57. package/dist/components/Svg/Svg.d.ts +2 -1
  58. package/dist/components/TimelineChart/TimelineChart.d.ts +2 -2
  59. package/dist/components/Toggle/Toggle.d.ts +3 -3
  60. package/dist/{index-CKbJoU_n.mjs → index-CfAvsyKR.mjs} +51911 -58560
  61. package/dist/interfaces/actionButton.d.ts +2 -3
  62. package/dist/interfaces/detailsView.d.ts +3 -3
  63. package/dist/interfaces/tabsContainer.d.ts +5 -5
  64. package/dist/mapbox-gl-DKHJ3nlW.mjs +34623 -0
  65. package/dist/mocks/detailsView.d.ts +2 -1
  66. package/dist/storybook.components.mjs +2 -2
  67. package/package.json +8 -8
  68. package/dist/mapbox-gl-iMHoX07X.mjs +0 -35299
@@ -1,2 +1,4 @@
1
- declare const ErrorIcon: () => import("react/jsx-runtime").JSX.Element;
1
+ import { default as React } from 'react';
2
+
3
+ declare const ErrorIcon: () => React.JSX.Element;
2
4
  export default ErrorIcon;
@@ -1,2 +1,4 @@
1
- declare const InfoIcon: () => import("react/jsx-runtime").JSX.Element;
1
+ import { default as React } from 'react';
2
+
3
+ declare const InfoIcon: () => React.JSX.Element;
2
4
  export default InfoIcon;
@@ -1,2 +1,4 @@
1
- declare const SuccessIcon: () => import("react/jsx-runtime").JSX.Element;
1
+ import { default as React } from 'react';
2
+
3
+ declare const SuccessIcon: () => React.JSX.Element;
2
4
  export default SuccessIcon;
@@ -1,2 +1,4 @@
1
- declare const ThreeDotsIcon: () => import("react/jsx-runtime").JSX.Element;
1
+ import { default as React } from 'react';
2
+
3
+ declare const ThreeDotsIcon: () => React.JSX.Element;
2
4
  export default ThreeDotsIcon;
@@ -1,2 +1,4 @@
1
- declare const WarningIcon: () => import("react/jsx-runtime").JSX.Element;
1
+ import { default as React } from 'react';
2
+
3
+ declare const WarningIcon: () => React.JSX.Element;
2
4
  export default WarningIcon;
@@ -1,4 +1,5 @@
1
+ import { default as React } from 'react';
1
2
  import { IActionButton } from '../../interfaces/actionButton';
2
3
 
3
- export declare const ActionButton: ({ children, disabled, onClick, variant, size, sx, ...props }: IActionButton) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const ActionButton: ({ children, disabled, onClick, variant, size, sx, ...props }: IActionButton) => React.JSX.Element;
4
5
  export default ActionButton;
@@ -1,4 +1,5 @@
1
+ import { default as React } from 'react';
1
2
  import { IActionSelect } from '../../interfaces/actionSelect';
2
3
 
3
- declare const ActionSelect: ({ options, setValue, value, disabled }: IActionSelect) => import("react/jsx-runtime").JSX.Element;
4
+ declare const ActionSelect: ({ options, setValue, value, disabled }: IActionSelect) => React.JSX.Element;
4
5
  export default ActionSelect;
@@ -1,4 +1,5 @@
1
+ import { default as React } from 'react';
1
2
  import { IAppTitleBar } from '../../interfaces/appTitleBar';
2
3
 
3
- declare function AppTitleBar({ label, imageSrc, onClick }: IAppTitleBar): import("react/jsx-runtime").JSX.Element;
4
+ declare function AppTitleBar({ label, imageSrc, onClick }: IAppTitleBar): React.JSX.Element;
4
5
  export default AppTitleBar;
@@ -1,6 +1,8 @@
1
+ import { default as React } from 'react';
2
+
1
3
  interface IBreadCrumbs {
2
4
  home: string;
3
5
  current: string;
4
6
  }
5
- declare function BreadCrumbs({ home, current }: IBreadCrumbs): import("react/jsx-runtime").JSX.Element;
7
+ declare function BreadCrumbs({ home, current }: IBreadCrumbs): React.JSX.Element;
6
8
  export default BreadCrumbs;
@@ -1,3 +1,5 @@
1
+ import { default as React } from 'react';
2
+
1
3
  export interface IChipsMultiSelect {
2
4
  options: string[];
3
5
  label: string;
@@ -9,5 +11,5 @@ export interface IChipsMultiSelect {
9
11
  clearIconVisible?: boolean;
10
12
  disabled?: boolean;
11
13
  }
12
- declare function ChipsMultiSelect({ options, label, value, onChange, size, isSingle, isRequired, clearIconVisible, disabled }: IChipsMultiSelect): import("react/jsx-runtime").JSX.Element;
14
+ declare function ChipsMultiSelect({ options, label, value, onChange, size, isSingle, isRequired, clearIconVisible, disabled, }: IChipsMultiSelect): React.JSX.Element;
13
15
  export default ChipsMultiSelect;
@@ -1,2 +1,3 @@
1
- declare const CircularProgressBar: () => import("react/jsx-runtime").JSX.Element;
1
+ import * as React from "react";
2
+ declare const CircularProgressBar: () => React.JSX.Element;
2
3
  export default CircularProgressBar;
@@ -1,6 +1,7 @@
1
1
  import { CircularProgressProps } from '@mui/material/CircularProgress';
2
2
 
3
+ import * as React from "react";
3
4
  declare const CircularProgressWithLabel: (props: CircularProgressProps & {
4
5
  value: number;
5
- }) => import("react/jsx-runtime").JSX.Element;
6
+ }) => React.JSX.Element;
6
7
  export default CircularProgressWithLabel;
@@ -1,13 +1,13 @@
1
- import { ReactNode, ChangeEvent } from 'react';
1
+ import { default as React } from 'react';
2
2
 
3
3
  export interface ICustomInputProps {
4
- startAdornment?: ReactNode;
5
- endAdornment?: ReactNode;
4
+ startAdornment?: React.ReactNode;
5
+ endAdornment?: React.ReactNode;
6
6
  label?: string;
7
- onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
8
- onBlur?: (event: ChangeEvent<HTMLInputElement>) => void;
7
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
8
+ onBlur?: (event: React.ChangeEvent<HTMLInputElement>) => void;
9
9
  type?: string;
10
10
  variant?: "light" | "dark";
11
11
  }
12
- declare const CustomInput: import('react').ForwardRefExoticComponent<Omit<ICustomInputProps & import('@mui/material/TextField').StandardTextFieldProps, "ref"> & import('react').RefAttributes<HTMLInputElement>>;
12
+ declare const CustomInput: React.ForwardRefExoticComponent<Omit<ICustomInputProps & import('@mui/material/TextField').StandardTextFieldProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
13
13
  export default CustomInput;
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
1
+ import { default as React } from 'react';
2
2
  import { SelectProps, SelectChangeEvent } from '@mui/material';
3
3
 
4
4
  export interface ICustomSelect {
@@ -11,5 +11,5 @@ export interface ICustomSelect {
11
11
  onChange: (event: SelectChangeEvent) => void;
12
12
  disabled?: boolean;
13
13
  }
14
- declare const CustomSelect: FC<ICustomSelect & SelectProps>;
14
+ declare const CustomSelect: React.FC<ICustomSelect & SelectProps>;
15
15
  export default CustomSelect;
@@ -1,4 +1,5 @@
1
+ import { default as React } from 'react';
1
2
  import { PickersActionBarProps } from '@mui/x-date-pickers';
2
3
 
3
- declare const ActionBar: ({ onClear, onSetToday, className }: PickersActionBarProps) => import("react/jsx-runtime").JSX.Element;
4
+ declare const ActionBar: ({ onClear, onSetToday, className }: PickersActionBarProps) => React.JSX.Element;
4
5
  export default ActionBar;
@@ -1,4 +1,5 @@
1
+ import { default as React } from 'react';
1
2
  import { IDatePicker } from '../../interfaces/datePicker';
2
3
 
3
- declare const DatePicker: ({ label, onChange, value, showShortcuts, showAmPmFormat, shortcuts, selectOptions, showActionSelect, format, readonly, disabled, timezone, onError }: IDatePicker) => import("react/jsx-runtime").JSX.Element;
4
+ declare const DatePicker: ({ label, onChange, value, showShortcuts, showAmPmFormat, shortcuts, selectOptions, showActionSelect, format, readonly, disabled, timezone, onError, }: IDatePicker) => React.JSX.Element;
4
5
  export default DatePicker;
@@ -1,13 +1,14 @@
1
+ import { default as React } from 'react';
1
2
  import { TypeShortcuts } from '../../interfaces/datePicker';
2
3
 
3
4
  export declare const DEFAULT_DATE_FORMAT = "MM/DD/YYYY HH:mm";
4
5
  export declare const VIEWS_WITH_NO_TIME: string[];
5
6
  export declare const VIEWS_WITH_TIME: string[];
6
7
  export declare const slots: {
7
- openPickerIcon: () => import("react/jsx-runtime").JSX.Element;
8
- leftArrowIcon: () => import("react/jsx-runtime").JSX.Element;
9
- rightArrowIcon: () => import("react/jsx-runtime").JSX.Element;
10
- actionBar: ({ onClear, onSetToday, className }: import('@mui/x-date-pickers').PickersActionBarProps) => import("react/jsx-runtime").JSX.Element;
8
+ openPickerIcon: () => React.JSX.Element;
9
+ leftArrowIcon: () => React.JSX.Element;
10
+ rightArrowIcon: () => React.JSX.Element;
11
+ actionBar: ({ onClear, onSetToday, className }: import('@mui/x-date-pickers').PickersActionBarProps) => React.JSX.Element;
11
12
  };
12
13
  export declare const slotProps: (showShortcuts: boolean, shortcuts: TypeShortcuts) => {
13
14
  shortcuts: {
@@ -1,2 +1,4 @@
1
- declare const Delimiter: () => import("react/jsx-runtime").JSX.Element;
1
+ import { default as React } from 'react';
2
+
3
+ declare const Delimiter: () => React.JSX.Element;
2
4
  export default Delimiter;
@@ -1,4 +1,5 @@
1
+ import { default as React } from 'react';
1
2
  import { IFilter } from '../../../interfaces/filter';
2
3
 
3
- declare const _default: import('react').MemoExoticComponent<({ open, anchor, title, placement, width, height, onClose, onDone, data, readonly, notificationText, filterData }: IFilter) => import("react/jsx-runtime").JSX.Element>;
4
+ declare const _default: React.MemoExoticComponent<({ open, anchor, title, placement, width, height, onClose, onDone, data, readonly, notificationText, filterData }: IFilter) => React.JSX.Element>;
4
5
  export default _default;
@@ -1,4 +1,5 @@
1
+ import { default as React } from 'react';
1
2
  import { IFilterActionButtons } from '../../../interfaces/filter';
2
3
 
3
- declare const FilterActionButtons: ({ onAdd, onRemove, onAddDisabled, onRemovedDisabled }: IFilterActionButtons) => import("react/jsx-runtime").JSX.Element;
4
+ declare const FilterActionButtons: ({ onAdd, onRemove, onAddDisabled, onRemovedDisabled }: IFilterActionButtons) => React.JSX.Element;
4
5
  export default FilterActionButtons;
@@ -1,4 +1,5 @@
1
+ import { default as React } from 'react';
1
2
  import { IFilterBody } from '../../../interfaces/filter';
2
3
 
3
- declare const FilterBody: ({ data, helperText, setSelectedValues, selectedItems, readonly, filterData, subItemsFlag, setSubItemsFlag, isFilterBlock }: IFilterBody) => import("react/jsx-runtime").JSX.Element;
4
+ declare const FilterBody: ({ data, helperText, setSelectedValues, selectedItems, readonly, filterData, subItemsFlag, setSubItemsFlag, isFilterBlock }: IFilterBody) => React.JSX.Element;
4
5
  export default FilterBody;
@@ -1,5 +1,5 @@
1
- import { FC } from 'react';
1
+ import { default as React } from 'react';
2
2
  import { IFilterContent } from '../../../interfaces/filter';
3
3
 
4
- declare const FilterContent: FC<IFilterContent>;
4
+ declare const FilterContent: React.FC<IFilterContent>;
5
5
  export default FilterContent;
@@ -1,4 +1,5 @@
1
+ import { default as React } from 'react';
1
2
  import { IFilterContentFooter } from '../../../interfaces/filter';
2
3
 
3
- declare const _default: import('react').MemoExoticComponent<({ checkedItems, setCheckedItems, data, setMasterCheckboxStates }: IFilterContentFooter) => import("react/jsx-runtime").JSX.Element>;
4
+ declare const _default: React.MemoExoticComponent<({ checkedItems, setCheckedItems, data, setMasterCheckboxStates }: IFilterContentFooter) => React.JSX.Element>;
4
5
  export default _default;
@@ -1,4 +1,5 @@
1
+ import { default as React } from 'react';
1
2
  import { IFilterFooter } from '../../../interfaces/filter';
2
3
 
3
- declare const FilterFooter: ({ onCancel, onDone, isNotificationShown, notificationText, onDoneDisabled }: IFilterFooter) => import("react/jsx-runtime").JSX.Element;
4
+ declare const FilterFooter: ({ onCancel, onDone, isNotificationShown, notificationText, onDoneDisabled }: IFilterFooter) => React.JSX.Element;
4
5
  export default FilterFooter;
@@ -1,4 +1,5 @@
1
+ import { default as React } from 'react';
1
2
  import { IFilterHeader } from '../../../interfaces/filter';
2
3
 
3
- declare const FilterHeader: ({ title, onClose }: IFilterHeader) => import("react/jsx-runtime").JSX.Element;
4
+ declare const FilterHeader: ({ title, onClose }: IFilterHeader) => React.JSX.Element;
4
5
  export default FilterHeader;
@@ -1,4 +1,5 @@
1
+ import { default as React } from 'react';
1
2
  import { IFilterTabPanels } from '../../../interfaces/filter';
2
3
 
3
- declare const FilterTabPanels: ({ tabs, filterKey, data }: IFilterTabPanels) => import("react/jsx-runtime").JSX.Element;
4
+ declare const FilterTabPanels: ({ tabs, filterKey, data }: IFilterTabPanels) => React.JSX.Element;
4
5
  export default FilterTabPanels;
@@ -1,4 +1,5 @@
1
+ import { default as React } from 'react';
1
2
  import { IFilterTabs } from '../../../interfaces/filter';
2
3
 
3
- declare const FilterTabs: ({ value, setValue, data, setFilterKey, setSubItemsFlag }: IFilterTabs) => import("react/jsx-runtime").JSX.Element;
4
+ declare const FilterTabs: ({ value, setValue, data, setFilterKey, setSubItemsFlag }: IFilterTabs) => React.JSX.Element;
4
5
  export default FilterTabs;
@@ -1,4 +1,5 @@
1
+ import { default as React } from 'react';
1
2
  import { IFilterBox } from '../../interfaces/filter';
2
3
 
3
- declare const FilterBox: ({ title, filterTitle, data, readonly }: IFilterBox) => import("react/jsx-runtime").JSX.Element;
4
+ declare const FilterBox: ({ title, filterTitle, data, readonly }: IFilterBox) => React.JSX.Element;
4
5
  export default FilterBox;
@@ -1,4 +1,5 @@
1
+ import { default as React } from 'react';
1
2
  import { GeoComponentProps } from './types';
2
3
 
3
- declare const Geo: ({ mode: modeFromProps, resetKey: resetKeyFromProps, onChange: onChangeFromProps, onComplete, data, selectedGeoId: selectedGeoIdFromProps, onSelect, onMouseMove, onDragEnd, showDirection, showNumbers, allowDelete, allowAdd, disableControls, fitZoom, mapCentering, center: centerFromProps, showOnlyPoints, initialCenter, zoom: zoomFromProps, onLoad, onError, googleMapsApiKey, googleMapsOptions, startMarkerLabel, endMarkerLabel, scaleNumber, fullscreenControl, showEndDirection, mapOverlay }: GeoComponentProps) => import("react/jsx-runtime").JSX.Element;
4
+ declare const Geo: ({ mode: modeFromProps, resetKey: resetKeyFromProps, onChange: onChangeFromProps, onComplete, data, selectedGeoId: selectedGeoIdFromProps, onSelect, onMouseMove, onDragEnd, showDirection, showNumbers, allowDelete, allowAdd, disableControls, fitZoom, mapCentering, center: centerFromProps, showOnlyPoints, initialCenter, zoom: zoomFromProps, onLoad, onError, googleMapsApiKey, googleMapsOptions, startMarkerLabel, endMarkerLabel, scaleNumber, fullscreenControl, showEndDirection, mapOverlay, }: GeoComponentProps) => React.JSX.Element;
4
5
  export default Geo;
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
  import { NumericMarkerPropsType } from './types';
2
3
 
3
- export default function NumericMarker({ coordinates: { lat, lng }, index }: NumericMarkerPropsType): import("react/jsx-runtime").JSX.Element;
4
+ export default function NumericMarker({ coordinates: { lat, lng }, index }: NumericMarkerPropsType): React.JSX.Element;
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
  import { GeoType } from '../../types';
2
3
 
3
4
  interface IPointMarker {
@@ -6,5 +7,5 @@ interface IPointMarker {
6
7
  index: number;
7
8
  selectedGeoId: string | null;
8
9
  }
9
- declare const PointMarker: ({ entity, onSelect, index, selectedGeoId }: IPointMarker) => import("react/jsx-runtime").JSX.Element;
10
+ declare const PointMarker: ({ entity, onSelect, index, selectedGeoId, }: IPointMarker) => React.JSX.Element;
10
11
  export default PointMarker;
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
  import { CoordinatePoint, GeoMode, GeoType } from '../../types';
2
3
 
3
4
  export interface IPolygonProps {
@@ -11,5 +12,5 @@ export interface IPolygonProps {
11
12
  showNumbers?: boolean;
12
13
  zIndex?: number;
13
14
  }
14
- declare const Polygon: import('react').MemoExoticComponent<({ selected, onChange: onChangeFromProps, onClick: onClickFromProps, data, mode, color, showNumbers, showOnlyPoints, zIndex }: IPolygonProps) => import("react/jsx-runtime").JSX.Element>;
15
+ declare const Polygon: React.MemoExoticComponent<({ selected, onChange: onChangeFromProps, onClick: onClickFromProps, data, mode, color, showNumbers, showOnlyPoints, zIndex }: IPolygonProps) => React.JSX.Element>;
15
16
  export default Polygon;
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
  import { CoordinatePoint, GeoType } from '../../types';
2
3
 
3
4
  interface IPolyline {
@@ -12,5 +13,5 @@ interface IPolyline {
12
13
  showOnlyPoints?: boolean;
13
14
  scaleNumber?: number;
14
15
  }
15
- declare const Polyline: import('react').MemoExoticComponent<({ zoom: zoomFromProps, showDirection, showEndDirection, startMarkerLabel, endMarkerLabel, onChange: onChangeFromProps, data, showNumbers, showOnlyPoints, scaleNumber }: IPolyline) => import("react/jsx-runtime").JSX.Element>;
16
+ declare const Polyline: React.MemoExoticComponent<({ zoom: zoomFromProps, showDirection, showEndDirection, startMarkerLabel, endMarkerLabel, onChange: onChangeFromProps, data, showNumbers, showOnlyPoints, scaleNumber, }: IPolyline) => React.JSX.Element>;
16
17
  export default Polyline;
@@ -1,4 +1,4 @@
1
- import { Dispatch, SetStateAction } from 'react';
1
+ import { default as React, Dispatch, SetStateAction } from 'react';
2
2
  import { CoordinatePoint, GeoMode } from '../../types';
3
3
 
4
4
  interface ShapeDrawerProps {
@@ -12,5 +12,5 @@ interface ShapeDrawerProps {
12
12
  showNumbers?: boolean;
13
13
  showOnlyPoints?: boolean;
14
14
  }
15
- export declare const ShapeDrawer: import('react').MemoExoticComponent<({ mapInstance, onComplete, onChange, resetKey, mode, zoom, setMode, showNumbers, showOnlyPoints }: ShapeDrawerProps) => import("react/jsx-runtime").JSX.Element>;
15
+ export declare const ShapeDrawer: React.MemoExoticComponent<({ mapInstance, onComplete, onChange, resetKey, mode, zoom, setMode, showNumbers, showOnlyPoints }: ShapeDrawerProps) => React.JSX.Element>;
16
16
  export {};
@@ -36,7 +36,7 @@ export type GeoMode = {
36
36
  shape: "";
37
37
  } | {
38
38
  type: "drawing";
39
- shape: "polyline" | "polygon" | "marker";
39
+ shape: "polyline" | "polygon";
40
40
  };
41
41
  export interface GeoComponentProps {
42
42
  onChange?: (polygonPath: CoordinatePoint[], id: string, isCompleted?: boolean) => void;
@@ -1,4 +1,4 @@
1
- import { CSSProperties, ReactNode } from 'react';
1
+ import { default as React, CSSProperties, ReactNode } from 'react';
2
2
 
3
3
  interface IGoogleMap {
4
4
  googleMapsApiKey: string;
@@ -19,5 +19,5 @@ interface IGoogleMap {
19
19
  zoom: number;
20
20
  mapOverlay?: boolean;
21
21
  }
22
- export declare const GoogleMap: ({ googleMapsApiKey, onMouseMove, onDragEnd, children, options, onLoad, onError, center, styles, zoom, id, googleMapsOptions, mapOverlay }: IGoogleMap) => import("react/jsx-runtime").JSX.Element;
22
+ export declare const GoogleMap: ({ googleMapsApiKey, onMouseMove, onDragEnd, children, options, onLoad, onError, center, styles, zoom, id, googleMapsOptions, mapOverlay, }: IGoogleMap) => React.JSX.Element;
23
23
  export {};
@@ -1,7 +1,7 @@
1
- import { FC, ReactNode } from 'react';
1
+ import { default as React, FC } from 'react';
2
2
 
3
3
  export interface IHeader {
4
- children: ReactNode;
4
+ children: React.ReactNode;
5
5
  }
6
6
  declare const Header: FC<IHeader>;
7
7
  export default Header;
@@ -1,7 +1,7 @@
1
- import { FC, ReactNode } from 'react';
1
+ import { default as React, FC } from 'react';
2
2
 
3
3
  interface IHomeLink {
4
- linkContent: ReactNode | string;
4
+ linkContent: React.ReactNode | string;
5
5
  link: string;
6
6
  }
7
7
  declare const HomeLink: FC<IHomeLink>;
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
1
+ import { default as React } from 'react';
2
2
 
3
3
  interface ImageBoxProps {
4
4
  images: string[];
@@ -6,5 +6,5 @@ interface ImageBoxProps {
6
6
  isFirstPage?: boolean;
7
7
  setToFirstPage?: (value: boolean) => void;
8
8
  }
9
- declare const ImageBox: FC<ImageBoxProps>;
9
+ declare const ImageBox: React.FC<ImageBoxProps>;
10
10
  export default ImageBox;
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
1
+ import { default as React } from 'react';
2
2
  import { SxProps } from '@mui/material';
3
3
  import { Shape } from '../Shapes/types';
4
4
 
@@ -27,5 +27,5 @@ export interface ImagePlayerProps {
27
27
  timezone?: string;
28
28
  isUtc?: boolean;
29
29
  }
30
- declare const ImagePlayer: FC<ImagePlayerProps>;
30
+ declare const ImagePlayer: React.FC<ImagePlayerProps>;
31
31
  export default ImagePlayer;
@@ -1,9 +1,9 @@
1
- import { FC, ReactNode } from 'react';
1
+ import { default as React, FC } from 'react';
2
2
 
3
3
  interface IMediaModalProps {
4
4
  open: boolean;
5
5
  handleClose: () => void;
6
- children: ReactNode;
6
+ children: React.ReactNode;
7
7
  arrows?: boolean;
8
8
  onPrevClick?: () => void;
9
9
  onNextClick?: () => void;
@@ -1,4 +1,5 @@
1
1
  import { MetromapPalleteData } from './MetroMapUtils';
2
+ import { default as React } from 'react';
2
3
 
3
4
  export type MetroMapElementType = {
4
5
  tag: string;
@@ -43,6 +44,6 @@ interface IMetroMap {
43
44
  activeSectors?: string[];
44
45
  fullNameData?: FullNameData[];
45
46
  }
46
- declare function MetroMap({ elements, onSelect, selectedCluster, minor, major, disabled, isMultiSelect, onHover, svgAttributes, showFullNames, isMap, pollutions, timing, disabledSectors, activeSectors, fullNameData }: IMetroMap): import("react/jsx-runtime").JSX.Element | null;
47
- declare const _default: import('react').MemoExoticComponent<typeof MetroMap>;
47
+ declare function MetroMap({ elements, onSelect, selectedCluster, minor, major, disabled, isMultiSelect, onHover, svgAttributes, showFullNames, isMap, pollutions, timing, disabledSectors, activeSectors, fullNameData }: IMetroMap): React.JSX.Element | null;
48
+ declare const _default: React.MemoExoticComponent<typeof MetroMap>;
48
49
  export default _default;
@@ -1,6 +1,8 @@
1
+ import { default as React } from 'react';
2
+
1
3
  interface INotificationBar {
2
4
  text: string;
3
5
  isShown?: boolean;
4
6
  }
5
- declare const NotificationBar: ({ text, isShown }: INotificationBar) => false | import("react/jsx-runtime").JSX.Element | undefined;
7
+ declare const NotificationBar: ({ text, isShown }: INotificationBar) => false | React.JSX.Element | undefined;
6
8
  export default NotificationBar;
@@ -1,2 +1,4 @@
1
- declare function OptimusWidgetBar(): import("react/jsx-runtime").JSX.Element;
1
+ import { default as React } from 'react';
2
+
3
+ declare function OptimusWidgetBar(): React.JSX.Element;
2
4
  export default OptimusWidgetBar;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { default as React, ReactNode } from 'react';
2
2
 
3
3
  interface IPlayerPanel {
4
4
  disabled?: boolean;
@@ -20,5 +20,5 @@ interface IPlayerPanel {
20
20
  stepForAutoPlay: number;
21
21
  maxSliderValue?: number;
22
22
  }
23
- declare const PlayerPanel: ({ disabled, startTime, currentTime, endTime, delay, isPlayingBackward, isPlayingForward, currentIndex, onSliderChange, onSliderChangeCommitted, onValueLabelFormat, onStep, onPlayingBackwardClick, onPlayingForwardClick, onSetStepForAutoPlay, stepForAutoPlay, maxSliderValue }: IPlayerPanel) => import("react/jsx-runtime").JSX.Element;
23
+ declare const PlayerPanel: ({ disabled, startTime, currentTime, endTime, delay, data, isPlayingBackward, isPlayingForward, currentIndex, onSliderChange, onSliderChangeCommitted, onValueLabelFormat, onStep, onPlayingBackwardClick, onPlayingForwardClick, onSetStepForAutoPlay, stepForAutoPlay, maxSliderValue, }: IPlayerPanel) => React.JSX.Element;
24
24
  export default PlayerPanel;
@@ -1,2 +1,4 @@
1
- declare const EditablePoint: ({ startTime, endTime, direction, handleDirectionChange, handleTimeChange, close }: any) => import("react/jsx-runtime").JSX.Element;
1
+ import { default as React } from 'react';
2
+
3
+ declare const EditablePoint: ({ startTime, endTime, direction, handleDirectionChange, handleTimeChange, close }: any) => React.JSX.Element;
2
4
  export default EditablePoint;
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
  import { Point, PointDirection } from './PointFinder';
2
3
 
3
4
  interface IMapPoint {
@@ -7,5 +8,5 @@ interface IMapPoint {
7
8
  handleDirectionChange: (id: string, direction: PointDirection) => void;
8
9
  handleTimeChange: (id: string, property: "startTime" | "endTime", value: number) => void;
9
10
  }
10
- declare const MapPoint: ({ point, onPointClick, handleDirectionChange, editable, handleTimeChange }: IMapPoint) => import("react/jsx-runtime").JSX.Element;
11
+ declare const MapPoint: ({ point, onPointClick, handleDirectionChange, editable, handleTimeChange }: IMapPoint) => React.JSX.Element;
11
12
  export default MapPoint;
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
 
2
3
  export declare enum PointVariant {
3
4
  current = "current",
@@ -33,5 +34,5 @@ interface IPointFinder {
33
34
  handleDirectionChange: (id: string, value: PointDirection) => void;
34
35
  handleTimeChange: (id: string, property: "startTime" | "endTime", value: number) => void;
35
36
  }
36
- export default function App({ points, connections, editable, onPointClick, handleDirectionChange, handleTimeChange }: IPointFinder): import("react/jsx-runtime").JSX.Element | null;
37
+ export default function App({ points, connections, editable, onPointClick, handleDirectionChange, handleTimeChange }: IPointFinder): React.JSX.Element | null;
37
38
  export {};
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
 
2
- declare const PointFinderImage: () => import("react/jsx-runtime").JSX.Element;
3
+ declare const PointFinderImage: () => React.JSX.Element;
3
4
  export default PointFinderImage;
@@ -1,7 +1,9 @@
1
+ import { default as React } from 'react';
2
+
1
3
  interface ISearchInput {
2
4
  onChange: (value: string) => void;
3
5
  disabled?: boolean;
4
6
  options: Array<string>;
5
7
  }
6
- declare const SearchInput: ({ onChange, disabled, options, ...props }: ISearchInput) => import("react/jsx-runtime").JSX.Element;
8
+ declare const SearchInput: ({ onChange, disabled, options, ...props }: ISearchInput) => React.JSX.Element;
7
9
  export default SearchInput;
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
  import { IHeaderProps } from './types';
2
3
 
3
- export declare const Header: ({ header, point, rect, styles }: IHeaderProps) => import("react/jsx-runtime").JSX.Element | undefined;
4
+ export declare const Header: ({ header, point, rect, styles }: IHeaderProps) => React.JSX.Element | undefined;
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
  import { IMenuProps } from './types';
2
3
 
3
- export declare const Menu: ({ onClear, mode, onModeChange, drawCoordinates, setDrawCoordinates, selectedShape, allowAdd, allowEdit, allowDelete }: IMenuProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const Menu: ({ onClear, mode, onModeChange, drawCoordinates, setDrawCoordinates, selectedShape, allowAdd, allowEdit, allowDelete }: IMenuProps) => React.JSX.Element;
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
  import { Point } from '../types';
2
3
 
3
4
  export declare const MousePoint: ({ coordinates, rect, isInFov, styles }: {
@@ -8,4 +9,4 @@ export declare const MousePoint: ({ coordinates, rect, isInFov, styles }: {
8
9
  fill?: string;
9
10
  stroke?: string;
10
11
  };
11
- }) => import("react/jsx-runtime").JSX.Element | null;
12
+ }) => React.JSX.Element | null;
@@ -1,7 +1,8 @@
1
+ import { default as React } from 'react';
1
2
  import { Point } from '../types';
2
3
 
3
4
  export declare const NumericMarker: ({ point, number, rect }: {
4
5
  point: Point;
5
6
  number: number;
6
7
  rect: DOMRect;
7
- }) => import("react/jsx-runtime").JSX.Element;
8
+ }) => React.JSX.Element;
@@ -1,4 +1,5 @@
1
+ import { default as React } from 'react';
1
2
  import { IShapesProps } from './types';
2
3
 
3
- declare const Shapes: ({ children, mode: modeFromProps, onModeChange: _onModeChange, shapes: shapesFromProps, selected: selectedShapeFromProps, onShapeChange, onShapeSelect, onMouseMove, menu, showNumbers, showId, showOnlyPoints, showPoints, showDirection, selectedShapeZIndex, snapToBoundaries, styles, polygonMaxLength, polylineMaxLength, polylineProps }: IShapesProps) => import("react/jsx-runtime").JSX.Element;
4
+ declare const Shapes: ({ children, mode: modeFromProps, onModeChange: _onModeChange, shapes: shapesFromProps, selected: selectedShapeFromProps, onShapeChange, onShapeSelect, onMouseMove, menu, showNumbers, showId, showOnlyPoints, showPoints, showDirection, selectedShapeZIndex, snapToBoundaries, styles, polygonMaxLength, polylineMaxLength, polylineProps }: IShapesProps) => React.JSX.Element;
4
5
  export default Shapes;
@@ -1,8 +1,9 @@
1
+ import { default as React } from 'react';
1
2
  import { Shape } from '../types';
2
3
 
3
4
  interface TextProps {
4
5
  shape: Shape;
5
6
  rect: DOMRect | null;
6
7
  }
7
- export declare const Text: ({ shape, rect }: TextProps) => import("react/jsx-runtime").JSX.Element | undefined;
8
+ export declare const Text: ({ shape, rect }: TextProps) => React.JSX.Element | undefined;
8
9
  export {};
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
  import { default as icons } from './icons';
2
3
 
3
4
  interface ISvg {
@@ -9,5 +10,5 @@ interface ISvg {
9
10
  className?: string;
10
11
  customPaths?: string[];
11
12
  }
12
- declare function Svg({ fill, icon, width, height, fillOpacity, className, customPaths }: ISvg): import("react/jsx-runtime").JSX.Element;
13
+ declare function Svg({ fill, icon, width, height, fillOpacity, className, customPaths, }: ISvg): React.JSX.Element;
13
14
  export default Svg;
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
1
+ import { default as React } from 'react';
2
2
 
3
3
  export interface DataPoint {
4
4
  id: string | number;
@@ -18,5 +18,5 @@ export interface TimelineChartProps {
18
18
  total?: number;
19
19
  hideFooter?: boolean;
20
20
  }
21
- declare const TimelineChart: FC<TimelineChartProps>;
21
+ declare const TimelineChart: React.FC<TimelineChartProps>;
22
22
  export default TimelineChart;