@luxalgo/vela 0.8.4 → 0.9.0

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 (139) hide show
  1. package/dist/{DataProvider-Byo8pEv0.d.ts → DataProvider-BGlB1zSc.d.ts} +1 -1
  2. package/dist/{DataProvider-Bw58CjYy.d.cts → DataProvider-zJGp58kb.d.cts} +1 -1
  3. package/dist/{chunk-MOJ4T26N.js → chunk-4WAHYL7Y.js} +1151 -474
  4. package/dist/chunk-O6L27KRB.js +1331 -0
  5. package/dist/{chunk-WY5H4S4I.js → chunk-PZN4RS4T.js} +91 -36
  6. package/dist/{chunk-AUOB7A5Y.js → chunk-WHPQQYH7.js} +29 -13
  7. package/dist/{chunk-UNUVPQFW.js → chunk-XIRSR3D6.js} +2837 -1604
  8. package/dist/{chunk-ALTGHKIM.js → chunk-YRCL3WMD.js} +510 -406
  9. package/dist/{contributions-BY3zSYiZ.d.ts → contributions-BjefWpxQ.d.ts} +106 -25
  10. package/dist/{contributions-DOm40g5-.d.cts → contributions-CpCJisTC.d.cts} +106 -25
  11. package/dist/index.cjs +4485 -2163
  12. package/dist/index.d.cts +67 -25
  13. package/dist/index.d.ts +67 -25
  14. package/dist/index.js +5 -5
  15. package/dist/{keymap-CGOz5F5f.d.ts → keymap-B9_FLhfJ.d.cts} +9 -6
  16. package/dist/{keymap-CGOz5F5f.d.cts → keymap-UolhuXH1.d.ts} +9 -6
  17. package/dist/locales/ar.cjs +2260 -0
  18. package/dist/locales/ar.d.cts +5 -0
  19. package/dist/locales/ar.d.ts +5 -0
  20. package/dist/locales/ar.js +2258 -0
  21. package/dist/locales/de.cjs +2260 -0
  22. package/dist/locales/de.d.cts +5 -0
  23. package/dist/locales/de.d.ts +5 -0
  24. package/dist/locales/de.js +2258 -0
  25. package/dist/locales/en.cjs +2260 -0
  26. package/dist/locales/en.d.cts +5 -0
  27. package/dist/locales/en.d.ts +5 -0
  28. package/dist/locales/en.js +2258 -0
  29. package/dist/locales/es.cjs +2260 -0
  30. package/dist/locales/es.d.cts +5 -0
  31. package/dist/locales/es.d.ts +5 -0
  32. package/dist/locales/es.js +2258 -0
  33. package/dist/locales/fr.cjs +2260 -0
  34. package/dist/locales/fr.d.cts +5 -0
  35. package/dist/locales/fr.d.ts +5 -0
  36. package/dist/locales/fr.js +2258 -0
  37. package/dist/locales/he.cjs +2260 -0
  38. package/dist/locales/he.d.cts +5 -0
  39. package/dist/locales/he.d.ts +5 -0
  40. package/dist/locales/he.js +2258 -0
  41. package/dist/locales/hi.cjs +2260 -0
  42. package/dist/locales/hi.d.cts +5 -0
  43. package/dist/locales/hi.d.ts +5 -0
  44. package/dist/locales/hi.js +2258 -0
  45. package/dist/locales/id.cjs +2260 -0
  46. package/dist/locales/id.d.cts +5 -0
  47. package/dist/locales/id.d.ts +5 -0
  48. package/dist/locales/id.js +2258 -0
  49. package/dist/locales/it.cjs +2260 -0
  50. package/dist/locales/it.d.cts +5 -0
  51. package/dist/locales/it.d.ts +5 -0
  52. package/dist/locales/it.js +2258 -0
  53. package/dist/locales/ja.cjs +2260 -0
  54. package/dist/locales/ja.d.cts +5 -0
  55. package/dist/locales/ja.d.ts +5 -0
  56. package/dist/locales/ja.js +2258 -0
  57. package/dist/locales/ko.cjs +2260 -0
  58. package/dist/locales/ko.d.cts +5 -0
  59. package/dist/locales/ko.d.ts +5 -0
  60. package/dist/locales/ko.js +2258 -0
  61. package/dist/locales/ms.cjs +2260 -0
  62. package/dist/locales/ms.d.cts +5 -0
  63. package/dist/locales/ms.d.ts +5 -0
  64. package/dist/locales/ms.js +2258 -0
  65. package/dist/locales/pl.cjs +2260 -0
  66. package/dist/locales/pl.d.cts +5 -0
  67. package/dist/locales/pl.d.ts +5 -0
  68. package/dist/locales/pl.js +2258 -0
  69. package/dist/locales/pt-BR.cjs +2260 -0
  70. package/dist/locales/pt-BR.d.cts +5 -0
  71. package/dist/locales/pt-BR.d.ts +5 -0
  72. package/dist/locales/pt-BR.js +2258 -0
  73. package/dist/locales/ru.cjs +2260 -0
  74. package/dist/locales/ru.d.cts +5 -0
  75. package/dist/locales/ru.d.ts +5 -0
  76. package/dist/locales/ru.js +2258 -0
  77. package/dist/locales/th.cjs +2260 -0
  78. package/dist/locales/th.d.cts +5 -0
  79. package/dist/locales/th.d.ts +5 -0
  80. package/dist/locales/th.js +2258 -0
  81. package/dist/locales/tr.cjs +2260 -0
  82. package/dist/locales/tr.d.cts +5 -0
  83. package/dist/locales/tr.d.ts +5 -0
  84. package/dist/locales/tr.js +2258 -0
  85. package/dist/locales/vi.cjs +2260 -0
  86. package/dist/locales/vi.d.cts +5 -0
  87. package/dist/locales/vi.d.ts +5 -0
  88. package/dist/locales/vi.js +2258 -0
  89. package/dist/locales/zh-Hans.cjs +2260 -0
  90. package/dist/locales/zh-Hans.d.cts +5 -0
  91. package/dist/locales/zh-Hans.d.ts +5 -0
  92. package/dist/locales/zh-Hans.js +2258 -0
  93. package/dist/locales/zh-Hant.cjs +2260 -0
  94. package/dist/locales/zh-Hant.d.cts +5 -0
  95. package/dist/locales/zh-Hant.d.ts +5 -0
  96. package/dist/locales/zh-Hant.js +2258 -0
  97. package/dist/{options-CSXbjMM5.d.cts → options-CpegHml_.d.cts} +110 -10
  98. package/dist/{options-CSXbjMM5.d.ts → options-D4L3_hv_.d.ts} +110 -10
  99. package/dist/{plugin-BDxUhGO3.d.ts → plugin-DTmulpKM.d.ts} +92 -40
  100. package/dist/{plugin-CiQVyETg.d.cts → plugin-DpNp4aBi.d.cts} +92 -40
  101. package/dist/plugin.cjs +1267 -319
  102. package/dist/plugin.d.cts +7 -6
  103. package/dist/plugin.d.ts +7 -6
  104. package/dist/plugin.js +3 -3
  105. package/dist/providers/binance.cjs +1 -1
  106. package/dist/providers/binance.d.cts +3 -2
  107. package/dist/providers/binance.d.ts +3 -2
  108. package/dist/providers/binance.js +1 -1
  109. package/dist/providers/coinbase.cjs +1 -1
  110. package/dist/providers/coinbase.d.cts +3 -2
  111. package/dist/providers/coinbase.d.ts +3 -2
  112. package/dist/providers/coinbase.js +1 -1
  113. package/dist/providers/hyperliquid.cjs +1 -1
  114. package/dist/providers/hyperliquid.d.cts +3 -2
  115. package/dist/providers/hyperliquid.d.ts +3 -2
  116. package/dist/providers/hyperliquid.js +1 -1
  117. package/dist/{side-panel-_2UK1gSm.d.ts → side-panel-BqUnpfev.d.cts} +13 -2
  118. package/dist/{side-panel-_2UK1gSm.d.cts → side-panel-CYmH1Opm.d.ts} +13 -2
  119. package/dist/{statusline-model-C9tYXuux.d.ts → statusline-model-C3yIY9WE.d.ts} +11 -3
  120. package/dist/{statusline-model-DUBX6Fib.d.cts → statusline-model-pGs3Xvp-.d.cts} +11 -3
  121. package/dist/types-BlrXRLIR.d.cts +2515 -0
  122. package/dist/types-BlrXRLIR.d.ts +2515 -0
  123. package/dist/ui.cjs +1008 -56
  124. package/dist/ui.d.cts +21 -2
  125. package/dist/ui.d.ts +21 -2
  126. package/dist/ui.js +3 -3
  127. package/dist/vela.global.js +4451 -2131
  128. package/dist/vela.global.min.js +57 -57
  129. package/dist/widget.cjs +5819 -2780
  130. package/dist/widget.d.cts +100 -26
  131. package/dist/widget.d.ts +100 -26
  132. package/dist/widget.js +19 -11
  133. package/dist/workspace.cjs +5808 -2787
  134. package/dist/workspace.d.cts +63 -15
  135. package/dist/workspace.d.ts +63 -15
  136. package/dist/workspace.js +6 -6
  137. package/package.json +9 -2
  138. package/dist/chunk-I2U4NZD2.js +0 -340
  139. /package/dist/{chunk-W5YPYZ2P.js → chunk-3EYCX2L4.js} +0 -0
