@luxalgo/vela 0.6.10 → 0.6.12

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 (42) hide show
  1. package/README.md +110 -46
  2. package/dist/{DataProvider-CWmp31dA.d.ts → DataProvider-DhzstpQb.d.ts} +1 -1
  3. package/dist/{DataProvider-l_eLMly_.d.cts → DataProvider-DlMtrwqM.d.cts} +1 -1
  4. package/dist/{chunk-4KZVZ7QQ.js → chunk-F4M24ANM.js} +130 -1
  5. package/dist/{chunk-NMTQXNT4.js → chunk-IZV3CW5N.js} +245 -43
  6. package/dist/{chunk-FFOP37FQ.js → chunk-KV7FDWSL.js} +748 -70
  7. package/dist/{contributions-BCz6Dr6a.d.ts → contributions-37nni40G.d.ts} +20 -4
  8. package/dist/{contributions-D9vTzm5p.d.cts → contributions-lPojhTxI.d.cts} +20 -4
  9. package/dist/index.cjs +866 -58
  10. package/dist/index.d.cts +12 -6
  11. package/dist/index.d.ts +12 -6
  12. package/dist/index.js +3 -3
  13. package/dist/{options-DSqHsQyN.d.cts → options-CYS5Wmlx.d.cts} +78 -2
  14. package/dist/{options-DSqHsQyN.d.ts → options-CYS5Wmlx.d.ts} +78 -2
  15. package/dist/{plugin-Bt8hLR8Z.d.cts → plugin-Cwikpz1m.d.cts} +10 -3
  16. package/dist/{plugin-CH7pfMrE.d.ts → plugin-DHyaoMjW.d.ts} +10 -3
  17. package/dist/plugin.cjs +119 -0
  18. package/dist/plugin.d.cts +4 -4
  19. package/dist/plugin.d.ts +4 -4
  20. package/dist/plugin.js +2 -2
  21. package/dist/providers/binance.d.cts +2 -2
  22. package/dist/providers/binance.d.ts +2 -2
  23. package/dist/providers/coinbase.d.cts +2 -2
  24. package/dist/providers/coinbase.d.ts +2 -2
  25. package/dist/providers/hyperliquid.d.cts +2 -2
  26. package/dist/providers/hyperliquid.d.ts +2 -2
  27. package/dist/{statusline-5K7y4Ya2.d.ts → statusline-model-CiJm-riV.d.cts} +17 -87
  28. package/dist/{statusline-TYLQmoeh.d.cts → statusline-model-D-q_OOx9.d.ts} +17 -87
  29. package/dist/ui.d.cts +1 -1
  30. package/dist/ui.d.ts +1 -1
  31. package/dist/vela.global.js +866 -58
  32. package/dist/vela.global.min.js +52 -52
  33. package/dist/widget.cjs +1109 -100
  34. package/dist/widget.d.cts +118 -7
  35. package/dist/widget.d.ts +118 -7
  36. package/dist/widget.js +4 -4
  37. package/dist/workspace.cjs +1109 -100
  38. package/dist/workspace.d.cts +20 -11
  39. package/dist/workspace.d.ts +20 -11
  40. package/dist/workspace.js +3 -3
  41. package/package.json +1 -1
  42. /package/dist/{chunk-AOGZBKUE.js → chunk-H26BEHF4.js} +0 -0
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-Cwikpz1m.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-lPojhTxI.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, aa as DrawingTable, w as DrawingTypeKey, ac as DrawingXLoc, ae as Fill, af as FillGradientStop, ag as IndicatorMeta, l as IndicatorModel, ah as InputCondition, ai as InputSchema, aj as InputType, I as InputValue, ak as InputWhen, al as LabelStyle, am as LabelYLoc, an as LineLikeKind, ao as LineLikeSeries, ap as LineLikeStyle, L as LineStyle, aq as MarkerPoint, ar as MarkerSeries, u as Millis, O as OHLCV, i as Pane, au as PaneAxis, av as PaneAxisBand, aw as PaneHint, ax as PaneKind, ay as PolylinePoint, az as PriceLine, P as PriceStyle, aD as Scene, m as ScenePatch, aE as SchemaPatch, aF as SeriesKind, aG as SeriesPoint, aH as SeriesSpec, aI as SeriesValueDelta, aM as TableCell, aN as TableMerge, aO as TablePosition, aQ as TradeExecution, aR as ValuePatch, aU as inputDeltas, aV as inputVisible } from './options-CYS5Wmlx.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-DlMtrwqM.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-DHyaoMjW.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-37nni40G.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, aa as DrawingTable, w as DrawingTypeKey, ac as DrawingXLoc, ae as Fill, af as FillGradientStop, ag as IndicatorMeta, l as IndicatorModel, ah as InputCondition, ai as InputSchema, aj as InputType, I as InputValue, ak as InputWhen, al as LabelStyle, am as LabelYLoc, an as LineLikeKind, ao as LineLikeSeries, ap as LineLikeStyle, L as LineStyle, aq as MarkerPoint, ar as MarkerSeries, u as Millis, O as OHLCV, i as Pane, au as PaneAxis, av as PaneAxisBand, aw as PaneHint, ax as PaneKind, ay as PolylinePoint, az as PriceLine, P as PriceStyle, aD as Scene, m as ScenePatch, aE as SchemaPatch, aF as SeriesKind, aG as SeriesPoint, aH as SeriesSpec, aI as SeriesValueDelta, aM as TableCell, aN as TableMerge, aO as TablePosition, aQ as TradeExecution, aR as ValuePatch, aU as inputDeltas, aV as inputVisible } from './options-CYS5Wmlx.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-DhzstpQb.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-F4M24ANM.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-CYS5Wmlx.cjs';
2
+ import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-DlMtrwqM.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-CYS5Wmlx.js';
2
+ import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-DhzstpQb.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-CYS5Wmlx.cjs';
2
+ import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-DlMtrwqM.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-CYS5Wmlx.js';
2
+ import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-DhzstpQb.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-CYS5Wmlx.cjs';
2
+ import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-DlMtrwqM.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-CYS5Wmlx.js';
2
+ import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-DhzstpQb.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-DlMtrwqM.cjs';
2
+ import { S as ScriptingEngine, V as Vela } from './contributions-lPojhTxI.cjs';
3
+ import { V as VisibleRangePreset } from './options-CYS5Wmlx.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
@@ -364,86 +372,8 @@ declare class Bottombar {
364
372
  private tick;
365
373
  }
