@guihz/trading-vue-editor-tes 0.0.216 → 0.0.218

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.
@@ -1,5 +1,6 @@
1
1
  import { Theme } from '@monaco-editor/react';
2
2
  import { FC } from 'react';
3
+ import '../../i18n';
3
4
  interface IProps {
4
5
  height?: string | number;
5
6
  width?: string | number;
@@ -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 TradingEditorComponent: import("react").ForwardRefExoticComponent<IProps & import("react").RefAttributes<IRefs>>;
34
- export default TradingEditorComponent;
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[];
@@ -1,6 +1,7 @@
1
1
  import { FC } from "react";
2
2
  import "./style.css";
3
3
  import { Theme } from "@monaco-editor/react";
4
+ import '../../i18n';
4
5
  interface IProps {
5
6
  theme?: Theme;
6
7
  currentValue: {
@@ -0,0 +1,2 @@
1
+ import i18n from 'i18next';
2
+ export default i18n;
@@ -0,0 +1,58 @@
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
+ Returns: string;
51
+ Syntax: string;
52
+ Remarks: string;
53
+ Fields: string;
54
+ Description: string;
55
+ Example: string;
56
+ EnumMembers: string;
57
+ };
58
+ export default _default;
@@ -0,0 +1,58 @@
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
+ Returns: string;
51
+ Syntax: string;
52
+ Remarks: string;
53
+ Fields: string;
54
+ Description: string;
55
+ Example: string;
56
+ EnumMembers: string;
57
+ };
58
+ export default _default;