@tradecanvas/chart 1.67.0 → 1.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{LayoutSession-Cz0hZtIT.cjs → LayoutSession-BW_2uPzn.cjs} +2 -2
- package/dist/{LayoutSession-Cz0hZtIT.cjs.map → LayoutSession-BW_2uPzn.cjs.map} +1 -1
- package/dist/{LayoutSession-DOUhFovg.js → LayoutSession-uM_94Qwk.js} +2 -2
- package/dist/{LayoutSession-DOUhFovg.js.map → LayoutSession-uM_94Qwk.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/widget/WidgetObjectTree.d.ts.map +1 -1
- package/dist/widget/index.cjs +2 -2
- package/dist/widget/index.cjs.map +1 -1
- package/dist/widget/index.js +4 -2
- package/dist/widget/index.js.map +1 -1
- package/package.json +3 -3
package/dist/widget/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as e, a as t, c as n, d as r, f as i, i as a, n as o, o as s, r as c, t as l } from "../LayoutSession-
|
|
1
|
+
import { O as e, a as t, c as n, d as r, f as i, i as a, n as o, o as s, r as c, t as l } from "../LayoutSession-uM_94Qwk.js";
|
|
2
2
|
import { a as u, c as d, i as f, n as p, o as m, r as h, s as ee, t as g } from "../i18n-DUmd4Z_r.js";
|
|
3
3
|
import { CHART_STYLE_KEYS as _, CHART_TYPE_ICONS as v, DARK_THEME as y, DEFAULT_SIGNAL_STYLE as b, DEFAULT_TRADE_ZONE_STYLE as te, DEFAULT_TRADING_CONFIG as x, DRAWING_TOOL_ICONS as ne, LIGHT_THEME as re, PHI as ie, PRICE_SOURCES as ae, SANS_FONT_FAMILY as oe, UI_ICONS as se, barTimeUnit as ce, formatPrice as le, formatVolumeLoc as ue, iconSvg as de, indicatorSource as fe, isTimeFrame as pe, isValidTimeZone as me, marketStatus as he, offsetAt as ge, parseIndicatorSource as _e, phiStep as ve, readChartStyleOverrides as ye, readChartTypeOptions as be, readIndicatorPlotStyles as xe, readNews as Se, readQuote as Ce, resampleBars as we, sanitizeDrawingOptions as Te, sanitizeDrawingStyle as Ee, stepDecimals as De, symbolTimeZone as Oe, tickBarCount as ke, timeParts as Ae, timeframeFollowsDays as je, timeframeToMs as S, tzLabel as Me, wallToUtc as Ne, zoneOffsetMinutes as Pe, zonedDateFormatter as Fe } from "@tradecanvas/commons";
|
|
4
4
|
import { ChartStateManager as Ie, INDICATOR_CATEGORIES as Le, INTERVAL_LIMITS as Re, INTERVAL_UNITS as ze, MAX_ALERT_BARS as Be, MIN_ALERT_BARS as Ve, RANGE_PRESETS as He, ResamplingAdapter as Ue, SYMBOL_INDICATOR_IDS as We, indicatorCategory as Ge, indicatorValuePrecision as Ke, isSeriesPalette as qe, plotColor as Je, plotShown as Ye, rangePresetStart as Xe, servesTimeframe as Ze, sourceParam as Qe, withResampling as C } from "@tradecanvas/core";
|
|
@@ -6603,7 +6603,9 @@ var Vo = class {
|
|
|
6603
6603
|
}
|
|
6604
6604
|
this.pending = null;
|
|
6605
6605
|
let t = document.activeElement?.closest(".tcw-tree-grip")?.closest("[data-drawing-id]")?.dataset.drawingId;
|
|
6606
|
-
this.drawingIndex = new Map(e.map((e, t) => [e.id, t]))
|
|
6606
|
+
this.drawingIndex = new Map(e.map((e, t) => [e.id, t]));
|
|
6607
|
+
let n = [...e].reverse();
|
|
6608
|
+
this.loose = n.filter((e) => !e.group).map((e) => e.id), this.drawingsEl.replaceChildren(), this.listDrawings(n), t && this.drawingsEl.querySelector(`[data-drawing-id="${t}"] .tcw-tree-grip`)?.focus();
|
|
6607
6609
|
}
|
|
6608
6610
|
flushPending() {
|
|
6609
6611
|
this.pending && !this.renaming && !this.dragging && this.renderDrawings(this.pending);
|