Files
ploi-core/public/js/79.js
2021-02-10 13:56:20 +01:00

1 line
1.7 KiB
JavaScript
Vendored

(window.webpackJsonp=window.webpackJsonp||[]).push([[79],{0:function(t,e,s){"use strict";function n(t,e,s,n,r,i,o,a){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=s,u._compiled=!0),n&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),o?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=c):r&&(c=a?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,c):[c]}return{exports:t,options:u}}s.d(e,"a",(function(){return n}))},70:function(t,e,s){"use strict";s.r(e);var n={props:{server:Object},data:function(){return{items:[{title:this.__("General"),to:this.route("servers.show",this.server.id),active:this.route().current("servers.show")},{title:this.__("Settings"),to:this.route("servers.settings.show",this.server.id),active:this.route().current("servers.settings.show")}]}}},r=s(0),i=Object(r.a)(n,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("ul",{staticClass:"-ml-4 space-y-1"},t._l(t.items,(function(e){return e?s("li",[s(e.type&&"a"===e.type?"a":"inertia-link",{tag:"component",staticClass:"flex items-center h-10 px-4 font-medium text-medium-emphasis",class:{"rounded shadow text-primary bg-surface-3":e.active},attrs:{target:e.type&&"a"===e.type?"_blank":"_self",href:e.to}},[t._v(t._s(e.title)+" "+t._s(e.route))])],1):t._e()})),0)}),[],!1,null,null,null);e.default=i.exports}}]);