diff --git a/integration-tests/package-lock.json b/integration-tests/package-lock.json index 91adfceb80..aec24fb285 100644 --- a/integration-tests/package-lock.json +++ b/integration-tests/package-lock.json @@ -1,12 +1,12 @@ { "name": "sirius-web-integration-tests", - "version": "2024.7.10", + "version": "2024.7.11", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "sirius-web-integration-tests", - "version": "2024.7.10", + "version": "2024.7.11", "license": "EPL-2.0", "dependencies": { "prettier": "2.7.1" diff --git a/integration-tests/package.json b/integration-tests/package.json index ecfc27bbcc..6e78f2a0a2 100644 --- a/integration-tests/package.json +++ b/integration-tests/package.json @@ -1,6 +1,6 @@ { "name": "sirius-web-integration-tests", - "version": "2024.7.10", + "version": "2024.7.11", "license": "EPL-2.0", "private": true, "devDependencies": { diff --git a/package-lock.json b/package-lock.json index 12bd36c045..b8b3838bd3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@eclipse-sirius/sirius-components-parent", - "version": "2024.7.10", + "version": "2024.7.11", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@eclipse-sirius/sirius-components-parent", - "version": "2024.7.10", + "version": "2024.7.11", "license": "EPL-2.0", "workspaces": [ "./packages/*/frontend/*" @@ -7882,7 +7882,7 @@ }, "packages/charts/frontend/sirius-components-charts": { "name": "@eclipse-sirius/sirius-components-charts", - "version": "2024.7.10", + "version": "2024.7.11", "license": "EPL-2.0", "devDependencies": { "@eclipse-sirius/sirius-components-tsconfig": "*", @@ -7902,7 +7902,7 @@ }, "packages/core/frontend/sirius-components-core": { "name": "@eclipse-sirius/sirius-components-core", - "version": "2024.7.10", + "version": "2024.7.11", "license": "EPL-2.0", "devDependencies": { "@apollo/client": "3.10.4", @@ -7939,7 +7939,7 @@ }, "packages/deck/frontend/sirius-components-deck": { "name": "@eclipse-sirius/sirius-components-deck", - "version": "2024.7.10", + "version": "2024.7.11", "license": "EPL-2.0", "devDependencies": { "@apollo/client": "3.10.4", @@ -7978,7 +7978,7 @@ }, "packages/diagrams/frontend/sirius-components-diagrams": { "name": "@eclipse-sirius/sirius-components-diagrams", - "version": "2024.7.10", + "version": "2024.7.11", "license": "EPL-2.0", "devDependencies": { "@apollo/client": "3.10.4", @@ -8084,7 +8084,7 @@ }, "packages/formdescriptioneditors/frontend/sirius-components-formdescriptioneditors": { "name": "@eclipse-sirius/sirius-components-formdescriptioneditors", - "version": "2024.7.10", + "version": "2024.7.11", "license": "EPL-2.0", "devDependencies": { "@apollo/client": "3.10.4", @@ -8130,7 +8130,7 @@ }, "packages/forms/frontend/sirius-components-forms": { "name": "@eclipse-sirius/sirius-components-forms", - "version": "2024.7.10", + "version": "2024.7.11", "license": "EPL-2.0", "devDependencies": { "@apollo/client": "3.10.4", @@ -8179,7 +8179,7 @@ }, "packages/forms/frontend/sirius-components-widget-reference": { "name": "@eclipse-sirius/sirius-components-widget-reference", - "version": "2024.7.10", + "version": "2024.7.11", "license": "EPL-2.0", "devDependencies": { "@apollo/client": "3.10.4", @@ -8230,7 +8230,7 @@ }, "packages/gantt/frontend/sirius-components-gantt": { "name": "@eclipse-sirius/sirius-components-gantt", - "version": "2024.7.10", + "version": "2024.7.11", "license": "EPL-2.0", "devDependencies": { "@apollo/client": "3.10.4", @@ -8269,7 +8269,7 @@ }, "packages/portals/frontend/sirius-components-portals": { "name": "@eclipse-sirius/sirius-components-portals", - "version": "2024.7.10", + "version": "2024.7.11", "license": "EPL-2.0", "devDependencies": { "@apollo/client": "3.10.4", @@ -8309,12 +8309,12 @@ }, "packages/releng/frontend/sirius-components-tsconfig": { "name": "@eclipse-sirius/sirius-components-tsconfig", - "version": "2024.7.10", + "version": "2024.7.11", "license": "EPL-2.0" }, "packages/selection/frontend/sirius-components-selection": { "name": "@eclipse-sirius/sirius-components-selection", - "version": "2024.7.10", + "version": "2024.7.11", "license": "EPL-2.0", "devDependencies": { "@apollo/client": "3.10.4", @@ -8352,7 +8352,7 @@ }, "packages/sirius-web/frontend/sirius-web": { "name": "@eclipse-sirius/sirius-web", - "version": "2024.7.10", + "version": "2024.7.11", "license": "EPL-2.0", "dependencies": { "@apollo/client": "3.10.4", @@ -8411,7 +8411,7 @@ }, "packages/sirius-web/frontend/sirius-web-application": { "name": "@eclipse-sirius/sirius-web-application", - "version": "2024.7.10", + "version": "2024.7.11", "license": "EPL-2.0", "devDependencies": { "@apollo/client": "3.10.4", @@ -8469,7 +8469,7 @@ }, "packages/sirius-web/frontend/sirius-web-papaya": { "name": "@eclipse-sirius/sirius-web-papaya", - "version": "2024.7.10", + "version": "2024.7.11", "license": "EPL-2.0", "devDependencies": { "@apollo/client": "3.10.4", @@ -8529,7 +8529,7 @@ }, "packages/tools/frontend/sirius-components-specification-layout": { "name": "@eclipse-sirius/sirius-components-specification-layout", - "version": "2024.7.10", + "version": "2024.7.11", "license": "EPL-2.0", "devDependencies": { "@mui/icons-material": "5.15.19", @@ -8551,7 +8551,7 @@ }, "packages/trees/frontend/sirius-components-trees": { "name": "@eclipse-sirius/sirius-components-trees", - "version": "2024.7.10", + "version": "2024.7.11", "license": "EPL-2.0", "devDependencies": { "@apollo/client": "3.10.4", @@ -8590,7 +8590,7 @@ }, "packages/validation/frontend/sirius-components-validation": { "name": "@eclipse-sirius/sirius-components-validation", - "version": "2024.7.10", + "version": "2024.7.11", "license": "EPL-2.0", "devDependencies": { "@apollo/client": "3.10.4", diff --git a/package.json b/package.json index 47d4100ccc..d5f36eb235 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@eclipse-sirius/sirius-components-parent", - "version": "2024.7.10", + "version": "2024.7.11", "author": "Eclipse Sirius", "license": "EPL-2.0", "repository": { diff --git a/packages/charts/backend/pom.xml b/packages/charts/backend/pom.xml index f19a1eb79f..53cb6a1999 100644 --- a/packages/charts/backend/pom.xml +++ b/packages/charts/backend/pom.xml @@ -17,7 +17,7 @@ org.eclipse.sirius sirius-components-charts-parent - 2024.7.10 + 2024.7.11 sirius-components-charts-parent Sirius Components Charts Parent diff --git a/packages/charts/backend/sirius-components-charts-graphql/pom.xml b/packages/charts/backend/sirius-components-charts-graphql/pom.xml index ce62bb5ad6..43fbb2255a 100644 --- a/packages/charts/backend/sirius-components-charts-graphql/pom.xml +++ b/packages/charts/backend/sirius-components-charts-graphql/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-charts-graphql - 2024.7.10 + 2024.7.11 sirius-components-charts-graphql Sirius Components Charts GraphQL @@ -47,17 +47,17 @@ org.eclipse.sirius sirius-components-graphql-api - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-charts - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/charts/backend/sirius-components-charts/pom.xml b/packages/charts/backend/sirius-components-charts/pom.xml index 64e3e0effa..504902eb74 100644 --- a/packages/charts/backend/sirius-components-charts/pom.xml +++ b/packages/charts/backend/sirius-components-charts/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-charts - 2024.7.10 + 2024.7.11 sirius-components-charts Sirius Components Charts @@ -50,7 +50,7 @@ org.eclipse.sirius sirius-components-representations - 2024.7.10 + 2024.7.11 org.springframework.boot @@ -60,7 +60,7 @@ org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/charts/backend/sirius-components-collaborative-charts/pom.xml b/packages/charts/backend/sirius-components-collaborative-charts/pom.xml index 29ef926cff..60ca423d4c 100644 --- a/packages/charts/backend/sirius-components-collaborative-charts/pom.xml +++ b/packages/charts/backend/sirius-components-collaborative-charts/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-collaborative-charts - 2024.7.10 + 2024.7.11 sirius-components-collaborative-charts Sirius Components Collaborative Charts @@ -51,23 +51,23 @@ org.eclipse.sirius sirius-components-charts - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-spring-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/charts/frontend/sirius-components-charts/package.json b/packages/charts/frontend/sirius-components-charts/package.json index 018965bc55..2bbfbdc006 100644 --- a/packages/charts/frontend/sirius-components-charts/package.json +++ b/packages/charts/frontend/sirius-components-charts/package.json @@ -1,6 +1,6 @@ { "name": "@eclipse-sirius/sirius-components-charts", - "version": "2024.7.10", + "version": "2024.7.11", "author": "Eclipse Sirius", "license": "EPL-2.0", "repository": { diff --git a/packages/compatibility/backend/pom.xml b/packages/compatibility/backend/pom.xml index f8a25e71e7..e5277390b8 100644 --- a/packages/compatibility/backend/pom.xml +++ b/packages/compatibility/backend/pom.xml @@ -17,7 +17,7 @@ org.eclipse.sirius sirius-components-compatibility-parent - 2024.7.10 + 2024.7.11 sirius-components-compatibility-parent Sirius Components Compatibility Parent diff --git a/packages/compatibility/backend/sirius-components-compatibility-emf/pom.xml b/packages/compatibility/backend/sirius-components-compatibility-emf/pom.xml index 4c464b73da..cc8cf13333 100644 --- a/packages/compatibility/backend/sirius-components-compatibility-emf/pom.xml +++ b/packages/compatibility/backend/sirius-components-compatibility-emf/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-compatibility-emf - 2024.7.10 + 2024.7.11 sirius-components-compatibility-emf Sirius Components Compatibility EMF @@ -58,32 +58,32 @@ org.eclipse.sirius sirius-components-collaborative-diagrams - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-forms - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-emf-forms - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-compatibility - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-emf - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-widget-reference - 2024.7.10 + 2024.7.11 org.springframework.boot @@ -93,19 +93,19 @@ org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-diagrams-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-spring-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/compatibility/backend/sirius-components-compatibility/pom.xml b/packages/compatibility/backend/sirius-components-compatibility/pom.xml index 2e9af6720a..aaa608e83f 100644 --- a/packages/compatibility/backend/sirius-components-compatibility/pom.xml +++ b/packages/compatibility/backend/sirius-components-compatibility/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-compatibility - 2024.7.10 + 2024.7.11 sirius-components-compatibility Sirius Components Compatibility @@ -64,7 +64,7 @@ org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test @@ -74,43 +74,43 @@ org.eclipse.sirius sirius-components-spring-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-core - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-diagrams - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-forms - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-forms - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-selection - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-trees - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-interpreter - 2024.7.10 + 2024.7.11 org.eclipse.emf diff --git a/packages/core/backend/pom.xml b/packages/core/backend/pom.xml index cba63ce7df..e242b35a0b 100644 --- a/packages/core/backend/pom.xml +++ b/packages/core/backend/pom.xml @@ -17,7 +17,7 @@ org.eclipse.sirius sirius-components-core-parent - 2024.7.10 + 2024.7.11 sirius-components-core-parent Sirius Components Core Parent diff --git a/packages/core/backend/sirius-components-annotations-spring/pom.xml b/packages/core/backend/sirius-components-annotations-spring/pom.xml index 92771ddb1d..ff0f100767 100644 --- a/packages/core/backend/sirius-components-annotations-spring/pom.xml +++ b/packages/core/backend/sirius-components-annotations-spring/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-annotations-spring - 2024.7.10 + 2024.7.11 sirius-components-annotations-spring Sirius Components Annotations Spring diff --git a/packages/core/backend/sirius-components-annotations/pom.xml b/packages/core/backend/sirius-components-annotations/pom.xml index 73ecb72e16..f9c047753c 100644 --- a/packages/core/backend/sirius-components-annotations/pom.xml +++ b/packages/core/backend/sirius-components-annotations/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-annotations - 2024.7.10 + 2024.7.11 sirius-components-annotations Sirius Components Annotations diff --git a/packages/core/backend/sirius-components-collaborative/pom.xml b/packages/core/backend/sirius-components-collaborative/pom.xml index 05655cf45a..87f667a0a1 100644 --- a/packages/core/backend/sirius-components-collaborative/pom.xml +++ b/packages/core/backend/sirius-components-collaborative/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-collaborative - 2024.7.10 + 2024.7.11 sirius-components-collaborative Sirius Components Collaborative @@ -67,23 +67,23 @@ org.eclipse.sirius sirius-components-core - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-representations - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-spring-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/core/backend/sirius-components-core/pom.xml b/packages/core/backend/sirius-components-core/pom.xml index 9be4784152..bd9acfe890 100644 --- a/packages/core/backend/sirius-components-core/pom.xml +++ b/packages/core/backend/sirius-components-core/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-core - 2024.7.10 + 2024.7.11 sirius-components-core Sirius Components Core @@ -52,12 +52,12 @@ org.eclipse.sirius sirius-components-representations - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/core/backend/sirius-components-graphql-api/pom.xml b/packages/core/backend/sirius-components-graphql-api/pom.xml index 07df791b51..31f8147c26 100644 --- a/packages/core/backend/sirius-components-graphql-api/pom.xml +++ b/packages/core/backend/sirius-components-graphql-api/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-graphql-api - 2024.7.10 + 2024.7.11 sirius-components-graphql-api Sirius Components GraphQL API @@ -51,17 +51,17 @@ org.eclipse.sirius sirius-components-annotations-spring - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-core - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative - 2024.7.10 + 2024.7.11 diff --git a/packages/core/backend/sirius-components-representations/pom.xml b/packages/core/backend/sirius-components-representations/pom.xml index d3699306c4..d6b40d3226 100644 --- a/packages/core/backend/sirius-components-representations/pom.xml +++ b/packages/core/backend/sirius-components-representations/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-representations - 2024.7.10 + 2024.7.11 sirius-components-representations Sirius Components Representations @@ -47,7 +47,7 @@ org.eclipse.sirius sirius-components-annotations - 2024.7.10 + 2024.7.11 diff --git a/packages/core/frontend/sirius-components-core/package.json b/packages/core/frontend/sirius-components-core/package.json index 513949d11a..1382cc9dbc 100644 --- a/packages/core/frontend/sirius-components-core/package.json +++ b/packages/core/frontend/sirius-components-core/package.json @@ -1,6 +1,6 @@ { "name": "@eclipse-sirius/sirius-components-core", - "version": "2024.7.10", + "version": "2024.7.11", "author": "Eclipse Sirius", "license": "EPL-2.0", "repository": { diff --git a/packages/deck/backend/pom.xml b/packages/deck/backend/pom.xml index 5dae3dd1c1..481ebff281 100644 --- a/packages/deck/backend/pom.xml +++ b/packages/deck/backend/pom.xml @@ -17,7 +17,7 @@ org.eclipse.sirius sirius-components-deck-parent - 2024.7.10 + 2024.7.11 sirius-components-deck-parent Sirius Components Deck Parent diff --git a/packages/deck/backend/sirius-components-collaborative-deck/pom.xml b/packages/deck/backend/sirius-components-collaborative-deck/pom.xml index f8210fd975..5c25c85ac3 100644 --- a/packages/deck/backend/sirius-components-collaborative-deck/pom.xml +++ b/packages/deck/backend/sirius-components-collaborative-deck/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-collaborative-deck - 2024.7.10 + 2024.7.11 sirius-components-collaborative-deck Sirius Components Collaborative deck @@ -51,23 +51,23 @@ org.eclipse.sirius sirius-components-deck - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-spring-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/deck/backend/sirius-components-deck-graphql/pom.xml b/packages/deck/backend/sirius-components-deck-graphql/pom.xml index f500a7e5b4..961d0b8998 100644 --- a/packages/deck/backend/sirius-components-deck-graphql/pom.xml +++ b/packages/deck/backend/sirius-components-deck-graphql/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-deck-graphql - 2024.7.10 + 2024.7.11 sirius-components-deck-graphql Sirius Components Deck GraphQL @@ -47,17 +47,17 @@ org.eclipse.sirius sirius-components-graphql-api - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-deck - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/deck/backend/sirius-components-deck/pom.xml b/packages/deck/backend/sirius-components-deck/pom.xml index c820d9060c..7b8bcae7ec 100644 --- a/packages/deck/backend/sirius-components-deck/pom.xml +++ b/packages/deck/backend/sirius-components-deck/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-deck - 2024.7.10 + 2024.7.11 sirius-components-deck Sirius Components Deck @@ -43,7 +43,7 @@ org.eclipse.sirius sirius-components-representations - 2024.7.10 + 2024.7.11 org.springframework.boot @@ -53,7 +53,7 @@ org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/deck/frontend/sirius-components-deck/package.json b/packages/deck/frontend/sirius-components-deck/package.json index 95c2cbfe32..693e9c9802 100644 --- a/packages/deck/frontend/sirius-components-deck/package.json +++ b/packages/deck/frontend/sirius-components-deck/package.json @@ -1,6 +1,6 @@ { "name": "@eclipse-sirius/sirius-components-deck", - "version": "2024.7.10", + "version": "2024.7.11", "author": "Eclipse Sirius", "license": "EPL-2.0", "repository": { diff --git a/packages/diagrams/backend/pom.xml b/packages/diagrams/backend/pom.xml index bcee881eaf..a4f945caac 100644 --- a/packages/diagrams/backend/pom.xml +++ b/packages/diagrams/backend/pom.xml @@ -17,7 +17,7 @@ org.eclipse.sirius sirius-components-diagrams-parent - 2024.7.10 + 2024.7.11 sirius-components-diagrams-parent Sirius Components Diagrams Parent diff --git a/packages/diagrams/backend/sirius-components-collaborative-diagrams/pom.xml b/packages/diagrams/backend/sirius-components-collaborative-diagrams/pom.xml index 07542ceabe..229e1d6754 100644 --- a/packages/diagrams/backend/sirius-components-collaborative-diagrams/pom.xml +++ b/packages/diagrams/backend/sirius-components-collaborative-diagrams/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-collaborative-diagrams - 2024.7.10 + 2024.7.11 sirius-components-collaborative-diagrams Sirius Components Collaborative Diagrams @@ -51,23 +51,23 @@ org.eclipse.sirius sirius-components-diagrams - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-spring-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/diagrams/backend/sirius-components-diagrams-graphql/pom.xml b/packages/diagrams/backend/sirius-components-diagrams-graphql/pom.xml index 22ede62537..00d4695f9a 100644 --- a/packages/diagrams/backend/sirius-components-diagrams-graphql/pom.xml +++ b/packages/diagrams/backend/sirius-components-diagrams-graphql/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-diagrams-graphql - 2024.7.10 + 2024.7.11 sirius-components-diagrams-graphql Sirius Components Diagrams GraphQL @@ -47,17 +47,17 @@ org.eclipse.sirius sirius-components-graphql-api - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-diagrams - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/diagrams/backend/sirius-components-diagrams-tests/pom.xml b/packages/diagrams/backend/sirius-components-diagrams-tests/pom.xml index 7ad490470d..617797e1d8 100644 --- a/packages/diagrams/backend/sirius-components-diagrams-tests/pom.xml +++ b/packages/diagrams/backend/sirius-components-diagrams-tests/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-diagrams-tests - 2024.7.10 + 2024.7.11 sirius-components-diagrams-tests Sirius Components Diagrams Tests @@ -47,7 +47,7 @@ org.eclipse.sirius sirius-components-diagrams - 2024.7.10 + 2024.7.11 org.assertj @@ -56,12 +56,12 @@ org.eclipse.sirius sirius-components-graphql-tests - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-diagrams - 2024.7.10 + 2024.7.11 diff --git a/packages/diagrams/backend/sirius-components-diagrams/pom.xml b/packages/diagrams/backend/sirius-components-diagrams/pom.xml index e9e9bfe777..19b2c078d4 100644 --- a/packages/diagrams/backend/sirius-components-diagrams/pom.xml +++ b/packages/diagrams/backend/sirius-components-diagrams/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-diagrams - 2024.7.10 + 2024.7.11 sirius-components-diagrams Sirius Components Diagrams @@ -43,7 +43,7 @@ org.eclipse.sirius sirius-components-representations - 2024.7.10 + 2024.7.11 org.springframework.boot @@ -53,7 +53,7 @@ org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/diagrams/frontend/sirius-components-diagrams/package.json b/packages/diagrams/frontend/sirius-components-diagrams/package.json index 3a5bb14705..5bbe9b2713 100644 --- a/packages/diagrams/frontend/sirius-components-diagrams/package.json +++ b/packages/diagrams/frontend/sirius-components-diagrams/package.json @@ -1,6 +1,6 @@ { "name": "@eclipse-sirius/sirius-components-diagrams", - "version": "2024.7.10", + "version": "2024.7.11", "author": "Eclipse Sirius", "license": "EPL-2.0", "repository": { diff --git a/packages/domain/backend/pom.xml b/packages/domain/backend/pom.xml index 6abfa9d934..7d8170a69a 100644 --- a/packages/domain/backend/pom.xml +++ b/packages/domain/backend/pom.xml @@ -17,7 +17,7 @@ org.eclipse.sirius sirius-components-domain-parent - 2024.7.10 + 2024.7.11 sirius-components-domain-parent Sirius Components Domain Parent diff --git a/packages/domain/backend/sirius-components-domain-edit/pom.xml b/packages/domain/backend/sirius-components-domain-edit/pom.xml index e14e26c719..cbd51f0a67 100644 --- a/packages/domain/backend/sirius-components-domain-edit/pom.xml +++ b/packages/domain/backend/sirius-components-domain-edit/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-domain-edit - 2024.7.10 + 2024.7.11 sirius-components-domain-edit Sirius Components Domain Definition DSL - Edit Support @@ -64,7 +64,7 @@ org.eclipse.sirius sirius-components-domain - 2024.7.10 + 2024.7.11 diff --git a/packages/domain/backend/sirius-components-domain-emf/pom.xml b/packages/domain/backend/sirius-components-domain-emf/pom.xml index d57fdb81e0..e226c47e89 100644 --- a/packages/domain/backend/sirius-components-domain-emf/pom.xml +++ b/packages/domain/backend/sirius-components-domain-emf/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-domain-emf - 2024.7.10 + 2024.7.11 sirius-components-domain-emf Sirius Components Domain EMF @@ -54,12 +54,12 @@ org.eclipse.sirius sirius-components-emf - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-domain - 2024.7.10 + 2024.7.11 org.springframework.boot @@ -69,13 +69,13 @@ org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-spring-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/domain/backend/sirius-components-domain/pom.xml b/packages/domain/backend/sirius-components-domain/pom.xml index f54a6cc25a..4e24333e55 100644 --- a/packages/domain/backend/sirius-components-domain/pom.xml +++ b/packages/domain/backend/sirius-components-domain/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-domain - 2024.7.10 + 2024.7.11 sirius-components-domain Sirius Components Domain Definition DSL diff --git a/packages/emf/backend/pom.xml b/packages/emf/backend/pom.xml index b48f345094..53f043562c 100644 --- a/packages/emf/backend/pom.xml +++ b/packages/emf/backend/pom.xml @@ -17,7 +17,7 @@ org.eclipse.sirius sirius-components-emf-parent - 2024.7.10 + 2024.7.11 sirius-components-emf-parent Sirius Components EMF Parent diff --git a/packages/emf/backend/sirius-components-emf-forms/pom.xml b/packages/emf/backend/sirius-components-emf-forms/pom.xml index 76336b5d15..4b01f55dde 100644 --- a/packages/emf/backend/sirius-components-emf-forms/pom.xml +++ b/packages/emf/backend/sirius-components-emf-forms/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-emf-forms - 2024.7.10 + 2024.7.11 sirius-components-emf-forms Sirius Components EMF Forms @@ -54,17 +54,17 @@ org.eclipse.sirius sirius-components-forms - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-widget-reference - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-emf - 2024.7.10 + 2024.7.11 org.springframework.boot @@ -74,13 +74,13 @@ org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-spring-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/emf/backend/sirius-components-emf/pom.xml b/packages/emf/backend/sirius-components-emf/pom.xml index b95e22af4b..913ebde942 100644 --- a/packages/emf/backend/sirius-components-emf/pom.xml +++ b/packages/emf/backend/sirius-components-emf/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-emf - 2024.7.10 + 2024.7.11 sirius-components-emf Sirius Components EMF @@ -58,12 +58,12 @@ org.eclipse.sirius sirius-components-collaborative - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-interpreter - 2024.7.10 + 2024.7.11 org.eclipse.emf @@ -112,19 +112,19 @@ org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-diagrams-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-spring-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/emf/backend/sirius-components-interpreter/pom.xml b/packages/emf/backend/sirius-components-interpreter/pom.xml index fdc2c3eb80..c7cbce3e18 100644 --- a/packages/emf/backend/sirius-components-interpreter/pom.xml +++ b/packages/emf/backend/sirius-components-interpreter/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-interpreter - 2024.7.10 + 2024.7.11 sirius-components-interpreter Sirius Components Intepreter @@ -62,7 +62,7 @@ org.eclipse.sirius sirius-components-representations - 2024.7.10 + 2024.7.11 org.eclipse.emf diff --git a/packages/formdescriptioneditors/backend/pom.xml b/packages/formdescriptioneditors/backend/pom.xml index c802bd52df..028e5cd1da 100644 --- a/packages/formdescriptioneditors/backend/pom.xml +++ b/packages/formdescriptioneditors/backend/pom.xml @@ -17,7 +17,7 @@ org.eclipse.sirius sirius-components-formdescriptioneditors-parent - 2024.7.10 + 2024.7.11 sirius-components-formdescriptioneditors-parent Sirius Components FormDescription Editors Parent diff --git a/packages/formdescriptioneditors/backend/sirius-components-collaborative-formdescriptioneditors-widget-reference/pom.xml b/packages/formdescriptioneditors/backend/sirius-components-collaborative-formdescriptioneditors-widget-reference/pom.xml index 23e010efa7..c2d8e85844 100644 --- a/packages/formdescriptioneditors/backend/sirius-components-collaborative-formdescriptioneditors-widget-reference/pom.xml +++ b/packages/formdescriptioneditors/backend/sirius-components-collaborative-formdescriptioneditors-widget-reference/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-collaborative-formdescriptioneditors-widget-reference - 2024.7.10 + 2024.7.11 sirius-components-collaborative-formdescriptioneditors-widget-reference Sirius Components Collaborative FormDescriptionEditors Widget Reference @@ -43,22 +43,22 @@ org.eclipse.sirius sirius-components-collaborative-formdescriptioneditors - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-widget-reference-view - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-widget-reference - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-emf-widget-reference - 2024.7.10 + 2024.7.11 org.springframework.boot @@ -68,7 +68,7 @@ org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/formdescriptioneditors/backend/sirius-components-collaborative-formdescriptioneditors/pom.xml b/packages/formdescriptioneditors/backend/sirius-components-collaborative-formdescriptioneditors/pom.xml index ce033609ba..d955bfcde7 100644 --- a/packages/formdescriptioneditors/backend/sirius-components-collaborative-formdescriptioneditors/pom.xml +++ b/packages/formdescriptioneditors/backend/sirius-components-collaborative-formdescriptioneditors/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-collaborative-formdescriptioneditors - 2024.7.10 + 2024.7.11 sirius-components-collaborative-formdescriptioneditors Sirius Components Collaborative FormDescriptionEditors @@ -51,23 +51,23 @@ org.eclipse.sirius sirius-components-formdescriptioneditors - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-spring-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/formdescriptioneditors/backend/sirius-components-formdescriptioneditors-graphql/pom.xml b/packages/formdescriptioneditors/backend/sirius-components-formdescriptioneditors-graphql/pom.xml index 9397d865cd..a1b782e8cb 100644 --- a/packages/formdescriptioneditors/backend/sirius-components-formdescriptioneditors-graphql/pom.xml +++ b/packages/formdescriptioneditors/backend/sirius-components-formdescriptioneditors-graphql/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-formdescriptioneditors-graphql - 2024.7.10 + 2024.7.11 sirius-components-formdescriptioneditors-graphql Sirius Components FormDescription Editors GraphQL @@ -47,17 +47,17 @@ org.eclipse.sirius sirius-components-graphql-api - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-formdescriptioneditors - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/formdescriptioneditors/backend/sirius-components-formdescriptioneditors/pom.xml b/packages/formdescriptioneditors/backend/sirius-components-formdescriptioneditors/pom.xml index 1977ba9fba..07431a52ea 100644 --- a/packages/formdescriptioneditors/backend/sirius-components-formdescriptioneditors/pom.xml +++ b/packages/formdescriptioneditors/backend/sirius-components-formdescriptioneditors/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-formdescriptioneditors - 2024.7.10 + 2024.7.11 sirius-components-formdescriptioneditors Sirius Components FormDescriptionEditors @@ -47,22 +47,22 @@ org.eclipse.sirius sirius-components-core - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-representations - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-forms - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-form - 2024.7.10 + 2024.7.11 org.springframework.boot @@ -72,7 +72,7 @@ org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/formdescriptioneditors/frontend/sirius-components-formdescriptioneditors/package.json b/packages/formdescriptioneditors/frontend/sirius-components-formdescriptioneditors/package.json index 1f5a027395..670dc84087 100644 --- a/packages/formdescriptioneditors/frontend/sirius-components-formdescriptioneditors/package.json +++ b/packages/formdescriptioneditors/frontend/sirius-components-formdescriptioneditors/package.json @@ -1,6 +1,6 @@ { "name": "@eclipse-sirius/sirius-components-formdescriptioneditors", - "version": "2024.7.10", + "version": "2024.7.11", "author": "Eclipse Sirius", "license": "EPL-2.0", "repository": { diff --git a/packages/forms/backend/pom.xml b/packages/forms/backend/pom.xml index 3c1f34cff0..69c4da739f 100644 --- a/packages/forms/backend/pom.xml +++ b/packages/forms/backend/pom.xml @@ -17,7 +17,7 @@ org.eclipse.sirius sirius-components-forms-parent - 2024.7.10 + 2024.7.11 sirius-components-forms-parent Sirius Components Forms Parent diff --git a/packages/forms/backend/sirius-components-collaborative-forms/pom.xml b/packages/forms/backend/sirius-components-collaborative-forms/pom.xml index 48952945c2..2ff5597e40 100644 --- a/packages/forms/backend/sirius-components-collaborative-forms/pom.xml +++ b/packages/forms/backend/sirius-components-collaborative-forms/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-collaborative-forms - 2024.7.10 + 2024.7.11 sirius-components-collaborative-forms Sirius Components Collaborative Forms @@ -51,28 +51,28 @@ org.eclipse.sirius sirius-components-forms - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-charts - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-spring-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/forms/backend/sirius-components-collaborative-widget-reference/pom.xml b/packages/forms/backend/sirius-components-collaborative-widget-reference/pom.xml index 70b44de171..8c9f8fca7b 100644 --- a/packages/forms/backend/sirius-components-collaborative-widget-reference/pom.xml +++ b/packages/forms/backend/sirius-components-collaborative-widget-reference/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-collaborative-widget-reference - 2024.7.10 + 2024.7.11 sirius-components-collaborative-widget-reference Sirius Components Collaborative Forms :: Reference Widget @@ -51,33 +51,33 @@ org.eclipse.sirius sirius-components-widget-reference - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-emf - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-forms - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-trees - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-spring-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/forms/backend/sirius-components-forms-graphql/pom.xml b/packages/forms/backend/sirius-components-forms-graphql/pom.xml index 9eb50598fb..3613c6ac41 100644 --- a/packages/forms/backend/sirius-components-forms-graphql/pom.xml +++ b/packages/forms/backend/sirius-components-forms-graphql/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-forms-graphql - 2024.7.10 + 2024.7.11 sirius-components-forms-graphql Sirius Components Forms GraphQL @@ -47,22 +47,22 @@ org.eclipse.sirius sirius-components-graphql-api - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-forms - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-forms - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/forms/backend/sirius-components-forms-tests/pom.xml b/packages/forms/backend/sirius-components-forms-tests/pom.xml index d0d2e6d187..1423d8c065 100644 --- a/packages/forms/backend/sirius-components-forms-tests/pom.xml +++ b/packages/forms/backend/sirius-components-forms-tests/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-forms-tests - 2024.7.10 + 2024.7.11 sirius-components-forms-tests Sirius Components Forms Tests @@ -43,12 +43,12 @@ org.eclipse.sirius sirius-components-forms - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-widget-reference - 2024.7.10 + 2024.7.11 org.assertj @@ -61,12 +61,12 @@ org.eclipse.sirius sirius-components-graphql-tests - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-forms - 2024.7.10 + 2024.7.11 diff --git a/packages/forms/backend/sirius-components-forms/pom.xml b/packages/forms/backend/sirius-components-forms/pom.xml index f47398bfb6..718c80f166 100644 --- a/packages/forms/backend/sirius-components-forms/pom.xml +++ b/packages/forms/backend/sirius-components-forms/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-forms - 2024.7.10 + 2024.7.11 sirius-components-forms Sirius Components Forms @@ -47,12 +47,12 @@ org.eclipse.sirius sirius-components-representations - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-charts - 2024.7.10 + 2024.7.11 org.springframework.boot @@ -62,7 +62,7 @@ org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/forms/backend/sirius-components-widget-reference-graphql/pom.xml b/packages/forms/backend/sirius-components-widget-reference-graphql/pom.xml index 4eed4b0386..d04493e4a3 100644 --- a/packages/forms/backend/sirius-components-widget-reference-graphql/pom.xml +++ b/packages/forms/backend/sirius-components-widget-reference-graphql/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-widget-reference-graphql - 2024.7.10 + 2024.7.11 sirius-components-widget-reference-graphql Sirius Components Reference Widget GraphQL @@ -47,17 +47,17 @@ org.eclipse.sirius sirius-components-graphql-api - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-widget-reference - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/forms/backend/sirius-components-widget-reference/pom.xml b/packages/forms/backend/sirius-components-widget-reference/pom.xml index 5f3a996396..67c29d783b 100644 --- a/packages/forms/backend/sirius-components-widget-reference/pom.xml +++ b/packages/forms/backend/sirius-components-widget-reference/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-widget-reference - 2024.7.10 + 2024.7.11 sirius-components-widget-reference Sirius Components Forms :: Reference Widget @@ -43,7 +43,7 @@ org.eclipse.sirius sirius-components-forms - 2024.7.10 + 2024.7.11 org.springframework.boot @@ -53,7 +53,7 @@ org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/forms/frontend/sirius-components-forms/package.json b/packages/forms/frontend/sirius-components-forms/package.json index 3b2979ba42..169daacf87 100644 --- a/packages/forms/frontend/sirius-components-forms/package.json +++ b/packages/forms/frontend/sirius-components-forms/package.json @@ -1,6 +1,6 @@ { "name": "@eclipse-sirius/sirius-components-forms", - "version": "2024.7.10", + "version": "2024.7.11", "author": "Eclipse Sirius", "license": "EPL-2.0", "repository": { diff --git a/packages/forms/frontend/sirius-components-forms/src/representations/FormRepresentation.tsx b/packages/forms/frontend/sirius-components-forms/src/representations/FormRepresentation.tsx index bc3355635d..f734e78784 100644 --- a/packages/forms/frontend/sirius-components-forms/src/representations/FormRepresentation.tsx +++ b/packages/forms/frontend/sirius-components-forms/src/representations/FormRepresentation.tsx @@ -10,42 +10,18 @@ * Contributors: * Obeo - initial API and implementation *******************************************************************************/ -import { gql, useSubscription } from '@apollo/client'; -import { RepresentationComponentProps, Toast } from '@eclipse-sirius/sirius-components-core'; +import { RepresentationComponentProps } from '@eclipse-sirius/sirius-components-core'; import Typography from '@mui/material/Typography'; -import { makeStyles } from 'tss-react/mui'; -import { useMachine } from '@xstate/react'; import { useEffect, useState } from 'react'; +import { makeStyles } from 'tss-react/mui'; import { FormContext } from '../contexts/FormContext'; import { Form } from '../form/Form'; -import { formRefreshedEventPayloadFragment } from '../form/FormEventFragments'; -import { GQLFormEventSubscription } from '../form/FormEventFragments.types'; +import { GQLFormEventPayload } from '../form/FormEventFragments.types'; import { Page } from '../pages/Page'; import { ToolbarAction } from '../toolbaraction/ToolbarAction'; import { FormRepresentationState } from './FormRepresentation.types'; -import { - FormRepresentationContext, - FormRepresentationEvent, - HandleCompleteEvent, - HandleSubscriptionResultEvent, - HideToastEvent, - SchemaValue, - ShowToastEvent, - SwitchFormEvent, - formRepresentationMachine, -} from './FormRepresentationMachine'; - -const formEventSubscription = gql(` - subscription formEvent($input: FormEventInput!) { - formEvent(input: $input) { - __typename - ... on FormRefreshedEventPayload { - ...formRefreshedEventPayloadFragment - } - } - } - ${formRefreshedEventPayloadFragment} -`); +import { useFormSubscription } from './useFormSubscription'; +import { GQLFormRefreshedEventPayload } from './useFormSubscription.types'; const useFormRepresentationStyles = makeStyles()((theme) => ({ page: { @@ -61,6 +37,7 @@ const useFormRepresentationStyles = makeStyles()((theme) => ({ display: 'flex', alignItems: 'center', justifyContent: 'center', + paddingTop: theme.spacing(8), }, toolbar: { display: 'flex', @@ -76,83 +53,37 @@ const useFormRepresentationStyles = makeStyles()((theme) => ({ }, })); -/** - * Connect the Form component to the GraphQL API over Web Socket. - */ +const isFormRefreshedEventPayload = (payload: GQLFormEventPayload): payload is GQLFormRefreshedEventPayload => + payload && payload.__typename === 'FormRefreshedEventPayload'; + export const FormRepresentation = ({ editingContextId, representationId, readOnly }: RepresentationComponentProps) => { - const { classes } = useFormRepresentationStyles(); - const [{ value, context }, dispatch] = useMachine( - formRepresentationMachine, - { - context: { - formId: representationId, - }, - } - ); - const { toast, formRepresentation } = value as SchemaValue; - const { id, formId, form, message } = context; const [state, setState] = useState({ - payload: null, + form: null, }); - /** - * Displays an other form if the selection indicates that we should display another properties view. - */ + const { payload, complete } = useFormSubscription(editingContextId, representationId); useEffect(() => { - if (formId !== representationId) { - const switchFormEvent: SwitchFormEvent = { type: 'SWITCH_FORM', formId: representationId }; - dispatch(switchFormEvent); + if (isFormRefreshedEventPayload(payload)) { + setState((prevState) => ({ ...prevState, form: payload.form })); } - }, [representationId, formId, dispatch]); + }, [payload]); - const { error } = useSubscription(formEventSubscription, { - variables: { - input: { - id, - editingContextId, - formId: representationId, - }, - }, - fetchPolicy: 'no-cache', - onData: ({ data }) => { - if (data.data) { - const { formEvent } = data.data; - setState((prevState) => ({ ...prevState, payload: formEvent })); - } - const handleDataEvent: HandleSubscriptionResultEvent = { - type: 'HANDLE_SUBSCRIPTION_RESULT', - result: data, - }; - dispatch(handleDataEvent); - }, - onComplete: () => { - const completeEvent: HandleCompleteEvent = { type: 'HANDLE_COMPLETE' }; - dispatch(completeEvent); - }, - }); - - useEffect(() => { - if (error) { - const { message } = error; - const showToastEvent: ShowToastEvent = { type: 'SHOW_TOAST', message }; - dispatch(showToastEvent); - } - }, [error, dispatch]); + const { classes } = useFormRepresentationStyles(); let content: JSX.Element | null = null; - if (formRepresentation === 'ready') { - if (form.pages.length > 1) { - content =
; - } else if (form.pages.length === 1) { + if (state.form) { + if (state.form.pages.length > 1) { + content = ; + } else if (state.form.pages.length === 1) { let selectedPageToolbar = null; - if (form.pages[0].toolbarActions?.length > 0) { + if (state.form.pages[0].toolbarActions?.length > 0) { selectedPageToolbar = (
- {form.pages[0].toolbarActions.map((toolbarAction) => ( + {state.form.pages[0].toolbarActions.map((toolbarAction) => (
@@ -164,14 +95,21 @@ export const FormRepresentation = ({ editingContextId, representationId, readOnl content = (
{selectedPageToolbar} - +
); } - } else if (formRepresentation === 'complete') { + } + + if (complete) { content = (
- + The form does not exist anymore
@@ -182,14 +120,9 @@ export const FormRepresentation = ({ editingContextId, representationId, readOnl
{content} - dispatch({ type: 'HIDE_TOAST' } as HideToastEvent)} - />
); diff --git a/packages/forms/frontend/sirius-components-forms/src/representations/FormRepresentation.types.ts b/packages/forms/frontend/sirius-components-forms/src/representations/FormRepresentation.types.ts index eba02c09dc..48a4080ff8 100644 --- a/packages/forms/frontend/sirius-components-forms/src/representations/FormRepresentation.types.ts +++ b/packages/forms/frontend/sirius-components-forms/src/representations/FormRepresentation.types.ts @@ -11,8 +11,8 @@ * Obeo - initial API and implementation *******************************************************************************/ -import { GQLFormEventPayload } from '../form/FormEventFragments.types'; +import { GQLForm } from '../form/FormEventFragments.types'; export interface FormRepresentationState { - payload: GQLFormEventPayload | null; + form: GQLForm | null; } diff --git a/packages/forms/frontend/sirius-components-forms/src/representations/FormRepresentationMachine.ts b/packages/forms/frontend/sirius-components-forms/src/representations/FormRepresentationMachine.ts deleted file mode 100644 index 2f81bfc687..0000000000 --- a/packages/forms/frontend/sirius-components-forms/src/representations/FormRepresentationMachine.ts +++ /dev/null @@ -1,188 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2021, 2024 Obeo. - * This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v2.0 - * which accompanies this distribution, and is available at - * https://www.eclipse.org/legal/epl-2.0/ - * - * SPDX-License-Identifier: EPL-2.0 - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -import { SubscriptionResult } from '@apollo/client'; -import { assign, Machine } from 'xstate'; -import { - GQLForm, - GQLFormEventPayload, - GQLFormEventSubscription, - GQLFormRefreshedEventPayload, -} from '../form/FormEventFragments.types'; - -export interface FormRepresentationStateSchema { - states: { - toast: { - states: { - visible: {}; - hidden: {}; - }; - }; - formRepresentation: { - states: { - idle: {}; - ready: {}; - complete: {}; - }; - }; - }; -} - -export type SchemaValue = { - toast: 'visible' | 'hidden'; - formRepresentation: 'idle' | 'ready' | 'complete'; -}; - -export interface FormRepresentationContext { - id: string; - formId: string; - form: GQLForm | null; - message: string | null; -} - -export type ShowToastEvent = { type: 'SHOW_TOAST'; message: string }; -export type HideToastEvent = { type: 'HIDE_TOAST' }; -export type SwitchFormEvent = { type: 'SWITCH_FORM'; formId: string }; -export type HandleSubscriptionResultEvent = { - type: 'HANDLE_SUBSCRIPTION_RESULT'; - result: SubscriptionResult; -}; -export type HandleCompleteEvent = { type: 'HANDLE_COMPLETE' }; -export type FormRepresentationEvent = - | SwitchFormEvent - | HandleSubscriptionResultEvent - | HandleCompleteEvent - | ShowToastEvent - | HideToastEvent; - -const isFormRefreshedEventPayload = (payload: GQLFormEventPayload): payload is GQLFormRefreshedEventPayload => - payload.__typename === 'FormRefreshedEventPayload'; - -export const formRepresentationMachine = Machine< - FormRepresentationContext, - FormRepresentationStateSchema, - FormRepresentationEvent ->( - { - type: 'parallel', - context: { - id: crypto.randomUUID(), - formId: null, - form: null, - message: null, - }, - states: { - toast: { - initial: 'hidden', - states: { - hidden: { - on: { - SHOW_TOAST: { - target: 'visible', - actions: 'setMessage', - }, - }, - }, - visible: { - on: { - HIDE_TOAST: { - target: 'hidden', - actions: 'clearMessage', - }, - }, - }, - }, - }, - formRepresentation: { - initial: 'idle', - states: { - idle: { - on: { - SWITCH_FORM: { - target: 'idle', - actions: 'switchForm', - }, - HANDLE_SUBSCRIPTION_RESULT: [ - { - cond: 'isFormRefreshedEventPayload', - target: 'ready', - actions: 'handleSubscriptionResult', - }, - { - target: 'idle', - actions: 'handleSubscriptionResult', - }, - ], - }, - }, - ready: { - on: { - SWITCH_FORM: { - target: 'idle', - actions: 'switchForm', - }, - HANDLE_SUBSCRIPTION_RESULT: { - target: 'ready', - actions: 'handleSubscriptionResult', - }, - HANDLE_COMPLETE: { - target: 'complete', - }, - }, - }, - complete: { - on: { - SWITCH_FORM: { - target: 'idle', - actions: 'switchForm', - }, - }, - }, - }, - }, - }, - }, - { - guards: { - isFormRefreshedEventPayload: (_, event) => { - const { result } = event as HandleSubscriptionResultEvent; - const { data } = result; - return isFormRefreshedEventPayload(data.formEvent); - }, - }, - actions: { - switchForm: assign((_, event) => { - const { formId } = event as SwitchFormEvent; - return { - id: crypto.randomUUID(), - formId, - }; - }), - handleSubscriptionResult: assign((_, event) => { - const { result } = event as HandleSubscriptionResultEvent; - const { data } = result; - if (isFormRefreshedEventPayload(data.formEvent)) { - const { form } = data.formEvent; - return { form }; - } - return {}; - }), - setMessage: assign((_, event) => { - const { message } = event as ShowToastEvent; - return { message }; - }), - clearMessage: assign((_) => { - return { message: null }; - }), - }, - } -); diff --git a/packages/forms/frontend/sirius-components-forms/src/representations/useFormSubscription.tsx b/packages/forms/frontend/sirius-components-forms/src/representations/useFormSubscription.tsx new file mode 100644 index 0000000000..57b59e6003 --- /dev/null +++ b/packages/forms/frontend/sirius-components-forms/src/representations/useFormSubscription.tsx @@ -0,0 +1,92 @@ +/******************************************************************************* + * Copyright (c) 2024 Obeo. + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ + +import { gql, OnDataOptions, useSubscription } from '@apollo/client'; +import { useMultiToast } from '@eclipse-sirius/sirius-components-core'; +import { useEffect, useState } from 'react'; +import { formRefreshedEventPayloadFragment } from '../form/FormEventFragments'; +import { + GQLFormEventInput, + GQLFormEventPayload, + GQLFormEventSubscription, + GQLFormEventVariables, + GQLFormRefreshedEventPayload, + UseFormSubscriptionState, + UseFormSubscriptionValue, +} from './useFormSubscription.types'; + +export const formEventSubscription = ` + subscription formEvent($input: FormEventInput!) { + formEvent(input: $input) { + __typename + ... on FormRefreshedEventPayload { + ...formRefreshedEventPayloadFragment + } + } + } + ${formRefreshedEventPayloadFragment} +`; + +const isFormRefreshedEventPayload = (payload: GQLFormEventPayload): payload is GQLFormRefreshedEventPayload => + payload.__typename === 'FormRefreshedEventPayload'; + +export const useFormSubscription = (editingContextId: string, formId: string): UseFormSubscriptionValue => { + const [state, setState] = useState({ + id: crypto.randomUUID(), + complete: false, + }); + + const input: GQLFormEventInput = { + id: state.id, + editingContextId, + formId, + }; + + const variables: GQLFormEventVariables = { input }; + + const onComplete = () => setState((prevState) => ({ ...prevState, complete: true })); + + const onData = ({ data }: OnDataOptions) => { + const { data: gqlDetailsEventSubscription } = data; + if (gqlDetailsEventSubscription) { + const { formEvent: payload } = gqlDetailsEventSubscription; + setState((prevState) => ({ ...prevState, payload, complete: false })); + if (isFormRefreshedEventPayload(payload)) { + setState((prevState) => ({ ...prevState, complete: false })); + } + } + }; + + const { data, error, loading } = useSubscription( + gql(formEventSubscription), + { + variables, + fetchPolicy: 'no-cache', + onData, + onComplete, + } + ); + + const { addErrorMessage } = useMultiToast(); + useEffect(() => { + if (error) { + addErrorMessage('An unexpected error has occurred, please refresh the page'); + } + }, [error]); + + return { + loading, + payload: !!data?.formEvent ? data.formEvent : null, + complete: state.complete, + }; +}; diff --git a/packages/forms/frontend/sirius-components-forms/src/representations/useFormSubscription.types.ts b/packages/forms/frontend/sirius-components-forms/src/representations/useFormSubscription.types.ts new file mode 100644 index 0000000000..476fac4da0 --- /dev/null +++ b/packages/forms/frontend/sirius-components-forms/src/representations/useFormSubscription.types.ts @@ -0,0 +1,48 @@ +/******************************************************************************* + * Copyright (c) 2024 Obeo. + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ + +import { GQLForm } from '../form/FormEventFragments.types'; + +export interface UseFormSubscriptionValue { + loading: boolean; + payload: GQLFormEventPayload | null; + complete: boolean; +} + +export interface UseFormSubscriptionState { + id: string; + complete: boolean; +} + +export interface GQLFormEventInput { + id: string; + editingContextId: string; + formId: string; +} + +export interface GQLFormEventVariables { + input: GQLFormEventInput; +} + +export interface GQLFormEventSubscription { + formEvent: GQLFormEventPayload; +} + +export interface GQLFormEventPayload { + __typename: string; +} + +export interface GQLFormRefreshedEventPayload extends GQLFormEventPayload { + __typename: 'FormRefreshedEventPayload'; + form: GQLForm; +} diff --git a/packages/forms/frontend/sirius-components-widget-reference/package.json b/packages/forms/frontend/sirius-components-widget-reference/package.json index 6de5c2efc5..343ab9ff96 100644 --- a/packages/forms/frontend/sirius-components-widget-reference/package.json +++ b/packages/forms/frontend/sirius-components-widget-reference/package.json @@ -1,6 +1,6 @@ { "name": "@eclipse-sirius/sirius-components-widget-reference", - "version": "2024.7.10", + "version": "2024.7.11", "author": "Eclipse Sirius", "license": "EPL-2.0", "repository": { diff --git a/packages/gantt/backend/pom.xml b/packages/gantt/backend/pom.xml index 856fdc26fb..e69ffa302c 100644 --- a/packages/gantt/backend/pom.xml +++ b/packages/gantt/backend/pom.xml @@ -17,7 +17,7 @@ org.eclipse.sirius sirius-components-gantt-parent - 2024.7.10 + 2024.7.11 sirius-components-gantt-parent Sirius Components Gantt Parent diff --git a/packages/gantt/backend/sirius-components-collaborative-gantt/pom.xml b/packages/gantt/backend/sirius-components-collaborative-gantt/pom.xml index 06f345aec5..776997a50b 100644 --- a/packages/gantt/backend/sirius-components-collaborative-gantt/pom.xml +++ b/packages/gantt/backend/sirius-components-collaborative-gantt/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-collaborative-gantt - 2024.7.10 + 2024.7.11 sirius-components-collaborative-gantt Sirius Components Collaborative gantt @@ -51,23 +51,23 @@ org.eclipse.sirius sirius-components-gantt - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-spring-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/gantt/backend/sirius-components-gantt-graphql/pom.xml b/packages/gantt/backend/sirius-components-gantt-graphql/pom.xml index d4e070f836..432376f0a6 100644 --- a/packages/gantt/backend/sirius-components-gantt-graphql/pom.xml +++ b/packages/gantt/backend/sirius-components-gantt-graphql/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-gantt-graphql - 2024.7.10 + 2024.7.11 sirius-components-gantt-graphql Sirius Components Gantt GraphQL @@ -47,17 +47,17 @@ org.eclipse.sirius sirius-components-graphql-api - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-gantt - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/gantt/backend/sirius-components-gantt-tests/pom.xml b/packages/gantt/backend/sirius-components-gantt-tests/pom.xml index 7e67240361..f11bae9132 100644 --- a/packages/gantt/backend/sirius-components-gantt-tests/pom.xml +++ b/packages/gantt/backend/sirius-components-gantt-tests/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-gantt-tests - 2024.7.10 + 2024.7.11 sirius-components-gantt-tests Sirius Components Gantt Tests @@ -43,7 +43,7 @@ org.eclipse.sirius sirius-components-gantt - 2024.7.10 + 2024.7.11 org.assertj @@ -56,12 +56,12 @@ org.eclipse.sirius sirius-components-graphql-tests - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-gantt - 2024.7.10 + 2024.7.11 diff --git a/packages/gantt/backend/sirius-components-gantt/pom.xml b/packages/gantt/backend/sirius-components-gantt/pom.xml index c72c6f7ea9..12438d2669 100644 --- a/packages/gantt/backend/sirius-components-gantt/pom.xml +++ b/packages/gantt/backend/sirius-components-gantt/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-gantt - 2024.7.10 + 2024.7.11 sirius-components-gantt Sirius Components Gantt @@ -43,7 +43,7 @@ org.eclipse.sirius sirius-components-representations - 2024.7.10 + 2024.7.11 org.springframework.boot @@ -53,7 +53,7 @@ org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/gantt/frontend/sirius-components-gantt/package.json b/packages/gantt/frontend/sirius-components-gantt/package.json index 610c677e28..f94b982f3d 100644 --- a/packages/gantt/frontend/sirius-components-gantt/package.json +++ b/packages/gantt/frontend/sirius-components-gantt/package.json @@ -1,6 +1,6 @@ { "name": "@eclipse-sirius/sirius-components-gantt", - "version": "2024.7.10", + "version": "2024.7.11", "author": "Eclipse Sirius", "license": "EPL-2.0", "repository": { diff --git a/packages/papaya/backend/pom.xml b/packages/papaya/backend/pom.xml index f23bd13759..bebb25d795 100644 --- a/packages/papaya/backend/pom.xml +++ b/packages/papaya/backend/pom.xml @@ -17,7 +17,7 @@ org.eclipse.sirius sirius-components-papaya-parent - 2024.7.10 + 2024.7.11 sirius-components-view-parent Sirius Components Papaya Parent diff --git a/packages/papaya/backend/sirius-components-papaya-edit/pom.xml b/packages/papaya/backend/sirius-components-papaya-edit/pom.xml index 2c908157ff..7aead5b3a6 100644 --- a/packages/papaya/backend/sirius-components-papaya-edit/pom.xml +++ b/packages/papaya/backend/sirius-components-papaya-edit/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-papaya-edit - 2024.7.10 + 2024.7.11 sirius-components-papaya-edit Sirius Components Papaya Definition DSL - Edit Support @@ -64,7 +64,7 @@ org.eclipse.sirius sirius-components-papaya - 2024.7.10 + 2024.7.11 diff --git a/packages/papaya/backend/sirius-components-papaya/pom.xml b/packages/papaya/backend/sirius-components-papaya/pom.xml index 0b45bc5d50..c1bab94664 100644 --- a/packages/papaya/backend/sirius-components-papaya/pom.xml +++ b/packages/papaya/backend/sirius-components-papaya/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-papaya - 2024.7.10 + 2024.7.11 sirius-components-papaya Sirius Components Papaya Definition DSL diff --git a/packages/pom.xml b/packages/pom.xml index fa3f669564..653cc545c5 100644 --- a/packages/pom.xml +++ b/packages/pom.xml @@ -17,7 +17,7 @@ org.eclipse.sirius sirius-components - 2024.7.10 + 2024.7.11 sirius-components Sirius Components diff --git a/packages/portals/backend/pom.xml b/packages/portals/backend/pom.xml index 1a72d3a424..1d0f878830 100644 --- a/packages/portals/backend/pom.xml +++ b/packages/portals/backend/pom.xml @@ -17,7 +17,7 @@ org.eclipse.sirius sirius-components-portals-parent - 2024.7.10 + 2024.7.11 sirius-components-portals-parent Sirius Components Portals Parent diff --git a/packages/portals/backend/sirius-components-collaborative-portals/pom.xml b/packages/portals/backend/sirius-components-collaborative-portals/pom.xml index 0b1bd8953a..896085b408 100644 --- a/packages/portals/backend/sirius-components-collaborative-portals/pom.xml +++ b/packages/portals/backend/sirius-components-collaborative-portals/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-collaborative-portals - 2024.7.10 + 2024.7.11 sirius-components-collaborative-portals Sirius Components Collaborative Portals @@ -43,12 +43,12 @@ org.eclipse.sirius sirius-components-collaborative - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-portals - 2024.7.10 + 2024.7.11 org.springframework @@ -65,13 +65,13 @@ org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-spring-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/portals/backend/sirius-components-portals-graphql/pom.xml b/packages/portals/backend/sirius-components-portals-graphql/pom.xml index e92fa64579..aeece7f08c 100644 --- a/packages/portals/backend/sirius-components-portals-graphql/pom.xml +++ b/packages/portals/backend/sirius-components-portals-graphql/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-portals-graphql - 2024.7.10 + 2024.7.11 sirius-components-portals-graphql Sirius Components Portals GraphQL @@ -47,17 +47,17 @@ org.eclipse.sirius sirius-components-graphql-api - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-portals - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/portals/backend/sirius-components-portals-tests/pom.xml b/packages/portals/backend/sirius-components-portals-tests/pom.xml index f0f73bcefb..465cd7d512 100644 --- a/packages/portals/backend/sirius-components-portals-tests/pom.xml +++ b/packages/portals/backend/sirius-components-portals-tests/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-portals-tests - 2024.7.10 + 2024.7.11 sirius-components-portals-tests Sirius Components Portals Tests @@ -43,12 +43,12 @@ org.eclipse.sirius sirius-components-graphql-tests - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-portals - 2024.7.10 + 2024.7.11 diff --git a/packages/portals/backend/sirius-components-portals/pom.xml b/packages/portals/backend/sirius-components-portals/pom.xml index 2027f1df89..2f39d84064 100644 --- a/packages/portals/backend/sirius-components-portals/pom.xml +++ b/packages/portals/backend/sirius-components-portals/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-portals - 2024.7.10 + 2024.7.11 sirius-components-portals Sirius Components Portals @@ -43,12 +43,12 @@ org.eclipse.sirius sirius-components-representations - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/portals/frontend/sirius-components-portals/package.json b/packages/portals/frontend/sirius-components-portals/package.json index 899543731d..285b62450e 100644 --- a/packages/portals/frontend/sirius-components-portals/package.json +++ b/packages/portals/frontend/sirius-components-portals/package.json @@ -1,6 +1,6 @@ { "name": "@eclipse-sirius/sirius-components-portals", - "version": "2024.7.10", + "version": "2024.7.11", "author": "Eclipse Sirius", "license": "EPL-2.0", "repository": { diff --git a/packages/releng/backend/pom.xml b/packages/releng/backend/pom.xml index ba56d39051..29d08258dd 100644 --- a/packages/releng/backend/pom.xml +++ b/packages/releng/backend/pom.xml @@ -17,7 +17,7 @@ org.eclipse.sirius sirius-components-releng-parent - 2024.7.10 + 2024.7.11 sirius-components-releng-parent Sirius Components Releng Parent diff --git a/packages/releng/backend/sirius-components-test-coverage/pom.xml b/packages/releng/backend/sirius-components-test-coverage/pom.xml index e2ae898c96..86ba92b246 100644 --- a/packages/releng/backend/sirius-components-test-coverage/pom.xml +++ b/packages/releng/backend/sirius-components-test-coverage/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-test-coverage - 2024.7.10 + 2024.7.11 sirius-components-test-coverage-aggregation Sirius Components Test Coverage Aggregation @@ -43,377 +43,377 @@ org.eclipse.sirius sirius-components-annotations - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-annotations-spring - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-compatibility - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-compatibility-emf - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-charts - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-core - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-diagrams - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-domain - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-domain-edit - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-emf - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-emf-forms - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-domain-emf - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-gantt - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-deck - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-emf - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-forms - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-formdescriptioneditors - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-interpreter - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-portals - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-representations - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-selection - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-web - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-charts - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-diagrams - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-forms - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-formdescriptioneditors - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-gantt - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-deck - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-portals - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-selection - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-trees - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-validation - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-diagrams-graphql - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-forms-graphql - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-formdescriptioneditors-graphql - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-gantt-graphql - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-charts-graphql - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-deck-graphql - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-selection-graphql - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-portals-graphql - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-trees-graphql - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-validation-graphql - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-graphql - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-graphql-api - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-trees - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-validation - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-edit - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-diagram - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-diagram-edit - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-gantt - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-gantt-edit - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-deck - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-deck-edit - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-form - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-form-edit - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-builder - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-task - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-task-edit - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-widget-reference - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-widget-reference - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-widget-reference-graphql - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-widget-reference-view - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-widget-reference-view-edit - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-formdescriptioneditors-widget-reference - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-emf-widget-reference - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-diagram-customnodes - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-diagram-customnodes-edit - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-web-papaya - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-web-domain - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-web-application - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-web-infrastructure - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-web-starter - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-web - 2024.7.10 + 2024.7.11 diff --git a/packages/releng/frontend/sirius-components-tsconfig/package.json b/packages/releng/frontend/sirius-components-tsconfig/package.json index 8350db900d..f77606841a 100644 --- a/packages/releng/frontend/sirius-components-tsconfig/package.json +++ b/packages/releng/frontend/sirius-components-tsconfig/package.json @@ -1,6 +1,6 @@ { "name": "@eclipse-sirius/sirius-components-tsconfig", - "version": "2024.7.10", + "version": "2024.7.11", "author": "Eclipse Sirius", "license": "EPL-2.0", "repository": { diff --git a/packages/selection/backend/pom.xml b/packages/selection/backend/pom.xml index c989bcb03b..3a2aeb50d2 100644 --- a/packages/selection/backend/pom.xml +++ b/packages/selection/backend/pom.xml @@ -17,7 +17,7 @@ org.eclipse.sirius sirius-components-selection-parent - 2024.7.10 + 2024.7.11 sirius-components-selection-parent Sirius Components Selection Parent diff --git a/packages/selection/backend/sirius-components-collaborative-selection/pom.xml b/packages/selection/backend/sirius-components-collaborative-selection/pom.xml index 2eb0182ab7..51ce9bd58d 100644 --- a/packages/selection/backend/sirius-components-collaborative-selection/pom.xml +++ b/packages/selection/backend/sirius-components-collaborative-selection/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-collaborative-selection - 2024.7.10 + 2024.7.11 sirius-components-collaborative-selection Sirius Components Collaborative Selection @@ -43,7 +43,7 @@ org.eclipse.sirius sirius-components-selection - 2024.7.10 + 2024.7.11 org.springframework @@ -56,18 +56,18 @@ org.eclipse.sirius sirius-components-collaborative - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-spring-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/selection/backend/sirius-components-selection-graphql/pom.xml b/packages/selection/backend/sirius-components-selection-graphql/pom.xml index 78ac85ca6b..0592b18856 100644 --- a/packages/selection/backend/sirius-components-selection-graphql/pom.xml +++ b/packages/selection/backend/sirius-components-selection-graphql/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-selection-graphql - 2024.7.10 + 2024.7.11 sirius-components-selection-graphql Sirius Components Selection GraphQL @@ -47,17 +47,17 @@ org.eclipse.sirius sirius-components-graphql-api - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-selection - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/selection/backend/sirius-components-selection/pom.xml b/packages/selection/backend/sirius-components-selection/pom.xml index 1e74cbc8f6..06be641ea6 100644 --- a/packages/selection/backend/sirius-components-selection/pom.xml +++ b/packages/selection/backend/sirius-components-selection/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-selection - 2024.7.10 + 2024.7.11 sirius-components-selection Sirius Components Selection @@ -43,12 +43,12 @@ org.eclipse.sirius sirius-components-representations - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/selection/frontend/sirius-components-selection/package.json b/packages/selection/frontend/sirius-components-selection/package.json index 0393b46b88..5e3ae448b9 100644 --- a/packages/selection/frontend/sirius-components-selection/package.json +++ b/packages/selection/frontend/sirius-components-selection/package.json @@ -1,6 +1,6 @@ { "name": "@eclipse-sirius/sirius-components-selection", - "version": "2024.7.10", + "version": "2024.7.11", "author": "Eclipse Sirius", "license": "EPL-2.0", "repository": { diff --git a/packages/sirius-web/backend/pom.xml b/packages/sirius-web/backend/pom.xml index 93eba79554..e60774dda7 100644 --- a/packages/sirius-web/backend/pom.xml +++ b/packages/sirius-web/backend/pom.xml @@ -17,7 +17,7 @@ org.eclipse.sirius sirius-web-parent - 2024.7.10 + 2024.7.11 sirius-web-parent Sirius Web Parent diff --git a/packages/sirius-web/backend/sirius-web-application/pom.xml b/packages/sirius-web/backend/sirius-web-application/pom.xml index 0a2f6b2a30..7448816592 100644 --- a/packages/sirius-web/backend/sirius-web-application/pom.xml +++ b/packages/sirius-web/backend/sirius-web-application/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-web-application - 2024.7.10 + 2024.7.11 sirius-web-application Sirius Web Application @@ -47,152 +47,152 @@ org.eclipse.sirius sirius-web-domain - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-graphql-api - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-forms - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-portals - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-trees - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-validation - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-emf - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-emf-forms - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-domain - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-trees - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-diagram-customnodes - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-diagram-customnodes-edit - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-edit - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-builder - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-deck - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-deck-edit - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-diagram - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-diagram-edit - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-form - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-form-edit - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-widget-reference-view - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-widget-reference-view-edit - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-gantt - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-gantt-edit - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-domain - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-domain-edit - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-domain-emf - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-emf - 2024.7.10 + 2024.7.11 diff --git a/packages/sirius-web/backend/sirius-web-domain/pom.xml b/packages/sirius-web/backend/sirius-web-domain/pom.xml index f201bcb713..24a1ac0665 100644 --- a/packages/sirius-web/backend/sirius-web-domain/pom.xml +++ b/packages/sirius-web/backend/sirius-web-domain/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-web-domain - 2024.7.10 + 2024.7.11 sirius-web-domain Sirius Web Domain diff --git a/packages/sirius-web/backend/sirius-web-frontend/pom.xml b/packages/sirius-web/backend/sirius-web-frontend/pom.xml index be949eb37a..2421a5a51b 100644 --- a/packages/sirius-web/backend/sirius-web-frontend/pom.xml +++ b/packages/sirius-web/backend/sirius-web-frontend/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-web-frontend - 2024.7.10 + 2024.7.11 sirius-web-frontend Sirius Web Frontend diff --git a/packages/sirius-web/backend/sirius-web-infrastructure/pom.xml b/packages/sirius-web/backend/sirius-web-infrastructure/pom.xml index 18e941c592..39717ba5ff 100644 --- a/packages/sirius-web/backend/sirius-web-infrastructure/pom.xml +++ b/packages/sirius-web/backend/sirius-web-infrastructure/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-web-infrastructure - 2024.7.10 + 2024.7.11 sirius-web-infrastructure Sirius Web Infrastructure @@ -52,7 +52,7 @@ org.eclipse.sirius sirius-web-application - 2024.7.10 + 2024.7.11 diff --git a/packages/sirius-web/backend/sirius-web-papaya/pom.xml b/packages/sirius-web/backend/sirius-web-papaya/pom.xml index a257a58f60..c3c68f382f 100644 --- a/packages/sirius-web/backend/sirius-web-papaya/pom.xml +++ b/packages/sirius-web/backend/sirius-web-papaya/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-web-papaya - 2024.7.10 + 2024.7.11 sirius-web-papaya Sirius Web Papaya @@ -43,17 +43,17 @@ org.eclipse.sirius sirius-web-application - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-papaya - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-papaya-edit - 2024.7.10 + 2024.7.11 org.reflections diff --git a/packages/sirius-web/backend/sirius-web-starter/pom.xml b/packages/sirius-web/backend/sirius-web-starter/pom.xml index c4a9c86543..dc4a2db1ed 100644 --- a/packages/sirius-web/backend/sirius-web-starter/pom.xml +++ b/packages/sirius-web/backend/sirius-web-starter/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-web-starter - 2024.7.10 + 2024.7.11 sirius-web-starter Sirius Web Starter @@ -47,152 +47,152 @@ org.eclipse.sirius sirius-web-infrastructure - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-charts-graphql - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-deck-graphql - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-diagrams-graphql - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-forms-graphql - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-widget-reference-graphql - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-formdescriptioneditors-widget-reference - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-formdescriptioneditors-graphql - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-gantt-graphql - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-portals-graphql - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-selection-graphql - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-trees-graphql - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-validation-graphql - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-graphql - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-web - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-emf - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-emf-widget-reference - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-edit - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-builder - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-deck - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-deck-edit - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-diagram - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-diagram-edit - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-form - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-form-edit - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-gantt - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-gantt-edit - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-widget-reference-view - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-widget-reference-view-edit - 2024.7.10 + 2024.7.11 diff --git a/packages/sirius-web/backend/sirius-web-tests/pom.xml b/packages/sirius-web/backend/sirius-web-tests/pom.xml index 2a1fc5f3c4..e4020fc614 100644 --- a/packages/sirius-web/backend/sirius-web-tests/pom.xml +++ b/packages/sirius-web/backend/sirius-web-tests/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-web-tests - 2024.7.10 + 2024.7.11 sirius-web-tests Sirius Web Tests @@ -43,37 +43,37 @@ org.eclipse.sirius sirius-components-graphql-tests - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-web-application - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-diagrams-tests - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-deck - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-forms-tests - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-formdescriptioneditors - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-gantt - 2024.7.10 + 2024.7.11 diff --git a/packages/sirius-web/backend/sirius-web/pom.xml b/packages/sirius-web/backend/sirius-web/pom.xml index 9b97e97253..7efc332d18 100644 --- a/packages/sirius-web/backend/sirius-web/pom.xml +++ b/packages/sirius-web/backend/sirius-web/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-web - 2024.7.10 + 2024.7.11 sirius-web Sirius Web @@ -43,29 +43,29 @@ org.eclipse.sirius sirius-web-starter - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-web-frontend - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-web-papaya - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-flow-starter - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-task-starter - 2024.7.10 + 2024.7.11 org.springframework.boot @@ -102,37 +102,37 @@ org.eclipse.sirius sirius-web-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-diagrams-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-forms-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-gantt-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-trees-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-portals-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/sirius-web/frontend/sirius-web-application/package.json b/packages/sirius-web/frontend/sirius-web-application/package.json index b37ce0b16b..a84e48c24f 100644 --- a/packages/sirius-web/frontend/sirius-web-application/package.json +++ b/packages/sirius-web/frontend/sirius-web-application/package.json @@ -1,7 +1,7 @@ { "name": "@eclipse-sirius/sirius-web-application", "author": "Eclipse Sirius", - "version": "2024.7.10", + "version": "2024.7.11", "license": "EPL-2.0", "repository": { "type": "git", diff --git a/packages/sirius-web/frontend/sirius-web-application/src/diagrams/DiagramFilterForm.tsx b/packages/sirius-web/frontend/sirius-web-application/src/diagrams/DiagramFilterForm.tsx index 39799b7b1b..a41901f028 100644 --- a/packages/sirius-web/frontend/sirius-web-application/src/diagrams/DiagramFilterForm.tsx +++ b/packages/sirius-web/frontend/sirius-web-application/src/diagrams/DiagramFilterForm.tsx @@ -12,10 +12,18 @@ *******************************************************************************/ import { WorkbenchViewComponentProps } from '@eclipse-sirius/sirius-components-core'; -import { FormBasedView, GQLForm, Group } from '@eclipse-sirius/sirius-components-forms'; +import { + FormBasedView, + FormContext, + GQLForm, + GQLFormRefreshedEventPayload, + Group, +} from '@eclipse-sirius/sirius-components-forms'; +import { useEffect, useState } from 'react'; import { makeStyles } from 'tss-react/mui'; -import { DiagramFilterFormProps } from './DiagramFilterForm.types'; +import { DiagramFilterFormProps, DiagramFilterViewState } from './DiagramFilterForm.types'; import { useDiagramFilterSubscription } from './useDiagramFilterSubscription'; +import { GQLDiagramFilterEventPayload } from './useDiagramFilterSubscription.types'; const useDiagramFilterViewStyles = makeStyles()((theme) => ({ idle: { @@ -26,8 +34,20 @@ const useDiagramFilterViewStyles = makeStyles()((theme) => ({ }, })); +const isFormRefreshedEventPayload = (payload: GQLDiagramFilterEventPayload): payload is GQLFormRefreshedEventPayload => + payload && payload.__typename === 'FormRefreshedEventPayload'; + export const DiagramFilterForm = ({ editingContextId, diagramId, readOnly }: DiagramFilterFormProps) => { - const { form, complete } = useDiagramFilterSubscription(editingContextId, [diagramId]); + const [state, setState] = useState({ + form: null, + }); + + const { payload, complete } = useDiagramFilterSubscription(editingContextId, [diagramId]); + useEffect(() => { + if (isFormRefreshedEventPayload(payload)) { + setState((prevState) => ({ ...prevState, form: payload.form })); + } + }, [payload]); const { classes } = useDiagramFilterViewStyles(); @@ -44,15 +64,22 @@ export const DiagramFilterForm = ({ editingContextId, diagramId, readOnly }: Dia } }; - if (!form || complete) { + if (!state.form || complete) { return null; } return ( - +
+ + + +
); }; diff --git a/packages/sirius-web/frontend/sirius-web-application/src/diagrams/DiagramFilterForm.types.ts b/packages/sirius-web/frontend/sirius-web-application/src/diagrams/DiagramFilterForm.types.ts index b22a36803d..88a0145921 100644 --- a/packages/sirius-web/frontend/sirius-web-application/src/diagrams/DiagramFilterForm.types.ts +++ b/packages/sirius-web/frontend/sirius-web-application/src/diagrams/DiagramFilterForm.types.ts @@ -11,8 +11,14 @@ * Obeo - initial API and implementation *******************************************************************************/ +import { GQLForm } from '@eclipse-sirius/sirius-components-forms'; + export interface DiagramFilterFormProps { editingContextId: string; diagramId: string; readOnly: boolean; } + +export interface DiagramFilterViewState { + form: GQLForm | null; +} diff --git a/packages/sirius-web/frontend/sirius-web-application/src/diagrams/useDiagramFilterSubscription.tsx b/packages/sirius-web/frontend/sirius-web-application/src/diagrams/useDiagramFilterSubscription.tsx index 81a419fdf6..4ce6370f63 100644 --- a/packages/sirius-web/frontend/sirius-web-application/src/diagrams/useDiagramFilterSubscription.tsx +++ b/packages/sirius-web/frontend/sirius-web-application/src/diagrams/useDiagramFilterSubscription.tsx @@ -17,17 +17,12 @@ import { formRefreshedEventPayloadFragment } from '@eclipse-sirius/sirius-compon import { useEffect, useState } from 'react'; import { GQLDiagramFilterEventInput, - GQLDiagramFilterEventPayload, GQLDiagramFilterEventSubscription, GQLDiagramFilterEventVariables, - GQLFormRefreshedEventPayload, UseDiagramFilterSubscriptionState, UseDiagramFilterSubscriptionValue, } from './useDiagramFilterSubscription.types'; -const isFormRefreshedEventPayload = (payload: GQLDiagramFilterEventPayload): payload is GQLFormRefreshedEventPayload => - payload.__typename === 'FormRefreshedEventPayload'; - export const getDiagramFilterEventSubscription = ` subscription diagramFilterEvent($input: DiagramFilterEventInput!) { diagramFilterEvent(input: $input) { @@ -47,7 +42,6 @@ export const useDiagramFilterSubscription = ( ): UseDiagramFilterSubscriptionValue => { const [state, setState] = useState({ id: crypto.randomUUID(), - form: null, complete: false, }); @@ -59,20 +53,12 @@ export const useDiagramFilterSubscription = ( const variables: GQLDiagramFilterEventVariables = { input }; - const onData = ({ data }: OnDataOptions) => { - const { data: gqlDiagramFilterEventSubscription } = data; - if (gqlDiagramFilterEventSubscription) { - const { diagramFilterEvent: payload } = gqlDiagramFilterEventSubscription; - if (isFormRefreshedEventPayload(payload)) { - const { form } = payload; - setState((prevState) => ({ ...prevState, form, complete: false })); - } - } - }; - const onComplete = () => setState((prevState) => ({ ...prevState, complete: true })); - const { error, loading } = useSubscription( + const onData = ({}: OnDataOptions) => + setState((prevState) => ({ ...prevState, complete: false })); + + const { data, error, loading } = useSubscription( gql(getDiagramFilterEventSubscription), { variables, @@ -92,7 +78,7 @@ export const useDiagramFilterSubscription = ( return { loading, - form: state.form, + payload: data?.diagramFilterEvent ?? null, complete: state.complete, }; }; diff --git a/packages/sirius-web/frontend/sirius-web-application/src/diagrams/useDiagramFilterSubscription.types.ts b/packages/sirius-web/frontend/sirius-web-application/src/diagrams/useDiagramFilterSubscription.types.ts index a30b4f7eaf..58fa6abcc8 100644 --- a/packages/sirius-web/frontend/sirius-web-application/src/diagrams/useDiagramFilterSubscription.types.ts +++ b/packages/sirius-web/frontend/sirius-web-application/src/diagrams/useDiagramFilterSubscription.types.ts @@ -15,13 +15,12 @@ import { GQLForm } from '@eclipse-sirius/sirius-components-forms'; export interface UseDiagramFilterSubscriptionValue { loading: boolean; - form: GQLForm | null; + payload: GQLDiagramFilterEventPayload | null; complete: boolean; } export interface UseDiagramFilterSubscriptionState { id: string; - form: GQLForm | null; complete: boolean; } diff --git a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/DetailsView.tsx b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/DetailsView.tsx index f0e83f88e7..3a6086c437 100644 --- a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/DetailsView.tsx +++ b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/DetailsView.tsx @@ -17,6 +17,7 @@ import { useEffect, useState } from 'react'; import { makeStyles } from 'tss-react/mui'; import { DetailsViewState } from './DetailsView.types'; import { useDetailsViewSubscription } from './useDetailsViewSubscription'; +import { GQLDetailsEventPayload, GQLFormRefreshedEventPayload } from './useDetailsViewSubscription.types'; const useDetailsViewStyles = makeStyles()((theme) => ({ idle: { @@ -24,9 +25,13 @@ const useDetailsViewStyles = makeStyles()((theme) => ({ }, })); +const isFormRefreshedEventPayload = (payload: GQLDetailsEventPayload): payload is GQLFormRefreshedEventPayload => + payload && payload.__typename === 'FormRefreshedEventPayload'; + export const DetailsView = ({ editingContextId, readOnly }: WorkbenchViewComponentProps) => { const [state, setState] = useState({ currentSelection: { entries: [] }, + form: null, }); const { selection } = useSelection(); @@ -42,6 +47,7 @@ export const DetailsView = ({ editingContextId, readOnly }: WorkbenchViewCompone .map((entry) => entry.id) .sort() .join(':'); + useEffect(() => { if (selection.entries.length > 0 && currentSelectionKey !== newSelectionKey) { setState((prevState) => ({ ...prevState, currentSelection: selection })); @@ -52,11 +58,17 @@ export const DetailsView = ({ editingContextId, readOnly }: WorkbenchViewCompone const objectIds: string[] = state.currentSelection.entries.map((entry) => entry.id); const skip = objectIds.length === 0; - const { form, payload, complete } = useDetailsViewSubscription(editingContextId, objectIds, skip); + const { payload, complete } = useDetailsViewSubscription(editingContextId, objectIds, skip); + + useEffect(() => { + if (isFormRefreshedEventPayload(payload)) { + setState((prevState) => ({ ...prevState, form: payload.form })); + } + }, [payload]); const { classes } = useDetailsViewStyles(); - if (!form || complete) { + if (!state.form || complete) { return (
No object selected @@ -69,7 +81,7 @@ export const DetailsView = ({ editingContextId, readOnly }: WorkbenchViewCompone value={{ payload: payload, }}> - +
); diff --git a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/DetailsView.types.ts b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/DetailsView.types.ts index 344ee6595c..7cee0ab671 100644 --- a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/DetailsView.types.ts +++ b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/DetailsView.types.ts @@ -12,7 +12,9 @@ *******************************************************************************/ import { Selection } from '@eclipse-sirius/sirius-components-core'; +import { GQLForm } from '@eclipse-sirius/sirius-components-forms'; export interface DetailsViewState { currentSelection: Selection; + form: GQLForm | null; } diff --git a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/RelatedElementsView.tsx b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/RelatedElementsView.tsx index c803d08ed5..4e3366aca4 100644 --- a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/RelatedElementsView.tsx +++ b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/RelatedElementsView.tsx @@ -11,12 +11,19 @@ * Obeo - initial API and implementation *******************************************************************************/ import { useSelection, WorkbenchViewComponentProps } from '@eclipse-sirius/sirius-components-core'; -import { FormBasedView, GQLForm, Group } from '@eclipse-sirius/sirius-components-forms'; +import { + FormBasedView, + FormContext, + GQLForm, + GQLFormRefreshedEventPayload, + Group, +} from '@eclipse-sirius/sirius-components-forms'; import Typography from '@mui/material/Typography'; import { useEffect, useState } from 'react'; import { makeStyles } from 'tss-react/mui'; import { RelatedElementsViewState } from './RelatedElementsView.types'; import { useRelatedElementsViewSubscription } from './useRelatedElementsViewSubscription'; +import { GQLRelatedElementsEventPayload } from './useRelatedElementsViewSubscription.types'; const useRelatedElementsViewStyles = makeStyles()((theme) => ({ idle: { @@ -27,9 +34,14 @@ const useRelatedElementsViewStyles = makeStyles()((theme) => ({ }, })); +const isFormRefreshedEventPayload = ( + payload: GQLRelatedElementsEventPayload +): payload is GQLFormRefreshedEventPayload => payload && payload.__typename === 'FormRefreshedEventPayload'; + export const RelatedElementsView = ({ editingContextId, readOnly }: WorkbenchViewComponentProps) => { const [state, setState] = useState({ currentSelection: { entries: [] }, + form: null, }); const { selection } = useSelection(); @@ -55,7 +67,13 @@ export const RelatedElementsView = ({ editingContextId, readOnly }: WorkbenchVie const objectIds: string[] = state.currentSelection.entries.map((entry) => entry.id); const skip = objectIds.length === 0; - const { form, complete } = useRelatedElementsViewSubscription(editingContextId, objectIds, skip); + + const { payload, complete } = useRelatedElementsViewSubscription(editingContextId, objectIds, skip); + useEffect(() => { + if (isFormRefreshedEventPayload(payload)) { + setState((prevState) => ({ ...prevState, form: payload.form })); + } + }, [payload]); const { classes } = useRelatedElementsViewStyles(); @@ -72,7 +90,7 @@ export const RelatedElementsView = ({ editingContextId, readOnly }: WorkbenchVie } }; - if (!form || complete) { + if (!state.form || complete) { return (
No object selected @@ -80,11 +98,18 @@ export const RelatedElementsView = ({ editingContextId, readOnly }: WorkbenchVie ); } return ( - +
+ + + +
); }; diff --git a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/RelatedElementsView.types.ts b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/RelatedElementsView.types.ts index fcfa46fae4..a267ede1d1 100644 --- a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/RelatedElementsView.types.ts +++ b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/RelatedElementsView.types.ts @@ -12,7 +12,9 @@ *******************************************************************************/ import { Selection } from '@eclipse-sirius/sirius-components-core'; +import { GQLForm } from '@eclipse-sirius/sirius-components-forms'; export interface RelatedElementsViewState { currentSelection: Selection; + form: GQLForm | null; } diff --git a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/RepresentationsView.tsx b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/RepresentationsView.tsx index 3c2788a202..274ce0c105 100644 --- a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/RepresentationsView.tsx +++ b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/RepresentationsView.tsx @@ -13,8 +13,10 @@ import { useSelection, WorkbenchViewComponentProps } from '@eclipse-sirius/sirius-components-core'; import { FormBasedView, + FormContext, GQLForm, GQLList, + GQLRepresentationsEventPayload, GQLTree, GQLWidget, ListPropertySection, @@ -25,6 +27,7 @@ import { useEffect, useState } from 'react'; import { makeStyles } from 'tss-react/mui'; import { RepresentationsViewState } from './RepresentationsView.types'; import { useRepresentationsViewSubscription } from './useRepresentationsViewSubscription'; +import { GQLFormRefreshedEventPayload } from './useRepresentationsViewSubscription.types'; const useRepresentationsViewStyles = makeStyles()((theme) => ({ idle: { @@ -37,10 +40,14 @@ const useRepresentationsViewStyles = makeStyles()((theme) => ({ const isList = (widget: GQLWidget | undefined): widget is GQLList => widget && widget.__typename === 'List'; const isTree = (widget: GQLWidget | undefined): widget is GQLTree => widget && widget.__typename === 'TreeWidget'; +const isFormRefreshedEventPayload = ( + payload: GQLRepresentationsEventPayload +): payload is GQLFormRefreshedEventPayload => payload && payload.__typename === 'FormRefreshedEventPayload'; export const RepresentationsView = ({ editingContextId, readOnly }: WorkbenchViewComponentProps) => { const [state, setState] = useState({ currentSelection: { entries: [] }, + form: null, }); const { selection } = useSelection(); @@ -66,7 +73,13 @@ export const RepresentationsView = ({ editingContextId, readOnly }: WorkbenchVie const objectIds: string[] = state.currentSelection.entries.map((entry) => entry.id); const skip = objectIds.length === 0; - const { form, complete } = useRepresentationsViewSubscription(editingContextId, objectIds, skip); + + const { payload, complete } = useRepresentationsViewSubscription(editingContextId, objectIds, skip); + useEffect(() => { + if (isFormRefreshedEventPayload(payload)) { + setState((prevState) => ({ ...prevState, form: payload.form })); + } + }, [payload]); const { classes } = useRepresentationsViewStyles(); @@ -99,7 +112,7 @@ export const RepresentationsView = ({ editingContextId, readOnly }: WorkbenchVie } }; - if (!form || complete) { + if (!state.form || complete) { return (
No object selected @@ -107,11 +120,18 @@ export const RepresentationsView = ({ editingContextId, readOnly }: WorkbenchVie ); } return ( - +
+ + + +
); }; diff --git a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/RepresentationsView.types.ts b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/RepresentationsView.types.ts index 44fee3cab1..b8f5576353 100644 --- a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/RepresentationsView.types.ts +++ b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/RepresentationsView.types.ts @@ -12,7 +12,9 @@ *******************************************************************************/ import { Selection } from '@eclipse-sirius/sirius-components-core'; +import { GQLForm } from '@eclipse-sirius/sirius-components-forms'; export interface RepresentationsViewState { currentSelection: Selection; + form: GQLForm | null; } diff --git a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/useDetailsViewSubscription.tsx b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/useDetailsViewSubscription.tsx index f55a5a3c93..c4a4f93251 100644 --- a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/useDetailsViewSubscription.tsx +++ b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/useDetailsViewSubscription.tsx @@ -17,17 +17,12 @@ import { formRefreshedEventPayloadFragment } from '@eclipse-sirius/sirius-compon import { useEffect, useState } from 'react'; import { GQLDetailsEventInput, - GQLDetailsEventPayload, GQLDetailsEventSubscription, GQLDetailsEventVariables, - GQLFormRefreshedEventPayload, UseDetailsViewSubscriptionState, UseDetailsViewSubscriptionValue, } from './useDetailsViewSubscription.types'; -const isFormRefreshedEventPayload = (payload: GQLDetailsEventPayload): payload is GQLFormRefreshedEventPayload => - payload.__typename === 'FormRefreshedEventPayload'; - export const getDetailsViewEventSubscription = ` subscription detailsEvent($input: DetailsEventInput!) { detailsEvent(input: $input) { @@ -47,7 +42,6 @@ export const useDetailsViewSubscription = ( ): UseDetailsViewSubscriptionValue => { const [state, setState] = useState({ id: crypto.randomUUID(), - form: null, complete: false, payload: null, }); @@ -60,21 +54,12 @@ export const useDetailsViewSubscription = ( const variables: GQLDetailsEventVariables = { input }; - const onData = ({ data }: OnDataOptions) => { - const { data: gqlDetailsEventSubscription } = data; - if (gqlDetailsEventSubscription) { - const { detailsEvent: payload } = gqlDetailsEventSubscription; - setState((prevState) => ({ ...prevState, payload, complete: false })); - if (isFormRefreshedEventPayload(payload)) { - const { form } = payload; - setState((prevState) => ({ ...prevState, form, complete: false })); - } - } - }; - const onComplete = () => setState((prevState) => ({ ...prevState, complete: true })); - const { error, loading } = useSubscription( + const onData = ({}: OnDataOptions) => + setState((prevState) => ({ ...prevState, complete: false })); + + const { data, error, loading } = useSubscription( gql(getDetailsViewEventSubscription), { variables, @@ -94,8 +79,7 @@ export const useDetailsViewSubscription = ( return { loading, - form: state.form, - payload: state.payload, + payload: data?.detailsEvent ?? null, complete: state.complete, }; }; diff --git a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/useDetailsViewSubscription.types.ts b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/useDetailsViewSubscription.types.ts index 6a693c08c0..9540da5d36 100644 --- a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/useDetailsViewSubscription.types.ts +++ b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/useDetailsViewSubscription.types.ts @@ -15,14 +15,12 @@ import { GQLForm } from '@eclipse-sirius/sirius-components-forms'; export interface UseDetailsViewSubscriptionValue { loading: boolean; - form: GQLForm | null; payload: GQLDetailsEventPayload | null; complete: boolean; } export interface UseDetailsViewSubscriptionState { id: string; - form: GQLForm | null; complete: boolean; payload: GQLDetailsEventPayload | null; } diff --git a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/useRelatedElementsViewSubscription.tsx b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/useRelatedElementsViewSubscription.tsx index 80cdc83d1b..61079909bb 100644 --- a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/useRelatedElementsViewSubscription.tsx +++ b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/useRelatedElementsViewSubscription.tsx @@ -16,19 +16,13 @@ import { useMultiToast } from '@eclipse-sirius/sirius-components-core'; import { formRefreshedEventPayloadFragment } from '@eclipse-sirius/sirius-components-forms'; import { useEffect, useState } from 'react'; import { - GQLFormRefreshedEventPayload, GQLRelatedElementsEventInput, - GQLRelatedElementsEventPayload, GQLRelatedElementsEventSubscription, GQLRelatedElementsEventVariables, UseRelatedElementsViewSubscriptionState, UseRelatedElementsViewSubscriptionValue, } from './useRelatedElementsViewSubscription.types'; -const isFormRefreshedEventPayload = ( - payload: GQLRelatedElementsEventPayload -): payload is GQLFormRefreshedEventPayload => payload.__typename === 'FormRefreshedEventPayload'; - export const getRelatedElementsViewEventSubscription = ` subscription relatedElementsEvent($input: RelatedElementsEventInput!) { relatedElementsEvent(input: $input) { @@ -48,7 +42,6 @@ export const useRelatedElementsViewSubscription = ( ): UseRelatedElementsViewSubscriptionValue => { const [state, setState] = useState({ id: crypto.randomUUID(), - form: null, complete: false, }); @@ -60,29 +53,21 @@ export const useRelatedElementsViewSubscription = ( const variables: GQLRelatedElementsEventVariables = { input }; - const onData = ({ data }: OnDataOptions) => { - const { data: gqlRelatedElementsEventSubscription } = data; - if (gqlRelatedElementsEventSubscription) { - const { relatedElementsEvent: payload } = gqlRelatedElementsEventSubscription; - if (isFormRefreshedEventPayload(payload)) { - const { form } = payload; - setState((prevState) => ({ ...prevState, form, complete: false })); - } - } - }; - const onComplete = () => setState((prevState) => ({ ...prevState, complete: true })); - const { error, loading } = useSubscription( - gql(getRelatedElementsViewEventSubscription), - { - variables, - fetchPolicy: 'no-cache', - skip, - onData, - onComplete, - } - ); + const onData = ({}: OnDataOptions) => + setState((prevState) => ({ ...prevState, complete: false })); + + const { data, error, loading } = useSubscription< + GQLRelatedElementsEventSubscription, + GQLRelatedElementsEventVariables + >(gql(getRelatedElementsViewEventSubscription), { + variables, + fetchPolicy: 'no-cache', + skip, + onData, + onComplete, + }); const { addErrorMessage } = useMultiToast(); useEffect(() => { @@ -93,7 +78,7 @@ export const useRelatedElementsViewSubscription = ( return { loading, - form: state.form, + payload: data?.relatedElementsEvent ?? null, complete: state.complete, }; }; diff --git a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/useRelatedElementsViewSubscription.types.ts b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/useRelatedElementsViewSubscription.types.ts index b258ab6599..03f1be4f98 100644 --- a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/useRelatedElementsViewSubscription.types.ts +++ b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/useRelatedElementsViewSubscription.types.ts @@ -15,13 +15,12 @@ import { GQLForm } from '@eclipse-sirius/sirius-components-forms'; export interface UseRelatedElementsViewSubscriptionValue { loading: boolean; - form: GQLForm | null; + payload: GQLRelatedElementsEventPayload | null; complete: boolean; } export interface UseRelatedElementsViewSubscriptionState { id: string; - form: GQLForm | null; complete: boolean; } diff --git a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/useRepresentationsViewSubscription.tsx b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/useRepresentationsViewSubscription.tsx index 70cb1024fd..3b2f1bb727 100644 --- a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/useRepresentationsViewSubscription.tsx +++ b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/useRepresentationsViewSubscription.tsx @@ -16,19 +16,13 @@ import { useMultiToast } from '@eclipse-sirius/sirius-components-core'; import { formRefreshedEventPayloadFragment } from '@eclipse-sirius/sirius-components-forms'; import { useEffect, useState } from 'react'; import { - GQLFormRefreshedEventPayload, GQLRepresentationsEventInput, - GQLRepresentationsEventPayload, GQLRepresentationsEventSubscription, GQLRepresentationsEventVariables, UseRepresentationsViewSubscriptionState, UseRepresentationsViewSubscriptionValue, } from './useRepresentationsViewSubscription.types'; -const isFormRefreshedEventPayload = ( - payload: GQLRepresentationsEventPayload -): payload is GQLFormRefreshedEventPayload => payload.__typename === 'FormRefreshedEventPayload'; - export const getRepresentationsViewEventSubscription = ` subscription representationsEvent($input: RepresentationsEventInput!) { representationsEvent(input: $input) { @@ -48,7 +42,7 @@ export const useRepresentationsViewSubscription = ( ): UseRepresentationsViewSubscriptionValue => { const [state, setState] = useState({ id: crypto.randomUUID(), - form: null, + payload: null, complete: false, }); @@ -60,29 +54,21 @@ export const useRepresentationsViewSubscription = ( const variables: GQLRepresentationsEventVariables = { input }; - const onData = ({ data }: OnDataOptions) => { - const { data: gqlRepresentationsEventSubscription } = data; - if (gqlRepresentationsEventSubscription) { - const { representationsEvent: payload } = gqlRepresentationsEventSubscription; - if (isFormRefreshedEventPayload(payload)) { - const { form } = payload; - setState((prevState) => ({ ...prevState, form, complete: false })); - } - } - }; - const onComplete = () => setState((prevState) => ({ ...prevState, complete: true })); - const { error, loading } = useSubscription( - gql(getRepresentationsViewEventSubscription), - { - variables, - fetchPolicy: 'no-cache', - skip, - onData, - onComplete, - } - ); + const onData = ({}: OnDataOptions) => + setState((prevState) => ({ ...prevState, complete: false })); + + const { data, error, loading } = useSubscription< + GQLRepresentationsEventSubscription, + GQLRepresentationsEventVariables + >(gql(getRepresentationsViewEventSubscription), { + variables, + fetchPolicy: 'no-cache', + skip, + onData, + onComplete, + }); const { addErrorMessage } = useMultiToast(); useEffect(() => { @@ -93,7 +79,7 @@ export const useRepresentationsViewSubscription = ( return { loading, - form: state.form, + payload: data?.representationsEvent ?? null, complete: state.complete, }; }; diff --git a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/useRepresentationsViewSubscription.types.ts b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/useRepresentationsViewSubscription.types.ts index 43d3030523..c5d224e58b 100644 --- a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/useRepresentationsViewSubscription.types.ts +++ b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/workbench-views/useRepresentationsViewSubscription.types.ts @@ -15,13 +15,13 @@ import { GQLForm } from '@eclipse-sirius/sirius-components-forms'; export interface UseRepresentationsViewSubscriptionValue { loading: boolean; - form: GQLForm | null; + payload: GQLRepresentationsEventPayload | null; complete: boolean; } export interface UseRepresentationsViewSubscriptionState { id: string; - form: GQLForm | null; + payload: GQLRepresentationsEventPayload | null; complete: boolean; } diff --git a/packages/sirius-web/frontend/sirius-web-papaya/package.json b/packages/sirius-web/frontend/sirius-web-papaya/package.json index dab88f2d93..141161f020 100644 --- a/packages/sirius-web/frontend/sirius-web-papaya/package.json +++ b/packages/sirius-web/frontend/sirius-web-papaya/package.json @@ -1,6 +1,6 @@ { "name": "@eclipse-sirius/sirius-web-papaya", - "version": "2024.7.10", + "version": "2024.7.11", "author": "Eclipse Sirius", "license": "EPL-2.0", "repository": { diff --git a/packages/sirius-web/frontend/sirius-web/package.json b/packages/sirius-web/frontend/sirius-web/package.json index 4d2dbc2022..3eadc52601 100644 --- a/packages/sirius-web/frontend/sirius-web/package.json +++ b/packages/sirius-web/frontend/sirius-web/package.json @@ -1,7 +1,7 @@ { "name": "@eclipse-sirius/sirius-web", "author": "Eclipse Sirius", - "version": "2024.7.10", + "version": "2024.7.11", "license": "EPL-2.0", "repository": { "type": "git", diff --git a/packages/starters/backend/pom.xml b/packages/starters/backend/pom.xml index 7e42656e9e..6945e863bd 100644 --- a/packages/starters/backend/pom.xml +++ b/packages/starters/backend/pom.xml @@ -17,7 +17,7 @@ org.eclipse.sirius sirius-components-starter-parent - 2024.7.10 + 2024.7.11 sirius-components-starter-parent Sirius Components Starter Parent diff --git a/packages/starters/backend/sirius-components-flow-starter/pom.xml b/packages/starters/backend/sirius-components-flow-starter/pom.xml index f1843ea8f4..c7e1ab1d53 100644 --- a/packages/starters/backend/sirius-components-flow-starter/pom.xml +++ b/packages/starters/backend/sirius-components-flow-starter/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-flow-starter - 2024.7.10 + 2024.7.11 sirius-components-flow-starter Sirius Components Flow Starter @@ -55,7 +55,7 @@ org.eclipse.sirius sirius-web-application - 2024.7.10 + 2024.7.11 @@ -71,13 +71,13 @@ org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-spring-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/starters/backend/sirius-components-task-starter/pom.xml b/packages/starters/backend/sirius-components-task-starter/pom.xml index 7bf60e533a..6a33d7f611 100644 --- a/packages/starters/backend/sirius-components-task-starter/pom.xml +++ b/packages/starters/backend/sirius-components-task-starter/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-task-starter - 2024.7.10 + 2024.7.11 sirius-components-task-starter Sirius Components Task Starter @@ -59,18 +59,18 @@ org.eclipse.sirius sirius-web-application - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-task - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-task-edit - 2024.7.10 + 2024.7.11 org.eclipse.sirius @@ -80,7 +80,7 @@ org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/task/backend/pom.xml b/packages/task/backend/pom.xml index 3ad0235926..0a69bd39e7 100644 --- a/packages/task/backend/pom.xml +++ b/packages/task/backend/pom.xml @@ -17,7 +17,7 @@ org.eclipse.sirius sirius-components-task-parent - 2024.7.10 + 2024.7.11 sirius-components-task-parent Sirius Components Task Parent diff --git a/packages/task/backend/sirius-components-task-edit/pom.xml b/packages/task/backend/sirius-components-task-edit/pom.xml index f20c7f8336..af57562950 100644 --- a/packages/task/backend/sirius-components-task-edit/pom.xml +++ b/packages/task/backend/sirius-components-task-edit/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-task-edit - 2024.7.10 + 2024.7.11 sirius-components-task-edit Sirius Components Task - Edit Support @@ -53,7 +53,7 @@ org.eclipse.sirius sirius-components-task - 2024.7.10 + 2024.7.11 diff --git a/packages/task/backend/sirius-components-task/pom.xml b/packages/task/backend/sirius-components-task/pom.xml index 841170c0cc..da8cf63d50 100644 --- a/packages/task/backend/sirius-components-task/pom.xml +++ b/packages/task/backend/sirius-components-task/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-task - 2024.7.10 + 2024.7.11 sirius-components-task Sirius Components Task Meta-model diff --git a/packages/tests/backend/pom.xml b/packages/tests/backend/pom.xml index 3e908fde18..b63d1b03d1 100644 --- a/packages/tests/backend/pom.xml +++ b/packages/tests/backend/pom.xml @@ -17,7 +17,7 @@ org.eclipse.sirius sirius-components-tests-parent - 2024.7.10 + 2024.7.11 sirius-components-tests-parent Sirius Components Tests Parent diff --git a/packages/tests/backend/sirius-components-graphql-tests/pom.xml b/packages/tests/backend/sirius-components-graphql-tests/pom.xml index 91e44595aa..3e50c35838 100644 --- a/packages/tests/backend/sirius-components-graphql-tests/pom.xml +++ b/packages/tests/backend/sirius-components-graphql-tests/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-graphql-tests - 2024.7.10 + 2024.7.11 sirius-components-graphql-tests Sirius Components GraphQL Tests @@ -64,17 +64,17 @@ org.eclipse.sirius sirius-components-core - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-graphql-api - 2024.7.10 + 2024.7.11 diff --git a/packages/tests/backend/sirius-components-spring-tests/pom.xml b/packages/tests/backend/sirius-components-spring-tests/pom.xml index ef0c643b0d..518b80a278 100644 --- a/packages/tests/backend/sirius-components-spring-tests/pom.xml +++ b/packages/tests/backend/sirius-components-spring-tests/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-spring-tests - 2024.7.10 + 2024.7.11 sirius-components-spring-tests Sirius Components Spring Tests @@ -47,7 +47,7 @@ org.eclipse.sirius sirius-components-annotations - 2024.7.10 + 2024.7.11 org.springframework diff --git a/packages/tests/backend/sirius-components-tests/pom.xml b/packages/tests/backend/sirius-components-tests/pom.xml index 88ed248646..82ba8d61db 100644 --- a/packages/tests/backend/sirius-components-tests/pom.xml +++ b/packages/tests/backend/sirius-components-tests/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 sirius-components-tests Sirius Components Tests @@ -52,7 +52,7 @@ org.eclipse.sirius sirius-components-annotations - 2024.7.10 + 2024.7.11 diff --git a/packages/tools/backend/pom.xml b/packages/tools/backend/pom.xml index ae5711b33d..3e231fdb17 100644 --- a/packages/tools/backend/pom.xml +++ b/packages/tools/backend/pom.xml @@ -17,7 +17,7 @@ org.eclipse.sirius sirius-components-tools-parent - 2024.7.10 + 2024.7.11 sirius-components-tools-parent Sirius Components Tools Parent diff --git a/packages/tools/backend/sirius-components-graphiql/pom.xml b/packages/tools/backend/sirius-components-graphiql/pom.xml index 8c48b068df..6fe0d1eaa8 100644 --- a/packages/tools/backend/sirius-components-graphiql/pom.xml +++ b/packages/tools/backend/sirius-components-graphiql/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-graphiql - 2024.7.10 + 2024.7.11 sirius-components-graphiql Sirius Components Graphiql support. This project contribute a GraphQL query tool on the /graphiql/index.html URI. diff --git a/packages/tools/backend/sirius-components-graphql-voyager/pom.xml b/packages/tools/backend/sirius-components-graphql-voyager/pom.xml index 2366805351..0040f7acf4 100644 --- a/packages/tools/backend/sirius-components-graphql-voyager/pom.xml +++ b/packages/tools/backend/sirius-components-graphql-voyager/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-graphql-voyager - 2024.7.10 + 2024.7.11 sirius-components-graphql-voyager Sirius Components Graph Voyager. This project contribute a GraphQL API UX thanks to the https://github.com/APIs-guru/graphql-voyager project. diff --git a/packages/tools/frontend/sirius-components-specification-layout/package.json b/packages/tools/frontend/sirius-components-specification-layout/package.json index eeaaab58a2..e8660a5583 100644 --- a/packages/tools/frontend/sirius-components-specification-layout/package.json +++ b/packages/tools/frontend/sirius-components-specification-layout/package.json @@ -1,6 +1,6 @@ { "name": "@eclipse-sirius/sirius-components-specification-layout", - "version": "2024.7.10", + "version": "2024.7.11", "author": "Eclipse Sirius", "license": "EPL-2.0", "repository": { diff --git a/packages/trees/backend/pom.xml b/packages/trees/backend/pom.xml index bc6a4665d1..eb164e0b8b 100644 --- a/packages/trees/backend/pom.xml +++ b/packages/trees/backend/pom.xml @@ -17,7 +17,7 @@ org.eclipse.sirius sirius-components-trees-parent - 2024.7.10 + 2024.7.11 sirius-components-trees-parent Sirius Components Trees Parent diff --git a/packages/trees/backend/sirius-components-collaborative-trees/pom.xml b/packages/trees/backend/sirius-components-collaborative-trees/pom.xml index 849ec9c2da..56ddbda1da 100644 --- a/packages/trees/backend/sirius-components-collaborative-trees/pom.xml +++ b/packages/trees/backend/sirius-components-collaborative-trees/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-collaborative-trees - 2024.7.10 + 2024.7.11 sirius-components-collaborative-trees Sirius Components Collaborative Trees @@ -43,12 +43,12 @@ org.eclipse.sirius sirius-components-collaborative - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-trees - 2024.7.10 + 2024.7.11 org.springframework @@ -65,13 +65,13 @@ org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-spring-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/trees/backend/sirius-components-trees-graphql/pom.xml b/packages/trees/backend/sirius-components-trees-graphql/pom.xml index 38323d52bf..84a0d85746 100644 --- a/packages/trees/backend/sirius-components-trees-graphql/pom.xml +++ b/packages/trees/backend/sirius-components-trees-graphql/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-trees-graphql - 2024.7.10 + 2024.7.11 sirius-components-trees-graphql Sirius Components Trees GraphQL @@ -47,17 +47,17 @@ org.eclipse.sirius sirius-components-graphql-api - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-trees - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/trees/backend/sirius-components-trees-tests/pom.xml b/packages/trees/backend/sirius-components-trees-tests/pom.xml index 8c2eaa6ee3..41a9ab588a 100644 --- a/packages/trees/backend/sirius-components-trees-tests/pom.xml +++ b/packages/trees/backend/sirius-components-trees-tests/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-trees-tests - 2024.7.10 + 2024.7.11 sirius-components-trees-tests Sirius Components Trees Tests @@ -43,12 +43,12 @@ org.eclipse.sirius sirius-components-graphql-tests - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-trees - 2024.7.10 + 2024.7.11 diff --git a/packages/trees/backend/sirius-components-trees/pom.xml b/packages/trees/backend/sirius-components-trees/pom.xml index 4058e7a6bc..522d48e45b 100644 --- a/packages/trees/backend/sirius-components-trees/pom.xml +++ b/packages/trees/backend/sirius-components-trees/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-trees - 2024.7.10 + 2024.7.11 sirius-components-trees Sirius Components Trees @@ -43,12 +43,12 @@ org.eclipse.sirius sirius-components-core - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/trees/frontend/sirius-components-trees/package.json b/packages/trees/frontend/sirius-components-trees/package.json index 892b6fc524..729e4ccbd8 100644 --- a/packages/trees/frontend/sirius-components-trees/package.json +++ b/packages/trees/frontend/sirius-components-trees/package.json @@ -1,6 +1,6 @@ { "name": "@eclipse-sirius/sirius-components-trees", - "version": "2024.7.10", + "version": "2024.7.11", "author": "Eclipse Sirius", "license": "EPL-2.0", "repository": { diff --git a/packages/validation/backend/pom.xml b/packages/validation/backend/pom.xml index f48369097e..45d3ff5336 100644 --- a/packages/validation/backend/pom.xml +++ b/packages/validation/backend/pom.xml @@ -17,7 +17,7 @@ org.eclipse.sirius sirius-components-validation-parent - 2024.7.10 + 2024.7.11 sirius-components-validation-parent Sirius Components Validation Parent diff --git a/packages/validation/backend/sirius-components-collaborative-validation/pom.xml b/packages/validation/backend/sirius-components-collaborative-validation/pom.xml index 95bb27250b..dd1cdac883 100644 --- a/packages/validation/backend/sirius-components-collaborative-validation/pom.xml +++ b/packages/validation/backend/sirius-components-collaborative-validation/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-collaborative-validation - 2024.7.10 + 2024.7.11 sirius-components-collaborative-validation Sirius Components Collaborative Validation @@ -47,12 +47,12 @@ org.eclipse.sirius sirius-components-collaborative - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-validation - 2024.7.10 + 2024.7.11 org.springframework.boot @@ -62,13 +62,13 @@ org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-spring-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/validation/backend/sirius-components-validation-graphql/pom.xml b/packages/validation/backend/sirius-components-validation-graphql/pom.xml index 481eb4f1de..6f89fd3c12 100644 --- a/packages/validation/backend/sirius-components-validation-graphql/pom.xml +++ b/packages/validation/backend/sirius-components-validation-graphql/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-validation-graphql - 2024.7.10 + 2024.7.11 sirius-components-validation-graphql Sirius Components Validation GraphQL @@ -47,17 +47,17 @@ org.eclipse.sirius sirius-components-graphql-api - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-validation - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/validation/backend/sirius-components-validation/pom.xml b/packages/validation/backend/sirius-components-validation/pom.xml index 84ca56f32a..216ee5f0c8 100644 --- a/packages/validation/backend/sirius-components-validation/pom.xml +++ b/packages/validation/backend/sirius-components-validation/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-validation - 2024.7.10 + 2024.7.11 sirius-components-validation Sirius Components Validation @@ -48,12 +48,12 @@ org.eclipse.sirius sirius-components-representations - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/validation/frontend/sirius-components-validation/package.json b/packages/validation/frontend/sirius-components-validation/package.json index 4ea58e8822..9594cdd4e4 100644 --- a/packages/validation/frontend/sirius-components-validation/package.json +++ b/packages/validation/frontend/sirius-components-validation/package.json @@ -1,6 +1,6 @@ { "name": "@eclipse-sirius/sirius-components-validation", - "version": "2024.7.10", + "version": "2024.7.11", "author": "Eclipse Sirius", "license": "EPL-2.0", "repository": { diff --git a/packages/view/backend/pom.xml b/packages/view/backend/pom.xml index 10beab4d7b..717f568bc0 100644 --- a/packages/view/backend/pom.xml +++ b/packages/view/backend/pom.xml @@ -17,7 +17,7 @@ org.eclipse.sirius sirius-components-view-parent - 2024.7.10 + 2024.7.11 sirius-components-view-parent Sirius Components View Parent diff --git a/packages/view/backend/sirius-components-view-builder/pom.xml b/packages/view/backend/sirius-components-view-builder/pom.xml index 6d4ecbcb12..f6ac3d6bf9 100644 --- a/packages/view/backend/sirius-components-view-builder/pom.xml +++ b/packages/view/backend/sirius-components-view-builder/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-view-builder - 2024.7.10 + 2024.7.11 sirius-components-view-builder Sirius View Builder @@ -68,37 +68,37 @@ org.eclipse.sirius sirius-components-view-diagram - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-diagram-customnodes - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-form - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-gantt - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-deck - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-widget-reference-view - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/view/backend/sirius-components-view-deck-edit/pom.xml b/packages/view/backend/sirius-components-view-deck-edit/pom.xml index 882bec5915..5a72fcdaa0 100644 --- a/packages/view/backend/sirius-components-view-deck-edit/pom.xml +++ b/packages/view/backend/sirius-components-view-deck-edit/pom.xml @@ -10,7 +10,7 @@ org.eclipse.sirius sirius-components-view-deck-edit - 2024.7.10 + 2024.7.11 sirius-components-view-deck-edit Sirius Components Deck View Definition DSL - Edit Support @@ -35,17 +35,17 @@ org.eclipse.sirius sirius-components-view-edit - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-deck - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-emf - 2024.7.10 + 2024.7.11 diff --git a/packages/view/backend/sirius-components-view-deck/pom.xml b/packages/view/backend/sirius-components-view-deck/pom.xml index 474883eab7..eb671d56dd 100644 --- a/packages/view/backend/sirius-components-view-deck/pom.xml +++ b/packages/view/backend/sirius-components-view-deck/pom.xml @@ -10,7 +10,7 @@ org.eclipse.sirius sirius-components-view-deck - 2024.7.10 + 2024.7.11 sirius-components-view-deck Sirius Components Deck View Definition DSL @@ -40,7 +40,7 @@ org.eclipse.sirius sirius-components-view - 2024.7.10 + 2024.7.11 diff --git a/packages/view/backend/sirius-components-view-diagram-customnodes-edit/pom.xml b/packages/view/backend/sirius-components-view-diagram-customnodes-edit/pom.xml index 1e03272f4c..f0a98a8c0f 100644 --- a/packages/view/backend/sirius-components-view-diagram-customnodes-edit/pom.xml +++ b/packages/view/backend/sirius-components-view-diagram-customnodes-edit/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-view-diagram-customnodes-edit - 2024.7.10 + 2024.7.11 sirius-components-view-diagram-customnodes-edit Support for additional custom nodes - edit support @@ -69,12 +69,12 @@ org.eclipse.sirius sirius-components-view-diagram-customnodes - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-diagram-edit - 2024.7.10 + 2024.7.11 diff --git a/packages/view/backend/sirius-components-view-diagram-customnodes/pom.xml b/packages/view/backend/sirius-components-view-diagram-customnodes/pom.xml index 1df7b7cd23..d6b598922c 100644 --- a/packages/view/backend/sirius-components-view-diagram-customnodes/pom.xml +++ b/packages/view/backend/sirius-components-view-diagram-customnodes/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-view-diagram-customnodes - 2024.7.10 + 2024.7.11 sirius-components-view-diagram-customnodes Support for additional custom nodes @@ -64,7 +64,7 @@ org.eclipse.sirius sirius-components-view-diagram - 2024.7.10 + 2024.7.11 diff --git a/packages/view/backend/sirius-components-view-diagram-edit/pom.xml b/packages/view/backend/sirius-components-view-diagram-edit/pom.xml index 5146ba3e82..ddde47ebc0 100644 --- a/packages/view/backend/sirius-components-view-diagram-edit/pom.xml +++ b/packages/view/backend/sirius-components-view-diagram-edit/pom.xml @@ -10,7 +10,7 @@ org.eclipse.sirius sirius-components-view-diagram-edit - 2024.7.10 + 2024.7.11 sirius-components-view-diagram-edit Sirius Components Diagram View Definition DSL - Edit Support @@ -49,12 +49,12 @@ org.eclipse.sirius sirius-components-view-diagram - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-edit - 2024.7.10 + 2024.7.11 diff --git a/packages/view/backend/sirius-components-view-diagram/pom.xml b/packages/view/backend/sirius-components-view-diagram/pom.xml index 07be03b493..b80636e6f1 100644 --- a/packages/view/backend/sirius-components-view-diagram/pom.xml +++ b/packages/view/backend/sirius-components-view-diagram/pom.xml @@ -10,7 +10,7 @@ org.eclipse.sirius sirius-components-view-diagram - 2024.7.10 + 2024.7.11 sirius-components-view-diagram Sirius Components Diagram View Definition DSL @@ -49,7 +49,7 @@ org.eclipse.sirius sirius-components-view - 2024.7.10 + 2024.7.11 diff --git a/packages/view/backend/sirius-components-view-edit/pom.xml b/packages/view/backend/sirius-components-view-edit/pom.xml index 97eccd18b5..08099cc3f8 100644 --- a/packages/view/backend/sirius-components-view-edit/pom.xml +++ b/packages/view/backend/sirius-components-view-edit/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-view-edit - 2024.7.10 + 2024.7.11 sirius-components-view-edit Sirius Components View Definition DSL - Edit Support @@ -64,7 +64,7 @@ org.eclipse.sirius sirius-components-view - 2024.7.10 + 2024.7.11 diff --git a/packages/view/backend/sirius-components-view-emf-widget-reference/pom.xml b/packages/view/backend/sirius-components-view-emf-widget-reference/pom.xml index 219a2d3273..ae7eb19658 100644 --- a/packages/view/backend/sirius-components-view-emf-widget-reference/pom.xml +++ b/packages/view/backend/sirius-components-view-emf-widget-reference/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-view-emf-widget-reference - 2024.7.10 + 2024.7.11 sirius-components-view-emf-widget-reference Sirius Components View EMF Widget Reference @@ -43,17 +43,17 @@ org.eclipse.sirius sirius-components-view-emf - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-widget-reference-view - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-widget-reference-view-edit - 2024.7.10 + 2024.7.11 org.springframework.boot @@ -63,13 +63,13 @@ org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-spring-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/view/backend/sirius-components-view-emf/pom.xml b/packages/view/backend/sirius-components-view-emf/pom.xml index aba71c6efa..a8b6831a09 100644 --- a/packages/view/backend/sirius-components-view-emf/pom.xml +++ b/packages/view/backend/sirius-components-view-emf/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-view-emf - 2024.7.10 + 2024.7.11 sirius-components-view-emf Sirius Components View EMF @@ -63,27 +63,27 @@ org.eclipse.sirius sirius-components-emf - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-domain - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-diagrams - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-forms - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-collaborative-selection - 2024.7.10 + 2024.7.11 org.eclipse.sirius @@ -93,37 +93,37 @@ org.eclipse.sirius sirius-components-view-diagram - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-form - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-gantt - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-deck - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-emf-forms - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-diagrams - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-deck - 2024.7.10 + 2024.7.11 org.springframework.boot @@ -133,19 +133,19 @@ org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-diagrams-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-spring-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/view/backend/sirius-components-view-form-edit/pom.xml b/packages/view/backend/sirius-components-view-form-edit/pom.xml index f267d8fe54..6cfd855107 100644 --- a/packages/view/backend/sirius-components-view-form-edit/pom.xml +++ b/packages/view/backend/sirius-components-view-form-edit/pom.xml @@ -10,7 +10,7 @@ org.eclipse.sirius sirius-components-view-form-edit - 2024.7.10 + 2024.7.11 sirius-components-view-form-edit Sirius Components Form View Definition DSL - Edit Support @@ -49,12 +49,12 @@ org.eclipse.sirius sirius-components-view-form - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-edit - 2024.7.10 + 2024.7.11 diff --git a/packages/view/backend/sirius-components-view-form/pom.xml b/packages/view/backend/sirius-components-view-form/pom.xml index 8f6e3165ae..4bc6e0d0a9 100644 --- a/packages/view/backend/sirius-components-view-form/pom.xml +++ b/packages/view/backend/sirius-components-view-form/pom.xml @@ -10,7 +10,7 @@ org.eclipse.sirius sirius-components-view-form - 2024.7.10 + 2024.7.11 sirius-components-view-form Sirius Components Form View Definition DSL @@ -51,7 +51,7 @@ org.eclipse.sirius sirius-components-view - 2024.7.10 + 2024.7.11 diff --git a/packages/view/backend/sirius-components-view-gantt-edit/pom.xml b/packages/view/backend/sirius-components-view-gantt-edit/pom.xml index 8b1b5c2cd2..6d2dcc9f19 100644 --- a/packages/view/backend/sirius-components-view-gantt-edit/pom.xml +++ b/packages/view/backend/sirius-components-view-gantt-edit/pom.xml @@ -10,7 +10,7 @@ org.eclipse.sirius sirius-components-view-gantt-edit - 2024.7.10 + 2024.7.11 sirius-components-view-gantt-edit Sirius Components Gantt View Definition DSL - Edit Support @@ -49,12 +49,12 @@ org.eclipse.sirius sirius-components-view-gantt - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-edit - 2024.7.10 + 2024.7.11 diff --git a/packages/view/backend/sirius-components-view-gantt/pom.xml b/packages/view/backend/sirius-components-view-gantt/pom.xml index 2295a0a0b5..a5ac20c0ba 100644 --- a/packages/view/backend/sirius-components-view-gantt/pom.xml +++ b/packages/view/backend/sirius-components-view-gantt/pom.xml @@ -10,7 +10,7 @@ org.eclipse.sirius sirius-components-view-gantt - 2024.7.10 + 2024.7.11 sirius-components-view-gantt Sirius Components Gantt View Definition DSL @@ -49,12 +49,12 @@ org.eclipse.sirius sirius-components-view - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-gantt - 2024.7.10 + 2024.7.11 diff --git a/packages/view/backend/sirius-components-view/pom.xml b/packages/view/backend/sirius-components-view/pom.xml index 190acf7633..3b0feb5df6 100644 --- a/packages/view/backend/sirius-components-view/pom.xml +++ b/packages/view/backend/sirius-components-view/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-view - 2024.7.10 + 2024.7.11 sirius-components-view Sirius Components View Definition DSL diff --git a/packages/view/backend/sirius-components-widget-reference-view-edit/pom.xml b/packages/view/backend/sirius-components-widget-reference-view-edit/pom.xml index 42237f60b0..e623340a5d 100644 --- a/packages/view/backend/sirius-components-widget-reference-view-edit/pom.xml +++ b/packages/view/backend/sirius-components-widget-reference-view-edit/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-widget-reference-view-edit - 2024.7.10 + 2024.7.11 sirius-components-widget-reference-view-edit View support for the reference custom widget :: edit support @@ -69,17 +69,17 @@ org.eclipse.sirius sirius-components-view-form - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-view-form-edit - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-widget-reference-view - 2024.7.10 + 2024.7.11 diff --git a/packages/view/backend/sirius-components-widget-reference-view/pom.xml b/packages/view/backend/sirius-components-widget-reference-view/pom.xml index 23feec7f80..1f6c669a47 100644 --- a/packages/view/backend/sirius-components-widget-reference-view/pom.xml +++ b/packages/view/backend/sirius-components-widget-reference-view/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-widget-reference-view - 2024.7.10 + 2024.7.11 sirius-components-widget-reference-view View support for the reference custom widget @@ -64,7 +64,7 @@ org.eclipse.sirius sirius-components-view-form - 2024.7.10 + 2024.7.11 diff --git a/packages/web/backend/pom.xml b/packages/web/backend/pom.xml index 6fea309215..fd9f7a34d5 100644 --- a/packages/web/backend/pom.xml +++ b/packages/web/backend/pom.xml @@ -17,7 +17,7 @@ org.eclipse.sirius sirius-components-web-parent - 2024.7.10 + 2024.7.11 sirius-components-web-parent Sirius Components Web Parent diff --git a/packages/web/backend/sirius-components-graphql/pom.xml b/packages/web/backend/sirius-components-graphql/pom.xml index 8ea3af0514..b7da975511 100644 --- a/packages/web/backend/sirius-components-graphql/pom.xml +++ b/packages/web/backend/sirius-components-graphql/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-graphql - 2024.7.10 + 2024.7.11 sirius-components-graphql Sirius Components GraphQL @@ -59,18 +59,18 @@ org.eclipse.sirius sirius-components-graphql-api - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-spring-tests - 2024.7.10 + 2024.7.11 test diff --git a/packages/web/backend/sirius-components-web/pom.xml b/packages/web/backend/sirius-components-web/pom.xml index 853f95c7ee..fbb9fefc6d 100644 --- a/packages/web/backend/sirius-components-web/pom.xml +++ b/packages/web/backend/sirius-components-web/pom.xml @@ -23,7 +23,7 @@ org.eclipse.sirius sirius-components-web - 2024.7.10 + 2024.7.11 sirius-components-web Sirius Components Web @@ -60,18 +60,18 @@ org.eclipse.sirius sirius-components-core - 2024.7.10 + 2024.7.11 org.eclipse.sirius sirius-components-tests - 2024.7.10 + 2024.7.11 test org.eclipse.sirius sirius-components-spring-tests - 2024.7.10 + 2024.7.11 test diff --git a/vscode-extension/package.json b/vscode-extension/package.json index 59f5e05151..765c7dc231 100644 --- a/vscode-extension/package.json +++ b/vscode-extension/package.json @@ -4,7 +4,7 @@ "description": "Sirius Web extension for VSCode", "publisher": "eclipse-sirius", "license": "EPL-2.0", - "version": "2024.7.10", + "version": "2024.7.11", "homepage": "https://www.eclipse.dev/sirius/sirius-web.html", "repository": { "type": "git",