@chartts/gl 0.1.3

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 (80) hide show
  1. package/LICENSE +21 -0
  2. package/dist/bar3d.cjs +20 -0
  3. package/dist/bar3d.cjs.map +1 -0
  4. package/dist/bar3d.d.cts +10 -0
  5. package/dist/bar3d.d.ts +10 -0
  6. package/dist/bar3d.js +3 -0
  7. package/dist/bar3d.js.map +1 -0
  8. package/dist/chunk-M24XMYGG.js +3464 -0
  9. package/dist/chunk-M24XMYGG.js.map +1 -0
  10. package/dist/chunk-Q4JAQOV3.cjs +3516 -0
  11. package/dist/chunk-Q4JAQOV3.cjs.map +1 -0
  12. package/dist/factory-Cp9Kr7aa.d.cts +291 -0
  13. package/dist/factory-Cp9Kr7aa.d.ts +291 -0
  14. package/dist/flow-gl.cjs +20 -0
  15. package/dist/flow-gl.cjs.map +1 -0
  16. package/dist/flow-gl.d.cts +20 -0
  17. package/dist/flow-gl.d.ts +20 -0
  18. package/dist/flow-gl.js +3 -0
  19. package/dist/flow-gl.js.map +1 -0
  20. package/dist/globe3d.cjs +20 -0
  21. package/dist/globe3d.cjs.map +1 -0
  22. package/dist/globe3d.d.cts +10 -0
  23. package/dist/globe3d.d.ts +10 -0
  24. package/dist/globe3d.js +3 -0
  25. package/dist/globe3d.js.map +1 -0
  26. package/dist/graph-gl.cjs +20 -0
  27. package/dist/graph-gl.cjs.map +1 -0
  28. package/dist/graph-gl.d.cts +10 -0
  29. package/dist/graph-gl.d.ts +10 -0
  30. package/dist/graph-gl.js +3 -0
  31. package/dist/graph-gl.js.map +1 -0
  32. package/dist/index.cjs +212 -0
  33. package/dist/index.cjs.map +1 -0
  34. package/dist/index.d.cts +60 -0
  35. package/dist/index.d.ts +60 -0
  36. package/dist/index.js +3 -0
  37. package/dist/index.js.map +1 -0
  38. package/dist/line3d.cjs +20 -0
  39. package/dist/line3d.cjs.map +1 -0
  40. package/dist/line3d.d.cts +10 -0
  41. package/dist/line3d.d.ts +10 -0
  42. package/dist/line3d.js +3 -0
  43. package/dist/line3d.js.map +1 -0
  44. package/dist/lines-gl.cjs +20 -0
  45. package/dist/lines-gl.cjs.map +1 -0
  46. package/dist/lines-gl.d.cts +10 -0
  47. package/dist/lines-gl.d.ts +10 -0
  48. package/dist/lines-gl.js +3 -0
  49. package/dist/lines-gl.js.map +1 -0
  50. package/dist/lines3d.cjs +20 -0
  51. package/dist/lines3d.cjs.map +1 -0
  52. package/dist/lines3d.d.cts +10 -0
  53. package/dist/lines3d.d.ts +10 -0
  54. package/dist/lines3d.js +3 -0
  55. package/dist/lines3d.js.map +1 -0
  56. package/dist/map3d.cjs +20 -0
  57. package/dist/map3d.cjs.map +1 -0
  58. package/dist/map3d.d.cts +10 -0
  59. package/dist/map3d.d.ts +10 -0
  60. package/dist/map3d.js +3 -0
  61. package/dist/map3d.js.map +1 -0
  62. package/dist/scatter-gl.cjs +20 -0
  63. package/dist/scatter-gl.cjs.map +1 -0
  64. package/dist/scatter-gl.d.cts +11 -0
  65. package/dist/scatter-gl.d.ts +11 -0
  66. package/dist/scatter-gl.js +3 -0
  67. package/dist/scatter-gl.js.map +1 -0
  68. package/dist/scatter3d.cjs +20 -0
  69. package/dist/scatter3d.cjs.map +1 -0
  70. package/dist/scatter3d.d.cts +10 -0
  71. package/dist/scatter3d.d.ts +10 -0
  72. package/dist/scatter3d.js +3 -0
  73. package/dist/scatter3d.js.map +1 -0
  74. package/dist/surface3d.cjs +20 -0
  75. package/dist/surface3d.cjs.map +1 -0
  76. package/dist/surface3d.d.cts +10 -0
  77. package/dist/surface3d.d.ts +10 -0
  78. package/dist/surface3d.js +3 -0
  79. package/dist/surface3d.js.map +1 -0
  80. package/package.json +92 -0
