Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jgraph/drawio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/webapp/js/integrate.min.js')
-rw-r--r--src/main/webapp/js/integrate.min.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/webapp/js/integrate.min.js b/src/main/webapp/js/integrate.min.js
index 4cae2fb6..f5ecae4f 100644
--- a/src/main/webapp/js/integrate.min.js
+++ b/src/main/webapp/js/integrate.min.js
@@ -469,7 +469,7 @@ if("1"==urlParams.offline||"1"==urlParams.demo||"1"==urlParams.stealth||"1"==url
"se.diagrams.net"==window.location.hostname&&(urlParams.db="0",urlParams.od="0",urlParams.gh="0",urlParams.gl="0",urlParams.tr="0",urlParams.plugins="0",urlParams.mode="google",urlParams.lockdown="1",window.DRAWIO_GOOGLE_APP_ID=window.DRAWIO_GOOGLE_APP_ID||"184079235871",window.DRAWIO_GOOGLE_CLIENT_ID=window.DRAWIO_GOOGLE_CLIENT_ID||"184079235871-pjf5nn0lff27lk8qf0770gmffiv9gt61.apps.googleusercontent.com");"trello"==urlParams.mode&&(urlParams.tr="1");
"embed.diagrams.net"==window.location.hostname&&(urlParams.embed="1");(null==window.location.hash||1>=window.location.hash.length)&&null!=urlParams.open&&(window.location.hash=urlParams.open);window.urlParams=window.urlParams||{};window.DOM_PURIFY_CONFIG=window.DOM_PURIFY_CONFIG||{ADD_TAGS:["use"],FORBID_TAGS:["form"],ALLOWED_URI_REGEXP:/^((?!javascript:).)*$/i,ADD_ATTR:["target","content"]};window.MAX_REQUEST_SIZE=window.MAX_REQUEST_SIZE||10485760;window.MAX_AREA=window.MAX_AREA||225E6;window.EXPORT_URL=window.EXPORT_URL||"/export";window.SAVE_URL=window.SAVE_URL||"/save";window.OPEN_URL=window.OPEN_URL||"/open";window.RESOURCES_PATH=window.RESOURCES_PATH||"resources";
window.RESOURCE_BASE=window.RESOURCE_BASE||window.RESOURCES_PATH+"/grapheditor";window.STENCIL_PATH=window.STENCIL_PATH||"stencils";window.IMAGE_PATH=window.IMAGE_PATH||"images";window.STYLE_PATH=window.STYLE_PATH||"styles";window.CSS_PATH=window.CSS_PATH||"styles";window.OPEN_FORM=window.OPEN_FORM||"open.html";window.mxBasePath=window.mxBasePath||"mxgraph";window.mxImageBasePath=window.mxImageBasePath||"mxgraph/images";window.mxLanguage=window.mxLanguage||urlParams.lang;
-window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"19.0.0",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),
+window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"19.0.1",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),
IS_OP:null!=navigator.userAgent&&(0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/")),IS_OT:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&0>navigator.userAgent.indexOf("Presto/2.2.")&&0>navigator.userAgent.indexOf("Presto/2.1.")&&0>navigator.userAgent.indexOf("Presto/2.0.")&&0>navigator.userAgent.indexOf("Presto/1."),IS_SF:/Apple Computer, Inc/.test(navigator.vendor),
IS_ANDROID:0<=navigator.appVersion.indexOf("Android"),IS_IOS:/iP(hone|od|ad)/.test(navigator.platform)||navigator.userAgent.match(/Mac/)&&navigator.maxTouchPoints&&2<navigator.maxTouchPoints,IS_WEBVIEW:/((iPhone|iPod|iPad).*AppleWebKit(?!.*Version)|; wv)/i.test(navigator.userAgent),IS_GC:/Google Inc/.test(navigator.vendor),IS_CHROMEAPP:null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime,IS_FF:"undefined"!==typeof InstallTrigger,IS_MT:0<=navigator.userAgent.indexOf("Firefox/")&&0>navigator.userAgent.indexOf("Firefox/1.")&&
0>navigator.userAgent.indexOf("Firefox/2.")||0<=navigator.userAgent.indexOf("Iceweasel/")&&0>navigator.userAgent.indexOf("Iceweasel/1.")&&0>navigator.userAgent.indexOf("Iceweasel/2.")||0<=navigator.userAgent.indexOf("SeaMonkey/")&&0>navigator.userAgent.indexOf("SeaMonkey/1.")||0<=navigator.userAgent.indexOf("Iceape/")&&0>navigator.userAgent.indexOf("Iceape/1."),IS_SVG:"MICROSOFT INTERNET EXPLORER"!=navigator.appName.toUpperCase(),NO_FO:!document.createElementNS||"[object SVGForeignObjectElement]"!==
@@ -11710,7 +11710,7 @@ this.page&&(this.page=this.ui.currentPage);if(this.page!=this.ui.currentPage){if
this.shadowVisible)}}else V.apply(this,arguments),null!=this.mathEnabled&&this.mathEnabled!=this.ui.isMathEnabled()&&(this.ui.setMathEnabled(this.mathEnabled),this.mathEnabled=!this.mathEnabled),null!=this.shadowVisible&&this.shadowVisible!=this.ui.editor.graph.shadowVisible&&(this.ui.editor.graph.setShadowVisible(this.shadowVisible),this.shadowVisible=!this.shadowVisible)};Editor.prototype.useCanvasForExport=!1;try{var U=document.createElement("canvas"),Y=new Image;Y.onload=function(){try{U.getContext("2d").drawImage(Y,
0,0);var n=U.toDataURL("image/png");Editor.prototype.useCanvasForExport=null!=n&&6<n.length}catch(D){}};Y.src="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1px" height="1px" version="1.1"><foreignObject pointer-events="all" width="1" height="1"><div xmlns="http://www.w3.org/1999/xhtml"></div></foreignObject></svg>')))}catch(n){}})();
(function(){var b=new mxObjectCodec(new ChangePageSetup,["ui","previousColor","previousImage","previousFormat"]);b.beforeDecode=function(f,l,d){d.ui=f.ui;return l};b.afterDecode=function(f,l,d){d.previousColor=d.color;d.previousImage=d.image;d.previousFormat=d.format;null!=d.foldingEnabled&&(d.foldingEnabled=!d.foldingEnabled);null!=d.mathEnabled&&(d.mathEnabled=!d.mathEnabled);null!=d.shadowVisible&&(d.shadowVisible=!d.shadowVisible);return d};mxCodecRegistry.register(b)})();
-(function(){var b=new mxObjectCodec(new ChangeGridColor,["ui"]);b.beforeDecode=function(f,l,d){d.ui=f.ui;return l};mxCodecRegistry.register(b)})();(function(){EditorUi.VERSION="19.0.0";EditorUi.compactUi="atlas"!=uiTheme;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname))&&"support.draw.io"!=window.location.hostname;EditorUi.drawHost=window.DRAWIO_BASE_URL;EditorUi.lightboxHost=window.DRAWIO_LIGHTBOX_URL;EditorUi.lastErrorMessage=
+(function(){var b=new mxObjectCodec(new ChangeGridColor,["ui"]);b.beforeDecode=function(f,l,d){d.ui=f.ui;return l};mxCodecRegistry.register(b)})();(function(){EditorUi.VERSION="19.0.1";EditorUi.compactUi="atlas"!=uiTheme;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname))&&"support.draw.io"!=window.location.hostname;EditorUi.drawHost=window.DRAWIO_BASE_URL;EditorUi.lightboxHost=window.DRAWIO_LIGHTBOX_URL;EditorUi.lastErrorMessage=
null;EditorUi.ignoredAnonymizedChars="\n\t`~!@#$%^&*()_+{}|:\"<>?-=[];'./,\n\t";EditorUi.templateFile=TEMPLATE_PATH+"/index.xml";EditorUi.cacheUrl=window.REALTIME_URL;null==EditorUi.cacheUrl&&"undefined"!==typeof DrawioFile&&(DrawioFile.SYNC="none");Editor.cacheTimeout=1E4;EditorUi.enablePlantUml=EditorUi.enableLogging;EditorUi.isElectronApp=null!=window&&null!=window.process&&null!=window.process.versions&&null!=window.process.versions.electron;EditorUi.nativeFileSupport=!mxClient.IS_OP&&!EditorUi.isElectronApp&&
"1"!=urlParams.extAuth&&"showSaveFilePicker"in window&&"showOpenFilePicker"in window;EditorUi.enableDrafts=!mxClient.IS_CHROMEAPP&&isLocalStorage&&"0"!=urlParams.drafts;EditorUi.scratchpadHelpLink="https://www.diagrams.net/doc/faq/scratchpad";EditorUi.enableHtmlEditOption=!0;EditorUi.defaultMermaidConfig={theme:"neutral",arrowMarkerAbsolute:!1,flowchart:{htmlLabels:!1},sequence:{diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,
mirrorActors:!0,bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,showSequenceNumbers:!1},gantt:{titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,leftPadding:75,gridLineStartPadding:35,fontSize:11,fontFamily:'"Open-Sans", "sans-serif"',numberSectionStyles:4,axisFormat:"%Y-%m-%d"}};EditorUi.logError=function(c,e,g,k,m,p,v){p=null!=p?p:0<=c.indexOf("NetworkError")||0<=c.indexOf("SecurityError")||0<=c.indexOf("NS_ERROR_FAILURE")||0<=c.indexOf("out of memory")?"CONFIG":"SEVERE";if(EditorUi.enableLogging&&
@@ -12074,10 +12074,10 @@ function(){mxscript("js/orgchart/mxOrgChartLayout.js",e)})})}):mxscript("js/exte
1));"label"==da?P=z.sanitizeHtml(fa):"labelname"==da&&0<fa.length&&"-"!=fa?q=fa:"labels"==da&&0<fa.length&&"-"!=fa?A=JSON.parse(fa):"style"==da?L=fa:"parentstyle"==da?B=fa:"unknownStyle"==da&&"-"!=fa?C=fa:"stylename"==da&&0<fa.length&&"-"!=fa?K=fa:"styles"==da&&0<fa.length&&"-"!=fa?N=JSON.parse(fa):"vars"==da&&0<fa.length&&"-"!=fa?y=JSON.parse(fa):"identity"==da&&0<fa.length&&"-"!=fa?G=fa:"parent"==da&&0<fa.length&&"-"!=fa?M=fa:"namespace"==da&&0<fa.length&&"-"!=fa?H=fa:"width"==da?F=fa:"height"==
da?J=fa:"collapsed"==da&&"-"!=fa?R="true"==fa:"left"==da&&0<fa.length?W=fa:"top"==da&&0<fa.length?O=fa:"ignore"==da?ja=fa.split(","):"connect"==da?X.push(JSON.parse(fa)):"link"==da?ba=fa:"padding"==da?n=parseFloat(fa):"edgespacing"==da?V=parseFloat(fa):"nodespacing"==da?U=parseFloat(fa):"levelspacing"==da?Y=parseFloat(fa):"layout"==da&&(T=fa)}}}if(null==g[Z])throw Error(mxResources.get("invalidOrMissingFile"));var ma=this.editor.csvToArray(g[Z].replace(/\r$/,""));ka=c=null;da=[];for(fa=0;fa<ma.length;fa++)G==
ma[fa]&&(c=fa),M==ma[fa]&&(ka=fa),da.push(mxUtils.trim(ma[fa]).replace(/[^a-z0-9]+/ig,"_").replace(/^\d+/,"").replace(/_+$/,""));null==P&&(P="%"+da[0]+"%");if(null!=X)for(var ya=0;ya<X.length;ya++)null==x[X[ya].to]&&(x[X[ya].to]={});G=[];for(fa=Z+1;fa<g.length;fa++){var Ba=this.editor.csvToArray(g[fa].replace(/\r$/,""));if(null==Ba){var Ha=40<g[fa].length?g[fa].substring(0,40)+"...":g[fa];throw Error(Ha+" ("+fa+"):\n"+mxResources.get("containsValidationErrors"));}0<Ba.length&&G.push(Ba)}z.model.beginUpdate();
-try{for(fa=0;fa<G.length;fa++){Ba=G[fa];var sa=null,Ga=null!=c?H+Ba[c]:null;null!=Ga&&(sa=z.model.getCell(Ga));var Ka=new mxCell(P,new mxGeometry(S,I,0,0),L||"whiteSpace=wrap;html=1;");Ka.collapsed=R;Ka.vertex=!0;Ka.id=Ga;null!=sa&&z.model.setCollapsed(sa,R);for(var Ma=0;Ma<Ba.length;Ma++)z.setAttributeForCell(Ka,da[Ma],Ba[Ma]),null!=sa&&z.setAttributeForCell(sa,da[Ma],Ba[Ma]);if(null!=q&&null!=A){var Ia=A[Ka.getAttribute(q)];null!=Ia&&(z.labelChanged(Ka,Ia),null!=sa&&z.cellLabelChanged(sa,Ia))}if(null!=
-K&&null!=N){var Ea=N[Ka.getAttribute(K)];null!=Ea&&(Ka.style=Ea)}z.setAttributeForCell(Ka,"placeholders","1");Ka.style=z.replacePlaceholders(Ka,Ka.style,y);null!=sa?(z.model.setStyle(sa,Ka.style),0>mxUtils.indexOf(p,sa)&&p.push(sa),z.fireEvent(new mxEventObject("cellsInserted","cells",[sa]))):z.fireEvent(new mxEventObject("cellsInserted","cells",[Ka]));g=null!=sa;sa=Ka;if(!g)for(ya=0;ya<X.length;ya++)x[X[ya].to][sa.getAttribute(X[ya].to)]=sa;null!=ba&&"link"!=ba&&(z.setLinkForCell(sa,sa.getAttribute(ba)),
-z.setAttributeForCell(sa,ba,null));var Fa=this.editor.graph.getPreferredSizeForCell(sa);M=null!=ka?z.model.getCell(H+Ba[ka]):null;if(sa.vertex){Ha=null!=M?0:S;Z=null!=M?0:Q;null!=W&&null!=sa.getAttribute(W)&&(sa.geometry.x=Ha+parseFloat(sa.getAttribute(W)));null!=O&&null!=sa.getAttribute(O)&&(sa.geometry.y=Z+parseFloat(sa.getAttribute(O)));var Pa="@"==F.charAt(0)?sa.getAttribute(F.substring(1)):null;sa.geometry.width=null!=Pa&&"auto"!=Pa?parseFloat(sa.getAttribute(F.substring(1))):"auto"==F||"auto"==
-Pa?Fa.width+n:parseFloat(F);var Aa="@"==J.charAt(0)?sa.getAttribute(J.substring(1)):null;sa.geometry.height=null!=Aa&&"auto"!=Aa?parseFloat(Aa):"auto"==J||"auto"==Aa?Fa.height+n:parseFloat(J);I+=sa.geometry.height+U}g?(null==v[Ga]&&(v[Ga]=[]),v[Ga].push(sa)):(k.push(sa),null!=M?(M.style=z.replacePlaceholders(M,B,y),z.addCell(sa,M),m.push(M)):p.push(z.addCell(sa)))}for(fa=0;fa<m.length;fa++)Pa="@"==F.charAt(0)?m[fa].getAttribute(F.substring(1)):null,Aa="@"==J.charAt(0)?m[fa].getAttribute(J.substring(1)):
+try{for(fa=0;fa<G.length;fa++){Ba=G[fa];var sa=null,Ga=null!=c?H+Ba[c]:null;g=!1;null!=Ga&&(sa=z.model.getCell(Ga),g=null==sa||0<=mxUtils.indexOf(k,sa));var Ka=new mxCell(P,new mxGeometry(S,I,0,0),L||"whiteSpace=wrap;html=1;");Ka.collapsed=R;Ka.vertex=!0;Ka.id=Ga;null==sa||g||z.model.setCollapsed(sa,R);for(var Ma=0;Ma<Ba.length;Ma++)z.setAttributeForCell(Ka,da[Ma],Ba[Ma]),null==sa||g||z.setAttributeForCell(sa,da[Ma],Ba[Ma]);if(null!=q&&null!=A){var Ia=A[Ka.getAttribute(q)];null!=Ia&&(z.labelChanged(Ka,
+Ia),null==sa||g||z.cellLabelChanged(sa,Ia))}if(null!=K&&null!=N){var Ea=N[Ka.getAttribute(K)];null!=Ea&&(Ka.style=Ea)}z.setAttributeForCell(Ka,"placeholders","1");Ka.style=z.replacePlaceholders(Ka,Ka.style,y);null!=sa?(z.model.setStyle(sa,Ka.style),0>mxUtils.indexOf(p,sa)&&p.push(sa),z.fireEvent(new mxEventObject("cellsInserted","cells",[sa]))):z.fireEvent(new mxEventObject("cellsInserted","cells",[Ka]));g=null!=sa;sa=Ka;if(!g)for(ya=0;ya<X.length;ya++)x[X[ya].to][sa.getAttribute(X[ya].to)]=sa;null!=
+ba&&"link"!=ba&&(z.setLinkForCell(sa,sa.getAttribute(ba)),z.setAttributeForCell(sa,ba,null));var Fa=this.editor.graph.getPreferredSizeForCell(sa);M=null!=ka?z.model.getCell(H+Ba[ka]):null;if(sa.vertex){Ha=null!=M?0:S;Z=null!=M?0:Q;null!=W&&null!=sa.getAttribute(W)&&(sa.geometry.x=Ha+parseFloat(sa.getAttribute(W)));null!=O&&null!=sa.getAttribute(O)&&(sa.geometry.y=Z+parseFloat(sa.getAttribute(O)));var Pa="@"==F.charAt(0)?sa.getAttribute(F.substring(1)):null;sa.geometry.width=null!=Pa&&"auto"!=Pa?parseFloat(sa.getAttribute(F.substring(1))):
+"auto"==F||"auto"==Pa?Fa.width+n:parseFloat(F);var Aa="@"==J.charAt(0)?sa.getAttribute(J.substring(1)):null;sa.geometry.height=null!=Aa&&"auto"!=Aa?parseFloat(Aa):"auto"==J||"auto"==Aa?Fa.height+n:parseFloat(J);I+=sa.geometry.height+U}g?(null==v[Ga]&&(v[Ga]=[]),v[Ga].push(sa)):(k.push(sa),null!=M?(M.style=z.replacePlaceholders(M,B,y),z.addCell(sa,M),m.push(M)):p.push(z.addCell(sa)))}for(fa=0;fa<m.length;fa++)Pa="@"==F.charAt(0)?m[fa].getAttribute(F.substring(1)):null,Aa="@"==J.charAt(0)?m[fa].getAttribute(J.substring(1)):
null,"auto"!=F&&"auto"!=Pa||"auto"!=J&&"auto"!=Aa||z.updateGroupBounds([m[fa]],n,!0);var za=p.slice(),pa=p.slice();for(ya=0;ya<X.length;ya++){var ea=X[ya];for(fa=0;fa<k.length;fa++){sa=k[fa];var ta=mxUtils.bind(this,function(ra,ia,Da){var Ja=ia.getAttribute(Da.from);if(null!=Ja&&""!=Ja){Ja=Ja.split(",");for(var Sa=0;Sa<Ja.length;Sa++){var Ra=x[Da.to][Ja[Sa]];if(null==Ra&&null!=C){Ra=new mxCell(Ja[Sa],new mxGeometry(S,Q,0,0),C);Ra.style=z.replacePlaceholders(ia,Ra.style,y);var Ca=this.editor.graph.getPreferredSizeForCell(Ra);
Ra.geometry.width=Ca.width+n;Ra.geometry.height=Ca.height+n;x[Da.to][Ja[Sa]]=Ra;Ra.vertex=!0;Ra.id=Ja[Sa];p.push(z.addCell(Ra))}if(null!=Ra){Ca=Da.label;null!=Da.fromlabel&&(Ca=(ia.getAttribute(Da.fromlabel)||"")+(Ca||""));null!=Da.sourcelabel&&(Ca=z.replacePlaceholders(ia,Da.sourcelabel,y)+(Ca||""));null!=Da.tolabel&&(Ca=(Ca||"")+(Ra.getAttribute(Da.tolabel)||""));null!=Da.targetlabel&&(Ca=(Ca||"")+z.replacePlaceholders(Ra,Da.targetlabel,y));var La="target"==Da.placeholders==!Da.invert?Ra:ra;La=
null!=Da.style?z.replacePlaceholders(La,Da.style,y):z.createCurrentEdgeStyle();Ca=z.insertEdge(null,null,Ca||"",Da.invert?Ra:ra,Da.invert?ra:Ra,La);if(null!=Da.labels)for(La=0;La<Da.labels.length;La++){var Oa=Da.labels[La],Qa=new mxCell(Oa.label||La,new mxGeometry(null!=Oa.x?Oa.x:0,null!=Oa.y?Oa.y:0,0,0),"resizable=0;html=1;");Qa.vertex=!0;Qa.connectable=!1;Qa.geometry.relative=!0;null!=Oa.placeholders&&(Qa.value=z.replacePlaceholders("target"==Oa.placeholders==!Da.invert?Ra:ra,Qa.value,y));if(null!=