Lines Matching refs:value

134 …ip=ta,t.inflate=aa,t.inflateRaw=ia,t.ungzip=na,Object.defineProperty(t,"__esModule",{value:!0})}));
135value:function(e,t,n){for(var i=atob(this.toDataURL(t,n).split(",")[1]),o=i.length,r=new Uint8Arra…
136 …t getters and setters.");d!=Array.prototype&&d!=Object.prototype&&(d[h]=l.value)};$jscomp.getGloba…
137 …p);h!=p&&null!=h&&$jscomp.defineProperty(l,d,{configurable:!0,writable:!0,value:h})}};$jscomp.poly…
140value:function(){return $jscomp.arrayIterator(this)}});$jscomp.initSymbolIterator=function(){}};$j…
141 …function"==typeof z)for(d=z.call(d);!(z=d.next()).done;)h.push(l.call(p,z.value));else for(var z=d…
144 …ll or a function");d.prototype=Object.create(h&&h.prototype,{constructor:{value:d,writable:!0,conf…
148 …unction(){};return{s:v,n:function(){return p>=d.length?{done:!0}:{done:!1,value:d[p++]}},e:functio…
154 … 0;try{for(var B=d[Symbol.iterator](),C;!(p=(C=B.next()).done)&&(l.push(C.value),!h||l.length!==h)…
161 …reateForOfIteratorHelper(b);var t;try{for(b.s();!(t=b.n()).done;){var h=t.value,q=h.data;switch(h.…
165 l.value,u=p.key,y=p.data;switch(u){case "M":g.push({key:"M",data:_toConsumableArray(y)});a=y;e=_sli…
183 …ion b(a){_classCallCheck(this,b);this.helper=a}_createClass(b,[{key:"fillPolygon",value:function(a,
184value:function(a,e){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:!1,f=C(a,e);c&&(c…
185value:function(a,e){var c=[];if(1<e.length)for(var f=1;f<e.length;f++){var b=e[f-1];3>h(b)||(b=[e[…
187value:function(a,e){return this._fillPolygon(a,e,!0)}}]);return a}(U),oa=function(b){function a(){…
188value:function(a,e){var c=C(a,e=Object.assign({},e,{curveStepCount:4,hachureAngle:0,roughness:1}))…
189 2);var r=b/4,g=_createForOfIteratorHelper(a),n;try{for(g.s();!(n=g.n()).done;)for(var m=n.value,l=h…
190 …b,[{key:"fillPolygon",value:function(a,e){var c=C(a,e);return{type:"fillSketch",ops:this.dashedLin…
191 …{_classCallCheck(this,b);this.helper=a}_createClass(b,[{key:"fillPolygon",value:function(a,e){var …
192 …eturn{type:"fillSketch",ops:this.zigzagLines(c,b,e)}}},{key:"zigzagLines",value:function(a,e,c){va…
193 …tion b(a){_classCallCheck(this,b);this.seed=a}_createClass(b,[{key:"next",value:function(){return …
195value:function(a){return a?Object.assign({},this.defaultOptions,a):this.defaultOptions}},{key:"_d"…
196value:function(a,e,c,b,d){d=this._o(d);var f=[],g;g=N([[a,e],[a+c,e],[a+c,e+b],[a,e+b]],!0,d);d.fi…
197value:function(a,e,c,b){a=this.ellipse(a,e,c,c,b);return a.shape="circle",a}},{key:"linearPath",va…
198 …k)));return"none"!==k.stroke&&m.push(l),this._d("arc",m,k)}},{key:"curve",value:function(a,e){var …
200 …}return"none"!==c.stroke&&b.push(d),this._d("curve",b,c)}},{key:"polygon",value:function(a,e){var …
201 value:function(a,e){var c=this._o(e),b=[];if(!a)return this._d("path",b,c);a=(a||"").replace(/\n/g,…
202 b.n()).done;){var m=l.value,n=m.data;switch(m.key){case "M":h();a=[n[0],n[1]];f.push(a);break;case …
203 …e=_createForOfIteratorHelper(e),g;try{for(e.s();!(g=e.n()).done;){var k=g.value,h=k.data;switch(k.…
205 …}},{key:"opsToPath",value:function(a,e){var c="",b=_createForOfIteratorHelper(a.ops),d;try{for(b.s…
206value:function(a){var e=a.options||this.defaultOptions,c=[];a=_createForOfIteratorHelper(a.sets||[…
207value:function(){return Math.floor(Math.random()*Math.pow(2,31))}}]);return b}(),ua=function(){fun…
208 e.n()).done;){var h=d.value;switch(h.type){case "path":b.save();b.strokeStyle="none"===c.stroke?"tr…
209value:function(a,e,c){var b=c.fillWeight;0>b&&(b=c.strokeWidth/2);a.save();c.fillLineDash&&a.setLi…
210value:function(){return this.gen.defaultOptions}},{key:"line",value:function(a,b,c,d,k){a=this.gen…
211 value:function(a,b,c,d,k){a=this.gen.ellipse(a,b,c,d,k);return this.draw(a),a}},{key:"circle",value
212value:function(a,b){var c=this.gen.curve(a,b);return this.draw(c),c}},{key:"path",value:function(a…
213 …b=_createForOfIteratorHelper(b),g;try{for(b.s();!(g=b.n()).done;){var l=g.value,m=null;switch(l.ty…
214 …ppendChild(m)}}catch(x){b.e(x)}finally{b.f()}return k}},{key:"fillSketch",value:function(a,b,c){va…
215 …dashoffset","".concat(c.fillLineDashOffset)),a}},{key:"getDefaultOptions",value:function(){return …
216value:function(a,b){return this.gen.opsToPath(a,b)}},{key:"line",value:function(a,b,c,d,h){a=this.…
217value:function(a,b){var c=this.gen.polygon(a,b);return this.draw(c)}},{key:"arc",value:function(a,…
249 …rea.style.height="100%";mxLog.textarea.style.resize="none";mxLog.textarea.value=mxLog.buffer;mxLog…
250 …s.copy(mxLog.textarea.value)}catch(k){mxUtils.alert(k)}});mxLog.addButton("Show",function(a){try{m…
251 function(a){mxLog.textarea.value=""});d=c=0;"number"===typeof window.innerWidth?(c=window.innerHeig…
254 …ts[b],b<arguments.length-1&&(a+=" ");null!=mxLog.textarea?(mxLog.textarea.value+=a,null!=navigator…
276 …e 3:case 4:case 8:return a.createTextNode(null!=b.nodeValue?b.nodeValue:b.value)}},createXmlDocume…
281 …es;if(null!=g)for(var k=0;k<g.length;k++){var l=mxUtils.htmlEntities(g[k].value);f.push(" "+g[k].n…
284 …ame);var c=a.attributes;if(null!=c)for(var d=0;d<c.length;d++){var e=c[d].value;null!=e&&0<e.lengt…
413value=b;return this.addField(a,d)};mxForm.prototype.addCheckbox=function(a,b){var c=document.creat…
488 …[a]={value:b,fallback:c}};mxImageBundle.prototype.getImage=function(a){var b=null;null!=a&&(a=this… property in mxImageBundle.putImage.images
570 …replace(/&gt;/g,"&amp;gt;").replace(/</g,"&lt;").replace(/>/g,"&gt;");a=b.value.replace(/&/g,"&amp…
693 function mxText(a,b,c,d,e,f,g,k,l,m,n,p,q,r,t,u,x,y,B,A,z){mxShape.call(this);this.value=a;this.bou…
697value)||this.dialect==mxConstants.DIALECT_STRICTHTML,k=g?"html":"",l=this.value;g||"html"!=k||(l=m…
698 (l=mxUtils.replaceTrailingNewlines(l,"<div><br></div>"));var l=!mxUtils.isNode(this.value)&&this.re…
699 …this.checkBounds()&&this.cacheEnabled&&this.lastValue==this.value&&(mxUtils.isNode(this.value)||th…
700 …(this,arguments),mxUtils.isNode(this.value)||this.dialect==mxConstants.DIALECT_STRICTHTML?this.las…
706 …d0-\u065f\u066a-\u06ef\u06fa-\u07ff\ufb1d-\ufdff\ufe70-\ufefc]/.exec(this.value);return null!=a&&0…
709 …this.scale;else try{var e=a.getBBox();"string"==typeof this.value&&0==mxUtils.trim(this.value)?thi…
715 mxText.prototype.getHtmlValue=function(){var a=this.value;this.dialect!=mxConstants.DIALECT_STRICTH…
721 …y/100+"; ");this.node.setAttribute("style",d);d=mxUtils.isNode(this.value)?this.value.outerHTML:th…
725 …eInnerHtml=function(a){if(mxUtils.isNode(this.value))a.innerHTML=this.value.outerHTML;else{var b=t…
730 …function(){if(mxUtils.isNode(this.value))this.node.innerHTML="",this.node.appendChild(this.value);…
1012 …s,this.source))};function mxValueChange(a,b,c){this.model=a;this.cell=b;this.previous=this.value=c}
1013 mxValueChange.prototype.execute=function(){null!=this.cell&&(this.value=this.previous,this.previous…
1015 …s))};function mxCellAttributeChange(a,b,c){this.cell=a;this.attribute=b;this.previous=this.value=c}
1016value.removeAttribute(this.attribute):this.cell.setAttribute(this.attribute,this.previous);this.pr… method in mxCell
1017 …ell.prototype.setId=function(a){this.id=a};mxCell.prototype.getValue=function(){return this.value};
1018 mxCell.prototype.setValue=function(a){this.value=a};mxCell.prototype.valueChanged=function(a){var b…
1126 …xt||c.text.dialect==mxConstants.DIALECT_STRICTHTML||mxUtils.isNode(c.text.value)||(d=c.text.getAut…
1166 …(a);this.resolveColor(a,"color",mxConstants.STYLE_FONTCOLOR);if(b||a.text.value!=d||a.text.isWrapp…
1167 null==a.text.bounds||!a.text.bounds.equals(c))a.text.dialect=g,a.text.value=d,a.text.bounds=c,a.tex…
1323 …ototype.labelChanged=function(a,b,c){this.model.beginUpdate();try{var d=a.value;this.cellLabelChan…
1459 …ls.isNode(a,f.type,f.attr,f.value)&&(b>f.max||b<f.min)?d+=f.countError+"\n":!f.source&&mxUtils.isN…
1558value=d;this.min=null!=e?e:0;this.max=null!=f?f:"n";this.validNeighbors=g;this.countError=mxResour… method in mxMultiplicity
1561 …l=function(a,b,c){b=a.model.getValue(b);return this.checkType(a,b,this.type,this.attr,this.value)};
1727 ….getParent(m)));var n=k=null;null!=this.edgeState&&(k=this.edgeState.cell.value,n=this.edgeState.c…
1984value;this.isNumericAttribute(a,b,c)&&(d=parseFloat(d),isNaN(d)||!isFinite(d))&&(d=0);return d};mx…
1993value&&c.value.nodeType==mxConstants.NODETYPE_ELEMENT){var b=d;d=mxUtils.importNode(a.document,c.v…
1994 c&&(d.setId(c),d.value.removeAttribute("id"))):d.setId(c.getAttribute("id"));if(null!=b)for(c=0;c<t…
2041value)?(u.value="",x.style.backgroundImage=x.jscStyle.backgroundImage,x.style.backgroundColor=x.js…
2042 A)&&u){var b=this.toString();this.caps&&(b=b.toUpperCase());this.hash&&(b="#"+b);u.value=b}a&z||!x|…
2045 …s.styleElement),y=!1,B=!1,A=1,z=2,C=4,v=8;u&&(q=function(){r.fromString(u.value,A);p()},mxJSColor.…
2113value)/100;isNaN(c)&&(c=1,n.value="100%");var c=.75*c,e=d.pageFormat||mxConstants.PAGE_FORMAT_A4_P…
2125 ….marginLeft="6px";n.value=e.getGridSize();f.appendChild(n);mxEvent.addListener(n,"change",function…
2128 …utton(mxResources.get("apply"),function(){a.hideDialog();var b=parseInt(n.value);isNaN(b)||e.gridS…
2130 …t.activeElement){a=!1;for(b=0;b<u.length;b++)c=u[b],x?"custom"==c.key&&(h.value=c.key,x=!1):null!=…
2131value=c.key,f.setAttribute("checked","checked"),f.defaultChecked=!0,f.checked=!0,k.removeAttribute…
2132 h.value="custom",g.style.display="none",m.style.display="")}}b="format-"+b;var f=document.createEle…
2135value];null!=c.format?(n.value=c.format.width/100,p.value=c.format.height/100,m.style.display="non…
2136 Math.floor(100*parseFloat(p.value)));"custom"!=h.value&&k.checked&&(c=new mxRectangle(0,0,c.height,…
2137 "change",E);mxEvent.addListener(h,"change",function(a){x="custom"==h.value;E(a,!0)});E();return{set…
2142 …:"180px";var w=mxUtils.button(d,function(){if(null==f||f(t.value))g&&a.hideDialog(),e(t.value)});w…
2143 …r="",b=null);0<=mxUtils.indexOf(a.dataTransfer.types,"text/uri-list")&&(t.value=decodeURIComponent…
2148 …elp"));for(var a=0;a<d.length;a++)if(0<d[a].ext.length&&b.value.toLowerCase().substring(b.value.le…
2151value].extension;var c=b.value.lastIndexOf(".drawio."),c=0<c?c:b.value.lastIndexOf(".");"drawio"!=…
2152value.toLowerCase();for(var c=0,f=0;f<d.length;f++){var g=d[f].extension,l=null;"drawio"!=g&&(l=g,…
2210 this.sidebar.graph.pasteStyle(n,[c]):l.insertHandler([c],""!=c.value&&"1"!=urlParams.sketch,this.si…
2376 …ll};Sidebar.prototype.cloneCell=function(a,b){var d=a.clone();null!=b&&(d.value=b);return d};Sideb…
2380 …etAttribute("title",mxResources.get("search")),g.style.display="none",l=c.value="",v());c.focus()}…
2381 …is.thumbWidth+10)));this.hideTooltip();if(""!=c.value){if(null!=h.parentNode&&(l!=c.value&&(v(),l=…
2383 …yle.cursor=""}))}}else v(),l=c.value="",q={},g.style.display="none",n=!1,c.focus()});this.searchSh…
2384value?(f.setAttribute("src",Sidebar.prototype.searchImage),f.setAttribute("title",mxResources.get(…
2641 …Cells=function(a){for(var b=[],d=0;d<a.length;d++){var e=null!=a[d].value?a[d].value.attributes:nu…
2650 …type.isReplacePlaceholders=function(a){return null!=a.value&&"object"==typeof a.value&&"1"==a.valu…
2664 …se if(0>h.indexOf("{"))for(var g=a;null==k&&null!=g;)null!=g.value&&"object"==typeof g.value&&(Gra…
2675 …=a.getAttribute("placeholder"),e=a;null==d&&null!=e;)null!=e.value&&"object"==typeof e.value&&(d=e…
2676 …ph.prototype.getLinkForCell=function(a){return null!=a.value&&"object"==typeof a.value?(a=a.value.…
2677 …rototype.getLinkTargetForCell=function(a){return null!=a.value&&"object"==typeof a.value?a.value.g…
2689value)){var d=null;Graph.translateDiagram&&null!=Graph.diagramLanguage&&(d=a.value.getAttribute("t…
2690value:a[c].nodeValue});e.sort(function(a,b){return a.name<b.name?-1:a.name>b.name?1:0});for(c=0;c<…
2729 …c++)if(null!=d&&(e[c].value=d[c]),null!=b)for(var f=this.model.getChildCells(e[c],!0),k=0;k<f.leng…
2788 …)for(var q=0;q<ba;q++){var ea=this.cloneCell(p[p.length-1]);null!=ea&&(ea.value="",this.model.add(…
2800 …bounds=null)}p.apply(this,arguments);a instanceof mxValueChange&&null!=a.cell&&null!=a.cell.value&&
2801 "object"==typeof a.cell.value&&this.invalidateDescendantsWithPlaceholders(a.cell)};Graph.prototype.…
2803value&&"object"==typeof a.value){if(this.isReplacePlaceholders(a)&&null!=a.getAttribute("placehold…
2804 e.hasAttribute(d)){this.setAttributeForCell(e,d,b);break}e=this.model.getParent(e)}var f=a.value.cl…
2806 …raph.translateDiagram&&null!=Graph.diagramLanguage&&mxUtils.isNode(a.value)&&a.value.hasAttribute(…
2807value&&"object"===typeof a.value?a.value.getAttribute(b):null;return null!=a?a:c};Graph.prototype.…
2813 …on(){return!1};Graph.prototype.addText=function(a,b,c){var d=new mxCell;d.value="Text";d.geometry=…
2842 …ength;f++){var h=c.getChildCells(g[f],!0)[e],l=c.cloneCell(h,!1),m=this.getCellGeometry(l);l.value=
2844 …length-1];else d=c.getParent(e);var g=d.getIndex(e),e=c.cloneCell(e,!1);e.value=null;c.add(d,e,g+(…
2845 …loneCell(e,!1);e.value=null;var h=this.getCellGeometry(e);if(null!=h){for(f=0;f<g.length;f++){a=c.…
2982value):parseInt(a.value);isNaN(q)||b!=mxConstants.STYLE_ROTATION||(q=mxUtils.mod(Math.round(100*q)…
2983 …bject("styleChanged","keys",[b],"values",[q],"cells",v))}finally{l.getModel().endUpdate()}}a.value=
2987value&&(a.value=f||"2");var e=k?parseFloat(a.value):parseInt(a.value);isNaN(e)||(a.value=e-(mxEven…
2996 …ckColor(b,function(a){u(a,null,!0)},h):(v.value=b,v.click(),mxEvent.addListener(v,"input",function…
3004 …ld";a=mxUtils.bind(this,function(a){if(null!=e)e(h);else{var c=parseInt(h.value),c=Math.min(100,Ma…
3005value=(null!=c?c:"100")+" %"}mxEvent.consume(a)});var h=this.addUnitInput(k,"%",16,d,a,10,-15,null…
3038 a=parseFloat(mxUtils.getValue(e.style,mxConstants.STYLE_ROTATION,0)),f.value=isNaN(a)?"":a+"°"}),k=…
3048value=this.inUnit(f.width)+(""==f.width?"":" "+this.getUnit());if(c||document.activeElement!=q)q.v…
3049 if(c||document.activeElement!=z)z.value=this.inUnit(f.y)+(""==f.y?"":" "+this.getUnit())}else w.sty…
3051 …metryHandler=function(a,b){function d(d){if(""!=a.value){var k=parseFloat(a.value);if(isNaN(k))a.v…
3052value=k+" "+f.getUnit()}}mxEvent.consume(d)}var e=this.editorUi.editor.graph,c=null,f=this;mxEvent…
3053value){var k=parseFloat(a.value);if(isNaN(k))a.value=c+" pt";else if(k!=c){e.getModel().beginUpdat…
3054 "blur",d);mxEvent.addListener(a,"change",d);mxEvent.addListener(a,"focus",function(){c=a.value});re…
3055 …s)});mxUtils.br(c);this.addKeyHandler(n,x);k=mxUtils.bind(this,function(a){var c=parseInt(n.value),
3056 … mxEventObject("styleChanged","keys",["width"],"values",[c],"cells",f))}n.value=c+" pt";mxEvent.co…
3059value=f+" pt"}else c.style.display="none";1==e.cells.length&&d.model.isEdge(a)?(f=d.model.getGeome…
3060 null==d.model.getTerminal(a,!1)?(t.value=f.targetPoint.x,w.value=f.targetPoint.y):v.style.display="…
3079 …dListener(M,"change",function(a){e.getModel().beginUpdate();try{var b=R[M.value];null!=b&&(e.setCe…
3080 …"change",function(a){e.setCellStyles(mxConstants.STYLE_TEXT_DIRECTION,X[P.value],c.cells);mxEvent.…
3083 b(g);for(g=0;g<k.length;g++)b(k[g])}O.value=a+" pt"}else if(window.getSelection||document.selection…
3084 …tribute("size");k[g].style.fontSize=S+"px";window.setTimeout(function(){O.value=S+" pt";S=null},0)…
3093 …xResources.get("lineheight"),null,null,function(a){var b=""==a.value?120:parseInt(a.value),b=Math.…
3094 …textarea&&e.cellEditor.textarea.contains(c)&&(c.style.lineHeight=b/100);a.value=b+" %"},function(a…
3095 …tiveElement==e.cellEditor.textarea&&(la=e.cellEditor.saveSelection())});a.value="120 %"}));k=f.clo…
3105 …ue(c.style,mxConstants.STYLE_FONTSIZE,Menus.prototype.defaultFontSize)),O.value=isNaN(a)?"":a+" pt…
3106 …yle,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);M.value=a==mxConstants.ALI…
3107 …DIRECTION_RTL?P.value="rightToLeft":a==mxConstants.TEXT_DIRECTION_LTR?P.value="leftToRight":a==mxC…
3108value=isNaN(a)?"":a+" pt";if(e||document.activeElement!=ka)a=parseFloat(mxUtils.getValue(c.style,m…
3109 …)),aa.value=isNaN(a)?"":a+" pt";if(e||document.activeElement!=ha)a=parseFloat(mxUtils.getValue(c.s…
3114 …"),a.style.fontSize=S+" pt",S=null):O.value=isNaN(n)?"":n+" pt",z=parseFloat(p),isNaN(z)?ia.value=…
3132 …e.style,"fillStyle","auto");""==b&&(b=mxConstants.DIRECTION_SOUTH);c.value=b;f.value=d;a.style.dis…
3133 …NT_DIRECTION,c.value,e.cells);b.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STY…
3134 f.value,e.cells);b.fireEvent(new mxEventObject("styleChanged","keys",["fillStyle"],"values",[f.valu…
3136value),b=Math.min(999,Math.max(0,isNaN(b)?1:b));b!=mxUtils.getValue(f.style,mxConstants.STYLE_STRO…
3137 …,"keys",[mxConstants.STYLE_STROKEWIDTH],"values",[b],"cells",f.cells)));w.value=b+" pt";mxEvent.co…
3139 …UNDED,mxConstants.STYLE_CURVED],d=["0",null];"rounded"==h.value?d=["1",null]:"curved"==h.value&&(d…
3186 …b=parseFloat(mxUtils.getValue(f.style,mxConstants.STYLE_STROKEWIDTH,1)),t.value=isNaN(b)?"":b+" pt…
3187value=isNaN(b)?"":b+" pt";h.style.visibility="connector"==f.style.shape||"filledEdge"==f.style.sha…
3192value=isNaN(b)?"":b+" pt";if(d||document.activeElement!=X)b=parseInt(mxUtils.getValue(f.style,mxCo…
3193 …0)),M.value=isNaN(b)?"":b+" pt";if(d||document.activeElement!=S)b=parseInt(mxUtils.getValue(f.styl…
3198value,b.cells),d.fireEvent(new mxEventObject("styleChanged","keys",["jumpStyle"],"values",[f.value
3199 …)a=parseInt(mxUtils.getValue(b.style,"jumpSize",Graph.defaultJumpSize)),l.value=isNaN(a)?"":a+" pt…
3231value):parseInt(f.value),b=d.fromUnit(Math.max(d.inUnit(1),isNaN(b)?d.inUnit(10):b));b!=c.getGridS…
3232value=this.inUnit(c.getGridSize())+" "+this.getUnit();var k=this.createStepper(f,b,this.getUnitSte…
3517value)){var e=null;Graph.translateDiagram&&null!=Graph.diagramLanguage&&a.value.hasAttribute("tool…
3610 …one"==h?(h="ffffff",this.colorDialog.picker.fromString("ffffff"),this.colorDialog.colorInput.value=
3677 …ORM);this.container=a},ColorDialog=function(a,b,d,e){function c(){var b=k.value;/(^#?[a-zA-Z0-9]*$…
3681 …vent.addListener(b,"click",function(){"none"==a?(g.fromString("ffffff"),k.value="none"):g.fromStri…
3683 …activeElement==n?k.focus():(n.value="#"+k.value,n.click())}));mxEvent.addListener(n,"input",functi…
3684 …ncelFirst||p.appendChild(q);null!=b&&("none"==b?(g.fromString("ffffff"),k.value="none"):g.fromStri…
3692 …Utils.button(n||mxResources.get("apply"),function(){l||a.hideDialog();e(x.value)}),g.className="ge…
3693 ….style.width="600px";d.style.height="360px";d.style.marginBottom="16px";d.value=mxUtils.getPrettyX…
3694 …les[0];var c=new FileReader;c.onload=function(a){d.value=a.target.result};c.readAsText(b)}else d.v…
3696value)),e=null;if("new"==c.value)a.hideDialog(),a.editor.editAsNew(b);else if("replace"==c.value){…
3698value,b=a.lastIndexOf(".");m.value=0<b?a.substring(0,b+1)+n.value:a+"."+n.value;"xml"===n.value?(p…
3699value||"jpg"===n.value||"pdf"===n.value?z.removeAttribute("disabled"):z.setAttribute("disabled","d…
3707value?(this.style.display="none",t.style.display="",t.focus()):(t.value=this.value,w||(p.value=thi…
3710value)||100)/100;p.value=parseFloat((100*a).toFixed(2));0<k?(q.value=Math.floor(k*a),u.value=Math.…
3711value)/h;0<a?(p.value=parseFloat((100*a).toFixed(2)),q.value=Math.floor(k*a)):(p.value="100",q.val…
3712 g=e.background,h=Math.max(1,parseInt(t.value));if(("svg"==c||"png"==c||"pdf"==c)&&x.checked)g=null;…
3717 var EditDataDialog=function(a,b){function d(){0<z.value.length?E.removeAttribute("disabled"):E.setA…
3720 …=m[w].nodeName||"placeholders"==m[w].nodeName||g.push({name:m[w].nodeName,value:m[w].nodeValue});g…
3722 …Shift+Double Click to Edit ID")}for(w=0;w<g.length;w++)k(q,g[w].name,g[w].value),q++;g=document.cr…
3723 …g);var E=mxUtils.button(mxResources.get("addProperty"),function(){var a=z.value;if(0<a.length&&"la…
3724 …"100%";p.push(c);v(c,a);c.focus()}E.setAttribute("disabled","disabled");z.value=""}catch(I){mxUtil…
3725 …n.length;e++)null==p[e]?f.removeAttribute(n[e]):(f.setAttribute(n[e],p[e].value),d=d||"placeholder…
3732value="";k.focus()});f.appendChild(k);f.appendChild(b);c.appendChild(f);this.init=function(){k.foc…
3733 …lFirst&&f.appendChild(b);d=mxUtils.button(d,function(){a.hideDialog();e(k.value)});d.className="ge…
3863 …ientation=west;resizable=0;interRankCellSpacing=50;containerType=tree;";a.value="Horizontal Flow L…
6612 … schema er entity relation table table row",function(){var a=new mxCell(e.value,new mxGeometry(0,0…
10081 …++)n=document.createElement("option"),mxUtils.write(n,q[d].displayName),n.value=d,t.appendChild(n)…
10082 n.value=q.length;t.appendChild(n);mxEvent.addListener(t,"change",function(){var c=t.value,f=q.lengt…
10085 …";p.value=mxResources.get("updatingDocument");c.appendChild(p);mxUtils.br(c);this.init=function(){…
10086 …nt.execCommand("selectAll",!1,null)):(p.setAttribute("readonly","true"),p.value=mxResources.get("t…
10087 e.length?"preview":"openInNewWindow"),function(){var c=5E5>e.length?p.value:e;if(null!=g)g(c);else …
10089 …{var c="https://www.facebook.com/sharer.php?p[url]="+encodeURIComponent(p.value);b.openLink(c)}cat…
10090 …om/intent/tweet?text="+encodeURIComponent(n)+"&url="+encodeURIComponent(p.value);b.openLink(c)}cat…
10093value){var c="https://www.draw.io/gadget.xml?type=4&diagram="+encodeURIComponent(mxUtils.htmlEntit…
10094value);c+="&y0="+l;g.mathEnabled&&(c+="&math=1");z.checked?c+="&edit=_blank":A.checked&&(c+="&edit…
10095 …itle="+encodeURIComponent(b)),""!=q.value&&(b=parseInt(q.value)+parseInt(p.value),c+="&height="+b)…
10096 …tribute("size","4");p.style.marginRight="16px";p.style.marginLeft="4px";p.value=f;c.appendChild(p)…
10097value=Math.ceil(k.height/n);c.appendChild(q);mxUtils.br(c);k=document.createElement("hr");k.setAtt…
10098 …tribute("size","3");u.style.marginBottom="8px";u.style.marginLeft="4px";u.value="0";c.appendChild(…
10115 …tribute("type","text");l.style.marginBottom="8px";l.style.width="320px";l.value=k||null==d?"":d.sr…
10116 …ction(c,d){t||null!=c&&u||(f.checked?null!=d&&d(m.value):""==l.value||b.isOffline()?(x.value="",A.
10117value=mxUtils.trim(l.value),b.loadImage(l.value,function(b){x.value=b.width;A.value=b.height;null!…
10119 …iles(c.dataTransfer.files,0,0,b.maxBackgroundSize,function(b,c,f,d,e,m){l.value=b;v()},function(){…
10120value=decodeURIComponent(f),v())}c.stopPropagation();c.preventDefault()}),!1)}};c.appendChild(n);c…
10121value=null==d||k?"":d.height;c.appendChild(A);mxUtils.br(c);mxUtils.br(c);mxEvent.addListener(l,"c…
10123value="";x.value="";A.value="";n.checked=!0;t=!1});mxEvent.addGestureListeners(g,function(){t=!0})…
10138value?"Person\n-name: String\n-birthDate: Date\n--\n+getName(): String\n+setName(String): void\n+i…
10139value?"@startuml\nskinparam backgroundcolor transparent\nskinparam shadowing false\nAlice -> Bob: …
10143 …Uml"==d&&(f.appendChild(l),f.appendChild(m),f.appendChild(p));var q=g();n.value=q;e.appendChild(n)…
10144value=b.target.result};c.readAsText(b)}},!1));e.appendChild(f);mxEvent.addListener(f,"change",func…
10145value==q?b.hideDialog():b.confirm(mxResources.get("areYouSure"),function(){b.hideDialog()})});l.cl…
10146 …pa&&null!=u)d||b.hideDialog(),u(pa,ca,M.value);else if(c)d||b.hideDialog(),c(ba,M.value,fa,ka);els…
10168 …HTML="";oa=0;ea={"draw.io":b};for(e in f)ea[e]=f[e];G()}else B(!0)};b?t(Y.value,c):q(c)};q&&(E=mxU…
10172 …a.value="",null!=da&&(da.click(),da=null));ia.focus()});mxEvent.addListener(ia,"keydown",mxUtils.b…
10174 …)}}));mxEvent.addListener(ia,"keyup",mxUtils.bind(this,function(b){""==ia.value?(U.setAttribute("s…
10180 encodeURIComponent(M.value)+"&create="+encodeURIComponent(c)),null==b.getCurrentFile()?window.locat…
10181 !0);c.value=""});c.style.display="none";document.body.appendChild(c);b.newDlgFileInputElt=c}b.newDl…
10182 …k",function(){var c=d;if(n){var f=C.value,l=f.lastIndexOf(".");if(0>e.lastIndexOf(".")&&0>l){var c…
10183 m=b.oneDrive.extension:c==App.MODE_DEVICE&&(m=".drawio");0<=l&&(f=f.substring(0,l));C.value=f+m}}B(…
10185 …se m();G.appendChild(g);++E==q&&(mxUtils.br(G),E=0)}function B(c){var f=C.value;if(null==c||null!=…
10201 …b.editor.transparentImage+"')";mxEvent.addListener(d,"click",function(){l.value="";l.focus()});e.a…
10206 …nails&&(b=b.docs[0].thumbnails[b.docs[0].thumbnails.length-1],null!=b&&(l.value=b.url));l.focus()}…
10207value="")});q.style.display="none";document.body.appendChild(q);b.imgDlgFileInputElt=q}var t=mxUti…
10208value,function(b){l.value=b});b.showDialog(c.container,300,380,!0,!0);c.init()}),t.className="geBt…
10212 …b.editor.transparentImage+"')";mxEvent.addListener(q,"click",function(){p.value="";p.focus()});var…
10216 c(u.checked?"pageNotFound"!==v.value?v.value:e:p.value,LinkDialog.selectedDocs,x.checked?n:null)});…
10218 f=null);0<=mxUtils.indexOf(b.dataTransfer.types,"text/uri-list")&&(p.value=decodeURIComponent(b.dat…
10220 …docs[0].mimeType&&(c="https://drive.google.com/#folders/"+b.docs[0].id);p.value=c;p.focus()}else L…
10221 …opbox.choose({linkType:"direct",cancel:function(){},success:function(b){p.value=b[0].link;p.focus(…
10222value=c.value[0].webUrl;p.focus()})});null!=b.gitHub&&f(IMAGE_PATH+"/github-logo.svg",mxResources.…
10223value=DRAWIO_GITLAB_URL+"/"+c+"/"+f+"/blob/"+d+"/"+b;p.focus()}})});mxEvent.addListener(p,"keypres…
10224 …x";var f=mxUtils.button(mxResources.get("sendMessage"),function(){var f=p.value+(m.checked?"\nDiag…
10225 …backUrl?FeedbackDialog.feedbackUrl:"/email","email="+encodeURIComponent(n.value)+"&version="+encod…
10226 …\.)+[a-zA-Z]{2,}))$/;mxEvent.addListener(n,"change",function(){0<n.value.length&&0<l.test(n.value)?
10227 …d","disabled")});mxEvent.addListener(n,"keyup",function(){0<n.value.length&&l.test(n.value)?f.remo…
10246 …cted"),K.appendChild(q);X=function(){try{var c=parseInt(K.value);p=l=c;B(m[c])}catch(V){K.value=l,…
10254 …teElement("select"),t=mxUtils.bind(this,function(){B=mxUtils.parseXml(l[q.value].data);y=b.editor.…
10259value,mxUtils.bind(this,function(){null!=q.parentNode&&(q.options[q.selectedIndex].parentNode.remo…
10260 E.style.display="none";k=mxUtils.button(k||mxResources.get("edit"),function(){c.apply(this,[q.value
10261 …ode(c)));return c}mxEvent.addListener(E,"change",function(b){C=parseInt(E.value);c(F[C]);mxEvent.c…
10263 …,e,d,c,g,k){function n(b,c,f,d){if("object"===typeof c.value&&null!=c.value.attributes){c=c.value.…
10264value?(Q.removeAttribute("disabled"),P.removeAttribute("disabled")):(Q.setAttribute("disabled","di…
10265 g=C.value.toLowerCase(),K=G.checked?new RegExp(g):null,y=null;x=null;q!=g&&(q=g,t=null,v=!1);var B=…
10266value&&(B||null==y)&&(p.model.isVertex(J.cell)||p.model.isEdge(J.cell))){null!=J.style&&"1"==J.sty…
10272 function(){M.innerHTML="";C.value="";C.style.backgroundColor="";k&&(F.value="",f());q=t=null;v=!1;C…
10274 ….button(mxResources.get("replFind"),function(){try{if(null!=x&&null!=t&&F.value){var c=t.cell,f=p.…
10275 p.isCellEditable(c)&&p.model.setValue(c,L(f,x,F.value,A-x.length,p.getCurrentCellStyle(c)));C.style…
10276 …e"),function(){try{if(null!=x&&null!=t&&F.value){var c=t.cell,f=p.getLabel(c);p.model.setValue(c,L…
10277value){var c=b.currentPage,f=b.editor.graph.getSelectionCells();b.editor.graph.rendering=!1;p.getM…
10280 …b.keyCode)mxEvent.consume(b);else if(27==b.keyCode)m.funct();else if(q!=C.value.toLowerCase()||13=…
10308 …l=document.createElement("option");mxUtils.write(l,App.publicPlugin[d]);l.value=App.publicPlugin[d…
10310 f=new CustomDialog(b,f,mxUtils.bind(this,function(){var b=App.pluginRegistry[e.value];0>mxUtils.ind…
10317value=null!=c?c.x:"";m.appendChild(q);f.appendChild(l);f.appendChild(m);n.appendChild(f);f=documen…
10318 …ateElement("input");u.setAttribute("type","text");u.style.width="100px";u.value=null!=c&&null!=c.o…
10319value=null!=c&&null!=c.offset?c.offset.y:"";m.appendChild(v);f.appendChild(l);f.appendChild(m);n.a…
10320value=null!=c?c.height:"";m.appendChild(A);f.appendChild(l);f.appendChild(m);n.appendChild(f);f=do…
10322value).length&&(f.x=Number(q.value)),0<mxUtils.trim(t.value).length&&(f.y=Number(t.value)),0<mxUti…
10323 d.setCellStyles(mxConstants.STYLE_ROTATION,Number(z.value),[e[c]])}}finally{d.getModel().endUpdate(…
10343 …urces.get("export"),function(){var c=b.createLibraryDataFromImages(p),f=t.value;/(\.xml)$/i.test(f…
10345 …,g,p,k){null!=G.files&&(F(c)(b,f,d,e,l,m,g,p,k),G.type="",G.type="file",G.value="")});u.scrollTop=…
10346 …es.get("save"),mxUtils.bind(this,function(){null!=B&&(B(),B=null);this.saveBtnClickHandler(t.value,
10350 …Btn";b.editor.cancelFirst&&n.appendChild(g);var u=function(c,f,d){var e=m.value,l=mxUtils.parseXml…
10371 …esList");c.style.display="block";ha.style.width="";oa.style.display="";oa.value="";fa=null;b()});T…
10381 …ion Q(b){null!=za&&clearTimeout(za);13==b.keyCode?L(oa.value):za=setTimeout(function(){L(oa.value)…
10387 …";ra.style.minHeight="calc(100% - 280px)";oa.style.display=f?"":"none";oa.value="";fa=null;I(aa)})…
10404 …ed?(c=t.value,d="s"):u.checked?(c=v.value,f=Editor.GOOGLE_FONTS+encodeURIComponent(c).replace(/%20…
10419 parseInt(l.value)/100)),b.fileNode.setAttribute("border",Math.max(0,parseInt(m.value))),null!=k&&k.…
10580 …ment("option");p.value=mxUtils.htmlEntities(g.val);mxUtils.write(p,mxResources.get(g.dispName,null…
10581value);d(c,b,k)});l.focus();mxEvent.addListener(l,"blur",function(){b.removeChild(l)})}))}else"dyn…
10582value,b=0==b.length&&"string"!=u?0:b;k.allowAuto&&(null!=b.trim&&"auto"==b.trim().toLowerCase()?(b…
10627 …ext=function(b,f){if(null!=b.text&&null!=b.text.value&&b.text.checkBounds()&&(mxUtils.isNode(b.tex…
10628 …veChild(e[0]);null!=d.innerHTML&&(e=b.text.value,b.text.value=d.innerHTML,c.apply(this,arguments),…
10633 …acity&&null!=k.opacity.value&&Graph.setOpacityForNodes(this.getNodesForCells(this.getCellsForActio…
10635 …!=k.style&&null!=k.style.key&&(l(),this.setCellStyles(k.style.key,k.style.value,this.getCellsForAc…
10664 …y.value=Math.max(1,Math.min(g,Math.max(parseInt(y.value),parseInt(n.value))));n.value=Math.max(1,M…
10665value),C=parseInt(Q.value),v=Math.min(u.height*C/(t.height/c.view.scale),u.width*v/(t.width/c.view…
10670value)/100;isNaN(d)&&(d=1,K.value="100 %");var d=.75*d,l=null;null!=e.themes&&"darkTheme"==e.defau…
10671 …tDialog.electronPrint(b,q.checked,m,g,A.checked,H.value,Q.value,parseInt(B.value)/100,parseInt(K.v…
10676 …))for(m=0;m<b.pages.length;m++)if(b.currentPage==b.pages[m]){p=m+1;n.value=p;y.value=p;break}n.set…
10695 …!=d&&d();else{f(b,17);do{d=e(b);var m=f(b,4);if(null!=c&&c(l-8,m,d))break;value=f(b,d);f(b,4);if("…
10722 …n(b){var c=e.cells[b];if(null!=c){for(var f in c)null!=c[f].value&&(c[f].value="["+c[f].value.leng…
10723 …&b.setAttribute(b.attributes[f].name,this.anonymizeString(b.attributes[f].value,c));if(null!=b.chi…
10759 …){var l=b.attributes[e].name,m=null!=c?c(b,l,b.attributes[e].value,!0):b.attributes[e].value;null!…
10791 …ar f=document.createElement("option");mxUtils.write(f,c[b].displayName);f.value=b;e.appendChild(f)…
10792 ….createElement("option");mxUtils.write(f,mxResources.get("addAccount"));f.value=c.length;e.appendC…
10793 function(){var f=e.value,d=c.length!=f;d&&this.drive.setUser(c[f]);this.drive.authorize(d,mxUtils.b…
10830value){var b=new FilenameDialog(this,e,mxResources.get("ok"),function(b){null!=b?e=b:l.value="blan…
10831 …)}));mxUtils.br(b);return{getLink:function(){return f.checked?"blank"===l.value?"_blank":e:null},g…
10834 ….br(b);return{getColor:function(){return l},getTarget:function(){return d.value},focus:function(){…
10843 "4px";y.style.marginRight="12px";y.value="100%";f.appendChild(y);var C=this.addCheckbox(f,mxResourc…
10844 …Dialog(this,f,mxUtils.bind(this,function(){e(m.checked?d:null,B.checked,y.value,n.getTarget(),n.ge…
10848value="100%",f.appendChild(q),mxUtils.write(f,mxResources.get("height")+":"),t=document.createElem…
10850 …getTarget(),u.getColor(),null==F?!0:F.checked,G.checked,E.getLink(),H.checked,null!=q?q.value:null,
10851 null!=t?t.value:null,I.checked)}),null,mxResources.get("create"),n);this.showDialog(c.container,340…
10852value=this.lastExportZoom||"100%";f.appendChild(m);mxUtils.write(f,mxResources.get("borderWidth")+…
10853 …arginBottom="16px");b=new CustomDialog(this,f,mxUtils.bind(this,function(){var b=parseInt(m.value)/
10854 100||1,c=parseInt(k.value)||0;d(!p.checked,null!=n?n.checked:!1,null!=q?q.checked:!1,b,c)}),null,b,…
10855value=this.lastExportZoom||"100%";f.appendChild(q);mxUtils.write(f,mxResources.get("borderWidth")+…
10857 ….br(f),m+=26,mxEvent.addListener(D,"change",function(){"selectionOnly"==D.value&&(u.checked=!0)}))…
10858 …none",m-=30):(D.value="diagram",E.setAttribute("checked","checked"),E.defaultChecked=!0,mxEvent.ad…
10861 … CustomDialog(this,f,mxUtils.bind(this,function(){this.lastExportBorder=t.value;this.lastExportZoo…
10862 q.value;g(q.value,I.checked,!u.checked,L.checked,X.checked,Q.checked,t.value,E.checked,!1,J.value,n…
10904 …;b.length>this.maxTextBytes&&(b=b.substring(0,this.maxTextBytes)+"...");g.value=b;f.updateCellSize…
10905 …ry.width=p.width;g.geometry.height=p.height}Graph.isLink(g.value)&&f.setLinkForCell(g,g.value);g.g…
11205value="label"/><add as="perimeter" value="rectanglePerimeter"/><add as="fontSize" value="12"/><add…
11663 …ction(){null!=d.files&&(this.openFiles(d.files),d.type="",d.type="file",d.value="")}));d.style.dis…
11669 …LoadingFile"))}});c.readAsText(b)})(d.files[b]);d.type="";d.type="file";d.value=""}}));d.style.dis…
11680 …();this.actions.get("exportPdf").funct()}),mxUtils.bind(this,function(){f.value=b.split(".").slice…
11730 …bind(this,function(b){k();null!=b&&null!=b.value&&0<b.value.length&&(b=OneDriveFile.prototype.getI…
11806 …u.value=Math.max(1,Math.min(k,Math.max(parseInt(u.value),parseInt(q.value))));q.value=Math.max(1,M…
11808 0;m<c.pages.length;m++)if(c.currentPage==c.pages[m]){l=m+1;q.value=l;u.value=l;break}q.setAttribute…
11810 d,mxUtils.bind(this,function(){var d=null;if(!b)var d=parseInt(q.value),e=parseInt(u.value),d=n.che…
11829 …||d.push([mxResources.get("share"),function(b,d){if(0<d.value.length)try{var e=JSON.parse(d.value)…
11838 …write(y,m[p]);y.value=p;2==p&&y.setAttribute("selected","selected");n.appendChild(y)}mxEvent.addLi…
11839 …="number";q.value=e;q.style.width="200px";q.style.boxSizing="border-box";l.appendChild(q);mxEvent.…
11840 …="number";t.value=f;t.style.width="200px";t.style.boxSizing="border-box";l.appendChild(t);mxEvent.…
11842value);13==b.keyCode&&0<c.length?(this.editorUi.openLink("https://www.diagrams.net/search?src="+Ed…
11843 b.keyCode&&(f.value="")}));e.firstChild.nextSibling.appendChild(f);mxEvent.addGestureListeners(f,fu…
11851 …ocumentElement);b.textarea.value="Snapshot updated "+(new Date).toLocaleString()}],["Diff",functio…
11852 …ileData(!0)).documentElement),b.textarea.value="Snapshot created "+(new Date).toLocaleString()):b.…
12034 …sb.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,b.value)}),this.addEntry("…
12039 …sb.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,b.value)}),this.addEntry("…
12040 …sb.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,b.value)}),this.addEntry("…
12041 ….createVertexTemplateFromCells([b,c],b.geometry.width,b.geometry.height,b.value)}),this.addEntry("…
12042 ….createVertexTemplateFromCells([b,c],b.geometry.width,b.geometry.height,b.value)}),this.addEntry("…
12045 …sb.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,b.value)}),this.addEntry("…
12046 …sb.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,b.value)}),this.addEntry("…
12047 ….createVertexTemplateFromCells([b,c],b.geometry.width,b.geometry.height,b.value)}),this.addEntry("…