diff --git a/src/mxgraph/editor/mxDefaultKeyHandler.js b/src/mxgraph/editor/mxDefaultKeyHandler.js index 33cd68ed2..bdb1b0721 100644 --- a/src/mxgraph/editor/mxDefaultKeyHandler.js +++ b/src/mxgraph/editor/mxDefaultKeyHandler.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxEvent from '../util/event/mxEvent'; diff --git a/src/mxgraph/editor/mxDefaultPopupMenu.js b/src/mxgraph/editor/mxDefaultPopupMenu.js index b21795619..9c9dd6d79 100644 --- a/src/mxgraph/editor/mxDefaultPopupMenu.js +++ b/src/mxgraph/editor/mxDefaultPopupMenu.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxResources from '../util/mxResources'; import mxUtils from '../util/mxUtils'; diff --git a/src/mxgraph/editor/mxDefaultToolbar.js b/src/mxgraph/editor/mxDefaultToolbar.js index ff33103e5..492e86444 100644 --- a/src/mxgraph/editor/mxDefaultToolbar.js +++ b/src/mxgraph/editor/mxDefaultToolbar.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxClient from '../mxClient'; diff --git a/src/mxgraph/handler/mxCellHighlight.ts b/src/mxgraph/handler/mxCellHighlight.ts index 18f467bda..a870e2167 100644 --- a/src/mxgraph/handler/mxCellHighlight.ts +++ b/src/mxgraph/handler/mxCellHighlight.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxConstants from '../util/mxConstants'; import mxEvent from '../util/event/mxEvent'; diff --git a/src/mxgraph/handler/mxCellMarker.js b/src/mxgraph/handler/mxCellMarker.js index f5a95e90d..47574ecd1 100644 --- a/src/mxgraph/handler/mxCellMarker.js +++ b/src/mxgraph/handler/mxCellMarker.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxEventSource from '../util/event/mxEventSource'; import mxConstants from '../util/mxConstants'; diff --git a/src/mxgraph/handler/mxCellTracker.js b/src/mxgraph/handler/mxCellTracker.js index 5cb2bf6dc..4727be31c 100644 --- a/src/mxgraph/handler/mxCellTracker.js +++ b/src/mxgraph/handler/mxCellTracker.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxCellMarker from './mxCellMarker'; diff --git a/src/mxgraph/handler/mxConstraintHandler.js b/src/mxgraph/handler/mxConstraintHandler.js index e9918ac0a..5f6be4a01 100644 --- a/src/mxgraph/handler/mxConstraintHandler.js +++ b/src/mxgraph/handler/mxConstraintHandler.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxImage from '../util/image/mxImage'; import mxClient from '../mxClient'; diff --git a/src/mxgraph/handler/mxEdgeHandler.js b/src/mxgraph/handler/mxEdgeHandler.js index 6ec668743..79e38abc3 100644 --- a/src/mxgraph/handler/mxEdgeHandler.js +++ b/src/mxgraph/handler/mxEdgeHandler.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxCellMarker from './mxCellMarker'; import mxPoint from '../util/datatypes/mxPoint'; diff --git a/src/mxgraph/handler/mxEdgeSegmentHandler.js b/src/mxgraph/handler/mxEdgeSegmentHandler.js index 40a807504..e6aa07ba8 100644 --- a/src/mxgraph/handler/mxEdgeSegmentHandler.js +++ b/src/mxgraph/handler/mxEdgeSegmentHandler.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxPoint from '../util/datatypes/mxPoint'; import mxConstants from '../util/mxConstants'; diff --git a/src/mxgraph/handler/mxElbowEdgeHandler.js b/src/mxgraph/handler/mxElbowEdgeHandler.js index 62887d23b..7fd8cb2bf 100644 --- a/src/mxgraph/handler/mxElbowEdgeHandler.js +++ b/src/mxgraph/handler/mxElbowEdgeHandler.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxEdgeHandler from './mxEdgeHandler'; import mxConstants from '../util/mxConstants'; diff --git a/src/mxgraph/handler/mxGraphHandler.js b/src/mxgraph/handler/mxGraphHandler.js index 1bc5ae2b2..a37427dc0 100644 --- a/src/mxgraph/handler/mxGraphHandler.js +++ b/src/mxgraph/handler/mxGraphHandler.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxClient from '../mxClient'; diff --git a/src/mxgraph/handler/mxHandle.js b/src/mxgraph/handler/mxHandle.js index 13474e783..df09fc5f5 100644 --- a/src/mxgraph/handler/mxHandle.js +++ b/src/mxgraph/handler/mxHandle.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxUtils from '../util/mxUtils'; diff --git a/src/mxgraph/handler/mxKeyHandler.js b/src/mxgraph/handler/mxKeyHandler.js index 064d5784f..440b898fe 100644 --- a/src/mxgraph/handler/mxKeyHandler.js +++ b/src/mxgraph/handler/mxKeyHandler.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxEvent from '../util/event/mxEvent'; diff --git a/src/mxgraph/handler/mxPanningHandler.js b/src/mxgraph/handler/mxPanningHandler.js index 8a062cdc7..2ea3bf2ac 100644 --- a/src/mxgraph/handler/mxPanningHandler.js +++ b/src/mxgraph/handler/mxPanningHandler.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxEventSource from '../util/event/mxEventSource'; import mxUtils from '../util/mxUtils'; diff --git a/src/mxgraph/handler/mxPopupMenuHandler.js b/src/mxgraph/handler/mxPopupMenuHandler.js index 658c6a869..b0154a500 100644 --- a/src/mxgraph/handler/mxPopupMenuHandler.js +++ b/src/mxgraph/handler/mxPopupMenuHandler.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxPopupMenu from '../util/gui/mxPopupMenu'; import mxEvent from '../util/event/mxEvent'; diff --git a/src/mxgraph/handler/mxSelectionCellsHandler.js b/src/mxgraph/handler/mxSelectionCellsHandler.js index 41f5c3bae..951702e18 100644 --- a/src/mxgraph/handler/mxSelectionCellsHandler.js +++ b/src/mxgraph/handler/mxSelectionCellsHandler.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxEventSource from '../util/event/mxEventSource'; import mxDictionary from '../util/datatypes/mxDictionary'; diff --git a/src/mxgraph/handler/mxTooltipHandler.js b/src/mxgraph/handler/mxTooltipHandler.js index 0a45ba0d1..48cb46ab8 100644 --- a/src/mxgraph/handler/mxTooltipHandler.js +++ b/src/mxgraph/handler/mxTooltipHandler.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxEvent from '../util/event/mxEvent'; import mxUtils from '../util/mxUtils'; diff --git a/src/mxgraph/handler/mxVertexHandler.js b/src/mxgraph/handler/mxVertexHandler.js index f939b1d1a..66933ca35 100644 --- a/src/mxgraph/handler/mxVertexHandler.js +++ b/src/mxgraph/handler/mxVertexHandler.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxRectangle from '../util/datatypes/mxRectangle'; import mxConstants from '../util/mxConstants'; diff --git a/src/mxgraph/layout/hierarchical/model/mxGraphAbstractHierarchyCell.js b/src/mxgraph/layout/hierarchical/model/mxGraphAbstractHierarchyCell.js index cb86eb9c6..66a0b90fe 100644 --- a/src/mxgraph/layout/hierarchical/model/mxGraphAbstractHierarchyCell.js +++ b/src/mxgraph/layout/hierarchical/model/mxGraphAbstractHierarchyCell.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ class mxGraphAbstractHierarchyCell { diff --git a/src/mxgraph/layout/hierarchical/model/mxGraphHierarchyEdge.js b/src/mxgraph/layout/hierarchical/model/mxGraphHierarchyEdge.js index e7aef6825..a690f5315 100644 --- a/src/mxgraph/layout/hierarchical/model/mxGraphHierarchyEdge.js +++ b/src/mxgraph/layout/hierarchical/model/mxGraphHierarchyEdge.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxGraphAbstractHierarchyCell from './mxGraphAbstractHierarchyCell'; import mxObjectIdentity from '../../../util/datatypes/mxObjectIdentity'; diff --git a/src/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.js b/src/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.js index d8b3a3c73..407198792 100644 --- a/src/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.js +++ b/src/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxDictionary from '../../../util/datatypes/mxDictionary'; diff --git a/src/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.js b/src/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.js index 3cd887d61..888fc90ab 100644 --- a/src/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.js +++ b/src/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxGraphAbstractHierarchyCell from './mxGraphAbstractHierarchyCell'; import mxObjectIdentity from '../../../util/datatypes/mxObjectIdentity'; diff --git a/src/mxgraph/layout/hierarchical/model/mxSwimlaneModel.js b/src/mxgraph/layout/hierarchical/model/mxSwimlaneModel.js index c87b58187..91a6ee1ae 100644 --- a/src/mxgraph/layout/hierarchical/model/mxSwimlaneModel.js +++ b/src/mxgraph/layout/hierarchical/model/mxSwimlaneModel.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2018, JGraph Ltd * Copyright (c) 2006-2018, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxUtils from '../../../util/mxUtils'; import mxGraphHierarchyNode from './mxGraphHierarchyNode'; diff --git a/src/mxgraph/layout/hierarchical/mxHierarchicalLayout.js b/src/mxgraph/layout/hierarchical/mxHierarchicalLayout.js index 66db04892..eddd9d74c 100644 --- a/src/mxgraph/layout/hierarchical/mxHierarchicalLayout.js +++ b/src/mxgraph/layout/hierarchical/mxHierarchicalLayout.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2018, JGraph Ltd * Copyright (c) 2006-2018, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxGraphLayout from '../mxGraphLayout'; import mxConstants from '../../util/mxConstants'; diff --git a/src/mxgraph/layout/hierarchical/mxSwimlaneLayout.js b/src/mxgraph/layout/hierarchical/mxSwimlaneLayout.js index 8bfb33271..88f8e6306 100644 --- a/src/mxgraph/layout/hierarchical/mxSwimlaneLayout.js +++ b/src/mxgraph/layout/hierarchical/mxSwimlaneLayout.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxGraphLayout from '../mxGraphLayout'; diff --git a/src/mxgraph/layout/hierarchical/stage/mxCoordinateAssignment.js b/src/mxgraph/layout/hierarchical/stage/mxCoordinateAssignment.js index efff3774b..6b4c2baa5 100644 --- a/src/mxgraph/layout/hierarchical/stage/mxCoordinateAssignment.js +++ b/src/mxgraph/layout/hierarchical/stage/mxCoordinateAssignment.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2018, JGraph Ltd * Copyright (c) 2006-2018, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxHierarchicalLayoutStage from './mxHierarchicalLayoutStage'; import mxConstants from '../../../util/mxConstants'; diff --git a/src/mxgraph/layout/hierarchical/stage/mxHierarchicalLayoutStage.js b/src/mxgraph/layout/hierarchical/stage/mxHierarchicalLayoutStage.js index 8b3b40508..9ce6f6303 100644 --- a/src/mxgraph/layout/hierarchical/stage/mxHierarchicalLayoutStage.js +++ b/src/mxgraph/layout/hierarchical/stage/mxHierarchicalLayoutStage.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ /** diff --git a/src/mxgraph/layout/hierarchical/stage/mxMedianHybridCrossingReduction.js b/src/mxgraph/layout/hierarchical/stage/mxMedianHybridCrossingReduction.js index 414a81e4e..242bec5bc 100644 --- a/src/mxgraph/layout/hierarchical/stage/mxMedianHybridCrossingReduction.js +++ b/src/mxgraph/layout/hierarchical/stage/mxMedianHybridCrossingReduction.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxHierarchicalLayoutStage from './mxHierarchicalLayoutStage'; import MedianCellSorter from './MedianCellSorter'; diff --git a/src/mxgraph/layout/hierarchical/stage/mxMinimumCycleRemover.js b/src/mxgraph/layout/hierarchical/stage/mxMinimumCycleRemover.js index d4bf62667..5e0c07822 100644 --- a/src/mxgraph/layout/hierarchical/stage/mxMinimumCycleRemover.js +++ b/src/mxgraph/layout/hierarchical/stage/mxMinimumCycleRemover.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxHierarchicalLayoutStage from './mxHierarchicalLayoutStage'; import mxUtils from '../../../util/mxUtils'; diff --git a/src/mxgraph/layout/hierarchical/stage/mxSwimlaneOrdering.js b/src/mxgraph/layout/hierarchical/stage/mxSwimlaneOrdering.js index 3fe23f840..ff63c3ea9 100644 --- a/src/mxgraph/layout/hierarchical/stage/mxSwimlaneOrdering.js +++ b/src/mxgraph/layout/hierarchical/stage/mxSwimlaneOrdering.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxHierarchicalLayoutStage from './mxHierarchicalLayoutStage'; import mxUtils from '../../../util/mxUtils'; diff --git a/src/mxgraph/layout/mxCircleLayout.js b/src/mxgraph/layout/mxCircleLayout.js index 9e4cea4c6..61a24ddae 100644 --- a/src/mxgraph/layout/mxCircleLayout.js +++ b/src/mxgraph/layout/mxCircleLayout.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxGraphLayout from './mxGraphLayout'; diff --git a/src/mxgraph/layout/mxCompactTreeLayout.js b/src/mxgraph/layout/mxCompactTreeLayout.js index 0c341a4f4..6c68b6e2a 100644 --- a/src/mxgraph/layout/mxCompactTreeLayout.js +++ b/src/mxgraph/layout/mxCompactTreeLayout.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2018, JGraph Ltd * Copyright (c) 2006-2018, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxDictionary from '../util/datatypes/mxDictionary'; diff --git a/src/mxgraph/layout/mxCompositeLayout.js b/src/mxgraph/layout/mxCompositeLayout.js index ec3a90699..26779af90 100644 --- a/src/mxgraph/layout/mxCompositeLayout.js +++ b/src/mxgraph/layout/mxCompositeLayout.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxGraphLayout from './mxGraphLayout'; diff --git a/src/mxgraph/layout/mxEdgeLabelLayout.js b/src/mxgraph/layout/mxEdgeLabelLayout.js index 03f4c0910..6689d9b9b 100644 --- a/src/mxgraph/layout/mxEdgeLabelLayout.js +++ b/src/mxgraph/layout/mxEdgeLabelLayout.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxPoint from '../util/datatypes/mxPoint'; diff --git a/src/mxgraph/layout/mxFastOrganicLayout.js b/src/mxgraph/layout/mxFastOrganicLayout.js index aaa75203b..894c0e709 100644 --- a/src/mxgraph/layout/mxFastOrganicLayout.js +++ b/src/mxgraph/layout/mxFastOrganicLayout.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxObjectIdentity from '../util/datatypes/mxObjectIdentity'; import mxGraphLayout from './mxGraphLayout'; diff --git a/src/mxgraph/layout/mxGraphLayout.js b/src/mxgraph/layout/mxGraphLayout.js index ceae0d1a2..4919edb45 100644 --- a/src/mxgraph/layout/mxGraphLayout.js +++ b/src/mxgraph/layout/mxGraphLayout.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2018, JGraph Ltd * Copyright (c) 2006-2018, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxDictionary from '../util/datatypes/mxDictionary'; diff --git a/src/mxgraph/layout/mxParallelEdgeLayout.js b/src/mxgraph/layout/mxParallelEdgeLayout.js index c61c5b71b..3c07da546 100644 --- a/src/mxgraph/layout/mxParallelEdgeLayout.js +++ b/src/mxgraph/layout/mxParallelEdgeLayout.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxPoint from '../util/datatypes/mxPoint'; diff --git a/src/mxgraph/layout/mxPartitionLayout.js b/src/mxgraph/layout/mxPartitionLayout.js index de76bc422..1afb2aa80 100644 --- a/src/mxgraph/layout/mxPartitionLayout.js +++ b/src/mxgraph/layout/mxPartitionLayout.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxRectangle from '../util/datatypes/mxRectangle'; diff --git a/src/mxgraph/layout/mxRadialTreeLayout.js b/src/mxgraph/layout/mxRadialTreeLayout.js index 7db3ebabb..fb9a5b3ba 100644 --- a/src/mxgraph/layout/mxRadialTreeLayout.js +++ b/src/mxgraph/layout/mxRadialTreeLayout.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxCompactTreeLayout from './mxCompactTreeLayout'; diff --git a/src/mxgraph/layout/mxStackLayout.js b/src/mxgraph/layout/mxStackLayout.js index 453c00b65..199bb7e6d 100644 --- a/src/mxgraph/layout/mxStackLayout.js +++ b/src/mxgraph/layout/mxStackLayout.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxGraphLayout from './mxGraphLayout'; import mxRectangle from '../util/datatypes/mxRectangle'; diff --git a/src/mxgraph/serialization/mxCellCodec.js b/src/mxgraph/serialization/mxCellCodec.js index f62f48338..4d8bd7f70 100644 --- a/src/mxgraph/serialization/mxCellCodec.js +++ b/src/mxgraph/serialization/mxCellCodec.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxCell from '../view/cell/mxCell'; diff --git a/src/mxgraph/serialization/mxChildChangeCodec.js b/src/mxgraph/serialization/mxChildChangeCodec.js index d4ee93363..d19e472c9 100644 --- a/src/mxgraph/serialization/mxChildChangeCodec.js +++ b/src/mxgraph/serialization/mxChildChangeCodec.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxChildChange from '../atomic_changes/mxChildChange'; diff --git a/src/mxgraph/serialization/mxCodec.js b/src/mxgraph/serialization/mxCodec.js index 36161aaca..294dadfc7 100644 --- a/src/mxgraph/serialization/mxCodec.js +++ b/src/mxgraph/serialization/mxCodec.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxUtils from '../util/mxUtils'; diff --git a/src/mxgraph/serialization/mxCodecRegistry.js b/src/mxgraph/serialization/mxCodecRegistry.js index 15b5340f0..0b4d6f75c 100644 --- a/src/mxgraph/serialization/mxCodecRegistry.js +++ b/src/mxgraph/serialization/mxCodecRegistry.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxObjectCodec from './mxObjectCodec'; diff --git a/src/mxgraph/serialization/mxDefaultKeyHandlerCodec.js b/src/mxgraph/serialization/mxDefaultKeyHandlerCodec.js index acaa4242d..0c9443984 100644 --- a/src/mxgraph/serialization/mxDefaultKeyHandlerCodec.js +++ b/src/mxgraph/serialization/mxDefaultKeyHandlerCodec.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxObjectCodec from './mxObjectCodec'; diff --git a/src/mxgraph/serialization/mxDefaultPopupMenuCodec.js b/src/mxgraph/serialization/mxDefaultPopupMenuCodec.js index 071ba5443..9ded35fc6 100644 --- a/src/mxgraph/serialization/mxDefaultPopupMenuCodec.js +++ b/src/mxgraph/serialization/mxDefaultPopupMenuCodec.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxDefaultPopupMenu from '../editor/mxDefaultPopupMenu'; diff --git a/src/mxgraph/serialization/mxDefaultToolbarCodec.js b/src/mxgraph/serialization/mxDefaultToolbarCodec.js index 85ab824cc..d9133f5c4 100644 --- a/src/mxgraph/serialization/mxDefaultToolbarCodec.js +++ b/src/mxgraph/serialization/mxDefaultToolbarCodec.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxObjectCodec from './mxObjectCodec'; diff --git a/src/mxgraph/serialization/mxEditorCodec.js b/src/mxgraph/serialization/mxEditorCodec.js index 95c31fc95..645a77cc2 100644 --- a/src/mxgraph/serialization/mxEditorCodec.js +++ b/src/mxgraph/serialization/mxEditorCodec.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxEditor from '../editor/mxEditor'; diff --git a/src/mxgraph/serialization/mxGenericChangeCodec.js b/src/mxgraph/serialization/mxGenericChangeCodec.js index b1bd7cd5b..52508c7ed 100644 --- a/src/mxgraph/serialization/mxGenericChangeCodec.js +++ b/src/mxgraph/serialization/mxGenericChangeCodec.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxObjectCodec from './mxObjectCodec'; diff --git a/src/mxgraph/serialization/mxGraphCodec.js b/src/mxgraph/serialization/mxGraphCodec.js index 16e2f937c..fe444d69d 100644 --- a/src/mxgraph/serialization/mxGraphCodec.js +++ b/src/mxgraph/serialization/mxGraphCodec.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxGraph from '../view/graph/mxGraph'; diff --git a/src/mxgraph/serialization/mxGraphViewCodec.js b/src/mxgraph/serialization/mxGraphViewCodec.js index 6553b6d97..a013e7392 100644 --- a/src/mxgraph/serialization/mxGraphViewCodec.js +++ b/src/mxgraph/serialization/mxGraphViewCodec.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxGraphView from '../view/graph/mxGraphView'; diff --git a/src/mxgraph/serialization/mxModelCodec.js b/src/mxgraph/serialization/mxModelCodec.js index 4c9bcd0a3..70e8d8769 100644 --- a/src/mxgraph/serialization/mxModelCodec.js +++ b/src/mxgraph/serialization/mxModelCodec.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxGraphModel from '../view/graph/mxGraphModel'; diff --git a/src/mxgraph/serialization/mxObjectCodec.js b/src/mxgraph/serialization/mxObjectCodec.js index 45eb3052c..1c74b09f9 100644 --- a/src/mxgraph/serialization/mxObjectCodec.js +++ b/src/mxgraph/serialization/mxObjectCodec.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxObjectIdentity from '../util/datatypes/mxObjectIdentity'; diff --git a/src/mxgraph/serialization/mxRootChangeCodec.js b/src/mxgraph/serialization/mxRootChangeCodec.js index 51a77a47a..6684798f2 100644 --- a/src/mxgraph/serialization/mxRootChangeCodec.js +++ b/src/mxgraph/serialization/mxRootChangeCodec.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxRootChange from '../atomic_changes/mxRootChange'; diff --git a/src/mxgraph/serialization/mxStylesheetCodec.js b/src/mxgraph/serialization/mxStylesheetCodec.js index fefe4ab3f..3859ac612 100644 --- a/src/mxgraph/serialization/mxStylesheetCodec.js +++ b/src/mxgraph/serialization/mxStylesheetCodec.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxStylesheet from '../util/datatypes/style/mxStylesheet'; diff --git a/src/mxgraph/serialization/mxTerminalChangeCodec.js b/src/mxgraph/serialization/mxTerminalChangeCodec.js index bbdeaeeba..3e36e7002 100644 --- a/src/mxgraph/serialization/mxTerminalChangeCodec.js +++ b/src/mxgraph/serialization/mxTerminalChangeCodec.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxObjectCodec from './mxObjectCodec'; diff --git a/src/mxgraph/shape/edge/mxArrow.js b/src/mxgraph/shape/edge/mxArrow.js index 85dee5bd0..e64a81c21 100644 --- a/src/mxgraph/shape/edge/mxArrow.js +++ b/src/mxgraph/shape/edge/mxArrow.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxShape from '../mxShape'; import mxConstants from '../../util/mxConstants'; diff --git a/src/mxgraph/shape/edge/mxArrowConnector.js b/src/mxgraph/shape/edge/mxArrowConnector.js index a75f839a5..d4d8c149b 100644 --- a/src/mxgraph/shape/edge/mxArrowConnector.js +++ b/src/mxgraph/shape/edge/mxArrowConnector.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxShape from '../mxShape'; import mxConstants from '../../util/mxConstants'; diff --git a/src/mxgraph/shape/edge/mxConnector.js b/src/mxgraph/shape/edge/mxConnector.js index 03cbf84a2..40292d2f0 100644 --- a/src/mxgraph/shape/edge/mxConnector.js +++ b/src/mxgraph/shape/edge/mxConnector.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxConstants from '../../util/mxConstants'; import mxPolyline from './mxPolyline'; diff --git a/src/mxgraph/shape/edge/mxLine.js b/src/mxgraph/shape/edge/mxLine.js index 62c042c99..7b3d42021 100644 --- a/src/mxgraph/shape/edge/mxLine.js +++ b/src/mxgraph/shape/edge/mxLine.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxShape from '../mxShape'; diff --git a/src/mxgraph/shape/edge/mxMarker.js b/src/mxgraph/shape/edge/mxMarker.js index 65f6927aa..d7d25e166 100644 --- a/src/mxgraph/shape/edge/mxMarker.js +++ b/src/mxgraph/shape/edge/mxMarker.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxConstants from '../../util/mxConstants'; diff --git a/src/mxgraph/shape/edge/mxPolyline.js b/src/mxgraph/shape/edge/mxPolyline.js index 7cb6af5a2..a4bb2c342 100644 --- a/src/mxgraph/shape/edge/mxPolyline.js +++ b/src/mxgraph/shape/edge/mxPolyline.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxShape from '../mxShape'; import mxConstants from '../../util/mxConstants'; diff --git a/src/mxgraph/shape/mxActor.ts b/src/mxgraph/shape/mxActor.ts index 3b1bc1758..b8d61bc21 100644 --- a/src/mxgraph/shape/mxActor.ts +++ b/src/mxgraph/shape/mxActor.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxRectangle from 'mxgraph/util/datatypes/mxRectangle'; import mxShape from './mxShape'; diff --git a/src/mxgraph/shape/mxLabel.js b/src/mxgraph/shape/mxLabel.js index e8c57eaca..53869afe0 100644 --- a/src/mxgraph/shape/mxLabel.js +++ b/src/mxgraph/shape/mxLabel.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxRectangle from '../util/datatypes/mxRectangle'; import mxConstants from '../util/mxConstants'; diff --git a/src/mxgraph/shape/mxShape.ts b/src/mxgraph/shape/mxShape.ts index 5de3c96da..03049d67e 100644 --- a/src/mxgraph/shape/mxShape.ts +++ b/src/mxgraph/shape/mxShape.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxRectangle from '../util/datatypes/mxRectangle'; import mxUtils from '../util/mxUtils'; diff --git a/src/mxgraph/shape/mxSwimlane.js b/src/mxgraph/shape/mxSwimlane.js index 0423b59c1..bc6950222 100644 --- a/src/mxgraph/shape/mxSwimlane.js +++ b/src/mxgraph/shape/mxSwimlane.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxShape from './mxShape'; import mxRectangle from '../util/datatypes/mxRectangle'; diff --git a/src/mxgraph/shape/mxText.ts b/src/mxgraph/shape/mxText.ts index 07df9a8d1..d8ce1c9a8 100644 --- a/src/mxgraph/shape/mxText.ts +++ b/src/mxgraph/shape/mxText.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxClient from '../mxClient'; diff --git a/src/mxgraph/shape/mxTriangle.ts b/src/mxgraph/shape/mxTriangle.ts index 572e64e11..86824e3c1 100644 --- a/src/mxgraph/shape/mxTriangle.ts +++ b/src/mxgraph/shape/mxTriangle.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxPoint from '../util/datatypes/mxPoint'; diff --git a/src/mxgraph/shape/node/mxCloud.ts b/src/mxgraph/shape/node/mxCloud.ts index 701ad5ea2..4fd3c53d1 100644 --- a/src/mxgraph/shape/node/mxCloud.ts +++ b/src/mxgraph/shape/node/mxCloud.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxActor from '../mxActor'; import mxAbstractCanvas2D from '../../util/canvas/mxAbstractCanvas2D'; diff --git a/src/mxgraph/shape/node/mxCylinder.ts b/src/mxgraph/shape/node/mxCylinder.ts index 5e29cc207..cb4c5a90d 100644 --- a/src/mxgraph/shape/node/mxCylinder.ts +++ b/src/mxgraph/shape/node/mxCylinder.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxShape from '../mxShape'; import mxConstants from '../../util/mxConstants'; diff --git a/src/mxgraph/shape/node/mxDoubleEllipse.ts b/src/mxgraph/shape/node/mxDoubleEllipse.ts index 6ebf2b351..853106fa7 100644 --- a/src/mxgraph/shape/node/mxDoubleEllipse.ts +++ b/src/mxgraph/shape/node/mxDoubleEllipse.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxRectangle from '../../util/datatypes/mxRectangle'; diff --git a/src/mxgraph/shape/node/mxEllipse.ts b/src/mxgraph/shape/node/mxEllipse.ts index 03cd9babf..3bef7651a 100644 --- a/src/mxgraph/shape/node/mxEllipse.ts +++ b/src/mxgraph/shape/node/mxEllipse.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxShape from '../mxShape'; import mxAbstractCanvas2D from '../../util/canvas/mxAbstractCanvas2D'; diff --git a/src/mxgraph/shape/node/mxHexagon.ts b/src/mxgraph/shape/node/mxHexagon.ts index aa4525ec2..24c6e9ab5 100644 --- a/src/mxgraph/shape/node/mxHexagon.ts +++ b/src/mxgraph/shape/node/mxHexagon.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxActor from '../mxActor'; import mxPoint from '../../util/datatypes/mxPoint'; diff --git a/src/mxgraph/shape/node/mxImageShape.ts b/src/mxgraph/shape/node/mxImageShape.ts index ce09fb3af..b9d6e2317 100644 --- a/src/mxgraph/shape/node/mxImageShape.ts +++ b/src/mxgraph/shape/node/mxImageShape.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxUtils from '../../util/mxUtils'; diff --git a/src/mxgraph/shape/node/mxRectangleShape.ts b/src/mxgraph/shape/node/mxRectangleShape.ts index 5ec12472a..f4b3293fe 100644 --- a/src/mxgraph/shape/node/mxRectangleShape.ts +++ b/src/mxgraph/shape/node/mxRectangleShape.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxConstants from '../../util/mxConstants'; diff --git a/src/mxgraph/shape/node/mxRhombus.ts b/src/mxgraph/shape/node/mxRhombus.ts index 7c32c063e..9812ff170 100644 --- a/src/mxgraph/shape/node/mxRhombus.ts +++ b/src/mxgraph/shape/node/mxRhombus.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxShape from '../mxShape'; import mxPoint from '../../util/datatypes/mxPoint'; diff --git a/src/mxgraph/shape/node/mxStencil.js b/src/mxgraph/shape/node/mxStencil.js index 01714f526..162fae54d 100644 --- a/src/mxgraph/shape/node/mxStencil.js +++ b/src/mxgraph/shape/node/mxStencil.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxConnectionConstraint from '../../view/connection/mxConnectionConstraint'; diff --git a/src/mxgraph/shape/node/mxStencilRegistry.js b/src/mxgraph/shape/node/mxStencilRegistry.js index ec010c819..37461eca9 100644 --- a/src/mxgraph/shape/node/mxStencilRegistry.js +++ b/src/mxgraph/shape/node/mxStencilRegistry.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project * * Code to add stencils. * diff --git a/src/mxgraph/util/animate/mxAnimation.js b/src/mxgraph/util/animate/mxAnimation.js index edd9288a6..ce8c4fde8 100644 --- a/src/mxgraph/util/animate/mxAnimation.js +++ b/src/mxgraph/util/animate/mxAnimation.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxEventSource from '../event/mxEventSource'; import mxEventObject from '../event/mxEventObject'; diff --git a/src/mxgraph/util/animate/mxEffects.js b/src/mxgraph/util/animate/mxEffects.js index 5b9978da3..f365a47fc 100644 --- a/src/mxgraph/util/animate/mxEffects.js +++ b/src/mxgraph/util/animate/mxEffects.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxUtils from '../mxUtils'; import mxGeometryChange from '../../atomic_changes/mxGeometryChange'; diff --git a/src/mxgraph/util/animate/mxMorphing.js b/src/mxgraph/util/animate/mxMorphing.js index f429cac10..f2f4e8712 100644 --- a/src/mxgraph/util/animate/mxMorphing.js +++ b/src/mxgraph/util/animate/mxMorphing.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxPoint from '../datatypes/mxPoint'; import mxCellStatePreview from '../../view/cell/mxCellStatePreview'; diff --git a/src/mxgraph/util/canvas/mxAbstractCanvas2D.js b/src/mxgraph/util/canvas/mxAbstractCanvas2D.js index 4b5f06530..f03338d63 100644 --- a/src/mxgraph/util/canvas/mxAbstractCanvas2D.js +++ b/src/mxgraph/util/canvas/mxAbstractCanvas2D.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxUtils from '../mxUtils'; import mxConstants from '../mxConstants'; diff --git a/src/mxgraph/util/canvas/mxSvgCanvas2D.js b/src/mxgraph/util/canvas/mxSvgCanvas2D.js index cda52d2f2..17283db9b 100644 --- a/src/mxgraph/util/canvas/mxSvgCanvas2D.js +++ b/src/mxgraph/util/canvas/mxSvgCanvas2D.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxUtils from '../mxUtils'; diff --git a/src/mxgraph/util/canvas/mxXmlCanvas2D.js b/src/mxgraph/util/canvas/mxXmlCanvas2D.js index 87a3b31d8..71657c4f6 100644 --- a/src/mxgraph/util/canvas/mxXmlCanvas2D.js +++ b/src/mxgraph/util/canvas/mxXmlCanvas2D.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxAbstractCanvas2D from './mxAbstractCanvas2D'; import mxConstants from '../mxConstants'; diff --git a/src/mxgraph/util/datatypes/mxCellState.ts b/src/mxgraph/util/datatypes/mxCellState.ts index 484619a9e..53bb60c58 100644 --- a/src/mxgraph/util/datatypes/mxCellState.ts +++ b/src/mxgraph/util/datatypes/mxCellState.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxPoint from './mxPoint'; diff --git a/src/mxgraph/util/datatypes/mxDictionary.js b/src/mxgraph/util/datatypes/mxDictionary.js index 099d89a19..aa6aaa25f 100644 --- a/src/mxgraph/util/datatypes/mxDictionary.js +++ b/src/mxgraph/util/datatypes/mxDictionary.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxObjectIdentity from './mxObjectIdentity'; diff --git a/src/mxgraph/util/datatypes/mxGeometry.js b/src/mxgraph/util/datatypes/mxGeometry.js index 1ae9a9361..584f8ba0e 100644 --- a/src/mxgraph/util/datatypes/mxGeometry.js +++ b/src/mxgraph/util/datatypes/mxGeometry.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxPoint from './mxPoint'; diff --git a/src/mxgraph/util/datatypes/mxObjectIdentity.js b/src/mxgraph/util/datatypes/mxObjectIdentity.js index 7393310aa..2e18cc296 100644 --- a/src/mxgraph/util/datatypes/mxObjectIdentity.js +++ b/src/mxgraph/util/datatypes/mxObjectIdentity.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxUtils from '../mxUtils'; diff --git a/src/mxgraph/util/datatypes/mxPoint.js b/src/mxgraph/util/datatypes/mxPoint.js index e77c27bec..e68847eba 100644 --- a/src/mxgraph/util/datatypes/mxPoint.js +++ b/src/mxgraph/util/datatypes/mxPoint.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxUtils from '../mxUtils'; diff --git a/src/mxgraph/util/datatypes/mxRectangle.js b/src/mxgraph/util/datatypes/mxRectangle.js index b21e2063d..4dbd4b808 100644 --- a/src/mxgraph/util/datatypes/mxRectangle.js +++ b/src/mxgraph/util/datatypes/mxRectangle.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxPoint from './mxPoint'; diff --git a/src/mxgraph/util/datatypes/style/mxEdgeStyle.js b/src/mxgraph/util/datatypes/style/mxEdgeStyle.js index 1f9e19325..5e4787e54 100644 --- a/src/mxgraph/util/datatypes/style/mxEdgeStyle.js +++ b/src/mxgraph/util/datatypes/style/mxEdgeStyle.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxUtils from '../../mxUtils'; @@ -847,9 +848,9 @@ class mxEdgeStyle { } } - static orthBuffer = 10 + static orthBuffer = 10; - static orthPointsFallback = true + static orthPointsFallback = true; static dirVectors = [ [-1, 0], @@ -859,7 +860,7 @@ class mxEdgeStyle { [-1, 0], [0, -1], [1, 0], - ] + ]; static wayPoints1 = [ [0, 0], @@ -874,7 +875,7 @@ class mxEdgeStyle { [0, 0], [0, 0], [0, 0], - ] + ]; static routePatterns = [ [ @@ -901,49 +902,50 @@ class mxEdgeStyle { [1057, 513, 1090, 514, 2184, 2562, 2564], [1057, 2561, 1090, 514, 2568, 2308], ], - ] + ]; static inlineRoutePatterns = [ [null, [2114, 2568], null, null], [null, [514, 2081, 2114, 2568], null, null], [null, [2114, 2561], null, null], [[2081, 2562], [1057, 2114, 2568], [2184, 2562], null], - ] - static vertexSeperations = [] + ]; + + static vertexSeperations = []; static limits = [ [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], - ] + ]; - static LEFT_MASK = 32 + static LEFT_MASK = 32; - static TOP_MASK = 64 + static TOP_MASK = 64; - static RIGHT_MASK = 128 + static RIGHT_MASK = 128; - static BOTTOM_MASK = 256 + static BOTTOM_MASK = 256; - static LEFT = 1 + static LEFT = 1; - static TOP = 2 + static TOP = 2; - static RIGHT = 4 + static RIGHT = 4; - static BOTTOM = 8 + static BOTTOM = 8; // TODO remove magic numbers - static SIDE_MASK = 480 + static SIDE_MASK = 480; // mxEdgeStyle.LEFT_MASK | mxEdgeStyle.TOP_MASK | mxEdgeStyle.RIGHT_MASK // | mxEdgeStyle.BOTTOM_MASK, - static CENTER_MASK = 512 + static CENTER_MASK = 512; - static SOURCE_MASK = 1024 + static SOURCE_MASK = 1024; - static TARGET_MASK = 2048 + static TARGET_MASK = 2048; - static VERTEX_MASK = 3072 + static VERTEX_MASK = 3072; // mxEdgeStyle.SOURCE_MASK | mxEdgeStyle.TARGET_MASK, static getJettySize(state, isSource) { @@ -1064,7 +1066,13 @@ class mxEdgeStyle { * edge. * */ - static OrthConnector(state, sourceScaled, targetScaled, controlHints, result) { + static OrthConnector( + state, + sourceScaled, + targetScaled, + controlHints, + result + ) { const { graph } = state.view; const sourceEdge = source == null ? false : graph.getModel().isEdge(source.cell); diff --git a/src/mxgraph/util/datatypes/style/mxPerimeter.ts b/src/mxgraph/util/datatypes/style/mxPerimeter.ts index 216f31aa6..ed23b5e52 100644 --- a/src/mxgraph/util/datatypes/style/mxPerimeter.ts +++ b/src/mxgraph/util/datatypes/style/mxPerimeter.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxUtils from '../../mxUtils'; diff --git a/src/mxgraph/util/datatypes/style/mxStyleRegistry.ts b/src/mxgraph/util/datatypes/style/mxStyleRegistry.ts index 1c367eb50..10fbe9429 100644 --- a/src/mxgraph/util/datatypes/style/mxStyleRegistry.ts +++ b/src/mxgraph/util/datatypes/style/mxStyleRegistry.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxConstants from '../../mxConstants'; diff --git a/src/mxgraph/util/datatypes/style/mxStylesheet.js b/src/mxgraph/util/datatypes/style/mxStylesheet.js index a35e5ea82..09310c5e4 100644 --- a/src/mxgraph/util/datatypes/style/mxStylesheet.js +++ b/src/mxgraph/util/datatypes/style/mxStylesheet.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxConstants from '../../mxConstants'; import mxPerimeter from './mxPerimeter'; diff --git a/src/mxgraph/util/dom/mxDivResizer.js b/src/mxgraph/util/dom/mxDivResizer.js index 7ac0e680a..0a35b6c53 100644 --- a/src/mxgraph/util/dom/mxDivResizer.js +++ b/src/mxgraph/util/dom/mxDivResizer.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ /** diff --git a/src/mxgraph/util/drag_pan/mxDragSource.js b/src/mxgraph/util/drag_pan/mxDragSource.js index e9557a415..e6e646051 100644 --- a/src/mxgraph/util/drag_pan/mxDragSource.js +++ b/src/mxgraph/util/drag_pan/mxDragSource.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxRectangle from '../datatypes/mxRectangle'; import mxCellHighlight from '../../handler/mxCellHighlight'; diff --git a/src/mxgraph/util/drag_pan/mxPanningManager.js b/src/mxgraph/util/drag_pan/mxPanningManager.js index b3fe0b610..a4c04bed5 100644 --- a/src/mxgraph/util/drag_pan/mxPanningManager.js +++ b/src/mxgraph/util/drag_pan/mxPanningManager.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ /** diff --git a/src/mxgraph/util/event/mxEvent.js b/src/mxgraph/util/event/mxEvent.js index 7c96a1b72..537a61f91 100644 --- a/src/mxgraph/util/event/mxEvent.js +++ b/src/mxgraph/util/event/mxEvent.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxMouseEvent from './mxMouseEvent'; import mxClient from '../../mxClient'; diff --git a/src/mxgraph/util/event/mxEventObject.ts b/src/mxgraph/util/event/mxEventObject.ts index 201cf9159..42823c68f 100644 --- a/src/mxgraph/util/event/mxEventObject.ts +++ b/src/mxgraph/util/event/mxEventObject.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ /** diff --git a/src/mxgraph/util/event/mxEventSource.js b/src/mxgraph/util/event/mxEventSource.js index 75ecc6f2a..95193da0f 100644 --- a/src/mxgraph/util/event/mxEventSource.js +++ b/src/mxgraph/util/event/mxEventSource.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxEventObject from './mxEventObject'; diff --git a/src/mxgraph/util/event/mxMouseEvent.js b/src/mxgraph/util/event/mxMouseEvent.js index 7780fb14d..15cf2af6b 100644 --- a/src/mxgraph/util/event/mxMouseEvent.js +++ b/src/mxgraph/util/event/mxMouseEvent.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxEvent from './mxEvent'; import mxUtils from '../mxUtils'; diff --git a/src/mxgraph/util/gui/mxForm.js b/src/mxgraph/util/gui/mxForm.js index d2a1fdf3a..c2895ce0b 100644 --- a/src/mxgraph/util/gui/mxForm.js +++ b/src/mxgraph/util/gui/mxForm.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ /** diff --git a/src/mxgraph/util/gui/mxLog.js b/src/mxgraph/util/gui/mxLog.js index 3fb6fd4f0..cd60211d1 100644 --- a/src/mxgraph/util/gui/mxLog.js +++ b/src/mxgraph/util/gui/mxLog.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxClient from '../../mxClient'; diff --git a/src/mxgraph/util/gui/mxPopupMenu.js b/src/mxgraph/util/gui/mxPopupMenu.js index d15d21199..1395069f6 100644 --- a/src/mxgraph/util/gui/mxPopupMenu.js +++ b/src/mxgraph/util/gui/mxPopupMenu.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxEventSource from '../event/mxEventSource'; import mxUtils from '../mxUtils'; diff --git a/src/mxgraph/util/gui/mxToolbar.js b/src/mxgraph/util/gui/mxToolbar.js index 6d21d9f74..dd0787d09 100644 --- a/src/mxgraph/util/gui/mxToolbar.js +++ b/src/mxgraph/util/gui/mxToolbar.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxUtils from '../mxUtils'; diff --git a/src/mxgraph/util/gui/mxWindow.js b/src/mxgraph/util/gui/mxWindow.js index 3526466c2..191a60c92 100644 --- a/src/mxgraph/util/gui/mxWindow.js +++ b/src/mxgraph/util/gui/mxWindow.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxRectangle from '../datatypes/mxRectangle'; diff --git a/src/mxgraph/util/image/mxImage.js b/src/mxgraph/util/image/mxImage.js index 2b3a7a2fe..5ef645a30 100644 --- a/src/mxgraph/util/image/mxImage.js +++ b/src/mxgraph/util/image/mxImage.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ /** diff --git a/src/mxgraph/util/image/mxImageBundle.js b/src/mxgraph/util/image/mxImageBundle.js index 9c8c9a5f9..99708e009 100644 --- a/src/mxgraph/util/image/mxImageBundle.js +++ b/src/mxgraph/util/image/mxImageBundle.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ /** diff --git a/src/mxgraph/util/image/mxImageExport.js b/src/mxgraph/util/image/mxImageExport.js index c57c76309..867fbafa6 100644 --- a/src/mxgraph/util/image/mxImageExport.js +++ b/src/mxgraph/util/image/mxImageExport.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ /** diff --git a/src/mxgraph/util/mxConstants.js b/src/mxgraph/util/mxConstants.js index f39e01b60..fb9113988 100644 --- a/src/mxgraph/util/mxConstants.js +++ b/src/mxgraph/util/mxConstants.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxRectangle from './datatypes/mxRectangle'; diff --git a/src/mxgraph/util/mxGuide.ts b/src/mxgraph/util/mxGuide.ts index 5b9e9760b..fb6b29f70 100644 --- a/src/mxgraph/util/mxGuide.ts +++ b/src/mxgraph/util/mxGuide.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxConstants from './mxConstants'; diff --git a/src/mxgraph/util/mxUtils.js b/src/mxgraph/util/mxUtils.js index b2571a498..909fe7363 100644 --- a/src/mxgraph/util/mxUtils.js +++ b/src/mxgraph/util/mxUtils.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxEffects from './animate/mxEffects'; import mxXmlRequest from './network/mxXmlRequest'; diff --git a/src/mxgraph/util/network/mxUrlConverter.js b/src/mxgraph/util/network/mxUrlConverter.js index 9663e1d36..df2198b49 100644 --- a/src/mxgraph/util/network/mxUrlConverter.js +++ b/src/mxgraph/util/network/mxUrlConverter.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ /** diff --git a/src/mxgraph/util/storage/mxAutoSaveManager.js b/src/mxgraph/util/storage/mxAutoSaveManager.js index aa74c224b..c2dcf0e19 100644 --- a/src/mxgraph/util/storage/mxAutoSaveManager.js +++ b/src/mxgraph/util/storage/mxAutoSaveManager.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxEventSource from '../event/mxEventSource'; diff --git a/src/mxgraph/util/storage/mxClipboard.ts b/src/mxgraph/util/storage/mxClipboard.ts index 3c27330e7..e0451b1b9 100644 --- a/src/mxgraph/util/storage/mxClipboard.ts +++ b/src/mxgraph/util/storage/mxClipboard.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxCell from '../../view/cell/mxCell'; diff --git a/src/mxgraph/util/undo/mxUndoManager.js b/src/mxgraph/util/undo/mxUndoManager.js index 08755ab7b..388c5aa5d 100644 --- a/src/mxgraph/util/undo/mxUndoManager.js +++ b/src/mxgraph/util/undo/mxUndoManager.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxEvent from '../event/mxEvent'; diff --git a/src/mxgraph/util/undo/mxUndoableEdit.ts b/src/mxgraph/util/undo/mxUndoableEdit.ts index c056204f6..152ff04ca 100644 --- a/src/mxgraph/util/undo/mxUndoableEdit.ts +++ b/src/mxgraph/util/undo/mxUndoableEdit.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxEvent from '../event/mxEvent'; diff --git a/src/mxgraph/view/cell/mxCell.ts b/src/mxgraph/view/cell/mxCell.ts index 04abc9007..c918145bb 100644 --- a/src/mxgraph/view/cell/mxCell.ts +++ b/src/mxgraph/view/cell/mxCell.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxUtils from '../../util/mxUtils'; @@ -56,9 +57,9 @@ import mxCellOverlay from './mxCellOverlay'; */ class mxCell { constructor( - value: any = null, - geometry: mxGeometry | null = null, - style: string | null = null + value: any = null, + geometry: mxGeometry | null = null, + style: string | null = null ) { this.value = value; this.setGeometry(geometry); @@ -694,7 +695,7 @@ class mxCell { if (value != null) { if (typeof value.clone === 'function') { value = value.clone(); - } else if (!isNaN(value.nodeType)) { + } else if (!Number.isNaN(value.nodeType)) { value = value.cloneNode(true); } } diff --git a/src/mxgraph/view/cell/mxCellEditor.ts b/src/mxgraph/view/cell/mxCellEditor.ts index e6849c055..5c88c4874 100644 --- a/src/mxgraph/view/cell/mxCellEditor.ts +++ b/src/mxgraph/view/cell/mxCellEditor.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxUtils from '../../util/mxUtils'; diff --git a/src/mxgraph/view/cell/mxCellOverlay.ts b/src/mxgraph/view/cell/mxCellOverlay.ts index 5ddb1a659..2d516b3dd 100644 --- a/src/mxgraph/view/cell/mxCellOverlay.ts +++ b/src/mxgraph/view/cell/mxCellOverlay.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxPoint from '../../util/datatypes/mxPoint'; diff --git a/src/mxgraph/view/cell/mxCellPath.ts b/src/mxgraph/view/cell/mxCellPath.ts index 07257e3ae..950605a38 100644 --- a/src/mxgraph/view/cell/mxCellPath.ts +++ b/src/mxgraph/view/cell/mxCellPath.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxCell from './mxCell'; diff --git a/src/mxgraph/view/cell/mxCellStatePreview.ts b/src/mxgraph/view/cell/mxCellStatePreview.ts index 503c48e8e..c1458d726 100644 --- a/src/mxgraph/view/cell/mxCellStatePreview.ts +++ b/src/mxgraph/view/cell/mxCellStatePreview.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxUtils from '../../util/mxUtils'; diff --git a/src/mxgraph/view/connection/mxConnectionConstraint.ts b/src/mxgraph/view/connection/mxConnectionConstraint.ts index d779191bb..ba9b72206 100644 --- a/src/mxgraph/view/connection/mxConnectionConstraint.ts +++ b/src/mxgraph/view/connection/mxConnectionConstraint.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxPoint from '../../util/datatypes/mxPoint'; @@ -12,11 +13,11 @@ import mxPoint from '../../util/datatypes/mxPoint'; */ class mxConnectionConstraint { constructor( - point: mxPoint | null = null, - perimeter: boolean = true, - name: string | null = null, - dx: number | null = null, - dy: number | null = null + point: mxPoint | null = null, + perimeter: boolean = true, + name: string | null = null, + dx: number | null = null, + dy: number | null = null ) { this.point = point; this.perimeter = perimeter != null ? perimeter : true; diff --git a/src/mxgraph/view/connection/mxMultiplicity.js b/src/mxgraph/view/connection/mxMultiplicity.js index c212ee7a3..a560835be 100644 --- a/src/mxgraph/view/connection/mxMultiplicity.js +++ b/src/mxgraph/view/connection/mxMultiplicity.js @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxUtils from '../../util/mxUtils'; import mxResources from '../../util/mxResources'; diff --git a/src/mxgraph/view/graph/mxGraph.ts b/src/mxgraph/view/graph/mxGraph.ts index b00bbaf48..302948689 100644 --- a/src/mxgraph/view/graph/mxGraph.ts +++ b/src/mxgraph/view/graph/mxGraph.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxImage from '../../util/image/mxImage'; diff --git a/src/mxgraph/view/graph/mxGraphModel.ts b/src/mxgraph/view/graph/mxGraphModel.ts index 9e38b4f1c..fc92d3c19 100644 --- a/src/mxgraph/view/graph/mxGraphModel.ts +++ b/src/mxgraph/view/graph/mxGraphModel.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2018, JGraph Ltd * Copyright (c) 2006-2018, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxEventSource from '../../util/event/mxEventSource'; import mxUndoableEdit from '../../util/undo/mxUndoableEdit'; diff --git a/src/mxgraph/view/graph/mxGraphSelectionModel.ts b/src/mxgraph/view/graph/mxGraphSelectionModel.ts index ef744e880..121817cf3 100644 --- a/src/mxgraph/view/graph/mxGraphSelectionModel.ts +++ b/src/mxgraph/view/graph/mxGraphSelectionModel.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxUndoableEdit from '../../util/undo/mxUndoableEdit'; diff --git a/src/mxgraph/view/graph/mxGraphView.ts b/src/mxgraph/view/graph/mxGraphView.ts index c6300dbeb..2b4432fe9 100644 --- a/src/mxgraph/view/graph/mxGraphView.ts +++ b/src/mxgraph/view/graph/mxGraphView.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxPoint from '../../util/datatypes/mxPoint'; diff --git a/src/mxgraph/view/graph/mxLayoutManager.ts b/src/mxgraph/view/graph/mxLayoutManager.ts index 98af3b8b6..7fa314de9 100644 --- a/src/mxgraph/view/graph/mxLayoutManager.ts +++ b/src/mxgraph/view/graph/mxLayoutManager.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxEventSource from '../../util/event/mxEventSource'; diff --git a/src/mxgraph/view/graph/mxOutline.ts b/src/mxgraph/view/graph/mxOutline.ts index 075435abb..9a2f7887b 100644 --- a/src/mxgraph/view/graph/mxOutline.ts +++ b/src/mxgraph/view/graph/mxOutline.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxMouseEvent from '../../util/event/mxMouseEvent'; diff --git a/src/mxgraph/view/graph/mxSelectionChange.ts b/src/mxgraph/view/graph/mxSelectionChange.ts index da499d55d..47f500217 100644 --- a/src/mxgraph/view/graph/mxSelectionChange.ts +++ b/src/mxgraph/view/graph/mxSelectionChange.ts @@ -11,9 +11,9 @@ import mxCell from '../cell/mxCell'; */ class mxSelectionChange { constructor( - selectionModel: mxGraphSelectionModel, - added: mxCell[] = [], - removed: mxCell[] = [] + selectionModel: mxGraphSelectionModel, + added: mxCell[] = [], + removed: mxCell[] = [] ) { this.selectionModel = selectionModel; this.added = added.slice(); diff --git a/src/mxgraph/view/graph/mxSwimlaneManager.ts b/src/mxgraph/view/graph/mxSwimlaneManager.ts index c0a2aebb5..11714fb2c 100644 --- a/src/mxgraph/view/graph/mxSwimlaneManager.ts +++ b/src/mxgraph/view/graph/mxSwimlaneManager.ts @@ -2,6 +2,7 @@ * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder * Updated to ES9 syntax by David Morrissey 2021 + * Type definitions from the typed-mxgraph project */ import mxEventSource from '../../util/event/mxEventSource';