@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.
- package/.prettierrc +22 -0
- package/.project +11 -0
- package/.turbo/cache/2e7de991e3eb5b77-meta.json +1 -0
- package/.turbo/cache/2e7de991e3eb5b77.tar.zst +0 -0
- package/.turbo/cache/6d4efa6c3019818e-meta.json +1 -0
- package/.turbo/cache/6d4efa6c3019818e.tar.zst +0 -0
- package/.turbo/cache/904b84e8ab6fefb1-meta.json +1 -0
- package/.turbo/cache/904b84e8ab6fefb1.tar.zst +0 -0
- package/.turbo/cache/b657accc57a869a6-meta.json +1 -0
- package/.turbo/cache/b657accc57a869a6.tar.zst +0 -0
- package/.turbo/cookies/1.cookie +0 -0
- package/.turbo/cookies/2.cookie +0 -0
- package/.turbo/cookies/3.cookie +0 -0
- package/.turbo/cookies/4.cookie +0 -0
- package/.turbo/cookies/5.cookie +0 -0
- package/.turbo/cookies/6.cookie +0 -0
- package/.turbo/cookies/7.cookie +0 -0
- package/.turbo/cookies/8.cookie +0 -0
- package/.turbo/daemon/8a1f25190e5082e3-turbo.log.2026-04-01 +0 -0
- package/package.json +32 -0
- package/papyrus-web/.env.development +2 -0
- package/papyrus-web/.prettierrc +22 -0
- package/papyrus-web/.turbo/turbo-build.log +30 -0
- package/papyrus-web/.turbo/turbo-format-lint.log +6 -0
- package/papyrus-web/README.adoc +84 -0
- package/papyrus-web/dist/assets/Lato-Black-B_kLSaRn.ttf +0 -0
- package/papyrus-web/dist/assets/Lato-BlackItalic-B2JUbIh8.ttf +0 -0
- package/papyrus-web/dist/assets/Lato-Bold-DBmunEOG.ttf +0 -0
- package/papyrus-web/dist/assets/Lato-BoldItalic-DfTVlc2v.ttf +0 -0
- package/papyrus-web/dist/assets/Lato-Italic-CxPt6gM6.ttf +0 -0
- package/papyrus-web/dist/assets/Lato-Light-Cg7pVZQZ.ttf +0 -0
- package/papyrus-web/dist/assets/Lato-LightItalic-BkbZ6uep.ttf +0 -0
- package/papyrus-web/dist/assets/Lato-Regular-57KsL5Ww.ttf +0 -0
- package/papyrus-web/dist/assets/Lato-Thin-CvSM47fD.ttf +0 -0
- package/papyrus-web/dist/assets/Lato-ThinItalic-9M4CJfMt.ttf +0 -0
- package/papyrus-web/dist/assets/browser-ponyfill-CVpHIrSq.js +2 -0
- package/papyrus-web/dist/assets/index-CjSWMYED.js +6122 -0
- package/papyrus-web/dist/assets/index-DJjGIuFa.css +1 -0
- package/papyrus-web/dist/assets/papyrus-icon-DqmMeq_6.png +0 -0
- package/papyrus-web/dist/favicon.ico +0 -0
- package/papyrus-web/dist/index.html +42 -0
- package/papyrus-web/dist/manifest.json +15 -0
- package/papyrus-web/dist/papyrus.ico +0 -0
- package/papyrus-web/index.html +41 -0
- package/papyrus-web/package.json +104 -0
- package/papyrus-web/public/favicon.ico +0 -0
- package/papyrus-web/public/manifest.json +15 -0
- package/papyrus-web/public/papyrus.ico +0 -0
- package/papyrus-web/src/ReactFlow.css +17 -0
- package/papyrus-web/src/core/PapyrusIcon.tsx +17 -0
- package/papyrus-web/src/core/PapyrusNavigationBarIcon.tsx +46 -0
- package/papyrus-web/src/core/URL.ts +34 -0
- package/papyrus-web/src/extensions/ExtensionRegistryMergeStrategy.ts +50 -0
- package/papyrus-web/src/fonts/Lato/Lato-Black.ttf +0 -0
- package/papyrus-web/src/fonts/Lato/Lato-BlackItalic.ttf +0 -0
- package/papyrus-web/src/fonts/Lato/Lato-Bold.ttf +0 -0
- package/papyrus-web/src/fonts/Lato/Lato-BoldItalic.ttf +0 -0
- package/papyrus-web/src/fonts/Lato/Lato-Italic.ttf +0 -0
- package/papyrus-web/src/fonts/Lato/Lato-Light.ttf +0 -0
- package/papyrus-web/src/fonts/Lato/Lato-LightItalic.ttf +0 -0
- package/papyrus-web/src/fonts/Lato/Lato-Regular.ttf +0 -0
- package/papyrus-web/src/fonts/Lato/Lato-Thin.ttf +0 -0
- package/papyrus-web/src/fonts/Lato/Lato-ThinItalic.ttf +0 -0
- package/papyrus-web/src/fonts/Lato/OFL.txt +93 -0
- package/papyrus-web/src/fonts.css +81 -0
- package/papyrus-web/src/footer/Footer.tsx +50 -0
- package/papyrus-web/src/icons/papyrus-icon.png +0 -0
- package/papyrus-web/src/index.tsx +325 -0
- package/papyrus-web/src/portals.css +16 -0
- package/papyrus-web/src/react-app-env.d.ts +1 -0
- package/papyrus-web/src/reset.css +218 -0
- package/papyrus-web/src/variables.css +111 -0
- package/papyrus-web/src/vite-env.d.ts +1 -0
- package/papyrus-web/tsconfig.json +34 -0
- package/papyrus-web/vite.config.js +24 -0
- package/papyrus-web-components/.prettierrc +22 -0
- package/papyrus-web-components/.turbo/turbo-build.log +77 -0
- package/papyrus-web-components/.turbo/turbo-format-lint.log +6 -0
- package/papyrus-web-components/README.adoc +13 -0
- package/papyrus-web-components/dist/diagram-tools/EditProjectView.types.d.ts +48 -0
- package/papyrus-web-components/dist/diagram-tools/EditProjectView.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/diagram-tools/FilterableSortableList.d.ts +3 -0
- package/papyrus-web-components/dist/diagram-tools/FilterableSortableList.d.ts.map +1 -0
- package/papyrus-web-components/dist/diagram-tools/FilterableSortableList.types.d.ts +33 -0
- package/papyrus-web-components/dist/diagram-tools/FilterableSortableList.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/diagram-tools/ModelBrowserFilterBar.d.ts +15 -0
- package/papyrus-web-components/dist/diagram-tools/ModelBrowserFilterBar.d.ts.map +1 -0
- package/papyrus-web-components/dist/diagram-tools/ModelBrowserFilterBar.types.d.ts +20 -0
- package/papyrus-web-components/dist/diagram-tools/ModelBrowserFilterBar.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/diagram-tools/PapyrusPopupToolContribution.d.ts +3 -0
- package/papyrus-web-components/dist/diagram-tools/PapyrusPopupToolContribution.d.ts.map +1 -0
- package/papyrus-web-components/dist/diagram-tools/PapyrusPopupToolContribution.types.d.ts +53 -0
- package/papyrus-web-components/dist/diagram-tools/PapyrusPopupToolContribution.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/diagram-tools/TransferModal.d.ts +3 -0
- package/papyrus-web-components/dist/diagram-tools/TransferModal.d.ts.map +1 -0
- package/papyrus-web-components/dist/diagram-tools/TransferModal.types.d.ts +32 -0
- package/papyrus-web-components/dist/diagram-tools/TransferModal.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/index.d.ts +61 -0
- package/papyrus-web-components/dist/index.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/NodesDocumentTransform.d.ts +15 -0
- package/papyrus-web-components/dist/nodes/NodesDocumentTransform.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/cuboid/CuboidNode.d.ts +18 -0
- package/papyrus-web-components/dist/nodes/cuboid/CuboidNode.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/cuboid/CuboidNode.types.d.ts +29 -0
- package/papyrus-web-components/dist/nodes/cuboid/CuboidNode.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/cuboid/CuboidNodeConverter.d.ts +21 -0
- package/papyrus-web-components/dist/nodes/cuboid/CuboidNodeConverter.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/cuboid/CuboidNodeLayoutHandler.d.ts +23 -0
- package/papyrus-web-components/dist/nodes/cuboid/CuboidNodeLayoutHandler.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/cuboid/CuboidNodeListConverter.d.ts +21 -0
- package/papyrus-web-components/dist/nodes/cuboid/CuboidNodeListConverter.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/cuboid/CuboidNodeListLayoutHandler.d.ts +23 -0
- package/papyrus-web-components/dist/nodes/cuboid/CuboidNodeListLayoutHandler.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/customImage/CustomImageNode.d.ts +3 -0
- package/papyrus-web-components/dist/nodes/customImage/CustomImageNode.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/customImage/CustomImageNode.types.d.ts +34 -0
- package/papyrus-web-components/dist/nodes/customImage/CustomImageNode.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/customImage/CustomImageNodeConverter.d.ts +22 -0
- package/papyrus-web-components/dist/nodes/customImage/CustomImageNodeConverter.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/customImage/CustomImageNodeLayoutHandler.d.ts +23 -0
- package/papyrus-web-components/dist/nodes/customImage/CustomImageNodeLayoutHandler.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/ellipse/EllipseNode.d.ts +15 -0
- package/papyrus-web-components/dist/nodes/ellipse/EllipseNode.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/ellipse/EllipseNode.types.d.ts +33 -0
- package/papyrus-web-components/dist/nodes/ellipse/EllipseNode.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/ellipse/EllipseNodeConverter.d.ts +23 -0
- package/papyrus-web-components/dist/nodes/ellipse/EllipseNodeConverter.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/ellipse/EllipseNodeLayoutHandler.d.ts +25 -0
- package/papyrus-web-components/dist/nodes/ellipse/EllipseNodeLayoutHandler.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/innerFlag/InnerFlagNode.d.ts +18 -0
- package/papyrus-web-components/dist/nodes/innerFlag/InnerFlagNode.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/innerFlag/InnerFlagNode.types.d.ts +23 -0
- package/papyrus-web-components/dist/nodes/innerFlag/InnerFlagNode.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/innerFlag/InnerFlagNodeConverter.d.ts +21 -0
- package/papyrus-web-components/dist/nodes/innerFlag/InnerFlagNodeConverter.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/innerFlag/InnerFlagNodeLayoutHandler.d.ts +21 -0
- package/papyrus-web-components/dist/nodes/innerFlag/InnerFlagNodeLayoutHandler.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/note/NoteLabel.d.ts +18 -0
- package/papyrus-web-components/dist/nodes/note/NoteLabel.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/note/NoteNode.d.ts +19 -0
- package/papyrus-web-components/dist/nodes/note/NoteNode.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/note/NoteNode.types.d.ts +41 -0
- package/papyrus-web-components/dist/nodes/note/NoteNode.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/note/NoteNodeConverter.d.ts +21 -0
- package/papyrus-web-components/dist/nodes/note/NoteNodeConverter.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/note/NoteNodeLayoutHandler.d.ts +21 -0
- package/papyrus-web-components/dist/nodes/note/NoteNodeLayoutHandler.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/outerFlag/OuterFlagNode.d.ts +18 -0
- package/papyrus-web-components/dist/nodes/outerFlag/OuterFlagNode.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/outerFlag/OuterFlagNode.types.d.ts +23 -0
- package/papyrus-web-components/dist/nodes/outerFlag/OuterFlagNode.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/outerFlag/OuterFlagNodeConverter.d.ts +21 -0
- package/papyrus-web-components/dist/nodes/outerFlag/OuterFlagNodeConverter.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/outerFlag/OuterFlagNodeLayoutHandler.d.ts +21 -0
- package/papyrus-web-components/dist/nodes/outerFlag/OuterFlagNodeLayoutHandler.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/package/PackageNode.d.ts +18 -0
- package/papyrus-web-components/dist/nodes/package/PackageNode.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/package/PackageNode.types.d.ts +29 -0
- package/papyrus-web-components/dist/nodes/package/PackageNode.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/package/PackageNodeConverter.d.ts +21 -0
- package/papyrus-web-components/dist/nodes/package/PackageNodeConverter.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/package/PackageNodeLayoutHandler.d.ts +23 -0
- package/papyrus-web-components/dist/nodes/package/PackageNodeLayoutHandler.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/package/PackageNodeListConverter.d.ts +21 -0
- package/papyrus-web-components/dist/nodes/package/PackageNodeListConverter.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/package/PackageNodeListLayoutHandler.d.ts +24 -0
- package/papyrus-web-components/dist/nodes/package/PackageNodeListLayoutHandler.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNode.d.ts +18 -0
- package/papyrus-web-components/dist/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNode.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNode.types.d.ts +23 -0
- package/papyrus-web-components/dist/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNode.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNodeConverter.d.ts +21 -0
- package/papyrus-web-components/dist/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNodeConverter.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNodeLayoutHandler.d.ts +20 -0
- package/papyrus-web-components/dist/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNodeLayoutHandler.d.ts.map +1 -0
- package/papyrus-web-components/dist/papyrus-web-components.es.js +11710 -0
- package/papyrus-web-components/dist/papyrus-web-components.umd.js +11664 -0
- package/papyrus-web-components/dist/profile/apply-profile/ApplyProfileModal.d.ts +3 -0
- package/papyrus-web-components/dist/profile/apply-profile/ApplyProfileModal.d.ts.map +1 -0
- package/papyrus-web-components/dist/profile/apply-profile/ApplyProfileModal.types.d.ts +55 -0
- package/papyrus-web-components/dist/profile/apply-profile/ApplyProfileModal.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/profile/apply-profile/ApplyProfileModalMachine.d.ts +65 -0
- package/papyrus-web-components/dist/profile/apply-profile/ApplyProfileModalMachine.d.ts.map +1 -0
- package/papyrus-web-components/dist/profile/apply-profile/UMLModelTreeItemContextMenuContribution.d.ts +16 -0
- package/papyrus-web-components/dist/profile/apply-profile/UMLModelTreeItemContextMenuContribution.d.ts.map +1 -0
- package/papyrus-web-components/dist/profile/apply-stereotype/ApplyStereotypeModal.d.ts +15 -0
- package/papyrus-web-components/dist/profile/apply-stereotype/ApplyStereotypeModal.d.ts.map +1 -0
- package/papyrus-web-components/dist/profile/apply-stereotype/ApplyStereotypeModal.types.d.ts +48 -0
- package/papyrus-web-components/dist/profile/apply-stereotype/ApplyStereotypeModal.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/profile/apply-stereotype/ApplyStereotypeModalMachine.d.ts +65 -0
- package/papyrus-web-components/dist/profile/apply-stereotype/ApplyStereotypeModalMachine.d.ts.map +1 -0
- package/papyrus-web-components/dist/profile/apply-stereotype/UMLElementTreeItemContextMenuContribution.d.ts +16 -0
- package/papyrus-web-components/dist/profile/apply-stereotype/UMLElementTreeItemContextMenuContribution.d.ts.map +1 -0
- package/papyrus-web-components/dist/profile/publish-profile/PublishProfileDialog.d.ts +16 -0
- package/papyrus-web-components/dist/profile/publish-profile/PublishProfileDialog.d.ts.map +1 -0
- package/papyrus-web-components/dist/profile/publish-profile/PublishProfileDialog.types.d.ts +72 -0
- package/papyrus-web-components/dist/profile/publish-profile/PublishProfileDialog.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/profile/publish-profile/PublishProfileTreeItemContextMenuContribution.d.ts +16 -0
- package/papyrus-web-components/dist/profile/publish-profile/PublishProfileTreeItemContextMenuContribution.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/CustomWidgetsDocumentTransform.d.ts +15 -0
- package/papyrus-web-components/dist/widgets/CustomWidgetsDocumentTransform.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/containmentReference/ContainmentReferenceFragment.types.d.ts +145 -0
- package/papyrus-web-components/dist/widgets/containmentReference/ContainmentReferenceFragment.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/containmentReference/ContainmentReferenceIcon.d.ts +16 -0
- package/papyrus-web-components/dist/widgets/containmentReference/ContainmentReferenceIcon.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/containmentReference/ContainmentReferencePreview.d.ts +19 -0
- package/papyrus-web-components/dist/widgets/containmentReference/ContainmentReferencePreview.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/containmentReference/ContainmentReferenceSection.d.ts +21 -0
- package/papyrus-web-components/dist/widgets/containmentReference/ContainmentReferenceSection.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/containmentReference/ReorderIcon.d.ts +18 -0
- package/papyrus-web-components/dist/widgets/containmentReference/ReorderIcon.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/containmentReference/dialogs/CreateNewChildDialog.d.ts +17 -0
- package/papyrus-web-components/dist/widgets/containmentReference/dialogs/CreateNewChildDialog.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/containmentReference/dialogs/CreateNewChildDialog.types.d.ts +23 -0
- package/papyrus-web-components/dist/widgets/containmentReference/dialogs/CreateNewChildDialog.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/customImage/AddImageIcon.d.ts +17 -0
- package/papyrus-web-components/dist/widgets/customImage/AddImageIcon.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/customImage/CustomImageFragment.types.d.ts +83 -0
- package/papyrus-web-components/dist/widgets/customImage/CustomImageFragment.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/customImage/CustomImageIcon.d.ts +17 -0
- package/papyrus-web-components/dist/widgets/customImage/CustomImageIcon.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/customImage/CustomImagePreview.d.ts +20 -0
- package/papyrus-web-components/dist/widgets/customImage/CustomImagePreview.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/customImage/CustomImageSection.d.ts +21 -0
- package/papyrus-web-components/dist/widgets/customImage/CustomImageSection.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/dialogs/ReorderItemsDialog.d.ts +17 -0
- package/papyrus-web-components/dist/widgets/dialogs/ReorderItemsDialog.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/dialogs/ReorderItemsDialog.types.d.ts +29 -0
- package/papyrus-web-components/dist/widgets/dialogs/ReorderItemsDialog.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/languageExpression/LanguageExpressionFragment.types.d.ts +97 -0
- package/papyrus-web-components/dist/widgets/languageExpression/LanguageExpressionFragment.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/languageExpression/LanguageExpressionIcon.d.ts +16 -0
- package/papyrus-web-components/dist/widgets/languageExpression/LanguageExpressionIcon.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/languageExpression/LanguageExpressionPreview.d.ts +6 -0
- package/papyrus-web-components/dist/widgets/languageExpression/LanguageExpressionPreview.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/languageExpression/LanguageExpressionSection.d.ts +21 -0
- package/papyrus-web-components/dist/widgets/languageExpression/LanguageExpressionSection.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/primitiveList/PrimitiveListWidgetPreview.d.ts +19 -0
- package/papyrus-web-components/dist/widgets/primitiveList/PrimitiveListWidgetPreview.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/primitiveList/PrimitiveListWidgetPropertySection.d.ts +7 -0
- package/papyrus-web-components/dist/widgets/primitiveList/PrimitiveListWidgetPropertySection.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/primitiveList/PrimitiveListWidgetPropertySection.types.d.ts +135 -0
- package/papyrus-web-components/dist/widgets/primitiveList/PrimitiveListWidgetPropertySection.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/primitiveRadio/PrimitiveRadioFragment.type.d.ts +42 -0
- package/papyrus-web-components/dist/widgets/primitiveRadio/PrimitiveRadioFragment.type.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/primitiveRadio/PrimitiveRadioIcon.d.ts +16 -0
- package/papyrus-web-components/dist/widgets/primitiveRadio/PrimitiveRadioIcon.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/primitiveRadio/PrimitiveRadioPreview.d.ts +19 -0
- package/papyrus-web-components/dist/widgets/primitiveRadio/PrimitiveRadioPreview.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/primitiveRadio/PrimitiveRadioSection.d.ts +18 -0
- package/papyrus-web-components/dist/widgets/primitiveRadio/PrimitiveRadioSection.d.ts.map +1 -0
- package/papyrus-web-components/package.json +105 -0
- package/papyrus-web-components/src/diagram-tools/EditProjectView.types.ts +56 -0
- package/papyrus-web-components/src/diagram-tools/FilterableSortableList.tsx +172 -0
- package/papyrus-web-components/src/diagram-tools/FilterableSortableList.types.ts +34 -0
- package/papyrus-web-components/src/diagram-tools/ModelBrowserFilterBar.tsx +73 -0
- package/papyrus-web-components/src/diagram-tools/ModelBrowserFilterBar.types.ts +19 -0
- package/papyrus-web-components/src/diagram-tools/PapyrusPopupToolContribution.tsx +206 -0
- package/papyrus-web-components/src/diagram-tools/PapyrusPopupToolContribution.types.ts +61 -0
- package/papyrus-web-components/src/diagram-tools/TransferModal.tsx +235 -0
- package/papyrus-web-components/src/diagram-tools/TransferModal.types.ts +35 -0
- package/papyrus-web-components/src/index.ts +61 -0
- package/papyrus-web-components/src/nodes/NodesDocumentTransform.ts +242 -0
- package/papyrus-web-components/src/nodes/cuboid/CuboidNode.tsx +183 -0
- package/papyrus-web-components/src/nodes/cuboid/CuboidNode.types.ts +30 -0
- package/papyrus-web-components/src/nodes/cuboid/CuboidNodeConverter.ts +201 -0
- package/papyrus-web-components/src/nodes/cuboid/CuboidNodeLayoutHandler.ts +283 -0
- package/papyrus-web-components/src/nodes/cuboid/CuboidNodeListConverter.ts +238 -0
- package/papyrus-web-components/src/nodes/cuboid/CuboidNodeListLayoutHandler.ts +260 -0
- package/papyrus-web-components/src/nodes/customImage/CustomImageNode.tsx +153 -0
- package/papyrus-web-components/src/nodes/customImage/CustomImageNode.types.ts +37 -0
- package/papyrus-web-components/src/nodes/customImage/CustomImageNodeConverter.ts +212 -0
- package/papyrus-web-components/src/nodes/customImage/CustomImageNodeLayoutHandler.ts +53 -0
- package/papyrus-web-components/src/nodes/ellipse/EllipseNode.tsx +119 -0
- package/papyrus-web-components/src/nodes/ellipse/EllipseNode.types.ts +35 -0
- package/papyrus-web-components/src/nodes/ellipse/EllipseNodeConverter.ts +208 -0
- package/papyrus-web-components/src/nodes/ellipse/EllipseNodeLayoutHandler.ts +284 -0
- package/papyrus-web-components/src/nodes/innerFlag/InnerFlagNode.tsx +156 -0
- package/papyrus-web-components/src/nodes/innerFlag/InnerFlagNode.types.ts +23 -0
- package/papyrus-web-components/src/nodes/innerFlag/InnerFlagNodeConverter.ts +200 -0
- package/papyrus-web-components/src/nodes/innerFlag/InnerFlagNodeLayoutHandler.ts +118 -0
- package/papyrus-web-components/src/nodes/note/NoteLabel.tsx +146 -0
- package/papyrus-web-components/src/nodes/note/NoteNode.tsx +168 -0
- package/papyrus-web-components/src/nodes/note/NoteNode.types.ts +43 -0
- package/papyrus-web-components/src/nodes/note/NoteNodeConverter.ts +200 -0
- package/papyrus-web-components/src/nodes/note/NoteNodeLayoutHandler.ts +85 -0
- package/papyrus-web-components/src/nodes/outerFlag/OuterFlagNode.tsx +153 -0
- package/papyrus-web-components/src/nodes/outerFlag/OuterFlagNode.types.ts +23 -0
- package/papyrus-web-components/src/nodes/outerFlag/OuterFlagNodeConverter.ts +200 -0
- package/papyrus-web-components/src/nodes/outerFlag/OuterFlagNodeLayoutHandler.ts +116 -0
- package/papyrus-web-components/src/nodes/package/PackageNode.tsx +200 -0
- package/papyrus-web-components/src/nodes/package/PackageNode.types.ts +30 -0
- package/papyrus-web-components/src/nodes/package/PackageNodeConverter.ts +243 -0
- package/papyrus-web-components/src/nodes/package/PackageNodeLayoutHandler.ts +229 -0
- package/papyrus-web-components/src/nodes/package/PackageNodeListConverter.ts +254 -0
- package/papyrus-web-components/src/nodes/package/PackageNodeListLayoutHandler.ts +253 -0
- package/papyrus-web-components/src/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNode.tsx +155 -0
- package/papyrus-web-components/src/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNode.types.ts +23 -0
- package/papyrus-web-components/src/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNodeConverter.ts +205 -0
- package/papyrus-web-components/src/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNodeLayoutHandler.ts +55 -0
- package/papyrus-web-components/src/profile/apply-profile/ApplyProfileModal.tsx +238 -0
- package/papyrus-web-components/src/profile/apply-profile/ApplyProfileModal.types.tsx +65 -0
- package/papyrus-web-components/src/profile/apply-profile/ApplyProfileModalMachine.tsx +175 -0
- package/papyrus-web-components/src/profile/apply-profile/UMLModelTreeItemContextMenuContribution.tsx +74 -0
- package/papyrus-web-components/src/profile/apply-stereotype/ApplyStereotypeModal.tsx +248 -0
- package/papyrus-web-components/src/profile/apply-stereotype/ApplyStereotypeModal.types.ts +57 -0
- package/papyrus-web-components/src/profile/apply-stereotype/ApplyStereotypeModalMachine.ts +185 -0
- package/papyrus-web-components/src/profile/apply-stereotype/UMLElementTreeItemContextMenuContribution.tsx +70 -0
- package/papyrus-web-components/src/profile/publish-profile/PublishProfileDialog.tsx +380 -0
- package/papyrus-web-components/src/profile/publish-profile/PublishProfileDialog.types.ts +84 -0
- package/papyrus-web-components/src/profile/publish-profile/PublishProfileTreeItemContextMenuContribution.tsx +59 -0
- package/papyrus-web-components/src/widgets/CustomWidgetsDocumentTransform.ts +215 -0
- package/papyrus-web-components/src/widgets/containmentReference/ContainmentReferenceFragment.types.ts +178 -0
- package/papyrus-web-components/src/widgets/containmentReference/ContainmentReferenceIcon.tsx +38 -0
- package/papyrus-web-components/src/widgets/containmentReference/ContainmentReferencePreview.tsx +106 -0
- package/papyrus-web-components/src/widgets/containmentReference/ContainmentReferenceSection.tsx +508 -0
- package/papyrus-web-components/src/widgets/containmentReference/ReorderIcon.tsx +31 -0
- package/papyrus-web-components/src/widgets/containmentReference/dialogs/CreateNewChildDialog.tsx +104 -0
- package/papyrus-web-components/src/widgets/containmentReference/dialogs/CreateNewChildDialog.types.ts +24 -0
- package/papyrus-web-components/src/widgets/customImage/AddImageIcon.tsx +35 -0
- package/papyrus-web-components/src/widgets/customImage/CustomImageFragment.types.ts +98 -0
- package/papyrus-web-components/src/widgets/customImage/CustomImageIcon.tsx +34 -0
- package/papyrus-web-components/src/widgets/customImage/CustomImagePreview.tsx +87 -0
- package/papyrus-web-components/src/widgets/customImage/CustomImageSection.tsx +348 -0
- package/papyrus-web-components/src/widgets/dialogs/ReorderItemsDialog.tsx +145 -0
- package/papyrus-web-components/src/widgets/dialogs/ReorderItemsDialog.types.ts +30 -0
- package/papyrus-web-components/src/widgets/languageExpression/LanguageExpressionFragment.types.ts +117 -0
- package/papyrus-web-components/src/widgets/languageExpression/LanguageExpressionIcon.tsx +36 -0
- package/papyrus-web-components/src/widgets/languageExpression/LanguageExpressionPreview.tsx +163 -0
- package/papyrus-web-components/src/widgets/languageExpression/LanguageExpressionSection.tsx +548 -0
- package/papyrus-web-components/src/widgets/primitiveList/PrimitiveListWidgetPreview.tsx +158 -0
- package/papyrus-web-components/src/widgets/primitiveList/PrimitiveListWidgetPropertySection.tsx +616 -0
- package/papyrus-web-components/src/widgets/primitiveList/PrimitiveListWidgetPropertySection.types.ts +162 -0
- package/papyrus-web-components/src/widgets/primitiveRadio/PrimitiveRadioFragment.type.ts +49 -0
- package/papyrus-web-components/src/widgets/primitiveRadio/PrimitiveRadioIcon.tsx +36 -0
- package/papyrus-web-components/src/widgets/primitiveRadio/PrimitiveRadioPreview.tsx +88 -0
- package/papyrus-web-components/src/widgets/primitiveRadio/PrimitiveRadioSection.tsx +128 -0
- package/papyrus-web-components/tsconfig.json +14 -0
- package/papyrus-web-components/vite.config.js +26 -0
- package/turbo.json +31 -0
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/*******************************************************************************
|
|
2
|
+
* Copyright (c) 2019, 2020 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
|
+
|
|
14
|
+
html {
|
|
15
|
+
/* Primary Colors */
|
|
16
|
+
--daintree: #261e58;
|
|
17
|
+
--blue-lagoon: #be1a78;
|
|
18
|
+
--bondi-blue: #7269a4;
|
|
19
|
+
--white: #ffffff;
|
|
20
|
+
|
|
21
|
+
/* Secondary colors */
|
|
22
|
+
--blue: #383838;
|
|
23
|
+
--green: #079459;
|
|
24
|
+
--red: #de1000;
|
|
25
|
+
--yellow: #fbb800;
|
|
26
|
+
|
|
27
|
+
/* Variants for Daintree */
|
|
28
|
+
--daintree-lighten-95: #f1f0fa;
|
|
29
|
+
--daintree-lighten-90: #e4e1f5;
|
|
30
|
+
--daintree-lighten-80: #c9c4eb;
|
|
31
|
+
--daintree-lighten-70: #afa7e1;
|
|
32
|
+
--daintree-lighten-40: #5f4fc3;
|
|
33
|
+
--daintree-lighten-30: #4b3baf;
|
|
34
|
+
--daintree-lighten-20: #3f3192;
|
|
35
|
+
--daintree-lighten-10: #322775;
|
|
36
|
+
/* --daintree */
|
|
37
|
+
|
|
38
|
+
/* Variants for Blue Lagoon */
|
|
39
|
+
--blue-lagoon-lighten-95: #fdf2f8;
|
|
40
|
+
--blue-lagoon-lighten-90: #fbe5f1;
|
|
41
|
+
--blue-lagoon-lighten-60: #f097ca;
|
|
42
|
+
--blue-lagoon-lighten-30: #e649a3;
|
|
43
|
+
--blue-lagoon-lighten-20: #e23096;
|
|
44
|
+
--blue-lagoon-lighten-10: #d71d88;
|
|
45
|
+
/* --blue-lagoon */
|
|
46
|
+
--blue-lagoon-darken-10: #ab176c;
|
|
47
|
+
--blue-lagoon-darken-20: #981460;
|
|
48
|
+
--blue-lagoon-darken-30: #841254;
|
|
49
|
+
--blue-lagoon-darken-60: #4c0a30;
|
|
50
|
+
--blue-lagoon-darken-90: #12020c;
|
|
51
|
+
|
|
52
|
+
/* Variants for Bondi blue */
|
|
53
|
+
|
|
54
|
+
/* Variants for Blue */
|
|
55
|
+
--blue-lighten-90: #ebebeb;
|
|
56
|
+
--blue-lighten-60: #afafaf;
|
|
57
|
+
--blue-lighten-30: #737373;
|
|
58
|
+
--blue-lighten-10: #4b4b4b;
|
|
59
|
+
/* --blue */
|
|
60
|
+
--blue-darken-10: #323232;
|
|
61
|
+
--blue-darken-20: #2c2c2c;
|
|
62
|
+
--blue-darken-30: #272727;
|
|
63
|
+
--blue-darken-60: #161616;
|
|
64
|
+
|
|
65
|
+
/* Variants for Green */
|
|
66
|
+
--green-lighten-90: #e6f4ee;
|
|
67
|
+
--green-lighten-60: #9cd4bd;
|
|
68
|
+
--green-lighten-30: #51b48b;
|
|
69
|
+
/* --green */
|
|
70
|
+
--green-darken-10: #05683e;
|
|
71
|
+
--green-darken-30: #033b24;
|
|
72
|
+
--green-darken-90: #010f09;
|
|
73
|
+
|
|
74
|
+
/* Variants for Red */
|
|
75
|
+
--red-lighten-90: #fce7e5;
|
|
76
|
+
--red-lighten-60: #f29f99;
|
|
77
|
+
--red-lighten-30: #e8584c;
|
|
78
|
+
--red-lighten-20: #e54033;
|
|
79
|
+
--red-lighten-10: #e12819;
|
|
80
|
+
/* --red */
|
|
81
|
+
--red-darken-10: #c80e00;
|
|
82
|
+
--red-darken-30: #9b0b00;
|
|
83
|
+
--red-darken-60: #590600;
|
|
84
|
+
--red-darken-90: #160200;
|
|
85
|
+
|
|
86
|
+
/* Variants for Yellow */
|
|
87
|
+
--yellow-lighten-100: #fff8e5;
|
|
88
|
+
--yellow-lighten-60: #fde399;
|
|
89
|
+
--yellow-lighten-30: #fccd4c;
|
|
90
|
+
/* --yellow */
|
|
91
|
+
--yellow-darken-10: #b08100;
|
|
92
|
+
--yellow-darken-30: #644a00;
|
|
93
|
+
--yellow-darken-90: #191200;
|
|
94
|
+
|
|
95
|
+
/* TYPOGRAPHY */
|
|
96
|
+
--font-family: Lato, 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
97
|
+
|
|
98
|
+
--font-weight-bold: bold;
|
|
99
|
+
--font-weight-600: 600;
|
|
100
|
+
--font-weight-default: normal;
|
|
101
|
+
|
|
102
|
+
--font-size-1: 32px;
|
|
103
|
+
--font-size-2: 24px;
|
|
104
|
+
--font-size-3: 20px;
|
|
105
|
+
--font-size-4: 16px;
|
|
106
|
+
--font-size-5: 14px;
|
|
107
|
+
--font-size-6: 12px;
|
|
108
|
+
|
|
109
|
+
--line-height-default: 1.5;
|
|
110
|
+
--line-height-1: 32px;
|
|
111
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"declaration": true,
|
|
4
|
+
"baseUrl": "./src",
|
|
5
|
+
"declarationDir": "build",
|
|
6
|
+
"module": "esnext",
|
|
7
|
+
"target": "ES2019",
|
|
8
|
+
"lib": ["es6", "dom", "dom.iterable", "es2016", "es2017", "ES2019"],
|
|
9
|
+
"jsx": "react-jsx",
|
|
10
|
+
"sourceMap": true,
|
|
11
|
+
"moduleResolution": "node",
|
|
12
|
+
"allowSyntheticDefaultImports": true,
|
|
13
|
+
"esModuleInterop": true,
|
|
14
|
+
"noUnusedLocals": true,
|
|
15
|
+
"types": ["node", "reflect-metadata", "jest"],
|
|
16
|
+
"resolveJsonModule": true,
|
|
17
|
+
"allowJs": true,
|
|
18
|
+
"skipLibCheck": true,
|
|
19
|
+
"forceConsistentCasingInFileNames": true,
|
|
20
|
+
"isolatedModules": true,
|
|
21
|
+
"noEmit": true,
|
|
22
|
+
"noFallthroughCasesInSwitch": true,
|
|
23
|
+
"strict": false
|
|
24
|
+
},
|
|
25
|
+
"include": ["src/**/*"],
|
|
26
|
+
"exclude": [
|
|
27
|
+
"node_modules",
|
|
28
|
+
"build",
|
|
29
|
+
"src/**/*.stories.tsx",
|
|
30
|
+
"src/**/*.stories.js",
|
|
31
|
+
"src/**/*.test.tsx",
|
|
32
|
+
"src/**/*.test.js"
|
|
33
|
+
]
|
|
34
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import react from '@vitejs/plugin-react';
|
|
2
|
+
import { defineConfig, loadEnv } from 'vite';
|
|
3
|
+
|
|
4
|
+
export default defineConfig(({ mode }) => ({
|
|
5
|
+
plugins: [react()],
|
|
6
|
+
build: {
|
|
7
|
+
minify: mode !== 'development',
|
|
8
|
+
},
|
|
9
|
+
// https://github.com/vitejs/vite/issues/12423#issuecomment-2080351394
|
|
10
|
+
optimizeDeps: {
|
|
11
|
+
include: ['@mui/material/Tooltip'],
|
|
12
|
+
},
|
|
13
|
+
test: {
|
|
14
|
+
environment: 'jsdom',
|
|
15
|
+
coverage: {
|
|
16
|
+
reporter: ['text', 'html'],
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
//We define the process.env to avoid 'Uncaught ReferenceError: process is not defined'.
|
|
20
|
+
//Dependencies (such as react-trello) might expect environment variables to be defined (REDUX_LOGGING in this case).
|
|
21
|
+
define: {
|
|
22
|
+
'process.env': { ...process.env, ...loadEnv(mode, process.cwd()) },
|
|
23
|
+
},
|
|
24
|
+
}));
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"printWidth": 120,
|
|
3
|
+
"singleQuote": true,
|
|
4
|
+
"bracketSameLine": true,
|
|
5
|
+
"useTabs": false,
|
|
6
|
+
"tabWidth": 2,
|
|
7
|
+
"semi": true,
|
|
8
|
+
"overrides": [
|
|
9
|
+
{
|
|
10
|
+
"files": "*.js",
|
|
11
|
+
"options": {
|
|
12
|
+
"parser": "babel"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"files": "*.css",
|
|
17
|
+
"options": {
|
|
18
|
+
"parser": "css"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
> @eclipse-papyrus/papyrus-web-components@2026.2.0 build
|
|
4
|
+
> vite build && tsc
|
|
5
|
+
|
|
6
|
+
[1G[0K[36mvite v7.1.1 [32mbuilding for production...[36m[39m
|
|
7
|
+
[2K[1Gtransforming (1) [2msrc/index.ts[22m[2K[1Gtransforming (51) [2msrc/widgets/containmentReference/ReorderIcon.tsx[22m[2K[1G[2K[1G[2K[1G[2K[1Gtransforming (159) [2m../node_modules/d3-dispatch/src/dispatch.js[22m[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[32m✓[39m 257 modules transformed.
|
|
8
|
+
[2K[1Grendering chunks (1)...[2K[1G[2K[1Gcomputing gzip size (0)...[2K[1Gcomputing gzip size (1)...[2K[1G[2mdist/[22m[36mpapyrus-web-components.es.js [39m[1m[2m418.32 kB[22m[1m[22m[2m │ gzip: 78.16 kB[22m
|
|
9
|
+
[2K[1G[33mNo name was provided for external module "react/jsx-runtime" in "output.globals" – guessing "jsxRuntime".[39m
|
|
10
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/SvgIcon" in "output.globals" – guessing "SvgIcon".[39m
|
|
11
|
+
[2K[1G[33mNo name was provided for external module "@eclipse-sirius/sirius-components-core" in "output.globals" – guessing "siriusComponentsCore".[39m
|
|
12
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/Chip" in "output.globals" – guessing "Chip".[39m
|
|
13
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/IconButton" in "output.globals" – guessing "IconButton".[39m
|
|
14
|
+
[2K[1G[33mNo name was provided for external module "@mui/icons-material/Add" in "output.globals" – guessing "AddIcon".[39m
|
|
15
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/Typography" in "output.globals" – guessing "Typography".[39m
|
|
16
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/styles" in "output.globals" – guessing "styles".[39m
|
|
17
|
+
[2K[1G[33mNo name was provided for external module "react" in "output.globals" – guessing "React".[39m
|
|
18
|
+
[2K[1G[33mNo name was provided for external module "@mui/icons-material/HelpOutlineOutlined" in "output.globals" – guessing "HelpOutlineOutlined".[39m
|
|
19
|
+
[2K[1G[33mNo name was provided for external module "@eclipse-sirius/sirius-components-diagrams" in "output.globals" – guessing "siriusComponentsDiagrams".[39m
|
|
20
|
+
[2K[1G[33mNo name was provided for external module "@xyflow/react" in "output.globals" – guessing "react".[39m
|
|
21
|
+
[2K[1G[33mNo name was provided for external module "@eclipse-sirius/sirius-components-forms" in "output.globals" – guessing "siriusComponentsForms".[39m
|
|
22
|
+
[2K[1G[33mNo name was provided for external module "@mui/icons-material/Delete" in "output.globals" – guessing "DeleteIcon".[39m
|
|
23
|
+
[2K[1G[33mNo name was provided for external module "@mui/icons-material/MoreHoriz" in "output.globals" – guessing "MoreHorizIcon".[39m
|
|
24
|
+
[2K[1G[33mNo name was provided for external module "@apollo/client" in "output.globals" – guessing "client".[39m
|
|
25
|
+
[2K[1G[33mNo name was provided for external module "@eclipse-sirius/sirius-web-application" in "output.globals" – guessing "siriusWebApplication".[39m
|
|
26
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/Button" in "output.globals" – guessing "Button".[39m
|
|
27
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/Dialog" in "output.globals" – guessing "Dialog".[39m
|
|
28
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/DialogActions" in "output.globals" – guessing "DialogActions".[39m
|
|
29
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/DialogContent" in "output.globals" – guessing "DialogContent".[39m
|
|
30
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/DialogTitle" in "output.globals" – guessing "DialogTitle".[39m
|
|
31
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/InputLabel" in "output.globals" – guessing "InputLabel".[39m
|
|
32
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/MenuItem" in "output.globals" – guessing "MenuItem".[39m
|
|
33
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/Select" in "output.globals" – guessing "Select".[39m
|
|
34
|
+
[2K[1G[33mNo name was provided for external module "react-router-dom" in "output.globals" – guessing "reactRouterDom".[39m
|
|
35
|
+
[2K[1G[33mNo name was provided for external module "graphql" in "output.globals" – guessing "graphql".[39m
|
|
36
|
+
[2K[1G[33mNo name was provided for external module "@mui/material" in "output.globals" – guessing "material".[39m
|
|
37
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/List" in "output.globals" – guessing "List".[39m
|
|
38
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/ListItem" in "output.globals" – guessing "ListItem".[39m
|
|
39
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/ListItemIcon" in "output.globals" – guessing "ListItemIcon".[39m
|
|
40
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/ListItemText" in "output.globals" – guessing "ListItemText".[39m
|
|
41
|
+
[2K[1G[33mNo name was provided for external module "@mui/icons-material/DragHandle" in "output.globals" – guessing "DragHandleIcon".[39m
|
|
42
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/ListItemButton" in "output.globals" – guessing "ListItemButton".[39m
|
|
43
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/Accordion" in "output.globals" – guessing "MuiAccordion".[39m
|
|
44
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/AccordionDetails" in "output.globals" – guessing "MuiAccordionDetails".[39m
|
|
45
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/AccordionSummary" in "output.globals" – guessing "MuiAccordionSummary".[39m
|
|
46
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/Box" in "output.globals" – guessing "Box".[39m
|
|
47
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/TextField" in "output.globals" – guessing "TextField".[39m
|
|
48
|
+
[2K[1G[33mNo name was provided for external module "@mui/icons-material/ArrowDownward" in "output.globals" – guessing "ArrowDownwardIcon".[39m
|
|
49
|
+
[2K[1G[33mNo name was provided for external module "@mui/icons-material/ArrowForwardIosSharp" in "output.globals" – guessing "ArrowForwardIosSharpIcon".[39m
|
|
50
|
+
[2K[1G[33mNo name was provided for external module "@mui/icons-material/ArrowUpward" in "output.globals" – guessing "ArrowUpwardIcon".[39m
|
|
51
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/DialogContentText" in "output.globals" – guessing "DialogContentText".[39m
|
|
52
|
+
[2K[1G[33mNo name was provided for external module "@mui/icons-material/ChevronLeft" in "output.globals" – guessing "ChevronLeftIcon".[39m
|
|
53
|
+
[2K[1G[33mNo name was provided for external module "@mui/icons-material/ChevronRight" in "output.globals" – guessing "ChevronRightIcon".[39m
|
|
54
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/Grid" in "output.globals" – guessing "Grid".[39m
|
|
55
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/InputAdornment" in "output.globals" – guessing "InputAdornment".[39m
|
|
56
|
+
[2K[1G[33mNo name was provided for external module "@mui/icons-material/Clear" in "output.globals" – guessing "ClearIcon".[39m
|
|
57
|
+
[2K[1G[33mNo name was provided for external module "@mui/icons-material/Search" in "output.globals" – guessing "SearchIcon".[39m
|
|
58
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/FormControl" in "output.globals" – guessing "FormControl".[39m
|
|
59
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/FormHelperText" in "output.globals" – guessing "FormHelperText".[39m
|
|
60
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/Table" in "output.globals" – guessing "Table".[39m
|
|
61
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/TableBody" in "output.globals" – guessing "TableBody".[39m
|
|
62
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/TableCell" in "output.globals" – guessing "TableCell".[39m
|
|
63
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/TableRow" in "output.globals" – guessing "TableRow".[39m
|
|
64
|
+
[2K[1G[33mNo name was provided for external module "@mui/icons-material/BubbleChart" in "output.globals" – guessing "BubbleChartIcon".[39m
|
|
65
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/Autocomplete" in "output.globals" – guessing "Autocomplete".[39m
|
|
66
|
+
[2K[1G[33mNo name was provided for external module "@mui/icons-material/Image" in "output.globals" – guessing "ImageIcon".[39m
|
|
67
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/FormControlLabel" in "output.globals" – guessing "FormControlLabel".[39m
|
|
68
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/Radio" in "output.globals" – guessing "Radio".[39m
|
|
69
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/RadioGroup" in "output.globals" – guessing "RadioGroup".[39m
|
|
70
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/Checkbox" in "output.globals" – guessing "Checkbox".[39m
|
|
71
|
+
[2K[1G[33mNo name was provided for external module "@mui/material/Snackbar" in "output.globals" – guessing "Snackbar".[39m
|
|
72
|
+
[2K[1G[33mNo name was provided for external module "@mui/icons-material/Close" in "output.globals" – guessing "CloseIcon".[39m
|
|
73
|
+
[2K[1G[33mNo name was provided for external module "@xstate/react" in "output.globals" – guessing "react$1".[39m
|
|
74
|
+
[2K[1G[33mNo name was provided for external module "xstate" in "output.globals" – guessing "xstate".[39m
|
|
75
|
+
[2K[1Grendering chunks (1)...[2K[1G[2K[1Gcomputing gzip size (1)...[2K[1G[2mdist/[22m[36mpapyrus-web-components.umd.js [39m[1m[2m461.11 kB[22m[1m[22m[2m │ gzip: 80.47 kB[22m
|
|
76
|
+
[32m✓ built in 753ms[39m
|
|
77
|
+
[1G[0K⠙[1G[0K
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
> @eclipse-papyrus/papyrus-web-components@2026.2.0 format-lint
|
|
4
|
+
> prettier --list-different "src/**/*.{js,ts,tsx,css}"
|
|
5
|
+
|
|
6
|
+
[1G[0Ksrc/diagram-tools/EditProjectView.types.ts[2K[1Gsrc/diagram-tools/FilterableSortableList.tsx[2K[1Gsrc/diagram-tools/FilterableSortableList.types.ts[2K[1Gsrc/diagram-tools/ModelBrowserFilterBar.tsx[2K[1Gsrc/diagram-tools/ModelBrowserFilterBar.types.ts[2K[1Gsrc/diagram-tools/PapyrusPopupToolContribution.tsx[2K[1Gsrc/diagram-tools/PapyrusPopupToolContribution.types.ts[2K[1Gsrc/diagram-tools/TransferModal.tsx[2K[1Gsrc/diagram-tools/TransferModal.types.ts[2K[1Gsrc/index.ts[2K[1Gsrc/nodes/cuboid/CuboidNode.tsx[2K[1Gsrc/nodes/cuboid/CuboidNode.types.ts[2K[1Gsrc/nodes/cuboid/CuboidNodeConverter.ts[2K[1Gsrc/nodes/cuboid/CuboidNodeLayoutHandler.ts[2K[1Gsrc/nodes/cuboid/CuboidNodeListConverter.ts[2K[1Gsrc/nodes/cuboid/CuboidNodeListLayoutHandler.ts[2K[1Gsrc/nodes/customImage/CustomImageNode.tsx[2K[1Gsrc/nodes/customImage/CustomImageNode.types.ts[2K[1Gsrc/nodes/customImage/CustomImageNodeConverter.ts[2K[1Gsrc/nodes/customImage/CustomImageNodeLayoutHandler.ts[2K[1Gsrc/nodes/ellipse/EllipseNode.tsx[2K[1Gsrc/nodes/ellipse/EllipseNode.types.ts[2K[1Gsrc/nodes/ellipse/EllipseNodeConverter.ts[2K[1Gsrc/nodes/ellipse/EllipseNodeLayoutHandler.ts[2K[1Gsrc/nodes/innerFlag/InnerFlagNode.tsx[2K[1Gsrc/nodes/innerFlag/InnerFlagNode.types.ts[2K[1Gsrc/nodes/innerFlag/InnerFlagNodeConverter.ts[2K[1Gsrc/nodes/innerFlag/InnerFlagNodeLayoutHandler.ts[2K[1Gsrc/nodes/NodesDocumentTransform.ts[2K[1Gsrc/nodes/note/NoteLabel.tsx[2K[1Gsrc/nodes/note/NoteNode.tsx[2K[1Gsrc/nodes/note/NoteNode.types.ts[2K[1Gsrc/nodes/note/NoteNodeConverter.ts[2K[1Gsrc/nodes/note/NoteNodeLayoutHandler.ts[2K[1Gsrc/nodes/outerFlag/OuterFlagNode.tsx[2K[1Gsrc/nodes/outerFlag/OuterFlagNode.types.ts[2K[1Gsrc/nodes/outerFlag/OuterFlagNodeConverter.ts[2K[1Gsrc/nodes/outerFlag/OuterFlagNodeLayoutHandler.ts[2K[1Gsrc/nodes/package/PackageNode.tsx[2K[1Gsrc/nodes/package/PackageNode.types.ts[2K[1Gsrc/nodes/package/PackageNodeConverter.ts[2K[1Gsrc/nodes/package/PackageNodeLayoutHandler.ts[2K[1Gsrc/nodes/package/PackageNodeListConverter.ts[2K[1Gsrc/nodes/package/PackageNodeListLayoutHandler.ts[2K[1Gsrc/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNode.tsx[2K[1Gsrc/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNode.types.ts[2K[1Gsrc/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNodeConverter.ts[2K[1Gsrc/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNodeLayoutHandler.ts[2K[1Gsrc/profile/apply-profile/ApplyProfileModal.tsx[2K[1Gsrc/profile/apply-profile/ApplyProfileModal.types.tsx[2K[1Gsrc/profile/apply-profile/ApplyProfileModalMachine.tsx[2K[1Gsrc/profile/apply-profile/UMLModelTreeItemContextMenuContribution.tsx[2K[1Gsrc/profile/apply-stereotype/ApplyStereotypeModal.tsx[2K[1Gsrc/profile/apply-stereotype/ApplyStereotypeModal.types.ts[2K[1Gsrc/profile/apply-stereotype/ApplyStereotypeModalMachine.ts[2K[1Gsrc/profile/apply-stereotype/UMLElementTreeItemContextMenuContribution.tsx[2K[1Gsrc/profile/publish-profile/PublishProfileDialog.tsx[2K[1Gsrc/profile/publish-profile/PublishProfileDialog.types.ts[2K[1Gsrc/profile/publish-profile/PublishProfileTreeItemContextMenuContribution.tsx[2K[1Gsrc/widgets/containmentReference/ContainmentReferenceFragment.types.ts[2K[1Gsrc/widgets/containmentReference/ContainmentReferenceIcon.tsx[2K[1Gsrc/widgets/containmentReference/ContainmentReferencePreview.tsx[2K[1Gsrc/widgets/containmentReference/ContainmentReferenceSection.tsx[2K[1Gsrc/widgets/containmentReference/dialogs/CreateNewChildDialog.tsx[2K[1Gsrc/widgets/containmentReference/dialogs/CreateNewChildDialog.types.ts[2K[1Gsrc/widgets/containmentReference/ReorderIcon.tsx[2K[1Gsrc/widgets/customImage/AddImageIcon.tsx[2K[1Gsrc/widgets/customImage/CustomImageFragment.types.ts[2K[1Gsrc/widgets/customImage/CustomImageIcon.tsx[2K[1Gsrc/widgets/customImage/CustomImagePreview.tsx[2K[1Gsrc/widgets/customImage/CustomImageSection.tsx[2K[1Gsrc/widgets/CustomWidgetsDocumentTransform.ts[2K[1Gsrc/widgets/dialogs/ReorderItemsDialog.tsx[2K[1Gsrc/widgets/dialogs/ReorderItemsDialog.types.ts[2K[1Gsrc/widgets/languageExpression/LanguageExpressionFragment.types.ts[2K[1Gsrc/widgets/languageExpression/LanguageExpressionIcon.tsx[2K[1Gsrc/widgets/languageExpression/LanguageExpressionPreview.tsx[2K[1Gsrc/widgets/languageExpression/LanguageExpressionSection.tsx[2K[1Gsrc/widgets/primitiveList/PrimitiveListWidgetPreview.tsx[2K[1Gsrc/widgets/primitiveList/PrimitiveListWidgetPropertySection.tsx[2K[1Gsrc/widgets/primitiveList/PrimitiveListWidgetPropertySection.types.ts[2K[1Gsrc/widgets/primitiveRadio/PrimitiveRadioFragment.type.ts[2K[1Gsrc/widgets/primitiveRadio/PrimitiveRadioIcon.tsx[2K[1Gsrc/widgets/primitiveRadio/PrimitiveRadioPreview.tsx[2K[1Gsrc/widgets/primitiveRadio/PrimitiveRadioSection.tsx[2K[1G[1G[0K⠙[1G[0K
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
= Papyrus Web Component
|
|
2
|
+
|
|
3
|
+
This libary aims to provide all custom code used to build a _Papyrus Web_ like application.
|
|
4
|
+
|
|
5
|
+
It provides:
|
|
6
|
+
|
|
7
|
+
* Custom Node
|
|
8
|
+
* Custom Tool
|
|
9
|
+
* Custom Item Contribution
|
|
10
|
+
* Custom Widget
|
|
11
|
+
* Etc
|
|
12
|
+
|
|
13
|
+
It aims to be reusable by anyone wanting to create a _Papyrus Web_ custom application.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/*******************************************************************************
|
|
2
|
+
* Copyright (c) 2021, 2025 Obeo and others.
|
|
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 type EditingContext = {
|
|
14
|
+
id: string;
|
|
15
|
+
};
|
|
16
|
+
export type Project = {
|
|
17
|
+
id: string;
|
|
18
|
+
name: string;
|
|
19
|
+
currentEditingContext: EditingContext;
|
|
20
|
+
};
|
|
21
|
+
export type GQLRepresentationMetadata = {
|
|
22
|
+
id: string;
|
|
23
|
+
label: string;
|
|
24
|
+
kind: string;
|
|
25
|
+
isProfileDiagram: boolean;
|
|
26
|
+
};
|
|
27
|
+
export type GQLEditingContext = {
|
|
28
|
+
id: string;
|
|
29
|
+
representation: GQLRepresentationMetadata | undefined;
|
|
30
|
+
};
|
|
31
|
+
export type GQLProject = {
|
|
32
|
+
id: string;
|
|
33
|
+
name: string;
|
|
34
|
+
currentEditingContext: GQLEditingContext;
|
|
35
|
+
};
|
|
36
|
+
export type GQLViewer = {
|
|
37
|
+
project: GQLProject;
|
|
38
|
+
};
|
|
39
|
+
export type GQLGetProjectQueryData = {
|
|
40
|
+
viewer: GQLViewer;
|
|
41
|
+
};
|
|
42
|
+
export type GQLGetProjectQueryVariables = {
|
|
43
|
+
projectId: string;
|
|
44
|
+
representationId: string;
|
|
45
|
+
includeRepresentation: boolean;
|
|
46
|
+
};
|
|
47
|
+
export type EditProjectViewParams = 'projectId' | 'representationId';
|
|
48
|
+
//# sourceMappingURL=EditProjectView.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditProjectView.types.d.ts","sourceRoot":"","sources":["../../src/diagram-tools/EditProjectView.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;iFAWiF;AAEjF,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,qBAAqB,EAAE,cAAc,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,yBAAyB,GAAG,SAAS,CAAC;CACvD,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,qBAAqB,EAAE,iBAAiB,CAAC;CAC1C,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,OAAO,EAAE,UAAU,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IACzB,qBAAqB,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,WAAW,GAAG,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { FilterableSortableListProps } from './FilterableSortableList.types';
|
|
2
|
+
export declare const FilterableSortableList: ({ items, onClick, onDoubleClick, selectedItems, onFocusFilter, }: FilterableSortableListProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=FilterableSortableList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterableSortableList.d.ts","sourceRoot":"","sources":["../../src/diagram-tools/FilterableSortableList.tsx"],"names":[],"mappings":"AAsBA,OAAO,EACL,2BAA2B,EAG5B,MAAM,gCAAgC,CAAC;AAoExC,eAAO,MAAM,sBAAsB,qEAMhC,2BAA2B,4CAuE7B,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/*******************************************************************************
|
|
3
|
+
* Copyright (c) 2023, 2025 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
|
+
* CEA LIST - copied from FilterableSortableList.types.ts at 10f4e6386bb9eeb3839071e9cdd4d1ceb8efcb39. Adapted to contain metaclasses.
|
|
14
|
+
*******************************************************************************/
|
|
15
|
+
import { ItemWithIcon } from './TransferModal.types';
|
|
16
|
+
export interface FilterableSortableListProps {
|
|
17
|
+
items: ItemWithIcon[];
|
|
18
|
+
setItems: (items: ItemWithIcon[]) => void;
|
|
19
|
+
onDoubleClick: () => void;
|
|
20
|
+
onClick: (event: React.MouseEvent<Element, MouseEvent>, item: ItemWithIcon) => void;
|
|
21
|
+
selectedItems: ItemWithIcon[];
|
|
22
|
+
onFocusFilter: boolean;
|
|
23
|
+
}
|
|
24
|
+
export interface FilterableSortableListState {
|
|
25
|
+
filterBarText: string;
|
|
26
|
+
hoveringItemId: string | undefined;
|
|
27
|
+
draggingItemId: string | undefined;
|
|
28
|
+
}
|
|
29
|
+
export interface HighlightedLabelProps {
|
|
30
|
+
label: string;
|
|
31
|
+
textToHighlight: string;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=FilterableSortableList.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterableSortableList.types.d.ts","sourceRoot":"","sources":["../../src/diagram-tools/FilterableSortableList.types.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;iFAYiF;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,IAAI,CAAC;IAC1C,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,OAAO,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,OAAO,EAAE,UAAU,CAAC,EAAE,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IACpF,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,2BAA2B;IAC1C,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,CAAC;CACzB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*******************************************************************************
|
|
2
|
+
* Copyright (c) 2023, 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 { ModelBrowserFilterBarProps } from './ModelBrowserFilterBar.types';
|
|
14
|
+
export declare const ModelBrowserFilterBar: ({ onTextChange, onTextClear, text, onFocus }: ModelBrowserFilterBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
//# sourceMappingURL=ModelBrowserFilterBar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelBrowserFilterBar.d.ts","sourceRoot":"","sources":["../../src/diagram-tools/ModelBrowserFilterBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;iFAWiF;AASjF,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAgB3E,eAAO,MAAM,qBAAqB,iDAAkD,0BAA0B,4CAoC7G,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*******************************************************************************
|
|
2
|
+
* Copyright (c) 2023, 2025 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
|
+
/// <reference types="react" />
|
|
14
|
+
export interface ModelBrowserFilterBarProps {
|
|
15
|
+
onTextChange: React.ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
|
|
16
|
+
onTextClear: () => void;
|
|
17
|
+
text: string | null;
|
|
18
|
+
onFocus: boolean;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=ModelBrowserFilterBar.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelBrowserFilterBar.types.d.ts","sourceRoot":"","sources":["../../src/diagram-tools/ModelBrowserFilterBar.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;iFAWiF;;AAEjF,MAAM,WAAW,0BAA0B;IACzC,YAAY,EAAE,KAAK,CAAC,kBAAkB,CAAC,mBAAmB,GAAG,gBAAgB,CAAC,CAAC;IAC/E,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;CAClB"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DiagramPaletteToolContributionComponentProps } from '@eclipse-sirius/sirius-components-diagrams';
|
|
2
|
+
export declare const PapyrusPopupToolContribution: ({ diagramElementId, x, y, }: DiagramPaletteToolContributionComponentProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
3
|
+
//# sourceMappingURL=PapyrusPopupToolContribution.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PapyrusPopupToolContribution.d.ts","sourceRoot":"","sources":["../../src/diagram-tools/PapyrusPopupToolContribution.tsx"],"names":[],"mappings":"AAeA,OAAO,EAGL,4CAA4C,EAE7C,MAAM,4CAA4C,CAAC;AA+DpD,eAAO,MAAM,4BAA4B,gCAItC,4CAA4C,mDAsH9C,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
export interface GQLGetMetaclassesQueryVariables {
|
|
15
|
+
editingContextId: string;
|
|
16
|
+
}
|
|
17
|
+
export interface GQLGetMetaclassesQueryData {
|
|
18
|
+
viewer: GQLViewer;
|
|
19
|
+
}
|
|
20
|
+
export interface GQLViewer {
|
|
21
|
+
editingContext: GQLEditingContext;
|
|
22
|
+
}
|
|
23
|
+
export interface GQLEditingContext {
|
|
24
|
+
metaclassMetadatas: [GQLMetaclassMetadata];
|
|
25
|
+
}
|
|
26
|
+
export interface GQLMetaclassMetadata {
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
imagePath: string;
|
|
30
|
+
}
|
|
31
|
+
export interface GQLCreateMetaclassImportData {
|
|
32
|
+
createMetaclassImport: GQLCreateMetaclassImportPayload;
|
|
33
|
+
}
|
|
34
|
+
export interface GQLCreateMetaclassImportPayload {
|
|
35
|
+
__typename: string;
|
|
36
|
+
}
|
|
37
|
+
export interface ErrorPayload extends GQLCreateMetaclassImportPayload {
|
|
38
|
+
__typename: 'ErrorPayload';
|
|
39
|
+
message: string;
|
|
40
|
+
}
|
|
41
|
+
export interface GQLCreateMetaclassImportVariables {
|
|
42
|
+
input: GQLCreateMetaclassImportInput;
|
|
43
|
+
}
|
|
44
|
+
export interface GQLCreateMetaclassImportInput {
|
|
45
|
+
id: string;
|
|
46
|
+
editingContextId: string;
|
|
47
|
+
representationId: string;
|
|
48
|
+
diagramElementId: string;
|
|
49
|
+
metaclassIds: string[];
|
|
50
|
+
x: number;
|
|
51
|
+
y: number;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=PapyrusPopupToolContribution.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PapyrusPopupToolContribution.types.d.ts","sourceRoot":"","sources":["../../src/diagram-tools/PapyrusPopupToolContribution.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;+EAY+E;AAC/E,MAAM,WAAW,+BAA+B;IAC9C,gBAAgB,EAAE,MAAM,CAAC;CAC1B;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,kBAAkB,EAAE,CAAC,oBAAoB,CAAC,CAAC;CAC5C;AAED,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,4BAA4B;IAC3C,qBAAqB,EAAE,+BAA+B,CAAC;CACxD;AAED,MAAM,WAAW,+BAA+B;IAC9C,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,YAAa,SAAQ,+BAA+B;IACnE,UAAU,EAAE,cAAc,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,iCAAiC;IAChD,KAAK,EAAE,6BAA6B,CAAC;CACtC;AAED,MAAM,WAAW,6BAA6B;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransferModal.d.ts","sourceRoot":"","sources":["../../src/diagram-tools/TransferModal.tsx"],"names":[],"mappings":"AAyBA,OAAO,EAAgB,kBAAkB,EAAsB,MAAM,uBAAuB,CAAC;AAmB7F,eAAO,MAAM,aAAa,uBAAwB,kBAAkB,4CA8LnE,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*******************************************************************************
|
|
2
|
+
* Copyright (c) 2023, 2025 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
|
+
* CEA LIST - copied from TranserModal.types.ts at 10f4e6386bb9eeb3839071e9cdd4d1ceb8efcb39. Adapted to show a FilterableSortableList on the left and right.
|
|
13
|
+
*******************************************************************************/
|
|
14
|
+
import { GQLMetaclassMetadata } from './PapyrusPopupToolContribution.types';
|
|
15
|
+
export interface TransferModalProps {
|
|
16
|
+
editingContextId: string;
|
|
17
|
+
items: GQLMetaclassMetadata[];
|
|
18
|
+
onClose: (selectedElementIds: string[]) => void;
|
|
19
|
+
}
|
|
20
|
+
export interface TransferModalState {
|
|
21
|
+
left: ItemWithIcon[];
|
|
22
|
+
leftSelection: ItemWithIcon[];
|
|
23
|
+
right: ItemWithIcon[];
|
|
24
|
+
rightSelection: ItemWithIcon[];
|
|
25
|
+
draggingRightItemId: string | undefined;
|
|
26
|
+
}
|
|
27
|
+
export interface ItemWithIcon {
|
|
28
|
+
id: string;
|
|
29
|
+
label: string;
|
|
30
|
+
iconURL: string;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=TransferModal.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransferModal.types.d.ts","sourceRoot":"","sources":["../../src/diagram-tools/TransferModal.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;iFAYiF;AAEjF,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E,MAAM,WAAW,kBAAkB;IACjC,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,oBAAoB,EAAE,CAAC;IAC9B,OAAO,EAAE,CAAC,kBAAkB,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CACjD;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,YAAY,EAAE,CAAC;IACrB,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,cAAc,EAAE,YAAY,EAAE,CAAC;IAC/B,mBAAmB,EAAE,MAAM,GAAG,SAAS,CAAC;CACzC;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB"}
|