@luxalgo/vela 0.6.6 → 0.6.7
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-JJq7M2it.d.ts → DataProvider-BSLlBpB9.d.ts} +10 -0
- package/dist/{DataProvider-DDUYw2qP.d.cts → DataProvider-BsQM2WNH.d.cts} +10 -0
- package/dist/{bottombar-COnL2Sk4.d.ts → bottombar-Br4rzx_R.d.ts} +52 -6
- package/dist/{bottombar-DeDXbF_K.d.cts → bottombar-Div5zibZ.d.cts} +52 -6
- package/dist/{chunk-JQFO2WMU.js → chunk-6WFKTAT4.js} +37 -1
- package/dist/{chunk-OEUGUXL7.js → chunk-L3I2CCYO.js} +49 -1
- package/dist/chunk-W4EJWLEO.js +12 -0
- package/dist/{chunk-TMXK2SJR.js → chunk-WVP4XV5A.js} +221 -65
- package/dist/{contributions-DNMqrAuw.d.cts → contributions-Hv4_cOJo.d.cts} +46 -3
- package/dist/{contributions-BqCIsbaP.d.ts → contributions-Z12BrWCy.d.ts} +46 -3
- package/dist/index.cjs +64 -0
- package/dist/index.d.cts +8 -4
- package/dist/index.d.ts +8 -4
- package/dist/index.js +2 -2
- package/dist/{plugin-WnvNNJOp.d.ts → plugin-9koBjc5H.d.ts} +2 -2
- package/dist/{plugin-CN8U2__Q.d.cts → plugin-BXhDHTYn.d.cts} +2 -2
- package/dist/plugin.cjs +28 -0
- package/dist/plugin.d.cts +3 -3
- package/dist/plugin.d.ts +3 -3
- package/dist/plugin.js +1 -1
- package/dist/providers/binance.cjs +16 -0
- package/dist/providers/binance.d.cts +4 -1
- package/dist/providers/binance.d.ts +4 -1
- package/dist/providers/binance.js +7 -0
- package/dist/providers/coinbase.cjs +16 -0
- package/dist/providers/coinbase.d.cts +4 -1
- package/dist/providers/coinbase.d.ts +4 -1
- package/dist/providers/coinbase.js +7 -0
- package/dist/providers/hyperliquid.cjs +16 -0
- package/dist/providers/hyperliquid.d.cts +4 -1
- package/dist/providers/hyperliquid.d.ts +4 -1
- package/dist/providers/hyperliquid.js +7 -0
- package/dist/vela.global.js +90 -0
- package/dist/vela.global.min.js +42 -42
- package/dist/widget.cjs +319 -63
- package/dist/widget.d.cts +52 -10
- package/dist/widget.d.ts +52 -10
- package/dist/widget.js +5 -4
- package/dist/workspace.cjs +265 -65
- package/dist/workspace.d.cts +13 -4
- package/dist/workspace.d.ts +13 -4
- package/dist/workspace.js +4 -3
- package/package.json +1 -1
package/dist/workspace.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
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-BaVTMXaO.cjs';
|
|
2
|
-
import { S as SyncSetting, V as VelaStorage, C as CellState, W as WidgetHistory, R as ResolvedIndicator, a as RangePreset, T as TrackSizes, b as VelaShellOptions, c as SyncOptions, d as SyncKind, e as WorkspaceState } from './bottombar-
|
|
3
|
-
export { f as ChartState, P as PanelsState, g as decodeState, h as encodeState, s as sanitizeState } from './bottombar-
|
|
2
|
+
import { S as SyncSetting, V as VelaStorage, C as CellState, W as WidgetHistory, R as ResolvedIndicator, a as RangePreset, T as TrackSizes, b as VelaShellOptions, c as SyncOptions, d as SyncKind, e as WorkspaceState } from './bottombar-Div5zibZ.cjs';
|
|
3
|
+
export { f as ChartState, P as PanelsState, g as decodeState, h as encodeState, s as sanitizeState } from './bottombar-Div5zibZ.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-Hv4_cOJo.cjs';
|
|
6
|
+
import { M as MarketDataFeed } from './DataProvider-BsQM2WNH.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[];
|
|
@@ -591,6 +591,13 @@ declare class VelaWorkspace {
|
|
|
591
591
|
/** Plot-local y of the last price-axis long-press (targets the pane under the finger). */
|
|
592
592
|
private priceScalePressY;
|
|
593
593
|
private readonly attachmentDisposers;
|
|
594
|
+
/** The resolved topbar composition — one visibility truth for topbar, mobile, keys. */
|
|
595
|
+
private topbarComp;
|
|
596
|
+
/** Built-in slots taken over by a contributed action (resolved at construction —
|
|
597
|
+
* the register-at-import-time contribution rule). The override owns the slot's
|
|
598
|
+
* WHOLE surface: desktop button, mobile counterpart, keyboard chord. */
|
|
599
|
+
private indicatorsOverride?;
|
|
600
|
+
private screenshotOverride?;
|
|
594
601
|
/** The document-level third-party state bag (`state.ext`) — seeded from the restored
|
|
595
602
|
* document, refreshed by global-scope handler `serialize` calls at snapshot time.
|
|
596
603
|
* Entries with no registered handler this session ride along verbatim. */
|
|
@@ -781,6 +788,8 @@ declare class VelaWorkspace {
|
|
|
781
788
|
private openAlertsMenu;
|
|
782
789
|
/** Mount registered attachments not yet mounted on this workspace (idempotent per id). */
|
|
783
790
|
private mountAttachments;
|
|
791
|
+
/** Invoke a slot override the way its button would: fresh context, `when` respected. */
|
|
792
|
+
private runOverride;
|
|
784
793
|
/** The default shortcut set — every binding acts on the ACTIVE cell. */
|
|
785
794
|
private registerDefaultKeys;
|
|
786
795
|
/** Bare-typing router: letters → symbol search (seeded), digits → timeframe entry. */
|
package/dist/workspace.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
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-BaVTMXaO.js';
|
|
2
|
-
import { S as SyncSetting, V as VelaStorage, C as CellState, W as WidgetHistory, R as ResolvedIndicator, a as RangePreset, T as TrackSizes, b as VelaShellOptions, c as SyncOptions, d as SyncKind, e as WorkspaceState } from './bottombar-
|
|
3
|
-
export { f as ChartState, P as PanelsState, g as decodeState, h as encodeState, s as sanitizeState } from './bottombar-
|
|
2
|
+
import { S as SyncSetting, V as VelaStorage, C as CellState, W as WidgetHistory, R as ResolvedIndicator, a as RangePreset, T as TrackSizes, b as VelaShellOptions, c as SyncOptions, d as SyncKind, e as WorkspaceState } from './bottombar-Br4rzx_R.js';
|
|
3
|
+
export { f as ChartState, P as PanelsState, g as decodeState, h as encodeState, s as sanitizeState } from './bottombar-Br4rzx_R.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-Z12BrWCy.js';
|
|
6
|
+
import { M as MarketDataFeed } from './DataProvider-BSLlBpB9.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[];
|
|
@@ -591,6 +591,13 @@ declare class VelaWorkspace {
|
|
|
591
591
|
/** Plot-local y of the last price-axis long-press (targets the pane under the finger). */
|
|
592
592
|
private priceScalePressY;
|
|
593
593
|
private readonly attachmentDisposers;
|
|
594
|
+
/** The resolved topbar composition — one visibility truth for topbar, mobile, keys. */
|
|
595
|
+
private topbarComp;
|
|
596
|
+
/** Built-in slots taken over by a contributed action (resolved at construction —
|
|
597
|
+
* the register-at-import-time contribution rule). The override owns the slot's
|
|
598
|
+
* WHOLE surface: desktop button, mobile counterpart, keyboard chord. */
|
|
599
|
+
private indicatorsOverride?;
|
|
600
|
+
private screenshotOverride?;
|
|
594
601
|
/** The document-level third-party state bag (`state.ext`) — seeded from the restored
|
|
595
602
|
* document, refreshed by global-scope handler `serialize` calls at snapshot time.
|
|
596
603
|
* Entries with no registered handler this session ride along verbatim. */
|
|
@@ -781,6 +788,8 @@ declare class VelaWorkspace {
|
|
|
781
788
|
private openAlertsMenu;
|
|
782
789
|
/** Mount registered attachments not yet mounted on this workspace (idempotent per id). */
|
|
783
790
|
private mountAttachments;
|
|
791
|
+
/** Invoke a slot override the way its button would: fresh context, `when` respected. */
|
|
792
|
+
private runOverride;
|
|
784
793
|
/** The default shortcut set — every binding acts on the ACTIVE cell. */
|
|
785
794
|
private registerDefaultKeys;
|
|
786
795
|
/** Bare-typing router: letters → symbol search (seeded), digits → timeframe entry. */
|
package/dist/workspace.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
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-WVP4XV5A.js';
|
|
2
|
+
import './chunk-6WFKTAT4.js';
|
|
3
|
+
import './chunk-L3I2CCYO.js';
|
|
4
4
|
import './chunk-2R7BANEM.js';
|
|
5
5
|
import './chunk-OICPLNU7.js';
|
|
6
6
|
import './chunk-PN5KWFZ4.js';
|
|
7
|
+
import './chunk-W4EJWLEO.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luxalgo/vela",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.7",
|
|
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",
|