瀏覽代碼

13.7.7 release

David Benson [draw.io] 4 年之前
父節點
當前提交
93793491e0

+ 8 - 0
ChangeLog

@@ -1,3 +1,11 @@
+30-SEP-2020: 13.7.7
+
+- Updates Finnish translations, credit Arttu Ylhävuori, github.com/areee
+- Updates native File API tokens
+- Lucidchart import improvements
+- Fixes gradient issues in FF
+- Uses mxGraph 4.2.1 beta 18
+
 28-SEP-2020: 13.7.6
 
 - Updates Azure icons

+ 1 - 1
VERSION

@@ -1 +1 @@
-13.7.6
+13.7.7

文件差異過大導致無法顯示
+ 11 - 10
etc/mxgraph/mxClient.js


+ 4 - 4
src/main/webapp/index.html

@@ -5,10 +5,10 @@
     <title>Flowchart Maker &amp; Online Diagram Software</title>
     <meta charset="utf-8">
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-    <!-- Native File System API V2 token for *.draw.io expires 30 Sep 2020 -->
-    <meta http-equiv="origin-trial" content="AuU3GiQBCw/ECJOOY3aK+ypCG+4mO+R1ywGZHwB/tCGOVhjhGZu+UhZ4/qxWi8i3jic5s2ZPffaY4dd0VQktHwYAAABleyJvcmlnaW4iOiJodHRwczovL2RyYXcuaW86NDQzIiwiZmVhdHVyZSI6Ik5hdGl2ZUZpbGVTeXN0ZW0yIiwiZXhwaXJ5IjoxNjAxNDIzOTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZX0=">
-    <!-- Native File System API V2 token for *.diagrams.net expires 30 Sep 2020 -->
-    <meta http-equiv="origin-trial" content="Aijy4tUQ1cAZ5Db/Sf5MzfHolrKmp4WHAwEnB24RP8WPNq8l4umazuReevn2XsNUtiAPfKRw7ECtF7hVAwjYfgcAAABqeyJvcmlnaW4iOiJodHRwczovL2RpYWdyYW1zLm5ldDo0NDMiLCJmZWF0dXJlIjoiTmF0aXZlRmlsZVN5c3RlbTIiLCJleHBpcnkiOjE2MDE0MjM5OTksImlzU3ViZG9tYWluIjp0cnVlfQ==">
+    <!-- Native File System API V2 token for *.draw.io expires 28 Oct 2020 -->
+    <meta http-equiv="origin-trial" content="Ar7fmwHXVH3qr/+1dFJi3jW0wGPfQVT2J3qip2DlBQmM2wigHhFQaCbjo2hhoYXCCHHmypw3P8rAqMh4kZjhUAUAAABleyJvcmlnaW4iOiJodHRwczovL2RyYXcuaW86NDQzIiwiZmVhdHVyZSI6Ik5hdGl2ZUZpbGVTeXN0ZW0yIiwiZXhwaXJ5IjoxNjAzODQzMTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZX0=">
+    <!-- Native File System API V2 token for *.diagrams.net expires 28 Oct 2020 -->
+    <meta http-equiv="origin-trial" content="AvsXZgeW/PvqJBC1Q3oFnZKGTnqoNdNxikcCEbVkzgMDMAkE+Oj6JjwE57pWlxaYGdhBHHHh1aXiPW9hxJaKYwsAAABqeyJvcmlnaW4iOiJodHRwczovL2RpYWdyYW1zLm5ldDo0NDMiLCJmZWF0dXJlIjoiTmF0aXZlRmlsZVN5c3RlbTIiLCJleHBpcnkiOjE2MDM4NDMxOTksImlzU3ViZG9tYWluIjp0cnVlfQ==">
     <meta name="Description" content="diagrams.net is free online diagram software for making flowcharts, process diagrams, org charts, UML, ER and network diagrams">
     <meta name="Keywords" content="diagram, online, flow chart, flowchart maker, uml, erd">
     <meta itemprop="name" content="diagrams.net - free flowchart maker and diagrams online">

文件差異過大導致無法顯示
+ 12 - 11
src/main/webapp/js/app.min.js


