{"size": 5558, "ext": "js", "max_stars_repo_path": "docs/js/app.01346142.js", "max_stars_repo_name": "astanecki/fifa-list", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "docs/js/app.01346142.js", "max_issues_repo_name": "astanecki/fifa-list", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "docs/js/app.01346142.js", "max_forks_repo_name": "astanecki/fifa-list", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 2779.0, "max_line_length": 5517, "alphanum_fraction": 0.6264843469}
(function(e){function t(t){for(var a,l,c=t[0],i=t[1],s=t[2],d=0,f=[];d<c.length;d++)l=c[d],Object.prototype.hasOwnProperty.call(r,l)&&r[l]&&f.push(r[l][0]),r[l]=0;for(a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a]);u&&u(t);while(f.length)f.shift()();return o.push.apply(o,s||[]),n()}function n(){for(var e,t=0;t<o.length;t++){for(var n=o[t],a=!0,c=1;c<n.length;c++){var i=n[c];0!==r[i]&&(a=!1)}a&&(o.splice(t--,1),e=l(l.s=n[0]))}return e}var a={},r={app:0},o=[];function l(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,l),n.l=!0,n.exports}l.m=e,l.c=a,l.d=function(e,t,n){l.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},l.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,t){if(1&t&&(e=l(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(l.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)l.d(n,a,function(t){return e[t]}.bind(null,a));return n},l.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return l.d(t,"a",t),t},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l.p="/";var c=window["webpackJsonp"]=window["webpackJsonp"]||[],i=c.push.bind(c);c.push=t,c=c.slice();for(var s=0;s<c.length;s++)t(c[s]);var u=i;o.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"56d7":function(e,t,n){"use strict";n.r(t);var a=n("2b0e"),r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-app",[n("v-content",[n("router-view")],1)],1)},o=[],l=n("2877"),c=n("6544"),i=n.n(c),s=n("7496"),u=n("a75b"),d={},f=Object(l["a"])(d,r,o,!1,null,null,null),p=f.exports;i()(f,{VApp:s["a"],VContent:u["a"]});var v=n("f309"),h=n("ce5b");a["default"].use(v["a"],{components:{VApp:h["VApp"],VBtn:h["VBtn"],VBtnToggle:h["VBtnToggle"],VCard:h["VCard"],VCheckbox:h["VCheckbox"],VDivider:h["VDivider"],VGrid:h["VGrid"],VIcon:h["VIcon"],VList:h["VList"],VProgressLinear:h["VProgressLinear"],VTextField:h["VTextField"]},theme:{primary:"#673ab7",secondary:"#3f51b5",accent:"#03a9f4",error:"#f44336",warning:"#ffc107",info:"#4caf50",success:"#9c27b0"}});var b=new v["a"]({icons:{iconfont:"mdi"}}),m=n("8c4f"),y=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-container",[n("v-layout",{attrs:{"text-center":"",wrap:""}},[n("v-flex",[n("v-row",[n("v-col",{attrs:{cols:"12",sm:"6"}},[e._v("\n                    Functional areas\n                ")]),n("v-col",{attrs:{cols:"12",sm:"3"}},[n("v-text-field",{attrs:{label:"Search","prepend-inner-icon":"mdi-magnify",clearable:"",solo:""},model:{value:e.searchPhrase,callback:function(t){e.searchPhrase=t},expression:"searchPhrase"}})],1),n("v-col",{attrs:{cols:"6",sm:"3"}},[n("Button",{nativeOn:{click:function(t){return e.onCreateButtonClick(t)}}},[e._v(e._s(e.buttonLabel))])],1)],1)],1),n("v-flex",{attrs:{xs10:"","offset-xs1":""}},[n("v-data-table",{attrs:{headers:e.headers,items:e.list,search:e.searchPhrase,"items-per-page":5},scopedSlots:e._u([{key:"item",fn:function(t){return[n("tr",[n("td",[e._v(e._s(t.item.id))]),n("td",[e._v(e._s(t.item.title))]),n("td",[e._v(e._s(t.item.body))]),n("td",[n("v-flex",[n("v-icon",{attrs:{color:"black"}},[e._v("mdi-delete-outline")]),n("v-icon",{attrs:{color:"black"}},[e._v("mdi-pencil")])],1)],1)])]}}])})],1)],1)],1)},V=[],g=n("2f62"),_=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-btn",{attrs:{color:e.type}},[e._t("default")],2)},x=[];const w={INFO:"info"};var O={props:{type:{type:String,default:w.INFO}}},j=O,P=n("8336"),k=Object(l["a"])(j,_,x,!1,null,null,null),C=k.exports;i()(k,{VBtn:P["a"]});const S="set-list",T="setPendingState";var B={[T](e,t){e.pending=t},[S](e,t){e.list=t}},L=n("bc3a"),F=n.n(L);const $="https://jsonplaceholder.typicode.com";var E={fetch:e=>F.a.get(e)};const I="fetchList";var M={async[I]({commit:e}){e(T,!0);try{const{data:t}=await E.fetch($+"/posts");e(S,t)}catch(t){throw t}finally{e(T,!1)}}},A={components:{Button:C},data:()=>({buttonLabel:"Create",searchPhrase:"",headers:[{text:"Ref. no.",align:"center",value:"id"},{text:"Name",value:"title",align:"left"},{text:"Type",value:"body",align:"left"}]}),mounted(){this[I]()},computed:{...Object(g["c"])("main",["list"])},methods:{...Object(g["b"])("main",[I]),onCreateButtonClick(){this.$router.push("/edit")}}},D=A,N=n("62ad"),G=n("a523"),J=n("8fea"),R=n("0e8f"),q=n("132d"),z=n("a722"),H=n("0fd9"),K=n("8654"),Q=Object(l["a"])(D,y,V,!1,null,null,null),U=Q.exports;i()(Q,{VCol:N["a"],VContainer:G["a"],VDataTable:J["a"],VFlex:R["a"],VIcon:q["a"],VLayout:z["a"],VRow:H["a"],VTextField:K["a"]});var W=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e._v("edit site")])},X=[],Y={data:()=>({}),methods:{}},Z=Y,ee=Object(l["a"])(Z,W,X,!1,null,null,null),te=ee.exports;a["default"].use(m["a"]);const ne=[{path:"/",name:"Main",component:U},{path:"/edit",name:"Edit",component:te}];var ae=new m["a"]({linkActiveClass:"active",mode:"history",routes:ne}),re={pending:!1,list:[]},oe={namespaced:!0,actions:M,mutations:B,state:re};a["default"].use(g["a"]);var le=new g["a"].Store({modules:{main:oe}}),ce=n("31bd");a["default"].config.productionTip=!1,a["default"].prototype.$http=F.a,Object(ce["sync"])(le,ae),new a["default"]({router:ae,store:le,vuetify:b,render:e=>e(p)}).$mount("#app")}});
//# sourceMappingURL=app.01346142.js.map