@luxalgo/vela 0.6.3 → 0.6.4

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 (45) hide show
  1. package/dist/{DataProvider-DHX4x6-r.d.ts → DataProvider-BmHkcwvJ.d.ts} +1 -1
  2. package/dist/{DataProvider-CNmk84SH.d.cts → DataProvider-DrN7ZIou.d.cts} +1 -1
  3. package/dist/{chunk-TP56QRMK.js → chunk-2R7BANEM.js} +1 -1
  4. package/dist/{chunk-U5KCQHAC.js → chunk-3QX6QOCX.js} +80 -12
  5. package/dist/{chunk-7D6YIF34.js → chunk-6FA4TDUF.js} +325 -67
  6. package/dist/{chunk-7Y7CJ7EN.js → chunk-BEJ57HP4.js} +8 -1
  7. package/dist/{chunk-QHZ7IXFL.js → chunk-OICPLNU7.js} +59 -9
  8. package/dist/{contributions-DDpv7hEL.d.cts → contributions-2bEmCF9S.d.cts} +2 -2
  9. package/dist/{contributions-ciV6Neyd.d.ts → contributions-DatoAzMx.d.ts} +2 -2
  10. package/dist/{history-CFqZm5re.d.ts → history-BmyjaVir.d.cts} +6 -6
  11. package/dist/{history-ChoT34nz.d.cts → history-CvOtsjT5.d.ts} +6 -6
  12. package/dist/index.cjs +394 -78
  13. package/dist/index.d.cts +36 -9
  14. package/dist/index.d.ts +36 -9
  15. package/dist/index.js +4 -4
  16. package/dist/{options-BqGeFHtp.d.ts → options-YdiaaVjt.d.cts} +20 -1
  17. package/dist/{options-BqGeFHtp.d.cts → options-YdiaaVjt.d.ts} +20 -1
  18. package/dist/{plugin-C97gUCVf.d.ts → plugin-BeCMF1VQ.d.ts} +3 -3
  19. package/dist/{plugin-CSb_sTiN.d.cts → plugin-CkiStRaI.d.cts} +3 -3
  20. package/dist/plugin.cjs +8 -0
  21. package/dist/plugin.d.cts +4 -4
  22. package/dist/plugin.d.ts +4 -4
  23. package/dist/plugin.js +2 -2
  24. package/dist/providers/binance.d.cts +2 -2
  25. package/dist/providers/binance.d.ts +2 -2
  26. package/dist/providers/coinbase.d.cts +2 -2
  27. package/dist/providers/coinbase.d.ts +2 -2
  28. package/dist/providers/hyperliquid.d.cts +2 -2
  29. package/dist/providers/hyperliquid.d.ts +2 -2
  30. package/dist/ui.cjs +59 -9
  31. package/dist/ui.d.cts +10 -2
  32. package/dist/ui.d.ts +10 -2
  33. package/dist/ui.js +2 -2
  34. package/dist/vela.global.js +394 -78
  35. package/dist/vela.global.min.js +84 -47
  36. package/dist/widget.cjs +646 -191
  37. package/dist/widget.d.cts +29 -8
  38. package/dist/widget.d.ts +29 -8
  39. package/dist/widget.js +145 -73
  40. package/dist/workspace.cjs +601 -142
  41. package/dist/workspace.d.cts +29 -5
  42. package/dist/workspace.d.ts +29 -5
  43. package/dist/workspace.js +143 -67
  44. package/package.json +1 -1
  45. /package/dist/{chunk-Q3XQHLIH.js → chunk-AOGZBKUE.js} +0 -0
@@ -5728,6 +5728,13 @@ function rendererDefaults() {
5728
5728
  return Object.fromEntries(defaults);
5729
5729
  }
5730
5730
 
5731
+ // src/core/model/inputs.ts
5732
+ function inputVisible(when, values) {
5733
+ if (!when) return true;
5734
+ const conds = Array.isArray(when) ? when : [when];
5735
+ return conds.every((c) => c.anyOf ? c.anyOf.some((x) => x === values[c.key]) : values[c.key] === c.equals);
5736
+ }
5737
+
5731
5738
  // src/renderers/native/layers.ts
5732
5739
  function foldBaseModulation(acc, next) {
5733
5740
  if (next == null) return acc;
@@ -6045,4 +6052,4 @@ var SidePanel = class {
6045
6052
  }
6046
6053
  };
6047
6054
 
