@luxalgo/vela 0.9.0 → 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.
Files changed (126) hide show
  1. package/dist/{DataProvider-zJGp58kb.d.cts → DataProvider-B5i0_yY4.d.cts} +1 -1
  2. package/dist/{DataProvider-BGlB1zSc.d.ts → DataProvider-CPFgSyAm.d.ts} +1 -1
  3. package/dist/{chunk-XIRSR3D6.js → chunk-3H6JO4VL.js} +48 -30
  4. package/dist/{chunk-4WAHYL7Y.js → chunk-BLVL7WXF.js} +33 -2
  5. package/dist/{chunk-YRCL3WMD.js → chunk-Q7POFYNE.js} +7 -1
  6. package/dist/{contributions-BjefWpxQ.d.ts → contributions-BfBaF6eE.d.ts} +3 -3
  7. package/dist/{contributions-CpCJisTC.d.cts → contributions-DupwEkzc.d.cts} +3 -3
  8. package/dist/index.cjs +40 -21
  9. package/dist/index.d.cts +13 -11
  10. package/dist/index.d.ts +13 -11
  11. package/dist/index.js +2 -2
  12. package/dist/{keymap-UolhuXH1.d.ts → keymap-C48ughm6.d.ts} +1 -1
  13. package/dist/{keymap-B9_FLhfJ.d.cts → keymap-W0hiajU6.d.cts} +1 -1
  14. package/dist/locales/ar.cjs +2 -0
  15. package/dist/locales/ar.d.cts +1 -1
  16. package/dist/locales/ar.d.ts +1 -1
  17. package/dist/locales/ar.js +2 -0
  18. package/dist/locales/de.cjs +2 -0
  19. package/dist/locales/de.d.cts +1 -1
  20. package/dist/locales/de.d.ts +1 -1
  21. package/dist/locales/de.js +2 -0
  22. package/dist/locales/en.cjs +2 -0
  23. package/dist/locales/en.d.cts +1 -1
  24. package/dist/locales/en.d.ts +1 -1
  25. package/dist/locales/en.js +2 -0
  26. package/dist/locales/es.cjs +2 -0
  27. package/dist/locales/es.d.cts +1 -1
  28. package/dist/locales/es.d.ts +1 -1
  29. package/dist/locales/es.js +2 -0
  30. package/dist/locales/fr.cjs +2 -0
  31. package/dist/locales/fr.d.cts +1 -1
  32. package/dist/locales/fr.d.ts +1 -1
  33. package/dist/locales/fr.js +2 -0
  34. package/dist/locales/he.cjs +2 -0
  35. package/dist/locales/he.d.cts +1 -1
  36. package/dist/locales/he.d.ts +1 -1
  37. package/dist/locales/he.js +2 -0
  38. package/dist/locales/hi.cjs +2 -0
  39. package/dist/locales/hi.d.cts +1 -1
  40. package/dist/locales/hi.d.ts +1 -1
  41. package/dist/locales/hi.js +2 -0
  42. package/dist/locales/id.cjs +2 -0
  43. package/dist/locales/id.d.cts +1 -1
  44. package/dist/locales/id.d.ts +1 -1
  45. package/dist/locales/id.js +2 -0
  46. package/dist/locales/it.cjs +2 -0
  47. package/dist/locales/it.d.cts +1 -1
  48. package/dist/locales/it.d.ts +1 -1
  49. package/dist/locales/it.js +2 -0
  50. package/dist/locales/ja.cjs +2 -0
  51. package/dist/locales/ja.d.cts +1 -1
  52. package/dist/locales/ja.d.ts +1 -1
  53. package/dist/locales/ja.js +2 -0
  54. package/dist/locales/ko.cjs +2 -0
  55. package/dist/locales/ko.d.cts +1 -1
  56. package/dist/locales/ko.d.ts +1 -1
  57. package/dist/locales/ko.js +2 -0
  58. package/dist/locales/ms.cjs +2 -0
  59. package/dist/locales/ms.d.cts +1 -1
  60. package/dist/locales/ms.d.ts +1 -1
  61. package/dist/locales/ms.js +2 -0
  62. package/dist/locales/pl.cjs +2 -0
  63. package/dist/locales/pl.d.cts +1 -1
  64. package/dist/locales/pl.d.ts +1 -1
  65. package/dist/locales/pl.js +2 -0
  66. package/dist/locales/pt-BR.cjs +2 -0
  67. package/dist/locales/pt-BR.d.cts +1 -1
  68. package/dist/locales/pt-BR.d.ts +1 -1
  69. package/dist/locales/pt-BR.js +2 -0
  70. package/dist/locales/ru.cjs +2 -0
  71. package/dist/locales/ru.d.cts +1 -1
  72. package/dist/locales/ru.d.ts +1 -1
  73. package/dist/locales/ru.js +2 -0
  74. package/dist/locales/th.cjs +2 -0
  75. package/dist/locales/th.d.cts +1 -1
  76. package/dist/locales/th.d.ts +1 -1
  77. package/dist/locales/th.js +2 -0
  78. package/dist/locales/tr.cjs +2 -0
  79. package/dist/locales/tr.d.cts +1 -1
  80. package/dist/locales/tr.d.ts +1 -1
  81. package/dist/locales/tr.js +2 -0
  82. package/dist/locales/vi.cjs +2 -0
  83. package/dist/locales/vi.d.cts +1 -1
  84. package/dist/locales/vi.d.ts +1 -1
  85. package/dist/locales/vi.js +2 -0
  86. package/dist/locales/zh-Hans.cjs +2 -0
  87. package/dist/locales/zh-Hans.d.cts +1 -1
  88. package/dist/locales/zh-Hans.d.ts +1 -1
  89. package/dist/locales/zh-Hans.js +2 -0
  90. package/dist/locales/zh-Hant.cjs +2 -0
  91. package/dist/locales/zh-Hant.d.cts +1 -1
  92. package/dist/locales/zh-Hant.d.ts +1 -1
  93. package/dist/locales/zh-Hant.js +2 -0
  94. package/dist/{options-D4L3_hv_.d.ts → options-B7aL1pbf.d.ts} +1 -1
  95. package/dist/{options-CpegHml_.d.cts → options-I1H2HDWw.d.cts} +1 -1
  96. package/dist/{plugin-DpNp4aBi.d.cts → plugin-BGz-Vsdv.d.cts} +6 -6
  97. package/dist/{plugin-DTmulpKM.d.ts → plugin-BZHypj8h.d.ts} +6 -6
  98. package/dist/plugin.cjs +1 -0
  99. package/dist/plugin.d.cts +7 -7
  100. package/dist/plugin.d.ts +7 -7
  101. package/dist/plugin.js +1 -1
  102. package/dist/providers/binance.d.cts +3 -3
  103. package/dist/providers/binance.d.ts +3 -3
  104. package/dist/providers/coinbase.d.cts +3 -3
  105. package/dist/providers/coinbase.d.ts +3 -3
  106. package/dist/providers/hyperliquid.d.cts +3 -3
  107. package/dist/providers/hyperliquid.d.ts +3 -3
  108. package/dist/{side-panel-CYmH1Opm.d.ts → side-panel-BEQJqSjR.d.cts} +2 -1
  109. package/dist/{side-panel-BqUnpfev.d.cts → side-panel-Ud0SBAnE.d.ts} +2 -1
  110. package/dist/{statusline-model-C3yIY9WE.d.ts → statusline-model-Dfb_GD9u.d.ts} +7 -4
  111. package/dist/{statusline-model-pGs3Xvp-.d.cts → statusline-model-PHt0YhmI.d.cts} +7 -4
  112. package/dist/{types-BlrXRLIR.d.cts → types-Bwf63xGI.d.cts} +4 -1
  113. package/dist/{types-BlrXRLIR.d.ts → types-Bwf63xGI.d.ts} +4 -1
  114. package/dist/ui.d.cts +3 -3
  115. package/dist/ui.d.ts +3 -3
  116. package/dist/vela.global.js +40 -21
  117. package/dist/vela.global.min.js +55 -55
  118. package/dist/widget.cjs +80 -25
  119. package/dist/widget.d.cts +10 -10
  120. package/dist/widget.d.ts +10 -10
  121. package/dist/widget.js +4 -4
  122. package/dist/workspace.cjs +80 -25
  123. package/dist/workspace.d.cts +7 -7
  124. package/dist/workspace.d.ts +7 -7
  125. package/dist/workspace.js +3 -3
  126. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -19597,6 +19597,7 @@ function mergeConfig(base, patch) {
19597
19597
  mode: isScaleMode(ps.mode) ? ps.mode : base.priceScale.mode,
19598
19598
  log: isBool(ps.log) ? ps.log : base.priceScale.log,
19599
19599
  invert: isBool(ps.invert) ? ps.invert : base.priceScale.invert,
19600
+ priceOnly: isBool(ps.priceOnly) ? ps.priceOnly : base.priceScale.priceOnly,
19600
19601
  borderColor: isColor(ps.borderColor) ? ps.borderColor : base.priceScale.borderColor,
19601
19602
  labelsVisible: isBool(ps.labelsVisible) ? ps.labelsVisible : base.priceScale.labelsVisible,
19602
19603
  currentPriceLine: isBool(ps.currentPriceLine) ? ps.currentPriceLine : base.priceScale.currentPriceLine,
@@ -22005,6 +22006,9 @@ var SceneGraph = class {
22005
22006
  this.logScale = false;
22006
22007
  /** Inverted price axis on the price pane (high at the bottom). Study panes carry their own. */
22007
22008
  this.invertScale = false;
22009
+ /** The price pane's autoscale fits the bars alone: indicator plots, their price lines
22010
+ * and Pine drawings paint where they fall instead of widening the window. */
22011
+ this.scalePriceOnly = false;
22008
22012
  /** Exchange tick size for the active symbol (e.g. 0.01), when known. Drives the
22009
22013
  * price-axis decimals — the instrument's true precision instead of the zoom-derived
22010
22014
  * formula. Undefined until symbol metadata loads (the formula is the fallback). */
@@ -23703,6 +23707,18 @@ var DrawingSceneRenderer = class {
23703
23707
  }
23704
23708
  };
23705
23709
 
23710
+ // src/renderers/native/chrome/tz.ts
23711
+ var DAY_MS3 = 864e5;
23712
+ function displayZone(timeZone, barIntervalMs) {
23713
+ return barIntervalMs >= DAY_MS3 ? "UTC" : timeZone;
23714
+ }
23715
+ function tzOffsetMs(ms, timeZone) {
23716
+ return zoneOffsetMs(ms, timeZone);
23717
+ }
23718
+ function zonedDate(ms, timeZone) {
23719
+ return new Date(ms + tzOffsetMs(ms, timeZone));
23720
+ }
23721
+
23706
23722
  // src/renderers/native/chrome/ticks.ts
23707
23723
  function priceTicks(min, max, target = 6) {
23708
23724
  if (!(max > min) || !Number.isFinite(min) || !Number.isFinite(max)) return [];
@@ -23843,7 +23859,7 @@ var STEP_LADDER = [
23843
23859
  YEAR
23844
23860
  ];
23845
23861
  function formatTimeStamp2(ms, timeZone, barIntervalMs, fmt = ENGLISH_FORMAT, surface = "crosshair") {
23846
- return fmt.timeStamp(ms, { timeZone, withTime: barIntervalMs < DAY2, surface });
23862
+ return fmt.timeStamp(ms, { timeZone: displayZone(timeZone, barIntervalMs), withTime: barIntervalMs < DAY2, surface });
23847
23863
  }
23848
23864
  function pickStep(targetMs) {
23849
23865
  for (const step of STEP_LADDER) if (step >= targetMs) return step;
@@ -23987,14 +24003,6 @@ var PriceAxisTickSource = class {
23987
24003
  }
23988
24004
  };
23989
24005
 
23990
- // src/renderers/native/chrome/tz.ts
23991
- function tzOffsetMs(ms, timeZone) {
23992
- return zoneOffsetMs(ms, timeZone);
23993
- }
23994
- function zonedDate(ms, timeZone) {
23995
- return new Date(ms + tzOffsetMs(ms, timeZone));
23996
- }
23997
-
23998
24006
  // src/renderers/native/chrome/countdown.ts
23999
24007
  function countdownText2(barOpen, barMs, now2, fmt = ENGLISH_FORMAT) {
24000
24008
  if (!(barMs > 0)) return null;
@@ -24708,7 +24716,7 @@ var ChromeRenderer = class {
24708
24716
  ctx.textAlign = "center";
24709
24717
  const y = dataH + (fullH - dataH) / 2;
24710
24718
  const tr = coords.visibleTimeRange();
24711
- const offset = tzOffsetMs((tr.from + tr.to) / 2, scene.timezone);
24719
+ const offset = tzOffsetMs((tr.from + tr.to) / 2, displayZone(scene.timezone, coords.barInterval));
24712
24720
  const target = Math.max(3, Math.min(8, Math.floor(dataW / 64)));
24713
24721
  const ticks = timeTicks(tr.from, tr.to, target, offset, scene.format).map((tick) => ({ ...tick, x: coords.timeToX(tick.time), half: ctx.measureText(tick.label).width / 2 })).filter((tick) => tick.x >= 20 && tick.x <= dataW - 20);
24714
24722
  const GAP = 12;
@@ -25289,6 +25297,7 @@ var TEXT8 = {
25289
25297
  indexedTo100: msg("chart.settings.indexedTo100", "Indexed to 100"),
25290
25298
  logarithmic: msg("chart.settings.logarithmic", "Logarithmic"),
25291
25299
  invertScale: msg("chart.settings.invertScale", "Invert scale"),
25300
+ scalePriceOnly: msg("chart.settings.scalePriceOnly", "Scale price chart only"),
25292
25301
  lastPriceLine: msg("chart.settings.lastPriceLine", "Last price line"),
25293
25302
  lastPriceLabel: msg("chart.settings.lastPriceLabel", "Last price label"),
25294
25303
  countdownToBarClose: msg("chart.settings.countdownToBarClose", "Countdown to bar close"),
@@ -25797,6 +25806,7 @@ var SettingsDialog = class {
25797
25806
  ), "scales.price-scale.mode")
25798
25807
  );
25799
25808
  body.append(sid(this.boolRow(TEXT8.invertScale, config.priceScale.invert, (v) => this.emit({ priceScale: { invert: v } })), "scales.price-scale.invert"));
25809
+ body.append(sid(this.boolRow(TEXT8.scalePriceOnly, config.priceScale.priceOnly, (v) => this.emit({ priceScale: { priceOnly: v } })), "scales.price-scale.price-only"));
25800
25810
  body.append(sid(this.separator(), "scales.price-scale"));
25801
25811
  body.append(sid(this.boolRow(TEXT8.lastPriceLine, config.priceScale.currentPriceLine, (v) => this.emit({ priceScale: { currentPriceLine: v } })), "scales.price-scale.last-price-line"));
25802
25812
  body.append(sid(this.boolRow(TEXT8.lastPriceLabel, config.priceScale.priceLabel, (v) => this.emit({ priceScale: { priceLabel: v } })), "scales.price-scale.last-price-label"));
@@ -33931,7 +33941,7 @@ var BackdropRenderer = class {
33931
33941
  ctx.globalAlpha = gridAlpha;
33932
33942
  ctx.strokeStyle = vertColor;
33933
33943
  const tr = coords.visibleTimeRange();
33934
- const offset = tzOffsetMs((tr.from + tr.to) / 2, scene.timezone);
33944
+ const offset = tzOffsetMs((tr.from + tr.to) / 2, displayZone(scene.timezone, coords.barInterval));
33935
33945
  ctx.beginPath();
33936
33946
  for (const tick of timeTicks(tr.from, tr.to, 8, offset)) {
33937
33947
  const x = Math.round(coords.timeToX(tick.time)) + 0.5;
@@ -34854,7 +34864,7 @@ var NativeRenderer = class {
34854
34864
  this.priceStyleCbs = /* @__PURE__ */ new Set();
34855
34865
  this.priceStyleWillChangeCbs = /* @__PURE__ */ new Set();
34856
34866
  this.name = "native";
34857
- this.features = ["logScale", "currentPriceLine", "priceLabel", "countdown", "upColor", "downColor", "glow", "animZoom", "animPan", "animScroll", "animAutoscale", "animLiveBar", "intro", "zoomAnchor", "axisDrag", "paneResize", "candleZOrder", "candleVisible", "seriesOrder", "highlights", "sessionZones", "gridlines", "axisLabels", "scaleMode", "invertScale", "paneScales", "autoScale", "timezone", "keyboard", "historyChords", "priceStyle", "priceBaseline", "baselinePrice", "settings", "attribution", "dialogHost", "tradeMarkers", "marks", "indicatorTitles", "indicatorValues", "crosshairOverride", "drawingsInteractive", "priceAxisTicks"];
34867
+ this.features = ["logScale", "currentPriceLine", "priceLabel", "countdown", "upColor", "downColor", "glow", "animZoom", "animPan", "animScroll", "animAutoscale", "animLiveBar", "intro", "zoomAnchor", "axisDrag", "paneResize", "candleZOrder", "candleVisible", "seriesOrder", "highlights", "sessionZones", "gridlines", "axisLabels", "scaleMode", "invertScale", "scalePriceOnly", "paneScales", "autoScale", "timezone", "keyboard", "historyChords", "priceStyle", "priceBaseline", "baselinePrice", "settings", "attribution", "dialogHost", "tradeMarkers", "marks", "indicatorTitles", "indicatorValues", "crosshairOverride", "drawingsInteractive", "priceAxisTicks"];
34858
34868
  /** Track cursor proximity to the scroll button on the plot (bubbles from the button too,
34859
34869
  * so moving onto the button doesn't count as leaving). */
34860
34870
  this.onScrollProximityMove = (e) => {
@@ -35013,6 +35023,9 @@ var NativeRenderer = class {
35013
35023
  }
35014
35024
  this.scene.invertScale = Boolean(value);
35015
35025
  break;
35026
+ case "scalePriceOnly":
35027
+ this.scene.scalePriceOnly = Boolean(value);
35028
+ break;
35016
35029
  case "autoScale":
35017
35030
  for (const pane of this.scene.panes.values()) {
35018
35031
  pane.manualScale = value ? null : { ...pane.scale };
@@ -35139,6 +35152,8 @@ var NativeRenderer = class {
35139
35152
  return this.scene.scaleMode;
35140
35153
  case "invertScale":
35141
35154
  return this.scene.invertScale;
35155
+ case "scalePriceOnly":
35156
+ return this.scene.scalePriceOnly;
35142
35157
  case "paneScales":
35143
35158
  return this.paneScaleInfos();
35144
35159
  case "autoScale": {
@@ -35285,6 +35300,7 @@ var NativeRenderer = class {
35285
35300
  mode: this.scene.scaleMode,
35286
35301
  log: this.scene.logScale,
35287
35302
  invert: this.scene.invertScale,
35303
+ priceOnly: this.scene.scalePriceOnly,
35288
35304
  borderColor: s.borderColor ?? t.borderColor,
35289
35305
  labelsVisible: this.scene.showAxisLabels,
35290
35306
  currentPriceLine: this.scene.showPriceLine,
@@ -35399,6 +35415,7 @@ var NativeRenderer = class {
35399
35415
  this.scene.scaleMode = next.priceScale.mode;
35400
35416
  this.scene.logScale = next.priceScale.log;
35401
35417
  this.scene.invertScale = next.priceScale.invert;
35418
+ this.scene.scalePriceOnly = next.priceScale.priceOnly;
35402
35419
  s.borderColor = keepInherit(s.borderColor, next.priceScale.borderColor, prevTheme.borderColor);
35403
35420
  this.scene.showAxisLabels = next.priceScale.labelsVisible;
35404
35421
  this.scene.showPriceLine = next.priceScale.currentPriceLine;
@@ -37380,7 +37397,7 @@ var NativeRenderer = class {
37380
37397
  const pricePane = this.dataWindowPricePane();
37381
37398
  const ohlc = this.dataWindowOHLC(bar, pricePane);
37382
37399
  const parts = [];
37383
- if (bar) parts.push(formatStamp(bar.time, this.scene.timezone));
37400
+ if (bar) parts.push(formatStamp(bar.time, displayZone(this.scene.timezone, this.coords.barInterval)));
37384
37401
  if (ohlc) parts.push(this.t(TEXT16.barSummary, { open: ohlc.o, high: ohlc.h, low: ohlc.l, close: ohlc.c }));
37385
37402
  for (const group of this.dataWindowGroups(idx, pricePane)) {
37386
37403
  for (const row2 of group.rows) parts.push(this.t(TEXT16.valueSummary, { name: row2.label, value: row2.value }));
@@ -37397,7 +37414,7 @@ var NativeRenderer = class {
37397
37414
  const idx = this.hoverLogical != null ? this.hoverLogical : n - 1;
37398
37415
  const bar = this.bars[idx];
37399
37416
  const pricePane = this.dataWindowPricePane();
37400
- const parts = bar ? formatStampParts(bar.time, this.scene.timezone) : { date: "", time: "" };
37417
+ const parts = bar ? formatStampParts(bar.time, displayZone(this.scene.timezone, this.coords.barInterval)) : { date: "", time: "" };
37401
37418
  return { date: parts.date, time: parts.time, ohlc: this.dataWindowOHLC(bar, pricePane), groups: this.dataWindowGroups(idx, pricePane) };
37402
37419
  }
37403
37420
  dataWindowPricePane() {
@@ -37764,7 +37781,8 @@ var NativeRenderer = class {
37764
37781
  if (or) dr = dr ? { min: Math.min(dr.min, or.min), max: Math.max(dr.max, or.max) } : or;
37765
37782
  }
37766
37783
  const includeCandles = pane.kind === "price" && (!this.scene.candlesHidden || this.priceLayersAnchoredToBars(masterModels) || !this.paneHasMeasurableContent(masterModels, dr));
37767
- pane.scaleTarget = computePaneScale(masterModels, this.bars, includeCandles, i0, s1, dr, paneLogScale(this.scene, pane), (id) => this.scene.offsetOf(id), margins);
37784
+ const priceOnly = pane === pricePane && this.scene.scalePriceOnly && includeCandles;
37785
+ pane.scaleTarget = priceOnly ? computePaneScale([], this.bars, true, i0, s1, null, paneLogScale(this.scene, pane), (id) => this.scene.offsetOf(id), margins) : computePaneScale(masterModels, this.bars, includeCandles, i0, s1, dr, paneLogScale(this.scene, pane), (id) => this.scene.offsetOf(id), margins);
37768
37786
  pane.percentBaseline = pane.kind === "price" ? this.bars[i0]?.close ?? 0 : this.firstVisibleValue(masterModels, i0);
37769
37787
  pane.axisFormat = void 0;
37770
37788
  pane.axisBands = void 0;
@@ -42089,16 +42107,16 @@ var volumeSpecs = [
42089
42107
  ];
42090
42108
 
42091
42109
  // src/core/native-indicators/classics/overlays.ts
42092
- var DAY_MS3 = 864e5;
42110
+ var DAY_MS4 = 864e5;
42093
42111
  function periodKey(anchor, time) {
42094
- if (anchor === "Week") return Math.floor((Math.floor(time / DAY_MS3) + 3) / 7);
42112
+ if (anchor === "Week") return Math.floor((Math.floor(time / DAY_MS4) + 3) / 7);
42095
42113
  if (anchor === "Month" || anchor === "Quarter" || anchor === "Year") {
42096
42114
  const d = new Date(time);
42097
42115
  if (anchor === "Year") return d.getUTCFullYear();
42098
42116
  if (anchor === "Quarter") return d.getUTCFullYear() * 4 + Math.floor(d.getUTCMonth() / 3);
42099
42117
  return d.getUTCFullYear() * 12 + d.getUTCMonth();
42100
42118
  }
42101
- return Math.floor(time / DAY_MS3);
42119
+ return Math.floor(time / DAY_MS4);
42102
42120
  }
42103
42121
  function barInterval(bars) {
42104
42122
  if (bars.length < 2) return 0;
@@ -42200,7 +42218,7 @@ var vwap = {
42200
42218
  const anchor = str3(inputs, "anchor", "Session");
42201
42219
  const src = sourceValues(bars, str3(inputs, "source", "HLC3"));
42202
42220
  const n = bars.length;
42203
- const hidden = bool(inputs, "hideDwm", true) && barInterval(bars) >= DAY_MS3;
42221
+ const hidden = bool(inputs, "hideDwm", true) && barInterval(bars) >= DAY_MS4;
42204
42222
  const values = new Array(n).fill(Number.NaN);
42205
42223
  const bands = VWAP_BANDS.filter((b) => bool(inputs, b.show, b.defOn)).map((b) => ({
42206
42224
  mult: Math.max(0, num3(inputs, b.mult, b.defMult)),
@@ -42274,7 +42292,7 @@ var pivotPoints = {
42274
42292
  compute: (bars, inputs) => {
42275
42293
  const interval = barInterval(bars);
42276
42294
  const requested = str3(inputs, "anchor", PIVOT_AUTO);
42277
- const auto = interval <= 15 * 6e4 ? "Session" : interval < DAY_MS3 ? "Week" : interval <= DAY_MS3 ? "Month" : "Year";
42295
+ const auto = interval <= 15 * 6e4 ? "Session" : interval < DAY_MS4 ? "Week" : interval <= DAY_MS4 ? "Month" : "Year";
42278
42296
  const anchor = requested === "Daily" ? "Session" : requested === "Weekly" ? "Week" : requested === "Monthly" ? "Month" : requested === "Yearly" ? "Year" : auto;
42279
42297
  const kind = str3(inputs, "kind", PIVOT_TRADITIONAL);
42280
42298
  const aggs = /* @__PURE__ */ new Map();
@@ -42360,7 +42378,7 @@ var fiftyTwoWeek = {
42360
42378
  colorInput(NEUTRAL, msg("indicator.n52WeekHighLow.allTimeColor", "All-Time High/Low"), "allTimeColor", msg("indicator.n52WeekHighLow.allTimeColor.tooltip", "Color of the all-time high and all-time low levels."))
42361
42379
  ],
42362
42380
  compute: (bars, inputs) => {
42363
- const span = num3(inputs, "weeks", 52) * 7 * DAY_MS3;
42381
+ const span = num3(inputs, "weeks", 52) * 7 * DAY_MS4;
42364
42382
  const n = bars.length;
42365
42383
  const hi = new Array(n).fill(Number.NaN);
42366
42384
  const lo = new Array(n).fill(Number.NaN);
@@ -43047,6 +43065,7 @@ var CONTEXT_MENU_BUILTIN_ORDER = {
43047
43065
  body: { "reset-view": -30, "remove-drawings": -20, "remove-indicators": -10, settings: 1e3 },
43048
43066
  "price-axis": {
43049
43067
  auto: -80,
43068
+ "price-only": -75,
43050
43069
  invert: -70,
43051
43070
  "scale:regular": -60,
43052
43071
  "scale:percent": -50,
package/dist/index.d.cts CHANGED
@@ -1,15 +1,15 @@
1
- import { D as DrawingsDocument, d as Resolved, e as ReplayTick, f as DataControl, g as ReplayTickSource } from './contributions-CpCJisTC.cjs';
2
- export { B as BarsChangeReason, C as CellStateContext, h as CodeUpdateResult, i as ContextMenuPointer, j as ContextSelect, k as DrawingsControl, 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, u as IndicatorEventMap, I as IndicatorHandle, v as IndicatorSummary, L as LegendActionDescriptor, w as LegendCalloutContent, x as LegendCalloutDescriptor, y as LegendCalloutItem, z as LegendCalloutSpec, A as LegendIndicatorInfo, M as MarksControl, N as NativeIndicator, G as NativeIndicatorContext, H as NativeIndicatorDescriptor, J as NativeIndicatorInfo, K as NativeIndicatorOutput, O as OVERRIDABLE_TOPBAR_IDS, P as ParsedSymbol, Q as PreparedScript, T as RendererControl, a as ReplayBounds, U as ReplayControl, X as ReplayEndReason, Y as ReplayStartOptions, R as ReplayState, Z as RunIndicatorResult, _ as SceneInspection, 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, aa as TypedEventBus, V as Vela, ab as VelaDeps, b as VelaEventMap, ac as VisibleBarRange, ad as WidgetActionDescriptor, ae as WidgetActionTarget, af as WidgetAttachment, W as WidgetContext, ag as getNativeIndicator, ah as legendActions, ai as legendCallouts, aj as nativeIndicatorDescriptors, 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';
3
- import { D as Drawing, S as SerializedDrawing, U as Unsubscribe, L as LineStyle, P as PriceStyle, e as IChartRenderer, R as RendererCapabilities, f as RendererDisplayOptions, g as IndicatorRenderHandle, h as IndicatorStatus, c as VelaTheme, i as RendererRootAttributes, W as WallClock, O as OHLCV, j as Pane, k as PaneAction, l as MoveTarget, m as IndicatorModel, n as ScenePatch, I as InputValue, o as SymbolPickerFn, p as LegendActionView, q as LegendCalloutView, r as InputChangeEvent, T as ThemeName, C as CrosshairEvent, s as ClickEvent, A as AxisLongPressEvent, t as TimelineMark, u as MarkGroup, v as MarkClickEvent, a as VisibleRange, w as DataWindowReadout, x as IDrawingsRendererPort, y as Millis, z as SnapMode, B as DrawingTypeKey, E as ToolbarDefinition, M as MarketConfig, F as MarketSnapshot } from './options-CpegHml_.cjs';
4
- export { G as AddIndicatorOptions, H as AnimationConfig, J as Background, K as BoxFontFamily, Q as BoxHAlign, X as BoxTextSize, Y as BoxVAlign, Z as CandleBarColor, _ as CandleSeries, $ as CandleStyle, a0 as DataWindowGroup, a1 as DataWindowOHLC, a2 as DataWindowRow, a3 as DirtyRange, a4 as DrawingBox, a5 as DrawingExtend, a6 as DrawingIntent, a7 as DrawingLabel, a8 as DrawingLine, a9 as DrawingLinefill, aa as DrawingMode, ab as DrawingPoint, ac as DrawingPolyline, ad as DrawingSeriesBar, ae as DrawingSeriesGateway, af as DrawingSeriesState, ag as DrawingStyle, ah as DrawingTable, ai as DrawingText, aj as DrawingXLoc, ak as DrawingsOption, al as Fill, am as FillGradientStop, an as IndicatorMeta, ao as InputCondition, ap as InputDisplay, aq as InputSchema, ar as InputType, as as InputWhen, at as IntroAnimation, au as IntroConfig, av as IntroStyle, aw as LabelStyle, ax as LabelYLoc, ay as LineLikeKind, az as LineLikeSeries, aA as LineLikeStyle, aB as MarkContent, aC as MarkContentSource, aD as MarkGlyph, aE as MarkPanelItem, aF as MarkShape, aG as MarkerPoint, aH as MarkerSeries, aI as MarketSwitch, aJ as PaneAxis, aK as PaneAxisBand, aL as PaneHint, aM as PaneKind, aN as PolylinePoint, aO as PriceAxisOptions, aP as PriceAxisTick, aQ as PriceAxisTickContext, aR as PriceAxisTicksFn, aS as PriceLine, aT as Projector, aU as ProviderName, aV as RendererConstructor, aW as Scene, aX as SchemaPatch, aY as SecondClock, aZ as SeriesDisplay, a_ as SeriesKind, a$ as SeriesPoint, b0 as SeriesSpec, b1 as SeriesSurface, b2 as SeriesValueDelta, b3 as SettingsField, b4 as SettingsSchema, b5 as SettingsVisibilityPolicy, b6 as TableCell, b7 as TableMerge, b8 as TablePosition, b9 as ToolbarGroupConfig, ba as TradeExecution, bb as ValuePatch, b as VelaOptions, V as VisibleRangePreset, bc as buildToolbar, bd as defaultToolbar, be as inputDeltas, bf as inputVisible, bg as seriesInScale, bh as seriesShownOn } from './options-CpegHml_.cjs';
5
- import { M as MessageLike, T as Translator } from './types-BlrXRLIR.cjs';
6
- 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, 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, V as VelaFormatters, s as VelaMessageCatalog, t as VelaMessageId } from './types-BlrXRLIR.cjs';
7
- import { S as SettingsSelectOption } from './plugin-DpNp4aBi.cjs';
8
- 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, 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, Z as createDrawing, _ as createTranslator, $ as deserializeDrawing, a0 as drawingTypes, a1 as getDrawingType, a2 as msg, a3 as normalizeSettingsRow, a4 as registerChartType, a5 as registerDrawingType, 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';
9
- import { M as MarketDataFeed, D as DataProvider, P as ProviderInfo, a as SymbolDescriptor, S as SymbolInfo, b as ProviderCapabilities, B as BarRange } from './DataProvider-zJGp58kb.cjs';
10
- 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';
1
+ import { D as DrawingsDocument, d as Resolved, e as ReplayTick, f as DataControl, g as ReplayTickSource } from './contributions-DupwEkzc.cjs';
2
+ export { B as BarsChangeReason, C as CellStateContext, h as CodeUpdateResult, i as ContextMenuPointer, j as ContextSelect, k as DrawingsControl, 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, u as IndicatorEventMap, I as IndicatorHandle, v as IndicatorSummary, L as LegendActionDescriptor, w as LegendCalloutContent, x as LegendCalloutDescriptor, y as LegendCalloutItem, z as LegendCalloutSpec, A as LegendIndicatorInfo, M as MarksControl, N as NativeIndicator, G as NativeIndicatorContext, H as NativeIndicatorDescriptor, J as NativeIndicatorInfo, K as NativeIndicatorOutput, O as OVERRIDABLE_TOPBAR_IDS, P as ParsedSymbol, Q as PreparedScript, T as RendererControl, a as ReplayBounds, U as ReplayControl, X as ReplayEndReason, Y as ReplayStartOptions, R as ReplayState, Z as RunIndicatorResult, _ as SceneInspection, 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, aa as TypedEventBus, V as Vela, ab as VelaDeps, b as VelaEventMap, ac as VisibleBarRange, ad as WidgetActionDescriptor, ae as WidgetActionTarget, af as WidgetAttachment, W as WidgetContext, ag as getNativeIndicator, ah as legendActions, ai as legendCallouts, aj as nativeIndicatorDescriptors, 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';
3
+ import { D as Drawing, S as SerializedDrawing, U as Unsubscribe, L as LineStyle, P as PriceStyle, e as IChartRenderer, R as RendererCapabilities, f as RendererDisplayOptions, g as IndicatorRenderHandle, h as IndicatorStatus, c as VelaTheme, i as RendererRootAttributes, W as WallClock, O as OHLCV, j as Pane, k as PaneAction, l as MoveTarget, m as IndicatorModel, n as ScenePatch, I as InputValue, o as SymbolPickerFn, p as LegendActionView, q as LegendCalloutView, r as InputChangeEvent, T as ThemeName, C as CrosshairEvent, s as ClickEvent, A as AxisLongPressEvent, t as TimelineMark, u as MarkGroup, v as MarkClickEvent, a as VisibleRange, w as DataWindowReadout, x as IDrawingsRendererPort, y as Millis, z as SnapMode, B as DrawingTypeKey, E as ToolbarDefinition, M as MarketConfig, F as MarketSnapshot } from './options-I1H2HDWw.cjs';
4
+ export { G as AddIndicatorOptions, H as AnimationConfig, J as Background, K as BoxFontFamily, Q as BoxHAlign, X as BoxTextSize, Y as BoxVAlign, Z as CandleBarColor, _ as CandleSeries, $ as CandleStyle, a0 as DataWindowGroup, a1 as DataWindowOHLC, a2 as DataWindowRow, a3 as DirtyRange, a4 as DrawingBox, a5 as DrawingExtend, a6 as DrawingIntent, a7 as DrawingLabel, a8 as DrawingLine, a9 as DrawingLinefill, aa as DrawingMode, ab as DrawingPoint, ac as DrawingPolyline, ad as DrawingSeriesBar, ae as DrawingSeriesGateway, af as DrawingSeriesState, ag as DrawingStyle, ah as DrawingTable, ai as DrawingText, aj as DrawingXLoc, ak as DrawingsOption, al as Fill, am as FillGradientStop, an as IndicatorMeta, ao as InputCondition, ap as InputDisplay, aq as InputSchema, ar as InputType, as as InputWhen, at as IntroAnimation, au as IntroConfig, av as IntroStyle, aw as LabelStyle, ax as LabelYLoc, ay as LineLikeKind, az as LineLikeSeries, aA as LineLikeStyle, aB as MarkContent, aC as MarkContentSource, aD as MarkGlyph, aE as MarkPanelItem, aF as MarkShape, aG as MarkerPoint, aH as MarkerSeries, aI as MarketSwitch, aJ as PaneAxis, aK as PaneAxisBand, aL as PaneHint, aM as PaneKind, aN as PolylinePoint, aO as PriceAxisOptions, aP as PriceAxisTick, aQ as PriceAxisTickContext, aR as PriceAxisTicksFn, aS as PriceLine, aT as Projector, aU as ProviderName, aV as RendererConstructor, aW as Scene, aX as SchemaPatch, aY as SecondClock, aZ as SeriesDisplay, a_ as SeriesKind, a$ as SeriesPoint, b0 as SeriesSpec, b1 as SeriesSurface, b2 as SeriesValueDelta, b3 as SettingsField, b4 as SettingsSchema, b5 as SettingsVisibilityPolicy, b6 as TableCell, b7 as TableMerge, b8 as TablePosition, b9 as ToolbarGroupConfig, ba as TradeExecution, bb as ValuePatch, b as VelaOptions, V as VisibleRangePreset, bc as buildToolbar, bd as defaultToolbar, be as inputDeltas, bf as inputVisible, bg as seriesInScale, bh as seriesShownOn } from './options-I1H2HDWw.cjs';
5
+ import { M as MessageLike, T as Translator } from './types-Bwf63xGI.cjs';
6
+ 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, 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, V as VelaFormatters, s as VelaMessageCatalog, t as VelaMessageId } from './types-Bwf63xGI.cjs';
7
+ import { S as SettingsSelectOption } from './plugin-BGz-Vsdv.cjs';
8
+ 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, 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, Z as createDrawing, _ as createTranslator, $ as deserializeDrawing, a0 as drawingTypes, a1 as getDrawingType, a2 as msg, a3 as normalizeSettingsRow, a4 as registerChartType, a5 as registerDrawingType, 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';
9
+ import { M as MarketDataFeed, D as DataProvider, P as ProviderInfo, a as SymbolDescriptor, S as SymbolInfo, b as ProviderCapabilities, B as BarRange } from './DataProvider-B5i0_yY4.cjs';
10
+ 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';
11
11
  export { i as iconMarkup, r as registerIcon } from './icons-BZYbJXSV.cjs';
12
- export { a as KeyBindingDescriptor, R as ResolvedBinding } from './keymap-B9_FLhfJ.cjs';
12
+ export { a as KeyBindingDescriptor, R as ResolvedBinding } from './keymap-W0hiajU6.cjs';
13
13
 
14
14
  /**
15
15
  * The single source of truth for a chart's user drawings. Owns identity + paint
@@ -202,6 +202,8 @@ interface ChartConfig {
202
202
  log: boolean;
203
203
  /** Inverted price axis (high at the bottom). */
204
204
  invert: boolean;
205
+ /** Autoscale fits the price bars only; indicators no longer widen the window. */
206
+ priceOnly: boolean;
205
207
  borderColor: string;
206
208
  labelsVisible: boolean;
207
209
  currentPriceLine: boolean;
package/dist/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
- import { D as DrawingsDocument, d as Resolved, e as ReplayTick, f as DataControl, g as ReplayTickSource } from './contributions-BjefWpxQ.js';
2
- export { B as BarsChangeReason, C as CellStateContext, h as CodeUpdateResult, i as ContextMenuPointer, j as ContextSelect, k as DrawingsControl, 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, u as IndicatorEventMap, I as IndicatorHandle, v as IndicatorSummary, L as LegendActionDescriptor, w as LegendCalloutContent, x as LegendCalloutDescriptor, y as LegendCalloutItem, z as LegendCalloutSpec, A as LegendIndicatorInfo, M as MarksControl, N as NativeIndicator, G as NativeIndicatorContext, H as NativeIndicatorDescriptor, J as NativeIndicatorInfo, K as NativeIndicatorOutput, O as OVERRIDABLE_TOPBAR_IDS, P as ParsedSymbol, Q as PreparedScript, T as RendererControl, a as ReplayBounds, U as ReplayControl, X as ReplayEndReason, Y as ReplayStartOptions, R as ReplayState, Z as RunIndicatorResult, _ as SceneInspection, 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, aa as TypedEventBus, V as Vela, ab as VelaDeps, b as VelaEventMap, ac as VisibleBarRange, ad as WidgetActionDescriptor, ae as WidgetActionTarget, af as WidgetAttachment, W as WidgetContext, ag as getNativeIndicator, ah as legendActions, ai as legendCallouts, aj as nativeIndicatorDescriptors, 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';
3
- import { D as Drawing, S as SerializedDrawing, U as Unsubscribe, L as LineStyle, P as PriceStyle, e as IChartRenderer, R as RendererCapabilities, f as RendererDisplayOptions, g as IndicatorRenderHandle, h as IndicatorStatus, c as VelaTheme, i as RendererRootAttributes, W as WallClock, O as OHLCV, j as Pane, k as PaneAction, l as MoveTarget, m as IndicatorModel, n as ScenePatch, I as InputValue, o as SymbolPickerFn, p as LegendActionView, q as LegendCalloutView, r as InputChangeEvent, T as ThemeName, C as CrosshairEvent, s as ClickEvent, A as AxisLongPressEvent, t as TimelineMark, u as MarkGroup, v as MarkClickEvent, a as VisibleRange, w as DataWindowReadout, x as IDrawingsRendererPort, y as Millis, z as SnapMode, B as DrawingTypeKey, E as ToolbarDefinition, M as MarketConfig, F as MarketSnapshot } from './options-D4L3_hv_.js';
4
- export { G as AddIndicatorOptions, H as AnimationConfig, J as Background, K as BoxFontFamily, Q as BoxHAlign, X as BoxTextSize, Y as BoxVAlign, Z as CandleBarColor, _ as CandleSeries, $ as CandleStyle, a0 as DataWindowGroup, a1 as DataWindowOHLC, a2 as DataWindowRow, a3 as DirtyRange, a4 as DrawingBox, a5 as DrawingExtend, a6 as DrawingIntent, a7 as DrawingLabel, a8 as DrawingLine, a9 as DrawingLinefill, aa as DrawingMode, ab as DrawingPoint, ac as DrawingPolyline, ad as DrawingSeriesBar, ae as DrawingSeriesGateway, af as DrawingSeriesState, ag as DrawingStyle, ah as DrawingTable, ai as DrawingText, aj as DrawingXLoc, ak as DrawingsOption, al as Fill, am as FillGradientStop, an as IndicatorMeta, ao as InputCondition, ap as InputDisplay, aq as InputSchema, ar as InputType, as as InputWhen, at as IntroAnimation, au as IntroConfig, av as IntroStyle, aw as LabelStyle, ax as LabelYLoc, ay as LineLikeKind, az as LineLikeSeries, aA as LineLikeStyle, aB as MarkContent, aC as MarkContentSource, aD as MarkGlyph, aE as MarkPanelItem, aF as MarkShape, aG as MarkerPoint, aH as MarkerSeries, aI as MarketSwitch, aJ as PaneAxis, aK as PaneAxisBand, aL as PaneHint, aM as PaneKind, aN as PolylinePoint, aO as PriceAxisOptions, aP as PriceAxisTick, aQ as PriceAxisTickContext, aR as PriceAxisTicksFn, aS as PriceLine, aT as Projector, aU as ProviderName, aV as RendererConstructor, aW as Scene, aX as SchemaPatch, aY as SecondClock, aZ as SeriesDisplay, a_ as SeriesKind, a$ as SeriesPoint, b0 as SeriesSpec, b1 as SeriesSurface, b2 as SeriesValueDelta, b3 as SettingsField, b4 as SettingsSchema, b5 as SettingsVisibilityPolicy, b6 as TableCell, b7 as TableMerge, b8 as TablePosition, b9 as ToolbarGroupConfig, ba as TradeExecution, bb as ValuePatch, b as VelaOptions, V as VisibleRangePreset, bc as buildToolbar, bd as defaultToolbar, be as inputDeltas, bf as inputVisible, bg as seriesInScale, bh as seriesShownOn } from './options-D4L3_hv_.js';
5
- import { M as MessageLike, T as Translator } from './types-BlrXRLIR.js';
6
- 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, 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, V as VelaFormatters, s as VelaMessageCatalog, t as VelaMessageId } from './types-BlrXRLIR.js';
7
- import { S as SettingsSelectOption } from './plugin-DTmulpKM.js';
8
- 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, 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, Z as createDrawing, _ as createTranslator, $ as deserializeDrawing, a0 as drawingTypes, a1 as getDrawingType, a2 as msg, a3 as normalizeSettingsRow, a4 as registerChartType, a5 as registerDrawingType, 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';
9
- import { M as MarketDataFeed, D as DataProvider, P as ProviderInfo, a as SymbolDescriptor, S as SymbolInfo, b as ProviderCapabilities, B as BarRange } from './DataProvider-BGlB1zSc.js';
10
- 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';
1
+ import { D as DrawingsDocument, d as Resolved, e as ReplayTick, f as DataControl, g as ReplayTickSource } from './contributions-BfBaF6eE.js';
2
+ export { B as BarsChangeReason, C as CellStateContext, h as CodeUpdateResult, i as ContextMenuPointer, j as ContextSelect, k as DrawingsControl, 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, u as IndicatorEventMap, I as IndicatorHandle, v as IndicatorSummary, L as LegendActionDescriptor, w as LegendCalloutContent, x as LegendCalloutDescriptor, y as LegendCalloutItem, z as LegendCalloutSpec, A as LegendIndicatorInfo, M as MarksControl, N as NativeIndicator, G as NativeIndicatorContext, H as NativeIndicatorDescriptor, J as NativeIndicatorInfo, K as NativeIndicatorOutput, O as OVERRIDABLE_TOPBAR_IDS, P as ParsedSymbol, Q as PreparedScript, T as RendererControl, a as ReplayBounds, U as ReplayControl, X as ReplayEndReason, Y as ReplayStartOptions, R as ReplayState, Z as RunIndicatorResult, _ as SceneInspection, 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, aa as TypedEventBus, V as Vela, ab as VelaDeps, b as VelaEventMap, ac as VisibleBarRange, ad as WidgetActionDescriptor, ae as WidgetActionTarget, af as WidgetAttachment, W as WidgetContext, ag as getNativeIndicator, ah as legendActions, ai as legendCallouts, aj as nativeIndicatorDescriptors, 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';
3
+ import { D as Drawing, S as SerializedDrawing, U as Unsubscribe, L as LineStyle, P as PriceStyle, e as IChartRenderer, R as RendererCapabilities, f as RendererDisplayOptions, g as IndicatorRenderHandle, h as IndicatorStatus, c as VelaTheme, i as RendererRootAttributes, W as WallClock, O as OHLCV, j as Pane, k as PaneAction, l as MoveTarget, m as IndicatorModel, n as ScenePatch, I as InputValue, o as SymbolPickerFn, p as LegendActionView, q as LegendCalloutView, r as InputChangeEvent, T as ThemeName, C as CrosshairEvent, s as ClickEvent, A as AxisLongPressEvent, t as TimelineMark, u as MarkGroup, v as MarkClickEvent, a as VisibleRange, w as DataWindowReadout, x as IDrawingsRendererPort, y as Millis, z as SnapMode, B as DrawingTypeKey, E as ToolbarDefinition, M as MarketConfig, F as MarketSnapshot } from './options-B7aL1pbf.js';
4
+ export { G as AddIndicatorOptions, H as AnimationConfig, J as Background, K as BoxFontFamily, Q as BoxHAlign, X as BoxTextSize, Y as BoxVAlign, Z as CandleBarColor, _ as CandleSeries, $ as CandleStyle, a0 as DataWindowGroup, a1 as DataWindowOHLC, a2 as DataWindowRow, a3 as DirtyRange, a4 as DrawingBox, a5 as DrawingExtend, a6 as DrawingIntent, a7 as DrawingLabel, a8 as DrawingLine, a9 as DrawingLinefill, aa as DrawingMode, ab as DrawingPoint, ac as DrawingPolyline, ad as DrawingSeriesBar, ae as DrawingSeriesGateway, af as DrawingSeriesState, ag as DrawingStyle, ah as DrawingTable, ai as DrawingText, aj as DrawingXLoc, ak as DrawingsOption, al as Fill, am as FillGradientStop, an as IndicatorMeta, ao as InputCondition, ap as InputDisplay, aq as InputSchema, ar as InputType, as as InputWhen, at as IntroAnimation, au as IntroConfig, av as IntroStyle, aw as LabelStyle, ax as LabelYLoc, ay as LineLikeKind, az as LineLikeSeries, aA as LineLikeStyle, aB as MarkContent, aC as MarkContentSource, aD as MarkGlyph, aE as MarkPanelItem, aF as MarkShape, aG as MarkerPoint, aH as MarkerSeries, aI as MarketSwitch, aJ as PaneAxis, aK as PaneAxisBand, aL as PaneHint, aM as PaneKind, aN as PolylinePoint, aO as PriceAxisOptions, aP as PriceAxisTick, aQ as PriceAxisTickContext, aR as PriceAxisTicksFn, aS as PriceLine, aT as Projector, aU as ProviderName, aV as RendererConstructor, aW as Scene, aX as SchemaPatch, aY as SecondClock, aZ as SeriesDisplay, a_ as SeriesKind, a$ as SeriesPoint, b0 as SeriesSpec, b1 as SeriesSurface, b2 as SeriesValueDelta, b3 as SettingsField, b4 as SettingsSchema, b5 as SettingsVisibilityPolicy, b6 as TableCell, b7 as TableMerge, b8 as TablePosition, b9 as ToolbarGroupConfig, ba as TradeExecution, bb as ValuePatch, b as VelaOptions, V as VisibleRangePreset, bc as buildToolbar, bd as defaultToolbar, be as inputDeltas, bf as inputVisible, bg as seriesInScale, bh as seriesShownOn } from './options-B7aL1pbf.js';
5
+ import { M as MessageLike, T as Translator } from './types-Bwf63xGI.js';
6
+ 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, 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, V as VelaFormatters, s as VelaMessageCatalog, t as VelaMessageId } from './types-Bwf63xGI.js';
7
+ import { S as SettingsSelectOption } from './plugin-BZHypj8h.js';
8
+ 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, 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, Z as createDrawing, _ as createTranslator, $ as deserializeDrawing, a0 as drawingTypes, a1 as getDrawingType, a2 as msg, a3 as normalizeSettingsRow, a4 as registerChartType, a5 as registerDrawingType, 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';
9
+ import { M as MarketDataFeed, D as DataProvider, P as ProviderInfo, a as SymbolDescriptor, S as SymbolInfo, b as ProviderCapabilities, B as BarRange } from './DataProvider-CPFgSyAm.js';
10
+ 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';
11
11
  export { i as iconMarkup, r as registerIcon } from './icons-BZYbJXSV.js';
12
- export { a as KeyBindingDescriptor, R as ResolvedBinding } from './keymap-UolhuXH1.js';
12
+ export { a as KeyBindingDescriptor, R as ResolvedBinding } from './keymap-C48ughm6.js';
13
13
 
14
14
  /**
15
15
  * The single source of truth for a chart's user drawings. Owns identity + paint
@@ -202,6 +202,8 @@ interface ChartConfig {
202
202
  log: boolean;
203
203
  /** Inverted price axis (high at the bottom). */
204
204
  invert: boolean;
205
+ /** Autoscale fits the price bars only; indicators no longer widen the window. */
206
+ priceOnly: boolean;
205
207
  borderColor: string;
206
208
  labelsVisible: boolean;
207
209
  currentPriceLine: boolean;
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import './chunk-3EYCX2L4.js';
2
- export { BarStore, CachingDataFeed, DARK_THEME, DataControl, DrawingStore, DrawingToolbar, DrawingsControl, LIGHT_THEME, MarksControl, MultiProviderFeed, NativeRenderer, RendererControl, ReplayControl, SecondClock, TypedEventBus, Vela, buildToolbar, defaultToolbar, resolveTheme, sharedBarStore, timeframeToMs } from './chunk-XIRSR3D6.js';
3
- export { CONTEXT_MENU_BUILTIN_ORDER, DEFAULT_PANEL_MAX_WIDTH, DEFAULT_PANEL_MIN_WIDTH, DEFAULT_PANEL_WIDTH, Drawing, OVERRIDABLE_TOPBAR_IDS, chartType, chartTypes, clampPanelWidth, createDrawing, deserializeDrawing, drawingTypes, getDrawingType, getNativeIndicator, inputDeltas, inputVisible, legendActions, legendCallouts, nativeIndicatorDescriptors, nativeIndicatorTypes, normalizeSettingsRow, registerChartType, registerDefaultEngine, registerDrawingType, 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';
2
+ export { BarStore, CachingDataFeed, DARK_THEME, DataControl, DrawingStore, DrawingToolbar, DrawingsControl, LIGHT_THEME, MarksControl, MultiProviderFeed, NativeRenderer, RendererControl, ReplayControl, SecondClock, TypedEventBus, Vela, buildToolbar, defaultToolbar, resolveTheme, sharedBarStore, timeframeToMs } from './chunk-3H6JO4VL.js';
3
+ export { CONTEXT_MENU_BUILTIN_ORDER, DEFAULT_PANEL_MAX_WIDTH, DEFAULT_PANEL_MIN_WIDTH, DEFAULT_PANEL_WIDTH, Drawing, OVERRIDABLE_TOPBAR_IDS, chartType, chartTypes, clampPanelWidth, createDrawing, deserializeDrawing, drawingTypes, getDrawingType, getNativeIndicator, inputDeltas, inputVisible, legendActions, legendCallouts, nativeIndicatorDescriptors, nativeIndicatorTypes, normalizeSettingsRow, registerChartType, registerDefaultEngine, registerDrawingType, 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';
4
4
  import './chunk-PZN4RS4T.js';
5
5
  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';
6
6
 
@@ -1,4 +1,4 @@
1
- import { M as MessageLike, T as Translator } from './types-BlrXRLIR.js';
1
+ import { M as MessageLike, T as Translator } from './types-Bwf63xGI.js';
2
2
 
3
3
  interface KeyBindingDescriptor {
4
4
  /** Stable id, e.g. `'chart.toggle-log-scale'`. Re-registering an id replaces it. */
@@ -1,4 +1,4 @@
1
- import { M as MessageLike, T as Translator } from './types-BlrXRLIR.cjs';
1
+ import { M as MessageLike, T as Translator } from './types-Bwf63xGI.cjs';
2
2
 
3
3
  interface KeyBindingDescriptor {
4
4
  /** Stable id, e.g. `'chart.toggle-log-scale'`. Re-registering an id replaces it. */
@@ -125,6 +125,7 @@ var ar_default = {
125
125
  "chart.settings.revealOnLoadHint": "تُرسم الشموع تدريجيًا عند أول تحميل للرسم البياني. يسري التغيير عند التحميل التالي.",
126
126
  "chart.settings.right": "اليمين",
127
127
  "chart.settings.scaleBorderColor": "لون حدود المقياس",
128
+ "chart.settings.scalePriceOnly": "تحجيم مخطط السعر فقط",
128
129
  "chart.settings.scalesAndLines": "المقاييس والخطوط",
129
130
  "chart.settings.sections": "الأقسام",
130
131
  "chart.settings.solid": "متصل",
@@ -2012,6 +2013,7 @@ var ar_default = {
2012
2013
  "widget.contextMenu.scale.log": "لوغاريتمي",
2013
2014
  "widget.contextMenu.scale.percent": "نسبة مئوية",
2014
2015
  "widget.contextMenu.scale.regular": "عادي",
2016
+ "widget.contextMenu.scalePriceOnly": "تحجيم مخطط السعر فقط",
2015
2017
  "widget.contextMenu.settings": "الإعدادات…",
2016
2018
  "widget.contextMenu.timezone": "المنطقة الزمنية",
2017
2019
  "widget.dataWindow.close": "الإغلاق",
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-BlrXRLIR.cjs';
1
+ import { L as LocalePack } from '../types-Bwf63xGI.cjs';
2
2
 
3
3
  declare const ar: LocalePack;
4
4
 
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-BlrXRLIR.js';
1
+ import { L as LocalePack } from '../types-Bwf63xGI.js';
2
2
 
3
3
  declare const ar: LocalePack;
4
4
 
@@ -123,6 +123,7 @@ var ar_default = {
123
123
  "chart.settings.revealOnLoadHint": "تُرسم الشموع تدريجيًا عند أول تحميل للرسم البياني. يسري التغيير عند التحميل التالي.",
124
124
  "chart.settings.right": "اليمين",
125
125
  "chart.settings.scaleBorderColor": "لون حدود المقياس",
126
+ "chart.settings.scalePriceOnly": "تحجيم مخطط السعر فقط",
126
127
  "chart.settings.scalesAndLines": "المقاييس والخطوط",
127
128
  "chart.settings.sections": "الأقسام",
128
129
  "chart.settings.solid": "متصل",
@@ -2010,6 +2011,7 @@ var ar_default = {
2010
2011
  "widget.contextMenu.scale.log": "لوغاريتمي",
2011
2012
  "widget.contextMenu.scale.percent": "نسبة مئوية",
2012
2013
  "widget.contextMenu.scale.regular": "عادي",
2014
+ "widget.contextMenu.scalePriceOnly": "تحجيم مخطط السعر فقط",
2013
2015
  "widget.contextMenu.settings": "الإعدادات…",
2014
2016
  "widget.contextMenu.timezone": "المنطقة الزمنية",
2015
2017
  "widget.dataWindow.close": "الإغلاق",
@@ -125,6 +125,7 @@ var de_default = {
125
125
  "chart.settings.revealOnLoadHint": "Zeichnet die Kerzen beim ersten Laden eines Charts schrittweise ein. Wirkt ab dem nächsten Laden.",
126
126
  "chart.settings.right": "Rechts",
127
127
  "chart.settings.scaleBorderColor": "Rahmenfarbe der Skala",
128
+ "chart.settings.scalePriceOnly": "Nur Kurschart skalieren",
128
129
  "chart.settings.scalesAndLines": "Skalen und Linien",
129
130
  "chart.settings.sections": "Abschnitte",
130
131
  "chart.settings.solid": "Durchgezogen",
@@ -2012,6 +2013,7 @@ var de_default = {
2012
2013
  "widget.contextMenu.scale.log": "Logarithmisch",
2013
2014
  "widget.contextMenu.scale.percent": "Prozent",
2014
2015
  "widget.contextMenu.scale.regular": "Regulär",
2016
+ "widget.contextMenu.scalePriceOnly": "Nur Kurschart skalieren",
2015
2017
  "widget.contextMenu.settings": "Einstellungen…",
2016
2018
  "widget.contextMenu.timezone": "Zeitzone",
2017
2019
  "widget.dataWindow.close": "Schluss",
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-BlrXRLIR.cjs';
1
+ import { L as LocalePack } from '../types-Bwf63xGI.cjs';
2
2
 
3
3
  declare const de: LocalePack;
4
4
 
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-BlrXRLIR.js';
1
+ import { L as LocalePack } from '../types-Bwf63xGI.js';
2
2
 
3
3
  declare const de: LocalePack;
4
4
 
@@ -123,6 +123,7 @@ var de_default = {
123
123
  "chart.settings.revealOnLoadHint": "Zeichnet die Kerzen beim ersten Laden eines Charts schrittweise ein. Wirkt ab dem nächsten Laden.",
124
124
  "chart.settings.right": "Rechts",
125
125
  "chart.settings.scaleBorderColor": "Rahmenfarbe der Skala",
126
+ "chart.settings.scalePriceOnly": "Nur Kurschart skalieren",
126
127
  "chart.settings.scalesAndLines": "Skalen und Linien",
127
128
  "chart.settings.sections": "Abschnitte",
128
129
  "chart.settings.solid": "Durchgezogen",
@@ -2010,6 +2011,7 @@ var de_default = {
2010
2011
  "widget.contextMenu.scale.log": "Logarithmisch",
2011
2012
  "widget.contextMenu.scale.percent": "Prozent",
2012
2013
  "widget.contextMenu.scale.regular": "Regulär",
2014
+ "widget.contextMenu.scalePriceOnly": "Nur Kurschart skalieren",
2013
2015
  "widget.contextMenu.settings": "Einstellungen…",
2014
2016
  "widget.contextMenu.timezone": "Zeitzone",
2015
2017
  "widget.dataWindow.close": "Schluss",
@@ -125,6 +125,7 @@ var en_default = {
125
125
  "chart.settings.revealOnLoadHint": "Draw the candles in when a chart first loads. Takes effect on the next load.",
126
126
  "chart.settings.right": "Right",
127
127
  "chart.settings.scaleBorderColor": "Scale border color",
128
+ "chart.settings.scalePriceOnly": "Scale price chart only",
128
129
  "chart.settings.scalesAndLines": "Scales and lines",
129
130
  "chart.settings.sections": "Sections",
130
131
  "chart.settings.solid": "Solid",
@@ -2012,6 +2013,7 @@ var en_default = {
2012
2013
  "widget.contextMenu.scale.log": "Logarithmic",
2013
2014
  "widget.contextMenu.scale.percent": "Percent",
2014
2015
  "widget.contextMenu.scale.regular": "Regular",
2016
+ "widget.contextMenu.scalePriceOnly": "Scale price chart only",
2015
2017
  "widget.contextMenu.settings": "Settings…",
2016
2018
  "widget.contextMenu.timezone": "Time zone",
2017
2019
  "widget.dataWindow.close": "Close",
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-BlrXRLIR.cjs';
1
+ import { L as LocalePack } from '../types-Bwf63xGI.cjs';
2
2
 
3
3
  declare const en: LocalePack;
4
4
 
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-BlrXRLIR.js';
1
+ import { L as LocalePack } from '../types-Bwf63xGI.js';
2
2
 
3
3
  declare const en: LocalePack;
4
4
 
@@ -123,6 +123,7 @@ var en_default = {
123
123
  "chart.settings.revealOnLoadHint": "Draw the candles in when a chart first loads. Takes effect on the next load.",
124
124
  "chart.settings.right": "Right",
125
125
  "chart.settings.scaleBorderColor": "Scale border color",
126
+ "chart.settings.scalePriceOnly": "Scale price chart only",
126
127
  "chart.settings.scalesAndLines": "Scales and lines",
127
128
  "chart.settings.sections": "Sections",
128
129
  "chart.settings.solid": "Solid",
@@ -2010,6 +2011,7 @@ var en_default = {
2010
2011
  "widget.contextMenu.scale.log": "Logarithmic",
2011
2012
  "widget.contextMenu.scale.percent": "Percent",
2012
2013
  "widget.contextMenu.scale.regular": "Regular",
2014
+ "widget.contextMenu.scalePriceOnly": "Scale price chart only",
2013
2015
  "widget.contextMenu.settings": "Settings…",
2014
2016
  "widget.contextMenu.timezone": "Time zone",
2015
2017
  "widget.dataWindow.close": "Close",
@@ -125,6 +125,7 @@ var es_default = {
125
125
  "chart.settings.revealOnLoadHint": "Dibuja las velas con una animación cuando el gráfico se carga por primera vez. Se aplica en la próxima carga.",
126
126
  "chart.settings.right": "Derecha",
127
127
  "chart.settings.scaleBorderColor": "Color del borde de la escala",
128
+ "chart.settings.scalePriceOnly": "Escalar solo el gráfico de precios",
128
129
  "chart.settings.scalesAndLines": "Escalas y líneas",
129
130
  "chart.settings.sections": "Secciones",
130
131
  "chart.settings.solid": "Continua",
@@ -2012,6 +2013,7 @@ var es_default = {
2012
2013
  "widget.contextMenu.scale.log": "Logarítmica",
2013
2014
  "widget.contextMenu.scale.percent": "Porcentaje",
2014
2015
  "widget.contextMenu.scale.regular": "Normal",
2016
+ "widget.contextMenu.scalePriceOnly": "Escalar solo el gráfico de precios",
2015
2017
  "widget.contextMenu.settings": "Configuración…",
2016
2018
  "widget.contextMenu.timezone": "Zona horaria",
2017
2019
  "widget.dataWindow.close": "Cierre",
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-BlrXRLIR.cjs';
1
+ import { L as LocalePack } from '../types-Bwf63xGI.cjs';
2
2
 
3
3
  declare const es: LocalePack;
4
4
 
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-BlrXRLIR.js';
1
+ import { L as LocalePack } from '../types-Bwf63xGI.js';
2
2
 
3
3
  declare const es: LocalePack;
4
4
 
@@ -123,6 +123,7 @@ var es_default = {
123
123
  "chart.settings.revealOnLoadHint": "Dibuja las velas con una animación cuando el gráfico se carga por primera vez. Se aplica en la próxima carga.",
124
124
  "chart.settings.right": "Derecha",
125
125
  "chart.settings.scaleBorderColor": "Color del borde de la escala",
126
+ "chart.settings.scalePriceOnly": "Escalar solo el gráfico de precios",
126
127
  "chart.settings.scalesAndLines": "Escalas y líneas",
127
128
  "chart.settings.sections": "Secciones",
128
129
  "chart.settings.solid": "Continua",
@@ -2010,6 +2011,7 @@ var es_default = {
2010
2011
  "widget.contextMenu.scale.log": "Logarítmica",
2011
2012
  "widget.contextMenu.scale.percent": "Porcentaje",
2012
2013
  "widget.contextMenu.scale.regular": "Normal",
2014
+ "widget.contextMenu.scalePriceOnly": "Escalar solo el gráfico de precios",
2013
2015
  "widget.contextMenu.settings": "Configuración…",
2014
2016
  "widget.contextMenu.timezone": "Zona horaria",
2015
2017
  "widget.dataWindow.close": "Cierre",
@@ -125,6 +125,7 @@ var fr_default = {
125
125
  "chart.settings.revealOnLoadHint": "Dessine progressivement les chandeliers au premier chargement d’un graphique. Prend effet au prochain chargement.",
126
126
  "chart.settings.right": "Droite",
127
127
  "chart.settings.scaleBorderColor": "Couleur de bordure de l’échelle",
128
+ "chart.settings.scalePriceOnly": "Mettre à l’échelle le graphique des prix uniquement",
128
129
  "chart.settings.scalesAndLines": "Échelles et lignes",
129
130
  "chart.settings.sections": "Sections",
130
131
  "chart.settings.solid": "Plein",
@@ -2012,6 +2013,7 @@ var fr_default = {
2012
2013
  "widget.contextMenu.scale.log": "Logarithmique",
2013
2014
  "widget.contextMenu.scale.percent": "Pourcentage",
2014
2015
  "widget.contextMenu.scale.regular": "Normale",
2016
+ "widget.contextMenu.scalePriceOnly": "Mettre à l’échelle le graphique des prix uniquement",
2015
2017
  "widget.contextMenu.settings": "Paramètres…",
2016
2018
  "widget.contextMenu.timezone": "Fuseau horaire",
2017
2019
  "widget.dataWindow.close": "Clôture",
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-BlrXRLIR.cjs';
1
+ import { L as LocalePack } from '../types-Bwf63xGI.cjs';
2
2
 
3
3
  declare const fr: LocalePack;
4
4
 
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-BlrXRLIR.js';
1
+ import { L as LocalePack } from '../types-Bwf63xGI.js';
2
2
 
3
3
  declare const fr: LocalePack;
4
4