dreamworks/dist/js/app.449a3bad.js
2023-09-05 10:31:00 +08:00

2 lines
9.8 KiB
JavaScript

(function(){var e={5368:function(e,t,n){"use strict";var r=n(9242),o=n(3396),i=n(7718),a=n(3140);function u(e,t,n,r,u,c){const l=(0,o.up)("router-view");return(0,o.wg)(),(0,o.j4)(i.q,null,{default:(0,o.w5)((()=>[(0,o.Wm)(a.O,null,{default:(0,o.w5)((()=>[(0,o.Wm)(l)])),_:1})])),_:1})}var c={name:"App",data:()=>({})},l=n(89);const f=(0,l.Z)(c,[["render",u]]);var d=f,p=n(3688),s=n(5842),m=n(3504),h=(n(9773),n(8957)),v=(0,h.Rd)({icons:{defaultSet:"mdi",aliases:m.j,sets:{mdi:m.t}}});async function g(){const e=await n.e(461).then(n.t.bind(n,3657,23));e.load({google:{families:["Roboto:100,300,400,500,700,900&display=swap"]}})}g(),(0,r.ri)(d).use(p.Z).use(s.Z).use(v).mount("#app")},3688:function(e,t,n){"use strict";n.d(t,{Z:function(){return E},C:function(){return C}});var r=n(2483),o=n(3396),i=n(7718),a=n(870),u=n(4075),c=n(1666),l=n(3369),f=n(2329),d=n(8777),p=n(3140),s=n(9657);function m(e,t,n,r,m,h){const v=(0,o.up)("navigation"),g=(0,o.up)("router-view");return(0,o.wg)(),(0,o.j4)(i.q,null,{default:(0,o.w5)((()=>[(0,o.Wm)(s.V,{"expand-on-hover":"",rail:"","rail-width":"65",class:"bg-deep-purple",theme:"dark",permanent:""},{append:(0,o.w5)((()=>[(0,o.Wm)(f.i,{density:"compact",nav:""},{default:(0,o.w5)((()=>[(0,o.Wm)(d.l,{"prepend-icon":"mdi-home-city",title:"登出",value:"home"})])),_:1})])),default:(0,o.w5)((()=>[(0,o.Wm)(d.l,{"prepend-avatar":"https://randomuser.me/api/portraits/men/85.jpg",title:e.appname},{append:(0,o.w5)((()=>[(0,o.Wm)(a.T,{variant:"text",icon:"mdi-chevron-left"})])),_:1},8,["title"]),(0,o.Wm)(u.J),(0,o.Wm)(v,{routes:e.routes},null,8,["routes"])])),_:1}),(0,o.Wm)(p.O,null,{default:(0,o.w5)((()=>[(0,o.Wm)(l.K,{fluid:""},{default:(0,o.w5)((()=>[(0,o.Wm)(g)])),_:1})])),_:1}),(0,o.Wm)(c.c,{app:""})])),_:1})}function h(e,t,n,r,i,a){return(0,o.wg)(),(0,o.j4)(f.i,{density:"compact",nav:""},{default:(0,o.w5)((()=>[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(n.routes,((e,t)=>((0,o.wg)(),(0,o.iD)(o.HY,null,[e.children&&e.children.length>1?((0,o.wg)(),(0,o.iD)(o.HY,{key:0},[((0,o.wg)(),(0,o.j4)(d.l,{key:t,"prepend-icon":e.meta.icon,title:e.meta.title,value:t,onClick:e=>a.navigationfold(t)},null,8,["prepend-icon","title","value","onClick"])),e.meta.isopen?((0,o.wg)(!0),(0,o.iD)(o.HY,{key:0},(0,o.Ko)(e.children,((t,n)=>((0,o.wg)(),(0,o.j4)(d.l,{key:n,class:"ml-2","prepend-icon":t.meta.icon,title:t.meta.title,value:e.path+"/"+t.path},null,8,["prepend-icon","title","value"])))),128)):(0,o.kq)("",!0)],64)):((0,o.wg)(),(0,o.j4)(d.l,{key:t,"prepend-icon":e.meta.icon,title:e.meta.title,value:e.path,to:e.path},null,8,["prepend-icon","title","value","to"]))],64)))),256))])),_:1})}var v={name:"Navigation",props:{routes:{type:Array,default:function(){return[{path:"/",meta:{title:"Console",icon:"mdi-console"},children:[{path:"pro",meta:{title:"ProjjectInfo",icon:"mdi-card-text"}},{path:"host",meta:{title:"HostInfo",icon:"mdi-laptop"}},{path:"cluster",meta:{title:"ClusterInfo",icon:"mdi-server-network"}}]}]}}},methods:{navigationfold(e){this.routes[e].meta.isopen=!this.routes[e].meta.isopen,console.log(this.routes)}}},g=n(89);const y=(0,g.Z)(v,[["render",h]]);var b=y,w=n(65),j={name:"DefLayout",components:{navigation:b},computed:{...(0,w.Se)(["appname","routes"])},data(){return{}}};const O=(0,g.Z)(j,[["render",m]]);var k=O;const _=[{path:"/",name:"index",redirect:"/index",component:k,meta:{title:"欢迎页",icon:"mdi-home"},children:[{path:"index",component:()=>n.e(431).then(n.bind(n,9431))}]},{path:"/protocol",name:"Protocol",redirect:"/protocol/index",component:k,meta:{title:"协议测试",icon:"mdi-protocol"},children:[{path:"index",component:()=>Promise.all([n.e(227),n.e(381)]).then(n.bind(n,6533))}]},{path:"/upload",name:"Upload",redirect:"/upload/index",component:k,meta:{title:"配置上传",icon:"mdi-protocol"},children:[{path:"index",component:()=>Promise.all([n.e(227),n.e(621)]).then(n.bind(n,3966))}]}];function C(){var e=[];for(const r of _){var t={path:r.path,component:r.component,meta:r.meta,children:null};if(r.children&&r.children.length>0){t.children=[];for(const e of r.children){var n={path:e.path,component:e.component,meta:e.meta};t.children.push(n)}}e.push(t)}return e}const x=(0,r.p7)({history:(0,r.r5)(),routes:_});var E=x},5842:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(65);const o={appname:e=>e.app.appname,routes:e=>e.app.routes};var i=o;const a=n(2645),u=a.keys().reduce(((e,t)=>{const n=t.replace(/^\.\/(.*)\.\w+$/,"$1"),r=a(t);return e[n]=r.default,e}),{});var c=(0,r.MT)({getters:i,modules:u})},9638:function(e,t,n){"use strict";n.r(t);var r=n(3688);const o={appname:"乐谷游戏-梦工厂",routes:(0,r.C)()},i={},a={};t["default"]={namespaced:!0,state:o,mutations:i,actions:a}},2645:function(e,t,n){var r={"./app.js":9638};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=2645}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.m=e,function(){n.amdO={}}(),function(){var e=[];n.O=function(t,r,o,i){if(!r){var a=1/0;for(f=0;f<e.length;f++){r=e[f][0],o=e[f][1],i=e[f][2];for(var u=!0,c=0;c<r.length;c++)(!1&i||a>=i)&&Object.keys(n.O).every((function(e){return n.O[e](r[c])}))?r.splice(c--,1):(u=!1,i<a&&(a=i));if(u){e.splice(f--,1);var l=o();void 0!==l&&(t=l)}}return t}i=i||0;for(var f=e.length;f>0&&e[f-1][2]>i;f--)e[f]=e[f-1];e[f]=[r,o,i]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var u=2&o&&r;"object"==typeof u&&!~e.indexOf(u);u=t(u))Object.getOwnPropertyNames(u).forEach((function(e){a[e]=function(){return r[e]}}));return a["default"]=function(){return r},n.d(i,a),i}}(),function(){n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))}}(),function(){n.u=function(e){return"js/"+(461===e?"webfontloader":e)+"."+{227:"5e7ebdf8",381:"4019c1d0",431:"3d822cf6",461:"676a1a82",621:"7c7b8855"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+e+"."+{381:"457c64c2",621:"a4081466"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="vue_dreamfactory:";n.l=function(r,o,i,a){if(e[r])e[r].push(o);else{var u,c;if(void 0!==i)for(var l=document.getElementsByTagName("script"),f=0;f<l.length;f++){var d=l[f];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+i){u=d;break}}u||(c=!0,u=document.createElement("script"),u.charset="utf-8",u.timeout=120,n.nc&&u.setAttribute("nonce",n.nc),u.setAttribute("data-webpack",t+i),u.src=r),e[r]=[o];var p=function(t,n){u.onerror=u.onload=null,clearTimeout(s);var o=e[r];if(delete e[r],u.parentNode&&u.parentNode.removeChild(u),o&&o.forEach((function(e){return e(n)})),t)return t(n)},s=setTimeout(p.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=p.bind(null,u.onerror),u.onload=p.bind(null,u.onload),c&&document.head.appendChild(u)}}}(),function(){n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){n.p="/"}(),function(){var e=function(e,t,n,r){var o=document.createElement("link");o.rel="stylesheet",o.type="text/css";var i=function(i){if(o.onerror=o.onload=null,"load"===i.type)n();else{var a=i&&("load"===i.type?"missing":i.type),u=i&&i.target&&i.target.href||t,c=new Error("Loading CSS chunk "+e+" failed.\n("+u+")");c.code="CSS_CHUNK_LOAD_FAILED",c.type=a,c.request=u,o.parentNode.removeChild(o),r(c)}};return o.onerror=o.onload=i,o.href=t,document.head.appendChild(o),o},t=function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var o=n[r],i=o.getAttribute("data-href")||o.getAttribute("href");if("stylesheet"===o.rel&&(i===e||i===t))return o}var a=document.getElementsByTagName("style");for(r=0;r<a.length;r++){o=a[r],i=o.getAttribute("data-href");if(i===e||i===t)return o}},r=function(r){return new Promise((function(o,i){var a=n.miniCssF(r),u=n.p+a;if(t(a,u))return o();e(r,u,o,i)}))},o={143:0};n.f.miniCss=function(e,t){var n={381:1,621:1};o[e]?t.push(o[e]):0!==o[e]&&n[e]&&t.push(o[e]=r(e).then((function(){o[e]=0}),(function(t){throw delete o[e],t})))}}(),function(){var e={143:0};n.f.j=function(t,r){var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var i=new Promise((function(n,r){o=e[t]=[n,r]}));r.push(o[2]=i);var a=n.p+n.u(t),u=new Error,c=function(r){if(n.o(e,t)&&(o=e[t],0!==o&&(e[t]=void 0),o)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;u.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",u.name="ChunkLoadError",u.type=i,u.request=a,o[1](u)}};n.l(a,c,"chunk-"+t,t)}},n.O.j=function(t){return 0===e[t]};var t=function(t,r){var o,i,a=r[0],u=r[1],c=r[2],l=0;if(a.some((function(t){return 0!==e[t]}))){for(o in u)n.o(u,o)&&(n.m[o]=u[o]);if(c)var f=c(n)}for(t&&t(r);l<a.length;l++)i=a[l],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return n.O(f)},r=self["webpackChunkvue_dreamfactory"]=self["webpackChunkvue_dreamfactory"]||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}();var r=n.O(void 0,[998],(function(){return n(5368)}));r=n.O(r)})();
//# sourceMappingURL=app.449a3bad.js.map