@smart-factor/gem-ui-map-component 0.0.19 → 0.0.20

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,3 @@
1
1
  import { MapExternalProps } from './types';
2
- declare const MapWithProviders: ({ mapLayers, caseObjectId, sidebarConfig, mapButtonsConfig, mapElementsConfig, setOuterDrawnGeometries, setOuterSelectedMapObjects, selectedFeatures, multiSelectEnabled, }: MapExternalProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const MapWithProviders: ({ id, mapLayers, caseObjectId, sidebarConfig, mapButtonsConfig, mapElementsConfig, setOuterDrawnGeometries, setOuterSelectedMapObjects, selectedFeatures, multiSelectEnabled, }: MapExternalProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default MapWithProviders;
@@ -171,6 +171,7 @@ export type SelectedFeature = {
171
171
  };
172
172
  };
173
173
  export interface MapExternalProps extends MapConfig {
174
+ id?: string;
174
175
  mapLayers: MapLayer[];
175
176
  setOuterDrawnGeometries?: (drawnGeometries: DrawnGeometryParam) => void;
176
177
  setOuterSelectedMapObjects?: (selectedMapObjects: Feature<GeometryOl>[] | null) => void;
@@ -1,4 +1,4 @@
1
- import { M as f } from "../../MapButtons-CcIHdsKh.js";
1
+ import { M as f } from "../../MapButtons-jqCWr3CL.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,3 +1,3 @@
1
1
  import { MapLayer, SelectedFeature } from '../components/Map/types';
2
2
  export declare const GEOLOCATION_LAYER = "geolocationLayer";
3
- export declare const useSetupMap: (mapLayers: MapLayer[], caseObjectId: number, initialSelectedFeatures?: SelectedFeature[], multiSelectEnabled?: boolean) => void;
3
+ export declare const useSetupMap: (id: string, mapLayers: MapLayer[], caseObjectId: number, initialSelectedFeatures?: SelectedFeature[], multiSelectEnabled?: boolean) => void;