text: webpackJsonp([0],{"0IaF":function(l,n,e){"use strict";e.d(n,"a",function(){return t});var t=function(){function l(){}return l}()},Dcs8:function(l,n,e){"use strict";function t(l){return s["ɵvid"](0,[(l()(),s["ɵted"](null,["\n    "])),(l()(),s["ɵeld"](0,null,null,71,"ion-grid",[["class","grid"]],null,null,null,null,null)),s["ɵdid"](16384,null,0,c.a,[],null,null),(l()(),s["ɵted"](null,["\n      "])),(l()(),s["ɵeld"](0,null,null,67,"ion-row",[["class","row"]],null,null,null,null,null)),s["ɵdid"](16384,null,0,p.a,[],null,null),(l()(),s["ɵted"](null,["\n        "])),(l()(),s["ɵeld"](0,null,null,27,"ion-col",[["class","col"],["col-4-auto",""]],null,null,null,null,null)),s["ɵdid"](16384,null,0,f.a,[],null,null),(l()(),s["ɵted"](null,["\n          "])),(l()(),s["ɵeld"](0,null,null,23,"ion-item",[["class","item item-block"]],null,null,null,m.a,m.b)),s["ɵdid"](1097728,null,3,g.a,[h.a,v.a,s.ElementRef,s.Renderer,[2,b.a]],null,null),s["ɵqud"](335544320,8,{contentLabel:0}),s["ɵqud"](603979776,9,{_buttons:1}),s["ɵqud"](603979776,10,{_icons:1}),s["ɵdid"](16384,null,0,C.a,[],null,null),(l()(),s["ɵted"](2,["\n            "])),(l()(),s["ɵeld"](0,null,0,5,"ion-checkbox",[],[[2,"checkbox-disabled",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"click"]],function(l,n,e){var t=!0,u=l.component;if("click"===n){t=!1!==s["ɵnov"](l,18)._click(e)&&t}if("ngModelChange"===n){t=!1!==(u.paginate=e)&&t}return t},y.a,y.b)),s["ɵdid"](1228800,null,0,k.a,[v.a,h.a,[2,g.a],s.ElementRef,s.Renderer],null,null),s["ɵprd"](1024,null,R.i,function(l){return[l]},[k.a]),s["ɵdid"](671744,null,0,R.f,[[8,null],[8,null],[8,null],[2,R.i]],{model:[0,"model"]},{update:"ngModelChange"}),s["ɵprd"](2048,null,R.g,null,[R.f]),s["ɵdid"](16384,null,0,R.h,[R.g],null,null),(l()(),s["ɵted"](2,["\n            "])),(l()(),s["ɵeld"](0,null,1,2,"ion-label",[["for","inputPageSize"]],null,null,null,null,null)),s["ɵdid"](16384,[[8,4]],0,x.a,[v.a,s.ElementRef,s.Renderer,[8,null],[8,null],[8,null],[8,null]],null,null),(l()(),s["ɵted"](null,["Page Size:"])),(l()(),s["ɵted"](2,["\n            "])),(l()(),s["ɵeld"](0,null,3,4,"ion-input",[["class","pageSizeInput"],["name","inputPageSize"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(l,n,e){var t=!0,u=l.component;if("ngModelChange"===n){t=!1!==(u.pageSize=e)&&t}return t},I.a,I.b)),s["ɵdid"](671744,null,0,R.f,[[8,null],[8,null],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),s["ɵprd"](2048,null,R.g,null,[R.f]),s["ɵdid"](16384,null,0,R.h,[R.g],null,null),s["ɵdid"](5423104,null,0,T.a,[v.a,w.a,h.a,E.a,s.ElementRef,s.Renderer,[2,D.a],[2,g.a],[2,R.g],q.a],{type:[0,"type"]},null),(l()(),s["ɵted"](2,["\n          "])),(l()(),s["ɵted"](null,["\n        "])),(l()(),s["ɵted"](null,["\n        "])),(l()(),s["ɵeld"](0,null,null,7,"ion-col",[["class","col"],["col-2-auto",""]],null,null,null,null,null)),s["ɵdid"](16384,null,0,f.a,[],null,null),(l()(),s["ɵted"](null,["\n          "])),(l()(),s["ɵeld"](0,null,null,3,"button",[["ion-button",""],["kendoGridPDFCommand",""],["small",""]],null,null,null,_.a,_.b)),s["ɵdid"](1097728,null,0,N.a,[[8,""],v.a,s.ElementRef,s.Renderer],{small:[0,"small"]},null),(l()(),s["ɵeld"](0,null,0,0,"span",[["class","k-icon k-i-file-pdf"]],null,null,null,null,null)),(l()(),s["ɵted"](0,["Export to PDF"])),(l()(),s["ɵted"](null,["\n        "])),(l()(),s["ɵted"](null,["\n        "])),(l()(),s["ɵeld"](0,null,null,7,"ion-col",[["class","col"],["col-2-auto",""]],null,null,null,null,null)),s["ɵdid"](16384,null,0,f.a,[],null,null),(l()(),s["ɵted"](null,["\n          "])),(l()(),s["ɵeld"](0,null,null,3,"button",[["ion-button",""],["kendoGridExcelCommand",""],["small",""]],null,null,null,_.a,_.b)),s["ɵdid"](1097728,null,0,N.a,[[8,""],v.a,s.ElementRef,s.Renderer],{small:[0,"small"]},null),(l()(),s["ɵeld"](0,null,0,0,"span",[["class","k-icon k-i-file-excel"]],null,null,null,null,null)),(l()(),s["ɵted"](0,["Export to Excel"])),(l()(),s["ɵted"](null,["\n        "])),(l()(),s["ɵted"](null,["\n        "])),(l()(),s["ɵeld"](0,null,null,7,"ion-col",[["class","col"],["col-2-auto",""]],null,null,null,null,null)),s["ɵdid"](16384,null,0,f.a,[],null,null),(l()(),s["ɵted"](null,["\n          "])),(l()(),s["ɵeld"](0,null,null,3,"button",[["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var t=!0,u=l.component;if("click"===n){t=!1!==u.restoreColumns()&&t}return t},_.a,_.b)),s["ɵdid"](1097728,null,0,N.a,[[8,""],v.a,s.ElementRef,s.Renderer],{small:[0,"small"]},null),(l()(),s["ɵeld"](0,null,0,0,"span",[["class","k-icon k-i-reset"]],null,null,null,null,null)),(l()(),s["ɵted"](0,["Restore hidden columns"])),(l()(),s["ɵted"](null,["\n        "])),(l()(),s["ɵted"](null,["\n        "])),(l()(),s["ɵeld"](0,null,null,7,"ion-col",[["class","col"],["col-2-auto",""]],null,null,null,null,null)),s["ɵdid"](16384,null,0,f.a,[],null,null),(l()(),s["ɵted"](null,["\n          "])),(l()(),s["ɵeld"](0,null,null,3,"button",[["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var t=!0,u=l.component;if("click"===n){t=!1!==u.refresh()&&t}return t},_.a,_.b)),s["ɵdid"](1097728,null,0,N.a,[[8,""],v.a,s.ElementRef,s.Renderer],{small:[0,"small"]},null),(l()(),s["ɵeld"](0,null,0,0,"span",[["class","k-icon k-i-refresh"]],null,null,null,null,null)),(l()(),s["ɵted"](0,["Refresh"])),(l()(),s["ɵted"](null,["\n        "])),(l()(),s["ɵted"](null,["\n      "])),(l()(),s["ɵted"](null,["\n    "])),(l()(),s["ɵted"](null,["\n  "]))],function(l,n){var e=n.component;l(n,20,0,e.paginate);l(n,29,0,"inputPageSize",e.pageSize);l(n,32,0,"number");l(n,40,0,"");l(n,49,0,"");l(n,58,0,"");l(n,67,0,"")},function(l,n){l(n,17,0,s["ɵnov"](n,18)._disabled,s["ɵnov"](n,22).ngClassUntouched,s["ɵnov"](n,22).ngClassTouched,s["ɵnov"](n,22).ngClassPristine,s["ɵnov"](n,22).ngClassDirty,s["ɵnov"](n,22).ngClassValid,s["ɵnov"](n,22).ngClassInvalid,s["ɵnov"](n,22).ngClassPending),l(n,28,0,s["ɵnov"](n,31).ngClassUntouched,s["ɵnov"](n,31).ngClassTouched,s["ɵnov"](n,31).ngClassPristine,s["ɵnov"](n,31).ngClassDirty,s["ɵnov"](n,31).ngClassValid,s["ɵnov"](n,31).ngClassInvalid,s["ɵnov"](n,31).ngClassPending)})}function u(l){return s["ɵvid"](0,[(l()(),s["ɵted"](null,["\n        ","\n        "])),(l()(),s["ɵeld"](0,null,null,1,"button",[["class","k-button k-primary"],["style","float: right;"]],null,[[null,"click"]],function(l,n,e){var t=!0,u=l.component;if("click"===n){t=!1!==u.hideColumn(l.context.$implicit.field)&&t}return t},null,null)),(l()(),s["ɵted"](null,["\n          Hide\n        "])),(l()(),s["ɵted"](null,["\n      "]))],null,function(l,n){l(n,0,0,n.context.$implicit.field)})}function a(l){return s["ɵvid"](0,[(l()(),s["ɵted"](null,["\n    "])),(l()(),s["ɵeld"](0,null,null,14,"kendo-grid-column",[],null,null,null,P.a,P.b)),s["ɵdid"](49152,null,7,S.a,[[8,null]],{width:[0,"width"],hidden:[1,"hidden"],field:[2,"field"],editor:[3,"editor"],filter:[4,"filter"]},null),s["ɵqud"](603979776,11,{headerTemplates:1}),s["ɵqud"](335544320,12,{footerTemplate:0}),s["ɵqud"](335544320,13,{template:0}),s["ɵqud"](335544320,14,{groupHeaderTemplate:0}),s["ɵqud"](335544320,15,{groupFooterTemplate:0}),s["ɵqud"](335544320,16,{editTemplate:0}),s["ɵqud"](335544320,17,{filterCellTemplate:0}),s["ɵprd"](2048,[[3,4]],O.a,null,[S.a]),(l()(),s["ɵted"](null,["\n      "])),(l()(),s["ɵand"](0,null,null,1,null,u)),s["ɵdid"](16384,[[11,4]],0,M.a,[[2,s.TemplateRef]],null,null),(l()(),s["ɵted"](null,["\n      "])),(l()(),s["ɵted"](null,["\n    "])),(l()(),s["ɵted"](null,["\n  "]))],function(l,n){l(n,2,0,150,n.component.hiddenColumns.indexOf(n.context.$implicit.field)>-1,s["ɵinlineInterpolate"](1,"",n.context.$implicit.field,""),s["ɵinlineInterpolate"](1,"",n.context.$implicit.editor,""),s["ɵinlineInterpolate"](1,"",n.context.$implicit.filter,""))},null)}function i(l){return s["ɵvid"](0,[(l()(),s["ɵted"](null,["\n    "])),(l()(),s["ɵeld"](0,null,null,2,"seed-grid",[],null,null,null,o,cl)),s["ɵdid"](114688,null,0,F.a,[B.i,V.a,s.ApplicationRef],{dataItem:[0,"dataItem"],url:[1,"url"],tableName:[2,"tableName"]},null),(l()(),s["ɵted"](null,["\n    "])),(l()(),s["ɵted"](null,["\n      "])),(l()(),s["ɵted"](null,["\n  "]))],function(l,n){var e=n.component;l(n,2,0,n.context.$implicit,e.url,e.tableName)},null)}function o(l){return s["ɵvid"](0,[s["ɵqud"](402653184,1,{grid:0}),s["ɵqud"](671088640,2,{selects:1}),(l()(),s["ɵeld"](0,null,null,38,"kendo-grid",[],[[1,"dir",0],[2,"k-widget",null],[2,"k-grid",null],[2,"k-grid-lockedcolumns",null],[2,"k-grid-virtual",null]],[[null,"pageChange"],[null,"sortChange"],[null,"filterChange"],[null,"groupChange"]],function(l,n,e){var t=!0,u=l.component;if("pageChange"===n){t=!1!==u.pageChange(e)&&t}if("sortChange"===n){t=!1!==u.sortChange(e)&&t}if("filterChange"===n){t=!1!==u.filterChange(e)&&t}if("groupChange"===n){t=!1!==u.groupChange(e)&&t}return t},U.a,U.b)),s["ɵprd"](4608,null,A.a,A.a,[A.b,[2,z.a]]),s["ɵprd"](4608,null,L.a,L.a,[]),s["ɵprd"](4608,null,K.a,K.a,[]),s["ɵprd"](4608,null,j.a,j.a,[]),s["ɵprd"](4608,null,G.a,G.a,[]),s["ɵprd"](512,null,X.a,X.a,[]),s["ɵprd"](512,null,J.a,J.a,[]),s["ɵprd"](512,null,Z.a,Z.a,[]),s["ɵprd"](512,null,H.a,H.a,[]),s["ɵprd"](512,null,$.a,$.a,[s.NgZone]),s["ɵprd"](512,null,W.a,W.a,[]),s["ɵprd"](512,null,Q.a,Q.a,[]),s["ɵprd"](512,null,Y.a,Y.a,[]),s["ɵprd"](512,null,ll.a,ll.a,[]),s["ɵprd"](512,null,nl.a,nl.a,[]),s["ɵprd"](512,null,el.a,el.a,[]),s["ɵprd"](512,null,tl.a,tl.a,[s.NgZone]),s["ɵdid"](8044544,[[1,4]],5,ul.a,[X.a,J.a,s.ElementRef,Z.a,H.a,$.a,W.a,Q.a,Y.a,ll.a,nl.a,s.Renderer2,el.a,s.NgZone,tl.a,[2,al.a]],{data:[0,"data"],pageSize:[1,"pageSize"],height:[2,"height"],skip:[3,"skip"],scrollable:[4,"scrollable"],selectable:[5,"selectable"],sort:[6,"sort"],filter:[7,"filter"],group:[8,"group"],filterable:[9,"filterable"],sortable:[10,"sortable"],pageable:[11,"pageable"],groupable:[12,"groupable"]},{filterChange:"filterChange",pageChange:"pageChange",groupChange:"groupChange",sortChange:"sortChange"}),s["ɵqud"](603979776,3,{columns:1}),s["ɵqud"](335544320,4,{detailTemplate:0}),s["ɵqud"](335544320,5,{noRecordsTemplate:0}),s["ɵqud"](335544320,6,{pagerTemplate:0}),s["ɵqud"](335544320,7,{toolbarTemplate:0}),s["ɵpid"](131072,il.l,[s.ChangeDetectorRef]),s["ɵpod"]({allowUnsort:0,mode:1}),s["ɵprd"](256,null,ol.a,ol.b,[]),s["ɵprd"](256,null,A.b,"kendo.grid",[]),(l()(),s["ɵted"](null,["\n  "])),(l()(),s["ɵand"](0,null,null,1,null,t)),s["ɵdid"](16384,[[7,4]],0,dl.a,[[2,s.TemplateRef]],null,null),(l()(),s["ɵted"](null,["\n\n  "])),(l()(),s["ɵand"](16777216,null,null,1,null,a)),s["ɵdid"](802816,null,0,il.k,[s.ViewContainerRef,s.TemplateRef,s.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(l()(),s["ɵted"](null,["\n\n  "])),(l()(),s["ɵand"](0,null,null,1,null,i)),s["ɵdid"](16384,[[4,4]],0,rl.a,[[2,s.TemplateRef]],{showIf:[0,"showIf"]},null),(l()(),s["ɵted"](null,["\n\n  "])),(l()(),s["ɵted"](null,["\n"])),(l()(),s["ɵted"](null,["\n"]))],function(l,n){var e=n.component;l(n,20,1,[s["ɵunv"](n,20,0,s["ɵnov"](n,26).transform(e.view)),e.pageSize,"100%",e.skip,"scrollable",!0,e.sort,e.filter,e.groups,!0,l(n,27,0,!0,"multiple"),e.paginate,e.oDataVersion>=4]),l(n,35,0,e.columns),l(n,38,0,e.showDetailsOfGroupBy)},function(l,n){l(n,2,0,s["ɵnov"](n,20).dir,s["ɵnov"](n,20).hostClasses,s["ɵnov"](n,20).hostClasses,s["ɵnov"](n,20).lockedClasses,s["ɵnov"](n,20).virtualClasses)})}function d(l){return s["ɵvid"](0,[(l()(),s["ɵeld"](0,null,null,1,"seed-grid",[],null,null,null,o,cl)),s["ɵdid"](114688,null,0,F.a,[B.i,V.a,s.ApplicationRef],null,null)],function(l,n){l(n,1,0)},null)}var r=e("qMpD"),s=e("/oeL"),c=e("yi+R"),p=e("oXl8"),f=e("uy+N"),m=e("xBvw"),g=e("P/lZ"),h=e("MrVa"),v=e("7exx"),b=e("QoJ6"),C=e("fAv2"),y=e("Ev4p"),k=e("Dhe+"),R=e("bm2B"),x=e("G2Fa"),I=e("IXtm"),T=e("GHbS"),w=e("T+6e"),E=e("awSE"),D=e("OkuX"),q=e("i6mF"),_=e("aPw3"),N=e("9UDd"),P=e("lAwg"),S=e("YDbj"),O=e("lMPX"),M=e("uKnN"),F=e("eBJg"),B=e("CPp0"),V=e("QF5D"),U=e("VZCg"),A=e("vdPq"),z=e("Ayw6"),L=e("28t7"),K=e("2CV6"),j=e("GTJK"),G=e("9/m4"),X=e("EUy2"),J=e("a00j"),Z=e("Klt1"),H=e("Y1V6"),$=e("DiGM"),W=e("nBN4"),Q=e("IbqT"),Y=e("GWw0"),ll=e("zriA"),nl=e("LHns"),el=e("S/af"),tl=e("6XDJ"),ul=e("xDV6"),al=e("lwRR"),il=e("qbdv"),ol=e("cwxG"),dl=e("/mZq"),rl=e("sth3");e.d(n,"b",function(){return cl}),n.a=o;var sl=[r.a],cl=s["ɵcrt"]({encapsulation:0,styles:sl,data:{}});s["ɵccf"]("seed-grid",F.a,d,{dataItem:"dataItem",url:"url",tableName:"tableName",pageSize:"pageSize"},{},[])},Ev4p:function(l,n,e){"use strict";function t(l){return a["ɵvid"](0,[(l()(),a["ɵeld"](0,null,null,1,"div",[["class","checkbox-icon"]],[[2,"checkbox-checked",null]],null,null,null,null)),(l()(),a["ɵeld"](0,null,null,0,"div",[["class","checkbox-inner"]],null,null,null,null,null)),(l()(),a["ɵeld"](0,null,null,2,"button",[["class","item-cover"],["ion-button","item-cover"],["role","checkbox"],["type","button"]],[[8,"id",0],[1,"aria-checked",0],[1,"aria-labelledby",0],[1,"aria-disabled",0]],null,null,i.a,i.b)),a["ɵdid"](1097728,null,0,o.a,[[8,"item-cover"],d.a,a.ElementRef,a.Renderer],null,null),(l()(),a["ɵted"](0,[" "]))],null,function(l,n){var e=n.component;l(n,0,0,e._value),l(n,2,0,e.id,e._value,e._labelId,e._disabled)})}function u(l){return a["ɵvid"](0,[(l()(),a["ɵeld"](0,null,null,2,"ion-checkbox",[],[[2,"checkbox-disabled",null]],[[null,"click"]],function(l,n,e){var t=!0;if("click"===n){t=!1!==a["ɵnov"](l,2)._click(e)&&t}return t},t,m)),a["ɵprd"](5120,null,s.i,function(l){return[l]},[r.a]),a["ɵdid"](1228800,null,0,r.a,[d.a,c.a,[2,p.a],a.ElementRef,a.Renderer],null,null)],null,function(l,n){l(n,0,0,a["ɵnov"](n,2)._disabled)})}var a=e("/oeL"),i=e("aPw3"),o=e("9UDd"),d=e("7exx"),r=e("Dhe+"),s=e("bm2B"),c=e("MrVa"),p=e("P/lZ");e.d(n,"b",function(){return m}),n.a=t;var f=[],m=a["ɵcrt"]({encapsulation:2,styles:f,data:{}});a["ɵccf"]("ion-checkbox",r.a,u,{color:"color",mode:"mode",disabled:"disabled",checked:"checked"},{ionFocus:"ionFocus",ionChange:"ionChange",ionBlur:"ionBlur"},[])},IXtm:function(l,n,e){"use strict";function t(l){return r["ɵvid"](0,[(l()(),r["ɵeld"](0,[[1,0],["textInput",1]],null,1,"input",[["class","text-input"]],[[8,"type",0],[1,"aria-labelledby",0],[1,"min",0],[1,"max",0],[1,"step",0],[1,"autocomplete",0],[1,"autocorrect",0],[8,"placeholder",0],[8,"disabled",0],[8,"readOnly",0]],[[null,"input"],[null,"blur"],[null,"focus"],[null,"keydown"]],function(l,n,e){var t=!0,u=l.component;if("input"===n){t=!1!==u.onInput(e)&&t}if("blur"===n){t=!1!==u.onBlur(e)&&t}if("focus"===n){t=!1!==u.onFocus(e)&&t}if("keydown"===n){t=!1!==u.onKeydown(e)&&t}return t},null,null)),r["ɵdid"](278528,null,0,s.o,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null)],function(l,n){l(n,1,0,"text-input","text-input-"+n.component._mode)},function(l,n){var e=n.component;l(n,0,0,e._type,e._labelId,e.min,e.max,e.step,e.autocomplete,e.autocorrect,e.placeholder,e._disabled,e._readonly)})}function u(l){return r["ɵvid"](0,[(l()(),r["ɵeld"](0,[[1,0],["textInput",1]],null,1,"textarea",[["class","text-input"]],[[1,"aria-labelledby",0],[1,"autocomplete",0],[1,"autocorrect",0],[8,"placeholder",0],[8,"disabled",0],[8,"readOnly",0]],[[null,"input"],[null,"blur"],[null,"focus"],[null,"keydown"]],function(l,n,e){var t=!0,u=l.component;if("input"===n){t=!1!==u.onInput(e)&&t}if("blur"===n){t=!1!==u.onBlur(e)&&t}if("focus"===n){t=!1!==u.onFocus(e)&&t}if("keydown"===n){t=!1!==u.onKeydown(e)&&t}return t},null,null)),r["ɵdid"](278528,null,0,s.o,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null)],function(l,n){l(n,1,0,"text-input","text-input-"+n.component._mode)},function(l,n){var e=n.component;l(n,0,0,e._labelId,e.autocomplete,e.autocorrect,e.placeholder,e._disabled,e._readonly)})}function a(l){return r["ɵvid"](0,[(l()(),r["ɵeld"](0,null,null,1,"button",[["class","text-input-clear-icon"],["clear",""],["ion-button",""],["tabindex","-1"],["type","button"]],null,[[null,"click"],[null,"mousedown"]],function(l,n,e){var t=!0,u=l.component;if("click"===n){t=!1!==u.clearTextInput(e)&&t}if("mousedown"===n){t=!1!==u.clearTextInput(e)&&t}return t},c.a,c.b)),r["ɵdid"](1097728,null,0,p.a,[[8,""],f.a,r.ElementRef,r.Renderer],{clear:[0,"clear"]},null)],function(l,n){l(n,1,0,"")},null)}function i(l){return r["ɵvid"](0,[(l()(),r["ɵeld"](0,null,null,0,"div",[["class","input-cover"]],null,[[null,"touchstart"],[null,"touchend"],[null,"mousedown"],[null,"mouseup"]],function(l,n,e){var t=!0,u=l.component;if("touchstart"===n){t=!1!==u._pointerStart(e)&&t}if("touchend"===n){t=!1!==u._pointerEnd(e)&&t}if("mousedown"===n){t=!1!==u._pointerStart(e)&&t}if("mouseup"===n){t=!1!==u._pointerEnd(e)&&t}return t},null,null))],null,null)}function o(l){return r["ɵvid"](2,[r["ɵqud"](671088640,1,{_native:0}),(l()(),r["ɵand"](16777216,null,null,1,null,t)),r["ɵdid"](16384,null,0,s.j,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),r["ɵand"](16777216,null,null,1,null,u)),r["ɵdid"](16384,null,0,s.j,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),r["ɵand"](16777216,null,null,1,null,a)),r["ɵdid"](16384,null,0,s.j,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),r["ɵand"](16777216,null,null,1,null,i)),r["ɵdid"](16384,null,0,s.j,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(l,n){var e=n.component;l(n,2,0,!e._isTextarea),l(n,4,0,e._isTextarea),l(n,6,0,e._clearInput),l(n,8,0,e._useAssist)},null)}function d(l){return r["ɵvid"](0,[(l()(),r["ɵeld"](0,null,null,1,"ion-input",[],null,null,null,o,x)),r["ɵdid"](5423104,null,0,m.a,[f.a,g.a,h.a,v.a,r.ElementRef,r.Renderer,[2,b.a],[2,C.a],[2,y.g],k.a],null,null)],null,null)}var r=e("/oeL"),s=e("qbdv"),c=e("aPw3"),p=e("9UDd"),f=e("7exx"),m=e("GHbS"),g=e("T+6e"),h=e("MrVa"),v=e("awSE"),b=e("OkuX"),C=e("P/lZ"),y=e("bm2B"),k=e("i6mF");e.d(n,"b",function(){return x}),n.a=o;var R=[],x=r["ɵcrt"]({encapsulation:2,styles:R,data:{}});r["ɵccf"]("ion-input,ion-textarea",m.a,d,{value:"value",color:"color",mode:"mode",disabled:"disabled",clearInput:"clearInput",type:"type",readonly:"readonly",clearOnEdit:"clearOnEdit",autocomplete:"autocomplete",autocorrect:"autocorrect",placeholder:"placeholder",min:"min",max:"max",step:"step"},{ionFocus:"ionFocus",ionChange:"ionChange",ionBlur:"ionBlur",input:"input",blur:"blur",focus:"focus"},[])},"T/K1":function(l,n,e){"use strict";function t(l){return o["ɵvid"](0,[(l()(),o["ɵeld"](0,null,null,1,"div",[["class","select-placeholder select-text"]],null,null,null,null,null)),(l()(),o["ɵted"](null,["",""]))],null,function(l,n){l(n,1,0,n.component.placeholder)})}function u(l){return o["ɵvid"](0,[(l()(),o["ɵeld"](0,null,null,1,"div",[["class","select-text"]],null,null,null,null,null)),(l()(),o["ɵted"](null,["",""]))],null,function(l,n){var e=n.component;l(n,1,0,e.selectedText||e._text)})}function a(l){return o["ɵvid"](0,[(l()(),o["ɵand"](16777216,null,null,1,null,t)),o["ɵdid"](16384,null,0,d.j,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),o["ɵand"](16777216,null,null,1,null,u)),o["ɵdid"](16384,null,0,d.j,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),o["ɵeld"](0,null,null,1,"div",[["class","select-icon"]],null,null,null,null,null)),(l()(),o["ɵeld"](0,null,null,0,"div",[["class","select-icon-inner"]],null,null,null,null,null)),(l()(),o["ɵeld"](0,null,null,1,"button",[["aria-haspopup","true"],["class","item-cover"],["ion-button","item-cover"],["type","button"]],[[8,"id",0],[1,"aria-labelledby",0],[1,"aria-disabled",0]],null,null,r.a,r.b)),o["ɵdid"](1097728,null,0,s.a,[[8,"item-cover"],c.a,o.ElementRef,o.Renderer],null,null)],function(l,n){var e=n.component;l(n,1,0,!e._text),l(n,3,0,e._text)},function(l,n){var e=n.component;l(n,6,0,e.id,e._labelId,e._disabled)})}function i(l){return o["ɵvid"](0,[(l()(),o["ɵeld"](0,null,null,3,"ion-select",[],[[2,"select-disabled",null]],[[null,"click"],[null,"keyup.space"]],function(l,n,e){var t=!0;if("click"===n){t=!1!==o["ɵnov"](l,2)._click(e)&&t}if("keyup.space"===n){t=!1!==o["ɵnov"](l,2)._keyup()&&t}return t},a,C)),o["ɵprd"](5120,null,f.i,function(l){return[l]},[p.a]),o["ɵdid"](1228800,null,1,p.a,[m.a,g.a,c.a,o.ElementRef,o.Renderer,[2,h.a],v.a],null,null),o["ɵqud"](603979776,1,{options:1})],null,function(l,n){l(n,0,0,o["ɵnov"](n,2)._disabled)})}var o=e("/oeL"),d=e("qbdv"),r=e("aPw3"),s=e("9UDd"),c=e("7exx"),p=e("gzvd"),f=e("bm2B"),m=e("awSE"),g=e("MrVa"),h=e("P/lZ"),v=e("cMvI");e.d(n,"b",function(){return C}),n.a=a;var b=[],C=o["ɵcrt"]({encapsulation:2,styles:b,data:{}});o["ɵccf"]("ion-select",p.a,i,{color:"color",mode:"mode",disabled:"disabled",cancelText:"cancelText",okText:"okText",placeholder:"placeholder",selectOptions:"selectOptions",interface:"interface",selectedText:"selectedText",compareWith:"compareWith",multiple:"multiple"},{ionFocus:"ionFocus",ionChange:"ionChange",ionBlur:"ionBlur",ionCancel:"ionCancel"},[])},UH1D:function(l,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=e("/oeL"),u=e("0IaF"),a=e("URqq"),i=e("yNRW"),o=e("DG4L"),d=e("qvFd"),r=e("63Ec"),s=e("AyIJ"),c=e("DtmM"),p=e("MRXT"),f=e("m0IW"),m=e("rCX3"),g=e("FBRE"),h=e("omZx"),v=e("Ugdc"),b=e("X9wf"),C=e("Xyxv"),y=e("S6Bz"),k=e("U67X"),R=e("qbdv"),x=e("bm2B"),I=e("XQed"),T=e("7b/G"),w=e("tHC6"),E=e("kAQ5"),D=e("KuVg"),q=e("Kp3K"),_=e("Hflw"),N=e("L5+I"),P=e("BkNc"),S=e("mspx"),O=e("AfLE"),M=e("6ReJ"),F=(e.n(M),e("eRLv")),B=e("Y8DO"),V=e("ekXs"),U=e("n6PP"),A=e("F2bB"),z=e("IJOJ"),L=e("FJJV"),K=e("1jkD"),j=e("sK3n"),G=e("4bF3"),X=e("YF8O"),J=e("mSTu"),Z=e("6Ha5"),H=e("kFNp"),$=e("uCoZ"),W=e("mnnb"),Q=e("EjP+"),Y=e("oHD5"),ll=e("/HM/"),nl=e("6zKI"),el=e("zHsR"),tl=e("CCai"),ul=e("cNYU"),al=e("SJSi"),il=e("BBE7"),ol=e("uie/"),dl=e("Wd3l"),rl=e("fPG0"),sl=e("jbTV"),cl=e("nKUZ");e.d(n,"DashboardModuleNgFactory",function(){return pl});var pl=t["ɵcmf"](u.a,[],function(l){return t["ɵmod"]([t["ɵmpd"](512,t.ComponentFactoryResolver,t["ɵCodegenComponentFactoryResolver"],[[8,[a.a,i.a,o.a,d.a,r.a,s.a,c.a,p.a,f.a,m.a,g.a,h.a,v.a,b.a,C.a,y.a,k.a]],[3,t.ComponentFactoryResolver],t.NgModuleRef]),t["ɵmpd"](4608,R.a,R.b,[t.LOCALE_ID]),t["ɵmpd"](4608,x.a,x.a,[]),t["ɵmpd"](4608,x.b,x.b,[]),t["ɵmpd"](4608,I.a,I.a,[T.a]),t["ɵmpd"](4608,I.b,I.b,[T.a]),t["ɵmpd"](4608,w.a,E.a,[t.LOCALE_ID]),t["ɵmpd"](4608,D.a,D.a,[]),t["ɵmpd"](4608,q.a,q.a,[w.a]),t["ɵmpd"](4608,_.a,_.a,[]),t["ɵmpd"](4608,N.a,N.a,[t.ApplicationRef,t.ComponentFactoryResolver,t.Injector,[2,N.b]]),t["ɵmpd"](512,R.e,R.e,[]),t["ɵmpd"](512,P.w,P.w,[[2,P.m],[2,P.c]]),t["ɵmpd"](512,S.a,S.a,[]),t["ɵmpd"](512,x.c,x.c,[]),t["ɵmpd"](512,x.d,x.d,[]),t["ɵmpd"](512,x.e,x.e,[]),t["ɵmpd"](512,O.a,O.a,[]),t["ɵmpd"](512,M.ChartsModule,M.ChartsModule,[]),t["ɵmpd"](512,F.a,F.a,[]),t["ɵmpd"](512,B.a,B.a,[]),t["ɵmpd"](512,V.a,V.a,[]),t["ɵmpd"](512,U.a,U.a,[]),t["ɵmpd"](512,A.a,A.a,[]),t["ɵmpd"](512,z.a,z.a,[]),t["ɵmpd"](512,L.a,L.a,[]),t["ɵmpd"](512,K.a,K.a,[]),t["ɵmpd"](512,j.a,j.a,[]),t["ɵmpd"](512,G.a,G.a,[]),t["ɵmpd"](512,X.a,X.a,[]),t["ɵmpd"](512,J.a,J.a,[]),t["ɵmpd"](512,Z.a,Z.a,[]),t["ɵmpd"](512,H.a,H.a,[]),t["ɵmpd"](512,$.a,$.a,[]),t["ɵmpd"](512,W.a,W.a,[]),t["ɵmpd"](512,Q.a,Q.a,[]),t["ɵmpd"](512,Y.a,Y.a,[]),t["ɵmpd"](512,ll.a,ll.a,[]),t["ɵmpd"](512,nl.a,nl.a,[]),t["ɵmpd"](512,el.a,el.a,[]),t["ɵmpd"](512,tl.a,tl.a,[]),t["ɵmpd"](512,ul.a,ul.a,[]),t["ɵmpd"](512,al.a,al.a,[]),t["ɵmpd"](512,il.a,il.a,[]),t["ɵmpd"](512,ol.a,ol.a,[]),t["ɵmpd"](512,dl.a,dl.a,[]),t["ɵmpd"](512,rl.a,rl.a,[]),t["ɵmpd"](512,sl.a,sl.a,[]),t["ɵmpd"](512,u.a,u.a,[]),t["ɵmpd"](1024,P.r,function(){return[[{path:"",component:cl.a,data:{title:"Dashboard"}}]]},[])])})},URqq:function(l,n,e){"use strict";function t(l){return i["ɵvid"](0,[(l()(),i["ɵeld"](0,null,null,2,"ion-option",[],null,null,null,null,null)),i["ɵdid"](16384,[[8,4]],0,o.a,[i.ElementRef],{value:[0,"value"]},null),(l()(),i["ɵted"](null,["",""]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,2,0,n.context.$implicit)})}function u(l){return i["ɵvid"](0,[i["ɵqud"](402653184,1,{grid:0}),(l()(),i["ɵeld"](0,[["content",1]],null,54,"div",[],null,null,null,null,null)),(l()(),i["ɵted"](null,["\n  "])),(l()(),i["ɵeld"](0,null,null,51,"div",[],null,null,null,null,null)),(l()(),i["ɵted"](null,["\n    "])),(l()(),i["ɵeld"](0,null,null,48,"ion-list",[],null,null,null,null,null)),i["ɵdid"](16384,null,0,d.a,[r.a,i.ElementRef,i.Renderer,s.a,c.a,p.a],null,null),(l()(),i["ɵted"](null,["\n      "])),(l()(),i["ɵeld"](0,null,null,16,"ion-item",[["class","item item-block"]],null,null,null,f.a,f.b)),i["ɵdid"](1097728,null,3,m.a,[g.a,r.a,i.ElementRef,i.Renderer,[2,h.a]],null,null),i["ɵqud"](335544320,2,{contentLabel:0}),i["ɵqud"](603979776,3,{_buttons:1}),i["ɵqud"](603979776,4,{_icons:1}),i["ɵdid"](16384,null,0,v.a,[],null,null),(l()(),i["ɵted"](2,["\n        "])),(l()(),i["ɵeld"](0,null,1,2,"ion-label",[["for","inputUrl"]],null,null,null,null,null)),i["ɵdid"](16384,[[2,4]],0,b.a,[r.a,i.ElementRef,i.Renderer,[8,null],[8,null],[8,null],[8,null]],null,null),(l()(),i["ɵted"](null,["OData URL:"])),(l()(),i["ɵted"](2,["\n        "])),(l()(),i["ɵeld"](0,null,3,4,"ion-input",[["name","inputUrl"],["type","text"],["width","400"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(l,n,e){var t=!0,u=l.component;if("ngModelChange"===n){t=!1!==(u.url=e)&&t}if("ngModelChange"===n){t=!1!==u.onUrlChange(e)&&t}return t},y.a,y.b)),i["ɵdid"](671744,null,0,k.f,[[8,null],[8,null],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),i["ɵprd"](2048,null,k.g,null,[k.f]),i["ɵdid"](16384,null,0,k.h,[k.g],null,null),i["ɵdid"](5423104,null,0,R.a,[r.a,s.a,g.a,x.a,i.ElementRef,i.Renderer,[2,I.a],[2,m.a],[2,k.g],p.a],{type:[0,"type"]},null),(l()(),i["ɵted"](2,["\n      "])),(l()(),i["ɵted"](null,["\n      "])),(l()(),i["ɵeld"](0,null,null,22,"ion-item",[["class","item item-block"]],null,null,null,f.a,f.b)),i["ɵdid"](1097728,null,3,m.a,[g.a,r.a,i.ElementRef,i.Renderer,[2,h.a]],null,null),i["ɵqud"](335544320,5,{contentLabel:0}),i["ɵqud"](603979776,6,{_buttons:1}),i["ɵqud"](603979776,7,{_icons:1}),i["ɵdid"](16384,null,0,v.a,[],null,null),(l()(),i["ɵted"](2,["\n        "])),(l()(),i["ɵeld"](0,null,1,2,"ion-label",[["for","selectTable"]],null,null,null,null,null)),i["ɵdid"](16384,[[5,4]],0,b.a,[r.a,i.ElementRef,i.Renderer,[8,null],[8,null],[8,null],[8,null]],null,null),(l()(),i["ɵted"](null,["Entities:"])),(l()(),i["ɵted"](2,["\n        "])),(l()(),i["ɵeld"](0,null,3,10,"ion-select",[["interface","popover"],["name","selectTable"]],[[2,"select-disabled",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"click"],[null,"keyup.space"]],function(l,n,e){var t=!0,u=l.component;if("click"===n){t=!1!==i["ɵnov"](l,38)._click(e)&&t}if("keyup.space"===n){t=!1!==i["ɵnov"](l,38)._keyup()&&t}if("ngModelChange"===n){t=!1!==u.updateGrid(e)&&t}if("ngModelChange"===n){t=!1!==(u.tableName=e)&&t}return t},T.a,T.b)),i["ɵdid"](1228800,null,1,w.a,[x.a,g.a,r.a,i.ElementRef,i.Renderer,[2,m.a],E.a],{interface:[0,"interface"]},null),i["ɵqud"](603979776,8,{options:1}),i["ɵprd"](1024,null,k.i,function(l){return[l]},[w.a]),i["ɵdid"](671744,null,0,k.f,[[8,null],[8,null],[8,null],[2,k.i]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),i["ɵprd"](2048,null,k.g,null,[k.f]),i["ɵdid"](16384,null,0,k.h,[k.g],null,null),(l()(),i["ɵted"](null,["\n          "])),(l()(),i["ɵand"](16777216,null,null,1,null,t)),i["ɵdid"](802816,null,0,D.k,[i.ViewContainerRef,i.TemplateRef,i.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(l()(),i["ɵted"](null,["\n        "])),(l()(),i["ɵted"](2,["\n      "])),(l()(),i["ɵted"](null,["\n\n\n      "])),(l()(),i["ɵeld"](0,null,null,2,"seed-grid",[],null,null,null,q.a,q.b)),i["ɵdid"](114688,[[1,4],["grid",4]],0,_.a,[N.i,P.a,i.ApplicationRef],{url:[0,"url"],tableName:[1,"tableName"]},null),(l()(),i["ɵted"](null,["\n      "])),(l()(),i["ɵted"](null,["\n    "])),(l()(),i["ɵted"](null,["\n  "])),(l()(),i["ɵted"](null,["\n"]))],function(l,n){var e=n.component;l(n,20,0,"inputUrl",e.url);l(n,23,0,"text");l(n,38,0,"popover");l(n,41,0,"selectTable",e.tableName),l(n,46,0,e.tables),l(n,51,0,e.url,e.tableName)},function(l,n){l(n,19,0,i["ɵnov"](n,22).ngClassUntouched,i["ɵnov"](n,22).ngClassTouched,i["ɵnov"](n,22).ngClassPristine,i["ɵnov"](n,22).ngClassDirty,i["ɵnov"](n,22).ngClassValid,i["ɵnov"](n,22).ngClassInvalid,i["ɵnov"](n,22).ngClassPending),l(n,37,0,i["ɵnov"](n,38)._disabled,i["ɵnov"](n,43).ngClassUntouched,i["ɵnov"](n,43).ngClassTouched,i["ɵnov"](n,43).ngClassPristine,i["ɵnov"](n,43).ngClassDirty,i["ɵnov"](n,43).ngClassValid,i["ɵnov"](n,43).ngClassInvalid,i["ɵnov"](n,43).ngClassPending)})}function a(l){return i["ɵvid"](0,[(l()(),i["ɵeld"](0,null,null,1,"ng-component",[],null,null,null,u,O)),i["ɵdid"](114688,null,0,C.a,[N.i],null,null)],function(l,n){l(n,1,0)},null)}var i=e("/oeL"),o=e("/0ww"),d=e("N1jE"),r=e("7exx"),s=e("T+6e"),c=e("P2/H"),p=e("i6mF"),f=e("xBvw"),m=e("P/lZ"),g=e("MrVa"),h=e("QoJ6"),v=e("fAv2"),b=e("G2Fa"),C=e("nKUZ"),y=e("IXtm"),k=e("bm2B"),R=e("GHbS"),x=e("awSE"),I=e("OkuX"),T=e("T/K1"),w=e("gzvd"),E=e("cMvI"),D=e("qbdv"),q=e("Dcs8"),_=e("eBJg"),N=e("CPp0"),P=e("QF5D");e.d(n,"a",function(){return M});var S=["ion-label[_ngcontent-%COMP%]{ text-align: left; flex: initial !important; }"],O=i["ɵcrt"]({encapsulation:0,styles:S,data:{}}),M=i["ɵccf"]("ng-component",C.a,a,{url:"url",tableName:"tableName"},{},[])},eBJg:function(l,n,e){"use strict";var t=e("CPp0"),u=e("CbqR"),a=e("/oeL"),i=e("JxO5");e.d(n,"a",function(){return o});var o=function(){function l(l,n,e){this.http=l,this.modalCtrl=n,this.app=e,this.sort=[],this.pageSize=10,this.skip=0,this.groups=[],this.paginate=!0,this.oDataVersion=4,this.aggregations={},this.aggregationSelects=new Map,this.aliases={},this.aliasInputs=new Map,this.selectOnlyVisible=!0,this.columns=new Array,this.hiddenColumns=[],this.service=new u.a(this.http)}return l.prototype.ngOnInit=function(){var l=this;this.view=this.service,this.view.subscribe(function(n){if(n){var e=n.data,t=Object.keys(e[0]),u=t.filter(function(l){return l.startsWith("@odata.id")}),a=u&&u.length>0;if(l.metadata&&0==a)l.columns=l.metadata.columns.map(function(l){var n=l.name,e=l.type;return{field:n,header:n,editor:e,filter:e,title:n}});else{var i=Object.keys(e[0]).filter(function(l){return!(-1!=l.indexOf("@odata"))});l.columns=i.map(function(l){var n="text",t=e[0],u=t[l],a="boolean"==typeof u,i="number"==typeof u;if(null==u)n="text";else if(a)n="boolean";else if(i)n="numeric";else try{var o=new Date(u);isNaN(o.getDate())||(n="date")}catch(l){}return{field:l,header:l,editor:n,filter:n,title:l}})}l.grid.columns.reset(l.columns)}})},l.prototype.sortChange=function(l){this.sort=l,this.load()},l.prototype.aggregationChange=function(l,n){this.aggregationSelects.set(n,l)},l.prototype.aliasChange=function(l,n){this.aliasInputs.set(n,l)},l.prototype.hasKey=function(l,n){},l.prototype.showDetailsOfGroupBy=function(l,n){var e=!1;if(l){var t=Object.keys(l);if(t){var u=t.filter(function(l){return"@odata.id"===l});u&&(e=u.length>0)}}return!!e},l.prototype.groupChange=function(l){if(l&&l.length>0){var n=l[l.length-1],e=new Array,t=this.metadata&&this.metadata.columns;t&&t.forEach(function(l){l.key&&e.push({field:l.name,aggregate:"count",alias:l.name})}),n.aggregates=e}this.groups=l},l.prototype.filterChange=function(l){this.filter=l,this.load()},l.prototype.pageChange=function(l){this.skip=l.skip,this.load()},l.prototype.load=function(l){var n=this,e=null;if(e=l||{skip:this.skip,take:this.pageSize,filter:this.filter,sort:this.sort,group:this.groups},this.dataItem){e.filter?e.filter.filters.shift():e.filter={logic:"and",filters:new Array};var t=this;for(var u in this.dataItem)!function(l){var n=-1!=l.indexOf("@"),u=Object.keys(t.dataItem),a=u.some(function(n){return n.startsWith(l+"@")});if(!n&&!a){e.filter.logic="and";var i=t.dataItem[l];"string"==typeof i&&(i=encodeURIComponent(i));var o={field:l,operator:"eq",value:i};e.filter.filters.unshift(o)}}(u)}if(this.paginate||(delete e.skip,delete e.take),this.selectOnlyVisible&&this.hiddenColumns.length>0){var a=new Array;this.columns.map(function(l){return l.field}).filter(function(l){return!(n.hiddenColumns.indexOf(l)>-1)}).forEach(function(l){a.push(l)}),e.select=a}this.url&&this.tableName&&this.service.query(e,this.url,this.tableName,!0,this.oDataVersion),this.app.tick()},l.prototype.refresh=function(){this.load()},l.prototype.restoreColumns=function(){this.hiddenColumns=[]},l.prototype.hideColumn=function(l){this.hiddenColumns.push(l)},l.ctorParameters=function(){return[{type:t.i},{type:i.d},{type:a.ApplicationRef}]},l}()},lAwg:function(l,n,e){"use strict";function t(l){return a["ɵvid"](0,[],null,null)}function u(l){return a["ɵvid"](0,[(l()(),a["ɵeld"](0,null,null,9,"kendo-grid-column",[],null,null,null,t,r)),a["ɵprd"](6144,null,i.a,null,[o.a]),a["ɵdid"](49152,null,7,o.a,[[3,i.a]],null,null),a["ɵqud"](603979776,1,{headerTemplates:1}),a["ɵqud"](335544320,2,{footerTemplate:0}),a["ɵqud"](335544320,3,{template:0}),a["ɵqud"](335544320,4,{groupHeaderTemplate:0}),a["ɵqud"](335544320,5,{groupFooterTemplate:0}),a["ɵqud"](335544320,6,{editTemplate:0}),a["ɵqud"](335544320,7,{filterCellTemplate:0})],null,null)}var a=e("/oeL"),i=e("lMPX"),o=e("YDbj");e.d(n,"b",function(){return r}),n.a=t;var d=[],r=a["ɵcrt"]({encapsulation:2,styles:d,data:{}});a["ɵccf"]("kendo-grid-column",o.a,u,{title:"title",width:"width",locked:"locked",hidden:"hidden",media:"media",style:"style",headerStyle:"headerStyle",footerStyle:"footerStyle",cssClass:"class",headerClass:"headerClass",footerClass:"footerClass",field:"field",format:"format",sortable:"sortable",editor:"editor",filter:"filter",filterable:"filterable",editable:"editable"},{},[])},mspx:function(l,n,e){"use strict";var t=e("nKUZ");e.d(n,"a",function(){return u});var u=(t.a,function(){function l(){}return l}())},nKUZ:function(l,n,e){"use strict";var t=e("CPp0");e.d(n,"a",function(){return u});var u=function(){function l(l){this.http=l,this.tables=[],console.debug("DashboardComponent constructor")}return l.prototype.onUrlChange=function(l){localStorage.setItem("oDataUrl",l),this.getTables(l)},l.columnType=function(l){return"Edm.Int16"==l||"Edm.Int32"==l||"Edm.Int64"==l||"Edm.Double"==l?"numeric":"Edm.Boolean"==l?"boolean":"Edm.DateTimeOffset"==l||"Edm.DateTime"==l?"date":"text"},l.prototype.getTables=function(n){var e,t=this,u=null;console.log("reading metadata from xml");var e=n+"$metadata";return u=this.http.get(e),u.map(function(n){var e=n.text(),t=new DOMParser,u=new Array,a=t.parseFromString(e,"text/xml"),i=a.getElementsByTagName("Edmx"),o=4;if(i&&i.length>0){var d=i[0],r=d.attributes.Version.value;r&&(o=parseInt(r))}for(var s=a.getElementsByTagName("EntitySet"),c=a.getElementsByTagName("EntityType"),p=0;p<s.length;p++){for(var f=s[p],m=f.attributes.Name.value,g=f.attributes.EntityType.value.split("."),h=g[g.length-1],v=new Array,b=0;b<c.length;b++){var C=c[b];if(C.attributes.Name.value==h){var y=new Array,k=C.getElementsByTagName("Property"),R=C.getElementsByTagName("Key");if(R&&R.length>0)for(var x=R[0],I=x.getElementsByTagName("PropertyRef"),T=0;T<I.length;T++){var w=I[T],E=w.attributes.Name.value;y.push(E)}for(var D=0;D<k.length;D++)!function(){var n=k[D],e=n.attributes.Name.value,t=n.attributes.Type.value,u=l.columnType(t),a=n.attributes.Nullable&&n.attributes.Nullable.value||null,i=y.filter(function(l){return l==e}).length>0,o={name:e,type:u,nullable:a,key:i};v.push(o)}()}}var q={name:m,columns:v,version:o};u.push(q)}return u}).subscribe(function(l){t.metadata=l,t.grid.oDataVersion=l[0].version||4,t.tables=t.metadata.map(function(l){return l.name}),console.log("readed metadata from xml")}),u},l.prototype.updateGrid=function(l){if(l){if(localStorage.setItem("oDataTable",l),this.tableName=l,this.grid.tableName=l,this.metadata){var n=this.metadata.filter(function(n){return n.name==l});n&&n.length>0&&(this.grid.metadata=n[0])}this.grid.sort=[],this.grid.groups=[],this.grid.aggregations=[],this.grid.refresh()}},l.prototype.ngOnInit=function(){var l=this,n=localStorage.getItem("oDataUrl");this.url=n||"https://gis.ices.dk/qcservice/api/qcdata/",this.getTables(this.url).subscribe(function(){var n=localStorage.getItem("oDataTable");l.tableName=n||"mains",l.updateGrid(l.tableName)}),console.debug("DashboardComponent ngOnInit")},l.ctorParameters=function(){return[{type:t.i}]},l}()},qMpD:function(l,n,e){"use strict";e.d(n,"a",function(){return t});var t=[".pageSizeInput[_ngcontent-%COMP%]{width:50px}"]}});