package/dist/plugin.d.cts CHANGED
@@ -1,7 +1,8 @@
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 CHIP_PLATE, f as CROSSHAIR, g as ChartTypeDefinition, h as ChartTypeSettingsInstance, i as ChartTypeSettingsSection, j as ChartTypeSettingsSubsection, D as DrawingTypeMeta, H as HIGHLIGHT, I as INFO, k as INVALID, l as IdentifiableKind, M as MARKER, N as NEUTRAL, m as NormalizedSettingsRow, R as RendererLayerArgs, n as RendererLayerDefinition, o as RendererLayerInstance, p as SERIES_LINE, q as SESSION_OFF, r as SESSION_POST, s as SESSION_PRE, t as SLATE, u as SLATE_DEEP, v as SeriesDataEngine, w as SeriesDataEngineHost, x as SettingsInlineControl, y as SettingsRowCondition, z as SettingsRowDescriptor, E as SettingsRowInlineNumber, F as SettingsRowSwatch, G as SettingsRowValueKey, J as SettingsRowWhen, K as SettingsRowWidth, S as SettingsSelectOption, L as SettingsValueRow, T as TRADE_EXIT, O as TRADE_LONG, P as TRADE_SHORT, V as VALID, W as WARNING, Q as categoricalColor, U as chartType, X as chartTypes, _ as drawingTypes, $ as getDrawingType, a0 as normalizeSettingsRow, a1 as registerChartType, a3 as registerRendererDefaults, a4 as registerRendererLayer, a5 as rendererDefaults, a6 as rendererLayers, a7 as settingsRowValueKeys, a8 as stableSeriesId, a9 as tickerModifierIds, aa as unregisterChartType, ab as unregisterRendererDefaults, ac as unregisterRendererLayer } from './plugin-CiQVyETg.cjs';
2
- export { B as BarsChangeReason, C as CellStateContext, i as ContextMenuPointer, j as ContextSelect, l as EngineAlert, m as EngineCapabilities, n as EngineContextSnapshot, o as EngineFactory, p as EngineWarning, q as ExecutionHandlers, r as ExecutionMarket, s as ExecutionRequest, t as ExecutionSession, E as ExternalIndicatorEntry, F as FetchSeries, L as LegendActionDescriptor, w as LegendCalloutContent, x as LegendCalloutDescriptor, y as LegendCalloutItem, z as LegendCalloutSpec, A as LegendIndicatorInfo, N as NativeIndicator, G as NativeIndicatorContext, H as NativeIndicatorDescriptor, J as NativeIndicatorInfo, K as NativeIndicatorOutput, O as OVERRIDABLE_TOPBAR_IDS, Q as PreparedScript, c as ScriptRun, $ as ScriptRunCause, a0 as ScriptRunResult, S as ScriptingEngine, a1 as SidePanelButton, a2 as SidePanelDescriptor, a3 as SidePanelHandle, a4 as SidePanelHeader, a5 as StatePersistenceHandler, a6 as StrategyFill, a7 as StrategyState, a8 as StrategyTrade, a9 as SymbolRankingHook, ac as VisibleBarRange, ad as WidgetActionDescriptor, ae as WidgetActionTarget, af as WidgetAttachment, W as WidgetContext, ag as getNativeIndicator, ah as legendActions, ai as legendCallouts, ak as nativeIndicatorTypes, al as registerDefaultEngine, am as registerLegendAction, an as registerLegendCallout, ao as registerNativeIndicator, ap as registerSidePanel, aq as registerStatePersistence, ar as registerSymbolRanking, as as registerWidgetAction, at as registerWidgetAttachment, au as resolveEngines, av as sidePanels, aw as statePersistenceHandlers, ax as symbolRanking, ay as topbarActionOverride, az as unregisterDefaultEngine, aA as unregisterLegendAction, aB as unregisterLegendCallout, aC as unregisterNativeIndicator, aD as unregisterSidePanel, aE as unregisterStatePersistence, aF as unregisterWidgetAction, aG as unregisterWidgetAttachment, aH as widgetActions, aI as widgetAttachments } from './contributions-DOm40g5-.cjs';
3
- export { C as CONTEXT_MENU_BUILTIN_ORDER, 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-_2UK1gSm.cjs';
4
- export { H as Background, J as BoxFontFamily, K as BoxHAlign, Q as BoxTextSize, X as BoxVAlign, Y as CandleBarColor, Z as CandleSeries, _ as CandleStyle, a2 as DirtyRange, a3 as DrawingBox, a4 as DrawingExtend, a6 as DrawingLabel, a7 as DrawingLine, a8 as DrawingLinefill, ab as DrawingPolyline, ag as DrawingTable, z as DrawingTypeKey, ai as DrawingXLoc, ak as Fill, al as FillGradientStop, am as IndicatorMeta, l as IndicatorModel, an as InputCondition, ao as InputSchema, ap as InputType, I as InputValue, aq as InputWhen, au as LabelStyle, av as LabelYLoc, aw as LineLikeKind, ax as LineLikeSeries, ay as LineLikeStyle, L as LineStyle, aE as MarkerPoint, aF as MarkerSeries, x as Millis, O as OHLCV, i as Pane, aH as PaneAxis, aI as PaneAxisBand, aJ as PaneHint, aK as PaneKind, aL as PolylinePoint, aQ as PriceLine, P as PriceStyle, aU as Scene, m as ScenePatch, aV as SchemaPatch, aX as SeriesDisplay, aY as SeriesKind, aZ as SeriesPoint, a_ as SeriesSpec, a$ as SeriesSurface, b0 as SeriesValueDelta, b4 as TableCell, b5 as TableMerge, b6 as TablePosition, b8 as TradeExecution, b9 as ValuePatch, bc as inputDeltas, bd as inputVisible, be as seriesInScale, bf as seriesShownOn } from './options-CSXbjMM5.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 CHIP_PLATE, f as CROSSHAIR, g as ChartTypeDefinition, h as ChartTypeSettingsInstance, i as ChartTypeSettingsSection, j as ChartTypeSettingsSubsection, D as DrawingTypeMeta, H as HIGHLIGHT, I as INFO, k as INVALID, l as IdentifiableKind, M as MARKER, m as MessageValues, N as NEUTRAL, n as NormalizedSettingsRow, R as RendererLayerArgs, o as RendererLayerDefinition, p as RendererLayerInstance, q as SERIES_LINE, r as SESSION_OFF, s as SESSION_POST, t as SESSION_PRE, u as SLATE, v as SLATE_DEEP, w as SeriesDataEngine, x as SeriesDataEngineHost, y as SettingsInlineControl, z as SettingsRowCondition, E as SettingsRowDescriptor, F as SettingsRowInlineNumber, G as SettingsRowSwatch, J as SettingsRowValueKey, K as SettingsRowWhen, L as SettingsRowWidth, S as SettingsSelectOption, O as SettingsValueRow, T as TRADE_EXIT, P as TRADE_LONG, Q as TRADE_SHORT, V as VALID, W as WARNING, U as categoricalColor, X as chartType, Y as chartTypes, _ as createTranslator, a0 as drawingTypes, a1 as getDrawingType, a2 as msg, a3 as normalizeSettingsRow, a4 as registerChartType, a6 as registerLocale, a7 as registerRendererDefaults, a8 as registerRendererLayer, a9 as registeredLocales, aa as rendererDefaults, ab as rendererLayers, ac as settingsRowValueKeys, ad as stableSeriesId, ae as tickerModifierIds, af as unregisterChartType, ag as unregisterRendererDefaults, ah as unregisterRendererLayer, ai as withValues } from './plugin-DpNp4aBi.cjs';
2
+ export { C as ClockFormatContext, d as ClockFormatOptions, e as CompactFormatContext, f as CompactFormatOptions, D as DurationFormatContext, g as DurationFormatOptions, F as FormatContext, h as FormatSurface, c as LocaleChangedEvent, L as LocalePack, b as LocalizationOptions, a as MessageArgs, i as MessageDescriptor, M as MessageLike, P as PercentFormatContext, j as PercentFormatOptions, k as PriceFormatContext, l as PriceFormatOptions, R as ResolvedFormatters, m as TextDirection, n as TimeStampFormatContext, o as TimeStampFormatOptions, p as TimeTickFormatContext, q as TimeTickFormatOptions, r as TimeTickUnit, T as Translator, V as VelaFormatters, s as VelaMessageCatalog, t as VelaMessageId } from './types-BlrXRLIR.cjs';
3
+ export { B as BarsChangeReason, C as CellStateContext, i as ContextMenuPointer, j as ContextSelect, l as EngineAlert, m as EngineCapabilities, n as EngineContextSnapshot, o as EngineFactory, p as EngineWarning, q as ExecutionHandlers, r as ExecutionMarket, s as ExecutionRequest, t as ExecutionSession, E as ExternalIndicatorEntry, F as FetchSeries, L as LegendActionDescriptor, w as LegendCalloutContent, x as LegendCalloutDescriptor, y as LegendCalloutItem, z as LegendCalloutSpec, A as LegendIndicatorInfo, N as NativeIndicator, G as NativeIndicatorContext, H as NativeIndicatorDescriptor, J as NativeIndicatorInfo, K as NativeIndicatorOutput, O as OVERRIDABLE_TOPBAR_IDS, Q as PreparedScript, c as ScriptRun, $ as ScriptRunCause, a0 as ScriptRunResult, S as ScriptingEngine, a1 as SidePanelButton, a2 as SidePanelDescriptor, a3 as SidePanelHandle, a4 as SidePanelHeader, a5 as StatePersistenceHandler, a6 as StrategyFill, a7 as StrategyState, a8 as StrategyTrade, a9 as SymbolRankingHook, ac as VisibleBarRange, ad as WidgetActionDescriptor, ae as WidgetActionTarget, af as WidgetAttachment, W as WidgetContext, ag as getNativeIndicator, ah as legendActions, ai as legendCallouts, ak as nativeIndicatorTypes, al as registerDefaultEngine, am as registerLegendAction, an as registerLegendCallout, ao as registerNativeIndicator, ap as registerSidePanel, aq as registerStatePersistence, ar as registerSymbolRanking, as as registerWidgetAction, at as registerWidgetAttachment, au as resolveEngines, av as sidePanels, aw as statePersistenceHandlers, ax as symbolRanking, ay as topbarActionOverride, az as unregisterDefaultEngine, aA as unregisterLegendAction, aB as unregisterLegendCallout, aC as unregisterNativeIndicator, aD as unregisterSidePanel, aE as unregisterStatePersistence, aF as unregisterWidgetAction, aG as unregisterWidgetAttachment, aH as widgetActions, aI as widgetAttachments } from './contributions-CpCJisTC.cjs';
4
+ export { C as CONTEXT_MENU_BUILTIN_ORDER, 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-BqUnpfev.cjs';
5
+ export { J as Background, K as BoxFontFamily, Q as BoxHAlign, X as BoxTextSize, Y as BoxVAlign, Z as CandleBarColor, _ as CandleSeries, $ as CandleStyle, a3 as DirtyRange, a4 as DrawingBox, a5 as DrawingExtend, a7 as DrawingLabel, a8 as DrawingLine, a9 as DrawingLinefill, ac as DrawingPolyline, ah as DrawingTable, B as DrawingTypeKey, aj as DrawingXLoc, al as Fill, am as FillGradientStop, an as IndicatorMeta, m as IndicatorModel, ao as InputCondition, ap as InputDisplay, aq as InputSchema, ar as InputType, I as InputValue, as as InputWhen, aw as LabelStyle, ax as LabelYLoc, ay as LineLikeKind, az as LineLikeSeries, aA as LineLikeStyle, L as LineStyle, aG as MarkerPoint, aH as MarkerSeries, y as Millis, O as OHLCV, j as Pane, aJ as PaneAxis, aK as PaneAxisBand, aL as PaneHint, aM as PaneKind, aN as PolylinePoint, aS as PriceLine, P as PriceStyle, aW as Scene, n as ScenePatch, aX as SchemaPatch, aZ as SeriesDisplay, a_ as SeriesKind, a$ as SeriesPoint, b0 as SeriesSpec, b1 as SeriesSurface, b2 as SeriesValueDelta, b6 as TableCell, b7 as TableMerge, b8 as TablePosition, ba as TradeExecution, bb as ValuePatch, be as inputDeltas, bf as inputVisible, bg as seriesInScale, bh as seriesShownOn } from './options-CpegHml_.cjs';
5
6
  export { i as iconMarkup, r as registerIcon } from './icons-BZYbJXSV.cjs';
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-Bw58CjYy.cjs';
7
+ export { a as KeyBindingDescriptor, R as ResolvedBinding } from './keymap-B9_FLhfJ.cjs';
8
+ export { B as BarRange, D as DataProvider, M as MarketDataFeed, b as ProviderCapabilities, P as ProviderInfo, a as SymbolDescriptor, S as SymbolInfo } from './DataProvider-zJGp58kb.cjs';
package/dist/plugin.d.ts CHANGED
@@ -1,7 +1,8 @@
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 CHIP_PLATE, f as CROSSHAIR, g as ChartTypeDefinition, h as ChartTypeSettingsInstance, i as ChartTypeSettingsSection, j as ChartTypeSettingsSubsection, D as DrawingTypeMeta, H as HIGHLIGHT, I as INFO, k as INVALID, l as IdentifiableKind, M as MARKER, N as NEUTRAL, m as NormalizedSettingsRow, R as RendererLayerArgs, n as RendererLayerDefinition, o as RendererLayerInstance, p as SERIES_LINE, q as SESSION_OFF, r as SESSION_POST, s as SESSION_PRE, t as SLATE, u as SLATE_DEEP, v as SeriesDataEngine, w as SeriesDataEngineHost, x as SettingsInlineControl, y as SettingsRowCondition, z as SettingsRowDescriptor, E as SettingsRowInlineNumber, F as SettingsRowSwatch, G as SettingsRowValueKey, J as SettingsRowWhen, K as SettingsRowWidth, S as SettingsSelectOption, L as SettingsValueRow, T as TRADE_EXIT, O as TRADE_LONG, P as TRADE_SHORT, V as VALID, W as WARNING, Q as categoricalColor, U as chartType, X as chartTypes, _ as drawingTypes, $ as getDrawingType, a0 as normalizeSettingsRow, a1 as registerChartType, a3 as registerRendererDefaults, a4 as registerRendererLayer, a5 as rendererDefaults, a6 as rendererLayers, a7 as settingsRowValueKeys, a8 as stableSeriesId, a9 as tickerModifierIds, aa as unregisterChartType, ab as unregisterRendererDefaults, ac as unregisterRendererLayer } from './plugin-BDxUhGO3.js';
2
- export { B as BarsChangeReason, C as CellStateContext, i as ContextMenuPointer, j as ContextSelect, l as EngineAlert, m as EngineCapabilities, n as EngineContextSnapshot, o as EngineFactory, p as EngineWarning, q as ExecutionHandlers, r as ExecutionMarket, s as ExecutionRequest, t as ExecutionSession, E as ExternalIndicatorEntry, F as FetchSeries, L as LegendActionDescriptor, w as LegendCalloutContent, x as LegendCalloutDescriptor, y as LegendCalloutItem, z as LegendCalloutSpec, A as LegendIndicatorInfo, N as NativeIndicator, G as NativeIndicatorContext, H as NativeIndicatorDescriptor, J as NativeIndicatorInfo, K as NativeIndicatorOutput, O as OVERRIDABLE_TOPBAR_IDS, Q as PreparedScript, c as ScriptRun, $ as ScriptRunCause, a0 as ScriptRunResult, S as ScriptingEngine, a1 as SidePanelButton, a2 as SidePanelDescriptor, a3 as SidePanelHandle, a4 as SidePanelHeader, a5 as StatePersistenceHandler, a6 as StrategyFill, a7 as StrategyState, a8 as StrategyTrade, a9 as SymbolRankingHook, ac as VisibleBarRange, ad as WidgetActionDescriptor, ae as WidgetActionTarget, af as WidgetAttachment, W as WidgetContext, ag as getNativeIndicator, ah as legendActions, ai as legendCallouts, ak as nativeIndicatorTypes, al as registerDefaultEngine, am as registerLegendAction, an as registerLegendCallout, ao as registerNativeIndicator, ap as registerSidePanel, aq as registerStatePersistence, ar as registerSymbolRanking, as as registerWidgetAction, at as registerWidgetAttachment, au as resolveEngines, av as sidePanels, aw as statePersistenceHandlers, ax as symbolRanking, ay as topbarActionOverride, az as unregisterDefaultEngine, aA as unregisterLegendAction, aB as unregisterLegendCallout, aC as unregisterNativeIndicator, aD as unregisterSidePanel, aE as unregisterStatePersistence, aF as unregisterWidgetAction, aG as unregisterWidgetAttachment, aH as widgetActions, aI as widgetAttachments } from './contributions-BY3zSYiZ.js';
3
- export { C as CONTEXT_MENU_BUILTIN_ORDER, 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-_2UK1gSm.js';
4
- export { H as Background, J as BoxFontFamily, K as BoxHAlign, Q as BoxTextSize, X as BoxVAlign, Y as CandleBarColor, Z as CandleSeries, _ as CandleStyle, a2 as DirtyRange, a3 as DrawingBox, a4 as DrawingExtend, a6 as DrawingLabel, a7 as DrawingLine, a8 as DrawingLinefill, ab as DrawingPolyline, ag as DrawingTable, z as DrawingTypeKey, ai as DrawingXLoc, ak as Fill, al as FillGradientStop, am as IndicatorMeta, l as IndicatorModel, an as InputCondition, ao as InputSchema, ap as InputType, I as InputValue, aq as InputWhen, au as LabelStyle, av as LabelYLoc, aw as LineLikeKind, ax as LineLikeSeries, ay as LineLikeStyle, L as LineStyle, aE as MarkerPoint, aF as MarkerSeries, x as Millis, O as OHLCV, i as Pane, aH as PaneAxis, aI as PaneAxisBand, aJ as PaneHint, aK as PaneKind, aL as PolylinePoint, aQ as PriceLine, P as PriceStyle, aU as Scene, m as ScenePatch, aV as SchemaPatch, aX as SeriesDisplay, aY as SeriesKind, aZ as SeriesPoint, a_ as SeriesSpec, a$ as SeriesSurface, b0 as SeriesValueDelta, b4 as TableCell, b5 as TableMerge, b6 as TablePosition, b8 as TradeExecution, b9 as ValuePatch, bc as inputDeltas, bd as inputVisible, be as seriesInScale, bf as seriesShownOn } from './options-CSXbjMM5.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 CHIP_PLATE, f as CROSSHAIR, g as ChartTypeDefinition, h as ChartTypeSettingsInstance, i as ChartTypeSettingsSection, j as ChartTypeSettingsSubsection, D as DrawingTypeMeta, H as HIGHLIGHT, I as INFO, k as INVALID, l as IdentifiableKind, M as MARKER, m as MessageValues, N as NEUTRAL, n as NormalizedSettingsRow, R as RendererLayerArgs, o as RendererLayerDefinition, p as RendererLayerInstance, q as SERIES_LINE, r as SESSION_OFF, s as SESSION_POST, t as SESSION_PRE, u as SLATE, v as SLATE_DEEP, w as SeriesDataEngine, x as SeriesDataEngineHost, y as SettingsInlineControl, z as SettingsRowCondition, E as SettingsRowDescriptor, F as SettingsRowInlineNumber, G as SettingsRowSwatch, J as SettingsRowValueKey, K as SettingsRowWhen, L as SettingsRowWidth, S as SettingsSelectOption, O as SettingsValueRow, T as TRADE_EXIT, P as TRADE_LONG, Q as TRADE_SHORT, V as VALID, W as WARNING, U as categoricalColor, X as chartType, Y as chartTypes, _ as createTranslator, a0 as drawingTypes, a1 as getDrawingType, a2 as msg, a3 as normalizeSettingsRow, a4 as registerChartType, a6 as registerLocale, a7 as registerRendererDefaults, a8 as registerRendererLayer, a9 as registeredLocales, aa as rendererDefaults, ab as rendererLayers, ac as settingsRowValueKeys, ad as stableSeriesId, ae as tickerModifierIds, af as unregisterChartType, ag as unregisterRendererDefaults, ah as unregisterRendererLayer, ai as withValues } from './plugin-DTmulpKM.js';
2
+ export { C as ClockFormatContext, d as ClockFormatOptions, e as CompactFormatContext, f as CompactFormatOptions, D as DurationFormatContext, g as DurationFormatOptions, F as FormatContext, h as FormatSurface, c as LocaleChangedEvent, L as LocalePack, b as LocalizationOptions, a as MessageArgs, i as MessageDescriptor, M as MessageLike, P as PercentFormatContext, j as PercentFormatOptions, k as PriceFormatContext, l as PriceFormatOptions, R as ResolvedFormatters, m as TextDirection, n as TimeStampFormatContext, o as TimeStampFormatOptions, p as TimeTickFormatContext, q as TimeTickFormatOptions, r as TimeTickUnit, T as Translator, V as VelaFormatters, s as VelaMessageCatalog, t as VelaMessageId } from './types-BlrXRLIR.js';
3
+ export { B as BarsChangeReason, C as CellStateContext, i as ContextMenuPointer, j as ContextSelect, l as EngineAlert, m as EngineCapabilities, n as EngineContextSnapshot, o as EngineFactory, p as EngineWarning, q as ExecutionHandlers, r as ExecutionMarket, s as ExecutionRequest, t as ExecutionSession, E as ExternalIndicatorEntry, F as FetchSeries, L as LegendActionDescriptor, w as LegendCalloutContent, x as LegendCalloutDescriptor, y as LegendCalloutItem, z as LegendCalloutSpec, A as LegendIndicatorInfo, N as NativeIndicator, G as NativeIndicatorContext, H as NativeIndicatorDescriptor, J as NativeIndicatorInfo, K as NativeIndicatorOutput, O as OVERRIDABLE_TOPBAR_IDS, Q as PreparedScript, c as ScriptRun, $ as ScriptRunCause, a0 as ScriptRunResult, S as ScriptingEngine, a1 as SidePanelButton, a2 as SidePanelDescriptor, a3 as SidePanelHandle, a4 as SidePanelHeader, a5 as StatePersistenceHandler, a6 as StrategyFill, a7 as StrategyState, a8 as StrategyTrade, a9 as SymbolRankingHook, ac as VisibleBarRange, ad as WidgetActionDescriptor, ae as WidgetActionTarget, af as WidgetAttachment, W as WidgetContext, ag as getNativeIndicator, ah as legendActions, ai as legendCallouts, ak as nativeIndicatorTypes, al as registerDefaultEngine, am as registerLegendAction, an as registerLegendCallout, ao as registerNativeIndicator, ap as registerSidePanel, aq as registerStatePersistence, ar as registerSymbolRanking, as as registerWidgetAction, at as registerWidgetAttachment, au as resolveEngines, av as sidePanels, aw as statePersistenceHandlers, ax as symbolRanking, ay as topbarActionOverride, az as unregisterDefaultEngine, aA as unregisterLegendAction, aB as unregisterLegendCallout, aC as unregisterNativeIndicator, aD as unregisterSidePanel, aE as unregisterStatePersistence, aF as unregisterWidgetAction, aG as unregisterWidgetAttachment, aH as widgetActions, aI as widgetAttachments } from './contributions-BjefWpxQ.js';
4
+ export { C as CONTEXT_MENU_BUILTIN_ORDER, 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-CYmH1Opm.js';
5
+ export { J as Background, K as BoxFontFamily, Q as BoxHAlign, X as BoxTextSize, Y as BoxVAlign, Z as CandleBarColor, _ as CandleSeries, $ as CandleStyle, a3 as DirtyRange, a4 as DrawingBox, a5 as DrawingExtend, a7 as DrawingLabel, a8 as DrawingLine, a9 as DrawingLinefill, ac as DrawingPolyline, ah as DrawingTable, B as DrawingTypeKey, aj as DrawingXLoc, al as Fill, am as FillGradientStop, an as IndicatorMeta, m as IndicatorModel, ao as InputCondition, ap as InputDisplay, aq as InputSchema, ar as InputType, I as InputValue, as as InputWhen, aw as LabelStyle, ax as LabelYLoc, ay as LineLikeKind, az as LineLikeSeries, aA as LineLikeStyle, L as LineStyle, aG as MarkerPoint, aH as MarkerSeries, y as Millis, O as OHLCV, j as Pane, aJ as PaneAxis, aK as PaneAxisBand, aL as PaneHint, aM as PaneKind, aN as PolylinePoint, aS as PriceLine, P as PriceStyle, aW as Scene, n as ScenePatch, aX as SchemaPatch, aZ as SeriesDisplay, a_ as SeriesKind, a$ as SeriesPoint, b0 as SeriesSpec, b1 as SeriesSurface, b2 as SeriesValueDelta, b6 as TableCell, b7 as TableMerge, b8 as TablePosition, ba as TradeExecution, bb as ValuePatch, be as inputDeltas, bf as inputVisible, bg as seriesInScale, bh as seriesShownOn } from './options-D4L3_hv_.js';
5
6
  export { i as iconMarkup, r as registerIcon } from './icons-BZYbJXSV.js';
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-Byo8pEv0.js';
7
+ export { a as KeyBindingDescriptor, R as ResolvedBinding } from './keymap-UolhuXH1.js';
8
+ export { B as BarRange, D as DataProvider, M as MarketDataFeed, b as ProviderCapabilities, P as ProviderInfo, a as SymbolDescriptor, S as SymbolInfo } from './DataProvider-BGlB1zSc.js';
package/dist/plugin.js CHANGED
@@ -1,3 +1,3 @@
1
- import './chunk-W5YPYZ2P.js';
2
- export { CONTEXT_MENU_BUILTIN_ORDER, 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, seriesInScale, seriesShownOn, settingsRowValueKeys, sidePanels, stableSeriesId, statePersistenceHandlers, symbolRanking, tickerModifierIds, topbarActionOverride, unregisterChartType, unregisterDefaultEngine, unregisterLegendAction, unregisterLegendCallout, unregisterNativeIndicator, unregisterRendererDefaults, unregisterRendererLayer, unregisterSidePanel, unregisterStatePersistence, unregisterWidgetAction, unregisterWidgetAttachment, widgetActions, widgetAttachments } from './chunk-ALTGHKIM.js';
3
- export { ACCENT, ACCENT_BRIGHT, BEARISH, BULLISH, CATEGORICAL, CHIP_PLATE, 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-I2U4NZD2.js';
1
+ import './chunk-3EYCX2L4.js';
2
+ export { CONTEXT_MENU_BUILTIN_ORDER, 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, seriesInScale, seriesShownOn, settingsRowValueKeys, sidePanels, stableSeriesId, statePersistenceHandlers, symbolRanking, tickerModifierIds, topbarActionOverride, unregisterChartType, unregisterDefaultEngine, unregisterLegendAction, unregisterLegendCallout, unregisterNativeIndicator, unregisterRendererDefaults, unregisterRendererLayer, unregisterSidePanel, unregisterStatePersistence, unregisterWidgetAction, unregisterWidgetAttachment, widgetActions, widgetAttachments } from './chunk-YRCL3WMD.js';
3
+ export { ACCENT, ACCENT_BRIGHT, BEARISH, BULLISH, CATEGORICAL, CHIP_PLATE, 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, createTranslator, iconMarkup, msg, registerIcon, registerLocale, registeredLocales, withValues } from './chunk-O6L27KRB.js';
@@ -159,7 +159,7 @@ var BinanceProvider = class {
159
159
  const agg = aggregate(sub, targetMin * 6e4);
160
160
  return range.limit != null && agg.length > range.limit ? agg.slice(-range.limit) : agg;
161
161
  } catch (e) {
162
- console.warn(`[vela] Binance: failed to fetch ${ticker} ${timeframe} \u2014 ${e instanceof Error ? e.message : String(e)}`);
162
+ console.warn(`[vela] Binance: failed to fetch ${ticker} ${timeframe} — ${e instanceof Error ? e.message : String(e)}`);
163
163
  return [];
164
164
  }
165
165
  }
@@ -1,5 +1,6 @@
1
- import { O as OHLCV, U as Unsubscribe } from '../options-CSXbjMM5.cjs';
2
- import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-Bw58CjYy.cjs';
1
+ import { O as OHLCV, U as Unsubscribe } from '../options-CpegHml_.cjs';
2
+ import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-zJGp58kb.cjs';
3
+ import '../types-BlrXRLIR.cjs';
3
4
 
4
5
  /**
5
6
  * Binance market-data provider, built from scratch on the public REST + WebSocket
@@ -1,5 +1,6 @@
1
- import { O as OHLCV, U as Unsubscribe } from '../options-CSXbjMM5.js';
2
- import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-Byo8pEv0.js';
1
+ import { O as OHLCV, U as Unsubscribe } from '../options-D4L3_hv_.js';
2
+ import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-BGlB1zSc.js';
3
+ import '../types-BlrXRLIR.js';
3
4
 
4
5
  /**
5
6
  * Binance market-data provider, built from scratch on the public REST + WebSocket
@@ -148,7 +148,7 @@ var BinanceProvider = class {
148
148
  const agg = aggregate(sub, targetMin * 6e4);
149
149
  return range.limit != null && agg.length > range.limit ? agg.slice(-range.limit) : agg;
150
150
  } catch (e) {
151
- console.warn(`[vela] Binance: failed to fetch ${ticker} ${timeframe} \u2014 ${e instanceof Error ? e.message : String(e)}`);
151
+ console.warn(`[vela] Binance: failed to fetch ${ticker} ${timeframe} — ${e instanceof Error ? e.message : String(e)}`);
152
152
  return [];
153
153
  }
154
154
  }
@@ -214,7 +214,7 @@ var CoinbaseProvider = class {
214
214
  const sub = await this.fetchCandles(product, MIN_TO_GRAN[subMin], subRange);
215
215
  return clampLimit(aggregate(sub, targetMin * 6e4), range.limit);
216
216
  } catch (e) {
217
- console.warn(`[vela] Coinbase: failed to fetch ${ticker} ${timeframe} \u2014 ${e instanceof Error ? e.message : String(e)}`);
217
+ console.warn(`[vela] Coinbase: failed to fetch ${ticker} ${timeframe} — ${e instanceof Error ? e.message : String(e)}`);
218
218
  return [];
219
219
  }
220
220
  }
@@ -1,5 +1,6 @@
1
- import { O as OHLCV, U as Unsubscribe } from '../options-CSXbjMM5.cjs';
2
- import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-Bw58CjYy.cjs';
1
+ import { O as OHLCV, U as Unsubscribe } from '../options-CpegHml_.cjs';
2
+ import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-zJGp58kb.cjs';
3
+ import '../types-BlrXRLIR.cjs';
3
4
 
4
5
  /**
5
6
  * Coinbase market-data provider, built from scratch on the public Exchange REST + WebSocket APIs
@@ -1,5 +1,6 @@
1
- import { O as OHLCV, U as Unsubscribe } from '../options-CSXbjMM5.js';
2
- import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-Byo8pEv0.js';
1
+ import { O as OHLCV, U as Unsubscribe } from '../options-D4L3_hv_.js';
2
+ import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-BGlB1zSc.js';
3
+ import '../types-BlrXRLIR.js';
3
4
 
4
5
  /**
5
6
  * Coinbase market-data provider, built from scratch on the public Exchange REST + WebSocket APIs
@@ -203,7 +203,7 @@ var CoinbaseProvider = class {
203
203
  const sub = await this.fetchCandles(product, MIN_TO_GRAN[subMin], subRange);
204
204
  return clampLimit(aggregate(sub, targetMin * 6e4), range.limit);
205
205
  } catch (e) {
206
- console.warn(`[vela] Coinbase: failed to fetch ${ticker} ${timeframe} \u2014 ${e instanceof Error ? e.message : String(e)}`);
206
+ console.warn(`[vela] Coinbase: failed to fetch ${ticker} ${timeframe} — ${e instanceof Error ? e.message : String(e)}`);
207
207
  return [];
208
208
  }
209
209
  }
@@ -152,7 +152,7 @@ var HyperliquidProvider = class {
152
152
  const agg = aggregate(sub, targetMin * 6e4);
153
153
  return range.limit != null && agg.length > range.limit ? agg.slice(-range.limit) : agg;
154
154
  } catch (e) {
155
- console.warn(`[vela] Hyperliquid: failed to fetch ${ticker} ${timeframe} \u2014 ${e instanceof Error ? e.message : String(e)}`);
155
+ console.warn(`[vela] Hyperliquid: failed to fetch ${ticker} ${timeframe} — ${e instanceof Error ? e.message : String(e)}`);
156
156
  return [];
157
157
  }
158
158
  }
@@ -1,5 +1,6 @@
1
- import { O as OHLCV, U as Unsubscribe } from '../options-CSXbjMM5.cjs';
2
- import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-Bw58CjYy.cjs';
1
+ import { O as OHLCV, U as Unsubscribe } from '../options-CpegHml_.cjs';
2
+ import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-zJGp58kb.cjs';
3
+ import '../types-BlrXRLIR.cjs';
3
4
 
4
5
  /**
5
6
  * Hyperliquid market-data provider, built from scratch on the public info API — no
@@ -1,5 +1,6 @@
1
- import { O as OHLCV, U as Unsubscribe } from '../options-CSXbjMM5.js';
2
- import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-Byo8pEv0.js';
1
+ import { O as OHLCV, U as Unsubscribe } from '../options-D4L3_hv_.js';
2
+ import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-BGlB1zSc.js';
3
+ import '../types-BlrXRLIR.js';
3
4
 
4
5
  /**
5
6
  * Hyperliquid market-data provider, built from scratch on the public info API — no
@@ -141,7 +141,7 @@ var HyperliquidProvider = class {
141
141
  const agg = aggregate(sub, targetMin * 6e4);
142
142
  return range.limit != null && agg.length > range.limit ? agg.slice(-range.limit) : agg;
143
143
  } catch (e) {
144
- console.warn(`[vela] Hyperliquid: failed to fetch ${ticker} ${timeframe} \u2014 ${e instanceof Error ? e.message : String(e)}`);
144
+ console.warn(`[vela] Hyperliquid: failed to fetch ${ticker} ${timeframe} — ${e instanceof Error ? e.message : String(e)}`);
145
145
  return [];
146
146
  }
147
147
  }
@@ -1,3 +1,5 @@
1
+ import { T as Translator, M as MessageLike, a as MessageArgs } from './types-BlrXRLIR.cjs';
2
+
1
3
  /**
2
4
  * The rank of every built-in context-menu row, by zone and row id (`settings` is each
3
5
  * zone's settings row). Contributed `context:*` actions sort TOGETHER with these rows by
@@ -50,6 +52,8 @@ interface SidePanelOptions {
50
52
  /** A header button that MAXIMIZES the panel over every chart of the shell, and restores
51
53
  * it. For panels that are sometimes the main work surface (an editor). */
52
54
  maximizable?: boolean;
55
+ /** The shell's translator (title, header buttons). Absent: English. */
56
+ i18n?: Translator;
53
57
  }
54
58
  /**
55
59
  * Clamp a width to its bounds and round to whole pixels — PURE. The drag, a programmatic
@@ -73,6 +77,9 @@ declare class SidePanel {
73
77
  onPlacementChange: ((overlay: boolean) => void) | null;
74
78
  protected readonly body: HTMLElement;
75
79
  private readonly heading;
80
+ private title;
81
+ private readonly closeButton;
82
+ protected readonly i18n: Translator | null;
76
83
  private readonly slot;
77
84
  private readonly declaredWidth;
78
85
  private readonly minWidth;
@@ -92,7 +99,7 @@ declare class SidePanel {
92
99
  /** The exit animation of a close; a reopen cancels it. */
93
100
  private exit;
94
101
  /** `modifier` is the panel's own class, carrying its content styles (e.g. `vela-ot`). */
95
- constructor(host: HTMLElement, title: string, modifier: string, opts?: SidePanelOptions);
102
+ constructor(host: HTMLElement, title: MessageLike, modifier: string, opts?: SidePanelOptions);
96
103
  get open(): boolean;
97
104
  /**
98
105
  * Open/close the panel — a bare call flips it. The panel reports closed at once, but a
@@ -115,7 +122,11 @@ declare class SidePanel {
115
122
  get headerSlot(): HTMLElement;
116
123
  /** Replace the header title. The topbar toggle keeps the DECLARED title as its
117
124
  * tooltip — this only changes what the open column says about itself. */
118
- setTitle(title: string): void;
125
+ setTitle(title: MessageLike): void;
126
+ /** Text in the shell's language. */
127
+ protected t(text: MessageLike, values?: MessageArgs): string;
128
+ /** Re-read the header in the current language; a panel with its own text extends it. */
129
+ relocalize(): void;
119
130
  /** Current width in px. */
120
131
  get width(): number;
121
132
  /** Resize the panel (clamped). Silent — {@link onWidthChange} reports user drags only. */
@@ -1,3 +1,5 @@
1
+ import { T as Translator, M as MessageLike, a as MessageArgs } from './types-BlrXRLIR.js';
2
+
1
3
  /**
2
4
  * The rank of every built-in context-menu row, by zone and row id (`settings` is each
3
5
  * zone's settings row). Contributed `context:*` actions sort TOGETHER with these rows by
@@ -50,6 +52,8 @@ interface SidePanelOptions {
50
52
  /** A header button that MAXIMIZES the panel over every chart of the shell, and restores
51
53
  * it. For panels that are sometimes the main work surface (an editor). */
52
54
  maximizable?: boolean;
55
+ /** The shell's translator (title, header buttons). Absent: English. */
56
+ i18n?: Translator;
53
57
  }
54
58
  /**
55
59
  * Clamp a width to its bounds and round to whole pixels — PURE. The drag, a programmatic
@@ -73,6 +77,9 @@ declare class SidePanel {
73
77
  onPlacementChange: ((overlay: boolean) => void) | null;
74
78
  protected readonly body: HTMLElement;
75
79
  private readonly heading;
80
+ private title;
81
+ private readonly closeButton;
82
+ protected readonly i18n: Translator | null;
76
83
  private readonly slot;
77
84
  private readonly declaredWidth;
78
85
  private readonly minWidth;
@@ -92,7 +99,7 @@ declare class SidePanel {
92
99
  /** The exit animation of a close; a reopen cancels it. */
93
100
  private exit;
94
101
  /** `modifier` is the panel's own class, carrying its content styles (e.g. `vela-ot`). */
95
- constructor(host: HTMLElement, title: string, modifier: string, opts?: SidePanelOptions);
102
+ constructor(host: HTMLElement, title: MessageLike, modifier: string, opts?: SidePanelOptions);
96
103
  get open(): boolean;
97
104
  /**
98
105
  * Open/close the panel — a bare call flips it. The panel reports closed at once, but a
@@ -115,7 +122,11 @@ declare class SidePanel {
115
122
  get headerSlot(): HTMLElement;
116
123
  /** Replace the header title. The topbar toggle keeps the DECLARED title as its
117
124
  * tooltip — this only changes what the open column says about itself. */
118
- setTitle(title: string): void;
125
+ setTitle(title: MessageLike): void;
126
+ /** Text in the shell's language. */
127
+ protected t(text: MessageLike, values?: MessageArgs): string;
128
+ /** Re-read the header in the current language; a panel with its own text extends it. */
129
+ relocalize(): void;
119
130
  /** Current width in px. */
120
131
  get width(): number;
121
132
  /** Resize the panel (clamped). Silent — {@link onWidthChange} reports user drags only. */
@@ -1,6 +1,7 @@
1
- import { D as DataProvider } from './DataProvider-Byo8pEv0.js';
2
- import { S as ScriptingEngine, V as Vela } from './contributions-BY3zSYiZ.js';
3
- import { W as WallClock, V as VisibleRangePreset } from './options-CSXbjMM5.js';
1
+ import { D as DataProvider } from './DataProvider-BGlB1zSc.js';
2
+ import { S as ScriptingEngine, V as Vela } from './contributions-BjefWpxQ.js';
3
+ import { T as Translator } from './types-BlrXRLIR.js';
4
+ import { W as WallClock, V as VisibleRangePreset } from './options-D4L3_hv_.js';
4
5
 
5
6
  /** The linkable dimensions. `crosshair` mirrors the pointer time onto same-group
6
7
  * cells as GHOST crosshairs (renderers without the optional `setExternalCrosshair`
@@ -377,6 +378,8 @@ interface BottombarOptions {
377
378
  /** RTH/ETH toggled by the user. Fires only while the toggle is ENABLED (see {@link Bottombar.setSession}). */
378
379
  onSession?: (session: 'regular' | 'extended') => void;
379
380
  onSettingsClick?: () => void;
381
+ /** The workspace's translator (labels, the clock, the zone menu). Absent: English. */
382
+ i18n?: Translator;
380
383
  }
