distr added to versions

This commit is contained in:
Bogdan Pilyugin 2023-08-01 16:01:52 +02:00
parent 693d094eb5
commit af2dcea68f
28 changed files with 4566 additions and 4491 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
/build/
/WEBGUI

1542
.project

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1 @@
import{_ as t,W as o,X as s,a7 as a,a6 as e,$ as n,a5 as r}from"./index.f4a88b7f.js";const c=o({name:"ErrorNotFound"}),l={class:"fullscreen bg-blue text-white text-center q-pa-md flex flex-center"},d=e("div",{style:{"font-size":"30vh"}}," 404 ",-1),i=e("div",{class:"text-h2",style:{opacity:".4"}}," Oops. Nothing here... ",-1);function _(p,f,u,h,x,m){return s(),a("div",l,[e("div",null,[d,i,n(r,{class:"q-mt-xl",color:"white","text-color":"blue",unelevated:"",to:"/",label:"Go Home","no-caps":""})])])}var N=t(c,[["render",_]]);export{N as default};

View File

@ -0,0 +1 @@
import{Q as a}from"./QPage.2c9c9163.js";import{_ as t,W as s,X as n,Y as o,Z as r,a6 as e}from"./index.f4a88b7f.js";const c=s({name:"IndexPage1"}),p=e("h1",null,[e("p",null,"First page")],-1);function _(f,l,d,i,x,m){return n(),o(a,{class:"flex flex-center"},{default:r(()=>[p]),_:1})}var h=t(c,[["render",_]]);export{h as default};

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
.my-card[data-v-fae0f672]{width:480px}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
import{c as b,D as q,F as k,a as l,h as c,d as Q,g,ab as R,ac as S,r as m,ad as $,B as w,p as A}from"./index.f4a88b7f.js";var I=b({name:"QList",props:{...q,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},setup(e,{slots:i}){const r=g(),u=k(e,r.proxy.$q),o=l(()=>"q-list"+(e.bordered===!0?" q-list--bordered":"")+(e.dense===!0?" q-list--dense":"")+(e.separator===!0?" q-list--separator":"")+(u.value===!0?" q-list--dark":"")+(e.padding===!0?" q-list--padding":""));return()=>c(e.tag,{class:o.value},Q(i.default))}}),P=b({name:"QItem",props:{...q,...R,tag:{type:String,default:"div"},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(e,{slots:i,emit:r}){const{proxy:{$q:u}}=g(),o=k(e,u),{hasLink:d,linkAttrs:y,linkClass:h,linkTag:B,navigateOnClick:C}=S(),n=m(null),s=m(null),v=l(()=>e.clickable===!0||d.value===!0||e.tag==="label"),a=l(()=>e.disable!==!0&&v.value===!0),L=l(()=>"q-item q-item-type row no-wrap"+(e.dense===!0?" q-item--dense":"")+(o.value===!0?" q-item--dark":"")+(d.value===!0&&e.active===null?h.value:e.active===!0?` q-item--active${e.activeClass!==void 0?` ${e.activeClass}`:""}`:"")+(e.disable===!0?" disabled":"")+(a.value===!0?" q-item--clickable q-link cursor-pointer "+(e.manualFocus===!0?"q-manual-focusable":"q-focusable q-hoverable")+(e.focused===!0?" q-manual-focusable--focused":""):"")),x=l(()=>{if(e.insetLevel===void 0)return null;const t=u.lang.rtl===!0?"Right":"Left";return{["padding"+t]:16+e.insetLevel*56+"px"}});function E(t){a.value===!0&&(s.value!==null&&(t.qKeyEvent!==!0&&document.activeElement===n.value?s.value.focus():document.activeElement===s.value&&n.value.focus()),C(t))}function D(t){if(a.value===!0&&$(t,13)===!0){w(t),t.qKeyEvent=!0;const f=new MouseEvent("click",t);f.qKeyEvent=!0,n.value.dispatchEvent(f)}r("keyup",t)}function K(){const t=A(i.default,[]);return a.value===!0&&t.unshift(c("div",{class:"q-focus-helper",tabindex:-1,ref:s})),t}return()=>{const t={ref:n,class:L.value,style:x.value,role:"listitem",onClick:E,onKeyup:D};return a.value===!0?(t.tabindex=e.tabindex||"0",Object.assign(t,y.value)):v.value===!0&&(t["aria-disabled"]="true"),c(B.value,t,K())}}});export{P as Q,I as a};

View File

@ -0,0 +1 @@
import{c as g,j as r,k as t,m as h,N as p,a as s,h as d,d as y,g as f}from"./index.f4a88b7f.js";var C=g({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(a,{slots:i}){const{proxy:{$q:o}}=f(),e=r(h,t);if(e===t)return console.error("QPage needs to be a deep child of QLayout"),t;if(r(p,t)===t)return console.error("QPage needs to be child of QPageContainer"),t;const c=s(()=>{const n=(e.header.space===!0?e.header.size:0)+(e.footer.space===!0?e.footer.size:0);if(typeof a.styleFn=="function"){const l=e.isContainer.value===!0?e.containerHeight.value:o.screen.height;return a.styleFn(n,l)}return{minHeight:e.isContainer.value===!0?e.containerHeight.value-n+"px":o.screen.height===0?n!==0?`calc(100vh - ${n}px)`:"100vh":o.screen.height-n+"px"}}),u=s(()=>`q-page${a.padding===!0?" q-layout-padding":""}`);return()=>d("main",{class:u.value,style:c.value},y(i.default))}});export{C as Q};

Binary file not shown.

Binary file not shown.

Binary file not shown.

24
WEBUI/espfs.paths Normal file
View File

@ -0,0 +1,24 @@
assets
assets/ErrorNotFound.945dd912.js
assets/IndexPage1.fbedabee.js
assets/IndexPage2.afc166ab.js
assets/IndexPage3.542d34ac.js
assets/IndexPage3.8156c5f3.css
assets/KFOkCnqEu92Fr1MmgVxIIzQ.34e9582c.woff
assets/KFOlCnqEu92Fr1MmEU9fBBc-.9ce7f3ac.woff
assets/KFOlCnqEu92Fr1MmSU5fBBc-.bf14c7d7.woff
assets/KFOlCnqEu92Fr1MmWUlfBBc-.e0fd57c0.woff
assets/KFOlCnqEu92Fr1MmYUtfBBc-.f6537e32.woff
assets/KFOmCnqEu92Fr1Mu4mxM.f2abf7fb.woff
assets/MainLayout.43d7dfc6.js
assets/QItem.19ef06cf.js
assets/QPage.2c9c9163.js
assets/axios.97234907.js
assets/flUhRq6tzZclQEJ-Vdg-IuiaDsNa.fd84f88b.woff
assets/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.4a4dbc62.woff2
assets/index.e110aa66.css
assets/index.f4a88b7f.js
favicon.ico
index.html
sysapi
test.txt

BIN
WEBUI/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

3
WEBUI/index.html Normal file
View File

@ -0,0 +1,3 @@
<!DOCTYPE html><html><head><title>ESP32 web interface</title><meta charset=utf-8><meta name=description content="Web interface for ESP32 devices"><meta name=format-detection content="telephone=no"><meta name=msapplication-tap-highlight content=no><meta name=viewport content="user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1,width=device-width"><link rel=icon type=image/ico href="/favicon.ico"> <script type="module" crossorigin src="/assets/index.f4a88b7f.js"></script>
<link rel="stylesheet" href="/assets/index.e110aa66.css">
</head><body><div id=q-app></div></body></html>

43
WEBUI/test.txt Normal file
View File

@ -0,0 +1,43 @@
{
"data": {
"msgid": 1690805819,
"time": "2023-07-31T12:17:00+00:00",
"messtype": 3,
"payloadtype": 1,
"payload": {
"variables": [
{
"name": "netname",
"val": "DEVICE_HOSTNAME"
},
{
"name": "otaurl",
"val": "https://iotronic.cloud/firmware/firmware.bin"
},
{
"name": "time",
"val": 1690805820
},
{
"name": "wifi-sta-ip",
"val": "192.168.99.86"
},
{
"name": "wifi-ap-ip",
"val": "192.168.150.1"
},
{
"name": "wifi-sta-mask",
"val": "255.255.255.0"
},
{
"name": "wifi-sta-gw",
"val": "192.168.99.1"
}
]
},
"error": "SYS_OK_DATA",
"error_descr": "Result successful, data attached"
},
"signature": "BBC236A7F4991E18E23BE6F6C15D712E3D204D9584A76D85F77AD9EFE3A6DCCA"
}

@ -1 +1 @@
Subproject commit e689f4a2e197a3167ef70e098f8ee26e83164ad0
Subproject commit 7f59cd090466a0ecdf204f9fb917582c9f4a8675

3718
sdkconfig

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff