@conboai/storybook.components 0.5.9 → 0.5.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 (69) 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/build/index.d.ts +1 -0
  7. package/dist/components/ActionButton/ActionButton.d.ts +2 -1
  8. package/dist/components/ActionSelect/ActionSelect.d.ts +2 -1
  9. package/dist/components/AppTitleBar/AppTitleBar.d.ts +2 -1
  10. package/dist/components/BreadCrumbs/BreadCrumbs.d.ts +3 -1
  11. package/dist/components/ChipsMultiSelect/ChipsMultiSelect.d.ts +3 -1
  12. package/dist/components/CircularProgressBar/CircularProgressBar.d.ts +2 -1
  13. package/dist/components/CircularProgressBar/CircularProgressWithLabel.d.ts +2 -1
  14. package/dist/components/CustomDataGrid/styles.d.ts +1 -0
  15. package/dist/components/CustomInput/CustomInput.d.ts +5 -5
  16. package/dist/components/CustomSelect/CustomSelect.d.ts +1 -0
  17. package/dist/components/DatePicker/ActionBar.d.ts +2 -1
  18. package/dist/components/DatePicker/DatePicker.d.ts +2 -1
  19. package/dist/components/DatePicker/constants.d.ts +6 -5
  20. package/dist/components/DatePicker/styles.d.ts +1 -25
  21. package/dist/components/Delimiter/Delimiter.d.ts +3 -1
  22. package/dist/components/Filter/components/Filter.d.ts +2 -1
  23. package/dist/components/Filter/components/FilterActionButtons.d.ts +2 -1
  24. package/dist/components/Filter/components/FilterBody.d.ts +2 -1
  25. package/dist/components/Filter/components/FilterContent.d.ts +2 -2
  26. package/dist/components/Filter/components/FilterContentFooter.d.ts +2 -1
  27. package/dist/components/Filter/components/FilterFooter.d.ts +2 -1
  28. package/dist/components/Filter/components/FilterHeader.d.ts +2 -1
  29. package/dist/components/Filter/components/FilterTabPanels.d.ts +2 -1
  30. package/dist/components/Filter/components/FilterTabs.d.ts +2 -1
  31. package/dist/components/FilterBox/FilterBox.d.ts +2 -1
  32. package/dist/components/Geo/Geo.d.ts +2 -1
  33. package/dist/components/Geo/LoadScriptWrapper.d.ts +8 -0
  34. package/dist/components/Geo/components/NumericMarker/index.d.ts +2 -1
  35. package/dist/components/Geo/components/PointMarker/index.d.ts +2 -1
  36. package/dist/components/Geo/components/Polygon/index.d.ts +2 -1
  37. package/dist/components/Geo/components/Polyline/index.d.ts +2 -1
  38. package/dist/components/Geo/components/ShapeDrawer/index.d.ts +2 -2
  39. package/dist/components/Geo/types.d.ts +3 -5
  40. package/dist/components/Geo/utils.d.ts +1 -1
  41. package/dist/components/Header/Header.d.ts +2 -2
  42. package/dist/components/HomeLink/HomeLink.d.ts +2 -2
  43. package/dist/components/ImageBox/ImageBox.d.ts +2 -0
  44. package/dist/components/ImagePlayer/ImagePlayer.d.ts +1 -0
  45. package/dist/components/MapPlayer/MapPlayer.d.ts +2 -2
  46. package/dist/components/MediaModal/MediaModal.d.ts +2 -2
  47. package/dist/components/MetroMap/MetroMap.d.ts +3 -2
  48. package/dist/components/NotificationBar/NotificationBar.d.ts +3 -1
  49. package/dist/components/OptimusWidgetBar/OptimusWidgetBar.d.ts +3 -1
  50. package/dist/components/PlayerPanel/PlayerPanel.d.ts +2 -2
  51. package/dist/components/SearchInput/SearchInput.d.ts +3 -1
  52. package/dist/components/Shapes/Header/index.d.ts +2 -1
  53. package/dist/components/Shapes/Menu/index.d.ts +2 -1
  54. package/dist/components/Shapes/MousePoint/index.d.ts +2 -1
  55. package/dist/components/Shapes/NumericMarker/index.d.ts +2 -1
  56. package/dist/components/Shapes/Shapes.d.ts +2 -1
  57. package/dist/components/Shapes/Text/index.d.ts +2 -1
  58. package/dist/components/Svg/Svg.d.ts +2 -1
  59. package/dist/components/TimelineChart/TimelineChart.d.ts +2 -0
  60. package/dist/components/Toggle/Toggle.d.ts +3 -3
  61. package/dist/components/TrailPathView/TrailPathView.d.ts +2 -0
  62. package/dist/components/VerticalTable/styles.d.ts +1075 -1
  63. package/dist/interfaces/actionButton.d.ts +1 -2
  64. package/dist/interfaces/detailsView.d.ts +3 -3
  65. package/dist/interfaces/tabsContainer.d.ts +4 -4
  66. package/dist/mocks/detailsView.d.ts +2 -1
  67. package/dist/storybook.components.mjs +21079 -22561
  68. package/dist/style.css +1 -0
  69. package/package.json +19 -11
