Skip to content

Commit

Permalink
Merge pull request #772 from ioBroker/vite
Browse files Browse the repository at this point in the history
Vite
  • Loading branch information
GermanBluefox authored Jan 5, 2025
2 parents 36a14f1 + 8720708 commit a8f51e7
Show file tree
Hide file tree
Showing 253 changed files with 34,479 additions and 38,690 deletions.
330 changes: 208 additions & 122 deletions README.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions admin/assets/index-D5BB0j0i.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

823 changes: 823 additions & 0 deletions admin/assets/index-DDrMdFmh.js

Large diffs are not rendered by default.

13 changes: 0 additions & 13 deletions admin/chart/asset-manifest.json

This file was deleted.

1 change: 1 addition & 0 deletions admin/chart/assets/index-VI9R7d-i.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

609 changes: 609 additions & 0 deletions admin/chart/assets/index-eg0Cycky.js

Large diffs are not rendered by default.

56 changes: 55 additions & 1 deletion admin/chart/index.html
Original file line number Diff line number Diff line change
@@ -1 +1,55 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="./manifest.json"/><script type="text/javascript" src="./../../lib/js/socket.io.js"></script><title>Echarts [ioBroker]</title><script defer="defer" src="./static/js/main.ed19517a.js"></script><link href="./static/css/main.e631bfb5.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link
rel="shortcut icon"
href="favicon.ico"
/>
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<meta
name="theme-color"
content="#000000"
/>
<link
rel="manifest"
href="manifest.json"
/>
<script>
var script = document.createElement('script');
window.registerSocketOnLoad = function (cb) {
window.socketLoadedHandler = cb;
};
const parts = (window.location.search || '').replace(/^\?/, '').split('&');
const query = {};
parts.forEach(item => {
const [name, val] = item.split('=');
query[decodeURIComponent(name)] = val !== undefined ? decodeURIComponent(val) : true;
});
script.onload = function () {
typeof window.socketLoadedHandler === 'function' && window.socketLoadedHandler();
};
script.src =
parseInt(window.location.port) >= 3000 && parseInt(window.location.port) <= 3020
? window.location.protocol +
'//' +
(query.host || window.location.hostname) +
':' +
(query.port || 8081) +
'/lib/js/socket.io.js'
: '../../lib/js/socket.io.js';

document.head.appendChild(script);
</script>
<title>Echarts [ioBroker]</title>
<script type="module" crossorigin src="./assets/index-eg0Cycky.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-VI9R7d-i.css">
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
</html>
2 changes: 0 additions & 2 deletions admin/chart/static/css/main.e631bfb5.css

This file was deleted.

1 change: 0 additions & 1 deletion admin/chart/static/css/main.e631bfb5.css.map

This file was deleted.

3 changes: 0 additions & 3 deletions admin/chart/static/js/main.ed19517a.js

This file was deleted.

118 changes: 0 additions & 118 deletions admin/chart/static/js/main.ed19517a.js.LICENSE.txt

This file was deleted.

1 change: 0 additions & 1 deletion admin/chart/static/js/main.ed19517a.js.map

This file was deleted.

Binary file added admin/favicon.ico
Binary file not shown.
15 changes: 15 additions & 0 deletions admin/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
2 changes: 0 additions & 2 deletions admin/static/css/main.f21b47ed.css

This file was deleted.

1 change: 0 additions & 1 deletion admin/static/css/main.f21b47ed.css.map

This file was deleted.

185 changes: 0 additions & 185 deletions admin/static/js/main.590a772c.js

This file was deleted.

116 changes: 0 additions & 116 deletions admin/static/js/main.590a772c.js.LICENSE.txt

This file was deleted.

1 change: 0 additions & 1 deletion admin/static/js/main.590a772c.js.map

This file was deleted.

Loading

0 comments on commit a8f51e7

Please sign in to comment.