@iccandle/reactjs-widget 0.1.8 → 0.1.10

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.
@@ -14351,9 +14351,7 @@ declare function withPlayChart<T extends IBasicDataFeed>(datafeed: T): T;
14351
14351
  declare function withPlayChart<A extends unknown[]>(factory: (...args: A) => IBasicDataFeed, ...args: A): IBasicDataFeed;
14352
14352
 
14353
14353
  type GeneratedCandlesTheme = "light" | "dark";
14354
- /** Pane-matching mask color so predicted bars hide the underlying series. */
14355
- declare const getGeneratedCandlesMaskColor: (theme?: GeneratedCandlesTheme) => string;
14356
14354
  declare const getCustomIndicators: (theme?: GeneratedCandlesTheme) => Promise<readonly CustomIndicator[]>;
14357
14355
 
14358
- export { WidgetIccandle, getCustomIndicators, getGeneratedCandlesMaskColor, withPlayChart };
14359
- export type { GeneratedCandlesTheme, WidgetIccandleChartRefs, WidgetIccandleProps, WidgetLanguage };
14356
+ export { WidgetIccandle, getCustomIndicators, withPlayChart };
14357
+ export type { GeneratedCandlesTheme, WidgetIccandleProps, WidgetLanguage };
@@ -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;
@@ -15877,6 +15876,5 @@ const bx = Oc(function({
15877
15876
  export {
15878
15877
  Yx as WidgetIccandle,
15879
15878
  zx as getCustomIndicators,
15880
- bc as getGeneratedCandlesMaskColor,
15881
15879
  Ux as withPlayChart
15882
15880
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iccandle/reactjs-widget",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
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",