aframe-babia-components 1.2.0 → 1.2.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.
- package/components/filters/babia-selector.js +256 -79
- package/components/filters/babia-treebuilder.js +4 -5
- package/components/geometries/babia-cyl.js +180 -0
- package/components/others/assets/tooltip.png +0 -0
- package/components/others/babia-camera.js +195 -0
- package/components/others/babia-controls.js +62 -37
- package/components/others/babia-navigator.js +55 -49
- package/components/others/babia-range-selector.js +208 -0
- package/components/others/babia-slider.js +36 -8
- package/components/others/babia-ui.js +246 -73
- package/components/others/common.js +60 -73
- package/components/queriers/babia-querycsv.js +96 -0
- package/components/queriers/babia-queryes.js +203 -132
- package/components/visualizers/babia-bars.js +4 -35
- package/components/visualizers/babia-barsmap.js +2 -30
- package/components/visualizers/babia-boats.js +291 -279
- package/components/visualizers/babia-bubbles.js +9 -26
- package/components/visualizers/babia-city.js +19 -9
- package/components/visualizers/babia-cyls.js +197 -201
- package/components/visualizers/babia-cylsmap.js +171 -241
- package/components/visualizers/babia-doughnut.js +2 -28
- package/components/visualizers/babia-network.js +191 -124
- package/components/visualizers/babia-pie.js +2 -30
- package/dist/aframe-babia-components.js +6785 -5626
- package/dist/aframe-babia-components.min.js +7 -1
- package/dist/aframe-babia-components.min.js.map +1 -0
- package/docs/APIs/CHARTS.md +11 -4
- package/docs/APIs/DATAMANAGEMENT.md +7 -0
- package/docs/APIs/OTHERS.md +27 -0
- package/docs/APIs/QUERIERS.md +16 -0
- package/docs/RELEASE_NOTES.md +44 -23
- package/docs/Tutorials/multiuser.md +47 -2
- package/docs/Tutorials/temporal_evol_with_boats.md +4 -4
- package/examples/assets/door/New Bitmap Image.jpg +0 -0
- package/examples/assets/door/door.mtl +26 -0
- package/examples/assets/door/door.obj +6927 -0
- package/examples/assets/popups/0.png +0 -0
- package/examples/assets/popups/1.png +0 -0
- package/examples/assets/popups/10.png +0 -0
- package/examples/assets/popups/2.png +0 -0
- package/examples/assets/popups/3.png +0 -0
- package/examples/assets/popups/4.png +0 -0
- package/examples/assets/popups/5.png +0 -0
- package/examples/assets/popups/6.png +0 -0
- package/examples/assets/popups/7.png +0 -0
- package/examples/assets/popups/8.png +0 -0
- package/examples/assets/popups/9.png +0 -0
- package/examples/assets/popups/close.jpg +0 -0
- package/examples/assets/popups/info.jpg +0 -0
- package/examples/assets/textures/brownwall.png +0 -0
- package/examples/assets/textures/concrete.png +0 -0
- package/examples/assets/textures/white-wall-texture.jpg +0 -0
- package/examples/boats/boats_new_element/data1.json +18 -18
- package/examples/boats/boats_new_element/data2.json +19 -19
- package/examples/boats/boats_new_element/index.html +1 -1
- package/examples/charts/cyls/index.html +13 -4
- package/examples/charts/cyls/primitive.html +76 -0
- package/examples/charts/cylsmap/index.html +14 -5
- package/examples/charts_querier/bars_querier/data.csv +10 -0
- package/examples/charts_querier/bars_querier/index_csv.html +80 -0
- package/examples/dashboard/chaoss-dashboards.html +259 -0
- package/examples/dashboard/chaoss-issues.html +248 -0
- package/examples/dashboard/chaoss-pr.html +248 -0
- package/examples/dashboard/index.html +247 -0
- package/examples/dashboard/issues_queries/80-percent-open-time.json +123 -0
- package/examples/dashboard/issues_queries/issues-by-organization.json +107 -0
- package/examples/dashboard/issues_queries/issues.json +117 -0
- package/examples/dashboard/issues_queries/median-open-time.json +123 -0
- package/examples/dashboard/issues_queries/organizations.json +130 -0
- package/examples/dashboard/issues_queries/projects.json +130 -0
- package/examples/dashboard/issues_queries/repositories.json +130 -0
- package/examples/dashboard/issues_queries/status.json +107 -0
- package/examples/dashboard/issues_queries/submitter.json +125 -0
- package/examples/dashboard/issues_queries/submitters.json +113 -0
- package/examples/dashboard/pullrequests_queries/80-percent-open-time.json +123 -0
- package/examples/dashboard/pullrequests_queries/median-open-time.json +123 -0
- package/examples/dashboard/pullrequests_queries/organizations.json +130 -0
- package/examples/dashboard/pullrequests_queries/projects.json +130 -0
- package/examples/dashboard/pullrequests_queries/pull-requests-by-organization.json +107 -0
- package/examples/dashboard/pullrequests_queries/pull-requests.json +117 -0
- package/examples/dashboard/pullrequests_queries/repositories.json +130 -0
- package/examples/dashboard/pullrequests_queries/status.json +107 -0
- package/examples/dashboard/pullrequests_queries/submitter.json +125 -0
- package/examples/dashboard/pullrequests_queries/submitters.json +113 -0
- package/examples/dashboard/range.html +88 -0
- package/examples/dashboard/template.html +136 -0
- package/examples/demos/1.0.11/index_multiuser_ui.html +1 -1
- package/examples/multi_bars/data.json +14 -0
- package/examples/multi_bars/data2.json +15 -0
- package/examples/multi_bars/data3.json +23 -0
- package/examples/multi_bars/easyrtc.js +11984 -0
- package/examples/multi_bars/index.html +97 -0
- package/examples/multi_bars/index1.html +111 -0
- package/examples/multi_bars/index2.html +102 -0
- package/examples/multi_bars/index3.html +104 -0
- package/examples/multi_boats/data3.json +174 -0
- package/examples/multi_boats/data4.json +192 -0
- package/examples/multi_boats/easyrtc.js +11984 -0
- package/examples/multi_boats/index_multi_boats.html +223 -0
- package/examples/multi_boats/jetuml.html +256 -0
- package/examples/multi_boats/jetuml_code_data.json +1 -0
- package/examples/multi_boats/jetuml_evolution_experiment.html +419 -0
- package/examples/multi_boats/only_queryjson.html +132 -0
- package/examples/multi_boats/only_queryjson2.html +167 -0
- package/examples/multi_boats/only_queryjson3.html +165 -0
- package/examples/multi_boats/queryjson_treebuilder.html +132 -0
- package/examples/multi_boats/with_selector.html +255 -0
- package/examples/multiuser/choose_avatar/index.html +18 -8
- package/examples/selector_boats/jetuml.html +74 -0
- package/examples/selector_boats/jetuml_evol_data.json +1 -0
- package/examples/selector_boats/jetuml_from_3_2_to_1_0.json +62382 -0
- package/examples/selector_boats/jetumltest.html +80 -0
- package/examples/ui/link/index.html +12 -11
- package/examples/ui/network/data.json +123 -0
- package/examples/ui/network/links.json +13 -0
- package/examples/ui/network/network.html +75 -0
- package/examples/ui/network/network_nodes_links.html +82 -0
- package/examples/ui/network/nodes.json +12 -0
- package/index.html +73 -2
- package/index.js +12 -1
- package/package.json +6 -3
- package/tests/screenshots/other_snapshots.js/chaoss-issues.png +0 -0
- package/tests/screenshots/other_snapshots.js/chaoss-pr.png +0 -0
- package/tests/screenshots/other_snapshots.js/template.png +0 -0
- package/tests/ui.js +7 -0
- package/webpack.common.js +10 -1
- package/webpack.devnossl.js +16 -0
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
<title>Babia Bashboard - Visualize your Data </title>
|
|
7
|
+
<meta name="description" content="Museum build aframe and babia">
|
|
8
|
+
</meta>
|
|
9
|
+
<script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script>
|
|
10
|
+
<script src="https://rawgit.com/fernandojsg/aframe-teleport-controls/master/dist/aframe-teleport-controls.min.js"></script>
|
|
11
|
+
<script src="https://unpkg.com/aframe-tooltip-component/dist/aframe-tooltip-component.min.js"></script>
|
|
12
|
+
<script src="../../../dist/aframe-babia-components.js"></script>
|
|
13
|
+
<link rel="stylesheet" href="../../assets/gitlab-corner.css">
|
|
14
|
+
</head>
|
|
15
|
+
|
|
16
|
+
<body>
|
|
17
|
+
<a-scene id="scene">
|
|
18
|
+
|
|
19
|
+
<!-- Assets -->
|
|
20
|
+
<a-assets>
|
|
21
|
+
<img id="sky" src="../demos/1.0.11/assets/360-panorama.jpg">
|
|
22
|
+
<img id="floor" src="../demos/1.0.11/assets/floor-texture.jpg">
|
|
23
|
+
<img id="metalic" src="../demos/1.0.11/assets/metalic-texture.jpg">
|
|
24
|
+
<img id="wall" src="../assets/textures/white-wall-texture.jpg">
|
|
25
|
+
<a-asset-item id="door-obj" src="../assets/door/door.obj"></a-asset-item>
|
|
26
|
+
<a-asset-item id="door-mtl" src="../assets/door/door.mtl"></a-asset-item>
|
|
27
|
+
</a-assets>
|
|
28
|
+
|
|
29
|
+
<!-- Enviroment -->
|
|
30
|
+
<a-sky src="#sky"></a-sky>
|
|
31
|
+
|
|
32
|
+
<!-- Room -->
|
|
33
|
+
<a-entity id="Room">
|
|
34
|
+
<a-entity id="floorRoom" material="shader: flat; src: #floor"
|
|
35
|
+
geometry="primitive: box; width: 7; depth: 9; height: 0.1"></a-entity>
|
|
36
|
+
<a-entity id="ceiling" geometry="primitive: box; width: 7; depth: 9; height: 0.1"
|
|
37
|
+
position="0 3 0" material="shader: flat; src: #wall"></a-entity>
|
|
38
|
+
<a-entity id ="door" obj-model="obj: #door-obj; mtl: #door-mtl"
|
|
39
|
+
position="3.4 1.2 -2.7" rotation="-90 -90 0" scale="0.013 0.013 0.011"></a-entity>
|
|
40
|
+
<a-entity id="wall1" position="3.65 1.5 0" >
|
|
41
|
+
<a-entity id="wall1-1" geometry="primitive: box; width: 0.5; depth: 8.7; height: 3"
|
|
42
|
+
material="shader: flat; src: #wall"></a-entity>
|
|
43
|
+
</a-entity>
|
|
44
|
+
<a-entity id="wall2" position="-3.5 1.5 0">
|
|
45
|
+
<a-entity id="wall2-1" geometry="primitive: box; width: 0.3; depth: 8.7; height: 1"
|
|
46
|
+
material="shader: flat; src: #wall; repeat: 5 1" position="0 -1 0"></a-entity>
|
|
47
|
+
<a-entity id="wall2-2" geometry="primitive: box; width: 0.3; depth: 8.7; height: 0.3"
|
|
48
|
+
material="shader: flat; src: #wall; repeat: 5 1" position="0 1.35 0"></a-entity>
|
|
49
|
+
<a-entity id="wall2-3" geometry="primitive: box; width: 0.3; depth: 0.5; height: 1.7"
|
|
50
|
+
material="shader: flat; src: #wall; repeat: 1 3" position="0 0.35 0"></a-entity>
|
|
51
|
+
<a-entity id="wall2-4" geometry="primitive: box; width: 0.3; depth: 0.6; height: 1.7"
|
|
52
|
+
material="shader: flat; src: #wall; repeat: 1 3" position="0 0.35 4.35"></a-entity>
|
|
53
|
+
<a-entity id="wall2-5" geometry="primitive: box; width: 0.3; depth: 0.6; height: 1.7"
|
|
54
|
+
material="shader: flat; src: #wall; repeat: 1 3" position="0 0.35 -4.35"></a-entity>
|
|
55
|
+
</a-entity>
|
|
56
|
+
<a-entity id="wall3" position="0 1.5 -4.5">
|
|
57
|
+
<a-entity id="wall3-1" geometry="primitive: box; width: 7; depth: 0.3; height: 3"
|
|
58
|
+
material="shader: flat; src: #wall"></a-entity>
|
|
59
|
+
<a-entity id="column3" geometry="primitive: box; width: 0.3; depth: 0.3; height: 3"
|
|
60
|
+
material="shader: flat; src: #wall; repeat: 1 5" position="0 0 0.15"></a-entity>
|
|
61
|
+
</a-entity>
|
|
62
|
+
<a-entity id="wall4" position="0 1.5 4.5">
|
|
63
|
+
<a-entity id="wall4-1" geometry="primitive: box; width: 7.3; depth: 0.3; height: 1"
|
|
64
|
+
material="shader: flat; src: #wall; repeat: 5 1" position="0 -1 0"></a-entity>
|
|
65
|
+
<a-entity id="wall4-2" geometry="primitive: box; width: 7.3; depth: 0.3; height: 0.3"
|
|
66
|
+
material="shader: flat; src: #wall; repeat: 5 1" position="0 1.35 0"></a-entity>
|
|
67
|
+
<a-entity id="wall4-3" geometry="primitive: box; width: 0.5; depth: 0.3; height: 1.7"
|
|
68
|
+
material="shader: flat; src: #wall; repeat: 1 3" position="0 0.35 0"></a-entity>
|
|
69
|
+
<a-entity id="wall4-4" geometry="primitive: box; width: 0.3; depth: 0.3; height: 1.7"
|
|
70
|
+
material="shader: flat; src: #wall; repeat: 1 3" position="-3.2 0.35 0"></a-entity>
|
|
71
|
+
<a-entity id="wall4-5" geometry="primitive: box; width: 0.6; depth: 0.3; height: 1.7"
|
|
72
|
+
material="shader: flat; src: #wall; repeat: 1 3" position="3.4 0.35 0"></a-entity>
|
|
73
|
+
<a-entity id="column4" geometry="primitive: box; width: 0.3; depth: 0.3; height: 3"
|
|
74
|
+
material="shader: flat; src: #wall; repeat: 1 5" position="0 0 -0.15"></a-entity>
|
|
75
|
+
</a-entity>
|
|
76
|
+
</a-entity>
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
<!-- Querier Components -->
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
<!-- Visualizer Components -->
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
<!-- Lights -->
|
|
86
|
+
<a-entity light="color: #fff ; type: ambient; intensity: 0.85"></a-entity>
|
|
87
|
+
|
|
88
|
+
<!-- Controls and Camera -->
|
|
89
|
+
<a-entity id="cameraRig" position="0 1.6 0">
|
|
90
|
+
<a-entity id="head" babia-camera="raycasterMouse: .babiaxraycasterclass;
|
|
91
|
+
raycasterHand: .babiaxraycasterclass; teleportCollision: #floorRoom"
|
|
92
|
+
look-controls wasd-controls="fly: false">
|
|
93
|
+
<a-entity></a-entity>
|
|
94
|
+
</a-entity>
|
|
95
|
+
</a-entity>
|
|
96
|
+
|
|
97
|
+
</a-scene>
|
|
98
|
+
<div class="gitlab-corner-wrapper"><a
|
|
99
|
+
href="https://gitlab.com/babiaxr/aframe-babia-components/-/blob/master/examples/"
|
|
100
|
+
class="gitlab-corner" aria-label="View source on GitLab"><svg id="logo_art" data-name="logo art"
|
|
101
|
+
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 586 559">
|
|
102
|
+
<g id="g44">
|
|
103
|
+
<path id="path46" class="cls-1"
|
|
104
|
+
d="M461.17,301.83l-18.91-58.12L404.84,128.43a6.47,6.47,0,0,0-12.27,0L355.15,243.64H230.82L193.4,128.43a6.46,6.46,0,0,0-12.26,0L143.78,243.64l-18.91,58.19a12.88,12.88,0,0,0,4.66,14.39L293,435,456.44,316.22a12.9,12.9,0,0,0,4.73-14.39" />
|
|
105
|
+
</g>
|
|
106
|
+
<g id="g48">
|
|
107
|
+
<path id="path50" class="cls-2"
|
|
108
|
+
d="M293,434.91h0l62.16-191.28H230.87L293,434.91Z" />
|
|
109
|
+
</g>
|
|
110
|
+
<g id="g56">
|
|
111
|
+
<path id="path58" class="cls-1" d="M293,434.91,230.82,243.63h-87L293,434.91Z" />
|
|
112
|
+
</g>
|
|
113
|
+
<g id="g64">
|
|
114
|
+
<path id="path66" class="cls-3"
|
|
115
|
+
d="M143.75,243.69h0l-18.91,58.12a12.88,12.88,0,0,0,4.66,14.39L293,435,143.75,243.69Z" />
|
|
116
|
+
</g>
|
|
117
|
+
<g id="g72">
|
|
118
|
+
<path id="path74" class="cls-2"
|
|
119
|
+
d="M143.78,243.69h87.11L193.4,128.49a6.47,6.47,0,0,0-12.27,0l-37.35,115.2Z" />
|
|
120
|
+
</g>
|
|
121
|
+
<g id="g76">
|
|
122
|
+
<path id="path78" class="cls-1"
|
|
123
|
+
d="M293,434.91l62.16-191.28H442.3L293,434.91Z" />
|
|
124
|
+
</g>
|
|
125
|
+
<g id="g80">
|
|
126
|
+
<path id="path82" class="cls-3"
|
|
127
|
+
d="M442.24,243.69h0l18.91,58.12a12.85,12.85,0,0,1-4.66,14.39L293,434.91l149.2-191.22Z" />
|
|
128
|
+
</g>
|
|
129
|
+
<g id="g84">
|
|
130
|
+
<path id="path86" class="cls-2"
|
|
131
|
+
d="M442.28,243.69h-87.1l37.42-115.2a6.46,6.46,0,0,1,12.26,0l37.42,115.2Z" />
|
|
132
|
+
</g>
|
|
133
|
+
</svg></a></div>
|
|
134
|
+
</body>
|
|
135
|
+
|
|
136
|
+
</html>
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
<a-entity id="cylsmap"
|
|
219
219
|
networked="template:#cylsmap-template; networkId:cylsmap; persistent: true; owner: scene"
|
|
220
220
|
babia-cylsmap='legend: true; palette: flat; heightMax: 100; radiusMax: 2; from: continentsdata; x_axis: country; z_axis: continentExp; height: deaths; radius: cases'
|
|
221
|
-
position="1 0.
|
|
221
|
+
position="-1 0.55 2.65" rotation="0 90 0" scale="0.21 0.07 0.21"></a-entity>
|
|
222
222
|
<a-entity babia-ui-link="viz: cylsmap" position="2 2.7 2" rotation="0 90 0" scale="0.5 0.5 0.5"></a-entity>
|
|
223
223
|
|
|
224
224
|
</a-entity>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"x_axis": "A",
|
|
4
|
+
"height": 25
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
"x_axis": "B",
|
|
8
|
+
"height": 15
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"x_axis": "D",
|
|
12
|
+
"height": 8
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"x_axis": "C",
|
|
16
|
+
"height": 17,
|
|
17
|
+
"_not": true
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"x_axis": "E",
|
|
21
|
+
"height": 4
|
|
22
|
+
}
|
|
23
|
+
]
|