@iccandle/reactjs-widget 0.2.12 → 0.2.14
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.
|
@@ -14366,7 +14366,7 @@ declare function withPlayChart<A extends unknown[]>(factory: (...args: A) => IBa
|
|
|
14366
14366
|
type GeneratedCandlesTheme = "light" | "dark";
|
|
14367
14367
|
declare const getCustomIndicators: (theme?: GeneratedCandlesTheme) => Promise<readonly CustomIndicator[]>;
|
|
14368
14368
|
|
|
14369
|
-
declare const WIDGET_RESULT_URL = "
|
|
14369
|
+
declare const WIDGET_RESULT_URL = "https://embed-iccandle-app.iccandle.ai";
|
|
14370
14370
|
|
|
14371
14371
|
export { WIDGET_RESULT_URL, WidgetIccandle, getCustomIndicators, handleResultIframeLoad, withPlayChart };
|
|
14372
14372
|
export type { GeneratedCandlesTheme, WidgetIccandleProps, WidgetLanguage };
|
package/dist/widget-iccandle.js
CHANGED
|
@@ -4630,7 +4630,7 @@ const {
|
|
|
4630
4630
|
formToJSON: PP,
|
|
4631
4631
|
getAdapter: SP,
|
|
4632
4632
|
mergeConfig: TP
|
|
4633
|
-
} = Ge, qh = "https://api.iccandle.ai", ho = "An unknown error occurred", wn = "
|
|
4633
|
+
} = Ge, qh = "https://api.iccandle.ai", ho = "An unknown error occurred", wn = "https://embed-iccandle-app.iccandle.ai", Yn = "tv:clicked-news-event", vi = "tv:selected-news-events", Jt = 100, Wh = 100, Ks = (e) => e === "1" ? 120 : e === "5" ? 480 : e === "1D" ? 20 * 3600 : parseInt(e, 10) * 60, xt = (e) => e === "1" ? 60 : e === "5" ? 300 : e === "1D" ? 1440 * 3600 : parseInt(e, 10) * 60, _h = [
|
|
4634
4634
|
"en",
|
|
4635
4635
|
"zh",
|
|
4636
4636
|
"vi",
|
|
@@ -5161,7 +5161,9 @@ function st() {
|
|
|
5161
5161
|
}
|
|
5162
5162
|
const $s = "search-filter", el = "search-filter-session", tl = "scanner-always-show";
|
|
5163
5163
|
function nl() {
|
|
5164
|
-
|
|
5164
|
+
if (typeof window > "u") return !0;
|
|
5165
|
+
const e = localStorage.getItem(tl);
|
|
5166
|
+
return e === null ? !0 : e === "true";
|
|
5165
5167
|
}
|
|
5166
5168
|
function fo(e) {
|
|
5167
5169
|
typeof window > "u" || localStorage.setItem(tl, String(e));
|
|
@@ -14205,7 +14207,7 @@ const fr = (e) => {
|
|
|
14205
14207
|
[Zi]: 0
|
|
14206
14208
|
}
|
|
14207
14209
|
}
|
|
14208
|
-
}), is = 0, jc = (e = "light") => e === "dark" ? "#
|
|
14210
|
+
}), is = 0, jc = (e = "light") => e === "dark" ? "#0F0F0F" : "#ffffff", Yr = [
|
|
14209
14211
|
Number.NaN,
|
|
14210
14212
|
Number.NaN,
|
|
14211
14213
|
Number.NaN,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iccandle/reactjs-widget",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.14",
|
|
4
4
|
"description": "React scanner overlay for TradingView Charting Library — ICCandle pattern search, remote theming, and plugin iframe integration.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "ICCandle",
|