@guihz/trading-vue-editor-tes 0.0.270 → 0.0.271
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.
- package/lib/assets/{parserTccWorker-BbrjnfrW.js → parserTccWorker-QNTQ9txY.js} +47 -47
- package/lib/assets/{scriptsRunWorker-BKcSeomL.js → scriptsRunWorker-CBdaEYKe.js} +12 -12
- package/lib/components/editor/parseScript/buildInFuncNamespace/box.d.ts +2 -1
- package/lib/components/editor/parseScript/buildInFuncNamespace/label.d.ts +2 -1
- package/lib/components/editor/parseScript/buildInFuncNamespace/line.d.ts +2 -1
- package/lib/components/editor/parseScript/buildInFuncNamespace/linefill.d.ts +2 -1
- package/lib/components/editor/parseScript/buildInFuncNamespace/polyline.d.ts +2 -1
- package/lib/components/editor/parseScript/buildInFuncNamespace/table.d.ts +2 -1
- package/lib/trading-vue-editor.js +2 -4
- package/lib/trading-vue-editor.umd.cjs +2 -2
- package/package.json +1 -1
@@ -82,7 +82,8 @@ export declare class Box {
|
|
82
82
|
get id(): string;
|
83
83
|
get preId(): string;
|
84
84
|
updateId(): string;
|
85
|
-
|
85
|
+
set data(data: IKeyObjectValue);
|
86
|
+
get data(): IKeyObjectValue;
|
86
87
|
copy(posStr: string): Box;
|
87
88
|
delete(posStr: string): void;
|
88
89
|
get_top(posStr: string): any;
|
@@ -65,7 +65,8 @@ export declare class Label {
|
|
65
65
|
get id(): string;
|
66
66
|
get preId(): string;
|
67
67
|
updateId(): string;
|
68
|
-
|
68
|
+
set data(data: IKeyObjectValue);
|
69
|
+
get data(): IKeyObjectValue;
|
69
70
|
copy(posStr: string): Label;
|
70
71
|
get_x(posStr: string): any;
|
71
72
|
get_y(posStr: string): any;
|
@@ -73,7 +73,8 @@ export declare class Line {
|
|
73
73
|
get preId(): string;
|
74
74
|
updateId(): string;
|
75
75
|
get type(): VType;
|
76
|
-
|
76
|
+
set data(data: IKeyObjectValue);
|
77
|
+
get data(): IKeyObjectValue;
|
77
78
|
get originData(): IKeyObjectValue;
|
78
79
|
copy(posStr: string): Line;
|
79
80
|
delete(posStr: string): void;
|
@@ -36,7 +36,8 @@ export declare class Linefill {
|
|
36
36
|
get id(): string;
|
37
37
|
get preId(): string;
|
38
38
|
updateId(): string;
|
39
|
-
|
39
|
+
set data(data: IKeyObjectValue);
|
40
|
+
get data(): IKeyObjectValue;
|
40
41
|
linefill(args: {
|
41
42
|
x?: Linefill;
|
42
43
|
}): Linefill | undefined;
|
@@ -87,8 +87,9 @@ export declare class Table {
|
|
87
87
|
get type(): VType;
|
88
88
|
get id(): string;
|
89
89
|
get preId(): string;
|
90
|
+
set data(data: IKeyObjectValue);
|
90
91
|
updateId(): string;
|
91
|
-
get data():
|
92
|
+
get data(): IKeyObjectValue;
|
92
93
|
cell(args: ITableCellArgs, posStr: string): void;
|
93
94
|
cell_set_bgcolor({ column, row, bgcolor }: ITableCellArgs, posStr: string): void;
|
94
95
|
cell_set_height({ column, row, height }: ITableCellArgs, posStr: string): void;
|
@@ -53237,7 +53237,6 @@ else
|
|
53237
53237
|
],
|
53238
53238
|
originalName: "array.percentrank",
|
53239
53239
|
thisType: [
|
53240
|
-
"float[]",
|
53241
53240
|
"int[]"
|
53242
53241
|
]
|
53243
53242
|
},
|
@@ -53329,7 +53328,6 @@ else
|
|
53329
53328
|
],
|
53330
53329
|
originalName: "array.percentile_nearest_rank",
|
53331
53330
|
thisType: [
|
53332
|
-
"float[]",
|
53333
53331
|
"int[]"
|
53334
53332
|
]
|
53335
53333
|
},
|
@@ -69151,14 +69149,14 @@ function br(a, s, r) {
|
|
69151
69149
|
function Nw() {
|
69152
69150
|
return new Array(4).fill(0).map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16)).join("-");
|
69153
69151
|
}
|
69154
|
-
const Cd = new Worker(new URL("" + new URL("assets/scriptsRunWorker-
|
69152
|
+
const Cd = new Worker(new URL("" + new URL("assets/scriptsRunWorker-CBdaEYKe.js", import.meta.url).href, import.meta.url), { type: "module", name: "Run TccScript Server" });
|
69155
69153
|
Cd.onerror = (a) => {
|
69156
69154
|
console.error(a);
|
69157
69155
|
};
|
69158
69156
|
async function Sd(a) {
|
69159
69157
|
return await wn.setInlayHints(a);
|
69160
69158
|
}
|
69161
|
-
const Nd = xo(Cd), zd = xo(new Worker(new URL("" + new URL("assets/parserTccWorker-
|
69159
|
+
const Nd = xo(Cd), zd = xo(new Worker(new URL("" + new URL("assets/parserTccWorker-QNTQ9txY.js", import.meta.url).href, import.meta.url), { type: "module", name: "Parser TccScript Server" }));
|
69162
69160
|
async function zw(a, s = !1) {
|
69163
69161
|
const { functions: r, types: n, constants: o, variables: l, methods: c } = dt;
|
69164
69162
|
return await zd.parseTcc(a, s, ho(Sd), { functions: Object.fromEntries(r), methods: Object.fromEntries(c), types: Object.fromEntries(n), constants: Object.fromEntries(o), variables: Object.fromEntries(l) });
|