@topconsultnpm/sdkui-react 6.21.0-dev5.10 → 6.21.0-dev5.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ArrowSymbol, DiagramItemTypes } from './interfaces';
|
|
2
2
|
import { CultureIDs, Severities, WFAppTypes, WorkItemSetRules, WorkItemStatus } from '@topconsultnpm/sdk-ts';
|
|
3
3
|
import { parseQueryDescriptorXml, serializeQueryDescriptorXml } from './queryDescriptorParser'; // Import the new parser
|
|
4
|
+
import { generateUUID } from '../../../../helper';
|
|
4
5
|
import { parseMetadataValuesXml, serializeMetadataValuesToXml } from './metadataParser';
|
|
5
6
|
// Funzione helper per escapare i caratteri XML speciali (necessaria per i campi stringa)
|
|
6
7
|
const escapeXml = (unsafe) => {
|
|
@@ -293,7 +294,7 @@ export const parseWfDiagramXml = (xmlString) => {
|
|
|
293
294
|
// Parsing Connections
|
|
294
295
|
const connectionsXML = rootElement.querySelectorAll("Connections > Connection");
|
|
295
296
|
connectionsXML.forEach((connectionXML) => {
|
|
296
|
-
const connectionId = connectionXML.querySelector("ID")?.textContent ||
|
|
297
|
+
const connectionId = connectionXML.querySelector("ID")?.textContent || generateUUID();
|
|
297
298
|
// Leggi il valore numerico di OutputStatus dall'XML
|
|
298
299
|
const xmlOutputStatus = parseInt(connectionXML.querySelector("OutputStatus")?.textContent || "0", 10);
|
|
299
300
|
const connection = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@topconsultnpm/sdkui-react",
|
|
3
|
-
"version": "6.21.0-dev5.
|
|
3
|
+
"version": "6.21.0-dev5.12",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"lib"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@topconsultnpm/sdk-ts": "
|
|
42
|
+
"@topconsultnpm/sdk-ts": "6.21.0-dev5.3",
|
|
43
43
|
"@zip.js/zip.js": "2.8.26",
|
|
44
44
|
"buffer": "^6.0.3",
|
|
45
45
|
"devextreme": "^25.2.6",
|