@guihz/trading-vue-editor-tes 0.0.23 → 0.0.25
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/assets/{parserTccWorker-B-xIp9MW.js → parserTccWorker-Tgc_MECY.js} +3 -3
- package/lib/components/editor/index.d.ts +2 -0
- package/lib/components/editor/utils/initEditor.d.ts +1 -0
- package/lib/components/editor/utils/parserTccWorker.d.ts +1 -1
- package/lib/trading-vue-editor.js +438 -427
- package/lib/trading-vue-editor.umd.cjs +20 -20
- package/package.json +1 -1
@@ -22,6 +22,8 @@ export interface IRefs {
|
|
22
22
|
contentHeight: number;
|
23
23
|
lineCount: number | undefined;
|
24
24
|
};
|
25
|
+
setPosition: (column: number, lineNumber: number) => void;
|
26
|
+
setModelMarkers: (markers: editor.IMarkerData[]) => void;
|
25
27
|
}
|
26
28
|
declare const TradingEditorComponent: import("react").ForwardRefExoticComponent<IProps & import("react").RefAttributes<IRefs>>;
|
27
29
|
export default TradingEditorComponent;
|
@@ -2,7 +2,7 @@
|
|
2
2
|
import { ErrorListener } from 'antlr4';
|
3
3
|
import { IKeyObjectValue } from '../type';
|
4
4
|
export default function parseTcc(program: string, hasTranscoding: boolean, keyObjs: IKeyObjectValue): Promise<{
|
5
|
-
errors:
|
5
|
+
errors: any[];
|
6
6
|
functions: {
|
7
7
|
[k: string]: import("../type").IDocValue[];
|
8
8
|
};
|