text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d216f77"],{c55d:function(e,a,t){"use strict";t.r(a);var n=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"page",attrs:{id:"components-datatable"}},[t("PageHeader",[t("h1",[e._v("Datatable")])]),t("div",{staticClass:"container"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-12 col-lg-9 mb-panel-gutter"},[t("CodeExample",{staticClass:"darker",attrs:{"preview-classes":"bg-panel border",title:"Simple",url:"/snippets/components/datatable/simple.html",bindings:{exampleDataSource:e.exampleDataSource}}})],1),t("div",{staticClass:"col-12 col-lg-3"},[t("TableOfContents")],1)])])],1)},l=[],s=(t("33ef"),t("df26"),t("ea84")),r=t("c8e6"),i=t("36ad"),o=t("9f6c"),c={name:"Datatable",components:{CodeExample:r["a"],PageHeader:i["a"],TableOfContents:o["a"]},methods:{exampleDataSource:function(){for(var e=[],a=0;a<100;a++)e.push({name:"Item ".concat(a+1),email:"user".concat(a+1,"@example.com")});return{actions:[],columns:[{field:"name",label:"Name",template:'<div class="column-content"><strong>{{ row.name }}</strong></div>',width:150},{field:"name",label:"Name",template:'<div class="column-content">{{ row.email }}</div>'}],initial_data:void 0,limit:10,offset:0,requestData:function(){var a=Object(s["a"])(regeneratorRuntime.mark((function a(t,n,l,s,r){return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.abrupt("return",{data:e.slice(t,t+n),pagination:void 0,total:e.length});case 1:case"end":return a.stop()}}),a)})));function t(e,t,n,l,s){return a.apply(this,arguments)}return t}()}}}},u=c,d=t("2be6"),m=Object(d["a"])(u,n,l,!1,null,null,null);a["default"]=m.exports}}]);
  //# sourceMappingURL=chunk-2d216f77.508206f3.js.map