@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.
Files changed (41) hide show
  1. package/dist/{DataProvider-CWmp31dA.d.ts → DataProvider-BBf-jc6W.d.ts} +1 -1
  2. package/dist/{DataProvider-l_eLMly_.d.cts → DataProvider-p0TEyhlX.d.cts} +1 -1
  3. package/dist/{chunk-FFOP37FQ.js → chunk-73PEA4MU.js} +131 -33
  4. package/dist/{chunk-NMTQXNT4.js → chunk-IO3NYSQV.js} +65 -22
  5. package/dist/{chunk-4KZVZ7QQ.js → chunk-MTLJKZDZ.js} +9 -1
  6. package/dist/{contributions-BCz6Dr6a.d.ts → contributions-Bbe2R-mQ.d.ts} +16 -2
  7. package/dist/{contributions-D9vTzm5p.d.cts → contributions-CO01zWve.d.cts} +16 -2
  8. package/dist/index.cjs +139 -32
  9. package/dist/index.d.cts +12 -6
  10. package/dist/index.d.ts +12 -6
  11. package/dist/index.js +3 -3
  12. package/dist/{options-DSqHsQyN.d.cts → options-yp7sA96q.d.cts} +8 -1
  13. package/dist/{options-DSqHsQyN.d.ts → options-yp7sA96q.d.ts} +8 -1
  14. package/dist/{plugin-Bt8hLR8Z.d.cts → plugin-CkkH8QnX.d.cts} +3 -3
  15. package/dist/{plugin-CH7pfMrE.d.ts → plugin-DwxjM3Ni.d.ts} +3 -3
  16. package/dist/plugin.cjs +9 -0
  17. package/dist/plugin.d.cts +4 -4
  18. package/dist/plugin.d.ts +4 -4
  19. package/dist/plugin.js +2 -2
  20. package/dist/providers/binance.d.cts +2 -2
  21. package/dist/providers/binance.d.ts +2 -2
  22. package/dist/providers/coinbase.d.cts +2 -2
  23. package/dist/providers/coinbase.d.ts +2 -2
  24. package/dist/providers/hyperliquid.d.cts +2 -2
  25. package/dist/providers/hyperliquid.d.ts +2 -2
  26. package/dist/{statusline-5K7y4Ya2.d.ts → statusline-CHPDuKNp.d.ts} +13 -5
  27. package/dist/{statusline-TYLQmoeh.d.cts → statusline-DTHZUFqK.d.cts} +13 -5
  28. package/dist/ui.d.cts +1 -1
  29. package/dist/ui.d.ts +1 -1
  30. package/dist/vela.global.js +139 -32
  31. package/dist/vela.global.min.js +43 -43
  32. package/dist/widget.cjs +201 -52
  33. package/dist/widget.d.cts +6 -6
  34. package/dist/widget.d.ts +6 -6
  35. package/dist/widget.js +4 -4
  36. package/dist/workspace.cjs +201 -52
  37. package/dist/workspace.d.cts +20 -11
  38. package/dist/workspace.d.ts +20 -11
  39. package/dist/workspace.js +3 -3
  40. package/package.json +1 -1
  41. /package/dist/{chunk-AOGZBKUE.js → chunk-H26BEHF4.js} +0 -0
@@ -441,6 +441,13 @@ interface InputSchema {
441
441
  when?: InputWhen;
442
442
  tooltip?: string;
443
443
  }
444
+ /**
445
+ * The DELTAS of a value bag against its schema's declaration defaults — what state
446
+ * persistence stores (a default that later changes in the script must not stay frozen
447
+ * in every saved document). Structural comparison (arrays/objects by JSON); keys the
448
+ * schema does not declare are ignored. `undefined` = nothing deviates.
449
+ */
450
+ declare function inputDeltas(schema: readonly InputSchema[], values: Record<string, InputValue>): Record<string, InputValue> | undefined;
444
451
 
445
452
  /** Declaration metadata from the Pine `indicator()` / `strategy()` call. */
