@guihz/trading-vue-editor-tes 0.0.99 → 0.0.101
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/assets/{parserTccWorker-ChPWymni.js → parserTccWorker-6YLzf8WY.js} +63 -55
- package/lib/assets/scriptsRunWorker-D93Ck1ZG.js +80 -0
- package/lib/components/editor/parseScript/buildInFuncNamespace/box.d.ts +0 -3
- package/lib/components/editor/parseScript/buildInFuncNamespace/label.d.ts +0 -3
- package/lib/components/editor/parseScript/buildInFuncNamespace/line.d.ts +0 -3
- package/lib/components/editor/parseScript/buildInFuncNamespace/linefill.d.ts +0 -3
- package/lib/components/editor/parseScript/buildInFuncNamespace/polyline.d.ts +0 -3
- package/lib/components/editor/parseScript/buildInFuncNamespace/table.d.ts +0 -3
- package/lib/components/referenceManual/index.d.ts +4 -2
- package/lib/trading-vue-editor.js +1596 -1596
- package/lib/trading-vue-editor.umd.cjs +34 -34
- package/package.json +1 -1
- package/lib/assets/scriptsRunWorker-C4tBpFa1.js +0 -80
@@ -26,7 +26,6 @@ export interface IBoxArgs {
|
|
26
26
|
color?: string;
|
27
27
|
point?: Point;
|
28
28
|
width?: number;
|
29
|
-
index?: number;
|
30
29
|
}
|
31
30
|
type VBoxArgs = Omit<IBoxArgs, 'id'> & {
|
32
31
|
id: Box;
|
@@ -72,9 +71,7 @@ export declare class Box {
|
|
72
71
|
private _id;
|
73
72
|
private _variables;
|
74
73
|
private _errorListener;
|
75
|
-
private _index;
|
76
74
|
constructor(variables: BuiltInVariables, key: string, errorListener: TccErrorListener);
|
77
|
-
set index(index: number);
|
78
75
|
copy(posStr: string): Box;
|
79
76
|
delete(): void;
|
80
77
|
get_top(): number | undefined;
|
@@ -16,7 +16,6 @@ interface ILabelArgs {
|
|
16
16
|
textcolor: string;
|
17
17
|
tooltip: string;
|
18
18
|
text_font_family: string;
|
19
|
-
index: number;
|
20
19
|
}
|
21
20
|
export type PartialLabelArgs = Partial<ILabelArgs>;
|
22
21
|
type TLabelArgs = Omit<PartialLabelArgs, 'id'> & {
|
@@ -57,9 +56,7 @@ export declare class Label {
|
|
57
56
|
private _id;
|
58
57
|
private _variables;
|
59
58
|
private _errorListener;
|
60
|
-
private _index;
|
61
59
|
constructor(key: string, variables: BuiltInVariables, errorListener: TccErrorListener);
|
62
|
-
set index(index: number);
|
63
60
|
copy(posStr: string): Label;
|
64
61
|
get_x(posStr: string): number | undefined;
|
65
62
|
get_y(posStr: string): number | undefined;
|
@@ -18,7 +18,6 @@ export interface ILineArgs {
|
|
18
18
|
style?: VLineStyle;
|
19
19
|
width?: number;
|
20
20
|
linefills?: string[];
|
21
|
-
index?: number;
|
22
21
|
}
|
23
22
|
type LineArgs = Omit<ILineArgs, 'id'> & {
|
24
23
|
id: Line;
|
@@ -59,10 +58,8 @@ export declare class Line {
|
|
59
58
|
private _variables;
|
60
59
|
private _id;
|
61
60
|
private _errorListener;
|
62
|
-
private _index;
|
63
61
|
constructor(key: string, variables: BuiltInVariables, errorListener: TccErrorListener);
|
64
62
|
get data(): ILineArgs | undefined;
|
65
|
-
set index(index: number);
|
66
63
|
copy(posStr: string): Line;
|
67
64
|
delete(): void;
|
68
65
|
get_price({ x }: ILineArgs, posStr: string): number | undefined;
|
@@ -5,7 +5,6 @@ interface ILinefillArgs {
|
|
5
5
|
line1?: Line;
|
6
6
|
line2?: Line;
|
7
7
|
color?: string;
|
8
|
-
index?: number;
|
9
8
|
}
|
10
9
|
export type TLinefill = Omit<ILinefillArgs, 'line1' | 'line2' | 'id'> & {
|
11
10
|
id: string;
|
@@ -26,9 +25,7 @@ export declare class Linefill {
|
|
26
25
|
private _line1?;
|
27
26
|
private _line2?;
|
28
27
|
private _variables;
|
29
|
-
private _index;
|
30
28
|
constructor(variables: BuiltInVariables, key: string, line1?: Line, line2?: Line);
|
31
|
-
set index(index: number);
|
32
29
|
linefill(args: {
|
33
30
|
x?: Linefill;
|
34
31
|
}, posStr: string): Linefill;
|
@@ -11,7 +11,6 @@ export interface IPolyline {
|
|
11
11
|
fill_color?: string;
|
12
12
|
line_style?: VLineStyle;
|
13
13
|
line_width?: number;
|
14
|
-
index?: number;
|
15
14
|
}
|
16
15
|
type TPolylineArgs = Omit<IPolyline, 'id'> & {
|
17
16
|
id: Polyline;
|
@@ -29,9 +28,7 @@ export default class BuildInPolyline {
|
|
29
28
|
export declare class Polyline {
|
30
29
|
private _id;
|
31
30
|
private _variables;
|
32
|
-
private _index;
|
33
31
|
constructor(key: string, variables: BuiltInVariables);
|
34
|
-
set index(index: number);
|
35
32
|
delete(): void;
|
36
33
|
}
|
37
34
|
export {};
|
@@ -17,7 +17,6 @@ export interface ITableArgs {
|
|
17
17
|
start_row?: number;
|
18
18
|
end_column?: number;
|
19
19
|
end_row?: number;
|
20
|
-
index?: number;
|
21
20
|
}
|
22
21
|
interface ITableCellArgs {
|
23
22
|
table_id?: Table;
|
@@ -72,10 +71,8 @@ export declare class Table {
|
|
72
71
|
private _id;
|
73
72
|
private _variables;
|
74
73
|
private _errorListener;
|
75
|
-
private _index;
|
76
74
|
private _defaultCell;
|
77
75
|
constructor(variables: BuiltInVariables, key: string, errorListener: TccErrorListener);
|
78
|
-
set index(index: number);
|
79
76
|
cell(args: ITableCellArgs): void;
|
80
77
|
cell_set_bgcolor({ column, row, bgcolor }: ITableCellArgs): void;
|
81
78
|
cell_set_height({ column, row, height }: ITableCellArgs): void;
|
@@ -3,8 +3,10 @@ import "./style.css";
|
|
3
3
|
import { Theme } from "@monaco-editor/react";
|
4
4
|
interface IProps {
|
5
5
|
theme?: Theme;
|
6
|
-
|
7
|
-
|
6
|
+
currentValue: {
|
7
|
+
index?: number;
|
8
|
+
value?: string;
|
9
|
+
};
|
8
10
|
}
|
9
11
|
declare const ReferenceManual: FC<IProps>;
|
10
12
|
export default ReferenceManual;
|