@reltio/dashboard 1.4.2297 → 1.4.2299
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/package.json +4 -4
- package/types/components/src/DropDownSelector/styles.d.ts +1 -1
- package/types/components/src/HOCs/withReactSelectMuiSkin/styles.d.ts +1 -1
- package/types/components/src/constants/index.d.ts +1 -1
- package/types/components/src/constants/map.d.ts +1 -2
- package/types/components/src/EntityAvatar/EntityAvatar.d.ts +0 -9
- package/types/components/src/EntityAvatar/index.d.ts +0 -1
- package/types/components/src/EntityAvatar/no-photo.svg.d.ts +0 -1
- package/types/components/src/EntityTypeBadge/EntityTypeBadge.d.ts +0 -9
- package/types/components/src/EntityTypeBadge/index.d.ts +0 -1
- package/types/components/src/EntityTypeBadge/styles.d.ts +0 -1
- package/types/components/src/ProfileCard/ProfileCard.d.ts +0 -14
- package/types/components/src/ProfileCard/components/ProfileCardContent/ProfileCardContent.d.ts +0 -12
- package/types/components/src/ProfileCard/components/ProfileCardContent/index.d.ts +0 -1
- package/types/components/src/ProfileCard/components/ProfileCardContent/styles.d.ts +0 -1
- package/types/components/src/ProfileCard/components/ProfileCardPlaceholder/ProfileCardPlaceholder.d.ts +0 -2
- package/types/components/src/ProfileCard/components/ProfileCardPlaceholder/index.d.ts +0 -1
- package/types/components/src/ProfileCard/components/ProfileCardPlaceholder/styles.d.ts +0 -1
- package/types/components/src/ProfileCard/index.d.ts +0 -1
- package/types/components/src/ProfileCard/styles.d.ts +0 -1
- package/types/components/src/ReltioMap/ReltioMap.d.ts +0 -32
- package/types/components/src/ReltioMap/components/ClusteredMarkers/ClusteredMarkers.d.ts +0 -11
- package/types/components/src/ReltioMap/components/ClusteredMarkers/CustomClusterRenderer.d.ts +0 -8
- package/types/components/src/ReltioMap/components/ClusteredMarkers/index.d.ts +0 -1
- package/types/components/src/ReltioMap/components/DrawingManager/DrawingManager.d.ts +0 -2
- package/types/components/src/ReltioMap/components/DrawingManager/index.d.ts +0 -1
- package/types/components/src/ReltioMap/components/DrawingManager/useDrawingManager.d.ts +0 -7
- package/types/components/src/ReltioMap/components/EntityMarker/EntityMarker.d.ts +0 -10
- package/types/components/src/ReltioMap/components/EntityMarker/icons/marker-hover.inline.svg.d.ts +0 -1
- package/types/components/src/ReltioMap/components/EntityMarker/icons/marker.inline.svg.d.ts +0 -1
- package/types/components/src/ReltioMap/components/EntityMarker/index.d.ts +0 -1
- package/types/components/src/ReltioMap/components/EntityMarker/styles.d.ts +0 -1
- package/types/components/src/ReltioMap/components/Polygon/Polygon.d.ts +0 -7
- package/types/components/src/ReltioMap/components/Polygon/index.d.ts +0 -1
- package/types/components/src/ReltioMap/components/Polygon/usePolygon.d.ts +0 -10
- package/types/components/src/ReltioMap/components/TopCenterMapControls/TopCenterMapControls.d.ts +0 -8
- package/types/components/src/ReltioMap/components/TopCenterMapControls/index.d.ts +0 -1
- package/types/components/src/ReltioMap/components/TopCenterMapControls/styles.d.ts +0 -1
- package/types/components/src/ReltioMap/components/TopRightMapControls/TopRightMapControls.d.ts +0 -50
- package/types/components/src/ReltioMap/components/TopRightMapControls/index.d.ts +0 -1
- package/types/components/src/ReltioMap/components/TopRightMapControls/styles.d.ts +0 -1
- package/types/components/src/ReltioMap/helpers.d.ts +0 -6
- package/types/components/src/ReltioMap/index.d.ts +0 -2
- package/types/components/src/ReltioMap/styles.d.ts +0 -1
- package/types/components/src/ReltioMap/types.d.ts +0 -19
- package/types/components/src/ReltioMap/useFitMapBounds.d.ts +0 -6
- package/types/components/src/contexts/EntityMarkerContext/index.d.ts +0 -6
- package/types/components/src/icons/Draw.d.ts +0 -3
- package/types/components/src/icons/Radius.d.ts +0 -3
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reltio/dashboard",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2299",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE FILE",
|
|
5
5
|
"main": "bundle.js",
|
|
6
6
|
"types": "./types/index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@reltio/components": "^1.4.
|
|
9
|
-
"@reltio/mdm-module": "^1.4.
|
|
10
|
-
"@reltio/mdm-sdk": "^1.4.
|
|
8
|
+
"@reltio/components": "^1.4.2258",
|
|
9
|
+
"@reltio/mdm-module": "^1.4.2080",
|
|
10
|
+
"@reltio/mdm-sdk": "^1.4.2039",
|
|
11
11
|
"object-hash": "^2.1.1"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"
|
|
1
|
+
export const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"dropdownIndicator" | "control" | "formControl" | "inputLabel" | "valueContainer" | "filledInputRoot" | "filledInputUnderline">;
|
|
2
2
|
export namespace customStyles {
|
|
3
3
|
function menu(baseStyles: any): any;
|
|
4
4
|
function menuList(baseStyles: any): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"singleValue" | "option" | "menu" | "placeholder" | "
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"singleValue" | "option" | "menu" | "placeholder" | "dropdownIndicator" | "control" | "option--selected" | "option--item" | "clearIndicator" | "groupHeading" | "multiValue" | "noOptionsMessage" | "valueContainer" | "multiValue__label" | "valueContainer--multi">;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { SortingType, QueryBuilderAttributeType } from './prop-types';
|
|
2
2
|
export { COMMENTS_CONTAINER_VISIBILITY_AREA } from './classnames';
|
|
3
3
|
export { FIXED_TYPE_URIS } from './attributes';
|
|
4
|
-
export {
|
|
4
|
+
export { POLYGON_DRAWING_MODE, DEFAULT_GOOGLE_MAP_OPTIONS, DEFAULT_OVERLAY_OPTIONS, MAP_MINIMUM_SCALE_RADIUS } from './map';
|
|
5
5
|
export { COMMON_TEXT_FIELD_PROPS } from './textField';
|
|
6
6
|
export { POPUP_Z_INDEX } from './common';
|
|
7
7
|
export { ReactSelectOptionFilters } from './reactSelect';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Entity } from '@reltio/mdm-sdk';
|
|
3
|
-
type Props = {
|
|
4
|
-
entity: Entity;
|
|
5
|
-
avatarClassName?: string;
|
|
6
|
-
imageClassName?: string;
|
|
7
|
-
};
|
|
8
|
-
export declare const EntityAvatar: ({ entity, avatarClassName, imageClassName }: Props) => React.JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { EntityAvatar } from './EntityAvatar';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const DEFAULT_PROFILE_IMAGE = "\n<svg width=\"400px\" height=\"400px\" viewBox=\"0 0 400 400\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>Group</title>\n <g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group\" fill-rule=\"nonzero\">\n <rect id=\"Rectangle\" fill=\"#DFE5E9\" x=\"0\" y=\"0\" width=\"400\" height=\"400\"></rect>\n <path d=\"M0,387.023257 L0,399.918908 L400,399.918908 L400,386.023594 C366.631,377.336524 321.866,364.269931 315.979,359.161654 C308.985,353.083704 270.481,310.508063 270.481,310.508063 L270.481,286.186267 C270.481,286.186267 284.478,266.204006 284.478,261.854473 C284.478,257.515936 285.353,246.219746 291.481,241.011503 C297.61,235.792263 311.607,211.471466 312.481,206.253226 C313.355,201.043983 319.484,188.009379 312.481,185.400259 C305.478,182.801135 307.236,173.244359 308.984,168.026119 C310.733,162.817875 319.484,139.355788 322.981,133.277838 C326.488,127.199888 312.481,108.956041 312.481,108.956041 C312.481,108.956041 294.978,80.2857109 245.975,53.3547939 C196.971,26.4138803 168.967,42.9283105 168.967,42.9283105 L161.964,60.3024507 C161.964,60.3024507 138.341,64.6409874 123.46,77.6765909 C108.589,90.7121943 99.837,106.346921 98.963,115.903698 C98.088,125.460475 103.334,159.339048 105.966,164.557289 C108.589,169.765532 112.96,185.400259 112.96,185.400259 C112.96,185.400259 108.589,183.670842 105.966,188.879085 C103.334,194.097325 112.085,218.419122 112.96,220.159535 C113.834,221.897949 114.718,238.403382 119.963,237.532676 C125.218,236.663969 130.463,251.42799 130.463,251.42799 C130.463,251.42799 143.596,271.41125 144.47,275.759783 C145.344,280.09832 147.967,307.039233 147.967,307.039233 L126.967,331.36103 L102.46,355.682827 C102.459,355.682827 34.042,375.886013 0,387.023257 Z\" id=\"Path\" fill=\"#B3BCC4\"></path>\n <path d=\"M0,387.023257 L0,399.918908 L400,399.918908 L400,386.023594 C366.631,377.336524 321.866,364.269931 315.979,359.161654 C308.985,353.083704 270.481,310.508063 270.481,310.508063 L270.481,286.186267 C270.481,286.186267 284.478,266.204006 284.478,261.854473 C284.478,257.515936 285.353,246.219746 291.481,241.011503 C297.61,235.792263 311.607,211.471466 312.481,206.253226 C313.355,201.043983 319.484,188.009379 312.481,185.400259 C305.478,182.801135 307.236,173.244359 308.984,168.026119 C310.733,162.817875 319.484,139.355788 322.981,133.277838 C326.488,127.199888 312.481,108.956041 312.481,108.956041 C312.481,108.956041 294.978,80.2857109 245.975,53.3547939 C196.971,26.4138803 168.967,42.9283105 168.967,42.9283105 L161.964,60.3024507 C161.964,60.3024507 138.341,64.6409874 123.46,77.6765909 C108.589,90.7121943 99.837,106.346921 98.963,115.903698 C98.088,125.460475 103.334,159.339048 105.966,164.557289 C108.589,169.765532 112.96,185.400259 112.96,185.400259 C112.96,185.400259 108.589,183.670842 105.966,188.879085 C103.334,194.097325 112.085,218.419122 112.96,220.159535 C113.834,221.897949 114.718,238.403382 119.963,237.532676 C125.218,236.663969 130.463,251.42799 130.463,251.42799 C130.463,251.42799 143.596,271.41125 144.47,275.759783 C145.344,280.09832 147.967,307.039233 147.967,307.039233 L126.967,331.36103 L102.46,355.682827 C102.459,355.682827 34.042,375.886013 0,387.023257 Z\" id=\"Path\" fill=\"#B3BCC4\"></path>\n <path d=\"M5.68434189e-14,387.023257 L5.68434189e-14,399.918908 L400,399.918908 L400,386.023594 C366.631,377.336524 321.866,364.269931 315.979,359.161654 C308.985,353.083704 270.481,310.508063 270.481,310.508063 L270.481,286.186267 C270.481,286.186267 284.478,266.204006 284.478,261.854473 C284.478,257.515936 285.353,246.219746 291.481,241.011503 C297.61,235.792263 311.607,211.471466 312.481,206.253226 C313.355,201.043983 319.484,188.009379 312.481,185.400259 C305.478,182.801135 307.236,173.244359 308.984,168.026119 C310.733,162.817875 319.484,139.355788 322.981,133.277838 C326.488,127.199888 312.481,108.956041 312.481,108.956041 C312.481,108.956041 294.978,80.2857109 245.975,53.3547939 C196.971,26.4138803 168.967,42.9283105 168.967,42.9283105 L161.964,60.3024507 C161.964,60.3024507 138.341,64.6409874 123.46,77.6765909 C108.589,90.7121943 99.837,106.346921 98.963,115.903698 C98.088,125.460475 103.334,159.339048 105.966,164.557289 C108.589,169.765532 112.96,185.400259 112.96,185.400259 C112.96,185.400259 108.589,183.670842 105.966,188.879085 C103.334,194.097325 112.085,218.419122 112.96,220.159535 C113.834,221.897949 114.718,238.403382 119.963,237.532676 C125.218,236.663969 130.463,251.42799 130.463,251.42799 C130.463,251.42799 143.596,271.41125 144.47,275.759783 C145.344,280.09832 147.967,307.039233 147.967,307.039233 L126.967,331.36103 L102.46,355.682827 C102.459,355.682827 34.042,375.886013 5.68434189e-14,387.023257 Z\" id=\"Path\" fill=\"#B3BCC4\"></path>\n </g>\n </g>\n</svg>\n";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Entity } from '@reltio/mdm-sdk';
|
|
3
|
-
type Props = {
|
|
4
|
-
entity: Entity;
|
|
5
|
-
className?: string;
|
|
6
|
-
size?: 'small' | 'medium';
|
|
7
|
-
};
|
|
8
|
-
export declare const EntityTypeBadge: ({ entity, className, size }: Props) => React.JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { EntityTypeBadge } from './EntityTypeBadge';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"entityType-overflow" | "entityType-small" | "entityType-medium">;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Entity } from '@reltio/mdm-sdk';
|
|
3
|
-
type Props = {
|
|
4
|
-
entity: Entity;
|
|
5
|
-
classes?: {
|
|
6
|
-
label?: string;
|
|
7
|
-
secondaryLabel?: string;
|
|
8
|
-
container?: string;
|
|
9
|
-
};
|
|
10
|
-
variant?: 'loading' | 'normal';
|
|
11
|
-
disableEntityLink?: boolean;
|
|
12
|
-
} & React.HTMLAttributes<HTMLDivElement>;
|
|
13
|
-
declare const _default: React.MemoExoticComponent<({ entity, classes, variant, disableEntityLink, ...otherProps }: Props) => React.JSX.Element>;
|
|
14
|
-
export default _default;
|
package/types/components/src/ProfileCard/components/ProfileCardContent/ProfileCardContent.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Entity } from '@reltio/mdm-sdk';
|
|
3
|
-
type Props = {
|
|
4
|
-
entity: Entity;
|
|
5
|
-
classes?: {
|
|
6
|
-
label?: string;
|
|
7
|
-
secondaryLabel?: string;
|
|
8
|
-
};
|
|
9
|
-
disableEntityLink?: boolean;
|
|
10
|
-
};
|
|
11
|
-
export declare const ProfileCardContent: ({ entity, classes, disableEntityLink }: Props) => React.JSX.Element;
|
|
12
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ProfileCardContent } from './ProfileCardContent';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"label" | "link" | "secondaryLabel" | "entityId" | "image" | "info" | "thirdRow" | "entityIdLabel" | "entityIdValue">;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ProfileCardPlaceholder } from './ProfileCardPlaceholder';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"label" | "secondaryLabel" | "info" | "avatar" | "thirdRow" | "@keyframes keyframes-wave" | "wave">;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ProfileCard } from './ProfileCard';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"container">;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { GeoPoint } from '@reltio/mdm-sdk';
|
|
3
|
-
import { DrawingModes, MapBounds, Overlay, ClusteredMarkersOptions, DrawingMode } from './types';
|
|
4
|
-
type Props = {
|
|
5
|
-
markers?: GeoPoint[];
|
|
6
|
-
mapKey: string;
|
|
7
|
-
/** A map ID is required to use Advanced Markers. https://developers.google.com/maps/documentation/javascript/advanced-markers/overview */
|
|
8
|
-
mapId?: string;
|
|
9
|
-
defaultZoom?: number;
|
|
10
|
-
defaultCenter?: google.maps.LatLngLiteral;
|
|
11
|
-
loadingElement: React.ReactElement;
|
|
12
|
-
isSearchOnMapMove?: boolean;
|
|
13
|
-
isSearchEnabled?: boolean;
|
|
14
|
-
activeOverlay?: Overlay;
|
|
15
|
-
overlayOptions?: google.maps.PolygonOptions | google.maps.CircleOptions;
|
|
16
|
-
drawingModes?: DrawingModes;
|
|
17
|
-
markerClusterer?: boolean;
|
|
18
|
-
markerClustererOptions?: ClusteredMarkersOptions;
|
|
19
|
-
mapOptions?: google.maps.MapOptions;
|
|
20
|
-
mapContainerClassName?: string;
|
|
21
|
-
onMapBoundsChanged?: (value: MapBounds | null) => void;
|
|
22
|
-
onOverlayUpdated?: (value: {
|
|
23
|
-
data: number[][] | {
|
|
24
|
-
radius: number;
|
|
25
|
-
center: google.maps.LatLng;
|
|
26
|
-
};
|
|
27
|
-
type: DrawingMode;
|
|
28
|
-
}) => void;
|
|
29
|
-
onMarkerClicked?: (value: GeoPoint) => void;
|
|
30
|
-
};
|
|
31
|
-
export declare const ReltioMap: ({ mapKey, ...restProps }: Props) => React.JSX.Element;
|
|
32
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { GeoPoint } from '@reltio/mdm-sdk';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { ClusteredMarkersOptions } from '../../types';
|
|
4
|
-
type Props = {
|
|
5
|
-
entityMarkers: GeoPoint[];
|
|
6
|
-
enabledClustering: boolean;
|
|
7
|
-
options?: ClusteredMarkersOptions;
|
|
8
|
-
onMarkerClick?: (marker: GeoPoint) => void;
|
|
9
|
-
};
|
|
10
|
-
export declare const ClusteredMarkers: React.MemoExoticComponent<({ entityMarkers, options, enabledClustering, onMarkerClick }: Props) => React.JSX.Element>;
|
|
11
|
-
export {};
|
package/types/components/src/ReltioMap/components/ClusteredMarkers/CustomClusterRenderer.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Marker, Renderer, Cluster, ClusterStats } from '@googlemaps/markerclusterer';
|
|
2
|
-
import { ClusteredMarkersOptions } from '../../types';
|
|
3
|
-
export declare class CustomClusterRenderer implements Renderer {
|
|
4
|
-
private options;
|
|
5
|
-
private defaultRenderer;
|
|
6
|
-
constructor(options: ClusteredMarkersOptions);
|
|
7
|
-
render(cluster: Cluster, stats: ClusterStats, map: google.maps.Map): Marker;
|
|
8
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ClusteredMarkers } from './ClusteredMarkers';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DrawingManager } from './DrawingManager';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export type DrawingManagerProps = {
|
|
2
|
-
drawingMode: google.maps.drawing.OverlayType;
|
|
3
|
-
onPolygonComplete?: (polygon: google.maps.Polygon) => void;
|
|
4
|
-
onCircleComplete?: (circle: google.maps.Circle) => void;
|
|
5
|
-
options: google.maps.drawing.DrawingManagerOptions;
|
|
6
|
-
};
|
|
7
|
-
export declare const useDrawingManager: ({ drawingMode, onPolygonComplete, onCircleComplete, options }: DrawingManagerProps) => google.maps.drawing.DrawingManager;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React, { ComponentProps } from 'react';
|
|
2
|
-
import { AdvancedMarker } from '@vis.gl/react-google-maps';
|
|
3
|
-
import { GeoPoint } from '@reltio/mdm-sdk';
|
|
4
|
-
type Props = {
|
|
5
|
-
marker: GeoPoint;
|
|
6
|
-
onClick: (marker: GeoPoint) => void;
|
|
7
|
-
clusterer?: (advancedMarker: google.maps.marker.AdvancedMarkerElement | null, id: string) => void;
|
|
8
|
-
} & Omit<ComponentProps<typeof AdvancedMarker>, 'onClick' | 'position' | 'onMouseEnter' | 'onMouseLeave'>;
|
|
9
|
-
declare const _default: React.MemoExoticComponent<({ marker, onClick, clusterer, ...otherProps }: Props) => React.JSX.Element>;
|
|
10
|
-
export default _default;
|
package/types/components/src/ReltioMap/components/EntityMarker/icons/marker-hover.inline.svg.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const HOVERED_MARKER = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"22px\" height=\"32px\" viewBox=\"0 0 22 32\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>View / Map / Marker / Large (hover)</title>\n <defs>\n <radialGradient cx=\"50%\" cy=\"50.2950175%\" fx=\"50%\" fy=\"50.2950175%\" r=\"49.7049825%\" gradientTransform=\"translate(0.500000,0.502950),scale(0.777778,1.000000),rotate(90.000000),scale(1.000000,1.293560),translate(-0.500000,-0.502950)\" id=\"radialGradient-1\">\n <stop stop-color=\"#000000\" offset=\"0%\"></stop>\n <stop stop-color=\"#000000\" stop-opacity=\"0\" offset=\"100%\"></stop>\n </radialGradient>\n <path d=\"M21,0 C21.5522847,-1.01453063e-16 22,0.44771525 22,1 L22,21 C22,21.5522847 21.5522847,22 21,22 L15.7283832,22.0012846 C15.5422129,22.2445529 15.3664776,22.4802332 15.1984183,22.7122576 C13.7560833,24.7035592 13,26.2846074 13,27.5 L13,27.5 L12.9945143,27.6492623 C12.9181651,28.6841222 12.0543618,29.5 11,29.5 C9.8954305,29.5 9,28.6045695 9,27.5 L9,27.5 L8.99485006,27.3298651 C8.91582184,26.0024976 7.93016704,24.2171459 6.23940611,22.000704 L1,22 C0.44771525,22 6.76353751e-17,21.5522847 0,21 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L21,0 Z\" id=\"path-2\"></path>\n </defs>\n <g id=\"View-/-Map-/-Marker-/-Large-(hover)\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <ellipse id=\"Oval\" fill=\"url(#radialGradient-1)\" opacity=\"0.32\" cx=\"11\" cy=\"28.5\" rx=\"6\" ry=\"4.66666667\"></ellipse>\n <mask id=\"mask-3\" fill=\"white\">\n <use xlink:href=\"#path-2\"></use>\n </mask>\n <use id=\"Path-2\" fill=\"#FFFFFF\" xlink:href=\"#path-2\"></use>\n <rect id=\"Entity-type\" fill=\"#24A8E8\" mask=\"url(#mask-3)\" x=\"0\" y=\"0\" width=\"22\" height=\"32\"></rect>\n <path d=\"M20,2 L20,20 L14.755,20 L14.6905172,20.0815309 C14.3562717,20.5012516 14.0578656,20.8886742 13.7817711,21.2616986 L13.5786724,21.5390469 C11.92787,23.8181606 11.079024,25.6311217 11.0052669,27.2674145 L11.0052669,27.2674145 L11,27.5 L10.9968324,27.3203844 C10.9285422,25.3781621 9.75347502,23.1598866 7.22124201,20.0010865 L2,20 L2,2 L20,2 Z\" id=\"Path\" fill=\"#FFFFFF\" fill-rule=\"nonzero\" mask=\"url(#mask-3)\"></path>\n </g>\n</svg>";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const MARKER = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"22px\" height=\"32px\" viewBox=\"0 0 22 32\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>View / Map / Marker / Large</title>\n <defs>\n <radialGradient cx=\"50%\" cy=\"50.2950175%\" fx=\"50%\" fy=\"50.2950175%\" r=\"49.7049825%\" gradientTransform=\"translate(0.500000,0.502950),scale(0.777778,1.000000),rotate(90.000000),scale(1.000000,1.293560),translate(-0.500000,-0.502950)\" id=\"radialGradient-1\">\n <stop stop-color=\"#000000\" offset=\"0%\"></stop>\n <stop stop-color=\"#000000\" stop-opacity=\"0\" offset=\"100%\"></stop>\n </radialGradient>\n <path d=\"M20,1 C20.5522847,1 21,1.44771525 21,2 L21,20 C21,20.5522847 20.5522847,21 20,21 L15.2374606,21.0021908 C14.9306693,21.3935449 14.6510143,21.7632851 14.3885453,22.1256523 C12.8309725,24.2760522 12,26.0137017 12,27.5 C12,28.0522847 11.5522847,28.5 11,28.5 C10.4477153,28.5 10,28.0522847 10,27.5 C10,25.7886708 8.84033182,23.6810997 6.73798027,21.0014567 L2,21 C1.44771525,21 1,20.5522847 1,20 L1,2 C1,1.44771525 1.44771525,1 2,1 L20,1 Z\" id=\"path-2\"></path>\n </defs>\n <g id=\"View-/-Map-/-Marker-/-Large\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <ellipse id=\"Oval\" fill=\"url(#radialGradient-1)\" opacity=\"0.12\" cx=\"11\" cy=\"28.5\" rx=\"4.5\" ry=\"3.5\"></ellipse>\n <path d=\"M21,0 C21.5522847,-1.01453063e-16 22,0.44771525 22,1 L22,21 C22,21.5522847 21.5522847,22 21,22 L15.7283832,22.0012846 C15.5422129,22.2445529 15.3664776,22.4802332 15.1984183,22.7122576 C13.7560833,24.7035592 13,26.2846074 13,27.5 L13,27.5 L12.9945143,27.6492623 C12.9181651,28.6841222 12.0543618,29.5 11,29.5 C9.8954305,29.5 9,28.6045695 9,27.5 L9,27.5 L8.99485006,27.3298651 C8.91582184,26.0024976 7.93016704,24.2171459 6.23940611,22.000704 L1,22 C0.44771525,22 6.76353751e-17,21.5522847 0,21 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L21,0 Z\" id=\"Path-3\" fill=\"#FFFFFF\"></path>\n <mask id=\"mask-3\" fill=\"white\">\n <use xlink:href=\"#path-2\"></use>\n </mask>\n <use id=\"Path-2\" fill=\"#FFFFFF\" fill-rule=\"nonzero\" xlink:href=\"#path-2\"></use>\n <rect id=\"Entity-type\" fill=\"#24A8E8\" mask=\"url(#mask-3)\" x=\"0\" y=\"0\" width=\"22\" height=\"32\"></rect>\n </g>\n</svg>";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as EntityMarker } from './EntityMarker';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"popper">;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const Polygon: import("react").ForwardRefExoticComponent<{
|
|
2
|
-
options: google.maps.PolygonOptions;
|
|
3
|
-
} & {
|
|
4
|
-
onInit?: (polygon: google.maps.Polygon) => void;
|
|
5
|
-
onDragEnd?: (e: google.maps.MapMouseEvent) => void;
|
|
6
|
-
onMouseUp?: (e: google.maps.MapMouseEvent) => void;
|
|
7
|
-
} & import("react").RefAttributes<google.maps.Polygon>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Polygon } from './Polygon';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
type PolygonEventProps = {
|
|
2
|
-
onInit?: (polygon: google.maps.Polygon) => void;
|
|
3
|
-
onDragEnd?: (e: google.maps.MapMouseEvent) => void;
|
|
4
|
-
onMouseUp?: (e: google.maps.MapMouseEvent) => void;
|
|
5
|
-
};
|
|
6
|
-
export type PolygonProps = {
|
|
7
|
-
options: google.maps.PolygonOptions;
|
|
8
|
-
} & PolygonEventProps;
|
|
9
|
-
export declare const usePolygon: (props: PolygonProps) => google.maps.Polygon;
|
|
10
|
-
export {};
|
package/types/components/src/ReltioMap/components/TopCenterMapControls/TopCenterMapControls.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
className?: string;
|
|
4
|
-
isSearchOnMapMove: boolean;
|
|
5
|
-
onChangeIsSearchOnMapMove: (value: boolean) => void;
|
|
6
|
-
};
|
|
7
|
-
export declare const TopCenterMapControls: ({ className, isSearchOnMapMove, onChangeIsSearchOnMapMove }: Props) => React.JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { TopCenterMapControls } from './TopCenterMapControls';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"label" | "container" | "checkbox">;
|
package/types/components/src/ReltioMap/components/TopRightMapControls/TopRightMapControls.d.ts
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DrawingMode, DrawingModes } from '../../types';
|
|
3
|
-
export declare const ButtonWithTooltip: React.ForwardRefExoticComponent<Omit<{
|
|
4
|
-
tooltipTitle?: import("@mui/material").TooltipProps["title"];
|
|
5
|
-
tooltipPlacement?: import("@mui/material").TooltipProps["placement"];
|
|
6
|
-
showForDisabled?: boolean;
|
|
7
|
-
tooltipClassName?: string;
|
|
8
|
-
} & {
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
classes?: Partial<import("@mui/material/Button").ButtonClasses>;
|
|
11
|
-
color?: import("@mui/types").OverridableStringUnion<"inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning", import("@mui/material/Button").ButtonPropsColorOverrides>;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
disableElevation?: boolean;
|
|
14
|
-
disableFocusRipple?: boolean;
|
|
15
|
-
endIcon?: React.ReactNode;
|
|
16
|
-
fullWidth?: boolean;
|
|
17
|
-
href?: string;
|
|
18
|
-
size?: import("@mui/types").OverridableStringUnion<"small" | "medium" | "large", import("@mui/material/Button").ButtonPropsSizeOverrides>;
|
|
19
|
-
startIcon?: React.ReactNode;
|
|
20
|
-
sx?: import("@mui/system").SxProps<import("@mui/material").Theme>;
|
|
21
|
-
variant?: import("@mui/types").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material/Button").ButtonPropsVariantOverrides>;
|
|
22
|
-
} & Omit<{
|
|
23
|
-
action?: React.Ref<import("@mui/material").ButtonBaseActions>;
|
|
24
|
-
centerRipple?: boolean;
|
|
25
|
-
children?: React.ReactNode;
|
|
26
|
-
classes?: Partial<import("@mui/material").ButtonBaseClasses>;
|
|
27
|
-
disabled?: boolean;
|
|
28
|
-
disableRipple?: boolean;
|
|
29
|
-
disableTouchRipple?: boolean;
|
|
30
|
-
focusRipple?: boolean;
|
|
31
|
-
focusVisibleClassName?: string;
|
|
32
|
-
LinkComponent?: React.ElementType;
|
|
33
|
-
onFocusVisible?: React.FocusEventHandler<any>;
|
|
34
|
-
sx?: import("@mui/system").SxProps<import("@mui/material").Theme>;
|
|
35
|
-
tabIndex?: NonNullable<React.HTMLAttributes<any>["tabIndex"]>;
|
|
36
|
-
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps>;
|
|
37
|
-
touchRippleRef?: React.Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions>;
|
|
38
|
-
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
39
|
-
ref?: React.Ref<HTMLButtonElement>;
|
|
40
|
-
}, "children" | "size" | "action" | "disabled" | "color" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "tabIndex" | "href" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "startIcon">, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
41
|
-
type Props = {
|
|
42
|
-
className?: string;
|
|
43
|
-
onDrawingModeChanged: (value: DrawingMode | null) => void;
|
|
44
|
-
drawingMode: DrawingMode | null;
|
|
45
|
-
drawingModes: DrawingModes;
|
|
46
|
-
hasActiveOverlay: boolean;
|
|
47
|
-
onClearOverlay: () => void;
|
|
48
|
-
};
|
|
49
|
-
export declare const TopRightMapControls: ({ className, drawingMode, drawingModes, hasActiveOverlay, onDrawingModeChanged, onClearOverlay }: Props) => React.JSX.Element;
|
|
50
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { TopRightMapControls } from './TopRightMapControls';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"icon" | "container" | "button">;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { GeoPoint } from '@reltio/mdm-sdk';
|
|
2
|
-
import { DrawingMode, Overlay, MapInstance } from './types';
|
|
3
|
-
export declare const getMapBoundsPolygon: (map: MapInstance) => any[];
|
|
4
|
-
export declare const getDrawingMode: (drawingMode: DrawingMode) => google.maps.drawing.OverlayType.CIRCLE | google.maps.drawing.OverlayType.POLYGON;
|
|
5
|
-
export declare const fitMapBoundsForMarkers: (markers: GeoPoint[], map: MapInstance, overlay: Overlay) => void;
|
|
6
|
-
export declare const fitMapBoundsForOverlay: (map: MapInstance, overlay: Overlay, existingBounds?: any) => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"mapControlContainer">;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Marker } from '@googlemaps/markerclusterer';
|
|
2
|
-
export type DrawingMode = 'circle' | 'polygon';
|
|
3
|
-
export type DrawingModes = DrawingMode[];
|
|
4
|
-
export type ClusteredMarkersOptions = {
|
|
5
|
-
maxZoom?: number;
|
|
6
|
-
calculator?: (markers: Marker[]) => {
|
|
7
|
-
title: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export type OverlayPath = Array<{
|
|
11
|
-
lat: number;
|
|
12
|
-
lng: number;
|
|
13
|
-
}>;
|
|
14
|
-
export type Overlay = {
|
|
15
|
-
path: OverlayPath;
|
|
16
|
-
type: string;
|
|
17
|
-
};
|
|
18
|
-
export type MapInstance = any;
|
|
19
|
-
export type MapBounds = [number, number][];
|