-
Notifications
You must be signed in to change notification settings - Fork 0
/
common-es5.141d643e7ba8fff2818c.js
1 lines (1 loc) · 2.6 KB
/
common-es5.141d643e7ba8fff2818c.js
1
!function(){function n(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function t(n,t){for(var e=0;e<t.length;e++){var o=t[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(n,o.key,o)}}function e(n,e,o){return e&&t(n.prototype,e),o&&t(n,o),n}(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{umqh:function(t,o,r){"use strict";r.d(o,"a",function(){return f});var a=r("mcff"),c=r("kZht"),i=r("An66"),u=r("hCLc");function l(n,t){if(1&n&&c.Qb(0,"p",3),2&n){var e=c.hc();c.oc("innerHTML",e.data.description,c.yc)}}var f=function(){var t=function(){function t(e,o){n(this,t),this.data=e,this.dialogRef=o}return e(t,[{key:"ngAfterViewInit",value:function(){document.querySelectorAll("pre code").forEach(function(n){hljs.highlightBlock(n)})}},{key:"close",value:function(){this.dialogRef.close()}}]),t}();return t.\u0275fac=function(n){return new(n||t)(c.Ob(a.a),c.Ob(a.d))},t.\u0275cmp=c.Ib({type:t,selectors:[["code-dialog"]],decls:12,vars:3,consts:[[3,"innerHTML",4,"ngIf"],[1,"html"],["mat-button","",1,"dialog-close",3,"click"],[3,"innerHTML"]],template:function(n,t){1&n&&(c.Vb(0,"h3"),c.Gc(1),c.Ub(),c.Gc(2,"\n"),c.Ec(3,l,1,1,"p",0),c.Gc(4,"\n"),c.Vb(5,"pre"),c.Vb(6,"code",1),c.Gc(7),c.Ub(),c.Ub(),c.Gc(8,"\n\n"),c.Vb(9,"button",2),c.dc("click",function(){return t.close()}),c.Gc(10,"OK"),c.Ub(),c.Gc(11,"\n")),2&n&&(c.Cb(1),c.Hc(t.data.title),c.Cb(2),c.oc("ngIf",t.data.description),c.Cb(4),c.Hc(t.data.code))},directives:[i.m,u.a],encapsulation:2,changeDetection:0}),t}()},zMYQ:function(t,o,r){"use strict";r.d(o,"a",function(){return c});var a=r("PV4w"),c=function(){function t(){n(this,t)}return e(t,null,[{key:"generator",value:function(t,o){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return(new a.a).run(function(t){return function(){function t(){n(this,t)}return e(t,null,[{key:"generateTable",value:function(n,t,e){return new Array(n).fill(0).map(function(o,r){var a=e+r+1,c={id:a,reverseId:1024*Math.round(Math.random()+512*n+t+10*e),name:"Random - "+(100*(Math.random()+1)).toFixed(0)+"__"+a,description:"Random - "+(100*(Math.random()+1)).toFixed(0)+"__"+a,guid:"5cdae5b2ba0a57f709b72142__"+a,someBoolean:Math.random()>.5,someNull:Math.random()>.5?null:"not null"};if(t>6){c["About Big Text And More Powerful Label Fugiat Tempor Sunt Nostrud"]=Array(Math.ceil(0+1e3*Math.random())).fill(null).map(function(){return(~~(36*Math.random())).toString(36)}).join("");for(var i=6;i<=t-1;i++)c["column-"+i]="$row-".concat(a," $col-").concat(i)}return c})}}]),t}().generateTable(t.rows,t.cols,t.start)},{rows:t,cols:o,start:r})}}]),t}()}}])}();