UNPKG

zwave-js-ui

Version:

Z-Wave Control Panel and MQTT Gateway

2 lines (1 loc) 1.77 kB
import{_ as g,l as y,w as e,V as i,o as V,b as t,f as l,N as m,ah as c,h as d,i as f,k as s,as as h,t as u,ai as b,O as q,e as p,U as o,au as x}from"./index-B9yS4Bcc.js";const k={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,r,$,N,a,T){return V(),y(i,{fluid:"","fill-height":""},{default:e(()=>[t(p,{align:"center",justify:"center"},{default:e(()=>[t(l,{cols:"12",sm:"8",md:"4"},{default:e(()=>[t(m,{class:"elevation-12"},{default:e(()=>[t(c,{color:"primary"},{default:e(()=>[t(d,{icon:"",onClick:r[0]||(r[0]=_=>n.$router.go(-2))},{default:e(()=>[t(f,null,{default:e(()=>r[2]||(r[2]=[s("arrow_back")])),_:1,__:[2]})]),_:1}),t(h,null,{default:e(()=>[s(u(a.query.code+" - "+a.query.message),1)]),_:1}),t(b),t(d,{icon:"",onClick:r[1]||(r[1]=_=>n.$router.push("/"))},{default:e(()=>[t(f,null,{default:e(()=>r[3]||(r[3]=[s("home")])),_:1,__:[3]})]),_:1})]),_:1}),t(q,null,{default:e(()=>[t(i,{"fill-height":"","text-xs-center":""},{default:e(()=>[t(p,{justify:"center"},{default:e(()=>[t(l,null,{default:e(()=>[o("strong",w,[r[4]||(r[4]=s(" Error while requesting resource at ")),o("code",null,u(a.query.path),1)])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),t(x,{absolute:"",class:"pa-3"},{default:e(()=>[t(l,{class:"d-flex pa-0 justify-center py-3 text-caption"},{default:e(()=>[s(" ©"+u(new Date().getFullYear())+" — ",1),r[5]||(r[5]=o("strong",{class:"ml-1 mr-2"},[o("a",{target:"_blank",href:"https://github.com/sponsors/robertsLando"},"Daniel Lando")],-1)),r[6]||(r[6]=s(" All Rights Reserved. "))]),_:1,__:[5,6]})]),_:1})]),_:1})}const v=g(k,[["render",C]]);export{v as default};