-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon-es2015.141d643e7ba8fff2818c.js
1 lines (1 loc) · 1.94 KB
/
common-es2015.141d643e7ba8fff2818c.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{umqh:function(t,n,e){"use strict";e.d(n,"a",function(){return l});var o=e("mcff"),a=e("kZht"),c=e("An66"),r=e("hCLc");function i(t,n){if(1&t&&a.Qb(0,"p",3),2&t){const t=a.hc();a.oc("innerHTML",t.data.description,a.yc)}}let l=(()=>{class t{constructor(t,n){this.data=t,this.dialogRef=n}ngAfterViewInit(){document.querySelectorAll("pre code").forEach(t=>{hljs.highlightBlock(t)})}close(){this.dialogRef.close()}}return t.\u0275fac=function(n){return new(n||t)(a.Ob(o.a),a.Ob(o.d))},t.\u0275cmp=a.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(t,n){1&t&&(a.Vb(0,"h3"),a.Gc(1),a.Ub(),a.Gc(2,"\n"),a.Ec(3,i,1,1,"p",0),a.Gc(4,"\n"),a.Vb(5,"pre"),a.Vb(6,"code",1),a.Gc(7),a.Ub(),a.Ub(),a.Gc(8,"\n\n"),a.Vb(9,"button",2),a.dc("click",function(){return n.close()}),a.Gc(10,"OK"),a.Ub(),a.Gc(11,"\n")),2&t&&(a.Cb(1),a.Hc(n.data.title),a.Cb(2),a.oc("ngIf",n.data.description),a.Cb(4),a.Hc(n.data.code))},directives:[c.m,r.a],encapsulation:2,changeDetection:0}),t})()},zMYQ:function(t,n,e){"use strict";e.d(n,"a",function(){return a});var o=e("PV4w");class a{static generator(t,n,e=0){return(new o.a).run(t=>class{static generateTable(t,n,e){return new Array(t).fill(0).map((o,a)=>{const c=e+a+1,r={id:c,reverseId:1024*Math.round(Math.random()+512*t+n+10*e),name:"Random - "+(100*(Math.random()+1)).toFixed(0)+"__"+c,description:"Random - "+(100*(Math.random()+1)).toFixed(0)+"__"+c,guid:"5cdae5b2ba0a57f709b72142__"+c,someBoolean:Math.random()>.5,someNull:Math.random()>.5?null:"not null"};if(n>6){r["About Big Text And More Powerful Label Fugiat Tempor Sunt Nostrud"]=Array(Math.ceil(0+1e3*Math.random())).fill(null).map(()=>(~~(36*Math.random())).toString(36)).join("");for(let t=6;t<=n-1;t++)r["column-"+t]=`$row-${c} $col-${t}`}return r})}}.generateTable(t.rows,t.cols,t.start),{rows:t,cols:n,start:e})}}}}]);