366
374
 
367
- /** How the status line reads a bar out: the four O/H/L/C values (bar-shaped styles),
368
- * or the single plotted value the close — for one-line styles (line/area/baseline). */
369
- type StatuslineReadout = 'ohlc' | 'value';
370
- /** The market session states the status badge can wear. Crypto venues trade
371
- * continuously and stay 'open'; the full vocabulary is ready for providers that
372
- * carry a session model (equities RTH/ETH, exchange holidays). */
373
- type MarketStatus = 'open' | 'pre' | 'post' | 'closed' | 'holiday';
374
- /** The status line's toggleable segments (the settings dialog's Status line tab). */
375
- type StatuslinePart = 'name' | 'market' | 'ohlc' | 'change';
376
- declare class Statusline {
377
- private readonly host;
378
- /** The avatar's icon URL for a raw symbol — the shell routes it to the owning
379
- * provider's `resolveSymbolIcon`. Absent ⇒ the initials badge. */
380
- private readonly iconFor?;
381
- readonly el: HTMLElement;
382
- private readonly ohlcEl;
383
- private readonly changeEl;
384
- private readonly symbolEl;
385
- private readonly marketEl;
386
- /** The badge itself — a kit callout bubble (the same element as {@link marketEl}). */
387
- private readonly marketBubble;
388
- private marketTip;
389
- private avatarEl;
390
- private metaEl;
391
- private readonly parts;
392
- private lastBar;
393
- private hoverBar;
394
- private unsubs;
395
- /** Up/down ink for the OHLC + change values — the ACTIVE price style's configured
396
- * colors (candle bodies, bar ticks, the line color, …); null falls back to the theme
397
- * tokens. `isUp` overrides the close-vs-open direction rule where the style paints by
398
- * something else (baseline: position against the baseline price). */
399
- private upColor;
400
- private downColor;
401
- private isUp;
402
- /** 'ohlc' for bar-shaped styles; 'value' (the single plotted close) for line styles. */
403
- private readout;
404
- /** Fit mode (multi-chart cells): one row, overflowing segments hidden — see {@link setFitMode}. */
405
- private fitMode;
406
- private fitRO;
407
- constructor(host: HTMLElement, symbol: string,
408
- /** The avatar's icon URL for a raw symbol — the shell routes it to the owning
409
- * provider's `resolveSymbolIcon`. Absent ⇒ the initials badge. */
410
- iconFor?: ((symbol: string) => string | undefined) | undefined);
411
- setSymbol(symbol: string): void;
412
- /**
413
- * Multi-chart cells: keep the line on ONE row whatever the cell width — never wrap.
414
- * Segments that don't fit are hidden outright rather than clipped mid-glyph, least
415
- * important first: OHLC, then the bar change, the venue/timeframe meta, and the
416
- * market badge; the logo + ticker always stay. Re-fits live on host resizes.
417
- */
418
- setFitMode(on: boolean): void;
419
- /** Project the parts config onto the segments (the baseline fit() prunes from). */
420
- private syncParts;
421
- /** Hide overflowing segments until the row fits its max-width (fit mode only). */
422
- private fit;
423
- /** Shape + color the value readout after the active price style: its own up/down
424
- * colors (candle bodies, bar ticks, the line color, …), the direction rule that
425
- * picks between them (`isUp` replaces close-vs-open where the style paints by
426
- * something else — baseline by position), and whether the readout is the four
427
- * O/H/L/C values or the single plotted value (one-line styles). Null colors fall
428
- * back to the theme's up/down tokens. See {@link statuslineInkOf}, which derives
429
- * all of it from the live renderer. */
430
- setDirectionColors(up: string | null, down: string | null, isUp?: ((bar: {
431
- open: number;
432
- close: number;
433
- }) => boolean) | null, readout?: StatuslineReadout): void;
434
- /** Show/hide one part (the settings dialog's Status line tab drives these). */
435
- /** The "· BINANCE · 1h" segment after the symbol — venue first, then resolution. */
436
- setMeta(timeframe: string, provider: string): void;
437
- /** Dress the market badge for a session state: its icon, tinted circle, and the
438
- * hover label. Callers with no session model leave the constructor's 'open'. */
439
- setMarketStatus(status: MarketStatus): void;
440
- setPartVisible(part: StatuslinePart, visible: boolean): void;
441
- partVisible(part: StatuslinePart): boolean;
442
- /** (Re)bind to a chart instance — called after every widget rebuild. */
443
- onChart(chart: Vela): void;
444
- destroy(): void;
445
- private detach;
446
- private render;
447
- }
375
+ /** The status line's toggleable segments the settings dialog's Status line tab and
376
+ * the status line's own right-click menu drive these. */
377
+ type StatuslinePart = 'logo' | 'name' | 'market' | 'ohlc' | 'change';
448
378
 