+ 17 - 3
src/main/webapp/js/diagramly/Extensions.js

@@ -269,7 +269,7 @@ LucidImporter = {};
 			'UMLComponentBlock' : 'shape=component;align=left;spacingLeft=36',
 			'UMLNodeBlock' : 'shape=cube;size=12;flipH=1',
 			'UMLComponentInterfaceBlock' : 'ellipse',
-			'UMLComponentBoxBlock' : cs, //TODO
+			'UMLComponentBoxBlock' : cs,
 //			'UMLAssemblyConnectorBlock' NA
 			'UMLProvidedInterfaceBlock' : 'shape=lollipop;direction=south',
 			'UMLRequiredInterfaceBlock' : 'shape=requires;direction=north',
@@ -3748,7 +3748,13 @@ LucidImporter = {};
 			//'TimelineIntervalBlock' : cs,
 			'MinimalTextBlock' : 'strokeColor=none;fillColor=none',
 //Freehand			
-			'FreehandBlock' : cs
+			'FreehandBlock' : cs,
+//ExtShapes
+			'ExtShapeLaptopBlock': ss + 'citrix.laptop_2;verticalLabelPosition=bottom;verticalAlign=top',
+			'ExtShapeServerBlock': ss + 'citrix.tower_server;verticalLabelPosition=bottom;verticalAlign=top',
+			'ExtShapeCloudBlock': ss + 'citrix.cloud;verticalLabelPosition=bottom;verticalAlign=top',
+			'ExtShapeUserBlock': ss + 'aws3d.end_user;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#073763',
+			'ExtShapeWorkstationLCDBlock': ss + 'veeam.3d.workstation;verticalLabelPosition=bottom;verticalAlign=top'
 	};
 	
 	// actual code start
@@ -5210,7 +5216,7 @@ LucidImporter = {};
 				
 				addCustomData(cell, p, graph);
 				
-				if (p.Title && p.Text)
+				if (p.Title && p.Text && a.Class.substr(0, 8) != 'ExtShape')
 				{
 					var geo = cell.geometry;
 					var title = new mxCell(convertText(p.Title), new mxGeometry(0, geo.height,geo.width, 10), 'strokeColor=none;fillColor=none;');
@@ -8089,6 +8095,14 @@ LucidImporter = {};
 				v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
 				break;
 			case 'UMLComponentBoxBlock' :
+				v.value = convertText(p);
+				v.style = 'html=1;dropTarget=0;' + addAllStyles(v.style, p, a, v, isLastLblHTML);
+				
+				var icon = new mxCell('', new mxGeometry(1, 0, 15, 15), 'shape=component;jettyWidth=8;jettyHeight=4;');
+				icon.geometry.relative = true;
+				icon.geometry.offset = new mxPoint(-20, 5);
+				icon.vertex = true;
+				v.insert(icon);
 				break;
 			case 'BPMNActivity' :
 				v.value = convertText(p.Text);

文件差異過大導致無法顯示
+ 208 - 206
src/main/webapp/js/extensions.min.js


文件差異過大導致無法顯示
+ 11 - 10
src/main/webapp/js/viewer-static.min.js


文件差異過大導致無法顯示
+ 11 - 10
src/main/webapp/js/viewer.min.js


+ 3 - 3
src/main/webapp/service-worker.js

@@ -6,11 +6,11 @@ if (workbox)
 	workbox.precaching.precacheAndRoute([
   {
     "url": "js/app.min.js",
-    "revision": "edf7ade59634ae56b04fe6af9d4ffcdb"
+    "revision": "7ff6ec36e6b032b9c8bf44bcff37c476"
   },
   {
     "url": "js/extensions.min.js",
-    "revision": "97d38cb0e5bc93bd8c676c4a1b4c1d08"
+    "revision": "55b3260cb140fc397e9a27078566ec9d"
   },
   {
     "url": "js/shapes.min.js",
@@ -22,7 +22,7 @@ if (workbox)
   },
   {
     "url": "index.html",
-    "revision": "50ebe959821544064e2ead4e666b4e50"
+    "revision": "e2502f6c74881c5f85ab8ae695096cae"
   },
   {
     "url": "open.html",