@@ -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;
@@ -29,6 +29,7 @@ export { CustomInput } from '../components/CustomInput';
29
29
  export { extractPrefix, extractZip, startsWithAny, parseSvg, getParsedSvgViewsFromZip, } from '../components/MetroMap/MetroMapUtils';
30
30
  export { TimelineChart } from '../components/TimelineChart';
31
31
  export { TrailPathView } from '../components/TrailPathView';
32
+ export { LoadScriptWrapper } from '../components/Geo/LoadScriptWrapper';
32
33
  export { Geo } from '../components/Geo';
33
34
  export { Shapes } from '../components/Shapes';
34
35
  export { CustomDataGrid } from '../components/CustomDataGrid';
@@ -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,3 +1,4 @@
1
1
  import { SxProps } from '@mui/material';
2
2
 
3
3
  export declare const paperSx: (sx: SxProps | undefined, variant: "light" | "dark") => SxProps;
4
+ export declare const dataGridProSx: (sx: SxProps | undefined, variant: "light" | "dark") => SxProps;
@@ -1,12 +1,12 @@
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;
7
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
8
8
  type?: string;
9
9
  variant?: "light" | "dark";
10
10
  }
11
- declare const CustomInput: import('react').ForwardRefExoticComponent<Omit<ICustomInputProps & import('@mui/material/TextField').StandardTextFieldProps, "ref"> & import('react').RefAttributes<HTMLInputElement>>;
11
+ declare const CustomInput: React.ForwardRefExoticComponent<Omit<ICustomInputProps & import('@mui/material/TextField').StandardTextFieldProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
12
12
  export default CustomInput;
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
  import { SelectProps, SelectChangeEvent } from '@mui/material';
2
3
 
3
4
  export interface ICustomSelect {
@@ -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,19 +1,20 @@
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: {
14
15
  items: TypeShortcuts;
15
16
  };
16
17
  popper: {
17
- sx: import('@mui/material').SxProps;
18
+ sx: import('@mui/system').SxProps;
18
19
  };
19
20
  };
@@ -1,29 +1,5 @@
1
1
  import { SxProps } from '@mui/material';
2
2
 
3
3
  export declare const popperSx: SxProps;
4
- export declare const datePickerSx: {
5
- width: string;
6
- "& .MuiInputBase-root": {
7
- height: string;
8
- backgroundColor: string;
9
- };
10
- input: {
11
- padding: string;
12
- };
13
- label: {
14
- top: string;
15
- "&.Mui-focused": {
16
- top: string;
17
- color: string;
18
- };
19
- "&.MuiFormLabel-filled": {
20
- top: string;
21
- };
22
- };
23
- "& .MuiOutlinedInput-root": {
24
- "&.Mui-focused .MuiOutlinedInput-notchedOutline": {
25
- borderColor: string;
26
- };
27
- };
28
- };
4
+ export declare const datePickerSx: SxProps;
29
5
  export declare const actionButtonSx: SxProps;
@@ -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, showOnlyPoints, initialCenter, zoom: zoomFromProps }: GeoComponentProps) => import("react/jsx-runtime").JSX.Element;
4
+ declare const Geo: (props: GeoComponentProps) => React.JSX.Element;
4
5
  export default Geo;
