Lines Matching refs:get

102 …=typeof Object.defineProperties?Object.defineProperty:function(d,h,l){if(l.get||l.set)throw new Ty…
178 …ion(a,b){var c=this.gen.path(a,b);return this.draw(c),c}},{key:"generator",get:function(){return t…
183 …ction(a,b){var c=this.gen.path(a,b);return this.draw(c)}},{key:"generator",get:function(){return t…
221 …;mxLog.write(a+"\n")}},mxObjectIdentity={FIELD_NAME:"mxObjectId",counter:0,get:function(a){if(null…
222 …y.prototype.get=function(a){a=mxObjectIdentity.get(a);return this.map[a]};mxDictionary.prototype.p…
223 mxDictionary.prototype.remove=function(a){a=mxObjectIdentity.get(a);var b=this.map[a];delete this.m…
225 …),e=mxResources.getSpecialBundle(a,b),f=function(){if(null!=e)if(c)mxUtils.get(e,function(a){mxRes…
226 c&&c()};if(null!=d)if(c)mxUtils.get(d,function(a){mxResources.parse(a.getText());f()},function(){f(…
227 unescape(c)):mxResources.resources[d]=c}}}},get:function(a,b,c){a=mxResources.resources[a];null==a&… variable
254 …)},load:function(a){a=new mxXmlRequest(a,null,"GET",!1);a.send();return a},get:function(a,b,c,d,e,…
255 …nction(){0==f&&null!=c&&c();f++},k=0;k<a.length;k++)(function(a,c){mxUtils.get(a,function(a){var f…
258 …uplicates:function(a){for(var b=new mxDictionary,c=[],d=0;d<a.length;d++)b.get(a[d])||(c.push(a[d]…
278 ….sort(function(a,e){var d=c.get(a);null==d&&(d=mxCellPath.create(a).split(mxCellPath.PATH_SEPARATO…
295 …ight||document.documentElement.clientHeight;var g=new mxWindow(mxResources.get(mxUtils.errorResour…
296 …ddListener(c,"click",function(a){g.destroy()}),mxUtils.write(c,mxResources.get(mxUtils.closeResour…
321 …t",function(){},Object.defineProperty&&Object.defineProperty({},"passive",{get:function(){a=!0}}))…
378 …es.get("ok")||"OK");d.appendChild(e);mxEvent.addListener(e,"click",function(){a()});e=document.cre…
617 …("localized");if(mxStencil.defaultLocalized&&null==a||"1"==a)b=mxResources.get(b);return b};mxSten…
743 …n(a,b,c,d,e){if(null!=c&&null!=a&&(b=null!=b?b:!0,e=e||new mxDictionary,!e.get(a)&&(e.put(a,!0),d=…
777 …==a),g=c.get(d);null==g&&(g=mxCellPath.create(d).split(mxCellPath.PATH_SEPARATOR),c.put(d,g));var …
804 …){var g=this.vertexArray[d];this.cellLocation[d]=[];var k=mxObjectIdentity.get(g);this.indices[k]=…
805 …disableEdgeStyle&&this.setEdgeStyleEnabled(r[m],!1);var k=mxObjectIdentity.get(c[m]),t=this.indice…
817 …leTerminal(a,!1),d="";if(null!=c&&null!=b){c=mxObjectIdentity.get(c);b=mxObjectIdentity.get(b);if(…
827 …ctHierarchyCell.apply(this,arguments);this.cell=a;this.id=mxObjectIdentity.get(a);this.connectsAsT…
831 …es=a;this.ids=[];for(var b=0;b<a.length;b++)this.ids.push(mxObjectIdentity.get(a[b]))}mxGraphHiera…
836 …s;if(null!=k&&0<k.length){var k=k[0],l=a.getVisibleTerminal(k,!1),l=this.vertexMapper.get(l);c[d]==
837 l&&(l=a.getVisibleTerminal(k,!0),l=this.vertexMapper.get(l));null!=l&&c[d]!=l&&(g.target=l,0==l.con…
839 …a.getEdgesBetween(b[e],k,!0);if(null!=l&&0<l.length&&null==this.edgeMapper.get(l[0])&&2*k.length>=…
841 …l!=this.roots)for(var b=0;b<this.roots.length;b++){var c=this.vertexMapper.get(this.roots[b]);null…
843 …oots)for(var d=this.roots,c=[],b=0;b<d.length;b++){var e=this.vertexMapper.get(d[b]);c[b]=e}this.v…
847 …ull!=k&&0<k.length){var k=k[0],l=a.getVisibleTerminal(k,!1),l=this.vertexMapper.get(l);c[d]==l&&(l=
848 a.getVisibleTerminal(k,!0),l=this.vertexMapper.get(l));null!=l&&c[d]!=l&&(g.target=l,0==l.connectsA…
851 l=a.getEdgesBetween(b[f],l,!0);if(null!=m&&0<m.length&&null==this.edgeMapper.get(m[0])&&2*l.length>…
852 …l!=this.roots)for(var c=0;c<this.roots.length;c++){var d=this.vertexMapper.get(this.roots[c]);this…
855 …oots)for(var d=this.roots,c=[],b=0;b<d.length;b++){var e=this.vertexMapper.get(d[b]);c[b]=e}this.v…
871 …ull!=a.roots)for(var f=a.roots,c=[],e=0;e<f.length;e++)c[e]=a.vertexMapper.get(f[e]);a.visit(funct…
881 …e=0;e<k.length;e++)l=k[e],l=c.get(l),null!=l&&0==l.visited&&(l.visited=!0,b.push(l));for(e=0;e<n.l…
907 …ull!=a.roots)for(var d=a.roots,c=[],e=0;e<d.length;e++)c[e]=a.vertexMapper.get(d[e]);a.visit(funct…
915 mxHierarchicalLayout.prototype.getEdges=function(a){var b=this.edgesCache.get(a);if(null!=b)return …
917 …b){var c=this.edgesTargetTermCache;b&&(c=this.edgeSourceTermCache);var d=c.get(a);if(null!=d)retur…
920 …ertex(a)&&a!=this.parent&&this.graph.isCellVisible(a)&&(b[mxObjectIdentity.get(a)]=a);if(this.trav…
922 …averse=function(a,b,c,d,e,f,g){if(null!=a&&null!=d){var k=mxObjectIdentity.get(a);if(null==d[k]&&(…
934 mxSwimlaneLayout.prototype.getEdges=function(a){var b=this.edgesCache.get(a);if(null!=b)return b;fo…
936 …b){var c=this.edgesTargetTermCache;b&&(c=this.edgeSourceTermCache);var d=c.get(a);if(null!=d)retur…
939 …etParent(a)!=this.parent&&this.graph.isCellVisible(a)&&(b[mxObjectIdentity.get(a)]=a);if(this.trav…
941 …erse=function(a,b,c,d,e,f,g,k){if(null!=a&&null!=d){var l=mxObjectIdentity.get(a);if(null==d[l]&&(…
963 …d=0;d<a.length;d++){for(var e=a[d],f=!0,g=this.getParent(e);null!=g;){if(b.get(g)){f=!1;break}g=th…
972 …new mxDictionary,d=0;d<a.length;d++){var e=this.getParent(a[d]);null==e||c.get(e)||(c.put(e,!0),b.…
973 …xGraphModel.prototype.cloneCellImpl=function(a,b,c){var d=mxObjectIdentity.get(a),e=b[d];if(null==…
974 …l!=d&&(d=c[mxObjectIdentity.get(d)],null!=d&&d.insertEdge(a,!0));d=this.getTerminal(b,!1);null!=d&…
1040 …ht*a/p);this.graph.cellRenderer.redraw=function(a,b,c){if(null!=a){var d=x.get(a.cell);if(null!=d&…
1066get(this.selectionModel.updatingSelectionResource)||this.selectionModel.updatingSelectionResource;…
1196 …ion(a){var b=mxLog.enter("mxGraphView.validate");window.status=mxResources.get(this.updatingDocume…
1198 …),this.textDiv=null);this.resetValidationState();window.status=mxResources.get(this.doneResource)|…
1242 mxGraphView.prototype.getState=function(a,b){b=b||!1;var c=null;null!=a&&(c=this.states.get(a),b&&(…
1278 …a,b){for(var c=new mxDictionary,d=[],e=mxUtils.bind(this,function(a){if(!c.get(a)&&this.model.cont…
1332get(q);)q=this.model.getParent(q);null==q&&null!=n[0]&&m.setTerminalPoint(new mxPoint(n[0].x/k-l.x…
1339 …++)d.put(a[e],!0);for(e=0;e<c.length;e++)null!=this.view.getState(c[e])||d.get(c[e])||(d.put(c[e],…
1342 …setGeometry(d,g),this.model.setTerminal(d,null,f))}}),k=0;k<f.length;k++)d.get(f[k])||(d.put(f[k],…
1365 …l.put(a[m],!0);for(var n=mxUtils.bind(this,function(a){for(;null!=a;){if(l.get(a))return!0;a=this.…
1376 …l!=f?f.getVisibleTerminal(!1):this.view.getVisibleTerminal(d[e],!1);b.get(g)&&b.get(k)||this.reset…
1393get(p);)p=this.model.getParent(p);null==p&&(f.setTerminalPoint(new mxPoint(n[0].x/b-c.x+l,n[0].y/b…
1421 …etEdgesBetween(b,c,!0);if(1<e.length||1==e.length&&e[0]!=a)d+=(mxResources.get(this.alreadyConnect…
1423 …ng(f,null);c=c&&null==g}d="";this.isCellCollapsed(a)&&!c&&(d+=(mxResources.get(this.containsValida…
1429 …ol.node||(e=this.collapseExpandResource,e=mxUtils.htmlEntities(mxResources.get(e)||e).replace(/\\n…
1470 …leTerminal(a[g],!1);l==b&&null!=k&&k!=b&&d?f.get(k)||(f.put(k,!0),e.push(k)):k==b&&null!=l&&l!=b&&…
1476 …&null!=a&&(b=null!=b?b:!0,f=null!=f?f:!1,e=e||new mxDictionary,null==d||!e.get(d))&&(e.put(d,!0),d…
1524 …f:"n";this.validNeighbors=g;this.countError=mxResources.get(k)||k;this.typeError=mxResources.get(l…
1553 …eState=function(a,b,c,d,e){d=null!=d?d:!0;e=null!=e?e:!0;var f=this.deltas.get(a.cell);null==f?(f=…
1555 …e=d.getGeometry(a.cell);0==b&&0==c||null==e||e.relative&&null==this.deltas.get(a.cell)||(a.x+=b,a.…
1556 …tive||!e.isVertex(a.cell)||null!=g&&!e.isVertex(g.cell)&&null==this.deltas.get(a.cell)||(a.x+=b,a.…
1579get(c)||g.put(c,!0);this.guide.isStateIgnored=mxUtils.bind(this,function(a){var b=this.graph.model…
1580get(a)){b.put(a,c);d++;for(var c=this.graph.model.getChildCount(a),e=0;e<c;e++)d+=this.addStates(t…
1603 this.graph.model.getParent(a[l]);null==m||k.get(m)||(k.put(m,!0),g.push(m))}}a=this.graph.moveCells…
1634 …electionCellsHandler.prototype.getHandler=function(a){return this.handlers.get(a)};mxSelectionCell…
1637 …;c<b.length;c++)d=this.graph.view.getState(b[c]),null!=d&&(e=this.handlers.get(b[c]),null==e?(e=th…
1896 …ode!=this.bends[1].node||(b=this.doubleClickOrientationResource,b=mxResources.get(b)||b);return b};
2013 …s="";this.getOrCreateFilename=function(){return this.filename||mxResources.get("drawing",[Editor.p…
2058 …eEvent(new mxEventObject("resetGraphView"))}else throw{message:mxResources.get("cannotOpenFile"),n…
2069 p.setAttribute("title",mxResources.get("close")),p.className="geDialogClose",p.style.top=I+14+"px",…
2077 …p="12px";e.style.textAlign="center";null!=p&&(c=mxUtils.button(mxResources.get("tryAgain"),functio…
2080 …ppendChild(d);var f=document.createElement("span");mxUtils.write(f," "+mxResources.get("fitPage"));
2081 …dChild(l);f=document.createElement("span");mxUtils.write(f," "+mxResources.get("posterPrint")+":")…
2082 …);g.style.fontSize="10pt";g.appendChild(q);mxUtils.write(g," "+mxResources.get("pages")+" (max)");…
2083 …k.cloneNode(!1);g=document.createElement("td");mxUtils.write(g,mxResources.get("pageScale")+":");k…
2084get("cancel"),function(){b.hideDialog()});f.className="geBtn";b.editor.cancelFirst&&g.appendChild(…
2086 …ction(b,c,e,k,g,p,t){c=new mxPrintPreview(b,c,e,k,g,p);c.title=mxResources.get("preview");c.printB…
2089 …le.verticalAlign="top";p.style.fontSize="10pt";mxUtils.write(p,mxResources.get("paperSize")+":");g…
2090 mxUtils.write(p,mxResources.get("background")+":");g.appendChild(p);p=document.createElement("td");…
2091 …=b;c()});mxEvent.consume(d)});p.appendChild(l);mxUtils.write(p,mxResources.get("gridSize")+":");va…
2092get("image")+":");g.appendChild(p);p=document.createElement("td");var n=document.createElement("bu…
2093 …ingTop="16px";p.setAttribute("align","right");n=mxUtils.button(mxResources.get("cancel"),function(…
2094 …ources.get("apply"),function(){b.hideDialog();var d=parseInt(m.value);isNaN(d)||k.gridSize===d||k.…
2099get("portrait"));f.appendChild(c);t.style.marginLeft="10px";t.style.marginRight="6px";f.appendChil…
2103 …custom"==d.value;F(b,!0)});F();return{set:function(b){e=b;g(null,null,!0)},get:function(){return B…
2106 …0)",format:new mxRectangle(0,0,1200,1600)},{key:"custom",title:mxResources.get("custom"),format:nu…
2107 …style.fontSize="10pt";u.style.width="84px";mxUtils.write(u,(g||mxResources.get("filename"))+":");n…
2110 …",u.style.fontSize="10pt",u.style.width="84px",mxUtils.write(u,mxResources.get("type")+":"),n.appe…
2112get("cancel"),function(){b.hideDialog();null!=l&&l()});q.className="geBtn";b.editor.cancelFirst&&u…
2114 …{k.setAttribute("src",Editor.helpImage);k.setAttribute("title",mxResources.get("help"));for(var b=…
2115get(e[b].title));break}};mxEvent.addListener(c,"keyup",g);mxEvent.addListener(c,"change",g);mxEven…
2117 …ateElement("option");g.setAttribute("value",b);mxUtils.write(g,mxResources.get(e[b].description)+"…
2145 …tainer.clientHeight?this.diagramContainer.setAttribute("title",mxResources.get("panTooltip")):this…
2165 arguments);e.updateActionStates()};b.editLink=e.actions.get("editLink").funct;this.updateActionStat…
2190 …tionStates=function(){var b=this.editor.graph,c=this.actions.get("paste"),e=this.actions.get("past…
2192 …metry(l[k]);null!=v&&v.relative&&!g.isEdge(e[k])&&null==f[mxObjectIdentity.get(g.getParent(e[k]))]…
2199 …ize(!0)}));this.actions.get("zoomIn").funct=mxUtils.bind(this,function(d){b.zoomIn();this.chromele…
2202 …ation.href=g.backBtn.url;mxEvent.consume(b)}),Editor.backImage,mxResources.get("back",null,"Back")…
2203get("previousPage").funct();mxEvent.consume(b)}),Editor.previousImage,mxResources.get("previousPag…
2204 mxEvent.consume(b)}),Editor.nextImage,mxResources.get("nextPage")),q=mxUtils.bind(this,function(){n…
2205get("zoomOut").funct();mxEvent.consume(b)}),Editor.zoomOutImage,mxResources.get("zoomOut")+" (Alt+…
2206 ….chromelessResize(!0);mxEvent.consume(d)}),Editor.zoomFitImage,mxResources.get("fit"));var n=null,…
2210 Editor.layersImage,mxResources.get("layers")),D=b.getModel();D.addListener(mxEvent.CHANGE,function(…
2211get("edit"));if(null!=this.lightboxToolbarActions)for(m=0;m<this.lightboxToolbarActions.length;m++…
2212get("openInNewWindow",null,"Open in New Window"));(g.closeBtn&&window.self===window.top||b.lightbo…
2227 …ils.bind(this,function(b){this.actions.get("print").funct();mxEvent.consume(b)}),Editor.printImage…
2230 …totype.onBeforeUnload=function(){if(this.editor.modified)return mxResources.get("allChangesLost")};
2231 …Filename(c),this.updateDocumentTitle())}catch(k){mxUtils.alert(mxResources.get("invalidOrMissingFi…
2247 ….view.validateBackground(),this.editor.graph.sizeDidChange()):this.actions.get("pageView").funct()…
2248 ….view.validateBackground(),this.editor.graph.sizeDidChange()):this.actions.get("pageView").funct()…
2249 EditorUi.prototype.addUndoListener=function(){var b=this.actions.get("undo"),c=this.actions.get("re…
2252get(t[d]).setEnabled(g);this.actions.get("lockUnlock").setEnabled(!b.isSelectionEmpty());this.acti…
2253get("curved").setEnabled(k);this.actions.get("rotation").setEnabled(c);this.actions.get("wordWrap"…
2254get("collapsible").setEnabled(c&&(b.isContainer(b.getSelectionCell())||0<b.model.getChildCount(b.g…
2255get("editLink").setEnabled(1==p.length);this.actions.get("openLink").setEnabled(1==b.getSelectionC…
2256get("distribute").setEnabled(p&&c&&1<b.getSelectionCount());this.actions.get("selectVertices").set…
2262 …lit=this.createDiv("geHsplit");this.hsplit.setAttribute("title",mxResources.get("collapseExpand"));
2272 …c){g=mxUtils.htmlEntities(mxResources.get("unknownError"));var p=mxResources.get("ok");c=null!=c?c…
2273 …ction(b,c,e,k,g,p,t,d,f,l,q,m,n){b=new ErrorDialog(this,b,c,e||mxResources.get("ok"),k,g,p,t,m,d,f…
2275 …gth;g++){var p=b.isTableCell(c[g])?b.model.getParent(c[g]):c[g];null==p||e.get(p)||(e.put(p,!0),k.…
2288get("save"),mxUtils.bind(this,function(b){this.save(b)}),null,mxUtils.bind(this,function(b){if(nul…
2289 …confirm(mxResources.get("replaceIt",[b])))return;localStorage.setItem(b,c);this.editor.setStatus(m…
2290get("drawingTooLarge"));mxUtils.popup(c);return}this.editor.setModified(!1);this.editor.setFilenam…
2292 …,t.width,t.height)};t.onerror=function(){e(null);mxUtils.alert(mxResources.get("fileNotFound"))};t…
2294get("backgroundImage"),null!=c?c.src:"");null!=e&&0<e.length?(c=new Image,c.onload=function(){b(ne…
2301 …nabled()){if(mxEvent.isShiftDown(b)&&mxEvent.isAltDown(b)){var l=e.actions.get(e.altShiftActions[b…
2303 mxUtils.bind(this,function(b,d,f,c){var e=this.actions.get(f);null!=e&&(f=function(){e.isEnabled()&…
2335 …h.isCellSelected(d[e])?d[e]:this.graph.getCompositeParent(d[e]);null==l||f.get(l)||(f.put(l,!0),c.…
2412 …,mxUtils.setOpacity(l,25))}var f=this.convertValueToString(g)||mxResources.get("background")||"Bac…
2413 …Space="nowrap";l.style.cursor="pointer";l.setAttribute("title",mxResources.get(k.isVisible(g)?"hid…
2450get("plusTooltip"),mxConstants.DIRECTION_NORTH);this.arrowRight=this.createArrow(this.triangleRigh…
2471 …ph.tooltipHandler.isEnabled()?(this.arrowLeft.setAttribute("title",mxResources.get("plusTooltip")),
2472 …sources.get("plusTooltip")),this.arrowUp.setAttribute("title",mxResources.get("plusTooltip")),this…
2516 …ment,c,p)}};mxStencilRegistry.loadStencil=function(b,c){if(null!=c)mxUtils.get(b,mxUtils.bind(this…
2528 …){d=null!=d?d:{};for(var f=0;f<b.length;f++){var c=b[f];d[mxObjectIdentity.get(c)]=c.getId();for(v…
2531 …tCellGeometry(f[e]);null!=m&&m.relative&&!this.model.isEdge(b[e])&&null==c.get(this.model.getParen…
2556get(e)||(d.put(e,!0),c.push(e))}for(f=0;f<c.length;f++)if(e=this.view.getState(c[f]),null!=e&&(thi…
2581 …idth*x,this.backgroundImage.height*x)));if(null==p)throw Error(mxResources.get("drawingEmpty"));va…
2586 …view.graph,c=null!=A?A.get(b.cell):f.isCellSelected(b.cell),e=f.model.getParent(b.cell);!(g&&null=…
2630 …CellsHandler.prototype.getHandledSelectionCells=function(){function b(b){f.get(b)||(f.put(b,!0),e.…
2678 null!=this.rotationShape&&this.rotationShape.node.setAttribute("title",mxResources.get("rotateToolt…
2682get("editLink"));c.setAttribute("width","11");c.setAttribute("height","11");c.style.marginLeft="10…
2683 [mxResources.get("link")]),mxUtils.bind(this,function(b){this.graph.setLinkForCell(this.state.cell,…
2855 …apply(this,arguments);"umlFrame"==d.style.shape&&f.push({title:mxResources.get("laneColor"),key:"s…
2955get("resetView").funct();1E-5>Math.abs(b-g.view.scale)&&d==g.view.translate.x&&c==g.view.translate…
2956 …ph.importGraphModel(f.documentElement))}catch(m){mxUtils.alert(mxResources.get("invalidOrMissingFi…
2965 …Editor.ctrlKey+"+D");this.put("turn",new Action(mxResources.get("turn")+" / "+mxResources.get("rev…
2966 …,Editor.ctrlKey+"+R"));this.put("selectConnections",new Action(mxResources.get("selectEdges"),func…
2972 …getAttribute("tooltip"));null!=c&&(d=c)}d=new TextareaDialog(e,mxResources.get("editTooltip")+":",…
2973 …lEditable(b)){var d=g.getLinkForCell(b)||"";e.showLinkDialog(d,mxResources.get("apply"),function(d…
2974get("image")+"...",function(){g.isEnabled()&&!g.isCellLocked(g.getDefaultParent())&&(g.clearSelect…
2977get("apply"),mxUtils.bind(this,function(b){g.cellEditor.restoreSelection(u);null!=b&&g.insertLink(…
2981 …rces.get("apply"),function(b){null!=b&&0<b.length&&g.setCellStyles(mxConstants.STYLE_ROTATION,b)},…
2983 …;this.addAction("fitPage",mxUtils.bind(this,function(){g.pageVisible||this.get("pageView").funct()…
2984 …s.addAction("fitTwoPages",mxUtils.bind(this,function(){g.pageVisible||this.get("pageView").funct()…
2985 ….addAction("fitPageWidth",mxUtils.bind(this,function(){g.pageVisible||this.get("pageView").funct()…
2986get("custom")+"...",mxUtils.bind(this,function(){var b=new FilenameDialog(this.editorUi,parseInt(1…
2987get("apply"),mxUtils.bind(this,function(b){b=parseInt(b);!isNaN(b)&&0<b&&(b=new ChangePageSetup(e,…
2993 "/help"+b+".html")});var d=!1;this.put("about",new Action(mxResources.get("about")+" Graph Editor..…
3003 ….length){var d=g.getModel(),d=new TextareaDialog(this.editorUi,mxResources.get("editStyle")+":",d.…
3005 ….state,n,e)}}});this.addAction("removeWaypoint",function(){var b=e.actions.get("removeWaypoint");n…
3007 …)&&!g.isCellLocked(g.getDefaultParent())){var b=mxResources.get("image")+" ("+mxResources.get("url…
3014get(b)+"..."):p=mxResources.get(b);return this.put(b,new Action(p,c,e,k,g))};Actions.prototype.put…
3018 …chronizeFile=function(b,c){this.savingFile?null!=c&&c({message:mxResources.get("busy")}):null!=thi…
3022 ….LAST_WRITE_WINS?this.backupPatch:null)}}else throw g=!1,Error(mxResources.get("notADiagramFile"))…
3033 …es.get("allChangesLost"),mxUtils.bind(this,function(){this.handleFileSuccess("manual"==DrawioFile.…
3038get("checksum")});else throw Error(mxResources.get("checksum"));else this.updateFileData(),this.cl…
3041 …n(b,c,e){};DrawioFile.prototype.share=function(){this.ui.alert(mxResources.get("sharingAvailable")…
3051get(this.allChangesSavedKey)),this.ui.editor.setStatus('<div title="'+b+'">'+b+"</div>"),b=this.ui…
3054 …or&&null!=b.message&&""!=b.message){var c=mxUtils.htmlEntities(mxResources.get("unsavedChanges"));…
3055get("lastSaved",[e]))}null!=c&&60<c.length&&(c=c.substring(0,60)+"...");c=mxUtils.htmlEntities(mxR…
3056 …ditable()?"save":"saveAs").funct()}))):(c=mxUtils.htmlEntities(mxResources.get("unsavedChanges")),…
3057 …alidChecksum&&null==c&&(c=mxResources.get("checksum"));this.setConflictStatus(mxUtils.htmlEntities…
3058get("fileChangedSync")),b)};DrawioFile.prototype.setConflictStatus=function(b){this.ui.editor.setS…
3059get("checksum"));this.ui.editor.isChromelessView()&&!this.ui.editor.editable?this.ui.alert(mxResou…
3060 c)}),null,mxResources.get("synchronize"),mxUtils.bind(this,function(){this.reloadFile(b,c)}),mxReso…
3061get("externalChanges"),mxResources.get("fileChangedOverwriteDialog"),mxResources.get("makeCopy"),m…
3062 …s.get("externalChanges"),mxResources.get("fileChangedSyncDialog"),mxResources.get("overwrite"),b,n…
3063 … mode url drive splash state".split(" "))+"#"+this.getHash(),k=mxResources.get("redirectToNewApp")…
3064get("allChangesLost"),mxUtils.bind(this,function(){this.redirectDialogShowing=!1}),c,mxResources.g…
3065 …dStatus(mxUtils.htmlEntities(mxResources.get(this.allChangesSavedKey))+" ("+mxUtils.htmlEntities(m…
3066get("errorSavingFile"):null);else if(!this.isModified()){var e=this.getErrorMessage(b);null!=e&&60…
3068 …xUtils.bind(this,function(){this.ui.spinner.spin(document.body,mxResources.get(this.savingSpinnerK…
3069 …s.get("updatingDocument"))&&this.synchronizeFile(mxUtils.bind(this,function(){this.ui.spinner.stop…
3070get("updatingDocument")));this.synchronizeFile(e,k)}),this.getErrorMessage(b))};DrawioFile.prototy…
3071 …s.savingStatusKey&&this.addAllSavedStatus(mxUtils.htmlEntities(mxResources.get(this.savingStatusKe…
3088 "_blank")}else this.ui.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("er…
3156 …ength)b=mxUtils.parseXml(f).documentElement;else throw{message:mxResources.get("notADiagramFile")}…
3161 …ementsByTagName("parsererror"):null;null!=f&&0<f.length&&(c=d||mxResources.get("invalidChars"),f=f…
3177 ….graph.extFonts=[])}b.apply(this,arguments)}else throw{message:mxResources.get("notADiagramFile")|…
3188 …(Editor.svgBrokenImage.src)}),this.timeout);if(/(\.svg)$/i.test(b))mxUtils.get(b,mxUtils.bind(this…
3193get(b,mxUtils.bind(this,function(b){if(200<=b.getStatus()&&299>=b.getStatus()){if(null!=d){var f=b…
3194 b):c({message:mxResources.get("error")+" "+b.getStatus()},b))}),function(b){null!=c&&c({message:mxR…
3211 …le()){var d=this.editorUi,c=d.editor.graph,f=this.createOption(mxResources.get("shadow"),function(…
3213 …();if(null!=f&&f.isAutosaveOptional()){var e=this.createOption(mxResources.get("autosave"),functio…
3214 …e=this.createOption(mxResources.get("mathematicalTypesetting"),function(){return c.mathEnabled},fu…
3239 …ionState(),c=mxUtils.button(mxResources.get("copyStyle"),mxUtils.bind(this,function(b){this.editor…
3240get("copyStyle")+" ("+this.editorUi.actions.get("copyStyle").shortcut+")");c.style.marginBottom="2…
3247 …r y=document.createElement("td");y.className="gePropRowCell";p=mxResources.get(p,null,p);mxUtils.w…
3248get(p.dispName,null,p.dispName));break}mxEvent.addListener(y,"click",mxUtils.bind(q,function(){var…
3252 ….style.verticalAlign="middle";t.appendChild(y);mxUtils.write(t,mxResources.get("property"));v.styl…
3254 t.innerHTML=mxResources.get("value");v.appendChild(t);x.appendChild(v);var H=!1,A=!1,v=null;1==c.ve…
3268 …etSelectionState(),c=null;1==d.cells.length&&(c=mxUtils.button(mxResources.get("editStyle"),mxUtil…
3269get("editStyle").funct()})),c.setAttribute("title",mxResources.get("editStyle")+" ("+this.editorUi…
3270get("editShape")),d.style.marginBottom="2px",null==c?d.style.width="210px":(c.style.width="104px",…
3281 …Editor.visibleImage:Editor.hiddenImage);u.setAttribute("title",mxResources.get(g?"hideIt":"show",[…
3284 …u.setAttribute("src",Editor.crossImage);u.setAttribute("title",mxResources.get("removeIt",[b]));mx…
3285 …ltChecked;v.style.background="transparent";v.setAttribute("title",mxResources.get(v.defaultChecked?
3287 …es.get("reset"),function(b){l.hiddenTags=[];mxEvent.isShiftDown(b)||(m=l.hiddenTags.slice());f();l…
3288 …=mxUtils.button(mxResources.get("add"),function(){null!=c&&c(m,function(b){m=b;v()})});u.setAttrib…
3333 1,d.view.translate=new mxPoint(0,0),d.view.scale=1);var u=d.getGraphBounds(),v=0,p=0,x=M.get(),t=1/…
3339 …,m,C.checked,K.value,J.value,parseInt(y.value)/100,parseInt(E.value)/100,M.get());else{n&&(n=l==k&…
3341 …Child(l.container)}}else u=c(e);null==u?b.handleError({message:mxResources.get("errorUpdatingPrevi…
3342 ….textAlign="center";l.style.marginTop="0px";mxUtils.write(l,d||mxResources.get("print"));g.appendC…
3343get("printAllPages"));n.appendChild(l);mxUtils.br(n);var u=q.cloneNode(!0);q.setAttribute("checked…
3344 mxUtils.write(l,mxResources.get("to"));n.appendChild(l);var p=v.cloneNode(!0);n.appendChild(p);mxEv…
3345 …ppendChild(t);l=document.createElement("span");mxUtils.write(l,mxResources.get("adjustTo"));x.appe…
3347get("fitTo"));var K=document.createElement("input");K.style.cssText="margin:0 8px 0 8px;";K.setAtt…
3348get("fitToBy"));var J=K.cloneNode(!0);L.appendChild(J);mxEvent.addListener(K,"focus",function(){C.…
3349get("paperSize"));n.appendChild(l);l=document.createElement("div");l.style.marginBottom="12px";var…
3350 …s.get("cancel"),function(){b.hideDialog()});n.className="geBtn";b.editor.cancelFirst&&l.appendChil…
3351 …tton(mxResources.get("preview"),function(){b.hideDialog();f(!1)}),x.className="geBtn",l.appendChil…
3379 …tePageRoot(new DiagramPage(e[g]));null==k.getName()&&k.setName(mxResources.get("pageWithNumber",[g…
3380 …nerDocument.createElement("diagram")),this.currentPage.setName(mxResources.get("pageWithNumber",[1…
3393 …{message:mxResources.get("busy")}):!b&&d.invalidChecksum?d.handleFileError(null,!0):this.spinner.s…
3402 …var d=Editor.extractParserError(b,mxResources.get("invalidOrMissingFile"));if(d)throw Error(mxReso…
3403 …e("id",e),b=new DiagramPage(d[e]),null==b.getName()&&b.setName(mxResources.get("pageWithNumber",[e…
3404 …nerDocument.createElement("diagram")),this.currentPage.setName(mxResources.get("pageWithNumber",[1…
3407get("export")))"xmlpng"==b?f=d+".png":"jpeg"==b&&(f=d+".jpg"),this.saveRequest(f,b,mxUtils.bind(th…
3408 mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(m)}))});if("svg"==b){var v=this…
3409 …dth*f.height>MAX_AREA||e.length>MAX_REQUEST_SIZE)throw{message:mxResources.get("drawingTooLarge")}…
3413 …this.updateDiagram(b.getText()),m()):this.handleError({message:mxResources.get("error")+" "+b.getS…
3419 …Seconds(),d=d+(" "+(e+"-"+k+"-"+p+"-"+t+"-"+x+"-"+g));return d=mxResources.get("copyOf",[d])+f};Ed…
3420 …"none",this.fname.innerHTML="",this.fname.setAttribute("title",mxResources.get("rename")));this.ed…
3422 this.editor.setStatus('<span class="geStatusAlert">'+mxUtils.htmlEntities(mxResources.get("readOnly…
3423 …File.opened",[b]);"1"==urlParams.viewerOnlyMsg&&this.showAlert(mxResources.get("viewerOnlyMsg"));i…
3424 …urces.get("reconnecting"))?window.location.search=this.getSearch(["url"]):null!=d?this.fileLoaded(…
3431 …,d.documentElement.getAttribute("title"),c)}else throw{message:mxResources.get("notALibraryFile")}…
3432 …reateElement("div"),f.className="geDropTarget",mxUtils.write(f,mxResources.get("dragElementsHere")…
3434 t.setAttribute("title",mxResources.get("close"));t.setAttribute("valign","absmiddle");t.setAttribut…
3435 null!=I?this.confirm(mxResources.get("allChangesLost"),null,c,mxResources.get("cancel"),mxResources…
3436get("saving")),F.style.cursor="default",F.style.marginRight="2px",F.style.marginTop="-2px",p.inser…
3438 …)?(B.getRubberband().execute(b),B.getRubberband().reset()):this.showError(mxResources.get("error"),
3439 mxResources.get("nothingIsSelected"),mxResources.get("ok"));else{var d=B.getSelectionCells(),c=B.vi…
3444 …handler:",Y)}x||(this.spinner.stop(),this.handleError({message:mxResources.get("errorLoadingFile")…
3445 …this.handleError({message:mxResources.get(413==b.status?"drawingTooLarge":"invalidOrMissingFile")}…
3446get("edit"));p.insertBefore(t,p.firstChild);mxEvent.addListener(t,"click",M);mxEvent.addListener(k…
3447 g.setAttribute("title",mxResources.get("help")),g.style.cssText="color:#a3a3a3;text-decoration:none…
3455get("moreShapes")+"...");mxEvent.addListener(c,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUti…
3456 …r,b,"INFO")}catch(F){}if(null!=f||null!=c){p=mxUtils.htmlEntities(mxResources.get("unknownError"));
3457get("ok"),m=null;c=null!=c?c:mxResources.get("error");if(null!=f){null!=f.retry&&(l=mxResources.ge…
3458 …ng(45,q.lastIndexOf("%26ex")):q.substring(2);this.showError(c,p,mxResources.get("openInNewWindow"),
3459 …/drive.google.com/open?id="+q);this.handleError(b,c,e,g,k)}),m,mxResources.get("changeUser"),mxUti…
3460get("addAccount"));c.value=d.length;e.appendChild(c)}var d=this.drive.getUsersList(),c=document.cr…
3461 ….substr(1),!0)}));this.showDialog(c.container,300,100,!0,!0)}),mxResources.get("cancel"),mxUtils.b…
3462get("timeout")):f.code==App.ERROR_BUSY?p=mxUtils.htmlEntities(mxResources.get("busy")):"string"===…
3463get("contactOwner"),p+=mxUtils.htmlEntities(" ("+n+": "+f.ownerEmail+")"),u=mxUtils.bind(this,func…
3466 …bute("src",Dialog.prototype.closeImage);d.setAttribute("title",mxResources.get(g?"doNotShowAgain":…
3467 …setAttribute("for","geDoNotShowAgainCheckbox");mxUtils.write(k,mxResources.get("doNotShowAgain"));…
3470 …tor.writeGraphModelToPng(b,"pHYs","dpi",g));else throw{message:mxResources.get("unknownError")};re…
3471 …alog=function(b,c){var d=new TextareaDialog(this,b,c,null,null,mxResources.get("close"));d.textare…
3477 …,mxUtils.bind(this,function(){this.hideDialog()}),mxResources.get("saveAs"),mxResources.get("downl…
3482 …ject("tagsDialogShown"))}mxEvent.consume(b)}),Editor.tagsImage,mxResources.get("tags"));this.edito…
3488 …ointer";b.style.backgroundColor="white";b.setAttribute("title",mxResources.get("openInNewWindow"))…
3489 …ild(this.exportDialog)}mxEvent.consume(b)}),Editor.cameraImage,mxResources.get("export"))}};Editor…
3491get("saving"))&&f.send(mxUtils.bind(this,function(){this.spinner.stop();if(200<=f.getStatus()&&299…
3492 mxResources.get("saveAs"),mxResources.get("download"),!1,!1,p,null,1<d,f,g,n,k);d=this.isServices(d…
3493 mxResources.get("export")))try{var d=this.editor.graph.isSelectionEmpty();e=null!=e?e:d;var f=c?nul…
3494 …b,"image/svg+xml"):this.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("…
3496 …prototype.addEditButton=function(b,c){var d=this.addCheckbox(b,mxResources.get("edit")+":",!0,null…
3497 …Resources.get("makeCopy"));g.appendChild(e);e=document.createElement("option");e.setAttribute("val…
3498 …ar b=new FilenameDialog(this,f,mxResources.get("ok"),function(b){null!=b?f=b:g.value="blank"},mxRe…
3500get("links")+":");var e=document.createElement("select");e.style.width="100px";e.style.marginLeft=…
3501get("openInThisWindow"));e.appendChild(f);c&&(f=document.createElement("option"),f.setAttribute("v…
3508 mxUtils.write(f,mxResources.get("html"));f.style.cssText="width:100%;text-align:center;margin-top:0…
3509get("includeCopyOfMyDiagram"));l.appendChild(q);mxUtils.br(l);l.appendChild(k);q=document.createEl…
3510 …pendChild(l);var t=this.addLinkSection(d),I=this.addCheckbox(d,mxResources.get("zoom"),!0,null,!0)…
3511get("fit"),!0),l=null!=this.pages&&1<this.pages.length,M=M=this.addCheckbox(d,mxResources.get("all…
3513 "nowrap";var f=document.createElement("h3");mxUtils.write(f,b||mxResources.get("link"));f.style.css…
3514get("linkAccountRequired"));f.appendChild(m);m=mxUtils.button(mxResources.get("share"),mxUtils.bin…
3515get("loading"))&&this.getPublicUrl(this.getCurrentFile(),mxUtils.bind(this,function(b){this.spinne…
3516 …nBottom="10px",q.value="100%",d.appendChild(q),mxUtils.write(d,mxResources.get("height")+":"),t=do…
3517get("allPages"),e,!e);var E=this.addCheckbox(d,mxResources.get("lightbox"),!0,null,null,!n),K=this…
3519get("create"),p);this.showDialog(c.container,340,300+b,!0,!0);null!=q?(q.focus(),mxClient.IS_GC||m…
3520get("zoom")+":");var l=document.createElement("input");l.setAttribute("type","text");l.style.margi…
3521get("selectionOnly"),!1,this.editor.graph.isSelectionEmpty()),p=g?null:this.addCheckbox(d,mxResour…
3523get("zoom")+":");var q=document.createElement("input");q.setAttribute("type","text");q.style.margi…
3524 "0";d.appendChild(u);mxUtils.br(d);var v=this.addCheckbox(d,mxResources.get("selectionOnly"),!1,f.i…
3525get(b[m]));L.setAttribute("value",b[m]);C.appendChild(L)}y?(mxUtils.write(d,mxResources.get("size"…
3526get("transparentBackground"),!1,null,null,"jpeg"!=t),ea=null;Editor.isDarkMode()&&(ea=this.addChec…
3527 …ild(Q),mxUtils.write(d,mxResources.get("embedImages")),mxUtils.br(d),d.appendChild(T),mxUtils.writ…
3528get("grid"),!1,this.isOffline()||!this.canvasSupported,!1,!0),l+=30;var J=this.addCheckbox(d,mxRes…
3529get("openInNewWindow"));A.appendChild(c);c=document.createElement("option");c.setAttribute("value"…
3531get("fit"),!0),q=this.addCheckbox(d,mxResources.get("shadow"),f.shadowVisible&&g,!g),p=this.addChe…
3533 B.getLink(),E.checked)}),null,mxResources.get("embed"),k);this.showDialog(c.container,280,300,!0,!0…
3535 …d(b)}),null,null,null,mxUtils.bind(this,function(b){t({message:mxResources.get("unknownError")})})…
3536 …ng;base64,"+q.getText()):t({message:mxResources.get("unknownError")})}))}else t({message:mxResourc…
3540get("years");d=Math.floor(b/2592E3);if(1<d)return d+" "+mxResources.get("months");d=Math.floor(b/8…
3541 …alVariable=function(b){return"page"==b?d.getAttribute("name")||mxResources.get("pageWithNumber",[1…
3547 …,x,D,I,B){y=null!=y?y:"png";if(this.spinner.spin(document.body,mxResources.get("exporting"))){var …
3549 ….pages.length&&this.isDiagramEmpty()&&this.currentPage.getName()==mxResources.get("pageWithNumber",
3551 E.getName()&&E.setName(mxResources.get("pageWithNumber",[K+1]));f.model.execute(new ChangePage(this…
3555 …ine())e({message:"conf"==this.getServiceName()?mxResources.get("vsdNoConfig"):mxResources.get("ser…
3556 …nd(this,function(b){try{c(b.target.result)}catch(M){e({message:mxResources.get("errorLoadingFile")…
3557 …ch(I){e(I)}}else this.spinner.stop(),this.handleError({message:mxResources.get("serviceUnavailable…
3558 …tch(m){e(m)}else this.spinner.stop(),this.handleError({message:mxResources.get("serviceUnavailable…
3559 …ssage:mxResources.get("unknownError")})}catch(l){this.handleError(l)}else this.spinner.stop(),this…
3560 …){null!=window.console&&console.error(m),e(m)}}else e({message:mxResources.get("serviceUnavailable…
3563 …onvertDataUri(Editor.createSvgDataUri(b)),f,l)}else g({message:mxResources.get("invalidInput")})}c…
4026 …var c=b.indexOf(",");d.selectPageById(b.substring(c+1))||alert(mxResources.get("pageNotFound")||"P…
4052 …n(){this.selectPage(this.currentPage-1)}),Editor.previousImage,mxResources.get("previousPage")||"P…
4053 1)}),Editor.nextImage,mxResources.get("nextPage")||"Next Page");I.style.paddingLeft="0px";I.style.p…
4054get("zoomOut")||"Zoom Out"),b(mxUtils.bind(this,function(){this.graph.zoomIn()}),Editor.zoomInImag…
4057 …ttom-2+"px";document.body.appendChild(m)}}),Editor.layersImage,mxResources.get("layers")||"Layers"…
4059 …";document.body.appendChild(u);n.refresh()}}),Editor.tagsImage,mxResources.get("tags")||"Tags");B.…
4060 …d(this,function(){this.showLightbox()}),Editor.fullscreenImage,mxResources.get("fullscreen")||"Ful…