449
- export { Bottombar as B, type CellState as C, type IndicatorLoader as I, type PanelsState as P, type ResolvedIndicator as R, type SyncSetting as S, type TrackSizes as T, type VelaStorage as V, WidgetHistory as W, type StatuslinePart as a, type RangePreset as b, type VelaShellOptions as c, type SyncOptions as d, type SyncKind as e, type WorkspaceState as f, type ChartState as g, decodeState as h, encodeState as i, type TopbarComposition as j, type BottombarOptions as k, type IndicatorManifest as l, type IndicatorManifestEntry as m, RANGE_PRESETS as n, type ResolvedTopbarComposition as o, Statusline as p, TOPBAR_BUILTIN_IDS as q, TOPBAR_DEFAULT_LEFT as r, sanitizeState as s, TOPBAR_DEFAULT_RIGHT as t, type WidgetStorage as u, localStorageAdapter as v, pinnedTopbarActionIds as w, resolveIndicators as x, resolveTopbarComposition as y, topbarHas as z };
379
+ export { Bottombar as B, type CellState as C, type IndicatorLoader as I, type PanelsState as P, type ResolvedIndicator as R, type SyncSetting as S, type TrackSizes as T, type VelaStorage as V, WidgetHistory as W, type StatuslinePart as a, type RangePreset as b, type VelaShellOptions as c, type SyncOptions as d, type SyncKind as e, type WorkspaceState as f, type ChartState as g, decodeState as h, encodeState as i, type TopbarComposition as j, type BottombarOptions as k, type IndicatorManifest as l, type IndicatorManifestEntry as m, RANGE_PRESETS as n, type ResolvedTopbarComposition as o, TOPBAR_BUILTIN_IDS as p, TOPBAR_DEFAULT_LEFT as q, TOPBAR_DEFAULT_RIGHT as r, sanitizeState as s, type WidgetStorage as t, localStorageAdapter as u, pinnedTopbarActionIds as v, resolveIndicators as w, resolveTopbarComposition as x, topbarHas as y };
@@ -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-DhzstpQb.js';
2
+ import { S as ScriptingEngine, V as Vela } from './contributions-37nni40G.js';
3
+ import { V as VisibleRangePreset } from './options-CYS5Wmlx.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
@@ -364,86 +372,8 @@ declare class Bottombar {
364
372
  private tick;
365
373
  }
