velo-plot 1.19.0 → 2.0.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.
Files changed (49) hide show
  1. package/dist/{ChartCore-DQ691eXH.js → ChartCore-BhQ4j7f5.js} +1299 -1102
  2. package/dist/ChartCore-BhQ4j7f5.js.map +1 -0
  3. package/dist/SciPlot-GJvw7GJo.js +463 -0
  4. package/dist/SciPlot-GJvw7GJo.js.map +1 -0
  5. package/dist/axisFormat-SPX-CD5s.js +200 -0
  6. package/dist/axisFormat-SPX-CD5s.js.map +1 -0
  7. package/dist/core/InteractionManager.d.ts +1 -0
  8. package/dist/core/OverlayRenderer.d.ts +11 -0
  9. package/dist/core/chart/ChartCore.d.ts +5 -0
  10. package/dist/core/chart/ChartRenderLoop.d.ts +5 -0
  11. package/dist/core/chart/ChartRenderer.d.ts +5 -0
  12. package/dist/core/chart/positionLines.d.ts +12 -0
  13. package/dist/core/chart/types.d.ts +2 -0
  14. package/dist/core/format/axisFormat.d.ts +2 -1
  15. package/dist/core/indicator/addIndicator.d.ts +1 -1
  16. package/dist/core/indicator/indicatorPresets.d.ts +10 -2
  17. package/dist/core/time/TimeScale.d.ts +2 -2
  18. package/dist/core/time/applyTimeScale.d.ts +10 -0
  19. package/dist/createStackedChart-DJSmqerD.js +706 -0
  20. package/dist/createStackedChart-DJSmqerD.js.map +1 -0
  21. package/dist/{index-DjeWClO9.js → index-CWipqOLP.js} +2 -2
  22. package/dist/{index-DjeWClO9.js.map → index-CWipqOLP.js.map} +1 -1
  23. package/dist/{index.core-BtGFYMOu.js → index.core-fpZ1dYN0.js} +3 -3
  24. package/dist/{index.core-BtGFYMOu.js.map → index.core-fpZ1dYN0.js.map} +1 -1
  25. package/dist/index.d.ts +5 -0
  26. package/dist/mockDatafeed-Cdg5hKEo.js +511 -0
  27. package/dist/mockDatafeed-Cdg5hKEo.js.map +1 -0
  28. package/dist/plugins/drawing-tools/index.d.ts +14 -1
  29. package/dist/plugins/drawing-tools/measure.d.ts +21 -0
  30. package/dist/plugins/drawing-tools/snapToCandle.d.ts +21 -0
  31. package/dist/plugins/tools.js +1 -1
  32. package/dist/react.js +5 -5
  33. package/dist/trading/datafeed.d.ts +48 -0
  34. package/dist/trading/index.d.ts +29 -0
  35. package/dist/trading/mockDatafeed.d.ts +9 -0
  36. package/dist/trading/ohlcvGenerator.d.ts +25 -0
  37. package/dist/trading.d.ts +1 -0
  38. package/dist/trading.js +95 -0
  39. package/dist/trading.js.map +1 -0
  40. package/dist/types.d.ts +1 -1
  41. package/dist/velo-plot.full.js +833 -1054
  42. package/dist/velo-plot.full.js.map +1 -1
  43. package/dist/velo-plot.js +13 -13
  44. package/package.json +13 -1
  45. package/dist/ChartCore-DQ691eXH.js.map +0 -1
  46. package/dist/axisFormat-B7o_uIEA.js +0 -127
  47. package/dist/axisFormat-B7o_uIEA.js.map +0 -1
  48. package/dist/createStackedChart-BPooTQ9z.js +0 -1164
  49. package/dist/createStackedChart-BPooTQ9z.js.map +0 -1
package/dist/velo-plot.js CHANGED
@@ -1,32 +1,32 @@
1
- import { A as r, D as s, h as t, x as n, u as i, L as g, n as o, N as c, a3 as l, S as E, c as m, N as u, a2 as T, o as A, y as N, f, j as L, z as P, t as d } from "./ChartCore-DQ691eXH.js";
2
- import { E as S } from "./axisFormat-B7o_uIEA.js";
3
- import { h as x, f as C, c as I, d as M, g as R, r as _ } from "./index.core-BtGFYMOu.js";
1
+ import { A as r, D as s, l as t, f as n, L as i, j as g, u as l, N as o, a5 as c, S as E, c as m, N as u, a4 as T, v as A, B as N, k as f, o as L, F as P, y as d } from "./ChartCore-BhQ4j7f5.js";
2
+ import { E as h } from "./axisFormat-SPX-CD5s.js";
3
+ import { h as C, f as I, c as M, d as R, g as _, r as v } from "./index.core-fpZ1dYN0.js";
4
4
  export {
5
5
  r as AnimationEngine,
6
6
  s as DARK_THEME,
7
7
  t as DEFAULT_ANIMATION_CONFIG,
8
8
  n as DEFAULT_THEME,
9
- S as EventEmitter,
9
+ h as EventEmitter,
10
10
  i as LIGHT_THEME,
11
11
  g as LinearScale,
12
- o as LogScale,
13
- c as NativeWebGLRenderer,
14
- l as PluginManagerImpl,
12
+ l as LogScale,
13
+ o as NativeWebGLRenderer,
14
+ c as PluginManagerImpl,
15
15
  E as Series,
16
16
  m as createChart,
17
- x as createConfigurablePlugin,
17
+ C as createConfigurablePlugin,
18
18
  u as createNativeRenderer,
19
- C as createPlugin,
19
+ I as createPlugin,
20
20
  T as createPluginContext,
21
- I as createRenderer,
21
+ M as createRenderer,
22
22
  A as createScale,
23
23
  N as createTheme,
24
- M as definePlugin,
24
+ R as definePlugin,
25
25
  f as easings,
26
- R as getPluginRegistry,
26
+ _ as getPluginRegistry,
27
27
  L as getSharedAnimationEngine,
28
28
  P as getThemeByName,
29
29
  d as parseColor,
30
- _ as registerPlugin
30
+ v as registerPlugin
31
31
  };
32
32
  //# sourceMappingURL=velo-plot.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "velo-plot",
3
- "version": "1.19.0",
3
+ "version": "2.0.0",
4
4
  "author": "jigonzalez930209",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -34,6 +34,10 @@
34
34
  "types": "./dist/index.d.ts",
35
35
  "import": "./dist/velo-plot.full.js"
36
36
  },
37
+ "./trading": {
38
+ "types": "./dist/trading/index.d.ts",
39
+ "import": "./dist/trading.js"
40
+ },
37
41
  "./react": {
38
42
  "types": "./dist/react/index.d.ts",
39
43
  "import": "./dist/react.js"
@@ -196,8 +200,16 @@
196
200
  "test:watch": "vitest",
197
201
  "test:dom": "vitest run .dom.test.ts",
198
202
  "test:e2e": "playwright test",
203
+ "test:e2e:artifacts": "E2E_FULL_ARTIFACTS=1 playwright test",
204
+ "test:e2e:report": "playwright show-report test-results/e2e/report",
205
+ "test:e2e:install": "node scripts/playwright-install.mjs",
206
+ "test:e2e:install:deps": "PLAYWRIGHT_INSTALL_DEPS=1 node scripts/playwright-install.mjs",
207
+ "test:e2e:setup": "pnpm build && pnpm test:e2e:install",
199
208
  "test:e2e:ui": "playwright test --ui",
200
209
  "test:e2e:headed": "playwright test --headed",
210
+ "test:e2e:chromium": "playwright test --project chromium",
211
+ "test:e2e:firefox": "playwright test --project firefox",
212
+ "test:e2e:webkit": "playwright test --project webkit",
201
213
  "test:browser-bench": "node scripts/browser-benchmark.mjs",
202
214
  "test:browser-bench:headed": "HEADED=1 node scripts/browser-benchmark.mjs",
203
215
  "test:all": "pnpm test && pnpm test:dom && pnpm test:e2e && pnpm test:browser-bench",