381
384
  declare class Bottombar {
382
385
  readonly el: HTMLElement;
@@ -391,6 +394,8 @@ declare class Bottombar {
391
394
  private timezone;
392
395
  private exchangeTimezone;
393
396
  private readonly unsubClock;
397
+ private readonly i18n;
398
+ private readonly settingsBtn;
394
399
  constructor(host: HTMLElement, opts: BottombarOptions);
395
400
  /**
396
401
  * Reflect the stored choice AND the active chart's market zone. The clock and the
@@ -415,6 +420,9 @@ declare class Bottombar {
415
420
  }): void;
416
421
  destroy(): void;
417
422
  private tzItems;
423
+ private t;
424
+ /** Re-read every label, the zone menu and the clock in the current language. */
425
+ relocalize(): void;
418
426
  private tick;
419
427
  }
420
428
 
@@ -1,6 +1,7 @@
1
- import { D as DataProvider } from './DataProvider-Bw58CjYy.cjs';
2
- import { S as ScriptingEngine, V as Vela } from './contributions-DOm40g5-.cjs';
3
- import { W as WallClock, V as VisibleRangePreset } from './options-CSXbjMM5.cjs';
1
+ import { D as DataProvider } from './DataProvider-zJGp58kb.cjs';
2
+ import { S as ScriptingEngine, V as Vela } from './contributions-CpCJisTC.cjs';
3
+ import { T as Translator } from './types-BlrXRLIR.cjs';
4
+ import { W as WallClock, V as VisibleRangePreset } from './options-CpegHml_.cjs';
4
5
 
5
6
  /** The linkable dimensions. `crosshair` mirrors the pointer time onto same-group
6
7
  * cells as GHOST crosshairs (renderers without the optional `setExternalCrosshair`
@@ -377,6 +378,8 @@ interface BottombarOptions {
377
378
  /** RTH/ETH toggled by the user. Fires only while the toggle is ENABLED (see {@link Bottombar.setSession}). */
378
379
  onSession?: (session: 'regular' | 'extended') => void;
379
380
  onSettingsClick?: () => void;
381
+ /** The workspace's translator (labels, the clock, the zone menu). Absent: English. */
382
+ i18n?: Translator;
380
383
  }
381
384
  declare class Bottombar {
382
385
  readonly el: HTMLElement;
@@ -391,6 +394,8 @@ declare class Bottombar {
391
394
  private timezone;
392
395
  private exchangeTimezone;
393
396
  private readonly unsubClock;
397
+ private readonly i18n;
398
+ private readonly settingsBtn;
394
399
  constructor(host: HTMLElement, opts: BottombarOptions);
395
400
  /**
396
401
  * Reflect the stored choice AND the active chart's market zone. The clock and the
@@ -415,6 +420,9 @@ declare class Bottombar {
415
420
  }): void;
416
421
  destroy(): void;
417
422
  private tzItems;
423
+ private t;
424
+ /** Re-read every label, the zone menu and the clock in the current language. */
425
+ relocalize(): void;
418
426
  private tick;
419
427
  }
420
428