6048
- export { AnchoredVwap, ArrowMark, Callout, CalloutBase, Comment, DEDEKIND_CURVATURE_OPTIONS, DEFAULT_DRAWING_COLOR, DEFAULT_PANEL_MAX_WIDTH, DEFAULT_PANEL_MIN_WIDTH, DEFAULT_PANEL_ORDER, DEFAULT_PANEL_WIDTH, DIRECTION_OPTIONS, DedekindTessellation, Drawing, FibRatios, FibSpiral, FixedRangeVolumeProfile, GANN_SQUARE_ARCS, GLYPH_OPTIONS, GannSquare, GlyphStamp, LINE_STYLE_OPTIONS, MACH_NUMBER_OPTIONS, MACH_WAVE_COUNT_OPTIONS, MachFigure, MeasureBox, Note, PatternDrawing, PositionTool, PriceLabel, PriceNote, RadialFib, RegressionChannel, STAMP_SIZE_OPTIONS, SegmentDrawing, SidePanel, Signpost, TEXT_SIZE_OPTIONS, TextLabel, chartType, chartTypes, clampPanelWidth, createDrawing, deserializeDrawing, drawingTypes, foldBaseModulation, formatDuration, getDrawingType, getNativeIndicator, legendActions, legendActionsProviderFor, lineSegmentIntersection, nativeIndicatorDescriptors, nativeIndicatorTypes, normalizeSettingsRow, registerChartType, registerDefaultEngine, registerDrawingType, registerLegendAction, registerNativeIndicator, registerRendererDefaults, registerRendererLayer, registerSidePanel, registerWidgetAction, registerWidgetAttachment, rendererDefaults, rendererLayers, resetDrawingSettings, resolveEngines, settingsRowValueKeys, settingsRowVisible, sidePanels, tickerModifierIds, unregisterChartType, unregisterDefaultEngine, unregisterLegendAction, unregisterNativeIndicator, unregisterRendererDefaults, unregisterRendererLayer, unregisterSidePanel, unregisterWidgetAction, unregisterWidgetAttachment, widgetActions, widgetAttachments };
6055
+ export { AnchoredVwap, ArrowMark, Callout, CalloutBase, Comment, DEDEKIND_CURVATURE_OPTIONS, DEFAULT_DRAWING_COLOR, DEFAULT_PANEL_MAX_WIDTH, DEFAULT_PANEL_MIN_WIDTH, DEFAULT_PANEL_ORDER, DEFAULT_PANEL_WIDTH, DIRECTION_OPTIONS, DedekindTessellation, Drawing, FibRatios, FibSpiral, FixedRangeVolumeProfile, GANN_SQUARE_ARCS, GLYPH_OPTIONS, GannSquare, GlyphStamp, LINE_STYLE_OPTIONS, MACH_NUMBER_OPTIONS, MACH_WAVE_COUNT_OPTIONS, MachFigure, MeasureBox, Note, PatternDrawing, PositionTool, PriceLabel, PriceNote, RadialFib, RegressionChannel, STAMP_SIZE_OPTIONS, SegmentDrawing, SidePanel, Signpost, TEXT_SIZE_OPTIONS, TextLabel, chartType, chartTypes, clampPanelWidth, createDrawing, deserializeDrawing, drawingTypes, foldBaseModulation, formatDuration, getDrawingType, getNativeIndicator, inputVisible, legendActions, legendActionsProviderFor, lineSegmentIntersection, nativeIndicatorDescriptors, nativeIndicatorTypes, normalizeSettingsRow, registerChartType, registerDefaultEngine, registerDrawingType, registerLegendAction, registerNativeIndicator, registerRendererDefaults, registerRendererLayer, registerSidePanel, registerWidgetAction, registerWidgetAttachment, rendererDefaults, rendererLayers, resetDrawingSettings, resolveEngines, settingsRowValueKeys, settingsRowVisible, sidePanels, tickerModifierIds, unregisterChartType, unregisterDefaultEngine, unregisterLegendAction, unregisterNativeIndicator, unregisterRendererDefaults, unregisterRendererLayer, unregisterSidePanel, unregisterWidgetAction, unregisterWidgetAttachment, widgetActions, widgetAttachments };
@@ -86,6 +86,23 @@ var MENU_CSS = `
86
86
  background: var(--vela-hover-strong);
87
87
  color: var(--vela-fg-bright);
88
88
  }
89
+ /* Checkmark mode (context/action menus): every row reserves the leading mark column so
90
+ labels align; a checked row fills it with a \u2713 and brightens its ink \u2014 the row surface
91
+ stays free for the hover wash. */
92
+ .vela-menu-item .vela-menu-mark {
93
+ width: 14px;
94
+ flex: none;
95
+ display: inline-flex;
96
+ align-items: center;
97
+ justify-content: center;
98
+ }
99
+ .vela-menu-item .vela-menu-mark .vela-icon {
100
+ width: 14px;
101
+ height: 14px;
102
+ font-size: 14px;
103
+ color: var(--vela-fg-bright);
104
+ }
105
+ .vela-menu-item[data-checkmark] { color: var(--vela-fg-bright); }
89
106
  /* Switch rows (boolean settings in a dropdown): a right-aligned toggle pill \u2014 the
90
107
  same control language as the settings dialog's toggles. */
91
108
  .vela-menu-switch {
@@ -154,6 +171,7 @@ var Surface = class _Surface {
154
171
  this.host = opts.host;
155
172
  this.onSelect = opts.onSelect;
156
173
  this.onFavorite = opts.onFavorite;
174
+ this.checkmarks = opts.checkmarks === true;
157
175
  this.positioner = doc.createElement("div");
158
176
  this.positioner.className = "vela-ui-layer";
159
177
  this.list = doc.createElement("ul");
@@ -232,6 +250,7 @@ var Surface = class _Surface {
232
250
  build() {
233
251
  const doc = this.doc;
234
252
  this.list.replaceChildren();
253
+ const markable = this.checkmarks && this.items.some((i) => !(i.submenu && i.submenu.length > 0) && !i.toggle && i.checked !== void 0);
235
254
  for (const item of this.items) {
236
255
  if (item.separatorBefore) {
237
256
  const sep = doc.createElement("li");
@@ -245,7 +264,16 @@ var Surface = class _Surface {
245
264
  li.dataset.veiId = item.id;
246
265
  if (item.toggle) {
247
266
  li.dataset.toggle = "1";
248
- } else if (!branch && item.checked) {
267
+ }
268
+ if (markable) {
269
+ const mark = doc.createElement("span");
270
+ mark.className = "vela-menu-mark";
271
+ if (!branch && !item.toggle && item.checked) {
272
+ mark.appendChild(iconEl("check", doc));
273
+ li.dataset.checkmark = "1";
274
+ }
275
+ li.appendChild(mark);
276
+ } else if (!branch && !item.toggle && item.checked) {
249
277
  li.dataset.checked = "1";
250
278
  }
251
279
  if (item.icon) li.appendChild(iconEl(item.icon, doc));
@@ -294,6 +322,7 @@ var Surface = class _Surface {
294
322
  placement: "right-start",
295
323
  onSelect: this.onSelect,
296
324
  onFavorite: this.onFavorite,
325
+ checkmarks: this.checkmarks,
297
326
  id: `${this.mid}--${item.id}`
298
327
  });
299
328
  sub.setItems(item.submenu ?? []);
@@ -318,7 +347,8 @@ var Menu = class {
318
347
  triggerId: opts.triggerId,
319
348
  id: opts.id,
320
349
  minWidth: opts.minWidth,
321
- onFavorite: opts.onFavorite
350
+ onFavorite: opts.onFavorite,
351
+ checkmarks: opts.checkmarks
322
352
  });
323
353
  this.root.setItems(opts.items);
324
354
  }
@@ -435,8 +465,13 @@ var STATIC_CSS = `
435
465
  ${STATIC_DECLS}
