@eclipse-papyrus/papyrus-web-parent 2026.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (340) hide show
  1. package/.prettierrc +22 -0
  2. package/.project +11 -0
  3. package/.turbo/cache/2e7de991e3eb5b77-meta.json +1 -0
  4. package/.turbo/cache/2e7de991e3eb5b77.tar.zst +0 -0
  5. package/.turbo/cache/6d4efa6c3019818e-meta.json +1 -0
  6. package/.turbo/cache/6d4efa6c3019818e.tar.zst +0 -0
  7. package/.turbo/cache/904b84e8ab6fefb1-meta.json +1 -0
  8. package/.turbo/cache/904b84e8ab6fefb1.tar.zst +0 -0
  9. package/.turbo/cache/b657accc57a869a6-meta.json +1 -0
  10. package/.turbo/cache/b657accc57a869a6.tar.zst +0 -0
  11. package/.turbo/cookies/1.cookie +0 -0
  12. package/.turbo/cookies/2.cookie +0 -0
  13. package/.turbo/cookies/3.cookie +0 -0
  14. package/.turbo/cookies/4.cookie +0 -0
  15. package/.turbo/cookies/5.cookie +0 -0
  16. package/.turbo/cookies/6.cookie +0 -0
  17. package/.turbo/cookies/7.cookie +0 -0
  18. package/.turbo/cookies/8.cookie +0 -0
  19. package/.turbo/daemon/8a1f25190e5082e3-turbo.log.2026-04-01 +0 -0
  20. package/package.json +32 -0
  21. package/papyrus-web/.env.development +2 -0
  22. package/papyrus-web/.prettierrc +22 -0
  23. package/papyrus-web/.turbo/turbo-build.log +30 -0
  24. package/papyrus-web/.turbo/turbo-format-lint.log +6 -0
  25. package/papyrus-web/README.adoc +84 -0
  26. package/papyrus-web/dist/assets/Lato-Black-B_kLSaRn.ttf +0 -0
  27. package/papyrus-web/dist/assets/Lato-BlackItalic-B2JUbIh8.ttf +0 -0
  28. package/papyrus-web/dist/assets/Lato-Bold-DBmunEOG.ttf +0 -0
  29. package/papyrus-web/dist/assets/Lato-BoldItalic-DfTVlc2v.ttf +0 -0
  30. package/papyrus-web/dist/assets/Lato-Italic-CxPt6gM6.ttf +0 -0
  31. package/papyrus-web/dist/assets/Lato-Light-Cg7pVZQZ.ttf +0 -0
  32. package/papyrus-web/dist/assets/Lato-LightItalic-BkbZ6uep.ttf +0 -0
  33. package/papyrus-web/dist/assets/Lato-Regular-57KsL5Ww.ttf +0 -0
  34. package/papyrus-web/dist/assets/Lato-Thin-CvSM47fD.ttf +0 -0
  35. package/papyrus-web/dist/assets/Lato-ThinItalic-9M4CJfMt.ttf +0 -0
  36. package/papyrus-web/dist/assets/browser-ponyfill-CVpHIrSq.js +2 -0
  37. package/papyrus-web/dist/assets/index-CjSWMYED.js +6122 -0
  38. package/papyrus-web/dist/assets/index-DJjGIuFa.css +1 -0
  39. package/papyrus-web/dist/assets/papyrus-icon-DqmMeq_6.png +0 -0
  40. package/papyrus-web/dist/favicon.ico +0 -0
  41. package/papyrus-web/dist/index.html +42 -0
  42. package/papyrus-web/dist/manifest.json +15 -0
  43. package/papyrus-web/dist/papyrus.ico +0 -0
  44. package/papyrus-web/index.html +41 -0
  45. package/papyrus-web/package.json +104 -0
  46. package/papyrus-web/public/favicon.ico +0 -0
  47. package/papyrus-web/public/manifest.json +15 -0
  48. package/papyrus-web/public/papyrus.ico +0 -0
  49. package/papyrus-web/src/ReactFlow.css +17 -0
  50. package/papyrus-web/src/core/PapyrusIcon.tsx +17 -0
  51. package/papyrus-web/src/core/PapyrusNavigationBarIcon.tsx +46 -0
  52. package/papyrus-web/src/core/URL.ts +34 -0
  53. package/papyrus-web/src/extensions/ExtensionRegistryMergeStrategy.ts +50 -0
  54. package/papyrus-web/src/fonts/Lato/Lato-Black.ttf +0 -0
  55. package/papyrus-web/src/fonts/Lato/Lato-BlackItalic.ttf +0 -0
  56. package/papyrus-web/src/fonts/Lato/Lato-Bold.ttf +0 -0
  57. package/papyrus-web/src/fonts/Lato/Lato-BoldItalic.ttf +0 -0
  58. package/papyrus-web/src/fonts/Lato/Lato-Italic.ttf +0 -0
  59. package/papyrus-web/src/fonts/Lato/Lato-Light.ttf +0 -0
  60. package/papyrus-web/src/fonts/Lato/Lato-LightItalic.ttf +0 -0
  61. package/papyrus-web/src/fonts/Lato/Lato-Regular.ttf +0 -0
  62. package/papyrus-web/src/fonts/Lato/Lato-Thin.ttf +0 -0
  63. package/papyrus-web/src/fonts/Lato/Lato-ThinItalic.ttf +0 -0
  64. package/papyrus-web/src/fonts/Lato/OFL.txt +93 -0
  65. package/papyrus-web/src/fonts.css +81 -0
  66. package/papyrus-web/src/footer/Footer.tsx +50 -0
  67. package/papyrus-web/src/icons/papyrus-icon.png +0 -0
  68. package/papyrus-web/src/index.tsx +325 -0
  69. package/papyrus-web/src/portals.css +16 -0
  70. package/papyrus-web/src/react-app-env.d.ts +1 -0
  71. package/papyrus-web/src/reset.css +218 -0
  72. package/papyrus-web/src/variables.css +111 -0
  73. package/papyrus-web/src/vite-env.d.ts +1 -0
  74. package/papyrus-web/tsconfig.json +34 -0
  75. package/papyrus-web/vite.config.js +24 -0
  76. package/papyrus-web-components/.prettierrc +22 -0
  77. package/papyrus-web-components/.turbo/turbo-build.log +77 -0
  78. package/papyrus-web-components/.turbo/turbo-format-lint.log +6 -0
  79. package/papyrus-web-components/README.adoc +13 -0
  80. package/papyrus-web-components/dist/diagram-tools/EditProjectView.types.d.ts +48 -0
  81. package/papyrus-web-components/dist/diagram-tools/EditProjectView.types.d.ts.map +1 -0
  82. package/papyrus-web-components/dist/diagram-tools/FilterableSortableList.d.ts +3 -0
  83. package/papyrus-web-components/dist/diagram-tools/FilterableSortableList.d.ts.map +1 -0
  84. package/papyrus-web-components/dist/diagram-tools/FilterableSortableList.types.d.ts +33 -0
  85. package/papyrus-web-components/dist/diagram-tools/FilterableSortableList.types.d.ts.map +1 -0
  86. package/papyrus-web-components/dist/diagram-tools/ModelBrowserFilterBar.d.ts +15 -0
  87. package/papyrus-web-components/dist/diagram-tools/ModelBrowserFilterBar.d.ts.map +1 -0
  88. package/papyrus-web-components/dist/diagram-tools/ModelBrowserFilterBar.types.d.ts +20 -0
  89. package/papyrus-web-components/dist/diagram-tools/ModelBrowserFilterBar.types.d.ts.map +1 -0
  90. package/papyrus-web-components/dist/diagram-tools/PapyrusPopupToolContribution.d.ts +3 -0
  91. package/papyrus-web-components/dist/diagram-tools/PapyrusPopupToolContribution.d.ts.map +1 -0
  92. package/papyrus-web-components/dist/diagram-tools/PapyrusPopupToolContribution.types.d.ts +53 -0
  93. package/papyrus-web-components/dist/diagram-tools/PapyrusPopupToolContribution.types.d.ts.map +1 -0
  94. package/papyrus-web-components/dist/diagram-tools/TransferModal.d.ts +3 -0
  95. package/papyrus-web-components/dist/diagram-tools/TransferModal.d.ts.map +1 -0
  96. package/papyrus-web-components/dist/diagram-tools/TransferModal.types.d.ts +32 -0
  97. package/papyrus-web-components/dist/diagram-tools/TransferModal.types.d.ts.map +1 -0
  98. package/papyrus-web-components/dist/index.d.ts +61 -0
  99. package/papyrus-web-components/dist/index.d.ts.map +1 -0
  100. package/papyrus-web-components/dist/nodes/NodesDocumentTransform.d.ts +15 -0
  101. package/papyrus-web-components/dist/nodes/NodesDocumentTransform.d.ts.map +1 -0
  102. package/papyrus-web-components/dist/nodes/cuboid/CuboidNode.d.ts +18 -0
  103. package/papyrus-web-components/dist/nodes/cuboid/CuboidNode.d.ts.map +1 -0
  104. package/papyrus-web-components/dist/nodes/cuboid/CuboidNode.types.d.ts +29 -0
  105. package/papyrus-web-components/dist/nodes/cuboid/CuboidNode.types.d.ts.map +1 -0
  106. package/papyrus-web-components/dist/nodes/cuboid/CuboidNodeConverter.d.ts +21 -0
  107. package/papyrus-web-components/dist/nodes/cuboid/CuboidNodeConverter.d.ts.map +1 -0
  108. package/papyrus-web-components/dist/nodes/cuboid/CuboidNodeLayoutHandler.d.ts +23 -0
  109. package/papyrus-web-components/dist/nodes/cuboid/CuboidNodeLayoutHandler.d.ts.map +1 -0
  110. package/papyrus-web-components/dist/nodes/cuboid/CuboidNodeListConverter.d.ts +21 -0
  111. package/papyrus-web-components/dist/nodes/cuboid/CuboidNodeListConverter.d.ts.map +1 -0
  112. package/papyrus-web-components/dist/nodes/cuboid/CuboidNodeListLayoutHandler.d.ts +23 -0
  113. package/papyrus-web-components/dist/nodes/cuboid/CuboidNodeListLayoutHandler.d.ts.map +1 -0
  114. package/papyrus-web-components/dist/nodes/customImage/CustomImageNode.d.ts +3 -0
  115. package/papyrus-web-components/dist/nodes/customImage/CustomImageNode.d.ts.map +1 -0
  116. package/papyrus-web-components/dist/nodes/customImage/CustomImageNode.types.d.ts +34 -0
  117. package/papyrus-web-components/dist/nodes/customImage/CustomImageNode.types.d.ts.map +1 -0
  118. package/papyrus-web-components/dist/nodes/customImage/CustomImageNodeConverter.d.ts +22 -0
  119. package/papyrus-web-components/dist/nodes/customImage/CustomImageNodeConverter.d.ts.map +1 -0
  120. package/papyrus-web-components/dist/nodes/customImage/CustomImageNodeLayoutHandler.d.ts +23 -0
  121. package/papyrus-web-components/dist/nodes/customImage/CustomImageNodeLayoutHandler.d.ts.map +1 -0
  122. package/papyrus-web-components/dist/nodes/ellipse/EllipseNode.d.ts +15 -0
  123. package/papyrus-web-components/dist/nodes/ellipse/EllipseNode.d.ts.map +1 -0
  124. package/papyrus-web-components/dist/nodes/ellipse/EllipseNode.types.d.ts +33 -0
  125. package/papyrus-web-components/dist/nodes/ellipse/EllipseNode.types.d.ts.map +1 -0
  126. package/papyrus-web-components/dist/nodes/ellipse/EllipseNodeConverter.d.ts +23 -0
  127. package/papyrus-web-components/dist/nodes/ellipse/EllipseNodeConverter.d.ts.map +1 -0
  128. package/papyrus-web-components/dist/nodes/ellipse/EllipseNodeLayoutHandler.d.ts +25 -0
  129. package/papyrus-web-components/dist/nodes/ellipse/EllipseNodeLayoutHandler.d.ts.map +1 -0
  130. package/papyrus-web-components/dist/nodes/innerFlag/InnerFlagNode.d.ts +18 -0
  131. package/papyrus-web-components/dist/nodes/innerFlag/InnerFlagNode.d.ts.map +1 -0
  132. package/papyrus-web-components/dist/nodes/innerFlag/InnerFlagNode.types.d.ts +23 -0
  133. package/papyrus-web-components/dist/nodes/innerFlag/InnerFlagNode.types.d.ts.map +1 -0
  134. package/papyrus-web-components/dist/nodes/innerFlag/InnerFlagNodeConverter.d.ts +21 -0
  135. package/papyrus-web-components/dist/nodes/innerFlag/InnerFlagNodeConverter.d.ts.map +1 -0
  136. package/papyrus-web-components/dist/nodes/innerFlag/InnerFlagNodeLayoutHandler.d.ts +21 -0
  137. package/papyrus-web-components/dist/nodes/innerFlag/InnerFlagNodeLayoutHandler.d.ts.map +1 -0
  138. package/papyrus-web-components/dist/nodes/note/NoteLabel.d.ts +18 -0
  139. package/papyrus-web-components/dist/nodes/note/NoteLabel.d.ts.map +1 -0
  140. package/papyrus-web-components/dist/nodes/note/NoteNode.d.ts +19 -0
  141. package/papyrus-web-components/dist/nodes/note/NoteNode.d.ts.map +1 -0
  142. package/papyrus-web-components/dist/nodes/note/NoteNode.types.d.ts +41 -0
  143. package/papyrus-web-components/dist/nodes/note/NoteNode.types.d.ts.map +1 -0
  144. package/papyrus-web-components/dist/nodes/note/NoteNodeConverter.d.ts +21 -0
  145. package/papyrus-web-components/dist/nodes/note/NoteNodeConverter.d.ts.map +1 -0
  146. package/papyrus-web-components/dist/nodes/note/NoteNodeLayoutHandler.d.ts +21 -0
  147. package/papyrus-web-components/dist/nodes/note/NoteNodeLayoutHandler.d.ts.map +1 -0
  148. package/papyrus-web-components/dist/nodes/outerFlag/OuterFlagNode.d.ts +18 -0
  149. package/papyrus-web-components/dist/nodes/outerFlag/OuterFlagNode.d.ts.map +1 -0
  150. package/papyrus-web-components/dist/nodes/outerFlag/OuterFlagNode.types.d.ts +23 -0
  151. package/papyrus-web-components/dist/nodes/outerFlag/OuterFlagNode.types.d.ts.map +1 -0
  152. package/papyrus-web-components/dist/nodes/outerFlag/OuterFlagNodeConverter.d.ts +21 -0
  153. package/papyrus-web-components/dist/nodes/outerFlag/OuterFlagNodeConverter.d.ts.map +1 -0
  154. package/papyrus-web-components/dist/nodes/outerFlag/OuterFlagNodeLayoutHandler.d.ts +21 -0
  155. package/papyrus-web-components/dist/nodes/outerFlag/OuterFlagNodeLayoutHandler.d.ts.map +1 -0
  156. package/papyrus-web-components/dist/nodes/package/PackageNode.d.ts +18 -0
  157. package/papyrus-web-components/dist/nodes/package/PackageNode.d.ts.map +1 -0
  158. package/papyrus-web-components/dist/nodes/package/PackageNode.types.d.ts +29 -0
  159. package/papyrus-web-components/dist/nodes/package/PackageNode.types.d.ts.map +1 -0
  160. package/papyrus-web-components/dist/nodes/package/PackageNodeConverter.d.ts +21 -0
  161. package/papyrus-web-components/dist/nodes/package/PackageNodeConverter.d.ts.map +1 -0
  162. package/papyrus-web-components/dist/nodes/package/PackageNodeLayoutHandler.d.ts +23 -0
  163. package/papyrus-web-components/dist/nodes/package/PackageNodeLayoutHandler.d.ts.map +1 -0
  164. package/papyrus-web-components/dist/nodes/package/PackageNodeListConverter.d.ts +21 -0
  165. package/papyrus-web-components/dist/nodes/package/PackageNodeListConverter.d.ts.map +1 -0
  166. package/papyrus-web-components/dist/nodes/package/PackageNodeListLayoutHandler.d.ts +24 -0
  167. package/papyrus-web-components/dist/nodes/package/PackageNodeListLayoutHandler.d.ts.map +1 -0
  168. package/papyrus-web-components/dist/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNode.d.ts +18 -0
  169. package/papyrus-web-components/dist/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNode.d.ts.map +1 -0
  170. package/papyrus-web-components/dist/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNode.types.d.ts +23 -0
  171. package/papyrus-web-components/dist/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNode.types.d.ts.map +1 -0
  172. package/papyrus-web-components/dist/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNodeConverter.d.ts +21 -0
  173. package/papyrus-web-components/dist/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNodeConverter.d.ts.map +1 -0
  174. package/papyrus-web-components/dist/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNodeLayoutHandler.d.ts +20 -0
  175. package/papyrus-web-components/dist/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNodeLayoutHandler.d.ts.map +1 -0
  176. package/papyrus-web-components/dist/papyrus-web-components.es.js +11710 -0
  177. package/papyrus-web-components/dist/papyrus-web-components.umd.js +11664 -0
  178. package/papyrus-web-components/dist/profile/apply-profile/ApplyProfileModal.d.ts +3 -0
  179. package/papyrus-web-components/dist/profile/apply-profile/ApplyProfileModal.d.ts.map +1 -0
  180. package/papyrus-web-components/dist/profile/apply-profile/ApplyProfileModal.types.d.ts +55 -0
  181. package/papyrus-web-components/dist/profile/apply-profile/ApplyProfileModal.types.d.ts.map +1 -0
  182. package/papyrus-web-components/dist/profile/apply-profile/ApplyProfileModalMachine.d.ts +65 -0
  183. package/papyrus-web-components/dist/profile/apply-profile/ApplyProfileModalMachine.d.ts.map +1 -0
  184. package/papyrus-web-components/dist/profile/apply-profile/UMLModelTreeItemContextMenuContribution.d.ts +16 -0
  185. package/papyrus-web-components/dist/profile/apply-profile/UMLModelTreeItemContextMenuContribution.d.ts.map +1 -0
  186. package/papyrus-web-components/dist/profile/apply-stereotype/ApplyStereotypeModal.d.ts +15 -0
  187. package/papyrus-web-components/dist/profile/apply-stereotype/ApplyStereotypeModal.d.ts.map +1 -0
  188. package/papyrus-web-components/dist/profile/apply-stereotype/ApplyStereotypeModal.types.d.ts +48 -0
  189. package/papyrus-web-components/dist/profile/apply-stereotype/ApplyStereotypeModal.types.d.ts.map +1 -0
  190. package/papyrus-web-components/dist/profile/apply-stereotype/ApplyStereotypeModalMachine.d.ts +65 -0
  191. package/papyrus-web-components/dist/profile/apply-stereotype/ApplyStereotypeModalMachine.d.ts.map +1 -0
  192. package/papyrus-web-components/dist/profile/apply-stereotype/UMLElementTreeItemContextMenuContribution.d.ts +16 -0
  193. package/papyrus-web-components/dist/profile/apply-stereotype/UMLElementTreeItemContextMenuContribution.d.ts.map +1 -0
  194. package/papyrus-web-components/dist/profile/publish-profile/PublishProfileDialog.d.ts +16 -0
  195. package/papyrus-web-components/dist/profile/publish-profile/PublishProfileDialog.d.ts.map +1 -0
  196. package/papyrus-web-components/dist/profile/publish-profile/PublishProfileDialog.types.d.ts +72 -0
  197. package/papyrus-web-components/dist/profile/publish-profile/PublishProfileDialog.types.d.ts.map +1 -0
  198. package/papyrus-web-components/dist/profile/publish-profile/PublishProfileTreeItemContextMenuContribution.d.ts +16 -0
  199. package/papyrus-web-components/dist/profile/publish-profile/PublishProfileTreeItemContextMenuContribution.d.ts.map +1 -0
  200. package/papyrus-web-components/dist/widgets/CustomWidgetsDocumentTransform.d.ts +15 -0
  201. package/papyrus-web-components/dist/widgets/CustomWidgetsDocumentTransform.d.ts.map +1 -0
  202. package/papyrus-web-components/dist/widgets/containmentReference/ContainmentReferenceFragment.types.d.ts +145 -0
  203. package/papyrus-web-components/dist/widgets/containmentReference/ContainmentReferenceFragment.types.d.ts.map +1 -0
  204. package/papyrus-web-components/dist/widgets/containmentReference/ContainmentReferenceIcon.d.ts +16 -0
  205. package/papyrus-web-components/dist/widgets/containmentReference/ContainmentReferenceIcon.d.ts.map +1 -0
  206. package/papyrus-web-components/dist/widgets/containmentReference/ContainmentReferencePreview.d.ts +19 -0
  207. package/papyrus-web-components/dist/widgets/containmentReference/ContainmentReferencePreview.d.ts.map +1 -0
  208. package/papyrus-web-components/dist/widgets/containmentReference/ContainmentReferenceSection.d.ts +21 -0
  209. package/papyrus-web-components/dist/widgets/containmentReference/ContainmentReferenceSection.d.ts.map +1 -0
  210. package/papyrus-web-components/dist/widgets/containmentReference/ReorderIcon.d.ts +18 -0
  211. package/papyrus-web-components/dist/widgets/containmentReference/ReorderIcon.d.ts.map +1 -0
  212. package/papyrus-web-components/dist/widgets/containmentReference/dialogs/CreateNewChildDialog.d.ts +17 -0
  213. package/papyrus-web-components/dist/widgets/containmentReference/dialogs/CreateNewChildDialog.d.ts.map +1 -0
  214. package/papyrus-web-components/dist/widgets/containmentReference/dialogs/CreateNewChildDialog.types.d.ts +23 -0
  215. package/papyrus-web-components/dist/widgets/containmentReference/dialogs/CreateNewChildDialog.types.d.ts.map +1 -0
  216. package/papyrus-web-components/dist/widgets/customImage/AddImageIcon.d.ts +17 -0
  217. package/papyrus-web-components/dist/widgets/customImage/AddImageIcon.d.ts.map +1 -0
  218. package/papyrus-web-components/dist/widgets/customImage/CustomImageFragment.types.d.ts +83 -0
  219. package/papyrus-web-components/dist/widgets/customImage/CustomImageFragment.types.d.ts.map +1 -0
  220. package/papyrus-web-components/dist/widgets/customImage/CustomImageIcon.d.ts +17 -0
  221. package/papyrus-web-components/dist/widgets/customImage/CustomImageIcon.d.ts.map +1 -0
  222. package/papyrus-web-components/dist/widgets/customImage/CustomImagePreview.d.ts +20 -0
  223. package/papyrus-web-components/dist/widgets/customImage/CustomImagePreview.d.ts.map +1 -0
  224. package/papyrus-web-components/dist/widgets/customImage/CustomImageSection.d.ts +21 -0
  225. package/papyrus-web-components/dist/widgets/customImage/CustomImageSection.d.ts.map +1 -0
  226. package/papyrus-web-components/dist/widgets/dialogs/ReorderItemsDialog.d.ts +17 -0
  227. package/papyrus-web-components/dist/widgets/dialogs/ReorderItemsDialog.d.ts.map +1 -0
  228. package/papyrus-web-components/dist/widgets/dialogs/ReorderItemsDialog.types.d.ts +29 -0
  229. package/papyrus-web-components/dist/widgets/dialogs/ReorderItemsDialog.types.d.ts.map +1 -0
  230. package/papyrus-web-components/dist/widgets/languageExpression/LanguageExpressionFragment.types.d.ts +97 -0
  231. package/papyrus-web-components/dist/widgets/languageExpression/LanguageExpressionFragment.types.d.ts.map +1 -0
  232. package/papyrus-web-components/dist/widgets/languageExpression/LanguageExpressionIcon.d.ts +16 -0
  233. package/papyrus-web-components/dist/widgets/languageExpression/LanguageExpressionIcon.d.ts.map +1 -0
  234. package/papyrus-web-components/dist/widgets/languageExpression/LanguageExpressionPreview.d.ts +6 -0
  235. package/papyrus-web-components/dist/widgets/languageExpression/LanguageExpressionPreview.d.ts.map +1 -0
  236. package/papyrus-web-components/dist/widgets/languageExpression/LanguageExpressionSection.d.ts +21 -0
  237. package/papyrus-web-components/dist/widgets/languageExpression/LanguageExpressionSection.d.ts.map +1 -0
  238. package/papyrus-web-components/dist/widgets/primitiveList/PrimitiveListWidgetPreview.d.ts +19 -0
  239. package/papyrus-web-components/dist/widgets/primitiveList/PrimitiveListWidgetPreview.d.ts.map +1 -0
  240. package/papyrus-web-components/dist/widgets/primitiveList/PrimitiveListWidgetPropertySection.d.ts +7 -0
  241. package/papyrus-web-components/dist/widgets/primitiveList/PrimitiveListWidgetPropertySection.d.ts.map +1 -0
  242. package/papyrus-web-components/dist/widgets/primitiveList/PrimitiveListWidgetPropertySection.types.d.ts +135 -0
  243. package/papyrus-web-components/dist/widgets/primitiveList/PrimitiveListWidgetPropertySection.types.d.ts.map +1 -0
  244. package/papyrus-web-components/dist/widgets/primitiveRadio/PrimitiveRadioFragment.type.d.ts +42 -0
  245. package/papyrus-web-components/dist/widgets/primitiveRadio/PrimitiveRadioFragment.type.d.ts.map +1 -0
  246. package/papyrus-web-components/dist/widgets/primitiveRadio/PrimitiveRadioIcon.d.ts +16 -0
  247. package/papyrus-web-components/dist/widgets/primitiveRadio/PrimitiveRadioIcon.d.ts.map +1 -0
  248. package/papyrus-web-components/dist/widgets/primitiveRadio/PrimitiveRadioPreview.d.ts +19 -0
  249. package/papyrus-web-components/dist/widgets/primitiveRadio/PrimitiveRadioPreview.d.ts.map +1 -0
  250. package/papyrus-web-components/dist/widgets/primitiveRadio/PrimitiveRadioSection.d.ts +18 -0
  251. package/papyrus-web-components/dist/widgets/primitiveRadio/PrimitiveRadioSection.d.ts.map +1 -0
  252. package/papyrus-web-components/package.json +105 -0
  253. package/papyrus-web-components/src/diagram-tools/EditProjectView.types.ts +56 -0
  254. package/papyrus-web-components/src/diagram-tools/FilterableSortableList.tsx +172 -0
  255. package/papyrus-web-components/src/diagram-tools/FilterableSortableList.types.ts +34 -0
  256. package/papyrus-web-components/src/diagram-tools/ModelBrowserFilterBar.tsx +73 -0
  257. package/papyrus-web-components/src/diagram-tools/ModelBrowserFilterBar.types.ts +19 -0
  258. package/papyrus-web-components/src/diagram-tools/PapyrusPopupToolContribution.tsx +206 -0
  259. package/papyrus-web-components/src/diagram-tools/PapyrusPopupToolContribution.types.ts +61 -0
  260. package/papyrus-web-components/src/diagram-tools/TransferModal.tsx +235 -0
  261. package/papyrus-web-components/src/diagram-tools/TransferModal.types.ts +35 -0
  262. package/papyrus-web-components/src/index.ts +61 -0
  263. package/papyrus-web-components/src/nodes/NodesDocumentTransform.ts +242 -0
  264. package/papyrus-web-components/src/nodes/cuboid/CuboidNode.tsx +183 -0
  265. package/papyrus-web-components/src/nodes/cuboid/CuboidNode.types.ts +30 -0
  266. package/papyrus-web-components/src/nodes/cuboid/CuboidNodeConverter.ts +201 -0
  267. package/papyrus-web-components/src/nodes/cuboid/CuboidNodeLayoutHandler.ts +283 -0
  268. package/papyrus-web-components/src/nodes/cuboid/CuboidNodeListConverter.ts +238 -0
  269. package/papyrus-web-components/src/nodes/cuboid/CuboidNodeListLayoutHandler.ts +260 -0
  270. package/papyrus-web-components/src/nodes/customImage/CustomImageNode.tsx +153 -0
  271. package/papyrus-web-components/src/nodes/customImage/CustomImageNode.types.ts +37 -0
  272. package/papyrus-web-components/src/nodes/customImage/CustomImageNodeConverter.ts +212 -0
  273. package/papyrus-web-components/src/nodes/customImage/CustomImageNodeLayoutHandler.ts +53 -0
  274. package/papyrus-web-components/src/nodes/ellipse/EllipseNode.tsx +119 -0
  275. package/papyrus-web-components/src/nodes/ellipse/EllipseNode.types.ts +35 -0
  276. package/papyrus-web-components/src/nodes/ellipse/EllipseNodeConverter.ts +208 -0
  277. package/papyrus-web-components/src/nodes/ellipse/EllipseNodeLayoutHandler.ts +284 -0
  278. package/papyrus-web-components/src/nodes/innerFlag/InnerFlagNode.tsx +156 -0
  279. package/papyrus-web-components/src/nodes/innerFlag/InnerFlagNode.types.ts +23 -0
  280. package/papyrus-web-components/src/nodes/innerFlag/InnerFlagNodeConverter.ts +200 -0
  281. package/papyrus-web-components/src/nodes/innerFlag/InnerFlagNodeLayoutHandler.ts +118 -0
  282. package/papyrus-web-components/src/nodes/note/NoteLabel.tsx +146 -0
  283. package/papyrus-web-components/src/nodes/note/NoteNode.tsx +168 -0
  284. package/papyrus-web-components/src/nodes/note/NoteNode.types.ts +43 -0
  285. package/papyrus-web-components/src/nodes/note/NoteNodeConverter.ts +200 -0
  286. package/papyrus-web-components/src/nodes/note/NoteNodeLayoutHandler.ts +85 -0
  287. package/papyrus-web-components/src/nodes/outerFlag/OuterFlagNode.tsx +153 -0
  288. package/papyrus-web-components/src/nodes/outerFlag/OuterFlagNode.types.ts +23 -0
  289. package/papyrus-web-components/src/nodes/outerFlag/OuterFlagNodeConverter.ts +200 -0
  290. package/papyrus-web-components/src/nodes/outerFlag/OuterFlagNodeLayoutHandler.ts +116 -0
  291. package/papyrus-web-components/src/nodes/package/PackageNode.tsx +200 -0
  292. package/papyrus-web-components/src/nodes/package/PackageNode.types.ts +30 -0
  293. package/papyrus-web-components/src/nodes/package/PackageNodeConverter.ts +243 -0
  294. package/papyrus-web-components/src/nodes/package/PackageNodeLayoutHandler.ts +229 -0
  295. package/papyrus-web-components/src/nodes/package/PackageNodeListConverter.ts +254 -0
  296. package/papyrus-web-components/src/nodes/package/PackageNodeListLayoutHandler.ts +253 -0
  297. package/papyrus-web-components/src/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNode.tsx +155 -0
  298. package/papyrus-web-components/src/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNode.types.ts +23 -0
  299. package/papyrus-web-components/src/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNodeConverter.ts +205 -0
  300. package/papyrus-web-components/src/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNodeLayoutHandler.ts +55 -0
  301. package/papyrus-web-components/src/profile/apply-profile/ApplyProfileModal.tsx +238 -0
  302. package/papyrus-web-components/src/profile/apply-profile/ApplyProfileModal.types.tsx +65 -0
  303. package/papyrus-web-components/src/profile/apply-profile/ApplyProfileModalMachine.tsx +175 -0
  304. package/papyrus-web-components/src/profile/apply-profile/UMLModelTreeItemContextMenuContribution.tsx +74 -0
  305. package/papyrus-web-components/src/profile/apply-stereotype/ApplyStereotypeModal.tsx +248 -0
  306. package/papyrus-web-components/src/profile/apply-stereotype/ApplyStereotypeModal.types.ts +57 -0
  307. package/papyrus-web-components/src/profile/apply-stereotype/ApplyStereotypeModalMachine.ts +185 -0
  308. package/papyrus-web-components/src/profile/apply-stereotype/UMLElementTreeItemContextMenuContribution.tsx +70 -0
  309. package/papyrus-web-components/src/profile/publish-profile/PublishProfileDialog.tsx +380 -0
  310. package/papyrus-web-components/src/profile/publish-profile/PublishProfileDialog.types.ts +84 -0
  311. package/papyrus-web-components/src/profile/publish-profile/PublishProfileTreeItemContextMenuContribution.tsx +59 -0
  312. package/papyrus-web-components/src/widgets/CustomWidgetsDocumentTransform.ts +215 -0
  313. package/papyrus-web-components/src/widgets/containmentReference/ContainmentReferenceFragment.types.ts +178 -0
  314. package/papyrus-web-components/src/widgets/containmentReference/ContainmentReferenceIcon.tsx +38 -0
  315. package/papyrus-web-components/src/widgets/containmentReference/ContainmentReferencePreview.tsx +106 -0
  316. package/papyrus-web-components/src/widgets/containmentReference/ContainmentReferenceSection.tsx +508 -0
  317. package/papyrus-web-components/src/widgets/containmentReference/ReorderIcon.tsx +31 -0
  318. package/papyrus-web-components/src/widgets/containmentReference/dialogs/CreateNewChildDialog.tsx +104 -0
  319. package/papyrus-web-components/src/widgets/containmentReference/dialogs/CreateNewChildDialog.types.ts +24 -0
  320. package/papyrus-web-components/src/widgets/customImage/AddImageIcon.tsx +35 -0
  321. package/papyrus-web-components/src/widgets/customImage/CustomImageFragment.types.ts +98 -0
  322. package/papyrus-web-components/src/widgets/customImage/CustomImageIcon.tsx +34 -0
  323. package/papyrus-web-components/src/widgets/customImage/CustomImagePreview.tsx +87 -0
  324. package/papyrus-web-components/src/widgets/customImage/CustomImageSection.tsx +348 -0
  325. package/papyrus-web-components/src/widgets/dialogs/ReorderItemsDialog.tsx +145 -0
  326. package/papyrus-web-components/src/widgets/dialogs/ReorderItemsDialog.types.ts +30 -0
  327. package/papyrus-web-components/src/widgets/languageExpression/LanguageExpressionFragment.types.ts +117 -0
  328. package/papyrus-web-components/src/widgets/languageExpression/LanguageExpressionIcon.tsx +36 -0
  329. package/papyrus-web-components/src/widgets/languageExpression/LanguageExpressionPreview.tsx +163 -0
  330. package/papyrus-web-components/src/widgets/languageExpression/LanguageExpressionSection.tsx +548 -0
  331. package/papyrus-web-components/src/widgets/primitiveList/PrimitiveListWidgetPreview.tsx +158 -0
  332. package/papyrus-web-components/src/widgets/primitiveList/PrimitiveListWidgetPropertySection.tsx +616 -0
  333. package/papyrus-web-components/src/widgets/primitiveList/PrimitiveListWidgetPropertySection.types.ts +162 -0
  334. package/papyrus-web-components/src/widgets/primitiveRadio/PrimitiveRadioFragment.type.ts +49 -0
  335. package/papyrus-web-components/src/widgets/primitiveRadio/PrimitiveRadioIcon.tsx +36 -0
  336. package/papyrus-web-components/src/widgets/primitiveRadio/PrimitiveRadioPreview.tsx +88 -0
  337. package/papyrus-web-components/src/widgets/primitiveRadio/PrimitiveRadioSection.tsx +128 -0
  338. package/papyrus-web-components/tsconfig.json +14 -0
  339. package/papyrus-web-components/vite.config.js +26 -0
  340. package/turbo.json +31 -0
