@luxalgo/vela 0.8.3 → 0.8.4
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-wbtJ3-Sa.d.cts → DataProvider-Bw58CjYy.d.cts} +1 -1
- package/dist/{DataProvider-oH78tYXL.d.ts → DataProvider-Byo8pEv0.d.ts} +1 -1
- package/dist/{chunk-KWI3YDBW.js → chunk-ALTGHKIM.js} +584 -25
- package/dist/{chunk-TO3GIK7Z.js → chunk-AUOB7A5Y.js} +2 -2
- package/dist/{chunk-VHGACEHO.js → chunk-I2U4NZD2.js} +7 -1
- package/dist/{chunk-2IPXYM4B.js → chunk-MOJ4T26N.js} +88 -5
- package/dist/{chunk-HMHA733L.js → chunk-UNUVPQFW.js} +1924 -734
- package/dist/{chunk-G7B7ZCBF.js → chunk-WY5H4S4I.js} +1 -1
- package/dist/{contributions-BhOBRenr.d.cts → contributions-BY3zSYiZ.d.ts} +56 -5
- package/dist/{contributions-HGqnNb_P.d.ts → contributions-DOm40g5-.d.cts} +56 -5
- package/dist/index.cjs +2583 -828
- package/dist/index.d.cts +9 -15
- package/dist/index.d.ts +9 -15
- package/dist/index.js +4 -4
- package/dist/{options-lMUwmRwh.d.cts → options-CSXbjMM5.d.cts} +64 -4
- package/dist/{options-lMUwmRwh.d.ts → options-CSXbjMM5.d.ts} +64 -4
- package/dist/{plugin-Cr2Pj8q8.d.ts → plugin-BDxUhGO3.d.ts} +3 -3
- package/dist/{plugin-Do5J5xuF.d.cts → plugin-CiQVyETg.d.cts} +3 -3
- package/dist/plugin.cjs +555 -17
- 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-model-B-2xGlB_.d.cts → statusline-model-C9tYXuux.d.ts} +19 -4
- package/dist/{statusline-model-CY1wzxHg.d.ts → statusline-model-DUBX6Fib.d.cts} +19 -4
- package/dist/ui.d.cts +1 -1
- package/dist/ui.d.ts +1 -1
- package/dist/ui.js +3 -3
- package/dist/vela.global.js +2590 -835
- package/dist/vela.global.min.js +124 -54
- package/dist/widget.cjs +2807 -969
- package/dist/widget.d.cts +6 -6
- package/dist/widget.d.ts +6 -6
- package/dist/widget.js +7 -7
- package/dist/workspace.cjs +2807 -969
- package/dist/workspace.d.cts +19 -5
- package/dist/workspace.d.ts +19 -5
- package/dist/workspace.js +6 -6
- package/package.json +1 -1
package/dist/workspace.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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-
|
|
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-model-
|
|
3
|
-
export { g as ChartState, P as PanelsState, h as decodeState, i as encodeState, s as sanitizeState } from './statusline-model-
|
|
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-CSXbjMM5.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-model-DUBX6Fib.cjs';
|
|
3
|
+
export { g as ChartState, D as DrawingToolsState, P as PanelsState, h as decodeState, i as encodeState, s as sanitizeState } from './statusline-model-DUBX6Fib.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, R as ReplayState, a as ReplayBounds, b as VelaEventMap, c 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, R as ReplayState, a as ReplayBounds, b as VelaEventMap, c as ScriptRun } from './contributions-DOm40g5-.cjs';
|
|
6
|
+
import { M as MarketDataFeed } from './DataProvider-Bw58CjYy.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[];
|
|
@@ -808,6 +808,12 @@ declare class VelaWorkspace {
|
|
|
808
808
|
private historyUnsub;
|
|
809
809
|
/** Favorite drawing tools — a WORKSPACE preference (one star set, every cell). */
|
|
810
810
|
private favs;
|
|
811
|
+
/** Every drawing tool's remembered settings — a SHARED pref, mirrored onto every cell. */
|
|
812
|
+
private toolDefs;
|
|
813
|
+
/** Every drawing tool's saved looks — a SHARED pref like the remembered settings. */
|
|
814
|
+
private toolTemplates;
|
|
815
|
+
/** Re-entrancy guard while one cell's remembered settings fan out to the others. */
|
|
816
|
+
private toolDefsBusy;
|
|
811
817
|
/** Favorite timeframes — the shared topbar's quick-switch chips, one set for the grid. */
|
|
812
818
|
private tfFavs;
|
|
813
819
|
/** Live sync configuration (mutable copy of the option). */
|
|
@@ -1009,6 +1015,14 @@ declare class VelaWorkspace {
|
|
|
1009
1015
|
/** Put keyboard focus back on the active cell's chart surface (after a toolbar press
|
|
1010
1016
|
* stole it) so chart/drawing shortcuts keep working. */
|
|
1011
1017
|
private refocusActive;
|
|
1018
|
+
/** Take a document's drawing-tool prefs as the shared mirrors (cells pick them up as they
|
|
1019
|
+
* are built, or from {@link pushToolDefaults} / the active-cell projection). */
|
|
1020
|
+
private adoptDrawingTools;
|
|
1021
|
+
/** Mirror the shared remembered settings onto every cell but `from` (the cell they came from).
|
|
1022
|
+
* Receiving them is not an edit: the cells' `drawing:defaults` echoes are ignored. */
|
|
1023
|
+
private pushToolDefaults;
|
|
1024
|
+
/** The drawing-tool prefs worth saving; null when every one is at its default. */
|
|
1025
|
+
private drawingToolsState;
|
|
1012
1026
|
/** Debounced dirty mark: one `state:changed` (+ one storage write in persist mode)
|
|
1013
1027
|
* per burst of edits, flushed hard on unload/destroy. */
|
|
1014
1028
|
private markStateDirty;
|
package/dist/workspace.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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-
|
|
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-model-
|
|
3
|
-
export { g as ChartState, P as PanelsState, h as decodeState, i as encodeState, s as sanitizeState } from './statusline-model-
|
|
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-CSXbjMM5.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-model-C9tYXuux.js';
|
|
3
|
+
export { g as ChartState, D as DrawingToolsState, P as PanelsState, h as decodeState, i as encodeState, s as sanitizeState } from './statusline-model-C9tYXuux.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, R as ReplayState, a as ReplayBounds, b as VelaEventMap, c 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, R as ReplayState, a as ReplayBounds, b as VelaEventMap, c as ScriptRun } from './contributions-BY3zSYiZ.js';
|
|
6
|
+
import { M as MarketDataFeed } from './DataProvider-Byo8pEv0.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[];
|
|
@@ -808,6 +808,12 @@ declare class VelaWorkspace {
|
|
|
808
808
|
private historyUnsub;
|
|
809
809
|
/** Favorite drawing tools — a WORKSPACE preference (one star set, every cell). */
|
|
810
810
|
private favs;
|
|
811
|
+
/** Every drawing tool's remembered settings — a SHARED pref, mirrored onto every cell. */
|
|
812
|
+
private toolDefs;
|
|
813
|
+
/** Every drawing tool's saved looks — a SHARED pref like the remembered settings. */
|
|
814
|
+
private toolTemplates;
|
|
815
|
+
/** Re-entrancy guard while one cell's remembered settings fan out to the others. */
|
|
816
|
+
private toolDefsBusy;
|
|
811
817
|
/** Favorite timeframes — the shared topbar's quick-switch chips, one set for the grid. */
|
|
812
818
|
private tfFavs;
|
|
813
819
|
/** Live sync configuration (mutable copy of the option). */
|
|
@@ -1009,6 +1015,14 @@ declare class VelaWorkspace {
|
|
|
1009
1015
|
/** Put keyboard focus back on the active cell's chart surface (after a toolbar press
|
|
1010
1016
|
* stole it) so chart/drawing shortcuts keep working. */
|
|
1011
1017
|
private refocusActive;
|
|
1018
|
+
/** Take a document's drawing-tool prefs as the shared mirrors (cells pick them up as they
|
|
1019
|
+
* are built, or from {@link pushToolDefaults} / the active-cell projection). */
|
|
1020
|
+
private adoptDrawingTools;
|
|
1021
|
+
/** Mirror the shared remembered settings onto every cell but `from` (the cell they came from).
|
|
1022
|
+
* Receiving them is not an edit: the cells' `drawing:defaults` echoes are ignored. */
|
|
1023
|
+
private pushToolDefaults;
|
|
1024
|
+
/** The drawing-tool prefs worth saving; null when every one is at its default. */
|
|
1025
|
+
private drawingToolsState;
|
|
1012
1026
|
/** Debounced dirty mark: one `state:changed` (+ one storage write in persist mode)
|
|
1013
1027
|
* per burst of edits, flushed hard on unload/destroy. */
|
|
1014
1028
|
private markStateDirty;
|
package/dist/workspace.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { ChartCell, GRID_PICKER_MAX, VelaWorkspace, WorkspaceReplay, activeAfterLayout, barClose, decodeState, encodeState, ensureLayout, evenTracks, gridStyles, lastOpenClosedBy, layoutDefinition, layoutForGrid, layoutShape, layouts, memoryStorageAdapter, rangesWithin, registerBuiltinLayouts, registerLayout, resizeTracks, sanitizeState, syncTargets, trackOffsets, unregisterLayout } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
1
|
+
export { ChartCell, GRID_PICKER_MAX, VelaWorkspace, WorkspaceReplay, activeAfterLayout, barClose, decodeState, encodeState, ensureLayout, evenTracks, gridStyles, lastOpenClosedBy, layoutDefinition, layoutForGrid, layoutShape, layouts, memoryStorageAdapter, rangesWithin, registerBuiltinLayouts, registerLayout, resizeTracks, sanitizeState, syncTargets, trackOffsets, unregisterLayout } from './chunk-MOJ4T26N.js';
|
|
2
|
+
import './chunk-UNUVPQFW.js';
|
|
3
|
+
import './chunk-ALTGHKIM.js';
|
|
4
|
+
import './chunk-AUOB7A5Y.js';
|
|
5
|
+
import './chunk-WY5H4S4I.js';
|
|
6
|
+
import './chunk-I2U4NZD2.js';
|
|
7
7
|
import './chunk-W4EJWLEO.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luxalgo/vela",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.4",
|
|
4
4
|
"description": "The open-source core of Vela by LuxAlgo: a charting library with a native high-performance renderer, drawing tools, pluggable chart types and pluggable scripting engines.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"charting library",
|