@iccandle/reactjs-widget 0.1.7 → 0.1.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 +2 -2
- package/dist/widget-iccandle.js +14 -15
- package/package.json +1 -1
package/dist/widget-iccandle.js
CHANGED
|
@@ -4619,7 +4619,7 @@ const {
|
|
|
4619
4619
|
formToJSON: Gx,
|
|
4620
4620
|
getAdapter: Bx,
|
|
4621
4621
|
mergeConfig: jx
|
|
4622
|
-
} = Ee, so = "An unknown error occurred", un = "
|
|
4622
|
+
} = Ee, so = "An unknown error occurred", un = "https://embed-iccandle-app.iccandle.ai", Yn = "tv:clicked-news-event", wi = "tv:selected-news-events", Zt = 100, Sh = 100, js = (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, Th = {
|
|
4623
4623
|
info: {
|
|
4624
4624
|
icon: Du
|
|
4625
4625
|
},
|
|
@@ -13923,20 +13923,7 @@ function qw(e, t, n, i, a, r, o) {
|
|
|
13923
13923
|
);
|
|
13924
13924
|
const v = p.current;
|
|
13925
13925
|
v && (v.lastEntity.current = null, v.setHasActiveShape(!1), v.setCandles([]), v.setTargetCandles([]));
|
|
13926
|
-
};
|
|
13927
|
-
if (P.type === "pattern.classicPatternSelected") {
|
|
13928
|
-
const A = P.pattern, E = A?.compared_pattern;
|
|
13929
|
-
if (!E) return;
|
|
13930
|
-
$o(
|
|
13931
|
-
u.current,
|
|
13932
|
-
E,
|
|
13933
|
-
g,
|
|
13934
|
-
p.current,
|
|
13935
|
-
A?.results?.matches_by_window
|
|
13936
|
-
);
|
|
13937
|
-
return;
|
|
13938
|
-
}
|
|
13939
|
-
const C = P.name;
|
|
13926
|
+
}, C = P.name;
|
|
13940
13927
|
if (typeof C != "string") return;
|
|
13941
13928
|
const x = P.data;
|
|
13942
13929
|
switch (C) {
|
|
@@ -14020,6 +14007,18 @@ function qw(e, t, n, i, a, r, o) {
|
|
|
14020
14007
|
c.current
|
|
14021
14008
|
);
|
|
14022
14009
|
break;
|
|
14010
|
+
case "pattern.classicPatternSelected": {
|
|
14011
|
+
const A = P.data?.pattern, E = A?.compared_pattern;
|
|
14012
|
+
if (!E) return;
|
|
14013
|
+
$o(
|
|
14014
|
+
u.current,
|
|
14015
|
+
E,
|
|
14016
|
+
g,
|
|
14017
|
+
p.current,
|
|
14018
|
+
A?.results?.matches_by_window
|
|
14019
|
+
);
|
|
14020
|
+
break;
|
|
14021
|
+
}
|
|
14023
14022
|
case "pattern.custom_pattern_selected": {
|
|
14024
14023
|
const A = x?.pattern, E = A?.compared_pattern;
|
|
14025
14024
|
if (!E) return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iccandle/reactjs-widget",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
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",
|