cortex-react-ui 0.2.23 → 0.2.24

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.
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { WebcamProps } from 'react-webcam';
2
3
  declare const Camera: React.FC<CameraProps>;
3
4
  export type CameraProps = {
@@ -1,5 +1,6 @@
1
+ import React from 'react';
1
2
  import { ControlPosition, DrawEvents } from 'leaflet';
2
- export declare const DrawTools: (props: DrawToolsProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const DrawTools: (props: DrawToolsProps) => React.JSX.Element;
3
4
  export type DrawToolsProps = {
4
5
  position?: ControlPosition | undefined;
5
6
  handleOnCreated?: (v: DrawEvents.Created) => void;
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  import 'leaflet.fullscreen/Control.FullScreen.css';
2
3
  import { ControlPosition } from 'leaflet';
3
- export declare const MapFullscreenControl: (props: MapFullscreenControlProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const MapFullscreenControl: (props: MapFullscreenControlProps) => React.JSX.Element;
4
5
  /** Props interface for MapFullscreenControl component */
5
6
  export type MapFullscreenControlProps = {
6
7
  /** Change the content of the button, can be HTML, default null */
@@ -1,10 +1,11 @@
1
+ import React from 'react';
1
2
  import { MapContainerProps } from 'react-leaflet';
2
3
  import { LatLngTuple } from 'leaflet';
3
4
  import { Location } from '../models';
4
5
  import { CenterActiveAreaControlProps } from './CenterActiveAreaControl';
5
6
  import { MapFullscreenControlProps } from './MapFullscreenControl';
6
7
  import { DrawToolsProps } from './DrawTools';
7
- declare const Maps: (props: MapsProps) => import("react/jsx-runtime").JSX.Element;
8
+ declare const Maps: (props: MapsProps) => React.JSX.Element;
8
9
  export type MapsProps = {
9
10
  MapContainerProps?: MapContainerProps;
10
11
  center?: LatLngTuple;
@@ -1,4 +1,5 @@
1
- export declare const Dialog: (props: DialogProps) => import("react/jsx-runtime").JSX.Element;
1
+ import React from 'react';
2
+ export declare const Dialog: (props: DialogProps) => React.JSX.Element;
2
3
  export type DialogTitleProps = {
3
4
  title?: string;
4
5
  };
@@ -1,3 +1,3 @@
1
- import { HTMLAttributes } from 'react';
2
- export declare const DialogMask: (props: DialogMaskProps) => import("react/jsx-runtime").JSX.Element;
1
+ import React, { HTMLAttributes } from 'react';
2
+ export declare const DialogMask: (props: DialogMaskProps) => React.JSX.Element;
3
3
  export type DialogMaskProps = HTMLAttributes<HTMLDivElement>;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  export declare const ScanConfirmationDialog: React.FC<TScanConfirmDialogProps>;
2
3
  export type TScanConfirmDialogLabels = {
3
4
  title?: string;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { IDetectedBarcode, IScannerProps } from '@yudiel/react-qr-scanner';
2
3
  import { TScanConfirmDialogLabels } from './ScanConfirmationDialog';
3
4
  declare const Scanner: React.FC<ScannerProps>;