@luxalgo/vela 0.8.5 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{DataProvider-DdqMxKdl.d.cts → DataProvider-B5i0_yY4.d.cts} +1 -1
- package/dist/{DataProvider-BUdlkx9I.d.ts → DataProvider-CPFgSyAm.d.ts} +1 -1
- package/dist/{chunk-QYIO37K7.js → chunk-3H6JO4VL.js} +2405 -1542
- package/dist/{chunk-BN4DNS3O.js → chunk-BLVL7WXF.js} +1156 -468
- package/dist/chunk-O6L27KRB.js +1331 -0
- package/dist/{chunk-WY5H4S4I.js → chunk-PZN4RS4T.js} +91 -36
- package/dist/{chunk-ALTGHKIM.js → chunk-Q7POFYNE.js} +516 -406
- package/dist/{chunk-AUOB7A5Y.js → chunk-WHPQQYH7.js} +29 -13
- package/dist/{contributions-D8xuYc9U.d.cts → contributions-BfBaF6eE.d.ts} +71 -22
- package/dist/{contributions-P9fBBuY1.d.ts → contributions-DupwEkzc.d.cts} +71 -22
- package/dist/index.cjs +4040 -2087
- package/dist/index.d.cts +53 -25
- package/dist/index.d.ts +53 -25
- package/dist/index.js +5 -5
- package/dist/{keymap-CGOz5F5f.d.cts → keymap-C48ughm6.d.ts} +9 -6
- package/dist/{keymap-CGOz5F5f.d.ts → keymap-W0hiajU6.d.cts} +9 -6
- package/dist/locales/ar.cjs +2262 -0
- package/dist/locales/ar.d.cts +5 -0
- package/dist/locales/ar.d.ts +5 -0
- package/dist/locales/ar.js +2260 -0
- package/dist/locales/de.cjs +2262 -0
- package/dist/locales/de.d.cts +5 -0
- package/dist/locales/de.d.ts +5 -0
- package/dist/locales/de.js +2260 -0
- package/dist/locales/en.cjs +2262 -0
- package/dist/locales/en.d.cts +5 -0
- package/dist/locales/en.d.ts +5 -0
- package/dist/locales/en.js +2260 -0
- package/dist/locales/es.cjs +2262 -0
- package/dist/locales/es.d.cts +5 -0
- package/dist/locales/es.d.ts +5 -0
- package/dist/locales/es.js +2260 -0
- package/dist/locales/fr.cjs +2262 -0
- package/dist/locales/fr.d.cts +5 -0
- package/dist/locales/fr.d.ts +5 -0
- package/dist/locales/fr.js +2260 -0
- package/dist/locales/he.cjs +2262 -0
- package/dist/locales/he.d.cts +5 -0
- package/dist/locales/he.d.ts +5 -0
- package/dist/locales/he.js +2260 -0
- package/dist/locales/hi.cjs +2262 -0
- package/dist/locales/hi.d.cts +5 -0
- package/dist/locales/hi.d.ts +5 -0
- package/dist/locales/hi.js +2260 -0
- package/dist/locales/id.cjs +2262 -0
- package/dist/locales/id.d.cts +5 -0
- package/dist/locales/id.d.ts +5 -0
- package/dist/locales/id.js +2260 -0
- package/dist/locales/it.cjs +2262 -0
- package/dist/locales/it.d.cts +5 -0
- package/dist/locales/it.d.ts +5 -0
- package/dist/locales/it.js +2260 -0
- package/dist/locales/ja.cjs +2262 -0
- package/dist/locales/ja.d.cts +5 -0
- package/dist/locales/ja.d.ts +5 -0
- package/dist/locales/ja.js +2260 -0
- package/dist/locales/ko.cjs +2262 -0
- package/dist/locales/ko.d.cts +5 -0
- package/dist/locales/ko.d.ts +5 -0
- package/dist/locales/ko.js +2260 -0
- package/dist/locales/ms.cjs +2262 -0
- package/dist/locales/ms.d.cts +5 -0
- package/dist/locales/ms.d.ts +5 -0
- package/dist/locales/ms.js +2260 -0
- package/dist/locales/pl.cjs +2262 -0
- package/dist/locales/pl.d.cts +5 -0
- package/dist/locales/pl.d.ts +5 -0
- package/dist/locales/pl.js +2260 -0
- package/dist/locales/pt-BR.cjs +2262 -0
- package/dist/locales/pt-BR.d.cts +5 -0
- package/dist/locales/pt-BR.d.ts +5 -0
- package/dist/locales/pt-BR.js +2260 -0
- package/dist/locales/ru.cjs +2262 -0
- package/dist/locales/ru.d.cts +5 -0
- package/dist/locales/ru.d.ts +5 -0
- package/dist/locales/ru.js +2260 -0
- package/dist/locales/th.cjs +2262 -0
- package/dist/locales/th.d.cts +5 -0
- package/dist/locales/th.d.ts +5 -0
- package/dist/locales/th.js +2260 -0
- package/dist/locales/tr.cjs +2262 -0
- package/dist/locales/tr.d.cts +5 -0
- package/dist/locales/tr.d.ts +5 -0
- package/dist/locales/tr.js +2260 -0
- package/dist/locales/vi.cjs +2262 -0
- package/dist/locales/vi.d.cts +5 -0
- package/dist/locales/vi.d.ts +5 -0
- package/dist/locales/vi.js +2260 -0
- package/dist/locales/zh-Hans.cjs +2262 -0
- package/dist/locales/zh-Hans.d.cts +5 -0
- package/dist/locales/zh-Hans.d.ts +5 -0
- package/dist/locales/zh-Hans.js +2260 -0
- package/dist/locales/zh-Hant.cjs +2262 -0
- package/dist/locales/zh-Hant.d.cts +5 -0
- package/dist/locales/zh-Hant.d.ts +5 -0
- package/dist/locales/zh-Hant.js +2260 -0
- package/dist/{options-BI5Tp32b.d.ts → options-B7aL1pbf.d.ts} +74 -9
- package/dist/{options-BI5Tp32b.d.cts → options-I1H2HDWw.d.cts} +74 -9
- package/dist/{plugin-B8F1nor8.d.cts → plugin-BGz-Vsdv.d.cts} +81 -35
- package/dist/{plugin-D5Z-Q6TX.d.ts → plugin-BZHypj8h.d.ts} +81 -35
- package/dist/plugin.cjs +1268 -319
- package/dist/plugin.d.cts +7 -6
- package/dist/plugin.d.ts +7 -6
- package/dist/plugin.js +3 -3
- package/dist/providers/binance.cjs +1 -1
- package/dist/providers/binance.d.cts +3 -2
- package/dist/providers/binance.d.ts +3 -2
- package/dist/providers/binance.js +1 -1
- package/dist/providers/coinbase.cjs +1 -1
- package/dist/providers/coinbase.d.cts +3 -2
- package/dist/providers/coinbase.d.ts +3 -2
- package/dist/providers/coinbase.js +1 -1
- package/dist/providers/hyperliquid.cjs +1 -1
- package/dist/providers/hyperliquid.d.cts +3 -2
- package/dist/providers/hyperliquid.d.ts +3 -2
- package/dist/providers/hyperliquid.js +1 -1
- package/dist/{side-panel-_2UK1gSm.d.ts → side-panel-BEQJqSjR.d.cts} +14 -2
- package/dist/{side-panel-_2UK1gSm.d.cts → side-panel-Ud0SBAnE.d.ts} +14 -2
- package/dist/{statusline-model-CTwtDIca.d.cts → statusline-model-Dfb_GD9u.d.ts} +14 -3
- package/dist/{statusline-model-D9kWC9X5.d.ts → statusline-model-PHt0YhmI.d.cts} +14 -3
- package/dist/types-Bwf63xGI.d.cts +2518 -0
- package/dist/types-Bwf63xGI.d.ts +2518 -0
- package/dist/ui.cjs +1008 -56
- package/dist/ui.d.cts +21 -2
- package/dist/ui.d.ts +21 -2
- package/dist/ui.js +3 -3
- package/dist/vela.global.js +4005 -2054
- package/dist/vela.global.min.js +57 -57
- package/dist/widget.cjs +5384 -2698
- package/dist/widget.d.cts +100 -26
- package/dist/widget.d.ts +100 -26
- package/dist/widget.js +19 -11
- package/dist/workspace.cjs +5373 -2705
- package/dist/workspace.d.cts +63 -15
- package/dist/workspace.d.ts +63 -15
- package/dist/workspace.js +6 -6
- package/package.json +9 -2
- package/dist/chunk-I2U4NZD2.js +0 -340
- /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,
|
|
2
|
-
export {
|
|
3
|
-
export { C as
|
|
4
|
-
export {
|
|
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-BGz-Vsdv.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-Bwf63xGI.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-DupwEkzc.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-BEQJqSjR.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-I1H2HDWw.cjs';
|
|
5
6
|
export { i as iconMarkup, r as registerIcon } from './icons-BZYbJXSV.cjs';
|
|
6
|
-
export { a as KeyBindingDescriptor, R as ResolvedBinding } from './keymap-
|
|
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-
|
|
7
|
+
export { a as KeyBindingDescriptor, R as ResolvedBinding } from './keymap-W0hiajU6.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-B5i0_yY4.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,
|
|
2
|
-
export {
|
|
3
|
-
export { C as
|
|
4
|
-
export {
|
|
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-BZHypj8h.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-Bwf63xGI.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-BfBaF6eE.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-Ud0SBAnE.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-B7aL1pbf.js';
|
|
5
6
|
export { i as iconMarkup, r as registerIcon } from './icons-BZYbJXSV.js';
|
|
6
|
-
export { a as KeyBindingDescriptor, R as ResolvedBinding } from './keymap-
|
|
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-
|
|
7
|
+
export { a as KeyBindingDescriptor, R as ResolvedBinding } from './keymap-C48ughm6.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-CPFgSyAm.js';
|
package/dist/plugin.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import './chunk-
|
|
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-
|
|
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-
|
|
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-Q7POFYNE.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}
|
|
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-
|
|
2
|
-
import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-
|
|
1
|
+
import { O as OHLCV, U as Unsubscribe } from '../options-I1H2HDWw.cjs';
|
|
2
|
+
import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-B5i0_yY4.cjs';
|
|
3
|
+
import '../types-Bwf63xGI.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-
|
|
2
|
-
import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-
|
|
1
|
+
import { O as OHLCV, U as Unsubscribe } from '../options-B7aL1pbf.js';
|
|
2
|
+
import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-CPFgSyAm.js';
|
|
3
|
+
import '../types-Bwf63xGI.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}
|
|
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}
|
|
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-
|
|
2
|
-
import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-
|
|
1
|
+
import { O as OHLCV, U as Unsubscribe } from '../options-I1H2HDWw.cjs';
|
|
2
|
+
import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-B5i0_yY4.cjs';
|
|
3
|
+
import '../types-Bwf63xGI.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-
|
|
2
|
-
import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-
|
|
1
|
+
import { O as OHLCV, U as Unsubscribe } from '../options-B7aL1pbf.js';
|
|
2
|
+
import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-CPFgSyAm.js';
|
|
3
|
+
import '../types-Bwf63xGI.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}
|
|
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}
|
|
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-
|
|
2
|
-
import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-
|
|
1
|
+
import { O as OHLCV, U as Unsubscribe } from '../options-I1H2HDWw.cjs';
|
|
2
|
+
import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-B5i0_yY4.cjs';
|
|
3
|
+
import '../types-Bwf63xGI.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-
|
|
2
|
-
import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-
|
|
1
|
+
import { O as OHLCV, U as Unsubscribe } from '../options-B7aL1pbf.js';
|
|
2
|
+
import { D as DataProvider, P as ProviderInfo, B as BarRange, S as SymbolInfo, a as SymbolDescriptor } from '../DataProvider-CPFgSyAm.js';
|
|
3
|
+
import '../types-Bwf63xGI.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}
|
|
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-Bwf63xGI.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
|
|
@@ -15,6 +17,7 @@ declare const CONTEXT_MENU_BUILTIN_ORDER: {
|
|
|
15
17
|
};
|
|
16
18
|
readonly 'price-axis': {
|
|
17
19
|
readonly auto: -80;
|
|
20
|
+
readonly 'price-only': -75;
|
|
18
21
|
readonly invert: -70;
|
|
19
22
|
readonly 'scale:regular': -60;
|
|
20
23
|
readonly 'scale:percent': -50;
|
|
@@ -50,6 +53,8 @@ interface SidePanelOptions {
|
|
|
50
53
|
/** A header button that MAXIMIZES the panel over every chart of the shell, and restores
|
|
51
54
|
* it. For panels that are sometimes the main work surface (an editor). */
|
|
52
55
|
maximizable?: boolean;
|
|
56
|
+
/** The shell's translator (title, header buttons). Absent: English. */
|
|
57
|
+
i18n?: Translator;
|
|
53
58
|
}
|
|
54
59
|
/**
|
|
55
60
|
* Clamp a width to its bounds and round to whole pixels — PURE. The drag, a programmatic
|
|
@@ -73,6 +78,9 @@ declare class SidePanel {
|
|
|
73
78
|
onPlacementChange: ((overlay: boolean) => void) | null;
|
|
74
79
|
protected readonly body: HTMLElement;
|
|
75
80
|
private readonly heading;
|
|
81
|
+
private title;
|
|
82
|
+
private readonly closeButton;
|
|
83
|
+
protected readonly i18n: Translator | null;
|
|
76
84
|
private readonly slot;
|
|
77
85
|
private readonly declaredWidth;
|
|
78
86
|
private readonly minWidth;
|
|
@@ -92,7 +100,7 @@ declare class SidePanel {
|
|
|
92
100
|
/** The exit animation of a close; a reopen cancels it. */
|
|
93
101
|
private exit;
|
|
94
102
|
/** `modifier` is the panel's own class, carrying its content styles (e.g. `vela-ot`). */
|
|
95
|
-
constructor(host: HTMLElement, title:
|
|
103
|
+
constructor(host: HTMLElement, title: MessageLike, modifier: string, opts?: SidePanelOptions);
|
|
96
104
|
get open(): boolean;
|
|
97
105
|
/**
|
|
98
106
|
* Open/close the panel — a bare call flips it. The panel reports closed at once, but a
|
|
@@ -115,7 +123,11 @@ declare class SidePanel {
|
|
|
115
123
|
get headerSlot(): HTMLElement;
|
|
116
124
|
/** Replace the header title. The topbar toggle keeps the DECLARED title as its
|
|
117
125
|
* tooltip — this only changes what the open column says about itself. */
|
|
118
|
-
setTitle(title:
|
|
126
|
+
setTitle(title: MessageLike): void;
|
|
127
|
+
/** Text in the shell's language. */
|
|
128
|
+
protected t(text: MessageLike, values?: MessageArgs): string;
|
|
129
|
+
/** Re-read the header in the current language; a panel with its own text extends it. */
|
|
130
|
+
relocalize(): void;
|
|
119
131
|
/** Current width in px. */
|
|
120
132
|
get width(): number;
|
|
121
133
|
/** 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-Bwf63xGI.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
|
|
@@ -15,6 +17,7 @@ declare const CONTEXT_MENU_BUILTIN_ORDER: {
|
|
|
15
17
|
};
|
|
16
18
|
readonly 'price-axis': {
|
|
17
19
|
readonly auto: -80;
|
|
20
|
+
readonly 'price-only': -75;
|
|
18
21
|
readonly invert: -70;
|
|
19
22
|
readonly 'scale:regular': -60;
|
|
20
23
|
readonly 'scale:percent': -50;
|
|
@@ -50,6 +53,8 @@ interface SidePanelOptions {
|
|
|
50
53
|
/** A header button that MAXIMIZES the panel over every chart of the shell, and restores
|
|
51
54
|
* it. For panels that are sometimes the main work surface (an editor). */
|
|
52
55
|
maximizable?: boolean;
|
|
56
|
+
/** The shell's translator (title, header buttons). Absent: English. */
|
|
57
|
+
i18n?: Translator;
|
|
53
58
|
}
|
|
54
59
|
/**
|
|
55
60
|
* Clamp a width to its bounds and round to whole pixels — PURE. The drag, a programmatic
|
|
@@ -73,6 +78,9 @@ declare class SidePanel {
|
|
|
73
78
|
onPlacementChange: ((overlay: boolean) => void) | null;
|
|
74
79
|
protected readonly body: HTMLElement;
|
|
75
80
|
private readonly heading;
|
|
81
|
+
private title;
|
|
82
|
+
private readonly closeButton;
|
|
83
|
+
protected readonly i18n: Translator | null;
|
|
76
84
|
private readonly slot;
|
|
77
85
|
private readonly declaredWidth;
|
|
78
86
|
private readonly minWidth;
|
|
@@ -92,7 +100,7 @@ declare class SidePanel {
|
|
|
92
100
|
/** The exit animation of a close; a reopen cancels it. */
|
|
93
101
|
private exit;
|
|
94
102
|
/** `modifier` is the panel's own class, carrying its content styles (e.g. `vela-ot`). */
|
|
95
|
-
constructor(host: HTMLElement, title:
|
|
103
|
+
constructor(host: HTMLElement, title: MessageLike, modifier: string, opts?: SidePanelOptions);
|
|
96
104
|
get open(): boolean;
|
|
97
105
|
/**
|
|
98
106
|
* Open/close the panel — a bare call flips it. The panel reports closed at once, but a
|
|
@@ -115,7 +123,11 @@ declare class SidePanel {
|
|
|
115
123
|
get headerSlot(): HTMLElement;
|
|
116
124
|
/** Replace the header title. The topbar toggle keeps the DECLARED title as its
|
|
117
125
|
* tooltip — this only changes what the open column says about itself. */
|
|
118
|
-
setTitle(title:
|
|
126
|
+
setTitle(title: MessageLike): void;
|
|
127
|
+
/** Text in the shell's language. */
|
|
128
|
+
protected t(text: MessageLike, values?: MessageArgs): string;
|
|
129
|
+
/** Re-read the header in the current language; a panel with its own text extends it. */
|
|
130
|
+
relocalize(): void;
|
|
119
131
|
/** Current width in px. */
|
|
120
132
|
get width(): number;
|
|
121
133
|
/** Resize the panel (clamped). Silent — {@link onWidthChange} reports user drags only. */
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { D as DataProvider } from './DataProvider-
|
|
2
|
-
import { S as ScriptingEngine, V as Vela } from './contributions-
|
|
3
|
-
import {
|
|
1
|
+
import { D as DataProvider } from './DataProvider-CPFgSyAm.js';
|
|
2
|
+
import { S as ScriptingEngine, V as Vela } from './contributions-BfBaF6eE.js';
|
|
3
|
+
import { T as Translator } from './types-Bwf63xGI.js';
|
|
4
|
+
import { W as WallClock, V as VisibleRangePreset } from './options-B7aL1pbf.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`
|
|
@@ -77,6 +78,9 @@ interface CellState {
|
|
|
77
78
|
indicatorTitles?: boolean;
|
|
78
79
|
/** Plot values beside the legend titles visibility — a per-chart display pref. */
|
|
79
80
|
indicatorValues?: boolean;
|
|
81
|
+
/** The status line's segments, by part, as the settings dialog's Status line tab and
|
|
82
|
+
* the status line's right-click menu leave them — a per-chart display pref. */
|
|
83
|
+
statuslineParts?: Partial<Record<'logo' | 'name' | 'market' | 'ohlc' | 'change', boolean>>;
|
|
80
84
|
/** The renderer's cosmetic config document (`renderer.getConfig()`). */
|
|
81
85
|
rendererConfig?: unknown;
|
|
82
86
|
/** The user-drawings document (`drawings.toJSON()`). */
|
|
@@ -377,6 +381,8 @@ interface BottombarOptions {
|
|
|
377
381
|
/** RTH/ETH toggled by the user. Fires only while the toggle is ENABLED (see {@link Bottombar.setSession}). */
|
|
378
382
|
onSession?: (session: 'regular' | 'extended') => void;
|
|
379
383
|
onSettingsClick?: () => void;
|
|
384
|
+
/** The workspace's translator (labels, the clock, the zone menu). Absent: English. */
|
|
385
|
+
i18n?: Translator;
|
|
380
386
|
}
|
|
381
387
|
declare class Bottombar {
|
|
382
388
|
readonly el: HTMLElement;
|
|
@@ -391,6 +397,8 @@ declare class Bottombar {
|
|
|
391
397
|
private timezone;
|
|
392
398
|
private exchangeTimezone;
|
|
393
399
|
private readonly unsubClock;
|
|
400
|
+
private readonly i18n;
|
|
401
|
+
private readonly settingsBtn;
|
|
394
402
|
constructor(host: HTMLElement, opts: BottombarOptions);
|
|
395
403
|
/**
|
|
396
404
|
* Reflect the stored choice AND the active chart's market zone. The clock and the
|
|
@@ -415,6 +423,9 @@ declare class Bottombar {
|
|
|
415
423
|
}): void;
|
|
416
424
|
destroy(): void;
|
|
417
425
|
private tzItems;
|
|
426
|
+
private t;
|
|
427
|
+
/** Re-read every label, the zone menu and the clock in the current language. */
|
|
428
|
+
relocalize(): void;
|
|
418
429
|
private tick;
|
|
419
430
|
}
|
|
420
431
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { D as DataProvider } from './DataProvider-
|
|
2
|
-
import { S as ScriptingEngine, V as Vela } from './contributions-
|
|
3
|
-
import {
|
|
1
|
+
import { D as DataProvider } from './DataProvider-B5i0_yY4.cjs';
|
|
2
|
+
import { S as ScriptingEngine, V as Vela } from './contributions-DupwEkzc.cjs';
|
|
3
|
+
import { T as Translator } from './types-Bwf63xGI.cjs';
|
|
4
|
+
import { W as WallClock, V as VisibleRangePreset } from './options-I1H2HDWw.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`
|
|
@@ -77,6 +78,9 @@ interface CellState {
|
|
|
77
78
|
indicatorTitles?: boolean;
|
|
78
79
|
/** Plot values beside the legend titles visibility — a per-chart display pref. */
|
|
79
80
|
indicatorValues?: boolean;
|
|
81
|
+
/** The status line's segments, by part, as the settings dialog's Status line tab and
|
|
82
|
+
* the status line's right-click menu leave them — a per-chart display pref. */
|
|
83
|
+
statuslineParts?: Partial<Record<'logo' | 'name' | 'market' | 'ohlc' | 'change', boolean>>;
|
|
80
84
|
/** The renderer's cosmetic config document (`renderer.getConfig()`). */
|
|
81
85
|
rendererConfig?: unknown;
|
|
82
86
|
/** The user-drawings document (`drawings.toJSON()`). */
|
|
@@ -377,6 +381,8 @@ interface BottombarOptions {
|
|
|
377
381
|
/** RTH/ETH toggled by the user. Fires only while the toggle is ENABLED (see {@link Bottombar.setSession}). */
|
|
378
382
|
onSession?: (session: 'regular' | 'extended') => void;
|
|
379
383
|
onSettingsClick?: () => void;
|
|
384
|
+
/** The workspace's translator (labels, the clock, the zone menu). Absent: English. */
|
|
385
|
+
i18n?: Translator;
|
|
380
386
|
}
|
|
381
387
|
declare class Bottombar {
|
|
382
388
|
readonly el: HTMLElement;
|
|
@@ -391,6 +397,8 @@ declare class Bottombar {
|
|
|
391
397
|
private timezone;
|
|
392
398
|
private exchangeTimezone;
|
|
393
399
|
private readonly unsubClock;
|
|
400
|
+
private readonly i18n;
|
|
401
|
+
private readonly settingsBtn;
|
|
394
402
|
constructor(host: HTMLElement, opts: BottombarOptions);
|
|
395
403
|
/**
|
|
396
404
|
* Reflect the stored choice AND the active chart's market zone. The clock and the
|
|
@@ -415,6 +423,9 @@ declare class Bottombar {
|
|
|
415
423
|
}): void;
|
|
416
424
|
destroy(): void;
|
|
417
425
|
private tzItems;
|
|
426
|
+
private t;
|
|
427
|
+
/** Re-read every label, the zone menu and the clock in the current language. */
|
|
428
|
+
relocalize(): void;
|
|
418
429
|
private tick;
|
|
419
430
|
}
|
|
420
431
|
|