436
466
  font-family: var(--vela-font, -apple-system, system-ui, sans-serif);
437
467
  box-sizing: border-box;
468
+ /* Chrome text (titles, buttons, menus, readouts) is UI, not copy \u2014 never selectable. */
469
+ user-select: none;
470
+ -webkit-user-select: none;
438
471
  }
439
472
  .vela-ui *, .vela-ui-layer * { box-sizing: border-box; }
473
+ /* Text ENTRY is the one exception: selection is part of editing. */
474
+ .vela-ui :is(input, textarea), .vela-ui-layer :is(input, textarea) { user-select: text; -webkit-user-select: text; }
440
475
  .vela-icon { display: inline-flex; align-items: center; flex: none; }
441
476
  .vela-icon svg { display: block; }
442
477
  `;
@@ -1438,6 +1473,9 @@ var NUMBER_CSS = `
1438
1473
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
1439
1474
  -moz-appearance: textfield;
1440
1475
  appearance: textfield;
1476
+ /* Selectable even under a user-select:none host (chart wrapper, .vela-ui). */
1477
+ user-select: text;
1478
+ -webkit-user-select: text;
1441
1479
  }
1442
1480
  .vela-num input::-webkit-inner-spin-button, .vela-num input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
1443
1481
  .vela-num input:hover { border-color: var(--vela-fg-muted); }
