1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-07 10:38:54 +08:00

Deploying to build from @ 6d512422cf 🚀

This commit is contained in:
lana-k
2021-04-30 16:43:29 +00:00
parent 7a47763510
commit 450c15f233
19 changed files with 244 additions and 1 deletions

BIN
Logo192x192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

BIN
Logo512x512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

1
css/app.4ade5f3f.css Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

BIN
dist.zip

Binary file not shown.

View File

@@ -1 +1,60 @@
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.png><title>sqliteviz</title><link href=css/app.344efa07.css rel=preload as=style><link href=css/chunk-vendors.38703705.css rel=preload as=style><link href=js/app.b7b295c5.js rel=preload as=script><link href=js/chunk-vendors.076ea943.js rel=preload as=script><link href=css/chunk-vendors.38703705.css rel=stylesheet><link href=css/app.344efa07.css rel=stylesheet></head><body><noscript><strong>We're sorry but sqliteviz doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.076ea943.js></script><script src=js/app.b7b295c5.js></script></body></html>
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.png><link rel=manifest href=manifest.webmanifest><title>sqliteviz</title><style>#loading-wrapper {
position: fixed;
width: 100%;
height: 100%;
left: 0;
top: 0;
background-color: white;
}
#loading-text {
display: block;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #506784;
font-family: sans-serif;
font-size: 20px;
}
.svg-container {
display: block;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.loader-svg {
position: absolute;
left: 0; right: 0; top: 0; bottom: 0;
fill: none;
stroke-width: 5px;
stroke-linecap: round;
stroke: #119DFF;
}
.loader-svg.bg {
stroke: #C8D4E3;
}
.loader-svg.front {
stroke-dasharray: 402px;
animation: loading 2s linear 0s infinite;
}
@keyframes loading {
0% {
stroke-dasharray: 100px 402px;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 251px;
stroke-dashoffset: -251px;
}
100% {
stroke-dasharray: 100px 402px;
stroke-dashoffset: -502px;
}
}</style><link href=js/chunk-60ca3258.d05ccfc9.js rel=prefetch><link href=css/app.4ade5f3f.css rel=preload as=style><link href=css/chunk-vendors.bee6f52f.css rel=preload as=style><link href=js/app.ddb7d9aa.js rel=preload as=script><link href=js/chunk-vendors.fe2238bd.js rel=preload as=script><link href=css/chunk-vendors.bee6f52f.css rel=stylesheet><link href=css/app.4ade5f3f.css rel=stylesheet></head><body><noscript><strong>We're sorry but sqliteviz doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app><div id=loading-wrapper><div id=loading-text>LOADING</div><svg class=svg-container height=170 width=170 viewBox="0 0 170 170"><circle class="loader-svg bg" cx=85 cy=85 r=80 /><circle class="loader-svg front" cx=85 cy=85 r=80 /></svg></div></div><script src=js/chunk-vendors.fe2238bd.js></script><script src=js/app.ddb7d9aa.js></script></body></html>

2
js/app.ddb7d9aa.js Normal file

File diff suppressed because one or more lines are too long

1
js/app.ddb7d9aa.js.map Normal file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-60ca3258"],{c973:function(e,n,r){function t(e,n,r,t,o,i,a){try{var c=e[i](a),s=c.value}catch(u){return void r(u)}c.done?n(s):Promise.resolve(s).then(t,o)}function o(e){return function(){var n=this,r=arguments;return new Promise((function(o,i){var a=e.apply(n,r);function c(e){t(a,o,i,c,s,"next",e)}function s(e){t(a,o,i,c,s,"throw",e)}c(void 0)}))}}r("d3b7"),e.exports=o,e.exports["default"]=e.exports,e.exports.__esModule=!0},fc00:function(e,n,r){var t=r("c973");r("96cf");var o=!1;function i(e){var n=confirm("New version of the app is available. Refresh now?");n&&e.waiting&&(o=!0,e.waiting.postMessage({type:"SKIP_WAITING"}))}"serviceWorker"in navigator&&window.addEventListener("load",t(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,navigator.serviceWorker.register("/service-worker.js");case 2:n=e.sent,n.waiting&&i(n),n.addEventListener("updatefound",(function(){var e=n.installing;e&&e.addEventListener("statechange",(function(){n.waiting&&navigator.serviceWorker.controller&&i(n)}))})),navigator.serviceWorker.addEventListener("controllerchange",(function(){o&&(window.location.reload(),o=!1)}));case 6:case"end":return e.stop()}}),e)}))))}}]);
//# sourceMappingURL=chunk-60ca3258.d05ccfc9.js.map

View File

@@ -0,0 +1 @@
{"version":3,"sources":["webpack:///./node_modules/@babel/runtime/helpers/asyncToGenerator.js","webpack:///./registerServiceWorker.js"],"names":["asyncGeneratorStep","gen","resolve","reject","_next","_throw","key","arg","info","value","error","done","Promise","then","_asyncToGenerator","fn","self","this","args","arguments","apply","err","undefined","module","exports","__esModule","refresh","invokeServiceWorkerUpdateFlow","registration","agree","confirm","waiting","postMessage","type","navigator","window","addEventListener","serviceWorker","register","newRegestration","installing","controller","location","reload"],"mappings":"mGAAA,SAASA,EAAmBC,EAAKC,EAASC,EAAQC,EAAOC,EAAQC,EAAKC,GACpE,IACE,IAAIC,EAAOP,EAAIK,GAAKC,GAChBE,EAAQD,EAAKC,MACjB,MAAOC,GAEP,YADAP,EAAOO,GAILF,EAAKG,KACPT,EAAQO,GAERG,QAAQV,QAAQO,GAAOI,KAAKT,EAAOC,GAIvC,SAASS,EAAkBC,GACzB,OAAO,WACL,IAAIC,EAAOC,KACPC,EAAOC,UACX,OAAO,IAAIP,SAAQ,SAAUV,EAASC,GACpC,IAAIF,EAAMc,EAAGK,MAAMJ,EAAME,GAEzB,SAASd,EAAMK,GACbT,EAAmBC,EAAKC,EAASC,EAAQC,EAAOC,EAAQ,OAAQI,GAGlE,SAASJ,EAAOgB,GACdrB,EAAmBC,EAAKC,EAASC,EAAQC,EAAOC,EAAQ,QAASgB,GAGnEjB,OAAMkB,O,UAKZC,EAAOC,QAAUV,EACjBS,EAAOC,QAAQ,WAAaD,EAAOC,QAASD,EAAOC,QAAQC,YAAa,G,+CCrCxE,IAAIC,GAAU,EAEd,SAASC,EAA+BC,GACtC,IAAMC,EAAQC,QAAQ,qDAClBD,GACED,EAAaG,UAEfL,GAAU,EACVE,EAAaG,QAAQC,YAAY,CAAEC,KAAM,kBAK3C,kBAAmBC,WACrBC,OAAOC,iBAAiB,OAAxB,2BAAgC,oHACHF,UAAUG,cAAcC,SAAS,sBAD9B,OACxBV,EADwB,OAI1BA,EAAaG,SACfJ,EAA8BC,GAIhCA,EAAaQ,iBAAiB,eAAe,WAC3C,IAAMG,EAAkBX,EAAaY,WACjCD,GAEFA,EAAgBH,iBAAiB,eAAe,WAC1CR,EAAaG,SAAWG,UAAUG,cAAcI,YAClDd,EAA8BC,SAOtCM,UAAUG,cAAcD,iBAAiB,oBAAoB,WACvDV,IACFS,OAAOO,SAASC,SAChBjB,GAAU,MAzBgB","file":"js/chunk-60ca3258.d05ccfc9.js","sourcesContent":["function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\n\nfunction _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n\n _next(undefined);\n });\n };\n}\n\nmodule.exports = _asyncToGenerator;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","let refresh = false\n\nfunction invokeServiceWorkerUpdateFlow (registration) {\n const agree = confirm('New version of the app is available. Refresh now?')\n if (agree) {\n if (registration.waiting) {\n // let waiting Service Worker know it should became active\n refresh = true\n registration.waiting.postMessage({ type: 'SKIP_WAITING' })\n }\n }\n}\n\nif ('serviceWorker' in navigator) {\n window.addEventListener('load', async () => {\n const registration = await navigator.serviceWorker.register('/service-worker.js')\n // ensure the case when the updatefound event was missed is also handled\n // by re-invoking the prompt when there's a waiting Service Worker\n if (registration.waiting) {\n invokeServiceWorkerUpdateFlow(registration)\n }\n\n // detect Service Worker update available and wait for it to become installed\n registration.addEventListener('updatefound', () => {\n const newRegestration = registration.installing\n if (newRegestration) {\n // wait until the new Service worker is actually installed (ready to take over)\n newRegestration.addEventListener('statechange', () => {\n if (registration.waiting && navigator.serviceWorker.controller) {\n invokeServiceWorkerUpdateFlow(registration)\n }\n })\n }\n })\n\n // detect controller change and refresh the page\n navigator.serviceWorker.addEventListener('controllerchange', () => {\n if (refresh) {\n window.location.reload()\n refresh = false\n }\n })\n })\n}\n"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

20
manifest.webmanifest Normal file
View File

@@ -0,0 +1,20 @@
{
"background_color": "white",
"description": "Sqliteviz is a single-page application for fully client-side visualisation of SQLite databases or CSV.",
"display": "fullscreen",
"icons": [
{
"src": "Logo192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "Logo512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"name": "sqliteviz",
"short_name": "sqliteviz",
"start_url": "index.html"
}

2
service-worker.js Normal file
View File

@@ -0,0 +1,2 @@
if(!self.define){const e=e=>{"require"!==e&&(e+=".js");let s=Promise.resolve();return r[e]||(s=new Promise((async s=>{if("document"in self){const r=document.createElement("script");r.src=e,document.head.appendChild(r),r.onload=s}else importScripts(e),s()}))),s.then((()=>{if(!r[e])throw new Error(`Module ${e} didnt register its module`);return r[e]}))},s=(s,r)=>{Promise.all(s.map(e)).then((e=>r(1===e.length?e[0]:e)))},r={require:Promise.resolve(s)};self.define=(s,n,i)=>{r[s]||(r[s]=Promise.resolve().then((()=>{let r={};const o={uri:location.origin+s.slice(1)};return Promise.all(n.map((s=>{switch(s){case"exports":return r;case"module":return o;default:return e(s)}}))).then((e=>{const s=i(...e);return r.default||(r.default=s),r}))})))}}define("./service-worker.js",["./workbox-15dd0bab"],(function(e){"use strict";self.addEventListener("message",(e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()})),e.clientsClaim(),e.precacheAndRoute([{url:"Logo192x192.png",revision:"f49e4bd1037174ec8cf8759e968e49f0"},{url:"Logo512x512.png",revision:"b9dfaaf21e349459239f746243f4f50d"},{url:"css/app.4ade5f3f.css",revision:null},{url:"css/chunk-vendors.bee6f52f.css",revision:null},{url:"favicon.png",revision:"34b1a8374a2b151ccf99b40feec4a16d"},{url:"fonts/OpenSans-Bold.21b37d1a.woff2",revision:"21b37d1abf90816560781f286c7dfa90"},{url:"fonts/OpenSans-BoldItalic.95149f80.woff2",revision:"95149f80a181cfb7c63078e3f44134cb"},{url:"fonts/OpenSans-Italic.ee451d9a.woff2",revision:"ee451d9aa59d5cf65407f17971d12090"},{url:"fonts/OpenSans-Regular.8abbb9d9.woff2",revision:"8abbb9d98c0c7304060190592408ab78"},{url:"fonts/OpenSans-SemiBold.2595cae6.woff2",revision:"2595cae6483bb50cbeb0cb40e3292231"},{url:"fonts/OpenSans-SemiBoldItalic.40ca9121.woff2",revision:"40ca91217266fa60c6e81c539a059190"},{url:"img/file.f5540c43.png",revision:"f5540c433396049050945be85ee9c4b1"},{url:"index.html",revision:"d57622139e3b7a6ba5d0fc6130612ef7"},{url:"js/app.ddb7d9aa.js",revision:null},{url:"js/chunk-60ca3258.d05ccfc9.js",revision:null},{url:"js/chunk-vendors.fe2238bd.js",revision:null},{url:"js/db.worker.56787e4a.worker.js",revision:null},{url:"js/sql-wasm.wasm",revision:"867016e4a77ae35dc11f37e333b95caa"},{url:"manifest.webmanifest",revision:"a0e46d3acab4d737950311a9e6871ce7"}],{})}));
//# sourceMappingURL=service-worker.js.map

1
service-worker.js.map Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"service-worker.js","sources":["../../../../../tmp/a3175bf8933362cf20e7bf4292a42078/service-worker.js"],"sourcesContent":["import {clientsClaim as workbox_core_clientsClaim} from '/home/runner/work/sqliteviz/sqliteviz/node_modules/workbox-core/clientsClaim.mjs';\nimport {precacheAndRoute as workbox_precaching_precacheAndRoute} from '/home/runner/work/sqliteviz/sqliteviz/node_modules/workbox-precaching/precacheAndRoute.mjs';/**\n * Welcome to your Workbox-powered service worker!\n *\n * You'll need to register this file in your web app.\n * See https://goo.gl/nhQhGp\n *\n * The rest of the code is auto-generated. Please don't update this file\n * directly; instead, make changes to your Workbox build configuration\n * and re-run your build process.\n * See https://goo.gl/2aRDsh\n */\n\n\n\n\n\n\n\n\nself.addEventListener('message', (event) => {\n if (event.data && event.data.type === 'SKIP_WAITING') {\n self.skipWaiting();\n }\n});\n\nworkbox_core_clientsClaim();\n\n\n/**\n * The precacheAndRoute() method efficiently caches and responds to\n * requests for URLs in the manifest.\n * See https://goo.gl/S9QRab\n */\nworkbox_precaching_precacheAndRoute([\n {\n \"url\": \"Logo192x192.png\",\n \"revision\": \"f49e4bd1037174ec8cf8759e968e49f0\"\n },\n {\n \"url\": \"Logo512x512.png\",\n \"revision\": \"b9dfaaf21e349459239f746243f4f50d\"\n },\n {\n \"url\": \"css/app.4ade5f3f.css\",\n \"revision\": null\n },\n {\n \"url\": \"css/chunk-vendors.bee6f52f.css\",\n \"revision\": null\n },\n {\n \"url\": \"favicon.png\",\n \"revision\": \"34b1a8374a2b151ccf99b40feec4a16d\"\n },\n {\n \"url\": \"fonts/OpenSans-Bold.21b37d1a.woff2\",\n \"revision\": \"21b37d1abf90816560781f286c7dfa90\"\n },\n {\n \"url\": \"fonts/OpenSans-BoldItalic.95149f80.woff2\",\n \"revision\": \"95149f80a181cfb7c63078e3f44134cb\"\n },\n {\n \"url\": \"fonts/OpenSans-Italic.ee451d9a.woff2\",\n \"revision\": \"ee451d9aa59d5cf65407f17971d12090\"\n },\n {\n \"url\": \"fonts/OpenSans-Regular.8abbb9d9.woff2\",\n \"revision\": \"8abbb9d98c0c7304060190592408ab78\"\n },\n {\n \"url\": \"fonts/OpenSans-SemiBold.2595cae6.woff2\",\n \"revision\": \"2595cae6483bb50cbeb0cb40e3292231\"\n },\n {\n \"url\": \"fonts/OpenSans-SemiBoldItalic.40ca9121.woff2\",\n \"revision\": \"40ca91217266fa60c6e81c539a059190\"\n },\n {\n \"url\": \"img/file.f5540c43.png\",\n \"revision\": \"f5540c433396049050945be85ee9c4b1\"\n },\n {\n \"url\": \"index.html\",\n \"revision\": \"d57622139e3b7a6ba5d0fc6130612ef7\"\n },\n {\n \"url\": \"js/app.ddb7d9aa.js\",\n \"revision\": null\n },\n {\n \"url\": \"js/chunk-60ca3258.d05ccfc9.js\",\n \"revision\": null\n },\n {\n \"url\": \"js/chunk-vendors.fe2238bd.js\",\n \"revision\": null\n },\n {\n \"url\": \"js/db.worker.56787e4a.worker.js\",\n \"revision\": null\n },\n {\n \"url\": \"js/sql-wasm.wasm\",\n \"revision\": \"867016e4a77ae35dc11f37e333b95caa\"\n },\n {\n \"url\": \"manifest.webmanifest\",\n \"revision\": \"a0e46d3acab4d737950311a9e6871ce7\"\n }\n], {});\n\n\n\n\n\n\n\n\n"],"names":["self","addEventListener","event","data","type","skipWaiting"],"mappings":"szBAoBAA,KAAKC,iBAAiB,WAAYC,IAC5BA,EAAMC,MAA4B,iBAApBD,EAAMC,KAAKC,MAC3BJ,KAAKK,qDAY2B,CAClC,KACS,2BACK,oCAEd,KACS,2BACK,oCAEd,KACS,gCACK,MAEd,KACS,0CACK,MAEd,KACS,uBACK,oCAEd,KACS,8CACK,oCAEd,KACS,oDACK,oCAEd,KACS,gDACK,oCAEd,KACS,iDACK,oCAEd,KACS,kDACK,oCAEd,KACS,wDACK,oCAEd,KACS,iCACK,oCAEd,KACS,sBACK,oCAEd,KACS,8BACK,MAEd,KACS,yCACK,MAEd,KACS,wCACK,MAEd,KACS,2CACK,MAEd,KACS,4BACK,oCAEd,KACS,gCACK,qCAEb"}

2
workbox-15dd0bab.js Normal file

File diff suppressed because one or more lines are too long

1
workbox-15dd0bab.js.map Normal file

File diff suppressed because one or more lines are too long