@guihz/trading-vue-editor-tes 0.0.140 → 0.0.142

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,14 @@
1
+ import { IKeyObjectValue } from "../../type";
1
2
  import { BuiltInVariables } from "../buildInVariables";
2
3
  export declare class Chart {
3
4
  private _variables;
5
+ private _bgColor?;
6
+ private _fgColor?;
7
+ isUseBgColor: boolean;
4
8
  constructor(variables: BuiltInVariables);
5
- get bg_color(): void;
6
- get fg_color(): void;
9
+ updateOptions(options: IKeyObjectValue): void;
10
+ get bg_color(): string | undefined;
11
+ get fg_color(): string | undefined;
7
12
  get is_heikinashi(): boolean;
8
13
  get is_kagi(): boolean;
9
14
  get is_linebreak(): boolean;
@@ -13,4 +18,7 @@ export declare class Chart {
13
18
  get is_standard(): boolean;
14
19
  get left_visible_bar_time(): number;
15
20
  get right_visible_bar_time(): number;
21
+ private _parseColor;
22
+ private _parserRgbColor;
23
+ private _contrastColor;
16
24
  }
@@ -44,5 +44,7 @@ export declare enum Actions {
44
44
  Find = "find",
45
45
  TriggerConsole = "trigger.console",
46
46
  RunScript = "runScript",
47
- Open = "open"
47
+ Open = "open",
48
+ NewWindow = "newWindow",
49
+ NewTab = "newTab"
48
50
  }