UNPKG

zwave-js-ui

Version:

Z-Wave Control Panel and MQTT Gateway

2 lines (1 loc) 1.82 kB
import{_ as y,e as V,w as e,b as t,f as l,F as b,ah as m,i,l as d,k as r,as as c,t as u,ai as _,G as h,u as f,V as p,H as o,av as k,z as q}from"./index-DwzE-W2i.js";const x={data(){return{query:{code:404,message:"Not Found",path:"/error"}}},methods:{},beforeMount(){this.query=Object.keys(this.$route.query).length>0?this.$route.query:this.query}},w={class:"text-h5 font-weight-bold"};function C(n,a,$,v,s,T){return q(),V(f,{fluid:"","fill-height":""},{default:e(()=>[t(p,{align:"center",justify:"center"},{default:e(()=>[t(l,{cols:"12",sm:"8",md:"4"},{default:e(()=>[t(b,{class:"elevation-12"},{default:e(()=>[t(m,{color:"primary"},{default:e(()=>[t(i,{icon:"","aria-label":"Go back",onClick:a[0]||(a[0]=g=>n.$router.go(-2))},{default:e(()=>[t(d,null,{default:e(()=>[...a[2]||(a[2]=[r("arrow_back",-1)])]),_:1})]),_:1}),t(c,null,{default:e(()=>[r(u(s.query.code+" - "+s.query.message),1)]),_:1}),t(_),t(i,{icon:"","aria-label":"Go to home",onClick:a[1]||(a[1]=g=>n.$router.push("/"))},{default:e(()=>[t(d,null,{default:e(()=>[...a[3]||(a[3]=[r("home",-1)])]),_:1})]),_:1})]),_:1}),t(h,null,{default:e(()=>[t(f,{"fill-height":"","text-xs-center":""},{default:e(()=>[t(p,{justify:"center"},{default:e(()=>[t(l,null,{default:e(()=>[o("strong",w,[a[4]||(a[4]=r(" Error while requesting resource at ",-1)),o("code",null,u(s.query.path),1)])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),t(k,{absolute:"",class:"pa-3"},{default:e(()=>[t(l,{class:"d-flex pa-0 justify-center py-3 text-caption"},{default:e(()=>[r(" ©"+u(new Date().getFullYear())+" — ",1),a[5]||(a[5]=o("strong",{class:"ml-1 mr-2"},[o("a",{target:"_blank",href:"https://github.com/sponsors/robertsLando"},"Daniel Lando")],-1)),a[6]||(a[6]=r(" All Rights Reserved. ",-1))]),_:1})]),_:1})]),_:1})}const B=y(x,[["render",C]]);export{B as default};