@@ -0,0 +1,20 @@
1
+ 'use strict';
2
+
3
+ var chunkQ4JAQOV3_cjs = require('./chunk-Q4JAQOV3.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "ScatterGL", {
8
+ enumerable: true,
9
+ get: function () { return chunkQ4JAQOV3_cjs.ScatterGL; }
10
+ });
11
+ Object.defineProperty(exports, "createGLChart", {
12
+ enumerable: true,
13
+ get: function () { return chunkQ4JAQOV3_cjs.createGLChart; }
14
+ });
15
+ Object.defineProperty(exports, "createScatterGLPlugin", {
16
+ enumerable: true,
17
+ get: function () { return chunkQ4JAQOV3_cjs.createScatterGLPlugin; }
18
+ });
19
+ //# sourceMappingURL=scatter-gl.cjs.map
20
+ //# sourceMappingURL=scatter-gl.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"scatter-gl.cjs"}
@@ -0,0 +1,11 @@
1
+ import { e as GLChartTypePlugin } from './factory-Cp9Kr7aa.cjs';
2
+ export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, s as ScatterGL, x as createGLChart } from './factory-Cp9Kr7aa.cjs';
3
+
4
+ /**
5
+ * ScatterGL — GPU-accelerated 2D scatter with axes, grid, legend, and density glow.
6
+ * Uses spatial grid for efficient hitTest on millions of points.
7
+ */
8
+
9
+ declare function createScatterGLPlugin(): GLChartTypePlugin;
10
+
11
+ export { createScatterGLPlugin };
@@ -0,0 +1,11 @@
1
+ import { e as GLChartTypePlugin } from './factory-Cp9Kr7aa.js';
2
+ export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, s as ScatterGL, x as createGLChart } from './factory-Cp9Kr7aa.js';
3
+
4
+ /**
5
+ * ScatterGL — GPU-accelerated 2D scatter with axes, grid, legend, and density glow.
6
+ * Uses spatial grid for efficient hitTest on millions of points.
7
+ */
8
+
9
+ declare function createScatterGLPlugin(): GLChartTypePlugin;
10
+
11
+ export { createScatterGLPlugin };
@@ -0,0 +1,3 @@
1
+ export { ScatterGL, createGLChart, createScatterGLPlugin } from './chunk-M24XMYGG.js';
2
+ //# sourceMappingURL=scatter-gl.js.map
3
+ //# sourceMappingURL=scatter-gl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"scatter-gl.js"}
@@ -0,0 +1,20 @@
1
+ 'use strict';
2
+
3
+ var chunkQ4JAQOV3_cjs = require('./chunk-Q4JAQOV3.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "Scatter3D", {
8
+ enumerable: true,
9
+ get: function () { return chunkQ4JAQOV3_cjs.Scatter3D; }
10
+ });
11
+ Object.defineProperty(exports, "createGLChart", {
12
+ enumerable: true,
13
+ get: function () { return chunkQ4JAQOV3_cjs.createGLChart; }
14
+ });
15
+ Object.defineProperty(exports, "createScatter3DPlugin", {
16
+ enumerable: true,
17
+ get: function () { return chunkQ4JAQOV3_cjs.createScatter3DPlugin; }
18
+ });
19
+ //# sourceMappingURL=scatter3d.cjs.map
20
+ //# sourceMappingURL=scatter3d.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"scatter3d.cjs"}
@@ -0,0 +1,10 @@
1
+ import { e as GLChartTypePlugin } from './factory-Cp9Kr7aa.cjs';
2
+ export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, S as Scatter3D, x as createGLChart } from './factory-Cp9Kr7aa.cjs';
3
+
4
+ /**
5
+ * Scatter3D — GL_POINTS in 3D space with SDF circles.
6
+ */
7
+
8
+ declare function createScatter3DPlugin(): GLChartTypePlugin;
9
+
10
+ export { createScatter3DPlugin };
@@ -0,0 +1,10 @@
1
+ import { e as GLChartTypePlugin } from './factory-Cp9Kr7aa.js';
2
+ export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, S as Scatter3D, x as createGLChart } from './factory-Cp9Kr7aa.js';
3
+
4
+ /**
5
+ * Scatter3D — GL_POINTS in 3D space with SDF circles.
6
+ */
7
+
8
+ declare function createScatter3DPlugin(): GLChartTypePlugin;
9
+
10
+ export { createScatter3DPlugin };
@@ -0,0 +1,3 @@
1
+ export { Scatter3D, createGLChart, createScatter3DPlugin } from './chunk-M24XMYGG.js';
2
+ //# sourceMappingURL=scatter3d.js.map
3
+ //# sourceMappingURL=scatter3d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"scatter3d.js"}
@@ -0,0 +1,20 @@
1
+ 'use strict';
2
+
3
+ var chunkQ4JAQOV3_cjs = require('./chunk-Q4JAQOV3.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "Surface3D", {
8
+ enumerable: true,
9
+ get: function () { return chunkQ4JAQOV3_cjs.Surface3D; }
10
+ });
11
+ Object.defineProperty(exports, "createGLChart", {
12
+ enumerable: true,
13
+ get: function () { return chunkQ4JAQOV3_cjs.createGLChart; }
14
+ });
15
+ Object.defineProperty(exports, "createSurface3DPlugin", {
16
+ enumerable: true,
17
+ get: function () { return chunkQ4JAQOV3_cjs.createSurface3DPlugin; }
18
+ });
19
+ //# sourceMappingURL=surface3d.cjs.map
20
+ //# sourceMappingURL=surface3d.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"surface3d.cjs"}
@@ -0,0 +1,10 @@
1
+ import { e as GLChartTypePlugin } from './factory-Cp9Kr7aa.cjs';
2
+ export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, u as Surface3D, x as createGLChart } from './factory-Cp9Kr7aa.cjs';
3
+
4
+ /**
5
+ * Surface3D — grid heightmap mesh with computed normals, wireframe option.
6
+ */
7
+
8
+ declare function createSurface3DPlugin(): GLChartTypePlugin;
9
+
10
+ export { createSurface3DPlugin };
@@ -0,0 +1,10 @@
1
+ import { e as GLChartTypePlugin } from './factory-Cp9Kr7aa.js';
2
+ export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, u as Surface3D, x as createGLChart } from './factory-Cp9Kr7aa.js';
3
+
4
+ /**
5
+ * Surface3D — grid heightmap mesh with computed normals, wireframe option.
6
+ */
7
+
8
+ declare function createSurface3DPlugin(): GLChartTypePlugin;
9
+
10
+ export { createSurface3DPlugin };
@@ -0,0 +1,3 @@
1
+ export { Surface3D, createGLChart, createSurface3DPlugin } from './chunk-M24XMYGG.js';
2
+ //# sourceMappingURL=surface3d.js.map
3
+ //# sourceMappingURL=surface3d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"surface3d.js"}
package/package.json ADDED
@@ -0,0 +1,92 @@
1
+ {
2
+ "name": "@chartts/gl",
3
+ "version": "0.1.3",
4
+ "description": "WebGL 3D and GPU-accelerated chart types for chartts",
5
+ "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js",
13
+ "require": "./dist/index.cjs"
14
+ },
15
+ "./bar3d": {
16
+ "types": "./dist/bar3d.d.ts",
17
+ "import": "./dist/bar3d.js",
18
+ "require": "./dist/bar3d.cjs"
19
+ },
20
+ "./scatter3d": {
21
+ "types": "./dist/scatter3d.d.ts",
22
+ "import": "./dist/scatter3d.js",
23
+ "require": "./dist/scatter3d.cjs"
24
+ },
25
+ "./surface3d": {
26
+ "types": "./dist/surface3d.d.ts",
27
+ "import": "./dist/surface3d.js",
28
+ "require": "./dist/surface3d.cjs"
29
+ },
30
+ "./globe3d": {
31
+ "types": "./dist/globe3d.d.ts",
32
+ "import": "./dist/globe3d.js",
33
+ "require": "./dist/globe3d.cjs"
34
+ },
35
+ "./map3d": {
36
+ "types": "./dist/map3d.d.ts",
37
+ "import": "./dist/map3d.js",
38
+ "require": "./dist/map3d.cjs"
39
+ },
40
+ "./lines3d": {
41
+ "types": "./dist/lines3d.d.ts",
42
+ "import": "./dist/lines3d.js",
43
+ "require": "./dist/lines3d.cjs"
44
+ },
45
+ "./line3d": {
46
+ "types": "./dist/line3d.d.ts",
47
+ "import": "./dist/line3d.js",
48
+ "require": "./dist/line3d.cjs"
49
+ },
50
+ "./scatter-gl": {
51
+ "types": "./dist/scatter-gl.d.ts",
52
+ "import": "./dist/scatter-gl.js",
53
+ "require": "./dist/scatter-gl.cjs"
54
+ },
55
+ "./lines-gl": {
56
+ "types": "./dist/lines-gl.d.ts",
57
+ "import": "./dist/lines-gl.js",
58
+ "require": "./dist/lines-gl.cjs"
59
+ },
60
+ "./flow-gl": {
61
+ "types": "./dist/flow-gl.d.ts",
62
+ "import": "./dist/flow-gl.js",
63
+ "require": "./dist/flow-gl.cjs"
64
+ },
65
+ "./graph-gl": {
66
+ "types": "./dist/graph-gl.d.ts",
67
+ "import": "./dist/graph-gl.js",
68
+ "require": "./dist/graph-gl.cjs"
69
+ }
70
+ },
71
+ "files": [
72
+ "dist"
73
+ ],
74
+ "sideEffects": false,
75
+ "peerDependencies": {
76
+ "@chartts/core": "0.1.3"
77
+ },
78
+ "devDependencies": {
79
+ "tsup": "^8.0.0",
80
+ "typescript": "^5.0.0"
81
+ },
82
+ "license": "MIT",
83
+ "repository": {
84
+ "type": "git",
85
+ "url": "https://github.com/chartts/chartts"
86
+ },
87
+ "homepage": "https://chartts.com",
88
+ "scripts": {
89
+ "build": "tsup",
90
+ "dev": "tsup --watch"
91
+ }
92
+ }