@forgecharts/sdk 1.5.45 → 1.5.47
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/compatibility.d.ts +32 -0
- package/dist/compatibility.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +53 -2
- package/dist/index.js.map +1 -1
- package/dist/internal.js +53 -2
- package/dist/internal.js.map +1 -1
- package/dist/pixi/PixiTradingRenderer.d.ts.map +1 -1
- package/dist/react/index.js +4 -4
- package/dist/react/index.js.map +1 -1
- package/dist/react/internal.js +4 -4
- package/dist/react/internal.js.map +1 -1
- package/package.json +1 -1
package/dist/react/internal.js
CHANGED
|
@@ -7948,7 +7948,7 @@ var PixiTradingRenderer = class {
|
|
|
7948
7948
|
if (this._draggingPill) {
|
|
7949
7949
|
const color = this._draggingPill.kind === "tp" ? TP_PILL_COLOR : SL_PILL_COLOR;
|
|
7950
7950
|
const pillY = this._draggingPill.y;
|
|
7951
|
-
const pillX =
|
|
7951
|
+
const pillX = Math.max(0, plotWidth - LABEL_GAP - PILL_W);
|
|
7952
7952
|
const previewY = Math.round(pillY + PILL_H / 2) + 0.5;
|
|
7953
7953
|
this._lineGfx.setStrokeStyle({ color, width: 1, alpha: 0.5 });
|
|
7954
7954
|
let cx = 0;
|
|
@@ -18252,6 +18252,9 @@ var DEMONSTRATION_RADIUS = 44;
|
|
|
18252
18252
|
var DEMONSTRATION_FILL = "rgba(255, 200, 50, 0.18)";
|
|
18253
18253
|
var DEMONSTRATION_STROKE = "rgba(255, 200, 50, 0.7)";
|
|
18254
18254
|
var DEMONSTRATION_COLOR = "var(--crosshair-overlay, rgba(255,255,255,0.75))";
|
|
18255
|
+
|
|
18256
|
+
// src/version.ts
|
|
18257
|
+
var FORGECHARTS_VERSION = "1.5.47" ;
|
|
18255
18258
|
function applyRuntimeConfig(caps, config) {
|
|
18256
18259
|
if (!config) return caps;
|
|
18257
18260
|
const orderEntry = config.enableOrderEntry === false ? false : caps.orderEntry;
|
|
@@ -26939,9 +26942,6 @@ function _guessFrontMonth(product, months) {
|
|
|
26939
26942
|
}
|
|
26940
26943
|
return `${product}${months[0]}${currentYear + 1}`;
|
|
26941
26944
|
}
|
|
26942
|
-
|
|
26943
|
-
// src/version.ts
|
|
26944
|
-
var FORGECHARTS_VERSION = "1.5.45" ;
|
|
26945
26945
|
var TIMEZONE_OPTIONS = [
|
|
26946
26946
|
{ label: "UTC", value: "UTC" },
|
|
26947
26947
|
{ label: "Exchange", value: "exchange" },
|