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

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ export default class ChartPoint {
10
10
  constructor(variables: BuiltInVariables);
11
11
  new({ price, time, index }: IChartPointArgs): Point;
12
12
  now({ price }: IChartPointArgs): Point;
13
- copy({ id }: IChartPointArgs): Point;
13
+ copy({ id }: IChartPointArgs): Point | undefined;
14
14
  from_index({ price, index }: IChartPointArgs): Point;
15
15
  from_time({ price, time }: IChartPointArgs): Point;
16
16
  }
@@ -76,6 +76,14 @@ export declare const ERRORS_TIPS: {
76
76
  conditionalErr: string;
77
77
  fortoErr: string;
78
78
  indicatorUseStrategyFuncErr: string;
79
+ arrEmptyErr: string;
80
+ arrLengthDiffErr: string;
81
+ arrTypeErr: string;
82
+ inputOptErr: string;
83
+ mathRandomErr: string;
84
+ matrixRehapeErr: string;
85
+ strategyExitErr: string;
86
+ arrLenErr: string;
79
87
  };
80
88
  export declare const WARNING_TIPS: {
81
89
  repeatVar: string;
@@ -21,6 +21,7 @@ export declare class MyCompletion {
21
21
  constructor();
22
22
  get methodFuncs(): Map<string, IDocValue[]>;
23
23
  get userFuncs(): Map<string, IDocValue[]>;
24
+ get userEnums(): Map<string, IDocValue[]>;
24
25
  set nextIsBracket(value: boolean);
25
26
  get nextIsBracket(): boolean;
26
27
  get annotationSuggestions(): ISuggestion[];
@@ -17,6 +17,7 @@ export declare class Parse {
17
17
  private _imports;
18
18
  private _overloadsFuncs;
19
19
  constructor();
20
+ get overloadsFuncs(): IKeyValue[];
20
21
  setUserDefined(maps: IUserDefined, overloadsFuncs: IKeyValue[]): void;
21
22
  parseLineContentFuncVar(column: number, line: number, model: editor.ITextModel | null, position?: Position): IKeyObjectValue | null | undefined;
22
23
  private _getImportDocVal;
@@ -28,6 +29,7 @@ export declare class Parse {
28
29
  startIndex: number;
29
30
  } | undefined;
30
31
  parseCurrentInputFuncAndArg(content: string, isQString?: boolean, isQqString?: boolean): {
32
+ startIndex: number;
31
33
  funcName: string;
32
34
  args: string[];
33
35
  } | undefined;
@@ -2,7 +2,7 @@ export declare class SignatureHelp {
2
2
  private _formatter;
3
3
  private _isMac;
4
4
  constructor(userAgent: string);
5
- getSignatureHelpValues(funcName: string, args?: string[]): {
5
+ getSignatureHelpValues(funcName: string, args?: string[], startIndex?: number, line?: number): {
6
6
  activeParameter: number;
7
7
  activeSignature: number;
8
8
  signatures: {
@@ -1,4 +1,4 @@
1
- import { Position, editor, languages, IRange, Uri } from 'monaco-editor';
1
+ import { Position, editor, languages, IRange } from 'monaco-editor';
2
2
  export declare function provideCompletionItems(model: editor.ITextModel, position: Position, context: languages.CompletionContext): languages.ProviderResult<languages.CompletionList>;
3
3
  export declare function resolveCompletionItem(item: languages.CompletionItem): languages.CompletionItem;
4
4
  export declare function provideHover(model: editor.ITextModel, position: Position): languages.ProviderResult<languages.Hover>;
@@ -9,7 +9,7 @@ export declare function provideColorPresentations(model: editor.ITextModel, colo
9
9
  }[];
10
10
  export declare function openCodeEditor(source: editor.ICodeEditor, selectionOrPosition: IRange): import("../type").IKeyObjectValue | undefined;
11
11
  export declare function provideDefinition(model: editor.ITextModel, position: Position): {
12
- uri: Uri;
12
+ uri: import("monaco-editor").Uri;
13
13
  range: {
14
14
  startLineNumber: number;
15
15
  endLineNumber: number;