@bugsbunnycodes1998/cartographer 0.1.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/dist/commands/analyze.d.ts +3 -0
- package/dist/commands/analyze.d.ts.map +1 -0
- package/dist/commands/analyze.js +69 -0
- package/dist/commands/analyze.js.map +1 -0
- package/dist/commands/live.d.ts +3 -0
- package/dist/commands/live.d.ts.map +1 -0
- package/dist/commands/live.js +104 -0
- package/dist/commands/live.js.map +1 -0
- package/dist/commands/serve.d.ts +8 -0
- package/dist/commands/serve.d.ts.map +1 -0
- package/dist/commands/serve.js +156 -0
- package/dist/commands/serve.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +27 -0
- package/dist/index.js.map +1 -0
- package/dist/utils/progress.d.ts +11 -0
- package/dist/utils/progress.d.ts.map +1 -0
- package/dist/utils/progress.js +33 -0
- package/dist/utils/progress.js.map +1 -0
- package/package.json +33 -0
- package/static/assets/index-CMl_P5PZ.css +1 -0
- package/static/assets/index-MTqoJhYS.js +4798 -0
- package/static/assets/websocket-CTmhT_5q.js +1 -0
- package/static/index.html +24 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function a(s,t){let n=!1,e=null,c=null;function l(){if(n)return;const r=window.location.protocol==="https:"?"wss:":"ws:";e=new WebSocket(`${r}//${window.location.host}/ws`),e.onmessage=i=>{try{const o=JSON.parse(i.data);o.type==="graph"&&o.data?s(o.data):o.type==="status"&&o.message!==void 0&&(t==null||t(o.message))}catch{}},e.onclose=()=>{n||(c=setTimeout(l,2e3))},e.onerror=()=>{}}return l(),()=>{n=!0,c&&clearTimeout(c),e&&(e.onclose=null,e.onerror=null,e.close())}}export{a as connectLiveSocket};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<title>Cartographer</title>
|
|
7
|
+
<style>
|
|
8
|
+
html, body, #root {
|
|
9
|
+
margin: 0;
|
|
10
|
+
padding: 0;
|
|
11
|
+
width: 100%;
|
|
12
|
+
height: 100%;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
background: #0a0a1a;
|
|
15
|
+
}
|
|
16
|
+
</style>
|
|
17
|
+
<script type="module" crossorigin src="/assets/index-MTqoJhYS.js"></script>
|
|
18
|
+
<link rel="stylesheet" crossorigin href="/assets/index-CMl_P5PZ.css">
|
|
19
|
+
</head>
|
|
20
|
+
<body>
|
|
21
|
+
<div id="root"></div>
|
|
22
|
+
<noscript>Cartographer requires JavaScript to render the 3D city view.</noscript>
|
|
23
|
+
</body>
|
|
24
|
+
</html>
|