366
374
 
367
- /** How the status line reads a bar out: the four O/H/L/C values (bar-shaped styles),
368
- * or the single plotted value the close — for one-line styles (line/area/baseline). */
369
- type StatuslineReadout = 'ohlc' | 'value';
370
- /** The market session states the status badge can wear. Crypto venues trade
371
- * continuously and stay 'open'; the full vocabulary is ready for providers that
372
- * carry a session model (equities RTH/ETH, exchange holidays). */
373
- type MarketStatus = 'open' | 'pre' | 'post' | 'closed' | 'holiday';
374
- /** The status line's toggleable segments (the settings dialog's Status line tab). */
375
- type StatuslinePart = 'name' | 'market' | 'ohlc' | 'change';
376
- declare class Statusline {
377
- private readonly host;
378
- /** The avatar's icon URL for a raw symbol — the shell routes it to the owning
379
- * provider's `resolveSymbolIcon`. Absent ⇒ the initials badge. */
380
- private readonly iconFor?;
381
- readonly el: HTMLElement;
382
- private readonly ohlcEl;
383
- private readonly changeEl;
384
- private readonly symbolEl;
385
- private readonly marketEl;
386
- /** The badge itself — a kit callout bubble (the same element as {@link marketEl}). */
387
- private readonly marketBubble;
388
- private marketTip;
389
- private avatarEl;
390
- private metaEl;
391
- private readonly parts;
392
- private lastBar;
393
- private hoverBar;
394
- private unsubs;
395
- /** Up/down ink for the OHLC + change values — the ACTIVE price style's configured
396
- * colors (candle bodies, bar ticks, the line color, …); null falls back to the theme
397
- * tokens. `isUp` overrides the close-vs-open direction rule where the style paints by
398
- * something else (baseline: position against the baseline price). */
399
- private upColor;
400
- private downColor;
401
- private isUp;
402
- /** 'ohlc' for bar-shaped styles; 'value' (the single plotted close) for line styles. */
403
- private readout;
404
- /** Fit mode (multi-chart cells): one row, overflowing segments hidden — see {@link setFitMode}. */
405
- private fitMode;
406
- private fitRO;
407
- constructor(host: HTMLElement, symbol: string,
408
- /** The avatar's icon URL for a raw symbol — the shell routes it to the owning
409
- * provider's `resolveSymbolIcon`. Absent ⇒ the initials badge. */
410
- iconFor?: ((symbol: string) => string | undefined) | undefined);
411
- setSymbol(symbol: string): void;
412
- /**
413
- * Multi-chart cells: keep the line on ONE row whatever the cell width — never wrap.
414
- * Segments that don't fit are hidden outright rather than clipped mid-glyph, least
415
- * important first: OHLC, then the bar change, the venue/timeframe meta, and the
416
- * market badge; the logo + ticker always stay. Re-fits live on host resizes.
417
- */
418
- setFitMode(on: boolean): void;
419
- /** Project the parts config onto the segments (the baseline fit() prunes from). */
420
- private syncParts;
421
- /** Hide overflowing segments until the row fits its max-width (fit mode only). */
422
- private fit;
423
- /** Shape + color the value readout after the active price style: its own up/down
424
- * colors (candle bodies, bar ticks, the line color, …), the direction rule that
425
- * picks between them (`isUp` replaces close-vs-open where the style paints by
426
- * something else — baseline by position), and whether the readout is the four
427
- * O/H/L/C values or the single plotted value (one-line styles). Null colors fall
428
- * back to the theme's up/down tokens. See {@link statuslineInkOf}, which derives
429
- * all of it from the live renderer. */
430
- setDirectionColors(up: string | null, down: string | null, isUp?: ((bar: {
431
- open: number;
432
- close: number;
433
- }) => boolean) | null, readout?: StatuslineReadout): void;
434
- /** Show/hide one part (the settings dialog's Status line tab drives these). */
435
- /** The "· BINANCE · 1h" segment after the symbol — venue first, then resolution. */
436
- setMeta(timeframe: string, provider: string): void;
437
- /** Dress the market badge for a session state: its icon, tinted circle, and the
438
- * hover label. Callers with no session model leave the constructor's 'open'. */
439
- setMarketStatus(status: MarketStatus): void;
440
- setPartVisible(part: StatuslinePart, visible: boolean): void;
441
- partVisible(part: StatuslinePart): boolean;
442
- /** (Re)bind to a chart instance — called after every widget rebuild. */
443
- onChart(chart: Vela): void;
444
- destroy(): void;
445
- private detach;
446
- private render;
447
- }
375
+ /** The status line's toggleable segments the settings dialog's Status line tab and
376
+ * the status line's own right-click menu drive these. */
377
+ type StatuslinePart = 'logo' | 'name' | 'market' | 'ohlc' | 'change';
448
378
 