@@ -1650,6 +1688,9 @@ var TEXT_CSS = `
1650
1688
  overflow: hidden;
1651
1689
  text-overflow: ellipsis;
1652
1690
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
1691
+ /* Selectable even under a user-select:none host (chart wrapper, .vela-ui). */
1692
+ user-select: text;
1693
+ -webkit-user-select: text;
1653
1694
  }
1654
1695
  .vela-text-field:hover { border-color: var(--vela-fg-muted); }
1655
1696
  .vela-text-field:focus { border-color: var(--vela-focus); box-shadow: 0 0 0 3px var(--vela-focus-soft); }
@@ -1743,6 +1784,9 @@ var TEXTAREA_CSS = `
1743
1784
  resize: vertical;
1744
1785
  outline: none;
1745
1786
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
1787
+ /* Selectable even under a user-select:none host (chart wrapper, .vela-ui). */
1788
+ user-select: text;
1789
+ -webkit-user-select: text;
1746
1790
  }
1747
1791
  .vela-textarea-field:hover { border-color: var(--vela-fg-muted); }
1748
1792
  .vela-textarea-field:focus { border-color: var(--vela-focus); box-shadow: 0 0 0 3px var(--vela-focus-soft); }
@@ -2296,6 +2340,8 @@ var FIELD_CSS = `
2296
2340
  font-size: 14px;
2297
2341
  }
2298
2342
  .vela-field-label[data-size='sm'] { font-size: inherit; opacity: 0.85; }
2343
+ /* Titles are fully inert: spans, not label[for] \u2014 native labels propagate :hover and
2344
+ clicks onto their control, and both belong to the input alone. */
2299
2345
  .vela-field-cell { display: flex; align-items: center; gap: 8px; justify-self: start; }
2300
2346
  .vela-field-bool { display: flex; align-items: center; gap: 8px; min-height: 22px; }
2301
2347
  .vela-field-stacked { display: flex; flex-direction: column; gap: 8px; }
@@ -2354,11 +2400,17 @@ function fieldSeparator() {
2354
2400
  return el;
2355
2401
  }
2356
2402
  function labelEl(text, opts) {
2357
- const el = opts.id ? document.createElement("label") : document.createElement("span");
2358
- if (opts.id && el instanceof HTMLLabelElement) el.htmlFor = opts.id;
2403
+ const el = document.createElement("span");
2359
2404
  el.className = "vela-field-label";
2360
2405
  if (opts.size) el.dataset.size = opts.size;
2361
2406
  el.textContent = text;
2407
+ const id = opts.id;
2408
+ if (id) {
2409
+ el.id = `${id}--title`;
2410
+ queueMicrotask(() => {
2411
+ el.ownerDocument.getElementById(id)?.setAttribute("aria-labelledby", el.id);
2412
+ });
2413
+ }
2362
2414
  return el;
2363
2415
  }
2364
2416
  function asList(control) {
@@ -2387,9 +2439,7 @@ function fieldRow(opts) {
2387
2439
  it.className = "vela-field-inline-item";
2388
2440
  if (item.toggleFirst) it.style.flexDirection = "row-reverse";
2389
2441
  if (item.label) {
2390
- const lbl = labelEl(item.label, { id: item.id, size });
2391
- if (item.toggleFirst) lbl.style.cursor = "pointer";
2392
- it.appendChild(lbl);
2442
+ it.appendChild(labelEl(item.label, { id: item.id, size }));
2393
2443
  }
2394
2444
  if (item.fit) it.appendChild(item.control);
2395
2445
  else {
@@ -2414,7 +2464,7 @@ function fieldRow(opts) {
2414
2464
  tone: "bright",
2415
2465
  onChange: (v) => opts.toggle?.onChange(v)
2416
2466
  });
2417
- wrap2.append(sw.el, labelEl(opts.label, { size }));
2467
+ wrap2.append(sw.el, labelEl(opts.label, { id: opts.toggle?.id ?? opts.id, size }));
2418
2468
  if (opts.info) wrap2.appendChild(opts.info);
2419
2469
  if (opts.toggle?.get) {
2420
2470
  const get = opts.toggle.get;
@@ -2453,7 +2503,7 @@ function fieldRow(opts) {
2453
2503
  if (controls.length > 0) dimControls(controls, v);
2454
2504
  }
2455
2505
  });
2456
- left.append(sw.el, labelEl(opts.label, { size }));
2506
+ left.append(sw.el, labelEl(opts.label, { id: opts.toggle.id ?? opts.id, size }));
2457
2507
  wrap.appendChild(left);
2458
2508
  if (controls.length > 0) dimControls(controls, opts.toggle.checked);
2459
2509
  if (opts.toggle.get) {
@@ -1,5 +1,5 @@
1
- import { t as Millis, ad as InputSchema, ac as IndicatorMeta, P as PriceStyle, O as OHLCV, m as InputValue, k as IndicatorModel, j as MoveTarget, az as SeriesSpec, aa as Fill, B as Background, ar as PriceLine, a0 as DrawingLine, Y as DrawingBox, $ as DrawingLabel, a4 as DrawingPolyline, a1 as DrawingLinefill, a6 as DrawingTable, g as IndicatorStatus, a as VisibleRange, c as VelaTheme, S as SerializedDrawing, v as DrawingTypeKey, u as SnapMode, a2 as DrawingMode, I as IChartRenderer, R as RendererCapabilities, o as LegendActionView, U as Unsubscribe, C as CrosshairEvent, A as AxisLongPressEvent, r as DataWindowReadout, n as SymbolPickerFn, aL as PaneInfo, a9 as DrawingsOption, D as Drawing, b as VelaOptions, x as AddIndicatorOptions, an as MarketSwitch, am as MarketSnapshot, V as VisibleRangePreset, T as ThemeName } from './options-BqGeFHtp.cjs';
2
- import { S as SymbolInfo, B as BarRange, M as MarketDataFeed, D as DataProvider, P as ProviderInfo, a as SymbolDescriptor, b as ProviderCapabilities } from './DataProvider-CNmk84SH.cjs';
1
+ import { t as Millis, ae as InputSchema, ac as IndicatorMeta, P as PriceStyle, O as OHLCV, m as InputValue, k as IndicatorModel, j as MoveTarget, aB as SeriesSpec, aa as Fill, B as Background, at as PriceLine, a0 as DrawingLine, Y as DrawingBox, $ as DrawingLabel, a4 as DrawingPolyline, a1 as DrawingLinefill, a6 as DrawingTable, g as IndicatorStatus, a as VisibleRange, c as VelaTheme, S as SerializedDrawing, v as DrawingTypeKey, u as SnapMode, a2 as DrawingMode, I as IChartRenderer, R as RendererCapabilities, o as LegendActionView, U as Unsubscribe, C as CrosshairEvent, A as AxisLongPressEvent, r as DataWindowReadout, n as SymbolPickerFn, aO as PaneInfo, a9 as DrawingsOption, D as Drawing, b as VelaOptions, x as AddIndicatorOptions, ap as MarketSwitch, ao as MarketSnapshot, V as VisibleRangePreset, T as ThemeName } from './options-YdiaaVjt.cjs';
2
+ import { S as SymbolInfo, B as BarRange, M as MarketDataFeed, D as DataProvider, P as ProviderInfo, a as SymbolDescriptor, b as ProviderCapabilities } from './DataProvider-DrN7ZIou.cjs';
3
3
 
4
4
  /**
5
5
  * A strategy's broker state at ONE bar — the flat summary a host reads while a script
@@ -1,5 +1,5 @@
1
- import { t as Millis, ad as InputSchema, ac as IndicatorMeta, P as PriceStyle, O as OHLCV, m as InputValue, k as IndicatorModel, j as MoveTarget, az as SeriesSpec, aa as Fill, B as Background, ar as PriceLine, a0 as DrawingLine, Y as DrawingBox, $ as DrawingLabel, a4 as DrawingPolyline, a1 as DrawingLinefill, a6 as DrawingTable, g as IndicatorStatus, a as VisibleRange, c as VelaTheme, S as SerializedDrawing, v as DrawingTypeKey, u as SnapMode, a2 as DrawingMode, I as IChartRenderer, R as RendererCapabilities, o as LegendActionView, U as Unsubscribe, C as CrosshairEvent, A as AxisLongPressEvent, r as DataWindowReadout, n as SymbolPickerFn, aL as PaneInfo, a9 as DrawingsOption, D as Drawing, b as VelaOptions, x as AddIndicatorOptions, an as MarketSwitch, am as MarketSnapshot, V as VisibleRangePreset, T as ThemeName } from './options-BqGeFHtp.js';
2
- import { S as SymbolInfo, B as BarRange, M as MarketDataFeed, D as DataProvider, P as ProviderInfo, a as SymbolDescriptor, b as ProviderCapabilities } from './DataProvider-DHX4x6-r.js';
1
+ import { t as Millis, ae as InputSchema, ac as IndicatorMeta, P as PriceStyle, O as OHLCV, m as InputValue, k as IndicatorModel, j as MoveTarget, aB as SeriesSpec, aa as Fill, B as Background, at as PriceLine, a0 as DrawingLine, Y as DrawingBox, $ as DrawingLabel, a4 as DrawingPolyline, a1 as DrawingLinefill, a6 as DrawingTable, g as IndicatorStatus, a as VisibleRange, c as VelaTheme, S as SerializedDrawing, v as DrawingTypeKey, u as SnapMode, a2 as DrawingMode, I as IChartRenderer, R as RendererCapabilities, o as LegendActionView, U as Unsubscribe, C as CrosshairEvent, A as AxisLongPressEvent, r as DataWindowReadout, n as SymbolPickerFn, aO as PaneInfo, a9 as DrawingsOption, D as Drawing, b as VelaOptions, x as AddIndicatorOptions, ap as MarketSwitch, ao as MarketSnapshot, V as VisibleRangePreset, T as ThemeName } from './options-YdiaaVjt.js';
2
+ import { S as SymbolInfo, B as BarRange, M as MarketDataFeed, D as DataProvider, P as ProviderInfo, a as SymbolDescriptor, b as ProviderCapabilities } from './DataProvider-BmHkcwvJ.js';
3
3
 
4
4
  /**
5
5
  * A strategy's broker state at ONE bar — the flat summary a host reads while a script
@@ -1,6 +1,6 @@
1
- import { V as VisibleRangePreset } from './options-BqGeFHtp.js';
2
- import { D as DataProvider } from './DataProvider-DHX4x6-r.js';
3
- import { S as ScriptingEngine, V as Vela } from './contributions-ciV6Neyd.js';
1
+ import { V as VisibleRangePreset } from './options-YdiaaVjt.cjs';
2
+ import { D as DataProvider } from './DataProvider-DrN7ZIou.cjs';
3
+ import { S as ScriptingEngine, V as Vela } from './contributions-2bEmCF9S.cjs';
4
4
 
5
5
  interface RangePreset {
6
6
  /** Button label. */
@@ -49,9 +49,9 @@ declare class Bottombar {
49
49
  setActiveRange(id: string | null): void;
50
50
  /**
51
51
  * Reflect the ACTIVE chart's session posture. `enabled: false` (a continuous
52
- * market, or metadata not landed yet) shows the disabled RTH-active stub the
53
- * pre-session-model look, byte-for-byte. Enabled, the chips become clickable and
54
- * the active one tracks the chart's current session.
52
+ * market, or metadata not landed yet) HIDES the toggle entirelyRTH/ETH is
53
+ * meaningless there. Enabled, the chips appear and the active one tracks the
54
+ * chart's current session.
55
55
  */
56
56
  setSession(state: {
57
57
  session: 'regular' | 'extended';
@@ -1,6 +1,6 @@
1
- import { V as VisibleRangePreset } from './options-BqGeFHtp.cjs';
2
- import { D as DataProvider } from './DataProvider-CNmk84SH.cjs';
3
- import { S as ScriptingEngine, V as Vela } from './contributions-DDpv7hEL.cjs';
1
+ import { V as VisibleRangePreset } from './options-YdiaaVjt.js';
2
+ import { D as DataProvider } from './DataProvider-BmHkcwvJ.js';
3
+ import { S as ScriptingEngine, V as Vela } from './contributions-DatoAzMx.js';
4
4
 
5
5
  interface RangePreset {
6
6
  /** Button label. */
@@ -49,9 +49,9 @@ declare class Bottombar {
49
49
  setActiveRange(id: string | null): void;
50
50
  /**
51
51
  * Reflect the ACTIVE chart's session posture. `enabled: false` (a continuous
52
- * market, or metadata not landed yet) shows the disabled RTH-active stub the
53
- * pre-session-model look, byte-for-byte. Enabled, the chips become clickable and
54
- * the active one tracks the chart's current session.
52
+ * market, or metadata not landed yet) HIDES the toggle entirelyRTH/ETH is
53
+ * meaningless there. Enabled, the chips appear and the active one tracks the
54
+ * chart's current session.
55
55
  */
56
56
  setSession(state: {
57
57
  session: 'regular' | 'extended';