@tradecanvas/chart 1.22.0 → 1.24.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/README.md +3 -3
- package/dist/Chart.d.ts +13 -0
- package/dist/Chart.d.ts.map +1 -1
- package/dist/LayoutSession-CdiNNoci.cjs +2 -0
- package/dist/LayoutSession-CdiNNoci.cjs.map +1 -0
- package/dist/{LayoutSession-C6Romi6A.js → LayoutSession-CrMUvvtP.js} +335 -317
- package/dist/LayoutSession-CrMUvvtP.js.map +1 -0
- package/dist/i18n-C040vB8g.cjs +2 -0
- package/dist/i18n-C040vB8g.cjs.map +1 -0
- package/dist/{i18n-fBzhlejv.js → i18n-FG3D2x5m.js} +3 -1
- package/dist/i18n-FG3D2x5m.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +54 -54
- package/dist/widget/ChartWidget.d.ts +16 -0
- package/dist/widget/ChartWidget.d.ts.map +1 -1
- package/dist/widget/WidgetDrawingStyle.d.ts +4 -0
- package/dist/widget/WidgetDrawingStyle.d.ts.map +1 -1
- package/dist/widget/WidgetSelectionToolbar.d.ts +75 -0
- package/dist/widget/WidgetSelectionToolbar.d.ts.map +1 -0
- package/dist/widget/index.cjs +112 -3
- package/dist/widget/index.cjs.map +1 -1
- package/dist/widget/index.js +1001 -738
- package/dist/widget/index.js.map +1 -1
- package/dist/widget/locales/ar.d.ts.map +1 -1
- package/dist/widget/locales/cs.d.ts.map +1 -1
- package/dist/widget/locales/da.d.ts.map +1 -1
- package/dist/widget/locales/de.d.ts.map +1 -1
- package/dist/widget/locales/el.d.ts.map +1 -1
- package/dist/widget/locales/en.d.ts +1 -0
- package/dist/widget/locales/en.d.ts.map +1 -1
- package/dist/widget/locales/es.d.ts.map +1 -1
- package/dist/widget/locales/et.d.ts.map +1 -1
- package/dist/widget/locales/fa.d.ts.map +1 -1
- package/dist/widget/locales/fr.d.ts.map +1 -1
- package/dist/widget/locales/he.d.ts.map +1 -1
- package/dist/widget/locales/hu.d.ts.map +1 -1
- package/dist/widget/locales/id.d.ts.map +1 -1
- package/dist/widget/locales/index.cjs +1 -1
- package/dist/widget/locales/index.cjs.map +1 -1
- package/dist/widget/locales/index.js +29 -1
- package/dist/widget/locales/index.js.map +1 -1
- package/dist/widget/locales/it.d.ts.map +1 -1
- package/dist/widget/locales/ja.d.ts.map +1 -1
- package/dist/widget/locales/ko.d.ts.map +1 -1
- package/dist/widget/locales/ms.d.ts.map +1 -1
- package/dist/widget/locales/nb.d.ts.map +1 -1
- package/dist/widget/locales/nl.d.ts.map +1 -1
- package/dist/widget/locales/pl.d.ts.map +1 -1
- package/dist/widget/locales/pt.d.ts.map +1 -1
- package/dist/widget/locales/ro.d.ts.map +1 -1
- package/dist/widget/locales/ru.d.ts.map +1 -1
- package/dist/widget/locales/sk.d.ts.map +1 -1
- package/dist/widget/locales/sv.d.ts.map +1 -1
- package/dist/widget/locales/th.d.ts.map +1 -1
- package/dist/widget/locales/tr.d.ts.map +1 -1
- package/dist/widget/locales/vi.d.ts.map +1 -1
- package/dist/widget/locales/zh.d.ts.map +1 -1
- package/dist/widget/locales/zhHant.d.ts.map +1 -1
- package/dist/widget/widgetConfig.d.ts.map +1 -1
- package/dist/widget/widgetFeatures.d.ts +1 -1
- package/dist/widget/widgetFeatures.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/LayoutSession-C6Romi6A.js.map +0 -1
- package/dist/LayoutSession-D1ggDd0I.cjs +0 -2
- package/dist/LayoutSession-D1ggDd0I.cjs.map +0 -1
- package/dist/i18n-CIHfGH-4.cjs +0 -2
- package/dist/i18n-CIHfGH-4.cjs.map +0 -1
- package/dist/i18n-fBzhlejv.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { S as e, _ as t, a as n, b as r, c as i, d as a, f as o, g as s, h as c, i as l, l as u, m as ee, n as te, o as ne, p as re, r as ie, s as ae, t as oe, u as se, v as ce, x as le, y as ue } from "./LayoutSession-
|
|
1
|
+
import { S as e, _ as t, a as n, b as r, c as i, d as a, f as o, g as s, h as c, i as l, l as u, m as ee, n as te, o as ne, p as re, r as ie, s as ae, t as oe, u as se, v as ce, x as le, y as ue } from "./LayoutSession-CrMUvvtP.js";
|
|
2
2
|
import { CHART_STYLE_KEYS as de, DARK_TERMINAL as fe, DARK_THEME as pe, DARK_THEME as me, DEFAULT_DRAWING_STYLE as he, DEFAULT_RECONNECT as ge, DEFAULT_SIGNAL_STYLE as _e, DEFAULT_STREAM_CONFIG as ve, DEFAULT_TIMEFRAME_FAVORITES as ye, DEFAULT_TRADE_ZONE_STYLE as be, DEFAULT_TRADING_CONFIG as xe, HNX_SESSIONS as Se, HOSE_SESSIONS as Ce, LIGHT_THEME as d, LIGHT_THEME as f, MARKET_CRYPTO as p, MARKET_HNX as m, MARKET_HOSE as h, MARKET_HOSE_ETF as g, MARKET_NYSE as _, MARKET_UPCOM as v, MARKET_VN30F as y, PRICE_SOURCES as b, TC_PALETTE as x, TC_SERIES_COLORS as S, TIMEFRAMES_CRYPTO as C, TIMEFRAMES_FOREX as w, TIMEFRAMES_STOCK as T, UPCOM_SESSIONS as E, VN30F_SESSIONS as D, VN_COLORS as O, VOLUME_ALPHA as k, barsAreDaily as A, computePriceLimits as we, createVNTheme as Te, formatFraction as Ee, formatNumber as De, formatVND as Oe, formatVolumeLoc as ke, fractionTick as Ae, getCurrentSession as je, getLocale as Me, indicatorSource as Ne, isPriceSource as Pe, isTimeFrame as Fe, isValidTimeZone as Ie, marketStatus as Le, normalizeBar as Re, normalizeBarTime as ze, offsetAt as Be, parseIndicatorSource as Ve, parseTimeframe as He, pickBaseTimeframe as Ue, priceFormatterFor as We, priceStepAt as Ge, rankSymbols as Ke, readNews as qe, readQuote as Je, registerLocale as Ye, resampleBars as Xe, roundToPriceStep as Ze, scaleMarketPrices as Qe, setLocale as $e, sourcePrice as et, stepDecimals as tt, t as nt, tickBarCount as rt, timeframeBucketStart as it, timeframeToMs as at, vn30fContracts as ot, vn30fLastTradingDay as st, volumeColor as ct, wallToUtc as lt, zoneOffsetMinutes as ut } from "@tradecanvas/commons";
|
|
3
|
-
import { AlertManager as dt, Animator as ft, BarCountdown as pt, BaseFinanceChart as j, BinanceAdapter as mt, BybitAdapter as ht,
|
|
3
|
+
import { AlertManager as dt, Animator as ft, BarCountdown as pt, BaseFinanceChart as j, BinanceAdapter as mt, BybitAdapter as ht, CANDLE_PATTERNS as gt, ChartLegend as _t, ChartStateManager as vt, CoinbaseAdapter as yt, CompareRenderer as bt, CrosshairTooltip as xt, CurrentPriceLine as St, DEFAULT_LEGEND_CONFIG as Ct, DEFAULT_MAX_WEBGL_CHARTS as wt, DEFAULT_SESSION_HOURS as Tt, DataExporter as Et, DrawingBase as Dt, Easing as Ot, FinanceCrosshair as M, GROUP_HEADER as kt, IndicatorBase as At, IndicatorValueMap as jt, KeyboardHandler as Mt, KrakenAdapter as Nt, MAX_ALERT_BARS as Pt, MIN_ALERT_BARS as Ft, MockAdapter as It, PaperExecutionAdapter as Lt, PollingAdapter as Rt, RANGE_PRESETS as zt, ReplayManager as Bt, ResamplingAdapter as Vt, Screenshot as Ht, SessionBreaks as Ut, SessionShading as Wt, SignalMarkerManager as N, StreamManager as Gt, TickAggregator as Kt, TickBarAdapter as qt, TickBarBuilder as Jt, TradeZoneManager as Yt, UndoRedoManager as Xt, VolumeRenderer as Zt, Watermark as Qt, WebSocketAdapter as $t, barIndexToTime as en, barIndexToX as tn, barIndexToX as P, canvasMeasure as nn, computeBarLayout as rn, computeCalendarLayout as an, computeCounterClockLayout as on, computeDonutLayout as sn, computeHistogramLayout as cn, computeMatrixLayout as ln, computeScatterLayout as un, correlationMatrix as dn, counterClockPhase as fn, counterClockPhase as pn, counterClockPoints as mn, counterClockPoints as hn, detectCandlePatterns as gn, formatTooltipTime as _n, histogramBins as vn, hitBar as F, hitDay as I, hitMatrixCell as L, hitSlice as R, isPriceLevelAlert as yn, layoutGroupedTreemap as bn, layoutSquarifiedTreemap as xn, layoutUniformGrid as Sn, lttbDownsample as Cn, lttbVisibleIndices as wn, nearestCounterClockPoint as z, nearestPoint as B, niceScale as Tn, priceToY as En, priceToYMapper as Dn, priceToYMapper as On, rangePresetStart as kn, renderBarChart as An, renderCalendar as jn, renderCounterClock as Mn, renderDepthChart as Nn, renderDonut as Pn, renderEquityCurve as Fn, renderGauge as In, renderHeatmap as Ln, renderHistogram as Rn, renderMatrix as zn, renderScatter as Bn, renderSparkline as Vn, renderWaterfall as Hn, servesTimeframe as Un, setMaxWebGLCharts as Wn, shownCount as Gn, timeToX as Kn, timestampToBarIndex as qn, timestampToBarIndex as Jn, toHeikinAshi as Yn, toKagi as Xn, toLineBreak as Zn, toPointAndFigure as Qn, toRangeBars as $n, toRenko as er, withResampling as tr, withTickBars as nr, xToBarIndex as rr, xToBarIndex as V, xToTime as ir, yToPrice as ar, yToPrice as or } from "@tradecanvas/core";
|
|
4
4
|
//#region src/frameworks/syncIndicators.ts
|
|
5
|
-
function
|
|
5
|
+
function sr(e) {
|
|
6
6
|
let { id: t, params: n = {}, position: r = null } = typeof e == "string" ? { id: e } : e;
|
|
7
7
|
return JSON.stringify([
|
|
8
8
|
t,
|
|
@@ -10,9 +10,9 @@ function ar(e) {
|
|
|
10
10
|
r
|
|
11
11
|
]);
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function cr(e, t, n) {
|
|
14
14
|
let r = /* @__PURE__ */ new Map(), i = t.map((e) => {
|
|
15
|
-
let t =
|
|
15
|
+
let t = sr(e), n = r.get(t) ?? 0;
|
|
16
16
|
return r.set(t, n + 1), {
|
|
17
17
|
spec: e,
|
|
18
18
|
key: `${t}#${n}`
|
|
@@ -27,18 +27,18 @@ function or(e, t, n) {
|
|
|
27
27
|
}
|
|
28
28
|
//#endregion
|
|
29
29
|
//#region src/plugins/overlayScale.ts
|
|
30
|
-
function
|
|
31
|
-
let { viewport: t, data: n } = e, r =
|
|
30
|
+
function lr(e) {
|
|
31
|
+
let { viewport: t, data: n } = e, r = On(t), i = n.length - 1, a = Math.max(0, Math.floor(t.visibleRange.from)), o = Math.min(i, Math.ceil(t.visibleRange.to)), s = (e) => n.length > 0 ? Jn(e, n) : e;
|
|
32
32
|
return {
|
|
33
33
|
timeToX: (e) => P(s(e), t),
|
|
34
34
|
xToTime: (e) => {
|
|
35
35
|
let r = V(e, t);
|
|
36
|
-
return n.length > 0 ?
|
|
36
|
+
return n.length > 0 ? en(r, n) : r;
|
|
37
37
|
},
|
|
38
38
|
indexToX: (e) => P(e, t),
|
|
39
39
|
xToIndex: (e) => V(e, t),
|
|
40
40
|
priceToY: r,
|
|
41
|
-
yToPrice: (e) =>
|
|
41
|
+
yToPrice: (e) => or(e, t),
|
|
42
42
|
barWidth: t.barWidth,
|
|
43
43
|
visible: o < a ? {
|
|
44
44
|
from: 0,
|
|
@@ -84,7 +84,7 @@ var H = {
|
|
|
84
84
|
cols: 2,
|
|
85
85
|
rows: 3
|
|
86
86
|
}
|
|
87
|
-
},
|
|
87
|
+
}, ur = class {
|
|
88
88
|
root;
|
|
89
89
|
cells = [];
|
|
90
90
|
layout;
|
|
@@ -191,13 +191,13 @@ var H = {
|
|
|
191
191
|
this.cells = [], this.root.remove();
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
},
|
|
194
|
+
}, dr = class extends j {
|
|
195
195
|
options;
|
|
196
196
|
constructor(e, t) {
|
|
197
197
|
super(e, t.theme), this.options = t, this.requestRender();
|
|
198
198
|
}
|
|
199
199
|
renderChart(e, t, n, r) {
|
|
200
|
-
|
|
200
|
+
Vn(e, t, n, this.options, r);
|
|
201
201
|
}
|
|
202
202
|
update(e) {
|
|
203
203
|
this.options = {
|
|
@@ -211,7 +211,7 @@ var H = {
|
|
|
211
211
|
...e
|
|
212
212
|
}, this.requestRender();
|
|
213
213
|
}
|
|
214
|
-
},
|
|
214
|
+
}, fr = class extends j {
|
|
215
215
|
options;
|
|
216
216
|
crosshair = null;
|
|
217
217
|
constructor(e, t) {
|
|
@@ -219,7 +219,7 @@ var H = {
|
|
|
219
219
|
}
|
|
220
220
|
renderChart(e, t, n, r) {
|
|
221
221
|
let i = this.crosshair?.getPosition() ?? null;
|
|
222
|
-
|
|
222
|
+
Nn(e, t, n, this.options, r, i);
|
|
223
223
|
}
|
|
224
224
|
update(e) {
|
|
225
225
|
this.options = {
|
|
@@ -244,7 +244,7 @@ var H = {
|
|
|
244
244
|
}
|
|
245
245
|
renderChart(e, t, n, r) {
|
|
246
246
|
let i = this.crosshair?.getPosition() ?? null;
|
|
247
|
-
|
|
247
|
+
Fn(e, t, n, this.options, r, i);
|
|
248
248
|
}
|
|
249
249
|
update(e, t) {
|
|
250
250
|
this.options = {
|
|
@@ -291,20 +291,20 @@ var H = {
|
|
|
291
291
|
height: this.height
|
|
292
292
|
}, t = this.options.cellPadding ?? 2;
|
|
293
293
|
if (this.lastLayoutWidth = this.width, this.lastLayoutHeight = this.height, this.cachedGroups = [], this.options.grouped) {
|
|
294
|
-
let { groups: n, cells: r } =
|
|
294
|
+
let { groups: n, cells: r } = bn(this.currentData.map((e) => ({
|
|
295
295
|
id: e.id,
|
|
296
296
|
weight: e.weight ?? (Math.abs(e.value) || 1),
|
|
297
297
|
group: e.group,
|
|
298
298
|
value: e.value
|
|
299
|
-
})), e, t,
|
|
299
|
+
})), e, t, kt);
|
|
300
300
|
this.cachedRects = r, this.cachedGroups = n;
|
|
301
301
|
} else if (this.options.weighted) {
|
|
302
302
|
let n = this.currentData.map((e) => ({
|
|
303
303
|
id: e.id,
|
|
304
304
|
weight: e.weight ?? (Math.abs(e.value) || 1)
|
|
305
305
|
}));
|
|
306
|
-
this.cachedRects =
|
|
307
|
-
} else this.cachedRects =
|
|
306
|
+
this.cachedRects = xn(n, e, t);
|
|
307
|
+
} else this.cachedRects = Sn(this.currentData.map((e) => ({ id: e.id })), e, t);
|
|
308
308
|
}
|
|
309
309
|
onCanvasClick(e, t) {
|
|
310
310
|
if (this.options.onCellClick) for (let n of this.cachedRects) {
|
|
@@ -319,7 +319,7 @@ var H = {
|
|
|
319
319
|
renderChart(e, t, n, r) {
|
|
320
320
|
(t !== this.lastLayoutWidth || n !== this.lastLayoutHeight) && this.recomputeLayout();
|
|
321
321
|
let i = this.crosshair?.getPosition() ?? null;
|
|
322
|
-
|
|
322
|
+
Ln(e, t, n, this.currentData, this.cachedRects, this.options, r, i, this.cachedGroups);
|
|
323
323
|
}
|
|
324
324
|
update(e) {
|
|
325
325
|
this.currentData = e, this.options = {
|
|
@@ -336,7 +336,7 @@ var H = {
|
|
|
336
336
|
destroy() {
|
|
337
337
|
this.crosshair?.destroy(), this.handleClick && this.canvas.removeEventListener("click", this.handleClick), super.destroy();
|
|
338
338
|
}
|
|
339
|
-
},
|
|
339
|
+
}, pr = class extends j {
|
|
340
340
|
options;
|
|
341
341
|
crosshair = null;
|
|
342
342
|
constructor(e, t) {
|
|
@@ -344,7 +344,7 @@ var H = {
|
|
|
344
344
|
}
|
|
345
345
|
renderChart(e, t, n, r) {
|
|
346
346
|
let i = this.crosshair?.getPosition() ?? null;
|
|
347
|
-
|
|
347
|
+
Hn(e, t, n, this.options, r, i);
|
|
348
348
|
}
|
|
349
349
|
update(e) {
|
|
350
350
|
this.options = {
|
|
@@ -361,12 +361,12 @@ var H = {
|
|
|
361
361
|
destroy() {
|
|
362
362
|
this.crosshair?.destroy(), super.destroy();
|
|
363
363
|
}
|
|
364
|
-
},
|
|
365
|
-
function
|
|
364
|
+
}, mr = 500;
|
|
365
|
+
function hr(e) {
|
|
366
366
|
let t = 1 - e;
|
|
367
367
|
return 1 - t * t * t;
|
|
368
368
|
}
|
|
369
|
-
var
|
|
369
|
+
var gr = class extends j {
|
|
370
370
|
options;
|
|
371
371
|
currentValue;
|
|
372
372
|
targetValue;
|
|
@@ -377,7 +377,7 @@ var mr = class extends j {
|
|
|
377
377
|
super(e, t.theme), this.options = t, this.currentValue = t.value, this.targetValue = t.value, this.requestRender();
|
|
378
378
|
}
|
|
379
379
|
renderChart(e, t, n, r) {
|
|
380
|
-
|
|
380
|
+
In(e, t, n, this.options, r, this.currentValue);
|
|
381
381
|
}
|
|
382
382
|
setValue(e) {
|
|
383
383
|
if (this.options.animate === !1) {
|
|
@@ -407,7 +407,7 @@ var mr = class extends j {
|
|
|
407
407
|
if (this.animationFrameId !== null) return;
|
|
408
408
|
let e = () => {
|
|
409
409
|
if (this.animationFrameId = null, this.animationStart === null) return;
|
|
410
|
-
let t = this.options.animationDuration ??
|
|
410
|
+
let t = this.options.animationDuration ?? mr, n = performance.now() - this.animationStart, r = Math.min(1, n / Math.max(1, t)), i = hr(r);
|
|
411
411
|
this.currentValue = this.animationFrom + (this.targetValue - this.animationFrom) * i, this.requestRender(), r < 1 ? this.animationFrameId = requestAnimationFrame(e) : (this.currentValue = this.targetValue, this.animationStart = null);
|
|
412
412
|
};
|
|
413
413
|
this.animationFrameId = requestAnimationFrame(e);
|
|
@@ -437,7 +437,7 @@ var mr = class extends j {
|
|
|
437
437
|
}
|
|
438
438
|
renderChart(e, t, n, r) {
|
|
439
439
|
let i = this.options.crosshair === !1 ? null : this.crosshair.getPosition(), a = this.layoutFor;
|
|
440
|
-
(!this.layout || !a || a.options !== this.options || a.width !== t || a.height !== n || a.theme !== r) && (this.layout = this.compute(t, n, r,
|
|
440
|
+
(!this.layout || !a || a.options !== this.options || a.width !== t || a.height !== n || a.theme !== r) && (this.layout = this.compute(t, n, r, nn(e, r)), this.layoutFor = {
|
|
441
441
|
options: this.options,
|
|
442
442
|
width: t,
|
|
443
443
|
height: n,
|
|
@@ -456,12 +456,12 @@ var mr = class extends j {
|
|
|
456
456
|
destroy() {
|
|
457
457
|
this.crosshair.destroy(), this.canvas.removeEventListener("click", this.onClick), this.canvas.removeEventListener("pointermove", this.onMove), super.destroy();
|
|
458
458
|
}
|
|
459
|
-
},
|
|
459
|
+
}, _r = class extends G {
|
|
460
460
|
compute(e, t, n, r) {
|
|
461
|
-
return
|
|
461
|
+
return rn(this.options, e, t, n, r);
|
|
462
462
|
}
|
|
463
463
|
draw(e, t, n, r, i, a) {
|
|
464
|
-
|
|
464
|
+
An(e, t, n, this.options, r, i, a);
|
|
465
465
|
}
|
|
466
466
|
describe() {
|
|
467
467
|
return `Bar chart of ${this.options.series.map((e) => e.name).join(", ")}, ${this.options.categories.length} categories`;
|
|
@@ -487,12 +487,12 @@ var mr = class extends j {
|
|
|
487
487
|
series: t
|
|
488
488
|
});
|
|
489
489
|
}
|
|
490
|
-
},
|
|
490
|
+
}, vr = class extends G {
|
|
491
491
|
compute(e, t, n, r) {
|
|
492
|
-
return
|
|
492
|
+
return sn(this.options, e, t, n, r);
|
|
493
493
|
}
|
|
494
494
|
draw(e, t, n, r, i, a) {
|
|
495
|
-
|
|
495
|
+
Pn(e, t, n, this.options, r, i, a);
|
|
496
496
|
}
|
|
497
497
|
describe() {
|
|
498
498
|
let e = this.options.data.filter((e) => Number.isFinite(e.value) && e.value > 0).map((e) => e.label).join(", ");
|
|
@@ -511,12 +511,12 @@ var mr = class extends j {
|
|
|
511
511
|
update(e) {
|
|
512
512
|
this.setOptions({ data: e });
|
|
513
513
|
}
|
|
514
|
-
},
|
|
514
|
+
}, yr = class extends G {
|
|
515
515
|
compute(e, t, n, r) {
|
|
516
|
-
return
|
|
516
|
+
return un(this.options, e, t, n, r);
|
|
517
517
|
}
|
|
518
518
|
draw(e, t, n, r, i, a) {
|
|
519
|
-
|
|
519
|
+
Bn(e, t, n, this.options, r, i, a);
|
|
520
520
|
}
|
|
521
521
|
describe() {
|
|
522
522
|
let e = this.options.series.reduce((e, t) => e + t.points.length, 0);
|
|
@@ -535,12 +535,12 @@ var mr = class extends j {
|
|
|
535
535
|
update(e) {
|
|
536
536
|
this.setOptions({ series: e });
|
|
537
537
|
}
|
|
538
|
-
},
|
|
538
|
+
}, br = class extends G {
|
|
539
539
|
compute(e, t, n, r) {
|
|
540
|
-
return
|
|
540
|
+
return cn(this.options, e, t, n, r);
|
|
541
541
|
}
|
|
542
542
|
draw(e, t, n, r, i, a) {
|
|
543
|
-
|
|
543
|
+
Rn(e, t, n, this.options, r, i, a);
|
|
544
544
|
}
|
|
545
545
|
describe() {
|
|
546
546
|
return `Histogram of ${this.options.values.length} values`;
|
|
@@ -555,12 +555,12 @@ var mr = class extends j {
|
|
|
555
555
|
update(e) {
|
|
556
556
|
this.setOptions({ values: e });
|
|
557
557
|
}
|
|
558
|
-
},
|
|
558
|
+
}, xr = class extends G {
|
|
559
559
|
compute(e, t, n, r) {
|
|
560
|
-
return
|
|
560
|
+
return an(this.options, e, t, n, r);
|
|
561
561
|
}
|
|
562
562
|
draw(e, t, n, r, i, a) {
|
|
563
|
-
|
|
563
|
+
jn(e, t, n, this.options, r, i, a);
|
|
564
564
|
}
|
|
565
565
|
describe() {
|
|
566
566
|
let e = this.options.data.map((e) => e.date).filter((e) => /^\d{4}-\d{2}-\d{2}$/.test(e)).sort(), t = this.options.from ?? e[0], n = this.options.to ?? e[e.length - 1];
|
|
@@ -579,12 +579,12 @@ var mr = class extends j {
|
|
|
579
579
|
update(e) {
|
|
580
580
|
this.setOptions({ data: e });
|
|
581
581
|
}
|
|
582
|
-
}, K = 12,
|
|
582
|
+
}, K = 12, Sr = class extends G {
|
|
583
583
|
compute(e, t, n, r) {
|
|
584
|
-
return
|
|
584
|
+
return ln(this.options, e, t, n, r);
|
|
585
585
|
}
|
|
586
586
|
draw(e, t, n, r, i, a) {
|
|
587
|
-
|
|
587
|
+
zn(e, t, n, this.options, r, i, a);
|
|
588
588
|
}
|
|
589
589
|
describe() {
|
|
590
590
|
let { rows: e, columns: t } = this.options;
|
|
@@ -603,12 +603,12 @@ var mr = class extends j {
|
|
|
603
603
|
update(e) {
|
|
604
604
|
this.setOptions({ values: e });
|
|
605
605
|
}
|
|
606
|
-
},
|
|
606
|
+
}, Cr = class extends G {
|
|
607
607
|
compute(e, t, n, r) {
|
|
608
|
-
return
|
|
608
|
+
return on(this.options, e, t, n, r);
|
|
609
609
|
}
|
|
610
610
|
draw(e, t, n, r, i, a) {
|
|
611
|
-
|
|
611
|
+
Mn(e, t, n, this.options, r, i, a);
|
|
612
612
|
}
|
|
613
613
|
describe() {
|
|
614
614
|
return `Counter-clock chart of price against volume, ${this.options.period ?? 25}-bar averages`;
|
|
@@ -624,12 +624,12 @@ var mr = class extends j {
|
|
|
624
624
|
r && this.options.onPointClick?.(r.point);
|
|
625
625
|
}
|
|
626
626
|
getPhase() {
|
|
627
|
-
return
|
|
627
|
+
return pn(hn(this.options.data, this.options.period ?? 25, Gn(this.options)));
|
|
628
628
|
}
|
|
629
629
|
update(e) {
|
|
630
630
|
this.setOptions({ data: e });
|
|
631
631
|
}
|
|
632
|
-
},
|
|
632
|
+
}, wr = [
|
|
633
633
|
"Jan",
|
|
634
634
|
"Feb",
|
|
635
635
|
"Mar",
|
|
@@ -677,7 +677,7 @@ function Y(e) {
|
|
|
677
677
|
let a = new Date(e.key), o = a.getUTCFullYear(), s = a.getUTCMonth();
|
|
678
678
|
r.push({
|
|
679
679
|
id: `${o}-${String(s + 1).padStart(2, "0")}`,
|
|
680
|
-
label:
|
|
680
|
+
label: wr[s],
|
|
681
681
|
group: String(o),
|
|
682
682
|
value: i
|
|
683
683
|
});
|
|
@@ -739,7 +739,7 @@ function Q(e) {
|
|
|
739
739
|
function $(e) {
|
|
740
740
|
return !e || e === "dark" ? me : e === "light" ? f : e;
|
|
741
741
|
}
|
|
742
|
-
var
|
|
742
|
+
var Tr = class {
|
|
743
743
|
options;
|
|
744
744
|
theme;
|
|
745
745
|
root;
|
|
@@ -888,6 +888,6 @@ var Cr = class {
|
|
|
888
888
|
}
|
|
889
889
|
};
|
|
890
890
|
//#endregion
|
|
891
|
-
export { dt as AlertManager, ft as Animator,
|
|
891
|
+
export { dt as AlertManager, ft as Animator, _r as BarChart, pt as BarCountdown, mt as BinanceAdapter, ht as BybitAdapter, gt as CANDLE_PATTERNS, de as CHART_STYLE_KEYS, xr as CalendarChart, i as Chart, ur as ChartGrid, _t as ChartLegend, vt as ChartStateManager, yt as CoinbaseAdapter, bt as CompareRenderer, Cr as CounterClockChart, xt as CrosshairTooltip, St as CurrentPriceLine, fe as DARK_TERMINAL, pe as DARK_THEME, he as DEFAULT_DRAWING_STYLE, r as DEFAULT_HISTORY_PAGE_SIZE, Ct as DEFAULT_LEGEND_CONFIG, wt as DEFAULT_MAX_WEBGL_CHARTS, ge as DEFAULT_RECONNECT, Tt as DEFAULT_SESSION_HOURS, _e as DEFAULT_SIGNAL_STYLE, ve as DEFAULT_STREAM_CONFIG, ye as DEFAULT_TIMEFRAME_FAVORITES, be as DEFAULT_TRADE_ZONE_STYLE, xe as DEFAULT_TRADING_CONFIG, Et as DataExporter, e as DataManager, fr as DepthChart, vr as DonutChart, ne as DragDropImporter, Dt as DrawingBase, u as EXCHANGE_TIMEZONE, Ot as Easing, U as EquityCurveChart, gr as GaugeChart, le as HISTORY_RETRY_MS, Se as HNX_SESSIONS, Ce as HOSE_SESSIONS, W as HeatmapChart, br as HistogramChart, At as IndicatorBase, jt as IndicatorValueMap, Mt as KeyboardHandler, Nt as KrakenAdapter, d as LIGHT_THEME, ce as LayoutManager, oe as LayoutSession, p as MARKET_CRYPTO, m as MARKET_HNX, h as MARKET_HOSE, g as MARKET_HOSE_ETF, _ as MARKET_NYSE, v as MARKET_UPCOM, y as MARKET_VN30F, Pt as MAX_ALERT_BARS, te as MAX_LAYOUT_NAME, Ft as MIN_ALERT_BARS, Sr as MatrixChart, It as MockAdapter, c as PLUGIN_API_VERSION, b as PRICE_SOURCES, Lt as PaperExecutionAdapter, Tr as PerformanceDashboard, se as PluginManager, Rt as PollingAdapter, zt as RANGE_PRESETS, Bt as ReplayManager, Vt as ResamplingAdapter, yr as ScatterChart, Ht as Screenshot, Ut as SessionBreaks, Wt as SessionShading, N as SignalMarkerManager, dr as SparklineChart, Gt as StreamManager, x as TC_PALETTE, S as TC_SERIES_COLORS, C as TIMEFRAMES_CRYPTO, w as TIMEFRAMES_FOREX, T as TIMEFRAMES_STOCK, ue as ThemeManager, Kt as TickAggregator, qt as TickBarAdapter, Jt as TickBarBuilder, Yt as TradeZoneManager, E as UPCOM_SESSIONS, Xt as UndoRedoManager, D as VN30F_SESSIONS, O as VN_COLORS, k as VOLUME_ALPHA, Zt as VolumeRenderer, pr as WaterfallChart, Qt as Watermark, $t as WebSocketAdapter, tn as barIndexToX, A as barsAreDaily, ie as cleanLayoutName, a as clearGlobalPlugins, J as computeDrawdownCurve, Y as computeMonthlyReturns, we as computePriceLimits, dn as correlationMatrix, fn as counterClockPhase, mn as counterClockPoints, Te as createVNTheme, gn as detectCandlePatterns, Ee as formatFraction, De as formatNumber, _n as formatTooltipTime, Oe as formatVND, ke as formatVolumeLoc, Ae as fractionTick, je as getCurrentSession, o as getGlobalPlugins, Me as getLocale, vn as histogramBins, Ne as indicatorSource, yn as isPriceLevelAlert, Pe as isPriceSource, Fe as isTimeFrame, Ie as isValidTimeZone, l as localStorageLayouts, Cn as lttbDownsample, wn as lttbVisibleIndices, Le as marketStatus, n as memoryLayouts, Tn as niceScale, Re as normalizeBar, ze as normalizeBarTime, Be as offsetAt, lr as overlayScale, s as overlaysForLayer, Ve as parseIndicatorSource, ae as parseOHLCV, He as parseTimeframe, Ue as pickBaseTimeframe, t as pluginKey, We as priceFormatterFor, Ge as priceStepAt, En as priceToY, Dn as priceToYMapper, kn as rangePresetStart, Ke as rankSymbols, qe as readNews, Je as readQuote, Ye as registerLocale, re as registerPlugin, Xe as resampleBars, Ze as roundToPriceStep, Qe as scaleMarketPrices, Q as selectKeyStats, Un as servesTimeframe, $e as setLocale, Wn as setMaxWebGLCharts, et as sourcePrice, tt as stepDecimals, cr as syncIndicators, nt as t, rt as tickBarCount, Kn as timeToX, at as timeframeToMs, qn as timestampToBarIndex, q as toEquityPoints, Yn as toHeikinAshi, Xn as toKagi, Zn as toLineBreak, Qn as toPointAndFigure, $n as toRangeBars, er as toRenko, ee as unregisterPlugin, ot as vn30fContracts, st as vn30fLastTradingDay, ct as volumeColor, lt as wallToUtc, tr as withResampling, nr as withTickBars, rr as xToBarIndex, ir as xToTime, ar as yToPrice, ut as zoneOffsetMinutes };
|
|
892
892
|
|
|
893
893
|
//# sourceMappingURL=index.js.map
|
|
@@ -42,6 +42,8 @@ export declare class ChartWidget {
|
|
|
42
42
|
private drawingStyle;
|
|
43
43
|
private drawingSettings;
|
|
44
44
|
private drawingMenu;
|
|
45
|
+
private selectionToolbar;
|
|
46
|
+
private selectionToolbarFrame;
|
|
45
47
|
private chartMenu;
|
|
46
48
|
/** The pane a chart menu was opened on (its scale switches act on it). */
|
|
47
49
|
private menuPane;
|
|
@@ -205,6 +207,11 @@ export declare class ChartWidget {
|
|
|
205
207
|
setUI(theme: WidgetUIPreset | WidgetUITheme): void;
|
|
206
208
|
/** The widget's look, every token set. */
|
|
207
209
|
getUI(): ResolvedWidgetUI;
|
|
210
|
+
/**
|
|
211
|
+
* The OHLCV legend on the chart takes the look's font, at the size of the
|
|
212
|
+
* indicator rows the widget lists under it, so the two read as one block.
|
|
213
|
+
*/
|
|
214
|
+
private applyLegendFont;
|
|
208
215
|
/** The chart's own tags and pills take the look's corners. */
|
|
209
216
|
private applyChartShapes;
|
|
210
217
|
destroy(): void;
|
|
@@ -216,6 +223,15 @@ export declare class ChartWidget {
|
|
|
216
223
|
toggleFullscreen(): void;
|
|
217
224
|
/** A drawing tool's name in the widget's language. */
|
|
218
225
|
private drawingToolName;
|
|
226
|
+
/** The chart container's top-left in the widget root's coordinates. */
|
|
227
|
+
private chartOffset;
|
|
228
|
+
/** `updateSelectionToolbar` on the next frame, once, while the toolbar shows. */
|
|
229
|
+
private scheduleSelectionToolbar;
|
|
230
|
+
/**
|
|
231
|
+
* Show the selection toolbar over the selected drawings, or hide it: when
|
|
232
|
+
* nothing is selected, or while a tool, the eraser or the zoom area is on.
|
|
233
|
+
*/
|
|
234
|
+
private updateSelectionToolbar;
|
|
219
235
|
/** Open a drawing's settings (double-click on it, or the object tree's settings button). */
|
|
220
236
|
private openDrawingSettings;
|
|
221
237
|
/** Add a "price crosses this drawing" alert and say so. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartWidget.d.ts","sourceRoot":"","sources":["../../src/widget/ChartWidget.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkE,KAAK,EAA2B,KAAK,EAAE,SAAS,EAAmB,MAAM,sBAAsB,CAAC;AAG9K,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,OAAO,KAAK,EAAuB,kBAAkB,EAAuD,MAAM,YAAY,CAAC;AAa/H,OAAO,EAAmB,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC5E,OAAO,EAAkB,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAIzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,EAAkC,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAE,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AAiB/H,OAAO,EAAuD,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAClH,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAmB1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAUvD,OAAO,EASL,KAAK,aAAa,EAElB,KAAK,cAAc,EACpB,MAAM,qBAAqB,CAAC;AAuE7B,qBAAa,WAAW;IACtB,OAAO,CAAC,KAAK,CAAQ;IACrB,OAAO,CAAC,KAAK,CAAc;IAC3B,+FAA+F;IAC/F,OAAO,CAAC,OAAO,CAA2E;IAC1F,OAAO,CAAC,OAAO,CAA8B;IAC7C,OAAO,CAAC,OAAO,CAAqC;IACpD,OAAO,CAAC,QAAQ,CAA+B;IAC/C,OAAO,CAAC,SAAS,CAAgC;IACjD,OAAO,CAAC,QAAQ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;IACH,OAAO,CAAC,WAAW;IAcnB;;;;OAIG;IACH,OAAO,CAAC,cAAc;IAkBtB;;;OAGG;IACH,OAAO,CAAC,aAAa;IASrB,2FAA2F;IAC3F,OAAO,CAAC,eAAe;YAST,aAAa;IAkE3B,wEAAwE;IACxE,OAAO,CAAC,cAAc;IAQtB,OAAO,CAAC,YAAY;IAqDpB,oCAAoC;IACpC,OAAO,CAAC,aAAa;IAOrB;;;;OAIG;IACH,OAAO,CAAC,cAAc;IAyCtB,OAAO,CAAC,QAAQ;IAYhB,OAAO,CAAC,aAAa;IAUrB,OAAO,CAAC,YAAY;IAOpB,OAAO,CAAC,WAAW;CAUpB;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAE9B,KAAK,eAAe,GAAG,UAAU,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;AAExE,gHAAgH;AAChH,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,aAAa,GAAG,gBAAgB,CAAC;AAE9G;;;GAGG;AACH,wBAAgB,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,eAAe,EAAE,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EAAE,CA0BzH"}
|
|
@@ -7,6 +7,10 @@ export interface DrawingStyleCallbacks {
|
|
|
7
7
|
/** Current active drawing style, for seeding controls and saving templates. */
|
|
8
8
|
getStyle: () => DrawingStyle;
|
|
9
9
|
}
|
|
10
|
+
/** The drawing colours offered here and on the selection toolbar. */
|
|
11
|
+
export declare const SWATCHES: string[];
|
|
12
|
+
export declare const WIDTHS: number[];
|
|
13
|
+
export declare const LINE_STYLES: DrawingStyle['lineStyle'][];
|
|
10
14
|
/**
|
|
11
15
|
* Drawing style popover — pick colour, line width, and line style for the next
|
|
12
16
|
* drawing (and the selected one), plus save/apply named style templates
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WidgetDrawingStyle.d.ts","sourceRoot":"","sources":["../../src/widget/WidgetDrawingStyle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAiB,KAAK,UAAU,EAAE,MAAM,WAAW,CAAC;AAG3D,MAAM,WAAW,qBAAqB;IACpC,8EAA8E;IAC9E,aAAa,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,YAAY,CAAC,KAAK,IAAI,CAAC;IACtD,+EAA+E;IAC/E,QAAQ,EAAE,MAAM,YAAY,CAAC;CAC9B;
|
|
1
|
+
{"version":3,"file":"WidgetDrawingStyle.d.ts","sourceRoot":"","sources":["../../src/widget/WidgetDrawingStyle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAiB,KAAK,UAAU,EAAE,MAAM,WAAW,CAAC;AAG3D,MAAM,WAAW,qBAAqB;IACpC,8EAA8E;IAC9E,aAAa,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,YAAY,CAAC,KAAK,IAAI,CAAC;IACtD,+EAA+E;IAC/E,QAAQ,EAAE,MAAM,YAAY,CAAC;CAC9B;AAED,qEAAqE;AACrE,eAAO,MAAM,QAAQ,UAA2F,CAAC;AACjH,eAAO,MAAM,MAAM,UAAe,CAAC;AACnC,eAAO,MAAM,WAAW,EAAE,YAAY,CAAC,WAAW,CAAC,EAAkC,CAAC;AAEtF;;;;GAIG;AACH,qBAAa,kBAAkB;IAY3B,OAAO,CAAC,QAAQ,CAAC,CAAC;IAXpB,OAAO,CAAC,EAAE,CAAiB;IAC3B,OAAO,CAAC,WAAW,CAAiB;IACpC,OAAO,CAAC,SAAS,CAAmB;IACpC,OAAO,CAAC,SAAS,CAAwB;IACzC,OAAO,CAAC,KAAK,CAAuB;IACpC,OAAO,CAAC,IAAI,CAAS;gBAGnB,IAAI,EAAE,WAAW,EACjB,SAAS,EAAE,qBAAqB,EAChC,KAAK,EAAE,oBAAoB,EACV,CAAC,GAAE,UAA0B;IAwDhD,MAAM,IAAI,OAAO;IAIjB,MAAM,IAAI,IAAI;IAId,SAAS,IAAI,IAAI;IAOjB,KAAK,IAAI,IAAI;IAKb,OAAO,IAAI,IAAI;IAIf,OAAO,CAAC,QAAQ;IAqBhB,OAAO,CAAC,QAAQ;IAiBhB,OAAO,CAAC,YAAY;IAgBpB,OAAO,CAAC,UAAU;IAKlB,2DAA2D;IAC3D,OAAO,CAAC,kBAAkB;IAa1B,OAAO,CAAC,YAAY;IAQpB,OAAO,CAAC,eAAe;CA4CxB"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { DrawingStyle } from '@tradecanvas/commons';
|
|
2
|
+
import { Translator } from './i18n.js';
|
|
3
|
+
/** Where the selection is and what can be done to it. */
|
|
4
|
+
export interface SelectionToolbarTarget {
|
|
5
|
+
/** The selection's box, in px from the widget root's top-left. */
|
|
6
|
+
rect: {
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
};
|
|
12
|
+
/** The area the toolbar has to stay inside, same coordinates. */
|
|
13
|
+
bounds: {
|
|
14
|
+
x: number;
|
|
15
|
+
y: number;
|
|
16
|
+
width: number;
|
|
17
|
+
height: number;
|
|
18
|
+
};
|
|
19
|
+
/** The primary drawing's style, shown on the buttons. */
|
|
20
|
+
style: DrawingStyle;
|
|
21
|
+
/** All of the selection is locked: the lock button shows it, and unlocks. */
|
|
22
|
+
locked: boolean;
|
|
23
|
+
/** Some of the selection can be deleted (is not locked). */
|
|
24
|
+
canDelete: boolean;
|
|
25
|
+
canSettings: boolean;
|
|
26
|
+
canAlert: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface SelectionToolbarCallbacks {
|
|
29
|
+
onStyle: (patch: Partial<Pick<DrawingStyle, 'color' | 'lineWidth' | 'lineStyle'>>) => void;
|
|
30
|
+
onSettings: () => void;
|
|
31
|
+
onAlert: () => void;
|
|
32
|
+
onLock: (locked: boolean) => void;
|
|
33
|
+
/** The full drawing menu, opened under the given point (root px). */
|
|
34
|
+
onMore: (x: number, y: number) => void;
|
|
35
|
+
onDelete: () => void;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* A small toolbar that appears over the drawing a user selects, so its
|
|
39
|
+
* colour, width and line style, its settings, lock and delete are one click
|
|
40
|
+
* away instead of behind a right-click.
|
|
41
|
+
*/
|
|
42
|
+
export declare class WidgetSelectionToolbar {
|
|
43
|
+
private readonly host;
|
|
44
|
+
private readonly callbacks;
|
|
45
|
+
private readonly t;
|
|
46
|
+
private el;
|
|
47
|
+
private pop;
|
|
48
|
+
private target;
|
|
49
|
+
/** What the buttons were last built from. */
|
|
50
|
+
private built;
|
|
51
|
+
private size;
|
|
52
|
+
private openPop;
|
|
53
|
+
private readonly onDocDown;
|
|
54
|
+
constructor(host: HTMLElement, callbacks: SelectionToolbarCallbacks, t?: Translator);
|
|
55
|
+
isOpen(): boolean;
|
|
56
|
+
show(target: SelectionToolbarTarget): void;
|
|
57
|
+
hide(): void;
|
|
58
|
+
destroy(): void;
|
|
59
|
+
private render;
|
|
60
|
+
private buttons;
|
|
61
|
+
/** Make `button` the toolbar's one tab stop, focusing it when asked. */
|
|
62
|
+
private rove;
|
|
63
|
+
/** Over the selection, centred on it; under it when there is no room above. */
|
|
64
|
+
private place;
|
|
65
|
+
private onClick;
|
|
66
|
+
/** Arrow keys, Home and End move along the toolbar, as a toolbar's should. */
|
|
67
|
+
private onKey;
|
|
68
|
+
private openPopover;
|
|
69
|
+
/** Arrow keys move through the choices (by a row in the colours); Escape goes back to the toolbar. */
|
|
70
|
+
private onPopKey;
|
|
71
|
+
private placePop;
|
|
72
|
+
private onPick;
|
|
73
|
+
private closePop;
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=WidgetSelectionToolbar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WidgetSelectionToolbar.d.ts","sourceRoot":"","sources":["../../src/widget/WidgetSelectionToolbar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEzD,OAAO,EAAiB,KAAK,UAAU,EAAE,MAAM,WAAW,CAAC;AAI3D,yDAAyD;AACzD,MAAM,WAAW,sBAAsB;IACrC,kEAAkE;IAClE,IAAI,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9D,iEAAiE;IACjE,MAAM,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAChE,yDAAyD;IACzD,KAAK,EAAE,YAAY,CAAC;IACpB,6EAA6E;IAC7E,MAAM,EAAE,OAAO,CAAC;IAChB,4DAA4D;IAC5D,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,OAAO,GAAG,WAAW,GAAG,WAAW,CAAC,CAAC,KAAK,IAAI,CAAC;IAC3F,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAClC,qE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