446
453
  interface IndicatorMeta {
@@ -1760,4 +1767,4 @@ interface AddIndicatorOptions {
1760
1767
  title?: string;
1761
1768
  }
1762
1769
 
1763
- export { type DrawingIntent as $, type AxisLongPressEvent as A, type Background as B, type CrosshairEvent as C, Drawing as D, type BoxHAlign as E, type BoxTextSize as F, type BoxVAlign as G, type CandleBarColor as H, type IChartRenderer as I, type CandleSeries as J, type CandleStyle as K, type LineStyle as L, type MarketConfig as M, type NativeBackend as N, type OHLCV as O, type PriceStyle as P, type DataWindowGroup as Q, type RendererCapabilities as R, type SerializedDrawing as S, type ThemeName as T, type Unsubscribe as U, type VisibleRangePreset as V, type DataWindowOHLC as W, type DataWindowRow as X, type DirtyRange as Y, type DrawingBox as Z, type DrawingExtend as _, type VisibleRange as a, type DrawingLabel as a0, type DrawingLine as a1, type DrawingLinefill as a2, type DrawingMode as a3, type DrawingPoint as a4, type DrawingPolyline as a5, type DrawingStyle as a6, type DrawingTable as a7, type DrawingText as a8, type DrawingXLoc as a9, type Scene as aA, type SchemaPatch as aB, type SeriesKind as aC, type SeriesPoint as aD, type SeriesSpec as aE, type SeriesValueDelta as aF, type SettingsField as aG, type SettingsSchema as aH, type SettingsVisibilityPolicy as aI, type TableCell as aJ, type TableMerge as aK, type TablePosition as aL, type ToolbarGroupConfig as aM, type TradeExecution as aN, type ValuePatch as aO, buildToolbar as aP, defaultToolbar as aQ, inputVisible as aR, type PaneInfo as aS, type DrawingsOption as aa, type Fill as ab, type FillGradientStop as ac, type IndicatorMeta as ad, type InputCondition as ae, type InputSchema as af, type InputType as ag, type InputWhen as ah, type LabelStyle as ai, type LabelYLoc as aj, type LineLikeKind as ak, type LineLikeSeries as al, type LineLikeStyle as am, type MarkerPoint as an, type MarkerSeries as ao, type MarketSnapshot as ap, type MarketSwitch as aq, type PaneAxis as ar, type PaneAxisBand as as, type PaneHint as at, type PaneKind as au, type PolylinePoint as av, type PriceLine as aw, type Projector as ax, type ProviderName as ay, type RendererConstructor as az, type VelaOptions as b, type VelaTheme as c, type MarketSession as d, type RendererDisplayOptions as e, type IndicatorRenderHandle as f, type IndicatorStatus as g, type Pane as h, type PaneAction as i, type MoveTarget as j, type IndicatorModel as k, type ScenePatch as l, type InputValue as m, type SymbolPickerFn as n, type LegendActionView as o, type LegendCalloutView as p, type InputChangeEvent as q, type ClickEvent as r, type DataWindowReadout as s, type IDrawingsRendererPort as t, type Millis as u, type SnapMode as v, type DrawingTypeKey as w, type ToolbarDefinition as x, type AddIndicatorOptions as y, type BoxFontFamily as z };
1770
+ export { type DrawingIntent as $, type AxisLongPressEvent as A, type Background as B, type CrosshairEvent as C, Drawing as D, type BoxHAlign as E, type BoxTextSize as F, type BoxVAlign as G, type CandleBarColor as H, type InputValue as I, type CandleSeries as J, type CandleStyle as K, type LineStyle as L, type MarketConfig as M, type NativeBackend as N, type OHLCV as O, type PriceStyle as P, type DataWindowGroup as Q, type RendererCapabilities as R, type SerializedDrawing as S, type ThemeName as T, type Unsubscribe as U, type VisibleRangePreset as V, type DataWindowOHLC as W, type DataWindowRow as X, type DirtyRange as Y, type DrawingBox as Z, type DrawingExtend as _, type VisibleRange as a, type DrawingLabel as a0, type DrawingLine as a1, type DrawingLinefill as a2, type DrawingMode as a3, type DrawingPoint as a4, type DrawingPolyline as a5, type DrawingStyle as a6, type DrawingTable as a7, type DrawingText as a8, type DrawingXLoc as a9, type Scene as aA, type SchemaPatch as aB, type SeriesKind as aC, type SeriesPoint as aD, type SeriesSpec as aE, type SeriesValueDelta as aF, type SettingsField as aG, type SettingsSchema as aH, type SettingsVisibilityPolicy as aI, type TableCell as aJ, type TableMerge as aK, type TablePosition as aL, type ToolbarGroupConfig as aM, type TradeExecution as aN, type ValuePatch as aO, buildToolbar as aP, defaultToolbar as aQ, inputDeltas as aR, inputVisible as aS, type PaneInfo as aT, type DrawingsOption as aa, type Fill as ab, type FillGradientStop as ac, type IndicatorMeta as ad, type InputCondition as ae, type InputSchema as af, type InputType as ag, type InputWhen as ah, type LabelStyle as ai, type LabelYLoc as aj, type LineLikeKind as ak, type LineLikeSeries as al, type LineLikeStyle as am, type MarkerPoint as an, type MarkerSeries as ao, type MarketSnapshot as ap, type MarketSwitch as aq, type PaneAxis as ar, type PaneAxisBand as as, type PaneHint as at, type PaneKind as au, type PolylinePoint as av, type PriceLine as aw, type Projector as ax, type ProviderName as ay, type RendererConstructor as az, type VelaOptions as b, type VelaTheme as c, type MarketSession as d, type IChartRenderer as e, type RendererDisplayOptions as f, type IndicatorRenderHandle as g, type IndicatorStatus as h, type Pane as i, type PaneAction as j, type MoveTarget as k, type IndicatorModel as l, type ScenePatch as m, type SymbolPickerFn as n, type LegendActionView as o, type LegendCalloutView as p, type InputChangeEvent as q, type ClickEvent as r, type DataWindowReadout as s, type IDrawingsRendererPort as t, type Millis as u, type SnapMode as v, type DrawingTypeKey as w, type ToolbarDefinition as x, type AddIndicatorOptions as y, type BoxFontFamily as z };
@@ -441,6 +441,13 @@ interface InputSchema {
441
441
  when?: InputWhen;
442
442
  tooltip?: string;
443
443
  }
444
+ /**
445
+ * The DELTAS of a value bag against its schema's declaration defaults — what state
446
+ * persistence stores (a default that later changes in the script must not stay frozen
447
+ * in every saved document). Structural comparison (arrays/objects by JSON); keys the
448
+ * schema does not declare are ignored. `undefined` = nothing deviates.
449
+ */
450
+ declare function inputDeltas(schema: readonly InputSchema[], values: Record<string, InputValue>): Record<string, InputValue> | undefined;
444
451
 
445
452
  /** Declaration metadata from the Pine `indicator()` / `strategy()` call. */
446
453
  interface IndicatorMeta {
@@ -1760,4 +1767,4 @@ interface AddIndicatorOptions {
1760
1767
  title?: string;
1761
1768
  }
1762
1769
 
1763
- export { type DrawingIntent as $, type AxisLongPressEvent as A, type Background as B, type CrosshairEvent as C, Drawing as D, type BoxHAlign as E, type BoxTextSize as F, type BoxVAlign as G, type CandleBarColor as H, type IChartRenderer as I, type CandleSeries as J, type CandleStyle as K, type LineStyle as L, type MarketConfig as M, type NativeBackend as N, type OHLCV as O, type PriceStyle as P, type DataWindowGroup as Q, type RendererCapabilities as R, type SerializedDrawing as S, type ThemeName as T, type Unsubscribe as U, type VisibleRangePreset as V, type DataWindowOHLC as W, type DataWindowRow as X, type DirtyRange as Y, type DrawingBox as Z, type DrawingExtend as _, type VisibleRange as a, type DrawingLabel as a0, type DrawingLine as a1, type DrawingLinefill as a2, type DrawingMode as a3, type DrawingPoint as a4, type DrawingPolyline as a5, type DrawingStyle as a6, type DrawingTable as a7, type DrawingText as a8, type DrawingXLoc as a9, type Scene as aA, type SchemaPatch as aB, type SeriesKind as aC, type SeriesPoint as aD, type SeriesSpec as aE, type SeriesValueDelta as aF, type SettingsField as aG, type SettingsSchema as aH, type SettingsVisibilityPolicy as aI, type TableCell as aJ, type TableMerge as aK, type TablePosition as aL, type ToolbarGroupConfig as aM, type TradeExecution as aN, type ValuePatch as aO, buildToolbar as aP, defaultToolbar as aQ, inputVisible as aR, type PaneInfo as aS, type DrawingsOption as aa, type Fill as ab, type FillGradientStop as ac, type IndicatorMeta as ad, type InputCondition as ae, type InputSchema as af, type InputType as ag, type InputWhen as ah, type LabelStyle as ai, type LabelYLoc as aj, type LineLikeKind as ak, type LineLikeSeries as al, type LineLikeStyle as am, type MarkerPoint as an, type MarkerSeries as ao, type MarketSnapshot as ap, type MarketSwitch as aq, type PaneAxis as ar, type PaneAxisBand as as, type PaneHint as at, type PaneKind as au, type PolylinePoint as av, type PriceLine as aw, type Projector as ax, type ProviderName as ay, type RendererConstructor as az, type VelaOptions as b, type VelaTheme as c, type MarketSession as d, type RendererDisplayOptions as e, type IndicatorRenderHandle as f, type IndicatorStatus as g, type Pane as h, type PaneAction as i, type MoveTarget as j, type IndicatorModel as k, type ScenePatch as l, type InputValue as m, type SymbolPickerFn as n, type LegendActionView as o, type LegendCalloutView as p, type InputChangeEvent as q, type ClickEvent as r, type DataWindowReadout as s, type IDrawingsRendererPort as t, type Millis as u, type SnapMode as v, type DrawingTypeKey as w, type ToolbarDefinition as x, type AddIndicatorOptions as y, type BoxFontFamily as z };
1770
+ export { type DrawingIntent as $, type AxisLongPressEvent as A, type Background as B, type CrosshairEvent as C, Drawing as D, type BoxHAlign as E, type BoxTextSize as F, type BoxVAlign as G, type CandleBarColor as H, type InputValue as I, type CandleSeries as J, type CandleStyle as K, type LineStyle as L, type MarketConfig as M, type NativeBackend as N, type OHLCV as O, type PriceStyle as P, type DataWindowGroup as Q, type RendererCapabilities as R, type SerializedDrawing as S, type ThemeName as T, type Unsubscribe as U, type VisibleRangePreset as V, type DataWindowOHLC as W, type DataWindowRow as X, type DirtyRange as Y, type DrawingBox as Z, type DrawingExtend as _, type VisibleRange as a, type DrawingLabel as a0, type DrawingLine as a1, type DrawingLinefill as a2, type DrawingMode as a3, type DrawingPoint as a4, type DrawingPolyline as a5, type DrawingStyle as a6, type DrawingTable as a7, type DrawingText as a8, type DrawingXLoc as a9, type Scene as aA, type SchemaPatch as aB, type SeriesKind as aC, type SeriesPoint as aD, type SeriesSpec as aE, type SeriesValueDelta as aF, type SettingsField as aG, type SettingsSchema as aH, type SettingsVisibilityPolicy as aI, type TableCell as aJ, type TableMerge as aK, type TablePosition as aL, type ToolbarGroupConfig as aM, type TradeExecution as aN, type ValuePatch as aO, buildToolbar as aP, defaultToolbar as aQ, inputDeltas as aR, inputVisible as aS, type PaneInfo as aT, type DrawingsOption as aa, type Fill as ab, type FillGradientStop as ac, type IndicatorMeta as ad, type InputCondition as ae, type InputSchema as af, type InputType as ag, type InputWhen as ah, type LabelStyle as ai, type LabelYLoc as aj, type LineLikeKind as ak, type LineLikeSeries as al, type LineLikeStyle as am, type MarkerPoint as an, type MarkerSeries as ao, type MarketSnapshot as ap, type MarketSwitch as aq, type PaneAxis as ar, type PaneAxisBand as as, type PaneHint as at, type PaneKind as au, type PolylinePoint as av, type PriceLine as aw, type Projector as ax, type ProviderName as ay, type RendererConstructor as az, type VelaOptions as b, type VelaTheme as c, type MarketSession as d, type IChartRenderer as e, type RendererDisplayOptions as f, type IndicatorRenderHandle as g, type IndicatorStatus as h, type Pane as i, type PaneAction as j, type MoveTarget as k, type IndicatorModel as l, type ScenePatch as m, type SymbolPickerFn as n, type LegendActionView as o, type LegendCalloutView as p, type InputChangeEvent as q, type ClickEvent as r, type DataWindowReadout as s, type IDrawingsRendererPort as t, type Millis as u, type SnapMode as v, type DrawingTypeKey as w, type ToolbarDefinition as x, type AddIndicatorOptions as y, type BoxFontFamily as z };
@@ -1,9 +1,9 @@
1
- import { w as DrawingTypeKey, a6 as DrawingStyle, S as SerializedDrawing, D as Drawing, aC as SeriesKind, O as OHLCV, c as VelaTheme } from './options-DSqHsQyN.cjs';
2
- import { c as DataControl } from './contributions-D9vTzm5p.cjs';
1
+ import { w as DrawingTypeKey, a6 as DrawingStyle, S as SerializedDrawing, D as Drawing, aC as SeriesKind, O as OHLCV, c as VelaTheme } from './options-yp7sA96q.cjs';
2
+ import { c as DataControl } from './contributions-CO01zWve.cjs';
3
3
  import './side-panel-CT9ZwIGz.cjs';
4
4
  import './icons-BZYbJXSV.cjs';
5
5
  import './keymap-CGOz5F5f.cjs';
6
- import './DataProvider-l_eLMly_.cjs';
6
+ import './DataProvider-p0TEyhlX.cjs';
7
7
 
8
8
  /** What a drawing type contributes to the toolbar + factory (renderer-neutral). */
9
9
  interface DrawingTypeMeta {
@@ -1,9 +1,9 @@
1
- import { w as DrawingTypeKey, a6 as DrawingStyle, S as SerializedDrawing, D as Drawing, aC as SeriesKind, O as OHLCV, c as VelaTheme } from './options-DSqHsQyN.js';
2
- import { c as DataControl } from './contributions-BCz6Dr6a.js';
1
+ import { w as DrawingTypeKey, a6 as DrawingStyle, S as SerializedDrawing, D as Drawing, aC as SeriesKind, O as OHLCV, c as VelaTheme } from './options-yp7sA96q.js';
2
+ import { c as DataControl } from './contributions-Bbe2R-mQ.js';
3
3
  import './side-panel-CT9ZwIGz.js';
4
4
  import './icons-BZYbJXSV.js';
5
5
  import './keymap-CGOz5F5f.js';
6
- import './DataProvider-CWmp31dA.js';
6
+ import './DataProvider-BBf-jc6W.js';
7
7
 
8
8
  /** What a drawing type contributes to the toolbar + factory (renderer-neutral). */
9
9
  interface DrawingTypeMeta {
package/dist/plugin.cjs CHANGED
@@ -6008,6 +6008,14 @@ function inputVisible(when, values) {
6008
6008
  const conds = Array.isArray(when) ? when : [when];
6009
6009
  return conds.every((c) => c.anyOf ? c.anyOf.some((x) => x === values[c.key]) : values[c.key] === c.equals);
6010
6010
  }
6011
+ function inputDeltas(schema, values) {
6012
+ const out = {};
6013
+ for (const s of schema) {
6014
+ const v = values[s.key];
6015
+ if (v !== void 0 && JSON.stringify(v) !== JSON.stringify(s.defval)) out[s.key] = v;
6016
+ }
6017
+ return Object.keys(out).length > 0 ? out : void 0;
6018
+ }
6011
6019
 
6012
6020
  // src/core/model/identity.ts
6013
6021
  function stableSeriesId(parts) {
@@ -6049,6 +6057,7 @@ exports.drawingTypes = drawingTypes;
6049
6057
  exports.getDrawingType = getDrawingType;
6050
6058
  exports.getNativeIndicator = getNativeIndicator;
6051
6059
  exports.iconMarkup = iconMarkup;
6060
+ exports.inputDeltas = inputDeltas;
6052
6061
  exports.inputVisible = inputVisible;
6053
6062
  exports.legendActions = legendActions;
6054
6063
  exports.legendCallouts = legendCallouts;
package/dist/plugin.d.cts CHANGED
@@ -1,7 +1,7 @@
1
- export { A as ACCENT, a as ACCENT_BRIGHT, B as BEARISH, b as BULLISH, c as BarTransform, d as BasePaintingModulation, C as CATEGORICAL, e as CROSSHAIR, f as ChartTypeDefinition, g as ChartTypeSettingsInstance, h as ChartTypeSettingsSection, i as ChartTypeSettingsSubsection, D as DrawingTypeMeta, H as HIGHLIGHT, I as INFO, j as INVALID, k as IdentifiableKind, M as MARKER, N as NEUTRAL, l as NormalizedSettingsRow, R as RendererLayerArgs, m as RendererLayerDefinition, n as RendererLayerInstance, S as SERIES_LINE, o as SESSION_OFF, p as SESSION_POST, q as SESSION_PRE, r as SLATE, s as SLATE_DEEP, t as SeriesDataEngine, u as SeriesDataEngineHost, v as SettingsInlineControl, w as SettingsRowCondition, x as SettingsRowDescriptor, y as SettingsRowInlineNumber, z as SettingsRowSwatch, E as SettingsRowValueKey, F as SettingsRowWhen, G as SettingsRowWidth, J as SettingsSelectOption, K as SettingsValueRow, T as TRADE_EXIT, L as TRADE_LONG, O as TRADE_SHORT, V as VALID, W as WARNING, P as categoricalColor, Q as chartType, U as chartTypes, Z as drawingTypes, _ as getDrawingType, $ as normalizeSettingsRow, a0 as registerChartType, a2 as registerRendererDefaults, a3 as registerRendererLayer, a4 as rendererDefaults, a5 as rendererLayers, a6 as settingsRowValueKeys, a7 as stableSeriesId, a8 as tickerModifierIds, a9 as unregisterChartType, aa as unregisterRendererDefaults, ab as unregisterRendererLayer } from './plugin-Bt8hLR8Z.cjs';
2
- export { B as BarsChangeReason, C as CellStateContext, b as ContextSelect, e as EngineAlert, f as EngineCapabilities, g as EngineContextSnapshot, h as EngineFactory, i as EngineWarning, j as ExecutionHandlers, k as ExecutionMarket, l as ExecutionRequest, m as ExecutionSession, E as ExternalIndicatorEntry, F as FetchSeries, L as LegendActionDescriptor, p as LegendCalloutContent, q as LegendCalloutDescriptor, r as LegendCalloutItem, s as LegendCalloutSpec, t as LegendIndicatorInfo, N as NativeIndicator, u as NativeIndicatorContext, v as NativeIndicatorDescriptor, w as NativeIndicatorInfo, x as NativeIndicatorOutput, O as OVERRIDABLE_TOPBAR_IDS, y as PreparedScript, a as ScriptRun, H as ScriptRunCause, J as ScriptRunResult, S as ScriptingEngine, K as SidePanelButton, M as SidePanelDescriptor, Q as SidePanelHandle, T as SidePanelHeader, U as StatePersistenceHandler, X as StrategyFill, Y as StrategyState, Z as StrategyTrade, _ as SymbolRankingHook, a2 as VisibleBarRange, a3 as WidgetActionDescriptor, a4 as WidgetActionTarget, a5 as WidgetAttachment, W as WidgetContext, a6 as getNativeIndicator, a7 as legendActions, a8 as legendCallouts, aa as nativeIndicatorTypes, ab as registerDefaultEngine, ac as registerLegendAction, ad as registerLegendCallout, ae as registerNativeIndicator, af as registerSidePanel, ag as registerStatePersistence, ah as registerSymbolRanking, ai as registerWidgetAction, aj as registerWidgetAttachment, ak as resolveEngines, al as sidePanels, am as statePersistenceHandlers, an as symbolRanking, ao as topbarActionOverride, ap as unregisterDefaultEngine, aq as unregisterLegendAction, ar as unregisterLegendCallout, as as unregisterNativeIndicator, at as unregisterSidePanel, au as unregisterStatePersistence, av as unregisterWidgetAction, aw as unregisterWidgetAttachment, ax as widgetActions, ay as widgetAttachments } from './contributions-D9vTzm5p.cjs';
1
+ export { A as ACCENT, a as ACCENT_BRIGHT, B as BEARISH, b as BULLISH, c as BarTransform, d as BasePaintingModulation, C as CATEGORICAL, e as CROSSHAIR, f as ChartTypeDefinition, g as ChartTypeSettingsInstance, h as ChartTypeSettingsSection, i as ChartTypeSettingsSubsection, D as DrawingTypeMeta, H as HIGHLIGHT, I as INFO, j as INVALID, k as IdentifiableKind, M as MARKER, N as NEUTRAL, l as NormalizedSettingsRow, R as RendererLayerArgs, m as RendererLayerDefinition, n as RendererLayerInstance, S as SERIES_LINE, o as SESSION_OFF, p as SESSION_POST, q as SESSION_PRE, r as SLATE, s as SLATE_DEEP, t as SeriesDataEngine, u as SeriesDataEngineHost, v as SettingsInlineControl, w as SettingsRowCondition, x as SettingsRowDescriptor, y as SettingsRowInlineNumber, z as SettingsRowSwatch, E as SettingsRowValueKey, F as SettingsRowWhen, G as SettingsRowWidth, J as SettingsSelectOption, K as SettingsValueRow, T as TRADE_EXIT, L as TRADE_LONG, O as TRADE_SHORT, V as VALID, W as WARNING, P as categoricalColor, Q as chartType, U as chartTypes, Z as drawingTypes, _ as getDrawingType, $ as normalizeSettingsRow, a0 as registerChartType, a2 as registerRendererDefaults, a3 as registerRendererLayer, a4 as rendererDefaults, a5 as rendererLayers, a6 as settingsRowValueKeys, a7 as stableSeriesId, a8 as tickerModifierIds, a9 as unregisterChartType, aa as unregisterRendererDefaults, ab as unregisterRendererLayer } from './plugin-CkkH8QnX.cjs';
2
+ export { B as BarsChangeReason, C as CellStateContext, b as ContextSelect, e as EngineAlert, f as EngineCapabilities, g as EngineContextSnapshot, h as EngineFactory, i as EngineWarning, j as ExecutionHandlers, k as ExecutionMarket, l as ExecutionRequest, m as ExecutionSession, E as ExternalIndicatorEntry, F as FetchSeries, L as LegendActionDescriptor, p as LegendCalloutContent, q as LegendCalloutDescriptor, r as LegendCalloutItem, s as LegendCalloutSpec, t as LegendIndicatorInfo, N as NativeIndicator, u as NativeIndicatorContext, v as NativeIndicatorDescriptor, w as NativeIndicatorInfo, x as NativeIndicatorOutput, O as OVERRIDABLE_TOPBAR_IDS, y as PreparedScript, a as ScriptRun, H as ScriptRunCause, J as ScriptRunResult, S as ScriptingEngine, K as SidePanelButton, M as SidePanelDescriptor, Q as SidePanelHandle, T as SidePanelHeader, U as StatePersistenceHandler, X as StrategyFill, Y as StrategyState, Z as StrategyTrade, _ as SymbolRankingHook, a2 as VisibleBarRange, a3 as WidgetActionDescriptor, a4 as WidgetActionTarget, a5 as WidgetAttachment, W as WidgetContext, a6 as getNativeIndicator, a7 as legendActions, a8 as legendCallouts, aa as nativeIndicatorTypes, ab as registerDefaultEngine, ac as registerLegendAction, ad as registerLegendCallout, ae as registerNativeIndicator, af as registerSidePanel, ag as registerStatePersistence, ah as registerSymbolRanking, ai as registerWidgetAction, aj as registerWidgetAttachment, ak as resolveEngines, al as sidePanels, am as statePersistenceHandlers, an as symbolRanking, ao as topbarActionOverride, ap as unregisterDefaultEngine, aq as unregisterLegendAction, ar as unregisterLegendCallout, as as unregisterNativeIndicator, at as unregisterSidePanel, au as unregisterStatePersistence, av as unregisterWidgetAction, aw as unregisterWidgetAttachment, ax as widgetActions, ay as widgetAttachments } from './contributions-CO01zWve.cjs';
3
3
  export { D as DEFAULT_PANEL_MAX_WIDTH, a as DEFAULT_PANEL_MIN_WIDTH, b as DEFAULT_PANEL_WIDTH, S as SidePanelOptions, c as clampPanelWidth } from './side-panel-CT9ZwIGz.cjs';
4
- export { B as Background, z as BoxFontFamily, E as BoxHAlign, F as BoxTextSize, G as BoxVAlign, H as CandleBarColor, J as CandleSeries, K as CandleStyle, Y as DirtyRange, Z as DrawingBox, _ as DrawingExtend, a0 as DrawingLabel, a1 as DrawingLine, a2 as DrawingLinefill, a5 as DrawingPolyline, a7 as DrawingTable, w as DrawingTypeKey, a9 as DrawingXLoc, ab as Fill, ac as FillGradientStop, ad as IndicatorMeta, k as IndicatorModel, ae as InputCondition, af as InputSchema, ag as InputType, m as InputValue, ah as InputWhen, ai as LabelStyle, aj as LabelYLoc, ak as LineLikeKind, al as LineLikeSeries, am as LineLikeStyle, L as LineStyle, an as MarkerPoint, ao as MarkerSeries, u as Millis, O as OHLCV, h as Pane, ar as PaneAxis, as as PaneAxisBand, at as PaneHint, au as PaneKind, av as PolylinePoint, aw as PriceLine, P as PriceStyle, aA as Scene, l as ScenePatch, aB as SchemaPatch, aC as SeriesKind, aD as SeriesPoint, aE as SeriesSpec, aF as SeriesValueDelta, aJ as TableCell, aK as TableMerge, aL as TablePosition, aN as TradeExecution, aO as ValuePatch, aR as inputVisible } from './options-DSqHsQyN.cjs';
4
+ export { B as Background, z as BoxFontFamily, E as BoxHAlign, F as BoxTextSize, G as BoxVAlign, H as CandleBarColor, J as CandleSeries, K as CandleStyle, Y as DirtyRange, Z as DrawingBox, _ as DrawingExtend, a0 as DrawingLabel, a1 as DrawingLine, a2 as DrawingLinefill, a5 as DrawingPolyline, a7 as DrawingTable, w as DrawingTypeKey, a9 as DrawingXLoc, ab as Fill, ac as FillGradientStop, ad as IndicatorMeta, l as IndicatorModel, ae as InputCondition, af as InputSchema, ag as InputType, I as InputValue, ah as InputWhen, ai as LabelStyle, aj as LabelYLoc, ak as LineLikeKind, al as LineLikeSeries, am as LineLikeStyle, L as LineStyle, an as MarkerPoint, ao as MarkerSeries, u as Millis, O as OHLCV, i as Pane, ar as PaneAxis, as as PaneAxisBand, at as PaneHint, au as PaneKind, av as PolylinePoint, aw as PriceLine, P as PriceStyle, aA as Scene, m as ScenePatch, aB as SchemaPatch, aC as SeriesKind, aD as SeriesPoint, aE as SeriesSpec, aF as SeriesValueDelta, aJ as TableCell, aK as TableMerge, aL as TablePosition, aN as TradeExecution, aO as ValuePatch, aR as inputDeltas, aS as inputVisible } from './options-yp7sA96q.cjs';
5
5
  export { i as iconMarkup, r as registerIcon } from './icons-BZYbJXSV.cjs';
6
6
  export { a as KeyBindingDescriptor, R as ResolvedBinding } from './keymap-CGOz5F5f.cjs';
7
- export { B as BarRange, D as DataProvider, M as MarketDataFeed, b as ProviderCapabilities, P as ProviderInfo, a as SymbolDescriptor, S as SymbolInfo } from './DataProvider-l_eLMly_.cjs';
7
+ export { B as BarRange, D as DataProvider, M as MarketDataFeed, b as ProviderCapabilities, P as ProviderInfo, a as SymbolDescriptor, S as SymbolInfo } from './DataProvider-p0TEyhlX.cjs';
package/dist/plugin.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- export { A as ACCENT, a as ACCENT_BRIGHT, B as BEARISH, b as BULLISH, c as BarTransform, d as BasePaintingModulation, C as CATEGORICAL, e as CROSSHAIR, f as ChartTypeDefinition, g as ChartTypeSettingsInstance, h as ChartTypeSettingsSection, i as ChartTypeSettingsSubsection, D as DrawingTypeMeta, H as HIGHLIGHT, I as INFO, j as INVALID, k as IdentifiableKind, M as MARKER, N as NEUTRAL, l as NormalizedSettingsRow, R as RendererLayerArgs, m as RendererLayerDefinition, n as RendererLayerInstance, S as SERIES_LINE, o as SESSION_OFF, p as SESSION_POST, q as SESSION_PRE, r as SLATE, s as SLATE_DEEP, t as SeriesDataEngine, u as SeriesDataEngineHost, v as SettingsInlineControl, w as SettingsRowCondition, x as SettingsRowDescriptor, y as SettingsRowInlineNumber, z as SettingsRowSwatch, E as SettingsRowValueKey, F as SettingsRowWhen, G as SettingsRowWidth, J as SettingsSelectOption, K as SettingsValueRow, T as TRADE_EXIT, L as TRADE_LONG, O as TRADE_SHORT, V as VALID, W as WARNING, P as categoricalColor, Q as chartType, U as chartTypes, Z as drawingTypes, _ as getDrawingType, $ as normalizeSettingsRow, a0 as registerChartType, a2 as registerRendererDefaults, a3 as registerRendererLayer, a4 as rendererDefaults, a5 as rendererLayers, a6 as settingsRowValueKeys, a7 as stableSeriesId, a8 as tickerModifierIds, a9 as unregisterChartType, aa as unregisterRendererDefaults, ab as unregisterRendererLayer } from './plugin-CH7pfMrE.js';
2
- export { B as BarsChangeReason, C as CellStateContext, b as ContextSelect, e as EngineAlert, f as EngineCapabilities, g as EngineContextSnapshot, h as EngineFactory, i as EngineWarning, j as ExecutionHandlers, k as ExecutionMarket, l as ExecutionRequest, m as ExecutionSession, E as ExternalIndicatorEntry, F as FetchSeries, L as LegendActionDescriptor, p as LegendCalloutContent, q as LegendCalloutDescriptor, r as LegendCalloutItem, s as LegendCalloutSpec, t as LegendIndicatorInfo, N as NativeIndicator, u as NativeIndicatorContext, v as NativeIndicatorDescriptor, w as NativeIndicatorInfo, x as NativeIndicatorOutput, O as OVERRIDABLE_TOPBAR_IDS, y as PreparedScript, a as ScriptRun, H as ScriptRunCause, J as ScriptRunResult, S as ScriptingEngine, K as SidePanelButton, M as SidePanelDescriptor, Q as SidePanelHandle, T as SidePanelHeader, U as StatePersistenceHandler, X as StrategyFill, Y as StrategyState, Z as StrategyTrade, _ as SymbolRankingHook, a2 as VisibleBarRange, a3 as WidgetActionDescriptor, a4 as WidgetActionTarget, a5 as WidgetAttachment, W as WidgetContext, a6 as getNativeIndicator, a7 as legendActions, a8 as legendCallouts, aa as nativeIndicatorTypes, ab as registerDefaultEngine, ac as registerLegendAction, ad as registerLegendCallout, ae as registerNativeIndicator, af as registerSidePanel, ag as registerStatePersistence, ah as registerSymbolRanking, ai as registerWidgetAction, aj as registerWidgetAttachment, ak as resolveEngines, al as sidePanels, am as statePersistenceHandlers, an as symbolRanking, ao as topbarActionOverride, ap as unregisterDefaultEngine, aq as unregisterLegendAction, ar as unregisterLegendCallout, as as unregisterNativeIndicator, at as unregisterSidePanel, au as unregisterStatePersistence, av as unregisterWidgetAction, aw as unregisterWidgetAttachment, ax as widgetActions, ay as widgetAttachments } from './contributions-BCz6Dr6a.js';
1
+ export { A as ACCENT, a as ACCENT_BRIGHT, B as BEARISH, b as BULLISH, c as BarTransform, d as BasePaintingModulation, C as CATEGORICAL, e as CROSSHAIR, f as ChartTypeDefinition, g as ChartTypeSettingsInstance, h as ChartTypeSettingsSection, i as ChartTypeSettingsSubsection, D as DrawingTypeMeta, H as HIGHLIGHT, I as INFO, j as INVALID, k as IdentifiableKind, M as MARKER, N as NEUTRAL, l as NormalizedSettingsRow, R as RendererLayerArgs, m as RendererLayerDefinition, n as RendererLayerInstance, S as SERIES_LINE, o as SESSION_OFF, p as SESSION_POST, q as SESSION_PRE, r as SLATE, s as SLATE_DEEP, t as SeriesDataEngine, u as SeriesDataEngineHost, v as SettingsInlineControl, w as SettingsRowCondition, x as SettingsRowDescriptor, y as SettingsRowInlineNumber, z as SettingsRowSwatch, E as SettingsRowValueKey, F as SettingsRowWhen, G as SettingsRowWidth, J as SettingsSelectOption, K as SettingsValueRow, T as TRADE_EXIT, L as TRADE_LONG, O as TRADE_SHORT, V as VALID, W as WARNING, P as categoricalColor, Q as chartType, U as chartTypes, Z as drawingTypes, _ as getDrawingType, $ as normalizeSettingsRow, a0 as registerChartType, a2 as registerRendererDefaults, a3 as registerRendererLayer, a4 as rendererDefaults, a5 as rendererLayers, a6 as settingsRowValueKeys, a7 as stableSeriesId, a8 as tickerModifierIds, a9 as unregisterChartType, aa as unregisterRendererDefaults, ab as unregisterRendererLayer } from './plugin-DwxjM3Ni.js';
2
+ export { B as BarsChangeReason, C as CellStateContext, b as ContextSelect, e as EngineAlert, f as EngineCapabilities, g as EngineContextSnapshot, h as EngineFactory, i as EngineWarning, j as ExecutionHandlers, k as ExecutionMarket, l as ExecutionRequest, m as ExecutionSession, E as ExternalIndicatorEntry, F as FetchSeries, L as LegendActionDescriptor, p as LegendCalloutContent, q as LegendCalloutDescriptor, r as LegendCalloutItem, s as LegendCalloutSpec, t as LegendIndicatorInfo, N as NativeIndicator, u as NativeIndicatorContext, v as NativeIndicatorDescriptor, w as NativeIndicatorInfo, x as NativeIndicatorOutput, O as OVERRIDABLE_TOPBAR_IDS, y as PreparedScript, a as ScriptRun, H as ScriptRunCause, J as ScriptRunResult, S as ScriptingEngine, K as SidePanelButton, M as SidePanelDescriptor, Q as SidePanelHandle, T as SidePanelHeader, U as StatePersistenceHandler, X as StrategyFill, Y as StrategyState, Z as StrategyTrade, _ as SymbolRankingHook, a2 as VisibleBarRange, a3 as WidgetActionDescriptor, a4 as WidgetActionTarget, a5 as WidgetAttachment, W as WidgetContext, a6 as getNativeIndicator, a7 as legendActions, a8 as legendCallouts, aa as nativeIndicatorTypes, ab as registerDefaultEngine, ac as registerLegendAction, ad as registerLegendCallout, ae as registerNativeIndicator, af as registerSidePanel, ag as registerStatePersistence, ah as registerSymbolRanking, ai as registerWidgetAction, aj as registerWidgetAttachment, ak as resolveEngines, al as sidePanels, am as statePersistenceHandlers, an as symbolRanking, ao as topbarActionOverride, ap as unregisterDefaultEngine, aq as unregisterLegendAction, ar as unregisterLegendCallout, as as unregisterNativeIndicator, at as unregisterSidePanel, au as unregisterStatePersistence, av as unregisterWidgetAction, aw as unregisterWidgetAttachment, ax as widgetActions, ay as widgetAttachments } from './contributions-Bbe2R-mQ.js';
3
3
  export { D as DEFAULT_PANEL_MAX_WIDTH, a as DEFAULT_PANEL_MIN_WIDTH, b as DEFAULT_PANEL_WIDTH, S as SidePanelOptions, c as clampPanelWidth } from './side-panel-CT9ZwIGz.js';
4
- export { B as Background, z as BoxFontFamily, E as BoxHAlign, F as BoxTextSize, G as BoxVAlign, H as CandleBarColor, J as CandleSeries, K as CandleStyle, Y as DirtyRange, Z as DrawingBox, _ as DrawingExtend, a0 as DrawingLabel, a1 as DrawingLine, a2 as DrawingLinefill, a5 as DrawingPolyline, a7 as DrawingTable, w as DrawingTypeKey, a9 as DrawingXLoc, ab as Fill, ac as FillGradientStop, ad as IndicatorMeta, k as IndicatorModel, ae as InputCondition, af as InputSchema, ag as InputType, m as InputValue, ah as InputWhen, ai as LabelStyle, aj as LabelYLoc, ak as LineLikeKind, al as LineLikeSeries, am as LineLikeStyle, L as LineStyle, an as MarkerPoint, ao as MarkerSeries, u as Millis, O as OHLCV, h as Pane, ar as PaneAxis, as as PaneAxisBand, at as PaneHint, au as PaneKind, av as PolylinePoint, aw as PriceLine, P as PriceStyle, aA as Scene, l as ScenePatch, aB as SchemaPatch, aC as SeriesKind, aD as SeriesPoint, aE as SeriesSpec, aF as SeriesValueDelta, aJ as TableCell, aK as TableMerge, aL as TablePosition, aN as TradeExecution, aO as ValuePatch, aR as inputVisible } from './options-DSqHsQyN.js';
4
+ export { B as Background, z as BoxFontFamily, E as BoxHAlign, F as BoxTextSize, G as BoxVAlign, H as CandleBarColor, J as CandleSeries, K as CandleStyle, Y as DirtyRange, Z as DrawingBox, _ as DrawingExtend, a0 as DrawingLabel, a1 as DrawingLine, a2 as DrawingLinefill, a5 as DrawingPolyline, a7 as DrawingTable, w as DrawingTypeKey, a9 as DrawingXLoc, ab as Fill, ac as FillGradientStop, ad as IndicatorMeta, l as IndicatorModel, ae as InputCondition, af as InputSchema, ag as InputType, I as InputValue, ah as InputWhen, ai as LabelStyle, aj as LabelYLoc, ak as LineLikeKind, al as LineLikeSeries, am as LineLikeStyle, L as LineStyle, an as MarkerPoint, ao as MarkerSeries, u as Millis, O as OHLCV, i as Pane, ar as PaneAxis, as as PaneAxisBand, at as PaneHint, au as PaneKind, av as PolylinePoint, aw as PriceLine, P as PriceStyle, aA as Scene, m as ScenePatch, aB as SchemaPatch, aC as SeriesKind, aD as SeriesPoint, aE as SeriesSpec, aF as SeriesValueDelta, aJ as TableCell, aK as TableMerge, aL as TablePosition, aN as TradeExecution, aO as ValuePatch, aR as inputDeltas, aS as inputVisible } from './options-yp7sA96q.js';
5
5
  export { i as iconMarkup, r as registerIcon } from './icons-BZYbJXSV.js';
6
6
  export { a as KeyBindingDescriptor, R as ResolvedBinding } from './keymap-CGOz5F5f.js';
7
- export { B as BarRange, D as DataProvider, M as MarketDataFeed, b as ProviderCapabilities, P as ProviderInfo, a as SymbolDescriptor, S as SymbolInfo } from './DataProvider-CWmp31dA.js';
7
+ export { B as BarRange, D as DataProvider, M as MarketDataFeed, b as ProviderCapabilities, P as ProviderInfo, a as SymbolDescriptor, S as SymbolInfo } from './DataProvider-BBf-jc6W.js';
package/dist/plugin.js CHANGED
@@ -1,3 +1,3 @@
1
- export { stableSeriesId } from './chunk-AOGZBKUE.js';
2
- export { DEFAULT_PANEL_MAX_WIDTH, DEFAULT_PANEL_MIN_WIDTH, DEFAULT_PANEL_WIDTH, OVERRIDABLE_TOPBAR_IDS, chartType, chartTypes, clampPanelWidth, drawingTypes, getDrawingType, getNativeIndicator, inputVisible, legendActions, legendCallouts, nativeIndicatorTypes, normalizeSettingsRow, registerChartType, registerDefaultEngine, registerLegendAction, registerLegendCallout, registerNativeIndicator, registerRendererDefaults, registerRendererLayer, registerSidePanel, registerStatePersistence, registerSymbolRanking, registerWidgetAction, registerWidgetAttachment, rendererDefaults, rendererLayers, resolveEngines, settingsRowValueKeys, sidePanels, statePersistenceHandlers, symbolRanking, tickerModifierIds, topbarActionOverride, unregisterChartType, unregisterDefaultEngine, unregisterLegendAction, unregisterLegendCallout, unregisterNativeIndicator, unregisterRendererDefaults, unregisterRendererLayer, unregisterSidePanel, unregisterStatePersistence, unregisterWidgetAction, unregisterWidgetAttachment, widgetActions, widgetAttachments } from './chunk-4KZVZ7QQ.js';
1
+ export { stableSeriesId } from './chunk-H26BEHF4.js';
2
+ export { DEFAULT_PANEL_MAX_WIDTH, DEFAULT_PANEL_MIN_WIDTH, DEFAULT_PANEL_WIDTH, OVERRIDABLE_TOPBAR_IDS, chartType, chartTypes, clampPanelWidth, drawingTypes, getDrawingType, getNativeIndicator, inputDeltas, inputVisible, legendActions, legendCallouts, nativeIndicatorTypes, normalizeSettingsRow, registerChartType, registerDefaultEngine, registerLegendAction, registerLegendCallout, registerNativeIndicator, registerRendererDefaults, registerRendererLayer, registerSidePanel, registerStatePersistence, registerSymbolRanking, registerWidgetAction, registerWidgetAttachment, rendererDefaults, rendererLayers, resolveEngines, settingsRowValueKeys, sidePanels, statePersistenceHandlers, symbolRanking, tickerModifierIds, topbarActionOverride, unregisterChartType, unregisterDefaultEngine, unregisterLegendAction, unregisterLegendCallout, unregisterNativeIndicator, unregisterRendererDefaults, unregisterRendererLayer, unregisterSidePanel, unregisterStatePersistence, unregisterWidgetAction, unregisterWidgetAttachment, widgetActions, widgetAttachments } from './chunk-MTLJKZDZ.js';
3
3
  export { ACCENT, ACCENT_BRIGHT, BEARISH, BULLISH, CATEGORICAL, CROSSHAIR, HIGHLIGHT, INFO, INVALID, MARKER, NEUTRAL, SERIES_LINE, SESSION_OFF, SESSION_POST, SESSION_PRE, SLATE, SLATE_DEEP, TRADE_EXIT, TRADE_LONG, TRADE_SHORT, VALID, WARNING, categoricalColor, iconMarkup, registerIcon } from './chunk-KG4YT3TI.js';
@@ -1,5 +1,5 @@
1
- import { O as OHLCV, U as Unsubscribe } from '../options-DSqHsQyN.cjs';
2
- import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-l_eLMly_.cjs';
1
+ import { O as OHLCV, U as Unsubscribe } from '../options-yp7sA96q.cjs';
2
+ import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-p0TEyhlX.cjs';
3
3
 
4
4
  /**
5
5
  * Binance market-data provider, built from scratch on the public REST + WebSocket
@@ -1,5 +1,5 @@
1
- import { O as OHLCV, U as Unsubscribe } from '../options-DSqHsQyN.js';
2
- import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-CWmp31dA.js';
1
+ import { O as OHLCV, U as Unsubscribe } from '../options-yp7sA96q.js';
2
+ import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-BBf-jc6W.js';
3
3
 
4
4
  /**
5
5
  * Binance market-data provider, built from scratch on the public REST + WebSocket
@@ -1,5 +1,5 @@
1
- import { O as OHLCV, U as Unsubscribe } from '../options-DSqHsQyN.cjs';
2
- import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-l_eLMly_.cjs';
1
+ import { O as OHLCV, U as Unsubscribe } from '../options-yp7sA96q.cjs';
2
+ import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-p0TEyhlX.cjs';
3
3
 
4
4
  /**
5
5
  * Coinbase market-data provider, built from scratch on the public Exchange REST + WebSocket APIs
@@ -1,5 +1,5 @@
1
- import { O as OHLCV, U as Unsubscribe } from '../options-DSqHsQyN.js';
2
- import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-CWmp31dA.js';
1
+ import { O as OHLCV, U as Unsubscribe } from '../options-yp7sA96q.js';
2
+ import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-BBf-jc6W.js';
3
3
 
4
4
  /**
5
5
  * Coinbase market-data provider, built from scratch on the public Exchange REST + WebSocket APIs
@@ -1,5 +1,5 @@
1
- import { O as OHLCV, U as Unsubscribe } from '../options-DSqHsQyN.cjs';
2
- import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-l_eLMly_.cjs';
1
+ import { O as OHLCV, U as Unsubscribe } from '../options-yp7sA96q.cjs';
2
+ import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-p0TEyhlX.cjs';
3
3
 
4
4
  /**
5
5
  * Hyperliquid market-data provider, built from scratch on the public info API — no
@@ -1,5 +1,5 @@
1
- import { O as OHLCV, U as Unsubscribe } from '../options-DSqHsQyN.js';
2
- import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-CWmp31dA.js';
1
+ import { O as OHLCV, U as Unsubscribe } from '../options-yp7sA96q.js';
2
+ import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-BBf-jc6W.js';
3
3
 
4
4
  /**
5
5
  * Hyperliquid market-data provider, built from scratch on the public info API — no
@@ -1,6 +1,6 @@
1
- import { D as DataProvider } from './DataProvider-CWmp31dA.js';
2
- import { S as ScriptingEngine, V as Vela } from './contributions-BCz6Dr6a.js';
3
- import { V as VisibleRangePreset } from './options-DSqHsQyN.js';
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 by name + present native types. */
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: string[];
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-l_eLMly_.cjs';
2
- import { S as ScriptingEngine, V as Vela } from './contributions-D9vTzm5p.cjs';
3
- import { V as VisibleRangePreset } from './options-DSqHsQyN.cjs';
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 by name + present native types. */
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: string[];
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.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { c as VelaTheme } from './options-DSqHsQyN.cjs';
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';
package/dist/ui.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { c as VelaTheme } from './options-DSqHsQyN.js';
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';