@@ -0,0 +1,3 @@
1
+ import { ApplyProfileModalProps } from './ApplyProfileModal.types';
2
+ export declare const ApplyProfileModal: ({ editingContextId, item, onAppliedProfile, onClose }: ApplyProfileModalProps) => import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=ApplyProfileModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApplyProfileModal.d.ts","sourceRoot":"","sources":["../../../src/profile/apply-profile/ApplyProfileModal.tsx"],"names":[],"mappings":"AA4BA,OAAO,EACL,sBAAsB,EAMvB,MAAM,2BAA2B,CAAC;AAqDnC,eAAO,MAAM,iBAAiB,0DAA2D,sBAAsB,4CAqJ9G,CAAC"}
@@ -0,0 +1,55 @@
1
+ /*******************************************************************************
2
+ * Copyright (c) 2022, 2025 CEA LIST, Obeo.
3
+ *
4
+ * All rights reserved. This program and the accompanying materials
5
+ * are made available under the terms of the Eclipse Public License 2.0
6
+ * which accompanies this distribution, and is available at
7
+ * https://www.eclipse.org/legal/epl-2.0/
8
+ *
9
+ * SPDX-License-Identifier: EPL-2.0
10
+ *
11
+ * Contributors:
12
+ * Obeo - Initial API and implementation
13
+ *******************************************************************************/
14
+ export interface ApplyProfileModalProps {
15
+ editingContextId: string;
16
+ item: any;
17
+ onClose: () => void;
18
+ onAppliedProfile: () => void;
19
+ }
20
+ export interface Profile {
21
+ uriPath: string;
22
+ label: string;
23
+ }
24
+ export interface GQLGetProfilesQueryVariables {
25
+ editingContextId: string;
26
+ kind: string;
27
+ }
28
+ export interface GQLGetProfilesQueryData {
29
+ viewer: GQLViewer;
30
+ }
31
+ export interface GQLViewer {
32
+ profileMetadatas: GQLProfileMetadata[];
33
+ }
34
+ export interface GQLProfileMetadata {
35
+ label: string;
36
+ uriPath: string;
37
+ }
38
+ export interface GQLApplyProfileMutationData {
39
+ applyProfile: GQLApplyProfilePayload;
40
+ }
41
+ export interface GQLApplyProfilePayload {
42
+ __typename: string;
43
+ }
44
+ export interface GQLApplyProfileSuccessPayload extends GQLApplyProfilePayload {
45
+ id: string;
46
+ }
47
+ export interface GQLObject {
48
+ id: string;
49
+ label: string;
50
+ kind: string;
51
+ }
52
+ export interface GQLErrorPayload extends GQLApplyProfilePayload {
53
+ message: string;
54
+ }
55
+ //# sourceMappingURL=ApplyProfileModal.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApplyProfileModal.types.d.ts","sourceRoot":"","sources":["../../../src/profile/apply-profile/ApplyProfileModal.types.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;iFAYiF;AAEjF,MAAM,WAAW,sBAAsB;IACrC,gBAAgB,EAAE,MAAM,CAAC;IACzB,IAAI,EAAE,GAAG,CAAC;IACV,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED,MAAM,WAAW,OAAO;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,4BAA4B;IAC3C,gBAAgB,EAAE,MAAM,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,SAAS,CAAC;CACnB;AAED,MAAM,WAAW,SAAS;IACxB,gBAAgB,EAAE,kBAAkB,EAAE,CAAC;CACxC;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,2BAA2B;IAC1C,YAAY,EAAE,sBAAsB,CAAC;CACtC;AAED,MAAM,WAAW,sBAAsB;IACrC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,6BAA8B,SAAQ,sBAAsB;IAC3E,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eAAgB,SAAQ,sBAAsB;IAC7D,OAAO,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,65 @@
1
+ /*******************************************************************************
2
+ * Copyright (c) 2021, 2025 CEA LIST, Obeo.
3
+ * This program and the accompanying materials
4
+ * are made available under the terms of the Eclipse Public License v2.0
5
+ * which accompanies this distribution, and is available at
6
+ * https://www.eclipse.org/legal/epl-2.0/
7
+ *
8
+ * SPDX-License-Identifier: EPL-2.0
9
+ *
10
+ * Contributors:
11
+ * Obeo - initial API and implementation
12
+ *******************************************************************************/
13
+ import { GQLApplyProfileMutationData, GQLGetProfilesQueryData, Profile } from './ApplyProfileModal.types';
14
+ export interface ApplyProfileModalStateSchema {
15
+ states: {
16
+ toast: {
17
+ states: {
18
+ visible: {};
19
+ hidden: {};
20
+ };
21
+ };
22
+ applyProfileModal: {
23
+ states: {
24
+ loading: {};
25
+ valid: {};
26
+ applyingProfile: {};
27
+ success: {};
28
+ };
29
+ };
30
+ };
31
+ }
32
+ export type SchemaValue = {
33
+ applyProfileModal: 'loading' | 'valid' | 'applyingProfile' | 'success';
34
+ toast: 'visible' | 'hidden';
35
+ };
36
+ export interface ApplyProfileModalContext {
37
+ selectedProfileId: string;
38
+ profiles: Profile[];
39
+ message: string | null;
40
+ }
41
+ export type ShowToastEvent = {
42
+ type: 'SHOW_TOAST';
43
+ message: string;
44
+ };
45
+ export type HideToastEvent = {
46
+ type: 'HIDE_TOAST';
47
+ };
48
+ export type FetchedProfilesEvent = {
49
+ type: 'HANDLE_FETCHED_PROFILES';
50
+ data: GQLGetProfilesQueryData;
51
+ };
52
+ export type ChangeProfileEvent = {
53
+ type: 'CHANGE_PROFILE';
54
+ profileId: string;
55
+ };
56
+ export type ApplyProfileEvent = {
57
+ type: 'APPLY_PROFILE';
58
+ };
59
+ export type HandleResponseEvent = {
60
+ type: 'HANDLE_RESPONSE';
61
+ data: GQLApplyProfileMutationData;
62
+ };
63
+ export type ApplyProfileModalEvent = FetchedProfilesEvent | ChangeProfileEvent | ApplyProfileEvent | HandleResponseEvent | ShowToastEvent | HideToastEvent;
64
+ export declare const applyProfileModalMachine: import("xstate").StateMachine<ApplyProfileModalContext, ApplyProfileModalStateSchema, ApplyProfileModalEvent, any, import("xstate").BaseActionObject, import("xstate").ServiceMap, import("xstate").ResolveTypegenMeta<import("xstate").TypegenDisabled, ApplyProfileModalEvent, import("xstate").BaseActionObject, import("xstate").ServiceMap>>;
65
+ //# sourceMappingURL=ApplyProfileModalMachine.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApplyProfileModalMachine.d.ts","sourceRoot":"","sources":["../../../src/profile/apply-profile/ApplyProfileModalMachine.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;iFAWiF;AACjF,OAAO,EAAE,2BAA2B,EAAE,uBAAuB,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAG1G,MAAM,WAAW,4BAA4B;IAC3C,MAAM,EAAE;QACN,KAAK,EAAE;YACL,MAAM,EAAE;gBACN,OAAO,EAAE,EAAE,CAAC;gBACZ,MAAM,EAAE,EAAE,CAAC;aACZ,CAAC;SACH,CAAC;QACF,iBAAiB,EAAE;YACjB,MAAM,EAAE;gBACN,OAAO,EAAE,EAAE,CAAC;gBACZ,KAAK,EAAE,EAAE,CAAC;gBACV,eAAe,EAAE,EAAE,CAAC;gBACpB,OAAO,EAAE,EAAE,CAAC;aACb,CAAC;SACH,CAAC;KACH,CAAC;CACH;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,iBAAiB,EAAE,SAAS,GAAG,OAAO,GAAG,iBAAiB,GAAG,SAAS,CAAC;IACvE,KAAK,EAAE,SAAS,GAAG,QAAQ,CAAC;CAC7B,CAAC;AAEF,MAAM,WAAW,wBAAwB;IACvC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,MAAM,MAAM,cAAc,GAAG;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AACrE,MAAM,MAAM,cAAc,GAAG;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE,CAAC;AACpD,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,yBAAyB,CAAC;IAChC,IAAI,EAAE,uBAAuB,CAAC;CAC/B,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,gBAAgB,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG;IAAE,IAAI,EAAE,eAAe,CAAA;CAAE,CAAC;AAC1D,MAAM,MAAM,mBAAmB,GAAG;IAAE,IAAI,EAAE,iBAAiB,CAAC;IAAC,IAAI,EAAE,2BAA2B,CAAA;CAAE,CAAC;AACjG,MAAM,MAAM,sBAAsB,GAC9B,oBAAoB,GACpB,kBAAkB,GAClB,iBAAiB,GACjB,mBAAmB,GACnB,cAAc,GACd,cAAc,CAAC;AAEnB,eAAO,MAAM,wBAAwB,mVA6GpC,CAAC"}
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ /*******************************************************************************
3
+ * Copyright (c) 2021, 2025 CEA LIST, Obeo.
4
+ * This program and the accompanying materials
5
+ * are made available under the terms of the Eclipse Public License v2.0
6
+ * which accompanies this distribution, and is available at
7
+ * https://www.eclipse.org/legal/epl-2.0/
8
+ *
9
+ * SPDX-License-Identifier: EPL-2.0
10
+ *
11
+ * Contributors:
12
+ * Obeo - initial API and implementation
13
+ *******************************************************************************/
14
+ import { TreeItemContextMenuComponentProps } from '@eclipse-sirius/sirius-components-trees';
15
+ export declare const UMLModelTreeItemContextMenuContribution: import("react").ForwardRefExoticComponent<TreeItemContextMenuComponentProps & import("react").RefAttributes<HTMLLIElement>>;
16
+ //# sourceMappingURL=UMLModelTreeItemContextMenuContribution.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UMLModelTreeItemContextMenuContribution.d.ts","sourceRoot":"","sources":["../../../src/profile/apply-profile/UMLModelTreeItemContextMenuContribution.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;iFAWiF;AACjF,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAU5F,eAAO,MAAM,uCAAuC,6HAmDnD,CAAC"}
@@ -0,0 +1,15 @@
1
+ /*******************************************************************************
2
+ * Copyright (c) 2019, 2025 CEA LIST, Obeo.
3
+ * This program and the accompanying materials
4
+ * are made available under the terms of the Eclipse Public License v2.0
5
+ * which accompanies this distribution, and is available at
6
+ * https://www.eclipse.org/legal/epl-2.0/
7
+ *
8
+ * SPDX-License-Identifier: EPL-2.0
9
+ *
10
+ * Contributors:
11
+ * Obeo - initial API and implementation
12
+ *******************************************************************************/
13
+ import { ApplyStereotypeModalProps } from './ApplyStereotypeModal.types';
14
+ export declare const ApplyStereotypeModal: ({ editingContextId, item, onAppliedStereotype, onClose, }: ApplyStereotypeModalProps) => import("react/jsx-runtime").JSX.Element;
15
+ //# sourceMappingURL=ApplyStereotypeModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApplyStereotypeModal.d.ts","sourceRoot":"","sources":["../../../src/profile/apply-stereotype/ApplyStereotypeModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;iFAWiF;AAkBjF,OAAO,EACL,yBAAyB,EAM1B,MAAM,8BAA8B,CAAC;AAsDtC,eAAO,MAAM,oBAAoB,8DAK9B,yBAAyB,4CAwJ3B,CAAC"}
@@ -0,0 +1,48 @@
1
+ /*******************************************************************************
2
+ * Copyright (c) 2021, 2025 CEA LIST, Obeo.
3
+ * This program and the accompanying materials
4
+ * are made available under the terms of the Eclipse Public License v2.0
5
+ * which accompanies this distribution, and is available at
6
+ * https://www.eclipse.org/legal/epl-2.0/
7
+ *
8
+ * SPDX-License-Identifier: EPL-2.0
9
+ *
10
+ * Contributors:
11
+ * Obeo - initial API and implementation
12
+ *******************************************************************************/
13
+ export interface GQLGetStereotypesQueryVariables {
14
+ editingContextId: string;
15
+ elementId: string;
16
+ }
17
+ export interface GQLGetStereotypesQueryData {
18
+ viewer: GQLViewer;
19
+ }
20
+ export interface GQLViewer {
21
+ editingContext: GQLEditingContext;
22
+ }
23
+ export interface GQLEditingContext {
24
+ stereotypeMetatadas: GQLStereotypeMetadata[];
25
+ }
26
+ export interface GQLStereotypeMetadata {
27
+ label: string;
28
+ id: string;
29
+ }
30
+ export interface ApplyStereotypeModalProps {
31
+ editingContextId: string;
32
+ item: any;
33
+ onAppliedStereotype: () => void;
34
+ onClose: () => void;
35
+ }
36
+ export interface GQLApplyStereotypeMutationData {
37
+ applyStereotype: GQLApplyStereotypePayload;
38
+ }
39
+ export interface GQLApplyStereotypePayload {
40
+ __typename: string;
41
+ }
42
+ export interface GQLApplyStereotypeSuccessPayload extends GQLApplyStereotypePayload {
43
+ id: string;
44
+ }
45
+ export interface GQLErrorPayload extends GQLApplyStereotypePayload {
46
+ message: string;
47
+ }
48
+ //# sourceMappingURL=ApplyStereotypeModal.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApplyStereotypeModal.types.d.ts","sourceRoot":"","sources":["../../../src/profile/apply-stereotype/ApplyStereotypeModal.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;iFAWiF;AAEjF,MAAM,WAAW,+BAA+B;IAC9C,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,SAAS,CAAC;CACnB;AAED,MAAM,WAAW,SAAS;IACxB,cAAc,EAAE,iBAAiB,CAAC;CACnC;AAED,MAAM,WAAW,iBAAiB;IAChC,mBAAmB,EAAE,qBAAqB,EAAE,CAAC;CAC9C;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,yBAAyB;IACxC,gBAAgB,EAAE,MAAM,CAAC;IACzB,IAAI,EAAE,GAAG,CAAC;IACV,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,MAAM,WAAW,8BAA8B;IAC7C,eAAe,EAAE,yBAAyB,CAAC;CAC5C;AAED,MAAM,WAAW,yBAAyB;IACxC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,gCAAiC,SAAQ,yBAAyB;IACjF,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,eAAgB,SAAQ,yBAAyB;IAChE,OAAO,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,65 @@
1
+ /*******************************************************************************
2
+ * Copyright (c) 2021, 2025 CEA LIST, Obeo.
3
+ * This program and the accompanying materials
4
+ * are made available under the terms of the Eclipse Public License v2.0
5
+ * which accompanies this distribution, and is available at
6
+ * https://www.eclipse.org/legal/epl-2.0/
7
+ *
8
+ * SPDX-License-Identifier: EPL-2.0
9
+ *
10
+ * Contributors:
11
+ * Obeo - initial API and implementation
12
+ *******************************************************************************/
13
+ import { GQLApplyStereotypeMutationData, GQLGetStereotypesQueryData, GQLStereotypeMetadata } from './ApplyStereotypeModal.types';
14
+ export interface ApplyStereotypeModalStateSchema {
15
+ states: {
16
+ toast: {
17
+ states: {
18
+ visible: {};
19
+ hidden: {};
20
+ };
21
+ };
22
+ applyStereotypeModal: {
23
+ states: {
24
+ loading: {};
25
+ valid: {};
26
+ applyingStereotype: {};
27
+ success: {};
28
+ };
29
+ };
30
+ };
31
+ }
32
+ export type SchemaValue = {
33
+ applyStereotypeModal: 'loading' | 'valid' | 'applyingStereotype' | 'success';
34
+ toast: 'visible' | 'hidden';
35
+ };
36
+ export interface ApplyStereotypeModalContext {
37
+ selectedStereotypeId: string;
38
+ stereotypes: GQLStereotypeMetadata[];
39
+ message: string | null;
40
+ }
41
+ export type ShowToastEvent = {
42
+ type: 'SHOW_TOAST';
43
+ message: string;
44
+ };
45
+ export type HideToastEvent = {
46
+ type: 'HIDE_TOAST';
47
+ };
48
+ export type FetchedStereotypesEvent = {
49
+ type: 'HANDLE_FETCHED_STEREOTYPES';
50
+ data: GQLGetStereotypesQueryData;
51
+ };
52
+ export type ChangeStereotypeEvent = {
53
+ type: 'CHANGE_STEREOTYPE';
54
+ stereotypeId: string;
55
+ };
56
+ export type ApplyStereotypeEvent = {
57
+ type: 'APPLY_STEREOTYPE';
58
+ };
59
+ export type HandleResponseEvent = {
60
+ type: 'HANDLE_RESPONSE';
61
+ data: GQLApplyStereotypeMutationData;
62
+ };
63
+ export type ApplyStereotypeModalEvent = FetchedStereotypesEvent | ChangeStereotypeEvent | ApplyStereotypeEvent | HandleResponseEvent | ShowToastEvent | HideToastEvent;
64
+ export declare const applyStereotypeModalMachine: import("xstate").StateMachine<ApplyStereotypeModalContext, ApplyStereotypeModalStateSchema, ApplyStereotypeModalEvent, any, import("xstate").BaseActionObject, import("xstate").ServiceMap, import("xstate").ResolveTypegenMeta<import("xstate").TypegenDisabled, ApplyStereotypeModalEvent, import("xstate").BaseActionObject, import("xstate").ServiceMap>>;
65
+ //# sourceMappingURL=ApplyStereotypeModalMachine.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApplyStereotypeModalMachine.d.ts","sourceRoot":"","sources":["../../../src/profile/apply-stereotype/ApplyStereotypeModalMachine.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;iFAWiF;AACjF,OAAO,EACL,8BAA8B,EAC9B,0BAA0B,EAC1B,qBAAqB,EACtB,MAAM,8BAA8B,CAAC;AAGtC,MAAM,WAAW,+BAA+B;IAC9C,MAAM,EAAE;QACN,KAAK,EAAE;YACL,MAAM,EAAE;gBACN,OAAO,EAAE,EAAE,CAAC;gBACZ,MAAM,EAAE,EAAE,CAAC;aACZ,CAAC;SACH,CAAC;QACF,oBAAoB,EAAE;YACpB,MAAM,EAAE;gBACN,OAAO,EAAE,EAAE,CAAC;gBACZ,KAAK,EAAE,EAAE,CAAC;gBACV,kBAAkB,EAAE,EAAE,CAAC;gBACvB,OAAO,EAAE,EAAE,CAAC;aACb,CAAC;SACH,CAAC;KACH,CAAC;CACH;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,oBAAoB,EAAE,SAAS,GAAG,OAAO,GAAG,oBAAoB,GAAG,SAAS,CAAC;IAC7E,KAAK,EAAE,SAAS,GAAG,QAAQ,CAAC;CAC7B,CAAC;AAEF,MAAM,WAAW,2BAA2B;IAC1C,oBAAoB,EAAE,MAAM,CAAC;IAC7B,WAAW,EAAE,qBAAqB,EAAE,CAAC;IACrC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,MAAM,MAAM,cAAc,GAAG;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AACrE,MAAM,MAAM,cAAc,GAAG;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE,CAAC;AACpD,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,4BAA4B,CAAC;IACnC,IAAI,EAAE,0BAA0B,CAAC;CAClC,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IAAE,IAAI,EAAE,kBAAkB,CAAA;CAAE,CAAC;AAChE,MAAM,MAAM,mBAAmB,GAAG;IAAE,IAAI,EAAE,iBAAiB,CAAC;IAAC,IAAI,EAAE,8BAA8B,CAAA;CAAE,CAAC;AACpG,MAAM,MAAM,yBAAyB,GACjC,uBAAuB,GACvB,qBAAqB,GACrB,oBAAoB,GACpB,mBAAmB,GACnB,cAAc,GACd,cAAc,CAAC;AAEnB,eAAO,MAAM,2BAA2B,+VAkHvC,CAAC"}
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ /*******************************************************************************
3
+ * Copyright (c) 2021, 2025 CEA LIST, Obeo.
4
+ * This program and the accompanying materials
5
+ * are made available under the terms of the Eclipse Public License v2.0
6
+ * which accompanies this distribution, and is available at
7
+ * https://www.eclipse.org/legal/epl-2.0/
8
+ *
9
+ * SPDX-License-Identifier: EPL-2.0
10
+ *
11
+ * Contributors:
12
+ * Obeo - initial API and implementation
13
+ *******************************************************************************/
14
+ import { TreeItemContextMenuComponentProps } from '@eclipse-sirius/sirius-components-trees';
15
+ export declare const UMLElementTreeItemContextMenuContribution: import("react").ForwardRefExoticComponent<TreeItemContextMenuComponentProps & import("react").RefAttributes<HTMLLIElement>>;
16
+ //# sourceMappingURL=UMLElementTreeItemContextMenuContribution.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UMLElementTreeItemContextMenuContribution.d.ts","sourceRoot":"","sources":["../../../src/profile/apply-stereotype/UMLElementTreeItemContextMenuContribution.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;iFAWiF;AACjF,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAU5F,eAAO,MAAM,yCAAyC,6HA+CrD,CAAC"}
@@ -0,0 +1,16 @@
1
+ /*******************************************************************************
2
+ * Copyright (c) 2023, 2025 CEA LIST, Obeo.
3
+ *
4
+ * All rights reserved. This program and the accompanying materials
5
+ * are made available under the terms of the Eclipse Public License 2.0
6
+ * which accompanies this distribution, and is available at
7
+ * https://www.eclipse.org/legal/epl-2.0/
8
+ *
9
+ * SPDX-License-Identifier: EPL-2.0
10
+ *
11
+ * Contributors:
12
+ * Obeo - Initial API and implementation
13
+ *******************************************************************************/
14
+ import { PublishProfileDialogProps } from './PublishProfileDialog.types';
15
+ export declare const PublishProfileDialog: ({ editingContextId, item, onClose }: PublishProfileDialogProps) => import("react/jsx-runtime").JSX.Element;
16
+ //# sourceMappingURL=PublishProfileDialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PublishProfileDialog.d.ts","sourceRoot":"","sources":["../../../src/profile/publish-profile/PublishProfileDialog.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;iFAYiF;AAiBjF,OAAO,EAML,yBAAyB,EAG1B,MAAM,8BAA8B,CAAC;AAqDtC,eAAO,MAAM,oBAAoB,wCAAyC,yBAAyB,4CAgSlG,CAAC"}
@@ -0,0 +1,72 @@
1
+ /*******************************************************************************
2
+ * Copyright (c) 2023, 2025 CEA LIST, Obeo.
3
+ *
4
+ * All rights reserved. This program and the accompanying materials
5
+ * are made available under the terms of the Eclipse Public License 2.0
6
+ * which accompanies this distribution, and is available at
7
+ * https://www.eclipse.org/legal/epl-2.0/
8
+ *
9
+ * SPDX-License-Identifier: EPL-2.0
10
+ *
11
+ * Contributors:
12
+ * Obeo - Initial API and implementation
13
+ *******************************************************************************/
14
+ import { GQLTreeItem } from '@eclipse-sirius/sirius-components-trees';
15
+ export interface PublishProfileDialogProps {
16
+ editingContextId: string;
17
+ item: GQLTreeItem;
18
+ onClose: () => void;
19
+ }
20
+ export type NewVersionKind = 'Development' | 'Release' | 'Major' | 'Custom';
21
+ export interface GQLGetProfileLastVersionQueryVariables {
22
+ editingContextId: string;
23
+ profileId: string;
24
+ }
25
+ export interface GQLGetProfileLastVersionQueryData {
26
+ viewer: GQLViewer;
27
+ }
28
+ export interface GQLViewer {
29
+ editingContext: GQLEditingContext;
30
+ }
31
+ export interface GQLEditingContext {
32
+ profileLastVersion: GQLProfileLastVersion;
33
+ }
34
+ export interface GQLProfileLastVersion {
35
+ major: string;
36
+ minor: string;
37
+ micro: string;
38
+ }
39
+ export interface PublishProfileDialogState {
40
+ customVersion: string;
41
+ selectedNewVersionKind: NewVersionKind;
42
+ date: string;
43
+ author: string;
44
+ comments: string;
45
+ copyright: string;
46
+ message: string | null;
47
+ }
48
+ export interface PublishProfileVariables {
49
+ input: PublishProfileInput;
50
+ }
51
+ export interface PublishProfileInput {
52
+ id: string;
53
+ editingContextId: string;
54
+ objectId: string;
55
+ version: String;
56
+ comment: String;
57
+ copyright: String;
58
+ author: String;
59
+ date: string;
60
+ saveOCLConstraint: Boolean;
61
+ }
62
+ export interface PublishProfileData {
63
+ publishProfile: PublishProfilePayload;
64
+ }
65
+ export interface PublishProfilePayload {
66
+ __typename: string;
67
+ }
68
+ export interface ErrorPayload extends PublishProfilePayload {
69
+ __typename: 'ErrorPayload';
70
+ message: string;
71
+ }
72
+ //# sourceMappingURL=PublishProfileDialog.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PublishProfileDialog.types.d.ts","sourceRoot":"","sources":["../../../src/profile/publish-profile/PublishProfileDialog.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;iFAYiF;AAEjF,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAEtE,MAAM,WAAW,yBAAyB;IACxC,gBAAgB,EAAE,MAAM,CAAC;IACzB,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,MAAM,MAAM,cAAc,GAAG,aAAa,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAC;AAE5E,MAAM,WAAW,sCAAsC;IACrD,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,iCAAiC;IAChD,MAAM,EAAE,SAAS,CAAC;CACnB;AAED,MAAM,WAAW,SAAS;IACxB,cAAc,EAAE,iBAAiB,CAAC;CACnC;AAED,MAAM,WAAW,iBAAiB;IAChC,kBAAkB,EAAE,qBAAqB,CAAC;CAC3C;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AACD,MAAM,WAAW,yBAAyB;IACxC,aAAa,EAAE,MAAM,CAAC;IACtB,sBAAsB,EAAE,cAAc,CAAC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,mBAAmB,CAAC;CAC5B;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,kBAAkB;IACjC,cAAc,EAAE,qBAAqB,CAAC;CACvC;AAED,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,YAAa,SAAQ,qBAAqB;IACzD,UAAU,EAAE,cAAc,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ /*******************************************************************************
3
+ * Copyright (c) 2021, 2025 CEA LIST, Obeo.
4
+ * This program and the accompanying materials
5
+ * are made available under the terms of the Eclipse Public License v2.0
6
+ * which accompanies this distribution, and is available at
7
+ * https://www.eclipse.org/legal/epl-2.0/
8
+ *
9
+ * SPDX-License-Identifier: EPL-2.0
10
+ *
11
+ * Contributors:
12
+ * Obeo - initial API and implementation
13
+ *******************************************************************************/
14
+ import { TreeItemContextMenuComponentProps } from '@eclipse-sirius/sirius-components-trees';
15
+ export declare const PublishProfileTreeItemContextMenuContribution: import("react").ForwardRefExoticComponent<TreeItemContextMenuComponentProps & import("react").RefAttributes<HTMLLIElement>>;
16
+ //# sourceMappingURL=PublishProfileTreeItemContextMenuContribution.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PublishProfileTreeItemContextMenuContribution.d.ts","sourceRoot":"","sources":["../../../src/profile/publish-profile/PublishProfileTreeItemContextMenuContribution.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;iFAWiF;AACjF,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAU5F,eAAO,MAAM,6CAA6C,6HAoCzD,CAAC"}
@@ -0,0 +1,15 @@
1
+ /*******************************************************************************
2
+ * Copyright (c) 2025 CEA LIST, Obeo.
3
+ * This program and the accompanying materials
4
+ * are made available under the terms of the Eclipse Public License v2.0
5
+ * which accompanies this distribution, and is available at
6
+ * https://www.eclipse.org/legal/epl-2.0/
7
+ *
8
+ * SPDX-License-Identifier: EPL-2.0
9
+ *
10
+ * Contributors:
11
+ * Obeo - initial API and implementation
12
+ *******************************************************************************/
13
+ import { DocumentTransform } from '@apollo/client';
14
+ export declare const customWidgetsDocumentTransform: DocumentTransform;
15
+ //# sourceMappingURL=CustomWidgetsDocumentTransform.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CustomWidgetsDocumentTransform.d.ts","sourceRoot":"","sources":["../../src/widgets/CustomWidgetsDocumentTransform.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;iFAWiF;AAEjF,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAkDnD,eAAO,MAAM,8BAA8B,mBAuJzC,CAAC"}
@@ -0,0 +1,145 @@
1
+ /*****************************************************************************
2
+ * Copyright (c) 2023, 2025 CEA LIST, Obeo.
3
+ *
4
+ * All rights reserved. This program and the accompanying materials
5
+ * are made available under the terms of the Eclipse Public License 2.0
6
+ * which accompanies this distribution, and is available at
7
+ * https://www.eclipse.org/legal/epl-2.0/
8
+ *
9
+ * SPDX-License-Identifier: EPL-2.0
10
+ *
11
+ * Contributors:
12
+ * Obeo - Initial API and implementation
13
+ ***************************************************************************/
14
+ import { GQLMessage } from '@eclipse-sirius/sirius-components-core';
15
+ import { GQLWidget } from '@eclipse-sirius/sirius-components-forms';
16
+ import { GQLReferenceWidgetStyle } from '@eclipse-sirius/sirius-components-widget-reference';
17
+ export type ContainmentReferenceDialogKind = 'REORDER' | 'NEW_INSTANCE';
18
+ export interface GQLContainmentReferenceWidget extends GQLWidget {
19
+ label: string;
20
+ ownerId: string;
21
+ descriptionId: string;
22
+ containmentReference: GQLContainmentReference;
23
+ referenceValues: GQLContainmentReferenceItem[] | null;
24
+ style: GQLReferenceWidgetStyle | null;
25
+ }
26
+ export interface GQLContainmentReference {
27
+ ownerKind: string;
28
+ referenceKind: string;
29
+ isMany: boolean;
30
+ canMove: boolean;
31
+ }
32
+ export interface GQLContainmentReferenceItem {
33
+ id: string;
34
+ label: string;
35
+ kind: string;
36
+ iconURL: string[];
37
+ hasClickAction: boolean;
38
+ }
39
+ export interface GQLGetChildCreationDescriptionsQueryVariables {
40
+ editingContextId: string;
41
+ containerId: string;
42
+ referenceKind?: string;
43
+ descriptionId: string;
44
+ }
45
+ export interface GQLGetChildCreationDescriptionsQueryData {
46
+ viewer: GQLViewer;
47
+ }
48
+ export interface GQLViewer {
49
+ editingContext: GQLEditingContext;
50
+ }
51
+ export interface GQLEditingContext {
52
+ referenceWidgetChildCreationDescriptions: GQLChildCreationDescription[];
53
+ }
54
+ export interface GQLChildCreationDescription {
55
+ id: string;
56
+ label: string;
57
+ iconURL: string;
58
+ }
59
+ export interface GQLObject {
60
+ id: string;
61
+ label: string;
62
+ kind: string;
63
+ }
64
+ export interface GQLCreateElementInReferenceMutationVariables {
65
+ input: GQLCreateElementInReferenceInput;
66
+ }
67
+ export interface GQLCreateElementInReferenceInput {
68
+ id: string;
69
+ editingContextId: string;
70
+ representationId: string;
71
+ referenceWidgetId: string;
72
+ containerId: string;
73
+ domainId: string | null;
74
+ creationDescriptionId: string;
75
+ descriptionId: string;
76
+ }
77
+ export interface GQLCreateElementInReferenceMutationData {
78
+ createElementInReference: GQLCreateElementInReferencePayload;
79
+ }
80
+ export interface GQLCreateElementInReferencePayload {
81
+ __typename: string;
82
+ }
83
+ export interface GQLCreateElementInReferenceSuccessPayload extends GQLCreateElementInReferencePayload {
84
+ id: string;
85
+ object: GQLObject;
86
+ messages: GQLMessage[];
87
+ }
88
+ export interface GQLErrorPayload extends GQLClickContainmentReferenceItemPayload, GQLRemoveContainmentReferenceItemPayload {
89
+ messages: GQLMessage[];
90
+ }
91
+ export interface GQLSuccessPayload extends GQLClickContainmentReferenceItemPayload, GQLRemoveContainmentReferenceItemPayload {
92
+ messages: GQLMessage[];
93
+ }
94
+ export interface GQLClickContainmentReferenceItemMutationData {
95
+ clickContainmentReferenceItem: GQLClickContainmentReferenceItemPayload;
96
+ }
97
+ export interface GQLClickContainmentReferenceItemPayload {
98
+ __typename: string;
99
+ }
100
+ export interface GQLClickContainmentReferenceItemMutationVariables {
101
+ input: GQLClickContainmentReferenceItemInput;
102
+ }
103
+ export interface GQLClickContainmentReferenceItemInput {
104
+ id: string;
105
+ editingContextId: string;
106
+ representationId: string;
107
+ referenceWidgetId: string;
108
+ referenceItemId: string;
109
+ clickEventKind: 'SINGLE_CLICK' | 'DOUBLE_CLICK';
110
+ }
111
+ export interface GQLRemoveContainmentReferenceItemMutationData {
112
+ removeContainmentReferenceItem: GQLRemoveContainmentReferenceItemPayload;
113
+ }
114
+ export interface GQLRemoveContainmentReferenceItemPayload {
115
+ __typename: string;
116
+ }
117
+ export interface GQLRemoveContainmentReferenceItemMutationVariables {
118
+ input: GQLRemoveContainmentReferenceItemInput;
119
+ }
120
+ export interface GQLRemoveContainmentReferenceItemInput {
121
+ id: string;
122
+ editingContextId: string;
123
+ representationId: string;
124
+ referenceWidgetId: string;
125
+ referenceItemId: string;
126
+ }
127
+ export interface GQLMoveContainmentReferenceItemMutationData {
128
+ moveContainmentReferenceItem: GQLMoveContainmentReferenceItemPayload;
129
+ }
130
+ export interface GQLMoveContainmentReferenceItemPayload {
131
+ __typename: string;
132
+ }
133
+ export interface GQLMoveContainmentReferenceItemMutationVariables {
134
+ input: GQLMoveContainmentReferenceItemInput;
135
+ }
136
+ export interface GQLMoveContainmentReferenceItemInput {
137
+ id: string;
138
+ editingContextId: string;
139
+ representationId: string;
140
+ referenceWidgetId: string;
141
+ referenceItemId: string;
142
+ fromIndex: number;
143
+ toIndex: number;
144
+ }
145
+ //# sourceMappingURL=ContainmentReferenceFragment.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContainmentReferenceFragment.types.d.ts","sourceRoot":"","sources":["../../../src/widgets/containmentReference/ContainmentReferenceFragment.types.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,16 @@
1
+ /*****************************************************************************
2
+ * Copyright (c) 2023, 2025 CEA LIST, Obeo.
3
+ *
4
+ * All rights reserved. This program and the accompanying materials
5
+ * are made available under the terms of the Eclipse Public License 2.0
6
+ * which accompanies this distribution, and is available at
7
+ * https://www.eclipse.org/legal/epl-2.0/
8
+ *
9
+ * SPDX-License-Identifier: EPL-2.0
10
+ *
11
+ * Contributors:
12
+ * Obeo - Initial API and implementation
13
+ ***************************************************************************/
14
+ import { SvgIconProps } from '@mui/material/SvgIcon';
15
+ export declare const ContainmentReferenceIcon: (props: SvgIconProps) => import("react/jsx-runtime").JSX.Element;
16
+ //# sourceMappingURL=ContainmentReferenceIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContainmentReferenceIcon.d.ts","sourceRoot":"","sources":["../../../src/widgets/containmentReference/ContainmentReferenceIcon.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;6EAY6E;AAE7E,OAAgB,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE9D,eAAO,MAAM,wBAAwB,UAAW,YAAY,4CAqB3D,CAAC"}