@ambuj.bhaskar/react-component-library 0.28.17-alpha → 0.28.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.
- package/dist/assets/index.css +1 -1
- package/dist/index.cjs +181 -192
- package/dist/index.d.ts +36 -1
- package/dist/index.js +28950 -29004
- package/dist/index.umd.js +178 -189
- package/package.json +3 -1
package/dist/index.d.ts
CHANGED
|
@@ -823,6 +823,18 @@ export declare type DetectionCarouselProps = {
|
|
|
823
823
|
data: BlobType[];
|
|
824
824
|
};
|
|
825
825
|
|
|
826
|
+
declare interface DrawOptions {
|
|
827
|
+
position?: "topleft" | "topright" | "bottomleft" | "bottomright";
|
|
828
|
+
draw?: {
|
|
829
|
+
polyline?: boolean;
|
|
830
|
+
polygon?: boolean;
|
|
831
|
+
rectangle?: boolean;
|
|
832
|
+
circle?: boolean;
|
|
833
|
+
marker?: boolean;
|
|
834
|
+
circlemarker?: boolean;
|
|
835
|
+
};
|
|
836
|
+
}
|
|
837
|
+
|
|
826
838
|
export declare const Dropdown: default_2.FC<DropdownProps>;
|
|
827
839
|
|
|
828
840
|
export declare interface DropdownProps extends Omit<DropdownProps_2, "style" | "className"> {
|
|
@@ -910,6 +922,23 @@ declare type EventType = {
|
|
|
910
922
|
icon?: string;
|
|
911
923
|
};
|
|
912
924
|
|
|
925
|
+
declare interface FeatureCollectionType {
|
|
926
|
+
type: "FeatureCollection";
|
|
927
|
+
features: FeatureType[];
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
declare type FeatureType = {
|
|
931
|
+
type: "Feature";
|
|
932
|
+
geometry: {
|
|
933
|
+
type: "Polygon" | "MultiPolygon" | "Point" | "MultiPoint" | "LineString" | "MultiLineString" | "GeometryCollection";
|
|
934
|
+
coordinates: any;
|
|
935
|
+
};
|
|
936
|
+
properties?: {
|
|
937
|
+
[key: string]: any;
|
|
938
|
+
};
|
|
939
|
+
id?: string | number;
|
|
940
|
+
};
|
|
941
|
+
|
|
913
942
|
export declare const FloorMapView: React.FC<FloorMapViewProps>;
|
|
914
943
|
|
|
915
944
|
export declare type FloorMapViewProps = {
|
|
@@ -921,6 +950,8 @@ export declare type FloorMapViewProps = {
|
|
|
921
950
|
imageUrl: string;
|
|
922
951
|
};
|
|
923
952
|
items: MapItem[];
|
|
953
|
+
features: FeatureCollectionType;
|
|
954
|
+
featureStyle?: ((feature: any) => L.PathOptions) | L.StyleFunction;
|
|
924
955
|
width: string;
|
|
925
956
|
height: string;
|
|
926
957
|
showCardPopup?: boolean;
|
|
@@ -933,7 +964,11 @@ export declare type FloorMapViewProps = {
|
|
|
933
964
|
navButtonColor?: Color;
|
|
934
965
|
className?: string;
|
|
935
966
|
focusedIndex?: number;
|
|
936
|
-
|
|
967
|
+
onClickAway?: () => void;
|
|
968
|
+
onFocusedIndexChange?: (index: number | null) => void;
|
|
969
|
+
enableDrawing?: boolean;
|
|
970
|
+
onShapeSave?: (feature: FeatureType) => void;
|
|
971
|
+
drawOptions?: DrawOptions;
|
|
937
972
|
};
|
|
938
973
|
|
|
939
974
|
export declare const Heatmap: React.FC<HeatmapProps>;
|