@syncfusion/ej2-diagrams
Advanced tools
Comparing version 23.1.43 to 23.1.44
/*! | ||
* filename: index.d.ts | ||
* version : 23.1.43 | ||
* version : 23.1.44 | ||
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-diagrams@*", | ||
"_id": "@syncfusion/ej2-diagrams@23.1.42", | ||
"_id": "@syncfusion/ej2-diagrams@23.1.43", | ||
"_inBundle": false, | ||
"_integrity": "sha512-JIHR3XphoOqtt4tyo5wBkyvVetRKhck1PBu+ffPF4pX8zCAWIt65bpjzPPxs57Uz2d0RMFQqQyJyUHdbVWJ5kQ==", | ||
"_integrity": "sha512-idzGu13LZgjrNgNWkcYgwbkczc7WqofBymq2Lq449v0WAFR/vv+NnvwSc/pLeGO1KUzo8IOgA3PMAX8+/m2b4A==", | ||
"_location": "/@syncfusion/ej2-diagrams", | ||
@@ -26,4 +26,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-diagrams/-/ej2-diagrams-23.1.42.tgz", | ||
"_shasum": "bbd7aae8bda9451cfbd0018e54bd5cc5af884e7d", | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-diagrams/-/ej2-diagrams-23.1.43.tgz", | ||
"_shasum": "fe39607fd37c2ae7efa98c87f3f6c19998949f9f", | ||
"_spec": "@syncfusion/ej2-diagrams@*", | ||
@@ -41,7 +41,7 @@ "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included", | ||
"@syncfusion/ej2-buttons": "~23.1.43", | ||
"@syncfusion/ej2-data": "~23.1.43", | ||
"@syncfusion/ej2-data": "~23.1.44", | ||
"@syncfusion/ej2-inputs": "~23.1.43", | ||
"@syncfusion/ej2-lists": "~23.1.43", | ||
"@syncfusion/ej2-navigations": "~23.1.43", | ||
"@syncfusion/ej2-popups": "~23.1.43" | ||
"@syncfusion/ej2-navigations": "~23.1.44", | ||
"@syncfusion/ej2-popups": "~23.1.44" | ||
}, | ||
@@ -78,4 +78,4 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "23.1.43", | ||
"version": "23.1.44", | ||
"sideEffects": true | ||
} |
@@ -635,2 +635,14 @@ import { Point } from './../primitives/point'; | ||
else { | ||
//Bug 852259: User handle template not working properly after saving and loading the diagram. | ||
// After serialization the template will be in string format, so we need to convert it to element. | ||
if (typeof element.template === 'string') { | ||
var temp = document.createElement('div'); | ||
temp.innerHTML = element.template; | ||
element.template = temp; | ||
var diagram = document.getElementById(element.diagramId).ej2_instances[0]; | ||
var handle = diagram.selectedItems.userHandles.filter(function (x) { | ||
return x.name === (element.id.split('_shape')[0]) && x.template !== ''; | ||
}); | ||
handle[0].template = element.template; | ||
} | ||
// eslint-disable-next-line @typescript-eslint/no-unused-expressions | ||
@@ -637,0 +649,0 @@ element.isTemplate ? htmlElement.appendChild(element.template) : htmlElement.appendChild(element.template.cloneNode(true)); |
@@ -320,3 +320,3 @@ import { compile as baseTemplateComplier } from '@syncfusion/ej2-base'; | ||
else if (obj["" + property] instanceof Array === false && obj["" + property] instanceof HTMLElement) { | ||
newObject["" + property] = obj["" + property].cloneNode(true).innerHtml; | ||
newObject["" + property] = obj["" + property].cloneNode(true).innerHTML; | ||
} | ||
@@ -323,0 +323,0 @@ else if (obj["" + property] instanceof Array === false && obj["" + property] instanceof Object) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
38983514
281062