@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.
- package/lib/assets/{scriptsRunWorker-DRaLHxRb.js → scriptsRunWorker-BZF14FNK.js} +17 -17
- package/lib/components/editor/parseScript/buildInVarNamespace/chart.d.ts +10 -2
- package/lib/components/editor/tokenizer/config.d.ts +3 -1
- package/lib/trading-vue-editor.js +202 -184
- package/lib/trading-vue-editor.umd.cjs +20 -20
- package/package.json +1 -1
@@ -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
|
-
|
6
|
-
get
|
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
|
}
|