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

1 line
7.2 KiB
JavaScript
Vendored

(window.webpackJsonp=window.webpackJsonp||[]).push([[60,70],{0:function(t,e,a){"use strict";function s(t,e,a,s,n,i,r,o){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=a,u._compiled=!0),s&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),r?(l=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__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},u._ssrRegister=l):n&&(l=o?function(){n.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:n),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}a.d(e,"a",(function(){return s}))},128:function(t,e,a){"use strict";a.r(e);var s=a(17),n=a(1),i=a(6),r=a(7),o=a(8),l=a(9),u=a(10),c=a(2),d=a(11),p=a(12),_=a(4),m=a(5),h=a(3),f=a(15),b=a(16),v=a(31),x=a(59),g=a(20),y=a(22),T=a(23),C=a(24),k=a(25),B=a(21),S={metaInfo:function(){return{title:"".concat(this.__("Alerts"))}},layout:h.a,components:{TopBar:s.default,Container:n.a,Content:i.a,Page:r.a,PageHeader:o.a,PageHeaderTitle:l.a,PageBody:u.a,Button:c.a,List:d.a,ListItem:p.a,StatusBubble:_.a,NotificationBadge:m.a,SettingsLayout:f.a,SettingsSegment:b.a,Pagination:v.a,Tabs:x.default,Table:g.a,TableHead:y.a,TableHeader:T.a,TableRow:C.a,TableBody:k.a,TableData:B.a},props:{alerts:Object}},w=a(0),$=Object(w.a)(S,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("Page",[a("TopBar"),t._v(" "),a("Content",[a("Container",[a("PageHeader",{scopedSlots:t._u([{key:"start",fn:function(){return[a("PageHeaderTitle",[t._v(t._s(t.__("Alerts")))])]},proxy:!0}])}),t._v(" "),a("PageBody",[a("SettingsLayout",{scopedSlots:t._u([{key:"nav",fn:function(){return[a("Tabs")]},proxy:!0},{key:"segments",fn:function(){return[a("SettingsSegment",{scopedSlots:t._u([{key:"title",fn:function(){return[t._v(t._s(t.__("Overview")))]},proxy:!0},{key:"content",fn:function(){return[a("Table",{attrs:{caption:"Alert list overview"}},[a("TableHead",[a("TableRow",[a("TableHeader",[t._v(t._s(t.__("Content")))]),t._v(" "),a("TableHeader",[t._v(t._s(t.__("Expires at")))]),t._v(" "),a("TableHeader")],1)],1),t._v(" "),a("TableBody",t._l(t.alerts.data,(function(e){return a("TableRow",{key:e.id},[a("TableData",[t._v("\n "+t._s(e.message)+"\n\n "),a("p",{staticClass:"text-medium-emphasis"},[t._v(t._s(e.type))])]),t._v(" "),a("TableData",[t._v(t._s(e.expires_at?e.expires_at:"-No expire date-"))]),t._v(" "),a("TableData",[a("inertia-link",{staticClass:"text-primary font-medium",attrs:{href:t.route("admin.alerts.edit",e.id)}},[t._v("\n "+t._s(t.__("Edit"))+"\n ")])],1)],1)})),1)],1)]},proxy:!0}])})]},proxy:!0}])})],1)],1)],1)],1)}),[],!1,null,null,null);e.default=$.exports},15:function(t,e,a){"use strict";var s={props:{items:{type:Array,required:!1}}},n=a(0),i=Object(n.a)(s,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"grid grid-cols-4 gap-8 md:gap-16"},[e("aside",{staticClass:"col-span-4 md:col-span-1"},[this._t("nav")],2),this._v(" "),e("section",{staticClass:"col-span-4 md:col-span-3"},[e("div",{staticClass:"space-y-16"},[this._t("segments")],2)])])}),[],!1,null,null,null);e.a=i.exports},16:function(t,e,a){"use strict";var s=a(0),n=Object(s.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"px-8 pb-8 space-y-6 border rounded border-low-emphasis"},[e("header",{staticClass:"-mt-4"},[e("h2",{staticClass:"inline-flex px-4 -mx-4 font-medium bg-surface-1 text-title"},[this._t("title")],2),this._v(" "),e("p",{staticClass:"mt-1 text-small text-medium-emphasis"},[this._t("subtitle")],2)]),this._v(" "),e("div",{staticClass:"space-y-4"},[this._t("form"),this._v(" "),this._t("content")],2)])}),[],!1,null,null,null);e.a=n.exports},17:function(t,e,a){"use strict";a.r(e);var s=a(39),n=a(40),i=a(41),r=a(42),o={components:{TopBar:s.a,Breadcrumbs:n.a,TabBar:i.a,TopBarTabBarContainer:r.a},data:function(){return{tabBars:[{title:"Dashboard",to:this.route("admin.dashboard"),active:this.route().current("admin.dashboard")||this.route().current("admin.settings")||this.route().current("admin.system")},{title:this.__("Users"),to:this.route("admin.users.index"),active:this.route().current("admin.users.*")},{title:this.__("Packages"),to:this.route("admin.packages.index"),active:this.route().current("admin.packages.*")},this.$page.props.settings.support?{title:"".concat(this.__("Support")," (").concat(this.$page.props.openTickets,")"),to:this.route("admin.support.index"),active:this.route().current("admin.support.*")}:null,this.$page.props.settings.documentation?{title:this.__("Documentation"),to:this.route("admin.documentation.index"),active:this.route().current("admin.documentation.*")}:null,{title:"Services",to:this.route("admin.services.index"),active:this.route().current("admin.services.*")}],breadcrumbs:[{title:this.$page.props.settings.name,to:"/"},{title:this.__("Administration"),to:this.route("admin.dashboard")}]}}},l=a(0),u=Object(l.a)(o,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("TopBar",{scopedSlots:t._u([{key:"breadcrumbs",fn:function(){return[a("Breadcrumbs",{attrs:{items:t.breadcrumbs}})]},proxy:!0},{key:"tab-bar",fn:function(){return[a("TopBarTabBarContainer",[a("TabBar",{attrs:{items:t.tabBars}})],1)]},proxy:!0}])})}),[],!1,null,null,null);e.default=u.exports},31:function(t,e,a){"use strict";var s={props:{links:Object},computed:{determineLinks:function(){return this.links.meta?this.links.meta:this.links}}},n=a(0),i=Object(n.a)(s,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.determineLinks.per_page<t.determineLinks.total?a("div",{staticClass:"mt-6 -mb-1 flex flex-wrap"},[t._l(t.determineLinks.links,(function(e,s){return[null===e.url?a("div",{key:s,staticClass:"mr-1 mb-1 px-4 py-3 text-sm border rounded text-gray-400",class:{"ml-auto":"Next"===e.label}},[t._v(t._s(e.label))]):a("inertia-link",{key:s,staticClass:"mr-1 mb-1 px-2 py-1 text-sm rounded",class:{"shadow text-high-emphasis bg-surface-1":e.active,"ml-auto":"Next"===e.label},attrs:{href:e.url}},[t._v(t._s(e.label))])]}))],2):t._e()}),[],!1,null,null,null);e.a=i.exports},59:function(t,e,a){"use strict";a.r(e);var s={data:function(){return{items:[{title:this.__("&laquo; Back"),to:this.route("admin.dashboard")},{title:this.__("Overview"),to:this.route("admin.alerts.index"),active:this.route().current("admin.alerts.index")},{title:this.__("Create"),to:this.route("admin.alerts.create"),active:this.route().current("admin.alerts.create")}]}}},n=a(0),i=Object(n.a)(s,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ul",{staticClass:"-ml-4 space-y-1"},t._l(t.items,(function(e){return a("li",[a("inertia-link",{staticClass:"flex items-center h-10 px-4 font-medium text-medium-emphasis",class:{"rounded shadow text-primary bg-surface-3":e.active},attrs:{href:e.to},domProps:{innerHTML:t._s(e.title)}})],1)})),0)}),[],!1,null,null,null);e.default=i.exports}}]);