@iccandle/reactjs-widget 0.2.18 → 0.2.19

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.
@@ -14334,7 +14334,7 @@ type WidgetIccandleChartRefs = {
14334
14334
  generatedCandlesBackgroundStudyIdRef: RefObject<EntityId | null>;
14335
14335
  generatedCandlesStudyIdRef: RefObject<EntityId | null>;
14336
14336
  };
14337
- declare const WidgetIccandle: ({ chartWidget, children, theme, language, submitCallback, onCloseResult, iframeLoaded, resultIframeRef, isShowScanButton, isShowTrackerButton, isShowScannerPopup, availableIntervals, }: WidgetIccandleProps) => react_jsx_runtime.JSX.Element;
14337
+ declare const WidgetIccandle: ({ chartWidget, children, theme, language, submitCallback, onCloseResult, iframeLoaded, resultIframeRef, isShowScanButton, isShowTrackerButton, isShowScannerPopup, availableIntervals, onScanClick, }: WidgetIccandleProps) => react_jsx_runtime.JSX.Element;
14338
14338
  type WidgetIccandleProps = {
14339
14339
  chartWidget: IChartingLibraryWidget | null;
14340
14340
  children: ReactNode | ((chartRefs: WidgetIccandleChartRefs) => ReactNode);
@@ -14353,6 +14353,8 @@ type WidgetIccandleProps = {
14353
14353
  isShowScannerPopup?: boolean;
14354
14354
  /** Chart resolutions allowed for pattern date-range drawing. */
14355
14355
  availableIntervals?: string[];
14356
+ /** Called when the user clicks Scan in the scanner popup. */
14357
+ onScanClick?: () => void;
14356
14358
  };
14357
14359
 
14358
14360
  declare const handleResultIframeLoad: (iframe: HTMLIFrameElement | null) => void;