@joint/core 4.2.0-beta.2 → 4.2.0-beta.3

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/dist/geometry.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! JointJS v4.2.0-beta.2 (2025-11-04) - JavaScript diagramming library
1
+ /*! JointJS v4.2.0-beta.3 (2025-11-04) - JavaScript diagramming library
2
2
 
3
3
  This Source Code Form is subject to the terms of the Mozilla Public
4
4
  License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -1,4 +1,4 @@
1
- /*! JointJS v4.2.0-beta.2 (2025-11-04) - JavaScript diagramming library
1
+ /*! JointJS v4.2.0-beta.3 (2025-11-04) - JavaScript diagramming library
2
2
 
3
3
  This Source Code Form is subject to the terms of the Mozilla Public
4
4
  License, v. 2.0. If a copy of the MPL was not distributed with this
package/dist/joint.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /*! JointJS v4.2.0-beta.2 (2025-11-04) - JavaScript diagramming library
1
+ /*! JointJS v4.2.0-beta.3 (2025-11-04) - JavaScript diagramming library
2
2
 
3
3
  This Source Code Form is subject to the terms of the Mozilla Public
4
4
  License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -2433,6 +2433,7 @@ export declare namespace dia {
2433
2433
  'link:snap:disconnect': (linkView: dia.LinkView, evt: dia.Event, prevCellView: dia.CellView, prevCellViewMagnet: SVGElement, arrowhead: dia.LinkEnd) => void;
2434
2434
  // render
2435
2435
  'render:done': (stats: UpdateStats, opt: any) => void;
2436
+ 'render:idle': (opt: Paper.UpdateViewsAsyncOptions) => void;
2436
2437
  // transformations
2437
2438
  'translate': (tx: number, ty: number, data: unknown) => void;
2438
2439
  'scale': (sx: number, sy: number, data: unknown) => void;
package/dist/joint.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! JointJS v4.2.0-beta.2 (2025-11-04) - JavaScript diagramming library
1
+ /*! JointJS v4.2.0-beta.3 (2025-11-04) - JavaScript diagramming library
2
2
 
3
3
  This Source Code Form is subject to the terms of the Mozilla Public
4
4
  License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -33005,7 +33005,8 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
33005
33005
  this.afterPaperReferenceSet(paper);
33006
33006
  },
33007
33007
  unsetPaperReference: function () {
33008
- this.beforePaperReferenceUnset();
33008
+ if (!this.paper) return;
33009
+ this.beforePaperReferenceUnset(this.paper);
33009
33010
  this.paper = null;
33010
33011
  },
33011
33012
  assertPaperReference() {
@@ -39635,7 +39636,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
39635
39636
  Remove: Remove
39636
39637
  };
39637
39638
 
39638
- var version = "4.2.0-beta.2";
39639
+ var version = "4.2.0-beta.3";
39639
39640
 
39640
39641
  const Vectorizer = V;
39641
39642
  const layout$1 = {