@guihz/trading-vue-editor-tes 0.0.72 → 0.0.74
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/assets/{parserTccWorker-Bo1vM4qv.js → parserTccWorker-mM0z-Mci.js} +4 -1
- package/lib/assets/{scriptsRunWorker-BPrQC8D-.js → scriptsRunWorker-C-CbdlH1.js} +18 -18
- package/lib/components/editor/parseScript/buildInFuncNamespace/log.d.ts +3 -3
- package/lib/components/editor/parseScript/constants.d.ts +2 -0
- package/lib/components/editor/utils/initEditor.d.ts +1 -1
- package/lib/trading-vue-editor.js +500 -500
- package/lib/trading-vue-editor.umd.cjs +16 -16
- package/package.json +1 -1
@@ -17,9 +17,9 @@ export declare class Log {
|
|
17
17
|
constructor(variables: BuiltInVariables);
|
18
18
|
get logs(): ILog[];
|
19
19
|
clearLogs(): void;
|
20
|
-
info(args: ILogArgs, replaces: (string | number)[]): void;
|
21
|
-
error(args: ILogArgs, replaces: (string | number)[]): void;
|
22
|
-
warning(args: ILogArgs, replaces: (string | number)[]): void;
|
20
|
+
info(args: ILogArgs, replaces: (string | number)[], posStr: string): void;
|
21
|
+
error(args: ILogArgs, replaces: (string | number)[], posStr: string): void;
|
22
|
+
warning(args: ILogArgs, replaces: (string | number)[], posStr: string): void;
|
23
23
|
private _addLog;
|
24
24
|
}
|
25
25
|
export {};
|
@@ -56,6 +56,8 @@ export declare const ERRORS_TIPS: {
|
|
56
56
|
importMultipleErr: string;
|
57
57
|
importNotExitErr: string;
|
58
58
|
importNameRepeatErr: string;
|
59
|
+
exportFuncHasInputErr: string;
|
60
|
+
libraryTitleIsKeywordErr: string;
|
59
61
|
};
|
60
62
|
export declare const WARNING_TIPS: {
|
61
63
|
repeatVar: string;
|
@@ -21,7 +21,7 @@ export default class InitEditor {
|
|
21
21
|
contentHeight: number;
|
22
22
|
lineCount: number | undefined;
|
23
23
|
};
|
24
|
-
setEditorLayout(height: number): void;
|
24
|
+
setEditorLayout(height: number, width?: number): void;
|
25
25
|
private _init;
|
26
26
|
private _setCursorPosition;
|
27
27
|
private _register;
|