@@ -0,0 +1,8 @@
1
+ import { ReactNode } from 'react';
2
+ import { LibraryTypes } from './types';
3
+
4
+ export declare const libraries: LibraryTypes[];
5
+ export declare const LoadScriptWrapper: ({ children, apiKey }: {
6
+ children: ReactNode;
7
+ apiKey: string;
8
+ }) => JSX.Element;
@@ -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 {
@@ -10,5 +11,5 @@ export interface IPolygonProps {
10
11
  showOnlyPoints?: boolean;
11
12
  showNumbers?: boolean;
12
13
  }
13
- declare const Polygon: import('react').MemoExoticComponent<({ selected, onChange: onChangeFromProps, onClick: onClickFromProps, data, mode, color, showNumbers, showOnlyPoints }: IPolygonProps) => import("react/jsx-runtime").JSX.Element>;
14
+ declare const Polygon: React.MemoExoticComponent<({ selected, onChange: onChangeFromProps, onClick: onClickFromProps, data, mode, color, showNumbers, showOnlyPoints }: IPolygonProps) => React.JSX.Element>;
14
15
  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 {
@@ -8,5 +9,5 @@ interface IPolyline {
8
9
  showNumbers?: boolean;
9
10
  showOnlyPoints?: boolean;
10
11
  }
11
- declare const Polyline: import('react').MemoExoticComponent<({ zoom: zoomFromProps, showDirection, onChange: onChangeFromProps, data, showNumbers, showOnlyPoints }: IPolyline) => import("react/jsx-runtime").JSX.Element>;
12
+ declare const Polyline: React.MemoExoticComponent<({ zoom: zoomFromProps, showDirection, onChange: onChangeFromProps, data, showNumbers, showOnlyPoints }: IPolyline) => React.JSX.Element>;
12
13
  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 {};
@@ -2,14 +2,12 @@ export declare enum EntityTypes {
2
2
  Marker = "marker",
3
3
  Infobox = "infobox",
4
4
  Polygon = "polygon",
5
- Polyline = "polyline",
6
- Circle = "circle"
5
+ Polyline = "polyline"
7
6
  }
8
7
  export interface GeoType {
9
8
  id: string;
10
9
  name?: string;
11
10
  type: EntityTypes;
12
- color?: string;
13
11
  coordinates: CoordinatePoint[];
14
12
  zoom?: number;
15
13
  isInFov?: boolean;
@@ -39,12 +37,12 @@ export interface GeoComponentProps {
39
37
  mode?: GeoMode;
40
38
  showDirection?: boolean;
41
39
  resetKey?: number;
42
- data?: GeoType[] | null;
40
+ data?: GeoType[];
43
41
  onMouseMove?: (coordinatePoint: CoordinatePoint) => void;
44
42
  showNumbers?: boolean;
45
43
  allowDelete?: boolean;
46
44
  allowAdd?: boolean;
47
- selectedGeoId?: string | null;
45
+ selectedGeoId?: string;
48
46
  zoom?: number;
49
47
  fitZoom?: boolean;
50
48
  mapCentering?: boolean;
@@ -2,7 +2,7 @@ import { CoordinatePoint } from './types';
2
2
 
3
3
  export declare const getLatLngArray: (path: google.maps.LatLng[]) => CoordinatePoint[];
4
4
  export declare const pointsAreClose: (p1: google.maps.LatLng, p2: google.maps.LatLng, threshold?: number) => boolean;
5
- export declare const findPolygonCenter: (points?: CoordinatePoint[]) => CoordinatePoint | undefined;
5
+ export declare const findPolygonCenter: (points: CoordinatePoint[]) => CoordinatePoint;
6
6
  export declare const findPolylineCenter: (points: CoordinatePoint[]) => CoordinatePoint;
7
7
  export declare const fitBoundsToPoints: (mapInstance: google.maps.Map | null, points: CoordinatePoint[]) => void;
8
8
  export declare const addRandomDecimal: (number: number) => number;
@@ -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,3 +1,5 @@
1
+ import { default as React } from 'react';
2
+
1
3
  interface ImageBoxProps {
2
4
  images: string[];
3
5
  imgIndex?: number;
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
  import { SxProps } from '@mui/material';
2
3
  import { Shape } from '../Shapes/types';
3
4
 
@@ -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 { CoordinatePoint, GeoMode, GeoType } from '../Geo/types';
4
4
 
@@ -27,5 +27,5 @@ export interface IMapPlayerProps {
27
27
  allowAdd?: boolean;
28
28
  mode?: GeoMode;
29
29
  }
30
- declare const MapPlayer: FC<IMapPlayerProps>;
30
+ declare const MapPlayer: React.FC<IMapPlayerProps>;
31
31
  export default MapPlayer;
@@ -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
  interface IMetroMap {
4
5
  elements: IElement;
@@ -39,6 +40,6 @@ interface IElement {
39
40
  children: IElement[];
40
41
  className?: string;
41
42
  }
42
- declare function MetroMap({ elements, onSelect, selectedCluster, minor, major, isMultiSelect, onHover, svgAttributes, showFullNames, isMap, pollutions, timing, disabledSectors }: IMetroMap): import("react/jsx-runtime").JSX.Element | null;
43
- declare const _default: import('react').MemoExoticComponent<typeof MetroMap>;
43
+ declare function MetroMap({ elements, onSelect, selectedCluster, minor, major, isMultiSelect, onHover, svgAttributes, showFullNames, isMap, pollutions, timing, disabledSectors }: IMetroMap): React.JSX.Element | null;
44
+ declare const _default: React.MemoExoticComponent<typeof MetroMap>;
44
45
  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,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,7 +1,8 @@
1
+ import { default as React } from 'react';
1
2
  import { Point } from '../types';
2
3
 
3
4
  export declare const MousePoint: ({ coordinates, rect, isInFov }: {
4
5
  coordinates: Point;
5
6
  rect: DOMRect | null;
6
7
  isInFov?: boolean;
7
- }) => import("react/jsx-runtime").JSX.Element | null;
8
+ }) => 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
1
  import { IShapesProps } from './types';
2
+ import { default as React } from 'react';
2
3
 
3
- declare const Shapes: ({ children, mode: modeFromProps, onModeChange: _onModeChange, shapes: shapesFromProps, selected, onShapeChange, onShapeSelect, onMouseMove, menu, showNumbers, showId, showOnlyPoints, showPoints, showDirection, selectedShapeZIndex, styles, }: IShapesProps) => import("react/jsx-runtime").JSX.Element;
4
+ declare const Shapes: ({ children, mode: modeFromProps, onModeChange: _onModeChange, shapes: shapesFromProps, selected, onShapeChange, onShapeSelect, onMouseMove, menu, showNumbers, showId, showOnlyPoints, showPoints, showDirection, selectedShapeZIndex, styles, }: 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 {};