@luxalgo/vela 0.6.10 → 0.6.11
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/dist/{DataProvider-CWmp31dA.d.ts → DataProvider-BBf-jc6W.d.ts} +1 -1
- package/dist/{DataProvider-l_eLMly_.d.cts → DataProvider-p0TEyhlX.d.cts} +1 -1
- package/dist/{chunk-FFOP37FQ.js → chunk-73PEA4MU.js} +131 -33
- package/dist/{chunk-NMTQXNT4.js → chunk-IO3NYSQV.js} +65 -22
- package/dist/{chunk-4KZVZ7QQ.js → chunk-MTLJKZDZ.js} +9 -1
- package/dist/{contributions-BCz6Dr6a.d.ts → contributions-Bbe2R-mQ.d.ts} +16 -2
- package/dist/{contributions-D9vTzm5p.d.cts → contributions-CO01zWve.d.cts} +16 -2
- package/dist/index.cjs +139 -32
- package/dist/index.d.cts +12 -6
- package/dist/index.d.ts +12 -6
- package/dist/index.js +3 -3
- package/dist/{options-DSqHsQyN.d.cts → options-yp7sA96q.d.cts} +8 -1
- package/dist/{options-DSqHsQyN.d.ts → options-yp7sA96q.d.ts} +8 -1
- package/dist/{plugin-Bt8hLR8Z.d.cts → plugin-CkkH8QnX.d.cts} +3 -3
- package/dist/{plugin-CH7pfMrE.d.ts → plugin-DwxjM3Ni.d.ts} +3 -3
- package/dist/plugin.cjs +9 -0
- package/dist/plugin.d.cts +4 -4
- package/dist/plugin.d.ts +4 -4
- package/dist/plugin.js +2 -2
- package/dist/providers/binance.d.cts +2 -2
- package/dist/providers/binance.d.ts +2 -2
- package/dist/providers/coinbase.d.cts +2 -2
- package/dist/providers/coinbase.d.ts +2 -2
- package/dist/providers/hyperliquid.d.cts +2 -2
- package/dist/providers/hyperliquid.d.ts +2 -2
- package/dist/{statusline-5K7y4Ya2.d.ts → statusline-CHPDuKNp.d.ts} +13 -5
- package/dist/{statusline-TYLQmoeh.d.cts → statusline-DTHZUFqK.d.cts} +13 -5
- package/dist/ui.d.cts +1 -1
- package/dist/ui.d.ts +1 -1
- package/dist/vela.global.js +139 -32
- package/dist/vela.global.min.js +43 -43
- package/dist/widget.cjs +201 -52
- package/dist/widget.d.cts +6 -6
- package/dist/widget.d.ts +6 -6
- package/dist/widget.js +4 -4
- package/dist/workspace.cjs +201 -52
- package/dist/workspace.d.cts +20 -11
- package/dist/workspace.d.ts +20 -11
- package/dist/workspace.js +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-AOGZBKUE.js → chunk-H26BEHF4.js} +0 -0
package/dist/workspace.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { O as OHLCV, V as VisibleRangePreset, a as VisibleRange, b as VelaOptions, c as VelaTheme, N as NativeBackend, d as MarketSession } from './options-
|
|
2
|
-
import { S as SyncSetting, V as VelaStorage, C as CellState, W as WidgetHistory, R as ResolvedIndicator, a as StatuslinePart, b as RangePreset, T as TrackSizes, c as VelaShellOptions, d as SyncOptions, e as SyncKind, f as WorkspaceState } from './statusline-
|
|
3
|
-
export { g as ChartState, P as PanelsState, h as decodeState, i as encodeState, s as sanitizeState } from './statusline-
|
|
1
|
+
import { O as OHLCV, V as VisibleRangePreset, a as VisibleRange, b as VelaOptions, I as InputValue, c as VelaTheme, N as NativeBackend, d as MarketSession } from './options-yp7sA96q.cjs';
|
|
2
|
+
import { S as SyncSetting, V as VelaStorage, C as CellState, W as WidgetHistory, R as ResolvedIndicator, a as StatuslinePart, b as RangePreset, T as TrackSizes, c as VelaShellOptions, d as SyncOptions, e as SyncKind, f as WorkspaceState } from './statusline-DTHZUFqK.cjs';
|
|
3
|
+
export { g as ChartState, P as PanelsState, h as decodeState, i as encodeState, s as sanitizeState } from './statusline-DTHZUFqK.cjs';
|
|
4
4
|
import { K as KeymapManager } from './keymap-CGOz5F5f.cjs';
|
|
5
|
-
import { I as IndicatorHandle, S as ScriptingEngine, W as WidgetContext, V as Vela, E as ExternalIndicatorEntry, a as ScriptRun } from './contributions-
|
|
6
|
-
import { M as MarketDataFeed } from './DataProvider-
|
|
5
|
+
import { I as IndicatorHandle, S as ScriptingEngine, W as WidgetContext, V as Vela, E as ExternalIndicatorEntry, a as ScriptRun } from './contributions-CO01zWve.cjs';
|
|
6
|
+
import { M as MarketDataFeed } from './DataProvider-p0TEyhlX.cjs';
|
|
7
7
|
|
|
8
8
|
/** The cells that follow `originId` under `setting` — PURE (never includes the origin). */
|
|
9
9
|
declare function syncTargets(originId: string, setting: SyncSetting | undefined, cellIds: readonly string[]): string[];
|
|
@@ -128,6 +128,17 @@ interface CellDeps {
|
|
|
128
128
|
/** The shell's toast surface (unresolved-symbol notices land there). */
|
|
129
129
|
toast(message: string, kind: 'info' | 'success' | 'error', durationMs?: number): void;
|
|
130
130
|
}
|
|
131
|
+
/** One live manifest/external instance and, when it deviates from declaration
|
|
132
|
+
* defaults, the values it was restored with or dropped holding. */
|
|
133
|
+
interface CellInstance {
|
|
134
|
+
entry: ResolvedIndicator;
|
|
135
|
+
handle: IndicatorHandle | null;
|
|
136
|
+
external?: boolean;
|
|
137
|
+
values?: {
|
|
138
|
+
inputs?: Record<string, InputValue>;
|
|
139
|
+
props?: Record<string, InputValue>;
|
|
140
|
+
};
|
|
141
|
+
}
|
|
131
142
|
declare class ChartCell {
|
|
132
143
|
readonly id: string;
|
|
133
144
|
private readonly deps;
|
|
@@ -140,11 +151,7 @@ declare class ChartCell {
|
|
|
140
151
|
* rather than the shell manifest — they share the undo/redo and picker plumbing
|
|
141
152
|
* but stay OUT of the persisted ledger (their names would never resolve against
|
|
142
153
|
* the manifest); persisting them is their plugin's job (`registerStatePersistence`). */
|
|
143
|
-
readonly instances:
|
|
144
|
-
entry: ResolvedIndicator;
|
|
145
|
-
handle: IndicatorHandle | null;
|
|
146
|
-
external?: boolean;
|
|
147
|
-
}>;
|
|
154
|
+
readonly instances: CellInstance[];
|
|
148
155
|
/** The native-indicator catalog with this cell's live supported/present flags. */
|
|
149
156
|
nativeCatalog: CellNativeInfo[];
|
|
150
157
|
/** Last crosshair position in this cell (the alt+H/alt+V shortcuts anchor here). */
|
|
@@ -164,7 +171,7 @@ declare class ChartCell {
|
|
|
164
171
|
/** Keeps the pre/post-market shading on the symbol's real calendar (see {@link SessionShadingTracker}). */
|
|
165
172
|
private readonly sessionShading;
|
|
166
173
|
private readonly watermark;
|
|
167
|
-
/** Bottom-center hover cluster: drag handle, zoom in/out, maximize/restore, reset view. */
|
|
174
|
+
/** Bottom-center hover cluster, pinned to the price plot: drag handle, zoom in/out, maximize/restore, reset view. */
|
|
168
175
|
private readonly cellControls;
|
|
169
176
|
private readonly contextMenu;
|
|
170
177
|
private readonly offMarket;
|
|
@@ -339,6 +346,8 @@ declare class ChartCell {
|
|
|
339
346
|
addManifestInstance(entry: ResolvedIndicator, opts?: {
|
|
340
347
|
record?: boolean;
|
|
341
348
|
external?: boolean;
|
|
349
|
+
inputs?: Record<string, InputValue>;
|
|
350
|
+
props?: Record<string, InputValue>;
|
|
342
351
|
}): void;
|
|
343
352
|
private removeInstance;
|
|
344
353
|
private dropInstance;
|
package/dist/workspace.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { O as OHLCV, V as VisibleRangePreset, a as VisibleRange, b as VelaOptions, c as VelaTheme, N as NativeBackend, d as MarketSession } from './options-
|
|
2
|
-
import { S as SyncSetting, V as VelaStorage, C as CellState, W as WidgetHistory, R as ResolvedIndicator, a as StatuslinePart, b as RangePreset, T as TrackSizes, c as VelaShellOptions, d as SyncOptions, e as SyncKind, f as WorkspaceState } from './statusline-
|
|
3
|
-
export { g as ChartState, P as PanelsState, h as decodeState, i as encodeState, s as sanitizeState } from './statusline-
|
|
1
|
+
import { O as OHLCV, V as VisibleRangePreset, a as VisibleRange, b as VelaOptions, I as InputValue, c as VelaTheme, N as NativeBackend, d as MarketSession } from './options-yp7sA96q.js';
|
|
2
|
+
import { S as SyncSetting, V as VelaStorage, C as CellState, W as WidgetHistory, R as ResolvedIndicator, a as StatuslinePart, b as RangePreset, T as TrackSizes, c as VelaShellOptions, d as SyncOptions, e as SyncKind, f as WorkspaceState } from './statusline-CHPDuKNp.js';
|
|
3
|
+
export { g as ChartState, P as PanelsState, h as decodeState, i as encodeState, s as sanitizeState } from './statusline-CHPDuKNp.js';
|
|
4
4
|
import { K as KeymapManager } from './keymap-CGOz5F5f.js';
|
|
5
|
-
import { I as IndicatorHandle, S as ScriptingEngine, W as WidgetContext, V as Vela, E as ExternalIndicatorEntry, a as ScriptRun } from './contributions-
|
|
6
|
-
import { M as MarketDataFeed } from './DataProvider-
|
|
5
|
+
import { I as IndicatorHandle, S as ScriptingEngine, W as WidgetContext, V as Vela, E as ExternalIndicatorEntry, a as ScriptRun } from './contributions-Bbe2R-mQ.js';
|
|
6
|
+
import { M as MarketDataFeed } from './DataProvider-BBf-jc6W.js';
|
|
7
7
|
|
|
8
8
|
/** The cells that follow `originId` under `setting` — PURE (never includes the origin). */
|
|
9
9
|
declare function syncTargets(originId: string, setting: SyncSetting | undefined, cellIds: readonly string[]): string[];
|
|
@@ -128,6 +128,17 @@ interface CellDeps {
|
|
|
128
128
|
/** The shell's toast surface (unresolved-symbol notices land there). */
|
|
129
129
|
toast(message: string, kind: 'info' | 'success' | 'error', durationMs?: number): void;
|
|
130
130
|
}
|
|
131
|
+
/** One live manifest/external instance and, when it deviates from declaration
|
|
132
|
+
* defaults, the values it was restored with or dropped holding. */
|
|
133
|
+
interface CellInstance {
|
|
134
|
+
entry: ResolvedIndicator;
|
|
135
|
+
handle: IndicatorHandle | null;
|
|
136
|
+
external?: boolean;
|
|
137
|
+
values?: {
|
|
138
|
+
inputs?: Record<string, InputValue>;
|
|
139
|
+
props?: Record<string, InputValue>;
|
|
140
|
+
};
|
|
141
|
+
}
|
|
131
142
|
declare class ChartCell {
|
|
132
143
|
readonly id: string;
|
|
133
144
|
private readonly deps;
|
|
@@ -140,11 +151,7 @@ declare class ChartCell {
|
|
|
140
151
|
* rather than the shell manifest — they share the undo/redo and picker plumbing
|
|
141
152
|
* but stay OUT of the persisted ledger (their names would never resolve against
|
|
142
153
|
* the manifest); persisting them is their plugin's job (`registerStatePersistence`). */
|
|
143
|
-
readonly instances:
|
|
144
|
-
entry: ResolvedIndicator;
|
|
145
|
-
handle: IndicatorHandle | null;
|
|
146
|
-
external?: boolean;
|
|
147
|
-
}>;
|
|
154
|
+
readonly instances: CellInstance[];
|
|
148
155
|
/** The native-indicator catalog with this cell's live supported/present flags. */
|
|
149
156
|
nativeCatalog: CellNativeInfo[];
|
|
150
157
|
/** Last crosshair position in this cell (the alt+H/alt+V shortcuts anchor here). */
|
|
@@ -164,7 +171,7 @@ declare class ChartCell {
|
|
|
164
171
|
/** Keeps the pre/post-market shading on the symbol's real calendar (see {@link SessionShadingTracker}). */
|
|
165
172
|
private readonly sessionShading;
|
|
166
173
|
private readonly watermark;
|
|
167
|
-
/** Bottom-center hover cluster: drag handle, zoom in/out, maximize/restore, reset view. */
|
|
174
|
+
/** Bottom-center hover cluster, pinned to the price plot: drag handle, zoom in/out, maximize/restore, reset view. */
|
|
168
175
|
private readonly cellControls;
|
|
169
176
|
private readonly contextMenu;
|
|
170
177
|
private readonly offMarket;
|
|
@@ -339,6 +346,8 @@ declare class ChartCell {
|
|
|
339
346
|
addManifestInstance(entry: ResolvedIndicator, opts?: {
|
|
340
347
|
record?: boolean;
|
|
341
348
|
external?: boolean;
|
|
349
|
+
inputs?: Record<string, InputValue>;
|
|
350
|
+
props?: Record<string, InputValue>;
|
|
342
351
|
}): void;
|
|
343
352
|
private removeInstance;
|
|
344
353
|
private dropInstance;
|
package/dist/workspace.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { ChartCell, GRID_PICKER_MAX, VelaWorkspace, activeAfterLayout, decodeState, encodeState, ensureLayout, evenTracks, gridStyles, layoutDefinition, layoutForGrid, layoutShape, layouts, memoryStorageAdapter, rangesWithin, registerBuiltinLayouts, registerLayout, resizeTracks, sanitizeState, syncTargets, trackOffsets, unregisterLayout } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { ChartCell, GRID_PICKER_MAX, VelaWorkspace, activeAfterLayout, decodeState, encodeState, ensureLayout, evenTracks, gridStyles, layoutDefinition, layoutForGrid, layoutShape, layouts, memoryStorageAdapter, rangesWithin, registerBuiltinLayouts, registerLayout, resizeTracks, sanitizeState, syncTargets, trackOffsets, unregisterLayout } from './chunk-IO3NYSQV.js';
|
|
2
|
+
import './chunk-73PEA4MU.js';
|
|
3
|
+
import './chunk-MTLJKZDZ.js';
|
|
4
4
|
import './chunk-G77Y7LK2.js';
|
|
5
5
|
import './chunk-MHY7MVXH.js';
|
|
6
6
|
import './chunk-KG4YT3TI.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luxalgo/vela",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.11",
|
|
4
4
|
"description": "Open-source charting library with a native high-performance renderer, drawing tools, pluggable chart types and pluggable scripting engines.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://luxalgo.com/vela",
|
|
File without changes
|