449
- export { Bottombar as B, type CellState as C, type IndicatorLoader as I, type PanelsState as P, type ResolvedIndicator as R, type SyncSetting as S, type TrackSizes as T, type VelaStorage as V, WidgetHistory as W, type StatuslinePart as a, type RangePreset as b, type VelaShellOptions as c, type SyncOptions as d, type SyncKind as e, type WorkspaceState as f, type ChartState as g, decodeState as h, encodeState as i, type TopbarComposition as j, type BottombarOptions as k, type IndicatorManifest as l, type IndicatorManifestEntry as m, RANGE_PRESETS as n, type ResolvedTopbarComposition as o, Statusline as p, TOPBAR_BUILTIN_IDS as q, TOPBAR_DEFAULT_LEFT as r, sanitizeState as s, TOPBAR_DEFAULT_RIGHT as t, type WidgetStorage as u, localStorageAdapter as v, pinnedTopbarActionIds as w, resolveIndicators as x, resolveTopbarComposition as y, topbarHas as z };
379
+ export { Bottombar as B, type CellState as C, type IndicatorLoader as I, type PanelsState as P, type ResolvedIndicator as R, type SyncSetting as S, type TrackSizes as T, type VelaStorage as V, WidgetHistory as W, type StatuslinePart as a, type RangePreset as b, type VelaShellOptions as c, type SyncOptions as d, type SyncKind as e, type WorkspaceState as f, type ChartState as g, decodeState as h, encodeState as i, type TopbarComposition as j, type BottombarOptions as k, type IndicatorManifest as l, type IndicatorManifestEntry as m, RANGE_PRESETS as n, type ResolvedTopbarComposition as o, TOPBAR_BUILTIN_IDS as p, TOPBAR_DEFAULT_LEFT as q, TOPBAR_DEFAULT_RIGHT as r, sanitizeState as s, type WidgetStorage as t, localStorageAdapter as u, pinnedTopbarActionIds as v, resolveIndicators as w, resolveTopbarComposition as x, topbarHas as y };
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-CYS5Wmlx.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-CYS5Wmlx.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';