@luxalgo/vela 0.6.9 → 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-8Z95Q-RJ.d.cts → DataProvider-BBf-jc6W.d.ts} +49 -1
- package/dist/{DataProvider-DExJrfut.d.ts → DataProvider-p0TEyhlX.d.cts} +49 -1
- package/dist/{chunk-6WDDVMBJ.js → chunk-73PEA4MU.js} +707 -353
- package/dist/{chunk-62SVGONC.js → chunk-G77Y7LK2.js} +2 -2
- package/dist/{chunk-STHSKXOR.js → chunk-IO3NYSQV.js} +650 -157
- package/dist/{chunk-WFSZBX3R.js → chunk-KG4YT3TI.js} +3 -1
- package/dist/{chunk-FCVIG7JG.js → chunk-MHY7MVXH.js} +5 -1
- package/dist/{chunk-EQCHJZOT.js → chunk-MTLJKZDZ.js} +10 -2
- package/dist/{contributions-D7PVZO2i.d.ts → contributions-Bbe2R-mQ.d.ts} +20 -6
- package/dist/{contributions-C1U2Krwg.d.cts → contributions-CO01zWve.d.cts} +20 -6
- package/dist/index.cjs +719 -350
- package/dist/index.d.cts +37 -10
- package/dist/index.d.ts +37 -10
- package/dist/index.js +5 -5
- package/dist/{options-FM0peknS.d.ts → options-yp7sA96q.d.cts} +14 -7
- package/dist/{options-FM0peknS.d.cts → options-yp7sA96q.d.ts} +14 -7
- package/dist/{plugin-DfVqBz9p.d.cts → plugin-CkkH8QnX.d.cts} +3 -3
- package/dist/{plugin-7bkF32Rk.d.ts → plugin-DwxjM3Ni.d.ts} +3 -3
- package/dist/plugin.cjs +12 -1
- package/dist/plugin.d.cts +4 -4
- package/dist/plugin.d.ts +4 -4
- package/dist/plugin.js +3 -3
- 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-DOPiT6I6.d.cts → statusline-CHPDuKNp.d.ts} +13 -5
- package/dist/{statusline-zdF4eZLr.d.ts → statusline-DTHZUFqK.d.cts} +13 -5
- package/dist/ui.cjs +7 -1
- package/dist/ui.d.cts +3 -1
- package/dist/ui.d.ts +3 -1
- package/dist/ui.js +3 -3
- package/dist/vela.global.js +719 -350
- package/dist/vela.global.min.js +51 -49
- package/dist/widget.cjs +1249 -388
- package/dist/widget.d.cts +17 -6
- package/dist/widget.d.ts +17 -6
- package/dist/widget.js +7 -7
- package/dist/workspace.cjs +1249 -388
- package/dist/workspace.d.cts +103 -10
- package/dist/workspace.d.ts +103 -10
- package/dist/workspace.js +6 -6
- package/package.json +1 -1
- /package/dist/{chunk-AOGZBKUE.js → chunk-H26BEHF4.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as DataProvider } from './DataProvider-
|
|
2
|
-
import { S as ScriptingEngine, V as Vela } from './contributions-
|
|
3
|
-
import { V as VisibleRangePreset } from './options-
|
|
1
|
+
import { D as DataProvider } from './DataProvider-BBf-jc6W.js';
|
|
2
|
+
import { S as ScriptingEngine, V as Vela } from './contributions-Bbe2R-mQ.js';
|
|
3
|
+
import { V as VisibleRangePreset } from './options-yp7sA96q.js';
|
|
4
4
|
|
|
5
5
|
/** The linkable dimensions. `crosshair` mirrors the pointer time onto same-group
|
|
6
6
|
* cells as GHOST crosshairs (renderers without the optional `setExternalCrosshair`
|
|
@@ -64,9 +64,11 @@ interface CellState {
|
|
|
64
64
|
rendererConfig?: unknown;
|
|
65
65
|
/** The user-drawings document (`drawings.toJSON()`). */
|
|
66
66
|
drawings?: unknown;
|
|
67
|
-
/** The indicator ledger: manifest entries
|
|
67
|
+
/** The indicator ledger: manifest entries + present native types. A manifest entry
|
|
68
|
+
* is the bare NAME when every value sits on its declaration default, else the
|
|
69
|
+
* name plus the input/prop DELTAS (defaults are never frozen into documents). */
|
|
68
70
|
indicators?: {
|
|
69
|
-
manifest:
|
|
71
|
+
manifest: PersistedManifestEntry[];
|
|
70
72
|
natives: string[];
|
|
71
73
|
};
|
|
72
74
|
/** Third-party per-chart state, by namespaced key (`'vendor.feature'`) — written and
|
|
@@ -76,6 +78,12 @@ interface CellState {
|
|
|
76
78
|
* validates its own payload at restore. JSON-serializable values only. */
|
|
77
79
|
ext?: Record<string, unknown>;
|
|
78
80
|
}
|
|
81
|
+
/** One persisted manifest-instance entry (see `CellState.indicators`). */
|
|
82
|
+
type PersistedManifestEntry = string | {
|
|
83
|
+
name: string;
|
|
84
|
+
inputs?: Record<string, unknown>;
|
|
85
|
+
props?: Record<string, unknown>;
|
|
86
|
+
};
|
|
79
87
|
/** One entry of the document's `charts` array: a chart's state plus its cell IDENTITY. */
|
|
80
88
|
interface ChartState extends CellState {
|
|
81
89
|
/** The cell's durable identity — its declared name (`btc`), or `c<N>` for a slot no
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as DataProvider } from './DataProvider-
|
|
2
|
-
import { S as ScriptingEngine, V as Vela } from './contributions-
|
|
3
|
-
import { V as VisibleRangePreset } from './options-
|
|
1
|
+
import { D as DataProvider } from './DataProvider-p0TEyhlX.cjs';
|
|
2
|
+
import { S as ScriptingEngine, V as Vela } from './contributions-CO01zWve.cjs';
|
|
3
|
+
import { V as VisibleRangePreset } from './options-yp7sA96q.cjs';
|
|
4
4
|
|
|
5
5
|
/** The linkable dimensions. `crosshair` mirrors the pointer time onto same-group
|
|
6
6
|
* cells as GHOST crosshairs (renderers without the optional `setExternalCrosshair`
|
|
@@ -64,9 +64,11 @@ interface CellState {
|
|
|
64
64
|
rendererConfig?: unknown;
|
|
65
65
|
/** The user-drawings document (`drawings.toJSON()`). */
|
|
66
66
|
drawings?: unknown;
|
|
67
|
-
/** The indicator ledger: manifest entries
|
|
67
|
+
/** The indicator ledger: manifest entries + present native types. A manifest entry
|
|
68
|
+
* is the bare NAME when every value sits on its declaration default, else the
|
|
69
|
+
* name plus the input/prop DELTAS (defaults are never frozen into documents). */
|
|
68
70
|
indicators?: {
|
|
69
|
-
manifest:
|
|
71
|
+
manifest: PersistedManifestEntry[];
|
|
70
72
|
natives: string[];
|
|
71
73
|
};
|
|
72
74
|
/** Third-party per-chart state, by namespaced key (`'vendor.feature'`) — written and
|
|
@@ -76,6 +78,12 @@ interface CellState {
|
|
|
76
78
|
* validates its own payload at restore. JSON-serializable values only. */
|
|
77
79
|
ext?: Record<string, unknown>;
|
|
78
80
|
}
|
|
81
|
+
/** One persisted manifest-instance entry (see `CellState.indicators`). */
|
|
82
|
+
type PersistedManifestEntry = string | {
|
|
83
|
+
name: string;
|
|
84
|
+
inputs?: Record<string, unknown>;
|
|
85
|
+
props?: Record<string, unknown>;
|
|
86
|
+
};
|
|
79
87
|
/** One entry of the document's `charts` array: a chart's state plus its cell IDENTITY. */
|
|
80
88
|
interface ChartState extends CellState {
|
|
81
89
|
/** The cell's durable identity — its declared name (`btc`), or `c<N>` for a slot no
|
package/dist/ui.cjs
CHANGED
|
@@ -316,6 +316,8 @@ registerIcon("folder-plus", S('<path d="M1.6 4.4a1 1 0 0 1 1-1h2.7l1.3 1.7h6.8a1
|
|
|
316
316
|
registerIcon("folder-minus", S('<path d="M1.6 4.4a1 1 0 0 1 1-1h2.7l1.3 1.7h6.8a1 1 0 0 1 1 1v6.5a1 1 0 0 1-1 1h-10.8a1 1 0 0 1-1-1z"/><path d="M6.2 9.4h3.6"/>'));
|
|
317
317
|
registerIcon("collapse", S('<path d="M3 8h10"/>'));
|
|
318
318
|
registerIcon("expand", S('<rect x="2.2" y="2.2" width="11.6" height="11.6" rx="1.4"/><path d="M8 5.4v5.2M5.4 8h5.2"/>'));
|
|
319
|
+
registerIcon("plus", S('<path d="M8 2.8v10.4M2.8 8h10.4"/>'));
|
|
320
|
+
registerIcon("minus", S('<path d="M2.8 8h10.4"/>'));
|
|
319
321
|
registerIcon("maximize", S('<path d="M2.5 6V3a.5.5 0 0 1 .5-.5h3M10 2.5h3a.5.5 0 0 1 .5.5v3M13.5 10v3a.5.5 0 0 1-.5.5h-3M6 13.5H3a.5.5 0 0 1-.5-.5v-3"/>'));
|
|
320
322
|
registerIcon("restore", S('<path d="M6.2 2.5v3.7H2.5M9.8 13.5V9.8h3.7M13.5 6.2H9.8V2.5M2.5 9.8h3.7v3.7"/>'));
|
|
321
323
|
registerIcon("star", S('<path d="M8 2.2l1.75 3.55 3.9.55-2.8 2.75.65 3.9L8 11.1l-3.5 1.85.65-3.9-2.8-2.75 3.9-.55z"/>'));
|
|
@@ -323,7 +325,7 @@ registerIcon("star-filled", S('<path d="M8 2.2l1.75 3.55 3.9.55-2.8 2.75.65 3.9L
|
|
|
323
325
|
registerIcon("grip", S('<circle cx="6" cy="3.5" r="1"/><circle cx="10" cy="3.5" r="1"/><circle cx="6" cy="8" r="1"/><circle cx="10" cy="8" r="1"/><circle cx="6" cy="12.5" r="1"/><circle cx="10" cy="12.5" r="1"/>', 'fill="currentColor" stroke="none"'));
|
|
324
326
|
registerIcon("kebab", S('<circle cx="8" cy="3.2" r="1.2"/><circle cx="8" cy="8" r="1.2"/><circle cx="8" cy="12.8" r="1.2"/>', 'fill="currentColor" stroke="none"'));
|
|
325
327
|
registerIcon("burger", S('<path d="M2.5 4.5h11M2.5 8h11M2.5 11.5h11"/>'));
|
|
326
|
-
registerIcon("reset", S('<
|
|
328
|
+
registerIcon("reset", S('<path d="M2 8a6 6 0 1 0 6-6 6.5 6.5 0 0 0-4.5 1.83L2 5.33"/><path d="M2 2v3.33h3.33"/>'));
|
|
327
329
|
registerIcon("pane-collapse", S('<path d="M2.6 9.4h4v4M13.4 6.6h-4v-4"/><path d="m9.4 6.6 4.2-4.2M2.4 13.6l4.2-4.2"/>'));
|
|
328
330
|
registerIcon("pane-expand", S('<path d="M9.8 2.4h3.8v3.8M6.2 13.6H2.4V9.8"/><path d="m13.6 2.4-4.4 4.4M2.4 13.6l4.4-4.4"/>'));
|
|
329
331
|
registerIcon("cursor", svg24('<path d="M5 3l6 16 2-6 6-2z"/>', 'fill="currentColor" stroke="none"'));
|
|
@@ -3514,6 +3516,10 @@ var CalloutBubble = class {
|
|
|
3514
3516
|
get open() {
|
|
3515
3517
|
return this.pop?.open ?? false;
|
|
3516
3518
|
}
|
|
3519
|
+
/** Close the deployed panel, if any. The bubble itself stays. */
|
|
3520
|
+
hidePanel() {
|
|
3521
|
+
this.pop?.hide();
|
|
3522
|
+
}
|
|
3517
3523
|
destroy() {
|
|
3518
3524
|
this.pop?.destroy();
|
|
3519
3525
|
this.pop = null;
|
package/dist/ui.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as VelaTheme } from './options-
|
|
1
|
+
import { c as VelaTheme } from './options-yp7sA96q.cjs';
|
|
2
2
|
import { MachineSchema, Service, Machine } from '@zag-js/core';
|
|
3
3
|
export { a as KeyBindingDescriptor, K as KeymapManager, b as KeymapOptions, R as ResolvedBinding } from './keymap-CGOz5F5f.cjs';
|
|
4
4
|
import * as tooltip from '@zag-js/tooltip';
|
|
@@ -961,6 +961,8 @@ declare class CalloutBubble {
|
|
|
961
961
|
set(spec: Partial<CalloutBubbleSpec>): void;
|
|
962
962
|
/** Whether the deployed panel is currently open. */
|
|
963
963
|
get open(): boolean;
|
|
964
|
+
/** Close the deployed panel, if any. The bubble itself stays. */
|
|
965
|
+
hidePanel(): void;
|
|
964
966
|
destroy(): void;
|
|
965
967
|
private dress;
|
|
966
968
|
private toggle;
|
package/dist/ui.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as VelaTheme } from './options-
|
|
1
|
+
import { c as VelaTheme } from './options-yp7sA96q.js';
|
|
2
2
|
import { MachineSchema, Service, Machine } from '@zag-js/core';
|
|
3
3
|
export { a as KeyBindingDescriptor, K as KeymapManager, b as KeymapOptions, R as ResolvedBinding } from './keymap-CGOz5F5f.js';
|
|
4
4
|
import * as tooltip from '@zag-js/tooltip';
|
|
@@ -961,6 +961,8 @@ declare class CalloutBubble {
|
|
|
961
961
|
set(spec: Partial<CalloutBubbleSpec>): void;
|
|
962
962
|
/** Whether the deployed panel is currently open. */
|
|
963
963
|
get open(): boolean;
|
|
964
|
+
/** Close the deployed panel, if any. The bubble itself stays. */
|
|
965
|
+
hidePanel(): void;
|
|
964
966
|
destroy(): void;
|
|
965
967
|
private dress;
|
|
966
968
|
private toggle;
|
package/dist/ui.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Drawer, KeymapManager, Tooltip, drawerController, tooltipController } from './chunk-
|
|
2
|
-
export { CALLOUT_CSS, CALLOUT_STYLE_ID, CalloutBubble, ColorField, Dialog, FIELD_GAP_PX, GlyphSelect, Menu, NumberInput, Popover, Select, Switch, TextArea, TextField, WIDTH_FIELD_OPTIONS, applyPlotOverlayTokens, applyThemeTokens, blendOver, buildColorPicker, buildFieldControl, buildPalette, calloutPanelRows, clampNumber, closeColorPopover, closeOpenPopovers, closeWidthPopover, closesPanel, colorField, colorPickerController, combineColor, decorateSelectScroll, dialogController, ensureUIHost, eventDismissedPopover, fieldGrid, fieldGridColumns, fieldRow, fieldSection, fieldSeparator, fillSelectList, glyphSelectController, hslHex, insetRect, intersectRects, isPopoverOpen, lineWidthGlyph, menuController, nextUid, normalizeProps, numberInputController, openPopoverTrigger, openSelectList, placePopover, popoverController, runMachine, selectController, snapToStep, splitColor, spreadProps, switchController, textAreaController, textFieldController, toggleSelectList, transparencyChecker, viewportRect, widthField, widthFieldOptions } from './chunk-
|
|
3
|
-
export { FIELD_FOCUS_CSS, FIELD_FOCUS_RING, iconEl, iconMarkup, injectStyles, overlayScrollbarCss, registerIcon, svg16, svg24, withAlpha } from './chunk-
|
|
1
|
+
export { Drawer, KeymapManager, Tooltip, drawerController, tooltipController } from './chunk-G77Y7LK2.js';
|
|
2
|
+
export { CALLOUT_CSS, CALLOUT_STYLE_ID, CalloutBubble, ColorField, Dialog, FIELD_GAP_PX, GlyphSelect, Menu, NumberInput, Popover, Select, Switch, TextArea, TextField, WIDTH_FIELD_OPTIONS, applyPlotOverlayTokens, applyThemeTokens, blendOver, buildColorPicker, buildFieldControl, buildPalette, calloutPanelRows, clampNumber, closeColorPopover, closeOpenPopovers, closeWidthPopover, closesPanel, colorField, colorPickerController, combineColor, decorateSelectScroll, dialogController, ensureUIHost, eventDismissedPopover, fieldGrid, fieldGridColumns, fieldRow, fieldSection, fieldSeparator, fillSelectList, glyphSelectController, hslHex, insetRect, intersectRects, isPopoverOpen, lineWidthGlyph, menuController, nextUid, normalizeProps, numberInputController, openPopoverTrigger, openSelectList, placePopover, popoverController, runMachine, selectController, snapToStep, splitColor, spreadProps, switchController, textAreaController, textFieldController, toggleSelectList, transparencyChecker, viewportRect, widthField, widthFieldOptions } from './chunk-MHY7MVXH.js';
|
|
3
|
+
export { FIELD_FOCUS_CSS, FIELD_FOCUS_RING, iconEl, iconMarkup, injectStyles, overlayScrollbarCss, registerIcon, svg16, svg24, withAlpha } from './chunk-KG4YT3TI.js';
|