aframe-babia-components 1.2.9 → 1.3.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/components/filters/babia-selector.js +33 -21
- package/components/filters/babia-treebuilder.js +14 -13
- package/components/others/babia-navigator.js +94 -37
- package/components/others/babia-poster.js +369 -368
- package/components/others/babia-slider.js +63 -25
- package/components/others/common.js +60 -80
- package/components/visualizers/babia-html.js +95 -118
- package/components/visualizers/babia-map.js +796 -0
- package/dist/aframe-babia-components.js +7249 -6492
- package/dist/aframe-babia-components.min.js +1 -1
- package/dist/aframe-babia-components.min.js.LICENSE.txt +1 -1
- package/dist/aframe-babia-components.min.js.map +1 -1
- package/docs/APIs/OTHERS.md +4 -4
- package/docs/CONTRIBUTING.md +34 -25
- package/docs/RELEASE_NOTES.md +9 -2
- package/docs/Tutorials/HOW_TO_USE_BABIA_MAP.md +554 -0
- package/docs/Tutorials/ejemplo1.png +0 -0
- package/docs/Tutorials/ejemplo2.png +0 -0
- package/docs/Tutorials/ejemplo3.png +0 -0
- package/docs/Tutorials/pyramids.png +0 -0
- package/docs/Tutorials/singular.png +0 -0
- package/docs/Tutorials/terrain-vr-scenario.png +0 -0
- package/docs/Tutorials/terrain.png +0 -0
- package/examples/boats/boats2/data.json +206 -13
- package/examples/charts/pie/index.html +0 -5
- package/examples/demos/map-terrain/assets/360-panorama.jpg +0 -0
- package/examples/demos/map-terrain/assets/floor-texture.jpg +0 -0
- package/examples/demos/map-terrain/assets/mapTextures/512sample.webp +0 -0
- package/examples/demos/map-terrain/assets/mapTextures/defaultTexture.webp +0 -0
- package/examples/demos/map-terrain/assets/maps/defaultMap.png +0 -0
- package/examples/demos/map-terrain/assets/maps/example.png +0 -0
- package/examples/demos/map-terrain/assets/metalic-texture.jpg +0 -0
- package/examples/demos/map-terrain/dist/aframe-lounge-component.min.js +1 -0
- package/examples/demos/map-terrain/index.html +82 -0
- package/examples/demos/map-terrain/index_gallery.html +188 -0
- package/examples/demos/map-terrain/main_data.json +1 -0
- package/examples/demos/map-terrain/pyramids.html +130 -0
- package/examples/js/aframe-orbit-controls-component.js +1060 -0
- package/examples/ui/pie/index.html +0 -1
- package/index.html +15 -0
- package/index.js +1 -0
- package/package.json +5 -5
- package/tests/screenshots/other_snapshots.js/pyramids.png +0 -0
- package/tests/screenshots/other_snapshots.js/singular.png +0 -0
- package/tests/screenshots/other_snapshots.js/terrain-vr-scenario.png +0 -0
- package/tests/screenshots/other_snapshots.js/terrain.png +0 -0
- package/webpack.common.js +1 -1
- package/webpack.dev.js +17 -0
- package/examples/demos/citations/babiaxr.json +0 -1
- package/examples/demos/citations/citations.html +0 -72
- package/examples/demos/citations/music.mp3 +0 -0
- package/examples/demos/citations/stl.js +0 -28
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
<script src="https://aframe.io/releases/1.5.0/aframe.min.js"></script>
|
|
9
9
|
<script src="https://cdn.jsdelivr.net/gh/donmccurdy/aframe-extras@v7.2.0/dist/aframe-extras.min.js"></script>
|
|
10
10
|
<script src="https://unpkg.com/aframe-environment-component@1.3.3/dist/aframe-environment-component.min.js"></script>
|
|
11
|
-
<script src="https://unpkg.com/aframe-text-geometry-component@0.5.1/dist/aframe-text-geometry-component.min.js"></script>
|
|
12
11
|
<script src="../../../dist/aframe-babia-components.js"></script>
|
|
13
12
|
<link rel="stylesheet" href="../../assets/gitlab-corner.css">
|
|
14
13
|
</head>
|
package/index.html
CHANGED
|
@@ -365,6 +365,21 @@
|
|
|
365
365
|
style="background-image: url(tests/screenshots/terrain.js/elevation_filled.png)"></a>
|
|
366
366
|
<h3>Terrain Elevation Filled</h3>
|
|
367
367
|
</li>
|
|
368
|
+
<li>
|
|
369
|
+
<a href="examples/demos/map-terrain/index.html"
|
|
370
|
+
style="background-image: url(tests/screenshots/other_snapshots.js/singular.png)"></a>
|
|
371
|
+
<h3>Map Terrain</h3>
|
|
372
|
+
</li>
|
|
373
|
+
<li>
|
|
374
|
+
<a href="examples/demos/map-terrain/index_gallery.html"
|
|
375
|
+
style="background-image: url(tests/screenshots/other_snapshots.js/terrain-vr-scenario.png)"></a>
|
|
376
|
+
<h3>Map Terrain Gallery</h3>
|
|
377
|
+
</li>
|
|
378
|
+
<li>
|
|
379
|
+
<a href="examples/demos/map-terrain/pyramids.html"
|
|
380
|
+
style="background-image: url(tests/screenshots/other_snapshots.js/pyramids.png)"></a>
|
|
381
|
+
<h3>Map Terrain in Egypt</h3>
|
|
382
|
+
</li>
|
|
368
383
|
</ul>
|
|
369
384
|
|
|
370
385
|
<h2>Visualizers with query/filter</h2>
|
package/index.js
CHANGED
|
@@ -23,6 +23,7 @@ require('./components/visualizers/babia-terrain')
|
|
|
23
23
|
require('./components/visualizers/babia-boats')
|
|
24
24
|
require('./components/visualizers/babia-network')
|
|
25
25
|
require('./components/visualizers/babia-html')
|
|
26
|
+
require('./components/visualizers/babia-map')
|
|
26
27
|
|
|
27
28
|
// Others
|
|
28
29
|
require('./components/others/babiaxr-totem')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aframe-babia-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "A data visualization set of components for A-Frame.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"unpkg": "dist/aframe-babia-components.min.js",
|
|
@@ -58,10 +58,10 @@
|
|
|
58
58
|
"three": "0.159.0",
|
|
59
59
|
"three-forcegraph": "^1.41.13",
|
|
60
60
|
"url-loader": "^4.1.1",
|
|
61
|
-
"webpack": "^5.
|
|
62
|
-
"webpack-cli": "
|
|
63
|
-
"webpack-dev-server": "
|
|
64
|
-
"webpack-merge": "
|
|
61
|
+
"webpack": "^5.98.0",
|
|
62
|
+
"webpack-cli": "*",
|
|
63
|
+
"webpack-dev-server": "*",
|
|
64
|
+
"webpack-merge": "*"
|
|
65
65
|
},
|
|
66
66
|
"semistandard": {
|
|
67
67
|
"globals": [
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/webpack.common.js
CHANGED
package/webpack.dev.js
CHANGED
|
@@ -19,6 +19,23 @@ module.exports = merge(common, {
|
|
|
19
19
|
cert: './babia_cert.pem',
|
|
20
20
|
key: './babia_key.pem'
|
|
21
21
|
}
|
|
22
|
+
},
|
|
23
|
+
open: {
|
|
24
|
+
target: ['index.html'],
|
|
25
|
+
app: {
|
|
26
|
+
name: 'chromium',
|
|
27
|
+
arguments: ['--incognito']
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
// webpack-dev-server doesn't write any output files after compiling.
|
|
31
|
+
// Instead, it keeps bundle files in memory and serves them as if
|
|
32
|
+
// they were real files mounted at the server's root path.
|
|
33
|
+
// If your page expects to find the bundle files on a different path,
|
|
34
|
+
// you can change this with the devMiddleware.publicPath option
|
|
35
|
+
// in the dev server's configuration.
|
|
36
|
+
// https://webpack.js.org/guides/development/#using-webpack-dev-server
|
|
37
|
+
devMiddleware: {
|
|
38
|
+
publicPath: '/dist/'
|
|
22
39
|
}
|
|
23
40
|
}
|
|
24
41
|
});
|