microboard-temp 0.4.9 → 0.4.10

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.
@@ -37328,12 +37328,19 @@ class Shape extends BaseItem {
37328
37328
  this.shapeType = data.shapeType;
37329
37329
  this.initPath();
37330
37330
  }
37331
+ if (data.linkTo) {
37332
+ this.linkTo.deserialize(data.linkTo);
37333
+ }
37331
37334
  this.backgroundColor = data.backgroundColor ?? this.backgroundColor;
37332
37335
  this.backgroundOpacity = data.backgroundOpacity ?? this.backgroundOpacity;
37333
37336
  this.borderColor = data.borderColor ?? this.borderColor;
37334
37337
  this.borderOpacity = data.borderOpacity ?? this.borderOpacity;
37335
37338
  this.borderStyle = data.borderStyle ?? this.borderStyle;
37336
37339
  this.borderWidth = data.borderWidth ?? this.borderWidth;
37340
+ if (data.transformation) {
37341
+ this.transformation.deserialize(data.transformation);
37342
+ this.transformPath();
37343
+ }
37337
37344
  if (data.text) {
37338
37345
  this.text.deserialize(data.text);
37339
37346
  }
package/dist/cjs/index.js CHANGED
@@ -37328,12 +37328,19 @@ class Shape extends BaseItem {
37328
37328
  this.shapeType = data.shapeType;
37329
37329
  this.initPath();
37330
37330
  }
37331
+ if (data.linkTo) {
37332
+ this.linkTo.deserialize(data.linkTo);
37333
+ }
37331
37334
  this.backgroundColor = data.backgroundColor ?? this.backgroundColor;
37332
37335
  this.backgroundOpacity = data.backgroundOpacity ?? this.backgroundOpacity;
37333
37336
  this.borderColor = data.borderColor ?? this.borderColor;
37334
37337
  this.borderOpacity = data.borderOpacity ?? this.borderOpacity;
37335
37338
  this.borderStyle = data.borderStyle ?? this.borderStyle;
37336
37339
  this.borderWidth = data.borderWidth ?? this.borderWidth;
37340
+ if (data.transformation) {
37341
+ this.transformation.deserialize(data.transformation);
37342
+ this.transformPath();
37343
+ }
37337
37344
  if (data.text) {
37338
37345
  this.text.deserialize(data.text);
37339
37346
  }
package/dist/cjs/node.js CHANGED
@@ -39868,12 +39868,19 @@ class Shape extends BaseItem {
39868
39868
  this.shapeType = data.shapeType;
39869
39869
  this.initPath();
39870
39870
  }
39871
+ if (data.linkTo) {
39872
+ this.linkTo.deserialize(data.linkTo);
39873
+ }
39871
39874
  this.backgroundColor = data.backgroundColor ?? this.backgroundColor;
39872
39875
  this.backgroundOpacity = data.backgroundOpacity ?? this.backgroundOpacity;
39873
39876
  this.borderColor = data.borderColor ?? this.borderColor;
39874
39877
  this.borderOpacity = data.borderOpacity ?? this.borderOpacity;
39875
39878
  this.borderStyle = data.borderStyle ?? this.borderStyle;
39876
39879
  this.borderWidth = data.borderWidth ?? this.borderWidth;
39880
+ if (data.transformation) {
39881
+ this.transformation.deserialize(data.transformation);
39882
+ this.transformPath();
39883
+ }
39877
39884
  if (data.text) {
39878
39885
  this.text.deserialize(data.text);
39879
39886
  }
@@ -37181,12 +37181,19 @@ class Shape extends BaseItem {
37181
37181
  this.shapeType = data.shapeType;
37182
37182
  this.initPath();
37183
37183
  }
37184
+ if (data.linkTo) {
37185
+ this.linkTo.deserialize(data.linkTo);
37186
+ }
37184
37187
  this.backgroundColor = data.backgroundColor ?? this.backgroundColor;
37185
37188
  this.backgroundOpacity = data.backgroundOpacity ?? this.backgroundOpacity;
37186
37189
  this.borderColor = data.borderColor ?? this.borderColor;
37187
37190
  this.borderOpacity = data.borderOpacity ?? this.borderOpacity;
37188
37191
  this.borderStyle = data.borderStyle ?? this.borderStyle;
37189
37192
  this.borderWidth = data.borderWidth ?? this.borderWidth;
37193
+ if (data.transformation) {
37194
+ this.transformation.deserialize(data.transformation);
37195
+ this.transformPath();
37196
+ }
37190
37197
  if (data.text) {
37191
37198
  this.text.deserialize(data.text);
37192
37199
  }
package/dist/esm/index.js CHANGED
@@ -37174,12 +37174,19 @@ class Shape extends BaseItem {
37174
37174
  this.shapeType = data.shapeType;
37175
37175
  this.initPath();
37176
37176
  }
37177
+ if (data.linkTo) {
37178
+ this.linkTo.deserialize(data.linkTo);
37179
+ }
37177
37180
  this.backgroundColor = data.backgroundColor ?? this.backgroundColor;
37178
37181
  this.backgroundOpacity = data.backgroundOpacity ?? this.backgroundOpacity;
37179
37182
  this.borderColor = data.borderColor ?? this.borderColor;
37180
37183
  this.borderOpacity = data.borderOpacity ?? this.borderOpacity;
37181
37184
  this.borderStyle = data.borderStyle ?? this.borderStyle;
37182
37185
  this.borderWidth = data.borderWidth ?? this.borderWidth;
37186
+ if (data.transformation) {
37187
+ this.transformation.deserialize(data.transformation);
37188
+ this.transformPath();
37189
+ }
37183
37190
  if (data.text) {
37184
37191
  this.text.deserialize(data.text);
37185
37192
  }
package/dist/esm/node.js CHANGED
@@ -39709,12 +39709,19 @@ class Shape extends BaseItem {
39709
39709
  this.shapeType = data.shapeType;
39710
39710
  this.initPath();
39711
39711
  }
39712
+ if (data.linkTo) {
39713
+ this.linkTo.deserialize(data.linkTo);
39714
+ }
39712
39715
  this.backgroundColor = data.backgroundColor ?? this.backgroundColor;
39713
39716
  this.backgroundOpacity = data.backgroundOpacity ?? this.backgroundOpacity;
39714
39717
  this.borderColor = data.borderColor ?? this.borderColor;
39715
39718
  this.borderOpacity = data.borderOpacity ?? this.borderOpacity;
39716
39719
  this.borderStyle = data.borderStyle ?? this.borderStyle;
39717
39720
  this.borderWidth = data.borderWidth ?? this.borderWidth;
39721
+ if (data.transformation) {
39722
+ this.transformation.deserialize(data.transformation);
39723
+ this.transformPath();
39724
+ }
39718
39725
  if (data.text) {
39719
39726
  this.text.deserialize(data.text);
39720
39727
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.4.9",
3
+ "version": "0.4.10",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",