@guihz/trading-vue-editor-tes 0.1.64 → 0.1.66
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/{scriptsRunWorker-CdLcsxed.js → scriptsRunWorker-C03omAOD.js} +2818 -2794
- package/lib/components/editor/config/monarchTokens.d.ts +227 -1
- package/lib/components/editor/v3/parseScript/buildInVarNamespace/strategy.d.ts +4 -0
- package/lib/components/editor/v4/parseScript/buildInVarNamespace/strategy.d.ts +4 -0
- package/lib/components/editor/v5/parseScript/buildInVarNamespace/strategy.d.ts +4 -0
- package/lib/components/editor/v6/parseScript/buildInVarNamespace/strategy.d.ts +4 -0
- package/lib/trading-vue-editor.es.packages.js +2632 -2211
- package/lib/trading-vue-editor.umd.packages.mjs +25 -25
- package/package.json +1 -1
|
@@ -50,12 +50,15 @@ export declare const COLORS: {
|
|
|
50
50
|
"color-tan-orange-700": string;
|
|
51
51
|
"color-tan-orange-800": string;
|
|
52
52
|
"color-tan-orange-900": string;
|
|
53
|
+
"color-tan-orange-a100": string;
|
|
53
54
|
"color-tan-orange-a200": string;
|
|
54
55
|
"color-tan-orange-a400": string;
|
|
56
|
+
"color-tan-orange-a500": string;
|
|
55
57
|
"color-tan-orange-a600": string;
|
|
56
58
|
"color-tan-orange-a700": string;
|
|
57
59
|
"color-tan-orange-a800": string;
|
|
58
60
|
"color-tan-orange-a900": string;
|
|
61
|
+
"color-iguana-green-50": string;
|
|
59
62
|
"color-iguana-green-100": string;
|
|
60
63
|
"color-iguana-green-200": string;
|
|
61
64
|
"color-iguana-green-300": string;
|
|
@@ -65,7 +68,11 @@ export declare const COLORS: {
|
|
|
65
68
|
"color-iguana-green-700": string;
|
|
66
69
|
"color-iguana-green-800": string;
|
|
67
70
|
"color-iguana-green-900": string;
|
|
71
|
+
"color-iguana-green-a100": string;
|
|
72
|
+
"color-iguana-green-a200": string;
|
|
73
|
+
"color-iguana-green-a400": string;
|
|
68
74
|
"color-iguana-green-a700": string;
|
|
75
|
+
"color-banana-yellow-50": string;
|
|
69
76
|
"color-banana-yellow-100": string;
|
|
70
77
|
"color-banana-yellow-200": string;
|
|
71
78
|
"color-banana-yellow-300": string;
|
|
@@ -75,6 +82,8 @@ export declare const COLORS: {
|
|
|
75
82
|
"color-banana-yellow-700": string;
|
|
76
83
|
"color-banana-yellow-800": string;
|
|
77
84
|
"color-banana-yellow-900": string;
|
|
85
|
+
"color-banana-yellow-a100": string;
|
|
86
|
+
"color-banana-yellow-a200": string;
|
|
78
87
|
"color-banana-yellow-a400": string;
|
|
79
88
|
"color-banana-yellow-a700": string;
|
|
80
89
|
"color-tv-blue-50": string;
|
|
@@ -100,6 +109,7 @@ export declare const COLORS: {
|
|
|
100
109
|
"color-deep-blue-300": string;
|
|
101
110
|
"color-deep-blue-400": string;
|
|
102
111
|
"color-deep-blue-500": string;
|
|
112
|
+
"color-deep-blue-600": string;
|
|
103
113
|
"color-deep-blue-700": string;
|
|
104
114
|
"color-deep-blue-800": string;
|
|
105
115
|
"color-deep-blue-900": string;
|
|
@@ -117,6 +127,8 @@ export declare const COLORS: {
|
|
|
117
127
|
"color-minty-green-700": string;
|
|
118
128
|
"color-minty-green-800": string;
|
|
119
129
|
"color-minty-green-900": string;
|
|
130
|
+
"color-minty-green-a100": string;
|
|
131
|
+
"color-minty-green-a200": string;
|
|
120
132
|
"color-minty-green-a400": string;
|
|
121
133
|
"color-minty-green-a600": string;
|
|
122
134
|
"color-minty-green-a700": string;
|
|
@@ -136,6 +148,7 @@ export declare const COLORS: {
|
|
|
136
148
|
"color-grapes-purple-a200": string;
|
|
137
149
|
"color-grapes-purple-a400": string;
|
|
138
150
|
"color-grapes-purple-a700": string;
|
|
151
|
+
"color-berry-pink-50": string;
|
|
139
152
|
"color-berry-pink-100": string;
|
|
140
153
|
"color-berry-pink-200": string;
|
|
141
154
|
"color-berry-pink-300": string;
|
|
@@ -148,6 +161,8 @@ export declare const COLORS: {
|
|
|
148
161
|
"color-berry-pink-a100": string;
|
|
149
162
|
"color-berry-pink-a200": string;
|
|
150
163
|
"color-berry-pink-a400": string;
|
|
164
|
+
"color-berry-pink-a700": string;
|
|
165
|
+
"color-sky-blue-50": string;
|
|
151
166
|
"color-sky-blue-100": string;
|
|
152
167
|
"color-sky-blue-200": string;
|
|
153
168
|
"color-sky-blue-300": string;
|
|
@@ -157,9 +172,10 @@ export declare const COLORS: {
|
|
|
157
172
|
"color-sky-blue-700": string;
|
|
158
173
|
"color-sky-blue-800": string;
|
|
159
174
|
"color-sky-blue-900": string;
|
|
175
|
+
"color-sky-blue-a100": string;
|
|
176
|
+
"color-sky-blue-a200": string;
|
|
160
177
|
"color-sky-blue-a400": string;
|
|
161
178
|
"color-sky-blue-a700": string;
|
|
162
|
-
"color-deep-blue-600": string;
|
|
163
179
|
"color-forest-green-50": string;
|
|
164
180
|
"color-forest-green-100": string;
|
|
165
181
|
"color-forest-green-200": string;
|
|
@@ -177,6 +193,216 @@ export declare const COLORS: {
|
|
|
177
193
|
"color-youtube": string;
|
|
178
194
|
"color-linkedin": string;
|
|
179
195
|
"color-seeking-alpha-brand": string;
|
|
196
|
+
"color-header-bg": string;
|
|
197
|
+
"color-body-bg": string;
|
|
198
|
+
"color-body-secondary-bg": string;
|
|
199
|
+
"color-bg-primary": string;
|
|
200
|
+
"color-bg-primary-hover": string;
|
|
201
|
+
"color-bg-secondary": string;
|
|
202
|
+
"color-bg-highlight": string;
|
|
203
|
+
"color-bg-scroll-buttons": string;
|
|
204
|
+
"color-legacy-bg-scroll-buttons": string;
|
|
205
|
+
"color-legacy-bg-widget": string;
|
|
206
|
+
"color-text-primary": string;
|
|
207
|
+
"color-text-secondary": string;
|
|
208
|
+
"color-text-tertiary": string;
|
|
209
|
+
"color-text-disabled": string;
|
|
210
|
+
"color-accent-content": string;
|
|
211
|
+
"color-box-shadow": string;
|
|
212
|
+
"color-divider": string;
|
|
213
|
+
"color-divider-hover": string;
|
|
214
|
+
"color-divider-secondary": string;
|
|
215
|
+
"color-active-hover-text": string;
|
|
216
|
+
"color-alert-text": string;
|
|
217
|
+
"color-border-table": string;
|
|
218
|
+
"color-brand": string;
|
|
219
|
+
"color-brand-active": string;
|
|
220
|
+
"color-brand-hover": string;
|
|
221
|
+
"color-chart-page-bg": string;
|
|
222
|
+
"color-common-tooltip-bg": string;
|
|
223
|
+
"color-danger": string;
|
|
224
|
+
"color-danger-hover": string;
|
|
225
|
+
"color-danger-active": string;
|
|
226
|
+
"color-depthrenderer-stroke-style": string;
|
|
227
|
+
"color-halal": string;
|
|
228
|
+
"color-continuous": string;
|
|
229
|
+
"color-tv-calculated-pair": string;
|
|
230
|
+
"color-highlight-new": string;
|
|
231
|
+
"color-input-bg": string;
|
|
232
|
+
"color-input-publish-bg": string;
|
|
233
|
+
"color-link": string;
|
|
234
|
+
"color-link-hover": string;
|
|
235
|
+
"color-link-active": string;
|
|
236
|
+
"color-list-nth-child-bg": string;
|
|
237
|
+
"color-pane-bg": string;
|
|
238
|
+
"color-pane-secondary-bg": string;
|
|
239
|
+
"color-popup-menu-item-hover-bg": string;
|
|
240
|
+
"color-popup-menu-separator": string;
|
|
241
|
+
"color-primary-symbol": string;
|
|
242
|
+
"color-screener-description": string;
|
|
243
|
+
"color-success": string;
|
|
244
|
+
"color-success-hover": string;
|
|
245
|
+
"color-success-active": string;
|
|
246
|
+
"color-toolbar-button-text": string;
|
|
247
|
+
"color-toolbar-button-text-hover": string;
|
|
248
|
+
"color-toolbar-button-text-active": string;
|
|
249
|
+
"color-toolbar-button-text-active-hover": string;
|
|
250
|
+
"color-toolbar-button-background-hover": string;
|
|
251
|
+
"color-toolbar-button-background-secondary-hover": string;
|
|
252
|
+
"color-toolbar-button-background-active": string;
|
|
253
|
+
"color-toolbar-button-background-active-hover": string;
|
|
254
|
+
"color-toolbar-toggle-button-background-active": string;
|
|
255
|
+
"color-toolbar-toggle-button-background-active-hover": string;
|
|
256
|
+
"color-toolbar-toggle-button-icon": string;
|
|
257
|
+
"color-toolbar-interactive-element-text-normal": string;
|
|
258
|
+
"color-toolbar-opened-element-bg": string;
|
|
259
|
+
"color-toolbar-divider-background": string;
|
|
260
|
+
"color-popup-background": string;
|
|
261
|
+
"color-popup-element-text": string;
|
|
262
|
+
"color-popup-element-text-hover": string;
|
|
263
|
+
"color-popup-element-background-hover": string;
|
|
264
|
+
"color-popup-element-secondary-text": string;
|
|
265
|
+
"color-popup-element-hint-text": string;
|
|
266
|
+
"color-popup-element-text-active": string;
|
|
267
|
+
"color-popup-element-background-active": string;
|
|
268
|
+
"color-popup-element-toolbox-text": string;
|
|
269
|
+
"color-popup-element-toolbox-text-hover": string;
|
|
270
|
+
"color-popup-element-toolbox-text-active-hover": string;
|
|
271
|
+
"color-popup-element-toolbox-background-hover": string;
|
|
272
|
+
"color-popup-element-toolbox-background-active-hover": string;
|
|
273
|
+
"color-tooltip-bg": string;
|
|
274
|
+
"color-tv-dialog-caption": string;
|
|
275
|
+
"color-tv-dropdown-item-hover-bg": string;
|
|
276
|
+
"color-underlined-text": string;
|
|
277
|
+
"color-widget-pages-bg": string;
|
|
278
|
+
"color-warning": string;
|
|
279
|
+
"color-growing": string;
|
|
280
|
+
"color-falling": string;
|
|
281
|
+
"color-forex-icon": string;
|
|
282
|
+
"color-list-item-active-bg": string;
|
|
283
|
+
"color-list-item-hover-bg": string;
|
|
284
|
+
"color-list-item-text": string;
|
|
285
|
+
"color-price-axis-label-back": string;
|
|
286
|
+
"color-price-axis-label-text": string;
|
|
287
|
+
"color-price-axis-gear": string;
|
|
288
|
+
"color-price-axis-gear-hover": string;
|
|
289
|
+
"color-price-axis-highlight": string;
|
|
290
|
+
"color-bid": string;
|
|
291
|
+
"color-border": string;
|
|
292
|
+
"color-border-chat-fields": string;
|
|
293
|
+
"color-border-hover": string;
|
|
294
|
+
"color-button-hover-bg": string;
|
|
295
|
+
"color-depthrenderer-fill-style": string;
|
|
296
|
+
"color-disabled-border-and-color": string;
|
|
297
|
+
"color-disabled-input": string;
|
|
298
|
+
"color-empty-container-message": string;
|
|
299
|
+
"color-icons": string;
|
|
300
|
+
"color-input-textarea-readonly": string;
|
|
301
|
+
"color-input-placeholder-text": string;
|
|
302
|
+
"color-item-active-blue": string;
|
|
303
|
+
"color-item-hover-active-bg": string;
|
|
304
|
+
"color-item-hover-bg": string;
|
|
305
|
+
"color-item-hover-blue": string;
|
|
306
|
+
"color-item-selected-blue": string;
|
|
307
|
+
"color-item-active-text": string;
|
|
308
|
+
"color-item-active-bg": string;
|
|
309
|
+
"color-list-item": string;
|
|
310
|
+
"color-news-highlight": string;
|
|
311
|
+
"color-placeholder": string;
|
|
312
|
+
"color-row-hover-active-bg": string;
|
|
313
|
+
"color-sb-scrollbar-body-bg": string;
|
|
314
|
+
"color-section-separator-border": string;
|
|
315
|
+
"color-separator-table-chat": string;
|
|
316
|
+
"color-tag-active-bg": string;
|
|
317
|
+
"color-tag-hover-bg": string;
|
|
318
|
+
"color-text-regular": string;
|
|
319
|
+
"color-tv-button-checked": string;
|
|
320
|
+
"color-scroll-bg": string;
|
|
321
|
+
"color-scroll-border": string;
|
|
322
|
+
"color-widget-border": string;
|
|
323
|
+
"color-scroll-buttons-arrow": string;
|
|
324
|
+
"color-control-intent-default": string;
|
|
325
|
+
"color-control-intent-success": string;
|
|
326
|
+
"color-control-intent-primary": string;
|
|
327
|
+
"color-control-intent-warning": string;
|
|
328
|
+
"color-control-intent-danger": string;
|
|
329
|
+
"color-goto-label-background": string;
|
|
330
|
+
"color-pre-market": string;
|
|
331
|
+
"color-pre-market-bg": string;
|
|
332
|
+
"color-post-market": string;
|
|
333
|
+
"color-post-market-bg": string;
|
|
334
|
+
"color-market-open": string;
|
|
335
|
+
"color-market-open-bg": string;
|
|
336
|
+
"color-market-closed": string;
|
|
337
|
+
"color-market-holiday": string;
|
|
338
|
+
"color-market-expired": string;
|
|
339
|
+
"color-invalid-symbol": string;
|
|
340
|
+
"color-invalid-symbol-hover": string;
|
|
341
|
+
"color-delisted-symbol": string;
|
|
342
|
+
"color-delisted-symbol-hover": string;
|
|
343
|
+
"color-replay-mode": string;
|
|
344
|
+
"color-replay-mode-point-select": string;
|
|
345
|
+
"color-replay-mode-icon": string;
|
|
346
|
+
"color-replay-mode-hover": string;
|
|
347
|
+
"color-notaccurate-mode": string;
|
|
348
|
+
"color-delay-mode": string;
|
|
349
|
+
"color-delay-mode-bg": string;
|
|
350
|
+
"color-eod-mode": string;
|
|
351
|
+
"color-eod-mode-bg": string;
|
|
352
|
+
"color-data-problem": string;
|
|
353
|
+
"color-data-problem-bg": string;
|
|
354
|
+
"color-data-problem-hover": string;
|
|
355
|
+
"color-list-item-bg-highlighted": string;
|
|
356
|
+
"color-list-item-bg-selected": string;
|
|
357
|
+
"color-list-item-bg-highlighted-hover": string;
|
|
358
|
+
"color-list-item-bg-selected-hover": string;
|
|
359
|
+
"color-screener-header-bg": string;
|
|
360
|
+
"color-screener-header-bg-hover": string;
|
|
361
|
+
"color-marker-flagged": string;
|
|
362
|
+
"color-marker-flagged-hovered": string;
|
|
363
|
+
"color-ask": string;
|
|
364
|
+
"color-sell": string;
|
|
365
|
+
"color-buy": string;
|
|
366
|
+
"color-neutral": string;
|
|
367
|
+
"color-pro": string;
|
|
368
|
+
"color-pro-hover": string;
|
|
369
|
+
"color-pro-plus": string;
|
|
370
|
+
"color-pro-plus-hover": string;
|
|
371
|
+
"color-pro-premium": string;
|
|
372
|
+
"color-pro-premium-hover": string;
|
|
373
|
+
"color-trial": string;
|
|
374
|
+
"color-trial-hover": string;
|
|
375
|
+
"color-mod": string;
|
|
376
|
+
"color-mod-hover": string;
|
|
377
|
+
"color-ad": string;
|
|
378
|
+
"color-broker-featured": string;
|
|
379
|
+
"color-broker-featured-hover": string;
|
|
380
|
+
"color-alert-status-active": string;
|
|
381
|
+
"color-alert-status-stopped": string;
|
|
382
|
+
"color-alert-status-triggered": string;
|
|
383
|
+
"color-overlay": string;
|
|
384
|
+
"color-search-button-hover": string;
|
|
385
|
+
"color-boost-button-content-selected": string;
|
|
386
|
+
"color-boost-button-content-hover": string;
|
|
387
|
+
"color-boost-button-bg-hover": string;
|
|
388
|
+
"color-boost-button-border-hover": string;
|
|
389
|
+
"color-boost-button-border-default": string;
|
|
390
|
+
"color-common-tooltip-text": string;
|
|
391
|
+
"color-replay-data-mode": string;
|
|
392
|
+
"color-legacy-success": string;
|
|
393
|
+
"color-collapse-tabs-border": string;
|
|
394
|
+
"color-site-widget-hover": string;
|
|
395
|
+
"color-attention": string;
|
|
396
|
+
"color-x-twitter-content": string;
|
|
397
|
+
"color-card-border": string;
|
|
398
|
+
"color-card-border-hover": string;
|
|
399
|
+
"color-background-special-primary": string;
|
|
400
|
+
"color-stroke-special-primary": string;
|
|
401
|
+
"color-selection-bg": string;
|
|
402
|
+
"color-default-gray": string;
|
|
403
|
+
"color-featured-broker-badge-bg": string;
|
|
404
|
+
"color-featured-broker-badge-bg-hover": string;
|
|
405
|
+
"color-featured-broker-badge-text": string;
|
|
180
406
|
};
|
|
181
407
|
export declare const VS: editor.IStandaloneThemeData;
|
|
182
408
|
export declare const VS_DARK: editor.IStandaloneThemeData;
|
|
@@ -11,6 +11,8 @@ export declare class Strategy {
|
|
|
11
11
|
private _max_runup;
|
|
12
12
|
private _max_runup_percent;
|
|
13
13
|
private _max_drawdown_percent;
|
|
14
|
+
private _max_net_drawdown;
|
|
15
|
+
private _max_net_drawdown_percent;
|
|
14
16
|
private _variables;
|
|
15
17
|
private _netprofit;
|
|
16
18
|
private _eventrades;
|
|
@@ -102,6 +104,8 @@ export declare class Strategy {
|
|
|
102
104
|
max_runup_percent: number;
|
|
103
105
|
max_drawdown: number;
|
|
104
106
|
max_runup: number;
|
|
107
|
+
max_net_drawdown: number;
|
|
108
|
+
max_net_drawdown_percent: number;
|
|
105
109
|
max_contracts_held_long: number;
|
|
106
110
|
max_contracts_held_short: number;
|
|
107
111
|
max_contracts_held_all: number;
|
|
@@ -11,6 +11,8 @@ export declare class Strategy {
|
|
|
11
11
|
private _max_runup;
|
|
12
12
|
private _max_runup_percent;
|
|
13
13
|
private _max_drawdown_percent;
|
|
14
|
+
private _max_net_drawdown;
|
|
15
|
+
private _max_net_drawdown_percent;
|
|
14
16
|
private _variables;
|
|
15
17
|
private _netprofit;
|
|
16
18
|
private _eventrades;
|
|
@@ -98,6 +100,8 @@ export declare class Strategy {
|
|
|
98
100
|
max_runup_percent: number;
|
|
99
101
|
max_drawdown: number;
|
|
100
102
|
max_runup: number;
|
|
103
|
+
max_net_drawdown: number;
|
|
104
|
+
max_net_drawdown_percent: number;
|
|
101
105
|
max_contracts_held_long: number;
|
|
102
106
|
max_contracts_held_short: number;
|
|
103
107
|
max_contracts_held_all: number;
|
|
@@ -9,6 +9,8 @@ export declare class Strategy {
|
|
|
9
9
|
private _max_contracts_held_short;
|
|
10
10
|
private _max_drawdown;
|
|
11
11
|
private _max_runup;
|
|
12
|
+
private _max_net_drawdown;
|
|
13
|
+
private _max_net_drawdown_percent;
|
|
12
14
|
private _max_runup_percent;
|
|
13
15
|
private _max_drawdown_percent;
|
|
14
16
|
private _variables;
|
|
@@ -106,6 +108,8 @@ export declare class Strategy {
|
|
|
106
108
|
max_runup_percent: number;
|
|
107
109
|
max_drawdown: number;
|
|
108
110
|
max_runup: number;
|
|
111
|
+
max_net_drawdown: number;
|
|
112
|
+
max_net_drawdown_percent: number;
|
|
109
113
|
max_contracts_held_long: number;
|
|
110
114
|
max_contracts_held_short: number;
|
|
111
115
|
max_contracts_held_all: number;
|
|
@@ -9,6 +9,8 @@ export declare class Strategy {
|
|
|
9
9
|
private _max_contracts_held_short;
|
|
10
10
|
private _max_drawdown;
|
|
11
11
|
private _max_runup;
|
|
12
|
+
private _max_net_drawdown;
|
|
13
|
+
private _max_net_drawdown_percent;
|
|
12
14
|
private _max_runup_percent;
|
|
13
15
|
private _max_drawdown_percent;
|
|
14
16
|
private _variables;
|
|
@@ -110,6 +112,8 @@ export declare class Strategy {
|
|
|
110
112
|
max_runup_percent: number;
|
|
111
113
|
max_drawdown: number;
|
|
112
114
|
max_runup: number;
|
|
115
|
+
max_net_drawdown: number;
|
|
116
|
+
max_net_drawdown_percent: number;
|
|
113
117
|
max_contracts_held_long: number;
|
|
114
118
|
max_contracts_held_short: number;
|
|
115
119
|
max_contracts_held_all: number;
|