@guihz/trading-vue-editor-tes 0.0.216 → 0.0.217
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/assets/{parserTccWorker-CCpcd6u0.js → parserTccWorker-DVfTw1lJ.js} +39 -39
- package/lib/components/diffEditor/index.d.ts +1 -0
- package/lib/components/editor/index.d.ts +3 -2
- package/lib/components/editor/parseScript/visitorParser.d.ts +1 -0
- package/lib/components/referenceManual/index.d.ts +1 -0
- package/lib/i18n/index.d.ts +2 -0
- package/lib/i18n/local/en.d.ts +51 -0
- package/lib/i18n/local/zh_cn.d.ts +49 -0
- package/lib/trading-vue-editor.js +7081 -5055
- package/lib/trading-vue-editor.umd.cjs +42 -42
- package/package.json +4 -1
@@ -3,6 +3,7 @@ import { Theme } from "@monaco-editor/react";
|
|
3
3
|
import { IPosition, editor } from "monaco-editor";
|
4
4
|
import "./style.css";
|
5
5
|
import { IKeyObjectValue } from "./type";
|
6
|
+
import '../../i18n';
|
6
7
|
interface IProps {
|
7
8
|
height?: string | number;
|
8
9
|
width?: string | number;
|
@@ -30,5 +31,5 @@ export interface IRefs {
|
|
30
31
|
setModelMarkers: (markers: editor.IMarkerData[]) => void;
|
31
32
|
focus: () => void;
|
32
33
|
}
|
33
|
-
declare const
|
34
|
-
export default
|
34
|
+
declare const _default: import("react").ForwardRefExoticComponent<IProps & import("react").RefAttributes<IRefs>>;
|
35
|
+
export default _default;
|
@@ -40,6 +40,7 @@ export default class ParserVisitor extends ParserUtils {
|
|
40
40
|
private _hasRequest?;
|
41
41
|
private _strategyFuncName?;
|
42
42
|
private _strategyVarName?;
|
43
|
+
private _isSeriesCondition?;
|
43
44
|
constructor(props: IKeyObjectValue, comments: IKeyObjectValue[], getImportLibraryFunc: (obj: IKeyObjectValue) => IKeyObjectValue);
|
44
45
|
get overloadsFuncs(): IKeyValue[];
|
45
46
|
get errors(): IError[];
|
@@ -0,0 +1,51 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
type: string;
|
3
|
+
syntax: string;
|
4
|
+
overloads: string;
|
5
|
+
arguments: string;
|
6
|
+
fields: string;
|
7
|
+
example: string;
|
8
|
+
returns: string;
|
9
|
+
remarks: string;
|
10
|
+
"see also": string;
|
11
|
+
"Copy code": string;
|
12
|
+
"Copy link": string;
|
13
|
+
Copied: string;
|
14
|
+
"Link copied": string;
|
15
|
+
variables: string;
|
16
|
+
constants: string;
|
17
|
+
functions: string;
|
18
|
+
keywords: string;
|
19
|
+
types: string;
|
20
|
+
operators: string;
|
21
|
+
annotations: string;
|
22
|
+
search: string;
|
23
|
+
'Mine Script\u00AE v1 Reference Manual': string;
|
24
|
+
'This script is read-only. It cannot be edited.': string;
|
25
|
+
'save script': string;
|
26
|
+
'open script': string;
|
27
|
+
'find/replace': string;
|
28
|
+
'toggle console': string;
|
29
|
+
'open editor in new tab': string;
|
30
|
+
'open editor in new window': string;
|
31
|
+
keyword: string;
|
32
|
+
'built-in function': string;
|
33
|
+
'built-in variable': string;
|
34
|
+
'built-in method': string;
|
35
|
+
'built-in type': string;
|
36
|
+
annotation: string;
|
37
|
+
'built-in constant': string;
|
38
|
+
namespace: string;
|
39
|
+
'user-defined variable': string;
|
40
|
+
'user-defined type': string;
|
41
|
+
field: string;
|
42
|
+
enum: string;
|
43
|
+
'user-defined method': string;
|
44
|
+
'user-defined function': string;
|
45
|
+
parameter: string;
|
46
|
+
"**Namespaces** are immutable terms that act as prefixes for groups of identifiers. A dot and another term always follow a namespace when naming Tcc functions, variables, and methods.": string;
|
47
|
+
'to trigger parameters hint': string;
|
48
|
+
library: string;
|
49
|
+
'enum member': string;
|
50
|
+
};
|
51
|
+
export default _default;
|
@@ -0,0 +1,49 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
type: string;
|
3
|
+
syntax: string;
|
4
|
+
overloads: string;
|
5
|
+
arguments: string;
|
6
|
+
fields: string;
|
7
|
+
example: string;
|
8
|
+
returns: string;
|
9
|
+
remarks: string;
|
10
|
+
"see also": string;
|
11
|
+
"Copy code": string;
|
12
|
+
"Copy link": string;
|
13
|
+
Copied: string;
|
14
|
+
"Link copied": string;
|
15
|
+
variables: string;
|
16
|
+
constants: string;
|
17
|
+
functions: string;
|
18
|
+
keywords: string;
|
19
|
+
types: string;
|
20
|
+
operators: string;
|
21
|
+
annotations: string;
|
22
|
+
search: string;
|
23
|
+
'Mine Script\u00AE v1 Reference Manual': string;
|
24
|
+
'This script is read-only. It cannot be edited.': string;
|
25
|
+
'save script': string;
|
26
|
+
'open script': string;
|
27
|
+
'find/replace': string;
|
28
|
+
'toggle console': string;
|
29
|
+
'open editor in new tab': string;
|
30
|
+
'open editor in new window': string;
|
31
|
+
keyword: string;
|
32
|
+
'built-in function': string;
|
33
|
+
'built-in variable': string;
|
34
|
+
'built-in method': string;
|
35
|
+
'built-in type': string;
|
36
|
+
annotation: string;
|
37
|
+
'built-in constant': string;
|
38
|
+
namespace: string;
|
39
|
+
'user-defined variable': string;
|
40
|
+
'user-defined type': string;
|
41
|
+
field: string;
|
42
|
+
enum: string;
|
43
|
+
'user-defined method': string;
|
44
|
+
'user-defined function': string;
|
45
|
+
parameter: string;
|
46
|
+
"**Namespaces** are immutable terms that act as prefixes for groups of identifiers. A dot and another term always follow a namespace when naming Tcc functions, variables, and methods.": string;
|
47
|
+
'to trigger parameters hint': string;
|
48
|
+
};
|
49
|
+
export default _default;
|