microboard-temp 0.5.49 → 0.5.51

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.
@@ -44006,11 +44006,11 @@ class AddFrame extends BoardTool {
44006
44006
  }
44007
44007
  const currMbr = this.frame.getMbr();
44008
44008
  const frameChildren = this.board.items.getEnclosedOrCrossed(currMbr.left, currMbr.top, currMbr.right, currMbr.bottom).filter((item) => item.parent === "Board").filter((item) => this.frame.handleNesting(item));
44009
- this.applyAddChildren(frameChildren);
44010
44009
  if (this.shape !== "Custom") {
44011
44010
  this.applyCanChangeRatio(false);
44012
44011
  }
44013
44012
  const frame = this.board.add(this.frame);
44013
+ frame.emitNesting(frameChildren);
44014
44014
  frame.text.editor.moveCursorToEndOfTheText();
44015
44015
  this.nestingHighlighter.clear();
44016
44016
  this.board.selection.removeAll();
package/dist/cjs/index.js CHANGED
@@ -44006,11 +44006,11 @@ class AddFrame extends BoardTool {
44006
44006
  }
44007
44007
  const currMbr = this.frame.getMbr();
44008
44008
  const frameChildren = this.board.items.getEnclosedOrCrossed(currMbr.left, currMbr.top, currMbr.right, currMbr.bottom).filter((item) => item.parent === "Board").filter((item) => this.frame.handleNesting(item));
44009
- this.applyAddChildren(frameChildren);
44010
44009
  if (this.shape !== "Custom") {
44011
44010
  this.applyCanChangeRatio(false);
44012
44011
  }
44013
44012
  const frame = this.board.add(this.frame);
44013
+ frame.emitNesting(frameChildren);
44014
44014
  frame.text.editor.moveCursorToEndOfTheText();
44015
44015
  this.nestingHighlighter.clear();
44016
44016
  this.board.selection.removeAll();
package/dist/cjs/node.js CHANGED
@@ -46479,11 +46479,11 @@ class AddFrame extends BoardTool {
46479
46479
  }
46480
46480
  const currMbr = this.frame.getMbr();
46481
46481
  const frameChildren = this.board.items.getEnclosedOrCrossed(currMbr.left, currMbr.top, currMbr.right, currMbr.bottom).filter((item) => item.parent === "Board").filter((item) => this.frame.handleNesting(item));
46482
- this.applyAddChildren(frameChildren);
46483
46482
  if (this.shape !== "Custom") {
46484
46483
  this.applyCanChangeRatio(false);
46485
46484
  }
46486
46485
  const frame = this.board.add(this.frame);
46486
+ frame.emitNesting(frameChildren);
46487
46487
  frame.text.editor.moveCursorToEndOfTheText();
46488
46488
  this.nestingHighlighter.clear();
46489
46489
  this.board.selection.removeAll();
@@ -43852,11 +43852,11 @@ class AddFrame extends BoardTool {
43852
43852
  }
43853
43853
  const currMbr = this.frame.getMbr();
43854
43854
  const frameChildren = this.board.items.getEnclosedOrCrossed(currMbr.left, currMbr.top, currMbr.right, currMbr.bottom).filter((item) => item.parent === "Board").filter((item) => this.frame.handleNesting(item));
43855
- this.applyAddChildren(frameChildren);
43856
43855
  if (this.shape !== "Custom") {
43857
43856
  this.applyCanChangeRatio(false);
43858
43857
  }
43859
43858
  const frame = this.board.add(this.frame);
43859
+ frame.emitNesting(frameChildren);
43860
43860
  frame.text.editor.moveCursorToEndOfTheText();
43861
43861
  this.nestingHighlighter.clear();
43862
43862
  this.board.selection.removeAll();
package/dist/esm/index.js CHANGED
@@ -43845,11 +43845,11 @@ class AddFrame extends BoardTool {
43845
43845
  }
43846
43846
  const currMbr = this.frame.getMbr();
43847
43847
  const frameChildren = this.board.items.getEnclosedOrCrossed(currMbr.left, currMbr.top, currMbr.right, currMbr.bottom).filter((item) => item.parent === "Board").filter((item) => this.frame.handleNesting(item));
43848
- this.applyAddChildren(frameChildren);
43849
43848
  if (this.shape !== "Custom") {
43850
43849
  this.applyCanChangeRatio(false);
43851
43850
  }
43852
43851
  const frame = this.board.add(this.frame);
43852
+ frame.emitNesting(frameChildren);
43853
43853
  frame.text.editor.moveCursorToEndOfTheText();
43854
43854
  this.nestingHighlighter.clear();
43855
43855
  this.board.selection.removeAll();
package/dist/esm/node.js CHANGED
@@ -46313,11 +46313,11 @@ class AddFrame extends BoardTool {
46313
46313
  }
46314
46314
  const currMbr = this.frame.getMbr();
46315
46315
  const frameChildren = this.board.items.getEnclosedOrCrossed(currMbr.left, currMbr.top, currMbr.right, currMbr.bottom).filter((item) => item.parent === "Board").filter((item) => this.frame.handleNesting(item));
46316
- this.applyAddChildren(frameChildren);
46317
46316
  if (this.shape !== "Custom") {
46318
46317
  this.applyCanChangeRatio(false);
46319
46318
  }
46320
46319
  const frame = this.board.add(this.frame);
46320
+ frame.emitNesting(frameChildren);
46321
46321
  frame.text.editor.moveCursorToEndOfTheText();
46322
46322
  this.nestingHighlighter.clear();
46323
46323
  this.board.selection.removeAll();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.5.49",
3
+ "version": "0.5.51",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",