@iccandle/reactjs-widget 0.2.8 → 0.2.9
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/widget-iccandle.cjs +18 -18
- package/dist/widget-iccandle.d.ts +4 -2
- package/dist/widget-iccandle.js +4873 -4840
- package/package.json +1 -1
|
@@ -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, isShowScanButton, isShowTrackerButton, isShowScannerPopup, }: WidgetIccandleProps) => react_jsx_runtime.JSX.Element;
|
|
14337
|
+
declare const WidgetIccandle: ({ chartWidget, children, theme, language, submitCallback, onCloseResult, iframeLoaded, isShowScanButton, isShowTrackerButton, isShowScannerPopup, availableIntervals, }: WidgetIccandleProps) => react_jsx_runtime.JSX.Element;
|
|
14338
14338
|
type WidgetIccandleProps = {
|
|
14339
14339
|
chartWidget: IChartingLibraryWidget | null;
|
|
14340
14340
|
children: ReactNode | ((chartRefs: WidgetIccandleChartRefs) => ReactNode);
|
|
@@ -14349,6 +14349,8 @@ type WidgetIccandleProps = {
|
|
|
14349
14349
|
isShowTrackerButton?: boolean;
|
|
14350
14350
|
/** Show the scanner popup at all. Defaults to `true`. */
|
|
14351
14351
|
isShowScannerPopup?: boolean;
|
|
14352
|
+
/** Chart resolutions allowed for pattern date-range drawing. */
|
|
14353
|
+
availableIntervals?: string[];
|
|
14352
14354
|
};
|
|
14353
14355
|
|
|
14354
14356
|
declare const handleResultIframeLoad: (iframe: HTMLIFrameElement | null) => void;
|
|
@@ -14362,7 +14364,7 @@ declare function withPlayChart<A extends unknown[]>(factory: (...args: A) => IBa
|
|
|
14362
14364
|
type GeneratedCandlesTheme = "light" | "dark";
|
|
14363
14365
|
declare const getCustomIndicators: (theme?: GeneratedCandlesTheme) => Promise<readonly CustomIndicator[]>;
|
|
14364
14366
|
|
|
14365
|
-
declare const WIDGET_RESULT_URL = "
|
|
14367
|
+
declare const WIDGET_RESULT_URL = "http://localhost:3000";
|
|
14366
14368
|
|
|
14367
14369
|
export { WIDGET_RESULT_URL, WidgetIccandle, getCustomIndicators, handleResultIframeLoad, withPlayChart };
|
|
14368
14370
|
export type { GeneratedCandlesTheme, WidgetIccandleProps, WidgetLanguage };
|