@ambuj.bhaskar/react-component-library 0.18.16-alpha → 0.18.18-alpha
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 +306 -306
- package/dist/index.d.ts +105 -1
- package/dist/index.js +59373 -57368
- package/dist/index.umd.js +310 -310
- package/package.json +4 -2
package/dist/index.d.ts
CHANGED
|
@@ -111,6 +111,72 @@ export declare type AwiAnnotationHotkeysProps = {
|
|
|
111
111
|
controlMinusHotkey?: () => void;
|
|
112
112
|
};
|
|
113
113
|
|
|
114
|
+
export declare const AwiAnnotationTools: React.FC<AwiAnnotationToolsProps>;
|
|
115
|
+
|
|
116
|
+
export declare type AwiAnnotationToolsProps = {
|
|
117
|
+
handleSelectTool?: (tool: "edit" | "annotate") => void;
|
|
118
|
+
handleSAMToggle?: (tool: "SAM" | "Normal") => void;
|
|
119
|
+
isEditing: boolean;
|
|
120
|
+
loggedUser: LoggedUser;
|
|
121
|
+
annotator_name: string;
|
|
122
|
+
hasAnnotation: boolean;
|
|
123
|
+
SAMToggleValue: boolean;
|
|
124
|
+
currentSelectedSAMTool: any;
|
|
125
|
+
handleCopyAnnotations: any;
|
|
126
|
+
setOpenRequestDetails?: (a: any) => void;
|
|
127
|
+
openRequestDetails: boolean;
|
|
128
|
+
show_guidelines_first: boolean;
|
|
129
|
+
handleZoomInClick: () => void;
|
|
130
|
+
zoomProperties: any;
|
|
131
|
+
handleReset: () => void;
|
|
132
|
+
handleZoomOutClick: () => void;
|
|
133
|
+
handleCompleteAnnotation: () => void;
|
|
134
|
+
toggleFullscreen: () => void;
|
|
135
|
+
selectAnnotationId?: any;
|
|
136
|
+
selectedAnnotationInfo?: any;
|
|
137
|
+
undoLastStateAnnotation: () => void;
|
|
138
|
+
usingSamFunction: boolean;
|
|
139
|
+
samAPIactive: boolean;
|
|
140
|
+
handleSendToSamFunction: () => void;
|
|
141
|
+
coordinates: any;
|
|
142
|
+
handleSendToSamFunctionPrompt: () => void;
|
|
143
|
+
reLoadAndReDrawAnnotations: () => void;
|
|
144
|
+
showGuidelinesFirst: boolean;
|
|
145
|
+
isMobile?: boolean;
|
|
146
|
+
toggleSelectAnnotation: () => void;
|
|
147
|
+
handleLeftKeyDown: () => void;
|
|
148
|
+
handleRightKeyDown: () => void;
|
|
149
|
+
handleUpKeyDown: () => void;
|
|
150
|
+
handleDownKeyDown: () => void;
|
|
151
|
+
undoAnnotationPoint: () => void;
|
|
152
|
+
togglePagination: () => void;
|
|
153
|
+
switchToEditMode?: () => void;
|
|
154
|
+
switchToCreateMode?: () => void;
|
|
155
|
+
goToNextImage?: () => void;
|
|
156
|
+
goToPreviousImage?: () => void;
|
|
157
|
+
handleGoToPendingAnnotations?: () => void;
|
|
158
|
+
handleCopyByCtrlC?: () => void;
|
|
159
|
+
handlePasteAnnotationsByControlV?: () => void;
|
|
160
|
+
showPagination?: boolean;
|
|
161
|
+
isControlViaToolPress: boolean;
|
|
162
|
+
isAltViaToolPress: boolean;
|
|
163
|
+
setIsControlViaToolPress: (boolean: any) => void;
|
|
164
|
+
setIsAltViaToolPress: (boolean: any) => void;
|
|
165
|
+
isCarousel: boolean;
|
|
166
|
+
allowedToCopyPreview: boolean;
|
|
167
|
+
classColorMapToSend?: any;
|
|
168
|
+
request: any;
|
|
169
|
+
parentReqData: any;
|
|
170
|
+
RequestInfoModal: any;
|
|
171
|
+
setCrossHair: (boolean: any) => void;
|
|
172
|
+
isCrossHair: boolean;
|
|
173
|
+
annotationViewType?: string;
|
|
174
|
+
REACT_APP_SAM_ENABLED?: string;
|
|
175
|
+
controlMinusHotkey?: () => void;
|
|
176
|
+
controlPlusHotkey?: () => void;
|
|
177
|
+
Carousel?: any;
|
|
178
|
+
};
|
|
179
|
+
|
|
114
180
|
export declare const AwiEmptyState: React.FC<AwiEmptyStateProps>;
|
|
115
181
|
|
|
116
182
|
export declare type AwiEmptyStateProps = {
|
|
@@ -124,7 +190,13 @@ export declare type AwiEmptyStateProps = {
|
|
|
124
190
|
title?: string;
|
|
125
191
|
};
|
|
126
192
|
|
|
127
|
-
export declare const AwiGenerateHeader:
|
|
193
|
+
export declare const AwiGenerateHeader: default_2.FC<AwiGenerateHeaderProps>;
|
|
194
|
+
|
|
195
|
+
declare type AwiGenerateHeaderProps = {
|
|
196
|
+
list: string[];
|
|
197
|
+
headerClass?: string;
|
|
198
|
+
type?: string;
|
|
199
|
+
};
|
|
128
200
|
|
|
129
201
|
export declare const AwiHelperMethods: {
|
|
130
202
|
getStatusDisplayText: (status: string, user: any) => any;
|
|
@@ -602,6 +674,38 @@ declare type EventType = {
|
|
|
602
674
|
icon?: string;
|
|
603
675
|
};
|
|
604
676
|
|
|
677
|
+
export declare const Heatmap: React.FC<HeatmapProps>;
|
|
678
|
+
|
|
679
|
+
export declare type HeatmapData = {
|
|
680
|
+
ylabels: string[];
|
|
681
|
+
xlabels: string[];
|
|
682
|
+
datasets: {
|
|
683
|
+
[label: string]: HeatmapDatapoint[];
|
|
684
|
+
};
|
|
685
|
+
};
|
|
686
|
+
|
|
687
|
+
export declare type HeatmapDatapoint = {
|
|
688
|
+
value: number;
|
|
689
|
+
hoverContent?: React.ReactNode;
|
|
690
|
+
color?: Color;
|
|
691
|
+
};
|
|
692
|
+
|
|
693
|
+
export declare type HeatmapProps = {
|
|
694
|
+
data: HeatmapData;
|
|
695
|
+
colorRange: Color[];
|
|
696
|
+
valueRange: [number, number];
|
|
697
|
+
width?: CSSstring;
|
|
698
|
+
height?: CSSstring;
|
|
699
|
+
cellWidth?: CSSstring;
|
|
700
|
+
cellHeight?: CSSstring;
|
|
701
|
+
yLabelWidth?: CSSstring;
|
|
702
|
+
xLabelHeight?: CSSstring;
|
|
703
|
+
cellBorderColor?: Color;
|
|
704
|
+
borderColor?: Color;
|
|
705
|
+
cellTextColor?: Color;
|
|
706
|
+
labelTextColor?: Color;
|
|
707
|
+
};
|
|
708
|
+
|
|
605
709
|
declare type HTMLButtonProps = ComponentProps<"button">;
|
|
606
710
|
|
|
607
711
|
declare type HTMLInputProps = ComponentProps<"input">;
|