@tradecanvas/chart 1.66.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/Chart.d.ts +18 -0
- package/dist/Chart.d.ts.map +1 -1
- package/dist/LayoutSession-BW_2uPzn.cjs +2 -0
- package/dist/LayoutSession-BW_2uPzn.cjs.map +1 -0
- package/dist/{LayoutSession-BQVAQhdo.js → LayoutSession-uM_94Qwk.js} +12 -2
- package/dist/LayoutSession-uM_94Qwk.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/widget/ChartWidget.d.ts +38 -0
- package/dist/widget/ChartWidget.d.ts.map +1 -1
- package/dist/widget/WidgetInlineText.d.ts +76 -0
- package/dist/widget/WidgetInlineText.d.ts.map +1 -0
- package/dist/widget/WidgetObjectTree.d.ts.map +1 -1
- package/dist/widget/index.cjs +45 -22
- package/dist/widget/index.cjs.map +1 -1
- package/dist/widget/index.js +1414 -1185
- package/dist/widget/index.js.map +1 -1
- package/dist/widget/widgetUI.d.ts +16 -0
- package/dist/widget/widgetUI.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/LayoutSession-BQVAQhdo.js.map +0 -1
- package/dist/LayoutSession-Bgd4YHx7.cjs +0 -2
- package/dist/LayoutSession-Bgd4YHx7.cjs.map +0 -1
|
@@ -1521,7 +1521,7 @@ var Wr = 20, Gr = 8, Kr = 10, qr = {
|
|
|
1521
1521
|
ArrowUp: [0, -1],
|
|
1522
1522
|
ArrowDown: [0, 1]
|
|
1523
1523
|
}, Jr = new Set(["horizontalLine", "crossLine"]), Yr = new Set(["verticalLine", "crossLine"]), Xr = class {
|
|
1524
|
-
static version = "1.
|
|
1524
|
+
static version = "1.68.0";
|
|
1525
1525
|
engine;
|
|
1526
1526
|
viewport;
|
|
1527
1527
|
series = new Rn((e) => this.sessionKeep(e), (e) => this.followLiveChange(e));
|
|
@@ -2701,6 +2701,16 @@ var Wr = 20, Gr = 8, Kr = 10, qr = {
|
|
|
2701
2701
|
};
|
|
2702
2702
|
return this.drawingManager.nudge(t[0] * n, t[1] * n, r);
|
|
2703
2703
|
}
|
|
2704
|
+
getDrawingTextRect(e) {
|
|
2705
|
+
return this.drawingManager.isShown(e) ? this.drawingManager.textBoxOf(e, {
|
|
2706
|
+
...this.viewport.getState(),
|
|
2707
|
+
data: this.getDisplayData()
|
|
2708
|
+
}) : null;
|
|
2709
|
+
}
|
|
2710
|
+
amendNewDrawing(e, t) {
|
|
2711
|
+
let n = this.drawingManager.amendNew(e, t);
|
|
2712
|
+
return n && this.markStateChanged(), n;
|
|
2713
|
+
}
|
|
2704
2714
|
takeBackDrawing(e) {
|
|
2705
2715
|
this.features.drawings && (this.drawingManager.takeBack(e), this.markStateChanged());
|
|
2706
2716
|
}
|
|
@@ -5629,4 +5639,4 @@ var $i = class {
|
|
|
5629
5639
|
//#endregion
|
|
5630
5640
|
export { Hn as C, B as D, R as E, ln as O, Gn as S, V as T, lr as _, qi as a, G as b, Xr as c, Mr as d, Nr as f, cr as g, ur as h, Ji as i, Ir as l, dr as m, Yi as n, Vi as o, fr as p, Xi as r, ji as s, $i as t, Fr as u, or as v, Bn as w, Xn as x, sr as y };
|
|
5631
5641
|
|
|
5632
|
-
//# sourceMappingURL=LayoutSession-
|
|
5642
|
+
//# sourceMappingURL=LayoutSession-uM_94Qwk.js.map
|