parent
65ae1c5ae2
commit
253da366cc
61 changed files with 474 additions and 402 deletions
|
@ -1,3 +1,11 @@
|
|||
26-JUL-2019: 11.0.7
|
||||
|
||||
- Fixes for MS Office Add-in
|
||||
|
||||
26-JUL-2019: 11.0.6
|
||||
|
||||
- Improves error handling for exportToCanvas
|
||||
|
||||
24-JUL-2019: 11.0.5
|
||||
|
||||
- Adds timeout for Office Add-in server fallback
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
11.0.5
|
||||
11.0.7
|
|
@ -1,7 +1,7 @@
|
|||
CACHE MANIFEST
|
||||
|
||||
# THIS FILE WAS GENERATED. DO NOT MODIFY!
|
||||
# 07/24/2019 02:55 PM
|
||||
# 07/26/2019 04:22 PM
|
||||
|
||||
app.html
|
||||
index.html?offline=1
|
||||
|
|
28
src/main/webapp/js/app.min.js
vendored
28
src/main/webapp/js/app.min.js
vendored
|
@ -133,7 +133,7 @@ l--,_+=n[s++]<<u,u+=8}if(a.nlen=(31&_)+257,_>>>=5,u-=5,a.ndist=(31&_)+1,_>>>=5,u
|
|||
var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(a,b){var c="",d,e,f,g,k,l,m=0;for(null!=b&&b||(a=Base64._utf8_encode(a));m<a.length;)d=a.charCodeAt(m++),e=a.charCodeAt(m++),f=a.charCodeAt(m++),g=d>>2,d=(d&3)<<4|e>>4,k=(e&15)<<2|f>>6,l=f&63,isNaN(e)?k=l=64:isNaN(f)&&(l=64),c=c+this._keyStr.charAt(g)+this._keyStr.charAt(d)+this._keyStr.charAt(k)+this._keyStr.charAt(l);return c},decode:function(a,b){b=null!=b?b:!1;var c="",d,e,f,g,k,l=0;for(a=a.replace(/[^A-Za-z0-9\+\/\=]/g,
|
||||
"");l<a.length;)d=this._keyStr.indexOf(a.charAt(l++)),e=this._keyStr.indexOf(a.charAt(l++)),g=this._keyStr.indexOf(a.charAt(l++)),k=this._keyStr.indexOf(a.charAt(l++)),d=d<<2|e>>4,e=(e&15)<<4|g>>2,f=(g&3)<<6|k,c+=String.fromCharCode(d),64!=g&&(c+=String.fromCharCode(e)),64!=k&&(c+=String.fromCharCode(f));b||(c=Base64._utf8_decode(c));return c},_utf8_encode:function(a){a=a.replace(/\r\n/g,"\n");for(var b="",c=0;c<a.length;c++){var d=a.charCodeAt(c);128>d?b+=String.fromCharCode(d):(127<d&&2048>d?b+=
|
||||
String.fromCharCode(d>>6|192):(b+=String.fromCharCode(d>>12|224),b+=String.fromCharCode(d>>6&63|128)),b+=String.fromCharCode(d&63|128))}return b},_utf8_decode:function(a){var b="",c=0,d;for(c1=c2=0;c<a.length;)d=a.charCodeAt(c),128>d?(b+=String.fromCharCode(d),c++):191<d&&224>d?(c2=a.charCodeAt(c+1),b+=String.fromCharCode((d&31)<<6|c2&63),c+=2):(c2=a.charCodeAt(c+1),c3=a.charCodeAt(c+2),b+=String.fromCharCode((d&15)<<12|(c2&63)<<6|c3&63),c+=3);return b}};window.urlParams=window.urlParams||{};window.isLocalStorage=window.isLocalStorage||!1;window.mxLoadSettings=window.mxLoadSettings||"1"!=urlParams.configure;window.isSvgBrowser=window.isSvgBrowser||0>navigator.userAgent.indexOf("MSIE")||9<=document.documentMode;window.EXPORT_URL=window.EXPORT_URL||"https://exp.draw.io/ImageExport4/export";window.PLANT_URL=window.PLANT_URL||"https://exp-plant.draw.io/plantuml4";window.DRAW_MATH_URL=window.DRAW_MATH_URL||"https://www.draw.io/math";
|
||||
window.VSD_CONVERT_URL=window.VSD_CONVERT_URL||"https://convert.draw.io/VsdConverter/api/converter";window.EMF_CONVERT_URL=window.EMF_CONVERT_URL||"convert";window.SAVE_URL=window.SAVE_URL||"save";window.OPEN_URL=window.OPEN_URL||"open";window.PROXY_URL=window.PROXY_URL||"proxy";window.VIEWER_URL=null;window.SHAPES_PATH=window.SHAPES_PATH||"shapes";window.GRAPH_IMAGE_PATH=window.GRAPH_IMAGE_PATH||"img";
|
||||
window.VSD_CONVERT_URL=window.VSD_CONVERT_URL||"https://convert.draw.io/VsdConverter/api/converter";window.EMF_CONVERT_URL=window.EMF_CONVERT_URL||"https://convert.draw.io/emf2png/convertEMF";window.SAVE_URL=window.SAVE_URL||"save";window.OPEN_URL=window.OPEN_URL||"open";window.PROXY_URL=window.PROXY_URL||"proxy";window.VIEWER_URL=null;window.SHAPES_PATH=window.SHAPES_PATH||"shapes";window.GRAPH_IMAGE_PATH=window.GRAPH_IMAGE_PATH||"img";
|
||||
window.ICONSEARCH_PATH=window.ICONSEARCH_PATH||((0<=navigator.userAgent.indexOf("MSIE")||urlParams.dev)&&"file:"!=window.location.protocol?"iconSearch":"https://www.draw.io/iconSearch");window.TEMPLATE_PATH=window.TEMPLATE_PATH||"templates";window.NEW_DIAGRAM_CATS_PATH=window.NEW_DIAGRAM_CATS_PATH||"newDiagramCats";window.PLUGINS_BASE_PATH=window.PLUGINS_BASE_PATH||"";window.RESOURCES_PATH=window.RESOURCES_PATH||"resources";window.RESOURCE_BASE=window.RESOURCE_BASE||RESOURCES_PATH+"/dia";
|
||||
window.mxLoadResources=window.mxLoadResources||!1;window.mxLanguage=window.mxLanguage||function(){var a="1"==urlParams.offline?"en":urlParams.lang;if(null==a&&"undefined"!=typeof JSON&&isLocalStorage)try{var b=localStorage.getItem(".drawio-config");null!=b&&(a=JSON.parse(b).language||null)}catch(c){isLocalStorage=!1}return a}();
|
||||
window.mxLanguageMap=window.mxLanguageMap||{i18n:"",id:"Bahasa Indonesia",ms:"Bahasa Melayu",bs:"Bosanski",bg:"Bulgarian",ca:"Català",cs:"Čeština",da:"Dansk",de:"Deutsch",et:"Eesti",en:"English",es:"Español",fil:"Filipino",fr:"Français",it:"Italiano",hu:"Magyar",nl:"Nederlands",no:"Norsk",pl:"Polski","pt-br":"Português (Brasil)",pt:"Português (Portugal)",ro:"Română",fi:"Suomi",sv:"Svenska",vi:"Tiếng Việt",tr:"Türkçe",el:"Ελληνικά",ru:"Русский",sr:"Српски",uk:"Українська",he:"עברית",ar:"العربية",th:"ไทย",
|
||||
|
@ -8468,7 +8468,7 @@ ka.style.cssText="margin:0 8px 0 8px;";ka.setAttribute("value","100 %");ka.style
|
|||
(this.page=this.ui.currentPage);this.page!=this.ui.currentPage?null!=this.page.viewState&&(this.ignoreColor||(this.page.viewState.background=this.color),this.ignoreImage||(this.page.viewState.backgroundImage=this.image),null!=this.format&&(this.page.viewState.pageFormat=this.format),null!=this.mathEnabled&&(this.page.viewState.mathEnabled=this.mathEnabled),null!=this.shadowVisible&&(this.page.viewState.shadowVisible=this.shadowVisible)):(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 B=document.createElement("canvas"),D=new Image;D.onload=function(){try{B.getContext("2d").drawImage(D,0,0);var a=B.toDataURL("image/png");Editor.prototype.useCanvasForExport=
|
||||
null!=a&&6<a.length}catch(J){}};D.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(y){}})();
|
||||
(function(){var a=new mxObjectCodec(new ChangePageSetup,["ui","previousColor","previousImage","previousFormat"]);a.beforeDecode=function(a,b,d){d.ui=a.ui;return b};a.afterDecode=function(a,b,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(a)})();(function(){EditorUi.VERSION="11.0.5";EditorUi.compactUi="atlas"!=uiTheme;EditorUi.enableLogging="1"!=urlParams.stealth&&/.*\.draw\.io$/.test(window.location.hostname)&&"support.draw.io"!=window.location.hostname;EditorUi.drawHost="https://www.draw.io";EditorUi.lastErrorMessage=null;EditorUi.ignoredAnonymizedChars="\n\t`~!@#$%^&*()_+{}|:\"<>?-=[];'./,\n\t";EditorUi.templateFile=TEMPLATE_PATH+"/index.xml";EditorUi.cacheUrl="1"==urlParams.dev?"/cache":"https://rt.draw.io/cache";EditorUi.enablePlantUml=
|
||||
(function(){var a=new mxObjectCodec(new ChangePageSetup,["ui","previousColor","previousImage","previousFormat"]);a.beforeDecode=function(a,b,d){d.ui=a.ui;return b};a.afterDecode=function(a,b,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(a)})();(function(){EditorUi.VERSION="11.0.7";EditorUi.compactUi="atlas"!=uiTheme;EditorUi.enableLogging="1"!=urlParams.stealth&&/.*\.draw\.io$/.test(window.location.hostname)&&"support.draw.io"!=window.location.hostname;EditorUi.drawHost="https://www.draw.io";EditorUi.lastErrorMessage=null;EditorUi.ignoredAnonymizedChars="\n\t`~!@#$%^&*()_+{}|:\"<>?-=[];'./,\n\t";EditorUi.templateFile=TEMPLATE_PATH+"/index.xml";EditorUi.cacheUrl="1"==urlParams.dev?"/cache":"https://rt.draw.io/cache";EditorUi.enablePlantUml=
|
||||
EditorUi.enableLogging;EditorUi.isElectronApp=null!=window&&null!=window.process&&null!=window.process.versions&&null!=window.process.versions.electron;EditorUi.scratchpadHelpLink="https://desk.draw.io/support/solutions/articles/16000042367";EditorUi.logError=function(a,b,c,d,e){if("1"==urlParams.dev)EditorUi.debug("logError",a,b,c,d,e);else if(EditorUi.enableLogging)try{if(a!=EditorUi.lastErrorMessage&&(null==a||null==b||-1==a.indexOf("Script error")&&-1==a.indexOf("extension"))&&null!=a&&0>a.indexOf("DocumentClosedError")){EditorUi.lastErrorMessage=
|
||||
a;var f=0<=a.indexOf("NetworkError")||0<=a.indexOf("SecurityError")||0<=a.indexOf("NS_ERROR_FAILURE")||0<=a.indexOf("out of memory")?"CONFIG":"SEVERE",l=null!=window.DRAWIO_LOG_URL?window.DRAWIO_LOG_URL:"";e=null!=e?e:Error(a);(new Image).src=l+"/log?severity="+f+"&v="+encodeURIComponent(EditorUi.VERSION)+"&msg=clientError:"+encodeURIComponent(a)+":url:"+encodeURIComponent(window.location.href)+":lnum:"+encodeURIComponent(c)+(null!=d?":colno:"+encodeURIComponent(d):"")+(null!=e&&null!=e.stack?"&stack="+
|
||||
encodeURIComponent(e.stack):"")}}catch(x){}};EditorUi.logEvent=function(a){if("1"==urlParams.dev)EditorUi.debug("logEvent",a);else if(EditorUi.enableLogging)try{var b=null!=window.DRAWIO_LOG_URL?window.DRAWIO_LOG_URL:"";(new Image).src=b+"/images/1x1.png?v="+encodeURIComponent(EditorUi.VERSION)+(null!=a?"&data="+encodeURIComponent(JSON.stringify(a)):"")}catch(p){}};EditorUi.sendReport=function(a,b){if("1"==urlParams.dev)EditorUi.debug("sendReport",a);else if(EditorUi.enableLogging)try{b=null!=b?b:
|
||||
|
@ -8636,20 +8636,20 @@ mxUtils.getXml(a))}));else return(d?"":'<?xml version="1.0" encoding="UTF-8"?>\n
|
|||
try{this.saveCanvas(a,e?this.getFileData(!0,null,null,null,c,m):null,n,!m)}catch(D){"Invalid image"==D.message?this.downloadFile(n):this.handleError(D)}}),null,this.thumbImageCache,null,mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a)}),null,c,a||1,b,d,null,null,g,k)}catch(B){this.spinner.stop(),this.handleError(B)}}};EditorUi.prototype.loadFonts=function(a){if(null!=this.editor.fontCss&&null==this.editor.resolvedFontCss){var b=function(a){return a.replace(RegExp("^[\\s\"']+",
|
||||
"g"),"").replace(RegExp("[\\s\"']+$","g"),"")},c=this.editor.fontCss.split("url("),d=0,f={},e=mxUtils.bind(this,function(){if(0==d){for(var e=[c[0]],g=1;g<c.length;g++){var l=c[g].indexOf(")");e.push('url("');e.push(f[b(c[g].substring(0,l))]);e.push('"'+c[g].substring(l))}this.editor.resolvedFontCss=e.join("");a()}});if(0<c.length)for(var g=1;g<c.length;g++){var k=c[g].indexOf(")"),m=null,n=c[g].indexOf("format(",k);0<n&&(m=b(c[g].substring(n+7,c[g].indexOf(")",n))));mxUtils.bind(this,function(a){if(null==
|
||||
f[a]){f[a]=a;d++;var b="application/x-font-ttf";if("svg"==m||/(\.svg)($|\?)/i.test(a))b="image/svg+xml";else if("otf"==m||"embedded-opentype"==m||/(\.otf)($|\?)/i.test(a))b="application/x-font-opentype";else if("woff"==m||/(\.woff)($|\?)/i.test(a))b="application/font-woff";else if("woff2"==m||/(\.woff2)($|\?)/i.test(a))b="application/font-woff2";else if("eot"==m||/(\.eot)($|\?)/i.test(a))b="application/vnd.ms-fontobject";else if("sfnt"==m||/(\.sfnt)($|\?)/i.test(a))b="application/font-sfnt";var c=
|
||||
a;/^https?:\/\//.test(c)&&!this.editor.isCorsEnabledForUrl(c)&&(c=PROXY_URL+"?url="+encodeURIComponent(a));this.loadUrl(c,mxUtils.bind(this,function(b){f[a]=b;d--;e()}),mxUtils.bind(this,function(a){d--;e()}),!0,null,"data:"+b+";charset=utf-8;base64,")}})(b(c[g].substring(0,k)),m)}}else a()};EditorUi.prototype.exportToCanvas=function(a,b,c,d,e,g,k,m,n,v,B,q,y,J){g=null!=g?g:!0;q=null!=q?q:this.editor.graph;y=null!=y?y:0;var f=n?null:q.background;f==mxConstants.NONE&&(f=null);null==f&&(f=d);null==
|
||||
f&&0==n&&(f="#ffffff");this.convertImages(q.getSvg(f,null,null,J,null,null!=k?k:!0,null,null,null,v),mxUtils.bind(this,function(c){var d=new Image;d.onload=mxUtils.bind(this,function(){try{var l=document.createElement("canvas"),k=parseInt(c.getAttribute("width")),p=parseInt(c.getAttribute("height"));m=null!=m?m:1;null!=b&&(m=g?Math.min(1,Math.min(3*b/(4*p),b/k)):b/k);k=Math.ceil(m*k)+2*y;p=Math.ceil(m*p)+2*y;l.setAttribute("width",k);l.setAttribute("height",p);var n=l.getContext("2d");null!=f&&(n.beginPath(),
|
||||
n.rect(0,0,k,p),n.fillStyle=f,n.fill());n.scale(m,m);mxClient.IS_SF?window.setTimeout(function(){n.drawImage(d,y/m,y/m);a(l)},0):(n.drawImage(d,y/m,y/m),a(l))}catch(V){null!=e&&e(V)}});d.onerror=function(a){null!=e&&e(a)};try{v&&this.editor.graph.addSvgShadow(c);var l=mxUtils.bind(this,function(){if(null!=this.editor.resolvedFontCss){var a=document.createElement("style");a.setAttribute("type","text/css");a.innerHTML=this.editor.resolvedFontCss;c.getElementsByTagName("defs")[0].appendChild(a)}this.convertMath(q,
|
||||
c,!0,mxUtils.bind(this,function(){d.src=this.createSvgDataUri(mxUtils.getXml(c))}))});this.loadFonts(l)}catch(E){null!=e&&e(E)}}),c,B)};EditorUi.prototype.createImageUrlConverter=function(){var a=new mxUrlConverter;a.updateBaseUrl();var b=a.convert,c=this;a.convert=function(d){if(null!=d){var f="http://"==d.substring(0,7)||"https://"==d.substring(0,8);f&&!navigator.onLine?d=c.svgBrokenImage.src:!f||d.substring(0,a.baseUrl.length)==a.baseUrl||c.crossOriginImages&&c.editor.isCorsEnabledForUrl(d)?"chrome-extension://"!=
|
||||
d.substring(0,19)&&(d=b.apply(this,arguments)):d=PROXY_URL+"?url="+encodeURIComponent(d)}return d};return a};EditorUi.prototype.convertImages=function(a,b,c,d){null==d&&(d=this.createImageUrlConverter());var f=0,e=c||{};c=mxUtils.bind(this,function(c,g){for(var l=a.getElementsByTagName(c),k=0;k<l.length;k++)mxUtils.bind(this,function(c){try{if(null!=c){var l=d.convert(c.getAttribute(g));if(null!=l&&"data:"!=l.substring(0,5)){var k=e[l];null==k?(f++,this.convertImageToDataUri(l,function(d){null!=d&&
|
||||
(e[l]=d,c.setAttribute(g,d));f--;0==f&&b(a)})):c.setAttribute(g,k)}else null!=l&&c.setAttribute(g,l)}}catch(J){}})(l[k])});c("image","xlink:href");c("img","src");0==f&&b(a)};EditorUi.prototype.loadUrl=function(a,b,c,d,e,g,k){try{var f=!k&&(d||/(\.png)($|\?)/i.test(a)||/(\.jpe?g)($|\?)/i.test(a)||/(\.gif)($|\?)/i.test(a));e=null!=e?e:!0;var l=mxUtils.bind(this,function(){mxUtils.get(a,mxUtils.bind(this,function(a){if(200<=a.getStatus()&&299>=a.getStatus()){if(null!=b){var d=a.getText();if(f){if((9==
|
||||
document.documentMode||10==document.documentMode)&&"undefined"!==typeof window.mxUtilsBinaryToArray){a=mxUtilsBinaryToArray(a.request.responseBody).toArray();for(var d=Array(a.length),e=0;e<a.length;e++)d[e]=String.fromCharCode(a[e]);d=d.join("")}g=null!=g?g:"data:image/png;base64,";d=g+this.base64Encode(d)}b(d)}}else null!=c&&c({message:mxResources.get("error")+" "+a.getStatus()},a)}),function(a){null!=c&&c({message:mxResources.get("error")+" "+a.getStatus()})},f,this.timeout,function(){e&&null!=
|
||||
c&&c({code:App.ERROR_TIMEOUT,retry:l})})});l()}catch(v){null!=c&&c(v)}};EditorUi.prototype.isCorsEnabledForUrl=function(a){return this.editor.isCorsEnabledForUrl(a)};EditorUi.prototype.convertImageToDataUri=function(a,b){try{var c=!0,d=window.setTimeout(mxUtils.bind(this,function(){c=!1;b(this.svgBrokenImage.src)}),this.timeout);if(/(\.svg)$/i.test(a))mxUtils.get(a,mxUtils.bind(this,function(a){window.clearTimeout(d);c&&b(this.createSvgDataUri(a.getText()))}),function(){window.clearTimeout(d);c&&
|
||||
b(this.svgBrokenImage.src)});else{var f=new Image,e=this;this.crossOriginImages&&(f.crossOrigin="anonymous");f.onload=function(){window.clearTimeout(d);if(c)try{var a=document.createElement("canvas"),g=a.getContext("2d");a.height=f.height;a.width=f.width;g.drawImage(f,0,0);b(a.toDataURL())}catch(C){b(e.svgBrokenImage.src)}};f.onerror=function(){window.clearTimeout(d);c&&b(e.svgBrokenImage.src)};f.src=a}}catch(A){b(this.svgBrokenImage.src)}};EditorUi.prototype.importXml=function(a,b,c,d,e){b=null!=
|
||||
a;/^https?:\/\//.test(c)&&!this.editor.isCorsEnabledForUrl(c)&&(c=PROXY_URL+"?url="+encodeURIComponent(a));this.loadUrl(c,mxUtils.bind(this,function(b){f[a]=b;d--;e()}),mxUtils.bind(this,function(a){d--;e()}),!0,null,"data:"+b+";charset=utf-8;base64,")}})(b(c[g].substring(0,k)),m)}}else a()};EditorUi.prototype.exportToCanvas=function(a,b,c,d,e,g,k,m,n,v,B,q,y,J){try{g=null!=g?g:!0;k=null!=k?k:!0;q=null!=q?q:this.editor.graph;y=null!=y?y:0;var f=n?null:q.background;f==mxConstants.NONE&&(f=null);null==
|
||||
f&&(f=d);null==f&&0==n&&(f="#ffffff");this.convertImages(q.getSvg(f,null,null,J,null,k,null,null,null,v),mxUtils.bind(this,function(c){var d=new Image;d.onload=mxUtils.bind(this,function(){try{var l=document.createElement("canvas"),k=parseInt(c.getAttribute("width")),p=parseInt(c.getAttribute("height"));m=null!=m?m:1;null!=b&&(m=g?Math.min(1,Math.min(3*b/(4*p),b/k)):b/k);k=Math.ceil(m*k)+2*y;p=Math.ceil(m*p)+2*y;l.setAttribute("width",k);l.setAttribute("height",p);var n=l.getContext("2d");null!=f&&
|
||||
(n.beginPath(),n.rect(0,0,k,p),n.fillStyle=f,n.fill());n.scale(m,m);mxClient.IS_SF?window.setTimeout(function(){n.drawImage(d,y/m,y/m);a(l)},0):(n.drawImage(d,y/m,y/m),a(l))}catch(V){null!=e&&e(V)}});d.onerror=function(a){null!=e&&e(a)};try{v&&this.editor.graph.addSvgShadow(c);var l=mxUtils.bind(this,function(){if(null!=this.editor.resolvedFontCss){var a=document.createElement("style");a.setAttribute("type","text/css");a.innerHTML=this.editor.resolvedFontCss;c.getElementsByTagName("defs")[0].appendChild(a)}this.convertMath(q,
|
||||
c,!0,mxUtils.bind(this,function(){d.src=this.createSvgDataUri(mxUtils.getXml(c))}))});this.loadFonts(l)}catch(E){null!=e&&e(E)}}),c,B)}catch(F){null!=e&&e(F)}};EditorUi.prototype.createImageUrlConverter=function(){var a=new mxUrlConverter;a.updateBaseUrl();var b=a.convert,c=this;a.convert=function(d){if(null!=d){var f="http://"==d.substring(0,7)||"https://"==d.substring(0,8);f&&!navigator.onLine?d=c.svgBrokenImage.src:!f||d.substring(0,a.baseUrl.length)==a.baseUrl||c.crossOriginImages&&c.editor.isCorsEnabledForUrl(d)?
|
||||
"chrome-extension://"!=d.substring(0,19)&&(d=b.apply(this,arguments)):d=PROXY_URL+"?url="+encodeURIComponent(d)}return d};return a};EditorUi.prototype.convertImages=function(a,b,c,d){null==d&&(d=this.createImageUrlConverter());var f=0,e=c||{};c=mxUtils.bind(this,function(c,g){for(var l=a.getElementsByTagName(c),k=0;k<l.length;k++)mxUtils.bind(this,function(c){try{if(null!=c){var l=d.convert(c.getAttribute(g));if(null!=l&&"data:"!=l.substring(0,5)){var k=e[l];null==k?(f++,this.convertImageToDataUri(l,
|
||||
function(d){null!=d&&(e[l]=d,c.setAttribute(g,d));f--;0==f&&b(a)})):c.setAttribute(g,k)}else null!=l&&c.setAttribute(g,l)}}catch(J){}})(l[k])});c("image","xlink:href");c("img","src");0==f&&b(a)};EditorUi.prototype.loadUrl=function(a,b,c,d,e,g,k){try{var f=!k&&(d||/(\.png)($|\?)/i.test(a)||/(\.jpe?g)($|\?)/i.test(a)||/(\.gif)($|\?)/i.test(a));e=null!=e?e:!0;var l=mxUtils.bind(this,function(){mxUtils.get(a,mxUtils.bind(this,function(a){if(200<=a.getStatus()&&299>=a.getStatus()){if(null!=b){var d=a.getText();
|
||||
if(f){if((9==document.documentMode||10==document.documentMode)&&"undefined"!==typeof window.mxUtilsBinaryToArray){a=mxUtilsBinaryToArray(a.request.responseBody).toArray();for(var d=Array(a.length),e=0;e<a.length;e++)d[e]=String.fromCharCode(a[e]);d=d.join("")}g=null!=g?g:"data:image/png;base64,";d=g+this.base64Encode(d)}b(d)}}else null!=c&&c({message:mxResources.get("error")+" "+a.getStatus()},a)}),function(a){null!=c&&c({message:mxResources.get("error")+" "+a.getStatus()})},f,this.timeout,function(){e&&
|
||||
null!=c&&c({code:App.ERROR_TIMEOUT,retry:l})})});l()}catch(v){null!=c&&c(v)}};EditorUi.prototype.isCorsEnabledForUrl=function(a){return this.editor.isCorsEnabledForUrl(a)};EditorUi.prototype.convertImageToDataUri=function(a,b){try{var c=!0,d=window.setTimeout(mxUtils.bind(this,function(){c=!1;b(this.svgBrokenImage.src)}),this.timeout);if(/(\.svg)$/i.test(a))mxUtils.get(a,mxUtils.bind(this,function(a){window.clearTimeout(d);c&&b(this.createSvgDataUri(a.getText()))}),function(){window.clearTimeout(d);
|
||||
c&&b(this.svgBrokenImage.src)});else{var f=new Image,e=this;this.crossOriginImages&&(f.crossOrigin="anonymous");f.onload=function(){window.clearTimeout(d);if(c)try{var a=document.createElement("canvas"),g=a.getContext("2d");a.height=f.height;a.width=f.width;g.drawImage(f,0,0);b(a.toDataURL())}catch(C){b(e.svgBrokenImage.src)}};f.onerror=function(){window.clearTimeout(d);c&&b(e.svgBrokenImage.src)};f.src=a}}catch(A){b(this.svgBrokenImage.src)}};EditorUi.prototype.importXml=function(a,b,c,d,e){b=null!=
|
||||
b?b:0;c=null!=c?c:0;var f=[];try{var g=this.editor.graph;if(null!=a&&0<a.length){g.model.beginUpdate();try{var l=mxUtils.parseXml(a),k=this.editor.extractGraphModel(l.documentElement,null!=this.pages);if(null!=k&&"mxfile"==k.nodeName&&null!=this.pages){var p=k.getElementsByTagName("diagram");if(1==p.length)k=Editor.parseDiagramNode(p[0]);else if(1<p.length){a={};var l=[],m=0;null!=this.pages&&1==this.pages.length&&this.isDiagramEmpty()&&(k=Editor.parseDiagramNode(p[0]),d=!1,m=1);for(;m<p.length;m++){var n=
|
||||
p[m].getAttribute("id");p[m].removeAttribute("id");var u=this.updatePageRoot(new DiagramPage(p[m]));a[n]=p[m].getAttribute("id");var q=this.pages.length;null==u.getName()&&u.setName(mxResources.get("pageWithNumber",[q+1]));g.model.execute(new ChangePage(this,u,u,q,!0));l.push(u)}this.updatePageLinks(a,l)}}null!=k&&"mxGraphModel"===k.nodeName&&(f=g.importGraphModel(k,b,c,d))}finally{g.model.endUpdate()}}}catch(H){if(e)throw H;this.handleError(H)}return f};EditorUi.prototype.updatePageLinks=function(a,
|
||||
b){for(var c=0;c<b.length;c++)this.updatePageLinksForCell(a,b[c].root)};EditorUi.prototype.updatePageLinksForCell=function(a,b){var c=document.createElement("div"),d=this.editor.graph,f=d.getLinkForCell(b);null!=f&&"data:page/id,"==f.substring(0,13)&&d.setLinkForCell(b,this.updatePageLink(a,f));if(d.isHtmlLabel(b)){c.innerHTML=d.getLabel(b);for(var e=c.getElementsByTagName("a"),g=!1,l=0;l<e.length;l++)f=e[l].getAttribute("href"),null!=f&&"data:page/id,"==f.substring(0,13)&&(e[l].setAttribute("href",
|
||||
this.updatePageLink(a,f)),g=!0);g&&d.labelChanged(b,c.innerHTML)}for(l=0;l<d.model.getChildCount(b);l++)this.updatePageLinksForCell(a,d.model.getChildAt(b,l))};EditorUi.prototype.updatePageLink=function(a,b){var c=a[b.substring(b.indexOf(",")+1)];return null!=c?"data:page/id,"+c:null};EditorUi.prototype.isRemoteVisioFormat=function(a){return/(\.v(sd|dx))($|\?)/i.test(a)||/(\.vs(s|x))($|\?)/i.test(a)};EditorUi.prototype.importVisio=function(a,b,c,d){d=null!=d?d:a.name;c=null!=c?c:mxUtils.bind(this,
|
||||
function(a){this.handleError(a)});var f=mxUtils.bind(this,function(){this.loadingExtensions=!1;if(this.doImportVisio){var f=this.isRemoteVisioFormat(d);try{var e="UNKNOWN-VISIO",g=d.lastIndexOf(".");0<=g&&g<d.length&&(e=d.substring(g+1).toUpperCase());EditorUi.logEvent({category:e+"-MS-IMPORT-FILE",action:"size_"+a.size,label:f?"remote":"local"})}catch(v){}if(f&&null!=VSD_CONVERT_URL){f=new FormData;f.append("file1",a,d);var l=new XMLHttpRequest;l.open("POST",VSD_CONVERT_URL);l.responseType="blob";
|
||||
function(a){this.handleError(a)});var f=mxUtils.bind(this,function(){this.loadingExtensions=!1;if(this.doImportVisio){var f=this.isRemoteVisioFormat(d);try{var e="UNKNOWN-VISIO",g=d.lastIndexOf(".");0<=g&&g<d.length&&(e=d.substring(g+1).toUpperCase());EditorUi.logEvent({category:e+"-MS-IMPORT-FILE",action:"filename_"+d,label:f?"remote":"local"})}catch(v){}if(f&&null!=VSD_CONVERT_URL){f=new FormData;f.append("file1",a,d);var l=new XMLHttpRequest;l.open("POST",VSD_CONVERT_URL);l.responseType="blob";
|
||||
l.onreadystatechange=mxUtils.bind(this,function(){if(4==l.readyState)if(200<=l.status&&299>=l.status)try{this.doImportVisio(l.response,b,c,d)}catch(v){c(v)}else c({})});l.send(f)}else try{this.doImportVisio(a,b,c,d)}catch(v){c(v)}}else this.spinner.stop(),this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")})});this.doImportVisio||this.loadingExtensions||this.isOffline(!0)?f():(this.loadingExtensions=!0,mxscript("js/extensions.min.js",f))};EditorUi.prototype.importGraphML=function(a,
|
||||
b,c){c=null!=c?c:mxUtils.bind(this,function(a){this.handleError(a)});var d=mxUtils.bind(this,function(){this.loadingExtensions=!1;if(this.doImportGraphML)try{this.doImportGraphML(a,b,c)}catch(z){c(z)}else this.spinner.stop(),this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")})});this.doImportGraphML||this.loadingExtensions||this.isOffline(!0)?d():(this.loadingExtensions=!0,mxscript("js/extensions.min.js",d))};EditorUi.prototype.exportVisio=function(){var a=mxUtils.bind(this,
|
||||
function(){this.loadingExtensions=!1;if("undefined"!==typeof VsdxExport)try{(new VsdxExport(this)).exportCurrentDiagrams()||this.handleError({message:mxResources.get("unknownError")})}catch(l){this.handleError(l)}else this.spinner.stop(),this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")})});"undefined"!==typeof VsdxExport||this.loadingExtensions||this.isOffline(!0)?a():(this.loadingExtensions=!0,mxscript("js/extensions.min.js",a))};EditorUi.prototype.convertLucidChart=function(a,
|
||||
|
@ -8823,8 +8823,8 @@ mxEvent.consume(b)});B.appendChild(D)}D=x.cloneNode();D.innerHTML='<img src="'+I
|
|||
D.setAttribute("title",mxResources.get("refresh")),"dark"==uiTheme&&(D.style.filter="invert(100%)"),mxEvent.addListener(D,"click",function(a){H();a.preventDefault();mxEvent.consume(a)}),B.appendChild(D));a.commentsSaveNeeded()&&(x=x.cloneNode(),x.innerHTML='<img src="'+IMAGE_PATH+'/save.png" style="width: 20px; padding: 2px;">',x.setAttribute("title",mxResources.get("save")),"dark"==uiTheme&&(x.style.filter="invert(100%)"),mxEvent.addListener(x,"click",function(a){e();a.preventDefault();mxEvent.consume(a)}),
|
||||
B.appendChild(x));A.appendChild(B);var J=[],H=mxUtils.bind(this,function(){if(null!=t){t.div=t.div.cloneNode(!0);var b=t.div.querySelector(".geCommentEditTxtArea"),c=t.div.querySelector(".geCommentEditBtns");t.comment.content=b.value;b.parentNode.removeChild(b);c.parentNode.removeChild(c)}C.innerHTML='<div style="padding-top:10px;text-align:center;"><img src="'+IMAGE_PATH+'/spin.gif" valign="middle"> '+mxUtils.htmlEntities(mxResources.get("loading"))+"...</div>";z=a.canReplyToReplies();a.commentsSupported()?
|
||||
a.getComments(function(a){function b(a){if(null!=a){a.sort(function(a,b){return new Date(a.modifiedDate)-new Date(b.modifiedDate)});for(var c=0;c<a.length;c++)b(a[c].replies)}}a.sort(function(a,b){return new Date(a.modifiedDate)-new Date(b.modifiedDate)});C.innerHTML="";C.appendChild(v);v.style.display="block";J=a;for(a=0;a<J.length;a++)b(J[a].replies),p(J[a],J,null,0,y);null!=t&&null==t.comment.id&&null==t.comment.pCommentId&&(C.appendChild(t.div),m(t.comment,t.div,t.saveCallback,t.deleteOnCancel))},
|
||||
function(a){C.innerHTML=mxUtils.htmlEntities(mxResources.get("error")+(a?": "+a:""))}):C.innerHTML=mxUtils.htmlEntities(mxResources.get("error"))});H();this.refreshComments=H;B=mxUtils.bind(this,function(){function a(b){var d=c[b.id];if(null!=d)for(n(b,d),d=0;null!=b.replies&&d<b.replies.length;d++)a(b.replies[d])}if(this.window.isVisible()){for(var b=C.querySelectorAll(".geCommentDate"),c={},d=0;d<b.length;d++){var e=b[d];c[e.getAttribute("data-commentId")]=e}for(d=0;d<J.length;d++)a(J[d])}});setInterval(B,
|
||||
6E4);this.refreshCommentsTime=B;this.window=new mxWindow(mxResources.get("comments"),A,c,b,d,g,!0,!0);this.window.minimumSize=new mxRectangle(0,0,300,200);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){this.window.fit()}));this.window.setLocation=function(a,b){var c=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight;
|
||||
function(a){C.innerHTML=mxUtils.htmlEntities(mxResources.get("error")+(a&&a.message?": "+a.message:""))}):C.innerHTML=mxUtils.htmlEntities(mxResources.get("error"))});H();this.refreshComments=H;B=mxUtils.bind(this,function(){function a(b){var d=c[b.id];if(null!=d)for(n(b,d),d=0;null!=b.replies&&d<b.replies.length;d++)a(b.replies[d])}if(this.window.isVisible()){for(var b=C.querySelectorAll(".geCommentDate"),c={},d=0;d<b.length;d++){var e=b[d];c[e.getAttribute("data-commentId")]=e}for(d=0;d<J.length;d++)a(J[d])}});
|
||||
setInterval(B,6E4);this.refreshCommentsTime=B;this.window=new mxWindow(mxResources.get("comments"),A,c,b,d,g,!0,!0);this.window.minimumSize=new mxRectangle(0,0,300,200);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){this.window.fit()}));this.window.setLocation=function(a,b){var c=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight;
|
||||
a=Math.max(0,Math.min(a,(window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth)-this.table.clientWidth));b=Math.max(0,Math.min(b,c-this.table.clientHeight-48));this.getX()==a&&this.getY()==b||mxWindow.prototype.setLocation.apply(this,arguments)};var F=mxUtils.bind(this,function(){var a=this.window.getX(),b=this.window.getY();this.window.setLocation(a,b)});mxEvent.addListener(window,"resize",F);this.destroy=function(){mxEvent.removeListener(window,"resize",F);this.window.destroy()}},
|
||||
ConfirmDialog=function(a,c,b,d,g,e,k,m,n,q){var f=document.createElement("div");f.style.textAlign="center";var l=document.createElement("div");l.style.padding="6px";l.style.overflow="auto";l.style.maxHeight="44px";l.style.lineHeight="1.2em";mxClient.IS_QUIRKS&&(l.style.height="60px");mxUtils.write(l,c);f.appendChild(l);null!=q&&(l=document.createElement("div"),l.style.padding="6px 0 6px 0",c=document.createElement("img"),c.setAttribute("src",q),l.appendChild(c),f.appendChild(l));q=document.createElement("div");
|
||||
q.style.textAlign="center";q.style.whiteSpace="nowrap";var p=document.createElement("input");p.setAttribute("type","checkbox");e=mxUtils.button(e||mxResources.get("cancel"),function(){a.hideDialog();null!=d&&d(p.checked)});e.className="geBtn";null!=m&&(e.innerHTML=m+"<br>"+e.innerHTML,e.style.paddingBottom="8px",e.style.paddingTop="8px",e.style.height="auto",e.style.width="40%");a.editor.cancelFirst&&q.appendChild(e);var u=mxUtils.button(g||mxResources.get("ok"),function(){a.hideDialog();null!=b&&
|
||||
|
|
|
@ -6170,137 +6170,147 @@
|
|||
EditorUi.prototype.exportToCanvas = function(callback, width, imageCache, background, error, limitHeight,
|
||||
ignoreSelection, scale, transparentBackground, addShadow, converter, graph, border, noCrop)
|
||||
{
|
||||
limitHeight = (limitHeight != null) ? limitHeight : true;
|
||||
ignoreSelection = (ignoreSelection != null) ? ignoreSelection : true;
|
||||
graph = (graph != null) ? graph : this.editor.graph;
|
||||
border = (border != null) ? border : 0;
|
||||
|
||||
var bg = (transparentBackground) ? null : graph.background;
|
||||
|
||||
if (bg == mxConstants.NONE)
|
||||
try
|
||||
{
|
||||
bg = null;
|
||||
}
|
||||
|
||||
if (bg == null)
|
||||
{
|
||||
bg = background;
|
||||
}
|
||||
|
||||
// Handles special case where background is null but transparent is false
|
||||
if (bg == null && transparentBackground == false)
|
||||
{
|
||||
bg = '#ffffff';
|
||||
}
|
||||
|
||||
this.convertImages(graph.getSvg(bg, null, null, noCrop, null, ignoreSelection, null, null, null, addShadow),
|
||||
mxUtils.bind(this, function(svgRoot)
|
||||
{
|
||||
var img = new Image();
|
||||
limitHeight = (limitHeight != null) ? limitHeight : true;
|
||||
ignoreSelection = (ignoreSelection != null) ? ignoreSelection : true;
|
||||
graph = (graph != null) ? graph : this.editor.graph;
|
||||
border = (border != null) ? border : 0;
|
||||
|
||||
img.onload = mxUtils.bind(this, function()
|
||||
var bg = (transparentBackground) ? null : graph.background;
|
||||
|
||||
if (bg == mxConstants.NONE)
|
||||
{
|
||||
try
|
||||
{
|
||||
var canvas = document.createElement('canvas');
|
||||
var w = parseInt(svgRoot.getAttribute('width'));
|
||||
var h = parseInt(svgRoot.getAttribute('height'));
|
||||
scale = (scale != null) ? scale : 1;
|
||||
|
||||
if (width != null)
|
||||
{
|
||||
scale = (!limitHeight) ? width / w : Math.min(1, Math.min((width * 3) / (h * 4), width / w));
|
||||
}
|
||||
|
||||
w = Math.ceil(scale * w) + 2 * border;
|
||||
h = Math.ceil(scale * h) + 2 * border;
|
||||
|
||||
canvas.setAttribute('width', w);
|
||||
canvas.setAttribute('height', h);
|
||||
var ctx = canvas.getContext('2d');
|
||||
|
||||
if (bg != null)
|
||||
bg = null;
|
||||
}
|
||||
|
||||
if (bg == null)
|
||||
{
|
||||
bg = background;
|
||||
}
|
||||
|
||||
// Handles special case where background is null but transparent is false
|
||||
if (bg == null && transparentBackground == false)
|
||||
{
|
||||
bg = '#ffffff';
|
||||
}
|
||||
|
||||
this.convertImages(graph.getSvg(bg, null, null, noCrop, null, ignoreSelection, null, null, null, addShadow),
|
||||
mxUtils.bind(this, function(svgRoot)
|
||||
{
|
||||
var img = new Image();
|
||||
|
||||
img.onload = mxUtils.bind(this, function()
|
||||
{
|
||||
try
|
||||
{
|
||||
ctx.beginPath();
|
||||
ctx.rect(0, 0, w, h);
|
||||
ctx.fillStyle = bg;
|
||||
ctx.fill();
|
||||
}
|
||||
|
||||
ctx.scale(scale, scale);
|
||||
|
||||
// Workaround for broken data URI images in Safari on first export
|
||||
if (mxClient.IS_SF)
|
||||
{
|
||||
window.setTimeout(function()
|
||||
var canvas = document.createElement('canvas');
|
||||
var w = parseInt(svgRoot.getAttribute('width'));
|
||||
var h = parseInt(svgRoot.getAttribute('height'));
|
||||
scale = (scale != null) ? scale : 1;
|
||||
|
||||
if (width != null)
|
||||
{
|
||||
ctx.drawImage(img, border / scale, border / scale);
|
||||
callback(canvas);
|
||||
}, 0);
|
||||
scale = (!limitHeight) ? width / w : Math.min(1, Math.min((width * 3) / (h * 4), width / w));
|
||||
}
|
||||
|
||||
w = Math.ceil(scale * w) + 2 * border;
|
||||
h = Math.ceil(scale * h) + 2 * border;
|
||||
|
||||
canvas.setAttribute('width', w);
|
||||
canvas.setAttribute('height', h);
|
||||
var ctx = canvas.getContext('2d');
|
||||
|
||||
if (bg != null)
|
||||
{
|
||||
ctx.beginPath();
|
||||
ctx.rect(0, 0, w, h);
|
||||
ctx.fillStyle = bg;
|
||||
ctx.fill();
|
||||
}
|
||||
|
||||
ctx.scale(scale, scale);
|
||||
|
||||
// Workaround for broken data URI images in Safari on first export
|
||||
if (mxClient.IS_SF)
|
||||
{
|
||||
window.setTimeout(function()
|
||||
{
|
||||
ctx.drawImage(img, border / scale, border / scale);
|
||||
callback(canvas);
|
||||
}, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
ctx.drawImage(img, border / scale, border / scale);
|
||||
callback(canvas);
|
||||
}
|
||||
}
|
||||
else
|
||||
catch (e)
|
||||
{
|
||||
ctx.drawImage(img, border / scale, border / scale);
|
||||
callback(canvas);
|
||||
if (error != null)
|
||||
{
|
||||
error(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (e)
|
||||
{
|
||||
if (error != null)
|
||||
});
|
||||
|
||||
img.onerror = function(e)
|
||||
{
|
||||
//console.log('img', e, img.src);
|
||||
|
||||
if (error != null)
|
||||
{
|
||||
error(e);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
img.onerror = function(e)
|
||||
{
|
||||
//console.log('img', e, img.src);
|
||||
|
||||
if (error != null)
|
||||
};
|
||||
|
||||
try
|
||||
{
|
||||
error(e);
|
||||
}
|
||||
};
|
||||
|
||||
try
|
||||
{
|
||||
if (addShadow)
|
||||
{
|
||||
this.editor.graph.addSvgShadow(svgRoot);
|
||||
}
|
||||
|
||||
var done = mxUtils.bind(this, function()
|
||||
{
|
||||
if (this.editor.resolvedFontCss != null)
|
||||
if (addShadow)
|
||||
{
|
||||
var st = document.createElement('style');
|
||||
st.setAttribute('type', 'text/css');
|
||||
st.innerHTML = this.editor.resolvedFontCss;
|
||||
|
||||
// Must be in defs section for FF to work
|
||||
var defs = svgRoot.getElementsByTagName('defs');
|
||||
defs[0].appendChild(st);
|
||||
this.editor.graph.addSvgShadow(svgRoot);
|
||||
}
|
||||
|
||||
this.convertMath(graph, svgRoot, true, mxUtils.bind(this, function()
|
||||
var done = mxUtils.bind(this, function()
|
||||
{
|
||||
img.src = this.createSvgDataUri(mxUtils.getXml(svgRoot));
|
||||
}));
|
||||
});
|
||||
|
||||
this.loadFonts(done);
|
||||
}
|
||||
catch (e)
|
||||
{
|
||||
//console.log('src', e, img.src);
|
||||
|
||||
if (error != null)
|
||||
{
|
||||
error(e);
|
||||
if (this.editor.resolvedFontCss != null)
|
||||
{
|
||||
var st = document.createElement('style');
|
||||
st.setAttribute('type', 'text/css');
|
||||
st.innerHTML = this.editor.resolvedFontCss;
|
||||
|
||||
// Must be in defs section for FF to work
|
||||
var defs = svgRoot.getElementsByTagName('defs');
|
||||
defs[0].appendChild(st);
|
||||
}
|
||||
|
||||
this.convertMath(graph, svgRoot, true, mxUtils.bind(this, function()
|
||||
{
|
||||
img.src = this.createSvgDataUri(mxUtils.getXml(svgRoot));
|
||||
}));
|
||||
});
|
||||
|
||||
this.loadFonts(done);
|
||||
}
|
||||
catch (e)
|
||||
{
|
||||
//console.log('src', e, img.src);
|
||||
|
||||
if (error != null)
|
||||
{
|
||||
error(e);
|
||||
}
|
||||
}
|
||||
}), imageCache, converter);
|
||||
}
|
||||
catch (e)
|
||||
{
|
||||
if (error != null)
|
||||
{
|
||||
error(e);
|
||||
}
|
||||
}), imageCache, converter);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -6819,7 +6829,7 @@
|
|||
}
|
||||
|
||||
EditorUi.logEvent({category: ext + '-MS-IMPORT-FILE',
|
||||
action: 'size_' + file.size,
|
||||
action: 'filename_' + filename,
|
||||
label: (remote) ? 'remote' : 'local'});
|
||||
}
|
||||
catch (e)
|
||||
|
@ -13363,9 +13373,9 @@ var CommentsWindow = function(editorUi, x, y, w, h, saveCallback)
|
|||
editComment(curEdited.comment, curEdited.div, curEdited.saveCallback, curEdited.deleteOnCancel);
|
||||
}
|
||||
|
||||
}, function(errMsg)
|
||||
}, function(err)
|
||||
{
|
||||
listDiv.innerHTML = mxUtils.htmlEntities(mxResources.get('error') + (errMsg? ': ' + errMsg : ''));
|
||||
listDiv.innerHTML = mxUtils.htmlEntities(mxResources.get('error') + (err && err.message? ': ' + err.message : ''));
|
||||
});
|
||||
}
|
||||
else
|
||||
|
|
|
@ -15,7 +15,7 @@ window.EXPORT_URL = window.EXPORT_URL || 'https://exp.draw.io/ImageExport4/expor
|
|||
window.PLANT_URL = window.PLANT_URL || 'https://exp-plant.draw.io/plantuml4';
|
||||
window.DRAW_MATH_URL = window.DRAW_MATH_URL || 'https://www.draw.io/math';
|
||||
window.VSD_CONVERT_URL = window.VSD_CONVERT_URL || "https://convert.draw.io/VsdConverter/api/converter";
|
||||
window.EMF_CONVERT_URL = window.EMF_CONVERT_URL || "convert";
|
||||
window.EMF_CONVERT_URL = window.EMF_CONVERT_URL || "https://convert.draw.io/emf2png/convertEMF";
|
||||
window.SAVE_URL = window.SAVE_URL || 'save';
|
||||
window.OPEN_URL = window.OPEN_URL || 'open';
|
||||
window.PROXY_URL = window.PROXY_URL || 'proxy';
|
||||
|
|
538
src/main/webapp/js/viewer.min.js
vendored
538
src/main/webapp/js/viewer.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -618,6 +618,7 @@ saveAndExit=Save & Exit
|
|||
saveAs=Save as
|
||||
saveAsXmlFile=Save as XML file?
|
||||
saved=Saved
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Save diagrams to
|
||||
saveLibrary403=Insufficient permissions to edit this library
|
||||
saveLibrary500=There was an error while saving the library
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Save & Exit
|
|||
saveAs=Save as
|
||||
saveAsXmlFile=Save as XML file?
|
||||
saved=Saved
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Save diagrams to
|
||||
saveLibrary403=Insufficient permissions to edit this library
|
||||
saveLibrary500=There was an error while saving the library
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=حفظ و مغادرة
|
|||
saveAs=حفظ كـ
|
||||
saveAsXmlFile=Save as XML file?
|
||||
saved=تم الحفظ
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=حفظ المخططات إلى
|
||||
saveLibrary403=Insufficient permissions to edit this library
|
||||
saveLibrary500=There was an error while saving the library
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Запазване и изход
|
|||
saveAs=Запазване като
|
||||
saveAsXmlFile=Запазване като XML файл?
|
||||
saved=Запазено
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Запазване на диаграми в
|
||||
saveLibrary403=Недостатъчни разрешения за редактиране на тази библиотека
|
||||
saveLibrary500=Възникна грешка при запазване на библиотеката
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Save & Exit
|
|||
saveAs=Save as
|
||||
saveAsXmlFile=Save as XML file?
|
||||
saved=Saved
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Save diagrams to
|
||||
saveLibrary403=Insufficient permissions to edit this library
|
||||
saveLibrary500=There was an error while saving the library
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Spasi & Izađi
|
|||
saveAs=Spasi kao
|
||||
saveAsXmlFile=Spasi kao XML fajl?
|
||||
saved=Spašeno
|
||||
saveDiagramFirst=Prvo sačuvajte dijagram
|
||||
saveDiagramsTo=Spasi dijagrame u
|
||||
saveLibrary403=Nedovoljne ovlasti za uređivanje ove biblioteke
|
||||
saveLibrary500=Pojavila se greška prilikom spašavanja biblioteke
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Desa i surt
|
|||
saveAs=Desa com
|
||||
saveAsXmlFile=Desar com a fitxer XML?
|
||||
saved=Desat
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Desa els diagramas a
|
||||
saveLibrary403=Permisos insuficients per editar aquesta biblioteca
|
||||
saveLibrary500=Hi ha hagut un error desant la biblioteca
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Uložit & ukončit
|
|||
saveAs=Uložit jako
|
||||
saveAsXmlFile=Ulažit jako soubor XML?
|
||||
saved=Uloženo
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Uložit diagramy do
|
||||
saveLibrary403=K úpravě této knihovny nemáte dostatečné oprávnění.
|
||||
saveLibrary500=Při ukládání knihovny došlo k chybě.
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Gem & Afslut
|
|||
saveAs=Gem som
|
||||
saveAsXmlFile=Gem som XML fil?
|
||||
saved=Gemt
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Gem diagrammer i
|
||||
saveLibrary403=Utilstrækkelige tilladelse til at ændre på dette bibliotek
|
||||
saveLibrary500=Der forekom en fejl under gemning af dette bibliotek
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Speichern & Beenden
|
|||
saveAs=Speichern unter
|
||||
saveAsXmlFile=Als XML-Datei speichern?
|
||||
saved=Gespeichert
|
||||
saveDiagramFirst=Bitte speichern Sie zuerst das Diagramm
|
||||
saveDiagramsTo=Diagramme speichern in
|
||||
saveLibrary403=Keine Berechtigung zum Bearbeiten der Bibliothek
|
||||
saveLibrary500=Fehler beim Speichern der Bibliothek
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Αποθήκευση & Έξοδος
|
|||
saveAs=Αποθήκευση ως
|
||||
saveAsXmlFile=Αποθήκευση ως αρχείο XML;
|
||||
saved=Αποθηκεύτηκε
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Αποθήκευση διαγραμμάτων σε
|
||||
saveLibrary403=Ανεπαρκή δικαιώματα για να επεξεργαστείτε αυτή την βιβλιοθήκη
|
||||
saveLibrary500=Παρουσιάστηκε σφάλμα κατά την διαδικασία αποθήκευσης της βιβλιοθήκης
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Save & Exit
|
|||
saveAs=Save as
|
||||
saveAsXmlFile=Save as XML file?
|
||||
saved=Konservita
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Save diagrams to
|
||||
saveLibrary403=Insufficient permissions to edit this library
|
||||
saveLibrary500=There was an error while saving the library
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Guardar y salir
|
|||
saveAs=Guardar como
|
||||
saveAsXmlFile=¿Guardar como archivo XML?
|
||||
saved=Guardado
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Guardar diagramas en
|
||||
saveLibrary403=Permisos insuficientes para editar esta biblioteca
|
||||
saveLibrary500=Hubo un error mientras se guardaba la biblioteca
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Salvesta ja välju
|
|||
saveAs=Salvesta kui
|
||||
saveAsXmlFile=Salvesta XML failina?
|
||||
saved=Salvestatud
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Salvesta diagrammid...
|
||||
saveLibrary403=Puuduvad õigused selle raamatukogu muutmiseks
|
||||
saveLibrary500=Viga raamatukogu salvestamisel
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=ذخیره و خروج
|
|||
saveAs=ذخیره به عنوان
|
||||
saveAsXmlFile=با عنوان فایل XML ذخیره شود؟
|
||||
saved=ذخیره شد
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=ذخیره نمودار در
|
||||
saveLibrary403=مجوز برای ویرایش کتابخانه کافی نیست
|
||||
saveLibrary500=خطا به هنگام ذخیره کتابخانه
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Tallenna & poistu
|
|||
saveAs=Tallenna nimellä
|
||||
saveAsXmlFile=Tallenna XML-tiedostona?
|
||||
saved=Tallennettu
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Tallenna kaaviot
|
||||
saveLibrary403=Puutteellinen lupa kokoelman editoimiseen
|
||||
saveLibrary500=Kokoelman tallennuksen aikana tapahtui virhe
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=I-save at umalis
|
|||
saveAs=I-save bilang
|
||||
saveAsXmlFile=I-save bilang XML file?
|
||||
saved=Nai-save na
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=I-save ang mga dayagram sa
|
||||
saveLibrary403=Di sapat ang pahintulot para i-edit ang library na ito
|
||||
saveLibrary500=May pagkakamali habang sini-save ang library
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Enregistrer et quitter
|
|||
saveAs=Enregistrer sous
|
||||
saveAsXmlFile=Enregistrer sous un fichier XML?
|
||||
saved=Enregistré
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Enregistrer sous
|
||||
saveLibrary403=Permissions insuffisantes pour modifier cette librairie
|
||||
saveLibrary500=Une erreur est survenue lors de la sauvegarde de la librairie
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Save & Exit
|
|||
saveAs=Save as
|
||||
saveAsXmlFile=Save as XML file?
|
||||
saved=Saved
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Save diagrams to
|
||||
saveLibrary403=Insufficient permissions to edit this library
|
||||
saveLibrary500=There was an error while saving the library
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=שמור וצא
|
|||
saveAs=שמור בשם
|
||||
saveAsXmlFile=שמור כקובץ XML?
|
||||
saved=נשמר
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=שמור תרשימים ב-
|
||||
saveLibrary403=אין הרשאות לערוך ספריה זו
|
||||
saveLibrary500=שגיאה בשמירת הספריה
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Save & Exit
|
|||
saveAs=Save as
|
||||
saveAsXmlFile=Save as XML file?
|
||||
saved=Saved
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Save diagrams to
|
||||
saveLibrary403=Insufficient permissions to edit this library
|
||||
saveLibrary500=There was an error while saving the library
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Save & Exit
|
|||
saveAs=Save as
|
||||
saveAsXmlFile=Save as XML file?
|
||||
saved=Saved
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Save diagrams to
|
||||
saveLibrary403=Insufficient permissions to edit this library
|
||||
saveLibrary500=There was an error while saving the library
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Ment és kilép
|
|||
saveAs=Mentés másként
|
||||
saveAsXmlFile=Mentve
|
||||
saved=Mentett
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Diagramok mentése ide:
|
||||
saveLibrary403=Elégtelen engedély a könyvtár szerkesztéséhez
|
||||
saveLibrary500=Hiba történt a könyvtár mentésekor
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=saveAndExit
|
|||
saveAs=saveAs
|
||||
saveAsXmlFile=saveAsXmlFile
|
||||
saved=saved
|
||||
saveDiagramFirst=saveDiagramFirst
|
||||
saveDiagramsTo=saveDiagramsTo
|
||||
saveLibrary403=saveLibrary403
|
||||
saveLibrary500=saveLibrary500
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Simpan & Keluar
|
|||
saveAs=Simpan sebagai
|
||||
saveAsXmlFile=Simpan sebagai berkas XML?
|
||||
saved=Tersimpan
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Simpan diagram ke
|
||||
saveLibrary403=Tidak cukup izin untuk mengedit pustaka ini
|
||||
saveLibrary500=Terjadi kesalahan saat menyimpan pustaka
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Salva ed esci
|
|||
saveAs=Salva come
|
||||
saveAsXmlFile=Salva come file XML
|
||||
saved=Salvato
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Salva diagrammi in
|
||||
saveLibrary403=Autorizzazione insufficiente per modificare questa libreria
|
||||
saveLibrary500=È subentrato un errore durante il salvataggio della libreria
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=保存して閉じる
|
|||
saveAs=名前を付けて保存
|
||||
saveAsXmlFile=XMLファイルとして保存しますか?
|
||||
saved=保存済み
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=ファイルの保存先
|
||||
saveLibrary403=このライブラリを編集する権限がありません。
|
||||
saveLibrary500=ライブラリ保存中にエラーが発生しました。
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Save & Exit
|
|||
saveAs=Save as
|
||||
saveAsXmlFile=Save as XML file?
|
||||
saved=Saved
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Save diagrams to
|
||||
saveLibrary403=Insufficient permissions to edit this library
|
||||
saveLibrary500=There was an error while saving the library
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=저장 후 나가기
|
|||
saveAs=다른 이름으로 저장
|
||||
saveAsXmlFile=XML 파일로 저장하시겠습니까?
|
||||
saved=저장됨
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=다이어그램 저장
|
||||
saveLibrary403=본 라이브러리의 편집 권한 부족
|
||||
saveLibrary500=라이브러리 저장 중 오류가 발생하였습니다.
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Save & Exit
|
|||
saveAs=Save as
|
||||
saveAsXmlFile=Save as XML file?
|
||||
saved=Saved
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Save diagrams to
|
||||
saveLibrary403=Insufficient permissions to edit this library
|
||||
saveLibrary500=There was an error while saving the library
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Save & Exit
|
|||
saveAs=Save as
|
||||
saveAsXmlFile=Save as XML file?
|
||||
saved=Saved
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Save diagrams to
|
||||
saveLibrary403=Insufficient permissions to edit this library
|
||||
saveLibrary500=There was an error while saving the library
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Save & Exit
|
|||
saveAs=Save as
|
||||
saveAsXmlFile=Save as XML file?
|
||||
saved=Saved
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Save diagrams to
|
||||
saveLibrary403=Insufficient permissions to edit this library
|
||||
saveLibrary500=There was an error while saving the library
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Save & Exit
|
|||
saveAs=Save as
|
||||
saveAsXmlFile=Save as XML file?
|
||||
saved=Saved
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Save diagrams to
|
||||
saveLibrary403=Insufficient permissions to edit this library
|
||||
saveLibrary500=There was an error while saving the library
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Simpan & Keluar
|
|||
saveAs=Simpan sebagai
|
||||
saveAsXmlFile=Simpan sebagai fail XML?
|
||||
saved=Disimpan
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Simpan gambarajah ke
|
||||
saveLibrary403=Keizinan tidak mencukupi untuk menyunting pustaka ini
|
||||
saveLibrary500=Terdapat ralat semasa menyimpan pustaka ini
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Opslaan & afsluiten
|
|||
saveAs=Opslaan als
|
||||
saveAsXmlFile=Opslaan als XML-bestand?
|
||||
saved=Opgeslagen
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Diagrammen opslaan naar
|
||||
saveLibrary403=Onvoldoende rechten om deze bibliotheek te bewerken
|
||||
saveLibrary500=Er is een fout opgetreden bij het opslaan van de bibliotheek
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Lagre & avslutt
|
|||
saveAs=Lagre som
|
||||
saveAsXmlFile=Lagre som XML fil?
|
||||
saved=Lagret
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Lagre diagrammer til
|
||||
saveLibrary403=Utilstrekkelig tillatelse til å redigere dette biblioteket
|
||||
saveLibrary500=Det oppsto en feil i lagringen av biblioteket
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Zapisz i wyjdź
|
|||
saveAs=Zapisz jako
|
||||
saveAsXmlFile=Zapisać jako plik XML?
|
||||
saved=Zapisany
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Zapisz diagramy w
|
||||
saveLibrary403=Niewystarczające uprawnienia do edycji tej biblioteki
|
||||
saveLibrary500=Wystąpił błąd podczas zapisywania biblioteki
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Salvar e sair
|
|||
saveAs=Salvar como
|
||||
saveAsXmlFile=Salvar como arquivo XML?
|
||||
saved=Salvo
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Salvar diagramas em
|
||||
saveLibrary403=Permissões insuficientes para editar esta biblioteca
|
||||
saveLibrary500=Ocorreu um erro enquanto a biblioteca estava sendo salva
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Guardar e sair
|
|||
saveAs=Guardar como
|
||||
saveAsXmlFile=Guardar como ficheiro XML?
|
||||
saved=Guardado
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Guardar os diagramas em
|
||||
saveLibrary403=Permissões não suficientes para editar esta biblioteca.
|
||||
saveLibrary500=Ocorreu um erro ao gravar a biblioteca
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Salvare şi ieşire
|
|||
saveAs=Salvare cu titlu nou
|
||||
saveAsXmlFile=Salvare ca fișier XML?
|
||||
saved=Salvat
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo= Salvează diagramele în
|
||||
saveLibrary403=Permisiuni insuficiente pentru a edita această librărie
|
||||
saveLibrary500=A existat o eroare la salvarea acestei librării
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Сохранить и выйти
|
|||
saveAs=Сохранить как
|
||||
saveAsXmlFile=Сохранить как файл XML?
|
||||
saved=Сохранено
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Сохранять диаграммы в
|
||||
saveLibrary403=Недостаточно полномочий для редактирования библиотеки
|
||||
saveLibrary500=Ошибка при сохранении библиотеки
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Save & Exit
|
|||
saveAs=Save as
|
||||
saveAsXmlFile=Save as XML file?
|
||||
saved=Saved
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Save diagrams to
|
||||
saveLibrary403=Insufficient permissions to edit this library
|
||||
saveLibrary500=There was an error while saving the library
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Save & Exit
|
|||
saveAs=Save as
|
||||
saveAsXmlFile=Save as XML file?
|
||||
saved=Saved
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Save diagrams to
|
||||
saveLibrary403=Insufficient permissions to edit this library
|
||||
saveLibrary500=There was an error while saving the library
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Save & Exit
|
|||
saveAs=Snimi kao
|
||||
saveAsXmlFile=Save as XML file?
|
||||
saved=Snimljeno
|
||||
saveDiagramFirst=Prvo sačuvajte dijagram
|
||||
saveDiagramsTo=Sačuvaj dijagrame na
|
||||
saveLibrary403=Insufficient permissions to edit this library
|
||||
saveLibrary500=There was an error while saving the library
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Spara & Avsluta
|
|||
saveAs=Spara som
|
||||
saveAsXmlFile=Spara som XML-fil?
|
||||
saved=Sparad
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Spara diagram till
|
||||
saveLibrary403=Otillräckliga korregeringsrättigheter för detta bibliotek
|
||||
saveLibrary500=Ett fel uppstod under sparande av biblioteket
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Save & Exit
|
|||
saveAs=Save as
|
||||
saveAsXmlFile=Save as XML file?
|
||||
saved=Saved
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Save diagrams to
|
||||
saveLibrary403=Insufficient permissions to edit this library
|
||||
saveLibrary500=There was an error while saving the library
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Save & Exit
|
|||
saveAs=Save as
|
||||
saveAsXmlFile=Save as XML file?
|
||||
saved=Saved
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Save diagrams to
|
||||
saveLibrary403=Insufficient permissions to edit this library
|
||||
saveLibrary500=There was an error while saving the library
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Save & Exit
|
|||
saveAs=Save as
|
||||
saveAsXmlFile=Save as XML file?
|
||||
saved=Saved
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Save diagrams to
|
||||
saveLibrary403=Insufficient permissions to edit this library
|
||||
saveLibrary500=There was an error while saving the library
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=บันทึก และ ออก
|
|||
saveAs=บันทึกเป็น
|
||||
saveAsXmlFile=บันทึกเป็นไฟล์ XML หรือไม่
|
||||
saved=บันทึกเรียบร้อยแล้ว
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=บันทึกแผนภาพไปยัง
|
||||
saveLibrary403=สิทธิ์ไม่เพียงพอในการแก้ไขไลบรารีนี้
|
||||
saveLibrary500=เกิดข้อผิดพลาดขณะบันทึกไลบรารี่
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Kaydet ve Çık
|
|||
saveAs=Farklı kaydet
|
||||
saveAsXmlFile=XML dosyası olarak kaydet
|
||||
saved=Kaydedildi
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Diyagramları şuna kaydet:
|
||||
saveLibrary403=Bu kitaplığı değiştirmek için başarısız izinler
|
||||
saveLibrary500=Kitaplığı kaydederken hata oluştu
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Зберегти і вийти
|
|||
saveAs=Зберегти як
|
||||
saveAsXmlFile=Зберегти як XML-файл?
|
||||
saved=Збережено
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Зберегти діаграми в
|
||||
saveLibrary403=Недостатньо повноважень, щоб редагувати цю бібліотеку
|
||||
saveLibrary500=При збереженні бібліотеки виникла помилка
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=Lưu & Thoát
|
|||
saveAs=Lưu dưới dạng
|
||||
saveAsXmlFile=Lưu dưới dạng tập tin XML?
|
||||
saved=Đã lưu
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=Lưu biểu đồ vào
|
||||
saveLibrary403=Không có quyền chỉnh sửa thư viện này
|
||||
saveLibrary500=Có lỗi khi lưu thư viện
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=儲存並退出
|
|||
saveAs=另存新檔
|
||||
saveAsXmlFile=儲存為XML檔?
|
||||
saved=已儲存
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=將圖表儲存到
|
||||
saveLibrary403=沒有足夠的權限編輯此圖庫
|
||||
saveLibrary500=保存圖庫時出錯
|
||||
|
|
|
@ -618,6 +618,7 @@ saveAndExit=储存并退出
|
|||
saveAs=另存为
|
||||
saveAsXmlFile=另存为XML文件?
|
||||
saved=已保存
|
||||
saveDiagramFirst=Please save the diagram first
|
||||
saveDiagramsTo=把图表存至
|
||||
saveLibrary403=没有足够的权限编辑此图库
|
||||
saveLibrary500=保存图库时出错
|
||||
|
|
Loading…
Reference in a new issue